object_manipulation_tests

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

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

Extends: GdUnitTestSuite

Properties

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

Constants

  • Constant: TEST_CONTAINER: [GBCompositionContainer](./gb-composition-container/) = preload("res://addons/grid_building/test/resources/composition_containers/test_composition_container.tres")

    Consolidated placement component tests combining collision mappers, geometry calculators, polygon tile mappers, and various placement-related components Uses placement system environment for comprehensive setup

  • Constant: RCI_ISOMETRIC : PackedScene = preload("res://addons/grid_building/test/scenes/objects/test_rci_isometric.tscn") - Isometric game RuleCheckIndicator

  • Constant: RCI_TD_SIDE : PackedScene = preload("res://addons/grid_building/test/scenes/indicators/test_indicator.tscn") - Top-down sidescroller square shape RuleCheckIndicator

  • Constant: DEFAULT_RECT_SIZE: Vector2 = Vector2(32, 32)

  • Constant: PERFORMANCE_TEST_COUNT: int = 50

  • Constant: PERFORMANCE_TIME_LIMIT_US: int = 500000

Public Methods

before_test

1
before_test() -> void

after_test

1
after_test() -> void

test_collision_mapper_basic_setup

1
test_collision_mapper_basic_setup() -> void

test_collision_mapper_shape_positioning

1
test_collision_mapper_shape_positioning() -> void

test_collision_mapper_movement_tracking

1
test_collision_mapper_movement_tracking() -> void

test_geometry_calculator_basic_operations

1
test_geometry_calculator_basic_operations() -> void

test_geometry_calculator_polygon_bounds

1
test_geometry_calculator_polygon_bounds() -> void

test_polygon_tile_mapper_basic

1
test_polygon_tile_mapper_basic() -> void

test_polygon_tile_mapper_offsets

1
test_polygon_tile_mapper_offsets() -> void

test_area2d_rotation_indicator_basic

1
test_area2d_rotation_indicator_basic() -> void

test_area2d_rotation_indicator_collision

1
test_area2d_rotation_indicator_collision() -> void

test_indicator_factory_rule_check_creation

1
test_indicator_factory_rule_check_creation() -> void

test_indicator_factory_with_custom_shape

1
test_indicator_factory_with_custom_shape() -> void

test_grid_alignment_basic

1
test_grid_alignment_basic() -> void

test_collision_layer_rule_setup_validation

1
test_collision_layer_rule_setup_validation() -> void

test_collision_layer_rule_setup_with_custom_mask

1
test_collision_layer_rule_setup_with_custom_mask() -> void

test_placement_environment_integration

1
test_placement_environment_integration() -> void

test_placement_components_workflow

1
test_placement_components_workflow() -> void

test_performance_placement_components

1
test_performance_placement_components() -> void

Private Methods

_create_test_rule_check_indicator

1
_create_test_rule_check_indicator() -> RuleCheckIndicator

Flags: private


_configure_collision_mapper_for_test_object

1
2
3
4
5
_configure_collision_mapper_for_test_object(
    _test_object: StaticBody2D,
    _indicator_manager: IndicatorManager,
    _container: GBCompositionContainer
) -> void

Flags: private



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