jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1336234 - /jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
Date Wed, 09 May 2012 14:53:35 GMT
Author: stefan
Date: Wed May  9 14:53:35 2012
New Revision: 1336234

URL: http://svn.apache.org/viewvc?rev=1336234&view=rev
Log:
OAK-12: Implement a test suite for the MicroKernel (WIP)

Modified:
    jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java

Modified: jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java?rev=1336234&r1=1336233&r2=1336234&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
(original)
+++ jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
Wed May  9 14:53:35 2012
@@ -380,6 +380,11 @@ public class MicroKernelIT extends Abstr
         child = resolveObjectValue(obj, "a/b/c/d");
         assertNotNull(child);
         assertEquals(child.size(), 0);
+
+        // getNodes(path, revId) must return same result as getNodes(path, revId, 1, 0, -1,
null)
+        obj = parseJSONObject(mk.getNodes("/testRoot", null));
+        JSONObject obj1 = parseJSONObject(mk.getNodes("/testRoot", null, 1, 0, -1, null));
+        assertEquals(obj, obj1);
     }
 
     @Test



Mime
View raw message