| Class | Description |
|---|---|
| Blitzer |
A class that "blitzes" an object by calling it many times, from multiple
threads.
|
| DeterministicExecutor | |
| DeterministicScheduler |
A
ScheduledExecutorService that executes commands on the thread that calls
runNextPendingCommand, runUntilIdle or
tick. |
| Synchroniser |
A ThreadingPolicy that makes the Mockery thread-safe and
helps tests synchronise with background threads.
|
| Exception | Description |
|---|---|
| UnsupportedSynchronousOperationException |
Thrown to report that a
DeterministicScheduler has been asked to perform
a blocking wait, which is not supported. |
Classes to help test concurrent code with jMock.
Copyright © 2003–2017 jMock. All rights reserved.