AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | ApiGatewayCapabilityAgentTest |
Functions | |
static std::chrono::milliseconds | TIMEOUT (1000) |
Timeout when waiting for future to be set. More... | |
TEST_F (ApiGatewayCapabilityAgentTest, createNoGatewayManager) | |
TEST_F (ApiGatewayCapabilityAgentTest, createNoAVSGatewayManager) | |
TEST_F (ApiGatewayCapabilityAgentTest, testNullDirective) | |
TEST_F (ApiGatewayCapabilityAgentTest, testValidUnknownDirective) | |
TEST_F (ApiGatewayCapabilityAgentTest, testValidDirectiveWithNoPayload) | |
TEST_F (ApiGatewayCapabilityAgentTest, testValidDirectiveWithInvalidPayload) | |
TEST_F (ApiGatewayCapabilityAgentTest, testValidSetGatewayDirective) | |
Variables | |
static const std::string | NAMESPACE = "Alexa.ApiGateway" |
The namespace for this capability agent. More... | |
static const NamespaceAndName | SET_GATEWAY_REQUEST {NAMESPACE, "SetGateway"} |
The SetGateway directive signature. More... | |
static const std::string | TEST_GATEWAY_URL = "https://avs-alexa-na.amazon.com" |
A sample gateway URL. More... | |
static const std::string | SET_GATEWAY_DIRECTIVE_JSON_STRING |
A sample Directive JSON string for the purposes of creating an AVSDirective object. More... | |
static const std::string | UNKNOWN_DIRECTIVE_JSON_STRING |
An invalid NewDialogRequest directive with an incorrect name. More... | |
static const std::string | NO_PAYLOAD_SET_GATEWAY_DIRECTIVE_JSON_STRING |
An invalid NewDialogRequest directive with no payload. More... | |
static const std::string | INVALID_PAYLOAD_SET_GATEWAY_DIRECTIVE_JSON_STRING |
An invalid NewDialogRequest with invalid dialogRequestID format. More... | |
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
createNoGatewayManager | |||
) |
Tests if create method returns null with null AVSGatewayManager
.
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
createNoAVSGatewayManager | |||
) |
Test if create method return null with null ExceptionEncounteredSender
.
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
testNullDirective | |||
) |
Tests that AVSGatewayManager
does not get called if the directive is null.
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
testValidUnknownDirective | |||
) |
Test if sendExceptionEncountered and setFailed will be called for invalid directives.
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
testValidDirectiveWithNoPayload | |||
) |
Test if sendExceptionEncountered and setFailed will be called for SetGateway directives with no payload.
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
testValidDirectiveWithInvalidPayload | |||
) |
Test if sendExceptionEncountered and setFailed will be called for SetGateway directives with invalid payload.
alexaClientSDK::capabilityAgents::apiGateway::test::TEST_F | ( | ApiGatewayCapabilityAgentTest | , |
testValidSetGatewayDirective | |||
) |
Test if setGatewayURL and setCompleted get called for valid SetGateway directives.
|
static |
Timeout when waiting for future to be set.
|
static |
An invalid NewDialogRequest with invalid dialogRequestID format.
|
static |
The namespace for this capability agent.
|
static |
An invalid NewDialogRequest directive with no payload.
|
static |
A sample Directive JSON string for the purposes of creating an AVSDirective object.
|
static |
The SetGateway
directive signature.
|
static |
A sample gateway URL.
|
static |
An invalid NewDialogRequest directive with an incorrect name.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0