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