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

Side by Side Diff: generated/googleapis/test/genomics/v1_test.dart

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 library googleapis.genomics.v1.test; 1 library googleapis.genomics.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 http.StreamedResponse stringResponse( 48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 buildUnnamed1774() { 54 buildUnnamed1866() {
55 var o = new core.List<core.String>();
56 o.add("foo");
57 o.add("foo");
58 return o;
59 }
60
61 checkUnnamed1866(core.List<core.String> o) {
62 unittest.expect(o, unittest.hasLength(2));
63 unittest.expect(o[0], unittest.equals('foo'));
64 unittest.expect(o[1], unittest.equals('foo'));
65 }
66
67 core.int buildCounterBinding = 0;
68 buildBinding() {
69 var o = new api.Binding();
70 buildCounterBinding++;
71 if (buildCounterBinding < 3) {
72 o.members = buildUnnamed1866();
73 o.role = "foo";
74 }
75 buildCounterBinding--;
76 return o;
77 }
78
79 checkBinding(api.Binding o) {
80 buildCounterBinding++;
81 if (buildCounterBinding < 3) {
82 checkUnnamed1866(o.members);
83 unittest.expect(o.role, unittest.equals('foo'));
84 }
85 buildCounterBinding--;
86 }
87
88 buildUnnamed1867() {
55 var o = new core.List<core.Object>(); 89 var o = new core.List<core.Object>();
56 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 90 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
57 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 91 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
58 return o; 92 return o;
59 } 93 }
60 94
61 checkUnnamed1774(core.List<core.Object> o) { 95 checkUnnamed1867(core.List<core.Object> o) {
62 unittest.expect(o, unittest.hasLength(2)); 96 unittest.expect(o, unittest.hasLength(2));
63 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo')); 97 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo'));
64 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo')); 98 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo'));
65 } 99 }
66 100
67 buildUnnamed1775() { 101 buildUnnamed1868() {
68 var o = new core.Map<core.String, core.List<core.Object>>(); 102 var o = new core.Map<core.String, core.List<core.Object>>();
69 o["x"] = buildUnnamed1774(); 103 o["x"] = buildUnnamed1867();
70 o["y"] = buildUnnamed1774(); 104 o["y"] = buildUnnamed1867();
71 return o; 105 return o;
72 } 106 }
73 107
74 checkUnnamed1775(core.Map<core.String, core.List<core.Object>> o) { 108 checkUnnamed1868(core.Map<core.String, core.List<core.Object>> o) {
75 unittest.expect(o, unittest.hasLength(2)); 109 unittest.expect(o, unittest.hasLength(2));
76 checkUnnamed1774(o["x"]); 110 checkUnnamed1867(o["x"]);
77 checkUnnamed1774(o["y"]); 111 checkUnnamed1867(o["y"]);
78 } 112 }
79 113
80 buildUnnamed1776() { 114 buildUnnamed1869() {
81 var o = new core.List<core.String>(); 115 var o = new core.List<core.String>();
82 o.add("foo"); 116 o.add("foo");
83 o.add("foo"); 117 o.add("foo");
84 return o; 118 return o;
85 } 119 }
86 120
87 checkUnnamed1776(core.List<core.String> o) { 121 checkUnnamed1869(core.List<core.String> o) {
88 unittest.expect(o, unittest.hasLength(2)); 122 unittest.expect(o, unittest.hasLength(2));
89 unittest.expect(o[0], unittest.equals('foo')); 123 unittest.expect(o[0], unittest.equals('foo'));
90 unittest.expect(o[1], unittest.equals('foo')); 124 unittest.expect(o[1], unittest.equals('foo'));
91 } 125 }
92 126
93 core.int buildCounterCallSet = 0; 127 core.int buildCounterCallSet = 0;
94 buildCallSet() { 128 buildCallSet() {
95 var o = new api.CallSet(); 129 var o = new api.CallSet();
96 buildCounterCallSet++; 130 buildCounterCallSet++;
97 if (buildCounterCallSet < 3) { 131 if (buildCounterCallSet < 3) {
98 o.created = "foo"; 132 o.created = "foo";
99 o.id = "foo"; 133 o.id = "foo";
100 o.info = buildUnnamed1775(); 134 o.info = buildUnnamed1868();
101 o.name = "foo"; 135 o.name = "foo";
102 o.sampleId = "foo"; 136 o.sampleId = "foo";
103 o.variantSetIds = buildUnnamed1776(); 137 o.variantSetIds = buildUnnamed1869();
104 } 138 }
105 buildCounterCallSet--; 139 buildCounterCallSet--;
106 return o; 140 return o;
107 } 141 }
108 142
109 checkCallSet(api.CallSet o) { 143 checkCallSet(api.CallSet o) {
110 buildCounterCallSet++; 144 buildCounterCallSet++;
111 if (buildCounterCallSet < 3) { 145 if (buildCounterCallSet < 3) {
112 unittest.expect(o.created, unittest.equals('foo')); 146 unittest.expect(o.created, unittest.equals('foo'));
113 unittest.expect(o.id, unittest.equals('foo')); 147 unittest.expect(o.id, unittest.equals('foo'));
114 checkUnnamed1775(o.info); 148 checkUnnamed1868(o.info);
115 unittest.expect(o.name, unittest.equals('foo')); 149 unittest.expect(o.name, unittest.equals('foo'));
116 unittest.expect(o.sampleId, unittest.equals('foo')); 150 unittest.expect(o.sampleId, unittest.equals('foo'));
117 checkUnnamed1776(o.variantSetIds); 151 checkUnnamed1869(o.variantSetIds);
118 } 152 }
119 buildCounterCallSet--; 153 buildCounterCallSet--;
120 } 154 }
121 155
122 core.int buildCounterCancelOperationRequest = 0; 156 core.int buildCounterCancelOperationRequest = 0;
123 buildCancelOperationRequest() { 157 buildCancelOperationRequest() {
124 var o = new api.CancelOperationRequest(); 158 var o = new api.CancelOperationRequest();
125 buildCounterCancelOperationRequest++; 159 buildCounterCancelOperationRequest++;
126 if (buildCounterCancelOperationRequest < 3) { 160 if (buildCounterCancelOperationRequest < 3) {
127 } 161 }
(...skipping 24 matching lines...) Expand all
152 checkCigarUnit(api.CigarUnit o) { 186 checkCigarUnit(api.CigarUnit o) {
153 buildCounterCigarUnit++; 187 buildCounterCigarUnit++;
154 if (buildCounterCigarUnit < 3) { 188 if (buildCounterCigarUnit < 3) {
155 unittest.expect(o.operation, unittest.equals('foo')); 189 unittest.expect(o.operation, unittest.equals('foo'));
156 unittest.expect(o.operationLength, unittest.equals('foo')); 190 unittest.expect(o.operationLength, unittest.equals('foo'));
157 unittest.expect(o.referenceSequence, unittest.equals('foo')); 191 unittest.expect(o.referenceSequence, unittest.equals('foo'));
158 } 192 }
159 buildCounterCigarUnit--; 193 buildCounterCigarUnit--;
160 } 194 }
161 195
196 core.int buildCounterCloudAuditOptions = 0;
197 buildCloudAuditOptions() {
198 var o = new api.CloudAuditOptions();
199 buildCounterCloudAuditOptions++;
200 if (buildCounterCloudAuditOptions < 3) {
201 }
202 buildCounterCloudAuditOptions--;
203 return o;
204 }
205
206 checkCloudAuditOptions(api.CloudAuditOptions o) {
207 buildCounterCloudAuditOptions++;
208 if (buildCounterCloudAuditOptions < 3) {
209 }
210 buildCounterCloudAuditOptions--;
211 }
212
213 buildUnnamed1870() {
214 var o = new core.List<core.String>();
215 o.add("foo");
216 o.add("foo");
217 return o;
218 }
219
220 checkUnnamed1870(core.List<core.String> o) {
221 unittest.expect(o, unittest.hasLength(2));
222 unittest.expect(o[0], unittest.equals('foo'));
223 unittest.expect(o[1], unittest.equals('foo'));
224 }
225
226 core.int buildCounterCondition = 0;
227 buildCondition() {
228 var o = new api.Condition();
229 buildCounterCondition++;
230 if (buildCounterCondition < 3) {
231 o.iam = "foo";
232 o.op = "foo";
233 o.svc = "foo";
234 o.sys = "foo";
235 o.value = "foo";
236 o.values = buildUnnamed1870();
237 }
238 buildCounterCondition--;
239 return o;
240 }
241
242 checkCondition(api.Condition o) {
243 buildCounterCondition++;
244 if (buildCounterCondition < 3) {
245 unittest.expect(o.iam, unittest.equals('foo'));
246 unittest.expect(o.op, unittest.equals('foo'));
247 unittest.expect(o.svc, unittest.equals('foo'));
248 unittest.expect(o.sys, unittest.equals('foo'));
249 unittest.expect(o.value, unittest.equals('foo'));
250 checkUnnamed1870(o.values);
251 }
252 buildCounterCondition--;
253 }
254
255 core.int buildCounterCounterOptions = 0;
256 buildCounterOptions() {
257 var o = new api.CounterOptions();
258 buildCounterCounterOptions++;
259 if (buildCounterCounterOptions < 3) {
260 o.field = "foo";
261 o.metric = "foo";
262 }
263 buildCounterCounterOptions--;
264 return o;
265 }
266
267 checkCounterOptions(api.CounterOptions o) {
268 buildCounterCounterOptions++;
269 if (buildCounterCounterOptions < 3) {
270 unittest.expect(o.field, unittest.equals('foo'));
271 unittest.expect(o.metric, unittest.equals('foo'));
272 }
273 buildCounterCounterOptions--;
274 }
275
162 core.int buildCounterCoverageBucket = 0; 276 core.int buildCounterCoverageBucket = 0;
163 buildCoverageBucket() { 277 buildCoverageBucket() {
164 var o = new api.CoverageBucket(); 278 var o = new api.CoverageBucket();
165 buildCounterCoverageBucket++; 279 buildCounterCoverageBucket++;
166 if (buildCounterCoverageBucket < 3) { 280 if (buildCounterCoverageBucket < 3) {
167 o.meanCoverage = 42.0; 281 o.meanCoverage = 42.0;
168 o.range = buildRange(); 282 o.range = buildRange();
169 } 283 }
170 buildCounterCoverageBucket--; 284 buildCounterCoverageBucket--;
171 return o; 285 return o;
172 } 286 }
173 287
174 checkCoverageBucket(api.CoverageBucket o) { 288 checkCoverageBucket(api.CoverageBucket o) {
175 buildCounterCoverageBucket++; 289 buildCounterCoverageBucket++;
176 if (buildCounterCoverageBucket < 3) { 290 if (buildCounterCoverageBucket < 3) {
177 unittest.expect(o.meanCoverage, unittest.equals(42.0)); 291 unittest.expect(o.meanCoverage, unittest.equals(42.0));
178 checkRange(o.range); 292 checkRange(o.range);
179 } 293 }
180 buildCounterCoverageBucket--; 294 buildCounterCoverageBucket--;
181 } 295 }
182 296
297 core.int buildCounterDataAccessOptions = 0;
298 buildDataAccessOptions() {
299 var o = new api.DataAccessOptions();
300 buildCounterDataAccessOptions++;
301 if (buildCounterDataAccessOptions < 3) {
302 }
303 buildCounterDataAccessOptions--;
304 return o;
305 }
306
307 checkDataAccessOptions(api.DataAccessOptions o) {
308 buildCounterDataAccessOptions++;
309 if (buildCounterDataAccessOptions < 3) {
310 }
311 buildCounterDataAccessOptions--;
312 }
313
183 core.int buildCounterDataset = 0; 314 core.int buildCounterDataset = 0;
184 buildDataset() { 315 buildDataset() {
185 var o = new api.Dataset(); 316 var o = new api.Dataset();
186 buildCounterDataset++; 317 buildCounterDataset++;
187 if (buildCounterDataset < 3) { 318 if (buildCounterDataset < 3) {
188 o.createTime = "foo"; 319 o.createTime = "foo";
189 o.id = "foo"; 320 o.id = "foo";
190 o.name = "foo"; 321 o.name = "foo";
191 o.projectId = "foo"; 322 o.projectId = "foo";
192 } 323 }
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 buildCounterExperiment++; 371 buildCounterExperiment++;
241 if (buildCounterExperiment < 3) { 372 if (buildCounterExperiment < 3) {
242 unittest.expect(o.instrumentModel, unittest.equals('foo')); 373 unittest.expect(o.instrumentModel, unittest.equals('foo'));
243 unittest.expect(o.libraryId, unittest.equals('foo')); 374 unittest.expect(o.libraryId, unittest.equals('foo'));
244 unittest.expect(o.platformUnit, unittest.equals('foo')); 375 unittest.expect(o.platformUnit, unittest.equals('foo'));
245 unittest.expect(o.sequencingCenter, unittest.equals('foo')); 376 unittest.expect(o.sequencingCenter, unittest.equals('foo'));
246 } 377 }
247 buildCounterExperiment--; 378 buildCounterExperiment--;
248 } 379 }
249 380
250 buildUnnamed1777() { 381 buildUnnamed1871() {
251 var o = new core.List<core.String>(); 382 var o = new core.List<core.String>();
252 o.add("foo"); 383 o.add("foo");
253 o.add("foo"); 384 o.add("foo");
254 return o; 385 return o;
255 } 386 }
256 387
257 checkUnnamed1777(core.List<core.String> o) { 388 checkUnnamed1871(core.List<core.String> o) {
258 unittest.expect(o, unittest.hasLength(2)); 389 unittest.expect(o, unittest.hasLength(2));
259 unittest.expect(o[0], unittest.equals('foo')); 390 unittest.expect(o[0], unittest.equals('foo'));
260 unittest.expect(o[1], unittest.equals('foo')); 391 unittest.expect(o[1], unittest.equals('foo'));
261 } 392 }
262 393
263 core.int buildCounterExportReadGroupSetRequest = 0; 394 core.int buildCounterExportReadGroupSetRequest = 0;
264 buildExportReadGroupSetRequest() { 395 buildExportReadGroupSetRequest() {
265 var o = new api.ExportReadGroupSetRequest(); 396 var o = new api.ExportReadGroupSetRequest();
266 buildCounterExportReadGroupSetRequest++; 397 buildCounterExportReadGroupSetRequest++;
267 if (buildCounterExportReadGroupSetRequest < 3) { 398 if (buildCounterExportReadGroupSetRequest < 3) {
268 o.exportUri = "foo"; 399 o.exportUri = "foo";
269 o.projectId = "foo"; 400 o.projectId = "foo";
270 o.referenceNames = buildUnnamed1777(); 401 o.referenceNames = buildUnnamed1871();
271 } 402 }
272 buildCounterExportReadGroupSetRequest--; 403 buildCounterExportReadGroupSetRequest--;
273 return o; 404 return o;
274 } 405 }
275 406
276 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { 407 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) {
277 buildCounterExportReadGroupSetRequest++; 408 buildCounterExportReadGroupSetRequest++;
278 if (buildCounterExportReadGroupSetRequest < 3) { 409 if (buildCounterExportReadGroupSetRequest < 3) {
279 unittest.expect(o.exportUri, unittest.equals('foo')); 410 unittest.expect(o.exportUri, unittest.equals('foo'));
280 unittest.expect(o.projectId, unittest.equals('foo')); 411 unittest.expect(o.projectId, unittest.equals('foo'));
281 checkUnnamed1777(o.referenceNames); 412 checkUnnamed1871(o.referenceNames);
282 } 413 }
283 buildCounterExportReadGroupSetRequest--; 414 buildCounterExportReadGroupSetRequest--;
284 } 415 }
285 416
286 buildUnnamed1778() { 417 buildUnnamed1872() {
287 var o = new core.List<core.String>(); 418 var o = new core.List<core.String>();
288 o.add("foo"); 419 o.add("foo");
289 o.add("foo"); 420 o.add("foo");
290 return o; 421 return o;
291 } 422 }
292 423
293 checkUnnamed1778(core.List<core.String> o) { 424 checkUnnamed1872(core.List<core.String> o) {
294 unittest.expect(o, unittest.hasLength(2)); 425 unittest.expect(o, unittest.hasLength(2));
295 unittest.expect(o[0], unittest.equals('foo')); 426 unittest.expect(o[0], unittest.equals('foo'));
296 unittest.expect(o[1], unittest.equals('foo')); 427 unittest.expect(o[1], unittest.equals('foo'));
297 } 428 }
298 429
299 core.int buildCounterExportVariantSetRequest = 0; 430 core.int buildCounterExportVariantSetRequest = 0;
300 buildExportVariantSetRequest() { 431 buildExportVariantSetRequest() {
301 var o = new api.ExportVariantSetRequest(); 432 var o = new api.ExportVariantSetRequest();
302 buildCounterExportVariantSetRequest++; 433 buildCounterExportVariantSetRequest++;
303 if (buildCounterExportVariantSetRequest < 3) { 434 if (buildCounterExportVariantSetRequest < 3) {
304 o.bigqueryDataset = "foo"; 435 o.bigqueryDataset = "foo";
305 o.bigqueryTable = "foo"; 436 o.bigqueryTable = "foo";
306 o.callSetIds = buildUnnamed1778(); 437 o.callSetIds = buildUnnamed1872();
307 o.format = "foo"; 438 o.format = "foo";
308 o.projectId = "foo"; 439 o.projectId = "foo";
309 } 440 }
310 buildCounterExportVariantSetRequest--; 441 buildCounterExportVariantSetRequest--;
311 return o; 442 return o;
312 } 443 }
313 444
314 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { 445 checkExportVariantSetRequest(api.ExportVariantSetRequest o) {
315 buildCounterExportVariantSetRequest++; 446 buildCounterExportVariantSetRequest++;
316 if (buildCounterExportVariantSetRequest < 3) { 447 if (buildCounterExportVariantSetRequest < 3) {
317 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); 448 unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
318 unittest.expect(o.bigqueryTable, unittest.equals('foo')); 449 unittest.expect(o.bigqueryTable, unittest.equals('foo'));
319 checkUnnamed1778(o.callSetIds); 450 checkUnnamed1872(o.callSetIds);
320 unittest.expect(o.format, unittest.equals('foo')); 451 unittest.expect(o.format, unittest.equals('foo'));
321 unittest.expect(o.projectId, unittest.equals('foo')); 452 unittest.expect(o.projectId, unittest.equals('foo'));
322 } 453 }
323 buildCounterExportVariantSetRequest--; 454 buildCounterExportVariantSetRequest--;
324 } 455 }
325 456
326 buildUnnamed1779() { 457 core.int buildCounterGetIamPolicyRequest = 0;
458 buildGetIamPolicyRequest() {
459 var o = new api.GetIamPolicyRequest();
460 buildCounterGetIamPolicyRequest++;
461 if (buildCounterGetIamPolicyRequest < 3) {
462 }
463 buildCounterGetIamPolicyRequest--;
464 return o;
465 }
466
467 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
468 buildCounterGetIamPolicyRequest++;
469 if (buildCounterGetIamPolicyRequest < 3) {
470 }
471 buildCounterGetIamPolicyRequest--;
472 }
473
474 buildUnnamed1873() {
327 var o = new core.List<core.String>(); 475 var o = new core.List<core.String>();
328 o.add("foo"); 476 o.add("foo");
329 o.add("foo"); 477 o.add("foo");
330 return o; 478 return o;
331 } 479 }
332 480
333 checkUnnamed1779(core.List<core.String> o) { 481 checkUnnamed1873(core.List<core.String> o) {
334 unittest.expect(o, unittest.hasLength(2)); 482 unittest.expect(o, unittest.hasLength(2));
335 unittest.expect(o[0], unittest.equals('foo')); 483 unittest.expect(o[0], unittest.equals('foo'));
336 unittest.expect(o[1], unittest.equals('foo')); 484 unittest.expect(o[1], unittest.equals('foo'));
337 } 485 }
338 486
339 core.int buildCounterImportReadGroupSetsRequest = 0; 487 core.int buildCounterImportReadGroupSetsRequest = 0;
340 buildImportReadGroupSetsRequest() { 488 buildImportReadGroupSetsRequest() {
341 var o = new api.ImportReadGroupSetsRequest(); 489 var o = new api.ImportReadGroupSetsRequest();
342 buildCounterImportReadGroupSetsRequest++; 490 buildCounterImportReadGroupSetsRequest++;
343 if (buildCounterImportReadGroupSetsRequest < 3) { 491 if (buildCounterImportReadGroupSetsRequest < 3) {
344 o.datasetId = "foo"; 492 o.datasetId = "foo";
345 o.partitionStrategy = "foo"; 493 o.partitionStrategy = "foo";
346 o.referenceSetId = "foo"; 494 o.referenceSetId = "foo";
347 o.sourceUris = buildUnnamed1779(); 495 o.sourceUris = buildUnnamed1873();
348 } 496 }
349 buildCounterImportReadGroupSetsRequest--; 497 buildCounterImportReadGroupSetsRequest--;
350 return o; 498 return o;
351 } 499 }
352 500
353 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { 501 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) {
354 buildCounterImportReadGroupSetsRequest++; 502 buildCounterImportReadGroupSetsRequest++;
355 if (buildCounterImportReadGroupSetsRequest < 3) { 503 if (buildCounterImportReadGroupSetsRequest < 3) {
356 unittest.expect(o.datasetId, unittest.equals('foo')); 504 unittest.expect(o.datasetId, unittest.equals('foo'));
357 unittest.expect(o.partitionStrategy, unittest.equals('foo')); 505 unittest.expect(o.partitionStrategy, unittest.equals('foo'));
358 unittest.expect(o.referenceSetId, unittest.equals('foo')); 506 unittest.expect(o.referenceSetId, unittest.equals('foo'));
359 checkUnnamed1779(o.sourceUris); 507 checkUnnamed1873(o.sourceUris);
360 } 508 }
361 buildCounterImportReadGroupSetsRequest--; 509 buildCounterImportReadGroupSetsRequest--;
362 } 510 }
363 511
364 buildUnnamed1780() { 512 buildUnnamed1874() {
365 var o = new core.List<core.String>(); 513 var o = new core.List<core.String>();
366 o.add("foo"); 514 o.add("foo");
367 o.add("foo"); 515 o.add("foo");
368 return o; 516 return o;
369 } 517 }
370 518
371 checkUnnamed1780(core.List<core.String> o) { 519 checkUnnamed1874(core.List<core.String> o) {
372 unittest.expect(o, unittest.hasLength(2)); 520 unittest.expect(o, unittest.hasLength(2));
373 unittest.expect(o[0], unittest.equals('foo')); 521 unittest.expect(o[0], unittest.equals('foo'));
374 unittest.expect(o[1], unittest.equals('foo')); 522 unittest.expect(o[1], unittest.equals('foo'));
375 } 523 }
376 524
377 core.int buildCounterImportReadGroupSetsResponse = 0; 525 core.int buildCounterImportReadGroupSetsResponse = 0;
378 buildImportReadGroupSetsResponse() { 526 buildImportReadGroupSetsResponse() {
379 var o = new api.ImportReadGroupSetsResponse(); 527 var o = new api.ImportReadGroupSetsResponse();
380 buildCounterImportReadGroupSetsResponse++; 528 buildCounterImportReadGroupSetsResponse++;
381 if (buildCounterImportReadGroupSetsResponse < 3) { 529 if (buildCounterImportReadGroupSetsResponse < 3) {
382 o.readGroupSetIds = buildUnnamed1780(); 530 o.readGroupSetIds = buildUnnamed1874();
383 } 531 }
384 buildCounterImportReadGroupSetsResponse--; 532 buildCounterImportReadGroupSetsResponse--;
385 return o; 533 return o;
386 } 534 }
387 535
388 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { 536 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
389 buildCounterImportReadGroupSetsResponse++; 537 buildCounterImportReadGroupSetsResponse++;
390 if (buildCounterImportReadGroupSetsResponse < 3) { 538 if (buildCounterImportReadGroupSetsResponse < 3) {
391 checkUnnamed1780(o.readGroupSetIds); 539 checkUnnamed1874(o.readGroupSetIds);
392 } 540 }
393 buildCounterImportReadGroupSetsResponse--; 541 buildCounterImportReadGroupSetsResponse--;
394 } 542 }
395 543
396 buildUnnamed1781() { 544 buildUnnamed1875() {
397 var o = new core.List<core.String>(); 545 var o = new core.List<core.String>();
398 o.add("foo"); 546 o.add("foo");
399 o.add("foo"); 547 o.add("foo");
400 return o; 548 return o;
401 } 549 }
402 550
403 checkUnnamed1781(core.List<core.String> o) { 551 checkUnnamed1875(core.List<core.String> o) {
404 unittest.expect(o, unittest.hasLength(2)); 552 unittest.expect(o, unittest.hasLength(2));
405 unittest.expect(o[0], unittest.equals('foo')); 553 unittest.expect(o[0], unittest.equals('foo'));
406 unittest.expect(o[1], unittest.equals('foo')); 554 unittest.expect(o[1], unittest.equals('foo'));
407 } 555 }
408 556
409 core.int buildCounterImportVariantsRequest = 0; 557 core.int buildCounterImportVariantsRequest = 0;
410 buildImportVariantsRequest() { 558 buildImportVariantsRequest() {
411 var o = new api.ImportVariantsRequest(); 559 var o = new api.ImportVariantsRequest();
412 buildCounterImportVariantsRequest++; 560 buildCounterImportVariantsRequest++;
413 if (buildCounterImportVariantsRequest < 3) { 561 if (buildCounterImportVariantsRequest < 3) {
414 o.format = "foo"; 562 o.format = "foo";
415 o.normalizeReferenceNames = true; 563 o.normalizeReferenceNames = true;
416 o.sourceUris = buildUnnamed1781(); 564 o.sourceUris = buildUnnamed1875();
417 o.variantSetId = "foo"; 565 o.variantSetId = "foo";
418 } 566 }
419 buildCounterImportVariantsRequest--; 567 buildCounterImportVariantsRequest--;
420 return o; 568 return o;
421 } 569 }
422 570
423 checkImportVariantsRequest(api.ImportVariantsRequest o) { 571 checkImportVariantsRequest(api.ImportVariantsRequest o) {
424 buildCounterImportVariantsRequest++; 572 buildCounterImportVariantsRequest++;
425 if (buildCounterImportVariantsRequest < 3) { 573 if (buildCounterImportVariantsRequest < 3) {
426 unittest.expect(o.format, unittest.equals('foo')); 574 unittest.expect(o.format, unittest.equals('foo'));
427 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); 575 unittest.expect(o.normalizeReferenceNames, unittest.isTrue);
428 checkUnnamed1781(o.sourceUris); 576 checkUnnamed1875(o.sourceUris);
429 unittest.expect(o.variantSetId, unittest.equals('foo')); 577 unittest.expect(o.variantSetId, unittest.equals('foo'));
430 } 578 }
431 buildCounterImportVariantsRequest--; 579 buildCounterImportVariantsRequest--;
432 } 580 }
433 581
434 buildUnnamed1782() { 582 buildUnnamed1876() {
435 var o = new core.List<core.String>(); 583 var o = new core.List<core.String>();
436 o.add("foo"); 584 o.add("foo");
437 o.add("foo"); 585 o.add("foo");
438 return o; 586 return o;
439 } 587 }
440 588
441 checkUnnamed1782(core.List<core.String> o) { 589 checkUnnamed1876(core.List<core.String> o) {
442 unittest.expect(o, unittest.hasLength(2)); 590 unittest.expect(o, unittest.hasLength(2));
443 unittest.expect(o[0], unittest.equals('foo')); 591 unittest.expect(o[0], unittest.equals('foo'));
444 unittest.expect(o[1], unittest.equals('foo')); 592 unittest.expect(o[1], unittest.equals('foo'));
445 } 593 }
446 594
447 core.int buildCounterImportVariantsResponse = 0; 595 core.int buildCounterImportVariantsResponse = 0;
448 buildImportVariantsResponse() { 596 buildImportVariantsResponse() {
449 var o = new api.ImportVariantsResponse(); 597 var o = new api.ImportVariantsResponse();
450 buildCounterImportVariantsResponse++; 598 buildCounterImportVariantsResponse++;
451 if (buildCounterImportVariantsResponse < 3) { 599 if (buildCounterImportVariantsResponse < 3) {
452 o.callSetIds = buildUnnamed1782(); 600 o.callSetIds = buildUnnamed1876();
453 } 601 }
454 buildCounterImportVariantsResponse--; 602 buildCounterImportVariantsResponse--;
455 return o; 603 return o;
456 } 604 }
457 605
458 checkImportVariantsResponse(api.ImportVariantsResponse o) { 606 checkImportVariantsResponse(api.ImportVariantsResponse o) {
459 buildCounterImportVariantsResponse++; 607 buildCounterImportVariantsResponse++;
460 if (buildCounterImportVariantsResponse < 3) { 608 if (buildCounterImportVariantsResponse < 3) {
461 checkUnnamed1782(o.callSetIds); 609 checkUnnamed1876(o.callSetIds);
462 } 610 }
463 buildCounterImportVariantsResponse--; 611 buildCounterImportVariantsResponse--;
464 } 612 }
465 613
466 buildUnnamed1783() { 614 buildUnnamed1877() {
467 var o = new core.List<api.CigarUnit>(); 615 var o = new core.List<api.CigarUnit>();
468 o.add(buildCigarUnit()); 616 o.add(buildCigarUnit());
469 o.add(buildCigarUnit()); 617 o.add(buildCigarUnit());
470 return o; 618 return o;
471 } 619 }
472 620
473 checkUnnamed1783(core.List<api.CigarUnit> o) { 621 checkUnnamed1877(core.List<api.CigarUnit> o) {
474 unittest.expect(o, unittest.hasLength(2)); 622 unittest.expect(o, unittest.hasLength(2));
475 checkCigarUnit(o[0]); 623 checkCigarUnit(o[0]);
476 checkCigarUnit(o[1]); 624 checkCigarUnit(o[1]);
477 } 625 }
478 626
479 core.int buildCounterLinearAlignment = 0; 627 core.int buildCounterLinearAlignment = 0;
480 buildLinearAlignment() { 628 buildLinearAlignment() {
481 var o = new api.LinearAlignment(); 629 var o = new api.LinearAlignment();
482 buildCounterLinearAlignment++; 630 buildCounterLinearAlignment++;
483 if (buildCounterLinearAlignment < 3) { 631 if (buildCounterLinearAlignment < 3) {
484 o.cigar = buildUnnamed1783(); 632 o.cigar = buildUnnamed1877();
485 o.mappingQuality = 42; 633 o.mappingQuality = 42;
486 o.position = buildPosition(); 634 o.position = buildPosition();
487 } 635 }
488 buildCounterLinearAlignment--; 636 buildCounterLinearAlignment--;
489 return o; 637 return o;
490 } 638 }
491 639
492 checkLinearAlignment(api.LinearAlignment o) { 640 checkLinearAlignment(api.LinearAlignment o) {
493 buildCounterLinearAlignment++; 641 buildCounterLinearAlignment++;
494 if (buildCounterLinearAlignment < 3) { 642 if (buildCounterLinearAlignment < 3) {
495 checkUnnamed1783(o.cigar); 643 checkUnnamed1877(o.cigar);
496 unittest.expect(o.mappingQuality, unittest.equals(42)); 644 unittest.expect(o.mappingQuality, unittest.equals(42));
497 checkPosition(o.position); 645 checkPosition(o.position);
498 } 646 }
499 buildCounterLinearAlignment--; 647 buildCounterLinearAlignment--;
500 } 648 }
501 649
502 core.int buildCounterListBasesResponse = 0; 650 core.int buildCounterListBasesResponse = 0;
503 buildListBasesResponse() { 651 buildListBasesResponse() {
504 var o = new api.ListBasesResponse(); 652 var o = new api.ListBasesResponse();
505 buildCounterListBasesResponse++; 653 buildCounterListBasesResponse++;
506 if (buildCounterListBasesResponse < 3) { 654 if (buildCounterListBasesResponse < 3) {
507 o.nextPageToken = "foo"; 655 o.nextPageToken = "foo";
508 o.offset = "foo"; 656 o.offset = "foo";
509 o.sequence = "foo"; 657 o.sequence = "foo";
510 } 658 }
511 buildCounterListBasesResponse--; 659 buildCounterListBasesResponse--;
512 return o; 660 return o;
513 } 661 }
514 662
515 checkListBasesResponse(api.ListBasesResponse o) { 663 checkListBasesResponse(api.ListBasesResponse o) {
516 buildCounterListBasesResponse++; 664 buildCounterListBasesResponse++;
517 if (buildCounterListBasesResponse < 3) { 665 if (buildCounterListBasesResponse < 3) {
518 unittest.expect(o.nextPageToken, unittest.equals('foo')); 666 unittest.expect(o.nextPageToken, unittest.equals('foo'));
519 unittest.expect(o.offset, unittest.equals('foo')); 667 unittest.expect(o.offset, unittest.equals('foo'));
520 unittest.expect(o.sequence, unittest.equals('foo')); 668 unittest.expect(o.sequence, unittest.equals('foo'));
521 } 669 }
522 buildCounterListBasesResponse--; 670 buildCounterListBasesResponse--;
523 } 671 }
524 672
525 buildUnnamed1784() { 673 buildUnnamed1878() {
526 var o = new core.List<api.CoverageBucket>(); 674 var o = new core.List<api.CoverageBucket>();
527 o.add(buildCoverageBucket()); 675 o.add(buildCoverageBucket());
528 o.add(buildCoverageBucket()); 676 o.add(buildCoverageBucket());
529 return o; 677 return o;
530 } 678 }
531 679
532 checkUnnamed1784(core.List<api.CoverageBucket> o) { 680 checkUnnamed1878(core.List<api.CoverageBucket> o) {
533 unittest.expect(o, unittest.hasLength(2)); 681 unittest.expect(o, unittest.hasLength(2));
534 checkCoverageBucket(o[0]); 682 checkCoverageBucket(o[0]);
535 checkCoverageBucket(o[1]); 683 checkCoverageBucket(o[1]);
536 } 684 }
537 685
538 core.int buildCounterListCoverageBucketsResponse = 0; 686 core.int buildCounterListCoverageBucketsResponse = 0;
539 buildListCoverageBucketsResponse() { 687 buildListCoverageBucketsResponse() {
540 var o = new api.ListCoverageBucketsResponse(); 688 var o = new api.ListCoverageBucketsResponse();
541 buildCounterListCoverageBucketsResponse++; 689 buildCounterListCoverageBucketsResponse++;
542 if (buildCounterListCoverageBucketsResponse < 3) { 690 if (buildCounterListCoverageBucketsResponse < 3) {
543 o.bucketWidth = "foo"; 691 o.bucketWidth = "foo";
544 o.coverageBuckets = buildUnnamed1784(); 692 o.coverageBuckets = buildUnnamed1878();
545 o.nextPageToken = "foo"; 693 o.nextPageToken = "foo";
546 } 694 }
547 buildCounterListCoverageBucketsResponse--; 695 buildCounterListCoverageBucketsResponse--;
548 return o; 696 return o;
549 } 697 }
550 698
551 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { 699 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) {
552 buildCounterListCoverageBucketsResponse++; 700 buildCounterListCoverageBucketsResponse++;
553 if (buildCounterListCoverageBucketsResponse < 3) { 701 if (buildCounterListCoverageBucketsResponse < 3) {
554 unittest.expect(o.bucketWidth, unittest.equals('foo')); 702 unittest.expect(o.bucketWidth, unittest.equals('foo'));
555 checkUnnamed1784(o.coverageBuckets); 703 checkUnnamed1878(o.coverageBuckets);
556 unittest.expect(o.nextPageToken, unittest.equals('foo')); 704 unittest.expect(o.nextPageToken, unittest.equals('foo'));
557 } 705 }
558 buildCounterListCoverageBucketsResponse--; 706 buildCounterListCoverageBucketsResponse--;
559 } 707 }
560 708
561 buildUnnamed1785() { 709 buildUnnamed1879() {
562 var o = new core.List<api.Dataset>(); 710 var o = new core.List<api.Dataset>();
563 o.add(buildDataset()); 711 o.add(buildDataset());
564 o.add(buildDataset()); 712 o.add(buildDataset());
565 return o; 713 return o;
566 } 714 }
567 715
568 checkUnnamed1785(core.List<api.Dataset> o) { 716 checkUnnamed1879(core.List<api.Dataset> o) {
569 unittest.expect(o, unittest.hasLength(2)); 717 unittest.expect(o, unittest.hasLength(2));
570 checkDataset(o[0]); 718 checkDataset(o[0]);
571 checkDataset(o[1]); 719 checkDataset(o[1]);
572 } 720 }
573 721
574 core.int buildCounterListDatasetsResponse = 0; 722 core.int buildCounterListDatasetsResponse = 0;
575 buildListDatasetsResponse() { 723 buildListDatasetsResponse() {
576 var o = new api.ListDatasetsResponse(); 724 var o = new api.ListDatasetsResponse();
577 buildCounterListDatasetsResponse++; 725 buildCounterListDatasetsResponse++;
578 if (buildCounterListDatasetsResponse < 3) { 726 if (buildCounterListDatasetsResponse < 3) {
579 o.datasets = buildUnnamed1785(); 727 o.datasets = buildUnnamed1879();
580 o.nextPageToken = "foo"; 728 o.nextPageToken = "foo";
581 } 729 }
582 buildCounterListDatasetsResponse--; 730 buildCounterListDatasetsResponse--;
583 return o; 731 return o;
584 } 732 }
585 733
586 checkListDatasetsResponse(api.ListDatasetsResponse o) { 734 checkListDatasetsResponse(api.ListDatasetsResponse o) {
587 buildCounterListDatasetsResponse++; 735 buildCounterListDatasetsResponse++;
588 if (buildCounterListDatasetsResponse < 3) { 736 if (buildCounterListDatasetsResponse < 3) {
589 checkUnnamed1785(o.datasets); 737 checkUnnamed1879(o.datasets);
590 unittest.expect(o.nextPageToken, unittest.equals('foo')); 738 unittest.expect(o.nextPageToken, unittest.equals('foo'));
591 } 739 }
592 buildCounterListDatasetsResponse--; 740 buildCounterListDatasetsResponse--;
593 } 741 }
594 742
595 buildUnnamed1786() { 743 buildUnnamed1880() {
596 var o = new core.List<api.Operation>(); 744 var o = new core.List<api.Operation>();
597 o.add(buildOperation()); 745 o.add(buildOperation());
598 o.add(buildOperation()); 746 o.add(buildOperation());
599 return o; 747 return o;
600 } 748 }
601 749
602 checkUnnamed1786(core.List<api.Operation> o) { 750 checkUnnamed1880(core.List<api.Operation> o) {
603 unittest.expect(o, unittest.hasLength(2)); 751 unittest.expect(o, unittest.hasLength(2));
604 checkOperation(o[0]); 752 checkOperation(o[0]);
605 checkOperation(o[1]); 753 checkOperation(o[1]);
606 } 754 }
607 755
608 core.int buildCounterListOperationsResponse = 0; 756 core.int buildCounterListOperationsResponse = 0;
609 buildListOperationsResponse() { 757 buildListOperationsResponse() {
610 var o = new api.ListOperationsResponse(); 758 var o = new api.ListOperationsResponse();
611 buildCounterListOperationsResponse++; 759 buildCounterListOperationsResponse++;
612 if (buildCounterListOperationsResponse < 3) { 760 if (buildCounterListOperationsResponse < 3) {
613 o.nextPageToken = "foo"; 761 o.nextPageToken = "foo";
614 o.operations = buildUnnamed1786(); 762 o.operations = buildUnnamed1880();
615 } 763 }
616 buildCounterListOperationsResponse--; 764 buildCounterListOperationsResponse--;
617 return o; 765 return o;
618 } 766 }
619 767
620 checkListOperationsResponse(api.ListOperationsResponse o) { 768 checkListOperationsResponse(api.ListOperationsResponse o) {
621 buildCounterListOperationsResponse++; 769 buildCounterListOperationsResponse++;
622 if (buildCounterListOperationsResponse < 3) { 770 if (buildCounterListOperationsResponse < 3) {
623 unittest.expect(o.nextPageToken, unittest.equals('foo')); 771 unittest.expect(o.nextPageToken, unittest.equals('foo'));
624 checkUnnamed1786(o.operations); 772 checkUnnamed1880(o.operations);
625 } 773 }
626 buildCounterListOperationsResponse--; 774 buildCounterListOperationsResponse--;
627 } 775 }
628 776
629 buildUnnamed1787() { 777 core.int buildCounterLogConfig = 0;
778 buildLogConfig() {
779 var o = new api.LogConfig();
780 buildCounterLogConfig++;
781 if (buildCounterLogConfig < 3) {
782 o.cloudAudit = buildCloudAuditOptions();
783 o.counter = buildCounterOptions();
784 o.dataAccess = buildDataAccessOptions();
785 }
786 buildCounterLogConfig--;
787 return o;
788 }
789
790 checkLogConfig(api.LogConfig o) {
791 buildCounterLogConfig++;
792 if (buildCounterLogConfig < 3) {
793 checkCloudAuditOptions(o.cloudAudit);
794 checkCounterOptions(o.counter);
795 checkDataAccessOptions(o.dataAccess);
796 }
797 buildCounterLogConfig--;
798 }
799
800 buildUnnamed1881() {
630 var o = new core.Map<core.String, core.Object>(); 801 var o = new core.Map<core.String, core.Object>();
631 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 802 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
632 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 803 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
633 return o; 804 return o;
634 } 805 }
635 806
636 checkUnnamed1787(core.Map<core.String, core.Object> o) { 807 checkUnnamed1881(core.Map<core.String, core.Object> o) {
637 unittest.expect(o, unittest.hasLength(2)); 808 unittest.expect(o, unittest.hasLength(2));
638 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); 809 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
639 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); 810 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
640 } 811 }
641 812
642 buildUnnamed1788() { 813 buildUnnamed1882() {
643 var o = new core.Map<core.String, core.Object>(); 814 var o = new core.Map<core.String, core.Object>();
644 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 815 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
645 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 816 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
646 return o; 817 return o;
647 } 818 }
648 819
649 checkUnnamed1788(core.Map<core.String, core.Object> o) { 820 checkUnnamed1882(core.Map<core.String, core.Object> o) {
650 unittest.expect(o, unittest.hasLength(2)); 821 unittest.expect(o, unittest.hasLength(2));
651 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); 822 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
652 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); 823 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
653 } 824 }
654 825
655 core.int buildCounterOperation = 0; 826 core.int buildCounterOperation = 0;
656 buildOperation() { 827 buildOperation() {
657 var o = new api.Operation(); 828 var o = new api.Operation();
658 buildCounterOperation++; 829 buildCounterOperation++;
659 if (buildCounterOperation < 3) { 830 if (buildCounterOperation < 3) {
660 o.done = true; 831 o.done = true;
661 o.error = buildStatus(); 832 o.error = buildStatus();
662 o.metadata = buildUnnamed1787(); 833 o.metadata = buildUnnamed1881();
663 o.name = "foo"; 834 o.name = "foo";
664 o.response = buildUnnamed1788(); 835 o.response = buildUnnamed1882();
665 } 836 }
666 buildCounterOperation--; 837 buildCounterOperation--;
667 return o; 838 return o;
668 } 839 }
669 840
670 checkOperation(api.Operation o) { 841 checkOperation(api.Operation o) {
671 buildCounterOperation++; 842 buildCounterOperation++;
672 if (buildCounterOperation < 3) { 843 if (buildCounterOperation < 3) {
673 unittest.expect(o.done, unittest.isTrue); 844 unittest.expect(o.done, unittest.isTrue);
674 checkStatus(o.error); 845 checkStatus(o.error);
675 checkUnnamed1787(o.metadata); 846 checkUnnamed1881(o.metadata);
676 unittest.expect(o.name, unittest.equals('foo')); 847 unittest.expect(o.name, unittest.equals('foo'));
677 checkUnnamed1788(o.response); 848 checkUnnamed1882(o.response);
678 } 849 }
679 buildCounterOperation--; 850 buildCounterOperation--;
680 } 851 }
681 852
682 core.int buildCounterOperationEvent = 0; 853 core.int buildCounterOperationEvent = 0;
683 buildOperationEvent() { 854 buildOperationEvent() {
684 var o = new api.OperationEvent(); 855 var o = new api.OperationEvent();
685 buildCounterOperationEvent++; 856 buildCounterOperationEvent++;
686 if (buildCounterOperationEvent < 3) { 857 if (buildCounterOperationEvent < 3) {
687 o.description = "foo"; 858 o.description = "foo";
688 } 859 }
689 buildCounterOperationEvent--; 860 buildCounterOperationEvent--;
690 return o; 861 return o;
691 } 862 }
692 863
693 checkOperationEvent(api.OperationEvent o) { 864 checkOperationEvent(api.OperationEvent o) {
694 buildCounterOperationEvent++; 865 buildCounterOperationEvent++;
695 if (buildCounterOperationEvent < 3) { 866 if (buildCounterOperationEvent < 3) {
696 unittest.expect(o.description, unittest.equals('foo')); 867 unittest.expect(o.description, unittest.equals('foo'));
697 } 868 }
698 buildCounterOperationEvent--; 869 buildCounterOperationEvent--;
699 } 870 }
700 871
701 buildUnnamed1789() { 872 buildUnnamed1883() {
702 var o = new core.List<api.OperationEvent>(); 873 var o = new core.List<api.OperationEvent>();
703 o.add(buildOperationEvent()); 874 o.add(buildOperationEvent());
704 o.add(buildOperationEvent()); 875 o.add(buildOperationEvent());
705 return o; 876 return o;
706 } 877 }
707 878
708 checkUnnamed1789(core.List<api.OperationEvent> o) { 879 checkUnnamed1883(core.List<api.OperationEvent> o) {
709 unittest.expect(o, unittest.hasLength(2)); 880 unittest.expect(o, unittest.hasLength(2));
710 checkOperationEvent(o[0]); 881 checkOperationEvent(o[0]);
711 checkOperationEvent(o[1]); 882 checkOperationEvent(o[1]);
712 } 883 }
713 884
714 buildUnnamed1790() { 885 buildUnnamed1884() {
715 var o = new core.Map<core.String, core.Object>(); 886 var o = new core.Map<core.String, core.Object>();
716 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 887 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
717 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 888 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
718 return o; 889 return o;
719 } 890 }
720 891
721 checkUnnamed1790(core.Map<core.String, core.Object> o) { 892 checkUnnamed1884(core.Map<core.String, core.Object> o) {
722 unittest.expect(o, unittest.hasLength(2)); 893 unittest.expect(o, unittest.hasLength(2));
723 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); 894 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
724 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); 895 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
725 } 896 }
726 897
727 core.int buildCounterOperationMetadata = 0; 898 core.int buildCounterOperationMetadata = 0;
728 buildOperationMetadata() { 899 buildOperationMetadata() {
729 var o = new api.OperationMetadata(); 900 var o = new api.OperationMetadata();
730 buildCounterOperationMetadata++; 901 buildCounterOperationMetadata++;
731 if (buildCounterOperationMetadata < 3) { 902 if (buildCounterOperationMetadata < 3) {
732 o.createTime = "foo"; 903 o.createTime = "foo";
733 o.events = buildUnnamed1789(); 904 o.events = buildUnnamed1883();
734 o.projectId = "foo"; 905 o.projectId = "foo";
735 o.request = buildUnnamed1790(); 906 o.request = buildUnnamed1884();
736 } 907 }
737 buildCounterOperationMetadata--; 908 buildCounterOperationMetadata--;
738 return o; 909 return o;
739 } 910 }
740 911
741 checkOperationMetadata(api.OperationMetadata o) { 912 checkOperationMetadata(api.OperationMetadata o) {
742 buildCounterOperationMetadata++; 913 buildCounterOperationMetadata++;
743 if (buildCounterOperationMetadata < 3) { 914 if (buildCounterOperationMetadata < 3) {
744 unittest.expect(o.createTime, unittest.equals('foo')); 915 unittest.expect(o.createTime, unittest.equals('foo'));
745 checkUnnamed1789(o.events); 916 checkUnnamed1883(o.events);
746 unittest.expect(o.projectId, unittest.equals('foo')); 917 unittest.expect(o.projectId, unittest.equals('foo'));
747 checkUnnamed1790(o.request); 918 checkUnnamed1884(o.request);
748 } 919 }
749 buildCounterOperationMetadata--; 920 buildCounterOperationMetadata--;
750 } 921 }
751 922
923 buildUnnamed1885() {
924 var o = new core.List<api.Binding>();
925 o.add(buildBinding());
926 o.add(buildBinding());
927 return o;
928 }
929
930 checkUnnamed1885(core.List<api.Binding> o) {
931 unittest.expect(o, unittest.hasLength(2));
932 checkBinding(o[0]);
933 checkBinding(o[1]);
934 }
935
936 buildUnnamed1886() {
937 var o = new core.List<api.Rule>();
938 o.add(buildRule());
939 o.add(buildRule());
940 return o;
941 }
942
943 checkUnnamed1886(core.List<api.Rule> o) {
944 unittest.expect(o, unittest.hasLength(2));
945 checkRule(o[0]);
946 checkRule(o[1]);
947 }
948
949 core.int buildCounterPolicy = 0;
950 buildPolicy() {
951 var o = new api.Policy();
952 buildCounterPolicy++;
953 if (buildCounterPolicy < 3) {
954 o.bindings = buildUnnamed1885();
955 o.etag = "foo";
956 o.rules = buildUnnamed1886();
957 o.version = 42;
958 }
959 buildCounterPolicy--;
960 return o;
961 }
962
963 checkPolicy(api.Policy o) {
964 buildCounterPolicy++;
965 if (buildCounterPolicy < 3) {
966 checkUnnamed1885(o.bindings);
967 unittest.expect(o.etag, unittest.equals('foo'));
968 checkUnnamed1886(o.rules);
969 unittest.expect(o.version, unittest.equals(42));
970 }
971 buildCounterPolicy--;
972 }
973
752 core.int buildCounterPosition = 0; 974 core.int buildCounterPosition = 0;
753 buildPosition() { 975 buildPosition() {
754 var o = new api.Position(); 976 var o = new api.Position();
755 buildCounterPosition++; 977 buildCounterPosition++;
756 if (buildCounterPosition < 3) { 978 if (buildCounterPosition < 3) {
757 o.position = "foo"; 979 o.position = "foo";
758 o.referenceName = "foo"; 980 o.referenceName = "foo";
759 o.reverseStrand = true; 981 o.reverseStrand = true;
760 } 982 }
761 buildCounterPosition--; 983 buildCounterPosition--;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 checkRange(api.Range o) { 1037 checkRange(api.Range o) {
816 buildCounterRange++; 1038 buildCounterRange++;
817 if (buildCounterRange < 3) { 1039 if (buildCounterRange < 3) {
818 unittest.expect(o.end, unittest.equals('foo')); 1040 unittest.expect(o.end, unittest.equals('foo'));
819 unittest.expect(o.referenceName, unittest.equals('foo')); 1041 unittest.expect(o.referenceName, unittest.equals('foo'));
820 unittest.expect(o.start, unittest.equals('foo')); 1042 unittest.expect(o.start, unittest.equals('foo'));
821 } 1043 }
822 buildCounterRange--; 1044 buildCounterRange--;
823 } 1045 }
824 1046
825 buildUnnamed1791() { 1047 buildUnnamed1887() {
826 var o = new core.List<core.int>(); 1048 var o = new core.List<core.int>();
827 o.add(42); 1049 o.add(42);
828 o.add(42); 1050 o.add(42);
829 return o; 1051 return o;
830 } 1052 }
831 1053
832 checkUnnamed1791(core.List<core.int> o) { 1054 checkUnnamed1887(core.List<core.int> o) {
833 unittest.expect(o, unittest.hasLength(2)); 1055 unittest.expect(o, unittest.hasLength(2));
834 unittest.expect(o[0], unittest.equals(42)); 1056 unittest.expect(o[0], unittest.equals(42));
835 unittest.expect(o[1], unittest.equals(42)); 1057 unittest.expect(o[1], unittest.equals(42));
836 } 1058 }
837 1059
838 buildUnnamed1792() { 1060 buildUnnamed1888() {
839 var o = new core.List<core.Object>(); 1061 var o = new core.List<core.Object>();
840 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1062 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
841 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1063 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
842 return o; 1064 return o;
843 } 1065 }
844 1066
845 checkUnnamed1792(core.List<core.Object> o) { 1067 checkUnnamed1888(core.List<core.Object> o) {
846 unittest.expect(o, unittest.hasLength(2)); 1068 unittest.expect(o, unittest.hasLength(2));
847 var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength( 3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], u nittest.equals('foo')); 1069 var casted9 = (o[0]) as core.Map; unittest.expect(casted9, unittest.hasLength( 3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], u nittest.equals('foo'));
848 var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLengt h(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string "], unittest.equals('foo')); 1070 var casted10 = (o[1]) as core.Map; unittest.expect(casted10, unittest.hasLengt h(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string "], unittest.equals('foo'));
849 } 1071 }
850 1072
851 buildUnnamed1793() { 1073 buildUnnamed1889() {
852 var o = new core.Map<core.String, core.List<core.Object>>(); 1074 var o = new core.Map<core.String, core.List<core.Object>>();
853 o["x"] = buildUnnamed1792(); 1075 o["x"] = buildUnnamed1888();
854 o["y"] = buildUnnamed1792(); 1076 o["y"] = buildUnnamed1888();
855 return o; 1077 return o;
856 } 1078 }
857 1079
858 checkUnnamed1793(core.Map<core.String, core.List<core.Object>> o) { 1080 checkUnnamed1889(core.Map<core.String, core.List<core.Object>> o) {
859 unittest.expect(o, unittest.hasLength(2)); 1081 unittest.expect(o, unittest.hasLength(2));
860 checkUnnamed1792(o["x"]); 1082 checkUnnamed1888(o["x"]);
861 checkUnnamed1792(o["y"]); 1083 checkUnnamed1888(o["y"]);
862 } 1084 }
863 1085
864 core.int buildCounterRead = 0; 1086 core.int buildCounterRead = 0;
865 buildRead() { 1087 buildRead() {
866 var o = new api.Read(); 1088 var o = new api.Read();
867 buildCounterRead++; 1089 buildCounterRead++;
868 if (buildCounterRead < 3) { 1090 if (buildCounterRead < 3) {
869 o.alignedQuality = buildUnnamed1791(); 1091 o.alignedQuality = buildUnnamed1887();
870 o.alignedSequence = "foo"; 1092 o.alignedSequence = "foo";
871 o.alignment = buildLinearAlignment(); 1093 o.alignment = buildLinearAlignment();
872 o.duplicateFragment = true; 1094 o.duplicateFragment = true;
873 o.failedVendorQualityChecks = true; 1095 o.failedVendorQualityChecks = true;
874 o.fragmentLength = 42; 1096 o.fragmentLength = 42;
875 o.fragmentName = "foo"; 1097 o.fragmentName = "foo";
876 o.id = "foo"; 1098 o.id = "foo";
877 o.info = buildUnnamed1793(); 1099 o.info = buildUnnamed1889();
878 o.nextMatePosition = buildPosition(); 1100 o.nextMatePosition = buildPosition();
879 o.numberReads = 42; 1101 o.numberReads = 42;
880 o.properPlacement = true; 1102 o.properPlacement = true;
881 o.readGroupId = "foo"; 1103 o.readGroupId = "foo";
882 o.readGroupSetId = "foo"; 1104 o.readGroupSetId = "foo";
883 o.readNumber = 42; 1105 o.readNumber = 42;
884 o.secondaryAlignment = true; 1106 o.secondaryAlignment = true;
885 o.supplementaryAlignment = true; 1107 o.supplementaryAlignment = true;
886 } 1108 }
887 buildCounterRead--; 1109 buildCounterRead--;
888 return o; 1110 return o;
889 } 1111 }
890 1112
891 checkRead(api.Read o) { 1113 checkRead(api.Read o) {
892 buildCounterRead++; 1114 buildCounterRead++;
893 if (buildCounterRead < 3) { 1115 if (buildCounterRead < 3) {
894 checkUnnamed1791(o.alignedQuality); 1116 checkUnnamed1887(o.alignedQuality);
895 unittest.expect(o.alignedSequence, unittest.equals('foo')); 1117 unittest.expect(o.alignedSequence, unittest.equals('foo'));
896 checkLinearAlignment(o.alignment); 1118 checkLinearAlignment(o.alignment);
897 unittest.expect(o.duplicateFragment, unittest.isTrue); 1119 unittest.expect(o.duplicateFragment, unittest.isTrue);
898 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); 1120 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue);
899 unittest.expect(o.fragmentLength, unittest.equals(42)); 1121 unittest.expect(o.fragmentLength, unittest.equals(42));
900 unittest.expect(o.fragmentName, unittest.equals('foo')); 1122 unittest.expect(o.fragmentName, unittest.equals('foo'));
901 unittest.expect(o.id, unittest.equals('foo')); 1123 unittest.expect(o.id, unittest.equals('foo'));
902 checkUnnamed1793(o.info); 1124 checkUnnamed1889(o.info);
903 checkPosition(o.nextMatePosition); 1125 checkPosition(o.nextMatePosition);
904 unittest.expect(o.numberReads, unittest.equals(42)); 1126 unittest.expect(o.numberReads, unittest.equals(42));
905 unittest.expect(o.properPlacement, unittest.isTrue); 1127 unittest.expect(o.properPlacement, unittest.isTrue);
906 unittest.expect(o.readGroupId, unittest.equals('foo')); 1128 unittest.expect(o.readGroupId, unittest.equals('foo'));
907 unittest.expect(o.readGroupSetId, unittest.equals('foo')); 1129 unittest.expect(o.readGroupSetId, unittest.equals('foo'));
908 unittest.expect(o.readNumber, unittest.equals(42)); 1130 unittest.expect(o.readNumber, unittest.equals(42));
909 unittest.expect(o.secondaryAlignment, unittest.isTrue); 1131 unittest.expect(o.secondaryAlignment, unittest.isTrue);
910 unittest.expect(o.supplementaryAlignment, unittest.isTrue); 1132 unittest.expect(o.supplementaryAlignment, unittest.isTrue);
911 } 1133 }
912 buildCounterRead--; 1134 buildCounterRead--;
913 } 1135 }
914 1136
915 buildUnnamed1794() { 1137 buildUnnamed1890() {
916 var o = new core.List<core.Object>(); 1138 var o = new core.List<core.Object>();
917 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1139 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
918 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1140 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
919 return o; 1141 return o;
920 } 1142 }
921 1143
922 checkUnnamed1794(core.List<core.Object> o) { 1144 checkUnnamed1890(core.List<core.Object> o) {
923 unittest.expect(o, unittest.hasLength(2)); 1145 unittest.expect(o, unittest.hasLength(2));
924 var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLengt h(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string "], unittest.equals('foo')); 1146 var casted11 = (o[0]) as core.Map; unittest.expect(casted11, unittest.hasLengt h(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string "], unittest.equals('foo'));
925 var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLengt h(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string "], unittest.equals('foo')); 1147 var casted12 = (o[1]) as core.Map; unittest.expect(casted12, unittest.hasLengt h(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string "], unittest.equals('foo'));
926 } 1148 }
927 1149
928 buildUnnamed1795() { 1150 buildUnnamed1891() {
929 var o = new core.Map<core.String, core.List<core.Object>>(); 1151 var o = new core.Map<core.String, core.List<core.Object>>();
930 o["x"] = buildUnnamed1794(); 1152 o["x"] = buildUnnamed1890();
931 o["y"] = buildUnnamed1794(); 1153 o["y"] = buildUnnamed1890();
932 return o; 1154 return o;
933 } 1155 }
934 1156
935 checkUnnamed1795(core.Map<core.String, core.List<core.Object>> o) { 1157 checkUnnamed1891(core.Map<core.String, core.List<core.Object>> o) {
936 unittest.expect(o, unittest.hasLength(2)); 1158 unittest.expect(o, unittest.hasLength(2));
937 checkUnnamed1794(o["x"]); 1159 checkUnnamed1890(o["x"]);
938 checkUnnamed1794(o["y"]); 1160 checkUnnamed1890(o["y"]);
939 } 1161 }
940 1162
941 buildUnnamed1796() { 1163 buildUnnamed1892() {
942 var o = new core.List<api.Program>(); 1164 var o = new core.List<api.Program>();
943 o.add(buildProgram()); 1165 o.add(buildProgram());
944 o.add(buildProgram()); 1166 o.add(buildProgram());
945 return o; 1167 return o;
946 } 1168 }
947 1169
948 checkUnnamed1796(core.List<api.Program> o) { 1170 checkUnnamed1892(core.List<api.Program> o) {
949 unittest.expect(o, unittest.hasLength(2)); 1171 unittest.expect(o, unittest.hasLength(2));
950 checkProgram(o[0]); 1172 checkProgram(o[0]);
951 checkProgram(o[1]); 1173 checkProgram(o[1]);
952 } 1174 }
953 1175
954 core.int buildCounterReadGroup = 0; 1176 core.int buildCounterReadGroup = 0;
955 buildReadGroup() { 1177 buildReadGroup() {
956 var o = new api.ReadGroup(); 1178 var o = new api.ReadGroup();
957 buildCounterReadGroup++; 1179 buildCounterReadGroup++;
958 if (buildCounterReadGroup < 3) { 1180 if (buildCounterReadGroup < 3) {
959 o.datasetId = "foo"; 1181 o.datasetId = "foo";
960 o.description = "foo"; 1182 o.description = "foo";
961 o.experiment = buildExperiment(); 1183 o.experiment = buildExperiment();
962 o.id = "foo"; 1184 o.id = "foo";
963 o.info = buildUnnamed1795(); 1185 o.info = buildUnnamed1891();
964 o.name = "foo"; 1186 o.name = "foo";
965 o.predictedInsertSize = 42; 1187 o.predictedInsertSize = 42;
966 o.programs = buildUnnamed1796(); 1188 o.programs = buildUnnamed1892();
967 o.referenceSetId = "foo"; 1189 o.referenceSetId = "foo";
968 o.sampleId = "foo"; 1190 o.sampleId = "foo";
969 } 1191 }
970 buildCounterReadGroup--; 1192 buildCounterReadGroup--;
971 return o; 1193 return o;
972 } 1194 }
973 1195
974 checkReadGroup(api.ReadGroup o) { 1196 checkReadGroup(api.ReadGroup o) {
975 buildCounterReadGroup++; 1197 buildCounterReadGroup++;
976 if (buildCounterReadGroup < 3) { 1198 if (buildCounterReadGroup < 3) {
977 unittest.expect(o.datasetId, unittest.equals('foo')); 1199 unittest.expect(o.datasetId, unittest.equals('foo'));
978 unittest.expect(o.description, unittest.equals('foo')); 1200 unittest.expect(o.description, unittest.equals('foo'));
979 checkExperiment(o.experiment); 1201 checkExperiment(o.experiment);
980 unittest.expect(o.id, unittest.equals('foo')); 1202 unittest.expect(o.id, unittest.equals('foo'));
981 checkUnnamed1795(o.info); 1203 checkUnnamed1891(o.info);
982 unittest.expect(o.name, unittest.equals('foo')); 1204 unittest.expect(o.name, unittest.equals('foo'));
983 unittest.expect(o.predictedInsertSize, unittest.equals(42)); 1205 unittest.expect(o.predictedInsertSize, unittest.equals(42));
984 checkUnnamed1796(o.programs); 1206 checkUnnamed1892(o.programs);
985 unittest.expect(o.referenceSetId, unittest.equals('foo')); 1207 unittest.expect(o.referenceSetId, unittest.equals('foo'));
986 unittest.expect(o.sampleId, unittest.equals('foo')); 1208 unittest.expect(o.sampleId, unittest.equals('foo'));
987 } 1209 }
988 buildCounterReadGroup--; 1210 buildCounterReadGroup--;
989 } 1211 }
990 1212
991 buildUnnamed1797() { 1213 buildUnnamed1893() {
992 var o = new core.List<core.Object>(); 1214 var o = new core.List<core.Object>();
993 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1215 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
994 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 1216 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
995 return o; 1217 return o;
996 } 1218 }
997 1219
998 checkUnnamed1797(core.List<core.Object> o) { 1220 checkUnnamed1893(core.List<core.Object> o) {
999 unittest.expect(o, unittest.hasLength(2)); 1221 unittest.expect(o, unittest.hasLength(2));
1000 var casted13 = (o[0]) as core.Map; unittest.expect(casted13, unittest.hasLengt h(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string "], unittest.equals('foo')); 1222 var casted13 = (o[0]) as core.Map; unittest.expect(casted13, unittest.hasLengt h(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string "], unittest.equals('foo'));
1001 var casted14 = (o[1]) as core.Map; unittest.expect(casted14, unittest.hasLengt h(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string "], unittest.equals('foo')); 1223 var casted14 = (o[1]) as core.Map; unittest.expect(casted14, unittest.hasLengt h(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string "], unittest.equals('foo'));
1002 } 1224 }
1003 1225
1004 buildUnnamed1798() { 1226 buildUnnamed1894() {
1005 var o = new core.Map<core.String, core.List<core.Object>>(); 1227 var o = new core.Map<core.String, core.List<core.Object>>();
1006 o["x"] = buildUnnamed1797(); 1228 o["x"] = buildUnnamed1893();
1007 o["y"] = buildUnnamed1797(); 1229 o["y"] = buildUnnamed1893();
1008 return o; 1230 return o;
1009 } 1231 }
1010 1232
1011 checkUnnamed1798(core.Map<core.String, core.List<core.Object>> o) { 1233 checkUnnamed1894(core.Map<core.String, core.List<core.Object>> o) {
1012 unittest.expect(o, unittest.hasLength(2)); 1234 unittest.expect(o, unittest.hasLength(2));
1013 checkUnnamed1797(o["x"]); 1235 checkUnnamed1893(o["x"]);
1014 checkUnnamed1797(o["y"]); 1236 checkUnnamed1893(o["y"]);
1015 } 1237 }
1016 1238
1017 buildUnnamed1799() { 1239 buildUnnamed1895() {
1018 var o = new core.List<api.ReadGroup>(); 1240 var o = new core.List<api.ReadGroup>();
1019 o.add(buildReadGroup()); 1241 o.add(buildReadGroup());
1020 o.add(buildReadGroup()); 1242 o.add(buildReadGroup());
1021 return o; 1243 return o;
1022 } 1244 }
1023 1245
1024 checkUnnamed1799(core.List<api.ReadGroup> o) { 1246 checkUnnamed1895(core.List<api.ReadGroup> o) {
1025 unittest.expect(o, unittest.hasLength(2)); 1247 unittest.expect(o, unittest.hasLength(2));
1026 checkReadGroup(o[0]); 1248 checkReadGroup(o[0]);
1027 checkReadGroup(o[1]); 1249 checkReadGroup(o[1]);
1028 } 1250 }
1029 1251
1030 core.int buildCounterReadGroupSet = 0; 1252 core.int buildCounterReadGroupSet = 0;
1031 buildReadGroupSet() { 1253 buildReadGroupSet() {
1032 var o = new api.ReadGroupSet(); 1254 var o = new api.ReadGroupSet();
1033 buildCounterReadGroupSet++; 1255 buildCounterReadGroupSet++;
1034 if (buildCounterReadGroupSet < 3) { 1256 if (buildCounterReadGroupSet < 3) {
1035 o.datasetId = "foo"; 1257 o.datasetId = "foo";
1036 o.filename = "foo"; 1258 o.filename = "foo";
1037 o.id = "foo"; 1259 o.id = "foo";
1038 o.info = buildUnnamed1798(); 1260 o.info = buildUnnamed1894();
1039 o.name = "foo"; 1261 o.name = "foo";
1040 o.readGroups = buildUnnamed1799(); 1262 o.readGroups = buildUnnamed1895();
1041 o.referenceSetId = "foo"; 1263 o.referenceSetId = "foo";
1042 } 1264 }
1043 buildCounterReadGroupSet--; 1265 buildCounterReadGroupSet--;
1044 return o; 1266 return o;
1045 } 1267 }
1046 1268
1047 checkReadGroupSet(api.ReadGroupSet o) { 1269 checkReadGroupSet(api.ReadGroupSet o) {
1048 buildCounterReadGroupSet++; 1270 buildCounterReadGroupSet++;
1049 if (buildCounterReadGroupSet < 3) { 1271 if (buildCounterReadGroupSet < 3) {
1050 unittest.expect(o.datasetId, unittest.equals('foo')); 1272 unittest.expect(o.datasetId, unittest.equals('foo'));
1051 unittest.expect(o.filename, unittest.equals('foo')); 1273 unittest.expect(o.filename, unittest.equals('foo'));
1052 unittest.expect(o.id, unittest.equals('foo')); 1274 unittest.expect(o.id, unittest.equals('foo'));
1053 checkUnnamed1798(o.info); 1275 checkUnnamed1894(o.info);
1054 unittest.expect(o.name, unittest.equals('foo')); 1276 unittest.expect(o.name, unittest.equals('foo'));
1055 checkUnnamed1799(o.readGroups); 1277 checkUnnamed1895(o.readGroups);
1056 unittest.expect(o.referenceSetId, unittest.equals('foo')); 1278 unittest.expect(o.referenceSetId, unittest.equals('foo'));
1057 } 1279 }
1058 buildCounterReadGroupSet--; 1280 buildCounterReadGroupSet--;
1059 } 1281 }
1060 1282
1061 buildUnnamed1800() { 1283 buildUnnamed1896() {
1062 var o = new core.List<core.String>(); 1284 var o = new core.List<core.String>();
1063 o.add("foo"); 1285 o.add("foo");
1064 o.add("foo"); 1286 o.add("foo");
1065 return o; 1287 return o;
1066 } 1288 }
1067 1289
1068 checkUnnamed1800(core.List<core.String> o) { 1290 checkUnnamed1896(core.List<core.String> o) {
1069 unittest.expect(o, unittest.hasLength(2)); 1291 unittest.expect(o, unittest.hasLength(2));
1070 unittest.expect(o[0], unittest.equals('foo')); 1292 unittest.expect(o[0], unittest.equals('foo'));
1071 unittest.expect(o[1], unittest.equals('foo')); 1293 unittest.expect(o[1], unittest.equals('foo'));
1072 } 1294 }
1073 1295
1074 core.int buildCounterReference = 0; 1296 core.int buildCounterReference = 0;
1075 buildReference() { 1297 buildReference() {
1076 var o = new api.Reference(); 1298 var o = new api.Reference();
1077 buildCounterReference++; 1299 buildCounterReference++;
1078 if (buildCounterReference < 3) { 1300 if (buildCounterReference < 3) {
1079 o.id = "foo"; 1301 o.id = "foo";
1080 o.length = "foo"; 1302 o.length = "foo";
1081 o.md5checksum = "foo"; 1303 o.md5checksum = "foo";
1082 o.name = "foo"; 1304 o.name = "foo";
1083 o.ncbiTaxonId = 42; 1305 o.ncbiTaxonId = 42;
1084 o.sourceAccessions = buildUnnamed1800(); 1306 o.sourceAccessions = buildUnnamed1896();
1085 o.sourceUri = "foo"; 1307 o.sourceUri = "foo";
1086 } 1308 }
1087 buildCounterReference--; 1309 buildCounterReference--;
1088 return o; 1310 return o;
1089 } 1311 }
1090 1312
1091 checkReference(api.Reference o) { 1313 checkReference(api.Reference o) {
1092 buildCounterReference++; 1314 buildCounterReference++;
1093 if (buildCounterReference < 3) { 1315 if (buildCounterReference < 3) {
1094 unittest.expect(o.id, unittest.equals('foo')); 1316 unittest.expect(o.id, unittest.equals('foo'));
1095 unittest.expect(o.length, unittest.equals('foo')); 1317 unittest.expect(o.length, unittest.equals('foo'));
1096 unittest.expect(o.md5checksum, unittest.equals('foo')); 1318 unittest.expect(o.md5checksum, unittest.equals('foo'));
1097 unittest.expect(o.name, unittest.equals('foo')); 1319 unittest.expect(o.name, unittest.equals('foo'));
1098 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); 1320 unittest.expect(o.ncbiTaxonId, unittest.equals(42));
1099 checkUnnamed1800(o.sourceAccessions); 1321 checkUnnamed1896(o.sourceAccessions);
1100 unittest.expect(o.sourceUri, unittest.equals('foo')); 1322 unittest.expect(o.sourceUri, unittest.equals('foo'));
1101 } 1323 }
1102 buildCounterReference--; 1324 buildCounterReference--;
1103 } 1325 }
1104 1326
1105 core.int buildCounterReferenceBound = 0; 1327 core.int buildCounterReferenceBound = 0;
1106 buildReferenceBound() { 1328 buildReferenceBound() {
1107 var o = new api.ReferenceBound(); 1329 var o = new api.ReferenceBound();
1108 buildCounterReferenceBound++; 1330 buildCounterReferenceBound++;
1109 if (buildCounterReferenceBound < 3) { 1331 if (buildCounterReferenceBound < 3) {
1110 o.referenceName = "foo"; 1332 o.referenceName = "foo";
1111 o.upperBound = "foo"; 1333 o.upperBound = "foo";
1112 } 1334 }
1113 buildCounterReferenceBound--; 1335 buildCounterReferenceBound--;
1114 return o; 1336 return o;
1115 } 1337 }
1116 1338
1117 checkReferenceBound(api.ReferenceBound o) { 1339 checkReferenceBound(api.ReferenceBound o) {
1118 buildCounterReferenceBound++; 1340 buildCounterReferenceBound++;
1119 if (buildCounterReferenceBound < 3) { 1341 if (buildCounterReferenceBound < 3) {
1120 unittest.expect(o.referenceName, unittest.equals('foo')); 1342 unittest.expect(o.referenceName, unittest.equals('foo'));
1121 unittest.expect(o.upperBound, unittest.equals('foo')); 1343 unittest.expect(o.upperBound, unittest.equals('foo'));
1122 } 1344 }
1123 buildCounterReferenceBound--; 1345 buildCounterReferenceBound--;
1124 } 1346 }
1125 1347
1126 buildUnnamed1801() { 1348 buildUnnamed1897() {
1127 var o = new core.List<core.String>(); 1349 var o = new core.List<core.String>();
1128 o.add("foo"); 1350 o.add("foo");
1129 o.add("foo"); 1351 o.add("foo");
1130 return o; 1352 return o;
1131 } 1353 }
1132 1354
1133 checkUnnamed1801(core.List<core.String> o) { 1355 checkUnnamed1897(core.List<core.String> o) {
1134 unittest.expect(o, unittest.hasLength(2)); 1356 unittest.expect(o, unittest.hasLength(2));
1135 unittest.expect(o[0], unittest.equals('foo')); 1357 unittest.expect(o[0], unittest.equals('foo'));
1136 unittest.expect(o[1], unittest.equals('foo')); 1358 unittest.expect(o[1], unittest.equals('foo'));
1137 } 1359 }
1138 1360
1139 buildUnnamed1802() { 1361 buildUnnamed1898() {
1140 var o = new core.List<core.String>(); 1362 var o = new core.List<core.String>();
1141 o.add("foo"); 1363 o.add("foo");
1142 o.add("foo"); 1364 o.add("foo");
1143 return o; 1365 return o;
1144 } 1366 }
1145 1367
1146 checkUnnamed1802(core.List<core.String> o) { 1368 checkUnnamed1898(core.List<core.String> o) {
1147 unittest.expect(o, unittest.hasLength(2)); 1369 unittest.expect(o, unittest.hasLength(2));
1148 unittest.expect(o[0], unittest.equals('foo')); 1370 unittest.expect(o[0], unittest.equals('foo'));
1149 unittest.expect(o[1], unittest.equals('foo')); 1371 unittest.expect(o[1], unittest.equals('foo'));
1150 } 1372 }
1151 1373
1152 core.int buildCounterReferenceSet = 0; 1374 core.int buildCounterReferenceSet = 0;
1153 buildReferenceSet() { 1375 buildReferenceSet() {
1154 var o = new api.ReferenceSet(); 1376 var o = new api.ReferenceSet();
1155 buildCounterReferenceSet++; 1377 buildCounterReferenceSet++;
1156 if (buildCounterReferenceSet < 3) { 1378 if (buildCounterReferenceSet < 3) {
1157 o.assemblyId = "foo"; 1379 o.assemblyId = "foo";
1158 o.description = "foo"; 1380 o.description = "foo";
1159 o.id = "foo"; 1381 o.id = "foo";
1160 o.md5checksum = "foo"; 1382 o.md5checksum = "foo";
1161 o.ncbiTaxonId = 42; 1383 o.ncbiTaxonId = 42;
1162 o.referenceIds = buildUnnamed1801(); 1384 o.referenceIds = buildUnnamed1897();
1163 o.sourceAccessions = buildUnnamed1802(); 1385 o.sourceAccessions = buildUnnamed1898();
1164 o.sourceUri = "foo"; 1386 o.sourceUri = "foo";
1165 } 1387 }
1166 buildCounterReferenceSet--; 1388 buildCounterReferenceSet--;
1167 return o; 1389 return o;
1168 } 1390 }
1169 1391
1170 checkReferenceSet(api.ReferenceSet o) { 1392 checkReferenceSet(api.ReferenceSet o) {
1171 buildCounterReferenceSet++; 1393 buildCounterReferenceSet++;
1172 if (buildCounterReferenceSet < 3) { 1394 if (buildCounterReferenceSet < 3) {
1173 unittest.expect(o.assemblyId, unittest.equals('foo')); 1395 unittest.expect(o.assemblyId, unittest.equals('foo'));
1174 unittest.expect(o.description, unittest.equals('foo')); 1396 unittest.expect(o.description, unittest.equals('foo'));
1175 unittest.expect(o.id, unittest.equals('foo')); 1397 unittest.expect(o.id, unittest.equals('foo'));
1176 unittest.expect(o.md5checksum, unittest.equals('foo')); 1398 unittest.expect(o.md5checksum, unittest.equals('foo'));
1177 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); 1399 unittest.expect(o.ncbiTaxonId, unittest.equals(42));
1178 checkUnnamed1801(o.referenceIds); 1400 checkUnnamed1897(o.referenceIds);
1179 checkUnnamed1802(o.sourceAccessions); 1401 checkUnnamed1898(o.sourceAccessions);
1180 unittest.expect(o.sourceUri, unittest.equals('foo')); 1402 unittest.expect(o.sourceUri, unittest.equals('foo'));
1181 } 1403 }
1182 buildCounterReferenceSet--; 1404 buildCounterReferenceSet--;
1183 } 1405 }
1184 1406
1185 buildUnnamed1803() { 1407 buildUnnamed1899() {
1408 var o = new core.List<api.Condition>();
1409 o.add(buildCondition());
1410 o.add(buildCondition());
1411 return o;
1412 }
1413
1414 checkUnnamed1899(core.List<api.Condition> o) {
1415 unittest.expect(o, unittest.hasLength(2));
1416 checkCondition(o[0]);
1417 checkCondition(o[1]);
1418 }
1419
1420 buildUnnamed1900() {
1186 var o = new core.List<core.String>(); 1421 var o = new core.List<core.String>();
1187 o.add("foo"); 1422 o.add("foo");
1188 o.add("foo"); 1423 o.add("foo");
1189 return o; 1424 return o;
1190 } 1425 }
1191 1426
1192 checkUnnamed1803(core.List<core.String> o) { 1427 checkUnnamed1900(core.List<core.String> o) {
1193 unittest.expect(o, unittest.hasLength(2)); 1428 unittest.expect(o, unittest.hasLength(2));
1194 unittest.expect(o[0], unittest.equals('foo')); 1429 unittest.expect(o[0], unittest.equals('foo'));
1195 unittest.expect(o[1], unittest.equals('foo')); 1430 unittest.expect(o[1], unittest.equals('foo'));
1431 }
1432
1433 buildUnnamed1901() {
1434 var o = new core.List<api.LogConfig>();
1435 o.add(buildLogConfig());
1436 o.add(buildLogConfig());
1437 return o;
1438 }
1439
1440 checkUnnamed1901(core.List<api.LogConfig> o) {
1441 unittest.expect(o, unittest.hasLength(2));
1442 checkLogConfig(o[0]);
1443 checkLogConfig(o[1]);
1444 }
1445
1446 buildUnnamed1902() {
1447 var o = new core.List<core.String>();
1448 o.add("foo");
1449 o.add("foo");
1450 return o;
1451 }
1452
1453 checkUnnamed1902(core.List<core.String> o) {
1454 unittest.expect(o, unittest.hasLength(2));
1455 unittest.expect(o[0], unittest.equals('foo'));
1456 unittest.expect(o[1], unittest.equals('foo'));
1457 }
1458
1459 buildUnnamed1903() {
1460 var o = new core.List<core.String>();
1461 o.add("foo");
1462 o.add("foo");
1463 return o;
1464 }
1465
1466 checkUnnamed1903(core.List<core.String> o) {
1467 unittest.expect(o, unittest.hasLength(2));
1468 unittest.expect(o[0], unittest.equals('foo'));
1469 unittest.expect(o[1], unittest.equals('foo'));
1470 }
1471
1472 core.int buildCounterRule = 0;
1473 buildRule() {
1474 var o = new api.Rule();
1475 buildCounterRule++;
1476 if (buildCounterRule < 3) {
1477 o.action = "foo";
1478 o.conditions = buildUnnamed1899();
1479 o.description = "foo";
1480 o.in_ = buildUnnamed1900();
1481 o.logConfig = buildUnnamed1901();
1482 o.notIn = buildUnnamed1902();
1483 o.permissions = buildUnnamed1903();
1484 }
1485 buildCounterRule--;
1486 return o;
1487 }
1488
1489 checkRule(api.Rule o) {
1490 buildCounterRule++;
1491 if (buildCounterRule < 3) {
1492 unittest.expect(o.action, unittest.equals('foo'));
1493 checkUnnamed1899(o.conditions);
1494 unittest.expect(o.description, unittest.equals('foo'));
1495 checkUnnamed1900(o.in_);
1496 checkUnnamed1901(o.logConfig);
1497 checkUnnamed1902(o.notIn);
1498 checkUnnamed1903(o.permissions);
1499 }
1500 buildCounterRule--;
1501 }
1502
1503 buildUnnamed1904() {
1504 var o = new core.List<core.String>();
1505 o.add("foo");
1506 o.add("foo");
1507 return o;
1508 }
1509
1510 checkUnnamed1904(core.List<core.String> o) {
1511 unittest.expect(o, unittest.hasLength(2));
1512 unittest.expect(o[0], unittest.equals('foo'));
1513 unittest.expect(o[1], unittest.equals('foo'));
1196 } 1514 }
1197 1515
1198 core.int buildCounterSearchCallSetsRequest = 0; 1516 core.int buildCounterSearchCallSetsRequest = 0;
1199 buildSearchCallSetsRequest() { 1517 buildSearchCallSetsRequest() {
1200 var o = new api.SearchCallSetsRequest(); 1518 var o = new api.SearchCallSetsRequest();
1201 buildCounterSearchCallSetsRequest++; 1519 buildCounterSearchCallSetsRequest++;
1202 if (buildCounterSearchCallSetsRequest < 3) { 1520 if (buildCounterSearchCallSetsRequest < 3) {
1203 o.name = "foo"; 1521 o.name = "foo";
1204 o.pageSize = 42; 1522 o.pageSize = 42;
1205 o.pageToken = "foo"; 1523 o.pageToken = "foo";
1206 o.variantSetIds = buildUnnamed1803(); 1524 o.variantSetIds = buildUnnamed1904();
1207 } 1525 }
1208 buildCounterSearchCallSetsRequest--; 1526 buildCounterSearchCallSetsRequest--;
1209 return o; 1527 return o;
1210 } 1528 }
1211 1529
1212 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { 1530 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
1213 buildCounterSearchCallSetsRequest++; 1531 buildCounterSearchCallSetsRequest++;
1214 if (buildCounterSearchCallSetsRequest < 3) { 1532 if (buildCounterSearchCallSetsRequest < 3) {
1215 unittest.expect(o.name, unittest.equals('foo')); 1533 unittest.expect(o.name, unittest.equals('foo'));
1216 unittest.expect(o.pageSize, unittest.equals(42)); 1534 unittest.expect(o.pageSize, unittest.equals(42));
1217 unittest.expect(o.pageToken, unittest.equals('foo')); 1535 unittest.expect(o.pageToken, unittest.equals('foo'));
1218 checkUnnamed1803(o.variantSetIds); 1536 checkUnnamed1904(o.variantSetIds);
1219 } 1537 }
1220 buildCounterSearchCallSetsRequest--; 1538 buildCounterSearchCallSetsRequest--;
1221 } 1539 }
1222 1540
1223 buildUnnamed1804() { 1541 buildUnnamed1905() {
1224 var o = new core.List<api.CallSet>(); 1542 var o = new core.List<api.CallSet>();
1225 o.add(buildCallSet()); 1543 o.add(buildCallSet());
1226 o.add(buildCallSet()); 1544 o.add(buildCallSet());
1227 return o; 1545 return o;
1228 } 1546 }
1229 1547
1230 checkUnnamed1804(core.List<api.CallSet> o) { 1548 checkUnnamed1905(core.List<api.CallSet> o) {
1231 unittest.expect(o, unittest.hasLength(2)); 1549 unittest.expect(o, unittest.hasLength(2));
1232 checkCallSet(o[0]); 1550 checkCallSet(o[0]);
1233 checkCallSet(o[1]); 1551 checkCallSet(o[1]);
1234 } 1552 }
1235 1553
1236 core.int buildCounterSearchCallSetsResponse = 0; 1554 core.int buildCounterSearchCallSetsResponse = 0;
1237 buildSearchCallSetsResponse() { 1555 buildSearchCallSetsResponse() {
1238 var o = new api.SearchCallSetsResponse(); 1556 var o = new api.SearchCallSetsResponse();
1239 buildCounterSearchCallSetsResponse++; 1557 buildCounterSearchCallSetsResponse++;
1240 if (buildCounterSearchCallSetsResponse < 3) { 1558 if (buildCounterSearchCallSetsResponse < 3) {
1241 o.callSets = buildUnnamed1804(); 1559 o.callSets = buildUnnamed1905();
1242 o.nextPageToken = "foo"; 1560 o.nextPageToken = "foo";
1243 } 1561 }
1244 buildCounterSearchCallSetsResponse--; 1562 buildCounterSearchCallSetsResponse--;
1245 return o; 1563 return o;
1246 } 1564 }
1247 1565
1248 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { 1566 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
1249 buildCounterSearchCallSetsResponse++; 1567 buildCounterSearchCallSetsResponse++;
1250 if (buildCounterSearchCallSetsResponse < 3) { 1568 if (buildCounterSearchCallSetsResponse < 3) {
1251 checkUnnamed1804(o.callSets); 1569 checkUnnamed1905(o.callSets);
1252 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1570 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1253 } 1571 }
1254 buildCounterSearchCallSetsResponse--; 1572 buildCounterSearchCallSetsResponse--;
1255 } 1573 }
1256 1574
1257 buildUnnamed1805() { 1575 buildUnnamed1906() {
1258 var o = new core.List<core.String>(); 1576 var o = new core.List<core.String>();
1259 o.add("foo"); 1577 o.add("foo");
1260 o.add("foo"); 1578 o.add("foo");
1261 return o; 1579 return o;
1262 } 1580 }
1263 1581
1264 checkUnnamed1805(core.List<core.String> o) { 1582 checkUnnamed1906(core.List<core.String> o) {
1265 unittest.expect(o, unittest.hasLength(2)); 1583 unittest.expect(o, unittest.hasLength(2));
1266 unittest.expect(o[0], unittest.equals('foo')); 1584 unittest.expect(o[0], unittest.equals('foo'));
1267 unittest.expect(o[1], unittest.equals('foo')); 1585 unittest.expect(o[1], unittest.equals('foo'));
1268 } 1586 }
1269 1587
1270 core.int buildCounterSearchReadGroupSetsRequest = 0; 1588 core.int buildCounterSearchReadGroupSetsRequest = 0;
1271 buildSearchReadGroupSetsRequest() { 1589 buildSearchReadGroupSetsRequest() {
1272 var o = new api.SearchReadGroupSetsRequest(); 1590 var o = new api.SearchReadGroupSetsRequest();
1273 buildCounterSearchReadGroupSetsRequest++; 1591 buildCounterSearchReadGroupSetsRequest++;
1274 if (buildCounterSearchReadGroupSetsRequest < 3) { 1592 if (buildCounterSearchReadGroupSetsRequest < 3) {
1275 o.datasetIds = buildUnnamed1805(); 1593 o.datasetIds = buildUnnamed1906();
1276 o.name = "foo"; 1594 o.name = "foo";
1277 o.pageSize = 42; 1595 o.pageSize = 42;
1278 o.pageToken = "foo"; 1596 o.pageToken = "foo";
1279 } 1597 }
1280 buildCounterSearchReadGroupSetsRequest--; 1598 buildCounterSearchReadGroupSetsRequest--;
1281 return o; 1599 return o;
1282 } 1600 }
1283 1601
1284 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { 1602 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
1285 buildCounterSearchReadGroupSetsRequest++; 1603 buildCounterSearchReadGroupSetsRequest++;
1286 if (buildCounterSearchReadGroupSetsRequest < 3) { 1604 if (buildCounterSearchReadGroupSetsRequest < 3) {
1287 checkUnnamed1805(o.datasetIds); 1605 checkUnnamed1906(o.datasetIds);
1288 unittest.expect(o.name, unittest.equals('foo')); 1606 unittest.expect(o.name, unittest.equals('foo'));
1289 unittest.expect(o.pageSize, unittest.equals(42)); 1607 unittest.expect(o.pageSize, unittest.equals(42));
1290 unittest.expect(o.pageToken, unittest.equals('foo')); 1608 unittest.expect(o.pageToken, unittest.equals('foo'));
1291 } 1609 }
1292 buildCounterSearchReadGroupSetsRequest--; 1610 buildCounterSearchReadGroupSetsRequest--;
1293 } 1611 }
1294 1612
1295 buildUnnamed1806() { 1613 buildUnnamed1907() {
1296 var o = new core.List<api.ReadGroupSet>(); 1614 var o = new core.List<api.ReadGroupSet>();
1297 o.add(buildReadGroupSet()); 1615 o.add(buildReadGroupSet());
1298 o.add(buildReadGroupSet()); 1616 o.add(buildReadGroupSet());
1299 return o; 1617 return o;
1300 } 1618 }
1301 1619
1302 checkUnnamed1806(core.List<api.ReadGroupSet> o) { 1620 checkUnnamed1907(core.List<api.ReadGroupSet> o) {
1303 unittest.expect(o, unittest.hasLength(2)); 1621 unittest.expect(o, unittest.hasLength(2));
1304 checkReadGroupSet(o[0]); 1622 checkReadGroupSet(o[0]);
1305 checkReadGroupSet(o[1]); 1623 checkReadGroupSet(o[1]);
1306 } 1624 }
1307 1625
1308 core.int buildCounterSearchReadGroupSetsResponse = 0; 1626 core.int buildCounterSearchReadGroupSetsResponse = 0;
1309 buildSearchReadGroupSetsResponse() { 1627 buildSearchReadGroupSetsResponse() {
1310 var o = new api.SearchReadGroupSetsResponse(); 1628 var o = new api.SearchReadGroupSetsResponse();
1311 buildCounterSearchReadGroupSetsResponse++; 1629 buildCounterSearchReadGroupSetsResponse++;
1312 if (buildCounterSearchReadGroupSetsResponse < 3) { 1630 if (buildCounterSearchReadGroupSetsResponse < 3) {
1313 o.nextPageToken = "foo"; 1631 o.nextPageToken = "foo";
1314 o.readGroupSets = buildUnnamed1806(); 1632 o.readGroupSets = buildUnnamed1907();
1315 } 1633 }
1316 buildCounterSearchReadGroupSetsResponse--; 1634 buildCounterSearchReadGroupSetsResponse--;
1317 return o; 1635 return o;
1318 } 1636 }
1319 1637
1320 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { 1638 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
1321 buildCounterSearchReadGroupSetsResponse++; 1639 buildCounterSearchReadGroupSetsResponse++;
1322 if (buildCounterSearchReadGroupSetsResponse < 3) { 1640 if (buildCounterSearchReadGroupSetsResponse < 3) {
1323 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1641 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1324 checkUnnamed1806(o.readGroupSets); 1642 checkUnnamed1907(o.readGroupSets);
1325 } 1643 }
1326 buildCounterSearchReadGroupSetsResponse--; 1644 buildCounterSearchReadGroupSetsResponse--;
1327 } 1645 }
1328 1646
1329 buildUnnamed1807() { 1647 buildUnnamed1908() {
1330 var o = new core.List<core.String>(); 1648 var o = new core.List<core.String>();
1331 o.add("foo"); 1649 o.add("foo");
1332 o.add("foo"); 1650 o.add("foo");
1333 return o; 1651 return o;
1334 } 1652 }
1335 1653
1336 checkUnnamed1807(core.List<core.String> o) { 1654 checkUnnamed1908(core.List<core.String> o) {
1337 unittest.expect(o, unittest.hasLength(2)); 1655 unittest.expect(o, unittest.hasLength(2));
1338 unittest.expect(o[0], unittest.equals('foo')); 1656 unittest.expect(o[0], unittest.equals('foo'));
1339 unittest.expect(o[1], unittest.equals('foo')); 1657 unittest.expect(o[1], unittest.equals('foo'));
1340 } 1658 }
1341 1659
1342 buildUnnamed1808() { 1660 buildUnnamed1909() {
1343 var o = new core.List<core.String>(); 1661 var o = new core.List<core.String>();
1344 o.add("foo"); 1662 o.add("foo");
1345 o.add("foo"); 1663 o.add("foo");
1346 return o; 1664 return o;
1347 } 1665 }
1348 1666
1349 checkUnnamed1808(core.List<core.String> o) { 1667 checkUnnamed1909(core.List<core.String> o) {
1350 unittest.expect(o, unittest.hasLength(2)); 1668 unittest.expect(o, unittest.hasLength(2));
1351 unittest.expect(o[0], unittest.equals('foo')); 1669 unittest.expect(o[0], unittest.equals('foo'));
1352 unittest.expect(o[1], unittest.equals('foo')); 1670 unittest.expect(o[1], unittest.equals('foo'));
1353 } 1671 }
1354 1672
1355 core.int buildCounterSearchReadsRequest = 0; 1673 core.int buildCounterSearchReadsRequest = 0;
1356 buildSearchReadsRequest() { 1674 buildSearchReadsRequest() {
1357 var o = new api.SearchReadsRequest(); 1675 var o = new api.SearchReadsRequest();
1358 buildCounterSearchReadsRequest++; 1676 buildCounterSearchReadsRequest++;
1359 if (buildCounterSearchReadsRequest < 3) { 1677 if (buildCounterSearchReadsRequest < 3) {
1360 o.end = "foo"; 1678 o.end = "foo";
1361 o.pageSize = 42; 1679 o.pageSize = 42;
1362 o.pageToken = "foo"; 1680 o.pageToken = "foo";
1363 o.readGroupIds = buildUnnamed1807(); 1681 o.readGroupIds = buildUnnamed1908();
1364 o.readGroupSetIds = buildUnnamed1808(); 1682 o.readGroupSetIds = buildUnnamed1909();
1365 o.referenceName = "foo"; 1683 o.referenceName = "foo";
1366 o.start = "foo"; 1684 o.start = "foo";
1367 } 1685 }
1368 buildCounterSearchReadsRequest--; 1686 buildCounterSearchReadsRequest--;
1369 return o; 1687 return o;
1370 } 1688 }
1371 1689
1372 checkSearchReadsRequest(api.SearchReadsRequest o) { 1690 checkSearchReadsRequest(api.SearchReadsRequest o) {
1373 buildCounterSearchReadsRequest++; 1691 buildCounterSearchReadsRequest++;
1374 if (buildCounterSearchReadsRequest < 3) { 1692 if (buildCounterSearchReadsRequest < 3) {
1375 unittest.expect(o.end, unittest.equals('foo')); 1693 unittest.expect(o.end, unittest.equals('foo'));
1376 unittest.expect(o.pageSize, unittest.equals(42)); 1694 unittest.expect(o.pageSize, unittest.equals(42));
1377 unittest.expect(o.pageToken, unittest.equals('foo')); 1695 unittest.expect(o.pageToken, unittest.equals('foo'));
1378 checkUnnamed1807(o.readGroupIds); 1696 checkUnnamed1908(o.readGroupIds);
1379 checkUnnamed1808(o.readGroupSetIds); 1697 checkUnnamed1909(o.readGroupSetIds);
1380 unittest.expect(o.referenceName, unittest.equals('foo')); 1698 unittest.expect(o.referenceName, unittest.equals('foo'));
1381 unittest.expect(o.start, unittest.equals('foo')); 1699 unittest.expect(o.start, unittest.equals('foo'));
1382 } 1700 }
1383 buildCounterSearchReadsRequest--; 1701 buildCounterSearchReadsRequest--;
1384 } 1702 }
1385 1703
1386 buildUnnamed1809() { 1704 buildUnnamed1910() {
1387 var o = new core.List<api.Read>(); 1705 var o = new core.List<api.Read>();
1388 o.add(buildRead()); 1706 o.add(buildRead());
1389 o.add(buildRead()); 1707 o.add(buildRead());
1390 return o; 1708 return o;
1391 } 1709 }
1392 1710
1393 checkUnnamed1809(core.List<api.Read> o) { 1711 checkUnnamed1910(core.List<api.Read> o) {
1394 unittest.expect(o, unittest.hasLength(2)); 1712 unittest.expect(o, unittest.hasLength(2));
1395 checkRead(o[0]); 1713 checkRead(o[0]);
1396 checkRead(o[1]); 1714 checkRead(o[1]);
1397 } 1715 }
1398 1716
1399 core.int buildCounterSearchReadsResponse = 0; 1717 core.int buildCounterSearchReadsResponse = 0;
1400 buildSearchReadsResponse() { 1718 buildSearchReadsResponse() {
1401 var o = new api.SearchReadsResponse(); 1719 var o = new api.SearchReadsResponse();
1402 buildCounterSearchReadsResponse++; 1720 buildCounterSearchReadsResponse++;
1403 if (buildCounterSearchReadsResponse < 3) { 1721 if (buildCounterSearchReadsResponse < 3) {
1404 o.alignments = buildUnnamed1809(); 1722 o.alignments = buildUnnamed1910();
1405 o.nextPageToken = "foo"; 1723 o.nextPageToken = "foo";
1406 } 1724 }
1407 buildCounterSearchReadsResponse--; 1725 buildCounterSearchReadsResponse--;
1408 return o; 1726 return o;
1409 } 1727 }
1410 1728
1411 checkSearchReadsResponse(api.SearchReadsResponse o) { 1729 checkSearchReadsResponse(api.SearchReadsResponse o) {
1412 buildCounterSearchReadsResponse++; 1730 buildCounterSearchReadsResponse++;
1413 if (buildCounterSearchReadsResponse < 3) { 1731 if (buildCounterSearchReadsResponse < 3) {
1414 checkUnnamed1809(o.alignments); 1732 checkUnnamed1910(o.alignments);
1415 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1733 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1416 } 1734 }
1417 buildCounterSearchReadsResponse--; 1735 buildCounterSearchReadsResponse--;
1418 } 1736 }
1419 1737
1420 buildUnnamed1810() { 1738 buildUnnamed1911() {
1421 var o = new core.List<core.String>(); 1739 var o = new core.List<core.String>();
1422 o.add("foo"); 1740 o.add("foo");
1423 o.add("foo"); 1741 o.add("foo");
1424 return o; 1742 return o;
1425 } 1743 }
1426 1744
1427 checkUnnamed1810(core.List<core.String> o) { 1745 checkUnnamed1911(core.List<core.String> o) {
1428 unittest.expect(o, unittest.hasLength(2)); 1746 unittest.expect(o, unittest.hasLength(2));
1429 unittest.expect(o[0], unittest.equals('foo')); 1747 unittest.expect(o[0], unittest.equals('foo'));
1430 unittest.expect(o[1], unittest.equals('foo')); 1748 unittest.expect(o[1], unittest.equals('foo'));
1431 } 1749 }
1432 1750
1433 buildUnnamed1811() { 1751 buildUnnamed1912() {
1434 var o = new core.List<core.String>(); 1752 var o = new core.List<core.String>();
1435 o.add("foo"); 1753 o.add("foo");
1436 o.add("foo"); 1754 o.add("foo");
1437 return o; 1755 return o;
1438 } 1756 }
1439 1757
1440 checkUnnamed1811(core.List<core.String> o) { 1758 checkUnnamed1912(core.List<core.String> o) {
1441 unittest.expect(o, unittest.hasLength(2)); 1759 unittest.expect(o, unittest.hasLength(2));
1442 unittest.expect(o[0], unittest.equals('foo')); 1760 unittest.expect(o[0], unittest.equals('foo'));
1443 unittest.expect(o[1], unittest.equals('foo')); 1761 unittest.expect(o[1], unittest.equals('foo'));
1444 } 1762 }
1445 1763
1446 core.int buildCounterSearchReferenceSetsRequest = 0; 1764 core.int buildCounterSearchReferenceSetsRequest = 0;
1447 buildSearchReferenceSetsRequest() { 1765 buildSearchReferenceSetsRequest() {
1448 var o = new api.SearchReferenceSetsRequest(); 1766 var o = new api.SearchReferenceSetsRequest();
1449 buildCounterSearchReferenceSetsRequest++; 1767 buildCounterSearchReferenceSetsRequest++;
1450 if (buildCounterSearchReferenceSetsRequest < 3) { 1768 if (buildCounterSearchReferenceSetsRequest < 3) {
1451 o.accessions = buildUnnamed1810(); 1769 o.accessions = buildUnnamed1911();
1452 o.assemblyId = "foo"; 1770 o.assemblyId = "foo";
1453 o.md5checksums = buildUnnamed1811(); 1771 o.md5checksums = buildUnnamed1912();
1454 o.pageSize = 42; 1772 o.pageSize = 42;
1455 o.pageToken = "foo"; 1773 o.pageToken = "foo";
1456 } 1774 }
1457 buildCounterSearchReferenceSetsRequest--; 1775 buildCounterSearchReferenceSetsRequest--;
1458 return o; 1776 return o;
1459 } 1777 }
1460 1778
1461 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { 1779 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
1462 buildCounterSearchReferenceSetsRequest++; 1780 buildCounterSearchReferenceSetsRequest++;
1463 if (buildCounterSearchReferenceSetsRequest < 3) { 1781 if (buildCounterSearchReferenceSetsRequest < 3) {
1464 checkUnnamed1810(o.accessions); 1782 checkUnnamed1911(o.accessions);
1465 unittest.expect(o.assemblyId, unittest.equals('foo')); 1783 unittest.expect(o.assemblyId, unittest.equals('foo'));
1466 checkUnnamed1811(o.md5checksums); 1784 checkUnnamed1912(o.md5checksums);
1467 unittest.expect(o.pageSize, unittest.equals(42)); 1785 unittest.expect(o.pageSize, unittest.equals(42));
1468 unittest.expect(o.pageToken, unittest.equals('foo')); 1786 unittest.expect(o.pageToken, unittest.equals('foo'));
1469 } 1787 }
1470 buildCounterSearchReferenceSetsRequest--; 1788 buildCounterSearchReferenceSetsRequest--;
1471 } 1789 }
1472 1790
1473 buildUnnamed1812() { 1791 buildUnnamed1913() {
1474 var o = new core.List<api.ReferenceSet>(); 1792 var o = new core.List<api.ReferenceSet>();
1475 o.add(buildReferenceSet()); 1793 o.add(buildReferenceSet());
1476 o.add(buildReferenceSet()); 1794 o.add(buildReferenceSet());
1477 return o; 1795 return o;
1478 } 1796 }
1479 1797
1480 checkUnnamed1812(core.List<api.ReferenceSet> o) { 1798 checkUnnamed1913(core.List<api.ReferenceSet> o) {
1481 unittest.expect(o, unittest.hasLength(2)); 1799 unittest.expect(o, unittest.hasLength(2));
1482 checkReferenceSet(o[0]); 1800 checkReferenceSet(o[0]);
1483 checkReferenceSet(o[1]); 1801 checkReferenceSet(o[1]);
1484 } 1802 }
1485 1803
1486 core.int buildCounterSearchReferenceSetsResponse = 0; 1804 core.int buildCounterSearchReferenceSetsResponse = 0;
1487 buildSearchReferenceSetsResponse() { 1805 buildSearchReferenceSetsResponse() {
1488 var o = new api.SearchReferenceSetsResponse(); 1806 var o = new api.SearchReferenceSetsResponse();
1489 buildCounterSearchReferenceSetsResponse++; 1807 buildCounterSearchReferenceSetsResponse++;
1490 if (buildCounterSearchReferenceSetsResponse < 3) { 1808 if (buildCounterSearchReferenceSetsResponse < 3) {
1491 o.nextPageToken = "foo"; 1809 o.nextPageToken = "foo";
1492 o.referenceSets = buildUnnamed1812(); 1810 o.referenceSets = buildUnnamed1913();
1493 } 1811 }
1494 buildCounterSearchReferenceSetsResponse--; 1812 buildCounterSearchReferenceSetsResponse--;
1495 return o; 1813 return o;
1496 } 1814 }
1497 1815
1498 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { 1816 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
1499 buildCounterSearchReferenceSetsResponse++; 1817 buildCounterSearchReferenceSetsResponse++;
1500 if (buildCounterSearchReferenceSetsResponse < 3) { 1818 if (buildCounterSearchReferenceSetsResponse < 3) {
1501 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1819 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1502 checkUnnamed1812(o.referenceSets); 1820 checkUnnamed1913(o.referenceSets);
1503 } 1821 }
1504 buildCounterSearchReferenceSetsResponse--; 1822 buildCounterSearchReferenceSetsResponse--;
1505 } 1823 }
1506 1824
1507 buildUnnamed1813() { 1825 buildUnnamed1914() {
1508 var o = new core.List<core.String>(); 1826 var o = new core.List<core.String>();
1509 o.add("foo"); 1827 o.add("foo");
1510 o.add("foo"); 1828 o.add("foo");
1511 return o; 1829 return o;
1512 } 1830 }
1513 1831
1514 checkUnnamed1813(core.List<core.String> o) { 1832 checkUnnamed1914(core.List<core.String> o) {
1515 unittest.expect(o, unittest.hasLength(2)); 1833 unittest.expect(o, unittest.hasLength(2));
1516 unittest.expect(o[0], unittest.equals('foo')); 1834 unittest.expect(o[0], unittest.equals('foo'));
1517 unittest.expect(o[1], unittest.equals('foo')); 1835 unittest.expect(o[1], unittest.equals('foo'));
1518 } 1836 }
1519 1837
1520 buildUnnamed1814() { 1838 buildUnnamed1915() {
1521 var o = new core.List<core.String>(); 1839 var o = new core.List<core.String>();
1522 o.add("foo"); 1840 o.add("foo");
1523 o.add("foo"); 1841 o.add("foo");
1524 return o; 1842 return o;
1525 } 1843 }
1526 1844
1527 checkUnnamed1814(core.List<core.String> o) { 1845 checkUnnamed1915(core.List<core.String> o) {
1528 unittest.expect(o, unittest.hasLength(2)); 1846 unittest.expect(o, unittest.hasLength(2));
1529 unittest.expect(o[0], unittest.equals('foo')); 1847 unittest.expect(o[0], unittest.equals('foo'));
1530 unittest.expect(o[1], unittest.equals('foo')); 1848 unittest.expect(o[1], unittest.equals('foo'));
1531 } 1849 }
1532 1850
1533 core.int buildCounterSearchReferencesRequest = 0; 1851 core.int buildCounterSearchReferencesRequest = 0;
1534 buildSearchReferencesRequest() { 1852 buildSearchReferencesRequest() {
1535 var o = new api.SearchReferencesRequest(); 1853 var o = new api.SearchReferencesRequest();
1536 buildCounterSearchReferencesRequest++; 1854 buildCounterSearchReferencesRequest++;
1537 if (buildCounterSearchReferencesRequest < 3) { 1855 if (buildCounterSearchReferencesRequest < 3) {
1538 o.accessions = buildUnnamed1813(); 1856 o.accessions = buildUnnamed1914();
1539 o.md5checksums = buildUnnamed1814(); 1857 o.md5checksums = buildUnnamed1915();
1540 o.pageSize = 42; 1858 o.pageSize = 42;
1541 o.pageToken = "foo"; 1859 o.pageToken = "foo";
1542 o.referenceSetId = "foo"; 1860 o.referenceSetId = "foo";
1543 } 1861 }
1544 buildCounterSearchReferencesRequest--; 1862 buildCounterSearchReferencesRequest--;
1545 return o; 1863 return o;
1546 } 1864 }
1547 1865
1548 checkSearchReferencesRequest(api.SearchReferencesRequest o) { 1866 checkSearchReferencesRequest(api.SearchReferencesRequest o) {
1549 buildCounterSearchReferencesRequest++; 1867 buildCounterSearchReferencesRequest++;
1550 if (buildCounterSearchReferencesRequest < 3) { 1868 if (buildCounterSearchReferencesRequest < 3) {
1551 checkUnnamed1813(o.accessions); 1869 checkUnnamed1914(o.accessions);
1552 checkUnnamed1814(o.md5checksums); 1870 checkUnnamed1915(o.md5checksums);
1553 unittest.expect(o.pageSize, unittest.equals(42)); 1871 unittest.expect(o.pageSize, unittest.equals(42));
1554 unittest.expect(o.pageToken, unittest.equals('foo')); 1872 unittest.expect(o.pageToken, unittest.equals('foo'));
1555 unittest.expect(o.referenceSetId, unittest.equals('foo')); 1873 unittest.expect(o.referenceSetId, unittest.equals('foo'));
1556 } 1874 }
1557 buildCounterSearchReferencesRequest--; 1875 buildCounterSearchReferencesRequest--;
1558 } 1876 }
1559 1877
1560 buildUnnamed1815() { 1878 buildUnnamed1916() {
1561 var o = new core.List<api.Reference>(); 1879 var o = new core.List<api.Reference>();
1562 o.add(buildReference()); 1880 o.add(buildReference());
1563 o.add(buildReference()); 1881 o.add(buildReference());
1564 return o; 1882 return o;
1565 } 1883 }
1566 1884
1567 checkUnnamed1815(core.List<api.Reference> o) { 1885 checkUnnamed1916(core.List<api.Reference> o) {
1568 unittest.expect(o, unittest.hasLength(2)); 1886 unittest.expect(o, unittest.hasLength(2));
1569 checkReference(o[0]); 1887 checkReference(o[0]);
1570 checkReference(o[1]); 1888 checkReference(o[1]);
1571 } 1889 }
1572 1890
1573 core.int buildCounterSearchReferencesResponse = 0; 1891 core.int buildCounterSearchReferencesResponse = 0;
1574 buildSearchReferencesResponse() { 1892 buildSearchReferencesResponse() {
1575 var o = new api.SearchReferencesResponse(); 1893 var o = new api.SearchReferencesResponse();
1576 buildCounterSearchReferencesResponse++; 1894 buildCounterSearchReferencesResponse++;
1577 if (buildCounterSearchReferencesResponse < 3) { 1895 if (buildCounterSearchReferencesResponse < 3) {
1578 o.nextPageToken = "foo"; 1896 o.nextPageToken = "foo";
1579 o.references = buildUnnamed1815(); 1897 o.references = buildUnnamed1916();
1580 } 1898 }
1581 buildCounterSearchReferencesResponse--; 1899 buildCounterSearchReferencesResponse--;
1582 return o; 1900 return o;
1583 } 1901 }
1584 1902
1585 checkSearchReferencesResponse(api.SearchReferencesResponse o) { 1903 checkSearchReferencesResponse(api.SearchReferencesResponse o) {
1586 buildCounterSearchReferencesResponse++; 1904 buildCounterSearchReferencesResponse++;
1587 if (buildCounterSearchReferencesResponse < 3) { 1905 if (buildCounterSearchReferencesResponse < 3) {
1588 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1906 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1589 checkUnnamed1815(o.references); 1907 checkUnnamed1916(o.references);
1590 } 1908 }
1591 buildCounterSearchReferencesResponse--; 1909 buildCounterSearchReferencesResponse--;
1592 } 1910 }
1593 1911
1594 buildUnnamed1816() { 1912 buildUnnamed1917() {
1595 var o = new core.List<core.String>(); 1913 var o = new core.List<core.String>();
1596 o.add("foo"); 1914 o.add("foo");
1597 o.add("foo"); 1915 o.add("foo");
1598 return o; 1916 return o;
1599 } 1917 }
1600 1918
1601 checkUnnamed1816(core.List<core.String> o) { 1919 checkUnnamed1917(core.List<core.String> o) {
1602 unittest.expect(o, unittest.hasLength(2)); 1920 unittest.expect(o, unittest.hasLength(2));
1603 unittest.expect(o[0], unittest.equals('foo')); 1921 unittest.expect(o[0], unittest.equals('foo'));
1604 unittest.expect(o[1], unittest.equals('foo')); 1922 unittest.expect(o[1], unittest.equals('foo'));
1605 } 1923 }
1606 1924
1607 core.int buildCounterSearchVariantSetsRequest = 0; 1925 core.int buildCounterSearchVariantSetsRequest = 0;
1608 buildSearchVariantSetsRequest() { 1926 buildSearchVariantSetsRequest() {
1609 var o = new api.SearchVariantSetsRequest(); 1927 var o = new api.SearchVariantSetsRequest();
1610 buildCounterSearchVariantSetsRequest++; 1928 buildCounterSearchVariantSetsRequest++;
1611 if (buildCounterSearchVariantSetsRequest < 3) { 1929 if (buildCounterSearchVariantSetsRequest < 3) {
1612 o.datasetIds = buildUnnamed1816(); 1930 o.datasetIds = buildUnnamed1917();
1613 o.pageSize = 42; 1931 o.pageSize = 42;
1614 o.pageToken = "foo"; 1932 o.pageToken = "foo";
1615 } 1933 }
1616 buildCounterSearchVariantSetsRequest--; 1934 buildCounterSearchVariantSetsRequest--;
1617 return o; 1935 return o;
1618 } 1936 }
1619 1937
1620 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { 1938 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
1621 buildCounterSearchVariantSetsRequest++; 1939 buildCounterSearchVariantSetsRequest++;
1622 if (buildCounterSearchVariantSetsRequest < 3) { 1940 if (buildCounterSearchVariantSetsRequest < 3) {
1623 checkUnnamed1816(o.datasetIds); 1941 checkUnnamed1917(o.datasetIds);
1624 unittest.expect(o.pageSize, unittest.equals(42)); 1942 unittest.expect(o.pageSize, unittest.equals(42));
1625 unittest.expect(o.pageToken, unittest.equals('foo')); 1943 unittest.expect(o.pageToken, unittest.equals('foo'));
1626 } 1944 }
1627 buildCounterSearchVariantSetsRequest--; 1945 buildCounterSearchVariantSetsRequest--;
1628 } 1946 }
1629 1947
1630 buildUnnamed1817() { 1948 buildUnnamed1918() {
1631 var o = new core.List<api.VariantSet>(); 1949 var o = new core.List<api.VariantSet>();
1632 o.add(buildVariantSet()); 1950 o.add(buildVariantSet());
1633 o.add(buildVariantSet()); 1951 o.add(buildVariantSet());
1634 return o; 1952 return o;
1635 } 1953 }
1636 1954
1637 checkUnnamed1817(core.List<api.VariantSet> o) { 1955 checkUnnamed1918(core.List<api.VariantSet> o) {
1638 unittest.expect(o, unittest.hasLength(2)); 1956 unittest.expect(o, unittest.hasLength(2));
1639 checkVariantSet(o[0]); 1957 checkVariantSet(o[0]);
1640 checkVariantSet(o[1]); 1958 checkVariantSet(o[1]);
1641 } 1959 }
1642 1960
1643 core.int buildCounterSearchVariantSetsResponse = 0; 1961 core.int buildCounterSearchVariantSetsResponse = 0;
1644 buildSearchVariantSetsResponse() { 1962 buildSearchVariantSetsResponse() {
1645 var o = new api.SearchVariantSetsResponse(); 1963 var o = new api.SearchVariantSetsResponse();
1646 buildCounterSearchVariantSetsResponse++; 1964 buildCounterSearchVariantSetsResponse++;
1647 if (buildCounterSearchVariantSetsResponse < 3) { 1965 if (buildCounterSearchVariantSetsResponse < 3) {
1648 o.nextPageToken = "foo"; 1966 o.nextPageToken = "foo";
1649 o.variantSets = buildUnnamed1817(); 1967 o.variantSets = buildUnnamed1918();
1650 } 1968 }
1651 buildCounterSearchVariantSetsResponse--; 1969 buildCounterSearchVariantSetsResponse--;
1652 return o; 1970 return o;
1653 } 1971 }
1654 1972
1655 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { 1973 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
1656 buildCounterSearchVariantSetsResponse++; 1974 buildCounterSearchVariantSetsResponse++;
1657 if (buildCounterSearchVariantSetsResponse < 3) { 1975 if (buildCounterSearchVariantSetsResponse < 3) {
1658 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1976 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1659 checkUnnamed1817(o.variantSets); 1977 checkUnnamed1918(o.variantSets);
1660 } 1978 }
1661 buildCounterSearchVariantSetsResponse--; 1979 buildCounterSearchVariantSetsResponse--;
1662 } 1980 }
1663 1981
1664 buildUnnamed1818() { 1982 buildUnnamed1919() {
1665 var o = new core.List<core.String>(); 1983 var o = new core.List<core.String>();
1666 o.add("foo"); 1984 o.add("foo");
1667 o.add("foo"); 1985 o.add("foo");
1668 return o; 1986 return o;
1669 } 1987 }
1670 1988
1671 checkUnnamed1818(core.List<core.String> o) { 1989 checkUnnamed1919(core.List<core.String> o) {
1672 unittest.expect(o, unittest.hasLength(2)); 1990 unittest.expect(o, unittest.hasLength(2));
1673 unittest.expect(o[0], unittest.equals('foo')); 1991 unittest.expect(o[0], unittest.equals('foo'));
1674 unittest.expect(o[1], unittest.equals('foo')); 1992 unittest.expect(o[1], unittest.equals('foo'));
1675 } 1993 }
1676 1994
1677 buildUnnamed1819() { 1995 buildUnnamed1920() {
1678 var o = new core.List<core.String>(); 1996 var o = new core.List<core.String>();
1679 o.add("foo"); 1997 o.add("foo");
1680 o.add("foo"); 1998 o.add("foo");
1681 return o; 1999 return o;
1682 } 2000 }
1683 2001
1684 checkUnnamed1819(core.List<core.String> o) { 2002 checkUnnamed1920(core.List<core.String> o) {
1685 unittest.expect(o, unittest.hasLength(2)); 2003 unittest.expect(o, unittest.hasLength(2));
1686 unittest.expect(o[0], unittest.equals('foo')); 2004 unittest.expect(o[0], unittest.equals('foo'));
1687 unittest.expect(o[1], unittest.equals('foo')); 2005 unittest.expect(o[1], unittest.equals('foo'));
1688 } 2006 }
1689 2007
1690 core.int buildCounterSearchVariantsRequest = 0; 2008 core.int buildCounterSearchVariantsRequest = 0;
1691 buildSearchVariantsRequest() { 2009 buildSearchVariantsRequest() {
1692 var o = new api.SearchVariantsRequest(); 2010 var o = new api.SearchVariantsRequest();
1693 buildCounterSearchVariantsRequest++; 2011 buildCounterSearchVariantsRequest++;
1694 if (buildCounterSearchVariantsRequest < 3) { 2012 if (buildCounterSearchVariantsRequest < 3) {
1695 o.callSetIds = buildUnnamed1818(); 2013 o.callSetIds = buildUnnamed1919();
1696 o.end = "foo"; 2014 o.end = "foo";
1697 o.maxCalls = 42; 2015 o.maxCalls = 42;
1698 o.pageSize = 42; 2016 o.pageSize = 42;
1699 o.pageToken = "foo"; 2017 o.pageToken = "foo";
1700 o.referenceName = "foo"; 2018 o.referenceName = "foo";
1701 o.start = "foo"; 2019 o.start = "foo";
1702 o.variantName = "foo"; 2020 o.variantName = "foo";
1703 o.variantSetIds = buildUnnamed1819(); 2021 o.variantSetIds = buildUnnamed1920();
1704 } 2022 }
1705 buildCounterSearchVariantsRequest--; 2023 buildCounterSearchVariantsRequest--;
1706 return o; 2024 return o;
1707 } 2025 }
1708 2026
1709 checkSearchVariantsRequest(api.SearchVariantsRequest o) { 2027 checkSearchVariantsRequest(api.SearchVariantsRequest o) {
1710 buildCounterSearchVariantsRequest++; 2028 buildCounterSearchVariantsRequest++;
1711 if (buildCounterSearchVariantsRequest < 3) { 2029 if (buildCounterSearchVariantsRequest < 3) {
1712 checkUnnamed1818(o.callSetIds); 2030 checkUnnamed1919(o.callSetIds);
1713 unittest.expect(o.end, unittest.equals('foo')); 2031 unittest.expect(o.end, unittest.equals('foo'));
1714 unittest.expect(o.maxCalls, unittest.equals(42)); 2032 unittest.expect(o.maxCalls, unittest.equals(42));
1715 unittest.expect(o.pageSize, unittest.equals(42)); 2033 unittest.expect(o.pageSize, unittest.equals(42));
1716 unittest.expect(o.pageToken, unittest.equals('foo')); 2034 unittest.expect(o.pageToken, unittest.equals('foo'));
1717 unittest.expect(o.referenceName, unittest.equals('foo')); 2035 unittest.expect(o.referenceName, unittest.equals('foo'));
1718 unittest.expect(o.start, unittest.equals('foo')); 2036 unittest.expect(o.start, unittest.equals('foo'));
1719 unittest.expect(o.variantName, unittest.equals('foo')); 2037 unittest.expect(o.variantName, unittest.equals('foo'));
1720 checkUnnamed1819(o.variantSetIds); 2038 checkUnnamed1920(o.variantSetIds);
1721 } 2039 }
1722 buildCounterSearchVariantsRequest--; 2040 buildCounterSearchVariantsRequest--;
1723 } 2041 }
1724 2042
1725 buildUnnamed1820() { 2043 buildUnnamed1921() {
1726 var o = new core.List<api.Variant>(); 2044 var o = new core.List<api.Variant>();
1727 o.add(buildVariant()); 2045 o.add(buildVariant());
1728 o.add(buildVariant()); 2046 o.add(buildVariant());
1729 return o; 2047 return o;
1730 } 2048 }
1731 2049
1732 checkUnnamed1820(core.List<api.Variant> o) { 2050 checkUnnamed1921(core.List<api.Variant> o) {
1733 unittest.expect(o, unittest.hasLength(2)); 2051 unittest.expect(o, unittest.hasLength(2));
1734 checkVariant(o[0]); 2052 checkVariant(o[0]);
1735 checkVariant(o[1]); 2053 checkVariant(o[1]);
1736 } 2054 }
1737 2055
1738 core.int buildCounterSearchVariantsResponse = 0; 2056 core.int buildCounterSearchVariantsResponse = 0;
1739 buildSearchVariantsResponse() { 2057 buildSearchVariantsResponse() {
1740 var o = new api.SearchVariantsResponse(); 2058 var o = new api.SearchVariantsResponse();
1741 buildCounterSearchVariantsResponse++; 2059 buildCounterSearchVariantsResponse++;
1742 if (buildCounterSearchVariantsResponse < 3) { 2060 if (buildCounterSearchVariantsResponse < 3) {
1743 o.nextPageToken = "foo"; 2061 o.nextPageToken = "foo";
1744 o.variants = buildUnnamed1820(); 2062 o.variants = buildUnnamed1921();
1745 } 2063 }
1746 buildCounterSearchVariantsResponse--; 2064 buildCounterSearchVariantsResponse--;
1747 return o; 2065 return o;
1748 } 2066 }
1749 2067
1750 checkSearchVariantsResponse(api.SearchVariantsResponse o) { 2068 checkSearchVariantsResponse(api.SearchVariantsResponse o) {
1751 buildCounterSearchVariantsResponse++; 2069 buildCounterSearchVariantsResponse++;
1752 if (buildCounterSearchVariantsResponse < 3) { 2070 if (buildCounterSearchVariantsResponse < 3) {
1753 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2071 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1754 checkUnnamed1820(o.variants); 2072 checkUnnamed1921(o.variants);
1755 } 2073 }
1756 buildCounterSearchVariantsResponse--; 2074 buildCounterSearchVariantsResponse--;
1757 } 2075 }
1758 2076
1759 buildUnnamed1821() { 2077 core.int buildCounterSetIamPolicyRequest = 0;
2078 buildSetIamPolicyRequest() {
2079 var o = new api.SetIamPolicyRequest();
2080 buildCounterSetIamPolicyRequest++;
2081 if (buildCounterSetIamPolicyRequest < 3) {
2082 o.policy = buildPolicy();
2083 }
2084 buildCounterSetIamPolicyRequest--;
2085 return o;
2086 }
2087
2088 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
2089 buildCounterSetIamPolicyRequest++;
2090 if (buildCounterSetIamPolicyRequest < 3) {
2091 checkPolicy(o.policy);
2092 }
2093 buildCounterSetIamPolicyRequest--;
2094 }
2095
2096 buildUnnamed1922() {
1760 var o = new core.Map<core.String, core.Object>(); 2097 var o = new core.Map<core.String, core.Object>();
1761 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2098 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1762 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2099 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1763 return o; 2100 return o;
1764 } 2101 }
1765 2102
1766 checkUnnamed1821(core.Map<core.String, core.Object> o) { 2103 checkUnnamed1922(core.Map<core.String, core.Object> o) {
1767 unittest.expect(o, unittest.hasLength(2)); 2104 unittest.expect(o, unittest.hasLength(2));
1768 var casted15 = (o["x"]) as core.Map; unittest.expect(casted15, unittest.hasLen gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest .expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri ng"], unittest.equals('foo')); 2105 var casted15 = (o["x"]) as core.Map; unittest.expect(casted15, unittest.hasLen gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest .expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri ng"], unittest.equals('foo'));
1769 var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLen gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest .expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri ng"], unittest.equals('foo')); 2106 var casted16 = (o["y"]) as core.Map; unittest.expect(casted16, unittest.hasLen gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest .expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri ng"], unittest.equals('foo'));
1770 } 2107 }
1771 2108
1772 buildUnnamed1822() { 2109 buildUnnamed1923() {
1773 var o = new core.List<core.Map<core.String, core.Object>>(); 2110 var o = new core.List<core.Map<core.String, core.Object>>();
1774 o.add(buildUnnamed1821()); 2111 o.add(buildUnnamed1922());
1775 o.add(buildUnnamed1821()); 2112 o.add(buildUnnamed1922());
1776 return o; 2113 return o;
1777 } 2114 }
1778 2115
1779 checkUnnamed1822(core.List<core.Map<core.String, core.Object>> o) { 2116 checkUnnamed1923(core.List<core.Map<core.String, core.Object>> o) {
1780 unittest.expect(o, unittest.hasLength(2)); 2117 unittest.expect(o, unittest.hasLength(2));
1781 checkUnnamed1821(o[0]); 2118 checkUnnamed1922(o[0]);
1782 checkUnnamed1821(o[1]); 2119 checkUnnamed1922(o[1]);
1783 } 2120 }
1784 2121
1785 core.int buildCounterStatus = 0; 2122 core.int buildCounterStatus = 0;
1786 buildStatus() { 2123 buildStatus() {
1787 var o = new api.Status(); 2124 var o = new api.Status();
1788 buildCounterStatus++; 2125 buildCounterStatus++;
1789 if (buildCounterStatus < 3) { 2126 if (buildCounterStatus < 3) {
1790 o.code = 42; 2127 o.code = 42;
1791 o.details = buildUnnamed1822(); 2128 o.details = buildUnnamed1923();
1792 o.message = "foo"; 2129 o.message = "foo";
1793 } 2130 }
1794 buildCounterStatus--; 2131 buildCounterStatus--;
1795 return o; 2132 return o;
1796 } 2133 }
1797 2134
1798 checkStatus(api.Status o) { 2135 checkStatus(api.Status o) {
1799 buildCounterStatus++; 2136 buildCounterStatus++;
1800 if (buildCounterStatus < 3) { 2137 if (buildCounterStatus < 3) {
1801 unittest.expect(o.code, unittest.equals(42)); 2138 unittest.expect(o.code, unittest.equals(42));
1802 checkUnnamed1822(o.details); 2139 checkUnnamed1923(o.details);
1803 unittest.expect(o.message, unittest.equals('foo')); 2140 unittest.expect(o.message, unittest.equals('foo'));
1804 } 2141 }
1805 buildCounterStatus--; 2142 buildCounterStatus--;
1806 } 2143 }
1807 2144
2145 buildUnnamed1924() {
2146 var o = new core.List<core.String>();
2147 o.add("foo");
2148 o.add("foo");
2149 return o;
2150 }
2151
2152 checkUnnamed1924(core.List<core.String> o) {
2153 unittest.expect(o, unittest.hasLength(2));
2154 unittest.expect(o[0], unittest.equals('foo'));
2155 unittest.expect(o[1], unittest.equals('foo'));
2156 }
2157
2158 core.int buildCounterTestIamPermissionsRequest = 0;
2159 buildTestIamPermissionsRequest() {
2160 var o = new api.TestIamPermissionsRequest();
2161 buildCounterTestIamPermissionsRequest++;
2162 if (buildCounterTestIamPermissionsRequest < 3) {
2163 o.permissions = buildUnnamed1924();
2164 }
2165 buildCounterTestIamPermissionsRequest--;
2166 return o;
2167 }
2168
2169 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
2170 buildCounterTestIamPermissionsRequest++;
2171 if (buildCounterTestIamPermissionsRequest < 3) {
2172 checkUnnamed1924(o.permissions);
2173 }
2174 buildCounterTestIamPermissionsRequest--;
2175 }
2176
2177 buildUnnamed1925() {
2178 var o = new core.List<core.String>();
2179 o.add("foo");
2180 o.add("foo");
2181 return o;
2182 }
2183
2184 checkUnnamed1925(core.List<core.String> o) {
2185 unittest.expect(o, unittest.hasLength(2));
2186 unittest.expect(o[0], unittest.equals('foo'));
2187 unittest.expect(o[1], unittest.equals('foo'));
2188 }
2189
2190 core.int buildCounterTestIamPermissionsResponse = 0;
2191 buildTestIamPermissionsResponse() {
2192 var o = new api.TestIamPermissionsResponse();
2193 buildCounterTestIamPermissionsResponse++;
2194 if (buildCounterTestIamPermissionsResponse < 3) {
2195 o.permissions = buildUnnamed1925();
2196 }
2197 buildCounterTestIamPermissionsResponse--;
2198 return o;
2199 }
2200
2201 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
2202 buildCounterTestIamPermissionsResponse++;
2203 if (buildCounterTestIamPermissionsResponse < 3) {
2204 checkUnnamed1925(o.permissions);
2205 }
2206 buildCounterTestIamPermissionsResponse--;
2207 }
2208
1808 core.int buildCounterUndeleteDatasetRequest = 0; 2209 core.int buildCounterUndeleteDatasetRequest = 0;
1809 buildUndeleteDatasetRequest() { 2210 buildUndeleteDatasetRequest() {
1810 var o = new api.UndeleteDatasetRequest(); 2211 var o = new api.UndeleteDatasetRequest();
1811 buildCounterUndeleteDatasetRequest++; 2212 buildCounterUndeleteDatasetRequest++;
1812 if (buildCounterUndeleteDatasetRequest < 3) { 2213 if (buildCounterUndeleteDatasetRequest < 3) {
1813 } 2214 }
1814 buildCounterUndeleteDatasetRequest--; 2215 buildCounterUndeleteDatasetRequest--;
1815 return o; 2216 return o;
1816 } 2217 }
1817 2218
1818 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { 2219 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) {
1819 buildCounterUndeleteDatasetRequest++; 2220 buildCounterUndeleteDatasetRequest++;
1820 if (buildCounterUndeleteDatasetRequest < 3) { 2221 if (buildCounterUndeleteDatasetRequest < 3) {
1821 } 2222 }
1822 buildCounterUndeleteDatasetRequest--; 2223 buildCounterUndeleteDatasetRequest--;
1823 } 2224 }
1824 2225
1825 buildUnnamed1823() { 2226 buildUnnamed1926() {
1826 var o = new core.List<core.String>(); 2227 var o = new core.List<core.String>();
1827 o.add("foo"); 2228 o.add("foo");
1828 o.add("foo"); 2229 o.add("foo");
1829 return o; 2230 return o;
1830 } 2231 }
1831 2232
1832 checkUnnamed1823(core.List<core.String> o) { 2233 checkUnnamed1926(core.List<core.String> o) {
1833 unittest.expect(o, unittest.hasLength(2)); 2234 unittest.expect(o, unittest.hasLength(2));
1834 unittest.expect(o[0], unittest.equals('foo')); 2235 unittest.expect(o[0], unittest.equals('foo'));
1835 unittest.expect(o[1], unittest.equals('foo')); 2236 unittest.expect(o[1], unittest.equals('foo'));
1836 } 2237 }
1837 2238
1838 buildUnnamed1824() { 2239 buildUnnamed1927() {
1839 var o = new core.List<api.VariantCall>(); 2240 var o = new core.List<api.VariantCall>();
1840 o.add(buildVariantCall()); 2241 o.add(buildVariantCall());
1841 o.add(buildVariantCall()); 2242 o.add(buildVariantCall());
1842 return o; 2243 return o;
1843 } 2244 }
1844 2245
1845 checkUnnamed1824(core.List<api.VariantCall> o) { 2246 checkUnnamed1927(core.List<api.VariantCall> o) {
1846 unittest.expect(o, unittest.hasLength(2)); 2247 unittest.expect(o, unittest.hasLength(2));
1847 checkVariantCall(o[0]); 2248 checkVariantCall(o[0]);
1848 checkVariantCall(o[1]); 2249 checkVariantCall(o[1]);
1849 } 2250 }
1850 2251
1851 buildUnnamed1825() { 2252 buildUnnamed1928() {
1852 var o = new core.List<core.String>(); 2253 var o = new core.List<core.String>();
1853 o.add("foo"); 2254 o.add("foo");
1854 o.add("foo"); 2255 o.add("foo");
1855 return o; 2256 return o;
1856 } 2257 }
1857 2258
1858 checkUnnamed1825(core.List<core.String> o) { 2259 checkUnnamed1928(core.List<core.String> o) {
1859 unittest.expect(o, unittest.hasLength(2)); 2260 unittest.expect(o, unittest.hasLength(2));
1860 unittest.expect(o[0], unittest.equals('foo')); 2261 unittest.expect(o[0], unittest.equals('foo'));
1861 unittest.expect(o[1], unittest.equals('foo')); 2262 unittest.expect(o[1], unittest.equals('foo'));
1862 } 2263 }
1863 2264
1864 buildUnnamed1826() { 2265 buildUnnamed1929() {
1865 var o = new core.List<core.Object>(); 2266 var o = new core.List<core.Object>();
1866 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2267 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1867 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2268 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1868 return o; 2269 return o;
1869 } 2270 }
1870 2271
1871 checkUnnamed1826(core.List<core.Object> o) { 2272 checkUnnamed1929(core.List<core.Object> o) {
1872 unittest.expect(o, unittest.hasLength(2)); 2273 unittest.expect(o, unittest.hasLength(2));
1873 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string "], unittest.equals('foo')); 2274 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string "], unittest.equals('foo'));
1874 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string "], unittest.equals('foo')); 2275 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string "], unittest.equals('foo'));
1875 } 2276 }
1876 2277
1877 buildUnnamed1827() { 2278 buildUnnamed1930() {
1878 var o = new core.Map<core.String, core.List<core.Object>>(); 2279 var o = new core.Map<core.String, core.List<core.Object>>();
1879 o["x"] = buildUnnamed1826(); 2280 o["x"] = buildUnnamed1929();
1880 o["y"] = buildUnnamed1826(); 2281 o["y"] = buildUnnamed1929();
1881 return o; 2282 return o;
1882 } 2283 }
1883 2284
1884 checkUnnamed1827(core.Map<core.String, core.List<core.Object>> o) { 2285 checkUnnamed1930(core.Map<core.String, core.List<core.Object>> o) {
1885 unittest.expect(o, unittest.hasLength(2)); 2286 unittest.expect(o, unittest.hasLength(2));
1886 checkUnnamed1826(o["x"]); 2287 checkUnnamed1929(o["x"]);
1887 checkUnnamed1826(o["y"]); 2288 checkUnnamed1929(o["y"]);
1888 } 2289 }
1889 2290
1890 buildUnnamed1828() { 2291 buildUnnamed1931() {
1891 var o = new core.List<core.String>(); 2292 var o = new core.List<core.String>();
1892 o.add("foo"); 2293 o.add("foo");
1893 o.add("foo"); 2294 o.add("foo");
1894 return o; 2295 return o;
1895 } 2296 }
1896 2297
1897 checkUnnamed1828(core.List<core.String> o) { 2298 checkUnnamed1931(core.List<core.String> o) {
1898 unittest.expect(o, unittest.hasLength(2)); 2299 unittest.expect(o, unittest.hasLength(2));
1899 unittest.expect(o[0], unittest.equals('foo')); 2300 unittest.expect(o[0], unittest.equals('foo'));
1900 unittest.expect(o[1], unittest.equals('foo')); 2301 unittest.expect(o[1], unittest.equals('foo'));
1901 } 2302 }
1902 2303
1903 core.int buildCounterVariant = 0; 2304 core.int buildCounterVariant = 0;
1904 buildVariant() { 2305 buildVariant() {
1905 var o = new api.Variant(); 2306 var o = new api.Variant();
1906 buildCounterVariant++; 2307 buildCounterVariant++;
1907 if (buildCounterVariant < 3) { 2308 if (buildCounterVariant < 3) {
1908 o.alternateBases = buildUnnamed1823(); 2309 o.alternateBases = buildUnnamed1926();
1909 o.calls = buildUnnamed1824(); 2310 o.calls = buildUnnamed1927();
1910 o.created = "foo"; 2311 o.created = "foo";
1911 o.end = "foo"; 2312 o.end = "foo";
1912 o.filter = buildUnnamed1825(); 2313 o.filter = buildUnnamed1928();
1913 o.id = "foo"; 2314 o.id = "foo";
1914 o.info = buildUnnamed1827(); 2315 o.info = buildUnnamed1930();
1915 o.names = buildUnnamed1828(); 2316 o.names = buildUnnamed1931();
1916 o.quality = 42.0; 2317 o.quality = 42.0;
1917 o.referenceBases = "foo"; 2318 o.referenceBases = "foo";
1918 o.referenceName = "foo"; 2319 o.referenceName = "foo";
1919 o.start = "foo"; 2320 o.start = "foo";
1920 o.variantSetId = "foo"; 2321 o.variantSetId = "foo";
1921 } 2322 }
1922 buildCounterVariant--; 2323 buildCounterVariant--;
1923 return o; 2324 return o;
1924 } 2325 }
1925 2326
1926 checkVariant(api.Variant o) { 2327 checkVariant(api.Variant o) {
1927 buildCounterVariant++; 2328 buildCounterVariant++;
1928 if (buildCounterVariant < 3) { 2329 if (buildCounterVariant < 3) {
1929 checkUnnamed1823(o.alternateBases); 2330 checkUnnamed1926(o.alternateBases);
1930 checkUnnamed1824(o.calls); 2331 checkUnnamed1927(o.calls);
1931 unittest.expect(o.created, unittest.equals('foo')); 2332 unittest.expect(o.created, unittest.equals('foo'));
1932 unittest.expect(o.end, unittest.equals('foo')); 2333 unittest.expect(o.end, unittest.equals('foo'));
1933 checkUnnamed1825(o.filter); 2334 checkUnnamed1928(o.filter);
1934 unittest.expect(o.id, unittest.equals('foo')); 2335 unittest.expect(o.id, unittest.equals('foo'));
1935 checkUnnamed1827(o.info); 2336 checkUnnamed1930(o.info);
1936 checkUnnamed1828(o.names); 2337 checkUnnamed1931(o.names);
1937 unittest.expect(o.quality, unittest.equals(42.0)); 2338 unittest.expect(o.quality, unittest.equals(42.0));
1938 unittest.expect(o.referenceBases, unittest.equals('foo')); 2339 unittest.expect(o.referenceBases, unittest.equals('foo'));
1939 unittest.expect(o.referenceName, unittest.equals('foo')); 2340 unittest.expect(o.referenceName, unittest.equals('foo'));
1940 unittest.expect(o.start, unittest.equals('foo')); 2341 unittest.expect(o.start, unittest.equals('foo'));
1941 unittest.expect(o.variantSetId, unittest.equals('foo')); 2342 unittest.expect(o.variantSetId, unittest.equals('foo'));
1942 } 2343 }
1943 buildCounterVariant--; 2344 buildCounterVariant--;
1944 } 2345 }
1945 2346
1946 buildUnnamed1829() { 2347 buildUnnamed1932() {
1947 var o = new core.List<core.int>(); 2348 var o = new core.List<core.int>();
1948 o.add(42); 2349 o.add(42);
1949 o.add(42); 2350 o.add(42);
1950 return o; 2351 return o;
1951 } 2352 }
1952 2353
1953 checkUnnamed1829(core.List<core.int> o) { 2354 checkUnnamed1932(core.List<core.int> o) {
1954 unittest.expect(o, unittest.hasLength(2)); 2355 unittest.expect(o, unittest.hasLength(2));
1955 unittest.expect(o[0], unittest.equals(42)); 2356 unittest.expect(o[0], unittest.equals(42));
1956 unittest.expect(o[1], unittest.equals(42)); 2357 unittest.expect(o[1], unittest.equals(42));
1957 } 2358 }
1958 2359
1959 buildUnnamed1830() { 2360 buildUnnamed1933() {
1960 var o = new core.List<core.double>(); 2361 var o = new core.List<core.double>();
1961 o.add(42.0); 2362 o.add(42.0);
1962 o.add(42.0); 2363 o.add(42.0);
1963 return o; 2364 return o;
1964 } 2365 }
1965 2366
1966 checkUnnamed1830(core.List<core.double> o) { 2367 checkUnnamed1933(core.List<core.double> o) {
1967 unittest.expect(o, unittest.hasLength(2)); 2368 unittest.expect(o, unittest.hasLength(2));
1968 unittest.expect(o[0], unittest.equals(42.0)); 2369 unittest.expect(o[0], unittest.equals(42.0));
1969 unittest.expect(o[1], unittest.equals(42.0)); 2370 unittest.expect(o[1], unittest.equals(42.0));
1970 } 2371 }
1971 2372
1972 buildUnnamed1831() { 2373 buildUnnamed1934() {
1973 var o = new core.List<core.Object>(); 2374 var o = new core.List<core.Object>();
1974 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2375 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1975 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2376 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
1976 return o; 2377 return o;
1977 } 2378 }
1978 2379
1979 checkUnnamed1831(core.List<core.Object> o) { 2380 checkUnnamed1934(core.List<core.Object> o) {
1980 unittest.expect(o, unittest.hasLength(2)); 2381 unittest.expect(o, unittest.hasLength(2));
1981 var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLengt h(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string "], unittest.equals('foo')); 2382 var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLengt h(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string "], unittest.equals('foo'));
1982 var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLengt h(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string "], unittest.equals('foo')); 2383 var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLengt h(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string "], unittest.equals('foo'));
1983 } 2384 }
1984 2385
1985 buildUnnamed1832() { 2386 buildUnnamed1935() {
1986 var o = new core.Map<core.String, core.List<core.Object>>(); 2387 var o = new core.Map<core.String, core.List<core.Object>>();
1987 o["x"] = buildUnnamed1831(); 2388 o["x"] = buildUnnamed1934();
1988 o["y"] = buildUnnamed1831(); 2389 o["y"] = buildUnnamed1934();
1989 return o; 2390 return o;
1990 } 2391 }
1991 2392
1992 checkUnnamed1832(core.Map<core.String, core.List<core.Object>> o) { 2393 checkUnnamed1935(core.Map<core.String, core.List<core.Object>> o) {
1993 unittest.expect(o, unittest.hasLength(2)); 2394 unittest.expect(o, unittest.hasLength(2));
1994 checkUnnamed1831(o["x"]); 2395 checkUnnamed1934(o["x"]);
1995 checkUnnamed1831(o["y"]); 2396 checkUnnamed1934(o["y"]);
1996 } 2397 }
1997 2398
1998 core.int buildCounterVariantCall = 0; 2399 core.int buildCounterVariantCall = 0;
1999 buildVariantCall() { 2400 buildVariantCall() {
2000 var o = new api.VariantCall(); 2401 var o = new api.VariantCall();
2001 buildCounterVariantCall++; 2402 buildCounterVariantCall++;
2002 if (buildCounterVariantCall < 3) { 2403 if (buildCounterVariantCall < 3) {
2003 o.callSetId = "foo"; 2404 o.callSetId = "foo";
2004 o.callSetName = "foo"; 2405 o.callSetName = "foo";
2005 o.genotype = buildUnnamed1829(); 2406 o.genotype = buildUnnamed1932();
2006 o.genotypeLikelihood = buildUnnamed1830(); 2407 o.genotypeLikelihood = buildUnnamed1933();
2007 o.info = buildUnnamed1832(); 2408 o.info = buildUnnamed1935();
2008 o.phaseset = "foo"; 2409 o.phaseset = "foo";
2009 } 2410 }
2010 buildCounterVariantCall--; 2411 buildCounterVariantCall--;
2011 return o; 2412 return o;
2012 } 2413 }
2013 2414
2014 checkVariantCall(api.VariantCall o) { 2415 checkVariantCall(api.VariantCall o) {
2015 buildCounterVariantCall++; 2416 buildCounterVariantCall++;
2016 if (buildCounterVariantCall < 3) { 2417 if (buildCounterVariantCall < 3) {
2017 unittest.expect(o.callSetId, unittest.equals('foo')); 2418 unittest.expect(o.callSetId, unittest.equals('foo'));
2018 unittest.expect(o.callSetName, unittest.equals('foo')); 2419 unittest.expect(o.callSetName, unittest.equals('foo'));
2019 checkUnnamed1829(o.genotype); 2420 checkUnnamed1932(o.genotype);
2020 checkUnnamed1830(o.genotypeLikelihood); 2421 checkUnnamed1933(o.genotypeLikelihood);
2021 checkUnnamed1832(o.info); 2422 checkUnnamed1935(o.info);
2022 unittest.expect(o.phaseset, unittest.equals('foo')); 2423 unittest.expect(o.phaseset, unittest.equals('foo'));
2023 } 2424 }
2024 buildCounterVariantCall--; 2425 buildCounterVariantCall--;
2025 } 2426 }
2026 2427
2027 buildUnnamed1833() { 2428 buildUnnamed1936() {
2028 var o = new core.List<api.VariantSetMetadata>(); 2429 var o = new core.List<api.VariantSetMetadata>();
2029 o.add(buildVariantSetMetadata()); 2430 o.add(buildVariantSetMetadata());
2030 o.add(buildVariantSetMetadata()); 2431 o.add(buildVariantSetMetadata());
2031 return o; 2432 return o;
2032 } 2433 }
2033 2434
2034 checkUnnamed1833(core.List<api.VariantSetMetadata> o) { 2435 checkUnnamed1936(core.List<api.VariantSetMetadata> o) {
2035 unittest.expect(o, unittest.hasLength(2)); 2436 unittest.expect(o, unittest.hasLength(2));
2036 checkVariantSetMetadata(o[0]); 2437 checkVariantSetMetadata(o[0]);
2037 checkVariantSetMetadata(o[1]); 2438 checkVariantSetMetadata(o[1]);
2038 } 2439 }
2039 2440
2040 buildUnnamed1834() { 2441 buildUnnamed1937() {
2041 var o = new core.List<api.ReferenceBound>(); 2442 var o = new core.List<api.ReferenceBound>();
2042 o.add(buildReferenceBound()); 2443 o.add(buildReferenceBound());
2043 o.add(buildReferenceBound()); 2444 o.add(buildReferenceBound());
2044 return o; 2445 return o;
2045 } 2446 }
2046 2447
2047 checkUnnamed1834(core.List<api.ReferenceBound> o) { 2448 checkUnnamed1937(core.List<api.ReferenceBound> o) {
2048 unittest.expect(o, unittest.hasLength(2)); 2449 unittest.expect(o, unittest.hasLength(2));
2049 checkReferenceBound(o[0]); 2450 checkReferenceBound(o[0]);
2050 checkReferenceBound(o[1]); 2451 checkReferenceBound(o[1]);
2051 } 2452 }
2052 2453
2053 core.int buildCounterVariantSet = 0; 2454 core.int buildCounterVariantSet = 0;
2054 buildVariantSet() { 2455 buildVariantSet() {
2055 var o = new api.VariantSet(); 2456 var o = new api.VariantSet();
2056 buildCounterVariantSet++; 2457 buildCounterVariantSet++;
2057 if (buildCounterVariantSet < 3) { 2458 if (buildCounterVariantSet < 3) {
2058 o.datasetId = "foo"; 2459 o.datasetId = "foo";
2059 o.id = "foo"; 2460 o.id = "foo";
2060 o.metadata = buildUnnamed1833(); 2461 o.metadata = buildUnnamed1936();
2061 o.referenceBounds = buildUnnamed1834(); 2462 o.referenceBounds = buildUnnamed1937();
2062 } 2463 }
2063 buildCounterVariantSet--; 2464 buildCounterVariantSet--;
2064 return o; 2465 return o;
2065 } 2466 }
2066 2467
2067 checkVariantSet(api.VariantSet o) { 2468 checkVariantSet(api.VariantSet o) {
2068 buildCounterVariantSet++; 2469 buildCounterVariantSet++;
2069 if (buildCounterVariantSet < 3) { 2470 if (buildCounterVariantSet < 3) {
2070 unittest.expect(o.datasetId, unittest.equals('foo')); 2471 unittest.expect(o.datasetId, unittest.equals('foo'));
2071 unittest.expect(o.id, unittest.equals('foo')); 2472 unittest.expect(o.id, unittest.equals('foo'));
2072 checkUnnamed1833(o.metadata); 2473 checkUnnamed1936(o.metadata);
2073 checkUnnamed1834(o.referenceBounds); 2474 checkUnnamed1937(o.referenceBounds);
2074 } 2475 }
2075 buildCounterVariantSet--; 2476 buildCounterVariantSet--;
2076 } 2477 }
2077 2478
2078 buildUnnamed1835() { 2479 buildUnnamed1938() {
2079 var o = new core.List<core.Object>(); 2480 var o = new core.List<core.Object>();
2080 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2481 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2081 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 2482 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
2082 return o; 2483 return o;
2083 } 2484 }
2084 2485
2085 checkUnnamed1835(core.List<core.Object> o) { 2486 checkUnnamed1938(core.List<core.Object> o) {
2086 unittest.expect(o, unittest.hasLength(2)); 2487 unittest.expect(o, unittest.hasLength(2));
2087 var casted21 = (o[0]) as core.Map; unittest.expect(casted21, unittest.hasLengt h(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string "], unittest.equals('foo')); 2488 var casted21 = (o[0]) as core.Map; unittest.expect(casted21, unittest.hasLengt h(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string "], unittest.equals('foo'));
2088 var casted22 = (o[1]) as core.Map; unittest.expect(casted22, unittest.hasLengt h(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string "], unittest.equals('foo')); 2489 var casted22 = (o[1]) as core.Map; unittest.expect(casted22, unittest.hasLengt h(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string "], unittest.equals('foo'));
2089 } 2490 }
2090 2491
2091 buildUnnamed1836() { 2492 buildUnnamed1939() {
2092 var o = new core.Map<core.String, core.List<core.Object>>(); 2493 var o = new core.Map<core.String, core.List<core.Object>>();
2093 o["x"] = buildUnnamed1835(); 2494 o["x"] = buildUnnamed1938();
2094 o["y"] = buildUnnamed1835(); 2495 o["y"] = buildUnnamed1938();
2095 return o; 2496 return o;
2096 } 2497 }
2097 2498
2098 checkUnnamed1836(core.Map<core.String, core.List<core.Object>> o) { 2499 checkUnnamed1939(core.Map<core.String, core.List<core.Object>> o) {
2099 unittest.expect(o, unittest.hasLength(2)); 2500 unittest.expect(o, unittest.hasLength(2));
2100 checkUnnamed1835(o["x"]); 2501 checkUnnamed1938(o["x"]);
2101 checkUnnamed1835(o["y"]); 2502 checkUnnamed1938(o["y"]);
2102 } 2503 }
2103 2504
2104 core.int buildCounterVariantSetMetadata = 0; 2505 core.int buildCounterVariantSetMetadata = 0;
2105 buildVariantSetMetadata() { 2506 buildVariantSetMetadata() {
2106 var o = new api.VariantSetMetadata(); 2507 var o = new api.VariantSetMetadata();
2107 buildCounterVariantSetMetadata++; 2508 buildCounterVariantSetMetadata++;
2108 if (buildCounterVariantSetMetadata < 3) { 2509 if (buildCounterVariantSetMetadata < 3) {
2109 o.description = "foo"; 2510 o.description = "foo";
2110 o.id = "foo"; 2511 o.id = "foo";
2111 o.info = buildUnnamed1836(); 2512 o.info = buildUnnamed1939();
2112 o.key = "foo"; 2513 o.key = "foo";
2113 o.number = "foo"; 2514 o.number = "foo";
2114 o.type = "foo"; 2515 o.type = "foo";
2115 o.value = "foo"; 2516 o.value = "foo";
2116 } 2517 }
2117 buildCounterVariantSetMetadata--; 2518 buildCounterVariantSetMetadata--;
2118 return o; 2519 return o;
2119 } 2520 }
2120 2521
2121 checkVariantSetMetadata(api.VariantSetMetadata o) { 2522 checkVariantSetMetadata(api.VariantSetMetadata o) {
2122 buildCounterVariantSetMetadata++; 2523 buildCounterVariantSetMetadata++;
2123 if (buildCounterVariantSetMetadata < 3) { 2524 if (buildCounterVariantSetMetadata < 3) {
2124 unittest.expect(o.description, unittest.equals('foo')); 2525 unittest.expect(o.description, unittest.equals('foo'));
2125 unittest.expect(o.id, unittest.equals('foo')); 2526 unittest.expect(o.id, unittest.equals('foo'));
2126 checkUnnamed1836(o.info); 2527 checkUnnamed1939(o.info);
2127 unittest.expect(o.key, unittest.equals('foo')); 2528 unittest.expect(o.key, unittest.equals('foo'));
2128 unittest.expect(o.number, unittest.equals('foo')); 2529 unittest.expect(o.number, unittest.equals('foo'));
2129 unittest.expect(o.type, unittest.equals('foo')); 2530 unittest.expect(o.type, unittest.equals('foo'));
2130 unittest.expect(o.value, unittest.equals('foo')); 2531 unittest.expect(o.value, unittest.equals('foo'));
2131 } 2532 }
2132 buildCounterVariantSetMetadata--; 2533 buildCounterVariantSetMetadata--;
2133 } 2534 }
2134 2535
2135 2536
2136 main() { 2537 main() {
2538 unittest.group("obj-schema-Binding", () {
2539 unittest.test("to-json--from-json", () {
2540 var o = buildBinding();
2541 var od = new api.Binding.fromJson(o.toJson());
2542 checkBinding(od);
2543 });
2544 });
2545
2546
2137 unittest.group("obj-schema-CallSet", () { 2547 unittest.group("obj-schema-CallSet", () {
2138 unittest.test("to-json--from-json", () { 2548 unittest.test("to-json--from-json", () {
2139 var o = buildCallSet(); 2549 var o = buildCallSet();
2140 var od = new api.CallSet.fromJson(o.toJson()); 2550 var od = new api.CallSet.fromJson(o.toJson());
2141 checkCallSet(od); 2551 checkCallSet(od);
2142 }); 2552 });
2143 }); 2553 });
2144 2554
2145 2555
2146 unittest.group("obj-schema-CancelOperationRequest", () { 2556 unittest.group("obj-schema-CancelOperationRequest", () {
2147 unittest.test("to-json--from-json", () { 2557 unittest.test("to-json--from-json", () {
2148 var o = buildCancelOperationRequest(); 2558 var o = buildCancelOperationRequest();
2149 var od = new api.CancelOperationRequest.fromJson(o.toJson()); 2559 var od = new api.CancelOperationRequest.fromJson(o.toJson());
2150 checkCancelOperationRequest(od); 2560 checkCancelOperationRequest(od);
2151 }); 2561 });
2152 }); 2562 });
2153 2563
2154 2564
2155 unittest.group("obj-schema-CigarUnit", () { 2565 unittest.group("obj-schema-CigarUnit", () {
2156 unittest.test("to-json--from-json", () { 2566 unittest.test("to-json--from-json", () {
2157 var o = buildCigarUnit(); 2567 var o = buildCigarUnit();
2158 var od = new api.CigarUnit.fromJson(o.toJson()); 2568 var od = new api.CigarUnit.fromJson(o.toJson());
2159 checkCigarUnit(od); 2569 checkCigarUnit(od);
2160 }); 2570 });
2161 }); 2571 });
2162 2572
2163 2573
2574 unittest.group("obj-schema-CloudAuditOptions", () {
2575 unittest.test("to-json--from-json", () {
2576 var o = buildCloudAuditOptions();
2577 var od = new api.CloudAuditOptions.fromJson(o.toJson());
2578 checkCloudAuditOptions(od);
2579 });
2580 });
2581
2582
2583 unittest.group("obj-schema-Condition", () {
2584 unittest.test("to-json--from-json", () {
2585 var o = buildCondition();
2586 var od = new api.Condition.fromJson(o.toJson());
2587 checkCondition(od);
2588 });
2589 });
2590
2591
2592 unittest.group("obj-schema-CounterOptions", () {
2593 unittest.test("to-json--from-json", () {
2594 var o = buildCounterOptions();
2595 var od = new api.CounterOptions.fromJson(o.toJson());
2596 checkCounterOptions(od);
2597 });
2598 });
2599
2600
2164 unittest.group("obj-schema-CoverageBucket", () { 2601 unittest.group("obj-schema-CoverageBucket", () {
2165 unittest.test("to-json--from-json", () { 2602 unittest.test("to-json--from-json", () {
2166 var o = buildCoverageBucket(); 2603 var o = buildCoverageBucket();
2167 var od = new api.CoverageBucket.fromJson(o.toJson()); 2604 var od = new api.CoverageBucket.fromJson(o.toJson());
2168 checkCoverageBucket(od); 2605 checkCoverageBucket(od);
2169 }); 2606 });
2170 }); 2607 });
2171 2608
2172 2609
2610 unittest.group("obj-schema-DataAccessOptions", () {
2611 unittest.test("to-json--from-json", () {
2612 var o = buildDataAccessOptions();
2613 var od = new api.DataAccessOptions.fromJson(o.toJson());
2614 checkDataAccessOptions(od);
2615 });
2616 });
2617
2618
2173 unittest.group("obj-schema-Dataset", () { 2619 unittest.group("obj-schema-Dataset", () {
2174 unittest.test("to-json--from-json", () { 2620 unittest.test("to-json--from-json", () {
2175 var o = buildDataset(); 2621 var o = buildDataset();
2176 var od = new api.Dataset.fromJson(o.toJson()); 2622 var od = new api.Dataset.fromJson(o.toJson());
2177 checkDataset(od); 2623 checkDataset(od);
2178 }); 2624 });
2179 }); 2625 });
2180 2626
2181 2627
2182 unittest.group("obj-schema-Empty", () { 2628 unittest.group("obj-schema-Empty", () {
(...skipping 25 matching lines...) Expand all
2208 2654
2209 unittest.group("obj-schema-ExportVariantSetRequest", () { 2655 unittest.group("obj-schema-ExportVariantSetRequest", () {
2210 unittest.test("to-json--from-json", () { 2656 unittest.test("to-json--from-json", () {
2211 var o = buildExportVariantSetRequest(); 2657 var o = buildExportVariantSetRequest();
2212 var od = new api.ExportVariantSetRequest.fromJson(o.toJson()); 2658 var od = new api.ExportVariantSetRequest.fromJson(o.toJson());
2213 checkExportVariantSetRequest(od); 2659 checkExportVariantSetRequest(od);
2214 }); 2660 });
2215 }); 2661 });
2216 2662
2217 2663
2664 unittest.group("obj-schema-GetIamPolicyRequest", () {
2665 unittest.test("to-json--from-json", () {
2666 var o = buildGetIamPolicyRequest();
2667 var od = new api.GetIamPolicyRequest.fromJson(o.toJson());
2668 checkGetIamPolicyRequest(od);
2669 });
2670 });
2671
2672
2218 unittest.group("obj-schema-ImportReadGroupSetsRequest", () { 2673 unittest.group("obj-schema-ImportReadGroupSetsRequest", () {
2219 unittest.test("to-json--from-json", () { 2674 unittest.test("to-json--from-json", () {
2220 var o = buildImportReadGroupSetsRequest(); 2675 var o = buildImportReadGroupSetsRequest();
2221 var od = new api.ImportReadGroupSetsRequest.fromJson(o.toJson()); 2676 var od = new api.ImportReadGroupSetsRequest.fromJson(o.toJson());
2222 checkImportReadGroupSetsRequest(od); 2677 checkImportReadGroupSetsRequest(od);
2223 }); 2678 });
2224 }); 2679 });
2225 2680
2226 2681
2227 unittest.group("obj-schema-ImportReadGroupSetsResponse", () { 2682 unittest.group("obj-schema-ImportReadGroupSetsResponse", () {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2289 2744
2290 unittest.group("obj-schema-ListOperationsResponse", () { 2745 unittest.group("obj-schema-ListOperationsResponse", () {
2291 unittest.test("to-json--from-json", () { 2746 unittest.test("to-json--from-json", () {
2292 var o = buildListOperationsResponse(); 2747 var o = buildListOperationsResponse();
2293 var od = new api.ListOperationsResponse.fromJson(o.toJson()); 2748 var od = new api.ListOperationsResponse.fromJson(o.toJson());
2294 checkListOperationsResponse(od); 2749 checkListOperationsResponse(od);
2295 }); 2750 });
2296 }); 2751 });
2297 2752
2298 2753
2754 unittest.group("obj-schema-LogConfig", () {
2755 unittest.test("to-json--from-json", () {
2756 var o = buildLogConfig();
2757 var od = new api.LogConfig.fromJson(o.toJson());
2758 checkLogConfig(od);
2759 });
2760 });
2761
2762
2299 unittest.group("obj-schema-Operation", () { 2763 unittest.group("obj-schema-Operation", () {
2300 unittest.test("to-json--from-json", () { 2764 unittest.test("to-json--from-json", () {
2301 var o = buildOperation(); 2765 var o = buildOperation();
2302 var od = new api.Operation.fromJson(o.toJson()); 2766 var od = new api.Operation.fromJson(o.toJson());
2303 checkOperation(od); 2767 checkOperation(od);
2304 }); 2768 });
2305 }); 2769 });
2306 2770
2307 2771
2308 unittest.group("obj-schema-OperationEvent", () { 2772 unittest.group("obj-schema-OperationEvent", () {
2309 unittest.test("to-json--from-json", () { 2773 unittest.test("to-json--from-json", () {
2310 var o = buildOperationEvent(); 2774 var o = buildOperationEvent();
2311 var od = new api.OperationEvent.fromJson(o.toJson()); 2775 var od = new api.OperationEvent.fromJson(o.toJson());
2312 checkOperationEvent(od); 2776 checkOperationEvent(od);
2313 }); 2777 });
2314 }); 2778 });
2315 2779
2316 2780
2317 unittest.group("obj-schema-OperationMetadata", () { 2781 unittest.group("obj-schema-OperationMetadata", () {
2318 unittest.test("to-json--from-json", () { 2782 unittest.test("to-json--from-json", () {
2319 var o = buildOperationMetadata(); 2783 var o = buildOperationMetadata();
2320 var od = new api.OperationMetadata.fromJson(o.toJson()); 2784 var od = new api.OperationMetadata.fromJson(o.toJson());
2321 checkOperationMetadata(od); 2785 checkOperationMetadata(od);
2322 }); 2786 });
2323 }); 2787 });
2324 2788
2325 2789
2790 unittest.group("obj-schema-Policy", () {
2791 unittest.test("to-json--from-json", () {
2792 var o = buildPolicy();
2793 var od = new api.Policy.fromJson(o.toJson());
2794 checkPolicy(od);
2795 });
2796 });
2797
2798
2326 unittest.group("obj-schema-Position", () { 2799 unittest.group("obj-schema-Position", () {
2327 unittest.test("to-json--from-json", () { 2800 unittest.test("to-json--from-json", () {
2328 var o = buildPosition(); 2801 var o = buildPosition();
2329 var od = new api.Position.fromJson(o.toJson()); 2802 var od = new api.Position.fromJson(o.toJson());
2330 checkPosition(od); 2803 checkPosition(od);
2331 }); 2804 });
2332 }); 2805 });
2333 2806
2334 2807
2335 unittest.group("obj-schema-Program", () { 2808 unittest.group("obj-schema-Program", () {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 2870
2398 unittest.group("obj-schema-ReferenceSet", () { 2871 unittest.group("obj-schema-ReferenceSet", () {
2399 unittest.test("to-json--from-json", () { 2872 unittest.test("to-json--from-json", () {
2400 var o = buildReferenceSet(); 2873 var o = buildReferenceSet();
2401 var od = new api.ReferenceSet.fromJson(o.toJson()); 2874 var od = new api.ReferenceSet.fromJson(o.toJson());
2402 checkReferenceSet(od); 2875 checkReferenceSet(od);
2403 }); 2876 });
2404 }); 2877 });
2405 2878
2406 2879
2880 unittest.group("obj-schema-Rule", () {
2881 unittest.test("to-json--from-json", () {
2882 var o = buildRule();
2883 var od = new api.Rule.fromJson(o.toJson());
2884 checkRule(od);
2885 });
2886 });
2887
2888
2407 unittest.group("obj-schema-SearchCallSetsRequest", () { 2889 unittest.group("obj-schema-SearchCallSetsRequest", () {
2408 unittest.test("to-json--from-json", () { 2890 unittest.test("to-json--from-json", () {
2409 var o = buildSearchCallSetsRequest(); 2891 var o = buildSearchCallSetsRequest();
2410 var od = new api.SearchCallSetsRequest.fromJson(o.toJson()); 2892 var od = new api.SearchCallSetsRequest.fromJson(o.toJson());
2411 checkSearchCallSetsRequest(od); 2893 checkSearchCallSetsRequest(od);
2412 }); 2894 });
2413 }); 2895 });
2414 2896
2415 2897
2416 unittest.group("obj-schema-SearchCallSetsResponse", () { 2898 unittest.group("obj-schema-SearchCallSetsResponse", () {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2523 3005
2524 unittest.group("obj-schema-SearchVariantsResponse", () { 3006 unittest.group("obj-schema-SearchVariantsResponse", () {
2525 unittest.test("to-json--from-json", () { 3007 unittest.test("to-json--from-json", () {
2526 var o = buildSearchVariantsResponse(); 3008 var o = buildSearchVariantsResponse();
2527 var od = new api.SearchVariantsResponse.fromJson(o.toJson()); 3009 var od = new api.SearchVariantsResponse.fromJson(o.toJson());
2528 checkSearchVariantsResponse(od); 3010 checkSearchVariantsResponse(od);
2529 }); 3011 });
2530 }); 3012 });
2531 3013
2532 3014
3015 unittest.group("obj-schema-SetIamPolicyRequest", () {
3016 unittest.test("to-json--from-json", () {
3017 var o = buildSetIamPolicyRequest();
3018 var od = new api.SetIamPolicyRequest.fromJson(o.toJson());
3019 checkSetIamPolicyRequest(od);
3020 });
3021 });
3022
3023
2533 unittest.group("obj-schema-Status", () { 3024 unittest.group("obj-schema-Status", () {
2534 unittest.test("to-json--from-json", () { 3025 unittest.test("to-json--from-json", () {
2535 var o = buildStatus(); 3026 var o = buildStatus();
2536 var od = new api.Status.fromJson(o.toJson()); 3027 var od = new api.Status.fromJson(o.toJson());
2537 checkStatus(od); 3028 checkStatus(od);
2538 }); 3029 });
2539 }); 3030 });
2540 3031
2541 3032
3033 unittest.group("obj-schema-TestIamPermissionsRequest", () {
3034 unittest.test("to-json--from-json", () {
3035 var o = buildTestIamPermissionsRequest();
3036 var od = new api.TestIamPermissionsRequest.fromJson(o.toJson());
3037 checkTestIamPermissionsRequest(od);
3038 });
3039 });
3040
3041
3042 unittest.group("obj-schema-TestIamPermissionsResponse", () {
3043 unittest.test("to-json--from-json", () {
3044 var o = buildTestIamPermissionsResponse();
3045 var od = new api.TestIamPermissionsResponse.fromJson(o.toJson());
3046 checkTestIamPermissionsResponse(od);
3047 });
3048 });
3049
3050
2542 unittest.group("obj-schema-UndeleteDatasetRequest", () { 3051 unittest.group("obj-schema-UndeleteDatasetRequest", () {
2543 unittest.test("to-json--from-json", () { 3052 unittest.test("to-json--from-json", () {
2544 var o = buildUndeleteDatasetRequest(); 3053 var o = buildUndeleteDatasetRequest();
2545 var od = new api.UndeleteDatasetRequest.fromJson(o.toJson()); 3054 var od = new api.UndeleteDatasetRequest.fromJson(o.toJson());
2546 checkUndeleteDatasetRequest(od); 3055 checkUndeleteDatasetRequest(od);
2547 }); 3056 });
2548 }); 3057 });
2549 3058
2550 3059
2551 unittest.group("obj-schema-Variant", () { 3060 unittest.group("obj-schema-Variant", () {
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2964 "content-type" : "application/json; charset=utf-8", 3473 "content-type" : "application/json; charset=utf-8",
2965 }; 3474 };
2966 var resp = convert.JSON.encode(buildDataset()); 3475 var resp = convert.JSON.encode(buildDataset());
2967 return new async.Future.value(stringResponse(200, h, resp)); 3476 return new async.Future.value(stringResponse(200, h, resp));
2968 }), true); 3477 }), true);
2969 res.get(arg_datasetId).then(unittest.expectAsync(((api.Dataset response) { 3478 res.get(arg_datasetId).then(unittest.expectAsync(((api.Dataset response) {
2970 checkDataset(response); 3479 checkDataset(response);
2971 }))); 3480 })));
2972 }); 3481 });
2973 3482
3483 unittest.test("method--getIamPolicy", () {
3484
3485 var mock = new HttpServerMock();
3486 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
3487 var arg_request = buildGetIamPolicyRequest();
3488 var arg_resource = "foo";
3489 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3490 var obj = new api.GetIamPolicyRequest.fromJson(json);
3491 checkGetIamPolicyRequest(obj);
3492
3493 var path = (req.url).path;
3494 var pathOffset = 0;
3495 var index;
3496 var subPart;
3497 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3498 pathOffset += 1;
3499 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ als("v1/"));
3500 pathOffset += 3;
3501 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation;
3502
3503 var query = (req.url).query;
3504 var queryOffset = 0;
3505 var queryMap = {};
3506 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
3507 parseBool(n) {
3508 if (n == "true") return true;
3509 if (n == "false") return false;
3510 if (n == null) return null;
3511 throw new core.ArgumentError("Invalid boolean: $n");
3512 }
3513 if (query.length > 0) {
3514 for (var part in query.split("&")) {
3515 var keyvalue = part.split("=");
3516 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3517 }
3518 }
3519
3520
3521 var h = {
3522 "content-type" : "application/json; charset=utf-8",
3523 };
3524 var resp = convert.JSON.encode(buildPolicy());
3525 return new async.Future.value(stringResponse(200, h, resp));
3526 }), true);
3527 res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync(((ap i.Policy response) {
3528 checkPolicy(response);
3529 })));
3530 });
3531
2974 unittest.test("method--list", () { 3532 unittest.test("method--list", () {
2975 3533
2976 var mock = new HttpServerMock(); 3534 var mock = new HttpServerMock();
2977 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 3535 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
2978 var arg_projectId = "foo"; 3536 var arg_projectId = "foo";
2979 var arg_pageSize = 42; 3537 var arg_pageSize = 42;
2980 var arg_pageToken = "foo"; 3538 var arg_pageToken = "foo";
2981 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3539 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
2982 var path = (req.url).path; 3540 var path = (req.url).path;
2983 var pathOffset = 0; 3541 var pathOffset = 0;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
3066 "content-type" : "application/json; charset=utf-8", 3624 "content-type" : "application/json; charset=utf-8",
3067 }; 3625 };
3068 var resp = convert.JSON.encode(buildDataset()); 3626 var resp = convert.JSON.encode(buildDataset());
3069 return new async.Future.value(stringResponse(200, h, resp)); 3627 return new async.Future.value(stringResponse(200, h, resp));
3070 }), true); 3628 }), true);
3071 res.patch(arg_request, arg_datasetId, updateMask: arg_updateMask).then(uni ttest.expectAsync(((api.Dataset response) { 3629 res.patch(arg_request, arg_datasetId, updateMask: arg_updateMask).then(uni ttest.expectAsync(((api.Dataset response) {
3072 checkDataset(response); 3630 checkDataset(response);
3073 }))); 3631 })));
3074 }); 3632 });
3075 3633
3634 unittest.test("method--setIamPolicy", () {
3635
3636 var mock = new HttpServerMock();
3637 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
3638 var arg_request = buildSetIamPolicyRequest();
3639 var arg_resource = "foo";
3640 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3641 var obj = new api.SetIamPolicyRequest.fromJson(json);
3642 checkSetIamPolicyRequest(obj);
3643
3644 var path = (req.url).path;
3645 var pathOffset = 0;
3646 var index;
3647 var subPart;
3648 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3649 pathOffset += 1;
3650 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ als("v1/"));
3651 pathOffset += 3;
3652 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation;
3653
3654 var query = (req.url).query;
3655 var queryOffset = 0;
3656 var queryMap = {};
3657 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
3658 parseBool(n) {
3659 if (n == "true") return true;
3660 if (n == "false") return false;
3661 if (n == null) return null;
3662 throw new core.ArgumentError("Invalid boolean: $n");
3663 }
3664 if (query.length > 0) {
3665 for (var part in query.split("&")) {
3666 var keyvalue = part.split("=");
3667 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3668 }
3669 }
3670
3671
3672 var h = {
3673 "content-type" : "application/json; charset=utf-8",
3674 };
3675 var resp = convert.JSON.encode(buildPolicy());
3676 return new async.Future.value(stringResponse(200, h, resp));
3677 }), true);
3678 res.setIamPolicy(arg_request, arg_resource).then(unittest.expectAsync(((ap i.Policy response) {
3679 checkPolicy(response);
3680 })));
3681 });
3682
3683 unittest.test("method--testIamPermissions", () {
3684
3685 var mock = new HttpServerMock();
3686 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
3687 var arg_request = buildTestIamPermissionsRequest();
3688 var arg_resource = "foo";
3689 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3690 var obj = new api.TestIamPermissionsRequest.fromJson(json);
3691 checkTestIamPermissionsRequest(obj);
3692
3693 var path = (req.url).path;
3694 var pathOffset = 0;
3695 var index;
3696 var subPart;
3697 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3698 pathOffset += 1;
3699 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ als("v1/"));
3700 pathOffset += 3;
3701 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation;
3702
3703 var query = (req.url).query;
3704 var queryOffset = 0;
3705 var queryMap = {};
3706 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
3707 parseBool(n) {
3708 if (n == "true") return true;
3709 if (n == "false") return false;
3710 if (n == null) return null;
3711 throw new core.ArgumentError("Invalid boolean: $n");
3712 }
3713 if (query.length > 0) {
3714 for (var part in query.split("&")) {
3715 var keyvalue = part.split("=");
3716 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3717 }
3718 }
3719
3720
3721 var h = {
3722 "content-type" : "application/json; charset=utf-8",
3723 };
3724 var resp = convert.JSON.encode(buildTestIamPermissionsResponse());
3725 return new async.Future.value(stringResponse(200, h, resp));
3726 }), true);
3727 res.testIamPermissions(arg_request, arg_resource).then(unittest.expectAsyn c(((api.TestIamPermissionsResponse response) {
3728 checkTestIamPermissionsResponse(response);
3729 })));
3730 });
3731
3076 unittest.test("method--undelete", () { 3732 unittest.test("method--undelete", () {
3077 3733
3078 var mock = new HttpServerMock(); 3734 var mock = new HttpServerMock();
3079 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 3735 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
3080 var arg_request = buildUndeleteDatasetRequest(); 3736 var arg_request = buildUndeleteDatasetRequest();
3081 var arg_datasetId = "foo"; 3737 var arg_datasetId = "foo";
3082 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3738 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3083 var obj = new api.UndeleteDatasetRequest.fromJson(json); 3739 var obj = new api.UndeleteDatasetRequest.fromJson(json);
3084 checkUndeleteDatasetRequest(obj); 3740 checkUndeleteDatasetRequest(obj);
3085 3741
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after
4589 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR esponse response) { 5245 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR esponse response) {
4590 checkSearchVariantSetsResponse(response); 5246 checkSearchVariantSetsResponse(response);
4591 }))); 5247 })));
4592 }); 5248 });
4593 5249
4594 }); 5250 });
4595 5251
4596 5252
4597 } 5253 }
4598 5254
OLDNEW
« no previous file with comments | « generated/googleapis/test/gamesmanagement/v1management_test.dart ('k') | generated/googleapis/test/gmail/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698