org.flexunit.ant.tasks.configuration
Class TestRunConfiguration

java.lang.Object
  extended by org.flexunit.ant.tasks.configuration.TestRunConfiguration
All Implemented Interfaces:
StepConfiguration

public class TestRunConfiguration
extends java.lang.Object
implements StepConfiguration


Field Summary
private  java.io.File command
           
private  int display
           
private  boolean failOnTestFailure
           
private  java.lang.String failureProperty
           
private  java.io.File flexHome
           
private  int FLOOR_FOR_PORT
           
private  boolean headless
           
private  boolean isLocalTrusted
           
private  OperatingSystem os
           
private  java.lang.String player
           
private  int port
           
private  java.io.File precompiledAppDescriptor
           
private  java.io.File reportDir
           
private  int serverBufferSize
           
private  int SHORTEST_SOCKET_TIMEOUT
           
private  int socketTimeout
           
private  java.io.File swf
           
private  java.lang.String url
           
 
Constructor Summary
TestRunConfiguration()
           
 
Method Summary
 java.io.File getCommand()
           
 int getDisplay()
           
 java.lang.String getFailureProperty()
           
 java.io.File getFlexHome()
           
 OperatingSystem getOs()
           
 java.lang.String getPlayer()
           
 int getPort()
           
 java.io.File getPrecompiledAppDescriptor()
           
 java.io.File getReportDir()
           
 int getServerBufferSize()
           
 int getSocketTimeout()
           
 java.io.File getSwf()
           
 java.lang.String getUrl()
           
 boolean isCustomCommand()
           
 boolean isFailOnTestFailure()
           
 boolean isHeadless()
           
 boolean isLocalTrusted()
           
 void log()
           
 void setCommand(java.io.File command)
           
 void setDisplay(int display)
           
 void setFailOnTestFailure(boolean failOnTestFailure)
           
 void setFailureProperty(java.lang.String failureProperty)
           
 void setFlexHome(java.io.File flexHome)
           
 void setHeadless(boolean headless)
           
 void setLocalTrusted(boolean isLocalTrusted)
           
 void setPlayer(java.lang.String player)
           
 void setPort(int port)
           
 void setPrecompiledAppDescriptor(java.io.File precompiledAppDescriptor)
           
 void setReportDir(java.io.File reportDir)
           
 void setServerBufferSize(int serverBufferSize)
           
 void setSocketTimeout(int socketTimeout)
           
 void setSwf(java.io.File swf)
           
 void setUrl(java.lang.String url)
           
 boolean usePolicyFile()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOOR_FOR_PORT

private final int FLOOR_FOR_PORT
See Also:
Constant Field Values

SHORTEST_SOCKET_TIMEOUT

private final int SHORTEST_SOCKET_TIMEOUT
See Also:
Constant Field Values

player

private java.lang.String player

command

private java.io.File command

display

private int display

failOnTestFailure

private boolean failOnTestFailure

failureProperty

private java.lang.String failureProperty

flexHome

private java.io.File flexHome

headless

private boolean headless

isLocalTrusted

private boolean isLocalTrusted

port

private int port

reportDir

private java.io.File reportDir

serverBufferSize

private int serverBufferSize

socketTimeout

private int socketTimeout

swf

private java.io.File swf

url

private java.lang.String url

precompiledAppDescriptor

private java.io.File precompiledAppDescriptor

os

private OperatingSystem os
Constructor Detail

TestRunConfiguration

public TestRunConfiguration()
Method Detail

getCommand

public java.io.File getCommand()

setCommand

public void setCommand(java.io.File command)

isCustomCommand

public boolean isCustomCommand()

getDisplay

public int getDisplay()

setDisplay

public void setDisplay(int display)

isFailOnTestFailure

public boolean isFailOnTestFailure()

setFailOnTestFailure

public void setFailOnTestFailure(boolean failOnTestFailure)

getFailureProperty

public java.lang.String getFailureProperty()

setFailureProperty

public void setFailureProperty(java.lang.String failureProperty)

getFlexHome

public java.io.File getFlexHome()

setFlexHome

public void setFlexHome(java.io.File flexHome)

isHeadless

public boolean isHeadless()

setHeadless

public void setHeadless(boolean headless)

isLocalTrusted

public boolean isLocalTrusted()

usePolicyFile

public boolean usePolicyFile()

setLocalTrusted

public void setLocalTrusted(boolean isLocalTrusted)

getPlayer

public java.lang.String getPlayer()

setPlayer

public void setPlayer(java.lang.String player)

getPort

public int getPort()

setPort

public void setPort(int port)

getReportDir

public java.io.File getReportDir()

setReportDir

public void setReportDir(java.io.File reportDir)

getServerBufferSize

public int getServerBufferSize()

setServerBufferSize

public void setServerBufferSize(int serverBufferSize)

getSocketTimeout

public int getSocketTimeout()

setSocketTimeout

public void setSocketTimeout(int socketTimeout)

getSwf

public java.io.File getSwf()

setSwf

public void setSwf(java.io.File swf)

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

getPrecompiledAppDescriptor

public java.io.File getPrecompiledAppDescriptor()

setPrecompiledAppDescriptor

public void setPrecompiledAppDescriptor(java.io.File precompiledAppDescriptor)

getOs

public OperatingSystem getOs()

validate

public void validate()
              throws org.apache.tools.ant.BuildException
Specified by:
validate in interface StepConfiguration
Throws:
org.apache.tools.ant.BuildException

log

public void log()
Specified by:
log in interface StepConfiguration