-
Notifications
You must be signed in to change notification settings - Fork 1k
Add test for TableLayoutPanelCodeDomSerializer #13212
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 test for TableLayoutPanelCodeDomSerializer #13212
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 pull request adds unit tests for TableLayoutPanelCodeDomSerializer to verify that its Deserialize and Serialize methods delegate correctly to the base serializer.
- Added tests to ensure that the base serializer’s Deserialize and Serialize methods are invoked as expected.
- Utilized Moq to simulate the IDesignerSerializationManager and CodeDomSerializer behaviors.
...Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelCodeDomSerializerTests.cs
Outdated
Show resolved
Hide resolved
...Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelCodeDomSerializerTests.cs
Outdated
Show resolved
Hide resolved
...Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelCodeDomSerializerTests.cs
Outdated
Show resolved
Hide resolved
...Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelCodeDomSerializerTests.cs
Outdated
Show resolved
Hide resolved
...Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelCodeDomSerializerTests.cs
Show resolved
Hide resolved
...Design/tests/UnitTests/System/Windows/Forms/Design/TableLayoutPanelCodeDomSerializerTests.cs
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13212 +/- ##
===================================================
+ Coverage 61.42646% 61.56077% +0.13430%
===================================================
Files 1548 1550 +2
Lines 158588 158640 +52
Branches 14758 14761 +3
===================================================
+ Hits 97415 97660 +245
+ Misses 60470 60277 -193
Partials 703 703
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.
Thank you!
Related #10773
Proposed changes
TableLayoutPanelCodeDomSerializer
Microsoft Reviewers: Open in CodeFlow