|
||||||||||
| 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.junitee.anttask.JUnitEETask
This ant task runs server-side unit tests using the JUnitEE test runner.
| 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 | |
JUnitEETask()
|
|
| Method Summary | |
void |
addFormatter(FormatterElement formatter)
|
JUnitEETest |
createTest()
Create a nested test element. |
void |
execute()
|
protected void |
execute(JUnitEETest test)
|
void |
setErrorproperty(java.lang.String value)
Tell the task which property should be set in case of an error. |
void |
setFailureproperty(java.lang.String value)
Tell the task which property should be set in case of an error or test failure. |
void |
setFiltertrace(boolean filtertrace)
|
void |
setHaltonerror(boolean value)
Tell the task how to handle errors. |
void |
setHaltonfailure(boolean value)
Tell the task how to handle test failures. |
void |
setPrintsummary(boolean printSummary)
Tell the task to print a verbose test summary. |
void |
setThreaded(boolean threaded)
|
void |
setUrl(java.lang.String url)
Set the URL to call the JUnitEE test servlet. |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| 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 JUnitEETask()
| Method Detail |
public void setUrl(java.lang.String url)
url - URL of the JUnitEE test servletpublic void setThreaded(boolean threaded)
public void setFiltertrace(boolean filtertrace)
public void setHaltonfailure(boolean value)
value - true, if the task should stop execution on test failures and errorspublic void setHaltonerror(boolean value)
value - true, if the task should stop execution on errorspublic void setPrintsummary(boolean printSummary)
public void setErrorproperty(java.lang.String value)
value - name of the property to set in case of an errorpublic void setFailureproperty(java.lang.String value)
value - name of the property to set in case of an error or test failurepublic JUnitEETest createTest()
public void addFormatter(FormatterElement formatter)
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
protected void execute(JUnitEETest test)
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||