summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2013-08-07 02:05:18 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2013-08-07 02:08:06 +0200
commit06309e301b0008605c4f2c5ad1d3a07276e3865c (patch)
treeb5c617042179ca83351abd2b273626ef452daae7 /tests
parent4f7b2b25dbb66369b8099f596b4593956e9d1cc9 (diff)
Add Symbol and Choice interfaces for getting prompt strings.
Diffstat (limited to 'tests')
-rw-r--r--tests/Kprompt77
1 files changed, 77 insertions, 0 deletions
diff --git a/tests/Kprompt b/tests/Kprompt
new file mode 100644
index 0000000..a36a0fd
--- /dev/null
+++ b/tests/Kprompt
@@ -0,0 +1,77 @@
+config NO_PROMPT
+ tristate
+
+config SINGLE_PROMPT_1
+ bool "single prompt 1"
+
+config SINGLE_PROMPT_2
+ bool
+ prompt "single prompt 2" if n
+
+config MULTI_PROMPT
+ bool "ignored prompt"
+ prompt "prompt 1"
+config MULTI_PROMPT
+ bool "prompt 2"
+config MULTI_PROMPT
+ bool
+config MULTI_PROMPT
+ bool
+ prompt "prompt 3"
+config MULTI_PROMPT
+ bool
+ prompt "ignored prompt"
+ prompt "ignored prompt 2" if y
+ prompt "prompt 4" if y
+
+choice NO_PROMPT_CHOICE
+ tristate
+config A
+ bool
+config B
+ bool
+endchoice
+
+choice SINGLE_PROMPT_1_CHOICE
+ bool "single prompt 1 choice"
+config C
+ bool
+config D
+ bool
+endchoice
+
+choice SINGLE_PROMPT_2_CHOICE
+ bool "ignored prompt"
+ prompt "single prompt 2 choice"
+config E
+ bool
+config F
+ bool
+endchoice
+
+choice MULTI_PROMPT_CHOICE
+ bool "prompt 1 choice"
+config G
+ bool
+config H
+ bool
+endchoice
+
+choice MULTI_PROMPT_CHOICE
+ bool
+ prompt "prompt 2 choice"
+config I
+ bool
+config J
+ bool
+endchoice
+
+choice MULTI_PROMPT_CHOICE
+ bool
+ prompt "ignored prompt"
+ prompt "prompt 3 choice"
+config K
+ bool
+config L
+ bool
+endchoice