AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Manages testing state changes. More...
Public Member Functions | |
void | assertStateChange (std::shared_ptr< TestObserver > observer, DialogUXStateObserverInterface::DialogUXState expectedState, std::chrono::milliseconds timeout=DEFAULT_TIMEOUT) |
void | assertNoStateChange (std::shared_ptr< TestObserver > observer, std::chrono::milliseconds timeout=SHORT_TIMEOUT) |
Manages testing state changes.
|
inline |
Checks that a state change does not occur by waiting for the timeout duration.
observer | The UX state observer. |
timeout | An optional timeout parameter to wait for to make sure no state change has occurred. |
|
inline |
Checks that a state change occurred and that the ux state received is the same as the expected ux state.
observer | The UX state observer. |
expectedState | The expected UX state. |
timeout | An optional timeout parameter to wait for a state change |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0