Commit Graph

228 Commits

Author SHA1 Message Date
Bartłomiej Dach 8b4565b3d9
Silence nullref inspection in test 2024-10-18 09:42:08 +02:00
Dean Herbert 8773c34fdd
Rename enum to non-plural now that it won't conflict 2024-10-01 19:55:46 +09:00
Dean Herbert ad3007eaad
Adjust `ILocalUserPlayInfo` to expose whether gameplay is in a paused/break state 2024-10-01 17:53:46 +09:00
Dean Herbert 531cf64ddb
Add failing test showing date added changing when importing as update with no change 2024-08-02 20:46:02 +09:00
Bartłomiej Dach 53b6f9e385
Fix test not waiting properly for background processing to complete 2024-07-16 14:04:51 +02:00
Bartłomiej Dach 6db135279f
Restore test coverage of original fail case 2024-07-16 14:04:50 +02:00
Dan Balasescu ae5b0aa54b
Fix BackgroundDataStoreProcessor test failure 2024-07-16 19:59:13 +09:00
Dean Herbert 2c102fc9d0
Fix test failure in `TestMetadataTransferred` 2024-07-14 01:36:51 +09:00
Bartłomiej Dach a9c8c6e74d
Attempt to fix test failures by forcing refresh 2024-07-11 08:18:16 +02:00
Dean Herbert ee9e329db3
Inhibit original callback from firing when sending initial changeset 2024-07-09 16:05:58 +09:00
Dean Herbert c8b9c117cd
Add failing test showing realm not sending through null `ChangeSet` 2024-07-09 15:47:43 +09:00
Dean Herbert df4a28db91
Fix failing test due to missing ruleset store 2024-03-29 17:32:20 +08:00
Dan Balasescu b44f77cee1
Update R# + fix inspections 2024-02-02 21:00:28 +09:00
Bartłomiej Dach 0b5be3c40c
Remove outdated test
Non-legacy scores *are* subject to upgrades again - albeit it is *rank*
upgrades that they are subject to.
2024-01-23 12:53:16 +01:00
Dean Herbert 4eba3b5d70
Move `BackgroundDataStoreProcessor` to better namespace 2024-01-22 21:43:32 +09:00
Bartłomiej Dach 388f6599e0
Add failing test for not attempting to upgrade non-legacy scores
This was a source of confusion for users previously, wondering why their
non-legacy (non-stable) scores weren't being converted in line with new
scoring changes, when it was never actually our intention to support
anything of the sort.
2024-01-08 22:10:09 +01:00
Bartłomiej Dach 67df7b33fb
Add failing test coverage for not attempting to upgrade custom ruleset scores 2024-01-08 22:10:08 +01:00
Bartłomiej Dach 9c8df4e6d1
Run score conversion for previously-imported scores 2023-12-18 22:27:51 +01:00
Dean Herbert f36a671eb4
Fix a couple of silly inspections 2023-10-20 15:38:00 +09:00
Dan Balasescu a120ea8464
Merge branch 'master' into fix-legacy-score-multipliers-2 2023-10-04 01:19:33 +09:00
Dean Herbert b234a453da Fix legacy beatmap importer not always handling nested paths correctly
Addresses https://github.com/ppy/osu/discussions/24989.
2023-10-03 16:01:17 +09:00
Dan Balasescu b9ab4a2b7c Update score conversion to consider legacy multiplier 2023-10-02 16:56:15 +09:00
Dean Herbert b3e7416972 Rename new flag and update xmldoc to match 2023-08-21 19:36:22 +09:00
Dean Herbert 662073c472
Fix some incorrect comments / test step descriptions
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2023-08-21 19:35:04 +09:00
Dean Herbert db893f3dc7 Merge branch 'master' into fix-score-import-fail-fail-fail 2023-08-21 19:34:12 +09:00
Dean Herbert 80a143ae85 Tidy up test a bit more 2023-08-18 18:00:33 +09:00
Krzysztof Gutkowski 046cc62db2 Cleanup tests 2023-08-17 01:11:09 +02:00
Krzysztof Gutkowski 59abb59ee8 Set correct date added value when importing stable beatmapsets 2023-08-17 00:49:48 +02:00
Dean Herbert 235cb2d73f Add test coverage of upgrade success for good measure 2023-07-26 16:28:38 +09:00
Dean Herbert a2f1ced5a2 Add test coverage of failed-to-upgrade flag 2023-07-26 16:22:21 +09:00
Dean Herbert c1ba8fe175 Rename `BackgroundBeatmapProcessor` to `BackgroundDataStoreProcessor` 2023-07-26 16:22:10 +09:00
Dean Herbert ba0ab7383d Fix broken test nullability 2023-07-07 16:28:49 +09:00
Dean Herbert d72765b6f8
Merge pull request #24114 from peppy/editor-save-local-score-management
Ensure scores always have the correct linked `BeatmapInfo`
2023-07-07 15:40:54 +09:00
Bartłomiej Dach ae2896ba7e
Sprinkle some more null-forgiving operators 2023-07-06 22:08:48 +02:00
Dean Herbert a98a36872e Bring realm library up-to-date 2023-07-06 13:37:43 +09:00
Bartłomiej Dach bcdbdf57ef
Reword comment 2023-07-04 22:22:57 +02:00
Dean Herbert a0bed0fcec Add full flow test of `UpdateLocalScores` 2023-07-04 15:18:51 +09:00
Dean Herbert 64fc5e40e8 Move score attach logic to a helper method and call during editor save 2023-07-04 15:07:40 +09:00
Dean Herbert f30dc59afe Update tests to show expected score retention behaviour when saving a beatmap 2023-07-04 15:07:27 +09:00
Bartłomiej Dach 746212be7b
Remove weird `.Run(r => r.Write(...))` construction 2023-07-01 20:42:34 +02:00
Bartłomiej Dach b6e9422aa4
Fix typo in test name 2023-07-01 20:38:00 +02:00
Bartłomiej Dach 1ce60378be
Rewrite comments further 2023-07-01 20:37:33 +02:00
Cootz 8d25e2c3e1 Add importer update test 2023-07-01 09:49:06 +03:00
Cootz 2b1d637292 Add missing ruleset store 2023-07-01 09:48:42 +03:00
Cootz f5d3a24582 Rename test 2023-06-30 20:15:38 +03:00
Cootz 428383708c Add test for import 2023-06-30 20:13:14 +03:00
Dean Herbert 0ab0c52ad5 Automated pass 2023-06-24 01:00:03 +09:00
cdwcgt 4393e53b43
ExportToStream should be public 2023-05-05 21:28:43 +09:00
Dean Herbert f2dd457b3d Remove unnecessary local variable 2023-05-05 16:31:48 +09:00
Dean Herbert 6a4933a31c Remove need for `TestRealmLive` nonsense 2023-05-05 16:30:43 +09:00