2018-06-06 11:29:52 +08:00
|
|
|
|
// 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.Graphics;
|
2018-06-06 16:38:43 +08:00
|
|
|
|
using osu.Game.Online.Multiplayer;
|
2018-06-06 11:29:52 +08:00
|
|
|
|
using osu.Game.Screens.Multi.Screens.Match;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class TestCaseRoomSettings : OsuTestCase
|
|
|
|
|
{
|
|
|
|
|
public TestCaseRoomSettings()
|
|
|
|
|
{
|
2018-06-06 16:38:43 +08:00
|
|
|
|
Room room = new Room();
|
2018-06-06 11:29:52 +08:00
|
|
|
|
|
2018-06-06 16:38:43 +08:00
|
|
|
|
RoomSettingsOverlay overlay;
|
|
|
|
|
Add(overlay = new RoomSettingsOverlay(room)
|
2018-06-06 11:29:52 +08:00
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
|
Height = 0.75f,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
AddStep(@"toggle", overlay.ToggleVisibility);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|