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

Classes

struct  Annotation1
 
struct  Annotation2
 
struct  MockComponent
 
struct  MockComponent2
 
class  MockFeatureBuilderNoReqs
 
class  MockFeatureBuilderTwoReqs
 
class  MockFeatureNoReqs
 Mock feature. More...
 
class  MockFeatureTwoReqs
 
class  SDKClientRegistryTest
 Test harness for TemplateRuntime class. More...
 

Functions

 TEST_F (SDKClientRegistryTest, test_buildSimpleClient)
 
 TEST_F (SDKClientRegistryTest, test_addNullFeature)
 
 TEST_F (SDKClientRegistryTest, test_buildSimpleClientConstructionFailure)
 
 TEST_F (SDKClientRegistryTest, test_buildSimpleClientConfigurationFailure)
 
 TEST_F (SDKClientRegistryTest, test_buildDependentClient)
 
 TEST_F (SDKClientRegistryTest, test_buildDependentClientReversedOrder)
 
 TEST_F (SDKClientRegistryTest, test_buildDependentClientUnsatisfied)
 
 TEST_F (SDKClientRegistryTest, test_getComponent)
 
 TEST_F (SDKClientRegistryTest, test_getClient)
 
 TEST_F (SDKClientRegistryTest, test_annotatedComponent)
 
 TEST_F (SDKClientRegistryTest, test_duplicateClient)
 
 TEST_F (SDKClientRegistryTest, test_duplicateComponent)
 
 TEST_F (SDKClientRegistryTest, test_addFeature)
 
 TEST_F (SDKClientRegistryTest, test_addFeaturesRequirementsUnsatisfied)
 
 TEST_F (SDKClientRegistryTest, test_shutdown)
 

Function Documentation

◆ TEST_F() [1/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_buildSimpleClient   
)

Tests that an SDKClientRegistry can be constructed using the SDKClientBuilder

◆ TEST_F() [2/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_addNullFeature   
)

Tests the SDKClientBuilder does not add a null feature

◆ TEST_F() [3/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_buildSimpleClientConstructionFailure   
)

Tests that the builder fails if construction of a dependency fails

◆ TEST_F() [4/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_buildSimpleClientConfigurationFailure   
)

Tests that the builder fails if configuration of a dependency fails

◆ TEST_F() [5/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_buildDependentClient   
)

Tests that an SDKClientRegistry successfully resolves dependencies

◆ TEST_F() [6/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_buildDependentClientReversedOrder   
)

Tests that an SDKClientRegistry successfully resolves dependencies when they are added in a different order

◆ TEST_F() [7/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_buildDependentClientUnsatisfied   
)

Tests that an SDKClientRegistry is not returned if a dependency is unsatisfied

◆ TEST_F() [8/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_getComponent   
)

Test that a component can be retrieved

◆ TEST_F() [9/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_getClient   
)

Test that a client can be retrieved

◆ TEST_F() [10/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_annotatedComponent   
)

Test that annotated components function correctly

◆ TEST_F() [11/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_duplicateClient   
)

Test that duplicate clients are not registered

◆ TEST_F() [12/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_duplicateComponent   
)

Test that duplicate components are not registered

◆ TEST_F() [13/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_addFeature   
)

Test that a client can be registered post build

◆ TEST_F() [14/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_addFeaturesRequirementsUnsatisfied   
)

Test that attempting to add a feature post build fails if the requirements are unsatisfied

◆ TEST_F() [15/15]

alexaClientSDK::sdkClient::test::TEST_F ( SDKClientRegistryTest  ,
test_shutdown   
)

Tests that clients are shutdown in reverse order of construction

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