jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1159701 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
Date Fri, 19 Aug 2011 17:36:06 GMT
Author: mduerig
Date: Fri Aug 19 17:36:06 2011
New Revision: 1159701

URL: http://svn.apache.org/viewvc?rev=1159701&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=1159701&r1=1159700&r2=1159701&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
Fri Aug 19 17:36:06 2011
@@ -1120,6 +1120,16 @@ public class RepositoryTest {
     }
 
     @Test
+    public void referenceable() throws RepositoryException {
+        Node testNode = getNode(testPath);
+        testNode.addMixin("mix:referenceable");
+        testNode.getSession().save();
+
+        assertTrue(testNode.isNodeType("mix:referenceable"));
+        testNode.getProperty("jcr:uuid");
+    }
+
+    @Test
     public void observation() throws RepositoryException {
         final Set<String> addNodes = Arrays.toSet(
                 testPath + "/1",



Mime
View raw message