AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <CertifiedSender/SQLiteMessageStorage.h>
#include <SQLiteStorage/SQLiteStatement.h>
#include <AVSCommon/Utils/File/FileUtils.h>
#include <fstream>
#include <queue>
#include <memory>
Classes | |
class | alexaClientSDK::certifiedSender::test::MessageStorageTest |
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::certifiedSender | |
alexaClientSDK::certifiedSender::test | |
Functions | |
static bool | alexaClientSDK::certifiedSender::test::isOpen (const std::shared_ptr< MessageStorageInterface > &storage) |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_constructionAndDestruction) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_databaseCreation) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_openAndCloseDatabase) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_databaseStoreAndLoad) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_databaseErase) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_databaseClear) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_DatabaseStoreAndLoadWithURI) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_LegacyDatabase) | |
alexaClientSDK::certifiedSender::test::TEST_F (MessageStorageTest, test_EraseMessageOverAgeAndSizeLimit) | |
int | main (int argc, char **argv) |
Variables | |
static const std::string | alexaClientSDK::certifiedSender::test::TEST_DATABASE_FILE_PATH = "messageStorageTestDatabase.db" |
The filename we will use for the test database file. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::PATH_DELIMITER = "/" |
The path delimiter used by the OS to identify file locations. More... | |
static std::string | alexaClientSDK::certifiedSender::test::g_dbTestFilePath |
The full filepath to the database file we will create and delete during tests. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::TEST_MESSAGE_ONE = "test_message_one" |
A test message text. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::TEST_MESSAGE_TWO = "test_message_two" |
A test message text. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::TEST_MESSAGE_THREE = "test_message_three" |
A test message text. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::TEST_MESSAGE_URI = "/v20160207/events/SpeechRecognizer/Recognize" |
A test message uri. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::MESSAGES_TABLE_NAME = "messages_with_uri" |
The name of the alerts table. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::DATABASE_COLUMN_ID_NAME = "id" |
The name of the 'id' field we will use as the primary key in our tables. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::DATABASE_COLUMN_MESSAGE_TEXT_NAME = "message_text" |
The name of the 'message_text' field we will use as the primary key in our tables. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::DATABASE_COLUMN_URI = "uri" |
The name of the 'uriPathExtension' field corresponding to the uri path extension of the message. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::DATABASE_COLUMN_TIMESTAMP = "timestamp" |
The name of the 'timestamp' field is the creation time of the message. More... | |
static const std::string | alexaClientSDK::certifiedSender::test::CREATE_LEGACY_MESSAGES_TABLE_SQL_STRING |
The SQL string to create the alerts table. 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