1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 06:02:56 +08:00
osu-lazer/osu.Desktop.VisualTests/AutomatedVisualTestGame.cs

20 lines
646 B
C#
Raw Normal View History

2017-03-31 16:55:07 +08:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Testing;
using osu.Game;
namespace osu.Desktop.VisualTests
{
public class AutomatedVisualTestGame : OsuGameBase
{
2017-03-31 17:05:24 +08:00
protected override void LoadComplete()
2017-03-31 16:55:07 +08:00
{
2017-03-31 17:05:24 +08:00
base.LoadComplete();
// Have to construct this here, rather than in the constructor, because
// we depend on some dependencies to be loaded within OsuGameBase.load().
2017-03-31 16:55:07 +08:00
Add(new TestRunner(new TestBrowser()));
}
}
}