2018-12-04 19:33:29 +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
|
|
|
|
|
2018-12-06 10:58:09 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2018-12-04 19:33:29 +08:00
|
|
|
using osu.Framework.Graphics.Containers;
|
|
|
|
using osu.Game.Overlays;
|
2018-12-06 10:58:09 +08:00
|
|
|
using osu.Game.Overlays.AccountCreation;
|
2018-12-04 19:33:29 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
|
|
{
|
|
|
|
public class TestCaseAccountCreationOverlay : OsuTestCase
|
|
|
|
{
|
2018-12-06 10:58:09 +08:00
|
|
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
|
|
|
{
|
|
|
|
typeof(ErrorTextFlowContainer),
|
|
|
|
typeof(AccountCreationBackground),
|
|
|
|
typeof(ScreenEntry),
|
|
|
|
typeof(ScreenWarning),
|
|
|
|
typeof(ScreenWelcome),
|
|
|
|
typeof(AccountCreationScreen),
|
|
|
|
};
|
|
|
|
|
2018-12-04 19:33:29 +08:00
|
|
|
public TestCaseAccountCreationOverlay()
|
|
|
|
{
|
|
|
|
var accountCreation = new AccountCreationOverlay();
|
|
|
|
Child = accountCreation;
|
|
|
|
|
|
|
|
accountCreation.State = Visibility.Visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|