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

#include <MockSpeakerInterface.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::test::MockSpeakerInterface:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::sdkInterfaces::test::MockSpeakerInterface:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD1 (setVolume, bool(int8_t))
 
 MOCK_METHOD1 (setMute, bool(bool))
 
 MOCK_METHOD1 (getSpeakerSettings, bool(SpeakerInterface::SpeakerSettings *))
 
void DelegateToReal ()
 Delegate call from Mock Speaker object to an object with actual implementation. More...
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::SpeakerInterface
virtual bool setVolume (int8_t volume)=0
 
virtual bool setMute (bool mute)=0
 
virtual bool getSpeakerSettings (SpeakerSettings *settings)=0
 
virtual ~SpeakerInterface ()=default
 

Member Function Documentation

◆ DelegateToReal()

void alexaClientSDK::avsCommon::sdkInterfaces::test::MockSpeakerInterface::DelegateToReal ( )
inline

Delegate call from Mock Speaker object to an object with actual implementation.

◆ MOCK_METHOD1() [1/3]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockSpeakerInterface::MOCK_METHOD1 ( setVolume  ,
bool(int8_t)   
)

◆ MOCK_METHOD1() [2/3]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockSpeakerInterface::MOCK_METHOD1 ( setMute  ,
bool(bool)   
)

◆ MOCK_METHOD1() [3/3]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockSpeakerInterface::MOCK_METHOD1 ( getSpeakerSettings  ,
bool(SpeakerInterface::SpeakerSettings *)   
)

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