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; |
11 import 'package:googleapis_beta/common/common.dart' as common; | 11 import 'package:googleapis_beta/common/common.dart' as common; |
12 import 'package:googleapis_beta/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis_beta/src/common_internal.dart' as common_internal; |
13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
14 | 14 |
15 import 'package:googleapis_beta/genomics/v1beta.dart' as api; | 15 import 'package:googleapis_beta/genomics/v1beta.dart' as api; |
16 | 16 |
17 | 17 |
18 | 18 |
19 core.int buildCounterBeacon = 0; | 19 buildUnnamed1214() { |
20 buildBeacon() { | |
21 var o = new api.Beacon(); | |
22 buildCounterBeacon++; | |
23 if (buildCounterBeacon < 3) { | |
24 o.exists = true; | |
25 } | |
26 buildCounterBeacon--; | |
27 return o; | |
28 } | |
29 | |
30 checkBeacon(api.Beacon o) { | |
31 buildCounterBeacon++; | |
32 if (buildCounterBeacon < 3) { | |
33 unittest.expect(o.exists, unittest.isTrue); | |
34 } | |
35 buildCounterBeacon--; | |
36 } | |
37 | |
38 buildUnnamed1213() { | |
39 var o = new core.List<core.int>(); | 20 var o = new core.List<core.int>(); |
40 o.add(42); | 21 o.add(42); |
41 o.add(42); | 22 o.add(42); |
42 return o; | 23 return o; |
43 } | 24 } |
44 | 25 |
45 checkUnnamed1213(core.List<core.int> o) { | 26 checkUnnamed1214(core.List<core.int> o) { |
46 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
47 unittest.expect(o[0], unittest.equals(42)); | 28 unittest.expect(o[0], unittest.equals(42)); |
48 unittest.expect(o[1], unittest.equals(42)); | 29 unittest.expect(o[1], unittest.equals(42)); |
49 } | 30 } |
50 | 31 |
51 buildUnnamed1214() { | 32 buildUnnamed1215() { |
52 var o = new core.List<core.double>(); | 33 var o = new core.List<core.double>(); |
53 o.add(42.0); | 34 o.add(42.0); |
54 o.add(42.0); | 35 o.add(42.0); |
55 return o; | 36 return o; |
56 } | 37 } |
57 | 38 |
58 checkUnnamed1214(core.List<core.double> o) { | 39 checkUnnamed1215(core.List<core.double> o) { |
59 unittest.expect(o, unittest.hasLength(2)); | 40 unittest.expect(o, unittest.hasLength(2)); |
60 unittest.expect(o[0], unittest.equals(42.0)); | 41 unittest.expect(o[0], unittest.equals(42.0)); |
61 unittest.expect(o[1], unittest.equals(42.0)); | 42 unittest.expect(o[1], unittest.equals(42.0)); |
62 } | 43 } |
63 | 44 |
64 buildUnnamed1215() { | 45 buildUnnamed1216() { |
65 var o = new core.List<core.String>(); | 46 var o = new core.List<core.String>(); |
66 o.add("foo"); | 47 o.add("foo"); |
67 o.add("foo"); | 48 o.add("foo"); |
68 return o; | 49 return o; |
69 } | 50 } |
70 | 51 |
71 checkUnnamed1215(core.List<core.String> o) { | 52 checkUnnamed1216(core.List<core.String> o) { |
72 unittest.expect(o, unittest.hasLength(2)); | 53 unittest.expect(o, unittest.hasLength(2)); |
73 unittest.expect(o[0], unittest.equals('foo')); | 54 unittest.expect(o[0], unittest.equals('foo')); |
74 unittest.expect(o[1], unittest.equals('foo')); | 55 unittest.expect(o[1], unittest.equals('foo')); |
75 } | 56 } |
76 | 57 |
77 buildUnnamed1216() { | 58 buildUnnamed1217() { |
78 var o = new core.Map<core.String, core.List<core.String>>(); | 59 var o = new core.Map<core.String, core.List<core.String>>(); |
79 o["x"] = buildUnnamed1215(); | 60 o["x"] = buildUnnamed1216(); |
80 o["y"] = buildUnnamed1215(); | 61 o["y"] = buildUnnamed1216(); |
81 return o; | 62 return o; |
82 } | 63 } |
83 | 64 |
84 checkUnnamed1216(core.Map<core.String, core.List<core.String>> o) { | 65 checkUnnamed1217(core.Map<core.String, core.List<core.String>> o) { |
85 unittest.expect(o, unittest.hasLength(2)); | 66 unittest.expect(o, unittest.hasLength(2)); |
86 checkUnnamed1215(o["x"]); | 67 checkUnnamed1216(o["x"]); |
87 checkUnnamed1215(o["y"]); | 68 checkUnnamed1216(o["y"]); |
88 } | 69 } |
89 | 70 |
90 core.int buildCounterCall = 0; | 71 core.int buildCounterCall = 0; |
91 buildCall() { | 72 buildCall() { |
92 var o = new api.Call(); | 73 var o = new api.Call(); |
93 buildCounterCall++; | 74 buildCounterCall++; |
94 if (buildCounterCall < 3) { | 75 if (buildCounterCall < 3) { |
95 o.callSetId = "foo"; | 76 o.callSetId = "foo"; |
96 o.callSetName = "foo"; | 77 o.callSetName = "foo"; |
97 o.genotype = buildUnnamed1213(); | 78 o.genotype = buildUnnamed1214(); |
98 o.genotypeLikelihood = buildUnnamed1214(); | 79 o.genotypeLikelihood = buildUnnamed1215(); |
99 o.info = buildUnnamed1216(); | 80 o.info = buildUnnamed1217(); |
100 o.phaseset = "foo"; | 81 o.phaseset = "foo"; |
101 } | 82 } |
102 buildCounterCall--; | 83 buildCounterCall--; |
103 return o; | 84 return o; |
104 } | 85 } |
105 | 86 |
106 checkCall(api.Call o) { | 87 checkCall(api.Call o) { |
107 buildCounterCall++; | 88 buildCounterCall++; |
108 if (buildCounterCall < 3) { | 89 if (buildCounterCall < 3) { |
109 unittest.expect(o.callSetId, unittest.equals('foo')); | 90 unittest.expect(o.callSetId, unittest.equals('foo')); |
110 unittest.expect(o.callSetName, unittest.equals('foo')); | 91 unittest.expect(o.callSetName, unittest.equals('foo')); |
111 checkUnnamed1213(o.genotype); | 92 checkUnnamed1214(o.genotype); |
112 checkUnnamed1214(o.genotypeLikelihood); | 93 checkUnnamed1215(o.genotypeLikelihood); |
113 checkUnnamed1216(o.info); | 94 checkUnnamed1217(o.info); |
114 unittest.expect(o.phaseset, unittest.equals('foo')); | 95 unittest.expect(o.phaseset, unittest.equals('foo')); |
115 } | 96 } |
116 buildCounterCall--; | 97 buildCounterCall--; |
117 } | 98 } |
118 | 99 |
119 buildUnnamed1217() { | 100 buildUnnamed1218() { |
120 var o = new core.List<core.String>(); | 101 var o = new core.List<core.String>(); |
121 o.add("foo"); | 102 o.add("foo"); |
122 o.add("foo"); | 103 o.add("foo"); |
123 return o; | 104 return o; |
124 } | 105 } |
125 | 106 |
126 checkUnnamed1217(core.List<core.String> o) { | 107 checkUnnamed1218(core.List<core.String> o) { |
127 unittest.expect(o, unittest.hasLength(2)); | 108 unittest.expect(o, unittest.hasLength(2)); |
128 unittest.expect(o[0], unittest.equals('foo')); | 109 unittest.expect(o[0], unittest.equals('foo')); |
129 unittest.expect(o[1], unittest.equals('foo')); | 110 unittest.expect(o[1], unittest.equals('foo')); |
130 } | 111 } |
131 | 112 |
132 buildUnnamed1218() { | 113 buildUnnamed1219() { |
133 var o = new core.Map<core.String, core.List<core.String>>(); | 114 var o = new core.Map<core.String, core.List<core.String>>(); |
134 o["x"] = buildUnnamed1217(); | 115 o["x"] = buildUnnamed1218(); |
135 o["y"] = buildUnnamed1217(); | 116 o["y"] = buildUnnamed1218(); |
136 return o; | 117 return o; |
137 } | 118 } |
138 | 119 |
139 checkUnnamed1218(core.Map<core.String, core.List<core.String>> o) { | 120 checkUnnamed1219(core.Map<core.String, core.List<core.String>> o) { |
140 unittest.expect(o, unittest.hasLength(2)); | 121 unittest.expect(o, unittest.hasLength(2)); |
141 checkUnnamed1217(o["x"]); | 122 checkUnnamed1218(o["x"]); |
142 checkUnnamed1217(o["y"]); | 123 checkUnnamed1218(o["y"]); |
143 } | 124 } |
144 | 125 |
145 buildUnnamed1219() { | 126 buildUnnamed1220() { |
146 var o = new core.List<core.String>(); | 127 var o = new core.List<core.String>(); |
147 o.add("foo"); | 128 o.add("foo"); |
148 o.add("foo"); | 129 o.add("foo"); |
149 return o; | 130 return o; |
150 } | 131 } |
151 | 132 |
152 checkUnnamed1219(core.List<core.String> o) { | 133 checkUnnamed1220(core.List<core.String> o) { |
153 unittest.expect(o, unittest.hasLength(2)); | 134 unittest.expect(o, unittest.hasLength(2)); |
154 unittest.expect(o[0], unittest.equals('foo')); | 135 unittest.expect(o[0], unittest.equals('foo')); |
155 unittest.expect(o[1], unittest.equals('foo')); | 136 unittest.expect(o[1], unittest.equals('foo')); |
156 } | 137 } |
157 | 138 |
158 core.int buildCounterCallSet = 0; | 139 core.int buildCounterCallSet = 0; |
159 buildCallSet() { | 140 buildCallSet() { |
160 var o = new api.CallSet(); | 141 var o = new api.CallSet(); |
161 buildCounterCallSet++; | 142 buildCounterCallSet++; |
162 if (buildCounterCallSet < 3) { | 143 if (buildCounterCallSet < 3) { |
163 o.created = "foo"; | 144 o.created = "foo"; |
164 o.id = "foo"; | 145 o.id = "foo"; |
165 o.info = buildUnnamed1218(); | 146 o.info = buildUnnamed1219(); |
166 o.name = "foo"; | 147 o.name = "foo"; |
167 o.sampleId = "foo"; | 148 o.sampleId = "foo"; |
168 o.variantSetIds = buildUnnamed1219(); | 149 o.variantSetIds = buildUnnamed1220(); |
169 } | 150 } |
170 buildCounterCallSet--; | 151 buildCounterCallSet--; |
171 return o; | 152 return o; |
172 } | 153 } |
173 | 154 |
174 checkCallSet(api.CallSet o) { | 155 checkCallSet(api.CallSet o) { |
175 buildCounterCallSet++; | 156 buildCounterCallSet++; |
176 if (buildCounterCallSet < 3) { | 157 if (buildCounterCallSet < 3) { |
177 unittest.expect(o.created, unittest.equals('foo')); | 158 unittest.expect(o.created, unittest.equals('foo')); |
178 unittest.expect(o.id, unittest.equals('foo')); | 159 unittest.expect(o.id, unittest.equals('foo')); |
179 checkUnnamed1218(o.info); | 160 checkUnnamed1219(o.info); |
180 unittest.expect(o.name, unittest.equals('foo')); | 161 unittest.expect(o.name, unittest.equals('foo')); |
181 unittest.expect(o.sampleId, unittest.equals('foo')); | 162 unittest.expect(o.sampleId, unittest.equals('foo')); |
182 checkUnnamed1219(o.variantSetIds); | 163 checkUnnamed1220(o.variantSetIds); |
183 } | 164 } |
184 buildCounterCallSet--; | 165 buildCounterCallSet--; |
185 } | 166 } |
186 | 167 |
187 core.int buildCounterCoverageBucket = 0; | 168 core.int buildCounterCoverageBucket = 0; |
188 buildCoverageBucket() { | 169 buildCoverageBucket() { |
189 var o = new api.CoverageBucket(); | 170 var o = new api.CoverageBucket(); |
190 buildCounterCoverageBucket++; | 171 buildCounterCoverageBucket++; |
191 if (buildCounterCoverageBucket < 3) { | 172 if (buildCounterCoverageBucket < 3) { |
192 o.meanCoverage = 42.0; | 173 o.meanCoverage = 42.0; |
(...skipping 30 matching lines...) Expand all Loading... |
223 buildCounterDataset++; | 204 buildCounterDataset++; |
224 if (buildCounterDataset < 3) { | 205 if (buildCounterDataset < 3) { |
225 unittest.expect(o.id, unittest.equals('foo')); | 206 unittest.expect(o.id, unittest.equals('foo')); |
226 unittest.expect(o.isPublic, unittest.isTrue); | 207 unittest.expect(o.isPublic, unittest.isTrue); |
227 unittest.expect(o.name, unittest.equals('foo')); | 208 unittest.expect(o.name, unittest.equals('foo')); |
228 unittest.expect(o.projectId, unittest.equals('foo')); | 209 unittest.expect(o.projectId, unittest.equals('foo')); |
229 } | 210 } |
230 buildCounterDataset--; | 211 buildCounterDataset--; |
231 } | 212 } |
232 | 213 |
233 buildUnnamed1220() { | |
234 var o = new core.List<core.String>(); | |
235 o.add("foo"); | |
236 o.add("foo"); | |
237 return o; | |
238 } | |
239 | |
240 checkUnnamed1220(core.List<core.String> o) { | |
241 unittest.expect(o, unittest.hasLength(2)); | |
242 unittest.expect(o[0], unittest.equals('foo')); | |
243 unittest.expect(o[1], unittest.equals('foo')); | |
244 } | |
245 | |
246 buildUnnamed1221() { | 214 buildUnnamed1221() { |
247 var o = new core.List<core.String>(); | 215 var o = new core.List<core.String>(); |
248 o.add("foo"); | 216 o.add("foo"); |
249 o.add("foo"); | 217 o.add("foo"); |
250 return o; | 218 return o; |
251 } | 219 } |
252 | 220 |
253 checkUnnamed1221(core.List<core.String> o) { | 221 checkUnnamed1221(core.List<core.String> o) { |
254 unittest.expect(o, unittest.hasLength(2)); | 222 unittest.expect(o, unittest.hasLength(2)); |
255 unittest.expect(o[0], unittest.equals('foo')); | 223 unittest.expect(o[0], unittest.equals('foo')); |
256 unittest.expect(o[1], unittest.equals('foo')); | 224 unittest.expect(o[1], unittest.equals('foo')); |
| 225 } |
| 226 |
| 227 buildUnnamed1222() { |
| 228 var o = new core.List<core.String>(); |
| 229 o.add("foo"); |
| 230 o.add("foo"); |
| 231 return o; |
| 232 } |
| 233 |
| 234 checkUnnamed1222(core.List<core.String> o) { |
| 235 unittest.expect(o, unittest.hasLength(2)); |
| 236 unittest.expect(o[0], unittest.equals('foo')); |
| 237 unittest.expect(o[1], unittest.equals('foo')); |
257 } | 238 } |
258 | 239 |
259 core.int buildCounterExperimentalCreateJobRequest = 0; | 240 core.int buildCounterExperimentalCreateJobRequest = 0; |
260 buildExperimentalCreateJobRequest() { | 241 buildExperimentalCreateJobRequest() { |
261 var o = new api.ExperimentalCreateJobRequest(); | 242 var o = new api.ExperimentalCreateJobRequest(); |
262 buildCounterExperimentalCreateJobRequest++; | 243 buildCounterExperimentalCreateJobRequest++; |
263 if (buildCounterExperimentalCreateJobRequest < 3) { | 244 if (buildCounterExperimentalCreateJobRequest < 3) { |
264 o.align = true; | 245 o.align = true; |
265 o.callVariants = true; | 246 o.callVariants = true; |
266 o.gcsOutputPath = "foo"; | 247 o.gcsOutputPath = "foo"; |
267 o.pairedSourceUris = buildUnnamed1220(); | 248 o.pairedSourceUris = buildUnnamed1221(); |
268 o.projectId = "foo"; | 249 o.projectId = "foo"; |
269 o.sourceUris = buildUnnamed1221(); | 250 o.sourceUris = buildUnnamed1222(); |
270 } | 251 } |
271 buildCounterExperimentalCreateJobRequest--; | 252 buildCounterExperimentalCreateJobRequest--; |
272 return o; | 253 return o; |
273 } | 254 } |
274 | 255 |
275 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { | 256 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { |
276 buildCounterExperimentalCreateJobRequest++; | 257 buildCounterExperimentalCreateJobRequest++; |
277 if (buildCounterExperimentalCreateJobRequest < 3) { | 258 if (buildCounterExperimentalCreateJobRequest < 3) { |
278 unittest.expect(o.align, unittest.isTrue); | 259 unittest.expect(o.align, unittest.isTrue); |
279 unittest.expect(o.callVariants, unittest.isTrue); | 260 unittest.expect(o.callVariants, unittest.isTrue); |
280 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); | 261 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); |
281 checkUnnamed1220(o.pairedSourceUris); | 262 checkUnnamed1221(o.pairedSourceUris); |
282 unittest.expect(o.projectId, unittest.equals('foo')); | 263 unittest.expect(o.projectId, unittest.equals('foo')); |
283 checkUnnamed1221(o.sourceUris); | 264 checkUnnamed1222(o.sourceUris); |
284 } | 265 } |
285 buildCounterExperimentalCreateJobRequest--; | 266 buildCounterExperimentalCreateJobRequest--; |
286 } | 267 } |
287 | 268 |
288 core.int buildCounterExperimentalCreateJobResponse = 0; | 269 core.int buildCounterExperimentalCreateJobResponse = 0; |
289 buildExperimentalCreateJobResponse() { | 270 buildExperimentalCreateJobResponse() { |
290 var o = new api.ExperimentalCreateJobResponse(); | 271 var o = new api.ExperimentalCreateJobResponse(); |
291 buildCounterExperimentalCreateJobResponse++; | 272 buildCounterExperimentalCreateJobResponse++; |
292 if (buildCounterExperimentalCreateJobResponse < 3) { | 273 if (buildCounterExperimentalCreateJobResponse < 3) { |
293 o.jobId = "foo"; | 274 o.jobId = "foo"; |
294 } | 275 } |
295 buildCounterExperimentalCreateJobResponse--; | 276 buildCounterExperimentalCreateJobResponse--; |
296 return o; | 277 return o; |
297 } | 278 } |
298 | 279 |
299 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { | 280 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { |
300 buildCounterExperimentalCreateJobResponse++; | 281 buildCounterExperimentalCreateJobResponse++; |
301 if (buildCounterExperimentalCreateJobResponse < 3) { | 282 if (buildCounterExperimentalCreateJobResponse < 3) { |
302 unittest.expect(o.jobId, unittest.equals('foo')); | 283 unittest.expect(o.jobId, unittest.equals('foo')); |
303 } | 284 } |
304 buildCounterExperimentalCreateJobResponse--; | 285 buildCounterExperimentalCreateJobResponse--; |
305 } | 286 } |
306 | 287 |
307 buildUnnamed1222() { | |
308 var o = new core.List<core.String>(); | |
309 o.add("foo"); | |
310 o.add("foo"); | |
311 return o; | |
312 } | |
313 | |
314 checkUnnamed1222(core.List<core.String> o) { | |
315 unittest.expect(o, unittest.hasLength(2)); | |
316 unittest.expect(o[0], unittest.equals('foo')); | |
317 unittest.expect(o[1], unittest.equals('foo')); | |
318 } | |
319 | |
320 buildUnnamed1223() { | 288 buildUnnamed1223() { |
321 var o = new core.List<core.String>(); | 289 var o = new core.List<core.String>(); |
322 o.add("foo"); | 290 o.add("foo"); |
323 o.add("foo"); | 291 o.add("foo"); |
324 return o; | 292 return o; |
325 } | 293 } |
326 | 294 |
327 checkUnnamed1223(core.List<core.String> o) { | 295 checkUnnamed1223(core.List<core.String> o) { |
328 unittest.expect(o, unittest.hasLength(2)); | 296 unittest.expect(o, unittest.hasLength(2)); |
329 unittest.expect(o[0], unittest.equals('foo')); | 297 unittest.expect(o[0], unittest.equals('foo')); |
330 unittest.expect(o[1], unittest.equals('foo')); | 298 unittest.expect(o[1], unittest.equals('foo')); |
| 299 } |
| 300 |
| 301 buildUnnamed1224() { |
| 302 var o = new core.List<core.String>(); |
| 303 o.add("foo"); |
| 304 o.add("foo"); |
| 305 return o; |
| 306 } |
| 307 |
| 308 checkUnnamed1224(core.List<core.String> o) { |
| 309 unittest.expect(o, unittest.hasLength(2)); |
| 310 unittest.expect(o[0], unittest.equals('foo')); |
| 311 unittest.expect(o[1], unittest.equals('foo')); |
331 } | 312 } |
332 | 313 |
333 core.int buildCounterExportReadsetsRequest = 0; | 314 core.int buildCounterExportReadsetsRequest = 0; |
334 buildExportReadsetsRequest() { | 315 buildExportReadsetsRequest() { |
335 var o = new api.ExportReadsetsRequest(); | 316 var o = new api.ExportReadsetsRequest(); |
336 buildCounterExportReadsetsRequest++; | 317 buildCounterExportReadsetsRequest++; |
337 if (buildCounterExportReadsetsRequest < 3) { | 318 if (buildCounterExportReadsetsRequest < 3) { |
338 o.exportUri = "foo"; | 319 o.exportUri = "foo"; |
339 o.projectId = "foo"; | 320 o.projectId = "foo"; |
340 o.readsetIds = buildUnnamed1222(); | 321 o.readsetIds = buildUnnamed1223(); |
341 o.referenceNames = buildUnnamed1223(); | 322 o.referenceNames = buildUnnamed1224(); |
342 } | 323 } |
343 buildCounterExportReadsetsRequest--; | 324 buildCounterExportReadsetsRequest--; |
344 return o; | 325 return o; |
345 } | 326 } |
346 | 327 |
347 checkExportReadsetsRequest(api.ExportReadsetsRequest o) { | 328 checkExportReadsetsRequest(api.ExportReadsetsRequest o) { |
348 buildCounterExportReadsetsRequest++; | 329 buildCounterExportReadsetsRequest++; |
349 if (buildCounterExportReadsetsRequest < 3) { | 330 if (buildCounterExportReadsetsRequest < 3) { |
350 unittest.expect(o.exportUri, unittest.equals('foo')); | 331 unittest.expect(o.exportUri, unittest.equals('foo')); |
351 unittest.expect(o.projectId, unittest.equals('foo')); | 332 unittest.expect(o.projectId, unittest.equals('foo')); |
352 checkUnnamed1222(o.readsetIds); | 333 checkUnnamed1223(o.readsetIds); |
353 checkUnnamed1223(o.referenceNames); | 334 checkUnnamed1224(o.referenceNames); |
354 } | 335 } |
355 buildCounterExportReadsetsRequest--; | 336 buildCounterExportReadsetsRequest--; |
356 } | 337 } |
357 | 338 |
358 core.int buildCounterExportReadsetsResponse = 0; | 339 core.int buildCounterExportReadsetsResponse = 0; |
359 buildExportReadsetsResponse() { | 340 buildExportReadsetsResponse() { |
360 var o = new api.ExportReadsetsResponse(); | 341 var o = new api.ExportReadsetsResponse(); |
361 buildCounterExportReadsetsResponse++; | 342 buildCounterExportReadsetsResponse++; |
362 if (buildCounterExportReadsetsResponse < 3) { | 343 if (buildCounterExportReadsetsResponse < 3) { |
363 o.jobId = "foo"; | 344 o.jobId = "foo"; |
364 } | 345 } |
365 buildCounterExportReadsetsResponse--; | 346 buildCounterExportReadsetsResponse--; |
366 return o; | 347 return o; |
367 } | 348 } |
368 | 349 |
369 checkExportReadsetsResponse(api.ExportReadsetsResponse o) { | 350 checkExportReadsetsResponse(api.ExportReadsetsResponse o) { |
370 buildCounterExportReadsetsResponse++; | 351 buildCounterExportReadsetsResponse++; |
371 if (buildCounterExportReadsetsResponse < 3) { | 352 if (buildCounterExportReadsetsResponse < 3) { |
372 unittest.expect(o.jobId, unittest.equals('foo')); | 353 unittest.expect(o.jobId, unittest.equals('foo')); |
373 } | 354 } |
374 buildCounterExportReadsetsResponse--; | 355 buildCounterExportReadsetsResponse--; |
375 } | 356 } |
376 | 357 |
377 buildUnnamed1224() { | 358 buildUnnamed1225() { |
378 var o = new core.List<core.String>(); | 359 var o = new core.List<core.String>(); |
379 o.add("foo"); | 360 o.add("foo"); |
380 o.add("foo"); | 361 o.add("foo"); |
381 return o; | 362 return o; |
382 } | 363 } |
383 | 364 |
384 checkUnnamed1224(core.List<core.String> o) { | 365 checkUnnamed1225(core.List<core.String> o) { |
385 unittest.expect(o, unittest.hasLength(2)); | 366 unittest.expect(o, unittest.hasLength(2)); |
386 unittest.expect(o[0], unittest.equals('foo')); | 367 unittest.expect(o[0], unittest.equals('foo')); |
387 unittest.expect(o[1], unittest.equals('foo')); | 368 unittest.expect(o[1], unittest.equals('foo')); |
388 } | 369 } |
389 | 370 |
390 core.int buildCounterExportVariantsRequest = 0; | 371 core.int buildCounterExportVariantsRequest = 0; |
391 buildExportVariantsRequest() { | 372 buildExportVariantsRequest() { |
392 var o = new api.ExportVariantsRequest(); | 373 var o = new api.ExportVariantsRequest(); |
393 buildCounterExportVariantsRequest++; | 374 buildCounterExportVariantsRequest++; |
394 if (buildCounterExportVariantsRequest < 3) { | 375 if (buildCounterExportVariantsRequest < 3) { |
395 o.bigqueryDataset = "foo"; | 376 o.bigqueryDataset = "foo"; |
396 o.bigqueryTable = "foo"; | 377 o.bigqueryTable = "foo"; |
397 o.callSetIds = buildUnnamed1224(); | 378 o.callSetIds = buildUnnamed1225(); |
398 o.format = "foo"; | 379 o.format = "foo"; |
399 o.projectId = "foo"; | 380 o.projectId = "foo"; |
400 o.variantSetId = "foo"; | 381 o.variantSetId = "foo"; |
401 } | 382 } |
402 buildCounterExportVariantsRequest--; | 383 buildCounterExportVariantsRequest--; |
403 return o; | 384 return o; |
404 } | 385 } |
405 | 386 |
406 checkExportVariantsRequest(api.ExportVariantsRequest o) { | 387 checkExportVariantsRequest(api.ExportVariantsRequest o) { |
407 buildCounterExportVariantsRequest++; | 388 buildCounterExportVariantsRequest++; |
408 if (buildCounterExportVariantsRequest < 3) { | 389 if (buildCounterExportVariantsRequest < 3) { |
409 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); | 390 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); |
410 unittest.expect(o.bigqueryTable, unittest.equals('foo')); | 391 unittest.expect(o.bigqueryTable, unittest.equals('foo')); |
411 checkUnnamed1224(o.callSetIds); | 392 checkUnnamed1225(o.callSetIds); |
412 unittest.expect(o.format, unittest.equals('foo')); | 393 unittest.expect(o.format, unittest.equals('foo')); |
413 unittest.expect(o.projectId, unittest.equals('foo')); | 394 unittest.expect(o.projectId, unittest.equals('foo')); |
414 unittest.expect(o.variantSetId, unittest.equals('foo')); | 395 unittest.expect(o.variantSetId, unittest.equals('foo')); |
415 } | 396 } |
416 buildCounterExportVariantsRequest--; | 397 buildCounterExportVariantsRequest--; |
417 } | 398 } |
418 | 399 |
419 core.int buildCounterExportVariantsResponse = 0; | 400 core.int buildCounterExportVariantsResponse = 0; |
420 buildExportVariantsResponse() { | 401 buildExportVariantsResponse() { |
421 var o = new api.ExportVariantsResponse(); | 402 var o = new api.ExportVariantsResponse(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 453 |
473 checkHeader(api.Header o) { | 454 checkHeader(api.Header o) { |
474 buildCounterHeader++; | 455 buildCounterHeader++; |
475 if (buildCounterHeader < 3) { | 456 if (buildCounterHeader < 3) { |
476 unittest.expect(o.sortingOrder, unittest.equals('foo')); | 457 unittest.expect(o.sortingOrder, unittest.equals('foo')); |
477 unittest.expect(o.version, unittest.equals('foo')); | 458 unittest.expect(o.version, unittest.equals('foo')); |
478 } | 459 } |
479 buildCounterHeader--; | 460 buildCounterHeader--; |
480 } | 461 } |
481 | 462 |
482 buildUnnamed1225() { | 463 buildUnnamed1226() { |
483 var o = new core.List<core.String>(); | 464 var o = new core.List<core.String>(); |
484 o.add("foo"); | 465 o.add("foo"); |
485 o.add("foo"); | 466 o.add("foo"); |
486 return o; | 467 return o; |
487 } | 468 } |
488 | 469 |
489 checkUnnamed1225(core.List<core.String> o) { | 470 checkUnnamed1226(core.List<core.String> o) { |
490 unittest.expect(o, unittest.hasLength(2)); | 471 unittest.expect(o, unittest.hasLength(2)); |
491 unittest.expect(o[0], unittest.equals('foo')); | 472 unittest.expect(o[0], unittest.equals('foo')); |
492 unittest.expect(o[1], unittest.equals('foo')); | 473 unittest.expect(o[1], unittest.equals('foo')); |
493 } | 474 } |
494 | 475 |
495 buildUnnamed1226() { | 476 buildUnnamed1227() { |
496 var o = new core.List<api.Header>(); | 477 var o = new core.List<api.Header>(); |
497 o.add(buildHeader()); | 478 o.add(buildHeader()); |
498 o.add(buildHeader()); | 479 o.add(buildHeader()); |
499 return o; | 480 return o; |
500 } | 481 } |
501 | 482 |
502 checkUnnamed1226(core.List<api.Header> o) { | 483 checkUnnamed1227(core.List<api.Header> o) { |
503 unittest.expect(o, unittest.hasLength(2)); | 484 unittest.expect(o, unittest.hasLength(2)); |
504 checkHeader(o[0]); | 485 checkHeader(o[0]); |
505 checkHeader(o[1]); | 486 checkHeader(o[1]); |
506 } | 487 } |
507 | 488 |
508 buildUnnamed1227() { | 489 buildUnnamed1228() { |
509 var o = new core.List<api.Program>(); | 490 var o = new core.List<api.Program>(); |
510 o.add(buildProgram()); | 491 o.add(buildProgram()); |
511 o.add(buildProgram()); | 492 o.add(buildProgram()); |
512 return o; | 493 return o; |
513 } | 494 } |
514 | 495 |
515 checkUnnamed1227(core.List<api.Program> o) { | 496 checkUnnamed1228(core.List<api.Program> o) { |
516 unittest.expect(o, unittest.hasLength(2)); | 497 unittest.expect(o, unittest.hasLength(2)); |
517 checkProgram(o[0]); | 498 checkProgram(o[0]); |
518 checkProgram(o[1]); | 499 checkProgram(o[1]); |
519 } | 500 } |
520 | 501 |
521 buildUnnamed1228() { | 502 buildUnnamed1229() { |
522 var o = new core.List<api.ReadGroup>(); | 503 var o = new core.List<api.ReadGroup>(); |
523 o.add(buildReadGroup()); | 504 o.add(buildReadGroup()); |
524 o.add(buildReadGroup()); | 505 o.add(buildReadGroup()); |
525 return o; | 506 return o; |
526 } | 507 } |
527 | 508 |
528 checkUnnamed1228(core.List<api.ReadGroup> o) { | 509 checkUnnamed1229(core.List<api.ReadGroup> o) { |
529 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
530 checkReadGroup(o[0]); | 511 checkReadGroup(o[0]); |
531 checkReadGroup(o[1]); | 512 checkReadGroup(o[1]); |
532 } | 513 } |
533 | 514 |
534 buildUnnamed1229() { | 515 buildUnnamed1230() { |
535 var o = new core.List<api.ReferenceSequence>(); | 516 var o = new core.List<api.ReferenceSequence>(); |
536 o.add(buildReferenceSequence()); | 517 o.add(buildReferenceSequence()); |
537 o.add(buildReferenceSequence()); | 518 o.add(buildReferenceSequence()); |
538 return o; | 519 return o; |
539 } | 520 } |
540 | 521 |
541 checkUnnamed1229(core.List<api.ReferenceSequence> o) { | 522 checkUnnamed1230(core.List<api.ReferenceSequence> o) { |
542 unittest.expect(o, unittest.hasLength(2)); | 523 unittest.expect(o, unittest.hasLength(2)); |
543 checkReferenceSequence(o[0]); | 524 checkReferenceSequence(o[0]); |
544 checkReferenceSequence(o[1]); | 525 checkReferenceSequence(o[1]); |
545 } | 526 } |
546 | 527 |
547 core.int buildCounterHeaderSection = 0; | 528 core.int buildCounterHeaderSection = 0; |
548 buildHeaderSection() { | 529 buildHeaderSection() { |
549 var o = new api.HeaderSection(); | 530 var o = new api.HeaderSection(); |
550 buildCounterHeaderSection++; | 531 buildCounterHeaderSection++; |
551 if (buildCounterHeaderSection < 3) { | 532 if (buildCounterHeaderSection < 3) { |
552 o.comments = buildUnnamed1225(); | 533 o.comments = buildUnnamed1226(); |
553 o.fileUri = "foo"; | 534 o.fileUri = "foo"; |
554 o.filename = "foo"; | 535 o.filename = "foo"; |
555 o.headers = buildUnnamed1226(); | 536 o.headers = buildUnnamed1227(); |
556 o.programs = buildUnnamed1227(); | 537 o.programs = buildUnnamed1228(); |
557 o.readGroups = buildUnnamed1228(); | 538 o.readGroups = buildUnnamed1229(); |
558 o.refSequences = buildUnnamed1229(); | 539 o.refSequences = buildUnnamed1230(); |
559 } | 540 } |
560 buildCounterHeaderSection--; | 541 buildCounterHeaderSection--; |
561 return o; | 542 return o; |
562 } | 543 } |
563 | 544 |
564 checkHeaderSection(api.HeaderSection o) { | 545 checkHeaderSection(api.HeaderSection o) { |
565 buildCounterHeaderSection++; | 546 buildCounterHeaderSection++; |
566 if (buildCounterHeaderSection < 3) { | 547 if (buildCounterHeaderSection < 3) { |
567 checkUnnamed1225(o.comments); | 548 checkUnnamed1226(o.comments); |
568 unittest.expect(o.fileUri, unittest.equals('foo')); | 549 unittest.expect(o.fileUri, unittest.equals('foo')); |
569 unittest.expect(o.filename, unittest.equals('foo')); | 550 unittest.expect(o.filename, unittest.equals('foo')); |
570 checkUnnamed1226(o.headers); | 551 checkUnnamed1227(o.headers); |
571 checkUnnamed1227(o.programs); | 552 checkUnnamed1228(o.programs); |
572 checkUnnamed1228(o.readGroups); | 553 checkUnnamed1229(o.readGroups); |
573 checkUnnamed1229(o.refSequences); | 554 checkUnnamed1230(o.refSequences); |
574 } | 555 } |
575 buildCounterHeaderSection--; | 556 buildCounterHeaderSection--; |
576 } | 557 } |
577 | 558 |
578 buildUnnamed1230() { | 559 buildUnnamed1231() { |
579 var o = new core.List<core.String>(); | 560 var o = new core.List<core.String>(); |
580 o.add("foo"); | 561 o.add("foo"); |
581 o.add("foo"); | 562 o.add("foo"); |
582 return o; | 563 return o; |
583 } | 564 } |
584 | 565 |
585 checkUnnamed1230(core.List<core.String> o) { | 566 checkUnnamed1231(core.List<core.String> o) { |
586 unittest.expect(o, unittest.hasLength(2)); | 567 unittest.expect(o, unittest.hasLength(2)); |
587 unittest.expect(o[0], unittest.equals('foo')); | 568 unittest.expect(o[0], unittest.equals('foo')); |
588 unittest.expect(o[1], unittest.equals('foo')); | 569 unittest.expect(o[1], unittest.equals('foo')); |
589 } | 570 } |
590 | 571 |
591 core.int buildCounterImportReadsetsRequest = 0; | 572 core.int buildCounterImportReadsetsRequest = 0; |
592 buildImportReadsetsRequest() { | 573 buildImportReadsetsRequest() { |
593 var o = new api.ImportReadsetsRequest(); | 574 var o = new api.ImportReadsetsRequest(); |
594 buildCounterImportReadsetsRequest++; | 575 buildCounterImportReadsetsRequest++; |
595 if (buildCounterImportReadsetsRequest < 3) { | 576 if (buildCounterImportReadsetsRequest < 3) { |
596 o.datasetId = "foo"; | 577 o.datasetId = "foo"; |
597 o.sourceUris = buildUnnamed1230(); | 578 o.sourceUris = buildUnnamed1231(); |
598 } | 579 } |
599 buildCounterImportReadsetsRequest--; | 580 buildCounterImportReadsetsRequest--; |
600 return o; | 581 return o; |
601 } | 582 } |
602 | 583 |
603 checkImportReadsetsRequest(api.ImportReadsetsRequest o) { | 584 checkImportReadsetsRequest(api.ImportReadsetsRequest o) { |
604 buildCounterImportReadsetsRequest++; | 585 buildCounterImportReadsetsRequest++; |
605 if (buildCounterImportReadsetsRequest < 3) { | 586 if (buildCounterImportReadsetsRequest < 3) { |
606 unittest.expect(o.datasetId, unittest.equals('foo')); | 587 unittest.expect(o.datasetId, unittest.equals('foo')); |
607 checkUnnamed1230(o.sourceUris); | 588 checkUnnamed1231(o.sourceUris); |
608 } | 589 } |
609 buildCounterImportReadsetsRequest--; | 590 buildCounterImportReadsetsRequest--; |
610 } | 591 } |
611 | 592 |
612 core.int buildCounterImportReadsetsResponse = 0; | 593 core.int buildCounterImportReadsetsResponse = 0; |
613 buildImportReadsetsResponse() { | 594 buildImportReadsetsResponse() { |
614 var o = new api.ImportReadsetsResponse(); | 595 var o = new api.ImportReadsetsResponse(); |
615 buildCounterImportReadsetsResponse++; | 596 buildCounterImportReadsetsResponse++; |
616 if (buildCounterImportReadsetsResponse < 3) { | 597 if (buildCounterImportReadsetsResponse < 3) { |
617 o.jobId = "foo"; | 598 o.jobId = "foo"; |
618 } | 599 } |
619 buildCounterImportReadsetsResponse--; | 600 buildCounterImportReadsetsResponse--; |
620 return o; | 601 return o; |
621 } | 602 } |
622 | 603 |
623 checkImportReadsetsResponse(api.ImportReadsetsResponse o) { | 604 checkImportReadsetsResponse(api.ImportReadsetsResponse o) { |
624 buildCounterImportReadsetsResponse++; | 605 buildCounterImportReadsetsResponse++; |
625 if (buildCounterImportReadsetsResponse < 3) { | 606 if (buildCounterImportReadsetsResponse < 3) { |
626 unittest.expect(o.jobId, unittest.equals('foo')); | 607 unittest.expect(o.jobId, unittest.equals('foo')); |
627 } | 608 } |
628 buildCounterImportReadsetsResponse--; | 609 buildCounterImportReadsetsResponse--; |
629 } | 610 } |
630 | 611 |
631 buildUnnamed1231() { | 612 buildUnnamed1232() { |
632 var o = new core.List<core.String>(); | 613 var o = new core.List<core.String>(); |
633 o.add("foo"); | 614 o.add("foo"); |
634 o.add("foo"); | 615 o.add("foo"); |
635 return o; | 616 return o; |
636 } | 617 } |
637 | 618 |
638 checkUnnamed1231(core.List<core.String> o) { | 619 checkUnnamed1232(core.List<core.String> o) { |
639 unittest.expect(o, unittest.hasLength(2)); | 620 unittest.expect(o, unittest.hasLength(2)); |
640 unittest.expect(o[0], unittest.equals('foo')); | 621 unittest.expect(o[0], unittest.equals('foo')); |
641 unittest.expect(o[1], unittest.equals('foo')); | 622 unittest.expect(o[1], unittest.equals('foo')); |
642 } | 623 } |
643 | 624 |
644 core.int buildCounterImportVariantsRequest = 0; | 625 core.int buildCounterImportVariantsRequest = 0; |
645 buildImportVariantsRequest() { | 626 buildImportVariantsRequest() { |
646 var o = new api.ImportVariantsRequest(); | 627 var o = new api.ImportVariantsRequest(); |
647 buildCounterImportVariantsRequest++; | 628 buildCounterImportVariantsRequest++; |
648 if (buildCounterImportVariantsRequest < 3) { | 629 if (buildCounterImportVariantsRequest < 3) { |
649 o.format = "foo"; | 630 o.format = "foo"; |
650 o.sourceUris = buildUnnamed1231(); | 631 o.sourceUris = buildUnnamed1232(); |
651 o.variantSetId = "foo"; | 632 o.variantSetId = "foo"; |
652 } | 633 } |
653 buildCounterImportVariantsRequest--; | 634 buildCounterImportVariantsRequest--; |
654 return o; | 635 return o; |
655 } | 636 } |
656 | 637 |
657 checkImportVariantsRequest(api.ImportVariantsRequest o) { | 638 checkImportVariantsRequest(api.ImportVariantsRequest o) { |
658 buildCounterImportVariantsRequest++; | 639 buildCounterImportVariantsRequest++; |
659 if (buildCounterImportVariantsRequest < 3) { | 640 if (buildCounterImportVariantsRequest < 3) { |
660 unittest.expect(o.format, unittest.equals('foo')); | 641 unittest.expect(o.format, unittest.equals('foo')); |
661 checkUnnamed1231(o.sourceUris); | 642 checkUnnamed1232(o.sourceUris); |
662 unittest.expect(o.variantSetId, unittest.equals('foo')); | 643 unittest.expect(o.variantSetId, unittest.equals('foo')); |
663 } | 644 } |
664 buildCounterImportVariantsRequest--; | 645 buildCounterImportVariantsRequest--; |
665 } | 646 } |
666 | 647 |
667 core.int buildCounterImportVariantsResponse = 0; | 648 core.int buildCounterImportVariantsResponse = 0; |
668 buildImportVariantsResponse() { | 649 buildImportVariantsResponse() { |
669 var o = new api.ImportVariantsResponse(); | 650 var o = new api.ImportVariantsResponse(); |
670 buildCounterImportVariantsResponse++; | 651 buildCounterImportVariantsResponse++; |
671 if (buildCounterImportVariantsResponse < 3) { | 652 if (buildCounterImportVariantsResponse < 3) { |
672 o.jobId = "foo"; | 653 o.jobId = "foo"; |
673 } | 654 } |
674 buildCounterImportVariantsResponse--; | 655 buildCounterImportVariantsResponse--; |
675 return o; | 656 return o; |
676 } | 657 } |
677 | 658 |
678 checkImportVariantsResponse(api.ImportVariantsResponse o) { | 659 checkImportVariantsResponse(api.ImportVariantsResponse o) { |
679 buildCounterImportVariantsResponse++; | 660 buildCounterImportVariantsResponse++; |
680 if (buildCounterImportVariantsResponse < 3) { | 661 if (buildCounterImportVariantsResponse < 3) { |
681 unittest.expect(o.jobId, unittest.equals('foo')); | 662 unittest.expect(o.jobId, unittest.equals('foo')); |
682 } | 663 } |
683 buildCounterImportVariantsResponse--; | 664 buildCounterImportVariantsResponse--; |
684 } | 665 } |
685 | 666 |
686 buildUnnamed1232() { | |
687 var o = new core.List<core.String>(); | |
688 o.add("foo"); | |
689 o.add("foo"); | |
690 return o; | |
691 } | |
692 | |
693 checkUnnamed1232(core.List<core.String> o) { | |
694 unittest.expect(o, unittest.hasLength(2)); | |
695 unittest.expect(o[0], unittest.equals('foo')); | |
696 unittest.expect(o[1], unittest.equals('foo')); | |
697 } | |
698 | |
699 buildUnnamed1233() { | 667 buildUnnamed1233() { |
700 var o = new core.List<core.String>(); | 668 var o = new core.List<core.String>(); |
701 o.add("foo"); | 669 o.add("foo"); |
702 o.add("foo"); | 670 o.add("foo"); |
703 return o; | 671 return o; |
704 } | 672 } |
705 | 673 |
706 checkUnnamed1233(core.List<core.String> o) { | 674 checkUnnamed1233(core.List<core.String> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 675 unittest.expect(o, unittest.hasLength(2)); |
708 unittest.expect(o[0], unittest.equals('foo')); | 676 unittest.expect(o[0], unittest.equals('foo')); |
709 unittest.expect(o[1], unittest.equals('foo')); | 677 unittest.expect(o[1], unittest.equals('foo')); |
710 } | 678 } |
711 | 679 |
712 buildUnnamed1234() { | 680 buildUnnamed1234() { |
713 var o = new core.List<core.String>(); | 681 var o = new core.List<core.String>(); |
714 o.add("foo"); | 682 o.add("foo"); |
715 o.add("foo"); | 683 o.add("foo"); |
716 return o; | 684 return o; |
717 } | 685 } |
718 | 686 |
719 checkUnnamed1234(core.List<core.String> o) { | 687 checkUnnamed1234(core.List<core.String> o) { |
720 unittest.expect(o, unittest.hasLength(2)); | 688 unittest.expect(o, unittest.hasLength(2)); |
721 unittest.expect(o[0], unittest.equals('foo')); | 689 unittest.expect(o[0], unittest.equals('foo')); |
722 unittest.expect(o[1], unittest.equals('foo')); | 690 unittest.expect(o[1], unittest.equals('foo')); |
| 691 } |
| 692 |
| 693 buildUnnamed1235() { |
| 694 var o = new core.List<core.String>(); |
| 695 o.add("foo"); |
| 696 o.add("foo"); |
| 697 return o; |
| 698 } |
| 699 |
| 700 checkUnnamed1235(core.List<core.String> o) { |
| 701 unittest.expect(o, unittest.hasLength(2)); |
| 702 unittest.expect(o[0], unittest.equals('foo')); |
| 703 unittest.expect(o[1], unittest.equals('foo')); |
723 } | 704 } |
724 | 705 |
725 core.int buildCounterJob = 0; | 706 core.int buildCounterJob = 0; |
726 buildJob() { | 707 buildJob() { |
727 var o = new api.Job(); | 708 var o = new api.Job(); |
728 buildCounterJob++; | 709 buildCounterJob++; |
729 if (buildCounterJob < 3) { | 710 if (buildCounterJob < 3) { |
730 o.created = "foo"; | 711 o.created = "foo"; |
731 o.description = "foo"; | 712 o.description = "foo"; |
732 o.errors = buildUnnamed1232(); | 713 o.errors = buildUnnamed1233(); |
733 o.id = "foo"; | 714 o.id = "foo"; |
734 o.importedIds = buildUnnamed1233(); | 715 o.importedIds = buildUnnamed1234(); |
735 o.projectId = "foo"; | 716 o.projectId = "foo"; |
736 o.request = buildJobRequest(); | 717 o.request = buildJobRequest(); |
737 o.status = "foo"; | 718 o.status = "foo"; |
738 o.warnings = buildUnnamed1234(); | 719 o.warnings = buildUnnamed1235(); |
739 } | 720 } |
740 buildCounterJob--; | 721 buildCounterJob--; |
741 return o; | 722 return o; |
742 } | 723 } |
743 | 724 |
744 checkJob(api.Job o) { | 725 checkJob(api.Job o) { |
745 buildCounterJob++; | 726 buildCounterJob++; |
746 if (buildCounterJob < 3) { | 727 if (buildCounterJob < 3) { |
747 unittest.expect(o.created, unittest.equals('foo')); | 728 unittest.expect(o.created, unittest.equals('foo')); |
748 unittest.expect(o.description, unittest.equals('foo')); | 729 unittest.expect(o.description, unittest.equals('foo')); |
749 checkUnnamed1232(o.errors); | 730 checkUnnamed1233(o.errors); |
750 unittest.expect(o.id, unittest.equals('foo')); | 731 unittest.expect(o.id, unittest.equals('foo')); |
751 checkUnnamed1233(o.importedIds); | 732 checkUnnamed1234(o.importedIds); |
752 unittest.expect(o.projectId, unittest.equals('foo')); | 733 unittest.expect(o.projectId, unittest.equals('foo')); |
753 checkJobRequest(o.request); | 734 checkJobRequest(o.request); |
754 unittest.expect(o.status, unittest.equals('foo')); | 735 unittest.expect(o.status, unittest.equals('foo')); |
755 checkUnnamed1234(o.warnings); | 736 checkUnnamed1235(o.warnings); |
756 } | 737 } |
757 buildCounterJob--; | 738 buildCounterJob--; |
758 } | 739 } |
759 | 740 |
760 buildUnnamed1235() { | |
761 var o = new core.List<core.String>(); | |
762 o.add("foo"); | |
763 o.add("foo"); | |
764 return o; | |
765 } | |
766 | |
767 checkUnnamed1235(core.List<core.String> o) { | |
768 unittest.expect(o, unittest.hasLength(2)); | |
769 unittest.expect(o[0], unittest.equals('foo')); | |
770 unittest.expect(o[1], unittest.equals('foo')); | |
771 } | |
772 | |
773 buildUnnamed1236() { | 741 buildUnnamed1236() { |
774 var o = new core.List<core.String>(); | 742 var o = new core.List<core.String>(); |
775 o.add("foo"); | 743 o.add("foo"); |
776 o.add("foo"); | 744 o.add("foo"); |
777 return o; | 745 return o; |
778 } | 746 } |
779 | 747 |
780 checkUnnamed1236(core.List<core.String> o) { | 748 checkUnnamed1236(core.List<core.String> o) { |
781 unittest.expect(o, unittest.hasLength(2)); | 749 unittest.expect(o, unittest.hasLength(2)); |
782 unittest.expect(o[0], unittest.equals('foo')); | 750 unittest.expect(o[0], unittest.equals('foo')); |
783 unittest.expect(o[1], unittest.equals('foo')); | 751 unittest.expect(o[1], unittest.equals('foo')); |
| 752 } |
| 753 |
| 754 buildUnnamed1237() { |
| 755 var o = new core.List<core.String>(); |
| 756 o.add("foo"); |
| 757 o.add("foo"); |
| 758 return o; |
| 759 } |
| 760 |
| 761 checkUnnamed1237(core.List<core.String> o) { |
| 762 unittest.expect(o, unittest.hasLength(2)); |
| 763 unittest.expect(o[0], unittest.equals('foo')); |
| 764 unittest.expect(o[1], unittest.equals('foo')); |
784 } | 765 } |
785 | 766 |
786 core.int buildCounterJobRequest = 0; | 767 core.int buildCounterJobRequest = 0; |
787 buildJobRequest() { | 768 buildJobRequest() { |
788 var o = new api.JobRequest(); | 769 var o = new api.JobRequest(); |
789 buildCounterJobRequest++; | 770 buildCounterJobRequest++; |
790 if (buildCounterJobRequest < 3) { | 771 if (buildCounterJobRequest < 3) { |
791 o.destination = buildUnnamed1235(); | 772 o.destination = buildUnnamed1236(); |
792 o.source = buildUnnamed1236(); | 773 o.source = buildUnnamed1237(); |
793 o.type = "foo"; | 774 o.type = "foo"; |
794 } | 775 } |
795 buildCounterJobRequest--; | 776 buildCounterJobRequest--; |
796 return o; | 777 return o; |
797 } | 778 } |
798 | 779 |
799 checkJobRequest(api.JobRequest o) { | 780 checkJobRequest(api.JobRequest o) { |
800 buildCounterJobRequest++; | 781 buildCounterJobRequest++; |
801 if (buildCounterJobRequest < 3) { | 782 if (buildCounterJobRequest < 3) { |
802 checkUnnamed1235(o.destination); | 783 checkUnnamed1236(o.destination); |
803 checkUnnamed1236(o.source); | 784 checkUnnamed1237(o.source); |
804 unittest.expect(o.type, unittest.equals('foo')); | 785 unittest.expect(o.type, unittest.equals('foo')); |
805 } | 786 } |
806 buildCounterJobRequest--; | 787 buildCounterJobRequest--; |
807 } | 788 } |
808 | 789 |
809 buildUnnamed1237() { | 790 buildUnnamed1238() { |
810 var o = new core.List<api.CoverageBucket>(); | 791 var o = new core.List<api.CoverageBucket>(); |
811 o.add(buildCoverageBucket()); | 792 o.add(buildCoverageBucket()); |
812 o.add(buildCoverageBucket()); | 793 o.add(buildCoverageBucket()); |
813 return o; | 794 return o; |
814 } | 795 } |
815 | 796 |
816 checkUnnamed1237(core.List<api.CoverageBucket> o) { | 797 checkUnnamed1238(core.List<api.CoverageBucket> o) { |
817 unittest.expect(o, unittest.hasLength(2)); | 798 unittest.expect(o, unittest.hasLength(2)); |
818 checkCoverageBucket(o[0]); | 799 checkCoverageBucket(o[0]); |
819 checkCoverageBucket(o[1]); | 800 checkCoverageBucket(o[1]); |
820 } | 801 } |
821 | 802 |
822 core.int buildCounterListCoverageBucketsResponse = 0; | 803 core.int buildCounterListCoverageBucketsResponse = 0; |
823 buildListCoverageBucketsResponse() { | 804 buildListCoverageBucketsResponse() { |
824 var o = new api.ListCoverageBucketsResponse(); | 805 var o = new api.ListCoverageBucketsResponse(); |
825 buildCounterListCoverageBucketsResponse++; | 806 buildCounterListCoverageBucketsResponse++; |
826 if (buildCounterListCoverageBucketsResponse < 3) { | 807 if (buildCounterListCoverageBucketsResponse < 3) { |
827 o.bucketWidth = "foo"; | 808 o.bucketWidth = "foo"; |
828 o.coverageBuckets = buildUnnamed1237(); | 809 o.coverageBuckets = buildUnnamed1238(); |
829 o.nextPageToken = "foo"; | 810 o.nextPageToken = "foo"; |
830 } | 811 } |
831 buildCounterListCoverageBucketsResponse--; | 812 buildCounterListCoverageBucketsResponse--; |
832 return o; | 813 return o; |
833 } | 814 } |
834 | 815 |
835 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { | 816 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { |
836 buildCounterListCoverageBucketsResponse++; | 817 buildCounterListCoverageBucketsResponse++; |
837 if (buildCounterListCoverageBucketsResponse < 3) { | 818 if (buildCounterListCoverageBucketsResponse < 3) { |
838 unittest.expect(o.bucketWidth, unittest.equals('foo')); | 819 unittest.expect(o.bucketWidth, unittest.equals('foo')); |
839 checkUnnamed1237(o.coverageBuckets); | 820 checkUnnamed1238(o.coverageBuckets); |
840 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 821 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
841 } | 822 } |
842 buildCounterListCoverageBucketsResponse--; | 823 buildCounterListCoverageBucketsResponse--; |
843 } | 824 } |
844 | 825 |
845 buildUnnamed1238() { | 826 buildUnnamed1239() { |
846 var o = new core.List<api.Dataset>(); | 827 var o = new core.List<api.Dataset>(); |
847 o.add(buildDataset()); | 828 o.add(buildDataset()); |
848 o.add(buildDataset()); | 829 o.add(buildDataset()); |
849 return o; | 830 return o; |
850 } | 831 } |
851 | 832 |
852 checkUnnamed1238(core.List<api.Dataset> o) { | 833 checkUnnamed1239(core.List<api.Dataset> o) { |
853 unittest.expect(o, unittest.hasLength(2)); | 834 unittest.expect(o, unittest.hasLength(2)); |
854 checkDataset(o[0]); | 835 checkDataset(o[0]); |
855 checkDataset(o[1]); | 836 checkDataset(o[1]); |
856 } | 837 } |
857 | 838 |
858 core.int buildCounterListDatasetsResponse = 0; | 839 core.int buildCounterListDatasetsResponse = 0; |
859 buildListDatasetsResponse() { | 840 buildListDatasetsResponse() { |
860 var o = new api.ListDatasetsResponse(); | 841 var o = new api.ListDatasetsResponse(); |
861 buildCounterListDatasetsResponse++; | 842 buildCounterListDatasetsResponse++; |
862 if (buildCounterListDatasetsResponse < 3) { | 843 if (buildCounterListDatasetsResponse < 3) { |
863 o.datasets = buildUnnamed1238(); | 844 o.datasets = buildUnnamed1239(); |
864 o.nextPageToken = "foo"; | 845 o.nextPageToken = "foo"; |
865 } | 846 } |
866 buildCounterListDatasetsResponse--; | 847 buildCounterListDatasetsResponse--; |
867 return o; | 848 return o; |
868 } | 849 } |
869 | 850 |
870 checkListDatasetsResponse(api.ListDatasetsResponse o) { | 851 checkListDatasetsResponse(api.ListDatasetsResponse o) { |
871 buildCounterListDatasetsResponse++; | 852 buildCounterListDatasetsResponse++; |
872 if (buildCounterListDatasetsResponse < 3) { | 853 if (buildCounterListDatasetsResponse < 3) { |
873 checkUnnamed1238(o.datasets); | 854 checkUnnamed1239(o.datasets); |
874 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 855 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
875 } | 856 } |
876 buildCounterListDatasetsResponse--; | 857 buildCounterListDatasetsResponse--; |
877 } | 858 } |
878 | 859 |
879 buildUnnamed1239() { | 860 buildUnnamed1240() { |
880 var o = new core.List<api.Variant>(); | 861 var o = new core.List<api.Variant>(); |
881 o.add(buildVariant()); | 862 o.add(buildVariant()); |
882 o.add(buildVariant()); | 863 o.add(buildVariant()); |
883 return o; | 864 return o; |
884 } | 865 } |
885 | 866 |
886 checkUnnamed1239(core.List<api.Variant> o) { | 867 checkUnnamed1240(core.List<api.Variant> o) { |
887 unittest.expect(o, unittest.hasLength(2)); | 868 unittest.expect(o, unittest.hasLength(2)); |
888 checkVariant(o[0]); | 869 checkVariant(o[0]); |
889 checkVariant(o[1]); | 870 checkVariant(o[1]); |
890 } | 871 } |
891 | 872 |
892 core.int buildCounterMergeVariantsRequest = 0; | 873 core.int buildCounterMergeVariantsRequest = 0; |
893 buildMergeVariantsRequest() { | 874 buildMergeVariantsRequest() { |
894 var o = new api.MergeVariantsRequest(); | 875 var o = new api.MergeVariantsRequest(); |
895 buildCounterMergeVariantsRequest++; | 876 buildCounterMergeVariantsRequest++; |
896 if (buildCounterMergeVariantsRequest < 3) { | 877 if (buildCounterMergeVariantsRequest < 3) { |
897 o.variants = buildUnnamed1239(); | 878 o.variants = buildUnnamed1240(); |
898 } | 879 } |
899 buildCounterMergeVariantsRequest--; | 880 buildCounterMergeVariantsRequest--; |
900 return o; | 881 return o; |
901 } | 882 } |
902 | 883 |
903 checkMergeVariantsRequest(api.MergeVariantsRequest o) { | 884 checkMergeVariantsRequest(api.MergeVariantsRequest o) { |
904 buildCounterMergeVariantsRequest++; | 885 buildCounterMergeVariantsRequest++; |
905 if (buildCounterMergeVariantsRequest < 3) { | 886 if (buildCounterMergeVariantsRequest < 3) { |
906 checkUnnamed1239(o.variants); | 887 checkUnnamed1240(o.variants); |
907 } | 888 } |
908 buildCounterMergeVariantsRequest--; | 889 buildCounterMergeVariantsRequest--; |
909 } | 890 } |
910 | 891 |
911 buildUnnamed1240() { | 892 buildUnnamed1241() { |
912 var o = new core.List<core.String>(); | 893 var o = new core.List<core.String>(); |
913 o.add("foo"); | 894 o.add("foo"); |
914 o.add("foo"); | 895 o.add("foo"); |
915 return o; | 896 return o; |
916 } | 897 } |
917 | 898 |
918 checkUnnamed1240(core.List<core.String> o) { | 899 checkUnnamed1241(core.List<core.String> o) { |
919 unittest.expect(o, unittest.hasLength(2)); | 900 unittest.expect(o, unittest.hasLength(2)); |
920 unittest.expect(o[0], unittest.equals('foo')); | 901 unittest.expect(o[0], unittest.equals('foo')); |
921 unittest.expect(o[1], unittest.equals('foo')); | 902 unittest.expect(o[1], unittest.equals('foo')); |
922 } | 903 } |
923 | 904 |
924 buildUnnamed1241() { | 905 buildUnnamed1242() { |
925 var o = new core.Map<core.String, core.List<core.String>>(); | 906 var o = new core.Map<core.String, core.List<core.String>>(); |
926 o["x"] = buildUnnamed1240(); | 907 o["x"] = buildUnnamed1241(); |
927 o["y"] = buildUnnamed1240(); | 908 o["y"] = buildUnnamed1241(); |
928 return o; | 909 return o; |
929 } | 910 } |
930 | 911 |
931 checkUnnamed1241(core.Map<core.String, core.List<core.String>> o) { | 912 checkUnnamed1242(core.Map<core.String, core.List<core.String>> o) { |
932 unittest.expect(o, unittest.hasLength(2)); | 913 unittest.expect(o, unittest.hasLength(2)); |
933 checkUnnamed1240(o["x"]); | 914 checkUnnamed1241(o["x"]); |
934 checkUnnamed1240(o["y"]); | 915 checkUnnamed1241(o["y"]); |
935 } | 916 } |
936 | 917 |
937 core.int buildCounterMetadata = 0; | 918 core.int buildCounterMetadata = 0; |
938 buildMetadata() { | 919 buildMetadata() { |
939 var o = new api.Metadata(); | 920 var o = new api.Metadata(); |
940 buildCounterMetadata++; | 921 buildCounterMetadata++; |
941 if (buildCounterMetadata < 3) { | 922 if (buildCounterMetadata < 3) { |
942 o.description = "foo"; | 923 o.description = "foo"; |
943 o.id = "foo"; | 924 o.id = "foo"; |
944 o.info = buildUnnamed1241(); | 925 o.info = buildUnnamed1242(); |
945 o.key = "foo"; | 926 o.key = "foo"; |
946 o.number = "foo"; | 927 o.number = "foo"; |
947 o.type = "foo"; | 928 o.type = "foo"; |
948 o.value = "foo"; | 929 o.value = "foo"; |
949 } | 930 } |
950 buildCounterMetadata--; | 931 buildCounterMetadata--; |
951 return o; | 932 return o; |
952 } | 933 } |
953 | 934 |
954 checkMetadata(api.Metadata o) { | 935 checkMetadata(api.Metadata o) { |
955 buildCounterMetadata++; | 936 buildCounterMetadata++; |
956 if (buildCounterMetadata < 3) { | 937 if (buildCounterMetadata < 3) { |
957 unittest.expect(o.description, unittest.equals('foo')); | 938 unittest.expect(o.description, unittest.equals('foo')); |
958 unittest.expect(o.id, unittest.equals('foo')); | 939 unittest.expect(o.id, unittest.equals('foo')); |
959 checkUnnamed1241(o.info); | 940 checkUnnamed1242(o.info); |
960 unittest.expect(o.key, unittest.equals('foo')); | 941 unittest.expect(o.key, unittest.equals('foo')); |
961 unittest.expect(o.number, unittest.equals('foo')); | 942 unittest.expect(o.number, unittest.equals('foo')); |
962 unittest.expect(o.type, unittest.equals('foo')); | 943 unittest.expect(o.type, unittest.equals('foo')); |
963 unittest.expect(o.value, unittest.equals('foo')); | 944 unittest.expect(o.value, unittest.equals('foo')); |
964 } | 945 } |
965 buildCounterMetadata--; | 946 buildCounterMetadata--; |
966 } | 947 } |
967 | 948 |
968 core.int buildCounterProgram = 0; | 949 core.int buildCounterProgram = 0; |
969 buildProgram() { | 950 buildProgram() { |
(...skipping 15 matching lines...) Expand all Loading... |
985 if (buildCounterProgram < 3) { | 966 if (buildCounterProgram < 3) { |
986 unittest.expect(o.commandLine, unittest.equals('foo')); | 967 unittest.expect(o.commandLine, unittest.equals('foo')); |
987 unittest.expect(o.id, unittest.equals('foo')); | 968 unittest.expect(o.id, unittest.equals('foo')); |
988 unittest.expect(o.name, unittest.equals('foo')); | 969 unittest.expect(o.name, unittest.equals('foo')); |
989 unittest.expect(o.prevProgramId, unittest.equals('foo')); | 970 unittest.expect(o.prevProgramId, unittest.equals('foo')); |
990 unittest.expect(o.version, unittest.equals('foo')); | 971 unittest.expect(o.version, unittest.equals('foo')); |
991 } | 972 } |
992 buildCounterProgram--; | 973 buildCounterProgram--; |
993 } | 974 } |
994 | 975 |
995 buildUnnamed1242() { | 976 buildUnnamed1243() { |
996 var o = new core.List<core.String>(); | 977 var o = new core.List<core.String>(); |
997 o.add("foo"); | 978 o.add("foo"); |
998 o.add("foo"); | 979 o.add("foo"); |
999 return o; | 980 return o; |
1000 } | 981 } |
1001 | 982 |
1002 checkUnnamed1242(core.List<core.String> o) { | 983 checkUnnamed1243(core.List<core.String> o) { |
1003 unittest.expect(o, unittest.hasLength(2)); | 984 unittest.expect(o, unittest.hasLength(2)); |
1004 unittest.expect(o[0], unittest.equals('foo')); | 985 unittest.expect(o[0], unittest.equals('foo')); |
1005 unittest.expect(o[1], unittest.equals('foo')); | 986 unittest.expect(o[1], unittest.equals('foo')); |
1006 } | 987 } |
1007 | 988 |
1008 buildUnnamed1243() { | 989 buildUnnamed1244() { |
1009 var o = new core.Map<core.String, core.List<core.String>>(); | 990 var o = new core.Map<core.String, core.List<core.String>>(); |
1010 o["x"] = buildUnnamed1242(); | 991 o["x"] = buildUnnamed1243(); |
1011 o["y"] = buildUnnamed1242(); | 992 o["y"] = buildUnnamed1243(); |
1012 return o; | 993 return o; |
1013 } | 994 } |
1014 | 995 |
1015 checkUnnamed1243(core.Map<core.String, core.List<core.String>> o) { | 996 checkUnnamed1244(core.Map<core.String, core.List<core.String>> o) { |
1016 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
1017 checkUnnamed1242(o["x"]); | 998 checkUnnamed1243(o["x"]); |
1018 checkUnnamed1242(o["y"]); | 999 checkUnnamed1243(o["y"]); |
1019 } | 1000 } |
1020 | 1001 |
1021 core.int buildCounterRead = 0; | 1002 core.int buildCounterRead = 0; |
1022 buildRead() { | 1003 buildRead() { |
1023 var o = new api.Read(); | 1004 var o = new api.Read(); |
1024 buildCounterRead++; | 1005 buildCounterRead++; |
1025 if (buildCounterRead < 3) { | 1006 if (buildCounterRead < 3) { |
1026 o.alignedBases = "foo"; | 1007 o.alignedBases = "foo"; |
1027 o.baseQuality = "foo"; | 1008 o.baseQuality = "foo"; |
1028 o.cigar = "foo"; | 1009 o.cigar = "foo"; |
1029 o.flags = 42; | 1010 o.flags = 42; |
1030 o.id = "foo"; | 1011 o.id = "foo"; |
1031 o.mappingQuality = 42; | 1012 o.mappingQuality = 42; |
1032 o.matePosition = 42; | 1013 o.matePosition = 42; |
1033 o.mateReferenceSequenceName = "foo"; | 1014 o.mateReferenceSequenceName = "foo"; |
1034 o.name = "foo"; | 1015 o.name = "foo"; |
1035 o.originalBases = "foo"; | 1016 o.originalBases = "foo"; |
1036 o.position = 42; | 1017 o.position = 42; |
1037 o.readsetId = "foo"; | 1018 o.readsetId = "foo"; |
1038 o.referenceSequenceName = "foo"; | 1019 o.referenceSequenceName = "foo"; |
1039 o.tags = buildUnnamed1243(); | 1020 o.tags = buildUnnamed1244(); |
1040 o.templateLength = 42; | 1021 o.templateLength = 42; |
1041 } | 1022 } |
1042 buildCounterRead--; | 1023 buildCounterRead--; |
1043 return o; | 1024 return o; |
1044 } | 1025 } |
1045 | 1026 |
1046 checkRead(api.Read o) { | 1027 checkRead(api.Read o) { |
1047 buildCounterRead++; | 1028 buildCounterRead++; |
1048 if (buildCounterRead < 3) { | 1029 if (buildCounterRead < 3) { |
1049 unittest.expect(o.alignedBases, unittest.equals('foo')); | 1030 unittest.expect(o.alignedBases, unittest.equals('foo')); |
1050 unittest.expect(o.baseQuality, unittest.equals('foo')); | 1031 unittest.expect(o.baseQuality, unittest.equals('foo')); |
1051 unittest.expect(o.cigar, unittest.equals('foo')); | 1032 unittest.expect(o.cigar, unittest.equals('foo')); |
1052 unittest.expect(o.flags, unittest.equals(42)); | 1033 unittest.expect(o.flags, unittest.equals(42)); |
1053 unittest.expect(o.id, unittest.equals('foo')); | 1034 unittest.expect(o.id, unittest.equals('foo')); |
1054 unittest.expect(o.mappingQuality, unittest.equals(42)); | 1035 unittest.expect(o.mappingQuality, unittest.equals(42)); |
1055 unittest.expect(o.matePosition, unittest.equals(42)); | 1036 unittest.expect(o.matePosition, unittest.equals(42)); |
1056 unittest.expect(o.mateReferenceSequenceName, unittest.equals('foo')); | 1037 unittest.expect(o.mateReferenceSequenceName, unittest.equals('foo')); |
1057 unittest.expect(o.name, unittest.equals('foo')); | 1038 unittest.expect(o.name, unittest.equals('foo')); |
1058 unittest.expect(o.originalBases, unittest.equals('foo')); | 1039 unittest.expect(o.originalBases, unittest.equals('foo')); |
1059 unittest.expect(o.position, unittest.equals(42)); | 1040 unittest.expect(o.position, unittest.equals(42)); |
1060 unittest.expect(o.readsetId, unittest.equals('foo')); | 1041 unittest.expect(o.readsetId, unittest.equals('foo')); |
1061 unittest.expect(o.referenceSequenceName, unittest.equals('foo')); | 1042 unittest.expect(o.referenceSequenceName, unittest.equals('foo')); |
1062 checkUnnamed1243(o.tags); | 1043 checkUnnamed1244(o.tags); |
1063 unittest.expect(o.templateLength, unittest.equals(42)); | 1044 unittest.expect(o.templateLength, unittest.equals(42)); |
1064 } | 1045 } |
1065 buildCounterRead--; | 1046 buildCounterRead--; |
1066 } | 1047 } |
1067 | 1048 |
1068 core.int buildCounterReadGroup = 0; | 1049 core.int buildCounterReadGroup = 0; |
1069 buildReadGroup() { | 1050 buildReadGroup() { |
1070 var o = new api.ReadGroup(); | 1051 var o = new api.ReadGroup(); |
1071 buildCounterReadGroup++; | 1052 buildCounterReadGroup++; |
1072 if (buildCounterReadGroup < 3) { | 1053 if (buildCounterReadGroup < 3) { |
(...skipping 26 matching lines...) Expand all Loading... |
1099 unittest.expect(o.platformUnit, unittest.equals('foo')); | 1080 unittest.expect(o.platformUnit, unittest.equals('foo')); |
1100 unittest.expect(o.predictedInsertSize, unittest.equals(42)); | 1081 unittest.expect(o.predictedInsertSize, unittest.equals(42)); |
1101 unittest.expect(o.processingProgram, unittest.equals('foo')); | 1082 unittest.expect(o.processingProgram, unittest.equals('foo')); |
1102 unittest.expect(o.sample, unittest.equals('foo')); | 1083 unittest.expect(o.sample, unittest.equals('foo')); |
1103 unittest.expect(o.sequencingCenterName, unittest.equals('foo')); | 1084 unittest.expect(o.sequencingCenterName, unittest.equals('foo')); |
1104 unittest.expect(o.sequencingTechnology, unittest.equals('foo')); | 1085 unittest.expect(o.sequencingTechnology, unittest.equals('foo')); |
1105 } | 1086 } |
1106 buildCounterReadGroup--; | 1087 buildCounterReadGroup--; |
1107 } | 1088 } |
1108 | 1089 |
1109 buildUnnamed1244() { | 1090 buildUnnamed1245() { |
1110 var o = new core.List<api.HeaderSection>(); | 1091 var o = new core.List<api.HeaderSection>(); |
1111 o.add(buildHeaderSection()); | 1092 o.add(buildHeaderSection()); |
1112 o.add(buildHeaderSection()); | 1093 o.add(buildHeaderSection()); |
1113 return o; | 1094 return o; |
1114 } | 1095 } |
1115 | 1096 |
1116 checkUnnamed1244(core.List<api.HeaderSection> o) { | 1097 checkUnnamed1245(core.List<api.HeaderSection> o) { |
1117 unittest.expect(o, unittest.hasLength(2)); | 1098 unittest.expect(o, unittest.hasLength(2)); |
1118 checkHeaderSection(o[0]); | 1099 checkHeaderSection(o[0]); |
1119 checkHeaderSection(o[1]); | 1100 checkHeaderSection(o[1]); |
1120 } | 1101 } |
1121 | 1102 |
1122 core.int buildCounterReadset = 0; | 1103 core.int buildCounterReadset = 0; |
1123 buildReadset() { | 1104 buildReadset() { |
1124 var o = new api.Readset(); | 1105 var o = new api.Readset(); |
1125 buildCounterReadset++; | 1106 buildCounterReadset++; |
1126 if (buildCounterReadset < 3) { | 1107 if (buildCounterReadset < 3) { |
1127 o.datasetId = "foo"; | 1108 o.datasetId = "foo"; |
1128 o.fileData = buildUnnamed1244(); | 1109 o.fileData = buildUnnamed1245(); |
1129 o.id = "foo"; | 1110 o.id = "foo"; |
1130 o.name = "foo"; | 1111 o.name = "foo"; |
1131 } | 1112 } |
1132 buildCounterReadset--; | 1113 buildCounterReadset--; |
1133 return o; | 1114 return o; |
1134 } | 1115 } |
1135 | 1116 |
1136 checkReadset(api.Readset o) { | 1117 checkReadset(api.Readset o) { |
1137 buildCounterReadset++; | 1118 buildCounterReadset++; |
1138 if (buildCounterReadset < 3) { | 1119 if (buildCounterReadset < 3) { |
1139 unittest.expect(o.datasetId, unittest.equals('foo')); | 1120 unittest.expect(o.datasetId, unittest.equals('foo')); |
1140 checkUnnamed1244(o.fileData); | 1121 checkUnnamed1245(o.fileData); |
1141 unittest.expect(o.id, unittest.equals('foo')); | 1122 unittest.expect(o.id, unittest.equals('foo')); |
1142 unittest.expect(o.name, unittest.equals('foo')); | 1123 unittest.expect(o.name, unittest.equals('foo')); |
1143 } | 1124 } |
1144 buildCounterReadset--; | 1125 buildCounterReadset--; |
1145 } | 1126 } |
1146 | 1127 |
1147 core.int buildCounterReferenceBound = 0; | 1128 core.int buildCounterReferenceBound = 0; |
1148 buildReferenceBound() { | 1129 buildReferenceBound() { |
1149 var o = new api.ReferenceBound(); | 1130 var o = new api.ReferenceBound(); |
1150 buildCounterReferenceBound++; | 1131 buildCounterReferenceBound++; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1168 unittest.expect(o.assemblyId, unittest.equals('foo')); |
1188 unittest.expect(o.length, unittest.equals(42)); | 1169 unittest.expect(o.length, unittest.equals(42)); |
1189 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1170 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1190 unittest.expect(o.name, unittest.equals('foo')); | 1171 unittest.expect(o.name, unittest.equals('foo')); |
1191 unittest.expect(o.species, unittest.equals('foo')); | 1172 unittest.expect(o.species, unittest.equals('foo')); |
1192 unittest.expect(o.uri, unittest.equals('foo')); | 1173 unittest.expect(o.uri, unittest.equals('foo')); |
1193 } | 1174 } |
1194 buildCounterReferenceSequence--; | 1175 buildCounterReferenceSequence--; |
1195 } | 1176 } |
1196 | 1177 |
1197 buildUnnamed1245() { | 1178 buildUnnamed1246() { |
1198 var o = new core.List<core.String>(); | 1179 var o = new core.List<core.String>(); |
1199 o.add("foo"); | 1180 o.add("foo"); |
1200 o.add("foo"); | 1181 o.add("foo"); |
1201 return o; | 1182 return o; |
1202 } | 1183 } |
1203 | 1184 |
1204 checkUnnamed1245(core.List<core.String> o) { | 1185 checkUnnamed1246(core.List<core.String> o) { |
1205 unittest.expect(o, unittest.hasLength(2)); | 1186 unittest.expect(o, unittest.hasLength(2)); |
1206 unittest.expect(o[0], unittest.equals('foo')); | 1187 unittest.expect(o[0], unittest.equals('foo')); |
1207 unittest.expect(o[1], unittest.equals('foo')); | 1188 unittest.expect(o[1], unittest.equals('foo')); |
1208 } | 1189 } |
1209 | 1190 |
1210 core.int buildCounterSearchCallSetsRequest = 0; | 1191 core.int buildCounterSearchCallSetsRequest = 0; |
1211 buildSearchCallSetsRequest() { | 1192 buildSearchCallSetsRequest() { |
1212 var o = new api.SearchCallSetsRequest(); | 1193 var o = new api.SearchCallSetsRequest(); |
1213 buildCounterSearchCallSetsRequest++; | 1194 buildCounterSearchCallSetsRequest++; |
1214 if (buildCounterSearchCallSetsRequest < 3) { | 1195 if (buildCounterSearchCallSetsRequest < 3) { |
1215 o.name = "foo"; | 1196 o.name = "foo"; |
1216 o.pageSize = 42; | 1197 o.pageSize = 42; |
1217 o.pageToken = "foo"; | 1198 o.pageToken = "foo"; |
1218 o.variantSetIds = buildUnnamed1245(); | 1199 o.variantSetIds = buildUnnamed1246(); |
1219 } | 1200 } |
1220 buildCounterSearchCallSetsRequest--; | 1201 buildCounterSearchCallSetsRequest--; |
1221 return o; | 1202 return o; |
1222 } | 1203 } |
1223 | 1204 |
1224 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { | 1205 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { |
1225 buildCounterSearchCallSetsRequest++; | 1206 buildCounterSearchCallSetsRequest++; |
1226 if (buildCounterSearchCallSetsRequest < 3) { | 1207 if (buildCounterSearchCallSetsRequest < 3) { |
1227 unittest.expect(o.name, unittest.equals('foo')); | 1208 unittest.expect(o.name, unittest.equals('foo')); |
1228 unittest.expect(o.pageSize, unittest.equals(42)); | 1209 unittest.expect(o.pageSize, unittest.equals(42)); |
1229 unittest.expect(o.pageToken, unittest.equals('foo')); | 1210 unittest.expect(o.pageToken, unittest.equals('foo')); |
1230 checkUnnamed1245(o.variantSetIds); | 1211 checkUnnamed1246(o.variantSetIds); |
1231 } | 1212 } |
1232 buildCounterSearchCallSetsRequest--; | 1213 buildCounterSearchCallSetsRequest--; |
1233 } | 1214 } |
1234 | 1215 |
1235 buildUnnamed1246() { | 1216 buildUnnamed1247() { |
1236 var o = new core.List<api.CallSet>(); | 1217 var o = new core.List<api.CallSet>(); |
1237 o.add(buildCallSet()); | 1218 o.add(buildCallSet()); |
1238 o.add(buildCallSet()); | 1219 o.add(buildCallSet()); |
1239 return o; | 1220 return o; |
1240 } | 1221 } |
1241 | 1222 |
1242 checkUnnamed1246(core.List<api.CallSet> o) { | 1223 checkUnnamed1247(core.List<api.CallSet> o) { |
1243 unittest.expect(o, unittest.hasLength(2)); | 1224 unittest.expect(o, unittest.hasLength(2)); |
1244 checkCallSet(o[0]); | 1225 checkCallSet(o[0]); |
1245 checkCallSet(o[1]); | 1226 checkCallSet(o[1]); |
1246 } | 1227 } |
1247 | 1228 |
1248 core.int buildCounterSearchCallSetsResponse = 0; | 1229 core.int buildCounterSearchCallSetsResponse = 0; |
1249 buildSearchCallSetsResponse() { | 1230 buildSearchCallSetsResponse() { |
1250 var o = new api.SearchCallSetsResponse(); | 1231 var o = new api.SearchCallSetsResponse(); |
1251 buildCounterSearchCallSetsResponse++; | 1232 buildCounterSearchCallSetsResponse++; |
1252 if (buildCounterSearchCallSetsResponse < 3) { | 1233 if (buildCounterSearchCallSetsResponse < 3) { |
1253 o.callSets = buildUnnamed1246(); | 1234 o.callSets = buildUnnamed1247(); |
1254 o.nextPageToken = "foo"; | 1235 o.nextPageToken = "foo"; |
1255 } | 1236 } |
1256 buildCounterSearchCallSetsResponse--; | 1237 buildCounterSearchCallSetsResponse--; |
1257 return o; | 1238 return o; |
1258 } | 1239 } |
1259 | 1240 |
1260 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { | 1241 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { |
1261 buildCounterSearchCallSetsResponse++; | 1242 buildCounterSearchCallSetsResponse++; |
1262 if (buildCounterSearchCallSetsResponse < 3) { | 1243 if (buildCounterSearchCallSetsResponse < 3) { |
1263 checkUnnamed1246(o.callSets); | 1244 checkUnnamed1247(o.callSets); |
1264 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1245 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1265 } | 1246 } |
1266 buildCounterSearchCallSetsResponse--; | 1247 buildCounterSearchCallSetsResponse--; |
1267 } | 1248 } |
1268 | 1249 |
1269 buildUnnamed1247() { | 1250 buildUnnamed1248() { |
1270 var o = new core.List<core.String>(); | 1251 var o = new core.List<core.String>(); |
1271 o.add("foo"); | 1252 o.add("foo"); |
1272 o.add("foo"); | 1253 o.add("foo"); |
1273 return o; | 1254 return o; |
1274 } | 1255 } |
1275 | 1256 |
1276 checkUnnamed1247(core.List<core.String> o) { | 1257 checkUnnamed1248(core.List<core.String> o) { |
1277 unittest.expect(o, unittest.hasLength(2)); | 1258 unittest.expect(o, unittest.hasLength(2)); |
1278 unittest.expect(o[0], unittest.equals('foo')); | 1259 unittest.expect(o[0], unittest.equals('foo')); |
1279 unittest.expect(o[1], unittest.equals('foo')); | 1260 unittest.expect(o[1], unittest.equals('foo')); |
1280 } | 1261 } |
1281 | 1262 |
1282 core.int buildCounterSearchJobsRequest = 0; | 1263 core.int buildCounterSearchJobsRequest = 0; |
1283 buildSearchJobsRequest() { | 1264 buildSearchJobsRequest() { |
1284 var o = new api.SearchJobsRequest(); | 1265 var o = new api.SearchJobsRequest(); |
1285 buildCounterSearchJobsRequest++; | 1266 buildCounterSearchJobsRequest++; |
1286 if (buildCounterSearchJobsRequest < 3) { | 1267 if (buildCounterSearchJobsRequest < 3) { |
1287 o.createdAfter = "foo"; | 1268 o.createdAfter = "foo"; |
1288 o.createdBefore = "foo"; | 1269 o.createdBefore = "foo"; |
1289 o.maxResults = "foo"; | 1270 o.maxResults = "foo"; |
1290 o.pageToken = "foo"; | 1271 o.pageToken = "foo"; |
1291 o.projectId = "foo"; | 1272 o.projectId = "foo"; |
1292 o.status = buildUnnamed1247(); | 1273 o.status = buildUnnamed1248(); |
1293 } | 1274 } |
1294 buildCounterSearchJobsRequest--; | 1275 buildCounterSearchJobsRequest--; |
1295 return o; | 1276 return o; |
1296 } | 1277 } |
1297 | 1278 |
1298 checkSearchJobsRequest(api.SearchJobsRequest o) { | 1279 checkSearchJobsRequest(api.SearchJobsRequest o) { |
1299 buildCounterSearchJobsRequest++; | 1280 buildCounterSearchJobsRequest++; |
1300 if (buildCounterSearchJobsRequest < 3) { | 1281 if (buildCounterSearchJobsRequest < 3) { |
1301 unittest.expect(o.createdAfter, unittest.equals('foo')); | 1282 unittest.expect(o.createdAfter, unittest.equals('foo')); |
1302 unittest.expect(o.createdBefore, unittest.equals('foo')); | 1283 unittest.expect(o.createdBefore, unittest.equals('foo')); |
1303 unittest.expect(o.maxResults, unittest.equals('foo')); | 1284 unittest.expect(o.maxResults, unittest.equals('foo')); |
1304 unittest.expect(o.pageToken, unittest.equals('foo')); | 1285 unittest.expect(o.pageToken, unittest.equals('foo')); |
1305 unittest.expect(o.projectId, unittest.equals('foo')); | 1286 unittest.expect(o.projectId, unittest.equals('foo')); |
1306 checkUnnamed1247(o.status); | 1287 checkUnnamed1248(o.status); |
1307 } | 1288 } |
1308 buildCounterSearchJobsRequest--; | 1289 buildCounterSearchJobsRequest--; |
1309 } | 1290 } |
1310 | 1291 |
1311 buildUnnamed1248() { | 1292 buildUnnamed1249() { |
1312 var o = new core.List<api.Job>(); | 1293 var o = new core.List<api.Job>(); |
1313 o.add(buildJob()); | 1294 o.add(buildJob()); |
1314 o.add(buildJob()); | 1295 o.add(buildJob()); |
1315 return o; | 1296 return o; |
1316 } | 1297 } |
1317 | 1298 |
1318 checkUnnamed1248(core.List<api.Job> o) { | 1299 checkUnnamed1249(core.List<api.Job> o) { |
1319 unittest.expect(o, unittest.hasLength(2)); | 1300 unittest.expect(o, unittest.hasLength(2)); |
1320 checkJob(o[0]); | 1301 checkJob(o[0]); |
1321 checkJob(o[1]); | 1302 checkJob(o[1]); |
1322 } | 1303 } |
1323 | 1304 |
1324 core.int buildCounterSearchJobsResponse = 0; | 1305 core.int buildCounterSearchJobsResponse = 0; |
1325 buildSearchJobsResponse() { | 1306 buildSearchJobsResponse() { |
1326 var o = new api.SearchJobsResponse(); | 1307 var o = new api.SearchJobsResponse(); |
1327 buildCounterSearchJobsResponse++; | 1308 buildCounterSearchJobsResponse++; |
1328 if (buildCounterSearchJobsResponse < 3) { | 1309 if (buildCounterSearchJobsResponse < 3) { |
1329 o.jobs = buildUnnamed1248(); | 1310 o.jobs = buildUnnamed1249(); |
1330 o.nextPageToken = "foo"; | 1311 o.nextPageToken = "foo"; |
1331 } | 1312 } |
1332 buildCounterSearchJobsResponse--; | 1313 buildCounterSearchJobsResponse--; |
1333 return o; | 1314 return o; |
1334 } | 1315 } |
1335 | 1316 |
1336 checkSearchJobsResponse(api.SearchJobsResponse o) { | 1317 checkSearchJobsResponse(api.SearchJobsResponse o) { |
1337 buildCounterSearchJobsResponse++; | 1318 buildCounterSearchJobsResponse++; |
1338 if (buildCounterSearchJobsResponse < 3) { | 1319 if (buildCounterSearchJobsResponse < 3) { |
1339 checkUnnamed1248(o.jobs); | 1320 checkUnnamed1249(o.jobs); |
1340 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1321 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1341 } | 1322 } |
1342 buildCounterSearchJobsResponse--; | 1323 buildCounterSearchJobsResponse--; |
1343 } | 1324 } |
1344 | 1325 |
1345 buildUnnamed1249() { | 1326 buildUnnamed1250() { |
1346 var o = new core.List<core.String>(); | 1327 var o = new core.List<core.String>(); |
1347 o.add("foo"); | 1328 o.add("foo"); |
1348 o.add("foo"); | 1329 o.add("foo"); |
1349 return o; | 1330 return o; |
1350 } | 1331 } |
1351 | 1332 |
1352 checkUnnamed1249(core.List<core.String> o) { | 1333 checkUnnamed1250(core.List<core.String> o) { |
1353 unittest.expect(o, unittest.hasLength(2)); | 1334 unittest.expect(o, unittest.hasLength(2)); |
1354 unittest.expect(o[0], unittest.equals('foo')); | 1335 unittest.expect(o[0], unittest.equals('foo')); |
1355 unittest.expect(o[1], unittest.equals('foo')); | 1336 unittest.expect(o[1], unittest.equals('foo')); |
1356 } | 1337 } |
1357 | 1338 |
1358 core.int buildCounterSearchReadsRequest = 0; | 1339 core.int buildCounterSearchReadsRequest = 0; |
1359 buildSearchReadsRequest() { | 1340 buildSearchReadsRequest() { |
1360 var o = new api.SearchReadsRequest(); | 1341 var o = new api.SearchReadsRequest(); |
1361 buildCounterSearchReadsRequest++; | 1342 buildCounterSearchReadsRequest++; |
1362 if (buildCounterSearchReadsRequest < 3) { | 1343 if (buildCounterSearchReadsRequest < 3) { |
1363 o.maxResults = "foo"; | 1344 o.maxResults = "foo"; |
1364 o.pageToken = "foo"; | 1345 o.pageToken = "foo"; |
1365 o.readsetIds = buildUnnamed1249(); | 1346 o.readsetIds = buildUnnamed1250(); |
1366 o.sequenceEnd = "foo"; | 1347 o.sequenceEnd = "foo"; |
1367 o.sequenceName = "foo"; | 1348 o.sequenceName = "foo"; |
1368 o.sequenceStart = "foo"; | 1349 o.sequenceStart = "foo"; |
1369 } | 1350 } |
1370 buildCounterSearchReadsRequest--; | 1351 buildCounterSearchReadsRequest--; |
1371 return o; | 1352 return o; |
1372 } | 1353 } |
1373 | 1354 |
1374 checkSearchReadsRequest(api.SearchReadsRequest o) { | 1355 checkSearchReadsRequest(api.SearchReadsRequest o) { |
1375 buildCounterSearchReadsRequest++; | 1356 buildCounterSearchReadsRequest++; |
1376 if (buildCounterSearchReadsRequest < 3) { | 1357 if (buildCounterSearchReadsRequest < 3) { |
1377 unittest.expect(o.maxResults, unittest.equals('foo')); | 1358 unittest.expect(o.maxResults, unittest.equals('foo')); |
1378 unittest.expect(o.pageToken, unittest.equals('foo')); | 1359 unittest.expect(o.pageToken, unittest.equals('foo')); |
1379 checkUnnamed1249(o.readsetIds); | 1360 checkUnnamed1250(o.readsetIds); |
1380 unittest.expect(o.sequenceEnd, unittest.equals('foo')); | 1361 unittest.expect(o.sequenceEnd, unittest.equals('foo')); |
1381 unittest.expect(o.sequenceName, unittest.equals('foo')); | 1362 unittest.expect(o.sequenceName, unittest.equals('foo')); |
1382 unittest.expect(o.sequenceStart, unittest.equals('foo')); | 1363 unittest.expect(o.sequenceStart, unittest.equals('foo')); |
1383 } | 1364 } |
1384 buildCounterSearchReadsRequest--; | 1365 buildCounterSearchReadsRequest--; |
1385 } | 1366 } |
1386 | 1367 |
1387 buildUnnamed1250() { | 1368 buildUnnamed1251() { |
1388 var o = new core.List<api.Read>(); | 1369 var o = new core.List<api.Read>(); |
1389 o.add(buildRead()); | 1370 o.add(buildRead()); |
1390 o.add(buildRead()); | 1371 o.add(buildRead()); |
1391 return o; | 1372 return o; |
1392 } | 1373 } |
1393 | 1374 |
1394 checkUnnamed1250(core.List<api.Read> o) { | 1375 checkUnnamed1251(core.List<api.Read> o) { |
1395 unittest.expect(o, unittest.hasLength(2)); | 1376 unittest.expect(o, unittest.hasLength(2)); |
1396 checkRead(o[0]); | 1377 checkRead(o[0]); |
1397 checkRead(o[1]); | 1378 checkRead(o[1]); |
1398 } | 1379 } |
1399 | 1380 |
1400 core.int buildCounterSearchReadsResponse = 0; | 1381 core.int buildCounterSearchReadsResponse = 0; |
1401 buildSearchReadsResponse() { | 1382 buildSearchReadsResponse() { |
1402 var o = new api.SearchReadsResponse(); | 1383 var o = new api.SearchReadsResponse(); |
1403 buildCounterSearchReadsResponse++; | 1384 buildCounterSearchReadsResponse++; |
1404 if (buildCounterSearchReadsResponse < 3) { | 1385 if (buildCounterSearchReadsResponse < 3) { |
1405 o.nextPageToken = "foo"; | 1386 o.nextPageToken = "foo"; |
1406 o.reads = buildUnnamed1250(); | 1387 o.reads = buildUnnamed1251(); |
1407 } | 1388 } |
1408 buildCounterSearchReadsResponse--; | 1389 buildCounterSearchReadsResponse--; |
1409 return o; | 1390 return o; |
1410 } | 1391 } |
1411 | 1392 |
1412 checkSearchReadsResponse(api.SearchReadsResponse o) { | 1393 checkSearchReadsResponse(api.SearchReadsResponse o) { |
1413 buildCounterSearchReadsResponse++; | 1394 buildCounterSearchReadsResponse++; |
1414 if (buildCounterSearchReadsResponse < 3) { | 1395 if (buildCounterSearchReadsResponse < 3) { |
1415 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1396 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1416 checkUnnamed1250(o.reads); | 1397 checkUnnamed1251(o.reads); |
1417 } | 1398 } |
1418 buildCounterSearchReadsResponse--; | 1399 buildCounterSearchReadsResponse--; |
1419 } | 1400 } |
1420 | 1401 |
1421 buildUnnamed1251() { | 1402 buildUnnamed1252() { |
1422 var o = new core.List<core.String>(); | 1403 var o = new core.List<core.String>(); |
1423 o.add("foo"); | 1404 o.add("foo"); |
1424 o.add("foo"); | 1405 o.add("foo"); |
1425 return o; | 1406 return o; |
1426 } | 1407 } |
1427 | 1408 |
1428 checkUnnamed1251(core.List<core.String> o) { | 1409 checkUnnamed1252(core.List<core.String> o) { |
1429 unittest.expect(o, unittest.hasLength(2)); | 1410 unittest.expect(o, unittest.hasLength(2)); |
1430 unittest.expect(o[0], unittest.equals('foo')); | 1411 unittest.expect(o[0], unittest.equals('foo')); |
1431 unittest.expect(o[1], unittest.equals('foo')); | 1412 unittest.expect(o[1], unittest.equals('foo')); |
1432 } | 1413 } |
1433 | 1414 |
1434 core.int buildCounterSearchReadsetsRequest = 0; | 1415 core.int buildCounterSearchReadsetsRequest = 0; |
1435 buildSearchReadsetsRequest() { | 1416 buildSearchReadsetsRequest() { |
1436 var o = new api.SearchReadsetsRequest(); | 1417 var o = new api.SearchReadsetsRequest(); |
1437 buildCounterSearchReadsetsRequest++; | 1418 buildCounterSearchReadsetsRequest++; |
1438 if (buildCounterSearchReadsetsRequest < 3) { | 1419 if (buildCounterSearchReadsetsRequest < 3) { |
1439 o.datasetIds = buildUnnamed1251(); | 1420 o.datasetIds = buildUnnamed1252(); |
1440 o.maxResults = "foo"; | 1421 o.maxResults = "foo"; |
1441 o.name = "foo"; | 1422 o.name = "foo"; |
1442 o.pageToken = "foo"; | 1423 o.pageToken = "foo"; |
1443 } | 1424 } |
1444 buildCounterSearchReadsetsRequest--; | 1425 buildCounterSearchReadsetsRequest--; |
1445 return o; | 1426 return o; |
1446 } | 1427 } |
1447 | 1428 |
1448 checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { | 1429 checkSearchReadsetsRequest(api.SearchReadsetsRequest o) { |
1449 buildCounterSearchReadsetsRequest++; | 1430 buildCounterSearchReadsetsRequest++; |
1450 if (buildCounterSearchReadsetsRequest < 3) { | 1431 if (buildCounterSearchReadsetsRequest < 3) { |
1451 checkUnnamed1251(o.datasetIds); | 1432 checkUnnamed1252(o.datasetIds); |
1452 unittest.expect(o.maxResults, unittest.equals('foo')); | 1433 unittest.expect(o.maxResults, unittest.equals('foo')); |
1453 unittest.expect(o.name, unittest.equals('foo')); | 1434 unittest.expect(o.name, unittest.equals('foo')); |
1454 unittest.expect(o.pageToken, unittest.equals('foo')); | 1435 unittest.expect(o.pageToken, unittest.equals('foo')); |
1455 } | 1436 } |
1456 buildCounterSearchReadsetsRequest--; | 1437 buildCounterSearchReadsetsRequest--; |
1457 } | 1438 } |
1458 | 1439 |
1459 buildUnnamed1252() { | 1440 buildUnnamed1253() { |
1460 var o = new core.List<api.Readset>(); | 1441 var o = new core.List<api.Readset>(); |
1461 o.add(buildReadset()); | 1442 o.add(buildReadset()); |
1462 o.add(buildReadset()); | 1443 o.add(buildReadset()); |
1463 return o; | 1444 return o; |
1464 } | 1445 } |
1465 | 1446 |
1466 checkUnnamed1252(core.List<api.Readset> o) { | 1447 checkUnnamed1253(core.List<api.Readset> o) { |
1467 unittest.expect(o, unittest.hasLength(2)); | 1448 unittest.expect(o, unittest.hasLength(2)); |
1468 checkReadset(o[0]); | 1449 checkReadset(o[0]); |
1469 checkReadset(o[1]); | 1450 checkReadset(o[1]); |
1470 } | 1451 } |
1471 | 1452 |
1472 core.int buildCounterSearchReadsetsResponse = 0; | 1453 core.int buildCounterSearchReadsetsResponse = 0; |
1473 buildSearchReadsetsResponse() { | 1454 buildSearchReadsetsResponse() { |
1474 var o = new api.SearchReadsetsResponse(); | 1455 var o = new api.SearchReadsetsResponse(); |
1475 buildCounterSearchReadsetsResponse++; | 1456 buildCounterSearchReadsetsResponse++; |
1476 if (buildCounterSearchReadsetsResponse < 3) { | 1457 if (buildCounterSearchReadsetsResponse < 3) { |
1477 o.nextPageToken = "foo"; | 1458 o.nextPageToken = "foo"; |
1478 o.readsets = buildUnnamed1252(); | 1459 o.readsets = buildUnnamed1253(); |
1479 } | 1460 } |
1480 buildCounterSearchReadsetsResponse--; | 1461 buildCounterSearchReadsetsResponse--; |
1481 return o; | 1462 return o; |
1482 } | 1463 } |
1483 | 1464 |
1484 checkSearchReadsetsResponse(api.SearchReadsetsResponse o) { | 1465 checkSearchReadsetsResponse(api.SearchReadsetsResponse o) { |
1485 buildCounterSearchReadsetsResponse++; | 1466 buildCounterSearchReadsetsResponse++; |
1486 if (buildCounterSearchReadsetsResponse < 3) { | 1467 if (buildCounterSearchReadsetsResponse < 3) { |
1487 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1468 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1488 checkUnnamed1252(o.readsets); | 1469 checkUnnamed1253(o.readsets); |
1489 } | 1470 } |
1490 buildCounterSearchReadsetsResponse--; | 1471 buildCounterSearchReadsetsResponse--; |
1491 } | 1472 } |
1492 | 1473 |
1493 buildUnnamed1253() { | 1474 buildUnnamed1254() { |
1494 var o = new core.List<core.String>(); | 1475 var o = new core.List<core.String>(); |
1495 o.add("foo"); | 1476 o.add("foo"); |
1496 o.add("foo"); | 1477 o.add("foo"); |
1497 return o; | 1478 return o; |
1498 } | 1479 } |
1499 | 1480 |
1500 checkUnnamed1253(core.List<core.String> o) { | 1481 checkUnnamed1254(core.List<core.String> o) { |
1501 unittest.expect(o, unittest.hasLength(2)); | 1482 unittest.expect(o, unittest.hasLength(2)); |
1502 unittest.expect(o[0], unittest.equals('foo')); | 1483 unittest.expect(o[0], unittest.equals('foo')); |
1503 unittest.expect(o[1], unittest.equals('foo')); | 1484 unittest.expect(o[1], unittest.equals('foo')); |
1504 } | 1485 } |
1505 | 1486 |
1506 core.int buildCounterSearchVariantSetsRequest = 0; | 1487 core.int buildCounterSearchVariantSetsRequest = 0; |
1507 buildSearchVariantSetsRequest() { | 1488 buildSearchVariantSetsRequest() { |
1508 var o = new api.SearchVariantSetsRequest(); | 1489 var o = new api.SearchVariantSetsRequest(); |
1509 buildCounterSearchVariantSetsRequest++; | 1490 buildCounterSearchVariantSetsRequest++; |
1510 if (buildCounterSearchVariantSetsRequest < 3) { | 1491 if (buildCounterSearchVariantSetsRequest < 3) { |
1511 o.datasetIds = buildUnnamed1253(); | 1492 o.datasetIds = buildUnnamed1254(); |
1512 o.pageSize = 42; | 1493 o.pageSize = 42; |
1513 o.pageToken = "foo"; | 1494 o.pageToken = "foo"; |
1514 } | 1495 } |
1515 buildCounterSearchVariantSetsRequest--; | 1496 buildCounterSearchVariantSetsRequest--; |
1516 return o; | 1497 return o; |
1517 } | 1498 } |
1518 | 1499 |
1519 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { | 1500 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { |
1520 buildCounterSearchVariantSetsRequest++; | 1501 buildCounterSearchVariantSetsRequest++; |
1521 if (buildCounterSearchVariantSetsRequest < 3) { | 1502 if (buildCounterSearchVariantSetsRequest < 3) { |
1522 checkUnnamed1253(o.datasetIds); | 1503 checkUnnamed1254(o.datasetIds); |
1523 unittest.expect(o.pageSize, unittest.equals(42)); | 1504 unittest.expect(o.pageSize, unittest.equals(42)); |
1524 unittest.expect(o.pageToken, unittest.equals('foo')); | 1505 unittest.expect(o.pageToken, unittest.equals('foo')); |
1525 } | 1506 } |
1526 buildCounterSearchVariantSetsRequest--; | 1507 buildCounterSearchVariantSetsRequest--; |
1527 } | 1508 } |
1528 | 1509 |
1529 buildUnnamed1254() { | 1510 buildUnnamed1255() { |
1530 var o = new core.List<api.VariantSet>(); | 1511 var o = new core.List<api.VariantSet>(); |
1531 o.add(buildVariantSet()); | 1512 o.add(buildVariantSet()); |
1532 o.add(buildVariantSet()); | 1513 o.add(buildVariantSet()); |
1533 return o; | 1514 return o; |
1534 } | 1515 } |
1535 | 1516 |
1536 checkUnnamed1254(core.List<api.VariantSet> o) { | 1517 checkUnnamed1255(core.List<api.VariantSet> o) { |
1537 unittest.expect(o, unittest.hasLength(2)); | 1518 unittest.expect(o, unittest.hasLength(2)); |
1538 checkVariantSet(o[0]); | 1519 checkVariantSet(o[0]); |
1539 checkVariantSet(o[1]); | 1520 checkVariantSet(o[1]); |
1540 } | 1521 } |
1541 | 1522 |
1542 core.int buildCounterSearchVariantSetsResponse = 0; | 1523 core.int buildCounterSearchVariantSetsResponse = 0; |
1543 buildSearchVariantSetsResponse() { | 1524 buildSearchVariantSetsResponse() { |
1544 var o = new api.SearchVariantSetsResponse(); | 1525 var o = new api.SearchVariantSetsResponse(); |
1545 buildCounterSearchVariantSetsResponse++; | 1526 buildCounterSearchVariantSetsResponse++; |
1546 if (buildCounterSearchVariantSetsResponse < 3) { | 1527 if (buildCounterSearchVariantSetsResponse < 3) { |
1547 o.nextPageToken = "foo"; | 1528 o.nextPageToken = "foo"; |
1548 o.variantSets = buildUnnamed1254(); | 1529 o.variantSets = buildUnnamed1255(); |
1549 } | 1530 } |
1550 buildCounterSearchVariantSetsResponse--; | 1531 buildCounterSearchVariantSetsResponse--; |
1551 return o; | 1532 return o; |
1552 } | 1533 } |
1553 | 1534 |
1554 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { | 1535 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { |
1555 buildCounterSearchVariantSetsResponse++; | 1536 buildCounterSearchVariantSetsResponse++; |
1556 if (buildCounterSearchVariantSetsResponse < 3) { | 1537 if (buildCounterSearchVariantSetsResponse < 3) { |
1557 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1538 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1558 checkUnnamed1254(o.variantSets); | 1539 checkUnnamed1255(o.variantSets); |
1559 } | 1540 } |
1560 buildCounterSearchVariantSetsResponse--; | 1541 buildCounterSearchVariantSetsResponse--; |
1561 } | 1542 } |
1562 | 1543 |
1563 buildUnnamed1255() { | |
1564 var o = new core.List<core.String>(); | |
1565 o.add("foo"); | |
1566 o.add("foo"); | |
1567 return o; | |
1568 } | |
1569 | |
1570 checkUnnamed1255(core.List<core.String> o) { | |
1571 unittest.expect(o, unittest.hasLength(2)); | |
1572 unittest.expect(o[0], unittest.equals('foo')); | |
1573 unittest.expect(o[1], unittest.equals('foo')); | |
1574 } | |
1575 | |
1576 buildUnnamed1256() { | 1544 buildUnnamed1256() { |
1577 var o = new core.List<core.String>(); | 1545 var o = new core.List<core.String>(); |
1578 o.add("foo"); | 1546 o.add("foo"); |
1579 o.add("foo"); | 1547 o.add("foo"); |
1580 return o; | 1548 return o; |
1581 } | 1549 } |
1582 | 1550 |
1583 checkUnnamed1256(core.List<core.String> o) { | 1551 checkUnnamed1256(core.List<core.String> o) { |
1584 unittest.expect(o, unittest.hasLength(2)); | 1552 unittest.expect(o, unittest.hasLength(2)); |
1585 unittest.expect(o[0], unittest.equals('foo')); | 1553 unittest.expect(o[0], unittest.equals('foo')); |
1586 unittest.expect(o[1], unittest.equals('foo')); | 1554 unittest.expect(o[1], unittest.equals('foo')); |
| 1555 } |
| 1556 |
| 1557 buildUnnamed1257() { |
| 1558 var o = new core.List<core.String>(); |
| 1559 o.add("foo"); |
| 1560 o.add("foo"); |
| 1561 return o; |
| 1562 } |
| 1563 |
| 1564 checkUnnamed1257(core.List<core.String> o) { |
| 1565 unittest.expect(o, unittest.hasLength(2)); |
| 1566 unittest.expect(o[0], unittest.equals('foo')); |
| 1567 unittest.expect(o[1], unittest.equals('foo')); |
1587 } | 1568 } |
1588 | 1569 |
1589 core.int buildCounterSearchVariantsRequest = 0; | 1570 core.int buildCounterSearchVariantsRequest = 0; |
1590 buildSearchVariantsRequest() { | 1571 buildSearchVariantsRequest() { |
1591 var o = new api.SearchVariantsRequest(); | 1572 var o = new api.SearchVariantsRequest(); |
1592 buildCounterSearchVariantsRequest++; | 1573 buildCounterSearchVariantsRequest++; |
1593 if (buildCounterSearchVariantsRequest < 3) { | 1574 if (buildCounterSearchVariantsRequest < 3) { |
1594 o.callSetIds = buildUnnamed1255(); | 1575 o.callSetIds = buildUnnamed1256(); |
1595 o.end = "foo"; | 1576 o.end = "foo"; |
1596 o.maxCalls = 42; | 1577 o.maxCalls = 42; |
1597 o.pageSize = 42; | 1578 o.pageSize = 42; |
1598 o.pageToken = "foo"; | 1579 o.pageToken = "foo"; |
1599 o.referenceName = "foo"; | 1580 o.referenceName = "foo"; |
1600 o.start = "foo"; | 1581 o.start = "foo"; |
1601 o.variantName = "foo"; | 1582 o.variantName = "foo"; |
1602 o.variantSetIds = buildUnnamed1256(); | 1583 o.variantSetIds = buildUnnamed1257(); |
1603 } | 1584 } |
1604 buildCounterSearchVariantsRequest--; | 1585 buildCounterSearchVariantsRequest--; |
1605 return o; | 1586 return o; |
1606 } | 1587 } |
1607 | 1588 |
1608 checkSearchVariantsRequest(api.SearchVariantsRequest o) { | 1589 checkSearchVariantsRequest(api.SearchVariantsRequest o) { |
1609 buildCounterSearchVariantsRequest++; | 1590 buildCounterSearchVariantsRequest++; |
1610 if (buildCounterSearchVariantsRequest < 3) { | 1591 if (buildCounterSearchVariantsRequest < 3) { |
1611 checkUnnamed1255(o.callSetIds); | 1592 checkUnnamed1256(o.callSetIds); |
1612 unittest.expect(o.end, unittest.equals('foo')); | 1593 unittest.expect(o.end, unittest.equals('foo')); |
1613 unittest.expect(o.maxCalls, unittest.equals(42)); | 1594 unittest.expect(o.maxCalls, unittest.equals(42)); |
1614 unittest.expect(o.pageSize, unittest.equals(42)); | 1595 unittest.expect(o.pageSize, unittest.equals(42)); |
1615 unittest.expect(o.pageToken, unittest.equals('foo')); | 1596 unittest.expect(o.pageToken, unittest.equals('foo')); |
1616 unittest.expect(o.referenceName, unittest.equals('foo')); | 1597 unittest.expect(o.referenceName, unittest.equals('foo')); |
1617 unittest.expect(o.start, unittest.equals('foo')); | 1598 unittest.expect(o.start, unittest.equals('foo')); |
1618 unittest.expect(o.variantName, unittest.equals('foo')); | 1599 unittest.expect(o.variantName, unittest.equals('foo')); |
1619 checkUnnamed1256(o.variantSetIds); | 1600 checkUnnamed1257(o.variantSetIds); |
1620 } | 1601 } |
1621 buildCounterSearchVariantsRequest--; | 1602 buildCounterSearchVariantsRequest--; |
1622 } | 1603 } |
1623 | 1604 |
1624 buildUnnamed1257() { | 1605 buildUnnamed1258() { |
1625 var o = new core.List<api.Variant>(); | 1606 var o = new core.List<api.Variant>(); |
1626 o.add(buildVariant()); | 1607 o.add(buildVariant()); |
1627 o.add(buildVariant()); | 1608 o.add(buildVariant()); |
1628 return o; | 1609 return o; |
1629 } | 1610 } |
1630 | 1611 |
1631 checkUnnamed1257(core.List<api.Variant> o) { | 1612 checkUnnamed1258(core.List<api.Variant> o) { |
1632 unittest.expect(o, unittest.hasLength(2)); | 1613 unittest.expect(o, unittest.hasLength(2)); |
1633 checkVariant(o[0]); | 1614 checkVariant(o[0]); |
1634 checkVariant(o[1]); | 1615 checkVariant(o[1]); |
1635 } | 1616 } |
1636 | 1617 |
1637 core.int buildCounterSearchVariantsResponse = 0; | 1618 core.int buildCounterSearchVariantsResponse = 0; |
1638 buildSearchVariantsResponse() { | 1619 buildSearchVariantsResponse() { |
1639 var o = new api.SearchVariantsResponse(); | 1620 var o = new api.SearchVariantsResponse(); |
1640 buildCounterSearchVariantsResponse++; | 1621 buildCounterSearchVariantsResponse++; |
1641 if (buildCounterSearchVariantsResponse < 3) { | 1622 if (buildCounterSearchVariantsResponse < 3) { |
1642 o.nextPageToken = "foo"; | 1623 o.nextPageToken = "foo"; |
1643 o.variants = buildUnnamed1257(); | 1624 o.variants = buildUnnamed1258(); |
1644 } | 1625 } |
1645 buildCounterSearchVariantsResponse--; | 1626 buildCounterSearchVariantsResponse--; |
1646 return o; | 1627 return o; |
1647 } | 1628 } |
1648 | 1629 |
1649 checkSearchVariantsResponse(api.SearchVariantsResponse o) { | 1630 checkSearchVariantsResponse(api.SearchVariantsResponse o) { |
1650 buildCounterSearchVariantsResponse++; | 1631 buildCounterSearchVariantsResponse++; |
1651 if (buildCounterSearchVariantsResponse < 3) { | 1632 if (buildCounterSearchVariantsResponse < 3) { |
1652 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1633 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1653 checkUnnamed1257(o.variants); | 1634 checkUnnamed1258(o.variants); |
1654 } | 1635 } |
1655 buildCounterSearchVariantsResponse--; | 1636 buildCounterSearchVariantsResponse--; |
1656 } | 1637 } |
1657 | 1638 |
1658 buildUnnamed1258() { | 1639 buildUnnamed1259() { |
1659 var o = new core.List<core.String>(); | 1640 var o = new core.List<core.String>(); |
1660 o.add("foo"); | 1641 o.add("foo"); |
1661 o.add("foo"); | 1642 o.add("foo"); |
1662 return o; | 1643 return o; |
1663 } | 1644 } |
1664 | 1645 |
1665 checkUnnamed1258(core.List<core.String> o) { | 1646 checkUnnamed1259(core.List<core.String> o) { |
1666 unittest.expect(o, unittest.hasLength(2)); | 1647 unittest.expect(o, unittest.hasLength(2)); |
1667 unittest.expect(o[0], unittest.equals('foo')); | 1648 unittest.expect(o[0], unittest.equals('foo')); |
1668 unittest.expect(o[1], unittest.equals('foo')); | 1649 unittest.expect(o[1], unittest.equals('foo')); |
1669 } | 1650 } |
1670 | 1651 |
1671 buildUnnamed1259() { | 1652 buildUnnamed1260() { |
1672 var o = new core.List<api.Call>(); | 1653 var o = new core.List<api.Call>(); |
1673 o.add(buildCall()); | 1654 o.add(buildCall()); |
1674 o.add(buildCall()); | 1655 o.add(buildCall()); |
1675 return o; | 1656 return o; |
1676 } | 1657 } |
1677 | 1658 |
1678 checkUnnamed1259(core.List<api.Call> o) { | 1659 checkUnnamed1260(core.List<api.Call> o) { |
1679 unittest.expect(o, unittest.hasLength(2)); | 1660 unittest.expect(o, unittest.hasLength(2)); |
1680 checkCall(o[0]); | 1661 checkCall(o[0]); |
1681 checkCall(o[1]); | 1662 checkCall(o[1]); |
1682 } | 1663 } |
1683 | 1664 |
1684 buildUnnamed1260() { | |
1685 var o = new core.List<core.String>(); | |
1686 o.add("foo"); | |
1687 o.add("foo"); | |
1688 return o; | |
1689 } | |
1690 | |
1691 checkUnnamed1260(core.List<core.String> o) { | |
1692 unittest.expect(o, unittest.hasLength(2)); | |
1693 unittest.expect(o[0], unittest.equals('foo')); | |
1694 unittest.expect(o[1], unittest.equals('foo')); | |
1695 } | |
1696 | |
1697 buildUnnamed1261() { | 1665 buildUnnamed1261() { |
1698 var o = new core.List<core.String>(); | 1666 var o = new core.List<core.String>(); |
1699 o.add("foo"); | 1667 o.add("foo"); |
1700 o.add("foo"); | 1668 o.add("foo"); |
1701 return o; | 1669 return o; |
1702 } | 1670 } |
1703 | 1671 |
1704 checkUnnamed1261(core.List<core.String> o) { | 1672 checkUnnamed1261(core.List<core.String> o) { |
1705 unittest.expect(o, unittest.hasLength(2)); | 1673 unittest.expect(o, unittest.hasLength(2)); |
1706 unittest.expect(o[0], unittest.equals('foo')); | 1674 unittest.expect(o[0], unittest.equals('foo')); |
1707 unittest.expect(o[1], unittest.equals('foo')); | 1675 unittest.expect(o[1], unittest.equals('foo')); |
1708 } | 1676 } |
1709 | 1677 |
1710 buildUnnamed1262() { | 1678 buildUnnamed1262() { |
1711 var o = new core.Map<core.String, core.List<core.String>>(); | |
1712 o["x"] = buildUnnamed1261(); | |
1713 o["y"] = buildUnnamed1261(); | |
1714 return o; | |
1715 } | |
1716 | |
1717 checkUnnamed1262(core.Map<core.String, core.List<core.String>> o) { | |
1718 unittest.expect(o, unittest.hasLength(2)); | |
1719 checkUnnamed1261(o["x"]); | |
1720 checkUnnamed1261(o["y"]); | |
1721 } | |
1722 | |
1723 buildUnnamed1263() { | |
1724 var o = new core.List<core.String>(); | 1679 var o = new core.List<core.String>(); |
1725 o.add("foo"); | 1680 o.add("foo"); |
1726 o.add("foo"); | 1681 o.add("foo"); |
1727 return o; | 1682 return o; |
1728 } | 1683 } |
1729 | 1684 |
1730 checkUnnamed1263(core.List<core.String> o) { | 1685 checkUnnamed1262(core.List<core.String> o) { |
1731 unittest.expect(o, unittest.hasLength(2)); | 1686 unittest.expect(o, unittest.hasLength(2)); |
1732 unittest.expect(o[0], unittest.equals('foo')); | 1687 unittest.expect(o[0], unittest.equals('foo')); |
1733 unittest.expect(o[1], unittest.equals('foo')); | 1688 unittest.expect(o[1], unittest.equals('foo')); |
| 1689 } |
| 1690 |
| 1691 buildUnnamed1263() { |
| 1692 var o = new core.Map<core.String, core.List<core.String>>(); |
| 1693 o["x"] = buildUnnamed1262(); |
| 1694 o["y"] = buildUnnamed1262(); |
| 1695 return o; |
| 1696 } |
| 1697 |
| 1698 checkUnnamed1263(core.Map<core.String, core.List<core.String>> o) { |
| 1699 unittest.expect(o, unittest.hasLength(2)); |
| 1700 checkUnnamed1262(o["x"]); |
| 1701 checkUnnamed1262(o["y"]); |
| 1702 } |
| 1703 |
| 1704 buildUnnamed1264() { |
| 1705 var o = new core.List<core.String>(); |
| 1706 o.add("foo"); |
| 1707 o.add("foo"); |
| 1708 return o; |
| 1709 } |
| 1710 |
| 1711 checkUnnamed1264(core.List<core.String> o) { |
| 1712 unittest.expect(o, unittest.hasLength(2)); |
| 1713 unittest.expect(o[0], unittest.equals('foo')); |
| 1714 unittest.expect(o[1], unittest.equals('foo')); |
1734 } | 1715 } |
1735 | 1716 |
1736 core.int buildCounterVariant = 0; | 1717 core.int buildCounterVariant = 0; |
1737 buildVariant() { | 1718 buildVariant() { |
1738 var o = new api.Variant(); | 1719 var o = new api.Variant(); |
1739 buildCounterVariant++; | 1720 buildCounterVariant++; |
1740 if (buildCounterVariant < 3) { | 1721 if (buildCounterVariant < 3) { |
1741 o.alternateBases = buildUnnamed1258(); | 1722 o.alternateBases = buildUnnamed1259(); |
1742 o.calls = buildUnnamed1259(); | 1723 o.calls = buildUnnamed1260(); |
1743 o.created = "foo"; | 1724 o.created = "foo"; |
1744 o.end = "foo"; | 1725 o.end = "foo"; |
1745 o.filter = buildUnnamed1260(); | 1726 o.filter = buildUnnamed1261(); |
1746 o.id = "foo"; | 1727 o.id = "foo"; |
1747 o.info = buildUnnamed1262(); | 1728 o.info = buildUnnamed1263(); |
1748 o.names = buildUnnamed1263(); | 1729 o.names = buildUnnamed1264(); |
1749 o.quality = 42.0; | 1730 o.quality = 42.0; |
1750 o.referenceBases = "foo"; | 1731 o.referenceBases = "foo"; |
1751 o.referenceName = "foo"; | 1732 o.referenceName = "foo"; |
1752 o.start = "foo"; | 1733 o.start = "foo"; |
1753 o.variantSetId = "foo"; | 1734 o.variantSetId = "foo"; |
1754 } | 1735 } |
1755 buildCounterVariant--; | 1736 buildCounterVariant--; |
1756 return o; | 1737 return o; |
1757 } | 1738 } |
1758 | 1739 |
1759 checkVariant(api.Variant o) { | 1740 checkVariant(api.Variant o) { |
1760 buildCounterVariant++; | 1741 buildCounterVariant++; |
1761 if (buildCounterVariant < 3) { | 1742 if (buildCounterVariant < 3) { |
1762 checkUnnamed1258(o.alternateBases); | 1743 checkUnnamed1259(o.alternateBases); |
1763 checkUnnamed1259(o.calls); | 1744 checkUnnamed1260(o.calls); |
1764 unittest.expect(o.created, unittest.equals('foo')); | 1745 unittest.expect(o.created, unittest.equals('foo')); |
1765 unittest.expect(o.end, unittest.equals('foo')); | 1746 unittest.expect(o.end, unittest.equals('foo')); |
1766 checkUnnamed1260(o.filter); | 1747 checkUnnamed1261(o.filter); |
1767 unittest.expect(o.id, unittest.equals('foo')); | 1748 unittest.expect(o.id, unittest.equals('foo')); |
1768 checkUnnamed1262(o.info); | 1749 checkUnnamed1263(o.info); |
1769 checkUnnamed1263(o.names); | 1750 checkUnnamed1264(o.names); |
1770 unittest.expect(o.quality, unittest.equals(42.0)); | 1751 unittest.expect(o.quality, unittest.equals(42.0)); |
1771 unittest.expect(o.referenceBases, unittest.equals('foo')); | 1752 unittest.expect(o.referenceBases, unittest.equals('foo')); |
1772 unittest.expect(o.referenceName, unittest.equals('foo')); | 1753 unittest.expect(o.referenceName, unittest.equals('foo')); |
1773 unittest.expect(o.start, unittest.equals('foo')); | 1754 unittest.expect(o.start, unittest.equals('foo')); |
1774 unittest.expect(o.variantSetId, unittest.equals('foo')); | 1755 unittest.expect(o.variantSetId, unittest.equals('foo')); |
1775 } | 1756 } |
1776 buildCounterVariant--; | 1757 buildCounterVariant--; |
1777 } | 1758 } |
1778 | 1759 |
1779 buildUnnamed1264() { | 1760 buildUnnamed1265() { |
1780 var o = new core.List<api.Metadata>(); | 1761 var o = new core.List<api.Metadata>(); |
1781 o.add(buildMetadata()); | 1762 o.add(buildMetadata()); |
1782 o.add(buildMetadata()); | 1763 o.add(buildMetadata()); |
1783 return o; | 1764 return o; |
1784 } | 1765 } |
1785 | 1766 |
1786 checkUnnamed1264(core.List<api.Metadata> o) { | 1767 checkUnnamed1265(core.List<api.Metadata> o) { |
1787 unittest.expect(o, unittest.hasLength(2)); | 1768 unittest.expect(o, unittest.hasLength(2)); |
1788 checkMetadata(o[0]); | 1769 checkMetadata(o[0]); |
1789 checkMetadata(o[1]); | 1770 checkMetadata(o[1]); |
1790 } | 1771 } |
1791 | 1772 |
1792 buildUnnamed1265() { | 1773 buildUnnamed1266() { |
1793 var o = new core.List<api.ReferenceBound>(); | 1774 var o = new core.List<api.ReferenceBound>(); |
1794 o.add(buildReferenceBound()); | 1775 o.add(buildReferenceBound()); |
1795 o.add(buildReferenceBound()); | 1776 o.add(buildReferenceBound()); |
1796 return o; | 1777 return o; |
1797 } | 1778 } |
1798 | 1779 |
1799 checkUnnamed1265(core.List<api.ReferenceBound> o) { | 1780 checkUnnamed1266(core.List<api.ReferenceBound> o) { |
1800 unittest.expect(o, unittest.hasLength(2)); | 1781 unittest.expect(o, unittest.hasLength(2)); |
1801 checkReferenceBound(o[0]); | 1782 checkReferenceBound(o[0]); |
1802 checkReferenceBound(o[1]); | 1783 checkReferenceBound(o[1]); |
1803 } | 1784 } |
1804 | 1785 |
1805 core.int buildCounterVariantSet = 0; | 1786 core.int buildCounterVariantSet = 0; |
1806 buildVariantSet() { | 1787 buildVariantSet() { |
1807 var o = new api.VariantSet(); | 1788 var o = new api.VariantSet(); |
1808 buildCounterVariantSet++; | 1789 buildCounterVariantSet++; |
1809 if (buildCounterVariantSet < 3) { | 1790 if (buildCounterVariantSet < 3) { |
1810 o.datasetId = "foo"; | 1791 o.datasetId = "foo"; |
1811 o.id = "foo"; | 1792 o.id = "foo"; |
1812 o.metadata = buildUnnamed1264(); | 1793 o.metadata = buildUnnamed1265(); |
1813 o.referenceBounds = buildUnnamed1265(); | 1794 o.referenceBounds = buildUnnamed1266(); |
1814 } | 1795 } |
1815 buildCounterVariantSet--; | 1796 buildCounterVariantSet--; |
1816 return o; | 1797 return o; |
1817 } | 1798 } |
1818 | 1799 |
1819 checkVariantSet(api.VariantSet o) { | 1800 checkVariantSet(api.VariantSet o) { |
1820 buildCounterVariantSet++; | 1801 buildCounterVariantSet++; |
1821 if (buildCounterVariantSet < 3) { | 1802 if (buildCounterVariantSet < 3) { |
1822 unittest.expect(o.datasetId, unittest.equals('foo')); | 1803 unittest.expect(o.datasetId, unittest.equals('foo')); |
1823 unittest.expect(o.id, unittest.equals('foo')); | 1804 unittest.expect(o.id, unittest.equals('foo')); |
1824 checkUnnamed1264(o.metadata); | 1805 checkUnnamed1265(o.metadata); |
1825 checkUnnamed1265(o.referenceBounds); | 1806 checkUnnamed1266(o.referenceBounds); |
1826 } | 1807 } |
1827 buildCounterVariantSet--; | 1808 buildCounterVariantSet--; |
1828 } | 1809 } |
1829 | 1810 |
1830 | 1811 |
1831 main() { | 1812 main() { |
1832 unittest.group("obj-schema-Beacon", () { | |
1833 unittest.test("to-json--from-json", () { | |
1834 var o = buildBeacon(); | |
1835 var od = new api.Beacon.fromJson(o.toJson()); | |
1836 checkBeacon(od); | |
1837 }); | |
1838 }); | |
1839 | |
1840 | |
1841 unittest.group("obj-schema-Call", () { | 1813 unittest.group("obj-schema-Call", () { |
1842 unittest.test("to-json--from-json", () { | 1814 unittest.test("to-json--from-json", () { |
1843 var o = buildCall(); | 1815 var o = buildCall(); |
1844 var od = new api.Call.fromJson(o.toJson()); | 1816 var od = new api.Call.fromJson(o.toJson()); |
1845 checkCall(od); | 1817 checkCall(od); |
1846 }); | 1818 }); |
1847 }); | 1819 }); |
1848 | 1820 |
1849 | 1821 |
1850 unittest.group("obj-schema-CallSet", () { | 1822 unittest.group("obj-schema-CallSet", () { |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2218 | 2190 |
2219 unittest.group("obj-schema-VariantSet", () { | 2191 unittest.group("obj-schema-VariantSet", () { |
2220 unittest.test("to-json--from-json", () { | 2192 unittest.test("to-json--from-json", () { |
2221 var o = buildVariantSet(); | 2193 var o = buildVariantSet(); |
2222 var od = new api.VariantSet.fromJson(o.toJson()); | 2194 var od = new api.VariantSet.fromJson(o.toJson()); |
2223 checkVariantSet(od); | 2195 checkVariantSet(od); |
2224 }); | 2196 }); |
2225 }); | 2197 }); |
2226 | 2198 |
2227 | 2199 |
2228 unittest.group("resource-BeaconsResourceApi", () { | |
2229 unittest.test("method--get", () { | |
2230 | |
2231 var mock = new common_test.HttpServerMock(); | |
2232 api.BeaconsResourceApi res = new api.GenomicsApi(mock).beacons; | |
2233 var arg_variantSetId = "foo"; | |
2234 var arg_allele = "foo"; | |
2235 var arg_position = "foo"; | |
2236 var arg_referenceName = "foo"; | |
2237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
2238 var path = (req.url).path; | |
2239 var pathOffset = 0; | |
2240 var index; | |
2241 var subPart; | |
2242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
2243 pathOffset += 1; | |
2244 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("genomics/v1beta/")); | |
2245 pathOffset += 16; | |
2246 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("beacons/")); | |
2247 pathOffset += 8; | |
2248 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); | |
2249 pathOffset = path.length; | |
2250 unittest.expect(subPart, unittest.equals("$arg_variantSetId")); | |
2251 | |
2252 var query = (req.url).query; | |
2253 var queryOffset = 0; | |
2254 var queryMap = {}; | |
2255 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
2256 parseBool(n) { | |
2257 if (n == "true") return true; | |
2258 if (n == "false") return false; | |
2259 if (n == null) return null; | |
2260 throw new core.ArgumentError("Invalid boolean: $n"); | |
2261 } | |
2262 if (query.length > 0) { | |
2263 for (var part in query.split("&")) { | |
2264 var keyvalue = part.split("="); | |
2265 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
2266 } | |
2267 } | |
2268 unittest.expect(queryMap["allele"].first, unittest.equals(arg_allele)); | |
2269 unittest.expect(queryMap["position"].first, unittest.equals(arg_position
)); | |
2270 unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_ref
erenceName)); | |
2271 | |
2272 | |
2273 var h = { | |
2274 "content-type" : "application/json; charset=utf-8", | |
2275 }; | |
2276 var resp = convert.JSON.encode(buildBeacon()); | |
2277 return new async.Future.value(common_test.stringResponse(200, h, resp)); | |
2278 }), true); | |
2279 res.get(arg_variantSetId, allele: arg_allele, position: arg_position, refe
renceName: arg_referenceName).then(unittest.expectAsync(((api.Beacon response) { | |
2280 checkBeacon(response); | |
2281 }))); | |
2282 }); | |
2283 | |
2284 }); | |
2285 | |
2286 | |
2287 unittest.group("resource-CallsetsResourceApi", () { | 2200 unittest.group("resource-CallsetsResourceApi", () { |
2288 unittest.test("method--create", () { | 2201 unittest.test("method--create", () { |
2289 | 2202 |
2290 var mock = new common_test.HttpServerMock(); | 2203 var mock = new common_test.HttpServerMock(); |
2291 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; | 2204 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; |
2292 var arg_request = buildCallSet(); | 2205 var arg_request = buildCallSet(); |
2293 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2206 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
2294 var obj = new api.CallSet.fromJson(json); | 2207 var obj = new api.CallSet.fromJson(json); |
2295 checkCallSet(obj); | 2208 checkCallSet(obj); |
2296 | 2209 |
(...skipping 1985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4282 res.update(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.
VariantSet response) { | 4195 res.update(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.
VariantSet response) { |
4283 checkVariantSet(response); | 4196 checkVariantSet(response); |
4284 }))); | 4197 }))); |
4285 }); | 4198 }); |
4286 | 4199 |
4287 }); | 4200 }); |
4288 | 4201 |
4289 | 4202 |
4290 } | 4203 } |
4291 | 4204 |
OLD | NEW |