org.jboss.ant.taskdefs
Class XMLJUnitMultipleResultFormatter

java.lang.Object
  extended byorg.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
      extended byorg.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter
All Implemented Interfaces:
org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter, junit.framework.TestListener, org.apache.tools.ant.taskdefs.optional.junit.XMLConstants

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

This class only serves the proposite of keep multiple JUnit runnings between different configurations. For example, if you run a testcase as cluster, and the same testcase as singlenode, we want to keep both results in the JUnitReport. This is a simple implementation that uses a variable defined jboss-configuration and put that as part of the name.

Author:
Clebert Suconic

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, PROPERTIES, PROPERTY, SYSTEM_ERR, SYSTEM_OUT, TESTCASE, TESTSUITE, TESTSUITES
 
Constructor Summary
XMLJUnitMultipleResultFormatter()
           
 
Method Summary
 void startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest test)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
addError, addFailure, addFailure, endTest, endTestSuite, setOutput, setSystemError, setSystemOutput, startTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLJUnitMultipleResultFormatter

public XMLJUnitMultipleResultFormatter()
Method Detail

startTestSuite

public void startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest test)


Copyright © 2004 JBoss Inc. All Rights Reserved.