aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2016-09-04 03:17:38 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2016-09-04 03:17:38 +0000
commite9dcad296a38ee5886817a4039af5f6e877c2f13 (patch)
treecbdb6b3f7ec71e122af07f1c05c245249a84df7e /src/test/java/com
parenta13844dd37228051e6d9c973cf1cb90b88254a40 (diff)
downloadjackcess-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.java7
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();
}