jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r792180 - in /jackrabbit/trunk: jackrabbit-core/pom.xml jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeCreationTest.java jackrabbit-spi2jcr/pom.xml
Date Wed, 08 Jul 2009 15:13:04 GMT
Author: reschke
Date: Wed Jul  8 15:13:03 2009
New Revision: 792180

URL: http://svn.apache.org/viewvc?rev=792180&view=rev
Log:
JCR-2192: remove test assuming specific behavior for names in templates, assuming known.issues

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

Modified: jackrabbit/trunk/jackrabbit-core/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/pom.xml?rev=792180&r1=792179&r2=792180&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-core/pom.xml Wed Jul  8 15:13:03 2009
@@ -92,7 +92,6 @@
               <value>
                 org.apache.jackrabbit.core.xml.DocumentViewTest#testMultiValue
                 org.apache.jackrabbit.test.api.version.ActivitiesTest#testActivitiesPath
-                org.apache.jackrabbit.test.api.nodetype.NodeTypeCreationTest#testPropertyDefinitionTemplate
               </value>
             </property>
           </systemProperties>

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=792180&r1=792179&r2=792180&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 15:13:03 2009
@@ -40,6 +40,7 @@
 public class NodeTypeCreationTest extends AbstractJCRTest {
 
     private static String ns = "http://example.org/jcr-tck/";
+    private static String propname = "{" + ns + "}" + "boolean";
     
     private NodeTypeManager ntm;
     
@@ -80,9 +81,7 @@
     public void testPropertyDefinitionTemplate() throws Exception {
         PropertyDefinitionTemplate pdt = createBooleanPropTemplate();
         
-        String pref = superuser.getNamespacePrefix(ns);
-        
-        assertEquals(pref + ":" + "boolean", pdt.getName());
+        assertEquals(propname, pdt.getName());
         assertEquals(false, pdt.isAutoCreated());
         assertEquals(false, pdt.isMandatory());
         assertEquals(OnParentVersionAction.IGNORE, pdt.getOnParentVersion());
@@ -100,8 +99,6 @@
     
     
     private PropertyDefinitionTemplate createBooleanPropTemplate() throws RepositoryException
{
-        String propname = "{" + ns + "}" + "boolean";
-        
         PropertyDefinitionTemplate pdt = ntm.createPropertyDefinitionTemplate();
         pdt.setName(propname);
         pdt.setAutoCreated(false);

Modified: jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml?rev=792180&r1=792179&r2=792180&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-spi2jcr/pom.xml Wed Jul  8 15:13:03 2009
@@ -72,7 +72,6 @@
                 org.apache.jackrabbit.test.api.ShareableNodeTest
                 org.apache.jackrabbit.test.api.version.simple
                 org.apache.jackrabbit.test.api.version.ActivitiesTest
-                org.apache.jackrabbit.test.api.nodetype.NodeTypeCreationTest#testPropertyDefinitionTemplate
               </value>
             </property>
           </systemProperties>



Mime
View raw message