AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest Class Reference
Inheritance diagram for alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 
void waitUntilEventSent ()
 
std::shared_ptr< AVSDirectivecreateDirective ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

std::shared_ptr< ReportStateHandlerm_unit
 
std::shared_ptr< registrationManager::CustomerDataManagerInterfacem_customerDataManager
 
std::shared_ptr< MockExceptionEncounteredSenderm_mockExceptionEncounteredSender
 
std::shared_ptr< MockMessageSenderm_mockMessageSender
 
std::shared_ptr<::testing::NiceMock< MockAVSConnectionManager > > m_mockAVSConnectionManager
 
std::shared_ptr< StubMiscStoragem_stubMiscStorage
 
std::vector< StateReportGeneratorgenerators
 
std::shared_ptr< AttachmentManagerm_attachmentManager
 
std::unique_ptr< MockDirectiveHandlerResultm_mockDirectiveHandlerResult
 
std::mutex m_mutex
 
std::condition_variable m_condition
 
bool m_directiveCompleted = false
 
bool m_eventSent = false
 
std::string m_eventJson
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- 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)
 

Member Function Documentation

◆ createDirective()

std::shared_ptr<AVSDirective> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::createDirective ( )
inlineprotected

◆ SetUp()

void alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

◆ waitUntilEventSent()

void alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::waitUntilEventSent ( )
inlineprotected

Member Data Documentation

◆ generators

std::vector<StateReportGenerator> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::generators
protected

◆ m_attachmentManager

std::shared_ptr<AttachmentManager> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_attachmentManager
protected

◆ m_condition

std::condition_variable alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_condition
protected

◆ m_customerDataManager

std::shared_ptr<registrationManager::CustomerDataManagerInterface> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_customerDataManager
protected

◆ m_directiveCompleted

bool alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_directiveCompleted = false
protected

◆ m_eventJson

std::string alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_eventJson
protected

◆ m_eventSent

bool alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_eventSent = false
protected

◆ m_mockAVSConnectionManager

std::shared_ptr<::testing::NiceMock<MockAVSConnectionManager> > alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_mockAVSConnectionManager
protected

◆ m_mockDirectiveHandlerResult

std::unique_ptr<MockDirectiveHandlerResult> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_mockDirectiveHandlerResult
protected

◆ m_mockExceptionEncounteredSender

std::shared_ptr<MockExceptionEncounteredSender> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_mockExceptionEncounteredSender
protected

◆ m_mockMessageSender

std::shared_ptr<MockMessageSender> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_mockMessageSender
protected

◆ m_mutex

std::mutex alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_mutex
protected

◆ m_stubMiscStorage

std::shared_ptr<StubMiscStorage> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_stubMiscStorage
protected

◆ m_unit

std::shared_ptr<ReportStateHandler> alexaClientSDK::capabilityAgents::system::test::ReportStateHandlerTest::m_unit
protected

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

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