|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::v2::ConversationProfile >, ListConversationProfiles,(google::cloud::dialogflow::v2::ListConversationProfilesRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::ConversationProfile >, GetConversationProfile,(google::cloud::dialogflow::v2::GetConversationProfileRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::ConversationProfile >, CreateConversationProfile,(google::cloud::dialogflow::v2::CreateConversationProfileRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::ConversationProfile >, UpdateConversationProfile,(google::cloud::dialogflow::v2::UpdateConversationProfileRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteConversationProfile,(google::cloud::dialogflow::v2::DeleteConversationProfileRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::ConversationProfile > >, SetSuggestionFeatureConfig,(google::cloud::dialogflow::v2::SetSuggestionFeatureConfigRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::v2::ConversationProfile > >, ClearSuggestionFeatureConfig,(google::cloud::dialogflow::v2::ClearSuggestionFeatureConfigRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::v2::ConversationProfile > | ListConversationProfiles (google::cloud::dialogflow::v2::ListConversationProfilesRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::ConversationProfile > | GetConversationProfile (google::cloud::dialogflow::v2::GetConversationProfileRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::ConversationProfile > | CreateConversationProfile (google::cloud::dialogflow::v2::CreateConversationProfileRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::ConversationProfile > | UpdateConversationProfile (google::cloud::dialogflow::v2::UpdateConversationProfileRequest const &request) |
|
virtual Status | DeleteConversationProfile (google::cloud::dialogflow::v2::DeleteConversationProfileRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::ConversationProfile > > | SetSuggestionFeatureConfig (google::cloud::dialogflow::v2::SetSuggestionFeatureConfigRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::v2::ConversationProfile > > | ClearSuggestionFeatureConfig (google::cloud::dialogflow::v2::ClearSuggestionFeatureConfigRequest const &request) |
|
A class to mock ConversationProfilesConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ConversationProfilesClient
. To do so, construct an object of type ConversationProfilesClient
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
.