-
Notifications
You must be signed in to change notification settings - Fork 1k
Add code coverage for DesignerUtils #13435
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
base: main
Are you sure you want to change the base?
Add code coverage for DesignerUtils #13435
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13435 +/- ##
===================================================
+ Coverage 76.60371% 76.61456% +0.01084%
===================================================
Files 3230 3230
Lines 639097 639184 +87
Branches 47289 47289
===================================================
+ Hits 489572 489708 +136
+ Misses 145953 145909 -44
+ Partials 3572 3567 -5
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds code coverage for the public methods and properties of DesignerUtils by introducing a new unit test file. Key changes include:
- Tests for applying theme styles for ListView and TreeView.
- Tests for filtering generic types and obtaining unique site names.
- Multiple tests verifying bounds and text baseline calculations in various scenarios.
...ystem.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/DesignerUtilsTests.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Related #10773
Proposed changes
Add unit test file: DesignerUtilsTests.cs for public methods & properties of the DesignerUtils.cs
Note: working on another PR for the remaining test case
Microsoft Reviewers: Open in CodeFlow