78 references to _eventSender
Microsoft.Build.CommandLine.UnitTests (78)
TerminalLogger_Tests.cs (78)
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!"));
422WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning1!"));
423WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning2!"));
424ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error1!"));
425ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error2!"));
439WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning1!"));
440WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning2!"));
441ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error1!"));
442ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error2!"));
446WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning3!"));
447WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning4!"));
448ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error3!"));
449ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error4!"));
466MessageRaised?.Invoke(_eventSender, e);
476MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs(_immediateMessageString, MessageImportance.High));
477MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("High importance message!", MessageImportance.High));
478MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("Normal importance message!", MessageImportance.Normal));
479MessageRaised?.Invoke(_eventSender, MakeMessageEventArgs("Low importance message!", MessageImportance.Low));
480WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("Warning!"));
481WarningRaised?.Invoke(_eventSender, MakeWarningEventArgs("A\nMulti\r\nLine\nWarning!"));
482ErrorRaised?.Invoke(_eventSender, MakeErrorEventArgs("Error!"));
487MessageRaised?.Invoke(_eventSender, MakeExtendedMessageEventArgs(
492MessageRaised?.Invoke(_eventSender, MakeExtendedMessageEventArgs(
497MessageRaised?.Invoke(_eventSender, MakeExtendedMessageEventArgs(
590MessageRaised?.Invoke(_eventSender, MakeTaskCommandLineEventArgs("Task Command Line.", MessageImportance.High));
605MessageRaised?.Invoke(_eventSender, MakeTaskCommandLineEventArgs("Task Command Line.", MessageImportance.High));
662BuildStarted?.Invoke(_eventSender, MakeBuildStartedEventArgs());
667ProjectStarted?.Invoke(_eventSender, pse);
669TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile, "Build"));
670TaskStarted?.Invoke(_eventSender, MakeTaskStartedEventArgs(_projectFile, "Task"));
680ProjectStarted?.Invoke(_eventSender, pse2);
681TargetStarted?.Invoke(_eventSender, MakeTargetStartedEventArgs(_projectFile, "Build"));