mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 12:23:21 +08:00
Moved private methods beneath public ones
This commit is contained in:
parent
456c0751fd
commit
8bd787dce9
@ -208,13 +208,6 @@ namespace osu.Game.Tests.Visual.Online
|
||||
AddAssert("All channels closed", () => !channelManager.JoinedChannels.Any());
|
||||
}
|
||||
|
||||
private void pressControlW()
|
||||
{
|
||||
AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||
AddStep("Press W", () => InputManager.Key(Key.W));
|
||||
AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestCtrlWShortcut()
|
||||
{
|
||||
@ -240,13 +233,6 @@ namespace osu.Game.Tests.Visual.Online
|
||||
AddAssert("All channels closed", () => !channelManager.JoinedChannels.Any());
|
||||
}
|
||||
|
||||
private void pressControlT()
|
||||
{
|
||||
AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||
AddStep("Press T", () => InputManager.Key(Key.T));
|
||||
AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestCtrlTShortcut()
|
||||
{
|
||||
@ -270,6 +256,20 @@ namespace osu.Game.Tests.Visual.Online
|
||||
InputManager.ReleaseKey(Key.AltLeft);
|
||||
}
|
||||
|
||||
private void pressControlW()
|
||||
{
|
||||
AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||
AddStep("Press W", () => InputManager.Key(Key.W));
|
||||
AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||
}
|
||||
|
||||
private void pressControlT()
|
||||
{
|
||||
AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||
AddStep("Press T", () => InputManager.Key(Key.T));
|
||||
AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||
}
|
||||
|
||||
private void clickDrawable(Drawable d)
|
||||
{
|
||||
InputManager.MoveMouseTo(d);
|
||||
|
Loading…
Reference in New Issue
Block a user