org.jboss.portal.common.junit.ant
Class ConfigurableJUnitTest
java.lang.Object
JUnitTest
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableJUnitTest
public ConfigurableJUnitTest()
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.