|
|||||||||||
| 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.JDBCTask
net.sourceforge.anttestsetgen.TestSetGenerator
The TestSetGenerator is an extension to Ant. The TestSetGenerator can be used to generated a property file based on the results of database queries. This is usefull when unit tests are run on a database that changes reguarly from content.
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
TestSetGenerator()
|
|
| Method Summary | |
void |
addConfiguredOutput(Output output)
Add a new output type. |
void |
addConfiguredTestSet(TestSet testSet)
Add a TestSet to the TestSetGenerator. |
void |
execute()
Execute the TestSetGenerator task. |
java.util.List |
getOutputs()
Retrieve a list with output types. |
java.util.List |
getTestSets()
Retrieve the TestSets that are in this TestSetGenerator. |
| Methods inherited from class org.apache.tools.ant.taskdefs.JDBCTask |
createClasspath, getClasspath, getConnection, getLoader, getLoaderMap, getPassword, getRdbms, getUrl, getUserId, getVersion, isAutocommit, isCaching, isValidRdbms, setAutocommit, setCaching, setClasspath, setClasspathRef, setDriver, setPassword, setRdbms, setUrl, setUserid, setVersion |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestSetGenerator()
| Method Detail |
public void addConfiguredTestSet(TestSet testSet)
testSet - The TestSet to be addedpublic java.util.List getTestSets()
TestSet,
addConfiguredTestSet(net.sourceforge.anttestsetgen.TestSet)public void addConfiguredOutput(Output output)
output - The new output type.public java.util.List getOutputs()
Output
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - A BuildException is thrown in case there is an error in the definition of the execution of the task.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||