aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--[-rwxr-xr-x]src/test/data/V2007/complexDataTestV2007.accdbbin524288 -> 524288 bytes
-rw-r--r--[-rwxr-xr-x]src/test/data/V2007/linkerTestV2007.accdbbin454656 -> 454656 bytes
-rw-r--r--[-rwxr-xr-x]src/test/data/V2007/oldDatesV2007.accdbbin483328 -> 483328 bytes
-rw-r--r--[-rwxr-xr-x]src/test/data/V2007/testOleV2007.accdbbin8634368 -> 8634368 bytes
-rw-r--r--[-rwxr-xr-x]src/test/data/V2010/complexDataTestV2010.accdbbin544768 -> 544768 bytes
-rw-r--r--src/test/data/adox_jet4.mdbbin0 -> 65536 bytes
-rw-r--r--[-rwxr-xr-x]src/test/data/linkeeTest.accdbbin524288 -> 524288 bytes
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java11
8 files changed, 11 insertions, 0 deletions
diff --git a/src/test/data/V2007/complexDataTestV2007.accdb b/src/test/data/V2007/complexDataTestV2007.accdb
index 3f9ff36..3f9ff36 100755..100644
--- a/src/test/data/V2007/complexDataTestV2007.accdb
+++ b/src/test/data/V2007/complexDataTestV2007.accdb
Binary files differ
diff --git a/src/test/data/V2007/linkerTestV2007.accdb b/src/test/data/V2007/linkerTestV2007.accdb
index 57c6b25..57c6b25 100755..100644
--- a/src/test/data/V2007/linkerTestV2007.accdb
+++ b/src/test/data/V2007/linkerTestV2007.accdb
Binary files differ
diff --git a/src/test/data/V2007/oldDatesV2007.accdb b/src/test/data/V2007/oldDatesV2007.accdb
index 0e96b91..0e96b91 100755..100644
--- a/src/test/data/V2007/oldDatesV2007.accdb
+++ b/src/test/data/V2007/oldDatesV2007.accdb
Binary files differ
diff --git a/src/test/data/V2007/testOleV2007.accdb b/src/test/data/V2007/testOleV2007.accdb
index 398818e..398818e 100755..100644
--- a/src/test/data/V2007/testOleV2007.accdb
+++ b/src/test/data/V2007/testOleV2007.accdb
Binary files differ
diff --git a/src/test/data/V2010/complexDataTestV2010.accdb b/src/test/data/V2010/complexDataTestV2010.accdb
index 7df4baa..7df4baa 100755..100644
--- a/src/test/data/V2010/complexDataTestV2010.accdb
+++ b/src/test/data/V2010/complexDataTestV2010.accdb
Binary files differ
diff --git a/src/test/data/adox_jet4.mdb b/src/test/data/adox_jet4.mdb
new file mode 100644
index 0000000..7fbdb1b
--- /dev/null
+++ b/src/test/data/adox_jet4.mdb
Binary files differ
diff --git a/src/test/data/linkeeTest.accdb b/src/test/data/linkeeTest.accdb
index a159097..a159097 100755..100644
--- a/src/test/data/linkeeTest.accdb
+++ b/src/test/data/linkeeTest.accdb
Binary files differ
diff --git a/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java b/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java
index e8a5287..93c5ca9 100644
--- a/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java
@@ -242,6 +242,17 @@ public class JetFormatTest extends TestCase {
}
}
}
+
+ Database db = null;
+ try {
+ db = open(Database.FileFormat.GENERIC_JET4,
+ new File(DIR_TEST_DATA, "adox_jet4.mdb"));
+ assertEquals(Database.FileFormat.GENERIC_JET4, db.getFileFormat());
+ } finally {
+ if(db != null) {
+ db.close();
+ }
+ }
}
}