diff options
Diffstat (limited to 'src/test')
-rw-r--r--[-rwxr-xr-x] | src/test/data/V2007/complexDataTestV2007.accdb | bin | 524288 -> 524288 bytes | |||
-rw-r--r--[-rwxr-xr-x] | src/test/data/V2007/linkerTestV2007.accdb | bin | 454656 -> 454656 bytes | |||
-rw-r--r--[-rwxr-xr-x] | src/test/data/V2007/oldDatesV2007.accdb | bin | 483328 -> 483328 bytes | |||
-rw-r--r--[-rwxr-xr-x] | src/test/data/V2007/testOleV2007.accdb | bin | 8634368 -> 8634368 bytes | |||
-rw-r--r--[-rwxr-xr-x] | src/test/data/V2010/complexDataTestV2010.accdb | bin | 544768 -> 544768 bytes | |||
-rw-r--r-- | src/test/data/adox_jet4.mdb | bin | 0 -> 65536 bytes | |||
-rw-r--r--[-rwxr-xr-x] | src/test/data/linkeeTest.accdb | bin | 524288 -> 524288 bytes | |||
-rw-r--r-- | src/test/java/com/healthmarketscience/jackcess/impl/JetFormatTest.java | 11 |
8 files changed, 11 insertions, 0 deletions
diff --git a/src/test/data/V2007/complexDataTestV2007.accdb b/src/test/data/V2007/complexDataTestV2007.accdb Binary files differindex 3f9ff36..3f9ff36 100755..100644 --- a/src/test/data/V2007/complexDataTestV2007.accdb +++ b/src/test/data/V2007/complexDataTestV2007.accdb diff --git a/src/test/data/V2007/linkerTestV2007.accdb b/src/test/data/V2007/linkerTestV2007.accdb Binary files differindex 57c6b25..57c6b25 100755..100644 --- a/src/test/data/V2007/linkerTestV2007.accdb +++ b/src/test/data/V2007/linkerTestV2007.accdb diff --git a/src/test/data/V2007/oldDatesV2007.accdb b/src/test/data/V2007/oldDatesV2007.accdb Binary files differindex 0e96b91..0e96b91 100755..100644 --- a/src/test/data/V2007/oldDatesV2007.accdb +++ b/src/test/data/V2007/oldDatesV2007.accdb diff --git a/src/test/data/V2007/testOleV2007.accdb b/src/test/data/V2007/testOleV2007.accdb Binary files differindex 398818e..398818e 100755..100644 --- a/src/test/data/V2007/testOleV2007.accdb +++ b/src/test/data/V2007/testOleV2007.accdb diff --git a/src/test/data/V2010/complexDataTestV2010.accdb b/src/test/data/V2010/complexDataTestV2010.accdb Binary files differindex 7df4baa..7df4baa 100755..100644 --- a/src/test/data/V2010/complexDataTestV2010.accdb +++ b/src/test/data/V2010/complexDataTestV2010.accdb diff --git a/src/test/data/adox_jet4.mdb b/src/test/data/adox_jet4.mdb Binary files differnew file mode 100644 index 0000000..7fbdb1b --- /dev/null +++ b/src/test/data/adox_jet4.mdb diff --git a/src/test/data/linkeeTest.accdb b/src/test/data/linkeeTest.accdb Binary files differindex a159097..a159097 100755..100644 --- a/src/test/data/linkeeTest.accdb +++ b/src/test/data/linkeeTest.accdb 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(); + } + } } } |