public class DirectConsoleOutput extends Object implements TestcycleConsoleOutputReceiver
| Constructor and Description |
|---|
DirectConsoleOutput(PrintStream sout,
PrintStream serr) |
| 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 DirectConsoleOutput(PrintStream sout, PrintStream serr)
public void writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout)
ConsoleOutputReceiverwriteTestOutput in interface ConsoleOutputReceiverbuf - the buffer to writeoff - offsetlen - lenstdout - Indicates if this is stdoutpublic void testSetStarting(ReportEntry reportEntry)
testSetStarting in interface TestcycleConsoleOutputReceiverpublic void testSetCompleted(ReportEntry report)
testSetCompleted in interface TestcycleConsoleOutputReceiverpublic void close()
close in interface TestcycleConsoleOutputReceiverCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.