From a4cadf78faabc157e5db00e42302d495bba432c0 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 7 Jul 2020 13:53:30 +0200 Subject: Revert "Apply coding style" This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. --- tests/unittests/test_parser.h | 100 +++++++++++++++++++++--------------------- 1 file changed, 50 insertions(+), 50 deletions(-) (limited to 'tests/unittests/test_parser.h') 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); -- cgit 1.4.1-2-gfad0