OLD | NEW |
1 library googleapis_beta.genomics.v1beta.test; | 1 library googleapis_beta.genomics.v1beta.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 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 | 29 |
30 checkBeacon(api.Beacon o) { | 30 checkBeacon(api.Beacon o) { |
31 buildCounterBeacon++; | 31 buildCounterBeacon++; |
32 if (buildCounterBeacon < 3) { | 32 if (buildCounterBeacon < 3) { |
33 unittest.expect(o.exists, unittest.isTrue); | 33 unittest.expect(o.exists, unittest.isTrue); |
34 } | 34 } |
35 buildCounterBeacon--; | 35 buildCounterBeacon--; |
36 } | 36 } |
37 | 37 |
38 buildUnnamed1150() { | 38 buildUnnamed1172() { |
39 var o = new core.List<core.int>(); | 39 var o = new core.List<core.int>(); |
40 o.add(42); | 40 o.add(42); |
41 o.add(42); | 41 o.add(42); |
42 return o; | 42 return o; |
43 } | 43 } |
44 | 44 |
45 checkUnnamed1150(core.List<core.int> o) { | 45 checkUnnamed1172(core.List<core.int> o) { |
46 unittest.expect(o, unittest.hasLength(2)); | 46 unittest.expect(o, unittest.hasLength(2)); |
47 unittest.expect(o[0], unittest.equals(42)); | 47 unittest.expect(o[0], unittest.equals(42)); |
48 unittest.expect(o[1], unittest.equals(42)); | 48 unittest.expect(o[1], unittest.equals(42)); |
49 } | 49 } |
50 | 50 |
51 buildUnnamed1151() { | 51 buildUnnamed1173() { |
52 var o = new core.List<core.double>(); | 52 var o = new core.List<core.double>(); |
53 o.add(42.0); | 53 o.add(42.0); |
54 o.add(42.0); | 54 o.add(42.0); |
55 return o; | 55 return o; |
56 } | 56 } |
57 | 57 |
58 checkUnnamed1151(core.List<core.double> o) { | 58 checkUnnamed1173(core.List<core.double> o) { |
59 unittest.expect(o, unittest.hasLength(2)); | 59 unittest.expect(o, unittest.hasLength(2)); |
60 unittest.expect(o[0], unittest.equals(42.0)); | 60 unittest.expect(o[0], unittest.equals(42.0)); |
61 unittest.expect(o[1], unittest.equals(42.0)); | 61 unittest.expect(o[1], unittest.equals(42.0)); |
62 } | 62 } |
63 | 63 |
64 buildUnnamed1152() { | 64 buildUnnamed1174() { |
65 var o = new core.List<core.String>(); | 65 var o = new core.List<core.String>(); |
66 o.add("foo"); | 66 o.add("foo"); |
67 o.add("foo"); | 67 o.add("foo"); |
68 return o; | 68 return o; |
69 } | 69 } |
70 | 70 |
71 checkUnnamed1152(core.List<core.String> o) { | 71 checkUnnamed1174(core.List<core.String> o) { |
72 unittest.expect(o, unittest.hasLength(2)); | 72 unittest.expect(o, unittest.hasLength(2)); |
73 unittest.expect(o[0], unittest.equals('foo')); | 73 unittest.expect(o[0], unittest.equals('foo')); |
74 unittest.expect(o[1], unittest.equals('foo')); | 74 unittest.expect(o[1], unittest.equals('foo')); |
75 } | 75 } |
76 | 76 |
77 buildUnnamed1153() { | 77 buildUnnamed1175() { |
78 var o = new core.Map<core.String, core.List<core.String>>(); | 78 var o = new core.Map<core.String, core.List<core.String>>(); |
79 o["x"] = buildUnnamed1152(); | 79 o["x"] = buildUnnamed1174(); |
80 o["y"] = buildUnnamed1152(); | 80 o["y"] = buildUnnamed1174(); |
81 return o; | 81 return o; |
82 } | 82 } |
83 | 83 |
84 checkUnnamed1153(core.Map<core.String, core.List<core.String>> o) { | 84 checkUnnamed1175(core.Map<core.String, core.List<core.String>> o) { |
85 unittest.expect(o, unittest.hasLength(2)); | 85 unittest.expect(o, unittest.hasLength(2)); |
86 checkUnnamed1152(o["x"]); | 86 checkUnnamed1174(o["x"]); |
87 checkUnnamed1152(o["y"]); | 87 checkUnnamed1174(o["y"]); |
88 } | 88 } |
89 | 89 |
90 core.int buildCounterCall = 0; | 90 core.int buildCounterCall = 0; |
91 buildCall() { | 91 buildCall() { |
92 var o = new api.Call(); | 92 var o = new api.Call(); |
93 buildCounterCall++; | 93 buildCounterCall++; |
94 if (buildCounterCall < 3) { | 94 if (buildCounterCall < 3) { |
95 o.callSetId = "foo"; | 95 o.callSetId = "foo"; |
96 o.callSetName = "foo"; | 96 o.callSetName = "foo"; |
97 o.genotype = buildUnnamed1150(); | 97 o.genotype = buildUnnamed1172(); |
98 o.genotypeLikelihood = buildUnnamed1151(); | 98 o.genotypeLikelihood = buildUnnamed1173(); |
99 o.info = buildUnnamed1153(); | 99 o.info = buildUnnamed1175(); |
100 o.phaseset = "foo"; | 100 o.phaseset = "foo"; |
101 } | 101 } |
102 buildCounterCall--; | 102 buildCounterCall--; |
103 return o; | 103 return o; |
104 } | 104 } |
105 | 105 |
106 checkCall(api.Call o) { | 106 checkCall(api.Call o) { |
107 buildCounterCall++; | 107 buildCounterCall++; |
108 if (buildCounterCall < 3) { | 108 if (buildCounterCall < 3) { |
109 unittest.expect(o.callSetId, unittest.equals('foo')); | 109 unittest.expect(o.callSetId, unittest.equals('foo')); |
110 unittest.expect(o.callSetName, unittest.equals('foo')); | 110 unittest.expect(o.callSetName, unittest.equals('foo')); |
111 checkUnnamed1150(o.genotype); | 111 checkUnnamed1172(o.genotype); |
112 checkUnnamed1151(o.genotypeLikelihood); | 112 checkUnnamed1173(o.genotypeLikelihood); |
113 checkUnnamed1153(o.info); | 113 checkUnnamed1175(o.info); |
114 unittest.expect(o.phaseset, unittest.equals('foo')); | 114 unittest.expect(o.phaseset, unittest.equals('foo')); |
115 } | 115 } |
116 buildCounterCall--; | 116 buildCounterCall--; |
117 } | 117 } |
118 | 118 |
119 buildUnnamed1154() { | 119 buildUnnamed1176() { |
120 var o = new core.List<core.String>(); | 120 var o = new core.List<core.String>(); |
121 o.add("foo"); | 121 o.add("foo"); |
122 o.add("foo"); | 122 o.add("foo"); |
123 return o; | 123 return o; |
124 } | 124 } |
125 | 125 |
126 checkUnnamed1154(core.List<core.String> o) { | 126 checkUnnamed1176(core.List<core.String> o) { |
127 unittest.expect(o, unittest.hasLength(2)); | 127 unittest.expect(o, unittest.hasLength(2)); |
128 unittest.expect(o[0], unittest.equals('foo')); | 128 unittest.expect(o[0], unittest.equals('foo')); |
129 unittest.expect(o[1], unittest.equals('foo')); | 129 unittest.expect(o[1], unittest.equals('foo')); |
130 } | 130 } |
131 | 131 |
132 buildUnnamed1155() { | 132 buildUnnamed1177() { |
133 var o = new core.Map<core.String, core.List<core.String>>(); | 133 var o = new core.Map<core.String, core.List<core.String>>(); |
134 o["x"] = buildUnnamed1154(); | 134 o["x"] = buildUnnamed1176(); |
135 o["y"] = buildUnnamed1154(); | 135 o["y"] = buildUnnamed1176(); |
136 return o; | 136 return o; |
137 } | 137 } |
138 | 138 |
139 checkUnnamed1155(core.Map<core.String, core.List<core.String>> o) { | 139 checkUnnamed1177(core.Map<core.String, core.List<core.String>> o) { |
140 unittest.expect(o, unittest.hasLength(2)); | 140 unittest.expect(o, unittest.hasLength(2)); |
141 checkUnnamed1154(o["x"]); | 141 checkUnnamed1176(o["x"]); |
142 checkUnnamed1154(o["y"]); | 142 checkUnnamed1176(o["y"]); |
143 } | 143 } |
144 | 144 |
145 buildUnnamed1156() { | 145 buildUnnamed1178() { |
146 var o = new core.List<core.String>(); | 146 var o = new core.List<core.String>(); |
147 o.add("foo"); | 147 o.add("foo"); |
148 o.add("foo"); | 148 o.add("foo"); |
149 return o; | 149 return o; |
150 } | 150 } |
151 | 151 |
152 checkUnnamed1156(core.List<core.String> o) { | 152 checkUnnamed1178(core.List<core.String> o) { |
153 unittest.expect(o, unittest.hasLength(2)); | 153 unittest.expect(o, unittest.hasLength(2)); |
154 unittest.expect(o[0], unittest.equals('foo')); | 154 unittest.expect(o[0], unittest.equals('foo')); |
155 unittest.expect(o[1], unittest.equals('foo')); | 155 unittest.expect(o[1], unittest.equals('foo')); |
156 } | 156 } |
157 | 157 |
158 core.int buildCounterCallSet = 0; | 158 core.int buildCounterCallSet = 0; |
159 buildCallSet() { | 159 buildCallSet() { |
160 var o = new api.CallSet(); | 160 var o = new api.CallSet(); |
161 buildCounterCallSet++; | 161 buildCounterCallSet++; |
162 if (buildCounterCallSet < 3) { | 162 if (buildCounterCallSet < 3) { |
163 o.created = "foo"; | 163 o.created = "foo"; |
164 o.id = "foo"; | 164 o.id = "foo"; |
165 o.info = buildUnnamed1155(); | 165 o.info = buildUnnamed1177(); |
166 o.name = "foo"; | 166 o.name = "foo"; |
167 o.sampleId = "foo"; | 167 o.sampleId = "foo"; |
168 o.variantSetIds = buildUnnamed1156(); | 168 o.variantSetIds = buildUnnamed1178(); |
169 } | 169 } |
170 buildCounterCallSet--; | 170 buildCounterCallSet--; |
171 return o; | 171 return o; |
172 } | 172 } |
173 | 173 |
174 checkCallSet(api.CallSet o) { | 174 checkCallSet(api.CallSet o) { |
175 buildCounterCallSet++; | 175 buildCounterCallSet++; |
176 if (buildCounterCallSet < 3) { | 176 if (buildCounterCallSet < 3) { |
177 unittest.expect(o.created, unittest.equals('foo')); | 177 unittest.expect(o.created, unittest.equals('foo')); |
178 unittest.expect(o.id, unittest.equals('foo')); | 178 unittest.expect(o.id, unittest.equals('foo')); |
179 checkUnnamed1155(o.info); | 179 checkUnnamed1177(o.info); |
180 unittest.expect(o.name, unittest.equals('foo')); | 180 unittest.expect(o.name, unittest.equals('foo')); |
181 unittest.expect(o.sampleId, unittest.equals('foo')); | 181 unittest.expect(o.sampleId, unittest.equals('foo')); |
182 checkUnnamed1156(o.variantSetIds); | 182 checkUnnamed1178(o.variantSetIds); |
183 } | 183 } |
184 buildCounterCallSet--; | 184 buildCounterCallSet--; |
185 } | 185 } |
186 | 186 |
187 core.int buildCounterCoverageBucket = 0; | 187 core.int buildCounterCoverageBucket = 0; |
188 buildCoverageBucket() { | 188 buildCoverageBucket() { |
189 var o = new api.CoverageBucket(); | 189 var o = new api.CoverageBucket(); |
190 buildCounterCoverageBucket++; | 190 buildCounterCoverageBucket++; |
191 if (buildCounterCoverageBucket < 3) { | 191 if (buildCounterCoverageBucket < 3) { |
192 o.meanCoverage = 42.0; | 192 o.meanCoverage = 42.0; |
(...skipping 30 matching lines...) Expand all Loading... |
223 buildCounterDataset++; | 223 buildCounterDataset++; |
224 if (buildCounterDataset < 3) { | 224 if (buildCounterDataset < 3) { |
225 unittest.expect(o.id, unittest.equals('foo')); | 225 unittest.expect(o.id, unittest.equals('foo')); |
226 unittest.expect(o.isPublic, unittest.isTrue); | 226 unittest.expect(o.isPublic, unittest.isTrue); |
227 unittest.expect(o.name, unittest.equals('foo')); | 227 unittest.expect(o.name, unittest.equals('foo')); |
228 unittest.expect(o.projectId, unittest.equals('foo')); | 228 unittest.expect(o.projectId, unittest.equals('foo')); |
229 } | 229 } |
230 buildCounterDataset--; | 230 buildCounterDataset--; |
231 } | 231 } |
232 | 232 |
233 buildUnnamed1157() { | 233 buildUnnamed1179() { |
234 var o = new core.List<core.String>(); | 234 var o = new core.List<core.String>(); |
235 o.add("foo"); | 235 o.add("foo"); |
236 o.add("foo"); | 236 o.add("foo"); |
237 return o; | 237 return o; |
238 } | 238 } |
239 | 239 |
240 checkUnnamed1157(core.List<core.String> o) { | 240 checkUnnamed1179(core.List<core.String> o) { |
241 unittest.expect(o, unittest.hasLength(2)); | 241 unittest.expect(o, unittest.hasLength(2)); |
242 unittest.expect(o[0], unittest.equals('foo')); | 242 unittest.expect(o[0], unittest.equals('foo')); |
243 unittest.expect(o[1], unittest.equals('foo')); | 243 unittest.expect(o[1], unittest.equals('foo')); |
244 } | 244 } |
245 | 245 |
246 buildUnnamed1158() { | 246 buildUnnamed1180() { |
247 var o = new core.List<core.String>(); | 247 var o = new core.List<core.String>(); |
248 o.add("foo"); | 248 o.add("foo"); |
249 o.add("foo"); | 249 o.add("foo"); |
250 return o; | 250 return o; |
251 } | 251 } |
252 | 252 |
253 checkUnnamed1158(core.List<core.String> o) { | 253 checkUnnamed1180(core.List<core.String> o) { |
254 unittest.expect(o, unittest.hasLength(2)); | 254 unittest.expect(o, unittest.hasLength(2)); |
255 unittest.expect(o[0], unittest.equals('foo')); | 255 unittest.expect(o[0], unittest.equals('foo')); |
256 unittest.expect(o[1], unittest.equals('foo')); | 256 unittest.expect(o[1], unittest.equals('foo')); |
257 } | 257 } |
258 | 258 |
259 core.int buildCounterExperimentalCreateJobRequest = 0; | 259 core.int buildCounterExperimentalCreateJobRequest = 0; |
260 buildExperimentalCreateJobRequest() { | 260 buildExperimentalCreateJobRequest() { |
261 var o = new api.ExperimentalCreateJobRequest(); | 261 var o = new api.ExperimentalCreateJobRequest(); |
262 buildCounterExperimentalCreateJobRequest++; | 262 buildCounterExperimentalCreateJobRequest++; |
263 if (buildCounterExperimentalCreateJobRequest < 3) { | 263 if (buildCounterExperimentalCreateJobRequest < 3) { |
264 o.align = true; | 264 o.align = true; |
265 o.callVariants = true; | 265 o.callVariants = true; |
266 o.gcsOutputPath = "foo"; | 266 o.gcsOutputPath = "foo"; |
267 o.pairedSourceUris = buildUnnamed1157(); | 267 o.libraryName = "foo"; |
| 268 o.pairedSourceUris = buildUnnamed1179(); |
| 269 o.platformName = "foo"; |
| 270 o.platformUnit = "foo"; |
268 o.projectId = "foo"; | 271 o.projectId = "foo"; |
269 o.sourceUris = buildUnnamed1158(); | 272 o.readGroupId = "foo"; |
| 273 o.sampleName = "foo"; |
| 274 o.sourceUris = buildUnnamed1180(); |
270 } | 275 } |
271 buildCounterExperimentalCreateJobRequest--; | 276 buildCounterExperimentalCreateJobRequest--; |
272 return o; | 277 return o; |
273 } | 278 } |
274 | 279 |
275 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { | 280 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { |
276 buildCounterExperimentalCreateJobRequest++; | 281 buildCounterExperimentalCreateJobRequest++; |
277 if (buildCounterExperimentalCreateJobRequest < 3) { | 282 if (buildCounterExperimentalCreateJobRequest < 3) { |
278 unittest.expect(o.align, unittest.isTrue); | 283 unittest.expect(o.align, unittest.isTrue); |
279 unittest.expect(o.callVariants, unittest.isTrue); | 284 unittest.expect(o.callVariants, unittest.isTrue); |
280 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); | 285 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); |
281 checkUnnamed1157(o.pairedSourceUris); | 286 unittest.expect(o.libraryName, unittest.equals('foo')); |
| 287 checkUnnamed1179(o.pairedSourceUris); |
| 288 unittest.expect(o.platformName, unittest.equals('foo')); |
| 289 unittest.expect(o.platformUnit, unittest.equals('foo')); |
282 unittest.expect(o.projectId, unittest.equals('foo')); | 290 unittest.expect(o.projectId, unittest.equals('foo')); |
283 checkUnnamed1158(o.sourceUris); | 291 unittest.expect(o.readGroupId, unittest.equals('foo')); |
| 292 unittest.expect(o.sampleName, unittest.equals('foo')); |
| 293 checkUnnamed1180(o.sourceUris); |
284 } | 294 } |
285 buildCounterExperimentalCreateJobRequest--; | 295 buildCounterExperimentalCreateJobRequest--; |
286 } | 296 } |
287 | 297 |
288 core.int buildCounterExperimentalCreateJobResponse = 0; | 298 core.int buildCounterExperimentalCreateJobResponse = 0; |
289 buildExperimentalCreateJobResponse() { | 299 buildExperimentalCreateJobResponse() { |
290 var o = new api.ExperimentalCreateJobResponse(); | 300 var o = new api.ExperimentalCreateJobResponse(); |
291 buildCounterExperimentalCreateJobResponse++; | 301 buildCounterExperimentalCreateJobResponse++; |
292 if (buildCounterExperimentalCreateJobResponse < 3) { | 302 if (buildCounterExperimentalCreateJobResponse < 3) { |
293 o.jobId = "foo"; | 303 o.jobId = "foo"; |
294 } | 304 } |
295 buildCounterExperimentalCreateJobResponse--; | 305 buildCounterExperimentalCreateJobResponse--; |
296 return o; | 306 return o; |
297 } | 307 } |
298 | 308 |
299 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { | 309 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { |
300 buildCounterExperimentalCreateJobResponse++; | 310 buildCounterExperimentalCreateJobResponse++; |
301 if (buildCounterExperimentalCreateJobResponse < 3) { | 311 if (buildCounterExperimentalCreateJobResponse < 3) { |
302 unittest.expect(o.jobId, unittest.equals('foo')); | 312 unittest.expect(o.jobId, unittest.equals('foo')); |
303 } | 313 } |
304 buildCounterExperimentalCreateJobResponse--; | 314 buildCounterExperimentalCreateJobResponse--; |
305 } | 315 } |
306 | 316 |
307 buildUnnamed1159() { | 317 buildUnnamed1181() { |
308 var o = new core.List<core.String>(); | 318 var o = new core.List<core.String>(); |
309 o.add("foo"); | 319 o.add("foo"); |
310 o.add("foo"); | 320 o.add("foo"); |
311 return o; | 321 return o; |
312 } | 322 } |
313 | 323 |
314 checkUnnamed1159(core.List<core.String> o) { | 324 checkUnnamed1181(core.List<core.String> o) { |
315 unittest.expect(o, unittest.hasLength(2)); | 325 unittest.expect(o, unittest.hasLength(2)); |
316 unittest.expect(o[0], unittest.equals('foo')); | 326 unittest.expect(o[0], unittest.equals('foo')); |
317 unittest.expect(o[1], unittest.equals('foo')); | 327 unittest.expect(o[1], unittest.equals('foo')); |
318 } | 328 } |
319 | 329 |
320 buildUnnamed1160() { | 330 buildUnnamed1182() { |
321 var o = new core.List<core.String>(); | 331 var o = new core.List<core.String>(); |
322 o.add("foo"); | 332 o.add("foo"); |
323 o.add("foo"); | 333 o.add("foo"); |
324 return o; | 334 return o; |
325 } | 335 } |
326 | 336 |
327 checkUnnamed1160(core.List<core.String> o) { | 337 checkUnnamed1182(core.List<core.String> o) { |
328 unittest.expect(o, unittest.hasLength(2)); | 338 unittest.expect(o, unittest.hasLength(2)); |
329 unittest.expect(o[0], unittest.equals('foo')); | 339 unittest.expect(o[0], unittest.equals('foo')); |
330 unittest.expect(o[1], unittest.equals('foo')); | 340 unittest.expect(o[1], unittest.equals('foo')); |
331 } | 341 } |
332 | 342 |
333 core.int buildCounterExportReadsetsRequest = 0; | 343 core.int buildCounterExportReadsetsRequest = 0; |
334 buildExportReadsetsRequest() { | 344 buildExportReadsetsRequest() { |
335 var o = new api.ExportReadsetsRequest(); | 345 var o = new api.ExportReadsetsRequest(); |
336 buildCounterExportReadsetsRequest++; | 346 buildCounterExportReadsetsRequest++; |
337 if (buildCounterExportReadsetsRequest < 3) { | 347 if (buildCounterExportReadsetsRequest < 3) { |
338 o.exportUri = "foo"; | 348 o.exportUri = "foo"; |
339 o.projectId = "foo"; | 349 o.projectId = "foo"; |
340 o.readsetIds = buildUnnamed1159(); | 350 o.readsetIds = buildUnnamed1181(); |
341 o.referenceNames = buildUnnamed1160(); | 351 o.referenceNames = buildUnnamed1182(); |
342 } | 352 } |
343 buildCounterExportReadsetsRequest--; | 353 buildCounterExportReadsetsRequest--; |
344 return o; | 354 return o; |
345 } | 355 } |
346 | 356 |
347 checkExportReadsetsRequest(api.ExportReadsetsRequest o) { | 357 checkExportReadsetsRequest(api.ExportReadsetsRequest o) { |
348 buildCounterExportReadsetsRequest++; | 358 buildCounterExportReadsetsRequest++; |
349 if (buildCounterExportReadsetsRequest < 3) { | 359 if (buildCounterExportReadsetsRequest < 3) { |
350 unittest.expect(o.exportUri, unittest.equals('foo')); | 360 unittest.expect(o.exportUri, unittest.equals('foo')); |
351 unittest.expect(o.projectId, unittest.equals('foo')); | 361 unittest.expect(o.projectId, unittest.equals('foo')); |
352 checkUnnamed1159(o.readsetIds); | 362 checkUnnamed1181(o.readsetIds); |
353 checkUnnamed1160(o.referenceNames); | 363 checkUnnamed1182(o.referenceNames); |
354 } | 364 } |
355 buildCounterExportReadsetsRequest--; | 365 buildCounterExportReadsetsRequest--; |
356 } | 366 } |
357 | 367 |
358 core.int buildCounterExportReadsetsResponse = 0; | 368 core.int buildCounterExportReadsetsResponse = 0; |
359 buildExportReadsetsResponse() { | 369 buildExportReadsetsResponse() { |
360 var o = new api.ExportReadsetsResponse(); | 370 var o = new api.ExportReadsetsResponse(); |
361 buildCounterExportReadsetsResponse++; | 371 buildCounterExportReadsetsResponse++; |
362 if (buildCounterExportReadsetsResponse < 3) { | 372 if (buildCounterExportReadsetsResponse < 3) { |
363 o.jobId = "foo"; | 373 o.jobId = "foo"; |
364 } | 374 } |
365 buildCounterExportReadsetsResponse--; | 375 buildCounterExportReadsetsResponse--; |
366 return o; | 376 return o; |
367 } | 377 } |
368 | 378 |
369 checkExportReadsetsResponse(api.ExportReadsetsResponse o) { | 379 checkExportReadsetsResponse(api.ExportReadsetsResponse o) { |
370 buildCounterExportReadsetsResponse++; | 380 buildCounterExportReadsetsResponse++; |
371 if (buildCounterExportReadsetsResponse < 3) { | 381 if (buildCounterExportReadsetsResponse < 3) { |
372 unittest.expect(o.jobId, unittest.equals('foo')); | 382 unittest.expect(o.jobId, unittest.equals('foo')); |
373 } | 383 } |
374 buildCounterExportReadsetsResponse--; | 384 buildCounterExportReadsetsResponse--; |
375 } | 385 } |
376 | 386 |
377 buildUnnamed1161() { | 387 buildUnnamed1183() { |
378 var o = new core.List<core.String>(); | 388 var o = new core.List<core.String>(); |
379 o.add("foo"); | 389 o.add("foo"); |
380 o.add("foo"); | 390 o.add("foo"); |
381 return o; | 391 return o; |
382 } | 392 } |
383 | 393 |
384 checkUnnamed1161(core.List<core.String> o) { | 394 checkUnnamed1183(core.List<core.String> o) { |
385 unittest.expect(o, unittest.hasLength(2)); | 395 unittest.expect(o, unittest.hasLength(2)); |
386 unittest.expect(o[0], unittest.equals('foo')); | 396 unittest.expect(o[0], unittest.equals('foo')); |
387 unittest.expect(o[1], unittest.equals('foo')); | 397 unittest.expect(o[1], unittest.equals('foo')); |
388 } | 398 } |
389 | 399 |
390 core.int buildCounterExportVariantsRequest = 0; | 400 core.int buildCounterExportVariantsRequest = 0; |
391 buildExportVariantsRequest() { | 401 buildExportVariantsRequest() { |
392 var o = new api.ExportVariantsRequest(); | 402 var o = new api.ExportVariantsRequest(); |
393 buildCounterExportVariantsRequest++; | 403 buildCounterExportVariantsRequest++; |
394 if (buildCounterExportVariantsRequest < 3) { | 404 if (buildCounterExportVariantsRequest < 3) { |
395 o.bigqueryDataset = "foo"; | 405 o.bigqueryDataset = "foo"; |
396 o.bigqueryTable = "foo"; | 406 o.bigqueryTable = "foo"; |
397 o.callSetIds = buildUnnamed1161(); | 407 o.callSetIds = buildUnnamed1183(); |
398 o.format = "foo"; | 408 o.format = "foo"; |
399 o.projectId = "foo"; | 409 o.projectId = "foo"; |
400 o.variantSetId = "foo"; | 410 o.variantSetId = "foo"; |
401 } | 411 } |
402 buildCounterExportVariantsRequest--; | 412 buildCounterExportVariantsRequest--; |
403 return o; | 413 return o; |
404 } | 414 } |
405 | 415 |
406 checkExportVariantsRequest(api.ExportVariantsRequest o) { | 416 checkExportVariantsRequest(api.ExportVariantsRequest o) { |
407 buildCounterExportVariantsRequest++; | 417 buildCounterExportVariantsRequest++; |
408 if (buildCounterExportVariantsRequest < 3) { | 418 if (buildCounterExportVariantsRequest < 3) { |
409 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); | 419 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); |
410 unittest.expect(o.bigqueryTable, unittest.equals('foo')); | 420 unittest.expect(o.bigqueryTable, unittest.equals('foo')); |
411 checkUnnamed1161(o.callSetIds); | 421 checkUnnamed1183(o.callSetIds); |
412 unittest.expect(o.format, unittest.equals('foo')); | 422 unittest.expect(o.format, unittest.equals('foo')); |
413 unittest.expect(o.projectId, unittest.equals('foo')); | 423 unittest.expect(o.projectId, unittest.equals('foo')); |
414 unittest.expect(o.variantSetId, unittest.equals('foo')); | 424 unittest.expect(o.variantSetId, unittest.equals('foo')); |
415 } | 425 } |
416 buildCounterExportVariantsRequest--; | 426 buildCounterExportVariantsRequest--; |
417 } | 427 } |
418 | 428 |
419 core.int buildCounterExportVariantsResponse = 0; | 429 core.int buildCounterExportVariantsResponse = 0; |
420 buildExportVariantsResponse() { | 430 buildExportVariantsResponse() { |
421 var o = new api.ExportVariantsResponse(); | 431 var o = new api.ExportVariantsResponse(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 482 |
473 checkHeader(api.Header o) { | 483 checkHeader(api.Header o) { |
474 buildCounterHeader++; | 484 buildCounterHeader++; |
475 if (buildCounterHeader < 3) { | 485 if (buildCounterHeader < 3) { |
476 unittest.expect(o.sortingOrder, unittest.equals('foo')); | 486 unittest.expect(o.sortingOrder, unittest.equals('foo')); |
477 unittest.expect(o.version, unittest.equals('foo')); | 487 unittest.expect(o.version, unittest.equals('foo')); |
478 } | 488 } |
479 buildCounterHeader--; | 489 buildCounterHeader--; |
480 } | 490 } |
481 | 491 |
482 buildUnnamed1162() { | 492 buildUnnamed1184() { |
483 var o = new core.List<core.String>(); | 493 var o = new core.List<core.String>(); |
484 o.add("foo"); | 494 o.add("foo"); |
485 o.add("foo"); | 495 o.add("foo"); |
486 return o; | 496 return o; |
487 } | 497 } |
488 | 498 |
489 checkUnnamed1162(core.List<core.String> o) { | 499 checkUnnamed1184(core.List<core.String> o) { |
490 unittest.expect(o, unittest.hasLength(2)); | 500 unittest.expect(o, unittest.hasLength(2)); |
491 unittest.expect(o[0], unittest.equals('foo')); | 501 unittest.expect(o[0], unittest.equals('foo')); |
492 unittest.expect(o[1], unittest.equals('foo')); | 502 unittest.expect(o[1], unittest.equals('foo')); |
493 } | 503 } |
494 | 504 |
495 buildUnnamed1163() { | 505 buildUnnamed1185() { |
496 var o = new core.List<api.Header>(); | 506 var o = new core.List<api.Header>(); |
497 o.add(buildHeader()); | 507 o.add(buildHeader()); |
498 o.add(buildHeader()); | 508 o.add(buildHeader()); |
499 return o; | 509 return o; |
500 } | 510 } |
501 | 511 |
502 checkUnnamed1163(core.List<api.Header> o) { | 512 checkUnnamed1185(core.List<api.Header> o) { |
503 unittest.expect(o, unittest.hasLength(2)); | 513 unittest.expect(o, unittest.hasLength(2)); |
504 checkHeader(o[0]); | 514 checkHeader(o[0]); |
505 checkHeader(o[1]); | 515 checkHeader(o[1]); |
506 } | 516 } |
507 | 517 |
508 buildUnnamed1164() { | 518 buildUnnamed1186() { |
509 var o = new core.List<api.Program>(); | 519 var o = new core.List<api.Program>(); |
510 o.add(buildProgram()); | 520 o.add(buildProgram()); |
511 o.add(buildProgram()); | 521 o.add(buildProgram()); |
512 return o; | 522 return o; |
513 } | 523 } |
514 | 524 |
515 checkUnnamed1164(core.List<api.Program> o) { | 525 checkUnnamed1186(core.List<api.Program> o) { |
516 unittest.expect(o, unittest.hasLength(2)); | 526 unittest.expect(o, unittest.hasLength(2)); |
517 checkProgram(o[0]); | 527 checkProgram(o[0]); |
518 checkProgram(o[1]); | 528 checkProgram(o[1]); |
519 } | 529 } |
520 | 530 |
521 buildUnnamed1165() { | 531 buildUnnamed1187() { |
522 var o = new core.List<api.ReadGroup>(); | 532 var o = new core.List<api.ReadGroup>(); |
523 o.add(buildReadGroup()); | 533 o.add(buildReadGroup()); |
524 o.add(buildReadGroup()); | 534 o.add(buildReadGroup()); |
525 return o; | 535 return o; |
526 } | 536 } |
527 | 537 |
528 checkUnnamed1165(core.List<api.ReadGroup> o) { | 538 checkUnnamed1187(core.List<api.ReadGroup> o) { |
529 unittest.expect(o, unittest.hasLength(2)); | 539 unittest.expect(o, unittest.hasLength(2)); |
530 checkReadGroup(o[0]); | 540 checkReadGroup(o[0]); |
531 checkReadGroup(o[1]); | 541 checkReadGroup(o[1]); |
532 } | 542 } |
533 | 543 |
534 buildUnnamed1166() { | 544 buildUnnamed1188() { |
535 var o = new core.List<api.ReferenceSequence>(); | 545 var o = new core.List<api.ReferenceSequence>(); |
536 o.add(buildReferenceSequence()); | 546 o.add(buildReferenceSequence()); |
537 o.add(buildReferenceSequence()); | 547 o.add(buildReferenceSequence()); |
538 return o; | 548 return o; |
539 } | 549 } |
540 | 550 |
541 checkUnnamed1166(core.List<api.ReferenceSequence> o) { | 551 checkUnnamed1188(core.List<api.ReferenceSequence> o) { |
542 unittest.expect(o, unittest.hasLength(2)); | 552 unittest.expect(o, unittest.hasLength(2)); |
543 checkReferenceSequence(o[0]); | 553 checkReferenceSequence(o[0]); |
544 checkReferenceSequence(o[1]); | 554 checkReferenceSequence(o[1]); |
545 } | 555 } |
546 | 556 |
547 core.int buildCounterHeaderSection = 0; | 557 core.int buildCounterHeaderSection = 0; |
548 buildHeaderSection() { | 558 buildHeaderSection() { |
549 var o = new api.HeaderSection(); | 559 var o = new api.HeaderSection(); |
550 buildCounterHeaderSection++; | 560 buildCounterHeaderSection++; |
551 if (buildCounterHeaderSection < 3) { | 561 if (buildCounterHeaderSection < 3) { |
552 o.comments = buildUnnamed1162(); | 562 o.comments = buildUnnamed1184(); |
553 o.fileUri = "foo"; | 563 o.fileUri = "foo"; |
554 o.filename = "foo"; | 564 o.filename = "foo"; |
555 o.headers = buildUnnamed1163(); | 565 o.headers = buildUnnamed1185(); |
556 o.programs = buildUnnamed1164(); | 566 o.programs = buildUnnamed1186(); |
557 o.readGroups = buildUnnamed1165(); | 567 o.readGroups = buildUnnamed1187(); |
558 o.refSequences = buildUnnamed1166(); | 568 o.refSequences = buildUnnamed1188(); |
559 } | 569 } |
560 buildCounterHeaderSection--; | 570 buildCounterHeaderSection--; |
561 return o; | 571 return o; |
562 } | 572 } |
563 | 573 |
564 checkHeaderSection(api.HeaderSection o) { | 574 checkHeaderSection(api.HeaderSection o) { |
565 buildCounterHeaderSection++; | 575 buildCounterHeaderSection++; |
566 if (buildCounterHeaderSection < 3) { | 576 if (buildCounterHeaderSection < 3) { |
567 checkUnnamed1162(o.comments); | 577 checkUnnamed1184(o.comments); |
568 unittest.expect(o.fileUri, unittest.equals('foo')); | 578 unittest.expect(o.fileUri, unittest.equals('foo')); |
569 unittest.expect(o.filename, unittest.equals('foo')); | 579 unittest.expect(o.filename, unittest.equals('foo')); |
570 checkUnnamed1163(o.headers); | 580 checkUnnamed1185(o.headers); |
571 checkUnnamed1164(o.programs); | 581 checkUnnamed1186(o.programs); |
572 checkUnnamed1165(o.readGroups); | 582 checkUnnamed1187(o.readGroups); |
573 checkUnnamed1166(o.refSequences); | 583 checkUnnamed1188(o.refSequences); |
574 } | 584 } |
575 buildCounterHeaderSection--; | 585 buildCounterHeaderSection--; |
576 } | 586 } |
577 | 587 |
578 buildUnnamed1167() { | 588 buildUnnamed1189() { |
579 var o = new core.List<core.String>(); | 589 var o = new core.List<core.String>(); |
580 o.add("foo"); | 590 o.add("foo"); |
581 o.add("foo"); | 591 o.add("foo"); |
582 return o; | 592 return o; |
583 } | 593 } |
584 | 594 |
585 checkUnnamed1167(core.List<core.String> o) { | 595 checkUnnamed1189(core.List<core.String> o) { |
586 unittest.expect(o, unittest.hasLength(2)); | 596 unittest.expect(o, unittest.hasLength(2)); |
587 unittest.expect(o[0], unittest.equals('foo')); | 597 unittest.expect(o[0], unittest.equals('foo')); |
588 unittest.expect(o[1], unittest.equals('foo')); | 598 unittest.expect(o[1], unittest.equals('foo')); |
589 } | 599 } |
590 | 600 |
591 core.int buildCounterImportReadsetsRequest = 0; | 601 core.int buildCounterImportReadsetsRequest = 0; |
592 buildImportReadsetsRequest() { | 602 buildImportReadsetsRequest() { |
593 var o = new api.ImportReadsetsRequest(); | 603 var o = new api.ImportReadsetsRequest(); |
594 buildCounterImportReadsetsRequest++; | 604 buildCounterImportReadsetsRequest++; |
595 if (buildCounterImportReadsetsRequest < 3) { | 605 if (buildCounterImportReadsetsRequest < 3) { |
596 o.datasetId = "foo"; | 606 o.datasetId = "foo"; |
597 o.sourceUris = buildUnnamed1167(); | 607 o.sourceUris = buildUnnamed1189(); |
598 } | 608 } |
599 buildCounterImportReadsetsRequest--; | 609 buildCounterImportReadsetsRequest--; |
600 return o; | 610 return o; |
601 } | 611 } |
602 | 612 |
603 checkImportReadsetsRequest(api.ImportReadsetsRequest o) { | 613 checkImportReadsetsRequest(api.ImportReadsetsRequest o) { |
604 buildCounterImportReadsetsRequest++; | 614 buildCounterImportReadsetsRequest++; |
605 if (buildCounterImportReadsetsRequest < 3) { | 615 if (buildCounterImportReadsetsRequest < 3) { |
606 unittest.expect(o.datasetId, unittest.equals('foo')); | 616 unittest.expect(o.datasetId, unittest.equals('foo')); |
607 checkUnnamed1167(o.sourceUris); | 617 checkUnnamed1189(o.sourceUris); |
608 } | 618 } |
609 buildCounterImportReadsetsRequest--; | 619 buildCounterImportReadsetsRequest--; |
610 } | 620 } |
611 | 621 |
612 core.int buildCounterImportReadsetsResponse = 0; | 622 core.int buildCounterImportReadsetsResponse = 0; |
613 buildImportReadsetsResponse() { | 623 buildImportReadsetsResponse() { |
614 var o = new api.ImportReadsetsResponse(); | 624 var o = new api.ImportReadsetsResponse(); |
615 buildCounterImportReadsetsResponse++; | 625 buildCounterImportReadsetsResponse++; |
616 if (buildCounterImportReadsetsResponse < 3) { | 626 if (buildCounterImportReadsetsResponse < 3) { |
617 o.jobId = "foo"; | 627 o.jobId = "foo"; |
618 } | 628 } |
619 buildCounterImportReadsetsResponse--; | 629 buildCounterImportReadsetsResponse--; |
620 return o; | 630 return o; |
621 } | 631 } |
622 | 632 |
623 checkImportReadsetsResponse(api.ImportReadsetsResponse o) { | 633 checkImportReadsetsResponse(api.ImportReadsetsResponse o) { |
624 buildCounterImportReadsetsResponse++; | 634 buildCounterImportReadsetsResponse++; |
625 if (buildCounterImportReadsetsResponse < 3) { | 635 if (buildCounterImportReadsetsResponse < 3) { |
626 unittest.expect(o.jobId, unittest.equals('foo')); | 636 unittest.expect(o.jobId, unittest.equals('foo')); |
627 } | 637 } |
628 buildCounterImportReadsetsResponse--; | 638 buildCounterImportReadsetsResponse--; |
629 } | 639 } |
630 | 640 |
631 buildUnnamed1168() { | 641 buildUnnamed1190() { |
632 var o = new core.List<core.String>(); | 642 var o = new core.List<core.String>(); |
633 o.add("foo"); | 643 o.add("foo"); |
634 o.add("foo"); | 644 o.add("foo"); |
635 return o; | 645 return o; |
636 } | 646 } |
637 | 647 |
638 checkUnnamed1168(core.List<core.String> o) { | 648 checkUnnamed1190(core.List<core.String> o) { |
639 unittest.expect(o, unittest.hasLength(2)); | 649 unittest.expect(o, unittest.hasLength(2)); |
640 unittest.expect(o[0], unittest.equals('foo')); | 650 unittest.expect(o[0], unittest.equals('foo')); |
641 unittest.expect(o[1], unittest.equals('foo')); | 651 unittest.expect(o[1], unittest.equals('foo')); |
642 } | 652 } |
643 | 653 |
644 core.int buildCounterImportVariantsRequest = 0; | 654 core.int buildCounterImportVariantsRequest = 0; |
645 buildImportVariantsRequest() { | 655 buildImportVariantsRequest() { |
646 var o = new api.ImportVariantsRequest(); | 656 var o = new api.ImportVariantsRequest(); |
647 buildCounterImportVariantsRequest++; | 657 buildCounterImportVariantsRequest++; |
648 if (buildCounterImportVariantsRequest < 3) { | 658 if (buildCounterImportVariantsRequest < 3) { |
649 o.format = "foo"; | 659 o.format = "foo"; |
650 o.sourceUris = buildUnnamed1168(); | 660 o.sourceUris = buildUnnamed1190(); |
651 o.variantSetId = "foo"; | 661 o.variantSetId = "foo"; |
652 } | 662 } |
653 buildCounterImportVariantsRequest--; | 663 buildCounterImportVariantsRequest--; |
654 return o; | 664 return o; |
655 } | 665 } |
656 | 666 |
657 checkImportVariantsRequest(api.ImportVariantsRequest o) { | 667 checkImportVariantsRequest(api.ImportVariantsRequest o) { |
658 buildCounterImportVariantsRequest++; | 668 buildCounterImportVariantsRequest++; |
659 if (buildCounterImportVariantsRequest < 3) { | 669 if (buildCounterImportVariantsRequest < 3) { |
660 unittest.expect(o.format, unittest.equals('foo')); | 670 unittest.expect(o.format, unittest.equals('foo')); |
661 checkUnnamed1168(o.sourceUris); | 671 checkUnnamed1190(o.sourceUris); |
662 unittest.expect(o.variantSetId, unittest.equals('foo')); | 672 unittest.expect(o.variantSetId, unittest.equals('foo')); |
663 } | 673 } |
664 buildCounterImportVariantsRequest--; | 674 buildCounterImportVariantsRequest--; |
665 } | 675 } |
666 | 676 |
667 core.int buildCounterImportVariantsResponse = 0; | 677 core.int buildCounterImportVariantsResponse = 0; |
668 buildImportVariantsResponse() { | 678 buildImportVariantsResponse() { |
669 var o = new api.ImportVariantsResponse(); | 679 var o = new api.ImportVariantsResponse(); |
670 buildCounterImportVariantsResponse++; | 680 buildCounterImportVariantsResponse++; |
671 if (buildCounterImportVariantsResponse < 3) { | 681 if (buildCounterImportVariantsResponse < 3) { |
672 o.jobId = "foo"; | 682 o.jobId = "foo"; |
673 } | 683 } |
674 buildCounterImportVariantsResponse--; | 684 buildCounterImportVariantsResponse--; |
675 return o; | 685 return o; |
676 } | 686 } |
677 | 687 |
678 checkImportVariantsResponse(api.ImportVariantsResponse o) { | 688 checkImportVariantsResponse(api.ImportVariantsResponse o) { |
679 buildCounterImportVariantsResponse++; | 689 buildCounterImportVariantsResponse++; |
680 if (buildCounterImportVariantsResponse < 3) { | 690 if (buildCounterImportVariantsResponse < 3) { |
681 unittest.expect(o.jobId, unittest.equals('foo')); | 691 unittest.expect(o.jobId, unittest.equals('foo')); |
682 } | 692 } |
683 buildCounterImportVariantsResponse--; | 693 buildCounterImportVariantsResponse--; |
684 } | 694 } |
685 | 695 |
686 buildUnnamed1169() { | 696 buildUnnamed1191() { |
687 var o = new core.List<core.String>(); | 697 var o = new core.List<core.String>(); |
688 o.add("foo"); | 698 o.add("foo"); |
689 o.add("foo"); | 699 o.add("foo"); |
690 return o; | 700 return o; |
691 } | 701 } |
692 | 702 |
693 checkUnnamed1169(core.List<core.String> o) { | 703 checkUnnamed1191(core.List<core.String> o) { |
694 unittest.expect(o, unittest.hasLength(2)); | 704 unittest.expect(o, unittest.hasLength(2)); |
695 unittest.expect(o[0], unittest.equals('foo')); | 705 unittest.expect(o[0], unittest.equals('foo')); |
696 unittest.expect(o[1], unittest.equals('foo')); | 706 unittest.expect(o[1], unittest.equals('foo')); |
697 } | 707 } |
698 | 708 |
699 buildUnnamed1170() { | 709 buildUnnamed1192() { |
700 var o = new core.List<core.String>(); | 710 var o = new core.List<core.String>(); |
701 o.add("foo"); | 711 o.add("foo"); |
702 o.add("foo"); | 712 o.add("foo"); |
703 return o; | 713 return o; |
704 } | 714 } |
705 | 715 |
706 checkUnnamed1170(core.List<core.String> o) { | 716 checkUnnamed1192(core.List<core.String> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 717 unittest.expect(o, unittest.hasLength(2)); |
708 unittest.expect(o[0], unittest.equals('foo')); | 718 unittest.expect(o[0], unittest.equals('foo')); |
709 unittest.expect(o[1], unittest.equals('foo')); | 719 unittest.expect(o[1], unittest.equals('foo')); |
710 } | 720 } |
711 | 721 |
712 buildUnnamed1171() { | 722 buildUnnamed1193() { |
713 var o = new core.List<core.String>(); | 723 var o = new core.List<core.String>(); |
714 o.add("foo"); | 724 o.add("foo"); |
715 o.add("foo"); | 725 o.add("foo"); |
716 return o; | 726 return o; |
717 } | 727 } |
718 | 728 |
719 checkUnnamed1171(core.List<core.String> o) { | 729 checkUnnamed1193(core.List<core.String> o) { |
720 unittest.expect(o, unittest.hasLength(2)); | 730 unittest.expect(o, unittest.hasLength(2)); |
721 unittest.expect(o[0], unittest.equals('foo')); | 731 unittest.expect(o[0], unittest.equals('foo')); |
722 unittest.expect(o[1], unittest.equals('foo')); | 732 unittest.expect(o[1], unittest.equals('foo')); |
723 } | 733 } |
724 | 734 |
725 core.int buildCounterJob = 0; | 735 core.int buildCounterJob = 0; |
726 buildJob() { | 736 buildJob() { |
727 var o = new api.Job(); | 737 var o = new api.Job(); |
728 buildCounterJob++; | 738 buildCounterJob++; |
729 if (buildCounterJob < 3) { | 739 if (buildCounterJob < 3) { |
730 o.created = "foo"; | 740 o.created = "foo"; |
731 o.description = "foo"; | 741 o.description = "foo"; |
732 o.errors = buildUnnamed1169(); | 742 o.errors = buildUnnamed1191(); |
733 o.id = "foo"; | 743 o.id = "foo"; |
734 o.importedIds = buildUnnamed1170(); | 744 o.importedIds = buildUnnamed1192(); |
735 o.projectId = "foo"; | 745 o.projectId = "foo"; |
736 o.request = buildJobRequest(); | 746 o.request = buildJobRequest(); |
737 o.status = "foo"; | 747 o.status = "foo"; |
738 o.warnings = buildUnnamed1171(); | 748 o.warnings = buildUnnamed1193(); |
739 } | 749 } |
740 buildCounterJob--; | 750 buildCounterJob--; |
741 return o; | 751 return o; |
742 } | 752 } |
743 | 753 |
744 checkJob(api.Job o) { | 754 checkJob(api.Job o) { |
745 buildCounterJob++; | 755 buildCounterJob++; |
746 if (buildCounterJob < 3) { | 756 if (buildCounterJob < 3) { |
747 unittest.expect(o.created, unittest.equals('foo')); | 757 unittest.expect(o.created, unittest.equals('foo')); |
748 unittest.expect(o.description, unittest.equals('foo')); | 758 unittest.expect(o.description, unittest.equals('foo')); |
749 checkUnnamed1169(o.errors); | 759 checkUnnamed1191(o.errors); |
750 unittest.expect(o.id, unittest.equals('foo')); | 760 unittest.expect(o.id, unittest.equals('foo')); |
751 checkUnnamed1170(o.importedIds); | 761 checkUnnamed1192(o.importedIds); |
752 unittest.expect(o.projectId, unittest.equals('foo')); | 762 unittest.expect(o.projectId, unittest.equals('foo')); |
753 checkJobRequest(o.request); | 763 checkJobRequest(o.request); |
754 unittest.expect(o.status, unittest.equals('foo')); | 764 unittest.expect(o.status, unittest.equals('foo')); |
755 checkUnnamed1171(o.warnings); | 765 checkUnnamed1193(o.warnings); |
756 } | 766 } |
757 buildCounterJob--; | 767 buildCounterJob--; |
758 } | 768 } |
759 | 769 |
760 buildUnnamed1172() { | 770 buildUnnamed1194() { |
761 var o = new core.List<core.String>(); | 771 var o = new core.List<core.String>(); |
762 o.add("foo"); | 772 o.add("foo"); |
763 o.add("foo"); | 773 o.add("foo"); |
764 return o; | 774 return o; |
765 } | 775 } |
766 | 776 |
767 checkUnnamed1172(core.List<core.String> o) { | 777 checkUnnamed1194(core.List<core.String> o) { |
768 unittest.expect(o, unittest.hasLength(2)); | 778 unittest.expect(o, unittest.hasLength(2)); |
769 unittest.expect(o[0], unittest.equals('foo')); | 779 unittest.expect(o[0], unittest.equals('foo')); |
770 unittest.expect(o[1], unittest.equals('foo')); | 780 unittest.expect(o[1], unittest.equals('foo')); |
771 } | 781 } |
772 | 782 |
773 buildUnnamed1173() { | 783 buildUnnamed1195() { |
774 var o = new core.List<core.String>(); | 784 var o = new core.List<core.String>(); |
775 o.add("foo"); | 785 o.add("foo"); |
776 o.add("foo"); | 786 o.add("foo"); |
777 return o; | 787 return o; |
778 } | 788 } |
779 | 789 |
780 checkUnnamed1173(core.List<core.String> o) { | 790 checkUnnamed1195(core.List<core.String> o) { |
781 unittest.expect(o, unittest.hasLength(2)); | 791 unittest.expect(o, unittest.hasLength(2)); |
782 unittest.expect(o[0], unittest.equals('foo')); | 792 unittest.expect(o[0], unittest.equals('foo')); |
783 unittest.expect(o[1], unittest.equals('foo')); | 793 unittest.expect(o[1], unittest.equals('foo')); |
784 } | 794 } |
785 | 795 |
786 core.int buildCounterJobRequest = 0; | 796 core.int buildCounterJobRequest = 0; |
787 buildJobRequest() { | 797 buildJobRequest() { |
788 var o = new api.JobRequest(); | 798 var o = new api.JobRequest(); |
789 buildCounterJobRequest++; | 799 buildCounterJobRequest++; |
790 if (buildCounterJobRequest < 3) { | 800 if (buildCounterJobRequest < 3) { |
791 o.destination = buildUnnamed1172(); | 801 o.destination = buildUnnamed1194(); |
792 o.source = buildUnnamed1173(); | 802 o.source = buildUnnamed1195(); |
793 o.type = "foo"; | 803 o.type = "foo"; |
794 } | 804 } |
795 buildCounterJobRequest--; | 805 buildCounterJobRequest--; |
796 return o; | 806 return o; |
797 } | 807 } |
798 | 808 |
799 checkJobRequest(api.JobRequest o) { | 809 checkJobRequest(api.JobRequest o) { |
800 buildCounterJobRequest++; | 810 buildCounterJobRequest++; |
801 if (buildCounterJobRequest < 3) { | 811 if (buildCounterJobRequest < 3) { |
802 checkUnnamed1172(o.destination); | 812 checkUnnamed1194(o.destination); |
803 checkUnnamed1173(o.source); | 813 checkUnnamed1195(o.source); |
804 unittest.expect(o.type, unittest.equals('foo')); | 814 unittest.expect(o.type, unittest.equals('foo')); |
805 } | 815 } |
806 buildCounterJobRequest--; | 816 buildCounterJobRequest--; |
807 } | 817 } |
808 | 818 |
809 buildUnnamed1174() { | 819 buildUnnamed1196() { |
810 var o = new core.List<api.CoverageBucket>(); | 820 var o = new core.List<api.CoverageBucket>(); |
811 o.add(buildCoverageBucket()); | 821 o.add(buildCoverageBucket()); |
812 o.add(buildCoverageBucket()); | 822 o.add(buildCoverageBucket()); |
813 return o; | 823 return o; |
814 } | 824 } |
815 | 825 |
816 checkUnnamed1174(core.List<api.CoverageBucket> o) { | 826 checkUnnamed1196(core.List<api.CoverageBucket> o) { |
817 unittest.expect(o, unittest.hasLength(2)); | 827 unittest.expect(o, unittest.hasLength(2)); |
818 checkCoverageBucket(o[0]); | 828 checkCoverageBucket(o[0]); |
819 checkCoverageBucket(o[1]); | 829 checkCoverageBucket(o[1]); |
820 } | 830 } |
821 | 831 |
822 core.int buildCounterListCoverageBucketsResponse = 0; | 832 core.int buildCounterListCoverageBucketsResponse = 0; |
823 buildListCoverageBucketsResponse() { | 833 buildListCoverageBucketsResponse() { |
824 var o = new api.ListCoverageBucketsResponse(); | 834 var o = new api.ListCoverageBucketsResponse(); |
825 buildCounterListCoverageBucketsResponse++; | 835 buildCounterListCoverageBucketsResponse++; |
826 if (buildCounterListCoverageBucketsResponse < 3) { | 836 if (buildCounterListCoverageBucketsResponse < 3) { |
827 o.bucketWidth = "foo"; | 837 o.bucketWidth = "foo"; |
828 o.coverageBuckets = buildUnnamed1174(); | 838 o.coverageBuckets = buildUnnamed1196(); |
829 o.nextPageToken = "foo"; | 839 o.nextPageToken = "foo"; |
830 } | 840 } |
831 buildCounterListCoverageBucketsResponse--; | 841 buildCounterListCoverageBucketsResponse--; |
832 return o; | 842 return o; |
833 } | 843 } |
834 | 844 |
835 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { | 845 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { |
836 buildCounterListCoverageBucketsResponse++; | 846 buildCounterListCoverageBucketsResponse++; |
837 if (buildCounterListCoverageBucketsResponse < 3) { | 847 if (buildCounterListCoverageBucketsResponse < 3) { |
838 unittest.expect(o.bucketWidth, unittest.equals('foo')); | 848 unittest.expect(o.bucketWidth, unittest.equals('foo')); |
839 checkUnnamed1174(o.coverageBuckets); | 849 checkUnnamed1196(o.coverageBuckets); |
840 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 850 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
841 } | 851 } |
842 buildCounterListCoverageBucketsResponse--; | 852 buildCounterListCoverageBucketsResponse--; |
843 } | 853 } |
844 | 854 |
845 buildUnnamed1175() { | 855 buildUnnamed1197() { |
846 var o = new core.List<api.Dataset>(); | 856 var o = new core.List<api.Dataset>(); |
847 o.add(buildDataset()); | 857 o.add(buildDataset()); |
848 o.add(buildDataset()); | 858 o.add(buildDataset()); |
849 return o; | 859 return o; |
850 } | 860 } |
851 | 861 |
852 checkUnnamed1175(core.List<api.Dataset> o) { | 862 checkUnnamed1197(core.List<api.Dataset> o) { |
853 unittest.expect(o, unittest.hasLength(2)); | 863 unittest.expect(o, unittest.hasLength(2)); |
854 checkDataset(o[0]); | 864 checkDataset(o[0]); |
855 checkDataset(o[1]); | 865 checkDataset(o[1]); |
856 } | 866 } |
857 | 867 |
858 core.int buildCounterListDatasetsResponse = 0; | 868 core.int buildCounterListDatasetsResponse = 0; |
859 buildListDatasetsResponse() { | 869 buildListDatasetsResponse() { |
860 var o = new api.ListDatasetsResponse(); | 870 var o = new api.ListDatasetsResponse(); |
861 buildCounterListDatasetsResponse++; | 871 buildCounterListDatasetsResponse++; |
862 if (buildCounterListDatasetsResponse < 3) { | 872 if (buildCounterListDatasetsResponse < 3) { |
863 o.datasets = buildUnnamed1175(); | 873 o.datasets = buildUnnamed1197(); |
864 o.nextPageToken = "foo"; | 874 o.nextPageToken = "foo"; |
865 } | 875 } |
866 buildCounterListDatasetsResponse--; | 876 buildCounterListDatasetsResponse--; |
867 return o; | 877 return o; |
868 } | 878 } |
869 | 879 |
870 checkListDatasetsResponse(api.ListDatasetsResponse o) { | 880 checkListDatasetsResponse(api.ListDatasetsResponse o) { |
871 buildCounterListDatasetsResponse++; | 881 buildCounterListDatasetsResponse++; |
872 if (buildCounterListDatasetsResponse < 3) { | 882 if (buildCounterListDatasetsResponse < 3) { |
873 checkUnnamed1175(o.datasets); | 883 checkUnnamed1197(o.datasets); |
874 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 884 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
875 } | 885 } |
876 buildCounterListDatasetsResponse--; | 886 buildCounterListDatasetsResponse--; |
877 } | 887 } |
878 | 888 |
879 buildUnnamed1176() { | 889 buildUnnamed1198() { |
880 var o = new core.List<core.String>(); | 890 var o = new core.List<core.String>(); |
881 o.add("foo"); | 891 o.add("foo"); |
882 o.add("foo"); | 892 o.add("foo"); |
883 return o; | 893 return o; |
884 } | 894 } |
885 | 895 |
886 checkUnnamed1176(core.List<core.String> o) { | 896 checkUnnamed1198(core.List<core.String> o) { |
887 unittest.expect(o, unittest.hasLength(2)); | 897 unittest.expect(o, unittest.hasLength(2)); |
888 unittest.expect(o[0], unittest.equals('foo')); | 898 unittest.expect(o[0], unittest.equals('foo')); |
889 unittest.expect(o[1], unittest.equals('foo')); | 899 unittest.expect(o[1], unittest.equals('foo')); |
890 } | 900 } |
891 | 901 |
892 buildUnnamed1177() { | 902 buildUnnamed1199() { |
893 var o = new core.Map<core.String, core.List<core.String>>(); | 903 var o = new core.Map<core.String, core.List<core.String>>(); |
894 o["x"] = buildUnnamed1176(); | 904 o["x"] = buildUnnamed1198(); |
895 o["y"] = buildUnnamed1176(); | 905 o["y"] = buildUnnamed1198(); |
896 return o; | 906 return o; |
897 } | 907 } |
898 | 908 |
899 checkUnnamed1177(core.Map<core.String, core.List<core.String>> o) { | 909 checkUnnamed1199(core.Map<core.String, core.List<core.String>> o) { |
900 unittest.expect(o, unittest.hasLength(2)); | 910 unittest.expect(o, unittest.hasLength(2)); |
901 checkUnnamed1176(o["x"]); | 911 checkUnnamed1198(o["x"]); |
902 checkUnnamed1176(o["y"]); | 912 checkUnnamed1198(o["y"]); |
903 } | 913 } |
904 | 914 |
905 core.int buildCounterMetadata = 0; | 915 core.int buildCounterMetadata = 0; |
906 buildMetadata() { | 916 buildMetadata() { |
907 var o = new api.Metadata(); | 917 var o = new api.Metadata(); |
908 buildCounterMetadata++; | 918 buildCounterMetadata++; |
909 if (buildCounterMetadata < 3) { | 919 if (buildCounterMetadata < 3) { |
910 o.description = "foo"; | 920 o.description = "foo"; |
911 o.id = "foo"; | 921 o.id = "foo"; |
912 o.info = buildUnnamed1177(); | 922 o.info = buildUnnamed1199(); |
913 o.key = "foo"; | 923 o.key = "foo"; |
914 o.number = "foo"; | 924 o.number = "foo"; |
915 o.type = "foo"; | 925 o.type = "foo"; |
916 o.value = "foo"; | 926 o.value = "foo"; |
917 } | 927 } |
918 buildCounterMetadata--; | 928 buildCounterMetadata--; |
919 return o; | 929 return o; |
920 } | 930 } |
921 | 931 |
922 checkMetadata(api.Metadata o) { | 932 checkMetadata(api.Metadata o) { |
923 buildCounterMetadata++; | 933 buildCounterMetadata++; |
924 if (buildCounterMetadata < 3) { | 934 if (buildCounterMetadata < 3) { |
925 unittest.expect(o.description, unittest.equals('foo')); | 935 unittest.expect(o.description, unittest.equals('foo')); |
926 unittest.expect(o.id, unittest.equals('foo')); | 936 unittest.expect(o.id, unittest.equals('foo')); |
927 checkUnnamed1177(o.info); | 937 checkUnnamed1199(o.info); |
928 unittest.expect(o.key, unittest.equals('foo')); | 938 unittest.expect(o.key, unittest.equals('foo')); |
929 unittest.expect(o.number, unittest.equals('foo')); | 939 unittest.expect(o.number, unittest.equals('foo')); |
930 unittest.expect(o.type, unittest.equals('foo')); | 940 unittest.expect(o.type, unittest.equals('foo')); |
931 unittest.expect(o.value, unittest.equals('foo')); | 941 unittest.expect(o.value, unittest.equals('foo')); |
932 } | 942 } |
933 buildCounterMetadata--; | 943 buildCounterMetadata--; |
934 } | 944 } |
935 | 945 |
936 core.int buildCounterProgram = 0; | 946 core.int buildCounterProgram = 0; |
937 buildProgram() { | 947 buildProgram() { |
(...skipping 15 matching lines...) Expand all Loading... |
953 if (buildCounterProgram < 3) { | 963 if (buildCounterProgram < 3) { |
954 unittest.expect(o.commandLine, unittest.equals('foo')); | 964 unittest.expect(o.commandLine, unittest.equals('foo')); |
955 unittest.expect(o.id, unittest.equals('foo')); | 965 unittest.expect(o.id, unittest.equals('foo')); |
956 unittest.expect(o.name, unittest.equals('foo')); | 966 unittest.expect(o.name, unittest.equals('foo')); |
957 unittest.expect(o.prevProgramId, unittest.equals('foo')); | 967 unittest.expect(o.prevProgramId, unittest.equals('foo')); |
958 unittest.expect(o.version, unittest.equals('foo')); | 968 unittest.expect(o.version, unittest.equals('foo')); |
959 } | 969 } |
960 buildCounterProgram--; | 970 buildCounterProgram--; |
961 } | 971 } |
962 | 972 |
963 buildUnnamed1178() { | 973 buildUnnamed1200() { |
964 var o = new core.List<core.String>(); | 974 var o = new core.List<core.String>(); |
965 o.add("foo"); | 975 o.add("foo"); |
966 o.add("foo"); | 976 o.add("foo"); |
967 return o; | 977 return o; |
968 } | 978 } |
969 | 979 |
970 checkUnnamed1178(core.List<core.String> o) { | 980 checkUnnamed1200(core.List<core.String> o) { |
971 unittest.expect(o, unittest.hasLength(2)); | 981 unittest.expect(o, unittest.hasLength(2)); |
972 unittest.expect(o[0], unittest.equals('foo')); | 982 unittest.expect(o[0], unittest.equals('foo')); |
973 unittest.expect(o[1], unittest.equals('foo')); | 983 unittest.expect(o[1], unittest.equals('foo')); |
974 } | 984 } |
975 | 985 |
976 buildUnnamed1179() { | 986 buildUnnamed1201() { |
977 var o = new core.Map<core.String, core.List<core.String>>(); | 987 var o = new core.Map<core.String, core.List<core.String>>(); |
978 o["x"] = buildUnnamed1178(); | 988 o["x"] = buildUnnamed1200(); |
979 o["y"] = buildUnnamed1178(); | 989 o["y"] = buildUnnamed1200(); |
980 return o; | 990 return o; |
981 } | 991 } |
982 | 992 |
983 checkUnnamed1179(core.Map<core.String, core.List<core.String>> o) { | 993 checkUnnamed1201(core.Map<core.String, core.List<core.String>> o) { |
984 unittest.expect(o, unittest.hasLength(2)); | 994 unittest.expect(o, unittest.hasLength(2)); |
985 checkUnnamed1178(o["x"]); | 995 checkUnnamed1200(o["x"]); |
986 checkUnnamed1178(o["y"]); | 996 checkUnnamed1200(o["y"]); |
987 } | 997 } |
988 | 998 |
989 core.int buildCounterRead = 0; | 999 core.int buildCounterRead = 0; |
990 buildRead() { | 1000 buildRead() { |
991 var o = new api.Read(); | 1001 var o = new api.Read(); |
992 buildCounterRead++; | 1002 buildCounterRead++; |
993 if (buildCounterRead < 3) { | 1003 if (buildCounterRead < 3) { |
994 o.alignedBases = "foo"; | 1004 o.alignedBases = "foo"; |
995 o.baseQuality = "foo"; | 1005 o.baseQuality = "foo"; |
996 o.cigar = "foo"; | 1006 o.cigar = "foo"; |
997 o.flags = 42; | 1007 o.flags = 42; |
998 o.id = "foo"; | 1008 o.id = "foo"; |
999 o.mappingQuality = 42; | 1009 o.mappingQuality = 42; |
1000 o.matePosition = 42; | 1010 o.matePosition = 42; |
1001 o.mateReferenceSequenceName = "foo"; | 1011 o.mateReferenceSequenceName = "foo"; |
1002 o.name = "foo"; | 1012 o.name = "foo"; |
1003 o.originalBases = "foo"; | 1013 o.originalBases = "foo"; |
1004 o.position = 42; | 1014 o.position = 42; |
1005 o.readsetId = "foo"; | 1015 o.readsetId = "foo"; |
1006 o.referenceSequenceName = "foo"; | 1016 o.referenceSequenceName = "foo"; |
1007 o.tags = buildUnnamed1179(); | 1017 o.tags = buildUnnamed1201(); |
1008 o.templateLength = 42; | 1018 o.templateLength = 42; |
1009 } | 1019 } |
1010 buildCounterRead--; | 1020 buildCounterRead--; |
1011 return o; | 1021 return o; |
1012 } | 1022 } |
1013 | 1023 |
1014 checkRead(api.Read o) { | 1024 checkRead(api.Read o) { |
1015 buildCounterRead++; | 1025 buildCounterRead++; |
1016 if (buildCounterRead < 3) { | 1026 if (buildCounterRead < 3) { |
1017 unittest.expect(o.alignedBases, unittest.equals('foo')); | 1027 unittest.expect(o.alignedBases, unittest.equals('foo')); |
1018 unittest.expect(o.baseQuality, unittest.equals('foo')); | 1028 unittest.expect(o.baseQuality, unittest.equals('foo')); |
1019 unittest.expect(o.cigar, unittest.equals('foo')); | 1029 unittest.expect(o.cigar, unittest.equals('foo')); |
1020 unittest.expect(o.flags, unittest.equals(42)); | 1030 unittest.expect(o.flags, unittest.equals(42)); |
1021 unittest.expect(o.id, unittest.equals('foo')); | 1031 unittest.expect(o.id, unittest.equals('foo')); |
1022 unittest.expect(o.mappingQuality, unittest.equals(42)); | 1032 unittest.expect(o.mappingQuality, unittest.equals(42)); |
1023 unittest.expect(o.matePosition, unittest.equals(42)); | 1033 unittest.expect(o.matePosition, unittest.equals(42)); |
1024 unittest.expect(o.mateReferenceSequenceName, unittest.equals('foo')); | 1034 unittest.expect(o.mateReferenceSequenceName, unittest.equals('foo')); |
1025 unittest.expect(o.name, unittest.equals('foo')); | 1035 unittest.expect(o.name, unittest.equals('foo')); |
1026 unittest.expect(o.originalBases, unittest.equals('foo')); | 1036 unittest.expect(o.originalBases, unittest.equals('foo')); |
1027 unittest.expect(o.position, unittest.equals(42)); | 1037 unittest.expect(o.position, unittest.equals(42)); |
1028 unittest.expect(o.readsetId, unittest.equals('foo')); | 1038 unittest.expect(o.readsetId, unittest.equals('foo')); |
1029 unittest.expect(o.referenceSequenceName, unittest.equals('foo')); | 1039 unittest.expect(o.referenceSequenceName, unittest.equals('foo')); |
1030 checkUnnamed1179(o.tags); | 1040 checkUnnamed1201(o.tags); |
1031 unittest.expect(o.templateLength, unittest.equals(42)); | 1041 unittest.expect(o.templateLength, unittest.equals(42)); |
1032 } | 1042 } |
1033 buildCounterRead--; | 1043 buildCounterRead--; |
1034 } | 1044 } |
1035 | 1045 |
1036 core.int buildCounterReadGroup = 0; | 1046 core.int buildCounterReadGroup = 0; |
1037 buildReadGroup() { | 1047 buildReadGroup() { |
1038 var o = new api.ReadGroup(); | 1048 var o = new api.ReadGroup(); |
1039 buildCounterReadGroup++; | 1049 buildCounterReadGroup++; |
1040 if (buildCounterReadGroup < 3) { | 1050 if (buildCounterReadGroup < 3) { |
(...skipping 26 matching lines...) Expand all Loading... |
1067 unittest.expect(o.platformUnit, unittest.equals('foo')); | 1077 unittest.expect(o.platformUnit, unittest.equals('foo')); |
1068 unittest.expect(o.predictedInsertSize, unittest.equals(42)); | 1078 unittest.expect(o.predictedInsertSize, unittest.equals(42)); |
1069 unittest.expect(o.processingProgram, unittest.equals('foo')); | 1079 unittest.expect(o.processingProgram, unittest.equals('foo')); |
1070 unittest.expect(o.sample, unittest.equals('foo')); | 1080 unittest.expect(o.sample, unittest.equals('foo')); |
1071 unittest.expect(o.sequencingCenterName, unittest.equals('foo')); | 1081 unittest.expect(o.sequencingCenterName, unittest.equals('foo')); |
1072 unittest.expect(o.sequencingTechnology, unittest.equals('foo')); | 1082 unittest.expect(o.sequencingTechnology, unittest.equals('foo')); |
1073 } | 1083 } |
1074 buildCounterReadGroup--; | 1084 buildCounterReadGroup--; |
1075 } | 1085 } |
1076 | 1086 |
1077 buildUnnamed1180() { | 1087 buildUnnamed1202() { |
1078 var o = new core.List<api.HeaderSection>(); | 1088 var o = new core.List<api.HeaderSection>(); |
1079 o.add(buildHeaderSection()); | 1089 o.add(buildHeaderSection()); |
1080 o.add(buildHeaderSection()); | 1090 o.add(buildHeaderSection()); |
1081 return o; | 1091 return o; |
1082 } | 1092 } |
1083 | 1093 |
1084 checkUnnamed1180(core.List<api.HeaderSection> o) { | 1094 checkUnnamed1202(core.List<api.HeaderSection> o) { |
1085 unittest.expect(o, unittest.hasLength(2)); | 1095 unittest.expect(o, unittest.hasLength(2)); |
1086 checkHeaderSection(o[0]); | 1096 checkHeaderSection(o[0]); |
1087 checkHeaderSection(o[1]); | 1097 checkHeaderSection(o[1]); |
1088 } | 1098 } |
1089 | 1099 |
1090 core.int buildCounterReadset = 0; | 1100 core.int buildCounterReadset = 0; |
1091 buildReadset() { | 1101 buildReadset() { |
1092 var o = new api.Readset(); | 1102 var o = new api.Readset(); |
1093 buildCounterReadset++; | 1103 buildCounterReadset++; |
1094 if (buildCounterReadset < 3) { | 1104 if (buildCounterReadset < 3) { |
1095 o.datasetId = "foo"; | 1105 o.datasetId = "foo"; |
1096 o.fileData = buildUnnamed1180(); | 1106 o.fileData = buildUnnamed1202(); |
1097 o.id = "foo"; | 1107 o.id = "foo"; |
1098 o.name = "foo"; | 1108 o.name = "foo"; |
1099 } | 1109 } |
1100 buildCounterReadset--; | 1110 buildCounterReadset--; |
1101 return o; | 1111 return o; |
1102 } | 1112 } |
1103 | 1113 |
1104 checkReadset(api.Readset o) { | 1114 checkReadset(api.Readset o) { |
1105 buildCounterReadset++; | 1115 buildCounterReadset++; |
1106 if (buildCounterReadset < 3) { | 1116 if (buildCounterReadset < 3) { |
1107 unittest.expect(o.datasetId, unittest.equals('foo')); | 1117 unittest.expect(o.datasetId, unittest.equals('foo')); |
1108 checkUnnamed1180(o.fileData); | 1118 checkUnnamed1202(o.fileData); |
1109 unittest.expect(o.id, unittest.equals('foo')); | 1119 unittest.expect(o.id, unittest.equals('foo')); |
1110 unittest.expect(o.name, unittest.equals('foo')); | 1120 unittest.expect(o.name, unittest.equals('foo')); |
1111 } | 1121 } |
1112 buildCounterReadset--; | 1122 buildCounterReadset--; |
1113 } | 1123 } |
1114 | 1124 |
1115 core.int buildCounterReferenceBound = 0; | 1125 core.int buildCounterReferenceBound = 0; |
1116 buildReferenceBound() { | 1126 buildReferenceBound() { |
1117 var o = new api.ReferenceBound(); | 1127 var o = new api.ReferenceBound(); |
1118 buildCounterReferenceBound++; | 1128 buildCounterReferenceBound++; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1165 unittest.expect(o.assemblyId, unittest.equals('foo')); |
1156 unittest.expect(o.length, unittest.equals(42)); | 1166 unittest.expect(o.length, unittest.equals(42)); |
1157 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1167 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1158 unittest.expect(o.name, unittest.equals('foo')); | 1168 unittest.expect(o.name, unittest.equals('foo')); |
1159 unittest.expect(o.species, unittest.equals('foo')); | 1169 unittest.expect(o.species, unittest.equals('foo')); |
1160 unittest.expect(o.uri, unittest.equals('foo')); | 1170 unittest.expect(o.uri, unittest.equals('foo')); |
1161 } | 1171 } |
1162 buildCounterReferenceSequence--; | 1172 buildCounterReferenceSequence--; |
1163 } | 1173 } |
1164 | 1174 |
1165 buildUnnamed1181() { | 1175 buildUnnamed1203() { |
1166 var o = new core.List<core.String>(); | 1176 var o = new core.List<core.String>(); |
1167 o.add("foo"); | 1177 o.add("foo"); |
1168 o.add("foo"); | 1178 o.add("foo"); |
1169 return o; | 1179 return o; |
1170 } | 1180 } |
1171 | 1181 |
1172 checkUnnamed1181(core.List<core.String> o) { | 1182 checkUnnamed1203(core.List<core.String> o) { |
1173 unittest.expect(o, unittest.hasLength(2)); | 1183 unittest.expect(o, unittest.hasLength(2)); |
1174 unittest.expect(o[0], unittest.equals('foo')); | 1184 unittest.expect(o[0], unittest.equals('foo')); |
1175 unittest.expect(o[1], unittest.equals('foo')); | 1185 unittest.expect(o[1], unittest.equals('foo')); |
1176 } | 1186 } |
1177 | 1187 |
1178 core.int buildCounterSearchCallSetsRequest = 0; | 1188 core.int buildCounterSearchCallSetsRequest = 0; |
1179 buildSearchCallSetsRequest() { | 1189 buildSearchCallSetsRequest() { |
1180 var o = new api.SearchCallSetsRequest(); | 1190 var o = new api.SearchCallSetsRequest(); |
1181 buildCounterSearchCallSetsRequest++; | 1191 buildCounterSearchCallSetsRequest++; |
1182 if (buildCounterSearchCallSetsRequest < 3) { | 1192 if (buildCounterSearchCallSetsRequest < 3) { |
1183 o.name = "foo"; | 1193 o.name = "foo"; |
1184 o.pageSize = 42; | 1194 o.pageSize = 42; |
1185 o.pageToken = "foo"; | 1195 o.pageToken = "foo"; |
1186 o.variantSetIds = buildUnnamed1181(); | 1196 o.variantSetIds = buildUnnamed1203(); |
1187 } | 1197 } |
1188 buildCounterSearchCallSetsRequest--; | 1198 buildCounterSearchCallSetsRequest--; |
1189 return o; | 1199 return o; |
1190 } | 1200 } |
1191 | 1201 |
1192 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { | 1202 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { |
1193 buildCounterSearchCallSetsRequest++; | 1203 buildCounterSearchCallSetsRequest++; |
1194 if (buildCounterSearchCallSetsRequest < 3) { | 1204 if (buildCounterSearchCallSetsRequest < 3) { |
1195 unittest.expect(o.name, unittest.equals('foo')); | 1205 unittest.expect(o.name, unittest.equals('foo')); |
1196 unittest.expect(o.pageSize, unittest.equals(42)); | 1206 unittest.expect(o.pageSize, unittest.equals(42)); |
1197 unittest.expect(o.pageToken, unittest.equals('foo')); | 1207 unittest.expect(o.pageToken, unittest.equals('foo')); |
1198 checkUnnamed1181(o.variantSetIds); | 1208 checkUnnamed1203(o.variantSetIds); |
1199 } | 1209 } |
1200 buildCounterSearchCallSetsRequest--; | 1210 buildCounterSearchCallSetsRequest--; |
1201 } | 1211 } |
1202 | 1212 |
1203 buildUnnamed1182() { | 1213 buildUnnamed1204() { |
1204 var o = new core.List<api.CallSet>(); | 1214 var o = new core.List<api.CallSet>(); |
1205 o.add(buildCallSet()); | 1215 o.add(buildCallSet()); |
1206 o.add(buildCallSet()); | 1216 o.add(buildCallSet()); |
1207 return o; | 1217 return o; |
1208 } | 1218 } |
1209 | 1219 |
1210 checkUnnamed1182(core.List<api.CallSet> o) { | 1220 checkUnnamed1204(core.List<api.CallSet> o) { |
1211 unittest.expect(o, unittest.hasLength(2)); | 1221 unittest.expect(o, unittest.hasLength(2)); |
1212 checkCallSet(o[0]); | 1222 checkCallSet(o[0]); |
1213 checkCallSet(o[1]); | 1223 checkCallSet(o[1]); |
1214 } | 1224 } |
1215 | 1225 |
1216 core.int buildCounterSearchCallSetsResponse = 0; | 1226 core.int buildCounterSearchCallSetsResponse = 0; |
1217 buildSearchCallSetsResponse() { | 1227 buildSearchCallSetsResponse() { |
1218 var o = new api.SearchCallSetsResponse(); | 1228 var o = new api.SearchCallSetsResponse(); |
1219 buildCounterSearchCallSetsResponse++; | 1229 buildCounterSearchCallSetsResponse++; |
1220 if (buildCounterSearchCallSetsResponse < 3) { | 1230 if (buildCounterSearchCallSetsResponse < 3) { |
1221 o.callSets = buildUnnamed1182(); | 1231 o.callSets = buildUnnamed1204(); |
1222 o.nextPageToken = "foo"; | 1232 o.nextPageToken = "foo"; |
1223 } | 1233 } |
1224 buildCounterSearchCallSetsResponse--; | 1234 buildCounterSearchCallSetsResponse--; |
1225 return o; | 1235 return o; |
1226 } | 1236 } |
1227 | 1237 |
1228 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { | 1238 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { |
1229 buildCounterSearchCallSetsResponse++; | 1239 buildCounterSearchCallSetsResponse++; |
1230 if (buildCounterSearchCallSetsResponse < 3) { | 1240 if (buildCounterSearchCallSetsResponse < 3) { |
1231 checkUnnamed1182(o.callSets); | 1241 checkUnnamed1204(o.callSets); |
1232 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1242 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1233 } | 1243 } |
1234 buildCounterSearchCallSetsResponse--; | 1244 buildCounterSearchCallSetsResponse--; |
1235 } | 1245 } |
1236 | 1246 |
1237 buildUnnamed1183() { | 1247 buildUnnamed1205() { |
1238 var o = new core.List<core.String>(); | 1248 var o = new core.List<core.String>(); |
1239 o.add("foo"); | 1249 o.add("foo"); |
1240 o.add("foo"); | 1250 o.add("foo"); |
1241 return o; | 1251 return o; |
1242 } | 1252 } |
1243 | 1253 |
1244 checkUnnamed1183(core.List<core.String> o) { | 1254 checkUnnamed1205(core.List<core.String> o) { |
1245 unittest.expect(o, unittest.hasLength(2)); | 1255 unittest.expect(o, unittest.hasLength(2)); |
1246 unittest.expect(o[0], unittest.equals('foo')); | 1256 unittest.expect(o[0], unittest.equals('foo')); |
1247 unittest.expect(o[1], unittest.equals('foo')); | 1257 unittest.expect(o[1], unittest.equals('foo')); |
1248 } | 1258 } |
1249 | 1259 |
1250 core.int buildCounterSearchJobsRequest = 0; | 1260 core.int buildCounterSearchJobsRequest = 0; |
1251 buildSearchJobsRequest() { | 1261 buildSearchJobsRequest() { |
1252 var o = new api.SearchJobsRequest(); | 1262 var o = new api.SearchJobsRequest(); |
1253 buildCounterSearchJobsRequest++; | 1263 buildCounterSearchJobsRequest++; |
1254 if (buildCounterSearchJobsRequest < 3) { | 1264 if (buildCounterSearchJobsRequest < 3) { |
1255 o.createdAfter = "foo"; | 1265 o.createdAfter = "foo"; |
1256 o.createdBefore = "foo"; | 1266 o.createdBefore = "foo"; |
1257 o.maxResults = "foo"; | 1267 o.maxResults = "foo"; |
1258 o.pageToken = "foo"; | 1268 o.pageToken = "foo"; |
1259 o.projectId = "foo"; | 1269 o.projectId = "foo"; |
1260 o.status = buildUnnamed1183(); | 1270 o.status = buildUnnamed1205(); |
1261 } | 1271 } |
1262 buildCounterSearchJobsRequest--; | 1272 buildCounterSearchJobsRequest--; |
1263 return o; | 1273 return o; |
1264 } | 1274 } |
1265 | 1275 |
1266 checkSearchJobsRequest(api.SearchJobsRequest o) { | 1276 checkSearchJobsRequest(api.SearchJobsRequest o) { |
1267 buildCounterSearchJobsRequest++; | 1277 buildCounterSearchJobsRequest++; |
1268 if (buildCounterSearchJobsRequest < 3) { | 1278 if (buildCounterSearchJobsRequest < 3) { |
1269 unittest.expect(o.createdAfter, unittest.equals('foo')); | 1279 unittest.expect(o.createdAfter, unittest.equals('foo')); |
1270 unittest.expect(o.createdBefore, unittest.equals('foo')); | 1280 unittest.expect(o.createdBefore, unittest.equals('foo')); |
1271 unittest.expect(o.maxResults, unittest.equals('foo')); | 1281 unittest.expect(o.maxResults, unittest.equals('foo')); |
1272 unittest.expect(o.pageToken, unittest.equals('foo')); | 1282 unittest.expect(o.pageToken, unittest.equals('foo')); |
1273 unittest.expect(o.projectId, unittest.equals('foo')); | 1283 unittest.expect(o.projectId, unittest.equals('foo')); |
1274 checkUnnamed1183(o.status); | 1284 checkUnnamed1205(o.status); |
1275 } | 1285 } |
1276 buildCounterSearchJobsRequest--; | 1286 buildCounterSearchJobsRequest--; |
1277 } | 1287 } |
1278 | 1288 |
1279 buildUnnamed1184() { | 1289 buildUnnamed1206() { |
1280 var o = new core.List<api.Job>(); | 1290 var o = new core.List<api.Job>(); |
1281 o.add(buildJob()); | 1291 o.add(buildJob()); |
1282 o.add(buildJob()); | 1292 o.add(buildJob()); |
1283 return o; | 1293 return o; |
1284 } | 1294 } |
1285 | 1295 |
1286 checkUnnamed1184(core.List<api.Job> o) { | 1296 checkUnnamed1206(core.List<api.Job> o) { |
1287 unittest.expect(o, unittest.hasLength(2)); | 1297 unittest.expect(o, unittest.hasLength(2)); |
1288 checkJob(o[0]); | 1298 checkJob(o[0]); |
1289 checkJob(o[1]); | 1299 checkJob(o[1]); |
1290 } | 1300 } |
1291 | 1301 |
1292 core.int buildCounterSearchJobsResponse = 0; | 1302 core.int buildCounterSearchJobsResponse = 0; |
1293 buildSearchJobsResponse() { | 1303 buildSearchJobsResponse() { |
1294 var o = new api.SearchJobsResponse(); | 1304 var o = new api.SearchJobsResponse(); |
1295 buildCounterSearchJobsResponse++; | 1305 buildCounterSearchJobsResponse++; |
1296 if (buildCounterSearchJobsResponse < 3) { | 1306 if (buildCounterSearchJobsResponse < 3) { |
1297 o.jobs = buildUnnamed1184(); | 1307 o.jobs = buildUnnamed1206(); |
1298 o.nextPageToken = "foo"; | 1308 o.nextPageToken = "foo"; |
1299 } | 1309 } |
1300 buildCounterSearchJobsResponse--; | 1310 buildCounterSearchJobsResponse--; |
1301 return o; | 1311 return o; |
1302 } | 1312 } |
1303 | 1313 |
1304 checkSearchJobsResponse(api.SearchJobsResponse o) { | 1314 checkSearchJobsResponse(api.SearchJobsResponse o) { |
1305 buildCounterSearchJobsResponse++; | 1315 buildCounterSearchJobsResponse++; |
1306 if (buildCounterSearchJobsResponse < 3) { | 1316 if (buildCounterSearchJobsResponse < 3) { |
1307 checkUnnamed1184(o.jobs); | 1317 checkUnnamed1206(o.jobs); |
1308 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1318 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1309 } | 1319 } |
1310 buildCounterSearchJobsResponse--; | 1320 buildCounterSearchJobsResponse--; |
1311 } | 1321 } |
1312 | 1322 |
1313 buildUnnamed1185() { | 1323 buildUnnamed1207() { |
1314 var o = new core.List<core.String>(); | 1324 var o = new core.List<core.String>(); |
1315 o.add("foo"); | 1325 o.add("foo"); |
1316 o.add("foo"); | 1326 o.add("foo"); |
1317 return o; | 1327 return o; |
1318 } | 1328 } |
1319 | 1329 |
1320 checkUnnamed1185(core.List<core.String> o) { | 1330 checkUnnamed1207(core.List<core.String> o) { |
1321 unittest.expect(o, unittest.hasLength(2)); | 1331 unittest.expect(o, unittest.hasLength(2)); |
1322 unittest.expect(o[0], unittest.equals('foo')); | 1332 unittest.expect(o[0], unittest.equals('foo')); |
1323 unittest.expect(o[1], unittest.equals('foo')); | 1333 unittest.expect(o[1], unittest.equals('foo')); |
1324 } | 1334 } |
1325 | 1335 |
1326 core.int buildCounterSearchReadsRequest = 0; | 1336 core.int buildCounterSearchReadsRequest = 0; |
1327 buildSearchReadsRequest() { | 1337 buildSearchReadsRequest() { |
1328 var o = new api.SearchReadsRequest(); | 1338 var o = new api.SearchReadsRequest(); |
1329 buildCounterSearchReadsRequest++; | 1339 buildCounterSearchReadsRequest++; |
1330 if (buildCounterSearchReadsRequest < 3) { | 1340 if (buildCounterSearchReadsRequest < 3) { |
1331 o.maxResults = "foo"; | 1341 o.maxResults = "foo"; |
1332 o.pageToken = "foo"; | 1342 o.pageToken = "foo"; |
1333 o.readsetIds = buildUnnamed1185(); | 1343 o.readsetIds = buildUnnamed1207(); |
1334 o.sequenceEnd = "foo"; | 1344 o.sequenceEnd = "foo"; |
1335 o.sequenceName = "foo"; | 1345 o.sequenceName = "foo"; |
1336 o.sequenceStart = "foo"; | 1346 o.sequenceStart = "foo"; |
1337 } | 1347 } |
1338 buildCounterSearchReadsRequest--; | 1348 buildCounterSearchReadsRequest--; |
1339 return o; | 1349 return o; |
1340 } | 1350 } |
1341 | 1351 |
1342 checkSearchReadsRequest(api.SearchReadsRequest o) { | 1352 checkSearchReadsRequest(api.SearchReadsRequest o) { |
1343 buildCounterSearchReadsRequest++; | 1353 buildCounterSearchReadsRequest++; |
1344 if (buildCounterSearchReadsRequest < 3) { | 1354 if (buildCounterSearchReadsRequest < 3) { |
1345 unittest.expect(o.maxResults, unittest.equals('foo')); | 1355 unittest.expect(o.maxResults, unittest.equals('foo')); |
1346 unittest.expect(o.pageToken, unittest.equals('foo')); | 1356 unittest.expect(o.pageToken, unittest.equals('foo')); |
1347 checkUnnamed1185(o.readsetIds); | 1357 checkUnnamed1207(o.readsetIds); |
1348 unittest.expect(o.sequenceEnd, unittest.equals('foo')); | 1358 unittest.expect(o.sequenceEnd, unittest.equals('foo')); |
1349 unittest.expect(o.sequenceName, unittest.equals('foo')); | 1359 unittest.expect(o.sequenceName, unittest.equals('foo')); |
1350 unittest.expect(o.sequenceStart, unittest.equals('foo')); | 1360 unittest.expect(o.sequenceStart, unittest.equals('foo')); |
1351 } | 1361 } |
1352 buildCounterSearchReadsRequest--; | 1362 buildCounterSearchReadsRequest--; |
1353 } | 1363 } |
1354 | 1364 |
1355 buildUnnamed1186() { | 1365 buildUnnamed1208() { |
1356 var o = new core.List<api.Read>(); | 1366 var o = new core.List<api.Read>(); |
1357 o.add(buildRead()); | 1367 o.add(buildRead()); |
1358 o.add(buildRead()); | 1368 o.add(buildRead()); |
1359 return o; | 1369 return o; |
1360 } | 1370 } |
1361 | 1371 |
1362 checkUnnamed1186(core.List<api.Read> o) { | 1372 checkUnnamed1208(core.List<api.Read> o) { |
1363 unittest.expect(o, unittest.hasLength(2)); | 1373 unittest.expect(o, unittest.hasLength(2)); |
1364 checkRead(o[0]); | 1374 checkRead(o[0]); |
1365 checkRead(o[1]); | 1375 checkRead(o[1]); |
1366 } | 1376 } |
1367 | 1377 |
1368 core.int buildCounterSearchReadsResponse = 0; | 1378 core.int buildCounterSearchReadsResponse = 0; |
1369 buildSearchReadsResponse() { | 1379 buildSearchReadsResponse() { |
1370 var o = new api.SearchReadsResponse(); | 1380 var o = new api.SearchReadsResponse(); |
1371 buildCounterSearchReadsResponse++; | 1381 buildCounterSearchReadsResponse++; |
1372 if (buildCounterSearchReadsResponse < 3) { | 1382 if (buildCounterSearchReadsResponse < 3) { |
1373 o.nextPageToken = "foo"; | 1383 o.nextPageToken = "foo"; |
1374 o.reads = buildUnnamed1186(); | 1384 o.reads = buildUnnamed1208(); |
1375 } | 1385 } |
1376 buildCounterSearchReadsResponse--; | 1386 buildCounterSearchReadsResponse--; |
1377 return o; | 1387 return o; |
1378 } | 1388 } |
1379 | 1389 |
1380 checkSearchReadsResponse(api.SearchReadsResponse o) { | 1390 checkSearchReadsResponse(api.SearchReadsResponse o) { |
1381 buildCounterSearchReadsResponse++; | 1391 buildCounterSearchReadsResponse++; |
1382 if (buildCounterSearchReadsResponse < 3) { | 1392 if (buildCounterSearchReadsResponse < 3) { |
1383 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1393 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1384 checkUnnamed1186(o.reads); | 1394 checkUnnamed1208(o.reads); |
1385 } | 1395 } |
1386 buildCounterSearchReadsResponse--; | 1396 buildCounterSearchReadsResponse--; |
1387 } | 1397 } |
1388 | 1398 |
1389 buildUnnamed1187() { | 1399 buildUnnamed1209() { |
1390 var o = new core.List<core.String>(); | 1400 var o = new core.List<core.String>(); |
1391 o.add("foo"); | 1401 o.add("foo"); |
1392 o.add("foo"); | 1402 o.add("foo"); |
1393 return o; | 1403 return o; |
1394 } | 1404 } |
1395 | 1405 |
1396 checkUnnamed1187(core.List<core.String> o) { | 1406 checkUnnamed1209(core.List<core.String> o) { |
1397 unittest.expect(o, unittest.hasLength(2)); | 1407 unittest.expect(o, unittest.hasLength(2)); |
1398 unittest.expect(o[0], unittest.equals('foo')); | 1408 unittest.expect(o[0], unittest.equals('foo')); |
1399 unittest.expect(o[1], unittest.equals('foo')); | 1409 unittest.expect(o[1], unittest.equals('foo')); |
1400 } | 1410 } |
1401 | 1411 |
1402 core.int buildCounterSearchReadsetsRequest = 0; | 1412 core.int buildCounterSearchReadsetsRequest = 0; |
1403 buildSearchReadsetsRequest() { | 1413 buildSearchReadsetsRequest() { |
1404 var o = new api.SearchReadsetsRequest(); | 1414 var o = new api.SearchReadsetsRequest(); |
1405 buildCounterSearchReadsetsRequest++; | 1415 buildCounterSearchReadsetsRequest++; |
1406 if (buildCounterSearchReadsetsRequest < 3) { | 1416 if (buildCounterSearchReadsetsRequest < 3) { |
1407 o.datasetIds = buildUnnamed1187(); | 1417 o.datasetIds = buildUnnamed1209(); |
1408 o.maxResults = "foo"; | 1418 o.maxResults = "foo"; |
1409 o.name = "foo"; | 1419 o.name = "foo"; |
1410 o.pageToken = "foo"; | 1420 o.pageToken = "foo"; |
1411 } | 1421 } |
1412 buildCounterSearchReadsetsRequest--; | 1422 buildCounterSearchReadsetsRequest--; |
1413 return o; | 1423 return o; |
1414 } | 1424 } |
1415 | 1425 |
1416 checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { | 1426 checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { |
1417 buildCounterSearchReadsetsRequest++; | 1427 buildCounterSearchReadsetsRequest++; |
1418 if (buildCounterSearchReadsetsRequest < 3) { | 1428 if (buildCounterSearchReadsetsRequest < 3) { |
1419 checkUnnamed1187(o.datasetIds); | 1429 checkUnnamed1209(o.datasetIds); |
1420 unittest.expect(o.maxResults, unittest.equals('foo')); | 1430 unittest.expect(o.maxResults, unittest.equals('foo')); |
1421 unittest.expect(o.name, unittest.equals('foo')); | 1431 unittest.expect(o.name, unittest.equals('foo')); |
1422 unittest.expect(o.pageToken, unittest.equals('foo')); | 1432 unittest.expect(o.pageToken, unittest.equals('foo')); |
1423 } | 1433 } |
1424 buildCounterSearchReadsetsRequest--; | 1434 buildCounterSearchReadsetsRequest--; |
1425 } | 1435 } |
1426 | 1436 |
1427 buildUnnamed1188() { | 1437 buildUnnamed1210() { |
1428 var o = new core.List<api.Readset>(); | 1438 var o = new core.List<api.Readset>(); |
1429 o.add(buildReadset()); | 1439 o.add(buildReadset()); |
1430 o.add(buildReadset()); | 1440 o.add(buildReadset()); |
1431 return o; | 1441 return o; |
1432 } | 1442 } |
1433 | 1443 |
1434 checkUnnamed1188(core.List<api.Readset> o) { | 1444 checkUnnamed1210(core.List<api.Readset> o) { |
1435 unittest.expect(o, unittest.hasLength(2)); | 1445 unittest.expect(o, unittest.hasLength(2)); |
1436 checkReadset(o[0]); | 1446 checkReadset(o[0]); |
1437 checkReadset(o[1]); | 1447 checkReadset(o[1]); |
1438 } | 1448 } |
1439 | 1449 |
1440 core.int buildCounterSearchReadsetsResponse = 0; | 1450 core.int buildCounterSearchReadsetsResponse = 0; |
1441 buildSearchReadsetsResponse() { | 1451 buildSearchReadsetsResponse() { |
1442 var o = new api.SearchReadsetsResponse(); | 1452 var o = new api.SearchReadsetsResponse(); |
1443 buildCounterSearchReadsetsResponse++; | 1453 buildCounterSearchReadsetsResponse++; |
1444 if (buildCounterSearchReadsetsResponse < 3) { | 1454 if (buildCounterSearchReadsetsResponse < 3) { |
1445 o.nextPageToken = "foo"; | 1455 o.nextPageToken = "foo"; |
1446 o.readsets = buildUnnamed1188(); | 1456 o.readsets = buildUnnamed1210(); |
1447 } | 1457 } |
1448 buildCounterSearchReadsetsResponse--; | 1458 buildCounterSearchReadsetsResponse--; |
1449 return o; | 1459 return o; |
1450 } | 1460 } |
1451 | 1461 |
1452 checkSearchReadsetsResponse(api.SearchReadsetsResponse o) { | 1462 checkSearchReadsetsResponse(api.SearchReadsetsResponse o) { |
1453 buildCounterSearchReadsetsResponse++; | 1463 buildCounterSearchReadsetsResponse++; |
1454 if (buildCounterSearchReadsetsResponse < 3) { | 1464 if (buildCounterSearchReadsetsResponse < 3) { |
1455 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1465 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1456 checkUnnamed1188(o.readsets); | 1466 checkUnnamed1210(o.readsets); |
1457 } | 1467 } |
1458 buildCounterSearchReadsetsResponse--; | 1468 buildCounterSearchReadsetsResponse--; |
1459 } | 1469 } |
1460 | 1470 |
1461 buildUnnamed1189() { | 1471 buildUnnamed1211() { |
1462 var o = new core.List<core.String>(); | 1472 var o = new core.List<core.String>(); |
1463 o.add("foo"); | 1473 o.add("foo"); |
1464 o.add("foo"); | 1474 o.add("foo"); |
1465 return o; | 1475 return o; |
1466 } | 1476 } |
1467 | 1477 |
1468 checkUnnamed1189(core.List<core.String> o) { | 1478 checkUnnamed1211(core.List<core.String> o) { |
1469 unittest.expect(o, unittest.hasLength(2)); | 1479 unittest.expect(o, unittest.hasLength(2)); |
1470 unittest.expect(o[0], unittest.equals('foo')); | 1480 unittest.expect(o[0], unittest.equals('foo')); |
1471 unittest.expect(o[1], unittest.equals('foo')); | 1481 unittest.expect(o[1], unittest.equals('foo')); |
1472 } | 1482 } |
1473 | 1483 |
1474 core.int buildCounterSearchVariantSetsRequest = 0; | 1484 core.int buildCounterSearchVariantSetsRequest = 0; |
1475 buildSearchVariantSetsRequest() { | 1485 buildSearchVariantSetsRequest() { |
1476 var o = new api.SearchVariantSetsRequest(); | 1486 var o = new api.SearchVariantSetsRequest(); |
1477 buildCounterSearchVariantSetsRequest++; | 1487 buildCounterSearchVariantSetsRequest++; |
1478 if (buildCounterSearchVariantSetsRequest < 3) { | 1488 if (buildCounterSearchVariantSetsRequest < 3) { |
1479 o.datasetIds = buildUnnamed1189(); | 1489 o.datasetIds = buildUnnamed1211(); |
1480 o.pageSize = 42; | 1490 o.pageSize = 42; |
1481 o.pageToken = "foo"; | 1491 o.pageToken = "foo"; |
1482 } | 1492 } |
1483 buildCounterSearchVariantSetsRequest--; | 1493 buildCounterSearchVariantSetsRequest--; |
1484 return o; | 1494 return o; |
1485 } | 1495 } |
1486 | 1496 |
1487 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { | 1497 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { |
1488 buildCounterSearchVariantSetsRequest++; | 1498 buildCounterSearchVariantSetsRequest++; |
1489 if (buildCounterSearchVariantSetsRequest < 3) { | 1499 if (buildCounterSearchVariantSetsRequest < 3) { |
1490 checkUnnamed1189(o.datasetIds); | 1500 checkUnnamed1211(o.datasetIds); |
1491 unittest.expect(o.pageSize, unittest.equals(42)); | 1501 unittest.expect(o.pageSize, unittest.equals(42)); |
1492 unittest.expect(o.pageToken, unittest.equals('foo')); | 1502 unittest.expect(o.pageToken, unittest.equals('foo')); |
1493 } | 1503 } |
1494 buildCounterSearchVariantSetsRequest--; | 1504 buildCounterSearchVariantSetsRequest--; |
1495 } | 1505 } |
1496 | 1506 |
1497 buildUnnamed1190() { | 1507 buildUnnamed1212() { |
1498 var o = new core.List<api.VariantSet>(); | 1508 var o = new core.List<api.VariantSet>(); |
1499 o.add(buildVariantSet()); | 1509 o.add(buildVariantSet()); |
1500 o.add(buildVariantSet()); | 1510 o.add(buildVariantSet()); |
1501 return o; | 1511 return o; |
1502 } | 1512 } |
1503 | 1513 |
1504 checkUnnamed1190(core.List<api.VariantSet> o) { | 1514 checkUnnamed1212(core.List<api.VariantSet> o) { |
1505 unittest.expect(o, unittest.hasLength(2)); | 1515 unittest.expect(o, unittest.hasLength(2)); |
1506 checkVariantSet(o[0]); | 1516 checkVariantSet(o[0]); |
1507 checkVariantSet(o[1]); | 1517 checkVariantSet(o[1]); |
1508 } | 1518 } |
1509 | 1519 |
1510 core.int buildCounterSearchVariantSetsResponse = 0; | 1520 core.int buildCounterSearchVariantSetsResponse = 0; |
1511 buildSearchVariantSetsResponse() { | 1521 buildSearchVariantSetsResponse() { |
1512 var o = new api.SearchVariantSetsResponse(); | 1522 var o = new api.SearchVariantSetsResponse(); |
1513 buildCounterSearchVariantSetsResponse++; | 1523 buildCounterSearchVariantSetsResponse++; |
1514 if (buildCounterSearchVariantSetsResponse < 3) { | 1524 if (buildCounterSearchVariantSetsResponse < 3) { |
1515 o.nextPageToken = "foo"; | 1525 o.nextPageToken = "foo"; |
1516 o.variantSets = buildUnnamed1190(); | 1526 o.variantSets = buildUnnamed1212(); |
1517 } | 1527 } |
1518 buildCounterSearchVariantSetsResponse--; | 1528 buildCounterSearchVariantSetsResponse--; |
1519 return o; | 1529 return o; |
1520 } | 1530 } |
1521 | 1531 |
1522 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { | 1532 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { |
1523 buildCounterSearchVariantSetsResponse++; | 1533 buildCounterSearchVariantSetsResponse++; |
1524 if (buildCounterSearchVariantSetsResponse < 3) { | 1534 if (buildCounterSearchVariantSetsResponse < 3) { |
1525 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1535 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1526 checkUnnamed1190(o.variantSets); | 1536 checkUnnamed1212(o.variantSets); |
1527 } | 1537 } |
1528 buildCounterSearchVariantSetsResponse--; | 1538 buildCounterSearchVariantSetsResponse--; |
1529 } | 1539 } |
1530 | 1540 |
1531 buildUnnamed1191() { | 1541 buildUnnamed1213() { |
1532 var o = new core.List<core.String>(); | 1542 var o = new core.List<core.String>(); |
1533 o.add("foo"); | 1543 o.add("foo"); |
1534 o.add("foo"); | 1544 o.add("foo"); |
1535 return o; | 1545 return o; |
1536 } | 1546 } |
1537 | 1547 |
1538 checkUnnamed1191(core.List<core.String> o) { | 1548 checkUnnamed1213(core.List<core.String> o) { |
1539 unittest.expect(o, unittest.hasLength(2)); | 1549 unittest.expect(o, unittest.hasLength(2)); |
1540 unittest.expect(o[0], unittest.equals('foo')); | 1550 unittest.expect(o[0], unittest.equals('foo')); |
1541 unittest.expect(o[1], unittest.equals('foo')); | 1551 unittest.expect(o[1], unittest.equals('foo')); |
1542 } | 1552 } |
1543 | 1553 |
1544 buildUnnamed1192() { | 1554 buildUnnamed1214() { |
1545 var o = new core.List<core.String>(); | 1555 var o = new core.List<core.String>(); |
1546 o.add("foo"); | 1556 o.add("foo"); |
1547 o.add("foo"); | 1557 o.add("foo"); |
1548 return o; | 1558 return o; |
1549 } | 1559 } |
1550 | 1560 |
1551 checkUnnamed1192(core.List<core.String> o) { | 1561 checkUnnamed1214(core.List<core.String> o) { |
1552 unittest.expect(o, unittest.hasLength(2)); | 1562 unittest.expect(o, unittest.hasLength(2)); |
1553 unittest.expect(o[0], unittest.equals('foo')); | 1563 unittest.expect(o[0], unittest.equals('foo')); |
1554 unittest.expect(o[1], unittest.equals('foo')); | 1564 unittest.expect(o[1], unittest.equals('foo')); |
1555 } | 1565 } |
1556 | 1566 |
1557 core.int buildCounterSearchVariantsRequest = 0; | 1567 core.int buildCounterSearchVariantsRequest = 0; |
1558 buildSearchVariantsRequest() { | 1568 buildSearchVariantsRequest() { |
1559 var o = new api.SearchVariantsRequest(); | 1569 var o = new api.SearchVariantsRequest(); |
1560 buildCounterSearchVariantsRequest++; | 1570 buildCounterSearchVariantsRequest++; |
1561 if (buildCounterSearchVariantsRequest < 3) { | 1571 if (buildCounterSearchVariantsRequest < 3) { |
1562 o.callSetIds = buildUnnamed1191(); | 1572 o.callSetIds = buildUnnamed1213(); |
1563 o.end = "foo"; | 1573 o.end = "foo"; |
1564 o.maxCalls = 42; | 1574 o.maxCalls = 42; |
1565 o.pageSize = 42; | 1575 o.pageSize = 42; |
1566 o.pageToken = "foo"; | 1576 o.pageToken = "foo"; |
1567 o.referenceName = "foo"; | 1577 o.referenceName = "foo"; |
1568 o.start = "foo"; | 1578 o.start = "foo"; |
1569 o.variantName = "foo"; | 1579 o.variantName = "foo"; |
1570 o.variantSetIds = buildUnnamed1192(); | 1580 o.variantSetIds = buildUnnamed1214(); |
1571 } | 1581 } |
1572 buildCounterSearchVariantsRequest--; | 1582 buildCounterSearchVariantsRequest--; |
1573 return o; | 1583 return o; |
1574 } | 1584 } |
1575 | 1585 |
1576 checkSearchVariantsRequest(api.SearchVariantsRequest o) { | 1586 checkSearchVariantsRequest(api.SearchVariantsRequest o) { |
1577 buildCounterSearchVariantsRequest++; | 1587 buildCounterSearchVariantsRequest++; |
1578 if (buildCounterSearchVariantsRequest < 3) { | 1588 if (buildCounterSearchVariantsRequest < 3) { |
1579 checkUnnamed1191(o.callSetIds); | 1589 checkUnnamed1213(o.callSetIds); |
1580 unittest.expect(o.end, unittest.equals('foo')); | 1590 unittest.expect(o.end, unittest.equals('foo')); |
1581 unittest.expect(o.maxCalls, unittest.equals(42)); | 1591 unittest.expect(o.maxCalls, unittest.equals(42)); |
1582 unittest.expect(o.pageSize, unittest.equals(42)); | 1592 unittest.expect(o.pageSize, unittest.equals(42)); |
1583 unittest.expect(o.pageToken, unittest.equals('foo')); | 1593 unittest.expect(o.pageToken, unittest.equals('foo')); |
1584 unittest.expect(o.referenceName, unittest.equals('foo')); | 1594 unittest.expect(o.referenceName, unittest.equals('foo')); |
1585 unittest.expect(o.start, unittest.equals('foo')); | 1595 unittest.expect(o.start, unittest.equals('foo')); |
1586 unittest.expect(o.variantName, unittest.equals('foo')); | 1596 unittest.expect(o.variantName, unittest.equals('foo')); |
1587 checkUnnamed1192(o.variantSetIds); | 1597 checkUnnamed1214(o.variantSetIds); |
1588 } | 1598 } |
1589 buildCounterSearchVariantsRequest--; | 1599 buildCounterSearchVariantsRequest--; |
1590 } | 1600 } |
1591 | 1601 |
1592 buildUnnamed1193() { | 1602 buildUnnamed1215() { |
1593 var o = new core.List<api.Variant>(); | 1603 var o = new core.List<api.Variant>(); |
1594 o.add(buildVariant()); | 1604 o.add(buildVariant()); |
1595 o.add(buildVariant()); | 1605 o.add(buildVariant()); |
1596 return o; | 1606 return o; |
1597 } | 1607 } |
1598 | 1608 |
1599 checkUnnamed1193(core.List<api.Variant> o) { | 1609 checkUnnamed1215(core.List<api.Variant> o) { |
1600 unittest.expect(o, unittest.hasLength(2)); | 1610 unittest.expect(o, unittest.hasLength(2)); |
1601 checkVariant(o[0]); | 1611 checkVariant(o[0]); |
1602 checkVariant(o[1]); | 1612 checkVariant(o[1]); |
1603 } | 1613 } |
1604 | 1614 |
1605 core.int buildCounterSearchVariantsResponse = 0; | 1615 core.int buildCounterSearchVariantsResponse = 0; |
1606 buildSearchVariantsResponse() { | 1616 buildSearchVariantsResponse() { |
1607 var o = new api.SearchVariantsResponse(); | 1617 var o = new api.SearchVariantsResponse(); |
1608 buildCounterSearchVariantsResponse++; | 1618 buildCounterSearchVariantsResponse++; |
1609 if (buildCounterSearchVariantsResponse < 3) { | 1619 if (buildCounterSearchVariantsResponse < 3) { |
1610 o.nextPageToken = "foo"; | 1620 o.nextPageToken = "foo"; |
1611 o.variants = buildUnnamed1193(); | 1621 o.variants = buildUnnamed1215(); |
1612 } | 1622 } |
1613 buildCounterSearchVariantsResponse--; | 1623 buildCounterSearchVariantsResponse--; |
1614 return o; | 1624 return o; |
1615 } | 1625 } |
1616 | 1626 |
1617 checkSearchVariantsResponse(api.SearchVariantsResponse o) { | 1627 checkSearchVariantsResponse(api.SearchVariantsResponse o) { |
1618 buildCounterSearchVariantsResponse++; | 1628 buildCounterSearchVariantsResponse++; |
1619 if (buildCounterSearchVariantsResponse < 3) { | 1629 if (buildCounterSearchVariantsResponse < 3) { |
1620 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1630 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1621 checkUnnamed1193(o.variants); | 1631 checkUnnamed1215(o.variants); |
1622 } | 1632 } |
1623 buildCounterSearchVariantsResponse--; | 1633 buildCounterSearchVariantsResponse--; |
1624 } | 1634 } |
1625 | 1635 |
1626 buildUnnamed1194() { | 1636 buildUnnamed1216() { |
1627 var o = new core.List<core.String>(); | 1637 var o = new core.List<core.String>(); |
1628 o.add("foo"); | 1638 o.add("foo"); |
1629 o.add("foo"); | 1639 o.add("foo"); |
1630 return o; | 1640 return o; |
1631 } | 1641 } |
1632 | 1642 |
1633 checkUnnamed1194(core.List<core.String> o) { | 1643 checkUnnamed1216(core.List<core.String> o) { |
1634 unittest.expect(o, unittest.hasLength(2)); | 1644 unittest.expect(o, unittest.hasLength(2)); |
1635 unittest.expect(o[0], unittest.equals('foo')); | 1645 unittest.expect(o[0], unittest.equals('foo')); |
1636 unittest.expect(o[1], unittest.equals('foo')); | 1646 unittest.expect(o[1], unittest.equals('foo')); |
1637 } | 1647 } |
1638 | 1648 |
1639 buildUnnamed1195() { | 1649 buildUnnamed1217() { |
1640 var o = new core.List<api.Call>(); | 1650 var o = new core.List<api.Call>(); |
1641 o.add(buildCall()); | 1651 o.add(buildCall()); |
1642 o.add(buildCall()); | 1652 o.add(buildCall()); |
1643 return o; | 1653 return o; |
1644 } | 1654 } |
1645 | 1655 |
1646 checkUnnamed1195(core.List<api.Call> o) { | 1656 checkUnnamed1217(core.List<api.Call> o) { |
1647 unittest.expect(o, unittest.hasLength(2)); | 1657 unittest.expect(o, unittest.hasLength(2)); |
1648 checkCall(o[0]); | 1658 checkCall(o[0]); |
1649 checkCall(o[1]); | 1659 checkCall(o[1]); |
1650 } | 1660 } |
1651 | 1661 |
1652 buildUnnamed1196() { | 1662 buildUnnamed1218() { |
1653 var o = new core.List<core.String>(); | 1663 var o = new core.List<core.String>(); |
1654 o.add("foo"); | 1664 o.add("foo"); |
1655 o.add("foo"); | 1665 o.add("foo"); |
1656 return o; | 1666 return o; |
1657 } | 1667 } |
1658 | 1668 |
1659 checkUnnamed1196(core.List<core.String> o) { | 1669 checkUnnamed1218(core.List<core.String> o) { |
1660 unittest.expect(o, unittest.hasLength(2)); | 1670 unittest.expect(o, unittest.hasLength(2)); |
1661 unittest.expect(o[0], unittest.equals('foo')); | 1671 unittest.expect(o[0], unittest.equals('foo')); |
1662 unittest.expect(o[1], unittest.equals('foo')); | 1672 unittest.expect(o[1], unittest.equals('foo')); |
1663 } | 1673 } |
1664 | 1674 |
1665 buildUnnamed1197() { | 1675 buildUnnamed1219() { |
1666 var o = new core.Map<core.String, core.List<core.String>>(); | |
1667 o["x"] = buildUnnamed1196(); | |
1668 o["y"] = buildUnnamed1196(); | |
1669 return o; | |
1670 } | |
1671 | |
1672 checkUnnamed1197(core.Map<core.String, core.List<core.String>> o) { | |
1673 unittest.expect(o, unittest.hasLength(2)); | |
1674 checkUnnamed1196(o["x"]); | |
1675 checkUnnamed1196(o["y"]); | |
1676 } | |
1677 | |
1678 buildUnnamed1198() { | |
1679 var o = new core.List<core.String>(); | 1676 var o = new core.List<core.String>(); |
1680 o.add("foo"); | 1677 o.add("foo"); |
1681 o.add("foo"); | 1678 o.add("foo"); |
1682 return o; | 1679 return o; |
1683 } | 1680 } |
1684 | 1681 |
1685 checkUnnamed1198(core.List<core.String> o) { | 1682 checkUnnamed1219(core.List<core.String> o) { |
1686 unittest.expect(o, unittest.hasLength(2)); | 1683 unittest.expect(o, unittest.hasLength(2)); |
1687 unittest.expect(o[0], unittest.equals('foo')); | 1684 unittest.expect(o[0], unittest.equals('foo')); |
1688 unittest.expect(o[1], unittest.equals('foo')); | 1685 unittest.expect(o[1], unittest.equals('foo')); |
| 1686 } |
| 1687 |
| 1688 buildUnnamed1220() { |
| 1689 var o = new core.Map<core.String, core.List<core.String>>(); |
| 1690 o["x"] = buildUnnamed1219(); |
| 1691 o["y"] = buildUnnamed1219(); |
| 1692 return o; |
| 1693 } |
| 1694 |
| 1695 checkUnnamed1220(core.Map<core.String, core.List<core.String>> o) { |
| 1696 unittest.expect(o, unittest.hasLength(2)); |
| 1697 checkUnnamed1219(o["x"]); |
| 1698 checkUnnamed1219(o["y"]); |
| 1699 } |
| 1700 |
| 1701 buildUnnamed1221() { |
| 1702 var o = new core.List<core.String>(); |
| 1703 o.add("foo"); |
| 1704 o.add("foo"); |
| 1705 return o; |
| 1706 } |
| 1707 |
| 1708 checkUnnamed1221(core.List<core.String> o) { |
| 1709 unittest.expect(o, unittest.hasLength(2)); |
| 1710 unittest.expect(o[0], unittest.equals('foo')); |
| 1711 unittest.expect(o[1], unittest.equals('foo')); |
1689 } | 1712 } |
1690 | 1713 |
1691 core.int buildCounterVariant = 0; | 1714 core.int buildCounterVariant = 0; |
1692 buildVariant() { | 1715 buildVariant() { |
1693 var o = new api.Variant(); | 1716 var o = new api.Variant(); |
1694 buildCounterVariant++; | 1717 buildCounterVariant++; |
1695 if (buildCounterVariant < 3) { | 1718 if (buildCounterVariant < 3) { |
1696 o.alternateBases = buildUnnamed1194(); | 1719 o.alternateBases = buildUnnamed1216(); |
1697 o.calls = buildUnnamed1195(); | 1720 o.calls = buildUnnamed1217(); |
1698 o.created = "foo"; | 1721 o.created = "foo"; |
1699 o.end = "foo"; | 1722 o.end = "foo"; |
| 1723 o.filter = buildUnnamed1218(); |
1700 o.id = "foo"; | 1724 o.id = "foo"; |
1701 o.info = buildUnnamed1197(); | 1725 o.info = buildUnnamed1220(); |
1702 o.names = buildUnnamed1198(); | 1726 o.names = buildUnnamed1221(); |
| 1727 o.quality = 42.0; |
1703 o.referenceBases = "foo"; | 1728 o.referenceBases = "foo"; |
1704 o.referenceName = "foo"; | 1729 o.referenceName = "foo"; |
1705 o.start = "foo"; | 1730 o.start = "foo"; |
1706 o.variantSetId = "foo"; | 1731 o.variantSetId = "foo"; |
1707 } | 1732 } |
1708 buildCounterVariant--; | 1733 buildCounterVariant--; |
1709 return o; | 1734 return o; |
1710 } | 1735 } |
1711 | 1736 |
1712 checkVariant(api.Variant o) { | 1737 checkVariant(api.Variant o) { |
1713 buildCounterVariant++; | 1738 buildCounterVariant++; |
1714 if (buildCounterVariant < 3) { | 1739 if (buildCounterVariant < 3) { |
1715 checkUnnamed1194(o.alternateBases); | 1740 checkUnnamed1216(o.alternateBases); |
1716 checkUnnamed1195(o.calls); | 1741 checkUnnamed1217(o.calls); |
1717 unittest.expect(o.created, unittest.equals('foo')); | 1742 unittest.expect(o.created, unittest.equals('foo')); |
1718 unittest.expect(o.end, unittest.equals('foo')); | 1743 unittest.expect(o.end, unittest.equals('foo')); |
| 1744 checkUnnamed1218(o.filter); |
1719 unittest.expect(o.id, unittest.equals('foo')); | 1745 unittest.expect(o.id, unittest.equals('foo')); |
1720 checkUnnamed1197(o.info); | 1746 checkUnnamed1220(o.info); |
1721 checkUnnamed1198(o.names); | 1747 checkUnnamed1221(o.names); |
| 1748 unittest.expect(o.quality, unittest.equals(42.0)); |
1722 unittest.expect(o.referenceBases, unittest.equals('foo')); | 1749 unittest.expect(o.referenceBases, unittest.equals('foo')); |
1723 unittest.expect(o.referenceName, unittest.equals('foo')); | 1750 unittest.expect(o.referenceName, unittest.equals('foo')); |
1724 unittest.expect(o.start, unittest.equals('foo')); | 1751 unittest.expect(o.start, unittest.equals('foo')); |
1725 unittest.expect(o.variantSetId, unittest.equals('foo')); | 1752 unittest.expect(o.variantSetId, unittest.equals('foo')); |
1726 } | 1753 } |
1727 buildCounterVariant--; | 1754 buildCounterVariant--; |
1728 } | 1755 } |
1729 | 1756 |
1730 buildUnnamed1199() { | 1757 buildUnnamed1222() { |
1731 var o = new core.List<api.Metadata>(); | 1758 var o = new core.List<api.Metadata>(); |
1732 o.add(buildMetadata()); | 1759 o.add(buildMetadata()); |
1733 o.add(buildMetadata()); | 1760 o.add(buildMetadata()); |
1734 return o; | 1761 return o; |
1735 } | 1762 } |
1736 | 1763 |
1737 checkUnnamed1199(core.List<api.Metadata> o) { | 1764 checkUnnamed1222(core.List<api.Metadata> o) { |
1738 unittest.expect(o, unittest.hasLength(2)); | 1765 unittest.expect(o, unittest.hasLength(2)); |
1739 checkMetadata(o[0]); | 1766 checkMetadata(o[0]); |
1740 checkMetadata(o[1]); | 1767 checkMetadata(o[1]); |
1741 } | 1768 } |
1742 | 1769 |
1743 buildUnnamed1200() { | 1770 buildUnnamed1223() { |
1744 var o = new core.List<api.ReferenceBound>(); | 1771 var o = new core.List<api.ReferenceBound>(); |
1745 o.add(buildReferenceBound()); | 1772 o.add(buildReferenceBound()); |
1746 o.add(buildReferenceBound()); | 1773 o.add(buildReferenceBound()); |
1747 return o; | 1774 return o; |
1748 } | 1775 } |
1749 | 1776 |
1750 checkUnnamed1200(core.List<api.ReferenceBound> o) { | 1777 checkUnnamed1223(core.List<api.ReferenceBound> o) { |
1751 unittest.expect(o, unittest.hasLength(2)); | 1778 unittest.expect(o, unittest.hasLength(2)); |
1752 checkReferenceBound(o[0]); | 1779 checkReferenceBound(o[0]); |
1753 checkReferenceBound(o[1]); | 1780 checkReferenceBound(o[1]); |
1754 } | 1781 } |
1755 | 1782 |
1756 core.int buildCounterVariantSet = 0; | 1783 core.int buildCounterVariantSet = 0; |
1757 buildVariantSet() { | 1784 buildVariantSet() { |
1758 var o = new api.VariantSet(); | 1785 var o = new api.VariantSet(); |
1759 buildCounterVariantSet++; | 1786 buildCounterVariantSet++; |
1760 if (buildCounterVariantSet < 3) { | 1787 if (buildCounterVariantSet < 3) { |
1761 o.datasetId = "foo"; | 1788 o.datasetId = "foo"; |
1762 o.id = "foo"; | 1789 o.id = "foo"; |
1763 o.metadata = buildUnnamed1199(); | 1790 o.metadata = buildUnnamed1222(); |
1764 o.referenceBounds = buildUnnamed1200(); | 1791 o.referenceBounds = buildUnnamed1223(); |
1765 } | 1792 } |
1766 buildCounterVariantSet--; | 1793 buildCounterVariantSet--; |
1767 return o; | 1794 return o; |
1768 } | 1795 } |
1769 | 1796 |
1770 checkVariantSet(api.VariantSet o) { | 1797 checkVariantSet(api.VariantSet o) { |
1771 buildCounterVariantSet++; | 1798 buildCounterVariantSet++; |
1772 if (buildCounterVariantSet < 3) { | 1799 if (buildCounterVariantSet < 3) { |
1773 unittest.expect(o.datasetId, unittest.equals('foo')); | 1800 unittest.expect(o.datasetId, unittest.equals('foo')); |
1774 unittest.expect(o.id, unittest.equals('foo')); | 1801 unittest.expect(o.id, unittest.equals('foo')); |
1775 checkUnnamed1199(o.metadata); | 1802 checkUnnamed1222(o.metadata); |
1776 checkUnnamed1200(o.referenceBounds); | 1803 checkUnnamed1223(o.referenceBounds); |
1777 } | 1804 } |
1778 buildCounterVariantSet--; | 1805 buildCounterVariantSet--; |
1779 } | 1806 } |
1780 | 1807 |
1781 | 1808 |
1782 main() { | 1809 main() { |
1783 unittest.group("obj-schema-Beacon", () { | 1810 unittest.group("obj-schema-Beacon", () { |
1784 unittest.test("to-json--from-json", () { | 1811 unittest.test("to-json--from-json", () { |
1785 var o = buildBeacon(); | 1812 var o = buildBeacon(); |
1786 var od = new api.Beacon.fromJson(o.toJson()); | 1813 var od = new api.Beacon.fromJson(o.toJson()); |
(...skipping 2222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4009 "content-type" : "application/json; charset=utf-8", | 4036 "content-type" : "application/json; charset=utf-8", |
4010 }; | 4037 }; |
4011 var resp = convert.JSON.encode(buildVariantSet()); | 4038 var resp = convert.JSON.encode(buildVariantSet()); |
4012 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 4039 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
4013 }), true); | 4040 }), true); |
4014 res.get(arg_variantSetId).then(unittest.expectAsync(((api.VariantSet respo
nse) { | 4041 res.get(arg_variantSetId).then(unittest.expectAsync(((api.VariantSet respo
nse) { |
4015 checkVariantSet(response); | 4042 checkVariantSet(response); |
4016 }))); | 4043 }))); |
4017 }); | 4044 }); |
4018 | 4045 |
| 4046 unittest.test("method--mergeVariants", () { |
| 4047 |
| 4048 var mock = new common_test.HttpServerMock(); |
| 4049 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; |
| 4050 var arg_request = buildVariant(); |
| 4051 var arg_variantSetId = "foo"; |
| 4052 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4053 var obj = new api.Variant.fromJson(json); |
| 4054 checkVariant(obj); |
| 4055 |
| 4056 var path = (req.url).path; |
| 4057 var pathOffset = 0; |
| 4058 var index; |
| 4059 var subPart; |
| 4060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4061 pathOffset += 1; |
| 4062 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("genomics/v1beta/")); |
| 4063 pathOffset += 16; |
| 4064 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("variantsets/")); |
| 4065 pathOffset += 12; |
| 4066 index = path.indexOf("/mergeVariants", pathOffset); |
| 4067 unittest.expect(index >= 0, unittest.isTrue); |
| 4068 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index
)); |
| 4069 pathOffset = index; |
| 4070 unittest.expect(subPart, unittest.equals("$arg_variantSetId")); |
| 4071 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("/mergeVariants")); |
| 4072 pathOffset += 14; |
| 4073 |
| 4074 var query = (req.url).query; |
| 4075 var queryOffset = 0; |
| 4076 var queryMap = {}; |
| 4077 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4078 parseBool(n) { |
| 4079 if (n == "true") return true; |
| 4080 if (n == "false") return false; |
| 4081 if (n == null) return null; |
| 4082 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4083 } |
| 4084 if (query.length > 0) { |
| 4085 for (var part in query.split("&")) { |
| 4086 var keyvalue = part.split("="); |
| 4087 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4088 } |
| 4089 } |
| 4090 |
| 4091 |
| 4092 var h = { |
| 4093 "content-type" : "application/json; charset=utf-8", |
| 4094 }; |
| 4095 var resp = ""; |
| 4096 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 4097 }), true); |
| 4098 res.mergeVariants(arg_request, arg_variantSetId).then(unittest.expectAsync
((_) {})); |
| 4099 }); |
| 4100 |
4019 unittest.test("method--search", () { | 4101 unittest.test("method--search", () { |
4020 | 4102 |
4021 var mock = new common_test.HttpServerMock(); | 4103 var mock = new common_test.HttpServerMock(); |
4022 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; | 4104 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; |
4023 var arg_request = buildSearchVariantSetsRequest(); | 4105 var arg_request = buildSearchVariantSetsRequest(); |
4024 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4106 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4025 var obj = new api.SearchVariantSetsRequest.fromJson(json); | 4107 var obj = new api.SearchVariantSetsRequest.fromJson(json); |
4026 checkSearchVariantSetsRequest(obj); | 4108 checkSearchVariantSetsRequest(obj); |
4027 | 4109 |
4028 var path = (req.url).path; | 4110 var path = (req.url).path; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4063 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { | 4145 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { |
4064 checkSearchVariantSetsResponse(response); | 4146 checkSearchVariantSetsResponse(response); |
4065 }))); | 4147 }))); |
4066 }); | 4148 }); |
4067 | 4149 |
4068 }); | 4150 }); |
4069 | 4151 |
4070 | 4152 |
4071 } | 4153 } |
4072 | 4154 |
OLD | NEW |