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 FocusableLabel #12773

Merged

Conversation

chaowendy
Copy link
Contributor

@chaowendy chaowendy commented Jan 14, 2025

related #10453

Proposed changes

  • Add unit tests for FocusableLabel.cs to test its methods
Microsoft Reviewers: Open in CodeFlow

@chaowendy chaowendy requested a review from a team as a code owner January 14, 2025 03:15
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Project coverage is 76.10286%. Comparing base (4406e6e) to head (4d40282).
Report is 84 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #12773         +/-   ##
===================================================
- Coverage   76.18076%   76.10286%   -0.07790%     
===================================================
  Files           3193        3256         +63     
  Lines         640306      642897       +2591     
  Branches       47237       47316         +79     
===================================================
+ Hits          487790      489263       +1473     
- Misses        148983      150075       +1092     
- Partials        3533        3559         +26     
Flag Coverage Δ
Debug 76.10286% <94.11765%> (-0.07790%) ⬇️
integration 18.10208% <ø> (-0.05805%) ⬇️
production 50.00648% <ø> (-0.10741%) ⬇️
test 96.96932% <94.11765%> (-0.05381%) ⬇️
unit 47.42746% <ø> (-0.11135%) ⬇️

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

ricardobossan
ricardobossan previously approved these changes Jan 16, 2025
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.

All LGTM!

LeafShi1
LeafShi1 previously approved these changes Jan 16, 2025
@LeafShi1 LeafShi1 added the waiting-review This item is waiting on review by one or more members of team label Jan 16, 2025
@Tanya-Solyanik Tanya-Solyanik added waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Jan 16, 2025
@ricardobossan ricardobossan dismissed their stale review January 16, 2025 19:00

New review added comments to be addressed

@dotnet-policy-service dotnet-policy-service bot removed the waiting-author-feedback The team requires more information from the author label Jan 23, 2025
@dotnet-policy-service dotnet-policy-service bot added the waiting-author-feedback The team requires more information from the author label Jan 23, 2025
@chaowendy chaowendy added waiting-review This item is waiting on review by one or more members of team and removed waiting-author-feedback The team requires more information from the author labels Jan 26, 2025
@ricardobossan ricardobossan added waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Jan 27, 2025
@Tanya-Solyanik Tanya-Solyanik removed the waiting-author-feedback The team requires more information from the author label Feb 5, 2025
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!

@ricardobossan ricardobossan merged commit 26ae0df into dotnet:main Feb 5, 2025
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview2 milestone Feb 5, 2025
LeafShi1 pushed a commit to LeafShi1/winforms that referenced this pull request Mar 6, 2025
* Add unit tests for FocusableLabel

* grammar error

* update

* null&false

* no reflection

* add the new keyword

---------

Co-authored-by: v-chaowendy <v-chaowendy@24H2W11>
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2025
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.

4 participants