Add ManualInputManager to screen tests

Also sanitises content init order (ctor for content; bdl for other)
This commit is contained in:
Dean Herbert
2019-03-26 13:16:46 +09:00
parent a63bcff5cc
commit 868367511e
5 changed files with 16 additions and 7 deletions

View File

@ -3,6 +3,7 @@
using System.Collections.Generic;
using System.ComponentModel;
using osu.Framework.Allocation;
using osu.Game.Screens.Tournament;
using osu.Game.Screens.Tournament.Teams;
@ -11,7 +12,8 @@ namespace osu.Game.Tests.Visual.Tournament
[Description("for tournament use")]
public class TestCaseDrawings : ScreenTestCase
{
public TestCaseDrawings()
[BackgroundDependencyLoader]
private void load()
{
LoadScreen(new Drawings
{