mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Add failing test for pausing when pause support is disabled
This commit is contained in:
parent
52372fe50d
commit
d2ec151c67
@ -90,6 +90,15 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
resumeAndConfirm();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestUserPauseWhenPauseNotAllowed()
|
||||
{
|
||||
AddStep("disable pause support", () => Player.Configuration.AllowPause = false);
|
||||
|
||||
pauseFromUserExitKey();
|
||||
confirmExited();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestUserPauseDuringCooldownTooSoon()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user