Commit Graph

5733 Commits

Author SHA1 Message Date
41d90cd0b5 Fix beatmap carousel test failures 2022-01-12 17:49:10 +09:00
8ecfb9172e Fix multiple tests with incorrect access to beatmap imports 2022-01-12 17:49:10 +09:00
43c7b0d2c8 Fix unsupported realm operations in multiple tests 2022-01-12 17:49:10 +09:00
fa7dddcf3c Fix TestScenePresentScore sharing metadata/difficulty across multiple beatmaps 2022-01-12 17:00:17 +09:00
6251713796 Add missing Ruleset in ReplayRecorder tests 2022-01-12 17:00:17 +09:00
e74a5022c9 Fix multiple tests via null checks and changing ToLive to Detach
flow
2022-01-12 17:00:17 +09: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
3811bd8520 Fix some null inspections 2022-01-12 17:00:16 +09:00
1f9318265e Update ToLive usages in line with recent changes 2022-01-12 17:00:16 +09:00
31a3161189 Make tests compile again 2022-01-12 17:00:16 +09:00
3152d2d8a0 "Update" BeatmapCarousel 2022-01-12 17:00:16 +09:00
00e3af3366 Update model manager and many related classes to get things compiling again 2022-01-12 17:00:00 +09:00
4f6a05ce3d Reimplement all query methods 2022-01-12 16:57:27 +09:00
53792811b2 more fixes (almost compiles, except ruleset and manager) 2022-01-12 16:57:27 +09:00
b8cd3cdbbc Various updates to ruleset and primary key usages to move closer to realm support 2022-01-12 16:57:13 +09:00
116f35c52a Remove EF FileStore 2022-01-12 16:39:36 +09:00
e6fdd0e969 Miscellaneous fixes that don't fit elsewhere 2022-01-12 16:39:36 +09:00
2cb97dd599 Remove unnecessary assigns of EF foreign ID fields in tests 2022-01-12 16:39:36 +09:00
6a671b0a52 Remove unnecessary assigns of BeatmapSetInfo.Metadata 2022-01-12 16:39:36 +09:00
fda529de26 Update usages of APIUser to RealmUser 2022-01-12 16:39:36 +09:00
213d89b479 Update null fallback cases involving OnlineID 2022-01-12 16:39:36 +09:00
37673f4cf8 Update sets of BeatmapSet.Metadata to instead create a Beatmap 2022-01-12 16:39:36 +09:00
e6f6558ddf Update mock model usage to set GUIDs instead of ints 2022-01-12 16:39:36 +09:00
970e0cc85a Merge branch 'master' into beatmap-background-with-storyboard-stopping 2022-01-11 21:39:49 +01:00
60e42bf45e Add lenience to fix test failures 2022-01-11 23:01:17 +09:00
3cb5f43f77 Fix incorrect action returned for wiki links in DEBUG mode 2022-01-11 17:46:49 +09:00
269df08fc9 Make ChatLink tests into proper unit test methods 2022-01-11 17:42:02 +09:00
af9fad00c3 Merge branch 'master' into async-deadlock-safety 2022-01-10 16:11:09 +09:00
928023fabb Merge pull request #16362 from bdach/multiplayer-wrong-ruleset
Fix multiplayer starting gameplay using last picked item ruleset rather than actual current item ruleset
2022-01-10 15:10:27 +09:00
82d6639a3b Decouple rankings table test from online API 2022-01-09 14:42:19 +01:00
446962446e Add test coverage for correct revert of mods when play starts at song select 2022-01-08 14:50:58 +01:00
3dd5705a81 Add test coverage for correct revert of mods after new item is queued 2022-01-08 14:50:58 +01:00
50077f05bd Add test coverage for correct revert of ruleset when play starts at song select 2022-01-08 14:50:57 +01:00
f026973b19 Add failing test for ruleset incorrectly applying from latest picked item 2022-01-08 14:50:54 +01:00
881fa2b86b Add basic test scene for scoreboard time 2022-01-07 19:18:16 +01:00
3cd996eb4a Merge branch 'master' into async-deadlock-safety 2022-01-07 17:28:59 +09:00
00177a3ae1 Update usages to new naming 2022-01-06 22:54:43 +09:00
66613cbaa4 Wait for async continuation in score submission test
The previous assert step was optimistically assuming that the async
continuation that writes the value of
`FakeImportingPlayer.ImportedScore` always completes before it, but
that's not necessarily true even if the continuation is instant (it is
still subject to things like task scheduling and TPL thread pool
limits).

To ensure no spurious failures, swap out the assert step for an until
step instead.
2022-01-06 13:09:25 +01:00
84765b99b3 Handle score submission request in submission test scene
Was previously not handled at all, therefore displaying request failures
in the test log output. While that was mostly a red herring and
shouldn't have caused any actual *test* failures, it is still better to
handle this explicitly in a realistic manner.
2022-01-06 12:57:26 +01:00
5ed69338a6 Add omission of pages when there are too many 2022-01-04 19:05:14 +09:00
86f72b71b1 Prepare tests and general structure to support omission of pages 2022-01-04 18:46:44 +09:00
5a11ee7810 Use OverlayColourProvider and fix font weight 2022-01-04 18:14:42 +09:00
d10b8c79b3 Remove pointless test coverage of DrawablePage 2022-01-04 17:53:24 +09:00
ee4f5c0e79 Rename button classes to make more sense 2022-01-04 17:52:40 +09:00
1c899e4402 Fix post-merge issues 2022-01-04 16:46:42 +09:00
69e7ee0f48 Merge branch 'master' into page-selector 2022-01-04 16:44:22 +09:00
73b40e6833 Replace usage of .Result with .WaitSafelyForResult 2022-01-04 11:51:41 +09:00
031a40af6a Replace usages of Wait with WaitSafely 2022-01-04 11:51:41 +09:00
f6b1405fa0 Merge branch 'master' into fix-listing-terminal-breakage 2022-01-04 11:49:02 +09:00