|
|||||||||
| 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.pyant.tasks.PythonBaseTask
org.pyant.tasks.PythonInteractiveBaseTask
org.pyant.tasks.PythonTestTask
public class PythonTestTask
| Field Summary | |
|---|---|
protected File |
dir
Working directory to execute tests from. |
protected ArrayList |
filesets
Filesets of the unit tests to execute. |
protected boolean |
packagedtests
|
protected String |
testrunner
Python class to be used to execute unit tests. |
| Fields inherited from class org.pyant.tasks.PythonInteractiveBaseTask |
|---|
script |
| Fields inherited from class org.pyant.tasks.PythonBaseTask |
|---|
failonerror, optimize, python, pythonpath |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
PythonTestTask()
|
|
| Method Summary | |
|---|---|
void |
addFileSet(org.apache.tools.ant.types.FileSet fs)
|
void |
execute()
|
protected String |
getModulesArg(org.apache.tools.ant.Project project)
|
void |
setDir(File dir)
|
void |
setPackagedtests(boolean t)
|
void |
setTestRunner(String s)
|
| Methods inherited from class org.pyant.tasks.PythonInteractiveBaseTask |
|---|
addCommandlineArgs, createStreamHandler |
| Methods inherited from class org.pyant.tasks.PythonBaseTask |
|---|
createCommandline, createExecute, execExecuteTask, executeScript, failureOcurred, fixFilePath, getCommandline, getPython, prepCommandline, setFailonerror, setOptimize, setOptimizeArgument, setPython, setPythonpath, setPythonPathInExecute, setPythonpathref |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ArrayList filesets
protected File dir
protected String testrunner
protected boolean packagedtests
| Constructor Detail |
|---|
public PythonTestTask()
| Method Detail |
|---|
public void execute()
execute in class org.apache.tools.ant.Taskprotected String getModulesArg(org.apache.tools.ant.Project project)
project - public void setPackagedtests(boolean t)
public void addFileSet(org.apache.tools.ant.types.FileSet fs)
public void setDir(File dir)
public void setTestRunner(String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||