|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Intent >, ListIntents,(google::cloud::dialogflow::cx::v3::ListIntentsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Intent >, GetIntent,(google::cloud::dialogflow::cx::v3::GetIntentRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Intent >, CreateIntent,(google::cloud::dialogflow::cx::v3::CreateIntentRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Intent >, UpdateIntent,(google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteIntent,(google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Intent > | ListIntents (google::cloud::dialogflow::cx::v3::ListIntentsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > | GetIntent (google::cloud::dialogflow::cx::v3::GetIntentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > | CreateIntent (google::cloud::dialogflow::cx::v3::CreateIntentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > | UpdateIntent (google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &request) |
|
virtual Status | DeleteIntent (google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &request) |
|
A class to mock IntentsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type IntentsClient
. To do so, construct an object of type IntentsClient
with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.
- See also
- This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of
*Client
and *Connection
.