gb_systems_context_camera_validation_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Unit tests for GBSystemsContext Camera2D validation functionality
Source File: /addons/grid_building/test/utilities/data/gb_systems_context_camera_validation_test.gd
Extends: GdUnitTestSuite
Properties
- Property:
test_context: [GBSystemsContext](./gb-systems-context/) - Property:
test_logger: [GBLogger](./gb-logger/) - Property:
test_runtime_checks: [GBRuntimeChecks](./gb-runtime-checks/)
Public Methods
before_test
| |
after_test
| |
test_camera_2d_validation_detects_missing_camera
| |
Test: Camera2D validation detects missing Camera2D Setup: Context with no Camera2D in viewport Act: Get runtime issues with camera_2d check enabled Assert: Issue reported about missing Camera2D
test_camera_2d_validation_skipped_when_disabled
| |
Test: Camera2D validation skipped when disabled Setup: Context with camera_2d check disabled Act: Get runtime issues with camera_2d = false Assert: No Camera2D issues reported
test_camera_2d_helper_handles_missing_viewport
| |
Test: Camera2D detection helper handles missing viewport gracefully Setup: Context with no systems to provide viewport access Act: Call helper method directly Assert: Returns false without crashing
test_runtime_checks_with_all_systems_disabled
| |
Test: Runtime checks validation with all systems disabled Setup: Context with all system validation disabled Act: Get runtime issues Assert: Only Camera2D issue reported (if enabled)
Grid Building v5.0.8 | Generated 24/05/2026