jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r156254 - in incubator/jackrabbit/trunk: applications/test/ src/test/org/apache/jackrabbit/core/ src/test/org/apache/jackrabbit/core/search/ src/test/org/apache/jackrabbit/test/ src/test/org/apache/jackrabbit/test/search/
Date Sat, 05 Mar 2005 15:12:07 GMT
Author: mreutegg
Date: Sat Mar  5 07:12:04 2005
New Revision: 156254

URL: http://svn.apache.org/viewcvs?view=rev&rev=156254
Log:
Moving classes out of package org.apache.jackrabbit.test that have dependencies to the jackrabbit
implementation of JCR.

Added:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
      - copied, changed from r156247, incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/JackrabbitRepositoryStub.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/
      - copied from r156247, incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/search/
Removed:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/JackrabbitRepositoryStub.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/search/
Modified:
    incubator/jackrabbit/trunk/applications/test/repositoryStubImpl.properties
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/AbstractQueryTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/FulltextQueryTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/ISO9075Test.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/OrderByTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLPathTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SelectClauseTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SimpleQueryTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/TestAll.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/XPathAxisTest.java
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java

Modified: incubator/jackrabbit/trunk/applications/test/repositoryStubImpl.properties
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/applications/test/repositoryStubImpl.properties?view=diff&r1=156253&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/applications/test/repositoryStubImpl.properties (original)
+++ incubator/jackrabbit/trunk/applications/test/repositoryStubImpl.properties Sat Mar  5
07:12:04 2005
@@ -3,7 +3,7 @@
 #
 
 # Stub implementation class
-javax.jcr.tck.repository_stub_impl=org.apache.jackrabbit.test.JackrabbitRepositoryStub
+javax.jcr.tck.repository_stub_impl=org.apache.jackrabbit.core.JackrabbitRepositoryStub
 
 # repository specific configuration
 org.apache.jackrabbit.repository.config=applications/test/repository.xml

Copied: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
(from r156247, incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/JackrabbitRepositoryStub.java)
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java?view=diff&rev=156254&p1=incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/JackrabbitRepositoryStub.java&r1=156247&p2=incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/JackrabbitRepositoryStub.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/JackrabbitRepositoryStub.java
Sat Mar  5 07:12:04 2005
@@ -14,9 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test;
+package org.apache.jackrabbit.core;
 
 import org.apache.jackrabbit.core.jndi.RegistryHelper;
+import org.apache.jackrabbit.test.RepositoryStub;
+import org.apache.jackrabbit.test.RepositoryStubException;
 
 import javax.jcr.Repository;
 import javax.naming.Context;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/AbstractQueryTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/AbstractQueryTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/AbstractQueryTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/AbstractQueryTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import org.apache.jackrabbit.test.AbstractJCRTest;
 

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/FulltextQueryTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/FulltextQueryTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/FulltextQueryTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/FulltextQueryTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.Node;
 import javax.jcr.query.Query;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/ISO9075Test.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/ISO9075Test.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/ISO9075Test.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/ISO9075Test.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import org.apache.jackrabbit.core.QName;
 import org.apache.jackrabbit.core.util.ISO9075;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/OrderByTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/OrderByTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/OrderByTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/OrderByTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.Node;
 import javax.jcr.NodeIterator;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLPathTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLPathTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLPathTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLPathTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLTest.java (original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SQLTest.java Sat
Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.Node;
 import javax.jcr.query.Query;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SelectClauseTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SelectClauseTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SelectClauseTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SelectClauseTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SimpleQueryTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SimpleQueryTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SimpleQueryTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/SimpleQueryTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.*;
 import javax.jcr.query.Query;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/TestAll.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/TestAll.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/TestAll.java (original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/TestAll.java Sat
Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import junit.framework.Test;
 import junit.framework.TestCase;

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/XPathAxisTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/XPathAxisTest.java?view=diff&r1=156247&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/XPathAxisTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/core/search/XPathAxisTest.java
Sat Mar  5 07:12:04 2005
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.jackrabbit.test.search;
+package org.apache.jackrabbit.core.search;
 
 import javax.jcr.RepositoryException;
 import javax.jcr.Node;

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&r1=156253&r2=156254
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java (original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/AbstractJCRTest.java Sat
Mar  5 07:12:04 2005
@@ -75,6 +75,26 @@
     protected String jcrPredecessors;
 
     /**
+     * JCR Name jcr:successors using the namespace resolver of the current session.
+     */
+    protected String jcrSuccessors;
+
+    /**
+     * JCR Name jcr:created using the namespace resolver of the current session.
+     */
+    protected String jcrCreated;
+
+    /**
+     * JCR Name jcr:frozenNode using the namespace resolver of the current session.
+     */
+    protected String jcrFrozenNode;
+
+    /**
+     * JCR Name jcr:rootVersion using the namespace resolver of the current session.
+     */
+    protected String jcrRootVersion;
+
+    /**
      * JCR Name jcr:baseVersion using the namespace resolver of the current session.
      */
     protected String jcrBaseVersion;
@@ -105,6 +125,21 @@
     protected String ntBase;
 
     /**
+     * JCR Name nt:version using the namespace resolver of the current session.
+     */
+    protected String ntVersion;
+
+    /**
+     * JCR Name nt:versionHistory using the namespace resolver of the current session.
+     */
+    protected String ntVersionHistory;
+
+    /**
+     * JCR Name nt:frozenNode using the namespace resolver of the current session.
+     */
+    protected String ntFrozenNode;
+
+    /**
      * JCR Name mix:referenceable using the namespace resolver of the current session.
      */
     protected String mixReferenceable;
@@ -235,12 +270,19 @@
         jcrPrimaryType = superuser.getNamespacePrefix(NS_JCR_URI) + ":primaryType";
         jcrMixinTypes = superuser.getNamespacePrefix(NS_JCR_URI) + ":mixinTypes";
         jcrPredecessors = superuser.getNamespacePrefix(NS_JCR_URI) + ":predecessors";
+        jcrSuccessors = superuser.getNamespacePrefix(NS_JCR_URI) + ":successors";
+        jcrCreated = superuser.getNamespacePrefix(NS_JCR_URI) + ":created";
+        jcrFrozenNode = superuser.getNamespacePrefix(NS_JCR_URI) + ":frozenNode";
+        jcrRootVersion = superuser.getNamespacePrefix(NS_JCR_URI) + ":rootVersion";
         jcrBaseVersion = superuser.getNamespacePrefix(NS_JCR_URI) + ":baseVersion";
         jcrUUID = superuser.getNamespacePrefix(NS_JCR_URI) + ":uuid";
         jcrLockOwner = superuser.getNamespacePrefix(NS_JCR_URI) + ":lockOwner";
         jcrlockIsDeep = superuser.getNamespacePrefix(NS_JCR_URI) + ":lockIsDeep";
         jcrMergeFailed = superuser.getNamespacePrefix(NS_JCR_URI) + ":mergeFailed";
         ntBase = superuser.getNamespacePrefix(NS_NT_URI) + ":base";
+        ntVersion = superuser.getNamespacePrefix(NS_NT_URI) + ":version";
+        ntVersionHistory = superuser.getNamespacePrefix(NS_NT_URI) + ":versionHistory";
+        ntFrozenNode = superuser.getNamespacePrefix(NS_NT_URI) + ":frozenNode";
         mixReferenceable = superuser.getNamespacePrefix(NS_MIX_URI) + ":referenceable";
         mixVersionable = superuser.getNamespacePrefix(NS_MIX_URI) + ":versionable";
         mixLockable = superuser.getNamespacePrefix(NS_MIX_URI) + ":lockable";



Mime
View raw message