62 references to MockTaskItem
Microsoft.NET.Build.Tasks.UnitTests (62)
GetPublishItemsOutputGroupOutputsTests.cs (2)
12
=
new
(@"C:\work\temp\WindowsDesktopSdkTest_without_ProjectSdk_set\obj\Debug\net5.0\apphost.exe",
23
new
(@"obj\Debug\net5.0\WindowsDesktopSdkTest_without_ProjectSdk_set.dll",
GivenACompilationOptionsConverter.cs (2)
36
new
MockTaskItem
(
70
new
MockTaskItem
(
GivenAConflictResolver.cs (2)
369
new
MockTaskItem
("Platform", new Dictionary<string, string>
400
new
MockTaskItem
("Platform", new Dictionary<string, string>
GivenADependencyContextBuilder.cs (7)
107
new
MockTaskItem
(
114
new
MockTaskItem
(
234
new
MockTaskItem
($"/usr/Path/{reference}.dll", new Dictionary<string, string> {
277
[new
MockTaskItem
($"{kvp.Key}.resource", new Dictionary<string, string>() {
414
new
MockTaskItem
(
422
new
MockTaskItem
(
430
new
MockTaskItem
(
GivenAGenerateRuntimeConfigurationFiles.cs (7)
45
new
MockTaskItem
(
86
new
MockTaskItem
(
93
new
MockTaskItem
(
100
new
MockTaskItem
(
146
new
MockTaskItem
(
153
new
MockTaskItem
(
193
new
MockTaskItem
(
GivenAPackageOverrideResolver.cs (3)
21
new
MockTaskItem
("Platform", new Dictionary<string, string>
25
new
MockTaskItem
("Platform", new Dictionary<string, string>
58
new
MockTaskItem
("FakePlatform", new Dictionary<string, string>
GivenAProduceContentsAssetsTask.cs (2)
489
=> values.Select(kvp => new
MockTaskItem
(
496
=> new
MockTaskItem
(
GivenARemoveDuplicatePackageReferences.cs (1)
15
=> packages.Select(kvp => new
MockTaskItem
(
GivenAResolveTargetingPackAssetsTask.cs (5)
59
new
MockTaskItem
("RuntimeFramework1", new Dictionary<string, string>{ ["FrameworkName"] = "Microsoft.Windows.SDK.NET.Ref"}),
60
new
MockTaskItem
("RuntimeFramework2", new Dictionary<string, string>{ ["FrameworkName"] = "Microsoft.Windows.SDK.NET.Ref"}),
158
new
MockTaskItem
("Microsoft.Windows.SDK.NET.Ref",
171
new
MockTaskItem
("Microsoft.Windows.SDK.NET.Ref", new Dictionary<string, string>())
307
runtimeFrameworks: new[] { new
MockTaskItem
("RuntimeFramework1", new Dictionary<string, string>()) },
GivenUnresolvedSDKProjectItemsAndImplicitPackages.cs (6)
16
var sdkReference1 = new
MockTaskItem
(
23
var sdkReference2 = new
MockTaskItem
(
30
var packageReference1 = new
MockTaskItem
(
39
var packageReference2 = new
MockTaskItem
(
47
var packageReference3 = new
MockTaskItem
(
54
var defaultImplicitPackage1 = new
MockTaskItem
(
ProcessFrameworkReferencesTests.cs (25)
116
return new
MockTaskItem
(name, metadata);
121
return new
MockTaskItem
("Microsoft.DotNet.ILCompiler", new Dictionary<string, string>
231
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.AspNetCore.App", new Dictionary<string, string>()) },
254
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.AspNetCore.App", new Dictionary<string, string>()) },
283
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.Windows.SDK.NET.Ref", new Dictionary<string, string>()) },
327
new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()),
328
new
MockTaskItem
("Microsoft.Windows.SDK.NET.Ref", new Dictionary<string, string>())
361
new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()),
362
new
MockTaskItem
("Microsoft.Windows.SDK.NET.Ref", new Dictionary<string, string>())
401
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()) },
437
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.Windows.SDK.NET.Ref", new Dictionary<string, string>()) },
473
var nativeAOTRuntimePack = new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>
483
var ilLinkPack = new
MockTaskItem
("Microsoft.NET.ILLink.Tasks", new Dictionary<string, string>
489
var ilCompilerPack = new
MockTaskItem
("Microsoft.DotNet.ILCompiler", new Dictionary<string, string>
517
new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string> { ["IsImplicitlyDefined"] = "true" }),
518
new
MockTaskItem
("Microsoft.macOS", new Dictionary<string, string> { ["IsImplicitlyDefined"] = "true" })
553
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()) },
583
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()) },
609
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()) },
646
new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()),
647
new
MockTaskItem
("Microsoft.iOS", new Dictionary<string, string>())
676
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()) },
714
new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()),
715
new
MockTaskItem
($"Microsoft.{platformId}", new Dictionary<string, string>())
751
FrameworkReferences = new[] { new
MockTaskItem
("Microsoft.NETCore.App", new Dictionary<string, string>()) },