mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Add failing test coverage to TestSceneKeyBindingPanel
for multiple non-modifiers being bound
This commit is contained in:
parent
45f5849301
commit
cb8275ee75
@ -40,6 +40,16 @@ namespace osu.Game.Tests.Visual.Settings
|
||||
AddWaitStep("wait for scroll", 5);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestBindingTwoNonModifiers()
|
||||
{
|
||||
AddStep("press j", () => InputManager.PressKey(Key.J));
|
||||
scrollToAndStartBinding("Increase volume");
|
||||
AddStep("press k", () => InputManager.Key(Key.K));
|
||||
AddStep("release j", () => InputManager.ReleaseKey(Key.J));
|
||||
checkBinding("Increase volume", "K");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestBindingSingleKey()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user