AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Typedefs | Functions | Variables
AlexaLauncherCapabilityAgentTest.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "acsdkAlexaLauncher/AlexaLauncherCapabilityAgent.h"
#include "acsdkAlexaLauncherInterfaces/AlexaLauncherInterface.h"
#include "acsdkAlexaLauncherInterfaces/AlexaLauncherObserverInterface.h"
#include "AVSCommon/AVS/Attachment/MockAttachmentManager.h"
#include "AVSCommon/SDKInterfaces/MockContextManager.h"
#include "AVSCommon/SDKInterfaces/MockDirectiveHandlerResult.h"
#include "AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h"
#include "AVSCommon/SDKInterfaces/MockAlexaInterfaceMessageSender.h"
#include <AVSCommon/Utils/Memory/Memory.h>
#include <AVSCommon/Utils/Timing/TimePoint.h>
#include <AVSCommon/Utils/WaitEvent.h>
Include dependency graph for AlexaLauncherCapabilityAgentTest.cpp:

Classes

class  alexaClientSDK::acsdkAlexaLauncher::test::MockAlexaLauncherInterface
 
class  alexaClientSDK::acsdkAlexaLauncher::test::AlexaLauncherCapabilityAgentTest
 

Namespaces

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

Typedefs

using alexaClientSDK::acsdkAlexaLauncher::test::EndpointIdentifier = endpoints::EndpointIdentifier
 

Functions

static std::chrono::milliseconds alexaClientSDK::acsdkAlexaLauncher::test::TIMEOUT (1000)
 Timeout when waiting for futures to be set. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::TIME_OF_SAMPLE_TEST ("2017-02-03T16:20:50.523Z")
 Time of sample used for testing. More...
 
static const avsCommon::sdkInterfaces::endpoints::EndpointIdentifier alexaClientSDK::acsdkAlexaLauncher::test::TEST_ENDPOINT_ID ("testEndpointId")
 The test EndpointId. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::EVENT ("event")
 Event key. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::MESSAGE_ID_TEST ("MessageId_Test")
 MessageId for testing. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::DIALOG_REQUEST_ID_TEST ("DialogRequestId_Test")
 DialogRequestId for testing. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::CORRELATION_TOKEN_TEST ("CorrelationToken_Test")
 Correlation token for testing. More...
 
std::shared_ptr< AVSDirective > alexaClientSDK::acsdkAlexaLauncher::test::buildAVSDirective (std::string directiveName, std::string payload)
 
 alexaClientSDK::acsdkAlexaLauncher::test::TEST_F (AlexaLauncherCapabilityAgentTest, test_givenInvalidParameters_create_shouldFail)
 Test that create() returns a nullptr if called with invalid arguments. More...
 
 alexaClientSDK::acsdkAlexaLauncher::test::TEST_F (AlexaLauncherCapabilityAgentTest, test_launchTargetDirective_successCase)
 
 alexaClientSDK::acsdkAlexaLauncher::test::TEST_F (AlexaLauncherCapabilityAgentTest, test_launchTargetDirective_errorCase)
 
 alexaClientSDK::acsdkAlexaLauncher::test::TEST_F (AlexaLauncherCapabilityAgentTest, test_unknownDirective)
 

Variables

static const std::string alexaClientSDK::acsdkAlexaLauncher::test::NAMESPACE {"Alexa.Launcher"}
 The namespace for capability agent. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::INTERFACE_VERSION {"3"}
 The supported version. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::NAME_LAUNCHTARGET {"LaunchTarget"}
 The name for LaunchTarget directive. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::UNKNOWN_DIRECTIVE {"Unknown"}
 An unknown directive signature. More...
 
static const std::string alexaClientSDK::acsdkAlexaLauncher::test::LAUNCH_TARGET_PAYLOD
 

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