AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
TimeZoneHandlerTest.cpp File Reference
#include <gtest/gtest.h>
#include <AVSCommon/AVS/Attachment/MockAttachmentManager.h>
#include <AVSCommon/SDKInterfaces/MockAVSConnectionManager.h>
#include <AVSCommon/SDKInterfaces/MockDirectiveHandlerResult.h>
#include <AVSCommon/SDKInterfaces/MockExceptionEncounteredSender.h>
#include <AVSCommon/SDKInterfaces/MockMessageSender.h>
#include <AVSCommon/SDKInterfaces/SystemTimeZoneInterface.h>
#include <AVSCommon/Utils/JSON/JSONUtils.h>
#include <AVSCommon/Utils/Memory/Memory.h>
#include <AVSCommon/Utils/WaitEvent.h>
#include <Settings/DeviceSettingsManager.h>
#include <Settings/MockSetting.h>
#include "System/TimeZoneHandler.h"
Include dependency graph for TimeZoneHandlerTest.cpp:

Classes

class  alexaClientSDK::capabilityAgents::system::test::TimeZoneHandlerTest
 

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 (TimeZoneHandlerTest, test_createWithoutTimezoneSetting)
 
 alexaClientSDK::capabilityAgents::system::test::TEST_F (TimeZoneHandlerTest, test_createWithoutExceptionSender)
 
 alexaClientSDK::capabilityAgents::system::test::TEST_F (TimeZoneHandlerTest, test_handleSetTimeZoneDirective)
 
 alexaClientSDK::capabilityAgents::system::test::TEST_F (TimeZoneHandlerTest, DISABLED_settingCallbackFails)
 

Variables

constexpr char alexaClientSDK::capabilityAgents::system::test::SET_TIMEZONE_DIRECTIVE_NAME [] = "SetTimeZone"
 The Directive name to set the timezone. More...
 
static const auto alexaClientSDK::capabilityAgents::system::test::TEST_TIMEOUT = std::chrono::seconds(5)
 The timeout used throughout the tests. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::test::TIMEZONE_NEW_YORK = "America/New_York"
 New York Timezone setting value. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::test::TIMEZONE_DEFAULT = "Etc/GMT"
 Default Timezone setting value. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::test::TIMEZONE_NEW_YORK_JSON = R"(")" + TIMEZONE_NEW_YORK + R"(")"
 New York Timezone as json value. More...
 
static const std::string alexaClientSDK::capabilityAgents::system::test::TIMEZONE_PAYLOAD_NEW_YORK
 New York Json Payload. 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