Test harness for BaseAPLCapabilityAgent
class.
More...
Test harness for BaseAPLCapabilityAgent
class.
◆ BaseAPLCapabilityAgentTest()
alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::BaseAPLCapabilityAgentTest |
( |
| ) |
|
|
inline |
A constructor which initializes the promises and futures needed for the test class.
◆ SetUp()
void alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::SetUp |
( |
| ) |
|
|
overridevirtual |
Set up the test harness for running a test.
Reimplemented from testing::Test.
◆ TearDown()
void alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::TearDown |
( |
| ) |
|
|
overridevirtual |
Clean up the test harness after running a test.
Reimplemented from testing::Test.
◆ m_aplCA
A pointer to an instance of the APLCapabilityAgentInterface
that will be instantiated per test.
◆ m_APLCATest
std::shared_ptr<APLCATest> alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_APLCATest |
|
protected |
A pointer to an instance of the APLCATest
that will be instantiated per test.
◆ m_contextTrigger
std::condition_variable alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_contextTrigger |
|
protected |
This is the condition variable to be used to control getting of a context in test cases.
◆ m_executor
◆ m_mockAPLObserver
A strict mock to allow testing of the observer callback.
◆ m_mockContextManager
std::shared_ptr<StrictMock<test::MockContextManager> > alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_mockContextManager |
|
protected |
A strict mock that allows the test to fetch context.
◆ m_mockDirectiveHandlerResult
std::unique_ptr<StrictMock<test::MockDirectiveHandlerResult> > alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_mockDirectiveHandlerResult |
|
protected |
A strict mock that allows the test to strictly monitor the handling of directives.
◆ m_mockExceptionSender
A strict mock that allows the test to strictly monitor the exceptions being sent.
◆ m_mockMessageSender
std::shared_ptr<StrictMock<test::MockMessageSender> > alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_mockMessageSender |
|
protected |
The mock MessageSenderInterface
.
◆ m_mockVisualStateProvider
std::shared_ptr<StrictMock<MockVisualStateProvider> > alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_mockVisualStateProvider |
|
protected |
A strict mock to allow testing for visual state provider.
◆ m_mutex
std::mutex alexaClientSDK::aplCapabilityCommon::test::BaseAPLCapabilityAgentTest::m_mutex |
|
protected |
mutex for the conditional variables.
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