| Package | Description |
|---|---|
| org.junit.contrib.java.lang.system |
| Modifier and Type | Method and Description |
|---|---|
static LogMode |
LogMode.valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static LogMode[] |
LogMode.values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
StandardErrorStreamLog(LogMode mode)
Deprecated.
Please use
new SystemErrRule().enableLog()
instead of
new StandardErrorStreamLog(LogMode.LOG_AND_WRITE_TO_STREAM) or
new SystemErrRule().enableLog().mute()
instead of new StandardErrorStreamLog(LogMode.LOG_ONLY).
Creates a rule that records writes to the standard error stream
according to the specified |
StandardOutputStreamLog(LogMode mode)
Deprecated.
Please use
new SystemOutRule().enableLog()
instead of
new StandardOutputStreamLog(LogMode.LOG_AND_WRITE_TO_STREAM) or
new SystemOutRule().enableLog().mute()
instead of new StandardOutputStreamLog(LogMode.LOG_ONLY).
Creates a rule that records writes to the standard output stream
according to the specified |