Rename to EditorTestCase

This commit is contained in:
smoogipoo
2018-03-13 15:57:05 +09:00
parent b93e83e3d2
commit 0c705b0397
3 changed files with 5 additions and 4 deletions

View File

@ -2,11 +2,12 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework; using NUnit.Framework;
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Osu.Tests namespace osu.Game.Rulesets.Osu.Tests
{ {
[TestFixture] [TestFixture]
public class TestCaseEditor : Game.Tests.Visual.TestCaseEditor public class TestCaseEditor : EditorTestCase
{ {
public TestCaseEditor() public TestCaseEditor()
: base(new OsuRuleset()) : base(new OsuRuleset())

View File

@ -11,13 +11,13 @@ using osu.Game.Tests.Beatmaps;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
public abstract class TestCaseEditor : OsuTestCase public abstract class EditorTestCase : OsuTestCase
{ {
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(Editor), typeof(EditorScreen) }; public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(Editor), typeof(EditorScreen) };
private readonly Ruleset ruleset; private readonly Ruleset ruleset;
protected TestCaseEditor(Ruleset ruleset) protected EditorTestCase(Ruleset ruleset)
{ {
this.ruleset = ruleset; this.ruleset = ruleset;
} }

View File

@ -902,7 +902,7 @@
<Compile Include="Tests\Platform\TestStorage.cs" /> <Compile Include="Tests\Platform\TestStorage.cs" />
<Compile Include="Tests\TestTestCase.cs" /> <Compile Include="Tests\TestTestCase.cs" />
<Compile Include="Tests\Visual\OsuTestCase.cs" /> <Compile Include="Tests\Visual\OsuTestCase.cs" />
<Compile Include="Tests\Visual\TestCaseEditor.cs" /> <Compile Include="Tests\Visual\EditorTestCase.cs" />
<Compile Include="Tests\Visual\TestCasePerformancePoints.cs" /> <Compile Include="Tests\Visual\TestCasePerformancePoints.cs" />
<Compile Include="Tests\Visual\ScreenTestCase.cs" /> <Compile Include="Tests\Visual\ScreenTestCase.cs" />
<Compile Include="Tests\Visual\TestCasePlayer.cs" /> <Compile Include="Tests\Visual\TestCasePlayer.cs" />