18 references to OnTerminalWindowOpenedAsync
Aspire.Dashboard.Components.Tests (18)
Controls\TerminalWindowButtonTests.cs (5)
139
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("first", "opened"));
140
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("first", "focused"));
146
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("second", "opened"));
190
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("terminal", result));
251
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("inactive", "adopted"));
Layout\TerminalDockTests.cs (5)
679
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
(terminalId, "opened"));
712
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("detached", "opened"));
759
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("first", "opened"));
797
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("terminal", "blocked"));
801
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("terminal", "opened"));
Layout\TerminalDockWindowTrackingTests.cs (7)
50
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("terminal", "recovering"));
101
await old.InvokeAsync(() => oldLauncher.
OnTerminalWindowOpenedAsync
("active", "opened"));
102
await old.InvokeAsync(() => oldLauncher.
OnTerminalWindowOpenedAsync
("inactive", "opened"));
139
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("active", "adopted"));
140
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("inactive", "adopted"));
204
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("old-identity", "adopted"));
216
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("new-identity", "adopted"));
Pages\TerminalsTests.cs (1)
622
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
($"resource:{name}", "opened"));