AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
AVSGatewayManagerTest.cpp File Reference
#include <string>
#include <gmock/gmock.h>
#include <AVSGatewayManager/AVSGatewayManager.h>
#include <AVSCommon/SDKInterfaces/MockAVSGatewayAssigner.h>
#include <AVSCommon/SDKInterfaces/MockAVSGatewayObserver.h>
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <AVSGatewayManager/AuthRefreshedObserver.h>
#include <RegistrationManager/MockCustomerDataManager.h>
Include dependency graph for AVSGatewayManagerTest.cpp:

Classes

class  alexaClientSDK::avsGatewayManager::test::MockAVSGatewayManagerStorage
 
class  alexaClientSDK::avsGatewayManager::test::MockAuthDelegate
 
class  alexaClientSDK::avsGatewayManager::test::AVSGatewayManagerTest
 

Namespaces

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

Functions

 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_createAVSGatewayManagerWithInvalidParameters)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_defaultAVSGatewayFromConfigFile)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_defaultAVSGatewayFromConfigFileWithNoGateway)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_defaultAVSGatewayFromConfigFileWithEmptyGateway)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_avsGatewayFromStorage)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_setAVSGatewayURLWithNewURL)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_setAVSGatewayURLWithSameURL)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_setAVSGatewayURLWithoutAssigner)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_addNullObserver)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_removeNullObserver)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_removeAddedObserver)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_removeObserverNotAddedPreviously)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_clearData)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_createPostConnectOperationMultipleTimesWhenDBIsEmpty)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_createPostConnectOperationRetunrsNullIfDBContainsVerifiedGateway)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_createPostConnectOperationSequenceAfterSetGatewayURL)
 
 alexaClientSDK::avsGatewayManager::test::TEST_F (AVSGatewayManagerTest, test_createPostConnectOperationHasAuthObserver)
 

Variables

static const std::string alexaClientSDK::avsGatewayManager::test::TEST_AVS_GATEWAY = "www.test-avs-gateway.com"
 Test AVS Gateway. More...
 
static const std::string alexaClientSDK::avsGatewayManager::test::DEFAULT_AVS_GATEWAY = "https://alexa.na.gateway.devices.a2z.com"
 Default AVS Gateway. More...
 
static const std::string alexaClientSDK::avsGatewayManager::test::STORED_AVS_GATEWAY = "www.avs-gatewa-from-storage.com"
 Stored AVS Gateway. More...
 
static const std::string alexaClientSDK::avsGatewayManager::test::AVS_GATEWAY_MANAGER_JSON
 
static const std::string alexaClientSDK::avsGatewayManager::test::AVS_GATEWAY_MANAGER_JSON_NO_GATEWAY
 
static const std::string alexaClientSDK::avsGatewayManager::test::AVS_GATEWAY_MANAGER_JSON_EMPTY_GATEWAY
 

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