84 references to BuildResult
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
2301var result = new BuildResult(submission.BuildRequest!);
BackEnd\Components\Scheduler\Scheduler.cs (1)
2008BuildResult result = new BuildResult(request);
Microsoft.Build.Engine.UnitTests (82)
BackEnd\BuildRequestEngine_Tests.cs (3)
159BuildResult result = new BuildResult(_entry.Request); 425BuildResult result = new BuildResult(_newRequest_Request.BuildRequests[0]); 490BuildResult result = new BuildResult(_newRequest_Request.BuildRequests[0]);
BackEnd\BuildRequestEntry_Tests.cs (11)
65BuildResult requiredResult = new BuildResult(waitingRequest); 81BuildResult result = new BuildResult(request); 105BuildResult requiredResult = new BuildResult(waitingRequest); 130BuildResult requiredResult1 = new BuildResult(waitingRequest1); 135BuildResult requiredResult2 = new BuildResult(waitingRequest2); 165BuildResult requiredResult1 = new BuildResult(waitingRequest1); 170BuildResult requiredResult2 = new BuildResult(waitingRequest2); 203BuildResult requiredResult = new BuildResult(request); 227BuildResult requiredResult = new BuildResult(request); 246BuildResult requiredResult = new BuildResult(request); 271BuildResult requiredResult = new BuildResult(randomRequest);
BackEnd\BuildResult_Tests.cs (24)
32BuildResult result2 = new BuildResult(request); 39BuildResult result1 = new BuildResult(request); 64BuildResult result = new BuildResult(null!); 71BuildResult result = new BuildResult(request); 75BuildResult result2 = new BuildResult(request2); 83BuildResult result = new BuildResult(request); 95BuildResult result = new BuildResult(request); 108BuildResult result2 = new BuildResult(request2); 118BuildResult result = new BuildResult(request); 126BuildResult result = new BuildResult(request); 140BuildResult result = new BuildResult(request); 151BuildResult result = new BuildResult(request); 163BuildResult result = new BuildResult(request); 174BuildResult result = new BuildResult(request); 185BuildResult result = new BuildResult(request); 193BuildResult result = new BuildResult(request); 196BuildResult result2 = new BuildResult(request); 203BuildResult result3 = new BuildResult(request); 206BuildResult result4 = new BuildResult(request); 220BuildResult result = new BuildResult(request); 233BuildResult result = new BuildResult(request); 237BuildResult result2 = new BuildResult(request2); 247BuildResult result = new BuildResult(request); 258BuildResult result = new BuildResult(request);
BackEnd\CacheAggregator_Tests.cs (11)
82var buildResult = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 103var buildResult = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 108var buildResult2 = new BuildResult(new BuildRequest(1, 2, configurationId: 2, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 132var buildResult = new BuildResult(new BuildRequest(1, 2, configurationId: 2, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 154var buildResult11 = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 162var buildResult21 = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "e", "f" }, null, BuildEventContext.Invalid, null)); 198var buildResult = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 217var buildResult11 = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "a", "b" }, null, BuildEventContext.Invalid, null)); 219var buildResult12 = new BuildResult(new BuildRequest(1, 2, configurationId: 2, new List<string>() { "c", "d" }, null, BuildEventContext.Invalid, null)); 229var buildResult21 = new BuildResult(new BuildRequest(1, 2, configurationId: 1, new List<string>() { "e", "f" }, null, BuildEventContext.Invalid, null)); 231var buildResult22 = new BuildResult(new BuildRequest(1, 2, configurationId: 2, new List<string>() { "g", "h" }, null, BuildEventContext.Invalid, null));
BackEnd\CacheSerialization_Tests.cs (3)
48var buildResult1 = new BuildResult(request1); 49var buildResult2 = new BuildResult(request2); 50var buildResult3 = new BuildResult(request3);
BackEnd\RequestBuilder_Tests.cs (8)
90BuildResult result = new BuildResult(request); 120BuildResult result = new BuildResult(request); 154BuildResult result = new BuildResult(request); 163BuildResult newResult = new BuildResult(_newBuildRequests_BuildRequests[0]); 193BuildResult result = new BuildResult(request); 202BuildResult newResult = new BuildResult(_newBuildRequests_BuildRequests[0]); 365BuildResult result = new BuildResult(entry.Request); 390BuildResult result = new BuildResult(entry.Request);
BackEnd\ResultsCache_Tests.cs (20)
36BuildRequest request = new BuildRequest(1 /* submissionId */, 0, 1, new string[1] { "testTarget" }, null, BuildEventContext.Invalid, null); BuildResult result = new BuildResult(request); 50BuildResult result = new BuildResult(request); 55result = new BuildResult(request); 70BuildResult result = new BuildResult(request); 75result = new BuildResult(request); 79BuildResult result2 = new BuildResult(new BuildRequest(submissionId: 1, nodeRequestId: 0, configurationId: 2, new string[1] { "testTarget" }, null, BuildEventContext.Invalid, null)); 107BuildResult result = new BuildResult(request); 111BuildResult result2 = new BuildResult(request); 126BuildResult result = new BuildResult(request); 145BuildResult result = new BuildResult(request); 157BuildResult result = new BuildResult(request); 161BuildResult result2 = new BuildResult(request); 181BuildResult result = new BuildResult(request); 233BuildResult resultForRequestWithNoBuildDataFlags = new(requestWithNoBuildDataFlags); 302BuildResult resultForRequestWithSubsetFlag1 = new(requestWithSubsetFlag1); 349BuildResult result = new BuildResult(request); 367var br1 = new BuildResult(request1); 375var br2 = new BuildResult(request2); 413var br1 = new BuildResult(request1); 414var br2 = new BuildResult(request2);
BackEnd\Scheduler_Tests.cs (2)
776BuildResult result = new BuildResult(request); 890var buildResult = new BuildResult(_defaultParentRequest);