A googlemock-based mock for [pubsub::ExactlyOnceAckHandler::Impl][mocked-link].
More...
#include <google/cloud/pubsub/mocks/mock_exactly_once_ack_handler.h>
|
| MOCK_METHOD (future< Status >, ack,(),(override)) |
|
| MOCK_METHOD (future< Status >, nack,(),(override)) |
|
| MOCK_METHOD (std::string, ack_id,()) |
|
| MOCK_METHOD (std::int32_t, delivery_attempt,(),(const, override)) |
|
virtual future< Status > | ack () |
| The implementation for ExactlyOnceAckHandler::ack() More...
|
|
virtual future< Status > | nack () |
| The implementation for ExactlyOnceAckHandler::nack() More...
|
|
virtual std::int32_t | delivery_attempt () const |
| The implementation for ExactlyOnceAckHandler::delivery_attempt() More...
|
|
A googlemock-based mock for [pubsub::ExactlyOnceAckHandler::Impl][mocked-link].
google::cloud::pubsub_internal::ExactlyOnceAckHandler::Impl
- See also
- Testing your Cloud Pub/Sub subscriber application with googlemock for an example using this class.
◆ ack()
virtual future< Status > google::cloud::pubsub::ExactlyOnceAckHandler::Impl::ack |
( |
| ) |
|
|
inlinevirtualinherited |
The implementation for ExactlyOnceAckHandler::ack()
◆ delivery_attempt()
virtual std::int32_t google::cloud::pubsub::ExactlyOnceAckHandler::Impl::delivery_attempt |
( |
| ) |
const |
|
inlinevirtualinherited |
The implementation for ExactlyOnceAckHandler::delivery_attempt()
◆ MOCK_METHOD() [1/4]
google::cloud::pubsub_mocks::MockExactlyOnceAckHandler::MOCK_METHOD |
( |
future< Status > |
, |
|
|
ack |
, |
|
|
() |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [2/4]
google::cloud::pubsub_mocks::MockExactlyOnceAckHandler::MOCK_METHOD |
( |
future< Status > |
, |
|
|
nack |
, |
|
|
() |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [3/4]
google::cloud::pubsub_mocks::MockExactlyOnceAckHandler::MOCK_METHOD |
( |
std::int32_t |
, |
|
|
delivery_attempt |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
◆ MOCK_METHOD() [4/4]
google::cloud::pubsub_mocks::MockExactlyOnceAckHandler::MOCK_METHOD |
( |
std::string |
, |
|
|
ack_id |
, |
|
|
() |
|
|
) |
| |
◆ nack()
virtual future< Status > google::cloud::pubsub::ExactlyOnceAckHandler::Impl::nack |
( |
| ) |
|
|
inlinevirtualinherited |
The implementation for ExactlyOnceAckHandler::nack()