AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
List of all members
alexaClientSDK::acsdkBluetooth::test::SQLiteBluetoothStorageParameterizedTests Class Reference

Parameterized tests to test both migrated and newly created databases. More...

Inheritance diagram for alexaClientSDK::acsdkBluetooth::test::SQLiteBluetoothStorageParameterizedTests:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkBluetooth::test::SQLiteBluetoothStorageParameterizedTests:
Collaboration graph
[legend]

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
 
- Public Member Functions inherited from alexaClientSDK::acsdkBluetooth::test::SQLiteBluetoothStorageTest
void SetUp ()
 SetUp before each test case. More...
 
void TearDown ()
 TearDown after each test case. More...
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- Static Public Member Functions inherited from testing::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)
 
- Protected Member Functions inherited from alexaClientSDK::acsdkBluetooth::test::SQLiteBluetoothStorageTest
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)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
- Protected Attributes inherited from alexaClientSDK::acsdkBluetooth::test::SQLiteBluetoothStorageTest
std::unique_ptr< SQLiteBluetoothStoragem_db
 The database instance. Protected because it needs to be accessed in test cases. More...
 
std::unique_ptr< alexaClientSDK::storage::sqliteStorage::SQLiteDatabasem_sqLiteDb
 SQLiteDatabase instance. More...
 

Detailed Description

Parameterized tests to test both migrated and newly created databases.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0