-
Notifications
You must be signed in to change notification settings - Fork 1k
Add code coverage for DomainItemAccessibleObjectTests #13484
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 DomainItemAccessibleObjectTests #13484
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13484 +/- ##
====================================================
+ Coverage 62.21083% 76.60210% +14.39126%
====================================================
Files 3213 3231 +18
Lines 638302 639194 +892
Branches 47201 47297 +96
====================================================
+ Hits 397093 489636 +92543
+ Misses 234153 145989 -88164
+ Partials 7056 3569 -3487
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.
Pull Request Overview
This PR adds a new unit test file for DomainItemAccessibleObject to ensure proper behavior of its public properties and methods.
- Added tests to verify the constructor initialization, property getters/setters, internal accessibility properties, and runtime ID format.
src/test/unit/System.Windows.Forms/System/Windows/Forms/DomainItemAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
src/test/unit/System.Windows.Forms/System/Windows/Forms/DomainItemAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
The test look good to me! But the |
* Add code coverage for DomainItemAccessibleObjectTests * Address FeedBacks
Related #13442
Proposed changes
Add unit test file: DomainItemAccessibleObject.cs for public methods of the DomainItemAccessibleObject.cs
Microsoft Reviewers: Open in CodeFlow