osu/osu.Game.Tests/Visual/TestCaseOsuGame.cs

41 lines
1.0 KiB
C#
Raw Normal View History

// 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-04-13 09:19:50 +00:00
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
2019-02-15 08:40:49 +00:00
using osu.Framework.Screens;
2018-04-13 09:19:50 +00:00
using osu.Game.Screens;
using osu.Game.Screens.Menu;
2018-11-20 07:51:59 +00:00
using osuTK.Graphics;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Tests.Visual
{
[TestFixture]
public class TestCaseOsuGame : OsuTestCase
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(OsuLogo),
};
public TestCaseOsuGame()
{
Children = new Drawable[]
2018-04-13 09:19:50 +00:00
{
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Black,
},
2019-02-15 08:40:49 +00:00
new ScreenStack(new Loader())
{
RelativeSizeAxes = Axes.Both,
}
};
2018-04-13 09:19:50 +00:00
}
}
}