AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest Class Reference
Inheritance diagram for alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest:
Collaboration graph
[legend]

Public Member Functions

void SetUp () override
 
void TearDown () override
 
bool validatePropertyValue (const std::string &propertyKey, const std::string &expectedValue)
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Public Attributes

std::shared_ptr< DevicePropertyAggregatorm_devicePropertyAggregator
 The DevicePropertyAggregator to test. More...
 
SpeakerInterface::SpeakerSettings m_avsVolumeSetting
 The SpeakerSettings for AVS Volume. More...
 
SpeakerInterface::SpeakerSettings m_alertsVolumeSetting
 The SpeakerSettings for Alerts Voume. More...
 
std::shared_ptr< MockContextManagerm_mockContextManager
 The mock ContextManager. More...
 
std::shared_ptr< MockSpeakerManagerm_mockSpeakerManager
 The mock SpeakerManager. More...
 
std::thread m_mockContextMangerThread
 The thread to process the ContextManager requests on. More...
 
std::shared_ptr< settings::DeviceSettingsManagerm_deviceSettingsManager
 The SettingsManager. More...
 
std::shared_ptr< SettingStub< settings::DoNotDisturbSetting ::ValueType > > m_DNDSetting
 The SettingStub for the DoNotDisturb setting. More...
 
int m_propertyMapSizeBeforeDeviceSetting
 The nummber of values in the propertyMap before adding device settings. More...
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Member Function Documentation

◆ SetUp()

void alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::SetUp ( )
overridevirtual

Reimplemented from testing::Test.

◆ TearDown()

void alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::TearDown ( )
overridevirtual

Reimplemented from testing::Test.

◆ validatePropertyValue()

bool alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::validatePropertyValue ( const std::string &  propertyKey,
const std::string &  expectedValue 
)

Validates if the value in the DevicePropertyAggregator is same as the expected value.

Parameters
propertyKeyThe key of the property to validate.
expectedValueThe expected value to compare against.
Returns
true if property value is equal to the expected value, false otherwise.

Member Data Documentation

◆ m_alertsVolumeSetting

SpeakerInterface::SpeakerSettings alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_alertsVolumeSetting

The SpeakerSettings for Alerts Voume.

◆ m_avsVolumeSetting

SpeakerInterface::SpeakerSettings alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_avsVolumeSetting

The SpeakerSettings for AVS Volume.

◆ m_devicePropertyAggregator

std::shared_ptr<DevicePropertyAggregator> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_devicePropertyAggregator

◆ m_deviceSettingsManager

std::shared_ptr<settings::DeviceSettingsManager> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_deviceSettingsManager

The SettingsManager.

◆ m_DNDSetting

std::shared_ptr<SettingStub<settings::DoNotDisturbSetting ::ValueType> > alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_DNDSetting

The SettingStub for the DoNotDisturb setting.

◆ m_mockContextManager

std::shared_ptr<MockContextManager> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_mockContextManager

The mock ContextManager.

◆ m_mockContextMangerThread

std::thread alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_mockContextMangerThread

The thread to process the ContextManager requests on.

◆ m_mockSpeakerManager

std::shared_ptr<MockSpeakerManager> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_mockSpeakerManager

The mock SpeakerManager.

◆ m_propertyMapSizeBeforeDeviceSetting

int alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_propertyMapSizeBeforeDeviceSetting

The nummber of values in the propertyMap before adding device settings.


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