vhdl-style-guide/tests/constant
say dc3d81da0e Fix crash in multiline array rules on deferred constants
constant_012 and constant_016 crashed with a TypeError when a
constant declaration spanning multiple lines had no assignment
operator (a deferred constant whose initializer is in the package
body). array_detected_after_assignment_operator now returns False
when the assignment operator token is absent.

Fixes #1549
2026-05-12 11:45:11 -07:00
..
__init__.py tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_001_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_001_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_002_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_002_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_002_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_004_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_004_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_004_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_005_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_005_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_006_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_006_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_007_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_007_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_010_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_010_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_false_align_paren_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_false_align_paren_true_indent_step_2.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_false_align_paren_true_indent_step_2_smart_tabs.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_false_align_paren_true_smart_tabs.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_true_align_paren_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_true_align_paren_true_smart_tabs.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_true_indent_step_2.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_true_indent_step_2_smart_tabs.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_align_left_true_smart_tabs.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_013_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_013_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_014_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_014_test_input.fixed_align_left_true_align_paren_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_014_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_015_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_all_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_all_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_close_paren_new_line_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_close_paren_new_line_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_first_paren_new_line_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_first_paren_new_line_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_last_paren_new_line_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_last_paren_new_line_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_last_paren_new_line_true_move_last_comment_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_new_line_after_comma_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_new_line_after_comma_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_open_paren_new_line_false.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed_open_paren_new_line_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input_assignment.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input_assignment.fixed_assign_on_single_line_true.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input_assignment.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input_deferred_constant.vhd Fix crash in multiline array rules on deferred constants 2026-05-12 11:45:11 -07:00
rule_016_test_input_others.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input_others.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input_positional.fixed.vhd style: remove trailing spaces 2024-03-24 21:16:35 +02:00
rule_016_test_input_positional.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_array_constraint__all_in_one_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_array_constraint__one_line_per_dimension.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_exception__one.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_close_paren__add_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_close_paren__remove_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_comma__remove_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_element__add_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_element__remove_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_open_paren__add_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.fixed_record_constraint_open_paren__remove_new_line.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_100_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_100_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_101_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_101_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_200_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_200_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_400_test_input.fixed_no_no_no_no_no.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_400_test_input.fixed_yes_no_no_no_no.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_400_test_input.fixed_yes_no_yes_no_no.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_400_test_input.fixed_yes_yes_no_no_no.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_400_test_input.fixed_yes_yes_yes_yes_no.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_400_test_input.fixed_yes_yes_yes_yes_yes.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_400_test_input.vhd style: apply codespell 2024-03-24 21:16:34 +02:00
rule_600_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
test_rule_001.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_002.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_004.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_005.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_006.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_007.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_010.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_012.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_013.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_014.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_015.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_016.py Fix crash in multiline array rules on deferred constants 2026-05-12 11:45:11 -07:00
test_rule_016_boolean.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_017.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_100.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_101.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_200.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00
test_rule_400.py Issue#1358: Adding user_error_message option. (#1387) 2025-03-02 12:14:53 -06:00
test_rule_600.py Issue#1500: Modified test class names to remove duplication. (#1501) 2025-09-07 16:17:14 -05:00