13 references to TargetFeedSpecification
Microsoft.DotNet.Build.Tasks.Feed (4)
src\model\TargetChannelConfig.cs (4)
163
return new
TargetFeedSpecification
(tuple.types, tuple.feed, AssetSelection.All);
168
return new
TargetFeedSpecification
(tuple.types, tuple.feed, tuple.assets);
173
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, AssetSelection.All);
178
return new
TargetFeedSpecification
(ImmutableList.Create(tuple.type), tuple.feed, tuple.assets);
Microsoft.DotNet.Build.Tasks.Feed.Tests (9)
GeneralTests.cs (3)
211
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
225
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
247
new
(new[] { TargetFeedContentType.Deb }, dummyFeedUrl, AssetSelection.ShippingOnly)
SetupTargetFeedConfigV3Tests.cs (3)
451
Action shouldFail = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All);
454
Action shouldPassShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly);
457
Action shouldPassNonShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);
SetupTargetFeedConfigV4Tests.cs (3)
403
Action shouldFail = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.All);
406
Action shouldPassShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.ShippingOnly);
409
Action shouldPassNonShippingOnly = () => new
TargetFeedSpecification
(new TargetFeedContentType[] { TargetFeedContentType.Package }, "FooFeed", AssetSelection.NonShippingOnly);