18 references to OnTerminalWindowOpenedAsync
Aspire.Dashboard.Components.Tests (18)
Controls\TerminalWindowButtonTests.cs (5)
139await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("first", "opened")); 140await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("first", "focused")); 146await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("second", "opened")); 190await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("terminal", result)); 251await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("inactive", "adopted"));
Layout\TerminalDockTests.cs (5)
682await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync(terminalId, "opened")); 715await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("detached", "opened")); 762await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("first", "opened")); 800await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("terminal", "blocked")); 804await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("terminal", "opened"));
Layout\TerminalDockWindowTrackingTests.cs (7)
50await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("terminal", "recovering")); 101await old.InvokeAsync(() => oldLauncher.OnTerminalWindowOpenedAsync("active", "opened")); 102await old.InvokeAsync(() => oldLauncher.OnTerminalWindowOpenedAsync("inactive", "opened")); 139await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("active", "adopted")); 140await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("inactive", "adopted")); 204await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("old-identity", "adopted")); 216await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync("new-identity", "adopted"));
Pages\ConsoleLogsTerminalTests.cs (1)
134await cut.InvokeAsync(() => launcher.OnTerminalWindowOpenedAsync($"resource:{resourceName}:{replicaIndex}", "opened"));