1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00
Commit Graph

197 Commits

Author SHA1 Message Date
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
Cootz
f4038a49a1 Fix inspectCode issues 2023-02-17 01:50:24 +03:00
Cootz
1d8b348e4c Improve naming 2023-02-17 01:46:15 +03:00
Cootz
6cb00cd42f Add more test cases 2023-02-17 01:44:45 +03:00
Cootz
6819a45a1b Improve code slightly 2023-02-16 16:42:07 +03:00
Cootz
f1da213bea Add tests 2023-02-16 16:26:57 +03:00
Dean Herbert
cb16d62700 Hook up ImportParameter flow with IModelImporter caller methods 2022-12-13 21:29:32 +09:00
Dean Herbert
cf2719d4c0 Convert batchImport parameter to parameters class to allow further import configuration 2022-12-13 19:55:18 +09:00
Dan Balasescu
7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
Salman Ahmed
e2aca8dc90 Suppress nullable warning for now 2022-11-18 09:46:50 +03:00
Dean Herbert
892f43da43 Add test coverage of ruleset being marked unavailable if methods are throwing 2022-08-29 14:28:55 +09:00
Dean Herbert
5ff4e6a4fe Add test coverage for outdated ruleset 2022-08-29 14:26:12 +09:00
Dean Herbert
ee68113913 Add more missing realm Refresh() calls to new beatmap import tests
As noticed at https://github.com/ppy/osu/runs/7605101313?check_suite_focus=true
2022-08-01 17:06:46 +09:00
Dan Balasescu
a59d7f6710
Merge branch 'master' into collections-track-beatmap-updates 2022-07-28 22:05:34 +09:00
Dan Balasescu
6d4023b933 Adjust comment 2022-07-28 16:56:11 +09:00
Dean Herbert
67c44552cb Add realm Refresh calls to ensure tests are stable 2022-07-28 15:18:04 +09:00
Dean Herbert
485d140a21 Add realm refresh calls to fix intermittent test failures on new update tests 2022-07-28 15:15:41 +09:00
Dean Herbert
2ae5a34c0e Add test coverage of beatmap updates transferring collection hashes 2022-07-28 15:02:58 +09:00
Dean Herbert
494486ad09 Fix potential test failure if scores are added to the beatmap which is subsequently removed 2022-07-27 16:27:10 +09:00
Dean Herbert
7f75184a01
Merge branch 'master' into beatmap-update-test 2022-07-26 17:27:36 +09:00