mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 22:22:55 +08:00
Remove unnecessary ruleset switching steps
This commit is contained in:
parent
0c973feb53
commit
2b90bc4f1f
@ -10,7 +10,6 @@ using osu.Framework.Bindables;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Utils;
|
using osu.Framework.Utils;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Rulesets;
|
|
||||||
using osu.Game.Rulesets.Mods;
|
using osu.Game.Rulesets.Mods;
|
||||||
using osu.Game.Screens.Play;
|
using osu.Game.Screens.Play;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
@ -24,17 +23,6 @@ namespace osu.Game.Tests.Visual.SongSelect
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private BeatmapManager manager { get; set; }
|
private BeatmapManager manager { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
|
||||||
private RulesetStore rulesets { get; set; }
|
|
||||||
|
|
||||||
protected override void LoadComplete()
|
|
||||||
{
|
|
||||||
base.LoadComplete();
|
|
||||||
|
|
||||||
foreach (var ruleset in rulesets.AvailableRulesets)
|
|
||||||
AddStep($"switch to {ruleset.Name}", () => Ruleset.Value = ruleset);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestLocal([Values("Beatmap", "Some long title and stuff")]
|
public void TestLocal([Values("Beatmap", "Some long title and stuff")]
|
||||||
string title,
|
string title,
|
||||||
|
Loading…
Reference in New Issue
Block a user