AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | ConfigurationNodeTest |
Functions | |
bool | initializeConfiguration (const std::string &jsonConfiguration) |
TEST_F (ConfigurationNodeTest, test_initializationAndAccess) | |
TEST_F (ConfigurationNodeTest, test_arrayElement) | |
TEST_F (ConfigurationNodeTest, test_emptyArrayElement) | |
Variables | |
static const std::string | NON_OBJECT = "non-existent-object" |
Name of non-existent object for exercising failure to find a ConfigurationNode . More... | |
static const std::string | OBJECT1 = "object1" |
Name of first root level object. More... | |
static const std::string | BOOL1_1 = "bool1.1" |
Name of first bool value in first root level object. More... | |
static const bool | BOOL_VALUE1_1 = true |
Value of first bool value in first root level object. More... | |
static const std::string | OBJECT1_1 = "object1.1" |
Name of first object inside first root level object. More... | |
static const std::string | STRING1_1_1 = "string1.1.1" |
Name of first string value in first object inside first root level object. More... | |
static const std::string | STRING_VALUE1_1_1 = "stringValue1.1.1" |
Value of first string value in first object inside first root level object. More... | |
static const std::string | OBJECT2 = "object2" |
Name of second root level object. More... | |
static const std::string | STRING2_1 = "string2.1" |
Name of first string in second root level object. More... | |
static const std::string | NEW_STRING_VALUE2_1 = "new-stringValue2.1" |
Replaced value of first string in second root level object. More... | |
static const std::string | NON_EXISTENT_INT2_1 = "non-existent-int2.1" |
Name for non-existent int value in second root level object. More... | |
static const int | NON_EXISTENT_INT_VALUE2_1 = 123 |
Default value for non-existent int value in second root level object. More... | |
static const std::string | INT2_1 = "int2.1" |
Name of first int value in second root level object. More... | |
static const std::string | OBJECT2_1 = "object2.1" |
Name of first object inside second root level object. More... | |
static const std::string | STRING2_1_1 = "string2.1.1" |
Name of first string inside first object inside second root level object. More... | |
static const std::string | NEW_STRING_VALUE2_1_1 = "new-stringValue2.1.1" |
Replaced value of first string inside first object inside second root level object. More... | |
static const std::string | BAD_JSON = "{ bad json }" |
Bad JSON string to verify handling the failure to parse JSON. More... | |
static const std::string | ARRAY_OBJECT = "arrayObject" |
Name of array root level object. More... | |
static const std::string | FIRST_JSON |
First JSON string to parse, serving as default for configuration values. More... | |
static const std::string | SECOND_JSON |
Second JSON string to parse, overlaying configuration values from FIRST_JSON. More... | |
static const std::string | THIRD_JSON |
Third JSON string to parse, overlaying configuration values from FIRST_JSON and SECOND_JSON. More... | |
static const std::string | ARRAY_JSON |
A JSON string to test array. More... | |
bool alexaClientSDK::avsCommon::utils::configuration::test::initializeConfiguration | ( | const std::string & | jsonConfiguration | ) |
Initializes the root configuration with the given JSON string.
jsonConfiguration | The configuration string. |
alexaClientSDK::avsCommon::utils::configuration::test::TEST_F | ( | ConfigurationNodeTest | , |
test_initializationAndAccess | |||
) |
Verify initialization a configuration. Verify both the implementation of accessor methods and the results of merging JSON streams.
alexaClientSDK::avsCommon::utils::configuration::test::TEST_F | ( | ConfigurationNodeTest | , |
test_arrayElement | |||
) |
alexaClientSDK::avsCommon::utils::configuration::test::TEST_F | ( | ConfigurationNodeTest | , |
test_emptyArrayElement | |||
) |
|
static |
A JSON string to test array.
|
static |
Name of array root level object.
|
static |
Bad JSON string to verify handling the failure to parse JSON.
|
static |
Name of first bool value in first root level object.
|
static |
Value of first bool value in first root level object.
|
static |
First JSON string to parse, serving as default for configuration values.
|
static |
Name of first int value in second root level object.
|
static |
Replaced value of first string in second root level object.
|
static |
Replaced value of first string inside first object inside second root level object.
|
static |
Name for non-existent int value in second root level object.
|
static |
Default value for non-existent int value in second root level object.
|
static |
Name of non-existent object for exercising failure to find a ConfigurationNode
.
|
static |
Name of first root level object.
|
static |
Name of first object inside first root level object.
|
static |
Name of second root level object.
|
static |
Name of first object inside second root level object.
|
static |
Second JSON string to parse, overlaying configuration values from FIRST_JSON.
|
static |
Name of first string value in first object inside first root level object.
|
static |
Name of first string in second root level object.
|
static |
Name of first string inside first object inside second root level object.
|
static |
Value of first string value in first object inside first root level object.
|
static |
Third JSON string to parse, overlaying configuration values from FIRST_JSON and SECOND_JSON.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0