TestCasesServiceBase constructor
TestCasesServiceBase()
Implementation
TestCasesServiceBase() {
$addMethod($grpc.ServiceMethod<$11.ListTestCasesRequest,
$11.ListTestCasesResponse>(
'ListTestCases',
listTestCases_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.ListTestCasesRequest.fromBuffer(value),
($11.ListTestCasesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.BatchDeleteTestCasesRequest, $1.Empty>(
'BatchDeleteTestCases',
batchDeleteTestCases_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.BatchDeleteTestCasesRequest.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.GetTestCaseRequest, $11.TestCase>(
'GetTestCase',
getTestCase_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.GetTestCaseRequest.fromBuffer(value),
($11.TestCase value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.CreateTestCaseRequest, $11.TestCase>(
'CreateTestCase',
createTestCase_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.CreateTestCaseRequest.fromBuffer(value),
($11.TestCase value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.UpdateTestCaseRequest, $11.TestCase>(
'UpdateTestCase',
updateTestCase_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.UpdateTestCaseRequest.fromBuffer(value),
($11.TestCase value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.RunTestCaseRequest, $2.Operation>(
'RunTestCase',
runTestCase_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.RunTestCaseRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.BatchRunTestCasesRequest, $2.Operation>(
'BatchRunTestCases',
batchRunTestCases_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.BatchRunTestCasesRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.CalculateCoverageRequest,
$11.CalculateCoverageResponse>(
'CalculateCoverage',
calculateCoverage_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.CalculateCoverageRequest.fromBuffer(value),
($11.CalculateCoverageResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.ImportTestCasesRequest, $2.Operation>(
'ImportTestCases',
importTestCases_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.ImportTestCasesRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.ExportTestCasesRequest, $2.Operation>(
'ExportTestCases',
exportTestCases_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.ExportTestCasesRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.ListTestCaseResultsRequest,
$11.ListTestCaseResultsResponse>(
'ListTestCaseResults',
listTestCaseResults_Pre,
false,
false,
($core.List<$core.int> value) =>
$11.ListTestCaseResultsRequest.fromBuffer(value),
($11.ListTestCaseResultsResponse value) => value.writeToBuffer()));
}