2019-01-24 17:43:03 +09:00
|
|
|
|
// 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.
|
2018-05-15 21:14:10 -03:00
|
|
|
|
|
|
|
|
|
using NUnit.Framework;
|
2020-08-20 21:03:27 +02:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Overlays;
|
2018-05-15 21:14:10 -03:00
|
|
|
|
|
2019-03-25 01:02:36 +09:00
|
|
|
|
namespace osu.Game.Tests.Visual.Multiplayer
|
2018-05-15 21:14:10 -03:00
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
2019-05-14 22:37:25 +03:00
|
|
|
|
public class TestSceneMultiScreen : ScreenTestScene
|
2018-05-15 21:14:10 -03:00
|
|
|
|
{
|
2019-09-13 17:15:33 +09:00
|
|
|
|
protected override bool UseOnlineAPI => true;
|
2019-07-31 22:44:44 +03:00
|
|
|
|
|
2020-08-20 21:03:27 +02:00
|
|
|
|
[Cached]
|
|
|
|
|
private MusicController musicController { get; set; } = new MusicController();
|
|
|
|
|
|
2019-05-14 22:37:25 +03:00
|
|
|
|
public TestSceneMultiScreen()
|
2018-05-15 21:14:10 -03:00
|
|
|
|
{
|
2019-03-25 01:02:36 +09:00
|
|
|
|
Screens.Multi.Multiplayer multi = new Screens.Multi.Multiplayer();
|
2018-05-15 21:20:34 -03:00
|
|
|
|
|
2020-08-20 21:01:58 +02:00
|
|
|
|
AddStep("show", () => LoadScreen(multi));
|
|
|
|
|
AddUntilStep("wait for loaded", () => multi.IsLoaded);
|
2018-05-15 21:14:10 -03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|