jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r216158 - /incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
Date Wed, 13 Jul 2005 14:03:27 GMT
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");
         }
 



Mime
View raw message