org.jboss.portal.common.junit.ant
Class ConfigurableJUnitTest

java.lang.Object
  extended by JUnitTest
      extended by org.jboss.portal.common.junit.ant.ConfigurableJUnitTest

public class ConfigurableJUnitTest
extends JUnitTest

Used by ant to create a representation of the test to run.

Version:
$Revision: 7228 $
Author:
Julien Viet

Constructor Summary
ConfigurableJUnitTest()
           
 
Method Summary
 void addParameter(TestParameter parameter)
           
 java.lang.String getId()
           
 void saveState()
          Save the state of the junit test on the disk for reuse later in the forked virtual machine.
 void setId(java.lang.String id)
           
 void setTask(ConfigurableJUnitTask task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableJUnitTest

public ConfigurableJUnitTest()
Method Detail

addParameter

public void addParameter(TestParameter parameter)

setTask

public void setTask(ConfigurableJUnitTask task)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

saveState

public void saveState()
Save the state of the junit test on the disk for reuse later in the forked virtual machine. As there is not clear life cycle of the usage of this class, we need to save the state initially and on every update.