Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Disable a couple of pen tests on Windows
  • Loading branch information
safern committed Oct 21, 2021
commit 421995388d9f15970f37b8bf0a9625088b74a1df
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 @@ -52,6 +52,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 @@ -102,6 +103,7 @@ public void Ctor_Color()
}
}

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