mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 01:02:56 +08:00
Remove outdated tests
This commit is contained in:
parent
a33294ac42
commit
333e5b8cac
@ -114,40 +114,6 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void TestTrackingCurrentTimeWhileRunning()
|
|
||||||
{
|
|
||||||
AddStep("Select first effect point", () =>
|
|
||||||
{
|
|
||||||
InputManager.MoveMouseTo(Child.ChildrenOfType<EffectRowAttribute>().First());
|
|
||||||
InputManager.Click(MouseButton.Left);
|
|
||||||
});
|
|
||||||
|
|
||||||
AddUntilStep("Selection changed", () => timingScreen.SelectedGroup.Value.Time == 54670);
|
|
||||||
AddUntilStep("Ensure seeked to correct time", () => EditorClock.CurrentTimeAccurate == 54670);
|
|
||||||
|
|
||||||
AddStep("Seek to just before next point", () => EditorClock.Seek(69000));
|
|
||||||
AddStep("Start clock", () => EditorClock.Start());
|
|
||||||
|
|
||||||
AddUntilStep("Selection changed", () => timingScreen.SelectedGroup.Value.Time == 69670);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void TestTrackingCurrentTimeWhilePaused()
|
|
||||||
{
|
|
||||||
AddStep("Select first effect point", () =>
|
|
||||||
{
|
|
||||||
InputManager.MoveMouseTo(Child.ChildrenOfType<EffectRowAttribute>().First());
|
|
||||||
InputManager.Click(MouseButton.Left);
|
|
||||||
});
|
|
||||||
|
|
||||||
AddUntilStep("Selection changed", () => timingScreen.SelectedGroup.Value.Time == 54670);
|
|
||||||
AddUntilStep("Ensure seeked to correct time", () => EditorClock.CurrentTimeAccurate == 54670);
|
|
||||||
|
|
||||||
AddStep("Seek to later", () => EditorClock.Seek(80000));
|
|
||||||
AddUntilStep("Selection changed", () => timingScreen.SelectedGroup.Value.Time == 69670);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestScrollControlGroupIntoView()
|
public void TestScrollControlGroupIntoView()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user