AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Attributes | List of all members
alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest Class Reference
Inheritance diagram for alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest:
Inheritance graph
Collaboration diagram for alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest:
Collaboration graph

Public Member Functions

void SetUp () override
 SetUp for the test. More...
void TearDown () override
 TearDown for the test. More...
void testTask ()
 Simple timer task that increments the task counter. More...
size_t getTaskCounter ()
void testTaskWithSleep (milliseconds sleepDuration)
void taskWithStop (TimerDelegateInterface *timer)
void customVariableDurationTask (vector< milliseconds > taskTimes)

Protected Attributes

TimerDelegate m_timerDelegate
 TimerDelegate under test. More...

Member Function Documentation

◆ customVariableDurationTask()

void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::customVariableDurationTask ( vector< milliseconds >  taskTimes)

Task with customizable task durations across task iterations.

taskTimesvector containing task durations in milliseconds across task iterations.

◆ getTaskCounter()

size_t alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::getTaskCounter ( )

Get the current value of the task counter.

Value of the task counter.

◆ SetUp()

void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::SetUp ( )

SetUp for the test.

◆ taskWithStop()

void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::taskWithStop ( TimerDelegateInterface timer)

Task that calls an internal stop to the timer delegate.

timerTimerDelegateInterface used to call stop internally.

◆ TearDown()

void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::TearDown ( )

TearDown for the test.

◆ testTask()

void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::testTask ( )

Simple timer task that increments the task counter.

◆ testTaskWithSleep()

void alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::testTaskWithSleep ( milliseconds  sleepDuration)

Task with fixed duration emulated as a sleep.

sleepDurationduration emulating the task in milliseconds

Member Data Documentation

◆ m_timerDelegate

TimerDelegate alexaClientSDK::avsCommon::utils::timing::test::TimerDelegateTest::m_timerDelegate

TimerDelegate under test.

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0