![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <gmock/gmock.h>#include <gtest/gtest.h>#include "PowerController/PowerControllerCapabilityAgent.h"#include <AVSCommon/AVS/Attachment/MockAttachmentManager.h>#include <AVSCommon/SDKInterfaces/MockContextManager.h>#include <AVSCommon/SDKInterfaces/MockDirectiveHandlerResult.h>#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>#include <AVSCommon/SDKInterfaces/MockAlexaInterfaceMessageSender.h>#include <AVSCommon/SDKInterfaces/PowerController/PowerControllerInterface.h>#include <AVSCommon/Utils/Memory/Memory.h>#include <AVSCommon/Utils/Timing/TimePoint.h>#include <AVSCommon/Utils/WaitEvent.h>
Classes | |
| class | alexaClientSDK::capabilityAgents::powerController::test::MockPowerControllerInterface |
| class | alexaClientSDK::capabilityAgents::powerController::test::PowerControllerCapabilityAgentTest |
Namespaces | |
| alexaClientSDK | |
| Whether or not curl logs should be emitted. | |
| alexaClientSDK::capabilityAgents | |
| alexaClientSDK::capabilityAgents::powerController | |
| alexaClientSDK::capabilityAgents::powerController::test | |
Typedefs | |
| using | alexaClientSDK::capabilityAgents::powerController::test::EndpointIdentifier = endpoints::EndpointIdentifier |
Functions | |
| static std::chrono::milliseconds | alexaClientSDK::capabilityAgents::powerController::test::TIMEOUT (1000) |
| Timeout when waiting for futures to be set. More... | |
| static const EndpointIdentifier | alexaClientSDK::capabilityAgents::powerController::test::TEST_ENDPOINT_ID ("testEndpointId") |
| The test EndpointId. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::EVENT ("event") |
| Event key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::HEADER ("header") |
| Header key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::MESSAGE_ID ("messageId") |
| MessageId key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::MESSAGE_ID_TEST ("MessageId_Test") |
| MessageId for testing. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::DIALOG_REQUEST_ID ("dialogRequestId") |
| Dialog request Id key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::DIALOG_REQUEST_ID_TEST ("DialogRequestId_Test") |
| DialogRequestId for testing. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::CORRELATION_TOKEN ("correlationToken") |
| Correlation token key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::CORRELATION_TOKEN_TEST ("CorrelationToken_Test") |
| Correlation token for testing. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::EVENT_CORRELATION_TOKEN ("eventCorrelationToken") |
| Event correlation token key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::EVENT_CORRELATION_TOKEN_TEST ("EventCorrelationToken_Test") |
| Event correlation for testing. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::TIME_OF_SAMPLE ("timeOfSample") |
| Time of sample key. More... | |
| static const std::string | alexaClientSDK::capabilityAgents::powerController::test::TIME_OF_SAMPLE_TEST ("2017-02-03T16:20:50.523Z") |
| Time of sample used for testing. More... | |
| std::shared_ptr< AVSDirective > | alexaClientSDK::capabilityAgents::powerController::test::buildAVSDirective (std::string directiveName) |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail) | |
| Test that create() returns a nullptr if called with invalid arguments. More... | |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_turnOnDirective_successCase) | |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_turnOnDirective_errorCase) | |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_reportStateChange_successCase) | |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_reportStateChange_errorCase) | |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_unknownDirectiveWithProactivelyReportedAndRetrievableTrue) | |
| alexaClientSDK::capabilityAgents::powerController::test::TEST_F (PowerControllerCapabilityAgentTest, test_unknownDirectiveWithProactivelyReportedAndRetrievableFalse) | |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0