Skip to content

Commit

Permalink
Remove outdated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Aug 20, 2024
1 parent a33294a commit 333e5b8
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,40 +114,6 @@ public void TestSelectedRetainedOverUndo()
});
}

[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]
public void TestScrollControlGroupIntoView()
{
Expand Down

0 comments on commit 333e5b8

Please sign in to comment.