jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1357177 - /jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/DigesterAutoTest.java
Date Wed, 04 Jul 2012 08:50:39 GMT
Author: ard
Date: Wed Jul  4 08:50:39 2012
New Revision: 1357177

URL: http://svn.apache.org/viewvc?rev=1357177&view=rev
Log:
OCM-47 fix comment

Modified:
    jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/DigesterAutoTest.java

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/DigesterAutoTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/DigesterAutoTest.java?rev=1357177&r1=1357176&r2=1357177&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/DigesterAutoTest.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/DigesterAutoTest.java
Wed Jul  4 08:50:39 2012
@@ -81,7 +81,7 @@ public class DigesterAutoTest extends Di
 		//---------------------------------------------------------------------------------------------------------

 		Folder folder2 = (Folder) ocm.getObject( "/folder2");
 		assertNotNull("folder 2 is null", folder2);
-		assertEquals("Invalid number of cms object  found in folder2 children", folder2.getChildren().size()
,0); // autoInsert = false
+		assertEquals("Invalid number of cms object  found in folder2 children", folder2.getChildren().size()
,0); // autoRetrieve = false
 		
 		//---------------------------------------------------------------------------------------------------------

 		// Insert nested objects
@@ -95,7 +95,7 @@ public class DigesterAutoTest extends Di
 		//---------------------------------------------------------------------------------------------------------

 		 folder2 = (Folder) ocm.getObject( "/folder2");
 		assertNotNull("folder 2 is null", folder2);
-		assertEquals("Invalid number of cms object  found in folder2 children", folder2.getChildren().size()
,0); // autoInsert = false
+		assertEquals("Invalid number of cms object  found in folder2 children", folder2.getChildren().size()
,0); // autoRetrieve = false
 
 		//---------------------------------------------------------------------------------------------------------

 		// Retrieve children attribute
@@ -110,7 +110,7 @@ public class DigesterAutoTest extends Di
 		// Update
 		//---------------------------------------------------------------------------------------------------------

 		folder2.setChildren(null);
-		ocm.update(folder2); // autoupdate = true for the children attribute. So no update on the
children collection
+        ocm.update(folder2); // autoupdate = false for the children attribute. So no update
on the children collection
 		ocm.save();
 
 		//---------------------------------------------------------------------------------------------------------




Mime
View raw message