You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2014/07/15 13:23:43 UTC

svn commit: r1610655 - /tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java

Author: andygumbrecht
Date: Tue Jul 15 11:23:43 2014
New Revision: 1610655

URL: http://svn.apache.org/r1610655
Log:
Fail logging

Modified:
    tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java

Modified: tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java?rev=1610655&r1=1610654&r2=1610655&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java (original)
+++ tomee/tomee/branches/tomee-1.7.x/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java Tue Jul 15 11:23:43 2014
@@ -34,7 +34,7 @@ public class OpenEJBJUnitDebugListener e
     private static final boolean UNIX = !OS.toLowerCase(Locale.ENGLISH).startsWith("windows");
 
     static {
-        System.out.println(">>OpenEJBJUnitDebugListener> will debug - unix? " + UNIX + " (" + OS + ")");
+        //System.out.println(">>OpenEJBJUnitDebugListener> will debug - unix? " + UNIX + " (" + OS + ")");
     }
 
     private MonitoringThread thread;
@@ -75,7 +75,10 @@ public class OpenEJBJUnitDebugListener e
     @Override
     public void testFailure(final Failure failure) throws Exception {
         if (failure != null) {
-            System.out.println(">>OpenEJBJUnitDebugListener> got failure " + failure.getTestHeader());
+            System.out.println(">>OpenEJBJUnitDebugListener> FAILURE on " + failure.getTestHeader());
+            System.out.println(">>OpenEJBJUnitDebugListener> : " + failure.getDescription());
+            System.out.println(">>OpenEJBJUnitDebugListener> : " + failure.getException());
+            System.out.println(">>OpenEJBJUnitDebugListener> : " + failure.getTrace());
         }
         doStop();
     }