jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1469309 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java
Date Thu, 18 Apr 2013 13:19:58 GMT
Author: mduerig
Date: Thu Apr 18 13:19:58 2013
New Revision: 1469309

URL: http://svn.apache.org/r1469309
Log:
OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder
Update test case according to the latest discussion on OAK-781

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java?rev=1469309&r1=1469308&r2=1469309&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java
Thu Apr 18 13:19:58 2013
@@ -261,10 +261,10 @@ public class MemoryNodeBuilderTest {
         c = b.getChildNode("c");
 
         assertTrue(a.exists());
-        assertFalse(b.exists());  // FIXME fails
+        assertTrue(b.exists());  // shadowed by above child("b")
         assertTrue(c.exists());
 
-        assertTrue(c.hasProperty("c"));
+        assertFalse(c.hasProperty("c"));  // shadowed by subtree b
         assertTrue(c.hasProperty("c2"));
     }
 



Mime
View raw message