jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r792138 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
Date Wed, 08 Jul 2009 13:48:14 GMT
Author: reschke
Date: Wed Jul  8 13:48:14 2009
New Revision: 792138

URL: http://svn.apache.org/viewvc?rev=792138&view=rev
Log:
JCR-2085: test one more NodeTypeTemplate method

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java?rev=792138&r1=792137&r2=792138&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java
Wed Jul  8 13:48:14 2009
@@ -59,7 +59,7 @@
         super.tearDown();
     }
 
-    public void testNodeTypeTemplate() throws Exception {
+    public void testNewNodeTypeTemplate() throws Exception {
         
         String ntname = "{" + ns + "}" + "littlemixin";
         
@@ -71,6 +71,7 @@
         ntt.setMixin(true);
         ntt.setOrderableChildNodes(false);
         ntt.setQueryable(false);
+        ntt.setPrimaryItemName(null);
         
         List pdefs = ntt.getPropertyDefinitionTemplates();
         pdefs.add(createBooleanPropTemplate());



Mime
View raw message