3 writes to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (3)
41 references to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (41)
GlobalToolTests.cs (19)
88this_TestCaseBootstrapDir = this_TestCaseOutputDir;
90Directory.CreateDirectory(Path.Combine(this_TestCaseOutputDir, "SvcutilBootstrapper"));
113File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.cs"), Path.Combine(this_TestCaseOutputDir, "FullFramework.cs"), true);
114File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.csproj"), Path.Combine(this_TestCaseOutputDir, "FullFramework.csproj"), true);
117var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
139FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
140Directory.CreateDirectory(this_TestCaseOutputDir);
141File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, "Program.cs"), Path.Combine(this_TestCaseOutputDir, "Program.cs"), true);
142File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, $"{testCaseName}.csproj"), Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), true);
143this_TestCaseProject = await MSBuildProj.FromPathAsync(Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), null, CancellationToken.None);
146this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
149var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
168FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
169Directory.CreateDirectory(this_TestCaseOutputDir);
171this_TestCaseProject = await MSBuildProj.FromPathAsync(Path.Combine(this_TestCaseOutputDir, $"{testClientFolder}.csproj"), null, CancellationToken.None);
176this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
179var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
201var paramsFilePath = Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.params.json");
205options.OutputDir = new DirectoryInfo(this_TestCaseOutputDir);
TestInit.cs (12)
204CreateGlobalJson(createUniqueProject ? this_TestCaseOutputDir : this_TestGroupOutputDir, sdkVersion);
210var projectPath = Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj");
230CreateGlobalJson(this_TestCaseOutputDir, sdkVersion);
234var projectPath = Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj");
243FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
244Directory.CreateDirectory(this_TestCaseOutputDir);
257var projectPath = CopyProject(g_StarterProject, this_TestCaseOutputDir, testCaseName);
275this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
277Assert.True(Directory.Exists(this_TestCaseOutputDir), $"{nameof(this_TestGroupOutputDir)} is not initialized!");
371var generatedFiles = Directory.GetFiles(this_TestCaseOutputDir, "*.*", SearchOption.AllDirectories)
372.Where(f => !PathHelper.PathHasFolder(f, excludeDirs, this_TestCaseOutputDir))
525WriteLog("Results dir: " + this_TestCaseOutputDir);