343 instantiations of TestFeatures
Aspire.Cli.Tests (343)
Agents\AspireSkillsInstallerTests.cs (18)
41
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
88
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
371
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
446
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
488
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
522
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
564
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
611
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
658
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
699
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
769
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
840
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
869
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
905
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
958
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
1021
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
1389
var features = new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
1998
features ?? new
TestFeatures
().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, true),
Commands\AddCommandTests.cs (39)
423
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
424
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance)
495
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
496
PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new
TestFeatures
(), NullLogger.Instance)
582
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
583
PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, [new PackageMapping("Aspire*", "stable")], stableCache, new
TestFeatures
(), NullLogger.Instance)
677
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
678
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance)
788
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
789
PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new
TestFeatures
(), NullLogger.Instance)
930
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
931
PackageChannel.CreateExplicitChannel("test-hive", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "test-hive")], explicitCache, new
TestFeatures
(), NullLogger.Instance)
2218
var channel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2266
var channel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2314
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2317
var explicitChannel = PackageChannel.CreateExplicitChannel("preview", PackageChannelQuality.Prerelease, mappings, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2370
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2371
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], fakeCache, new
TestFeatures
(), NullLogger.Instance);
2406
var implicitChannel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
2407
var stagingChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], cache, new
TestFeatures
(), NullLogger.Instance);
2408
var dailyChannel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], cache, new
TestFeatures
(), NullLogger.Instance);
2409
var prChannel = PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], cache, new
TestFeatures
(), NullLogger.Instance);
2453
new
TestFeatures
(),
2557
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion),
2560
PackageChannel.CreateExplicitChannel(PackageChannelNames.Staging, PackageChannelQuality.Both, [new PackageMapping("Aspire*", "staging")], stagingCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion),
2561
PackageChannel.CreateExplicitChannel(PackageChannelNames.Daily, PackageChannelQuality.Prerelease, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion),
2562
PackageChannel.CreateExplicitChannel("pr-19404", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "pr-19404")], prCache, new
TestFeatures
(), NullLogger.Instance, currentCliVersion: cliVersion)
2631
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance),
2632
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [new PackageMapping("Aspire*", "daily")], dailyCache, new
TestFeatures
(), NullLogger.Instance)
3037
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3087
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3137
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3183
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3231
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3278
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3327
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3385
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3439
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
3485
PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance)
Commands\InitCommandTests.cs (8)
47
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
827
var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance);
833
features: new
TestFeatures
(), NullLogger.Instance);
893
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
1231
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
1576
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2010
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2134
features: new
TestFeatures
(), NullLogger.Instance);
Commands\NewCommandChannelResolutionTests.cs (5)
84
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
645
var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance);
661
features: new
TestFeatures
(),
711
features: new
TestFeatures
(),
736
features: new
TestFeatures
(),
Commands\NewCommandTemplateConfigPersistenceTests.cs (3)
422
var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new
TestFeatures
(), NullLogger.Instance);
435
features: new
TestFeatures
(),
464
features: new
TestFeatures
(),
Commands\NewCommandTests.cs (22)
53
var features = new
TestFeatures
();
367
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new
TestFeatures
(), NullLogger.Instance);
368
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
445
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], fakeCache, new
TestFeatures
(), NullLogger.Instance);
522
var prChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, [], fakeCache, new
TestFeatures
(), NullLogger.Instance);
936
var features = new
TestFeatures
();
993
options.FeatureFlagsFactory = _ => new
TestFeatures
().SetFeature(KnownFeatures.ShowAllTemplates, true);
1016
var features = new
TestFeatures
();
1103
var features = new
TestFeatures
();
1171
var features = new
TestFeatures
();
1281
new
TestFeatures
(),
1326
new
TestFeatures
(),
1368
var features = new
TestFeatures
();
1533
var features = new
TestFeatures
();
1570
var features = new
TestFeatures
();
1836
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new
TestFeatures
(), NullLogger.Instance);
2033
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2108
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2162
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2273
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new
TestFeatures
(), NullLogger.Instance);
2400
var features = new
TestFeatures
();
3542
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
Commands\RunCommandTests.cs (1)
3745
var featuresFactory = (IServiceProvider sp) => new
TestFeatures
()
Commands\UpdateCommandTests.cs (21)
341
features: new
TestFeatures
(),
588
features: new
TestFeatures
(),
667
features: new
TestFeatures
(),
744
features: new
TestFeatures
(),
910
features: new
TestFeatures
(),
988
features: new
TestFeatures
(),
1146
features: new
TestFeatures
(),
2004
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2159
PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance),
2217
PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance),
2218
PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance),
2445
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2446
var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2447
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2448
var hiveChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2857
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
2858
var stagingChannel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2859
var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance);
2872
channels.Add(PackageChannel.CreateExplicitChannel(hive.Name, PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance));
2879
channels.Add(PackageChannel.CreateExplicitChannel(PackageChannelNames.Local, PackageChannelQuality.Both, mappings: null, fakeCache, new
TestFeatures
(), NullLogger.Instance));
3477
features: new
TestFeatures
(),
Configuration\DotNetBasedAppHostServerChannelResolutionTests.cs (1)
136
new
TestFeatures
(),
Configuration\KnownFeaturesTests.cs (8)
15
var features = new
TestFeatures
();
24
var features = new
TestFeatures
().SetFeature(KnownFeatures.StagingChannelEnabled, true);
33
var features = new
TestFeatures
().SetFeature(KnownFeatures.StagingChannelEnabled, true);
42
var features = new
TestFeatures
();
51
var features = new
TestFeatures
();
60
var features = new
TestFeatures
();
69
var features = new
TestFeatures
();
78
var features = new
TestFeatures
();
Configuration\PrebuiltAppHostServerChannelResolutionTests.cs (1)
97
new
TestFeatures
(),
Mcp\MockPackagingService.cs (1)
28
return Task.FromResult<IEnumerable<PackageChannel>>([PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance)]);
NuGet\BundleNuGetPackageCacheTests.cs (3)
50
new
TestFeatures
());
102
new
TestFeatures
());
157
new
TestFeatures
());
NuGet\BundleNuGetServiceTests.cs (9)
38
new
TestFeatures
(),
74
new
TestFeatures
(),
116
new
TestFeatures
(),
162
new
TestFeatures
(),
213
new
TestFeatures
(),
242
new
TestFeatures
(),
277
new
TestFeatures
(),
356
new
TestFeatures
(),
405
new
TestFeatures
(),
NuGet\NuGetPackagePrefetcherTests.cs (5)
116
var features = new
TestFeatures
();
207
new
TestFeatures
(),
346
var features = new
TestFeatures
();
402
var features = new
TestFeatures
();
487
var features = new
TestFeatures
();
NuGet\NuGetSignatureVerificationEnablerTests.cs (5)
21
var features = new
TestFeatures
().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false);
38
var features = new
TestFeatures
(); // default is true for this feature
56
var features = new
TestFeatures
();
77
var features = new
TestFeatures
();
98
var features = new
TestFeatures
(); // default is true
Packaging\NuGetConfigMergerSnapshotTests.cs (1)
27
var features = new
TestFeatures
();
Packaging\NuGetConfigMergerTests.cs (2)
29
private static PackageChannel CreateChannel(PackageMapping[] mappings) => PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
194
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
Packaging\PackageChannelTests.cs (34)
24
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
44
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
64
var channel = PackageChannel.CreateExplicitChannel("pr-10981", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
84
var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance, configureGlobalPackagesFolder: true);
100
var channel = PackageChannel.CreateExplicitChannel("empty", PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
122
new
TestFeatures
(),
156
new
TestFeatures
(),
197
new
TestFeatures
(),
236
new
TestFeatures
(),
286
new
TestFeatures
(),
311
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
369
var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance, pinnedVersion: pinnedVersion);
417
var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance, pinnedVersion: pinnedVersion);
445
new
TestFeatures
(),
475
var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
519
new
TestFeatures
(),
560
new
TestFeatures
(),
605
new
TestFeatures
(),
732
var features = new
TestFeatures
().SetFeature(KnownFeatures.ShowDeprecatedPackages, true);
760
new
TestFeatures
(),
791
new
TestFeatures
(),
816
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
832
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
848
var channel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
864
var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
875
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
889
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, [], cache, new
TestFeatures
(), NullLogger.Instance);
912
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
929
var channel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
944
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Stable, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
960
var channel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Prerelease, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
979
var channel = PackageChannel.CreateExplicitChannel(PackageChannelNames.Stable, PackageChannelQuality.Both, mappings, cache, new
TestFeatures
(), NullLogger.Instance);
989
var channel = PackageChannel.CreateImplicitChannel(cache, new
TestFeatures
(), NullLogger.Instance);
1007
return PackageChannel.CreateExplicitChannel("local", quality, mappings, cache, features ?? new
TestFeatures
(), NullLogger.Instance);
Packaging\PackagingServiceTests.cs (64)
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
();
818
var features = new
TestFeatures
();
842
var features = new
TestFeatures
();
885
var features = new
TestFeatures
();
917
var features = new
TestFeatures
();
949
var features = new
TestFeatures
();
980
var features = new
TestFeatures
();
1010
var features = new
TestFeatures
();
1040
var features = new
TestFeatures
();
1070
var features = new
TestFeatures
();
1097
var features = new
TestFeatures
();
1155
var features = new
TestFeatures
();
1210
var features = new
TestFeatures
();
1245
var features = new
TestFeatures
();
1280
var features = new
TestFeatures
();
1315
var features = new
TestFeatures
();
1351
var features = new
TestFeatures
();
1396
var features = new
TestFeatures
();
1428
var features = new
TestFeatures
();
1458
var features = new
TestFeatures
();
1495
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
1532
new
TestFeatures
(),
1575
new
TestFeatures
(),
1611
new
TestFeatures
(),
1644
new
TestFeatures
(),
1675
new
TestFeatures
(),
1699
new
TestFeatures
(),
1731
new
TestFeatures
(),
1782
var packagingService = new PackagingService(executionContext, fakeCache, new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
1818
var features = new
TestFeatures
();
1870
var features = new
TestFeatures
();
1921
var features = new
TestFeatures
();
1977
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2011
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2048
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2079
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2119
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2148
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2177
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2208
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2236
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2266
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
2286
var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new
TestFeatures
(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance);
Projects\AppHostServerProjectTests.cs (5)
289
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
295
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
297
var implicitChannel = PackageChannel.CreateImplicitChannel(nugetCache, new
TestFeatures
(), NullLogger.Instance);
382
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
436
}, nugetCache, new
TestFeatures
(), NullLogger.Instance);
Projects\AppHostServerSessionTests.cs (1)
568
new
TestFeatures
(),
Projects\DefaultLanguageDiscoveryTests.cs (15)
15
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
31
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
42
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
57
var features = new
TestFeatures
();
72
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
89
var features = new
TestFeatures
();
112
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
127
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
138
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
149
var features = new
TestFeatures
();
165
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
191
var features = new
TestFeatures
();
213
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
223
var discovery = new DefaultLanguageDiscovery(new
TestFeatures
());
233
var features = new
TestFeatures
();
Projects\GuestAppHostProjectTests.cs (6)
745
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
869
features: new
TestFeatures
(), NullLogger.Instance);
924
features: new
TestFeatures
(), NullLogger.Instance);
980
features: new
TestFeatures
(), NullLogger.Instance);
1280
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
1369
var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new
TestFeatures
(), NullLogger.Instance);
Projects\PrebuiltAppHostServerTests.cs (25)
752
features: new
TestFeatures
(),
810
new
TestFeatures
(),
899
features: new
TestFeatures
(), NullLogger.Instance);
925
features: new
TestFeatures
(),
975
features: new
TestFeatures
(), NullLogger.Instance);
1021
features: new
TestFeatures
(), NullLogger.Instance);
1075
features: new
TestFeatures
(), NullLogger.Instance);
1097
features: new
TestFeatures
(), NullLogger.Instance);
1121
features: 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);
1283
new
TestFeatures
(),
1313
channelName, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1549
features: new
TestFeatures
(), NullLogger.Instance);
1608
features: new
TestFeatures
(), NullLogger.Instance);
1672
features: new
TestFeatures
(), NullLogger.Instance);
1727
features: new
TestFeatures
(), NullLogger.Instance);
1842
features: new
TestFeatures
(), NullLogger.Instance);
1911
features: new
TestFeatures
(), NullLogger.Instance);
2093
features: new
TestFeatures
(), NullLogger.Instance);
2161
features: new
TestFeatures
(), NullLogger.Instance);
2299
new
TestFeatures
(),
2311
new
TestFeatures
(),
2813
new
TestFeatures
(),
2954
new
TestFeatures
(),
Templating\DotNetTemplateFactoryTests.cs (7)
35
PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
222
var channel = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
260
var features = new
TestFeatures
().SetFeature(KnownFeatures.ShowAllTemplates, true);
279
var features = new
TestFeatures
();
298
var features = new
TestFeatures
();
314
var features = new
TestFeatures
();
329
var features = new
TestFeatures
().SetFeature(KnownFeatures.ShowAllTemplates, true);
Templating\TemplateNuGetConfigServiceTests.cs (32)
93
features: new
TestFeatures
(), NullLogger.Instance);
229
}, new
TestFeatures
(), NullLogger.Instance);
262
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
289
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
301
features: new
TestFeatures
(), NullLogger.Instance);
363
features: new
TestFeatures
(),
413
var implicitChannel = PackageChannel.CreateImplicitChannel(packageCache, new
TestFeatures
(), NullLogger.Instance);
419
new
TestFeatures
(),
458
new
TestFeatures
(),
493
new
TestFeatures
(),
547
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
608
}, new
TestFeatures
(), NullLogger.Instance);
614
features: new
TestFeatures
(),
670
}, new
TestFeatures
(), NullLogger.Instance);
676
features: new
TestFeatures
(),
684
features: new
TestFeatures
(),
692
features: new
TestFeatures
(),
732
features: new
TestFeatures
(),
775
features: new
TestFeatures
(),
811
features: new
TestFeatures
(),
846
features: new
TestFeatures
(),
893
features: new
TestFeatures
(),
901
features: new
TestFeatures
(),
939
features: new
TestFeatures
(),
996
}, new
TestFeatures
(), NullLogger.Instance);
1002
features: new
TestFeatures
(),
1045
var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
1054
features: new
TestFeatures
(),
1113
features: new
TestFeatures
(), NullLogger.Instance);
1151
features: new
TestFeatures
(), NullLogger.Instance);
1196
features: new
TestFeatures
(), NullLogger.Instance);
1253
features: new
TestFeatures
(), NullLogger.Instance);
TestServices\TestPackagingService.cs (1)
32
var testChannel = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new
TestFeatures
(), NullLogger.Instance);
82 references to TestFeatures
Aspire.Cli.Tests (82)
Agents\AspireSkillsInstallerTests.cs (17)
41
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
88
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
371
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
446
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
488
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
522
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
564
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
611
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
658
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
699
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
769
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
840
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
869
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
905
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
958
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
1021
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
1389
var
features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
Commands\NewCommandTests.cs (9)
53
var
features = new TestFeatures();
936
var
features = new TestFeatures();
1016
var
features = new TestFeatures();
1103
var
features = new TestFeatures();
1171
var
features = new TestFeatures();
1368
var
features = new TestFeatures();
1533
var
features = new TestFeatures();
1570
var
features = new TestFeatures();
2400
var
features = new TestFeatures();
Configuration\KnownFeaturesTests.cs (8)
15
var
features = new TestFeatures();
24
var
features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true);
33
var
features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true);
42
var
features = new TestFeatures();
51
var
features = new TestFeatures();
60
var
features = new TestFeatures();
69
var
features = new TestFeatures();
78
var
features = new TestFeatures();
NuGet\NuGetPackagePrefetcherTests.cs (4)
116
var
features = new TestFeatures();
346
var
features = new TestFeatures();
402
var
features = new TestFeatures();
487
var
features = new TestFeatures();
NuGet\NuGetSignatureVerificationEnablerTests.cs (5)
21
var
features = new TestFeatures().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false);
38
var
features = new TestFeatures(); // default is true for this feature
56
var
features = new TestFeatures();
77
var
features = new TestFeatures();
98
var
features = new TestFeatures(); // default is true
Packaging\NuGetConfigMergerSnapshotTests.cs (1)
27
var
features = new TestFeatures();
Packaging\PackageChannelTests.cs (1)
732
var
features = new TestFeatures().SetFeature(KnownFeatures.ShowDeprecatedPackages, true);
Packaging\PackagingServiceTests.cs (25)
30
var
features = new TestFeatures();
374
var
features = new TestFeatures();
774
var
features = new TestFeatures();
818
var
features = new TestFeatures();
842
var
features = new TestFeatures();
885
var
features = new TestFeatures();
917
var
features = new TestFeatures();
949
var
features = new TestFeatures();
980
var
features = new TestFeatures();
1010
var
features = new TestFeatures();
1040
var
features = new TestFeatures();
1070
var
features = new TestFeatures();
1097
var
features = new TestFeatures();
1155
var
features = new TestFeatures();
1210
var
features = new TestFeatures();
1245
var
features = new TestFeatures();
1280
var
features = new TestFeatures();
1315
var
features = new TestFeatures();
1351
var
features = new TestFeatures();
1396
var
features = new TestFeatures();
1428
var
features = new TestFeatures();
1458
var
features = new TestFeatures();
1818
var
features = new TestFeatures();
1870
var
features = new TestFeatures();
1921
var
features = new TestFeatures();
Projects\DefaultLanguageDiscoveryTests.cs (5)
57
var
features = new TestFeatures();
89
var
features = new TestFeatures();
149
var
features = new TestFeatures();
191
var
features = new TestFeatures();
233
var
features = new TestFeatures();
Templating\DotNetTemplateFactoryTests.cs (6)
260
var
features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true);
279
var
features = new TestFeatures();
298
var
features = new TestFeatures();
314
var
features = new TestFeatures();
329
var
features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true);
343
private static DotNetTemplateFactory CreateTemplateFactory(
TestFeatures
features, bool nonInteractive = false, TestDotNetSdkInstaller? sdkInstaller = null)
TestServices\TestFeatures.cs (1)
12
public
TestFeatures
SetFeature(string featureName, bool value)