AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | MockMRMHandler |
class | MRMCapabilityAgentTest |
Test harness for MRMCapabilityAgent class. More... | |
class | SynchronizedInvocation |
class | WaitableExceptionEncounteredSender |
Functions | |
TEST_F (MRMCapabilityAgentTest, test_create) | |
TEST_F (MRMCapabilityAgentTest, test_getConfiguration) | |
TEST_F (MRMCapabilityAgentTest, test_getVersionString) | |
TEST_F (MRMCapabilityAgentTest, test_handleMRMDirective) | |
TEST_F (MRMCapabilityAgentTest, test_onSpeakerSettingsChanged) | |
TEST_F (MRMCapabilityAgentTest, test_onUserInactivityReport) | |
Variables | |
static const std::string | TEST_MRM_HANDLER_VERSION_STRING = "test_version_string" |
Test version string which our dummy MRMHandler will return. More... | |
static const auto | WAIT_FOR_INVOCATION_LONG_TIMEOUT = std::chrono::milliseconds{100} |
A timeout for things which we expect to occur (so it's long enough for reasonable latency) More... | |
static const auto | WAIT_FOR_INVOCATION_SHORT_TIMEOUT = std::chrono::milliseconds{5} |
A timeout for things which we do not expect to occur (so, we will expect this duration to elapse). More... | |
static const std::string | TEST_DIRECTIVE_JSON_STRING |
A sample Directive JSON string for the purposes of creating an AVSDirective object. More... | |
alexaClientSDK::capabilityAgents::mrm::test::TEST_F | ( | MRMCapabilityAgentTest | , |
test_create | |||
) |
Test to verify the create
function of MRMCapabilityAgent
class.
A dummy MRMHandler.
Test all the bad cases. The good case is already tested in SetUp.
alexaClientSDK::capabilityAgents::mrm::test::TEST_F | ( | MRMCapabilityAgentTest | , |
test_getConfiguration | |||
) |
Test to verify the getConfiguration
function of MRMCapabilityAgent
class.
alexaClientSDK::capabilityAgents::mrm::test::TEST_F | ( | MRMCapabilityAgentTest | , |
test_getVersionString | |||
) |
Test to verify the getVersionString
function of MRMCapabilityAgent
class.
alexaClientSDK::capabilityAgents::mrm::test::TEST_F | ( | MRMCapabilityAgentTest | , |
test_handleMRMDirective | |||
) |
Test to verify the handleDirective
function of MRMHandler
class, invoked by the MRMCapabilityAgent
class.
alexaClientSDK::capabilityAgents::mrm::test::TEST_F | ( | MRMCapabilityAgentTest | , |
test_onSpeakerSettingsChanged | |||
) |
Test to verify the onSpeakerSettingsChanged
function of MRMHandler
class, invoked by the MRMCapabilityAgent
class.
alexaClientSDK::capabilityAgents::mrm::test::TEST_F | ( | MRMCapabilityAgentTest | , |
test_onUserInactivityReport | |||
) |
Test to verify the waitForUserInactivityReport
function of MRMHandler
class, invoked by the MRMCapabilityAgent
class.
|
static |
A sample Directive JSON string for the purposes of creating an AVSDirective object.
|
static |
Test version string which our dummy MRMHandler will return.
|
static |
A timeout for things which we expect to occur (so it's long enough for reasonable latency)
|
static |
A timeout for things which we do not expect to occur (so, we will expect this duration to elapse).
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0