|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.hjl.junitscript.ant.BaseTest
|
+--com.hjl.junitscript.ant.BatchTest
Create then run JUnitTest's based on the list of files given by the fileset attribute.
Every .java or .class file in the fileset is
assumed to be a testcase.
A JUnitTest is created for each of these named classes with basic setup
inherited from the parent BatchTest.
JUnitTest| Field Summary |
| Fields inherited from class com.hjl.junitscript.ant.BaseTest |
args, destDir, errorProperty, failureProperty, filtertrace, fork, formatters, haltOnError, haltOnFail, ifProperty, unlessProperty, useArgs |
| Constructor Summary | |
BatchTest(org.apache.tools.ant.Project project)
create a new batchtest instance |
|
| Method Summary | |
void |
addFileSet(org.apache.tools.ant.types.FileSet fs)
Add a new fileset instance to this batchtest. |
java.util.Enumeration |
elements()
Return all JUnitTest instances obtain by applying the fileset rules. |
| Methods inherited from class com.hjl.junitscript.ant.BaseTest |
addFormatter, createArg, getArguments, getErrorProperty, getFailureProperty, getFiltertrace, getFork, getHaltonerror, getHaltonfailure, getTodir, setArguments, setErrorProperty, setFailureProperty, setFiltertrace, setFork, setHaltonerror, setHaltonfailure, setIf, setTodir, setUnless, setUseArgs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BatchTest(org.apache.tools.ant.Project project)
project - the project it depends on.| Method Detail |
public void addFileSet(org.apache.tools.ant.types.FileSet fs)
fs - the new fileset containing the rules to get the testcases.public final java.util.Enumeration elements()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||