3 writes to _defaultParentRequest
Microsoft.Build.Engine.UnitTests (3)
BackEnd\Scheduler_Tests.cs (3)
75
_defaultParentRequest
= CreateBuildRequest(99, 99, Array.Empty<string>(), null);
391
_defaultParentRequest
= CreateBuildRequest(99, 99, Array.Empty<string>(), null);
583
_defaultParentRequest
= CreateBuildRequest(99, 99, Array.Empty<string>(), null);
25 references to _defaultParentRequest
Microsoft.Build.Engine.UnitTests (25)
BackEnd\Scheduler_Tests.cs (25)
79
_scheduler.ReportRequestBlocked(1, new BuildRequestBlocker(-1, Array.Empty<string>(), new BuildRequest[] {
_defaultParentRequest
}));
274
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
275
BuildRequest request2 = CreateBuildRequest(2, 1, new string[] { "bar" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
298
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
299
BuildRequest request2 = CreateBuildRequest(2, 1, new string[] { "bar" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
394
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.Any,
_defaultParentRequest
);
395
BuildRequest request2 = CreateBuildRequest(2, 1, new string[] { "bar" }, NodeAffinity.InProc,
_defaultParentRequest
);
396
BuildRequest request3 = CreateBuildRequest(3, 1, new string[] { "bar" }, NodeAffinity.InProc,
_defaultParentRequest
);
398
List<ScheduleResponse> response = new List<ScheduleResponse>(_scheduler.ReportRequestBlocked(1, new BuildRequestBlocker(-1, Array.Empty<string>(), new BuildRequest[] {
_defaultParentRequest
, request1, request2, request3 })));
427
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
428
BuildRequest request2 = CreateBuildRequest(2, 2, new string[] { "bar" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
429
BuildRequest request3 = CreateBuildRequest(3, 3, new string[] { "baz" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
430
BuildRequest request4 = CreateBuildRequest(4, 4, new string[] { "qux" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
457
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
487
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
488
BuildRequest request2 = CreateBuildRequest(2, 2, new string[] { "bar" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
522
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" },
_defaultParentRequest
);
523
BuildRequest request2 = CreateBuildRequest(2, 2, new string[] { "bar" },
_defaultParentRequest
);
586
BuildRequest request1 = CreateBuildRequest(1, 1, new string[] { "foo" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
588
BuildRequest request2 = CreateBuildRequest(2, 2, new string[] { "bar" }, NodeAffinity.OutOfProc,
_defaultParentRequest
);
590
BuildRequest request3 = CreateBuildRequest(3, 3, new string[] { "bar" }, NodeAffinity.InProc,
_defaultParentRequest
);
592
List<ScheduleResponse> responses = new List<ScheduleResponse>(_scheduler.ReportRequestBlocked(1, new BuildRequestBlocker(-1, Array.Empty<string>(), new BuildRequest[] {
_defaultParentRequest
, request1, request2, request3 })));
794
return CreateBuildRequest(nodeRequestId, configId, targets,
_defaultParentRequest
);
890
var buildResult = new BuildResult(
_defaultParentRequest
);
891
_scheduler.ReportResult(
_defaultParentRequest
.NodeRequestId, buildResult);