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 buildUnnamed1213() { |
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 checkUnnamed1213(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 buildUnnamed1214() { |
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 checkUnnamed1214(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 buildUnnamed1215() { |
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 checkUnnamed1215(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 buildUnnamed1216() { |
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"] = buildUnnamed1215(); |
80 o["y"] = buildUnnamed1152(); | 80 o["y"] = buildUnnamed1215(); |
81 return o; | 81 return o; |
82 } | 82 } |
83 | 83 |
84 checkUnnamed1153(core.Map<core.String, core.List<core.String>> o) { | 84 checkUnnamed1216(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 checkUnnamed1215(o["x"]); |
87 checkUnnamed1152(o["y"]); | 87 checkUnnamed1215(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 = buildUnnamed1213(); |
98 o.genotypeLikelihood = buildUnnamed1151(); | 98 o.genotypeLikelihood = buildUnnamed1214(); |
99 o.info = buildUnnamed1153(); | 99 o.info = buildUnnamed1216(); |
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 checkUnnamed1213(o.genotype); |
112 checkUnnamed1151(o.genotypeLikelihood); | 112 checkUnnamed1214(o.genotypeLikelihood); |
113 checkUnnamed1153(o.info); | 113 checkUnnamed1216(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 buildUnnamed1217() { |
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 checkUnnamed1217(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 buildUnnamed1218() { |
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"] = buildUnnamed1217(); |
135 o["y"] = buildUnnamed1154(); | 135 o["y"] = buildUnnamed1217(); |
136 return o; | 136 return o; |
137 } | 137 } |
138 | 138 |
139 checkUnnamed1155(core.Map<core.String, core.List<core.String>> o) { | 139 checkUnnamed1218(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 checkUnnamed1217(o["x"]); |
142 checkUnnamed1154(o["y"]); | 142 checkUnnamed1217(o["y"]); |
143 } | 143 } |
144 | 144 |
145 buildUnnamed1156() { | 145 buildUnnamed1219() { |
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 checkUnnamed1219(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 = buildUnnamed1218(); |
166 o.name = "foo"; | 166 o.name = "foo"; |
167 o.sampleId = "foo"; | 167 o.sampleId = "foo"; |
168 o.variantSetIds = buildUnnamed1156(); | 168 o.variantSetIds = buildUnnamed1219(); |
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 checkUnnamed1218(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 checkUnnamed1219(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 buildUnnamed1220() { |
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 checkUnnamed1220(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 buildUnnamed1221() { |
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 checkUnnamed1221(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.libraryName = "foo"; | 267 o.pairedSourceUris = buildUnnamed1220(); |
268 o.pairedSourceUris = buildUnnamed1157(); | |
269 o.platformName = "foo"; | |
270 o.platformUnit = "foo"; | |
271 o.projectId = "foo"; | 268 o.projectId = "foo"; |
272 o.readGroupId = "foo"; | 269 o.sourceUris = buildUnnamed1221(); |
273 o.sampleName = "foo"; | |
274 o.sourceUris = buildUnnamed1158(); | |
275 } | 270 } |
276 buildCounterExperimentalCreateJobRequest--; | 271 buildCounterExperimentalCreateJobRequest--; |
277 return o; | 272 return o; |
278 } | 273 } |
279 | 274 |
280 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { | 275 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { |
281 buildCounterExperimentalCreateJobRequest++; | 276 buildCounterExperimentalCreateJobRequest++; |
282 if (buildCounterExperimentalCreateJobRequest < 3) { | 277 if (buildCounterExperimentalCreateJobRequest < 3) { |
283 unittest.expect(o.align, unittest.isTrue); | 278 unittest.expect(o.align, unittest.isTrue); |
284 unittest.expect(o.callVariants, unittest.isTrue); | 279 unittest.expect(o.callVariants, unittest.isTrue); |
285 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); | 280 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); |
286 unittest.expect(o.libraryName, unittest.equals('foo')); | 281 checkUnnamed1220(o.pairedSourceUris); |
287 checkUnnamed1157(o.pairedSourceUris); | |
288 unittest.expect(o.platformName, unittest.equals('foo')); | |
289 unittest.expect(o.platformUnit, unittest.equals('foo')); | |
290 unittest.expect(o.projectId, unittest.equals('foo')); | 282 unittest.expect(o.projectId, unittest.equals('foo')); |
291 unittest.expect(o.readGroupId, unittest.equals('foo')); | 283 checkUnnamed1221(o.sourceUris); |
292 unittest.expect(o.sampleName, unittest.equals('foo')); | |
293 checkUnnamed1158(o.sourceUris); | |
294 } | 284 } |
295 buildCounterExperimentalCreateJobRequest--; | 285 buildCounterExperimentalCreateJobRequest--; |
296 } | 286 } |
297 | 287 |
298 core.int buildCounterExperimentalCreateJobResponse = 0; | 288 core.int buildCounterExperimentalCreateJobResponse = 0; |
299 buildExperimentalCreateJobResponse() { | 289 buildExperimentalCreateJobResponse() { |
300 var o = new api.ExperimentalCreateJobResponse(); | 290 var o = new api.ExperimentalCreateJobResponse(); |
301 buildCounterExperimentalCreateJobResponse++; | 291 buildCounterExperimentalCreateJobResponse++; |
302 if (buildCounterExperimentalCreateJobResponse < 3) { | 292 if (buildCounterExperimentalCreateJobResponse < 3) { |
303 o.jobId = "foo"; | 293 o.jobId = "foo"; |
304 } | 294 } |
305 buildCounterExperimentalCreateJobResponse--; | 295 buildCounterExperimentalCreateJobResponse--; |
306 return o; | 296 return o; |
307 } | 297 } |
308 | 298 |
309 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { | 299 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { |
310 buildCounterExperimentalCreateJobResponse++; | 300 buildCounterExperimentalCreateJobResponse++; |
311 if (buildCounterExperimentalCreateJobResponse < 3) { | 301 if (buildCounterExperimentalCreateJobResponse < 3) { |
312 unittest.expect(o.jobId, unittest.equals('foo')); | 302 unittest.expect(o.jobId, unittest.equals('foo')); |
313 } | 303 } |
314 buildCounterExperimentalCreateJobResponse--; | 304 buildCounterExperimentalCreateJobResponse--; |
315 } | 305 } |
316 | 306 |
317 buildUnnamed1159() { | 307 buildUnnamed1222() { |
318 var o = new core.List<core.String>(); | 308 var o = new core.List<core.String>(); |
319 o.add("foo"); | 309 o.add("foo"); |
320 o.add("foo"); | 310 o.add("foo"); |
321 return o; | 311 return o; |
322 } | 312 } |
323 | 313 |
324 checkUnnamed1159(core.List<core.String> o) { | 314 checkUnnamed1222(core.List<core.String> o) { |
325 unittest.expect(o, unittest.hasLength(2)); | 315 unittest.expect(o, unittest.hasLength(2)); |
326 unittest.expect(o[0], unittest.equals('foo')); | 316 unittest.expect(o[0], unittest.equals('foo')); |
327 unittest.expect(o[1], unittest.equals('foo')); | 317 unittest.expect(o[1], unittest.equals('foo')); |
328 } | 318 } |
329 | 319 |
330 buildUnnamed1160() { | 320 buildUnnamed1223() { |
331 var o = new core.List<core.String>(); | 321 var o = new core.List<core.String>(); |
332 o.add("foo"); | 322 o.add("foo"); |
333 o.add("foo"); | 323 o.add("foo"); |
334 return o; | 324 return o; |
335 } | 325 } |
336 | 326 |
337 checkUnnamed1160(core.List<core.String> o) { | 327 checkUnnamed1223(core.List<core.String> o) { |
338 unittest.expect(o, unittest.hasLength(2)); | 328 unittest.expect(o, unittest.hasLength(2)); |
339 unittest.expect(o[0], unittest.equals('foo')); | 329 unittest.expect(o[0], unittest.equals('foo')); |
340 unittest.expect(o[1], unittest.equals('foo')); | 330 unittest.expect(o[1], unittest.equals('foo')); |
341 } | 331 } |
342 | 332 |
343 core.int buildCounterExportReadsetsRequest = 0; | 333 core.int buildCounterExportReadsetsRequest = 0; |
344 buildExportReadsetsRequest() { | 334 buildExportReadsetsRequest() { |
345 var o = new api.ExportReadsetsRequest(); | 335 var o = new api.ExportReadsetsRequest(); |
346 buildCounterExportReadsetsRequest++; | 336 buildCounterExportReadsetsRequest++; |
347 if (buildCounterExportReadsetsRequest < 3) { | 337 if (buildCounterExportReadsetsRequest < 3) { |
348 o.exportUri = "foo"; | 338 o.exportUri = "foo"; |
349 o.projectId = "foo"; | 339 o.projectId = "foo"; |
350 o.readsetIds = buildUnnamed1159(); | 340 o.readsetIds = buildUnnamed1222(); |
351 o.referenceNames = buildUnnamed1160(); | 341 o.referenceNames = buildUnnamed1223(); |
352 } | 342 } |
353 buildCounterExportReadsetsRequest--; | 343 buildCounterExportReadsetsRequest--; |
354 return o; | 344 return o; |
355 } | 345 } |
356 | 346 |
357 checkExportReadsetsRequest(api.ExportReadsetsRequest o) { | 347 checkExportReadsetsRequest(api.ExportReadsetsRequest o) { |
358 buildCounterExportReadsetsRequest++; | 348 buildCounterExportReadsetsRequest++; |
359 if (buildCounterExportReadsetsRequest < 3) { | 349 if (buildCounterExportReadsetsRequest < 3) { |
360 unittest.expect(o.exportUri, unittest.equals('foo')); | 350 unittest.expect(o.exportUri, unittest.equals('foo')); |
361 unittest.expect(o.projectId, unittest.equals('foo')); | 351 unittest.expect(o.projectId, unittest.equals('foo')); |
362 checkUnnamed1159(o.readsetIds); | 352 checkUnnamed1222(o.readsetIds); |
363 checkUnnamed1160(o.referenceNames); | 353 checkUnnamed1223(o.referenceNames); |
364 } | 354 } |
365 buildCounterExportReadsetsRequest--; | 355 buildCounterExportReadsetsRequest--; |
366 } | 356 } |
367 | 357 |
368 core.int buildCounterExportReadsetsResponse = 0; | 358 core.int buildCounterExportReadsetsResponse = 0; |
369 buildExportReadsetsResponse() { | 359 buildExportReadsetsResponse() { |
370 var o = new api.ExportReadsetsResponse(); | 360 var o = new api.ExportReadsetsResponse(); |
371 buildCounterExportReadsetsResponse++; | 361 buildCounterExportReadsetsResponse++; |
372 if (buildCounterExportReadsetsResponse < 3) { | 362 if (buildCounterExportReadsetsResponse < 3) { |
373 o.jobId = "foo"; | 363 o.jobId = "foo"; |
374 } | 364 } |
375 buildCounterExportReadsetsResponse--; | 365 buildCounterExportReadsetsResponse--; |
376 return o; | 366 return o; |
377 } | 367 } |
378 | 368 |
379 checkExportReadsetsResponse(api.ExportReadsetsResponse o) { | 369 checkExportReadsetsResponse(api.ExportReadsetsResponse o) { |
380 buildCounterExportReadsetsResponse++; | 370 buildCounterExportReadsetsResponse++; |
381 if (buildCounterExportReadsetsResponse < 3) { | 371 if (buildCounterExportReadsetsResponse < 3) { |
382 unittest.expect(o.jobId, unittest.equals('foo')); | 372 unittest.expect(o.jobId, unittest.equals('foo')); |
383 } | 373 } |
384 buildCounterExportReadsetsResponse--; | 374 buildCounterExportReadsetsResponse--; |
385 } | 375 } |
386 | 376 |
387 buildUnnamed1161() { | 377 buildUnnamed1224() { |
388 var o = new core.List<core.String>(); | 378 var o = new core.List<core.String>(); |
389 o.add("foo"); | 379 o.add("foo"); |
390 o.add("foo"); | 380 o.add("foo"); |
391 return o; | 381 return o; |
392 } | 382 } |
393 | 383 |
394 checkUnnamed1161(core.List<core.String> o) { | 384 checkUnnamed1224(core.List<core.String> o) { |
395 unittest.expect(o, unittest.hasLength(2)); | 385 unittest.expect(o, unittest.hasLength(2)); |
396 unittest.expect(o[0], unittest.equals('foo')); | 386 unittest.expect(o[0], unittest.equals('foo')); |
397 unittest.expect(o[1], unittest.equals('foo')); | 387 unittest.expect(o[1], unittest.equals('foo')); |
398 } | 388 } |
399 | 389 |
400 core.int buildCounterExportVariantsRequest = 0; | 390 core.int buildCounterExportVariantsRequest = 0; |
401 buildExportVariantsRequest() { | 391 buildExportVariantsRequest() { |
402 var o = new api.ExportVariantsRequest(); | 392 var o = new api.ExportVariantsRequest(); |
403 buildCounterExportVariantsRequest++; | 393 buildCounterExportVariantsRequest++; |
404 if (buildCounterExportVariantsRequest < 3) { | 394 if (buildCounterExportVariantsRequest < 3) { |
405 o.bigqueryDataset = "foo"; | 395 o.bigqueryDataset = "foo"; |
406 o.bigqueryTable = "foo"; | 396 o.bigqueryTable = "foo"; |
407 o.callSetIds = buildUnnamed1161(); | 397 o.callSetIds = buildUnnamed1224(); |
408 o.format = "foo"; | 398 o.format = "foo"; |
409 o.projectId = "foo"; | 399 o.projectId = "foo"; |
410 o.variantSetId = "foo"; | 400 o.variantSetId = "foo"; |
411 } | 401 } |
412 buildCounterExportVariantsRequest--; | 402 buildCounterExportVariantsRequest--; |
413 return o; | 403 return o; |
414 } | 404 } |
415 | 405 |
416 checkExportVariantsRequest(api.ExportVariantsRequest o) { | 406 checkExportVariantsRequest(api.ExportVariantsRequest o) { |
417 buildCounterExportVariantsRequest++; | 407 buildCounterExportVariantsRequest++; |
418 if (buildCounterExportVariantsRequest < 3) { | 408 if (buildCounterExportVariantsRequest < 3) { |
419 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); | 409 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); |
420 unittest.expect(o.bigqueryTable, unittest.equals('foo')); | 410 unittest.expect(o.bigqueryTable, unittest.equals('foo')); |
421 checkUnnamed1161(o.callSetIds); | 411 checkUnnamed1224(o.callSetIds); |
422 unittest.expect(o.format, unittest.equals('foo')); | 412 unittest.expect(o.format, unittest.equals('foo')); |
423 unittest.expect(o.projectId, unittest.equals('foo')); | 413 unittest.expect(o.projectId, unittest.equals('foo')); |
424 unittest.expect(o.variantSetId, unittest.equals('foo')); | 414 unittest.expect(o.variantSetId, unittest.equals('foo')); |
425 } | 415 } |
426 buildCounterExportVariantsRequest--; | 416 buildCounterExportVariantsRequest--; |
427 } | 417 } |
428 | 418 |
429 core.int buildCounterExportVariantsResponse = 0; | 419 core.int buildCounterExportVariantsResponse = 0; |
430 buildExportVariantsResponse() { | 420 buildExportVariantsResponse() { |
431 var o = new api.ExportVariantsResponse(); | 421 var o = new api.ExportVariantsResponse(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 472 |
483 checkHeader(api.Header o) { | 473 checkHeader(api.Header o) { |
484 buildCounterHeader++; | 474 buildCounterHeader++; |
485 if (buildCounterHeader < 3) { | 475 if (buildCounterHeader < 3) { |
486 unittest.expect(o.sortingOrder, unittest.equals('foo')); | 476 unittest.expect(o.sortingOrder, unittest.equals('foo')); |
487 unittest.expect(o.version, unittest.equals('foo')); | 477 unittest.expect(o.version, unittest.equals('foo')); |
488 } | 478 } |
489 buildCounterHeader--; | 479 buildCounterHeader--; |
490 } | 480 } |
491 | 481 |
492 buildUnnamed1162() { | 482 buildUnnamed1225() { |
493 var o = new core.List<core.String>(); | 483 var o = new core.List<core.String>(); |
494 o.add("foo"); | 484 o.add("foo"); |
495 o.add("foo"); | 485 o.add("foo"); |
496 return o; | 486 return o; |
497 } | 487 } |
498 | 488 |
499 checkUnnamed1162(core.List<core.String> o) { | 489 checkUnnamed1225(core.List<core.String> o) { |
500 unittest.expect(o, unittest.hasLength(2)); | 490 unittest.expect(o, unittest.hasLength(2)); |
501 unittest.expect(o[0], unittest.equals('foo')); | 491 unittest.expect(o[0], unittest.equals('foo')); |
502 unittest.expect(o[1], unittest.equals('foo')); | 492 unittest.expect(o[1], unittest.equals('foo')); |
503 } | 493 } |
504 | 494 |
505 buildUnnamed1163() { | 495 buildUnnamed1226() { |
506 var o = new core.List<api.Header>(); | 496 var o = new core.List<api.Header>(); |
507 o.add(buildHeader()); | 497 o.add(buildHeader()); |
508 o.add(buildHeader()); | 498 o.add(buildHeader()); |
509 return o; | 499 return o; |
510 } | 500 } |
511 | 501 |
512 checkUnnamed1163(core.List<api.Header> o) { | 502 checkUnnamed1226(core.List<api.Header> o) { |
513 unittest.expect(o, unittest.hasLength(2)); | 503 unittest.expect(o, unittest.hasLength(2)); |
514 checkHeader(o[0]); | 504 checkHeader(o[0]); |
515 checkHeader(o[1]); | 505 checkHeader(o[1]); |
516 } | 506 } |
517 | 507 |
518 buildUnnamed1164() { | 508 buildUnnamed1227() { |
519 var o = new core.List<api.Program>(); | 509 var o = new core.List<api.Program>(); |
520 o.add(buildProgram()); | 510 o.add(buildProgram()); |
521 o.add(buildProgram()); | 511 o.add(buildProgram()); |
522 return o; | 512 return o; |
523 } | 513 } |
524 | 514 |
525 checkUnnamed1164(core.List<api.Program> o) { | 515 checkUnnamed1227(core.List<api.Program> o) { |
526 unittest.expect(o, unittest.hasLength(2)); | 516 unittest.expect(o, unittest.hasLength(2)); |
527 checkProgram(o[0]); | 517 checkProgram(o[0]); |
528 checkProgram(o[1]); | 518 checkProgram(o[1]); |
529 } | 519 } |
530 | 520 |
531 buildUnnamed1165() { | 521 buildUnnamed1228() { |
532 var o = new core.List<api.ReadGroup>(); | 522 var o = new core.List<api.ReadGroup>(); |
533 o.add(buildReadGroup()); | 523 o.add(buildReadGroup()); |
534 o.add(buildReadGroup()); | 524 o.add(buildReadGroup()); |
535 return o; | 525 return o; |
536 } | 526 } |
537 | 527 |
538 checkUnnamed1165(core.List<api.ReadGroup> o) { | 528 checkUnnamed1228(core.List<api.ReadGroup> o) { |
539 unittest.expect(o, unittest.hasLength(2)); | 529 unittest.expect(o, unittest.hasLength(2)); |
540 checkReadGroup(o[0]); | 530 checkReadGroup(o[0]); |
541 checkReadGroup(o[1]); | 531 checkReadGroup(o[1]); |
542 } | 532 } |
543 | 533 |
544 buildUnnamed1166() { | 534 buildUnnamed1229() { |
545 var o = new core.List<api.ReferenceSequence>(); | 535 var o = new core.List<api.ReferenceSequence>(); |
546 o.add(buildReferenceSequence()); | 536 o.add(buildReferenceSequence()); |
547 o.add(buildReferenceSequence()); | 537 o.add(buildReferenceSequence()); |
548 return o; | 538 return o; |
549 } | 539 } |
550 | 540 |
551 checkUnnamed1166(core.List<api.ReferenceSequence> o) { | 541 checkUnnamed1229(core.List<api.ReferenceSequence> o) { |
552 unittest.expect(o, unittest.hasLength(2)); | 542 unittest.expect(o, unittest.hasLength(2)); |
553 checkReferenceSequence(o[0]); | 543 checkReferenceSequence(o[0]); |
554 checkReferenceSequence(o[1]); | 544 checkReferenceSequence(o[1]); |
555 } | 545 } |
556 | 546 |
557 core.int buildCounterHeaderSection = 0; | 547 core.int buildCounterHeaderSection = 0; |
558 buildHeaderSection() { | 548 buildHeaderSection() { |
559 var o = new api.HeaderSection(); | 549 var o = new api.HeaderSection(); |
560 buildCounterHeaderSection++; | 550 buildCounterHeaderSection++; |
561 if (buildCounterHeaderSection < 3) { | 551 if (buildCounterHeaderSection < 3) { |
562 o.comments = buildUnnamed1162(); | 552 o.comments = buildUnnamed1225(); |
563 o.fileUri = "foo"; | 553 o.fileUri = "foo"; |
564 o.filename = "foo"; | 554 o.filename = "foo"; |
565 o.headers = buildUnnamed1163(); | 555 o.headers = buildUnnamed1226(); |
566 o.programs = buildUnnamed1164(); | 556 o.programs = buildUnnamed1227(); |
567 o.readGroups = buildUnnamed1165(); | 557 o.readGroups = buildUnnamed1228(); |
568 o.refSequences = buildUnnamed1166(); | 558 o.refSequences = buildUnnamed1229(); |
569 } | 559 } |
570 buildCounterHeaderSection--; | 560 buildCounterHeaderSection--; |
571 return o; | 561 return o; |
572 } | 562 } |
573 | 563 |
574 checkHeaderSection(api.HeaderSection o) { | 564 checkHeaderSection(api.HeaderSection o) { |
575 buildCounterHeaderSection++; | 565 buildCounterHeaderSection++; |
576 if (buildCounterHeaderSection < 3) { | 566 if (buildCounterHeaderSection < 3) { |
577 checkUnnamed1162(o.comments); | 567 checkUnnamed1225(o.comments); |
578 unittest.expect(o.fileUri, unittest.equals('foo')); | 568 unittest.expect(o.fileUri, unittest.equals('foo')); |
579 unittest.expect(o.filename, unittest.equals('foo')); | 569 unittest.expect(o.filename, unittest.equals('foo')); |
580 checkUnnamed1163(o.headers); | 570 checkUnnamed1226(o.headers); |
581 checkUnnamed1164(o.programs); | 571 checkUnnamed1227(o.programs); |
582 checkUnnamed1165(o.readGroups); | 572 checkUnnamed1228(o.readGroups); |
583 checkUnnamed1166(o.refSequences); | 573 checkUnnamed1229(o.refSequences); |
584 } | 574 } |
585 buildCounterHeaderSection--; | 575 buildCounterHeaderSection--; |
586 } | 576 } |
587 | 577 |
588 buildUnnamed1167() { | 578 buildUnnamed1230() { |
589 var o = new core.List<core.String>(); | 579 var o = new core.List<core.String>(); |
590 o.add("foo"); | 580 o.add("foo"); |
591 o.add("foo"); | 581 o.add("foo"); |
592 return o; | 582 return o; |
593 } | 583 } |
594 | 584 |
595 checkUnnamed1167(core.List<core.String> o) { | 585 checkUnnamed1230(core.List<core.String> o) { |
596 unittest.expect(o, unittest.hasLength(2)); | 586 unittest.expect(o, unittest.hasLength(2)); |
597 unittest.expect(o[0], unittest.equals('foo')); | 587 unittest.expect(o[0], unittest.equals('foo')); |
598 unittest.expect(o[1], unittest.equals('foo')); | 588 unittest.expect(o[1], unittest.equals('foo')); |
599 } | 589 } |
600 | 590 |
601 core.int buildCounterImportReadsetsRequest = 0; | 591 core.int buildCounterImportReadsetsRequest = 0; |
602 buildImportReadsetsRequest() { | 592 buildImportReadsetsRequest() { |
603 var o = new api.ImportReadsetsRequest(); | 593 var o = new api.ImportReadsetsRequest(); |
604 buildCounterImportReadsetsRequest++; | 594 buildCounterImportReadsetsRequest++; |
605 if (buildCounterImportReadsetsRequest < 3) { | 595 if (buildCounterImportReadsetsRequest < 3) { |
606 o.datasetId = "foo"; | 596 o.datasetId = "foo"; |
607 o.sourceUris = buildUnnamed1167(); | 597 o.sourceUris = buildUnnamed1230(); |
608 } | 598 } |
609 buildCounterImportReadsetsRequest--; | 599 buildCounterImportReadsetsRequest--; |
610 return o; | 600 return o; |
611 } | 601 } |
612 | 602 |
613 checkImportReadsetsRequest(api.ImportReadsetsRequest o) { | 603 checkImportReadsetsRequest(api.ImportReadsetsRequest o) { |
614 buildCounterImportReadsetsRequest++; | 604 buildCounterImportReadsetsRequest++; |
615 if (buildCounterImportReadsetsRequest < 3) { | 605 if (buildCounterImportReadsetsRequest < 3) { |
616 unittest.expect(o.datasetId, unittest.equals('foo')); | 606 unittest.expect(o.datasetId, unittest.equals('foo')); |
617 checkUnnamed1167(o.sourceUris); | 607 checkUnnamed1230(o.sourceUris); |
618 } | 608 } |
619 buildCounterImportReadsetsRequest--; | 609 buildCounterImportReadsetsRequest--; |
620 } | 610 } |
621 | 611 |
622 core.int buildCounterImportReadsetsResponse = 0; | 612 core.int buildCounterImportReadsetsResponse = 0; |
623 buildImportReadsetsResponse() { | 613 buildImportReadsetsResponse() { |
624 var o = new api.ImportReadsetsResponse(); | 614 var o = new api.ImportReadsetsResponse(); |
625 buildCounterImportReadsetsResponse++; | 615 buildCounterImportReadsetsResponse++; |
626 if (buildCounterImportReadsetsResponse < 3) { | 616 if (buildCounterImportReadsetsResponse < 3) { |
627 o.jobId = "foo"; | 617 o.jobId = "foo"; |
628 } | 618 } |
629 buildCounterImportReadsetsResponse--; | 619 buildCounterImportReadsetsResponse--; |
630 return o; | 620 return o; |
631 } | 621 } |
632 | 622 |
633 checkImportReadsetsResponse(api.ImportReadsetsResponse o) { | 623 checkImportReadsetsResponse(api.ImportReadsetsResponse o) { |
634 buildCounterImportReadsetsResponse++; | 624 buildCounterImportReadsetsResponse++; |
635 if (buildCounterImportReadsetsResponse < 3) { | 625 if (buildCounterImportReadsetsResponse < 3) { |
636 unittest.expect(o.jobId, unittest.equals('foo')); | 626 unittest.expect(o.jobId, unittest.equals('foo')); |
637 } | 627 } |
638 buildCounterImportReadsetsResponse--; | 628 buildCounterImportReadsetsResponse--; |
639 } | 629 } |
640 | 630 |
641 buildUnnamed1168() { | 631 buildUnnamed1231() { |
642 var o = new core.List<core.String>(); | 632 var o = new core.List<core.String>(); |
643 o.add("foo"); | 633 o.add("foo"); |
644 o.add("foo"); | 634 o.add("foo"); |
645 return o; | 635 return o; |
646 } | 636 } |
647 | 637 |
648 checkUnnamed1168(core.List<core.String> o) { | 638 checkUnnamed1231(core.List<core.String> o) { |
649 unittest.expect(o, unittest.hasLength(2)); | 639 unittest.expect(o, unittest.hasLength(2)); |
650 unittest.expect(o[0], unittest.equals('foo')); | 640 unittest.expect(o[0], unittest.equals('foo')); |
651 unittest.expect(o[1], unittest.equals('foo')); | 641 unittest.expect(o[1], unittest.equals('foo')); |
652 } | 642 } |
653 | 643 |
654 core.int buildCounterImportVariantsRequest = 0; | 644 core.int buildCounterImportVariantsRequest = 0; |
655 buildImportVariantsRequest() { | 645 buildImportVariantsRequest() { |
656 var o = new api.ImportVariantsRequest(); | 646 var o = new api.ImportVariantsRequest(); |
657 buildCounterImportVariantsRequest++; | 647 buildCounterImportVariantsRequest++; |
658 if (buildCounterImportVariantsRequest < 3) { | 648 if (buildCounterImportVariantsRequest < 3) { |
659 o.format = "foo"; | 649 o.format = "foo"; |
660 o.sourceUris = buildUnnamed1168(); | 650 o.sourceUris = buildUnnamed1231(); |
661 o.variantSetId = "foo"; | 651 o.variantSetId = "foo"; |
662 } | 652 } |
663 buildCounterImportVariantsRequest--; | 653 buildCounterImportVariantsRequest--; |
664 return o; | 654 return o; |
665 } | 655 } |
666 | 656 |
667 checkImportVariantsRequest(api.ImportVariantsRequest o) { | 657 checkImportVariantsRequest(api.ImportVariantsRequest o) { |
668 buildCounterImportVariantsRequest++; | 658 buildCounterImportVariantsRequest++; |
669 if (buildCounterImportVariantsRequest < 3) { | 659 if (buildCounterImportVariantsRequest < 3) { |
670 unittest.expect(o.format, unittest.equals('foo')); | 660 unittest.expect(o.format, unittest.equals('foo')); |
671 checkUnnamed1168(o.sourceUris); | 661 checkUnnamed1231(o.sourceUris); |
672 unittest.expect(o.variantSetId, unittest.equals('foo')); | 662 unittest.expect(o.variantSetId, unittest.equals('foo')); |
673 } | 663 } |
674 buildCounterImportVariantsRequest--; | 664 buildCounterImportVariantsRequest--; |
675 } | 665 } |
676 | 666 |
677 core.int buildCounterImportVariantsResponse = 0; | 667 core.int buildCounterImportVariantsResponse = 0; |
678 buildImportVariantsResponse() { | 668 buildImportVariantsResponse() { |
679 var o = new api.ImportVariantsResponse(); | 669 var o = new api.ImportVariantsResponse(); |
680 buildCounterImportVariantsResponse++; | 670 buildCounterImportVariantsResponse++; |
681 if (buildCounterImportVariantsResponse < 3) { | 671 if (buildCounterImportVariantsResponse < 3) { |
682 o.jobId = "foo"; | 672 o.jobId = "foo"; |
683 } | 673 } |
684 buildCounterImportVariantsResponse--; | 674 buildCounterImportVariantsResponse--; |
685 return o; | 675 return o; |
686 } | 676 } |
687 | 677 |
688 checkImportVariantsResponse(api.ImportVariantsResponse o) { | 678 checkImportVariantsResponse(api.ImportVariantsResponse o) { |
689 buildCounterImportVariantsResponse++; | 679 buildCounterImportVariantsResponse++; |
690 if (buildCounterImportVariantsResponse < 3) { | 680 if (buildCounterImportVariantsResponse < 3) { |
691 unittest.expect(o.jobId, unittest.equals('foo')); | 681 unittest.expect(o.jobId, unittest.equals('foo')); |
692 } | 682 } |
693 buildCounterImportVariantsResponse--; | 683 buildCounterImportVariantsResponse--; |
694 } | 684 } |
695 | 685 |
696 buildUnnamed1169() { | 686 buildUnnamed1232() { |
697 var o = new core.List<core.String>(); | 687 var o = new core.List<core.String>(); |
698 o.add("foo"); | 688 o.add("foo"); |
699 o.add("foo"); | 689 o.add("foo"); |
700 return o; | 690 return o; |
701 } | 691 } |
702 | 692 |
703 checkUnnamed1169(core.List<core.String> o) { | 693 checkUnnamed1232(core.List<core.String> o) { |
704 unittest.expect(o, unittest.hasLength(2)); | 694 unittest.expect(o, unittest.hasLength(2)); |
705 unittest.expect(o[0], unittest.equals('foo')); | 695 unittest.expect(o[0], unittest.equals('foo')); |
706 unittest.expect(o[1], unittest.equals('foo')); | 696 unittest.expect(o[1], unittest.equals('foo')); |
707 } | 697 } |
708 | 698 |
709 buildUnnamed1170() { | 699 buildUnnamed1233() { |
710 var o = new core.List<core.String>(); | 700 var o = new core.List<core.String>(); |
711 o.add("foo"); | 701 o.add("foo"); |
712 o.add("foo"); | 702 o.add("foo"); |
713 return o; | 703 return o; |
714 } | 704 } |
715 | 705 |
716 checkUnnamed1170(core.List<core.String> o) { | 706 checkUnnamed1233(core.List<core.String> o) { |
717 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
718 unittest.expect(o[0], unittest.equals('foo')); | 708 unittest.expect(o[0], unittest.equals('foo')); |
719 unittest.expect(o[1], unittest.equals('foo')); | 709 unittest.expect(o[1], unittest.equals('foo')); |
720 } | 710 } |
721 | 711 |
722 buildUnnamed1171() { | 712 buildUnnamed1234() { |
723 var o = new core.List<core.String>(); | 713 var o = new core.List<core.String>(); |
724 o.add("foo"); | 714 o.add("foo"); |
725 o.add("foo"); | 715 o.add("foo"); |
726 return o; | 716 return o; |
727 } | 717 } |
728 | 718 |
729 checkUnnamed1171(core.List<core.String> o) { | 719 checkUnnamed1234(core.List<core.String> o) { |
730 unittest.expect(o, unittest.hasLength(2)); | 720 unittest.expect(o, unittest.hasLength(2)); |
731 unittest.expect(o[0], unittest.equals('foo')); | 721 unittest.expect(o[0], unittest.equals('foo')); |
732 unittest.expect(o[1], unittest.equals('foo')); | 722 unittest.expect(o[1], unittest.equals('foo')); |
733 } | 723 } |
734 | 724 |
735 core.int buildCounterJob = 0; | 725 core.int buildCounterJob = 0; |
736 buildJob() { | 726 buildJob() { |
737 var o = new api.Job(); | 727 var o = new api.Job(); |
738 buildCounterJob++; | 728 buildCounterJob++; |
739 if (buildCounterJob < 3) { | 729 if (buildCounterJob < 3) { |
740 o.created = "foo"; | 730 o.created = "foo"; |
741 o.description = "foo"; | 731 o.description = "foo"; |
742 o.errors = buildUnnamed1169(); | 732 o.errors = buildUnnamed1232(); |
743 o.id = "foo"; | 733 o.id = "foo"; |
744 o.importedIds = buildUnnamed1170(); | 734 o.importedIds = buildUnnamed1233(); |
745 o.projectId = "foo"; | 735 o.projectId = "foo"; |
746 o.request = buildJobRequest(); | 736 o.request = buildJobRequest(); |
747 o.status = "foo"; | 737 o.status = "foo"; |
748 o.warnings = buildUnnamed1171(); | 738 o.warnings = buildUnnamed1234(); |
749 } | 739 } |
750 buildCounterJob--; | 740 buildCounterJob--; |
751 return o; | 741 return o; |
752 } | 742 } |
753 | 743 |
754 checkJob(api.Job o) { | 744 checkJob(api.Job o) { |
755 buildCounterJob++; | 745 buildCounterJob++; |
756 if (buildCounterJob < 3) { | 746 if (buildCounterJob < 3) { |
757 unittest.expect(o.created, unittest.equals('foo')); | 747 unittest.expect(o.created, unittest.equals('foo')); |
758 unittest.expect(o.description, unittest.equals('foo')); | 748 unittest.expect(o.description, unittest.equals('foo')); |
759 checkUnnamed1169(o.errors); | 749 checkUnnamed1232(o.errors); |
760 unittest.expect(o.id, unittest.equals('foo')); | 750 unittest.expect(o.id, unittest.equals('foo')); |
761 checkUnnamed1170(o.importedIds); | 751 checkUnnamed1233(o.importedIds); |
762 unittest.expect(o.projectId, unittest.equals('foo')); | 752 unittest.expect(o.projectId, unittest.equals('foo')); |
763 checkJobRequest(o.request); | 753 checkJobRequest(o.request); |
764 unittest.expect(o.status, unittest.equals('foo')); | 754 unittest.expect(o.status, unittest.equals('foo')); |
765 checkUnnamed1171(o.warnings); | 755 checkUnnamed1234(o.warnings); |
766 } | 756 } |
767 buildCounterJob--; | 757 buildCounterJob--; |
768 } | 758 } |
769 | 759 |
770 buildUnnamed1172() { | 760 buildUnnamed1235() { |
771 var o = new core.List<core.String>(); | 761 var o = new core.List<core.String>(); |
772 o.add("foo"); | 762 o.add("foo"); |
773 o.add("foo"); | 763 o.add("foo"); |
774 return o; | 764 return o; |
775 } | 765 } |
776 | 766 |
777 checkUnnamed1172(core.List<core.String> o) { | 767 checkUnnamed1235(core.List<core.String> o) { |
778 unittest.expect(o, unittest.hasLength(2)); | 768 unittest.expect(o, unittest.hasLength(2)); |
779 unittest.expect(o[0], unittest.equals('foo')); | 769 unittest.expect(o[0], unittest.equals('foo')); |
780 unittest.expect(o[1], unittest.equals('foo')); | 770 unittest.expect(o[1], unittest.equals('foo')); |
781 } | 771 } |
782 | 772 |
783 buildUnnamed1173() { | 773 buildUnnamed1236() { |
784 var o = new core.List<core.String>(); | 774 var o = new core.List<core.String>(); |
785 o.add("foo"); | 775 o.add("foo"); |
786 o.add("foo"); | 776 o.add("foo"); |
787 return o; | 777 return o; |
788 } | 778 } |
789 | 779 |
790 checkUnnamed1173(core.List<core.String> o) { | 780 checkUnnamed1236(core.List<core.String> o) { |
791 unittest.expect(o, unittest.hasLength(2)); | 781 unittest.expect(o, unittest.hasLength(2)); |
792 unittest.expect(o[0], unittest.equals('foo')); | 782 unittest.expect(o[0], unittest.equals('foo')); |
793 unittest.expect(o[1], unittest.equals('foo')); | 783 unittest.expect(o[1], unittest.equals('foo')); |
794 } | 784 } |
795 | 785 |
796 core.int buildCounterJobRequest = 0; | 786 core.int buildCounterJobRequest = 0; |
797 buildJobRequest() { | 787 buildJobRequest() { |
798 var o = new api.JobRequest(); | 788 var o = new api.JobRequest(); |
799 buildCounterJobRequest++; | 789 buildCounterJobRequest++; |
800 if (buildCounterJobRequest < 3) { | 790 if (buildCounterJobRequest < 3) { |
801 o.destination = buildUnnamed1172(); | 791 o.destination = buildUnnamed1235(); |
802 o.source = buildUnnamed1173(); | 792 o.source = buildUnnamed1236(); |
803 o.type = "foo"; | 793 o.type = "foo"; |
804 } | 794 } |
805 buildCounterJobRequest--; | 795 buildCounterJobRequest--; |
806 return o; | 796 return o; |
807 } | 797 } |
808 | 798 |
809 checkJobRequest(api.JobRequest o) { | 799 checkJobRequest(api.JobRequest o) { |
810 buildCounterJobRequest++; | 800 buildCounterJobRequest++; |
811 if (buildCounterJobRequest < 3) { | 801 if (buildCounterJobRequest < 3) { |
812 checkUnnamed1172(o.destination); | 802 checkUnnamed1235(o.destination); |
813 checkUnnamed1173(o.source); | 803 checkUnnamed1236(o.source); |
814 unittest.expect(o.type, unittest.equals('foo')); | 804 unittest.expect(o.type, unittest.equals('foo')); |
815 } | 805 } |
816 buildCounterJobRequest--; | 806 buildCounterJobRequest--; |
817 } | 807 } |
818 | 808 |
819 buildUnnamed1174() { | 809 buildUnnamed1237() { |
820 var o = new core.List<api.CoverageBucket>(); | 810 var o = new core.List<api.CoverageBucket>(); |
821 o.add(buildCoverageBucket()); | 811 o.add(buildCoverageBucket()); |
822 o.add(buildCoverageBucket()); | 812 o.add(buildCoverageBucket()); |
823 return o; | 813 return o; |
824 } | 814 } |
825 | 815 |
826 checkUnnamed1174(core.List<api.CoverageBucket> o) { | 816 checkUnnamed1237(core.List<api.CoverageBucket> o) { |
827 unittest.expect(o, unittest.hasLength(2)); | 817 unittest.expect(o, unittest.hasLength(2)); |
828 checkCoverageBucket(o[0]); | 818 checkCoverageBucket(o[0]); |
829 checkCoverageBucket(o[1]); | 819 checkCoverageBucket(o[1]); |
830 } | 820 } |
831 | 821 |
832 core.int buildCounterListCoverageBucketsResponse = 0; | 822 core.int buildCounterListCoverageBucketsResponse = 0; |
833 buildListCoverageBucketsResponse() { | 823 buildListCoverageBucketsResponse() { |
834 var o = new api.ListCoverageBucketsResponse(); | 824 var o = new api.ListCoverageBucketsResponse(); |
835 buildCounterListCoverageBucketsResponse++; | 825 buildCounterListCoverageBucketsResponse++; |
836 if (buildCounterListCoverageBucketsResponse < 3) { | 826 if (buildCounterListCoverageBucketsResponse < 3) { |
837 o.bucketWidth = "foo"; | 827 o.bucketWidth = "foo"; |
838 o.coverageBuckets = buildUnnamed1174(); | 828 o.coverageBuckets = buildUnnamed1237(); |
839 o.nextPageToken = "foo"; | 829 o.nextPageToken = "foo"; |
840 } | 830 } |
841 buildCounterListCoverageBucketsResponse--; | 831 buildCounterListCoverageBucketsResponse--; |
842 return o; | 832 return o; |
843 } | 833 } |
844 | 834 |
845 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { | 835 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { |
846 buildCounterListCoverageBucketsResponse++; | 836 buildCounterListCoverageBucketsResponse++; |
847 if (buildCounterListCoverageBucketsResponse < 3) { | 837 if (buildCounterListCoverageBucketsResponse < 3) { |
848 unittest.expect(o.bucketWidth, unittest.equals('foo')); | 838 unittest.expect(o.bucketWidth, unittest.equals('foo')); |
849 checkUnnamed1174(o.coverageBuckets); | 839 checkUnnamed1237(o.coverageBuckets); |
850 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 840 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
851 } | 841 } |
852 buildCounterListCoverageBucketsResponse--; | 842 buildCounterListCoverageBucketsResponse--; |
853 } | 843 } |
854 | 844 |
855 buildUnnamed1175() { | 845 buildUnnamed1238() { |
856 var o = new core.List<api.Dataset>(); | 846 var o = new core.List<api.Dataset>(); |
857 o.add(buildDataset()); | 847 o.add(buildDataset()); |
858 o.add(buildDataset()); | 848 o.add(buildDataset()); |
859 return o; | 849 return o; |
860 } | 850 } |
861 | 851 |
862 checkUnnamed1175(core.List<api.Dataset> o) { | 852 checkUnnamed1238(core.List<api.Dataset> o) { |
863 unittest.expect(o, unittest.hasLength(2)); | 853 unittest.expect(o, unittest.hasLength(2)); |
864 checkDataset(o[0]); | 854 checkDataset(o[0]); |
865 checkDataset(o[1]); | 855 checkDataset(o[1]); |
866 } | 856 } |
867 | 857 |
868 core.int buildCounterListDatasetsResponse = 0; | 858 core.int buildCounterListDatasetsResponse = 0; |
869 buildListDatasetsResponse() { | 859 buildListDatasetsResponse() { |
870 var o = new api.ListDatasetsResponse(); | 860 var o = new api.ListDatasetsResponse(); |
871 buildCounterListDatasetsResponse++; | 861 buildCounterListDatasetsResponse++; |
872 if (buildCounterListDatasetsResponse < 3) { | 862 if (buildCounterListDatasetsResponse < 3) { |
873 o.datasets = buildUnnamed1175(); | 863 o.datasets = buildUnnamed1238(); |
874 o.nextPageToken = "foo"; | 864 o.nextPageToken = "foo"; |
875 } | 865 } |
876 buildCounterListDatasetsResponse--; | 866 buildCounterListDatasetsResponse--; |
877 return o; | 867 return o; |
878 } | 868 } |
879 | 869 |
880 checkListDatasetsResponse(api.ListDatasetsResponse o) { | 870 checkListDatasetsResponse(api.ListDatasetsResponse o) { |
881 buildCounterListDatasetsResponse++; | 871 buildCounterListDatasetsResponse++; |
882 if (buildCounterListDatasetsResponse < 3) { | 872 if (buildCounterListDatasetsResponse < 3) { |
883 checkUnnamed1175(o.datasets); | 873 checkUnnamed1238(o.datasets); |
884 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 874 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
885 } | 875 } |
886 buildCounterListDatasetsResponse--; | 876 buildCounterListDatasetsResponse--; |
887 } | 877 } |
888 | 878 |
889 buildUnnamed1176() { | 879 buildUnnamed1239() { |
890 var o = new core.List<api.Variant>(); | 880 var o = new core.List<api.Variant>(); |
891 o.add(buildVariant()); | 881 o.add(buildVariant()); |
892 o.add(buildVariant()); | 882 o.add(buildVariant()); |
893 return o; | 883 return o; |
894 } | 884 } |
895 | 885 |
896 checkUnnamed1176(core.List<api.Variant> o) { | 886 checkUnnamed1239(core.List<api.Variant> o) { |
897 unittest.expect(o, unittest.hasLength(2)); | 887 unittest.expect(o, unittest.hasLength(2)); |
898 checkVariant(o[0]); | 888 checkVariant(o[0]); |
899 checkVariant(o[1]); | 889 checkVariant(o[1]); |
900 } | 890 } |
901 | 891 |
902 core.int buildCounterMergeVariantsRequest = 0; | 892 core.int buildCounterMergeVariantsRequest = 0; |
903 buildMergeVariantsRequest() { | 893 buildMergeVariantsRequest() { |
904 var o = new api.MergeVariantsRequest(); | 894 var o = new api.MergeVariantsRequest(); |
905 buildCounterMergeVariantsRequest++; | 895 buildCounterMergeVariantsRequest++; |
906 if (buildCounterMergeVariantsRequest < 3) { | 896 if (buildCounterMergeVariantsRequest < 3) { |
907 o.variants = buildUnnamed1176(); | 897 o.variants = buildUnnamed1239(); |
908 } | 898 } |
909 buildCounterMergeVariantsRequest--; | 899 buildCounterMergeVariantsRequest--; |
910 return o; | 900 return o; |
911 } | 901 } |
912 | 902 |
913 checkMergeVariantsRequest(api.MergeVariantsRequest o) { | 903 checkMergeVariantsRequest(api.MergeVariantsRequest o) { |
914 buildCounterMergeVariantsRequest++; | 904 buildCounterMergeVariantsRequest++; |
915 if (buildCounterMergeVariantsRequest < 3) { | 905 if (buildCounterMergeVariantsRequest < 3) { |
916 checkUnnamed1176(o.variants); | 906 checkUnnamed1239(o.variants); |
917 } | 907 } |
918 buildCounterMergeVariantsRequest--; | 908 buildCounterMergeVariantsRequest--; |
919 } | 909 } |
920 | 910 |
921 buildUnnamed1177() { | 911 buildUnnamed1240() { |
922 var o = new core.List<core.String>(); | 912 var o = new core.List<core.String>(); |
923 o.add("foo"); | 913 o.add("foo"); |
924 o.add("foo"); | 914 o.add("foo"); |
925 return o; | 915 return o; |
926 } | 916 } |
927 | 917 |
928 checkUnnamed1177(core.List<core.String> o) { | 918 checkUnnamed1240(core.List<core.String> o) { |
929 unittest.expect(o, unittest.hasLength(2)); | 919 unittest.expect(o, unittest.hasLength(2)); |
930 unittest.expect(o[0], unittest.equals('foo')); | 920 unittest.expect(o[0], unittest.equals('foo')); |
931 unittest.expect(o[1], unittest.equals('foo')); | 921 unittest.expect(o[1], unittest.equals('foo')); |
932 } | 922 } |
933 | 923 |
934 buildUnnamed1178() { | 924 buildUnnamed1241() { |
935 var o = new core.Map<core.String, core.List<core.String>>(); | 925 var o = new core.Map<core.String, core.List<core.String>>(); |
936 o["x"] = buildUnnamed1177(); | 926 o["x"] = buildUnnamed1240(); |
937 o["y"] = buildUnnamed1177(); | 927 o["y"] = buildUnnamed1240(); |
938 return o; | 928 return o; |
939 } | 929 } |
940 | 930 |
941 checkUnnamed1178(core.Map<core.String, core.List<core.String>> o) { | 931 checkUnnamed1241(core.Map<core.String, core.List<core.String>> o) { |
942 unittest.expect(o, unittest.hasLength(2)); | 932 unittest.expect(o, unittest.hasLength(2)); |
943 checkUnnamed1177(o["x"]); | 933 checkUnnamed1240(o["x"]); |
944 checkUnnamed1177(o["y"]); | 934 checkUnnamed1240(o["y"]); |
945 } | 935 } |
946 | 936 |
947 core.int buildCounterMetadata = 0; | 937 core.int buildCounterMetadata = 0; |
948 buildMetadata() { | 938 buildMetadata() { |
949 var o = new api.Metadata(); | 939 var o = new api.Metadata(); |
950 buildCounterMetadata++; | 940 buildCounterMetadata++; |
951 if (buildCounterMetadata < 3) { | 941 if (buildCounterMetadata < 3) { |
952 o.description = "foo"; | 942 o.description = "foo"; |
953 o.id = "foo"; | 943 o.id = "foo"; |
954 o.info = buildUnnamed1178(); | 944 o.info = buildUnnamed1241(); |
955 o.key = "foo"; | 945 o.key = "foo"; |
956 o.number = "foo"; | 946 o.number = "foo"; |
957 o.type = "foo"; | 947 o.type = "foo"; |
958 o.value = "foo"; | 948 o.value = "foo"; |
959 } | 949 } |
960 buildCounterMetadata--; | 950 buildCounterMetadata--; |
961 return o; | 951 return o; |
962 } | 952 } |
963 | 953 |
964 checkMetadata(api.Metadata o) { | 954 checkMetadata(api.Metadata o) { |
965 buildCounterMetadata++; | 955 buildCounterMetadata++; |
966 if (buildCounterMetadata < 3) { | 956 if (buildCounterMetadata < 3) { |
967 unittest.expect(o.description, unittest.equals('foo')); | 957 unittest.expect(o.description, unittest.equals('foo')); |
968 unittest.expect(o.id, unittest.equals('foo')); | 958 unittest.expect(o.id, unittest.equals('foo')); |
969 checkUnnamed1178(o.info); | 959 checkUnnamed1241(o.info); |
970 unittest.expect(o.key, unittest.equals('foo')); | 960 unittest.expect(o.key, unittest.equals('foo')); |
971 unittest.expect(o.number, unittest.equals('foo')); | 961 unittest.expect(o.number, unittest.equals('foo')); |
972 unittest.expect(o.type, unittest.equals('foo')); | 962 unittest.expect(o.type, unittest.equals('foo')); |
973 unittest.expect(o.value, unittest.equals('foo')); | 963 unittest.expect(o.value, unittest.equals('foo')); |
974 } | 964 } |
975 buildCounterMetadata--; | 965 buildCounterMetadata--; |
976 } | 966 } |
977 | 967 |
978 core.int buildCounterProgram = 0; | 968 core.int buildCounterProgram = 0; |
979 buildProgram() { | 969 buildProgram() { |
(...skipping 15 matching lines...) Expand all Loading... |
995 if (buildCounterProgram < 3) { | 985 if (buildCounterProgram < 3) { |
996 unittest.expect(o.commandLine, unittest.equals('foo')); | 986 unittest.expect(o.commandLine, unittest.equals('foo')); |
997 unittest.expect(o.id, unittest.equals('foo')); | 987 unittest.expect(o.id, unittest.equals('foo')); |
998 unittest.expect(o.name, unittest.equals('foo')); | 988 unittest.expect(o.name, unittest.equals('foo')); |
999 unittest.expect(o.prevProgramId, unittest.equals('foo')); | 989 unittest.expect(o.prevProgramId, unittest.equals('foo')); |
1000 unittest.expect(o.version, unittest.equals('foo')); | 990 unittest.expect(o.version, unittest.equals('foo')); |
1001 } | 991 } |
1002 buildCounterProgram--; | 992 buildCounterProgram--; |
1003 } | 993 } |
1004 | 994 |
1005 buildUnnamed1179() { | 995 buildUnnamed1242() { |
1006 var o = new core.List<core.String>(); | 996 var o = new core.List<core.String>(); |
1007 o.add("foo"); | 997 o.add("foo"); |
1008 o.add("foo"); | 998 o.add("foo"); |
1009 return o; | 999 return o; |
1010 } | 1000 } |
1011 | 1001 |
1012 checkUnnamed1179(core.List<core.String> o) { | 1002 checkUnnamed1242(core.List<core.String> o) { |
1013 unittest.expect(o, unittest.hasLength(2)); | 1003 unittest.expect(o, unittest.hasLength(2)); |
1014 unittest.expect(o[0], unittest.equals('foo')); | 1004 unittest.expect(o[0], unittest.equals('foo')); |
1015 unittest.expect(o[1], unittest.equals('foo')); | 1005 unittest.expect(o[1], unittest.equals('foo')); |
1016 } | 1006 } |
1017 | 1007 |
1018 buildUnnamed1180() { | 1008 buildUnnamed1243() { |
1019 var o = new core.Map<core.String, core.List<core.String>>(); | 1009 var o = new core.Map<core.String, core.List<core.String>>(); |
1020 o["x"] = buildUnnamed1179(); | 1010 o["x"] = buildUnnamed1242(); |
1021 o["y"] = buildUnnamed1179(); | 1011 o["y"] = buildUnnamed1242(); |
1022 return o; | 1012 return o; |
1023 } | 1013 } |
1024 | 1014 |
1025 checkUnnamed1180(core.Map<core.String, core.List<core.String>> o) { | 1015 checkUnnamed1243(core.Map<core.String, core.List<core.String>> o) { |
1026 unittest.expect(o, unittest.hasLength(2)); | 1016 unittest.expect(o, unittest.hasLength(2)); |
1027 checkUnnamed1179(o["x"]); | 1017 checkUnnamed1242(o["x"]); |
1028 checkUnnamed1179(o["y"]); | 1018 checkUnnamed1242(o["y"]); |
1029 } | 1019 } |
1030 | 1020 |
1031 core.int buildCounterRead = 0; | 1021 core.int buildCounterRead = 0; |
1032 buildRead() { | 1022 buildRead() { |
1033 var o = new api.Read(); | 1023 var o = new api.Read(); |
1034 buildCounterRead++; | 1024 buildCounterRead++; |
1035 if (buildCounterRead < 3) { | 1025 if (buildCounterRead < 3) { |
1036 o.alignedBases = "foo"; | 1026 o.alignedBases = "foo"; |
1037 o.baseQuality = "foo"; | 1027 o.baseQuality = "foo"; |
1038 o.cigar = "foo"; | 1028 o.cigar = "foo"; |
1039 o.flags = 42; | 1029 o.flags = 42; |
1040 o.id = "foo"; | 1030 o.id = "foo"; |
1041 o.mappingQuality = 42; | 1031 o.mappingQuality = 42; |
1042 o.matePosition = 42; | 1032 o.matePosition = 42; |
1043 o.mateReferenceSequenceName = "foo"; | 1033 o.mateReferenceSequenceName = "foo"; |
1044 o.name = "foo"; | 1034 o.name = "foo"; |
1045 o.originalBases = "foo"; | 1035 o.originalBases = "foo"; |
1046 o.position = 42; | 1036 o.position = 42; |
1047 o.readsetId = "foo"; | 1037 o.readsetId = "foo"; |
1048 o.referenceSequenceName = "foo"; | 1038 o.referenceSequenceName = "foo"; |
1049 o.tags = buildUnnamed1180(); | 1039 o.tags = buildUnnamed1243(); |
1050 o.templateLength = 42; | 1040 o.templateLength = 42; |
1051 } | 1041 } |
1052 buildCounterRead--; | 1042 buildCounterRead--; |
1053 return o; | 1043 return o; |
1054 } | 1044 } |
1055 | 1045 |
1056 checkRead(api.Read o) { | 1046 checkRead(api.Read o) { |
1057 buildCounterRead++; | 1047 buildCounterRead++; |
1058 if (buildCounterRead < 3) { | 1048 if (buildCounterRead < 3) { |
1059 unittest.expect(o.alignedBases, unittest.equals('foo')); | 1049 unittest.expect(o.alignedBases, unittest.equals('foo')); |
1060 unittest.expect(o.baseQuality, unittest.equals('foo')); | 1050 unittest.expect(o.baseQuality, unittest.equals('foo')); |
1061 unittest.expect(o.cigar, unittest.equals('foo')); | 1051 unittest.expect(o.cigar, unittest.equals('foo')); |
1062 unittest.expect(o.flags, unittest.equals(42)); | 1052 unittest.expect(o.flags, unittest.equals(42)); |
1063 unittest.expect(o.id, unittest.equals('foo')); | 1053 unittest.expect(o.id, unittest.equals('foo')); |
1064 unittest.expect(o.mappingQuality, unittest.equals(42)); | 1054 unittest.expect(o.mappingQuality, unittest.equals(42)); |
1065 unittest.expect(o.matePosition, unittest.equals(42)); | 1055 unittest.expect(o.matePosition, unittest.equals(42)); |
1066 unittest.expect(o.mateReferenceSequenceName, unittest.equals('foo')); | 1056 unittest.expect(o.mateReferenceSequenceName, unittest.equals('foo')); |
1067 unittest.expect(o.name, unittest.equals('foo')); | 1057 unittest.expect(o.name, unittest.equals('foo')); |
1068 unittest.expect(o.originalBases, unittest.equals('foo')); | 1058 unittest.expect(o.originalBases, unittest.equals('foo')); |
1069 unittest.expect(o.position, unittest.equals(42)); | 1059 unittest.expect(o.position, unittest.equals(42)); |
1070 unittest.expect(o.readsetId, unittest.equals('foo')); | 1060 unittest.expect(o.readsetId, unittest.equals('foo')); |
1071 unittest.expect(o.referenceSequenceName, unittest.equals('foo')); | 1061 unittest.expect(o.referenceSequenceName, unittest.equals('foo')); |
1072 checkUnnamed1180(o.tags); | 1062 checkUnnamed1243(o.tags); |
1073 unittest.expect(o.templateLength, unittest.equals(42)); | 1063 unittest.expect(o.templateLength, unittest.equals(42)); |
1074 } | 1064 } |
1075 buildCounterRead--; | 1065 buildCounterRead--; |
1076 } | 1066 } |
1077 | 1067 |
1078 core.int buildCounterReadGroup = 0; | 1068 core.int buildCounterReadGroup = 0; |
1079 buildReadGroup() { | 1069 buildReadGroup() { |
1080 var o = new api.ReadGroup(); | 1070 var o = new api.ReadGroup(); |
1081 buildCounterReadGroup++; | 1071 buildCounterReadGroup++; |
1082 if (buildCounterReadGroup < 3) { | 1072 if (buildCounterReadGroup < 3) { |
(...skipping 26 matching lines...) Expand all Loading... |
1109 unittest.expect(o.platformUnit, unittest.equals('foo')); | 1099 unittest.expect(o.platformUnit, unittest.equals('foo')); |
1110 unittest.expect(o.predictedInsertSize, unittest.equals(42)); | 1100 unittest.expect(o.predictedInsertSize, unittest.equals(42)); |
1111 unittest.expect(o.processingProgram, unittest.equals('foo')); | 1101 unittest.expect(o.processingProgram, unittest.equals('foo')); |
1112 unittest.expect(o.sample, unittest.equals('foo')); | 1102 unittest.expect(o.sample, unittest.equals('foo')); |
1113 unittest.expect(o.sequencingCenterName, unittest.equals('foo')); | 1103 unittest.expect(o.sequencingCenterName, unittest.equals('foo')); |
1114 unittest.expect(o.sequencingTechnology, unittest.equals('foo')); | 1104 unittest.expect(o.sequencingTechnology, unittest.equals('foo')); |
1115 } | 1105 } |
1116 buildCounterReadGroup--; | 1106 buildCounterReadGroup--; |
1117 } | 1107 } |
1118 | 1108 |
1119 buildUnnamed1181() { | 1109 buildUnnamed1244() { |
1120 var o = new core.List<api.HeaderSection>(); | 1110 var o = new core.List<api.HeaderSection>(); |
1121 o.add(buildHeaderSection()); | 1111 o.add(buildHeaderSection()); |
1122 o.add(buildHeaderSection()); | 1112 o.add(buildHeaderSection()); |
1123 return o; | 1113 return o; |
1124 } | 1114 } |
1125 | 1115 |
1126 checkUnnamed1181(core.List<api.HeaderSection> o) { | 1116 checkUnnamed1244(core.List<api.HeaderSection> o) { |
1127 unittest.expect(o, unittest.hasLength(2)); | 1117 unittest.expect(o, unittest.hasLength(2)); |
1128 checkHeaderSection(o[0]); | 1118 checkHeaderSection(o[0]); |
1129 checkHeaderSection(o[1]); | 1119 checkHeaderSection(o[1]); |
1130 } | 1120 } |
1131 | 1121 |
1132 core.int buildCounterReadset = 0; | 1122 core.int buildCounterReadset = 0; |
1133 buildReadset() { | 1123 buildReadset() { |
1134 var o = new api.Readset(); | 1124 var o = new api.Readset(); |
1135 buildCounterReadset++; | 1125 buildCounterReadset++; |
1136 if (buildCounterReadset < 3) { | 1126 if (buildCounterReadset < 3) { |
1137 o.datasetId = "foo"; | 1127 o.datasetId = "foo"; |
1138 o.fileData = buildUnnamed1181(); | 1128 o.fileData = buildUnnamed1244(); |
1139 o.id = "foo"; | 1129 o.id = "foo"; |
1140 o.name = "foo"; | 1130 o.name = "foo"; |
1141 } | 1131 } |
1142 buildCounterReadset--; | 1132 buildCounterReadset--; |
1143 return o; | 1133 return o; |
1144 } | 1134 } |
1145 | 1135 |
1146 checkReadset(api.Readset o) { | 1136 checkReadset(api.Readset o) { |
1147 buildCounterReadset++; | 1137 buildCounterReadset++; |
1148 if (buildCounterReadset < 3) { | 1138 if (buildCounterReadset < 3) { |
1149 unittest.expect(o.datasetId, unittest.equals('foo')); | 1139 unittest.expect(o.datasetId, unittest.equals('foo')); |
1150 checkUnnamed1181(o.fileData); | 1140 checkUnnamed1244(o.fileData); |
1151 unittest.expect(o.id, unittest.equals('foo')); | 1141 unittest.expect(o.id, unittest.equals('foo')); |
1152 unittest.expect(o.name, unittest.equals('foo')); | 1142 unittest.expect(o.name, unittest.equals('foo')); |
1153 } | 1143 } |
1154 buildCounterReadset--; | 1144 buildCounterReadset--; |
1155 } | 1145 } |
1156 | 1146 |
1157 core.int buildCounterReferenceBound = 0; | 1147 core.int buildCounterReferenceBound = 0; |
1158 buildReferenceBound() { | 1148 buildReferenceBound() { |
1159 var o = new api.ReferenceBound(); | 1149 var o = new api.ReferenceBound(); |
1160 buildCounterReferenceBound++; | 1150 buildCounterReferenceBound++; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1187 unittest.expect(o.assemblyId, unittest.equals('foo')); |
1198 unittest.expect(o.length, unittest.equals(42)); | 1188 unittest.expect(o.length, unittest.equals(42)); |
1199 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1189 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1200 unittest.expect(o.name, unittest.equals('foo')); | 1190 unittest.expect(o.name, unittest.equals('foo')); |
1201 unittest.expect(o.species, unittest.equals('foo')); | 1191 unittest.expect(o.species, unittest.equals('foo')); |
1202 unittest.expect(o.uri, unittest.equals('foo')); | 1192 unittest.expect(o.uri, unittest.equals('foo')); |
1203 } | 1193 } |
1204 buildCounterReferenceSequence--; | 1194 buildCounterReferenceSequence--; |
1205 } | 1195 } |
1206 | 1196 |
1207 buildUnnamed1182() { | 1197 buildUnnamed1245() { |
1208 var o = new core.List<core.String>(); | 1198 var o = new core.List<core.String>(); |
1209 o.add("foo"); | 1199 o.add("foo"); |
1210 o.add("foo"); | 1200 o.add("foo"); |
1211 return o; | 1201 return o; |
1212 } | 1202 } |
1213 | 1203 |
1214 checkUnnamed1182(core.List<core.String> o) { | 1204 checkUnnamed1245(core.List<core.String> o) { |
1215 unittest.expect(o, unittest.hasLength(2)); | 1205 unittest.expect(o, unittest.hasLength(2)); |
1216 unittest.expect(o[0], unittest.equals('foo')); | 1206 unittest.expect(o[0], unittest.equals('foo')); |
1217 unittest.expect(o[1], unittest.equals('foo')); | 1207 unittest.expect(o[1], unittest.equals('foo')); |
1218 } | 1208 } |
1219 | 1209 |
1220 core.int buildCounterSearchCallSetsRequest = 0; | 1210 core.int buildCounterSearchCallSetsRequest = 0; |
1221 buildSearchCallSetsRequest() { | 1211 buildSearchCallSetsRequest() { |
1222 var o = new api.SearchCallSetsRequest(); | 1212 var o = new api.SearchCallSetsRequest(); |
1223 buildCounterSearchCallSetsRequest++; | 1213 buildCounterSearchCallSetsRequest++; |
1224 if (buildCounterSearchCallSetsRequest < 3) { | 1214 if (buildCounterSearchCallSetsRequest < 3) { |
1225 o.name = "foo"; | 1215 o.name = "foo"; |
1226 o.pageSize = 42; | 1216 o.pageSize = 42; |
1227 o.pageToken = "foo"; | 1217 o.pageToken = "foo"; |
1228 o.variantSetIds = buildUnnamed1182(); | 1218 o.variantSetIds = buildUnnamed1245(); |
1229 } | 1219 } |
1230 buildCounterSearchCallSetsRequest--; | 1220 buildCounterSearchCallSetsRequest--; |
1231 return o; | 1221 return o; |
1232 } | 1222 } |
1233 | 1223 |
1234 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { | 1224 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { |
1235 buildCounterSearchCallSetsRequest++; | 1225 buildCounterSearchCallSetsRequest++; |
1236 if (buildCounterSearchCallSetsRequest < 3) { | 1226 if (buildCounterSearchCallSetsRequest < 3) { |
1237 unittest.expect(o.name, unittest.equals('foo')); | 1227 unittest.expect(o.name, unittest.equals('foo')); |
1238 unittest.expect(o.pageSize, unittest.equals(42)); | 1228 unittest.expect(o.pageSize, unittest.equals(42)); |
1239 unittest.expect(o.pageToken, unittest.equals('foo')); | 1229 unittest.expect(o.pageToken, unittest.equals('foo')); |
1240 checkUnnamed1182(o.variantSetIds); | 1230 checkUnnamed1245(o.variantSetIds); |
1241 } | 1231 } |
1242 buildCounterSearchCallSetsRequest--; | 1232 buildCounterSearchCallSetsRequest--; |
1243 } | 1233 } |
1244 | 1234 |
1245 buildUnnamed1183() { | 1235 buildUnnamed1246() { |
1246 var o = new core.List<api.CallSet>(); | 1236 var o = new core.List<api.CallSet>(); |
1247 o.add(buildCallSet()); | 1237 o.add(buildCallSet()); |
1248 o.add(buildCallSet()); | 1238 o.add(buildCallSet()); |
1249 return o; | 1239 return o; |
1250 } | 1240 } |
1251 | 1241 |
1252 checkUnnamed1183(core.List<api.CallSet> o) { | 1242 checkUnnamed1246(core.List<api.CallSet> o) { |
1253 unittest.expect(o, unittest.hasLength(2)); | 1243 unittest.expect(o, unittest.hasLength(2)); |
1254 checkCallSet(o[0]); | 1244 checkCallSet(o[0]); |
1255 checkCallSet(o[1]); | 1245 checkCallSet(o[1]); |
1256 } | 1246 } |
1257 | 1247 |
1258 core.int buildCounterSearchCallSetsResponse = 0; | 1248 core.int buildCounterSearchCallSetsResponse = 0; |
1259 buildSearchCallSetsResponse() { | 1249 buildSearchCallSetsResponse() { |
1260 var o = new api.SearchCallSetsResponse(); | 1250 var o = new api.SearchCallSetsResponse(); |
1261 buildCounterSearchCallSetsResponse++; | 1251 buildCounterSearchCallSetsResponse++; |
1262 if (buildCounterSearchCallSetsResponse < 3) { | 1252 if (buildCounterSearchCallSetsResponse < 3) { |
1263 o.callSets = buildUnnamed1183(); | 1253 o.callSets = buildUnnamed1246(); |
1264 o.nextPageToken = "foo"; | 1254 o.nextPageToken = "foo"; |
1265 } | 1255 } |
1266 buildCounterSearchCallSetsResponse--; | 1256 buildCounterSearchCallSetsResponse--; |
1267 return o; | 1257 return o; |
1268 } | 1258 } |
1269 | 1259 |
1270 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { | 1260 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { |
1271 buildCounterSearchCallSetsResponse++; | 1261 buildCounterSearchCallSetsResponse++; |
1272 if (buildCounterSearchCallSetsResponse < 3) { | 1262 if (buildCounterSearchCallSetsResponse < 3) { |
1273 checkUnnamed1183(o.callSets); | 1263 checkUnnamed1246(o.callSets); |
1274 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1264 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1275 } | 1265 } |
1276 buildCounterSearchCallSetsResponse--; | 1266 buildCounterSearchCallSetsResponse--; |
1277 } | 1267 } |
1278 | 1268 |
1279 buildUnnamed1184() { | 1269 buildUnnamed1247() { |
1280 var o = new core.List<core.String>(); | 1270 var o = new core.List<core.String>(); |
1281 o.add("foo"); | 1271 o.add("foo"); |
1282 o.add("foo"); | 1272 o.add("foo"); |
1283 return o; | 1273 return o; |
1284 } | 1274 } |
1285 | 1275 |
1286 checkUnnamed1184(core.List<core.String> o) { | 1276 checkUnnamed1247(core.List<core.String> o) { |
1287 unittest.expect(o, unittest.hasLength(2)); | 1277 unittest.expect(o, unittest.hasLength(2)); |
1288 unittest.expect(o[0], unittest.equals('foo')); | 1278 unittest.expect(o[0], unittest.equals('foo')); |
1289 unittest.expect(o[1], unittest.equals('foo')); | 1279 unittest.expect(o[1], unittest.equals('foo')); |
1290 } | 1280 } |
1291 | 1281 |
1292 core.int buildCounterSearchJobsRequest = 0; | 1282 core.int buildCounterSearchJobsRequest = 0; |
1293 buildSearchJobsRequest() { | 1283 buildSearchJobsRequest() { |
1294 var o = new api.SearchJobsRequest(); | 1284 var o = new api.SearchJobsRequest(); |
1295 buildCounterSearchJobsRequest++; | 1285 buildCounterSearchJobsRequest++; |
1296 if (buildCounterSearchJobsRequest < 3) { | 1286 if (buildCounterSearchJobsRequest < 3) { |
1297 o.createdAfter = "foo"; | 1287 o.createdAfter = "foo"; |
1298 o.createdBefore = "foo"; | 1288 o.createdBefore = "foo"; |
1299 o.maxResults = "foo"; | 1289 o.maxResults = "foo"; |
1300 o.pageToken = "foo"; | 1290 o.pageToken = "foo"; |
1301 o.projectId = "foo"; | 1291 o.projectId = "foo"; |
1302 o.status = buildUnnamed1184(); | 1292 o.status = buildUnnamed1247(); |
1303 } | 1293 } |
1304 buildCounterSearchJobsRequest--; | 1294 buildCounterSearchJobsRequest--; |
1305 return o; | 1295 return o; |
1306 } | 1296 } |
1307 | 1297 |
1308 checkSearchJobsRequest(api.SearchJobsRequest o) { | 1298 checkSearchJobsRequest(api.SearchJobsRequest o) { |
1309 buildCounterSearchJobsRequest++; | 1299 buildCounterSearchJobsRequest++; |
1310 if (buildCounterSearchJobsRequest < 3) { | 1300 if (buildCounterSearchJobsRequest < 3) { |
1311 unittest.expect(o.createdAfter, unittest.equals('foo')); | 1301 unittest.expect(o.createdAfter, unittest.equals('foo')); |
1312 unittest.expect(o.createdBefore, unittest.equals('foo')); | 1302 unittest.expect(o.createdBefore, unittest.equals('foo')); |
1313 unittest.expect(o.maxResults, unittest.equals('foo')); | 1303 unittest.expect(o.maxResults, unittest.equals('foo')); |
1314 unittest.expect(o.pageToken, unittest.equals('foo')); | 1304 unittest.expect(o.pageToken, unittest.equals('foo')); |
1315 unittest.expect(o.projectId, unittest.equals('foo')); | 1305 unittest.expect(o.projectId, unittest.equals('foo')); |
1316 checkUnnamed1184(o.status); | 1306 checkUnnamed1247(o.status); |
1317 } | 1307 } |
1318 buildCounterSearchJobsRequest--; | 1308 buildCounterSearchJobsRequest--; |
1319 } | 1309 } |
1320 | 1310 |
1321 buildUnnamed1185() { | 1311 buildUnnamed1248() { |
1322 var o = new core.List<api.Job>(); | 1312 var o = new core.List<api.Job>(); |
1323 o.add(buildJob()); | 1313 o.add(buildJob()); |
1324 o.add(buildJob()); | 1314 o.add(buildJob()); |
1325 return o; | 1315 return o; |
1326 } | 1316 } |
1327 | 1317 |
1328 checkUnnamed1185(core.List<api.Job> o) { | 1318 checkUnnamed1248(core.List<api.Job> o) { |
1329 unittest.expect(o, unittest.hasLength(2)); | 1319 unittest.expect(o, unittest.hasLength(2)); |
1330 checkJob(o[0]); | 1320 checkJob(o[0]); |
1331 checkJob(o[1]); | 1321 checkJob(o[1]); |
1332 } | 1322 } |
1333 | 1323 |
1334 core.int buildCounterSearchJobsResponse = 0; | 1324 core.int buildCounterSearchJobsResponse = 0; |
1335 buildSearchJobsResponse() { | 1325 buildSearchJobsResponse() { |
1336 var o = new api.SearchJobsResponse(); | 1326 var o = new api.SearchJobsResponse(); |
1337 buildCounterSearchJobsResponse++; | 1327 buildCounterSearchJobsResponse++; |
1338 if (buildCounterSearchJobsResponse < 3) { | 1328 if (buildCounterSearchJobsResponse < 3) { |
1339 o.jobs = buildUnnamed1185(); | 1329 o.jobs = buildUnnamed1248(); |
1340 o.nextPageToken = "foo"; | 1330 o.nextPageToken = "foo"; |
1341 } | 1331 } |
1342 buildCounterSearchJobsResponse--; | 1332 buildCounterSearchJobsResponse--; |
1343 return o; | 1333 return o; |
1344 } | 1334 } |
1345 | 1335 |
1346 checkSearchJobsResponse(api.SearchJobsResponse o) { | 1336 checkSearchJobsResponse(api.SearchJobsResponse o) { |
1347 buildCounterSearchJobsResponse++; | 1337 buildCounterSearchJobsResponse++; |
1348 if (buildCounterSearchJobsResponse < 3) { | 1338 if (buildCounterSearchJobsResponse < 3) { |
1349 checkUnnamed1185(o.jobs); | 1339 checkUnnamed1248(o.jobs); |
1350 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1340 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1351 } | 1341 } |
1352 buildCounterSearchJobsResponse--; | 1342 buildCounterSearchJobsResponse--; |
1353 } | 1343 } |
1354 | 1344 |
1355 buildUnnamed1186() { | 1345 buildUnnamed1249() { |
1356 var o = new core.List<core.String>(); | 1346 var o = new core.List<core.String>(); |
1357 o.add("foo"); | 1347 o.add("foo"); |
1358 o.add("foo"); | 1348 o.add("foo"); |
1359 return o; | 1349 return o; |
1360 } | 1350 } |
1361 | 1351 |
1362 checkUnnamed1186(core.List<core.String> o) { | 1352 checkUnnamed1249(core.List<core.String> o) { |
1363 unittest.expect(o, unittest.hasLength(2)); | 1353 unittest.expect(o, unittest.hasLength(2)); |
1364 unittest.expect(o[0], unittest.equals('foo')); | 1354 unittest.expect(o[0], unittest.equals('foo')); |
1365 unittest.expect(o[1], unittest.equals('foo')); | 1355 unittest.expect(o[1], unittest.equals('foo')); |
1366 } | 1356 } |
1367 | 1357 |
1368 core.int buildCounterSearchReadsRequest = 0; | 1358 core.int buildCounterSearchReadsRequest = 0; |
1369 buildSearchReadsRequest() { | 1359 buildSearchReadsRequest() { |
1370 var o = new api.SearchReadsRequest(); | 1360 var o = new api.SearchReadsRequest(); |
1371 buildCounterSearchReadsRequest++; | 1361 buildCounterSearchReadsRequest++; |
1372 if (buildCounterSearchReadsRequest < 3) { | 1362 if (buildCounterSearchReadsRequest < 3) { |
1373 o.maxResults = "foo"; | 1363 o.maxResults = "foo"; |
1374 o.pageToken = "foo"; | 1364 o.pageToken = "foo"; |
1375 o.readsetIds = buildUnnamed1186(); | 1365 o.readsetIds = buildUnnamed1249(); |
1376 o.sequenceEnd = "foo"; | 1366 o.sequenceEnd = "foo"; |
1377 o.sequenceName = "foo"; | 1367 o.sequenceName = "foo"; |
1378 o.sequenceStart = "foo"; | 1368 o.sequenceStart = "foo"; |
1379 } | 1369 } |
1380 buildCounterSearchReadsRequest--; | 1370 buildCounterSearchReadsRequest--; |
1381 return o; | 1371 return o; |
1382 } | 1372 } |
1383 | 1373 |
1384 checkSearchReadsRequest(api.SearchReadsRequest o) { | 1374 checkSearchReadsRequest(api.SearchReadsRequest o) { |
1385 buildCounterSearchReadsRequest++; | 1375 buildCounterSearchReadsRequest++; |
1386 if (buildCounterSearchReadsRequest < 3) { | 1376 if (buildCounterSearchReadsRequest < 3) { |
1387 unittest.expect(o.maxResults, unittest.equals('foo')); | 1377 unittest.expect(o.maxResults, unittest.equals('foo')); |
1388 unittest.expect(o.pageToken, unittest.equals('foo')); | 1378 unittest.expect(o.pageToken, unittest.equals('foo')); |
1389 checkUnnamed1186(o.readsetIds); | 1379 checkUnnamed1249(o.readsetIds); |
1390 unittest.expect(o.sequenceEnd, unittest.equals('foo')); | 1380 unittest.expect(o.sequenceEnd, unittest.equals('foo')); |
1391 unittest.expect(o.sequenceName, unittest.equals('foo')); | 1381 unittest.expect(o.sequenceName, unittest.equals('foo')); |
1392 unittest.expect(o.sequenceStart, unittest.equals('foo')); | 1382 unittest.expect(o.sequenceStart, unittest.equals('foo')); |
1393 } | 1383 } |
1394 buildCounterSearchReadsRequest--; | 1384 buildCounterSearchReadsRequest--; |
1395 } | 1385 } |
1396 | 1386 |
1397 buildUnnamed1187() { | 1387 buildUnnamed1250() { |
1398 var o = new core.List<api.Read>(); | 1388 var o = new core.List<api.Read>(); |
1399 o.add(buildRead()); | 1389 o.add(buildRead()); |
1400 o.add(buildRead()); | 1390 o.add(buildRead()); |
1401 return o; | 1391 return o; |
1402 } | 1392 } |
1403 | 1393 |
1404 checkUnnamed1187(core.List<api.Read> o) { | 1394 checkUnnamed1250(core.List<api.Read> o) { |
1405 unittest.expect(o, unittest.hasLength(2)); | 1395 unittest.expect(o, unittest.hasLength(2)); |
1406 checkRead(o[0]); | 1396 checkRead(o[0]); |
1407 checkRead(o[1]); | 1397 checkRead(o[1]); |
1408 } | 1398 } |
1409 | 1399 |
1410 core.int buildCounterSearchReadsResponse = 0; | 1400 core.int buildCounterSearchReadsResponse = 0; |
1411 buildSearchReadsResponse() { | 1401 buildSearchReadsResponse() { |
1412 var o = new api.SearchReadsResponse(); | 1402 var o = new api.SearchReadsResponse(); |
1413 buildCounterSearchReadsResponse++; | 1403 buildCounterSearchReadsResponse++; |
1414 if (buildCounterSearchReadsResponse < 3) { | 1404 if (buildCounterSearchReadsResponse < 3) { |
1415 o.nextPageToken = "foo"; | 1405 o.nextPageToken = "foo"; |
1416 o.reads = buildUnnamed1187(); | 1406 o.reads = buildUnnamed1250(); |
1417 } | 1407 } |
1418 buildCounterSearchReadsResponse--; | 1408 buildCounterSearchReadsResponse--; |
1419 return o; | 1409 return o; |
1420 } | 1410 } |
1421 | 1411 |
1422 checkSearchReadsResponse(api.SearchReadsResponse o) { | 1412 checkSearchReadsResponse(api.SearchReadsResponse o) { |
1423 buildCounterSearchReadsResponse++; | 1413 buildCounterSearchReadsResponse++; |
1424 if (buildCounterSearchReadsResponse < 3) { | 1414 if (buildCounterSearchReadsResponse < 3) { |
1425 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1415 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1426 checkUnnamed1187(o.reads); | 1416 checkUnnamed1250(o.reads); |
1427 } | 1417 } |
1428 buildCounterSearchReadsResponse--; | 1418 buildCounterSearchReadsResponse--; |
1429 } | 1419 } |
1430 | 1420 |
1431 buildUnnamed1188() { | 1421 buildUnnamed1251() { |
1432 var o = new core.List<core.String>(); | 1422 var o = new core.List<core.String>(); |
1433 o.add("foo"); | 1423 o.add("foo"); |
1434 o.add("foo"); | 1424 o.add("foo"); |
1435 return o; | 1425 return o; |
1436 } | 1426 } |
1437 | 1427 |
1438 checkUnnamed1188(core.List<core.String> o) { | 1428 checkUnnamed1251(core.List<core.String> o) { |
1439 unittest.expect(o, unittest.hasLength(2)); | 1429 unittest.expect(o, unittest.hasLength(2)); |
1440 unittest.expect(o[0], unittest.equals('foo')); | 1430 unittest.expect(o[0], unittest.equals('foo')); |
1441 unittest.expect(o[1], unittest.equals('foo')); | 1431 unittest.expect(o[1], unittest.equals('foo')); |
1442 } | 1432 } |
1443 | 1433 |
1444 core.int buildCounterSearchReadsetsRequest = 0; | 1434 core.int buildCounterSearchReadsetsRequest = 0; |
1445 buildSearchReadsetsRequest() { | 1435 buildSearchReadsetsRequest() { |
1446 var o = new api.SearchReadsetsRequest(); | 1436 var o = new api.SearchReadsetsRequest(); |
1447 buildCounterSearchReadsetsRequest++; | 1437 buildCounterSearchReadsetsRequest++; |
1448 if (buildCounterSearchReadsetsRequest < 3) { | 1438 if (buildCounterSearchReadsetsRequest < 3) { |
1449 o.datasetIds = buildUnnamed1188(); | 1439 o.datasetIds = buildUnnamed1251(); |
1450 o.maxResults = "foo"; | 1440 o.maxResults = "foo"; |
1451 o.name = "foo"; | 1441 o.name = "foo"; |
1452 o.pageToken = "foo"; | 1442 o.pageToken = "foo"; |
1453 } | 1443 } |
1454 buildCounterSearchReadsetsRequest--; | 1444 buildCounterSearchReadsetsRequest--; |
1455 return o; | 1445 return o; |
1456 } | 1446 } |
1457 | 1447 |
1458 checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { | 1448 checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { |
1459 buildCounterSearchReadsetsRequest++; | 1449 buildCounterSearchReadsetsRequest++; |
1460 if (buildCounterSearchReadsetsRequest < 3) { | 1450 if (buildCounterSearchReadsetsRequest < 3) { |
1461 checkUnnamed1188(o.datasetIds); | 1451 checkUnnamed1251(o.datasetIds); |
1462 unittest.expect(o.maxResults, unittest.equals('foo')); | 1452 unittest.expect(o.maxResults, unittest.equals('foo')); |
1463 unittest.expect(o.name, unittest.equals('foo')); | 1453 unittest.expect(o.name, unittest.equals('foo')); |
1464 unittest.expect(o.pageToken, unittest.equals('foo')); | 1454 unittest.expect(o.pageToken, unittest.equals('foo')); |
1465 } | 1455 } |
1466 buildCounterSearchReadsetsRequest--; | 1456 buildCounterSearchReadsetsRequest--; |
1467 } | 1457 } |
1468 | 1458 |
1469 buildUnnamed1189() { | 1459 buildUnnamed1252() { |
1470 var o = new core.List<api.Readset>(); | 1460 var o = new core.List<api.Readset>(); |
1471 o.add(buildReadset()); | 1461 o.add(buildReadset()); |
1472 o.add(buildReadset()); | 1462 o.add(buildReadset()); |
1473 return o; | 1463 return o; |
1474 } | 1464 } |
1475 | 1465 |
1476 checkUnnamed1189(core.List<api.Readset> o) { | 1466 checkUnnamed1252(core.List<api.Readset> o) { |
1477 unittest.expect(o, unittest.hasLength(2)); | 1467 unittest.expect(o, unittest.hasLength(2)); |
1478 checkReadset(o[0]); | 1468 checkReadset(o[0]); |
1479 checkReadset(o[1]); | 1469 checkReadset(o[1]); |
1480 } | 1470 } |
1481 | 1471 |
1482 core.int buildCounterSearchReadsetsResponse = 0; | 1472 core.int buildCounterSearchReadsetsResponse = 0; |
1483 buildSearchReadsetsResponse() { | 1473 buildSearchReadsetsResponse() { |
1484 var o = new api.SearchReadsetsResponse(); | 1474 var o = new api.SearchReadsetsResponse(); |
1485 buildCounterSearchReadsetsResponse++; | 1475 buildCounterSearchReadsetsResponse++; |
1486 if (buildCounterSearchReadsetsResponse < 3) { | 1476 if (buildCounterSearchReadsetsResponse < 3) { |
1487 o.nextPageToken = "foo"; | 1477 o.nextPageToken = "foo"; |
1488 o.readsets = buildUnnamed1189(); | 1478 o.readsets = buildUnnamed1252(); |
1489 } | 1479 } |
1490 buildCounterSearchReadsetsResponse--; | 1480 buildCounterSearchReadsetsResponse--; |
1491 return o; | 1481 return o; |
1492 } | 1482 } |
1493 | 1483 |
1494 checkSearchReadsetsResponse(api.SearchReadsetsResponse o) { | 1484 checkSearchReadsetsResponse(api.SearchReadsetsResponse o) { |
1495 buildCounterSearchReadsetsResponse++; | 1485 buildCounterSearchReadsetsResponse++; |
1496 if (buildCounterSearchReadsetsResponse < 3) { | 1486 if (buildCounterSearchReadsetsResponse < 3) { |
1497 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1487 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1498 checkUnnamed1189(o.readsets); | 1488 checkUnnamed1252(o.readsets); |
1499 } | 1489 } |
1500 buildCounterSearchReadsetsResponse--; | 1490 buildCounterSearchReadsetsResponse--; |
1501 } | 1491 } |
1502 | 1492 |
1503 buildUnnamed1190() { | 1493 buildUnnamed1253() { |
1504 var o = new core.List<core.String>(); | 1494 var o = new core.List<core.String>(); |
1505 o.add("foo"); | 1495 o.add("foo"); |
1506 o.add("foo"); | 1496 o.add("foo"); |
1507 return o; | 1497 return o; |
1508 } | 1498 } |
1509 | 1499 |
1510 checkUnnamed1190(core.List<core.String> o) { | 1500 checkUnnamed1253(core.List<core.String> o) { |
1511 unittest.expect(o, unittest.hasLength(2)); | 1501 unittest.expect(o, unittest.hasLength(2)); |
1512 unittest.expect(o[0], unittest.equals('foo')); | 1502 unittest.expect(o[0], unittest.equals('foo')); |
1513 unittest.expect(o[1], unittest.equals('foo')); | 1503 unittest.expect(o[1], unittest.equals('foo')); |
1514 } | 1504 } |
1515 | 1505 |
1516 core.int buildCounterSearchVariantSetsRequest = 0; | 1506 core.int buildCounterSearchVariantSetsRequest = 0; |
1517 buildSearchVariantSetsRequest() { | 1507 buildSearchVariantSetsRequest() { |
1518 var o = new api.SearchVariantSetsRequest(); | 1508 var o = new api.SearchVariantSetsRequest(); |
1519 buildCounterSearchVariantSetsRequest++; | 1509 buildCounterSearchVariantSetsRequest++; |
1520 if (buildCounterSearchVariantSetsRequest < 3) { | 1510 if (buildCounterSearchVariantSetsRequest < 3) { |
1521 o.datasetIds = buildUnnamed1190(); | 1511 o.datasetIds = buildUnnamed1253(); |
1522 o.pageSize = 42; | 1512 o.pageSize = 42; |
1523 o.pageToken = "foo"; | 1513 o.pageToken = "foo"; |
1524 } | 1514 } |
1525 buildCounterSearchVariantSetsRequest--; | 1515 buildCounterSearchVariantSetsRequest--; |
1526 return o; | 1516 return o; |
1527 } | 1517 } |
1528 | 1518 |
1529 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { | 1519 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { |
1530 buildCounterSearchVariantSetsRequest++; | 1520 buildCounterSearchVariantSetsRequest++; |
1531 if (buildCounterSearchVariantSetsRequest < 3) { | 1521 if (buildCounterSearchVariantSetsRequest < 3) { |
1532 checkUnnamed1190(o.datasetIds); | 1522 checkUnnamed1253(o.datasetIds); |
1533 unittest.expect(o.pageSize, unittest.equals(42)); | 1523 unittest.expect(o.pageSize, unittest.equals(42)); |
1534 unittest.expect(o.pageToken, unittest.equals('foo')); | 1524 unittest.expect(o.pageToken, unittest.equals('foo')); |
1535 } | 1525 } |
1536 buildCounterSearchVariantSetsRequest--; | 1526 buildCounterSearchVariantSetsRequest--; |
1537 } | 1527 } |
1538 | 1528 |
1539 buildUnnamed1191() { | 1529 buildUnnamed1254() { |
1540 var o = new core.List<api.VariantSet>(); | 1530 var o = new core.List<api.VariantSet>(); |
1541 o.add(buildVariantSet()); | 1531 o.add(buildVariantSet()); |
1542 o.add(buildVariantSet()); | 1532 o.add(buildVariantSet()); |
1543 return o; | 1533 return o; |
1544 } | 1534 } |
1545 | 1535 |
1546 checkUnnamed1191(core.List<api.VariantSet> o) { | 1536 checkUnnamed1254(core.List<api.VariantSet> o) { |
1547 unittest.expect(o, unittest.hasLength(2)); | 1537 unittest.expect(o, unittest.hasLength(2)); |
1548 checkVariantSet(o[0]); | 1538 checkVariantSet(o[0]); |
1549 checkVariantSet(o[1]); | 1539 checkVariantSet(o[1]); |
1550 } | 1540 } |
1551 | 1541 |
1552 core.int buildCounterSearchVariantSetsResponse = 0; | 1542 core.int buildCounterSearchVariantSetsResponse = 0; |
1553 buildSearchVariantSetsResponse() { | 1543 buildSearchVariantSetsResponse() { |
1554 var o = new api.SearchVariantSetsResponse(); | 1544 var o = new api.SearchVariantSetsResponse(); |
1555 buildCounterSearchVariantSetsResponse++; | 1545 buildCounterSearchVariantSetsResponse++; |
1556 if (buildCounterSearchVariantSetsResponse < 3) { | 1546 if (buildCounterSearchVariantSetsResponse < 3) { |
1557 o.nextPageToken = "foo"; | 1547 o.nextPageToken = "foo"; |
1558 o.variantSets = buildUnnamed1191(); | 1548 o.variantSets = buildUnnamed1254(); |
1559 } | 1549 } |
1560 buildCounterSearchVariantSetsResponse--; | 1550 buildCounterSearchVariantSetsResponse--; |
1561 return o; | 1551 return o; |
1562 } | 1552 } |
1563 | 1553 |
1564 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { | 1554 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { |
1565 buildCounterSearchVariantSetsResponse++; | 1555 buildCounterSearchVariantSetsResponse++; |
1566 if (buildCounterSearchVariantSetsResponse < 3) { | 1556 if (buildCounterSearchVariantSetsResponse < 3) { |
1567 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1557 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1568 checkUnnamed1191(o.variantSets); | 1558 checkUnnamed1254(o.variantSets); |
1569 } | 1559 } |
1570 buildCounterSearchVariantSetsResponse--; | 1560 buildCounterSearchVariantSetsResponse--; |
1571 } | 1561 } |
1572 | 1562 |
1573 buildUnnamed1192() { | 1563 buildUnnamed1255() { |
1574 var o = new core.List<core.String>(); | 1564 var o = new core.List<core.String>(); |
1575 o.add("foo"); | 1565 o.add("foo"); |
1576 o.add("foo"); | 1566 o.add("foo"); |
1577 return o; | 1567 return o; |
1578 } | 1568 } |
1579 | 1569 |
1580 checkUnnamed1192(core.List<core.String> o) { | 1570 checkUnnamed1255(core.List<core.String> o) { |
1581 unittest.expect(o, unittest.hasLength(2)); | 1571 unittest.expect(o, unittest.hasLength(2)); |
1582 unittest.expect(o[0], unittest.equals('foo')); | 1572 unittest.expect(o[0], unittest.equals('foo')); |
1583 unittest.expect(o[1], unittest.equals('foo')); | 1573 unittest.expect(o[1], unittest.equals('foo')); |
1584 } | 1574 } |
1585 | 1575 |
1586 buildUnnamed1193() { | 1576 buildUnnamed1256() { |
1587 var o = new core.List<core.String>(); | 1577 var o = new core.List<core.String>(); |
1588 o.add("foo"); | 1578 o.add("foo"); |
1589 o.add("foo"); | 1579 o.add("foo"); |
1590 return o; | 1580 return o; |
1591 } | 1581 } |
1592 | 1582 |
1593 checkUnnamed1193(core.List<core.String> o) { | 1583 checkUnnamed1256(core.List<core.String> o) { |
1594 unittest.expect(o, unittest.hasLength(2)); | 1584 unittest.expect(o, unittest.hasLength(2)); |
1595 unittest.expect(o[0], unittest.equals('foo')); | 1585 unittest.expect(o[0], unittest.equals('foo')); |
1596 unittest.expect(o[1], unittest.equals('foo')); | 1586 unittest.expect(o[1], unittest.equals('foo')); |
1597 } | 1587 } |
1598 | 1588 |
1599 core.int buildCounterSearchVariantsRequest = 0; | 1589 core.int buildCounterSearchVariantsRequest = 0; |
1600 buildSearchVariantsRequest() { | 1590 buildSearchVariantsRequest() { |
1601 var o = new api.SearchVariantsRequest(); | 1591 var o = new api.SearchVariantsRequest(); |
1602 buildCounterSearchVariantsRequest++; | 1592 buildCounterSearchVariantsRequest++; |
1603 if (buildCounterSearchVariantsRequest < 3) { | 1593 if (buildCounterSearchVariantsRequest < 3) { |
1604 o.callSetIds = buildUnnamed1192(); | 1594 o.callSetIds = buildUnnamed1255(); |
1605 o.end = "foo"; | 1595 o.end = "foo"; |
1606 o.maxCalls = 42; | 1596 o.maxCalls = 42; |
1607 o.pageSize = 42; | 1597 o.pageSize = 42; |
1608 o.pageToken = "foo"; | 1598 o.pageToken = "foo"; |
1609 o.referenceName = "foo"; | 1599 o.referenceName = "foo"; |
1610 o.start = "foo"; | 1600 o.start = "foo"; |
1611 o.variantName = "foo"; | 1601 o.variantName = "foo"; |
1612 o.variantSetIds = buildUnnamed1193(); | 1602 o.variantSetIds = buildUnnamed1256(); |
1613 } | 1603 } |
1614 buildCounterSearchVariantsRequest--; | 1604 buildCounterSearchVariantsRequest--; |
1615 return o; | 1605 return o; |
1616 } | 1606 } |
1617 | 1607 |
1618 checkSearchVariantsRequest(api.SearchVariantsRequest o) { | 1608 checkSearchVariantsRequest(api.SearchVariantsRequest o) { |
1619 buildCounterSearchVariantsRequest++; | 1609 buildCounterSearchVariantsRequest++; |
1620 if (buildCounterSearchVariantsRequest < 3) { | 1610 if (buildCounterSearchVariantsRequest < 3) { |
1621 checkUnnamed1192(o.callSetIds); | 1611 checkUnnamed1255(o.callSetIds); |
1622 unittest.expect(o.end, unittest.equals('foo')); | 1612 unittest.expect(o.end, unittest.equals('foo')); |
1623 unittest.expect(o.maxCalls, unittest.equals(42)); | 1613 unittest.expect(o.maxCalls, unittest.equals(42)); |
1624 unittest.expect(o.pageSize, unittest.equals(42)); | 1614 unittest.expect(o.pageSize, unittest.equals(42)); |
1625 unittest.expect(o.pageToken, unittest.equals('foo')); | 1615 unittest.expect(o.pageToken, unittest.equals('foo')); |
1626 unittest.expect(o.referenceName, unittest.equals('foo')); | 1616 unittest.expect(o.referenceName, unittest.equals('foo')); |
1627 unittest.expect(o.start, unittest.equals('foo')); | 1617 unittest.expect(o.start, unittest.equals('foo')); |
1628 unittest.expect(o.variantName, unittest.equals('foo')); | 1618 unittest.expect(o.variantName, unittest.equals('foo')); |
1629 checkUnnamed1193(o.variantSetIds); | 1619 checkUnnamed1256(o.variantSetIds); |
1630 } | 1620 } |
1631 buildCounterSearchVariantsRequest--; | 1621 buildCounterSearchVariantsRequest--; |
1632 } | 1622 } |
1633 | 1623 |
1634 buildUnnamed1194() { | 1624 buildUnnamed1257() { |
1635 var o = new core.List<api.Variant>(); | 1625 var o = new core.List<api.Variant>(); |
1636 o.add(buildVariant()); | 1626 o.add(buildVariant()); |
1637 o.add(buildVariant()); | 1627 o.add(buildVariant()); |
1638 return o; | 1628 return o; |
1639 } | 1629 } |
1640 | 1630 |
1641 checkUnnamed1194(core.List<api.Variant> o) { | 1631 checkUnnamed1257(core.List<api.Variant> o) { |
1642 unittest.expect(o, unittest.hasLength(2)); | 1632 unittest.expect(o, unittest.hasLength(2)); |
1643 checkVariant(o[0]); | 1633 checkVariant(o[0]); |
1644 checkVariant(o[1]); | 1634 checkVariant(o[1]); |
1645 } | 1635 } |
1646 | 1636 |
1647 core.int buildCounterSearchVariantsResponse = 0; | 1637 core.int buildCounterSearchVariantsResponse = 0; |
1648 buildSearchVariantsResponse() { | 1638 buildSearchVariantsResponse() { |
1649 var o = new api.SearchVariantsResponse(); | 1639 var o = new api.SearchVariantsResponse(); |
1650 buildCounterSearchVariantsResponse++; | 1640 buildCounterSearchVariantsResponse++; |
1651 if (buildCounterSearchVariantsResponse < 3) { | 1641 if (buildCounterSearchVariantsResponse < 3) { |
1652 o.nextPageToken = "foo"; | 1642 o.nextPageToken = "foo"; |
1653 o.variants = buildUnnamed1194(); | 1643 o.variants = buildUnnamed1257(); |
1654 } | 1644 } |
1655 buildCounterSearchVariantsResponse--; | 1645 buildCounterSearchVariantsResponse--; |
1656 return o; | 1646 return o; |
1657 } | 1647 } |
1658 | 1648 |
1659 checkSearchVariantsResponse(api.SearchVariantsResponse o) { | 1649 checkSearchVariantsResponse(api.SearchVariantsResponse o) { |
1660 buildCounterSearchVariantsResponse++; | 1650 buildCounterSearchVariantsResponse++; |
1661 if (buildCounterSearchVariantsResponse < 3) { | 1651 if (buildCounterSearchVariantsResponse < 3) { |
1662 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1652 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1663 checkUnnamed1194(o.variants); | 1653 checkUnnamed1257(o.variants); |
1664 } | 1654 } |
1665 buildCounterSearchVariantsResponse--; | 1655 buildCounterSearchVariantsResponse--; |
1666 } | 1656 } |
1667 | 1657 |
1668 buildUnnamed1195() { | 1658 buildUnnamed1258() { |
1669 var o = new core.List<core.String>(); | 1659 var o = new core.List<core.String>(); |
1670 o.add("foo"); | 1660 o.add("foo"); |
1671 o.add("foo"); | 1661 o.add("foo"); |
1672 return o; | 1662 return o; |
1673 } | 1663 } |
1674 | 1664 |
1675 checkUnnamed1195(core.List<core.String> o) { | 1665 checkUnnamed1258(core.List<core.String> o) { |
1676 unittest.expect(o, unittest.hasLength(2)); | 1666 unittest.expect(o, unittest.hasLength(2)); |
1677 unittest.expect(o[0], unittest.equals('foo')); | 1667 unittest.expect(o[0], unittest.equals('foo')); |
1678 unittest.expect(o[1], unittest.equals('foo')); | 1668 unittest.expect(o[1], unittest.equals('foo')); |
1679 } | 1669 } |
1680 | 1670 |
1681 buildUnnamed1196() { | 1671 buildUnnamed1259() { |
1682 var o = new core.List<api.Call>(); | 1672 var o = new core.List<api.Call>(); |
1683 o.add(buildCall()); | 1673 o.add(buildCall()); |
1684 o.add(buildCall()); | 1674 o.add(buildCall()); |
1685 return o; | 1675 return o; |
1686 } | 1676 } |
1687 | 1677 |
1688 checkUnnamed1196(core.List<api.Call> o) { | 1678 checkUnnamed1259(core.List<api.Call> o) { |
1689 unittest.expect(o, unittest.hasLength(2)); | 1679 unittest.expect(o, unittest.hasLength(2)); |
1690 checkCall(o[0]); | 1680 checkCall(o[0]); |
1691 checkCall(o[1]); | 1681 checkCall(o[1]); |
1692 } | 1682 } |
1693 | 1683 |
1694 buildUnnamed1197() { | 1684 buildUnnamed1260() { |
1695 var o = new core.List<core.String>(); | 1685 var o = new core.List<core.String>(); |
1696 o.add("foo"); | 1686 o.add("foo"); |
1697 o.add("foo"); | 1687 o.add("foo"); |
1698 return o; | 1688 return o; |
1699 } | 1689 } |
1700 | 1690 |
1701 checkUnnamed1197(core.List<core.String> o) { | 1691 checkUnnamed1260(core.List<core.String> o) { |
1702 unittest.expect(o, unittest.hasLength(2)); | 1692 unittest.expect(o, unittest.hasLength(2)); |
1703 unittest.expect(o[0], unittest.equals('foo')); | 1693 unittest.expect(o[0], unittest.equals('foo')); |
1704 unittest.expect(o[1], unittest.equals('foo')); | 1694 unittest.expect(o[1], unittest.equals('foo')); |
1705 } | 1695 } |
1706 | 1696 |
1707 buildUnnamed1198() { | 1697 buildUnnamed1261() { |
1708 var o = new core.List<core.String>(); | 1698 var o = new core.List<core.String>(); |
1709 o.add("foo"); | 1699 o.add("foo"); |
1710 o.add("foo"); | 1700 o.add("foo"); |
1711 return o; | 1701 return o; |
1712 } | 1702 } |
1713 | 1703 |
1714 checkUnnamed1198(core.List<core.String> o) { | 1704 checkUnnamed1261(core.List<core.String> o) { |
1715 unittest.expect(o, unittest.hasLength(2)); | 1705 unittest.expect(o, unittest.hasLength(2)); |
1716 unittest.expect(o[0], unittest.equals('foo')); | 1706 unittest.expect(o[0], unittest.equals('foo')); |
1717 unittest.expect(o[1], unittest.equals('foo')); | 1707 unittest.expect(o[1], unittest.equals('foo')); |
1718 } | 1708 } |
1719 | 1709 |
1720 buildUnnamed1199() { | 1710 buildUnnamed1262() { |
1721 var o = new core.Map<core.String, core.List<core.String>>(); | 1711 var o = new core.Map<core.String, core.List<core.String>>(); |
1722 o["x"] = buildUnnamed1198(); | 1712 o["x"] = buildUnnamed1261(); |
1723 o["y"] = buildUnnamed1198(); | 1713 o["y"] = buildUnnamed1261(); |
1724 return o; | 1714 return o; |
1725 } | 1715 } |
1726 | 1716 |
1727 checkUnnamed1199(core.Map<core.String, core.List<core.String>> o) { | 1717 checkUnnamed1262(core.Map<core.String, core.List<core.String>> o) { |
1728 unittest.expect(o, unittest.hasLength(2)); | 1718 unittest.expect(o, unittest.hasLength(2)); |
1729 checkUnnamed1198(o["x"]); | 1719 checkUnnamed1261(o["x"]); |
1730 checkUnnamed1198(o["y"]); | 1720 checkUnnamed1261(o["y"]); |
1731 } | 1721 } |
1732 | 1722 |
1733 buildUnnamed1200() { | 1723 buildUnnamed1263() { |
1734 var o = new core.List<core.String>(); | 1724 var o = new core.List<core.String>(); |
1735 o.add("foo"); | 1725 o.add("foo"); |
1736 o.add("foo"); | 1726 o.add("foo"); |
1737 return o; | 1727 return o; |
1738 } | 1728 } |
1739 | 1729 |
1740 checkUnnamed1200(core.List<core.String> o) { | 1730 checkUnnamed1263(core.List<core.String> o) { |
1741 unittest.expect(o, unittest.hasLength(2)); | 1731 unittest.expect(o, unittest.hasLength(2)); |
1742 unittest.expect(o[0], unittest.equals('foo')); | 1732 unittest.expect(o[0], unittest.equals('foo')); |
1743 unittest.expect(o[1], unittest.equals('foo')); | 1733 unittest.expect(o[1], unittest.equals('foo')); |
1744 } | 1734 } |
1745 | 1735 |
1746 core.int buildCounterVariant = 0; | 1736 core.int buildCounterVariant = 0; |
1747 buildVariant() { | 1737 buildVariant() { |
1748 var o = new api.Variant(); | 1738 var o = new api.Variant(); |
1749 buildCounterVariant++; | 1739 buildCounterVariant++; |
1750 if (buildCounterVariant < 3) { | 1740 if (buildCounterVariant < 3) { |
1751 o.alternateBases = buildUnnamed1195(); | 1741 o.alternateBases = buildUnnamed1258(); |
1752 o.calls = buildUnnamed1196(); | 1742 o.calls = buildUnnamed1259(); |
1753 o.created = "foo"; | 1743 o.created = "foo"; |
1754 o.end = "foo"; | 1744 o.end = "foo"; |
1755 o.filter = buildUnnamed1197(); | 1745 o.filter = buildUnnamed1260(); |
1756 o.id = "foo"; | 1746 o.id = "foo"; |
1757 o.info = buildUnnamed1199(); | 1747 o.info = buildUnnamed1262(); |
1758 o.names = buildUnnamed1200(); | 1748 o.names = buildUnnamed1263(); |
1759 o.quality = 42.0; | 1749 o.quality = 42.0; |
1760 o.referenceBases = "foo"; | 1750 o.referenceBases = "foo"; |
1761 o.referenceName = "foo"; | 1751 o.referenceName = "foo"; |
1762 o.start = "foo"; | 1752 o.start = "foo"; |
1763 o.variantSetId = "foo"; | 1753 o.variantSetId = "foo"; |
1764 } | 1754 } |
1765 buildCounterVariant--; | 1755 buildCounterVariant--; |
1766 return o; | 1756 return o; |
1767 } | 1757 } |
1768 | 1758 |
1769 checkVariant(api.Variant o) { | 1759 checkVariant(api.Variant o) { |
1770 buildCounterVariant++; | 1760 buildCounterVariant++; |
1771 if (buildCounterVariant < 3) { | 1761 if (buildCounterVariant < 3) { |
1772 checkUnnamed1195(o.alternateBases); | 1762 checkUnnamed1258(o.alternateBases); |
1773 checkUnnamed1196(o.calls); | 1763 checkUnnamed1259(o.calls); |
1774 unittest.expect(o.created, unittest.equals('foo')); | 1764 unittest.expect(o.created, unittest.equals('foo')); |
1775 unittest.expect(o.end, unittest.equals('foo')); | 1765 unittest.expect(o.end, unittest.equals('foo')); |
1776 checkUnnamed1197(o.filter); | 1766 checkUnnamed1260(o.filter); |
1777 unittest.expect(o.id, unittest.equals('foo')); | 1767 unittest.expect(o.id, unittest.equals('foo')); |
1778 checkUnnamed1199(o.info); | 1768 checkUnnamed1262(o.info); |
1779 checkUnnamed1200(o.names); | 1769 checkUnnamed1263(o.names); |
1780 unittest.expect(o.quality, unittest.equals(42.0)); | 1770 unittest.expect(o.quality, unittest.equals(42.0)); |
1781 unittest.expect(o.referenceBases, unittest.equals('foo')); | 1771 unittest.expect(o.referenceBases, unittest.equals('foo')); |
1782 unittest.expect(o.referenceName, unittest.equals('foo')); | 1772 unittest.expect(o.referenceName, unittest.equals('foo')); |
1783 unittest.expect(o.start, unittest.equals('foo')); | 1773 unittest.expect(o.start, unittest.equals('foo')); |
1784 unittest.expect(o.variantSetId, unittest.equals('foo')); | 1774 unittest.expect(o.variantSetId, unittest.equals('foo')); |
1785 } | 1775 } |
1786 buildCounterVariant--; | 1776 buildCounterVariant--; |
1787 } | 1777 } |
1788 | 1778 |
1789 buildUnnamed1201() { | 1779 buildUnnamed1264() { |
1790 var o = new core.List<api.Metadata>(); | 1780 var o = new core.List<api.Metadata>(); |
1791 o.add(buildMetadata()); | 1781 o.add(buildMetadata()); |
1792 o.add(buildMetadata()); | 1782 o.add(buildMetadata()); |
1793 return o; | 1783 return o; |
1794 } | 1784 } |
1795 | 1785 |
1796 checkUnnamed1201(core.List<api.Metadata> o) { | 1786 checkUnnamed1264(core.List<api.Metadata> o) { |
1797 unittest.expect(o, unittest.hasLength(2)); | 1787 unittest.expect(o, unittest.hasLength(2)); |
1798 checkMetadata(o[0]); | 1788 checkMetadata(o[0]); |
1799 checkMetadata(o[1]); | 1789 checkMetadata(o[1]); |
1800 } | 1790 } |
1801 | 1791 |
1802 buildUnnamed1202() { | 1792 buildUnnamed1265() { |
1803 var o = new core.List<api.ReferenceBound>(); | 1793 var o = new core.List<api.ReferenceBound>(); |
1804 o.add(buildReferenceBound()); | 1794 o.add(buildReferenceBound()); |
1805 o.add(buildReferenceBound()); | 1795 o.add(buildReferenceBound()); |
1806 return o; | 1796 return o; |
1807 } | 1797 } |
1808 | 1798 |
1809 checkUnnamed1202(core.List<api.ReferenceBound> o) { | 1799 checkUnnamed1265(core.List<api.ReferenceBound> o) { |
1810 unittest.expect(o, unittest.hasLength(2)); | 1800 unittest.expect(o, unittest.hasLength(2)); |
1811 checkReferenceBound(o[0]); | 1801 checkReferenceBound(o[0]); |
1812 checkReferenceBound(o[1]); | 1802 checkReferenceBound(o[1]); |
1813 } | 1803 } |
1814 | 1804 |
1815 core.int buildCounterVariantSet = 0; | 1805 core.int buildCounterVariantSet = 0; |
1816 buildVariantSet() { | 1806 buildVariantSet() { |
1817 var o = new api.VariantSet(); | 1807 var o = new api.VariantSet(); |
1818 buildCounterVariantSet++; | 1808 buildCounterVariantSet++; |
1819 if (buildCounterVariantSet < 3) { | 1809 if (buildCounterVariantSet < 3) { |
1820 o.datasetId = "foo"; | 1810 o.datasetId = "foo"; |
1821 o.id = "foo"; | 1811 o.id = "foo"; |
1822 o.metadata = buildUnnamed1201(); | 1812 o.metadata = buildUnnamed1264(); |
1823 o.referenceBounds = buildUnnamed1202(); | 1813 o.referenceBounds = buildUnnamed1265(); |
1824 } | 1814 } |
1825 buildCounterVariantSet--; | 1815 buildCounterVariantSet--; |
1826 return o; | 1816 return o; |
1827 } | 1817 } |
1828 | 1818 |
1829 checkVariantSet(api.VariantSet o) { | 1819 checkVariantSet(api.VariantSet o) { |
1830 buildCounterVariantSet++; | 1820 buildCounterVariantSet++; |
1831 if (buildCounterVariantSet < 3) { | 1821 if (buildCounterVariantSet < 3) { |
1832 unittest.expect(o.datasetId, unittest.equals('foo')); | 1822 unittest.expect(o.datasetId, unittest.equals('foo')); |
1833 unittest.expect(o.id, unittest.equals('foo')); | 1823 unittest.expect(o.id, unittest.equals('foo')); |
1834 checkUnnamed1201(o.metadata); | 1824 checkUnnamed1264(o.metadata); |
1835 checkUnnamed1202(o.referenceBounds); | 1825 checkUnnamed1265(o.referenceBounds); |
1836 } | 1826 } |
1837 buildCounterVariantSet--; | 1827 buildCounterVariantSet--; |
1838 } | 1828 } |
1839 | 1829 |
1840 | 1830 |
1841 main() { | 1831 main() { |
1842 unittest.group("obj-schema-Beacon", () { | 1832 unittest.group("obj-schema-Beacon", () { |
1843 unittest.test("to-json--from-json", () { | 1833 unittest.test("to-json--from-json", () { |
1844 var o = buildBeacon(); | 1834 var o = buildBeacon(); |
1845 var od = new api.Beacon.fromJson(o.toJson()); | 1835 var od = new api.Beacon.fromJson(o.toJson()); |
(...skipping 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4132 | 4122 |
4133 var h = { | 4123 var h = { |
4134 "content-type" : "application/json; charset=utf-8", | 4124 "content-type" : "application/json; charset=utf-8", |
4135 }; | 4125 }; |
4136 var resp = ""; | 4126 var resp = ""; |
4137 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 4127 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
4138 }), true); | 4128 }), true); |
4139 res.mergeVariants(arg_request, arg_variantSetId).then(unittest.expectAsync
((_) {})); | 4129 res.mergeVariants(arg_request, arg_variantSetId).then(unittest.expectAsync
((_) {})); |
4140 }); | 4130 }); |
4141 | 4131 |
| 4132 unittest.test("method--patch", () { |
| 4133 |
| 4134 var mock = new common_test.HttpServerMock(); |
| 4135 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; |
| 4136 var arg_request = buildVariantSet(); |
| 4137 var arg_variantSetId = "foo"; |
| 4138 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4139 var obj = new api.VariantSet.fromJson(json); |
| 4140 checkVariantSet(obj); |
| 4141 |
| 4142 var path = (req.url).path; |
| 4143 var pathOffset = 0; |
| 4144 var index; |
| 4145 var subPart; |
| 4146 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4147 pathOffset += 1; |
| 4148 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("genomics/v1beta/")); |
| 4149 pathOffset += 16; |
| 4150 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("variantsets/")); |
| 4151 pathOffset += 12; |
| 4152 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
| 4153 pathOffset = path.length; |
| 4154 unittest.expect(subPart, unittest.equals("$arg_variantSetId")); |
| 4155 |
| 4156 var query = (req.url).query; |
| 4157 var queryOffset = 0; |
| 4158 var queryMap = {}; |
| 4159 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4160 parseBool(n) { |
| 4161 if (n == "true") return true; |
| 4162 if (n == "false") return false; |
| 4163 if (n == null) return null; |
| 4164 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4165 } |
| 4166 if (query.length > 0) { |
| 4167 for (var part in query.split("&")) { |
| 4168 var keyvalue = part.split("="); |
| 4169 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4170 } |
| 4171 } |
| 4172 |
| 4173 |
| 4174 var h = { |
| 4175 "content-type" : "application/json; charset=utf-8", |
| 4176 }; |
| 4177 var resp = convert.JSON.encode(buildVariantSet()); |
| 4178 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 4179 }), true); |
| 4180 res.patch(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.V
ariantSet response) { |
| 4181 checkVariantSet(response); |
| 4182 }))); |
| 4183 }); |
| 4184 |
4142 unittest.test("method--search", () { | 4185 unittest.test("method--search", () { |
4143 | 4186 |
4144 var mock = new common_test.HttpServerMock(); | 4187 var mock = new common_test.HttpServerMock(); |
4145 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; | 4188 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; |
4146 var arg_request = buildSearchVariantSetsRequest(); | 4189 var arg_request = buildSearchVariantSetsRequest(); |
4147 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4190 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4148 var obj = new api.SearchVariantSetsRequest.fromJson(json); | 4191 var obj = new api.SearchVariantSetsRequest.fromJson(json); |
4149 checkSearchVariantSetsRequest(obj); | 4192 checkSearchVariantSetsRequest(obj); |
4150 | 4193 |
4151 var path = (req.url).path; | 4194 var path = (req.url).path; |
(...skipping 29 matching lines...) Expand all Loading... |
4181 "content-type" : "application/json; charset=utf-8", | 4224 "content-type" : "application/json; charset=utf-8", |
4182 }; | 4225 }; |
4183 var resp = convert.JSON.encode(buildSearchVariantSetsResponse()); | 4226 var resp = convert.JSON.encode(buildSearchVariantSetsResponse()); |
4184 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 4227 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
4185 }), true); | 4228 }), true); |
4186 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { | 4229 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { |
4187 checkSearchVariantSetsResponse(response); | 4230 checkSearchVariantSetsResponse(response); |
4188 }))); | 4231 }))); |
4189 }); | 4232 }); |
4190 | 4233 |
| 4234 unittest.test("method--update", () { |
| 4235 |
| 4236 var mock = new common_test.HttpServerMock(); |
| 4237 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; |
| 4238 var arg_request = buildVariantSet(); |
| 4239 var arg_variantSetId = "foo"; |
| 4240 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4241 var obj = new api.VariantSet.fromJson(json); |
| 4242 checkVariantSet(obj); |
| 4243 |
| 4244 var path = (req.url).path; |
| 4245 var pathOffset = 0; |
| 4246 var index; |
| 4247 var subPart; |
| 4248 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4249 pathOffset += 1; |
| 4250 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("genomics/v1beta/")); |
| 4251 pathOffset += 16; |
| 4252 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("variantsets/")); |
| 4253 pathOffset += 12; |
| 4254 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); |
| 4255 pathOffset = path.length; |
| 4256 unittest.expect(subPart, unittest.equals("$arg_variantSetId")); |
| 4257 |
| 4258 var query = (req.url).query; |
| 4259 var queryOffset = 0; |
| 4260 var queryMap = {}; |
| 4261 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4262 parseBool(n) { |
| 4263 if (n == "true") return true; |
| 4264 if (n == "false") return false; |
| 4265 if (n == null) return null; |
| 4266 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4267 } |
| 4268 if (query.length > 0) { |
| 4269 for (var part in query.split("&")) { |
| 4270 var keyvalue = part.split("="); |
| 4271 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4272 } |
| 4273 } |
| 4274 |
| 4275 |
| 4276 var h = { |
| 4277 "content-type" : "application/json; charset=utf-8", |
| 4278 }; |
| 4279 var resp = convert.JSON.encode(buildVariantSet()); |
| 4280 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 4281 }), true); |
| 4282 res.update(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.
VariantSet response) { |
| 4283 checkVariantSet(response); |
| 4284 }))); |
| 4285 }); |
| 4286 |
4191 }); | 4287 }); |
4192 | 4288 |
4193 | 4289 |
4194 } | 4290 } |
4195 | 4291 |
OLD | NEW |