mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Add test coverage of reading japanese file from stable export
This commit is contained in:
parent
a3d239c11a
commit
b455e793dd
BIN
osu.Game.Tests/Resources/Archives/japanese-filename.osz
Normal file
BIN
osu.Game.Tests/Resources/Archives/japanese-filename.osz
Normal file
Binary file not shown.
@ -21,6 +21,15 @@ namespace osu.Game.Tests.Skins
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private BeatmapManager beatmaps { get; set; } = null!;
|
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]
|
[Test]
|
||||||
public void TestRetrieveOggAudio()
|
public void TestRetrieveOggAudio()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user