about summary refs log tree commit diff stats
path: root/tests/unittests/test_parser.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-07 13:53:30 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-07 13:53:30 +0200
commita4cadf78faabc157e5db00e42302d495bba432c0 (patch)
tree6ff212e24fe750b04b37ca66c418fe366c5e5fd4 /tests/unittests/test_parser.h
parent28fde3cd0129202d586cb4c24877a3e3f55ca582 (diff)
downloadprofani-tty-a4cadf78faabc157e5db00e42302d495bba432c0.tar.gz
Revert "Apply coding style"
This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2.

Sorting the includes creates some problems.
Diffstat (limited to 'tests/unittests/test_parser.h')
-rw-r--r--tests/unittests/test_parser.h100
1 files changed, 50 insertions, 50 deletions
diff --git a/tests/unittests/test_parser.h b/tests/unittests/test_parser.h
index 7babb0be..51d768fe 100644
--- a/tests/unittests/test_parser.h
+++ b/tests/unittests/test_parser.h
@@ -1,50 +1,50 @@
-void parse_null_returns_null(void** state);
-void parse_empty_returns_null(void** state);
-void parse_space_returns_null(void** state);
-void parse_cmd_no_args_returns_null(void** state);
-void parse_cmd_with_space_returns_null(void** state);
-void parse_cmd_with_too_few_returns_null(void** state);
-void parse_cmd_with_too_many_returns_null(void** state);
-void parse_cmd_one_arg(void** state);
-void parse_cmd_two_args(void** state);
-void parse_cmd_three_args(void** state);
-void parse_cmd_three_args_with_spaces(void** state);
-void parse_cmd_with_freetext(void** state);
-void parse_cmd_one_arg_with_freetext(void** state);
-void parse_cmd_two_args_with_freetext(void** state);
-void parse_cmd_min_zero(void** state);
-void parse_cmd_min_zero_with_freetext(void** state);
-void parse_cmd_with_quoted(void** state);
-void parse_cmd_with_quoted_and_space(void** state);
-void parse_cmd_with_quoted_and_many_spaces(void** state);
-void parse_cmd_with_many_quoted_and_many_spaces(void** state);
-void parse_cmd_freetext_with_quoted(void** state);
-void parse_cmd_freetext_with_quoted_and_space(void** state);
-void parse_cmd_freetext_with_quoted_and_many_spaces(void** state);
-void parse_cmd_freetext_with_many_quoted_and_many_spaces(void** state);
-void parse_cmd_with_quoted_freetext(void** state);
-void parse_cmd_with_third_arg_quoted_0_min_3_max(void** state);
-void parse_cmd_with_second_arg_quoted_0_min_3_max(void** state);
-void parse_cmd_with_second_and_third_arg_quoted_0_min_3_max(void** state);
-void count_one_token(void** state);
-void count_one_token_quoted_no_whitespace(void** state);
-void count_one_token_quoted_with_whitespace(void** state);
-void count_two_tokens(void** state);
-void count_two_tokens_first_quoted(void** state);
-void count_two_tokens_second_quoted(void** state);
-void count_two_tokens_both_quoted(void** state);
-void get_first_of_one(void** state);
-void get_first_of_two(void** state);
-void get_first_two_of_three(void** state);
-void get_first_two_of_three_first_quoted(void** state);
-void get_first_two_of_three_second_quoted(void** state);
-void get_first_two_of_three_first_and_second_quoted(void** state);
-void parse_options_when_none_returns_empty_hasmap(void** state);
-void parse_options_when_opt1_no_val_sets_error(void** state);
-void parse_options_when_one_returns_map(void** state);
-void parse_options_when_opt2_no_val_sets_error(void** state);
-void parse_options_when_two_returns_map(void** state);
-void parse_options_when_opt3_no_val_sets_error(void** state);
-void parse_options_when_three_returns_map(void** state);
-void parse_options_when_unknown_opt_sets_error(void** state);
-void parse_options_with_duplicated_option_sets_error(void** state);
+void parse_null_returns_null(void **state);
+void parse_empty_returns_null(void **state);
+void parse_space_returns_null(void **state);
+void parse_cmd_no_args_returns_null(void **state);
+void parse_cmd_with_space_returns_null(void **state);
+void parse_cmd_with_too_few_returns_null(void **state);
+void parse_cmd_with_too_many_returns_null(void **state);
+void parse_cmd_one_arg(void **state);
+void parse_cmd_two_args(void **state);
+void parse_cmd_three_args(void **state);
+void parse_cmd_three_args_with_spaces(void **state);
+void parse_cmd_with_freetext(void **state);
+void parse_cmd_one_arg_with_freetext(void **state);
+void parse_cmd_two_args_with_freetext(void **state);
+void parse_cmd_min_zero(void **state);
+void parse_cmd_min_zero_with_freetext(void **state);
+void parse_cmd_with_quoted(void **state);
+void parse_cmd_with_quoted_and_space(void **state);
+void parse_cmd_with_quoted_and_many_spaces(void **state);
+void parse_cmd_with_many_quoted_and_many_spaces(void **state);
+void parse_cmd_freetext_with_quoted(void **state);
+void parse_cmd_freetext_with_quoted_and_space(void **state);
+void parse_cmd_freetext_with_quoted_and_many_spaces(void **state);
+void parse_cmd_freetext_with_many_quoted_and_many_spaces(void **state);
+void parse_cmd_with_quoted_freetext(void **state);
+void parse_cmd_with_third_arg_quoted_0_min_3_max(void **state);
+void parse_cmd_with_second_arg_quoted_0_min_3_max(void **state);
+void parse_cmd_with_second_and_third_arg_quoted_0_min_3_max(void **state);
+void count_one_token(void **state);
+void count_one_token_quoted_no_whitespace(void **state);
+void count_one_token_quoted_with_whitespace(void **state);
+void count_two_tokens(void **state);
+void count_two_tokens_first_quoted(void **state);
+void count_two_tokens_second_quoted(void **state);
+void count_two_tokens_both_quoted(void **state);
+void get_first_of_one(void **state);
+void get_first_of_two(void **state);
+void get_first_two_of_three(void **state);
+void get_first_two_of_three_first_quoted(void **state);
+void get_first_two_of_three_second_quoted(void **state);
+void get_first_two_of_three_first_and_second_quoted(void **state);
+void parse_options_when_none_returns_empty_hasmap(void **state);
+void parse_options_when_opt1_no_val_sets_error(void **state);
+void parse_options_when_one_returns_map(void **state);
+void parse_options_when_opt2_no_val_sets_error(void **state);
+void parse_options_when_two_returns_map(void **state);
+void parse_options_when_opt3_no_val_sets_error(void **state);
+void parse_options_when_three_returns_map(void **state);
+void parse_options_when_unknown_opt_sets_error(void **state);
+void parse_options_with_duplicated_option_sets_error(void **state);