mirror of https://github.com/ppy/osu
Add failing test for pausing when pause support is disabled
This commit is contained in:
parent
52372fe50d
commit
d2ec151c67
|
@ -90,6 +90,15 @@ public void TestResumeWithResumeOverlaySkipped()
|
|||
resumeAndConfirm();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestUserPauseWhenPauseNotAllowed()
|
||||
{
|
||||
AddStep("disable pause support", () => Player.Configuration.AllowPause = false);
|
||||
|
||||
pauseFromUserExitKey();
|
||||
confirmExited();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestUserPauseDuringCooldownTooSoon()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue