From 35abcde7a4eeb823067b9cd0ef4b84c81e4e35cd Mon Sep 17 00:00:00 2001 From: andy840119 Date: Mon, 5 Dec 2022 21:24:12 +0800 Subject: [PATCH] Run the `dotnet format analyzers osu-framework-microphone.Desktop.slnf --verbosity d` to make the CI happy. --- .../AutomatedVisualTestGame.cs | 2 +- osu.Framework.Microphone.Tests/TestGame.cs | 2 +- .../Visual/FrameworkTestScene.cs | 4 ++-- .../Visual/Input/TestSceneGetMicrophoneList.cs | 2 +- .../Visual/Input/TestSceneMicrophone.cs | 10 +++++----- osu.Framework.Microphone.Tests/VisualTestGame.cs | 2 +- .../Input/MicrophoneInputManager.cs | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/osu.Framework.Microphone.Tests/AutomatedVisualTestGame.cs b/osu.Framework.Microphone.Tests/AutomatedVisualTestGame.cs index 4aeba34..58cf312 100644 --- a/osu.Framework.Microphone.Tests/AutomatedVisualTestGame.cs +++ b/osu.Framework.Microphone.Tests/AutomatedVisualTestGame.cs @@ -5,7 +5,7 @@ namespace osu.Framework.Tests { - internal class AutomatedVisualTestGame : TestGame + internal partial class AutomatedVisualTestGame : TestGame { public AutomatedVisualTestGame() { diff --git a/osu.Framework.Microphone.Tests/TestGame.cs b/osu.Framework.Microphone.Tests/TestGame.cs index 4e34e58..848bd1a 100644 --- a/osu.Framework.Microphone.Tests/TestGame.cs +++ b/osu.Framework.Microphone.Tests/TestGame.cs @@ -6,7 +6,7 @@ namespace osu.Framework.Tests { - internal class TestGame : Game + internal partial class TestGame : Game { [BackgroundDependencyLoader] private void load() diff --git a/osu.Framework.Microphone.Tests/Visual/FrameworkTestScene.cs b/osu.Framework.Microphone.Tests/Visual/FrameworkTestScene.cs index a947784..d387366 100644 --- a/osu.Framework.Microphone.Tests/Visual/FrameworkTestScene.cs +++ b/osu.Framework.Microphone.Tests/Visual/FrameworkTestScene.cs @@ -7,11 +7,11 @@ namespace osu.Framework.Tests.Visual { - public abstract class FrameworkTestScene : TestScene + public abstract partial class FrameworkTestScene : TestScene { protected override ITestSceneTestRunner CreateRunner() => new FrameworkTestSceneTestRunner(); - private class FrameworkTestSceneTestRunner : TestSceneTestRunner + private partial class FrameworkTestSceneTestRunner : TestSceneTestRunner { [BackgroundDependencyLoader] private void load() diff --git a/osu.Framework.Microphone.Tests/Visual/Input/TestSceneGetMicrophoneList.cs b/osu.Framework.Microphone.Tests/Visual/Input/TestSceneGetMicrophoneList.cs index cef8b1c..d52a173 100644 --- a/osu.Framework.Microphone.Tests/Visual/Input/TestSceneGetMicrophoneList.cs +++ b/osu.Framework.Microphone.Tests/Visual/Input/TestSceneGetMicrophoneList.cs @@ -8,7 +8,7 @@ namespace osu.Framework.Tests.Visual.Input { [TestFixture] - public class TestSceneGetMicrophoneList : FrameworkTestScene + public partial class TestSceneGetMicrophoneList : FrameworkTestScene { public TestSceneGetMicrophoneList() { diff --git a/osu.Framework.Microphone.Tests/Visual/Input/TestSceneMicrophone.cs b/osu.Framework.Microphone.Tests/Visual/Input/TestSceneMicrophone.cs index a317a96..3a12746 100644 --- a/osu.Framework.Microphone.Tests/Visual/Input/TestSceneMicrophone.cs +++ b/osu.Framework.Microphone.Tests/Visual/Input/TestSceneMicrophone.cs @@ -15,7 +15,7 @@ namespace osu.Framework.Tests.Visual.Input { [TestFixture] - public class TestSceneMicrophone : FrameworkTestScene + public partial class TestSceneMicrophone : FrameworkTestScene { public TestSceneMicrophone() { @@ -43,12 +43,12 @@ public TestSceneMicrophone() Child = manager; } - private class TestMicrophoneInputManager : MicrophoneInputManager + private partial class TestMicrophoneInputManager : MicrophoneInputManager { public MicrophoneHandler MicrophoneHandler => InputHandlers.OfType().First(); } - private class MicrophonePitchVisualization : MicrophoneVisualization + private partial class MicrophonePitchVisualization : MicrophoneVisualization { protected override bool OnMicrophoneStartSinging(MicrophoneStartPitchingEvent e) { @@ -73,7 +73,7 @@ protected override bool OnMicrophoneSinging(MicrophonePitchingEvent e) } } - private class MicrophoneDecibelVisualization : MicrophoneVisualization + private partial class MicrophoneDecibelVisualization : MicrophoneVisualization { protected override bool OnMicrophoneStartSinging(MicrophoneStartPitchingEvent e) { @@ -98,7 +98,7 @@ protected override bool OnMicrophoneSinging(MicrophonePitchingEvent e) } } - private class MicrophoneVisualization : CompositeDrawable + private partial class MicrophoneVisualization : CompositeDrawable { private readonly Box background; diff --git a/osu.Framework.Microphone.Tests/VisualTestGame.cs b/osu.Framework.Microphone.Tests/VisualTestGame.cs index 32d08f8..74acb97 100644 --- a/osu.Framework.Microphone.Tests/VisualTestGame.cs +++ b/osu.Framework.Microphone.Tests/VisualTestGame.cs @@ -10,7 +10,7 @@ namespace osu.Framework.Tests { - internal class VisualTestGame : TestGame + internal partial class VisualTestGame : TestGame { [BackgroundDependencyLoader] private void load() diff --git a/osu.Framework.Microphone/Input/MicrophoneInputManager.cs b/osu.Framework.Microphone/Input/MicrophoneInputManager.cs index f884918..2f1ae55 100644 --- a/osu.Framework.Microphone/Input/MicrophoneInputManager.cs +++ b/osu.Framework.Microphone/Input/MicrophoneInputManager.cs @@ -9,7 +9,7 @@ namespace osu.Framework.Input { - public class MicrophoneInputManager : CustomInputManager + public partial class MicrophoneInputManager : CustomInputManager { protected override InputState CreateInitialState() => new MicrophoneInputState(new MicrophoneState());