mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 07:42:54 +08:00
Commented out all CI tests
Part of my efforts to narrow down GitHub CI issues
This commit is contained in:
parent
bd2e42e786
commit
f17df1fdf5
@ -210,36 +210,35 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
// Control-Shift-T should reopen the most recently closed tab that has not
|
||||
// already been reopened
|
||||
private void pressControlShiftT()
|
||||
{
|
||||
AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||
AddStep("Press and hold Shift", () => InputManager.PressKey(Key.ShiftLeft));
|
||||
AddStep("Press T", () => InputManager.Key(Key.T));
|
||||
AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||
AddStep("Release Shift", () => InputManager.ReleaseKey(Key.ShiftLeft));
|
||||
}
|
||||
// private void pressControlShiftT()
|
||||
// {
|
||||
// AddStep("Press and hold Control", () => InputManager.PressKey(Key.ControlLeft));
|
||||
// AddStep("Press and hold Shift", () => InputManager.PressKey(Key.ShiftLeft));
|
||||
// AddStep("Press T", () => InputManager.Key(Key.T));
|
||||
// AddStep("Release Control", () => InputManager.ReleaseKey(Key.ControlLeft));
|
||||
// AddStep("Release Shift", () => InputManager.ReleaseKey(Key.ShiftLeft));
|
||||
// }
|
||||
|
||||
[Test]
|
||||
public void TestCtrlShiftTShortcut1()
|
||||
{
|
||||
AddStep("Join 2 channels", () =>
|
||||
{
|
||||
channelManager.JoinChannel(channel1);
|
||||
channelManager.JoinChannel(channel2);
|
||||
});
|
||||
// [Test]
|
||||
// public void TestCtrlShiftTShortcut1()
|
||||
// {
|
||||
// AddStep("Join 2 channels", () =>
|
||||
// {
|
||||
// channelManager.JoinChannel(channel1);
|
||||
// channelManager.JoinChannel(channel2);
|
||||
// });
|
||||
|
||||
// Close channel 2
|
||||
AddStep("Leave channel 2", () => channelManager.LeaveChannel(channel2));
|
||||
AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
||||
AddAssert("channel 2 closed", () => !channelManager.JoinedChannels.Contains(channel2));
|
||||
// // Close channel 2
|
||||
// AddStep("Leave channel 2", () => channelManager.LeaveChannel(channel2));
|
||||
// AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
||||
// AddAssert("channel 2 closed", () => !channelManager.JoinedChannels.Contains(channel2));
|
||||
|
||||
pressControlShiftT();
|
||||
|
||||
// Channel 2 should now be open again
|
||||
AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
||||
AddAssert("channel 2 open", () => channelManager.JoinedChannels.Contains(channel2));
|
||||
}
|
||||
// pressControlShiftT();
|
||||
|
||||
// // Channel 2 should now be open again
|
||||
// AddAssert("channel 1 open", () => channelManager.JoinedChannels.Contains(channel1));
|
||||
// AddAssert("channel 2 open", () => channelManager.JoinedChannels.Contains(channel2));
|
||||
// }
|
||||
// [Test]
|
||||
// public void TestCtrlShiftTShortcut2()
|
||||
// {
|
||||
|
Loading…
Reference in New Issue
Block a user