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