1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00
osu-lazer/osu.Game.Tests
Dean Herbert bbcc149e2e During import if files are found to be missing, ensure they are restored
This is one step closer to sanity in terms of physical files. As per the
comment I have left in place, we really should be checking file sizes or
hashes, but to keep things simple and fast I've opted to just cover the
"missing file" scenario for now.

Ran into this when testing against a foreign `client.realm` by:
- Noticing a beatmap doesn't load
- Deleting said beatmap
- Downloading via beatmap overlay
- Beatmap is restored but still doesn't work

Note that I've kept the logic where this will undelete an existing
import rather than create one from fresh, as I think that is beneficial
to the user (ie. it will still keep any linked scores on restore).
2022-01-25 13:44:54 +09:00
..
Audio Move visual test to correct namespace 2021-09-30 15:19:15 +09:00
Beatmaps Replace TimeSignatures enum with struct for storage of arbitrary meter 2022-01-22 20:50:31 +01:00
Chat Also fix MessageFormatter tests 2022-01-11 17:55:43 +09:00
Collections/IO Replace usages of Wait with WaitSafely 2022-01-04 11:51:41 +09:00
Database During import if files are found to be missing, ensure they are restored 2022-01-25 13:44:54 +09:00
Editing Add far too many fixes for ruleset non-nullable requirements 2022-01-12 23:24:11 +09: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 Replace TimeSignatures enum with struct for storage of arbitrary meter 2022-01-22 20:50:31 +01:00
Online Update all usages of CreateContext to use either Run or Write 2022-01-21 17:27:08 +09:00
OnlinePlay Add and use separate extensions for historical and upcoming playlist items 2021-12-21 08:01:04 +01:00
Resources Fix TestResources returning a test BeatmapSetInfo that can't be laoded directly into realm 2022-01-23 20:28:04 +09:00
Rulesets Add cancellation support to game-side IResourceStores 2021-12-23 10:33:17 +01:00
Scores/IO Update tests which were importing scores without a valid beatmap 2022-01-17 14:47:19 +09:00
ScrollAlgorithms
Skins Fix incorrect access to ILive in BeatmapSkinResources tests 2022-01-12 17:00:17 +09:00
Testing Update mock RulesetInfo usage to set OnlineID instead of ID 2021-11-24 15:50:26 +09:00
Visual Merge branch 'master' into custom-meter 2022-01-24 15:46:44 +09:00
ImportTest.cs Replace usages of Wait with WaitSafely 2022-01-04 11:51:41 +09:00
osu.Game.Tests.csproj Revert nunit test adaptor version bump until console output bug is resolved 2022-01-19 02:18:58 +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