diff --git a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs index aa0f7fd..09bf9eb 100644 --- a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs +++ b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelManager.cs @@ -6,6 +6,7 @@ using SharpIDE.Godot.Features.IdeDiagnostics; using SharpIDE.Godot.Features.Nuget; using SharpIDE.Godot.Features.Problems; using SharpIDE.Godot.Features.Run; +using SharpIDE.Godot.Features.TestExplorer; namespace SharpIDE.Godot.Features.BottomPanel; @@ -27,6 +28,7 @@ public partial class BottomPanelManager : Panel private ProblemsPanel _problemsPanel = null!; private IdeDiagnosticsPanel _ideDiagnosticsPanel = null!; private NugetPanel _nugetPanel = null!; + private TestExplorerPanel _testExplorerPanel = null!; private Dictionary _panelTypeMap = []; @@ -38,6 +40,7 @@ public partial class BottomPanelManager : Panel _problemsPanel = GetNode("%ProblemsPanel"); _ideDiagnosticsPanel = GetNode("%IdeDiagnosticsPanel"); _nugetPanel = GetNode("%NugetPanel"); + _testExplorerPanel = GetNode("%TestExplorerPanel"); _panelTypeMap = new Dictionary { @@ -46,7 +49,8 @@ public partial class BottomPanelManager : Panel { BottomPanelType.Build, _buildPanel }, { BottomPanelType.Problems, _problemsPanel }, { BottomPanelType.IdeDiagnostics, _ideDiagnosticsPanel }, - { BottomPanelType.Nuget, _nugetPanel } + { BottomPanelType.Nuget, _nugetPanel }, + { BottomPanelType.TestExplorer, _testExplorerPanel } }; GodotGlobalEvents.Instance.BottomPanelTabSelected.Subscribe(OnBottomPanelTabSelected); diff --git a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs index 878737a..71e01e0 100644 --- a/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs +++ b/src/SharpIDE.Godot/Features/BottomPanel/BottomPanelType.cs @@ -7,5 +7,6 @@ public enum BottomPanelType Build, Problems, IdeDiagnostics, - Nuget + Nuget, + TestExplorer } \ No newline at end of file diff --git a/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs b/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs index a1fc52f..103e60f 100644 --- a/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs +++ b/src/SharpIDE.Godot/Features/LeftSideBar/LeftSideBar.cs @@ -13,6 +13,7 @@ public partial class LeftSideBar : Panel private Button _debugButton = null!; private Button _ideDiagnosticsButton = null!; private Button _nugetButton = null!; + private Button _testExplorerButton = null!; public override void _Ready() { @@ -23,6 +24,7 @@ public partial class LeftSideBar : Panel _debugButton = GetNode