You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2014/07/07 20:52:28 UTC
svn commit: r1608548 -
/tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java
Author: rmannibucau
Date: Mon Jul 7 18:52:27 2014
New Revision: 1608548
URL: http://svn.apache.org/r1608548
Log:
more debug info
Modified:
tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java
Modified: tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java?rev=1608548&r1=1608547&r2=1608548&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java (original)
+++ tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/tool/junit/OpenEJBJUnitDebugListener.java Mon Jul 7 18:52:27 2014
@@ -33,7 +33,7 @@ public class OpenEJBJUnitDebugListener e
private static final String OS = System.getProperty("os.name", "unknown");
private static final boolean UNIX = !OS.toLowerCase(Locale.ENGLISH).startsWith("windows");
static {
- System.out.println(">>> will debug - unix? " + UNIX + " (" + OS + ")");
+ System.out.println(">>OpenEJBJUnitDebugListener> will debug - unix? " + UNIX + " (" + OS + ")");
}
private MonitoringThread thread;
@@ -43,6 +43,8 @@ public class OpenEJBJUnitDebugListener e
if (!UNIX) {
return;
}
+
+ System.out.println(">>OpenEJBJUnitDebugListener> will monitor " + description.getDisplayName());
thread = new MonitoringThread();
thread.start();
}
@@ -53,7 +55,18 @@ public class OpenEJBJUnitDebugListener e
}
@Override
+ public void testStarted(final Description description) throws Exception {
+ System.out.println(">>OpenEJBJUnitDebugListener> started " + description.getDisplayName());
+ }
+
+ @Override
+ public void testFinished(final Description description) throws Exception {
+ System.out.println(">>OpenEJBJUnitDebugListener> finished " + description.getDisplayName());
+ }
+
+ @Override
public void testFailure(final Failure failure) throws Exception {
+ System.out.println(">>OpenEJBJUnitDebugListener> got failure " + failure.getTestHeader());
doStop();
}