|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::Conversation >, CreateConversation,(google::cloud::dialogflow::v2::CreateConversationRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::v2::Conversation >, ListConversations,(google::cloud::dialogflow::v2::ListConversationsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::Conversation >, GetConversation,(google::cloud::dialogflow::v2::GetConversationRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::Conversation >, CompleteConversation,(google::cloud::dialogflow::v2::CompleteConversationRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::v2::Message >, ListMessages,(google::cloud::dialogflow::v2::ListMessagesRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::SuggestConversationSummaryResponse >, SuggestConversationSummary,(google::cloud::dialogflow::v2::SuggestConversationSummaryRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::v2::GenerateStatelessSummaryResponse >, GenerateStatelessSummary,(google::cloud::dialogflow::v2::GenerateStatelessSummaryRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StatusOr< google::cloud::dialogflow::v2::Conversation > | CreateConversation (google::cloud::dialogflow::v2::CreateConversationRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::v2::Conversation > | ListConversations (google::cloud::dialogflow::v2::ListConversationsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::Conversation > | GetConversation (google::cloud::dialogflow::v2::GetConversationRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::Conversation > | CompleteConversation (google::cloud::dialogflow::v2::CompleteConversationRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::v2::Message > | ListMessages (google::cloud::dialogflow::v2::ListMessagesRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::SuggestConversationSummaryResponse > | SuggestConversationSummary (google::cloud::dialogflow::v2::SuggestConversationSummaryRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::v2::GenerateStatelessSummaryResponse > | GenerateStatelessSummary (google::cloud::dialogflow::v2::GenerateStatelessSummaryRequest const &request) |
|
A class to mock ConversationsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ConversationsClient
. To do so, construct an object of type ConversationsClient
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
.