Package org.apache.maven.surefire.report
Interface ConsoleOutputReceiver
- All Known Subinterfaces:
TestcycleConsoleOutputReceiver
- All Known Implementing Classes:
ClassesParallelRunListener,ConcurrentRunListener,ConsoleOutputFileReporter,DirectConsoleOutput,ForkingRunListener,MethodsParallelRunListener,NonConcurrentRunListener,NullConsoleOutputReceiver,TestMethod,TestSetRunListener
public interface ConsoleOutputReceiver
A receiver of stdout/sterr output from running tests. This receiver knows how to associate
the output with a given testset.
-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTestOutput(String output, boolean newLine, boolean stdout) Forwards process output from the running test-case into the reporting system
-
Method Details
-
writeTestOutput
Forwards process output from the running test-case into the reporting system- Parameters:
output- stdout/sterr output from running testsnewLine- print on new linestdout- Indicates if this is stdout
-