Class DirectConsoleOutput
- java.lang.Object
-
- org.apache.maven.plugin.surefire.report.DirectConsoleOutput
-
- All Implemented Interfaces:
TestcycleConsoleOutputReceiver
,org.apache.maven.surefire.report.ConsoleOutputReceiver
public class DirectConsoleOutput extends java.lang.Object implements TestcycleConsoleOutputReceiver
Outputs test system out/system err directly to the console
Just a step on the road to getting the separation of reporting concerns operating properly.- Author:
- Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description DirectConsoleOutput(java.io.PrintStream sout, java.io.PrintStream serr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
testSetCompleted(org.apache.maven.surefire.report.ReportEntry report)
void
testSetStarting(org.apache.maven.surefire.report.ReportEntry reportEntry)
void
writeTestOutput(byte[] buf, int off, int len, boolean stdout)
-
-
-
Method Detail
-
writeTestOutput
public void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
- Specified by:
writeTestOutput
in interfaceorg.apache.maven.surefire.report.ConsoleOutputReceiver
-
testSetStarting
public void testSetStarting(org.apache.maven.surefire.report.ReportEntry reportEntry)
- Specified by:
testSetStarting
in interfaceTestcycleConsoleOutputReceiver
-
testSetCompleted
public void testSetCompleted(org.apache.maven.surefire.report.ReportEntry report)
- Specified by:
testSetCompleted
in interfaceTestcycleConsoleOutputReceiver
-
close
public void close()
- Specified by:
close
in interfaceTestcycleConsoleOutputReceiver
-
-