mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 23:32:54 +08:00
91302ea0bc
# Conflicts: # osu.Game/Screens/Multi/Match/MatchSubScreen.cs # osu.Game/Screens/Multi/Multiplayer.cs # osu.Game/Screens/Multi/MultiplayerSubScreen.cs # osu.Game/Screens/OsuScreen.cs # osu.Game/osu.Game.csproj # osu.sln
34 lines
906 B
C#
34 lines
906 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 System;
|
|
using System.Collections.Generic;
|
|
using NUnit.Framework;
|
|
using osu.Framework.Screens;
|
|
using osu.Game.Screens.Multi;
|
|
using osu.Game.Screens.Multi.Lounge;
|
|
using osu.Game.Screens.Multi.Lounge.Components;
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
{
|
|
[TestFixture]
|
|
public class TestCaseMultiScreen : OsuTestCase
|
|
{
|
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
|
{
|
|
typeof(Multiplayer),
|
|
typeof(LoungeSubScreen),
|
|
typeof(FilterControl)
|
|
};
|
|
|
|
public TestCaseMultiScreen()
|
|
{
|
|
Multiplayer multi = new Multiplayer();
|
|
|
|
AddStep(@"show", () => Add(multi));
|
|
AddWaitStep(5);
|
|
AddStep(@"exit", multi.Exit);
|
|
}
|
|
}
|
|
}
|