AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Functions | Variables
LWAAuthStorageMigrationTest.cpp File Reference
#include <thread>
#include <gtest/gtest.h>
#include <acsdk/PropertiesInterfaces/test/StubPropertiesFactory.h>
#include <acsdk/Properties/MiscStorageAdapter.h>
#include <acsdkAuthorization/private/LWA/LWAStorageDataMigration.h>
#include <acsdkAuthorization/private/LWA/LWAStorageConstants.h>
#include <acsdkAuthorization/private/Logging.h>
#include <SQLiteStorage/SQLiteDatabase.h>
#include <SQLiteStorage/SQLiteMiscStorage.h>
Include dependency graph for LWAAuthStorageMigrationTest.cpp:

Classes

class  alexaClientSDK::acsdkAuthorization::lwa::test::LWAAuthStorageMigrationTest
 

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkAuthorization
 
 alexaClientSDK::acsdkAuthorization::lwa
 
 alexaClientSDK::acsdkAuthorization::lwa::test
 

Functions

 alexaClientSDK::acsdkAuthorization::lwa::test::TEST_F (LWAAuthStorageMigrationTest, test_migrateEmptyDatabase)
 Tests with creating a string key - string value table. More...
 
 alexaClientSDK::acsdkAuthorization::lwa::test::TEST_F (LWAAuthStorageMigrationTest, test_migrateRefreshToken)
 
 alexaClientSDK::acsdkAuthorization::lwa::test::TEST_F (LWAAuthStorageMigrationTest, test_migrateUserId)
 
 alexaClientSDK::acsdkAuthorization::lwa::test::TEST_F (LWAAuthStorageMigrationTest, test_verifyMigrationForSameDatabase)
 

Variables

static const std::string alexaClientSDK::acsdkAuthorization::lwa::test::TAG = "LWAAuthStorageMigrationTest"
 Logging tag. More...
 
static const std::string alexaClientSDK::acsdkAuthorization::lwa::test::COMPONENT_NAME = "config"
 Component name for the misc DB tables. More...
 
static const std::string alexaClientSDK::acsdkAuthorization::lwa::test::TABLE_NAME = "LWAAuthorizationStorage"
 Table name for the misc DB tables. More...
 
static const std::string alexaClientSDK::acsdkAuthorization::lwa::test::PROPERTIES_URI = COMPONENT_NAME + "/" + TABLE_NAME
 Full table name. More...
 
static const std::string alexaClientSDK::acsdkAuthorization::lwa::test::TABLE_NAME_REFRESH_TOKEN = "refreshToken"
 Full table name for legacy refresh token. More...
 
static const std::string alexaClientSDK::acsdkAuthorization::lwa::test::TABLE_NAME_USER_ID = "userId"
 Full table name for legacy user id. More...
 

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