Base:
14 references to Message
Aspire.Hosting.Tests (14)
Pipelines\DistributedApplicationPipelineTests.cs (2)
921Assert.DoesNotContain("Step 'failing-step' failed:", exception.Message); 922Assert.Contains("output-001", exception.Message);
Publishing\PodmanSaveArgumentsTests.cs (2)
233Assert.Contains("build failed", exception.Message); 255Assert.Contains("save failed", exception.Message);
Publishing\ProcessFailedExceptionTests.cs (5)
20Assert.Contains("Build failed.", exception.Message); 21Assert.Contains("Process output truncated: showing last 50 of 60 lines.", exception.Message); 22Assert.DoesNotContain("output-001", exception.Message); 23Assert.Contains("output-011", exception.Message); 24Assert.Contains("output-060", exception.Message);
Publishing\ResourceContainerImageManagerTests.cs (5)
671Assert.Contains("broken-project", exception.Message); 672Assert.Contains("missing.csproj", exception.Message); 1554var newlineIndex = ex.Message.IndexOf(Environment.NewLine, StringComparison.Ordinal); 1556Assert.Equal($"{containerRuntime.Name} build failed with exit code {ex.ExitCode}.", ex.Message[..newlineIndex]); 1557Assert.Equal(ex.GetFormattedOutput(), ex.Message[(newlineIndex + Environment.NewLine.Length)..]);