1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 18:23:04 +08:00

Add text to test cards to better explain their purpose

This commit is contained in:
Dean Herbert 2021-11-08 13:27:04 +09:00
parent fb495d77ce
commit 43f87844e2

View File

@ -32,6 +32,7 @@ namespace osu.Game.Tests.Visual.Beatmaps
normal.HasStoryboard = true; normal.HasStoryboard = true;
var withStatistics = CreateAPIBeatmapSet(Ruleset.Value); var withStatistics = CreateAPIBeatmapSet(Ruleset.Value);
withStatistics.Title = withStatistics.TitleUnicode = "play favourite stats";
withStatistics.Status = BeatmapSetOnlineStatus.Approved; withStatistics.Status = BeatmapSetOnlineStatus.Approved;
withStatistics.FavouriteCount = 284_239; withStatistics.FavouriteCount = 284_239;
withStatistics.PlayCount = 999_001; withStatistics.PlayCount = 999_001;
@ -51,6 +52,7 @@ namespace osu.Game.Tests.Visual.Beatmaps
undownloadable.LastUpdated = DateTimeOffset.Now.AddYears(-1); undownloadable.LastUpdated = DateTimeOffset.Now.AddYears(-1);
var someDifficulties = getManyDifficultiesBeatmapSet(11); var someDifficulties = getManyDifficultiesBeatmapSet(11);
someDifficulties.Title = someDifficulties.TitleUnicode = "favourited";
someDifficulties.Title = someDifficulties.TitleUnicode = "some difficulties"; someDifficulties.Title = someDifficulties.TitleUnicode = "some difficulties";
someDifficulties.Status = BeatmapSetOnlineStatus.Qualified; someDifficulties.Status = BeatmapSetOnlineStatus.Qualified;
someDifficulties.HasFavourited = true; someDifficulties.HasFavourited = true;
@ -65,12 +67,15 @@ namespace osu.Game.Tests.Visual.Beatmaps
manyDifficulties.Status = BeatmapSetOnlineStatus.Pending; manyDifficulties.Status = BeatmapSetOnlineStatus.Pending;
var explicitMap = CreateAPIBeatmapSet(Ruleset.Value); var explicitMap = CreateAPIBeatmapSet(Ruleset.Value);
explicitMap.Title = someDifficulties.TitleUnicode = "explicit beatmap";
explicitMap.HasExplicitContent = true; explicitMap.HasExplicitContent = true;
var featuredMap = CreateAPIBeatmapSet(Ruleset.Value); var featuredMap = CreateAPIBeatmapSet(Ruleset.Value);
featuredMap.Title = someDifficulties.TitleUnicode = "featured artist beatmap";
featuredMap.TrackId = 1; featuredMap.TrackId = 1;
var explicitFeaturedMap = CreateAPIBeatmapSet(Ruleset.Value); var explicitFeaturedMap = CreateAPIBeatmapSet(Ruleset.Value);
explicitFeaturedMap.Title = someDifficulties.TitleUnicode = "explicit featured artist";
explicitFeaturedMap.HasExplicitContent = true; explicitFeaturedMap.HasExplicitContent = true;
explicitFeaturedMap.TrackId = 2; explicitFeaturedMap.TrackId = 2;