AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest Class Reference

Test harness for ExceptionEncounteredSender class. More...

Inheritance diagram for alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest:
Collaboration graph
[legend]

Public Member Functions

void SetUp () override
 Set up the test harness for running a test. More...
 

Protected Member Functions

bool testExceptionEncounteredSucceeds (const std::string &unparsedDirective, avs::ExceptionErrorType error, const std::string &errorDescription)
 

Protected Attributes

std::shared_ptr< avsCommon::sdkInterfaces::test::MockMessageSenderm_mockMessageSender
 The mock MessageSenderInterface. More...
 
std::shared_ptr< avs::ExceptionEncounteredSenderm_exceptionEncounteredSender
 The ExceptionEncounteredSender to test. More...
 
std::shared_ptr< ExceptionEncounteredEventm_exceptionEncounteredEvent
 The ExceptionEncounteredEvent from the testExceptionEncounteredSucceeds() call. More...
 

Detailed Description

Test harness for ExceptionEncounteredSender class.

Member Function Documentation

◆ SetUp()

void alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest::SetUp ( )
override

Set up the test harness for running a test.

◆ testExceptionEncounteredSucceeds()

bool alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest::testExceptionEncounteredSucceeds ( const std::string &  unparsedDirective,
avs::ExceptionErrorType  error,
const std::string &  errorDescription 
)
protected

Function to send a exceptionencountered event and verify that it succeeds. Parameters are passed through to ExceptionEncounteredEvent::ExceptionEncounteredEvent().

Returns
true if the exceptionencountered event sent correctly, else false.

Member Data Documentation

◆ m_exceptionEncounteredEvent

std::shared_ptr<ExceptionEncounteredEvent> alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest::m_exceptionEncounteredEvent
protected

◆ m_exceptionEncounteredSender

std::shared_ptr<avs::ExceptionEncounteredSender> alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest::m_exceptionEncounteredSender
protected

The ExceptionEncounteredSender to test.

◆ m_mockMessageSender

std::shared_ptr<avsCommon::sdkInterfaces::test::MockMessageSender> alexaClientSDK::avsCommon::test::ExceptionEncounteredSenderTest::m_mockMessageSender
protected

The mock MessageSenderInterface.


The documentation for this class was generated from the following file:

AlexaClientSDK 1.26.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0