|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange >, ListDataExchanges,(google::cloud::bigquery::analyticshub::v1::ListDataExchangesRequest request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange >, ListOrgDataExchanges,(google::cloud::bigquery::analyticshub::v1::ListOrgDataExchangesRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange >, GetDataExchange,(google::cloud::bigquery::analyticshub::v1::GetDataExchangeRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange >, CreateDataExchange,(google::cloud::bigquery::analyticshub::v1::CreateDataExchangeRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange >, UpdateDataExchange,(google::cloud::bigquery::analyticshub::v1::UpdateDataExchangeRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteDataExchange,(google::cloud::bigquery::analyticshub::v1::DeleteDataExchangeRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::bigquery::analyticshub::v1::Listing >, ListListings,(google::cloud::bigquery::analyticshub::v1::ListListingsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::Listing >, GetListing,(google::cloud::bigquery::analyticshub::v1::GetListingRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::Listing >, CreateListing,(google::cloud::bigquery::analyticshub::v1::CreateListingRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::Listing >, UpdateListing,(google::cloud::bigquery::analyticshub::v1::UpdateListingRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteListing,(google::cloud::bigquery::analyticshub::v1::DeleteListingRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::analyticshub::v1::SubscribeListingResponse >, SubscribeListing,(google::cloud::bigquery::analyticshub::v1::SubscribeListingRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::Policy >, GetIamPolicy,(google::iam::v1::GetIamPolicyRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::Policy >, SetIamPolicy,(google::iam::v1::SetIamPolicyRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::iam::v1::TestIamPermissionsResponse >, TestIamPermissions,(google::iam::v1::TestIamPermissionsRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange > | ListDataExchanges (google::cloud::bigquery::analyticshub::v1::ListDataExchangesRequest request) |
|
virtual StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange > | ListOrgDataExchanges (google::cloud::bigquery::analyticshub::v1::ListOrgDataExchangesRequest request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > | GetDataExchange (google::cloud::bigquery::analyticshub::v1::GetDataExchangeRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > | CreateDataExchange (google::cloud::bigquery::analyticshub::v1::CreateDataExchangeRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > | UpdateDataExchange (google::cloud::bigquery::analyticshub::v1::UpdateDataExchangeRequest const &request) |
|
virtual Status | DeleteDataExchange (google::cloud::bigquery::analyticshub::v1::DeleteDataExchangeRequest const &request) |
|
virtual StreamRange< google::cloud::bigquery::analyticshub::v1::Listing > | ListListings (google::cloud::bigquery::analyticshub::v1::ListListingsRequest request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > | GetListing (google::cloud::bigquery::analyticshub::v1::GetListingRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > | CreateListing (google::cloud::bigquery::analyticshub::v1::CreateListingRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > | UpdateListing (google::cloud::bigquery::analyticshub::v1::UpdateListingRequest const &request) |
|
virtual Status | DeleteListing (google::cloud::bigquery::analyticshub::v1::DeleteListingRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::analyticshub::v1::SubscribeListingResponse > | SubscribeListing (google::cloud::bigquery::analyticshub::v1::SubscribeListingRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > | TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request) |
|
A class to mock AnalyticsHubServiceConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type AnalyticsHubServiceClient
. To do so, construct an object of type AnalyticsHubServiceClient
with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.
- See also
- This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of
*Client
and *Connection
.