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

#include <EqualizerStorageInterfaceTest.h>

Inheritance diagram for alexaClientSDK::acsdkEqualizerInterfaces::test::EqualizerStorageInterfaceTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkEqualizerInterfaces::test::EqualizerStorageInterfaceTest:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

std::shared_ptr< acsdkEqualizerInterfaces::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::acsdkEqualizerInterfaces::test::EqualizerStorageInterfaceTest::SetUp ( )
override

SetUp before each test case.

Member Data Documentation

◆ m_storage

std::shared_ptr<acsdkEqualizerInterfaces::EqualizerStorageInterface> alexaClientSDK::acsdkEqualizerInterfaces::test::EqualizerStorageInterfaceTest::m_storage = nullptr
protected

Instance of the EqualizerStorageInterface being tested.


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