|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow >, CreateMigrationWorkflow,(google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow >, GetMigrationWorkflow,(google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow >, ListMigrationWorkflows,(google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest request),(override)) |
|
| MOCK_METHOD (Status, DeleteMigrationWorkflow,(google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const &request),(override)) |
|
| MOCK_METHOD (Status, StartMigrationWorkflow,(google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask >, GetMigrationSubtask,(google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask >, ListMigrationSubtasks,(google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest request),(override)) |
|
virtual Options | options () |
|
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > | CreateMigrationWorkflow (google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > | GetMigrationWorkflow (google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const &request) |
|
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow > | ListMigrationWorkflows (google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest request) |
|
virtual Status | DeleteMigrationWorkflow (google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const &request) |
|
virtual Status | StartMigrationWorkflow (google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask > | GetMigrationSubtask (google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const &request) |
|
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask > | ListMigrationSubtasks (google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest request) |
|
A class to mock MigrationServiceConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type MigrationServiceClient
. To do so, construct an object of type MigrationServiceClient
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
.