|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
org.apache.cactus.integration.ant.CactusTask
An Ant task that extends the optional JUnit task to provide support for in-container testing.
Nested Class Summary |
Nested classes inherited from class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask |
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.SummaryAttribute |
Constructor Summary | |
CactusTask()
Constructor. |
Method Summary | |
void |
addContainerSet(ContainerSet theContainerSet)
Adds the nested containers element (only one is permitted). |
void |
execute()
|
void |
init()
|
void |
setEarFile(java.io.File theEarFile)
Sets the enterprise application archive that will be tested. |
void |
setWarFile(java.io.File theWarFile)
Sets the web application archive that will be tested. |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask |
addEnv, addFormatter, addSysproperty, addTest, createBatchTest, createClasspath, createJvmarg, handleErrorFlush, handleErrorOutput, setDir, setErrorProperty, setFailureProperty, setFiltertrace, setFork, setHaltonerror, setHaltonfailure, setIncludeantruntime, setJvm, setMaxmemory, setNewenvironment, setPrintsummary, setShowOutput, setTimeout |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CactusTask() throws java.lang.Exception
java.lang.Exception
- If the constructor of JUnitTask throws an exceptionMethod Detail |
public void init()
Task.init()
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
Task.execute()
public final void addContainerSet(ContainerSet theContainerSet)
theContainerSet
- The nested element to addpublic final void setEarFile(java.io.File theEarFile)
theEarFile
- The EAR file to setpublic final void setWarFile(java.io.File theWarFile)
theWarFile
- The WAR file to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |