mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 14:37:39 +09:00
Remove testcase
This commit is contained in:
parent
c9d4332846
commit
7c60c74d46
@ -1,34 +0,0 @@
|
|||||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
||||||
|
|
||||||
using osu.Framework.Graphics;
|
|
||||||
using osu.Game.Screens.Edit.Screens.Setup.Components;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace osu.Game.Tests.Visual
|
|
||||||
{
|
|
||||||
public class TestCaseEditorSetupCircularButton : OsuTestCase
|
|
||||||
{
|
|
||||||
public override IReadOnlyList<Type> RequiredTypes => new[]
|
|
||||||
{
|
|
||||||
typeof(SetupCircularButton)
|
|
||||||
};
|
|
||||||
|
|
||||||
public TestCaseEditorSetupCircularButton()
|
|
||||||
{
|
|
||||||
SetupCircularButton circularButton;
|
|
||||||
|
|
||||||
Child = circularButton = new SetupCircularButton
|
|
||||||
{
|
|
||||||
Anchor = Anchor.Centre,
|
|
||||||
Origin = Anchor.Centre,
|
|
||||||
Text = "Button",
|
|
||||||
Action = () => { }
|
|
||||||
};
|
|
||||||
|
|
||||||
AddStep("Enable button", () => circularButton.Enabled.Value = true);
|
|
||||||
AddStep("Disable button", () => circularButton.Enabled.Value = false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user