1 write to Output
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\CommandResult.cs (1)
23
Output
= output;
12 references to Output
Aspire.Templates.Tests (12)
BuildAndRunTemplateTests.cs (1)
133
Assert.Contains($"setting must be an https address unless the '{KnownConfigNames.AllowUnsecuredTransport}'", res.
Output
);
NewUpAndBuildStandaloneTemplateTests.cs (1)
42
Assert.Contains(error, tce.Result.Value.
Output
);
NewUpAndBuildSupportProjectTemplatesTests.cs (1)
65
Assert.Contains(error, tce.Result.Value.
Output
);
PerTestFrameworkTemplatesTests.cs (2)
52
Assert.Matches("System.ArgumentException.*Resource 'webfrontend' not found.", res.
Output
);
53
Assert.Matches("Failed! * - Failed: *1, Passed: *0, Skipped: *0, Total: *1", res.
Output
);
TemplateTestsBase.cs (1)
343
Assert.Matches("Passed! * - Failed: *0, Passed: *1, Skipped: *0, Total: *1", testRes.
Output
);
tests\Shared\TemplatesTesting\AspireProject.cs (4)
123
if (res.
Output
.Contains("Restore failed", StringComparison.OrdinalIgnoreCase) ||
124
res.
Output
.Contains("Post action failed", StringComparison.OrdinalIgnoreCase))
126
throw new ToolCommandException($"`dotnet new {cmdString}` . Output: {res.
Output
}", res);
469
containerName = res.
Output
;
tests\Shared\TemplatesTesting\CommandResult.cs (2)
37
if (!string.IsNullOrEmpty(
Output
))
39
_ = message.AppendLine(CultureInfo.InvariantCulture, $"{Environment.NewLine}Standard Output:{Environment.NewLine}{
Output
}");