![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <thread>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "AVSCommon/Utils/Logger/Logger.h"
#include "AVSCommon/Utils/Logger/LoggerSinkManager.h"
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::avsCommon | |
alexaClientSDK::avsCommon::utils | |
alexaClientSDK::avsCommon::utils::logger | |
alexaClientSDK::avsCommon::utils::logger::test | |
Macros | |
#define | LX(event) LogEntry(TEST_SOURCE_STRING, event) |
Macro used to initial creation of log entries for this source. More... | |
#define | METADATA_KEY "metadata_key" |
String used to verify passing metadata keys. More... | |
#define | METADATA_KEY_TRUE "key_true" |
Key for boolean true metadata value. More... | |
#define | METADATA_KEY_FALSE "key_false" |
Key for boolean false metadata value. More... | |
#define | KEY_VALUE_SEPARATOR "=" |
Constant string used to separate (and connect) keys and values. More... | |
#define | KEY_VALUE_PAIR_SEPARATOR "," |
Constant string used to separate key,value pairs from each other. More... | |
#define | ESCAPED_METADATA_VALUE R"(reserved_chars['\\' '\,' '\:' '\='])" |
Escaped version of UNESCAPED_METADATA_VALUE, used to verify proper escaping of metadata values. More... | |
#define | METADATA_EXPECTED_BOOLEANS |
Expected output string for test of boolean metadata. More... | |
#define | DEBUG_COUNT 0 |
#define | LOG_COUNT 0 |
Variables | |
static const std::string | alexaClientSDK::avsCommon::utils::logger::test::TEST_SOURCE_STRING = "<The_Source_Of_Log_Entries>" |
String used to test that the source component is logged. More... | |
static const std::string | alexaClientSDK::avsCommon::utils::logger::test::TEST_EVENT_STRING = "[Some_Event_Worth_Logging]" |
String used to test that the event component is logged. More... | |
static const std::string | alexaClientSDK::avsCommon::utils::logger::test::UNESCAPED_METADATA_VALUE = R"(reserved_chars['\' ',' ':' '='])" |
Metadata value with characters that must be escaped, to exercise the code that escapes metadata values. More... | |
static std::shared_ptr< MockLogger > | alexaClientSDK::avsCommon::utils::logger::test::g_log |
Global to hold on to the current MockLogger to use. More... | |
#define DEBUG_COUNT 0 |
#define ESCAPED_METADATA_VALUE R"(reserved_chars['\\' '\,' '\:' '\='])" |
Escaped version of UNESCAPED_METADATA_VALUE, used to verify proper escaping of metadata values.
#define KEY_VALUE_PAIR_SEPARATOR "," |
Constant string used to separate key,value pairs from each other.
#define KEY_VALUE_SEPARATOR "=" |
Constant string used to separate (and connect) keys and values.
#define LOG_COUNT 0 |
#define LX | ( | event | ) | LogEntry(TEST_SOURCE_STRING, event) |
Macro used to initial creation of log entries for this source.
#define METADATA_EXPECTED_BOOLEANS |
Expected output string for test of boolean metadata.
#define METADATA_KEY "metadata_key" |
String used to verify passing metadata keys.
#define METADATA_KEY_FALSE "key_false" |
Key for boolean false
metadata value.
#define METADATA_KEY_TRUE "key_true" |
Key for boolean true
metadata 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