jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1365572 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
Date Wed, 25 Jul 2012 13:34:36 GMT
Author: mduerig
Date: Wed Jul 25 13:34:36 2012
New Revision: 1365572

URL: http://svn.apache.org/viewvc?rev=1365572&view=rev
Log:
OAK-169: Support orderable nodes
 remove half baked order test. There is OrderableNodesTest now for this

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=1365572&r1=1365571&r2=1365572&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
Wed Jul 25 13:34:36 2012
@@ -1364,25 +1364,6 @@ public class RepositoryTest extends Abst
         }
     }
 
-    @Ignore // TODO implement orderBefore, orderable child nodes
-    @Test
-    public void reorderTest() throws RepositoryException {
-        Node testNode = getNode(TEST_PATH);
-        testNode.addNode("a");
-        testNode.addNode("b");
-        testNode.addNode("c");
-        getSession().save();
-
-        NodeIterator it = testNode.getNodes();
-        // todo: check order
-
-        testNode.orderBefore("a", "c");
-        getSession().save();
-
-        it = testNode.getNodes();
-        // todo: check order
-    }
-
     @Ignore // TODO implement node type support
     @Test
     public void nodeTypeRegistry() throws RepositoryException {



Mime
View raw message