mirror of https://github.com/ppy/osu
Update framework
This commit is contained in:
parent
699f661b02
commit
8977670088
|
@ -1 +1 @@
|
|||
Subproject commit eb076a3301231eb73917073499051e49a9b12978
|
||||
Subproject commit a191c104b8e254e81a1a7bb1c200ccdf02628796
|
|
@ -44,13 +44,13 @@ private void load()
|
|||
{
|
||||
exitAction = false;
|
||||
InputManager.MoveMouseTo(quitButton);
|
||||
InputManager.ButtonDown(MouseButton.Left);
|
||||
InputManager.PressButton(MouseButton.Left);
|
||||
});
|
||||
|
||||
AddStep("Early release", () => InputManager.ButtonUp(MouseButton.Left));
|
||||
AddStep("Early release", () => InputManager.ReleaseButton(MouseButton.Left));
|
||||
AddAssert("action not triggered", () => !exitAction);
|
||||
|
||||
AddStep("Trigger exit action", () => InputManager.ButtonDown(MouseButton.Left));
|
||||
AddStep("Trigger exit action", () => InputManager.PressButton(MouseButton.Left));
|
||||
AddUntilStep(() => exitAction, $"{nameof(quitButton.Action)} was triggered");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue