collision_object_resolver_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Unit Tests for CollisionObjectResolver
Source File: /addons/grid_building/test/placement/unit/collision_object_resolver_test.gd
Extends: GdUnitTestSuite
Private Properties
- Property:
_resolver: [CollisionObjectResolver](./collision-object-resolver/)(private)
Public Methods
before_test
| |
after_test
| |
test_resolve_direct_collision_object
| |
Test direct collision object resolution
test_resolve_collision_shape_with_parent
| |
Test collision shape with parent
test_resolve_collision_polygon_with_parent
| |
Test collision polygon with parent
test_resolve_collision_shape_without_parent
| |
Test collision shape without parent (should fail)
test_resolve_collision_polygon_without_parent
| |
Test collision polygon without parent (should fail)
test_resolve_unsupported_node
| |
Test unsupported node type (should fail)
test_resolve_null_node
| |
Test null node (should fail)
test_resolve_collision_object_without_test_setup
| |
Test collision object without test setup (should fail)
test_object_matches_layer_mask
| |
Test layer mask matching
Private Methods
_assert_valid_resolution
| |
Flags: private
Assert a valid resolution result with expected collision object and test setup
_assert_invalid_resolution
| |
Flags: private
Assert an invalid resolution result with expected error substring
_cleanup_test_data
| |
Flags: private
Cleanup all objects in test data
_setup_direct_collision_object
| |
Flags: private
Setup functions for test data
_setup_collision_shape_with_parent
| |
Flags: private
_setup_collision_polygon_with_parent
| |
Flags: private
_setup_collision_shape_without_parent
| |
Flags: private
_setup_collision_polygon_without_parent
| |
Flags: private
_setup_unsupported_node
| |
Flags: private
_setup_null_node
| |
Flags: private
_setup_collision_object_without_test_setup
| |
Flags: private
Grid Building v5.0.8 | Generated 24/05/2026