AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
ChannelVolumeManagerTest.cpp File Reference
#include <memory>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <AVSCommon/SDKInterfaces/MockSpeakerInterface.h>
#include <acsdk/SpeakerManager/private/ChannelVolumeManager.h>
Include dependency graph for ChannelVolumeManagerTest.cpp:

Classes

class  alexaClientSDK::speakerManager::test::ChannelVolumeManagerTest
 Test fixture for ChannelVolumeManager. More...
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::speakerManager
 Speaker API Capability Agent Interface and Implementation.
 
 alexaClientSDK::speakerManager::test
 Unit Tests and Mocks for Speaker API Capability Agent.
 

Functions

static int8_t alexaClientSDK::speakerManager::test::defaultVolumeCurve (int8_t currentVolume)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_createTest)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_startDuckingCallAttenuatesVolume)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_stopDuckingCallRestoresVolume)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_getSpeakerSettingsReturnsUnduckedVolume)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_volumeIsRestoredToLatestUnduckedVolume)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_startDuckingWhenAlreadyDucked)
 
 alexaClientSDK::speakerManager::test::TEST_F (ChannelVolumeManagerTest, test_stopDuckingWhenAlreadyUnducked)
 

Variables

static const SpeakerInterface::SpeakerSettings alexaClientSDK::speakerManager::test::INITIAL_SETTINGS {AVS_SET_VOLUME_MAX / 2, false}
 Initial Settings for underlying SpeakerInterface. 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