AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::avsCommon::test::CapabilityAgentTest Class Reference
Inheritance diagram for alexaClientSDK::avsCommon::test::CapabilityAgentTest:
Inheritance graph
Collaboration diagram for alexaClientSDK::avsCommon::test::CapabilityAgentTest:
Collaboration graph

Public Member Functions

void testBuildJsonEventString (std::tuple< std::string, std::string, std::string > testTuple, bool dialogRequestIdPresent)
void SetUp () override
- Public Member Functions inherited from testing::Test
virtual ~Test ()

Public Attributes

std::shared_ptr< MockCapabilityAgentm_capabilityAgent
std::shared_ptr< AttachmentManagerm_attachmentManager
std::shared_ptr< MockExceptionEncounteredSenderm_exceptionSender

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
static void TearDownTestCase ()
static bool HasFatalFailure ()
static bool HasNonfatalFailure ()
static bool HasFailure ()
static void RecordProperty (const std::string &key, const std::string &value)
static void RecordProperty (const std::string &key, int value)
- Protected Member Functions inherited from testing::Test
 Test ()
virtual void TearDown ()

Member Function Documentation

◆ SetUp()

void alexaClientSDK::avsCommon::test::CapabilityAgentTest::SetUp ( )

Reimplemented from testing::Test.

◆ testBuildJsonEventString()

void alexaClientSDK::avsCommon::test::CapabilityAgentTest::testBuildJsonEventString ( std::tuple< std::string, std::string, std::string >  testTuple,
bool  dialogRequestIdPresent 

Tests the buildJsonEventString functionality. Calls buildJsonEventString and compares it to the test string. Assert if the strings are not equal.

testTupleA tuple of test string, dialogRequestId and context.
dialogRequestIdPresentWhether a dialogRequestId is expected or not. This helps decide which parts of the string to compare.

Member Data Documentation

◆ m_attachmentManager

std::shared_ptr<AttachmentManager> alexaClientSDK::avsCommon::test::CapabilityAgentTest::m_attachmentManager

◆ m_capabilityAgent

std::shared_ptr<MockCapabilityAgent> alexaClientSDK::avsCommon::test::CapabilityAgentTest::m_capabilityAgent

◆ m_exceptionSender

std::shared_ptr<MockExceptionEncounteredSender> alexaClientSDK::avsCommon::test::CapabilityAgentTest::m_exceptionSender

The documentation for this class was generated from the following file:

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