7 references to _error
Microsoft.DotNet.Open.Api.Tools.Tests (7)
OpenApiAddFileTests.cs (2)
33
Assert.Contains("No project files were found in the current directory",
_error
.ToString());
45
Assert.Contains($"The project '{Path.Combine(_tempDir.Root, csproj)}' does not exist.",
_error
.ToString());
OpenApiAddURLTests.cs (2)
369
Assert.True(
_error
.ToString().Contains("Aborting to avoid conflicts."), "Should have aborted to avoid conflicts");
427
"indicating failure. The url might be wrong, or there might be a networking issue." + Environment.NewLine,
_error
.ToString());
OpenApiTestBase.cs (3)
87
_tempDir.Root, wrapper, _output,
_error
);
111
Assert.True(string.IsNullOrEmpty(
_error
.ToString()), $"Threw error: {
_error
}");