464 instantiations of TestFeatures
Aspire.Cli.Tests (464)
Commands\AddCommandTests.cs (51)
190
var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
192
[new PackageMapping("Aspire.Hosting.*", PackageSources.NuGetOrg)], cache, new
TestFeatures
(), NullLogger.Instance)
407
[new PackageMapping("Aspire*", "https://example.test/first")], cache, new
TestFeatures
(), NullLogger.Instance);
409
[new PackageMapping("Aspire*", "https://example.test/second")], cache, new
TestFeatures
(), NullLogger.Instance);
1114
var nuGetClient = new NuGetClient(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance)
1670
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
1671
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance)
1742
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
1743
PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new
TestFeatures
(), NullLogger.Instance)
1829
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
1830
PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, [new PackageMapping("Aspire*", "stable")], stableCache, new
TestFeatures
(), NullLogger.Instance)
1924
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
1925
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance)
2055
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
2056
PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new
TestFeatures
(), NullLogger.Instance)
2197
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
2198
PackageChannel.CreateExplicitChannel("test-hive", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "test-hive")], explicitCache, new
TestFeatures
(), NullLogger.Instance)
2694
new
TestFeatures
(),
3602
var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
3605
[new PackageMapping("Aspire.Hosting.*", feed)], cache, new
TestFeatures
(), NullLogger.Instance)
3657
var channel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
3705
var channel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
3753
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
3756
var explicitChannel = PackageChannel.CreateExplicitChannel("preview", PackageChannelQuality.Prerelease, mappings, fakeCache, new
TestFeatures
(), NullLogger.Instance);
3809
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
3810
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], fakeCache, new
TestFeatures
(), NullLogger.Instance);
3846
var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
3847
var stagingChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], cache, new
TestFeatures
(), NullLogger.Instance);
3848
var dailyChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], cache, new
TestFeatures
(), NullLogger.Instance);
3849
var prChannel = PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], cache, new
TestFeatures
(), NullLogger.Instance);
3890
new
TestFeatures
(),
3994
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion),
3997
PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion),
3998
PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion),
3999
PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], prCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion)
4065
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
4067
[new PackageMapping("Aspire*", stagingSource)], stagingCache, new
TestFeatures
(), NullLogger.Instance)
4137
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
4138
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance)
4631
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
4690
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
4741
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
4781
new
TestFeatures
(),
4854
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
4900
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
4948
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
4995
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
5044
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
5102
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
5156
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
5202
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
Commands\ConfigSourceCommandTests.cs (2)
398
[Aspire.Cli.Packaging.PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)])
1414
[Aspire.Cli.Packaging.PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)])
Commands\GoAppHostToolingCheckTests.cs (1)
567
new(new
TestFeatures
());
Commands\InitCommandTests.cs (8)
99
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
1374
var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance);
1380
features: new
TestFeatures
(), NullLogger.Instance);
1440
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
1778
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2124
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2553
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2677
features: new
TestFeatures
(), NullLogger.Instance);
Commands\NewCommandChannelResolutionTests.cs (5)
85
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
646
var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance);
662
features: new
TestFeatures
(),
712
features: new
TestFeatures
(),
737
features: new
TestFeatures
(),
Commands\NewCommandLocalTemplateTests.cs (1)
1074
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance)
Commands\NewCommandLocalTemplateTests.NuGetValues.cs (1)
125
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance)
Commands\NewCommandTemplateConfigPersistenceTests.cs (3)
494
var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance);
507
features: new
TestFeatures
(),
536
features: new
TestFeatures
(),
Commands\NewCommandTests.cs (22)
87
var features = new
TestFeatures
();
426
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new
TestFeatures
(), NullLogger.Instance);
427
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
504
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], fakeCache, new
TestFeatures
(), NullLogger.Instance);
581
var prChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, [], fakeCache, new
TestFeatures
(), NullLogger.Instance);
936
var features = new
TestFeatures
();
1046
options.FeatureFlagsFactory = _ => new
TestFeatures
().SetFeature(KnownFeatures.ShowAllTemplates, true);
1069
var features = new
TestFeatures
();
1155
var features = new
TestFeatures
();
1223
var features = new
TestFeatures
();
1340
new
TestFeatures
(),
1385
new
TestFeatures
(),
1427
var features = new
TestFeatures
();
1631
var features = new
TestFeatures
();
1668
var features = new
TestFeatures
();
2009
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new
TestFeatures
(), NullLogger.Instance);
2206
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2281
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2335
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2453
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2610
var features = new
TestFeatures
();
3829
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
Commands\RunCommandTests.cs (1)
4424
var featuresFactory = (IServiceProvider sp) => new
TestFeatures
()
Commands\StartCommandTests.cs (3)
658
var features = new
TestFeatures
().SetFeature(KnownFeatures.GitWorktreeIsolationEnabled, true);
660
Assert.False(AppHostLauncher.ResolveIsolated(command.Parse("start"), appHostFile, new
TestFeatures
()));
693
var features = new
TestFeatures
().SetFeature(KnownFeatures.GitWorktreeIsolationEnabled, true);
Commands\UpdateCommandRepositoryToolsTests.cs (4)
196
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance,
312
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance,
543
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance,
645
}, new
TestFeatures
(), NullLogger.Instance, cliDownloadBaseUrl: "https://example.invalid/cli")
Commands\UpdateCommandTests.cs (23)
345
features: new
TestFeatures
(),
644
features: new
TestFeatures
(),
723
features: new
TestFeatures
(),
800
features: new
TestFeatures
(),
966
features: new
TestFeatures
(),
1044
features: new
TestFeatures
(),
1241
features: new
TestFeatures
(),
1246
[PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance), prChannel]);
2131
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2290
PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance),
2355
PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance),
2356
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance),
2589
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2590
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2591
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2592
var hiveChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
3266
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
3267
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
3268
var stagingChannel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
3269
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
3282
channels.Add(PackageChannel.CreateExplicitChannel(hive.Name, PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance));
3289
channels.Add(PackageChannel.CreateExplicitChannel(PackageChannelNames.Local, PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance));
3888
features: new
TestFeatures
(),
Configuration\DotNetBasedAppHostServerChannelResolutionTests.cs (1)
136
new
TestFeatures
(),
Configuration\KnownFeaturesTests.cs (9)
67
var features = new
TestFeatures
().SetFeature(KnownFeatures.ExperimentalHostingIntegrations, cliEnabled);
92
var features = new
TestFeatures
();
101
var features = new
TestFeatures
().SetFeature(KnownFeatures.StagingChannelEnabled, true);
110
var features = new
TestFeatures
().SetFeature(KnownFeatures.StagingChannelEnabled, true);
119
var features = new
TestFeatures
();
128
var features = new
TestFeatures
();
137
var features = new
TestFeatures
();
146
var features = new
TestFeatures
();
155
var features = new
TestFeatures
();
DotNet\DotNetAppHostNuGetConfigMergerSnapshotTests.cs (1)
25
var features = new
TestFeatures
();
DotNet\DotNetAppHostNuGetConfigMergerTests.cs (4)
34
private static PackageChannel CreateChannel(PackageMapping[] mappings) => PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
699
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1169
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1784
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
DotNet\DotNetCliRunnerTests.cs (2)
314
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
462
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
Interaction\ConsoleInteractionServiceTests.cs (4)
84
var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
87
[new PackageMapping("Aspire.Hosting.*", source)], cache, new
TestFeatures
(), NullLogger.Instance)
207
var defaultChannel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
210
[new PackageMapping("Aspire*", source)], cache, new
TestFeatures
(), NullLogger.Instance);
Mcp\MockPackagingService.cs (1)
28
return Task.FromResult<IEnumerable<PackageChannel>>([PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)]);
NuGet\BundleNuGetServiceTests.cs (2)
68
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
179
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
NuGet\NuGetClientTests.cs (31)
84
var client = new NuGetClient(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance)
305
new
TestFeatures
(),
333
new
TestFeatures
(),
393
var client = new NuGetClient(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance);
503
var client = new NuGetClient(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), logger);
619
new
TestFeatures
(),
658
new
TestFeatures
(),
686
new
TestFeatures
(),
731
new
TestFeatures
(),
790
new
TestFeatures
(),
820
new
TestFeatures
(),
863
var client = new NuGetClient(new
TestFeatures
(), TestEnvironment.CreateLinux(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance);
893
var client = new NuGetClient(new
TestFeatures
(), TestEnvironment.CreateLinux(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance);
925
var client = new NuGetClient(new
TestFeatures
(), TestEnvironment.CreateLinux(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance);
952
var client = new NuGetClient(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance);
1039
var client = new NuGetClient(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance);
1082
new
TestFeatures
(),
1188
new
TestFeatures
(),
1249
new
TestFeatures
(),
1298
new
TestFeatures
(),
1354
new
TestFeatures
(),
1411
new
TestFeatures
(),
1475
new
TestFeatures
(),
1539
new
TestFeatures
(),
1593
new
TestFeatures
(),
1650
new
TestFeatures
(),
1714
new
TestFeatures
(),
1774
new
TestFeatures
(),
1841
new
TestFeatures
(),
1862
new
TestFeatures
(),
1883
new
TestFeatures
(),
NuGet\NuGetConfigurationQueryTests.cs (4)
59
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
121
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
272
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
508
new
TestFeatures
(),
NuGet\NuGetConfigurationTests.cs (8)
37
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
63
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
94
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
114
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
276
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
339
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
384
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
414
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
NuGet\NuGetPackageOperationConfigurationTests.cs (1)
232
new
TestFeatures
(),
NuGet\NuGetPackagePrefetcherTests.cs (5)
116
var features = new
TestFeatures
();
210
new
TestFeatures
(),
349
var features = new
TestFeatures
();
405
var features = new
TestFeatures
();
490
var features = new
TestFeatures
();
NuGet\NuGetSignatureVerificationEnablerTests.cs (11)
22
var features = new
TestFeatures
().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false);
39
var features = new
TestFeatures
(); // default is true for this feature
57
var features = new
TestFeatures
();
78
var features = new
TestFeatures
();
99
var features = new
TestFeatures
(); // default is true
118
using (NuGetSignatureVerificationEnabler.ApplyToCurrentProcess(new
TestFeatures
(), TestEnvironment.CreateLinux()))
138
using (NuGetSignatureVerificationEnabler.ApplyToCurrentProcess(new
TestFeatures
(), environment))
159
using (NuGetSignatureVerificationEnabler.ApplyToCurrentProcess(new
TestFeatures
(), environment))
174
var features = new
TestFeatures
();
194
var features = new
TestFeatures
();
216
var features = new
TestFeatures
().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false);
Packaging\IntegrationSourceTests.cs (3)
232
[PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)])
413
[PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)])
444
[PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)])
Packaging\PackageChannelTests.cs (38)
37
new FakeNuGetPackageCache(), new
TestFeatures
(), logger)
68
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance)
127
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
147
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
167
var channel = PackageChannel.CreateExplicitChannel("pr-10981", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
187
var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance, configureGlobalPackagesFolder: true);
203
var channel = PackageChannel.CreateExplicitChannel("empty", PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
225
new
TestFeatures
(),
259
new
TestFeatures
(),
294
new
TestFeatures
(),
351
new
TestFeatures
(),
390
new
TestFeatures
(),
440
new
TestFeatures
(),
465
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
523
var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance, pinnedVersion: pinnedVersion);
571
var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance, pinnedVersion: pinnedVersion);
599
new
TestFeatures
(),
629
var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
673
new
TestFeatures
(),
714
new
TestFeatures
(),
759
new
TestFeatures
(),
886
var features = new
TestFeatures
().SetFeature(KnownFeatures.ShowDeprecatedPackages, true);
914
new
TestFeatures
(),
945
new
TestFeatures
(),
970
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
986
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1002
var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1018
var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1029
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
1043
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, [], cache, new
TestFeatures
(), NullLogger.Instance);
1060
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1082
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1099
var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1114
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1130
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1149
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
1159
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
1177
return PackageChannel.CreateExplicitChannel("local", quality, mappings, cache, features ?? new
TestFeatures
(), NullLogger.Instance);
Packaging\PackageSourceOverrideMappingsTests.cs (1)
240
new
TestFeatures
(),
Packaging\PackagingServiceTests.cs (66)
30
var features = new
TestFeatures
();
69
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
147
new
TestFeatures
(),
207
new
TestFeatures
(),
243
new
TestFeatures
(),
282
new
TestFeatures
(),
311
new
TestFeatures
(),
374
var features = new
TestFeatures
();
436
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
468
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
498
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
525
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
552
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, logger);
578
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, logger);
603
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
616
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
643
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
673
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
699
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
728
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), configuration, NullLogger<PackagingService>.Instance);
749
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
774
var features = new
TestFeatures
();
810
var features = new
TestFeatures
();
833
var features = new
TestFeatures
();
884
executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(),
912
var features = new
TestFeatures
();
951
var features = new
TestFeatures
();
983
var features = new
TestFeatures
();
1015
var features = new
TestFeatures
();
1046
var features = new
TestFeatures
();
1076
var features = new
TestFeatures
();
1106
var features = new
TestFeatures
();
1136
var features = new
TestFeatures
();
1163
var features = new
TestFeatures
();
1221
var features = new
TestFeatures
();
1276
var features = new
TestFeatures
();
1311
var features = new
TestFeatures
();
1346
var features = new
TestFeatures
();
1381
var features = new
TestFeatures
();
1417
var features = new
TestFeatures
();
1462
var features = new
TestFeatures
();
1494
var features = new
TestFeatures
();
1524
var features = new
TestFeatures
();
1561
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
1598
new
TestFeatures
(),
1641
new
TestFeatures
(),
1677
new
TestFeatures
(),
1710
new
TestFeatures
(),
1741
new
TestFeatures
(),
1765
new
TestFeatures
(),
1797
new
TestFeatures
(),
1848
var packagingService = new PackagingService(executionContext, fakeCache, new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
1884
var features = new
TestFeatures
();
1936
var features = new
TestFeatures
();
1987
var features = new
TestFeatures
();
2043
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2077
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2114
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2145
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2182
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2211
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2240
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2271
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2299
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2329
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2349
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
Projects\AppHostServerProjectTests.cs (6)
520
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
526
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
528
var implicitChannel = PackageChannel.CreateImplicitChannel(nugetCache, new
TestFeatures
(), NullLogger.Instance);
613
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
657
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
703
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
Projects\DefaultLanguageDiscoveryTests.cs (18)
15
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
31
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
42
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
63
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
78
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
93
var features = new
TestFeatures
();
108
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
123
var features = new
TestFeatures
();
135
var features = new
TestFeatures
();
163
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
178
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
189
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
200
var features = new
TestFeatures
();
217
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
243
var features = new
TestFeatures
();
265
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
275
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
285
var features = new
TestFeatures
();
Projects\GuestAppHostProjectTests.cs (10)
1138
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
1655
features: new
TestFeatures
(), NullLogger.Instance);
1721
features: new
TestFeatures
(), NullLogger.Instance);
1779
features: new
TestFeatures
(), NullLogger.Instance);
1838
features: new
TestFeatures
(),
1892
features: new
TestFeatures
(),
2454
? PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [], cache, new
TestFeatures
(), NullLogger.Instance)
2455
: PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
2499
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2589
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
Projects\PrebuiltAppHostServerTests.cs (45)
253
features: new
TestFeatures
(),
262
new
TestFeatures
(),
384
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1045
features: new
TestFeatures
(),
1090
features: new
TestFeatures
(),
1141
features: new
TestFeatures
(),
1184
features: new
TestFeatures
(),
1191
features: new
TestFeatures
(),
1407
features: new
TestFeatures
(),
1466
new
TestFeatures
(),
1513
new
TestFeatures
(),
1525
features: new
TestFeatures
(),
1922
features: new
TestFeatures
(), NullLogger.Instance);
1951
features: new
TestFeatures
(),
2010
features: new
TestFeatures
(), NullLogger.Instance);
2043
features: new
TestFeatures
(),
2079
features: new
TestFeatures
(),
2134
features: new
TestFeatures
(), NullLogger.Instance);
2203
features: new
TestFeatures
(), NullLogger.Instance);
2225
features: new
TestFeatures
(), NullLogger.Instance);
2247
features: new
TestFeatures
(), NullLogger.Instance);
2332
"daily", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
2359
"daily", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
2432
channelName, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
2726
features: new
TestFeatures
(), NullLogger.Instance);
2775
features: new
TestFeatures
(), NullLogger.Instance);
2829
features: new
TestFeatures
(), NullLogger.Instance);
2875
features: new
TestFeatures
(), NullLogger.Instance);
2966
features: new
TestFeatures
(), NullLogger.Instance);
3027
features: new
TestFeatures
(), NullLogger.Instance);
3188
features: new
TestFeatures
(),
3286
features: new
TestFeatures
(),
3296
new
TestFeatures
(),
3456
features: new
TestFeatures
(),
3596
features: new
TestFeatures
(),
3717
features: new
TestFeatures
(),
3802
features: new
TestFeatures
(),
3879
features: new
TestFeatures
(),
3943
features: new
TestFeatures
(),
4210
features: new
TestFeatures
(), NullLogger.Instance);
4384
new
TestFeatures
(),
4584
features: new
TestFeatures
(),
4593
new
TestFeatures
(),
5053
new
TestFeatures
(),
5066
new
TestFeatures
(),
Projects\ProjectUpdaterNuGetConfigurationTests.cs (12)
359
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
488
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
648
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
844
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance,
1102
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1160
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1273
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1447
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1581
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1847
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1916
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
1994
provider.GetRequiredService<INuGetPackageCache>(), new
TestFeatures
(), NullLogger.Instance);
Projects\RepositoryToolUpdaterTests.cs (5)
232
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
289
var channel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, [], cache, new
TestFeatures
(), NullLogger.Instance);
624
var 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);
Scaffolding\ChannelReseedTests.cs (2)
92
features: new
TestFeatures
(),
131
features: new
TestFeatures
(),
Scaffolding\DefaultHostingPackagesTests.cs (1)
205
features: new
TestFeatures
(),
Templating\DotNetTemplateFactoryTests.cs (7)
35
PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
221
var channel = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
259
var features = new
TestFeatures
().SetFeature(KnownFeatures.ShowAllTemplates, true);
278
var features = new
TestFeatures
();
297
var features = new
TestFeatures
();
313
var features = new
TestFeatures
();
328
var features = new
TestFeatures
().SetFeature(KnownFeatures.ShowAllTemplates, true);
Templating\TemplateNuGetConfigServiceTests.cs (38)
51
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
97
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
140
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
183
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance,
227
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
319
features: new
TestFeatures
(), NullLogger.Instance);
459
}, new
TestFeatures
(), NullLogger.Instance);
492
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
519
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
531
features: new
TestFeatures
(), NullLogger.Instance);
593
features: new
TestFeatures
(),
643
var implicitChannel = PackageChannel.CreateImplicitChannel(packageCache, new
TestFeatures
(), NullLogger.Instance);
649
new
TestFeatures
(),
688
new
TestFeatures
(),
723
new
TestFeatures
(),
777
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
838
}, new
TestFeatures
(), NullLogger.Instance);
844
features: new
TestFeatures
(),
900
}, new
TestFeatures
(), NullLogger.Instance);
906
features: new
TestFeatures
(),
914
features: new
TestFeatures
(),
922
features: new
TestFeatures
(),
962
features: new
TestFeatures
(),
1005
features: new
TestFeatures
(),
1041
features: new
TestFeatures
(),
1076
features: new
TestFeatures
(),
1123
features: new
TestFeatures
(),
1131
features: new
TestFeatures
(),
1169
features: new
TestFeatures
(),
1226
}, new
TestFeatures
(), NullLogger.Instance);
1232
features: new
TestFeatures
(),
1275
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1284
features: new
TestFeatures
(),
1351
features: new
TestFeatures
(), NullLogger.Instance);
1390
features: new
TestFeatures
(), NullLogger.Instance);
1435
features: new
TestFeatures
(), NullLogger.Instance);
1485
features: new
TestFeatures
(), NullLogger.Instance);
1549
new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance)
TestServices\NuGetTestHelper.cs (1)
46
=> new(new
TestFeatures
(), new TestEnvironment(), new Aspire.Shared.TemporaryStorage(), NullLogger<NuGetClient>.Instance)
TestServices\TestConfigSourceServices.cs (1)
37
new
TestFeatures
(), NullLogger<ConfigSourceService>.Instance);
TestServices\TestPackagingService.cs (1)
15
=> PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
73 references to TestFeatures
Aspire.Cli.Tests (73)
Commands\NewCommandTests.cs (9)
87
var
features = new TestFeatures();
936
var
features = new TestFeatures();
1069
var
features = new TestFeatures();
1155
var
features = new TestFeatures();
1223
var
features = new TestFeatures();
1427
var
features = new TestFeatures();
1631
var
features = new TestFeatures();
1668
var
features = new TestFeatures();
2610
var
features = new TestFeatures();
Commands\StartCommandTests.cs (2)
658
var
features = new TestFeatures().SetFeature(KnownFeatures.GitWorktreeIsolationEnabled, true);
693
var
features = new TestFeatures().SetFeature(KnownFeatures.GitWorktreeIsolationEnabled, true);
Configuration\KnownFeaturesTests.cs (9)
67
var
features = new TestFeatures().SetFeature(KnownFeatures.ExperimentalHostingIntegrations, cliEnabled);
92
var
features = new TestFeatures();
101
var
features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true);
110
var
features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true);
119
var
features = new TestFeatures();
128
var
features = new TestFeatures();
137
var
features = new TestFeatures();
146
var
features = new TestFeatures();
155
var
features = new TestFeatures();
DotNet\DotNetAppHostNuGetConfigMergerSnapshotTests.cs (1)
25
var
features = new TestFeatures();
NuGet\NuGetPackagePrefetcherTests.cs (4)
116
var
features = new TestFeatures();
349
var
features = new TestFeatures();
405
var
features = new TestFeatures();
490
var
features = new TestFeatures();
NuGet\NuGetSignatureVerificationEnablerTests.cs (8)
22
var
features = new TestFeatures().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false);
39
var
features = new TestFeatures(); // default is true for this feature
57
var
features = new TestFeatures();
78
var
features = new TestFeatures();
99
var
features = new TestFeatures(); // default is true
174
var
features = new TestFeatures();
194
var
features = new TestFeatures();
216
var
features = new TestFeatures().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false);
Packaging\PackageChannelTests.cs (1)
886
var
features = new TestFeatures().SetFeature(KnownFeatures.ShowDeprecatedPackages, true);
Packaging\PackagingServiceTests.cs (26)
30
var
features = new TestFeatures();
374
var
features = new TestFeatures();
774
var
features = new TestFeatures();
810
var
features = new TestFeatures();
833
var
features = new TestFeatures();
912
var
features = new TestFeatures();
951
var
features = new TestFeatures();
983
var
features = new TestFeatures();
1015
var
features = new TestFeatures();
1046
var
features = new TestFeatures();
1076
var
features = new TestFeatures();
1106
var
features = new TestFeatures();
1136
var
features = new TestFeatures();
1163
var
features = new TestFeatures();
1221
var
features = new TestFeatures();
1276
var
features = new TestFeatures();
1311
var
features = new TestFeatures();
1346
var
features = new TestFeatures();
1381
var
features = new TestFeatures();
1417
var
features = new TestFeatures();
1462
var
features = new TestFeatures();
1494
var
features = new TestFeatures();
1524
var
features = new TestFeatures();
1884
var
features = new TestFeatures();
1936
var
features = new TestFeatures();
1987
var
features = new TestFeatures();
Projects\DefaultLanguageDiscoveryTests.cs (6)
93
var
features = new TestFeatures();
123
var
features = new TestFeatures();
135
var
features = new TestFeatures();
200
var
features = new TestFeatures();
243
var
features = new TestFeatures();
285
var
features = new TestFeatures();
Templating\DotNetTemplateFactoryTests.cs (6)
259
var
features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true);
278
var
features = new TestFeatures();
297
var
features = new TestFeatures();
313
var
features = new TestFeatures();
328
var
features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true);
342
private static DotNetTemplateFactory CreateTemplateFactory(
TestFeatures
features, bool nonInteractive = false, TestDotNetSdkInstaller? sdkInstaller = null)
TestServices\TestFeatures.cs (1)
12
public
TestFeatures
SetFeature(string featureName, bool value)