web_path_validation_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Tests that asset loading uses web-compatible APIs.

Source File: /addons/grid_building/test/utils/web_path_validation_test.gd

Extends: GdUnitTestSuite

Constants

  • Constant: TEST_ASSETS_FOLDER = "res://addons/grid_building/test/resources/placeable/"
  • Constant: TEST_TAGS_FOLDER = "res://addons/grid_building/test/resources/tags/"
  • Constant: TOP_DOWN_PLACEABLES = "res://demos/top_down/placement/placeables/"
  • Constant: PLATFORMER_PLACEABLES = "res://demos/platformer/placement/placeables/"
  • Constant: ISOMETRIC_BUILDINGS = "res://demos/isometric/objects/buildings/"
  • Constant: TOP_DOWN_SETTINGS = "res://demos/top_down/config/settings/td_settings.tres"
  • Constant: PLATFORMER_SETTINGS = "res://demos/platformer/settings/platformer_settings.tres"
  • Constant: ISOMETRIC_SETTINGS = "res://demos/isometric/settings/isometric_settings.tres"
  • Constant: ISOMETRIC_CONFIG = "res://demos/isometric/settings/isometric_config.tres"

Public Methods

test_load_placeables_returns_results

1
test_load_placeables_returns_results() -> void

test_load_placeables_with_result_returns_results

1
test_load_placeables_with_result_returns_results() -> void

test_load_placeables_empty_path

1
test_load_placeables_empty_path() -> void

test_load_placeables_invalid_path

1
test_load_placeables_invalid_path() -> void

test_load_placeables_non_res_path

1
test_load_placeables_non_res_path() -> void

test_validate_folder_path_valid

1
test_validate_folder_path_valid() -> void

test_validate_folder_path_invalid

1
test_validate_folder_path_invalid() -> void

test_validate_folder_path_empty

1
test_validate_folder_path_empty() -> void

test_validate_folder_path_non_res

1
test_validate_folder_path_non_res() -> void

test_folder_diagnostics_valid

1
test_folder_diagnostics_valid() -> void

test_folder_diagnostics_invalid

1
test_folder_diagnostics_invalid() -> void

test_folder_diagnostics_empty

1
test_folder_diagnostics_empty() -> void

test_top_down_placeables_load

1
test_top_down_placeables_load() -> void

test_platformer_placeables_load

1
test_platformer_placeables_load() -> void

test_isometric_buildings_load

1
test_isometric_buildings_load() -> void

test_top_down_placeables_have_rules

1
test_top_down_placeables_have_rules() -> void

test_platformer_placeables_have_rules

1
test_platformer_placeables_have_rules() -> void

test_isometric_buildings_have_rules

1
test_isometric_buildings_have_rules() -> void

test_top_down_settings_have_base_rules

1
test_top_down_settings_have_base_rules() -> void

test_platformer_settings_have_base_rules

1
test_platformer_settings_have_base_rules() -> void

test_isometric_settings_have_base_rules

1
test_isometric_settings_have_base_rules() -> void

test_isometric_config_has_base_rules

1
test_isometric_config_has_base_rules() -> void

test_top_down_placeable_rules_are_valid_type

1
test_top_down_placeable_rules_are_valid_type() -> void

test_placeable_rules_survive_load_round_trip

1
test_placeable_rules_survive_load_round_trip() -> void

test_template_top_down_config_loads_base_rules

1
test_template_top_down_config_loads_base_rules() -> void

Verifies that template composition containers load their base rules correctly. This catches the export-build issue where nested resource arrays deserialize as empty.


test_template_platformer_config_loads_base_rules

1
test_template_platformer_config_loads_base_rules() -> void

test_template_isometric_config_loads_base_rules

1
test_template_isometric_config_loads_base_rules() -> void


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