12 references to GetSuccessResult
Microsoft.Build.Engine.UnitTests (12)
BackEnd\BuildRequestEngine_Tests.cs (1)
163
result.AddResultsForTarget(target, new TargetResult(new TaskItem[1] { new TaskItem("include", _entry.RequestConfiguration.ProjectFullPath) }, completeSuccess ? BuildResultUtilities.
GetSuccessResult
() : BuildResultUtilities.GetStopWithErrorResult()));
BackEnd\BuildResult_Tests.cs (1)
323
result.AddResultsForTarget("alpha", new TargetResult(new TaskItem[] { fooTaskItem }, BuildResultUtilities.
GetSuccessResult
()));
BackEnd\Scheduler_Tests.cs (8)
126
BuildResult result = CacheBuildResult(request, "foo", BuildResultUtilities.
GetSuccessResult
());
180
BuildResult childResult = CacheBuildResult(childRequest, "foo", BuildResultUtilities.
GetSuccessResult
());
224
BuildResult result2 = CacheBuildResult(request2, "bar", BuildResultUtilities.
GetSuccessResult
());
244
BuildResult result1 = CacheBuildResult(request1, "foo", BuildResultUtilities.
GetSuccessResult
());
247
BuildResult result2 = CacheBuildResult(request2, "bar", BuildResultUtilities.
GetSuccessResult
());
607
CacheBuildResult(br1, "A", BuildResultUtilities.
GetSuccessResult
(), overrideResultsCache);
612
_scheduler.RecordResultToCurrentCacheIfConfigNotInOverrideCache(CreateBuildResult(br2, "B", BuildResultUtilities.
GetSuccessResult
()));
685
BuildResult result = CreateBuildResult(request, "foo", BuildResultUtilities.
GetSuccessResult
());
BuildResultUtilities.cs (2)
22
return new TargetResult(Array.Empty<TaskItem>(), BuildResultUtilities.
GetSuccessResult
());
27
return new TargetResult(new TaskItem[1] { new TaskItem("i", "v") }, BuildResultUtilities.
GetSuccessResult
());