AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | InteractionModelCapabilityAgentTest |
Test harness for InteractionModelCapabilityAgent class. More... | |
class | InteractionModelCapabilityAgentWrapper |
A wrapper for InteractionModelCapabilityAgent for easy testing. More... | |
class | MockObserver |
Variables | |
const std::string | TEST_DIALOG_REQUEST_AVS = "2" |
static const std::string | CORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING |
A sample Directive JSON string for the purposes of creating an AVSDirective object. More... | |
static const std::string | CORRECT_REQUEST_PROCESSING_STARTED_DIRECTIVE_JSON_STRING |
A sample Directive JSON string for the purposes of creating an AVSDirective object. More... | |
static const std::string | INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_1 |
An invalid NewDialogRequest directive with an incorrect name. More... | |
static const std::string | INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_2 |
An invalid NewDialogRequest directive with no payload. More... | |
static const std::string | INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_3 |
An invalid NewDialogRequest with invalid dialogRequestID format. More... | |
static const std::string | INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_4 |
An invalid NewDialogRequest with empty dialogRequestID format. More... | |
static const std::string | RPS_DIRECTIVE_JSON_STRING |
A sample RPS Directive JSON string for the purposes of creating an AVSDirective object. More... | |
static const std::string | RPC_DIRECTIVE_JSON_STRING |
A sample RPC Directive JSON string for the purposes of creating an AVSDirective object. More... | |
std::chrono::milliseconds | TIMEOUT {500} |
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_createNoDirectiveSequencer | |||
) |
Test to verify the InteractionModelCapabilityAgent
can not be created if directiveSequencer param is null.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_createNoExceptionHandler | |||
) |
Test to verify the InteractionModelCapabilityAgent
can not be created if exceptionHandler param is null.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_createNoNotifier | |||
) |
Test to verify the InteractionModelCapabilityAgent
can not be created if notifier param is null.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_createNoEndpointCapabilitiesRegistrar | |||
) |
Test to verify the InteractionModelCapabilityAgent
can not be created if capabilitiesRegistrar param is null.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_processNewDialogRequestID | |||
) |
Test to verify if a valid NewDialogRequest directive will set the dialogRequestID in the directive sequencer.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_preHandledNewDialogRequestID | |||
) |
Test to verify if a valid NewDialogRequest directive will set the dialogRequestID in the directive sequencer in preHandle hook.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_preHandledRequestProcessingStarted | |||
) |
Test to verify if preHandle interface will NOT process directive having dialogRequestID.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_preHandledNullNewDialogRequestID | |||
) |
Test to verify if preHandle interface will ignore directives with dialogRequestId.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_handledNewDialogRequestID | |||
) |
Test to verify if a valid NewDialogRequest directive with empty dialogRequestId will not be handled in handleDirective hook.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_processNullDirective | |||
) |
Test to verify if interface will ignore null directives
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_processInvalidDirective | |||
) |
Test to verify if interface will send exceptions when the directive received is invalid
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_addObserverRPS | |||
) |
Test add an observer succeeds and receives RPS directives.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_addObserverRPC | |||
) |
Test add an observer succeeds and receives RPC directives.
alexaClientSDK::acsdkInteractionModel::test::TEST_F | ( | InteractionModelCapabilityAgentTest | , |
test_removeObserver | |||
) |
Test removing an observer results in no callbacks.
|
static |
A sample Directive JSON string for the purposes of creating an AVSDirective object.
|
static |
A sample Directive JSON string for the purposes of creating an AVSDirective object.
|
static |
An invalid NewDialogRequest directive with an incorrect name.
|
static |
An invalid NewDialogRequest directive with no payload.
|
static |
An invalid NewDialogRequest with invalid dialogRequestID format.
|
static |
An invalid NewDialogRequest with empty dialogRequestID format.
|
static |
A sample RPC Directive JSON string for the purposes of creating an AVSDirective object.
|
static |
A sample RPS Directive JSON string for the purposes of creating an AVSDirective object.
const std::string alexaClientSDK::acsdkInteractionModel::test::TEST_DIALOG_REQUEST_AVS = "2" |
std::chrono::milliseconds alexaClientSDK::acsdkInteractionModel::test::TIMEOUT {500} |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0