| OLD | NEW |
| 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 Loading... |
| 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 buildUnnamed2271() { | 54 buildUnnamed2592() { |
| 55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
| 56 o.add("foo"); | 56 o.add("foo"); |
| 57 o.add("foo"); | 57 o.add("foo"); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed2271(core.List<core.String> o) { | 61 checkUnnamed2592(core.List<core.String> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
| 64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
| 65 } | 65 } |
| 66 | 66 |
| 67 core.int buildCounterBinding = 0; | 67 core.int buildCounterBinding = 0; |
| 68 buildBinding() { | 68 buildBinding() { |
| 69 var o = new api.Binding(); | 69 var o = new api.Binding(); |
| 70 buildCounterBinding++; | 70 buildCounterBinding++; |
| 71 if (buildCounterBinding < 3) { | 71 if (buildCounterBinding < 3) { |
| 72 o.members = buildUnnamed2271(); | 72 o.members = buildUnnamed2592(); |
| 73 o.role = "foo"; | 73 o.role = "foo"; |
| 74 } | 74 } |
| 75 buildCounterBinding--; | 75 buildCounterBinding--; |
| 76 return o; | 76 return o; |
| 77 } | 77 } |
| 78 | 78 |
| 79 checkBinding(api.Binding o) { | 79 checkBinding(api.Binding o) { |
| 80 buildCounterBinding++; | 80 buildCounterBinding++; |
| 81 if (buildCounterBinding < 3) { | 81 if (buildCounterBinding < 3) { |
| 82 checkUnnamed2271(o.members); | 82 checkUnnamed2592(o.members); |
| 83 unittest.expect(o.role, unittest.equals('foo')); | 83 unittest.expect(o.role, unittest.equals('foo')); |
| 84 } | 84 } |
| 85 buildCounterBinding--; | 85 buildCounterBinding--; |
| 86 } | 86 } |
| 87 | 87 |
| 88 buildUnnamed2272() { | 88 buildUnnamed2593() { |
| 89 var o = new core.List<core.Object>(); | 89 var o = new core.List<core.Object>(); |
| 90 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 90 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 91 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 91 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 92 return o; | 92 return o; |
| 93 } | 93 } |
| 94 | 94 |
| 95 checkUnnamed2272(core.List<core.Object> o) { | 95 checkUnnamed2593(core.List<core.Object> o) { |
| 96 unittest.expect(o, unittest.hasLength(2)); | 96 unittest.expect(o, unittest.hasLength(2)); |
| 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')); | 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')); |
| 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')); | 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')); |
| 99 } | 99 } |
| 100 | 100 |
| 101 buildUnnamed2273() { | 101 buildUnnamed2594() { |
| 102 var o = new core.Map<core.String, core.List<core.Object>>(); | 102 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 103 o["x"] = buildUnnamed2272(); | 103 o["x"] = buildUnnamed2593(); |
| 104 o["y"] = buildUnnamed2272(); | 104 o["y"] = buildUnnamed2593(); |
| 105 return o; | 105 return o; |
| 106 } | 106 } |
| 107 | 107 |
| 108 checkUnnamed2273(core.Map<core.String, core.List<core.Object>> o) { | 108 checkUnnamed2594(core.Map<core.String, core.List<core.Object>> o) { |
| 109 unittest.expect(o, unittest.hasLength(2)); | 109 unittest.expect(o, unittest.hasLength(2)); |
| 110 checkUnnamed2272(o["x"]); | 110 checkUnnamed2593(o["x"]); |
| 111 checkUnnamed2272(o["y"]); | 111 checkUnnamed2593(o["y"]); |
| 112 } | 112 } |
| 113 | 113 |
| 114 buildUnnamed2274() { | 114 buildUnnamed2595() { |
| 115 var o = new core.List<core.String>(); | 115 var o = new core.List<core.String>(); |
| 116 o.add("foo"); | 116 o.add("foo"); |
| 117 o.add("foo"); | 117 o.add("foo"); |
| 118 return o; | 118 return o; |
| 119 } | 119 } |
| 120 | 120 |
| 121 checkUnnamed2274(core.List<core.String> o) { | 121 checkUnnamed2595(core.List<core.String> o) { |
| 122 unittest.expect(o, unittest.hasLength(2)); | 122 unittest.expect(o, unittest.hasLength(2)); |
| 123 unittest.expect(o[0], unittest.equals('foo')); | 123 unittest.expect(o[0], unittest.equals('foo')); |
| 124 unittest.expect(o[1], unittest.equals('foo')); | 124 unittest.expect(o[1], unittest.equals('foo')); |
| 125 } | 125 } |
| 126 | 126 |
| 127 core.int buildCounterCallSet = 0; | 127 core.int buildCounterCallSet = 0; |
| 128 buildCallSet() { | 128 buildCallSet() { |
| 129 var o = new api.CallSet(); | 129 var o = new api.CallSet(); |
| 130 buildCounterCallSet++; | 130 buildCounterCallSet++; |
| 131 if (buildCounterCallSet < 3) { | 131 if (buildCounterCallSet < 3) { |
| 132 o.created = "foo"; | 132 o.created = "foo"; |
| 133 o.id = "foo"; | 133 o.id = "foo"; |
| 134 o.info = buildUnnamed2273(); | 134 o.info = buildUnnamed2594(); |
| 135 o.name = "foo"; | 135 o.name = "foo"; |
| 136 o.sampleId = "foo"; | 136 o.sampleId = "foo"; |
| 137 o.variantSetIds = buildUnnamed2274(); | 137 o.variantSetIds = buildUnnamed2595(); |
| 138 } | 138 } |
| 139 buildCounterCallSet--; | 139 buildCounterCallSet--; |
| 140 return o; | 140 return o; |
| 141 } | 141 } |
| 142 | 142 |
| 143 checkCallSet(api.CallSet o) { | 143 checkCallSet(api.CallSet o) { |
| 144 buildCounterCallSet++; | 144 buildCounterCallSet++; |
| 145 if (buildCounterCallSet < 3) { | 145 if (buildCounterCallSet < 3) { |
| 146 unittest.expect(o.created, unittest.equals('foo')); | 146 unittest.expect(o.created, unittest.equals('foo')); |
| 147 unittest.expect(o.id, unittest.equals('foo')); | 147 unittest.expect(o.id, unittest.equals('foo')); |
| 148 checkUnnamed2273(o.info); | 148 checkUnnamed2594(o.info); |
| 149 unittest.expect(o.name, unittest.equals('foo')); | 149 unittest.expect(o.name, unittest.equals('foo')); |
| 150 unittest.expect(o.sampleId, unittest.equals('foo')); | 150 unittest.expect(o.sampleId, unittest.equals('foo')); |
| 151 checkUnnamed2274(o.variantSetIds); | 151 checkUnnamed2595(o.variantSetIds); |
| 152 } | 152 } |
| 153 buildCounterCallSet--; | 153 buildCounterCallSet--; |
| 154 } | 154 } |
| 155 | 155 |
| 156 core.int buildCounterCancelOperationRequest = 0; | 156 core.int buildCounterCancelOperationRequest = 0; |
| 157 buildCancelOperationRequest() { | 157 buildCancelOperationRequest() { |
| 158 var o = new api.CancelOperationRequest(); | 158 var o = new api.CancelOperationRequest(); |
| 159 buildCounterCancelOperationRequest++; | 159 buildCounterCancelOperationRequest++; |
| 160 if (buildCounterCancelOperationRequest < 3) { | 160 if (buildCounterCancelOperationRequest < 3) { |
| 161 } | 161 } |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 buildCounterExperiment++; | 274 buildCounterExperiment++; |
| 275 if (buildCounterExperiment < 3) { | 275 if (buildCounterExperiment < 3) { |
| 276 unittest.expect(o.instrumentModel, unittest.equals('foo')); | 276 unittest.expect(o.instrumentModel, unittest.equals('foo')); |
| 277 unittest.expect(o.libraryId, unittest.equals('foo')); | 277 unittest.expect(o.libraryId, unittest.equals('foo')); |
| 278 unittest.expect(o.platformUnit, unittest.equals('foo')); | 278 unittest.expect(o.platformUnit, unittest.equals('foo')); |
| 279 unittest.expect(o.sequencingCenter, unittest.equals('foo')); | 279 unittest.expect(o.sequencingCenter, unittest.equals('foo')); |
| 280 } | 280 } |
| 281 buildCounterExperiment--; | 281 buildCounterExperiment--; |
| 282 } | 282 } |
| 283 | 283 |
| 284 buildUnnamed2275() { | 284 buildUnnamed2596() { |
| 285 var o = new core.List<core.String>(); | 285 var o = new core.List<core.String>(); |
| 286 o.add("foo"); | 286 o.add("foo"); |
| 287 o.add("foo"); | 287 o.add("foo"); |
| 288 return o; | 288 return o; |
| 289 } | 289 } |
| 290 | 290 |
| 291 checkUnnamed2275(core.List<core.String> o) { | 291 checkUnnamed2596(core.List<core.String> o) { |
| 292 unittest.expect(o, unittest.hasLength(2)); | 292 unittest.expect(o, unittest.hasLength(2)); |
| 293 unittest.expect(o[0], unittest.equals('foo')); | 293 unittest.expect(o[0], unittest.equals('foo')); |
| 294 unittest.expect(o[1], unittest.equals('foo')); | 294 unittest.expect(o[1], unittest.equals('foo')); |
| 295 } | 295 } |
| 296 | 296 |
| 297 core.int buildCounterExportReadGroupSetRequest = 0; | 297 core.int buildCounterExportReadGroupSetRequest = 0; |
| 298 buildExportReadGroupSetRequest() { | 298 buildExportReadGroupSetRequest() { |
| 299 var o = new api.ExportReadGroupSetRequest(); | 299 var o = new api.ExportReadGroupSetRequest(); |
| 300 buildCounterExportReadGroupSetRequest++; | 300 buildCounterExportReadGroupSetRequest++; |
| 301 if (buildCounterExportReadGroupSetRequest < 3) { | 301 if (buildCounterExportReadGroupSetRequest < 3) { |
| 302 o.exportUri = "foo"; | 302 o.exportUri = "foo"; |
| 303 o.projectId = "foo"; | 303 o.projectId = "foo"; |
| 304 o.referenceNames = buildUnnamed2275(); | 304 o.referenceNames = buildUnnamed2596(); |
| 305 } | 305 } |
| 306 buildCounterExportReadGroupSetRequest--; | 306 buildCounterExportReadGroupSetRequest--; |
| 307 return o; | 307 return o; |
| 308 } | 308 } |
| 309 | 309 |
| 310 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { | 310 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { |
| 311 buildCounterExportReadGroupSetRequest++; | 311 buildCounterExportReadGroupSetRequest++; |
| 312 if (buildCounterExportReadGroupSetRequest < 3) { | 312 if (buildCounterExportReadGroupSetRequest < 3) { |
| 313 unittest.expect(o.exportUri, unittest.equals('foo')); | 313 unittest.expect(o.exportUri, unittest.equals('foo')); |
| 314 unittest.expect(o.projectId, unittest.equals('foo')); | 314 unittest.expect(o.projectId, unittest.equals('foo')); |
| 315 checkUnnamed2275(o.referenceNames); | 315 checkUnnamed2596(o.referenceNames); |
| 316 } | 316 } |
| 317 buildCounterExportReadGroupSetRequest--; | 317 buildCounterExportReadGroupSetRequest--; |
| 318 } | 318 } |
| 319 | 319 |
| 320 buildUnnamed2276() { | 320 buildUnnamed2597() { |
| 321 var o = new core.List<core.String>(); | 321 var o = new core.List<core.String>(); |
| 322 o.add("foo"); | 322 o.add("foo"); |
| 323 o.add("foo"); | 323 o.add("foo"); |
| 324 return o; | 324 return o; |
| 325 } | 325 } |
| 326 | 326 |
| 327 checkUnnamed2276(core.List<core.String> o) { | 327 checkUnnamed2597(core.List<core.String> o) { |
| 328 unittest.expect(o, unittest.hasLength(2)); | 328 unittest.expect(o, unittest.hasLength(2)); |
| 329 unittest.expect(o[0], unittest.equals('foo')); | 329 unittest.expect(o[0], unittest.equals('foo')); |
| 330 unittest.expect(o[1], unittest.equals('foo')); | 330 unittest.expect(o[1], unittest.equals('foo')); |
| 331 } | 331 } |
| 332 | 332 |
| 333 core.int buildCounterExportVariantSetRequest = 0; | 333 core.int buildCounterExportVariantSetRequest = 0; |
| 334 buildExportVariantSetRequest() { | 334 buildExportVariantSetRequest() { |
| 335 var o = new api.ExportVariantSetRequest(); | 335 var o = new api.ExportVariantSetRequest(); |
| 336 buildCounterExportVariantSetRequest++; | 336 buildCounterExportVariantSetRequest++; |
| 337 if (buildCounterExportVariantSetRequest < 3) { | 337 if (buildCounterExportVariantSetRequest < 3) { |
| 338 o.bigqueryDataset = "foo"; | 338 o.bigqueryDataset = "foo"; |
| 339 o.bigqueryTable = "foo"; | 339 o.bigqueryTable = "foo"; |
| 340 o.callSetIds = buildUnnamed2276(); | 340 o.callSetIds = buildUnnamed2597(); |
| 341 o.format = "foo"; | 341 o.format = "foo"; |
| 342 o.projectId = "foo"; | 342 o.projectId = "foo"; |
| 343 } | 343 } |
| 344 buildCounterExportVariantSetRequest--; | 344 buildCounterExportVariantSetRequest--; |
| 345 return o; | 345 return o; |
| 346 } | 346 } |
| 347 | 347 |
| 348 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { | 348 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { |
| 349 buildCounterExportVariantSetRequest++; | 349 buildCounterExportVariantSetRequest++; |
| 350 if (buildCounterExportVariantSetRequest < 3) { | 350 if (buildCounterExportVariantSetRequest < 3) { |
| 351 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); | 351 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); |
| 352 unittest.expect(o.bigqueryTable, unittest.equals('foo')); | 352 unittest.expect(o.bigqueryTable, unittest.equals('foo')); |
| 353 checkUnnamed2276(o.callSetIds); | 353 checkUnnamed2597(o.callSetIds); |
| 354 unittest.expect(o.format, unittest.equals('foo')); | 354 unittest.expect(o.format, unittest.equals('foo')); |
| 355 unittest.expect(o.projectId, unittest.equals('foo')); | 355 unittest.expect(o.projectId, unittest.equals('foo')); |
| 356 } | 356 } |
| 357 buildCounterExportVariantSetRequest--; | 357 buildCounterExportVariantSetRequest--; |
| 358 } | 358 } |
| 359 | 359 |
| 360 core.int buildCounterGetIamPolicyRequest = 0; | 360 core.int buildCounterGetIamPolicyRequest = 0; |
| 361 buildGetIamPolicyRequest() { | 361 buildGetIamPolicyRequest() { |
| 362 var o = new api.GetIamPolicyRequest(); | 362 var o = new api.GetIamPolicyRequest(); |
| 363 buildCounterGetIamPolicyRequest++; | 363 buildCounterGetIamPolicyRequest++; |
| 364 if (buildCounterGetIamPolicyRequest < 3) { | 364 if (buildCounterGetIamPolicyRequest < 3) { |
| 365 } | 365 } |
| 366 buildCounterGetIamPolicyRequest--; | 366 buildCounterGetIamPolicyRequest--; |
| 367 return o; | 367 return o; |
| 368 } | 368 } |
| 369 | 369 |
| 370 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 370 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
| 371 buildCounterGetIamPolicyRequest++; | 371 buildCounterGetIamPolicyRequest++; |
| 372 if (buildCounterGetIamPolicyRequest < 3) { | 372 if (buildCounterGetIamPolicyRequest < 3) { |
| 373 } | 373 } |
| 374 buildCounterGetIamPolicyRequest--; | 374 buildCounterGetIamPolicyRequest--; |
| 375 } | 375 } |
| 376 | 376 |
| 377 buildUnnamed2277() { | 377 buildUnnamed2598() { |
| 378 var o = new core.List<core.String>(); | 378 var o = new core.List<core.String>(); |
| 379 o.add("foo"); | 379 o.add("foo"); |
| 380 o.add("foo"); | 380 o.add("foo"); |
| 381 return o; | 381 return o; |
| 382 } | 382 } |
| 383 | 383 |
| 384 checkUnnamed2277(core.List<core.String> o) { | 384 checkUnnamed2598(core.List<core.String> o) { |
| 385 unittest.expect(o, unittest.hasLength(2)); | 385 unittest.expect(o, unittest.hasLength(2)); |
| 386 unittest.expect(o[0], unittest.equals('foo')); | 386 unittest.expect(o[0], unittest.equals('foo')); |
| 387 unittest.expect(o[1], unittest.equals('foo')); | 387 unittest.expect(o[1], unittest.equals('foo')); |
| 388 } | 388 } |
| 389 | 389 |
| 390 core.int buildCounterImportReadGroupSetsRequest = 0; | 390 core.int buildCounterImportReadGroupSetsRequest = 0; |
| 391 buildImportReadGroupSetsRequest() { | 391 buildImportReadGroupSetsRequest() { |
| 392 var o = new api.ImportReadGroupSetsRequest(); | 392 var o = new api.ImportReadGroupSetsRequest(); |
| 393 buildCounterImportReadGroupSetsRequest++; | 393 buildCounterImportReadGroupSetsRequest++; |
| 394 if (buildCounterImportReadGroupSetsRequest < 3) { | 394 if (buildCounterImportReadGroupSetsRequest < 3) { |
| 395 o.datasetId = "foo"; | 395 o.datasetId = "foo"; |
| 396 o.partitionStrategy = "foo"; | 396 o.partitionStrategy = "foo"; |
| 397 o.referenceSetId = "foo"; | 397 o.referenceSetId = "foo"; |
| 398 o.sourceUris = buildUnnamed2277(); | 398 o.sourceUris = buildUnnamed2598(); |
| 399 } | 399 } |
| 400 buildCounterImportReadGroupSetsRequest--; | 400 buildCounterImportReadGroupSetsRequest--; |
| 401 return o; | 401 return o; |
| 402 } | 402 } |
| 403 | 403 |
| 404 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { | 404 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { |
| 405 buildCounterImportReadGroupSetsRequest++; | 405 buildCounterImportReadGroupSetsRequest++; |
| 406 if (buildCounterImportReadGroupSetsRequest < 3) { | 406 if (buildCounterImportReadGroupSetsRequest < 3) { |
| 407 unittest.expect(o.datasetId, unittest.equals('foo')); | 407 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 408 unittest.expect(o.partitionStrategy, unittest.equals('foo')); | 408 unittest.expect(o.partitionStrategy, unittest.equals('foo')); |
| 409 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 409 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 410 checkUnnamed2277(o.sourceUris); | 410 checkUnnamed2598(o.sourceUris); |
| 411 } | 411 } |
| 412 buildCounterImportReadGroupSetsRequest--; | 412 buildCounterImportReadGroupSetsRequest--; |
| 413 } | 413 } |
| 414 | 414 |
| 415 buildUnnamed2278() { | 415 buildUnnamed2599() { |
| 416 var o = new core.List<core.String>(); | 416 var o = new core.List<core.String>(); |
| 417 o.add("foo"); | 417 o.add("foo"); |
| 418 o.add("foo"); | 418 o.add("foo"); |
| 419 return o; | 419 return o; |
| 420 } | 420 } |
| 421 | 421 |
| 422 checkUnnamed2278(core.List<core.String> o) { | 422 checkUnnamed2599(core.List<core.String> o) { |
| 423 unittest.expect(o, unittest.hasLength(2)); | 423 unittest.expect(o, unittest.hasLength(2)); |
| 424 unittest.expect(o[0], unittest.equals('foo')); | 424 unittest.expect(o[0], unittest.equals('foo')); |
| 425 unittest.expect(o[1], unittest.equals('foo')); | 425 unittest.expect(o[1], unittest.equals('foo')); |
| 426 } | 426 } |
| 427 | 427 |
| 428 core.int buildCounterImportReadGroupSetsResponse = 0; | 428 core.int buildCounterImportReadGroupSetsResponse = 0; |
| 429 buildImportReadGroupSetsResponse() { | 429 buildImportReadGroupSetsResponse() { |
| 430 var o = new api.ImportReadGroupSetsResponse(); | 430 var o = new api.ImportReadGroupSetsResponse(); |
| 431 buildCounterImportReadGroupSetsResponse++; | 431 buildCounterImportReadGroupSetsResponse++; |
| 432 if (buildCounterImportReadGroupSetsResponse < 3) { | 432 if (buildCounterImportReadGroupSetsResponse < 3) { |
| 433 o.readGroupSetIds = buildUnnamed2278(); | 433 o.readGroupSetIds = buildUnnamed2599(); |
| 434 } | 434 } |
| 435 buildCounterImportReadGroupSetsResponse--; | 435 buildCounterImportReadGroupSetsResponse--; |
| 436 return o; | 436 return o; |
| 437 } | 437 } |
| 438 | 438 |
| 439 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { | 439 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { |
| 440 buildCounterImportReadGroupSetsResponse++; | 440 buildCounterImportReadGroupSetsResponse++; |
| 441 if (buildCounterImportReadGroupSetsResponse < 3) { | 441 if (buildCounterImportReadGroupSetsResponse < 3) { |
| 442 checkUnnamed2278(o.readGroupSetIds); | 442 checkUnnamed2599(o.readGroupSetIds); |
| 443 } | 443 } |
| 444 buildCounterImportReadGroupSetsResponse--; | 444 buildCounterImportReadGroupSetsResponse--; |
| 445 } | 445 } |
| 446 | 446 |
| 447 buildUnnamed2279() { | 447 buildUnnamed2600() { |
| 448 var o = new core.List<core.String>(); | 448 var o = new core.List<core.String>(); |
| 449 o.add("foo"); | 449 o.add("foo"); |
| 450 o.add("foo"); | 450 o.add("foo"); |
| 451 return o; | 451 return o; |
| 452 } | 452 } |
| 453 | 453 |
| 454 checkUnnamed2279(core.List<core.String> o) { | 454 checkUnnamed2600(core.List<core.String> o) { |
| 455 unittest.expect(o, unittest.hasLength(2)); | 455 unittest.expect(o, unittest.hasLength(2)); |
| 456 unittest.expect(o[0], unittest.equals('foo')); | 456 unittest.expect(o[0], unittest.equals('foo')); |
| 457 unittest.expect(o[1], unittest.equals('foo')); | 457 unittest.expect(o[1], unittest.equals('foo')); |
| 458 } | 458 } |
| 459 | 459 |
| 460 core.int buildCounterImportVariantsRequest = 0; | 460 core.int buildCounterImportVariantsRequest = 0; |
| 461 buildImportVariantsRequest() { | 461 buildImportVariantsRequest() { |
| 462 var o = new api.ImportVariantsRequest(); | 462 var o = new api.ImportVariantsRequest(); |
| 463 buildCounterImportVariantsRequest++; | 463 buildCounterImportVariantsRequest++; |
| 464 if (buildCounterImportVariantsRequest < 3) { | 464 if (buildCounterImportVariantsRequest < 3) { |
| 465 o.format = "foo"; | 465 o.format = "foo"; |
| 466 o.normalizeReferenceNames = true; | 466 o.normalizeReferenceNames = true; |
| 467 o.sourceUris = buildUnnamed2279(); | 467 o.sourceUris = buildUnnamed2600(); |
| 468 o.variantSetId = "foo"; | 468 o.variantSetId = "foo"; |
| 469 } | 469 } |
| 470 buildCounterImportVariantsRequest--; | 470 buildCounterImportVariantsRequest--; |
| 471 return o; | 471 return o; |
| 472 } | 472 } |
| 473 | 473 |
| 474 checkImportVariantsRequest(api.ImportVariantsRequest o) { | 474 checkImportVariantsRequest(api.ImportVariantsRequest o) { |
| 475 buildCounterImportVariantsRequest++; | 475 buildCounterImportVariantsRequest++; |
| 476 if (buildCounterImportVariantsRequest < 3) { | 476 if (buildCounterImportVariantsRequest < 3) { |
| 477 unittest.expect(o.format, unittest.equals('foo')); | 477 unittest.expect(o.format, unittest.equals('foo')); |
| 478 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); | 478 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); |
| 479 checkUnnamed2279(o.sourceUris); | 479 checkUnnamed2600(o.sourceUris); |
| 480 unittest.expect(o.variantSetId, unittest.equals('foo')); | 480 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 481 } | 481 } |
| 482 buildCounterImportVariantsRequest--; | 482 buildCounterImportVariantsRequest--; |
| 483 } | 483 } |
| 484 | 484 |
| 485 buildUnnamed2280() { | 485 buildUnnamed2601() { |
| 486 var o = new core.List<core.String>(); | 486 var o = new core.List<core.String>(); |
| 487 o.add("foo"); | 487 o.add("foo"); |
| 488 o.add("foo"); | 488 o.add("foo"); |
| 489 return o; | 489 return o; |
| 490 } | 490 } |
| 491 | 491 |
| 492 checkUnnamed2280(core.List<core.String> o) { | 492 checkUnnamed2601(core.List<core.String> o) { |
| 493 unittest.expect(o, unittest.hasLength(2)); | 493 unittest.expect(o, unittest.hasLength(2)); |
| 494 unittest.expect(o[0], unittest.equals('foo')); | 494 unittest.expect(o[0], unittest.equals('foo')); |
| 495 unittest.expect(o[1], unittest.equals('foo')); | 495 unittest.expect(o[1], unittest.equals('foo')); |
| 496 } | 496 } |
| 497 | 497 |
| 498 core.int buildCounterImportVariantsResponse = 0; | 498 core.int buildCounterImportVariantsResponse = 0; |
| 499 buildImportVariantsResponse() { | 499 buildImportVariantsResponse() { |
| 500 var o = new api.ImportVariantsResponse(); | 500 var o = new api.ImportVariantsResponse(); |
| 501 buildCounterImportVariantsResponse++; | 501 buildCounterImportVariantsResponse++; |
| 502 if (buildCounterImportVariantsResponse < 3) { | 502 if (buildCounterImportVariantsResponse < 3) { |
| 503 o.callSetIds = buildUnnamed2280(); | 503 o.callSetIds = buildUnnamed2601(); |
| 504 } | 504 } |
| 505 buildCounterImportVariantsResponse--; | 505 buildCounterImportVariantsResponse--; |
| 506 return o; | 506 return o; |
| 507 } | 507 } |
| 508 | 508 |
| 509 checkImportVariantsResponse(api.ImportVariantsResponse o) { | 509 checkImportVariantsResponse(api.ImportVariantsResponse o) { |
| 510 buildCounterImportVariantsResponse++; | 510 buildCounterImportVariantsResponse++; |
| 511 if (buildCounterImportVariantsResponse < 3) { | 511 if (buildCounterImportVariantsResponse < 3) { |
| 512 checkUnnamed2280(o.callSetIds); | 512 checkUnnamed2601(o.callSetIds); |
| 513 } | 513 } |
| 514 buildCounterImportVariantsResponse--; | 514 buildCounterImportVariantsResponse--; |
| 515 } | 515 } |
| 516 | 516 |
| 517 buildUnnamed2281() { | 517 buildUnnamed2602() { |
| 518 var o = new core.List<api.CigarUnit>(); | 518 var o = new core.List<api.CigarUnit>(); |
| 519 o.add(buildCigarUnit()); | 519 o.add(buildCigarUnit()); |
| 520 o.add(buildCigarUnit()); | 520 o.add(buildCigarUnit()); |
| 521 return o; | 521 return o; |
| 522 } | 522 } |
| 523 | 523 |
| 524 checkUnnamed2281(core.List<api.CigarUnit> o) { | 524 checkUnnamed2602(core.List<api.CigarUnit> o) { |
| 525 unittest.expect(o, unittest.hasLength(2)); | 525 unittest.expect(o, unittest.hasLength(2)); |
| 526 checkCigarUnit(o[0]); | 526 checkCigarUnit(o[0]); |
| 527 checkCigarUnit(o[1]); | 527 checkCigarUnit(o[1]); |
| 528 } | 528 } |
| 529 | 529 |
| 530 core.int buildCounterLinearAlignment = 0; | 530 core.int buildCounterLinearAlignment = 0; |
| 531 buildLinearAlignment() { | 531 buildLinearAlignment() { |
| 532 var o = new api.LinearAlignment(); | 532 var o = new api.LinearAlignment(); |
| 533 buildCounterLinearAlignment++; | 533 buildCounterLinearAlignment++; |
| 534 if (buildCounterLinearAlignment < 3) { | 534 if (buildCounterLinearAlignment < 3) { |
| 535 o.cigar = buildUnnamed2281(); | 535 o.cigar = buildUnnamed2602(); |
| 536 o.mappingQuality = 42; | 536 o.mappingQuality = 42; |
| 537 o.position = buildPosition(); | 537 o.position = buildPosition(); |
| 538 } | 538 } |
| 539 buildCounterLinearAlignment--; | 539 buildCounterLinearAlignment--; |
| 540 return o; | 540 return o; |
| 541 } | 541 } |
| 542 | 542 |
| 543 checkLinearAlignment(api.LinearAlignment o) { | 543 checkLinearAlignment(api.LinearAlignment o) { |
| 544 buildCounterLinearAlignment++; | 544 buildCounterLinearAlignment++; |
| 545 if (buildCounterLinearAlignment < 3) { | 545 if (buildCounterLinearAlignment < 3) { |
| 546 checkUnnamed2281(o.cigar); | 546 checkUnnamed2602(o.cigar); |
| 547 unittest.expect(o.mappingQuality, unittest.equals(42)); | 547 unittest.expect(o.mappingQuality, unittest.equals(42)); |
| 548 checkPosition(o.position); | 548 checkPosition(o.position); |
| 549 } | 549 } |
| 550 buildCounterLinearAlignment--; | 550 buildCounterLinearAlignment--; |
| 551 } | 551 } |
| 552 | 552 |
| 553 core.int buildCounterListBasesResponse = 0; | 553 core.int buildCounterListBasesResponse = 0; |
| 554 buildListBasesResponse() { | 554 buildListBasesResponse() { |
| 555 var o = new api.ListBasesResponse(); | 555 var o = new api.ListBasesResponse(); |
| 556 buildCounterListBasesResponse++; | 556 buildCounterListBasesResponse++; |
| 557 if (buildCounterListBasesResponse < 3) { | 557 if (buildCounterListBasesResponse < 3) { |
| 558 o.nextPageToken = "foo"; | 558 o.nextPageToken = "foo"; |
| 559 o.offset = "foo"; | 559 o.offset = "foo"; |
| 560 o.sequence = "foo"; | 560 o.sequence = "foo"; |
| 561 } | 561 } |
| 562 buildCounterListBasesResponse--; | 562 buildCounterListBasesResponse--; |
| 563 return o; | 563 return o; |
| 564 } | 564 } |
| 565 | 565 |
| 566 checkListBasesResponse(api.ListBasesResponse o) { | 566 checkListBasesResponse(api.ListBasesResponse o) { |
| 567 buildCounterListBasesResponse++; | 567 buildCounterListBasesResponse++; |
| 568 if (buildCounterListBasesResponse < 3) { | 568 if (buildCounterListBasesResponse < 3) { |
| 569 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 569 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 570 unittest.expect(o.offset, unittest.equals('foo')); | 570 unittest.expect(o.offset, unittest.equals('foo')); |
| 571 unittest.expect(o.sequence, unittest.equals('foo')); | 571 unittest.expect(o.sequence, unittest.equals('foo')); |
| 572 } | 572 } |
| 573 buildCounterListBasesResponse--; | 573 buildCounterListBasesResponse--; |
| 574 } | 574 } |
| 575 | 575 |
| 576 buildUnnamed2282() { | 576 buildUnnamed2603() { |
| 577 var o = new core.List<api.CoverageBucket>(); | 577 var o = new core.List<api.CoverageBucket>(); |
| 578 o.add(buildCoverageBucket()); | 578 o.add(buildCoverageBucket()); |
| 579 o.add(buildCoverageBucket()); | 579 o.add(buildCoverageBucket()); |
| 580 return o; | 580 return o; |
| 581 } | 581 } |
| 582 | 582 |
| 583 checkUnnamed2282(core.List<api.CoverageBucket> o) { | 583 checkUnnamed2603(core.List<api.CoverageBucket> o) { |
| 584 unittest.expect(o, unittest.hasLength(2)); | 584 unittest.expect(o, unittest.hasLength(2)); |
| 585 checkCoverageBucket(o[0]); | 585 checkCoverageBucket(o[0]); |
| 586 checkCoverageBucket(o[1]); | 586 checkCoverageBucket(o[1]); |
| 587 } | 587 } |
| 588 | 588 |
| 589 core.int buildCounterListCoverageBucketsResponse = 0; | 589 core.int buildCounterListCoverageBucketsResponse = 0; |
| 590 buildListCoverageBucketsResponse() { | 590 buildListCoverageBucketsResponse() { |
| 591 var o = new api.ListCoverageBucketsResponse(); | 591 var o = new api.ListCoverageBucketsResponse(); |
| 592 buildCounterListCoverageBucketsResponse++; | 592 buildCounterListCoverageBucketsResponse++; |
| 593 if (buildCounterListCoverageBucketsResponse < 3) { | 593 if (buildCounterListCoverageBucketsResponse < 3) { |
| 594 o.bucketWidth = "foo"; | 594 o.bucketWidth = "foo"; |
| 595 o.coverageBuckets = buildUnnamed2282(); | 595 o.coverageBuckets = buildUnnamed2603(); |
| 596 o.nextPageToken = "foo"; | 596 o.nextPageToken = "foo"; |
| 597 } | 597 } |
| 598 buildCounterListCoverageBucketsResponse--; | 598 buildCounterListCoverageBucketsResponse--; |
| 599 return o; | 599 return o; |
| 600 } | 600 } |
| 601 | 601 |
| 602 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { | 602 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { |
| 603 buildCounterListCoverageBucketsResponse++; | 603 buildCounterListCoverageBucketsResponse++; |
| 604 if (buildCounterListCoverageBucketsResponse < 3) { | 604 if (buildCounterListCoverageBucketsResponse < 3) { |
| 605 unittest.expect(o.bucketWidth, unittest.equals('foo')); | 605 unittest.expect(o.bucketWidth, unittest.equals('foo')); |
| 606 checkUnnamed2282(o.coverageBuckets); | 606 checkUnnamed2603(o.coverageBuckets); |
| 607 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 607 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 608 } | 608 } |
| 609 buildCounterListCoverageBucketsResponse--; | 609 buildCounterListCoverageBucketsResponse--; |
| 610 } | 610 } |
| 611 | 611 |
| 612 buildUnnamed2283() { | 612 buildUnnamed2604() { |
| 613 var o = new core.List<api.Dataset>(); | 613 var o = new core.List<api.Dataset>(); |
| 614 o.add(buildDataset()); | 614 o.add(buildDataset()); |
| 615 o.add(buildDataset()); | 615 o.add(buildDataset()); |
| 616 return o; | 616 return o; |
| 617 } | 617 } |
| 618 | 618 |
| 619 checkUnnamed2283(core.List<api.Dataset> o) { | 619 checkUnnamed2604(core.List<api.Dataset> o) { |
| 620 unittest.expect(o, unittest.hasLength(2)); | 620 unittest.expect(o, unittest.hasLength(2)); |
| 621 checkDataset(o[0]); | 621 checkDataset(o[0]); |
| 622 checkDataset(o[1]); | 622 checkDataset(o[1]); |
| 623 } | 623 } |
| 624 | 624 |
| 625 core.int buildCounterListDatasetsResponse = 0; | 625 core.int buildCounterListDatasetsResponse = 0; |
| 626 buildListDatasetsResponse() { | 626 buildListDatasetsResponse() { |
| 627 var o = new api.ListDatasetsResponse(); | 627 var o = new api.ListDatasetsResponse(); |
| 628 buildCounterListDatasetsResponse++; | 628 buildCounterListDatasetsResponse++; |
| 629 if (buildCounterListDatasetsResponse < 3) { | 629 if (buildCounterListDatasetsResponse < 3) { |
| 630 o.datasets = buildUnnamed2283(); | 630 o.datasets = buildUnnamed2604(); |
| 631 o.nextPageToken = "foo"; | 631 o.nextPageToken = "foo"; |
| 632 } | 632 } |
| 633 buildCounterListDatasetsResponse--; | 633 buildCounterListDatasetsResponse--; |
| 634 return o; | 634 return o; |
| 635 } | 635 } |
| 636 | 636 |
| 637 checkListDatasetsResponse(api.ListDatasetsResponse o) { | 637 checkListDatasetsResponse(api.ListDatasetsResponse o) { |
| 638 buildCounterListDatasetsResponse++; | 638 buildCounterListDatasetsResponse++; |
| 639 if (buildCounterListDatasetsResponse < 3) { | 639 if (buildCounterListDatasetsResponse < 3) { |
| 640 checkUnnamed2283(o.datasets); | 640 checkUnnamed2604(o.datasets); |
| 641 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 641 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 642 } | 642 } |
| 643 buildCounterListDatasetsResponse--; | 643 buildCounterListDatasetsResponse--; |
| 644 } | 644 } |
| 645 | 645 |
| 646 buildUnnamed2284() { | 646 buildUnnamed2605() { |
| 647 var o = new core.List<api.Operation>(); | 647 var o = new core.List<api.Operation>(); |
| 648 o.add(buildOperation()); | 648 o.add(buildOperation()); |
| 649 o.add(buildOperation()); | 649 o.add(buildOperation()); |
| 650 return o; | 650 return o; |
| 651 } | 651 } |
| 652 | 652 |
| 653 checkUnnamed2284(core.List<api.Operation> o) { | 653 checkUnnamed2605(core.List<api.Operation> o) { |
| 654 unittest.expect(o, unittest.hasLength(2)); | 654 unittest.expect(o, unittest.hasLength(2)); |
| 655 checkOperation(o[0]); | 655 checkOperation(o[0]); |
| 656 checkOperation(o[1]); | 656 checkOperation(o[1]); |
| 657 } | 657 } |
| 658 | 658 |
| 659 core.int buildCounterListOperationsResponse = 0; | 659 core.int buildCounterListOperationsResponse = 0; |
| 660 buildListOperationsResponse() { | 660 buildListOperationsResponse() { |
| 661 var o = new api.ListOperationsResponse(); | 661 var o = new api.ListOperationsResponse(); |
| 662 buildCounterListOperationsResponse++; | 662 buildCounterListOperationsResponse++; |
| 663 if (buildCounterListOperationsResponse < 3) { | 663 if (buildCounterListOperationsResponse < 3) { |
| 664 o.nextPageToken = "foo"; | 664 o.nextPageToken = "foo"; |
| 665 o.operations = buildUnnamed2284(); | 665 o.operations = buildUnnamed2605(); |
| 666 } | 666 } |
| 667 buildCounterListOperationsResponse--; | 667 buildCounterListOperationsResponse--; |
| 668 return o; | 668 return o; |
| 669 } | 669 } |
| 670 | 670 |
| 671 checkListOperationsResponse(api.ListOperationsResponse o) { | 671 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 672 buildCounterListOperationsResponse++; | 672 buildCounterListOperationsResponse++; |
| 673 if (buildCounterListOperationsResponse < 3) { | 673 if (buildCounterListOperationsResponse < 3) { |
| 674 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 674 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 675 checkUnnamed2284(o.operations); | 675 checkUnnamed2605(o.operations); |
| 676 } | 676 } |
| 677 buildCounterListOperationsResponse--; | 677 buildCounterListOperationsResponse--; |
| 678 } | 678 } |
| 679 | 679 |
| 680 buildUnnamed2285() { | 680 buildUnnamed2606() { |
| 681 var o = new core.List<api.Variant>(); |
| 682 o.add(buildVariant()); |
| 683 o.add(buildVariant()); |
| 684 return o; |
| 685 } |
| 686 |
| 687 checkUnnamed2606(core.List<api.Variant> o) { |
| 688 unittest.expect(o, unittest.hasLength(2)); |
| 689 checkVariant(o[0]); |
| 690 checkVariant(o[1]); |
| 691 } |
| 692 |
| 693 core.int buildCounterMergeVariantsRequest = 0; |
| 694 buildMergeVariantsRequest() { |
| 695 var o = new api.MergeVariantsRequest(); |
| 696 buildCounterMergeVariantsRequest++; |
| 697 if (buildCounterMergeVariantsRequest < 3) { |
| 698 o.variantSetId = "foo"; |
| 699 o.variants = buildUnnamed2606(); |
| 700 } |
| 701 buildCounterMergeVariantsRequest--; |
| 702 return o; |
| 703 } |
| 704 |
| 705 checkMergeVariantsRequest(api.MergeVariantsRequest o) { |
| 706 buildCounterMergeVariantsRequest++; |
| 707 if (buildCounterMergeVariantsRequest < 3) { |
| 708 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 709 checkUnnamed2606(o.variants); |
| 710 } |
| 711 buildCounterMergeVariantsRequest--; |
| 712 } |
| 713 |
| 714 buildUnnamed2607() { |
| 681 var o = new core.Map<core.String, core.Object>(); | 715 var o = new core.Map<core.String, core.Object>(); |
| 682 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 716 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 683 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 717 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 684 return o; | 718 return o; |
| 685 } | 719 } |
| 686 | 720 |
| 687 checkUnnamed2285(core.Map<core.String, core.Object> o) { | 721 checkUnnamed2607(core.Map<core.String, core.Object> o) { |
| 688 unittest.expect(o, unittest.hasLength(2)); | 722 unittest.expect(o, unittest.hasLength(2)); |
| 689 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')); | 723 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')); |
| 690 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')); | 724 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')); |
| 691 } | 725 } |
| 692 | 726 |
| 693 buildUnnamed2286() { | 727 buildUnnamed2608() { |
| 694 var o = new core.Map<core.String, core.Object>(); | 728 var o = new core.Map<core.String, core.Object>(); |
| 695 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 729 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 696 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 730 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 697 return o; | 731 return o; |
| 698 } | 732 } |
| 699 | 733 |
| 700 checkUnnamed2286(core.Map<core.String, core.Object> o) { | 734 checkUnnamed2608(core.Map<core.String, core.Object> o) { |
| 701 unittest.expect(o, unittest.hasLength(2)); | 735 unittest.expect(o, unittest.hasLength(2)); |
| 702 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')); | 736 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')); |
| 703 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')); | 737 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')); |
| 704 } | 738 } |
| 705 | 739 |
| 706 core.int buildCounterOperation = 0; | 740 core.int buildCounterOperation = 0; |
| 707 buildOperation() { | 741 buildOperation() { |
| 708 var o = new api.Operation(); | 742 var o = new api.Operation(); |
| 709 buildCounterOperation++; | 743 buildCounterOperation++; |
| 710 if (buildCounterOperation < 3) { | 744 if (buildCounterOperation < 3) { |
| 711 o.done = true; | 745 o.done = true; |
| 712 o.error = buildStatus(); | 746 o.error = buildStatus(); |
| 713 o.metadata = buildUnnamed2285(); | 747 o.metadata = buildUnnamed2607(); |
| 714 o.name = "foo"; | 748 o.name = "foo"; |
| 715 o.response = buildUnnamed2286(); | 749 o.response = buildUnnamed2608(); |
| 716 } | 750 } |
| 717 buildCounterOperation--; | 751 buildCounterOperation--; |
| 718 return o; | 752 return o; |
| 719 } | 753 } |
| 720 | 754 |
| 721 checkOperation(api.Operation o) { | 755 checkOperation(api.Operation o) { |
| 722 buildCounterOperation++; | 756 buildCounterOperation++; |
| 723 if (buildCounterOperation < 3) { | 757 if (buildCounterOperation < 3) { |
| 724 unittest.expect(o.done, unittest.isTrue); | 758 unittest.expect(o.done, unittest.isTrue); |
| 725 checkStatus(o.error); | 759 checkStatus(o.error); |
| 726 checkUnnamed2285(o.metadata); | 760 checkUnnamed2607(o.metadata); |
| 727 unittest.expect(o.name, unittest.equals('foo')); | 761 unittest.expect(o.name, unittest.equals('foo')); |
| 728 checkUnnamed2286(o.response); | 762 checkUnnamed2608(o.response); |
| 729 } | 763 } |
| 730 buildCounterOperation--; | 764 buildCounterOperation--; |
| 731 } | 765 } |
| 732 | 766 |
| 733 core.int buildCounterOperationEvent = 0; | 767 core.int buildCounterOperationEvent = 0; |
| 734 buildOperationEvent() { | 768 buildOperationEvent() { |
| 735 var o = new api.OperationEvent(); | 769 var o = new api.OperationEvent(); |
| 736 buildCounterOperationEvent++; | 770 buildCounterOperationEvent++; |
| 737 if (buildCounterOperationEvent < 3) { | 771 if (buildCounterOperationEvent < 3) { |
| 738 o.description = "foo"; | 772 o.description = "foo"; |
| 739 } | 773 } |
| 740 buildCounterOperationEvent--; | 774 buildCounterOperationEvent--; |
| 741 return o; | 775 return o; |
| 742 } | 776 } |
| 743 | 777 |
| 744 checkOperationEvent(api.OperationEvent o) { | 778 checkOperationEvent(api.OperationEvent o) { |
| 745 buildCounterOperationEvent++; | 779 buildCounterOperationEvent++; |
| 746 if (buildCounterOperationEvent < 3) { | 780 if (buildCounterOperationEvent < 3) { |
| 747 unittest.expect(o.description, unittest.equals('foo')); | 781 unittest.expect(o.description, unittest.equals('foo')); |
| 748 } | 782 } |
| 749 buildCounterOperationEvent--; | 783 buildCounterOperationEvent--; |
| 750 } | 784 } |
| 751 | 785 |
| 752 buildUnnamed2287() { | 786 buildUnnamed2609() { |
| 753 var o = new core.List<api.OperationEvent>(); | 787 var o = new core.List<api.OperationEvent>(); |
| 754 o.add(buildOperationEvent()); | 788 o.add(buildOperationEvent()); |
| 755 o.add(buildOperationEvent()); | 789 o.add(buildOperationEvent()); |
| 756 return o; | 790 return o; |
| 757 } | 791 } |
| 758 | 792 |
| 759 checkUnnamed2287(core.List<api.OperationEvent> o) { | 793 checkUnnamed2609(core.List<api.OperationEvent> o) { |
| 760 unittest.expect(o, unittest.hasLength(2)); | 794 unittest.expect(o, unittest.hasLength(2)); |
| 761 checkOperationEvent(o[0]); | 795 checkOperationEvent(o[0]); |
| 762 checkOperationEvent(o[1]); | 796 checkOperationEvent(o[1]); |
| 763 } | 797 } |
| 764 | 798 |
| 765 buildUnnamed2288() { | 799 buildUnnamed2610() { |
| 766 var o = new core.Map<core.String, core.Object>(); | 800 var o = new core.Map<core.String, core.Object>(); |
| 767 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 801 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 768 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 802 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 769 return o; | 803 return o; |
| 770 } | 804 } |
| 771 | 805 |
| 772 checkUnnamed2288(core.Map<core.String, core.Object> o) { | 806 checkUnnamed2610(core.Map<core.String, core.Object> o) { |
| 773 unittest.expect(o, unittest.hasLength(2)); | 807 unittest.expect(o, unittest.hasLength(2)); |
| 774 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')); | 808 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')); |
| 775 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')); | 809 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')); |
| 776 } | 810 } |
| 777 | 811 |
| 778 core.int buildCounterOperationMetadata = 0; | 812 core.int buildCounterOperationMetadata = 0; |
| 779 buildOperationMetadata() { | 813 buildOperationMetadata() { |
| 780 var o = new api.OperationMetadata(); | 814 var o = new api.OperationMetadata(); |
| 781 buildCounterOperationMetadata++; | 815 buildCounterOperationMetadata++; |
| 782 if (buildCounterOperationMetadata < 3) { | 816 if (buildCounterOperationMetadata < 3) { |
| 783 o.createTime = "foo"; | 817 o.createTime = "foo"; |
| 784 o.events = buildUnnamed2287(); | 818 o.events = buildUnnamed2609(); |
| 785 o.projectId = "foo"; | 819 o.projectId = "foo"; |
| 786 o.request = buildUnnamed2288(); | 820 o.request = buildUnnamed2610(); |
| 787 } | 821 } |
| 788 buildCounterOperationMetadata--; | 822 buildCounterOperationMetadata--; |
| 789 return o; | 823 return o; |
| 790 } | 824 } |
| 791 | 825 |
| 792 checkOperationMetadata(api.OperationMetadata o) { | 826 checkOperationMetadata(api.OperationMetadata o) { |
| 793 buildCounterOperationMetadata++; | 827 buildCounterOperationMetadata++; |
| 794 if (buildCounterOperationMetadata < 3) { | 828 if (buildCounterOperationMetadata < 3) { |
| 795 unittest.expect(o.createTime, unittest.equals('foo')); | 829 unittest.expect(o.createTime, unittest.equals('foo')); |
| 796 checkUnnamed2287(o.events); | 830 checkUnnamed2609(o.events); |
| 797 unittest.expect(o.projectId, unittest.equals('foo')); | 831 unittest.expect(o.projectId, unittest.equals('foo')); |
| 798 checkUnnamed2288(o.request); | 832 checkUnnamed2610(o.request); |
| 799 } | 833 } |
| 800 buildCounterOperationMetadata--; | 834 buildCounterOperationMetadata--; |
| 801 } | 835 } |
| 802 | 836 |
| 803 buildUnnamed2289() { | 837 buildUnnamed2611() { |
| 804 var o = new core.List<api.Binding>(); | 838 var o = new core.List<api.Binding>(); |
| 805 o.add(buildBinding()); | 839 o.add(buildBinding()); |
| 806 o.add(buildBinding()); | 840 o.add(buildBinding()); |
| 807 return o; | 841 return o; |
| 808 } | 842 } |
| 809 | 843 |
| 810 checkUnnamed2289(core.List<api.Binding> o) { | 844 checkUnnamed2611(core.List<api.Binding> o) { |
| 811 unittest.expect(o, unittest.hasLength(2)); | 845 unittest.expect(o, unittest.hasLength(2)); |
| 812 checkBinding(o[0]); | 846 checkBinding(o[0]); |
| 813 checkBinding(o[1]); | 847 checkBinding(o[1]); |
| 814 } | 848 } |
| 815 | 849 |
| 816 core.int buildCounterPolicy = 0; | 850 core.int buildCounterPolicy = 0; |
| 817 buildPolicy() { | 851 buildPolicy() { |
| 818 var o = new api.Policy(); | 852 var o = new api.Policy(); |
| 819 buildCounterPolicy++; | 853 buildCounterPolicy++; |
| 820 if (buildCounterPolicy < 3) { | 854 if (buildCounterPolicy < 3) { |
| 821 o.bindings = buildUnnamed2289(); | 855 o.bindings = buildUnnamed2611(); |
| 822 o.etag = "foo"; | 856 o.etag = "foo"; |
| 823 o.version = 42; | 857 o.version = 42; |
| 824 } | 858 } |
| 825 buildCounterPolicy--; | 859 buildCounterPolicy--; |
| 826 return o; | 860 return o; |
| 827 } | 861 } |
| 828 | 862 |
| 829 checkPolicy(api.Policy o) { | 863 checkPolicy(api.Policy o) { |
| 830 buildCounterPolicy++; | 864 buildCounterPolicy++; |
| 831 if (buildCounterPolicy < 3) { | 865 if (buildCounterPolicy < 3) { |
| 832 checkUnnamed2289(o.bindings); | 866 checkUnnamed2611(o.bindings); |
| 833 unittest.expect(o.etag, unittest.equals('foo')); | 867 unittest.expect(o.etag, unittest.equals('foo')); |
| 834 unittest.expect(o.version, unittest.equals(42)); | 868 unittest.expect(o.version, unittest.equals(42)); |
| 835 } | 869 } |
| 836 buildCounterPolicy--; | 870 buildCounterPolicy--; |
| 837 } | 871 } |
| 838 | 872 |
| 839 core.int buildCounterPosition = 0; | 873 core.int buildCounterPosition = 0; |
| 840 buildPosition() { | 874 buildPosition() { |
| 841 var o = new api.Position(); | 875 var o = new api.Position(); |
| 842 buildCounterPosition++; | 876 buildCounterPosition++; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 checkRange(api.Range o) { | 936 checkRange(api.Range o) { |
| 903 buildCounterRange++; | 937 buildCounterRange++; |
| 904 if (buildCounterRange < 3) { | 938 if (buildCounterRange < 3) { |
| 905 unittest.expect(o.end, unittest.equals('foo')); | 939 unittest.expect(o.end, unittest.equals('foo')); |
| 906 unittest.expect(o.referenceName, unittest.equals('foo')); | 940 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 907 unittest.expect(o.start, unittest.equals('foo')); | 941 unittest.expect(o.start, unittest.equals('foo')); |
| 908 } | 942 } |
| 909 buildCounterRange--; | 943 buildCounterRange--; |
| 910 } | 944 } |
| 911 | 945 |
| 912 buildUnnamed2290() { | 946 buildUnnamed2612() { |
| 913 var o = new core.List<core.int>(); | 947 var o = new core.List<core.int>(); |
| 914 o.add(42); | 948 o.add(42); |
| 915 o.add(42); | 949 o.add(42); |
| 916 return o; | 950 return o; |
| 917 } | 951 } |
| 918 | 952 |
| 919 checkUnnamed2290(core.List<core.int> o) { | 953 checkUnnamed2612(core.List<core.int> o) { |
| 920 unittest.expect(o, unittest.hasLength(2)); | 954 unittest.expect(o, unittest.hasLength(2)); |
| 921 unittest.expect(o[0], unittest.equals(42)); | 955 unittest.expect(o[0], unittest.equals(42)); |
| 922 unittest.expect(o[1], unittest.equals(42)); | 956 unittest.expect(o[1], unittest.equals(42)); |
| 923 } | 957 } |
| 924 | 958 |
| 925 buildUnnamed2291() { | 959 buildUnnamed2613() { |
| 926 var o = new core.List<core.Object>(); | 960 var o = new core.List<core.Object>(); |
| 927 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 961 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 928 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 962 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 929 return o; | 963 return o; |
| 930 } | 964 } |
| 931 | 965 |
| 932 checkUnnamed2291(core.List<core.Object> o) { | 966 checkUnnamed2613(core.List<core.Object> o) { |
| 933 unittest.expect(o, unittest.hasLength(2)); | 967 unittest.expect(o, unittest.hasLength(2)); |
| 934 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')); | 968 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')); |
| 935 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')); | 969 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')); |
| 936 } | 970 } |
| 937 | 971 |
| 938 buildUnnamed2292() { | 972 buildUnnamed2614() { |
| 939 var o = new core.Map<core.String, core.List<core.Object>>(); | 973 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 940 o["x"] = buildUnnamed2291(); | 974 o["x"] = buildUnnamed2613(); |
| 941 o["y"] = buildUnnamed2291(); | 975 o["y"] = buildUnnamed2613(); |
| 942 return o; | 976 return o; |
| 943 } | 977 } |
| 944 | 978 |
| 945 checkUnnamed2292(core.Map<core.String, core.List<core.Object>> o) { | 979 checkUnnamed2614(core.Map<core.String, core.List<core.Object>> o) { |
| 946 unittest.expect(o, unittest.hasLength(2)); | 980 unittest.expect(o, unittest.hasLength(2)); |
| 947 checkUnnamed2291(o["x"]); | 981 checkUnnamed2613(o["x"]); |
| 948 checkUnnamed2291(o["y"]); | 982 checkUnnamed2613(o["y"]); |
| 949 } | 983 } |
| 950 | 984 |
| 951 core.int buildCounterRead = 0; | 985 core.int buildCounterRead = 0; |
| 952 buildRead() { | 986 buildRead() { |
| 953 var o = new api.Read(); | 987 var o = new api.Read(); |
| 954 buildCounterRead++; | 988 buildCounterRead++; |
| 955 if (buildCounterRead < 3) { | 989 if (buildCounterRead < 3) { |
| 956 o.alignedQuality = buildUnnamed2290(); | 990 o.alignedQuality = buildUnnamed2612(); |
| 957 o.alignedSequence = "foo"; | 991 o.alignedSequence = "foo"; |
| 958 o.alignment = buildLinearAlignment(); | 992 o.alignment = buildLinearAlignment(); |
| 959 o.duplicateFragment = true; | 993 o.duplicateFragment = true; |
| 960 o.failedVendorQualityChecks = true; | 994 o.failedVendorQualityChecks = true; |
| 961 o.fragmentLength = 42; | 995 o.fragmentLength = 42; |
| 962 o.fragmentName = "foo"; | 996 o.fragmentName = "foo"; |
| 963 o.id = "foo"; | 997 o.id = "foo"; |
| 964 o.info = buildUnnamed2292(); | 998 o.info = buildUnnamed2614(); |
| 965 o.nextMatePosition = buildPosition(); | 999 o.nextMatePosition = buildPosition(); |
| 966 o.numberReads = 42; | 1000 o.numberReads = 42; |
| 967 o.properPlacement = true; | 1001 o.properPlacement = true; |
| 968 o.readGroupId = "foo"; | 1002 o.readGroupId = "foo"; |
| 969 o.readGroupSetId = "foo"; | 1003 o.readGroupSetId = "foo"; |
| 970 o.readNumber = 42; | 1004 o.readNumber = 42; |
| 971 o.secondaryAlignment = true; | 1005 o.secondaryAlignment = true; |
| 972 o.supplementaryAlignment = true; | 1006 o.supplementaryAlignment = true; |
| 973 } | 1007 } |
| 974 buildCounterRead--; | 1008 buildCounterRead--; |
| 975 return o; | 1009 return o; |
| 976 } | 1010 } |
| 977 | 1011 |
| 978 checkRead(api.Read o) { | 1012 checkRead(api.Read o) { |
| 979 buildCounterRead++; | 1013 buildCounterRead++; |
| 980 if (buildCounterRead < 3) { | 1014 if (buildCounterRead < 3) { |
| 981 checkUnnamed2290(o.alignedQuality); | 1015 checkUnnamed2612(o.alignedQuality); |
| 982 unittest.expect(o.alignedSequence, unittest.equals('foo')); | 1016 unittest.expect(o.alignedSequence, unittest.equals('foo')); |
| 983 checkLinearAlignment(o.alignment); | 1017 checkLinearAlignment(o.alignment); |
| 984 unittest.expect(o.duplicateFragment, unittest.isTrue); | 1018 unittest.expect(o.duplicateFragment, unittest.isTrue); |
| 985 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); | 1019 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); |
| 986 unittest.expect(o.fragmentLength, unittest.equals(42)); | 1020 unittest.expect(o.fragmentLength, unittest.equals(42)); |
| 987 unittest.expect(o.fragmentName, unittest.equals('foo')); | 1021 unittest.expect(o.fragmentName, unittest.equals('foo')); |
| 988 unittest.expect(o.id, unittest.equals('foo')); | 1022 unittest.expect(o.id, unittest.equals('foo')); |
| 989 checkUnnamed2292(o.info); | 1023 checkUnnamed2614(o.info); |
| 990 checkPosition(o.nextMatePosition); | 1024 checkPosition(o.nextMatePosition); |
| 991 unittest.expect(o.numberReads, unittest.equals(42)); | 1025 unittest.expect(o.numberReads, unittest.equals(42)); |
| 992 unittest.expect(o.properPlacement, unittest.isTrue); | 1026 unittest.expect(o.properPlacement, unittest.isTrue); |
| 993 unittest.expect(o.readGroupId, unittest.equals('foo')); | 1027 unittest.expect(o.readGroupId, unittest.equals('foo')); |
| 994 unittest.expect(o.readGroupSetId, unittest.equals('foo')); | 1028 unittest.expect(o.readGroupSetId, unittest.equals('foo')); |
| 995 unittest.expect(o.readNumber, unittest.equals(42)); | 1029 unittest.expect(o.readNumber, unittest.equals(42)); |
| 996 unittest.expect(o.secondaryAlignment, unittest.isTrue); | 1030 unittest.expect(o.secondaryAlignment, unittest.isTrue); |
| 997 unittest.expect(o.supplementaryAlignment, unittest.isTrue); | 1031 unittest.expect(o.supplementaryAlignment, unittest.isTrue); |
| 998 } | 1032 } |
| 999 buildCounterRead--; | 1033 buildCounterRead--; |
| 1000 } | 1034 } |
| 1001 | 1035 |
| 1002 buildUnnamed2293() { | 1036 buildUnnamed2615() { |
| 1003 var o = new core.List<core.Object>(); | 1037 var o = new core.List<core.Object>(); |
| 1004 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1038 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1005 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1039 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1006 return o; | 1040 return o; |
| 1007 } | 1041 } |
| 1008 | 1042 |
| 1009 checkUnnamed2293(core.List<core.Object> o) { | 1043 checkUnnamed2615(core.List<core.Object> o) { |
| 1010 unittest.expect(o, unittest.hasLength(2)); | 1044 unittest.expect(o, unittest.hasLength(2)); |
| 1011 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')); | 1045 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')); |
| 1012 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')); | 1046 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')); |
| 1013 } | 1047 } |
| 1014 | 1048 |
| 1015 buildUnnamed2294() { | 1049 buildUnnamed2616() { |
| 1016 var o = new core.Map<core.String, core.List<core.Object>>(); | 1050 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 1017 o["x"] = buildUnnamed2293(); | 1051 o["x"] = buildUnnamed2615(); |
| 1018 o["y"] = buildUnnamed2293(); | 1052 o["y"] = buildUnnamed2615(); |
| 1019 return o; | 1053 return o; |
| 1020 } | 1054 } |
| 1021 | 1055 |
| 1022 checkUnnamed2294(core.Map<core.String, core.List<core.Object>> o) { | 1056 checkUnnamed2616(core.Map<core.String, core.List<core.Object>> o) { |
| 1023 unittest.expect(o, unittest.hasLength(2)); | 1057 unittest.expect(o, unittest.hasLength(2)); |
| 1024 checkUnnamed2293(o["x"]); | 1058 checkUnnamed2615(o["x"]); |
| 1025 checkUnnamed2293(o["y"]); | 1059 checkUnnamed2615(o["y"]); |
| 1026 } | 1060 } |
| 1027 | 1061 |
| 1028 buildUnnamed2295() { | 1062 buildUnnamed2617() { |
| 1029 var o = new core.List<api.Program>(); | 1063 var o = new core.List<api.Program>(); |
| 1030 o.add(buildProgram()); | 1064 o.add(buildProgram()); |
| 1031 o.add(buildProgram()); | 1065 o.add(buildProgram()); |
| 1032 return o; | 1066 return o; |
| 1033 } | 1067 } |
| 1034 | 1068 |
| 1035 checkUnnamed2295(core.List<api.Program> o) { | 1069 checkUnnamed2617(core.List<api.Program> o) { |
| 1036 unittest.expect(o, unittest.hasLength(2)); | 1070 unittest.expect(o, unittest.hasLength(2)); |
| 1037 checkProgram(o[0]); | 1071 checkProgram(o[0]); |
| 1038 checkProgram(o[1]); | 1072 checkProgram(o[1]); |
| 1039 } | 1073 } |
| 1040 | 1074 |
| 1041 core.int buildCounterReadGroup = 0; | 1075 core.int buildCounterReadGroup = 0; |
| 1042 buildReadGroup() { | 1076 buildReadGroup() { |
| 1043 var o = new api.ReadGroup(); | 1077 var o = new api.ReadGroup(); |
| 1044 buildCounterReadGroup++; | 1078 buildCounterReadGroup++; |
| 1045 if (buildCounterReadGroup < 3) { | 1079 if (buildCounterReadGroup < 3) { |
| 1046 o.datasetId = "foo"; | 1080 o.datasetId = "foo"; |
| 1047 o.description = "foo"; | 1081 o.description = "foo"; |
| 1048 o.experiment = buildExperiment(); | 1082 o.experiment = buildExperiment(); |
| 1049 o.id = "foo"; | 1083 o.id = "foo"; |
| 1050 o.info = buildUnnamed2294(); | 1084 o.info = buildUnnamed2616(); |
| 1051 o.name = "foo"; | 1085 o.name = "foo"; |
| 1052 o.predictedInsertSize = 42; | 1086 o.predictedInsertSize = 42; |
| 1053 o.programs = buildUnnamed2295(); | 1087 o.programs = buildUnnamed2617(); |
| 1054 o.referenceSetId = "foo"; | 1088 o.referenceSetId = "foo"; |
| 1055 o.sampleId = "foo"; | 1089 o.sampleId = "foo"; |
| 1056 } | 1090 } |
| 1057 buildCounterReadGroup--; | 1091 buildCounterReadGroup--; |
| 1058 return o; | 1092 return o; |
| 1059 } | 1093 } |
| 1060 | 1094 |
| 1061 checkReadGroup(api.ReadGroup o) { | 1095 checkReadGroup(api.ReadGroup o) { |
| 1062 buildCounterReadGroup++; | 1096 buildCounterReadGroup++; |
| 1063 if (buildCounterReadGroup < 3) { | 1097 if (buildCounterReadGroup < 3) { |
| 1064 unittest.expect(o.datasetId, unittest.equals('foo')); | 1098 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 1065 unittest.expect(o.description, unittest.equals('foo')); | 1099 unittest.expect(o.description, unittest.equals('foo')); |
| 1066 checkExperiment(o.experiment); | 1100 checkExperiment(o.experiment); |
| 1067 unittest.expect(o.id, unittest.equals('foo')); | 1101 unittest.expect(o.id, unittest.equals('foo')); |
| 1068 checkUnnamed2294(o.info); | 1102 checkUnnamed2616(o.info); |
| 1069 unittest.expect(o.name, unittest.equals('foo')); | 1103 unittest.expect(o.name, unittest.equals('foo')); |
| 1070 unittest.expect(o.predictedInsertSize, unittest.equals(42)); | 1104 unittest.expect(o.predictedInsertSize, unittest.equals(42)); |
| 1071 checkUnnamed2295(o.programs); | 1105 checkUnnamed2617(o.programs); |
| 1072 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1106 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 1073 unittest.expect(o.sampleId, unittest.equals('foo')); | 1107 unittest.expect(o.sampleId, unittest.equals('foo')); |
| 1074 } | 1108 } |
| 1075 buildCounterReadGroup--; | 1109 buildCounterReadGroup--; |
| 1076 } | 1110 } |
| 1077 | 1111 |
| 1078 buildUnnamed2296() { | 1112 buildUnnamed2618() { |
| 1079 var o = new core.List<core.Object>(); | 1113 var o = new core.List<core.Object>(); |
| 1080 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1114 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1081 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1115 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1082 return o; | 1116 return o; |
| 1083 } | 1117 } |
| 1084 | 1118 |
| 1085 checkUnnamed2296(core.List<core.Object> o) { | 1119 checkUnnamed2618(core.List<core.Object> o) { |
| 1086 unittest.expect(o, unittest.hasLength(2)); | 1120 unittest.expect(o, unittest.hasLength(2)); |
| 1087 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')); | 1121 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')); |
| 1088 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')); | 1122 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')); |
| 1089 } | 1123 } |
| 1090 | 1124 |
| 1091 buildUnnamed2297() { | 1125 buildUnnamed2619() { |
| 1092 var o = new core.Map<core.String, core.List<core.Object>>(); | 1126 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 1093 o["x"] = buildUnnamed2296(); | 1127 o["x"] = buildUnnamed2618(); |
| 1094 o["y"] = buildUnnamed2296(); | 1128 o["y"] = buildUnnamed2618(); |
| 1095 return o; | 1129 return o; |
| 1096 } | 1130 } |
| 1097 | 1131 |
| 1098 checkUnnamed2297(core.Map<core.String, core.List<core.Object>> o) { | 1132 checkUnnamed2619(core.Map<core.String, core.List<core.Object>> o) { |
| 1099 unittest.expect(o, unittest.hasLength(2)); | 1133 unittest.expect(o, unittest.hasLength(2)); |
| 1100 checkUnnamed2296(o["x"]); | 1134 checkUnnamed2618(o["x"]); |
| 1101 checkUnnamed2296(o["y"]); | 1135 checkUnnamed2618(o["y"]); |
| 1102 } | 1136 } |
| 1103 | 1137 |
| 1104 buildUnnamed2298() { | 1138 buildUnnamed2620() { |
| 1105 var o = new core.List<api.ReadGroup>(); | 1139 var o = new core.List<api.ReadGroup>(); |
| 1106 o.add(buildReadGroup()); | 1140 o.add(buildReadGroup()); |
| 1107 o.add(buildReadGroup()); | 1141 o.add(buildReadGroup()); |
| 1108 return o; | 1142 return o; |
| 1109 } | 1143 } |
| 1110 | 1144 |
| 1111 checkUnnamed2298(core.List<api.ReadGroup> o) { | 1145 checkUnnamed2620(core.List<api.ReadGroup> o) { |
| 1112 unittest.expect(o, unittest.hasLength(2)); | 1146 unittest.expect(o, unittest.hasLength(2)); |
| 1113 checkReadGroup(o[0]); | 1147 checkReadGroup(o[0]); |
| 1114 checkReadGroup(o[1]); | 1148 checkReadGroup(o[1]); |
| 1115 } | 1149 } |
| 1116 | 1150 |
| 1117 core.int buildCounterReadGroupSet = 0; | 1151 core.int buildCounterReadGroupSet = 0; |
| 1118 buildReadGroupSet() { | 1152 buildReadGroupSet() { |
| 1119 var o = new api.ReadGroupSet(); | 1153 var o = new api.ReadGroupSet(); |
| 1120 buildCounterReadGroupSet++; | 1154 buildCounterReadGroupSet++; |
| 1121 if (buildCounterReadGroupSet < 3) { | 1155 if (buildCounterReadGroupSet < 3) { |
| 1122 o.datasetId = "foo"; | 1156 o.datasetId = "foo"; |
| 1123 o.filename = "foo"; | 1157 o.filename = "foo"; |
| 1124 o.id = "foo"; | 1158 o.id = "foo"; |
| 1125 o.info = buildUnnamed2297(); | 1159 o.info = buildUnnamed2619(); |
| 1126 o.name = "foo"; | 1160 o.name = "foo"; |
| 1127 o.readGroups = buildUnnamed2298(); | 1161 o.readGroups = buildUnnamed2620(); |
| 1128 o.referenceSetId = "foo"; | 1162 o.referenceSetId = "foo"; |
| 1129 } | 1163 } |
| 1130 buildCounterReadGroupSet--; | 1164 buildCounterReadGroupSet--; |
| 1131 return o; | 1165 return o; |
| 1132 } | 1166 } |
| 1133 | 1167 |
| 1134 checkReadGroupSet(api.ReadGroupSet o) { | 1168 checkReadGroupSet(api.ReadGroupSet o) { |
| 1135 buildCounterReadGroupSet++; | 1169 buildCounterReadGroupSet++; |
| 1136 if (buildCounterReadGroupSet < 3) { | 1170 if (buildCounterReadGroupSet < 3) { |
| 1137 unittest.expect(o.datasetId, unittest.equals('foo')); | 1171 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 1138 unittest.expect(o.filename, unittest.equals('foo')); | 1172 unittest.expect(o.filename, unittest.equals('foo')); |
| 1139 unittest.expect(o.id, unittest.equals('foo')); | 1173 unittest.expect(o.id, unittest.equals('foo')); |
| 1140 checkUnnamed2297(o.info); | 1174 checkUnnamed2619(o.info); |
| 1141 unittest.expect(o.name, unittest.equals('foo')); | 1175 unittest.expect(o.name, unittest.equals('foo')); |
| 1142 checkUnnamed2298(o.readGroups); | 1176 checkUnnamed2620(o.readGroups); |
| 1143 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1177 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 1144 } | 1178 } |
| 1145 buildCounterReadGroupSet--; | 1179 buildCounterReadGroupSet--; |
| 1146 } | 1180 } |
| 1147 | 1181 |
| 1148 buildUnnamed2299() { | 1182 buildUnnamed2621() { |
| 1149 var o = new core.List<core.String>(); | 1183 var o = new core.List<core.String>(); |
| 1150 o.add("foo"); | 1184 o.add("foo"); |
| 1151 o.add("foo"); | 1185 o.add("foo"); |
| 1152 return o; | 1186 return o; |
| 1153 } | 1187 } |
| 1154 | 1188 |
| 1155 checkUnnamed2299(core.List<core.String> o) { | 1189 checkUnnamed2621(core.List<core.String> o) { |
| 1156 unittest.expect(o, unittest.hasLength(2)); | 1190 unittest.expect(o, unittest.hasLength(2)); |
| 1157 unittest.expect(o[0], unittest.equals('foo')); | 1191 unittest.expect(o[0], unittest.equals('foo')); |
| 1158 unittest.expect(o[1], unittest.equals('foo')); | 1192 unittest.expect(o[1], unittest.equals('foo')); |
| 1159 } | 1193 } |
| 1160 | 1194 |
| 1161 core.int buildCounterReference = 0; | 1195 core.int buildCounterReference = 0; |
| 1162 buildReference() { | 1196 buildReference() { |
| 1163 var o = new api.Reference(); | 1197 var o = new api.Reference(); |
| 1164 buildCounterReference++; | 1198 buildCounterReference++; |
| 1165 if (buildCounterReference < 3) { | 1199 if (buildCounterReference < 3) { |
| 1166 o.id = "foo"; | 1200 o.id = "foo"; |
| 1167 o.length = "foo"; | 1201 o.length = "foo"; |
| 1168 o.md5checksum = "foo"; | 1202 o.md5checksum = "foo"; |
| 1169 o.name = "foo"; | 1203 o.name = "foo"; |
| 1170 o.ncbiTaxonId = 42; | 1204 o.ncbiTaxonId = 42; |
| 1171 o.sourceAccessions = buildUnnamed2299(); | 1205 o.sourceAccessions = buildUnnamed2621(); |
| 1172 o.sourceUri = "foo"; | 1206 o.sourceUri = "foo"; |
| 1173 } | 1207 } |
| 1174 buildCounterReference--; | 1208 buildCounterReference--; |
| 1175 return o; | 1209 return o; |
| 1176 } | 1210 } |
| 1177 | 1211 |
| 1178 checkReference(api.Reference o) { | 1212 checkReference(api.Reference o) { |
| 1179 buildCounterReference++; | 1213 buildCounterReference++; |
| 1180 if (buildCounterReference < 3) { | 1214 if (buildCounterReference < 3) { |
| 1181 unittest.expect(o.id, unittest.equals('foo')); | 1215 unittest.expect(o.id, unittest.equals('foo')); |
| 1182 unittest.expect(o.length, unittest.equals('foo')); | 1216 unittest.expect(o.length, unittest.equals('foo')); |
| 1183 unittest.expect(o.md5checksum, unittest.equals('foo')); | 1217 unittest.expect(o.md5checksum, unittest.equals('foo')); |
| 1184 unittest.expect(o.name, unittest.equals('foo')); | 1218 unittest.expect(o.name, unittest.equals('foo')); |
| 1185 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); | 1219 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); |
| 1186 checkUnnamed2299(o.sourceAccessions); | 1220 checkUnnamed2621(o.sourceAccessions); |
| 1187 unittest.expect(o.sourceUri, unittest.equals('foo')); | 1221 unittest.expect(o.sourceUri, unittest.equals('foo')); |
| 1188 } | 1222 } |
| 1189 buildCounterReference--; | 1223 buildCounterReference--; |
| 1190 } | 1224 } |
| 1191 | 1225 |
| 1192 core.int buildCounterReferenceBound = 0; | 1226 core.int buildCounterReferenceBound = 0; |
| 1193 buildReferenceBound() { | 1227 buildReferenceBound() { |
| 1194 var o = new api.ReferenceBound(); | 1228 var o = new api.ReferenceBound(); |
| 1195 buildCounterReferenceBound++; | 1229 buildCounterReferenceBound++; |
| 1196 if (buildCounterReferenceBound < 3) { | 1230 if (buildCounterReferenceBound < 3) { |
| 1197 o.referenceName = "foo"; | 1231 o.referenceName = "foo"; |
| 1198 o.upperBound = "foo"; | 1232 o.upperBound = "foo"; |
| 1199 } | 1233 } |
| 1200 buildCounterReferenceBound--; | 1234 buildCounterReferenceBound--; |
| 1201 return o; | 1235 return o; |
| 1202 } | 1236 } |
| 1203 | 1237 |
| 1204 checkReferenceBound(api.ReferenceBound o) { | 1238 checkReferenceBound(api.ReferenceBound o) { |
| 1205 buildCounterReferenceBound++; | 1239 buildCounterReferenceBound++; |
| 1206 if (buildCounterReferenceBound < 3) { | 1240 if (buildCounterReferenceBound < 3) { |
| 1207 unittest.expect(o.referenceName, unittest.equals('foo')); | 1241 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1208 unittest.expect(o.upperBound, unittest.equals('foo')); | 1242 unittest.expect(o.upperBound, unittest.equals('foo')); |
| 1209 } | 1243 } |
| 1210 buildCounterReferenceBound--; | 1244 buildCounterReferenceBound--; |
| 1211 } | 1245 } |
| 1212 | 1246 |
| 1213 buildUnnamed2300() { | 1247 buildUnnamed2622() { |
| 1214 var o = new core.List<core.String>(); | 1248 var o = new core.List<core.String>(); |
| 1215 o.add("foo"); | 1249 o.add("foo"); |
| 1216 o.add("foo"); | 1250 o.add("foo"); |
| 1217 return o; | 1251 return o; |
| 1218 } | 1252 } |
| 1219 | 1253 |
| 1220 checkUnnamed2300(core.List<core.String> o) { | 1254 checkUnnamed2622(core.List<core.String> o) { |
| 1221 unittest.expect(o, unittest.hasLength(2)); | 1255 unittest.expect(o, unittest.hasLength(2)); |
| 1222 unittest.expect(o[0], unittest.equals('foo')); | 1256 unittest.expect(o[0], unittest.equals('foo')); |
| 1223 unittest.expect(o[1], unittest.equals('foo')); | 1257 unittest.expect(o[1], unittest.equals('foo')); |
| 1224 } | 1258 } |
| 1225 | 1259 |
| 1226 buildUnnamed2301() { | 1260 buildUnnamed2623() { |
| 1227 var o = new core.List<core.String>(); | 1261 var o = new core.List<core.String>(); |
| 1228 o.add("foo"); | 1262 o.add("foo"); |
| 1229 o.add("foo"); | 1263 o.add("foo"); |
| 1230 return o; | 1264 return o; |
| 1231 } | 1265 } |
| 1232 | 1266 |
| 1233 checkUnnamed2301(core.List<core.String> o) { | 1267 checkUnnamed2623(core.List<core.String> o) { |
| 1234 unittest.expect(o, unittest.hasLength(2)); | 1268 unittest.expect(o, unittest.hasLength(2)); |
| 1235 unittest.expect(o[0], unittest.equals('foo')); | 1269 unittest.expect(o[0], unittest.equals('foo')); |
| 1236 unittest.expect(o[1], unittest.equals('foo')); | 1270 unittest.expect(o[1], unittest.equals('foo')); |
| 1237 } | 1271 } |
| 1238 | 1272 |
| 1239 core.int buildCounterReferenceSet = 0; | 1273 core.int buildCounterReferenceSet = 0; |
| 1240 buildReferenceSet() { | 1274 buildReferenceSet() { |
| 1241 var o = new api.ReferenceSet(); | 1275 var o = new api.ReferenceSet(); |
| 1242 buildCounterReferenceSet++; | 1276 buildCounterReferenceSet++; |
| 1243 if (buildCounterReferenceSet < 3) { | 1277 if (buildCounterReferenceSet < 3) { |
| 1244 o.assemblyId = "foo"; | 1278 o.assemblyId = "foo"; |
| 1245 o.description = "foo"; | 1279 o.description = "foo"; |
| 1246 o.id = "foo"; | 1280 o.id = "foo"; |
| 1247 o.md5checksum = "foo"; | 1281 o.md5checksum = "foo"; |
| 1248 o.ncbiTaxonId = 42; | 1282 o.ncbiTaxonId = 42; |
| 1249 o.referenceIds = buildUnnamed2300(); | 1283 o.referenceIds = buildUnnamed2622(); |
| 1250 o.sourceAccessions = buildUnnamed2301(); | 1284 o.sourceAccessions = buildUnnamed2623(); |
| 1251 o.sourceUri = "foo"; | 1285 o.sourceUri = "foo"; |
| 1252 } | 1286 } |
| 1253 buildCounterReferenceSet--; | 1287 buildCounterReferenceSet--; |
| 1254 return o; | 1288 return o; |
| 1255 } | 1289 } |
| 1256 | 1290 |
| 1257 checkReferenceSet(api.ReferenceSet o) { | 1291 checkReferenceSet(api.ReferenceSet o) { |
| 1258 buildCounterReferenceSet++; | 1292 buildCounterReferenceSet++; |
| 1259 if (buildCounterReferenceSet < 3) { | 1293 if (buildCounterReferenceSet < 3) { |
| 1260 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1294 unittest.expect(o.assemblyId, unittest.equals('foo')); |
| 1261 unittest.expect(o.description, unittest.equals('foo')); | 1295 unittest.expect(o.description, unittest.equals('foo')); |
| 1262 unittest.expect(o.id, unittest.equals('foo')); | 1296 unittest.expect(o.id, unittest.equals('foo')); |
| 1263 unittest.expect(o.md5checksum, unittest.equals('foo')); | 1297 unittest.expect(o.md5checksum, unittest.equals('foo')); |
| 1264 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); | 1298 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); |
| 1265 checkUnnamed2300(o.referenceIds); | 1299 checkUnnamed2622(o.referenceIds); |
| 1266 checkUnnamed2301(o.sourceAccessions); | 1300 checkUnnamed2623(o.sourceAccessions); |
| 1267 unittest.expect(o.sourceUri, unittest.equals('foo')); | 1301 unittest.expect(o.sourceUri, unittest.equals('foo')); |
| 1268 } | 1302 } |
| 1269 buildCounterReferenceSet--; | 1303 buildCounterReferenceSet--; |
| 1270 } | 1304 } |
| 1271 | 1305 |
| 1272 buildUnnamed2302() { | 1306 buildUnnamed2624() { |
| 1273 var o = new core.List<core.String>(); | 1307 var o = new core.List<core.String>(); |
| 1274 o.add("foo"); | 1308 o.add("foo"); |
| 1275 o.add("foo"); | 1309 o.add("foo"); |
| 1276 return o; | 1310 return o; |
| 1277 } | 1311 } |
| 1278 | 1312 |
| 1279 checkUnnamed2302(core.List<core.String> o) { | 1313 checkUnnamed2624(core.List<core.String> o) { |
| 1280 unittest.expect(o, unittest.hasLength(2)); | 1314 unittest.expect(o, unittest.hasLength(2)); |
| 1281 unittest.expect(o[0], unittest.equals('foo')); | 1315 unittest.expect(o[0], unittest.equals('foo')); |
| 1282 unittest.expect(o[1], unittest.equals('foo')); | 1316 unittest.expect(o[1], unittest.equals('foo')); |
| 1283 } | 1317 } |
| 1284 | 1318 |
| 1285 core.int buildCounterSearchCallSetsRequest = 0; | 1319 core.int buildCounterSearchCallSetsRequest = 0; |
| 1286 buildSearchCallSetsRequest() { | 1320 buildSearchCallSetsRequest() { |
| 1287 var o = new api.SearchCallSetsRequest(); | 1321 var o = new api.SearchCallSetsRequest(); |
| 1288 buildCounterSearchCallSetsRequest++; | 1322 buildCounterSearchCallSetsRequest++; |
| 1289 if (buildCounterSearchCallSetsRequest < 3) { | 1323 if (buildCounterSearchCallSetsRequest < 3) { |
| 1290 o.name = "foo"; | 1324 o.name = "foo"; |
| 1291 o.pageSize = 42; | 1325 o.pageSize = 42; |
| 1292 o.pageToken = "foo"; | 1326 o.pageToken = "foo"; |
| 1293 o.variantSetIds = buildUnnamed2302(); | 1327 o.variantSetIds = buildUnnamed2624(); |
| 1294 } | 1328 } |
| 1295 buildCounterSearchCallSetsRequest--; | 1329 buildCounterSearchCallSetsRequest--; |
| 1296 return o; | 1330 return o; |
| 1297 } | 1331 } |
| 1298 | 1332 |
| 1299 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { | 1333 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { |
| 1300 buildCounterSearchCallSetsRequest++; | 1334 buildCounterSearchCallSetsRequest++; |
| 1301 if (buildCounterSearchCallSetsRequest < 3) { | 1335 if (buildCounterSearchCallSetsRequest < 3) { |
| 1302 unittest.expect(o.name, unittest.equals('foo')); | 1336 unittest.expect(o.name, unittest.equals('foo')); |
| 1303 unittest.expect(o.pageSize, unittest.equals(42)); | 1337 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1304 unittest.expect(o.pageToken, unittest.equals('foo')); | 1338 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1305 checkUnnamed2302(o.variantSetIds); | 1339 checkUnnamed2624(o.variantSetIds); |
| 1306 } | 1340 } |
| 1307 buildCounterSearchCallSetsRequest--; | 1341 buildCounterSearchCallSetsRequest--; |
| 1308 } | 1342 } |
| 1309 | 1343 |
| 1310 buildUnnamed2303() { | 1344 buildUnnamed2625() { |
| 1311 var o = new core.List<api.CallSet>(); | 1345 var o = new core.List<api.CallSet>(); |
| 1312 o.add(buildCallSet()); | 1346 o.add(buildCallSet()); |
| 1313 o.add(buildCallSet()); | 1347 o.add(buildCallSet()); |
| 1314 return o; | 1348 return o; |
| 1315 } | 1349 } |
| 1316 | 1350 |
| 1317 checkUnnamed2303(core.List<api.CallSet> o) { | 1351 checkUnnamed2625(core.List<api.CallSet> o) { |
| 1318 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
| 1319 checkCallSet(o[0]); | 1353 checkCallSet(o[0]); |
| 1320 checkCallSet(o[1]); | 1354 checkCallSet(o[1]); |
| 1321 } | 1355 } |
| 1322 | 1356 |
| 1323 core.int buildCounterSearchCallSetsResponse = 0; | 1357 core.int buildCounterSearchCallSetsResponse = 0; |
| 1324 buildSearchCallSetsResponse() { | 1358 buildSearchCallSetsResponse() { |
| 1325 var o = new api.SearchCallSetsResponse(); | 1359 var o = new api.SearchCallSetsResponse(); |
| 1326 buildCounterSearchCallSetsResponse++; | 1360 buildCounterSearchCallSetsResponse++; |
| 1327 if (buildCounterSearchCallSetsResponse < 3) { | 1361 if (buildCounterSearchCallSetsResponse < 3) { |
| 1328 o.callSets = buildUnnamed2303(); | 1362 o.callSets = buildUnnamed2625(); |
| 1329 o.nextPageToken = "foo"; | 1363 o.nextPageToken = "foo"; |
| 1330 } | 1364 } |
| 1331 buildCounterSearchCallSetsResponse--; | 1365 buildCounterSearchCallSetsResponse--; |
| 1332 return o; | 1366 return o; |
| 1333 } | 1367 } |
| 1334 | 1368 |
| 1335 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { | 1369 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { |
| 1336 buildCounterSearchCallSetsResponse++; | 1370 buildCounterSearchCallSetsResponse++; |
| 1337 if (buildCounterSearchCallSetsResponse < 3) { | 1371 if (buildCounterSearchCallSetsResponse < 3) { |
| 1338 checkUnnamed2303(o.callSets); | 1372 checkUnnamed2625(o.callSets); |
| 1339 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1373 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1340 } | 1374 } |
| 1341 buildCounterSearchCallSetsResponse--; | 1375 buildCounterSearchCallSetsResponse--; |
| 1342 } | 1376 } |
| 1343 | 1377 |
| 1344 buildUnnamed2304() { | 1378 buildUnnamed2626() { |
| 1345 var o = new core.List<core.String>(); | 1379 var o = new core.List<core.String>(); |
| 1346 o.add("foo"); | 1380 o.add("foo"); |
| 1347 o.add("foo"); | 1381 o.add("foo"); |
| 1348 return o; | 1382 return o; |
| 1349 } | 1383 } |
| 1350 | 1384 |
| 1351 checkUnnamed2304(core.List<core.String> o) { | 1385 checkUnnamed2626(core.List<core.String> o) { |
| 1352 unittest.expect(o, unittest.hasLength(2)); | 1386 unittest.expect(o, unittest.hasLength(2)); |
| 1353 unittest.expect(o[0], unittest.equals('foo')); | 1387 unittest.expect(o[0], unittest.equals('foo')); |
| 1354 unittest.expect(o[1], unittest.equals('foo')); | 1388 unittest.expect(o[1], unittest.equals('foo')); |
| 1355 } | 1389 } |
| 1356 | 1390 |
| 1357 core.int buildCounterSearchReadGroupSetsRequest = 0; | 1391 core.int buildCounterSearchReadGroupSetsRequest = 0; |
| 1358 buildSearchReadGroupSetsRequest() { | 1392 buildSearchReadGroupSetsRequest() { |
| 1359 var o = new api.SearchReadGroupSetsRequest(); | 1393 var o = new api.SearchReadGroupSetsRequest(); |
| 1360 buildCounterSearchReadGroupSetsRequest++; | 1394 buildCounterSearchReadGroupSetsRequest++; |
| 1361 if (buildCounterSearchReadGroupSetsRequest < 3) { | 1395 if (buildCounterSearchReadGroupSetsRequest < 3) { |
| 1362 o.datasetIds = buildUnnamed2304(); | 1396 o.datasetIds = buildUnnamed2626(); |
| 1363 o.name = "foo"; | 1397 o.name = "foo"; |
| 1364 o.pageSize = 42; | 1398 o.pageSize = 42; |
| 1365 o.pageToken = "foo"; | 1399 o.pageToken = "foo"; |
| 1366 } | 1400 } |
| 1367 buildCounterSearchReadGroupSetsRequest--; | 1401 buildCounterSearchReadGroupSetsRequest--; |
| 1368 return o; | 1402 return o; |
| 1369 } | 1403 } |
| 1370 | 1404 |
| 1371 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { | 1405 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { |
| 1372 buildCounterSearchReadGroupSetsRequest++; | 1406 buildCounterSearchReadGroupSetsRequest++; |
| 1373 if (buildCounterSearchReadGroupSetsRequest < 3) { | 1407 if (buildCounterSearchReadGroupSetsRequest < 3) { |
| 1374 checkUnnamed2304(o.datasetIds); | 1408 checkUnnamed2626(o.datasetIds); |
| 1375 unittest.expect(o.name, unittest.equals('foo')); | 1409 unittest.expect(o.name, unittest.equals('foo')); |
| 1376 unittest.expect(o.pageSize, unittest.equals(42)); | 1410 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1377 unittest.expect(o.pageToken, unittest.equals('foo')); | 1411 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1378 } | 1412 } |
| 1379 buildCounterSearchReadGroupSetsRequest--; | 1413 buildCounterSearchReadGroupSetsRequest--; |
| 1380 } | 1414 } |
| 1381 | 1415 |
| 1382 buildUnnamed2305() { | 1416 buildUnnamed2627() { |
| 1383 var o = new core.List<api.ReadGroupSet>(); | 1417 var o = new core.List<api.ReadGroupSet>(); |
| 1384 o.add(buildReadGroupSet()); | 1418 o.add(buildReadGroupSet()); |
| 1385 o.add(buildReadGroupSet()); | 1419 o.add(buildReadGroupSet()); |
| 1386 return o; | 1420 return o; |
| 1387 } | 1421 } |
| 1388 | 1422 |
| 1389 checkUnnamed2305(core.List<api.ReadGroupSet> o) { | 1423 checkUnnamed2627(core.List<api.ReadGroupSet> o) { |
| 1390 unittest.expect(o, unittest.hasLength(2)); | 1424 unittest.expect(o, unittest.hasLength(2)); |
| 1391 checkReadGroupSet(o[0]); | 1425 checkReadGroupSet(o[0]); |
| 1392 checkReadGroupSet(o[1]); | 1426 checkReadGroupSet(o[1]); |
| 1393 } | 1427 } |
| 1394 | 1428 |
| 1395 core.int buildCounterSearchReadGroupSetsResponse = 0; | 1429 core.int buildCounterSearchReadGroupSetsResponse = 0; |
| 1396 buildSearchReadGroupSetsResponse() { | 1430 buildSearchReadGroupSetsResponse() { |
| 1397 var o = new api.SearchReadGroupSetsResponse(); | 1431 var o = new api.SearchReadGroupSetsResponse(); |
| 1398 buildCounterSearchReadGroupSetsResponse++; | 1432 buildCounterSearchReadGroupSetsResponse++; |
| 1399 if (buildCounterSearchReadGroupSetsResponse < 3) { | 1433 if (buildCounterSearchReadGroupSetsResponse < 3) { |
| 1400 o.nextPageToken = "foo"; | 1434 o.nextPageToken = "foo"; |
| 1401 o.readGroupSets = buildUnnamed2305(); | 1435 o.readGroupSets = buildUnnamed2627(); |
| 1402 } | 1436 } |
| 1403 buildCounterSearchReadGroupSetsResponse--; | 1437 buildCounterSearchReadGroupSetsResponse--; |
| 1404 return o; | 1438 return o; |
| 1405 } | 1439 } |
| 1406 | 1440 |
| 1407 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { | 1441 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { |
| 1408 buildCounterSearchReadGroupSetsResponse++; | 1442 buildCounterSearchReadGroupSetsResponse++; |
| 1409 if (buildCounterSearchReadGroupSetsResponse < 3) { | 1443 if (buildCounterSearchReadGroupSetsResponse < 3) { |
| 1410 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1444 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1411 checkUnnamed2305(o.readGroupSets); | 1445 checkUnnamed2627(o.readGroupSets); |
| 1412 } | 1446 } |
| 1413 buildCounterSearchReadGroupSetsResponse--; | 1447 buildCounterSearchReadGroupSetsResponse--; |
| 1414 } | 1448 } |
| 1415 | 1449 |
| 1416 buildUnnamed2306() { | 1450 buildUnnamed2628() { |
| 1417 var o = new core.List<core.String>(); | 1451 var o = new core.List<core.String>(); |
| 1418 o.add("foo"); | 1452 o.add("foo"); |
| 1419 o.add("foo"); | 1453 o.add("foo"); |
| 1420 return o; | 1454 return o; |
| 1421 } | 1455 } |
| 1422 | 1456 |
| 1423 checkUnnamed2306(core.List<core.String> o) { | 1457 checkUnnamed2628(core.List<core.String> o) { |
| 1424 unittest.expect(o, unittest.hasLength(2)); | 1458 unittest.expect(o, unittest.hasLength(2)); |
| 1425 unittest.expect(o[0], unittest.equals('foo')); | 1459 unittest.expect(o[0], unittest.equals('foo')); |
| 1426 unittest.expect(o[1], unittest.equals('foo')); | 1460 unittest.expect(o[1], unittest.equals('foo')); |
| 1427 } | 1461 } |
| 1428 | 1462 |
| 1429 buildUnnamed2307() { | 1463 buildUnnamed2629() { |
| 1430 var o = new core.List<core.String>(); | 1464 var o = new core.List<core.String>(); |
| 1431 o.add("foo"); | 1465 o.add("foo"); |
| 1432 o.add("foo"); | 1466 o.add("foo"); |
| 1433 return o; | 1467 return o; |
| 1434 } | 1468 } |
| 1435 | 1469 |
| 1436 checkUnnamed2307(core.List<core.String> o) { | 1470 checkUnnamed2629(core.List<core.String> o) { |
| 1437 unittest.expect(o, unittest.hasLength(2)); | 1471 unittest.expect(o, unittest.hasLength(2)); |
| 1438 unittest.expect(o[0], unittest.equals('foo')); | 1472 unittest.expect(o[0], unittest.equals('foo')); |
| 1439 unittest.expect(o[1], unittest.equals('foo')); | 1473 unittest.expect(o[1], unittest.equals('foo')); |
| 1440 } | 1474 } |
| 1441 | 1475 |
| 1442 core.int buildCounterSearchReadsRequest = 0; | 1476 core.int buildCounterSearchReadsRequest = 0; |
| 1443 buildSearchReadsRequest() { | 1477 buildSearchReadsRequest() { |
| 1444 var o = new api.SearchReadsRequest(); | 1478 var o = new api.SearchReadsRequest(); |
| 1445 buildCounterSearchReadsRequest++; | 1479 buildCounterSearchReadsRequest++; |
| 1446 if (buildCounterSearchReadsRequest < 3) { | 1480 if (buildCounterSearchReadsRequest < 3) { |
| 1447 o.end = "foo"; | 1481 o.end = "foo"; |
| 1448 o.pageSize = 42; | 1482 o.pageSize = 42; |
| 1449 o.pageToken = "foo"; | 1483 o.pageToken = "foo"; |
| 1450 o.readGroupIds = buildUnnamed2306(); | 1484 o.readGroupIds = buildUnnamed2628(); |
| 1451 o.readGroupSetIds = buildUnnamed2307(); | 1485 o.readGroupSetIds = buildUnnamed2629(); |
| 1452 o.referenceName = "foo"; | 1486 o.referenceName = "foo"; |
| 1453 o.start = "foo"; | 1487 o.start = "foo"; |
| 1454 } | 1488 } |
| 1455 buildCounterSearchReadsRequest--; | 1489 buildCounterSearchReadsRequest--; |
| 1456 return o; | 1490 return o; |
| 1457 } | 1491 } |
| 1458 | 1492 |
| 1459 checkSearchReadsRequest(api.SearchReadsRequest o) { | 1493 checkSearchReadsRequest(api.SearchReadsRequest o) { |
| 1460 buildCounterSearchReadsRequest++; | 1494 buildCounterSearchReadsRequest++; |
| 1461 if (buildCounterSearchReadsRequest < 3) { | 1495 if (buildCounterSearchReadsRequest < 3) { |
| 1462 unittest.expect(o.end, unittest.equals('foo')); | 1496 unittest.expect(o.end, unittest.equals('foo')); |
| 1463 unittest.expect(o.pageSize, unittest.equals(42)); | 1497 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1464 unittest.expect(o.pageToken, unittest.equals('foo')); | 1498 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1465 checkUnnamed2306(o.readGroupIds); | 1499 checkUnnamed2628(o.readGroupIds); |
| 1466 checkUnnamed2307(o.readGroupSetIds); | 1500 checkUnnamed2629(o.readGroupSetIds); |
| 1467 unittest.expect(o.referenceName, unittest.equals('foo')); | 1501 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1468 unittest.expect(o.start, unittest.equals('foo')); | 1502 unittest.expect(o.start, unittest.equals('foo')); |
| 1469 } | 1503 } |
| 1470 buildCounterSearchReadsRequest--; | 1504 buildCounterSearchReadsRequest--; |
| 1471 } | 1505 } |
| 1472 | 1506 |
| 1473 buildUnnamed2308() { | 1507 buildUnnamed2630() { |
| 1474 var o = new core.List<api.Read>(); | 1508 var o = new core.List<api.Read>(); |
| 1475 o.add(buildRead()); | 1509 o.add(buildRead()); |
| 1476 o.add(buildRead()); | 1510 o.add(buildRead()); |
| 1477 return o; | 1511 return o; |
| 1478 } | 1512 } |
| 1479 | 1513 |
| 1480 checkUnnamed2308(core.List<api.Read> o) { | 1514 checkUnnamed2630(core.List<api.Read> o) { |
| 1481 unittest.expect(o, unittest.hasLength(2)); | 1515 unittest.expect(o, unittest.hasLength(2)); |
| 1482 checkRead(o[0]); | 1516 checkRead(o[0]); |
| 1483 checkRead(o[1]); | 1517 checkRead(o[1]); |
| 1484 } | 1518 } |
| 1485 | 1519 |
| 1486 core.int buildCounterSearchReadsResponse = 0; | 1520 core.int buildCounterSearchReadsResponse = 0; |
| 1487 buildSearchReadsResponse() { | 1521 buildSearchReadsResponse() { |
| 1488 var o = new api.SearchReadsResponse(); | 1522 var o = new api.SearchReadsResponse(); |
| 1489 buildCounterSearchReadsResponse++; | 1523 buildCounterSearchReadsResponse++; |
| 1490 if (buildCounterSearchReadsResponse < 3) { | 1524 if (buildCounterSearchReadsResponse < 3) { |
| 1491 o.alignments = buildUnnamed2308(); | 1525 o.alignments = buildUnnamed2630(); |
| 1492 o.nextPageToken = "foo"; | 1526 o.nextPageToken = "foo"; |
| 1493 } | 1527 } |
| 1494 buildCounterSearchReadsResponse--; | 1528 buildCounterSearchReadsResponse--; |
| 1495 return o; | 1529 return o; |
| 1496 } | 1530 } |
| 1497 | 1531 |
| 1498 checkSearchReadsResponse(api.SearchReadsResponse o) { | 1532 checkSearchReadsResponse(api.SearchReadsResponse o) { |
| 1499 buildCounterSearchReadsResponse++; | 1533 buildCounterSearchReadsResponse++; |
| 1500 if (buildCounterSearchReadsResponse < 3) { | 1534 if (buildCounterSearchReadsResponse < 3) { |
| 1501 checkUnnamed2308(o.alignments); | 1535 checkUnnamed2630(o.alignments); |
| 1502 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1536 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1503 } | 1537 } |
| 1504 buildCounterSearchReadsResponse--; | 1538 buildCounterSearchReadsResponse--; |
| 1505 } | 1539 } |
| 1506 | 1540 |
| 1507 buildUnnamed2309() { | 1541 buildUnnamed2631() { |
| 1508 var o = new core.List<core.String>(); | 1542 var o = new core.List<core.String>(); |
| 1509 o.add("foo"); | 1543 o.add("foo"); |
| 1510 o.add("foo"); | 1544 o.add("foo"); |
| 1511 return o; | 1545 return o; |
| 1512 } | 1546 } |
| 1513 | 1547 |
| 1514 checkUnnamed2309(core.List<core.String> o) { | 1548 checkUnnamed2631(core.List<core.String> o) { |
| 1515 unittest.expect(o, unittest.hasLength(2)); | 1549 unittest.expect(o, unittest.hasLength(2)); |
| 1516 unittest.expect(o[0], unittest.equals('foo')); | 1550 unittest.expect(o[0], unittest.equals('foo')); |
| 1517 unittest.expect(o[1], unittest.equals('foo')); | 1551 unittest.expect(o[1], unittest.equals('foo')); |
| 1518 } | 1552 } |
| 1519 | 1553 |
| 1520 buildUnnamed2310() { | 1554 buildUnnamed2632() { |
| 1521 var o = new core.List<core.String>(); | 1555 var o = new core.List<core.String>(); |
| 1522 o.add("foo"); | 1556 o.add("foo"); |
| 1523 o.add("foo"); | 1557 o.add("foo"); |
| 1524 return o; | 1558 return o; |
| 1525 } | 1559 } |
| 1526 | 1560 |
| 1527 checkUnnamed2310(core.List<core.String> o) { | 1561 checkUnnamed2632(core.List<core.String> o) { |
| 1528 unittest.expect(o, unittest.hasLength(2)); | 1562 unittest.expect(o, unittest.hasLength(2)); |
| 1529 unittest.expect(o[0], unittest.equals('foo')); | 1563 unittest.expect(o[0], unittest.equals('foo')); |
| 1530 unittest.expect(o[1], unittest.equals('foo')); | 1564 unittest.expect(o[1], unittest.equals('foo')); |
| 1531 } | 1565 } |
| 1532 | 1566 |
| 1533 core.int buildCounterSearchReferenceSetsRequest = 0; | 1567 core.int buildCounterSearchReferenceSetsRequest = 0; |
| 1534 buildSearchReferenceSetsRequest() { | 1568 buildSearchReferenceSetsRequest() { |
| 1535 var o = new api.SearchReferenceSetsRequest(); | 1569 var o = new api.SearchReferenceSetsRequest(); |
| 1536 buildCounterSearchReferenceSetsRequest++; | 1570 buildCounterSearchReferenceSetsRequest++; |
| 1537 if (buildCounterSearchReferenceSetsRequest < 3) { | 1571 if (buildCounterSearchReferenceSetsRequest < 3) { |
| 1538 o.accessions = buildUnnamed2309(); | 1572 o.accessions = buildUnnamed2631(); |
| 1539 o.assemblyId = "foo"; | 1573 o.assemblyId = "foo"; |
| 1540 o.md5checksums = buildUnnamed2310(); | 1574 o.md5checksums = buildUnnamed2632(); |
| 1541 o.pageSize = 42; | 1575 o.pageSize = 42; |
| 1542 o.pageToken = "foo"; | 1576 o.pageToken = "foo"; |
| 1543 } | 1577 } |
| 1544 buildCounterSearchReferenceSetsRequest--; | 1578 buildCounterSearchReferenceSetsRequest--; |
| 1545 return o; | 1579 return o; |
| 1546 } | 1580 } |
| 1547 | 1581 |
| 1548 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { | 1582 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { |
| 1549 buildCounterSearchReferenceSetsRequest++; | 1583 buildCounterSearchReferenceSetsRequest++; |
| 1550 if (buildCounterSearchReferenceSetsRequest < 3) { | 1584 if (buildCounterSearchReferenceSetsRequest < 3) { |
| 1551 checkUnnamed2309(o.accessions); | 1585 checkUnnamed2631(o.accessions); |
| 1552 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1586 unittest.expect(o.assemblyId, unittest.equals('foo')); |
| 1553 checkUnnamed2310(o.md5checksums); | 1587 checkUnnamed2632(o.md5checksums); |
| 1554 unittest.expect(o.pageSize, unittest.equals(42)); | 1588 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1555 unittest.expect(o.pageToken, unittest.equals('foo')); | 1589 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1556 } | 1590 } |
| 1557 buildCounterSearchReferenceSetsRequest--; | 1591 buildCounterSearchReferenceSetsRequest--; |
| 1558 } | 1592 } |
| 1559 | 1593 |
| 1560 buildUnnamed2311() { | 1594 buildUnnamed2633() { |
| 1561 var o = new core.List<api.ReferenceSet>(); | 1595 var o = new core.List<api.ReferenceSet>(); |
| 1562 o.add(buildReferenceSet()); | 1596 o.add(buildReferenceSet()); |
| 1563 o.add(buildReferenceSet()); | 1597 o.add(buildReferenceSet()); |
| 1564 return o; | 1598 return o; |
| 1565 } | 1599 } |
| 1566 | 1600 |
| 1567 checkUnnamed2311(core.List<api.ReferenceSet> o) { | 1601 checkUnnamed2633(core.List<api.ReferenceSet> o) { |
| 1568 unittest.expect(o, unittest.hasLength(2)); | 1602 unittest.expect(o, unittest.hasLength(2)); |
| 1569 checkReferenceSet(o[0]); | 1603 checkReferenceSet(o[0]); |
| 1570 checkReferenceSet(o[1]); | 1604 checkReferenceSet(o[1]); |
| 1571 } | 1605 } |
| 1572 | 1606 |
| 1573 core.int buildCounterSearchReferenceSetsResponse = 0; | 1607 core.int buildCounterSearchReferenceSetsResponse = 0; |
| 1574 buildSearchReferenceSetsResponse() { | 1608 buildSearchReferenceSetsResponse() { |
| 1575 var o = new api.SearchReferenceSetsResponse(); | 1609 var o = new api.SearchReferenceSetsResponse(); |
| 1576 buildCounterSearchReferenceSetsResponse++; | 1610 buildCounterSearchReferenceSetsResponse++; |
| 1577 if (buildCounterSearchReferenceSetsResponse < 3) { | 1611 if (buildCounterSearchReferenceSetsResponse < 3) { |
| 1578 o.nextPageToken = "foo"; | 1612 o.nextPageToken = "foo"; |
| 1579 o.referenceSets = buildUnnamed2311(); | 1613 o.referenceSets = buildUnnamed2633(); |
| 1580 } | 1614 } |
| 1581 buildCounterSearchReferenceSetsResponse--; | 1615 buildCounterSearchReferenceSetsResponse--; |
| 1582 return o; | 1616 return o; |
| 1583 } | 1617 } |
| 1584 | 1618 |
| 1585 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { | 1619 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { |
| 1586 buildCounterSearchReferenceSetsResponse++; | 1620 buildCounterSearchReferenceSetsResponse++; |
| 1587 if (buildCounterSearchReferenceSetsResponse < 3) { | 1621 if (buildCounterSearchReferenceSetsResponse < 3) { |
| 1588 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1622 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1589 checkUnnamed2311(o.referenceSets); | 1623 checkUnnamed2633(o.referenceSets); |
| 1590 } | 1624 } |
| 1591 buildCounterSearchReferenceSetsResponse--; | 1625 buildCounterSearchReferenceSetsResponse--; |
| 1592 } | 1626 } |
| 1593 | 1627 |
| 1594 buildUnnamed2312() { | 1628 buildUnnamed2634() { |
| 1595 var o = new core.List<core.String>(); | 1629 var o = new core.List<core.String>(); |
| 1596 o.add("foo"); | 1630 o.add("foo"); |
| 1597 o.add("foo"); | 1631 o.add("foo"); |
| 1598 return o; | 1632 return o; |
| 1599 } | 1633 } |
| 1600 | 1634 |
| 1601 checkUnnamed2312(core.List<core.String> o) { | 1635 checkUnnamed2634(core.List<core.String> o) { |
| 1602 unittest.expect(o, unittest.hasLength(2)); | 1636 unittest.expect(o, unittest.hasLength(2)); |
| 1603 unittest.expect(o[0], unittest.equals('foo')); | 1637 unittest.expect(o[0], unittest.equals('foo')); |
| 1604 unittest.expect(o[1], unittest.equals('foo')); | 1638 unittest.expect(o[1], unittest.equals('foo')); |
| 1605 } | 1639 } |
| 1606 | 1640 |
| 1607 buildUnnamed2313() { | 1641 buildUnnamed2635() { |
| 1608 var o = new core.List<core.String>(); | 1642 var o = new core.List<core.String>(); |
| 1609 o.add("foo"); | 1643 o.add("foo"); |
| 1610 o.add("foo"); | 1644 o.add("foo"); |
| 1611 return o; | 1645 return o; |
| 1612 } | 1646 } |
| 1613 | 1647 |
| 1614 checkUnnamed2313(core.List<core.String> o) { | 1648 checkUnnamed2635(core.List<core.String> o) { |
| 1615 unittest.expect(o, unittest.hasLength(2)); | 1649 unittest.expect(o, unittest.hasLength(2)); |
| 1616 unittest.expect(o[0], unittest.equals('foo')); | 1650 unittest.expect(o[0], unittest.equals('foo')); |
| 1617 unittest.expect(o[1], unittest.equals('foo')); | 1651 unittest.expect(o[1], unittest.equals('foo')); |
| 1618 } | 1652 } |
| 1619 | 1653 |
| 1620 core.int buildCounterSearchReferencesRequest = 0; | 1654 core.int buildCounterSearchReferencesRequest = 0; |
| 1621 buildSearchReferencesRequest() { | 1655 buildSearchReferencesRequest() { |
| 1622 var o = new api.SearchReferencesRequest(); | 1656 var o = new api.SearchReferencesRequest(); |
| 1623 buildCounterSearchReferencesRequest++; | 1657 buildCounterSearchReferencesRequest++; |
| 1624 if (buildCounterSearchReferencesRequest < 3) { | 1658 if (buildCounterSearchReferencesRequest < 3) { |
| 1625 o.accessions = buildUnnamed2312(); | 1659 o.accessions = buildUnnamed2634(); |
| 1626 o.md5checksums = buildUnnamed2313(); | 1660 o.md5checksums = buildUnnamed2635(); |
| 1627 o.pageSize = 42; | 1661 o.pageSize = 42; |
| 1628 o.pageToken = "foo"; | 1662 o.pageToken = "foo"; |
| 1629 o.referenceSetId = "foo"; | 1663 o.referenceSetId = "foo"; |
| 1630 } | 1664 } |
| 1631 buildCounterSearchReferencesRequest--; | 1665 buildCounterSearchReferencesRequest--; |
| 1632 return o; | 1666 return o; |
| 1633 } | 1667 } |
| 1634 | 1668 |
| 1635 checkSearchReferencesRequest(api.SearchReferencesRequest o) { | 1669 checkSearchReferencesRequest(api.SearchReferencesRequest o) { |
| 1636 buildCounterSearchReferencesRequest++; | 1670 buildCounterSearchReferencesRequest++; |
| 1637 if (buildCounterSearchReferencesRequest < 3) { | 1671 if (buildCounterSearchReferencesRequest < 3) { |
| 1638 checkUnnamed2312(o.accessions); | 1672 checkUnnamed2634(o.accessions); |
| 1639 checkUnnamed2313(o.md5checksums); | 1673 checkUnnamed2635(o.md5checksums); |
| 1640 unittest.expect(o.pageSize, unittest.equals(42)); | 1674 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1641 unittest.expect(o.pageToken, unittest.equals('foo')); | 1675 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1642 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1676 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 1643 } | 1677 } |
| 1644 buildCounterSearchReferencesRequest--; | 1678 buildCounterSearchReferencesRequest--; |
| 1645 } | 1679 } |
| 1646 | 1680 |
| 1647 buildUnnamed2314() { | 1681 buildUnnamed2636() { |
| 1648 var o = new core.List<api.Reference>(); | 1682 var o = new core.List<api.Reference>(); |
| 1649 o.add(buildReference()); | 1683 o.add(buildReference()); |
| 1650 o.add(buildReference()); | 1684 o.add(buildReference()); |
| 1651 return o; | 1685 return o; |
| 1652 } | 1686 } |
| 1653 | 1687 |
| 1654 checkUnnamed2314(core.List<api.Reference> o) { | 1688 checkUnnamed2636(core.List<api.Reference> o) { |
| 1655 unittest.expect(o, unittest.hasLength(2)); | 1689 unittest.expect(o, unittest.hasLength(2)); |
| 1656 checkReference(o[0]); | 1690 checkReference(o[0]); |
| 1657 checkReference(o[1]); | 1691 checkReference(o[1]); |
| 1658 } | 1692 } |
| 1659 | 1693 |
| 1660 core.int buildCounterSearchReferencesResponse = 0; | 1694 core.int buildCounterSearchReferencesResponse = 0; |
| 1661 buildSearchReferencesResponse() { | 1695 buildSearchReferencesResponse() { |
| 1662 var o = new api.SearchReferencesResponse(); | 1696 var o = new api.SearchReferencesResponse(); |
| 1663 buildCounterSearchReferencesResponse++; | 1697 buildCounterSearchReferencesResponse++; |
| 1664 if (buildCounterSearchReferencesResponse < 3) { | 1698 if (buildCounterSearchReferencesResponse < 3) { |
| 1665 o.nextPageToken = "foo"; | 1699 o.nextPageToken = "foo"; |
| 1666 o.references = buildUnnamed2314(); | 1700 o.references = buildUnnamed2636(); |
| 1667 } | 1701 } |
| 1668 buildCounterSearchReferencesResponse--; | 1702 buildCounterSearchReferencesResponse--; |
| 1669 return o; | 1703 return o; |
| 1670 } | 1704 } |
| 1671 | 1705 |
| 1672 checkSearchReferencesResponse(api.SearchReferencesResponse o) { | 1706 checkSearchReferencesResponse(api.SearchReferencesResponse o) { |
| 1673 buildCounterSearchReferencesResponse++; | 1707 buildCounterSearchReferencesResponse++; |
| 1674 if (buildCounterSearchReferencesResponse < 3) { | 1708 if (buildCounterSearchReferencesResponse < 3) { |
| 1675 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1709 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1676 checkUnnamed2314(o.references); | 1710 checkUnnamed2636(o.references); |
| 1677 } | 1711 } |
| 1678 buildCounterSearchReferencesResponse--; | 1712 buildCounterSearchReferencesResponse--; |
| 1679 } | 1713 } |
| 1680 | 1714 |
| 1681 buildUnnamed2315() { | 1715 buildUnnamed2637() { |
| 1682 var o = new core.List<core.String>(); | 1716 var o = new core.List<core.String>(); |
| 1683 o.add("foo"); | 1717 o.add("foo"); |
| 1684 o.add("foo"); | 1718 o.add("foo"); |
| 1685 return o; | 1719 return o; |
| 1686 } | 1720 } |
| 1687 | 1721 |
| 1688 checkUnnamed2315(core.List<core.String> o) { | 1722 checkUnnamed2637(core.List<core.String> o) { |
| 1689 unittest.expect(o, unittest.hasLength(2)); | 1723 unittest.expect(o, unittest.hasLength(2)); |
| 1690 unittest.expect(o[0], unittest.equals('foo')); | 1724 unittest.expect(o[0], unittest.equals('foo')); |
| 1691 unittest.expect(o[1], unittest.equals('foo')); | 1725 unittest.expect(o[1], unittest.equals('foo')); |
| 1692 } | 1726 } |
| 1693 | 1727 |
| 1694 core.int buildCounterSearchVariantSetsRequest = 0; | 1728 core.int buildCounterSearchVariantSetsRequest = 0; |
| 1695 buildSearchVariantSetsRequest() { | 1729 buildSearchVariantSetsRequest() { |
| 1696 var o = new api.SearchVariantSetsRequest(); | 1730 var o = new api.SearchVariantSetsRequest(); |
| 1697 buildCounterSearchVariantSetsRequest++; | 1731 buildCounterSearchVariantSetsRequest++; |
| 1698 if (buildCounterSearchVariantSetsRequest < 3) { | 1732 if (buildCounterSearchVariantSetsRequest < 3) { |
| 1699 o.datasetIds = buildUnnamed2315(); | 1733 o.datasetIds = buildUnnamed2637(); |
| 1700 o.pageSize = 42; | 1734 o.pageSize = 42; |
| 1701 o.pageToken = "foo"; | 1735 o.pageToken = "foo"; |
| 1702 } | 1736 } |
| 1703 buildCounterSearchVariantSetsRequest--; | 1737 buildCounterSearchVariantSetsRequest--; |
| 1704 return o; | 1738 return o; |
| 1705 } | 1739 } |
| 1706 | 1740 |
| 1707 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { | 1741 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { |
| 1708 buildCounterSearchVariantSetsRequest++; | 1742 buildCounterSearchVariantSetsRequest++; |
| 1709 if (buildCounterSearchVariantSetsRequest < 3) { | 1743 if (buildCounterSearchVariantSetsRequest < 3) { |
| 1710 checkUnnamed2315(o.datasetIds); | 1744 checkUnnamed2637(o.datasetIds); |
| 1711 unittest.expect(o.pageSize, unittest.equals(42)); | 1745 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1712 unittest.expect(o.pageToken, unittest.equals('foo')); | 1746 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1713 } | 1747 } |
| 1714 buildCounterSearchVariantSetsRequest--; | 1748 buildCounterSearchVariantSetsRequest--; |
| 1715 } | 1749 } |
| 1716 | 1750 |
| 1717 buildUnnamed2316() { | 1751 buildUnnamed2638() { |
| 1718 var o = new core.List<api.VariantSet>(); | 1752 var o = new core.List<api.VariantSet>(); |
| 1719 o.add(buildVariantSet()); | 1753 o.add(buildVariantSet()); |
| 1720 o.add(buildVariantSet()); | 1754 o.add(buildVariantSet()); |
| 1721 return o; | 1755 return o; |
| 1722 } | 1756 } |
| 1723 | 1757 |
| 1724 checkUnnamed2316(core.List<api.VariantSet> o) { | 1758 checkUnnamed2638(core.List<api.VariantSet> o) { |
| 1725 unittest.expect(o, unittest.hasLength(2)); | 1759 unittest.expect(o, unittest.hasLength(2)); |
| 1726 checkVariantSet(o[0]); | 1760 checkVariantSet(o[0]); |
| 1727 checkVariantSet(o[1]); | 1761 checkVariantSet(o[1]); |
| 1728 } | 1762 } |
| 1729 | 1763 |
| 1730 core.int buildCounterSearchVariantSetsResponse = 0; | 1764 core.int buildCounterSearchVariantSetsResponse = 0; |
| 1731 buildSearchVariantSetsResponse() { | 1765 buildSearchVariantSetsResponse() { |
| 1732 var o = new api.SearchVariantSetsResponse(); | 1766 var o = new api.SearchVariantSetsResponse(); |
| 1733 buildCounterSearchVariantSetsResponse++; | 1767 buildCounterSearchVariantSetsResponse++; |
| 1734 if (buildCounterSearchVariantSetsResponse < 3) { | 1768 if (buildCounterSearchVariantSetsResponse < 3) { |
| 1735 o.nextPageToken = "foo"; | 1769 o.nextPageToken = "foo"; |
| 1736 o.variantSets = buildUnnamed2316(); | 1770 o.variantSets = buildUnnamed2638(); |
| 1737 } | 1771 } |
| 1738 buildCounterSearchVariantSetsResponse--; | 1772 buildCounterSearchVariantSetsResponse--; |
| 1739 return o; | 1773 return o; |
| 1740 } | 1774 } |
| 1741 | 1775 |
| 1742 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { | 1776 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { |
| 1743 buildCounterSearchVariantSetsResponse++; | 1777 buildCounterSearchVariantSetsResponse++; |
| 1744 if (buildCounterSearchVariantSetsResponse < 3) { | 1778 if (buildCounterSearchVariantSetsResponse < 3) { |
| 1745 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1779 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1746 checkUnnamed2316(o.variantSets); | 1780 checkUnnamed2638(o.variantSets); |
| 1747 } | 1781 } |
| 1748 buildCounterSearchVariantSetsResponse--; | 1782 buildCounterSearchVariantSetsResponse--; |
| 1749 } | 1783 } |
| 1750 | 1784 |
| 1751 buildUnnamed2317() { | 1785 buildUnnamed2639() { |
| 1752 var o = new core.List<core.String>(); | 1786 var o = new core.List<core.String>(); |
| 1753 o.add("foo"); | 1787 o.add("foo"); |
| 1754 o.add("foo"); | 1788 o.add("foo"); |
| 1755 return o; | 1789 return o; |
| 1756 } | 1790 } |
| 1757 | 1791 |
| 1758 checkUnnamed2317(core.List<core.String> o) { | 1792 checkUnnamed2639(core.List<core.String> o) { |
| 1759 unittest.expect(o, unittest.hasLength(2)); | 1793 unittest.expect(o, unittest.hasLength(2)); |
| 1760 unittest.expect(o[0], unittest.equals('foo')); | 1794 unittest.expect(o[0], unittest.equals('foo')); |
| 1761 unittest.expect(o[1], unittest.equals('foo')); | 1795 unittest.expect(o[1], unittest.equals('foo')); |
| 1762 } | 1796 } |
| 1763 | 1797 |
| 1764 buildUnnamed2318() { | 1798 buildUnnamed2640() { |
| 1765 var o = new core.List<core.String>(); | 1799 var o = new core.List<core.String>(); |
| 1766 o.add("foo"); | 1800 o.add("foo"); |
| 1767 o.add("foo"); | 1801 o.add("foo"); |
| 1768 return o; | 1802 return o; |
| 1769 } | 1803 } |
| 1770 | 1804 |
| 1771 checkUnnamed2318(core.List<core.String> o) { | 1805 checkUnnamed2640(core.List<core.String> o) { |
| 1772 unittest.expect(o, unittest.hasLength(2)); | 1806 unittest.expect(o, unittest.hasLength(2)); |
| 1773 unittest.expect(o[0], unittest.equals('foo')); | 1807 unittest.expect(o[0], unittest.equals('foo')); |
| 1774 unittest.expect(o[1], unittest.equals('foo')); | 1808 unittest.expect(o[1], unittest.equals('foo')); |
| 1775 } | 1809 } |
| 1776 | 1810 |
| 1777 core.int buildCounterSearchVariantsRequest = 0; | 1811 core.int buildCounterSearchVariantsRequest = 0; |
| 1778 buildSearchVariantsRequest() { | 1812 buildSearchVariantsRequest() { |
| 1779 var o = new api.SearchVariantsRequest(); | 1813 var o = new api.SearchVariantsRequest(); |
| 1780 buildCounterSearchVariantsRequest++; | 1814 buildCounterSearchVariantsRequest++; |
| 1781 if (buildCounterSearchVariantsRequest < 3) { | 1815 if (buildCounterSearchVariantsRequest < 3) { |
| 1782 o.callSetIds = buildUnnamed2317(); | 1816 o.callSetIds = buildUnnamed2639(); |
| 1783 o.end = "foo"; | 1817 o.end = "foo"; |
| 1784 o.maxCalls = 42; | 1818 o.maxCalls = 42; |
| 1785 o.pageSize = 42; | 1819 o.pageSize = 42; |
| 1786 o.pageToken = "foo"; | 1820 o.pageToken = "foo"; |
| 1787 o.referenceName = "foo"; | 1821 o.referenceName = "foo"; |
| 1788 o.start = "foo"; | 1822 o.start = "foo"; |
| 1789 o.variantName = "foo"; | 1823 o.variantName = "foo"; |
| 1790 o.variantSetIds = buildUnnamed2318(); | 1824 o.variantSetIds = buildUnnamed2640(); |
| 1791 } | 1825 } |
| 1792 buildCounterSearchVariantsRequest--; | 1826 buildCounterSearchVariantsRequest--; |
| 1793 return o; | 1827 return o; |
| 1794 } | 1828 } |
| 1795 | 1829 |
| 1796 checkSearchVariantsRequest(api.SearchVariantsRequest o) { | 1830 checkSearchVariantsRequest(api.SearchVariantsRequest o) { |
| 1797 buildCounterSearchVariantsRequest++; | 1831 buildCounterSearchVariantsRequest++; |
| 1798 if (buildCounterSearchVariantsRequest < 3) { | 1832 if (buildCounterSearchVariantsRequest < 3) { |
| 1799 checkUnnamed2317(o.callSetIds); | 1833 checkUnnamed2639(o.callSetIds); |
| 1800 unittest.expect(o.end, unittest.equals('foo')); | 1834 unittest.expect(o.end, unittest.equals('foo')); |
| 1801 unittest.expect(o.maxCalls, unittest.equals(42)); | 1835 unittest.expect(o.maxCalls, unittest.equals(42)); |
| 1802 unittest.expect(o.pageSize, unittest.equals(42)); | 1836 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1803 unittest.expect(o.pageToken, unittest.equals('foo')); | 1837 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1804 unittest.expect(o.referenceName, unittest.equals('foo')); | 1838 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1805 unittest.expect(o.start, unittest.equals('foo')); | 1839 unittest.expect(o.start, unittest.equals('foo')); |
| 1806 unittest.expect(o.variantName, unittest.equals('foo')); | 1840 unittest.expect(o.variantName, unittest.equals('foo')); |
| 1807 checkUnnamed2318(o.variantSetIds); | 1841 checkUnnamed2640(o.variantSetIds); |
| 1808 } | 1842 } |
| 1809 buildCounterSearchVariantsRequest--; | 1843 buildCounterSearchVariantsRequest--; |
| 1810 } | 1844 } |
| 1811 | 1845 |
| 1812 buildUnnamed2319() { | 1846 buildUnnamed2641() { |
| 1813 var o = new core.List<api.Variant>(); | 1847 var o = new core.List<api.Variant>(); |
| 1814 o.add(buildVariant()); | 1848 o.add(buildVariant()); |
| 1815 o.add(buildVariant()); | 1849 o.add(buildVariant()); |
| 1816 return o; | 1850 return o; |
| 1817 } | 1851 } |
| 1818 | 1852 |
| 1819 checkUnnamed2319(core.List<api.Variant> o) { | 1853 checkUnnamed2641(core.List<api.Variant> o) { |
| 1820 unittest.expect(o, unittest.hasLength(2)); | 1854 unittest.expect(o, unittest.hasLength(2)); |
| 1821 checkVariant(o[0]); | 1855 checkVariant(o[0]); |
| 1822 checkVariant(o[1]); | 1856 checkVariant(o[1]); |
| 1823 } | 1857 } |
| 1824 | 1858 |
| 1825 core.int buildCounterSearchVariantsResponse = 0; | 1859 core.int buildCounterSearchVariantsResponse = 0; |
| 1826 buildSearchVariantsResponse() { | 1860 buildSearchVariantsResponse() { |
| 1827 var o = new api.SearchVariantsResponse(); | 1861 var o = new api.SearchVariantsResponse(); |
| 1828 buildCounterSearchVariantsResponse++; | 1862 buildCounterSearchVariantsResponse++; |
| 1829 if (buildCounterSearchVariantsResponse < 3) { | 1863 if (buildCounterSearchVariantsResponse < 3) { |
| 1830 o.nextPageToken = "foo"; | 1864 o.nextPageToken = "foo"; |
| 1831 o.variants = buildUnnamed2319(); | 1865 o.variants = buildUnnamed2641(); |
| 1832 } | 1866 } |
| 1833 buildCounterSearchVariantsResponse--; | 1867 buildCounterSearchVariantsResponse--; |
| 1834 return o; | 1868 return o; |
| 1835 } | 1869 } |
| 1836 | 1870 |
| 1837 checkSearchVariantsResponse(api.SearchVariantsResponse o) { | 1871 checkSearchVariantsResponse(api.SearchVariantsResponse o) { |
| 1838 buildCounterSearchVariantsResponse++; | 1872 buildCounterSearchVariantsResponse++; |
| 1839 if (buildCounterSearchVariantsResponse < 3) { | 1873 if (buildCounterSearchVariantsResponse < 3) { |
| 1840 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1874 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1841 checkUnnamed2319(o.variants); | 1875 checkUnnamed2641(o.variants); |
| 1842 } | 1876 } |
| 1843 buildCounterSearchVariantsResponse--; | 1877 buildCounterSearchVariantsResponse--; |
| 1844 } | 1878 } |
| 1845 | 1879 |
| 1846 core.int buildCounterSetIamPolicyRequest = 0; | 1880 core.int buildCounterSetIamPolicyRequest = 0; |
| 1847 buildSetIamPolicyRequest() { | 1881 buildSetIamPolicyRequest() { |
| 1848 var o = new api.SetIamPolicyRequest(); | 1882 var o = new api.SetIamPolicyRequest(); |
| 1849 buildCounterSetIamPolicyRequest++; | 1883 buildCounterSetIamPolicyRequest++; |
| 1850 if (buildCounterSetIamPolicyRequest < 3) { | 1884 if (buildCounterSetIamPolicyRequest < 3) { |
| 1851 o.policy = buildPolicy(); | 1885 o.policy = buildPolicy(); |
| 1852 } | 1886 } |
| 1853 buildCounterSetIamPolicyRequest--; | 1887 buildCounterSetIamPolicyRequest--; |
| 1854 return o; | 1888 return o; |
| 1855 } | 1889 } |
| 1856 | 1890 |
| 1857 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { | 1891 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
| 1858 buildCounterSetIamPolicyRequest++; | 1892 buildCounterSetIamPolicyRequest++; |
| 1859 if (buildCounterSetIamPolicyRequest < 3) { | 1893 if (buildCounterSetIamPolicyRequest < 3) { |
| 1860 checkPolicy(o.policy); | 1894 checkPolicy(o.policy); |
| 1861 } | 1895 } |
| 1862 buildCounterSetIamPolicyRequest--; | 1896 buildCounterSetIamPolicyRequest--; |
| 1863 } | 1897 } |
| 1864 | 1898 |
| 1865 buildUnnamed2320() { | 1899 buildUnnamed2642() { |
| 1866 var o = new core.Map<core.String, core.Object>(); | 1900 var o = new core.Map<core.String, core.Object>(); |
| 1867 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1901 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1868 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1902 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1869 return o; | 1903 return o; |
| 1870 } | 1904 } |
| 1871 | 1905 |
| 1872 checkUnnamed2320(core.Map<core.String, core.Object> o) { | 1906 checkUnnamed2642(core.Map<core.String, core.Object> o) { |
| 1873 unittest.expect(o, unittest.hasLength(2)); | 1907 unittest.expect(o, unittest.hasLength(2)); |
| 1874 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')); | 1908 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')); |
| 1875 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')); | 1909 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')); |
| 1876 } | 1910 } |
| 1877 | 1911 |
| 1878 buildUnnamed2321() { | 1912 buildUnnamed2643() { |
| 1879 var o = new core.List<core.Map<core.String, core.Object>>(); | 1913 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 1880 o.add(buildUnnamed2320()); | 1914 o.add(buildUnnamed2642()); |
| 1881 o.add(buildUnnamed2320()); | 1915 o.add(buildUnnamed2642()); |
| 1882 return o; | 1916 return o; |
| 1883 } | 1917 } |
| 1884 | 1918 |
| 1885 checkUnnamed2321(core.List<core.Map<core.String, core.Object>> o) { | 1919 checkUnnamed2643(core.List<core.Map<core.String, core.Object>> o) { |
| 1886 unittest.expect(o, unittest.hasLength(2)); | 1920 unittest.expect(o, unittest.hasLength(2)); |
| 1887 checkUnnamed2320(o[0]); | 1921 checkUnnamed2642(o[0]); |
| 1888 checkUnnamed2320(o[1]); | 1922 checkUnnamed2642(o[1]); |
| 1889 } | 1923 } |
| 1890 | 1924 |
| 1891 core.int buildCounterStatus = 0; | 1925 core.int buildCounterStatus = 0; |
| 1892 buildStatus() { | 1926 buildStatus() { |
| 1893 var o = new api.Status(); | 1927 var o = new api.Status(); |
| 1894 buildCounterStatus++; | 1928 buildCounterStatus++; |
| 1895 if (buildCounterStatus < 3) { | 1929 if (buildCounterStatus < 3) { |
| 1896 o.code = 42; | 1930 o.code = 42; |
| 1897 o.details = buildUnnamed2321(); | 1931 o.details = buildUnnamed2643(); |
| 1898 o.message = "foo"; | 1932 o.message = "foo"; |
| 1899 } | 1933 } |
| 1900 buildCounterStatus--; | 1934 buildCounterStatus--; |
| 1901 return o; | 1935 return o; |
| 1902 } | 1936 } |
| 1903 | 1937 |
| 1904 checkStatus(api.Status o) { | 1938 checkStatus(api.Status o) { |
| 1905 buildCounterStatus++; | 1939 buildCounterStatus++; |
| 1906 if (buildCounterStatus < 3) { | 1940 if (buildCounterStatus < 3) { |
| 1907 unittest.expect(o.code, unittest.equals(42)); | 1941 unittest.expect(o.code, unittest.equals(42)); |
| 1908 checkUnnamed2321(o.details); | 1942 checkUnnamed2643(o.details); |
| 1909 unittest.expect(o.message, unittest.equals('foo')); | 1943 unittest.expect(o.message, unittest.equals('foo')); |
| 1910 } | 1944 } |
| 1911 buildCounterStatus--; | 1945 buildCounterStatus--; |
| 1912 } | 1946 } |
| 1913 | 1947 |
| 1914 core.int buildCounterStreamReadsRequest = 0; | 1948 core.int buildCounterStreamReadsRequest = 0; |
| 1915 buildStreamReadsRequest() { | 1949 buildStreamReadsRequest() { |
| 1916 var o = new api.StreamReadsRequest(); | 1950 var o = new api.StreamReadsRequest(); |
| 1917 buildCounterStreamReadsRequest++; | 1951 buildCounterStreamReadsRequest++; |
| 1918 if (buildCounterStreamReadsRequest < 3) { | 1952 if (buildCounterStreamReadsRequest < 3) { |
| 1919 o.end = "foo"; | 1953 o.end = "foo"; |
| 1920 o.projectId = "foo"; | 1954 o.projectId = "foo"; |
| 1921 o.readGroupSetId = "foo"; | 1955 o.readGroupSetId = "foo"; |
| 1922 o.referenceName = "foo"; | 1956 o.referenceName = "foo"; |
| 1957 o.shard = 42; |
| 1923 o.start = "foo"; | 1958 o.start = "foo"; |
| 1959 o.totalShards = 42; |
| 1924 } | 1960 } |
| 1925 buildCounterStreamReadsRequest--; | 1961 buildCounterStreamReadsRequest--; |
| 1926 return o; | 1962 return o; |
| 1927 } | 1963 } |
| 1928 | 1964 |
| 1929 checkStreamReadsRequest(api.StreamReadsRequest o) { | 1965 checkStreamReadsRequest(api.StreamReadsRequest o) { |
| 1930 buildCounterStreamReadsRequest++; | 1966 buildCounterStreamReadsRequest++; |
| 1931 if (buildCounterStreamReadsRequest < 3) { | 1967 if (buildCounterStreamReadsRequest < 3) { |
| 1932 unittest.expect(o.end, unittest.equals('foo')); | 1968 unittest.expect(o.end, unittest.equals('foo')); |
| 1933 unittest.expect(o.projectId, unittest.equals('foo')); | 1969 unittest.expect(o.projectId, unittest.equals('foo')); |
| 1934 unittest.expect(o.readGroupSetId, unittest.equals('foo')); | 1970 unittest.expect(o.readGroupSetId, unittest.equals('foo')); |
| 1935 unittest.expect(o.referenceName, unittest.equals('foo')); | 1971 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1972 unittest.expect(o.shard, unittest.equals(42)); |
| 1936 unittest.expect(o.start, unittest.equals('foo')); | 1973 unittest.expect(o.start, unittest.equals('foo')); |
| 1974 unittest.expect(o.totalShards, unittest.equals(42)); |
| 1937 } | 1975 } |
| 1938 buildCounterStreamReadsRequest--; | 1976 buildCounterStreamReadsRequest--; |
| 1939 } | 1977 } |
| 1940 | 1978 |
| 1941 buildUnnamed2322() { | 1979 buildUnnamed2644() { |
| 1942 var o = new core.List<api.Read>(); | 1980 var o = new core.List<api.Read>(); |
| 1943 o.add(buildRead()); | 1981 o.add(buildRead()); |
| 1944 o.add(buildRead()); | 1982 o.add(buildRead()); |
| 1945 return o; | 1983 return o; |
| 1946 } | 1984 } |
| 1947 | 1985 |
| 1948 checkUnnamed2322(core.List<api.Read> o) { | 1986 checkUnnamed2644(core.List<api.Read> o) { |
| 1949 unittest.expect(o, unittest.hasLength(2)); | 1987 unittest.expect(o, unittest.hasLength(2)); |
| 1950 checkRead(o[0]); | 1988 checkRead(o[0]); |
| 1951 checkRead(o[1]); | 1989 checkRead(o[1]); |
| 1952 } | 1990 } |
| 1953 | 1991 |
| 1954 core.int buildCounterStreamReadsResponse = 0; | 1992 core.int buildCounterStreamReadsResponse = 0; |
| 1955 buildStreamReadsResponse() { | 1993 buildStreamReadsResponse() { |
| 1956 var o = new api.StreamReadsResponse(); | 1994 var o = new api.StreamReadsResponse(); |
| 1957 buildCounterStreamReadsResponse++; | 1995 buildCounterStreamReadsResponse++; |
| 1958 if (buildCounterStreamReadsResponse < 3) { | 1996 if (buildCounterStreamReadsResponse < 3) { |
| 1959 o.alignments = buildUnnamed2322(); | 1997 o.alignments = buildUnnamed2644(); |
| 1960 } | 1998 } |
| 1961 buildCounterStreamReadsResponse--; | 1999 buildCounterStreamReadsResponse--; |
| 1962 return o; | 2000 return o; |
| 1963 } | 2001 } |
| 1964 | 2002 |
| 1965 checkStreamReadsResponse(api.StreamReadsResponse o) { | 2003 checkStreamReadsResponse(api.StreamReadsResponse o) { |
| 1966 buildCounterStreamReadsResponse++; | 2004 buildCounterStreamReadsResponse++; |
| 1967 if (buildCounterStreamReadsResponse < 3) { | 2005 if (buildCounterStreamReadsResponse < 3) { |
| 1968 checkUnnamed2322(o.alignments); | 2006 checkUnnamed2644(o.alignments); |
| 1969 } | 2007 } |
| 1970 buildCounterStreamReadsResponse--; | 2008 buildCounterStreamReadsResponse--; |
| 1971 } | 2009 } |
| 1972 | 2010 |
| 1973 buildUnnamed2323() { | 2011 buildUnnamed2645() { |
| 1974 var o = new core.List<core.String>(); | 2012 var o = new core.List<core.String>(); |
| 1975 o.add("foo"); | 2013 o.add("foo"); |
| 1976 o.add("foo"); | 2014 o.add("foo"); |
| 1977 return o; | 2015 return o; |
| 1978 } | 2016 } |
| 1979 | 2017 |
| 1980 checkUnnamed2323(core.List<core.String> o) { | 2018 checkUnnamed2645(core.List<core.String> o) { |
| 1981 unittest.expect(o, unittest.hasLength(2)); | 2019 unittest.expect(o, unittest.hasLength(2)); |
| 1982 unittest.expect(o[0], unittest.equals('foo')); | 2020 unittest.expect(o[0], unittest.equals('foo')); |
| 1983 unittest.expect(o[1], unittest.equals('foo')); | 2021 unittest.expect(o[1], unittest.equals('foo')); |
| 1984 } | 2022 } |
| 1985 | 2023 |
| 1986 core.int buildCounterStreamVariantsRequest = 0; | 2024 core.int buildCounterStreamVariantsRequest = 0; |
| 1987 buildStreamVariantsRequest() { | 2025 buildStreamVariantsRequest() { |
| 1988 var o = new api.StreamVariantsRequest(); | 2026 var o = new api.StreamVariantsRequest(); |
| 1989 buildCounterStreamVariantsRequest++; | 2027 buildCounterStreamVariantsRequest++; |
| 1990 if (buildCounterStreamVariantsRequest < 3) { | 2028 if (buildCounterStreamVariantsRequest < 3) { |
| 1991 o.callSetIds = buildUnnamed2323(); | 2029 o.callSetIds = buildUnnamed2645(); |
| 1992 o.end = "foo"; | 2030 o.end = "foo"; |
| 1993 o.projectId = "foo"; | 2031 o.projectId = "foo"; |
| 1994 o.referenceName = "foo"; | 2032 o.referenceName = "foo"; |
| 1995 o.start = "foo"; | 2033 o.start = "foo"; |
| 1996 o.variantSetId = "foo"; | 2034 o.variantSetId = "foo"; |
| 1997 } | 2035 } |
| 1998 buildCounterStreamVariantsRequest--; | 2036 buildCounterStreamVariantsRequest--; |
| 1999 return o; | 2037 return o; |
| 2000 } | 2038 } |
| 2001 | 2039 |
| 2002 checkStreamVariantsRequest(api.StreamVariantsRequest o) { | 2040 checkStreamVariantsRequest(api.StreamVariantsRequest o) { |
| 2003 buildCounterStreamVariantsRequest++; | 2041 buildCounterStreamVariantsRequest++; |
| 2004 if (buildCounterStreamVariantsRequest < 3) { | 2042 if (buildCounterStreamVariantsRequest < 3) { |
| 2005 checkUnnamed2323(o.callSetIds); | 2043 checkUnnamed2645(o.callSetIds); |
| 2006 unittest.expect(o.end, unittest.equals('foo')); | 2044 unittest.expect(o.end, unittest.equals('foo')); |
| 2007 unittest.expect(o.projectId, unittest.equals('foo')); | 2045 unittest.expect(o.projectId, unittest.equals('foo')); |
| 2008 unittest.expect(o.referenceName, unittest.equals('foo')); | 2046 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 2009 unittest.expect(o.start, unittest.equals('foo')); | 2047 unittest.expect(o.start, unittest.equals('foo')); |
| 2010 unittest.expect(o.variantSetId, unittest.equals('foo')); | 2048 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 2011 } | 2049 } |
| 2012 buildCounterStreamVariantsRequest--; | 2050 buildCounterStreamVariantsRequest--; |
| 2013 } | 2051 } |
| 2014 | 2052 |
| 2015 buildUnnamed2324() { | 2053 buildUnnamed2646() { |
| 2016 var o = new core.List<api.Variant>(); | 2054 var o = new core.List<api.Variant>(); |
| 2017 o.add(buildVariant()); | 2055 o.add(buildVariant()); |
| 2018 o.add(buildVariant()); | 2056 o.add(buildVariant()); |
| 2019 return o; | 2057 return o; |
| 2020 } | 2058 } |
| 2021 | 2059 |
| 2022 checkUnnamed2324(core.List<api.Variant> o) { | 2060 checkUnnamed2646(core.List<api.Variant> o) { |
| 2023 unittest.expect(o, unittest.hasLength(2)); | 2061 unittest.expect(o, unittest.hasLength(2)); |
| 2024 checkVariant(o[0]); | 2062 checkVariant(o[0]); |
| 2025 checkVariant(o[1]); | 2063 checkVariant(o[1]); |
| 2026 } | 2064 } |
| 2027 | 2065 |
| 2028 core.int buildCounterStreamVariantsResponse = 0; | 2066 core.int buildCounterStreamVariantsResponse = 0; |
| 2029 buildStreamVariantsResponse() { | 2067 buildStreamVariantsResponse() { |
| 2030 var o = new api.StreamVariantsResponse(); | 2068 var o = new api.StreamVariantsResponse(); |
| 2031 buildCounterStreamVariantsResponse++; | 2069 buildCounterStreamVariantsResponse++; |
| 2032 if (buildCounterStreamVariantsResponse < 3) { | 2070 if (buildCounterStreamVariantsResponse < 3) { |
| 2033 o.variants = buildUnnamed2324(); | 2071 o.variants = buildUnnamed2646(); |
| 2034 } | 2072 } |
| 2035 buildCounterStreamVariantsResponse--; | 2073 buildCounterStreamVariantsResponse--; |
| 2036 return o; | 2074 return o; |
| 2037 } | 2075 } |
| 2038 | 2076 |
| 2039 checkStreamVariantsResponse(api.StreamVariantsResponse o) { | 2077 checkStreamVariantsResponse(api.StreamVariantsResponse o) { |
| 2040 buildCounterStreamVariantsResponse++; | 2078 buildCounterStreamVariantsResponse++; |
| 2041 if (buildCounterStreamVariantsResponse < 3) { | 2079 if (buildCounterStreamVariantsResponse < 3) { |
| 2042 checkUnnamed2324(o.variants); | 2080 checkUnnamed2646(o.variants); |
| 2043 } | 2081 } |
| 2044 buildCounterStreamVariantsResponse--; | 2082 buildCounterStreamVariantsResponse--; |
| 2045 } | 2083 } |
| 2046 | 2084 |
| 2047 buildUnnamed2325() { | 2085 buildUnnamed2647() { |
| 2048 var o = new core.List<core.String>(); | 2086 var o = new core.List<core.String>(); |
| 2049 o.add("foo"); | 2087 o.add("foo"); |
| 2050 o.add("foo"); | 2088 o.add("foo"); |
| 2051 return o; | 2089 return o; |
| 2052 } | 2090 } |
| 2053 | 2091 |
| 2054 checkUnnamed2325(core.List<core.String> o) { | 2092 checkUnnamed2647(core.List<core.String> o) { |
| 2055 unittest.expect(o, unittest.hasLength(2)); | 2093 unittest.expect(o, unittest.hasLength(2)); |
| 2056 unittest.expect(o[0], unittest.equals('foo')); | 2094 unittest.expect(o[0], unittest.equals('foo')); |
| 2057 unittest.expect(o[1], unittest.equals('foo')); | 2095 unittest.expect(o[1], unittest.equals('foo')); |
| 2058 } | 2096 } |
| 2059 | 2097 |
| 2060 core.int buildCounterTestIamPermissionsRequest = 0; | 2098 core.int buildCounterTestIamPermissionsRequest = 0; |
| 2061 buildTestIamPermissionsRequest() { | 2099 buildTestIamPermissionsRequest() { |
| 2062 var o = new api.TestIamPermissionsRequest(); | 2100 var o = new api.TestIamPermissionsRequest(); |
| 2063 buildCounterTestIamPermissionsRequest++; | 2101 buildCounterTestIamPermissionsRequest++; |
| 2064 if (buildCounterTestIamPermissionsRequest < 3) { | 2102 if (buildCounterTestIamPermissionsRequest < 3) { |
| 2065 o.permissions = buildUnnamed2325(); | 2103 o.permissions = buildUnnamed2647(); |
| 2066 } | 2104 } |
| 2067 buildCounterTestIamPermissionsRequest--; | 2105 buildCounterTestIamPermissionsRequest--; |
| 2068 return o; | 2106 return o; |
| 2069 } | 2107 } |
| 2070 | 2108 |
| 2071 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 2109 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
| 2072 buildCounterTestIamPermissionsRequest++; | 2110 buildCounterTestIamPermissionsRequest++; |
| 2073 if (buildCounterTestIamPermissionsRequest < 3) { | 2111 if (buildCounterTestIamPermissionsRequest < 3) { |
| 2074 checkUnnamed2325(o.permissions); | 2112 checkUnnamed2647(o.permissions); |
| 2075 } | 2113 } |
| 2076 buildCounterTestIamPermissionsRequest--; | 2114 buildCounterTestIamPermissionsRequest--; |
| 2077 } | 2115 } |
| 2078 | 2116 |
| 2079 buildUnnamed2326() { | 2117 buildUnnamed2648() { |
| 2080 var o = new core.List<core.String>(); | 2118 var o = new core.List<core.String>(); |
| 2081 o.add("foo"); | 2119 o.add("foo"); |
| 2082 o.add("foo"); | 2120 o.add("foo"); |
| 2083 return o; | 2121 return o; |
| 2084 } | 2122 } |
| 2085 | 2123 |
| 2086 checkUnnamed2326(core.List<core.String> o) { | 2124 checkUnnamed2648(core.List<core.String> o) { |
| 2087 unittest.expect(o, unittest.hasLength(2)); | 2125 unittest.expect(o, unittest.hasLength(2)); |
| 2088 unittest.expect(o[0], unittest.equals('foo')); | 2126 unittest.expect(o[0], unittest.equals('foo')); |
| 2089 unittest.expect(o[1], unittest.equals('foo')); | 2127 unittest.expect(o[1], unittest.equals('foo')); |
| 2090 } | 2128 } |
| 2091 | 2129 |
| 2092 core.int buildCounterTestIamPermissionsResponse = 0; | 2130 core.int buildCounterTestIamPermissionsResponse = 0; |
| 2093 buildTestIamPermissionsResponse() { | 2131 buildTestIamPermissionsResponse() { |
| 2094 var o = new api.TestIamPermissionsResponse(); | 2132 var o = new api.TestIamPermissionsResponse(); |
| 2095 buildCounterTestIamPermissionsResponse++; | 2133 buildCounterTestIamPermissionsResponse++; |
| 2096 if (buildCounterTestIamPermissionsResponse < 3) { | 2134 if (buildCounterTestIamPermissionsResponse < 3) { |
| 2097 o.permissions = buildUnnamed2326(); | 2135 o.permissions = buildUnnamed2648(); |
| 2098 } | 2136 } |
| 2099 buildCounterTestIamPermissionsResponse--; | 2137 buildCounterTestIamPermissionsResponse--; |
| 2100 return o; | 2138 return o; |
| 2101 } | 2139 } |
| 2102 | 2140 |
| 2103 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 2141 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
| 2104 buildCounterTestIamPermissionsResponse++; | 2142 buildCounterTestIamPermissionsResponse++; |
| 2105 if (buildCounterTestIamPermissionsResponse < 3) { | 2143 if (buildCounterTestIamPermissionsResponse < 3) { |
| 2106 checkUnnamed2326(o.permissions); | 2144 checkUnnamed2648(o.permissions); |
| 2107 } | 2145 } |
| 2108 buildCounterTestIamPermissionsResponse--; | 2146 buildCounterTestIamPermissionsResponse--; |
| 2109 } | 2147 } |
| 2110 | 2148 |
| 2111 core.int buildCounterUndeleteDatasetRequest = 0; | 2149 core.int buildCounterUndeleteDatasetRequest = 0; |
| 2112 buildUndeleteDatasetRequest() { | 2150 buildUndeleteDatasetRequest() { |
| 2113 var o = new api.UndeleteDatasetRequest(); | 2151 var o = new api.UndeleteDatasetRequest(); |
| 2114 buildCounterUndeleteDatasetRequest++; | 2152 buildCounterUndeleteDatasetRequest++; |
| 2115 if (buildCounterUndeleteDatasetRequest < 3) { | 2153 if (buildCounterUndeleteDatasetRequest < 3) { |
| 2116 } | 2154 } |
| 2117 buildCounterUndeleteDatasetRequest--; | 2155 buildCounterUndeleteDatasetRequest--; |
| 2118 return o; | 2156 return o; |
| 2119 } | 2157 } |
| 2120 | 2158 |
| 2121 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { | 2159 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { |
| 2122 buildCounterUndeleteDatasetRequest++; | 2160 buildCounterUndeleteDatasetRequest++; |
| 2123 if (buildCounterUndeleteDatasetRequest < 3) { | 2161 if (buildCounterUndeleteDatasetRequest < 3) { |
| 2124 } | 2162 } |
| 2125 buildCounterUndeleteDatasetRequest--; | 2163 buildCounterUndeleteDatasetRequest--; |
| 2126 } | 2164 } |
| 2127 | 2165 |
| 2128 buildUnnamed2327() { | 2166 buildUnnamed2649() { |
| 2129 var o = new core.List<core.String>(); | 2167 var o = new core.List<core.String>(); |
| 2130 o.add("foo"); | 2168 o.add("foo"); |
| 2131 o.add("foo"); | 2169 o.add("foo"); |
| 2132 return o; | 2170 return o; |
| 2133 } | 2171 } |
| 2134 | 2172 |
| 2135 checkUnnamed2327(core.List<core.String> o) { | 2173 checkUnnamed2649(core.List<core.String> o) { |
| 2136 unittest.expect(o, unittest.hasLength(2)); | 2174 unittest.expect(o, unittest.hasLength(2)); |
| 2137 unittest.expect(o[0], unittest.equals('foo')); | 2175 unittest.expect(o[0], unittest.equals('foo')); |
| 2138 unittest.expect(o[1], unittest.equals('foo')); | 2176 unittest.expect(o[1], unittest.equals('foo')); |
| 2139 } | 2177 } |
| 2140 | 2178 |
| 2141 buildUnnamed2328() { | 2179 buildUnnamed2650() { |
| 2142 var o = new core.List<api.VariantCall>(); | 2180 var o = new core.List<api.VariantCall>(); |
| 2143 o.add(buildVariantCall()); | 2181 o.add(buildVariantCall()); |
| 2144 o.add(buildVariantCall()); | 2182 o.add(buildVariantCall()); |
| 2145 return o; | 2183 return o; |
| 2146 } | 2184 } |
| 2147 | 2185 |
| 2148 checkUnnamed2328(core.List<api.VariantCall> o) { | 2186 checkUnnamed2650(core.List<api.VariantCall> o) { |
| 2149 unittest.expect(o, unittest.hasLength(2)); | 2187 unittest.expect(o, unittest.hasLength(2)); |
| 2150 checkVariantCall(o[0]); | 2188 checkVariantCall(o[0]); |
| 2151 checkVariantCall(o[1]); | 2189 checkVariantCall(o[1]); |
| 2152 } | 2190 } |
| 2153 | 2191 |
| 2154 buildUnnamed2329() { | 2192 buildUnnamed2651() { |
| 2155 var o = new core.List<core.String>(); | 2193 var o = new core.List<core.String>(); |
| 2156 o.add("foo"); | 2194 o.add("foo"); |
| 2157 o.add("foo"); | 2195 o.add("foo"); |
| 2158 return o; | 2196 return o; |
| 2159 } | 2197 } |
| 2160 | 2198 |
| 2161 checkUnnamed2329(core.List<core.String> o) { | 2199 checkUnnamed2651(core.List<core.String> o) { |
| 2162 unittest.expect(o, unittest.hasLength(2)); | 2200 unittest.expect(o, unittest.hasLength(2)); |
| 2163 unittest.expect(o[0], unittest.equals('foo')); | 2201 unittest.expect(o[0], unittest.equals('foo')); |
| 2164 unittest.expect(o[1], unittest.equals('foo')); | 2202 unittest.expect(o[1], unittest.equals('foo')); |
| 2165 } | 2203 } |
| 2166 | 2204 |
| 2167 buildUnnamed2330() { | 2205 buildUnnamed2652() { |
| 2168 var o = new core.List<core.Object>(); | 2206 var o = new core.List<core.Object>(); |
| 2169 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2207 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2170 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2208 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2171 return o; | 2209 return o; |
| 2172 } | 2210 } |
| 2173 | 2211 |
| 2174 checkUnnamed2330(core.List<core.Object> o) { | 2212 checkUnnamed2652(core.List<core.Object> o) { |
| 2175 unittest.expect(o, unittest.hasLength(2)); | 2213 unittest.expect(o, unittest.hasLength(2)); |
| 2176 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')); | 2214 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')); |
| 2177 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')); | 2215 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')); |
| 2178 } | 2216 } |
| 2179 | 2217 |
| 2180 buildUnnamed2331() { | 2218 buildUnnamed2653() { |
| 2181 var o = new core.Map<core.String, core.List<core.Object>>(); | 2219 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 2182 o["x"] = buildUnnamed2330(); | 2220 o["x"] = buildUnnamed2652(); |
| 2183 o["y"] = buildUnnamed2330(); | 2221 o["y"] = buildUnnamed2652(); |
| 2184 return o; | 2222 return o; |
| 2185 } | 2223 } |
| 2186 | 2224 |
| 2187 checkUnnamed2331(core.Map<core.String, core.List<core.Object>> o) { | 2225 checkUnnamed2653(core.Map<core.String, core.List<core.Object>> o) { |
| 2188 unittest.expect(o, unittest.hasLength(2)); | 2226 unittest.expect(o, unittest.hasLength(2)); |
| 2189 checkUnnamed2330(o["x"]); | 2227 checkUnnamed2652(o["x"]); |
| 2190 checkUnnamed2330(o["y"]); | 2228 checkUnnamed2652(o["y"]); |
| 2191 } | 2229 } |
| 2192 | 2230 |
| 2193 buildUnnamed2332() { | 2231 buildUnnamed2654() { |
| 2194 var o = new core.List<core.String>(); | 2232 var o = new core.List<core.String>(); |
| 2195 o.add("foo"); | 2233 o.add("foo"); |
| 2196 o.add("foo"); | 2234 o.add("foo"); |
| 2197 return o; | 2235 return o; |
| 2198 } | 2236 } |
| 2199 | 2237 |
| 2200 checkUnnamed2332(core.List<core.String> o) { | 2238 checkUnnamed2654(core.List<core.String> o) { |
| 2201 unittest.expect(o, unittest.hasLength(2)); | 2239 unittest.expect(o, unittest.hasLength(2)); |
| 2202 unittest.expect(o[0], unittest.equals('foo')); | 2240 unittest.expect(o[0], unittest.equals('foo')); |
| 2203 unittest.expect(o[1], unittest.equals('foo')); | 2241 unittest.expect(o[1], unittest.equals('foo')); |
| 2204 } | 2242 } |
| 2205 | 2243 |
| 2206 core.int buildCounterVariant = 0; | 2244 core.int buildCounterVariant = 0; |
| 2207 buildVariant() { | 2245 buildVariant() { |
| 2208 var o = new api.Variant(); | 2246 var o = new api.Variant(); |
| 2209 buildCounterVariant++; | 2247 buildCounterVariant++; |
| 2210 if (buildCounterVariant < 3) { | 2248 if (buildCounterVariant < 3) { |
| 2211 o.alternateBases = buildUnnamed2327(); | 2249 o.alternateBases = buildUnnamed2649(); |
| 2212 o.calls = buildUnnamed2328(); | 2250 o.calls = buildUnnamed2650(); |
| 2213 o.created = "foo"; | 2251 o.created = "foo"; |
| 2214 o.end = "foo"; | 2252 o.end = "foo"; |
| 2215 o.filter = buildUnnamed2329(); | 2253 o.filter = buildUnnamed2651(); |
| 2216 o.id = "foo"; | 2254 o.id = "foo"; |
| 2217 o.info = buildUnnamed2331(); | 2255 o.info = buildUnnamed2653(); |
| 2218 o.names = buildUnnamed2332(); | 2256 o.names = buildUnnamed2654(); |
| 2219 o.quality = 42.0; | 2257 o.quality = 42.0; |
| 2220 o.referenceBases = "foo"; | 2258 o.referenceBases = "foo"; |
| 2221 o.referenceName = "foo"; | 2259 o.referenceName = "foo"; |
| 2222 o.start = "foo"; | 2260 o.start = "foo"; |
| 2223 o.variantSetId = "foo"; | 2261 o.variantSetId = "foo"; |
| 2224 } | 2262 } |
| 2225 buildCounterVariant--; | 2263 buildCounterVariant--; |
| 2226 return o; | 2264 return o; |
| 2227 } | 2265 } |
| 2228 | 2266 |
| 2229 checkVariant(api.Variant o) { | 2267 checkVariant(api.Variant o) { |
| 2230 buildCounterVariant++; | 2268 buildCounterVariant++; |
| 2231 if (buildCounterVariant < 3) { | 2269 if (buildCounterVariant < 3) { |
| 2232 checkUnnamed2327(o.alternateBases); | 2270 checkUnnamed2649(o.alternateBases); |
| 2233 checkUnnamed2328(o.calls); | 2271 checkUnnamed2650(o.calls); |
| 2234 unittest.expect(o.created, unittest.equals('foo')); | 2272 unittest.expect(o.created, unittest.equals('foo')); |
| 2235 unittest.expect(o.end, unittest.equals('foo')); | 2273 unittest.expect(o.end, unittest.equals('foo')); |
| 2236 checkUnnamed2329(o.filter); | 2274 checkUnnamed2651(o.filter); |
| 2237 unittest.expect(o.id, unittest.equals('foo')); | 2275 unittest.expect(o.id, unittest.equals('foo')); |
| 2238 checkUnnamed2331(o.info); | 2276 checkUnnamed2653(o.info); |
| 2239 checkUnnamed2332(o.names); | 2277 checkUnnamed2654(o.names); |
| 2240 unittest.expect(o.quality, unittest.equals(42.0)); | 2278 unittest.expect(o.quality, unittest.equals(42.0)); |
| 2241 unittest.expect(o.referenceBases, unittest.equals('foo')); | 2279 unittest.expect(o.referenceBases, unittest.equals('foo')); |
| 2242 unittest.expect(o.referenceName, unittest.equals('foo')); | 2280 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 2243 unittest.expect(o.start, unittest.equals('foo')); | 2281 unittest.expect(o.start, unittest.equals('foo')); |
| 2244 unittest.expect(o.variantSetId, unittest.equals('foo')); | 2282 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 2245 } | 2283 } |
| 2246 buildCounterVariant--; | 2284 buildCounterVariant--; |
| 2247 } | 2285 } |
| 2248 | 2286 |
| 2249 buildUnnamed2333() { | 2287 buildUnnamed2655() { |
| 2250 var o = new core.List<core.int>(); | 2288 var o = new core.List<core.int>(); |
| 2251 o.add(42); | 2289 o.add(42); |
| 2252 o.add(42); | 2290 o.add(42); |
| 2253 return o; | 2291 return o; |
| 2254 } | 2292 } |
| 2255 | 2293 |
| 2256 checkUnnamed2333(core.List<core.int> o) { | 2294 checkUnnamed2655(core.List<core.int> o) { |
| 2257 unittest.expect(o, unittest.hasLength(2)); | 2295 unittest.expect(o, unittest.hasLength(2)); |
| 2258 unittest.expect(o[0], unittest.equals(42)); | 2296 unittest.expect(o[0], unittest.equals(42)); |
| 2259 unittest.expect(o[1], unittest.equals(42)); | 2297 unittest.expect(o[1], unittest.equals(42)); |
| 2260 } | 2298 } |
| 2261 | 2299 |
| 2262 buildUnnamed2334() { | 2300 buildUnnamed2656() { |
| 2263 var o = new core.List<core.double>(); | 2301 var o = new core.List<core.double>(); |
| 2264 o.add(42.0); | 2302 o.add(42.0); |
| 2265 o.add(42.0); | 2303 o.add(42.0); |
| 2266 return o; | 2304 return o; |
| 2267 } | 2305 } |
| 2268 | 2306 |
| 2269 checkUnnamed2334(core.List<core.double> o) { | 2307 checkUnnamed2656(core.List<core.double> o) { |
| 2270 unittest.expect(o, unittest.hasLength(2)); | 2308 unittest.expect(o, unittest.hasLength(2)); |
| 2271 unittest.expect(o[0], unittest.equals(42.0)); | 2309 unittest.expect(o[0], unittest.equals(42.0)); |
| 2272 unittest.expect(o[1], unittest.equals(42.0)); | 2310 unittest.expect(o[1], unittest.equals(42.0)); |
| 2273 } | 2311 } |
| 2274 | 2312 |
| 2275 buildUnnamed2335() { | 2313 buildUnnamed2657() { |
| 2276 var o = new core.List<core.Object>(); | 2314 var o = new core.List<core.Object>(); |
| 2277 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2315 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2278 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2316 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2279 return o; | 2317 return o; |
| 2280 } | 2318 } |
| 2281 | 2319 |
| 2282 checkUnnamed2335(core.List<core.Object> o) { | 2320 checkUnnamed2657(core.List<core.Object> o) { |
| 2283 unittest.expect(o, unittest.hasLength(2)); | 2321 unittest.expect(o, unittest.hasLength(2)); |
| 2284 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')); | 2322 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')); |
| 2285 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')); | 2323 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')); |
| 2286 } | 2324 } |
| 2287 | 2325 |
| 2288 buildUnnamed2336() { | 2326 buildUnnamed2658() { |
| 2289 var o = new core.Map<core.String, core.List<core.Object>>(); | 2327 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 2290 o["x"] = buildUnnamed2335(); | 2328 o["x"] = buildUnnamed2657(); |
| 2291 o["y"] = buildUnnamed2335(); | 2329 o["y"] = buildUnnamed2657(); |
| 2292 return o; | 2330 return o; |
| 2293 } | 2331 } |
| 2294 | 2332 |
| 2295 checkUnnamed2336(core.Map<core.String, core.List<core.Object>> o) { | 2333 checkUnnamed2658(core.Map<core.String, core.List<core.Object>> o) { |
| 2296 unittest.expect(o, unittest.hasLength(2)); | 2334 unittest.expect(o, unittest.hasLength(2)); |
| 2297 checkUnnamed2335(o["x"]); | 2335 checkUnnamed2657(o["x"]); |
| 2298 checkUnnamed2335(o["y"]); | 2336 checkUnnamed2657(o["y"]); |
| 2299 } | 2337 } |
| 2300 | 2338 |
| 2301 core.int buildCounterVariantCall = 0; | 2339 core.int buildCounterVariantCall = 0; |
| 2302 buildVariantCall() { | 2340 buildVariantCall() { |
| 2303 var o = new api.VariantCall(); | 2341 var o = new api.VariantCall(); |
| 2304 buildCounterVariantCall++; | 2342 buildCounterVariantCall++; |
| 2305 if (buildCounterVariantCall < 3) { | 2343 if (buildCounterVariantCall < 3) { |
| 2306 o.callSetId = "foo"; | 2344 o.callSetId = "foo"; |
| 2307 o.callSetName = "foo"; | 2345 o.callSetName = "foo"; |
| 2308 o.genotype = buildUnnamed2333(); | 2346 o.genotype = buildUnnamed2655(); |
| 2309 o.genotypeLikelihood = buildUnnamed2334(); | 2347 o.genotypeLikelihood = buildUnnamed2656(); |
| 2310 o.info = buildUnnamed2336(); | 2348 o.info = buildUnnamed2658(); |
| 2311 o.phaseset = "foo"; | 2349 o.phaseset = "foo"; |
| 2312 } | 2350 } |
| 2313 buildCounterVariantCall--; | 2351 buildCounterVariantCall--; |
| 2314 return o; | 2352 return o; |
| 2315 } | 2353 } |
| 2316 | 2354 |
| 2317 checkVariantCall(api.VariantCall o) { | 2355 checkVariantCall(api.VariantCall o) { |
| 2318 buildCounterVariantCall++; | 2356 buildCounterVariantCall++; |
| 2319 if (buildCounterVariantCall < 3) { | 2357 if (buildCounterVariantCall < 3) { |
| 2320 unittest.expect(o.callSetId, unittest.equals('foo')); | 2358 unittest.expect(o.callSetId, unittest.equals('foo')); |
| 2321 unittest.expect(o.callSetName, unittest.equals('foo')); | 2359 unittest.expect(o.callSetName, unittest.equals('foo')); |
| 2322 checkUnnamed2333(o.genotype); | 2360 checkUnnamed2655(o.genotype); |
| 2323 checkUnnamed2334(o.genotypeLikelihood); | 2361 checkUnnamed2656(o.genotypeLikelihood); |
| 2324 checkUnnamed2336(o.info); | 2362 checkUnnamed2658(o.info); |
| 2325 unittest.expect(o.phaseset, unittest.equals('foo')); | 2363 unittest.expect(o.phaseset, unittest.equals('foo')); |
| 2326 } | 2364 } |
| 2327 buildCounterVariantCall--; | 2365 buildCounterVariantCall--; |
| 2328 } | 2366 } |
| 2329 | 2367 |
| 2330 buildUnnamed2337() { | 2368 buildUnnamed2659() { |
| 2331 var o = new core.List<api.VariantSetMetadata>(); | 2369 var o = new core.List<api.VariantSetMetadata>(); |
| 2332 o.add(buildVariantSetMetadata()); | 2370 o.add(buildVariantSetMetadata()); |
| 2333 o.add(buildVariantSetMetadata()); | 2371 o.add(buildVariantSetMetadata()); |
| 2334 return o; | 2372 return o; |
| 2335 } | 2373 } |
| 2336 | 2374 |
| 2337 checkUnnamed2337(core.List<api.VariantSetMetadata> o) { | 2375 checkUnnamed2659(core.List<api.VariantSetMetadata> o) { |
| 2338 unittest.expect(o, unittest.hasLength(2)); | 2376 unittest.expect(o, unittest.hasLength(2)); |
| 2339 checkVariantSetMetadata(o[0]); | 2377 checkVariantSetMetadata(o[0]); |
| 2340 checkVariantSetMetadata(o[1]); | 2378 checkVariantSetMetadata(o[1]); |
| 2341 } | 2379 } |
| 2342 | 2380 |
| 2343 buildUnnamed2338() { | 2381 buildUnnamed2660() { |
| 2344 var o = new core.List<api.ReferenceBound>(); | 2382 var o = new core.List<api.ReferenceBound>(); |
| 2345 o.add(buildReferenceBound()); | 2383 o.add(buildReferenceBound()); |
| 2346 o.add(buildReferenceBound()); | 2384 o.add(buildReferenceBound()); |
| 2347 return o; | 2385 return o; |
| 2348 } | 2386 } |
| 2349 | 2387 |
| 2350 checkUnnamed2338(core.List<api.ReferenceBound> o) { | 2388 checkUnnamed2660(core.List<api.ReferenceBound> o) { |
| 2351 unittest.expect(o, unittest.hasLength(2)); | 2389 unittest.expect(o, unittest.hasLength(2)); |
| 2352 checkReferenceBound(o[0]); | 2390 checkReferenceBound(o[0]); |
| 2353 checkReferenceBound(o[1]); | 2391 checkReferenceBound(o[1]); |
| 2354 } | 2392 } |
| 2355 | 2393 |
| 2356 core.int buildCounterVariantSet = 0; | 2394 core.int buildCounterVariantSet = 0; |
| 2357 buildVariantSet() { | 2395 buildVariantSet() { |
| 2358 var o = new api.VariantSet(); | 2396 var o = new api.VariantSet(); |
| 2359 buildCounterVariantSet++; | 2397 buildCounterVariantSet++; |
| 2360 if (buildCounterVariantSet < 3) { | 2398 if (buildCounterVariantSet < 3) { |
| 2361 o.datasetId = "foo"; | 2399 o.datasetId = "foo"; |
| 2362 o.id = "foo"; | 2400 o.id = "foo"; |
| 2363 o.metadata = buildUnnamed2337(); | 2401 o.metadata = buildUnnamed2659(); |
| 2364 o.referenceBounds = buildUnnamed2338(); | 2402 o.referenceBounds = buildUnnamed2660(); |
| 2365 o.referenceSetId = "foo"; | 2403 o.referenceSetId = "foo"; |
| 2366 } | 2404 } |
| 2367 buildCounterVariantSet--; | 2405 buildCounterVariantSet--; |
| 2368 return o; | 2406 return o; |
| 2369 } | 2407 } |
| 2370 | 2408 |
| 2371 checkVariantSet(api.VariantSet o) { | 2409 checkVariantSet(api.VariantSet o) { |
| 2372 buildCounterVariantSet++; | 2410 buildCounterVariantSet++; |
| 2373 if (buildCounterVariantSet < 3) { | 2411 if (buildCounterVariantSet < 3) { |
| 2374 unittest.expect(o.datasetId, unittest.equals('foo')); | 2412 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 2375 unittest.expect(o.id, unittest.equals('foo')); | 2413 unittest.expect(o.id, unittest.equals('foo')); |
| 2376 checkUnnamed2337(o.metadata); | 2414 checkUnnamed2659(o.metadata); |
| 2377 checkUnnamed2338(o.referenceBounds); | 2415 checkUnnamed2660(o.referenceBounds); |
| 2378 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 2416 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 2379 } | 2417 } |
| 2380 buildCounterVariantSet--; | 2418 buildCounterVariantSet--; |
| 2381 } | 2419 } |
| 2382 | 2420 |
| 2383 buildUnnamed2339() { | 2421 buildUnnamed2661() { |
| 2384 var o = new core.List<core.Object>(); | 2422 var o = new core.List<core.Object>(); |
| 2385 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2423 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2386 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2424 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2387 return o; | 2425 return o; |
| 2388 } | 2426 } |
| 2389 | 2427 |
| 2390 checkUnnamed2339(core.List<core.Object> o) { | 2428 checkUnnamed2661(core.List<core.Object> o) { |
| 2391 unittest.expect(o, unittest.hasLength(2)); | 2429 unittest.expect(o, unittest.hasLength(2)); |
| 2392 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')); | 2430 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')); |
| 2393 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')); | 2431 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')); |
| 2394 } | 2432 } |
| 2395 | 2433 |
| 2396 buildUnnamed2340() { | 2434 buildUnnamed2662() { |
| 2397 var o = new core.Map<core.String, core.List<core.Object>>(); | 2435 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 2398 o["x"] = buildUnnamed2339(); | 2436 o["x"] = buildUnnamed2661(); |
| 2399 o["y"] = buildUnnamed2339(); | 2437 o["y"] = buildUnnamed2661(); |
| 2400 return o; | 2438 return o; |
| 2401 } | 2439 } |
| 2402 | 2440 |
| 2403 checkUnnamed2340(core.Map<core.String, core.List<core.Object>> o) { | 2441 checkUnnamed2662(core.Map<core.String, core.List<core.Object>> o) { |
| 2404 unittest.expect(o, unittest.hasLength(2)); | 2442 unittest.expect(o, unittest.hasLength(2)); |
| 2405 checkUnnamed2339(o["x"]); | 2443 checkUnnamed2661(o["x"]); |
| 2406 checkUnnamed2339(o["y"]); | 2444 checkUnnamed2661(o["y"]); |
| 2407 } | 2445 } |
| 2408 | 2446 |
| 2409 core.int buildCounterVariantSetMetadata = 0; | 2447 core.int buildCounterVariantSetMetadata = 0; |
| 2410 buildVariantSetMetadata() { | 2448 buildVariantSetMetadata() { |
| 2411 var o = new api.VariantSetMetadata(); | 2449 var o = new api.VariantSetMetadata(); |
| 2412 buildCounterVariantSetMetadata++; | 2450 buildCounterVariantSetMetadata++; |
| 2413 if (buildCounterVariantSetMetadata < 3) { | 2451 if (buildCounterVariantSetMetadata < 3) { |
| 2414 o.description = "foo"; | 2452 o.description = "foo"; |
| 2415 o.id = "foo"; | 2453 o.id = "foo"; |
| 2416 o.info = buildUnnamed2340(); | 2454 o.info = buildUnnamed2662(); |
| 2417 o.key = "foo"; | 2455 o.key = "foo"; |
| 2418 o.number = "foo"; | 2456 o.number = "foo"; |
| 2419 o.type = "foo"; | 2457 o.type = "foo"; |
| 2420 o.value = "foo"; | 2458 o.value = "foo"; |
| 2421 } | 2459 } |
| 2422 buildCounterVariantSetMetadata--; | 2460 buildCounterVariantSetMetadata--; |
| 2423 return o; | 2461 return o; |
| 2424 } | 2462 } |
| 2425 | 2463 |
| 2426 checkVariantSetMetadata(api.VariantSetMetadata o) { | 2464 checkVariantSetMetadata(api.VariantSetMetadata o) { |
| 2427 buildCounterVariantSetMetadata++; | 2465 buildCounterVariantSetMetadata++; |
| 2428 if (buildCounterVariantSetMetadata < 3) { | 2466 if (buildCounterVariantSetMetadata < 3) { |
| 2429 unittest.expect(o.description, unittest.equals('foo')); | 2467 unittest.expect(o.description, unittest.equals('foo')); |
| 2430 unittest.expect(o.id, unittest.equals('foo')); | 2468 unittest.expect(o.id, unittest.equals('foo')); |
| 2431 checkUnnamed2340(o.info); | 2469 checkUnnamed2662(o.info); |
| 2432 unittest.expect(o.key, unittest.equals('foo')); | 2470 unittest.expect(o.key, unittest.equals('foo')); |
| 2433 unittest.expect(o.number, unittest.equals('foo')); | 2471 unittest.expect(o.number, unittest.equals('foo')); |
| 2434 unittest.expect(o.type, unittest.equals('foo')); | 2472 unittest.expect(o.type, unittest.equals('foo')); |
| 2435 unittest.expect(o.value, unittest.equals('foo')); | 2473 unittest.expect(o.value, unittest.equals('foo')); |
| 2436 } | 2474 } |
| 2437 buildCounterVariantSetMetadata--; | 2475 buildCounterVariantSetMetadata--; |
| 2438 } | 2476 } |
| 2439 | 2477 |
| 2440 | 2478 |
| 2441 main() { | 2479 main() { |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2612 | 2650 |
| 2613 unittest.group("obj-schema-ListOperationsResponse", () { | 2651 unittest.group("obj-schema-ListOperationsResponse", () { |
| 2614 unittest.test("to-json--from-json", () { | 2652 unittest.test("to-json--from-json", () { |
| 2615 var o = buildListOperationsResponse(); | 2653 var o = buildListOperationsResponse(); |
| 2616 var od = new api.ListOperationsResponse.fromJson(o.toJson()); | 2654 var od = new api.ListOperationsResponse.fromJson(o.toJson()); |
| 2617 checkListOperationsResponse(od); | 2655 checkListOperationsResponse(od); |
| 2618 }); | 2656 }); |
| 2619 }); | 2657 }); |
| 2620 | 2658 |
| 2621 | 2659 |
| 2660 unittest.group("obj-schema-MergeVariantsRequest", () { |
| 2661 unittest.test("to-json--from-json", () { |
| 2662 var o = buildMergeVariantsRequest(); |
| 2663 var od = new api.MergeVariantsRequest.fromJson(o.toJson()); |
| 2664 checkMergeVariantsRequest(od); |
| 2665 }); |
| 2666 }); |
| 2667 |
| 2668 |
| 2622 unittest.group("obj-schema-Operation", () { | 2669 unittest.group("obj-schema-Operation", () { |
| 2623 unittest.test("to-json--from-json", () { | 2670 unittest.test("to-json--from-json", () { |
| 2624 var o = buildOperation(); | 2671 var o = buildOperation(); |
| 2625 var od = new api.Operation.fromJson(o.toJson()); | 2672 var od = new api.Operation.fromJson(o.toJson()); |
| 2626 checkOperation(od); | 2673 checkOperation(od); |
| 2627 }); | 2674 }); |
| 2628 }); | 2675 }); |
| 2629 | 2676 |
| 2630 | 2677 |
| 2631 unittest.group("obj-schema-OperationEvent", () { | 2678 unittest.group("obj-schema-OperationEvent", () { |
| (...skipping 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4728 "content-type" : "application/json; charset=utf-8", | 4775 "content-type" : "application/json; charset=utf-8", |
| 4729 }; | 4776 }; |
| 4730 var resp = convert.JSON.encode(buildOperation()); | 4777 var resp = convert.JSON.encode(buildOperation()); |
| 4731 return new async.Future.value(stringResponse(200, h, resp)); | 4778 return new async.Future.value(stringResponse(200, h, resp)); |
| 4732 }), true); | 4779 }), true); |
| 4733 res.import(arg_request).then(unittest.expectAsync(((api.Operation response
) { | 4780 res.import(arg_request).then(unittest.expectAsync(((api.Operation response
) { |
| 4734 checkOperation(response); | 4781 checkOperation(response); |
| 4735 }))); | 4782 }))); |
| 4736 }); | 4783 }); |
| 4737 | 4784 |
| 4785 unittest.test("method--merge", () { |
| 4786 |
| 4787 var mock = new HttpServerMock(); |
| 4788 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; |
| 4789 var arg_request = buildMergeVariantsRequest(); |
| 4790 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4791 var obj = new api.MergeVariantsRequest.fromJson(json); |
| 4792 checkMergeVariantsRequest(obj); |
| 4793 |
| 4794 var path = (req.url).path; |
| 4795 var pathOffset = 0; |
| 4796 var index; |
| 4797 var subPart; |
| 4798 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4799 pathOffset += 1; |
| 4800 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/variants:merge")); |
| 4801 pathOffset += 17; |
| 4802 |
| 4803 var query = (req.url).query; |
| 4804 var queryOffset = 0; |
| 4805 var queryMap = {}; |
| 4806 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4807 parseBool(n) { |
| 4808 if (n == "true") return true; |
| 4809 if (n == "false") return false; |
| 4810 if (n == null) return null; |
| 4811 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4812 } |
| 4813 if (query.length > 0) { |
| 4814 for (var part in query.split("&")) { |
| 4815 var keyvalue = part.split("="); |
| 4816 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4817 } |
| 4818 } |
| 4819 |
| 4820 |
| 4821 var h = { |
| 4822 "content-type" : "application/json; charset=utf-8", |
| 4823 }; |
| 4824 var resp = convert.JSON.encode(buildEmpty()); |
| 4825 return new async.Future.value(stringResponse(200, h, resp)); |
| 4826 }), true); |
| 4827 res.merge(arg_request).then(unittest.expectAsync(((api.Empty response) { |
| 4828 checkEmpty(response); |
| 4829 }))); |
| 4830 }); |
| 4831 |
| 4738 unittest.test("method--patch", () { | 4832 unittest.test("method--patch", () { |
| 4739 | 4833 |
| 4740 var mock = new HttpServerMock(); | 4834 var mock = new HttpServerMock(); |
| 4741 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; | 4835 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; |
| 4742 var arg_request = buildVariant(); | 4836 var arg_request = buildVariant(); |
| 4743 var arg_variantId = "foo"; | 4837 var arg_variantId = "foo"; |
| 4744 var arg_updateMask = "foo"; | 4838 var arg_updateMask = "foo"; |
| 4745 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4839 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4746 var obj = new api.Variant.fromJson(json); | 4840 var obj = new api.Variant.fromJson(json); |
| 4747 checkVariant(obj); | 4841 checkVariant(obj); |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5180 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { | 5274 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { |
| 5181 checkSearchVariantSetsResponse(response); | 5275 checkSearchVariantSetsResponse(response); |
| 5182 }))); | 5276 }))); |
| 5183 }); | 5277 }); |
| 5184 | 5278 |
| 5185 }); | 5279 }); |
| 5186 | 5280 |
| 5187 | 5281 |
| 5188 } | 5282 } |
| 5189 | 5283 |
| OLD | NEW |