Skip to content

System.Diagnostics.Debug.Tests fail on iOS #36882

@mdh1418

Description

@mdh1418

Several tests from System.Diagnostics fail on iOS:

System.Diagnostics.Debug.Tests

System.Diagnostics.Tests.DebugTestsUsingListeners.Debug_WriteLineNull_IndentsEmptyStringProperly
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected
System.Diagnostics.Tests.DebugTestsUsingListeners.Trace_ClearTraceListeners_StopsWritingToDebugger
System.Diagnostics.Tests.DebugTestsUsingListeners.TraceWriteLineIf

System.Diagnostics.Debug.Tests.dll   Failed: 6

System.Diagnostics.Debug
System.Diagnostics.Tests.DebugTestsUsingListeners.Debug_WriteLineNull_IndentsEmptyStringProperly
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    \\n\nActual:       \\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected(indentLevel: 0, expectedIndentLevel: 0)
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    pizza\\n\nActual:       pizza\\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected(indentLevel: 1, expectedIndentLevel: 1)
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    pizza\\n\nActual:       pizza\\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected(indentLevel: -1, expectedIndentLevel: 0)
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    pizza\\n\nActual:       pizza\\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.Trace_ClearTraceListeners_StopsWritingToDebugger
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: pizza\nActual:      pizza\n          ↑ (pos 0)
System.Diagnostics.Tests.DebugTestsUsingListeners.TraceWriteLineIf
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: category: 5\\n\nActual:      category: 5\\n\n          ↑ (pos 0)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions