|
| MOCK_METHOD (Options, options,(),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::TestCase >, ListTestCases,(google::cloud::dialogflow::cx::v3::ListTestCasesRequest request),(override)) |
|
| MOCK_METHOD (Status, BatchDeleteTestCases,(google::cloud::dialogflow::cx::v3::BatchDeleteTestCasesRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TestCase >, GetTestCase,(google::cloud::dialogflow::cx::v3::GetTestCaseRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TestCase >, CreateTestCase,(google::cloud::dialogflow::cx::v3::CreateTestCaseRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TestCase >, UpdateTestCase,(google::cloud::dialogflow::cx::v3::UpdateTestCaseRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::RunTestCaseResponse > >, RunTestCase,(google::cloud::dialogflow::cx::v3::RunTestCaseRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::BatchRunTestCasesResponse > >, BatchRunTestCases,(google::cloud::dialogflow::cx::v3::BatchRunTestCasesRequest const &request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::CalculateCoverageResponse >, CalculateCoverage,(google::cloud::dialogflow::cx::v3::CalculateCoverageRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::ImportTestCasesResponse > >, ImportTestCases,(google::cloud::dialogflow::cx::v3::ImportTestCasesRequest const &request),(override)) |
|
| MOCK_METHOD (future< StatusOr< google::cloud::dialogflow::cx::v3::ExportTestCasesResponse > >, ExportTestCases,(google::cloud::dialogflow::cx::v3::ExportTestCasesRequest const &request),(override)) |
|
| MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::TestCaseResult >, ListTestCaseResults,(google::cloud::dialogflow::cx::v3::ListTestCaseResultsRequest request),(override)) |
|
| MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::TestCaseResult >, GetTestCaseResult,(google::cloud::dialogflow::cx::v3::GetTestCaseResultRequest const &request),(override)) |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::TestCase > | ListTestCases (google::cloud::dialogflow::cx::v3::ListTestCasesRequest request) |
|
virtual Status | BatchDeleteTestCases (google::cloud::dialogflow::cx::v3::BatchDeleteTestCasesRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCase > | GetTestCase (google::cloud::dialogflow::cx::v3::GetTestCaseRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCase > | CreateTestCase (google::cloud::dialogflow::cx::v3::CreateTestCaseRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCase > | UpdateTestCase (google::cloud::dialogflow::cx::v3::UpdateTestCaseRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::RunTestCaseResponse > > | RunTestCase (google::cloud::dialogflow::cx::v3::RunTestCaseRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::BatchRunTestCasesResponse > > | BatchRunTestCases (google::cloud::dialogflow::cx::v3::BatchRunTestCasesRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::CalculateCoverageResponse > | CalculateCoverage (google::cloud::dialogflow::cx::v3::CalculateCoverageRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ImportTestCasesResponse > > | ImportTestCases (google::cloud::dialogflow::cx::v3::ImportTestCasesRequest const &request) |
|
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportTestCasesResponse > > | ExportTestCases (google::cloud::dialogflow::cx::v3::ExportTestCasesRequest const &request) |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::TestCaseResult > | ListTestCaseResults (google::cloud::dialogflow::cx::v3::ListTestCaseResultsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCaseResult > | GetTestCaseResult (google::cloud::dialogflow::cx::v3::GetTestCaseResultRequest const &request) |
|
A class to mock TestCasesConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type TestCasesClient
. To do so, construct an object of type TestCasesClient
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
.