AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <chrono>
#include <thread>
#include <gtest/gtest.h>
#include <rapidjson/document.h>
#include <AVSCommon/AVS/MessageRequest.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/SDKInterfaces/ContextRequestToken.h>
#include <AVSCommon/SDKInterfaces/MockMessageSender.h>
#include <AVSCommon/SDKInterfaces/MockContextManager.h>
#include <AVSCommon/SDKInterfaces/MockPlaybackRouter.h>
#include "PlaybackController/PlaybackController.h"
Classes | |
class | alexaClientSDK::capabilityAgents::playbackController::test::PlaybackControllerTest |
Test harness for StateSynchronizer class. More... | |
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::capabilityAgents | |
alexaClientSDK::capabilityAgents::playbackController | |
alexaClientSDK::capabilityAgents::playbackController::test | |
Variables | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_CONTROLLER_NAMESPACE = "PlaybackController" |
String to identify the AVS namespace of the event we send. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_PLAY_NAME = "PlayCommandIssued" |
String to identify the AVS name of the event on the 'Play' button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_PAUSE_NAME = "PauseCommandIssued" |
String to identify the AVS name of the event on the 'Pause' button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_NEXT_NAME = "NextCommandIssued" |
String to identify the AVS name of the event on the 'Next' button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_PREVIOUS_NAME = "PreviousCommandIssued" |
String to identify the AVS name of the event on the 'Previous' button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_BUTTON_NAME = "ButtonCommandIssued" |
String to identify the AVS name of the event on a PlaybackController button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_SKIPFORWARD_NAME = "SKIPFORWARD" |
String to identify the AVS name inside the event payload on the 'SKIPFORWARD' button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_SKIPBACKWARD_NAME = "SKIPBACKWARD" |
String to identify the AVS name inside the event payload on the 'SKIPBACKWARD' button pressed. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_TOGGLE_NAME = "ToggleCommandIssued" |
String to identify the AVS name of the event on a PlaybackController toggle button toggled. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_SHUFFLE_NAME = "SHUFFLE" |
String to identify the AVS name inside the event payload on the 'SHUFFLE' button toggled. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_LOOP_NAME = "LOOP" |
String to identify the AVS name inside the event payload on the 'LOOP' button toggled. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_REPEAT_NAME = "REPEAT" |
String to identify the AVS name inside the event payload on the 'REPEAT' button toggled. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_THUMBSUP_NAME = "THUMBSUP" |
String to identify the AVS name inside the event payload on the 'THUMBSUP' button toggled. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_THUMBSDOWN_NAME = "THUMBSDOWN" |
String to identify the AVS name inside the event payload on the 'THUMBSDOWN' button toggled. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_SELECTED_NAME = "SELECT" |
String to identify the AVS name for 'SELECT' action on a toggle button. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::PLAYBACK_DESELECTED_NAME = "DESELECT" |
String to identify the AVS name for 'DESELECT' action on a toggle button. More... | |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::TEST_EXCEPTION_TEXT = "Exception test" |
String to test for MessageRequest exceptionReceived() More... | |
static const std::chrono::milliseconds | alexaClientSDK::capabilityAgents::playbackController::test::TEST_RESULT_WAIT_PERIOD {100} |
A short period of time to wait for the m_contextTrigger or m_messageTrigger. More... | |
static const ContextRequestToken | alexaClientSDK::capabilityAgents::playbackController::test::CONTEXT_REQUEST_TOKEN {1} |
static const std::string | alexaClientSDK::capabilityAgents::playbackController::test::MOCK_CONTEXT |
A mock context returned by MockContextManager. 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