mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-30 16:37:14 +00:00
test(zone): read every zone and scene file of the clients on disk
ClientZoneFilesTests reads every .luz and .lvl under DLU_CLIENTS_DIR (default ~/Documents/luclients) and expects each to read in full; the tests are skipped when no client is there. Left out: empty files, sd0 files (the loose sd0 files of the 1.7.45 and 1.9.76 clients are all cut up after their second chunk; the server gets its files uncompressed from the packs) and one damaged scene file, which claims 81 objects in 910 bytes. With the zone and scene reader fixes before this every file of the 0.179.12, 1.7.45, 1.9.76, 1.10.64 and unpacked clients reads. Check in game: nothing (test only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,7 @@ set(DCOMMONTEST_SOURCES
|
||||
"ScheduleRulesTests.cpp"
|
||||
"VanityEventsTests.cpp"
|
||||
"ZoneFileTests.cpp"
|
||||
"ClientZoneFilesTests.cpp"
|
||||
"ZoneScenesTests.cpp"
|
||||
"LiveOpsRulesTests.cpp"
|
||||
"ProcessAndLimitsTests.cpp"
|
||||
|
||||
Reference in New Issue
Block a user