summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-02-29 19:01:09 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-02-29 19:01:09 +0000
commit933b73269e5929c58d05f9f0df4f2ca8edd289f2 (patch)
tree41b2347fe2c25783b790cf97487be2e8612feee5 /test
parent833ad084141e4ba66d86542fe8ecbc08472140e6 (diff)
downloadjackcess-933b73269e5929c58d05f9f0df4f2ca8edd289f2.tar.gz
jackcess-933b73269e5929c58d05f9f0df4f2ca8edd289f2.zip
more index testing
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@240 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
index e5a6bc1..2b3acc2 100644
--- a/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/DatabaseTest.java
@@ -961,6 +961,11 @@ public class DatabaseTest extends TestCase {
}
static void dumpTable(Table table, PrintWriter writer) throws Exception {
+ // make sure all indexes are read
+ for(Index index : table.getIndexes()) {
+ index.initialize();
+ }
+
writer.println("TABLE: " + table.getName());
List<String> colNames = new ArrayList<String>();
for(Column col : table.getColumns()) {