Commit Graph

829 Commits

Author SHA1 Message Date
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
82d6639a3b Decouple rankings table test from online API 2022-01-09 14:42:19 +01:00
881fa2b86b Add basic test scene for scoreboard time 2022-01-07 19:18:16 +01:00
2660f41339 Add failing test case for old cards not expiring correctly 2022-01-03 19:28:14 +01:00
7de43e3aba Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
98524d60a4 Fix clear identifier typos 2021-12-27 20:26:28 -08:00
27c5cc5bd8 Add testing for beatmap card size switching 2021-12-23 15:55:51 +01:00
02fa1c21b7 Adjust existing placeholder test to demonstrate failure case 2021-12-22 15:03:20 +01:00
0f8a6a3f64 Fix intermittent failures on TestSceneBeatmapListingOverlay
In the specific method, there was no wait step after the initial fetch
(unlike all of the rest), meaning the fetch may not have finished in
time for the follow-up steps.

As seen at
https://github.com/ppy/osu/runs/4588058438?check_suite_focus=true.
2021-12-21 14:12:06 +09:00
097402677d Add test for ranked/unranked user display 2021-12-19 13:40:22 +01:00
c112177559 Bring profile header test in line with modern conventions
- Removed online code that didn't work anyway after the introduction of
  the development web instance.

- Removed some weird test steps.

- Fixed online/offline test steps not working at all due to identical
  user ID.
2021-12-19 13:40:21 +01:00
488374b4a2 Don't show multiplayer channels in chat overlay 2021-12-16 16:41:47 +09:00
bff02bedbf Rename APIScoreInfo to APIScore 2021-12-10 16:11:49 +09:00
a445dcd2c6 Fix incorrect test namespace 2021-12-10 02:09:31 +09:00
1a0945daba Siplify condition, allow host to always remove items 2021-12-09 14:33:50 +09:00
c34c580ad4 Add client-side + interface implementation 2021-12-09 03:08:59 +09:00
38702beabf Merge branch 'master' into i-ruleset-store 2021-12-04 15:05:39 +01:00
1eed2436e6 Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
e75e209053 Cache and consume IRulesetStore where feasible 2021-12-03 18:16:01 +09:00
05f7ea6b6d Remove mentions of "panel" and "direct" from names of old download buttons 2021-11-27 15:08:03 +01:00
a043d1e427 Move old beatmap download button to more general namespace 2021-11-27 15:06:57 +01:00
567c985da0 Remove beatmap panel test scene 2021-11-27 14:56:27 +01: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
f283770f34 Update mock RulesetInfo usage to set OnlineID instead of ID 2021-11-24 15:50:26 +09:00
692e846acd Rename BeatmapSetInfo.OnlineBeatmapSetID to OnlineID to match interface 2021-11-12 17:52:44 +09:00
6a098a8634 Rename BeatmapInfo.OnlineBeatmapID to OnlineID to match interface 2021-11-12 17:46:24 +09:00
1c40d5bc08 Merge branch 'master' into remove-stupid-weak-reference-bindable-events 2021-11-08 14:41:32 +09:00
78aef9ce86 Merge branch 'master' into remove-stupid-weak-reference-bindable-events 2021-11-08 13:35:49 +09:00
54f72d68ca Revert weird event flow in model manager/importers 2021-11-05 19:12:49 +09:00
ba74dd93b2 Remove weird fetchOnline logic 2021-11-05 13:55:34 +09:00
ead64282dd Split out a couple more nested classes 2021-11-05 13:40:44 +09:00
b9983add15 Rename User to APIUser and move to correct namespace 2021-11-04 18:21:31 +09:00
77be610b26 Revert "Clean up DirectDownloadButton test scene"
This reverts commit baabe99f78.
2021-11-04 17:09:20 +09:00
8f459e6ce8 Fix APIBeatmapSet.Beatmaps being IEnumerable, causing stupid issues 2021-11-04 16:44:17 +09:00
baabe99f78 Clean up DirectDownloadButton test scene 2021-11-04 16:28:29 +09:00
66f4516eee Allow creating sample API models without specifying a ruleset 2021-11-04 15:23:04 +09:00
caa9d8997b Merge branch 'master' into score-refactor/less-create-score-info 2021-11-01 22:59:11 +09:00
90a0a5e0b7 Fix attempting to set properties of null BeatmapSets in tests 2021-11-01 17:12:15 +09:00
a16c8f1ebc Update all beatmap overlay views to use APIBeatmap/APIBeatmapSet 2021-10-29 18:50:55 +09:00
31403daa20 Change DrawableProfileScore to use APIScoreInfo 2021-10-29 15:14:52 +09:00
817369903a Rename API score classes 2021-10-29 13:40:56 +09:00
d19580cf60 Fix incorrectly changed difficulty count in recently updated test 2021-10-27 16:44:11 +09:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
f687ed8599 Merge pull request #15283 from peppy/test-api-beatmap-set
Add ability to make test `APIBeatmapSet`s from test scenes
2021-10-26 15:34:19 +09:00
2c308f3008 Rename BeatmapMetrics to APIFailTimes 2021-10-25 15:34:41 +09:00
20baae9094 Move online metrics out of BeatmapInfo model 2021-10-25 15:32:18 +09:00
045dd94a6e Move online metrics out of BeatmapSetInfo model 2021-10-25 15:12:39 +09:00
19312435d0 Add ability to make test APIBeatmaps from test scenes
Allow tests to create a sample `APIBeatmapSet`

One step towards removing calls to `ToBeatmap` / `ToBeatmapSet`.
2021-10-25 14:18:13 +09:00
00732822c3 Replace insufficiently specific exception type
Resolves compilation failures for the newly-added Android build-only CI
job caused by inspection CA2201 ("Exception type System.Exception is not
sufficiently specific").
2021-10-24 17:45:39 +02:00