aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/iciql/test/UUIDTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/com/iciql/test/UUIDTest.java')
-rw-r--r--tests/com/iciql/test/UUIDTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/com/iciql/test/UUIDTest.java b/tests/com/iciql/test/UUIDTest.java
index b7f83e6..bc3bd12 100644
--- a/tests/com/iciql/test/UUIDTest.java
+++ b/tests/com/iciql/test/UUIDTest.java
@@ -42,7 +42,7 @@ public class UUIDTest {
@Before
public void setup() {
- db = Db.open("jdbc:h2:mem:", "sa", "sa");
+ db = IciqlSuite.openNewDb();
}
@After
@@ -52,6 +52,10 @@ public class UUIDTest {
@Test
public void testUUIDs() throws Exception {
+ if (!IciqlSuite.isH2(db)) {
+ // do not test non-H2 databases
+ return;
+ }
List<UUIDRecord> originals = UUIDRecord.getList();
db.insertAll(originals);
UUIDRecord u = new UUIDRecord();