You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- The FakeHordeRpcServer will mock a HordeRpcClient that can be used by WorkerService during tests whenever it needs to interact with the server. - A basic integration test testing shutdown of WorkerService was added as a start. - Adding more meaningful tests likely require some refactoring of WorkerService since it's quite opaque from testing point of view. - To make HordeRpcClient usable by Moq, the gRPC/protobuf generated files had to be set to "public" rather than "internal" - Since we generate Protobuf files in both Horde.Agent and Horde.Server this caused a name resolution clash, so an import alias was added in Horde.Build.Tests when importing Horde.Agent. #preflight 62a0c939521254896fc1334a [CL 20558077 by carl bystrom in ue5-main branch]