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