20 references to LogEntry
dotnet.Tests (20)
CommandTests\MSBuild\GivenMSBuildLogger.cs (20)
29
fakeTelemetry.
LogEntry
.Should().BeNull();
48
fakeTelemetry.
LogEntry
.Should().NotBeNull();
49
fakeTelemetry.
LogEntry
.EventName.Should().Be(MSBuildLogger.SdkTaskBaseCatchExceptionTelemetryEventName);
50
fakeTelemetry.
LogEntry
.Properties.Keys.Count.Should().Be(2);
51
fakeTelemetry.
LogEntry
.Properties["exceptionType"].Should().Be("System.Exception");
52
fakeTelemetry.
LogEntry
.Properties["detail"].Should().Be("Exception detail");
71
fakeTelemetry.
LogEntry
.EventName.Should().Be(MSBuildLogger.PublishPropertiesTelemetryEventName);
72
fakeTelemetry.
LogEntry
.Properties.Keys.Count.Should().Be(2);
73
fakeTelemetry.
LogEntry
.Properties["PublishReadyToRun"].Should().Be("null");
74
fakeTelemetry.
LogEntry
.Properties["otherProperty"].Should().Be("otherProperty value");
93
fakeTelemetry.
LogEntry
.EventName.Should().Be(MSBuildLogger.ReadyToRunTelemetryEventName);
94
fakeTelemetry.
LogEntry
.Properties.Keys.Count.Should().Be(2);
95
fakeTelemetry.
LogEntry
.Properties["PublishReadyToRunUseCrossgen2"].Should().Be("null");
96
fakeTelemetry.
LogEntry
.Properties["otherProperty"].Should().Be("otherProperty value");
119
fakeTelemetry.
LogEntry
.Properties.Should().BeEquivalentTo(telemetryEventArgs.Properties);
211
fakeTelemetry.
LogEntry
.Should().NotBeNull();
212
fakeTelemetry.
LogEntry
.EventName.Should().Be($"msbuild/{MSBuildLogger.TaskFactoryTelemetryAggregatedEventName}");
213
fakeTelemetry.
LogEntry
.Properties["AssemblyTaskFactoryTasksExecutedCount"].Should().Be("3");
214
fakeTelemetry.
LogEntry
.Properties.Should().NotContainKey("InvalidProperty");
215
fakeTelemetry.
LogEntry
.Properties.Should().NotContainKey("InvalidProperty2");