|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.flexunit.ant.tasks.FlexUnitTask
public class FlexUnitTask
Field Summary | |
---|---|
private TaskConfiguration |
configuration
|
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 | |
---|---|
FlexUnitTask()
|
Method Summary | |
---|---|
void |
addLibrary(org.apache.tools.ant.types.FileSet fileset)
|
void |
addSource(org.apache.tools.ant.types.FileSet fileset)
|
void |
addTestSource(org.apache.tools.ant.types.FileSet fileset)
|
java.lang.Object |
createDynamicElement(java.lang.String arg0)
|
void |
execute()
Called by Ant to execute the task. |
void |
setBuffer(int size)
The buffer size the uses for its inbound data stream. |
void |
setCommand(java.lang.String executableFilePath)
|
void |
setDebug(boolean value)
|
void |
setDisplay(int number)
|
void |
setFailureproperty(java.lang.String failprop)
Custom ant property noting test failure |
void |
setHaltonfailure(boolean fail)
Should we fail the build if the flex tests fail? |
void |
setHeadless(boolean headless)
|
void |
setLocalTrusted(boolean localTrusted)
Sets local trusted, default is false |
void |
setPlayer(java.lang.String player)
|
void |
setPort(int serverPort)
Set the port to receive the test results on. |
void |
setProject(org.apache.tools.ant.Project project)
|
void |
setSWF(java.lang.String testSWF)
The SWF for the FlexUnit tests to run. |
void |
setTimeout(int timeout)
Set the timeout for receiving the flexunit report. |
void |
setToDir(java.lang.String toDir)
Set the directory to output the test reports to. |
void |
setVerbose(boolean verbose)
Toggle display of descriptive messages |
void |
setWorkingDir(java.lang.String workingDirPath)
|
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private TaskConfiguration configuration
Constructor Detail |
---|
public FlexUnitTask()
Method Detail |
---|
public void setProject(org.apache.tools.ant.Project project)
setProject
in class org.apache.tools.ant.ProjectComponent
public void setLocalTrusted(boolean localTrusted)
localTrusted
- public void setPort(int serverPort)
serverPort
- the port to set.public void setTimeout(int timeout)
timeout
- in milliseconds.public void setBuffer(int size)
public void setSWF(java.lang.String testSWF)
testSWF
- the SWF to set.public void setToDir(java.lang.String toDir)
toDir
- the directory to set.public void setHaltonfailure(boolean fail)
fail
- public void setFailureproperty(java.lang.String failprop)
failprop
- public void setVerbose(boolean verbose)
verbose
- public void setPlayer(java.lang.String player)
public void setCommand(java.lang.String executableFilePath)
public void setHeadless(boolean headless)
public void setDisplay(int number)
public void addSource(org.apache.tools.ant.types.FileSet fileset)
public void addTestSource(org.apache.tools.ant.types.FileSet fileset)
public void addLibrary(org.apache.tools.ant.types.FileSet fileset)
public void setWorkingDir(java.lang.String workingDirPath)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setDebug(boolean value)
public java.lang.Object createDynamicElement(java.lang.String arg0) throws org.apache.tools.ant.BuildException
createDynamicElement
in interface org.apache.tools.ant.DynamicElement
org.apache.tools.ant.BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |