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