AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
ApiGatewayCapabilityAgentTest.cpp File Reference
#include <memory>
#include <gmock/gmock.h>
#include <ApiGateway/ApiGatewayCapabilityAgent.h>
#include <AVSCommon/AVS/AVSDirective.h>
#include <AVSCommon/AVS/NamespaceAndName.h>
#include <AVSCommon/SDKInterfaces/MockAVSGatewayManager.h>
#include <AVSCommon/SDKInterfaces/MockDirectiveHandlerResult.h>
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
#include <AVSCommon/Utils/Memory/Memory.h>
Include dependency graph for ApiGatewayCapabilityAgentTest.cpp:

Classes

class  alexaClientSDK::capabilityAgents::apiGateway::test::ApiGatewayCapabilityAgentTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::apiGateway
 
 alexaClientSDK::capabilityAgents::apiGateway::test
 

Functions

static std::chrono::milliseconds alexaClientSDK::capabilityAgents::apiGateway::test::TIMEOUT (1000)
 Timeout when waiting for future to be set. More...
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, createNoGatewayManager)
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, createNoAVSGatewayManager)
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, testNullDirective)
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, testValidUnknownDirective)
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, testValidDirectiveWithNoPayload)
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, testValidDirectiveWithInvalidPayload)
 
 alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F (ApiGatewayCapabilityAgentTest, testValidSetGatewayDirective)
 

Variables

static const std::string alexaClientSDK::capabilityAgents::apiGateway::test::NAMESPACE = "Alexa.ApiGateway"
 The namespace for this capability agent. More...
 
static const NamespaceAndName alexaClientSDK::capabilityAgents::apiGateway::test::SET_GATEWAY_REQUEST {NAMESPACE, "SetGateway"}
 The SetGateway directive signature. More...
 
static const std::string alexaClientSDK::capabilityAgents::apiGateway::test::TEST_GATEWAY_URL = "https://avs-alexa-na.amazon.com"
 A sample gateway URL. More...
 
static const std::string alexaClientSDK::capabilityAgents::apiGateway::test::SET_GATEWAY_DIRECTIVE_JSON_STRING
 A sample Directive JSON string for the purposes of creating an AVSDirective object. More...
 
static const std::string alexaClientSDK::capabilityAgents::apiGateway::test::UNKNOWN_DIRECTIVE_JSON_STRING
 An invalid NewDialogRequest directive with an incorrect name. More...
 
static const std::string alexaClientSDK::capabilityAgents::apiGateway::test::NO_PAYLOAD_SET_GATEWAY_DIRECTIVE_JSON_STRING
 An invalid NewDialogRequest directive with no payload. More...
 
static const std::string alexaClientSDK::capabilityAgents::apiGateway::test::INVALID_PAYLOAD_SET_GATEWAY_DIRECTIVE_JSON_STRING
 An invalid NewDialogRequest with invalid dialogRequestID format. More...
 

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0