public class WakeableLooperTest
extends java.lang.Object
Constructor and Description |
---|
WakeableLooperTest() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
void |
testAddTasksOnWakeup()
Method: addTasksOnWakeup(Runnable task)
|
void |
testExecuteTasksOnWakeup()
Method: executeTasksOnWakeup()
|
void |
testExitLoop()
Method: exitLoop()
|
void |
testGetNextTimeoutIntervalMs()
Method: getNextTimeoutIntervalMs()
|
void |
testLoop()
Method: loop()
|
void |
testRegisterTimerEventInNanoSeconds()
Method: registerTimerEventInNanoSeconds(long timerInNanoSecnods, Runnable task)
|
void |
testRegisterTimerEventInSeconds()
Method: registerTimerEventInSeconds(long timerInSeconds, Runnable task)
|
void |
testRunOnce()
Method: runOnce()
|
void |
testTriggerExpiredTimers()
Method: triggerExpiredTimers(long currentTime)
|
public void before() throws java.lang.Exception
java.lang.Exception
public void after() throws java.lang.Exception
java.lang.Exception
public void testLoop() throws java.lang.Exception
java.lang.Exception
public void testAddTasksOnWakeup() throws java.lang.Exception
java.lang.Exception
public void testRegisterTimerEventInSeconds() throws java.lang.Exception
java.lang.Exception
public void testRegisterTimerEventInNanoSeconds() throws java.lang.Exception
java.lang.Exception
public void testExitLoop() throws java.lang.Exception
java.lang.Exception
public void testGetNextTimeoutIntervalMs() throws java.lang.Exception
java.lang.Exception
public void testRunOnce() throws java.lang.Exception
java.lang.Exception
public void testExecuteTasksOnWakeup() throws java.lang.Exception
java.lang.Exception
public void testTriggerExpiredTimers() throws java.lang.Exception
java.lang.Exception