Make tests use new OsuScreenStack

This commit is contained in:
David Zhao
2019-03-12 16:33:35 +09:00
parent e3567a5507
commit 921c4ce242
6 changed files with 11 additions and 33 deletions

View File

@ -13,17 +13,13 @@ namespace osu.Game.Tests.Visual
/// </summary>
public abstract class ScreenTestCase : OsuTestCase
{
private readonly ScreenStack stack;
[Cached]
private BackgroundScreenStack backgroundStack;
private readonly OsuScreenStack stack;
protected ScreenTestCase()
{
Children = new Drawable[]
{
backgroundStack = new BackgroundScreenStack { RelativeSizeAxes = Axes.Both },
stack = new ScreenStack { RelativeSizeAxes = Axes.Both }
stack = new OsuScreenStack { RelativeSizeAxes = Axes.Both }
};
}