1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:13:34 +08:00

Add test coverage of reading japanese file from stable export

This commit is contained in:
Dean Herbert 2024-04-30 01:14:58 +08:00
parent a3d239c11a
commit b455e793dd
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,15 @@ namespace osu.Game.Tests.Skins
[Resolved]
private BeatmapManager beatmaps { get; set; } = null!;
[Test]
public void TestRetrieveJapaneseFilename()
{
IWorkingBeatmap beatmap = null!;
AddStep("import beatmap", () => beatmap = importBeatmapFromArchives(@"japanese-filename.osz"));
AddAssert("sample is non-null", () => beatmap.Skin.GetSample(new SampleInfo(@"見本")) != null);
}
[Test]
public void TestRetrieveOggAudio()
{