◆ initializeSetting()
Function used to create and initialize the setting with the given values. Function will also add the observers.
This function asserts that the object is created successfully.
- Parameters
-
locale | The initial value for locale. |
wakeWords | The initial value for wakeWords. |
◆ SetUp()
void alexaClientSDK::settings::test::LocaleWakeWordsSettingTest::SetUp |
( |
| ) |
|
|
overrideprotectedvirtual |
Create protocol object and dependencies mocks.
Reimplemented from testing::Test.
◆ toJson()
std::string alexaClientSDK::settings::test::LocaleWakeWordsSettingTest::toJson |
( |
std::set< std::string > |
values | ) |
const |
|
protected |
Function to generate the json representation of wake words and locales.
- Parameters
-
values | The values to be converted to a json string array. |
- Returns
- A string representing the json string array.
◆ m_assetsManagerMock
std::shared_ptr<MockLocaleAssetsManager> alexaClientSDK::settings::test::LocaleWakeWordsSettingTest::m_assetsManagerMock |
|
protected |
Mock locale assets manager.
◆ m_localeObserver
Mock locale setting observer.
◆ m_localesSenderMock
std::shared_ptr<MockSettingEventSender> alexaClientSDK::settings::test::LocaleWakeWordsSettingTest::m_localesSenderMock |
|
protected |
Mock event sender for locales.
◆ m_setting
◆ m_storageMock
◆ m_wakeWordsObserver
Mock wake words setting observer.
◆ m_wakeWordsSenderMock
std::shared_ptr<MockSettingEventSender> alexaClientSDK::settings::test::LocaleWakeWordsSettingTest::m_wakeWordsSenderMock |
|
protected |
Mock event sender for wake words.
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