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)
682
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
(terminalId, "opened"));
715
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("detached", "opened"));
762
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("first", "opened"));
800
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
("terminal", "blocked"));
804
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\ConsoleLogsTerminalTests.cs (1)
134
await cut.InvokeAsync(() => launcher.
OnTerminalWindowOpenedAsync
($"resource:{resourceName}:{replicaIndex}", "opened"));