jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gennady Azarenkov <gazaren...@gmail.com>
Subject TCK: NodeTest.testRemoveInvalidItemStateException()
Date Mon, 27 Feb 2006 15:59:12 GMT
hi,

It seems that 
         testSession.save();
should be added after 
         defaultTestNodeSession2.remove();

in the NodeTest.testRemoveInvalidItemStateException()
         try {
                defaultTestNodeSession2.remove();
                fail("Removing a node already deleted by other session should throw an InvalidItemStateException!");
            } catch (InvalidItemStateException e) {
                //ok, works as expected
            }
as InvalidItemStateException  can be thrown by save()

regards,

gena


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message