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::registrationManager::test::RegistrationManagerTest Class Reference
Inheritance diagram for alexaClientSDK::registrationManager::test::RegistrationManagerTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::registrationManager::test::RegistrationManagerTest:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

std::shared_ptr< RegistrationNotifierInterfacem_notifier
 Used to notify logout to observers. More...
 
std::shared_ptr< MockDirectiveSequencerm_directiveSequencer
 Used to check if logout disabled the directive sequencer. More...
 
std::shared_ptr< MockAVSConnectionManagerm_avsConnectionManager
 Connection manager used during logout. More...
 
std::unique_ptr< MockCustomerDataHandlerm_dataHandler
 Mock data handler to ensure that clearData() method is called during logout. More...
 
std::shared_ptr< CustomerDataManager > m_dataManager
 Data manager is used to call clearData() on every dataHandler. More...
 
std::shared_ptr< RegistrationManagerInterfacem_registrationManager
 Object under test. It is responsible for implementing logout. More...
 
std::shared_ptr< MockRegistrationObserverm_registrationObserver
 Mock registration observer used to check if RegistrationObserver is notified after logout. More...
 
std::shared_ptr< MockMetricRecorderm_metricRecorder
 Mock Metrics recorder. More...
 

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)
 

Detailed Description

Test harness for RegistrationManager.

Member Function Documentation

◆ SetUp()

void alexaClientSDK::registrationManager::test::RegistrationManagerTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

◆ TearDown()

void alexaClientSDK::registrationManager::test::RegistrationManagerTest::TearDown ( )
inlineoverrideprotectedvirtual

Reimplemented from testing::Test.

Member Data Documentation

◆ m_avsConnectionManager

std::shared_ptr<MockAVSConnectionManager> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_avsConnectionManager
protected

Connection manager used during logout.

◆ m_dataHandler

std::unique_ptr<MockCustomerDataHandler> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_dataHandler
protected

Mock data handler to ensure that clearData() method is called during logout.

◆ m_dataManager

std::shared_ptr<CustomerDataManager> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_dataManager
protected

Data manager is used to call clearData() on every dataHandler.

◆ m_directiveSequencer

std::shared_ptr<MockDirectiveSequencer> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_directiveSequencer
protected

Used to check if logout disabled the directive sequencer.

◆ m_metricRecorder

std::shared_ptr<MockMetricRecorder> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_metricRecorder
protected

Mock Metrics recorder.

◆ m_notifier

std::shared_ptr<RegistrationNotifierInterface> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_notifier
protected

Used to notify logout to observers.

◆ m_registrationManager

std::shared_ptr<RegistrationManagerInterface> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_registrationManager
protected

Object under test. It is responsible for implementing logout.

◆ m_registrationObserver

std::shared_ptr<MockRegistrationObserver> alexaClientSDK::registrationManager::test::RegistrationManagerTest::m_registrationObserver
protected

Mock registration observer used to check if RegistrationObserver is notified after logout.


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