|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Flow >, CreateFlow,(google::cloud::dialogflow::cx::v3::CreateFlowRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteFlow,(google::cloud::dialogflow::cx::v3::DeleteFlowRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Flow >, ListFlows,(google::cloud::dialogflow::cx::v3::ListFlowsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Flow >, GetFlow,(google::cloud::dialogflow::cx::v3::GetFlowRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Flow >, UpdateFlow,(google::cloud::dialogflow::cx::v3::UpdateFlowRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::protobuf::Struct > >, TrainFlow,(google::cloud::dialogflow::cx::v3::TrainFlowRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult >, ValidateFlow,(google::cloud::dialogflow::cx::v3::ValidateFlowRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult >, GetFlowValidationResult,(google::cloud::dialogflow::cx::v3::GetFlowValidationResultRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::ImportFlowResponse > >, ImportFlow,(google::cloud::dialogflow::cx::v3::ImportFlowRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::ExportFlowResponse > >, ExportFlow,(google::cloud::dialogflow::cx::v3::ExportFlowRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > | CreateFlow (google::cloud::dialogflow::cx::v3::CreateFlowRequest const &request) |
|
virtual Status | DeleteFlow (google::cloud::dialogflow::cx::v3::DeleteFlowRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Flow > | ListFlows (google::cloud::dialogflow::cx::v3::ListFlowsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > | GetFlow (google::cloud::dialogflow::cx::v3::GetFlowRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > | UpdateFlow (google::cloud::dialogflow::cx::v3::UpdateFlowRequest const &request) |
|
virtual future< StatusOr< google::protobuf::Struct > > | TrainFlow (google::cloud::dialogflow::cx::v3::TrainFlowRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult > | ValidateFlow (google::cloud::dialogflow::cx::v3::ValidateFlowRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult > | GetFlowValidationResult (google::cloud::dialogflow::cx::v3::GetFlowValidationResultRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ImportFlowResponse > > | ImportFlow (google::cloud::dialogflow::cx::v3::ImportFlowRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportFlowResponse > > | ExportFlow (google::cloud::dialogflow::cx::v3::ExportFlowRequest const &request) |
|
A class to mock FlowsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type FlowsClient
. To do so, construct an object of type FlowsClient
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
.