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