summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/data/test.mdbbin135168 -> 2904064 bytes
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java8
2 files changed, 7 insertions, 1 deletions
diff --git a/test/data/test.mdb b/test/data/test.mdb
index caae8af..89a05a1 100644
--- a/test/data/test.mdb
+++ b/test/data/test.mdb
Binary files differ
diff --git a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
index 365b455..f11e1e1 100644
--- a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
@@ -68,7 +68,7 @@ public class DatabaseTest extends TestCase {
public void testGetNextRow() throws Exception {
Database db = open();
- assertEquals(1, db.getTableNames().size());
+ assertEquals(2, db.getTableNames().size());
Table table = db.getTable("Table1");
Map<String, Object> row = table.getNextRow();
@@ -439,6 +439,12 @@ public class DatabaseTest extends TestCase {
assertEquals(2, table.getIndexes().size());
assertEquals(3, table.getIndexSlotCount());
}
+
+ public void testMultiPageTableDef() throws Exception
+ {
+ List<Column> columns = open().getTable("Table2").getColumns();
+ assertEquals(89, columns.size());
+ }
private Object[] createTestRow() {
return new Object[] {"Tim", "R", "McCune", 1234, (byte) 0xad, 555.66d,