From faca23163c8aa7416c1df92e0f4534dfbc6e47dd Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 26 Oct 2016 17:26:26 +0900 Subject: [PATCH] Fix incorrect framework specification for VisualTests. --- osu.Desktop.VisualTests/Program.cs | 2 +- .../Tests/TestCaseChatDisplay.cs | 14 +++++++------- .../Tests/TestCaseGamefield.cs | 8 ++++---- .../Tests/TestCaseHitObjects.cs | 11 +++-------- .../Tests/TestCaseKeyCounter.cs | 5 ++--- .../Tests/TestCaseMenuButtonSystem.cs | 2 +- osu.Desktop.VisualTests/Tests/TestCasePlayer.cs | 8 ++++---- .../Tests/TestCaseScoreCounter.cs | 15 ++++++--------- .../Tests/TestCaseTextAwesome.cs | 12 ++++-------- osu.Desktop.VisualTests/VisualTestGame.cs | 4 ++-- .../osu.Desktop.VisualTests.csproj | 4 ++-- 11 files changed, 36 insertions(+), 49 deletions(-) diff --git a/osu.Desktop.VisualTests/Program.cs b/osu.Desktop.VisualTests/Program.cs index 4dcfaff987..7d9e3a76b6 100644 --- a/osu.Desktop.VisualTests/Program.cs +++ b/osu.Desktop.VisualTests/Program.cs @@ -5,7 +5,7 @@ using System; using osu.Framework.Desktop; using osu.Framework.Platform; -namespace osu.Framework.VisualTests +namespace osu.Desktop.VisualTests { public static class Program { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs b/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs index 32135a06f2..efc9b5dfa3 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseChatDisplay.cs @@ -1,23 +1,23 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using osu.Framework; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; +using osu.Framework.Graphics.Sprites; using osu.Framework.Threading; using osu.Game; using osu.Game.Online.API; using osu.Game.Online.API.Requests; using osu.Game.Online.Chat; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using osu.Framework.Graphics.Sprites; using osu.Game.Online.Chat.Display; -using osu.Framework; +using OpenTK; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseChatDisplay : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseGamefield.cs b/osu.Desktop.VisualTests/Tests/TestCaseGamefield.cs index 316a099e38..d5b9a9fd03 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseGamefield.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseGamefield.cs @@ -1,10 +1,11 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK; +using System.Collections.Generic; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; using osu.Framework.MathUtils; +using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Beatmaps.Objects; using osu.Game.Beatmaps.Objects.Osu; @@ -12,10 +13,9 @@ using osu.Game.GameModes.Play.Catch; using osu.Game.GameModes.Play.Mania; using osu.Game.GameModes.Play.Osu; using osu.Game.GameModes.Play.Taiko; -using System.Collections.Generic; -using osu.Framework.Timing; +using OpenTK; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseGamefield : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseHitObjects.cs b/osu.Desktop.VisualTests/Tests/TestCaseHitObjects.cs index dc881f8c21..fecaad00e4 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseHitObjects.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseHitObjects.cs @@ -1,20 +1,15 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using osu.Framework; using osu.Framework.GameModes.Testing; -using osu.Framework.Timing; using osu.Framework.Graphics; +using osu.Framework.Timing; +using osu.Game.Beatmaps.Objects; using osu.Game.Beatmaps.Objects.Osu; using osu.Game.Beatmaps.Objects.Osu.Drawable; -using osu.Game.Beatmaps.Objects; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseHitObjects : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseKeyCounter.cs b/osu.Desktop.VisualTests/Tests/TestCaseKeyCounter.cs index 7be7d24860..fdb07df6ad 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseKeyCounter.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseKeyCounter.cs @@ -1,13 +1,12 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using System; -using OpenTK.Input; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; +using OpenTK.Input; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseKeyCounter : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseMenuButtonSystem.cs b/osu.Desktop.VisualTests/Tests/TestCaseMenuButtonSystem.cs index ef8e5e5b12..eaa0a3eea4 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseMenuButtonSystem.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseMenuButtonSystem.cs @@ -4,7 +4,7 @@ using osu.Framework.GameModes.Testing; using osu.Game.GameModes.Menu; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseMenuButtonSystem : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCasePlayer.cs b/osu.Desktop.VisualTests/Tests/TestCasePlayer.cs index 52474d0995..69b56ef17d 100644 --- a/osu.Desktop.VisualTests/Tests/TestCasePlayer.cs +++ b/osu.Desktop.VisualTests/Tests/TestCasePlayer.cs @@ -1,17 +1,17 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK; +using System.Collections.Generic; using osu.Framework.GameModes.Testing; using osu.Framework.MathUtils; +using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Beatmaps.Objects; using osu.Game.Beatmaps.Objects.Osu; -using System.Collections.Generic; -using osu.Framework.Timing; using osu.Game.GameModes.Play; +using OpenTK; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCasePlayer : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseScoreCounter.cs b/osu.Desktop.VisualTests/Tests/TestCaseScoreCounter.cs index 0fac933dc0..eb5f51d883 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseScoreCounter.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseScoreCounter.cs @@ -2,23 +2,20 @@ //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; -using OpenTK.Input; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; -using osu.Game.Graphics.UserInterface; -using osu.Framework.Graphics.UserInterface; -using osu.Framework.Graphics.Transformations; -using OpenTK; -using OpenTK.Graphics; -using osu.Framework.MathUtils; using osu.Framework.Graphics.Sprites; +using osu.Framework.MathUtils; +using osu.Game.GameModes.Play; using osu.Game.GameModes.Play.Catch; using osu.Game.GameModes.Play.Mania; using osu.Game.GameModes.Play.Osu; using osu.Game.GameModes.Play.Taiko; -using osu.Game.GameModes.Play; +using osu.Game.Graphics.UserInterface; +using OpenTK; +using OpenTK.Graphics; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseScoreCounter : TestCase { diff --git a/osu.Desktop.VisualTests/Tests/TestCaseTextAwesome.cs b/osu.Desktop.VisualTests/Tests/TestCaseTextAwesome.cs index d7aba30c3e..e783ec775a 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseTextAwesome.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseTextAwesome.cs @@ -1,20 +1,16 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK; -using OpenTK.Graphics; +using System; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.MathUtils; using osu.Game.Graphics; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using OpenTK; +using OpenTK.Graphics; -namespace osu.Desktop.Tests +namespace osu.Desktop.VisualTests.Tests { class TestCaseTextAwesome : TestCase { diff --git a/osu.Desktop.VisualTests/VisualTestGame.cs b/osu.Desktop.VisualTests/VisualTestGame.cs index 323923591d..d056a678a4 100644 --- a/osu.Desktop.VisualTests/VisualTestGame.cs +++ b/osu.Desktop.VisualTests/VisualTestGame.cs @@ -1,11 +1,11 @@ // Copyright (c) 2007-2016 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE +using osu.Framework; using osu.Framework.GameModes.Testing; -using osu.Framework.Graphics.Cursor; using osu.Game; -namespace osu.Framework.VisualTests +namespace osu.Desktop.VisualTests { class VisualTestGame : OsuGameBase { diff --git a/osu.Desktop.VisualTests/osu.Desktop.VisualTests.csproj b/osu.Desktop.VisualTests/osu.Desktop.VisualTests.csproj index 55de7cf39b..59e43181ad 100644 --- a/osu.Desktop.VisualTests/osu.Desktop.VisualTests.csproj +++ b/osu.Desktop.VisualTests/osu.Desktop.VisualTests.csproj @@ -6,7 +6,7 @@ AnyCPU WinExe Properties - osu.Desktop + osu.Desktop.VisualTests osu! 3CF060CD28877D0E3112948951A64B2A7CEEC909 codesigning.pfx @@ -18,7 +18,7 @@ 3.5 - osu.Framework.VisualTests.Program + osu.Desktop.VisualTests.Program OnOutputUpdated false LocalIntranet