AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | DevicePropertyAggregatorTest |
class | DeviceProtocolTracerTest |
class | SettingStub |
Settings stub that just set the value immediately. More... | |
Functions | |
TEST_F (DevicePropertyAggregatorTest, test_noContextManager_EmptyOptional) | |
TEST_F (DevicePropertyAggregatorTest, test_intializePropertyMap) | |
TEST_F (DevicePropertyAggregatorTest, test_getContextFailure_EmptyOptional) | |
TEST_F (DevicePropertyAggregatorTest, test_getContextSuccessful) | |
TEST_F (DevicePropertyAggregatorTest, test_getDoNotDisturbWhenSettingsManagerIsNull) | |
TEST_F (DevicePropertyAggregatorTest, test_getDoNotDisturbWhenSettingFailed) | |
TEST_F (DevicePropertyAggregatorTest, test_getDoNotDisturb) | |
TEST_F (DevicePropertyAggregatorTest, test_getDevicePropertyForInvalidKey_EmptyOptional) | |
TEST_F (DevicePropertyAggregatorTest, test_getSpeakerSettingsPropertyForNonInitializedVolume_EmptyString) | |
TEST_F (DevicePropertyAggregatorTest, test_getSpeakerSettingsProperty) | |
TEST_F (DevicePropertyAggregatorTest, test_getConnectionStatusProperty) | |
TEST_F (DevicePropertyAggregatorTest, test_getNotificationStatusProperty) | |
TEST_F (DevicePropertyAggregatorTest, test_getAudioPlayerStatusProperty) | |
TEST_F (DevicePropertyAggregatorTest, test_getTTSPlayerStateProperty) | |
TEST_F (DevicePropertyAggregatorTest, test_getAlarmStatusProperty) | |
TEST_F (DevicePropertyAggregatorTest, test_getRegistationStatusPropertyTrue) | |
TEST_F (DevicePropertyAggregatorTest, test_getRegistationStatusPropertyFalse) | |
TEST_F (DeviceProtocolTracerTest, test_ifProtocolTracingIsDisabledByDefault) | |
TEST_F (DeviceProtocolTracerTest, test_protocolTraceWithTraceFlagDisabled) | |
TEST_F (DeviceProtocolTracerTest, test_protocolTraceWithTraceFlagEnabled) | |
TEST_F (DeviceProtocolTracerTest, test_ifProtocolTracingTracesOneMessageByDefault) | |
TEST_F (DeviceProtocolTracerTest, test_clearTracedMessages) | |
TEST_F (DeviceProtocolTracerTest, test_maxTracedMessageLimit) | |
TEST_F (DeviceProtocolTracerTest, test_maxMessagesGettersSetters) | |
TEST_F (DeviceProtocolTracerTest, test_setMaxMessagesFailsIfSmallerThanStoredMessages) | |
Variables | |
static const std::string | DEFAULT_ALERT_STATE = "IDLE" |
string indicating default alert state. More... | |
static const std::string | DEFAULT_CONTENT_ID = "NONE" |
string indicating default audio content id. More... | |
static const std::string | DEFAULT_AUDIO_PLAYER_STATE = "IDLE" |
string indicating default audio player state value. More... | |
static const std::string | DEVICE_CONTEXT_VALUE = "TEST_DEVICE_CONTEXT" |
string indicating device context value. More... | |
static const ContextRequestToken | MOCK_CONTEXT_REQUEST_TOKEN = 1 |
Request token used to mock getContext return value. More... | |
static const std::string | DO_NOT_DISTURB_DISABLED = "false" |
string indicating device setting do not disturb disabled More... | |
static const std::string | DO_NOT_DISTURB_ENABLED = "true" |
string indicating device setting do not disturb enabled More... | |
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_ifProtocolTracingIsDisabledByDefault | |||
) |
Test if protocol tracing is disabled by default.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_protocolTraceWithTraceFlagDisabled | |||
) |
Test if the protocol tracer does not return the protocol trace when it's disabled.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_protocolTraceWithTraceFlagEnabled | |||
) |
Test if the protocol tracer returns the protocol trace when it's enabled.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_ifProtocolTracingTracesOneMessageByDefault | |||
) |
Test if protocol tracing only traces DEFAULT_MAX_MESSAGES (1) by default.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_clearTracedMessages | |||
) |
Test if clearTracedMessages clears the traced message list.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_maxTracedMessageLimit | |||
) |
Test if the protocol tracer abides by the maxMessages configuration.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_maxMessagesGettersSetters | |||
) |
Test setMaxMessages and getMaxMessages work.
alexaClientSDK::diagnostics::test::TEST_F | ( | DeviceProtocolTracerTest | , |
test_setMaxMessagesFailsIfSmallerThanStoredMessages | |||
) |
Test setMaxMessages to a smaller amount than currently stored messages fails.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_noContextManager_EmptyOptional | |||
) |
Test if DEVICE_CONTEXT returns empty Optional if ContextManager was not set.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_intializePropertyMap | |||
) |
Test if property map is initialized for speaker settings.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getContextFailure_EmptyOptional | |||
) |
Test if DEVICE_CONTEXT property returns empty Optional when context fetch fails.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getContextSuccessful | |||
) |
Test if DEVICE_CONTEXT property returns valid value when context fetch succeeds.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getDoNotDisturbWhenSettingsManagerIsNull | |||
) |
Test if to see if DeviceSettingsManager is null there isn't value for a do not disturb.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getDoNotDisturbWhenSettingFailed | |||
) |
Test if to see if property map stays the same when setting DoNotDisturb fails
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getDoNotDisturb | |||
) |
Test successful setting and getting doNotDisturb setting
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getDevicePropertyForInvalidKey_EmptyOptional | |||
) |
Test if getDeviceProperty returns empty Optional string.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getSpeakerSettingsPropertyForNonInitializedVolume_EmptyString | |||
) |
Test retrieving a Speaker property for a non-intializaed volume returns empty string.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getSpeakerSettingsProperty | |||
) |
Test if get Speaker Settings get updated if the observer method is called.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getConnectionStatusProperty | |||
) |
Test if Connection status gets updated if the observer method is called.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getNotificationStatusProperty | |||
) |
Test if Notification status gets updated if the observer method is called.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getAudioPlayerStatusProperty | |||
) |
Test if the Audio Player Status gets updated if the observer method is called.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getTTSPlayerStateProperty | |||
) |
Test if the TTS player state gets updated if the observer method is called.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getAlarmStatusProperty | |||
) |
Test if the Alarm status gets updated if the observer method is called.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getRegistationStatusPropertyTrue | |||
) |
Test if authorized, registration status is true.
alexaClientSDK::diagnostics::test::TEST_F | ( | DevicePropertyAggregatorTest | , |
test_getRegistationStatusPropertyFalse | |||
) |
Test if de-authorized, registration status is false.
|
static |
string indicating default alert state.
|
static |
string indicating default audio player state value.
|
static |
string indicating default audio content id.
|
static |
string indicating device context value.
|
static |
string indicating device setting do not disturb disabled
|
static |
string indicating device setting do not disturb enabled
|
static |
Request token used to mock getContext return value.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0