3 writes to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (3)
41 references to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (41)
GlobalToolTests.cs (19)
74this_TestCaseBootstrapDir = this_TestCaseOutputDir;
76Directory.CreateDirectory(Path.Combine(this_TestCaseOutputDir, "SvcutilBootstrapper"));
99File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.cs"), Path.Combine(this_TestCaseOutputDir, "FullFramework.cs"), true);
100File.Copy(Path.Combine(g_TestCasesDir, "FullFramework", "FullFramework.csproj"), Path.Combine(this_TestCaseOutputDir, "FullFramework.csproj"), true);
103var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
125FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
126Directory.CreateDirectory(this_TestCaseOutputDir);
127File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, "Program.cs"), Path.Combine(this_TestCaseOutputDir, "Program.cs"), true);
128File.Copy(Path.Combine(g_TestCasesDir, this_TestCaseName, testCaseName, $"{testCaseName}.csproj"), Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), true);
129this_TestCaseProject = await MSBuildProj.FromPathAsync(Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.csproj"), null, CancellationToken.None);
132this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
135var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
154FileUtil.TryDeleteDirectory(this_TestCaseOutputDir);
155Directory.CreateDirectory(this_TestCaseOutputDir);
157this_TestCaseProject = await MSBuildProj.FromPathAsync(Path.Combine(this_TestCaseOutputDir, $"{testClientFolder}.csproj"), null, CancellationToken.None);
162this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot);
165var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference");
187var paramsFilePath = Path.Combine(this_TestCaseOutputDir, $"{testCaseName}.params.json");
191options.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);