aboutsummaryrefslogtreecommitdiffstats
path: root/test-files
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-09 13:51:05 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-09 13:51:05 +0100
commit47e8b2a4f88b7ac0d09f61bb8491a738f67edd12 (patch)
tree8da52a55d5c4646124cd6f911ed36c9c962980d9 /test-files
parentmerge track-errors and resolve conflict (diff)
downloadmds-47e8b2a4f88b7ac0d09f61bb8491a738f67edd12.tar.gz
mds-47e8b2a4f88b7ac0d09f61bb8491a738f67edd12.tar.bz2
mds-47e8b2a4f88b7ac0d09f61bb8491a738f67edd12.tar.xz
mds-kbdc: m + compile-layout: bug fixes and test cases
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/invalid_escapes8
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/invalid_keys5
-rw-r--r--test-files/mds-kbdc/compile-layout/invalid/invalid_strings11
3 files changed, 24 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/compile-layout/invalid/invalid_escapes b/test-files/mds-kbdc/compile-layout/invalid/invalid_escapes
new file mode 100644
index 0000000..a5420b7
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/invalid_escapes
@@ -0,0 +1,8 @@
+\f~
+\~
+\u()
+\u
+\x00
+\undefinable_function() # no good, cannot startwith u because of the special \u-syntax
+\.
+
diff --git a/test-files/mds-kbdc/compile-layout/invalid/invalid_keys b/test-files/mds-kbdc/compile-layout/invalid/invalid_keys
new file mode 100644
index 0000000..edbac9e
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/invalid_keys
@@ -0,0 +1,5 @@
+"" : <
+"" : <\>
+"" : <\f
+"" : <\
+
diff --git a/test-files/mds-kbdc/compile-layout/invalid/invalid_strings b/test-files/mds-kbdc/compile-layout/invalid/invalid_strings
new file mode 100644
index 0000000..93b58e1
--- /dev/null
+++ b/test-files/mds-kbdc/compile-layout/invalid/invalid_strings
@@ -0,0 +1,11 @@
+0a
+0\0
+0"hello"
+"hello"_
+\0.0
+"
+"
+\
+\
+\\
+