AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Typedefs | Functions | Variables
SettingCallbackAdapterTest.cpp File Reference
#include <memory>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <RegistrationManager/MockCustomerDataManager.h>
#include <Settings/DeviceSettingsManager.h>
#include <Settings/SettingCallbackAdapter.h>
Include dependency graph for SettingCallbackAdapterTest.cpp:

Classes

class  alexaClientSDK::settings::test::TimezoneSettingStub
 
class  alexaClientSDK::settings::test::SettingCallbackAdapterTest
 
class  alexaClientSDK::settings::test::ObserverClass
 

Namespaces

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

Typedefs

using alexaClientSDK::settings::test::TestEventCallback = SettingCallbackAdapter< DeviceSettingsManager, DeviceSettingsIndex::TIMEZONE >
 Just an alias to make the name shorter. More...
 

Functions

static void alexaClientSDK::settings::test::staticCallback (const std::string &newValue, SettingNotifications notification)
 Define a static function to be used as callback. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingCallbackAdapterTest, test_lambdaCallback)
 Test callback for lambda functions. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingCallbackAdapterTest, test_staticCallback)
 Test callback for static functions. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingCallbackAdapterTest, test_memberCallback)
 Test callback for member functions. More...
 

Variables

const std::string alexaClientSDK::settings::test::INIT_TIMEZONE = "Canada/Eastern"
 Define initial values for timezone. More...
 
const std::string alexaClientSDK::settings::test::NEW_TIMEZONE = "Canada/Pacific"
 Define updated values for each timezone. More...
 
std::string alexaClientSDK::settings::test::globalTimezone = INIT_TIMEZONE
 Used to test static callback. 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