1 write to Project
Microsoft.DotNet.Open.Api.Tools.Tests (1)
OpenApiTestBase.cs (1)
192
Project
= project;
27 references to Project
Microsoft.DotNet.Open.Api.Tools.Tests (27)
OpenApiAddFileTests.cs (8)
84
var csproj = new FileInfo(project.
Project
.Path);
112
var absolute = Path.GetFullPath(nswagJsonFile, project.
Project
.Dir().Root);
117
var csproj = new FileInfo(project.
Project
.Path);
137
var csproj = new FileInfo(project.
Project
.Path);
157
var csproj = new FileInfo(project.
Project
.Path);
172
var run = app.Execute(new[] { "add", "file", "--updateProject", project.
Project
.Path, nswagJsonFIle });
177
var csproj = new FileInfo(project.
Project
.Path);
202
var csproj = new FileInfo(project.
Project
.Path);
OpenApiAddProjectTests.cs (5)
23
using var refProj1 = project.
Project
.Dir().SubDir("refProj1");
24
using var refProj2 = project.
Project
.Dir().SubDir("refProj2");
44
using var csprojStream = new FileInfo(project.
Project
.Path).OpenRead();
76
projXml.Load(project.
Project
.Path);
102
using var csprojStream = new FileInfo(project.
Project
.Path).OpenRead();
OpenApiAddURLTests.cs (14)
27
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
60
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
93
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
126
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
158
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
190
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
216
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
250
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
282
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
314
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
347
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
372
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())
407
var csproj = new FileInfo(project.
Project
.Path);
433
using (var csprojStream = new FileInfo(project.
Project
.Path).OpenRead())