Package org.jmock.lib.concurrent
package org.jmock.lib.concurrent
Classes to help test concurrent code with jMock.
-
ClassDescriptionA class that "blitzes" an object by calling it many times, from multiple threads.A
ScheduledExecutorServicethat executes commands on the thread that callsrunNextPendingCommand,runUntilIdleortick.A ThreadingPolicy that makes the Mockery thread-safe and helps tests synchronise with background threads.I synchronise my delegate.Thrown to report that aDeterministicSchedulerhas been asked to perform a blocking wait, which is not supported.