Skip to content

Fix tests to use ConditionalFact that need it#82203

Merged
BruceForstall merged 1 commit intodotnet:mainfrom
vcsjones:conditional-fact-drawing
Feb 16, 2023
Merged

Fix tests to use ConditionalFact that need it#82203
BruceForstall merged 1 commit intodotnet:mainfrom
vcsjones:conditional-fact-drawing

Conversation

@vcsjones
Copy link
Member

@vcsjones vcsjones commented Feb 15, 2023

In #81992 we removed [ConditionalFact] for [Fact] for a few tests in System.Drawing.Common, but those tests throw a SkipTestException. SkipTestException needs the ConditionalFact attribute to work (even if the class has ConditionalClass)

On my WoA box I get a clean run of the System.Drawing.Common\tests now.

Fixes #82141

@ghost
Copy link

ghost commented Feb 15, 2023

Tagging subscribers to this area: @dotnet/area-system-drawing
See info in area-owners.md if you want to be subscribed.

Issue Details

In #81992 we removed [ConditionalFact] for [Fact] for a few tests in System.Drawing.Common, but those tests throw a SkipTestException. SkipTestException needs the ConditionalFact attribute to work (even if the class has ConditionalClass)

On my WoA box I get a clean run of the tests now.

Fixes #82141

Author: vcsjones
Assignees: -
Labels:

area-System.Drawing

Milestone: -

@BruceForstall BruceForstall merged commit 6aa31aa into dotnet:main Feb 16, 2023
@vcsjones vcsjones deleted the conditional-fact-drawing branch February 16, 2023 06:16
@ghost ghost locked as resolved and limited conversation to collaborators Mar 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: Microsoft.DotNet.XUnitExtensions.SkipTestException : Precision on float numbers

2 participants