|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Experiment >, ListExperiments,(google::cloud::dialogflow::cx::v3::ListExperimentsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Experiment >, GetExperiment,(google::cloud::dialogflow::cx::v3::GetExperimentRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Experiment >, CreateExperiment,(google::cloud::dialogflow::cx::v3::CreateExperimentRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Experiment >, UpdateExperiment,(google::cloud::dialogflow::cx::v3::UpdateExperimentRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteExperiment,(google::cloud::dialogflow::cx::v3::DeleteExperimentRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Experiment >, StartExperiment,(google::cloud::dialogflow::cx::v3::StartExperimentRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Experiment >, StopExperiment,(google::cloud::dialogflow::cx::v3::StopExperimentRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Experiment > | ListExperiments (google::cloud::dialogflow::cx::v3::ListExperimentsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | GetExperiment (google::cloud::dialogflow::cx::v3::GetExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | CreateExperiment (google::cloud::dialogflow::cx::v3::CreateExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | UpdateExperiment (google::cloud::dialogflow::cx::v3::UpdateExperimentRequest const &request) |
|
virtual Status | DeleteExperiment (google::cloud::dialogflow::cx::v3::DeleteExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | StartExperiment (google::cloud::dialogflow::cx::v3::StartExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | StopExperiment (google::cloud::dialogflow::cx::v3::StopExperimentRequest const &request) |
|
A class to mock ExperimentsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type ExperimentsClient
. To do so, construct an object of type ExperimentsClient
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
.