| Interface | Description |
|---|---|
| Assertion |
An
Assertion encapsulates the code of an assertion into an object. |
| Class | Description |
|---|---|
| ClearSystemProperties |
The
ClearSystemProperties rule clears a set of system
properties when the test starts and restores their original values
when the test finishes (whether it passes or fails). |
| ExpectedSystemExit |
The
ExpectedSystemExit allows in-test specification of expected
System.exit(...) calls. |
| ProvideSecurityManager |
The
ProvideSecurityManager rule provides an arbitrary security
manager to a test. |
| ProvideSystemProperty |
The
ProvideSystemProperty rule provides an arbitrary value for a
system property to a test. |
| RestoreSystemProperties |
The
RestoreSystemProperties rule undoes changes of system
properties when the test finishes (whether it passes or fails). |
| StandardErrorStreamLog |
The
StandardErrorStreamLog records writes to the standard error
stream. |
| StandardOutputStreamLog |
The
StandardOutputStreamLog records writes to the standard output
stream. |
| TextFromStandardInputStream |
The
TextFromStandardInputStream rule replaces System.in with
another InputStream, which provides an arbitrary text. |
| Enum | Description |
|---|---|
| LogMode |
Mode of the
StandardErrorStreamLog
and the StandardOutputStreamLog. |
Copyright © 2011-2015. All Rights Reserved.