aQute.junit.runtime
Class XMLResultFormatter

java.lang.Object
  extended by org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
      extended by aQute.junit.runtime.XMLResultFormatter
All Implemented Interfaces:
junit.framework.TestListener, org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter, org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror.JUnitResultFormatterMirror, org.apache.tools.ant.taskdefs.optional.junit.XMLConstants

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

An extension of the standard Ant XMLJUnitResultFormatter.

Since:
01-Oct-2009
Author:
thomas.diesler@jboss.com

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
XMLResultFormatter(String reportDir, String testSuiteName)
          Creates an XMLResultFormatter with the given report specs.
 
Method Summary
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
addError, addFailure, addFailure, endTest, endTestSuite, setOutput, setSystemError, setSystemOutput, startTest, startTestSuite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLResultFormatter

public XMLResultFormatter(String reportDir,
                          String testSuiteName)
                   throws IOException
Creates an XMLResultFormatter with the given report specs.

Parameters:
reportDir - The directory to generate the test reports in
testSuiteName - The test suite name.
Throws:
IOException - if the test report file cannot be created


Copyright © 2010 aQute SARL. All Rights Reserved.