Skip to content

Conversation

@MelonWang1
Copy link
Contributor

@MelonWang1 MelonWang1 commented Feb 5, 2025

Related #10773

Proposed changes

  • Add unit test ToolStripMenuItemCodeDomSerializerTests.cs for public method of the ToolStripMenuItemCodeDomSerializer.
  • Enable nullability in ToolStripMenuItemCodeDomSerializerTests.
Microsoft Reviewers: Open in CodeFlow

@MelonWang1 MelonWang1 requested a review from a team as a code owner February 5, 2025 08:53
@codecov
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

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

Project coverage is 76.08859%. Comparing base (d8223b0) to head (12628f2).
Report is 16 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #12883         +/-   ##
===================================================
- Coverage   76.09601%   76.08859%   -0.00743%     
===================================================
  Files           3255        3257          +2     
  Lines         642880      642204        -676     
  Branches       47315       47286         -29     
===================================================
- Hits          489206      488644        -562     
+ Misses        150112      150015         -97     
+ Partials        3562        3545         -17     
Flag Coverage Δ
Debug 76.08859% <97.43590%> (-0.00743%) ⬇️
integration 18.09406% <ø> (+0.00111%) ⬆️
production 50.01733% <ø> (+0.02626%) ⬆️
test 96.97101% <97.43590%> (+0.00072%) ⬆️
unit 47.44150% <ø> (+0.00074%) ⬆️

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

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.

Other than small comments, all LGTM!

@ricardobossan ricardobossan added the waiting-author-feedback The team requires more information from the author label Feb 6, 2025
@MelonWang1 MelonWang1 removed the waiting-author-feedback The team requires more information from the author label Feb 6, 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.

Thank you!

@Tanya-Solyanik Tanya-Solyanik merged commit f01207d into dotnet:main Feb 7, 2025
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview2 milestone Feb 7, 2025
@Tanya-Solyanik
Copy link
Contributor

@ricardobossan @MelonWang1 - these are reasonable basic tests, but is it possible to add some specific serialization cases?

LeafShi1 pushed a commit to LeafShi1/winforms that referenced this pull request Mar 6, 2025
* Add unit tests for ToolStripMenuItemCodeDomSerializer
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 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.

3 participants