From 1f834825dc0a08dce9e537fa358756d56c738c68 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Fri, 2 Mar 2018 15:43:55 +0900 Subject: [PATCH] Add testcase to osu.Game in-case nunit tries to discover tests in it --- osu.Game/Tests/TestTestCase.cs | 15 +++++++++++++++ osu.Game/osu.Game.csproj | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 osu.Game/Tests/TestTestCase.cs diff --git a/osu.Game/Tests/TestTestCase.cs b/osu.Game/Tests/TestTestCase.cs new file mode 100644 index 0000000000..4efd57095e --- /dev/null +++ b/osu.Game/Tests/TestTestCase.cs @@ -0,0 +1,15 @@ +// Copyright (c) 2007-2018 ppy Pty Ltd . +// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE + +using NUnit.Framework; +using osu.Framework.Testing; + +namespace osu.Game.Tests +{ + [TestFixture] + internal class TestTestCase : TestCase + { + // This TestCase is required for nunit to not throw errors + // See: https://github.com/nunit/nunit/issues/1118 + } +} diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index f1b61341db..d3c4dd9c92 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -886,6 +886,7 @@ + @@ -939,4 +940,4 @@ - + \ No newline at end of file