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

doc(bigtable): how to mock the Data API #9415

Merged
merged 1 commit into from
Jul 2, 2022

Conversation

dbolduc
Copy link
Member

@dbolduc dbolduc commented Jul 2, 2022

Fixes #9308

Add a dedicated document that walks through how to mock Table::ReadRows.


This change is Reviewable

@product-auto-label product-auto-label bot added the api: bigtable Issues related to the Bigtable API. label Jul 2, 2022
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: ff01cd4c6f590f5d76f1b6e6713bf315584e3a02

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Jul 2, 2022

Codecov Report

Merging #9415 (ff01cd4) into main (c23bcf2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #9415   +/-   ##
=======================================
  Coverage   94.61%   94.61%           
=======================================
  Files        1484     1485    +1     
  Lines      136115   136154   +39     
=======================================
+ Hits       128779   128820   +41     
+ Misses       7336     7334    -2     
Impacted Files Coverage Δ
google/cloud/bigtable/mocks/mock_data_connection.h 100.00% <ø> (ø)
...gle/cloud/bigtable/examples/howto_mock_data_api.cc 100.00% <100.00%> (ø)
...integration_tests/schema_admin_integration_test.cc 98.88% <0.00%> (-1.12%) ⬇️
...sub/internal/batching_publisher_connection_test.cc 99.41% <0.00%> (-0.20%) ⬇️
...le/cloud/internal/default_completion_queue_impl.cc 97.72% <0.00%> (+0.56%) ⬆️
...cloud/pubsub/internal/subscription_session_test.cc 98.75% <0.00%> (+0.74%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c23bcf2...ff01cd4. Read the comment docs.

@dbolduc dbolduc marked this pull request as ready for review July 2, 2022 07:53
@dbolduc dbolduc requested a review from a team as a code owner July 2, 2022 07:53
@dbolduc dbolduc merged commit 90a24ec into googleapis:main Jul 2, 2022
@dbolduc dbolduc deleted the bigtable-mock-doc branch July 2, 2022 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the Bigtable API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show how to mock bigtable::Table calls
3 participants