1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 01:07:42 +08:00
osu-lazer/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs
2017-01-27 05:39:15 -04:00

29 lines
690 B
C#

using System;
using osu.Framework.GameModes.Testing;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using OpenTK.Input;
using osu.Game.Overlays.Pause;
using osu.Framework.Graphics.Containers;
namespace osu.Desktop.VisualTests.Tests
{
class TestCasePauseOverlay : TestCase
{
public override string Name => @"PauseOverlay";
public override string Description => @"Tests the pause overlay";
private PauseOverlay pauseOverlay;
public override void Reset()
{
base.Reset();
Children = new[] { pauseOverlay = new PauseOverlay() };
pauseOverlay.ToggleVisibility();
}
}
}