aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/iciql/test/ClobTest.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-08-11 14:10:28 -0400
committerJames Moger <james.moger@gmail.com>2011-08-11 14:10:28 -0400
commit64184c246a552024dda12f5ee0830ec5b3c6161f (patch)
tree24c2aa5228bad6d80557085611d46b2f88829fcc /tests/com/iciql/test/ClobTest.java
parent0333ed4cf0b5db3f9ffcb0da31787f6e44139af5 (diff)
downloadiciql-64184c246a552024dda12f5ee0830ec5b3c6161f.tar.gz
iciql-64184c246a552024dda12f5ee0830ec5b3c6161f.zip
Restructured test suite to run against multiple databases.
Diffstat (limited to 'tests/com/iciql/test/ClobTest.java')
-rw-r--r--tests/com/iciql/test/ClobTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/com/iciql/test/ClobTest.java b/tests/com/iciql/test/ClobTest.java
index 1f2eff4..aada364 100644
--- a/tests/com/iciql/test/ClobTest.java
+++ b/tests/com/iciql/test/ClobTest.java
@@ -38,14 +38,14 @@ public class ClobTest {
@Test
public void testClob() throws Exception {
String create = "CREATE TABLE CLOB_TEST(ID INT PRIMARY KEY, WORDS {0})";
- Db db = Db.open("jdbc:h2:mem:", "sa", "sa");
+ Db db = IciqlSuite.openDb();
db.executeUpdate(MessageFormat.format(create, "VARCHAR(255)"));
db.insertAll(StringRecord.getList());
testSimpleUpdate(db, "VARCHAR fail");
db.close();
- db = Db.open("jdbc:h2:mem:", "sa", "sa");
- db.executeUpdate(MessageFormat.format(create, "TEXT"));
+ db = IciqlSuite.openDb();
+ db.executeUpdate(MessageFormat.format(create, "CLOB"));
db.insertAll(StringRecord.getList());
testSimpleUpdate(db, "CLOB fail because of single quote artifacts");
db.close();