XMLFormatter (Grails 5.2.3)

Package: org.grails.test.report.junit

## [Java] Class XMLFormatter

- org.grails.test.report.junit.XMLFormatter

-     public class XMLFormatter
      extends org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter

  Sanitises the stack traces generated by tests.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter` | `TESTSUITES, TESTSUITE, TESTCASE, ERROR, FAILURE, SYSTEM_ERR, SYSTEM_OUT, ATTR_PACKAGE, ATTR_NAME, ATTR_TIME, ATTR_ERRORS, ATTR_FAILURES, ATTR_TESTS, ATTR_SKIPPED, ATTR_TYPE, ATTR_MESSAGE, PROPERTIES, PROPERTY, ATTR_VALUE, ATTR_CLASSNAME, ATTR_ID, TIMESTAMP, HOSTNAME`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `XMLFormatter (java.io.File file)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public void` | `addError(junit.framework.Test test, java.lang.Throwable throwable)`
    `` | `public void` | `addFailure(junit.framework.Test test, java.lang.Throwable throwable)`
    `` | `public void` | `setOutput(java.io.OutputStream out)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter` | `org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#addFailure(junit.framework.Test, junit.framework.AssertionFailedError), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#addFailure(junit.framework.Test, java.lang.Throwable), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#addError(junit.framework.Test, java.lang.Throwable), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#setOutput(java.io.OutputStream), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#endTest(junit.framework.Test), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#setSystemOutput(java.lang.String), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#setSystemError(java.lang.String), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#startTest(junit.framework.Test), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#testIgnored(junit.framework.Test), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#formatSkip(junit.framework.Test, java.lang.String), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#testAssumptionFailure(junit.framework.Test, java.lang.Throwable), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#wait(long, int), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#wait(long), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#wait(), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#equals(java.lang.Object), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#toString(), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#hashCode(), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#getClass(), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#notify(), org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter#notifyAll()`

- - ### Constructor Detail

    - #### public XMLFormatter(java.io.File file)

  - ### Method Detail

    - #### @java.lang.Override public void addError(junit.framework.Test test, java.lang.Throwable throwable)

    - #### @java.lang.Override public void addFailure(junit.framework.Test test, java.lang.Throwable throwable)

    - #### @java.lang.Override public void setOutput(java.io.OutputStream out)