boxes/test
Thomas Jensen 2d3a842728
Refactor lexer and parser for maintainability
- Speedmode is now purely a parser thing
- Lexer start condition SPEEDMODE is no longer needed
- Added lexer start condition BOX to distinguish box def content
- DELIMs are now purely a lexer thing
- No shared state between lexer and parser for DELIMs anymore
- Fix bug where speedmode could terminate in a SAMPLE block
- All lexer start conditions now exclusive
- Improved debug output
- Renamed parser token YDELWORD to YDELIMSPEC
2021-06-13 22:34:53 +02:00
..
123_data/.config/boxes Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
124_data Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
126_data Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
127_data Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
128_data Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
129_data Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
130_data Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
131_data Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
132_data Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
14x_tag_query.cfg Add tests for tag handling #23 2021-04-11 20:27:17 +02:00
001_trivial.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
002_trivial_10x5.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
003_no_config_file.txt Add support for XDG base directories #69 2021-03-19 16:40:53 +01:00
004_missing_option_argument.txt Switch test runner output filter sed to extended regex (-E) 2021-02-15 20:35:29 +01:00
005_alignment_single_line_hlvt.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
006_alignment_single_line_hlvc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
007_alignment_single_line_hlvb.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
008_alignment_single_line_hcvt.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
009_alignment_single_line_hcvc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
010_alignment_single_line_hcvb.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
011_alignment_single_line_hrvt.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
012_alignment_single_line_hrvc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
013_alignment_single_line_hrvb.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
014_alignment_single_line_l.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
015_alignment_single_line_c.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
016_alignment_single_line_r.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
017_alignment_multiline_hlvtjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
018_alignment_multiline_hlvtjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
019_alignment_multiline_hlvtjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
020_alignment_multiline_hlvcjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
021_alignment_multiline_hlvcjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
022_alignment_multiline_hlvcjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
023_alignment_multiline_hlvbjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
024_alignment_multiline_hlvbjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
025_alignment_multiline_hlvbjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
026_alignment_multiline_hcvtjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
027_alignment_multiline_hcvtjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
028_alignment_multiline_hcvtjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
029_alignment_multiline_hcvcjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
030_alignment_multiline_hcvcjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
031_alignment_multiline_hcvcjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
032_alignment_multiline_hcvbjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
033_alignment_multiline_hcvbjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
034_alignment_multiline_hcvbjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
035_alignment_multiline_hrvtjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
036_alignment_multiline_hrvtjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
037_alignment_multiline_hrvtjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
038_alignment_multiline_hrvcjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
039_alignment_multiline_hrvcjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
040_alignment_multiline_hrvcjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
041_alignment_multiline_hrvbjl.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
042_alignment_multiline_hrvbjc.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
043_alignment_multiline_hrvbjr.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
044_alignment_multiline_l.txt Add test cases for unicode and invalid manual encoding #1 2021-02-15 20:35:29 +01:00
045_alignment_multiline_c.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
046_alignment_multiline_r.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
047_alignment_multiline_none.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
048_alignment_multiline_vertical_round_down.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
049_alignment_illegal_format.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
050_alignment_multiline_nop1.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
051_alignment_multiline_nop2.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
052_simple_line_comment.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
053_size_25x10.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
054_size_vs_padding_1.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
055_size_vs_padding_2.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
056_input_vs_size.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
057_size_vs_padding_2.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
058_size_minimum_by_design.txt Improve attribution of Joan Stark's work in resulting boxes 2021-02-15 21:10:56 +01:00
059_size_same_as_design.txt Improve attribution of Joan Stark's work in resulting boxes 2021-02-15 21:10:56 +01:00
060_size_1_extra_line.txt Improve attribution of Joan Stark's work in resulting boxes 2021-02-15 21:10:56 +01:00
061_size_1_extra_line_and_1_extra_column.txt Improve attribution of Joan Stark's work in resulting boxes 2021-02-15 21:10:56 +01:00
062_size_with_indent.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
063_size_with_indent_and_padding.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
064_size_with_indent_and_too_much_padding.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
065_size_missing_argument.txt Switch test runner output filter sed to extended regex (-E) 2021-02-15 20:35:29 +01:00
066_size_invalid_spec.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
067_size_as_small_as_possible_vertical.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
068_size_single_argument.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
069_size_single_argument_x.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
070_size_as_small_as_possible_horiz.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
071_size_invalid_spec_0x0.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
072_tab_expanded_split.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
073_tab_expanded_size4.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
074_tab_keep_size4.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
075_tab_unexpand.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
076_tab_keep_size4_withContent.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
077_tab_unexpand_size8_withContent.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
078_tab_unexpand_size8_withContent2.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
079_tab_keep_size8.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
080_tab_expand_size4.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
081_tab_unexpand_size4_fromNone.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
082_tab_unexpand_size4_split.txt Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
083_list_design_info.txt Review tag assignments in config file #23 2021-04-11 20:27:16 +02:00
084_list_design_info_for_cmdline_definition.txt Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
095_ansi_basic.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
096_ansi_within.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
097_ansi_mixed.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
098_ansi_mixed_indent.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
099_ansi_align_left.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
100_ansi_align_center.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
101_ansi_align_right.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
102_ansi_size.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
103_ansi_pad.txt Test cases for ANSI 2020-07-17 20:58:59 +02:00
104_ansi_lolcat.txt Add advance_next32() function to 'unicode' module to encapsulate the escape handling logic #1 2021-02-13 11:01:55 +01:00
105_ansi_lolcat_within_leading_space.txt Add advance_next32() function to 'unicode' module to encapsulate the escape handling logic #1 2021-02-13 11:01:55 +01:00
106_unicode_align_center.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
107_unicode_align_left_lolcat.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
108_unicode_align_center_lolcat.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
109_unicode_align_right_lolcat.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
110_unicode_align_complex_lolcat.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
111_manual_encoding_iso.txt Fix repo encoding of ISO-8859-15 encoded files #83 2021-04-27 10:51:00 +02:00
112_manual_encoding_invalid.txt Add test cases for unicode and invalid manual encoding #1 2021-02-15 20:35:29 +01:00
113_headline_ansi_unicode.txt Add test cases for unicode and invalid manual encoding #1 2021-02-15 20:35:29 +01:00
114_headline_ansi_unicode_remove.txt Explicitly set UTF-8 charset in unicode test cases (forgot 114) #73 2021-02-19 10:34:48 +01:00
115_lots_of_lines.txt Add test cases for unicode and invalid manual encoding #1 2021-02-15 20:35:29 +01:00
116_lots_of_tabs.txt Add test cases for unicode and invalid manual encoding #1 2021-02-15 20:35:29 +01:00
117_unicode_ansi_mending.txt Improve attribution of Joan Stark's work in resulting boxes 2021-02-15 21:10:56 +01:00
118_unicode_ansi_align_center.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
119_unicode_ansi_align_right.txt Explicitly set UTF-8 charset in unicode test cases 2021-02-15 21:10:54 +01:00
120_parser_unterminated_string.cfg Add error test case for unterminated strings in the config file 2021-02-15 21:10:56 +01:00
120_parser_unterminated_string.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
121_remove_box_lolcat.txt Add test cases for removal of colored boxes 2021-02-15 21:10:57 +01:00
122_no_config_file_dir.txt Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
123_config_file_xdg1.txt Unify config file search order Linux/Unix and Windows #69 2021-03-19 16:40:53 +01:00
124_config_file_xdg2.txt Unify config file search order Linux/Unix and Windows #69 2021-03-19 16:40:53 +01:00
125_config_file_wrong_BOXES_var.txt Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
126_config_file_xdg3.txt Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
127_multiple_parent_configs.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
128_multiple_parent_configs_cycle.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
129_multiple_parent_configs_empty_base.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
130_multiple_parent_configs_inherited_design.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
131_multiple_parent_configs_ref_after_broken.txt Refactor lexer and parser for maintainability 2021-06-13 22:34:53 +02:00
132_parent_configs_speedmode.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
133_comments_in_strings.cfg Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
133_comments_in_strings.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
134_comments_in_sample.cfg Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
134_comments_in_sample.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
135_design_alias_by_design.cfg Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
135_design_alias_by_design.txt Add argument to -q option for tag queries #23 2021-04-06 22:13:41 +02:00
136_design_alias_by_alias.cfg Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
136_design_alias_by_alias.txt Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
137_design_alias_no_accumulation.cfg Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
137_design_alias_no_accumulation.txt Refactor lexer and parser for maintainability 2021-06-13 22:34:53 +02:00
138_design_alias_duplicate_name.cfg Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
138_design_alias_duplicate_name.txt Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
139_parent_config_without_file.cfg Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
139_parent_config_without_file.txt Add more test cases for multiple config files #5 2021-03-22 21:31:34 +01:00
140_tag_query_normal.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
141_tag_query_plus.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
142_tag_query_plus2.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
143_tag_query_minus.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
144_tag_query_minus2.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
145_tag_query_all.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
146_tag_query_invalid.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
147_tag_stats_list.txt Add tests for tag handling #23 2021-04-11 20:27:17 +02:00
148_tag_query_duplicate_expression.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
149_tag_query_duplicate_expression2.txt Untangle -l and -q options #23 2021-04-11 20:34:41 +02:00
150_tag_config_invalid_tags.cfg Add tests for tag handling #23 2021-04-11 20:27:17 +02:00
150_tag_config_invalid_tags.txt Add tests for tag handling #23 2021-04-11 20:27:17 +02:00
151_tag_query_no_results.txt Enable querying of the design list by tag #23 2021-04-11 20:27:15 +02:00
152_eol_control_crlf.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
153_eol_control_lf.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
154_eol_control_cr.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
155_eol_control_invalid.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
156_eol_control_crlf_design_info.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
157_eol_control_lf_design_info.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
158_eol_control_crlf_remove.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
159_eol_control_lf_remove.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
160_list_designs_author_designer.cfg Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
160_list_designs_author_designer.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
161_eol_control_list_designs_crlf.cfg Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
161_eol_control_list_designs_crlf.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
162_eol_control_list_designs_lf.cfg Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
162_eol_control_list_designs_lf.txt Test cases for eol control option #60 2021-04-11 20:34:52 +02:00
163_tag_query_minus3.txt Enable querying of the design list by tag #23 2021-04-11 20:27:15 +02:00
164_tag_query_empty.txt Enable querying of the design list by tag #23 2021-04-11 20:27:15 +02:00
165_design_alias_parent_override.cfg Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
165_design_alias_parent_override.parent.cfg Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
165_design_alias_parent_override.txt Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
166_design_alias_parent_clash.cfg Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
166_design_alias_parent_clash.parent.cfg Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
166_design_alias_parent_clash.txt Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
167_duplicate_primary_name.cfg Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
167_duplicate_primary_name.txt Fix a bug where alias names could be defined twice 2021-06-08 22:06:25 +02:00
168_parent_keyword_in_sample_ok.cfg Refactor lexer and parser for maintainability 2021-06-13 22:34:53 +02:00
168_parent_keyword_in_sample_ok.txt Refactor lexer and parser for maintainability 2021-06-13 22:34:53 +02:00
test-config-unused.cfg Add test cases for design alias names #30 2021-03-30 20:34:33 +02:00
testrunner.sh Test cases for eol control option #60 2021-04-11 20:34:52 +02:00