dotnet / winforms

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

Fix GetFormats and GetDataPresent #12203

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 1 month ago

Backport of #12193 to main. DO NOT SQUASH MERGE

/cc @lonitra

Customer Impact

Testing

Risk

Microsoft Reviewers: Open in CodeFlow
codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 75.39435%. Comparing base (d9976bf) to head (90b550b). Report is 13 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12203 +/- ## =================================================== + Coverage 75.38669% 75.39435% +0.00766% =================================================== Files 3099 3100 +1 Lines 634429 634460 +31 Branches 46874 46873 -1 =================================================== + Hits 478275 478347 +72 + Misses 152748 152703 -45 - Partials 3406 3410 +4 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/12203/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/12203/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `75.39435% <100.00000%> (+0.00766%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/12203/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `18.01381% <20.00000%> (+0.00195%)` | :arrow_up: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/12203/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `48.77642% <100.00000%> (+0.01422%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/12203/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `97.02692% <100.00000%> (+0.00001%)` | :arrow_up: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/12203/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `45.81003% <100.00000%> (+0.03774%)` | :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.
Tanya-Solyanik commented 1 month ago

Could you please add a test?