|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Environment >, ListEnvironments,(google::cloud::dialogflow::cx::v3::ListEnvironmentsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Environment >, GetEnvironment,(google::cloud::dialogflow::cx::v3::GetEnvironmentRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > >, CreateEnvironment,(google::cloud::dialogflow::cx::v3::CreateEnvironmentRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > >, UpdateEnvironment,(google::cloud::dialogflow::cx::v3::UpdateEnvironmentRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteEnvironment,(google::cloud::dialogflow::cx::v3::DeleteEnvironmentRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Environment >, LookupEnvironmentHistory,(google::cloud::dialogflow::cx::v3::LookupEnvironmentHistoryRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::RunContinuousTestResponse > >, RunContinuousTest,(google::cloud::dialogflow::cx::v3::RunContinuousTestRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::ContinuousTestResult >, ListContinuousTestResults,(google::cloud::dialogflow::cx::v3::ListContinuousTestResultsRequest request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::DeployFlowResponse > >, DeployFlow,(google::cloud::dialogflow::cx::v3::DeployFlowRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Environment > | ListEnvironments (google::cloud::dialogflow::cx::v3::ListEnvironmentsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Environment > | GetEnvironment (google::cloud::dialogflow::cx::v3::GetEnvironmentRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > | CreateEnvironment (google::cloud::dialogflow::cx::v3::CreateEnvironmentRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > | UpdateEnvironment (google::cloud::dialogflow::cx::v3::UpdateEnvironmentRequest const &request) |
|
virtual Status | DeleteEnvironment (google::cloud::dialogflow::cx::v3::DeleteEnvironmentRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Environment > | LookupEnvironmentHistory (google::cloud::dialogflow::cx::v3::LookupEnvironmentHistoryRequest request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::RunContinuousTestResponse > > | RunContinuousTest (google::cloud::dialogflow::cx::v3::RunContinuousTestRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::ContinuousTestResult > | ListContinuousTestResults (google::cloud::dialogflow::cx::v3::ListContinuousTestResultsRequest request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::DeployFlowResponse > > | DeployFlow (google::cloud::dialogflow::cx::v3::DeployFlowRequest const &request) |
|
A class to mock EnvironmentsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type EnvironmentsClient
. To do so, construct an object of type EnvironmentsClient
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
.