7 references to GetRowDetail
Aspire.Tray.Tests (7)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1305var (detail, isError) = GetRowDetail(host, live, showPid);
TrayPanelTests.cs (6)
137var (detail, _) = TrayPanel.GetRowDetail(host, live: true, showPid: false); 927Assert.Equal(($"Needs attention · {location}", false), TrayPanel.GetRowDetail(host, live: true, showPid: false)); 928Assert.Equal(($"Needs attention · {location} · PID 48213", false), TrayPanel.GetRowDetail(host, live: true, showPid: true)); 929Assert.Equal(($"Status unavailable · {location}", false), TrayPanel.GetRowDetail(host, live: false, showPid: false)); 930Assert.Equal(("Boom.", true), TrayPanel.GetRowDetail(host with { Error = "Boom." }, live: true, showPid: false)); 932TrayPanel.GetRowDetail(host with { Health = AppHostHealth.NoResources }, live: true, showPid: false));