From f9021bf5512a3ee250ce732ff36d9564938afac9 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 5 Oct 2023 17:16:10 +0900 Subject: [PATCH] Remove pointless test class in `TestSceneStoryboardSamples` --- .../Gameplay/TestSceneStoryboardSamples.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/osu.Game.Tests/Gameplay/TestSceneStoryboardSamples.cs b/osu.Game.Tests/Gameplay/TestSceneStoryboardSamples.cs index 2cad7d33c2..4fb9db845b 100644 --- a/osu.Game.Tests/Gameplay/TestSceneStoryboardSamples.cs +++ b/osu.Game.Tests/Gameplay/TestSceneStoryboardSamples.cs @@ -126,7 +126,7 @@ namespace osu.Game.Tests.Gameplay public void TestSamplePlaybackWithBeatmapHitsoundsOff() { GameplayClockContainer gameplayContainer = null; - TestDrawableStoryboardSample sample = null; + DrawableStoryboardSample sample = null; AddStep("disable beatmap hitsounds", () => config.SetValue(OsuSetting.BeatmapHitsounds, false)); @@ -141,7 +141,7 @@ namespace osu.Game.Tests.Gameplay Child = beatmapSkinSourceContainer }); - beatmapSkinSourceContainer.Add(sample = new TestDrawableStoryboardSample(new StoryboardSampleInfo("test-sample", 1, 1)) + beatmapSkinSourceContainer.Add(sample = new DrawableStoryboardSample(new StoryboardSampleInfo("test-sample", 1, 1)) { Clock = gameplayContainer }); @@ -199,14 +199,6 @@ namespace osu.Game.Tests.Gameplay protected internal override ISkin GetSkin() => new TestSkin("test-sample", resources); } - private partial class TestDrawableStoryboardSample : DrawableStoryboardSample - { - public TestDrawableStoryboardSample(StoryboardSampleInfo sampleInfo) - : base(sampleInfo) - { - } - } - #region IResourceStorageProvider public IRenderer Renderer => host.Renderer;