1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 06:17:44 +08:00
osu-lazer/osu.Game.Tests/Visual/Gameplay
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
..
OsuPlayerTestScene.cs Rename abstract TestScene 2020-06-12 19:40:54 +09:00
SkinnableHUDComponentTestScene.cs Add local logic for creating default/legacy implementation based on cell skin 2021-06-01 10:17:01 +03:00
TestSceneAllRulesetPlayers.cs Don't flash screen red on fail if the user has disabled red tinting 2021-10-18 14:20:38 +09:00
TestSceneAutoplay.cs Remove previous seek testing logic from common test scene 2021-07-09 16:52:03 +09:00
TestSceneBeatmapSkinFallbacks.cs Provide a realm factory to usages of ToLive/RealmLive 2021-12-14 14:26:34 +09:00
TestSceneBreakTracker.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneCompletionCancellation.cs Remove redundant arguments 2021-07-05 23:52:39 +08:00
TestSceneDrawableScrollingRuleset.cs Update DifficultyCalculator to take an IWorkingBeatmap 2021-11-15 19:16:48 +09:00
TestSceneDrawableStoryboardSprite.cs Update existing function type rather than adding an override 2021-06-02 16:04:53 +09:00
TestSceneFailAnimation.cs Add test coverage against frequency ramp increasing between fail animation and fail screen 2021-11-14 14:41:17 +09:00
TestSceneFailingLayer.cs Change HealthDisplay to be a CompositeDrawable 2021-05-11 23:10:30 +09:00
TestSceneFailJudgement.cs Use new method in more places that can benefit from it 2021-12-13 16:56:43 +09:00
TestSceneFrameStabilityContainer.cs Replace no-op seeks with wait steps 2021-10-12 18:31:20 +02:00
TestSceneGameplayLeaderboard.cs Rename User to APIUser and move to correct namespace 2021-11-07 11:26:01 +09:00
TestSceneGameplayMenuOverlay.cs Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
TestSceneGameplayRewinding.cs Copy BaseDifficulty to Beatmap<T> and move all write operations across 2021-10-06 15:10:45 +09:00
TestSceneGameplaySamplePlayback.cs Fix test failures and general discrepancies 2021-01-20 14:05:35 +09:00
TestSceneGameplaySampleTriggerSource.cs Fix incorrect step type 2021-08-26 17:17:39 +09:00
TestSceneHitErrorMeter.cs Replace pragma with add/remove => throw 2021-11-05 09:10:38 +03:00
TestSceneHoldForMenuButton.cs Rename base test class to help avoid incorrect reference 2020-03-23 10:01:33 +09:00
TestSceneHUDOverlay.cs Fix test not working intermittently 2021-08-24 15:18:05 +09:00
TestSceneKeyBindings.cs Update test scenes which should not handle key repeat 2021-11-18 13:13:36 +09:00
TestSceneKeyCounter.cs Simplify input buttons/keys in tests 2020-11-09 14:18:20 -08:00
TestSceneLeadIn.cs Fix incorrect test 2021-12-14 15:08:00 +09:00
TestSceneMedalOverlay.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneNightcoreBeatContainer.cs Revert some test scene changes to use Beatmap.Track where relevant 2020-08-21 17:21:08 +09:00
TestSceneOverlayActivation.cs Expose LocalUserPlaying from Player 2021-08-17 16:16:49 +09:00
TestSceneParticleExplosion.cs Add test coverage of animation restarting 2020-11-19 18:08:54 +09:00
TestSceneParticleSpewer.cs Add test for time jumps 2021-09-19 15:35:03 +02:00
TestScenePause.cs Fix incorrect type specification when restoring bindable value 2021-09-17 16:28:47 +09:00
TestScenePauseWhenInactive.cs Add assert ensuring player resumed properly 2021-02-19 11:45:45 +03:00
TestScenePerformancePointsCounter.cs Add failing test case for PP counter not initially updating 2021-11-11 16:33:31 +01:00
TestScenePlayerLoader.cs Add test coverage showing intended UX of user's volume levels being retained when unmuting 2021-12-08 13:37:47 +09:00
TestScenePlayerReferenceLeaking.cs Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
TestScenePlayerScoreSubmission.cs Wait for async continuation in score submission test 2022-01-06 13:09:25 +01:00
TestScenePoolingRuleset.cs Update DifficultyCalculator to take an IWorkingBeatmap 2021-11-15 19:16:48 +09:00
TestSceneReplay.cs Allow autoplay score generation to access mod list 2021-02-07 18:35:34 +01:00
TestSceneReplayDownloadButton.cs Rename APIScoreInfo to APIScore 2021-12-10 16:11:49 +09:00
TestSceneReplayPlayer.cs Add test coverage of seeking and pausing 2021-07-09 14:47:11 +09:00
TestSceneReplayRecorder.cs Update TestSceneReplayReocorder to be safer about disposal 2021-12-06 17:09:12 +09:00
TestSceneReplaySettingsOverlay.cs Move title specification for settings groups to constructor 2020-09-09 18:50:31 +09:00
TestSceneScrollingHitObjects.cs Rename ApproachRate to ScrollSpeed for now (to reduce complexity/confusion) 2021-09-06 21:06:13 +09:00
TestSceneSkinEditor.cs Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
TestSceneSkinEditorComponentsList.cs Update existing function type rather than adding an override 2021-06-02 16:04:53 +09:00
TestSceneSkinEditorMultipleSkins.cs Update existing function type rather than adding an override 2021-06-02 16:04:53 +09:00
TestSceneSkinnableAccuracyCounter.cs Add local logic for creating default/legacy implementation based on cell skin 2021-06-01 10:17:01 +03:00
TestSceneSkinnableComboCounter.cs Add visual test coverage of "hidden by ruleset" combo option 2021-12-26 16:49:18 +01:00
TestSceneSkinnableDrawable.cs Fix regressed tests 2021-07-06 17:37:34 +09:00
TestSceneSkinnableHealthDisplay.cs Add local logic for creating default/legacy implementation based on cell skin 2021-06-01 10:17:01 +03:00
TestSceneSkinnableHUDOverlay.cs Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
TestSceneSkinnableScoreCounter.cs Add local logic for creating default/legacy implementation based on cell skin 2021-06-01 10:17:01 +03:00
TestSceneSkinnableSound.cs Fix potential null reference in LINQ method 2021-06-22 12:25:29 +03:00
TestSceneSkipOverlay.cs Abstractify GameplayClockContainer 2021-04-14 17:47:11 +09:00
TestSceneSliderPath.cs Remove bindable usage in PathControlPoint 2021-08-26 12:33:53 +09:00
TestSceneSongProgress.cs Remove all RequiredTypes usages 2020-05-16 18:17:12 +09:00
TestSceneSpectator.cs Rename BeatmapInfo.OnlineBeatmapID to OnlineID to match interface 2021-11-12 17:46:24 +09:00
TestSceneSpectatorHost.cs Update mock RulesetInfo usage to set OnlineID instead of ID 2021-11-24 15:50:26 +09:00
TestSceneSpectatorPlayback.cs Fix indentation 2021-12-06 17:38:57 +09:00
TestSceneStarCounter.cs Add slider test step for visual inspection purposes 2020-11-28 20:32:08 +01:00
TestSceneStoryboard.cs Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
TestSceneStoryboardSamplePlayback.cs Remove unused load checks 2021-12-22 18:17:00 +09:00
TestSceneStoryboardWithOutro.cs Improve reliability of TestStoryboardSkipOutro 2022-01-01 15:32:39 +09:00
TestSceneUnstableRateCounter.cs Add failing test case 2021-11-11 13:22:06 +01:00