-
Notifications
You must be signed in to change notification settings - Fork 1k
Add code coverage for TabOrder #13181
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
Add code coverage for TabOrder #13181
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13181 +/- ##
===================================================
+ Coverage 61.35387% 61.66836% +0.31448%
===================================================
Files 1547 1550 +3
Lines 158479 158767 +288
Branches 14751 14784 +33
===================================================
+ Hits 97233 97909 +676
+ Misses 60543 60150 -393
- Partials 703 708 +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 pull request adds unit tests for the TabOrder class to enhance code coverage for its public methods and properties.
- New test file TabOrderTests.cs covering constructor behavior, mouse event handlers, command invocation, and command status.
src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TabOrderTests.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.
All LGTM!
src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TabOrderTests.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TabOrderTests.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: TabOrderTests.cs for public methods & Properties of the TabOrder.cs
Microsoft Reviewers: Open in CodeFlow