public class ConsoleOutputFileReporter extends Object implements TestcycleConsoleOutputReceiver
File
for each test suite.
This class is not threadsafe, but can be serially handed off from thread to thread.Constructor and Description |
---|
ConsoleOutputFileReporter(File reportsDirectory,
String reportNameSuffix) |
Modifier and Type | Method and 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
|
public void testSetStarting(ReportEntry reportEntry)
testSetStarting
in interface TestcycleConsoleOutputReceiver
public void testSetCompleted(ReportEntry report) throws ReporterException
testSetCompleted
in interface TestcycleConsoleOutputReceiver
ReporterException
public void close()
close
in interface TestcycleConsoleOutputReceiver
public void writeTestOutput(byte[] buf, int off, int len, boolean stdout)
ConsoleOutputReceiver
writeTestOutput
in interface ConsoleOutputReceiver
buf
- the buffer to writeoff
- offsetlen
- lenstdout
- Indicates if this is stdoutCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.