AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
MRMCapabilityAgentTest.cpp File Reference
#include <iterator>
#include <memory>
#include <sstream>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <AVSCommon/SDKInterfaces/MockSpeakerManager.h>
#include <AVSCommon/SDKInterfaces/MockUserInactivityMonitor.h>
#include <AVSCommon/SDKInterfaces/SpeakerInterface.h>
#include "acsdkMultiRoomMusic/MRMCapabilityAgent.h"
Include dependency graph for MRMCapabilityAgentTest.cpp:

Classes

class  alexaClientSDK::capabilityAgents::mrm::test::SynchronizedInvocation
 
class  alexaClientSDK::capabilityAgents::mrm::test::WaitableExceptionEncounteredSender
 
class  alexaClientSDK::capabilityAgents::mrm::test::MockMRMHandler
 
class  alexaClientSDK::capabilityAgents::mrm::test::MRMCapabilityAgentTest
 Test harness for MRMCapabilityAgent class. More...
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::mrm
 
 alexaClientSDK::capabilityAgents::mrm::test
 

Functions

 alexaClientSDK::capabilityAgents::mrm::test::TEST_F (MRMCapabilityAgentTest, test_create)
 
 alexaClientSDK::capabilityAgents::mrm::test::TEST_F (MRMCapabilityAgentTest, test_getConfiguration)
 
 alexaClientSDK::capabilityAgents::mrm::test::TEST_F (MRMCapabilityAgentTest, test_getVersionString)
 
 alexaClientSDK::capabilityAgents::mrm::test::TEST_F (MRMCapabilityAgentTest, test_handleMRMDirective)
 
 alexaClientSDK::capabilityAgents::mrm::test::TEST_F (MRMCapabilityAgentTest, test_onSpeakerSettingsChanged)
 
 alexaClientSDK::capabilityAgents::mrm::test::TEST_F (MRMCapabilityAgentTest, test_onUserInactivityReport)
 
int main (int argc, char **argv)
 

Variables

static const std::string alexaClientSDK::capabilityAgents::mrm::test::TEST_MRM_HANDLER_VERSION_STRING = "test_version_string"
 Test version string which our dummy MRMHandler will return. More...
 
static const auto alexaClientSDK::capabilityAgents::mrm::test::WAIT_FOR_INVOCATION_LONG_TIMEOUT = std::chrono::milliseconds{100}
 A timeout for things which we expect to occur (so it's long enough for reasonable latency) More...
 
static const auto alexaClientSDK::capabilityAgents::mrm::test::WAIT_FOR_INVOCATION_SHORT_TIMEOUT = std::chrono::milliseconds{5}
 A timeout for things which we do not expect to occur (so, we will expect this duration to elapse). More...
 
static const std::string alexaClientSDK::capabilityAgents::mrm::test::TEST_DIRECTIVE_JSON_STRING
 A sample Directive JSON string for the purposes of creating an AVSDirective object. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0