AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
CapabilityAgentTest.cpp File Reference
#include <string>
#include <array>
#include <tuple>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "AVSCommon/AVS/CapabilityAgent.h"
#include "AVSCommon/AVS/Attachment/AttachmentManager.h"
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
Include dependency graph for CapabilityAgentTest.cpp:

Classes

class  alexaClientSDK::avsCommon::test::MockResult
 Mock DirectiveHandlerResultInterface implementation. More...
 
class  alexaClientSDK::avsCommon::test::MockCapabilityAgent
 
class  alexaClientSDK::avsCommon::test::CapabilityAgentTest
 

Namespaces

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

Functions

static const std::string alexaClientSDK::avsCommon::test::NAMESPACE_SPEECH_RECOGNIZER ("SpeechRecognizer")
 Namespace for SpeechRecognizer. More...
 
static const std::string alexaClientSDK::avsCommon::test::NAME_STOP_CAPTURE ("StopCapture")
 Name for directive to SpeechRecognizer. More...
 
static const std::string alexaClientSDK::avsCommon::test::NAME_RECOGNIZE ("Recognize")
 Name for SpeechRecognizer state. More...
 
static const std::string alexaClientSDK::avsCommon::test::EVENT ("event")
 Event key. More...
 
static const std::string alexaClientSDK::avsCommon::test::HEADER ("header")
 Header key. More...
 
static const std::string alexaClientSDK::avsCommon::test::MESSAGE_ID ("messageId")
 Message Id key. More...
 
static const std::string alexaClientSDK::avsCommon::test::MESSAGE_ID_TEST ("MessageId_Test")
 Message Id for testing. More...
 
static const std::string alexaClientSDK::avsCommon::test::DIALOG_REQUEST_ID ("dialogRequestId")
 Dialog request Id Key. More...
 
static const std::string alexaClientSDK::avsCommon::test::DIALOG_REQUEST_ID_TEST ("DialogRequestId_Test")
 DialogRequestId for testing. More...
 
static const std::string alexaClientSDK::avsCommon::test::PAYLOAD ("payload")
 Payload key. More...
 
static const std::string alexaClientSDK::avsCommon::test::PAYLOAD_TEST ("payload_Test")
 A speech recognizer payload for testing. More...
 
static const std::string alexaClientSDK::avsCommon::test::EXCEPTION_ENCOUNTERED_STRING ("encountered_exception")
 A string to send with the sendExceptionEncounteredAndReportFailed method. More...
 
bool alexaClientSDK::avsCommon::test::removeMessageId (Document *document, std::string *messageId)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_callToHandleImmediately)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_callToPrehandleDirective)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_callToHandleDirective)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_callToHandleDirectiveWithNoPrehandle)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_callToCancelDirective)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_callToCancelDirectiveWithNoPrehandle)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_withDialogIdAndContext)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_withDialogIdAndNoContext)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_withoutDialogIdOrContext)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_withContextAndNoDialogId)
 
 alexaClientSDK::avsCommon::test::TEST_F (CapabilityAgentTest, test_sendExceptionEncounteredWithNullInfo)
 

Variables

static const std::string alexaClientSDK::avsCommon::test::PAYLOAD_SPEECH_RECOGNIZER
 A payload for testing. More...
 
static const std::string alexaClientSDK::avsCommon::test::CONTEXT_TEST
 A context for testing. More...
 
static const std::tuple< std::string, std::string, std::string > alexaClientSDK::avsCommon::test::testEventWithDialogReqIdAndContext
 
static const std::tuple< std::string, std::string, std::string > alexaClientSDK::avsCommon::test::testEventWithDialogReqIdNoContext
 
static const std::tuple< std::string, std::string, std::string > alexaClientSDK::avsCommon::test::testEventWithoutDialogReqIdOrContext
 
static const std::tuple< std::string, std::string, std::string > alexaClientSDK::avsCommon::test::testEventWithContextAndNoDialogReqId
 

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