diff --git a/osu.Game.Tests/Visual/TestCaseMenuOverlays.cs b/osu.Game.Tests/Visual/TestCaseMenuOverlay.cs similarity index 83% rename from osu.Game.Tests/Visual/TestCaseMenuOverlays.cs rename to osu.Game.Tests/Visual/TestCaseMenuOverlay.cs index 94a69f0029..da846a1b39 100644 --- a/osu.Game.Tests/Visual/TestCaseMenuOverlays.cs +++ b/osu.Game.Tests/Visual/TestCaseMenuOverlay.cs @@ -1,6 +1,8 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE +using System; +using System.Collections.Generic; using System.ComponentModel; using osu.Framework.Graphics.Containers; using osu.Framework.Logging; @@ -9,9 +11,11 @@ using osu.Game.Screens.Play; namespace osu.Game.Tests.Visual { [Description("player pause/fail screens")] - internal class TestCaseMenuOverlays : OsuTestCase + internal class TestCaseMenuOverlay : OsuTestCase { - public TestCaseMenuOverlays() + public override IReadOnlyList RequiredTypes => new[] { typeof(FailOverlay), typeof(PauseContainer.PauseOverlay) }; + + public TestCaseMenuOverlay() { FailOverlay failOverlay; PauseContainer.PauseOverlay pauseOverlay; diff --git a/osu.Game.Tests/osu.Game.Tests.csproj b/osu.Game.Tests/osu.Game.Tests.csproj index 184561faa7..cf91ca0c15 100644 --- a/osu.Game.Tests/osu.Game.Tests.csproj +++ b/osu.Game.Tests/osu.Game.Tests.csproj @@ -120,7 +120,7 @@ - +