rule_check_indicator_comprehensive_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Source File: /addons/grid_building/test/rules/indicators/rule_check_indicator_comprehensive_test.gd

Extends: GdUnitTestSuite

Properties

  • Property: runner: GdUnitSceneRunner

    Comprehensive rule check indicator tests combining multiple scenarios

    MIGRATION: Converted from EnvironmentTestFactory to scene_runner pattern for better reliability and deterministic frame control.

    Tests indicator creation, validation, collision detection, and edge cases

  • Property: test_container: [GBCompositionContainer](./gb-composition-container/)

  • Property: env: [CollisionTestEnvironment](./collision-test-environment/)

Public Methods

before

1
before() -> void

before_test

1
before_test() -> void

after

1
after() -> void

after_test

1
after_test() -> void

test_indicator_visual_state_updates

1
test_indicator_visual_state_updates() -> void

create_test_validation_params

1
create_test_validation_params() -> GridTargetingState

Helper method to create test validation parameters


create_test_indicator

1
2
3
4
create_test_indicator(
    shape_type: String,
    shape_data: Dictionary
) -> RuleCheckIndicator

Helper method to create test indicators with different shapes


create_test_collision_body

1
create_test_collision_body() -> StaticBody2D

Helper method to create test collision bodies



Grid Building v5.0.8 | Generated 24/05/2026