net.sf.jameleon.ant
Class ExecuteTestCaseTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.jameleon.ant.ExecuteTestCaseTask
public class ExecuteTestCaseTask
- extends org.apache.tools.ant.Task
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 |
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 |
fileSets
protected final LinkedList fileSets
LB
protected static final String LB
DASH
protected static final String DASH
US
protected static final String US
debug
protected boolean debug
throwExceptionOnFailure
protected boolean throwExceptionOnFailure
printTestSuiteSummary
protected boolean printTestSuiteSummary
waitTimeBetweenScripts
protected long waitTimeBetweenScripts
contextVariables
protected final LinkedList contextVariables
environmentSettings
protected final LinkedList environmentSettings
ExecuteTestCaseTask
public ExecuteTestCaseTask()
execute
public final void execute()
throws org.apache.tools.ant.BuildException
- Jameleon's implementation of Task.execute().
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- If anything goes wrong.
setPrintTestSuiteSummary
public void setPrintTestSuiteSummary(boolean printTestSuiteSummary)
setThrowExceptionOnFailure
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
setDebug
public void setDebug(boolean debug)
setWaitTimeBetweenScripts
public void setWaitTimeBetweenScripts(long waitTimeBetweenScripts)
addVariable
public void addVariable(org.apache.tools.ant.types.Parameter parameter)
- Adds a variable to be set in the context
- Parameters:
parameter
- a name/value parameter.
addConfig
public void addConfig(org.apache.tools.ant.types.Parameter parameter)
- Adds a setting to jameleon.conf
- Parameters:
parameter
- a name/value parameter.
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet set)
- Ant's <fileset> definition. To define the files to parse.
- Parameters:
set
- a fileset to add
validateOptions
protected void validateOptions()
throws org.apache.tools.ant.BuildException
- Validate required options are set.
- Throws:
org.apache.tools.ant.BuildException
- if a fileset isn't set.
setParametersInContext
protected void setParametersInContext(Map contextVars)
setEnvironmentVariables
protected void setEnvironmentVariables(List environmentSettings)
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.