Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: generated/googleapis/test/genomics/v1_test.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: generated/googleapis/test/genomics/v1_test.dart
diff --git a/generated/googleapis/test/genomics/v1_test.dart b/generated/googleapis/test/genomics/v1_test.dart
index 58e9ebee8e419ba59f09e7ce793f674c8304680c..1aa223d414aaab1eda4b5e2b1ee9be572abb5110 100644
--- a/generated/googleapis/test/genomics/v1_test.dart
+++ b/generated/googleapis/test/genomics/v1_test.dart
@@ -7,7 +7,7 @@ import "dart:convert" as convert;
import 'package:http/http.dart' as http;
import 'package:http/testing.dart' as http_testing;
-import 'package:unittest/unittest.dart' as unittest;
+import 'package:test/test.dart' as unittest;
import 'package:googleapis/genomics/v1.dart' as api;
@@ -46,35 +46,35 @@ class HttpServerMock extends http.BaseClient {
}
http.StreamedResponse stringResponse(
- core.int status, core.Map headers, core.String body) {
+ core.int status, core.Map<core.String, core.String> headers, core.String body) {
var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed2922() {
+buildUnnamed2392() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2922(core.List<core.Object> o) {
+checkUnnamed2392(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed2923() {
+buildUnnamed2393() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2922();
- o["y"] = buildUnnamed2922();
+ o["x"] = buildUnnamed2392();
+ o["y"] = buildUnnamed2392();
return o;
}
-checkUnnamed2923(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2393(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2922(o["x"]);
- checkUnnamed2922(o["y"]);
+ checkUnnamed2392(o["x"]);
+ checkUnnamed2392(o["y"]);
}
core.int buildCounterAnnotation = 0;
@@ -85,7 +85,7 @@ buildAnnotation() {
o.annotationSetId = "foo";
o.end = "foo";
o.id = "foo";
- o.info = buildUnnamed2923();
+ o.info = buildUnnamed2393();
o.name = "foo";
o.referenceId = "foo";
o.referenceName = "foo";
@@ -105,7 +105,7 @@ checkAnnotation(api.Annotation o) {
unittest.expect(o.annotationSetId, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2923(o.info);
+ checkUnnamed2393(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceId, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -118,30 +118,30 @@ checkAnnotation(api.Annotation o) {
buildCounterAnnotation--;
}
-buildUnnamed2924() {
+buildUnnamed2394() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2924(core.List<core.Object> o) {
+checkUnnamed2394(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed2925() {
+buildUnnamed2395() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2924();
- o["y"] = buildUnnamed2924();
+ o["x"] = buildUnnamed2394();
+ o["y"] = buildUnnamed2394();
return o;
}
-checkUnnamed2925(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2395(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2924(o["x"]);
- checkUnnamed2924(o["y"]);
+ checkUnnamed2394(o["x"]);
+ checkUnnamed2394(o["y"]);
}
core.int buildCounterAnnotationSet = 0;
@@ -151,7 +151,7 @@ buildAnnotationSet() {
if (buildCounterAnnotationSet < 3) {
o.datasetId = "foo";
o.id = "foo";
- o.info = buildUnnamed2925();
+ o.info = buildUnnamed2395();
o.name = "foo";
o.referenceSetId = "foo";
o.sourceUri = "foo";
@@ -166,7 +166,7 @@ checkAnnotationSet(api.AnnotationSet o) {
if (buildCounterAnnotationSet < 3) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2925(o.info);
+ checkUnnamed2395(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sourceUri, unittest.equals('foo'));
@@ -175,14 +175,14 @@ checkAnnotationSet(api.AnnotationSet o) {
buildCounterAnnotationSet--;
}
-buildUnnamed2926() {
+buildUnnamed2396() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2926(core.List<api.Annotation> o) {
+checkUnnamed2396(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -193,7 +193,7 @@ buildBatchCreateAnnotationsRequest() {
var o = new api.BatchCreateAnnotationsRequest();
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- o.annotations = buildUnnamed2926();
+ o.annotations = buildUnnamed2396();
o.requestId = "foo";
}
buildCounterBatchCreateAnnotationsRequest--;
@@ -203,20 +203,20 @@ buildBatchCreateAnnotationsRequest() {
checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
buildCounterBatchCreateAnnotationsRequest++;
if (buildCounterBatchCreateAnnotationsRequest < 3) {
- checkUnnamed2926(o.annotations);
+ checkUnnamed2396(o.annotations);
unittest.expect(o.requestId, unittest.equals('foo'));
}
buildCounterBatchCreateAnnotationsRequest--;
}
-buildUnnamed2927() {
+buildUnnamed2397() {
var o = new core.List<api.Entry>();
o.add(buildEntry());
o.add(buildEntry());
return o;
}
-checkUnnamed2927(core.List<api.Entry> o) {
+checkUnnamed2397(core.List<api.Entry> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntry(o[0]);
checkEntry(o[1]);
@@ -227,7 +227,7 @@ buildBatchCreateAnnotationsResponse() {
var o = new api.BatchCreateAnnotationsResponse();
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- o.entries = buildUnnamed2927();
+ o.entries = buildUnnamed2397();
}
buildCounterBatchCreateAnnotationsResponse--;
return o;
@@ -236,19 +236,19 @@ buildBatchCreateAnnotationsResponse() {
checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) {
buildCounterBatchCreateAnnotationsResponse++;
if (buildCounterBatchCreateAnnotationsResponse < 3) {
- checkUnnamed2927(o.entries);
+ checkUnnamed2397(o.entries);
}
buildCounterBatchCreateAnnotationsResponse--;
}
-buildUnnamed2928() {
+buildUnnamed2398() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2928(core.List<core.String> o) {
+checkUnnamed2398(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -259,7 +259,7 @@ buildBinding() {
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed2928();
+ o.members = buildUnnamed2398();
o.role = "foo";
}
buildCounterBinding--;
@@ -269,46 +269,46 @@ buildBinding() {
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed2928(o.members);
+ checkUnnamed2398(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
}
-buildUnnamed2929() {
+buildUnnamed2399() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2929(core.List<core.Object> o) {
+checkUnnamed2399(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed2930() {
+buildUnnamed2400() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2929();
- o["y"] = buildUnnamed2929();
+ o["x"] = buildUnnamed2399();
+ o["y"] = buildUnnamed2399();
return o;
}
-checkUnnamed2930(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2400(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2929(o["x"]);
- checkUnnamed2929(o["y"]);
+ checkUnnamed2399(o["x"]);
+ checkUnnamed2399(o["y"]);
}
-buildUnnamed2931() {
+buildUnnamed2401() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2931(core.List<core.String> o) {
+checkUnnamed2401(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -321,10 +321,10 @@ buildCallSet() {
if (buildCounterCallSet < 3) {
o.created = "foo";
o.id = "foo";
- o.info = buildUnnamed2930();
+ o.info = buildUnnamed2400();
o.name = "foo";
o.sampleId = "foo";
- o.variantSetIds = buildUnnamed2931();
+ o.variantSetIds = buildUnnamed2401();
}
buildCounterCallSet--;
return o;
@@ -335,10 +335,10 @@ checkCallSet(api.CallSet o) {
if (buildCounterCallSet < 3) {
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2930(o.info);
+ checkUnnamed2400(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
- checkUnnamed2931(o.variantSetIds);
+ checkUnnamed2401(o.variantSetIds);
}
buildCounterCallSet--;
}
@@ -383,27 +383,27 @@ checkCigarUnit(api.CigarUnit o) {
buildCounterCigarUnit--;
}
-buildUnnamed2932() {
+buildUnnamed2402() {
var o = new core.List<api.ExternalId>();
o.add(buildExternalId());
o.add(buildExternalId());
return o;
}
-checkUnnamed2932(core.List<api.ExternalId> o) {
+checkUnnamed2402(core.List<api.ExternalId> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalId(o[0]);
checkExternalId(o[1]);
}
-buildUnnamed2933() {
+buildUnnamed2403() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2933(core.List<core.String> o) {
+checkUnnamed2403(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -415,8 +415,8 @@ buildClinicalCondition() {
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
o.conceptId = "foo";
- o.externalIds = buildUnnamed2932();
- o.names = buildUnnamed2933();
+ o.externalIds = buildUnnamed2402();
+ o.names = buildUnnamed2403();
o.omimId = "foo";
}
buildCounterClinicalCondition--;
@@ -427,8 +427,8 @@ checkClinicalCondition(api.ClinicalCondition o) {
buildCounterClinicalCondition++;
if (buildCounterClinicalCondition < 3) {
unittest.expect(o.conceptId, unittest.equals('foo'));
- checkUnnamed2932(o.externalIds);
- checkUnnamed2933(o.names);
+ checkUnnamed2402(o.externalIds);
+ checkUnnamed2403(o.names);
unittest.expect(o.omimId, unittest.equals('foo'));
}
buildCounterClinicalCondition--;
@@ -455,14 +455,14 @@ checkCodingSequence(api.CodingSequence o) {
buildCounterCodingSequence--;
}
-buildUnnamed2934() {
+buildUnnamed2404() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2934(core.List<core.String> o) {
+checkUnnamed2404(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -473,7 +473,7 @@ buildComputeEngine() {
var o = new api.ComputeEngine();
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- o.diskNames = buildUnnamed2934();
+ o.diskNames = buildUnnamed2404();
o.instanceName = "foo";
o.machineType = "foo";
o.zone = "foo";
@@ -485,7 +485,7 @@ buildComputeEngine() {
checkComputeEngine(api.ComputeEngine o) {
buildCounterComputeEngine++;
if (buildCounterComputeEngine < 3) {
- checkUnnamed2934(o.diskNames);
+ checkUnnamed2404(o.diskNames);
unittest.expect(o.instanceName, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
unittest.expect(o.zone, unittest.equals('foo'));
@@ -625,14 +625,14 @@ checkExperiment(api.Experiment o) {
buildCounterExperiment--;
}
-buildUnnamed2935() {
+buildUnnamed2405() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2935(core.List<core.String> o) {
+checkUnnamed2405(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -645,7 +645,7 @@ buildExportReadGroupSetRequest() {
if (buildCounterExportReadGroupSetRequest < 3) {
o.exportUri = "foo";
o.projectId = "foo";
- o.referenceNames = buildUnnamed2935();
+ o.referenceNames = buildUnnamed2405();
}
buildCounterExportReadGroupSetRequest--;
return o;
@@ -656,19 +656,19 @@ checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) {
if (buildCounterExportReadGroupSetRequest < 3) {
unittest.expect(o.exportUri, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2935(o.referenceNames);
+ checkUnnamed2405(o.referenceNames);
}
buildCounterExportReadGroupSetRequest--;
}
-buildUnnamed2936() {
+buildUnnamed2406() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2936(core.List<core.String> o) {
+checkUnnamed2406(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -681,7 +681,7 @@ buildExportVariantSetRequest() {
if (buildCounterExportVariantSetRequest < 3) {
o.bigqueryDataset = "foo";
o.bigqueryTable = "foo";
- o.callSetIds = buildUnnamed2936();
+ o.callSetIds = buildUnnamed2406();
o.format = "foo";
o.projectId = "foo";
}
@@ -694,7 +694,7 @@ checkExportVariantSetRequest(api.ExportVariantSetRequest o) {
if (buildCounterExportVariantSetRequest < 3) {
unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
unittest.expect(o.bigqueryTable, unittest.equals('foo'));
- checkUnnamed2936(o.callSetIds);
+ checkUnnamed2406(o.callSetIds);
unittest.expect(o.format, unittest.equals('foo'));
unittest.expect(o.projectId, unittest.equals('foo'));
}
@@ -739,14 +739,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed2937() {
+buildUnnamed2407() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2937(core.List<core.String> o) {
+checkUnnamed2407(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -760,7 +760,7 @@ buildImportReadGroupSetsRequest() {
o.datasetId = "foo";
o.partitionStrategy = "foo";
o.referenceSetId = "foo";
- o.sourceUris = buildUnnamed2937();
+ o.sourceUris = buildUnnamed2407();
}
buildCounterImportReadGroupSetsRequest--;
return o;
@@ -772,19 +772,19 @@ checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.partitionStrategy, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2937(o.sourceUris);
+ checkUnnamed2407(o.sourceUris);
}
buildCounterImportReadGroupSetsRequest--;
}
-buildUnnamed2938() {
+buildUnnamed2408() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2938(core.List<core.String> o) {
+checkUnnamed2408(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -795,7 +795,7 @@ buildImportReadGroupSetsResponse() {
var o = new api.ImportReadGroupSetsResponse();
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- o.readGroupSetIds = buildUnnamed2938();
+ o.readGroupSetIds = buildUnnamed2408();
}
buildCounterImportReadGroupSetsResponse--;
return o;
@@ -804,32 +804,32 @@ buildImportReadGroupSetsResponse() {
checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
buildCounterImportReadGroupSetsResponse++;
if (buildCounterImportReadGroupSetsResponse < 3) {
- checkUnnamed2938(o.readGroupSetIds);
+ checkUnnamed2408(o.readGroupSetIds);
}
buildCounterImportReadGroupSetsResponse--;
}
-buildUnnamed2939() {
+buildUnnamed2409() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2939(core.Map<core.String, core.String> o) {
+checkUnnamed2409(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2940() {
+buildUnnamed2410() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2940(core.List<core.String> o) {
+checkUnnamed2410(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -841,9 +841,9 @@ buildImportVariantsRequest() {
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
o.format = "foo";
- o.infoMergeConfig = buildUnnamed2939();
+ o.infoMergeConfig = buildUnnamed2409();
o.normalizeReferenceNames = true;
- o.sourceUris = buildUnnamed2940();
+ o.sourceUris = buildUnnamed2410();
o.variantSetId = "foo";
}
buildCounterImportVariantsRequest--;
@@ -854,22 +854,22 @@ checkImportVariantsRequest(api.ImportVariantsRequest o) {
buildCounterImportVariantsRequest++;
if (buildCounterImportVariantsRequest < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed2939(o.infoMergeConfig);
+ checkUnnamed2409(o.infoMergeConfig);
unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
- checkUnnamed2940(o.sourceUris);
+ checkUnnamed2410(o.sourceUris);
unittest.expect(o.variantSetId, unittest.equals('foo'));
}
buildCounterImportVariantsRequest--;
}
-buildUnnamed2941() {
+buildUnnamed2411() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2941(core.List<core.String> o) {
+checkUnnamed2411(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -880,7 +880,7 @@ buildImportVariantsResponse() {
var o = new api.ImportVariantsResponse();
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- o.callSetIds = buildUnnamed2941();
+ o.callSetIds = buildUnnamed2411();
}
buildCounterImportVariantsResponse--;
return o;
@@ -889,19 +889,19 @@ buildImportVariantsResponse() {
checkImportVariantsResponse(api.ImportVariantsResponse o) {
buildCounterImportVariantsResponse++;
if (buildCounterImportVariantsResponse < 3) {
- checkUnnamed2941(o.callSetIds);
+ checkUnnamed2411(o.callSetIds);
}
buildCounterImportVariantsResponse--;
}
-buildUnnamed2942() {
+buildUnnamed2412() {
var o = new core.List<api.CigarUnit>();
o.add(buildCigarUnit());
o.add(buildCigarUnit());
return o;
}
-checkUnnamed2942(core.List<api.CigarUnit> o) {
+checkUnnamed2412(core.List<api.CigarUnit> o) {
unittest.expect(o, unittest.hasLength(2));
checkCigarUnit(o[0]);
checkCigarUnit(o[1]);
@@ -912,7 +912,7 @@ buildLinearAlignment() {
var o = new api.LinearAlignment();
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- o.cigar = buildUnnamed2942();
+ o.cigar = buildUnnamed2412();
o.mappingQuality = 42;
o.position = buildPosition();
}
@@ -923,7 +923,7 @@ buildLinearAlignment() {
checkLinearAlignment(api.LinearAlignment o) {
buildCounterLinearAlignment++;
if (buildCounterLinearAlignment < 3) {
- checkUnnamed2942(o.cigar);
+ checkUnnamed2412(o.cigar);
unittest.expect(o.mappingQuality, unittest.equals(42));
checkPosition(o.position);
}
@@ -953,14 +953,14 @@ checkListBasesResponse(api.ListBasesResponse o) {
buildCounterListBasesResponse--;
}
-buildUnnamed2943() {
+buildUnnamed2413() {
var o = new core.List<api.CoverageBucket>();
o.add(buildCoverageBucket());
o.add(buildCoverageBucket());
return o;
}
-checkUnnamed2943(core.List<api.CoverageBucket> o) {
+checkUnnamed2413(core.List<api.CoverageBucket> o) {
unittest.expect(o, unittest.hasLength(2));
checkCoverageBucket(o[0]);
checkCoverageBucket(o[1]);
@@ -972,7 +972,7 @@ buildListCoverageBucketsResponse() {
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
o.bucketWidth = "foo";
- o.coverageBuckets = buildUnnamed2943();
+ o.coverageBuckets = buildUnnamed2413();
o.nextPageToken = "foo";
}
buildCounterListCoverageBucketsResponse--;
@@ -983,20 +983,20 @@ checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) {
buildCounterListCoverageBucketsResponse++;
if (buildCounterListCoverageBucketsResponse < 3) {
unittest.expect(o.bucketWidth, unittest.equals('foo'));
- checkUnnamed2943(o.coverageBuckets);
+ checkUnnamed2413(o.coverageBuckets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListCoverageBucketsResponse--;
}
-buildUnnamed2944() {
+buildUnnamed2414() {
var o = new core.List<api.Dataset>();
o.add(buildDataset());
o.add(buildDataset());
return o;
}
-checkUnnamed2944(core.List<api.Dataset> o) {
+checkUnnamed2414(core.List<api.Dataset> o) {
unittest.expect(o, unittest.hasLength(2));
checkDataset(o[0]);
checkDataset(o[1]);
@@ -1007,7 +1007,7 @@ buildListDatasetsResponse() {
var o = new api.ListDatasetsResponse();
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- o.datasets = buildUnnamed2944();
+ o.datasets = buildUnnamed2414();
o.nextPageToken = "foo";
}
buildCounterListDatasetsResponse--;
@@ -1017,20 +1017,20 @@ buildListDatasetsResponse() {
checkListDatasetsResponse(api.ListDatasetsResponse o) {
buildCounterListDatasetsResponse++;
if (buildCounterListDatasetsResponse < 3) {
- checkUnnamed2944(o.datasets);
+ checkUnnamed2414(o.datasets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDatasetsResponse--;
}
-buildUnnamed2945() {
+buildUnnamed2415() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed2945(core.List<api.Operation> o) {
+checkUnnamed2415(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1042,7 +1042,7 @@ buildListOperationsResponse() {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed2945();
+ o.operations = buildUnnamed2415();
}
buildCounterListOperationsResponse--;
return o;
@@ -1052,32 +1052,32 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2945(o.operations);
+ checkUnnamed2415(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed2946() {
+buildUnnamed2416() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2946(core.Map<core.String, core.String> o) {
+checkUnnamed2416(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2947() {
+buildUnnamed2417() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2947(core.List<api.Variant> o) {
+checkUnnamed2417(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -1088,9 +1088,9 @@ buildMergeVariantsRequest() {
var o = new api.MergeVariantsRequest();
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- o.infoMergeConfig = buildUnnamed2946();
+ o.infoMergeConfig = buildUnnamed2416();
o.variantSetId = "foo";
- o.variants = buildUnnamed2947();
+ o.variants = buildUnnamed2417();
}
buildCounterMergeVariantsRequest--;
return o;
@@ -1099,34 +1099,34 @@ buildMergeVariantsRequest() {
checkMergeVariantsRequest(api.MergeVariantsRequest o) {
buildCounterMergeVariantsRequest++;
if (buildCounterMergeVariantsRequest < 3) {
- checkUnnamed2946(o.infoMergeConfig);
+ checkUnnamed2416(o.infoMergeConfig);
unittest.expect(o.variantSetId, unittest.equals('foo'));
- checkUnnamed2947(o.variants);
+ checkUnnamed2417(o.variants);
}
buildCounterMergeVariantsRequest--;
}
-buildUnnamed2948() {
+buildUnnamed2418() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2948(core.Map<core.String, core.Object> o) {
+checkUnnamed2418(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed2949() {
+buildUnnamed2419() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2949(core.Map<core.String, core.Object> o) {
+checkUnnamed2419(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
@@ -1139,9 +1139,9 @@ buildOperation() {
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed2948();
+ o.metadata = buildUnnamed2418();
o.name = "foo";
- o.response = buildUnnamed2949();
+ o.response = buildUnnamed2419();
}
buildCounterOperation--;
return o;
@@ -1152,9 +1152,9 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed2948(o.metadata);
+ checkUnnamed2418(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2949(o.response);
+ checkUnnamed2419(o.response);
}
buildCounterOperation--;
}
@@ -1182,53 +1182,53 @@ checkOperationEvent(api.OperationEvent o) {
buildCounterOperationEvent--;
}
-buildUnnamed2950() {
+buildUnnamed2420() {
var o = new core.List<api.OperationEvent>();
o.add(buildOperationEvent());
o.add(buildOperationEvent());
return o;
}
-checkUnnamed2950(core.List<api.OperationEvent> o) {
+checkUnnamed2420(core.List<api.OperationEvent> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperationEvent(o[0]);
checkOperationEvent(o[1]);
}
-buildUnnamed2951() {
+buildUnnamed2421() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed2951(core.Map<core.String, core.String> o) {
+checkUnnamed2421(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed2952() {
+buildUnnamed2422() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2952(core.Map<core.String, core.Object> o) {
+checkUnnamed2422(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
}
-buildUnnamed2953() {
+buildUnnamed2423() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2953(core.Map<core.String, core.Object> o) {
+checkUnnamed2423(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
@@ -1242,11 +1242,11 @@ buildOperationMetadata() {
o.clientId = "foo";
o.createTime = "foo";
o.endTime = "foo";
- o.events = buildUnnamed2950();
- o.labels = buildUnnamed2951();
+ o.events = buildUnnamed2420();
+ o.labels = buildUnnamed2421();
o.projectId = "foo";
- o.request = buildUnnamed2952();
- o.runtimeMetadata = buildUnnamed2953();
+ o.request = buildUnnamed2422();
+ o.runtimeMetadata = buildUnnamed2423();
o.startTime = "foo";
}
buildCounterOperationMetadata--;
@@ -1259,24 +1259,24 @@ checkOperationMetadata(api.OperationMetadata o) {
unittest.expect(o.clientId, unittest.equals('foo'));
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
- checkUnnamed2950(o.events);
- checkUnnamed2951(o.labels);
+ checkUnnamed2420(o.events);
+ checkUnnamed2421(o.labels);
unittest.expect(o.projectId, unittest.equals('foo'));
- checkUnnamed2952(o.request);
- checkUnnamed2953(o.runtimeMetadata);
+ checkUnnamed2422(o.request);
+ checkUnnamed2423(o.runtimeMetadata);
unittest.expect(o.startTime, unittest.equals('foo'));
}
buildCounterOperationMetadata--;
}
-buildUnnamed2954() {
+buildUnnamed2424() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed2954(core.List<api.Binding> o) {
+checkUnnamed2424(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -1287,7 +1287,7 @@ buildPolicy() {
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed2954();
+ o.bindings = buildUnnamed2424();
o.etag = "foo";
o.version = 42;
}
@@ -1298,7 +1298,7 @@ buildPolicy() {
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed2954(o.bindings);
+ checkUnnamed2424(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1378,43 +1378,43 @@ checkRange(api.Range o) {
buildCounterRange--;
}
-buildUnnamed2955() {
+buildUnnamed2425() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2955(core.List<core.int> o) {
+checkUnnamed2425(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed2956() {
+buildUnnamed2426() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2956(core.List<core.Object> o) {
+checkUnnamed2426(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string"], unittest.equals('foo'));
var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string"], unittest.equals('foo'));
}
-buildUnnamed2957() {
+buildUnnamed2427() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2956();
- o["y"] = buildUnnamed2956();
+ o["x"] = buildUnnamed2426();
+ o["y"] = buildUnnamed2426();
return o;
}
-checkUnnamed2957(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2427(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2956(o["x"]);
- checkUnnamed2956(o["y"]);
+ checkUnnamed2426(o["x"]);
+ checkUnnamed2426(o["y"]);
}
core.int buildCounterRead = 0;
@@ -1422,7 +1422,7 @@ buildRead() {
var o = new api.Read();
buildCounterRead++;
if (buildCounterRead < 3) {
- o.alignedQuality = buildUnnamed2955();
+ o.alignedQuality = buildUnnamed2425();
o.alignedSequence = "foo";
o.alignment = buildLinearAlignment();
o.duplicateFragment = true;
@@ -1430,7 +1430,7 @@ buildRead() {
o.fragmentLength = 42;
o.fragmentName = "foo";
o.id = "foo";
- o.info = buildUnnamed2957();
+ o.info = buildUnnamed2427();
o.nextMatePosition = buildPosition();
o.numberReads = 42;
o.properPlacement = true;
@@ -1447,7 +1447,7 @@ buildRead() {
checkRead(api.Read o) {
buildCounterRead++;
if (buildCounterRead < 3) {
- checkUnnamed2955(o.alignedQuality);
+ checkUnnamed2425(o.alignedQuality);
unittest.expect(o.alignedSequence, unittest.equals('foo'));
checkLinearAlignment(o.alignment);
unittest.expect(o.duplicateFragment, unittest.isTrue);
@@ -1455,7 +1455,7 @@ checkRead(api.Read o) {
unittest.expect(o.fragmentLength, unittest.equals(42));
unittest.expect(o.fragmentName, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2957(o.info);
+ checkUnnamed2427(o.info);
checkPosition(o.nextMatePosition);
unittest.expect(o.numberReads, unittest.equals(42));
unittest.expect(o.properPlacement, unittest.isTrue);
@@ -1468,40 +1468,40 @@ checkRead(api.Read o) {
buildCounterRead--;
}
-buildUnnamed2958() {
+buildUnnamed2428() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2958(core.List<core.Object> o) {
+checkUnnamed2428(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
}
-buildUnnamed2959() {
+buildUnnamed2429() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2958();
- o["y"] = buildUnnamed2958();
+ o["x"] = buildUnnamed2428();
+ o["y"] = buildUnnamed2428();
return o;
}
-checkUnnamed2959(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2429(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2958(o["x"]);
- checkUnnamed2958(o["y"]);
+ checkUnnamed2428(o["x"]);
+ checkUnnamed2428(o["y"]);
}
-buildUnnamed2960() {
+buildUnnamed2430() {
var o = new core.List<api.Program>();
o.add(buildProgram());
o.add(buildProgram());
return o;
}
-checkUnnamed2960(core.List<api.Program> o) {
+checkUnnamed2430(core.List<api.Program> o) {
unittest.expect(o, unittest.hasLength(2));
checkProgram(o[0]);
checkProgram(o[1]);
@@ -1516,10 +1516,10 @@ buildReadGroup() {
o.description = "foo";
o.experiment = buildExperiment();
o.id = "foo";
- o.info = buildUnnamed2959();
+ o.info = buildUnnamed2429();
o.name = "foo";
o.predictedInsertSize = 42;
- o.programs = buildUnnamed2960();
+ o.programs = buildUnnamed2430();
o.referenceSetId = "foo";
o.sampleId = "foo";
}
@@ -1534,50 +1534,50 @@ checkReadGroup(api.ReadGroup o) {
unittest.expect(o.description, unittest.equals('foo'));
checkExperiment(o.experiment);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2959(o.info);
+ checkUnnamed2429(o.info);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.predictedInsertSize, unittest.equals(42));
- checkUnnamed2960(o.programs);
+ checkUnnamed2430(o.programs);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
unittest.expect(o.sampleId, unittest.equals('foo'));
}
buildCounterReadGroup--;
}
-buildUnnamed2961() {
+buildUnnamed2431() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2961(core.List<core.Object> o) {
+checkUnnamed2431(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
}
-buildUnnamed2962() {
+buildUnnamed2432() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2961();
- o["y"] = buildUnnamed2961();
+ o["x"] = buildUnnamed2431();
+ o["y"] = buildUnnamed2431();
return o;
}
-checkUnnamed2962(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2432(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2961(o["x"]);
- checkUnnamed2961(o["y"]);
+ checkUnnamed2431(o["x"]);
+ checkUnnamed2431(o["y"]);
}
-buildUnnamed2963() {
+buildUnnamed2433() {
var o = new core.List<api.ReadGroup>();
o.add(buildReadGroup());
o.add(buildReadGroup());
return o;
}
-checkUnnamed2963(core.List<api.ReadGroup> o) {
+checkUnnamed2433(core.List<api.ReadGroup> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroup(o[0]);
checkReadGroup(o[1]);
@@ -1591,9 +1591,9 @@ buildReadGroupSet() {
o.datasetId = "foo";
o.filename = "foo";
o.id = "foo";
- o.info = buildUnnamed2962();
+ o.info = buildUnnamed2432();
o.name = "foo";
- o.readGroups = buildUnnamed2963();
+ o.readGroups = buildUnnamed2433();
o.referenceSetId = "foo";
}
buildCounterReadGroupSet--;
@@ -1606,22 +1606,22 @@ checkReadGroupSet(api.ReadGroupSet o) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.filename, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2962(o.info);
+ checkUnnamed2432(o.info);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2963(o.readGroups);
+ checkUnnamed2433(o.readGroups);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterReadGroupSet--;
}
-buildUnnamed2964() {
+buildUnnamed2434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2964(core.List<core.String> o) {
+checkUnnamed2434(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1637,7 +1637,7 @@ buildReference() {
o.md5checksum = "foo";
o.name = "foo";
o.ncbiTaxonId = 42;
- o.sourceAccessions = buildUnnamed2964();
+ o.sourceAccessions = buildUnnamed2434();
o.sourceUri = "foo";
}
buildCounterReference--;
@@ -1652,7 +1652,7 @@ checkReference(api.Reference o) {
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2964(o.sourceAccessions);
+ checkUnnamed2434(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReference--;
@@ -1679,27 +1679,27 @@ checkReferenceBound(api.ReferenceBound o) {
buildCounterReferenceBound--;
}
-buildUnnamed2965() {
+buildUnnamed2435() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2965(core.List<core.String> o) {
+checkUnnamed2435(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2966() {
+buildUnnamed2436() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2966(core.List<core.String> o) {
+checkUnnamed2436(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1715,8 +1715,8 @@ buildReferenceSet() {
o.id = "foo";
o.md5checksum = "foo";
o.ncbiTaxonId = 42;
- o.referenceIds = buildUnnamed2965();
- o.sourceAccessions = buildUnnamed2966();
+ o.referenceIds = buildUnnamed2435();
+ o.sourceAccessions = buildUnnamed2436();
o.sourceUri = "foo";
}
buildCounterReferenceSet--;
@@ -1731,8 +1731,8 @@ checkReferenceSet(api.ReferenceSet o) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.md5checksum, unittest.equals('foo'));
unittest.expect(o.ncbiTaxonId, unittest.equals(42));
- checkUnnamed2965(o.referenceIds);
- checkUnnamed2966(o.sourceAccessions);
+ checkUnnamed2435(o.referenceIds);
+ checkUnnamed2436(o.sourceAccessions);
unittest.expect(o.sourceUri, unittest.equals('foo'));
}
buildCounterReferenceSet--;
@@ -1757,27 +1757,27 @@ checkRuntimeMetadata(api.RuntimeMetadata o) {
buildCounterRuntimeMetadata--;
}
-buildUnnamed2967() {
+buildUnnamed2437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2967(core.List<core.String> o) {
+checkUnnamed2437(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2968() {
+buildUnnamed2438() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2968(core.List<core.String> o) {
+checkUnnamed2438(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1788,12 +1788,12 @@ buildSearchAnnotationSetsRequest() {
var o = new api.SearchAnnotationSetsRequest();
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- o.datasetIds = buildUnnamed2967();
+ o.datasetIds = buildUnnamed2437();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
- o.types = buildUnnamed2968();
+ o.types = buildUnnamed2438();
}
buildCounterSearchAnnotationSetsRequest--;
return o;
@@ -1802,24 +1802,24 @@ buildSearchAnnotationSetsRequest() {
checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
buildCounterSearchAnnotationSetsRequest++;
if (buildCounterSearchAnnotationSetsRequest < 3) {
- checkUnnamed2967(o.datasetIds);
+ checkUnnamed2437(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
- checkUnnamed2968(o.types);
+ checkUnnamed2438(o.types);
}
buildCounterSearchAnnotationSetsRequest--;
}
-buildUnnamed2969() {
+buildUnnamed2439() {
var o = new core.List<api.AnnotationSet>();
o.add(buildAnnotationSet());
o.add(buildAnnotationSet());
return o;
}
-checkUnnamed2969(core.List<api.AnnotationSet> o) {
+checkUnnamed2439(core.List<api.AnnotationSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotationSet(o[0]);
checkAnnotationSet(o[1]);
@@ -1830,7 +1830,7 @@ buildSearchAnnotationSetsResponse() {
var o = new api.SearchAnnotationSetsResponse();
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- o.annotationSets = buildUnnamed2969();
+ o.annotationSets = buildUnnamed2439();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationSetsResponse--;
@@ -1840,20 +1840,20 @@ buildSearchAnnotationSetsResponse() {
checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
buildCounterSearchAnnotationSetsResponse++;
if (buildCounterSearchAnnotationSetsResponse < 3) {
- checkUnnamed2969(o.annotationSets);
+ checkUnnamed2439(o.annotationSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationSetsResponse--;
}
-buildUnnamed2970() {
+buildUnnamed2440() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2970(core.List<core.String> o) {
+checkUnnamed2440(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1864,7 +1864,7 @@ buildSearchAnnotationsRequest() {
var o = new api.SearchAnnotationsRequest();
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- o.annotationSetIds = buildUnnamed2970();
+ o.annotationSetIds = buildUnnamed2440();
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -1879,7 +1879,7 @@ buildSearchAnnotationsRequest() {
checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
buildCounterSearchAnnotationsRequest++;
if (buildCounterSearchAnnotationsRequest < 3) {
- checkUnnamed2970(o.annotationSetIds);
+ checkUnnamed2440(o.annotationSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -1890,14 +1890,14 @@ checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
buildCounterSearchAnnotationsRequest--;
}
-buildUnnamed2971() {
+buildUnnamed2441() {
var o = new core.List<api.Annotation>();
o.add(buildAnnotation());
o.add(buildAnnotation());
return o;
}
-checkUnnamed2971(core.List<api.Annotation> o) {
+checkUnnamed2441(core.List<api.Annotation> o) {
unittest.expect(o, unittest.hasLength(2));
checkAnnotation(o[0]);
checkAnnotation(o[1]);
@@ -1908,7 +1908,7 @@ buildSearchAnnotationsResponse() {
var o = new api.SearchAnnotationsResponse();
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- o.annotations = buildUnnamed2971();
+ o.annotations = buildUnnamed2441();
o.nextPageToken = "foo";
}
buildCounterSearchAnnotationsResponse--;
@@ -1918,20 +1918,20 @@ buildSearchAnnotationsResponse() {
checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
buildCounterSearchAnnotationsResponse++;
if (buildCounterSearchAnnotationsResponse < 3) {
- checkUnnamed2971(o.annotations);
+ checkUnnamed2441(o.annotations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchAnnotationsResponse--;
}
-buildUnnamed2972() {
+buildUnnamed2442() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2972(core.List<core.String> o) {
+checkUnnamed2442(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -1945,7 +1945,7 @@ buildSearchCallSetsRequest() {
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.variantSetIds = buildUnnamed2972();
+ o.variantSetIds = buildUnnamed2442();
}
buildCounterSearchCallSetsRequest--;
return o;
@@ -1957,19 +1957,19 @@ checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2972(o.variantSetIds);
+ checkUnnamed2442(o.variantSetIds);
}
buildCounterSearchCallSetsRequest--;
}
-buildUnnamed2973() {
+buildUnnamed2443() {
var o = new core.List<api.CallSet>();
o.add(buildCallSet());
o.add(buildCallSet());
return o;
}
-checkUnnamed2973(core.List<api.CallSet> o) {
+checkUnnamed2443(core.List<api.CallSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkCallSet(o[0]);
checkCallSet(o[1]);
@@ -1980,7 +1980,7 @@ buildSearchCallSetsResponse() {
var o = new api.SearchCallSetsResponse();
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- o.callSets = buildUnnamed2973();
+ o.callSets = buildUnnamed2443();
o.nextPageToken = "foo";
}
buildCounterSearchCallSetsResponse--;
@@ -1990,20 +1990,20 @@ buildSearchCallSetsResponse() {
checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
buildCounterSearchCallSetsResponse++;
if (buildCounterSearchCallSetsResponse < 3) {
- checkUnnamed2973(o.callSets);
+ checkUnnamed2443(o.callSets);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchCallSetsResponse--;
}
-buildUnnamed2974() {
+buildUnnamed2444() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2974(core.List<core.String> o) {
+checkUnnamed2444(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2014,7 +2014,7 @@ buildSearchReadGroupSetsRequest() {
var o = new api.SearchReadGroupSetsRequest();
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- o.datasetIds = buildUnnamed2974();
+ o.datasetIds = buildUnnamed2444();
o.name = "foo";
o.pageSize = 42;
o.pageToken = "foo";
@@ -2026,7 +2026,7 @@ buildSearchReadGroupSetsRequest() {
checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
buildCounterSearchReadGroupSetsRequest++;
if (buildCounterSearchReadGroupSetsRequest < 3) {
- checkUnnamed2974(o.datasetIds);
+ checkUnnamed2444(o.datasetIds);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
@@ -2034,14 +2034,14 @@ checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
buildCounterSearchReadGroupSetsRequest--;
}
-buildUnnamed2975() {
+buildUnnamed2445() {
var o = new core.List<api.ReadGroupSet>();
o.add(buildReadGroupSet());
o.add(buildReadGroupSet());
return o;
}
-checkUnnamed2975(core.List<api.ReadGroupSet> o) {
+checkUnnamed2445(core.List<api.ReadGroupSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReadGroupSet(o[0]);
checkReadGroupSet(o[1]);
@@ -2053,7 +2053,7 @@ buildSearchReadGroupSetsResponse() {
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
o.nextPageToken = "foo";
- o.readGroupSets = buildUnnamed2975();
+ o.readGroupSets = buildUnnamed2445();
}
buildCounterSearchReadGroupSetsResponse--;
return o;
@@ -2063,32 +2063,32 @@ checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
buildCounterSearchReadGroupSetsResponse++;
if (buildCounterSearchReadGroupSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2975(o.readGroupSets);
+ checkUnnamed2445(o.readGroupSets);
}
buildCounterSearchReadGroupSetsResponse--;
}
-buildUnnamed2976() {
+buildUnnamed2446() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2976(core.List<core.String> o) {
+checkUnnamed2446(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2977() {
+buildUnnamed2447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2977(core.List<core.String> o) {
+checkUnnamed2447(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2102,8 +2102,8 @@ buildSearchReadsRequest() {
o.end = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.readGroupIds = buildUnnamed2976();
- o.readGroupSetIds = buildUnnamed2977();
+ o.readGroupIds = buildUnnamed2446();
+ o.readGroupSetIds = buildUnnamed2447();
o.referenceName = "foo";
o.start = "foo";
}
@@ -2117,22 +2117,22 @@ checkSearchReadsRequest(api.SearchReadsRequest o) {
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed2976(o.readGroupIds);
- checkUnnamed2977(o.readGroupSetIds);
+ checkUnnamed2446(o.readGroupIds);
+ checkUnnamed2447(o.readGroupSetIds);
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
}
buildCounterSearchReadsRequest--;
}
-buildUnnamed2978() {
+buildUnnamed2448() {
var o = new core.List<api.Read>();
o.add(buildRead());
o.add(buildRead());
return o;
}
-checkUnnamed2978(core.List<api.Read> o) {
+checkUnnamed2448(core.List<api.Read> o) {
unittest.expect(o, unittest.hasLength(2));
checkRead(o[0]);
checkRead(o[1]);
@@ -2143,7 +2143,7 @@ buildSearchReadsResponse() {
var o = new api.SearchReadsResponse();
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- o.alignments = buildUnnamed2978();
+ o.alignments = buildUnnamed2448();
o.nextPageToken = "foo";
}
buildCounterSearchReadsResponse--;
@@ -2153,33 +2153,33 @@ buildSearchReadsResponse() {
checkSearchReadsResponse(api.SearchReadsResponse o) {
buildCounterSearchReadsResponse++;
if (buildCounterSearchReadsResponse < 3) {
- checkUnnamed2978(o.alignments);
+ checkUnnamed2448(o.alignments);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchReadsResponse--;
}
-buildUnnamed2979() {
+buildUnnamed2449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2979(core.List<core.String> o) {
+checkUnnamed2449(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2980() {
+buildUnnamed2450() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2980(core.List<core.String> o) {
+checkUnnamed2450(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2190,9 +2190,9 @@ buildSearchReferenceSetsRequest() {
var o = new api.SearchReferenceSetsRequest();
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- o.accessions = buildUnnamed2979();
+ o.accessions = buildUnnamed2449();
o.assemblyId = "foo";
- o.md5checksums = buildUnnamed2980();
+ o.md5checksums = buildUnnamed2450();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2203,23 +2203,23 @@ buildSearchReferenceSetsRequest() {
checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
buildCounterSearchReferenceSetsRequest++;
if (buildCounterSearchReferenceSetsRequest < 3) {
- checkUnnamed2979(o.accessions);
+ checkUnnamed2449(o.accessions);
unittest.expect(o.assemblyId, unittest.equals('foo'));
- checkUnnamed2980(o.md5checksums);
+ checkUnnamed2450(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchReferenceSetsRequest--;
}
-buildUnnamed2981() {
+buildUnnamed2451() {
var o = new core.List<api.ReferenceSet>();
o.add(buildReferenceSet());
o.add(buildReferenceSet());
return o;
}
-checkUnnamed2981(core.List<api.ReferenceSet> o) {
+checkUnnamed2451(core.List<api.ReferenceSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceSet(o[0]);
checkReferenceSet(o[1]);
@@ -2231,7 +2231,7 @@ buildSearchReferenceSetsResponse() {
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
o.nextPageToken = "foo";
- o.referenceSets = buildUnnamed2981();
+ o.referenceSets = buildUnnamed2451();
}
buildCounterSearchReferenceSetsResponse--;
return o;
@@ -2241,32 +2241,32 @@ checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
buildCounterSearchReferenceSetsResponse++;
if (buildCounterSearchReferenceSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2981(o.referenceSets);
+ checkUnnamed2451(o.referenceSets);
}
buildCounterSearchReferenceSetsResponse--;
}
-buildUnnamed2982() {
+buildUnnamed2452() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2982(core.List<core.String> o) {
+checkUnnamed2452(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2983() {
+buildUnnamed2453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2983(core.List<core.String> o) {
+checkUnnamed2453(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2277,8 +2277,8 @@ buildSearchReferencesRequest() {
var o = new api.SearchReferencesRequest();
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- o.accessions = buildUnnamed2982();
- o.md5checksums = buildUnnamed2983();
+ o.accessions = buildUnnamed2452();
+ o.md5checksums = buildUnnamed2453();
o.pageSize = 42;
o.pageToken = "foo";
o.referenceSetId = "foo";
@@ -2290,8 +2290,8 @@ buildSearchReferencesRequest() {
checkSearchReferencesRequest(api.SearchReferencesRequest o) {
buildCounterSearchReferencesRequest++;
if (buildCounterSearchReferencesRequest < 3) {
- checkUnnamed2982(o.accessions);
- checkUnnamed2983(o.md5checksums);
+ checkUnnamed2452(o.accessions);
+ checkUnnamed2453(o.md5checksums);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.referenceSetId, unittest.equals('foo'));
@@ -2299,14 +2299,14 @@ checkSearchReferencesRequest(api.SearchReferencesRequest o) {
buildCounterSearchReferencesRequest--;
}
-buildUnnamed2984() {
+buildUnnamed2454() {
var o = new core.List<api.Reference>();
o.add(buildReference());
o.add(buildReference());
return o;
}
-checkUnnamed2984(core.List<api.Reference> o) {
+checkUnnamed2454(core.List<api.Reference> o) {
unittest.expect(o, unittest.hasLength(2));
checkReference(o[0]);
checkReference(o[1]);
@@ -2318,7 +2318,7 @@ buildSearchReferencesResponse() {
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
o.nextPageToken = "foo";
- o.references = buildUnnamed2984();
+ o.references = buildUnnamed2454();
}
buildCounterSearchReferencesResponse--;
return o;
@@ -2328,19 +2328,19 @@ checkSearchReferencesResponse(api.SearchReferencesResponse o) {
buildCounterSearchReferencesResponse++;
if (buildCounterSearchReferencesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2984(o.references);
+ checkUnnamed2454(o.references);
}
buildCounterSearchReferencesResponse--;
}
-buildUnnamed2985() {
+buildUnnamed2455() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2985(core.List<core.String> o) {
+checkUnnamed2455(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2351,7 +2351,7 @@ buildSearchVariantSetsRequest() {
var o = new api.SearchVariantSetsRequest();
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- o.datasetIds = buildUnnamed2985();
+ o.datasetIds = buildUnnamed2455();
o.pageSize = 42;
o.pageToken = "foo";
}
@@ -2362,21 +2362,21 @@ buildSearchVariantSetsRequest() {
checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
buildCounterSearchVariantSetsRequest++;
if (buildCounterSearchVariantSetsRequest < 3) {
- checkUnnamed2985(o.datasetIds);
+ checkUnnamed2455(o.datasetIds);
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
}
buildCounterSearchVariantSetsRequest--;
}
-buildUnnamed2986() {
+buildUnnamed2456() {
var o = new core.List<api.VariantSet>();
o.add(buildVariantSet());
o.add(buildVariantSet());
return o;
}
-checkUnnamed2986(core.List<api.VariantSet> o) {
+checkUnnamed2456(core.List<api.VariantSet> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSet(o[0]);
checkVariantSet(o[1]);
@@ -2388,7 +2388,7 @@ buildSearchVariantSetsResponse() {
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
o.nextPageToken = "foo";
- o.variantSets = buildUnnamed2986();
+ o.variantSets = buildUnnamed2456();
}
buildCounterSearchVariantSetsResponse--;
return o;
@@ -2398,32 +2398,32 @@ checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
buildCounterSearchVariantSetsResponse++;
if (buildCounterSearchVariantSetsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2986(o.variantSets);
+ checkUnnamed2456(o.variantSets);
}
buildCounterSearchVariantSetsResponse--;
}
-buildUnnamed2987() {
+buildUnnamed2457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2987(core.List<core.String> o) {
+checkUnnamed2457(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2988() {
+buildUnnamed2458() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2988(core.List<core.String> o) {
+checkUnnamed2458(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2434,7 +2434,7 @@ buildSearchVariantsRequest() {
var o = new api.SearchVariantsRequest();
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- o.callSetIds = buildUnnamed2987();
+ o.callSetIds = buildUnnamed2457();
o.end = "foo";
o.maxCalls = 42;
o.pageSize = 42;
@@ -2442,7 +2442,7 @@ buildSearchVariantsRequest() {
o.referenceName = "foo";
o.start = "foo";
o.variantName = "foo";
- o.variantSetIds = buildUnnamed2988();
+ o.variantSetIds = buildUnnamed2458();
}
buildCounterSearchVariantsRequest--;
return o;
@@ -2451,7 +2451,7 @@ buildSearchVariantsRequest() {
checkSearchVariantsRequest(api.SearchVariantsRequest o) {
buildCounterSearchVariantsRequest++;
if (buildCounterSearchVariantsRequest < 3) {
- checkUnnamed2987(o.callSetIds);
+ checkUnnamed2457(o.callSetIds);
unittest.expect(o.end, unittest.equals('foo'));
unittest.expect(o.maxCalls, unittest.equals(42));
unittest.expect(o.pageSize, unittest.equals(42));
@@ -2459,19 +2459,19 @@ checkSearchVariantsRequest(api.SearchVariantsRequest o) {
unittest.expect(o.referenceName, unittest.equals('foo'));
unittest.expect(o.start, unittest.equals('foo'));
unittest.expect(o.variantName, unittest.equals('foo'));
- checkUnnamed2988(o.variantSetIds);
+ checkUnnamed2458(o.variantSetIds);
}
buildCounterSearchVariantsRequest--;
}
-buildUnnamed2989() {
+buildUnnamed2459() {
var o = new core.List<api.Variant>();
o.add(buildVariant());
o.add(buildVariant());
return o;
}
-checkUnnamed2989(core.List<api.Variant> o) {
+checkUnnamed2459(core.List<api.Variant> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariant(o[0]);
checkVariant(o[1]);
@@ -2483,7 +2483,7 @@ buildSearchVariantsResponse() {
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
o.nextPageToken = "foo";
- o.variants = buildUnnamed2989();
+ o.variants = buildUnnamed2459();
}
buildCounterSearchVariantsResponse--;
return o;
@@ -2493,7 +2493,7 @@ checkSearchVariantsResponse(api.SearchVariantsResponse o) {
buildCounterSearchVariantsResponse++;
if (buildCounterSearchVariantsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed2989(o.variants);
+ checkUnnamed2459(o.variants);
}
buildCounterSearchVariantsResponse--;
}
@@ -2517,30 +2517,30 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed2990() {
+buildUnnamed2460() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed2990(core.Map<core.String, core.Object> o) {
+checkUnnamed2460(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
}
-buildUnnamed2991() {
+buildUnnamed2461() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed2990());
- o.add(buildUnnamed2990());
+ o.add(buildUnnamed2460());
+ o.add(buildUnnamed2460());
return o;
}
-checkUnnamed2991(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2461(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2990(o[0]);
- checkUnnamed2990(o[1]);
+ checkUnnamed2460(o[0]);
+ checkUnnamed2460(o[1]);
}
core.int buildCounterStatus = 0;
@@ -2549,7 +2549,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed2991();
+ o.details = buildUnnamed2461();
o.message = "foo";
}
buildCounterStatus--;
@@ -2560,20 +2560,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed2991(o.details);
+ checkUnnamed2461(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed2992() {
+buildUnnamed2462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2992(core.List<core.String> o) {
+checkUnnamed2462(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2584,7 +2584,7 @@ buildTestIamPermissionsRequest() {
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed2992();
+ o.permissions = buildUnnamed2462();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -2593,19 +2593,19 @@ buildTestIamPermissionsRequest() {
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed2992(o.permissions);
+ checkUnnamed2462(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed2993() {
+buildUnnamed2463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2993(core.List<core.String> o) {
+checkUnnamed2463(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2616,7 +2616,7 @@ buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed2993();
+ o.permissions = buildUnnamed2463();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -2625,19 +2625,19 @@ buildTestIamPermissionsResponse() {
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed2993(o.permissions);
+ checkUnnamed2463(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
-buildUnnamed2994() {
+buildUnnamed2464() {
var o = new core.List<api.Exon>();
o.add(buildExon());
o.add(buildExon());
return o;
}
-checkUnnamed2994(core.List<api.Exon> o) {
+checkUnnamed2464(core.List<api.Exon> o) {
unittest.expect(o, unittest.hasLength(2));
checkExon(o[0]);
checkExon(o[1]);
@@ -2649,7 +2649,7 @@ buildTranscript() {
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
o.codingSequence = buildCodingSequence();
- o.exons = buildUnnamed2994();
+ o.exons = buildUnnamed2464();
o.geneId = "foo";
}
buildCounterTranscript--;
@@ -2660,7 +2660,7 @@ checkTranscript(api.Transcript o) {
buildCounterTranscript++;
if (buildCounterTranscript < 3) {
checkCodingSequence(o.codingSequence);
- checkUnnamed2994(o.exons);
+ checkUnnamed2464(o.exons);
unittest.expect(o.geneId, unittest.equals('foo'));
}
buildCounterTranscript--;
@@ -2683,79 +2683,79 @@ checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) {
buildCounterUndeleteDatasetRequest--;
}
-buildUnnamed2995() {
+buildUnnamed2465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2995(core.List<core.String> o) {
+checkUnnamed2465(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2996() {
+buildUnnamed2466() {
var o = new core.List<api.VariantCall>();
o.add(buildVariantCall());
o.add(buildVariantCall());
return o;
}
-checkUnnamed2996(core.List<api.VariantCall> o) {
+checkUnnamed2466(core.List<api.VariantCall> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantCall(o[0]);
checkVariantCall(o[1]);
}
-buildUnnamed2997() {
+buildUnnamed2467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2997(core.List<core.String> o) {
+checkUnnamed2467(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed2998() {
+buildUnnamed2468() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed2998(core.List<core.Object> o) {
+checkUnnamed2468(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
}
-buildUnnamed2999() {
+buildUnnamed2469() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed2998();
- o["y"] = buildUnnamed2998();
+ o["x"] = buildUnnamed2468();
+ o["y"] = buildUnnamed2468();
return o;
}
-checkUnnamed2999(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2469(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed2998(o["x"]);
- checkUnnamed2998(o["y"]);
+ checkUnnamed2468(o["x"]);
+ checkUnnamed2468(o["y"]);
}
-buildUnnamed3000() {
+buildUnnamed2470() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3000(core.List<core.String> o) {
+checkUnnamed2470(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2766,14 +2766,14 @@ buildVariant() {
var o = new api.Variant();
buildCounterVariant++;
if (buildCounterVariant < 3) {
- o.alternateBases = buildUnnamed2995();
- o.calls = buildUnnamed2996();
+ o.alternateBases = buildUnnamed2465();
+ o.calls = buildUnnamed2466();
o.created = "foo";
o.end = "foo";
- o.filter = buildUnnamed2997();
+ o.filter = buildUnnamed2467();
o.id = "foo";
- o.info = buildUnnamed2999();
- o.names = buildUnnamed3000();
+ o.info = buildUnnamed2469();
+ o.names = buildUnnamed2470();
o.quality = 42.0;
o.referenceBases = "foo";
o.referenceName = "foo";
@@ -2787,14 +2787,14 @@ buildVariant() {
checkVariant(api.Variant o) {
buildCounterVariant++;
if (buildCounterVariant < 3) {
- checkUnnamed2995(o.alternateBases);
- checkUnnamed2996(o.calls);
+ checkUnnamed2465(o.alternateBases);
+ checkUnnamed2466(o.calls);
unittest.expect(o.created, unittest.equals('foo'));
unittest.expect(o.end, unittest.equals('foo'));
- checkUnnamed2997(o.filter);
+ checkUnnamed2467(o.filter);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2999(o.info);
- checkUnnamed3000(o.names);
+ checkUnnamed2469(o.info);
+ checkUnnamed2470(o.names);
unittest.expect(o.quality, unittest.equals(42.0));
unittest.expect(o.referenceBases, unittest.equals('foo'));
unittest.expect(o.referenceName, unittest.equals('foo'));
@@ -2804,27 +2804,27 @@ checkVariant(api.Variant o) {
buildCounterVariant--;
}
-buildUnnamed3001() {
+buildUnnamed2471() {
var o = new core.List<api.ClinicalCondition>();
o.add(buildClinicalCondition());
o.add(buildClinicalCondition());
return o;
}
-checkUnnamed3001(core.List<api.ClinicalCondition> o) {
+checkUnnamed2471(core.List<api.ClinicalCondition> o) {
unittest.expect(o, unittest.hasLength(2));
checkClinicalCondition(o[0]);
checkClinicalCondition(o[1]);
}
-buildUnnamed3002() {
+buildUnnamed2472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3002(core.List<core.String> o) {
+checkUnnamed2472(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2837,10 +2837,10 @@ buildVariantAnnotation() {
if (buildCounterVariantAnnotation < 3) {
o.alternateBases = "foo";
o.clinicalSignificance = "foo";
- o.conditions = buildUnnamed3001();
+ o.conditions = buildUnnamed2471();
o.effect = "foo";
o.geneId = "foo";
- o.transcriptIds = buildUnnamed3002();
+ o.transcriptIds = buildUnnamed2472();
o.type = "foo";
}
buildCounterVariantAnnotation--;
@@ -2852,65 +2852,65 @@ checkVariantAnnotation(api.VariantAnnotation o) {
if (buildCounterVariantAnnotation < 3) {
unittest.expect(o.alternateBases, unittest.equals('foo'));
unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
- checkUnnamed3001(o.conditions);
+ checkUnnamed2471(o.conditions);
unittest.expect(o.effect, unittest.equals('foo'));
unittest.expect(o.geneId, unittest.equals('foo'));
- checkUnnamed3002(o.transcriptIds);
+ checkUnnamed2472(o.transcriptIds);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterVariantAnnotation--;
}
-buildUnnamed3003() {
+buildUnnamed2473() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed3003(core.List<core.int> o) {
+checkUnnamed2473(core.List<core.int> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42));
unittest.expect(o[1], unittest.equals(42));
}
-buildUnnamed3004() {
+buildUnnamed2474() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3004(core.List<core.double> o) {
+checkUnnamed2474(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
}
-buildUnnamed3005() {
+buildUnnamed2475() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed3005(core.List<core.Object> o) {
+checkUnnamed2475(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
}
-buildUnnamed3006() {
+buildUnnamed2476() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed3005();
- o["y"] = buildUnnamed3005();
+ o["x"] = buildUnnamed2475();
+ o["y"] = buildUnnamed2475();
return o;
}
-checkUnnamed3006(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2476(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3005(o["x"]);
- checkUnnamed3005(o["y"]);
+ checkUnnamed2475(o["x"]);
+ checkUnnamed2475(o["y"]);
}
core.int buildCounterVariantCall = 0;
@@ -2920,9 +2920,9 @@ buildVariantCall() {
if (buildCounterVariantCall < 3) {
o.callSetId = "foo";
o.callSetName = "foo";
- o.genotype = buildUnnamed3003();
- o.genotypeLikelihood = buildUnnamed3004();
- o.info = buildUnnamed3006();
+ o.genotype = buildUnnamed2473();
+ o.genotypeLikelihood = buildUnnamed2474();
+ o.info = buildUnnamed2476();
o.phaseset = "foo";
}
buildCounterVariantCall--;
@@ -2934,35 +2934,35 @@ checkVariantCall(api.VariantCall o) {
if (buildCounterVariantCall < 3) {
unittest.expect(o.callSetId, unittest.equals('foo'));
unittest.expect(o.callSetName, unittest.equals('foo'));
- checkUnnamed3003(o.genotype);
- checkUnnamed3004(o.genotypeLikelihood);
- checkUnnamed3006(o.info);
+ checkUnnamed2473(o.genotype);
+ checkUnnamed2474(o.genotypeLikelihood);
+ checkUnnamed2476(o.info);
unittest.expect(o.phaseset, unittest.equals('foo'));
}
buildCounterVariantCall--;
}
-buildUnnamed3007() {
+buildUnnamed2477() {
var o = new core.List<api.VariantSetMetadata>();
o.add(buildVariantSetMetadata());
o.add(buildVariantSetMetadata());
return o;
}
-checkUnnamed3007(core.List<api.VariantSetMetadata> o) {
+checkUnnamed2477(core.List<api.VariantSetMetadata> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariantSetMetadata(o[0]);
checkVariantSetMetadata(o[1]);
}
-buildUnnamed3008() {
+buildUnnamed2478() {
var o = new core.List<api.ReferenceBound>();
o.add(buildReferenceBound());
o.add(buildReferenceBound());
return o;
}
-checkUnnamed3008(core.List<api.ReferenceBound> o) {
+checkUnnamed2478(core.List<api.ReferenceBound> o) {
unittest.expect(o, unittest.hasLength(2));
checkReferenceBound(o[0]);
checkReferenceBound(o[1]);
@@ -2976,9 +2976,9 @@ buildVariantSet() {
o.datasetId = "foo";
o.description = "foo";
o.id = "foo";
- o.metadata = buildUnnamed3007();
+ o.metadata = buildUnnamed2477();
o.name = "foo";
- o.referenceBounds = buildUnnamed3008();
+ o.referenceBounds = buildUnnamed2478();
o.referenceSetId = "foo";
}
buildCounterVariantSet--;
@@ -2991,38 +2991,38 @@ checkVariantSet(api.VariantSet o) {
unittest.expect(o.datasetId, unittest.equals('foo'));
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3007(o.metadata);
+ checkUnnamed2477(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3008(o.referenceBounds);
+ checkUnnamed2478(o.referenceBounds);
unittest.expect(o.referenceSetId, unittest.equals('foo'));
}
buildCounterVariantSet--;
}
-buildUnnamed3009() {
+buildUnnamed2479() {
var o = new core.List<core.Object>();
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
return o;
}
-checkUnnamed3009(core.List<core.Object> o) {
+checkUnnamed2479(core.List<core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
}
-buildUnnamed3010() {
+buildUnnamed2480() {
var o = new core.Map<core.String, core.List<core.Object>>();
- o["x"] = buildUnnamed3009();
- o["y"] = buildUnnamed3009();
+ o["x"] = buildUnnamed2479();
+ o["y"] = buildUnnamed2479();
return o;
}
-checkUnnamed3010(core.Map<core.String, core.List<core.Object>> o) {
+checkUnnamed2480(core.Map<core.String, core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3009(o["x"]);
- checkUnnamed3009(o["y"]);
+ checkUnnamed2479(o["x"]);
+ checkUnnamed2479(o["y"]);
}
core.int buildCounterVariantSetMetadata = 0;
@@ -3032,7 +3032,7 @@ buildVariantSetMetadata() {
if (buildCounterVariantSetMetadata < 3) {
o.description = "foo";
o.id = "foo";
- o.info = buildUnnamed3010();
+ o.info = buildUnnamed2480();
o.key = "foo";
o.number = "foo";
o.type = "foo";
@@ -3047,7 +3047,7 @@ checkVariantSetMetadata(api.VariantSetMetadata o) {
if (buildCounterVariantSetMetadata < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3010(o.info);
+ checkUnnamed2480(o.info);
unittest.expect(o.key, unittest.equals('foo'));
unittest.expect(o.number, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -3730,7 +3730,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
var arg_request = buildBatchCreateAnnotationsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.BatchCreateAnnotationsRequest.fromJson(json);
checkBatchCreateAnnotationsRequest(obj);
@@ -3767,7 +3767,7 @@ main() {
var resp = convert.JSON.encode(buildBatchCreateAnnotationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.batchCreate(arg_request).then(unittest.expectAsync(((api.BatchCreateAnnotationsResponse response) {
+ res.batchCreate(arg_request).then(unittest.expectAsync1(((api.BatchCreateAnnotationsResponse response) {
checkBatchCreateAnnotationsResponse(response);
})));
});
@@ -3777,7 +3777,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
var arg_request = buildAnnotation();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Annotation.fromJson(json);
checkAnnotation(obj);
@@ -3814,7 +3814,7 @@ main() {
var resp = convert.JSON.encode(buildAnnotation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request).then(unittest.expectAsync(((api.Annotation response) {
+ res.create(arg_request).then(unittest.expectAsync1(((api.Annotation response) {
checkAnnotation(response);
})));
});
@@ -3824,7 +3824,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
var arg_annotationId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -3861,7 +3861,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_annotationId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_annotationId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -3871,7 +3871,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
var arg_annotationId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -3908,7 +3908,7 @@ main() {
var resp = convert.JSON.encode(buildAnnotation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_annotationId).then(unittest.expectAsync(((api.Annotation response) {
+ res.get(arg_annotationId).then(unittest.expectAsync1(((api.Annotation response) {
checkAnnotation(response);
})));
});
@@ -3918,7 +3918,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
var arg_request = buildSearchAnnotationsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchAnnotationsRequest.fromJson(json);
checkSearchAnnotationsRequest(obj);
@@ -3955,7 +3955,7 @@ main() {
var resp = convert.JSON.encode(buildSearchAnnotationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchAnnotationsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchAnnotationsResponse response) {
checkSearchAnnotationsResponse(response);
})));
});
@@ -3967,7 +3967,7 @@ main() {
var arg_request = buildAnnotation();
var arg_annotationId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Annotation.fromJson(json);
checkAnnotation(obj);
@@ -4008,7 +4008,7 @@ main() {
var resp = convert.JSON.encode(buildAnnotation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_annotationId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.Annotation response) {
+ res.update(arg_request, arg_annotationId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Annotation response) {
checkAnnotation(response);
})));
});
@@ -4022,7 +4022,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsetsResourceApi res = new api.GenomicsApi(mock).annotationsets;
var arg_request = buildAnnotationSet();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.AnnotationSet.fromJson(json);
checkAnnotationSet(obj);
@@ -4059,7 +4059,7 @@ main() {
var resp = convert.JSON.encode(buildAnnotationSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request).then(unittest.expectAsync(((api.AnnotationSet response) {
+ res.create(arg_request).then(unittest.expectAsync1(((api.AnnotationSet response) {
checkAnnotationSet(response);
})));
});
@@ -4069,7 +4069,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsetsResourceApi res = new api.GenomicsApi(mock).annotationsets;
var arg_annotationSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4106,7 +4106,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_annotationSetId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_annotationSetId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -4116,7 +4116,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsetsResourceApi res = new api.GenomicsApi(mock).annotationsets;
var arg_annotationSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4153,7 +4153,7 @@ main() {
var resp = convert.JSON.encode(buildAnnotationSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_annotationSetId).then(unittest.expectAsync(((api.AnnotationSet response) {
+ res.get(arg_annotationSetId).then(unittest.expectAsync1(((api.AnnotationSet response) {
checkAnnotationSet(response);
})));
});
@@ -4163,7 +4163,7 @@ main() {
var mock = new HttpServerMock();
api.AnnotationsetsResourceApi res = new api.GenomicsApi(mock).annotationsets;
var arg_request = buildSearchAnnotationSetsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchAnnotationSetsRequest.fromJson(json);
checkSearchAnnotationSetsRequest(obj);
@@ -4200,7 +4200,7 @@ main() {
var resp = convert.JSON.encode(buildSearchAnnotationSetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchAnnotationSetsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchAnnotationSetsResponse response) {
checkSearchAnnotationSetsResponse(response);
})));
});
@@ -4212,7 +4212,7 @@ main() {
var arg_request = buildAnnotationSet();
var arg_annotationSetId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.AnnotationSet.fromJson(json);
checkAnnotationSet(obj);
@@ -4253,7 +4253,7 @@ main() {
var resp = convert.JSON.encode(buildAnnotationSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.update(arg_request, arg_annotationSetId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.AnnotationSet response) {
+ res.update(arg_request, arg_annotationSetId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.AnnotationSet response) {
checkAnnotationSet(response);
})));
});
@@ -4267,7 +4267,7 @@ main() {
var mock = new HttpServerMock();
api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
var arg_request = buildCallSet();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CallSet.fromJson(json);
checkCallSet(obj);
@@ -4304,7 +4304,7 @@ main() {
var resp = convert.JSON.encode(buildCallSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request).then(unittest.expectAsync(((api.CallSet response) {
+ res.create(arg_request).then(unittest.expectAsync1(((api.CallSet response) {
checkCallSet(response);
})));
});
@@ -4314,7 +4314,7 @@ main() {
var mock = new HttpServerMock();
api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
var arg_callSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4351,7 +4351,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_callSetId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_callSetId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -4361,7 +4361,7 @@ main() {
var mock = new HttpServerMock();
api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
var arg_callSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4398,7 +4398,7 @@ main() {
var resp = convert.JSON.encode(buildCallSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_callSetId).then(unittest.expectAsync(((api.CallSet response) {
+ res.get(arg_callSetId).then(unittest.expectAsync1(((api.CallSet response) {
checkCallSet(response);
})));
});
@@ -4410,7 +4410,7 @@ main() {
var arg_request = buildCallSet();
var arg_callSetId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CallSet.fromJson(json);
checkCallSet(obj);
@@ -4451,7 +4451,7 @@ main() {
var resp = convert.JSON.encode(buildCallSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_callSetId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.CallSet response) {
+ res.patch(arg_request, arg_callSetId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.CallSet response) {
checkCallSet(response);
})));
});
@@ -4461,7 +4461,7 @@ main() {
var mock = new HttpServerMock();
api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
var arg_request = buildSearchCallSetsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchCallSetsRequest.fromJson(json);
checkSearchCallSetsRequest(obj);
@@ -4498,7 +4498,7 @@ main() {
var resp = convert.JSON.encode(buildSearchCallSetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchCallSetsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchCallSetsResponse response) {
checkSearchCallSetsResponse(response);
})));
});
@@ -4512,7 +4512,7 @@ main() {
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_request = buildDataset();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Dataset.fromJson(json);
checkDataset(obj);
@@ -4549,7 +4549,7 @@ main() {
var resp = convert.JSON.encode(buildDataset());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request).then(unittest.expectAsync(((api.Dataset response) {
+ res.create(arg_request).then(unittest.expectAsync1(((api.Dataset response) {
checkDataset(response);
})));
});
@@ -4559,7 +4559,7 @@ main() {
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_datasetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4596,7 +4596,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_datasetId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_datasetId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -4606,7 +4606,7 @@ main() {
var mock = new HttpServerMock();
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_datasetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4643,7 +4643,7 @@ main() {
var resp = convert.JSON.encode(buildDataset());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_datasetId).then(unittest.expectAsync(((api.Dataset response) {
+ res.get(arg_datasetId).then(unittest.expectAsync1(((api.Dataset response) {
checkDataset(response);
})));
});
@@ -4654,7 +4654,7 @@ main() {
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_request = buildGetIamPolicyRequest();
var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.GetIamPolicyRequest.fromJson(json);
checkGetIamPolicyRequest(obj);
@@ -4692,7 +4692,7 @@ main() {
var resp = convert.JSON.encode(buildPolicy());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.Policy response) {
+ res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((api.Policy response) {
checkPolicy(response);
})));
});
@@ -4704,7 +4704,7 @@ main() {
var arg_pageSize = 42;
var arg_projectId = "foo";
var arg_pageToken = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -4741,7 +4741,7 @@ main() {
var resp = convert.JSON.encode(buildListDatasetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(pageSize: arg_pageSize, projectId: arg_projectId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListDatasetsResponse response) {
+ res.list(pageSize: arg_pageSize, projectId: arg_projectId, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListDatasetsResponse response) {
checkListDatasetsResponse(response);
})));
});
@@ -4753,7 +4753,7 @@ main() {
var arg_request = buildDataset();
var arg_datasetId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Dataset.fromJson(json);
checkDataset(obj);
@@ -4794,7 +4794,7 @@ main() {
var resp = convert.JSON.encode(buildDataset());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_datasetId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.Dataset response) {
+ res.patch(arg_request, arg_datasetId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Dataset response) {
checkDataset(response);
})));
});
@@ -4805,7 +4805,7 @@ main() {
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_request = buildSetIamPolicyRequest();
var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SetIamPolicyRequest.fromJson(json);
checkSetIamPolicyRequest(obj);
@@ -4843,7 +4843,7 @@ main() {
var resp = convert.JSON.encode(buildPolicy());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.setIamPolicy(arg_request, arg_resource).then(unittest.expectAsync(((api.Policy response) {
+ res.setIamPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((api.Policy response) {
checkPolicy(response);
})));
});
@@ -4854,7 +4854,7 @@ main() {
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_request = buildTestIamPermissionsRequest();
var arg_resource = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.TestIamPermissionsRequest.fromJson(json);
checkTestIamPermissionsRequest(obj);
@@ -4892,7 +4892,7 @@ main() {
var resp = convert.JSON.encode(buildTestIamPermissionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.testIamPermissions(arg_request, arg_resource).then(unittest.expectAsync(((api.TestIamPermissionsResponse response) {
+ res.testIamPermissions(arg_request, arg_resource).then(unittest.expectAsync1(((api.TestIamPermissionsResponse response) {
checkTestIamPermissionsResponse(response);
})));
});
@@ -4903,7 +4903,7 @@ main() {
api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
var arg_request = buildUndeleteDatasetRequest();
var arg_datasetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.UndeleteDatasetRequest.fromJson(json);
checkUndeleteDatasetRequest(obj);
@@ -4947,7 +4947,7 @@ main() {
var resp = convert.JSON.encode(buildDataset());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.undelete(arg_request, arg_datasetId).then(unittest.expectAsync(((api.Dataset response) {
+ res.undelete(arg_request, arg_datasetId).then(unittest.expectAsync1(((api.Dataset response) {
checkDataset(response);
})));
});
@@ -4962,7 +4962,7 @@ main() {
api.OperationsResourceApi res = new api.GenomicsApi(mock).operations;
var arg_request = buildCancelOperationRequest();
var arg_name = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.CancelOperationRequest.fromJson(json);
checkCancelOperationRequest(obj);
@@ -5000,7 +5000,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.cancel(arg_request, arg_name).then(unittest.expectAsync(((api.Empty response) {
+ res.cancel(arg_request, arg_name).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -5010,7 +5010,7 @@ main() {
var mock = new HttpServerMock();
api.OperationsResourceApi res = new api.GenomicsApi(mock).operations;
var arg_name = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5045,7 +5045,7 @@ main() {
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_name).then(unittest.expectAsync(((api.Operation response) {
+ res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -5058,7 +5058,7 @@ main() {
var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5096,7 +5096,7 @@ main() {
var resp = convert.JSON.encode(buildListOperationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) {
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -5110,7 +5110,7 @@ main() {
var mock = new HttpServerMock();
api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets;
var arg_readGroupSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5147,7 +5147,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_readGroupSetId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_readGroupSetId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -5158,7 +5158,7 @@ main() {
api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets;
var arg_request = buildExportReadGroupSetRequest();
var arg_readGroupSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ExportReadGroupSetRequest.fromJson(json);
checkExportReadGroupSetRequest(obj);
@@ -5202,7 +5202,7 @@ main() {
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.export(arg_request, arg_readGroupSetId).then(unittest.expectAsync(((api.Operation response) {
+ res.export(arg_request, arg_readGroupSetId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -5212,7 +5212,7 @@ main() {
var mock = new HttpServerMock();
api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets;
var arg_readGroupSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5249,7 +5249,7 @@ main() {
var resp = convert.JSON.encode(buildReadGroupSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_readGroupSetId).then(unittest.expectAsync(((api.ReadGroupSet response) {
+ res.get(arg_readGroupSetId).then(unittest.expectAsync1(((api.ReadGroupSet response) {
checkReadGroupSet(response);
})));
});
@@ -5259,7 +5259,7 @@ main() {
var mock = new HttpServerMock();
api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets;
var arg_request = buildImportReadGroupSetsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ImportReadGroupSetsRequest.fromJson(json);
checkImportReadGroupSetsRequest(obj);
@@ -5296,7 +5296,7 @@ main() {
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.import(arg_request).then(unittest.expectAsync(((api.Operation response) {
+ res.import(arg_request).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -5308,7 +5308,7 @@ main() {
var arg_request = buildReadGroupSet();
var arg_readGroupSetId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ReadGroupSet.fromJson(json);
checkReadGroupSet(obj);
@@ -5349,7 +5349,7 @@ main() {
var resp = convert.JSON.encode(buildReadGroupSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_readGroupSetId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.ReadGroupSet response) {
+ res.patch(arg_request, arg_readGroupSetId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.ReadGroupSet response) {
checkReadGroupSet(response);
})));
});
@@ -5359,7 +5359,7 @@ main() {
var mock = new HttpServerMock();
api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets;
var arg_request = buildSearchReadGroupSetsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchReadGroupSetsRequest.fromJson(json);
checkSearchReadGroupSetsRequest(obj);
@@ -5396,7 +5396,7 @@ main() {
var resp = convert.JSON.encode(buildSearchReadGroupSetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchReadGroupSetsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchReadGroupSetsResponse response) {
checkSearchReadGroupSetsResponse(response);
})));
});
@@ -5410,13 +5410,13 @@ main() {
var mock = new HttpServerMock();
api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock).readgroupsets.coveragebuckets;
var arg_readGroupSetId = "foo";
+ var arg_end = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_start = "foo";
var arg_targetBucketWidth = "foo";
var arg_referenceName = "foo";
- var arg_end = "foo";
- var arg_pageToken = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5449,12 +5449,12 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg_targetBucketWidth));
unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_referenceName));
- unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -5463,7 +5463,7 @@ main() {
var resp = convert.JSON.encode(buildListCoverageBucketsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_readGroupSetId, pageSize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName, end: arg_end, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCoverageBucketsResponse response) {
+ res.list(arg_readGroupSetId, end: arg_end, pageToken: arg_pageToken, pageSize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName).then(unittest.expectAsync1(((api.ListCoverageBucketsResponse response) {
checkListCoverageBucketsResponse(response);
})));
});
@@ -5477,7 +5477,7 @@ main() {
var mock = new HttpServerMock();
api.ReadsResourceApi res = new api.GenomicsApi(mock).reads;
var arg_request = buildSearchReadsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchReadsRequest.fromJson(json);
checkSearchReadsRequest(obj);
@@ -5514,7 +5514,7 @@ main() {
var resp = convert.JSON.encode(buildSearchReadsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchReadsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchReadsResponse response) {
checkSearchReadsResponse(response);
})));
});
@@ -5528,7 +5528,7 @@ main() {
var mock = new HttpServerMock();
api.ReferencesResourceApi res = new api.GenomicsApi(mock).references;
var arg_referenceId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5565,7 +5565,7 @@ main() {
var resp = convert.JSON.encode(buildReference());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_referenceId).then(unittest.expectAsync(((api.Reference response) {
+ res.get(arg_referenceId).then(unittest.expectAsync1(((api.Reference response) {
checkReference(response);
})));
});
@@ -5575,7 +5575,7 @@ main() {
var mock = new HttpServerMock();
api.ReferencesResourceApi res = new api.GenomicsApi(mock).references;
var arg_request = buildSearchReferencesRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchReferencesRequest.fromJson(json);
checkSearchReferencesRequest(obj);
@@ -5612,7 +5612,7 @@ main() {
var resp = convert.JSON.encode(buildSearchReferencesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchReferencesResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchReferencesResponse response) {
checkSearchReferencesResponse(response);
})));
});
@@ -5630,7 +5630,7 @@ main() {
var arg_start = "foo";
var arg_end = "foo";
var arg_pageToken = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5675,7 +5675,7 @@ main() {
var resp = convert.JSON.encode(buildListBasesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_referenceId, pageSize: arg_pageSize, start: arg_start, end: arg_end, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListBasesResponse response) {
+ res.list(arg_referenceId, pageSize: arg_pageSize, start: arg_start, end: arg_end, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListBasesResponse response) {
checkListBasesResponse(response);
})));
});
@@ -5689,7 +5689,7 @@ main() {
var mock = new HttpServerMock();
api.ReferencesetsResourceApi res = new api.GenomicsApi(mock).referencesets;
var arg_referenceSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5726,7 +5726,7 @@ main() {
var resp = convert.JSON.encode(buildReferenceSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_referenceSetId).then(unittest.expectAsync(((api.ReferenceSet response) {
+ res.get(arg_referenceSetId).then(unittest.expectAsync1(((api.ReferenceSet response) {
checkReferenceSet(response);
})));
});
@@ -5736,7 +5736,7 @@ main() {
var mock = new HttpServerMock();
api.ReferencesetsResourceApi res = new api.GenomicsApi(mock).referencesets;
var arg_request = buildSearchReferenceSetsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchReferenceSetsRequest.fromJson(json);
checkSearchReferenceSetsRequest(obj);
@@ -5773,7 +5773,7 @@ main() {
var resp = convert.JSON.encode(buildSearchReferenceSetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchReferenceSetsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchReferenceSetsResponse response) {
checkSearchReferenceSetsResponse(response);
})));
});
@@ -5787,7 +5787,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
var arg_request = buildVariant();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Variant.fromJson(json);
checkVariant(obj);
@@ -5824,7 +5824,7 @@ main() {
var resp = convert.JSON.encode(buildVariant());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request).then(unittest.expectAsync(((api.Variant response) {
+ res.create(arg_request).then(unittest.expectAsync1(((api.Variant response) {
checkVariant(response);
})));
});
@@ -5834,7 +5834,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
var arg_variantId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5871,7 +5871,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_variantId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_variantId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -5881,7 +5881,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
var arg_variantId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -5918,7 +5918,7 @@ main() {
var resp = convert.JSON.encode(buildVariant());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_variantId).then(unittest.expectAsync(((api.Variant response) {
+ res.get(arg_variantId).then(unittest.expectAsync1(((api.Variant response) {
checkVariant(response);
})));
});
@@ -5928,7 +5928,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
var arg_request = buildImportVariantsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ImportVariantsRequest.fromJson(json);
checkImportVariantsRequest(obj);
@@ -5965,7 +5965,7 @@ main() {
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.import(arg_request).then(unittest.expectAsync(((api.Operation response) {
+ res.import(arg_request).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -5975,7 +5975,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
var arg_request = buildMergeVariantsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.MergeVariantsRequest.fromJson(json);
checkMergeVariantsRequest(obj);
@@ -6012,7 +6012,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.merge(arg_request).then(unittest.expectAsync(((api.Empty response) {
+ res.merge(arg_request).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -6024,7 +6024,7 @@ main() {
var arg_request = buildVariant();
var arg_variantId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Variant.fromJson(json);
checkVariant(obj);
@@ -6065,7 +6065,7 @@ main() {
var resp = convert.JSON.encode(buildVariant());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_variantId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.Variant response) {
+ res.patch(arg_request, arg_variantId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Variant response) {
checkVariant(response);
})));
});
@@ -6075,7 +6075,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
var arg_request = buildSearchVariantsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchVariantsRequest.fromJson(json);
checkSearchVariantsRequest(obj);
@@ -6112,7 +6112,7 @@ main() {
var resp = convert.JSON.encode(buildSearchVariantsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchVariantsResponse response) {
checkSearchVariantsResponse(response);
})));
});
@@ -6126,7 +6126,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
var arg_request = buildVariantSet();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.VariantSet.fromJson(json);
checkVariantSet(obj);
@@ -6163,7 +6163,7 @@ main() {
var resp = convert.JSON.encode(buildVariantSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.create(arg_request).then(unittest.expectAsync(((api.VariantSet response) {
+ res.create(arg_request).then(unittest.expectAsync1(((api.VariantSet response) {
checkVariantSet(response);
})));
});
@@ -6173,7 +6173,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
var arg_variantSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -6210,7 +6210,7 @@ main() {
var resp = convert.JSON.encode(buildEmpty());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.delete(arg_variantSetId).then(unittest.expectAsync(((api.Empty response) {
+ res.delete(arg_variantSetId).then(unittest.expectAsync1(((api.Empty response) {
checkEmpty(response);
})));
});
@@ -6221,7 +6221,7 @@ main() {
api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
var arg_request = buildExportVariantSetRequest();
var arg_variantSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.ExportVariantSetRequest.fromJson(json);
checkExportVariantSetRequest(obj);
@@ -6265,7 +6265,7 @@ main() {
var resp = convert.JSON.encode(buildOperation());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.export(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.Operation response) {
+ res.export(arg_request, arg_variantSetId).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -6275,7 +6275,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
var arg_variantSetId = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
var index;
@@ -6312,7 +6312,7 @@ main() {
var resp = convert.JSON.encode(buildVariantSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.get(arg_variantSetId).then(unittest.expectAsync(((api.VariantSet response) {
+ res.get(arg_variantSetId).then(unittest.expectAsync1(((api.VariantSet response) {
checkVariantSet(response);
})));
});
@@ -6324,7 +6324,7 @@ main() {
var arg_request = buildVariantSet();
var arg_variantSetId = "foo";
var arg_updateMask = "foo";
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.VariantSet.fromJson(json);
checkVariantSet(obj);
@@ -6365,7 +6365,7 @@ main() {
var resp = convert.JSON.encode(buildVariantSet());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.patch(arg_request, arg_variantSetId, updateMask: arg_updateMask).then(unittest.expectAsync(((api.VariantSet response) {
+ res.patch(arg_request, arg_variantSetId, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.VariantSet response) {
checkVariantSet(response);
})));
});
@@ -6375,7 +6375,7 @@ main() {
var mock = new HttpServerMock();
api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
var arg_request = buildSearchVariantSetsRequest();
- mock.register(unittest.expectAsync((http.BaseRequest req, json) {
+ mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.SearchVariantSetsRequest.fromJson(json);
checkSearchVariantSetsRequest(obj);
@@ -6412,7 +6412,7 @@ main() {
var resp = convert.JSON.encode(buildSearchVariantSetsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsResponse response) {
+ res.search(arg_request).then(unittest.expectAsync1(((api.SearchVariantSetsResponse response) {
checkSearchVariantSetsResponse(response);
})));
});

Powered by Google App Engine
This is Rietveld 408576698