jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r427962 - /jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java
Date Wed, 02 Aug 2006 12:21:13 GMT
Author: mreutegg
Date: Wed Aug  2 05:21:12 2006
New Revision: 427962

URL: http://svn.apache.org/viewvc?rev=427962&view=rev
Log:
JCR-499: TCK: NamespaceRegistryTest#testRegisterNamespace doesn't remove node in new namespace

Modified:
    jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java

Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java?rev=427962&r1=427961&r2=427962&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/NamespaceRegistryTest.java
Wed Aug  2 05:21:12 2006
@@ -138,6 +138,10 @@
 
         testRootNode.addNode(namespacePrefix + ":root");
         testRootNode.save();
+
+        // Need to remove it here, otherwise teardown can't unregister the NS.
+        testRootNode.getNode(namespacePrefix + ":root").remove();
+        testRootNode.save();
     }
 
     /**



Mime
View raw message