osu/osu.Desktop.VisualTests/AutomatedVisualTestGame.cs

20 lines
646 B
C#
Raw Normal View History

2017-03-31 08:55:07 +00: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 09:05:24 +00:00
protected override void LoadComplete()
2017-03-31 08:55:07 +00:00
{
2017-03-31 09:05:24 +00: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 08:55:07 +00:00
Add(new TestRunner(new TestBrowser()));
}
}
}