2019-01-24 16:43:03 +08: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-12-04 19:33:29 +08:00
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|