Package | Description |
---|---|
org.junit.contrib.java.lang.system |
Class | Description |
---|---|
Assertion |
An
Assertion encapsulates the code of an assertion into an object. |
EnvironmentVariables |
The
EnvironmentVariables rule allows you to set environment variables
for your test. |
ExpectedSystemExit |
The
ExpectedSystemExit allows in-test specification of expected
System.exit(...) calls. |
LogMode |
Deprecated.
This enum is no longer needed, because all rules that are using
it have been replaced with rules that don't need the enum.
|
ProvideSystemProperty |
The
ProvideSystemProperty rule provides an arbitrary value for a
system property to a test. |
SystemErrRule |
The
SystemErrRule intercepts the writes to
System.err . |
SystemOutRule |
The
SystemOutRule intercepts the writes to
System.out . |
TextFromStandardInputStream |
The
TextFromStandardInputStream rule replaces System.in with
another InputStream , which provides an arbitrary text. |
Copyright © 2011–2018. All rights reserved.