diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2016-09-04 03:17:38 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2016-09-04 03:17:38 +0000 |
commit | e9dcad296a38ee5886817a4039af5f6e877c2f13 (patch) | |
tree | cbdb6b3f7ec71e122af07f1c05c245249a84df7e /src/test/java/com | |
parent | a13844dd37228051e6d9c973cf1cb90b88254a40 (diff) | |
download | jackcess-e9dcad296a38ee5886817a4039af5f6e877c2f13.tar.gz jackcess-e9dcad296a38ee5886817a4039af5f6e877c2f13.zip |
Change multi-value complex columns so that they return all relevant column properties.
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1022 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java b/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java index a2fd2eb..acecf57 100644 --- a/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java +++ b/src/test/java/com/healthmarketscience/jackcess/ComplexColumnTest.java @@ -302,6 +302,13 @@ public class ComplexColumnTest extends TestCase cursor.getCurrentRowValue(col); row3ValFk.deleteAllValues(); checkMultiValues(3, row3ValFk); + + // test multi-value col props + PropertyMap props = col.getProperties(); + assertEquals(Boolean.TRUE, props.getValue(PropertyMap.ALLOW_MULTI_VALUE_PROP)); + assertEquals("Value List", props.getValue("RowSourceType")); + assertEquals("\"value1\";\"value2\";\"value3\";\"value4\"", + props.getValue("RowSource")); db.close(); } |