AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
InteractionModelCapabilityAgentTest.cpp File Reference
#include <condition_variable>
#include <iterator>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <acsdkInteractionModelInterfaces/InteractionModelRequestProcessingObserverInterface.h>
#include <AVSCommon/SDKInterfaces/MockDirectiveSequencer.h>
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
#include <AVSCommon/SDKInterfaces/Endpoints/MockEndpointCapabilitiesRegistrar.h>
#include "acsdkInteractionModel/InteractionModelCapabilityAgent.h"
#include "acsdkInteractionModel/InteractionModelNotifier.h"
Include dependency graph for InteractionModelCapabilityAgentTest.cpp:

Classes

class  alexaClientSDK::acsdkInteractionModel::test::InteractionModelCapabilityAgentWrapper
 A wrapper for InteractionModelCapabilityAgent for easy testing. More...
 
class  alexaClientSDK::acsdkInteractionModel::test::InteractionModelCapabilityAgentTest
 Test harness for InteractionModelCapabilityAgent class. More...
 
class  alexaClientSDK::acsdkInteractionModel::test::MockObserver
 

Namespaces

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

Functions

 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_createNoDirectiveSequencer)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_createNoExceptionHandler)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_createNoNotifier)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_createNoEndpointCapabilitiesRegistrar)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_processNewDialogRequestID)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_preHandledNewDialogRequestID)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_preHandledRequestProcessingStarted)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_preHandledNullNewDialogRequestID)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_handledNewDialogRequestID)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_processNullDirective)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_processInvalidDirective)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_addObserverRPS)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_addObserverRPC)
 
 alexaClientSDK::acsdkInteractionModel::test::TEST_F (InteractionModelCapabilityAgentTest, test_removeObserver)
 

Variables

const std::string alexaClientSDK::acsdkInteractionModel::test::TEST_DIALOG_REQUEST_AVS = "2"
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::CORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING
 A sample Directive JSON string for the purposes of creating an AVSDirective object. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::CORRECT_REQUEST_PROCESSING_STARTED_DIRECTIVE_JSON_STRING
 A sample Directive JSON string for the purposes of creating an AVSDirective object. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_1
 An invalid NewDialogRequest directive with an incorrect name. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_2
 An invalid NewDialogRequest directive with no payload. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_3
 An invalid NewDialogRequest with invalid dialogRequestID format. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::INCORRECT_NEW_DIALOG_REQUEST_DIRECTIVE_JSON_STRING_4
 An invalid NewDialogRequest with empty dialogRequestID format. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::RPS_DIRECTIVE_JSON_STRING
 A sample RPS Directive JSON string for the purposes of creating an AVSDirective object. More...
 
static const std::string alexaClientSDK::acsdkInteractionModel::test::RPC_DIRECTIVE_JSON_STRING
 A sample RPC Directive JSON string for the purposes of creating an AVSDirective object. More...
 
std::chrono::milliseconds alexaClientSDK::acsdkInteractionModel::test::TIMEOUT {500}
 

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