6 writes to Action
Microsoft.Build (6)
BackEnd\Components\Scheduler\ScheduleResponse.cs (6)
105
Action
= type;
113
Action
= ScheduleActionType.CreateNode;
123
Action
= ScheduleActionType.SubmissionComplete;
132
Action
= ScheduleActionType.CircularDependency;
146
Action
= sendConfiguration ? ScheduleActionType.ScheduleWithConfiguration : ScheduleActionType.Schedule;
158
Action
= (unblocker.Result == null) ? ScheduleActionType.ResumeExecution : ScheduleActionType.ReportResults;
46 references to Action
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (3)
2608
switch (response.
Action
)
2652
if (response.
Action
== ScheduleActionType.ScheduleWithConfiguration)
2670
ErrorUtilities.ThrowInternalError("Scheduling action {0} not handled.", response.
Action
);
BackEnd\Components\Scheduler\Scheduler.cs (1)
1850
if (response.
Action
== ScheduleActionType.SubmissionComplete)
BackEnd\Components\Scheduler\ScheduleResponse.cs (8)
236
switch (
Action
)
240
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2}",
Action
, NodeId, Unblocker.BlockedRequestId);
243
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2} Parent {3}",
Action
, NodeId, BuildRequest.GlobalRequestId, BuildRequest.ParentGlobalRequestId);
246
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2} Parent {3} Configuration: {4}",
Action
, NodeId, BuildRequest.GlobalRequestId, BuildRequest.ParentGlobalRequestId, BuildRequest.ConfigurationId);
249
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Node: {1} Request: {2} Parent {3} Configuration: {4}",
Action
, NodeId, BuildRequest.GlobalRequestId, BuildRequest.ParentGlobalRequestId, BuildRequest.ConfigurationId);
252
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Submission: {1}",
Action
, BuildResult.SubmissionId);
255
return String.Format(CultureInfo.CurrentCulture, "Act: {0} Count: {1}",
Action
, NumberOfNodesToCreate);
259
return String.Format(CultureInfo.CurrentCulture, "Act: {0}",
Action
);
Microsoft.Build.Engine.UnitTests (34)
BackEnd\Scheduler_Tests.cs (34)
114
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
134
Assert.Equal(ScheduleActionType.ReportResults, response[0].
Action
);
138
Assert.Equal(ScheduleActionType.ResumeExecution, response[1].
Action
);
158
Assert.Equal(ScheduleActionType.ReportResults, response[0].
Action
);
162
Assert.Equal(ScheduleActionType.ResumeExecution, response[1].
Action
);
188
Assert.Equal(ScheduleActionType.ReportResults, response[0].
Action
);
192
Assert.Equal(ScheduleActionType.ResumeExecution, response[1].
Action
);
210
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
230
Assert.Equal(ScheduleActionType.ReportResults, response[0].
Action
);
232
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].
Action
);
255
Assert.Equal(ScheduleActionType.ReportResults, response[0].
Action
);
257
Assert.Equal(ScheduleActionType.ReportResults, response[1].
Action
);
261
Assert.Equal(ScheduleActionType.ResumeExecution, response[2].
Action
);
283
Assert.Equal(ScheduleActionType.CreateNode, response[0].
Action
);
307
Assert.Equal(ScheduleActionType.CreateNode, response[0].
Action
);
332
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
358
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
360
Assert.Equal(ScheduleActionType.CreateNode, response[1].
Action
);
400
Assert.Equal(ScheduleActionType.CreateNode, response[0].
Action
);
408
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, moreResponses[0].
Action
);
409
Assert.Equal(ScheduleActionType.CreateNode, moreResponses[1].
Action
);
438
Assert.Equal(ScheduleActionType.CreateNode, response[0].
Action
);
466
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
468
Assert.Equal(ScheduleActionType.CreateNode, response[1].
Action
);
496
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
498
Assert.Equal(ScheduleActionType.CreateNode, response[1].
Action
);
531
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
555
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[0].
Action
);
632
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].
Action
);
651
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].
Action
);
671
Assert.Equal(ScheduleActionType.ScheduleWithConfiguration, response[1].
Action
);
691
Assert.Equal(ScheduleActionType.ReportResults, response[0].
Action
);
694
Assert.Equal(ScheduleActionType.ResumeExecution, response[1].
Action
);
860
if (response.
Action
== ScheduleActionType.CreateNode)