mirror of
https://github.com/ppy/osu
synced 2025-01-07 06:40:05 +00:00
Add failing sample playback disabled check
This commit is contained in:
parent
315a73fb1b
commit
5fcc4bf713
@ -24,6 +24,7 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
public void TestCantExitWithoutSaving()
|
public void TestCantExitWithoutSaving()
|
||||||
{
|
{
|
||||||
AddRepeatStep("Exit", () => InputManager.Key(Key.Escape), 10);
|
AddRepeatStep("Exit", () => InputManager.Key(Key.Escape), 10);
|
||||||
|
AddAssert("Sample playback disabled", () => Editor.SamplePlaybackDisabled.Value);
|
||||||
AddAssert("Editor is still active screen", () => Game.ScreenStack.CurrentScreen is Editor);
|
AddAssert("Editor is still active screen", () => Game.ScreenStack.CurrentScreen is Editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user