public class SystemErrWireListener
A KotlinTest listener that facilities testing writes to standard err, by copying any data written to standard err to an internal buffer.
Users can query the written data by fetching the buffer by invoking SystemErrWireListener.output.
SystemErrWireListener.output| Constructor and Description |
|---|
SystemErrWireListener(boolean tee)
A KotlinTest listener that facilities testing writes to standard err,
by copying any data written to standard err to an internal buffer.
|
SystemErrWireListener()
A KotlinTest listener that facilities testing writes to standard err,
by copying any data written to standard err to an internal buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterTest(io.kotlintest.TestCase testCase,
io.kotlintest.TestResult result) |
void |
beforeTest(io.kotlintest.TestCase testCase) |
java.lang.String |
output() |
public SystemErrWireListener(boolean tee)
A KotlinTest listener that facilities testing writes to standard err, by copying any data written to standard err to an internal buffer.
Users can query the written data by fetching the buffer by invoking SystemErrWireListener.output.
SystemErrWireListener.outputpublic SystemErrWireListener()
A KotlinTest listener that facilities testing writes to standard err, by copying any data written to standard err to an internal buffer.
Users can query the written data by fetching the buffer by invoking SystemErrWireListener.output.
SystemErrWireListener.output