1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00
osu-lazer/osu.Game.Tests
Bartłomiej Dach 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
..
Audio Move visual test to correct namespace 2021-09-30 15:19:15 +09:00
Beatmaps Update usages of CleanRunHeadlessGameHost to match new signature 2021-12-24 20:17:34 +09:00
Chat Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
Collections/IO Fix some regressing behaviour due to CleanRunHeadlessGameHost's naming structure changing 2021-12-24 20:24:37 +09:00
Database Update usages of CleanRunHeadlessGameHost to match new signature 2021-12-24 20:17:34 +09:00
Editing Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
Gameplay Add failing test for storyboard sample playback with beatmap hitsounds off 2021-12-26 14:25:05 +01:00
Input Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Localisation Move common interface implementations to extension methods 2021-10-05 14:41:14 +09:00
Models Make BeatmapSet.Metadata non-null 2021-11-24 15:03:34 +09:00
Mods Fix clear identifier typos 2021-12-27 20:26:28 -08:00
NonVisual Fix some regressing behaviour due to CleanRunHeadlessGameHost's naming structure changing 2021-12-24 20:24:37 +09:00
Online Fix clear identifier typos 2021-12-27 20:26:28 -08:00
OnlinePlay Add and use separate extensions for historical and upcoming playlist items 2021-12-21 08:01:04 +01:00
Resources Move "excess mods" test behaviour to local usages 2021-12-13 16:41:30 +09:00
Rulesets Add cancellation support to game-side IResourceStores 2021-12-23 10:33:17 +01:00
Scores/IO Remove OnlineID comparison from ScoreInfo.Equals 2021-12-10 18:17:43 +09:00
ScrollAlgorithms Add test cases for sequential scroll algorithm 2020-05-21 21:56:59 +02:00
Skins Update usages of CleanRunHeadlessGameHost to match new signature 2021-12-24 20:17:34 +09:00
Testing Update mock RulesetInfo usage to set OnlineID instead of ID 2021-11-24 15:50:26 +09:00
Visual Wait for async continuation in score submission test 2022-01-06 13:09:25 +01:00
ImportTest.cs Fix GameHosts being run on TPL threads 2021-10-12 17:13:36 +09:00
osu.Game.Tests.csproj Update all dependencies 2021-11-20 13:31:10 +09:00
tests.ruleset Exclude tests from ConfigureAwait rule 2021-03-08 14:36:35 +09:00
WaveformTestBeatmap.cs Retrieve separated skin instance from working beatmap for editing 2021-08-15 21:18:09 +02:00