AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
InMemoryEqualizerConfigurationTest.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <list>
#include <memory>
#include "acsdkEqualizerImplementations/InMemoryEqualizerConfiguration.h"
Include dependency graph for InMemoryEqualizerConfigurationTest.cpp:

Classes

class  alexaClientSDK::acsdkEqualizer::test::InMemoryEqualizerConfigurationTest
 

Namespaces

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

Functions

 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedValidParameters_createInstance_shouldSucceed)
 Simple successful case. More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedInvalidLevelRange_createInstance_shouldFail)
 Min level > Max level. More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedInvalidBandDelta_createInstance_shouldFail)
 adjust delta of 0 More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedMixMaxLevelSetToDefault_createInstance_shouldSucceed)
 Min and Max are equal (DEFAULT_LEVEL), must succeed. More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedSameNonDefaultMixMaxLevel_createInstance_shouldSucceed)
 Min and Max are equal (non-DEFAULT_LEVEL), must fail because all modes use DEFAULT_LEVEL as band levels. More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedDefaultStateLevelAboveMax_createInstance_shouldFail)
 Invalid band value in default state (above max) More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedDefaultStateLevelBelowMin_createInstance_shouldFail)
 Invalid band value in default state (below min) More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedDefaultStateLevelBelowMinDifferentBand_createInstance_shouldFail)
 Invalid band value in default state (below min, another band) More...
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedNoModes_createInstance_shouldSucceed)
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedSupportedModeInDefaultState_createInstance_shouldSucceed)
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedUnsupportedModeInDefaultState_createInstance_shouldFail)
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedNONEModeAsSupported_createInstance_shouldSucceed)
 
 alexaClientSDK::acsdkEqualizer::test::TEST_F (InMemoryEqualizerConfigurationTest, test_providedValidConfiguration_isSupportedMethods_shouldSucceed)
 

Variables

static constexpr int alexaClientSDK::acsdkEqualizer::test::MIN_LEVEL = -6
 Band level used as a minimum . More...
 
static constexpr int alexaClientSDK::acsdkEqualizer::test::MAX_LEVEL = 6
 Band level used as a maximum. More...
 
static constexpr int alexaClientSDK::acsdkEqualizer::test::DEFAULT_ADJUST_DELTA = 1
 Default value to adjust band level. More...
 
static constexpr int alexaClientSDK::acsdkEqualizer::test::BELOW_MIN_LEVEL = MIN_LEVEL - 100
 Band level below minimum value. More...
 
static constexpr int alexaClientSDK::acsdkEqualizer::test::ABOVE_MAX_LEVEL = MAX_LEVEL + 100
 Band level above maximum value. More...
 
static constexpr int alexaClientSDK::acsdkEqualizer::test::DEFAULT_LEVEL = 0
 Band level used as a default. 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