|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.berlios.jsunit.ant.JsUnitSuite
A JsUnit subtask modeling a test suite.
| Nested Class Summary | |
static class |
JsUnitSuite.TestRunType
The enumeration for the test type. |
| Constructor Summary | |
JsUnitSuite()
|
|
| Method Summary | |
void |
addFileSet(org.apache.tools.ant.types.FileSet fileSet)
Add a FileSet with JsUnit tests. |
java.lang.String |
getCharacterSet()
Requests the character set |
int |
getErrors()
Retrieve the number of errors. |
int |
getFailures()
Retrieve the number of failures. |
java.lang.String |
getName()
Retrieves the name of the test suite. |
void |
run(org.apache.tools.ant.Project project,
de.berlios.jsunit.JsUnitRhinoRunner runner)
Run the test suite. |
void |
setCharacterSet(java.lang.String characterSet)
Sets the character set. |
void |
setName(java.lang.String name)
Set the name of the test suite. |
void |
setToDir(java.io.File toDir)
Set the directory for the generated XML reports. |
void |
setType(JsUnitSuite.TestRunType type)
Set the type of the test suite. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JsUnitSuite()
| Method Detail |
public void setName(java.lang.String name)
name - the namepublic java.lang.String getName()
public void setType(JsUnitSuite.TestRunType type)
type - the typeJsUnitTaskpublic void setToDir(java.io.File toDir)
toDir - the target directorypublic void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
fileSet - the file set.public void setCharacterSet(java.lang.String characterSet)
characterSet - the name of the character setpublic java.lang.String getCharacterSet()
null
public void run(org.apache.tools.ant.Project project,
de.berlios.jsunit.JsUnitRhinoRunner runner)
throws org.apache.tools.ant.BuildException
project - the projectrunner - the prepared Rhino context
org.apache.tools.ant.BuildException - if the test cannot run or have been abortedpublic int getErrors()
public int getFailures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||