public class OutputCapture extends Object
@Rule
to capture output from System.out and System.err.Constructor and Description |
---|
OutputCapture() |
Modifier and Type | Method and Description |
---|---|
Statement |
apply(Statement base,
Description description) |
protected void |
captureOutput() |
void |
flush() |
protected void |
releaseOutput() |
String |
toString() |
Copyright © 2014. All rights reserved.