Skip to content

Conversation

@ThomasGoulet73
Copy link
Contributor

@ThomasGoulet73 ThomasGoulet73 commented Jul 26, 2024

Description

Enables PresentationCore tests.

@adamsitnik noted here #9465 (comment) that PresentationCore.Tests was not included so the tests were not running. By reading the commit messages in #8532 it seems like they were disabled temporarily but I don't know why. I took it upon myself on enabling them and fixing the build and runtime errors (I don't know if they were the cause on why they were disabled).

It also fixes the build errors and some runtime errors in #8215 but WindowsBase.Tests would need some changes to completely fix it and I plan on working on it once this PR is merged.

I hope I didn't step on anyone's toes if they were working on it.

Customer Impact

WPF would be more tested.

Regression

No.

Testing

Local build + tests passing locally.

Risk

None, shouldn't affect shipping binaries.

Microsoft Reviewers: Open in CodeFlow

@ThomasGoulet73 ThomasGoulet73 requested review from a team as code owners July 26, 2024 01:28
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Jul 26, 2024
@ThomasGoulet73
Copy link
Contributor Author

It seems to be failing but only when built in Release, I'll investigate.

@ThomasGoulet73
Copy link
Contributor Author

ThomasGoulet73 commented Jul 26, 2024

The tests seems to be succeeding now.

@adamsitnik
Copy link
Member

@ThomasGoulet73 big thanks for your contribution!

Copy link
Contributor

@rchauhan18 rchauhan18 left a comment

Choose a reason for hiding this comment

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

@ThomasGoulet73 Thanks for your contribution!

@rchauhan18 rchauhan18 merged commit fbff6e1 into dotnet:main Jul 26, 2024
@ThomasGoulet73 ThomasGoulet73 deleted the run-presentationcore-tests branch July 26, 2024 13:11
@ThomasGoulet73
Copy link
Contributor Author

Thanks @rchauhan18

ericstj pushed a commit that referenced this pull request Aug 1, 2024
* Run PresentationCore tests

* Use previously built package native files
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants