jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r125634 - /incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java
Date Wed, 19 Jan 2005 18:02:06 GMT
Author: mreutegg
Date: Wed Jan 19 10:02:05 2005
New Revision: 125634

URL: http://svn.apache.org/viewcvs?view=rev&rev=125634
Log:
Extended configuration to also support per test class property values.
Modified:
   incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java
Url: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java?view=diff&rev=125634&p1=incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java&r1=125633&p2=incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java&r2=125634
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java	(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java	Wed
Jan 19 10:02:05 2005
@@ -163,6 +163,14 @@
         if (value != null) {
             return value;
         }
+
+        // then check test class property
+        value = helper.getProperty(RepositoryStub.PROP_PREFIX + "."
+                + testClassName + "." + name);
+        if (value != null) {
+            return value;
+        }
+
         return helper.getProperty(RepositoryStub.PROP_PREFIX + "." + name);
     }
 

Mime
View raw message