From b45b32f4a3288d3c3a999617bfd09c982b1ff346 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Fri, 18 Mar 2011 22:32:16 +0000 Subject: [PATCH] fix test info git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@531 f203690c-595d-4dc9-a70b-905162fa7fd2 --- .../java/com/healthmarketscience/jackcess/BigIndexTest.java | 3 ++- test/src/java/com/healthmarketscience/jackcess/IndexTest.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java b/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java index 5c4ce48..f6d1c0a 100644 --- a/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java @@ -101,7 +101,8 @@ public class BigIndexTest extends TestCase { t = db.getTable("Table1"); index = t.getIndex("col1"); - System.out.println("BigIndexTest: Index type: " + index.getClass()); + System.out.println("BigIndexTest: Index type: " + + index.getIndexData().getClass()); // add 2,000 (pseudo) random entries to the table Random rand = new Random(13L); diff --git a/test/src/java/com/healthmarketscience/jackcess/IndexTest.java b/test/src/java/com/healthmarketscience/jackcess/IndexTest.java index 5ce7174..5e67022 100644 --- a/test/src/java/com/healthmarketscience/jackcess/IndexTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/IndexTest.java @@ -179,7 +179,8 @@ public class IndexTest extends TestCase { t = db.getTable("Table1"); index = t.getIndexes().get(0); - System.out.println("IndexTest: Index type: " + index.getClass()); + System.out.println("IndexTest: Index type: " + + index.getIndexData().getClass()); try { t.addRow(99, "abc", "def"); if(index.getIndexData() instanceof SimpleIndexData) { -- 2.39.5