21 references to Running
Aspire.Tray.Tests (21)
src\Aspire.Tray\Common\TrayPanel.cs (6)
748AddSection(PanelSection.Running, running, expanded: true); 869item.Section == PanelSection.Running && duplicateNames.Contains(item.Host!.DisplayName), palette); 989PanelSection.Running => "RUNNING", 997AddLabel(section == PanelSection.Running ? "section.running" : "section.pinned", 998section == PanelSection.Running ? "Running" : "Pinned", labelBounds, chrome: false); 1095PanelSection.Running => _state.AppHosts.Where(host => host.Id.AppHostPid != 0),
TrayPanelTests.cs (15)
134Assert.Equal([PanelSection.Running, PanelSection.Running, PanelSection.Running, PanelSection.Pinned], 193Assert.Equal((PanelSection.Running, host.Id), panel.ActionsRow); 224var target = panel.Scene.Targets.Single(target => target.Key == new PanelTargetKey(kind, PanelSection.Running, host.Id, item)); 274Assert.Equal((PanelSection.Running, state.AppHosts[1].Id), panel.ActionsRow); 291Assert.Equal((PanelSection.Running, host), panel.ActionsRow); 293Assert.Equal(new PanelTargetKey(PanelTargetKind.OpenInMenu, PanelSection.Running, host), panel.FocusedTarget); 297Assert.Equal(new PanelTargetKey(PanelTargetKind.OpenIn, PanelSection.Running, host, 1), panel.FocusedTarget); 301Assert.Equal(new PanelTargetKey(PanelTargetKind.OpenInMenu, PanelSection.Running, host), panel.FocusedTarget); 304Assert.Equal(new PanelTargetKey(PanelTargetKind.ShowInFolder, PanelSection.Running, host), panel.FocusedTarget); 323Assert.Equal((PanelSection.Running, host.Id), panel.ActionsRow); 505Assert.Equal(new PanelTargetKey(PanelTargetKind.Row, PanelSection.Running, state.AppHosts[0].Id), panel.FocusedTarget); 511Assert.Equal(new PanelTargetKey(PanelTargetKind.Row, PanelSection.Running, state.AppHosts[^1].Id), panel.FocusedTarget); 533Assert.DoesNotContain(new PanelTargetKey(PanelTargetKind.Dashboard, PanelSection.Running, state.AppHosts[2].Id), visited);