Class NullConsoleOutputReceiver
- java.lang.Object
-
- org.apache.maven.plugin.surefire.report.NullConsoleOutputReceiver
-
- All Implemented Interfaces:
TestcycleConsoleOutputReceiver
,ConsoleOutputReceiver
class NullConsoleOutputReceiver extends java.lang.Object implements TestcycleConsoleOutputReceiver
ConsoleReporter doing nothing rather than using null.- Since:
- 2.20
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static NullConsoleOutputReceiver
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
NullConsoleOutputReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
testSetCompleted(ReportEntry report)
void
testSetStarting(ReportEntry reportEntry)
void
writeTestOutput(byte[] buf, int off, int len, boolean stdout)
Forwards process output from the running test-case into the reporting system
-
-
-
Field Detail
-
INSTANCE
static final NullConsoleOutputReceiver INSTANCE
-
-
Method Detail
-
testSetStarting
public void testSetStarting(ReportEntry reportEntry)
- Specified by:
testSetStarting
in interfaceTestcycleConsoleOutputReceiver
-
testSetCompleted
public void testSetCompleted(ReportEntry report)
- Specified by:
testSetCompleted
in interfaceTestcycleConsoleOutputReceiver
-
close
public void close()
- Specified by:
close
in interfaceTestcycleConsoleOutputReceiver
-
writeTestOutput
public void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
Description copied from interface:ConsoleOutputReceiver
Forwards process output from the running test-case into the reporting system- Specified by:
writeTestOutput
in interfaceConsoleOutputReceiver
- Parameters:
buf
- the buffer to writeoff
- offsetlen
- lenstdout
- Indicates if this is stdout
-
-