mirror of https://github.com/ppy/osu
776fabd77c
Both online and offline using the cache.
The rationale behind this change is that in the current state of
affairs, `TestPartiallyMaliciousSet()` fails in a way that cannot be
reconciled without this sort of change.
The test exercises a scenario where the beatmap being imported has an
online ID in the `.osu` file, but its hash does not match the online
hash of the beatmap. This turns out to be a more frequent scenario than
envisioned because of users doing stupid things with manual file editing
rather than reporting issues properly.
The scenario is realistic only because the behaviour of the endpoint
responsible for looking up beatmaps is such that if multiple parameters
are given (e.g. all three of beatmap MD5, online ID, and filename), it
will try the three in succession:
|
||
---|---|---|
.. | ||
Gameplay | ||
Metadata | ||
Multiplayer | ||
OnlinePlay | ||
Spectator | ||
DependencyProvidingContainer.cs | ||
EditorClockTestScene.cs | ||
EditorSavingTestScene.cs | ||
EditorTestScene.cs | ||
LegacySkinPlayerTestScene.cs | ||
ModFailConditionTestScene.cs | ||
ModTestScene.cs | ||
OsuGameTestScene.cs | ||
OsuGridTestScene.cs | ||
OsuManualInputManagerTestScene.cs | ||
OsuTestScene.cs | ||
PlacementBlueprintTestScene.cs | ||
PlayerTestScene.cs | ||
RateAdjustedBeatmapTestScene.cs | ||
ScreenTestScene.cs | ||
ScrollingTestContainer.cs | ||
SelectionBlueprintTestScene.cs | ||
SkinnableTestScene.cs | ||
TestPlayer.cs | ||
TestReplayPlayer.cs | ||
TestUserLookupCache.cs |