jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r209590 - /incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeTest.java
Date Thu, 07 Jul 2005 11:50:54 GMT
Author: mreutegg
Date: Thu Jul  7 04:50:51 2005
New Revision: 209590

URL: http://svn.apache.org/viewcvs?rev=209590&view=rev
Log:
JCR-156: Review test cases and cross check with 1.0 specification
- Test case testRemoveInvalidItemStateException() is missing Session.save() call

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

Modified: incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeTest.java?rev=209590&r1=209589&r2=209590&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeTest.java
(original)
+++ incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeTest.java
Thu Jul  7 04:50:51 2005
@@ -555,6 +555,7 @@
             // try to remove already deleted node with session 2
             try {
                 defaultTestNodeSession2.remove();
+                testSession.save();
                 fail("Removing a node already deleted by other session should throw an InvalidItemStateException!");
             } catch (InvalidItemStateException e) {
                 //ok, works as expected



Mime
View raw message