jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1356713 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ShareableNodeTest.java
Date Tue, 03 Jul 2012 13:14:53 GMT
Author: reschke
Date: Tue Jul  3 13:14:52 2012
New Revision: 1356713

URL: http://svn.apache.org/viewvc?rev=1356713&view=rev
Log:
JCR-3370: fix hardwired path names in test

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

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ShareableNodeTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ShareableNodeTest.java?rev=1356713&r1=1356712&r2=1356713&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ShareableNodeTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/ShareableNodeTest.java
Tue Jul  3 13:14:52 2012
@@ -152,8 +152,9 @@ public class ShareableNodeTest extends A
         Node b2 = shared[1];
 
         // verify paths of nodes b1/b2 in shared set
-        assertEquals("/testroot/a1/b1", b1.getPath());
-        assertEquals("/testroot/a2/b2", b2.getPath());
+        String testRootNodePath = testRootNode.getPath();
+        assertEquals(testRootNodePath + "/a1/b1", b1.getPath());
+        assertEquals(testRootNodePath + "/a2/b2", b2.getPath());
     }
 
     /**



Mime
View raw message