3 writes to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (3)
GlobalToolTests.cs (2)
124this_TestCaseOutputDir = Path.Combine(this_TestGroupOutputDir, testCaseName); 153this_TestCaseOutputDir = Path.Combine(this_TestGroupOutputDir, testClientFolder);
TestInit.cs (1)
242this_TestCaseOutputDir = Path.Combine(this_TestGroupOutputDir, testCaseName);
41 references to this_TestCaseOutputDir
dotnet-svcutil-lib.Tests (41)
E2ETests.cs (6)
90this_TestCaseBootstrapDir = this_TestCaseOutputDir; 92Directory.CreateDirectory(Path.Combine(this_TestCaseOutputDir, "SvcutilBootstrapper")); 213var outDir = Path.Combine(this_TestCaseOutputDir, "ServiceReference"); 248this_TestCaseBootstrapDir = this_TestCaseOutputDir; 251var uri = PathHelper.GetRelativePath(Path.Combine(this_TestGroupOutputDir, "TypeReuseSvc.wsdl"), new DirectoryInfo(this_TestCaseOutputDir)); 327cmdOptions = cmdOptions?.Replace("$testCaseOutputDir$", this_TestCaseOutputDir.Replace("\\", "/"));
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);
UnitTest.cs (4)
237using (var cds = new CurrentDirectorySetter(this_TestCaseOutputDir)) 243.Replace("$testCaseOutputDir$", this_TestCaseOutputDir) 267updateOptions.MakePathsRelativeTo(new DirectoryInfo(this_TestCaseOutputDir)); 330var jsonFileDstPath = Path.Combine(this_TestCaseOutputDir, Path.GetFileName(jsonFileSrcPath));