Partial everything

This commit is contained in:
Dan Balasescu
2022-11-24 14:32:20 +09:00
committed by Dean Herbert
parent a1c559ae05
commit 7bc8908ca9
2331 changed files with 3218 additions and 3218 deletions

View File

@ -14,7 +14,7 @@ using osuTK.Graphics;
namespace osu.Game.Tests.Visual.Components
{
[TestFixture]
public class TestSceneIdleTracker : OsuManualInputManagerTestScene
public partial class TestSceneIdleTracker : OsuManualInputManagerTestScene
{
private IdleTrackingBox box1;
private IdleTrackingBox box2;
@ -154,7 +154,7 @@ namespace osu.Game.Tests.Visual.Components
AddUntilStep("wait for all idle", () => box1.IsIdle && box2.IsIdle && box3.IsIdle && box4.IsIdle);
}
private class IdleTrackingBox : CompositeDrawable
private partial class IdleTrackingBox : CompositeDrawable
{
private readonly IdleTracker idleTracker;

View File

@ -19,7 +19,7 @@ using osuTK.Graphics;
namespace osu.Game.Tests.Visual.Components
{
[HeadlessTest]
public class TestScenePollingComponent : OsuTestScene
public partial class TestScenePollingComponent : OsuTestScene
{
private Container pollBox;
private TestPoller poller;
@ -132,7 +132,7 @@ namespace osu.Game.Tests.Visual.Components
protected override double TimePerAction => 500;
public class TestPoller : PollingComponent
public partial class TestPoller : PollingComponent
{
public event Action OnPoll;
@ -143,7 +143,7 @@ namespace osu.Game.Tests.Visual.Components
}
}
public class TestSlowPoller : TestPoller
public partial class TestSlowPoller : TestPoller
{
protected override Task Poll() => Task.Delay((int)(TimeBetweenPolls.Value / 2f / Clock.Rate)).ContinueWith(_ => base.Poll());
}

View File

@ -13,7 +13,7 @@ using osu.Game.Beatmaps;
namespace osu.Game.Tests.Visual.Components
{
public class TestScenePreviewTrackManager : OsuTestScene, IPreviewTrackOwner
public partial class TestScenePreviewTrackManager : OsuTestScene, IPreviewTrackOwner
{
private readonly IAdjustableAudioComponent gameTrackAudio = new AudioAdjustments();
@ -201,7 +201,7 @@ namespace osu.Game.Tests.Visual.Components
return track;
}
private class TestTrackOwner : CompositeDrawable, IPreviewTrackOwner
private partial class TestTrackOwner : CompositeDrawable, IPreviewTrackOwner
{
private readonly PreviewTrack track;
private readonly bool registerAsOwner;
@ -227,7 +227,7 @@ namespace osu.Game.Tests.Visual.Components
}
}
public class TestPreviewTrackManager : PreviewTrackManager
public partial class TestPreviewTrackManager : PreviewTrackManager
{
public bool AllowUpdate = true;
@ -248,7 +248,7 @@ namespace osu.Game.Tests.Visual.Components
return base.UpdateSubTree();
}
public class TestPreviewTrack : TrackManagerPreviewTrack
public partial class TestPreviewTrack : TrackManagerPreviewTrack
{
private readonly ITrackStore trackManager;