Record original-alignment implementation and traceability checkpoint
Capture current source, content data, tests, asset licenses, and original-specification traceability. Original implementation remains incomplete. The accepted matching UI generation passed 154 suites and 12,253 checks, with eight rendered staff-contract screens reviewed. Latest native Windows and full-original acceptance remain outstanding.
This commit is contained in:
@@ -13,6 +13,7 @@ func _initialize() -> void:
|
||||
|
||||
func _run() -> void:
|
||||
_test_catalog_references()
|
||||
_test_normal_catalog_lookup()
|
||||
_test_expansion_catalog()
|
||||
_test_default_registry()
|
||||
_test_detailed_definition_schema()
|
||||
@@ -83,6 +84,16 @@ func _test_catalog_references() -> void:
|
||||
_expect(FacilityCatalogScript.by_id(&"not_a_facility") == null, "catalog by_id rejects an unknown reference")
|
||||
|
||||
|
||||
func _test_normal_catalog_lookup() -> void:
|
||||
# Every normal-build registration must also resolve through the public catalog.
|
||||
var paths: Array[String] = FacilityCatalogScript.FACILITY_PATHS + FacilityCatalogScript.INFRASTRUCTURE_FACILITY_PATHS + FacilityCatalogScript.RESCUE_FACILITY_PATHS + FacilityCatalogScript.ORIGINAL_FACILITY_PATHS
|
||||
for path: String in paths:
|
||||
var registered := load(path) as FacilityDefinition
|
||||
_expect(registered != null, "normal catalog resource loads: %s" % path)
|
||||
if registered != null:
|
||||
_expect(FacilityCatalogScript.by_id(registered.id) == registered, "normal registration resolves to identical definition: %s" % registered.id)
|
||||
|
||||
|
||||
func _test_detailed_definition_schema() -> void:
|
||||
var registry = DefinitionRegistryScript.new()
|
||||
registry.rebuild()
|
||||
@@ -204,6 +215,7 @@ func _test_queries() -> void:
|
||||
&"service_elevator",
|
||||
&"staff_door",
|
||||
&"staff_waiting_room",
|
||||
&"standard_room",
|
||||
&"tavern",
|
||||
&"warehouse",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user