AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager Class Reference

#include <MockLocaleAssetsManager.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD2 (changeAssets, bool(const Locales &locale, const WakeWords &wakeWords))
 
 MOCK_METHOD0 (cancelOngoingChange, void())
 
 MOCK_METHOD1 (addLocaleAssetsObserver, void(const std::shared_ptr< LocaleAssetsObserverInterface > &observer))
 
 MOCK_METHOD1 (removeLocaleAssetsObserver, void(const std::shared_ptr< LocaleAssetsObserverInterface > &observer))
 
 MOCK_METHOD1 (onConfigurationChanged, void(const avs::CapabilityConfiguration &configuration))
 
 MOCK_METHOD1 (setEndpointRegistrationManager, void(const std::shared_ptr< endpoints::EndpointRegistrationManagerInterface > &manager))
 
 MOCK_CONST_METHOD0 (getDefaultSupportedWakeWords, WakeWordsSets())
 
 MOCK_CONST_METHOD0 (getLanguageSpecificWakeWords, std::map< LanguageTag, WakeWordsSets >())
 
 MOCK_CONST_METHOD0 (getLocaleSpecificWakeWords, std::map< Locale, WakeWordsSets >())
 
 MOCK_CONST_METHOD1 (getSupportedWakeWords, WakeWordsSets(const Locale &))
 
 MOCK_CONST_METHOD0 (getSupportedLocales, std::set< Locale >())
 
 MOCK_CONST_METHOD0 (getSupportedLocaleCombinations, LocaleCombinations())
 
 MOCK_CONST_METHOD0 (getDefaultLocale, Locale())
 
 MOCK_CONST_METHOD0 (getDefaultLocales, Locales())
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::LocaleAssetsManagerInterface
virtual bool changeAssets (const Locales &locales, const WakeWords &wakeWords)=0
 
virtual void cancelOngoingChange ()=0
 
virtual std::set< LocalegetSupportedLocales () const =0
 
virtual LocaleCombinations getSupportedLocaleCombinations () const =0
 
virtual Locale getDefaultLocale () const =0
 
virtual Locales getDefaultLocales () const
 
virtual WakeWordsSets getDefaultSupportedWakeWords () const =0
 
virtual std::map< LanguageTag, WakeWordsSetsgetLanguageSpecificWakeWords () const =0
 
virtual std::map< Locale, WakeWordsSetsgetLocaleSpecificWakeWords () const =0
 
virtual WakeWordsSets getSupportedWakeWords (const Locale &locale) const =0
 
virtual void addLocaleAssetsObserver (const std::shared_ptr< LocaleAssetsObserverInterface > &observer)=0
 
virtual void removeLocaleAssetsObserver (const std::shared_ptr< LocaleAssetsObserverInterface > &observer)=0
 
virtual void setEndpointRegistrationManager (const std::shared_ptr< endpoints::EndpointRegistrationManagerInterface > &manager)=0
 
virtual ~LocaleAssetsManagerInterface ()=default
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::CapabilityConfigurationChangeObserverInterface
virtual ~CapabilityConfigurationChangeObserverInterface ()=default
 
virtual void onConfigurationChanged (const avs::CapabilityConfiguration &configuration)=0
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::LocaleAssetsManagerInterface
using Locale = std::string
 
using LanguageTag = std::string
 
using WakeWords = std::set< std::string >
 
using WakeWordsSets = std::set< WakeWords >
 
using Locales = std::vector< Locale >
 
using LocaleCombinations = std::set< Locales >
 

Detailed Description

Mock implementation of LocaleAssetsManagerInterface.

Member Function Documentation

◆ MOCK_CONST_METHOD0() [1/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getDefaultSupportedWakeWords  ,
WakeWordsSets()   
)

◆ MOCK_CONST_METHOD0() [2/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getLanguageSpecificWakeWords  ,
std::map< LanguageTag, WakeWordsSets () 
)

◆ MOCK_CONST_METHOD0() [3/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getLocaleSpecificWakeWords  ,
std::map< Locale, WakeWordsSets () 
)

◆ MOCK_CONST_METHOD0() [4/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getSupportedLocales  ,
std::set< Locale () 
)

◆ MOCK_CONST_METHOD0() [5/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getSupportedLocaleCombinations  ,
LocaleCombinations()   
)

◆ MOCK_CONST_METHOD0() [6/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getDefaultLocale  ,
Locale()   
)

◆ MOCK_CONST_METHOD0() [7/7]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD0 ( getDefaultLocales  ,
Locales()   
)

◆ MOCK_CONST_METHOD1()

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_CONST_METHOD1 ( getSupportedWakeWords  ,
WakeWordsSets(const Locale &)   
)

◆ MOCK_METHOD0()

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_METHOD0 ( cancelOngoingChange  ,
void()   
)

◆ MOCK_METHOD1() [1/4]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_METHOD1 ( addLocaleAssetsObserver  ,
void(const std::shared_ptr< LocaleAssetsObserverInterface > &observer)   
)

◆ MOCK_METHOD1() [2/4]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_METHOD1 ( removeLocaleAssetsObserver  ,
void(const std::shared_ptr< LocaleAssetsObserverInterface > &observer)   
)

◆ MOCK_METHOD1() [3/4]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_METHOD1 ( onConfigurationChanged  ,
void(const avs::CapabilityConfiguration &configuration)   
)

◆ MOCK_METHOD1() [4/4]

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_METHOD1 ( setEndpointRegistrationManager  ,
void(const std::shared_ptr< endpoints::EndpointRegistrationManagerInterface > &manager)   
)

◆ MOCK_METHOD2()

alexaClientSDK::avsCommon::sdkInterfaces::test::MockLocaleAssetsManager::MOCK_METHOD2 ( changeAssets  ,
bool(const Locales &locale, const WakeWords &wakeWords)   
)

The documentation for this class was generated from the following file:

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