5 references to GetStatusGlyph
Aspire.Tray.Tests (5)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1297
TrayPanelGlyphs.AddStatus(commands,
GetStatusGlyph
(host, live), new(20, top + 16, 20, 20), palette);
TrayPanelTests.cs (4)
951
Assert.Equal((PanelStatusGlyph)expected, TrayPanel.
GetStatusGlyph
(host, live));
957
Assert.Equal(PanelStatusGlyph.Stopped, TrayPanel.
GetStatusGlyph
(TrayPanelSamples.Offline("/src/A/A.cs"), live: true));
958
Assert.Equal(PanelStatusGlyph.Busy, TrayPanel.
GetStatusGlyph
(TrayPanelSamples.Offline("/src/A/A.cs", starting: true), live: true));
959
Assert.Equal(PanelStatusGlyph.Warning, TrayPanel.
GetStatusGlyph
(TrayPanelSamples.Offline("/src/A/A.cs", error: "No."), live: true));