mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22: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();
|
resumeAndConfirm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void TestUserPauseWhenPauseNotAllowed()
|
||||||
|
{
|
||||||
|
AddStep("disable pause support", () => Player.Configuration.AllowPause = false);
|
||||||
|
|
||||||
|
pauseFromUserExitKey();
|
||||||
|
confirmExited();
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestUserPauseDuringCooldownTooSoon()
|
public void TestUserPauseDuringCooldownTooSoon()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user