public class TcasesTask
extends org.apache.tools.ant.Task
Tcases
. The properties of this class define the attributes of the task.
For example, the setInputDef
method defines a task attribute named "inputDef".
For a detailed description of these properties, see TcasesCommand.Options
.
To define a transform parameter (see the -p option
), use a nested <param>
element.Constructor and Description |
---|
TcasesTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredParam(org.apache.tools.ant.types.Parameter param)
Adds a transform parameter.
|
void |
execute()
Runs
Tcases with the specified options. |
File |
getGenDef()
Returns the generator definition path.
|
File |
getInputDef()
Returns the system input definition path.
|
File |
getLogFile()
Returns the log output file for Tcases.
|
File |
getOutDir()
Returns the output directory for generated test definitions.
|
File |
getOutFile()
Returns the test definition output path.
|
Long |
getSeed()
Returns the random seed used by generators.
|
File |
getTestDef()
Returns the output path for generated test definitions.
|
File |
getTransformDef()
Returns the transform file.
|
Integer |
getTuples()
Returns the default tuple size for all generators.
|
boolean |
isHtml()
Returns if using the HTML transform.
|
boolean |
isJunit()
Returns if using the JUnit transform.
|
boolean |
isNew()
Returns if previous contents of the test definition file are ignored.
|
boolean |
isNewSeed()
Returns if automatically choosing a new random seed used by generators.
|
void |
setGenDef(File genDef)
Changes the generator definition path.
|
void |
setHtml(boolean html)
Changes if using the HTML transform.
|
void |
setInputDef(File inputDef)
Changes the system input definition path.
|
void |
setJunit(boolean junit)
Changes if using the JUnit transform.
|
void |
setLogFile(File logFile)
Changes the log output file for Tcases.
|
void |
setNew(boolean newDef)
Changes if previous contents of the test definition file are ignored.
|
void |
setNewSeed(boolean newSeed)
If true, automatically chooses a new random seed used by generators.
|
void |
setOutDir(File outDir)
Changes the output directory for generated test definitions.
|
void |
setOutFile(File outFile)
Changes the test definition output path.
|
void |
setSeed(Long seed)
Changes the random seed used by generators.
|
void |
setTestDef(File testDef)
Changes the output path for generated test definitions.
|
void |
setTransformDef(File transformDef)
Changes the transform file.
|
void |
setTuples(Integer tuples)
Changes the default tuple size for all generators.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void execute() throws org.apache.tools.ant.BuildException
Tcases
with the specified options.execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setInputDef(File inputDef)
public File getInputDef()
public void setTuples(Integer tuples)
public Integer getTuples()
public void setOutFile(File outFile)
public File getOutFile()
public void setGenDef(File genDef)
public File getGenDef()
public void setJunit(boolean junit)
public boolean isJunit()
public void setHtml(boolean html)
public boolean isHtml()
public void setLogFile(File logFile)
public File getLogFile()
public void setNew(boolean newDef)
public boolean isNew()
public void setOutDir(File outDir)
public File getOutDir()
public void addConfiguredParam(org.apache.tools.ant.types.Parameter param)
public void setSeed(Long seed)
public Long getSeed()
public void setNewSeed(boolean newSeed)
public boolean isNewSeed()
public void setTransformDef(File transformDef)
public File getTransformDef()
public void setTestDef(File testDef)
public File getTestDef()
Copyright © 2024 The Cornutum Project. All rights reserved.