693 references to Combine
aspire (18)
Aspire.Cli.EndToEnd.Tests (3)
Aspire.Cli.Tests (99)
Commands\AgentMcpCommandTests.cs (5)
161AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
231AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
308AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
424AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
510AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\ConfigCommandTests.cs (9)
71var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
94var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
119var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
153var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
273var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
437var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
469var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
500var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
531var settingsPath = Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire", "settings.json");
Commands\PsCommandTests.cs (5)
110AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
126AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "App2.AppHost.csproj"),
205AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
286AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
340AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
Packaging\NuGetConfigMergerSnapshotTests.cs (5)
65var cacheDir = new DirectoryInfo(Path.Combine(root.FullName, ".aspire", "cache"));
115var cacheDir2 = new DirectoryInfo(Path.Combine(root.FullName, ".aspire", "cache"));
178var cacheDir3 = new DirectoryInfo(Path.Combine(root.FullName, ".aspire", "cache"));
240var cacheDir4 = new DirectoryInfo(Path.Combine(root.FullName, ".aspire", "cache"));
300var cacheDir5 = new DirectoryInfo(Path.Combine(root.FullName, ".aspire", "cache"));
Packaging\PackagingServiceTests.cs (40)
46var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
47var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
81var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
82var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
125var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
126var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
158var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
159var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
191var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
192var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
223var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
224var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
254var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
255var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
285var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
286var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
316var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
317var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
394var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
395var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
451var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
452var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
492var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
493var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
528var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
529var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
564var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
565var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
645var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
646var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
678var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
679var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
709var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
710var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
754var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
755var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
807var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
808var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
859var hivesDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "hives"));
860var cacheDir = new DirectoryInfo(Path.Combine(tempDir.FullName, ".aspire", "cache"));
Utils\CliTestHelper.cs (6)
72var globalSettingsFilePath = Path.Combine(options.WorkingDirectory.FullName, ".aspire", "settings.global.json");
82var testLogsDirectory = Path.Combine(options.WorkingDirectory.FullName, ".aspire", "logs");
238var hivesDirectory = new DirectoryInfo(Path.Combine(WorkingDirectory.FullName, ".aspire", "hives"));
239var cacheDirectory = new DirectoryInfo(Path.Combine(WorkingDirectory.FullName, ".aspire", "cache"));
240var logsDirectory = new DirectoryInfo(Path.Combine(WorkingDirectory.FullName, ".aspire", "logs"));
324var globalSettingsFilePath = Path.Combine(workingDirectory.FullName, ".aspire", "settings.global.json");
Utils\FileSystemHelperTests.cs (5)
60Assert.True(File.Exists(Path.Combine(destDir, "subdir1", "level1.txt")));
61Assert.True(Directory.Exists(Path.Combine(destDir, "subdir1", "subdir2")));
65Assert.Equal("level 1 content", File.ReadAllText(Path.Combine(destDir, "subdir1", "level1.txt")));
234Assert.Equal("new assets", File.ReadAllText(Path.Combine(destDir, "obj", "project.assets.json")));
235Assert.Equal("new dgspec", File.ReadAllText(Path.Combine(destDir, "obj", "project.csproj.nuget.dgspec.json")));
Aspire.Dashboard.Tests (1)
Aspire.Deployment.EndToEnd.Tests (6)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (1)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.Tests (7)
AzureEnvironmentResourceTests.cs (5)
38var envBicepPath = Path.Combine(tempDir.FullName, "env", "env.bicep");
171var storageBicep = File.ReadAllText(Path.Combine(tempDir.FullName, "storage", "storage.bicep"));
209var includedStorageBicepPath = Path.Combine(tempDir.Path, "included-storage", "included-storage.bicep");
213var excludedStorageBicepPath = Path.Combine(tempDir.Path, "excluded-storage", "excluded-storage.bicep");
298var resourceBicepPath = Path.Combine(outputDir, "custom-resource", "custom-resource.bicep");
Aspire.Hosting.Docker (1)
Aspire.Hosting.JavaScript.Tests (7)
AddViteAppTests.cs (6)
286var nodeModulesBinDir = Path.Combine(tempDir.Path, "node_modules", ".bin");
347var nodeModulesBinDir = Path.Combine(tempDir.Path, "node_modules", ".bin");
451var nodeModulesBinDir = Path.Combine(tempDir.Path, "node_modules", ".bin");
506var subDir = Path.Combine(tempDir.Path, "my-app", "frontend");
510var nodeModulesBinDir = Path.Combine(subDir, "node_modules", ".bin");
585var nodeModulesBinDir = Path.Combine(tempDir.Path, "node_modules", ".bin");
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Python.Tests (1)
Aspire.Hosting.Testing (1)
Aspire.Templates.Tests (2)
aspire-managed (3)
aspire-server (1)
AutobahnTestApp (1)
BuildBoss (1)
BuildValidator (1)
CatalogService (1)
Crossgen2Tasks (8)
ResolveReadyToRunCompilers.cs (8)
299_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen.exe");
315_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen.exe");
334_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen.exe");
352_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen");
368_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen");
380_crossgenTool.ToolPath = Path.Combine(_crossgenTool.PackagePath, "tools", "crossgen");
416_crossgen2Tool.ClrJitPath = Path.Combine(_crossgen2Tool.PackagePath, "tools", clrJitFileName);
423_crossgen2Tool.ToolPath = Path.Combine(_crossgen2Tool.PackagePath, "tools", toolFileName);
dotnet-dev-certs (2)
dotnet-svcutil-lib (8)
dotnet-svcutil-lib.Tests (28)
E2ETests.cs (9)
23this_TestGroupProjDir = Path.Combine(g_TestResultsDir, this_TestCaseName, "Project");
94var uri = $"\"\"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}\"\"";
173var wsdlFile = Path.Combine(this_TestGroupOutputDir, "wsdl", "tempuri.org.wsdl");
176var wsdlDocsSrdDir = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService");
222var libProjPath = Path.Combine(this_TestGroupOutputDir, "TypesLib", "TypesLib.csproj");
223var binProjPath = Path.Combine(this_TestGroupOutputDir, "BinLib", "BinLib.csproj");
368var srcParamsFilePath = Path.Combine(g_TestCasesDir, filePath, paramsFileName);
501string wsdlFile = Path.Combine(g_TestCasesDir, "wsdl", "memberNamedSystem.wsdl");
512string wsdlFile = Path.Combine(g_TestCasesDir, "wsdl", "TypeNameUseReservedKeyword.wsdl");
GlobalToolTests.cs (10)
55var wsdlFile = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl");
92var uri = $"\"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}\"";
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);
148var uri = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl");
178var uri = Path.Combine(g_TestCasesDir, "wsdl", "TypeReuseSvc.wsdl");
197var url = $"{Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl")}";
232var uri = Path.Combine(g_TestCasesDir, "TypeReuse", "TypeReuseIXmlSerializable.wsdl");
233var refs = Path.Combine(g_TestCasesDir, "TypeReuse", "CommonTypes.dll");
255var uri = Path.Combine(g_TestCasesDir, "wsdl", "CollectionTypes.wsdl");
UnitTest.cs (6)
61var uri = Path.Combine(g_TestCasesDir, "wsdl", "brokenWsdl.wsdl");
150var uri = Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl");
221var wsdlFilesSrcDir = Path.Combine(g_TestCasesDir, "wsdl", "WcfProjectNService");
225File.Copy(Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"), Path.Combine(this_TestGroupOutputDir, "wsdl", "Simple.wsdl"));
327var jsonFilesRoot = Path.Combine(g_TestCasesDir, "options", "JSON");
DotnetTool.AppHost (1)
dotnet-user-jwts (1)
HelixTestRunner (5)
TestRunner.cs (5)
38var dotnetEFFullPath = Path.Combine(nugetRestore, helixDir, "dotnet-ef.exe");
67DisplayContents(Path.Combine(Options.DotnetRoot, "host", "fxr"));
68DisplayContents(Path.Combine(Options.DotnetRoot, "shared", "Microsoft.NETCore.App"));
69DisplayContents(Path.Combine(Options.DotnetRoot, "shared", "Microsoft.AspNetCore.App"));
70DisplayContents(Path.Combine(Options.DotnetRoot, "packs", "Microsoft.AspNetCore.App.Ref"));
HttpClientApp (1)
IIS.FunctionalTests (4)
IIS.LongTests (7)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments));
632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments));
640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments");
656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments");
696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
IIS.NewHandler.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments));
632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments));
640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments");
656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments");
696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
IIS.ShadowCopy.Tests (2)
IIS.Tests (1)
IISExpress.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (5)
616parameters.TransformArguments((arguments, root) => "exec " + Path.Combine(root, "bin", arguments));
632parameters.TransformArguments((arguments, root) => Path.Combine(root, pathWithSpace, arguments));
640parameters.TransformArguments((arguments, root) => "exec \"" + Path.Combine(root, pathWithSpace, arguments) + "\" extra arguments");
656parameters.TransformArguments((arguments, root) => Path.Combine(root, "bin", arguments) + " extra arguments");
696parameters.TransformPath((path, root) => Path.Combine(root, pathWithSpace, path));
ILLink.Tasks (1)
InMemory.FunctionalTests (3)
Interop.FunctionalTests (7)
InteropTests (2)
InteropWebsite (1)
Microsoft.Agents.AI.ProjectTemplates.Tests (3)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Analyzer.Testing (1)
Microsoft.AspNetCore.App.UnitTests (8)
TargetingPackTests.cs (8)
38var actualAssemblies = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll")
73IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories);
113IEnumerable<string> dlls = Directory.GetFiles(Path.Combine(_targetingPackRoot, "ref", _targetingPackTfm), "*.dll", SearchOption.AllDirectories);
135var packageOverridePath = Path.Combine(_targetingPackRoot, "data", "PackageOverrides.txt");
243var platformManifestPath = Path.Combine(_targetingPackRoot, "data", "PlatformManifest.txt");
308var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml");
375var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml");
417var frameworkListPath = Path.Combine(_targetingPackRoot, "data", "FrameworkList.xml");
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (4)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.DataProtection (3)
Microsoft.AspNetCore.DataProtection.Tests (7)
XmlEncryption\EncryptedXmlDecryptorTests.cs (7)
18var testCert1 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password");
32var testCert1 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password");
33var testCert2 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert2.pfx"), "password");
50var fullCert = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password");
51var publicKeyOnly = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.PublicKeyOnly.cer"), "");
68var testCert1 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert1.pfx"), "password");
69var testCert2 = new X509Certificate2(Path.Combine(AppContext.BaseDirectory, "TestFiles", "TestCert2.pfx"), "password");
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (2)
Microsoft.AspNetCore.Http.Results.Tests (3)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.InternalTesting.Tests (2)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (5)
FileProviderRazorProjectFileSystemTest.cs (5)
111Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File2.cshtml"), file.PhysicalPath);
118Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File3.cshtml"), file.PhysicalPath);
125Assert.Equal(Path.Combine("BasePath", "Level1-Dir2", "File5.cshtml"), file.PhysicalPath);
169Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File2.cshtml"), file.PhysicalPath);
176Assert.Equal(Path.Combine("BasePath", "Level1-Dir1", "File3.cshtml"), file.PhysicalPath);
Microsoft.AspNetCore.OpenApi.Tests (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (19)
HttpsConfigurationTests.cs (6)
33serverOptions.TestOverrideDefaultCertificate = new X509Certificate2(Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx"), "testPassword");
105new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")),
146new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")),
183new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx")),
220serverOptions.TestOverrideDefaultCertificate = new X509Certificate2(Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx"), "testPassword");
253ServerCertificate = new X509Certificate2(Path.Combine("shared", "TestCertificates", "aspnetdevcert.pfx"), "testPassword"),
KestrelConfigurationLoaderTests.cs (12)
595new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")),
596new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-aspnet.key"))
619new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")),
620new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-ecdsa.key")),
644new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")),
645new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-aspnet.key")),
669new KeyValuePair<string, string>("Certificates:Default:Path", Path.Combine("shared", "TestCertificates", "https-aspnet.crt")),
670new KeyValuePair<string, string>("Certificates:Default:KeyPath", Path.Combine("shared", "TestCertificates", "https-aspnet.pub")),
1628var certPath = Path.Combine("shared", "TestCertificates", "https-ecdsa.pem");
1629var keyPath = Path.Combine("shared", "TestCertificates", "https-ecdsa.key");
2144var basePath = appData != null ? Path.Combine(appData, "ASP.NET", "https") : null;
2145basePath = basePath ?? (home != null ? Path.Combine(home, ".aspnet", "https") : null);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.Shared.Tests (2)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.AspNetCore.WebUtilities.Tests (1)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (8)
CscTests.cs (6)
468csc.ToolExe = Path.Combine("path", "to", "custom_csc");
471Assert.Equal(Path.Combine("path", "to", "custom_csc"), csc.GeneratePathToTool());
474csc.ToolExe = Path.Combine("path", "to", "custom_csc");
477Assert.Equal(Path.Combine("path", "to", "custom_csc"), csc.GeneratePathToTool());
484csc.ToolPath = Path.Combine("path", "to", "custom_csc");
491csc.ToolPath = Path.Combine("path", "to", "custom_csc");
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (8)
14002ValidateEmbeddedSources_Portable(new Dictionary<string, string> { { Path.Combine(dir.Path, generatorPrefix, $"generatedSource.cs"), generatedSource } }, dir, true);
14043ValidateEmbeddedSources_Portable(new Dictionary<string, string> { { Path.Combine(dir.Path, generatorPrefix, "generatedSource.cs"), generatedSource } }, dir, true);
14086{ Path.Combine(dir.Path, generator1Prefix, source1Name), source1},
14087{ Path.Combine(dir.Path, generator2Prefix, source2Name), source2},
14213{ Path.Combine(generatedDir.Path, generatorPrefix, expectedDir), new() { { expectedFileName, generatedSource } } }
14315{ Path.Combine(generatedDir.Path, generatorPrefix, expectedDir), new() { { generatedFileName, generatedSource } } }
14368{ Path.Combine(generatedDir.Path, "generator", "TestGenerator"), new() { { "generatedSource.cs", "//from version 2.0.0.0" } } }
14441string baseDirectory = Path.Combine(root, "abc", "def");
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.ExternalAccess.HotReload.UnitTests (6)
HotReloadMSBuildWorkspaceTests.cs (6)
54outputRefFilePath: Path.Combine(TempRoot.Root, "ref", "P1.dll"))
58assemblyPath: Path.Combine(TempRoot.Root, "obj", "P1.dll"),
96outputRefFilePath: Path.Combine(TempRoot.Root, "ref", "P1.dll"))
100assemblyPath: Path.Combine(TempRoot.Root, "obj", "P1.dll"),
117Assert.Equal(Path.Combine(TempRoot.Root, "ref", "P1.dll"), project2.OutputRefFilePath);
120Assert.Equal(Path.Combine(TempRoot.Root, "obj", "P1.dll"), project2.CompilationOutputInfo.AssemblyPath);
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Microsoft.CodeAnalysis.Features (5)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.Features.UnitTests (2)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServer (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (2)
Microsoft.CodeAnalysis.Scripting (4)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SolutionTests\SolutionTests.cs (3)
1176var assemblyPath = Path.Combine(TempRoot.Root, "bin", "assemblyName.dll");
2373var solution4 = solution3.AddAnalyzerConfigDocument(editorConfigId, ".editorconfig", SourceText.From(editorConfigContent), filePath: Path.Combine(s_projectDir, "subfolder", ".editorconfig"));
2405sourcePathOptions = project2.State.GetAnalyzerOptionsForPath(Path.Combine(s_projectDir, "subfolder", "x.cs"), CancellationToken.None);
Microsoft.Data.Analysis.Tests (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Arcade.Sdk.Tests (3)
Microsoft.DotNet.Build.Manifest.Tests (1)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
Microsoft.DotNet.Build.Tasks.Installers (2)
Microsoft.DotNet.Build.Tasks.Packaging (4)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
Microsoft.DotNet.Build.Tasks.Templating.Tests (1)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
Microsoft.DotNet.Build.Tasks.Workloads (3)
Microsoft.DotNet.Build.Tasks.Workloads.Tests (3)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.Helix.Sdk.Tests (2)
Microsoft.DotNet.MacOsPkg.Core (1)
Microsoft.DotNet.MacOsPkg.Tests (5)
UnpackPackTests.cs (5)
57(Path.Combine("Contents", "MacOS", "main"), executableFileMode),
58(Path.Combine("Contents", "Resources", "libexample.dylib"), executableFileMode)
111Unpack(Path.Combine(unpackPkgPath, "Payload", "test.app"), unpackAppPath, appFiles);
156string appPath = Path.Combine(unpackComponentPath, "Payload", "test.app");
235return Path.Combine(
Microsoft.DotNet.Open.Api.Tools.Tests (2)
Microsoft.DotNet.SetupNugetSources.Tests (6)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.DotNet.SignTool (7)
Microsoft.DotNet.SignTool.Tests (7)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.XliffTasks (2)
Microsoft.Extensions.AI.Evaluation.Console (2)
Microsoft.Extensions.AI.Evaluation.Reporting (3)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Microsoft.Extensions.AI.Templates.Tests (3)
Microsoft.Extensions.ApiDescription.Client.Tests (35)
GetOpenApiReferenceMetadataTest.cs (11)
23var identity = Path.Combine("TestProjects", "files", "NSwag.json");
77var identity = Path.Combine("TestProjects", "files", "NSwag.json");
138var identity = Path.Combine("TestProjects", "files", "NSwag.json");
197var identity = Path.Combine("TestProjects", "files", "NSwag.json");
258var identity1 = Path.Combine("TestProjects", "files", "NSwag.json");
259var identity2 = Path.Combine("TestProjects", "files", "swashbuckle.json");
304var identity = Path.Combine("TestProjects", "files", "NSwag.json");
349var identity = Path.Combine("TestProjects", "files", "NSwag.json");
415var identity = Path.Combine("TestProjects", "files", "NSwag.json");
473var identity12 = Path.Combine("TestProjects", "files", "NSwag.json");
474var identity3 = Path.Combine("TestProjects", "files", "swashbuckle.json");
TargetTest.cs (23)
43directory = new DirectoryInfo(Path.Combine(_assemblyLocation, "TestProjects", "build"));
50directory = new DirectoryInfo(Path.Combine(_assemblyLocation, "TestProjects", "files"));
80Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "azureMonitorClient.cs")}", process.Output);
123Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "azureMonitorClient.cs")}", process.Output);
124Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "NSwagClient.cs")}", process.Output);
125Assert.Contains($"Compile: {Path.Combine(_temporaryDirectory.Root, "obj", "swashbuckleClient.cs")}", process.Output);
149Assert.Contains($"Compile: {Path.Combine("obj", "azureMonitorClient.cs", "Generated1.cs")}", process.Output);
150Assert.Contains($"Compile: {Path.Combine("obj", "azureMonitorClient.cs", "Generated2.cs")}", process.Output);
152$"FileWrites: {Path.Combine("obj", "azureMonitorClient.cs", "Generated1.cs")}",
155$"FileWrites: {Path.Combine("obj", "azureMonitorClient.cs", "Generated2.cs")}",
178$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
203$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
228$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
255$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
280$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
305$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
330$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
357$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
381$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
387$"{Path.Combine(_temporaryDirectory.Root, "files", "NSwag.json")} " +
393$"{Path.Combine(_temporaryDirectory.Root, "files", "swashbuckle.json")} " +
422$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
428$"{Path.Combine(_temporaryDirectory.Root, "files", "azureMonitor.json")} " +
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (2)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
Microsoft.Extensions.Logging.AzureAppServices (2)
Microsoft.Extensions.SecretManager.Tools.Tests (7)
Microsoft.McpServer.ProjectTemplates.Tests (3)
Microsoft.ML.AutoML (1)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.Core (2)
Microsoft.ML.Core.Tests (3)
Microsoft.ML.DnnImageFeaturizer.AlexNet (2)
AlexNetExtension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "AlexNetPrepOnnx", "AlexNetPreprocess.onnx"));
47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Dropout234_Output_0" }, new[] { "Input140" }, Path.Combine(modelDir, "AlexNetOnnx", "AlexNet.onnx"));
Microsoft.ML.DnnImageFeaturizer.ResNet101 (2)
ResNet101Extension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "ResNetPrepOnnx", "ResNetPreprocess.onnx"));
47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Pooling2286_Output_0" }, new[] { "Input1600" }, Path.Combine(modelDir, "ResNet101Onnx", "ResNet101.onnx"));
Microsoft.ML.DnnImageFeaturizer.ResNet18 (2)
ResNet18Extension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "ResNetPrepOnnx", "ResNetPreprocess.onnx"));
47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Pooling395_Output_0" }, new[] { "Input247" }, Path.Combine(modelDir, "ResNet18Onnx", "ResNet18.onnx"));
Microsoft.ML.DnnImageFeaturizer.ResNet50 (2)
ResNet50Extension.cs (2)
46var prepEstimator = new OnnxScoringEstimator(env, new[] { "PreprocessedInput" }, new[] { "OriginalInput" }, Path.Combine(modelDir, "ResNetPrepOnnx", "ResNetPreprocess.onnx"));
47var mainEstimator = new OnnxScoringEstimator(env, new[] { "Pooling1096_Output_0" }, new[] { "Input750" }, Path.Combine(modelDir, "ResNet50Onnx", "ResNet50.onnx"));
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.OnnxTransformerTest (9)
Microsoft.ML.PerformanceTests (4)
Microsoft.ML.Samples (4)
Microsoft.ML.Samples.GPU (4)
Microsoft.ML.SamplesUtils (2)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.TensorFlow.Tests (7)
TensorflowTests.cs (7)
69string imagesDownloadFolderPath = Path.Combine(TensorFlowScenariosTestsFixture.assetsPath, "inputs",
1565ImagePath = Path.Combine(_fullImagesetFolderPath, "daisy", "5794835_d15905c7c8_n.jpg")
1571ImagePath = Path.Combine(_fullImagesetFolderPath, "roses", "12240303_80d87f77a3_n.jpg")
1724ImagePath = Path.Combine(_fullImagesetFolderPath, "daisy", "5794835_d15905c7c8_n.jpg")
1730ImagePath = Path.Combine(_fullImagesetFolderPath, "roses", "12240303_80d87f77a3_n.jpg")
1752Assert.True(File.Exists(Path.Combine(Path.GetTempPath(), "MLNET", ImageClassificationTrainer.ModelFileName[options.Arch])));
1844string imagesDownloadFolderPath = Path.Combine(TensorFlowScenariosTestsFixture.assetsPath, "inputs",
Microsoft.ML.TestFramework (6)
Microsoft.ML.TestFrameworkCommon (3)
Microsoft.ML.Tests (11)
OnnxConversionTest.cs (9)
87var subDir = Path.Combine("Onnx", "Regression", "Adult");
165var subDir = Path.Combine("Onnx", "Cluster", "BreastCancer");
207var subDir = Path.Combine("Onnx", "Regression", "Adult");
442var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer");
584var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer");
610var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer");
635var subDir = Path.Combine("Onnx", "MultiClassClassification", "BreastCancer");
817var subDir = Path.Combine("Onnx", "BinaryClassification", "BreastCancer");
856var subDir = Path.Combine("Onnx", "Transforms", "Sentiment");
Microsoft.ML.Vision (2)
Microsoft.VisualStudio.Extensibility.Testing.Xunit (3)
Microsoft.VisualStudio.LanguageServices (4)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
PrepareTests (6)
MinimizeUtil.cs (5)
57Path.Combine(sourceDirectory, "artifacts", "VSSetup"),
172rehydrateAllBuilder.AppendLine(@"bash """ + Path.Combine("$scriptroot", group.Key, "rehydrate.sh") + @"""");
177rehydrateAllBuilder.AppendLine("call " + Path.Combine("%~dp0", group.Key, "rehydrate.cmd"));
180File.WriteAllText(Path.Combine(destinationDirectory, group.Key, fileName), builder.ToString());
192var file = Path.Combine(destinationDirectory, noDuplicate.Key, fileName);
RepoTasks (2)
Roslyn.Test.Performance.Utilities (3)
RunTests (4)
SignalR.Client.FunctionalTestApp (2)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
System.Console (2)
System.IO.IsolatedStorage (1)
System.IO.Packaging (1)
System.Net.NetworkInformation (2)
System.Private.CoreLib (8)
System.Security.Cryptography (2)
Templates.Blazor.Tests (7)
Templates.Blazor.WebAssembly.Auth.Tests (6)
Templates.Blazor.WebAssembly.Tests (6)
Templates.Mvc.Tests (8)
Templates.Tests (6)
TestTasks (1)
VBCSCompiler (1)
xunit.console (2)