AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <chrono>
#include <memory>
#include <string>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <AVSCommon/AVS/Attachment/MockAttachmentManager.h>
#include <AVSCommon/SDKInterfaces/Endpoints/EndpointIdentifier.h>
#include <AVSCommon/SDKInterfaces/MockContextManager.h>
#include <AVSCommon/SDKInterfaces/MockDirectiveHandlerResult.h>
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
#include <AVSCommon/SDKInterfaces/MockAlexaInterfaceMessageSender.h>
#include <AVSCommon/Utils/Memory/Memory.h>
#include <AVSCommon/Utils/WaitEvent.h>
#include "acsdk/AlexaInputController/private/InputControllerCapabilityAgent.h"
Classes | |
class | alexaClientSDK::alexaInputController::test::MockHandler |
class | alexaClientSDK::alexaInputController::test::InputControllerCapabilityAgentTest |
Test harness for InputControllerCapabilityAgentTest class. More... | |
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::alexaInputController | |
alexaClientSDK::alexaInputController::test | |
Functions | |
static std::chrono::milliseconds | alexaClientSDK::alexaInputController::test::TIMEOUT (1000) |
Timeout when waiting for futures to be set. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::TIME_OF_SAMPLE_TEST ("2017-02-03T16:20:50.523Z") |
Time of sample used for testing. More... | |
static const endpoints::EndpointIdentifier | alexaClientSDK::alexaInputController::test::TEST_ENDPOINT_ID ("testEndpointId") |
The test EndpointId. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::EVENT ("event") |
Event key. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::HEADER ("header") |
Header key. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::MESSAGE_ID ("messageId") |
MessageId key. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::MESSAGE_ID_TEST ("MessageId_Test") |
MessageId for testing. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::DIALOG_REQUEST_ID ("dialogRequestId") |
Dialog request Id key. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::DIALOG_REQUEST_ID_TEST ("DialogRequestId_Test") |
DialogRequestId for testing. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::CORRELATION_TOKEN_TEST ("CorrelationToken_Test") |
Correlation token for testing. More... | |
static const std::string | alexaClientSDK::alexaInputController::test::EVENT_CORRELATION_TOKEN_TEST ("EventCorrelationToken_Test") |
Event correlation for testing. More... | |
static std::shared_ptr< AVSDirective > | alexaClientSDK::alexaInputController::test::buildAVSDirective (std::string directiveName, std::string payload, std::string messageId=MESSAGE_ID_TEST) |
alexaClientSDK::alexaInputController::test::TEST_F (InputControllerCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail) | |
Test that create() returns a nullptr if called with invalid arguments. More... | |
alexaClientSDK::alexaInputController::test::TEST_F (InputControllerCapabilityAgentTest, test_selectInputDirective_successCase) | |
alexaClientSDK::alexaInputController::test::TEST_F (InputControllerCapabilityAgentTest, test_selectInputDirective_errorCase) | |
alexaClientSDK::alexaInputController::test::TEST_F (InputControllerCapabilityAgentTest, test_reportStateChange_successCase) | |
alexaClientSDK::alexaInputController::test::TEST_F (InputControllerCapabilityAgentTest, test_unknownInvalidDirective) | |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0