AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
SettingTest.cpp File Reference
#include <memory>
#include <string>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <Settings/Setting.h>
#include "Settings/MockSettingProtocol.h"
#include "Settings/MockSettingObserver.h"
Include dependency graph for SettingTest.cpp:

Classes

class  alexaClientSDK::settings::test::SettingTest
 

Namespaces

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

Functions

 alexaClientSDK::settings::test::TEST_F (SettingTest, test_create)
 Test successful create. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_createNoRestore)
 Test create initial value when restore value is not available. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_nullCreate)
 Test create with null protocol. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_avsChange)
 Test avs change. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_avsChangeRevert)
 Test avs change revert. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_localChange)
 Test local change. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_localChangeRevert)
 Test local change revert. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_clearData)
 Test clearData. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_observerNotificationLocal)
 Test observer notification. More...
 
 alexaClientSDK::settings::test::TEST_F (SettingTest, test_observerNotificationAvs)
 Test observer notification. More...
 

Variables

static constexpr bool alexaClientSDK::settings::test::INIT_VALUE = false
 Initial value for the setting. More...
 
static const std::string alexaClientSDK::settings::test::INIT_VALUE_STR = "false"
 String representation of the initial value. More...
 
static constexpr bool alexaClientSDK::settings::test::NEW_VALUE = true
 New value for the setting. More...
 
static const std::string alexaClientSDK::settings::test::NEW_VALUE_STR = "true"
 String representation of the new value. 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