| Class | Description |
|---|---|
| EnvironmentVariablesRule |
JUnit 4 rule which sets up the environment variables around whatever JUnit 4 is running
|
| SecurityManagerRule |
Set an alternative security manager within tests
|
| SystemErrAndOutRule | |
| SystemErrRule |
JUnit4 test rule that captures
System.err during tests. |
| SystemExitRule |
Add to a test to catch System exit events
|
| SystemInRule |
The
SystemIn system stub as a JUnit 4 test rule |
| SystemOutRule |
JUnit4 test rule that captures
System.out during tests. |
| SystemPropertiesRule |
Returns the system properties to their original state around each test block.
|
Copyright © 2020–2023. All rights reserved.