// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; using osu.Desktop.VisualTests; using osu.Framework.Desktop.Platform; using osu.Game.Modes; using osu.Game.Modes.Catch; using osu.Game.Modes.Mania; using osu.Game.Modes.Osu; using osu.Game.Modes.Taiko; namespace osu.Desktop.Tests { [TestFixture] public class VisualTests { [Test] public void TestVisualTests() { using (var host = new HeadlessGameHost()) { RulesetCollection.Register(typeof(OsuRuleset)); RulesetCollection.Register(typeof(TaikoRuleset)); RulesetCollection.Register(typeof(ManiaRuleset)); RulesetCollection.Register(typeof(CatchRuleset)); host.Run(new AutomatedVisualTestGame()); } } } }