|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter org.codehaus.groovy.grails.test.report.junit.XMLFormatter
public class XMLFormatter
JUnit XML formatter that sanitises the stack traces generated by tests.
Field Summary |
---|
Fields inherited from interface org.apache.tools.ant.taskdefs.optional.junit.XMLConstants |
---|
ATTR_CLASSNAME, ATTR_ERRORS, ATTR_FAILURES, ATTR_ID, ATTR_MESSAGE, ATTR_NAME, ATTR_PACKAGE, ATTR_TESTS, ATTR_TIME, ATTR_TYPE, ATTR_VALUE, ERROR, FAILURE, HOSTNAME, PROPERTIES, PROPERTY, SYSTEM_ERR, SYSTEM_OUT, TESTCASE, TESTSUITE, TESTSUITES, TIMESTAMP |
Constructor Summary | |
---|---|
XMLFormatter(File file)
|
Method Summary | |
---|---|
void |
addError(junit.framework.Test test,
Throwable throwable)
|
void |
addFailure(junit.framework.Test test,
Throwable throwable)
|
void |
setOutput(OutputStream out)
|
Methods inherited from class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter |
---|
addFailure, endTest, endTestSuite, setSystemError, setSystemOutput, startTest, startTestSuite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLFormatter(File file)
Method Detail |
---|
public void setOutput(OutputStream out)
setOutput
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
setOutput
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror.JUnitResultFormatterMirror
setOutput
in class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
public void addFailure(junit.framework.Test test, Throwable throwable)
addFailure
in class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
public void addError(junit.framework.Test test, Throwable throwable)
addError
in interface junit.framework.TestListener
addError
in class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |