mirror of https://github.com/ppy/osu
parent
44fbe7859a
commit
1c4bcdda96
|
@ -110,11 +110,15 @@ private void testNullBeatmap()
|
||||||
|
|
||||||
private void selectBeatmap(string name)
|
private void selectBeatmap(string name)
|
||||||
{
|
{
|
||||||
|
var infoBefore = infoWedge.Info;
|
||||||
|
|
||||||
AddStep($"select {name} beatmap", () =>
|
AddStep($"select {name} beatmap", () =>
|
||||||
{
|
{
|
||||||
beatmap.Value = new TestWorkingBeatmap(beatmaps.First(b => b.BeatmapInfo.Ruleset.ShortName == name));
|
beatmap.Value = new TestWorkingBeatmap(beatmaps.First(b => b.BeatmapInfo.Ruleset.ShortName == name));
|
||||||
infoWedge.UpdateBeatmap(beatmap);
|
infoWedge.UpdateBeatmap(beatmap);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
AddUntilStep(() => infoWedge.Info != infoBefore, "wait for async load");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void selectNullBeatmap()
|
private void selectNullBeatmap()
|
||||||
|
|
Loading…
Reference in New Issue