jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1388372 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2OuterJoinTest.java
Date Fri, 21 Sep 2012 08:34:35 GMT
Author: alexparvulescu
Date: Fri Sep 21 08:34:34 2012
New Revision: 1388372

URL: http://svn.apache.org/viewvc?rev=1388372&view=rev
Log:
JCR-3429 Make query tests (more) independent
 - rewrote node type def

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2OuterJoinTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2OuterJoinTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2OuterJoinTest.java?rev=1388372&r1=1388371&r2=1388372&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2OuterJoinTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2OuterJoinTest.java
Fri Sep 21 08:34:34 2012
@@ -48,7 +48,7 @@ public class SQL2OuterJoinTest extends A
             StringBuilder defs = new StringBuilder();
             defs.append("[test:SamplePage]\n");
             defs.append("  - n1prop1\n");
-            defs.append("  + node2\n");
+            defs.append("  + * (nt:base) = nt:unstructured \n");
             defs.append("[test:SampleContent]\n");
             defs.append("  - n2prop1");
             Reader cndReader = new InputStreamReader(new ByteArrayInputStream(
@@ -58,10 +58,8 @@ public class SQL2OuterJoinTest extends A
 
         Node n1 = testRootNode.addNode("node1", "test:SamplePage");
         n1.setProperty("n1prop1", "page1");
-
         n2 = n1.addNode("node2", "test:SampleContent");
         n2.setProperty("n2prop1", "content1");
-
         testRootNode.getSession().save();
     }
 



Mime
View raw message