|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::ConversationDataset > >, CreateConversationDataset,(google::cloud::dialogflow::v2::CreateConversationDatasetRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::ConversationDataset >, GetConversationDataset,(google::cloud::dialogflow::v2::GetConversationDatasetRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::v2::ConversationDataset >, ListConversationDatasets,(google::cloud::dialogflow::v2::ListConversationDatasetsRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::DeleteConversationDatasetOperationMetadata > >, DeleteConversationDataset,(google::cloud::dialogflow::v2::DeleteConversationDatasetRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::ImportConversationDataOperationResponse > >, ImportConversationData,(google::cloud::dialogflow::v2::ImportConversationDataRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::ConversationDataset > > | CreateConversationDataset (google::cloud::dialogflow::v2::CreateConversationDatasetRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::ConversationDataset > | GetConversationDataset (google::cloud::dialogflow::v2::GetConversationDatasetRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::v2::ConversationDataset > | ListConversationDatasets (google::cloud::dialogflow::v2::ListConversationDatasetsRequest request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::DeleteConversationDatasetOperationMetadata > > | DeleteConversationDataset (google::cloud::dialogflow::v2::DeleteConversationDatasetRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::ImportConversationDataOperationResponse > > | ImportConversationData (google::cloud::dialogflow::v2::ImportConversationDataRequest const &request) |
|
A class to mock ConversationDatasetsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ConversationDatasetsClient
. To do so, construct an object of type ConversationDatasetsClient
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
.