-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adds coverage for BindingNavigatorDesigner #13883
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
Adds coverage for BindingNavigatorDesigner #13883
Conversation
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 comprehensive unit test coverage for the BindingNavigatorDesigner class to improve test coverage and ensure proper functionality of the designer component.
Key Changes
- Adds a new test file
BindingNavigatorDesignerTests.cswith 181 lines of test code - Implements tests for component initialization, item siting, and component change event handling
- Uses parameterized tests to verify navigation item property handling across multiple scenarios
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/BindingNavigatorDesignerTests.cs
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/BindingNavigatorDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/BindingNavigatorDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/BindingNavigatorDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/BindingNavigatorDesignerTests.cs
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #13883 +/- ##
===================================================
+ Coverage 77.12069% 77.14894% +0.02824%
===================================================
Files 3273 3274 +1
Lines 644919 645038 +119
Branches 47693 47701 +8
===================================================
+ Hits 497366 497640 +274
+ Misses 143849 143709 -140
+ Partials 3704 3689 -15
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
KlausLoeffelmann
left a comment
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.
Looks good to me!
Related #10773
Proposed changes
BindingNavigatorDesigner.Microsoft Reviewers: Open in CodeFlow