jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1163572 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
Date Wed, 31 Aug 2011 11:03:24 GMT
Author: mduerig
Date: Wed Aug 31 11:03:24 2011
New Revision: 1163572

URL: http://svn.apache.org/viewvc?rev=1163572&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
test

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java?rev=1163572&r1=1163571&r2=1163572&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
Wed Aug 31 11:03:24 2011
@@ -712,6 +712,7 @@ public class RepositoryTest {
     }
 
     @Test
+    @Ignore("Fix indexer in Microkernel")  // fixme fix Microkernel
     public void references() throws RepositoryException, IOException {
         Node parentNode = getNode(testPath);
         Node referee = getSession().getNode("/foo");
@@ -722,6 +723,11 @@ public class RepositoryTest {
         PropertyIterator references = referee.getReferences();
         assertTrue(references.hasNext());
         assertEquals(parentNode.getProperty("reference").getPath(), references.nextProperty().getPath());
+
+        parentNode.setProperty("reference", (String) null);
+        getSession().save();
+        references = referee.getReferences();
+        assertFalse(references.hasNext());
     }
 
     @Test



Mime
View raw message