◆ SpeakerManagerTest()
alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::SpeakerManagerTest |
( |
| ) |
|
|
inline |
A constructor which initializes the promises and futures needed for the test class.
◆ cleanUp()
void alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::cleanUp |
( |
| ) |
|
◆ createChannelVolumeInterfaces()
std::vector<std::shared_ptr<ChannelVolumeInterface> > alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::createChannelVolumeInterfaces |
( |
| ) |
|
|
inline |
◆ getUniqueTypes()
Helper function to get unique Type
.
Helper function to get unique Type
from a vector of speakers.
◆ SetUp()
void alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::SetUp |
( |
| ) |
|
◆ TearDown()
void alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::TearDown |
( |
| ) |
|
TearDown after each test.
◆ wakeOnSetCompleted()
void alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::wakeOnSetCompleted |
( |
| ) |
|
Function to wait for m_wakeSetCompleteFuture
to be set.
◆ m_metricRecorder
◆ m_mockContextManager
std::shared_ptr<NiceMock<MockContextManager> > alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_mockContextManager |
|
protected |
◆ m_mockDirectiveHandlerResult
std::unique_ptr<StrictMock<MockDirectiveHandlerResult> > alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_mockDirectiveHandlerResult |
|
protected |
A strict mock that allows the test to strictly monitor the handling of directives.
◆ m_mockExceptionSender
std::shared_ptr<StrictMock<MockExceptionEncounteredSender> > alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_mockExceptionSender |
|
protected |
A strict mock that allows the test to strictly monitor the exceptions being sent.
◆ m_mockMessageSender
std::shared_ptr<StrictMock<MockMessageSender> > alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_mockMessageSender |
|
protected |
A strict mock that allows the test to strictly monitor the messages sent.
◆ m_mockStorage
std::shared_ptr<MockSpeakerManagerStorage> alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_mockStorage |
|
protected |
◆ m_observer
std::shared_ptr<NiceMock<MockObserver> > alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_observer |
|
protected |
A mock to allow testing of the observer callback behavior.
◆ m_speakerManager
std::shared_ptr<SpeakerManager> alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_speakerManager |
|
protected |
A pointer to an instance of the SpeakerManager that will be instantiated per test.
◆ m_wakeSetCompletedFuture
std::future<void> alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_wakeSetCompletedFuture |
|
protected |
Future to synchronize directive handling through setCompleted.
◆ m_wakeSetCompletedPromise
std::promise<void> alexaClientSDK::capabilityAgents::speakerManager::test::SpeakerManagerTest::m_wakeSetCompletedPromise |
|
protected |
Promise to synchronize directive handling through setCompleted.
The documentation for this class was generated from the following file:
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0