java.lang.Cloneablepublic class RunTest
extends org.apache.tools.ant.Task
| Constructor | Description |
|---|---|
RunTest() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
This creates the reference output, if required, then tests
the current build.
|
protected java.util.Map |
runConverter(java.lang.ClassLoader loader,
java.lang.String dest,
java.lang.String compDir) |
Run the Converter.
|
protected void |
runReference() |
Run the tests for the reference jar file.
|
void |
setBasedir(java.lang.String str) |
Sets the base directory.
|
void |
setReference(java.lang.String str) |
Sets the reference directory.
|
void |
setRefVersion(java.lang.String str) |
Sets the reference version.
|
void |
setTestSuite(java.lang.String str) |
Sets the test suite name.
|
protected void |
testNewBuild() |
Test the current build.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, 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(java.lang.String str)
str - name of the test suitepublic void setBasedir(java.lang.String str)
str - base directorypublic void setReference(java.lang.String str)
str - reference directorypublic void setRefVersion(java.lang.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 java.util.Map runConverter(java.lang.ClassLoader loader,
java.lang.String dest,
java.lang.String compDir)
loader - the class loader to use to run the tests withdest - destination directorycompDir - comparison directoryCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.