| |
|
| java.lang.Object org.quilt.framework.QuiltTest
All known Subclasses: org.quilt.runner.Runner, org.quilt.runner.MockTestRunner, org.quilt.frontend.ant.BatchTest,
QuiltTest | public class QuiltTest implements Cloneable(Code) | | Parameters for controlling an individual task. These are and
must be compatible with names used in Ant build.xml build control
files. Most are set by methods whose name is derived from
the variable name -- for example fork is set by
setFork(b).
|
QuiltTest | public QuiltTest()(Code) | | No-arg constructor used by clone()
|
QuiltTest | public QuiltTest(String name)(Code) | | Single-arg constructor.
Parameters: name - Full class name of test to be run. |
addFormattersTo | public void addFormattersTo(Vector v)(Code) | | Add this test's formatters to a vector. A convenience method
with a mildly confusing name. Inherited from JUnitTask.
|
clone | public Object clone()(Code) | | Clones, resetting the error/failure/run counts and runTime to zero.
An Object, a copy of this QuiltTest. |
errorCount | public long errorCount()(Code) | | |
failureCount | public long failureCount()(Code) | | |
getCheckCoverage | public boolean getCheckCoverage()(Code) | | |
getCheckExcludesArray | public String[] getCheckExcludesArray()(Code) | | |
getCheckIncludesArray | public String[] getCheckIncludesArray()(Code) | | |
getFiltertrace | public boolean getFiltertrace()(Code) | | |
getFork | public boolean getFork()(Code) | | |
getHaltOnError | public boolean getHaltOnError()(Code) | | |
getHaltOnFailure | public boolean getHaltOnFailure()(Code) | | |
getMockTestRun | public boolean getMockTestRun()(Code) | | |
getProperties | public Properties getProperties()(Code) | | A reference to the test's Properties |
getRunTime | public long getRunTime()(Code) | | |
getShowOutput | public boolean getShowOutput()(Code) | | |
runCount | public long runCount()(Code) | | |
runMe | public boolean runMe(Project p)(Code) | | Run this test if project properties permit.
Parameters: p - The project that the QuiltTask is part of. True if this test should be run, false otherwise. |
setCheckCoverage | public void setCheckCoverage(boolean b)(Code) | | |
setCheckExcludes | public void setCheckExcludes(String val)(Code) | | |
setCheckIncludes | public void setCheckIncludes(String val)(Code) | | |
setCounts | public void setCounts(long runs, long failures, long errors)(Code) | | |
setErrorProperty | public void setErrorProperty(String eP)(Code) | | |
setFailureProperty | public void setFailureProperty(String fP)(Code) | | |
setFiltertrace | public void setFiltertrace(boolean b)(Code) | | |
setFork | public void setFork(boolean b)(Code) | | |
setHaltOnError | public void setHaltOnError(boolean b)(Code) | | |
setHaltOnFailure | public void setHaltOnFailure(boolean b)(Code) | | |
setMockTestRun | public void setMockTestRun(boolean b)(Code) | | |
setProperties | public void setProperties(Hashtable val)(Code) | | Replace the test's Properties. This is quite different from
the method in JUnitTask, which seems to contain errors.
Parameters: val - Hashtable containing new values. |
setRunTime | public void setRunTime(long val)(Code) | | |
setShowOutput | public void setShowOutput(boolean b)(Code) | | |
|
|
|