Package de.tum.in.test.api.io
Class OutputTester
java.lang.Object
de.tum.in.test.api.io.OutputTester
public final class OutputTester
extends java.lang.Object
Captures console output as
Lines, and therefore is OS line separator
independent. The lines get numbered.- Since:
- 0.1.0
- Version:
- 1.0.0
- Author:
- Christian Femers
- See Also:
IOTester
-
Constructor Summary
Constructors Constructor Description OutputTester() -
Method Summary
Modifier and Type Method Description voidacceptOutput(java.nio.CharBuffer output)java.util.List<Line>getOutput()voidresetOutput()
-
Constructor Details
-
OutputTester
public OutputTester()
-
-
Method Details
-
acceptOutput
public void acceptOutput(java.nio.CharBuffer output) -
resetOutput
public void resetOutput() -
getOutput
-