![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Parameterized tests to test both migrated and newly created databases. More...
Additional Inherited Members | |
![]() | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
![]() | |
void | SetUp () |
SetUp before each test case. More... | |
void | TearDown () |
TearDown after each test case. More... | |
![]() | |
virtual | ~Test () |
![]() | |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
![]() | |
void | closeAndDeleteDB () |
Cleanup function to close and delete the database. More... | |
bool | createLegacyDatabase () |
Function to create legacy database. More... | |
bool | insertEntryLegacy (const std::string &uuid, const std::string &mac) |
Insert Entry for legacy database. More... | |
bool | setupDatabase (bool migratedDatabase) |
void | getOrderedMacHelper (bool ascending) |
void | getRowsHelper (std::function< bool(SQLiteBluetoothStorage &, std::unordered_map< std::string, std::string > *)> retrieveRows, const std::unordered_map< std::string, std::string > &macToUuids, const std::unordered_map< std::string, std::string > &expected) |
void | getRetrieveValueHelper (std::function< bool(SQLiteBluetoothStorage &, const std::string &, std::string *)> retrieveValue, const std::string &key, const std::string &expectedValue, const std::unordered_map< std::string, std::string > &macToUuids) |
![]() | |
Test () | |
![]() | |
std::unique_ptr< SQLiteBluetoothStorage > | m_db |
The database instance. Protected because it needs to be accessed in test cases. More... | |
std::unique_ptr< alexaClientSDK::storage::sqliteStorage::SQLiteDatabase > | m_sqLiteDb |
SQLiteDatabase instance. More... | |
Parameterized tests to test both migrated and newly created databases.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0