mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 13:47:19 +09: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…
x
Reference in New Issue
Block a user