indicator_manager_refactored_tests

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Source File: /addons/grid_building/test/integration/system_interactions/indicator_manager_refactored_tests.gd

Extends: GdUnitTestSuite

Properties

  • Property: env: [AllSystemsTestEnvironment](./all-systems-test-environment/) - Refactored indicator manager tests using AllSystemsTestEnvironment
  • Property: runner: GdUnitSceneRunner

Public Methods

before

1
before() -> void

before_test

1
before_test() -> void

after

1
after() -> void

setup_targeting_state_for_tests

1
setup_targeting_state_for_tests() -> void

Sets up the GridTargetingState with a default target for indicator tests


test_indicator_manager_creation

1
test_indicator_manager_creation() -> void

test_indicator_setup_basic

1
test_indicator_setup_basic() -> void

test_indicator_cleanup

1
test_indicator_cleanup() -> void

test_indicator_positioning

1
test_indicator_positioning() -> void

test_multiple_setup_calls

1
test_multiple_setup_calls() -> void

test_indicators_are_reused_via_reconciliation_between_setups

1
test_indicators_are_reused_via_reconciliation_between_setups() -> void

Integration: indicator_manager should reuse reconciled indicators between setup calls Verifies that for identical tile positions, IndicatorService reconciliation reuses the same RuleCheckIndicator nodes (instance IDs unchanged) and updates their rules rather than clearing and recreating all indicators.


map_indicators_by_tile

1
map_indicators_by_tile(indicators: Array[RuleCheckIndicator]) -> Dictionary

get_indicator_tile

1
2
3
4
get_indicator_tile(
    indicator: RuleCheckIndicator,
    tm: TileMapLayer
) -> Vector2i

create_test_area

1
create_test_area() -> Area2D

create_test_rules

1
create_test_rules() -> Array[TileCheckRule]

setup_test_area

1
setup_test_area(area: Area2D) -> void

count_indicators

1
count_indicators(parent: Node) -> int

get_indicator_names

1
get_indicator_names() -> Array[String]

Returns the names of the currently managed indicators for diagnostics



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