diff options
author | James Moger <james.moger@gmail.com> | 2011-08-11 14:10:28 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-08-11 14:10:28 -0400 |
commit | 64184c246a552024dda12f5ee0830ec5b3c6161f (patch) | |
tree | 24c2aa5228bad6d80557085611d46b2f88829fcc /tests/com/iciql/test/BooleanModelTest.java | |
parent | 0333ed4cf0b5db3f9ffcb0da31787f6e44139af5 (diff) | |
download | iciql-64184c246a552024dda12f5ee0830ec5b3c6161f.tar.gz iciql-64184c246a552024dda12f5ee0830ec5b3c6161f.zip |
Restructured test suite to run against multiple databases.
Diffstat (limited to 'tests/com/iciql/test/BooleanModelTest.java')
-rw-r--r-- | tests/com/iciql/test/BooleanModelTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/com/iciql/test/BooleanModelTest.java b/tests/com/iciql/test/BooleanModelTest.java index 0287e06..6111e72 100644 --- a/tests/com/iciql/test/BooleanModelTest.java +++ b/tests/com/iciql/test/BooleanModelTest.java @@ -39,7 +39,7 @@ public class BooleanModelTest { @Test
public void testBooleanColumn() {
- Db db = Db.open("jdbc:h2:mem:", "sa", "sa");
+ Db db = IciqlSuite.openDb();
db.insertAll(BooleanModel.getList());
BooleanAsIntModel b = new BooleanAsIntModel();
List<BooleanAsIntModel> models = db.from(b).select();
@@ -82,7 +82,7 @@ public class BooleanModelTest { @Test
public void testIntColumn() {
- Db db = Db.open("jdbc:h2:mem:", "sa", "sa");
+ Db db = IciqlSuite.openDb();
// insert INT column
db.insertAll(BooleanAsIntModel.getList());
|