Skip to content

Commit

Permalink
Run the `dotnet format analyzers osu-framework-microphone.Desktop.sln…
Browse files Browse the repository at this point in the history
…f --verbosity d` to make the CI happy.
  • Loading branch information
andy840119 committed Dec 5, 2022
1 parent f831a20 commit 35abcde
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion osu.Framework.Microphone.Tests/AutomatedVisualTestGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace osu.Framework.Tests
{
internal class AutomatedVisualTestGame : TestGame
internal partial class AutomatedVisualTestGame : TestGame
{
public AutomatedVisualTestGame()
{
Expand Down
2 changes: 1 addition & 1 deletion osu.Framework.Microphone.Tests/TestGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace osu.Framework.Tests
{
internal class TestGame : Game
internal partial class TestGame : Game
{
[BackgroundDependencyLoader]
private void load()
Expand Down
4 changes: 2 additions & 2 deletions osu.Framework.Microphone.Tests/Visual/FrameworkTestScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace osu.Framework.Tests.Visual.Input
{
[TestFixture]
public class TestSceneGetMicrophoneList : FrameworkTestScene
public partial class TestSceneGetMicrophoneList : FrameworkTestScene
{
public TestSceneGetMicrophoneList()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace osu.Framework.Tests.Visual.Input
{
[TestFixture]
public class TestSceneMicrophone : FrameworkTestScene
public partial class TestSceneMicrophone : FrameworkTestScene
{
public TestSceneMicrophone()
{
Expand Down Expand Up @@ -43,12 +43,12 @@ public TestSceneMicrophone()
Child = manager;
}

private class TestMicrophoneInputManager : MicrophoneInputManager
private partial class TestMicrophoneInputManager : MicrophoneInputManager
{
public MicrophoneHandler MicrophoneHandler => InputHandlers.OfType<MicrophoneHandler>().First();
}

private class MicrophonePitchVisualization : MicrophoneVisualization
private partial class MicrophonePitchVisualization : MicrophoneVisualization
{
protected override bool OnMicrophoneStartSinging(MicrophoneStartPitchingEvent e)
{
Expand All @@ -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)
{
Expand All @@ -98,7 +98,7 @@ protected override bool OnMicrophoneSinging(MicrophonePitchingEvent e)
}
}

private class MicrophoneVisualization : CompositeDrawable
private partial class MicrophoneVisualization : CompositeDrawable
{
private readonly Box background;

Expand Down
2 changes: 1 addition & 1 deletion osu.Framework.Microphone.Tests/VisualTestGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace osu.Framework.Tests
{
internal class VisualTestGame : TestGame
internal partial class VisualTestGame : TestGame
{
[BackgroundDependencyLoader]
private void load()
Expand Down
2 changes: 1 addition & 1 deletion osu.Framework.Microphone/Input/MicrophoneInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 35abcde

Please sign in to comment.