|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::ConversationModel > >, CreateConversationModel,(google::cloud::dialogflow::v2::CreateConversationModelRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::ConversationModel >, GetConversationModel,(google::cloud::dialogflow::v2::GetConversationModelRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::v2::ConversationModel >, ListConversationModels,(google::cloud::dialogflow::v2::ListConversationModelsRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::DeleteConversationModelOperationMetadata > >, DeleteConversationModel,(google::cloud::dialogflow::v2::DeleteConversationModelRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::DeployConversationModelOperationMetadata > >, DeployConversationModel,(google::cloud::dialogflow::v2::DeployConversationModelRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::UndeployConversationModelOperationMetadata > >, UndeployConversationModel,(google::cloud::dialogflow::v2::UndeployConversationModelRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::ConversationModelEvaluation >, GetConversationModelEvaluation,(google::cloud::dialogflow::v2::GetConversationModelEvaluationRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::v2::ConversationModelEvaluation >, ListConversationModelEvaluations,(google::cloud::dialogflow::v2::ListConversationModelEvaluationsRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::ConversationModelEvaluation > >, CreateConversationModelEvaluation,(google::cloud::dialogflow::v2::CreateConversationModelEvaluationRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::ConversationModel > > | CreateConversationModel (google::cloud::dialogflow::v2::CreateConversationModelRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::ConversationModel > | GetConversationModel (google::cloud::dialogflow::v2::GetConversationModelRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::v2::ConversationModel > | ListConversationModels (google::cloud::dialogflow::v2::ListConversationModelsRequest request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::DeleteConversationModelOperationMetadata > > | DeleteConversationModel (google::cloud::dialogflow::v2::DeleteConversationModelRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::DeployConversationModelOperationMetadata > > | DeployConversationModel (google::cloud::dialogflow::v2::DeployConversationModelRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::UndeployConversationModelOperationMetadata > > | UndeployConversationModel (google::cloud::dialogflow::v2::UndeployConversationModelRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::ConversationModelEvaluation > | GetConversationModelEvaluation (google::cloud::dialogflow::v2::GetConversationModelEvaluationRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::v2::ConversationModelEvaluation > | ListConversationModelEvaluations (google::cloud::dialogflow::v2::ListConversationModelEvaluationsRequest request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::ConversationModelEvaluation > > | CreateConversationModelEvaluation (google::cloud::dialogflow::v2::CreateConversationModelEvaluationRequest const &request) |
|
A class to mock ConversationModelsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ConversationModelsClient
. To do so, construct an object of type ConversationModelsClient
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
.