Uses of Package
org.junit.contrib.java.lang.system
Packages that use org.junit.contrib.java.lang.system
-
Classes in org.junit.contrib.java.lang.system used by org.junit.contrib.java.lang.systemClassDescriptionAn
Assertion
encapsulates the code of an assertion into an object.TheEnvironmentVariables
rule allows you to set environment variables for your test.TheExpectedSystemExit
allows in-test specification of expectedSystem.exit(...)
calls.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.TheProvideSecurityManager
rule provides an arbitrary security manager to a test.TheProvideSystemProperty
rule provides an arbitrary value for a system property to a test.TheSystemErrRule
intercepts the writes toSystem.err
.TheSystemOutRule
intercepts the writes toSystem.out
.TheTextFromStandardInputStream
rule replacesSystem.in
with anotherInputStream
, which provides an arbitrary text.