-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add code coverage for RichTextBoxActionList #12131
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
Merged
Tanya-Solyanik
merged 1 commit into
dotnet:main
from
ricardobossan:Issue_10773_Add_Coverage_For_RichTextBoxActionList
Sep 18, 2024
Merged
Add code coverage for RichTextBoxActionList #12131
Tanya-Solyanik
merged 1 commit into
dotnet:main
from
ricardobossan:Issue_10773_Add_Coverage_For_RichTextBoxActionList
Sep 18, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6dfec29 to
ad6f07e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12131 +/- ##
===================================================
+ Coverage 75.23555% 75.26529% +0.02973%
===================================================
Files 3082 3086 +4
Lines 633299 633640 +341
Branches 46823 46839 +16
===================================================
+ Hits 476466 476911 +445
+ Misses 153436 153330 -106
- Partials 3397 3399 +2
Flags with carried forward coverage won't be shown. Click here to find out more. |
...ndows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/RichTextBoxActionListTests.cs
Outdated
Show resolved
Hide resolved
...ndows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/RichTextBoxActionListTests.cs
Outdated
Show resolved
Hide resolved
Related dotnet#10773 ## Proposed changes - Adds code coverage for `RichTextBoxActionList` - Coverage for the `EditLines()` method could not be added. The dependent method `EditorServiceContext.EditValue(_designer, Component!, "Lines")` is static and could not be mocked, and the dialog that opens during its execution requires manual intervention to close. ## Customer Impact - None or succinct description ## Regression? - No ## Risk - Minimal ## Test methodology - Unit tests ## Test environment(s) - 9.0.100-preview.7.24407.12
ad6f07e to
2387b09
Compare
Tanya-Solyanik
approved these changes
Sep 18, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related #10773
Proposed changes
RichTextBoxActionListEditLines()method could not be added. The dependent methodEditorServiceContext.EditValue(_designer, Component!, "Lines")is static and could not be mocked, and the dialog that opens during its execution requires manual intervention to close.Customer Impact
Regression?
Risk
Test methodology
Test environment(s)