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

Test fixture for testing Channel. More...

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

Classes

struct  ActivityUpdateElem
 

Protected Member Functions

virtual void SetUp ()
 
void checkActivityUpdates (std::shared_ptr< Channel > channel, std::vector< ActivityUpdateElem > &incoming)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

std::shared_ptr< TestClientclientA
 observer A for the Content MultiActivity Channel More...
 
std::shared_ptr< TestClientclientB
 observer B for the Content MultiActivity Channel More...
 
std::shared_ptr< TestClientclientC
 observer C for the Content MultiActivity Channel More...
 
std::shared_ptr< ChanneltestChannel
 A test Channel. More...
 
std::shared_ptr< ChannelcontentChannel
 Content Channel. More...
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- 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)
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 

Detailed Description

Test fixture for testing Channel.

Member Function Documentation

◆ checkActivityUpdates()

void alexaClientSDK::afml::test::ChannelTest::checkActivityUpdates ( std::shared_ptr< Channel channel,
std::vector< ActivityUpdateElem > &  incoming 
)
inlineprotected

◆ SetUp()

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

Reimplemented from testing::Test.

Member Data Documentation

◆ clientA

std::shared_ptr<TestClient> alexaClientSDK::afml::test::ChannelTest::clientA
protected

observer A for the Content MultiActivity Channel

◆ clientB

std::shared_ptr<TestClient> alexaClientSDK::afml::test::ChannelTest::clientB
protected

observer B for the Content MultiActivity Channel

◆ clientC

std::shared_ptr<TestClient> alexaClientSDK::afml::test::ChannelTest::clientC
protected

observer C for the Content MultiActivity Channel

◆ contentChannel

std::shared_ptr<Channel> alexaClientSDK::afml::test::ChannelTest::contentChannel
protected

Content Channel.

◆ testChannel

std::shared_ptr<Channel> alexaClientSDK::afml::test::ChannelTest::testChannel
protected

A test Channel.


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

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