![]() |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AuthDelegateTestContext.h>
Public Member Functions | |
~AuthDelegateTestContext () | |
bool | isValid () const |
std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface > | getAuthDelegate () const |
std::shared_ptr< registrationManager::CustomerDataManagerInterface > | getCustomerDataManager () const |
Static Public Member Functions | |
static std::unique_ptr< AuthDelegateTestContext > | create (const std::string &filePath, const std::string &overlay="") |
Class providing lifecycle management of resources needed for testing instances of AuthDelegateInterface or functionality that requires such instances for testing.
alexaClientSDK::integration::test::AuthDelegateTestContext::~AuthDelegateTestContext | ( | ) |
Destructor. de-initializes all resources acquired during construction.
|
static |
Create an AuthDelegateTestContext
Creating an instance of this class provides: A CustomerDataManager
instance. An AuthDelegateInterface
instance.
filePath | The path to a config file. |
overlay | A JSON string containing values to overlay on the contents of the configuration file. |
std::shared_ptr< AuthDelegateInterface > alexaClientSDK::integration::test::AuthDelegateTestContext::getAuthDelegate | ( | ) | const |
Get the instance of AuthDelegateInterface
to use for the test.
AuthDelegateInterface
to use for the test. std::shared_ptr< registrationManager::CustomerDataManagerInterface > alexaClientSDK::integration::test::AuthDelegateTestContext::getCustomerDataManager | ( | ) | const |
Get the instance of CustomerDataManager
to use for the test.
CustomerDataManager
to use for the test. bool alexaClientSDK::integration::test::AuthDelegateTestContext::isValid | ( | ) | const |
Determine whether or not this instance was properly initialized.
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0