]> source.dussan.org Git - jackcess.git/commitdiff
test util method
authorJames Ahlborn <jtahlborn@yahoo.com>
Wed, 7 Jul 2021 00:54:28 +0000 (00:54 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Wed, 7 Jul 2021 00:54:28 +0000 (00:54 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1374 f203690c-595d-4dc9-a70b-905162fa7fd2

src/test/java/com/healthmarketscience/jackcess/TestUtil.java

index f06f89d5d6ebb28490d8ce72eb43953cd3ba835b..7d1d6b341c6ae61d29602567f891d271eb56ced4 100644 (file)
@@ -317,6 +317,15 @@ public class TestUtil
     dumpTable(table, new PrintWriter(System.out, true));
   }
 
+  public static void dumpProperties(Table table) throws Exception {
+    System.out.println("TABLE_PROPS: " + table.getName() + ": " +
+                       table.getProperties());
+    for(Column c : table.getColumns()) {
+      System.out.println("COL_PROPS: " + c.getName() + ": " +
+                         c.getProperties());
+    }
+  }
+
   static void dumpDatabase(Database mdb, boolean systemTables,
                            PrintWriter writer) throws Exception
   {