jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1335545 - /jackrabbit/oak/trunk/oak-it/mk/src/main/java/org/apache/jackrabbit/mk/test/MicroKernelIT.java
Date Tue, 08 May 2012 14:17:28 GMT
Author: stefan
Date: Tue May  8 14:17:27 2012
New Revision: 1335545

URL: http://svn.apache.org/viewvc?rev=1335545&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=1335545&r1=1335544&r2=1335545&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
Tue May  8 14:17:27 2012
@@ -372,7 +372,7 @@ public class MicroKernelIT extends Abstr
         assertPropertyValue(obj, "a/b/depth", 2l);
         assertPropertyValue(obj, "a/b/:childNodeCount", 1l);
         assertPropertyValue(obj, "a/b/c/depth", 3l);
-        assertPropertyValue(obj, "a/b/c:childNodeCount", 1l);
+        assertPropertyValue(obj, "a/b/c/:childNodeCount", 1l);
         child = resolveObjectValue(obj, "a/b/c/d");
         assertNotNull(child);
         assertEquals(child.size(), 0);
@@ -390,7 +390,7 @@ public class MicroKernelIT extends Abstr
         assertPropertyValue(parseJSONObject(mk.getNodes("/test", head, 1, 0, -1, null)),
"tst", tst);
 
         // 2nd pass
-        tst = System.currentTimeMillis();
+        ++tst;
         String oldHead = head;
         head = mk.commit("/test", "^\"tst\":" + tst, null, null);
         assertFalse(head.equals(oldHead));



Mime
View raw message