You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2005/07/13 16:03:27 UTC

svn commit: r216158 - /incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java

Author: mreutegg
Date: Wed Jul 13 07:03:26 2005
New Revision: 216158

URL: http://svn.apache.org/viewcvs?rev=216158&view=rev
Log:
JCR-156: Review test cases and cross check with 1.0 specification

Modified:
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java

Modified: incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java?rev=216158&r1=216157&r2=216158&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java (original)
+++ incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java Wed Jul 13 07:03:26 2005
@@ -771,7 +771,7 @@
                     node.hasNode(n.getName()));
             notExistingNodeName.append(n.getName() + "X");
         }
-        if (notExistingNodeName.equals("")) {
+        if (notExistingNodeName.toString().equals("")) {
             throw new NotExecutableException("Workspace does not have sufficient content for this test. " +
                     "Root node must have at least one child node.");
         }
@@ -824,7 +824,7 @@
                     node.hasProperty(p.getName()));
             notExistingPropertyName.append(p.getName() + "X");
         }
-        if (notExistingPropertyName.equals("")) {
+        if (notExistingPropertyName.toString().equals("")) {
             fail("Root node must at least have one property: jcr:primaryType");
         }