3 writes to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (3)
41 references to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (41)
GlobalToolTests.cs (19)
133this_TestCaseBootstrapDir = this_TestCaseOutputDir;
135Directory.CreateDirectory(Path.Combine(this_TestCaseOutputDir, "SvcutilBootstrapper"));
158File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.cs"), Path.Combine(this_TestCaseOutputDir, "FullFramework.cs"), true);
159File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.csproj"), Path.Combine(this_TestCaseOutputDir, "FullFramework.csproj"), true);
162var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
184FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
185Directory.CreateDirectory(this_TestCaseOutputDir);
186File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, "Program.cs"), Path.Combine(this_TestCaseOutputDir, "Program.cs"), true);
187File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, $"{testCaseName}.csproj"), Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), true);
188this_TestCaseProject = await MSBuildProj.FromPathAsync(Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), null, CancellationToken.None);
191this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
194var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
213FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
214Directory.CreateDirectory(this_TestCaseOutputDir);
216this_TestCaseProject = await MSBuildProj.FromPathAsync(Path.Combine(this_TestCaseOutputDir, $"{testClientFolder}.csproj"), null, CancellationToken.None);
221this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
224var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
246var paramsFilePath = Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.params.json");
250options.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);