Package org.xwiki.test.integration.junit
Class LogCapture
- java.lang.Object
-
- org.xwiki.test.integration.junit.LogCapture
-
public class LogCapture extends Object
Captures stdout and stderr while still outputting content to them.- Since:
- 11.4RC1
- Version:
- $Id: e93e287f1ed7210fe0ebec566a48686bc5c98512 $
-
-
Constructor Summary
Constructors Constructor Description LogCapture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
startCapture()
Start capturing stdout/stderr.String
stopCapture()
Stop capturing stdout/stderr.
-
-
-
Method Detail
-
startCapture
public void startCapture()
Start capturing stdout/stderr.
-
stopCapture
public String stopCapture()
Stop capturing stdout/stderr.- Returns:
- the captured output
-
-