63 references to AllBuildEvents
Microsoft.Build.BuildCheck.UnitTests (1)
BuildCheckManagerProviderTests.cs (1)
47_logger.AllBuildEvents.Where(be => be.GetType() == typeof(BuildMessageEventArgs)).Select(be => be.Message).ToArray()
Microsoft.Build.CommandLine.UnitTests (2)
TerminalLogger_Tests.cs (2)
755mockLogFromPlaybackWithoutTL.AllBuildEvents.Count.ShouldBe(mockLogFromPlaybackWithTL.AllBuildEvents.Count);
Microsoft.Build.Engine.OM.UnitTests (8)
Definition\Project_Tests.cs (8)
3909ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 3950ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 3994ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 4041ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 4081ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 4124ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 4167ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs; 4213ProjectImportedEventArgs eventArgs = logger.AllBuildEvents.SingleOrDefault(i => i is ProjectImportedEventArgs) as ProjectImportedEventArgs;
Microsoft.Build.Engine.UnitTests (50)
BackEnd\BuildManager_Logging_Tests.cs (1)
126var allEvents = _logger.AllBuildEvents;
BackEnd\BuildManager_Tests.cs (5)
209_logger.AllBuildEvents.OfType<ProjectStartedEventArgs>() 212_logger.AllBuildEvents.OfType<ProjectEvaluationFinishedEventArgs>() 216_logger.AllBuildEvents.OfType<ProjectEvaluationStartedEventArgs>() 219_logger.AllBuildEvents.OfType<ProjectEvaluationFinishedEventArgs>() 3967Assert.True(_logger.AllBuildEvents.OfType<ProjectEvaluationStartedEventArgs>().GroupBy(args => args.BuildEventContext.EvaluationId).All(g => g.Count() == 1));
Evaluation\EvaluationLogging_Tests.cs (5)
90firstEvaluationLogger.AllBuildEvents.ShouldNotBeEmpty(); 100reevaluationLogger.AllBuildEvents.ShouldNotBeEmpty(); 116foreach (var buildEvent in firstEvaluationLogger.AllBuildEvents) 129var allBuildEvents = firstEvaluationLogger.AllBuildEvents.Where(be => be is ProjectEvaluationStartedEventArgs || be is ProjectEvaluationFinishedEventArgs).ToList(); 164foreach (var e in logger.AllBuildEvents.OfType<ProjectEvaluationFinishedEventArgs>())
Evaluation\Evaluator_Tests.cs (30)
4714.AllBuildEvents 4719.AllBuildEvents 4726.AllBuildEvents 4732.AllBuildEvents 4746.AllBuildEvents 4751.AllBuildEvents 4758.AllBuildEvents 4763.AllBuildEvents 4777.AllBuildEvents 4782.AllBuildEvents 4789.AllBuildEvents 4794.AllBuildEvents 4809.AllBuildEvents 4814.AllBuildEvents 4821.AllBuildEvents 4826.AllBuildEvents 4861.AllBuildEvents 4866.AllBuildEvents 4871.AllBuildEvents 4876.AllBuildEvents 4881.AllBuildEvents 4895.AllBuildEvents 4900.AllBuildEvents 4907.AllBuildEvents 4912.AllBuildEvents 4926.AllBuildEvents 4931.AllBuildEvents 4936.AllBuildEvents 4941.AllBuildEvents 4946.AllBuildEvents
Evaluation\Expander_Tests.cs (2)
5181_ = logger.AllBuildEvents.Select(be => be.ShouldBeOfType<BuildCheckAcquisitionEventArgs>()); 5182logger.AllBuildEvents.Count.ShouldBe(1);
Graph\IsolateProjects_Tests.cs (5)
238logger.AllBuildEvents.OfType<ProjectStartedEventArgs>().Count().ShouldBe(3); 260logger.AllBuildEvents.OfType<ProjectStartedEventArgs>().Count().ShouldBe(3); 355rootLogger.AllBuildEvents.OfType<ProjectStartedEventArgs>().Count().ShouldBe(2); 356declaredReferenceLogger.AllBuildEvents.OfType<ProjectStartedEventArgs>().Count().ShouldBe(2); 387logger.AllBuildEvents.OfType<ProjectStartedEventArgs>().Count().ShouldBe(2);
Graph\ResultCacheBasedBuilds_Tests.cs (2)
73_logger.AllBuildEvents.Count.ShouldBe(6); 569_logger.AllBuildEvents.Count.ShouldBe(6);
Microsoft.Build.Tasks.UnitTests (1)
RoslynCodeTaskFactory_Tests.cs (1)
761var logLines = logger.AllBuildEvents.Select(a => a.Message);
Microsoft.Build.UnitTests.Shared (1)
MockLogger.cs (1)
270AllBuildEvents.Add(eventArgs);