in src/main/org/apache/ant/antunit/junit3/AntUnitTestCase.java [73:88]
public AntUnitTestCase(String name) {
super(name);
BuildException catchedEx = null;
AntUnitSuite createdSuite = null;
TestCaseName nameParser = new TestCaseName(name);
try {
createdSuite = new AntUnitSuite(this, nameParser.getScript());
} catch (BuildException e) {
catchedEx = e;
}
this.initialisationException = catchedEx;
this.suite = createdSuite;
this.target = nameParser.getTarget();
//There is no need to check here if the target still exists. This check
//will be done during execution, and we will get a very nice error
}