AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
SQLiteCapabilitiesDelegateStorageTest.cpp File Reference
#include <fstream>
#include <string>
#include <unordered_map>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <AVSCommon/Utils/Configuration/ConfigurationNode.h>
#include <CapabilitiesDelegate/Storage/SQLiteCapabilitiesDelegateStorage.h>
#include <SQLiteStorage/SQLiteDatabase.h>
Include dependency graph for SQLiteCapabilitiesDelegateStorageTest.cpp:

Classes

class  alexaClientSDK::capabilitiesDelegate::storage::test::SQLiteCapabilitiesDelegateStorageTest
 

Namespaces

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

Functions

static bool alexaClientSDK::capabilitiesDelegate::storage::test::fileExists (const std::string &file)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_createInvalidConfigurationRoot)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_createValidConfigurationRoot)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_createExistingDatabaseFails)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_openExistingDatabaseSucceeds)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_databaseWithNoEndpointConfigTable)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_storeForEndpointWorks)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_storeForEndpointMapWorks)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_storeForExistingEntry)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_loadForEndpointWorks)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_loadForNonExistingEndpoint)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_eraseWorks)
 
 alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_clearDatabaseWorks)
 

Variables

static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::TEST_DATABASE_FILE_NAME = "SQLiteCapabilitiesDelegateStorageTest.db"
 Test database file name. More...
 
static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::CAPABILITIES_DELEGATE_JSON
 
static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::ENDPOINT_CONFIG_TABLE_NAME = "endpointConfigTable"
 The name of the capabilitiesDelegate table. More...
 
static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::TEST_ENDPOINT_ID_1 = "EndpointID1"
 Test endpoint ID. More...
 
static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::TEST_ENDPOINT_ID_2 = "EndpointID2"
 Test endpoint ID. More...
 
static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::TEST_ENDPOINT_CONFIG_1 = "EndpointConfig1"
 Test endpoint configuration. More...
 
static const std::string alexaClientSDK::capabilitiesDelegate::storage::test::TEST_ENDPOINT_CONFIG_2 = "EndpointConfig2"
 Test endpoint configuration. 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