db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1586158 - in /db/derby/code/trunk/java: testing/org/apache/derbyTesting/junit/XATestUtil.java tools/org/apache/derby/impl/tools/sysinfo/Main.java
Date Wed, 09 Apr 2014 21:50:07 GMT
Author: myrnavl
Date: Wed Apr  9 21:50:06 2014
New Revision: 1586158

URL: http://svn.apache.org/r1586158
Log:
DERBY-6532; sysinfo does not show derbyTesting package info if junit.jar not in classpath
   switching the indicator class from BaseTestCase to XATestUtil.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XATestUtil.java
    db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XATestUtil.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XATestUtil.java?rev=1586158&r1=1586157&r2=1586158&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XATestUtil.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/XATestUtil.java Wed Apr
 9 21:50:06 2014
@@ -31,6 +31,8 @@ import java.util.Arrays;
 import javax.transaction.xa.XAException;
 import javax.transaction.xa.Xid;
 
+// Note: this class is used as indicator class in sysinfo for the 
+// presence of org.apache.derbyTesting package classes.
 public class XATestUtil {
     
     /**

Modified: db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java?rev=1586158&r1=1586157&r2=1586158&view=diff
==============================================================================
--- db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java (original)
+++ db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/sysinfo/Main.java Wed Apr 
9 21:50:06 2014
@@ -753,7 +753,8 @@ public static void getMainInfo (java.io.
 	}
 	
 	private static void tryTstingClasspath(StringBuffer successes, StringBuffer failures) {
-        tryMyClasspath("org.apache.derbyTesting.junit.BaseTestCase", "", successes, failures);
+        // use a class that is not dependent on junit
+        tryMyClasspath("org.apache.derbyTesting.junit.XATestUtil", "", successes, failures);
     }
 
 	private static void tryMyClasspath(String cn, String library, StringBuffer successes, StringBuffer
failures) {



Mime
View raw message