Introduce reset method to OutputCapture
Closes gh-8390
This commit is contained in:
committed by
Stephane Nicoll
parent
feb1ab375f
commit
a6f0da8cc6
@@ -91,6 +91,10 @@ public class OutputCapture implements TestRule {
|
||||
this.copy = null;
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
this.copy.reset();
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
try {
|
||||
this.captureOut.flush();
|
||||
|
||||
Reference in New Issue
Block a user