AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
LocaleHandlerTest.cpp File Reference
#include <gtest/gtest.h>
#include <memory>
#include <AVSCommon/AVS/Attachment/MockAttachmentManager.h>
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
#include <AVSCommon/SDKInterfaces/MockLocaleAssetsManager.h>
#include <AVSCommon/Utils/JSON/JSONGenerator.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/WaitEvent.h>
#include <RegistrationManager/MockCustomerDataManager.h>
#include <Settings/DeviceSettingsManager.h>
#include <Settings/MockDeviceSettingStorage.h>
#include <Settings/MockSettingEventSender.h>
#include <Settings/Types/LocaleWakeWordsSetting.h>
#include "System/LocaleHandler.h"
Include dependency graph for LocaleHandlerTest.cpp:

Classes

class  alexaClientSDK::capabilityAgents::system::test::LocaleHandlerTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::capabilityAgents
 
 alexaClientSDK::capabilityAgents::system
 
 alexaClientSDK::capabilityAgents::system::test
 

Functions

 alexaClientSDK::capabilityAgents::system::test::TEST_F (LocaleHandlerTest, test_createWithInvalidArgs)
 
 alexaClientSDK::capabilityAgents::system::test::TEST_F (LocaleHandlerTest, test_setLocalesDirectiveSuccess)
 

Variables

constexpr char alexaClientSDK::capabilityAgents::system::test::NAMESPACE [] = "System"
 The namespace for this capability agent. More...
 
constexpr char alexaClientSDK::capabilityAgents::system::test::MESSAGE_ID [] = "1"
 Crafted message ID. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::test::LOCALES_PAYLOAD_KEY = "locales"
 The value of the payload key for locales. More...
 
static const std::set< std::string > alexaClientSDK::capabilityAgents::system::test::TEST_LOCALES = {"en-US"}
 A set of test locales. More...
 
static const std::set< std::string > alexaClientSDK::capabilityAgents::system::test::SUPPORTED_WAKE_WORDS = {"ALEXA", "ECHO"}
 A set of test supported wake words. More...
 
static const std::set< std::string > alexaClientSDK::capabilityAgents::system::test::SUPPORTED_LOCALES = {"en-CA", "en-US", "fr-CA"}
 A set of test supported locales. More...
 
static const std::set< std::vector< std::string > > alexaClientSDK::capabilityAgents::system::test::SUPPORTED_MULTILINGUAL_LOCALES = {{"en-CA", "fr-CA"}}
 A set of test multilingual supported locales. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::test::DEFAULT_LOCALE = "en-CA"
 Default locale. More...
 
static const std::vector< std::string > alexaClientSDK::capabilityAgents::system::test::DEFAULT_MULTILINGUAL_LOCALE = {"en-CA", "fr-CA"}
 Default multilingual locale. More...
 
static const avsCommon::avs::NamespaceAndName alexaClientSDK::capabilityAgents::system::test::SET_WAKE_WORDS {NAMESPACE, "SetLocales"}
 The SetLocales directive signature. More...
 

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