manipulation_rotation_transfer_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Source File: /addons/grid_building/test/manipulation/regression/manipulation_rotation_transfer_test.gd
Extends: GdUnitTestSuite
Properties
Property: runner: GdUnitSceneRunner
Test Suite: Manipulation Rotation Transfer Integration Test
Tests that rotation is correctly transferred from the manipulation copy to ManipulationParent
AFTER indicator generation is complete, ensuring:
- Indicators are calculated from canonical geometry (rotation=0)
- Preview shows correct rotation visually (ManipulationParent applies rotation)
- IndicatorManager is properly parented to ManipulationParent
- Indicators rotate with the preview via transform inheritance
IMPORTANT: Uses AllSystemsTestEnvironment with scene_runner pattern for full system initialization
Private Properties
- Property:
_env: [AllSystemsTestEnvironment](./all-systems-test-environment/) (private) - Property:
_container: [GBCompositionContainer](./gb-composition-container/) (private) - Property:
_manipulation_system: [ManipulationSystem](./manipulation-system/) (private) - Property:
_indicator_manager: [IndicatorManager](./indicator-manager/) (private) - Property:
_manipulation_parent: [ManipulationParent](./manipulation-parent/) (private) - Property:
_smithy: [Manipulatable](./manipulatable/) (private)
Constants
- Constant:
ManipulationSystem = preload('res://addons/grid_building/systems/manipulation/manipulation_system.gd')
Public Methods
before
before_test
after_test
after
test_indicator_manager_is_child_of_manipulation_parent
1
| test_indicator_manager_is_child_of_manipulation_parent() -> void
|
test_manipulation_parent_starts_at_zero_rotation
1
| test_manipulation_parent_starts_at_zero_rotation() -> void
|
test_rotation_transferred_after_indicator_generation
1
| test_rotation_transferred_after_indicator_generation() -> void
|
test_indicators_inherit_rotation_from_manipulation_parent
1
| test_indicators_inherit_rotation_from_manipulation_parent() -> void
|
test_indicator_count_consistent_across_rotations
1
| test_indicator_count_consistent_across_rotations() -> void
|
test_preview_shows_correct_rotation_visually
1
| test_preview_shows_correct_rotation_visually() -> void
|
test_rotation_transferred_to_parent_after_indicator_generation
1
| test_rotation_transferred_to_parent_after_indicator_generation() -> void
|
Grid Building v5.0.8 | Generated 24/05/2026