AsyncVerifier
.TestRunnable
which will initially block the running thread with
Object.wait()
when BlockingTestRunnable.handleRunStart()
is invoked.Clock.accurateForwardProgressingMillis()
, that was
recorded when this runnable was constructed.TestRunnable
will block after
TestRunnable.handleRunStart()
and before TestRunnable.handleRunFinish()
is called.NoThreadScheduler
in that time is ONLY
advanced via the tick calls.TestableScheduler
scheduler.TestableScheduler
scheduler.TestCondition
in unit test, designed to check a condition for something that is
happening in a different thread.TestCondition.get()
overridden, otherwise an exception will be
thrown when this condition is checked/used.TestCondition
with a provided supplier for when the state changes.TestCondition
where one function will supply a result and a second
function will test that result to see if the condition is met.TestRunnable
.