1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 13:32:54 +08:00

Remove hover test

This commit is contained in:
CenTdemeern1 2022-04-02 04:41:05 +02:00
parent 245e452d41
commit ee9696855b

View File

@ -89,21 +89,6 @@ namespace osu.Game.Tests.Visual.Menus
AddStep("Set game time long", () => mainContainer.Clock = new FramedOffsetClock(Clock, false) { Offset = 3600.0 * 24 * 1000 * 98 });
}
[Test]
public void TestHoverBackground()
{
Box hoverBackground = null;
AddStep("Retrieve hover background", () => hoverBackground = (Box)toolbarClock.Children[0]);
AddStep("Move mouse away from clock", () => InputManager.MoveMouseTo(toolbarClock, new Vector2(0, 200)));
AddAssert("Hover background is not visible", () => hoverBackground.Alpha == 0);
AddStep("Move mouse on top of clock", () => InputManager.MoveMouseTo(toolbarClock));
AddAssert("Hover background is visible", () => hoverBackground.Alpha != 0);
AddStep("Move mouse away from clock", () => InputManager.MoveMouseTo(toolbarClock, new Vector2(0, 200)));
AddUntilStep("Hover background is not visible", () => hoverBackground.Alpha == 0);
}
[Test]
public void TestDisplayModeChange()
{