83 references to Build
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
2076bool result = project.Build(new string[] { "nonexistent" }, new List<ILogger>() { logger });
Microsoft.Build.Engine.UnitTests (80)
BackEnd\IntrinsicTask_Tests.cs (48)
192p.Build(new string[] { "t" }, new ILogger[] { logger }); 208p.Build(new string[] { "t" }, new ILogger[] { logger }); 229p.Build(new string[] { "t" }, new ILogger[] { logger }); 916p.Build(new string[] { "t" }, new ILogger[] { logger }); 933p.Build(new string[] { "t" }, new ILogger[] { logger }); 955p.Build(new string[] { "t" }, new ILogger[] { logger }); 1087p.Build(new string[] { "t" }, new ILogger[] { logger }); 1171p.Build(new string[] { "t" }, new ILogger[] { logger }); 1225p.Build(new string[] { "t" }, new ILogger[] { logger }); 1248p.Build(new string[] { "t" }, new ILogger[] { logger }); 1339p.Build(new string[] { "t" }, new ILogger[] { logger }); 1361p.Build(new string[] { "t2" }, new ILogger[] { logger }); 1381p.Build(new string[] { "t" }, new ILogger[] { logger }); 1403p.Build(new string[] { "t2" }, new ILogger[] { logger }); 1428p.Build(new string[] { "t" }, new ILogger[] { logger }); 1453p.Build(new string[] { "t" }, new ILogger[] { logger }); 1488p.Build(new string[] { "t2" }, new ILogger[] { logger }); 1530p.Build(new string[] { "t2" }, new ILogger[] { logger }); 1581p.Build(new string[] { "t2" }, new ILogger[] { logger }); 1691p.Build(new string[] { "t", "t2" }, new ILogger[] { logger }); 2569p.Build(new string[] { "t" }, new ILogger[] { logger }); 2595p.Build(new string[] { "t" }, new ILogger[] { logger }); 2639p.Build(new string[] { "t3" }, new ILogger[] { logger }); 2682p.Build(new string[] { "Build" }, new ILogger[] { logger }); 2726p.Build(new string[] { "Build" }, new ILogger[] { logger }); 2770p.Build(new string[] { "Build" }, new ILogger[] { logger }); 2815p.Build(new string[] { "t3" }, new ILogger[] { logger }); 2888p.Build(new string[] { "t" }, new ILogger[] { logger }); 2938p.Build(new string[] { "t" }, new ILogger[] { logger }); 3168p.Build(new string[] { "MIDL" }, new ILogger[] { logger }); 3287bool success = p.Build(new string[] { "a" }, new ILogger[] { logger }); 3315bool success = p.Build(new string[] { "a" }, new ILogger[] { logger }); 3361bool success = p.Build(new string[] { "a" }, new ILogger[] { logger }); 3406p.Build(new string[] { "t" }, new ILogger[] { logger }); 3446p.Build(new string[] { "t" }, new ILogger[] { logger }); 3483p.Build(new string[] { "t", "t2" }, new ILogger[] { logger }); 3509p.Build(new string[] { "t" }, new ILogger[] { logger }); 3577p.Build(new string[] { "t2" }, new ILogger[] { logger }); 3613p.Build(new string[] { "t" }, new ILogger[] { logger }); 3644p.Build(new string[] { "t" }, new ILogger[] { logger }); 3671p.Build(new string[] { "t" }, new ILogger[] { logger }); 3700p.Build(new string[] { "t" }, new ILogger[] { logger }); 3729p.Build(new string[] { "t" }, new ILogger[] { logger }); 3758p.Build(new string[] { "t" }, new ILogger[] { logger }); 3796p.Build(new string[] { "t" }, new ILogger[] { logger }); 3824p.Build(new string[] { "t" }, new ILogger[] { logger }); 3853p.Build(new string[] { "t" }, new ILogger[] { logger }); 3892p.Build(new string[] { "t" }, new ILogger[] { logger });
BackEnd\OnError_Tests.cs (20)
48p.Build(new string[] { "Build" }, new ILogger[] { l }); 176p.Build(new string[] { "Build" }, new ILogger[] { l }); 207p.Build(new string[] { "Build" }, new ILogger[] { l }); 240p.Build(new string[] { "Build" }, new ILogger[] { l }); 273p.Build(new string[] { "Build" }, new ILogger[] { l }); 305p.Build(new string[] { "Build" }, new ILogger[] { l }); 332p.Build(new string[] { "Build" }, new ILogger[] { l }); 360p.Build(new string[] { "Build" }, new ILogger[] { l }); 388p.Build(new string[] { "Build" }, new ILogger[] { l }); 420p.Build(new string[] { "Build" }, new ILogger[] { l }); 461p.Build(new string[] { "Build" }, new ILogger[] { l }); 488p.Build(new string[] { "Build" }, new ILogger[] { l }); 518p.Build(new string[] { "Build" }, new ILogger[] { l }); 543p.Build(new string[] { "Build" }, new ILogger[] { l }); 614p.Build(new string[] { "Build" }, new ILogger[] { l }); 636p.Build(new string[] { "Build" }, new ILogger[] { l }); 659p.Build(new string[] { "Build" }, new ILogger[] { l }); 682p.Build(new string[] { "Build" }, new ILogger[] { l }); 705p.Build(new string[] { "Build" }, new ILogger[] { l }); 728p.Build(new string[] { "Build" }, new ILogger[] { l });
BackEnd\TargetBuilder_Tests.cs (1)
329p.Build(new string[] { "Build" }, new ILogger[] { logger });
BackEnd\TargetUpToDateChecker_Tests.cs (8)
62bool success = p.Build(new string[] { "Build" }, new ILogger[] { ml }); 93bool success = p.Build(new string[] { "Build" }, new ILogger[] { ml }); 322Assert.True(p.Build(new string[] { "Build" }, new ILogger[] { logger })); 351Assert.True(p.Build(new string[] { "Build" }, new ILogger[] { logger })); 380Assert.True(p.Build(new string[] { "Build" }, new ILogger[] { logger })); 410Assert.True(p.Build(new string[] { "Build" }, new ILogger[] { logger })); 445Assert.True(p.Build(new string[] { "Build" }, new ILogger[] { logger })); 523p.Build(new string[] { "Build" }, new ILogger[] { logger });
Definition\ItemDefinitionGroup_Tests.cs (3)
349p.Build(new string[] { "Build" }, new ILogger[] { logger }); 379p.Build(new string[] { "Build" }, new ILogger[] { logger }); 411p.Build(new string[] { "Build" }, new ILogger[] { logger });
Microsoft.Build.UnitTests.Shared (2)
MockEngine.cs (1)
251return project.Build(targetNames, loggers);
ObjectModelHelpers.cs (1)
1039return project.Build(targets, loggers);