summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java3
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/IndexTest.java3
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) {