Class DirectConsoleOutput
java.lang.Object
org.apache.maven.plugin.surefire.report.DirectConsoleOutput
- All Implemented Interfaces:
TestcycleConsoleOutputReceiver,TestOutputReceiver<TestOutputReportEntry>,ConsoleOutputReportEventListener
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.
Just a step on the road to getting the separation of reporting concerns operating properly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidtestSetCompleted(TestSetReportEntry report) voidtestSetStarting(TestSetReportEntry reportEntry) voidwriteTestOutput(TestOutputReportEntry reportEntry) Forwards process output from the running test-case into the reporting system
-
Field Details
-
out
-
err
-
-
Constructor Details
-
DirectConsoleOutput
-
-
Method Details
-
writeTestOutput
Description copied from interface:TestOutputReceiverForwards process output from the running test-case into the reporting system- Specified by:
writeTestOutputin interfaceConsoleOutputReportEventListener- Specified by:
writeTestOutputin interfaceTestOutputReceiver<TestOutputReportEntry>- Parameters:
reportEntry- wraps test output with descriptive information of the output
-
testSetStarting
- Specified by:
testSetStartingin interfaceConsoleOutputReportEventListener- Specified by:
testSetStartingin interfaceTestcycleConsoleOutputReceiver
-
testSetCompleted
- Specified by:
testSetCompletedin interfaceConsoleOutputReportEventListener- Specified by:
testSetCompletedin interfaceTestcycleConsoleOutputReceiver
-
close
public void close()- Specified by:
closein interfaceConsoleOutputReportEventListener- Specified by:
closein interfaceTestcycleConsoleOutputReceiver
-