org.apache.ant.antunit.junit3
public class AntUnitTestCase extends TestCase
| Constructor and Description |
|---|
AntUnitTestCase(AntUnitSuite suite,
java.io.File scriptFile,
java.lang.String target)
Prepare an AntUnitTestCase that will be executed in a suite.
|
AntUnitTestCase(java.lang.String name)
Prepare an AntUnitTestCase that will be executed alone.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTarget()
Get the AntUnit test target name
|
void |
run(TestResult result)
Called by a Junit Runner that want to executes specifically
this test target.
|
protected void |
runTest()
Normally never used because this object delegates all execution
to an AntUnitSuite.
|
public AntUnitTestCase(java.lang.String name)
name - The name of the AntUnitTestCase, normally obtained from a
previous execution.public AntUnitTestCase(AntUnitSuite suite, java.io.File scriptFile, java.lang.String target)
target - antScriptRunner - executionEnv - public java.lang.String getTarget()
public void run(TestResult result)
protected void runTest()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException