Constructors
MockDataConnection()
Functions
virtual options()
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Returns |
---|
Type | Description |
Options | |
virtual Apply(std::string const &, SingleRowMutation)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameters |
---|
Name | Description |
table_name |
std::string const &
|
mut |
SingleRowMutation
|
Returns |
---|
Type | Description |
Status | |
virtual AsyncApply(std::string const &, SingleRowMutation)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameters |
---|
Name | Description |
table_name |
std::string const &
|
mut |
SingleRowMutation
|
Returns |
---|
Type | Description |
future< Status > | |
virtual BulkApply(std::string const &, BulkMutation)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameters |
---|
Name | Description |
table_name |
std::string const &
|
mut |
BulkMutation
|
Returns |
---|
Type | Description |
std::vector< FailedMutation > | |
virtual AsyncBulkApply(std::string const &, BulkMutation)
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Parameters |
---|
Name | Description |
table_name |
std::string const &
|
mut |
BulkMutation
|
Returns |
---|
Type | Description |
future< std::vector< FailedMutation > > | |
virtual ReadRows(std::string const &, RowSet, std::int64_t, Filter)