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

Test fixture for testing FocusManager. More...

Inheritance diagram for alexaClientSDK::afml::test::FocusManagerTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::afml::test::FocusManagerTest:
Collaboration graph
[legend]

Protected Member Functions

ConfigurationNode generateInterruptModelConfig ()
 
virtual void SetUp ()
 
bool acquireChannelHelper (std::shared_ptr< TestClient > client, ContentType contentType=ContentType::NONMIXABLE, std::chrono::milliseconds patience=std::chrono::milliseconds(0))
 

Protected Attributes

std::shared_ptr< FocusManagerm_focusManager
 The FocusManager. More...
 
std::shared_ptr< TestClientdialogClient
 A client that acquires the dialog Channel. More...
 
std::shared_ptr< TestClientanotherDialogClient
 Another client that acquires the dialog Channel. More...
 
std::shared_ptr< TestClientalertsClient
 A client that acquires the alerts Channel. More...
 
std::shared_ptr< TestClientcontentClient
 A client that acquires the content Channel. More...
 
std::shared_ptr< TestClientanotherContentClient
 A client that acquires the content Channel. More...
 
std::shared_ptr< TestClientvirtualClient
 A client that acquires the virtual Channel. More...
 
std::shared_ptr< MockActivityTrackerInterfacem_activityTracker
 Mock Activity Tracker. More...
 
std::shared_ptr< interruptModel::InterruptModelm_interruptModel
 Interrupt Model. More...
 

Additional Inherited Members

- Public Member Functions inherited from alexaClientSDK::afml::test::FocusChangeManager
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

Test fixture for testing FocusManager.

Member Function Documentation

◆ acquireChannelHelper()

bool alexaClientSDK::afml::test::FocusManagerTest::acquireChannelHelper ( std::shared_ptr< TestClient client,
ContentType  contentType = ContentType::NONMIXABLE,
std::chrono::milliseconds  patience = std::chrono::milliseconds(0) 
)
inlineprotected

◆ generateInterruptModelConfig()

ConfigurationNode alexaClientSDK::afml::test::FocusManagerTest::generateInterruptModelConfig ( )
inlineprotected

◆ SetUp()

virtual void alexaClientSDK::afml::test::FocusManagerTest::SetUp ( )
inlineprotectedvirtual

Member Data Documentation

◆ alertsClient

std::shared_ptr<TestClient> alexaClientSDK::afml::test::FocusManagerTest::alertsClient
protected

A client that acquires the alerts Channel.

◆ anotherContentClient

std::shared_ptr<TestClient> alexaClientSDK::afml::test::FocusManagerTest::anotherContentClient
protected

A client that acquires the content Channel.

◆ anotherDialogClient

std::shared_ptr<TestClient> alexaClientSDK::afml::test::FocusManagerTest::anotherDialogClient
protected

Another client that acquires the dialog Channel.

◆ contentClient

std::shared_ptr<TestClient> alexaClientSDK::afml::test::FocusManagerTest::contentClient
protected

A client that acquires the content Channel.

◆ dialogClient

std::shared_ptr<TestClient> alexaClientSDK::afml::test::FocusManagerTest::dialogClient
protected

A client that acquires the dialog Channel.

◆ m_activityTracker

std::shared_ptr<MockActivityTrackerInterface> alexaClientSDK::afml::test::FocusManagerTest::m_activityTracker
protected

Mock Activity Tracker.

◆ m_focusManager

std::shared_ptr<FocusManager> alexaClientSDK::afml::test::FocusManagerTest::m_focusManager
protected

◆ m_interruptModel

std::shared_ptr<interruptModel::InterruptModel> alexaClientSDK::afml::test::FocusManagerTest::m_interruptModel
protected

Interrupt Model.

◆ virtualClient

std::shared_ptr<TestClient> alexaClientSDK::afml::test::FocusManagerTest::virtualClient
protected

A client that acquires the virtual Channel.


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

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