AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | AlexaSeekControllerCapabilityAgentTest |
class | MockAlexaSeekControllerInterface |
Typedefs | |
using | EndpointIdentifier = endpoints::EndpointIdentifier |
Functions | |
static std::chrono::milliseconds | TIMEOUT (1000) |
Timeout when waiting for futures to be set. More... | |
static const EndpointIdentifier | TEST_ENDPOINT_ID ("testEndpointId") |
The test EndpointId. More... | |
static const std::string | EVENT ("event") |
Event key. More... | |
static const std::string | MESSAGE_ID_TEST ("MessageId_Test") |
MessageId for testing. More... | |
static const std::string | DIALOG_REQUEST_ID_TEST ("DialogRequestId_Test") |
DialogRequestId for testing. More... | |
static const std::string | CORRELATION_TOKEN_TEST ("CorrelationToken_Test") |
Correlation token for testing. More... | |
std::shared_ptr< AVSDirective > | buildAVSDirective (std::string directiveName, std::string payload) |
TEST_F (AlexaSeekControllerCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail) | |
Test that create() returns a nullptr if called with invalid arguments. More... | |
TEST_F (AlexaSeekControllerCapabilityAgentTest, test_adjustSeekPositionDirective_successCase) | |
TEST_F (AlexaSeekControllerCapabilityAgentTest, test_adjustSeekPositionDirective_errorCase) | |
TEST_F (AlexaSeekControllerCapabilityAgentTest, test_unknownDirective) | |
Variables | |
static const std::string | NAMESPACE {"Alexa.SeekController"} |
The namespace for capability agent. More... | |
static const std::string | INTERFACE_VERSION {"3"} |
The supported version. More... | |
static const std::string | NAME_ADJUST_SEEK_POSITION {"AdjustSeekPosition"} |
The name for AdjustSeekPosition directive. More... | |
static const std::string | UNKNOWN_DIRECTIVE {"Unknown"} |
An unknown directive signature. More... | |
static const std::string | ADJUST_SEEK_POSITION_PAYLOAD |
using alexaClientSDK::acsdkAlexaSeekController::test::EndpointIdentifier = typedef endpoints::EndpointIdentifier |
std::shared_ptr<AVSDirective> alexaClientSDK::acsdkAlexaSeekController::test::buildAVSDirective | ( | std::string | directiveName, |
std::string | payload | ||
) |
|
static |
Correlation token for testing.
|
static |
DialogRequestId for testing.
|
static |
Event key.
|
static |
MessageId for testing.
|
static |
The test EndpointId.
alexaClientSDK::acsdkAlexaSeekController::test::TEST_F | ( | AlexaSeekControllerCapabilityAgentTest | , |
test_givenInvalidParameters_create_shouldFail | |||
) |
Test that create() returns a nullptr if called with invalid arguments.
alexaClientSDK::acsdkAlexaSeekController::test::TEST_F | ( | AlexaSeekControllerCapabilityAgentTest | , |
test_adjustSeekPositionDirective_successCase | |||
) |
Test successful handling of AdjustSeekPosition directive.
alexaClientSDK::acsdkAlexaSeekController::test::TEST_F | ( | AlexaSeekControllerCapabilityAgentTest | , |
test_adjustSeekPositionDirective_errorCase | |||
) |
Test error path of AdjustSeekPosition directive.
alexaClientSDK::acsdkAlexaSeekController::test::TEST_F | ( | AlexaSeekControllerCapabilityAgentTest | , |
test_unknownDirective | |||
) |
Tests unknown Directive. Expect that the sendExceptionEncountered and setFailed will be called.
|
static |
Timeout when waiting for futures to be set.
|
static |
|
static |
The supported version.
|
static |
The name for AdjustSeekPosition directive.
|
static |
The namespace for capability agent.
|
static |
An unknown directive signature.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0