You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by st...@apache.org on 2005/04/28 18:57:04 UTC
svn commit: r165166 -
/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeOrderableChildNodesTest.java
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>