![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Test harness for ExceptionEncounteredSender
class.
More...
Public Member Functions | |
void | SetUp () override |
Set up the test harness for running a test. More... | |
![]() | |
virtual | ~Test () |
Protected Member Functions | |
bool | testExceptionEncounteredSucceeds (const std::string &unparsedDirective, avs::ExceptionErrorType error, const std::string &errorDescription) |
![]() | |
Test () | |
virtual void | TearDown () |
Protected Attributes | |
std::shared_ptr< avsCommon::sdkInterfaces::test::MockMessageSender > | m_mockMessageSender |
The mock MessageSenderInterface . More... | |
std::shared_ptr< avs::ExceptionEncounteredSender > | m_exceptionEncounteredSender |
The ExceptionEncounteredSender to test. More... | |
std::shared_ptr< ExceptionEncounteredEvent > | m_exceptionEncounteredEvent |
The ExceptionEncounteredEvent from the testExceptionEncounteredSucceeds() call. More... | |
Additional Inherited Members | |
![]() | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
![]() | |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
Test harness for ExceptionEncounteredSender
class.
|
overridevirtual |
Set up the test harness for running a test.
Reimplemented from testing::Test.
|
protected |
Function to send a exceptionencountered event and verify that it succeeds. Parameters are passed through to ExceptionEncounteredEvent::ExceptionEncounteredEvent()
.
true
if the exceptionencountered event sent correctly, else false
.
|
protected |
The ExceptionEncounteredEvent
from the testExceptionEncounteredSucceeds()
call.
|
protected |
The ExceptionEncounteredSender
to test.
|
protected |
The mock MessageSenderInterface
.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0