From 47e8b2a4f88b7ac0d09f61bb8491a738f67edd12 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 9 Dec 2014 13:51:05 +0100 Subject: mds-kbdc: m + compile-layout: bug fixes and test cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test-files/mds-kbdc/compile-layout/invalid/invalid_escapes | 8 ++++++++ test-files/mds-kbdc/compile-layout/invalid/invalid_keys | 5 +++++ test-files/mds-kbdc/compile-layout/invalid/invalid_strings | 11 +++++++++++ 3 files changed, 24 insertions(+) create mode 100644 test-files/mds-kbdc/compile-layout/invalid/invalid_escapes create mode 100644 test-files/mds-kbdc/compile-layout/invalid/invalid_keys create mode 100644 test-files/mds-kbdc/compile-layout/invalid/invalid_strings (limited to 'test-files/mds-kbdc/compile-layout/invalid') 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 +" +" +\ +\ +\\ + -- cgit v1.2.3-70-g09d2