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 AScheduledExecutorServicethat executes commands on the thread that callsrunNextPendingCommand,runUntilIdleortick.Synchroniser A ThreadingPolicy that makes the Mockery thread-safe and helps tests synchronise with background threads. -
Exception Summary Exception Description UnsupportedSynchronousOperationException Thrown to report that aDeterministicSchedulerhas been asked to perform a blocking wait, which is not supported.