![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | AlexaRecordControllerCapabilityAgentTest |
class | MockRecordControllerHandlerInterface |
Typedefs | |
using | EndpointIdentifier = endpoints::EndpointIdentifier |
Functions | |
static std::chrono::milliseconds | TIMEOUT (1000) |
Timeout when waiting for futures to be set. More... | |
std::shared_ptr< AVSDirective > | buildAVSDirective (std::string directiveName) |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail) | |
Test that create() returns a nullptr if called with invalid arguments. More... | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_startRecordingDirective_successCase) | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_startRecordingDirective_errorCase) | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_stopRecordingDirective_successCase) | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_stopRecordingDirective_errorCase) | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_unknownDirective) | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_unknownDirectiveWithProactivelyReportedAndRetrievableTrue) | |
TEST_F (AlexaRecordControllerCapabilityAgentTest, test_unknownDirectiveWithProactivelyReportedAndRetrievableFalse) | |
Variables | |
static const std::string | TIME_OF_SAMPLE_TEST {"2017-02-03T16:20:50.523Z"} |
Time of sample used for testing. More... | |
static const std::string | NAMESPACE {"Alexa.RecordController"} |
The namespace for capability agent. More... | |
static const std::string | INTERFACE_VERSION {"3"} |
The supported version. More... | |
static const std::string | NAME_STARTRECORDING {"StartRecording"} |
The name for StartRecording directive. More... | |
static const std::string | NAME_STOPRECORDING {"StopRecording"} |
The name for StopRecording directive. More... | |
static const std::string | UNKNOWN_DIRECTIVE {"Unknown"} |
An unknown directive signature. 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... | |
static const std::string | TEST_STATE_NOT_RECORDING {"NOT_RECORDING"} |
NOT_RECORDING state string for testing. More... | |
static const std::string | TEST_STATE_RECORDING {"RECORDING"} |
RECORDING state string for testing. More... | |
static const std::string | RECORDINGSTATE_PROPERTY_NAME {"recordingState"} |
The name of recording state property. More... | |
using alexaClientSDK::alexaRecordController::test::EndpointIdentifier = typedef endpoints::EndpointIdentifier |
std::shared_ptr<AVSDirective> alexaClientSDK::alexaRecordController::test::buildAVSDirective | ( | std::string | directiveName | ) |
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_givenInvalidParameters_create_shouldFail | |||
) |
Test that create() returns a nullptr if called with invalid arguments.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_startRecordingDirective_successCase | |||
) |
Test successful handling of StartRecording directive.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_startRecordingDirective_errorCase | |||
) |
Test error path of StartRecording directive.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_stopRecordingDirective_successCase | |||
) |
Test successful handling of StopRecording directive.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_stopRecordingDirective_errorCase | |||
) |
Test error path of StopRecording directive.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_unknownDirective | |||
) |
Tests unknown Directive. Expect that the sendExceptionEncountered and setFailed will be called.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_unknownDirectiveWithProactivelyReportedAndRetrievableTrue | |||
) |
Tests unknown Directive with retrievable set. Expect that the sendExceptionEncountered and setFailed will be called.
alexaClientSDK::alexaRecordController::test::TEST_F | ( | AlexaRecordControllerCapabilityAgentTest | , |
test_unknownDirectiveWithProactivelyReportedAndRetrievableFalse | |||
) |
Tests unknown Directive with retrievable set to false. Expect that the sendExceptionEncountered and setFailed will be called.
|
static |
Timeout when waiting for futures to be set.
|
static |
Correlation token for testing.
|
static |
DialogRequestId for testing.
|
static |
Event key.
|
static |
The supported version.
|
static |
MessageId for testing.
|
static |
The name for StartRecording directive.
|
static |
The name for StopRecording directive.
|
static |
The namespace for capability agent.
|
static |
The name of recording state property.
|
static |
The test EndpointId.
|
static |
NOT_RECORDING state string for testing.
|
static |
RECORDING state string for testing.
|
static |
Time of sample used for testing.
|
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