AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
AVSGatewayManagerStorageTest.cpp File Reference
#include <gmock/gmock.h>
#include <AVSCommon/SDKInterfaces/Storage/StubMiscStorage.h>
#include <AVSGatewayManager/Storage/AVSGatewayManagerStorage.h>
Include dependency graph for AVSGatewayManagerStorageTest.cpp:

Classes

class  alexaClientSDK::avsGatewayManager::storage::test::AVSGatewayManagerStorageTest
 

Namespaces

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

Functions

 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_createWithNullMiscStorage)
 
 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_init)
 
 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_storeGatewayState)
 
 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_storeSameValue)
 
 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_loadGatewayState)
 
 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_loadGatewayStateFromEmptyStorage)
 
 alexaClientSDK::avsGatewayManager::storage::test::TEST_F (AVSGatewayManagerStorageTest, test_clearState)
 

Variables

static const std::string alexaClientSDK::avsGatewayManager::storage::test::COMPONENT_NAME = "avsGatewayManager"
 Component name for Misc DB. More...
 
static const std::string alexaClientSDK::avsGatewayManager::storage::test::VERIFICATION_STATE_TABLE = "verificationState"
 Misc DB table for Verification State. More...
 
static const std::string alexaClientSDK::avsGatewayManager::storage::test::VERIFICATION_STATE_KEY = "state"
 Key for state in Misc DB table. More...
 
static const std::string alexaClientSDK::avsGatewayManager::storage::test::TEST_URL = "www.amazon.com"
 Test URL used in the unit tests. More...
 
static const std::string alexaClientSDK::avsGatewayManager::storage::test::SECOND_TEST_URL = "www.avs.amazon.com"
 Second Test URL used in the unit tests. More...
 
static const std::string alexaClientSDK::avsGatewayManager::storage::test::STORED_STATE = R"({"gatewayURL":")" + TEST_URL + R"(","isVerified":false})"
 Test gateway verification state string stored in the database. More...
 
static const std::string alexaClientSDK::avsGatewayManager::storage::test::SECOND_STORED_STATE = R"({"gatewayURL":")" + SECOND_TEST_URL + R"(","isVerified":true})"
 Test gateway verification state string stored in the database. 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