}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/36882", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void Debug_WriteLineNull_IndentsEmptyStringProperly()
{
Debug.Indent();
[InlineData(-1, 0)]
[InlineData(0, 0)]
[InlineData(1, 1)]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/36882", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void IndentLevel_Set_GetReturnsExpected(int indentLevel, int expectedIndentLevel)
{
Debug.IndentLevel = indentLevel;
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/50570", TestPlatforms.Android)]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/36882", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void Trace_ClearTraceListeners_StopsWritingToDebugger()
{
VerifyLogged(() => Debug.Write("pizza"), "pizza");
}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/36882", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void TraceWriteLineIf()
{
VerifyLogged(() => Trace.WriteLineIf(true, 5), "5" + Environment.NewLine);