jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r633501 - in /jackrabbit/trunk: jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GCConcurrentTest.java jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
Date Tue, 04 Mar 2008 14:56:13 GMT
Author: mreutegg
Date: Tue Mar  4 06:56:12 2008
New Revision: 633501

URL: http://svn.apache.org/viewvc?rev=633501&view=rev
Log:
JCR-1451: Support jackrabbit.test.scale in jackrabbit-jcr-tests
- reverted previous commit

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GCConcurrentTest.java
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GCConcurrentTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GCConcurrentTest.java?rev=633501&r1=633500&r2=633501&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GCConcurrentTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/GCConcurrentTest.java
Tue Mar  4 06:56:12 2008
@@ -105,4 +105,9 @@
     static Node node(Node n, String x) throws RepositoryException {
         return n.hasNode(x) ? n.getNode(x) : n.addNode(x);
     }
+
+    static int getTestScale() {
+        return Integer.parseInt(System.getProperty("jackrabbit.test.scale", "1"));
+    }
+
 }

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java?rev=633501&r1=633500&r2=633501&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
Tue Mar  4 06:56:12 2008
@@ -667,15 +667,4 @@
         s.save();
         return testRootNode;
     }
-
-    /**
-     * @return the test scale value.
-     */
-    protected static int getTestScale() {
-        try {
-            return Integer.parseInt(System.getProperty("jackrabbit.test.scale", "1"));
-        } catch (NumberFormatException e) {
-            return 1;
-        }
-    }
 }



Mime
View raw message