winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Add unit test for UpDownBaseDesigner

Open Liv-Goh opened this issue 1 year ago • 1 comments

Related https://github.com/dotnet/winforms/issues/10773

Proposed changes

  1. Add unit test UpDownBaseDesignerTests.cs for public properties and method of the UpDownBaseDesigner.
  2. Enable nullability in UpDownBaseDesignerTests.cs.
Microsoft Reviewers: Open in CodeFlow

Liv-Goh avatar Oct 22 '24 03:10 Liv-Goh

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.03074%. Comparing base (572677b) to head (a47b22a). Report is 32 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                  @@
##                main      #12364          +/-   ##
====================================================
+ Coverage   75.60672%   97.03074%   +21.42402%     
====================================================
  Files           3115        1156        -1959     
  Lines         635138      351637      -283501     
  Branches       46921        5283       -41638     
====================================================
- Hits          480207      341196      -139011     
+ Misses        151479        9691      -141788     
+ Partials        3452         750        -2702     
Flag Coverage Δ
Debug 97.03074% <100.00000%> (+21.42401%) :arrow_up:
integration ?
production ?
test 97.03074% <100.00000%> (+0.00542%) :arrow_up:
unit ?

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

codecov[bot] avatar Oct 22 '24 03:10 codecov[bot]