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)
ConsoleOutputReceiver
writeTestOutput
in interface ConsoleOutputReceiver
buf
- the buffer to writeoff
- offsetlen
- lenstdout
- Indicates if this is stdoutpublic void testSetStarting(ReportEntry reportEntry)
testSetStarting
in interface TestcycleConsoleOutputReceiver
public void testSetCompleted(ReportEntry report)
testSetCompleted
in interface TestcycleConsoleOutputReceiver
public void close()
close
in interface TestcycleConsoleOutputReceiver
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.