AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
DevicePropertyAggregatorTest.cpp File Reference
#include <future>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <AVSCommon/AVS/IndicatorState.h>
#include <AVSCommon/SDKInterfaces/MockContextManager.h>
#include <AVSCommon/SDKInterfaces/MockSpeakerManager.h>
#include <Diagnostics/DevicePropertyAggregator.h>
#include <RegistrationManager/MockCustomerDataManager.h>
#include <Settings/DeviceSettingsManager.h>
#include <acsdkAlertsInterfaces/AlertObserverInterface.h>
Include dependency graph for DevicePropertyAggregatorTest.cpp:

Classes

class  alexaClientSDK::diagnostics::test::SettingStub< ValueT >
 Settings stub that just set the value immediately. More...
 
class  alexaClientSDK::diagnostics::test::DevicePropertyAggregatorTest
 

Namespaces

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

Functions

 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_noContextManager_EmptyOptional)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_intializePropertyMap)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getContextFailure_EmptyOptional)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getContextSuccessful)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getDoNotDisturbWhenSettingsManagerIsNull)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getDoNotDisturbWhenSettingFailed)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getDoNotDisturb)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getDevicePropertyForInvalidKey_EmptyOptional)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getSpeakerSettingsPropertyForNonInitializedVolume_EmptyString)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getSpeakerSettingsProperty)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getConnectionStatusProperty)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getNotificationStatusProperty)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getAudioPlayerStatusProperty)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getTTSPlayerStateProperty)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getAlarmStatusProperty)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getRegistationStatusPropertyTrue)
 
 alexaClientSDK::diagnostics::test::TEST_F (DevicePropertyAggregatorTest, test_getRegistationStatusPropertyFalse)
 

Variables

static const std::string alexaClientSDK::diagnostics::test::DEFAULT_ALERT_STATE = "IDLE"
 string indicating default alert state. More...
 
static const std::string alexaClientSDK::diagnostics::test::DEFAULT_CONTENT_ID = "NONE"
 string indicating default audio content id. More...
 
static const std::string alexaClientSDK::diagnostics::test::DEFAULT_AUDIO_PLAYER_STATE = "IDLE"
 string indicating default audio player state value. More...
 
static const std::string alexaClientSDK::diagnostics::test::DEVICE_CONTEXT_VALUE = "TEST_DEVICE_CONTEXT"
 string indicating device context value. More...
 
static const ContextRequestToken alexaClientSDK::diagnostics::test::MOCK_CONTEXT_REQUEST_TOKEN = 1
 Request token used to mock getContext return value. More...
 
static const std::string alexaClientSDK::diagnostics::test::DO_NOT_DISTURB_DISABLED = "false"
 string indicating device setting do not disturb disabled More...
 
static const std::string alexaClientSDK::diagnostics::test::DO_NOT_DISTURB_ENABLED = "true"
 string indicating device setting do not disturb enabled 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