|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::EntityType >, ListEntityTypes,(google::cloud::dialogflow::cx::v3::ListEntityTypesRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::EntityType >, GetEntityType,(google::cloud::dialogflow::cx::v3::GetEntityTypeRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::EntityType >, CreateEntityType,(google::cloud::dialogflow::cx::v3::CreateEntityTypeRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::EntityType >, UpdateEntityType,(google::cloud::dialogflow::cx::v3::UpdateEntityTypeRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteEntityType,(google::cloud::dialogflow::cx::v3::DeleteEntityTypeRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::EntityType > | ListEntityTypes (google::cloud::dialogflow::cx::v3::ListEntityTypesRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::EntityType > | GetEntityType (google::cloud::dialogflow::cx::v3::GetEntityTypeRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::EntityType > | CreateEntityType (google::cloud::dialogflow::cx::v3::CreateEntityTypeRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::EntityType > | UpdateEntityType (google::cloud::dialogflow::cx::v3::UpdateEntityTypeRequest const &request) |
|
virtual Status | DeleteEntityType (google::cloud::dialogflow::cx::v3::DeleteEntityTypeRequest const &request) |
|
A class to mock EntityTypesConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type EntityTypesClient
. To do so, construct an object of type EntityTypesClient
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
.