aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2021-07-07 00:54:28 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2021-07-07 00:54:28 +0000
commitf8afc8dabc20d4286f3cb4d1c693029ceb13ebfd (patch)
treeef23c8f787ba33d98571f165e6c592b2628bde7f
parentd964ddce567080ff4f940b8d355656737fa5906f (diff)
downloadjackcess-f8afc8dabc20d4286f3cb4d1c693029ceb13ebfd.tar.gz
jackcess-f8afc8dabc20d4286f3cb4d1c693029ceb13ebfd.zip
test util method
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1374 f203690c-595d-4dc9-a70b-905162fa7fd2
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/TestUtil.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/TestUtil.java b/src/test/java/com/healthmarketscience/jackcess/TestUtil.java
index f06f89d..7d1d6b3 100644
--- a/src/test/java/com/healthmarketscience/jackcess/TestUtil.java
+++ b/src/test/java/com/healthmarketscience/jackcess/TestUtil.java
@@ -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
{