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

Side by Side Diff: generated/googleapis_beta/test/genomics/v1beta2_test.dart

Issue 1078053002: Roll of googleapis as of 4/7/2015. (Closed) Base URL: https://github.com/dart-lang/googleapis.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis_beta.genomics.v1beta2.test; 1 library googleapis_beta.genomics.v1beta2.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;
12 import 'package:googleapis_beta/src/common_internal.dart' as common_internal;
13 import '../common/common_internal_test.dart' as common_test;
14 11
15 import 'package:googleapis_beta/genomics/v1beta2.dart' as api; 12 import 'package:googleapis_beta/genomics/v1beta2.dart' as api;
16 13
14 class HttpServerMock extends http.BaseClient {
15 core.Function _callback;
16 core.bool _expectJson;
17 17
18 void register(core.Function callback, core.bool expectJson) {
19 _callback = callback;
20 _expectJson = expectJson;
21 }
18 22
19 buildUnnamed1479() { 23 async.Future<http.StreamedResponse> send(http.BaseRequest request) {
24 if (_expectJson) {
25 return request.finalize()
26 .transform(convert.UTF8.decoder)
27 .join('')
28 .then((core.String jsonString) {
29 if (jsonString.isEmpty) {
30 return _callback(request, null);
31 } else {
32 return _callback(request, convert.JSON.decode(jsonString));
33 }
34 });
35 } else {
36 var stream = request.finalize();
37 if (stream == null) {
38 return _callback(request, []);
39 } else {
40 return stream.toBytes().then((data) {
41 return _callback(request, data);
42 });
43 }
44 }
45 }
46 }
47
48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers);
52 }
53
54 buildUnnamed1592() {
20 var o = new core.List<core.String>(); 55 var o = new core.List<core.String>();
21 o.add("foo"); 56 o.add("foo");
22 o.add("foo"); 57 o.add("foo");
23 return o; 58 return o;
24 } 59 }
25 60
26 checkUnnamed1479(core.List<core.String> o) { 61 checkUnnamed1592(core.List<core.String> o) {
27 unittest.expect(o, unittest.hasLength(2)); 62 unittest.expect(o, unittest.hasLength(2));
28 unittest.expect(o[0], unittest.equals('foo')); 63 unittest.expect(o[0], unittest.equals('foo'));
29 unittest.expect(o[1], unittest.equals('foo')); 64 unittest.expect(o[1], unittest.equals('foo'));
30 } 65 }
31 66
32 core.int buildCounterAlignReadGroupSetsRequest = 0; 67 core.int buildCounterAlignReadGroupSetsRequest = 0;
33 buildAlignReadGroupSetsRequest() { 68 buildAlignReadGroupSetsRequest() {
34 var o = new api.AlignReadGroupSetsRequest(); 69 var o = new api.AlignReadGroupSetsRequest();
35 buildCounterAlignReadGroupSetsRequest++; 70 buildCounterAlignReadGroupSetsRequest++;
36 if (buildCounterAlignReadGroupSetsRequest < 3) { 71 if (buildCounterAlignReadGroupSetsRequest < 3) {
37 o.bamSourceUris = buildUnnamed1479(); 72 o.bamSourceUris = buildUnnamed1592();
38 o.datasetId = "foo"; 73 o.datasetId = "foo";
39 o.interleavedFastqSource = buildInterleavedFastqSource(); 74 o.interleavedFastqSource = buildInterleavedFastqSource();
40 o.pairedFastqSource = buildPairedFastqSource(); 75 o.pairedFastqSource = buildPairedFastqSource();
41 o.readGroupSetId = "foo"; 76 o.readGroupSetId = "foo";
42 } 77 }
43 buildCounterAlignReadGroupSetsRequest--; 78 buildCounterAlignReadGroupSetsRequest--;
44 return o; 79 return o;
45 } 80 }
46 81
47 checkAlignReadGroupSetsRequest(api.AlignReadGroupSetsRequest o) { 82 checkAlignReadGroupSetsRequest(api.AlignReadGroupSetsRequest o) {
48 buildCounterAlignReadGroupSetsRequest++; 83 buildCounterAlignReadGroupSetsRequest++;
49 if (buildCounterAlignReadGroupSetsRequest < 3) { 84 if (buildCounterAlignReadGroupSetsRequest < 3) {
50 checkUnnamed1479(o.bamSourceUris); 85 checkUnnamed1592(o.bamSourceUris);
51 unittest.expect(o.datasetId, unittest.equals('foo')); 86 unittest.expect(o.datasetId, unittest.equals('foo'));
52 checkInterleavedFastqSource(o.interleavedFastqSource); 87 checkInterleavedFastqSource(o.interleavedFastqSource);
53 checkPairedFastqSource(o.pairedFastqSource); 88 checkPairedFastqSource(o.pairedFastqSource);
54 unittest.expect(o.readGroupSetId, unittest.equals('foo')); 89 unittest.expect(o.readGroupSetId, unittest.equals('foo'));
55 } 90 }
56 buildCounterAlignReadGroupSetsRequest--; 91 buildCounterAlignReadGroupSetsRequest--;
57 } 92 }
58 93
59 core.int buildCounterAlignReadGroupSetsResponse = 0; 94 core.int buildCounterAlignReadGroupSetsResponse = 0;
60 buildAlignReadGroupSetsResponse() { 95 buildAlignReadGroupSetsResponse() {
61 var o = new api.AlignReadGroupSetsResponse(); 96 var o = new api.AlignReadGroupSetsResponse();
62 buildCounterAlignReadGroupSetsResponse++; 97 buildCounterAlignReadGroupSetsResponse++;
63 if (buildCounterAlignReadGroupSetsResponse < 3) { 98 if (buildCounterAlignReadGroupSetsResponse < 3) {
64 o.jobId = "foo"; 99 o.jobId = "foo";
65 } 100 }
66 buildCounterAlignReadGroupSetsResponse--; 101 buildCounterAlignReadGroupSetsResponse--;
67 return o; 102 return o;
68 } 103 }
69 104
70 checkAlignReadGroupSetsResponse(api.AlignReadGroupSetsResponse o) { 105 checkAlignReadGroupSetsResponse(api.AlignReadGroupSetsResponse o) {
71 buildCounterAlignReadGroupSetsResponse++; 106 buildCounterAlignReadGroupSetsResponse++;
72 if (buildCounterAlignReadGroupSetsResponse < 3) { 107 if (buildCounterAlignReadGroupSetsResponse < 3) {
73 unittest.expect(o.jobId, unittest.equals('foo')); 108 unittest.expect(o.jobId, unittest.equals('foo'));
74 } 109 }
75 buildCounterAlignReadGroupSetsResponse--; 110 buildCounterAlignReadGroupSetsResponse--;
76 } 111 }
77 112
78 buildUnnamed1480() { 113 buildUnnamed1593() {
79 var o = new core.List<core.String>(); 114 var o = new core.List<core.String>();
80 o.add("foo"); 115 o.add("foo");
81 o.add("foo"); 116 o.add("foo");
82 return o; 117 return o;
83 } 118 }
84 119
85 checkUnnamed1480(core.List<core.String> o) { 120 checkUnnamed1593(core.List<core.String> o) {
86 unittest.expect(o, unittest.hasLength(2)); 121 unittest.expect(o, unittest.hasLength(2));
87 unittest.expect(o[0], unittest.equals('foo')); 122 unittest.expect(o[0], unittest.equals('foo'));
88 unittest.expect(o[1], unittest.equals('foo')); 123 unittest.expect(o[1], unittest.equals('foo'));
89 } 124 }
90 125
91 buildUnnamed1481() { 126 buildUnnamed1594() {
92 var o = new core.Map<core.String, core.List<core.String>>(); 127 var o = new core.Map<core.String, core.List<core.String>>();
93 o["x"] = buildUnnamed1480(); 128 o["x"] = buildUnnamed1593();
94 o["y"] = buildUnnamed1480(); 129 o["y"] = buildUnnamed1593();
95 return o; 130 return o;
96 } 131 }
97 132
98 checkUnnamed1481(core.Map<core.String, core.List<core.String>> o) { 133 checkUnnamed1594(core.Map<core.String, core.List<core.String>> o) {
99 unittest.expect(o, unittest.hasLength(2)); 134 unittest.expect(o, unittest.hasLength(2));
100 checkUnnamed1480(o["x"]); 135 checkUnnamed1593(o["x"]);
101 checkUnnamed1480(o["y"]); 136 checkUnnamed1593(o["y"]);
102 } 137 }
103 138
104 core.int buildCounterAnnotation = 0; 139 core.int buildCounterAnnotation = 0;
105 buildAnnotation() { 140 buildAnnotation() {
106 var o = new api.Annotation(); 141 var o = new api.Annotation();
107 buildCounterAnnotation++; 142 buildCounterAnnotation++;
108 if (buildCounterAnnotation < 3) { 143 if (buildCounterAnnotation < 3) {
109 o.annotationSetId = "foo"; 144 o.annotationSetId = "foo";
110 o.id = "foo"; 145 o.id = "foo";
111 o.info = buildUnnamed1481(); 146 o.info = buildUnnamed1594();
112 o.name = "foo"; 147 o.name = "foo";
113 o.position = buildRangePosition(); 148 o.position = buildRangePosition();
114 o.transcript = buildTranscript(); 149 o.transcript = buildTranscript();
115 o.type = "foo"; 150 o.type = "foo";
116 o.variant = buildVariantAnnotation(); 151 o.variant = buildVariantAnnotation();
117 } 152 }
118 buildCounterAnnotation--; 153 buildCounterAnnotation--;
119 return o; 154 return o;
120 } 155 }
121 156
122 checkAnnotation(api.Annotation o) { 157 checkAnnotation(api.Annotation o) {
123 buildCounterAnnotation++; 158 buildCounterAnnotation++;
124 if (buildCounterAnnotation < 3) { 159 if (buildCounterAnnotation < 3) {
125 unittest.expect(o.annotationSetId, unittest.equals('foo')); 160 unittest.expect(o.annotationSetId, unittest.equals('foo'));
126 unittest.expect(o.id, unittest.equals('foo')); 161 unittest.expect(o.id, unittest.equals('foo'));
127 checkUnnamed1481(o.info); 162 checkUnnamed1594(o.info);
128 unittest.expect(o.name, unittest.equals('foo')); 163 unittest.expect(o.name, unittest.equals('foo'));
129 checkRangePosition(o.position); 164 checkRangePosition(o.position);
130 checkTranscript(o.transcript); 165 checkTranscript(o.transcript);
131 unittest.expect(o.type, unittest.equals('foo')); 166 unittest.expect(o.type, unittest.equals('foo'));
132 checkVariantAnnotation(o.variant); 167 checkVariantAnnotation(o.variant);
133 } 168 }
134 buildCounterAnnotation--; 169 buildCounterAnnotation--;
135 } 170 }
136 171
137 buildUnnamed1482() { 172 buildUnnamed1595() {
138 var o = new core.List<core.String>(); 173 var o = new core.List<core.String>();
139 o.add("foo"); 174 o.add("foo");
140 o.add("foo"); 175 o.add("foo");
141 return o; 176 return o;
142 } 177 }
143 178
144 checkUnnamed1482(core.List<core.String> o) { 179 checkUnnamed1595(core.List<core.String> o) {
145 unittest.expect(o, unittest.hasLength(2)); 180 unittest.expect(o, unittest.hasLength(2));
146 unittest.expect(o[0], unittest.equals('foo')); 181 unittest.expect(o[0], unittest.equals('foo'));
147 unittest.expect(o[1], unittest.equals('foo')); 182 unittest.expect(o[1], unittest.equals('foo'));
148 } 183 }
149 184
150 buildUnnamed1483() { 185 buildUnnamed1596() {
151 var o = new core.Map<core.String, core.List<core.String>>(); 186 var o = new core.Map<core.String, core.List<core.String>>();
152 o["x"] = buildUnnamed1482(); 187 o["x"] = buildUnnamed1595();
153 o["y"] = buildUnnamed1482(); 188 o["y"] = buildUnnamed1595();
154 return o; 189 return o;
155 } 190 }
156 191
157 checkUnnamed1483(core.Map<core.String, core.List<core.String>> o) { 192 checkUnnamed1596(core.Map<core.String, core.List<core.String>> o) {
158 unittest.expect(o, unittest.hasLength(2)); 193 unittest.expect(o, unittest.hasLength(2));
159 checkUnnamed1482(o["x"]); 194 checkUnnamed1595(o["x"]);
160 checkUnnamed1482(o["y"]); 195 checkUnnamed1595(o["y"]);
161 } 196 }
162 197
163 core.int buildCounterAnnotationSet = 0; 198 core.int buildCounterAnnotationSet = 0;
164 buildAnnotationSet() { 199 buildAnnotationSet() {
165 var o = new api.AnnotationSet(); 200 var o = new api.AnnotationSet();
166 buildCounterAnnotationSet++; 201 buildCounterAnnotationSet++;
167 if (buildCounterAnnotationSet < 3) { 202 if (buildCounterAnnotationSet < 3) {
168 o.datasetId = "foo"; 203 o.datasetId = "foo";
169 o.id = "foo"; 204 o.id = "foo";
170 o.info = buildUnnamed1483(); 205 o.info = buildUnnamed1596();
171 o.name = "foo"; 206 o.name = "foo";
172 o.referenceSetId = "foo"; 207 o.referenceSetId = "foo";
173 o.sourceUri = "foo"; 208 o.sourceUri = "foo";
174 o.type = "foo"; 209 o.type = "foo";
175 } 210 }
176 buildCounterAnnotationSet--; 211 buildCounterAnnotationSet--;
177 return o; 212 return o;
178 } 213 }
179 214
180 checkAnnotationSet(api.AnnotationSet o) { 215 checkAnnotationSet(api.AnnotationSet o) {
181 buildCounterAnnotationSet++; 216 buildCounterAnnotationSet++;
182 if (buildCounterAnnotationSet < 3) { 217 if (buildCounterAnnotationSet < 3) {
183 unittest.expect(o.datasetId, unittest.equals('foo')); 218 unittest.expect(o.datasetId, unittest.equals('foo'));
184 unittest.expect(o.id, unittest.equals('foo')); 219 unittest.expect(o.id, unittest.equals('foo'));
185 checkUnnamed1483(o.info); 220 checkUnnamed1596(o.info);
186 unittest.expect(o.name, unittest.equals('foo')); 221 unittest.expect(o.name, unittest.equals('foo'));
187 unittest.expect(o.referenceSetId, unittest.equals('foo')); 222 unittest.expect(o.referenceSetId, unittest.equals('foo'));
188 unittest.expect(o.sourceUri, unittest.equals('foo')); 223 unittest.expect(o.sourceUri, unittest.equals('foo'));
189 unittest.expect(o.type, unittest.equals('foo')); 224 unittest.expect(o.type, unittest.equals('foo'));
190 } 225 }
191 buildCounterAnnotationSet--; 226 buildCounterAnnotationSet--;
192 } 227 }
193 228
194 buildUnnamed1484() { 229 buildUnnamed1597() {
195 var o = new core.List<api.BatchAnnotationsResponseEntry>(); 230 var o = new core.List<api.BatchAnnotationsResponseEntry>();
196 o.add(buildBatchAnnotationsResponseEntry()); 231 o.add(buildBatchAnnotationsResponseEntry());
197 o.add(buildBatchAnnotationsResponseEntry()); 232 o.add(buildBatchAnnotationsResponseEntry());
198 return o; 233 return o;
199 } 234 }
200 235
201 checkUnnamed1484(core.List<api.BatchAnnotationsResponseEntry> o) { 236 checkUnnamed1597(core.List<api.BatchAnnotationsResponseEntry> o) {
202 unittest.expect(o, unittest.hasLength(2)); 237 unittest.expect(o, unittest.hasLength(2));
203 checkBatchAnnotationsResponseEntry(o[0]); 238 checkBatchAnnotationsResponseEntry(o[0]);
204 checkBatchAnnotationsResponseEntry(o[1]); 239 checkBatchAnnotationsResponseEntry(o[1]);
205 } 240 }
206 241
207 core.int buildCounterBatchAnnotationsResponse = 0; 242 core.int buildCounterBatchAnnotationsResponse = 0;
208 buildBatchAnnotationsResponse() { 243 buildBatchAnnotationsResponse() {
209 var o = new api.BatchAnnotationsResponse(); 244 var o = new api.BatchAnnotationsResponse();
210 buildCounterBatchAnnotationsResponse++; 245 buildCounterBatchAnnotationsResponse++;
211 if (buildCounterBatchAnnotationsResponse < 3) { 246 if (buildCounterBatchAnnotationsResponse < 3) {
212 o.entries = buildUnnamed1484(); 247 o.entries = buildUnnamed1597();
213 } 248 }
214 buildCounterBatchAnnotationsResponse--; 249 buildCounterBatchAnnotationsResponse--;
215 return o; 250 return o;
216 } 251 }
217 252
218 checkBatchAnnotationsResponse(api.BatchAnnotationsResponse o) { 253 checkBatchAnnotationsResponse(api.BatchAnnotationsResponse o) {
219 buildCounterBatchAnnotationsResponse++; 254 buildCounterBatchAnnotationsResponse++;
220 if (buildCounterBatchAnnotationsResponse < 3) { 255 if (buildCounterBatchAnnotationsResponse < 3) {
221 checkUnnamed1484(o.entries); 256 checkUnnamed1597(o.entries);
222 } 257 }
223 buildCounterBatchAnnotationsResponse--; 258 buildCounterBatchAnnotationsResponse--;
224 } 259 }
225 260
226 core.int buildCounterBatchAnnotationsResponseEntry = 0; 261 core.int buildCounterBatchAnnotationsResponseEntry = 0;
227 buildBatchAnnotationsResponseEntry() { 262 buildBatchAnnotationsResponseEntry() {
228 var o = new api.BatchAnnotationsResponseEntry(); 263 var o = new api.BatchAnnotationsResponseEntry();
229 buildCounterBatchAnnotationsResponseEntry++; 264 buildCounterBatchAnnotationsResponseEntry++;
230 if (buildCounterBatchAnnotationsResponseEntry < 3) { 265 if (buildCounterBatchAnnotationsResponseEntry < 3) {
231 o.annotation = buildAnnotation(); 266 o.annotation = buildAnnotation();
(...skipping 26 matching lines...) Expand all
258 293
259 checkBatchAnnotationsResponseEntryStatus(api.BatchAnnotationsResponseEntryStatus o) { 294 checkBatchAnnotationsResponseEntryStatus(api.BatchAnnotationsResponseEntryStatus o) {
260 buildCounterBatchAnnotationsResponseEntryStatus++; 295 buildCounterBatchAnnotationsResponseEntryStatus++;
261 if (buildCounterBatchAnnotationsResponseEntryStatus < 3) { 296 if (buildCounterBatchAnnotationsResponseEntryStatus < 3) {
262 unittest.expect(o.code, unittest.equals(42)); 297 unittest.expect(o.code, unittest.equals(42));
263 unittest.expect(o.message, unittest.equals('foo')); 298 unittest.expect(o.message, unittest.equals('foo'));
264 } 299 }
265 buildCounterBatchAnnotationsResponseEntryStatus--; 300 buildCounterBatchAnnotationsResponseEntryStatus--;
266 } 301 }
267 302
268 buildUnnamed1485() { 303 buildUnnamed1598() {
269 var o = new core.List<api.Annotation>(); 304 var o = new core.List<api.Annotation>();
270 o.add(buildAnnotation()); 305 o.add(buildAnnotation());
271 o.add(buildAnnotation()); 306 o.add(buildAnnotation());
272 return o; 307 return o;
273 } 308 }
274 309
275 checkUnnamed1485(core.List<api.Annotation> o) { 310 checkUnnamed1598(core.List<api.Annotation> o) {
276 unittest.expect(o, unittest.hasLength(2)); 311 unittest.expect(o, unittest.hasLength(2));
277 checkAnnotation(o[0]); 312 checkAnnotation(o[0]);
278 checkAnnotation(o[1]); 313 checkAnnotation(o[1]);
279 } 314 }
280 315
281 core.int buildCounterBatchCreateAnnotationsRequest = 0; 316 core.int buildCounterBatchCreateAnnotationsRequest = 0;
282 buildBatchCreateAnnotationsRequest() { 317 buildBatchCreateAnnotationsRequest() {
283 var o = new api.BatchCreateAnnotationsRequest(); 318 var o = new api.BatchCreateAnnotationsRequest();
284 buildCounterBatchCreateAnnotationsRequest++; 319 buildCounterBatchCreateAnnotationsRequest++;
285 if (buildCounterBatchCreateAnnotationsRequest < 3) { 320 if (buildCounterBatchCreateAnnotationsRequest < 3) {
286 o.annotations = buildUnnamed1485(); 321 o.annotations = buildUnnamed1598();
287 } 322 }
288 buildCounterBatchCreateAnnotationsRequest--; 323 buildCounterBatchCreateAnnotationsRequest--;
289 return o; 324 return o;
290 } 325 }
291 326
292 checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) { 327 checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) {
293 buildCounterBatchCreateAnnotationsRequest++; 328 buildCounterBatchCreateAnnotationsRequest++;
294 if (buildCounterBatchCreateAnnotationsRequest < 3) { 329 if (buildCounterBatchCreateAnnotationsRequest < 3) {
295 checkUnnamed1485(o.annotations); 330 checkUnnamed1598(o.annotations);
296 } 331 }
297 buildCounterBatchCreateAnnotationsRequest--; 332 buildCounterBatchCreateAnnotationsRequest--;
298 } 333 }
299 334
300 buildUnnamed1486() { 335 buildUnnamed1599() {
301 var o = new core.List<core.int>(); 336 var o = new core.List<core.int>();
302 o.add(42); 337 o.add(42);
303 o.add(42); 338 o.add(42);
304 return o; 339 return o;
305 } 340 }
306 341
307 checkUnnamed1486(core.List<core.int> o) { 342 checkUnnamed1599(core.List<core.int> o) {
308 unittest.expect(o, unittest.hasLength(2)); 343 unittest.expect(o, unittest.hasLength(2));
309 unittest.expect(o[0], unittest.equals(42)); 344 unittest.expect(o[0], unittest.equals(42));
310 unittest.expect(o[1], unittest.equals(42)); 345 unittest.expect(o[1], unittest.equals(42));
311 } 346 }
312 347
313 buildUnnamed1487() { 348 buildUnnamed1600() {
314 var o = new core.List<core.double>(); 349 var o = new core.List<core.double>();
315 o.add(42.0); 350 o.add(42.0);
316 o.add(42.0); 351 o.add(42.0);
317 return o; 352 return o;
318 } 353 }
319 354
320 checkUnnamed1487(core.List<core.double> o) { 355 checkUnnamed1600(core.List<core.double> o) {
321 unittest.expect(o, unittest.hasLength(2)); 356 unittest.expect(o, unittest.hasLength(2));
322 unittest.expect(o[0], unittest.equals(42.0)); 357 unittest.expect(o[0], unittest.equals(42.0));
323 unittest.expect(o[1], unittest.equals(42.0)); 358 unittest.expect(o[1], unittest.equals(42.0));
324 } 359 }
325 360
326 buildUnnamed1488() { 361 buildUnnamed1601() {
327 var o = new core.List<core.String>(); 362 var o = new core.List<core.String>();
328 o.add("foo"); 363 o.add("foo");
329 o.add("foo"); 364 o.add("foo");
330 return o; 365 return o;
331 } 366 }
332 367
333 checkUnnamed1488(core.List<core.String> o) { 368 checkUnnamed1601(core.List<core.String> o) {
334 unittest.expect(o, unittest.hasLength(2)); 369 unittest.expect(o, unittest.hasLength(2));
335 unittest.expect(o[0], unittest.equals('foo')); 370 unittest.expect(o[0], unittest.equals('foo'));
336 unittest.expect(o[1], unittest.equals('foo')); 371 unittest.expect(o[1], unittest.equals('foo'));
337 } 372 }
338 373
339 buildUnnamed1489() { 374 buildUnnamed1602() {
340 var o = new core.Map<core.String, core.List<core.String>>(); 375 var o = new core.Map<core.String, core.List<core.String>>();
341 o["x"] = buildUnnamed1488(); 376 o["x"] = buildUnnamed1601();
342 o["y"] = buildUnnamed1488(); 377 o["y"] = buildUnnamed1601();
343 return o; 378 return o;
344 } 379 }
345 380
346 checkUnnamed1489(core.Map<core.String, core.List<core.String>> o) { 381 checkUnnamed1602(core.Map<core.String, core.List<core.String>> o) {
347 unittest.expect(o, unittest.hasLength(2)); 382 unittest.expect(o, unittest.hasLength(2));
348 checkUnnamed1488(o["x"]); 383 checkUnnamed1601(o["x"]);
349 checkUnnamed1488(o["y"]); 384 checkUnnamed1601(o["y"]);
350 } 385 }
351 386
352 core.int buildCounterCall = 0; 387 core.int buildCounterCall = 0;
353 buildCall() { 388 buildCall() {
354 var o = new api.Call(); 389 var o = new api.Call();
355 buildCounterCall++; 390 buildCounterCall++;
356 if (buildCounterCall < 3) { 391 if (buildCounterCall < 3) {
357 o.callSetId = "foo"; 392 o.callSetId = "foo";
358 o.callSetName = "foo"; 393 o.callSetName = "foo";
359 o.genotype = buildUnnamed1486(); 394 o.genotype = buildUnnamed1599();
360 o.genotypeLikelihood = buildUnnamed1487(); 395 o.genotypeLikelihood = buildUnnamed1600();
361 o.info = buildUnnamed1489(); 396 o.info = buildUnnamed1602();
362 o.phaseset = "foo"; 397 o.phaseset = "foo";
363 } 398 }
364 buildCounterCall--; 399 buildCounterCall--;
365 return o; 400 return o;
366 } 401 }
367 402
368 checkCall(api.Call o) { 403 checkCall(api.Call o) {
369 buildCounterCall++; 404 buildCounterCall++;
370 if (buildCounterCall < 3) { 405 if (buildCounterCall < 3) {
371 unittest.expect(o.callSetId, unittest.equals('foo')); 406 unittest.expect(o.callSetId, unittest.equals('foo'));
372 unittest.expect(o.callSetName, unittest.equals('foo')); 407 unittest.expect(o.callSetName, unittest.equals('foo'));
373 checkUnnamed1486(o.genotype); 408 checkUnnamed1599(o.genotype);
374 checkUnnamed1487(o.genotypeLikelihood); 409 checkUnnamed1600(o.genotypeLikelihood);
375 checkUnnamed1489(o.info); 410 checkUnnamed1602(o.info);
376 unittest.expect(o.phaseset, unittest.equals('foo')); 411 unittest.expect(o.phaseset, unittest.equals('foo'));
377 } 412 }
378 buildCounterCall--; 413 buildCounterCall--;
379 } 414 }
380 415
381 buildUnnamed1490() { 416 buildUnnamed1603() {
382 var o = new core.List<core.String>(); 417 var o = new core.List<core.String>();
383 o.add("foo"); 418 o.add("foo");
384 o.add("foo"); 419 o.add("foo");
385 return o; 420 return o;
386 } 421 }
387 422
388 checkUnnamed1490(core.List<core.String> o) { 423 checkUnnamed1603(core.List<core.String> o) {
389 unittest.expect(o, unittest.hasLength(2)); 424 unittest.expect(o, unittest.hasLength(2));
390 unittest.expect(o[0], unittest.equals('foo')); 425 unittest.expect(o[0], unittest.equals('foo'));
391 unittest.expect(o[1], unittest.equals('foo')); 426 unittest.expect(o[1], unittest.equals('foo'));
392 } 427 }
393 428
394 core.int buildCounterCallReadGroupSetsRequest = 0; 429 core.int buildCounterCallReadGroupSetsRequest = 0;
395 buildCallReadGroupSetsRequest() { 430 buildCallReadGroupSetsRequest() {
396 var o = new api.CallReadGroupSetsRequest(); 431 var o = new api.CallReadGroupSetsRequest();
397 buildCounterCallReadGroupSetsRequest++; 432 buildCounterCallReadGroupSetsRequest++;
398 if (buildCounterCallReadGroupSetsRequest < 3) { 433 if (buildCounterCallReadGroupSetsRequest < 3) {
399 o.datasetId = "foo"; 434 o.datasetId = "foo";
400 o.readGroupSetId = "foo"; 435 o.readGroupSetId = "foo";
401 o.sourceUris = buildUnnamed1490(); 436 o.sourceUris = buildUnnamed1603();
402 } 437 }
403 buildCounterCallReadGroupSetsRequest--; 438 buildCounterCallReadGroupSetsRequest--;
404 return o; 439 return o;
405 } 440 }
406 441
407 checkCallReadGroupSetsRequest(api.CallReadGroupSetsRequest o) { 442 checkCallReadGroupSetsRequest(api.CallReadGroupSetsRequest o) {
408 buildCounterCallReadGroupSetsRequest++; 443 buildCounterCallReadGroupSetsRequest++;
409 if (buildCounterCallReadGroupSetsRequest < 3) { 444 if (buildCounterCallReadGroupSetsRequest < 3) {
410 unittest.expect(o.datasetId, unittest.equals('foo')); 445 unittest.expect(o.datasetId, unittest.equals('foo'));
411 unittest.expect(o.readGroupSetId, unittest.equals('foo')); 446 unittest.expect(o.readGroupSetId, unittest.equals('foo'));
412 checkUnnamed1490(o.sourceUris); 447 checkUnnamed1603(o.sourceUris);
413 } 448 }
414 buildCounterCallReadGroupSetsRequest--; 449 buildCounterCallReadGroupSetsRequest--;
415 } 450 }
416 451
417 core.int buildCounterCallReadGroupSetsResponse = 0; 452 core.int buildCounterCallReadGroupSetsResponse = 0;
418 buildCallReadGroupSetsResponse() { 453 buildCallReadGroupSetsResponse() {
419 var o = new api.CallReadGroupSetsResponse(); 454 var o = new api.CallReadGroupSetsResponse();
420 buildCounterCallReadGroupSetsResponse++; 455 buildCounterCallReadGroupSetsResponse++;
421 if (buildCounterCallReadGroupSetsResponse < 3) { 456 if (buildCounterCallReadGroupSetsResponse < 3) {
422 o.jobId = "foo"; 457 o.jobId = "foo";
423 } 458 }
424 buildCounterCallReadGroupSetsResponse--; 459 buildCounterCallReadGroupSetsResponse--;
425 return o; 460 return o;
426 } 461 }
427 462
428 checkCallReadGroupSetsResponse(api.CallReadGroupSetsResponse o) { 463 checkCallReadGroupSetsResponse(api.CallReadGroupSetsResponse o) {
429 buildCounterCallReadGroupSetsResponse++; 464 buildCounterCallReadGroupSetsResponse++;
430 if (buildCounterCallReadGroupSetsResponse < 3) { 465 if (buildCounterCallReadGroupSetsResponse < 3) {
431 unittest.expect(o.jobId, unittest.equals('foo')); 466 unittest.expect(o.jobId, unittest.equals('foo'));
432 } 467 }
433 buildCounterCallReadGroupSetsResponse--; 468 buildCounterCallReadGroupSetsResponse--;
434 } 469 }
435 470
436 buildUnnamed1491() { 471 buildUnnamed1604() {
437 var o = new core.List<core.String>(); 472 var o = new core.List<core.String>();
438 o.add("foo"); 473 o.add("foo");
439 o.add("foo"); 474 o.add("foo");
440 return o; 475 return o;
441 } 476 }
442 477
443 checkUnnamed1491(core.List<core.String> o) { 478 checkUnnamed1604(core.List<core.String> o) {
444 unittest.expect(o, unittest.hasLength(2)); 479 unittest.expect(o, unittest.hasLength(2));
445 unittest.expect(o[0], unittest.equals('foo')); 480 unittest.expect(o[0], unittest.equals('foo'));
446 unittest.expect(o[1], unittest.equals('foo')); 481 unittest.expect(o[1], unittest.equals('foo'));
447 } 482 }
448 483
449 buildUnnamed1492() { 484 buildUnnamed1605() {
450 var o = new core.Map<core.String, core.List<core.String>>(); 485 var o = new core.Map<core.String, core.List<core.String>>();
451 o["x"] = buildUnnamed1491(); 486 o["x"] = buildUnnamed1604();
452 o["y"] = buildUnnamed1491(); 487 o["y"] = buildUnnamed1604();
453 return o; 488 return o;
454 } 489 }
455 490
456 checkUnnamed1492(core.Map<core.String, core.List<core.String>> o) { 491 checkUnnamed1605(core.Map<core.String, core.List<core.String>> o) {
457 unittest.expect(o, unittest.hasLength(2)); 492 unittest.expect(o, unittest.hasLength(2));
458 checkUnnamed1491(o["x"]); 493 checkUnnamed1604(o["x"]);
459 checkUnnamed1491(o["y"]); 494 checkUnnamed1604(o["y"]);
460 } 495 }
461 496
462 buildUnnamed1493() { 497 buildUnnamed1606() {
463 var o = new core.List<core.String>(); 498 var o = new core.List<core.String>();
464 o.add("foo"); 499 o.add("foo");
465 o.add("foo"); 500 o.add("foo");
466 return o; 501 return o;
467 } 502 }
468 503
469 checkUnnamed1493(core.List<core.String> o) { 504 checkUnnamed1606(core.List<core.String> o) {
470 unittest.expect(o, unittest.hasLength(2)); 505 unittest.expect(o, unittest.hasLength(2));
471 unittest.expect(o[0], unittest.equals('foo')); 506 unittest.expect(o[0], unittest.equals('foo'));
472 unittest.expect(o[1], unittest.equals('foo')); 507 unittest.expect(o[1], unittest.equals('foo'));
473 } 508 }
474 509
475 core.int buildCounterCallSet = 0; 510 core.int buildCounterCallSet = 0;
476 buildCallSet() { 511 buildCallSet() {
477 var o = new api.CallSet(); 512 var o = new api.CallSet();
478 buildCounterCallSet++; 513 buildCounterCallSet++;
479 if (buildCounterCallSet < 3) { 514 if (buildCounterCallSet < 3) {
480 o.created = "foo"; 515 o.created = "foo";
481 o.id = "foo"; 516 o.id = "foo";
482 o.info = buildUnnamed1492(); 517 o.info = buildUnnamed1605();
483 o.name = "foo"; 518 o.name = "foo";
484 o.sampleId = "foo"; 519 o.sampleId = "foo";
485 o.variantSetIds = buildUnnamed1493(); 520 o.variantSetIds = buildUnnamed1606();
486 } 521 }
487 buildCounterCallSet--; 522 buildCounterCallSet--;
488 return o; 523 return o;
489 } 524 }
490 525
491 checkCallSet(api.CallSet o) { 526 checkCallSet(api.CallSet o) {
492 buildCounterCallSet++; 527 buildCounterCallSet++;
493 if (buildCounterCallSet < 3) { 528 if (buildCounterCallSet < 3) {
494 unittest.expect(o.created, unittest.equals('foo')); 529 unittest.expect(o.created, unittest.equals('foo'));
495 unittest.expect(o.id, unittest.equals('foo')); 530 unittest.expect(o.id, unittest.equals('foo'));
496 checkUnnamed1492(o.info); 531 checkUnnamed1605(o.info);
497 unittest.expect(o.name, unittest.equals('foo')); 532 unittest.expect(o.name, unittest.equals('foo'));
498 unittest.expect(o.sampleId, unittest.equals('foo')); 533 unittest.expect(o.sampleId, unittest.equals('foo'));
499 checkUnnamed1493(o.variantSetIds); 534 checkUnnamed1606(o.variantSetIds);
500 } 535 }
501 buildCounterCallSet--; 536 buildCounterCallSet--;
502 } 537 }
503 538
504 core.int buildCounterCigarUnit = 0; 539 core.int buildCounterCigarUnit = 0;
505 buildCigarUnit() { 540 buildCigarUnit() {
506 var o = new api.CigarUnit(); 541 var o = new api.CigarUnit();
507 buildCounterCigarUnit++; 542 buildCounterCigarUnit++;
508 if (buildCounterCigarUnit < 3) { 543 if (buildCounterCigarUnit < 3) {
509 o.operation = "foo"; 544 o.operation = "foo";
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 buildCounterDataset++; 598 buildCounterDataset++;
564 if (buildCounterDataset < 3) { 599 if (buildCounterDataset < 3) {
565 unittest.expect(o.id, unittest.equals('foo')); 600 unittest.expect(o.id, unittest.equals('foo'));
566 unittest.expect(o.isPublic, unittest.isTrue); 601 unittest.expect(o.isPublic, unittest.isTrue);
567 unittest.expect(o.name, unittest.equals('foo')); 602 unittest.expect(o.name, unittest.equals('foo'));
568 unittest.expect(o.projectNumber, unittest.equals('foo')); 603 unittest.expect(o.projectNumber, unittest.equals('foo'));
569 } 604 }
570 buildCounterDataset--; 605 buildCounterDataset--;
571 } 606 }
572 607
573 buildUnnamed1494() { 608 buildUnnamed1607() {
574 var o = new core.List<core.String>(); 609 var o = new core.List<core.String>();
575 o.add("foo"); 610 o.add("foo");
576 o.add("foo"); 611 o.add("foo");
577 return o; 612 return o;
578 } 613 }
579 614
580 checkUnnamed1494(core.List<core.String> o) { 615 checkUnnamed1607(core.List<core.String> o) {
581 unittest.expect(o, unittest.hasLength(2)); 616 unittest.expect(o, unittest.hasLength(2));
582 unittest.expect(o[0], unittest.equals('foo')); 617 unittest.expect(o[0], unittest.equals('foo'));
583 unittest.expect(o[1], unittest.equals('foo')); 618 unittest.expect(o[1], unittest.equals('foo'));
584 } 619 }
585 620
586 buildUnnamed1495() { 621 buildUnnamed1608() {
587 var o = new core.List<core.String>(); 622 var o = new core.List<core.String>();
588 o.add("foo"); 623 o.add("foo");
589 o.add("foo"); 624 o.add("foo");
590 return o; 625 return o;
591 } 626 }
592 627
593 checkUnnamed1495(core.List<core.String> o) { 628 checkUnnamed1608(core.List<core.String> o) {
594 unittest.expect(o, unittest.hasLength(2)); 629 unittest.expect(o, unittest.hasLength(2));
595 unittest.expect(o[0], unittest.equals('foo')); 630 unittest.expect(o[0], unittest.equals('foo'));
596 unittest.expect(o[1], unittest.equals('foo')); 631 unittest.expect(o[1], unittest.equals('foo'));
597 } 632 }
598 633
599 core.int buildCounterExperimentalCreateJobRequest = 0; 634 core.int buildCounterExperimentalCreateJobRequest = 0;
600 buildExperimentalCreateJobRequest() { 635 buildExperimentalCreateJobRequest() {
601 var o = new api.ExperimentalCreateJobRequest(); 636 var o = new api.ExperimentalCreateJobRequest();
602 buildCounterExperimentalCreateJobRequest++; 637 buildCounterExperimentalCreateJobRequest++;
603 if (buildCounterExperimentalCreateJobRequest < 3) { 638 if (buildCounterExperimentalCreateJobRequest < 3) {
604 o.align = true; 639 o.align = true;
605 o.callVariants = true; 640 o.callVariants = true;
606 o.gcsOutputPath = "foo"; 641 o.gcsOutputPath = "foo";
607 o.pairedSourceUris = buildUnnamed1494(); 642 o.pairedSourceUris = buildUnnamed1607();
608 o.projectNumber = "foo"; 643 o.projectNumber = "foo";
609 o.sourceUris = buildUnnamed1495(); 644 o.sourceUris = buildUnnamed1608();
610 } 645 }
611 buildCounterExperimentalCreateJobRequest--; 646 buildCounterExperimentalCreateJobRequest--;
612 return o; 647 return o;
613 } 648 }
614 649
615 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) { 650 checkExperimentalCreateJobRequest(api.ExperimentalCreateJobRequest o) {
616 buildCounterExperimentalCreateJobRequest++; 651 buildCounterExperimentalCreateJobRequest++;
617 if (buildCounterExperimentalCreateJobRequest < 3) { 652 if (buildCounterExperimentalCreateJobRequest < 3) {
618 unittest.expect(o.align, unittest.isTrue); 653 unittest.expect(o.align, unittest.isTrue);
619 unittest.expect(o.callVariants, unittest.isTrue); 654 unittest.expect(o.callVariants, unittest.isTrue);
620 unittest.expect(o.gcsOutputPath, unittest.equals('foo')); 655 unittest.expect(o.gcsOutputPath, unittest.equals('foo'));
621 checkUnnamed1494(o.pairedSourceUris); 656 checkUnnamed1607(o.pairedSourceUris);
622 unittest.expect(o.projectNumber, unittest.equals('foo')); 657 unittest.expect(o.projectNumber, unittest.equals('foo'));
623 checkUnnamed1495(o.sourceUris); 658 checkUnnamed1608(o.sourceUris);
624 } 659 }
625 buildCounterExperimentalCreateJobRequest--; 660 buildCounterExperimentalCreateJobRequest--;
626 } 661 }
627 662
628 core.int buildCounterExperimentalCreateJobResponse = 0; 663 core.int buildCounterExperimentalCreateJobResponse = 0;
629 buildExperimentalCreateJobResponse() { 664 buildExperimentalCreateJobResponse() {
630 var o = new api.ExperimentalCreateJobResponse(); 665 var o = new api.ExperimentalCreateJobResponse();
631 buildCounterExperimentalCreateJobResponse++; 666 buildCounterExperimentalCreateJobResponse++;
632 if (buildCounterExperimentalCreateJobResponse < 3) { 667 if (buildCounterExperimentalCreateJobResponse < 3) {
633 o.jobId = "foo"; 668 o.jobId = "foo";
634 } 669 }
635 buildCounterExperimentalCreateJobResponse--; 670 buildCounterExperimentalCreateJobResponse--;
636 return o; 671 return o;
637 } 672 }
638 673
639 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) { 674 checkExperimentalCreateJobResponse(api.ExperimentalCreateJobResponse o) {
640 buildCounterExperimentalCreateJobResponse++; 675 buildCounterExperimentalCreateJobResponse++;
641 if (buildCounterExperimentalCreateJobResponse < 3) { 676 if (buildCounterExperimentalCreateJobResponse < 3) {
642 unittest.expect(o.jobId, unittest.equals('foo')); 677 unittest.expect(o.jobId, unittest.equals('foo'));
643 } 678 }
644 buildCounterExperimentalCreateJobResponse--; 679 buildCounterExperimentalCreateJobResponse--;
645 } 680 }
646 681
647 buildUnnamed1496() { 682 buildUnnamed1609() {
648 var o = new core.List<core.String>(); 683 var o = new core.List<core.String>();
649 o.add("foo"); 684 o.add("foo");
650 o.add("foo"); 685 o.add("foo");
651 return o; 686 return o;
652 } 687 }
653 688
654 checkUnnamed1496(core.List<core.String> o) { 689 checkUnnamed1609(core.List<core.String> o) {
655 unittest.expect(o, unittest.hasLength(2)); 690 unittest.expect(o, unittest.hasLength(2));
656 unittest.expect(o[0], unittest.equals('foo')); 691 unittest.expect(o[0], unittest.equals('foo'));
657 unittest.expect(o[1], unittest.equals('foo')); 692 unittest.expect(o[1], unittest.equals('foo'));
658 } 693 }
659 694
660 buildUnnamed1497() { 695 buildUnnamed1610() {
661 var o = new core.List<core.String>(); 696 var o = new core.List<core.String>();
662 o.add("foo"); 697 o.add("foo");
663 o.add("foo"); 698 o.add("foo");
664 return o; 699 return o;
665 } 700 }
666 701
667 checkUnnamed1497(core.List<core.String> o) { 702 checkUnnamed1610(core.List<core.String> o) {
668 unittest.expect(o, unittest.hasLength(2)); 703 unittest.expect(o, unittest.hasLength(2));
669 unittest.expect(o[0], unittest.equals('foo')); 704 unittest.expect(o[0], unittest.equals('foo'));
670 unittest.expect(o[1], unittest.equals('foo')); 705 unittest.expect(o[1], unittest.equals('foo'));
671 } 706 }
672 707
673 core.int buildCounterExportReadGroupSetsRequest = 0; 708 core.int buildCounterExportReadGroupSetsRequest = 0;
674 buildExportReadGroupSetsRequest() { 709 buildExportReadGroupSetsRequest() {
675 var o = new api.ExportReadGroupSetsRequest(); 710 var o = new api.ExportReadGroupSetsRequest();
676 buildCounterExportReadGroupSetsRequest++; 711 buildCounterExportReadGroupSetsRequest++;
677 if (buildCounterExportReadGroupSetsRequest < 3) { 712 if (buildCounterExportReadGroupSetsRequest < 3) {
678 o.exportUri = "foo"; 713 o.exportUri = "foo";
679 o.projectNumber = "foo"; 714 o.projectNumber = "foo";
680 o.readGroupSetIds = buildUnnamed1496(); 715 o.readGroupSetIds = buildUnnamed1609();
681 o.referenceNames = buildUnnamed1497(); 716 o.referenceNames = buildUnnamed1610();
682 } 717 }
683 buildCounterExportReadGroupSetsRequest--; 718 buildCounterExportReadGroupSetsRequest--;
684 return o; 719 return o;
685 } 720 }
686 721
687 checkExportReadGroupSetsRequest(api.ExportReadGroupSetsRequest o) { 722 checkExportReadGroupSetsRequest(api.ExportReadGroupSetsRequest o) {
688 buildCounterExportReadGroupSetsRequest++; 723 buildCounterExportReadGroupSetsRequest++;
689 if (buildCounterExportReadGroupSetsRequest < 3) { 724 if (buildCounterExportReadGroupSetsRequest < 3) {
690 unittest.expect(o.exportUri, unittest.equals('foo')); 725 unittest.expect(o.exportUri, unittest.equals('foo'));
691 unittest.expect(o.projectNumber, unittest.equals('foo')); 726 unittest.expect(o.projectNumber, unittest.equals('foo'));
692 checkUnnamed1496(o.readGroupSetIds); 727 checkUnnamed1609(o.readGroupSetIds);
693 checkUnnamed1497(o.referenceNames); 728 checkUnnamed1610(o.referenceNames);
694 } 729 }
695 buildCounterExportReadGroupSetsRequest--; 730 buildCounterExportReadGroupSetsRequest--;
696 } 731 }
697 732
698 core.int buildCounterExportReadGroupSetsResponse = 0; 733 core.int buildCounterExportReadGroupSetsResponse = 0;
699 buildExportReadGroupSetsResponse() { 734 buildExportReadGroupSetsResponse() {
700 var o = new api.ExportReadGroupSetsResponse(); 735 var o = new api.ExportReadGroupSetsResponse();
701 buildCounterExportReadGroupSetsResponse++; 736 buildCounterExportReadGroupSetsResponse++;
702 if (buildCounterExportReadGroupSetsResponse < 3) { 737 if (buildCounterExportReadGroupSetsResponse < 3) {
703 o.jobId = "foo"; 738 o.jobId = "foo";
704 } 739 }
705 buildCounterExportReadGroupSetsResponse--; 740 buildCounterExportReadGroupSetsResponse--;
706 return o; 741 return o;
707 } 742 }
708 743
709 checkExportReadGroupSetsResponse(api.ExportReadGroupSetsResponse o) { 744 checkExportReadGroupSetsResponse(api.ExportReadGroupSetsResponse o) {
710 buildCounterExportReadGroupSetsResponse++; 745 buildCounterExportReadGroupSetsResponse++;
711 if (buildCounterExportReadGroupSetsResponse < 3) { 746 if (buildCounterExportReadGroupSetsResponse < 3) {
712 unittest.expect(o.jobId, unittest.equals('foo')); 747 unittest.expect(o.jobId, unittest.equals('foo'));
713 } 748 }
714 buildCounterExportReadGroupSetsResponse--; 749 buildCounterExportReadGroupSetsResponse--;
715 } 750 }
716 751
717 buildUnnamed1498() { 752 buildUnnamed1611() {
718 var o = new core.List<core.String>(); 753 var o = new core.List<core.String>();
719 o.add("foo"); 754 o.add("foo");
720 o.add("foo"); 755 o.add("foo");
721 return o; 756 return o;
722 } 757 }
723 758
724 checkUnnamed1498(core.List<core.String> o) { 759 checkUnnamed1611(core.List<core.String> o) {
725 unittest.expect(o, unittest.hasLength(2)); 760 unittest.expect(o, unittest.hasLength(2));
726 unittest.expect(o[0], unittest.equals('foo')); 761 unittest.expect(o[0], unittest.equals('foo'));
727 unittest.expect(o[1], unittest.equals('foo')); 762 unittest.expect(o[1], unittest.equals('foo'));
728 } 763 }
729 764
730 core.int buildCounterExportVariantSetRequest = 0; 765 core.int buildCounterExportVariantSetRequest = 0;
731 buildExportVariantSetRequest() { 766 buildExportVariantSetRequest() {
732 var o = new api.ExportVariantSetRequest(); 767 var o = new api.ExportVariantSetRequest();
733 buildCounterExportVariantSetRequest++; 768 buildCounterExportVariantSetRequest++;
734 if (buildCounterExportVariantSetRequest < 3) { 769 if (buildCounterExportVariantSetRequest < 3) {
735 o.bigqueryDataset = "foo"; 770 o.bigqueryDataset = "foo";
736 o.bigqueryTable = "foo"; 771 o.bigqueryTable = "foo";
737 o.callSetIds = buildUnnamed1498(); 772 o.callSetIds = buildUnnamed1611();
738 o.format = "foo"; 773 o.format = "foo";
739 o.projectNumber = "foo"; 774 o.projectNumber = "foo";
740 } 775 }
741 buildCounterExportVariantSetRequest--; 776 buildCounterExportVariantSetRequest--;
742 return o; 777 return o;
743 } 778 }
744 779
745 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { 780 checkExportVariantSetRequest(api.ExportVariantSetRequest o) {
746 buildCounterExportVariantSetRequest++; 781 buildCounterExportVariantSetRequest++;
747 if (buildCounterExportVariantSetRequest < 3) { 782 if (buildCounterExportVariantSetRequest < 3) {
748 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); 783 unittest.expect(o.bigqueryDataset, unittest.equals('foo'));
749 unittest.expect(o.bigqueryTable, unittest.equals('foo')); 784 unittest.expect(o.bigqueryTable, unittest.equals('foo'));
750 checkUnnamed1498(o.callSetIds); 785 checkUnnamed1611(o.callSetIds);
751 unittest.expect(o.format, unittest.equals('foo')); 786 unittest.expect(o.format, unittest.equals('foo'));
752 unittest.expect(o.projectNumber, unittest.equals('foo')); 787 unittest.expect(o.projectNumber, unittest.equals('foo'));
753 } 788 }
754 buildCounterExportVariantSetRequest--; 789 buildCounterExportVariantSetRequest--;
755 } 790 }
756 791
757 core.int buildCounterExportVariantSetResponse = 0; 792 core.int buildCounterExportVariantSetResponse = 0;
758 buildExportVariantSetResponse() { 793 buildExportVariantSetResponse() {
759 var o = new api.ExportVariantSetResponse(); 794 var o = new api.ExportVariantSetResponse();
760 buildCounterExportVariantSetResponse++; 795 buildCounterExportVariantSetResponse++;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 if (buildCounterFastqMetadata < 3) { 849 if (buildCounterFastqMetadata < 3) {
815 unittest.expect(o.libraryName, unittest.equals('foo')); 850 unittest.expect(o.libraryName, unittest.equals('foo'));
816 unittest.expect(o.platformName, unittest.equals('foo')); 851 unittest.expect(o.platformName, unittest.equals('foo'));
817 unittest.expect(o.platformUnit, unittest.equals('foo')); 852 unittest.expect(o.platformUnit, unittest.equals('foo'));
818 unittest.expect(o.readGroupName, unittest.equals('foo')); 853 unittest.expect(o.readGroupName, unittest.equals('foo'));
819 unittest.expect(o.sampleName, unittest.equals('foo')); 854 unittest.expect(o.sampleName, unittest.equals('foo'));
820 } 855 }
821 buildCounterFastqMetadata--; 856 buildCounterFastqMetadata--;
822 } 857 }
823 858
824 buildUnnamed1499() { 859 buildUnnamed1612() {
825 var o = new core.List<core.String>(); 860 var o = new core.List<core.String>();
826 o.add("foo"); 861 o.add("foo");
827 o.add("foo"); 862 o.add("foo");
828 return o; 863 return o;
829 } 864 }
830 865
831 checkUnnamed1499(core.List<core.String> o) { 866 checkUnnamed1612(core.List<core.String> o) {
832 unittest.expect(o, unittest.hasLength(2)); 867 unittest.expect(o, unittest.hasLength(2));
833 unittest.expect(o[0], unittest.equals('foo')); 868 unittest.expect(o[0], unittest.equals('foo'));
834 unittest.expect(o[1], unittest.equals('foo')); 869 unittest.expect(o[1], unittest.equals('foo'));
835 } 870 }
836 871
837 core.int buildCounterImportReadGroupSetsRequest = 0; 872 core.int buildCounterImportReadGroupSetsRequest = 0;
838 buildImportReadGroupSetsRequest() { 873 buildImportReadGroupSetsRequest() {
839 var o = new api.ImportReadGroupSetsRequest(); 874 var o = new api.ImportReadGroupSetsRequest();
840 buildCounterImportReadGroupSetsRequest++; 875 buildCounterImportReadGroupSetsRequest++;
841 if (buildCounterImportReadGroupSetsRequest < 3) { 876 if (buildCounterImportReadGroupSetsRequest < 3) {
842 o.datasetId = "foo"; 877 o.datasetId = "foo";
843 o.partitionStrategy = "foo"; 878 o.partitionStrategy = "foo";
844 o.referenceSetId = "foo"; 879 o.referenceSetId = "foo";
845 o.sourceUris = buildUnnamed1499(); 880 o.sourceUris = buildUnnamed1612();
846 } 881 }
847 buildCounterImportReadGroupSetsRequest--; 882 buildCounterImportReadGroupSetsRequest--;
848 return o; 883 return o;
849 } 884 }
850 885
851 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { 886 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) {
852 buildCounterImportReadGroupSetsRequest++; 887 buildCounterImportReadGroupSetsRequest++;
853 if (buildCounterImportReadGroupSetsRequest < 3) { 888 if (buildCounterImportReadGroupSetsRequest < 3) {
854 unittest.expect(o.datasetId, unittest.equals('foo')); 889 unittest.expect(o.datasetId, unittest.equals('foo'));
855 unittest.expect(o.partitionStrategy, unittest.equals('foo')); 890 unittest.expect(o.partitionStrategy, unittest.equals('foo'));
856 unittest.expect(o.referenceSetId, unittest.equals('foo')); 891 unittest.expect(o.referenceSetId, unittest.equals('foo'));
857 checkUnnamed1499(o.sourceUris); 892 checkUnnamed1612(o.sourceUris);
858 } 893 }
859 buildCounterImportReadGroupSetsRequest--; 894 buildCounterImportReadGroupSetsRequest--;
860 } 895 }
861 896
862 core.int buildCounterImportReadGroupSetsResponse = 0; 897 core.int buildCounterImportReadGroupSetsResponse = 0;
863 buildImportReadGroupSetsResponse() { 898 buildImportReadGroupSetsResponse() {
864 var o = new api.ImportReadGroupSetsResponse(); 899 var o = new api.ImportReadGroupSetsResponse();
865 buildCounterImportReadGroupSetsResponse++; 900 buildCounterImportReadGroupSetsResponse++;
866 if (buildCounterImportReadGroupSetsResponse < 3) { 901 if (buildCounterImportReadGroupSetsResponse < 3) {
867 o.jobId = "foo"; 902 o.jobId = "foo";
868 } 903 }
869 buildCounterImportReadGroupSetsResponse--; 904 buildCounterImportReadGroupSetsResponse--;
870 return o; 905 return o;
871 } 906 }
872 907
873 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { 908 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) {
874 buildCounterImportReadGroupSetsResponse++; 909 buildCounterImportReadGroupSetsResponse++;
875 if (buildCounterImportReadGroupSetsResponse < 3) { 910 if (buildCounterImportReadGroupSetsResponse < 3) {
876 unittest.expect(o.jobId, unittest.equals('foo')); 911 unittest.expect(o.jobId, unittest.equals('foo'));
877 } 912 }
878 buildCounterImportReadGroupSetsResponse--; 913 buildCounterImportReadGroupSetsResponse--;
879 } 914 }
880 915
881 buildUnnamed1500() { 916 buildUnnamed1613() {
882 var o = new core.List<core.String>(); 917 var o = new core.List<core.String>();
883 o.add("foo"); 918 o.add("foo");
884 o.add("foo"); 919 o.add("foo");
885 return o; 920 return o;
886 } 921 }
887 922
888 checkUnnamed1500(core.List<core.String> o) { 923 checkUnnamed1613(core.List<core.String> o) {
889 unittest.expect(o, unittest.hasLength(2)); 924 unittest.expect(o, unittest.hasLength(2));
890 unittest.expect(o[0], unittest.equals('foo')); 925 unittest.expect(o[0], unittest.equals('foo'));
891 unittest.expect(o[1], unittest.equals('foo')); 926 unittest.expect(o[1], unittest.equals('foo'));
892 } 927 }
893 928
894 core.int buildCounterImportVariantsRequest = 0; 929 core.int buildCounterImportVariantsRequest = 0;
895 buildImportVariantsRequest() { 930 buildImportVariantsRequest() {
896 var o = new api.ImportVariantsRequest(); 931 var o = new api.ImportVariantsRequest();
897 buildCounterImportVariantsRequest++; 932 buildCounterImportVariantsRequest++;
898 if (buildCounterImportVariantsRequest < 3) { 933 if (buildCounterImportVariantsRequest < 3) {
899 o.format = "foo"; 934 o.format = "foo";
900 o.sourceUris = buildUnnamed1500(); 935 o.sourceUris = buildUnnamed1613();
901 } 936 }
902 buildCounterImportVariantsRequest--; 937 buildCounterImportVariantsRequest--;
903 return o; 938 return o;
904 } 939 }
905 940
906 checkImportVariantsRequest(api.ImportVariantsRequest o) { 941 checkImportVariantsRequest(api.ImportVariantsRequest o) {
907 buildCounterImportVariantsRequest++; 942 buildCounterImportVariantsRequest++;
908 if (buildCounterImportVariantsRequest < 3) { 943 if (buildCounterImportVariantsRequest < 3) {
909 unittest.expect(o.format, unittest.equals('foo')); 944 unittest.expect(o.format, unittest.equals('foo'));
910 checkUnnamed1500(o.sourceUris); 945 checkUnnamed1613(o.sourceUris);
911 } 946 }
912 buildCounterImportVariantsRequest--; 947 buildCounterImportVariantsRequest--;
913 } 948 }
914 949
915 core.int buildCounterImportVariantsResponse = 0; 950 core.int buildCounterImportVariantsResponse = 0;
916 buildImportVariantsResponse() { 951 buildImportVariantsResponse() {
917 var o = new api.ImportVariantsResponse(); 952 var o = new api.ImportVariantsResponse();
918 buildCounterImportVariantsResponse++; 953 buildCounterImportVariantsResponse++;
919 if (buildCounterImportVariantsResponse < 3) { 954 if (buildCounterImportVariantsResponse < 3) {
920 o.jobId = "foo"; 955 o.jobId = "foo";
(...skipping 22 matching lines...) Expand all
943 } 978 }
944 979
945 checkInt32Value(api.Int32Value o) { 980 checkInt32Value(api.Int32Value o) {
946 buildCounterInt32Value++; 981 buildCounterInt32Value++;
947 if (buildCounterInt32Value < 3) { 982 if (buildCounterInt32Value < 3) {
948 unittest.expect(o.value, unittest.equals(42)); 983 unittest.expect(o.value, unittest.equals(42));
949 } 984 }
950 buildCounterInt32Value--; 985 buildCounterInt32Value--;
951 } 986 }
952 987
953 buildUnnamed1501() { 988 buildUnnamed1614() {
954 var o = new core.List<core.String>(); 989 var o = new core.List<core.String>();
955 o.add("foo"); 990 o.add("foo");
956 o.add("foo"); 991 o.add("foo");
957 return o; 992 return o;
958 } 993 }
959 994
960 checkUnnamed1501(core.List<core.String> o) { 995 checkUnnamed1614(core.List<core.String> o) {
961 unittest.expect(o, unittest.hasLength(2)); 996 unittest.expect(o, unittest.hasLength(2));
962 unittest.expect(o[0], unittest.equals('foo')); 997 unittest.expect(o[0], unittest.equals('foo'));
963 unittest.expect(o[1], unittest.equals('foo')); 998 unittest.expect(o[1], unittest.equals('foo'));
964 } 999 }
965 1000
966 core.int buildCounterInterleavedFastqSource = 0; 1001 core.int buildCounterInterleavedFastqSource = 0;
967 buildInterleavedFastqSource() { 1002 buildInterleavedFastqSource() {
968 var o = new api.InterleavedFastqSource(); 1003 var o = new api.InterleavedFastqSource();
969 buildCounterInterleavedFastqSource++; 1004 buildCounterInterleavedFastqSource++;
970 if (buildCounterInterleavedFastqSource < 3) { 1005 if (buildCounterInterleavedFastqSource < 3) {
971 o.metadata = buildFastqMetadata(); 1006 o.metadata = buildFastqMetadata();
972 o.sourceUris = buildUnnamed1501(); 1007 o.sourceUris = buildUnnamed1614();
973 } 1008 }
974 buildCounterInterleavedFastqSource--; 1009 buildCounterInterleavedFastqSource--;
975 return o; 1010 return o;
976 } 1011 }
977 1012
978 checkInterleavedFastqSource(api.InterleavedFastqSource o) { 1013 checkInterleavedFastqSource(api.InterleavedFastqSource o) {
979 buildCounterInterleavedFastqSource++; 1014 buildCounterInterleavedFastqSource++;
980 if (buildCounterInterleavedFastqSource < 3) { 1015 if (buildCounterInterleavedFastqSource < 3) {
981 checkFastqMetadata(o.metadata); 1016 checkFastqMetadata(o.metadata);
982 checkUnnamed1501(o.sourceUris); 1017 checkUnnamed1614(o.sourceUris);
983 } 1018 }
984 buildCounterInterleavedFastqSource--; 1019 buildCounterInterleavedFastqSource--;
985 } 1020 }
986 1021
987 buildUnnamed1502() { 1022 buildUnnamed1615() {
988 var o = new core.List<core.String>(); 1023 var o = new core.List<core.String>();
989 o.add("foo"); 1024 o.add("foo");
990 o.add("foo"); 1025 o.add("foo");
991 return o; 1026 return o;
992 } 1027 }
993 1028
994 checkUnnamed1502(core.List<core.String> o) { 1029 checkUnnamed1615(core.List<core.String> o) {
995 unittest.expect(o, unittest.hasLength(2)); 1030 unittest.expect(o, unittest.hasLength(2));
996 unittest.expect(o[0], unittest.equals('foo')); 1031 unittest.expect(o[0], unittest.equals('foo'));
997 unittest.expect(o[1], unittest.equals('foo')); 1032 unittest.expect(o[1], unittest.equals('foo'));
998 } 1033 }
999 1034
1000 buildUnnamed1503() { 1035 buildUnnamed1616() {
1001 var o = new core.List<core.String>(); 1036 var o = new core.List<core.String>();
1002 o.add("foo"); 1037 o.add("foo");
1003 o.add("foo"); 1038 o.add("foo");
1004 return o; 1039 return o;
1005 } 1040 }
1006 1041
1007 checkUnnamed1503(core.List<core.String> o) { 1042 checkUnnamed1616(core.List<core.String> o) {
1008 unittest.expect(o, unittest.hasLength(2)); 1043 unittest.expect(o, unittest.hasLength(2));
1009 unittest.expect(o[0], unittest.equals('foo')); 1044 unittest.expect(o[0], unittest.equals('foo'));
1010 unittest.expect(o[1], unittest.equals('foo')); 1045 unittest.expect(o[1], unittest.equals('foo'));
1011 } 1046 }
1012 1047
1013 buildUnnamed1504() { 1048 buildUnnamed1617() {
1014 var o = new core.List<core.String>(); 1049 var o = new core.List<core.String>();
1015 o.add("foo"); 1050 o.add("foo");
1016 o.add("foo"); 1051 o.add("foo");
1017 return o; 1052 return o;
1018 } 1053 }
1019 1054
1020 checkUnnamed1504(core.List<core.String> o) { 1055 checkUnnamed1617(core.List<core.String> o) {
1021 unittest.expect(o, unittest.hasLength(2)); 1056 unittest.expect(o, unittest.hasLength(2));
1022 unittest.expect(o[0], unittest.equals('foo')); 1057 unittest.expect(o[0], unittest.equals('foo'));
1023 unittest.expect(o[1], unittest.equals('foo')); 1058 unittest.expect(o[1], unittest.equals('foo'));
1024 } 1059 }
1025 1060
1026 core.int buildCounterJob = 0; 1061 core.int buildCounterJob = 0;
1027 buildJob() { 1062 buildJob() {
1028 var o = new api.Job(); 1063 var o = new api.Job();
1029 buildCounterJob++; 1064 buildCounterJob++;
1030 if (buildCounterJob < 3) { 1065 if (buildCounterJob < 3) {
1031 o.created = "foo"; 1066 o.created = "foo";
1032 o.detailedStatus = "foo"; 1067 o.detailedStatus = "foo";
1033 o.errors = buildUnnamed1502(); 1068 o.errors = buildUnnamed1615();
1034 o.id = "foo"; 1069 o.id = "foo";
1035 o.importedIds = buildUnnamed1503(); 1070 o.importedIds = buildUnnamed1616();
1036 o.projectNumber = "foo"; 1071 o.projectNumber = "foo";
1037 o.request = buildJobRequest(); 1072 o.request = buildJobRequest();
1038 o.status = "foo"; 1073 o.status = "foo";
1039 o.warnings = buildUnnamed1504(); 1074 o.warnings = buildUnnamed1617();
1040 } 1075 }
1041 buildCounterJob--; 1076 buildCounterJob--;
1042 return o; 1077 return o;
1043 } 1078 }
1044 1079
1045 checkJob(api.Job o) { 1080 checkJob(api.Job o) {
1046 buildCounterJob++; 1081 buildCounterJob++;
1047 if (buildCounterJob < 3) { 1082 if (buildCounterJob < 3) {
1048 unittest.expect(o.created, unittest.equals('foo')); 1083 unittest.expect(o.created, unittest.equals('foo'));
1049 unittest.expect(o.detailedStatus, unittest.equals('foo')); 1084 unittest.expect(o.detailedStatus, unittest.equals('foo'));
1050 checkUnnamed1502(o.errors); 1085 checkUnnamed1615(o.errors);
1051 unittest.expect(o.id, unittest.equals('foo')); 1086 unittest.expect(o.id, unittest.equals('foo'));
1052 checkUnnamed1503(o.importedIds); 1087 checkUnnamed1616(o.importedIds);
1053 unittest.expect(o.projectNumber, unittest.equals('foo')); 1088 unittest.expect(o.projectNumber, unittest.equals('foo'));
1054 checkJobRequest(o.request); 1089 checkJobRequest(o.request);
1055 unittest.expect(o.status, unittest.equals('foo')); 1090 unittest.expect(o.status, unittest.equals('foo'));
1056 checkUnnamed1504(o.warnings); 1091 checkUnnamed1617(o.warnings);
1057 } 1092 }
1058 buildCounterJob--; 1093 buildCounterJob--;
1059 } 1094 }
1060 1095
1061 buildUnnamed1505() { 1096 buildUnnamed1618() {
1062 var o = new core.List<core.String>(); 1097 var o = new core.List<core.String>();
1063 o.add("foo"); 1098 o.add("foo");
1064 o.add("foo"); 1099 o.add("foo");
1065 return o; 1100 return o;
1066 } 1101 }
1067 1102
1068 checkUnnamed1505(core.List<core.String> o) { 1103 checkUnnamed1618(core.List<core.String> o) {
1069 unittest.expect(o, unittest.hasLength(2)); 1104 unittest.expect(o, unittest.hasLength(2));
1070 unittest.expect(o[0], unittest.equals('foo')); 1105 unittest.expect(o[0], unittest.equals('foo'));
1071 unittest.expect(o[1], unittest.equals('foo')); 1106 unittest.expect(o[1], unittest.equals('foo'));
1072 } 1107 }
1073 1108
1074 buildUnnamed1506() { 1109 buildUnnamed1619() {
1075 var o = new core.List<core.String>(); 1110 var o = new core.List<core.String>();
1076 o.add("foo"); 1111 o.add("foo");
1077 o.add("foo"); 1112 o.add("foo");
1078 return o; 1113 return o;
1079 } 1114 }
1080 1115
1081 checkUnnamed1506(core.List<core.String> o) { 1116 checkUnnamed1619(core.List<core.String> o) {
1082 unittest.expect(o, unittest.hasLength(2)); 1117 unittest.expect(o, unittest.hasLength(2));
1083 unittest.expect(o[0], unittest.equals('foo')); 1118 unittest.expect(o[0], unittest.equals('foo'));
1084 unittest.expect(o[1], unittest.equals('foo')); 1119 unittest.expect(o[1], unittest.equals('foo'));
1085 } 1120 }
1086 1121
1087 core.int buildCounterJobRequest = 0; 1122 core.int buildCounterJobRequest = 0;
1088 buildJobRequest() { 1123 buildJobRequest() {
1089 var o = new api.JobRequest(); 1124 var o = new api.JobRequest();
1090 buildCounterJobRequest++; 1125 buildCounterJobRequest++;
1091 if (buildCounterJobRequest < 3) { 1126 if (buildCounterJobRequest < 3) {
1092 o.destination = buildUnnamed1505(); 1127 o.destination = buildUnnamed1618();
1093 o.source = buildUnnamed1506(); 1128 o.source = buildUnnamed1619();
1094 o.type = "foo"; 1129 o.type = "foo";
1095 } 1130 }
1096 buildCounterJobRequest--; 1131 buildCounterJobRequest--;
1097 return o; 1132 return o;
1098 } 1133 }
1099 1134
1100 checkJobRequest(api.JobRequest o) { 1135 checkJobRequest(api.JobRequest o) {
1101 buildCounterJobRequest++; 1136 buildCounterJobRequest++;
1102 if (buildCounterJobRequest < 3) { 1137 if (buildCounterJobRequest < 3) {
1103 checkUnnamed1505(o.destination); 1138 checkUnnamed1618(o.destination);
1104 checkUnnamed1506(o.source); 1139 checkUnnamed1619(o.source);
1105 unittest.expect(o.type, unittest.equals('foo')); 1140 unittest.expect(o.type, unittest.equals('foo'));
1106 } 1141 }
1107 buildCounterJobRequest--; 1142 buildCounterJobRequest--;
1108 } 1143 }
1109 1144
1110 buildUnnamed1507() { 1145 buildUnnamed1620() {
1111 var o = new core.List<api.CigarUnit>(); 1146 var o = new core.List<api.CigarUnit>();
1112 o.add(buildCigarUnit()); 1147 o.add(buildCigarUnit());
1113 o.add(buildCigarUnit()); 1148 o.add(buildCigarUnit());
1114 return o; 1149 return o;
1115 } 1150 }
1116 1151
1117 checkUnnamed1507(core.List<api.CigarUnit> o) { 1152 checkUnnamed1620(core.List<api.CigarUnit> o) {
1118 unittest.expect(o, unittest.hasLength(2)); 1153 unittest.expect(o, unittest.hasLength(2));
1119 checkCigarUnit(o[0]); 1154 checkCigarUnit(o[0]);
1120 checkCigarUnit(o[1]); 1155 checkCigarUnit(o[1]);
1121 } 1156 }
1122 1157
1123 core.int buildCounterLinearAlignment = 0; 1158 core.int buildCounterLinearAlignment = 0;
1124 buildLinearAlignment() { 1159 buildLinearAlignment() {
1125 var o = new api.LinearAlignment(); 1160 var o = new api.LinearAlignment();
1126 buildCounterLinearAlignment++; 1161 buildCounterLinearAlignment++;
1127 if (buildCounterLinearAlignment < 3) { 1162 if (buildCounterLinearAlignment < 3) {
1128 o.cigar = buildUnnamed1507(); 1163 o.cigar = buildUnnamed1620();
1129 o.mappingQuality = 42; 1164 o.mappingQuality = 42;
1130 o.position = buildPosition(); 1165 o.position = buildPosition();
1131 } 1166 }
1132 buildCounterLinearAlignment--; 1167 buildCounterLinearAlignment--;
1133 return o; 1168 return o;
1134 } 1169 }
1135 1170
1136 checkLinearAlignment(api.LinearAlignment o) { 1171 checkLinearAlignment(api.LinearAlignment o) {
1137 buildCounterLinearAlignment++; 1172 buildCounterLinearAlignment++;
1138 if (buildCounterLinearAlignment < 3) { 1173 if (buildCounterLinearAlignment < 3) {
1139 checkUnnamed1507(o.cigar); 1174 checkUnnamed1620(o.cigar);
1140 unittest.expect(o.mappingQuality, unittest.equals(42)); 1175 unittest.expect(o.mappingQuality, unittest.equals(42));
1141 checkPosition(o.position); 1176 checkPosition(o.position);
1142 } 1177 }
1143 buildCounterLinearAlignment--; 1178 buildCounterLinearAlignment--;
1144 } 1179 }
1145 1180
1146 core.int buildCounterListBasesResponse = 0; 1181 core.int buildCounterListBasesResponse = 0;
1147 buildListBasesResponse() { 1182 buildListBasesResponse() {
1148 var o = new api.ListBasesResponse(); 1183 var o = new api.ListBasesResponse();
1149 buildCounterListBasesResponse++; 1184 buildCounterListBasesResponse++;
1150 if (buildCounterListBasesResponse < 3) { 1185 if (buildCounterListBasesResponse < 3) {
1151 o.nextPageToken = "foo"; 1186 o.nextPageToken = "foo";
1152 o.offset = "foo"; 1187 o.offset = "foo";
1153 o.sequence = "foo"; 1188 o.sequence = "foo";
1154 } 1189 }
1155 buildCounterListBasesResponse--; 1190 buildCounterListBasesResponse--;
1156 return o; 1191 return o;
1157 } 1192 }
1158 1193
1159 checkListBasesResponse(api.ListBasesResponse o) { 1194 checkListBasesResponse(api.ListBasesResponse o) {
1160 buildCounterListBasesResponse++; 1195 buildCounterListBasesResponse++;
1161 if (buildCounterListBasesResponse < 3) { 1196 if (buildCounterListBasesResponse < 3) {
1162 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1197 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1163 unittest.expect(o.offset, unittest.equals('foo')); 1198 unittest.expect(o.offset, unittest.equals('foo'));
1164 unittest.expect(o.sequence, unittest.equals('foo')); 1199 unittest.expect(o.sequence, unittest.equals('foo'));
1165 } 1200 }
1166 buildCounterListBasesResponse--; 1201 buildCounterListBasesResponse--;
1167 } 1202 }
1168 1203
1169 buildUnnamed1508() { 1204 buildUnnamed1621() {
1170 var o = new core.List<api.CoverageBucket>(); 1205 var o = new core.List<api.CoverageBucket>();
1171 o.add(buildCoverageBucket()); 1206 o.add(buildCoverageBucket());
1172 o.add(buildCoverageBucket()); 1207 o.add(buildCoverageBucket());
1173 return o; 1208 return o;
1174 } 1209 }
1175 1210
1176 checkUnnamed1508(core.List<api.CoverageBucket> o) { 1211 checkUnnamed1621(core.List<api.CoverageBucket> o) {
1177 unittest.expect(o, unittest.hasLength(2)); 1212 unittest.expect(o, unittest.hasLength(2));
1178 checkCoverageBucket(o[0]); 1213 checkCoverageBucket(o[0]);
1179 checkCoverageBucket(o[1]); 1214 checkCoverageBucket(o[1]);
1180 } 1215 }
1181 1216
1182 core.int buildCounterListCoverageBucketsResponse = 0; 1217 core.int buildCounterListCoverageBucketsResponse = 0;
1183 buildListCoverageBucketsResponse() { 1218 buildListCoverageBucketsResponse() {
1184 var o = new api.ListCoverageBucketsResponse(); 1219 var o = new api.ListCoverageBucketsResponse();
1185 buildCounterListCoverageBucketsResponse++; 1220 buildCounterListCoverageBucketsResponse++;
1186 if (buildCounterListCoverageBucketsResponse < 3) { 1221 if (buildCounterListCoverageBucketsResponse < 3) {
1187 o.bucketWidth = "foo"; 1222 o.bucketWidth = "foo";
1188 o.coverageBuckets = buildUnnamed1508(); 1223 o.coverageBuckets = buildUnnamed1621();
1189 o.nextPageToken = "foo"; 1224 o.nextPageToken = "foo";
1190 } 1225 }
1191 buildCounterListCoverageBucketsResponse--; 1226 buildCounterListCoverageBucketsResponse--;
1192 return o; 1227 return o;
1193 } 1228 }
1194 1229
1195 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { 1230 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) {
1196 buildCounterListCoverageBucketsResponse++; 1231 buildCounterListCoverageBucketsResponse++;
1197 if (buildCounterListCoverageBucketsResponse < 3) { 1232 if (buildCounterListCoverageBucketsResponse < 3) {
1198 unittest.expect(o.bucketWidth, unittest.equals('foo')); 1233 unittest.expect(o.bucketWidth, unittest.equals('foo'));
1199 checkUnnamed1508(o.coverageBuckets); 1234 checkUnnamed1621(o.coverageBuckets);
1200 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1235 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1201 } 1236 }
1202 buildCounterListCoverageBucketsResponse--; 1237 buildCounterListCoverageBucketsResponse--;
1203 } 1238 }
1204 1239
1205 buildUnnamed1509() { 1240 buildUnnamed1622() {
1206 var o = new core.List<api.Dataset>(); 1241 var o = new core.List<api.Dataset>();
1207 o.add(buildDataset()); 1242 o.add(buildDataset());
1208 o.add(buildDataset()); 1243 o.add(buildDataset());
1209 return o; 1244 return o;
1210 } 1245 }
1211 1246
1212 checkUnnamed1509(core.List<api.Dataset> o) { 1247 checkUnnamed1622(core.List<api.Dataset> o) {
1213 unittest.expect(o, unittest.hasLength(2)); 1248 unittest.expect(o, unittest.hasLength(2));
1214 checkDataset(o[0]); 1249 checkDataset(o[0]);
1215 checkDataset(o[1]); 1250 checkDataset(o[1]);
1216 } 1251 }
1217 1252
1218 core.int buildCounterListDatasetsResponse = 0; 1253 core.int buildCounterListDatasetsResponse = 0;
1219 buildListDatasetsResponse() { 1254 buildListDatasetsResponse() {
1220 var o = new api.ListDatasetsResponse(); 1255 var o = new api.ListDatasetsResponse();
1221 buildCounterListDatasetsResponse++; 1256 buildCounterListDatasetsResponse++;
1222 if (buildCounterListDatasetsResponse < 3) { 1257 if (buildCounterListDatasetsResponse < 3) {
1223 o.datasets = buildUnnamed1509(); 1258 o.datasets = buildUnnamed1622();
1224 o.nextPageToken = "foo"; 1259 o.nextPageToken = "foo";
1225 } 1260 }
1226 buildCounterListDatasetsResponse--; 1261 buildCounterListDatasetsResponse--;
1227 return o; 1262 return o;
1228 } 1263 }
1229 1264
1230 checkListDatasetsResponse(api.ListDatasetsResponse o) { 1265 checkListDatasetsResponse(api.ListDatasetsResponse o) {
1231 buildCounterListDatasetsResponse++; 1266 buildCounterListDatasetsResponse++;
1232 if (buildCounterListDatasetsResponse < 3) { 1267 if (buildCounterListDatasetsResponse < 3) {
1233 checkUnnamed1509(o.datasets); 1268 checkUnnamed1622(o.datasets);
1234 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1269 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1235 } 1270 }
1236 buildCounterListDatasetsResponse--; 1271 buildCounterListDatasetsResponse--;
1237 } 1272 }
1238 1273
1239 buildUnnamed1510() { 1274 buildUnnamed1623() {
1240 var o = new core.List<api.Variant>(); 1275 var o = new core.List<api.Variant>();
1241 o.add(buildVariant()); 1276 o.add(buildVariant());
1242 o.add(buildVariant()); 1277 o.add(buildVariant());
1243 return o; 1278 return o;
1244 } 1279 }
1245 1280
1246 checkUnnamed1510(core.List<api.Variant> o) { 1281 checkUnnamed1623(core.List<api.Variant> o) {
1247 unittest.expect(o, unittest.hasLength(2)); 1282 unittest.expect(o, unittest.hasLength(2));
1248 checkVariant(o[0]); 1283 checkVariant(o[0]);
1249 checkVariant(o[1]); 1284 checkVariant(o[1]);
1250 } 1285 }
1251 1286
1252 core.int buildCounterMergeVariantsRequest = 0; 1287 core.int buildCounterMergeVariantsRequest = 0;
1253 buildMergeVariantsRequest() { 1288 buildMergeVariantsRequest() {
1254 var o = new api.MergeVariantsRequest(); 1289 var o = new api.MergeVariantsRequest();
1255 buildCounterMergeVariantsRequest++; 1290 buildCounterMergeVariantsRequest++;
1256 if (buildCounterMergeVariantsRequest < 3) { 1291 if (buildCounterMergeVariantsRequest < 3) {
1257 o.variants = buildUnnamed1510(); 1292 o.variants = buildUnnamed1623();
1258 } 1293 }
1259 buildCounterMergeVariantsRequest--; 1294 buildCounterMergeVariantsRequest--;
1260 return o; 1295 return o;
1261 } 1296 }
1262 1297
1263 checkMergeVariantsRequest(api.MergeVariantsRequest o) { 1298 checkMergeVariantsRequest(api.MergeVariantsRequest o) {
1264 buildCounterMergeVariantsRequest++; 1299 buildCounterMergeVariantsRequest++;
1265 if (buildCounterMergeVariantsRequest < 3) { 1300 if (buildCounterMergeVariantsRequest < 3) {
1266 checkUnnamed1510(o.variants); 1301 checkUnnamed1623(o.variants);
1267 } 1302 }
1268 buildCounterMergeVariantsRequest--; 1303 buildCounterMergeVariantsRequest--;
1269 } 1304 }
1270 1305
1271 buildUnnamed1511() { 1306 buildUnnamed1624() {
1272 var o = new core.List<core.String>(); 1307 var o = new core.List<core.String>();
1273 o.add("foo"); 1308 o.add("foo");
1274 o.add("foo"); 1309 o.add("foo");
1275 return o; 1310 return o;
1276 } 1311 }
1277 1312
1278 checkUnnamed1511(core.List<core.String> o) { 1313 checkUnnamed1624(core.List<core.String> o) {
1279 unittest.expect(o, unittest.hasLength(2)); 1314 unittest.expect(o, unittest.hasLength(2));
1280 unittest.expect(o[0], unittest.equals('foo')); 1315 unittest.expect(o[0], unittest.equals('foo'));
1281 unittest.expect(o[1], unittest.equals('foo')); 1316 unittest.expect(o[1], unittest.equals('foo'));
1282 } 1317 }
1283 1318
1284 buildUnnamed1512() { 1319 buildUnnamed1625() {
1285 var o = new core.Map<core.String, core.List<core.String>>(); 1320 var o = new core.Map<core.String, core.List<core.String>>();
1286 o["x"] = buildUnnamed1511(); 1321 o["x"] = buildUnnamed1624();
1287 o["y"] = buildUnnamed1511(); 1322 o["y"] = buildUnnamed1624();
1288 return o; 1323 return o;
1289 } 1324 }
1290 1325
1291 checkUnnamed1512(core.Map<core.String, core.List<core.String>> o) { 1326 checkUnnamed1625(core.Map<core.String, core.List<core.String>> o) {
1292 unittest.expect(o, unittest.hasLength(2)); 1327 unittest.expect(o, unittest.hasLength(2));
1293 checkUnnamed1511(o["x"]); 1328 checkUnnamed1624(o["x"]);
1294 checkUnnamed1511(o["y"]); 1329 checkUnnamed1624(o["y"]);
1295 } 1330 }
1296 1331
1297 core.int buildCounterMetadata = 0; 1332 core.int buildCounterMetadata = 0;
1298 buildMetadata() { 1333 buildMetadata() {
1299 var o = new api.Metadata(); 1334 var o = new api.Metadata();
1300 buildCounterMetadata++; 1335 buildCounterMetadata++;
1301 if (buildCounterMetadata < 3) { 1336 if (buildCounterMetadata < 3) {
1302 o.description = "foo"; 1337 o.description = "foo";
1303 o.id = "foo"; 1338 o.id = "foo";
1304 o.info = buildUnnamed1512(); 1339 o.info = buildUnnamed1625();
1305 o.key = "foo"; 1340 o.key = "foo";
1306 o.number = "foo"; 1341 o.number = "foo";
1307 o.type = "foo"; 1342 o.type = "foo";
1308 o.value = "foo"; 1343 o.value = "foo";
1309 } 1344 }
1310 buildCounterMetadata--; 1345 buildCounterMetadata--;
1311 return o; 1346 return o;
1312 } 1347 }
1313 1348
1314 checkMetadata(api.Metadata o) { 1349 checkMetadata(api.Metadata o) {
1315 buildCounterMetadata++; 1350 buildCounterMetadata++;
1316 if (buildCounterMetadata < 3) { 1351 if (buildCounterMetadata < 3) {
1317 unittest.expect(o.description, unittest.equals('foo')); 1352 unittest.expect(o.description, unittest.equals('foo'));
1318 unittest.expect(o.id, unittest.equals('foo')); 1353 unittest.expect(o.id, unittest.equals('foo'));
1319 checkUnnamed1512(o.info); 1354 checkUnnamed1625(o.info);
1320 unittest.expect(o.key, unittest.equals('foo')); 1355 unittest.expect(o.key, unittest.equals('foo'));
1321 unittest.expect(o.number, unittest.equals('foo')); 1356 unittest.expect(o.number, unittest.equals('foo'));
1322 unittest.expect(o.type, unittest.equals('foo')); 1357 unittest.expect(o.type, unittest.equals('foo'));
1323 unittest.expect(o.value, unittest.equals('foo')); 1358 unittest.expect(o.value, unittest.equals('foo'));
1324 } 1359 }
1325 buildCounterMetadata--; 1360 buildCounterMetadata--;
1326 } 1361 }
1327 1362
1328 buildUnnamed1513() { 1363 buildUnnamed1626() {
1329 var o = new core.List<core.String>(); 1364 var o = new core.List<core.String>();
1330 o.add("foo"); 1365 o.add("foo");
1331 o.add("foo"); 1366 o.add("foo");
1332 return o; 1367 return o;
1333 } 1368 }
1334 1369
1335 checkUnnamed1513(core.List<core.String> o) { 1370 checkUnnamed1626(core.List<core.String> o) {
1336 unittest.expect(o, unittest.hasLength(2)); 1371 unittest.expect(o, unittest.hasLength(2));
1337 unittest.expect(o[0], unittest.equals('foo')); 1372 unittest.expect(o[0], unittest.equals('foo'));
1338 unittest.expect(o[1], unittest.equals('foo')); 1373 unittest.expect(o[1], unittest.equals('foo'));
1339 } 1374 }
1340 1375
1341 buildUnnamed1514() { 1376 buildUnnamed1627() {
1342 var o = new core.List<core.String>(); 1377 var o = new core.List<core.String>();
1343 o.add("foo"); 1378 o.add("foo");
1344 o.add("foo"); 1379 o.add("foo");
1345 return o; 1380 return o;
1346 } 1381 }
1347 1382
1348 checkUnnamed1514(core.List<core.String> o) { 1383 checkUnnamed1627(core.List<core.String> o) {
1349 unittest.expect(o, unittest.hasLength(2)); 1384 unittest.expect(o, unittest.hasLength(2));
1350 unittest.expect(o[0], unittest.equals('foo')); 1385 unittest.expect(o[0], unittest.equals('foo'));
1351 unittest.expect(o[1], unittest.equals('foo')); 1386 unittest.expect(o[1], unittest.equals('foo'));
1352 } 1387 }
1353 1388
1354 core.int buildCounterPairedFastqSource = 0; 1389 core.int buildCounterPairedFastqSource = 0;
1355 buildPairedFastqSource() { 1390 buildPairedFastqSource() {
1356 var o = new api.PairedFastqSource(); 1391 var o = new api.PairedFastqSource();
1357 buildCounterPairedFastqSource++; 1392 buildCounterPairedFastqSource++;
1358 if (buildCounterPairedFastqSource < 3) { 1393 if (buildCounterPairedFastqSource < 3) {
1359 o.firstSourceUris = buildUnnamed1513(); 1394 o.firstSourceUris = buildUnnamed1626();
1360 o.metadata = buildFastqMetadata(); 1395 o.metadata = buildFastqMetadata();
1361 o.secondSourceUris = buildUnnamed1514(); 1396 o.secondSourceUris = buildUnnamed1627();
1362 } 1397 }
1363 buildCounterPairedFastqSource--; 1398 buildCounterPairedFastqSource--;
1364 return o; 1399 return o;
1365 } 1400 }
1366 1401
1367 checkPairedFastqSource(api.PairedFastqSource o) { 1402 checkPairedFastqSource(api.PairedFastqSource o) {
1368 buildCounterPairedFastqSource++; 1403 buildCounterPairedFastqSource++;
1369 if (buildCounterPairedFastqSource < 3) { 1404 if (buildCounterPairedFastqSource < 3) {
1370 checkUnnamed1513(o.firstSourceUris); 1405 checkUnnamed1626(o.firstSourceUris);
1371 checkFastqMetadata(o.metadata); 1406 checkFastqMetadata(o.metadata);
1372 checkUnnamed1514(o.secondSourceUris); 1407 checkUnnamed1627(o.secondSourceUris);
1373 } 1408 }
1374 buildCounterPairedFastqSource--; 1409 buildCounterPairedFastqSource--;
1375 } 1410 }
1376 1411
1377 core.int buildCounterPosition = 0; 1412 core.int buildCounterPosition = 0;
1378 buildPosition() { 1413 buildPosition() {
1379 var o = new api.Position(); 1414 var o = new api.Position();
1380 buildCounterPosition++; 1415 buildCounterPosition++;
1381 if (buildCounterPosition < 3) { 1416 if (buildCounterPosition < 3) {
1382 o.position = "foo"; 1417 o.position = "foo";
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 if (buildCounterRangePosition < 3) { 1500 if (buildCounterRangePosition < 3) {
1466 unittest.expect(o.end, unittest.equals('foo')); 1501 unittest.expect(o.end, unittest.equals('foo'));
1467 unittest.expect(o.referenceId, unittest.equals('foo')); 1502 unittest.expect(o.referenceId, unittest.equals('foo'));
1468 unittest.expect(o.referenceName, unittest.equals('foo')); 1503 unittest.expect(o.referenceName, unittest.equals('foo'));
1469 unittest.expect(o.reverseStrand, unittest.isTrue); 1504 unittest.expect(o.reverseStrand, unittest.isTrue);
1470 unittest.expect(o.start, unittest.equals('foo')); 1505 unittest.expect(o.start, unittest.equals('foo'));
1471 } 1506 }
1472 buildCounterRangePosition--; 1507 buildCounterRangePosition--;
1473 } 1508 }
1474 1509
1475 buildUnnamed1515() { 1510 buildUnnamed1628() {
1476 var o = new core.List<core.int>(); 1511 var o = new core.List<core.int>();
1477 o.add(42); 1512 o.add(42);
1478 o.add(42); 1513 o.add(42);
1479 return o; 1514 return o;
1480 } 1515 }
1481 1516
1482 checkUnnamed1515(core.List<core.int> o) { 1517 checkUnnamed1628(core.List<core.int> o) {
1483 unittest.expect(o, unittest.hasLength(2)); 1518 unittest.expect(o, unittest.hasLength(2));
1484 unittest.expect(o[0], unittest.equals(42)); 1519 unittest.expect(o[0], unittest.equals(42));
1485 unittest.expect(o[1], unittest.equals(42)); 1520 unittest.expect(o[1], unittest.equals(42));
1486 } 1521 }
1487 1522
1488 buildUnnamed1516() { 1523 buildUnnamed1629() {
1489 var o = new core.List<core.String>(); 1524 var o = new core.List<core.String>();
1490 o.add("foo"); 1525 o.add("foo");
1491 o.add("foo"); 1526 o.add("foo");
1492 return o; 1527 return o;
1493 } 1528 }
1494 1529
1495 checkUnnamed1516(core.List<core.String> o) { 1530 checkUnnamed1629(core.List<core.String> o) {
1496 unittest.expect(o, unittest.hasLength(2)); 1531 unittest.expect(o, unittest.hasLength(2));
1497 unittest.expect(o[0], unittest.equals('foo')); 1532 unittest.expect(o[0], unittest.equals('foo'));
1498 unittest.expect(o[1], unittest.equals('foo')); 1533 unittest.expect(o[1], unittest.equals('foo'));
1499 } 1534 }
1500 1535
1501 buildUnnamed1517() { 1536 buildUnnamed1630() {
1502 var o = new core.Map<core.String, core.List<core.String>>(); 1537 var o = new core.Map<core.String, core.List<core.String>>();
1503 o["x"] = buildUnnamed1516(); 1538 o["x"] = buildUnnamed1629();
1504 o["y"] = buildUnnamed1516(); 1539 o["y"] = buildUnnamed1629();
1505 return o; 1540 return o;
1506 } 1541 }
1507 1542
1508 checkUnnamed1517(core.Map<core.String, core.List<core.String>> o) { 1543 checkUnnamed1630(core.Map<core.String, core.List<core.String>> o) {
1509 unittest.expect(o, unittest.hasLength(2)); 1544 unittest.expect(o, unittest.hasLength(2));
1510 checkUnnamed1516(o["x"]); 1545 checkUnnamed1629(o["x"]);
1511 checkUnnamed1516(o["y"]); 1546 checkUnnamed1629(o["y"]);
1512 } 1547 }
1513 1548
1514 core.int buildCounterRead = 0; 1549 core.int buildCounterRead = 0;
1515 buildRead() { 1550 buildRead() {
1516 var o = new api.Read(); 1551 var o = new api.Read();
1517 buildCounterRead++; 1552 buildCounterRead++;
1518 if (buildCounterRead < 3) { 1553 if (buildCounterRead < 3) {
1519 o.alignedQuality = buildUnnamed1515(); 1554 o.alignedQuality = buildUnnamed1628();
1520 o.alignedSequence = "foo"; 1555 o.alignedSequence = "foo";
1521 o.alignment = buildLinearAlignment(); 1556 o.alignment = buildLinearAlignment();
1522 o.duplicateFragment = true; 1557 o.duplicateFragment = true;
1523 o.failedVendorQualityChecks = true; 1558 o.failedVendorQualityChecks = true;
1524 o.fragmentLength = 42; 1559 o.fragmentLength = 42;
1525 o.fragmentName = "foo"; 1560 o.fragmentName = "foo";
1526 o.id = "foo"; 1561 o.id = "foo";
1527 o.info = buildUnnamed1517(); 1562 o.info = buildUnnamed1630();
1528 o.nextMatePosition = buildPosition(); 1563 o.nextMatePosition = buildPosition();
1529 o.numberReads = 42; 1564 o.numberReads = 42;
1530 o.properPlacement = true; 1565 o.properPlacement = true;
1531 o.readGroupId = "foo"; 1566 o.readGroupId = "foo";
1532 o.readGroupSetId = "foo"; 1567 o.readGroupSetId = "foo";
1533 o.readNumber = 42; 1568 o.readNumber = 42;
1534 o.secondaryAlignment = true; 1569 o.secondaryAlignment = true;
1535 o.supplementaryAlignment = true; 1570 o.supplementaryAlignment = true;
1536 } 1571 }
1537 buildCounterRead--; 1572 buildCounterRead--;
1538 return o; 1573 return o;
1539 } 1574 }
1540 1575
1541 checkRead(api.Read o) { 1576 checkRead(api.Read o) {
1542 buildCounterRead++; 1577 buildCounterRead++;
1543 if (buildCounterRead < 3) { 1578 if (buildCounterRead < 3) {
1544 checkUnnamed1515(o.alignedQuality); 1579 checkUnnamed1628(o.alignedQuality);
1545 unittest.expect(o.alignedSequence, unittest.equals('foo')); 1580 unittest.expect(o.alignedSequence, unittest.equals('foo'));
1546 checkLinearAlignment(o.alignment); 1581 checkLinearAlignment(o.alignment);
1547 unittest.expect(o.duplicateFragment, unittest.isTrue); 1582 unittest.expect(o.duplicateFragment, unittest.isTrue);
1548 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); 1583 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue);
1549 unittest.expect(o.fragmentLength, unittest.equals(42)); 1584 unittest.expect(o.fragmentLength, unittest.equals(42));
1550 unittest.expect(o.fragmentName, unittest.equals('foo')); 1585 unittest.expect(o.fragmentName, unittest.equals('foo'));
1551 unittest.expect(o.id, unittest.equals('foo')); 1586 unittest.expect(o.id, unittest.equals('foo'));
1552 checkUnnamed1517(o.info); 1587 checkUnnamed1630(o.info);
1553 checkPosition(o.nextMatePosition); 1588 checkPosition(o.nextMatePosition);
1554 unittest.expect(o.numberReads, unittest.equals(42)); 1589 unittest.expect(o.numberReads, unittest.equals(42));
1555 unittest.expect(o.properPlacement, unittest.isTrue); 1590 unittest.expect(o.properPlacement, unittest.isTrue);
1556 unittest.expect(o.readGroupId, unittest.equals('foo')); 1591 unittest.expect(o.readGroupId, unittest.equals('foo'));
1557 unittest.expect(o.readGroupSetId, unittest.equals('foo')); 1592 unittest.expect(o.readGroupSetId, unittest.equals('foo'));
1558 unittest.expect(o.readNumber, unittest.equals(42)); 1593 unittest.expect(o.readNumber, unittest.equals(42));
1559 unittest.expect(o.secondaryAlignment, unittest.isTrue); 1594 unittest.expect(o.secondaryAlignment, unittest.isTrue);
1560 unittest.expect(o.supplementaryAlignment, unittest.isTrue); 1595 unittest.expect(o.supplementaryAlignment, unittest.isTrue);
1561 } 1596 }
1562 buildCounterRead--; 1597 buildCounterRead--;
1563 } 1598 }
1564 1599
1565 buildUnnamed1518() { 1600 buildUnnamed1631() {
1566 var o = new core.List<core.String>(); 1601 var o = new core.List<core.String>();
1567 o.add("foo"); 1602 o.add("foo");
1568 o.add("foo"); 1603 o.add("foo");
1569 return o; 1604 return o;
1570 } 1605 }
1571 1606
1572 checkUnnamed1518(core.List<core.String> o) { 1607 checkUnnamed1631(core.List<core.String> o) {
1573 unittest.expect(o, unittest.hasLength(2)); 1608 unittest.expect(o, unittest.hasLength(2));
1574 unittest.expect(o[0], unittest.equals('foo')); 1609 unittest.expect(o[0], unittest.equals('foo'));
1575 unittest.expect(o[1], unittest.equals('foo')); 1610 unittest.expect(o[1], unittest.equals('foo'));
1576 } 1611 }
1577 1612
1578 buildUnnamed1519() { 1613 buildUnnamed1632() {
1579 var o = new core.Map<core.String, core.List<core.String>>(); 1614 var o = new core.Map<core.String, core.List<core.String>>();
1580 o["x"] = buildUnnamed1518(); 1615 o["x"] = buildUnnamed1631();
1581 o["y"] = buildUnnamed1518(); 1616 o["y"] = buildUnnamed1631();
1582 return o; 1617 return o;
1583 } 1618 }
1584 1619
1585 checkUnnamed1519(core.Map<core.String, core.List<core.String>> o) { 1620 checkUnnamed1632(core.Map<core.String, core.List<core.String>> o) {
1586 unittest.expect(o, unittest.hasLength(2)); 1621 unittest.expect(o, unittest.hasLength(2));
1587 checkUnnamed1518(o["x"]); 1622 checkUnnamed1631(o["x"]);
1588 checkUnnamed1518(o["y"]); 1623 checkUnnamed1631(o["y"]);
1589 } 1624 }
1590 1625
1591 buildUnnamed1520() { 1626 buildUnnamed1633() {
1592 var o = new core.List<api.ReadGroupProgram>(); 1627 var o = new core.List<api.ReadGroupProgram>();
1593 o.add(buildReadGroupProgram()); 1628 o.add(buildReadGroupProgram());
1594 o.add(buildReadGroupProgram()); 1629 o.add(buildReadGroupProgram());
1595 return o; 1630 return o;
1596 } 1631 }
1597 1632
1598 checkUnnamed1520(core.List<api.ReadGroupProgram> o) { 1633 checkUnnamed1633(core.List<api.ReadGroupProgram> o) {
1599 unittest.expect(o, unittest.hasLength(2)); 1634 unittest.expect(o, unittest.hasLength(2));
1600 checkReadGroupProgram(o[0]); 1635 checkReadGroupProgram(o[0]);
1601 checkReadGroupProgram(o[1]); 1636 checkReadGroupProgram(o[1]);
1602 } 1637 }
1603 1638
1604 core.int buildCounterReadGroup = 0; 1639 core.int buildCounterReadGroup = 0;
1605 buildReadGroup() { 1640 buildReadGroup() {
1606 var o = new api.ReadGroup(); 1641 var o = new api.ReadGroup();
1607 buildCounterReadGroup++; 1642 buildCounterReadGroup++;
1608 if (buildCounterReadGroup < 3) { 1643 if (buildCounterReadGroup < 3) {
1609 o.datasetId = "foo"; 1644 o.datasetId = "foo";
1610 o.description = "foo"; 1645 o.description = "foo";
1611 o.experiment = buildReadGroupExperiment(); 1646 o.experiment = buildReadGroupExperiment();
1612 o.id = "foo"; 1647 o.id = "foo";
1613 o.info = buildUnnamed1519(); 1648 o.info = buildUnnamed1632();
1614 o.name = "foo"; 1649 o.name = "foo";
1615 o.predictedInsertSize = 42; 1650 o.predictedInsertSize = 42;
1616 o.programs = buildUnnamed1520(); 1651 o.programs = buildUnnamed1633();
1617 o.referenceSetId = "foo"; 1652 o.referenceSetId = "foo";
1618 o.sampleId = "foo"; 1653 o.sampleId = "foo";
1619 } 1654 }
1620 buildCounterReadGroup--; 1655 buildCounterReadGroup--;
1621 return o; 1656 return o;
1622 } 1657 }
1623 1658
1624 checkReadGroup(api.ReadGroup o) { 1659 checkReadGroup(api.ReadGroup o) {
1625 buildCounterReadGroup++; 1660 buildCounterReadGroup++;
1626 if (buildCounterReadGroup < 3) { 1661 if (buildCounterReadGroup < 3) {
1627 unittest.expect(o.datasetId, unittest.equals('foo')); 1662 unittest.expect(o.datasetId, unittest.equals('foo'));
1628 unittest.expect(o.description, unittest.equals('foo')); 1663 unittest.expect(o.description, unittest.equals('foo'));
1629 checkReadGroupExperiment(o.experiment); 1664 checkReadGroupExperiment(o.experiment);
1630 unittest.expect(o.id, unittest.equals('foo')); 1665 unittest.expect(o.id, unittest.equals('foo'));
1631 checkUnnamed1519(o.info); 1666 checkUnnamed1632(o.info);
1632 unittest.expect(o.name, unittest.equals('foo')); 1667 unittest.expect(o.name, unittest.equals('foo'));
1633 unittest.expect(o.predictedInsertSize, unittest.equals(42)); 1668 unittest.expect(o.predictedInsertSize, unittest.equals(42));
1634 checkUnnamed1520(o.programs); 1669 checkUnnamed1633(o.programs);
1635 unittest.expect(o.referenceSetId, unittest.equals('foo')); 1670 unittest.expect(o.referenceSetId, unittest.equals('foo'));
1636 unittest.expect(o.sampleId, unittest.equals('foo')); 1671 unittest.expect(o.sampleId, unittest.equals('foo'));
1637 } 1672 }
1638 buildCounterReadGroup--; 1673 buildCounterReadGroup--;
1639 } 1674 }
1640 1675
1641 core.int buildCounterReadGroupExperiment = 0; 1676 core.int buildCounterReadGroupExperiment = 0;
1642 buildReadGroupExperiment() { 1677 buildReadGroupExperiment() {
1643 var o = new api.ReadGroupExperiment(); 1678 var o = new api.ReadGroupExperiment();
1644 buildCounterReadGroupExperiment++; 1679 buildCounterReadGroupExperiment++;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 if (buildCounterReadGroupProgram < 3) { 1718 if (buildCounterReadGroupProgram < 3) {
1684 unittest.expect(o.commandLine, unittest.equals('foo')); 1719 unittest.expect(o.commandLine, unittest.equals('foo'));
1685 unittest.expect(o.id, unittest.equals('foo')); 1720 unittest.expect(o.id, unittest.equals('foo'));
1686 unittest.expect(o.name, unittest.equals('foo')); 1721 unittest.expect(o.name, unittest.equals('foo'));
1687 unittest.expect(o.prevProgramId, unittest.equals('foo')); 1722 unittest.expect(o.prevProgramId, unittest.equals('foo'));
1688 unittest.expect(o.version, unittest.equals('foo')); 1723 unittest.expect(o.version, unittest.equals('foo'));
1689 } 1724 }
1690 buildCounterReadGroupProgram--; 1725 buildCounterReadGroupProgram--;
1691 } 1726 }
1692 1727
1693 buildUnnamed1521() { 1728 buildUnnamed1634() {
1694 var o = new core.List<core.String>(); 1729 var o = new core.List<core.String>();
1695 o.add("foo"); 1730 o.add("foo");
1696 o.add("foo"); 1731 o.add("foo");
1697 return o; 1732 return o;
1698 } 1733 }
1699 1734
1700 checkUnnamed1521(core.List<core.String> o) { 1735 checkUnnamed1634(core.List<core.String> o) {
1701 unittest.expect(o, unittest.hasLength(2)); 1736 unittest.expect(o, unittest.hasLength(2));
1702 unittest.expect(o[0], unittest.equals('foo')); 1737 unittest.expect(o[0], unittest.equals('foo'));
1703 unittest.expect(o[1], unittest.equals('foo')); 1738 unittest.expect(o[1], unittest.equals('foo'));
1704 } 1739 }
1705 1740
1706 buildUnnamed1522() { 1741 buildUnnamed1635() {
1707 var o = new core.Map<core.String, core.List<core.String>>(); 1742 var o = new core.Map<core.String, core.List<core.String>>();
1708 o["x"] = buildUnnamed1521(); 1743 o["x"] = buildUnnamed1634();
1709 o["y"] = buildUnnamed1521(); 1744 o["y"] = buildUnnamed1634();
1710 return o; 1745 return o;
1711 } 1746 }
1712 1747
1713 checkUnnamed1522(core.Map<core.String, core.List<core.String>> o) { 1748 checkUnnamed1635(core.Map<core.String, core.List<core.String>> o) {
1714 unittest.expect(o, unittest.hasLength(2)); 1749 unittest.expect(o, unittest.hasLength(2));
1715 checkUnnamed1521(o["x"]); 1750 checkUnnamed1634(o["x"]);
1716 checkUnnamed1521(o["y"]); 1751 checkUnnamed1634(o["y"]);
1717 } 1752 }
1718 1753
1719 buildUnnamed1523() { 1754 buildUnnamed1636() {
1720 var o = new core.List<api.ReadGroup>(); 1755 var o = new core.List<api.ReadGroup>();
1721 o.add(buildReadGroup()); 1756 o.add(buildReadGroup());
1722 o.add(buildReadGroup()); 1757 o.add(buildReadGroup());
1723 return o; 1758 return o;
1724 } 1759 }
1725 1760
1726 checkUnnamed1523(core.List<api.ReadGroup> o) { 1761 checkUnnamed1636(core.List<api.ReadGroup> o) {
1727 unittest.expect(o, unittest.hasLength(2)); 1762 unittest.expect(o, unittest.hasLength(2));
1728 checkReadGroup(o[0]); 1763 checkReadGroup(o[0]);
1729 checkReadGroup(o[1]); 1764 checkReadGroup(o[1]);
1730 } 1765 }
1731 1766
1732 core.int buildCounterReadGroupSet = 0; 1767 core.int buildCounterReadGroupSet = 0;
1733 buildReadGroupSet() { 1768 buildReadGroupSet() {
1734 var o = new api.ReadGroupSet(); 1769 var o = new api.ReadGroupSet();
1735 buildCounterReadGroupSet++; 1770 buildCounterReadGroupSet++;
1736 if (buildCounterReadGroupSet < 3) { 1771 if (buildCounterReadGroupSet < 3) {
1737 o.datasetId = "foo"; 1772 o.datasetId = "foo";
1738 o.filename = "foo"; 1773 o.filename = "foo";
1739 o.id = "foo"; 1774 o.id = "foo";
1740 o.info = buildUnnamed1522(); 1775 o.info = buildUnnamed1635();
1741 o.name = "foo"; 1776 o.name = "foo";
1742 o.readGroups = buildUnnamed1523(); 1777 o.readGroups = buildUnnamed1636();
1743 o.referenceSetId = "foo"; 1778 o.referenceSetId = "foo";
1744 } 1779 }
1745 buildCounterReadGroupSet--; 1780 buildCounterReadGroupSet--;
1746 return o; 1781 return o;
1747 } 1782 }
1748 1783
1749 checkReadGroupSet(api.ReadGroupSet o) { 1784 checkReadGroupSet(api.ReadGroupSet o) {
1750 buildCounterReadGroupSet++; 1785 buildCounterReadGroupSet++;
1751 if (buildCounterReadGroupSet < 3) { 1786 if (buildCounterReadGroupSet < 3) {
1752 unittest.expect(o.datasetId, unittest.equals('foo')); 1787 unittest.expect(o.datasetId, unittest.equals('foo'));
1753 unittest.expect(o.filename, unittest.equals('foo')); 1788 unittest.expect(o.filename, unittest.equals('foo'));
1754 unittest.expect(o.id, unittest.equals('foo')); 1789 unittest.expect(o.id, unittest.equals('foo'));
1755 checkUnnamed1522(o.info); 1790 checkUnnamed1635(o.info);
1756 unittest.expect(o.name, unittest.equals('foo')); 1791 unittest.expect(o.name, unittest.equals('foo'));
1757 checkUnnamed1523(o.readGroups); 1792 checkUnnamed1636(o.readGroups);
1758 unittest.expect(o.referenceSetId, unittest.equals('foo')); 1793 unittest.expect(o.referenceSetId, unittest.equals('foo'));
1759 } 1794 }
1760 buildCounterReadGroupSet--; 1795 buildCounterReadGroupSet--;
1761 } 1796 }
1762 1797
1763 buildUnnamed1524() { 1798 buildUnnamed1637() {
1764 var o = new core.List<core.String>(); 1799 var o = new core.List<core.String>();
1765 o.add("foo"); 1800 o.add("foo");
1766 o.add("foo"); 1801 o.add("foo");
1767 return o; 1802 return o;
1768 } 1803 }
1769 1804
1770 checkUnnamed1524(core.List<core.String> o) { 1805 checkUnnamed1637(core.List<core.String> o) {
1771 unittest.expect(o, unittest.hasLength(2)); 1806 unittest.expect(o, unittest.hasLength(2));
1772 unittest.expect(o[0], unittest.equals('foo')); 1807 unittest.expect(o[0], unittest.equals('foo'));
1773 unittest.expect(o[1], unittest.equals('foo')); 1808 unittest.expect(o[1], unittest.equals('foo'));
1774 } 1809 }
1775 1810
1776 core.int buildCounterReference = 0; 1811 core.int buildCounterReference = 0;
1777 buildReference() { 1812 buildReference() {
1778 var o = new api.Reference(); 1813 var o = new api.Reference();
1779 buildCounterReference++; 1814 buildCounterReference++;
1780 if (buildCounterReference < 3) { 1815 if (buildCounterReference < 3) {
1781 o.id = "foo"; 1816 o.id = "foo";
1782 o.length = "foo"; 1817 o.length = "foo";
1783 o.md5checksum = "foo"; 1818 o.md5checksum = "foo";
1784 o.name = "foo"; 1819 o.name = "foo";
1785 o.ncbiTaxonId = 42; 1820 o.ncbiTaxonId = 42;
1786 o.sourceAccessions = buildUnnamed1524(); 1821 o.sourceAccessions = buildUnnamed1637();
1787 o.sourceURI = "foo"; 1822 o.sourceURI = "foo";
1788 } 1823 }
1789 buildCounterReference--; 1824 buildCounterReference--;
1790 return o; 1825 return o;
1791 } 1826 }
1792 1827
1793 checkReference(api.Reference o) { 1828 checkReference(api.Reference o) {
1794 buildCounterReference++; 1829 buildCounterReference++;
1795 if (buildCounterReference < 3) { 1830 if (buildCounterReference < 3) {
1796 unittest.expect(o.id, unittest.equals('foo')); 1831 unittest.expect(o.id, unittest.equals('foo'));
1797 unittest.expect(o.length, unittest.equals('foo')); 1832 unittest.expect(o.length, unittest.equals('foo'));
1798 unittest.expect(o.md5checksum, unittest.equals('foo')); 1833 unittest.expect(o.md5checksum, unittest.equals('foo'));
1799 unittest.expect(o.name, unittest.equals('foo')); 1834 unittest.expect(o.name, unittest.equals('foo'));
1800 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); 1835 unittest.expect(o.ncbiTaxonId, unittest.equals(42));
1801 checkUnnamed1524(o.sourceAccessions); 1836 checkUnnamed1637(o.sourceAccessions);
1802 unittest.expect(o.sourceURI, unittest.equals('foo')); 1837 unittest.expect(o.sourceURI, unittest.equals('foo'));
1803 } 1838 }
1804 buildCounterReference--; 1839 buildCounterReference--;
1805 } 1840 }
1806 1841
1807 core.int buildCounterReferenceBound = 0; 1842 core.int buildCounterReferenceBound = 0;
1808 buildReferenceBound() { 1843 buildReferenceBound() {
1809 var o = new api.ReferenceBound(); 1844 var o = new api.ReferenceBound();
1810 buildCounterReferenceBound++; 1845 buildCounterReferenceBound++;
1811 if (buildCounterReferenceBound < 3) { 1846 if (buildCounterReferenceBound < 3) {
1812 o.referenceName = "foo"; 1847 o.referenceName = "foo";
1813 o.upperBound = "foo"; 1848 o.upperBound = "foo";
1814 } 1849 }
1815 buildCounterReferenceBound--; 1850 buildCounterReferenceBound--;
1816 return o; 1851 return o;
1817 } 1852 }
1818 1853
1819 checkReferenceBound(api.ReferenceBound o) { 1854 checkReferenceBound(api.ReferenceBound o) {
1820 buildCounterReferenceBound++; 1855 buildCounterReferenceBound++;
1821 if (buildCounterReferenceBound < 3) { 1856 if (buildCounterReferenceBound < 3) {
1822 unittest.expect(o.referenceName, unittest.equals('foo')); 1857 unittest.expect(o.referenceName, unittest.equals('foo'));
1823 unittest.expect(o.upperBound, unittest.equals('foo')); 1858 unittest.expect(o.upperBound, unittest.equals('foo'));
1824 } 1859 }
1825 buildCounterReferenceBound--; 1860 buildCounterReferenceBound--;
1826 } 1861 }
1827 1862
1828 buildUnnamed1525() { 1863 buildUnnamed1638() {
1829 var o = new core.List<core.String>(); 1864 var o = new core.List<core.String>();
1830 o.add("foo"); 1865 o.add("foo");
1831 o.add("foo"); 1866 o.add("foo");
1832 return o; 1867 return o;
1833 } 1868 }
1834 1869
1835 checkUnnamed1525(core.List<core.String> o) { 1870 checkUnnamed1638(core.List<core.String> o) {
1836 unittest.expect(o, unittest.hasLength(2)); 1871 unittest.expect(o, unittest.hasLength(2));
1837 unittest.expect(o[0], unittest.equals('foo')); 1872 unittest.expect(o[0], unittest.equals('foo'));
1838 unittest.expect(o[1], unittest.equals('foo')); 1873 unittest.expect(o[1], unittest.equals('foo'));
1839 } 1874 }
1840 1875
1841 buildUnnamed1526() { 1876 buildUnnamed1639() {
1842 var o = new core.List<core.String>(); 1877 var o = new core.List<core.String>();
1843 o.add("foo"); 1878 o.add("foo");
1844 o.add("foo"); 1879 o.add("foo");
1845 return o; 1880 return o;
1846 } 1881 }
1847 1882
1848 checkUnnamed1526(core.List<core.String> o) { 1883 checkUnnamed1639(core.List<core.String> o) {
1849 unittest.expect(o, unittest.hasLength(2)); 1884 unittest.expect(o, unittest.hasLength(2));
1850 unittest.expect(o[0], unittest.equals('foo')); 1885 unittest.expect(o[0], unittest.equals('foo'));
1851 unittest.expect(o[1], unittest.equals('foo')); 1886 unittest.expect(o[1], unittest.equals('foo'));
1852 } 1887 }
1853 1888
1854 core.int buildCounterReferenceSet = 0; 1889 core.int buildCounterReferenceSet = 0;
1855 buildReferenceSet() { 1890 buildReferenceSet() {
1856 var o = new api.ReferenceSet(); 1891 var o = new api.ReferenceSet();
1857 buildCounterReferenceSet++; 1892 buildCounterReferenceSet++;
1858 if (buildCounterReferenceSet < 3) { 1893 if (buildCounterReferenceSet < 3) {
1859 o.assemblyId = "foo"; 1894 o.assemblyId = "foo";
1860 o.description = "foo"; 1895 o.description = "foo";
1861 o.id = "foo"; 1896 o.id = "foo";
1862 o.md5checksum = "foo"; 1897 o.md5checksum = "foo";
1863 o.ncbiTaxonId = 42; 1898 o.ncbiTaxonId = 42;
1864 o.referenceIds = buildUnnamed1525(); 1899 o.referenceIds = buildUnnamed1638();
1865 o.sourceAccessions = buildUnnamed1526(); 1900 o.sourceAccessions = buildUnnamed1639();
1866 o.sourceURI = "foo"; 1901 o.sourceURI = "foo";
1867 } 1902 }
1868 buildCounterReferenceSet--; 1903 buildCounterReferenceSet--;
1869 return o; 1904 return o;
1870 } 1905 }
1871 1906
1872 checkReferenceSet(api.ReferenceSet o) { 1907 checkReferenceSet(api.ReferenceSet o) {
1873 buildCounterReferenceSet++; 1908 buildCounterReferenceSet++;
1874 if (buildCounterReferenceSet < 3) { 1909 if (buildCounterReferenceSet < 3) {
1875 unittest.expect(o.assemblyId, unittest.equals('foo')); 1910 unittest.expect(o.assemblyId, unittest.equals('foo'));
1876 unittest.expect(o.description, unittest.equals('foo')); 1911 unittest.expect(o.description, unittest.equals('foo'));
1877 unittest.expect(o.id, unittest.equals('foo')); 1912 unittest.expect(o.id, unittest.equals('foo'));
1878 unittest.expect(o.md5checksum, unittest.equals('foo')); 1913 unittest.expect(o.md5checksum, unittest.equals('foo'));
1879 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); 1914 unittest.expect(o.ncbiTaxonId, unittest.equals(42));
1880 checkUnnamed1525(o.referenceIds); 1915 checkUnnamed1638(o.referenceIds);
1881 checkUnnamed1526(o.sourceAccessions); 1916 checkUnnamed1639(o.sourceAccessions);
1882 unittest.expect(o.sourceURI, unittest.equals('foo')); 1917 unittest.expect(o.sourceURI, unittest.equals('foo'));
1883 } 1918 }
1884 buildCounterReferenceSet--; 1919 buildCounterReferenceSet--;
1885 } 1920 }
1886 1921
1887 buildUnnamed1527() { 1922 buildUnnamed1640() {
1888 var o = new core.List<core.String>(); 1923 var o = new core.List<core.String>();
1889 o.add("foo"); 1924 o.add("foo");
1890 o.add("foo"); 1925 o.add("foo");
1891 return o; 1926 return o;
1892 } 1927 }
1893 1928
1894 checkUnnamed1527(core.List<core.String> o) { 1929 checkUnnamed1640(core.List<core.String> o) {
1895 unittest.expect(o, unittest.hasLength(2)); 1930 unittest.expect(o, unittest.hasLength(2));
1896 unittest.expect(o[0], unittest.equals('foo')); 1931 unittest.expect(o[0], unittest.equals('foo'));
1897 unittest.expect(o[1], unittest.equals('foo')); 1932 unittest.expect(o[1], unittest.equals('foo'));
1898 } 1933 }
1899 1934
1900 buildUnnamed1528() { 1935 buildUnnamed1641() {
1901 var o = new core.List<core.String>(); 1936 var o = new core.List<core.String>();
1902 o.add("foo"); 1937 o.add("foo");
1903 o.add("foo"); 1938 o.add("foo");
1904 return o; 1939 return o;
1905 } 1940 }
1906 1941
1907 checkUnnamed1528(core.List<core.String> o) { 1942 checkUnnamed1641(core.List<core.String> o) {
1908 unittest.expect(o, unittest.hasLength(2)); 1943 unittest.expect(o, unittest.hasLength(2));
1909 unittest.expect(o[0], unittest.equals('foo')); 1944 unittest.expect(o[0], unittest.equals('foo'));
1910 unittest.expect(o[1], unittest.equals('foo')); 1945 unittest.expect(o[1], unittest.equals('foo'));
1911 } 1946 }
1912 1947
1913 core.int buildCounterSearchAnnotationSetsRequest = 0; 1948 core.int buildCounterSearchAnnotationSetsRequest = 0;
1914 buildSearchAnnotationSetsRequest() { 1949 buildSearchAnnotationSetsRequest() {
1915 var o = new api.SearchAnnotationSetsRequest(); 1950 var o = new api.SearchAnnotationSetsRequest();
1916 buildCounterSearchAnnotationSetsRequest++; 1951 buildCounterSearchAnnotationSetsRequest++;
1917 if (buildCounterSearchAnnotationSetsRequest < 3) { 1952 if (buildCounterSearchAnnotationSetsRequest < 3) {
1918 o.datasetIds = buildUnnamed1527(); 1953 o.datasetIds = buildUnnamed1640();
1919 o.name = "foo"; 1954 o.name = "foo";
1920 o.pageSize = 42; 1955 o.pageSize = 42;
1921 o.pageToken = "foo"; 1956 o.pageToken = "foo";
1922 o.referenceSetId = "foo"; 1957 o.referenceSetId = "foo";
1923 o.types = buildUnnamed1528(); 1958 o.types = buildUnnamed1641();
1924 } 1959 }
1925 buildCounterSearchAnnotationSetsRequest--; 1960 buildCounterSearchAnnotationSetsRequest--;
1926 return o; 1961 return o;
1927 } 1962 }
1928 1963
1929 checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) { 1964 checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) {
1930 buildCounterSearchAnnotationSetsRequest++; 1965 buildCounterSearchAnnotationSetsRequest++;
1931 if (buildCounterSearchAnnotationSetsRequest < 3) { 1966 if (buildCounterSearchAnnotationSetsRequest < 3) {
1932 checkUnnamed1527(o.datasetIds); 1967 checkUnnamed1640(o.datasetIds);
1933 unittest.expect(o.name, unittest.equals('foo')); 1968 unittest.expect(o.name, unittest.equals('foo'));
1934 unittest.expect(o.pageSize, unittest.equals(42)); 1969 unittest.expect(o.pageSize, unittest.equals(42));
1935 unittest.expect(o.pageToken, unittest.equals('foo')); 1970 unittest.expect(o.pageToken, unittest.equals('foo'));
1936 unittest.expect(o.referenceSetId, unittest.equals('foo')); 1971 unittest.expect(o.referenceSetId, unittest.equals('foo'));
1937 checkUnnamed1528(o.types); 1972 checkUnnamed1641(o.types);
1938 } 1973 }
1939 buildCounterSearchAnnotationSetsRequest--; 1974 buildCounterSearchAnnotationSetsRequest--;
1940 } 1975 }
1941 1976
1942 buildUnnamed1529() { 1977 buildUnnamed1642() {
1943 var o = new core.List<api.AnnotationSet>(); 1978 var o = new core.List<api.AnnotationSet>();
1944 o.add(buildAnnotationSet()); 1979 o.add(buildAnnotationSet());
1945 o.add(buildAnnotationSet()); 1980 o.add(buildAnnotationSet());
1946 return o; 1981 return o;
1947 } 1982 }
1948 1983
1949 checkUnnamed1529(core.List<api.AnnotationSet> o) { 1984 checkUnnamed1642(core.List<api.AnnotationSet> o) {
1950 unittest.expect(o, unittest.hasLength(2)); 1985 unittest.expect(o, unittest.hasLength(2));
1951 checkAnnotationSet(o[0]); 1986 checkAnnotationSet(o[0]);
1952 checkAnnotationSet(o[1]); 1987 checkAnnotationSet(o[1]);
1953 } 1988 }
1954 1989
1955 core.int buildCounterSearchAnnotationSetsResponse = 0; 1990 core.int buildCounterSearchAnnotationSetsResponse = 0;
1956 buildSearchAnnotationSetsResponse() { 1991 buildSearchAnnotationSetsResponse() {
1957 var o = new api.SearchAnnotationSetsResponse(); 1992 var o = new api.SearchAnnotationSetsResponse();
1958 buildCounterSearchAnnotationSetsResponse++; 1993 buildCounterSearchAnnotationSetsResponse++;
1959 if (buildCounterSearchAnnotationSetsResponse < 3) { 1994 if (buildCounterSearchAnnotationSetsResponse < 3) {
1960 o.annotationSets = buildUnnamed1529(); 1995 o.annotationSets = buildUnnamed1642();
1961 o.nextPageToken = "foo"; 1996 o.nextPageToken = "foo";
1962 } 1997 }
1963 buildCounterSearchAnnotationSetsResponse--; 1998 buildCounterSearchAnnotationSetsResponse--;
1964 return o; 1999 return o;
1965 } 2000 }
1966 2001
1967 checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) { 2002 checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) {
1968 buildCounterSearchAnnotationSetsResponse++; 2003 buildCounterSearchAnnotationSetsResponse++;
1969 if (buildCounterSearchAnnotationSetsResponse < 3) { 2004 if (buildCounterSearchAnnotationSetsResponse < 3) {
1970 checkUnnamed1529(o.annotationSets); 2005 checkUnnamed1642(o.annotationSets);
1971 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2006 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1972 } 2007 }
1973 buildCounterSearchAnnotationSetsResponse--; 2008 buildCounterSearchAnnotationSetsResponse--;
1974 } 2009 }
1975 2010
1976 buildUnnamed1530() { 2011 buildUnnamed1643() {
1977 var o = new core.List<core.String>(); 2012 var o = new core.List<core.String>();
1978 o.add("foo"); 2013 o.add("foo");
1979 o.add("foo"); 2014 o.add("foo");
1980 return o; 2015 return o;
1981 } 2016 }
1982 2017
1983 checkUnnamed1530(core.List<core.String> o) { 2018 checkUnnamed1643(core.List<core.String> o) {
1984 unittest.expect(o, unittest.hasLength(2)); 2019 unittest.expect(o, unittest.hasLength(2));
1985 unittest.expect(o[0], unittest.equals('foo')); 2020 unittest.expect(o[0], unittest.equals('foo'));
1986 unittest.expect(o[1], unittest.equals('foo')); 2021 unittest.expect(o[1], unittest.equals('foo'));
1987 } 2022 }
1988 2023
1989 core.int buildCounterSearchAnnotationsRequest = 0; 2024 core.int buildCounterSearchAnnotationsRequest = 0;
1990 buildSearchAnnotationsRequest() { 2025 buildSearchAnnotationsRequest() {
1991 var o = new api.SearchAnnotationsRequest(); 2026 var o = new api.SearchAnnotationsRequest();
1992 buildCounterSearchAnnotationsRequest++; 2027 buildCounterSearchAnnotationsRequest++;
1993 if (buildCounterSearchAnnotationsRequest < 3) { 2028 if (buildCounterSearchAnnotationsRequest < 3) {
1994 o.annotationSetIds = buildUnnamed1530(); 2029 o.annotationSetIds = buildUnnamed1643();
1995 o.pageSize = 42; 2030 o.pageSize = 42;
1996 o.pageToken = "foo"; 2031 o.pageToken = "foo";
1997 o.range = buildQueryRange(); 2032 o.range = buildQueryRange();
1998 } 2033 }
1999 buildCounterSearchAnnotationsRequest--; 2034 buildCounterSearchAnnotationsRequest--;
2000 return o; 2035 return o;
2001 } 2036 }
2002 2037
2003 checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) { 2038 checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) {
2004 buildCounterSearchAnnotationsRequest++; 2039 buildCounterSearchAnnotationsRequest++;
2005 if (buildCounterSearchAnnotationsRequest < 3) { 2040 if (buildCounterSearchAnnotationsRequest < 3) {
2006 checkUnnamed1530(o.annotationSetIds); 2041 checkUnnamed1643(o.annotationSetIds);
2007 unittest.expect(o.pageSize, unittest.equals(42)); 2042 unittest.expect(o.pageSize, unittest.equals(42));
2008 unittest.expect(o.pageToken, unittest.equals('foo')); 2043 unittest.expect(o.pageToken, unittest.equals('foo'));
2009 checkQueryRange(o.range); 2044 checkQueryRange(o.range);
2010 } 2045 }
2011 buildCounterSearchAnnotationsRequest--; 2046 buildCounterSearchAnnotationsRequest--;
2012 } 2047 }
2013 2048
2014 buildUnnamed1531() { 2049 buildUnnamed1644() {
2015 var o = new core.List<api.Annotation>(); 2050 var o = new core.List<api.Annotation>();
2016 o.add(buildAnnotation()); 2051 o.add(buildAnnotation());
2017 o.add(buildAnnotation()); 2052 o.add(buildAnnotation());
2018 return o; 2053 return o;
2019 } 2054 }
2020 2055
2021 checkUnnamed1531(core.List<api.Annotation> o) { 2056 checkUnnamed1644(core.List<api.Annotation> o) {
2022 unittest.expect(o, unittest.hasLength(2)); 2057 unittest.expect(o, unittest.hasLength(2));
2023 checkAnnotation(o[0]); 2058 checkAnnotation(o[0]);
2024 checkAnnotation(o[1]); 2059 checkAnnotation(o[1]);
2025 } 2060 }
2026 2061
2027 core.int buildCounterSearchAnnotationsResponse = 0; 2062 core.int buildCounterSearchAnnotationsResponse = 0;
2028 buildSearchAnnotationsResponse() { 2063 buildSearchAnnotationsResponse() {
2029 var o = new api.SearchAnnotationsResponse(); 2064 var o = new api.SearchAnnotationsResponse();
2030 buildCounterSearchAnnotationsResponse++; 2065 buildCounterSearchAnnotationsResponse++;
2031 if (buildCounterSearchAnnotationsResponse < 3) { 2066 if (buildCounterSearchAnnotationsResponse < 3) {
2032 o.annotations = buildUnnamed1531(); 2067 o.annotations = buildUnnamed1644();
2033 o.nextPageToken = "foo"; 2068 o.nextPageToken = "foo";
2034 } 2069 }
2035 buildCounterSearchAnnotationsResponse--; 2070 buildCounterSearchAnnotationsResponse--;
2036 return o; 2071 return o;
2037 } 2072 }
2038 2073
2039 checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) { 2074 checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) {
2040 buildCounterSearchAnnotationsResponse++; 2075 buildCounterSearchAnnotationsResponse++;
2041 if (buildCounterSearchAnnotationsResponse < 3) { 2076 if (buildCounterSearchAnnotationsResponse < 3) {
2042 checkUnnamed1531(o.annotations); 2077 checkUnnamed1644(o.annotations);
2043 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2078 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2044 } 2079 }
2045 buildCounterSearchAnnotationsResponse--; 2080 buildCounterSearchAnnotationsResponse--;
2046 } 2081 }
2047 2082
2048 buildUnnamed1532() { 2083 buildUnnamed1645() {
2049 var o = new core.List<core.String>(); 2084 var o = new core.List<core.String>();
2050 o.add("foo"); 2085 o.add("foo");
2051 o.add("foo"); 2086 o.add("foo");
2052 return o; 2087 return o;
2053 } 2088 }
2054 2089
2055 checkUnnamed1532(core.List<core.String> o) { 2090 checkUnnamed1645(core.List<core.String> o) {
2056 unittest.expect(o, unittest.hasLength(2)); 2091 unittest.expect(o, unittest.hasLength(2));
2057 unittest.expect(o[0], unittest.equals('foo')); 2092 unittest.expect(o[0], unittest.equals('foo'));
2058 unittest.expect(o[1], unittest.equals('foo')); 2093 unittest.expect(o[1], unittest.equals('foo'));
2059 } 2094 }
2060 2095
2061 core.int buildCounterSearchCallSetsRequest = 0; 2096 core.int buildCounterSearchCallSetsRequest = 0;
2062 buildSearchCallSetsRequest() { 2097 buildSearchCallSetsRequest() {
2063 var o = new api.SearchCallSetsRequest(); 2098 var o = new api.SearchCallSetsRequest();
2064 buildCounterSearchCallSetsRequest++; 2099 buildCounterSearchCallSetsRequest++;
2065 if (buildCounterSearchCallSetsRequest < 3) { 2100 if (buildCounterSearchCallSetsRequest < 3) {
2066 o.name = "foo"; 2101 o.name = "foo";
2067 o.pageSize = 42; 2102 o.pageSize = 42;
2068 o.pageToken = "foo"; 2103 o.pageToken = "foo";
2069 o.variantSetIds = buildUnnamed1532(); 2104 o.variantSetIds = buildUnnamed1645();
2070 } 2105 }
2071 buildCounterSearchCallSetsRequest--; 2106 buildCounterSearchCallSetsRequest--;
2072 return o; 2107 return o;
2073 } 2108 }
2074 2109
2075 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { 2110 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) {
2076 buildCounterSearchCallSetsRequest++; 2111 buildCounterSearchCallSetsRequest++;
2077 if (buildCounterSearchCallSetsRequest < 3) { 2112 if (buildCounterSearchCallSetsRequest < 3) {
2078 unittest.expect(o.name, unittest.equals('foo')); 2113 unittest.expect(o.name, unittest.equals('foo'));
2079 unittest.expect(o.pageSize, unittest.equals(42)); 2114 unittest.expect(o.pageSize, unittest.equals(42));
2080 unittest.expect(o.pageToken, unittest.equals('foo')); 2115 unittest.expect(o.pageToken, unittest.equals('foo'));
2081 checkUnnamed1532(o.variantSetIds); 2116 checkUnnamed1645(o.variantSetIds);
2082 } 2117 }
2083 buildCounterSearchCallSetsRequest--; 2118 buildCounterSearchCallSetsRequest--;
2084 } 2119 }
2085 2120
2086 buildUnnamed1533() { 2121 buildUnnamed1646() {
2087 var o = new core.List<api.CallSet>(); 2122 var o = new core.List<api.CallSet>();
2088 o.add(buildCallSet()); 2123 o.add(buildCallSet());
2089 o.add(buildCallSet()); 2124 o.add(buildCallSet());
2090 return o; 2125 return o;
2091 } 2126 }
2092 2127
2093 checkUnnamed1533(core.List<api.CallSet> o) { 2128 checkUnnamed1646(core.List<api.CallSet> o) {
2094 unittest.expect(o, unittest.hasLength(2)); 2129 unittest.expect(o, unittest.hasLength(2));
2095 checkCallSet(o[0]); 2130 checkCallSet(o[0]);
2096 checkCallSet(o[1]); 2131 checkCallSet(o[1]);
2097 } 2132 }
2098 2133
2099 core.int buildCounterSearchCallSetsResponse = 0; 2134 core.int buildCounterSearchCallSetsResponse = 0;
2100 buildSearchCallSetsResponse() { 2135 buildSearchCallSetsResponse() {
2101 var o = new api.SearchCallSetsResponse(); 2136 var o = new api.SearchCallSetsResponse();
2102 buildCounterSearchCallSetsResponse++; 2137 buildCounterSearchCallSetsResponse++;
2103 if (buildCounterSearchCallSetsResponse < 3) { 2138 if (buildCounterSearchCallSetsResponse < 3) {
2104 o.callSets = buildUnnamed1533(); 2139 o.callSets = buildUnnamed1646();
2105 o.nextPageToken = "foo"; 2140 o.nextPageToken = "foo";
2106 } 2141 }
2107 buildCounterSearchCallSetsResponse--; 2142 buildCounterSearchCallSetsResponse--;
2108 return o; 2143 return o;
2109 } 2144 }
2110 2145
2111 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { 2146 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) {
2112 buildCounterSearchCallSetsResponse++; 2147 buildCounterSearchCallSetsResponse++;
2113 if (buildCounterSearchCallSetsResponse < 3) { 2148 if (buildCounterSearchCallSetsResponse < 3) {
2114 checkUnnamed1533(o.callSets); 2149 checkUnnamed1646(o.callSets);
2115 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2150 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2116 } 2151 }
2117 buildCounterSearchCallSetsResponse--; 2152 buildCounterSearchCallSetsResponse--;
2118 } 2153 }
2119 2154
2120 buildUnnamed1534() { 2155 buildUnnamed1647() {
2121 var o = new core.List<core.String>(); 2156 var o = new core.List<core.String>();
2122 o.add("foo"); 2157 o.add("foo");
2123 o.add("foo"); 2158 o.add("foo");
2124 return o; 2159 return o;
2125 } 2160 }
2126 2161
2127 checkUnnamed1534(core.List<core.String> o) { 2162 checkUnnamed1647(core.List<core.String> o) {
2128 unittest.expect(o, unittest.hasLength(2)); 2163 unittest.expect(o, unittest.hasLength(2));
2129 unittest.expect(o[0], unittest.equals('foo')); 2164 unittest.expect(o[0], unittest.equals('foo'));
2130 unittest.expect(o[1], unittest.equals('foo')); 2165 unittest.expect(o[1], unittest.equals('foo'));
2131 } 2166 }
2132 2167
2133 core.int buildCounterSearchJobsRequest = 0; 2168 core.int buildCounterSearchJobsRequest = 0;
2134 buildSearchJobsRequest() { 2169 buildSearchJobsRequest() {
2135 var o = new api.SearchJobsRequest(); 2170 var o = new api.SearchJobsRequest();
2136 buildCounterSearchJobsRequest++; 2171 buildCounterSearchJobsRequest++;
2137 if (buildCounterSearchJobsRequest < 3) { 2172 if (buildCounterSearchJobsRequest < 3) {
2138 o.createdAfter = "foo"; 2173 o.createdAfter = "foo";
2139 o.createdBefore = "foo"; 2174 o.createdBefore = "foo";
2140 o.pageSize = 42; 2175 o.pageSize = 42;
2141 o.pageToken = "foo"; 2176 o.pageToken = "foo";
2142 o.projectNumber = "foo"; 2177 o.projectNumber = "foo";
2143 o.status = buildUnnamed1534(); 2178 o.status = buildUnnamed1647();
2144 } 2179 }
2145 buildCounterSearchJobsRequest--; 2180 buildCounterSearchJobsRequest--;
2146 return o; 2181 return o;
2147 } 2182 }
2148 2183
2149 checkSearchJobsRequest(api.SearchJobsRequest o) { 2184 checkSearchJobsRequest(api.SearchJobsRequest o) {
2150 buildCounterSearchJobsRequest++; 2185 buildCounterSearchJobsRequest++;
2151 if (buildCounterSearchJobsRequest < 3) { 2186 if (buildCounterSearchJobsRequest < 3) {
2152 unittest.expect(o.createdAfter, unittest.equals('foo')); 2187 unittest.expect(o.createdAfter, unittest.equals('foo'));
2153 unittest.expect(o.createdBefore, unittest.equals('foo')); 2188 unittest.expect(o.createdBefore, unittest.equals('foo'));
2154 unittest.expect(o.pageSize, unittest.equals(42)); 2189 unittest.expect(o.pageSize, unittest.equals(42));
2155 unittest.expect(o.pageToken, unittest.equals('foo')); 2190 unittest.expect(o.pageToken, unittest.equals('foo'));
2156 unittest.expect(o.projectNumber, unittest.equals('foo')); 2191 unittest.expect(o.projectNumber, unittest.equals('foo'));
2157 checkUnnamed1534(o.status); 2192 checkUnnamed1647(o.status);
2158 } 2193 }
2159 buildCounterSearchJobsRequest--; 2194 buildCounterSearchJobsRequest--;
2160 } 2195 }
2161 2196
2162 buildUnnamed1535() { 2197 buildUnnamed1648() {
2163 var o = new core.List<api.Job>(); 2198 var o = new core.List<api.Job>();
2164 o.add(buildJob()); 2199 o.add(buildJob());
2165 o.add(buildJob()); 2200 o.add(buildJob());
2166 return o; 2201 return o;
2167 } 2202 }
2168 2203
2169 checkUnnamed1535(core.List<api.Job> o) { 2204 checkUnnamed1648(core.List<api.Job> o) {
2170 unittest.expect(o, unittest.hasLength(2)); 2205 unittest.expect(o, unittest.hasLength(2));
2171 checkJob(o[0]); 2206 checkJob(o[0]);
2172 checkJob(o[1]); 2207 checkJob(o[1]);
2173 } 2208 }
2174 2209
2175 core.int buildCounterSearchJobsResponse = 0; 2210 core.int buildCounterSearchJobsResponse = 0;
2176 buildSearchJobsResponse() { 2211 buildSearchJobsResponse() {
2177 var o = new api.SearchJobsResponse(); 2212 var o = new api.SearchJobsResponse();
2178 buildCounterSearchJobsResponse++; 2213 buildCounterSearchJobsResponse++;
2179 if (buildCounterSearchJobsResponse < 3) { 2214 if (buildCounterSearchJobsResponse < 3) {
2180 o.jobs = buildUnnamed1535(); 2215 o.jobs = buildUnnamed1648();
2181 o.nextPageToken = "foo"; 2216 o.nextPageToken = "foo";
2182 } 2217 }
2183 buildCounterSearchJobsResponse--; 2218 buildCounterSearchJobsResponse--;
2184 return o; 2219 return o;
2185 } 2220 }
2186 2221
2187 checkSearchJobsResponse(api.SearchJobsResponse o) { 2222 checkSearchJobsResponse(api.SearchJobsResponse o) {
2188 buildCounterSearchJobsResponse++; 2223 buildCounterSearchJobsResponse++;
2189 if (buildCounterSearchJobsResponse < 3) { 2224 if (buildCounterSearchJobsResponse < 3) {
2190 checkUnnamed1535(o.jobs); 2225 checkUnnamed1648(o.jobs);
2191 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2226 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2192 } 2227 }
2193 buildCounterSearchJobsResponse--; 2228 buildCounterSearchJobsResponse--;
2194 } 2229 }
2195 2230
2196 buildUnnamed1536() { 2231 buildUnnamed1649() {
2197 var o = new core.List<core.String>(); 2232 var o = new core.List<core.String>();
2198 o.add("foo"); 2233 o.add("foo");
2199 o.add("foo"); 2234 o.add("foo");
2200 return o; 2235 return o;
2201 } 2236 }
2202 2237
2203 checkUnnamed1536(core.List<core.String> o) { 2238 checkUnnamed1649(core.List<core.String> o) {
2204 unittest.expect(o, unittest.hasLength(2)); 2239 unittest.expect(o, unittest.hasLength(2));
2205 unittest.expect(o[0], unittest.equals('foo')); 2240 unittest.expect(o[0], unittest.equals('foo'));
2206 unittest.expect(o[1], unittest.equals('foo')); 2241 unittest.expect(o[1], unittest.equals('foo'));
2207 } 2242 }
2208 2243
2209 core.int buildCounterSearchReadGroupSetsRequest = 0; 2244 core.int buildCounterSearchReadGroupSetsRequest = 0;
2210 buildSearchReadGroupSetsRequest() { 2245 buildSearchReadGroupSetsRequest() {
2211 var o = new api.SearchReadGroupSetsRequest(); 2246 var o = new api.SearchReadGroupSetsRequest();
2212 buildCounterSearchReadGroupSetsRequest++; 2247 buildCounterSearchReadGroupSetsRequest++;
2213 if (buildCounterSearchReadGroupSetsRequest < 3) { 2248 if (buildCounterSearchReadGroupSetsRequest < 3) {
2214 o.datasetIds = buildUnnamed1536(); 2249 o.datasetIds = buildUnnamed1649();
2215 o.name = "foo"; 2250 o.name = "foo";
2216 o.pageSize = 42; 2251 o.pageSize = 42;
2217 o.pageToken = "foo"; 2252 o.pageToken = "foo";
2218 } 2253 }
2219 buildCounterSearchReadGroupSetsRequest--; 2254 buildCounterSearchReadGroupSetsRequest--;
2220 return o; 2255 return o;
2221 } 2256 }
2222 2257
2223 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { 2258 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) {
2224 buildCounterSearchReadGroupSetsRequest++; 2259 buildCounterSearchReadGroupSetsRequest++;
2225 if (buildCounterSearchReadGroupSetsRequest < 3) { 2260 if (buildCounterSearchReadGroupSetsRequest < 3) {
2226 checkUnnamed1536(o.datasetIds); 2261 checkUnnamed1649(o.datasetIds);
2227 unittest.expect(o.name, unittest.equals('foo')); 2262 unittest.expect(o.name, unittest.equals('foo'));
2228 unittest.expect(o.pageSize, unittest.equals(42)); 2263 unittest.expect(o.pageSize, unittest.equals(42));
2229 unittest.expect(o.pageToken, unittest.equals('foo')); 2264 unittest.expect(o.pageToken, unittest.equals('foo'));
2230 } 2265 }
2231 buildCounterSearchReadGroupSetsRequest--; 2266 buildCounterSearchReadGroupSetsRequest--;
2232 } 2267 }
2233 2268
2234 buildUnnamed1537() { 2269 buildUnnamed1650() {
2235 var o = new core.List<api.ReadGroupSet>(); 2270 var o = new core.List<api.ReadGroupSet>();
2236 o.add(buildReadGroupSet()); 2271 o.add(buildReadGroupSet());
2237 o.add(buildReadGroupSet()); 2272 o.add(buildReadGroupSet());
2238 return o; 2273 return o;
2239 } 2274 }
2240 2275
2241 checkUnnamed1537(core.List<api.ReadGroupSet> o) { 2276 checkUnnamed1650(core.List<api.ReadGroupSet> o) {
2242 unittest.expect(o, unittest.hasLength(2)); 2277 unittest.expect(o, unittest.hasLength(2));
2243 checkReadGroupSet(o[0]); 2278 checkReadGroupSet(o[0]);
2244 checkReadGroupSet(o[1]); 2279 checkReadGroupSet(o[1]);
2245 } 2280 }
2246 2281
2247 core.int buildCounterSearchReadGroupSetsResponse = 0; 2282 core.int buildCounterSearchReadGroupSetsResponse = 0;
2248 buildSearchReadGroupSetsResponse() { 2283 buildSearchReadGroupSetsResponse() {
2249 var o = new api.SearchReadGroupSetsResponse(); 2284 var o = new api.SearchReadGroupSetsResponse();
2250 buildCounterSearchReadGroupSetsResponse++; 2285 buildCounterSearchReadGroupSetsResponse++;
2251 if (buildCounterSearchReadGroupSetsResponse < 3) { 2286 if (buildCounterSearchReadGroupSetsResponse < 3) {
2252 o.nextPageToken = "foo"; 2287 o.nextPageToken = "foo";
2253 o.readGroupSets = buildUnnamed1537(); 2288 o.readGroupSets = buildUnnamed1650();
2254 } 2289 }
2255 buildCounterSearchReadGroupSetsResponse--; 2290 buildCounterSearchReadGroupSetsResponse--;
2256 return o; 2291 return o;
2257 } 2292 }
2258 2293
2259 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { 2294 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) {
2260 buildCounterSearchReadGroupSetsResponse++; 2295 buildCounterSearchReadGroupSetsResponse++;
2261 if (buildCounterSearchReadGroupSetsResponse < 3) { 2296 if (buildCounterSearchReadGroupSetsResponse < 3) {
2262 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2297 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2263 checkUnnamed1537(o.readGroupSets); 2298 checkUnnamed1650(o.readGroupSets);
2264 } 2299 }
2265 buildCounterSearchReadGroupSetsResponse--; 2300 buildCounterSearchReadGroupSetsResponse--;
2266 } 2301 }
2267 2302
2268 buildUnnamed1538() { 2303 buildUnnamed1651() {
2269 var o = new core.List<core.String>(); 2304 var o = new core.List<core.String>();
2270 o.add("foo"); 2305 o.add("foo");
2271 o.add("foo"); 2306 o.add("foo");
2272 return o; 2307 return o;
2273 } 2308 }
2274 2309
2275 checkUnnamed1538(core.List<core.String> o) { 2310 checkUnnamed1651(core.List<core.String> o) {
2276 unittest.expect(o, unittest.hasLength(2)); 2311 unittest.expect(o, unittest.hasLength(2));
2277 unittest.expect(o[0], unittest.equals('foo')); 2312 unittest.expect(o[0], unittest.equals('foo'));
2278 unittest.expect(o[1], unittest.equals('foo')); 2313 unittest.expect(o[1], unittest.equals('foo'));
2279 } 2314 }
2280 2315
2281 buildUnnamed1539() { 2316 buildUnnamed1652() {
2282 var o = new core.List<core.String>(); 2317 var o = new core.List<core.String>();
2283 o.add("foo"); 2318 o.add("foo");
2284 o.add("foo"); 2319 o.add("foo");
2285 return o; 2320 return o;
2286 } 2321 }
2287 2322
2288 checkUnnamed1539(core.List<core.String> o) { 2323 checkUnnamed1652(core.List<core.String> o) {
2289 unittest.expect(o, unittest.hasLength(2)); 2324 unittest.expect(o, unittest.hasLength(2));
2290 unittest.expect(o[0], unittest.equals('foo')); 2325 unittest.expect(o[0], unittest.equals('foo'));
2291 unittest.expect(o[1], unittest.equals('foo')); 2326 unittest.expect(o[1], unittest.equals('foo'));
2292 } 2327 }
2293 2328
2294 core.int buildCounterSearchReadsRequest = 0; 2329 core.int buildCounterSearchReadsRequest = 0;
2295 buildSearchReadsRequest() { 2330 buildSearchReadsRequest() {
2296 var o = new api.SearchReadsRequest(); 2331 var o = new api.SearchReadsRequest();
2297 buildCounterSearchReadsRequest++; 2332 buildCounterSearchReadsRequest++;
2298 if (buildCounterSearchReadsRequest < 3) { 2333 if (buildCounterSearchReadsRequest < 3) {
2299 o.end = "foo"; 2334 o.end = "foo";
2300 o.pageSize = 42; 2335 o.pageSize = 42;
2301 o.pageToken = "foo"; 2336 o.pageToken = "foo";
2302 o.readGroupIds = buildUnnamed1538(); 2337 o.readGroupIds = buildUnnamed1651();
2303 o.readGroupSetIds = buildUnnamed1539(); 2338 o.readGroupSetIds = buildUnnamed1652();
2304 o.referenceName = "foo"; 2339 o.referenceName = "foo";
2305 o.start = "foo"; 2340 o.start = "foo";
2306 } 2341 }
2307 buildCounterSearchReadsRequest--; 2342 buildCounterSearchReadsRequest--;
2308 return o; 2343 return o;
2309 } 2344 }
2310 2345
2311 checkSearchReadsRequest(api.SearchReadsRequest o) { 2346 checkSearchReadsRequest(api.SearchReadsRequest o) {
2312 buildCounterSearchReadsRequest++; 2347 buildCounterSearchReadsRequest++;
2313 if (buildCounterSearchReadsRequest < 3) { 2348 if (buildCounterSearchReadsRequest < 3) {
2314 unittest.expect(o.end, unittest.equals('foo')); 2349 unittest.expect(o.end, unittest.equals('foo'));
2315 unittest.expect(o.pageSize, unittest.equals(42)); 2350 unittest.expect(o.pageSize, unittest.equals(42));
2316 unittest.expect(o.pageToken, unittest.equals('foo')); 2351 unittest.expect(o.pageToken, unittest.equals('foo'));
2317 checkUnnamed1538(o.readGroupIds); 2352 checkUnnamed1651(o.readGroupIds);
2318 checkUnnamed1539(o.readGroupSetIds); 2353 checkUnnamed1652(o.readGroupSetIds);
2319 unittest.expect(o.referenceName, unittest.equals('foo')); 2354 unittest.expect(o.referenceName, unittest.equals('foo'));
2320 unittest.expect(o.start, unittest.equals('foo')); 2355 unittest.expect(o.start, unittest.equals('foo'));
2321 } 2356 }
2322 buildCounterSearchReadsRequest--; 2357 buildCounterSearchReadsRequest--;
2323 } 2358 }
2324 2359
2325 buildUnnamed1540() { 2360 buildUnnamed1653() {
2326 var o = new core.List<api.Read>(); 2361 var o = new core.List<api.Read>();
2327 o.add(buildRead()); 2362 o.add(buildRead());
2328 o.add(buildRead()); 2363 o.add(buildRead());
2329 return o; 2364 return o;
2330 } 2365 }
2331 2366
2332 checkUnnamed1540(core.List<api.Read> o) { 2367 checkUnnamed1653(core.List<api.Read> o) {
2333 unittest.expect(o, unittest.hasLength(2)); 2368 unittest.expect(o, unittest.hasLength(2));
2334 checkRead(o[0]); 2369 checkRead(o[0]);
2335 checkRead(o[1]); 2370 checkRead(o[1]);
2336 } 2371 }
2337 2372
2338 core.int buildCounterSearchReadsResponse = 0; 2373 core.int buildCounterSearchReadsResponse = 0;
2339 buildSearchReadsResponse() { 2374 buildSearchReadsResponse() {
2340 var o = new api.SearchReadsResponse(); 2375 var o = new api.SearchReadsResponse();
2341 buildCounterSearchReadsResponse++; 2376 buildCounterSearchReadsResponse++;
2342 if (buildCounterSearchReadsResponse < 3) { 2377 if (buildCounterSearchReadsResponse < 3) {
2343 o.alignments = buildUnnamed1540(); 2378 o.alignments = buildUnnamed1653();
2344 o.nextPageToken = "foo"; 2379 o.nextPageToken = "foo";
2345 } 2380 }
2346 buildCounterSearchReadsResponse--; 2381 buildCounterSearchReadsResponse--;
2347 return o; 2382 return o;
2348 } 2383 }
2349 2384
2350 checkSearchReadsResponse(api.SearchReadsResponse o) { 2385 checkSearchReadsResponse(api.SearchReadsResponse o) {
2351 buildCounterSearchReadsResponse++; 2386 buildCounterSearchReadsResponse++;
2352 if (buildCounterSearchReadsResponse < 3) { 2387 if (buildCounterSearchReadsResponse < 3) {
2353 checkUnnamed1540(o.alignments); 2388 checkUnnamed1653(o.alignments);
2354 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2389 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2355 } 2390 }
2356 buildCounterSearchReadsResponse--; 2391 buildCounterSearchReadsResponse--;
2357 } 2392 }
2358 2393
2359 buildUnnamed1541() { 2394 buildUnnamed1654() {
2360 var o = new core.List<core.String>(); 2395 var o = new core.List<core.String>();
2361 o.add("foo"); 2396 o.add("foo");
2362 o.add("foo"); 2397 o.add("foo");
2363 return o; 2398 return o;
2364 } 2399 }
2365 2400
2366 checkUnnamed1541(core.List<core.String> o) { 2401 checkUnnamed1654(core.List<core.String> o) {
2367 unittest.expect(o, unittest.hasLength(2)); 2402 unittest.expect(o, unittest.hasLength(2));
2368 unittest.expect(o[0], unittest.equals('foo')); 2403 unittest.expect(o[0], unittest.equals('foo'));
2369 unittest.expect(o[1], unittest.equals('foo')); 2404 unittest.expect(o[1], unittest.equals('foo'));
2370 } 2405 }
2371 2406
2372 buildUnnamed1542() { 2407 buildUnnamed1655() {
2373 var o = new core.List<core.String>(); 2408 var o = new core.List<core.String>();
2374 o.add("foo"); 2409 o.add("foo");
2375 o.add("foo"); 2410 o.add("foo");
2376 return o; 2411 return o;
2377 } 2412 }
2378 2413
2379 checkUnnamed1542(core.List<core.String> o) { 2414 checkUnnamed1655(core.List<core.String> o) {
2380 unittest.expect(o, unittest.hasLength(2)); 2415 unittest.expect(o, unittest.hasLength(2));
2381 unittest.expect(o[0], unittest.equals('foo')); 2416 unittest.expect(o[0], unittest.equals('foo'));
2382 unittest.expect(o[1], unittest.equals('foo')); 2417 unittest.expect(o[1], unittest.equals('foo'));
2383 } 2418 }
2384 2419
2385 core.int buildCounterSearchReferenceSetsRequest = 0; 2420 core.int buildCounterSearchReferenceSetsRequest = 0;
2386 buildSearchReferenceSetsRequest() { 2421 buildSearchReferenceSetsRequest() {
2387 var o = new api.SearchReferenceSetsRequest(); 2422 var o = new api.SearchReferenceSetsRequest();
2388 buildCounterSearchReferenceSetsRequest++; 2423 buildCounterSearchReferenceSetsRequest++;
2389 if (buildCounterSearchReferenceSetsRequest < 3) { 2424 if (buildCounterSearchReferenceSetsRequest < 3) {
2390 o.accessions = buildUnnamed1541(); 2425 o.accessions = buildUnnamed1654();
2391 o.assemblyId = "foo"; 2426 o.assemblyId = "foo";
2392 o.md5checksums = buildUnnamed1542(); 2427 o.md5checksums = buildUnnamed1655();
2393 o.pageSize = 42; 2428 o.pageSize = 42;
2394 o.pageToken = "foo"; 2429 o.pageToken = "foo";
2395 } 2430 }
2396 buildCounterSearchReferenceSetsRequest--; 2431 buildCounterSearchReferenceSetsRequest--;
2397 return o; 2432 return o;
2398 } 2433 }
2399 2434
2400 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { 2435 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) {
2401 buildCounterSearchReferenceSetsRequest++; 2436 buildCounterSearchReferenceSetsRequest++;
2402 if (buildCounterSearchReferenceSetsRequest < 3) { 2437 if (buildCounterSearchReferenceSetsRequest < 3) {
2403 checkUnnamed1541(o.accessions); 2438 checkUnnamed1654(o.accessions);
2404 unittest.expect(o.assemblyId, unittest.equals('foo')); 2439 unittest.expect(o.assemblyId, unittest.equals('foo'));
2405 checkUnnamed1542(o.md5checksums); 2440 checkUnnamed1655(o.md5checksums);
2406 unittest.expect(o.pageSize, unittest.equals(42)); 2441 unittest.expect(o.pageSize, unittest.equals(42));
2407 unittest.expect(o.pageToken, unittest.equals('foo')); 2442 unittest.expect(o.pageToken, unittest.equals('foo'));
2408 } 2443 }
2409 buildCounterSearchReferenceSetsRequest--; 2444 buildCounterSearchReferenceSetsRequest--;
2410 } 2445 }
2411 2446
2412 buildUnnamed1543() { 2447 buildUnnamed1656() {
2413 var o = new core.List<api.ReferenceSet>(); 2448 var o = new core.List<api.ReferenceSet>();
2414 o.add(buildReferenceSet()); 2449 o.add(buildReferenceSet());
2415 o.add(buildReferenceSet()); 2450 o.add(buildReferenceSet());
2416 return o; 2451 return o;
2417 } 2452 }
2418 2453
2419 checkUnnamed1543(core.List<api.ReferenceSet> o) { 2454 checkUnnamed1656(core.List<api.ReferenceSet> o) {
2420 unittest.expect(o, unittest.hasLength(2)); 2455 unittest.expect(o, unittest.hasLength(2));
2421 checkReferenceSet(o[0]); 2456 checkReferenceSet(o[0]);
2422 checkReferenceSet(o[1]); 2457 checkReferenceSet(o[1]);
2423 } 2458 }
2424 2459
2425 core.int buildCounterSearchReferenceSetsResponse = 0; 2460 core.int buildCounterSearchReferenceSetsResponse = 0;
2426 buildSearchReferenceSetsResponse() { 2461 buildSearchReferenceSetsResponse() {
2427 var o = new api.SearchReferenceSetsResponse(); 2462 var o = new api.SearchReferenceSetsResponse();
2428 buildCounterSearchReferenceSetsResponse++; 2463 buildCounterSearchReferenceSetsResponse++;
2429 if (buildCounterSearchReferenceSetsResponse < 3) { 2464 if (buildCounterSearchReferenceSetsResponse < 3) {
2430 o.nextPageToken = "foo"; 2465 o.nextPageToken = "foo";
2431 o.referenceSets = buildUnnamed1543(); 2466 o.referenceSets = buildUnnamed1656();
2432 } 2467 }
2433 buildCounterSearchReferenceSetsResponse--; 2468 buildCounterSearchReferenceSetsResponse--;
2434 return o; 2469 return o;
2435 } 2470 }
2436 2471
2437 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { 2472 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) {
2438 buildCounterSearchReferenceSetsResponse++; 2473 buildCounterSearchReferenceSetsResponse++;
2439 if (buildCounterSearchReferenceSetsResponse < 3) { 2474 if (buildCounterSearchReferenceSetsResponse < 3) {
2440 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2475 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2441 checkUnnamed1543(o.referenceSets); 2476 checkUnnamed1656(o.referenceSets);
2442 } 2477 }
2443 buildCounterSearchReferenceSetsResponse--; 2478 buildCounterSearchReferenceSetsResponse--;
2444 } 2479 }
2445 2480
2446 buildUnnamed1544() { 2481 buildUnnamed1657() {
2447 var o = new core.List<core.String>(); 2482 var o = new core.List<core.String>();
2448 o.add("foo"); 2483 o.add("foo");
2449 o.add("foo"); 2484 o.add("foo");
2450 return o; 2485 return o;
2451 } 2486 }
2452 2487
2453 checkUnnamed1544(core.List<core.String> o) { 2488 checkUnnamed1657(core.List<core.String> o) {
2454 unittest.expect(o, unittest.hasLength(2)); 2489 unittest.expect(o, unittest.hasLength(2));
2455 unittest.expect(o[0], unittest.equals('foo')); 2490 unittest.expect(o[0], unittest.equals('foo'));
2456 unittest.expect(o[1], unittest.equals('foo')); 2491 unittest.expect(o[1], unittest.equals('foo'));
2457 } 2492 }
2458 2493
2459 buildUnnamed1545() { 2494 buildUnnamed1658() {
2460 var o = new core.List<core.String>(); 2495 var o = new core.List<core.String>();
2461 o.add("foo"); 2496 o.add("foo");
2462 o.add("foo"); 2497 o.add("foo");
2463 return o; 2498 return o;
2464 } 2499 }
2465 2500
2466 checkUnnamed1545(core.List<core.String> o) { 2501 checkUnnamed1658(core.List<core.String> o) {
2467 unittest.expect(o, unittest.hasLength(2)); 2502 unittest.expect(o, unittest.hasLength(2));
2468 unittest.expect(o[0], unittest.equals('foo')); 2503 unittest.expect(o[0], unittest.equals('foo'));
2469 unittest.expect(o[1], unittest.equals('foo')); 2504 unittest.expect(o[1], unittest.equals('foo'));
2470 } 2505 }
2471 2506
2472 core.int buildCounterSearchReferencesRequest = 0; 2507 core.int buildCounterSearchReferencesRequest = 0;
2473 buildSearchReferencesRequest() { 2508 buildSearchReferencesRequest() {
2474 var o = new api.SearchReferencesRequest(); 2509 var o = new api.SearchReferencesRequest();
2475 buildCounterSearchReferencesRequest++; 2510 buildCounterSearchReferencesRequest++;
2476 if (buildCounterSearchReferencesRequest < 3) { 2511 if (buildCounterSearchReferencesRequest < 3) {
2477 o.accessions = buildUnnamed1544(); 2512 o.accessions = buildUnnamed1657();
2478 o.md5checksums = buildUnnamed1545(); 2513 o.md5checksums = buildUnnamed1658();
2479 o.pageSize = 42; 2514 o.pageSize = 42;
2480 o.pageToken = "foo"; 2515 o.pageToken = "foo";
2481 o.referenceSetId = "foo"; 2516 o.referenceSetId = "foo";
2482 } 2517 }
2483 buildCounterSearchReferencesRequest--; 2518 buildCounterSearchReferencesRequest--;
2484 return o; 2519 return o;
2485 } 2520 }
2486 2521
2487 checkSearchReferencesRequest(api.SearchReferencesRequest o) { 2522 checkSearchReferencesRequest(api.SearchReferencesRequest o) {
2488 buildCounterSearchReferencesRequest++; 2523 buildCounterSearchReferencesRequest++;
2489 if (buildCounterSearchReferencesRequest < 3) { 2524 if (buildCounterSearchReferencesRequest < 3) {
2490 checkUnnamed1544(o.accessions); 2525 checkUnnamed1657(o.accessions);
2491 checkUnnamed1545(o.md5checksums); 2526 checkUnnamed1658(o.md5checksums);
2492 unittest.expect(o.pageSize, unittest.equals(42)); 2527 unittest.expect(o.pageSize, unittest.equals(42));
2493 unittest.expect(o.pageToken, unittest.equals('foo')); 2528 unittest.expect(o.pageToken, unittest.equals('foo'));
2494 unittest.expect(o.referenceSetId, unittest.equals('foo')); 2529 unittest.expect(o.referenceSetId, unittest.equals('foo'));
2495 } 2530 }
2496 buildCounterSearchReferencesRequest--; 2531 buildCounterSearchReferencesRequest--;
2497 } 2532 }
2498 2533
2499 buildUnnamed1546() { 2534 buildUnnamed1659() {
2500 var o = new core.List<api.Reference>(); 2535 var o = new core.List<api.Reference>();
2501 o.add(buildReference()); 2536 o.add(buildReference());
2502 o.add(buildReference()); 2537 o.add(buildReference());
2503 return o; 2538 return o;
2504 } 2539 }
2505 2540
2506 checkUnnamed1546(core.List<api.Reference> o) { 2541 checkUnnamed1659(core.List<api.Reference> o) {
2507 unittest.expect(o, unittest.hasLength(2)); 2542 unittest.expect(o, unittest.hasLength(2));
2508 checkReference(o[0]); 2543 checkReference(o[0]);
2509 checkReference(o[1]); 2544 checkReference(o[1]);
2510 } 2545 }
2511 2546
2512 core.int buildCounterSearchReferencesResponse = 0; 2547 core.int buildCounterSearchReferencesResponse = 0;
2513 buildSearchReferencesResponse() { 2548 buildSearchReferencesResponse() {
2514 var o = new api.SearchReferencesResponse(); 2549 var o = new api.SearchReferencesResponse();
2515 buildCounterSearchReferencesResponse++; 2550 buildCounterSearchReferencesResponse++;
2516 if (buildCounterSearchReferencesResponse < 3) { 2551 if (buildCounterSearchReferencesResponse < 3) {
2517 o.nextPageToken = "foo"; 2552 o.nextPageToken = "foo";
2518 o.references = buildUnnamed1546(); 2553 o.references = buildUnnamed1659();
2519 } 2554 }
2520 buildCounterSearchReferencesResponse--; 2555 buildCounterSearchReferencesResponse--;
2521 return o; 2556 return o;
2522 } 2557 }
2523 2558
2524 checkSearchReferencesResponse(api.SearchReferencesResponse o) { 2559 checkSearchReferencesResponse(api.SearchReferencesResponse o) {
2525 buildCounterSearchReferencesResponse++; 2560 buildCounterSearchReferencesResponse++;
2526 if (buildCounterSearchReferencesResponse < 3) { 2561 if (buildCounterSearchReferencesResponse < 3) {
2527 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2562 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2528 checkUnnamed1546(o.references); 2563 checkUnnamed1659(o.references);
2529 } 2564 }
2530 buildCounterSearchReferencesResponse--; 2565 buildCounterSearchReferencesResponse--;
2531 } 2566 }
2532 2567
2533 buildUnnamed1547() { 2568 buildUnnamed1660() {
2534 var o = new core.List<core.String>(); 2569 var o = new core.List<core.String>();
2535 o.add("foo"); 2570 o.add("foo");
2536 o.add("foo"); 2571 o.add("foo");
2537 return o; 2572 return o;
2538 } 2573 }
2539 2574
2540 checkUnnamed1547(core.List<core.String> o) { 2575 checkUnnamed1660(core.List<core.String> o) {
2541 unittest.expect(o, unittest.hasLength(2)); 2576 unittest.expect(o, unittest.hasLength(2));
2542 unittest.expect(o[0], unittest.equals('foo')); 2577 unittest.expect(o[0], unittest.equals('foo'));
2543 unittest.expect(o[1], unittest.equals('foo')); 2578 unittest.expect(o[1], unittest.equals('foo'));
2544 } 2579 }
2545 2580
2546 core.int buildCounterSearchVariantSetsRequest = 0; 2581 core.int buildCounterSearchVariantSetsRequest = 0;
2547 buildSearchVariantSetsRequest() { 2582 buildSearchVariantSetsRequest() {
2548 var o = new api.SearchVariantSetsRequest(); 2583 var o = new api.SearchVariantSetsRequest();
2549 buildCounterSearchVariantSetsRequest++; 2584 buildCounterSearchVariantSetsRequest++;
2550 if (buildCounterSearchVariantSetsRequest < 3) { 2585 if (buildCounterSearchVariantSetsRequest < 3) {
2551 o.datasetIds = buildUnnamed1547(); 2586 o.datasetIds = buildUnnamed1660();
2552 o.pageSize = 42; 2587 o.pageSize = 42;
2553 o.pageToken = "foo"; 2588 o.pageToken = "foo";
2554 } 2589 }
2555 buildCounterSearchVariantSetsRequest--; 2590 buildCounterSearchVariantSetsRequest--;
2556 return o; 2591 return o;
2557 } 2592 }
2558 2593
2559 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { 2594 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) {
2560 buildCounterSearchVariantSetsRequest++; 2595 buildCounterSearchVariantSetsRequest++;
2561 if (buildCounterSearchVariantSetsRequest < 3) { 2596 if (buildCounterSearchVariantSetsRequest < 3) {
2562 checkUnnamed1547(o.datasetIds); 2597 checkUnnamed1660(o.datasetIds);
2563 unittest.expect(o.pageSize, unittest.equals(42)); 2598 unittest.expect(o.pageSize, unittest.equals(42));
2564 unittest.expect(o.pageToken, unittest.equals('foo')); 2599 unittest.expect(o.pageToken, unittest.equals('foo'));
2565 } 2600 }
2566 buildCounterSearchVariantSetsRequest--; 2601 buildCounterSearchVariantSetsRequest--;
2567 } 2602 }
2568 2603
2569 buildUnnamed1548() { 2604 buildUnnamed1661() {
2570 var o = new core.List<api.VariantSet>(); 2605 var o = new core.List<api.VariantSet>();
2571 o.add(buildVariantSet()); 2606 o.add(buildVariantSet());
2572 o.add(buildVariantSet()); 2607 o.add(buildVariantSet());
2573 return o; 2608 return o;
2574 } 2609 }
2575 2610
2576 checkUnnamed1548(core.List<api.VariantSet> o) { 2611 checkUnnamed1661(core.List<api.VariantSet> o) {
2577 unittest.expect(o, unittest.hasLength(2)); 2612 unittest.expect(o, unittest.hasLength(2));
2578 checkVariantSet(o[0]); 2613 checkVariantSet(o[0]);
2579 checkVariantSet(o[1]); 2614 checkVariantSet(o[1]);
2580 } 2615 }
2581 2616
2582 core.int buildCounterSearchVariantSetsResponse = 0; 2617 core.int buildCounterSearchVariantSetsResponse = 0;
2583 buildSearchVariantSetsResponse() { 2618 buildSearchVariantSetsResponse() {
2584 var o = new api.SearchVariantSetsResponse(); 2619 var o = new api.SearchVariantSetsResponse();
2585 buildCounterSearchVariantSetsResponse++; 2620 buildCounterSearchVariantSetsResponse++;
2586 if (buildCounterSearchVariantSetsResponse < 3) { 2621 if (buildCounterSearchVariantSetsResponse < 3) {
2587 o.nextPageToken = "foo"; 2622 o.nextPageToken = "foo";
2588 o.variantSets = buildUnnamed1548(); 2623 o.variantSets = buildUnnamed1661();
2589 } 2624 }
2590 buildCounterSearchVariantSetsResponse--; 2625 buildCounterSearchVariantSetsResponse--;
2591 return o; 2626 return o;
2592 } 2627 }
2593 2628
2594 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { 2629 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) {
2595 buildCounterSearchVariantSetsResponse++; 2630 buildCounterSearchVariantSetsResponse++;
2596 if (buildCounterSearchVariantSetsResponse < 3) { 2631 if (buildCounterSearchVariantSetsResponse < 3) {
2597 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2632 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2598 checkUnnamed1548(o.variantSets); 2633 checkUnnamed1661(o.variantSets);
2599 } 2634 }
2600 buildCounterSearchVariantSetsResponse--; 2635 buildCounterSearchVariantSetsResponse--;
2601 } 2636 }
2602 2637
2603 buildUnnamed1549() { 2638 buildUnnamed1662() {
2604 var o = new core.List<core.String>(); 2639 var o = new core.List<core.String>();
2605 o.add("foo"); 2640 o.add("foo");
2606 o.add("foo"); 2641 o.add("foo");
2607 return o; 2642 return o;
2608 } 2643 }
2609 2644
2610 checkUnnamed1549(core.List<core.String> o) { 2645 checkUnnamed1662(core.List<core.String> o) {
2611 unittest.expect(o, unittest.hasLength(2)); 2646 unittest.expect(o, unittest.hasLength(2));
2612 unittest.expect(o[0], unittest.equals('foo')); 2647 unittest.expect(o[0], unittest.equals('foo'));
2613 unittest.expect(o[1], unittest.equals('foo')); 2648 unittest.expect(o[1], unittest.equals('foo'));
2614 } 2649 }
2615 2650
2616 buildUnnamed1550() { 2651 buildUnnamed1663() {
2617 var o = new core.List<core.String>(); 2652 var o = new core.List<core.String>();
2618 o.add("foo"); 2653 o.add("foo");
2619 o.add("foo"); 2654 o.add("foo");
2620 return o; 2655 return o;
2621 } 2656 }
2622 2657
2623 checkUnnamed1550(core.List<core.String> o) { 2658 checkUnnamed1663(core.List<core.String> o) {
2624 unittest.expect(o, unittest.hasLength(2)); 2659 unittest.expect(o, unittest.hasLength(2));
2625 unittest.expect(o[0], unittest.equals('foo')); 2660 unittest.expect(o[0], unittest.equals('foo'));
2626 unittest.expect(o[1], unittest.equals('foo')); 2661 unittest.expect(o[1], unittest.equals('foo'));
2627 } 2662 }
2628 2663
2629 core.int buildCounterSearchVariantsRequest = 0; 2664 core.int buildCounterSearchVariantsRequest = 0;
2630 buildSearchVariantsRequest() { 2665 buildSearchVariantsRequest() {
2631 var o = new api.SearchVariantsRequest(); 2666 var o = new api.SearchVariantsRequest();
2632 buildCounterSearchVariantsRequest++; 2667 buildCounterSearchVariantsRequest++;
2633 if (buildCounterSearchVariantsRequest < 3) { 2668 if (buildCounterSearchVariantsRequest < 3) {
2634 o.callSetIds = buildUnnamed1549(); 2669 o.callSetIds = buildUnnamed1662();
2635 o.end = "foo"; 2670 o.end = "foo";
2636 o.maxCalls = 42; 2671 o.maxCalls = 42;
2637 o.pageSize = 42; 2672 o.pageSize = 42;
2638 o.pageToken = "foo"; 2673 o.pageToken = "foo";
2639 o.referenceName = "foo"; 2674 o.referenceName = "foo";
2640 o.start = "foo"; 2675 o.start = "foo";
2641 o.variantName = "foo"; 2676 o.variantName = "foo";
2642 o.variantSetIds = buildUnnamed1550(); 2677 o.variantSetIds = buildUnnamed1663();
2643 } 2678 }
2644 buildCounterSearchVariantsRequest--; 2679 buildCounterSearchVariantsRequest--;
2645 return o; 2680 return o;
2646 } 2681 }
2647 2682
2648 checkSearchVariantsRequest(api.SearchVariantsRequest o) { 2683 checkSearchVariantsRequest(api.SearchVariantsRequest o) {
2649 buildCounterSearchVariantsRequest++; 2684 buildCounterSearchVariantsRequest++;
2650 if (buildCounterSearchVariantsRequest < 3) { 2685 if (buildCounterSearchVariantsRequest < 3) {
2651 checkUnnamed1549(o.callSetIds); 2686 checkUnnamed1662(o.callSetIds);
2652 unittest.expect(o.end, unittest.equals('foo')); 2687 unittest.expect(o.end, unittest.equals('foo'));
2653 unittest.expect(o.maxCalls, unittest.equals(42)); 2688 unittest.expect(o.maxCalls, unittest.equals(42));
2654 unittest.expect(o.pageSize, unittest.equals(42)); 2689 unittest.expect(o.pageSize, unittest.equals(42));
2655 unittest.expect(o.pageToken, unittest.equals('foo')); 2690 unittest.expect(o.pageToken, unittest.equals('foo'));
2656 unittest.expect(o.referenceName, unittest.equals('foo')); 2691 unittest.expect(o.referenceName, unittest.equals('foo'));
2657 unittest.expect(o.start, unittest.equals('foo')); 2692 unittest.expect(o.start, unittest.equals('foo'));
2658 unittest.expect(o.variantName, unittest.equals('foo')); 2693 unittest.expect(o.variantName, unittest.equals('foo'));
2659 checkUnnamed1550(o.variantSetIds); 2694 checkUnnamed1663(o.variantSetIds);
2660 } 2695 }
2661 buildCounterSearchVariantsRequest--; 2696 buildCounterSearchVariantsRequest--;
2662 } 2697 }
2663 2698
2664 buildUnnamed1551() { 2699 buildUnnamed1664() {
2665 var o = new core.List<api.Variant>(); 2700 var o = new core.List<api.Variant>();
2666 o.add(buildVariant()); 2701 o.add(buildVariant());
2667 o.add(buildVariant()); 2702 o.add(buildVariant());
2668 return o; 2703 return o;
2669 } 2704 }
2670 2705
2671 checkUnnamed1551(core.List<api.Variant> o) { 2706 checkUnnamed1664(core.List<api.Variant> o) {
2672 unittest.expect(o, unittest.hasLength(2)); 2707 unittest.expect(o, unittest.hasLength(2));
2673 checkVariant(o[0]); 2708 checkVariant(o[0]);
2674 checkVariant(o[1]); 2709 checkVariant(o[1]);
2675 } 2710 }
2676 2711
2677 core.int buildCounterSearchVariantsResponse = 0; 2712 core.int buildCounterSearchVariantsResponse = 0;
2678 buildSearchVariantsResponse() { 2713 buildSearchVariantsResponse() {
2679 var o = new api.SearchVariantsResponse(); 2714 var o = new api.SearchVariantsResponse();
2680 buildCounterSearchVariantsResponse++; 2715 buildCounterSearchVariantsResponse++;
2681 if (buildCounterSearchVariantsResponse < 3) { 2716 if (buildCounterSearchVariantsResponse < 3) {
2682 o.nextPageToken = "foo"; 2717 o.nextPageToken = "foo";
2683 o.variants = buildUnnamed1551(); 2718 o.variants = buildUnnamed1664();
2684 } 2719 }
2685 buildCounterSearchVariantsResponse--; 2720 buildCounterSearchVariantsResponse--;
2686 return o; 2721 return o;
2687 } 2722 }
2688 2723
2689 checkSearchVariantsResponse(api.SearchVariantsResponse o) { 2724 checkSearchVariantsResponse(api.SearchVariantsResponse o) {
2690 buildCounterSearchVariantsResponse++; 2725 buildCounterSearchVariantsResponse++;
2691 if (buildCounterSearchVariantsResponse < 3) { 2726 if (buildCounterSearchVariantsResponse < 3) {
2692 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2727 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2693 checkUnnamed1551(o.variants); 2728 checkUnnamed1664(o.variants);
2694 } 2729 }
2695 buildCounterSearchVariantsResponse--; 2730 buildCounterSearchVariantsResponse--;
2696 } 2731 }
2697 2732
2698 buildUnnamed1552() { 2733 buildUnnamed1665() {
2734 var o = new core.List<core.String>();
2735 o.add("foo");
2736 o.add("foo");
2737 return o;
2738 }
2739
2740 checkUnnamed1665(core.List<core.String> o) {
2741 unittest.expect(o, unittest.hasLength(2));
2742 unittest.expect(o[0], unittest.equals('foo'));
2743 unittest.expect(o[1], unittest.equals('foo'));
2744 }
2745
2746 buildUnnamed1666() {
2747 var o = new core.List<core.String>();
2748 o.add("foo");
2749 o.add("foo");
2750 return o;
2751 }
2752
2753 checkUnnamed1666(core.List<core.String> o) {
2754 unittest.expect(o, unittest.hasLength(2));
2755 unittest.expect(o[0], unittest.equals('foo'));
2756 unittest.expect(o[1], unittest.equals('foo'));
2757 }
2758
2759 core.int buildCounterStreamVariantsRequest = 0;
2760 buildStreamVariantsRequest() {
2761 var o = new api.StreamVariantsRequest();
2762 buildCounterStreamVariantsRequest++;
2763 if (buildCounterStreamVariantsRequest < 3) {
2764 o.callSetIds = buildUnnamed1665();
2765 o.end = "foo";
2766 o.referenceName = "foo";
2767 o.start = "foo";
2768 o.variantSetIds = buildUnnamed1666();
2769 }
2770 buildCounterStreamVariantsRequest--;
2771 return o;
2772 }
2773
2774 checkStreamVariantsRequest(api.StreamVariantsRequest o) {
2775 buildCounterStreamVariantsRequest++;
2776 if (buildCounterStreamVariantsRequest < 3) {
2777 checkUnnamed1665(o.callSetIds);
2778 unittest.expect(o.end, unittest.equals('foo'));
2779 unittest.expect(o.referenceName, unittest.equals('foo'));
2780 unittest.expect(o.start, unittest.equals('foo'));
2781 checkUnnamed1666(o.variantSetIds);
2782 }
2783 buildCounterStreamVariantsRequest--;
2784 }
2785
2786 buildUnnamed1667() {
2699 var o = new core.List<api.TranscriptExon>(); 2787 var o = new core.List<api.TranscriptExon>();
2700 o.add(buildTranscriptExon()); 2788 o.add(buildTranscriptExon());
2701 o.add(buildTranscriptExon()); 2789 o.add(buildTranscriptExon());
2702 return o; 2790 return o;
2703 } 2791 }
2704 2792
2705 checkUnnamed1552(core.List<api.TranscriptExon> o) { 2793 checkUnnamed1667(core.List<api.TranscriptExon> o) {
2706 unittest.expect(o, unittest.hasLength(2)); 2794 unittest.expect(o, unittest.hasLength(2));
2707 checkTranscriptExon(o[0]); 2795 checkTranscriptExon(o[0]);
2708 checkTranscriptExon(o[1]); 2796 checkTranscriptExon(o[1]);
2709 } 2797 }
2710 2798
2711 core.int buildCounterTranscript = 0; 2799 core.int buildCounterTranscript = 0;
2712 buildTranscript() { 2800 buildTranscript() {
2713 var o = new api.Transcript(); 2801 var o = new api.Transcript();
2714 buildCounterTranscript++; 2802 buildCounterTranscript++;
2715 if (buildCounterTranscript < 3) { 2803 if (buildCounterTranscript < 3) {
2716 o.codingSequence = buildTranscriptCodingSequence(); 2804 o.codingSequence = buildTranscriptCodingSequence();
2717 o.exons = buildUnnamed1552(); 2805 o.exons = buildUnnamed1667();
2718 o.geneId = "foo"; 2806 o.geneId = "foo";
2719 } 2807 }
2720 buildCounterTranscript--; 2808 buildCounterTranscript--;
2721 return o; 2809 return o;
2722 } 2810 }
2723 2811
2724 checkTranscript(api.Transcript o) { 2812 checkTranscript(api.Transcript o) {
2725 buildCounterTranscript++; 2813 buildCounterTranscript++;
2726 if (buildCounterTranscript < 3) { 2814 if (buildCounterTranscript < 3) {
2727 checkTranscriptCodingSequence(o.codingSequence); 2815 checkTranscriptCodingSequence(o.codingSequence);
2728 checkUnnamed1552(o.exons); 2816 checkUnnamed1667(o.exons);
2729 unittest.expect(o.geneId, unittest.equals('foo')); 2817 unittest.expect(o.geneId, unittest.equals('foo'));
2730 } 2818 }
2731 buildCounterTranscript--; 2819 buildCounterTranscript--;
2732 } 2820 }
2733 2821
2734 core.int buildCounterTranscriptCodingSequence = 0; 2822 core.int buildCounterTranscriptCodingSequence = 0;
2735 buildTranscriptCodingSequence() { 2823 buildTranscriptCodingSequence() {
2736 var o = new api.TranscriptCodingSequence(); 2824 var o = new api.TranscriptCodingSequence();
2737 buildCounterTranscriptCodingSequence++; 2825 buildCounterTranscriptCodingSequence++;
2738 if (buildCounterTranscriptCodingSequence < 3) { 2826 if (buildCounterTranscriptCodingSequence < 3) {
(...skipping 29 matching lines...) Expand all
2768 checkTranscriptExon(api.TranscriptExon o) { 2856 checkTranscriptExon(api.TranscriptExon o) {
2769 buildCounterTranscriptExon++; 2857 buildCounterTranscriptExon++;
2770 if (buildCounterTranscriptExon < 3) { 2858 if (buildCounterTranscriptExon < 3) {
2771 unittest.expect(o.end, unittest.equals('foo')); 2859 unittest.expect(o.end, unittest.equals('foo'));
2772 checkInt32Value(o.frame); 2860 checkInt32Value(o.frame);
2773 unittest.expect(o.start, unittest.equals('foo')); 2861 unittest.expect(o.start, unittest.equals('foo'));
2774 } 2862 }
2775 buildCounterTranscriptExon--; 2863 buildCounterTranscriptExon--;
2776 } 2864 }
2777 2865
2778 buildUnnamed1553() { 2866 buildUnnamed1668() {
2779 var o = new core.List<core.String>(); 2867 var o = new core.List<core.String>();
2780 o.add("foo"); 2868 o.add("foo");
2781 o.add("foo"); 2869 o.add("foo");
2782 return o; 2870 return o;
2783 } 2871 }
2784 2872
2785 checkUnnamed1553(core.List<core.String> o) { 2873 checkUnnamed1668(core.List<core.String> o) {
2786 unittest.expect(o, unittest.hasLength(2)); 2874 unittest.expect(o, unittest.hasLength(2));
2787 unittest.expect(o[0], unittest.equals('foo')); 2875 unittest.expect(o[0], unittest.equals('foo'));
2788 unittest.expect(o[1], unittest.equals('foo')); 2876 unittest.expect(o[1], unittest.equals('foo'));
2789 } 2877 }
2790 2878
2791 buildUnnamed1554() { 2879 buildUnnamed1669() {
2792 var o = new core.List<api.Call>(); 2880 var o = new core.List<api.Call>();
2793 o.add(buildCall()); 2881 o.add(buildCall());
2794 o.add(buildCall()); 2882 o.add(buildCall());
2795 return o; 2883 return o;
2796 } 2884 }
2797 2885
2798 checkUnnamed1554(core.List<api.Call> o) { 2886 checkUnnamed1669(core.List<api.Call> o) {
2799 unittest.expect(o, unittest.hasLength(2)); 2887 unittest.expect(o, unittest.hasLength(2));
2800 checkCall(o[0]); 2888 checkCall(o[0]);
2801 checkCall(o[1]); 2889 checkCall(o[1]);
2802 } 2890 }
2803 2891
2804 buildUnnamed1555() { 2892 buildUnnamed1670() {
2805 var o = new core.List<core.String>(); 2893 var o = new core.List<core.String>();
2806 o.add("foo"); 2894 o.add("foo");
2807 o.add("foo"); 2895 o.add("foo");
2808 return o; 2896 return o;
2809 } 2897 }
2810 2898
2811 checkUnnamed1555(core.List<core.String> o) { 2899 checkUnnamed1670(core.List<core.String> o) {
2812 unittest.expect(o, unittest.hasLength(2)); 2900 unittest.expect(o, unittest.hasLength(2));
2813 unittest.expect(o[0], unittest.equals('foo')); 2901 unittest.expect(o[0], unittest.equals('foo'));
2814 unittest.expect(o[1], unittest.equals('foo')); 2902 unittest.expect(o[1], unittest.equals('foo'));
2815 } 2903 }
2816 2904
2817 buildUnnamed1556() { 2905 buildUnnamed1671() {
2818 var o = new core.List<core.String>(); 2906 var o = new core.List<core.String>();
2819 o.add("foo"); 2907 o.add("foo");
2820 o.add("foo"); 2908 o.add("foo");
2821 return o; 2909 return o;
2822 } 2910 }
2823 2911
2824 checkUnnamed1556(core.List<core.String> o) { 2912 checkUnnamed1671(core.List<core.String> o) {
2825 unittest.expect(o, unittest.hasLength(2)); 2913 unittest.expect(o, unittest.hasLength(2));
2826 unittest.expect(o[0], unittest.equals('foo')); 2914 unittest.expect(o[0], unittest.equals('foo'));
2827 unittest.expect(o[1], unittest.equals('foo')); 2915 unittest.expect(o[1], unittest.equals('foo'));
2828 } 2916 }
2829 2917
2830 buildUnnamed1557() { 2918 buildUnnamed1672() {
2831 var o = new core.Map<core.String, core.List<core.String>>(); 2919 var o = new core.Map<core.String, core.List<core.String>>();
2832 o["x"] = buildUnnamed1556(); 2920 o["x"] = buildUnnamed1671();
2833 o["y"] = buildUnnamed1556(); 2921 o["y"] = buildUnnamed1671();
2834 return o; 2922 return o;
2835 } 2923 }
2836 2924
2837 checkUnnamed1557(core.Map<core.String, core.List<core.String>> o) { 2925 checkUnnamed1672(core.Map<core.String, core.List<core.String>> o) {
2838 unittest.expect(o, unittest.hasLength(2)); 2926 unittest.expect(o, unittest.hasLength(2));
2839 checkUnnamed1556(o["x"]); 2927 checkUnnamed1671(o["x"]);
2840 checkUnnamed1556(o["y"]); 2928 checkUnnamed1671(o["y"]);
2841 } 2929 }
2842 2930
2843 buildUnnamed1558() { 2931 buildUnnamed1673() {
2844 var o = new core.List<core.String>(); 2932 var o = new core.List<core.String>();
2845 o.add("foo"); 2933 o.add("foo");
2846 o.add("foo"); 2934 o.add("foo");
2847 return o; 2935 return o;
2848 } 2936 }
2849 2937
2850 checkUnnamed1558(core.List<core.String> o) { 2938 checkUnnamed1673(core.List<core.String> o) {
2851 unittest.expect(o, unittest.hasLength(2)); 2939 unittest.expect(o, unittest.hasLength(2));
2852 unittest.expect(o[0], unittest.equals('foo')); 2940 unittest.expect(o[0], unittest.equals('foo'));
2853 unittest.expect(o[1], unittest.equals('foo')); 2941 unittest.expect(o[1], unittest.equals('foo'));
2854 } 2942 }
2855 2943
2856 core.int buildCounterVariant = 0; 2944 core.int buildCounterVariant = 0;
2857 buildVariant() { 2945 buildVariant() {
2858 var o = new api.Variant(); 2946 var o = new api.Variant();
2859 buildCounterVariant++; 2947 buildCounterVariant++;
2860 if (buildCounterVariant < 3) { 2948 if (buildCounterVariant < 3) {
2861 o.alternateBases = buildUnnamed1553(); 2949 o.alternateBases = buildUnnamed1668();
2862 o.calls = buildUnnamed1554(); 2950 o.calls = buildUnnamed1669();
2863 o.created = "foo"; 2951 o.created = "foo";
2864 o.end = "foo"; 2952 o.end = "foo";
2865 o.filter = buildUnnamed1555(); 2953 o.filter = buildUnnamed1670();
2866 o.id = "foo"; 2954 o.id = "foo";
2867 o.info = buildUnnamed1557(); 2955 o.info = buildUnnamed1672();
2868 o.names = buildUnnamed1558(); 2956 o.names = buildUnnamed1673();
2869 o.quality = 42.0; 2957 o.quality = 42.0;
2870 o.referenceBases = "foo"; 2958 o.referenceBases = "foo";
2871 o.referenceName = "foo"; 2959 o.referenceName = "foo";
2872 o.start = "foo"; 2960 o.start = "foo";
2873 o.variantSetId = "foo"; 2961 o.variantSetId = "foo";
2874 } 2962 }
2875 buildCounterVariant--; 2963 buildCounterVariant--;
2876 return o; 2964 return o;
2877 } 2965 }
2878 2966
2879 checkVariant(api.Variant o) { 2967 checkVariant(api.Variant o) {
2880 buildCounterVariant++; 2968 buildCounterVariant++;
2881 if (buildCounterVariant < 3) { 2969 if (buildCounterVariant < 3) {
2882 checkUnnamed1553(o.alternateBases); 2970 checkUnnamed1668(o.alternateBases);
2883 checkUnnamed1554(o.calls); 2971 checkUnnamed1669(o.calls);
2884 unittest.expect(o.created, unittest.equals('foo')); 2972 unittest.expect(o.created, unittest.equals('foo'));
2885 unittest.expect(o.end, unittest.equals('foo')); 2973 unittest.expect(o.end, unittest.equals('foo'));
2886 checkUnnamed1555(o.filter); 2974 checkUnnamed1670(o.filter);
2887 unittest.expect(o.id, unittest.equals('foo')); 2975 unittest.expect(o.id, unittest.equals('foo'));
2888 checkUnnamed1557(o.info); 2976 checkUnnamed1672(o.info);
2889 checkUnnamed1558(o.names); 2977 checkUnnamed1673(o.names);
2890 unittest.expect(o.quality, unittest.equals(42.0)); 2978 unittest.expect(o.quality, unittest.equals(42.0));
2891 unittest.expect(o.referenceBases, unittest.equals('foo')); 2979 unittest.expect(o.referenceBases, unittest.equals('foo'));
2892 unittest.expect(o.referenceName, unittest.equals('foo')); 2980 unittest.expect(o.referenceName, unittest.equals('foo'));
2893 unittest.expect(o.start, unittest.equals('foo')); 2981 unittest.expect(o.start, unittest.equals('foo'));
2894 unittest.expect(o.variantSetId, unittest.equals('foo')); 2982 unittest.expect(o.variantSetId, unittest.equals('foo'));
2895 } 2983 }
2896 buildCounterVariant--; 2984 buildCounterVariant--;
2897 } 2985 }
2898 2986
2899 buildUnnamed1559() { 2987 buildUnnamed1674() {
2900 var o = new core.List<api.VariantAnnotationCondition>(); 2988 var o = new core.List<api.VariantAnnotationCondition>();
2901 o.add(buildVariantAnnotationCondition()); 2989 o.add(buildVariantAnnotationCondition());
2902 o.add(buildVariantAnnotationCondition()); 2990 o.add(buildVariantAnnotationCondition());
2903 return o; 2991 return o;
2904 } 2992 }
2905 2993
2906 checkUnnamed1559(core.List<api.VariantAnnotationCondition> o) { 2994 checkUnnamed1674(core.List<api.VariantAnnotationCondition> o) {
2907 unittest.expect(o, unittest.hasLength(2)); 2995 unittest.expect(o, unittest.hasLength(2));
2908 checkVariantAnnotationCondition(o[0]); 2996 checkVariantAnnotationCondition(o[0]);
2909 checkVariantAnnotationCondition(o[1]); 2997 checkVariantAnnotationCondition(o[1]);
2910 } 2998 }
2911 2999
2912 buildUnnamed1560() { 3000 buildUnnamed1675() {
2913 var o = new core.List<core.String>(); 3001 var o = new core.List<core.String>();
2914 o.add("foo"); 3002 o.add("foo");
2915 o.add("foo"); 3003 o.add("foo");
2916 return o; 3004 return o;
2917 } 3005 }
2918 3006
2919 checkUnnamed1560(core.List<core.String> o) { 3007 checkUnnamed1675(core.List<core.String> o) {
2920 unittest.expect(o, unittest.hasLength(2)); 3008 unittest.expect(o, unittest.hasLength(2));
2921 unittest.expect(o[0], unittest.equals('foo')); 3009 unittest.expect(o[0], unittest.equals('foo'));
2922 unittest.expect(o[1], unittest.equals('foo')); 3010 unittest.expect(o[1], unittest.equals('foo'));
2923 } 3011 }
2924 3012
2925 core.int buildCounterVariantAnnotation = 0; 3013 core.int buildCounterVariantAnnotation = 0;
2926 buildVariantAnnotation() { 3014 buildVariantAnnotation() {
2927 var o = new api.VariantAnnotation(); 3015 var o = new api.VariantAnnotation();
2928 buildCounterVariantAnnotation++; 3016 buildCounterVariantAnnotation++;
2929 if (buildCounterVariantAnnotation < 3) { 3017 if (buildCounterVariantAnnotation < 3) {
2930 o.alternateBases = "foo"; 3018 o.alternateBases = "foo";
2931 o.clinicalSignificance = "foo"; 3019 o.clinicalSignificance = "foo";
2932 o.conditions = buildUnnamed1559(); 3020 o.conditions = buildUnnamed1674();
2933 o.effect = "foo"; 3021 o.effect = "foo";
2934 o.geneId = "foo"; 3022 o.geneId = "foo";
2935 o.transcriptIds = buildUnnamed1560(); 3023 o.transcriptIds = buildUnnamed1675();
2936 o.type = "foo"; 3024 o.type = "foo";
2937 } 3025 }
2938 buildCounterVariantAnnotation--; 3026 buildCounterVariantAnnotation--;
2939 return o; 3027 return o;
2940 } 3028 }
2941 3029
2942 checkVariantAnnotation(api.VariantAnnotation o) { 3030 checkVariantAnnotation(api.VariantAnnotation o) {
2943 buildCounterVariantAnnotation++; 3031 buildCounterVariantAnnotation++;
2944 if (buildCounterVariantAnnotation < 3) { 3032 if (buildCounterVariantAnnotation < 3) {
2945 unittest.expect(o.alternateBases, unittest.equals('foo')); 3033 unittest.expect(o.alternateBases, unittest.equals('foo'));
2946 unittest.expect(o.clinicalSignificance, unittest.equals('foo')); 3034 unittest.expect(o.clinicalSignificance, unittest.equals('foo'));
2947 checkUnnamed1559(o.conditions); 3035 checkUnnamed1674(o.conditions);
2948 unittest.expect(o.effect, unittest.equals('foo')); 3036 unittest.expect(o.effect, unittest.equals('foo'));
2949 unittest.expect(o.geneId, unittest.equals('foo')); 3037 unittest.expect(o.geneId, unittest.equals('foo'));
2950 checkUnnamed1560(o.transcriptIds); 3038 checkUnnamed1675(o.transcriptIds);
2951 unittest.expect(o.type, unittest.equals('foo')); 3039 unittest.expect(o.type, unittest.equals('foo'));
2952 } 3040 }
2953 buildCounterVariantAnnotation--; 3041 buildCounterVariantAnnotation--;
2954 } 3042 }
2955 3043
2956 buildUnnamed1561() { 3044 buildUnnamed1676() {
2957 var o = new core.List<api.ExternalId>(); 3045 var o = new core.List<api.ExternalId>();
2958 o.add(buildExternalId()); 3046 o.add(buildExternalId());
2959 o.add(buildExternalId()); 3047 o.add(buildExternalId());
2960 return o; 3048 return o;
2961 } 3049 }
2962 3050
2963 checkUnnamed1561(core.List<api.ExternalId> o) { 3051 checkUnnamed1676(core.List<api.ExternalId> o) {
2964 unittest.expect(o, unittest.hasLength(2)); 3052 unittest.expect(o, unittest.hasLength(2));
2965 checkExternalId(o[0]); 3053 checkExternalId(o[0]);
2966 checkExternalId(o[1]); 3054 checkExternalId(o[1]);
2967 } 3055 }
2968 3056
2969 buildUnnamed1562() { 3057 buildUnnamed1677() {
2970 var o = new core.List<core.String>(); 3058 var o = new core.List<core.String>();
2971 o.add("foo"); 3059 o.add("foo");
2972 o.add("foo"); 3060 o.add("foo");
2973 return o; 3061 return o;
2974 } 3062 }
2975 3063
2976 checkUnnamed1562(core.List<core.String> o) { 3064 checkUnnamed1677(core.List<core.String> o) {
2977 unittest.expect(o, unittest.hasLength(2)); 3065 unittest.expect(o, unittest.hasLength(2));
2978 unittest.expect(o[0], unittest.equals('foo')); 3066 unittest.expect(o[0], unittest.equals('foo'));
2979 unittest.expect(o[1], unittest.equals('foo')); 3067 unittest.expect(o[1], unittest.equals('foo'));
2980 } 3068 }
2981 3069
2982 core.int buildCounterVariantAnnotationCondition = 0; 3070 core.int buildCounterVariantAnnotationCondition = 0;
2983 buildVariantAnnotationCondition() { 3071 buildVariantAnnotationCondition() {
2984 var o = new api.VariantAnnotationCondition(); 3072 var o = new api.VariantAnnotationCondition();
2985 buildCounterVariantAnnotationCondition++; 3073 buildCounterVariantAnnotationCondition++;
2986 if (buildCounterVariantAnnotationCondition < 3) { 3074 if (buildCounterVariantAnnotationCondition < 3) {
2987 o.conceptId = "foo"; 3075 o.conceptId = "foo";
2988 o.externalIds = buildUnnamed1561(); 3076 o.externalIds = buildUnnamed1676();
2989 o.names = buildUnnamed1562(); 3077 o.names = buildUnnamed1677();
2990 o.omimId = "foo"; 3078 o.omimId = "foo";
2991 } 3079 }
2992 buildCounterVariantAnnotationCondition--; 3080 buildCounterVariantAnnotationCondition--;
2993 return o; 3081 return o;
2994 } 3082 }
2995 3083
2996 checkVariantAnnotationCondition(api.VariantAnnotationCondition o) { 3084 checkVariantAnnotationCondition(api.VariantAnnotationCondition o) {
2997 buildCounterVariantAnnotationCondition++; 3085 buildCounterVariantAnnotationCondition++;
2998 if (buildCounterVariantAnnotationCondition < 3) { 3086 if (buildCounterVariantAnnotationCondition < 3) {
2999 unittest.expect(o.conceptId, unittest.equals('foo')); 3087 unittest.expect(o.conceptId, unittest.equals('foo'));
3000 checkUnnamed1561(o.externalIds); 3088 checkUnnamed1676(o.externalIds);
3001 checkUnnamed1562(o.names); 3089 checkUnnamed1677(o.names);
3002 unittest.expect(o.omimId, unittest.equals('foo')); 3090 unittest.expect(o.omimId, unittest.equals('foo'));
3003 } 3091 }
3004 buildCounterVariantAnnotationCondition--; 3092 buildCounterVariantAnnotationCondition--;
3005 } 3093 }
3006 3094
3007 buildUnnamed1563() { 3095 buildUnnamed1678() {
3008 var o = new core.List<api.Metadata>(); 3096 var o = new core.List<api.Metadata>();
3009 o.add(buildMetadata()); 3097 o.add(buildMetadata());
3010 o.add(buildMetadata()); 3098 o.add(buildMetadata());
3011 return o; 3099 return o;
3012 } 3100 }
3013 3101
3014 checkUnnamed1563(core.List<api.Metadata> o) { 3102 checkUnnamed1678(core.List<api.Metadata> o) {
3015 unittest.expect(o, unittest.hasLength(2)); 3103 unittest.expect(o, unittest.hasLength(2));
3016 checkMetadata(o[0]); 3104 checkMetadata(o[0]);
3017 checkMetadata(o[1]); 3105 checkMetadata(o[1]);
3018 } 3106 }
3019 3107
3020 buildUnnamed1564() { 3108 buildUnnamed1679() {
3021 var o = new core.List<api.ReferenceBound>(); 3109 var o = new core.List<api.ReferenceBound>();
3022 o.add(buildReferenceBound()); 3110 o.add(buildReferenceBound());
3023 o.add(buildReferenceBound()); 3111 o.add(buildReferenceBound());
3024 return o; 3112 return o;
3025 } 3113 }
3026 3114
3027 checkUnnamed1564(core.List<api.ReferenceBound> o) { 3115 checkUnnamed1679(core.List<api.ReferenceBound> o) {
3028 unittest.expect(o, unittest.hasLength(2)); 3116 unittest.expect(o, unittest.hasLength(2));
3029 checkReferenceBound(o[0]); 3117 checkReferenceBound(o[0]);
3030 checkReferenceBound(o[1]); 3118 checkReferenceBound(o[1]);
3031 } 3119 }
3032 3120
3033 core.int buildCounterVariantSet = 0; 3121 core.int buildCounterVariantSet = 0;
3034 buildVariantSet() { 3122 buildVariantSet() {
3035 var o = new api.VariantSet(); 3123 var o = new api.VariantSet();
3036 buildCounterVariantSet++; 3124 buildCounterVariantSet++;
3037 if (buildCounterVariantSet < 3) { 3125 if (buildCounterVariantSet < 3) {
3038 o.datasetId = "foo"; 3126 o.datasetId = "foo";
3039 o.id = "foo"; 3127 o.id = "foo";
3040 o.metadata = buildUnnamed1563(); 3128 o.metadata = buildUnnamed1678();
3041 o.referenceBounds = buildUnnamed1564(); 3129 o.referenceBounds = buildUnnamed1679();
3042 } 3130 }
3043 buildCounterVariantSet--; 3131 buildCounterVariantSet--;
3044 return o; 3132 return o;
3045 } 3133 }
3046 3134
3047 checkVariantSet(api.VariantSet o) { 3135 checkVariantSet(api.VariantSet o) {
3048 buildCounterVariantSet++; 3136 buildCounterVariantSet++;
3049 if (buildCounterVariantSet < 3) { 3137 if (buildCounterVariantSet < 3) {
3050 unittest.expect(o.datasetId, unittest.equals('foo')); 3138 unittest.expect(o.datasetId, unittest.equals('foo'));
3051 unittest.expect(o.id, unittest.equals('foo')); 3139 unittest.expect(o.id, unittest.equals('foo'));
3052 checkUnnamed1563(o.metadata); 3140 checkUnnamed1678(o.metadata);
3053 checkUnnamed1564(o.referenceBounds); 3141 checkUnnamed1679(o.referenceBounds);
3054 } 3142 }
3055 buildCounterVariantSet--; 3143 buildCounterVariantSet--;
3056 } 3144 }
3057 3145
3058 3146
3059 main() { 3147 main() {
3060 unittest.group("obj-schema-AlignReadGroupSetsRequest", () { 3148 unittest.group("obj-schema-AlignReadGroupSetsRequest", () {
3061 unittest.test("to-json--from-json", () { 3149 unittest.test("to-json--from-json", () {
3062 var o = buildAlignReadGroupSetsRequest(); 3150 var o = buildAlignReadGroupSetsRequest();
3063 var od = new api.AlignReadGroupSetsRequest.fromJson(o.toJson()); 3151 var od = new api.AlignReadGroupSetsRequest.fromJson(o.toJson());
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
3680 3768
3681 unittest.group("obj-schema-SearchVariantsResponse", () { 3769 unittest.group("obj-schema-SearchVariantsResponse", () {
3682 unittest.test("to-json--from-json", () { 3770 unittest.test("to-json--from-json", () {
3683 var o = buildSearchVariantsResponse(); 3771 var o = buildSearchVariantsResponse();
3684 var od = new api.SearchVariantsResponse.fromJson(o.toJson()); 3772 var od = new api.SearchVariantsResponse.fromJson(o.toJson());
3685 checkSearchVariantsResponse(od); 3773 checkSearchVariantsResponse(od);
3686 }); 3774 });
3687 }); 3775 });
3688 3776
3689 3777
3778 unittest.group("obj-schema-StreamVariantsRequest", () {
3779 unittest.test("to-json--from-json", () {
3780 var o = buildStreamVariantsRequest();
3781 var od = new api.StreamVariantsRequest.fromJson(o.toJson());
3782 checkStreamVariantsRequest(od);
3783 });
3784 });
3785
3786
3690 unittest.group("obj-schema-Transcript", () { 3787 unittest.group("obj-schema-Transcript", () {
3691 unittest.test("to-json--from-json", () { 3788 unittest.test("to-json--from-json", () {
3692 var o = buildTranscript(); 3789 var o = buildTranscript();
3693 var od = new api.Transcript.fromJson(o.toJson()); 3790 var od = new api.Transcript.fromJson(o.toJson());
3694 checkTranscript(od); 3791 checkTranscript(od);
3695 }); 3792 });
3696 }); 3793 });
3697 3794
3698 3795
3699 unittest.group("obj-schema-TranscriptCodingSequence", () { 3796 unittest.group("obj-schema-TranscriptCodingSequence", () {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
3746 var o = buildVariantSet(); 3843 var o = buildVariantSet();
3747 var od = new api.VariantSet.fromJson(o.toJson()); 3844 var od = new api.VariantSet.fromJson(o.toJson());
3748 checkVariantSet(od); 3845 checkVariantSet(od);
3749 }); 3846 });
3750 }); 3847 });
3751 3848
3752 3849
3753 unittest.group("resource-AnnotationSetsResourceApi", () { 3850 unittest.group("resource-AnnotationSetsResourceApi", () {
3754 unittest.test("method--create", () { 3851 unittest.test("method--create", () {
3755 3852
3756 var mock = new common_test.HttpServerMock(); 3853 var mock = new HttpServerMock();
3757 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts; 3854 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts;
3758 var arg_request = buildAnnotationSet(); 3855 var arg_request = buildAnnotationSet();
3759 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3856 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3760 var obj = new api.AnnotationSet.fromJson(json); 3857 var obj = new api.AnnotationSet.fromJson(json);
3761 checkAnnotationSet(obj); 3858 checkAnnotationSet(obj);
3762 3859
3763 var path = (req.url).path; 3860 var path = (req.url).path;
3764 var pathOffset = 0; 3861 var pathOffset = 0;
3765 var index; 3862 var index;
3766 var subPart; 3863 var subPart;
(...skipping 19 matching lines...) Expand all
3786 var keyvalue = part.split("="); 3883 var keyvalue = part.split("=");
3787 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3884 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3788 } 3885 }
3789 } 3886 }
3790 3887
3791 3888
3792 var h = { 3889 var h = {
3793 "content-type" : "application/json; charset=utf-8", 3890 "content-type" : "application/json; charset=utf-8",
3794 }; 3891 };
3795 var resp = convert.JSON.encode(buildAnnotationSet()); 3892 var resp = convert.JSON.encode(buildAnnotationSet());
3796 return new async.Future.value(common_test.stringResponse(200, h, resp)); 3893 return new async.Future.value(stringResponse(200, h, resp));
3797 }), true); 3894 }), true);
3798 res.create(arg_request).then(unittest.expectAsync(((api.AnnotationSet resp onse) { 3895 res.create(arg_request).then(unittest.expectAsync(((api.AnnotationSet resp onse) {
3799 checkAnnotationSet(response); 3896 checkAnnotationSet(response);
3800 }))); 3897 })));
3801 }); 3898 });
3802 3899
3803 unittest.test("method--delete", () { 3900 unittest.test("method--delete", () {
3804 3901
3805 var mock = new common_test.HttpServerMock(); 3902 var mock = new HttpServerMock();
3806 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts; 3903 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts;
3807 var arg_annotationSetId = "foo"; 3904 var arg_annotationSetId = "foo";
3808 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3905 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3809 var path = (req.url).path; 3906 var path = (req.url).path;
3810 var pathOffset = 0; 3907 var pathOffset = 0;
3811 var index; 3908 var index;
3812 var subPart; 3909 var subPart;
3813 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3910 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3814 pathOffset += 1; 3911 pathOffset += 1;
3815 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 3912 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
3835 var keyvalue = part.split("="); 3932 var keyvalue = part.split("=");
3836 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3933 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3837 } 3934 }
3838 } 3935 }
3839 3936
3840 3937
3841 var h = { 3938 var h = {
3842 "content-type" : "application/json; charset=utf-8", 3939 "content-type" : "application/json; charset=utf-8",
3843 }; 3940 };
3844 var resp = ""; 3941 var resp = "";
3845 return new async.Future.value(common_test.stringResponse(200, h, resp)); 3942 return new async.Future.value(stringResponse(200, h, resp));
3846 }), true); 3943 }), true);
3847 res.delete(arg_annotationSetId).then(unittest.expectAsync((_) {})); 3944 res.delete(arg_annotationSetId).then(unittest.expectAsync((_) {}));
3848 }); 3945 });
3849 3946
3850 unittest.test("method--get", () { 3947 unittest.test("method--get", () {
3851 3948
3852 var mock = new common_test.HttpServerMock(); 3949 var mock = new HttpServerMock();
3853 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts; 3950 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts;
3854 var arg_annotationSetId = "foo"; 3951 var arg_annotationSetId = "foo";
3855 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3952 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3856 var path = (req.url).path; 3953 var path = (req.url).path;
3857 var pathOffset = 0; 3954 var pathOffset = 0;
3858 var index; 3955 var index;
3859 var subPart; 3956 var subPart;
3860 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3957 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3861 pathOffset += 1; 3958 pathOffset += 1;
3862 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 3959 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
3882 var keyvalue = part.split("="); 3979 var keyvalue = part.split("=");
3883 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3980 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3884 } 3981 }
3885 } 3982 }
3886 3983
3887 3984
3888 var h = { 3985 var h = {
3889 "content-type" : "application/json; charset=utf-8", 3986 "content-type" : "application/json; charset=utf-8",
3890 }; 3987 };
3891 var resp = convert.JSON.encode(buildAnnotationSet()); 3988 var resp = convert.JSON.encode(buildAnnotationSet());
3892 return new async.Future.value(common_test.stringResponse(200, h, resp)); 3989 return new async.Future.value(stringResponse(200, h, resp));
3893 }), true); 3990 }), true);
3894 res.get(arg_annotationSetId).then(unittest.expectAsync(((api.AnnotationSet response) { 3991 res.get(arg_annotationSetId).then(unittest.expectAsync(((api.AnnotationSet response) {
3895 checkAnnotationSet(response); 3992 checkAnnotationSet(response);
3896 }))); 3993 })));
3897 }); 3994 });
3898 3995
3899 unittest.test("method--patch", () { 3996 unittest.test("method--patch", () {
3900 3997
3901 var mock = new common_test.HttpServerMock(); 3998 var mock = new HttpServerMock();
3902 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts; 3999 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts;
3903 var arg_request = buildAnnotationSet(); 4000 var arg_request = buildAnnotationSet();
3904 var arg_annotationSetId = "foo"; 4001 var arg_annotationSetId = "foo";
3905 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4002 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3906 var obj = new api.AnnotationSet.fromJson(json); 4003 var obj = new api.AnnotationSet.fromJson(json);
3907 checkAnnotationSet(obj); 4004 checkAnnotationSet(obj);
3908 4005
3909 var path = (req.url).path; 4006 var path = (req.url).path;
3910 var pathOffset = 0; 4007 var pathOffset = 0;
3911 var index; 4008 var index;
(...skipping 23 matching lines...) Expand all
3935 var keyvalue = part.split("="); 4032 var keyvalue = part.split("=");
3936 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4033 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3937 } 4034 }
3938 } 4035 }
3939 4036
3940 4037
3941 var h = { 4038 var h = {
3942 "content-type" : "application/json; charset=utf-8", 4039 "content-type" : "application/json; charset=utf-8",
3943 }; 4040 };
3944 var resp = convert.JSON.encode(buildAnnotationSet()); 4041 var resp = convert.JSON.encode(buildAnnotationSet());
3945 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4042 return new async.Future.value(stringResponse(200, h, resp));
3946 }), true); 4043 }), true);
3947 res.patch(arg_request, arg_annotationSetId).then(unittest.expectAsync(((ap i.AnnotationSet response) { 4044 res.patch(arg_request, arg_annotationSetId).then(unittest.expectAsync(((ap i.AnnotationSet response) {
3948 checkAnnotationSet(response); 4045 checkAnnotationSet(response);
3949 }))); 4046 })));
3950 }); 4047 });
3951 4048
3952 unittest.test("method--search", () { 4049 unittest.test("method--search", () {
3953 4050
3954 var mock = new common_test.HttpServerMock(); 4051 var mock = new HttpServerMock();
3955 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts; 4052 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts;
3956 var arg_request = buildSearchAnnotationSetsRequest(); 4053 var arg_request = buildSearchAnnotationSetsRequest();
3957 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4054 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3958 var obj = new api.SearchAnnotationSetsRequest.fromJson(json); 4055 var obj = new api.SearchAnnotationSetsRequest.fromJson(json);
3959 checkSearchAnnotationSetsRequest(obj); 4056 checkSearchAnnotationSetsRequest(obj);
3960 4057
3961 var path = (req.url).path; 4058 var path = (req.url).path;
3962 var pathOffset = 0; 4059 var pathOffset = 0;
3963 var index; 4060 var index;
3964 var subPart; 4061 var subPart;
(...skipping 19 matching lines...) Expand all
3984 var keyvalue = part.split("="); 4081 var keyvalue = part.split("=");
3985 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4082 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3986 } 4083 }
3987 } 4084 }
3988 4085
3989 4086
3990 var h = { 4087 var h = {
3991 "content-type" : "application/json; charset=utf-8", 4088 "content-type" : "application/json; charset=utf-8",
3992 }; 4089 };
3993 var resp = convert.JSON.encode(buildSearchAnnotationSetsResponse()); 4090 var resp = convert.JSON.encode(buildSearchAnnotationSetsResponse());
3994 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4091 return new async.Future.value(stringResponse(200, h, resp));
3995 }), true); 4092 }), true);
3996 res.search(arg_request).then(unittest.expectAsync(((api.SearchAnnotationSe tsResponse response) { 4093 res.search(arg_request).then(unittest.expectAsync(((api.SearchAnnotationSe tsResponse response) {
3997 checkSearchAnnotationSetsResponse(response); 4094 checkSearchAnnotationSetsResponse(response);
3998 }))); 4095 })));
3999 }); 4096 });
4000 4097
4001 unittest.test("method--update", () { 4098 unittest.test("method--update", () {
4002 4099
4003 var mock = new common_test.HttpServerMock(); 4100 var mock = new HttpServerMock();
4004 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts; 4101 api.AnnotationSetsResourceApi res = new api.GenomicsApi(mock).annotationSe ts;
4005 var arg_request = buildAnnotationSet(); 4102 var arg_request = buildAnnotationSet();
4006 var arg_annotationSetId = "foo"; 4103 var arg_annotationSetId = "foo";
4007 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4104 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4008 var obj = new api.AnnotationSet.fromJson(json); 4105 var obj = new api.AnnotationSet.fromJson(json);
4009 checkAnnotationSet(obj); 4106 checkAnnotationSet(obj);
4010 4107
4011 var path = (req.url).path; 4108 var path = (req.url).path;
4012 var pathOffset = 0; 4109 var pathOffset = 0;
4013 var index; 4110 var index;
(...skipping 23 matching lines...) Expand all
4037 var keyvalue = part.split("="); 4134 var keyvalue = part.split("=");
4038 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4135 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4039 } 4136 }
4040 } 4137 }
4041 4138
4042 4139
4043 var h = { 4140 var h = {
4044 "content-type" : "application/json; charset=utf-8", 4141 "content-type" : "application/json; charset=utf-8",
4045 }; 4142 };
4046 var resp = convert.JSON.encode(buildAnnotationSet()); 4143 var resp = convert.JSON.encode(buildAnnotationSet());
4047 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4144 return new async.Future.value(stringResponse(200, h, resp));
4048 }), true); 4145 }), true);
4049 res.update(arg_request, arg_annotationSetId).then(unittest.expectAsync(((a pi.AnnotationSet response) { 4146 res.update(arg_request, arg_annotationSetId).then(unittest.expectAsync(((a pi.AnnotationSet response) {
4050 checkAnnotationSet(response); 4147 checkAnnotationSet(response);
4051 }))); 4148 })));
4052 }); 4149 });
4053 4150
4054 }); 4151 });
4055 4152
4056 4153
4057 unittest.group("resource-AnnotationsResourceApi", () { 4154 unittest.group("resource-AnnotationsResourceApi", () {
4058 unittest.test("method--batchCreate", () { 4155 unittest.test("method--batchCreate", () {
4059 4156
4060 var mock = new common_test.HttpServerMock(); 4157 var mock = new HttpServerMock();
4061 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4158 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4062 var arg_request = buildBatchCreateAnnotationsRequest(); 4159 var arg_request = buildBatchCreateAnnotationsRequest();
4063 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4160 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4064 var obj = new api.BatchCreateAnnotationsRequest.fromJson(json); 4161 var obj = new api.BatchCreateAnnotationsRequest.fromJson(json);
4065 checkBatchCreateAnnotationsRequest(obj); 4162 checkBatchCreateAnnotationsRequest(obj);
4066 4163
4067 var path = (req.url).path; 4164 var path = (req.url).path;
4068 var pathOffset = 0; 4165 var pathOffset = 0;
4069 var index; 4166 var index;
4070 var subPart; 4167 var subPart;
(...skipping 19 matching lines...) Expand all
4090 var keyvalue = part.split("="); 4187 var keyvalue = part.split("=");
4091 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4188 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4092 } 4189 }
4093 } 4190 }
4094 4191
4095 4192
4096 var h = { 4193 var h = {
4097 "content-type" : "application/json; charset=utf-8", 4194 "content-type" : "application/json; charset=utf-8",
4098 }; 4195 };
4099 var resp = convert.JSON.encode(buildBatchAnnotationsResponse()); 4196 var resp = convert.JSON.encode(buildBatchAnnotationsResponse());
4100 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4197 return new async.Future.value(stringResponse(200, h, resp));
4101 }), true); 4198 }), true);
4102 res.batchCreate(arg_request).then(unittest.expectAsync(((api.BatchAnnotati onsResponse response) { 4199 res.batchCreate(arg_request).then(unittest.expectAsync(((api.BatchAnnotati onsResponse response) {
4103 checkBatchAnnotationsResponse(response); 4200 checkBatchAnnotationsResponse(response);
4104 }))); 4201 })));
4105 }); 4202 });
4106 4203
4107 unittest.test("method--create", () { 4204 unittest.test("method--create", () {
4108 4205
4109 var mock = new common_test.HttpServerMock(); 4206 var mock = new HttpServerMock();
4110 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4207 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4111 var arg_request = buildAnnotation(); 4208 var arg_request = buildAnnotation();
4112 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4209 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4113 var obj = new api.Annotation.fromJson(json); 4210 var obj = new api.Annotation.fromJson(json);
4114 checkAnnotation(obj); 4211 checkAnnotation(obj);
4115 4212
4116 var path = (req.url).path; 4213 var path = (req.url).path;
4117 var pathOffset = 0; 4214 var pathOffset = 0;
4118 var index; 4215 var index;
4119 var subPart; 4216 var subPart;
(...skipping 19 matching lines...) Expand all
4139 var keyvalue = part.split("="); 4236 var keyvalue = part.split("=");
4140 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4237 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4141 } 4238 }
4142 } 4239 }
4143 4240
4144 4241
4145 var h = { 4242 var h = {
4146 "content-type" : "application/json; charset=utf-8", 4243 "content-type" : "application/json; charset=utf-8",
4147 }; 4244 };
4148 var resp = convert.JSON.encode(buildAnnotation()); 4245 var resp = convert.JSON.encode(buildAnnotation());
4149 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4246 return new async.Future.value(stringResponse(200, h, resp));
4150 }), true); 4247 }), true);
4151 res.create(arg_request).then(unittest.expectAsync(((api.Annotation respons e) { 4248 res.create(arg_request).then(unittest.expectAsync(((api.Annotation respons e) {
4152 checkAnnotation(response); 4249 checkAnnotation(response);
4153 }))); 4250 })));
4154 }); 4251 });
4155 4252
4156 unittest.test("method--delete", () { 4253 unittest.test("method--delete", () {
4157 4254
4158 var mock = new common_test.HttpServerMock(); 4255 var mock = new HttpServerMock();
4159 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4256 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4160 var arg_annotationId = "foo"; 4257 var arg_annotationId = "foo";
4161 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4258 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4162 var path = (req.url).path; 4259 var path = (req.url).path;
4163 var pathOffset = 0; 4260 var pathOffset = 0;
4164 var index; 4261 var index;
4165 var subPart; 4262 var subPart;
4166 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4263 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4167 pathOffset += 1; 4264 pathOffset += 1;
4168 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 4265 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
4188 var keyvalue = part.split("="); 4285 var keyvalue = part.split("=");
4189 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4286 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4190 } 4287 }
4191 } 4288 }
4192 4289
4193 4290
4194 var h = { 4291 var h = {
4195 "content-type" : "application/json; charset=utf-8", 4292 "content-type" : "application/json; charset=utf-8",
4196 }; 4293 };
4197 var resp = ""; 4294 var resp = "";
4198 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4295 return new async.Future.value(stringResponse(200, h, resp));
4199 }), true); 4296 }), true);
4200 res.delete(arg_annotationId).then(unittest.expectAsync((_) {})); 4297 res.delete(arg_annotationId).then(unittest.expectAsync((_) {}));
4201 }); 4298 });
4202 4299
4203 unittest.test("method--get", () { 4300 unittest.test("method--get", () {
4204 4301
4205 var mock = new common_test.HttpServerMock(); 4302 var mock = new HttpServerMock();
4206 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4303 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4207 var arg_annotationId = "foo"; 4304 var arg_annotationId = "foo";
4208 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4305 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4209 var path = (req.url).path; 4306 var path = (req.url).path;
4210 var pathOffset = 0; 4307 var pathOffset = 0;
4211 var index; 4308 var index;
4212 var subPart; 4309 var subPart;
4213 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4310 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4214 pathOffset += 1; 4311 pathOffset += 1;
4215 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 4312 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
4235 var keyvalue = part.split("="); 4332 var keyvalue = part.split("=");
4236 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4333 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4237 } 4334 }
4238 } 4335 }
4239 4336
4240 4337
4241 var h = { 4338 var h = {
4242 "content-type" : "application/json; charset=utf-8", 4339 "content-type" : "application/json; charset=utf-8",
4243 }; 4340 };
4244 var resp = convert.JSON.encode(buildAnnotation()); 4341 var resp = convert.JSON.encode(buildAnnotation());
4245 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4342 return new async.Future.value(stringResponse(200, h, resp));
4246 }), true); 4343 }), true);
4247 res.get(arg_annotationId).then(unittest.expectAsync(((api.Annotation respo nse) { 4344 res.get(arg_annotationId).then(unittest.expectAsync(((api.Annotation respo nse) {
4248 checkAnnotation(response); 4345 checkAnnotation(response);
4249 }))); 4346 })));
4250 }); 4347 });
4251 4348
4252 unittest.test("method--patch", () { 4349 unittest.test("method--patch", () {
4253 4350
4254 var mock = new common_test.HttpServerMock(); 4351 var mock = new HttpServerMock();
4255 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4352 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4256 var arg_request = buildAnnotation(); 4353 var arg_request = buildAnnotation();
4257 var arg_annotationId = "foo"; 4354 var arg_annotationId = "foo";
4258 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4355 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4259 var obj = new api.Annotation.fromJson(json); 4356 var obj = new api.Annotation.fromJson(json);
4260 checkAnnotation(obj); 4357 checkAnnotation(obj);
4261 4358
4262 var path = (req.url).path; 4359 var path = (req.url).path;
4263 var pathOffset = 0; 4360 var pathOffset = 0;
4264 var index; 4361 var index;
(...skipping 23 matching lines...) Expand all
4288 var keyvalue = part.split("="); 4385 var keyvalue = part.split("=");
4289 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4386 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4290 } 4387 }
4291 } 4388 }
4292 4389
4293 4390
4294 var h = { 4391 var h = {
4295 "content-type" : "application/json; charset=utf-8", 4392 "content-type" : "application/json; charset=utf-8",
4296 }; 4393 };
4297 var resp = convert.JSON.encode(buildAnnotation()); 4394 var resp = convert.JSON.encode(buildAnnotation());
4298 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4395 return new async.Future.value(stringResponse(200, h, resp));
4299 }), true); 4396 }), true);
4300 res.patch(arg_request, arg_annotationId).then(unittest.expectAsync(((api.A nnotation response) { 4397 res.patch(arg_request, arg_annotationId).then(unittest.expectAsync(((api.A nnotation response) {
4301 checkAnnotation(response); 4398 checkAnnotation(response);
4302 }))); 4399 })));
4303 }); 4400 });
4304 4401
4305 unittest.test("method--search", () { 4402 unittest.test("method--search", () {
4306 4403
4307 var mock = new common_test.HttpServerMock(); 4404 var mock = new HttpServerMock();
4308 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4405 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4309 var arg_request = buildSearchAnnotationsRequest(); 4406 var arg_request = buildSearchAnnotationsRequest();
4310 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4407 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4311 var obj = new api.SearchAnnotationsRequest.fromJson(json); 4408 var obj = new api.SearchAnnotationsRequest.fromJson(json);
4312 checkSearchAnnotationsRequest(obj); 4409 checkSearchAnnotationsRequest(obj);
4313 4410
4314 var path = (req.url).path; 4411 var path = (req.url).path;
4315 var pathOffset = 0; 4412 var pathOffset = 0;
4316 var index; 4413 var index;
4317 var subPart; 4414 var subPart;
(...skipping 19 matching lines...) Expand all
4337 var keyvalue = part.split("="); 4434 var keyvalue = part.split("=");
4338 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4435 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4339 } 4436 }
4340 } 4437 }
4341 4438
4342 4439
4343 var h = { 4440 var h = {
4344 "content-type" : "application/json; charset=utf-8", 4441 "content-type" : "application/json; charset=utf-8",
4345 }; 4442 };
4346 var resp = convert.JSON.encode(buildSearchAnnotationsResponse()); 4443 var resp = convert.JSON.encode(buildSearchAnnotationsResponse());
4347 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4444 return new async.Future.value(stringResponse(200, h, resp));
4348 }), true); 4445 }), true);
4349 res.search(arg_request).then(unittest.expectAsync(((api.SearchAnnotationsR esponse response) { 4446 res.search(arg_request).then(unittest.expectAsync(((api.SearchAnnotationsR esponse response) {
4350 checkSearchAnnotationsResponse(response); 4447 checkSearchAnnotationsResponse(response);
4351 }))); 4448 })));
4352 }); 4449 });
4353 4450
4354 unittest.test("method--update", () { 4451 unittest.test("method--update", () {
4355 4452
4356 var mock = new common_test.HttpServerMock(); 4453 var mock = new HttpServerMock();
4357 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations; 4454 api.AnnotationsResourceApi res = new api.GenomicsApi(mock).annotations;
4358 var arg_request = buildAnnotation(); 4455 var arg_request = buildAnnotation();
4359 var arg_annotationId = "foo"; 4456 var arg_annotationId = "foo";
4360 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4457 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4361 var obj = new api.Annotation.fromJson(json); 4458 var obj = new api.Annotation.fromJson(json);
4362 checkAnnotation(obj); 4459 checkAnnotation(obj);
4363 4460
4364 var path = (req.url).path; 4461 var path = (req.url).path;
4365 var pathOffset = 0; 4462 var pathOffset = 0;
4366 var index; 4463 var index;
(...skipping 23 matching lines...) Expand all
4390 var keyvalue = part.split("="); 4487 var keyvalue = part.split("=");
4391 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4488 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4392 } 4489 }
4393 } 4490 }
4394 4491
4395 4492
4396 var h = { 4493 var h = {
4397 "content-type" : "application/json; charset=utf-8", 4494 "content-type" : "application/json; charset=utf-8",
4398 }; 4495 };
4399 var resp = convert.JSON.encode(buildAnnotation()); 4496 var resp = convert.JSON.encode(buildAnnotation());
4400 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4497 return new async.Future.value(stringResponse(200, h, resp));
4401 }), true); 4498 }), true);
4402 res.update(arg_request, arg_annotationId).then(unittest.expectAsync(((api. Annotation response) { 4499 res.update(arg_request, arg_annotationId).then(unittest.expectAsync(((api. Annotation response) {
4403 checkAnnotation(response); 4500 checkAnnotation(response);
4404 }))); 4501 })));
4405 }); 4502 });
4406 4503
4407 }); 4504 });
4408 4505
4409 4506
4410 unittest.group("resource-CallsetsResourceApi", () { 4507 unittest.group("resource-CallsetsResourceApi", () {
4411 unittest.test("method--create", () { 4508 unittest.test("method--create", () {
4412 4509
4413 var mock = new common_test.HttpServerMock(); 4510 var mock = new HttpServerMock();
4414 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; 4511 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
4415 var arg_request = buildCallSet(); 4512 var arg_request = buildCallSet();
4416 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4513 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4417 var obj = new api.CallSet.fromJson(json); 4514 var obj = new api.CallSet.fromJson(json);
4418 checkCallSet(obj); 4515 checkCallSet(obj);
4419 4516
4420 var path = (req.url).path; 4517 var path = (req.url).path;
4421 var pathOffset = 0; 4518 var pathOffset = 0;
4422 var index; 4519 var index;
4423 var subPart; 4520 var subPart;
(...skipping 19 matching lines...) Expand all
4443 var keyvalue = part.split("="); 4540 var keyvalue = part.split("=");
4444 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4541 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4445 } 4542 }
4446 } 4543 }
4447 4544
4448 4545
4449 var h = { 4546 var h = {
4450 "content-type" : "application/json; charset=utf-8", 4547 "content-type" : "application/json; charset=utf-8",
4451 }; 4548 };
4452 var resp = convert.JSON.encode(buildCallSet()); 4549 var resp = convert.JSON.encode(buildCallSet());
4453 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4550 return new async.Future.value(stringResponse(200, h, resp));
4454 }), true); 4551 }), true);
4455 res.create(arg_request).then(unittest.expectAsync(((api.CallSet response) { 4552 res.create(arg_request).then(unittest.expectAsync(((api.CallSet response) {
4456 checkCallSet(response); 4553 checkCallSet(response);
4457 }))); 4554 })));
4458 }); 4555 });
4459 4556
4460 unittest.test("method--delete", () { 4557 unittest.test("method--delete", () {
4461 4558
4462 var mock = new common_test.HttpServerMock(); 4559 var mock = new HttpServerMock();
4463 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; 4560 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
4464 var arg_callSetId = "foo"; 4561 var arg_callSetId = "foo";
4465 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4562 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4466 var path = (req.url).path; 4563 var path = (req.url).path;
4467 var pathOffset = 0; 4564 var pathOffset = 0;
4468 var index; 4565 var index;
4469 var subPart; 4566 var subPart;
4470 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4567 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4471 pathOffset += 1; 4568 pathOffset += 1;
4472 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 4569 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
4492 var keyvalue = part.split("="); 4589 var keyvalue = part.split("=");
4493 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4590 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4494 } 4591 }
4495 } 4592 }
4496 4593
4497 4594
4498 var h = { 4595 var h = {
4499 "content-type" : "application/json; charset=utf-8", 4596 "content-type" : "application/json; charset=utf-8",
4500 }; 4597 };
4501 var resp = ""; 4598 var resp = "";
4502 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4599 return new async.Future.value(stringResponse(200, h, resp));
4503 }), true); 4600 }), true);
4504 res.delete(arg_callSetId).then(unittest.expectAsync((_) {})); 4601 res.delete(arg_callSetId).then(unittest.expectAsync((_) {}));
4505 }); 4602 });
4506 4603
4507 unittest.test("method--get", () { 4604 unittest.test("method--get", () {
4508 4605
4509 var mock = new common_test.HttpServerMock(); 4606 var mock = new HttpServerMock();
4510 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; 4607 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
4511 var arg_callSetId = "foo"; 4608 var arg_callSetId = "foo";
4512 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4609 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4513 var path = (req.url).path; 4610 var path = (req.url).path;
4514 var pathOffset = 0; 4611 var pathOffset = 0;
4515 var index; 4612 var index;
4516 var subPart; 4613 var subPart;
4517 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4614 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4518 pathOffset += 1; 4615 pathOffset += 1;
4519 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 4616 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
4539 var keyvalue = part.split("="); 4636 var keyvalue = part.split("=");
4540 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4637 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4541 } 4638 }
4542 } 4639 }
4543 4640
4544 4641
4545 var h = { 4642 var h = {
4546 "content-type" : "application/json; charset=utf-8", 4643 "content-type" : "application/json; charset=utf-8",
4547 }; 4644 };
4548 var resp = convert.JSON.encode(buildCallSet()); 4645 var resp = convert.JSON.encode(buildCallSet());
4549 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4646 return new async.Future.value(stringResponse(200, h, resp));
4550 }), true); 4647 }), true);
4551 res.get(arg_callSetId).then(unittest.expectAsync(((api.CallSet response) { 4648 res.get(arg_callSetId).then(unittest.expectAsync(((api.CallSet response) {
4552 checkCallSet(response); 4649 checkCallSet(response);
4553 }))); 4650 })));
4554 }); 4651 });
4555 4652
4556 unittest.test("method--patch", () { 4653 unittest.test("method--patch", () {
4557 4654
4558 var mock = new common_test.HttpServerMock(); 4655 var mock = new HttpServerMock();
4559 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; 4656 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
4560 var arg_request = buildCallSet(); 4657 var arg_request = buildCallSet();
4561 var arg_callSetId = "foo"; 4658 var arg_callSetId = "foo";
4562 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4659 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4563 var obj = new api.CallSet.fromJson(json); 4660 var obj = new api.CallSet.fromJson(json);
4564 checkCallSet(obj); 4661 checkCallSet(obj);
4565 4662
4566 var path = (req.url).path; 4663 var path = (req.url).path;
4567 var pathOffset = 0; 4664 var pathOffset = 0;
4568 var index; 4665 var index;
(...skipping 23 matching lines...) Expand all
4592 var keyvalue = part.split("="); 4689 var keyvalue = part.split("=");
4593 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4690 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4594 } 4691 }
4595 } 4692 }
4596 4693
4597 4694
4598 var h = { 4695 var h = {
4599 "content-type" : "application/json; charset=utf-8", 4696 "content-type" : "application/json; charset=utf-8",
4600 }; 4697 };
4601 var resp = convert.JSON.encode(buildCallSet()); 4698 var resp = convert.JSON.encode(buildCallSet());
4602 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4699 return new async.Future.value(stringResponse(200, h, resp));
4603 }), true); 4700 }), true);
4604 res.patch(arg_request, arg_callSetId).then(unittest.expectAsync(((api.Call Set response) { 4701 res.patch(arg_request, arg_callSetId).then(unittest.expectAsync(((api.Call Set response) {
4605 checkCallSet(response); 4702 checkCallSet(response);
4606 }))); 4703 })));
4607 }); 4704 });
4608 4705
4609 unittest.test("method--search", () { 4706 unittest.test("method--search", () {
4610 4707
4611 var mock = new common_test.HttpServerMock(); 4708 var mock = new HttpServerMock();
4612 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; 4709 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
4613 var arg_request = buildSearchCallSetsRequest(); 4710 var arg_request = buildSearchCallSetsRequest();
4614 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4711 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4615 var obj = new api.SearchCallSetsRequest.fromJson(json); 4712 var obj = new api.SearchCallSetsRequest.fromJson(json);
4616 checkSearchCallSetsRequest(obj); 4713 checkSearchCallSetsRequest(obj);
4617 4714
4618 var path = (req.url).path; 4715 var path = (req.url).path;
4619 var pathOffset = 0; 4716 var pathOffset = 0;
4620 var index; 4717 var index;
4621 var subPart; 4718 var subPart;
(...skipping 19 matching lines...) Expand all
4641 var keyvalue = part.split("="); 4738 var keyvalue = part.split("=");
4642 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4739 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4643 } 4740 }
4644 } 4741 }
4645 4742
4646 4743
4647 var h = { 4744 var h = {
4648 "content-type" : "application/json; charset=utf-8", 4745 "content-type" : "application/json; charset=utf-8",
4649 }; 4746 };
4650 var resp = convert.JSON.encode(buildSearchCallSetsResponse()); 4747 var resp = convert.JSON.encode(buildSearchCallSetsResponse());
4651 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4748 return new async.Future.value(stringResponse(200, h, resp));
4652 }), true); 4749 }), true);
4653 res.search(arg_request).then(unittest.expectAsync(((api.SearchCallSetsResp onse response) { 4750 res.search(arg_request).then(unittest.expectAsync(((api.SearchCallSetsResp onse response) {
4654 checkSearchCallSetsResponse(response); 4751 checkSearchCallSetsResponse(response);
4655 }))); 4752 })));
4656 }); 4753 });
4657 4754
4658 unittest.test("method--update", () { 4755 unittest.test("method--update", () {
4659 4756
4660 var mock = new common_test.HttpServerMock(); 4757 var mock = new HttpServerMock();
4661 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets; 4758 api.CallsetsResourceApi res = new api.GenomicsApi(mock).callsets;
4662 var arg_request = buildCallSet(); 4759 var arg_request = buildCallSet();
4663 var arg_callSetId = "foo"; 4760 var arg_callSetId = "foo";
4664 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4761 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4665 var obj = new api.CallSet.fromJson(json); 4762 var obj = new api.CallSet.fromJson(json);
4666 checkCallSet(obj); 4763 checkCallSet(obj);
4667 4764
4668 var path = (req.url).path; 4765 var path = (req.url).path;
4669 var pathOffset = 0; 4766 var pathOffset = 0;
4670 var index; 4767 var index;
(...skipping 23 matching lines...) Expand all
4694 var keyvalue = part.split("="); 4791 var keyvalue = part.split("=");
4695 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4792 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4696 } 4793 }
4697 } 4794 }
4698 4795
4699 4796
4700 var h = { 4797 var h = {
4701 "content-type" : "application/json; charset=utf-8", 4798 "content-type" : "application/json; charset=utf-8",
4702 }; 4799 };
4703 var resp = convert.JSON.encode(buildCallSet()); 4800 var resp = convert.JSON.encode(buildCallSet());
4704 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4801 return new async.Future.value(stringResponse(200, h, resp));
4705 }), true); 4802 }), true);
4706 res.update(arg_request, arg_callSetId).then(unittest.expectAsync(((api.Cal lSet response) { 4803 res.update(arg_request, arg_callSetId).then(unittest.expectAsync(((api.Cal lSet response) {
4707 checkCallSet(response); 4804 checkCallSet(response);
4708 }))); 4805 })));
4709 }); 4806 });
4710 4807
4711 }); 4808 });
4712 4809
4713 4810
4714 unittest.group("resource-DatasetsResourceApi", () { 4811 unittest.group("resource-DatasetsResourceApi", () {
4715 unittest.test("method--create", () { 4812 unittest.test("method--create", () {
4716 4813
4717 var mock = new common_test.HttpServerMock(); 4814 var mock = new HttpServerMock();
4718 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 4815 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
4719 var arg_request = buildDataset(); 4816 var arg_request = buildDataset();
4720 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4817 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4721 var obj = new api.Dataset.fromJson(json); 4818 var obj = new api.Dataset.fromJson(json);
4722 checkDataset(obj); 4819 checkDataset(obj);
4723 4820
4724 var path = (req.url).path; 4821 var path = (req.url).path;
4725 var pathOffset = 0; 4822 var pathOffset = 0;
4726 var index; 4823 var index;
4727 var subPart; 4824 var subPart;
(...skipping 19 matching lines...) Expand all
4747 var keyvalue = part.split("="); 4844 var keyvalue = part.split("=");
4748 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4845 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4749 } 4846 }
4750 } 4847 }
4751 4848
4752 4849
4753 var h = { 4850 var h = {
4754 "content-type" : "application/json; charset=utf-8", 4851 "content-type" : "application/json; charset=utf-8",
4755 }; 4852 };
4756 var resp = convert.JSON.encode(buildDataset()); 4853 var resp = convert.JSON.encode(buildDataset());
4757 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4854 return new async.Future.value(stringResponse(200, h, resp));
4758 }), true); 4855 }), true);
4759 res.create(arg_request).then(unittest.expectAsync(((api.Dataset response) { 4856 res.create(arg_request).then(unittest.expectAsync(((api.Dataset response) {
4760 checkDataset(response); 4857 checkDataset(response);
4761 }))); 4858 })));
4762 }); 4859 });
4763 4860
4764 unittest.test("method--delete", () { 4861 unittest.test("method--delete", () {
4765 4862
4766 var mock = new common_test.HttpServerMock(); 4863 var mock = new HttpServerMock();
4767 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 4864 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
4768 var arg_datasetId = "foo"; 4865 var arg_datasetId = "foo";
4769 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4866 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4770 var path = (req.url).path; 4867 var path = (req.url).path;
4771 var pathOffset = 0; 4868 var pathOffset = 0;
4772 var index; 4869 var index;
4773 var subPart; 4870 var subPart;
4774 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4871 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4775 pathOffset += 1; 4872 pathOffset += 1;
4776 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 4873 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
4796 var keyvalue = part.split("="); 4893 var keyvalue = part.split("=");
4797 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4894 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4798 } 4895 }
4799 } 4896 }
4800 4897
4801 4898
4802 var h = { 4899 var h = {
4803 "content-type" : "application/json; charset=utf-8", 4900 "content-type" : "application/json; charset=utf-8",
4804 }; 4901 };
4805 var resp = ""; 4902 var resp = "";
4806 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4903 return new async.Future.value(stringResponse(200, h, resp));
4807 }), true); 4904 }), true);
4808 res.delete(arg_datasetId).then(unittest.expectAsync((_) {})); 4905 res.delete(arg_datasetId).then(unittest.expectAsync((_) {}));
4809 }); 4906 });
4810 4907
4811 unittest.test("method--get", () { 4908 unittest.test("method--get", () {
4812 4909
4813 var mock = new common_test.HttpServerMock(); 4910 var mock = new HttpServerMock();
4814 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 4911 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
4815 var arg_datasetId = "foo"; 4912 var arg_datasetId = "foo";
4816 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4913 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4817 var path = (req.url).path; 4914 var path = (req.url).path;
4818 var pathOffset = 0; 4915 var pathOffset = 0;
4819 var index; 4916 var index;
4820 var subPart; 4917 var subPart;
4821 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4918 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4822 pathOffset += 1; 4919 pathOffset += 1;
4823 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 4920 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
4843 var keyvalue = part.split("="); 4940 var keyvalue = part.split("=");
4844 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4941 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4845 } 4942 }
4846 } 4943 }
4847 4944
4848 4945
4849 var h = { 4946 var h = {
4850 "content-type" : "application/json; charset=utf-8", 4947 "content-type" : "application/json; charset=utf-8",
4851 }; 4948 };
4852 var resp = convert.JSON.encode(buildDataset()); 4949 var resp = convert.JSON.encode(buildDataset());
4853 return new async.Future.value(common_test.stringResponse(200, h, resp)); 4950 return new async.Future.value(stringResponse(200, h, resp));
4854 }), true); 4951 }), true);
4855 res.get(arg_datasetId).then(unittest.expectAsync(((api.Dataset response) { 4952 res.get(arg_datasetId).then(unittest.expectAsync(((api.Dataset response) {
4856 checkDataset(response); 4953 checkDataset(response);
4857 }))); 4954 })));
4858 }); 4955 });
4859 4956
4860 unittest.test("method--list", () { 4957 unittest.test("method--list", () {
4861 4958
4862 var mock = new common_test.HttpServerMock(); 4959 var mock = new HttpServerMock();
4863 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 4960 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
4864 var arg_pageSize = 42; 4961 var arg_pageSize = 42;
4865 var arg_pageToken = "foo"; 4962 var arg_pageToken = "foo";
4866 var arg_projectNumber = "foo"; 4963 var arg_projectNumber = "foo";
4867 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4964 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4868 var path = (req.url).path; 4965 var path = (req.url).path;
4869 var pathOffset = 0; 4966 var pathOffset = 0;
4870 var index; 4967 var index;
4871 var subPart; 4968 var subPart;
4872 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4969 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
(...skipping 21 matching lines...) Expand all
4894 } 4991 }
4895 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 4992 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4896 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 4993 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4897 unittest.expect(queryMap["projectNumber"].first, unittest.equals(arg_pro jectNumber)); 4994 unittest.expect(queryMap["projectNumber"].first, unittest.equals(arg_pro jectNumber));
4898 4995
4899 4996
4900 var h = { 4997 var h = {
4901 "content-type" : "application/json; charset=utf-8", 4998 "content-type" : "application/json; charset=utf-8",
4902 }; 4999 };
4903 var resp = convert.JSON.encode(buildListDatasetsResponse()); 5000 var resp = convert.JSON.encode(buildListDatasetsResponse());
4904 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5001 return new async.Future.value(stringResponse(200, h, resp));
4905 }), true); 5002 }), true);
4906 res.list(pageSize: arg_pageSize, pageToken: arg_pageToken, projectNumber: arg_projectNumber).then(unittest.expectAsync(((api.ListDatasetsResponse response ) { 5003 res.list(pageSize: arg_pageSize, pageToken: arg_pageToken, projectNumber: arg_projectNumber).then(unittest.expectAsync(((api.ListDatasetsResponse response ) {
4907 checkListDatasetsResponse(response); 5004 checkListDatasetsResponse(response);
4908 }))); 5005 })));
4909 }); 5006 });
4910 5007
4911 unittest.test("method--patch", () { 5008 unittest.test("method--patch", () {
4912 5009
4913 var mock = new common_test.HttpServerMock(); 5010 var mock = new HttpServerMock();
4914 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 5011 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
4915 var arg_request = buildDataset(); 5012 var arg_request = buildDataset();
4916 var arg_datasetId = "foo"; 5013 var arg_datasetId = "foo";
4917 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5014 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4918 var obj = new api.Dataset.fromJson(json); 5015 var obj = new api.Dataset.fromJson(json);
4919 checkDataset(obj); 5016 checkDataset(obj);
4920 5017
4921 var path = (req.url).path; 5018 var path = (req.url).path;
4922 var pathOffset = 0; 5019 var pathOffset = 0;
4923 var index; 5020 var index;
(...skipping 23 matching lines...) Expand all
4947 var keyvalue = part.split("="); 5044 var keyvalue = part.split("=");
4948 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5045 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4949 } 5046 }
4950 } 5047 }
4951 5048
4952 5049
4953 var h = { 5050 var h = {
4954 "content-type" : "application/json; charset=utf-8", 5051 "content-type" : "application/json; charset=utf-8",
4955 }; 5052 };
4956 var resp = convert.JSON.encode(buildDataset()); 5053 var resp = convert.JSON.encode(buildDataset());
4957 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5054 return new async.Future.value(stringResponse(200, h, resp));
4958 }), true); 5055 }), true);
4959 res.patch(arg_request, arg_datasetId).then(unittest.expectAsync(((api.Data set response) { 5056 res.patch(arg_request, arg_datasetId).then(unittest.expectAsync(((api.Data set response) {
4960 checkDataset(response); 5057 checkDataset(response);
4961 }))); 5058 })));
4962 }); 5059 });
4963 5060
4964 unittest.test("method--undelete", () { 5061 unittest.test("method--undelete", () {
4965 5062
4966 var mock = new common_test.HttpServerMock(); 5063 var mock = new HttpServerMock();
4967 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 5064 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
4968 var arg_datasetId = "foo"; 5065 var arg_datasetId = "foo";
4969 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5066 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4970 var path = (req.url).path; 5067 var path = (req.url).path;
4971 var pathOffset = 0; 5068 var pathOffset = 0;
4972 var index; 5069 var index;
4973 var subPart; 5070 var subPart;
4974 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5071 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4975 pathOffset += 1; 5072 pathOffset += 1;
4976 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 5073 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 23 matching lines...) Expand all
5000 var keyvalue = part.split("="); 5097 var keyvalue = part.split("=");
5001 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5098 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5002 } 5099 }
5003 } 5100 }
5004 5101
5005 5102
5006 var h = { 5103 var h = {
5007 "content-type" : "application/json; charset=utf-8", 5104 "content-type" : "application/json; charset=utf-8",
5008 }; 5105 };
5009 var resp = convert.JSON.encode(buildDataset()); 5106 var resp = convert.JSON.encode(buildDataset());
5010 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5107 return new async.Future.value(stringResponse(200, h, resp));
5011 }), true); 5108 }), true);
5012 res.undelete(arg_datasetId).then(unittest.expectAsync(((api.Dataset respon se) { 5109 res.undelete(arg_datasetId).then(unittest.expectAsync(((api.Dataset respon se) {
5013 checkDataset(response); 5110 checkDataset(response);
5014 }))); 5111 })));
5015 }); 5112 });
5016 5113
5017 unittest.test("method--update", () { 5114 unittest.test("method--update", () {
5018 5115
5019 var mock = new common_test.HttpServerMock(); 5116 var mock = new HttpServerMock();
5020 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; 5117 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets;
5021 var arg_request = buildDataset(); 5118 var arg_request = buildDataset();
5022 var arg_datasetId = "foo"; 5119 var arg_datasetId = "foo";
5023 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5120 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5024 var obj = new api.Dataset.fromJson(json); 5121 var obj = new api.Dataset.fromJson(json);
5025 checkDataset(obj); 5122 checkDataset(obj);
5026 5123
5027 var path = (req.url).path; 5124 var path = (req.url).path;
5028 var pathOffset = 0; 5125 var pathOffset = 0;
5029 var index; 5126 var index;
(...skipping 23 matching lines...) Expand all
5053 var keyvalue = part.split("="); 5150 var keyvalue = part.split("=");
5054 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5151 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5055 } 5152 }
5056 } 5153 }
5057 5154
5058 5155
5059 var h = { 5156 var h = {
5060 "content-type" : "application/json; charset=utf-8", 5157 "content-type" : "application/json; charset=utf-8",
5061 }; 5158 };
5062 var resp = convert.JSON.encode(buildDataset()); 5159 var resp = convert.JSON.encode(buildDataset());
5063 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5160 return new async.Future.value(stringResponse(200, h, resp));
5064 }), true); 5161 }), true);
5065 res.update(arg_request, arg_datasetId).then(unittest.expectAsync(((api.Dat aset response) { 5162 res.update(arg_request, arg_datasetId).then(unittest.expectAsync(((api.Dat aset response) {
5066 checkDataset(response); 5163 checkDataset(response);
5067 }))); 5164 })));
5068 }); 5165 });
5069 5166
5070 }); 5167 });
5071 5168
5072 5169
5073 unittest.group("resource-ExperimentalJobsResourceApi", () { 5170 unittest.group("resource-ExperimentalJobsResourceApi", () {
5074 unittest.test("method--create", () { 5171 unittest.test("method--create", () {
5075 5172
5076 var mock = new common_test.HttpServerMock(); 5173 var mock = new HttpServerMock();
5077 api.ExperimentalJobsResourceApi res = new api.GenomicsApi(mock).experiment al.jobs; 5174 api.ExperimentalJobsResourceApi res = new api.GenomicsApi(mock).experiment al.jobs;
5078 var arg_request = buildExperimentalCreateJobRequest(); 5175 var arg_request = buildExperimentalCreateJobRequest();
5079 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5176 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5080 var obj = new api.ExperimentalCreateJobRequest.fromJson(json); 5177 var obj = new api.ExperimentalCreateJobRequest.fromJson(json);
5081 checkExperimentalCreateJobRequest(obj); 5178 checkExperimentalCreateJobRequest(obj);
5082 5179
5083 var path = (req.url).path; 5180 var path = (req.url).path;
5084 var pathOffset = 0; 5181 var pathOffset = 0;
5085 var index; 5182 var index;
5086 var subPart; 5183 var subPart;
(...skipping 19 matching lines...) Expand all
5106 var keyvalue = part.split("="); 5203 var keyvalue = part.split("=");
5107 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5204 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5108 } 5205 }
5109 } 5206 }
5110 5207
5111 5208
5112 var h = { 5209 var h = {
5113 "content-type" : "application/json; charset=utf-8", 5210 "content-type" : "application/json; charset=utf-8",
5114 }; 5211 };
5115 var resp = convert.JSON.encode(buildExperimentalCreateJobResponse()); 5212 var resp = convert.JSON.encode(buildExperimentalCreateJobResponse());
5116 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5213 return new async.Future.value(stringResponse(200, h, resp));
5117 }), true); 5214 }), true);
5118 res.create(arg_request).then(unittest.expectAsync(((api.ExperimentalCreate JobResponse response) { 5215 res.create(arg_request).then(unittest.expectAsync(((api.ExperimentalCreate JobResponse response) {
5119 checkExperimentalCreateJobResponse(response); 5216 checkExperimentalCreateJobResponse(response);
5120 }))); 5217 })));
5121 }); 5218 });
5122 5219
5123 }); 5220 });
5124 5221
5125 5222
5126 unittest.group("resource-JobsResourceApi", () { 5223 unittest.group("resource-JobsResourceApi", () {
5127 unittest.test("method--cancel", () { 5224 unittest.test("method--cancel", () {
5128 5225
5129 var mock = new common_test.HttpServerMock(); 5226 var mock = new HttpServerMock();
5130 api.JobsResourceApi res = new api.GenomicsApi(mock).jobs; 5227 api.JobsResourceApi res = new api.GenomicsApi(mock).jobs;
5131 var arg_jobId = "foo"; 5228 var arg_jobId = "foo";
5132 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5229 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5133 var path = (req.url).path; 5230 var path = (req.url).path;
5134 var pathOffset = 0; 5231 var pathOffset = 0;
5135 var index; 5232 var index;
5136 var subPart; 5233 var subPart;
5137 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5234 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5138 pathOffset += 1; 5235 pathOffset += 1;
5139 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 5236 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 23 matching lines...) Expand all
5163 var keyvalue = part.split("="); 5260 var keyvalue = part.split("=");
5164 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5261 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5165 } 5262 }
5166 } 5263 }
5167 5264
5168 5265
5169 var h = { 5266 var h = {
5170 "content-type" : "application/json; charset=utf-8", 5267 "content-type" : "application/json; charset=utf-8",
5171 }; 5268 };
5172 var resp = ""; 5269 var resp = "";
5173 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5270 return new async.Future.value(stringResponse(200, h, resp));
5174 }), true); 5271 }), true);
5175 res.cancel(arg_jobId).then(unittest.expectAsync((_) {})); 5272 res.cancel(arg_jobId).then(unittest.expectAsync((_) {}));
5176 }); 5273 });
5177 5274
5178 unittest.test("method--get", () { 5275 unittest.test("method--get", () {
5179 5276
5180 var mock = new common_test.HttpServerMock(); 5277 var mock = new HttpServerMock();
5181 api.JobsResourceApi res = new api.GenomicsApi(mock).jobs; 5278 api.JobsResourceApi res = new api.GenomicsApi(mock).jobs;
5182 var arg_jobId = "foo"; 5279 var arg_jobId = "foo";
5183 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5280 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5184 var path = (req.url).path; 5281 var path = (req.url).path;
5185 var pathOffset = 0; 5282 var pathOffset = 0;
5186 var index; 5283 var index;
5187 var subPart; 5284 var subPart;
5188 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5285 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5189 pathOffset += 1; 5286 pathOffset += 1;
5190 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 5287 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
5210 var keyvalue = part.split("="); 5307 var keyvalue = part.split("=");
5211 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5308 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5212 } 5309 }
5213 } 5310 }
5214 5311
5215 5312
5216 var h = { 5313 var h = {
5217 "content-type" : "application/json; charset=utf-8", 5314 "content-type" : "application/json; charset=utf-8",
5218 }; 5315 };
5219 var resp = convert.JSON.encode(buildJob()); 5316 var resp = convert.JSON.encode(buildJob());
5220 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5317 return new async.Future.value(stringResponse(200, h, resp));
5221 }), true); 5318 }), true);
5222 res.get(arg_jobId).then(unittest.expectAsync(((api.Job response) { 5319 res.get(arg_jobId).then(unittest.expectAsync(((api.Job response) {
5223 checkJob(response); 5320 checkJob(response);
5224 }))); 5321 })));
5225 }); 5322 });
5226 5323
5227 unittest.test("method--search", () { 5324 unittest.test("method--search", () {
5228 5325
5229 var mock = new common_test.HttpServerMock(); 5326 var mock = new HttpServerMock();
5230 api.JobsResourceApi res = new api.GenomicsApi(mock).jobs; 5327 api.JobsResourceApi res = new api.GenomicsApi(mock).jobs;
5231 var arg_request = buildSearchJobsRequest(); 5328 var arg_request = buildSearchJobsRequest();
5232 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5329 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5233 var obj = new api.SearchJobsRequest.fromJson(json); 5330 var obj = new api.SearchJobsRequest.fromJson(json);
5234 checkSearchJobsRequest(obj); 5331 checkSearchJobsRequest(obj);
5235 5332
5236 var path = (req.url).path; 5333 var path = (req.url).path;
5237 var pathOffset = 0; 5334 var pathOffset = 0;
5238 var index; 5335 var index;
5239 var subPart; 5336 var subPart;
(...skipping 19 matching lines...) Expand all
5259 var keyvalue = part.split("="); 5356 var keyvalue = part.split("=");
5260 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5357 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5261 } 5358 }
5262 } 5359 }
5263 5360
5264 5361
5265 var h = { 5362 var h = {
5266 "content-type" : "application/json; charset=utf-8", 5363 "content-type" : "application/json; charset=utf-8",
5267 }; 5364 };
5268 var resp = convert.JSON.encode(buildSearchJobsResponse()); 5365 var resp = convert.JSON.encode(buildSearchJobsResponse());
5269 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5366 return new async.Future.value(stringResponse(200, h, resp));
5270 }), true); 5367 }), true);
5271 res.search(arg_request).then(unittest.expectAsync(((api.SearchJobsResponse response) { 5368 res.search(arg_request).then(unittest.expectAsync(((api.SearchJobsResponse response) {
5272 checkSearchJobsResponse(response); 5369 checkSearchJobsResponse(response);
5273 }))); 5370 })));
5274 }); 5371 });
5275 5372
5276 }); 5373 });
5277 5374
5278 5375
5279 unittest.group("resource-ReadgroupsetsResourceApi", () { 5376 unittest.group("resource-ReadgroupsetsResourceApi", () {
5280 unittest.test("method--align", () { 5377 unittest.test("method--align", () {
5281 5378
5282 var mock = new common_test.HttpServerMock(); 5379 var mock = new HttpServerMock();
5283 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5380 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5284 var arg_request = buildAlignReadGroupSetsRequest(); 5381 var arg_request = buildAlignReadGroupSetsRequest();
5285 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5382 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5286 var obj = new api.AlignReadGroupSetsRequest.fromJson(json); 5383 var obj = new api.AlignReadGroupSetsRequest.fromJson(json);
5287 checkAlignReadGroupSetsRequest(obj); 5384 checkAlignReadGroupSetsRequest(obj);
5288 5385
5289 var path = (req.url).path; 5386 var path = (req.url).path;
5290 var pathOffset = 0; 5387 var pathOffset = 0;
5291 var index; 5388 var index;
5292 var subPart; 5389 var subPart;
(...skipping 19 matching lines...) Expand all
5312 var keyvalue = part.split("="); 5409 var keyvalue = part.split("=");
5313 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5410 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5314 } 5411 }
5315 } 5412 }
5316 5413
5317 5414
5318 var h = { 5415 var h = {
5319 "content-type" : "application/json; charset=utf-8", 5416 "content-type" : "application/json; charset=utf-8",
5320 }; 5417 };
5321 var resp = convert.JSON.encode(buildAlignReadGroupSetsResponse()); 5418 var resp = convert.JSON.encode(buildAlignReadGroupSetsResponse());
5322 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5419 return new async.Future.value(stringResponse(200, h, resp));
5323 }), true); 5420 }), true);
5324 res.align(arg_request).then(unittest.expectAsync(((api.AlignReadGroupSetsR esponse response) { 5421 res.align(arg_request).then(unittest.expectAsync(((api.AlignReadGroupSetsR esponse response) {
5325 checkAlignReadGroupSetsResponse(response); 5422 checkAlignReadGroupSetsResponse(response);
5326 }))); 5423 })));
5327 }); 5424 });
5328 5425
5329 unittest.test("method--call", () { 5426 unittest.test("method--call", () {
5330 5427
5331 var mock = new common_test.HttpServerMock(); 5428 var mock = new HttpServerMock();
5332 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5429 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5333 var arg_request = buildCallReadGroupSetsRequest(); 5430 var arg_request = buildCallReadGroupSetsRequest();
5334 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5431 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5335 var obj = new api.CallReadGroupSetsRequest.fromJson(json); 5432 var obj = new api.CallReadGroupSetsRequest.fromJson(json);
5336 checkCallReadGroupSetsRequest(obj); 5433 checkCallReadGroupSetsRequest(obj);
5337 5434
5338 var path = (req.url).path; 5435 var path = (req.url).path;
5339 var pathOffset = 0; 5436 var pathOffset = 0;
5340 var index; 5437 var index;
5341 var subPart; 5438 var subPart;
(...skipping 19 matching lines...) Expand all
5361 var keyvalue = part.split("="); 5458 var keyvalue = part.split("=");
5362 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5459 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5363 } 5460 }
5364 } 5461 }
5365 5462
5366 5463
5367 var h = { 5464 var h = {
5368 "content-type" : "application/json; charset=utf-8", 5465 "content-type" : "application/json; charset=utf-8",
5369 }; 5466 };
5370 var resp = convert.JSON.encode(buildCallReadGroupSetsResponse()); 5467 var resp = convert.JSON.encode(buildCallReadGroupSetsResponse());
5371 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5468 return new async.Future.value(stringResponse(200, h, resp));
5372 }), true); 5469 }), true);
5373 res.call(arg_request).then(unittest.expectAsync(((api.CallReadGroupSetsRes ponse response) { 5470 res.call(arg_request).then(unittest.expectAsync(((api.CallReadGroupSetsRes ponse response) {
5374 checkCallReadGroupSetsResponse(response); 5471 checkCallReadGroupSetsResponse(response);
5375 }))); 5472 })));
5376 }); 5473 });
5377 5474
5378 unittest.test("method--delete", () { 5475 unittest.test("method--delete", () {
5379 5476
5380 var mock = new common_test.HttpServerMock(); 5477 var mock = new HttpServerMock();
5381 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5478 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5382 var arg_readGroupSetId = "foo"; 5479 var arg_readGroupSetId = "foo";
5383 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5480 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5384 var path = (req.url).path; 5481 var path = (req.url).path;
5385 var pathOffset = 0; 5482 var pathOffset = 0;
5386 var index; 5483 var index;
5387 var subPart; 5484 var subPart;
5388 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5485 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5389 pathOffset += 1; 5486 pathOffset += 1;
5390 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 5487 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
5410 var keyvalue = part.split("="); 5507 var keyvalue = part.split("=");
5411 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5508 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5412 } 5509 }
5413 } 5510 }
5414 5511
5415 5512
5416 var h = { 5513 var h = {
5417 "content-type" : "application/json; charset=utf-8", 5514 "content-type" : "application/json; charset=utf-8",
5418 }; 5515 };
5419 var resp = ""; 5516 var resp = "";
5420 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5517 return new async.Future.value(stringResponse(200, h, resp));
5421 }), true); 5518 }), true);
5422 res.delete(arg_readGroupSetId).then(unittest.expectAsync((_) {})); 5519 res.delete(arg_readGroupSetId).then(unittest.expectAsync((_) {}));
5423 }); 5520 });
5424 5521
5425 unittest.test("method--export", () { 5522 unittest.test("method--export", () {
5426 5523
5427 var mock = new common_test.HttpServerMock(); 5524 var mock = new HttpServerMock();
5428 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5525 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5429 var arg_request = buildExportReadGroupSetsRequest(); 5526 var arg_request = buildExportReadGroupSetsRequest();
5430 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5527 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5431 var obj = new api.ExportReadGroupSetsRequest.fromJson(json); 5528 var obj = new api.ExportReadGroupSetsRequest.fromJson(json);
5432 checkExportReadGroupSetsRequest(obj); 5529 checkExportReadGroupSetsRequest(obj);
5433 5530
5434 var path = (req.url).path; 5531 var path = (req.url).path;
5435 var pathOffset = 0; 5532 var pathOffset = 0;
5436 var index; 5533 var index;
5437 var subPart; 5534 var subPart;
(...skipping 19 matching lines...) Expand all
5457 var keyvalue = part.split("="); 5554 var keyvalue = part.split("=");
5458 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5555 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5459 } 5556 }
5460 } 5557 }
5461 5558
5462 5559
5463 var h = { 5560 var h = {
5464 "content-type" : "application/json; charset=utf-8", 5561 "content-type" : "application/json; charset=utf-8",
5465 }; 5562 };
5466 var resp = convert.JSON.encode(buildExportReadGroupSetsResponse()); 5563 var resp = convert.JSON.encode(buildExportReadGroupSetsResponse());
5467 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5564 return new async.Future.value(stringResponse(200, h, resp));
5468 }), true); 5565 }), true);
5469 res.export(arg_request).then(unittest.expectAsync(((api.ExportReadGroupSet sResponse response) { 5566 res.export(arg_request).then(unittest.expectAsync(((api.ExportReadGroupSet sResponse response) {
5470 checkExportReadGroupSetsResponse(response); 5567 checkExportReadGroupSetsResponse(response);
5471 }))); 5568 })));
5472 }); 5569 });
5473 5570
5474 unittest.test("method--get", () { 5571 unittest.test("method--get", () {
5475 5572
5476 var mock = new common_test.HttpServerMock(); 5573 var mock = new HttpServerMock();
5477 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5574 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5478 var arg_readGroupSetId = "foo"; 5575 var arg_readGroupSetId = "foo";
5479 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5576 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5480 var path = (req.url).path; 5577 var path = (req.url).path;
5481 var pathOffset = 0; 5578 var pathOffset = 0;
5482 var index; 5579 var index;
5483 var subPart; 5580 var subPart;
5484 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5581 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5485 pathOffset += 1; 5582 pathOffset += 1;
5486 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 5583 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
5506 var keyvalue = part.split("="); 5603 var keyvalue = part.split("=");
5507 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5604 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5508 } 5605 }
5509 } 5606 }
5510 5607
5511 5608
5512 var h = { 5609 var h = {
5513 "content-type" : "application/json; charset=utf-8", 5610 "content-type" : "application/json; charset=utf-8",
5514 }; 5611 };
5515 var resp = convert.JSON.encode(buildReadGroupSet()); 5612 var resp = convert.JSON.encode(buildReadGroupSet());
5516 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5613 return new async.Future.value(stringResponse(200, h, resp));
5517 }), true); 5614 }), true);
5518 res.get(arg_readGroupSetId).then(unittest.expectAsync(((api.ReadGroupSet r esponse) { 5615 res.get(arg_readGroupSetId).then(unittest.expectAsync(((api.ReadGroupSet r esponse) {
5519 checkReadGroupSet(response); 5616 checkReadGroupSet(response);
5520 }))); 5617 })));
5521 }); 5618 });
5522 5619
5523 unittest.test("method--import", () { 5620 unittest.test("method--import", () {
5524 5621
5525 var mock = new common_test.HttpServerMock(); 5622 var mock = new HttpServerMock();
5526 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5623 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5527 var arg_request = buildImportReadGroupSetsRequest(); 5624 var arg_request = buildImportReadGroupSetsRequest();
5528 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5625 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5529 var obj = new api.ImportReadGroupSetsRequest.fromJson(json); 5626 var obj = new api.ImportReadGroupSetsRequest.fromJson(json);
5530 checkImportReadGroupSetsRequest(obj); 5627 checkImportReadGroupSetsRequest(obj);
5531 5628
5532 var path = (req.url).path; 5629 var path = (req.url).path;
5533 var pathOffset = 0; 5630 var pathOffset = 0;
5534 var index; 5631 var index;
5535 var subPart; 5632 var subPart;
(...skipping 19 matching lines...) Expand all
5555 var keyvalue = part.split("="); 5652 var keyvalue = part.split("=");
5556 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5653 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5557 } 5654 }
5558 } 5655 }
5559 5656
5560 5657
5561 var h = { 5658 var h = {
5562 "content-type" : "application/json; charset=utf-8", 5659 "content-type" : "application/json; charset=utf-8",
5563 }; 5660 };
5564 var resp = convert.JSON.encode(buildImportReadGroupSetsResponse()); 5661 var resp = convert.JSON.encode(buildImportReadGroupSetsResponse());
5565 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5662 return new async.Future.value(stringResponse(200, h, resp));
5566 }), true); 5663 }), true);
5567 res.import(arg_request).then(unittest.expectAsync(((api.ImportReadGroupSet sResponse response) { 5664 res.import(arg_request).then(unittest.expectAsync(((api.ImportReadGroupSet sResponse response) {
5568 checkImportReadGroupSetsResponse(response); 5665 checkImportReadGroupSetsResponse(response);
5569 }))); 5666 })));
5570 }); 5667 });
5571 5668
5572 unittest.test("method--patch", () { 5669 unittest.test("method--patch", () {
5573 5670
5574 var mock = new common_test.HttpServerMock(); 5671 var mock = new HttpServerMock();
5575 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5672 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5576 var arg_request = buildReadGroupSet(); 5673 var arg_request = buildReadGroupSet();
5577 var arg_readGroupSetId = "foo"; 5674 var arg_readGroupSetId = "foo";
5578 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5675 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5579 var obj = new api.ReadGroupSet.fromJson(json); 5676 var obj = new api.ReadGroupSet.fromJson(json);
5580 checkReadGroupSet(obj); 5677 checkReadGroupSet(obj);
5581 5678
5582 var path = (req.url).path; 5679 var path = (req.url).path;
5583 var pathOffset = 0; 5680 var pathOffset = 0;
5584 var index; 5681 var index;
(...skipping 23 matching lines...) Expand all
5608 var keyvalue = part.split("="); 5705 var keyvalue = part.split("=");
5609 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5706 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5610 } 5707 }
5611 } 5708 }
5612 5709
5613 5710
5614 var h = { 5711 var h = {
5615 "content-type" : "application/json; charset=utf-8", 5712 "content-type" : "application/json; charset=utf-8",
5616 }; 5713 };
5617 var resp = convert.JSON.encode(buildReadGroupSet()); 5714 var resp = convert.JSON.encode(buildReadGroupSet());
5618 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5715 return new async.Future.value(stringResponse(200, h, resp));
5619 }), true); 5716 }), true);
5620 res.patch(arg_request, arg_readGroupSetId).then(unittest.expectAsync(((api .ReadGroupSet response) { 5717 res.patch(arg_request, arg_readGroupSetId).then(unittest.expectAsync(((api .ReadGroupSet response) {
5621 checkReadGroupSet(response); 5718 checkReadGroupSet(response);
5622 }))); 5719 })));
5623 }); 5720 });
5624 5721
5625 unittest.test("method--search", () { 5722 unittest.test("method--search", () {
5626 5723
5627 var mock = new common_test.HttpServerMock(); 5724 var mock = new HttpServerMock();
5628 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5725 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5629 var arg_request = buildSearchReadGroupSetsRequest(); 5726 var arg_request = buildSearchReadGroupSetsRequest();
5630 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5727 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5631 var obj = new api.SearchReadGroupSetsRequest.fromJson(json); 5728 var obj = new api.SearchReadGroupSetsRequest.fromJson(json);
5632 checkSearchReadGroupSetsRequest(obj); 5729 checkSearchReadGroupSetsRequest(obj);
5633 5730
5634 var path = (req.url).path; 5731 var path = (req.url).path;
5635 var pathOffset = 0; 5732 var pathOffset = 0;
5636 var index; 5733 var index;
5637 var subPart; 5734 var subPart;
(...skipping 19 matching lines...) Expand all
5657 var keyvalue = part.split("="); 5754 var keyvalue = part.split("=");
5658 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5755 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5659 } 5756 }
5660 } 5757 }
5661 5758
5662 5759
5663 var h = { 5760 var h = {
5664 "content-type" : "application/json; charset=utf-8", 5761 "content-type" : "application/json; charset=utf-8",
5665 }; 5762 };
5666 var resp = convert.JSON.encode(buildSearchReadGroupSetsResponse()); 5763 var resp = convert.JSON.encode(buildSearchReadGroupSetsResponse());
5667 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5764 return new async.Future.value(stringResponse(200, h, resp));
5668 }), true); 5765 }), true);
5669 res.search(arg_request).then(unittest.expectAsync(((api.SearchReadGroupSet sResponse response) { 5766 res.search(arg_request).then(unittest.expectAsync(((api.SearchReadGroupSet sResponse response) {
5670 checkSearchReadGroupSetsResponse(response); 5767 checkSearchReadGroupSetsResponse(response);
5671 }))); 5768 })));
5672 }); 5769 });
5673 5770
5674 unittest.test("method--update", () { 5771 unittest.test("method--update", () {
5675 5772
5676 var mock = new common_test.HttpServerMock(); 5773 var mock = new HttpServerMock();
5677 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ; 5774 api.ReadgroupsetsResourceApi res = new api.GenomicsApi(mock).readgroupsets ;
5678 var arg_request = buildReadGroupSet(); 5775 var arg_request = buildReadGroupSet();
5679 var arg_readGroupSetId = "foo"; 5776 var arg_readGroupSetId = "foo";
5680 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5777 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5681 var obj = new api.ReadGroupSet.fromJson(json); 5778 var obj = new api.ReadGroupSet.fromJson(json);
5682 checkReadGroupSet(obj); 5779 checkReadGroupSet(obj);
5683 5780
5684 var path = (req.url).path; 5781 var path = (req.url).path;
5685 var pathOffset = 0; 5782 var pathOffset = 0;
5686 var index; 5783 var index;
(...skipping 23 matching lines...) Expand all
5710 var keyvalue = part.split("="); 5807 var keyvalue = part.split("=");
5711 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5808 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5712 } 5809 }
5713 } 5810 }
5714 5811
5715 5812
5716 var h = { 5813 var h = {
5717 "content-type" : "application/json; charset=utf-8", 5814 "content-type" : "application/json; charset=utf-8",
5718 }; 5815 };
5719 var resp = convert.JSON.encode(buildReadGroupSet()); 5816 var resp = convert.JSON.encode(buildReadGroupSet());
5720 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5817 return new async.Future.value(stringResponse(200, h, resp));
5721 }), true); 5818 }), true);
5722 res.update(arg_request, arg_readGroupSetId).then(unittest.expectAsync(((ap i.ReadGroupSet response) { 5819 res.update(arg_request, arg_readGroupSetId).then(unittest.expectAsync(((ap i.ReadGroupSet response) {
5723 checkReadGroupSet(response); 5820 checkReadGroupSet(response);
5724 }))); 5821 })));
5725 }); 5822 });
5726 5823
5727 }); 5824 });
5728 5825
5729 5826
5730 unittest.group("resource-ReadgroupsetsCoveragebucketsResourceApi", () { 5827 unittest.group("resource-ReadgroupsetsCoveragebucketsResourceApi", () {
5731 unittest.test("method--list", () { 5828 unittest.test("method--list", () {
5732 5829
5733 var mock = new common_test.HttpServerMock(); 5830 var mock = new HttpServerMock();
5734 api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock ).readgroupsets.coveragebuckets; 5831 api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock ).readgroupsets.coveragebuckets;
5735 var arg_readGroupSetId = "foo"; 5832 var arg_readGroupSetId = "foo";
5736 var arg_pageSize = 42; 5833 var arg_pageSize = 42;
5737 var arg_pageToken = "foo"; 5834 var arg_pageToken = "foo";
5738 var arg_range_end = "foo"; 5835 var arg_range_end = "foo";
5739 var arg_range_referenceName = "foo"; 5836 var arg_range_referenceName = "foo";
5740 var arg_range_start = "foo"; 5837 var arg_range_start = "foo";
5741 var arg_targetBucketWidth = "foo"; 5838 var arg_targetBucketWidth = "foo";
5742 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5839 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5743 var path = (req.url).path; 5840 var path = (req.url).path;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
5779 unittest.expect(queryMap["range.end"].first, unittest.equals(arg_range_e nd)); 5876 unittest.expect(queryMap["range.end"].first, unittest.equals(arg_range_e nd));
5780 unittest.expect(queryMap["range.referenceName"].first, unittest.equals(a rg_range_referenceName)); 5877 unittest.expect(queryMap["range.referenceName"].first, unittest.equals(a rg_range_referenceName));
5781 unittest.expect(queryMap["range.start"].first, unittest.equals(arg_range _start)); 5878 unittest.expect(queryMap["range.start"].first, unittest.equals(arg_range _start));
5782 unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg _targetBucketWidth)); 5879 unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg _targetBucketWidth));
5783 5880
5784 5881
5785 var h = { 5882 var h = {
5786 "content-type" : "application/json; charset=utf-8", 5883 "content-type" : "application/json; charset=utf-8",
5787 }; 5884 };
5788 var resp = convert.JSON.encode(buildListCoverageBucketsResponse()); 5885 var resp = convert.JSON.encode(buildListCoverageBucketsResponse());
5789 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5886 return new async.Future.value(stringResponse(200, h, resp));
5790 }), true); 5887 }), true);
5791 res.list(arg_readGroupSetId, pageSize: arg_pageSize, pageToken: arg_pageTo ken, range_end: arg_range_end, range_referenceName: arg_range_referenceName, ran ge_start: arg_range_start, targetBucketWidth: arg_targetBucketWidth).then(unitte st.expectAsync(((api.ListCoverageBucketsResponse response) { 5888 res.list(arg_readGroupSetId, pageSize: arg_pageSize, pageToken: arg_pageTo ken, range_end: arg_range_end, range_referenceName: arg_range_referenceName, ran ge_start: arg_range_start, targetBucketWidth: arg_targetBucketWidth).then(unitte st.expectAsync(((api.ListCoverageBucketsResponse response) {
5792 checkListCoverageBucketsResponse(response); 5889 checkListCoverageBucketsResponse(response);
5793 }))); 5890 })));
5794 }); 5891 });
5795 5892
5796 }); 5893 });
5797 5894
5798 5895
5799 unittest.group("resource-ReadsResourceApi", () { 5896 unittest.group("resource-ReadsResourceApi", () {
5800 unittest.test("method--search", () { 5897 unittest.test("method--search", () {
5801 5898
5802 var mock = new common_test.HttpServerMock(); 5899 var mock = new HttpServerMock();
5803 api.ReadsResourceApi res = new api.GenomicsApi(mock).reads; 5900 api.ReadsResourceApi res = new api.GenomicsApi(mock).reads;
5804 var arg_request = buildSearchReadsRequest(); 5901 var arg_request = buildSearchReadsRequest();
5805 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5902 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5806 var obj = new api.SearchReadsRequest.fromJson(json); 5903 var obj = new api.SearchReadsRequest.fromJson(json);
5807 checkSearchReadsRequest(obj); 5904 checkSearchReadsRequest(obj);
5808 5905
5809 var path = (req.url).path; 5906 var path = (req.url).path;
5810 var pathOffset = 0; 5907 var pathOffset = 0;
5811 var index; 5908 var index;
5812 var subPart; 5909 var subPart;
(...skipping 19 matching lines...) Expand all
5832 var keyvalue = part.split("="); 5929 var keyvalue = part.split("=");
5833 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5930 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5834 } 5931 }
5835 } 5932 }
5836 5933
5837 5934
5838 var h = { 5935 var h = {
5839 "content-type" : "application/json; charset=utf-8", 5936 "content-type" : "application/json; charset=utf-8",
5840 }; 5937 };
5841 var resp = convert.JSON.encode(buildSearchReadsResponse()); 5938 var resp = convert.JSON.encode(buildSearchReadsResponse());
5842 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5939 return new async.Future.value(stringResponse(200, h, resp));
5843 }), true); 5940 }), true);
5844 res.search(arg_request).then(unittest.expectAsync(((api.SearchReadsRespons e response) { 5941 res.search(arg_request).then(unittest.expectAsync(((api.SearchReadsRespons e response) {
5845 checkSearchReadsResponse(response); 5942 checkSearchReadsResponse(response);
5846 }))); 5943 })));
5847 }); 5944 });
5848 5945
5849 }); 5946 });
5850 5947
5851 5948
5852 unittest.group("resource-ReferencesResourceApi", () { 5949 unittest.group("resource-ReferencesResourceApi", () {
5853 unittest.test("method--get", () { 5950 unittest.test("method--get", () {
5854 5951
5855 var mock = new common_test.HttpServerMock(); 5952 var mock = new HttpServerMock();
5856 api.ReferencesResourceApi res = new api.GenomicsApi(mock).references; 5953 api.ReferencesResourceApi res = new api.GenomicsApi(mock).references;
5857 var arg_referenceId = "foo"; 5954 var arg_referenceId = "foo";
5858 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5955 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5859 var path = (req.url).path; 5956 var path = (req.url).path;
5860 var pathOffset = 0; 5957 var pathOffset = 0;
5861 var index; 5958 var index;
5862 var subPart; 5959 var subPart;
5863 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5960 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5864 pathOffset += 1; 5961 pathOffset += 1;
5865 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 5962 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
5885 var keyvalue = part.split("="); 5982 var keyvalue = part.split("=");
5886 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5983 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5887 } 5984 }
5888 } 5985 }
5889 5986
5890 5987
5891 var h = { 5988 var h = {
5892 "content-type" : "application/json; charset=utf-8", 5989 "content-type" : "application/json; charset=utf-8",
5893 }; 5990 };
5894 var resp = convert.JSON.encode(buildReference()); 5991 var resp = convert.JSON.encode(buildReference());
5895 return new async.Future.value(common_test.stringResponse(200, h, resp)); 5992 return new async.Future.value(stringResponse(200, h, resp));
5896 }), true); 5993 }), true);
5897 res.get(arg_referenceId).then(unittest.expectAsync(((api.Reference respons e) { 5994 res.get(arg_referenceId).then(unittest.expectAsync(((api.Reference respons e) {
5898 checkReference(response); 5995 checkReference(response);
5899 }))); 5996 })));
5900 }); 5997 });
5901 5998
5902 unittest.test("method--search", () { 5999 unittest.test("method--search", () {
5903 6000
5904 var mock = new common_test.HttpServerMock(); 6001 var mock = new HttpServerMock();
5905 api.ReferencesResourceApi res = new api.GenomicsApi(mock).references; 6002 api.ReferencesResourceApi res = new api.GenomicsApi(mock).references;
5906 var arg_request = buildSearchReferencesRequest(); 6003 var arg_request = buildSearchReferencesRequest();
5907 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6004 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5908 var obj = new api.SearchReferencesRequest.fromJson(json); 6005 var obj = new api.SearchReferencesRequest.fromJson(json);
5909 checkSearchReferencesRequest(obj); 6006 checkSearchReferencesRequest(obj);
5910 6007
5911 var path = (req.url).path; 6008 var path = (req.url).path;
5912 var pathOffset = 0; 6009 var pathOffset = 0;
5913 var index; 6010 var index;
5914 var subPart; 6011 var subPart;
(...skipping 19 matching lines...) Expand all
5934 var keyvalue = part.split("="); 6031 var keyvalue = part.split("=");
5935 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6032 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5936 } 6033 }
5937 } 6034 }
5938 6035
5939 6036
5940 var h = { 6037 var h = {
5941 "content-type" : "application/json; charset=utf-8", 6038 "content-type" : "application/json; charset=utf-8",
5942 }; 6039 };
5943 var resp = convert.JSON.encode(buildSearchReferencesResponse()); 6040 var resp = convert.JSON.encode(buildSearchReferencesResponse());
5944 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6041 return new async.Future.value(stringResponse(200, h, resp));
5945 }), true); 6042 }), true);
5946 res.search(arg_request).then(unittest.expectAsync(((api.SearchReferencesRe sponse response) { 6043 res.search(arg_request).then(unittest.expectAsync(((api.SearchReferencesRe sponse response) {
5947 checkSearchReferencesResponse(response); 6044 checkSearchReferencesResponse(response);
5948 }))); 6045 })));
5949 }); 6046 });
5950 6047
5951 }); 6048 });
5952 6049
5953 6050
5954 unittest.group("resource-ReferencesBasesResourceApi", () { 6051 unittest.group("resource-ReferencesBasesResourceApi", () {
5955 unittest.test("method--list", () { 6052 unittest.test("method--list", () {
5956 6053
5957 var mock = new common_test.HttpServerMock(); 6054 var mock = new HttpServerMock();
5958 api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references. bases; 6055 api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references. bases;
5959 var arg_referenceId = "foo"; 6056 var arg_referenceId = "foo";
5960 var arg_end = "foo"; 6057 var arg_end = "foo";
5961 var arg_pageSize = 42; 6058 var arg_pageSize = 42;
5962 var arg_pageToken = "foo"; 6059 var arg_pageToken = "foo";
5963 var arg_start = "foo"; 6060 var arg_start = "foo";
5964 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6061 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5965 var path = (req.url).path; 6062 var path = (req.url).path;
5966 var pathOffset = 0; 6063 var pathOffset = 0;
5967 var index; 6064 var index;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
5999 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); 6096 unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
6000 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 6097 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
6001 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 6098 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
6002 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); 6099 unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
6003 6100
6004 6101
6005 var h = { 6102 var h = {
6006 "content-type" : "application/json; charset=utf-8", 6103 "content-type" : "application/json; charset=utf-8",
6007 }; 6104 };
6008 var resp = convert.JSON.encode(buildListBasesResponse()); 6105 var resp = convert.JSON.encode(buildListBasesResponse());
6009 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6106 return new async.Future.value(stringResponse(200, h, resp));
6010 }), true); 6107 }), true);
6011 res.list(arg_referenceId, end: arg_end, pageSize: arg_pageSize, pageToken: arg_pageToken, start: arg_start).then(unittest.expectAsync(((api.ListBasesRespo nse response) { 6108 res.list(arg_referenceId, end: arg_end, pageSize: arg_pageSize, pageToken: arg_pageToken, start: arg_start).then(unittest.expectAsync(((api.ListBasesRespo nse response) {
6012 checkListBasesResponse(response); 6109 checkListBasesResponse(response);
6013 }))); 6110 })));
6014 }); 6111 });
6015 6112
6016 }); 6113 });
6017 6114
6018 6115
6019 unittest.group("resource-ReferencesetsResourceApi", () { 6116 unittest.group("resource-ReferencesetsResourceApi", () {
6020 unittest.test("method--get", () { 6117 unittest.test("method--get", () {
6021 6118
6022 var mock = new common_test.HttpServerMock(); 6119 var mock = new HttpServerMock();
6023 api.ReferencesetsResourceApi res = new api.GenomicsApi(mock).referencesets ; 6120 api.ReferencesetsResourceApi res = new api.GenomicsApi(mock).referencesets ;
6024 var arg_referenceSetId = "foo"; 6121 var arg_referenceSetId = "foo";
6025 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6122 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6026 var path = (req.url).path; 6123 var path = (req.url).path;
6027 var pathOffset = 0; 6124 var pathOffset = 0;
6028 var index; 6125 var index;
6029 var subPart; 6126 var subPart;
6030 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6127 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6031 pathOffset += 1; 6128 pathOffset += 1;
6032 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 6129 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
6052 var keyvalue = part.split("="); 6149 var keyvalue = part.split("=");
6053 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6150 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6054 } 6151 }
6055 } 6152 }
6056 6153
6057 6154
6058 var h = { 6155 var h = {
6059 "content-type" : "application/json; charset=utf-8", 6156 "content-type" : "application/json; charset=utf-8",
6060 }; 6157 };
6061 var resp = convert.JSON.encode(buildReferenceSet()); 6158 var resp = convert.JSON.encode(buildReferenceSet());
6062 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6159 return new async.Future.value(stringResponse(200, h, resp));
6063 }), true); 6160 }), true);
6064 res.get(arg_referenceSetId).then(unittest.expectAsync(((api.ReferenceSet r esponse) { 6161 res.get(arg_referenceSetId).then(unittest.expectAsync(((api.ReferenceSet r esponse) {
6065 checkReferenceSet(response); 6162 checkReferenceSet(response);
6066 }))); 6163 })));
6067 }); 6164 });
6068 6165
6069 unittest.test("method--search", () { 6166 unittest.test("method--search", () {
6070 6167
6071 var mock = new common_test.HttpServerMock(); 6168 var mock = new HttpServerMock();
6072 api.ReferencesetsResourceApi res = new api.GenomicsApi(mock).referencesets ; 6169 api.ReferencesetsResourceApi res = new api.GenomicsApi(mock).referencesets ;
6073 var arg_request = buildSearchReferenceSetsRequest(); 6170 var arg_request = buildSearchReferenceSetsRequest();
6074 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6171 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6075 var obj = new api.SearchReferenceSetsRequest.fromJson(json); 6172 var obj = new api.SearchReferenceSetsRequest.fromJson(json);
6076 checkSearchReferenceSetsRequest(obj); 6173 checkSearchReferenceSetsRequest(obj);
6077 6174
6078 var path = (req.url).path; 6175 var path = (req.url).path;
6079 var pathOffset = 0; 6176 var pathOffset = 0;
6080 var index; 6177 var index;
6081 var subPart; 6178 var subPart;
(...skipping 19 matching lines...) Expand all
6101 var keyvalue = part.split("="); 6198 var keyvalue = part.split("=");
6102 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6199 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6103 } 6200 }
6104 } 6201 }
6105 6202
6106 6203
6107 var h = { 6204 var h = {
6108 "content-type" : "application/json; charset=utf-8", 6205 "content-type" : "application/json; charset=utf-8",
6109 }; 6206 };
6110 var resp = convert.JSON.encode(buildSearchReferenceSetsResponse()); 6207 var resp = convert.JSON.encode(buildSearchReferenceSetsResponse());
6111 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6208 return new async.Future.value(stringResponse(200, h, resp));
6112 }), true); 6209 }), true);
6113 res.search(arg_request).then(unittest.expectAsync(((api.SearchReferenceSet sResponse response) { 6210 res.search(arg_request).then(unittest.expectAsync(((api.SearchReferenceSet sResponse response) {
6114 checkSearchReferenceSetsResponse(response); 6211 checkSearchReferenceSetsResponse(response);
6115 }))); 6212 })));
6116 }); 6213 });
6117 6214
6118 }); 6215 });
6119 6216
6120 6217
6218 unittest.group("resource-StreamingVariantStoreResourceApi", () {
6219 unittest.test("method--streamvariants", () {
6220
6221 var mock = new HttpServerMock();
6222 api.StreamingVariantStoreResourceApi res = new api.GenomicsApi(mock).strea mingVariantStore;
6223 var arg_request = buildStreamVariantsRequest();
6224 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6225 var obj = new api.StreamVariantsRequest.fromJson(json);
6226 checkStreamVariantsRequest(obj);
6227
6228 var path = (req.url).path;
6229 var pathOffset = 0;
6230 var index;
6231 var subPart;
6232 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6233 pathOffset += 1;
6234 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
6235 pathOffset += 17;
6236 unittest.expect(path.substring(pathOffset, pathOffset + 36), unittest.eq uals("streamingVariantStore/streamvariants"));
6237 pathOffset += 36;
6238
6239 var query = (req.url).query;
6240 var queryOffset = 0;
6241 var queryMap = {};
6242 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
6243 parseBool(n) {
6244 if (n == "true") return true;
6245 if (n == "false") return false;
6246 if (n == null) return null;
6247 throw new core.ArgumentError("Invalid boolean: $n");
6248 }
6249 if (query.length > 0) {
6250 for (var part in query.split("&")) {
6251 var keyvalue = part.split("=");
6252 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6253 }
6254 }
6255
6256
6257 var h = {
6258 "content-type" : "application/json; charset=utf-8",
6259 };
6260 var resp = convert.JSON.encode(buildVariant());
6261 return new async.Future.value(stringResponse(200, h, resp));
6262 }), true);
6263 res.streamvariants(arg_request).then(unittest.expectAsync(((api.Variant re sponse) {
6264 checkVariant(response);
6265 })));
6266 });
6267
6268 });
6269
6270
6121 unittest.group("resource-VariantsResourceApi", () { 6271 unittest.group("resource-VariantsResourceApi", () {
6122 unittest.test("method--create", () { 6272 unittest.test("method--create", () {
6123 6273
6124 var mock = new common_test.HttpServerMock(); 6274 var mock = new HttpServerMock();
6125 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; 6275 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
6126 var arg_request = buildVariant(); 6276 var arg_request = buildVariant();
6127 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6277 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6128 var obj = new api.Variant.fromJson(json); 6278 var obj = new api.Variant.fromJson(json);
6129 checkVariant(obj); 6279 checkVariant(obj);
6130 6280
6131 var path = (req.url).path; 6281 var path = (req.url).path;
6132 var pathOffset = 0; 6282 var pathOffset = 0;
6133 var index; 6283 var index;
6134 var subPart; 6284 var subPart;
(...skipping 19 matching lines...) Expand all
6154 var keyvalue = part.split("="); 6304 var keyvalue = part.split("=");
6155 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6305 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6156 } 6306 }
6157 } 6307 }
6158 6308
6159 6309
6160 var h = { 6310 var h = {
6161 "content-type" : "application/json; charset=utf-8", 6311 "content-type" : "application/json; charset=utf-8",
6162 }; 6312 };
6163 var resp = convert.JSON.encode(buildVariant()); 6313 var resp = convert.JSON.encode(buildVariant());
6164 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6314 return new async.Future.value(stringResponse(200, h, resp));
6165 }), true); 6315 }), true);
6166 res.create(arg_request).then(unittest.expectAsync(((api.Variant response) { 6316 res.create(arg_request).then(unittest.expectAsync(((api.Variant response) {
6167 checkVariant(response); 6317 checkVariant(response);
6168 }))); 6318 })));
6169 }); 6319 });
6170 6320
6171 unittest.test("method--delete", () { 6321 unittest.test("method--delete", () {
6172 6322
6173 var mock = new common_test.HttpServerMock(); 6323 var mock = new HttpServerMock();
6174 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; 6324 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
6175 var arg_variantId = "foo"; 6325 var arg_variantId = "foo";
6176 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6326 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6177 var path = (req.url).path; 6327 var path = (req.url).path;
6178 var pathOffset = 0; 6328 var pathOffset = 0;
6179 var index; 6329 var index;
6180 var subPart; 6330 var subPart;
6181 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6331 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6182 pathOffset += 1; 6332 pathOffset += 1;
6183 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 6333 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
6203 var keyvalue = part.split("="); 6353 var keyvalue = part.split("=");
6204 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6354 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6205 } 6355 }
6206 } 6356 }
6207 6357
6208 6358
6209 var h = { 6359 var h = {
6210 "content-type" : "application/json; charset=utf-8", 6360 "content-type" : "application/json; charset=utf-8",
6211 }; 6361 };
6212 var resp = ""; 6362 var resp = "";
6213 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6363 return new async.Future.value(stringResponse(200, h, resp));
6214 }), true); 6364 }), true);
6215 res.delete(arg_variantId).then(unittest.expectAsync((_) {})); 6365 res.delete(arg_variantId).then(unittest.expectAsync((_) {}));
6216 }); 6366 });
6217 6367
6218 unittest.test("method--get", () { 6368 unittest.test("method--get", () {
6219 6369
6220 var mock = new common_test.HttpServerMock(); 6370 var mock = new HttpServerMock();
6221 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; 6371 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
6222 var arg_variantId = "foo"; 6372 var arg_variantId = "foo";
6223 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6373 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6224 var path = (req.url).path; 6374 var path = (req.url).path;
6225 var pathOffset = 0; 6375 var pathOffset = 0;
6226 var index; 6376 var index;
6227 var subPart; 6377 var subPart;
6228 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6378 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6229 pathOffset += 1; 6379 pathOffset += 1;
6230 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 6380 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
6250 var keyvalue = part.split("="); 6400 var keyvalue = part.split("=");
6251 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6401 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6252 } 6402 }
6253 } 6403 }
6254 6404
6255 6405
6256 var h = { 6406 var h = {
6257 "content-type" : "application/json; charset=utf-8", 6407 "content-type" : "application/json; charset=utf-8",
6258 }; 6408 };
6259 var resp = convert.JSON.encode(buildVariant()); 6409 var resp = convert.JSON.encode(buildVariant());
6260 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6410 return new async.Future.value(stringResponse(200, h, resp));
6261 }), true); 6411 }), true);
6262 res.get(arg_variantId).then(unittest.expectAsync(((api.Variant response) { 6412 res.get(arg_variantId).then(unittest.expectAsync(((api.Variant response) {
6263 checkVariant(response); 6413 checkVariant(response);
6264 }))); 6414 })));
6265 }); 6415 });
6266 6416
6267 unittest.test("method--search", () { 6417 unittest.test("method--search", () {
6268 6418
6269 var mock = new common_test.HttpServerMock(); 6419 var mock = new HttpServerMock();
6270 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; 6420 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
6271 var arg_request = buildSearchVariantsRequest(); 6421 var arg_request = buildSearchVariantsRequest();
6272 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6422 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6273 var obj = new api.SearchVariantsRequest.fromJson(json); 6423 var obj = new api.SearchVariantsRequest.fromJson(json);
6274 checkSearchVariantsRequest(obj); 6424 checkSearchVariantsRequest(obj);
6275 6425
6276 var path = (req.url).path; 6426 var path = (req.url).path;
6277 var pathOffset = 0; 6427 var pathOffset = 0;
6278 var index; 6428 var index;
6279 var subPart; 6429 var subPart;
(...skipping 19 matching lines...) Expand all
6299 var keyvalue = part.split("="); 6449 var keyvalue = part.split("=");
6300 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6450 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6301 } 6451 }
6302 } 6452 }
6303 6453
6304 6454
6305 var h = { 6455 var h = {
6306 "content-type" : "application/json; charset=utf-8", 6456 "content-type" : "application/json; charset=utf-8",
6307 }; 6457 };
6308 var resp = convert.JSON.encode(buildSearchVariantsResponse()); 6458 var resp = convert.JSON.encode(buildSearchVariantsResponse());
6309 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6459 return new async.Future.value(stringResponse(200, h, resp));
6310 }), true); 6460 }), true);
6311 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantsResp onse response) { 6461 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantsResp onse response) {
6312 checkSearchVariantsResponse(response); 6462 checkSearchVariantsResponse(response);
6313 }))); 6463 })));
6314 }); 6464 });
6315 6465
6316 unittest.test("method--update", () { 6466 unittest.test("method--update", () {
6317 6467
6318 var mock = new common_test.HttpServerMock(); 6468 var mock = new HttpServerMock();
6319 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; 6469 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants;
6320 var arg_request = buildVariant(); 6470 var arg_request = buildVariant();
6321 var arg_variantId = "foo"; 6471 var arg_variantId = "foo";
6322 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6472 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6323 var obj = new api.Variant.fromJson(json); 6473 var obj = new api.Variant.fromJson(json);
6324 checkVariant(obj); 6474 checkVariant(obj);
6325 6475
6326 var path = (req.url).path; 6476 var path = (req.url).path;
6327 var pathOffset = 0; 6477 var pathOffset = 0;
6328 var index; 6478 var index;
(...skipping 23 matching lines...) Expand all
6352 var keyvalue = part.split("="); 6502 var keyvalue = part.split("=");
6353 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6503 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6354 } 6504 }
6355 } 6505 }
6356 6506
6357 6507
6358 var h = { 6508 var h = {
6359 "content-type" : "application/json; charset=utf-8", 6509 "content-type" : "application/json; charset=utf-8",
6360 }; 6510 };
6361 var resp = convert.JSON.encode(buildVariant()); 6511 var resp = convert.JSON.encode(buildVariant());
6362 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6512 return new async.Future.value(stringResponse(200, h, resp));
6363 }), true); 6513 }), true);
6364 res.update(arg_request, arg_variantId).then(unittest.expectAsync(((api.Var iant response) { 6514 res.update(arg_request, arg_variantId).then(unittest.expectAsync(((api.Var iant response) {
6365 checkVariant(response); 6515 checkVariant(response);
6366 }))); 6516 })));
6367 }); 6517 });
6368 6518
6369 }); 6519 });
6370 6520
6371 6521
6372 unittest.group("resource-VariantsetsResourceApi", () { 6522 unittest.group("resource-VariantsetsResourceApi", () {
6373 unittest.test("method--delete", () { 6523 unittest.test("method--delete", () {
6374 6524
6375 var mock = new common_test.HttpServerMock(); 6525 var mock = new HttpServerMock();
6376 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6526 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6377 var arg_variantSetId = "foo"; 6527 var arg_variantSetId = "foo";
6378 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6528 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6379 var path = (req.url).path; 6529 var path = (req.url).path;
6380 var pathOffset = 0; 6530 var pathOffset = 0;
6381 var index; 6531 var index;
6382 var subPart; 6532 var subPart;
6383 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6533 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6384 pathOffset += 1; 6534 pathOffset += 1;
6385 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 6535 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
6405 var keyvalue = part.split("="); 6555 var keyvalue = part.split("=");
6406 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6556 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6407 } 6557 }
6408 } 6558 }
6409 6559
6410 6560
6411 var h = { 6561 var h = {
6412 "content-type" : "application/json; charset=utf-8", 6562 "content-type" : "application/json; charset=utf-8",
6413 }; 6563 };
6414 var resp = ""; 6564 var resp = "";
6415 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6565 return new async.Future.value(stringResponse(200, h, resp));
6416 }), true); 6566 }), true);
6417 res.delete(arg_variantSetId).then(unittest.expectAsync((_) {})); 6567 res.delete(arg_variantSetId).then(unittest.expectAsync((_) {}));
6418 }); 6568 });
6419 6569
6420 unittest.test("method--export", () { 6570 unittest.test("method--export", () {
6421 6571
6422 var mock = new common_test.HttpServerMock(); 6572 var mock = new HttpServerMock();
6423 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6573 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6424 var arg_request = buildExportVariantSetRequest(); 6574 var arg_request = buildExportVariantSetRequest();
6425 var arg_variantSetId = "foo"; 6575 var arg_variantSetId = "foo";
6426 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6576 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6427 var obj = new api.ExportVariantSetRequest.fromJson(json); 6577 var obj = new api.ExportVariantSetRequest.fromJson(json);
6428 checkExportVariantSetRequest(obj); 6578 checkExportVariantSetRequest(obj);
6429 6579
6430 var path = (req.url).path; 6580 var path = (req.url).path;
6431 var pathOffset = 0; 6581 var pathOffset = 0;
6432 var index; 6582 var index;
(...skipping 27 matching lines...) Expand all
6460 var keyvalue = part.split("="); 6610 var keyvalue = part.split("=");
6461 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6611 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6462 } 6612 }
6463 } 6613 }
6464 6614
6465 6615
6466 var h = { 6616 var h = {
6467 "content-type" : "application/json; charset=utf-8", 6617 "content-type" : "application/json; charset=utf-8",
6468 }; 6618 };
6469 var resp = convert.JSON.encode(buildExportVariantSetResponse()); 6619 var resp = convert.JSON.encode(buildExportVariantSetResponse());
6470 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6620 return new async.Future.value(stringResponse(200, h, resp));
6471 }), true); 6621 }), true);
6472 res.export(arg_request, arg_variantSetId).then(unittest.expectAsync(((api. ExportVariantSetResponse response) { 6622 res.export(arg_request, arg_variantSetId).then(unittest.expectAsync(((api. ExportVariantSetResponse response) {
6473 checkExportVariantSetResponse(response); 6623 checkExportVariantSetResponse(response);
6474 }))); 6624 })));
6475 }); 6625 });
6476 6626
6477 unittest.test("method--get", () { 6627 unittest.test("method--get", () {
6478 6628
6479 var mock = new common_test.HttpServerMock(); 6629 var mock = new HttpServerMock();
6480 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6630 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6481 var arg_variantSetId = "foo"; 6631 var arg_variantSetId = "foo";
6482 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6632 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6483 var path = (req.url).path; 6633 var path = (req.url).path;
6484 var pathOffset = 0; 6634 var pathOffset = 0;
6485 var index; 6635 var index;
6486 var subPart; 6636 var subPart;
6487 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6637 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6488 pathOffset += 1; 6638 pathOffset += 1;
6489 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/")); 6639 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq uals("genomics/v1beta2/"));
(...skipping 19 matching lines...) Expand all
6509 var keyvalue = part.split("="); 6659 var keyvalue = part.split("=");
6510 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6660 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6511 } 6661 }
6512 } 6662 }
6513 6663
6514 6664
6515 var h = { 6665 var h = {
6516 "content-type" : "application/json; charset=utf-8", 6666 "content-type" : "application/json; charset=utf-8",
6517 }; 6667 };
6518 var resp = convert.JSON.encode(buildVariantSet()); 6668 var resp = convert.JSON.encode(buildVariantSet());
6519 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6669 return new async.Future.value(stringResponse(200, h, resp));
6520 }), true); 6670 }), true);
6521 res.get(arg_variantSetId).then(unittest.expectAsync(((api.VariantSet respo nse) { 6671 res.get(arg_variantSetId).then(unittest.expectAsync(((api.VariantSet respo nse) {
6522 checkVariantSet(response); 6672 checkVariantSet(response);
6523 }))); 6673 })));
6524 }); 6674 });
6525 6675
6526 unittest.test("method--importVariants", () { 6676 unittest.test("method--importVariants", () {
6527 6677
6528 var mock = new common_test.HttpServerMock(); 6678 var mock = new HttpServerMock();
6529 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6679 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6530 var arg_request = buildImportVariantsRequest(); 6680 var arg_request = buildImportVariantsRequest();
6531 var arg_variantSetId = "foo"; 6681 var arg_variantSetId = "foo";
6532 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6682 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6533 var obj = new api.ImportVariantsRequest.fromJson(json); 6683 var obj = new api.ImportVariantsRequest.fromJson(json);
6534 checkImportVariantsRequest(obj); 6684 checkImportVariantsRequest(obj);
6535 6685
6536 var path = (req.url).path; 6686 var path = (req.url).path;
6537 var pathOffset = 0; 6687 var pathOffset = 0;
6538 var index; 6688 var index;
(...skipping 27 matching lines...) Expand all
6566 var keyvalue = part.split("="); 6716 var keyvalue = part.split("=");
6567 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6717 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6568 } 6718 }
6569 } 6719 }
6570 6720
6571 6721
6572 var h = { 6722 var h = {
6573 "content-type" : "application/json; charset=utf-8", 6723 "content-type" : "application/json; charset=utf-8",
6574 }; 6724 };
6575 var resp = convert.JSON.encode(buildImportVariantsResponse()); 6725 var resp = convert.JSON.encode(buildImportVariantsResponse());
6576 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6726 return new async.Future.value(stringResponse(200, h, resp));
6577 }), true); 6727 }), true);
6578 res.importVariants(arg_request, arg_variantSetId).then(unittest.expectAsyn c(((api.ImportVariantsResponse response) { 6728 res.importVariants(arg_request, arg_variantSetId).then(unittest.expectAsyn c(((api.ImportVariantsResponse response) {
6579 checkImportVariantsResponse(response); 6729 checkImportVariantsResponse(response);
6580 }))); 6730 })));
6581 }); 6731 });
6582 6732
6583 unittest.test("method--mergeVariants", () { 6733 unittest.test("method--mergeVariants", () {
6584 6734
6585 var mock = new common_test.HttpServerMock(); 6735 var mock = new HttpServerMock();
6586 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6736 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6587 var arg_request = buildMergeVariantsRequest(); 6737 var arg_request = buildMergeVariantsRequest();
6588 var arg_variantSetId = "foo"; 6738 var arg_variantSetId = "foo";
6589 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6739 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6590 var obj = new api.MergeVariantsRequest.fromJson(json); 6740 var obj = new api.MergeVariantsRequest.fromJson(json);
6591 checkMergeVariantsRequest(obj); 6741 checkMergeVariantsRequest(obj);
6592 6742
6593 var path = (req.url).path; 6743 var path = (req.url).path;
6594 var pathOffset = 0; 6744 var pathOffset = 0;
6595 var index; 6745 var index;
(...skipping 27 matching lines...) Expand all
6623 var keyvalue = part.split("="); 6773 var keyvalue = part.split("=");
6624 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6774 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6625 } 6775 }
6626 } 6776 }
6627 6777
6628 6778
6629 var h = { 6779 var h = {
6630 "content-type" : "application/json; charset=utf-8", 6780 "content-type" : "application/json; charset=utf-8",
6631 }; 6781 };
6632 var resp = ""; 6782 var resp = "";
6633 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6783 return new async.Future.value(stringResponse(200, h, resp));
6634 }), true); 6784 }), true);
6635 res.mergeVariants(arg_request, arg_variantSetId).then(unittest.expectAsync ((_) {})); 6785 res.mergeVariants(arg_request, arg_variantSetId).then(unittest.expectAsync ((_) {}));
6636 }); 6786 });
6637 6787
6638 unittest.test("method--patch", () { 6788 unittest.test("method--patch", () {
6639 6789
6640 var mock = new common_test.HttpServerMock(); 6790 var mock = new HttpServerMock();
6641 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6791 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6642 var arg_request = buildVariantSet(); 6792 var arg_request = buildVariantSet();
6643 var arg_variantSetId = "foo"; 6793 var arg_variantSetId = "foo";
6644 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6794 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6645 var obj = new api.VariantSet.fromJson(json); 6795 var obj = new api.VariantSet.fromJson(json);
6646 checkVariantSet(obj); 6796 checkVariantSet(obj);
6647 6797
6648 var path = (req.url).path; 6798 var path = (req.url).path;
6649 var pathOffset = 0; 6799 var pathOffset = 0;
6650 var index; 6800 var index;
(...skipping 23 matching lines...) Expand all
6674 var keyvalue = part.split("="); 6824 var keyvalue = part.split("=");
6675 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6825 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6676 } 6826 }
6677 } 6827 }
6678 6828
6679 6829
6680 var h = { 6830 var h = {
6681 "content-type" : "application/json; charset=utf-8", 6831 "content-type" : "application/json; charset=utf-8",
6682 }; 6832 };
6683 var resp = convert.JSON.encode(buildVariantSet()); 6833 var resp = convert.JSON.encode(buildVariantSet());
6684 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6834 return new async.Future.value(stringResponse(200, h, resp));
6685 }), true); 6835 }), true);
6686 res.patch(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.V ariantSet response) { 6836 res.patch(arg_request, arg_variantSetId).then(unittest.expectAsync(((api.V ariantSet response) {
6687 checkVariantSet(response); 6837 checkVariantSet(response);
6688 }))); 6838 })));
6689 }); 6839 });
6690 6840
6691 unittest.test("method--search", () { 6841 unittest.test("method--search", () {
6692 6842
6693 var mock = new common_test.HttpServerMock(); 6843 var mock = new HttpServerMock();
6694 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6844 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6695 var arg_request = buildSearchVariantSetsRequest(); 6845 var arg_request = buildSearchVariantSetsRequest();
6696 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6846 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6697 var obj = new api.SearchVariantSetsRequest.fromJson(json); 6847 var obj = new api.SearchVariantSetsRequest.fromJson(json);
6698 checkSearchVariantSetsRequest(obj); 6848 checkSearchVariantSetsRequest(obj);
6699 6849
6700 var path = (req.url).path; 6850 var path = (req.url).path;
6701 var pathOffset = 0; 6851 var pathOffset = 0;
6702 var index; 6852 var index;
6703 var subPart; 6853 var subPart;
(...skipping 19 matching lines...) Expand all
6723 var keyvalue = part.split("="); 6873 var keyvalue = part.split("=");
6724 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6874 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6725 } 6875 }
6726 } 6876 }
6727 6877
6728 6878
6729 var h = { 6879 var h = {
6730 "content-type" : "application/json; charset=utf-8", 6880 "content-type" : "application/json; charset=utf-8",
6731 }; 6881 };
6732 var resp = convert.JSON.encode(buildSearchVariantSetsResponse()); 6882 var resp = convert.JSON.encode(buildSearchVariantSetsResponse());
6733 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6883 return new async.Future.value(stringResponse(200, h, resp));
6734 }), true); 6884 }), true);
6735 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR esponse response) { 6885 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR esponse response) {
6736 checkSearchVariantSetsResponse(response); 6886 checkSearchVariantSetsResponse(response);
6737 }))); 6887 })));
6738 }); 6888 });
6739 6889
6740 unittest.test("method--update", () { 6890 unittest.test("method--update", () {
6741 6891
6742 var mock = new common_test.HttpServerMock(); 6892 var mock = new HttpServerMock();
6743 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; 6893 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets;
6744 var arg_request = buildVariantSet(); 6894 var arg_request = buildVariantSet();
6745 var arg_variantSetId = "foo"; 6895 var arg_variantSetId = "foo";
6746 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6896 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6747 var obj = new api.VariantSet.fromJson(json); 6897 var obj = new api.VariantSet.fromJson(json);
6748 checkVariantSet(obj); 6898 checkVariantSet(obj);
6749 6899
6750 var path = (req.url).path; 6900 var path = (req.url).path;
6751 var pathOffset = 0; 6901 var pathOffset = 0;
6752 var index; 6902 var index;
(...skipping 23 matching lines...) Expand all
6776 var keyvalue = part.split("="); 6926 var keyvalue = part.split("=");
6777 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6927 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6778 } 6928 }
6779 } 6929 }
6780 6930
6781 6931
6782 var h = { 6932 var h = {
6783 "content-type" : "application/json; charset=utf-8", 6933 "content-type" : "application/json; charset=utf-8",
6784 }; 6934 };
6785 var resp = convert.JSON.encode(buildVariantSet()); 6935 var resp = convert.JSON.encode(buildVariantSet());
6786 return new async.Future.value(common_test.stringResponse(200, h, resp)); 6936 return new async.Future.value(stringResponse(200, h, resp));
6787 }), true); 6937 }), true);
6788 res.update(arg_request, arg_variantSetId).then(unittest.expectAsync(((api. VariantSet response) { 6938 res.update(arg_request, arg_variantSetId).then(unittest.expectAsync(((api. VariantSet response) {
6789 checkVariantSet(response); 6939 checkVariantSet(response);
6790 }))); 6940 })));
6791 }); 6941 });
6792 6942
6793 }); 6943 });
6794 6944
6795 6945
6796 } 6946 }
6797 6947
OLDNEW
« no previous file with comments | « generated/googleapis_beta/test/dns/v1beta1_test.dart ('k') | generated/googleapis_beta/test/genomics/v1beta_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698