jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r165166 - /incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java
Date Thu, 28 Apr 2005 16:57:04 GMT
Author: stefan
Date: Thu Apr 28 09:57:02 2005
New Revision: 165166

URL: http://svn.apache.org/viewcvs?rev=165166&view=rev
Log:
port to jcr api v0.16.4.1

Modified:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java?rev=165166&r1=165165&r2=165166&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java
Thu Apr 28 09:57:02 2005
@@ -106,25 +106,6 @@
     }
 
     /**
-     * Tries to reorder child nodes using {@link Node#orderBefore(String,
-            * String)}  using same source and destination reference. <br/><br/>
This
-     * should throw an {@link ConstraintViolationException}.
-     */
-    public void testOrderBeforeConstraintViolationException()
-            throws RepositoryException, NotExecutableException {
-        checkOrderableNodeType(getProperty("nodetype2"));
-        prepareTest();
-        // ok lets try to reorder
-        try {
-            parentNode.orderBefore(initialFirstNode.getName(), initialFirstNode.getName());
-            fail("Trying to reorder child nodes using Node.orderBefore() where source and
target are same " +
-                    "hould throw ConstraintViolationException!");
-        } catch (ConstraintViolationException e) {
-            // ok
-        }
-    }
-
-    /**
      * Tries to reorder on a node using {@link Node#orderBefore(String, String)}
      * that does not support child reordering. <br/><br/> This should throw and
      * {@link UnsupportedRepositoryOperationException}. Prequisites: <ul>



Mime
View raw message