jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1409456 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilderTest.java
Date Wed, 14 Nov 2012 21:55:04 GMT
Author: mduerig
Date: Wed Nov 14 21:55:04 2012
New Revision: 1409456

URL: http://svn.apache.org/viewvc?rev=1409456&view=rev
Log:
OAK-448: Node builder for existing node return null for base state
Test case demonstrating the problem

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=1409456&r1=1409455&r2=1409456&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
Wed Nov 14 21:55:04 2012
@@ -156,4 +156,12 @@ public class MemoryNodeBuilderTest {
         assertFalse(x.hasChildNode("y"));
     }
 
+    @Test
+    @Ignore("OAK-448")  // FIXME: OAK-448
+    public void testUnmodifiedEqualsBase() {
+        NodeBuilder root = new MemoryNodeBuilder(BASE);
+        NodeBuilder x = root.child("x");
+        assertEquals(x.getBaseState(), x.getNodeState());
+    }
+
 }



Mime
View raw message