jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r771657 - in /jackrabbit/trunk/jackrabbit-core/src/main: java/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java resources/org/apache/jackrabbit/core/JackrabbitRepositoryStub.properties
Date Tue, 05 May 2009 10:30:33 GMT
Author: jukka
Date: Tue May  5 10:30:31 2009
New Revision: 771657

URL: http://svn.apache.org/viewvc?rev=771657&view=rev
Log:
JCR-2085: test case (TCK) maintenance for JCR 2.0

Move the retention data from /testdata to /testconf to avoid problems in SPI tests.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
    jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/JackrabbitRepositoryStub.properties

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java?rev=771657&r1=771656&r2=771657&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
Tue May  5 10:30:31 2009
@@ -200,8 +200,10 @@
         addQueryTestData(getOrAddNode(data, "query"));
         addNodeTestData(getOrAddNode(data, "node"));
         addExportTestData(getOrAddNode(data, "docViewTest"));
-        addRetentionTestData(getOrAddNode(data, "retentionTest"));
-        
+
+        Node conf = getOrAddNode(session.getRootNode(), "testconf");
+        addRetentionTestData(getOrAddNode(conf, "retentionTest"));
+
         session.save();
     }
 

Modified: jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/JackrabbitRepositoryStub.properties
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/JackrabbitRepositoryStub.properties?rev=771657&r1=771656&r2=771657&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/JackrabbitRepositoryStub.properties
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/JackrabbitRepositoryStub.properties
Tue May  5 10:30:31 2009
@@ -508,4 +508,4 @@
 # ==============================================================================
 # JAVAX.JCR.RETENTION CONFIGURATION
 # ==============================================================================
-javax.jcr.tck.retentionpolicyholder=/testdata/retentionTest
+javax.jcr.tck.retentionpolicyholder=/testconf/retentionTest



Mime
View raw message