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 <acsdkAlexaKeypadControllerInterfaces/AlexaKeypadControllerInterface.h>
#include <acsdkAlexaKeypadControllerInterfaces/Keystroke.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/Utils/Memory/Memory.h>
#include <AVSCommon/Utils/Timing/TimePoint.h>
#include <AVSCommon/Utils/WaitEvent.h>
#include "acsdkAlexaKeypadController/AlexaKeypadControllerCapabilityAgent.h"
Classes | |
class | alexaClientSDK::acsdkAlexaKeypadController::test::MockAlexaKeypadControllerInterface |
class | alexaClientSDK::acsdkAlexaKeypadController::test::AlexaKeypadControllerCapabilityAgentTest |
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::acsdkAlexaKeypadController | |
alexaClientSDK::acsdkAlexaKeypadController::test | |
Typedefs | |
using | alexaClientSDK::acsdkAlexaKeypadController::test::EndpointIdentifier = endpoints::EndpointIdentifier |
Functions | |
static std::chrono::milliseconds | alexaClientSDK::acsdkAlexaKeypadController::test::TIMEOUT (1000) |
Timeout when waiting for futures to be set. More... | |
static const EndpointIdentifier | alexaClientSDK::acsdkAlexaKeypadController::test::TEST_ENDPOINT_ID ("testEndpointId") |
The test EndpointId. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::EVENT ("event") |
Event key. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::HEADER ("header") |
Header key. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::MESSAGE_ID ("messageId") |
MessageId key. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::MESSAGE_ID_TEST ("MessageId_Test") |
MessageId for testing. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::DIALOG_REQUEST_ID ("dialogRequestId") |
Dialog request Id key. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::DIALOG_REQUEST_ID_TEST ("DialogRequestId_Test") |
DialogRequestId for testing. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::CORRELATION_TOKEN ("correlationToken") |
Correlation token key. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::CORRELATION_TOKEN_TEST ("CorrelationToken_Test") |
Correlation token for testing. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::EVENT_CORRELATION_TOKEN ("eventCorrelationToken") |
Event correlation token key. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::EVENT_CORRELATION_TOKEN_TEST ("EventCorrelationToken_Test") |
Event correlation for testing. More... | |
std::shared_ptr< AVSDirective > | alexaClientSDK::acsdkAlexaKeypadController::test::buildAVSDirective (std::string directiveName) |
alexaClientSDK::acsdkAlexaKeypadController::test::TEST_F (AlexaKeypadControllerCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail) | |
Test that create() returns a nullptr if called with invalid arguments. More... | |
alexaClientSDK::acsdkAlexaKeypadController::test::TEST_F (AlexaKeypadControllerCapabilityAgentTest, test_sendKeystrokeDirective_successCase) | |
alexaClientSDK::acsdkAlexaKeypadController::test::TEST_F (AlexaKeypadControllerCapabilityAgentTest, test_sendKeystrokeDirective_errorCase) | |
alexaClientSDK::acsdkAlexaKeypadController::test::TEST_F (AlexaKeypadControllerCapabilityAgentTest, test_unknownDirective) | |
Variables | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::NAMESPACE {"Alexa.KeypadController"} |
The namespace for capability agent. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::INTERFACE_VERSION {"3"} |
The supported version. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::NAME_SENDKEYSTROKE {"SendKeystroke"} |
The name for SendKeystroke directive. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::UNKNOWN_DIRECTIVE {"Unknown"} |
An unknown directive signature. More... | |
static const std::string | alexaClientSDK::acsdkAlexaKeypadController::test::PAYLOAD = R"delim( { "keystroke": "SELECT" } )delim" |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0