- blockTillFinished
Blocks until run completed been called the provided quantity of times.
- blockTillStarted
Blocks until run has been called at least once.
- setRunDelayInMillis
Changes the amount of time the runnable will sleep/block when called. This
change will only be for f
- getCreationTime
Returns the millis returned from Clock#accurateForwardProgressingMillis(), that
was recorded when th
- handleRunFinish
Function to be overloaded by extending classes if more data or operations need
to happen at the run
- handleRunStart
Function to be overloaded by extending classes if more data or operations need
to happen at the run
- <init>
Constructs a new runnable for unit testing. This constructor allows the
parameter for the runnable t
- getDelayTillFirstRun
This function blocks till the first run completes then will return the time
until the first run star
- getRunCount
Getter for the number of times the run function has completed.
- getRunDelayInMillis
Getter for the currently set amount of time the TestRunnable will block after
#handleRunStart() and
- ranConcurrently
Check if this instance has ever been detected to run concurrently. Keep in mind
that just because th
- ranOnce
Getter to check if the runnable has run exactly once.