jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1503668 - in /jackrabbit/oak/trunk/oak-jcr: pom.xml src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeDefinitionTest.java
Date Tue, 16 Jul 2013 11:52:54 GMT
Author: alexparvulescu
Date: Tue Jul 16 11:52:54 2013
New Revision: 1503668

URL: http://svn.apache.org/r1503668
Log:
OAK-901 Test root node type is not reported correctly
 - added test (ignored)

Modified:
    jackrabbit/oak/trunk/oak-jcr/pom.xml
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeDefinitionTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/pom.xml?rev=1503668&r1=1503667&r2=1503668&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-jcr/pom.xml Tue Jul 16 11:52:54 2013
@@ -340,6 +340,7 @@
       org.apache.jackrabbit.core.observation.MixinTest#testDerivedMixin                 
            <!-- OAK-900 -->
       org.apache.jackrabbit.core.observation.ShareableNodesTest#testAddShare            
            <!-- OAK-900 -->
       org.apache.jackrabbit.core.observation.ShareableNodesTest#testRemoveShare         
            <!-- OAK-900 -->
+      org.apache.jackrabbit.oak.jcr.nodetype.NodeDefinitionTest#testRootType            
            <!-- OAK-901 -->
     </known.issues>
   </properties>
 

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeDefinitionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeDefinitionTest.java?rev=1503668&r1=1503667&r2=1503668&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeDefinitionTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/nodetype/NodeDefinitionTest.java
Tue Jul 16 11:52:54 2013
@@ -30,6 +30,7 @@ import javax.jcr.nodetype.PropertyDefini
 import org.apache.jackrabbit.JcrConstants;
 import org.apache.jackrabbit.test.AbstractJCRTest;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class NodeDefinitionTest extends AbstractJCRTest {
@@ -99,4 +100,11 @@ public class NodeDefinitionTest extends 
         }
         return pDefs.toArray(new PropertyDefinition[pDefs.size()]);
     }
+
+    @Test
+    @Ignore("OAK-901")
+    public void testRootType() throws RepositoryException {
+        assertEquals(testNodeTypeTestRoot, testRootNode.getDefinition()
+                .getDeclaringNodeType().getName());
+    }
 }
\ No newline at end of file



Mime
View raw message