Returns the internal state of the TestContext
, useful for testing
that certain execution conditions have been met.
Triggers execution by going through the queue of scheduled tasks and executing them all, until no tasks remain in the queue to execute.
Triggers execution by going through the queue of scheduled tasks and executing them all, until no tasks remain in the queue to execute.
Order of execution isn't guaranteed, the queued Runnable
s are
being shuffled in order to simulate the needed non-determinism
that happens with multi-threading.
A
scala.concurrent.ExecutionContext
implementation that can be used for testing purposes.Usage: