1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 18:47:26 +08:00
osu-lazer/osu.Game.Tests/Visual
Bartłomiej Dach dcf3d76954
Fix unobserved exceptions due to using unconverted beatmap
`TestSceneBeatmapSkinFallbacks` was locally caching a `GameplayState`
instance to fulfill dependencies of a
`SkinnableTargetComponentsContainer`. However, it was doing so using
`new TestBeatmap()`, which is a raw decoded beatmap that hasn't been
converted to any ruleset yet, which was causing failures in
`BeatmapDifficultyCache.GetTimedDifficultyAttributesAsync()` as that
method is expecting to receive a post-conversion, ready-for-gameplay
beatmap.

Resolve by proxying forward dependency instances from the
already-known-to-be-working `actualComponentsContainer`.
2022-05-28 15:23:29 +02:00
..
Audio Fix AudioFilter test not stopping track on forced exit 2021-10-14 12:55:02 +09:00
Background Fix user dim test scene accumulating no fail instances in SelectedMods 2022-05-05 22:16:56 +02:00
Beatmaps Add FeaturedInSpotlight property to API beatmapsets 2022-05-14 19:46:13 +03:00
Collections Update indentation to be clearer 2022-05-04 13:43:59 +08:00
Colours Add visual test scene 2021-08-03 15:02:18 +03:00
Components Rewrite PreviewTrackManager to avoid constructing TrackBass locally 2021-11-09 17:38:12 +09:00
Editing Merge branch 'master' into editor-bottom-bar-new-design 2022-05-26 18:32:28 +09:00
Gameplay Fix unobserved exceptions due to using unconverted beatmap 2022-05-28 15:23:29 +02:00
Menus Add unread count to INotificationOverlay and fix toolbar button DI logic 2022-04-19 11:16:45 +09:00
Mods Add testing for auto-restart behaviour 2021-08-15 15:04:14 +02:00
Multiplayer Fix unexpected assertion failure 2022-05-27 20:59:00 +09:00
Navigation Merge branch 'master' into new-chat-integrate 2022-05-26 18:38:26 +09:00
Online Add failing scores container visibility test 2022-05-26 19:46:42 -07:00
Playlists Fix incorrect cursor parameterisation in test scene 2022-04-11 15:40:28 +09:00
Ranking Fix unobserved exceptions due to unimplemented beatmap converter 2022-05-28 14:10:57 +02:00
Settings Fix compile errors 2022-05-18 10:56:42 +09:00
SongSelect Fix test failure due to async-loading of content 2022-05-20 19:08:41 +03:00
UserInterface Use more proper button subtypes in tests 2022-05-25 23:06:12 +02:00
TestMultiplayerComponents.cs Update screen transition events to use new event args 2022-04-22 00:52:44 +09:00
TestSceneOsuScreenStack.cs Move MusicController adjustment set to inside OsuScreen itself (and result nullable) 2021-09-16 16:08:09 +09:00