jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r615649 [10/14] - in /jackrabbit/trunk: jackrabbit-classloader/src/main/java/org/apache/jackrabbit/classloader/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/ jackr...
Date Sun, 27 Jan 2008 21:08:36 GMT
Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterCopyMoveTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterCopyMoveTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterCopyMoveTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterCopyMoveTest.java Sun Jan 27 13:08:08 2008
@@ -68,7 +68,7 @@
     {
         super.setUp();
 
-        
+
     }
 	
 	public void testCopy()
@@ -85,36 +85,36 @@
         b.setB1("b1");
         b.setB2("b2");
         a.setB(b);
-        
+
         C c1 = new C();
         c1.setId("first");
         c1.setName("First Element");
         C c2 = new C();
         c2.setId("second");
         c2.setName("Second Element");
-        
+
         C c3 = new C();
         c3.setId("third");
         c3.setName("Third Element");
-        
-        
+
+
         Collection collection = new ArrayList();
         collection.add(c1);
         collection.add(c2);
         collection.add(c3);
-        
+
         a.setCollection(collection);
-        
+
         ocm.insert(a);
         ocm.save();
 		
         // --------------------------------------------------------------------------------
-        // Copy the object 
+        // Copy the object
         // --------------------------------------------------------------------------------
-        ocm.copy("/test", "/test2");      
-        
+        ocm.copy("/test", "/test2");
+
         // --------------------------------------------------------------------------------
-        // Get the object 
+        // Get the object
         // --------------------------------------------------------------------------------
         a = (A) ocm.getObject("/test2");
         assertNotNull("a is null", a);
@@ -122,36 +122,36 @@
         assertTrue("Invalid field b.b1", a.getB().getB1().equals("b1"));
         assertTrue("Invalid number of items in field collection", a.getCollection().size() == 3);
 
-        
+
         // --------------------------------------------------------------------------------
-        // Check exceptions 
+        // Check exceptions
         // --------------------------------------------------------------------------------
-       
-        try 
+
+        try
         {
 			ocm.copy("/incorrectpath", "/test2");			
 			fail("the copy method accepts an incorrect source path");
-		} catch (ObjectContentManagerException e) 
+		} catch (ObjectContentManagerException e)
 		{
 			// Nothing to do  - Expected behaviour
-		}       
+		}
 
-        try 
+        try
         {
 			ocm.copy("/test", "incorrectpath");			
 			fail("the copy method accepts an incorrect destination path");
-		} catch (ObjectContentManagerException e) 
+		} catch (ObjectContentManagerException e)
 		{
 			// Nothing to do  - Expected behaviour
 		}
 		
         // --------------------------------------------------------------------------------
-        // Remove objects 
+        // Remove objects
         // --------------------------------------------------------------------------------
         ocm.remove("/test");
         ocm.remove("/test2");
         ocm.save();
-        
+
 	}
 
 	public void testSimpleMove()
@@ -169,53 +169,53 @@
         	ocm.save();
 			
 			// --------------------------------------------------------------------------------
-			// Copy the object 
+			// Copy the object
 			// --------------------------------------------------------------------------------
         	ocm.move("/source", "/result");
 
 			// --------------------------------------------------------------------------------
-			// Get the object 
+			// Get the object
 			// --------------------------------------------------------------------------------
 			atomic = (Atomic) ocm.getObject("/result");
 			assertNotNull("atomic is null", atomic);
-			assertTrue("Invalid field a1", atomic.getString().equals("test atomic"));			        
+			assertTrue("Invalid field a1", atomic.getString().equals("test atomic"));			
 
 			assertFalse("Object with path /source still exists", ocm.objectExists("/source"));
 
 			// --------------------------------------------------------------------------------
-			// Check exceptions 
-			// --------------------------------------------------------------------------------      
-			try 
+			// Check exceptions
+			// --------------------------------------------------------------------------------
+			try
 			{
 				ocm.move("/incorrectpath", "/test2");			
 				fail("the copy method accepts an incorrect source path");
-			} catch (ObjectContentManagerException e) 
+			} catch (ObjectContentManagerException e)
 			{
 				// Nothing to do  - Expected behaviour
-			}       
+			}
 
-			try 
+			try
 			{
 				ocm.move("/test", "incorrectpath");			
 				fail("the copy method accepts an incorrect destination path");
-			} catch (ObjectContentManagerException e) 
+			} catch (ObjectContentManagerException e)
 			{
 				// Nothing to do  - Expected behaviour
 			}
 			
 			// --------------------------------------------------------------------------------
-			// Remove objects 
+			// Remove objects
 			// --------------------------------------------------------------------------------
 			ocm.remove("/result");
 			ocm.save();
-		} 
-        catch (Exception e) 
+		}
+        catch (Exception e)
 		{
         	e.printStackTrace();
         	fail();
 		}
 		
-        
+
 	}
 	
 	public void testObjectGraphMove()
@@ -257,27 +257,27 @@
         	ocm.save();
 			
 			// --------------------------------------------------------------------------------
-			// Copy the object 
+			// Copy the object
 			// --------------------------------------------------------------------------------			
-        	ocm.move("/source", "/result");            
+        	ocm.move("/source", "/result");
         	// --------------------------------------------------------------------------------
-			// Get the object 
+			// Get the object
 			// --------------------------------------------------------------------------------
 			a = (A) ocm.getObject("/result");
 			assertNotNull("a is null", a);
 			assertTrue("Invalid field a1", a.getA1().equals("a1"));
 			assertTrue("Invalid field b.b1", a.getB().getB1().equals("b1"));
 			assertTrue("Invalid number of items in field collection", a.getCollection().size() == 3);
-			        
+			
 			assertFalse("Object with path /source still exists", ocm.objectExists("/source"));
 			
 			// --------------------------------------------------------------------------------
-			// Remove objects 
+			// Remove objects
 			// --------------------------------------------------------------------------------
 			ocm.remove("/result");
 			ocm.save();
-		} 
-        catch (Exception e) 
+		}
+        catch (Exception e)
 		{
         	e.printStackTrace();
         	fail();

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterRemoveTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterRemoveTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterRemoveTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterRemoveTest.java Sun Jan 27 13:08:08 2008
@@ -69,7 +69,7 @@
     {
         super.setUp();
 		this.importData(date);
-        
+
     }
 	
 

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSameNameSiblingTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSameNameSiblingTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSameNameSiblingTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSameNameSiblingTest.java Sun Jan 27 13:08:08 2008
@@ -77,22 +77,22 @@
 			this.importData(date);
 			ObjectContentManager ocm = this.getObjectContentManager();
 				
-			// Query all objects 
+			// Query all objects
 			QueryManager queryManager = this.getQueryManager();
 			Filter filter = queryManager.createFilter(Atomic.class);	
 			filter.setScope("/");
 			Query query = queryManager.createQuery(filter);
 			Collection result = ocm.getObjects(query);
             assertEquals("Incorrect number of objects found", 10, result.size());
-                         
+
             // Get objects
             Atomic atomic = (Atomic) ocm.getObject( "/test[2]");
             assertNotNull("Object /test[2] not found", atomic);
-            
+
             atomic = (Atomic) ocm.getObject( "/test[10]");
-            assertNotNull("Object /test[2] not found", atomic);            
-            
-            // Update the object 
+            assertNotNull("Object /test[2] not found", atomic);
+
+            // Update the object
             atomic.setString("Modified Test String 10");
             ocm.update(atomic);
             ocm.save();
@@ -104,23 +104,23 @@
 			query = queryManager.createQuery(filter);
 			result = ocm.getObjects(query);
 			assertTrue("Incorrect number of objects found", result.size() == 1);
-            
+
 			atomic = (Atomic) ocm.getObject(query);
 			assertNotNull("Object not found", atomic);
-			assertTrue("Incorrect Object", atomic.getString().equals("Modified Test String 10"));   
+			assertTrue("Incorrect Object", atomic.getString().equals("Modified Test String 10"));
 			
             // Delete all objects
             queryManager = this.getQueryManager();
 			filter = queryManager.createFilter(Atomic.class);	
 			filter.setScope("/");
-			query = queryManager.createQuery(filter) ;           
+			query = queryManager.createQuery(filter) ;
             ocm.remove(query);
             ocm.save();
 
 			result = ocm.getObjects(query);
             assertTrue("Incorrect number of objects found", result.size() == 0);
-            
-            
+
+
 		}
 		catch (Exception e)
 		{
@@ -135,22 +135,22 @@
 		     ObjectContentManager ocm = getObjectContentManager();
              try
              {
-            	 
+            	
             	 Page page = new Page();
             	 page.setPath("/page");
-            	 page.setTitle("Page Title");            	 
+            	 page.setTitle("Page Title");            	
             	 ocm.insert(page);
             	 ocm.save();
-            	 
+            	
             	 Paragraph p1 = new Paragraph("para1");
             	 p1.setPath("/page/paragraph");
             	 ocm.insert(p1);
-            	 
+            	
             	 Paragraph p2 = new Paragraph("para1");
             	 p2.setPath("/page/paragraph");
             	 ocm.insert(p2);
-             fail();            	 
-            	 
+             fail();            	
+            	
              }
              catch(Exception e)
              {

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSimpleTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSimpleTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSimpleTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/basic/DigesterSimpleTest.java Sun Jan 27 13:08:08 2008
@@ -57,7 +57,7 @@
                 new TestSuite(DigesterSimpleTest.class));
     }
 
-    
+
     public void testClassA()
     {
         try
@@ -76,33 +76,33 @@
             b.setB1("b1");
             b.setB2("b2");
             a.setB(b);
-            
+
             C c1 = new C();
             c1.setId("first");
             c1.setName("First Element");
             C c2 = new C();
             c2.setId("second");
             c2.setName("Second Element");
-            
+
             C c3 = new C();
             c3.setId("third");
             c3.setName("Third Element");
-            
-            
+
+
             Collection collection = new ArrayList();
             collection.add(c1);
             collection.add(c2);
             collection.add(c3);
-            
+
             a.setCollection(collection);
-            
+
             ocm.insert(a);
             ocm.save();
-            
+
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNotNull("a is null", a);
             assertTrue("Incorrect a1", a.getA1().equals("a1"));
@@ -110,7 +110,7 @@
             assertTrue("Incorrect a.b.b1", a.getB().getB1().equals("b1"));
             assertNotNull("a.collection is null", a.getCollection());
             assertTrue("Incorrect a.collection", ((C) a.getCollection().iterator().next()).getId().equals("first"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -119,31 +119,31 @@
             newB.setB1("new B1");
             newB.setB2("new B2");
             a.setB(newB);
-            
-            
+
+
             ocm.update(a);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject("/test");
             assertNotNull("a is null", a);
             assertTrue("Incorrect a1", a.getA1().equals("new value"));
             assertNotNull("a.b is null", a.getB());
             assertTrue("Incorrect a.b.b1", a.getB().getB1().equals("new B1"));
-            
 
-            
+
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
-    
+
     /**
      * Test an persistent object mapped with a discriminator and with a nodetype
      *
@@ -161,34 +161,34 @@
          	Discriminator discriminatorObject = new Discriminator();
          	discriminatorObject.setPath("/test");
          	discriminatorObject.setContent("This is my content");
-             ocm.insert(discriminatorObject);             
+             ocm.insert(discriminatorObject);
              ocm.save();
-             
+
 
              // --------------------------------------------------------------------------------
              // Get the object
-             // --------------------------------------------------------------------------------           
+             // --------------------------------------------------------------------------------
              discriminatorObject = (Discriminator) ocm.getObject( "/test");
              assertNotNull("discriminator object  is null", discriminatorObject );
              assertTrue("Incorrect content", discriminatorObject.getContent().equals("This is my content"));
-             
+
              // --------------------------------------------------------------------------------
              // Update the object
              // --------------------------------------------------------------------------------
-             discriminatorObject.setContent("new content");             
-             
+             discriminatorObject.setContent("new content");
+
              ocm.update(discriminatorObject);
              ocm.save();
 
              // --------------------------------------------------------------------------------
              // Get the object
-             // --------------------------------------------------------------------------------           
+             // --------------------------------------------------------------------------------
              discriminatorObject = (Discriminator) ocm.getObject( "/test");
              assertNotNull("discriminator object  is null", discriminatorObject );
              assertTrue("Incorrect content", discriminatorObject.getContent().equals("new content"));
-             
 
-             
+
+
          }
          catch (Exception e)
          {
@@ -196,13 +196,13 @@
              fail("Exception occurs during the unit test : " + e);
          }	
     }
-    
+
     public void testIsPersistent()
-    {    
+    {
     	ObjectContentManager ocm = getObjectContentManager();
     	assertTrue("Class A is not persistent ", ocm.isPersistent(A.class));
     	assertFalse("Class String is  persistent - hum ? ", ocm.isPersistent(String.class));
     }
-    
+
 
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AllTests.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AllTests.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AllTests.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AllTests.java Sun Jan 27 13:08:08 2008
@@ -24,7 +24,7 @@
 
 /**
  * Package level tests.
- * 
+ *
  * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
  */
 public class AllTests {
@@ -36,7 +36,7 @@
     public static Test buildSuite() {
         TestSuite suite= new TestSuite("Test for org.apache.jackrabbit.ocm.manager.beanconverter");
         //$JUnit-BEGIN$
-        suite.addTestSuite(DigesterBeanDescriptorTest.class);        
+        suite.addTestSuite(DigesterBeanDescriptorTest.class);
         suite.addTestSuite(AnnotationBeanDescriptorTest.class);
         //$JUnit-END$
 

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AnnotationBeanDescriptorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AnnotationBeanDescriptorTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AnnotationBeanDescriptorTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/AnnotationBeanDescriptorTest.java Sun Jan 27 13:08:08 2008
@@ -40,12 +40,12 @@
 /**
  * ObjectConverter test for bean-descriptor with inner bean inlined and inner bean with
  * custom converter.
- * 
+ *
  * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
  */
 public class AnnotationBeanDescriptorTest extends AnnotationTestBase {
 
-    
+
     public AnnotationBeanDescriptorTest(String testname) {
         super(testname);
     }
@@ -55,15 +55,15 @@
         // All methods starting with "test" will be executed in the test suite.
         return new RepositoryLifecycleTestSetup(new TestSuite(AnnotationBeanDescriptorTest.class));
     }
-    
-    
+
+
     /**
      * @see org.apache.jackrabbit.ocm.DigesterTestBase#setUp()
      */
     protected void setUp() throws Exception {
         super.setUp();
     }
-     
+
 	/**
 	 * @see junit.framework.TestCase#tearDown()
 	 */
@@ -72,11 +72,11 @@
 		FakeBeanConverter.cleanUpLog();
 		cleanUpRepisotory();
 		super.tearDown();
-	}    
-    public void testBasic() throws Exception 
+	}
+    public void testBasic() throws Exception
     {
     	
-    	try 
+    	try
     	{
     		// ------------------------------------------------------------------------
     		// Create a main object (a) with a null attribute (A.b)
@@ -88,7 +88,7 @@
 			ocm.save();
 			
     		// ------------------------------------------------------------------------
-    		// Retrieve 
+    		// Retrieve
     		// ------------------------------------------------------------------------
 			a = (A) ocm.getObject("/test");
 			assertNotNull("Object is null", a);
@@ -103,7 +103,7 @@
 			ocm.save();
 
     		// ------------------------------------------------------------------------
-    		// Retrieve 
+    		// Retrieve
     		// ------------------------------------------------------------------------
 			a = (A) ocm.getObject("/test");
 			assertNotNull("Object is null", a);
@@ -114,8 +114,8 @@
     		// ------------------------------------------------------------------------			
 			ocm.remove("/test");
 			ocm.save();
-		} 
-    	catch (RuntimeException e) 
+		}
+    	catch (RuntimeException e)
     	{
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);    		
@@ -124,7 +124,7 @@
     	
     }
     public void testInlined() throws Exception {
-        
+
         B expB = new B();
         expB.setB1("b1value");
         expB.setB2("b2value");
@@ -132,60 +132,60 @@
         expD.setPath("/someD");
         expD.setD1("d1value");
         expD.setB1(expB);
-        
+
        ocm.insert( expD);
        ocm.save();
-        
+
         D actD = (D) ocm.getObject( "/someD");
-        
+
         assertEquals(expD.getD1(), actD.getD1());
         assertEquals(expB.getB1(), actD.getB1().getB1());
         assertEquals(expB.getB2(), actD.getB1().getB2());
-        
+
         DFull actDFull = (DFull) ocm.getObject( DFull.class,  "/someD");
-        
+
         assertEquals(expD.getD1(), actDFull.getD1());
         assertEquals(expB.getB1(), actDFull.getB1());
         assertEquals(expB.getB2(), actDFull.getB2());
-        
+
         expB.setB1("updatedvalue1");
-        
+
         ocm.update( expD);
         getSession().save();
-        
+
         actD = (D) ocm.getObject( "/someD");
-        
+
         assertEquals(expD.getD1(), actD.getD1());
         assertEquals(expB.getB1(), actD.getB1().getB1());
         assertEquals(expB.getB2(), actD.getB1().getB2());
-        
+
         actDFull = (DFull) ocm.getObject( DFull.class,  "/someD");
-        
+
         assertEquals(expD.getD1(), actDFull.getD1());
         assertEquals(expB.getB1(), actDFull.getB1());
         assertEquals(expB.getB2(), actDFull.getB2());
-        
-            
+
+
         expD.setB1(null);
         ocm.update( expD);
         getSession().save();
-        
+
         actD = (D) ocm.getObject(  "/someD");
-        
+
         assertEquals(expD.getD1(), actD.getD1());
         assertNull("b1 was not  removed", actD.getB1());
-        
+
         actDFull = (DFull) ocm.getObject( DFull.class,  "/someD");
         assertEquals(expD.getD1(), actDFull.getD1());
         assertNull("b1 was not  removed", actDFull.getB1());
         assertNull("b2 wan not remove", actDFull.getB2());
 
     }
-    
-    
-    public void testBeanDescriptorConverter() throws Exception 
+
+
+    public void testBeanDescriptorConverter() throws Exception
     {
-        
+
         B expB = new B();
         expB.setB1("b1value");
         expB.setB2("b2value");
@@ -193,34 +193,34 @@
         expE.setPath("/someD");
         expE.setD1("d1value");
         expE.setB1(expB);
-        
-        
+
+
         ocm.insert( expE);
         ocm.save();
-       
+
         E actE = (E) ocm.getObject( "/someD");
-       
+
         assertEquals(expE.getD1(), actE.getD1());
-        
+
         expE.setD1("updatedvalueD1");
         expB.setB1("updatedvalue1");
-        
+
         ocm.update( expE);
         ocm.save();
-               
+
         actE = (E) ocm.getObject(  "/someD");
-        
+
         assertEquals(expE.getD1(), actE.getD1());
-                        
+
         expE.setB1(null);
         ocm.update( expE);
         ocm.save();
-        
+
         actE = (E) ocm.getObject(  "/someD");
-        
-        assertEquals(expE.getD1(), actE.getD1());        
-        
-   
+
+        assertEquals(expE.getD1(), actE.getD1());
+
+
         List messages = FakeBeanConverter.getLog();
         assertEquals(6, messages.size());
         assertEquals("insert at path /someD", messages.get(0));
@@ -231,7 +231,7 @@
         assertEquals("get from path /someD", messages.get(5));
 
     }
-    
+
     public void testParentBeanConverter() throws Exception
     {
         try
@@ -245,37 +245,37 @@
             Page page = new Page();
             page.setPath("/test");
             page.setTitle("Page Title");
-            
+
             Collection paragraphs = new ArrayList();
-            
+
             paragraphs.add(new Paragraph("Para 1"));
             paragraphs.add(new Paragraph("Para 2"));
             paragraphs.add(new Paragraph("Para 3"));
             page.setParagraphs(paragraphs);
-            
+
             ocm.insert(page);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             page = (Page) ocm.getObject("/test");
             paragraphs = page.getParagraphs();
             for (Iterator iter = paragraphs.iterator(); iter.hasNext();) {
 				Paragraph paragraph = (Paragraph) iter.next();
 				System.out.println("Paragraph path : " + paragraph.getPath());				
-			}            
+			}
             Paragraph p1 = (Paragraph) ocm.getObject("/test/collection-element[2]");
             Page paraPage = p1.getPage();
             assertNotNull("Parent page is null", paraPage);
             assertTrue("Invalid parent page", paraPage.getPath().equals("/test"));
-            
+
             // --------------------------------------------------------------------------------
             // Remove the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             ocm.remove("/test");
             ocm.save();
-            
+
         }
         catch (Exception e)
         {
@@ -284,5 +284,5 @@
         }
     	
     }
-    
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/DigesterBeanDescriptorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/DigesterBeanDescriptorTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/DigesterBeanDescriptorTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/DigesterBeanDescriptorTest.java Sun Jan 27 13:08:08 2008
@@ -40,12 +40,12 @@
 /**
  * ObjectConverter test for bean-descriptor with inner bean inlined and inner bean with
  * custom converter.
- * 
+ *
  * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
  */
 public class DigesterBeanDescriptorTest extends DigesterTestBase {
 
-    
+
     public DigesterBeanDescriptorTest(String testname) {
         super(testname);
     }
@@ -55,8 +55,8 @@
         // All methods starting with "test" will be executed in the test suite.
         return new RepositoryLifecycleTestSetup(new TestSuite(DigesterBeanDescriptorTest.class));
     }
-    
-    
+
+
     /**
      * @see org.apache.jackrabbit.ocm.DigesterTestBase#setUp()
      */
@@ -72,12 +72,12 @@
 		FakeBeanConverter.cleanUpLog();
 		cleanUpRepisotory();
 		super.tearDown();
-	}    
+	}
 
-    public void testBasic() throws Exception 
+    public void testBasic() throws Exception
     {
     	
-    	try 
+    	try
     	{
     		// ------------------------------------------------------------------------
     		// Create a main object (a) with a null attribute (A.b)
@@ -89,7 +89,7 @@
 			ocm.save();
 			
     		// ------------------------------------------------------------------------
-    		// Retrieve 
+    		// Retrieve
     		// ------------------------------------------------------------------------
 			a = (A) ocm.getObject("/test");
 			assertNotNull("Object is null", a);
@@ -104,7 +104,7 @@
 			ocm.save();
 
     		// ------------------------------------------------------------------------
-    		// Retrieve 
+    		// Retrieve
     		// ------------------------------------------------------------------------
 			a = (A) ocm.getObject("/test");
 			assertNotNull("Object is null", a);
@@ -115,8 +115,8 @@
     		// ------------------------------------------------------------------------			
 			ocm.remove("/test");
 			ocm.save();
-		} 
-    	catch (RuntimeException e) 
+		}
+    	catch (RuntimeException e)
     	{
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);    		
@@ -125,7 +125,7 @@
     	
     }
     public void testInlined() throws Exception {
-        
+
         B expB = new B();
         expB.setB1("b1value");
         expB.setB2("b2value");
@@ -133,60 +133,60 @@
         expD.setPath("/someD");
         expD.setD1("d1value");
         expD.setB1(expB);
-        
+
        ocm.insert( expD);
        ocm.save();
-        
+
         D actD = (D) ocm.getObject( "/someD");
-        
+
         assertEquals(expD.getD1(), actD.getD1());
         assertEquals(expB.getB1(), actD.getB1().getB1());
         assertEquals(expB.getB2(), actD.getB1().getB2());
-        
+
         DFull actDFull = (DFull) ocm.getObject( DFull.class,  "/someD");
-        
+
         assertEquals(expD.getD1(), actDFull.getD1());
         assertEquals(expB.getB1(), actDFull.getB1());
         assertEquals(expB.getB2(), actDFull.getB2());
-        
+
         expB.setB1("updatedvalue1");
-        
+
         ocm.update( expD);
         getSession().save();
-        
+
         actD = (D) ocm.getObject( "/someD");
-        
+
         assertEquals(expD.getD1(), actD.getD1());
         assertEquals(expB.getB1(), actD.getB1().getB1());
         assertEquals(expB.getB2(), actD.getB1().getB2());
-        
+
         actDFull = (DFull) ocm.getObject( DFull.class,  "/someD");
-        
+
         assertEquals(expD.getD1(), actDFull.getD1());
         assertEquals(expB.getB1(), actDFull.getB1());
         assertEquals(expB.getB2(), actDFull.getB2());
-        
-            
+
+
         expD.setB1(null);
         ocm.update( expD);
         getSession().save();
-        
+
         actD = (D) ocm.getObject(  "/someD");
-        
+
         assertEquals(expD.getD1(), actD.getD1());
         assertNull("b1 was not  removed", actD.getB1());
-        
+
         actDFull = (DFull) ocm.getObject( DFull.class,  "/someD");
         assertEquals(expD.getD1(), actDFull.getD1());
         assertNull("b1 was not  removed", actDFull.getB1());
         assertNull("b2 wan not remove", actDFull.getB2());
 
     }
-    
-    
-    public void testBeanDescriptorConverter() throws Exception 
+
+
+    public void testBeanDescriptorConverter() throws Exception
     {
-        
+
         B expB = new B();
         expB.setB1("b1value");
         expB.setB2("b2value");
@@ -194,34 +194,34 @@
         expE.setPath("/someD");
         expE.setD1("d1value");
         expE.setB1(expB);
-        
-        
+
+
         ocm.insert( expE);
         ocm.save();
-       
+
         E actE = (E) ocm.getObject( "/someD");
-       
+
         assertEquals(expE.getD1(), actE.getD1());
-        
+
         expE.setD1("updatedvalueD1");
         expB.setB1("updatedvalue1");
-        
+
         ocm.update( expE);
         ocm.save();
-               
+
         actE = (E) ocm.getObject(  "/someD");
-        
+
         assertEquals(expE.getD1(), actE.getD1());
-                        
+
         expE.setB1(null);
         ocm.update( expE);
         ocm.save();
-        
+
         actE = (E) ocm.getObject(  "/someD");
-        
-        assertEquals(expE.getD1(), actE.getD1());        
-        
-   
+
+        assertEquals(expE.getD1(), actE.getD1());
+
+
         List messages = FakeBeanConverter.getLog();
         assertEquals(6, messages.size());
         assertEquals("insert at path /someD", messages.get(0));
@@ -232,7 +232,7 @@
         assertEquals("get from path /someD", messages.get(5));
 
     }
-    
+
     public void testParentBeanConverter() throws Exception
     {
         try
@@ -246,37 +246,37 @@
             Page page = new Page();
             page.setPath("/test");
             page.setTitle("Page Title");
-            
+
             Collection paragraphs = new ArrayList();
-            
+
             paragraphs.add(new Paragraph("Para 1"));
             paragraphs.add(new Paragraph("Para 2"));
             paragraphs.add(new Paragraph("Para 3"));
             page.setParagraphs(paragraphs);
-            
+
             ocm.insert(page);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             page = (Page) ocm.getObject("/test");
             paragraphs = page.getParagraphs();
             for (Iterator iter = paragraphs.iterator(); iter.hasNext();) {
 				Paragraph paragraph = (Paragraph) iter.next();
 				System.out.println("Paragraph path : " + paragraph.getPath());				
-			}            
+			}
             Paragraph p1 = (Paragraph) ocm.getObject("/test/collection-element[2]");
             Page paraPage = p1.getPage();
             assertNotNull("Parent page is null", paraPage);
             assertTrue("Invalid parent page", paraPage.getPath().equals("/test"));
-            
+
             // --------------------------------------------------------------------------------
             // Remove the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             ocm.remove("/test");
             ocm.save();
-            
+
         }
         catch (Exception e)
         {
@@ -285,5 +285,5 @@
         }
     	
     }
-    
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/FakeBeanConverter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/FakeBeanConverter.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/FakeBeanConverter.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/beanconverter/FakeBeanConverter.java Sun Jan 27 13:08:08 2008
@@ -38,13 +38,13 @@
 public class FakeBeanConverter extends AbstractBeanConverterImpl implements BeanConverter {
 
     private static  List log = new ArrayList();
-    
+
     public FakeBeanConverter(Mapper mapper, ObjectConverter objectConverter, AtomicTypeConverterProvider atomicTypeConverterProvider) {
 		super(mapper, objectConverter, atomicTypeConverterProvider);
-		 
-		 
+		
+		
 	}
-    
+
     public static void cleanUpLog()
     {
     	log.clear();
@@ -53,7 +53,7 @@
 	public static List getLog() {
         return log;
     }
-        
+
     /**
      * @see org.apache.jackrabbit.ocm.manager.beanconverter.BeanConverter#insert(javax.jcr.Session, javax.jcr.Node, org.apache.jackrabbit.ocm.mapper.Mapper, java.lang.String, java.lang.Object)
      */
@@ -61,12 +61,12 @@
 	throws ObjectContentManagerException, RepositoryException, 	JcrMappingException {
         try {
             log.add("insert at path " + parentNode.getPath());
-            
+
         }
         catch(javax.jcr.RepositoryException re) {
             throw new ObjectContentManagerException(re);
         }
-    } 
+    }
 
     /**
      * @see org.apache.jackrabbit.ocm.manager.beanconverter.BeanConverter#update(javax.jcr.Session, javax.jcr.Node, org.apache.jackrabbit.ocm.mapper.Mapper, java.lang.String, java.lang.Object)
@@ -92,9 +92,9 @@
         catch(javax.jcr.RepositoryException re) {
             throw new ObjectContentManagerException(re);
         }
-        // The B object is not important for the unit test. 
+        // The B object is not important for the unit test.
         // The unit test checks only the log generated by this converter
-        return new B(); 
+        return new B();
     }
 
     /**

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AllTests.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AllTests.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AllTests.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AllTests.java Sun Jan 27 13:08:08 2008
@@ -24,7 +24,7 @@
 
 /**
  * Package level tests.
- * 
+ *
  * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
  */
 public class AllTests {
@@ -43,14 +43,14 @@
         suite.addTestSuite(AnnotationNTCollectionConverterImplTest.class);
         suite.addTestSuite(AnnotationResidualNodesCollectionConverterImplTest.class);
         suite.addTestSuite(AnnotationResidualPropertiesCollectionConverterImplTest.class);
-        suite.addTestSuite(DigesterArrayListTest.class);        
-        suite.addTestSuite(DigesterDefaultCollectionConverterImplTest.class);                
+        suite.addTestSuite(DigesterArrayListTest.class);
+        suite.addTestSuite(DigesterDefaultCollectionConverterImplTest.class);
         suite.addTestSuite(DigesterHashMapTest.class);
-        suite.addTestSuite(DigesterMultiValueCollectionConverterImplTest.class);                                
+        suite.addTestSuite(DigesterMultiValueCollectionConverterImplTest.class);
         suite.addTestSuite(DigesterNTCollectionConverterImplTest.class);
         suite.addTestSuite(DigesterResidualNodesCollectionConverterImplTest.class);
         suite.addTestSuite(DigesterResidualPropertiesCollectionConverterImplTest.class);
-        
+
         //$JUnit-END$
 
         return suite;

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationArrayListTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationArrayListTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationArrayListTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationArrayListTest.java Sun Jan 27 13:08:08 2008
@@ -51,8 +51,8 @@
         // All methods starting with "test" will be executed in the test suite.
         return new RepositoryLifecycleTestSetup(new TestSuite(AnnotationArrayListTest.class));
     }
-  
-    
+
+
     public void testArrayList()
     {
         try
@@ -68,45 +68,45 @@
             Main main = new Main();
             main.setPath("/test");
             main.setText("Main text");
-            
+
             ocm.insert(main);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             ArrayList arrayList = main.getList();
-            assertNull("main.getList is not null", arrayList ); 
-            
+            assertNull("main.getList is not null", arrayList );
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
-            
+
             ArrayListElement arrayListElement = new ArrayListElement();
             Element e1 = new Element();
             e1.setId("e1");
             e1.setText("Element 1");
             arrayListElement.add(e1);
-            
+
             Element e2 = new Element();
             e2.setId("e2");
             e2.setText("Element 2");
             arrayListElement.add(e2);
-            
+
             main.setList(arrayListElement);
             ocm.update(main);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             arrayList = main.getList();
-            assertNotNull("main.getList is null", arrayList ); 
+            assertNotNull("main.getList is null", arrayList );
             Element[] elements = (Element[]) arrayList.toArray(new Element[arrayList.size()]);
             assertTrue("Incorrect para element", elements[0].getText().equals("Element 1"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -115,40 +115,40 @@
             e1.setId("e1");
             e1.setText("Element 1");
             arrayListElement.add(e1);
-            
+
             e2 = new Element();
             e2.setId("e3");
             e2.setText("Element 3");
             arrayListElement.add(e2);
-            
+
             Element e3 = new Element();
             e3.setId("e4");
             e3.setText("Element 4");
             arrayListElement.add(e3);
-            
-            main.setList(arrayListElement);            
-            
+
+            main.setList(arrayListElement);
+
             ocm.update(main);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             arrayList = main.getList();
-            assertNotNull("main.getList() is null", arrayList ); 
+            assertNotNull("main.getList() is null", arrayList );
             elements = (Element[]) arrayList.toArray(new Element[arrayList.size()]);
             assertTrue("Incorrect element", elements[2].getText().equals("Element 4"));
-            
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
 
-   
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationDefaultCollectionConverterImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationDefaultCollectionConverterImplTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationDefaultCollectionConverterImplTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationDefaultCollectionConverterImplTest.java Sun Jan 27 13:08:08 2008
@@ -66,17 +66,17 @@
             // Create and store an object with a null collection field
             // --------------------------------------------------------------------------------
             A a = new A();
-            a.setPath("/test");               
-            
+            a.setPath("/test");
+
             ocm.insert(a);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNull("a.collection is not null", a.getCollection());
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -86,58 +86,58 @@
             C c2 = new C();
             c2.setId("second");
             c2.setName("Second Element");
-            
+
             C c3 = new C();
             c3.setId("third");
             c3.setName("Third Element");
-            
-            
+
+
             Collection collection = new ArrayList();
             collection.add(c1);
             collection.add(c2);
             collection.add(c3);
-            
+
             a.setCollection(collection);
-            
+
             ocm.update(a);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject("/test");
             assertNotNull("a is null", a);
             assertNotNull("a.collection is null", a.getCollection());
             assertTrue("Incorrect collection size", a.getCollection().size() == 3);
             assertTrue("Incorrect a.collection", ((C) a.getCollection().iterator().next()).getId().equals("first"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
             a.setCollection(null);
             ocm.update(a);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNull("a.collection is not null", a.getCollection());
-            
+
             // --------------------------------------------------------------------------------
             // Export to check the content
-            // --------------------------------------------------------------------------------           
-            this.exportDocument("target/DefaultCollectionConverterExport.xml", "/test", true, false);         
-            
+            // --------------------------------------------------------------------------------
+            this.exportDocument("target/DefaultCollectionConverterExport.xml", "/test", true, false);
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
-    
+
     public void testDropElement()
     {
         try
@@ -155,70 +155,70 @@
             C c2 = new C();
             c2.setId("second");
             c2.setName("Second Element");
-            
+
             C c3 = new C();
             c3.setId("third");
             c3.setName("Third Element");
-            
-            
+
+
             Collection collection = new ArrayList();
             collection.add(c1);
             collection.add(c2);
             collection.add(c3);
-            
+
             a.setCollection(collection);
-            
+
             ocm.insert(a);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNotNull("a.collection is null", a.getCollection());
             assertEquals("Incorrect a.collection size", 3, a.getCollection().size());
             assertTrue("Incorrect a.collection", ((C) a.getCollection().iterator().next()).getId().equals("first"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
             c1 = new C();
             c1.setId("new first");
             c1.setName("First Element");
-            
+
             c2 = new C();
             c2.setId("new second");
             c2.setName("Second Element");
-            
+
             collection = new ArrayList();
             collection.add(c1);
             collection.add(c2);
             a.setCollection(collection);
-            
+
             ocm.update(a);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNotNull("a is null", a);
             assertNotNull("a.collection is null", a.getCollection());
             assertTrue("Incorrect collection size", a.getCollection().size() == 2);
             assertTrue("Incorrect a.collection", ((C) a.getCollection().iterator().next()).getId().equals("new first"));
-            
+
             // --------------------------------------------------------------------------------
             // Export to check the content
-            // --------------------------------------------------------------------------------           
-            this.exportDocument("target/DefaultCollectionConverterExport.xml", "/test", true, false);         
-            
+            // --------------------------------------------------------------------------------
+            this.exportDocument("target/DefaultCollectionConverterExport.xml", "/test", true, false);
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
     public void testAddElement()
@@ -239,63 +239,63 @@
             C c2 = new C();
             c2.setId("second");
             c2.setName("Second Element");
-            
+
             C c3 = new C();
             c3.setId("third");
             c3.setName("Third Element");
-            
-            
+
+
             Collection collection = new ArrayList();
             collection.add(c1);
             collection.add(c2);
             collection.add(c3);
-            
+
             a.setCollection(collection);
-            
+
             ocm.insert(a);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNotNull("a.collection is null", a.getCollection());
             assertEquals("Incorrect a.collection size", 3, a.getCollection().size());
             assertEquals("Incorrect a.collection", "first", ((C) a.getCollection().iterator().next()).getId());
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
             C c4 = new C();
             c4.setId("Fourth");
             c4.setName("Fourth Element");
-                
+
             collection = new ArrayList();
             collection.add(c1);
             collection.add(c2);
             collection.add(c3);
             collection.add(c4);
             a.setCollection(collection);
-            
+
             ocm.update(a);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             a = (A) ocm.getObject( "/test");
             assertNotNull("a is null", a);
             assertNotNull("a.collection is null", a.getCollection());
             assertEquals("Incorrect collection size", 4, a.getCollection().size());
             assertEquals("Incorrect a.collection", "first", ((C) a.getCollection().iterator().next()).getId());
-            
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
-    }    
-   
+
+    }
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationHashMapTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationHashMapTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationHashMapTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationHashMapTest.java Sun Jan 27 13:08:08 2008
@@ -51,8 +51,8 @@
         // All methods starting with "test" will be executed in the test suite.
         return new RepositoryLifecycleTestSetup(new TestSuite(AnnotationHashMapTest.class));
     }
- 
-    
+
+
     public void testHashMap()
     {
         try
@@ -66,17 +66,17 @@
             Main main = new Main();
             main.setPath("/test");
             main.setText("Main text");
-                        
+
             ocm.insert(main);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
-            main = (Main) ocm.getObject( "/test");            
-            assertTrue("Incorrect text", main.getText().equals("Main text"));           
+            // --------------------------------------------------------------------------------
+            main = (Main) ocm.getObject( "/test");
+            assertTrue("Incorrect text", main.getText().equals("Main text"));
             assertNull("HashMap is not null", main.getHashMap());
-            
+
             // --------------------------------------------------------------------------------
             // Update an object graph in the repository
             // --------------------------------------------------------------------------------
@@ -84,31 +84,31 @@
             main = new Main();
             main.setPath("/test");
             main.setText("Main text");
-            
+
             HashMapElement hashMapElement = new HashMapElement();
             Element e1 = new Element();
             e1.setId("e1");
             e1.setText("Element 1");
             hashMapElement.addObject(e1);
-            
+
             Element e2 = new Element();
             e2.setId("e2");
             e2.setText("Element 2");
             hashMapElement.addObject(e2);
-            
+
             main.setHashMap(hashMapElement);
-            
+
             ocm.update(main);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             assertNotNull("main.getHashMap() is null", main.getHashMap());
-            assertTrue("Incorrect text", main.getText().equals("Main text"));           
+            assertTrue("Incorrect text", main.getText().equals("Main text"));
             assertTrue("Incorrect para element", ((Element) main.getHashMap().get("e1")).getText().equals("Element 1"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -117,7 +117,7 @@
             e1.setId("e1");
             e1.setText("Element 1");
             hashMapElement.addObject(e1);
-            
+
             e2 = new Element();
             e2.setId("e3");
             e2.setText("Element 3");
@@ -128,26 +128,26 @@
             e3.setText("Element 4");
             hashMapElement.addObject(e3);
             main.setHashMap(hashMapElement);
-            
+
             ocm.update(main);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             assertNotNull("main.getElements() is null", main.getHashMap());
-            assertTrue("Incorrect text", main.getText().equals("Main text"));           
+            assertTrue("Incorrect text", main.getText().equals("Main text"));
             assertTrue("Incorrect para element", ((Element) main.getHashMap().get("e4")).getText().equals("Element 4"));
-            
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
 
-   
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationMultiValueCollectionConverterImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationMultiValueCollectionConverterImplTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationMultiValueCollectionConverterImplTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationMultiValueCollectionConverterImplTest.java Sun Jan 27 13:08:08 2008
@@ -52,7 +52,7 @@
         return new RepositoryLifecycleTestSetup(new TestSuite(AnnotationMultiValueCollectionConverterImplTest.class));
     }
 
- 
+
 
     public void testMultiValue()
     {
@@ -66,26 +66,26 @@
 
             MultiValue multiValue = new MultiValue();
             multiValue.setPath("/test");
-            
+
             ArrayList values = new ArrayList();
             values.add("Value1");
             values.add("Value2");
             values.add("Value3");
             values.add("Value4");
             multiValue.setMultiValues(values);
-            
+
             ocm.insert(multiValue);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             multiValue = (MultiValue) ocm.getObject( "/test");
             assertNotNull("Object is null", multiValue);
             assertNull("nullMultiValues field is not null", multiValue.getNullMultiValues());
-            assertTrue("Incorrect number of values", multiValue.getMultiValues().size() == 4);            
+            assertTrue("Incorrect number of values", multiValue.getMultiValues().size() == 4);
             assertTrue("Incorrect collection element", ((String) multiValue.getMultiValues().iterator().next()).equals("Value1"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -96,29 +96,29 @@
             values.add("Value4");
             values.add("Value5");
             multiValue.setMultiValues(values);
-            
+
             ocm.update(multiValue);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
 
             multiValue = (MultiValue) ocm.getObject( "/test");
             assertNotNull("Object is null", multiValue);
             assertNull("nullMultiValues field is not null", multiValue.getNullMultiValues());
-            assertTrue("Incorrect number of values", multiValue.getMultiValues().size() == 5);            
+            assertTrue("Incorrect number of values", multiValue.getMultiValues().size() == 5);
             assertTrue("Incorrect collection element", ((String) multiValue.getMultiValues().iterator().next()).equals("Value1"));
-            
-            
+
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
-   
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationNTCollectionConverterImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationNTCollectionConverterImplTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationNTCollectionConverterImplTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationNTCollectionConverterImplTest.java Sun Jan 27 13:08:08 2008
@@ -53,14 +53,14 @@
         return new RepositoryLifecycleTestSetup(
                 new TestSuite(AnnotationNTCollectionConverterImplTest.class));
     }
-          
+
 
     public void testCollection()
     {
         try
         {
         	ObjectContentManager ocm = getObjectContentManager();
-            
+
         	// --------------------------------------------------------------------------------
             // Create and store an object graph in the repository with a null collection
             // --------------------------------------------------------------------------------
@@ -68,75 +68,75 @@
             Page page = new Page();
             page.setPath("/test");
             page.setTitle("Page Title");
-            
+
             ocm.insert(page);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             page = (Page) ocm.getObject( "/test");
             assertNull("page.getParagraphs is not null", page.getParagraphs());
-            assertTrue("Incorrect page title", page.getTitle().equals("Page Title"));                        
-            
+            assertTrue("Incorrect page title", page.getTitle().equals("Page Title"));
+
             // --------------------------------------------------------------------------------
             // Create and store an object graph in the repository
             // --------------------------------------------------------------------------------
             ArrayList paragraphs = new ArrayList();
-            
+
             paragraphs.add(new Paragraph("Para 1"));
             paragraphs.add(new Paragraph("Para 2"));
             paragraphs.add(new Paragraph("Para 3"));
             page.setParagraphs(paragraphs);
-            
+
             ocm.update(page);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             page = (Page) ocm.getObject( "/test");
             assertNotNull("page.getParagraphs is null", page.getParagraphs());
             assertTrue("Incorrect page title", page.getTitle().equals("Page Title"));
             assertTrue("Incorrect page.getParagraphs size", page.getParagraphs().size() == 3);
             assertTrue("Incorrect para element", ((Paragraph) page.getParagraphs().iterator().next()).getText().equals("Para 1"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
             paragraphs = new ArrayList();
-            
+
             paragraphs.add(new Paragraph("Para 1"));
             paragraphs.add(new Paragraph("Para 2"));
             paragraphs.add(new Paragraph("Para 4"));
             paragraphs.add(new Paragraph("Para 5"));
             page.setParagraphs(paragraphs);
-            
+
             ocm.update(page);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
 
             page = (Page) ocm.getObject( "/test");
             assertNotNull("page.getParagraphs is null", page.getParagraphs());
             assertTrue("Incorrect page title", page.getTitle().equals("Page Title"));
             assertTrue("Incorrect page.getParagraphs size", page.getParagraphs().size() == 4);
             assertTrue("Incorrect para element", ((Paragraph) page.getParagraphs().iterator().next()).getText().equals("Para 1"));
-            
+
             // --------------------------------------------------------------------------------
             // Export to check the content
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             this.exportDocument("target/NTCollectionExport.xml", "/test", true, false);
-            
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
-   
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualNodesCollectionConverterImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualNodesCollectionConverterImplTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualNodesCollectionConverterImplTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualNodesCollectionConverterImplTest.java Sun Jan 27 13:08:08 2008
@@ -32,7 +32,7 @@
  * Test ResidualNodesCollectionConverterImpl
  *
  * @author <a href="mailto:fmeschbe[at]apache[dot]com">Felix Meschberger</a>
- * 
+ *
  */
 public class AnnotationResidualNodesCollectionConverterImplTest extends AnnotationTestBase
 {
@@ -52,7 +52,7 @@
         // All methods starting with "test" will be executed in the test suite.
         return new RepositoryLifecycleTestSetup(new TestSuite(AnnotationResidualNodesCollectionConverterImplTest.class));
     }
-  
+
 
     public void testResidualNodes()
     {
@@ -71,36 +71,36 @@
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             residual = (Residual) ocm.getObject( "/test");
             assertNotNull("Object is null", residual);
             assertNull("Map is not null", residual.getElements());
-            
+
             // --------------------------------------------------------------------------------
             // Update an object graph in the repository
             // --------------------------------------------------------------------------------
             residual = new Residual.ResidualNodes();
             residual.setPath("/test");
-            
+
             ManagedHashMap map = new ManagedHashMap();
             map.put("value1", new Paragraph("Value1"));
             map.put("value2", new Paragraph("Value2"));
             map.put("value3", new Paragraph("Value3"));
             map.put("value4", new Paragraph("Value4"));
             residual.setElements(map);
-            
+
             ocm.update(residual);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             residual = (Residual) ocm.getObject( "/test");
             assertNotNull("Object is null", residual);
-            assertTrue("Incorrect number of values", residual.getElements().size() == 4);            
+            assertTrue("Incorrect number of values", residual.getElements().size() == 4);
             assertTrue("Incorrect collection element type", (residual.getElements().get("value2") instanceof Paragraph));
             assertEquals("Incorrect collection element text", ((Paragraph) residual.getElements().get("value2")).getText(), "Value2");
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -111,13 +111,13 @@
             map.put("value14", new Paragraph("Value14"));
             map.put("value15", new Paragraph("Value15"));
             residual.setElements(map);
-            
+
             ocm.update(residual);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
 
             residual = (Residual) ocm.getObject( "/test");
             assertNotNull("Object is null", residual);
@@ -131,8 +131,8 @@
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
-   
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualPropertiesCollectionConverterImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualPropertiesCollectionConverterImplTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualPropertiesCollectionConverterImplTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/AnnotationResidualPropertiesCollectionConverterImplTest.java Sun Jan 27 13:08:08 2008
@@ -35,7 +35,7 @@
  * Test ResidualPropertiesCollectionConverterImpl
  *
  * @author <a href="mailto:fmeschbe[at]apache[dot]com">Felix Meschberger</a>
- * 
+ *
  */
 public class AnnotationResidualPropertiesCollectionConverterImplTest extends AnnotationTestBase
 {
@@ -68,24 +68,24 @@
 
             Residual residual = new Residual.ResidualProperties();
             residual.setPath("/test");
-                        
+
             ocm.insert(residual);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             residual = (Residual) ocm.getObject( "/test");
             assertNotNull("Object is null", residual);
             assertNull("Hashmap is not null", residual.getElements());
-            
+
             // --------------------------------------------------------------------------------
             // Update an object graph in the repository
             // --------------------------------------------------------------------------------
 
             residual = new Residual.ResidualProperties();
             residual.setPath("/test");
-            
+
             ManagedHashMap map = new ManagedHashMap();
             map.put("value1", "Value1");
             map.put("value2", "Value2");
@@ -93,22 +93,22 @@
             map.put("value4", "Value4");
             map.put("value5", Arrays.asList(new String[]{ "Value5-1", "Value5-2" }));
             residual.setElements(map);
-            
+
             ocm.update(residual);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             residual = (Residual) ocm.getObject( "/test");
             assertNotNull("Object is null", residual);
-            assertTrue("Incorrect number of values", residual.getElements().size() == 5);            
+            assertTrue("Incorrect number of values", residual.getElements().size() == 5);
             assertTrue("Incorrect collection element", residual.getElements().get("value2").equals("Value2"));
             assertNotNull("Missing collection element", residual.getElements().get("value5"));
             assertTrue("Incorrect collection element type", (residual.getElements().get("value5") instanceof List));
             assertEquals("Incorrect collection element list size", ((List) residual.getElements().get("value5")).size(), 2);
             assertEquals("Incorrect collection element list value", ((List) residual.getElements().get("value5")).get(0), "Value5-1");
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -120,13 +120,13 @@
             map.put("value15", "Value15");
             map.put("value16", Arrays.asList(new String[]{ "Value16-1", "Value16-2" }));
             residual.setElements(map);
-            
+
             ocm.update(residual);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
 
             residual = (Residual) ocm.getObject( "/test");
             assertNotNull("Object is null", residual);
@@ -144,8 +144,8 @@
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
-   
+
 }

Modified: jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/DigesterArrayListTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/DigesterArrayListTest.java?rev=615649&r1=615648&r2=615649&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/DigesterArrayListTest.java (original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/DigesterArrayListTest.java Sun Jan 27 13:08:08 2008
@@ -51,7 +51,7 @@
         // All methods starting with "test" will be executed in the test suite.
         return new RepositoryLifecycleTestSetup(new TestSuite(DigesterArrayListTest.class));
     }
-      
+
     public void testArrayList()
     {
         try
@@ -67,45 +67,45 @@
             Main main = new Main();
             main.setPath("/test");
             main.setText("Main text");
-            
+
             ocm.insert(main);
             ocm.save();
-            
+
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             ArrayList arrayList = main.getList();
-            assertNull("main.getList is not null", arrayList ); 
-            
+            assertNull("main.getList is not null", arrayList );
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
-            
+
             ArrayListElement arrayListElement = new ArrayListElement();
             Element e1 = new Element();
             e1.setId("e1");
             e1.setText("Element 1");
             arrayListElement.add(e1);
-            
+
             Element e2 = new Element();
             e2.setId("e2");
             e2.setText("Element 2");
             arrayListElement.add(e2);
-            
+
             main.setList(arrayListElement);
             ocm.update(main);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             arrayList = main.getList();
-            assertNotNull("main.getList is null", arrayList ); 
+            assertNotNull("main.getList is null", arrayList );
             Element[] elements = (Element[]) arrayList.toArray(new Element[arrayList.size()]);
             assertTrue("Incorrect para element", elements[0].getText().equals("Element 1"));
-            
+
             // --------------------------------------------------------------------------------
             // Update the object
             // --------------------------------------------------------------------------------
@@ -114,40 +114,40 @@
             e1.setId("e1");
             e1.setText("Element 1");
             arrayListElement.add(e1);
-            
+
             e2 = new Element();
             e2.setId("e3");
             e2.setText("Element 3");
             arrayListElement.add(e2);
-            
+
             Element e3 = new Element();
             e3.setId("e4");
             e3.setText("Element 4");
             arrayListElement.add(e3);
-            
-            main.setList(arrayListElement);            
-            
+
+            main.setList(arrayListElement);
+
             ocm.update(main);
             ocm.save();
 
             // --------------------------------------------------------------------------------
             // Get the object
-            // --------------------------------------------------------------------------------           
+            // --------------------------------------------------------------------------------
             main = (Main) ocm.getObject( "/test");
             arrayList = main.getList();
-            assertNotNull("main.getList() is null", arrayList ); 
+            assertNotNull("main.getList() is null", arrayList );
             elements = (Element[]) arrayList.toArray(new Element[arrayList.size()]);
             assertTrue("Incorrect element", elements[2].getText().equals("Element 4"));
-            
+
         }
         catch (Exception e)
         {
             e.printStackTrace();
             fail("Exception occurs during the unit test : " + e);
         }
-        
+
     }
 
 
-   
+
 }



Mime
View raw message