Skip to content

Add code coverage for MultiPropertyDescriptorGridEntry #13713

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Zheng-Li01
Copy link
Member

@Zheng-Li01 Zheng-Li01 commented Jul 17, 2025

Related #13442

Proposed changes

Add unit test file:MultiPropertyDescriptorGridEntryTests.cs for public/protected methods/properties of the MultiPropertyDescriptorGridEntry.cs

Microsoft Reviewers: Open in CodeFlow

Copy link

codecov bot commented Jul 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.92236%. Comparing base (182b5f3) to head (7fe9430).
Report is 6 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #13713         +/-   ##
===================================================
+ Coverage   76.82817%   76.92236%   +0.09418%     
===================================================
  Files           3257        3261          +4     
  Lines         642595      643246        +651     
  Branches       47565       47607         +42     
===================================================
+ Hits          493694      494800       +1106     
+ Misses        145234      144779        -455     
  Partials        3667        3667                 
Flag Coverage Δ
Debug 76.92236% <100.00000%> (+0.09418%) ⬆️
integration 18.99034% <ø> (+0.00140%) ⬆️
production 51.59750% <ø> (+0.15845%) ⬆️
test 97.42267% <100.00000%> (+0.00444%) ⬆️
unit 49.00265% <ø> (+0.18071%) ⬆️

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.

@Zheng-Li01 Zheng-Li01 added the waiting-review This item is waiting on review by one or more members of team label Jul 17, 2025
Copy link
Contributor

@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 PR adds comprehensive unit test coverage for the MultiPropertyDescriptorGridEntry class to address issue #13442. The tests cover various public and protected methods and properties of the class to ensure proper functionality and behavior.

  • Adds test coverage for container property behavior with different component scenarios
  • Tests expandable property logic and component retrieval methods
  • Validates notification and change management functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test coverage waiting-review This item is waiting on review by one or more members of team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants