jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1297567 - /jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/query/qom/QomTest.java
Date Tue, 06 Mar 2012 16:36:47 GMT
Author: thomasm
Date: Tue Mar  6 16:36:47 2012
New Revision: 1297567

URL: http://svn.apache.org/viewvc?rev=1297567&view=rev
Log:
Query implementation (WIP)

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/query/qom/QomTest.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/query/qom/QomTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/query/qom/QomTest.java?rev=1297567&r1=1297566&r2=1297567&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/query/qom/QomTest.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/test/java/org/apache/jackrabbit/query/qom/QomTest.java
Tue Mar  6 16:36:47 2012
@@ -282,10 +282,10 @@ public class QomTest {
 
     @Test
     public void createQuery() throws RepositoryException {
-        Selector s = f.selector("nodeTypeName", "selectorName");
+        Selector s = f.selector("nodeTypeName", "x");
         BindVariableValue b = f.bindVariable("var");
         Constraint c = f.propertyExistence("x", "c");
-        PropertyValue p = f.propertyValue("selectorName", "propertyName");
+        PropertyValue p = f.propertyValue("x", "propertyName");
         c = f.and(f.comparison(p, QueryObjectModelConstants.JCR_OPERATOR_EQUAL_TO, b), c);
         Ordering o = f.ascending(p);
         Column col = f.column("selectorName", "propertyName", "columnName");



Mime
View raw message