Commit Graph

154 Commits

Author SHA1 Message Date
8c7814aaf0 Fix weird using statement 2022-12-24 21:48:04 +08:00
83a50816b6 Remove unused constructor param 2022-12-24 10:44:38 +01:00
4e5109a649 Use plain bindable flow instead of binding to watcher directly 2022-12-24 10:27:28 +01:00
c7f248e13c Implement overall ranking display for solo results screen 2022-12-24 00:30:38 +01:00
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
bb3d5bc9f4 test(osu.Game): add slider steps to change the size in timing distribution graph tests 2022-09-12 04:43:15 +09:00
cb1bb99208 Tidy up test logic 2022-09-07 16:43:48 +09:00
3003fc1061 refactor(osu.Game): improve code quality 2022-09-07 02:29:15 +09:00
6946015d17 style(osu.Game): fix multiple blank lines 2022-09-05 07:49:29 +00:00
19ab1433c6 test(osu.Game): add more test cases for HitTimingDistributionGraph 2022-09-05 03:46:23 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
ef5d601f67 Fix difficulty name overflow in score panel 2022-06-07 12:05:03 +08: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
9d30b490ad Fix intermittent test failures in results screen 2022-05-11 18:28:30 +03:00
077c77d524 Add method for scaling results screen in tests 2022-05-08 16:00:07 +03:00
4a3e3aba65 Restructure PerformanceCalculator to not require ScoreInfo argument 2022-03-14 14:25:28 +09:00
e9a2d23542 Fix score order related test failure 2022-03-08 23:35:35 +09:00
92cd8ee29f Decrease overhead of hit event distribution tests 2022-03-04 14:56:49 +09:00
540d7d0e2c Add the ability to set and show an offset value on timing distribution graph 2022-03-04 14:36:15 +09:00
a06d806fb9 Fix hit distribution graph midpoint rounding not looking great around zero
Not sure this will be accepted and it's likely only ever going to show
in tests, but seems to be a better approach to midpoint rounding for
this case?
2022-03-03 15:43:02 +09:00
a38eb426ef Merge pull request #17026 from peppy/beatmap-offset-control
Add basic beatmap offset adjustment
2022-03-03 14:23:19 +09:00
2767dda9d6 Add failing test case 2022-03-01 20:21:33 +03:00
5e47e35f0d Add ability to change distribution of test HitEvents 2022-03-01 18:44:15 +09:00
b31c1513f6 Fix test failure
The cursor was clicking too far to the right.
2022-02-05 22:41:04 +08:00
a27d0572ed Add test cases for manual testing 2022-02-03 17:00:40 +08:00
e23b10e6a5 Update remaining cases of clashing variable name in realm.Run(realm.. 2022-01-25 13:04:05 +09:00
6eb2c28e41 Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
114c9e8c1f Update all usages of CreateContext to use either Run or Write 2022-01-21 17:27:08 +09:00
03e4ec4214 Merge branch 'master' into realm-integration/score-and-beatmaps 2022-01-15 14:45:42 +01:00
9af9155e66 Fix osu.Game.Tests.Android not building 2022-01-14 17:37:58 +01:00
52ca649159 Fix results screen test failures due to relation query 2022-01-12 17:00:17 +09:00
de076678fe Fix some remaining test failures 2022-01-12 17:00:16 +09:00
53792811b2 more fixes (almost compiles, except ruleset and manager) 2022-01-12 16:57:27 +09:00
fda529de26 Update usages of APIUser to RealmUser 2022-01-12 16:39:36 +09:00
c0a8758839 Fix intermittent test failures on TestSceneResultsScreen due to long delay step
Using real time delays of 3 seconds doesn't play well with headless runs.
2021-12-21 15:15:05 +09:00
654b47c7ec Move "excess mods" test behaviour to local usages
There were only two of these, so it doesn't make sense to add extra
complexity in the test resources class.
2021-12-13 16:41:30 +09: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
261847bbec Avoid touching ScoreInfo.User directly 2021-12-10 15:39:29 +09:00
1eed2436e6 Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
183b95cbc2 Rename BeatmapSetOnlineStatus to BeatmapOnlineStatus
This variable is used at more than just a set level.
2021-11-24 18:42:49 +09:00
6a098a8634 Rename BeatmapInfo.OnlineBeatmapID to OnlineID to match interface 2021-11-12 17:46:24 +09:00
86540d1fb6 Update existing usages of Author as string to access Username directly 2021-11-04 18:57:54 +09:00
b9983add15 Rename User to APIUser and move to correct namespace 2021-11-04 18:21:31 +09:00
456cfd62bf Fix intermittent score panel test failure 2021-10-06 16:46:27 +09:00
853cf6feaa Rename last remaining BeatmapInfo Beatmap usage 2021-10-04 17:35:53 +09:00
2097889ce1 Add failing test case 2021-09-07 21:12:48 +02:00
f3d2d93aa1 Remove stray newline 2021-09-07 16:09:22 +09:00
20100b8894 Fix a few test failures 2021-09-06 20:20:52 +09:00
f7c1177cc9 Fix ScorePanelList nullref when scores are added too soon 2021-09-01 20:35:06 +09:00