jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1342227 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/OrderByMultiTypeTest.java
Date Thu, 24 May 2012 12:29:11 GMT
Author: thomasm
Date: Thu May 24 12:29:10 2012
New Revision: 1342227

URL: http://svn.apache.org/viewvc?rev=1342227&view=rev
Log:
JCR-3321 TCK: Strange XPath query in OrderByMultiTypeTest.testMultipleOrder

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/OrderByMultiTypeTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/OrderByMultiTypeTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/OrderByMultiTypeTest.java?rev=1342227&r1=1342226&r2=1342227&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/OrderByMultiTypeTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/OrderByMultiTypeTest.java
Thu May 24 12:29:10 2012
@@ -67,7 +67,7 @@ public class OrderByMultiTypeTest extend
             checkResultOrder(result, new String[]{nodeName2, nodeName3, nodeName1});
         }
 
-        String xpath = "/" + testRoot + "/*[@" + jcrPrimaryType + "='" + testNodeType +
+        String xpath = "/" + jcrRoot + testRoot + "/*[@" + jcrPrimaryType + "='" + testNodeType
+
                 "'] order by @" + propertyName2 + ", @" + propertyName1;
         q = superuser.getWorkspace().getQueryManager().createQuery(xpath, qsXPATH);
         result = q.execute();



Mime
View raw message