Skip to content

Commit

Permalink
Disable a couple of pen tests on Windows (dotnet#60746)
Browse files Browse the repository at this point in the history
  • Loading branch information
safern committed Oct 22, 2021
1 parent 4822e3c commit 6e05696
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libraries/System.Drawing.Common/tests/PenTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static IEnumerable<object[]> Ctor_Brush_Width_TestData()
yield return new object[] { new SolidBrush(Color.Red), float.MaxValue, PenType.SolidColor };
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/60731", TestPlatforms.Windows)]
[ConditionalTheory(Helpers.IsDrawingSupported)]
[MemberData(nameof(Ctor_Brush_Width_TestData))]
public void Ctor_Brush_Width<T>(T brush, float width, PenType expectedPenType) where T : Brush
Expand Down Expand Up @@ -96,6 +97,7 @@ public void Ctor_Color()
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/60731", TestPlatforms.Windows)]
[ConditionalTheory(Helpers.IsDrawingSupported)]
[InlineData(-1)]
[InlineData(0)]
Expand Down

0 comments on commit 6e05696

Please sign in to comment.