Package de.hybris.ant.taskdefs.yunit
Class JUnitTask.JUnitLogOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.tools.ant.util.LineOrientedOutputStream
-
- org.apache.tools.ant.taskdefs.LogOutputStream
-
- de.hybris.ant.taskdefs.yunit.JUnitTask.JUnitLogOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- JUnitTask
protected static class JUnitTask.JUnitLogOutputStream extends org.apache.tools.ant.taskdefs.LogOutputStreamA stream handler for handling the junit task.- Since:
- Ant 1.7
-
-
Constructor Summary
Constructors Constructor Description JUnitLogOutputStream(org.apache.tools.ant.Task task, int level)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessLine(java.lang.String line, int level)Logs a line.-
Methods inherited from class org.apache.tools.ant.taskdefs.LogOutputStream
getMessageLevel, processBuffer, processLine
-
-
-
-
Method Detail
-
processLine
protected void processLine(java.lang.String line, int level)Logs a line. If the line starts with junit.framework.TestListener: set the level to MSG_VERBOSE.- Overrides:
processLinein classorg.apache.tools.ant.taskdefs.LogOutputStream- Parameters:
line- the line to log.level- the logging level to use.
-
-