Adds ServerOptions, improve GameControllerOptions, fix engine integration tests (#1844)

* Adds ServerOptions, improve GameControllerOptions, fix engine integration tests

* Do component auto-registration in engine integration tests by default

* Fix integration tests on content, register components ONLY if not contentstarted or options are null

* Add integration test for engine integration tests working correctly

* Move cvar overrides out of content and into engine.
This commit is contained in:
Vera Aguilera Puerto
2021-07-03 15:19:46 +02:00
committed by GitHub
parent 63128324ab
commit c06707d519
15 changed files with 245 additions and 54 deletions

View File

@@ -33,7 +33,7 @@ namespace Robust.UnitTesting
public string? ContentRootDir { get; set; }
public void Run(GameController.DisplayMode mode, Func<ILogHandler>? logHandlerFactory = null)
public void Run(GameController.DisplayMode mode, GameControllerOptions options, Func<ILogHandler>? logHandlerFactory = null)
{
}