antUnitTestCase.run(testResult);
assertEquals(1 , testResult.errorCount());
TestFailure error = (TestFailure) testResult.errors().nextElement();
assertSame(antUnitTestCase, error.failedTest());
assertTrue("Unexpected error : " + error.exceptionMessage(),
error.exceptionMessage().contains("unknown"));
}
public void testInvalidFile() {
//when the ant script has changed (or just disappeared) and the user try