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

Adds code coverage to ClipboardProxy from PR #11863 #12227

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

paul1956
Copy link
Contributor

@paul1956 paul1956 commented Sep 26, 2024

Fixes #

Proposed changes

Customer Impact

  • Improved code quality

Regression?

  • No

Risk

  • None add additional tests
Microsoft Reviewers: Open in CodeFlow

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.43164%. Comparing base (0d0e1c9) to head (3a45e55).
Report is 7 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #12227         +/-   ##
===================================================
+ Coverage   75.42712%   75.43164%   +0.00451%     
===================================================
  Files           3102        3103          +1     
  Lines         634244      634328         +84     
  Branches       46866       46868          +2     
===================================================
+ Hits          478392      478484         +92     
+ Misses        152434      152419         -15     
- Partials        3418        3425          +7     
Flag Coverage Δ
Debug 75.43164% <100.00000%> (+0.00451%) ⬆️
integration 17.97626% <ø> (-0.00332%) ⬇️
production 48.80993% <ø> (+0.00623%) ⬆️
test 97.02679% <100.00000%> (+0.00055%) ⬆️
unit 45.84583% <ø> (+0.00995%) ⬆️

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

@paul1956 paul1956 changed the title Add Clipboard Proxy Tests from PR #11863 Add code coverage to ClipboardProxy from PR #11863 Sep 27, 2024
@paul1956 paul1956 changed the title Add code coverage to ClipboardProxy from PR #11863 Adds code coverage to ClipboardProxy from PR #11863 Sep 28, 2024
Public Sub ClipboardProxy_ContainsText()
Dim clipboardProxy As New MyServices.ClipboardProxy
Dim text As String = GetUniqueText()
clipboardProxy.SetText(text)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@paul1956 paul1956 Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tanya-Solyanik
I don't believe those actually use "MyServices" despite the name of the class. I also tests the things that are not tested in the other tests like audio. Note: the other tests don’t retry failures.

@Tanya-Solyanik Tanya-Solyanik added the 📭 waiting-author-feedback The team requires more information from the author label Sep 30, 2024
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Sep 30, 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