TestCase -> TestScene

This commit is contained in:
Dean Herbert 2019-06-14 17:25:07 +09:00
parent 9818637b8d
commit d4ff9dc833
14 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@ using osu.Game.Tests.Visual;
namespace osu.Game.Tournament.Tests
{
public class LadderTestCase : OsuTestScene
public class LadderTestScene : OsuTestScene
{
[Resolved]
protected LadderInfo Ladder { get; private set; }

View File

@ -15,7 +15,7 @@ using osu.Game.Tournament.Components;
namespace osu.Game.Tournament.Tests
{
public class TestCaseBeatmapPanel : OsuTestScene
public class TestSceneBeatmapPanel : OsuTestScene
{
[Resolved]
private IAPIProvider api { get; set; }

View File

@ -8,7 +8,7 @@ using osu.Game.Tournament.Screens.Gameplay;
namespace osu.Game.Tournament.Tests
{
public class TestCaseGameplayScreen : OsuTestScene
public class TestSceneGameplayScreen : OsuTestScene
{
[Cached]
private MatchChatDisplay chat = new MatchChatDisplay();

View File

@ -5,9 +5,9 @@ using osu.Game.Tournament.Screens.Groupings;
namespace osu.Game.Tournament.Tests
{
public class TestCaseGroupingsEditorScreen : LadderTestCase
public class TestSceneGroupingsEditorScreen : LadderTestScene
{
public TestCaseGroupingsEditorScreen()
public TestSceneGroupingsEditorScreen()
{
Add(new GroupingsEditorScreen());
}

View File

@ -8,7 +8,7 @@ using osu.Game.Tournament.Screens.Ladder;
namespace osu.Game.Tournament.Tests
{
public class TestCaseLadderManager : LadderTestCase
public class TestSceneLadderManager : LadderTestScene
{
[BackgroundDependencyLoader]
private void load()

View File

@ -8,7 +8,7 @@ using osu.Game.Tournament.Screens.MapPool;
namespace osu.Game.Tournament.Tests
{
public class TestCaseMapPool : LadderTestCase
public class TestSceneMapPool : LadderTestScene
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{

View File

@ -14,7 +14,7 @@ using osuTK;
namespace osu.Game.Tournament.Tests
{
public class TestCaseMatchChatDisplay : OsuTestScene
public class TestSceneMatchChatDisplay : OsuTestScene
{
private readonly Channel testChannel = new Channel();
@ -43,7 +43,7 @@ namespace osu.Game.Tournament.Tests
[Cached]
private MatchIPCInfo matchInfo = new MatchIPCInfo(); // hide parent
public TestCaseMatchChatDisplay()
public TestSceneMatchChatDisplay()
{
MatchChatDisplay chatDisplay;

View File

@ -11,7 +11,7 @@ using osu.Game.Tournament.Screens.Ladder.Components;
namespace osu.Game.Tournament.Tests
{
public class TestCaseMatchPairings : OsuTestScene
public class TestSceneMatchPairings : OsuTestScene
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{
@ -21,7 +21,7 @@ namespace osu.Game.Tournament.Tests
typeof(DrawableTournamentTeam),
};
public TestCaseMatchPairings()
public TestSceneMatchPairings()
{
Container<DrawableMatchPairing> level1;
Container<DrawableMatchPairing> level2;

View File

@ -9,12 +9,12 @@ using osu.Game.Tournament.Screens.Gameplay.Components;
namespace osu.Game.Tournament.Tests
{
public class TestCaseMatchScoreDisplay : LadderTestCase
public class TestSceneMatchScoreDisplay : LadderTestScene
{
[Cached(Type = typeof(MatchIPCInfo))]
private MatchIPCInfo matchInfo = new MatchIPCInfo();
public TestCaseMatchScoreDisplay()
public TestSceneMatchScoreDisplay()
{
Add(new MatchScoreDisplay
{

View File

@ -8,7 +8,7 @@ using osu.Game.Tournament.Screens;
namespace osu.Game.Tournament.Tests
{
public class TestCaseSceneManager : OsuTestScene
public class TestSceneSceneManager : OsuTestScene
{
[BackgroundDependencyLoader]
private void load(Storage storage)

View File

@ -9,7 +9,7 @@ using osu.Game.Tournament.Screens.Schedule;
namespace osu.Game.Tournament.Tests
{
public class TestCaseSchedule : OsuTestScene
public class TestSceneSchedule : OsuTestScene
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{

View File

@ -9,7 +9,7 @@ using osu.Game.Tournament.Screens.Showcase;
namespace osu.Game.Tournament.Tests
{
public class TestCaseShowcase : OsuTestScene
public class TestSceneShowcase : OsuTestScene
{
public override IReadOnlyList<Type> RequiredTypes => new[]
{

View File

@ -10,7 +10,7 @@ using osu.Game.Tournament.Screens.TeamIntro;
namespace osu.Game.Tournament.Tests
{
public class TestCaseTeamIntro : LadderTestCase
public class TestSceneTeamIntro : LadderTestScene
{
[Cached]
private readonly Bindable<MatchPairing> currentMatch = new Bindable<MatchPairing>();

View File

@ -10,7 +10,7 @@ using osu.Game.Tournament.Screens.TeamWin;
namespace osu.Game.Tournament.Tests
{
public class TestCaseTeamWin : LadderTestCase
public class TestSceneTeamWin : LadderTestScene
{
[Cached]
private readonly Bindable<MatchPairing> currentMatch = new Bindable<MatchPairing>();