Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
A googlemock-based mock for pubsub::PublisherConnection. More...
#include <google/cloud/pubsub/mocks/mock_publisher_connection.h>
Public Member Functions | |
MOCK_METHOD (future< StatusOr< std::string > >, Publish,(pubsub::PublisherConnection::PublishParams),(override)) | |
MOCK_METHOD (void, Flush,(pubsub::PublisherConnection::FlushParams),(override)) | |
MOCK_METHOD (void, ResumePublish,(pubsub::PublisherConnection::ResumePublishParams),(override)) | |
virtual future< StatusOr< std::string > > | Publish (PublishParams p) |
Defines the interface for Publisher::Publish() More... | |
virtual void | Flush (FlushParams) |
Defines the interface for Publisher::Flush() More... | |
virtual void | ResumePublish (ResumePublishParams p) |
Defines the interface for Publisher::ResumePublish() More... | |
A googlemock-based mock for pubsub::PublisherConnection.
|
virtualinherited |
Defines the interface for Publisher::Flush()
google::cloud::pubsub_mocks::MockPublisherConnection::MOCK_METHOD | ( | future< StatusOr< std::string > > | , |
Publish | , | ||
(pubsub::PublisherConnection::PublishParams) | , | ||
(override) | |||
) |
google::cloud::pubsub_mocks::MockPublisherConnection::MOCK_METHOD | ( | void | , |
Flush | , | ||
(pubsub::PublisherConnection::FlushParams) | , | ||
(override) | |||
) |
google::cloud::pubsub_mocks::MockPublisherConnection::MOCK_METHOD | ( | void | , |
ResumePublish | , | ||
(pubsub::PublisherConnection::ResumePublishParams) | , | ||
(override) | |||
) |
|
virtualinherited |
Defines the interface for Publisher::Publish()
|
virtualinherited |
Defines the interface for Publisher::ResumePublish()