AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Functions
alexaClientSDK::registrationManager::test Namespace Reference

Classes

class  CustomerDataManagerTest
 
class  MockCustomerDataHandler
 
class  MockRegistrationObserver
 
class  RegistrationManagerTest
 

Functions

 TEST_F (CustomerDataManagerTest, test_createCustomerDataManagerInterface)
 
 TEST_F (CustomerDataManagerTest, test_clearData)
 
 TEST_F (CustomerDataManagerTest, test_clearDataAfterHandlerDeletion)
 
 TEST_F (RegistrationManagerTest, test_createRegistrationManagerInterface)
 
 TEST_F (RegistrationManagerTest, test_logout)
 

Function Documentation

◆ TEST_F() [1/5]

alexaClientSDK::registrationManager::test::TEST_F ( CustomerDataManagerTest  ,
test_createCustomerDataManagerInterface   
)

Test for making sure create succeeds.

◆ TEST_F() [2/5]

alexaClientSDK::registrationManager::test::TEST_F ( CustomerDataManagerTest  ,
test_clearData   
)

Test that all data handlers are cleared.

◆ TEST_F() [3/5]

alexaClientSDK::registrationManager::test::TEST_F ( CustomerDataManagerTest  ,
test_clearDataAfterHandlerDeletion   
)

Test that removing a data handler does not leave any dangling reference inside CustomerDataManager.

◆ TEST_F() [4/5]

alexaClientSDK::registrationManager::test::TEST_F ( RegistrationManagerTest  ,
test_createRegistrationManagerInterface   
)

Tests the createRegistrationManager method with various input combinations.

Null DataManager.

Null Notifier.

Null ConnectionManager.

Null DirectiveSequencer.

Null Metric Recorder

◆ TEST_F() [5/5]

alexaClientSDK::registrationManager::test::TEST_F ( RegistrationManagerTest  ,
test_logout   
)

Test that logout performs all the following actions:

  • disable connection manager
  • disable directive sequencer
  • clear data handler's data
  • notify registration observer

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