AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest Class Reference
Inheritance diagram for alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest:
Collaboration graph
[legend]

Public Member Functions

void SetUp () override
 
void TearDown () override
 
void connect ()
 
void disconnect ()
 
void sendEvent (const std::string &jsonContent, avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status expectedStatus, std::chrono::seconds timeout, std::shared_ptr< avsCommon::avs::attachment::AttachmentReader > attachmentReader=nullptr)
 
std::shared_ptr< InProcessAttachmentReadercreateAttachmentReader (const std::string &fileName)
 
void sendSynchronizeStateEvent ()
 

Public Attributes

std::unique_ptr< ACLTestContextm_context
 Context for running ACL based tests. More...
 
std::shared_ptr< ClientMessageHandlerm_clientMessageHandler
 
std::shared_ptr< AVSConnectionManagerm_avsConnectionManager
 

Member Function Documentation

◆ connect()

void alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::connect ( )
inline

◆ createAttachmentReader()

std::shared_ptr<InProcessAttachmentReader> alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::createAttachmentReader ( const std::string &  fileName)
inline

Function to create an attachmentReader given a filename.

◆ disconnect()

void alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::disconnect ( )
inline

◆ sendEvent()

void alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::sendEvent ( const std::string &  jsonContent,
avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status  expectedStatus,
std::chrono::seconds  timeout,
std::shared_ptr< avsCommon::avs::attachment::AttachmentReader attachmentReader = nullptr 
)
inline

◆ sendSynchronizeStateEvent()

void alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::sendSynchronizeStateEvent ( )
inline

Sends a SynchronizeState Event to AVS.

◆ SetUp()

void alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::SetUp ( )
inlineoverride

◆ TearDown()

void alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::TearDown ( )
inlineoverride

Member Data Documentation

◆ m_avsConnectionManager

std::shared_ptr<AVSConnectionManager> alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::m_avsConnectionManager

◆ m_clientMessageHandler

std::shared_ptr<ClientMessageHandler> alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::m_clientMessageHandler

◆ m_context

std::unique_ptr<ACLTestContext> alexaClientSDK::integration::test::AlexaCommunicationsLibraryTest::m_context

Context for running ACL based tests.


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

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