-
Notifications
You must be signed in to change notification settings - Fork 1k
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 unit tests for TableLayoutPanelDesigner #13028
Add unit tests for TableLayoutPanelDesigner #13028
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13028 +/- ##
===================================================
+ Coverage 75.97321% 76.15066% +0.17745%
===================================================
Files 3265 3276 +11
Lines 643286 644001 +715
Branches 47431 47461 +30
===================================================
+ Hits 488725 490411 +1686
+ Misses 150991 150031 -960
+ Partials 3570 3559 -11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs
Outdated
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.
PR Overview
This PR adds unit tests for the TableLayoutPanelDesigner component to verify the behavior of its public properties, methods, and its nested DesignerTableLayoutControlCollection, and enables nullability in the test file.
- Added tests for RowCount, ColumnCount, and Verbs properties.
- Added tests covering behaviors of the DesignerTableLayoutControlCollection (e.g., Add, AddRange, CopyTo, GetEnumerator, and index-related methods).
Reviewed Changes
File | Description |
---|---|
src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs | New and updated tests for TableLayoutPanelDesigner functionalities |
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.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!
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs
Outdated
Show resolved
Hide resolved
...ws.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelDesignerTests.cs
Outdated
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!
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
Microsoft Reviewers: Open in CodeFlow