-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add unit tests for ToolStripDesignerUtils.cs file #12967
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 unit tests for ToolStripDesignerUtils.cs file #12967
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12967 +/- ##
====================================================
+ Coverage 75.97321% 96.93695% +20.96374%
====================================================
Files 3265 1220 -2045
Lines 643286 356932 -286354
Branches 47431 5528 -41903
====================================================
- Hits 488725 345999 -142726
+ Misses 150991 10092 -140899
+ Partials 3570 841 -2729
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripDesignerUtilsTests.cs:116
- [nitpick] The 'InvalidateSelection_InvokesInvalidate' test only asserts that no exception is thrown. Consider adding an assertion or spy to verify that the expected invalidation logic is actually executed.
act.Should().NotThrow();
...dows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripDesignerUtilsTests.cs
Outdated
Show resolved
Hide resolved
...dows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripDesignerUtilsTests.cs
Outdated
Show resolved
Hide resolved
...dows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripDesignerUtilsTests.cs
Outdated
Show resolved
Hide resolved
...dows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripDesignerUtilsTests.cs
Outdated
Show resolved
Hide resolved
...dows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripDesignerUtilsTests.cs
Show resolved
Hide resolved
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!
Tanya-Solyanik
left a comment
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
Microsoft Reviewers: Open in CodeFlow