AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | JsonGeneratorTest |
class | JSONUtilTest |
Define test fixture for testing AVSMessage. More... | |
Functions | |
TEST_F (JsonGeneratorTest, test_emptyJson) | |
Test json generator when no member is given. More... | |
TEST_F (JsonGeneratorTest, test_jsonObject) | |
Test json generator object creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonInt) | |
Test json generator int creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonLong) | |
Test json generator long creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonUInt) | |
Test json generator long creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonULong) | |
Test json generator long creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonBool) | |
Test json generator boolean creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonDouble) | |
Test json generator double creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonCString) | |
Test json generator char creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonNullCString) | |
Test json generator char creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonStringArray) | |
Test json generator for string array creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonArray) | |
Test json generator for array creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonEmptyList) | |
Test json generator for empty array creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonRawJsonMember) | |
Test json raw creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonRawJsonMemberFailed) | |
Test json raw validation. More... | |
TEST_F (JsonGeneratorTest, test_closeTooMany) | |
Test close when there is no open object. More... | |
TEST_F (JsonGeneratorTest, test_openObjects) | |
Test to string with open objects. More... | |
TEST_F (JsonGeneratorTest, test_finalizeObjects) | |
Test finalize open objects. More... | |
TEST_F (JsonGeneratorTest, test_addMemberAfterFinalize) | |
Test operations after finalize. More... | |
TEST_F (JsonGeneratorTest, test_jsonCollectionOfStringArray) | |
Test json generator for collection of string array creation. More... | |
TEST_F (JsonGeneratorTest, test_jsonCollectionOfEmptyCollection) | |
Test json generator for collection of empty collection. More... | |
TEST_F (JsonGeneratorTest, test_jsonCollectionOfEmptyStringArray) | |
Test json generator for collection of empty string array. More... | |
TEST_F (JSONUtilTest, test_validJsonChildObjectAsString) | |
TEST_F (JSONUtilTest, test_validJsonScalarString) | |
TEST_F (JSONUtilTest, test_validJsonInteger) | |
TEST_F (JSONUtilTest, test_retrieveValueStringBasedInt64FromInvalidJSON) | |
TEST_F (JSONUtilTest, test_retrieveValueStringBasedStringFromInvalidJSON) | |
TEST_F (JSONUtilTest, test_retrieveValueStringBasedWithIncorrectKey) | |
TEST_F (JSONUtilTest, test_retrieveValueStringBasedWithNull) | |
TEST_F (JSONUtilTest, test_retrieveValueDocumentBasedWithInvalidValueType) | |
TEST_F (JSONUtilTest, test_retrieveValueDocumentBasedWithNull) | |
TEST_F (JSONUtilTest, test_retrieveValueDocumentBasedWithValidInt64) | |
TEST_F (JSONUtilTest, test_findNodeNull) | |
TEST_F (JSONUtilTest, test_findNodeKeyExists) | |
TEST_F (JSONUtilTest, test_findNodeKeyMissing) | |
TEST_F (JSONUtilTest, test_parseJSONNullOutputParam) | |
TEST_F (JSONUtilTest, test_parseJSONValidJSON) | |
TEST_F (JSONUtilTest, test_parseJSONInvalidJSON) | |
TEST_F (JSONUtilTest, test_convertToStringValueWithString) | |
TEST_F (JSONUtilTest, test_convertToStringValueWithObject) | |
TEST_F (JSONUtilTest, test_convertToStringValueWithInvalidValue) | |
TEST_F (JSONUtilTest, test_convertToStringValueWithNullOutputParam) | |
TEST_F (JSONUtilTest, test_convertToInt64ValueWithInt64) | |
TEST_F (JSONUtilTest, test_convertToInt64ValueWithDouble) | |
TEST_F (JSONUtilTest, test_convertToUint64ValueWithNullOutputParam) | |
TEST_F (JSONUtilTest, test_convertToUint64ValueWithUint64) | |
TEST_F (JSONUtilTest, test_convertToUint64ValueWithDouble) | |
TEST_F (JSONUtilTest, test_convertToInt64ValueWithNullOutputParam) | |
TEST_F (JSONUtilTest, test_convertToBoolValueWithNullOutputParam) | |
TEST_F (JSONUtilTest, test_convertToBoolValueWithNonBool) | |
TEST_F (JSONUtilTest, test_convertToBoolValueWithBool) | |
TEST_F (JSONUtilTest, test_retrieveStringArraySucceed) | |
TEST_F (JSONUtilTest, test_retrieveStringArrayEmpty) | |
TEST_F (JSONUtilTest, test_retrieveStringArrayNonArray) | |
TEST_F (JSONUtilTest, test_retrieveStringArrayNonJson) | |
TEST_F (JSONUtilTest, test_retrieveStringArrayWithNonStringArrayFails) | |
TEST_F (JSONUtilTest, test_convertToJsonStringFromEmptySet) | |
TEST_F (JSONUtilTest, test_convertToJsonStringFromStringSet) | |
TEST_F (JSONUtilTest, test_convertToJsonFromStringVector) | |
TEST_F (JSONUtilTest, test_retrieveElementsWithKeySucceed) | |
TEST_F (JSONUtilTest, test_retrieveMixStringNonStringElementsWithKeySucceed) | |
TEST_F (JSONUtilTest, test_retrieveElementsWithKeyEmptyArray) | |
TEST_F (JSONUtilTest, test_retrieveElementsWithKeyNonArray) | |
TEST_F (JSONUtilTest, test_retrieveElementsWithKeyMissing) | |
TEST_F (JSONUtilTest, test_retrieveArrayOfElementsWithKeySucceed) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArrayOnlyKeyEntry) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArrayInvalidEntry) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArray) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArrayMultiple) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArrayAll) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArrayNoneFew) | |
TEST_F (JSONUtilTest, test_retrieveStringMapFromArrayNoneAll) | |
TEST_F (JSONUtilTest, test_retrieveArrayStringMapFromArray) | |
TEST_F (JSONUtilTest, test_retrieveArrayStringMapFromArrayInvalidEntry) | |
TEST_F (JSONUtilTest, test_retrieveArrayStringMapFromArrayInvalidKey) | |
TEST_F (JSONUtilTest, test_retrieveArrayStringMapFromArrayEmptyArray) | |
TEST_F (JSONUtilTest, test_retrieveArrayStringMapFromArrayEmptyMap) | |
Variables | |
static const std::string | JSON_MESSAGE_HEADER_STRING = "header" |
The header key in the JSON content of an AVS message. More... | |
static const std::string | JSON_MESSAGE_NAMESPACE_STRING = "namespace" |
The namespace key in the JSON content of an AVS message. More... | |
static const std::string | JSON_MESSAGE_NAME_STRING = "name" |
The name key in the JSON content of an AVS message. More... | |
static const std::string | JSON_MESSAGE_ID_STRING = "messageId" |
The messageId key in the JSON content of an AVS message. More... | |
static const std::string | JSON_MESSAGE_DIALOG_REQUEST_ID_STRING = "dialogRequestId" |
The dialogRequestId key in the JSON content of an AVS message. More... | |
static const std::string | JSON_MESSAGE_PAYLOAD_STRING = "payload" |
The payload key in the JSON content of an AVS message. More... | |
static const std::string | DIRECTIVE_KEY = "directive" |
The directive key in the JSON content of an AVS message. More... | |
static const std::string | NAMESPACE_TEST = "SpeechSynthesizer" |
The namespace in AVS message. More... | |
static const std::string | NAME_TEST = "Speak" |
The name field in AVS message. More... | |
static const std::string | MESSAGE_ID_TEST = "testMessageId" |
The messageId in AVS message. More... | |
static const std::string | DIALOG_REQUEST_ID_TEST = "dialogRequestIdTest" |
The dialogRequestId in AVS message. More... | |
static const std::string | PAYLOAD_TEST = R"({"url":"cid:testCID","format":"testFormat","token":"testToken"})" |
The payload in AVS message. More... | |
static const std::string | OUTPUT_DEFAULT_TEXT_STRING = "defaultString" |
A random text to test the output value modification. More... | |
static const int | OUTPUT_DEFAULT_INT_VALUE = 42 |
A random integer to test the output value modification. More... | |
static const std::string | EXPECTED_STRING_VALUE = "expectedValue" |
Expected string value. More... | |
static const int | EXPECTED_INT_VALUE = 123 |
Expected int value. More... | |
static const uint64_t | EXPECTED_UNSIGNED_INT64_VALUE = UINT64_MAX |
Expected uint64_t value. More... | |
static const std::string | EXPECTED_INT_VALUE_STRINGIFIED = "123" |
Expected int value converted to a string. More... | |
static const std::string | EMPTY_DIRECTIVE |
An invalid AVS directive JSON.``. More... | |
static const std::string | SPEAK_DIRECTIVE |
A sample AVS speak directive with all valid JSON keys. More... | |
static const std::string | VALUE_KEY = "anInt64" |
The JSON key used in value reading tests. More... | |
static const std::string | MISSING_KEY = "missingKey" |
A JSON key not used in value reading tests. More... | |
static const std::string | INVALID_JSON = "invalidTestJSON" |
An invalid JSON string for testing. More... | |
static const std::string | VALID_JSON_STRING_VALUE = R"({")" + VALUE_KEY + R"(":")" + EXPECTED_STRING_VALUE + R"("})" |
A valid JSON string with scalar string value. More... | |
static const std::string | VALID_JSON_INTEGER_VALUE |
A valid JSON string with integer value. More... | |
static const double | A_DOUBLE = 1.0 |
A double. More... | |
static const bool | A_BOOL = false |
A bool used for construction of rapidjson::Value objects. More... | |
static const std::string | STRING_VALUE = "stringValue" |
A valid string JSON Value. More... | |
static const std::string | STRING_VALUE_EMPTY_JSON_OBJECT = "{}" |
A valid empty string JSON Value. More... | |
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_emptyJson | |||
) |
Test json generator when no member is given.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonObject | |||
) |
Test json generator object creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonInt | |||
) |
Test json generator int creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonLong | |||
) |
Test json generator long creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonUInt | |||
) |
Test json generator long creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonULong | |||
) |
Test json generator long creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonBool | |||
) |
Test json generator boolean creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonDouble | |||
) |
Test json generator double creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonCString | |||
) |
Test json generator char creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonNullCString | |||
) |
Test json generator char creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonStringArray | |||
) |
Test json generator for string array creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_validJsonChildObjectAsString | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = std::string for getting child object as a string.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonArray | |||
) |
Test json generator for array creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_validJsonScalarString | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = std::string for getting value of a scalar string.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonEmptyList | |||
) |
Test json generator for empty array creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonRawJsonMember | |||
) |
Test json raw creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_validJsonInteger | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = int64 for getting an integer value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonRawJsonMemberFailed | |||
) |
Test json raw validation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueStringBasedInt64FromInvalidJSON | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = int64 and an invalid JSON. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_closeTooMany | |||
) |
Test close when there is no open object.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueStringBasedStringFromInvalidJSON | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = std::string and an invalid JSON. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_openObjects | |||
) |
Test to string with open objects.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueStringBasedWithIncorrectKey | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = int64 and an incorrect key. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_finalizeObjects | |||
) |
Test finalize open objects.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_addMemberAfterFinalize | |||
) |
Test operations after finalize.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueStringBasedWithNull | |||
) |
Tests retrieveValue(const std::string jsonString, const std::string& key, T* value) with T = int64 and a null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueDocumentBasedWithInvalidValueType | |||
) |
Tests retrieveValue(const rapidjson::Value& jsonNode, const std::string& key, T* value) with T = int64 and a value of invalid type. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonCollectionOfStringArray | |||
) |
Test json generator for collection of string array creation.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueDocumentBasedWithNull | |||
) |
Tests retrieveValue(const rapidjson::Value& jsonNode, const std::string& key, T* value) with T = int64 and a null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonCollectionOfEmptyCollection | |||
) |
Test json generator for collection of empty collection.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveValueDocumentBasedWithValidInt64 | |||
) |
Tests retrieveValue(const rapidjson::Value& jsonNode, const std::string& key, T* value) with T = int64 and a valid value. Returns true and obtains the correct value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JsonGeneratorTest | , |
test_jsonCollectionOfEmptyStringArray | |||
) |
Test json generator for collection of empty string array.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_findNodeNull | |||
) |
Tests findNode with a Null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_findNodeKeyExists | |||
) |
Tests findNode with a valid key. Returns true with iterator != MemberEnd().
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_findNodeKeyMissing | |||
) |
Tests findNode with a non-existent key. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_parseJSONNullOutputParam | |||
) |
Tests parseJSON with a null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_parseJSONValidJSON | |||
) |
Tests parseJSON with a valid json. Returns true.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_parseJSONInvalidJSON | |||
) |
Tests parseJSON with an invalid json. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToStringValueWithString | |||
) |
Tests convertToValue<std::string> with Value of rapidjson::Type::kStringType. Returns true and contains the correct value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToStringValueWithObject | |||
) |
Tests convertToValue<std::string> with Value of rapidjson::Type::kObjectType. Returns true and contains the correct value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToStringValueWithInvalidValue | |||
) |
Tests convertToValue<std::string> with and invalid Value of rapidjson::Type::kNullType. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToStringValueWithNullOutputParam | |||
) |
Tests convertToValue<std::string> with null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToInt64ValueWithInt64 | |||
) |
Tests convertToValue<int64_t> with valid int64_6. Returns true and contains the correct value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToInt64ValueWithDouble | |||
) |
Tests convertToValue<int64_t> with double. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToUint64ValueWithNullOutputParam | |||
) |
Tests convertToValue<uint64_t> with null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToUint64ValueWithUint64 | |||
) |
Tests convertToValue<uint64_t> with valid uint64_t. Returns true and contains the correct value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToUint64ValueWithDouble | |||
) |
Tests convertToValue<uint64_t> with double. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToInt64ValueWithNullOutputParam | |||
) |
Tests convertToValue<int64_t> with null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToBoolValueWithNullOutputParam | |||
) |
Tests convertToValue<bool> with null output param. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToBoolValueWithNonBool | |||
) |
Tests convertToValue<bool> with a nonbool. Returns false.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToBoolValueWithBool | |||
) |
Tests convertToValue<bool> with valid bool. Returns true and contains the correct value.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringArraySucceed | |||
) |
Test convert to string set with valid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringArrayEmpty | |||
) |
Test convert to string set with empty entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringArrayNonArray | |||
) |
Test convert to string set with non-array.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringArrayNonJson | |||
) |
Test convert to string set with invalid json.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringArrayWithNonStringArrayFails | |||
) |
Test convert to string set with an array with elements that are not string.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToJsonStringFromEmptySet | |||
) |
Test convert to string set with empty set.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToJsonStringFromStringSet | |||
) |
Test convert to string set with non-empty set.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_convertToJsonFromStringVector | |||
) |
Test convert to json list with non-empty string vector.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveElementsWithKeySucceed | |||
) |
Test convert to string set with valid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveMixStringNonStringElementsWithKeySucceed | |||
) |
Test convert to string set with mix of string and non-strings entries.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveElementsWithKeyEmptyArray | |||
) |
Test convert to string set with empty entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveElementsWithKeyNonArray | |||
) |
Test convert to string set with non-array.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveElementsWithKeyMissing | |||
) |
Test convert to string set with non-array.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveArrayOfElementsWithKeySucceed | |||
) |
Test convert to string array with valid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArrayOnlyKeyEntry | |||
) |
Test convert to map from string array with only key entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArrayInvalidEntry | |||
) |
Test convert to map from string array with invalid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArray | |||
) |
Test convert to map from string array with valid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArrayMultiple | |||
) |
Test convert to map from string array with multiple valid entries.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArrayAll | |||
) |
Test convert to map from string array with multiple valid entries.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArrayNoneFew | |||
) |
Test convert to map from string array with valid and empty entries.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveStringMapFromArrayNoneAll | |||
) |
Test check map is empty for empty or missing header entries in JSON
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveArrayStringMapFromArray | |||
) |
Test convert to vector of map from string array with valid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveArrayStringMapFromArrayInvalidEntry | |||
) |
Test convert to vector of map from string array with invalid entry.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveArrayStringMapFromArrayInvalidKey | |||
) |
Test convert to vector of map from string array with missing key.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveArrayStringMapFromArrayEmptyArray | |||
) |
Test convert to vector of map from string array with empty Array.
alexaClientSDK::avsCommon::utils::json::test::TEST_F | ( | JSONUtilTest | , |
test_retrieveArrayStringMapFromArrayEmptyMap | |||
) |
Test convert to vector of map from string array with empty Array.
|
static |
A bool used for construction of rapidjson::Value objects.
|
static |
A double.
|
static |
The dialogRequestId in AVS message.
|
static |
The directive key in the JSON content of an AVS message.
|
static |
An invalid AVS directive JSON.``.
|
static |
Expected int value.
|
static |
Expected int value converted to a string.
|
static |
Expected string value.
|
static |
Expected uint64_t value.
|
static |
An invalid JSON string for testing.
|
static |
The dialogRequestId key in the JSON content of an AVS message.
|
static |
The header key in the JSON content of an AVS message.
|
static |
The messageId key in the JSON content of an AVS message.
|
static |
The name key in the JSON content of an AVS message.
|
static |
The namespace key in the JSON content of an AVS message.
|
static |
The payload key in the JSON content of an AVS message.
|
static |
The messageId in AVS message.
|
static |
A JSON key not used in value reading tests.
|
static |
The name field in AVS message.
|
static |
The namespace in AVS message.
|
static |
A random integer to test the output value modification.
|
static |
A random text to test the output value modification.
|
static |
The payload in AVS message.
|
static |
A sample AVS speak directive with all valid JSON keys.
|
static |
A valid string JSON Value.
|
static |
A valid empty string JSON Value.
|
static |
A valid JSON string with integer value.
|
static |
A valid JSON string with scalar string value.
|
static |
The JSON key used in value reading tests.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0