From 8f03ff21a8dc63394c938500ccbf88328ef4c776 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 29 Nov 2014 19:03:46 +0100 Subject: some test files 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/simplify-tree/invalid/map_to_nothing | 14 ++++++++++++++ .../simplify-tree/invalid/map_to_unorderd_and_alternative | 9 +++++++++ test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping | 13 +++++++++++++ test-files/mds-kbdc/simplify-tree/valid/simple_mapping | 11 +++++++++++ test-files/mds-kbdc/simplify-tree/valid/value | 9 +++++++++ 5 files changed, 56 insertions(+) create mode 100644 test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing create mode 100644 test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative create mode 100644 test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping create mode 100644 test-files/mds-kbdc/simplify-tree/valid/simple_mapping create mode 100644 test-files/mds-kbdc/simplify-tree/valid/value (limited to 'test-files') diff --git a/test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing b/test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing new file mode 100644 index 0000000..3adedec --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing @@ -0,0 +1,14 @@ + : . + +# (map (@ 1 0-0) +# (.sequence +# (keys (@ 1 0-5) ‘’) +# ) +# (.result +# (nothing (@ 1 8-9)) +# ) +# ) +# :1:8–9: error: not allowed in mapping output +# : . +# ^ + diff --git a/test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative b/test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative new file mode 100644 index 0000000..283d6c3 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative @@ -0,0 +1,9 @@ + : [1 2] (3 4) + +# :1:11–12: error: not allowed in mapping output +# : [1 2] (3 4) +# ^ +# :1:17–18: error: not allowed in mapping output +# : [1 2] (3 4) +# ^ + diff --git a/test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping b/test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping new file mode 100644 index 0000000..6d76d7e --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping @@ -0,0 +1,13 @@ + : " " " " + +# (map (@ 1 0-0) +# (.sequence +# (keys (@ 1 0-14) ‘’) +# (keys (@ 1 15-20) ‘’) +# ) +# (.result +# (string (@ 1 23-29) ‘" "’) +# (string (@ 1 30-36) ‘" "’) +# ) +# ) + diff --git a/test-files/mds-kbdc/simplify-tree/valid/simple_mapping b/test-files/mds-kbdc/simplify-tree/valid/simple_mapping new file mode 100644 index 0000000..1af9a42 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/simple_mapping @@ -0,0 +1,11 @@ + : + +# (map (@ 1 0-0) +# (.sequence +# (keys (@ 1 0-11) ‘’) +# ) +# (.result +# (keys (@ 1 14-22) ‘’) +# ) +# ) + diff --git a/test-files/mds-kbdc/simplify-tree/valid/value b/test-files/mds-kbdc/simplify-tree/valid/value new file mode 100644 index 0000000..f656b16 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/value @@ -0,0 +1,9 @@ +"value statement" + +# (map (@ 1 0-0) +# (.sequence +# (string (@ 1 0-17) ‘"value statement"’) +# ) +# (.result nil) +# ) + -- cgit v1.2.3-70-g09d2