1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

test: add test for watching activity

This commit is contained in:
tsrk 2023-02-06 00:53:56 +00:00
parent bf273597ea
commit e878bb42a4
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -107,6 +107,7 @@ namespace osu.Game.Tests.Visual.Online
AddStep("set online status", () => status.Value = new UserStatusOnline()); AddStep("set online status", () => status.Value = new UserStatusOnline());
AddStep("idle", () => activity.Value = null); AddStep("idle", () => activity.Value = null);
AddStep("watching", () => activity.Value = new UserActivity.Watching());
AddStep("spectating", () => activity.Value = new UserActivity.Spectating()); AddStep("spectating", () => activity.Value = new UserActivity.Spectating());
AddStep("solo (osu!)", () => activity.Value = soloGameStatusForRuleset(0)); AddStep("solo (osu!)", () => activity.Value = soloGameStatusForRuleset(0));
AddStep("solo (osu!taiko)", () => activity.Value = soloGameStatusForRuleset(1)); AddStep("solo (osu!taiko)", () => activity.Value = soloGameStatusForRuleset(1));