You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2006/02/06 00:05:49 UTC
svn commit: r375125 -
/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java
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());