jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r919078 - /jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/test/TestAll.java
Date Thu, 04 Mar 2010 17:26:23 GMT
Author: angela
Date: Thu Mar  4 17:26:22 2010
New Revision: 919078

URL: http://svn.apache.org/viewvc?rev=919078&view=rev
Log:
minor improvement

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/test/TestAll.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/test/TestAll.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/test/TestAll.java?rev=919078&r1=919077&r2=919078&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/test/TestAll.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/test/java/org/apache/jackrabbit/test/TestAll.java
Thu Mar  4 17:26:22 2010
@@ -19,7 +19,6 @@
 import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
-import org.apache.jackrabbit.jcr2spi.Jcr2SpiTestSuite;
 
 /**
  * Execute all API tests from jackrabbit-jcr-test and jackrabbit-jcr2spi.
@@ -27,22 +26,10 @@
 public class TestAll extends TestCase {
 
     public static Test suite() {
-        TestSuite suite = new JCRTestSuite();
-        suite.addTest(new Jcr2SpiTestSuite());
+        TestSuite suite = new TestSuite("JCR Test : jcr-test and jcr2spi");
+        suite.addTest(new org.apache.jackrabbit.test.JCRTestSuite());
+        suite.addTest(new org.apache.jackrabbit.jcr2spi.Jcr2SpiTestSuite());
+        
         return suite;
     }
-
-    private static class JCRTestSuite extends TestSuite {
-
-        private JCRTestSuite() {
-            super("JCR API tests");
-            addTest(org.apache.jackrabbit.test.api.TestAll.suite());
-            addTest(org.apache.jackrabbit.test.api.query.TestAll.suite());
-            addTest(org.apache.jackrabbit.test.api.nodetype.TestAll.suite());
-            addTest(org.apache.jackrabbit.test.api.util.TestAll.suite());
-            addTest(org.apache.jackrabbit.test.api.lock.TestAll.suite());
-            addTest(org.apache.jackrabbit.test.api.version.TestAll.suite());
-            addTest(org.apache.jackrabbit.test.api.observation.TestAll.suite());
-        }
-    }
-}
+}
\ No newline at end of file



Mime
View raw message