|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::Version >, ListVersions,(google::cloud::dialogflow::cx::v3::ListVersionsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Version >, GetVersion,(google::cloud::dialogflow::cx::v3::GetVersionRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::Version > >, CreateVersion,(google::cloud::dialogflow::cx::v3::CreateVersionRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::Version >, UpdateVersion,(google::cloud::dialogflow::cx::v3::UpdateVersionRequest const &request),(override)) |
|
| MOCK_METHOD (Status, DeleteVersion,(google::cloud::dialogflow::cx::v3::DeleteVersionRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::protobuf::Struct > >, LoadVersion,(google::cloud::dialogflow::cx::v3::LoadVersionRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::CompareVersionsResponse >, CompareVersions,(google::cloud::dialogflow::cx::v3::CompareVersionsRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Version > | ListVersions (google::cloud::dialogflow::cx::v3::ListVersionsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Version > | GetVersion (google::cloud::dialogflow::cx::v3::GetVersionRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Version > > | CreateVersion (google::cloud::dialogflow::cx::v3::CreateVersionRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Version > | UpdateVersion (google::cloud::dialogflow::cx::v3::UpdateVersionRequest const &request) |
|
virtual Status | DeleteVersion (google::cloud::dialogflow::cx::v3::DeleteVersionRequest const &request) |
|
virtual future< StatusOr< google::protobuf::Struct > > | LoadVersion (google::cloud::dialogflow::cx::v3::LoadVersionRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::CompareVersionsResponse > | CompareVersions (google::cloud::dialogflow::cx::v3::CompareVersionsRequest const &request) |
|
A class to mock VersionsConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type VersionsClient
. To do so, construct an object of type VersionsClient
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
.