mirror of
https://github.com/ppy/osu.git
synced 2024-12-31 01:42:55 +08:00
38 lines
930 B
C#
38 lines
930 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using NUnit.Framework;
|
|
using osu.Framework.Allocation;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Game.Overlays;
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
{
|
|
[TestFixture]
|
|
public class TestCaseSettings : OsuTestCase
|
|
{
|
|
private readonly SettingsOverlay settings;
|
|
private readonly DialogOverlay dialogOverlay;
|
|
|
|
public TestCaseSettings()
|
|
{
|
|
settings = new MainSettings
|
|
{
|
|
State = Visibility.Visible
|
|
};
|
|
Add(dialogOverlay = new DialogOverlay
|
|
{
|
|
Depth = -1
|
|
});
|
|
}
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load()
|
|
{
|
|
Dependencies.Cache(dialogOverlay);
|
|
|
|
Add(settings);
|
|
}
|
|
}
|
|
}
|