![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Public Member Functions | |
void | SetUp () override |
void | TearDown () override |
bool | validatePropertyValue (const std::string &propertyKey, const std::string &expectedValue) |
![]() | |
virtual | ~Test () |
Public Attributes | |
std::shared_ptr< DevicePropertyAggregator > | m_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< MockContextManager > | m_mockContextManager |
The mock ContextManager . More... | |
std::shared_ptr< MockSpeakerManager > | m_mockSpeakerManager |
The mock SpeakerManager . More... | |
std::thread | m_mockContextMangerThread |
The thread to process the ContextManager requests on. More... | |
std::shared_ptr< settings::DeviceSettingsManager > | m_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 | |
![]() | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
![]() | |
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) |
![]() | |
Test () | |
|
overridevirtual |
Reimplemented from testing::Test.
|
overridevirtual |
Reimplemented from testing::Test.
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.
propertyKey | The key of the property to validate. |
expectedValue | The expected value to compare against. |
SpeakerInterface::SpeakerSettings alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_alertsVolumeSetting |
The SpeakerSettings
for Alerts Voume.
SpeakerInterface::SpeakerSettings alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_avsVolumeSetting |
The SpeakerSettings
for AVS Volume.
std::shared_ptr<DevicePropertyAggregator> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_devicePropertyAggregator |
The DevicePropertyAggregator
to test.
std::shared_ptr<settings::DeviceSettingsManager> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_deviceSettingsManager |
The SettingsManager
.
std::shared_ptr<SettingStub<settings::DoNotDisturbSetting ::ValueType> > alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_DNDSetting |
The SettingStub
for the DoNotDisturb setting.
std::shared_ptr<MockContextManager> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_mockContextManager |
The mock ContextManager
.
std::thread alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_mockContextMangerThread |
The thread to process the ContextManager
requests on.
std::shared_ptr<MockSpeakerManager> alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_mockSpeakerManager |
The mock SpeakerManager
.
int alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest::m_propertyMapSizeBeforeDeviceSetting |
The nummber of values in the propertyMap before adding device settings.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0