AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions
BluetoothMediaInputTransformerTest.cpp File Reference
#include <memory>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <AVSCommon/SDKInterfaces/MockPlaybackRouter.h>
#include "acsdkBluetooth/BluetoothMediaInputTransformer.h"
Include dependency graph for BluetoothMediaInputTransformerTest.cpp:

Classes

class  alexaClientSDK::acsdkBluetooth::test::MockPlaybackRouter
 
class  alexaClientSDK::acsdkBluetooth::test::BluetoothMediaInputTransformerTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkBluetooth
 
 alexaClientSDK::acsdkBluetooth::test
 

Functions

 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, test_createWithNullParams)
 Test that create() returns a nullptr if called with invalid arguments. More...
 
 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, test_handlePlayCommand)
 Test that a Play AVRCP command is transformed to playButtonPressed(). More...
 
 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, test_handlePauseCommand)
 Test that a Pause AVRCP command is transformed to pauseButtonPressed(). More...
 
 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, test_handleNextCommand)
 Test that a Next AVRCP command is transformed to nextButtonPressed(). More...
 
 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, test_handlePreviousCommand)
 Test that a Previous AVRCP command is transformed to previousButtonPressed(). More...
 
 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, handlePlayPauseCommand)
 Test that a Play/Pause Media command is transformed to playButtonPressed(). More...
 
 alexaClientSDK::acsdkBluetooth::test::TEST_F (BluetoothMediaInputTransformerTest, test_unrelatedEvent)
 Test that an unrelated event does not trigger any calls to the PlaybackRouter. More...
 

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