org.apache.tools.ant.taskdefs.optional.junit
Class JUnitTask.JUnitLogOutputStream
- JUnitTask
protected static class JUnitTask.JUnitLogOutputStream
A stream handler for handling the junit task.
protected void | processLine(String line, int level) - Logs a line.
|
JUnitLogOutputStream
public JUnitLogOutputStream(Task task,
int level)
Constructor.
task
- the task being logged.level
- the log level used to log data written to this stream.
processLine
protected void processLine(String line,
int level)
Logs a line.
If the line starts with junit.framework.TestListener: set the level
to MSG_VERBOSE.
- processLine in interface LogOutputStream
line
- the line to log.level
- the logging level to use.