|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::connection::v1::Connection >, CreateConnection,(google::cloud::bigquery::connection::v1::CreateConnectionRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::connection::v1::Connection >, GetConnection,(google::cloud::bigquery::connection::v1::GetConnectionRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::bigquery::connection::v1::Connection >, ListConnections,(google::cloud::bigquery::connection::v1::ListConnectionsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::connection::v1::Connection >, UpdateConnection,(google::cloud::bigquery::connection::v1::UpdateConnectionRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteConnection,(google::cloud::bigquery::connection::v1::DeleteConnectionRequest 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 StatusOr< google::cloud::bigquery::connection::v1::Connection > | CreateConnection (google::cloud::bigquery::connection::v1::CreateConnectionRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::connection::v1::Connection > | GetConnection (google::cloud::bigquery::connection::v1::GetConnectionRequest const &request) |
|
virtual StreamRange< google::cloud::bigquery::connection::v1::Connection > | ListConnections (google::cloud::bigquery::connection::v1::ListConnectionsRequest request) |
|
virtual StatusOr< google::cloud::bigquery::connection::v1::Connection > | UpdateConnection (google::cloud::bigquery::connection::v1::UpdateConnectionRequest const &request) |
|
virtual Status | DeleteConnection (google::cloud::bigquery::connection::v1::DeleteConnectionRequest 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 ConnectionServiceConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ConnectionServiceClient
. To do so, construct an object of type ConnectionServiceClient
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
.