1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 18:03:21 +08:00

Make all TestCases public

This commit is contained in:
Dean Herbert 2017-12-20 21:47:45 +09:00
parent fe1044a853
commit 020d272636
48 changed files with 48 additions and 48 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Catch.Tests
{ {
[TestFixture] [TestFixture]
[Ignore("getting CI working")] [Ignore("getting CI working")]
internal class TestCaseCatcherArea : OsuTestCase public class TestCaseCatcherArea : OsuTestCase
{ {
private RulesetInfo catchRuleset; private RulesetInfo catchRuleset;
private TestCatcherArea catcherArea; private TestCatcherArea catcherArea;

View File

@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Mania.Tests
{ {
[TestFixture] [TestFixture]
[Ignore("getting CI working")] [Ignore("getting CI working")]
internal class TestCaseManiaHitObjects : OsuTestCase public class TestCaseManiaHitObjects : OsuTestCase
{ {
public TestCaseManiaHitObjects() public TestCaseManiaHitObjects()
{ {

View File

@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Mania.Tests
{ {
[TestFixture] [TestFixture]
[Ignore("getting CI working")] [Ignore("getting CI working")]
internal class TestCaseManiaPlayfield : OsuTestCase public class TestCaseManiaPlayfield : OsuTestCase
{ {
private const double start_time = 500; private const double start_time = 500;
private const double duration = 500; private const double duration = 500;

View File

@ -17,7 +17,7 @@ namespace osu.Game.Rulesets.Osu.Tests
{ {
[TestFixture] [TestFixture]
[Ignore("getting CI working")] [Ignore("getting CI working")]
internal class TestCaseHitObjects : OsuTestCase public class TestCaseHitObjects : OsuTestCase
{ {
private FramedClock framedClock; private FramedClock framedClock;

View File

@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Taiko.Tests
{ {
[TestFixture] [TestFixture]
[Ignore("getting CI working")] [Ignore("getting CI working")]
internal class TestCaseTaikoPlayfield : OsuTestCase public class TestCaseTaikoPlayfield : OsuTestCase
{ {
private const double default_duration = 1000; private const double default_duration = 1000;
private const float scroll_time = 1000; private const float scroll_time = 1000;

View File

@ -17,7 +17,7 @@ using OpenTK.Graphics;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseBeatSyncedContainer : OsuTestCase public class TestCaseBeatSyncedContainer : OsuTestCase
{ {
private readonly MusicController mc; private readonly MusicController mc;

View File

@ -17,7 +17,7 @@ using osu.Game.Screens.Select.Filter;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseBeatmapCarousel : OsuTestCase public class TestCaseBeatmapCarousel : OsuTestCase
{ {
private TestBeatmapCarousel carousel; private TestBeatmapCarousel carousel;

View File

@ -10,7 +10,7 @@ namespace osu.Game.Tests.Visual
{ {
[TestFixture] [TestFixture]
[System.ComponentModel.Description("PlaySongSelect leaderboard/details area")] [System.ComponentModel.Description("PlaySongSelect leaderboard/details area")]
internal class TestCaseBeatmapDetailArea : OsuTestCase public class TestCaseBeatmapDetailArea : OsuTestCase
{ {
public TestCaseBeatmapDetailArea() public TestCaseBeatmapDetailArea()
{ {

View File

@ -10,7 +10,7 @@ using osu.Game.Screens.Select;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("PlaySongSelect beatmap details")] [Description("PlaySongSelect beatmap details")]
internal class TestCaseBeatmapDetails : OsuTestCase public class TestCaseBeatmapDetails : OsuTestCase
{ {
public TestCaseBeatmapDetails() public TestCaseBeatmapDetails()
{ {

View File

@ -12,7 +12,7 @@ using osu.Game.Screens.Select;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseBeatmapInfoWedge : OsuTestCase public class TestCaseBeatmapInfoWedge : OsuTestCase
{ {
private BeatmapManager beatmaps; private BeatmapManager beatmaps;
private readonly Random random; private readonly Random random;

View File

@ -10,7 +10,7 @@ using OpenTK.Input;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("bottom beatmap details")] [Description("bottom beatmap details")]
internal class TestCaseBeatmapOptionsOverlay : OsuTestCase public class TestCaseBeatmapOptionsOverlay : OsuTestCase
{ {
public TestCaseBeatmapOptionsOverlay() public TestCaseBeatmapOptionsOverlay()
{ {

View File

@ -12,7 +12,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseBeatmapSetOverlay : OsuTestCase public class TestCaseBeatmapSetOverlay : OsuTestCase
{ {
private readonly BeatmapSetOverlay overlay; private readonly BeatmapSetOverlay overlay;

View File

@ -6,7 +6,7 @@ using osu.Game.Graphics.UserInterface;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseBreadcrumbs : OsuTestCase public class TestCaseBreadcrumbs : OsuTestCase
{ {
public TestCaseBreadcrumbs() public TestCaseBreadcrumbs()
{ {

View File

@ -8,7 +8,7 @@ using System.Collections.Generic;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseBreakOverlay : OsuTestCase public class TestCaseBreakOverlay : OsuTestCase
{ {
private readonly BreakOverlay breakOverlay; private readonly BreakOverlay breakOverlay;

View File

@ -9,7 +9,7 @@ using OpenTK.Graphics;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseButtonSystem : OsuTestCase public class TestCaseButtonSystem : OsuTestCase
{ {
public TestCaseButtonSystem() public TestCaseButtonSystem()
{ {

View File

@ -8,7 +8,7 @@ using osu.Game.Overlays;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("Testing chat api and overlay")] [Description("Testing chat api and overlay")]
internal class TestCaseChatDisplay : OsuTestCase public class TestCaseChatDisplay : OsuTestCase
{ {
public TestCaseChatDisplay() public TestCaseChatDisplay()
{ {

View File

@ -13,7 +13,7 @@ using osu.Game.Graphics.Cursor;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseContextMenu : OsuTestCase public class TestCaseContextMenu : OsuTestCase
{ {
private const int start_time = 0; private const int start_time = 0;
private const int duration = 1000; private const int duration = 1000;

View File

@ -7,7 +7,7 @@ using osu.Game.Overlays.Dialog;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseDialogOverlay : OsuTestCase public class TestCaseDialogOverlay : OsuTestCase
{ {
public TestCaseDialogOverlay() public TestCaseDialogOverlay()
{ {

View File

@ -12,7 +12,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseDrawableRoom : OsuTestCase public class TestCaseDrawableRoom : OsuTestCase
{ {
private RulesetStore rulesets; private RulesetStore rulesets;

View File

@ -9,7 +9,7 @@ using osu.Game.Screens.Tournament.Teams;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("for tournament use")] [Description("for tournament use")]
internal class TestCaseDrawings : OsuTestCase public class TestCaseDrawings : OsuTestCase
{ {
public TestCaseDrawings() public TestCaseDrawings()
{ {

View File

@ -14,7 +14,7 @@ using osu.Framework.Configuration;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseEditorSummaryTimeline : OsuTestCase public class TestCaseEditorSummaryTimeline : OsuTestCase
{ {
private const int length = 60000; private const int length = 60000;
private readonly Random random; private readonly Random random;

View File

@ -5,7 +5,7 @@ using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseGamefield : OsuTestCase public class TestCaseGamefield : OsuTestCase
{ {
protected override void LoadComplete() protected override void LoadComplete()
{ {

View File

@ -15,7 +15,7 @@ using osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("player pause/fail screens")] [Description("player pause/fail screens")]
internal class TestCaseGameplayMenuOverlay : OsuTestCase public class TestCaseGameplayMenuOverlay : OsuTestCase
{ {
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(FailOverlay), typeof(PauseContainer) }; public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(FailOverlay), typeof(PauseContainer) };

View File

@ -8,7 +8,7 @@ using OpenTK;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseGraph : OsuTestCase public class TestCaseGraph : OsuTestCase
{ {
public TestCaseGraph() public TestCaseGraph()
{ {

View File

@ -13,7 +13,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseHistoricalSection : OsuTestCase public class TestCaseHistoricalSection : OsuTestCase
{ {
public override IReadOnlyList<Type> RequiredTypes => public override IReadOnlyList<Type> RequiredTypes =>
new[] new[]

View File

@ -8,7 +8,7 @@ using OpenTK.Input;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseKeyCounter : OsuTestCase public class TestCaseKeyCounter : OsuTestCase
{ {
public TestCaseKeyCounter() public TestCaseKeyCounter()
{ {

View File

@ -11,7 +11,7 @@ using OpenTK;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("PlaySongSelect leaderboard")] [Description("PlaySongSelect leaderboard")]
internal class TestCaseLeaderboard : OsuTestCase public class TestCaseLeaderboard : OsuTestCase
{ {
private readonly Leaderboard leaderboard; private readonly Leaderboard leaderboard;

View File

@ -9,7 +9,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseMedalOverlay : OsuTestCase public class TestCaseMedalOverlay : OsuTestCase
{ {
public override IReadOnlyList<Type> RequiredTypes => new[] public override IReadOnlyList<Type> RequiredTypes => new[]
{ {

View File

@ -12,7 +12,7 @@ using OpenTK;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("mod select and icon display")] [Description("mod select and icon display")]
internal class TestCaseMods : OsuTestCase public class TestCaseMods : OsuTestCase
{ {
private ModSelectOverlay modSelect; private ModSelectOverlay modSelect;
private ModDisplay modDisplay; private ModDisplay modDisplay;

View File

@ -11,7 +11,7 @@ using osu.Game.Overlays;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseMusicController : OsuTestCase public class TestCaseMusicController : OsuTestCase
{ {
private readonly Bindable<WorkingBeatmap> beatmapBacking = new Bindable<WorkingBeatmap>(); private readonly Bindable<WorkingBeatmap> beatmapBacking = new Bindable<WorkingBeatmap>();

View File

@ -13,7 +13,7 @@ using osu.Game.Overlays.Notifications;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[TestFixture] [TestFixture]
internal class TestCaseNotificationOverlay : OsuTestCase public class TestCaseNotificationOverlay : OsuTestCase
{ {
private readonly NotificationOverlay manager; private readonly NotificationOverlay manager;

View File

@ -7,7 +7,7 @@ using osu.Game.Overlays;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseOnScreenDisplay : OsuTestCase public class TestCaseOnScreenDisplay : OsuTestCase
{ {
private FrameworkConfigManager config; private FrameworkConfigManager config;
private Bindable<FrameSync> frameSyncMode; private Bindable<FrameSync> frameSyncMode;

View File

@ -19,7 +19,7 @@ using osu.Game.Tests.Platform;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCasePlaySongSelect : OsuTestCase public class TestCasePlaySongSelect : OsuTestCase
{ {
private BeatmapManager manager; private BeatmapManager manager;

View File

@ -8,7 +8,7 @@ using osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseReplay : TestCasePlayer public class TestCaseReplay : TestCasePlayer
{ {
protected override Player CreatePlayer(WorkingBeatmap beatmap, Ruleset ruleset) protected override Player CreatePlayer(WorkingBeatmap beatmap, Ruleset ruleset)
{ {

View File

@ -8,7 +8,7 @@ using osu.Game.Screens.Play.ReplaySettings;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseReplaySettingsOverlay : OsuTestCase public class TestCaseReplaySettingsOverlay : OsuTestCase
{ {
public TestCaseReplaySettingsOverlay() public TestCaseReplaySettingsOverlay()
{ {

View File

@ -11,7 +11,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseResults : OsuTestCase public class TestCaseResults : OsuTestCase
{ {
private BeatmapManager beatmaps; private BeatmapManager beatmaps;

View File

@ -11,7 +11,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseRoomInspector : OsuTestCase public class TestCaseRoomInspector : OsuTestCase
{ {
private RulesetStore rulesets; private RulesetStore rulesets;

View File

@ -10,7 +10,7 @@ using OpenTK;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseScoreCounter : OsuTestCase public class TestCaseScoreCounter : OsuTestCase
{ {
public TestCaseScoreCounter() public TestCaseScoreCounter()
{ {

View File

@ -5,7 +5,7 @@ using osu.Game.Overlays;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseSettings : OsuTestCase public class TestCaseSettings : OsuTestCase
{ {
private readonly SettingsOverlay settings; private readonly SettingsOverlay settings;

View File

@ -5,7 +5,7 @@ using osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseSkipButton : OsuTestCase public class TestCaseSkipButton : OsuTestCase
{ {
protected override void LoadComplete() protected override void LoadComplete()
{ {

View File

@ -10,7 +10,7 @@ using osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseSongProgress : OsuTestCase public class TestCaseSongProgress : OsuTestCase
{ {
private readonly SongProgress progress; private readonly SongProgress progress;
private readonly SongProgressGraph graph; private readonly SongProgressGraph graph;

View File

@ -14,7 +14,7 @@ using OpenTK.Graphics;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseStoryboard : OsuTestCase public class TestCaseStoryboard : OsuTestCase
{ {
private readonly Bindable<WorkingBeatmap> beatmapBacking = new Bindable<WorkingBeatmap>(); private readonly Bindable<WorkingBeatmap> beatmapBacking = new Bindable<WorkingBeatmap>();

View File

@ -10,7 +10,7 @@ using OpenTK;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseTextAwesome : OsuTestCase public class TestCaseTextAwesome : OsuTestCase
{ {
public TestCaseTextAwesome() public TestCaseTextAwesome()
{ {

View File

@ -7,7 +7,7 @@ using osu.Game.Graphics.UserInterface;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
[Description("mostly back button")] [Description("mostly back button")]
internal class TestCaseTwoLayerButton : OsuTestCase public class TestCaseTwoLayerButton : OsuTestCase
{ {
public TestCaseTwoLayerButton() public TestCaseTwoLayerButton()
{ {

View File

@ -8,7 +8,7 @@ using OpenTK;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseUserPanel : OsuTestCase public class TestCaseUserPanel : OsuTestCase
{ {
public TestCaseUserPanel() public TestCaseUserPanel()
{ {

View File

@ -8,7 +8,7 @@ using osu.Game.Users;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseUserProfile : OsuTestCase public class TestCaseUserProfile : OsuTestCase
{ {
public TestCaseUserProfile() public TestCaseUserProfile()
{ {

View File

@ -13,7 +13,7 @@ using System.Collections.Generic;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseUserRanks : OsuTestCase public class TestCaseUserRanks : OsuTestCase
{ {
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(DrawableProfileScore), typeof(RanksSection) }; public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(DrawableProfileScore), typeof(RanksSection) };

View File

@ -15,7 +15,7 @@ using osu.Game.Screens.Edit.Screens.Compose.Timeline;
namespace osu.Game.Tests.Visual namespace osu.Game.Tests.Visual
{ {
internal class TestCaseWaveform : OsuTestCase public class TestCaseWaveform : OsuTestCase
{ {
private readonly Bindable<WorkingBeatmap> beatmapBacking = new Bindable<WorkingBeatmap>(); private readonly Bindable<WorkingBeatmap> beatmapBacking = new Bindable<WorkingBeatmap>();