incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r465762 - /incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java
Date Thu, 19 Oct 2006 20:23:10 GMT
Author: clombart
Date: Thu Oct 19 13:23:10 2006
New Revision: 465762

URL: http://svn.apache.org/viewvc?view=rev&rev=465762
Log:
minor changes

Modified:
    incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java?view=diff&rev=465762&r1=465761&r2=465762
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java
(original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java
Thu Oct 19 13:23:10 2006
@@ -86,7 +86,7 @@
             	 while (versionIterator.hasNext())
             	 {
             		 Version version = (Version) versionIterator.next();
-            		 log.info("version found : " + version.getPath() + " - " +  version.getCreated().getTime());
+            		 log.info("version found : "+ version.getName() + " - " + version.getPath()
+ " - " +  version.getCreated().getTime());
             		 
             	 }
             	 
@@ -97,14 +97,14 @@
             	 System.out.println("Root version : " + rootVersion.getName());
             	 //this.exportDocument("/home/christophe/export.xml", "/jcr:system/jcr:versionStorage",
true, false);
             	             	
-             //Get the lasted version 
+                 //Get the latest version 
             	 page = (Page) persistenceManager.getObject( "/page");
             	 assertNotNull("Last version is nulll", page);
             	 assertTrue("Invalid number of paragraph found in the last  version", page.getParagraphs().size()
== 4);
 
             	 
             	 //Get the object matching to the first version 
-            Page  page1 = (Page) persistenceManager.getObject( "/page", "1.0");
+                 Page  page1 = (Page) persistenceManager.getObject( "/page", "1.0");
             	 assertNotNull("version 1.0 object is null", page1);
             	 assertTrue("Invalid number of paragraph found in the root version", page1.getParagraphs().size()
== 3);
 



Mime
View raw message