◆ generatePayload()
const std::string alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::generatePayload |
( |
bool |
persistVisualIndicator, |
|
|
bool |
playAudioIndicator, |
|
|
const std::string & |
assetId = ASSET_ID1 , |
|
|
const std::string & |
assetUrl = ASSET_URL1 |
|
) |
| |
Utility function to generate direcive payloads
◆ initializeCapabilityAgent()
void alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::initializeCapabilityAgent |
( |
| ) |
|
Utility function to create the capability agent. This allows modifying of subcomponents before the CA is created.
◆ sendClearIndicatorDirective()
void alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::sendClearIndicatorDirective |
( |
const std::string & |
messageId | ) |
|
Utility function to send ClearIndicatorDirective
◆ sendSetIndicatorDirective()
void alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::sendSetIndicatorDirective |
( |
const std::string & |
payload, |
|
|
const std::string & |
messageId |
|
) |
| |
Utility function to send SetIndicatorDirective
◆ SetUp()
void alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::SetUp |
( |
| ) |
|
|
overridevirtual |
◆ TearDown()
void alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::TearDown |
( |
| ) |
|
|
overridevirtual |
◆ m_dataManager
Shared pointer to CustomerDataManager
.
◆ m_metricRecorder
◆ m_mockContextManager
std::shared_ptr<MockContextManager> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_mockContextManager |
ContextManager
to provide state and update state.
◆ m_mockDirectiveHandlerResult
std::unique_ptr<MockDirectiveHandlerResult> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_mockDirectiveHandlerResult |
A directive handler result to send the result to.
◆ m_mockEndpointCapabilitiesRegistrar
An endpoint capabilities registrar with which to register the Bluetooth CA.
◆ m_mockExceptionSender
An exception sender used to send exception encountered events to AVS.
◆ m_mutex
std::mutex alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_mutex |
Serializes access to m_setIndicatorTrigger.
◆ m_notificationsCapabilityAgent
std::shared_ptr<NotificationsCapabilityAgent> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_notificationsCapabilityAgent |
◆ m_notificationsStorage
std::shared_ptr<TestNotificationsStorage> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_notificationsStorage |
Storage
for notifications
◆ m_numSetIndicatorsProcessed
unsigned int alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_numSetIndicatorsProcessed |
A count of how many SetIndicator directives have been processed.
◆ m_renderer
std::shared_ptr<MockNotificationRenderer> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_renderer |
Player to play notification audio assets.
◆ m_setIndicatorTrigger
std::condition_variable alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_setIndicatorTrigger |
Triggers threads waiting on a SetIndicator directive to be processed.
◆ m_shutdownNotifier
◆ m_stubAudioFactory
std::shared_ptr<StubAudioFactory> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_stubAudioFactory |
A audio factory for testing.
◆ m_testNotificationsAudioFactory
std::shared_ptr<TestNotificationsAudioFactory> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_testNotificationsAudioFactory |
A notifications audio factory for testing.
◆ m_testNotificationsObserver
std::shared_ptr<TestNotificationsObserver> alexaClientSDK::acsdkNotifications::test::NotificationsCapabilityAgentTest::m_testNotificationsObserver |
A
test observer to wait for AudioPlayer
state changes
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