mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Removed TestModCustomisable3
This commit is contained in:
@ -25,7 +25,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
|
|
||||||
private readonly Mod testCustomisableMod = new TestModCustomisable1();
|
private readonly Mod testCustomisableMod = new TestModCustomisable1();
|
||||||
|
|
||||||
private readonly Mod testCustomisableAutoOpenMod = new TestModCustomisable3();
|
private readonly Mod testCustomisableAutoOpenMod = new TestModCustomisable2();
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestButtonShowsOnCustomisableMod()
|
public void TestButtonShowsOnCustomisableMod()
|
||||||
@ -61,6 +61,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
createModSelect();
|
createModSelect();
|
||||||
|
|
||||||
AddStep("open", () => modSelect.Show());
|
AddStep("open", () => modSelect.Show());
|
||||||
|
AddAssert("Customisation closed", () => modSelect.ModSettingsContainer.Alpha == 0);
|
||||||
AddStep("select mod", () => modSelect.SelectMod(testCustomisableAutoOpenMod));
|
AddStep("select mod", () => modSelect.SelectMod(testCustomisableAutoOpenMod));
|
||||||
AddAssert("Customisation opened", () => modSelect.ModSettingsContainer.Alpha == 1);
|
AddAssert("Customisation opened", () => modSelect.ModSettingsContainer.Alpha == 1);
|
||||||
}
|
}
|
||||||
@ -110,8 +111,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
return new Mod[]
|
return new Mod[]
|
||||||
{
|
{
|
||||||
new TestModCustomisable1(),
|
new TestModCustomisable1(),
|
||||||
new TestModCustomisable2(),
|
new TestModCustomisable2()
|
||||||
new TestModCustomisable3()
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,13 +141,6 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
public override string Name => "Customisable Mod 2";
|
public override string Name => "Customisable Mod 2";
|
||||||
|
|
||||||
public override string Acronym => "CM2";
|
public override string Acronym => "CM2";
|
||||||
}
|
|
||||||
|
|
||||||
private class TestModCustomisable3 : TestModCustomisable
|
|
||||||
{
|
|
||||||
public override string Name => "Customisable Mod 3";
|
|
||||||
|
|
||||||
public override string Acronym => "CM3";
|
|
||||||
|
|
||||||
public override bool RequiresConfiguration => true;
|
public override bool RequiresConfiguration => true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user