summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-05-21 16:25:53 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-05-21 16:25:53 -0400
commitf42e0d2d433ae126a32a604835598a1d8b7150f1 (patch)
tree40109c896005f8022531cd9a4c71b898983326d2 /tests
parent4b1615c76b5b4fe110eb01392c98eddaf03bb103 (diff)
pke: reference FontType via title over uuid
Diffstat (limited to 'tests')
-rw-r--r--tests/pke-test-serialization.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/pke-test-serialization.cpp b/tests/pke-test-serialization.cpp
index 5663275..724ccae 100644
--- a/tests/pke-test-serialization.cpp
+++ b/tests/pke-test-serialization.cpp
@@ -42,7 +42,7 @@ const pk_uuid uuid_n[] = {
FAKE_UUID_GEN(0x0e),
FAKE_UUID_GEN(0x0f),
};
-const pk_uuid uuid_17 = FAKE_UUID_GEN(0x11);
+// const pk_uuid uuid_17 = FAKE_UUID_GEN(0x11);
// const pk_uuid uuid_34 = FAKE_UUID_GEN(0x22);
void pke_test_serialization_spinup() {
@@ -56,10 +56,10 @@ void pke_test_serialization_spinup() {
FontType_Init();
pke_scene_master_init();
test_scene = pke_scene_create(test_scene_name);
- FontTypeIndex fti;
- FontType *ft = FontType_GetFonts(fti);
- assert(fti > FontTypeIndex{0});
- ft->uuid = uuid_17;
+ // FontTypeIndex fti;
+ // FontType *ft = FontType_GetFonts(fti);
+ // assert(fti > FontTypeIndex{0});
+ // ft->uuid = uuid_17;
};
void pke_test_serialization_teardown() {
@@ -400,7 +400,7 @@ SurfaceAreaFlags:0x03
FontRender:00000000!00000001
ChildId:00000000!00000000
UUID:01010101-0101-0101-0101-010101010101
-FontTypeUUID:11111111-1111-1111-1111-111111111111
+FontTypeTitle:fnt_mquin_7y
TextBegin::
asdf
:MULTILINE_END: