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

#include <EqualizerStorageInterfaceTest.h>

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

Public Member Functions

void SetUp () override
 SetUp before each test case. More...
 

Protected Attributes

std::shared_ptr< avsCommon::sdkInterfaces::audio::EqualizerStorageInterfacem_storage = nullptr
 

Detailed Description

EqualizerStorageInterface tests.

Usage: Go to the folder with the tests for your component. Append additional parameter "SDKInterfacesTests" (with quotes) to "discover_unit_tests()" CMake directive in CMakeLists.txt file. In *Test.cpp file in a global scope add the following line: INSTANTIATE_TEST_CASE_P(<TestSequenceName>, EqualizerStorageInterfaceTest, ::testing::Values(<FactoryList>)); Where: <TestSequenceName> is a test group's name you want to use. Without quotes. Example: MyEQTests <FactoryList> is a comma-separated list of EqualizerStorageInterfaceFactory instances, one for each implementation you want to test.

See example in EqualizerImplementations/test/MiscDBEqualizerStorageTest.cpp

Member Function Documentation

◆ SetUp()

void alexaClientSDK::avsCommon::sdkInterfaces::audio::test::EqualizerStorageInterfaceTest::SetUp ( )
override

SetUp before each test case.

Member Data Documentation

◆ m_storage

std::shared_ptr<avsCommon::sdkInterfaces::audio::EqualizerStorageInterface> alexaClientSDK::avsCommon::sdkInterfaces::audio::test::EqualizerStorageInterfaceTest::m_storage = nullptr
protected

Instance of the EqualizerStorageInterface being tested.


The documentation for this class was generated from the following files:

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