1 write to _temporaryDirectory
Microsoft.Extensions.ApiDescription.Client.Tests (1)
55 references to _temporaryDirectory
Microsoft.Extensions.ApiDescription.Client.Tests (55)
TargetTest.cs (55)
32var build = _temporaryDirectory.SubDir("build");
33var files = _temporaryDirectory.SubDir("files");
34var tasks = _temporaryDirectory.SubDir("tasks").SubDir("netstandard2.0");
35_temporaryDirectory.Create();
67var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
73_temporaryDirectory.WithCSharpProject(project);
80Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "azureMonitorClient.cs")}", process.Output);
88var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
95_temporaryDirectory.WithCSharpProject(project);
110var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
116_temporaryDirectory.WithCSharpProject(project);
123Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "azureMonitorClient.cs")}", process.Output);
124Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "NSwagClient.cs")}", process.Output);
125Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "swashbuckleClient.cs")}", process.Output);
135var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
142_temporaryDirectory.WithCSharpProject(project);
163var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
169_temporaryDirectory.WithCSharpProject(project);
178$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
187var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
194_temporaryDirectory.WithCSharpProject(project);
203$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
212var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
219_temporaryDirectory.WithCSharpProject(project);
228$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
237var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
244_temporaryDirectory.WithCSharpProject(project);
255$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
264var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
271_temporaryDirectory.WithCSharpProject(project);
280$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
289var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
296_temporaryDirectory.WithCSharpProject(project);
305$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
314var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
321_temporaryDirectory.WithCSharpProject(project);
330$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
339var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
346_temporaryDirectory.WithCSharpProject(project);
357$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
366var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
372_temporaryDirectory.WithCSharpProject(project);
381$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
387$"{Path.Combine(_temporaryDirectory.Root, "files", "NSwag.json")} " +
393$"{Path.Combine(_temporaryDirectory.Root, "files", "swashbuckle.json")} " +
402var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
413_temporaryDirectory.WithCSharpProject(project);
422$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
428$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
438var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
445_temporaryDirectory.WithCSharpProject(project);
475var project = new TemporaryOpenApiProject("test", _temporaryDirectory, "Microsoft.NET.Sdk")
482_temporaryDirectory.WithCSharpProject(project);
494_temporaryDirectory.Dispose();
501_temporaryDirectory.Root,