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

Add unit tests for LinkUtilities #12647

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

Olina-Zhang
Copy link
Member

@Olina-Zhang Olina-Zhang commented Dec 16, 2024

related #10453

Proposed changes

  • Add unit tests for LinkUtilities to test its GetIELinkBehavior and EnsureLinkFonts methods.
Microsoft Reviewers: Open in CodeFlow

Copy link
Member

@ricardobossan ricardobossan left a comment

Choose a reason for hiding this comment

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

There are failing tests in the CI that need to be addressed.

@dotnet-policy-service dotnet-policy-service bot added the 📭 waiting-author-feedback The team requires more information from the author label Dec 17, 2024
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Dec 18, 2024
@Olina-Zhang
Copy link
Member Author

Olina-Zhang commented Dec 18, 2024

There are failing tests in the CI that need to be addressed.

I don't know why test scenarios failed, because all are passed in my local machine:
image

@Tanya-Solyanik Tanya-Solyanik added the 📭 waiting-author-feedback The team requires more information from the author label Dec 18, 2024
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Dec 19, 2024
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 5 lines in your changes missing coverage. Please review.

Project coverage is 76.04299%. Comparing base (a5281d9) to head (c8ffa30).
Report is 44 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                  @@
##                main      #12647          +/-   ##
====================================================
- Coverage   97.03492%   76.04299%   -20.99193%     
====================================================
  Files           1182        3182        +2000     
  Lines         354561      639700      +285139     
  Branches        5411       47217       +41806     
====================================================
+ Hits          344048      486447      +142399     
- Misses          9724      149724      +140000     
- Partials         789        3529        +2740     
Flag Coverage Δ
Debug 76.04299% <83.33333%> (-20.99193%) ⬇️
integration 18.15760% <ø> (?)
production 49.84342% <ø> (?)
test 97.03025% <83.33333%> (-0.00468%) ⬇️
unit 47.06962% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

ricardobossan
ricardobossan previously approved these changes Dec 19, 2024
@Tanya-Solyanik Tanya-Solyanik added the 📭 waiting-author-feedback The team requires more information from the author label Dec 20, 2024
@ricardobossan ricardobossan dismissed their stale review December 23, 2024 16:17

New comment to be addressed

@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Dec 30, 2024
Copy link
Member

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

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

Thank you, looks good!

@Tanya-Solyanik Tanya-Solyanik merged commit e1a1553 into dotnet:main Jan 7, 2025
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview1 milestone Jan 7, 2025
@Olina-Zhang Olina-Zhang deleted the UnitTest_LinkUtilities branch January 7, 2025 06:40
ricardobossan pushed a commit to ricardobossan/winforms that referenced this pull request Jan 9, 2025
related dotnet#10453

Proposed changes
Add unit tests for LinkUtilities to test its GetIELinkBehavior and EnsureLinkFonts methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants