AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest Class Reference
Inheritance diagram for alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest:
Inheritance graph
Collaboration diagram for alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest:
Collaboration graph

Public Member Functions

 SQLiteMiscStorageTest ()
 ~SQLiteMiscStorageTest ()
void SetUp () override
- Public Member Functions inherited from testing::Test
virtual ~Test ()

Protected Member Functions

void createTestTable (const std::string &tableName, const SQLiteMiscStorage::KeyType keyType, const SQLiteMiscStorage::ValueType valueType)
void deleteTestTable (const std::string &tableName)
- Protected Member Functions inherited from testing::Test
 Test ()
virtual void TearDown ()

Protected Attributes

std::shared_ptr< SQLiteMiscStoragem_miscStorage
 The Misc DB storage instance. More...

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
- 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)

Detailed Description

Test harness for SQLiteMiscStorage class.

Constructor & Destructor Documentation

◆ SQLiteMiscStorageTest()

alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest::SQLiteMiscStorageTest ( )


◆ ~SQLiteMiscStorageTest()

alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest::~SQLiteMiscStorageTest ( )


Member Function Documentation

◆ createTestTable()

void alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest::createTestTable ( const std::string &  tableName,
const SQLiteMiscStorage::KeyType  keyType,
const SQLiteMiscStorage::ValueType  valueType 

Creates a test table in MiscDB.

tableNameThe table name to be created.
keyTypeThe key column type.
valueTypeThe value column type.

◆ deleteTestTable()

void alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest::deleteTestTable ( const std::string &  tableName)

Deletes a test table from MiscDB.

tableNameThe table name to be created.

◆ SetUp()

void alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest::SetUp ( )

Set up the test harness for running a test.

Reimplemented from testing::Test.

Member Data Documentation

◆ m_miscStorage

std::shared_ptr<SQLiteMiscStorage> alexaClientSDK::storage::sqliteStorage::test::SQLiteMiscStorageTest::m_miscStorage

The Misc DB storage instance.

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

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