AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::afml::test::FocusChangeManager Class Reference

Manages testing focus changes. More...

Inheritance diagram for alexaClientSDK::afml::test::FocusChangeManager:
Inheritance graph
[legend]

Public Member Functions

TestClient::testClientInfo getWaitResult (std::shared_ptr< TestClient > client)
 
void assertFocusChange (std::shared_ptr< TestClient > client, FocusState expectedFocusState)
 
void assertNoFocusChange (std::shared_ptr< TestClient > client)
 
void assertMixingBehaviorChange (std::shared_ptr< TestClient > client, MixingBehavior behavior)
 
void assertNoMixingBehaviorChange (std::shared_ptr< TestClient > client)
 
void assertNoMixingBehaviorOrFocusChange (std::shared_ptr< TestClient > client)
 
void assertMixingBehaviorAndFocusChange (std::shared_ptr< TestClient > client, FocusState expectedFocusState, MixingBehavior behavior)
 

Detailed Description

Manages testing focus changes.

Member Function Documentation

◆ assertFocusChange()

void alexaClientSDK::afml::test::FocusChangeManager::assertFocusChange ( std::shared_ptr< TestClient client,
FocusState  expectedFocusState 
)
inline

Checks that a focus change occurred and that the focus state received is the same as the expected focus state.

Parameters
clientThe Channel observer.
expectedFocusStateThe expected focus state.

◆ assertMixingBehaviorAndFocusChange()

void alexaClientSDK::afml::test::FocusChangeManager::assertMixingBehaviorAndFocusChange ( std::shared_ptr< TestClient client,
FocusState  expectedFocusState,
MixingBehavior  behavior 
)
inline

◆ assertMixingBehaviorChange()

void alexaClientSDK::afml::test::FocusChangeManager::assertMixingBehaviorChange ( std::shared_ptr< TestClient client,
MixingBehavior  behavior 
)
inline

◆ assertNoFocusChange()

void alexaClientSDK::afml::test::FocusChangeManager::assertNoFocusChange ( std::shared_ptr< TestClient client)
inline

Checks that a focus change does not occur by waiting for the timeout duration.

Parameters
clientThe Channel observer.

◆ assertNoMixingBehaviorChange()

void alexaClientSDK::afml::test::FocusChangeManager::assertNoMixingBehaviorChange ( std::shared_ptr< TestClient client)
inline

◆ assertNoMixingBehaviorOrFocusChange()

void alexaClientSDK::afml::test::FocusChangeManager::assertNoMixingBehaviorOrFocusChange ( std::shared_ptr< TestClient client)
inline

◆ getWaitResult()

TestClient::testClientInfo alexaClientSDK::afml::test::FocusChangeManager::getWaitResult ( std::shared_ptr< TestClient client)
inline

The documentation for this class was generated from the following file:

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