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

Public Member Functions

 NotificationsStorageTest ()
 
 ~NotificationsStorageTest ()
 
void createDatabase ()
 
void cleanupLocalDbFile ()
 
void checkNotificationIndicatorsEquality (const NotificationIndicator &actual, const NotificationIndicator &expected)
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 

Protected Attributes

std::shared_ptr< SQLiteNotificationsStoragem_storage
 The message database object we will test. 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)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Constructor & Destructor Documentation

◆ NotificationsStorageTest()

alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest::NotificationsStorageTest ( )

◆ ~NotificationsStorageTest()

alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest::~NotificationsStorageTest ( )

Member Function Documentation

◆ checkNotificationIndicatorsEquality()

void alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest::checkNotificationIndicatorsEquality ( const NotificationIndicator actual,
const NotificationIndicator expected 
)

◆ cleanupLocalDbFile()

void alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest::cleanupLocalDbFile ( )

Utility function to cleanup the test database file, if it exists.

◆ createDatabase()

void alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest::createDatabase ( )

Utility function to create the database, using the global filename.

Member Data Documentation

◆ m_storage

std::shared_ptr<SQLiteNotificationsStorage> alexaClientSDK::acsdkNotifications::test::NotificationsStorageTest::m_storage
protected

The message database object we will test.


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