summaryrefslogtreecommitdiff
path: root/tests/Kdepcopy
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-06-14 19:17:40 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-06-14 19:17:40 +0200
commitcd96604f4fbbb88347e043919714a0428e159bc8 (patch)
tree892fb94500b707f05e2df4ed56d45f15997d5d2f /tests/Kdepcopy
parentfbf31fac751c0d76d2f55a0fe649ade5bafed292 (diff)
Test property ordering on nested multi.def. choices
This case wasn't covered.
Diffstat (limited to 'tests/Kdepcopy')
-rw-r--r--tests/Kdepcopy50
1 files changed, 49 insertions, 1 deletions
diff --git a/tests/Kdepcopy b/tests/Kdepcopy
index 689bcc3..6abe898 100644
--- a/tests/Kdepcopy
+++ b/tests/Kdepcopy
@@ -70,7 +70,7 @@ config MULTIDEF
imply JJ
-# Same test with choices involved
+# Same test with choice symbols involved
config MULTIDEF_CHOICE
bool
@@ -123,3 +123,51 @@ config MULTIDEF_RANGE
config MULTIDEF_RANGE
int
range F _
+
+
+# Same test for a choice
+
+choice MULTICHOICE
+ bool "choice"
+ default A
+
+config A
+ bool "A"
+
+config B
+ bool "B"
+
+config C
+ bool "C"
+
+config D
+ bool "C"
+
+config E
+ bool "C"
+
+endchoice
+
+if FOO
+
+choice MULTICHOICE
+ default B
+endchoice
+
+menu "menu"
+
+choice MULTICHOICE
+ default C
+endchoice
+
+endmenu
+
+choice MULTICHOICE
+ default D
+endchoice
+
+endif
+
+choice MULTICHOICE
+ default E
+endchoice