1 write to g_TestCasesDir
dotnet-svcutil-lib.Tests (1)
TestInit.cs (1)
146g_TestCasesDir = Path.Combine(vsTestsRoot, "TestCases");
37 references to g_TestCasesDir
dotnet-svcutil-lib.Tests (37)
E2ETests.cs (9)
94var uri = $"\"\"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}\"\""; 122var uri = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl"); 147.Replace("$testCasesPath$", g_TestCasesDir); 175var wsdlDocsSrdDir = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService"); 197var url = $"{Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl")}"; 227var typeReuseProjectsPath = Path.Combine(g_TestCasesDir, "TypeReuse"); 367var srcParamsFilePath = Path.Combine(g_TestCasesDir, filePath, paramsFileName); 382File.WriteAllText(dstParamsFile, File.ReadAllText(dstParamsFile).Replace("$testCasesPath$", g_TestCasesDir.Replace("\\", "/"))); 500string wsdlFile = Path.Combine(g_TestCasesDir, "wsdl", "memberNamedSystem.wsdl");
GlobalToolTests.cs (12)
78var uri = $"\"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}\""; 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); 102var uri = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl"); 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); 132this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot); 134var uri = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"); 156FileUtil.CopyDirectory(Path.Combine(g_TestCasesDir, this_TestCaseName), this_TestGroupOutputDir, true); 162this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot); 164var uri = Path.Combine(g_TestCasesDir, "wsdl", "TypeReuseSvc.wsdl"); 183var url = $"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}";
TestInit.cs (7)
152Directory.CreateDirectory(g_TestCasesDir); 156Assert.True(Directory.Exists(g_TestCasesDir), $"{nameof(g_TestCasesDir)} is not initialized!"); 275this_FixupUtil.Init(g_TestResultsDir, g_TestCasesDir, this_TestCaseOutputDir, g_ServiceUrl, g_ServiceId, g_RepositoryRoot); 523WriteLog("Root path: " + g_TestCasesDir); 550string[] nugetFiles = Directory.GetFiles(g_TestCasesDir, "*.nupkg", SearchOption.TopDirectoryOnly); 572g_SvcutilNugetFeed = g_TestCasesDir;
UnitTest.cs (9)
61var uri = Path.Combine(g_TestCasesDir, "wsdl", "brokenWsdl.wsdl"); 128var uri = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService", "tempuri.org.wsdl"); 150var uri = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"); 221var wsdlFilesSrcDir = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService"); 222FileUtil.CopyDirectory(wsdlFilesSrcDir.Replace("$testCasesDir$", g_TestCasesDir), Path.Combine(wsdlFilesDstDir, "WcfProjectNService"), overwrite: true); 225File.Copy(Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"), Path.Combine(this_TestGroupOutputDir, "wsdl", "Simple.wsdl")); 241.Replace("$testCasesDir$", g_TestCasesDir) 244.Replace("$testCasesDir$", g_TestCasesDir) 327var jsonFilesRoot = Path.Combine(g_TestCasesDir, "options", "JSON");