AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Typedefs | Functions | Variables
AlexaRecordControllerCapabilityAgentTest.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <acsdk/AlexaRecordController/private/AlexaRecordControllerCapabilityAgent.h>
#include <acsdk/AlexaRecordControllerInterfaces/RecordControllerInterface.h>
#include "AVSCommon/SDKInterfaces/MockAlexaInterfaceMessageSender.h"
#include "AVSCommon/AVS/Attachment/MockAttachmentManager.h"
#include "AVSCommon/SDKInterfaces/MockContextManager.h"
#include "AVSCommon/SDKInterfaces/MockDirectiveHandlerResult.h"
#include "AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h"
#include <AVSCommon/Utils/Memory/Memory.h>
#include <AVSCommon/Utils/Timing/TimePoint.h>
#include <AVSCommon/Utils/WaitEvent.h>
#include <AVSCommon/Utils/Optional.h>
Include dependency graph for AlexaRecordControllerCapabilityAgentTest.cpp:

Classes

class  alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface
 
class  alexaClientSDK::alexaRecordController::test::AlexaRecordControllerCapabilityAgentTest
 

Namespaces

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

Typedefs

using alexaClientSDK::alexaRecordController::test::EndpointIdentifier = endpoints::EndpointIdentifier
 

Functions

static std::chrono::milliseconds alexaClientSDK::alexaRecordController::test::TIMEOUT (1000)
 Timeout when waiting for futures to be set. More...
 
std::shared_ptr< AVSDirective > alexaClientSDK::alexaRecordController::test::buildAVSDirective (std::string directiveName)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail)
 Test that create() returns a nullptr if called with invalid arguments. More...
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_startRecordingDirective_successCase)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_startRecordingDirective_errorCase)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_stopRecordingDirective_successCase)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_stopRecordingDirective_errorCase)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_unknownDirective)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_unknownDirectiveWithProactivelyReportedAndRetrievableTrue)
 
 alexaClientSDK::alexaRecordController::test::TEST_F (AlexaRecordControllerCapabilityAgentTest, test_unknownDirectiveWithProactivelyReportedAndRetrievableFalse)
 

Variables

static const std::string alexaClientSDK::alexaRecordController::test::TIME_OF_SAMPLE_TEST {"2017-02-03T16:20:50.523Z"}
 Time of sample used for testing. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::NAMESPACE {"Alexa.RecordController"}
 The namespace for capability agent. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::INTERFACE_VERSION {"3"}
 The supported version. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::NAME_STARTRECORDING {"StartRecording"}
 The name for StartRecording directive. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::NAME_STOPRECORDING {"StopRecording"}
 The name for StopRecording directive. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::UNKNOWN_DIRECTIVE {"Unknown"}
 An unknown directive signature. More...
 
static const EndpointIdentifier alexaClientSDK::alexaRecordController::test::TEST_ENDPOINT_ID {"testEndpointId"}
 The test EndpointId. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::EVENT {"event"}
 Event key. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::MESSAGE_ID_TEST {"MessageId_Test"}
 MessageId for testing. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::DIALOG_REQUEST_ID_TEST {"DialogRequestId_Test"}
 DialogRequestId for testing. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::CORRELATION_TOKEN_TEST {"CorrelationToken_Test"}
 Correlation token for testing. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::TEST_STATE_NOT_RECORDING {"NOT_RECORDING"}
 NOT_RECORDING state string for testing. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::TEST_STATE_RECORDING {"RECORDING"}
 RECORDING state string for testing. More...
 
static const std::string alexaClientSDK::alexaRecordController::test::RECORDINGSTATE_PROPERTY_NAME {"recordingState"}
 The name of recording state property. 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