private String createFailureMessage(TestResult result) {
StringBuffer failureMessage = new StringBuffer();
for (Enumeration errors = result.errors(); errors.hasMoreElements();) {
TestFailure error = (TestFailure) errors.nextElement();
failureMessage.append(error.trace());
}
return failureMessage.toString();
}
private void performCleanupActions(Stack<CleanupAction> cleanupActions, TestResult testResult) {