Skip to content
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 toolstrip #11773

Merged

Conversation

Zheng-Li01
Copy link
Member

@Zheng-Li01 Zheng-Li01 commented Jul 30, 2024

related #10453

Proposed changes

Add unit tests for toolstrip to test its properties: MinimumSize, DefaultMargin, AutoScrollMargin, ShouldSerializeLayoutStyle
Add unit tests for toolstrip to test its methods: GetChildAtPoint,

Microsoft Reviewers: Open in CodeFlow

Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.98707%. Comparing base (c0318e5) to head (df83f94).
Report is 63 commits behind head on feature/10.0.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           feature/10.0      #11773         +/-   ##
======================================================
+ Coverage      74.73622%   74.98707%   +0.25084%     
======================================================
  Files              3045        3032         -13     
  Lines            630638      630286        -352     
  Branches          46862       46742        -120     
======================================================
+ Hits             471315      472633       +1318     
+ Misses           155957      154311       -1646     
+ Partials           3366        3342         -24     
Flag Coverage Δ
Debug 74.98707% <100.00000%> (+0.25084%) ⬆️
integration 17.97479% <ø> (+0.03052%) ⬆️
production 48.13357% <ø> (+0.37563%) ⬆️
test 97.01301% <100.00000%> (+0.02767%) ⬆️
unit 45.16157% <ø> (+0.35669%) ⬆️

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

@Zheng-Li01 Zheng-Li01 added the waiting-review This item is waiting on review by one or more members of team label Jul 30, 2024
@lonitra lonitra added 📭 waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Aug 1, 2024
…ToolStripTests.cs

Co-authored-by: Loni Tra <lonitra@microsoft.com>
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Aug 2, 2024
@Zheng-Li01 Zheng-Li01 added the waiting-review This item is waiting on review by one or more members of team label Aug 2, 2024
@lonitra lonitra merged commit cb84f8d into dotnet:feature/10.0 Aug 2, 2024
8 checks passed
@dotnet-policy-service dotnet-policy-service bot removed the waiting-review This item is waiting on review by one or more members of team label Aug 2, 2024
@Zheng-Li01 Zheng-Li01 deleted the Add_code_coverage_for_ToolStrips branch August 7, 2024 01:46
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants