AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest Class Reference
Inheritance diagram for alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 
std::shared_ptr< std::stringstream > createStream ()
 
void TearDown () override
 

Protected Attributes

std::shared_ptr< AndroidSLESMediaPlayerm_player
 We need to instantiate a player in order to use AMedia* functionalitites. More...
 
std::shared_ptr< MockAttachmentReaderm_reader
 Mock the attachment reader. More...
 
std::shared_ptr< MockObserverm_observer
 Mock a media player observer. More...
 
std::shared_ptr< AndroidSLESEnginem_engine
 Keep a pointer to the engine. More...
 

Detailed Description

Test class for AndroidSLESMediaPlayer

Member Function Documentation

◆ createStream()

std::shared_ptr<std::stringstream> alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::createStream ( )
inlineprotected

◆ SetUp()

void alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ m_engine

std::shared_ptr<AndroidSLESEngine> alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::m_engine
protected

Keep a pointer to the engine.

◆ m_observer

std::shared_ptr<MockObserver> alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::m_observer
protected

Mock a media player observer.

◆ m_player

std::shared_ptr<AndroidSLESMediaPlayer> alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::m_player
protected

We need to instantiate a player in order to use AMedia* functionalitites.

◆ m_reader

std::shared_ptr<MockAttachmentReader> alexaClientSDK::mediaPlayer::android::test::AndroidSLESMediaPlayerTest::m_reader
protected

Mock the attachment reader.


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