Test harness for DoNotDisturbCapabilityAgent
class.
More...
◆ expectEventSend()
bool alexaClientSDK::capabilityAgents::doNotDisturb::test::DoNotDisturbCapabilityAgentTest::expectEventSend |
( |
const std::string & |
eventName, |
|
|
MessageRequestObserverInterface::Status |
statusReported, |
|
|
std::function< void()> |
triggerOperation |
|
) |
| |
Helper method to set up mocks for an upcoming event.
◆ SetUp()
void alexaClientSDK::capabilityAgents::doNotDisturb::test::DoNotDisturbCapabilityAgentTest::SetUp |
( |
| ) |
|
|
overridevirtual |
Set up the test harness for running a test.
Reimplemented from testing::Test.
◆ TearDown()
void alexaClientSDK::capabilityAgents::doNotDisturb::test::DoNotDisturbCapabilityAgentTest::TearDown |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ m_dndCA
std::shared_ptr<DoNotDisturbCapabilityAgent> alexaClientSDK::capabilityAgents::doNotDisturb::test::DoNotDisturbCapabilityAgentTest::m_dndCA |
|
protected |
The InteractionModelCapabilityAgent instance to be tested.
◆ m_messageSender
std::shared_ptr<MockMessageSender> alexaClientSDK::capabilityAgents::doNotDisturb::test::DoNotDisturbCapabilityAgentTest::m_messageSender |
|
protected |
Message sender mock to track messages being sent.
◆ m_mockExceptionEncounteredSender
The mock ExceptionEncounteredSenderInterface
.
◆ m_settingsStorage
std::shared_ptr<MockDeviceSettingStorage> alexaClientSDK::capabilityAgents::doNotDisturb::test::DoNotDisturbCapabilityAgentTest::m_settingsStorage |
|
protected |
Storage for the settings.
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