577 references to Instance
aspire (8)
Aspire.Cli.Tests (244)
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();
Commands\AddCommandTests.cs (39)
423PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
424PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance)
495PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
496PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new TestFeatures(), NullLogger.Instance)
582PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
583PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, [new PackageMapping("Aspire*", "stable")], stableCache, new TestFeatures(), NullLogger.Instance)
677PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
678PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance)
788PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
789PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new TestFeatures(), NullLogger.Instance)
930PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
931PackageChannel.CreateExplicitChannel("test-hive", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "test-hive")], explicitCache, new TestFeatures(), NullLogger.Instance)
2218var channel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2266var channel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2314var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2317var explicitChannel = PackageChannel.CreateExplicitChannel("preview", PackageChannelQuality.Prerelease, mappings, fakeCache, new TestFeatures(), NullLogger.Instance);
2370var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2371var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], fakeCache, new TestFeatures(), NullLogger.Instance);
2406var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
2407var stagingChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], cache, new TestFeatures(), NullLogger.Instance);
2408var dailyChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], cache, new TestFeatures(), NullLogger.Instance);
2409var prChannel = PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], cache, new TestFeatures(), NullLogger.Instance);
2454NullLogger.Instance);
2557PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion),
2560PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion),
2561PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion),
2562PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], prCache, new TestFeatures(), NullLogger.Instance, currentCliVersion: cliVersion)
2631PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance),
2632PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new TestFeatures(), NullLogger.Instance)
3037PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3087PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3137PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3183PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3231PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3278PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3327PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3385PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3439PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
3485PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance)
Commands\InitCommandTests.cs (8)
48var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
1010var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance);
1016features: new TestFeatures(), NullLogger.Instance);
1076var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
1414var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
1759var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2193var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2317features: new TestFeatures(), NullLogger.Instance);
Commands\NewCommandTests.cs (12)
366var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new TestFeatures(), NullLogger.Instance);
367var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
444var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], fakeCache, new TestFeatures(), NullLogger.Instance);
521var prChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, [], fakeCache, new TestFeatures(), NullLogger.Instance);
1232NullLogger.Instance);
1277NullLogger.Instance);
1786var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new TestFeatures(), NullLogger.Instance);
1983var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
2058var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
2112var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
2223var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance);
3545var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
Commands\TelemetryCommandTests.cs (8)
395factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
412factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
426factory, "http://localhost:18888", "wrong-token", NullLogger.Instance, CancellationToken.None);
440factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
453factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
467factory, "http://localhost:18888", "browser-token", NullLogger.Instance, CancellationToken.None);
488factory, "http://localhost:18888", "my-token", NullLogger.Instance, CancellationToken.None);
508factory, "http://localhost:18888", "my-token", NullLogger.Instance, CancellationToken.None);
Commands\UpdateCommandTests.cs (32)
346NullLogger.Instance,
593NullLogger.Instance,
672NullLogger.Instance,
749NullLogger.Instance,
915NullLogger.Instance,
993NullLogger.Instance,
1151NullLogger.Instance,
1699var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1700var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1764var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1765var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1818var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1819var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1885var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
1886var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
1946var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
2008var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2163PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance),
2221PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance),
2222PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance),
2449var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2450var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2451var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2452var hiveChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2862var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
2863var stagingChannel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2864var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance);
2877channels.Add(PackageChannel.CreateExplicitChannel(hive.Name, PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance));
2884channels.Add(PackageChannel.CreateExplicitChannel(PackageChannelNames.Local, PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance));
3154var stableChannel = new PackageChannel("stable", PackageChannelQuality.Stable, null, null!, null!, NullLogger.Instance);
3155var dailyChannel = new PackageChannel("daily", PackageChannelQuality.Prerelease, null, null!, null!, NullLogger.Instance);
3483NullLogger.Instance,
Packaging\NuGetConfigMergerTests.cs (2)
29private static PackageChannel CreateChannel(PackageMapping[] mappings) => PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
194var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
Packaging\PackageChannelTests.cs (33)
24var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
44var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
64var channel = PackageChannel.CreateExplicitChannel("pr-10981", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
84var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance, configureGlobalPackagesFolder: true);
100var channel = PackageChannel.CreateExplicitChannel("empty", PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
123NullLogger.Instance,
157NullLogger.Instance,
198NullLogger.Instance,
237NullLogger.Instance,
287NullLogger.Instance);
311var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
369var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance, pinnedVersion: pinnedVersion);
417var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance, pinnedVersion: pinnedVersion);
446NullLogger.Instance,
475var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
520NullLogger.Instance);
561NullLogger.Instance);
606NullLogger.Instance);
761NullLogger.Instance,
792NullLogger.Instance,
816var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
832var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
848var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
864var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
875var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
889var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, [], cache, new TestFeatures(), NullLogger.Instance);
912var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
929var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
944var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new TestFeatures(), NullLogger.Instance);
960var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new TestFeatures(), NullLogger.Instance);
979var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance);
989var channel = PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance);
1007return 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 (5)
343}, nugetCache, new TestFeatures(), NullLogger.Instance);
349}, nugetCache, new TestFeatures(), NullLogger.Instance);
351var implicitChannel = PackageChannel.CreateImplicitChannel(nugetCache, new TestFeatures(), NullLogger.Instance);
436}, nugetCache, new TestFeatures(), NullLogger.Instance);
490}, nugetCache, new TestFeatures(), NullLogger.Instance);
Projects\PrebuiltAppHostServerTests.cs (25)
87Assert.False(PrebuiltAppHostServer.CanSkipIntegrationRestore(workspace.WorkspaceRoot.FullName, "fingerprint", NullLogger.Instance));
96Assert.False(PrebuiltAppHostServer.CanSkipIntegrationRestore(workspace.WorkspaceRoot.FullName, "fingerprint", NullLogger.Instance));
105Assert.False(PrebuiltAppHostServer.CanSkipIntegrationRestore(workspace.WorkspaceRoot.FullName, "new-fingerprint", NullLogger.Instance));
114Assert.True(PrebuiltAppHostServer.CanSkipIntegrationRestore(workspace.WorkspaceRoot.FullName, "fingerprint", NullLogger.Instance));
753NullLogger.Instance,
899features: new TestFeatures(), NullLogger.Instance);
926NullLogger.Instance,
975features: new TestFeatures(), NullLogger.Instance);
1021features: new TestFeatures(), NullLogger.Instance);
1075features: new TestFeatures(), NullLogger.Instance);
1097features: new TestFeatures(), NullLogger.Instance);
1121features: new TestFeatures(), NullLogger.Instance);
1215"daily", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1244"daily", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1298NullLogger.Instance);
1313channelName, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1575features: new TestFeatures(), NullLogger.Instance);
1634features: new TestFeatures(), NullLogger.Instance);
1698features: new TestFeatures(), NullLogger.Instance);
1753features: new TestFeatures(), NullLogger.Instance);
1868features: new TestFeatures(), NullLogger.Instance);
1937features: new TestFeatures(), NullLogger.Instance);
2119features: new TestFeatures(), NullLogger.Instance);
2187features: new TestFeatures(), NullLogger.Instance);
2338NullLogger.Instance);
Templating\TemplateNuGetConfigServiceTests.cs (32)
93features: new TestFeatures(), NullLogger.Instance);
229}, new TestFeatures(), NullLogger.Instance);
262var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
289var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
301features: new TestFeatures(), NullLogger.Instance);
364NullLogger.Instance);
413var implicitChannel = PackageChannel.CreateImplicitChannel(packageCache, new TestFeatures(), NullLogger.Instance);
420NullLogger.Instance,
459NullLogger.Instance,
494NullLogger.Instance,
547var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
608}, new TestFeatures(), NullLogger.Instance);
615NullLogger.Instance,
670}, new TestFeatures(), NullLogger.Instance);
677NullLogger.Instance,
685NullLogger.Instance,
693NullLogger.Instance,
733NullLogger.Instance,
776NullLogger.Instance,
812NullLogger.Instance,
847NullLogger.Instance,
894NullLogger.Instance,
902NullLogger.Instance,
940NullLogger.Instance,
996}, new TestFeatures(), NullLogger.Instance);
1003NullLogger.Instance,
1045var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
1055NullLogger.Instance);
1113features: new TestFeatures(), NullLogger.Instance);
1151features: new TestFeatures(), NullLogger.Instance);
1196features: new TestFeatures(), NullLogger.Instance);
1253features: new TestFeatures(), NullLogger.Instance);
Aspire.Dashboard (1)
Aspire.Dashboard.Components.Tests (7)
Aspire.Dashboard.Tests (34)
Model\ApplicationsSelectHelpersTests.cs (6)
57var app = appVMs.GetResource(NullLogger.Instance, "multiple-instanceabc", canSelectGrouping: false, null!);
74var app = appVMs.GetResource(NullLogger.Instance, "singleton", canSelectGrouping: false, null!);
91var app = appVMs.GetResource(NullLogger.Instance, "singleton-", canSelectGrouping: false, null!);
112var app = appVMs.GetResource(NullLogger.Instance, name, canSelectGrouping: false, null!);
224var app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: false, null!);
261var app = appVMs.GetResource(NullLogger.Instance, "app", canSelectGrouping: true, null!);
Aspire.Hosting (10)
Aspire.Hosting.Azure.Kubernetes.Tests (8)
Aspire.Hosting.Azure.Tests (108)
AzureEnvironmentResourceExtensionsTests.cs (62)
361Logger = NullLogger.Instance,
415Logger = NullLogger.Instance,
753Logger = NullLogger.Instance,
834Logger = NullLogger.Instance,
918Logger = NullLogger.Instance,
1187Logger = NullLogger.Instance,
1251Logger = NullLogger.Instance,
1312Logger = NullLogger.Instance,
1373Logger = NullLogger.Instance,
1508Logger = NullLogger.Instance,
1566Logger = NullLogger.Instance,
1617Logger = NullLogger.Instance,
1629Logger = NullLogger.Instance,
1713Logger = NullLogger.Instance,
1797Logger = NullLogger.Instance,
1891Logger = NullLogger.Instance,
1962Logger = NullLogger.Instance,
2040Logger = NullLogger.Instance,
2054Logger = NullLogger.Instance,
2119Logger = NullLogger.Instance,
2183Logger = NullLogger.Instance,
2237Logger = NullLogger.Instance,
2297Logger = NullLogger.Instance,
2374Logger = NullLogger.Instance,
2388Logger = NullLogger.Instance,
2451Logger = NullLogger.Instance,
2468Logger = NullLogger.Instance,
2549Logger = NullLogger.Instance,
2595Logger = NullLogger.Instance,
2648Logger = NullLogger.Instance,
2662Logger = NullLogger.Instance,
2715Logger = NullLogger.Instance,
2788Logger = NullLogger.Instance,
2841Logger = NullLogger.Instance,
2901Logger = NullLogger.Instance,
2962Logger = NullLogger.Instance,
3032Logger = NullLogger.Instance,
3093Logger = NullLogger.Instance,
3162Logger = NullLogger.Instance,
3219Logger = NullLogger.Instance,
3282Logger = NullLogger.Instance,
3353Logger = NullLogger.Instance,
3408Logger = NullLogger.Instance,
3448Logger = NullLogger.Instance,
3522Logger = NullLogger.Instance,
3570Logger = NullLogger.Instance,
3626Logger = NullLogger.Instance,
3773Logger = NullLogger.Instance,
3852Logger = NullLogger.Instance,
3924Logger = NullLogger.Instance,
4004Logger = NullLogger.Instance,
4078Logger = NullLogger.Instance,
4130Logger = NullLogger.Instance,
4176Logger = NullLogger.Instance,
4222Logger = NullLogger.Instance,
4290Logger = NullLogger.Instance,
4529Logger = NullLogger.Instance,
4581Logger = NullLogger.Instance,
4628Logger = NullLogger.Instance,
4676Logger = NullLogger.Instance,
4814Logger = NullLogger.Instance,
5189NullLogger.Instance,
AzureSandboxesTests.cs (44)
66NullLogger.Instance,
113NullLogger.Instance,
522var client = new AzureDevComputeClient(new HttpClient(handler), credential, NullLogger.Instance);
569NullLogger.Instance);
646var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
676var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1050NullLogger.Instance,
1082NullLogger.Instance,
1120NullLogger.Instance,
1189NullLogger.Instance,
1236NullLogger.Instance,
1309var client = new AzureDevComputeClient(new HttpClient(handler), credential, NullLogger.Instance, TimeSpan.Zero);
1333NullLogger.Instance,
1383var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1405var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1425var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1450var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance, TimeSpan.Zero);
1473NullLogger.Instance,
1496NullLogger.Instance,
1522NullLogger.Instance,
1548NullLogger.Instance,
1571NullLogger.Instance,
1593NullLogger.Instance,
1617NullLogger.Instance,
1637var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1659var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1682var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1750var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1813var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1864var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1917var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
1969var client = new AzureDevComputeClient(new HttpClient(handler), new RecordingTokenCredential(), NullLogger.Instance);
2367NullLogger.Instance,
2383NullLogger.Instance,
2614NullLogger.Instance,
2718NullLogger.Instance,
2877NullLogger.Instance,
2912NullLogger.Instance,
2949NullLogger.Instance,
3104NullLogger.Instance,
3159NullLogger.Instance,
3192NullLogger.Instance,
3256NullLogger.Instance,
3293NullLogger.Instance,
Aspire.Hosting.Blazor.Tests (4)
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 (10)
Aspire.Hosting.Dotnet.Tests (21)
DotnetProjectBuildCoordinatorTests.cs (17)
195NullLogger.Instance,
240NullLogger.Instance,
295NullLogger.Instance,
301NullLogger.Instance,
365build.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken)));
486var buildProjectPath = await buildResource.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
512var buildProjectPath = await buildResource.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
580buildResource.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken)));
1710NullLogger.Instance,
1752buildResource.GetBuildTargetPathAsync(NullLogger.Instance, TestContext.Current.CancellationToken)));
1898NullLogger.Instance,
1931NullLogger.Instance,
1964NullLogger.Instance,
2132() => buildResource.WriteBuildProjectAsync(NullLogger.Instance, canceledCts.Token));
2134var buildProjectPath = await buildResource.WriteBuildProjectAsync(NullLogger.Instance, TestContext.Current.CancellationToken);
2509Logger = NullLogger.Instance,
3088.BuildAsync(executionContext, NullLogger.Instance, cancellationToken);
Aspire.Hosting.EntityFrameworkCore.Tests (5)
Aspire.Hosting.Foundry.Tests (5)
Aspire.Hosting.Kubernetes.Tests (4)
Aspire.Hosting.Radius (4)
Aspire.Hosting.Radius.Tests (10)
Publishing\SealedSecretPublishTests.cs (3)
157copyMethod.Invoke(null, [options, outputDir, NullLogger.Instance]);
185copyMethod.Invoke(null, [BuildOptionsForStore("db-creds", manifestA), outputDir, NullLogger.Instance]);
189copyMethod.Invoke(null, [BuildOptionsForStore("cache-creds", manifestB), outputDir, NullLogger.Instance]);
Aspire.Hosting.RemoteHost.Tests (3)
Aspire.Hosting.Tests (43)
ExecutionConfigurationGathererTests.cs (27)
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);
132await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
155await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
175await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
199await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
222await gatherer.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
257await gatherer.GatherAsync(context, consumer, NullLogger.Instance, builder.ExecutionContext);
296await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
324await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
354await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
382await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
404await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
430await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
464await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
494await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
530await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
590await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
653await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
688await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
722await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
752await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
772await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
795await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
839await gatherer.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
ProjectResourceBuilderExtensionTests.cs (4)
159.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
187.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
189.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
210.GatherAsync(context, resource, NullLogger.Instance, builder.ExecutionContext);
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 (2)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
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 (3)
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)