mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
27 lines
801 B
C#
27 lines
801 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using NUnit.Framework;
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Rulesets;
|
|
using osu.Game.Rulesets.Osu;
|
|
using osu.Game.Skinning.Editor;
|
|
|
|
namespace osu.Game.Tests.Visual.Gameplay
|
|
{
|
|
public class TestSceneSkinEditorComponentsList : SkinnableTestScene
|
|
{
|
|
[Test]
|
|
public void TestToggleEditor()
|
|
{
|
|
AddStep("show available components", () => SetContents(() => new SkinComponentToolbox(300)
|
|
{
|
|
Anchor = Anchor.TopCentre,
|
|
Origin = Anchor.TopCentre,
|
|
}));
|
|
}
|
|
|
|
protected override Ruleset CreateRulesetForSkinProvider() => new OsuRuleset();
|
|
}
|
|
}
|