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