119 references to Success
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (1)
2717
_overallBuildSuccess &= (submission.BuildResultBase?.OverallResult == BuildResultCode.
Success
);
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
480
if (result.OverallResult == BuildResultCode.
Success
)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
123
projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.
Success
);
BackEnd\Components\ProjectCache\CacheResult.cs (1)
126
return resultCode == BuildResultCode.
Success
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
882
_projectLoggingContext.LogProjectFinished(result.OverallResult == BuildResultCode.
Success
);
BackEnd\Shared\BuildResult.cs (5)
201
_baseOverallResult = existingResults.OverallResult == BuildResultCode.
Success
;
268
_baseOverallResult = result.OverallResult == BuildResultCode.
Success
;
285
_baseOverallResult = result.OverallResult == BuildResultCode.
Success
;
392
return BuildResultCode.
Success
;
731
_baseOverallResult = OverallResult == BuildResultCode.
Success
,
Graph\GraphBuildResult.cs (1)
72
return BuildResultCode.
Success
;
Instance\ProjectInstance.cs (1)
2725
return results.OverallResult == BuildResultCode.
Success
;
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
100
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
Microsoft.Build.Engine.UnitTests (95)
BackEnd\BuildManager_Tests.cs (52)
136
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
207
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
253
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
452
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
517
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
570
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
610
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
654
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
716
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
786
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
837
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
906
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
935
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
992
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
1341
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
1344
Assert.Equal(BuildResultCode.
Success
, result2.OverallResult);
1384
Assert.Equal(BuildResultCode.
Success
, result2.OverallResult);
1385
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
1420
Assert.Equal(BuildResultCode.
Success
, submission1.BuildResult.OverallResult);
1421
Assert.Equal(BuildResultCode.
Success
, submission2.BuildResult.OverallResult);
1471
Assert.Equal(BuildResultCode.
Success
, submission1.BuildResult.OverallResult);
1782
Assert.Equal(BuildResultCode.
Success
, result1.OverallResult);
1784
Assert.Equal(BuildResultCode.
Success
, result2.OverallResult);
1817
Assert.Equal(BuildResultCode.
Success
, result1.OverallResult);
1819
Assert.Equal(BuildResultCode.
Success
, result2.OverallResult);
1851
Assert.Equal(BuildResultCode.
Success
, result1.OverallResult);
1853
Assert.Equal(BuildResultCode.
Success
, result2.OverallResult);
2165
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
2172
Assert.Equal(BuildResultCode.
Success
, result2.OverallResult);
2200
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
2229
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
2582
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
2671
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
3094
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
3224
Assert.Equal(BuildResultCode.
Success
, br.OverallResult);
3235
Assert.Equal(BuildResultCode.
Success
, br.OverallResult);
3311
Assert.Equal(BuildResultCode.
Success
, br.OverallResult);
3322
Assert.Equal(BuildResultCode.
Success
, br.OverallResult);
3516
Assert.Equal(BuildResultCode.
Success
, result.OverallResult); // "Test project failed to build correctly."
3724
Assert.Equal(BuildResultCode.
Success
, results.OverallResult);
3746
Assert.Equal(BuildResultCode.
Success
, results.OverallResult);
3809
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
3876
Assert.True(results.OverallResult == BuildResultCode.
Success
);
3903
Assert.Equal(BuildResultCode.
Success
, results.OverallResult);
3966
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
4050
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
4170
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
4209
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
4213
result.ResultsByNode[node1].OverallResult.ShouldBe(BuildResultCode.
Success
);
4217
result.ResultsByNode[node2].OverallResult.ShouldBe(BuildResultCode.
Success
);
4362
graphResult.OverallResult.ShouldBe(BuildResultCode.
Success
);
4417
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
BackEnd\BuildRequestEngine_Tests.cs (3)
384
Assert.Equal(BuildResultCode.
Success
, _requestComplete_Result.OverallResult);
437
Assert.Equal(BuildResultCode.
Success
, _requestComplete_Result.OverallResult);
502
Assert.Equal(BuildResultCode.
Success
, _requestComplete_Result.OverallResult);
BackEnd\BuildResult_Tests.cs (3)
96
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
99
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
102
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
BackEnd\RequestBuilder_Tests.cs (2)
99
Assert.Equal(BuildResultCode.
Success
, _buildRequestCompleted_Entry.Result.OverallResult);
171
Assert.Equal(BuildResultCode.
Success
, _buildRequestCompleted_Entry.Result.OverallResult);
BackEnd\ResultsCache_Tests.cs (1)
192
Assert.Equal(BuildResultCode.
Success
, response.Results.OverallResult);
BackEnd\Scheduler_Tests.cs (1)
717
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
BackEnd\SdkResultOutOfProc_Tests.cs (2)
130
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
176
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
BackEnd\TaskRegistry_Tests.cs (1)
679
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
BinaryLogger_Tests.cs (1)
599
.OverallResult.ShouldBe(BuildResultCode.
Success
);
EndToEndCondition_Tests.cs (2)
45
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
68
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
EvaluationProfiler_Tests.cs (1)
293
Assert.Equal(BuildResultCode.
Success
, result.OverallResult);
Graph\IsolateProjects_Tests.cs (15)
163
[InlineData(BuildResultCode.
Success
, new string[] { })]
164
[InlineData(BuildResultCode.
Success
, new[] { "BuildSelf" })]
182
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
231
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
253
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
347
declaredReferenceBuildResults[0].OverallResult.ShouldBe(BuildResultCode.
Success
);
348
rootBuildResults[0].OverallResult.ShouldBe(BuildResultCode.
Success
);
380
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
402
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
494
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
545
.OverallResult.ShouldBe(BuildResultCode.
Success
);
551
.OverallResult.ShouldBe(BuildResultCode.
Success
);
605
buildManagerSession.BuildProjectFile(referenceFile).OverallResult.ShouldBe(BuildResultCode.
Success
);
606
buildManagerSession.BuildProjectFile(referenceFile, new[] { "A" }).OverallResult.ShouldBe(BuildResultCode.
Success
);
608
buildManagerSession.BuildProjectFile(projectFile).OverallResult.ShouldBe(BuildResultCode.
Success
);
Graph\ProjectGraph_Tests.cs (2)
1565
result.Value.Result.OverallResult.ShouldBe(BuildResultCode.
Success
);
1613
results["2"].Result.OverallResult.ShouldBe(BuildResultCode.
Success
);
Graph\ResultCacheBasedBuilds_Tests.cs (7)
92
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
139
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
159
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
171
resultFromCachedBuild.OverallResult.ShouldBe(BuildResultCode.
Success
);
393
results["3"].Result.OverallResult.ShouldBe(BuildResultCode.
Success
);
394
results["2"].Result.OverallResult.ShouldBe(BuildResultCode.
Success
);
480
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
ProjectCache\ProjectCacheTests.cs (2)
141
BuildResultCode.
Success
)
986
BuildResultCode.
Success
)
Microsoft.Build.Tasks.UnitTests (3)
CreateItem_Tests.cs (1)
217
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
Exec_Tests.cs (2)
976
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
1028
result.OverallResult.ShouldBe(BuildResultCode.
Success
);
Microsoft.Build.UnitTests.Shared (4)
ObjectModelHelpers.cs (4)
165
BuildResultCode.
Success
,
172
BuildResultCode.
Success
,
1023
return result.OverallResult == BuildResultCode.
Success
;
1540
buildResult.OverallResult.ShouldBe(BuildResultCode.
Success
);
MSBuild (4)
XMake.cs (4)
1595
if (result.OverallResult != BuildResultCode.
Success
)
1601
success = result.OverallResult == BuildResultCode.
Success
;
1627
success = graphResult.OverallResult == BuildResultCode.
Success
;
1632
success = result.OverallResult == BuildResultCode.
Success
;