80 references to _eventSender
Microsoft.Build.CommandLine.UnitTests (80)
TerminalLogger_Tests.cs (80)
241BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
242ProjectStarted?.Invoke(_eventSender, MakeProjectStartedEventArgs(projectFile));
244TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(projectFile, "Build"));
245TaskStarted?.Invoke(_eventSender, MakeTaskStartedEventArgs(projectFile, "Task"));
249TaskFinished?.Invoke(_eventSender, MakeTaskFinishedEventArgs(projectFile, "Task", succeeded));
250TargetFinished?.Invoke(_eventSender, MakeTargetFinishedEventArgs(projectFile, "Build", succeeded));
252ProjectFinished?.Invoke(_eventSender, MakeProjectFinishedEventArgs(projectFile, succeeded));
253BuildFinished?.Invoke(_eventSender, MakeBuildFinishedEventArgs(succeeded));
258BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
259ProjectStarted?.Invoke(_eventSender, MakeProjectStartedEventArgs(_projectFile));
261TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile, "_TestRunStart"));
262TaskStarted?.Invoke(_eventSender, MakeTaskStartedEventArgs(_projectFile, "Task"));
266TaskFinished?.Invoke(_eventSender, MakeTaskFinishedEventArgs(_projectFile, "Task", succeeded));
267TargetFinished?.Invoke(_eventSender, MakeTargetFinishedEventArgs(_projectFile, "_TestRunStart", succeeded));
269ProjectFinished?.Invoke(_eventSender, MakeProjectFinishedEventArgs(_projectFile, succeeded));
271BuildFinished?.Invoke(_eventSender, MakeBuildFinishedEventArgs(succeeded));
276BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
278ProjectStarted?.Invoke(_eventSender, MakeProjectStartedEventArgs(_projectFile));
279TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile, "Build1"));
280TaskStarted?.Invoke(_eventSender, MakeTaskStartedEventArgs(_projectFile, "Task1"));
284TaskFinished?.Invoke(_eventSender, MakeTaskFinishedEventArgs(_projectFile, "Task1", succeeded));
285TargetFinished?.Invoke(_eventSender, MakeTargetFinishedEventArgs(_projectFile, "Build1", succeeded));
286ProjectFinished?.Invoke(_eventSender, MakeProjectFinishedEventArgs(_projectFile, succeeded));
288ProjectStarted?.Invoke(_eventSender, MakeProjectStartedEventArgs(_projectFile2));
289TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile2, "Build2"));
290TaskStarted?.Invoke(_eventSender, MakeTaskStartedEventArgs(_projectFile2, "Task2"));
294TaskFinished?.Invoke(_eventSender, MakeTaskFinishedEventArgs(_projectFile2, "Task2", succeeded));
295TargetFinished?.Invoke(_eventSender, MakeTargetFinishedEventArgs(_projectFile2, "Build2", succeeded));
296ProjectFinished?.Invoke(_eventSender, MakeProjectFinishedEventArgs(_projectFile2, succeeded));
298BuildFinished?.Invoke(_eventSender, MakeBuildFinishedEventArgs(succeeded));
314WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("A\nMulti\r\nLine\nWarning!"));
325WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("[CredentialProvider]DeviceFlow: https://testfeed/index.json"));
326WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs(
341WarningRaised?.Invoke(_eventSender, MakeCopyRetryWarning(1));
342WarningRaised?.Invoke(_eventSender, MakeCopyRetryWarning(2));
343WarningRaised?.Invoke(_eventSender, MakeCopyRetryWarning(3));
354MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs(_immediateMessageString, MessageImportance.High));
365MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("--anycustomarg", MessageImportance.High));
374BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
377ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Restore Failed"));
379ProjectFinished?.Invoke(_eventSender, MakeProjectFinishedEventArgs(_projectFile, succeeded));
380BuildFinished?.Invoke(_eventSender, MakeBuildFinishedEventArgs(succeeded));
388BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
391WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Restore with Warning"));
393ProjectFinished?.Invoke(_eventSender, MakeProjectFinishedEventArgs(_projectFile, succeeded));
394BuildFinished?.Invoke(_eventSender, MakeBuildFinishedEventArgs(succeeded));
411ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error!"));
426WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning!"));
427ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error!"));
442WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning1!"));
443WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning2!"));
444ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error1!"));
445ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error2!"));
459WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning1!"));
460WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning2!"));
461ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error1!"));
462ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error2!"));
466WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning3!"));
467WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning4!"));
468ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error3!"));
469ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error4!"));
486MessageRaised?.Invoke(_eventSender, e);
496MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs(_immediateMessageString, MessageImportance.High));
497MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("High importance message!", MessageImportance.High));
498MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("Normal importance message!", MessageImportance.Normal));
499MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("Low importance message!", MessageImportance.Low));
500WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning!"));
501WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("A\nMulti\r\nLine\nWarning!"));
502ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error!"));
507MessageRaised?.Invoke(_eventSender, MakeExtendedMessageEventArgs(
512MessageRaised?.Invoke(_eventSender, MakeExtendedMessageEventArgs(
517MessageRaised?.Invoke(_eventSender, MakeExtendedMessageEventArgs(
610MessageRaised?.Invoke(_eventSender, MakeTaskCommandLineEventArgs("Task Command Line.", MessageImportance.High));
625MessageRaised?.Invoke(_eventSender, MakeTaskCommandLineEventArgs("Task Command Line.", MessageImportance.High));
682BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
687ProjectStarted?.Invoke(_eventSender, pse);
689TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile, "Build"));
690TaskStarted?.Invoke(_eventSender, MakeTaskStartedEventArgs(_projectFile, "Task"));
700ProjectStarted?.Invoke(_eventSender, pse2);
701TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile, "Build"));