Home
last modified time | relevance | path

Searched refs:TestTimer (Results 1 – 1 of 1) sorted by relevance

/openthread-latest/tests/unit/
Dtest_timer.cpp99 template <typename TimerType> class TestTimer : public TimerType class
102 explicit TestTimer(Instance &aInstance) in TestTimer() function in ot::TestTimer
103 : TimerType(aInstance, TestTimer::HandleTimerFired) in TestTimer()
108 …static void HandleTimerFired(Timer &aTimer) { static_cast<TestTimer &>(aTimer).HandleTimerFired();… in HandleTimerFired()
142 TestTimer<TimerType> timer(*instance); in TestOneTimer()
146 TestTimer<TimerType>::RemoveAll(*instance); in TestOneTimer()
268 TestTimer<TimerType> timer1(*instance); in TestTwoTimers()
269 TestTimer<TimerType> timer2(*instance); in TestTwoTimers()
271 TestTimer<TimerType>::RemoveAll(*instance); in TestTwoTimers()
485 TestTimer<TimerType> timer0(*instance); in TenTimers()
[all …]