rename to lib-management.launcher-test (was lib-sporel.launcher-test)

Per ADR-0045 (three-tier library naming) the launcher-test migrates
from the retired lib-sporel.* prefix to the new lib-management.* tier.

- manifest.lib id: lib-sporel.launcher-test -> lib-management.launcher-test
- manifest.core id: lib-sporel.launcher-test.core -> lib-management.launcher-test.core
- init.lua engine.module.dir_of("lib-management.launcher-test")
- README + fsm.lua + init.lua comments updated

Gitea repo renamed in lockstep:
sporel/sporel-lib-sporel.launcher-test ->
sporel/sporel-lib-management.launcher-test
This commit is contained in:
Calic
2026-05-31 00:21:57 +02:00
parent d27f8bdc1a
commit 019b18d621
5 changed files with 11 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
# sporel-module-lib-sporel.launcher-test
# sporel-lib-management.launcher-test
P.3.4 reference test-module — validates `lib-sporel.launcher` FSM contracts
P.3.4 reference test-module — validates `lib-management.launcher` FSM contracts
and engine-surface existence via the `engine.test.*` assertion surface.
- Module-ID: `lib-sporel.launcher-test`
- Module-ID: `lib-management.launcher-test`
- Version: `0.1.0`
- Kind: `test-module` (headless; runs init() once + exits)
- Note: Embeds its own byte-identical copy of `fsm.lua` (Sporel-resolver does
@@ -12,7 +12,7 @@ and engine-surface existence via the `engine.test.*` assertion surface.
## Run
```bash
Sporel.exe --test-libs=lib-sporel.launcher-test
Sporel.exe --test-libs=lib-management.launcher-test
```
Output is TAP version 13 on stdout; exit-code = failure-count (0 = all pass).
@@ -46,4 +46,4 @@ copy; mutations reverted after observation.
### Tested Production-Lib Surface
`lib-sporel.launcher` v0.1.0 (FSM component) — Tests cover: all 5 explicit FSM transitions (`list+esc`, `quit_confirm+esc`, `quit_confirm+enter`, `quit_confirm+click_yes`, `quit_confirm+click_no`), stability for unhandled events (`list+click_module`), unknown-state passthrough, and engine-surface existence for `engine.module.list`, `engine.module.dir_of`, `engine.render.draw_text`, `engine.render.measure_text`.
`lib-management.launcher` v0.1.0 (FSM component) — Tests cover: all 5 explicit FSM transitions (`list+esc`, `quit_confirm+esc`, `quit_confirm+enter`, `quit_confirm+click_yes`, `quit_confirm+click_no`), stability for unhandled events (`list+click_module`), unknown-state passthrough, and engine-surface existence for `engine.module.list`, `engine.module.dir_of`, `engine.render.draw_text`, `engine.render.measure_text`.

View File

@@ -1,5 +1,5 @@
-- Sporel Launcher — pure-Lua finite state machine.
-- No engine.* calls; testable directly by lib-sporel.launcher-test.
-- No engine.* calls; testable directly by lib-management.launcher-test.
local M = {}

View File

@@ -1,15 +1,15 @@
-- lib-sporel.launcher-test — P.3.4
-- lib-management.launcher-test — P.3.4
-- 11 assertions: 5 FSM transitions + 1 FSM stability + 5 Engine-Surface existence.
-- (measure_text runtime-behavior check dropped — needs Raylib font, not loaded in headless test-mode.)
-- Pattern follows P.3.1 Test-Module-Pattern; TAP output via engine.test.*
-- FSM-Source: byte-identical Kopie aus modules/lib-sporel.launcher/fsm.lua.
-- FSM-Source: byte-identical Kopie aus modules/lib-management.launcher/fsm.lua.
-- Sporel-Resolver lehnt module-als-dep ab (nur lib-deps werden resolved),
-- daher hat dieses Test-Modul seine eigene fsm.lua. Drift wird via Smoke-
-- diff-check verhindert (siehe smoke.sh P0-S15-pre).
local M = {}
local fsm = dofile(engine.module.dir_of("lib-sporel.launcher-test") .. "/fsm.lua")
local fsm = dofile(engine.module.dir_of("lib-management.launcher-test") .. "/fsm.lua")
function M.run_tests(ctx)
-- FSM transitions (5)

View File

@@ -1,5 +1,5 @@
{
"id": "lib-sporel.launcher-test.core",
"id": "lib-management.launcher-test.core",
"kind": "lib",
"version": "0.1.0",
"license": "Proprietary"

View File

@@ -1,5 +1,5 @@
{
"id": "lib-sporel.launcher-test",
"id": "lib-management.launcher-test",
"role": "test",
"version": "0.1.0",
"api_min": "0.1",