42 references to ProcessedBuildEvent
Microsoft.Build.Engine.UnitTests (42)
BackEnd\LoggingService_Tests.cs (1)
706
BuildMessageEventArgs messageEventFromPacket = loggingService.
ProcessedBuildEvent
as BuildMessageEventArgs;
BackEnd\LoggingServicesLogMethod_Tests.cs (41)
85
Assert.Null(loggingService.
ProcessedBuildEvent
); // "Expected ProcessedBuildEvent to be null"
194
Assert.Null(service.
ProcessedBuildEvent
);
717
Assert.Null(service.
ProcessedBuildEvent
);
776
Assert.Null(service.
ProcessedBuildEvent
);
1020
service.
ProcessedBuildEvent
.Timestamp);
1022
Assert.IsType<BuildStartedEventArgs>(service.
ProcessedBuildEvent
);
1023
Assert.Equal(buildEvent, (BuildStartedEventArgs)service.
ProcessedBuildEvent
,
1036
BuildFinishedEventArgs buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedSuccess"), null /* no help keyword */, true, service.
ProcessedBuildEvent
.Timestamp);
1037
Assert.True(((BuildFinishedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(buildEvent));
1041
buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedFailure"), null /* no help keyword */, false, service.
ProcessedBuildEvent
.Timestamp);
1042
Assert.True(((BuildFinishedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(buildEvent));
1047
buildEvent = new BuildFinishedEventArgs(string.Empty, null /* no help keyword */, true, service.
ProcessedBuildEvent
.Timestamp);
1048
Assert.True(((BuildFinishedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(buildEvent));
1062
service.
ProcessedBuildEvent
.Timestamp);
1064
Assert.IsType<BuildCanceledEventArgs>(service.
ProcessedBuildEvent
);
1065
Assert.Equal(buildEvent, (BuildCanceledEventArgs)service.
ProcessedBuildEvent
,
1297
TelemetryEventArgs actualEventArgs = (TelemetryEventArgs)service.
ProcessedBuildEvent
;
1460
Assert.Null(service.
ProcessedBuildEvent
);
1480
Assert.Null(service.
ProcessedBuildEvent
);
1503
Assert.Null(service.
ProcessedBuildEvent
);
1532
Assert.Null(service.
ProcessedBuildEvent
);
1559
Assert.Null(service.
ProcessedBuildEvent
);
1580
service.
ProcessedBuildEvent
.Timestamp,
1583
Assert.True(((TargetFinishedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(targetEvent));
1604
service.
ProcessedBuildEvent
.Timestamp);
1606
Assert.True(((TargetStartedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(buildEvent));
1627
service.
ProcessedBuildEvent
.Timestamp);
1629
Assert.True(((TaskFinishedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(taskEvent));
1648
service.
ProcessedBuildEvent
.Timestamp,
1651
Assert.True(((TaskStartedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(taskEvent));
1669
service.
ProcessedBuildEvent
.Timestamp);
1671
Assert.True(((ProjectFinishedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(projectEvent));
1694
service.
ProcessedBuildEvent
.Timestamp);
1696
Assert.True(((ProjectStartedEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(buildEvent));
1712
service.
ProcessedBuildEvent
.Timestamp);
1715
Assert.True(((BuildMessageEventArgs)service.
ProcessedBuildEvent
).IsEquivalent(buildMessageEvent));
1740
service.
ProcessedBuildEvent
.Timestamp);
1742
Assert.True(buildEvent.IsEquivalent((BuildWarningEventArgs)service.
ProcessedBuildEvent
));
1767
service.
ProcessedBuildEvent
.Timestamp);
1769
Assert.True(buildEvent.IsEquivalent((BuildErrorEventArgs)service.
ProcessedBuildEvent
));
1780
Assert.True(loggingService.
ProcessedBuildEvent
.IsEquivalent(expectedBuildEvent)); // "Expected ProcessedBuildEvent to equal expected build event"