|
||||||||||
| 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.foray.app.ant.RunTest
public class RunTest
Ant task to run the FOray test suite. This task is used to test FOray as a build target. This uses the TestConverter (with weak code dependancy) to run the tests and check the results.
| Field Summary |
|---|
| 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 | |
|---|---|
RunTest()
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute()
Execute this ant task. |
protected Map<?,?> |
runConverter(ClassLoader loader,
String dest,
String compDir)
Run the Converter. |
protected void |
runReference()
Run the tests for the reference jar file. |
void |
setBasedir(String str)
Sets the base directory. |
void |
setReference(String str)
Sets the reference JAR. |
void |
setRefVersion(String str)
Sets the reference version. |
void |
setTestSuite(String str)
Sets the test suite to run. |
protected void |
testNewBuild()
Test the current build. |
| 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 |
| Constructor Detail |
|---|
public RunTest()
| Method Detail |
|---|
public void setTestSuite(String str)
str - The name of the test suite.public void setBasedir(String str)
str - The new base directory.public void setReference(String str)
str - The new reference JAR.public void setRefVersion(String str)
str - The new reference version.public void execute()
execute in class org.apache.tools.ant.Taskprotected void testNewBuild()
protected void runReference()
protected Map<?,?> runConverter(ClassLoader loader,
String dest,
String compDir)
loader - The class loader to use to run the tests with.dest - The name of the destination directory.compDir - The name of the comparison directory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||