The TestCasesConnection
object for TestCasesClient
.
More...
#include <google/cloud/dialogflow_cx/test_cases_connection.h>
|
virtual | ~TestCasesConnection ()=0 |
|
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) |
|
The TestCasesConnection
object for TestCasesClient
.
This interface defines virtual methods for each of the user-facing overload sets in TestCasesClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TestCasesClient
.
To create a concrete instance, see MakeTestCasesConnection()
.
For mocking, see dialogflow_cx_mocks::MockTestCasesConnection
.
◆ ~TestCasesConnection()
virtual google::cloud::dialogflow_cx::TestCasesConnection::~TestCasesConnection |
( |
| ) |
|
|
pure virtual |
◆ BatchDeleteTestCases()
virtual Status google::cloud::dialogflow_cx::TestCasesConnection::BatchDeleteTestCases |
( |
google::cloud::dialogflow::cx::v3::BatchDeleteTestCasesRequest const & |
request | ) |
|
|
virtual |
◆ BatchRunTestCases()
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::BatchRunTestCasesResponse > > google::cloud::dialogflow_cx::TestCasesConnection::BatchRunTestCases |
( |
google::cloud::dialogflow::cx::v3::BatchRunTestCasesRequest const & |
request | ) |
|
|
virtual |
◆ CalculateCoverage()
virtual StatusOr< google::cloud::dialogflow::cx::v3::CalculateCoverageResponse > google::cloud::dialogflow_cx::TestCasesConnection::CalculateCoverage |
( |
google::cloud::dialogflow::cx::v3::CalculateCoverageRequest const & |
request | ) |
|
|
virtual |
◆ CreateTestCase()
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCase > google::cloud::dialogflow_cx::TestCasesConnection::CreateTestCase |
( |
google::cloud::dialogflow::cx::v3::CreateTestCaseRequest const & |
request | ) |
|
|
virtual |
◆ ExportTestCases()
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportTestCasesResponse > > google::cloud::dialogflow_cx::TestCasesConnection::ExportTestCases |
( |
google::cloud::dialogflow::cx::v3::ExportTestCasesRequest const & |
request | ) |
|
|
virtual |
◆ GetTestCase()
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCase > google::cloud::dialogflow_cx::TestCasesConnection::GetTestCase |
( |
google::cloud::dialogflow::cx::v3::GetTestCaseRequest const & |
request | ) |
|
|
virtual |
◆ GetTestCaseResult()
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCaseResult > google::cloud::dialogflow_cx::TestCasesConnection::GetTestCaseResult |
( |
google::cloud::dialogflow::cx::v3::GetTestCaseResultRequest const & |
request | ) |
|
|
virtual |
◆ ImportTestCases()
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ImportTestCasesResponse > > google::cloud::dialogflow_cx::TestCasesConnection::ImportTestCases |
( |
google::cloud::dialogflow::cx::v3::ImportTestCasesRequest const & |
request | ) |
|
|
virtual |
◆ ListTestCaseResults()
virtual StreamRange< google::cloud::dialogflow::cx::v3::TestCaseResult > google::cloud::dialogflow_cx::TestCasesConnection::ListTestCaseResults |
( |
google::cloud::dialogflow::cx::v3::ListTestCaseResultsRequest |
request | ) |
|
|
virtual |
◆ ListTestCases()
virtual StreamRange< google::cloud::dialogflow::cx::v3::TestCase > google::cloud::dialogflow_cx::TestCasesConnection::ListTestCases |
( |
google::cloud::dialogflow::cx::v3::ListTestCasesRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::dialogflow_cx::TestCasesConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ RunTestCase()
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::RunTestCaseResponse > > google::cloud::dialogflow_cx::TestCasesConnection::RunTestCase |
( |
google::cloud::dialogflow::cx::v3::RunTestCaseRequest const & |
request | ) |
|
|
virtual |
◆ UpdateTestCase()
virtual StatusOr< google::cloud::dialogflow::cx::v3::TestCase > google::cloud::dialogflow_cx::TestCasesConnection::UpdateTestCase |
( |
google::cloud::dialogflow::cx::v3::UpdateTestCaseRequest const & |
request | ) |
|
|
virtual |