27 references to Success
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
558
bool success = targetResult.ResultCode == TargetResultCode.
Success
;
578
if (targetResult.ResultCode == TargetResultCode.
Success
)
BackEnd\Shared\TargetResult.cs (1)
131
return TargetResultCode.
Success
;
Microsoft.Build.Engine.UnitTests (23)
BackEnd\BuildManager_Tests.cs (2)
3483
Assert.Equal(TargetResultCode.
Success
, buildResult.ResultsByTarget["target1"].ResultCode);
3484
Assert.Equal(TargetResultCode.
Success
, buildResult.ResultsByTarget["target2"].ResultCode);
BackEnd\BuildResult_Tests.cs (4)
130
Assert.Equal(TargetResultCode.
Success
, result["foo"].ResultCode);
200
Assert.Equal(TargetResultCode.
Success
, result["foo"].ResultCode);
209
Assert.Equal(TargetResultCode.
Success
, result["foo"].ResultCode);
211
Assert.Equal(TargetResultCode.
Success
, result["xor"].ResultCode);
BackEnd\TargetBuilder_Tests.cs (11)
109
Assert.Equal(TargetResultCode.
Success
, result["Empty"].ResultCode);
132
Assert.Equal(TargetResultCode.
Success
, result["Baz"].ResultCode);
137
Assert.Equal(TargetResultCode.
Success
, resultsCache.GetResultForRequest(entry.Request)["Bar"].ResultCode);
156
Assert.Equal(TargetResultCode.
Success
, result["DepSkip"].ResultCode);
200
Assert.Equal(TargetResultCode.
Success
, resultsCache.GetResultForRequest(entry.Request)["Foo"].ResultCode);
201
Assert.Equal(TargetResultCode.
Success
, resultsCache.GetResultForRequest(entry.Request)["Skip"].ResultCode);
203
Assert.Equal(TargetResultCode.
Success
, resultsCache.GetResultForRequest(entry.Request)["Bar"].ResultCode);
204
Assert.Equal(TargetResultCode.
Success
, resultsCache.GetResultForRequest(entry.Request)["Baz"].ResultCode);
985
result.ResultsByTarget["Build"].ResultCode.ShouldBe(TargetResultCode.
Success
);
1010
result.ResultsByTarget["Build"].ResultCode.ShouldBe(TargetResultCode.
Success
);
1029
result.ResultsByTarget["Build"].ResultCode.ShouldBe(TargetResultCode.
Success
);
BackEnd\TargetEntry_Tests.cs (6)
365
Assert.Equal(TargetResultCode.
Success
, results.ResultCode);
389
Assert.Equal(TargetResultCode.
Success
, results.ResultCode);
409
Assert.Equal(TargetResultCode.
Success
, results.ResultCode);
426
Assert.Equal(TargetResultCode.
Success
, results.ResultCode);
435
Assert.Equal(TargetResultCode.
Success
, results.ResultCode);
887
Assert.Equal(TargetResultCode.
Success
, result.ResultsByTarget["Build"].ResultCode);
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1541
buildResult[targetName].ResultCode.ShouldBe(TargetResultCode.
Success
);