|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Table >, CreateTable,(google::bigtable::admin::v2::CreateTableRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::bigtable::admin::v2::Table >, ListTables,(google::bigtable::admin::v2::ListTablesRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Table >, GetTable,(google::bigtable::admin::v2::GetTableRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Table > >, UpdateTable,(google::bigtable::admin::v2::UpdateTableRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteTable,(google::bigtable::admin::v2::DeleteTableRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Table > >, UndeleteTable,(google::bigtable::admin::v2::UndeleteTableRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Table >, ModifyColumnFamilies,(google::bigtable::admin::v2::ModifyColumnFamiliesRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DropRowRange,(google::bigtable::admin::v2::DropRowRangeRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::GenerateConsistencyTokenResponse >, GenerateConsistencyToken,(google::bigtable::admin::v2::GenerateConsistencyTokenRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::CheckConsistencyResponse >, CheckConsistency,(google::bigtable::admin::v2::CheckConsistencyRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Backup > >, CreateBackup,(google::bigtable::admin::v2::CreateBackupRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Backup >, GetBackup,(google::bigtable::admin::v2::GetBackupRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::bigtable::admin::v2::Backup >, UpdateBackup,(google::bigtable::admin::v2::UpdateBackupRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteBackup,(google::bigtable::admin::v2::DeleteBackupRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::bigtable::admin::v2::Backup >, ListBackups,(google::bigtable::admin::v2::ListBackupsRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::Table > >, RestoreTable,(google::bigtable::admin::v2::RestoreTableRequest 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)) |
|
| MOCK_METHOD (future< StatusOr< google::bigtable::admin::v2::CheckConsistencyResponse > >, AsyncCheckConsistency,(google::bigtable::admin::v2::CheckConsistencyRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StatusOr< google::bigtable::admin::v2::Table > | CreateTable (google::bigtable::admin::v2::CreateTableRequest const &request) |
|
virtual StreamRange< google::bigtable::admin::v2::Table > | ListTables (google::bigtable::admin::v2::ListTablesRequest request) |
|
virtual StatusOr< google::bigtable::admin::v2::Table > | GetTable (google::bigtable::admin::v2::GetTableRequest const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Table > > | UpdateTable (google::bigtable::admin::v2::UpdateTableRequest const &request) |
|
virtual Status | DeleteTable (google::bigtable::admin::v2::DeleteTableRequest const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Table > > | UndeleteTable (google::bigtable::admin::v2::UndeleteTableRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::Table > | ModifyColumnFamilies (google::bigtable::admin::v2::ModifyColumnFamiliesRequest const &request) |
|
virtual Status | DropRowRange (google::bigtable::admin::v2::DropRowRangeRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::GenerateConsistencyTokenResponse > | GenerateConsistencyToken (google::bigtable::admin::v2::GenerateConsistencyTokenRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::CheckConsistencyResponse > | CheckConsistency (google::bigtable::admin::v2::CheckConsistencyRequest const &request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Backup > > | CreateBackup (google::bigtable::admin::v2::CreateBackupRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::Backup > | GetBackup (google::bigtable::admin::v2::GetBackupRequest const &request) |
|
virtual StatusOr< google::bigtable::admin::v2::Backup > | UpdateBackup (google::bigtable::admin::v2::UpdateBackupRequest const &request) |
|
virtual Status | DeleteBackup (google::bigtable::admin::v2::DeleteBackupRequest const &request) |
|
virtual StreamRange< google::bigtable::admin::v2::Backup > | ListBackups (google::bigtable::admin::v2::ListBackupsRequest request) |
|
virtual future< StatusOr< google::bigtable::admin::v2::Table > > | RestoreTable (google::bigtable::admin::v2::RestoreTableRequest 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) |
|
virtual future< StatusOr< google::bigtable::admin::v2::CheckConsistencyResponse > > | AsyncCheckConsistency (google::bigtable::admin::v2::CheckConsistencyRequest const &request) |
|
A class to mock BigtableTableAdminConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type BigtableTableAdminClient
. To do so, construct an object of type BigtableTableAdminClient
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
.