343 instantiations of TestFeatures
Aspire.Cli.Tests (343)
Agents\AspireSkillsInstallerTests.cs (18)
41var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 88var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 371var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 446var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 488var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 522var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 564var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 611var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 658var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 699var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 769var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 840var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 869var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 905var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 958var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 1021var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 1389var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 1998features ?? new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, true),
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); 2453new TestFeatures(), 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)
47var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 827var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance); 833features: new TestFeatures(), NullLogger.Instance); 893var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 1231var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 1576var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 2010var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 2134features: new TestFeatures(), NullLogger.Instance);
Commands\NewCommandChannelResolutionTests.cs (5)
84var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 645var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance); 661features: new TestFeatures(), 711features: new TestFeatures(), 736features: new TestFeatures(),
Commands\NewCommandTemplateConfigPersistenceTests.cs (3)
422var implicitChannel = PackageChannel.CreateImplicitChannel(implicitCache, new TestFeatures(), NullLogger.Instance); 435features: new TestFeatures(), 464features: new TestFeatures(),
Commands\NewCommandTests.cs (22)
53var features = new TestFeatures(); 367var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new TestFeatures(), NullLogger.Instance); 368var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance); 445var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], fakeCache, new TestFeatures(), NullLogger.Instance); 522var prChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, [], fakeCache, new TestFeatures(), NullLogger.Instance); 936var features = new TestFeatures(); 993options.FeatureFlagsFactory = _ => new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true); 1016var features = new TestFeatures(); 1103var features = new TestFeatures(); 1171var features = new TestFeatures(); 1281new TestFeatures(), 1326new TestFeatures(), 1368var features = new TestFeatures(); 1533var features = new TestFeatures(); 1570var features = new TestFeatures(); 1836var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Both, [], stableCache, new TestFeatures(), NullLogger.Instance); 2033var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance); 2108var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance); 2162var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance); 2273var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, [], dailyCache, new TestFeatures(), NullLogger.Instance); 2400var features = new TestFeatures(); 3542var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
Commands\RunCommandTests.cs (1)
3745var featuresFactory = (IServiceProvider sp) => new TestFeatures()
Commands\UpdateCommandTests.cs (21)
341features: new TestFeatures(), 588features: new TestFeatures(), 667features: new TestFeatures(), 744features: new TestFeatures(), 910features: new TestFeatures(), 988features: new TestFeatures(), 1146features: new TestFeatures(), 2004var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 2159PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance), 2217PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance), 2218PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance), 2445var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 2446var stableChannel = PackageChannel.CreateExplicitChannel("stable", PackageChannelQuality.Stable, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance); 2447var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance); 2448var hiveChannel = PackageChannel.CreateExplicitChannel("pr-12345", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance); 2857var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 2858var stagingChannel = PackageChannel.CreateExplicitChannel("staging", PackageChannelQuality.Stable, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance); 2859var dailyChannel = PackageChannel.CreateExplicitChannel("daily", PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance); 2872channels.Add(PackageChannel.CreateExplicitChannel(hive.Name, PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance)); 2879channels.Add(PackageChannel.CreateExplicitChannel(PackageChannelNames.Local, PackageChannelQuality.Both, mappings: null, fakeCache, new TestFeatures(), NullLogger.Instance)); 3477features: new TestFeatures(),
Configuration\DotNetBasedAppHostServerChannelResolutionTests.cs (1)
136new TestFeatures(),
Configuration\KnownFeaturesTests.cs (8)
15var features = new TestFeatures(); 24var features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true); 33var features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true); 42var features = new TestFeatures(); 51var features = new TestFeatures(); 60var features = new TestFeatures(); 69var features = new TestFeatures(); 78var features = new TestFeatures();
Configuration\PrebuiltAppHostServerChannelResolutionTests.cs (1)
97new TestFeatures(),
Mcp\MockPackagingService.cs (1)
28return Task.FromResult<IEnumerable<PackageChannel>>([PackageChannel.CreateImplicitChannel(cache, new TestFeatures(), NullLogger.Instance)]);
NuGet\BundleNuGetPackageCacheTests.cs (3)
50new TestFeatures()); 102new TestFeatures()); 157new TestFeatures());
NuGet\BundleNuGetServiceTests.cs (9)
38new TestFeatures(), 74new TestFeatures(), 116new TestFeatures(), 162new TestFeatures(), 213new TestFeatures(), 242new TestFeatures(), 277new TestFeatures(), 356new TestFeatures(), 405new TestFeatures(),
NuGet\NuGetPackagePrefetcherTests.cs (5)
116var features = new TestFeatures(); 207new TestFeatures(), 346var features = new TestFeatures(); 402var features = new TestFeatures(); 487var features = new TestFeatures();
NuGet\NuGetSignatureVerificationEnablerTests.cs (5)
21var features = new TestFeatures().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false); 38var features = new TestFeatures(); // default is true for this feature 56var features = new TestFeatures(); 77var features = new TestFeatures(); 98var features = new TestFeatures(); // default is true
Packaging\NuGetConfigMergerSnapshotTests.cs (1)
27var features = new TestFeatures();
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 (34)
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); 122new TestFeatures(), 156new TestFeatures(), 197new TestFeatures(), 236new TestFeatures(), 286new TestFeatures(), 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); 445new TestFeatures(), 475var channel = PackageChannel.CreateExplicitChannel("local", PackageChannelQuality.Both, mappings, cache, new TestFeatures(), NullLogger.Instance); 519new TestFeatures(), 560new TestFeatures(), 605new TestFeatures(), 732var features = new TestFeatures().SetFeature(KnownFeatures.ShowDeprecatedPackages, true); 760new TestFeatures(), 791new TestFeatures(), 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);
Packaging\PackagingServiceTests.cs (64)
30var features = new TestFeatures(); 69var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 147new TestFeatures(), 207new TestFeatures(), 243new TestFeatures(), 282new TestFeatures(), 311new TestFeatures(), 374var features = new TestFeatures(); 436var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 468var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 498var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 525var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 552var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, logger); 578var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, logger); 603var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 616var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 643var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 673var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 699var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 728var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), configuration, NullLogger<PackagingService>.Instance); 749var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 774var features = new TestFeatures(); 818var features = new TestFeatures(); 842var features = new TestFeatures(); 885var features = new TestFeatures(); 917var features = new TestFeatures(); 949var features = new TestFeatures(); 980var features = new TestFeatures(); 1010var features = new TestFeatures(); 1040var features = new TestFeatures(); 1070var features = new TestFeatures(); 1097var features = new TestFeatures(); 1155var features = new TestFeatures(); 1210var features = new TestFeatures(); 1245var features = new TestFeatures(); 1280var features = new TestFeatures(); 1315var features = new TestFeatures(); 1351var features = new TestFeatures(); 1396var features = new TestFeatures(); 1428var features = new TestFeatures(); 1458var features = new TestFeatures(); 1495var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 1532new TestFeatures(), 1575new TestFeatures(), 1611new TestFeatures(), 1644new TestFeatures(), 1675new TestFeatures(), 1699new TestFeatures(), 1731new TestFeatures(), 1782var packagingService = new PackagingService(executionContext, fakeCache, new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 1818var features = new TestFeatures(); 1870var features = new TestFeatures(); 1921var features = new TestFeatures(); 1977var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2011var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2048var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2079var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2119var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2148var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2177var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2208var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2236var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2266var packagingService = new PackagingService(executionContext, new FakeNuGetPackageCache(), new TestFeatures(), new ConfigurationBuilder().Build(), NullLogger<PackagingService>.Instance); 2286var 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); 297var implicitChannel = PackageChannel.CreateImplicitChannel(nugetCache, new TestFeatures(), NullLogger.Instance); 382}, nugetCache, new TestFeatures(), NullLogger.Instance); 436}, nugetCache, new TestFeatures(), NullLogger.Instance);
Projects\AppHostServerSessionTests.cs (1)
568new TestFeatures(),
Projects\DefaultLanguageDiscoveryTests.cs (15)
15var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 31var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 42var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 57var features = new TestFeatures(); 72var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 89var features = new TestFeatures(); 112var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 127var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 138var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 149var features = new TestFeatures(); 165var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 191var features = new TestFeatures(); 213var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 223var discovery = new DefaultLanguageDiscovery(new TestFeatures()); 233var features = new TestFeatures();
Projects\GuestAppHostProjectTests.cs (6)
745var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 869features: new TestFeatures(), NullLogger.Instance); 924features: new TestFeatures(), NullLogger.Instance); 980features: new TestFeatures(), NullLogger.Instance); 1280var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance); 1369var implicitChannel = PackageChannel.CreateImplicitChannel(fakeCache, new TestFeatures(), NullLogger.Instance);
Projects\PrebuiltAppHostServerTests.cs (25)
752features: new TestFeatures(), 810new TestFeatures(), 899features: new TestFeatures(), NullLogger.Instance); 925features: new TestFeatures(), 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); 1283new TestFeatures(), 1313channelName, PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance); 1549features: new TestFeatures(), NullLogger.Instance); 1608features: new TestFeatures(), NullLogger.Instance); 1672features: new TestFeatures(), NullLogger.Instance); 1727features: new TestFeatures(), NullLogger.Instance); 1842features: new TestFeatures(), NullLogger.Instance); 1911features: new TestFeatures(), NullLogger.Instance); 2093features: new TestFeatures(), NullLogger.Instance); 2161features: new TestFeatures(), NullLogger.Instance); 2299new TestFeatures(), 2311new TestFeatures(), 2813new TestFeatures(), 2954new TestFeatures(),
Templating\DotNetTemplateFactoryTests.cs (7)
35PackageChannel.CreateExplicitChannel("test", PackageChannelQuality.Both, mappings, new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance); 222var channel = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance); 260var features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true); 279var features = new TestFeatures(); 298var features = new TestFeatures(); 314var features = new TestFeatures(); 329var features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true);
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); 363features: new TestFeatures(), 413var implicitChannel = PackageChannel.CreateImplicitChannel(packageCache, new TestFeatures(), NullLogger.Instance); 419new TestFeatures(), 458new TestFeatures(), 493new TestFeatures(), 547var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance); 608}, new TestFeatures(), NullLogger.Instance); 614features: new TestFeatures(), 670}, new TestFeatures(), NullLogger.Instance); 676features: new TestFeatures(), 684features: new TestFeatures(), 692features: new TestFeatures(), 732features: new TestFeatures(), 775features: new TestFeatures(), 811features: new TestFeatures(), 846features: new TestFeatures(), 893features: new TestFeatures(), 901features: new TestFeatures(), 939features: new TestFeatures(), 996}, new TestFeatures(), NullLogger.Instance); 1002features: new TestFeatures(), 1045var implicitCh = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance); 1054features: new TestFeatures(), 1113features: new TestFeatures(), NullLogger.Instance); 1151features: new TestFeatures(), NullLogger.Instance); 1196features: new TestFeatures(), NullLogger.Instance); 1253features: new TestFeatures(), NullLogger.Instance);
TestServices\TestPackagingService.cs (1)
32var testChannel = PackageChannel.CreateImplicitChannel(new FakeNuGetPackageCache(), new TestFeatures(), NullLogger.Instance);
82 references to TestFeatures
Aspire.Cli.Tests (82)
Agents\AspireSkillsInstallerTests.cs (17)
41var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 88var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 371var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 446var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 488var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 522var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 564var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 611var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 658var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 699var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 769var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 840var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 869var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 905var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 958var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 1021var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false); 1389var features = new TestFeatures().SetFeature(KnownFeatures.AspireSkillsRemoteFetchEnabled, false);
Commands\NewCommandTests.cs (9)
53var features = new TestFeatures(); 936var features = new TestFeatures(); 1016var features = new TestFeatures(); 1103var features = new TestFeatures(); 1171var features = new TestFeatures(); 1368var features = new TestFeatures(); 1533var features = new TestFeatures(); 1570var features = new TestFeatures(); 2400var features = new TestFeatures();
Configuration\KnownFeaturesTests.cs (8)
15var features = new TestFeatures(); 24var features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true); 33var features = new TestFeatures().SetFeature(KnownFeatures.StagingChannelEnabled, true); 42var features = new TestFeatures(); 51var features = new TestFeatures(); 60var features = new TestFeatures(); 69var features = new TestFeatures(); 78var features = new TestFeatures();
NuGet\NuGetPackagePrefetcherTests.cs (4)
116var features = new TestFeatures(); 346var features = new TestFeatures(); 402var features = new TestFeatures(); 487var features = new TestFeatures();
NuGet\NuGetSignatureVerificationEnablerTests.cs (5)
21var features = new TestFeatures().SetFeature(KnownFeatures.NuGetSignatureVerificationEnabled, false); 38var features = new TestFeatures(); // default is true for this feature 56var features = new TestFeatures(); 77var features = new TestFeatures(); 98var features = new TestFeatures(); // default is true
Packaging\NuGetConfigMergerSnapshotTests.cs (1)
27var features = new TestFeatures();
Packaging\PackageChannelTests.cs (1)
732var features = new TestFeatures().SetFeature(KnownFeatures.ShowDeprecatedPackages, true);
Packaging\PackagingServiceTests.cs (25)
30var features = new TestFeatures(); 374var features = new TestFeatures(); 774var features = new TestFeatures(); 818var features = new TestFeatures(); 842var features = new TestFeatures(); 885var features = new TestFeatures(); 917var features = new TestFeatures(); 949var features = new TestFeatures(); 980var features = new TestFeatures(); 1010var features = new TestFeatures(); 1040var features = new TestFeatures(); 1070var features = new TestFeatures(); 1097var features = new TestFeatures(); 1155var features = new TestFeatures(); 1210var features = new TestFeatures(); 1245var features = new TestFeatures(); 1280var features = new TestFeatures(); 1315var features = new TestFeatures(); 1351var features = new TestFeatures(); 1396var features = new TestFeatures(); 1428var features = new TestFeatures(); 1458var features = new TestFeatures(); 1818var features = new TestFeatures(); 1870var features = new TestFeatures(); 1921var features = new TestFeatures();
Projects\DefaultLanguageDiscoveryTests.cs (5)
57var features = new TestFeatures(); 89var features = new TestFeatures(); 149var features = new TestFeatures(); 191var features = new TestFeatures(); 233var features = new TestFeatures();
Templating\DotNetTemplateFactoryTests.cs (6)
260var features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true); 279var features = new TestFeatures(); 298var features = new TestFeatures(); 314var features = new TestFeatures(); 329var features = new TestFeatures().SetFeature(KnownFeatures.ShowAllTemplates, true); 343private static DotNetTemplateFactory CreateTemplateFactory(TestFeatures features, bool nonInteractive = false, TestDotNetSdkInstaller? sdkInstaller = null)
TestServices\TestFeatures.cs (1)
12public TestFeatures SetFeature(string featureName, bool value)