Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::pubsub_mocks::MockPullAckHandler Class Reference

A googlemock-based mock for [pubsub::PullAckHandler::Impl][mocked-link]. More...

#include <google/cloud/pubsub/mocks/mock_pull_ack_handler.h>

Public Member Functions

 MOCK_METHOD (future< Status >, ack,(),(override))
 
 MOCK_METHOD (future< Status >, nack,(),(override))
 
 MOCK_METHOD (std::int32_t, delivery_attempt,(),(const, override))
 
virtual future< Statusack ()
 The implementation for PullAckHandler::ack() More...
 
virtual future< Statusnack ()
 The implementation for PullAckHandler::nack() More...
 
virtual std::int32_t delivery_attempt () const
 The implementation for PullAckHandler::delivery_attempt() More...
 

Detailed Description

A googlemock-based mock for [pubsub::PullAckHandler::Impl][mocked-link].

google::cloud::pubsub_internal::PullAckHandler::Impl

Member Function Documentation

◆ ack()

virtual future< Status > google::cloud::pubsub::PullAckHandler::Impl::ack ( )
inlinevirtualinherited

The implementation for PullAckHandler::ack()

◆ delivery_attempt()

virtual std::int32_t google::cloud::pubsub::PullAckHandler::Impl::delivery_attempt ( ) const
inlinevirtualinherited

The implementation for PullAckHandler::delivery_attempt()

◆ MOCK_METHOD() [1/3]

google::cloud::pubsub_mocks::MockPullAckHandler::MOCK_METHOD ( future< Status ,
ack  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/3]

google::cloud::pubsub_mocks::MockPullAckHandler::MOCK_METHOD ( future< Status ,
nack  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [3/3]

google::cloud::pubsub_mocks::MockPullAckHandler::MOCK_METHOD ( std::int32_t  ,
delivery_attempt  ,
()  ,
(const, override)   
)

◆ nack()

virtual future< Status > google::cloud::pubsub::PullAckHandler::Impl::nack ( )
inlinevirtualinherited

The implementation for PullAckHandler::nack()