public class RunTest
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
RunTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
This creates the reference output, if required, then tests
the current build.
|
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 directory.
|
void |
setRefVersion(String str)
Sets the reference version.
|
void |
setTestSuite(String str)
Sets the test suite name.
|
protected void |
testNewBuild()
Test the current build.
|
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 setTestSuite(String str)
str - name of the test suitepublic void setBasedir(String str)
str - base directorypublic void setReference(String str)
str - reference directorypublic void setRefVersion(String str)
str - reference versionpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected void testNewBuild()
protected void runReference()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if an error occursprotected Map runConverter(ClassLoader loader, String dest, String compDir)
loader - the class loader to use to run the tests withdest - destination directorycompDir - comparison directoryCopyright © 2025 Apache Software Foundation. All rights reserved.