summaryrefslogtreecommitdiff
path: root/sw/JunitTest_sw_complex.mk
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2013-03-20 10:26:36 +0100
committerDavid Ostrovsky <david@ostrovsky.org>2013-03-20 10:30:43 +0100
commit1bf65d1d57856491431fdb4b90f5a228ee592da1 (patch)
tree5205f5ec93a26f26689f33ea1ef67fb16da6030f /sw/JunitTest_sw_complex.mk
parent22ae2982bd95d36cc242f8b9eda6eec0c5a3a10c (diff)
fdo#55814 create unit test for it first
1. create a variable field, name it "foo" and assign value 0 2. create a section, and put content a in it and assign condition "foo EQ 1" to it 3. change th value of VAR foo from 0 to 1 4. expected behaviour: section is hidden current behaviour: section get corrupted: condition is overwritten with "0" Change-Id: I52fb50e26f5330c2b4745093ac954cecf45924f5
Diffstat (limited to 'sw/JunitTest_sw_complex.mk')
-rw-r--r--sw/JunitTest_sw_complex.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/JunitTest_sw_complex.mk b/sw/JunitTest_sw_complex.mk
index bb0845892612..da9da1cd7143 100644
--- a/sw/JunitTest_sw_complex.mk
+++ b/sw/JunitTest_sw_complex.mk
@@ -39,6 +39,7 @@ $(eval $(call gb_JunitTest_add_sourcefiles,sw_complex,\
sw/qa/complex/writer/LoadSaveTest \
sw/qa/complex/writer/TestDocument \
sw/qa/complex/writer/TextPortionEnumerationTest \
+ sw/qa/complex/writer/VarFields \
))
$(eval $(call gb_JunitTest_use_jars,sw_complex,\
@@ -60,6 +61,7 @@ $(eval $(call gb_JunitTest_add_classes,sw_complex,\
complex.writer.CheckIndexedPropertyValues \
complex.writer.CheckNamedPropertyValues \
complex.writer.TextPortionEnumerationTest \
+ complex.writer.VarFields\
))
# FIXME has never worked on windows, hashes are different