public class RoyaleUnitTask
extends org.apache.tools.ant.Task
implements org.apache.tools.ant.DynamicElement
| Constructor and Description |
|---|
RoyaleUnitTask() |
| Modifier and Type | Method and Description |
|---|---|
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) |
Object |
createDynamicElement(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(String executableFilePath) |
void |
setDebug(boolean value) |
void |
setDisplay(int number) |
void |
setFailureproperty(String failprop)
Custom ant property noting test failure
|
void |
setHaltonfailure(boolean fail)
Should we fail the build if the royale tests fail?
|
void |
setHeadless(boolean headless) |
void |
setLocalTrusted(boolean localTrusted)
Sets local trusted, default is false
|
void |
setPlayer(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(String testSWF)
The SWF for the RoyaleUnit tests to run.
|
void |
setTimeout(int timeout)
Set the timeout for receiving the royaleunit report.
|
void |
setToDir(String toDir)
Set the directory to output the test reports to.
|
void |
setVerbose(boolean verbose)
Toggle display of descriptive messages
|
void |
setWorkingDir(String workingDirPath) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setProject(org.apache.tools.ant.Project project)
setProject in class org.apache.tools.ant.ProjectComponentpublic 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(String testSWF)
testSWF - the SWF to set.public void setToDir(String toDir)
toDir - the directory to set.public void setHaltonfailure(boolean fail)
fail - public void setFailureproperty(String failprop)
failprop - public void setVerbose(boolean verbose)
verbose - public void setPlayer(String player)
public void setCommand(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(String workingDirPath)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void setDebug(boolean value)
Copyright © 2020 The Apache Software Foundation. All rights reserved.