34 writes to Connected
Aspire.Dashboard.Components.Tests (33)
Controls\TerminalTitleTests.cs (5)
148
Title = "shell",
Connected
= true, ProgressState = state, ProgressPercentage = percentage
170
Connected
= connected, ProgressState = state, ProgressPercentage = 42
186
Connected
= true, ProgressState = "normal", ProgressPercentage = 42
192
cut.Render(builder => builder.Add(p => p.State, new TerminalToolbarState {
Connected
= true, ProgressState = "none" }));
194
cut.Render(builder => builder.Add(p => p.State, new TerminalToolbarState {
Connected
= false, ProgressState = "normal", ProgressPercentage = 42 }));
Controls\TerminalViewTests.cs (15)
72
var state = new TerminalToolbarState { TerminalId = 1, Generation = 1,
Connected
= true };
77
await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with {
Connected
= false, Disconnected = true }));
265
TerminalId = 1, Generation = 1,
Connected
= true, Title = "renamed shell"
285
Connected
= true,
302
TerminalId = 1, Generation = 2,
Connected
= true,
312
await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with {
Connected
= false }));
332
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 21
349
TerminalId = 1, Generation = 1,
Connected
= true, FitEnabled = true,
362
TerminalId = 1, Generation = 1,
Connected
= true, FitEnabled = false,
434
TerminalId = 1, Generation = 2, Cols = 120, Rows = 30, SizeKey = "120x30",
Connected
= true
451
TerminalId = 1, Generation = 2, Cols = 132, Rows = 50, SizeKey = "132x50",
Connected
= true
490
await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2,
Connected
= true, Disconnected = false, Error = null }));
710
TerminalId = 1, Generation = 32,
Connected
= true
747
TerminalId = 1, Generation = 1,
Connected
= true, Error = error
757
TerminalId = 1, Generation = 1,
Connected
= true
Dialogs\InteractionsTerminalDialogTests.cs (1)
32
TerminalId = 1, Generation = 1,
Connected
= true,
Layout\TerminalDockTests.cs (6)
77
TerminalId = 1, Generation = 1,
Connected
= true,
698
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = fontSize
745
Connected
= true,
765
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 19
806
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 19
850
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 19
Pages\TerminalsTests.cs (5)
282
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
319
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
359
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
401
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
722
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
Pages\TerminalWindowTests.cs (1)
353
TerminalId = 1, Generation = 1,
Connected
= true,
Aspire.Dashboard.Tests (1)
DashboardJsonSerializerContextTests.cs (1)
67
Connected
= true,
1 reference to Connected
Aspire.Dashboard (1)
Components\Controls\TerminalTitle.razor.cs (1)
132
private bool HasProgress => State is {
Connected
: true, ProgressState: "normal" or "indeterminate" or "error" or "warning" };