Package org.jmock.lib.concurrent
Classes to help test concurrent code with jMock.
-
Class Summary Class Description Blitzer A class that "blitzes" an object by calling it many times, from multiple threads.DeterministicExecutor DeterministicScheduler AScheduledExecutorService
that executes commands on the thread that callsrunNextPendingCommand
,runUntilIdle
ortick
.Synchroniser A ThreadingPolicy that makes the Mockery thread-safe and helps tests synchronise with background threads.SynchronisingInvocationDispatcherWrapper I synchronise my delegate.UnsynchronisedInvocationDispatcher -
Exception Summary Exception Description UnsupportedSynchronousOperationException Thrown to report that aDeterministicScheduler
has been asked to perform a blocking wait, which is not supported.