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