![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
| class | SQLiteCapabilitiesDelegateStorageTest |
Functions | |
| static bool | fileExists (const std::string &file) |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_createInvalidConfigurationRoot) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_createValidConfigurationRoot) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_createExistingDatabaseFails) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_openExistingDatabaseSucceeds) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_databaseWithNoEndpointConfigTable) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_storeForEndpointWorks) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_storeForEndpointMapWorks) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_storeForExistingEntry) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_loadForEndpointWorks) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_loadForNonExistingEndpoint) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_eraseWorks) | |
| TEST_F (SQLiteCapabilitiesDelegateStorageTest, test_clearDatabaseWorks) | |
Variables | |
| static const std::string | TEST_DATABASE_FILE_NAME = "SQLiteCapabilitiesDelegateStorageTest.db" |
| Test database file name. More... | |
| static const std::string | CAPABILITIES_DELEGATE_JSON |
| static const std::string | ENDPOINT_CONFIG_TABLE_NAME = "endpointConfigTable" |
| The name of the capabilitiesDelegate table. More... | |
| static const std::string | TEST_ENDPOINT_ID_1 = "EndpointID1" |
| Test endpoint ID. More... | |
| static const std::string | TEST_ENDPOINT_ID_2 = "EndpointID2" |
| Test endpoint ID. More... | |
| static const std::string | TEST_ENDPOINT_CONFIG_1 = "EndpointConfig1" |
| Test endpoint configuration. More... | |
| static const std::string | TEST_ENDPOINT_CONFIG_2 = "EndpointConfig2" |
| Test endpoint configuration. More... | |
|
static |
Checks whether a file exists in the file system.
| file | The file name. |
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_createInvalidConfigurationRoot | |||
| ) |
Tests create method with invalid ConfigurationNode.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_createValidConfigurationRoot | |||
| ) |
Tests create method with valid ConfigurationNode.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_createExistingDatabaseFails | |||
| ) |
Tests if create existing database fails.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_openExistingDatabaseSucceeds | |||
| ) |
Tests if the open existing database succeeds.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_databaseWithNoEndpointConfigTable | |||
| ) |
Tests if open succeeds when there is an empty database with no Endpoint Config Table.
Create empty database with no tables.
Open the same database as the SQLiteCapabilitiesDelegateStorage
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_storeForEndpointWorks | |||
| ) |
Tests if the store method works with a single endpoint.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_storeForEndpointMapWorks | |||
| ) |
Tests if the store method works with an endpoint map.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_storeForExistingEntry | |||
| ) |
Test if storing an existing entry in to the database replaces the previous value.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_loadForEndpointWorks | |||
| ) |
Test if the load method with endpointId input works.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_loadForNonExistingEndpoint | |||
| ) |
Test if the load method with endpointId input works.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_eraseWorks | |||
| ) |
Test if the erase method works for a given endpointId.
| alexaClientSDK::capabilitiesDelegate::storage::test::TEST_F | ( | SQLiteCapabilitiesDelegateStorageTest | , |
| test_clearDatabaseWorks | |||
| ) |
Store one item in the database.
Validate after clearing the database.
Store two items in the database.
Validate after clearing the database.
Test clearing empty database.
|
static |
|
static |
The name of the capabilitiesDelegate table.
|
static |
Test database file name.
|
static |
Test endpoint configuration.
|
static |
Test endpoint configuration.
|
static |
Test endpoint ID.
|
static |
Test endpoint ID.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0