db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r375125 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java
Date Sun, 05 Feb 2006 23:05:49 GMT
Author: tomdz
Date: Sun Feb  5 15:05:48 2006
New Revision: 375125

URL: http://svn.apache.org/viewcvs?rev=375125&view=rev
Log:
Added comparison of the jdbc type name which gives more meaningful assertion failures

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java?rev=375125&r1=375124&r2=375125&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java Sun Feb  5 15:05:48
2006
@@ -431,6 +431,9 @@
 	                     expected.isAutoIncrement(),
 	                     actual.isAutoIncrement());
         }
+        assertEquals("Type not the same for column "+actual.getName()+".",
+                     expected.getType(),
+                     actual.getType());
         assertEquals("Type code not the same for column "+actual.getName()+".",
                      expected.getTypeCode(),
                      actual.getTypeCode());



Mime
View raw message