32 writes to Connected
Aspire.Dashboard.Components.Tests (31)
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 (14)
72
var state = new TerminalToolbarState { TerminalId = 1, Generation = 1,
Connected
= true };
77
await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with {
Connected
= false, Disconnected = true }));
260
TerminalId = 1, Generation = 1,
Connected
= true, Title = "renamed shell"
275
TerminalId = 1, Generation = 2,
Connected
= true,
285
await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with {
Connected
= false }));
305
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 21
322
TerminalId = 1, Generation = 1,
Connected
= true, FitEnabled = true,
335
TerminalId = 1, Generation = 1,
Connected
= true, FitEnabled = false,
407
TerminalId = 1, Generation = 2, Cols = 120, Rows = 30, SizeKey = "120x30",
Connected
= true
424
TerminalId = 1, Generation = 2, Cols = 132, Rows = 50, SizeKey = "132x50",
Connected
= true
463
await cut.InvokeAsync(() => cut.Instance.OnTerminalStateChanged(state with { Generation = 2,
Connected
= true, Disconnected = false, Error = null }));
683
TerminalId = 1, Generation = 32,
Connected
= true
720
TerminalId = 1, Generation = 1,
Connected
= true, Error = error
730
TerminalId = 1, Generation = 1,
Connected
= true
Dialogs\InteractionsTerminalDialogTests.cs (1)
32
TerminalId = 1, Generation = 1,
Connected
= true,
Layout\TerminalDockTests.cs (5)
77
TerminalId = 1, Generation = 1,
Connected
= true,
700
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = fontSize
741
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 19
782
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 19
826
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 19
Pages\TerminalsTests.cs (5)
193
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
230
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
270
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
312
TerminalId = 1, Generation = 1,
Connected
= true, FontPx = 17
633
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" };