32 references to GetScreenText
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
183
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
187
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
183
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
187
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
183
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
187
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
183
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
187
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
183
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
187
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
Aspire.Hosting.Tests (19)
Terminals\Hex1bAspireTerminalTests.cs (11)
142
var lines = terminal.
GetScreenText
().Split('\n');
284
terminal.
GetScreenText
().Split('\n', StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries));
308
terminal.
GetScreenText
().Split('\n', StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries),
347
Assert.Equal(expected, terminal.
GetScreenText
().TrimEnd());
352
Assert.Equal(expected, terminal.
GetScreenText
().TrimEnd());
373
Assert.Equal("ALTERNATE-ABCDEFGHIJ\nalt-ready", terminal.
GetScreenText
().TrimEnd());
377
terminal.
GetScreenText
().TrimEnd());
379
Assert.Equal(main.PadRight(80) + "\nready", terminal.
GetScreenText
().TrimEnd());
409
Assert.Throws<InvalidOperationException>(terminal.
GetScreenText
);
478
Assert.Contains("after-disconnect", terminal.
GetScreenText
());
608
terminal.
GetScreenText
().Split('\n', StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries),
Terminals\ResourceAspireTerminalTests.cs (4)
47
Assert.Contains("apphost-was-here", terminal.
GetScreenText
());
101
Assert.Contains("recovered-connection", terminal.
GetScreenText
());
116
await AsyncTestHelpers.AssertIsTrueRetryAsync(() => terminal.
GetScreenText
() == string.Empty, "The old automation screen was not invalidated.");
121
Assert.Contains("replacement-host", terminal.
GetScreenText
());
Terminals\TerminalServiceTests.cs (4)
277
Assert.Empty(first.
GetScreenText
());
291
Assert.Empty(second.
GetScreenText
());
308
first.
GetScreenText
().Split('\n', StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries));
311
second.
GetScreenText
().Split('\n', StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries));
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
183
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
187
throw new TimeoutException($"REPL did not produce the expected output. Terminal screen:{Environment.NewLine}{terminal.
GetScreenText
()}", exception);
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
498
var screen = terminal.
GetScreenText
();