884 references to Instance
aspire (16)
Aspire.Cli.Tests (364)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (2)
152return await AppHostAuxiliaryBackchannel.CreateFromSocketAsync(new TestAppHostSocket("socket.hash1"), isInScope: true, NullLogger.Instance, new ProfilingTelemetry(new ConfigurationBuilder().Build()), clientSocket, timeout, CancellationToken.None).DefaultTimeout();
155return await AppHostAuxiliaryBackchannel.CreateFromSocketAsync(new TestAppHostSocket("socket.hash1"), isInScope: true, NullLogger.Instance, new ProfilingTelemetry(new ConfigurationBuilder().Build()), clientSocket, CancellationToken.None).DefaultTimeout();
Certificates\UnixCertificateManagerTests.cs (6)
423var manager = new UnixCertificateManager(NullLogger.Instance, environment, nssDbOverride: null, startInfo =>
469var manager = new UnixCertificateManager(NullLogger.Instance, environment, nssDbOverride: null, startInfo =>
503var manager = new UnixCertificateManager(NullLogger.Instance, environment, nssDbOverride: null);
573var manager = new UnixCertificateManager(NullLogger.Instance, environment, nssDbOverride: null);
608var manager = new UnixCertificateManager(NullLogger.Instance, environment, nssDbOverride: null);
683return new UnixCertificateManager(NullLogger.Instance, environment, nssDbOverride);
Commands\AddCommandTests.cs (42)
1262PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
1263PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance)
1334PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
1335PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new TestFeatures(), NullLogger.Instance)
1421PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
1422PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, [new PackageMapping("Aspire*", "stable")], stableCache, new TestFeatures(), NullLogger.Instance)
1516PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
1517PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance)
1647PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
1648PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new TestFeatures(), NullLogger.Instance)
1789PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
1790PackageChannel.CreateExplicitChannel("test-hive", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "test-hive")], explicitCache, new TestFeatures(), NullLogger.Instance)
2287NullLogger.Instance);
3213var channel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
3261var channel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
3309var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
3312var explicitChannel = PackageChannel.CreateExplicitChannel("preview", PackageChannelQuality.Prerelease, mappings, fakeCache, new TestFeatures(), NullLogger.Instance);
3365var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
3366var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], fakeCache, new TestFeatures(), NullLogger.Instance);
3401var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
3402var stagingChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], cache, new TestFeatures(), NullLogger.Instance);
3403var dailyChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], cache, new TestFeatures(), NullLogger.Instance);
3404var prChannel = PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], cache, new TestFeatures(), NullLogger.Instance);
3449NullLogger.Instance);
3552PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion),
3555PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion),
3556PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion),
3557PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], prCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion)
3626PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
3627PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance)
4120PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4179PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4230PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4271NullLogger.Instance,
4343PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4389PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4437PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4484PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4533PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4591PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4645PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
4691PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
Commands\InitCommandTests.cs (8)
99var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
1326var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance);
1332features: new TestFeatures(), NullLogger.Instance);
1392var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
1730var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2076var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2505var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2629features: new TestFeatures(), NullLogger.Instance);
Commands\NewCommandTests.cs (12)
399var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new TestFeatures(), NullLogger.Instance);
400var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
477var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], fakeCache, new TestFeatures(), NullLogger.Instance);
554var prChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, [], fakeCache, new TestFeatures(), NullLogger.Instance);
1314NullLogger.Instance);
1359NullLogger.Instance);
1940var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new TestFeatures(), NullLogger.Instance);
2137var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
2212var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
2266var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
2384var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
3725var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
Commands\TelemetryCommandTests.cs (10)
455NullLogger.Instance,
514NullLogger.Instance,
611factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
628factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
642factory, "http://localhost:18888", "wrong-token", NullLogger.Instance, CancellationToken.None);
656factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
669factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
683factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
704factory, "http://localhost:18888", "my-token", NullLogger.Instance, CancellationToken.None);
724factory, "http://localhost:18888", "my-token", NullLogger.Instance, CancellationToken.None);
Commands\UpdateCommandRepositoryToolsTests.cs (4)
152new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance,
268new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance,
495new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance,
597}, new TestFeatures(), NullLogger.Instance, cliDownloadBaseUrl: "https://example.invalid/cli")
Commands\UpdateCommandTests.cs (33)
346NullLogger.Instance,
645NullLogger.Instance,
724NullLogger.Instance,
801NullLogger.Instance,
967NullLogger.Instance,
1045NullLogger.Instance,
1203NullLogger.Instance,
1207[PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance), prChannel]);
1752var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1753var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1817var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1818var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1871var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1872var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1938var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1939var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
2003var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
2065var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2224PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance),
2282PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance),
2283PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance),
2515var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2516var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2517var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2518var hiveChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
3044var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
3045var stagingChannel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
3046var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
3059channels.Add(PackageChannel.CreateExplicitChannel(hive.Name, PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance));
3066channels.Add(PackageChannel.CreateExplicitChannel(PackageChannelNames.Local, PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance));
3336var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
3337var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
3665NullLogger.Instance,
DotNet\DotNetAppHostNuGetConfigMergerTests.cs (4)
34private static PackageChannel CreateChannel(PackageMapping[] mappings) => PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
699var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1169new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1784new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
Mcp\AppHostConnectionSelectionLogicTests.cs (10)
165NullLogger.Instance,
176var selected = await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken);
193var selected = await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken);
219var selected = await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken);
227await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken));
250var selected = await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken);
268await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken));
290NullLogger.Instance,
309NullLogger.Instance,
327await AppHostConnectionHelper.GetSelectedConnectionAsync(monitor, NullLogger.Instance, TestContext.Current.CancellationToken));
NuGet\NuGetConfigurationTests.cs (8)
37new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
63new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
94new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
114new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
276new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
339new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
384new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
414new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
Packaging\PackageChannelTests.cs (36)
68new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance)
127var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
147var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
167var channel = PackageChannel.CreateExplicitChannel("pr-10981", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
187var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance, configureGlobalPackagesFolder: true);
203var channel = PackageChannel.CreateExplicitChannel("empty", PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
226NullLogger.Instance,
260NullLogger.Instance,
295NullLogger.Instance,
352NullLogger.Instance,
391NullLogger.Instance,
441NullLogger.Instance);
465var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
523var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance, pinnedVersion: pinnedVersion);
571var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance, pinnedVersion: pinnedVersion);
600NullLogger.Instance,
629var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
674NullLogger.Instance);
715NullLogger.Instance);
760NullLogger.Instance);
915NullLogger.Instance,
946NullLogger.Instance,
970var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
986var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
1002var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
1018var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
1029var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
1043var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, [], cache, new TestFeatures(), NullLogger.Instance);
1060new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1082var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
1099var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
1114var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
1130var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
1149var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
1159var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
1177return PackageChannel.CreateExplicitChannel("local", quality, mappings, cache, features ?? new TestFeatures(), NullLogger.Instance);
Processes\LauncherLivenessMonitorTests.cs (4)
22var monitor = LauncherLivenessMonitor.StartIfConfigured(configuration, runCts, TimeProvider.System, NullLogger.Instance);
38await using var monitor = LauncherLivenessMonitor.StartIfConfigured(configuration, runCts, TimeProvider.System, NullLogger.Instance);
62await using (var monitor = LauncherLivenessMonitor.StartIfConfigured(configuration, runCts, TimeProvider.System, NullLogger.Instance))
81var monitor = LauncherLivenessMonitor.StartIfConfigured(configuration, runCts, TimeProvider.System, NullLogger.Instance);
Projects\AppHostServerProjectTests.cs (6)
494}, nugetCache, new TestFeatures(), NullLogger.Instance);
500}, nugetCache, new TestFeatures(), NullLogger.Instance);
502var implicitChannel = PackageChannel.CreateImplicitChannel(nugetCache, new TestFeatures(), NullLogger.Instance);
587}, nugetCache, new TestFeatures(), NullLogger.Instance);
631}, nugetCache, new TestFeatures(), NullLogger.Instance);
677}, nugetCache, new TestFeatures(), NullLogger.Instance);
Projects\GuestAppHostProjectTests.cs (12)
80new NativeAppHostServerProject(path, executable, new TestProcessExecutionFactory(), NullLogger.Instance))
1138var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
1655features: new TestFeatures(), NullLogger.Instance);
1721features: new TestFeatures(), NullLogger.Instance);
1779features: new TestFeatures(), NullLogger.Instance);
1839NullLogger.Instance);
1893NullLogger.Instance);
2211new NativeAppHostServerProject(path, executable, new TestProcessExecutionFactory(), NullLogger.Instance))
2339? PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [], cache, new TestFeatures(), NullLogger.Instance)
2340: PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
2384var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2474var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
Projects\NativeAppHostServerProjectTests.cs (8)
119Path.Combine(workspace.Path, "missing"), new TestProcessExecutionFactory(), NullLogger.Instance));
128using var project = new NativeAppHostServerProject(workspace.Path, executable, new TestProcessExecutionFactory(), NullLogger.Instance);
151using var project = new NativeAppHostServerProject(workspace.Path, executable, new TestProcessExecutionFactory(), NullLogger.Instance);
190using (var project = new NativeAppHostServerProject(workspace.Path, executable, factory, NullLogger.Instance))
239using var project = new NativeAppHostServerProject(workspace.Path, executable, processes, NullLogger.Instance);
272using var project = new NativeAppHostServerProject(workspace.Path, executable, factory, NullLogger.Instance)
341using var project = new NativeAppHostServerProject(workspace.Path, executable, factory, NullLogger.Instance)
449new TestProcessExecutionFactory(), NullLogger.Instance);
Projects\PrebuiltAppHostServerTests.cs (41)
254NullLogger.Instance);
276NullLogger.Instance);
383new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
395CreateContextWithIdentityChannel(channelName, sdkVersion), NullLogger.Instance);
1045NullLogger.Instance);
1090NullLogger.Instance);
1141NullLogger.Instance);
1184NullLogger.Instance);
1191NullLogger.Instance);
1407NullLogger.Instance,
1524NullLogger.Instance,
1920features: new TestFeatures(), NullLogger.Instance);
1950NullLogger.Instance,
2008features: new TestFeatures(), NullLogger.Instance);
2042NullLogger.Instance);
2078NullLogger.Instance);
2132features: new TestFeatures(), NullLogger.Instance);
2201features: new TestFeatures(), NullLogger.Instance);
2223features: new TestFeatures(), NullLogger.Instance);
2245features: new TestFeatures(), NullLogger.Instance);
2330"daily", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
2357"daily", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
2415NullLogger.Instance);
2430channelName, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
2724features: new TestFeatures(), NullLogger.Instance);
2773features: new TestFeatures(), NullLogger.Instance);
2827features: new TestFeatures(), NullLogger.Instance);
2873features: new TestFeatures(), NullLogger.Instance);
2964features: new TestFeatures(), NullLogger.Instance);
3025features: new TestFeatures(), NullLogger.Instance);
3186logger: NullLogger.Instance);
3284logger: NullLogger.Instance,
3453logger: NullLogger.Instance);
3593logger: NullLogger.Instance);
3714NullLogger.Instance);
3799NullLogger.Instance);
3876NullLogger.Instance);
3940NullLogger.Instance);
4206features: new TestFeatures(), NullLogger.Instance);
4381NullLogger.Instance,
4581NullLogger.Instance);
Projects\ProjectUpdaterNuGetConfigurationTests.cs (11)
333provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
492provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
688provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance,
943provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
993provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
1106provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
1279provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
1411provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
1550provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
1619provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
1697provider.GetRequiredService<INuGetPackageCache>(), new TestFeatures(), NullLogger.Instance);
Projects\RepositoryToolUpdaterTests.cs (5)
232var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
289var channel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, [], cache, new TestFeatures(), NullLogger.Instance);
624var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
795? PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance)
796: PackageChannel.CreateExplicitChannel(name, PackageChannelQuality.Both, [], cache, new TestFeatures(), NullLogger.Instance);
Templating\TemplateNuGetConfigServiceTests.cs (38)
51new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
97new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
140new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
183new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance,
227new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
319features: new TestFeatures(), NullLogger.Instance);
459}, new TestFeatures(), NullLogger.Instance);
492var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
519var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
531features: new TestFeatures(), NullLogger.Instance);
594NullLogger.Instance);
643var implicitChannel = PackageChannel.CreateImplicitChannel(packageCache, new TestFeatures(), NullLogger.Instance);
650NullLogger.Instance,
689NullLogger.Instance,
724NullLogger.Instance,
777var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
838}, new TestFeatures(), NullLogger.Instance);
845NullLogger.Instance,
900}, new TestFeatures(), NullLogger.Instance);
907NullLogger.Instance,
915NullLogger.Instance,
923NullLogger.Instance,
963NullLogger.Instance,
1006NullLogger.Instance,
1042NullLogger.Instance,
1077NullLogger.Instance,
1124NullLogger.Instance,
1132NullLogger.Instance,
1170NullLogger.Instance,
1226}, new TestFeatures(), NullLogger.Instance);
1233NullLogger.Instance,
1275var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1285NullLogger.Instance);
1351features: new TestFeatures(), NullLogger.Instance);
1390features: new TestFeatures(), NullLogger.Instance);
1435features: new TestFeatures(), NullLogger.Instance);
1485features: new TestFeatures(), NullLogger.Instance);
1549new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance)
Aspire.Dashboard (5)
Aspire.Dashboard.Components.Tests (14)
Aspire.Dashboard.Playwright.Tests (1)
Aspire.Dashboard.Tests (40)
Model\ApplicationsSelectHelpersTests.cs (9)
57var app = appVMs.GetResource(NullLogger.Instance, "multiple-instanceabc", canSelectGrouping: false, null!);
73var app = appVMs.GetResource(NullLogger.Instance, "dotnet-cli-6a764b7d", canSelectGrouping: true, null!);
107Assert.Same(replica, appVMs.GetResource(NullLogger.Instance, replica.Id!.InstanceId, canSelectGrouping, null!));
122var app = appVMs.GetResource(NullLogger.Instance, "dotnet-cli-6a764b7d", canSelectGrouping: false, null!);
177var app = appVMs.GetResource(NullLogger.Instance, "singleton", canSelectGrouping: false, null!);
194var app = appVMs.GetResource(NullLogger.Instance, "singleton-", canSelectGrouping: false, null!);
215var app = appVMs.GetResource(NullLogger.Instance, name, canSelectGrouping: false, null!);
327var app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: false, null!);
364var app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: true, null!);
Aspire.Hosting (10)
Aspire.Hosting.Azure.EntraId.Tests (5)
LocalDeveloperCertificateProvisioningTests.cs (3)
33Assert.Equal(initialChecksum, await BicepUtilities.GetCurrentChecksumAsync(entra.Resource, section, builder.ExecutionContext, NullLogger.Instance, TestContext.Current.CancellationToken));
37Assert.Equal(initialChecksum, await BicepUtilities.GetCurrentChecksumAsync(entra.Resource, section, builder.ExecutionContext, NullLogger.Instance, TestContext.Current.CancellationToken));
47var renewedChecksum = await BicepUtilities.GetCurrentChecksumAsync(entra.Resource, section, builder.ExecutionContext, NullLogger.Instance, TestContext.Current.CancellationToken);
Aspire.Hosting.Azure.Kubernetes.Tests (8)
Aspire.Hosting.Azure.Tests (120)
AzureEnvironmentResourceExtensionsTests.cs (65)
112Logger = NullLogger.Instance,
184Logger = NullLogger.Instance,
309Logger = NullLogger.Instance,
657Logger = NullLogger.Instance,
711Logger = NullLogger.Instance,
1071Logger = NullLogger.Instance,
1152Logger = NullLogger.Instance,
1236Logger = NullLogger.Instance,
1505Logger = NullLogger.Instance,
1569Logger = NullLogger.Instance,
1630Logger = NullLogger.Instance,
1691Logger = NullLogger.Instance,
1826Logger = NullLogger.Instance,
1884Logger = NullLogger.Instance,
1935Logger = NullLogger.Instance,
1947Logger = NullLogger.Instance,
2031Logger = NullLogger.Instance,
2115Logger = NullLogger.Instance,
2209Logger = NullLogger.Instance,
2280Logger = NullLogger.Instance,
2358Logger = NullLogger.Instance,
2372Logger = NullLogger.Instance,
2437Logger = NullLogger.Instance,
2501Logger = NullLogger.Instance,
2555Logger = NullLogger.Instance,
2615Logger = NullLogger.Instance,
2692Logger = NullLogger.Instance,
2706Logger = NullLogger.Instance,
2769Logger = NullLogger.Instance,
2786Logger = NullLogger.Instance,
2867Logger = NullLogger.Instance,
2913Logger = NullLogger.Instance,
2966Logger = NullLogger.Instance,
2980Logger = NullLogger.Instance,
3033Logger = NullLogger.Instance,
3106Logger = NullLogger.Instance,
3159Logger = NullLogger.Instance,
3219Logger = NullLogger.Instance,
3280Logger = NullLogger.Instance,
3350Logger = NullLogger.Instance,
3411Logger = NullLogger.Instance,
3480Logger = NullLogger.Instance,
3537Logger = NullLogger.Instance,
3600Logger = NullLogger.Instance,
3671Logger = NullLogger.Instance,
3726Logger = NullLogger.Instance,
3766Logger = NullLogger.Instance,
3840Logger = NullLogger.Instance,
3888Logger = NullLogger.Instance,
3944Logger = NullLogger.Instance,
4091Logger = NullLogger.Instance,
4170Logger = NullLogger.Instance,
4242Logger = NullLogger.Instance,
4322Logger = NullLogger.Instance,
4396Logger = NullLogger.Instance,
4448Logger = NullLogger.Instance,
4494Logger = NullLogger.Instance,
4540Logger = NullLogger.Instance,
4608Logger = NullLogger.Instance,
4847Logger = NullLogger.Instance,
4899Logger = NullLogger.Instance,
4946Logger = NullLogger.Instance,
4994Logger = NullLogger.Instance,
5132Logger = NullLogger.Instance,
5519NullLogger.Instance,
AzureSandboxesTests.cs (43)
97NullLogger.Instance,
144NullLogger.Instance,
554var client = new AzureDevComputeClient(new HttpClient(handler), credential, NullLogger.Instance);
601NullLogger.Instance);
678var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
708var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1082NullLogger.Instance,
1114NullLogger.Instance,
1152NullLogger.Instance,
1221NullLogger.Instance,
1268NullLogger.Instance,
1341var client = new AzureDevComputeClient(new HttpClient(handler), credential, NullLogger.Instance, TimeSpan.Zero);
1365NullLogger.Instance,
1415var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1437var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1457var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1482var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1505NullLogger.Instance,
1528NullLogger.Instance,
1554NullLogger.Instance,
1580NullLogger.Instance,
1603NullLogger.Instance,
1665NullLogger.Instance,
1685var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1707var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1730var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1798var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1861var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1912var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1965var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
2017var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
2415NullLogger.Instance,
2431NullLogger.Instance,
2717NullLogger.Instance,
2840NullLogger.Instance,
2999NullLogger.Instance,
3034NullLogger.Instance,
3071NullLogger.Instance,
3226NullLogger.Instance,
3281NullLogger.Instance,
3314NullLogger.Instance,
3378NullLogger.Instance,
3415NullLogger.Instance,
BicepUtilitiesTests.cs (7)
193resource.Resource, cached, builder.ExecutionContext, NullLogger.Instance));
200resource.Resource, cached, builder.ExecutionContext, NullLogger.Instance);
661var result = await BicepUtilities.GetCurrentChecksumAsync(bicep, stateSection, builder.ExecutionContext, NullLogger.Instance);
677var result = await BicepUtilities.GetCurrentChecksumAsync(bicep, stateSection, builder.ExecutionContext, NullLogger.Instance);
699var result = await BicepUtilities.GetCurrentChecksumAsync(bicep, stateSection, builder.ExecutionContext, NullLogger.Instance);
724var result = await BicepUtilities.GetCurrentChecksumAsync(bicep, stateSection, builder.ExecutionContext, NullLogger.Instance);
762var result = await BicepUtilities.GetCurrentChecksumAsync(bicep, stateSection, builder.ExecutionContext, NullLogger.Instance);
Aspire.Hosting.Blazor (1)
Aspire.Hosting.Blazor.Tests (8)
Aspire.Hosting.Browsers.Tests (6)
BrowserPageSessionTests.cs (6)
56new BrowserConnectionDiagnosticsLogger("session-0001", NullLogger.Instance),
114new BrowserConnectionDiagnosticsLogger("session-0001", NullLogger.Instance),
154new BrowserConnectionDiagnosticsLogger("session-0001", NullLogger.Instance),
184new BrowserConnectionDiagnosticsLogger("session-0001", NullLogger.Instance),
222new BrowserConnectionDiagnosticsLogger("session-0001", NullLogger.Instance),
300new BrowserConnectionDiagnosticsLogger("session-0001", NullLogger.Instance),
Aspire.Hosting.DevTunnels.Tests (11)
DevTunnelAccessStatusTests.cs (8)
16Assert.Equal("Denied", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
26Assert.Equal("Allowed", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
36Assert.Equal("Allowed", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
49Assert.Equal("Denied", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
61Assert.Equal("Denied", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
74Assert.Equal("Allowed", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
87Assert.Equal("Denied", status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
104Assert.Equal(expected, status.LogAnonymousAccessPolicy(NullLogger.Instance, s_now));
Aspire.Hosting.Docker.Tests (2)
Aspire.Hosting.Dotnet.Tests (27)
DotnetProjectBuildCoordinatorTests.cs (23)
414NullLogger.Instance,
533NullLogger.Instance,
684NullLogger.Instance,
687NullLogger.Instance,
776build.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken)));
909var buildProjectPath = await buildResource.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
948NullLogger.Instance,
1001NullLogger.Instance,
1047var buildProjectPath = await buildResource.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
1065var unifiedPath = await unified.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
1066var individualPath = await individual.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
1291buildResource.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken)));
1798NullLogger.Instance,
3064NullLogger.Instance,
3113buildResource.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken)));
3259NullLogger.Instance,
3292NullLogger.Instance,
3325NullLogger.Instance,
3499() => buildResource.WriteBuildProjectAsync(NullLogger.Instance, canceledCts.Token));
3501var buildProjectPath = await buildResource.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
4062Logger = NullLogger.Instance,
4614var path = await resource.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
5063.BuildAsync(executionContext, NullLogger.Instance, cancellationToken);
Aspire.Hosting.EntityFrameworkCore.Tests (8)
Aspire.Hosting.Foundry.Tests (10)
Aspire.Hosting.Go.Tests (2)
Aspire.Hosting.Kubernetes.Tests (7)
Aspire.Hosting.MongoDB.Tests (2)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.Native.Client (1)
Aspire.Hosting.Native.Core.Tests (29)
NativeSocketIsolationTests.cs (7)
28using var listener = new NativeRpcListener(new IPEndPoint(IPAddress.Loopback, 0), Token, NullLogger.Instance,
267Assert.Throws<IOException>(() => new NativeRpcListener(new UnixDomainSocketEndPoint(directory.SocketPath), Token, NullLogger.Instance));
281var first = new NativeRpcListener(endPoint, Token, NullLogger.Instance);
285Assert.Throws<SocketException>(() => new NativeRpcListener(endPoint, Token, NullLogger.Instance));
293using var replacement = new NativeRpcListener(endPoint, Token, NullLogger.Instance);
309using var listener = new NativeRpcListener(endPoint, Token, NullLogger.Instance);
318using var replacement = new NativeRpcListener(endPoint, Token, NullLogger.Instance);
Aspire.Hosting.Native.Server (4)
Rpc\NativeRpcConnection.cs (2)
242: this(token, server, ownsServer: false, languages, options, NullLogger.Instance)
253NativeServerOptions options) : this(token, server, ownsServer, languages, options, NullLogger.Instance)
Aspire.Hosting.PostgreSQL.Tests (2)
Aspire.Hosting.Radius (4)
Aspire.Hosting.Radius.Tests (28)
Publishing\RadiusDeployParametersTests.cs (15)
50new ResourceTypeMapper(NullLogger.Instance), NullLogger.Instance);
76new ResourceTypeMapper(NullLogger.Instance), NullLogger.Instance);
88await Verify(BicepPostProcessor.CompileBicep(options, "myenv", NullLogger.Instance), "bicep");
107new ResourceTypeMapper(NullLogger.Instance), NullLogger.Instance);
121await Assert.ThrowsAsync<MissingParameterValueException>(() => step.WriteDeployParametersFileAsync(NullLogger.Instance, default));
126var path = await step.WriteDeployParametersFileAsync(NullLogger.Instance, default);
130await Verify(BicepPostProcessor.CompileBicep(options, "myenv", NullLogger.Instance), "bicep")
135RadiusDeploymentPipelineStep.DeleteDeployParametersFile(path, NullLogger.Instance);
184var path = await step.WriteDeployParametersFileAsync(NullLogger.Instance, default);
209RadiusDeploymentPipelineStep.DeleteDeployParametersFile(path, NullLogger.Instance);
236var path = await step.WriteDeployParametersFileAsync(NullLogger.Instance, default);
256() => step.WriteDeployParametersFileAsync(NullLogger.Instance, default));
Publishing\SealedSecretPublishTests.cs (3)
156copyMethod.Invoke(null, [options, outputDir, NullLogger.Instance]);
184copyMethod.Invoke(null, [BuildOptionsForStore("db-creds", manifestA), outputDir, NullLogger.Instance]);
188copyMethod.Invoke(null, [BuildOptionsForStore("cache-creds", manifestB), outputDir, NullLogger.Instance]);
Aspire.Hosting.Redis.Tests (2)
Aspire.Hosting.RemoteHost.Tests (8)
Aspire.Hosting.SqlServer.Tests (2)
Aspire.Hosting.Tests (85)
ExecutionConfigurationGathererTests.cs (32)
39await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
62await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
82await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
106await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
136.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
138.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
167await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
190await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
210await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
234await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
257await gatherer.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
290await gatherer.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
292var result = await context.ResolveAsync(consumer, NullLogger.Instance, builder.ExecutionContext);
308NullLogger.Instance,
335await gatherer.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
374await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
402await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
432await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
460await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
482await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
508await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
542await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
572await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
608await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
668await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
730await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
765await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
799await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
829await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
849await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
872await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
916await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
ProjectResourceBuilderExtensionTests.cs (12)
160.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
188.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
190.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
211.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
253.GatherAsync(context, project.Resource, NullLogger.Instance, builder.ExecutionContext);
341.GatherAsync(context, project.Resource, NullLogger.Instance, builder.ExecutionContext);
345.GatherAsync(context, project.Resource, NullLogger.Instance, builder.ExecutionContext);
389.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
424.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
461.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
498.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
500.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
Terminals\ResourceAspireTerminalTests.cs (7)
37await using var terminal = new ResourceAspireTerminal("resource:test:0", "test", host.SocketPath, NullLogger.Instance).Handle;
57await using var terminal = new ResourceAspireTerminal("resource:test:0", "test", host.SocketPath, NullLogger.Instance).Handle;
71await using var terminal = new ResourceAspireTerminal("resource:test:0", "test", missingSocket, NullLogger.Instance).Handle;
81var terminal = new ResourceAspireTerminal("resource:test:0", "test", Path.Combine(_socketDirectory, "unused.sock"), NullLogger.Instance).Handle;
94await using var terminal = new ResourceAspireTerminal("resource:test:0", "test", socketPath, NullLogger.Instance).Handle;
111await using var terminal = new ResourceAspireTerminal("resource:test:0", "test", socketPath, NullLogger.Instance).Handle;
131await using var terminal = new ResourceAspireTerminal("resource:test:0", "test", socketPath, NullLogger.Instance).Handle;
VersionChecking\PackageUpdateHelpersTests.cs (5)
56var latestVersion = PackageUpdateHelpers.GetNewerVersion(NullLogger.Instance, new SemVersion(1), packages);
104var latestVersion = PackageUpdateHelpers.GetNewerVersion(NullLogger.Instance, new SemVersion(1), packages);
152var latestVersion = PackageUpdateHelpers.GetNewerVersion(NullLogger.Instance, new SemVersion(10, prerelease: ["dev"]), packages);
166var latestVersion = PackageUpdateHelpers.GetNewerVersion(NullLogger.Instance, new SemVersion(1), packages);
214var latestVersion = PackageUpdateHelpers.GetNewerVersion(NullLogger.Instance, new SemVersion(1), packages);
Aspire.Hosting.TestUtilities (3)
Aspire.Hosting.Valkey.Tests (2)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.TerminalHost.Tests (2)
Aspire.TestUtilities (1)
Microsoft.AspNetCore.Components.AI (3)
Microsoft.AspNetCore.CookiePolicy (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.HttpLogging (2)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Tests (9)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Hybrid.Tests (4)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (2)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Maui (3)
Microsoft.Maui.Maps (2)
NativeIntegrations.AppHost.Sample (1)
NativeIntegrations.Provider (1)
NativeIntegrations.Redis.Provider (1)