AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <future>
#include <memory>
#include <thread>
#include <gmock/gmock.h>
#include <AVSCommon/SDKInterfaces/MockContextManager.h>
#include <AVSCommon/SDKInterfaces/MockMessageSender.h>
#include <AVSCommon/Utils/Metrics/MockMetricRecorder.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <SynchronizeStateSender/PostConnectSynchronizeStateSender.h>
Classes | |
class | alexaClientSDK::synchronizeStateSender::test::PostConnectSynchronizeStateSenderTest |
struct | alexaClientSDK::synchronizeStateSender::test::EventData |
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::synchronizeStateSender | |
alexaClientSDK::synchronizeStateSender::test | |
Functions | |
bool | alexaClientSDK::synchronizeStateSender::test::parseEventJson (const std::string &eventJson, EventData *eventData) |
bool | alexaClientSDK::synchronizeStateSender::test::validateEvent (const std::string &eventJson) |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_createWithNullContextManager) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_createWithMetricRecorder) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_getOperationPriority) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_perfromOperationSendsSynchronizeStateEvent) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_performOperationRetriesOnContextFailure) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_testPerfromOperationRetriesOnUnsuccessfulResponse) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_abortOperationWhenContextRequestInProgress) | |
alexaClientSDK::synchronizeStateSender::test::TEST_F (PostConnectSynchronizeStateSenderTest, test_abortOperationWhenSendMessageInProgress) | |
Variables | |
static const std::string | alexaClientSDK::synchronizeStateSender::test::TEST_CONTEXT_VALUE = "{}" |
String indicating the device's context. More... | |
static const std::string | alexaClientSDK::synchronizeStateSender::test::EXPECTED_NAMESPACE = "System" |
String indicating the SynchronizeState event's expected namespace. More... | |
static const std::string | alexaClientSDK::synchronizeStateSender::test::EXPECTED_NAME = "SynchronizeState" |
String indicating the SynchronizeState event's expected name. More... | |
static const std::string | alexaClientSDK::synchronizeStateSender::test::EXPECTED_PAYLOAD = "{}" |
String indicating the SynchronizeState event's expected payload. More... | |
static const ContextRequestToken | alexaClientSDK::synchronizeStateSender::test::MOCK_CONTEXT_REQUEST_TOKEN = 1 |
Request token used to mock getContext return value. More... | |
static const int | alexaClientSDK::synchronizeStateSender::test::TEST_RETRY_COUNT = 3 |
Number of retries used in tests. More... | |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0