mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add failing test coverage to TestSceneKeyBindingPanel
for multiple non-modifiers being bound
This commit is contained in:
@ -40,6 +40,16 @@ namespace osu.Game.Tests.Visual.Settings
|
|||||||
AddWaitStep("wait for scroll", 5);
|
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]
|
[Test]
|
||||||
public void TestBindingSingleKey()
|
public void TestBindingSingleKey()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user