dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.38k stars 971 forks source link

Add unit tests for ItemTypeToolStripMenuItem #12199

Open Syareel-Sukeri opened 1 week ago

Syareel-Sukeri commented 1 week ago

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

Proposed changes

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 75.43647%. Comparing base (66894e2) to head (a5ccdc2). Report is 25 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12199 +/- ## =================================================== + Coverage 75.34760% 75.43647% +0.08887% =================================================== Files 3099 3103 +4 Lines 634429 634290 -139 Branches 46874 46867 -7 =================================================== + Hits 478027 478486 +459 + Misses 152989 152378 -611 - Partials 3413 3426 +13 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/12199/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [Debug](https://app.codecov.io/gh/dotnet/winforms/pull/12199/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `75.43647% <100.00000%> (+0.08887%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/12199/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.98226% <ø> (+0.05427%)` | :arrow_up: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/12199/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `48.82365% <ø> (+0.14864%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/12199/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `97.02676% <100.00000%> (-0.00016%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/12199/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `45.85639% <ø> (+0.06336%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.