A googlemock-based mock for [pubsub::ExactlyOnceAckHandler::Impl][mocked-link].
google:☁️:pubsub_internal::ExactlyOnceAckHandler::Impl
See Also
Testing your Cloud Pub/Sub subscriber application with googlemock for an example using this class.
Functions
virtual ack()
The implementation for ExactlyOnceAckHandler::ack()
This function is implemented using gMock's MOCK_METHOD().
Consult the gMock documentation to use this mock in your tests.
| Returns | |
|---|---|
| Type | Description |
future< Status > |
|
virtual nack()
The implementation for ExactlyOnceAckHandler::nack()
This function is implemented using gMock's MOCK_METHOD().
Consult the gMock documentation to use this mock in your tests.
| Returns | |
|---|---|
| Type | Description |
future< Status > |
|
virtual delivery_attempt() const
The implementation for ExactlyOnceAckHandler::delivery_attempt()
This function is implemented using gMock's MOCK_METHOD().
Consult the gMock documentation to use this mock in your tests.
| Returns | |
|---|---|
| Type | Description |
std::int32_t |
|