Author: bcarothers
Date: 2009-06-02 16:15:57 -0400 (Tue, 02 Jun 2009)
New Revision: 957
Modified:
trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java
Log:
DNA-370 JcrWorkspace.clone Is Not Implemented
Removed two test cases from AbstractJcrNodeTest that can no longer be readily executed
without setting up a session (and are duplicative of testing functionality in
JcrTckTest).
Modified: trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java
===================================================================
--- trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java 2009-06-02
19:52:50 UTC (rev 956)
+++ trunk/dna-jcr/src/test/java/org/jboss/dna/jcr/AbstractJcrNodeTest.java 2009-06-02
20:15:57 UTC (rev 957)
@@ -32,6 +32,7 @@
import javax.jcr.Item;
import javax.jcr.ItemNotFoundException;
import javax.jcr.ItemVisitor;
+import javax.jcr.NoSuchWorkspaceException;
import javax.jcr.Node;
import javax.jcr.NodeIterator;
import javax.jcr.PathNotFoundException;
@@ -255,11 +256,6 @@
node.getBaseVersion();
}
- @Test( expected = UnsupportedOperationException.class )
- public void shouldNotAllowGetCorrespondingNodePath() throws Exception {
- node.getCorrespondingNodePath(null);
- }
-
@Test( expected = UnsupportedRepositoryOperationException.class )
public void shoudNotAllowGetLock() throws Exception {
node.getLock();
@@ -718,8 +714,4 @@
node.unlock();
}
- @Test( expected = UnsupportedOperationException.class )
- public void shouldNotAllowUpdate() throws Exception {
- node.update(null);
- }
}
Show replies by date