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

Classes

class  MockRequiresStartup
 
class  StartupManagerTest
 

Functions

 TEST_F (StartupManagerTest, test_simplestFailureCase)
 
 TEST_F (StartupManagerTest, test_simplestSuccessCase)
 
 TEST_F (StartupManagerTest, test_simpleSuccessCase)
 
 TEST_F (StartupManagerTest, test_complexSuccessCase)
 
 TEST_F (StartupManagerTest, test_simpleFailCase)
 
 TEST_F (StartupManagerTest, test_complexFailureCase)
 

Variables

static auto returnTrue = []() { return true; }
 
static auto returnFalse = []() { return false; }
 

Function Documentation

◆ TEST_F() [1/6]

alexaClientSDK::acsdkStartupManager::test::TEST_F ( StartupManagerTest  ,
test_simplestFailureCase   
)

Verify the simplest failure case - null StartupNotifier.

◆ TEST_F() [2/6]

alexaClientSDK::acsdkStartupManager::test::TEST_F ( StartupManagerTest  ,
test_simplestSuccessCase   
)

Verify the simplest success case - no startup observers.

◆ TEST_F() [3/6]

alexaClientSDK::acsdkStartupManager::test::TEST_F ( StartupManagerTest  ,
test_simpleSuccessCase   
)

Verify the simple success case of notifying an observer of startup and the observer returning true.

◆ TEST_F() [4/6]

alexaClientSDK::acsdkStartupManager::test::TEST_F ( StartupManagerTest  ,
test_complexSuccessCase   
)

Verify the complex success case of notifying multiple observers of startup and the observers returning true.

◆ TEST_F() [5/6]

alexaClientSDK::acsdkStartupManager::test::TEST_F ( StartupManagerTest  ,
test_simpleFailCase   
)

Verify the simple failure case - notifying one observer of startup and the observer returning false.

◆ TEST_F() [6/6]

alexaClientSDK::acsdkStartupManager::test::TEST_F ( StartupManagerTest  ,
test_complexFailureCase   
)

Verify the complex failure case of notifying multiple observers of startup and some of the observers returning false.

Variable Documentation

◆ returnFalse

auto alexaClientSDK::acsdkStartupManager::test::returnFalse = []() { return false; }
static

◆ returnTrue

auto alexaClientSDK::acsdkStartupManager::test::returnTrue = []() { return true; }
static

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