Files
UnrealEngineUWP/Engine/Source/Programs/Horde/Horde.Agent
carl bystrom b58b0b9311 Horde: Add fake HordeRpcServer for testing
- 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]
2022-06-08 12:15:06 -04:00
..