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