jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1411767 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
Date Tue, 20 Nov 2012 17:55:21 GMT
Author: mduerig
Date: Tue Nov 20 17:55:20 2012
New Revision: 1411767

URL: http://svn.apache.org/viewvc?rev=1411767&view=rev
Log:
OAK-369: missing support for relative path consisting of parent-element
fix test expectations

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java?rev=1411767&r1=1411766&r2=1411767&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
Tue Nov 20 17:55:20 2012
@@ -183,17 +183,16 @@ public class RepositoryTest extends Abst
         node.getProperty("..");
     }
 
-    @Ignore("OAK-369")
     @Test
     public void hasPropertyDot() throws RepositoryException {
         Node node = getNode("/foo");
-        assertFalse((node.hasNode(".")));  // FIXME: OAK-369
+        assertFalse((node.hasProperty(".")));
     }
 
     @Test
     public void hasPropertyDotDot() throws RepositoryException {
         Node node = getNode("/foo");
-        assertFalse((node.hasNode("..")));
+        assertFalse((node.hasProperty("..")));
     }
 
     @Test



Mime
View raw message