Always write the value
XML attributes in properties, even when the …
#779
GitHub Actions / 🚦 Test Results (Linux)
succeeded
May 1, 2025 in 0s
84 passed, 0 failed and 0 skipped
✅ TestResults-net8.0.trx
84 tests were completed in 2s with 84 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Serilog.Formatting.Log4Net.Tests.IndentationSettingsTest | 6✅ | 35ms | ||
Serilog.Formatting.Log4Net.Tests.LineEndingTest | 1✅ | 28ms | ||
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest | 74✅ | 365ms | ||
Serilog.Formatting.Log4Net.Tests.PublicApi | 3✅ | 270ms |
✅ Serilog.Formatting.Log4Net.Tests.IndentationSettingsTest
✅ IndentationSettingsToString(indentation: Space, size: 2, expectedString: " ")
✅ IndentationSettingsToString(indentation: Space, size: 4, expectedString: " ")
✅ IndentationSettingsToString(indentation: Tab, size: 2, expectedString: "\t\t")
✅ IndentationSettingsToString(indentation: Tab, size: 4, expectedString: "\t\t\t\t")
✅ InvalidIndentation
✅ InvalidSize
✅ Serilog.Formatting.Log4Net.Tests.LineEndingTest
✅ InvalidLineEnding
✅ Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest
✅ Caller
✅ CallerLog4J
✅ CallerNonScalar
✅ CallerWithFile
✅ CustomLogEventPropertyValue
✅ CustomMessageFormatter
✅ DefaultFormatProvider
✅ DefaultMessageFormatter(eventId: 0, eventIdName: "EventName")
✅ DefaultMessageFormatter(eventId: 0, eventIdName: null)
✅ DefaultMessageFormatter(eventId: 1, eventIdName: "EventName")
✅ DefaultMessageFormatter(eventId: 1, eventIdName: null)
✅ DictionaryProperty
✅ DomainAndUserNameProperty(environmentUserName: "")
✅ DomainAndUserNameProperty(environmentUserName: "TheDomain\\TheUser")
✅ DomainAndUserNameProperty(environmentUserName: "TheDomain\\TheUser\\Name")
✅ DomainAndUserNameProperty(environmentUserName: "TheUser")
✅ DomainAndUserNameProperty(environmentUserName: null)
✅ DomainAndUserNamePropertyStructureValue
✅ Exception
✅ ExceptionFormatter
✅ ExceptionFormatterReturningNull
✅ ExceptionFormatterThrowing
✅ ExplicitFormatProvider
✅ FilterProperty
✅ FilterPropertyThrowing
✅ IndentationSettings(indentation: Space, size: 2)
✅ IndentationSettings(indentation: Space, size: 4)
✅ IndentationSettings(indentation: Tab, size: 2)
✅ IndentationSettings(indentation: Tab, size: 4)
✅ InvalidLogEventLevelThrowsArgumentOutOfRangeException
✅ Log4JCompatibility(useStaticInstance: False)
✅ Log4JCompatibility(useStaticInstance: True)
✅ LogEventLevel(level: Debug)
✅ LogEventLevel(level: Error)
✅ LogEventLevel(level: Fatal)
✅ LogEventLevel(level: Information)
✅ LogEventLevel(level: Verbose)
✅ LogEventLevel(level: Warning)
✅ LoggerName
✅ LoggerNameStructureValue
✅ MachineNameProperty(machineName: "TheMachineName")
✅ MachineNameProperty(machineName: null)
✅ MachineNamePropertyStructureValue
✅ MessageCDataMode(mode: Always, needsEscaping: False)
✅ MessageCDataMode(mode: Always, needsEscaping: True)
✅ MessageCDataMode(mode: IfNeeded, needsEscaping: False)
✅ MessageCDataMode(mode: IfNeeded, needsEscaping: True)
✅ MessageCDataMode(mode: Never, needsEscaping: False)
✅ MessageCDataMode(mode: Never, needsEscaping: True)
✅ MessageFormatterReturningNull
✅ MessageFormatterThrowing
✅ NoIndentation
✅ NoNamespace
✅ NullLogEventThrowsArgumentNullException
✅ NullOutputThrowsArgumentNullException
✅ NullProperty(nullText: "")
✅ NullProperty(nullText: "\ud83c\udf00")
✅ NullProperty(nullText: "<null>")
✅ NullProperty(nullText: null)
✅ SequenceProperty
✅ SettingExceptionFormatterToNullThrowsArgumentNullException
✅ SettingMessageFormatterToNullThrowsArgumentNullException
✅ SettingNullTextToNullThrowsArgumentNullException
✅ SettingPropertyFilterToNullThrowsArgumentNullException
✅ StructureProperty
✅ ThreadIdProperty(threadId: 1)
✅ ThreadIdProperty(threadId: null)
✅ TwoEvents
✅ TwoProperties
✅ TwoPropertiesOneNull
✅ XmlElementsLineEnding(lineEnding: CarriageReturn)
✅ XmlElementsLineEnding(lineEnding: LineFeed | CarriageReturn)
✅ XmlElementsLineEnding(lineEnding: LineFeed)
✅ XmlElementsLineEnding(lineEnding: None)
✅ Serilog.Formatting.Log4Net.Tests.PublicApi
✅ ApprovePublicApi(targetFramework: "net6.0")
✅ ApprovePublicApi(targetFramework: "net8.0")
✅ ApprovePublicApi(targetFramework: "netstandard2.0")
Loading