Commit Graph

17 Commits

Author SHA1 Message Date
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
e18fec3d89 Fix unobserved exceptions due to unimplemented beatmap converter
`TestSceneStatisticsPanel` intends to check the operation of statistics
panels using dummy ruleset classes. However, `StatisticsPanel` relies on
being able to retrieve the playable beatmap, which requires a converter.
One was not provided by the dummy rulesets, therefore the retrieval
would fail with an unobserved exception.

To fix, add a barebones converter implementation that is enough for the
test to pass.
2022-05-28 14:10:57 +02:00
a27d0572ed Add test cases for manual testing 2022-02-03 17:00:40 +08:00
99ac71c1fe Simplify usages where the ruleset being used is osu! ruleset 2021-12-13 16:37:20 +09:00
b0d14526ea Move test ScoreInfo creation to TestResources
The main goal here is to remove the inheritance, since realm doesn't
like that. Unfortunate that we can't use object initialisers in a few of
these places, but no real way around that.
2021-12-13 16:34:50 +09:00
1426530496 Make method private 2020-11-11 22:41:25 +01:00
1984a9f70d Reduce amount of casting 2020-11-11 22:40:52 +01:00
423f0fbda7 Reference constant through base class 2020-11-11 22:37:15 +01:00
8341d3ad74 Fix formatting 2020-11-11 21:52:43 +01:00
85017a0094 Add test for accuracy heatmap to TestCaseStatisticsPanel 2020-11-11 20:20:29 +01:00
037bd3b463 Fix possible nullref 2020-06-19 22:48:21 +09:00
1cbbd6b442 Move timing distribution graph to osu.Game 2020-06-19 20:03:18 +09:00
eab00ec9d9 Move hit events to the ScoreProcessor 2020-06-19 19:58:35 +09:00
ecdfcb1955 Display placeholder if no statistics available 2020-06-18 22:21:30 +09:00
20db5b33ab Rework score processor to provide more generic events 2020-06-18 22:11:03 +09:00
808e216059 Improve test scene 2020-06-16 17:49:37 +09:00
a65c1a9abd Fix test name 2020-06-16 16:08:41 +09:00