[go: nahoru, domu]

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

cleanup(storage): inline UndecoratedFromMock() #11708

Merged
merged 1 commit into from
May 23, 2023

Conversation

dbolduc
Copy link
Member
@dbolduc dbolduc commented May 23, 2023

Based on feedback from #11613 (reply in thread)

Inline the function while it is only one line, and we have no other need for a source file.

This makes it easier for customers who #include "google/cloud/storage/testing/mock_client.h" without linking to google_cloud_cpp_storage_testing to adopt the new function.


This change is Reviewable

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label May 23, 2023
@codecov
Copy link
codecov bot commented May 23, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (80a8b19) 83.02% compared to head (91039e2) 83.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11708   +/-   ##
=======================================
  Coverage   83.02%   83.02%           
=======================================
  Files        1827     1826    -1     
  Lines      164734   164734           
=======================================
+ Hits       136765   136768    +3     
+ Misses      27969    27966    -3     
Impacted Files Coverage Δ
google/cloud/storage/testing/mock_client.h 100.00% <100.00%> (ø)

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dbolduc dbolduc marked this pull request as ready for review May 23, 2023 16:59
@dbolduc dbolduc requested a review from a team as a code owner May 23, 2023 16:59
Copy link
Member
@scotthart scotthart left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 4 files at r1.
Reviewable status: 1 of 4 files reviewed, all discussions resolved

@dbolduc dbolduc merged commit 64aae9e into googleapis:main May 23, 2023
46 checks passed
@dbolduc dbolduc deleted the storage-inline-client-from-mock branch May 23, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants