10 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
151
return new
TargetFeedSpecification
(tuple.types, tuple.feed, AssetSelection.All);
156
return new
TargetFeedSpecification
(tuple.types, tuple.feed, tuple.assets);
161
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All);
166
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, tuple.assets);
Microsoft.DotNet.Build.Tasks.Feed.Tests (6)
GeneralTests.cs (3)
209
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
222
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
243
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
SetupTargetFeedConfigV3Tests.cs (3)
443
Action shouldFail = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All);
446
Action shouldPassShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly);
449
Action shouldPassNonShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);