feat(theme): showcase harness — the human-eyeball proof

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-10 20:39:09 -05:00
parent 73fcf2d096
commit 7954c579d3
5 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# client/tests/unit/test_theme_showcase.gd
extends "res://addons/gut/test.gd"
func test_showcase_instances_without_error():
var packed = load("res://scenes/theme/theme_showcase.tscn")
assert_true(packed is PackedScene)
var node = packed.instantiate()
add_child_autofree(node) # runs _ready(); any engine error here fails the suite
assert_true(node is Control)
assert_true(node.theme is Theme, "showcase did not apply game_theme")