-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add unit tests for ListViewActionList #11782
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 ListViewActionList #11782
Conversation
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Show resolved
Hide resolved
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Outdated
Show resolved
Hide resolved
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Outdated
Show resolved
Hide resolved
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.
Looks good, but please fix the CI build failure.
Sorry, I cannot fix this CI build failure and rerun doesn't solve the problem. I'll try resubmitting the same PR tomorrow to see if I'll still have CI build failure. |
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Outdated
Show resolved
Hide resolved
|
@MelonWang1 - do tests pass on your local machine? If you can't reproduce failure locally, then work with Leaf and team investigating the CI failure |
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Outdated
Show resolved
Hide resolved
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Show resolved
Hide resolved
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Show resolved
Hide resolved
....Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewActionListTests.cs
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/10.0 #11782 +/- ##
======================================================
+ Coverage 74.94672% 75.01380% +0.06708%
======================================================
Files 3026 3036 +10
Lines 630129 630288 +159
Branches 46738 46687 -51
======================================================
+ Hits 472261 472803 +542
+ Misses 154520 154135 -385
- Partials 3348 3350 +2
Flags with carried forward coverage won't be shown. Click here to find out more. |
@Tanya-Solyanik Resolved CI failure. It should be because the InvokeDialogs_ShouldNotThrow() method failed. It gets stuck on the first run. |
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
Add unit test ListViewTests.cs for public properties and method of the ListViewActionList.
Enable nullability in ListViewActionList.
Microsoft Reviewers: Open in CodeFlow