AlexaClientSDK  1.25.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate Class Reference

#include <MockAuthDelegate.h>

Inheritance diagram for alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD1 (addAuthObserver, void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >))
 
 MOCK_METHOD1 (removeAuthObserver, void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >))
 
 MOCK_METHOD0 (getAuthToken, std::string())
 
 MOCK_METHOD1 (onAuthFailure, void(const std::string &))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface
virtual ~AuthDelegateInterface ()=default
 
virtual void addAuthObserver (std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface > observer)=0
 
virtual void removeAuthObserver (std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface > observer)=0
 
virtual std::string getAuthToken ()=0
 
virtual void onAuthFailure (const std::string &token)=0
 

Detailed Description

A Mock class for AuthDelegateInterface.

Member Function Documentation

◆ MOCK_METHOD0()

alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate::MOCK_METHOD0 ( getAuthToken  ,
std::string()   
)

◆ MOCK_METHOD1() [1/3]

alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate::MOCK_METHOD1 ( addAuthObserver  ,
void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >)   
)

◆ MOCK_METHOD1() [2/3]

alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate::MOCK_METHOD1 ( removeAuthObserver  ,
void(std::shared_ptr< avsCommon::sdkInterfaces::AuthObserverInterface >)   
)

◆ MOCK_METHOD1() [3/3]

alexaClientSDK::capabilitiesDelegate::test::MockAuthDelegate::MOCK_METHOD1 ( onAuthFailure  ,
void(const std::string &)   
)

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

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