summaryrefslogtreecommitdiffstats
path: root/tests/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-09-02 17:44:53 -0400
committerJames Moger <james.moger@gmail.com>2011-09-02 17:44:53 -0400
commit999af1bf78e0e45cb445f0adcf34588023b4ff76 (patch)
treeb5d1107df22422d299e25ed9a488c810885f4675 /tests/com
parentba323f66e1727097ac91b1743c85ea563ee565cd (diff)
downloadiciql-999af1bf78e0e45cb445f0adcf34588023b4ff76.tar.gz
iciql-999af1bf78e0e45cb445f0adcf34588023b4ff76.zip
Generated models are now serializable.
Diffstat (limited to 'tests/com')
-rw-r--r--tests/com/iciql/test/ModelsTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/com/iciql/test/ModelsTest.java b/tests/com/iciql/test/ModelsTest.java
index 3900437..ceed7a9 100644
--- a/tests/com/iciql/test/ModelsTest.java
+++ b/tests/com/iciql/test/ModelsTest.java
@@ -123,20 +123,20 @@ public class ModelsTest {
// a poor test, but a start
String dbName = IciqlSuite.getDatabaseEngineName(db);
if (dbName.equals("H2")) {
- assertEquals(1475, models.get(0).length());
+ assertEquals(1579, models.get(0).length());
} else if (dbName.startsWith("HSQL")) {
// HSQL uses Double instead of Float
- assertEquals(1479, models.get(0).length());
+ assertEquals(1583, models.get(0).length());
} else if (dbName.equals("Apache Derby")) {
// Derby uses java.sql.Timestamp not java.util.Date
// Derby uses username as schema name
- assertEquals(1489, models.get(0).length());
+ assertEquals(1593, models.get(0).length());
} else if (dbName.equals("PostgreSQL")) {
- assertEquals(1531, models.get(0).length());
+ assertEquals(1635, models.get(0).length());
} else if (dbName.equals("MySQL")) {
// MySQL uses timestamp default values like
// 0000-00-00 00:00:00 and CURRENT_TIMESTAMP
- assertEquals(1561, models.get(0).length());
+ assertEquals(1665, models.get(0).length());
} else {
// unknown database
assertEquals(0, models.get(0).length());