indicator_rule_assignment_simple_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Simplified test for RuleCheckIndicator rule assignment regression Tests the core functionality of rule assignment, bidirectional relationships, and validation without complex scene setup dependencies
Source File: /addons/grid_building/test/rules/assignment/indicator_rule_assignment_simple_test.gd
Extends: GdUnitTestSuite
Properties
- Property:
env: [AllSystemsTestEnvironment](./all-systems-test-environment/) - Property:
runner: GdUnitSceneRunner
Constants
- Constant:
GBTestConstants := preload("res://addons/grid_building/test/scenes/env/gb_test_constants.gd")
Public Methods
before
| |
before_test
| |
after_test
| |
after
| |
assert_indicator_rule_relationship
| |
test_indicator_rule_assignment_via_factory
| |
Test that rules are properly assigned to indicators during creation
test_add_rule_bidirectional_relationship
| |
Test that add_rule() properly establishes bidirectional relationship
test_rules_array_is_private
| |
Test that direct assignment to rules is no longer possible
test_indicator_rule_validation
| |
Test that indicators validate rules correctly when rules are added
test_factory_uses_add_rule_method
| |
Test that IndicatorFactory uses proper rule assignment method
test_clear_rules
| |
Test rule clearing functionality
Private Methods
_create_test_collision_rule
| |
Flags: private
_create_test_parent_node
| |
Flags: private
Grid Building v5.0.8 | Generated 24/05/2026