jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meteata...@apache.org
Subject svn commit: r1443378 - /jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetJournalTest.java
Date Thu, 07 Feb 2013 09:58:54 GMT
Author: meteatamel
Date: Thu Feb  7 09:58:54 2013
New Revision: 1443378

URL: http://svn.apache.org/viewvc?rev=1443378&view=rev
Log:
Minor change to the test case

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetJournalTest.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetJournalTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetJournalTest.java?rev=1443378&r1=1443377&r2=1443378&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetJournalTest.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/test/java/org/apache/jackrabbit/mongomk/impl/MongoMKGetJournalTest.java
Thu Feb  7 09:58:54 2013
@@ -140,14 +140,15 @@ public class MongoMKGetJournalTest exten
         expected = ">\"/b\":\"/c\"";
         assertPropertyValue(entry, "changes", expected);
 
-        mk.commit("", "+\"/b/d\":{}", null, "");
+        mk.commit("", "+\"/d\":{}", null, "");
+        mk.commit("", "+\"/d/e\":{}", null, "");
 
-        // Commit with /b path and retrieve with root path
-        rev = mk.commit("/b", ">\"d\" : \"e\"", null, null);
+        // Commit with /d path and retrieve with root path
+        rev = mk.commit("/d", ">\"e\" : \"f\"", null, null);
         journalStr = mk.getJournal(rev, rev, "/");
         array = parseJSONArray(journalStr);
         entry = getObjectArrayEntry(array, 0);
-        expected = ">\"/b/d\":\"/b/e\"";
+        expected = ">\"/d/e\":\"/d/f\"";
         assertPropertyValue(entry, "changes", expected);
     }
 



Mime
View raw message