db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1143273 - /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/avalon/AvalonMapBuildersTest.java
Date Wed, 06 Jul 2011 07:18:32 GMT
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


Mime
View raw message