mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 04:33:21 +08:00
Add missing user statuses to tests
This commit is contained in:
parent
da5d6cb1d4
commit
5ab278f9ea
@ -43,11 +43,13 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
});
|
});
|
||||||
|
|
||||||
flyte.Status.Value = new UserStatusOnline();
|
flyte.Status.Value = new UserStatusOnline();
|
||||||
peppy.Status.Value = new UserStatusSoloGame();
|
peppy.Status.Value = new UserStatusSoloGame(new Game.Beatmaps.BeatmapInfo());
|
||||||
|
|
||||||
AddStep(@"spectating", () => { flyte.Status.Value = new UserStatusSpectating(); });
|
AddStep(@"spectating", () => { flyte.Status.Value = new UserStatusSpectating(); });
|
||||||
AddStep(@"multiplaying", () => { flyte.Status.Value = new UserStatusMultiplayerGame(); });
|
AddStep(@"multiplaying", () => { flyte.Status.Value = new UserStatusMultiplayerGame(); });
|
||||||
AddStep(@"modding", () => { flyte.Status.Value = new UserStatusModding(); });
|
AddStep(@"modding", () => { flyte.Status.Value = new UserStatusModding(); });
|
||||||
|
AddStep(@"editing", () => { flyte.Status.Value = new UserStatusEditing(null); });
|
||||||
|
AddStep(@"choosing", () => { flyte.Status.Value = new UserStatusChoosingBeatmap(); });
|
||||||
AddStep(@"offline", () => { flyte.Status.Value = new UserStatusOffline(); });
|
AddStep(@"offline", () => { flyte.Status.Value = new UserStatusOffline(); });
|
||||||
AddStep(@"null status", () => { flyte.Status.Value = null; });
|
AddStep(@"null status", () => { flyte.Status.Value = null; });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user