AlexaClientSDK  3.0.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::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest Class Reference
Inheritance diagram for alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest:
Collaboration graph
[legend]

Public Member Functions

void SetUp () override
 SetUp before each test case. More...
 
void TearDown () override
 Clean up the test harness after running a test. More...
 
 AlexaSeekControllerCapabilityAgentTest ()
 Constructor. More...
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Protected Member Functions

std::shared_ptr< AlexaSeekControllerCapabilityAgent > createCapabilityAgentAndSetExpects (bool isRetrievable)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

std::shared_ptr< StrictMock< MockAlexaSeekControllerInterface > > m_mockSeekController
 A mock AlexaSeekControllerInterface object. More...
 
std::shared_ptr< StrictMock< avsCommon::sdkInterfaces::test::MockContextManager > > m_mockContextManager
 
std::shared_ptr< StrictMock< avsCommon::sdkInterfaces::test::MockAlexaInterfaceMessageSender > > m_mockResponseSender
 The mock MessageSenderInterface. More...
 
std::shared_ptr< StrictMock< avsCommon::sdkInterfaces::test::MockExceptionEncounteredSender > > m_mockExceptionSender
 A strict mock that allows the test to strictly monitor the exceptions being sent. More...
 
std::unique_ptr< StrictMock< avsCommon::sdkInterfaces::test::MockDirectiveHandlerResult > > m_mockDirectiveHandlerResult
 A strict mock that allows the test to strictly monitor the handling of directives. More...
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Static Public Member Functions inherited from testing::Test
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)
 

Constructor & Destructor Documentation

◆ AlexaSeekControllerCapabilityAgentTest()

alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::AlexaSeekControllerCapabilityAgentTest ( )
inline

Constructor.

Member Function Documentation

◆ createCapabilityAgentAndSetExpects()

std::shared_ptr< AlexaSeekControllerCapabilityAgent > alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::createCapabilityAgentAndSetExpects ( bool  isRetrievable)
protected

Function to create AlexaSeekControllerCapabilityAgent based on the reportable flags and sets required ContextManager and SeekController mocks.

◆ SetUp()

void alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::SetUp ( )
overridevirtual

SetUp before each test case.

Reimplemented from testing::Test.

◆ TearDown()

void alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::TearDown ( )
overridevirtual

Clean up the test harness after running a test.

Reimplemented from testing::Test.

Member Data Documentation

◆ m_mockContextManager

std::shared_ptr<StrictMock<avsCommon::sdkInterfaces::test::MockContextManager> > alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::m_mockContextManager
protected

◆ m_mockDirectiveHandlerResult

std::unique_ptr<StrictMock<avsCommon::sdkInterfaces::test::MockDirectiveHandlerResult> > alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::m_mockDirectiveHandlerResult
protected

A strict mock that allows the test to strictly monitor the handling of directives.

◆ m_mockExceptionSender

std::shared_ptr<StrictMock<avsCommon::sdkInterfaces::test::MockExceptionEncounteredSender> > alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::m_mockExceptionSender
protected

A strict mock that allows the test to strictly monitor the exceptions being sent.

◆ m_mockResponseSender

std::shared_ptr<StrictMock<avsCommon::sdkInterfaces::test::MockAlexaInterfaceMessageSender> > alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::m_mockResponseSender
protected

The mock MessageSenderInterface.

◆ m_mockSeekController

std::shared_ptr<StrictMock<MockAlexaSeekControllerInterface> > alexaClientSDK::acsdkAlexaSeekController::test::AlexaSeekControllerCapabilityAgentTest::m_mockSeekController
protected

A mock AlexaSeekControllerInterface object.


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

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