Author: jonesde
Date: Thu Jul 19 01:57:37 2007
New Revision: 557528
URL:
http://svn.apache.org/viewvc?view=rev&rev=557528Log:
Small change to show more information about exceptions that happen during test execution... kind of helpful when things blow up to know where
Modified:
ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java
Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java?view=diff&rev=557528&r1=557527&r2=557528==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java Thu Jul 19 01:57:37 2007
@@ -130,7 +130,7 @@
class JunitListener implements TestListener {
public void addError(Test test, Throwable throwable) {
- Debug.logWarning("[JUNIT (error)] - " + test.getClass().getName() + " : " + throwable.getMessage(), module);
+ Debug.logWarning(throwable, "[JUNIT (error)] - " + test.getClass().getName() + " : " + throwable.toString(), module);
}
public void addFailure(Test test, AssertionFailedError assertionFailedError) {