2017-03-02 20:40:55 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Screens.Testing;
|
2017-03-03 09:24:34 +08:00
|
|
|
|
using osu.Game.Screens.Select.Options;
|
2017-03-02 20:40:55 +08:00
|
|
|
|
|
2017-03-07 09:59:19 +08:00
|
|
|
|
namespace osu.Desktop.VisualTests.Tests
|
2017-03-02 20:40:55 +08:00
|
|
|
|
{
|
2017-03-07 09:59:19 +08:00
|
|
|
|
internal class TestCaseBeatmapOptionsOverlay : TestCase
|
2017-03-02 20:40:55 +08:00
|
|
|
|
{
|
|
|
|
|
public override string Description => @"Beatmap options in song select";
|
|
|
|
|
|
|
|
|
|
public override void Reset()
|
|
|
|
|
{
|
|
|
|
|
base.Reset();
|
|
|
|
|
|
2017-03-03 15:11:23 +08:00
|
|
|
|
var overlay = new BeatmapOptionsOverlay();
|
2017-03-02 20:40:55 +08:00
|
|
|
|
|
|
|
|
|
Add(overlay);
|
|
|
|
|
|
|
|
|
|
AddButton(@"Toggle", overlay.ToggleVisibility);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|