From ed4f0e5c563e9cf9e7d624069984a141ad42c05b Mon Sep 17 00:00:00 2001 From: Uy Ha Date: Sat, 10 Apr 2021 18:01:43 +0200 Subject: [PATCH] Collect tests to one file --- corpus/common_invocations.txt | 81 +++++++++++++++++++++++++++++ corpus/no_argument.txt | 11 ---- corpus/no_argument_with_newline.txt | 14 ----- corpus/no_argument_with_space.txt | 18 ------- corpus/one_argument.txt | 16 ------ corpus/two_arguments.txt | 18 ------- 6 files changed, 81 insertions(+), 77 deletions(-) create mode 100644 corpus/common_invocations.txt delete mode 100644 corpus/no_argument.txt delete mode 100644 corpus/no_argument_with_newline.txt delete mode 100644 corpus/no_argument_with_space.txt delete mode 100644 corpus/one_argument.txt delete mode 100644 corpus/two_arguments.txt diff --git a/corpus/common_invocations.txt b/corpus/common_invocations.txt new file mode 100644 index 0000000..7322000 --- /dev/null +++ b/corpus/common_invocations.txt @@ -0,0 +1,81 @@ +=================================== +Command invocation without argument +=================================== + +message() + +--- + +(source_file + (command_invocation + (identifier))) + +=============================================== +Command invocation without argument with spaces +=============================================== + +message( ) + +--- + +(source_file + (command_invocation + (identifier) + (seperation (space)) + ) +) + +================================================ +Command invocation without argument with newline +================================================ + +message( + +) + +--- + +(source_file + (command_invocation + (identifier) + (seperation + (line_ending (newline)) + ) + ) +) + +==================================== +Command invocation with one argument +==================================== + +message(STATUS) + +--- + +(source_file + (command_invocation + (identifier) + (arguments + (argument) + ) + ) +) + +===================================== +Command invocation with two arguments +===================================== + +message(STATUS Hello) + +--- + +(source_file + (command_invocation + (identifier) + (arguments + (argument) + (seperation (space)) + (argument) + ) + ) +) diff --git a/corpus/no_argument.txt b/corpus/no_argument.txt deleted file mode 100644 index d97b5ff..0000000 --- a/corpus/no_argument.txt +++ /dev/null @@ -1,11 +0,0 @@ -=================================== -Command invocation without argument -=================================== - -message() - ---- - -(source_file - (command_invocation - (identifier))) \ No newline at end of file diff --git a/corpus/no_argument_with_newline.txt b/corpus/no_argument_with_newline.txt deleted file mode 100644 index 7d940ec..0000000 --- a/corpus/no_argument_with_newline.txt +++ /dev/null @@ -1,14 +0,0 @@ -=============================================== -Command invocation without argument with spaces -=============================================== - -message( ) - ---- - -(source_file - (command_invocation - (identifier) - (seperation (space)) - ) -) \ No newline at end of file diff --git a/corpus/no_argument_with_space.txt b/corpus/no_argument_with_space.txt deleted file mode 100644 index 69c28a1..0000000 --- a/corpus/no_argument_with_space.txt +++ /dev/null @@ -1,18 +0,0 @@ -================================================ -Command invocation without argument with newline -================================================ - -message( - -) - ---- - -(source_file - (command_invocation - (identifier) - (seperation - (line_ending (newline)) - ) - ) -) \ No newline at end of file diff --git a/corpus/one_argument.txt b/corpus/one_argument.txt deleted file mode 100644 index 79034e8..0000000 --- a/corpus/one_argument.txt +++ /dev/null @@ -1,16 +0,0 @@ -==================================== -Command invocation with one argument -==================================== - -message(STATUS) - ---- - -(source_file - (command_invocation - (identifier) - (arguments - (argument) - ) - ) -) \ No newline at end of file diff --git a/corpus/two_arguments.txt b/corpus/two_arguments.txt deleted file mode 100644 index 74d0e76..0000000 --- a/corpus/two_arguments.txt +++ /dev/null @@ -1,18 +0,0 @@ -===================================== -Command invocation with two arguments -===================================== - -message(STATUS Hello) - ---- - -(source_file - (command_invocation - (identifier) - (arguments - (argument) - (seperation (space)) - (argument) - ) - ) -) \ No newline at end of file