jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1414281 - in /jackrabbit/oak/trunk/oak-jcr: pom.xml src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
Date Tue, 27 Nov 2012 17:42:24 GMT
Author: alexparvulescu
Date: Tue Nov 27 17:42:23 2012
New Revision: 1414281

URL: http://svn.apache.org/viewvc?rev=1414281&view=rev
Log:
OAK-237 Run Jackrabbit query tests

Added:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
  (with props)
Modified:
    jackrabbit/oak/trunk/oak-jcr/pom.xml

Modified: jackrabbit/oak/trunk/oak-jcr/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/pom.xml?rev=1414281&r1=1414280&r2=1414281&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-jcr/pom.xml Tue Nov 27 17:42:23 2012
@@ -380,5 +380,12 @@
       <version>${jackrabbit.version}</version>
       <optional>true</optional>
     </dependency>
+    <dependency>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>jackrabbit-core</artifactId>
+      <version>${jackrabbit.version}</version>
+      <classifier>tests</classifier>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>

Added: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java?rev=1414281&view=auto
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
(added)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
Tue Nov 27 17:42:23 2012
@@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit.oak.jcr.query;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.apache.jackrabbit.core.query.FulltextQueryTest;
+import org.apache.jackrabbit.core.query.FulltextSQL2QueryTest;
+import org.apache.jackrabbit.core.query.JoinTest;
+import org.apache.jackrabbit.core.query.LimitAndOffsetTest;
+import org.apache.jackrabbit.core.query.MixinTest;
+import org.apache.jackrabbit.core.query.PathQueryNodeTest;
+import org.apache.jackrabbit.core.query.SQL2NodeLocalNameTest;
+import org.apache.jackrabbit.core.query.SQL2OffsetLimitTest;
+import org.apache.jackrabbit.core.query.SQL2OrderByTest;
+import org.apache.jackrabbit.core.query.SQL2OuterJoinTest;
+import org.apache.jackrabbit.core.query.SQLTest;
+import org.apache.jackrabbit.core.query.SkipDeletedNodesTest;
+import org.apache.jackrabbit.test.ConcurrentTestSuite;
+
+public class QueryJcrTest extends TestCase {
+
+    public static Test suite() {
+        TestSuite suite = new ConcurrentTestSuite("Jackrabbit query tests");
+        suite.addTestSuite(FulltextQueryTest.class);
+        suite.addTestSuite(SQLTest.class);
+        suite.addTestSuite(JoinTest.class);
+        suite.addTestSuite(SkipDeletedNodesTest.class);
+        suite.addTestSuite(PathQueryNodeTest.class);
+        suite.addTestSuite(FulltextSQL2QueryTest.class);
+        suite.addTestSuite(SQL2NodeLocalNameTest.class);
+        suite.addTestSuite(SQL2OrderByTest.class);
+        suite.addTestSuite(MixinTest.class);
+        suite.addTestSuite(SQL2OuterJoinTest.class);
+        suite.addTestSuite(SQL2OffsetLimitTest.class);
+        suite.addTestSuite(LimitAndOffsetTest.class);
+
+        // FAILURES
+        //
+        // suite.addTestSuite(QueryResultTest.class); // OAK-484
+        // suite.addTestSuite(OrderByTest.class); // OAK-466
+        // suite.addTestSuite(ParentNodeTest.class); // OAK-309
+        // suite.addTestSuite(ExcerptTest.class); // OAK-318
+        // suite.addTestSuite(SimilarQueryTest.class); // OAK-319
+        // suite.addTestSuite(DerefTest.class); // OAK-321
+        // suite.addTestSuite(XPathAxisTest.class); // OAK-322
+        // suite.addTestSuite(SQL2QueryResultTest.class); // OAK-323
+        // suite.addTestSuite(SimpleQueryTest.class); // OAK-327
+        // suite.addTestSuite(FnNameQueryTest.class); // OAK-328
+        // suite.addTestSuite(UpperLowerCaseQueryTest.class); // OAK-329
+        // suite.addTestSuite(SQL2PathEscapingTest.class); // OAK-481
+
+        // NOT IMPLEMENTED
+        //
+        // suite.addTestSuite(ChildAxisQueryTest.class); // sns
+        // suite.addTestSuite(SelectClauseTest.class); // sns
+        // suite.addTestSuite(ShareableNodeTest.class); // ws#clone
+        // suite.addTestSuite(VersionStoreQueryTest.class); // versioning
+
+        // TOO JR SPECIFIC
+        //
+        // suite.addTestSuite(LimitedAccessQueryTest.class); // acls
+        // suite.addTestSuite(SkipDeniedNodesTest.class); // acls
+
+        return suite;
+    }
+
+}

Propchange: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/query/QueryJcrTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision Rev URL



Mime
View raw message