Improve integration testing

This commit is contained in:
Pieter-Jan Briers
2019-06-29 01:58:16 +02:00
parent e8498d1bb2
commit f97977323a
12 changed files with 177 additions and 20 deletions

View File

@@ -139,6 +139,12 @@ namespace Content.Client
IoCManager.Register<IParallaxManager, ParallaxManager>();
IoCManager.Register<IChatManager, ChatManager>();
IoCManager.Register<IEscapeMenuOwner, EscapeMenuOwner>();
if (TestingCallbacks != null)
{
var cast = (ClientModuleTestingCallbacks) TestingCallbacks;
cast.ClientBeforeIoC?.Invoke();
}
IoCManager.BuildGraph();
IoCManager.Resolve<IParallaxManager>().LoadParallax();