EnvironmentValidationUtils

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Environment Validation Utilities

Source File: /addons/grid_building/test/utilities/diagnostics/environment_validation_utils.gd

Extends: RefCounted

Public Methods

validate_all_systems_environment

1
2
3
4
validate_all_systems_environment(
    env: AllSystemsTestEnvironment,
    test_name: String = "Test"
) -> bool

Flags: static

Validates that an AllSystemsTestEnvironment is properly set up Returns true if valid, false if invalid (with error messages logged)


validate_collision_test_environment

1
2
3
4
validate_collision_test_environment(
    env: Node,
    test_name: String = "Test"
) -> bool

Flags: static

Validates that a collision test environment is properly set up


validate_extracted_components

1
2
3
4
validate_extracted_components(
    components: Dictionary,
    test_name: String = "Test"
) -> bool

Flags: static

Validates that components extracted from test environment are not null


validate_targeting_state

1
2
3
4
validate_targeting_state(
    state: GridTargetingState,
    test_name: String = "Test"
) -> bool

Flags: static

Validates targeting state is properly configured


validate_collision_mapper

1
2
3
4
validate_collision_mapper(
    mapper: CollisionMapper,
    test_name: String = "Test"
) -> bool

Flags: static

Validates collision mapper is properly configured


validate_building_system

1
2
3
4
validate_building_system(
    system: BuildingSystem,
    test_name: String = "Test"
) -> bool

Flags: static

Validates building system is properly configured


validate_indicator_manager

1
2
3
4
validate_indicator_manager(
    manager: IndicatorManager,
    test_name: String = "Test"
) -> bool

Flags: static

Validates indicator manager is properly configured


create_validation_report

1
2
3
4
create_validation_report(
    test_name: String,
    components_to_validate: Dictionary
) -> bool

Flags: static

Helper method to create a standardized validation report


log_environment_state

1
2
3
4
log_environment_state(
    env: AllSystemsTestEnvironment,
    test_name: String = "Test"
) -> void

Flags: static

Logs environment state for debugging purposes


safely_extract_components

1
2
3
4
safely_extract_components(
    env: AllSystemsTestEnvironment,
    test_name: String = "Test"
) -> Dictionary

Flags: static

Safe extraction helper that validates components during extraction



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