You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/07/06 09:18:32 UTC

svn commit: r1143273 - /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java

Author: tfischer
Date: Wed Jul  6 07:18:31 2011
New Revision: 1143273

URL: http://svn.apache.org/viewvc?rev=1143273&view=rev
Log:
- replaced tabs by spaces
- removed unnecessary import
- fixed error message typo

Modified:
    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java

Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java?rev=1143273&r1=1143272&r2=1143273&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java (original)
+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java Wed Jul  6 07:18:31 2011
@@ -19,7 +19,6 @@ package org.apache.torque.avalon;
  */
 
 import org.apache.avalon.framework.component.ComponentException;
-import org.apache.commons.digester.SetTopRule;
 import org.apache.fulcrum.testcontainer.BaseUnitTest;
 import org.apache.torque.TorqueException;
 import org.apache.torque.map.DatabaseMap;
@@ -73,18 +72,19 @@ public class AvalonMapBuildersTest exten
      */
     public void testMapBuilder()
     {
-    	DatabaseMap dbMap = null;
-    	
-    	try 
-    	{
-			dbMap = torque.getDatabaseMap(AuthorPeer.DATABASE_NAME);
-		} 
-    	catch (TorqueException e) 
-    	{
-    		fail(e.getMessage());
-		}
-    	
-        assertTrue("Table author should be in the DatabaseMap", dbMap.containsTable(AuthorPeer.TABLE_NAME));
-        assertFalse("Torque instsnces should be different", torque == instance);
+        DatabaseMap dbMap = null;
+        
+        try 
+        {
+            dbMap = torque.getDatabaseMap(AuthorPeer.DATABASE_NAME);
+        } 
+        catch (TorqueException e) 
+        {
+            fail(e.getMessage());
+        }
+        
+        assertTrue("Table author should be in the DatabaseMap",
+                dbMap.containsTable(AuthorPeer.TABLE_NAME));
+        assertFalse("Torque instances should be different", torque == instance);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org