Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
|
A class to mock ChangelogsConnection
.
More...
#include <google/cloud/dialogflow_cx/mocks/mock_changelogs_connection.h>
Public Member Functions | |
MOCK_METHOD (Options, options,(),(override)) | |
MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Changelog >, ListChangelogs,(google::cloud::dialogflow::cx::v3::ListChangelogsRequest request),(override)) | |
MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Changelog >, GetChangelog,(google::cloud::dialogflow::cx::v3::GetChangelogRequest const &request),(override)) | |
virtual Options | options () |
virtual StreamRange< google::cloud::dialogflow::cx::v3::Changelog > | ListChangelogs (google::cloud::dialogflow::cx::v3::ListChangelogsRequest request) |
virtual StatusOr< google::cloud::dialogflow::cx::v3::Changelog > | GetChangelog (google::cloud::dialogflow::cx::v3::GetChangelogRequest const &request) |
A class to mock ChangelogsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ChangelogsClient
. To do so, construct an object of type ChangelogsClient
with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.
*Client
and *Connection
.
|
virtualinherited |
|
virtualinherited |
google::cloud::dialogflow_cx_mocks::MockChangelogsConnection::MOCK_METHOD | ( | Options | , |
options | , | ||
() | , | ||
(override) | |||
) |
google::cloud::dialogflow_cx_mocks::MockChangelogsConnection::MOCK_METHOD | ( | StatusOr< google::cloud::dialogflow::cx::v3::Changelog > | , |
GetChangelog | , | ||
(google::cloud::dialogflow::cx::v3::GetChangelogRequest const &request) | , | ||
(override) | |||
) |
google::cloud::dialogflow_cx_mocks::MockChangelogsConnection::MOCK_METHOD | ( | StreamRange< google::cloud::dialogflow::cx::v3::Changelog > | , |
ListChangelogs | , | ||
(google::cloud::dialogflow::cx::v3::ListChangelogsRequest request) | , | ||
(override) | |||
) |
|
inlinevirtualinherited |