failure = (TestFailure) errorEnum.nextElement();
logger.severe("Test " + failure.failedTest().toString() + " failed --------");
Throwable th = failure.thrownException();
th.printStackTrace(System.err);
}
errorEnum = result.failures();
failure = null;
while (errorEnum.hasMoreElements()) {
failure = (TestFailure) errorEnum.nextElement();
logger.severe("Test " + failure.failedTest().toString() + " failed --------");
Throwable th = failure.thrownException();