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

Classes

class  MockRequiresShutdown
 
class  RequiresShutdownHelper
 
class  ShutdownManagerTest
 

Functions

 TEST_F (ShutdownManagerTest, test_simplestFailureCase)
 
 TEST_F (ShutdownManagerTest, test_simplestSuccessCase)
 
 TEST_F (ShutdownManagerTest, test_simpleSuccessCase)
 
 TEST_F (ShutdownManagerTest, test_simpleFailureCase)
 

Function Documentation

◆ TEST_F() [1/4]

alexaClientSDK::acsdkShutdownManager::test::TEST_F ( ShutdownManagerTest  ,
test_simplestFailureCase   
)

Verify the simplest failure case - null ShutdownNotifier.

◆ TEST_F() [2/4]

alexaClientSDK::acsdkShutdownManager::test::TEST_F ( ShutdownManagerTest  ,
test_simplestSuccessCase   
)

Verify the simplest success case - no registered instances of RequiresShutdown.

◆ TEST_F() [3/4]

alexaClientSDK::acsdkShutdownManager::test::TEST_F ( ShutdownManagerTest  ,
test_simpleSuccessCase   
)

Verify the simple success case - multiple RequiresShutdown instances added and called in the reverse of the order that they were added.

◆ TEST_F() [4/4]

alexaClientSDK::acsdkShutdownManager::test::TEST_F ( ShutdownManagerTest  ,
test_simpleFailureCase   
)

Verify the failure case - RequiresStartup instance added after shutdown started.

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