Skip to content
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 RichTextBoxActionList #12131

Conversation

ricardobossan
Copy link
Member

@ricardobossan ricardobossan commented Sep 13, 2024

Related #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

@dotnet-policy-service dotnet-policy-service bot added the draft draft PR label Sep 13, 2024
@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_For_RichTextBoxActionList branch from 6dfec29 to ad6f07e Compare September 13, 2024 14:49
@ricardobossan ricardobossan marked this pull request as ready for review September 13, 2024 14:51
@ricardobossan ricardobossan requested a review from a team as a code owner September 13, 2024 14:51
@ricardobossan ricardobossan added waiting-review This item is waiting on review by one or more members of team and removed draft draft PR labels Sep 13, 2024
Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.26529%. Comparing base (935f877) to head (2387b09).
Report is 22 commits behind head on main.

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     
Flag Coverage Δ
Debug 75.26529% <100.00000%> (+0.02973%) ⬆️
integration 18.02097% <ø> (+0.00336%) ⬆️
production 48.57103% <ø> (+0.04209%) ⬆️
test 97.02292% <100.00000%> (+0.00103%) ⬆️
unit 45.58164% <ø> (+0.03878%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@Tanya-Solyanik Tanya-Solyanik added 📭 waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Sep 13, 2024
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
@ricardobossan ricardobossan force-pushed the Issue_10773_Add_Coverage_For_RichTextBoxActionList branch from ad6f07e to 2387b09 Compare September 17, 2024 15:44
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Sep 17, 2024
@ricardobossan ricardobossan added the waiting-review This item is waiting on review by one or more members of team label Sep 17, 2024
@Tanya-Solyanik Tanya-Solyanik merged commit 0c96068 into dotnet:main Sep 18, 2024
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview1 milestone Sep 18, 2024
@dotnet-policy-service dotnet-policy-service bot removed the waiting-review This item is waiting on review by one or more members of team label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants