1
0
mirror of https://github.com/ppy/osu synced 2025-02-13 16:47:38 +00:00
osu/osu.Game.Tests/Database
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
..
BeatmapImporterTests.cs During import if files are found to be missing, ensure they are restored 2022-01-25 13:44:54 +09:00
FileStoreTests.cs Move StoragePath implementation to an extension method 2021-11-19 16:08:38 +09:00
GeneralUsageTests.cs Rename register methods to better explain their purpose 2022-01-24 14:37:36 +09:00
RealmLiveTests.cs Rename register methods to better explain their purpose 2022-01-24 14:37:36 +09:00
RealmSubscriptionRegistrationTests.cs Rename register methods to better explain their purpose 2022-01-24 14:37:36 +09:00
RealmTest.cs Rename realm to become imposter classes 2022-01-12 16:39:36 +09:00
RulesetStoreTests.cs Replace EF RulesetStore with realm version 2022-01-12 16:39:36 +09:00
TestRealmKeyBindingStore.cs Update all usages of CreateContext to use either Run or Write 2022-01-21 17:27:08 +09:00