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