Class JUnitTask.JUnitLogOutputStream
java.lang.Object
java.io.OutputStream
org.apache.tools.ant.util.LineOrientedOutputStream
org.apache.tools.ant.taskdefs.LogOutputStream
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.JUnitLogOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
- Enclosing class:
- JUnitTask
A stream handler for handling the junit task.
- Since:
- Ant 1.7
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprocessLine(String line, int level) Logs a line.Methods inherited from class org.apache.tools.ant.taskdefs.LogOutputStreamgetMessageLevel, processBuffer, processLineMethods inherited from class org.apache.tools.ant.util.LineOrientedOutputStreamclose, flush, processLine, write, writeMethods inherited from class java.io.OutputStreamnullOutputStream, write
- 
Constructor Details- 
JUnitLogOutputStreamConstructor.- Parameters:
- task- the task being logged.
- level- the log level used to log data written to this stream.
 
 
- 
- 
Method Details- 
processLineLogs a line. If the line starts with junit.framework.TestListener: set the level to MSG_VERBOSE.- Overrides:
- processLinein class- LogOutputStream
- Parameters:
- line- the line to log.
- level- the logging level to use.
 
 
-