]> source.dussan.org Git - jackcess.git/commitdiff
fix test info
authorJames Ahlborn <jtahlborn@yahoo.com>
Fri, 18 Mar 2011 22:32:16 +0000 (22:32 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Fri, 18 Mar 2011 22:32:16 +0000 (22:32 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@531 f203690c-595d-4dc9-a70b-905162fa7fd2

test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java
test/src/java/com/healthmarketscience/jackcess/IndexTest.java

index 5c4ce488df87920a73e0061b5068770cc1195148..f6d1c0a630e4bff1c3dd4a6caf63fa3b7b8279c9 100644 (file)
@@ -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);
index 5ce7174ec1100832fdbd5ca25f7a7536415d0b0b..5e6702206bc7d8490bf62f6e655d47ee9f084f34 100644 (file)
@@ -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) {