21 references to CreateWindows
Aspire.Cli.Tests (21)
Acquisition\InstallSourceDetectorTests.cs (4)
27
var environment = TestEnvironment.
CreateWindows
(new Dictionary<string, string?>
111
var detector = CreateDetector(processPath, TestEnvironment.
CreateWindows
(), registry);
138
var detector = CreateDetector(Path.Combine(workspace.Path, "aspire.exe"), TestEnvironment.
CreateWindows
(), registry);
219
var environment = windows ? TestEnvironment.
CreateWindows
() : TestEnvironment.CreateLinux();
Agents\CopilotAppInstallationDetectorTests.cs (1)
22
var environment = TestEnvironment.
CreateWindows
(new Dictionary<string, string?>
Certificates\CertificateServiceTests.cs (7)
206
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
361
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
402
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
493
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
531
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
577
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
(envVars));
611
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
Commands\CompletionsCommandTests.cs (1)
58
Assert.Equal("pwsh", CompletionScripts.DetectShell(TestEnvironment.
CreateWindows
()));
Commands\TrayCommandTests.cs (2)
210
_ => TestEnvironment.
CreateWindows
()
567
services.AddSingleton<IEnvironment>(TestEnvironment.
CreateWindows
());
Layout\TrayLayoutTests.cs (1)
87
await BundleService.ExtractPayloadAsync(payload, extracted, TestEnvironment.
CreateWindows
(), CancellationToken.None);
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
245
environment: TestEnvironment.
CreateWindows
());
ProgramTests.cs (1)
87
TestEnvironment.
CreateWindows
(),
Projects\GuestAppHostProjectTests.cs (2)
2655
var project = CreateGuestAppHostProject(environment: TestEnvironment.
CreateWindows
());
2741
var environment = TestEnvironment.
CreateWindows
(new Dictionary<string, string?>
Projects\TypeScriptAppHostToolchainResolverTests.cs (1)
316
TestEnvironment.
CreateWindows
(),