-
Notifications
You must be signed in to change notification settings - Fork 971
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 test for checkedListBox #11265
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11265 +/- ##
===================================================
- Coverage 74.35458% 74.34986% -0.00472%
===================================================
Files 3009 3019 +10
Lines 624977 626593 +1616
Branches 46497 46603 +106
===================================================
+ Hits 464699 465871 +1172
- Misses 156874 157324 +450
+ Partials 3404 3398 -6
Flags with carried forward coverage won't be shown. Click here to find out more. |
src/System.Windows.Forms/tests/UnitTests/CheckedListBoxTests.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/CheckedListBoxTests.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/CheckedListBoxTests.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/CheckedListBoxTests.cs
Outdated
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.
Some small comments, LGTM otherwise 👍
Related #10453
Proposed changes
Add unit tests for CheckedListBox to test its properties: DataSource, DrawMode, ItemHeight, ThreeDCheckBoxes, UseCompatibleTextRendering
Add unit tests for CheckedListBox to test its events: DataSourceChanged, DisplayMemberChanged, ItemCheck, Click, MouseClick, MeasureItem, ValueMemberChanged
Customer Impact
Regression?
Risk
Test methodology
Microsoft Reviewers: Open in CodeFlow