✅ Add FPCUnit test suites for shared code and server

Introduces two headless FPCUnit runners under tests/ with 119 tests
covering the shared stream, cache, and packet layers, the MUL file
library, and the server config, region, account, and landscape
bounds logic. Each runner uses its own object output directory so
client and server PPUs with colliding unit names cannot pollute
each other's builds. Drone now builds and runs both suites before
packaging. Found on the way: two product defects fixed in the
previous commits.
This commit is contained in:
2026-11-15 22:08:32 +01:00
parent ca8a0afc3b
commit 99749a5168
23 changed files with 3357 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
program unittests;
{$mode objfpc}{$H+}
uses
simpletestrunner,
UTestCacheManager,
UTestEnhancedMemoryStream,
UTestStreamHelper,
UTestBufferedStreams,
UTestXmlHelper,
UTestLinkedList,
UTestPacket,
UTestArt,
UTestMap,
UTestStatics,
UTestTiledata,
UTestLocalization,
UTestPackets;
begin
with TTestRunner.Create(nil) do
try
Initialize;
Run;
finally
Free;
end;
end.