Add back online load test for BeatmapScoresContainer

This commit is contained in:
Dean Herbert 2018-04-19 21:11:16 +09:00
parent 0356e5e6bf
commit 77af8ce556
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@
using osu.Game.Users;
using System.Collections.Generic;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu;
namespace osu.Game.Tests.Visual
{
@ -50,6 +52,8 @@ public TestCaseBeatmapScoresContainer()
AddStep("remove scores", () => scoresContainer.Scores = null);
AddStep("resize to big", () => container.ResizeWidthTo(1, 300));
AddStep("resize to normal", () => container.ResizeWidthTo(0.8f, 300));
AddStep("online scores", () => scoresContainer.Beatmap = new BeatmapInfo { OnlineBeatmapSetID = 1, OnlineBeatmapID = 75, Ruleset = new OsuRuleset().RulesetInfo });
scores = new[]
{