AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | MockTimerFactory |
class | VisualTimeoutManagerTest |
class | WarpTimer |
Functions | |
TEST_F (VisualTimeoutManagerTest, testRequestTimeout) | |
TEST_F (VisualTimeoutManagerTest, testStopTimeoutWithoutRequest) | |
TEST_F (VisualTimeoutManagerTest, testRequestTimeoutFollowedByStopTimeout) | |
TEST_F (VisualTimeoutManagerTest, testCallbackNotExecutedIfTimeoutNotActive) | |
TEST_F (VisualTimeoutManagerTest, testRequestTimeoutFollowedByAnotherRequest) | |
TEST_F (VisualTimeoutManagerTest, testMultipleRequestTimeoutsFollowedByStopTimeouts) | |
TEST_F (VisualTimeoutManagerTest, testTimeoutSuspendedByDialogUXState) | |
TEST_F (VisualTimeoutManagerTest, testTimeoutSuspendedAndRestartedByDialogUXState) | |
Variables | |
static const milliseconds | DELAY_1_MS = milliseconds(1) |
static const milliseconds | DELAY_2_MS = milliseconds(2) |
static const milliseconds | DELAY_5_MS = milliseconds(5) |
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testRequestTimeout | |||
) |
Tests invocation of callback on RequestTimeout
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testStopTimeoutWithoutRequest | |||
) |
Tests StopTimeout call without RequestTimeout
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testRequestTimeoutFollowedByStopTimeout | |||
) |
Tests behavior on RequestTimeout followed by StopTimeout. Callback specified in request should not be invoked once StopTimeout is called.
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testCallbackNotExecutedIfTimeoutNotActive | |||
) |
Tests callback doesn't execute if timeout state changed to non-ACTIVE. The timer in this case submits a task to execute callback to the executor. A queued task in executor however changes the state and timeout is no longer active.
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testRequestTimeoutFollowedByAnotherRequest | |||
) |
Tests behavior on RequestTimeout followed by another RequestTimeout call. Only the latest timeout request should be processed while replacing any previous requests.
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testMultipleRequestTimeoutsFollowedByStopTimeouts | |||
) |
Tests multiple timeout requests followed by stop timeouts. StopTimeout with timeoutId of latest request should return true. StopTimeout with timeoutId of requests other than latest should return false. Only the latest timeout is considered active.
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testTimeoutSuspendedByDialogUXState | |||
) |
Tests suspending timeout on DialogUXState change to non-IDLE state.
alexaClientSDK::visualTimeoutManager::test::TEST_F | ( | VisualTimeoutManagerTest | , |
testTimeoutSuspendedAndRestartedByDialogUXState | |||
) |
Tests whether timeout is restarted on DialogUXState change to IDLE state.
|
static |
|
static |
|
static |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0