Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify OS version xunit attributes #2481

Merged
merged 1 commit into from
Oct 10, 2019
Merged

Conversation

Tratcher
Copy link
Member

@Tratcher Tratcher commented Oct 9, 2019

It turns out that me of last week thinks a lot like me of last year.
#2449 added OSMinVersionAttribute, but last year I added MinimumOSVersionAttribute that does almost the same thing. The main functional difference is that the old one didn't distinguish between win10 versions. The old one also did registry checks that are no longer needed.

At least I've improved as a developer since last year 😁, this time there were test, more granular version checks, etc..

This PR merges the new attribute back into the old one with code improvements and applies the new tests to the old attribute.

@Tratcher Tratcher added this to the 3.1.0-preview2 milestone Oct 9, 2019
@Tratcher Tratcher requested a review from rynowak October 9, 2019 22:43
@Tratcher Tratcher self-assigned this Oct 9, 2019
@Tratcher
Copy link
Member Author

Tratcher commented Oct 9, 2019

@anurse test infrastructure improvements that support 3.1 feature work.

@analogrelay
Copy link

Infra-only is tell mode for 3.1 anyway, so I'm fine with this (once approved, green builds, etc.).

Copy link
Member

@halter73 halter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆

@Tratcher Tratcher merged commit 65e70f5 into release/3.1 Oct 10, 2019
@Tratcher Tratcher deleted the tratcher/3.1/osversion branch October 10, 2019 00:59
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Feb 12, 2020
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Feb 15, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 11, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 11, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 27, 2020
@ghost ghost locked as resolved and limited conversation to collaborators May 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants