|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.quilt.framework.QuiltTest
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).
Constructor Summary | |
QuiltTest()
No-arg constructor used by clone() |
|
QuiltTest(java.lang.String name)
Single-arg constructor. |
Method Summary | |
void |
addFormatter(FmtSelector elem)
|
void |
addFormattersTo(java.util.Vector v)
Add this test's formatters to a vector. |
java.lang.Object |
clone()
Clones, resetting the error/failure/run counts and runTime to zero. |
long |
errorCount()
|
long |
failureCount()
|
boolean |
getCheckCoverage()
|
java.lang.String |
getCheckExcludes()
|
java.lang.String[] |
getCheckExcludesArray()
|
java.lang.String |
getCheckIncludes()
|
java.lang.String[] |
getCheckIncludesArray()
|
java.lang.String |
getErrorProperty()
|
java.lang.String |
getFailureProperty()
|
boolean |
getFiltertrace()
|
boolean |
getFork()
|
java.util.Vector |
getFormatters()
|
boolean |
getHaltOnError()
|
boolean |
getHaltOnFailure()
|
java.lang.String |
getIfProperty()
|
boolean |
getMockTestRun()
|
java.lang.String |
getName()
|
java.lang.String |
getOutfile()
|
java.util.Properties |
getProperties()
|
long |
getRunTime()
|
boolean |
getShowOutput()
|
java.lang.String |
getTodir()
|
java.lang.String |
getUnlessProperty()
|
long |
runCount()
|
boolean |
runMe(org.apache.tools.ant.Project p)
Run this test if project properties permit. |
void |
setCheckCoverage(boolean b)
|
void |
setCheckExcludes(java.lang.String val)
|
void |
setCheckIncludes(java.lang.String val)
|
void |
setCounts(long runs,
long failures,
long errors)
|
void |
setErrorProperty(java.lang.String eP)
|
void |
setFailureProperty(java.lang.String fP)
|
void |
setFiltertrace(boolean b)
|
void |
setFork(boolean b)
|
void |
setHaltOnError(boolean b)
|
void |
setHaltOnFailure(boolean b)
|
void |
setIf(java.lang.String name)
|
void |
setMockTestRun(boolean b)
|
void |
setName(java.lang.String val)
|
void |
setOutfile(java.lang.String val)
|
void |
setProperties(java.util.Hashtable val)
Replace the test's Properties. |
void |
setRunTime(long val)
|
void |
setShowOutput(boolean b)
|
void |
setTodir(java.io.File dir)
|
void |
setUnless(java.lang.String name)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QuiltTest()
public QuiltTest(java.lang.String name)
name
- Full class name of test to be run.Method Detail |
public void setCounts(long runs, long failures, long errors)
public long errorCount()
public long failureCount()
public long runCount()
public java.util.Properties getProperties()
public void setProperties(java.util.Hashtable val)
val
- Hashtable containing new values.public long getRunTime()
public void setRunTime(long val)
public void addFormattersTo(java.util.Vector v)
public boolean getCheckCoverage()
public void setCheckCoverage(boolean b)
public java.lang.String getCheckExcludes()
public java.lang.String[] getCheckExcludesArray()
public void setCheckExcludes(java.lang.String val)
public java.lang.String getCheckIncludes()
public java.lang.String[] getCheckIncludesArray()
public void setCheckIncludes(java.lang.String val)
public java.lang.String getErrorProperty()
public void setErrorProperty(java.lang.String eP)
public java.lang.String getFailureProperty()
public void setFailureProperty(java.lang.String fP)
public boolean getFiltertrace()
public void setFiltertrace(boolean b)
public boolean getFork()
public void setFork(boolean b)
public void addFormatter(FmtSelector elem)
public java.util.Vector getFormatters()
public boolean getHaltOnError()
public void setHaltOnError(boolean b)
public boolean getHaltOnFailure()
public void setHaltOnFailure(boolean b)
public java.lang.String getIfProperty()
public void setIf(java.lang.String name)
public boolean getMockTestRun()
public void setMockTestRun(boolean b)
public java.lang.String getName()
public void setName(java.lang.String val)
public java.lang.String getOutfile()
public void setOutfile(java.lang.String val)
public boolean getShowOutput()
public void setShowOutput(boolean b)
public java.lang.String getTodir()
public void setTodir(java.io.File dir)
public java.lang.String getUnlessProperty()
public void setUnless(java.lang.String name)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean runMe(org.apache.tools.ant.Project p)
p
- The project that the QuiltTask is part of.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |