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
Dean Herbert
0158102467
Rename class back to original name so I can read the diff
2023-05-05 16:19:10 +09:00
cdwcgt
dd69089117
code quality
2023-04-09 15:51:31 +09:00
cdwcgt
def6da98fc
fix test in #22653
2023-04-09 15:43:05 +09:00
cdwcgt
52fc6de13f
merge fix
...
wtf?
2023-04-09 15:12:15 +09:00
Cootz
90aa4288d0
Reduce the allowed length by 5 to account for (99) suffix. Move truncating logic to GetFilename
. Update tests.
2023-02-21 18:35:53 +03:00
Dean Herbert
372b6b794c
I don't know what .ots is but let's not use random file extension that make no sense
2023-02-17 13:46:27 +09:00
Dean Herbert
8ef3fb26e0
More constants and assert fixes
2023-02-17 13:46:27 +09:00
Dean Herbert
86d110e893
Simplify test storage by removing nested storage
2023-02-17 13:43:42 +09:00
Dean Herbert
4560ae6b02
Mark test as fixture
2023-02-17 13:39:31 +09:00
Dean Herbert
99236f0ae8
Move long filename to fixture level
2023-02-17 13:39:24 +09:00
Dean Herbert
96b1498932
Rename max length variable to make sense (it's a filename limit, not path)
2023-02-17 13:33:22 +09:00
Dean Herbert
415220a447
Tidy up new test method code quality
2023-02-17 13:30:00 +09:00