AlexaClientSDK  1.19.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::notifications::test::MockNotificationRendererObserver Class Reference
Inheritance diagram for alexaClientSDK::capabilityAgents::notifications::test::MockNotificationRendererObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::notifications::test::MockNotificationRendererObserver:
Collaboration graph
[legend]

Public Member Functions

 MockNotificationRendererObserver ()
 
 MOCK_METHOD0 (onNotificationRenderingFinished, void())
 
bool waitForFinished (const std::chrono::milliseconds timeout=UNEXPECTED_TIMEOUT)
 
- Public Member Functions inherited from alexaClientSDK::capabilityAgents::notifications::NotificationRendererObserverInterface
virtual ~NotificationRendererObserverInterface ()=default
 
virtual void onNotificationRenderingFinished ()=0
 

Detailed Description

A NotificationRendererObserver to be observed by tests.

Constructor & Destructor Documentation

◆ MockNotificationRendererObserver()

alexaClientSDK::capabilityAgents::notifications::test::MockNotificationRendererObserver::MockNotificationRendererObserver ( )

Member Function Documentation

◆ MOCK_METHOD0()

alexaClientSDK::capabilityAgents::notifications::test::MockNotificationRendererObserver::MOCK_METHOD0 ( onNotificationRenderingFinished  ,
void()   
)

◆ waitForFinished()

bool alexaClientSDK::capabilityAgents::notifications::test::MockNotificationRendererObserver::waitForFinished ( const std::chrono::milliseconds  timeout = UNEXPECTED_TIMEOUT)

Wait for the onNotificationRenderingFinished() callback.

Parameters
timeoutThe maximum time to wait for the notification.
Returns
Whether or not the notification was received.

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

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