Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged

Conversation

LeafShi1
Copy link
Member

@LeafShi1 LeafShi1 commented Mar 31, 2025

Related #10773

Proposed changes

  • Add unit test for TableLayoutPanelCodeDomSerializer
Microsoft Reviewers: Open in CodeFlow

@LeafShi1 LeafShi1 requested a review from a team as a code owner March 31, 2025 09:43
@LeafShi1 LeafShi1 requested review from Copilot and removed request for a team March 31, 2025 09:43
Copy link

@Copilot Copilot AI left a 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.

@Tanya-Solyanik Tanya-Solyanik added the waiting-author-feedback The team requires more information from the author label Mar 31, 2025
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

Attention: Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 61.56077%. Comparing base (a3ece86) to head (ba2f71e).
Report is 23 commits behind head on main.

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                 
Flag Coverage Δ
Debug 61.56077% <95.00000%> (+0.13430%) ⬆️
integration 10.73095% <ø> (-0.00090%) ⬇️
production 39.51435% <ø> (+0.20636%) ⬆️
test 95.67563% <95.00000%> (+0.00144%) ⬆️
unit 36.95429% <ø> (+0.20656%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LeafShi1 LeafShi1 added waiting-review This item is waiting on review by one or more members of team and removed waiting-author-feedback The team requires more information from the author labels Apr 2, 2025
Copy link
Member

@ricardobossan ricardobossan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Tanya-Solyanik Tanya-Solyanik added area-test coverage and removed waiting-review This item is waiting on review by one or more members of team labels Apr 3, 2025
@LeafShi1 LeafShi1 merged commit 05d079c into dotnet:main Apr 3, 2025
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview4 milestone Apr 3, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants