Skip to content

Commit

Permalink
Disable a couple of pen tests on Windows (#60746) (#60789)
Browse files Browse the repository at this point in the history
  • Loading branch information
safern authored Nov 9, 2021
1 parent 76805ed commit da3adc5
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 da3adc5

Please sign in to comment.