![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <memory>#include <random>#include <gmock/gmock.h>#include <gtest/gtest.h>#include <acsdkNotifications/NotificationIndicator.h>#include <acsdkNotifications/SQLiteNotificationsStorage.h>#include <AVSCommon/Utils/File/FileUtils.h>
Classes | |
| class | alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest |
Namespaces | |
| alexaClientSDK | |
| Whether or not curl logs should be emitted. | |
| alexaClientSDK::acsdkNotifications | |
| alexaClientSDK::acsdkNotifications::test | |
Typedefs | |
| using | alexaClientSDK::acsdkNotifications::test::IndicatorState = avsCommon::avs::IndicatorState |
Functions | |
| static bool | alexaClientSDK::acsdkNotifications::test::isOpen (const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsStorageInterface > &storage) |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_constructionAndDestruction) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_databaseCreation) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_openAndCloseDatabase) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_databaseEnqueueAndDequeue) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_settingAndGettingIndicatorState) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_clearingNotificationIndicators) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_defaultValueForEmptyStorage) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_defaultValueForInvalidDBContents) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_checkingEmptyQueue) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_databasePersistence) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_queueOrder) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_peek) | |
| alexaClientSDK::acsdkNotifications::test::TEST_F (NotificationsStorageTest, test_size) | |
| int | main (int argc, char **argv) |
Variables | |
| static const std::string | alexaClientSDK::acsdkNotifications::test::TEST_DATABASE_FILE_PATH = "notificationsStorageTestDatabase.db" |
| The filename we will use for the test database file. More... | |
| static const std::string | alexaClientSDK::acsdkNotifications::test::PATH_DELIMITER = "/" |
| The path delimiter used by the OS to identify file locations. More... | |
| static const std::string | alexaClientSDK::acsdkNotifications::test::TEST_ASSET_ID1 = "testAssetId1" |
| AssetId strings for testing. More... | |
| static const std::string | alexaClientSDK::acsdkNotifications::test::TEST_ASSET_ID2 = "testAssetId2" |
| static const std::string | alexaClientSDK::acsdkNotifications::test::TEST_ASSET_URL1 = "testAssetUrl1" |
| AssetUrl strings for testing. More... | |
| static const std::string | alexaClientSDK::acsdkNotifications::test::TEST_ASSET_URL2 = "testAssetUrl2" |
| static const std::string | alexaClientSDK::acsdkNotifications::test::INDICATOR_STATE_NAME = "indicatorState" |
| Indicator state table/column name in the database. More... | |
| static const int | alexaClientSDK::acsdkNotifications::test::INVALID_STATE_VALUE = 123 |
| Value to represent the invalid indicator state. More... | |
| static const unsigned int | alexaClientSDK::acsdkNotifications::test::NUM_TEST_INDICATORS = 15 |
| Number to use when generating many NotificationIndicators. More... | |
| static const unsigned int | alexaClientSDK::acsdkNotifications::test::NOTIFICATION_INDICATOR_SEED = 1 |
| Seed to generate random values for NotificationIndicators. More... | |
| static const unsigned int | alexaClientSDK::acsdkNotifications::test::MAX_RANDOM_INT = 100 |
| The max random number to generate. More... | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0