1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00
osu-lazer/osu.Game.Tests
wooster0 0c85fd496f Don't leave scores screen empty if no scores are present yet
Addresses https://github.com/ppy/osu/discussions/23787

I originally wanted to set `allowShowingResults` to false if there are
no results but because this involves an API request to fetch the scores
that would mean all the scores would have to be fetched all at once so
that it knows whether to hide or show the "View results" button on a
beatmap.
Because that would slow things down and be very inefficient, this still
allows the user to view the scores screen but if there aren't any
scores, it shows a text, which I think is at least for now better than
nothing.

As for the testing of this, I wasn't sure how to not generate scores
only for one specific test so I opted into not using `SetUpSteps` and
doing it that way.
2023-12-31 22:42:32 +09:00
..
Audio Remove the nullable disable annotation in the test project. 2022-07-31 22:02:07 +08:00
Beatmaps Add test coverage of ClientVersion serialisation 2023-12-21 13:06:42 +01:00
Chat Add failing test case for fake (but still incorrectly allowed) protocol 2023-09-18 09:19:12 +02:00
Collections/IO Automated pass 2023-06-24 01:00:03 +09:00
Database Run score conversion for previously-imported scores 2023-12-18 22:27:51 +01:00
Editing Merge branch 'master' into editor/checks/delayed-hitsounds 2023-12-13 14:01:06 +09:00
Extensions Add own fixed copy of defective Humanizer methods 2022-07-18 21:37:31 +02:00
Gameplay Expose only as one method 2023-12-21 14:58:23 +09:00
Input Add failing case for two bindings of single action bound to same key 2023-10-16 22:20:26 +02:00
Localisation Automated pass 2023-06-24 01:00:03 +09:00
Models Make ScoreInfo.BeatmapInfo nullable 2023-07-04 14:50:34 +09:00
Mods Fix test failures 2023-11-02 21:24:58 +01:00
NonVisual Add rate-change UR tests 2023-11-12 11:16:06 -08:00
Online Ensure that SoloScoreInfo serialisation result does not contain interface members 2023-12-08 09:27:12 +01:00
OnlinePlay Don't apply decoupling to SpectatorPlayerClocks 2023-09-22 16:22:35 +09:00
Resources Merge branch 'master' into editor/checks/delayed-hitsounds 2023-12-13 14:01:06 +09:00
Rulesets Fix IgnoreMiss judgements not updating accuracy 2023-12-13 11:51:45 +09:00
Scores/IO Rename ScoreInfo.{ -> Client}Version 2023-12-21 12:56:43 +01:00
ScrollAlgorithms Automated #nullable processing 2022-06-17 16:37:17 +09:00
Skins Change ResourceStore provided to Skin to be a fallback, not replacement 2023-11-16 20:19:01 +09:00
Testing Add missing ruleset shader tests 2023-05-02 11:55:05 +03:00
Utils add tests for GetNextBestFilename() 2022-12-01 18:48:25 +01:00
Visual Don't leave scores screen empty if no scores are present yet 2023-12-31 22:42:32 +09:00
ImportTest.cs Update the last played date of a beatmap when importing a replay by the local user 2023-10-30 15:44:16 +09:00
osu.Game.Tests.csproj Update all dependencies (except for Moq) 2023-09-16 15:37:31 +09:00
tests.ruleset
WaveformTestBeatmap.cs Refactor IWorkingBeatmap.Background to GetBackground() 2023-06-08 16:19:32 +09:00