OLD | NEW |
1 library googleapis.genomics.v1.test; | 1 library googleapis.genomics.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed2528() { | 54 buildUnnamed2549() { |
55 var o = new core.List<core.Object>(); | 55 var o = new core.List<core.Object>(); |
56 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 56 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
57 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 57 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed2528(core.List<core.Object> o) { | 61 checkUnnamed2549(core.List<core.Object> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 63 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
64 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 64 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
65 } | 65 } |
66 | 66 |
67 buildUnnamed2529() { | 67 buildUnnamed2550() { |
68 var o = new core.Map<core.String, core.List<core.Object>>(); | 68 var o = new core.Map<core.String, core.List<core.Object>>(); |
69 o["x"] = buildUnnamed2528(); | 69 o["x"] = buildUnnamed2549(); |
70 o["y"] = buildUnnamed2528(); | 70 o["y"] = buildUnnamed2549(); |
71 return o; | 71 return o; |
72 } | 72 } |
73 | 73 |
74 checkUnnamed2529(core.Map<core.String, core.List<core.Object>> o) { | 74 checkUnnamed2550(core.Map<core.String, core.List<core.Object>> o) { |
75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
76 checkUnnamed2528(o["x"]); | 76 checkUnnamed2549(o["x"]); |
77 checkUnnamed2528(o["y"]); | 77 checkUnnamed2549(o["y"]); |
78 } | 78 } |
79 | 79 |
80 core.int buildCounterAnnotation = 0; | 80 core.int buildCounterAnnotation = 0; |
81 buildAnnotation() { | 81 buildAnnotation() { |
82 var o = new api.Annotation(); | 82 var o = new api.Annotation(); |
83 buildCounterAnnotation++; | 83 buildCounterAnnotation++; |
84 if (buildCounterAnnotation < 3) { | 84 if (buildCounterAnnotation < 3) { |
85 o.annotationSetId = "foo"; | 85 o.annotationSetId = "foo"; |
86 o.end = "foo"; | 86 o.end = "foo"; |
87 o.id = "foo"; | 87 o.id = "foo"; |
88 o.info = buildUnnamed2529(); | 88 o.info = buildUnnamed2550(); |
89 o.name = "foo"; | 89 o.name = "foo"; |
90 o.referenceId = "foo"; | 90 o.referenceId = "foo"; |
91 o.referenceName = "foo"; | 91 o.referenceName = "foo"; |
92 o.reverseStrand = true; | 92 o.reverseStrand = true; |
93 o.start = "foo"; | 93 o.start = "foo"; |
94 o.transcript = buildTranscript(); | 94 o.transcript = buildTranscript(); |
95 o.type = "foo"; | 95 o.type = "foo"; |
96 o.variant = buildVariantAnnotation(); | 96 o.variant = buildVariantAnnotation(); |
97 } | 97 } |
98 buildCounterAnnotation--; | 98 buildCounterAnnotation--; |
99 return o; | 99 return o; |
100 } | 100 } |
101 | 101 |
102 checkAnnotation(api.Annotation o) { | 102 checkAnnotation(api.Annotation o) { |
103 buildCounterAnnotation++; | 103 buildCounterAnnotation++; |
104 if (buildCounterAnnotation < 3) { | 104 if (buildCounterAnnotation < 3) { |
105 unittest.expect(o.annotationSetId, unittest.equals('foo')); | 105 unittest.expect(o.annotationSetId, unittest.equals('foo')); |
106 unittest.expect(o.end, unittest.equals('foo')); | 106 unittest.expect(o.end, unittest.equals('foo')); |
107 unittest.expect(o.id, unittest.equals('foo')); | 107 unittest.expect(o.id, unittest.equals('foo')); |
108 checkUnnamed2529(o.info); | 108 checkUnnamed2550(o.info); |
109 unittest.expect(o.name, unittest.equals('foo')); | 109 unittest.expect(o.name, unittest.equals('foo')); |
110 unittest.expect(o.referenceId, unittest.equals('foo')); | 110 unittest.expect(o.referenceId, unittest.equals('foo')); |
111 unittest.expect(o.referenceName, unittest.equals('foo')); | 111 unittest.expect(o.referenceName, unittest.equals('foo')); |
112 unittest.expect(o.reverseStrand, unittest.isTrue); | 112 unittest.expect(o.reverseStrand, unittest.isTrue); |
113 unittest.expect(o.start, unittest.equals('foo')); | 113 unittest.expect(o.start, unittest.equals('foo')); |
114 checkTranscript(o.transcript); | 114 checkTranscript(o.transcript); |
115 unittest.expect(o.type, unittest.equals('foo')); | 115 unittest.expect(o.type, unittest.equals('foo')); |
116 checkVariantAnnotation(o.variant); | 116 checkVariantAnnotation(o.variant); |
117 } | 117 } |
118 buildCounterAnnotation--; | 118 buildCounterAnnotation--; |
119 } | 119 } |
120 | 120 |
121 buildUnnamed2530() { | 121 buildUnnamed2551() { |
122 var o = new core.List<core.Object>(); | 122 var o = new core.List<core.Object>(); |
123 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 123 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
124 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 124 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
125 return o; | 125 return o; |
126 } | 126 } |
127 | 127 |
128 checkUnnamed2530(core.List<core.Object> o) { | 128 checkUnnamed2551(core.List<core.Object> o) { |
129 unittest.expect(o, unittest.hasLength(2)); | 129 unittest.expect(o, unittest.hasLength(2)); |
130 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); | 130 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); |
131 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); | 131 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); |
132 } | 132 } |
133 | 133 |
134 buildUnnamed2531() { | 134 buildUnnamed2552() { |
135 var o = new core.Map<core.String, core.List<core.Object>>(); | 135 var o = new core.Map<core.String, core.List<core.Object>>(); |
136 o["x"] = buildUnnamed2530(); | 136 o["x"] = buildUnnamed2551(); |
137 o["y"] = buildUnnamed2530(); | 137 o["y"] = buildUnnamed2551(); |
138 return o; | 138 return o; |
139 } | 139 } |
140 | 140 |
141 checkUnnamed2531(core.Map<core.String, core.List<core.Object>> o) { | 141 checkUnnamed2552(core.Map<core.String, core.List<core.Object>> o) { |
142 unittest.expect(o, unittest.hasLength(2)); | 142 unittest.expect(o, unittest.hasLength(2)); |
143 checkUnnamed2530(o["x"]); | 143 checkUnnamed2551(o["x"]); |
144 checkUnnamed2530(o["y"]); | 144 checkUnnamed2551(o["y"]); |
145 } | 145 } |
146 | 146 |
147 core.int buildCounterAnnotationSet = 0; | 147 core.int buildCounterAnnotationSet = 0; |
148 buildAnnotationSet() { | 148 buildAnnotationSet() { |
149 var o = new api.AnnotationSet(); | 149 var o = new api.AnnotationSet(); |
150 buildCounterAnnotationSet++; | 150 buildCounterAnnotationSet++; |
151 if (buildCounterAnnotationSet < 3) { | 151 if (buildCounterAnnotationSet < 3) { |
152 o.datasetId = "foo"; | 152 o.datasetId = "foo"; |
153 o.id = "foo"; | 153 o.id = "foo"; |
154 o.info = buildUnnamed2531(); | 154 o.info = buildUnnamed2552(); |
155 o.name = "foo"; | 155 o.name = "foo"; |
156 o.referenceSetId = "foo"; | 156 o.referenceSetId = "foo"; |
157 o.sourceUri = "foo"; | 157 o.sourceUri = "foo"; |
158 o.type = "foo"; | 158 o.type = "foo"; |
159 } | 159 } |
160 buildCounterAnnotationSet--; | 160 buildCounterAnnotationSet--; |
161 return o; | 161 return o; |
162 } | 162 } |
163 | 163 |
164 checkAnnotationSet(api.AnnotationSet o) { | 164 checkAnnotationSet(api.AnnotationSet o) { |
165 buildCounterAnnotationSet++; | 165 buildCounterAnnotationSet++; |
166 if (buildCounterAnnotationSet < 3) { | 166 if (buildCounterAnnotationSet < 3) { |
167 unittest.expect(o.datasetId, unittest.equals('foo')); | 167 unittest.expect(o.datasetId, unittest.equals('foo')); |
168 unittest.expect(o.id, unittest.equals('foo')); | 168 unittest.expect(o.id, unittest.equals('foo')); |
169 checkUnnamed2531(o.info); | 169 checkUnnamed2552(o.info); |
170 unittest.expect(o.name, unittest.equals('foo')); | 170 unittest.expect(o.name, unittest.equals('foo')); |
171 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 171 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
172 unittest.expect(o.sourceUri, unittest.equals('foo')); | 172 unittest.expect(o.sourceUri, unittest.equals('foo')); |
173 unittest.expect(o.type, unittest.equals('foo')); | 173 unittest.expect(o.type, unittest.equals('foo')); |
174 } | 174 } |
175 buildCounterAnnotationSet--; | 175 buildCounterAnnotationSet--; |
176 } | 176 } |
177 | 177 |
178 buildUnnamed2532() { | 178 buildUnnamed2553() { |
179 var o = new core.List<api.Annotation>(); | 179 var o = new core.List<api.Annotation>(); |
180 o.add(buildAnnotation()); | 180 o.add(buildAnnotation()); |
181 o.add(buildAnnotation()); | 181 o.add(buildAnnotation()); |
182 return o; | 182 return o; |
183 } | 183 } |
184 | 184 |
185 checkUnnamed2532(core.List<api.Annotation> o) { | 185 checkUnnamed2553(core.List<api.Annotation> o) { |
186 unittest.expect(o, unittest.hasLength(2)); | 186 unittest.expect(o, unittest.hasLength(2)); |
187 checkAnnotation(o[0]); | 187 checkAnnotation(o[0]); |
188 checkAnnotation(o[1]); | 188 checkAnnotation(o[1]); |
189 } | 189 } |
190 | 190 |
191 core.int buildCounterBatchCreateAnnotationsRequest = 0; | 191 core.int buildCounterBatchCreateAnnotationsRequest = 0; |
192 buildBatchCreateAnnotationsRequest() { | 192 buildBatchCreateAnnotationsRequest() { |
193 var o = new api.BatchCreateAnnotationsRequest(); | 193 var o = new api.BatchCreateAnnotationsRequest(); |
194 buildCounterBatchCreateAnnotationsRequest++; | 194 buildCounterBatchCreateAnnotationsRequest++; |
195 if (buildCounterBatchCreateAnnotationsRequest < 3) { | 195 if (buildCounterBatchCreateAnnotationsRequest < 3) { |
196 o.annotations = buildUnnamed2532(); | 196 o.annotations = buildUnnamed2553(); |
197 o.requestId = "foo"; | 197 o.requestId = "foo"; |
198 } | 198 } |
199 buildCounterBatchCreateAnnotationsRequest--; | 199 buildCounterBatchCreateAnnotationsRequest--; |
200 return o; | 200 return o; |
201 } | 201 } |
202 | 202 |
203 checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) { | 203 checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) { |
204 buildCounterBatchCreateAnnotationsRequest++; | 204 buildCounterBatchCreateAnnotationsRequest++; |
205 if (buildCounterBatchCreateAnnotationsRequest < 3) { | 205 if (buildCounterBatchCreateAnnotationsRequest < 3) { |
206 checkUnnamed2532(o.annotations); | 206 checkUnnamed2553(o.annotations); |
207 unittest.expect(o.requestId, unittest.equals('foo')); | 207 unittest.expect(o.requestId, unittest.equals('foo')); |
208 } | 208 } |
209 buildCounterBatchCreateAnnotationsRequest--; | 209 buildCounterBatchCreateAnnotationsRequest--; |
210 } | 210 } |
211 | 211 |
212 buildUnnamed2533() { | 212 buildUnnamed2554() { |
213 var o = new core.List<api.Entry>(); | 213 var o = new core.List<api.Entry>(); |
214 o.add(buildEntry()); | 214 o.add(buildEntry()); |
215 o.add(buildEntry()); | 215 o.add(buildEntry()); |
216 return o; | 216 return o; |
217 } | 217 } |
218 | 218 |
219 checkUnnamed2533(core.List<api.Entry> o) { | 219 checkUnnamed2554(core.List<api.Entry> o) { |
220 unittest.expect(o, unittest.hasLength(2)); | 220 unittest.expect(o, unittest.hasLength(2)); |
221 checkEntry(o[0]); | 221 checkEntry(o[0]); |
222 checkEntry(o[1]); | 222 checkEntry(o[1]); |
223 } | 223 } |
224 | 224 |
225 core.int buildCounterBatchCreateAnnotationsResponse = 0; | 225 core.int buildCounterBatchCreateAnnotationsResponse = 0; |
226 buildBatchCreateAnnotationsResponse() { | 226 buildBatchCreateAnnotationsResponse() { |
227 var o = new api.BatchCreateAnnotationsResponse(); | 227 var o = new api.BatchCreateAnnotationsResponse(); |
228 buildCounterBatchCreateAnnotationsResponse++; | 228 buildCounterBatchCreateAnnotationsResponse++; |
229 if (buildCounterBatchCreateAnnotationsResponse < 3) { | 229 if (buildCounterBatchCreateAnnotationsResponse < 3) { |
230 o.entries = buildUnnamed2533(); | 230 o.entries = buildUnnamed2554(); |
231 } | 231 } |
232 buildCounterBatchCreateAnnotationsResponse--; | 232 buildCounterBatchCreateAnnotationsResponse--; |
233 return o; | 233 return o; |
234 } | 234 } |
235 | 235 |
236 checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) { | 236 checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) { |
237 buildCounterBatchCreateAnnotationsResponse++; | 237 buildCounterBatchCreateAnnotationsResponse++; |
238 if (buildCounterBatchCreateAnnotationsResponse < 3) { | 238 if (buildCounterBatchCreateAnnotationsResponse < 3) { |
239 checkUnnamed2533(o.entries); | 239 checkUnnamed2554(o.entries); |
240 } | 240 } |
241 buildCounterBatchCreateAnnotationsResponse--; | 241 buildCounterBatchCreateAnnotationsResponse--; |
242 } | 242 } |
243 | 243 |
244 buildUnnamed2534() { | 244 buildUnnamed2555() { |
245 var o = new core.List<core.String>(); | 245 var o = new core.List<core.String>(); |
246 o.add("foo"); | 246 o.add("foo"); |
247 o.add("foo"); | 247 o.add("foo"); |
248 return o; | 248 return o; |
249 } | 249 } |
250 | 250 |
251 checkUnnamed2534(core.List<core.String> o) { | 251 checkUnnamed2555(core.List<core.String> o) { |
252 unittest.expect(o, unittest.hasLength(2)); | 252 unittest.expect(o, unittest.hasLength(2)); |
253 unittest.expect(o[0], unittest.equals('foo')); | 253 unittest.expect(o[0], unittest.equals('foo')); |
254 unittest.expect(o[1], unittest.equals('foo')); | 254 unittest.expect(o[1], unittest.equals('foo')); |
255 } | 255 } |
256 | 256 |
257 core.int buildCounterBinding = 0; | 257 core.int buildCounterBinding = 0; |
258 buildBinding() { | 258 buildBinding() { |
259 var o = new api.Binding(); | 259 var o = new api.Binding(); |
260 buildCounterBinding++; | 260 buildCounterBinding++; |
261 if (buildCounterBinding < 3) { | 261 if (buildCounterBinding < 3) { |
262 o.members = buildUnnamed2534(); | 262 o.members = buildUnnamed2555(); |
263 o.role = "foo"; | 263 o.role = "foo"; |
264 } | 264 } |
265 buildCounterBinding--; | 265 buildCounterBinding--; |
266 return o; | 266 return o; |
267 } | 267 } |
268 | 268 |
269 checkBinding(api.Binding o) { | 269 checkBinding(api.Binding o) { |
270 buildCounterBinding++; | 270 buildCounterBinding++; |
271 if (buildCounterBinding < 3) { | 271 if (buildCounterBinding < 3) { |
272 checkUnnamed2534(o.members); | 272 checkUnnamed2555(o.members); |
273 unittest.expect(o.role, unittest.equals('foo')); | 273 unittest.expect(o.role, unittest.equals('foo')); |
274 } | 274 } |
275 buildCounterBinding--; | 275 buildCounterBinding--; |
276 } | 276 } |
277 | 277 |
278 buildUnnamed2535() { | 278 buildUnnamed2556() { |
279 var o = new core.List<core.Object>(); | 279 var o = new core.List<core.Object>(); |
280 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 280 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
281 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 281 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
282 return o; | 282 return o; |
283 } | 283 } |
284 | 284 |
285 checkUnnamed2535(core.List<core.Object> o) { | 285 checkUnnamed2556(core.List<core.Object> o) { |
286 unittest.expect(o, unittest.hasLength(2)); | 286 unittest.expect(o, unittest.hasLength(2)); |
287 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); | 287 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); |
288 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); | 288 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); |
289 } | 289 } |
290 | 290 |
291 buildUnnamed2536() { | 291 buildUnnamed2557() { |
292 var o = new core.Map<core.String, core.List<core.Object>>(); | 292 var o = new core.Map<core.String, core.List<core.Object>>(); |
293 o["x"] = buildUnnamed2535(); | 293 o["x"] = buildUnnamed2556(); |
294 o["y"] = buildUnnamed2535(); | 294 o["y"] = buildUnnamed2556(); |
295 return o; | 295 return o; |
296 } | 296 } |
297 | 297 |
298 checkUnnamed2536(core.Map<core.String, core.List<core.Object>> o) { | 298 checkUnnamed2557(core.Map<core.String, core.List<core.Object>> o) { |
299 unittest.expect(o, unittest.hasLength(2)); | 299 unittest.expect(o, unittest.hasLength(2)); |
300 checkUnnamed2535(o["x"]); | 300 checkUnnamed2556(o["x"]); |
301 checkUnnamed2535(o["y"]); | 301 checkUnnamed2556(o["y"]); |
302 } | 302 } |
303 | 303 |
304 buildUnnamed2537() { | 304 buildUnnamed2558() { |
305 var o = new core.List<core.String>(); | 305 var o = new core.List<core.String>(); |
306 o.add("foo"); | 306 o.add("foo"); |
307 o.add("foo"); | 307 o.add("foo"); |
308 return o; | 308 return o; |
309 } | 309 } |
310 | 310 |
311 checkUnnamed2537(core.List<core.String> o) { | 311 checkUnnamed2558(core.List<core.String> o) { |
312 unittest.expect(o, unittest.hasLength(2)); | 312 unittest.expect(o, unittest.hasLength(2)); |
313 unittest.expect(o[0], unittest.equals('foo')); | 313 unittest.expect(o[0], unittest.equals('foo')); |
314 unittest.expect(o[1], unittest.equals('foo')); | 314 unittest.expect(o[1], unittest.equals('foo')); |
315 } | 315 } |
316 | 316 |
317 core.int buildCounterCallSet = 0; | 317 core.int buildCounterCallSet = 0; |
318 buildCallSet() { | 318 buildCallSet() { |
319 var o = new api.CallSet(); | 319 var o = new api.CallSet(); |
320 buildCounterCallSet++; | 320 buildCounterCallSet++; |
321 if (buildCounterCallSet < 3) { | 321 if (buildCounterCallSet < 3) { |
322 o.created = "foo"; | 322 o.created = "foo"; |
323 o.id = "foo"; | 323 o.id = "foo"; |
324 o.info = buildUnnamed2536(); | 324 o.info = buildUnnamed2557(); |
325 o.name = "foo"; | 325 o.name = "foo"; |
326 o.sampleId = "foo"; | 326 o.sampleId = "foo"; |
327 o.variantSetIds = buildUnnamed2537(); | 327 o.variantSetIds = buildUnnamed2558(); |
328 } | 328 } |
329 buildCounterCallSet--; | 329 buildCounterCallSet--; |
330 return o; | 330 return o; |
331 } | 331 } |
332 | 332 |
333 checkCallSet(api.CallSet o) { | 333 checkCallSet(api.CallSet o) { |
334 buildCounterCallSet++; | 334 buildCounterCallSet++; |
335 if (buildCounterCallSet < 3) { | 335 if (buildCounterCallSet < 3) { |
336 unittest.expect(o.created, unittest.equals('foo')); | 336 unittest.expect(o.created, unittest.equals('foo')); |
337 unittest.expect(o.id, unittest.equals('foo')); | 337 unittest.expect(o.id, unittest.equals('foo')); |
338 checkUnnamed2536(o.info); | 338 checkUnnamed2557(o.info); |
339 unittest.expect(o.name, unittest.equals('foo')); | 339 unittest.expect(o.name, unittest.equals('foo')); |
340 unittest.expect(o.sampleId, unittest.equals('foo')); | 340 unittest.expect(o.sampleId, unittest.equals('foo')); |
341 checkUnnamed2537(o.variantSetIds); | 341 checkUnnamed2558(o.variantSetIds); |
342 } | 342 } |
343 buildCounterCallSet--; | 343 buildCounterCallSet--; |
344 } | 344 } |
345 | 345 |
346 core.int buildCounterCancelOperationRequest = 0; | 346 core.int buildCounterCancelOperationRequest = 0; |
347 buildCancelOperationRequest() { | 347 buildCancelOperationRequest() { |
348 var o = new api.CancelOperationRequest(); | 348 var o = new api.CancelOperationRequest(); |
349 buildCounterCancelOperationRequest++; | 349 buildCounterCancelOperationRequest++; |
350 if (buildCounterCancelOperationRequest < 3) { | 350 if (buildCounterCancelOperationRequest < 3) { |
351 } | 351 } |
(...skipping 24 matching lines...) Expand all Loading... |
376 checkCigarUnit(api.CigarUnit o) { | 376 checkCigarUnit(api.CigarUnit o) { |
377 buildCounterCigarUnit++; | 377 buildCounterCigarUnit++; |
378 if (buildCounterCigarUnit < 3) { | 378 if (buildCounterCigarUnit < 3) { |
379 unittest.expect(o.operation, unittest.equals('foo')); | 379 unittest.expect(o.operation, unittest.equals('foo')); |
380 unittest.expect(o.operationLength, unittest.equals('foo')); | 380 unittest.expect(o.operationLength, unittest.equals('foo')); |
381 unittest.expect(o.referenceSequence, unittest.equals('foo')); | 381 unittest.expect(o.referenceSequence, unittest.equals('foo')); |
382 } | 382 } |
383 buildCounterCigarUnit--; | 383 buildCounterCigarUnit--; |
384 } | 384 } |
385 | 385 |
386 buildUnnamed2538() { | 386 buildUnnamed2559() { |
387 var o = new core.List<api.ExternalId>(); | 387 var o = new core.List<api.ExternalId>(); |
388 o.add(buildExternalId()); | 388 o.add(buildExternalId()); |
389 o.add(buildExternalId()); | 389 o.add(buildExternalId()); |
390 return o; | 390 return o; |
391 } | 391 } |
392 | 392 |
393 checkUnnamed2538(core.List<api.ExternalId> o) { | 393 checkUnnamed2559(core.List<api.ExternalId> o) { |
394 unittest.expect(o, unittest.hasLength(2)); | 394 unittest.expect(o, unittest.hasLength(2)); |
395 checkExternalId(o[0]); | 395 checkExternalId(o[0]); |
396 checkExternalId(o[1]); | 396 checkExternalId(o[1]); |
397 } | 397 } |
398 | 398 |
399 buildUnnamed2539() { | 399 buildUnnamed2560() { |
400 var o = new core.List<core.String>(); | 400 var o = new core.List<core.String>(); |
401 o.add("foo"); | 401 o.add("foo"); |
402 o.add("foo"); | 402 o.add("foo"); |
403 return o; | 403 return o; |
404 } | 404 } |
405 | 405 |
406 checkUnnamed2539(core.List<core.String> o) { | 406 checkUnnamed2560(core.List<core.String> o) { |
407 unittest.expect(o, unittest.hasLength(2)); | 407 unittest.expect(o, unittest.hasLength(2)); |
408 unittest.expect(o[0], unittest.equals('foo')); | 408 unittest.expect(o[0], unittest.equals('foo')); |
409 unittest.expect(o[1], unittest.equals('foo')); | 409 unittest.expect(o[1], unittest.equals('foo')); |
410 } | 410 } |
411 | 411 |
412 core.int buildCounterClinicalCondition = 0; | 412 core.int buildCounterClinicalCondition = 0; |
413 buildClinicalCondition() { | 413 buildClinicalCondition() { |
414 var o = new api.ClinicalCondition(); | 414 var o = new api.ClinicalCondition(); |
415 buildCounterClinicalCondition++; | 415 buildCounterClinicalCondition++; |
416 if (buildCounterClinicalCondition < 3) { | 416 if (buildCounterClinicalCondition < 3) { |
417 o.conceptId = "foo"; | 417 o.conceptId = "foo"; |
418 o.externalIds = buildUnnamed2538(); | 418 o.externalIds = buildUnnamed2559(); |
419 o.names = buildUnnamed2539(); | 419 o.names = buildUnnamed2560(); |
420 o.omimId = "foo"; | 420 o.omimId = "foo"; |
421 } | 421 } |
422 buildCounterClinicalCondition--; | 422 buildCounterClinicalCondition--; |
423 return o; | 423 return o; |
424 } | 424 } |
425 | 425 |
426 checkClinicalCondition(api.ClinicalCondition o) { | 426 checkClinicalCondition(api.ClinicalCondition o) { |
427 buildCounterClinicalCondition++; | 427 buildCounterClinicalCondition++; |
428 if (buildCounterClinicalCondition < 3) { | 428 if (buildCounterClinicalCondition < 3) { |
429 unittest.expect(o.conceptId, unittest.equals('foo')); | 429 unittest.expect(o.conceptId, unittest.equals('foo')); |
430 checkUnnamed2538(o.externalIds); | 430 checkUnnamed2559(o.externalIds); |
431 checkUnnamed2539(o.names); | 431 checkUnnamed2560(o.names); |
432 unittest.expect(o.omimId, unittest.equals('foo')); | 432 unittest.expect(o.omimId, unittest.equals('foo')); |
433 } | 433 } |
434 buildCounterClinicalCondition--; | 434 buildCounterClinicalCondition--; |
435 } | 435 } |
436 | 436 |
437 core.int buildCounterCodingSequence = 0; | 437 core.int buildCounterCodingSequence = 0; |
438 buildCodingSequence() { | 438 buildCodingSequence() { |
439 var o = new api.CodingSequence(); | 439 var o = new api.CodingSequence(); |
440 buildCounterCodingSequence++; | 440 buildCounterCodingSequence++; |
441 if (buildCounterCodingSequence < 3) { | 441 if (buildCounterCodingSequence < 3) { |
442 o.end = "foo"; | 442 o.end = "foo"; |
443 o.start = "foo"; | 443 o.start = "foo"; |
444 } | 444 } |
445 buildCounterCodingSequence--; | 445 buildCounterCodingSequence--; |
446 return o; | 446 return o; |
447 } | 447 } |
448 | 448 |
449 checkCodingSequence(api.CodingSequence o) { | 449 checkCodingSequence(api.CodingSequence o) { |
450 buildCounterCodingSequence++; | 450 buildCounterCodingSequence++; |
451 if (buildCounterCodingSequence < 3) { | 451 if (buildCounterCodingSequence < 3) { |
452 unittest.expect(o.end, unittest.equals('foo')); | 452 unittest.expect(o.end, unittest.equals('foo')); |
453 unittest.expect(o.start, unittest.equals('foo')); | 453 unittest.expect(o.start, unittest.equals('foo')); |
454 } | 454 } |
455 buildCounterCodingSequence--; | 455 buildCounterCodingSequence--; |
456 } | 456 } |
457 | 457 |
458 buildUnnamed2540() { | 458 buildUnnamed2561() { |
459 var o = new core.List<core.String>(); | 459 var o = new core.List<core.String>(); |
460 o.add("foo"); | 460 o.add("foo"); |
461 o.add("foo"); | 461 o.add("foo"); |
462 return o; | 462 return o; |
463 } | 463 } |
464 | 464 |
465 checkUnnamed2540(core.List<core.String> o) { | 465 checkUnnamed2561(core.List<core.String> o) { |
466 unittest.expect(o, unittest.hasLength(2)); | 466 unittest.expect(o, unittest.hasLength(2)); |
467 unittest.expect(o[0], unittest.equals('foo')); | 467 unittest.expect(o[0], unittest.equals('foo')); |
468 unittest.expect(o[1], unittest.equals('foo')); | 468 unittest.expect(o[1], unittest.equals('foo')); |
469 } | 469 } |
470 | 470 |
471 core.int buildCounterComputeEngine = 0; | 471 core.int buildCounterComputeEngine = 0; |
472 buildComputeEngine() { | 472 buildComputeEngine() { |
473 var o = new api.ComputeEngine(); | 473 var o = new api.ComputeEngine(); |
474 buildCounterComputeEngine++; | 474 buildCounterComputeEngine++; |
475 if (buildCounterComputeEngine < 3) { | 475 if (buildCounterComputeEngine < 3) { |
476 o.diskNames = buildUnnamed2540(); | 476 o.diskNames = buildUnnamed2561(); |
477 o.instanceName = "foo"; | 477 o.instanceName = "foo"; |
478 o.machineType = "foo"; | 478 o.machineType = "foo"; |
479 o.zone = "foo"; | 479 o.zone = "foo"; |
480 } | 480 } |
481 buildCounterComputeEngine--; | 481 buildCounterComputeEngine--; |
482 return o; | 482 return o; |
483 } | 483 } |
484 | 484 |
485 checkComputeEngine(api.ComputeEngine o) { | 485 checkComputeEngine(api.ComputeEngine o) { |
486 buildCounterComputeEngine++; | 486 buildCounterComputeEngine++; |
487 if (buildCounterComputeEngine < 3) { | 487 if (buildCounterComputeEngine < 3) { |
488 checkUnnamed2540(o.diskNames); | 488 checkUnnamed2561(o.diskNames); |
489 unittest.expect(o.instanceName, unittest.equals('foo')); | 489 unittest.expect(o.instanceName, unittest.equals('foo')); |
490 unittest.expect(o.machineType, unittest.equals('foo')); | 490 unittest.expect(o.machineType, unittest.equals('foo')); |
491 unittest.expect(o.zone, unittest.equals('foo')); | 491 unittest.expect(o.zone, unittest.equals('foo')); |
492 } | 492 } |
493 buildCounterComputeEngine--; | 493 buildCounterComputeEngine--; |
494 } | 494 } |
495 | 495 |
496 core.int buildCounterCoverageBucket = 0; | 496 core.int buildCounterCoverageBucket = 0; |
497 buildCoverageBucket() { | 497 buildCoverageBucket() { |
498 var o = new api.CoverageBucket(); | 498 var o = new api.CoverageBucket(); |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 buildCounterExperiment++; | 618 buildCounterExperiment++; |
619 if (buildCounterExperiment < 3) { | 619 if (buildCounterExperiment < 3) { |
620 unittest.expect(o.instrumentModel, unittest.equals('foo')); | 620 unittest.expect(o.instrumentModel, unittest.equals('foo')); |
621 unittest.expect(o.libraryId, unittest.equals('foo')); | 621 unittest.expect(o.libraryId, unittest.equals('foo')); |
622 unittest.expect(o.platformUnit, unittest.equals('foo')); | 622 unittest.expect(o.platformUnit, unittest.equals('foo')); |
623 unittest.expect(o.sequencingCenter, unittest.equals('foo')); | 623 unittest.expect(o.sequencingCenter, unittest.equals('foo')); |
624 } | 624 } |
625 buildCounterExperiment--; | 625 buildCounterExperiment--; |
626 } | 626 } |
627 | 627 |
628 buildUnnamed2541() { | 628 buildUnnamed2562() { |
629 var o = new core.List<core.String>(); | 629 var o = new core.List<core.String>(); |
630 o.add("foo"); | 630 o.add("foo"); |
631 o.add("foo"); | 631 o.add("foo"); |
632 return o; | 632 return o; |
633 } | 633 } |
634 | 634 |
635 checkUnnamed2541(core.List<core.String> o) { | 635 checkUnnamed2562(core.List<core.String> o) { |
636 unittest.expect(o, unittest.hasLength(2)); | 636 unittest.expect(o, unittest.hasLength(2)); |
637 unittest.expect(o[0], unittest.equals('foo')); | 637 unittest.expect(o[0], unittest.equals('foo')); |
638 unittest.expect(o[1], unittest.equals('foo')); | 638 unittest.expect(o[1], unittest.equals('foo')); |
639 } | 639 } |
640 | 640 |
641 core.int buildCounterExportReadGroupSetRequest = 0; | 641 core.int buildCounterExportReadGroupSetRequest = 0; |
642 buildExportReadGroupSetRequest() { | 642 buildExportReadGroupSetRequest() { |
643 var o = new api.ExportReadGroupSetRequest(); | 643 var o = new api.ExportReadGroupSetRequest(); |
644 buildCounterExportReadGroupSetRequest++; | 644 buildCounterExportReadGroupSetRequest++; |
645 if (buildCounterExportReadGroupSetRequest < 3) { | 645 if (buildCounterExportReadGroupSetRequest < 3) { |
646 o.exportUri = "foo"; | 646 o.exportUri = "foo"; |
647 o.projectId = "foo"; | 647 o.projectId = "foo"; |
648 o.referenceNames = buildUnnamed2541(); | 648 o.referenceNames = buildUnnamed2562(); |
649 } | 649 } |
650 buildCounterExportReadGroupSetRequest--; | 650 buildCounterExportReadGroupSetRequest--; |
651 return o; | 651 return o; |
652 } | 652 } |
653 | 653 |
654 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { | 654 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { |
655 buildCounterExportReadGroupSetRequest++; | 655 buildCounterExportReadGroupSetRequest++; |
656 if (buildCounterExportReadGroupSetRequest < 3) { | 656 if (buildCounterExportReadGroupSetRequest < 3) { |
657 unittest.expect(o.exportUri, unittest.equals('foo')); | 657 unittest.expect(o.exportUri, unittest.equals('foo')); |
658 unittest.expect(o.projectId, unittest.equals('foo')); | 658 unittest.expect(o.projectId, unittest.equals('foo')); |
659 checkUnnamed2541(o.referenceNames); | 659 checkUnnamed2562(o.referenceNames); |
660 } | 660 } |
661 buildCounterExportReadGroupSetRequest--; | 661 buildCounterExportReadGroupSetRequest--; |
662 } | 662 } |
663 | 663 |
664 buildUnnamed2542() { | 664 buildUnnamed2563() { |
665 var o = new core.List<core.String>(); | 665 var o = new core.List<core.String>(); |
666 o.add("foo"); | 666 o.add("foo"); |
667 o.add("foo"); | 667 o.add("foo"); |
668 return o; | 668 return o; |
669 } | 669 } |
670 | 670 |
671 checkUnnamed2542(core.List<core.String> o) { | 671 checkUnnamed2563(core.List<core.String> o) { |
672 unittest.expect(o, unittest.hasLength(2)); | 672 unittest.expect(o, unittest.hasLength(2)); |
673 unittest.expect(o[0], unittest.equals('foo')); | 673 unittest.expect(o[0], unittest.equals('foo')); |
674 unittest.expect(o[1], unittest.equals('foo')); | 674 unittest.expect(o[1], unittest.equals('foo')); |
675 } | 675 } |
676 | 676 |
677 core.int buildCounterExportVariantSetRequest = 0; | 677 core.int buildCounterExportVariantSetRequest = 0; |
678 buildExportVariantSetRequest() { | 678 buildExportVariantSetRequest() { |
679 var o = new api.ExportVariantSetRequest(); | 679 var o = new api.ExportVariantSetRequest(); |
680 buildCounterExportVariantSetRequest++; | 680 buildCounterExportVariantSetRequest++; |
681 if (buildCounterExportVariantSetRequest < 3) { | 681 if (buildCounterExportVariantSetRequest < 3) { |
682 o.bigqueryDataset = "foo"; | 682 o.bigqueryDataset = "foo"; |
683 o.bigqueryTable = "foo"; | 683 o.bigqueryTable = "foo"; |
684 o.callSetIds = buildUnnamed2542(); | 684 o.callSetIds = buildUnnamed2563(); |
685 o.format = "foo"; | 685 o.format = "foo"; |
686 o.projectId = "foo"; | 686 o.projectId = "foo"; |
687 } | 687 } |
688 buildCounterExportVariantSetRequest--; | 688 buildCounterExportVariantSetRequest--; |
689 return o; | 689 return o; |
690 } | 690 } |
691 | 691 |
692 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { | 692 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { |
693 buildCounterExportVariantSetRequest++; | 693 buildCounterExportVariantSetRequest++; |
694 if (buildCounterExportVariantSetRequest < 3) { | 694 if (buildCounterExportVariantSetRequest < 3) { |
695 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); | 695 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); |
696 unittest.expect(o.bigqueryTable, unittest.equals('foo')); | 696 unittest.expect(o.bigqueryTable, unittest.equals('foo')); |
697 checkUnnamed2542(o.callSetIds); | 697 checkUnnamed2563(o.callSetIds); |
698 unittest.expect(o.format, unittest.equals('foo')); | 698 unittest.expect(o.format, unittest.equals('foo')); |
699 unittest.expect(o.projectId, unittest.equals('foo')); | 699 unittest.expect(o.projectId, unittest.equals('foo')); |
700 } | 700 } |
701 buildCounterExportVariantSetRequest--; | 701 buildCounterExportVariantSetRequest--; |
702 } | 702 } |
703 | 703 |
704 core.int buildCounterExternalId = 0; | 704 core.int buildCounterExternalId = 0; |
705 buildExternalId() { | 705 buildExternalId() { |
706 var o = new api.ExternalId(); | 706 var o = new api.ExternalId(); |
707 buildCounterExternalId++; | 707 buildCounterExternalId++; |
(...skipping 24 matching lines...) Expand all Loading... |
732 return o; | 732 return o; |
733 } | 733 } |
734 | 734 |
735 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 735 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
736 buildCounterGetIamPolicyRequest++; | 736 buildCounterGetIamPolicyRequest++; |
737 if (buildCounterGetIamPolicyRequest < 3) { | 737 if (buildCounterGetIamPolicyRequest < 3) { |
738 } | 738 } |
739 buildCounterGetIamPolicyRequest--; | 739 buildCounterGetIamPolicyRequest--; |
740 } | 740 } |
741 | 741 |
742 buildUnnamed2543() { | 742 buildUnnamed2564() { |
743 var o = new core.List<core.String>(); | 743 var o = new core.List<core.String>(); |
744 o.add("foo"); | 744 o.add("foo"); |
745 o.add("foo"); | 745 o.add("foo"); |
746 return o; | 746 return o; |
747 } | 747 } |
748 | 748 |
749 checkUnnamed2543(core.List<core.String> o) { | 749 checkUnnamed2564(core.List<core.String> o) { |
750 unittest.expect(o, unittest.hasLength(2)); | 750 unittest.expect(o, unittest.hasLength(2)); |
751 unittest.expect(o[0], unittest.equals('foo')); | 751 unittest.expect(o[0], unittest.equals('foo')); |
752 unittest.expect(o[1], unittest.equals('foo')); | 752 unittest.expect(o[1], unittest.equals('foo')); |
753 } | 753 } |
754 | 754 |
755 core.int buildCounterImportReadGroupSetsRequest = 0; | 755 core.int buildCounterImportReadGroupSetsRequest = 0; |
756 buildImportReadGroupSetsRequest() { | 756 buildImportReadGroupSetsRequest() { |
757 var o = new api.ImportReadGroupSetsRequest(); | 757 var o = new api.ImportReadGroupSetsRequest(); |
758 buildCounterImportReadGroupSetsRequest++; | 758 buildCounterImportReadGroupSetsRequest++; |
759 if (buildCounterImportReadGroupSetsRequest < 3) { | 759 if (buildCounterImportReadGroupSetsRequest < 3) { |
760 o.datasetId = "foo"; | 760 o.datasetId = "foo"; |
761 o.partitionStrategy = "foo"; | 761 o.partitionStrategy = "foo"; |
762 o.referenceSetId = "foo"; | 762 o.referenceSetId = "foo"; |
763 o.sourceUris = buildUnnamed2543(); | 763 o.sourceUris = buildUnnamed2564(); |
764 } | 764 } |
765 buildCounterImportReadGroupSetsRequest--; | 765 buildCounterImportReadGroupSetsRequest--; |
766 return o; | 766 return o; |
767 } | 767 } |
768 | 768 |
769 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { | 769 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { |
770 buildCounterImportReadGroupSetsRequest++; | 770 buildCounterImportReadGroupSetsRequest++; |
771 if (buildCounterImportReadGroupSetsRequest < 3) { | 771 if (buildCounterImportReadGroupSetsRequest < 3) { |
772 unittest.expect(o.datasetId, unittest.equals('foo')); | 772 unittest.expect(o.datasetId, unittest.equals('foo')); |
773 unittest.expect(o.partitionStrategy, unittest.equals('foo')); | 773 unittest.expect(o.partitionStrategy, unittest.equals('foo')); |
774 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 774 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
775 checkUnnamed2543(o.sourceUris); | 775 checkUnnamed2564(o.sourceUris); |
776 } | 776 } |
777 buildCounterImportReadGroupSetsRequest--; | 777 buildCounterImportReadGroupSetsRequest--; |
778 } | 778 } |
779 | 779 |
780 buildUnnamed2544() { | 780 buildUnnamed2565() { |
781 var o = new core.List<core.String>(); | 781 var o = new core.List<core.String>(); |
782 o.add("foo"); | 782 o.add("foo"); |
783 o.add("foo"); | 783 o.add("foo"); |
784 return o; | 784 return o; |
785 } | 785 } |
786 | 786 |
787 checkUnnamed2544(core.List<core.String> o) { | 787 checkUnnamed2565(core.List<core.String> o) { |
788 unittest.expect(o, unittest.hasLength(2)); | 788 unittest.expect(o, unittest.hasLength(2)); |
789 unittest.expect(o[0], unittest.equals('foo')); | 789 unittest.expect(o[0], unittest.equals('foo')); |
790 unittest.expect(o[1], unittest.equals('foo')); | 790 unittest.expect(o[1], unittest.equals('foo')); |
791 } | 791 } |
792 | 792 |
793 core.int buildCounterImportReadGroupSetsResponse = 0; | 793 core.int buildCounterImportReadGroupSetsResponse = 0; |
794 buildImportReadGroupSetsResponse() { | 794 buildImportReadGroupSetsResponse() { |
795 var o = new api.ImportReadGroupSetsResponse(); | 795 var o = new api.ImportReadGroupSetsResponse(); |
796 buildCounterImportReadGroupSetsResponse++; | 796 buildCounterImportReadGroupSetsResponse++; |
797 if (buildCounterImportReadGroupSetsResponse < 3) { | 797 if (buildCounterImportReadGroupSetsResponse < 3) { |
798 o.readGroupSetIds = buildUnnamed2544(); | 798 o.readGroupSetIds = buildUnnamed2565(); |
799 } | 799 } |
800 buildCounterImportReadGroupSetsResponse--; | 800 buildCounterImportReadGroupSetsResponse--; |
801 return o; | 801 return o; |
802 } | 802 } |
803 | 803 |
804 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { | 804 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { |
805 buildCounterImportReadGroupSetsResponse++; | 805 buildCounterImportReadGroupSetsResponse++; |
806 if (buildCounterImportReadGroupSetsResponse < 3) { | 806 if (buildCounterImportReadGroupSetsResponse < 3) { |
807 checkUnnamed2544(o.readGroupSetIds); | 807 checkUnnamed2565(o.readGroupSetIds); |
808 } | 808 } |
809 buildCounterImportReadGroupSetsResponse--; | 809 buildCounterImportReadGroupSetsResponse--; |
810 } | 810 } |
811 | 811 |
812 buildUnnamed2545() { | 812 buildUnnamed2566() { |
813 var o = new core.Map<core.String, core.String>(); | 813 var o = new core.Map<core.String, core.String>(); |
814 o["x"] = "foo"; | 814 o["x"] = "foo"; |
815 o["y"] = "foo"; | 815 o["y"] = "foo"; |
816 return o; | 816 return o; |
817 } | 817 } |
818 | 818 |
819 checkUnnamed2545(core.Map<core.String, core.String> o) { | 819 checkUnnamed2566(core.Map<core.String, core.String> o) { |
820 unittest.expect(o, unittest.hasLength(2)); | 820 unittest.expect(o, unittest.hasLength(2)); |
821 unittest.expect(o["x"], unittest.equals('foo')); | 821 unittest.expect(o["x"], unittest.equals('foo')); |
822 unittest.expect(o["y"], unittest.equals('foo')); | 822 unittest.expect(o["y"], unittest.equals('foo')); |
823 } | 823 } |
824 | 824 |
825 buildUnnamed2546() { | 825 buildUnnamed2567() { |
826 var o = new core.List<core.String>(); | 826 var o = new core.List<core.String>(); |
827 o.add("foo"); | 827 o.add("foo"); |
828 o.add("foo"); | 828 o.add("foo"); |
829 return o; | 829 return o; |
830 } | 830 } |
831 | 831 |
832 checkUnnamed2546(core.List<core.String> o) { | 832 checkUnnamed2567(core.List<core.String> o) { |
833 unittest.expect(o, unittest.hasLength(2)); | 833 unittest.expect(o, unittest.hasLength(2)); |
834 unittest.expect(o[0], unittest.equals('foo')); | 834 unittest.expect(o[0], unittest.equals('foo')); |
835 unittest.expect(o[1], unittest.equals('foo')); | 835 unittest.expect(o[1], unittest.equals('foo')); |
836 } | 836 } |
837 | 837 |
838 core.int buildCounterImportVariantsRequest = 0; | 838 core.int buildCounterImportVariantsRequest = 0; |
839 buildImportVariantsRequest() { | 839 buildImportVariantsRequest() { |
840 var o = new api.ImportVariantsRequest(); | 840 var o = new api.ImportVariantsRequest(); |
841 buildCounterImportVariantsRequest++; | 841 buildCounterImportVariantsRequest++; |
842 if (buildCounterImportVariantsRequest < 3) { | 842 if (buildCounterImportVariantsRequest < 3) { |
843 o.format = "foo"; | 843 o.format = "foo"; |
844 o.infoMergeConfig = buildUnnamed2545(); | 844 o.infoMergeConfig = buildUnnamed2566(); |
845 o.normalizeReferenceNames = true; | 845 o.normalizeReferenceNames = true; |
846 o.sourceUris = buildUnnamed2546(); | 846 o.sourceUris = buildUnnamed2567(); |
847 o.variantSetId = "foo"; | 847 o.variantSetId = "foo"; |
848 } | 848 } |
849 buildCounterImportVariantsRequest--; | 849 buildCounterImportVariantsRequest--; |
850 return o; | 850 return o; |
851 } | 851 } |
852 | 852 |
853 checkImportVariantsRequest(api.ImportVariantsRequest o) { | 853 checkImportVariantsRequest(api.ImportVariantsRequest o) { |
854 buildCounterImportVariantsRequest++; | 854 buildCounterImportVariantsRequest++; |
855 if (buildCounterImportVariantsRequest < 3) { | 855 if (buildCounterImportVariantsRequest < 3) { |
856 unittest.expect(o.format, unittest.equals('foo')); | 856 unittest.expect(o.format, unittest.equals('foo')); |
857 checkUnnamed2545(o.infoMergeConfig); | 857 checkUnnamed2566(o.infoMergeConfig); |
858 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); | 858 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); |
859 checkUnnamed2546(o.sourceUris); | 859 checkUnnamed2567(o.sourceUris); |
860 unittest.expect(o.variantSetId, unittest.equals('foo')); | 860 unittest.expect(o.variantSetId, unittest.equals('foo')); |
861 } | 861 } |
862 buildCounterImportVariantsRequest--; | 862 buildCounterImportVariantsRequest--; |
863 } | 863 } |
864 | 864 |
865 buildUnnamed2547() { | 865 buildUnnamed2568() { |
866 var o = new core.List<core.String>(); | 866 var o = new core.List<core.String>(); |
867 o.add("foo"); | 867 o.add("foo"); |
868 o.add("foo"); | 868 o.add("foo"); |
869 return o; | 869 return o; |
870 } | 870 } |
871 | 871 |
872 checkUnnamed2547(core.List<core.String> o) { | 872 checkUnnamed2568(core.List<core.String> o) { |
873 unittest.expect(o, unittest.hasLength(2)); | 873 unittest.expect(o, unittest.hasLength(2)); |
874 unittest.expect(o[0], unittest.equals('foo')); | 874 unittest.expect(o[0], unittest.equals('foo')); |
875 unittest.expect(o[1], unittest.equals('foo')); | 875 unittest.expect(o[1], unittest.equals('foo')); |
876 } | 876 } |
877 | 877 |
878 core.int buildCounterImportVariantsResponse = 0; | 878 core.int buildCounterImportVariantsResponse = 0; |
879 buildImportVariantsResponse() { | 879 buildImportVariantsResponse() { |
880 var o = new api.ImportVariantsResponse(); | 880 var o = new api.ImportVariantsResponse(); |
881 buildCounterImportVariantsResponse++; | 881 buildCounterImportVariantsResponse++; |
882 if (buildCounterImportVariantsResponse < 3) { | 882 if (buildCounterImportVariantsResponse < 3) { |
883 o.callSetIds = buildUnnamed2547(); | 883 o.callSetIds = buildUnnamed2568(); |
884 } | 884 } |
885 buildCounterImportVariantsResponse--; | 885 buildCounterImportVariantsResponse--; |
886 return o; | 886 return o; |
887 } | 887 } |
888 | 888 |
889 checkImportVariantsResponse(api.ImportVariantsResponse o) { | 889 checkImportVariantsResponse(api.ImportVariantsResponse o) { |
890 buildCounterImportVariantsResponse++; | 890 buildCounterImportVariantsResponse++; |
891 if (buildCounterImportVariantsResponse < 3) { | 891 if (buildCounterImportVariantsResponse < 3) { |
892 checkUnnamed2547(o.callSetIds); | 892 checkUnnamed2568(o.callSetIds); |
893 } | 893 } |
894 buildCounterImportVariantsResponse--; | 894 buildCounterImportVariantsResponse--; |
895 } | 895 } |
896 | 896 |
897 buildUnnamed2548() { | 897 buildUnnamed2569() { |
898 var o = new core.List<api.CigarUnit>(); | 898 var o = new core.List<api.CigarUnit>(); |
899 o.add(buildCigarUnit()); | 899 o.add(buildCigarUnit()); |
900 o.add(buildCigarUnit()); | 900 o.add(buildCigarUnit()); |
901 return o; | 901 return o; |
902 } | 902 } |
903 | 903 |
904 checkUnnamed2548(core.List<api.CigarUnit> o) { | 904 checkUnnamed2569(core.List<api.CigarUnit> o) { |
905 unittest.expect(o, unittest.hasLength(2)); | 905 unittest.expect(o, unittest.hasLength(2)); |
906 checkCigarUnit(o[0]); | 906 checkCigarUnit(o[0]); |
907 checkCigarUnit(o[1]); | 907 checkCigarUnit(o[1]); |
908 } | 908 } |
909 | 909 |
910 core.int buildCounterLinearAlignment = 0; | 910 core.int buildCounterLinearAlignment = 0; |
911 buildLinearAlignment() { | 911 buildLinearAlignment() { |
912 var o = new api.LinearAlignment(); | 912 var o = new api.LinearAlignment(); |
913 buildCounterLinearAlignment++; | 913 buildCounterLinearAlignment++; |
914 if (buildCounterLinearAlignment < 3) { | 914 if (buildCounterLinearAlignment < 3) { |
915 o.cigar = buildUnnamed2548(); | 915 o.cigar = buildUnnamed2569(); |
916 o.mappingQuality = 42; | 916 o.mappingQuality = 42; |
917 o.position = buildPosition(); | 917 o.position = buildPosition(); |
918 } | 918 } |
919 buildCounterLinearAlignment--; | 919 buildCounterLinearAlignment--; |
920 return o; | 920 return o; |
921 } | 921 } |
922 | 922 |
923 checkLinearAlignment(api.LinearAlignment o) { | 923 checkLinearAlignment(api.LinearAlignment o) { |
924 buildCounterLinearAlignment++; | 924 buildCounterLinearAlignment++; |
925 if (buildCounterLinearAlignment < 3) { | 925 if (buildCounterLinearAlignment < 3) { |
926 checkUnnamed2548(o.cigar); | 926 checkUnnamed2569(o.cigar); |
927 unittest.expect(o.mappingQuality, unittest.equals(42)); | 927 unittest.expect(o.mappingQuality, unittest.equals(42)); |
928 checkPosition(o.position); | 928 checkPosition(o.position); |
929 } | 929 } |
930 buildCounterLinearAlignment--; | 930 buildCounterLinearAlignment--; |
931 } | 931 } |
932 | 932 |
933 core.int buildCounterListBasesResponse = 0; | 933 core.int buildCounterListBasesResponse = 0; |
934 buildListBasesResponse() { | 934 buildListBasesResponse() { |
935 var o = new api.ListBasesResponse(); | 935 var o = new api.ListBasesResponse(); |
936 buildCounterListBasesResponse++; | 936 buildCounterListBasesResponse++; |
937 if (buildCounterListBasesResponse < 3) { | 937 if (buildCounterListBasesResponse < 3) { |
938 o.nextPageToken = "foo"; | 938 o.nextPageToken = "foo"; |
939 o.offset = "foo"; | 939 o.offset = "foo"; |
940 o.sequence = "foo"; | 940 o.sequence = "foo"; |
941 } | 941 } |
942 buildCounterListBasesResponse--; | 942 buildCounterListBasesResponse--; |
943 return o; | 943 return o; |
944 } | 944 } |
945 | 945 |
946 checkListBasesResponse(api.ListBasesResponse o) { | 946 checkListBasesResponse(api.ListBasesResponse o) { |
947 buildCounterListBasesResponse++; | 947 buildCounterListBasesResponse++; |
948 if (buildCounterListBasesResponse < 3) { | 948 if (buildCounterListBasesResponse < 3) { |
949 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 949 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
950 unittest.expect(o.offset, unittest.equals('foo')); | 950 unittest.expect(o.offset, unittest.equals('foo')); |
951 unittest.expect(o.sequence, unittest.equals('foo')); | 951 unittest.expect(o.sequence, unittest.equals('foo')); |
952 } | 952 } |
953 buildCounterListBasesResponse--; | 953 buildCounterListBasesResponse--; |
954 } | 954 } |
955 | 955 |
956 buildUnnamed2549() { | 956 buildUnnamed2570() { |
957 var o = new core.List<api.CoverageBucket>(); | 957 var o = new core.List<api.CoverageBucket>(); |
958 o.add(buildCoverageBucket()); | 958 o.add(buildCoverageBucket()); |
959 o.add(buildCoverageBucket()); | 959 o.add(buildCoverageBucket()); |
960 return o; | 960 return o; |
961 } | 961 } |
962 | 962 |
963 checkUnnamed2549(core.List<api.CoverageBucket> o) { | 963 checkUnnamed2570(core.List<api.CoverageBucket> o) { |
964 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
965 checkCoverageBucket(o[0]); | 965 checkCoverageBucket(o[0]); |
966 checkCoverageBucket(o[1]); | 966 checkCoverageBucket(o[1]); |
967 } | 967 } |
968 | 968 |
969 core.int buildCounterListCoverageBucketsResponse = 0; | 969 core.int buildCounterListCoverageBucketsResponse = 0; |
970 buildListCoverageBucketsResponse() { | 970 buildListCoverageBucketsResponse() { |
971 var o = new api.ListCoverageBucketsResponse(); | 971 var o = new api.ListCoverageBucketsResponse(); |
972 buildCounterListCoverageBucketsResponse++; | 972 buildCounterListCoverageBucketsResponse++; |
973 if (buildCounterListCoverageBucketsResponse < 3) { | 973 if (buildCounterListCoverageBucketsResponse < 3) { |
974 o.bucketWidth = "foo"; | 974 o.bucketWidth = "foo"; |
975 o.coverageBuckets = buildUnnamed2549(); | 975 o.coverageBuckets = buildUnnamed2570(); |
976 o.nextPageToken = "foo"; | 976 o.nextPageToken = "foo"; |
977 } | 977 } |
978 buildCounterListCoverageBucketsResponse--; | 978 buildCounterListCoverageBucketsResponse--; |
979 return o; | 979 return o; |
980 } | 980 } |
981 | 981 |
982 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { | 982 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { |
983 buildCounterListCoverageBucketsResponse++; | 983 buildCounterListCoverageBucketsResponse++; |
984 if (buildCounterListCoverageBucketsResponse < 3) { | 984 if (buildCounterListCoverageBucketsResponse < 3) { |
985 unittest.expect(o.bucketWidth, unittest.equals('foo')); | 985 unittest.expect(o.bucketWidth, unittest.equals('foo')); |
986 checkUnnamed2549(o.coverageBuckets); | 986 checkUnnamed2570(o.coverageBuckets); |
987 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 987 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
988 } | 988 } |
989 buildCounterListCoverageBucketsResponse--; | 989 buildCounterListCoverageBucketsResponse--; |
990 } | 990 } |
991 | 991 |
992 buildUnnamed2550() { | 992 buildUnnamed2571() { |
993 var o = new core.List<api.Dataset>(); | 993 var o = new core.List<api.Dataset>(); |
994 o.add(buildDataset()); | 994 o.add(buildDataset()); |
995 o.add(buildDataset()); | 995 o.add(buildDataset()); |
996 return o; | 996 return o; |
997 } | 997 } |
998 | 998 |
999 checkUnnamed2550(core.List<api.Dataset> o) { | 999 checkUnnamed2571(core.List<api.Dataset> o) { |
1000 unittest.expect(o, unittest.hasLength(2)); | 1000 unittest.expect(o, unittest.hasLength(2)); |
1001 checkDataset(o[0]); | 1001 checkDataset(o[0]); |
1002 checkDataset(o[1]); | 1002 checkDataset(o[1]); |
1003 } | 1003 } |
1004 | 1004 |
1005 core.int buildCounterListDatasetsResponse = 0; | 1005 core.int buildCounterListDatasetsResponse = 0; |
1006 buildListDatasetsResponse() { | 1006 buildListDatasetsResponse() { |
1007 var o = new api.ListDatasetsResponse(); | 1007 var o = new api.ListDatasetsResponse(); |
1008 buildCounterListDatasetsResponse++; | 1008 buildCounterListDatasetsResponse++; |
1009 if (buildCounterListDatasetsResponse < 3) { | 1009 if (buildCounterListDatasetsResponse < 3) { |
1010 o.datasets = buildUnnamed2550(); | 1010 o.datasets = buildUnnamed2571(); |
1011 o.nextPageToken = "foo"; | 1011 o.nextPageToken = "foo"; |
1012 } | 1012 } |
1013 buildCounterListDatasetsResponse--; | 1013 buildCounterListDatasetsResponse--; |
1014 return o; | 1014 return o; |
1015 } | 1015 } |
1016 | 1016 |
1017 checkListDatasetsResponse(api.ListDatasetsResponse o) { | 1017 checkListDatasetsResponse(api.ListDatasetsResponse o) { |
1018 buildCounterListDatasetsResponse++; | 1018 buildCounterListDatasetsResponse++; |
1019 if (buildCounterListDatasetsResponse < 3) { | 1019 if (buildCounterListDatasetsResponse < 3) { |
1020 checkUnnamed2550(o.datasets); | 1020 checkUnnamed2571(o.datasets); |
1021 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1021 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1022 } | 1022 } |
1023 buildCounterListDatasetsResponse--; | 1023 buildCounterListDatasetsResponse--; |
1024 } | 1024 } |
1025 | 1025 |
1026 buildUnnamed2551() { | 1026 buildUnnamed2572() { |
1027 var o = new core.List<api.Operation>(); | 1027 var o = new core.List<api.Operation>(); |
1028 o.add(buildOperation()); | 1028 o.add(buildOperation()); |
1029 o.add(buildOperation()); | 1029 o.add(buildOperation()); |
1030 return o; | 1030 return o; |
1031 } | 1031 } |
1032 | 1032 |
1033 checkUnnamed2551(core.List<api.Operation> o) { | 1033 checkUnnamed2572(core.List<api.Operation> o) { |
1034 unittest.expect(o, unittest.hasLength(2)); | 1034 unittest.expect(o, unittest.hasLength(2)); |
1035 checkOperation(o[0]); | 1035 checkOperation(o[0]); |
1036 checkOperation(o[1]); | 1036 checkOperation(o[1]); |
1037 } | 1037 } |
1038 | 1038 |
1039 core.int buildCounterListOperationsResponse = 0; | 1039 core.int buildCounterListOperationsResponse = 0; |
1040 buildListOperationsResponse() { | 1040 buildListOperationsResponse() { |
1041 var o = new api.ListOperationsResponse(); | 1041 var o = new api.ListOperationsResponse(); |
1042 buildCounterListOperationsResponse++; | 1042 buildCounterListOperationsResponse++; |
1043 if (buildCounterListOperationsResponse < 3) { | 1043 if (buildCounterListOperationsResponse < 3) { |
1044 o.nextPageToken = "foo"; | 1044 o.nextPageToken = "foo"; |
1045 o.operations = buildUnnamed2551(); | 1045 o.operations = buildUnnamed2572(); |
1046 } | 1046 } |
1047 buildCounterListOperationsResponse--; | 1047 buildCounterListOperationsResponse--; |
1048 return o; | 1048 return o; |
1049 } | 1049 } |
1050 | 1050 |
1051 checkListOperationsResponse(api.ListOperationsResponse o) { | 1051 checkListOperationsResponse(api.ListOperationsResponse o) { |
1052 buildCounterListOperationsResponse++; | 1052 buildCounterListOperationsResponse++; |
1053 if (buildCounterListOperationsResponse < 3) { | 1053 if (buildCounterListOperationsResponse < 3) { |
1054 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1054 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1055 checkUnnamed2551(o.operations); | 1055 checkUnnamed2572(o.operations); |
1056 } | 1056 } |
1057 buildCounterListOperationsResponse--; | 1057 buildCounterListOperationsResponse--; |
1058 } | 1058 } |
1059 | 1059 |
1060 buildUnnamed2552() { | 1060 buildUnnamed2573() { |
1061 var o = new core.Map<core.String, core.String>(); | 1061 var o = new core.Map<core.String, core.String>(); |
1062 o["x"] = "foo"; | 1062 o["x"] = "foo"; |
1063 o["y"] = "foo"; | 1063 o["y"] = "foo"; |
1064 return o; | 1064 return o; |
1065 } | 1065 } |
1066 | 1066 |
1067 checkUnnamed2552(core.Map<core.String, core.String> o) { | 1067 checkUnnamed2573(core.Map<core.String, core.String> o) { |
1068 unittest.expect(o, unittest.hasLength(2)); | 1068 unittest.expect(o, unittest.hasLength(2)); |
1069 unittest.expect(o["x"], unittest.equals('foo')); | 1069 unittest.expect(o["x"], unittest.equals('foo')); |
1070 unittest.expect(o["y"], unittest.equals('foo')); | 1070 unittest.expect(o["y"], unittest.equals('foo')); |
1071 } | 1071 } |
1072 | 1072 |
1073 buildUnnamed2553() { | 1073 buildUnnamed2574() { |
1074 var o = new core.List<api.Variant>(); | 1074 var o = new core.List<api.Variant>(); |
1075 o.add(buildVariant()); | 1075 o.add(buildVariant()); |
1076 o.add(buildVariant()); | 1076 o.add(buildVariant()); |
1077 return o; | 1077 return o; |
1078 } | 1078 } |
1079 | 1079 |
1080 checkUnnamed2553(core.List<api.Variant> o) { | 1080 checkUnnamed2574(core.List<api.Variant> o) { |
1081 unittest.expect(o, unittest.hasLength(2)); | 1081 unittest.expect(o, unittest.hasLength(2)); |
1082 checkVariant(o[0]); | 1082 checkVariant(o[0]); |
1083 checkVariant(o[1]); | 1083 checkVariant(o[1]); |
1084 } | 1084 } |
1085 | 1085 |
1086 core.int buildCounterMergeVariantsRequest = 0; | 1086 core.int buildCounterMergeVariantsRequest = 0; |
1087 buildMergeVariantsRequest() { | 1087 buildMergeVariantsRequest() { |
1088 var o = new api.MergeVariantsRequest(); | 1088 var o = new api.MergeVariantsRequest(); |
1089 buildCounterMergeVariantsRequest++; | 1089 buildCounterMergeVariantsRequest++; |
1090 if (buildCounterMergeVariantsRequest < 3) { | 1090 if (buildCounterMergeVariantsRequest < 3) { |
1091 o.infoMergeConfig = buildUnnamed2552(); | 1091 o.infoMergeConfig = buildUnnamed2573(); |
1092 o.variantSetId = "foo"; | 1092 o.variantSetId = "foo"; |
1093 o.variants = buildUnnamed2553(); | 1093 o.variants = buildUnnamed2574(); |
1094 } | 1094 } |
1095 buildCounterMergeVariantsRequest--; | 1095 buildCounterMergeVariantsRequest--; |
1096 return o; | 1096 return o; |
1097 } | 1097 } |
1098 | 1098 |
1099 checkMergeVariantsRequest(api.MergeVariantsRequest o) { | 1099 checkMergeVariantsRequest(api.MergeVariantsRequest o) { |
1100 buildCounterMergeVariantsRequest++; | 1100 buildCounterMergeVariantsRequest++; |
1101 if (buildCounterMergeVariantsRequest < 3) { | 1101 if (buildCounterMergeVariantsRequest < 3) { |
1102 checkUnnamed2552(o.infoMergeConfig); | 1102 checkUnnamed2573(o.infoMergeConfig); |
1103 unittest.expect(o.variantSetId, unittest.equals('foo')); | 1103 unittest.expect(o.variantSetId, unittest.equals('foo')); |
1104 checkUnnamed2553(o.variants); | 1104 checkUnnamed2574(o.variants); |
1105 } | 1105 } |
1106 buildCounterMergeVariantsRequest--; | 1106 buildCounterMergeVariantsRequest--; |
1107 } | 1107 } |
1108 | 1108 |
1109 buildUnnamed2554() { | 1109 buildUnnamed2575() { |
1110 var o = new core.Map<core.String, core.Object>(); | 1110 var o = new core.Map<core.String, core.Object>(); |
1111 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1111 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1112 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1112 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1113 return o; | 1113 return o; |
1114 } | 1114 } |
1115 | 1115 |
1116 checkUnnamed2554(core.Map<core.String, core.Object> o) { | 1116 checkUnnamed2575(core.Map<core.String, core.Object> o) { |
1117 unittest.expect(o, unittest.hasLength(2)); | 1117 unittest.expect(o, unittest.hasLength(2)); |
1118 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); | 1118 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); |
1119 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); | 1119 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); |
1120 } | 1120 } |
1121 | 1121 |
1122 buildUnnamed2555() { | 1122 buildUnnamed2576() { |
1123 var o = new core.Map<core.String, core.Object>(); | 1123 var o = new core.Map<core.String, core.Object>(); |
1124 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1124 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1125 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1125 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1126 return o; | 1126 return o; |
1127 } | 1127 } |
1128 | 1128 |
1129 checkUnnamed2555(core.Map<core.String, core.Object> o) { | 1129 checkUnnamed2576(core.Map<core.String, core.Object> o) { |
1130 unittest.expect(o, unittest.hasLength(2)); | 1130 unittest.expect(o, unittest.hasLength(2)); |
1131 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); | 1131 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); |
1132 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); | 1132 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); |
1133 } | 1133 } |
1134 | 1134 |
1135 core.int buildCounterOperation = 0; | 1135 core.int buildCounterOperation = 0; |
1136 buildOperation() { | 1136 buildOperation() { |
1137 var o = new api.Operation(); | 1137 var o = new api.Operation(); |
1138 buildCounterOperation++; | 1138 buildCounterOperation++; |
1139 if (buildCounterOperation < 3) { | 1139 if (buildCounterOperation < 3) { |
1140 o.done = true; | 1140 o.done = true; |
1141 o.error = buildStatus(); | 1141 o.error = buildStatus(); |
1142 o.metadata = buildUnnamed2554(); | 1142 o.metadata = buildUnnamed2575(); |
1143 o.name = "foo"; | 1143 o.name = "foo"; |
1144 o.response = buildUnnamed2555(); | 1144 o.response = buildUnnamed2576(); |
1145 } | 1145 } |
1146 buildCounterOperation--; | 1146 buildCounterOperation--; |
1147 return o; | 1147 return o; |
1148 } | 1148 } |
1149 | 1149 |
1150 checkOperation(api.Operation o) { | 1150 checkOperation(api.Operation o) { |
1151 buildCounterOperation++; | 1151 buildCounterOperation++; |
1152 if (buildCounterOperation < 3) { | 1152 if (buildCounterOperation < 3) { |
1153 unittest.expect(o.done, unittest.isTrue); | 1153 unittest.expect(o.done, unittest.isTrue); |
1154 checkStatus(o.error); | 1154 checkStatus(o.error); |
1155 checkUnnamed2554(o.metadata); | 1155 checkUnnamed2575(o.metadata); |
1156 unittest.expect(o.name, unittest.equals('foo')); | 1156 unittest.expect(o.name, unittest.equals('foo')); |
1157 checkUnnamed2555(o.response); | 1157 checkUnnamed2576(o.response); |
1158 } | 1158 } |
1159 buildCounterOperation--; | 1159 buildCounterOperation--; |
1160 } | 1160 } |
1161 | 1161 |
1162 core.int buildCounterOperationEvent = 0; | 1162 core.int buildCounterOperationEvent = 0; |
1163 buildOperationEvent() { | 1163 buildOperationEvent() { |
1164 var o = new api.OperationEvent(); | 1164 var o = new api.OperationEvent(); |
1165 buildCounterOperationEvent++; | 1165 buildCounterOperationEvent++; |
1166 if (buildCounterOperationEvent < 3) { | 1166 if (buildCounterOperationEvent < 3) { |
1167 o.description = "foo"; | 1167 o.description = "foo"; |
1168 o.endTime = "foo"; | 1168 o.endTime = "foo"; |
1169 o.startTime = "foo"; | 1169 o.startTime = "foo"; |
1170 } | 1170 } |
1171 buildCounterOperationEvent--; | 1171 buildCounterOperationEvent--; |
1172 return o; | 1172 return o; |
1173 } | 1173 } |
1174 | 1174 |
1175 checkOperationEvent(api.OperationEvent o) { | 1175 checkOperationEvent(api.OperationEvent o) { |
1176 buildCounterOperationEvent++; | 1176 buildCounterOperationEvent++; |
1177 if (buildCounterOperationEvent < 3) { | 1177 if (buildCounterOperationEvent < 3) { |
1178 unittest.expect(o.description, unittest.equals('foo')); | 1178 unittest.expect(o.description, unittest.equals('foo')); |
1179 unittest.expect(o.endTime, unittest.equals('foo')); | 1179 unittest.expect(o.endTime, unittest.equals('foo')); |
1180 unittest.expect(o.startTime, unittest.equals('foo')); | 1180 unittest.expect(o.startTime, unittest.equals('foo')); |
1181 } | 1181 } |
1182 buildCounterOperationEvent--; | 1182 buildCounterOperationEvent--; |
1183 } | 1183 } |
1184 | 1184 |
1185 buildUnnamed2556() { | 1185 buildUnnamed2577() { |
1186 var o = new core.List<api.OperationEvent>(); | 1186 var o = new core.List<api.OperationEvent>(); |
1187 o.add(buildOperationEvent()); | 1187 o.add(buildOperationEvent()); |
1188 o.add(buildOperationEvent()); | 1188 o.add(buildOperationEvent()); |
1189 return o; | 1189 return o; |
1190 } | 1190 } |
1191 | 1191 |
1192 checkUnnamed2556(core.List<api.OperationEvent> o) { | 1192 checkUnnamed2577(core.List<api.OperationEvent> o) { |
1193 unittest.expect(o, unittest.hasLength(2)); | 1193 unittest.expect(o, unittest.hasLength(2)); |
1194 checkOperationEvent(o[0]); | 1194 checkOperationEvent(o[0]); |
1195 checkOperationEvent(o[1]); | 1195 checkOperationEvent(o[1]); |
1196 } | 1196 } |
1197 | 1197 |
1198 buildUnnamed2557() { | 1198 buildUnnamed2578() { |
1199 var o = new core.Map<core.String, core.String>(); | 1199 var o = new core.Map<core.String, core.String>(); |
1200 o["x"] = "foo"; | 1200 o["x"] = "foo"; |
1201 o["y"] = "foo"; | 1201 o["y"] = "foo"; |
1202 return o; | 1202 return o; |
1203 } | 1203 } |
1204 | 1204 |
1205 checkUnnamed2557(core.Map<core.String, core.String> o) { | 1205 checkUnnamed2578(core.Map<core.String, core.String> o) { |
1206 unittest.expect(o, unittest.hasLength(2)); | 1206 unittest.expect(o, unittest.hasLength(2)); |
1207 unittest.expect(o["x"], unittest.equals('foo')); | 1207 unittest.expect(o["x"], unittest.equals('foo')); |
1208 unittest.expect(o["y"], unittest.equals('foo')); | 1208 unittest.expect(o["y"], unittest.equals('foo')); |
1209 } | 1209 } |
1210 | 1210 |
1211 buildUnnamed2558() { | 1211 buildUnnamed2579() { |
1212 var o = new core.Map<core.String, core.Object>(); | 1212 var o = new core.Map<core.String, core.Object>(); |
1213 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1213 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1214 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1214 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1215 return o; | 1215 return o; |
1216 } | 1216 } |
1217 | 1217 |
1218 checkUnnamed2558(core.Map<core.String, core.Object> o) { | 1218 checkUnnamed2579(core.Map<core.String, core.Object> o) { |
1219 unittest.expect(o, unittest.hasLength(2)); | 1219 unittest.expect(o, unittest.hasLength(2)); |
1220 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); | 1220 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); |
1221 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); | 1221 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); |
1222 } | 1222 } |
1223 | 1223 |
1224 buildUnnamed2559() { | 1224 buildUnnamed2580() { |
1225 var o = new core.Map<core.String, core.Object>(); | 1225 var o = new core.Map<core.String, core.Object>(); |
1226 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1226 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1227 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1227 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1228 return o; | 1228 return o; |
1229 } | 1229 } |
1230 | 1230 |
1231 checkUnnamed2559(core.Map<core.String, core.Object> o) { | 1231 checkUnnamed2580(core.Map<core.String, core.Object> o) { |
1232 unittest.expect(o, unittest.hasLength(2)); | 1232 unittest.expect(o, unittest.hasLength(2)); |
1233 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); | 1233 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); |
1234 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); | 1234 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); |
1235 } | 1235 } |
1236 | 1236 |
1237 core.int buildCounterOperationMetadata = 0; | 1237 core.int buildCounterOperationMetadata = 0; |
1238 buildOperationMetadata() { | 1238 buildOperationMetadata() { |
1239 var o = new api.OperationMetadata(); | 1239 var o = new api.OperationMetadata(); |
1240 buildCounterOperationMetadata++; | 1240 buildCounterOperationMetadata++; |
1241 if (buildCounterOperationMetadata < 3) { | 1241 if (buildCounterOperationMetadata < 3) { |
1242 o.clientId = "foo"; | 1242 o.clientId = "foo"; |
1243 o.createTime = "foo"; | 1243 o.createTime = "foo"; |
1244 o.endTime = "foo"; | 1244 o.endTime = "foo"; |
1245 o.events = buildUnnamed2556(); | 1245 o.events = buildUnnamed2577(); |
1246 o.labels = buildUnnamed2557(); | 1246 o.labels = buildUnnamed2578(); |
1247 o.projectId = "foo"; | 1247 o.projectId = "foo"; |
1248 o.request = buildUnnamed2558(); | 1248 o.request = buildUnnamed2579(); |
1249 o.runtimeMetadata = buildUnnamed2559(); | 1249 o.runtimeMetadata = buildUnnamed2580(); |
1250 o.startTime = "foo"; | 1250 o.startTime = "foo"; |
1251 } | 1251 } |
1252 buildCounterOperationMetadata--; | 1252 buildCounterOperationMetadata--; |
1253 return o; | 1253 return o; |
1254 } | 1254 } |
1255 | 1255 |
1256 checkOperationMetadata(api.OperationMetadata o) { | 1256 checkOperationMetadata(api.OperationMetadata o) { |
1257 buildCounterOperationMetadata++; | 1257 buildCounterOperationMetadata++; |
1258 if (buildCounterOperationMetadata < 3) { | 1258 if (buildCounterOperationMetadata < 3) { |
1259 unittest.expect(o.clientId, unittest.equals('foo')); | 1259 unittest.expect(o.clientId, unittest.equals('foo')); |
1260 unittest.expect(o.createTime, unittest.equals('foo')); | 1260 unittest.expect(o.createTime, unittest.equals('foo')); |
1261 unittest.expect(o.endTime, unittest.equals('foo')); | 1261 unittest.expect(o.endTime, unittest.equals('foo')); |
1262 checkUnnamed2556(o.events); | 1262 checkUnnamed2577(o.events); |
1263 checkUnnamed2557(o.labels); | 1263 checkUnnamed2578(o.labels); |
1264 unittest.expect(o.projectId, unittest.equals('foo')); | 1264 unittest.expect(o.projectId, unittest.equals('foo')); |
1265 checkUnnamed2558(o.request); | 1265 checkUnnamed2579(o.request); |
1266 checkUnnamed2559(o.runtimeMetadata); | 1266 checkUnnamed2580(o.runtimeMetadata); |
1267 unittest.expect(o.startTime, unittest.equals('foo')); | 1267 unittest.expect(o.startTime, unittest.equals('foo')); |
1268 } | 1268 } |
1269 buildCounterOperationMetadata--; | 1269 buildCounterOperationMetadata--; |
1270 } | 1270 } |
1271 | 1271 |
1272 buildUnnamed2560() { | 1272 buildUnnamed2581() { |
1273 var o = new core.List<api.Binding>(); | 1273 var o = new core.List<api.Binding>(); |
1274 o.add(buildBinding()); | 1274 o.add(buildBinding()); |
1275 o.add(buildBinding()); | 1275 o.add(buildBinding()); |
1276 return o; | 1276 return o; |
1277 } | 1277 } |
1278 | 1278 |
1279 checkUnnamed2560(core.List<api.Binding> o) { | 1279 checkUnnamed2581(core.List<api.Binding> o) { |
1280 unittest.expect(o, unittest.hasLength(2)); | 1280 unittest.expect(o, unittest.hasLength(2)); |
1281 checkBinding(o[0]); | 1281 checkBinding(o[0]); |
1282 checkBinding(o[1]); | 1282 checkBinding(o[1]); |
1283 } | 1283 } |
1284 | 1284 |
1285 core.int buildCounterPolicy = 0; | 1285 core.int buildCounterPolicy = 0; |
1286 buildPolicy() { | 1286 buildPolicy() { |
1287 var o = new api.Policy(); | 1287 var o = new api.Policy(); |
1288 buildCounterPolicy++; | 1288 buildCounterPolicy++; |
1289 if (buildCounterPolicy < 3) { | 1289 if (buildCounterPolicy < 3) { |
1290 o.bindings = buildUnnamed2560(); | 1290 o.bindings = buildUnnamed2581(); |
1291 o.etag = "foo"; | 1291 o.etag = "foo"; |
1292 o.version = 42; | 1292 o.version = 42; |
1293 } | 1293 } |
1294 buildCounterPolicy--; | 1294 buildCounterPolicy--; |
1295 return o; | 1295 return o; |
1296 } | 1296 } |
1297 | 1297 |
1298 checkPolicy(api.Policy o) { | 1298 checkPolicy(api.Policy o) { |
1299 buildCounterPolicy++; | 1299 buildCounterPolicy++; |
1300 if (buildCounterPolicy < 3) { | 1300 if (buildCounterPolicy < 3) { |
1301 checkUnnamed2560(o.bindings); | 1301 checkUnnamed2581(o.bindings); |
1302 unittest.expect(o.etag, unittest.equals('foo')); | 1302 unittest.expect(o.etag, unittest.equals('foo')); |
1303 unittest.expect(o.version, unittest.equals(42)); | 1303 unittest.expect(o.version, unittest.equals(42)); |
1304 } | 1304 } |
1305 buildCounterPolicy--; | 1305 buildCounterPolicy--; |
1306 } | 1306 } |
1307 | 1307 |
1308 core.int buildCounterPosition = 0; | 1308 core.int buildCounterPosition = 0; |
1309 buildPosition() { | 1309 buildPosition() { |
1310 var o = new api.Position(); | 1310 var o = new api.Position(); |
1311 buildCounterPosition++; | 1311 buildCounterPosition++; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1371 checkRange(api.Range o) { | 1371 checkRange(api.Range o) { |
1372 buildCounterRange++; | 1372 buildCounterRange++; |
1373 if (buildCounterRange < 3) { | 1373 if (buildCounterRange < 3) { |
1374 unittest.expect(o.end, unittest.equals('foo')); | 1374 unittest.expect(o.end, unittest.equals('foo')); |
1375 unittest.expect(o.referenceName, unittest.equals('foo')); | 1375 unittest.expect(o.referenceName, unittest.equals('foo')); |
1376 unittest.expect(o.start, unittest.equals('foo')); | 1376 unittest.expect(o.start, unittest.equals('foo')); |
1377 } | 1377 } |
1378 buildCounterRange--; | 1378 buildCounterRange--; |
1379 } | 1379 } |
1380 | 1380 |
1381 buildUnnamed2561() { | 1381 buildUnnamed2582() { |
1382 var o = new core.List<core.int>(); | 1382 var o = new core.List<core.int>(); |
1383 o.add(42); | 1383 o.add(42); |
1384 o.add(42); | 1384 o.add(42); |
1385 return o; | 1385 return o; |
1386 } | 1386 } |
1387 | 1387 |
1388 checkUnnamed2561(core.List<core.int> o) { | 1388 checkUnnamed2582(core.List<core.int> o) { |
1389 unittest.expect(o, unittest.hasLength(2)); | 1389 unittest.expect(o, unittest.hasLength(2)); |
1390 unittest.expect(o[0], unittest.equals(42)); | 1390 unittest.expect(o[0], unittest.equals(42)); |
1391 unittest.expect(o[1], unittest.equals(42)); | 1391 unittest.expect(o[1], unittest.equals(42)); |
1392 } | 1392 } |
1393 | 1393 |
1394 buildUnnamed2562() { | 1394 buildUnnamed2583() { |
1395 var o = new core.List<core.Object>(); | 1395 var o = new core.List<core.Object>(); |
1396 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1396 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1397 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1397 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1398 return o; | 1398 return o; |
1399 } | 1399 } |
1400 | 1400 |
1401 checkUnnamed2562(core.List<core.Object> o) { | 1401 checkUnnamed2583(core.List<core.Object> o) { |
1402 unittest.expect(o, unittest.hasLength(2)); | 1402 unittest.expect(o, unittest.hasLength(2)); |
1403 var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLengt
h(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string
"], unittest.equals('foo')); | 1403 var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLengt
h(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string
"], unittest.equals('foo')); |
1404 var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLengt
h(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string
"], unittest.equals('foo')); | 1404 var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLengt
h(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string
"], unittest.equals('foo')); |
1405 } | 1405 } |
1406 | 1406 |
1407 buildUnnamed2563() { | 1407 buildUnnamed2584() { |
1408 var o = new core.Map<core.String, core.List<core.Object>>(); | 1408 var o = new core.Map<core.String, core.List<core.Object>>(); |
1409 o["x"] = buildUnnamed2562(); | 1409 o["x"] = buildUnnamed2583(); |
1410 o["y"] = buildUnnamed2562(); | 1410 o["y"] = buildUnnamed2583(); |
1411 return o; | 1411 return o; |
1412 } | 1412 } |
1413 | 1413 |
1414 checkUnnamed2563(core.Map<core.String, core.List<core.Object>> o) { | 1414 checkUnnamed2584(core.Map<core.String, core.List<core.Object>> o) { |
1415 unittest.expect(o, unittest.hasLength(2)); | 1415 unittest.expect(o, unittest.hasLength(2)); |
1416 checkUnnamed2562(o["x"]); | 1416 checkUnnamed2583(o["x"]); |
1417 checkUnnamed2562(o["y"]); | 1417 checkUnnamed2583(o["y"]); |
1418 } | 1418 } |
1419 | 1419 |
1420 core.int buildCounterRead = 0; | 1420 core.int buildCounterRead = 0; |
1421 buildRead() { | 1421 buildRead() { |
1422 var o = new api.Read(); | 1422 var o = new api.Read(); |
1423 buildCounterRead++; | 1423 buildCounterRead++; |
1424 if (buildCounterRead < 3) { | 1424 if (buildCounterRead < 3) { |
1425 o.alignedQuality = buildUnnamed2561(); | 1425 o.alignedQuality = buildUnnamed2582(); |
1426 o.alignedSequence = "foo"; | 1426 o.alignedSequence = "foo"; |
1427 o.alignment = buildLinearAlignment(); | 1427 o.alignment = buildLinearAlignment(); |
1428 o.duplicateFragment = true; | 1428 o.duplicateFragment = true; |
1429 o.failedVendorQualityChecks = true; | 1429 o.failedVendorQualityChecks = true; |
1430 o.fragmentLength = 42; | 1430 o.fragmentLength = 42; |
1431 o.fragmentName = "foo"; | 1431 o.fragmentName = "foo"; |
1432 o.id = "foo"; | 1432 o.id = "foo"; |
1433 o.info = buildUnnamed2563(); | 1433 o.info = buildUnnamed2584(); |
1434 o.nextMatePosition = buildPosition(); | 1434 o.nextMatePosition = buildPosition(); |
1435 o.numberReads = 42; | 1435 o.numberReads = 42; |
1436 o.properPlacement = true; | 1436 o.properPlacement = true; |
1437 o.readGroupId = "foo"; | 1437 o.readGroupId = "foo"; |
1438 o.readGroupSetId = "foo"; | 1438 o.readGroupSetId = "foo"; |
1439 o.readNumber = 42; | 1439 o.readNumber = 42; |
1440 o.secondaryAlignment = true; | 1440 o.secondaryAlignment = true; |
1441 o.supplementaryAlignment = true; | 1441 o.supplementaryAlignment = true; |
1442 } | 1442 } |
1443 buildCounterRead--; | 1443 buildCounterRead--; |
1444 return o; | 1444 return o; |
1445 } | 1445 } |
1446 | 1446 |
1447 checkRead(api.Read o) { | 1447 checkRead(api.Read o) { |
1448 buildCounterRead++; | 1448 buildCounterRead++; |
1449 if (buildCounterRead < 3) { | 1449 if (buildCounterRead < 3) { |
1450 checkUnnamed2561(o.alignedQuality); | 1450 checkUnnamed2582(o.alignedQuality); |
1451 unittest.expect(o.alignedSequence, unittest.equals('foo')); | 1451 unittest.expect(o.alignedSequence, unittest.equals('foo')); |
1452 checkLinearAlignment(o.alignment); | 1452 checkLinearAlignment(o.alignment); |
1453 unittest.expect(o.duplicateFragment, unittest.isTrue); | 1453 unittest.expect(o.duplicateFragment, unittest.isTrue); |
1454 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); | 1454 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); |
1455 unittest.expect(o.fragmentLength, unittest.equals(42)); | 1455 unittest.expect(o.fragmentLength, unittest.equals(42)); |
1456 unittest.expect(o.fragmentName, unittest.equals('foo')); | 1456 unittest.expect(o.fragmentName, unittest.equals('foo')); |
1457 unittest.expect(o.id, unittest.equals('foo')); | 1457 unittest.expect(o.id, unittest.equals('foo')); |
1458 checkUnnamed2563(o.info); | 1458 checkUnnamed2584(o.info); |
1459 checkPosition(o.nextMatePosition); | 1459 checkPosition(o.nextMatePosition); |
1460 unittest.expect(o.numberReads, unittest.equals(42)); | 1460 unittest.expect(o.numberReads, unittest.equals(42)); |
1461 unittest.expect(o.properPlacement, unittest.isTrue); | 1461 unittest.expect(o.properPlacement, unittest.isTrue); |
1462 unittest.expect(o.readGroupId, unittest.equals('foo')); | 1462 unittest.expect(o.readGroupId, unittest.equals('foo')); |
1463 unittest.expect(o.readGroupSetId, unittest.equals('foo')); | 1463 unittest.expect(o.readGroupSetId, unittest.equals('foo')); |
1464 unittest.expect(o.readNumber, unittest.equals(42)); | 1464 unittest.expect(o.readNumber, unittest.equals(42)); |
1465 unittest.expect(o.secondaryAlignment, unittest.isTrue); | 1465 unittest.expect(o.secondaryAlignment, unittest.isTrue); |
1466 unittest.expect(o.supplementaryAlignment, unittest.isTrue); | 1466 unittest.expect(o.supplementaryAlignment, unittest.isTrue); |
1467 } | 1467 } |
1468 buildCounterRead--; | 1468 buildCounterRead--; |
1469 } | 1469 } |
1470 | 1470 |
1471 buildUnnamed2564() { | 1471 buildUnnamed2585() { |
1472 var o = new core.List<core.Object>(); | 1472 var o = new core.List<core.Object>(); |
1473 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1473 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1474 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1474 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1475 return o; | 1475 return o; |
1476 } | 1476 } |
1477 | 1477 |
1478 checkUnnamed2564(core.List<core.Object> o) { | 1478 checkUnnamed2585(core.List<core.Object> o) { |
1479 unittest.expect(o, unittest.hasLength(2)); | 1479 unittest.expect(o, unittest.hasLength(2)); |
1480 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt
h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string
"], unittest.equals('foo')); | 1480 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt
h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string
"], unittest.equals('foo')); |
1481 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt
h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string
"], unittest.equals('foo')); | 1481 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt
h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string
"], unittest.equals('foo')); |
1482 } | 1482 } |
1483 | 1483 |
1484 buildUnnamed2565() { | 1484 buildUnnamed2586() { |
1485 var o = new core.Map<core.String, core.List<core.Object>>(); | 1485 var o = new core.Map<core.String, core.List<core.Object>>(); |
1486 o["x"] = buildUnnamed2564(); | 1486 o["x"] = buildUnnamed2585(); |
1487 o["y"] = buildUnnamed2564(); | 1487 o["y"] = buildUnnamed2585(); |
1488 return o; | 1488 return o; |
1489 } | 1489 } |
1490 | 1490 |
1491 checkUnnamed2565(core.Map<core.String, core.List<core.Object>> o) { | 1491 checkUnnamed2586(core.Map<core.String, core.List<core.Object>> o) { |
1492 unittest.expect(o, unittest.hasLength(2)); | 1492 unittest.expect(o, unittest.hasLength(2)); |
1493 checkUnnamed2564(o["x"]); | 1493 checkUnnamed2585(o["x"]); |
1494 checkUnnamed2564(o["y"]); | 1494 checkUnnamed2585(o["y"]); |
1495 } | 1495 } |
1496 | 1496 |
1497 buildUnnamed2566() { | 1497 buildUnnamed2587() { |
1498 var o = new core.List<api.Program>(); | 1498 var o = new core.List<api.Program>(); |
1499 o.add(buildProgram()); | 1499 o.add(buildProgram()); |
1500 o.add(buildProgram()); | 1500 o.add(buildProgram()); |
1501 return o; | 1501 return o; |
1502 } | 1502 } |
1503 | 1503 |
1504 checkUnnamed2566(core.List<api.Program> o) { | 1504 checkUnnamed2587(core.List<api.Program> o) { |
1505 unittest.expect(o, unittest.hasLength(2)); | 1505 unittest.expect(o, unittest.hasLength(2)); |
1506 checkProgram(o[0]); | 1506 checkProgram(o[0]); |
1507 checkProgram(o[1]); | 1507 checkProgram(o[1]); |
1508 } | 1508 } |
1509 | 1509 |
1510 core.int buildCounterReadGroup = 0; | 1510 core.int buildCounterReadGroup = 0; |
1511 buildReadGroup() { | 1511 buildReadGroup() { |
1512 var o = new api.ReadGroup(); | 1512 var o = new api.ReadGroup(); |
1513 buildCounterReadGroup++; | 1513 buildCounterReadGroup++; |
1514 if (buildCounterReadGroup < 3) { | 1514 if (buildCounterReadGroup < 3) { |
1515 o.datasetId = "foo"; | 1515 o.datasetId = "foo"; |
1516 o.description = "foo"; | 1516 o.description = "foo"; |
1517 o.experiment = buildExperiment(); | 1517 o.experiment = buildExperiment(); |
1518 o.id = "foo"; | 1518 o.id = "foo"; |
1519 o.info = buildUnnamed2565(); | 1519 o.info = buildUnnamed2586(); |
1520 o.name = "foo"; | 1520 o.name = "foo"; |
1521 o.predictedInsertSize = 42; | 1521 o.predictedInsertSize = 42; |
1522 o.programs = buildUnnamed2566(); | 1522 o.programs = buildUnnamed2587(); |
1523 o.referenceSetId = "foo"; | 1523 o.referenceSetId = "foo"; |
1524 o.sampleId = "foo"; | 1524 o.sampleId = "foo"; |
1525 } | 1525 } |
1526 buildCounterReadGroup--; | 1526 buildCounterReadGroup--; |
1527 return o; | 1527 return o; |
1528 } | 1528 } |
1529 | 1529 |
1530 checkReadGroup(api.ReadGroup o) { | 1530 checkReadGroup(api.ReadGroup o) { |
1531 buildCounterReadGroup++; | 1531 buildCounterReadGroup++; |
1532 if (buildCounterReadGroup < 3) { | 1532 if (buildCounterReadGroup < 3) { |
1533 unittest.expect(o.datasetId, unittest.equals('foo')); | 1533 unittest.expect(o.datasetId, unittest.equals('foo')); |
1534 unittest.expect(o.description, unittest.equals('foo')); | 1534 unittest.expect(o.description, unittest.equals('foo')); |
1535 checkExperiment(o.experiment); | 1535 checkExperiment(o.experiment); |
1536 unittest.expect(o.id, unittest.equals('foo')); | 1536 unittest.expect(o.id, unittest.equals('foo')); |
1537 checkUnnamed2565(o.info); | 1537 checkUnnamed2586(o.info); |
1538 unittest.expect(o.name, unittest.equals('foo')); | 1538 unittest.expect(o.name, unittest.equals('foo')); |
1539 unittest.expect(o.predictedInsertSize, unittest.equals(42)); | 1539 unittest.expect(o.predictedInsertSize, unittest.equals(42)); |
1540 checkUnnamed2566(o.programs); | 1540 checkUnnamed2587(o.programs); |
1541 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1541 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
1542 unittest.expect(o.sampleId, unittest.equals('foo')); | 1542 unittest.expect(o.sampleId, unittest.equals('foo')); |
1543 } | 1543 } |
1544 buildCounterReadGroup--; | 1544 buildCounterReadGroup--; |
1545 } | 1545 } |
1546 | 1546 |
1547 buildUnnamed2567() { | 1547 buildUnnamed2588() { |
1548 var o = new core.List<core.Object>(); | 1548 var o = new core.List<core.Object>(); |
1549 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1549 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1550 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1550 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
1551 return o; | 1551 return o; |
1552 } | 1552 } |
1553 | 1553 |
1554 checkUnnamed2567(core.List<core.Object> o) { | 1554 checkUnnamed2588(core.List<core.Object> o) { |
1555 unittest.expect(o, unittest.hasLength(2)); | 1555 unittest.expect(o, unittest.hasLength(2)); |
1556 var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLengt
h(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string
"], unittest.equals('foo')); | 1556 var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLengt
h(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string
"], unittest.equals('foo')); |
1557 var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLengt
h(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string
"], unittest.equals('foo')); | 1557 var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLengt
h(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string
"], unittest.equals('foo')); |
1558 } | 1558 } |
1559 | 1559 |
1560 buildUnnamed2568() { | 1560 buildUnnamed2589() { |
1561 var o = new core.Map<core.String, core.List<core.Object>>(); | 1561 var o = new core.Map<core.String, core.List<core.Object>>(); |
1562 o["x"] = buildUnnamed2567(); | 1562 o["x"] = buildUnnamed2588(); |
1563 o["y"] = buildUnnamed2567(); | 1563 o["y"] = buildUnnamed2588(); |
1564 return o; | 1564 return o; |
1565 } | 1565 } |
1566 | 1566 |
1567 checkUnnamed2568(core.Map<core.String, core.List<core.Object>> o) { | 1567 checkUnnamed2589(core.Map<core.String, core.List<core.Object>> o) { |
1568 unittest.expect(o, unittest.hasLength(2)); | 1568 unittest.expect(o, unittest.hasLength(2)); |
1569 checkUnnamed2567(o["x"]); | 1569 checkUnnamed2588(o["x"]); |
1570 checkUnnamed2567(o["y"]); | 1570 checkUnnamed2588(o["y"]); |
1571 } | 1571 } |
1572 | 1572 |
1573 buildUnnamed2569() { | 1573 buildUnnamed2590() { |
1574 var o = new core.List<api.ReadGroup>(); | 1574 var o = new core.List<api.ReadGroup>(); |
1575 o.add(buildReadGroup()); | 1575 o.add(buildReadGroup()); |
1576 o.add(buildReadGroup()); | 1576 o.add(buildReadGroup()); |
1577 return o; | 1577 return o; |
1578 } | 1578 } |
1579 | 1579 |
1580 checkUnnamed2569(core.List<api.ReadGroup> o) { | 1580 checkUnnamed2590(core.List<api.ReadGroup> o) { |
1581 unittest.expect(o, unittest.hasLength(2)); | 1581 unittest.expect(o, unittest.hasLength(2)); |
1582 checkReadGroup(o[0]); | 1582 checkReadGroup(o[0]); |
1583 checkReadGroup(o[1]); | 1583 checkReadGroup(o[1]); |
1584 } | 1584 } |
1585 | 1585 |
1586 core.int buildCounterReadGroupSet = 0; | 1586 core.int buildCounterReadGroupSet = 0; |
1587 buildReadGroupSet() { | 1587 buildReadGroupSet() { |
1588 var o = new api.ReadGroupSet(); | 1588 var o = new api.ReadGroupSet(); |
1589 buildCounterReadGroupSet++; | 1589 buildCounterReadGroupSet++; |
1590 if (buildCounterReadGroupSet < 3) { | 1590 if (buildCounterReadGroupSet < 3) { |
1591 o.datasetId = "foo"; | 1591 o.datasetId = "foo"; |
1592 o.filename = "foo"; | 1592 o.filename = "foo"; |
1593 o.id = "foo"; | 1593 o.id = "foo"; |
1594 o.info = buildUnnamed2568(); | 1594 o.info = buildUnnamed2589(); |
1595 o.name = "foo"; | 1595 o.name = "foo"; |
1596 o.readGroups = buildUnnamed2569(); | 1596 o.readGroups = buildUnnamed2590(); |
1597 o.referenceSetId = "foo"; | 1597 o.referenceSetId = "foo"; |
1598 } | 1598 } |
1599 buildCounterReadGroupSet--; | 1599 buildCounterReadGroupSet--; |
1600 return o; | 1600 return o; |
1601 } | 1601 } |
1602 | 1602 |
1603 checkReadGroupSet(api.ReadGroupSet o) { | 1603 checkReadGroupSet(api.ReadGroupSet o) { |
1604 buildCounterReadGroupSet++; | 1604 buildCounterReadGroupSet++; |
1605 if (buildCounterReadGroupSet < 3) { | 1605 if (buildCounterReadGroupSet < 3) { |
1606 unittest.expect(o.datasetId, unittest.equals('foo')); | 1606 unittest.expect(o.datasetId, unittest.equals('foo')); |
1607 unittest.expect(o.filename, unittest.equals('foo')); | 1607 unittest.expect(o.filename, unittest.equals('foo')); |
1608 unittest.expect(o.id, unittest.equals('foo')); | 1608 unittest.expect(o.id, unittest.equals('foo')); |
1609 checkUnnamed2568(o.info); | 1609 checkUnnamed2589(o.info); |
1610 unittest.expect(o.name, unittest.equals('foo')); | 1610 unittest.expect(o.name, unittest.equals('foo')); |
1611 checkUnnamed2569(o.readGroups); | 1611 checkUnnamed2590(o.readGroups); |
1612 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1612 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
1613 } | 1613 } |
1614 buildCounterReadGroupSet--; | 1614 buildCounterReadGroupSet--; |
1615 } | 1615 } |
1616 | 1616 |
1617 buildUnnamed2570() { | 1617 buildUnnamed2591() { |
1618 var o = new core.List<core.String>(); | 1618 var o = new core.List<core.String>(); |
1619 o.add("foo"); | 1619 o.add("foo"); |
1620 o.add("foo"); | 1620 o.add("foo"); |
1621 return o; | 1621 return o; |
1622 } | 1622 } |
1623 | 1623 |
1624 checkUnnamed2570(core.List<core.String> o) { | 1624 checkUnnamed2591(core.List<core.String> o) { |
1625 unittest.expect(o, unittest.hasLength(2)); | 1625 unittest.expect(o, unittest.hasLength(2)); |
1626 unittest.expect(o[0], unittest.equals('foo')); | 1626 unittest.expect(o[0], unittest.equals('foo')); |
1627 unittest.expect(o[1], unittest.equals('foo')); | 1627 unittest.expect(o[1], unittest.equals('foo')); |
1628 } | 1628 } |
1629 | 1629 |
1630 core.int buildCounterReference = 0; | 1630 core.int buildCounterReference = 0; |
1631 buildReference() { | 1631 buildReference() { |
1632 var o = new api.Reference(); | 1632 var o = new api.Reference(); |
1633 buildCounterReference++; | 1633 buildCounterReference++; |
1634 if (buildCounterReference < 3) { | 1634 if (buildCounterReference < 3) { |
1635 o.id = "foo"; | 1635 o.id = "foo"; |
1636 o.length = "foo"; | 1636 o.length = "foo"; |
1637 o.md5checksum = "foo"; | 1637 o.md5checksum = "foo"; |
1638 o.name = "foo"; | 1638 o.name = "foo"; |
1639 o.ncbiTaxonId = 42; | 1639 o.ncbiTaxonId = 42; |
1640 o.sourceAccessions = buildUnnamed2570(); | 1640 o.sourceAccessions = buildUnnamed2591(); |
1641 o.sourceUri = "foo"; | 1641 o.sourceUri = "foo"; |
1642 } | 1642 } |
1643 buildCounterReference--; | 1643 buildCounterReference--; |
1644 return o; | 1644 return o; |
1645 } | 1645 } |
1646 | 1646 |
1647 checkReference(api.Reference o) { | 1647 checkReference(api.Reference o) { |
1648 buildCounterReference++; | 1648 buildCounterReference++; |
1649 if (buildCounterReference < 3) { | 1649 if (buildCounterReference < 3) { |
1650 unittest.expect(o.id, unittest.equals('foo')); | 1650 unittest.expect(o.id, unittest.equals('foo')); |
1651 unittest.expect(o.length, unittest.equals('foo')); | 1651 unittest.expect(o.length, unittest.equals('foo')); |
1652 unittest.expect(o.md5checksum, unittest.equals('foo')); | 1652 unittest.expect(o.md5checksum, unittest.equals('foo')); |
1653 unittest.expect(o.name, unittest.equals('foo')); | 1653 unittest.expect(o.name, unittest.equals('foo')); |
1654 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); | 1654 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); |
1655 checkUnnamed2570(o.sourceAccessions); | 1655 checkUnnamed2591(o.sourceAccessions); |
1656 unittest.expect(o.sourceUri, unittest.equals('foo')); | 1656 unittest.expect(o.sourceUri, unittest.equals('foo')); |
1657 } | 1657 } |
1658 buildCounterReference--; | 1658 buildCounterReference--; |
1659 } | 1659 } |
1660 | 1660 |
1661 core.int buildCounterReferenceBound = 0; | 1661 core.int buildCounterReferenceBound = 0; |
1662 buildReferenceBound() { | 1662 buildReferenceBound() { |
1663 var o = new api.ReferenceBound(); | 1663 var o = new api.ReferenceBound(); |
1664 buildCounterReferenceBound++; | 1664 buildCounterReferenceBound++; |
1665 if (buildCounterReferenceBound < 3) { | 1665 if (buildCounterReferenceBound < 3) { |
1666 o.referenceName = "foo"; | 1666 o.referenceName = "foo"; |
1667 o.upperBound = "foo"; | 1667 o.upperBound = "foo"; |
1668 } | 1668 } |
1669 buildCounterReferenceBound--; | 1669 buildCounterReferenceBound--; |
1670 return o; | 1670 return o; |
1671 } | 1671 } |
1672 | 1672 |
1673 checkReferenceBound(api.ReferenceBound o) { | 1673 checkReferenceBound(api.ReferenceBound o) { |
1674 buildCounterReferenceBound++; | 1674 buildCounterReferenceBound++; |
1675 if (buildCounterReferenceBound < 3) { | 1675 if (buildCounterReferenceBound < 3) { |
1676 unittest.expect(o.referenceName, unittest.equals('foo')); | 1676 unittest.expect(o.referenceName, unittest.equals('foo')); |
1677 unittest.expect(o.upperBound, unittest.equals('foo')); | 1677 unittest.expect(o.upperBound, unittest.equals('foo')); |
1678 } | 1678 } |
1679 buildCounterReferenceBound--; | 1679 buildCounterReferenceBound--; |
1680 } | 1680 } |
1681 | 1681 |
1682 buildUnnamed2571() { | 1682 buildUnnamed2592() { |
1683 var o = new core.List<core.String>(); | 1683 var o = new core.List<core.String>(); |
1684 o.add("foo"); | 1684 o.add("foo"); |
1685 o.add("foo"); | 1685 o.add("foo"); |
1686 return o; | 1686 return o; |
1687 } | 1687 } |
1688 | 1688 |
1689 checkUnnamed2571(core.List<core.String> o) { | 1689 checkUnnamed2592(core.List<core.String> o) { |
1690 unittest.expect(o, unittest.hasLength(2)); | 1690 unittest.expect(o, unittest.hasLength(2)); |
1691 unittest.expect(o[0], unittest.equals('foo')); | 1691 unittest.expect(o[0], unittest.equals('foo')); |
1692 unittest.expect(o[1], unittest.equals('foo')); | 1692 unittest.expect(o[1], unittest.equals('foo')); |
1693 } | 1693 } |
1694 | 1694 |
1695 buildUnnamed2572() { | 1695 buildUnnamed2593() { |
1696 var o = new core.List<core.String>(); | 1696 var o = new core.List<core.String>(); |
1697 o.add("foo"); | 1697 o.add("foo"); |
1698 o.add("foo"); | 1698 o.add("foo"); |
1699 return o; | 1699 return o; |
1700 } | 1700 } |
1701 | 1701 |
1702 checkUnnamed2572(core.List<core.String> o) { | 1702 checkUnnamed2593(core.List<core.String> o) { |
1703 unittest.expect(o, unittest.hasLength(2)); | 1703 unittest.expect(o, unittest.hasLength(2)); |
1704 unittest.expect(o[0], unittest.equals('foo')); | 1704 unittest.expect(o[0], unittest.equals('foo')); |
1705 unittest.expect(o[1], unittest.equals('foo')); | 1705 unittest.expect(o[1], unittest.equals('foo')); |
1706 } | 1706 } |
1707 | 1707 |
1708 core.int buildCounterReferenceSet = 0; | 1708 core.int buildCounterReferenceSet = 0; |
1709 buildReferenceSet() { | 1709 buildReferenceSet() { |
1710 var o = new api.ReferenceSet(); | 1710 var o = new api.ReferenceSet(); |
1711 buildCounterReferenceSet++; | 1711 buildCounterReferenceSet++; |
1712 if (buildCounterReferenceSet < 3) { | 1712 if (buildCounterReferenceSet < 3) { |
1713 o.assemblyId = "foo"; | 1713 o.assemblyId = "foo"; |
1714 o.description = "foo"; | 1714 o.description = "foo"; |
1715 o.id = "foo"; | 1715 o.id = "foo"; |
1716 o.md5checksum = "foo"; | 1716 o.md5checksum = "foo"; |
1717 o.ncbiTaxonId = 42; | 1717 o.ncbiTaxonId = 42; |
1718 o.referenceIds = buildUnnamed2571(); | 1718 o.referenceIds = buildUnnamed2592(); |
1719 o.sourceAccessions = buildUnnamed2572(); | 1719 o.sourceAccessions = buildUnnamed2593(); |
1720 o.sourceUri = "foo"; | 1720 o.sourceUri = "foo"; |
1721 } | 1721 } |
1722 buildCounterReferenceSet--; | 1722 buildCounterReferenceSet--; |
1723 return o; | 1723 return o; |
1724 } | 1724 } |
1725 | 1725 |
1726 checkReferenceSet(api.ReferenceSet o) { | 1726 checkReferenceSet(api.ReferenceSet o) { |
1727 buildCounterReferenceSet++; | 1727 buildCounterReferenceSet++; |
1728 if (buildCounterReferenceSet < 3) { | 1728 if (buildCounterReferenceSet < 3) { |
1729 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1729 unittest.expect(o.assemblyId, unittest.equals('foo')); |
1730 unittest.expect(o.description, unittest.equals('foo')); | 1730 unittest.expect(o.description, unittest.equals('foo')); |
1731 unittest.expect(o.id, unittest.equals('foo')); | 1731 unittest.expect(o.id, unittest.equals('foo')); |
1732 unittest.expect(o.md5checksum, unittest.equals('foo')); | 1732 unittest.expect(o.md5checksum, unittest.equals('foo')); |
1733 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); | 1733 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); |
1734 checkUnnamed2571(o.referenceIds); | 1734 checkUnnamed2592(o.referenceIds); |
1735 checkUnnamed2572(o.sourceAccessions); | 1735 checkUnnamed2593(o.sourceAccessions); |
1736 unittest.expect(o.sourceUri, unittest.equals('foo')); | 1736 unittest.expect(o.sourceUri, unittest.equals('foo')); |
1737 } | 1737 } |
1738 buildCounterReferenceSet--; | 1738 buildCounterReferenceSet--; |
1739 } | 1739 } |
1740 | 1740 |
1741 core.int buildCounterRuntimeMetadata = 0; | 1741 core.int buildCounterRuntimeMetadata = 0; |
1742 buildRuntimeMetadata() { | 1742 buildRuntimeMetadata() { |
1743 var o = new api.RuntimeMetadata(); | 1743 var o = new api.RuntimeMetadata(); |
1744 buildCounterRuntimeMetadata++; | 1744 buildCounterRuntimeMetadata++; |
1745 if (buildCounterRuntimeMetadata < 3) { | 1745 if (buildCounterRuntimeMetadata < 3) { |
1746 o.computeEngine = buildComputeEngine(); | 1746 o.computeEngine = buildComputeEngine(); |
1747 } | 1747 } |
1748 buildCounterRuntimeMetadata--; | 1748 buildCounterRuntimeMetadata--; |
1749 return o; | 1749 return o; |
1750 } | 1750 } |
1751 | 1751 |
1752 checkRuntimeMetadata(api.RuntimeMetadata o) { | 1752 checkRuntimeMetadata(api.RuntimeMetadata o) { |
1753 buildCounterRuntimeMetadata++; | 1753 buildCounterRuntimeMetadata++; |
1754 if (buildCounterRuntimeMetadata < 3) { | 1754 if (buildCounterRuntimeMetadata < 3) { |
1755 checkComputeEngine(o.computeEngine); | 1755 checkComputeEngine(o.computeEngine); |
1756 } | 1756 } |
1757 buildCounterRuntimeMetadata--; | 1757 buildCounterRuntimeMetadata--; |
1758 } | 1758 } |
1759 | 1759 |
1760 buildUnnamed2573() { | 1760 buildUnnamed2594() { |
1761 var o = new core.List<core.String>(); | 1761 var o = new core.List<core.String>(); |
1762 o.add("foo"); | 1762 o.add("foo"); |
1763 o.add("foo"); | 1763 o.add("foo"); |
1764 return o; | 1764 return o; |
1765 } | 1765 } |
1766 | 1766 |
1767 checkUnnamed2573(core.List<core.String> o) { | 1767 checkUnnamed2594(core.List<core.String> o) { |
1768 unittest.expect(o, unittest.hasLength(2)); | 1768 unittest.expect(o, unittest.hasLength(2)); |
1769 unittest.expect(o[0], unittest.equals('foo')); | 1769 unittest.expect(o[0], unittest.equals('foo')); |
1770 unittest.expect(o[1], unittest.equals('foo')); | 1770 unittest.expect(o[1], unittest.equals('foo')); |
1771 } | 1771 } |
1772 | 1772 |
1773 buildUnnamed2574() { | 1773 buildUnnamed2595() { |
1774 var o = new core.List<core.String>(); | 1774 var o = new core.List<core.String>(); |
1775 o.add("foo"); | 1775 o.add("foo"); |
1776 o.add("foo"); | 1776 o.add("foo"); |
1777 return o; | 1777 return o; |
1778 } | 1778 } |
1779 | 1779 |
1780 checkUnnamed2574(core.List<core.String> o) { | 1780 checkUnnamed2595(core.List<core.String> o) { |
1781 unittest.expect(o, unittest.hasLength(2)); | 1781 unittest.expect(o, unittest.hasLength(2)); |
1782 unittest.expect(o[0], unittest.equals('foo')); | 1782 unittest.expect(o[0], unittest.equals('foo')); |
1783 unittest.expect(o[1], unittest.equals('foo')); | 1783 unittest.expect(o[1], unittest.equals('foo')); |
1784 } | 1784 } |
1785 | 1785 |
1786 core.int buildCounterSearchAnnotationSetsRequest = 0; | 1786 core.int buildCounterSearchAnnotationSetsRequest = 0; |
1787 buildSearchAnnotationSetsRequest() { | 1787 buildSearchAnnotationSetsRequest() { |
1788 var o = new api.SearchAnnotationSetsRequest(); | 1788 var o = new api.SearchAnnotationSetsRequest(); |
1789 buildCounterSearchAnnotationSetsRequest++; | 1789 buildCounterSearchAnnotationSetsRequest++; |
1790 if (buildCounterSearchAnnotationSetsRequest < 3) { | 1790 if (buildCounterSearchAnnotationSetsRequest < 3) { |
1791 o.datasetIds = buildUnnamed2573(); | 1791 o.datasetIds = buildUnnamed2594(); |
1792 o.name = "foo"; | 1792 o.name = "foo"; |
1793 o.pageSize = 42; | 1793 o.pageSize = 42; |
1794 o.pageToken = "foo"; | 1794 o.pageToken = "foo"; |
1795 o.referenceSetId = "foo"; | 1795 o.referenceSetId = "foo"; |
1796 o.types = buildUnnamed2574(); | 1796 o.types = buildUnnamed2595(); |
1797 } | 1797 } |
1798 buildCounterSearchAnnotationSetsRequest--; | 1798 buildCounterSearchAnnotationSetsRequest--; |
1799 return o; | 1799 return o; |
1800 } | 1800 } |
1801 | 1801 |
1802 checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) { | 1802 checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) { |
1803 buildCounterSearchAnnotationSetsRequest++; | 1803 buildCounterSearchAnnotationSetsRequest++; |
1804 if (buildCounterSearchAnnotationSetsRequest < 3) { | 1804 if (buildCounterSearchAnnotationSetsRequest < 3) { |
1805 checkUnnamed2573(o.datasetIds); | 1805 checkUnnamed2594(o.datasetIds); |
1806 unittest.expect(o.name, unittest.equals('foo')); | 1806 unittest.expect(o.name, unittest.equals('foo')); |
1807 unittest.expect(o.pageSize, unittest.equals(42)); | 1807 unittest.expect(o.pageSize, unittest.equals(42)); |
1808 unittest.expect(o.pageToken, unittest.equals('foo')); | 1808 unittest.expect(o.pageToken, unittest.equals('foo')); |
1809 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1809 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
1810 checkUnnamed2574(o.types); | 1810 checkUnnamed2595(o.types); |
1811 } | 1811 } |
1812 buildCounterSearchAnnotationSetsRequest--; | 1812 buildCounterSearchAnnotationSetsRequest--; |
1813 } | 1813 } |
1814 | 1814 |
1815 buildUnnamed2575() { | 1815 buildUnnamed2596() { |
1816 var o = new core.List<api.AnnotationSet>(); | 1816 var o = new core.List<api.AnnotationSet>(); |
1817 o.add(buildAnnotationSet()); | 1817 o.add(buildAnnotationSet()); |
1818 o.add(buildAnnotationSet()); | 1818 o.add(buildAnnotationSet()); |
1819 return o; | 1819 return o; |
1820 } | 1820 } |
1821 | 1821 |
1822 checkUnnamed2575(core.List<api.AnnotationSet> o) { | 1822 checkUnnamed2596(core.List<api.AnnotationSet> o) { |
1823 unittest.expect(o, unittest.hasLength(2)); | 1823 unittest.expect(o, unittest.hasLength(2)); |
1824 checkAnnotationSet(o[0]); | 1824 checkAnnotationSet(o[0]); |
1825 checkAnnotationSet(o[1]); | 1825 checkAnnotationSet(o[1]); |
1826 } | 1826 } |
1827 | 1827 |
1828 core.int buildCounterSearchAnnotationSetsResponse = 0; | 1828 core.int buildCounterSearchAnnotationSetsResponse = 0; |
1829 buildSearchAnnotationSetsResponse() { | 1829 buildSearchAnnotationSetsResponse() { |
1830 var o = new api.SearchAnnotationSetsResponse(); | 1830 var o = new api.SearchAnnotationSetsResponse(); |
1831 buildCounterSearchAnnotationSetsResponse++; | 1831 buildCounterSearchAnnotationSetsResponse++; |
1832 if (buildCounterSearchAnnotationSetsResponse < 3) { | 1832 if (buildCounterSearchAnnotationSetsResponse < 3) { |
1833 o.annotationSets = buildUnnamed2575(); | 1833 o.annotationSets = buildUnnamed2596(); |
1834 o.nextPageToken = "foo"; | 1834 o.nextPageToken = "foo"; |
1835 } | 1835 } |
1836 buildCounterSearchAnnotationSetsResponse--; | 1836 buildCounterSearchAnnotationSetsResponse--; |
1837 return o; | 1837 return o; |
1838 } | 1838 } |
1839 | 1839 |
1840 checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) { | 1840 checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) { |
1841 buildCounterSearchAnnotationSetsResponse++; | 1841 buildCounterSearchAnnotationSetsResponse++; |
1842 if (buildCounterSearchAnnotationSetsResponse < 3) { | 1842 if (buildCounterSearchAnnotationSetsResponse < 3) { |
1843 checkUnnamed2575(o.annotationSets); | 1843 checkUnnamed2596(o.annotationSets); |
1844 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1844 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1845 } | 1845 } |
1846 buildCounterSearchAnnotationSetsResponse--; | 1846 buildCounterSearchAnnotationSetsResponse--; |
1847 } | 1847 } |
1848 | 1848 |
1849 buildUnnamed2576() { | 1849 buildUnnamed2597() { |
1850 var o = new core.List<core.String>(); | 1850 var o = new core.List<core.String>(); |
1851 o.add("foo"); | 1851 o.add("foo"); |
1852 o.add("foo"); | 1852 o.add("foo"); |
1853 return o; | 1853 return o; |
1854 } | 1854 } |
1855 | 1855 |
1856 checkUnnamed2576(core.List<core.String> o) { | 1856 checkUnnamed2597(core.List<core.String> o) { |
1857 unittest.expect(o, unittest.hasLength(2)); | 1857 unittest.expect(o, unittest.hasLength(2)); |
1858 unittest.expect(o[0], unittest.equals('foo')); | 1858 unittest.expect(o[0], unittest.equals('foo')); |
1859 unittest.expect(o[1], unittest.equals('foo')); | 1859 unittest.expect(o[1], unittest.equals('foo')); |
1860 } | 1860 } |
1861 | 1861 |
1862 core.int buildCounterSearchAnnotationsRequest = 0; | 1862 core.int buildCounterSearchAnnotationsRequest = 0; |
1863 buildSearchAnnotationsRequest() { | 1863 buildSearchAnnotationsRequest() { |
1864 var o = new api.SearchAnnotationsRequest(); | 1864 var o = new api.SearchAnnotationsRequest(); |
1865 buildCounterSearchAnnotationsRequest++; | 1865 buildCounterSearchAnnotationsRequest++; |
1866 if (buildCounterSearchAnnotationsRequest < 3) { | 1866 if (buildCounterSearchAnnotationsRequest < 3) { |
1867 o.annotationSetIds = buildUnnamed2576(); | 1867 o.annotationSetIds = buildUnnamed2597(); |
1868 o.end = "foo"; | 1868 o.end = "foo"; |
1869 o.pageSize = 42; | 1869 o.pageSize = 42; |
1870 o.pageToken = "foo"; | 1870 o.pageToken = "foo"; |
1871 o.referenceId = "foo"; | 1871 o.referenceId = "foo"; |
1872 o.referenceName = "foo"; | 1872 o.referenceName = "foo"; |
1873 o.start = "foo"; | 1873 o.start = "foo"; |
1874 } | 1874 } |
1875 buildCounterSearchAnnotationsRequest--; | 1875 buildCounterSearchAnnotationsRequest--; |
1876 return o; | 1876 return o; |
1877 } | 1877 } |
1878 | 1878 |
1879 checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) { | 1879 checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) { |
1880 buildCounterSearchAnnotationsRequest++; | 1880 buildCounterSearchAnnotationsRequest++; |
1881 if (buildCounterSearchAnnotationsRequest < 3) { | 1881 if (buildCounterSearchAnnotationsRequest < 3) { |
1882 checkUnnamed2576(o.annotationSetIds); | 1882 checkUnnamed2597(o.annotationSetIds); |
1883 unittest.expect(o.end, unittest.equals('foo')); | 1883 unittest.expect(o.end, unittest.equals('foo')); |
1884 unittest.expect(o.pageSize, unittest.equals(42)); | 1884 unittest.expect(o.pageSize, unittest.equals(42)); |
1885 unittest.expect(o.pageToken, unittest.equals('foo')); | 1885 unittest.expect(o.pageToken, unittest.equals('foo')); |
1886 unittest.expect(o.referenceId, unittest.equals('foo')); | 1886 unittest.expect(o.referenceId, unittest.equals('foo')); |
1887 unittest.expect(o.referenceName, unittest.equals('foo')); | 1887 unittest.expect(o.referenceName, unittest.equals('foo')); |
1888 unittest.expect(o.start, unittest.equals('foo')); | 1888 unittest.expect(o.start, unittest.equals('foo')); |
1889 } | 1889 } |
1890 buildCounterSearchAnnotationsRequest--; | 1890 buildCounterSearchAnnotationsRequest--; |
1891 } | 1891 } |
1892 | 1892 |
1893 buildUnnamed2577() { | 1893 buildUnnamed2598() { |
1894 var o = new core.List<api.Annotation>(); | 1894 var o = new core.List<api.Annotation>(); |
1895 o.add(buildAnnotation()); | 1895 o.add(buildAnnotation()); |
1896 o.add(buildAnnotation()); | 1896 o.add(buildAnnotation()); |
1897 return o; | 1897 return o; |
1898 } | 1898 } |
1899 | 1899 |
1900 checkUnnamed2577(core.List<api.Annotation> o) { | 1900 checkUnnamed2598(core.List<api.Annotation> o) { |
1901 unittest.expect(o, unittest.hasLength(2)); | 1901 unittest.expect(o, unittest.hasLength(2)); |
1902 checkAnnotation(o[0]); | 1902 checkAnnotation(o[0]); |
1903 checkAnnotation(o[1]); | 1903 checkAnnotation(o[1]); |
1904 } | 1904 } |
1905 | 1905 |
1906 core.int buildCounterSearchAnnotationsResponse = 0; | 1906 core.int buildCounterSearchAnnotationsResponse = 0; |
1907 buildSearchAnnotationsResponse() { | 1907 buildSearchAnnotationsResponse() { |
1908 var o = new api.SearchAnnotationsResponse(); | 1908 var o = new api.SearchAnnotationsResponse(); |
1909 buildCounterSearchAnnotationsResponse++; | 1909 buildCounterSearchAnnotationsResponse++; |
1910 if (buildCounterSearchAnnotationsResponse < 3) { | 1910 if (buildCounterSearchAnnotationsResponse < 3) { |
1911 o.annotations = buildUnnamed2577(); | 1911 o.annotations = buildUnnamed2598(); |
1912 o.nextPageToken = "foo"; | 1912 o.nextPageToken = "foo"; |
1913 } | 1913 } |
1914 buildCounterSearchAnnotationsResponse--; | 1914 buildCounterSearchAnnotationsResponse--; |
1915 return o; | 1915 return o; |
1916 } | 1916 } |
1917 | 1917 |
1918 checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) { | 1918 checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) { |
1919 buildCounterSearchAnnotationsResponse++; | 1919 buildCounterSearchAnnotationsResponse++; |
1920 if (buildCounterSearchAnnotationsResponse < 3) { | 1920 if (buildCounterSearchAnnotationsResponse < 3) { |
1921 checkUnnamed2577(o.annotations); | 1921 checkUnnamed2598(o.annotations); |
1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1923 } | 1923 } |
1924 buildCounterSearchAnnotationsResponse--; | 1924 buildCounterSearchAnnotationsResponse--; |
1925 } | 1925 } |
1926 | 1926 |
1927 buildUnnamed2578() { | 1927 buildUnnamed2599() { |
1928 var o = new core.List<core.String>(); | 1928 var o = new core.List<core.String>(); |
1929 o.add("foo"); | 1929 o.add("foo"); |
1930 o.add("foo"); | 1930 o.add("foo"); |
1931 return o; | 1931 return o; |
1932 } | 1932 } |
1933 | 1933 |
1934 checkUnnamed2578(core.List<core.String> o) { | 1934 checkUnnamed2599(core.List<core.String> o) { |
1935 unittest.expect(o, unittest.hasLength(2)); | 1935 unittest.expect(o, unittest.hasLength(2)); |
1936 unittest.expect(o[0], unittest.equals('foo')); | 1936 unittest.expect(o[0], unittest.equals('foo')); |
1937 unittest.expect(o[1], unittest.equals('foo')); | 1937 unittest.expect(o[1], unittest.equals('foo')); |
1938 } | 1938 } |
1939 | 1939 |
1940 core.int buildCounterSearchCallSetsRequest = 0; | 1940 core.int buildCounterSearchCallSetsRequest = 0; |
1941 buildSearchCallSetsRequest() { | 1941 buildSearchCallSetsRequest() { |
1942 var o = new api.SearchCallSetsRequest(); | 1942 var o = new api.SearchCallSetsRequest(); |
1943 buildCounterSearchCallSetsRequest++; | 1943 buildCounterSearchCallSetsRequest++; |
1944 if (buildCounterSearchCallSetsRequest < 3) { | 1944 if (buildCounterSearchCallSetsRequest < 3) { |
1945 o.name = "foo"; | 1945 o.name = "foo"; |
1946 o.pageSize = 42; | 1946 o.pageSize = 42; |
1947 o.pageToken = "foo"; | 1947 o.pageToken = "foo"; |
1948 o.variantSetIds = buildUnnamed2578(); | 1948 o.variantSetIds = buildUnnamed2599(); |
1949 } | 1949 } |
1950 buildCounterSearchCallSetsRequest--; | 1950 buildCounterSearchCallSetsRequest--; |
1951 return o; | 1951 return o; |
1952 } | 1952 } |
1953 | 1953 |
1954 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { | 1954 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { |
1955 buildCounterSearchCallSetsRequest++; | 1955 buildCounterSearchCallSetsRequest++; |
1956 if (buildCounterSearchCallSetsRequest < 3) { | 1956 if (buildCounterSearchCallSetsRequest < 3) { |
1957 unittest.expect(o.name, unittest.equals('foo')); | 1957 unittest.expect(o.name, unittest.equals('foo')); |
1958 unittest.expect(o.pageSize, unittest.equals(42)); | 1958 unittest.expect(o.pageSize, unittest.equals(42)); |
1959 unittest.expect(o.pageToken, unittest.equals('foo')); | 1959 unittest.expect(o.pageToken, unittest.equals('foo')); |
1960 checkUnnamed2578(o.variantSetIds); | 1960 checkUnnamed2599(o.variantSetIds); |
1961 } | 1961 } |
1962 buildCounterSearchCallSetsRequest--; | 1962 buildCounterSearchCallSetsRequest--; |
1963 } | 1963 } |
1964 | 1964 |
1965 buildUnnamed2579() { | 1965 buildUnnamed2600() { |
1966 var o = new core.List<api.CallSet>(); | 1966 var o = new core.List<api.CallSet>(); |
1967 o.add(buildCallSet()); | 1967 o.add(buildCallSet()); |
1968 o.add(buildCallSet()); | 1968 o.add(buildCallSet()); |
1969 return o; | 1969 return o; |
1970 } | 1970 } |
1971 | 1971 |
1972 checkUnnamed2579(core.List<api.CallSet> o) { | 1972 checkUnnamed2600(core.List<api.CallSet> o) { |
1973 unittest.expect(o, unittest.hasLength(2)); | 1973 unittest.expect(o, unittest.hasLength(2)); |
1974 checkCallSet(o[0]); | 1974 checkCallSet(o[0]); |
1975 checkCallSet(o[1]); | 1975 checkCallSet(o[1]); |
1976 } | 1976 } |
1977 | 1977 |
1978 core.int buildCounterSearchCallSetsResponse = 0; | 1978 core.int buildCounterSearchCallSetsResponse = 0; |
1979 buildSearchCallSetsResponse() { | 1979 buildSearchCallSetsResponse() { |
1980 var o = new api.SearchCallSetsResponse(); | 1980 var o = new api.SearchCallSetsResponse(); |
1981 buildCounterSearchCallSetsResponse++; | 1981 buildCounterSearchCallSetsResponse++; |
1982 if (buildCounterSearchCallSetsResponse < 3) { | 1982 if (buildCounterSearchCallSetsResponse < 3) { |
1983 o.callSets = buildUnnamed2579(); | 1983 o.callSets = buildUnnamed2600(); |
1984 o.nextPageToken = "foo"; | 1984 o.nextPageToken = "foo"; |
1985 } | 1985 } |
1986 buildCounterSearchCallSetsResponse--; | 1986 buildCounterSearchCallSetsResponse--; |
1987 return o; | 1987 return o; |
1988 } | 1988 } |
1989 | 1989 |
1990 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { | 1990 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { |
1991 buildCounterSearchCallSetsResponse++; | 1991 buildCounterSearchCallSetsResponse++; |
1992 if (buildCounterSearchCallSetsResponse < 3) { | 1992 if (buildCounterSearchCallSetsResponse < 3) { |
1993 checkUnnamed2579(o.callSets); | 1993 checkUnnamed2600(o.callSets); |
1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1995 } | 1995 } |
1996 buildCounterSearchCallSetsResponse--; | 1996 buildCounterSearchCallSetsResponse--; |
1997 } | 1997 } |
1998 | 1998 |
1999 buildUnnamed2580() { | 1999 buildUnnamed2601() { |
2000 var o = new core.List<core.String>(); | 2000 var o = new core.List<core.String>(); |
2001 o.add("foo"); | 2001 o.add("foo"); |
2002 o.add("foo"); | 2002 o.add("foo"); |
2003 return o; | 2003 return o; |
2004 } | 2004 } |
2005 | 2005 |
2006 checkUnnamed2580(core.List<core.String> o) { | 2006 checkUnnamed2601(core.List<core.String> o) { |
2007 unittest.expect(o, unittest.hasLength(2)); | 2007 unittest.expect(o, unittest.hasLength(2)); |
2008 unittest.expect(o[0], unittest.equals('foo')); | 2008 unittest.expect(o[0], unittest.equals('foo')); |
2009 unittest.expect(o[1], unittest.equals('foo')); | 2009 unittest.expect(o[1], unittest.equals('foo')); |
2010 } | 2010 } |
2011 | 2011 |
2012 core.int buildCounterSearchReadGroupSetsRequest = 0; | 2012 core.int buildCounterSearchReadGroupSetsRequest = 0; |
2013 buildSearchReadGroupSetsRequest() { | 2013 buildSearchReadGroupSetsRequest() { |
2014 var o = new api.SearchReadGroupSetsRequest(); | 2014 var o = new api.SearchReadGroupSetsRequest(); |
2015 buildCounterSearchReadGroupSetsRequest++; | 2015 buildCounterSearchReadGroupSetsRequest++; |
2016 if (buildCounterSearchReadGroupSetsRequest < 3) { | 2016 if (buildCounterSearchReadGroupSetsRequest < 3) { |
2017 o.datasetIds = buildUnnamed2580(); | 2017 o.datasetIds = buildUnnamed2601(); |
2018 o.name = "foo"; | 2018 o.name = "foo"; |
2019 o.pageSize = 42; | 2019 o.pageSize = 42; |
2020 o.pageToken = "foo"; | 2020 o.pageToken = "foo"; |
2021 } | 2021 } |
2022 buildCounterSearchReadGroupSetsRequest--; | 2022 buildCounterSearchReadGroupSetsRequest--; |
2023 return o; | 2023 return o; |
2024 } | 2024 } |
2025 | 2025 |
2026 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { | 2026 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { |
2027 buildCounterSearchReadGroupSetsRequest++; | 2027 buildCounterSearchReadGroupSetsRequest++; |
2028 if (buildCounterSearchReadGroupSetsRequest < 3) { | 2028 if (buildCounterSearchReadGroupSetsRequest < 3) { |
2029 checkUnnamed2580(o.datasetIds); | 2029 checkUnnamed2601(o.datasetIds); |
2030 unittest.expect(o.name, unittest.equals('foo')); | 2030 unittest.expect(o.name, unittest.equals('foo')); |
2031 unittest.expect(o.pageSize, unittest.equals(42)); | 2031 unittest.expect(o.pageSize, unittest.equals(42)); |
2032 unittest.expect(o.pageToken, unittest.equals('foo')); | 2032 unittest.expect(o.pageToken, unittest.equals('foo')); |
2033 } | 2033 } |
2034 buildCounterSearchReadGroupSetsRequest--; | 2034 buildCounterSearchReadGroupSetsRequest--; |
2035 } | 2035 } |
2036 | 2036 |
2037 buildUnnamed2581() { | 2037 buildUnnamed2602() { |
2038 var o = new core.List<api.ReadGroupSet>(); | 2038 var o = new core.List<api.ReadGroupSet>(); |
2039 o.add(buildReadGroupSet()); | 2039 o.add(buildReadGroupSet()); |
2040 o.add(buildReadGroupSet()); | 2040 o.add(buildReadGroupSet()); |
2041 return o; | 2041 return o; |
2042 } | 2042 } |
2043 | 2043 |
2044 checkUnnamed2581(core.List<api.ReadGroupSet> o) { | 2044 checkUnnamed2602(core.List<api.ReadGroupSet> o) { |
2045 unittest.expect(o, unittest.hasLength(2)); | 2045 unittest.expect(o, unittest.hasLength(2)); |
2046 checkReadGroupSet(o[0]); | 2046 checkReadGroupSet(o[0]); |
2047 checkReadGroupSet(o[1]); | 2047 checkReadGroupSet(o[1]); |
2048 } | 2048 } |
2049 | 2049 |
2050 core.int buildCounterSearchReadGroupSetsResponse = 0; | 2050 core.int buildCounterSearchReadGroupSetsResponse = 0; |
2051 buildSearchReadGroupSetsResponse() { | 2051 buildSearchReadGroupSetsResponse() { |
2052 var o = new api.SearchReadGroupSetsResponse(); | 2052 var o = new api.SearchReadGroupSetsResponse(); |
2053 buildCounterSearchReadGroupSetsResponse++; | 2053 buildCounterSearchReadGroupSetsResponse++; |
2054 if (buildCounterSearchReadGroupSetsResponse < 3) { | 2054 if (buildCounterSearchReadGroupSetsResponse < 3) { |
2055 o.nextPageToken = "foo"; | 2055 o.nextPageToken = "foo"; |
2056 o.readGroupSets = buildUnnamed2581(); | 2056 o.readGroupSets = buildUnnamed2602(); |
2057 } | 2057 } |
2058 buildCounterSearchReadGroupSetsResponse--; | 2058 buildCounterSearchReadGroupSetsResponse--; |
2059 return o; | 2059 return o; |
2060 } | 2060 } |
2061 | 2061 |
2062 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { | 2062 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { |
2063 buildCounterSearchReadGroupSetsResponse++; | 2063 buildCounterSearchReadGroupSetsResponse++; |
2064 if (buildCounterSearchReadGroupSetsResponse < 3) { | 2064 if (buildCounterSearchReadGroupSetsResponse < 3) { |
2065 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2065 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2066 checkUnnamed2581(o.readGroupSets); | 2066 checkUnnamed2602(o.readGroupSets); |
2067 } | 2067 } |
2068 buildCounterSearchReadGroupSetsResponse--; | 2068 buildCounterSearchReadGroupSetsResponse--; |
2069 } | 2069 } |
2070 | 2070 |
2071 buildUnnamed2582() { | 2071 buildUnnamed2603() { |
2072 var o = new core.List<core.String>(); | 2072 var o = new core.List<core.String>(); |
2073 o.add("foo"); | 2073 o.add("foo"); |
2074 o.add("foo"); | 2074 o.add("foo"); |
2075 return o; | 2075 return o; |
2076 } | 2076 } |
2077 | 2077 |
2078 checkUnnamed2582(core.List<core.String> o) { | 2078 checkUnnamed2603(core.List<core.String> o) { |
2079 unittest.expect(o, unittest.hasLength(2)); | 2079 unittest.expect(o, unittest.hasLength(2)); |
2080 unittest.expect(o[0], unittest.equals('foo')); | 2080 unittest.expect(o[0], unittest.equals('foo')); |
2081 unittest.expect(o[1], unittest.equals('foo')); | 2081 unittest.expect(o[1], unittest.equals('foo')); |
2082 } | 2082 } |
2083 | 2083 |
2084 buildUnnamed2583() { | 2084 buildUnnamed2604() { |
2085 var o = new core.List<core.String>(); | 2085 var o = new core.List<core.String>(); |
2086 o.add("foo"); | 2086 o.add("foo"); |
2087 o.add("foo"); | 2087 o.add("foo"); |
2088 return o; | 2088 return o; |
2089 } | 2089 } |
2090 | 2090 |
2091 checkUnnamed2583(core.List<core.String> o) { | 2091 checkUnnamed2604(core.List<core.String> o) { |
2092 unittest.expect(o, unittest.hasLength(2)); | 2092 unittest.expect(o, unittest.hasLength(2)); |
2093 unittest.expect(o[0], unittest.equals('foo')); | 2093 unittest.expect(o[0], unittest.equals('foo')); |
2094 unittest.expect(o[1], unittest.equals('foo')); | 2094 unittest.expect(o[1], unittest.equals('foo')); |
2095 } | 2095 } |
2096 | 2096 |
2097 core.int buildCounterSearchReadsRequest = 0; | 2097 core.int buildCounterSearchReadsRequest = 0; |
2098 buildSearchReadsRequest() { | 2098 buildSearchReadsRequest() { |
2099 var o = new api.SearchReadsRequest(); | 2099 var o = new api.SearchReadsRequest(); |
2100 buildCounterSearchReadsRequest++; | 2100 buildCounterSearchReadsRequest++; |
2101 if (buildCounterSearchReadsRequest < 3) { | 2101 if (buildCounterSearchReadsRequest < 3) { |
2102 o.end = "foo"; | 2102 o.end = "foo"; |
2103 o.pageSize = 42; | 2103 o.pageSize = 42; |
2104 o.pageToken = "foo"; | 2104 o.pageToken = "foo"; |
2105 o.readGroupIds = buildUnnamed2582(); | 2105 o.readGroupIds = buildUnnamed2603(); |
2106 o.readGroupSetIds = buildUnnamed2583(); | 2106 o.readGroupSetIds = buildUnnamed2604(); |
2107 o.referenceName = "foo"; | 2107 o.referenceName = "foo"; |
2108 o.start = "foo"; | 2108 o.start = "foo"; |
2109 } | 2109 } |
2110 buildCounterSearchReadsRequest--; | 2110 buildCounterSearchReadsRequest--; |
2111 return o; | 2111 return o; |
2112 } | 2112 } |
2113 | 2113 |
2114 checkSearchReadsRequest(api.SearchReadsRequest o) { | 2114 checkSearchReadsRequest(api.SearchReadsRequest o) { |
2115 buildCounterSearchReadsRequest++; | 2115 buildCounterSearchReadsRequest++; |
2116 if (buildCounterSearchReadsRequest < 3) { | 2116 if (buildCounterSearchReadsRequest < 3) { |
2117 unittest.expect(o.end, unittest.equals('foo')); | 2117 unittest.expect(o.end, unittest.equals('foo')); |
2118 unittest.expect(o.pageSize, unittest.equals(42)); | 2118 unittest.expect(o.pageSize, unittest.equals(42)); |
2119 unittest.expect(o.pageToken, unittest.equals('foo')); | 2119 unittest.expect(o.pageToken, unittest.equals('foo')); |
2120 checkUnnamed2582(o.readGroupIds); | 2120 checkUnnamed2603(o.readGroupIds); |
2121 checkUnnamed2583(o.readGroupSetIds); | 2121 checkUnnamed2604(o.readGroupSetIds); |
2122 unittest.expect(o.referenceName, unittest.equals('foo')); | 2122 unittest.expect(o.referenceName, unittest.equals('foo')); |
2123 unittest.expect(o.start, unittest.equals('foo')); | 2123 unittest.expect(o.start, unittest.equals('foo')); |
2124 } | 2124 } |
2125 buildCounterSearchReadsRequest--; | 2125 buildCounterSearchReadsRequest--; |
2126 } | 2126 } |
2127 | 2127 |
2128 buildUnnamed2584() { | 2128 buildUnnamed2605() { |
2129 var o = new core.List<api.Read>(); | 2129 var o = new core.List<api.Read>(); |
2130 o.add(buildRead()); | 2130 o.add(buildRead()); |
2131 o.add(buildRead()); | 2131 o.add(buildRead()); |
2132 return o; | 2132 return o; |
2133 } | 2133 } |
2134 | 2134 |
2135 checkUnnamed2584(core.List<api.Read> o) { | 2135 checkUnnamed2605(core.List<api.Read> o) { |
2136 unittest.expect(o, unittest.hasLength(2)); | 2136 unittest.expect(o, unittest.hasLength(2)); |
2137 checkRead(o[0]); | 2137 checkRead(o[0]); |
2138 checkRead(o[1]); | 2138 checkRead(o[1]); |
2139 } | 2139 } |
2140 | 2140 |
2141 core.int buildCounterSearchReadsResponse = 0; | 2141 core.int buildCounterSearchReadsResponse = 0; |
2142 buildSearchReadsResponse() { | 2142 buildSearchReadsResponse() { |
2143 var o = new api.SearchReadsResponse(); | 2143 var o = new api.SearchReadsResponse(); |
2144 buildCounterSearchReadsResponse++; | 2144 buildCounterSearchReadsResponse++; |
2145 if (buildCounterSearchReadsResponse < 3) { | 2145 if (buildCounterSearchReadsResponse < 3) { |
2146 o.alignments = buildUnnamed2584(); | 2146 o.alignments = buildUnnamed2605(); |
2147 o.nextPageToken = "foo"; | 2147 o.nextPageToken = "foo"; |
2148 } | 2148 } |
2149 buildCounterSearchReadsResponse--; | 2149 buildCounterSearchReadsResponse--; |
2150 return o; | 2150 return o; |
2151 } | 2151 } |
2152 | 2152 |
2153 checkSearchReadsResponse(api.SearchReadsResponse o) { | 2153 checkSearchReadsResponse(api.SearchReadsResponse o) { |
2154 buildCounterSearchReadsResponse++; | 2154 buildCounterSearchReadsResponse++; |
2155 if (buildCounterSearchReadsResponse < 3) { | 2155 if (buildCounterSearchReadsResponse < 3) { |
2156 checkUnnamed2584(o.alignments); | 2156 checkUnnamed2605(o.alignments); |
2157 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2157 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2158 } | 2158 } |
2159 buildCounterSearchReadsResponse--; | 2159 buildCounterSearchReadsResponse--; |
2160 } | 2160 } |
2161 | 2161 |
2162 buildUnnamed2585() { | 2162 buildUnnamed2606() { |
2163 var o = new core.List<core.String>(); | 2163 var o = new core.List<core.String>(); |
2164 o.add("foo"); | 2164 o.add("foo"); |
2165 o.add("foo"); | 2165 o.add("foo"); |
2166 return o; | 2166 return o; |
2167 } | 2167 } |
2168 | 2168 |
2169 checkUnnamed2585(core.List<core.String> o) { | 2169 checkUnnamed2606(core.List<core.String> o) { |
2170 unittest.expect(o, unittest.hasLength(2)); | 2170 unittest.expect(o, unittest.hasLength(2)); |
2171 unittest.expect(o[0], unittest.equals('foo')); | 2171 unittest.expect(o[0], unittest.equals('foo')); |
2172 unittest.expect(o[1], unittest.equals('foo')); | 2172 unittest.expect(o[1], unittest.equals('foo')); |
2173 } | 2173 } |
2174 | 2174 |
2175 buildUnnamed2586() { | 2175 buildUnnamed2607() { |
2176 var o = new core.List<core.String>(); | 2176 var o = new core.List<core.String>(); |
2177 o.add("foo"); | 2177 o.add("foo"); |
2178 o.add("foo"); | 2178 o.add("foo"); |
2179 return o; | 2179 return o; |
2180 } | 2180 } |
2181 | 2181 |
2182 checkUnnamed2586(core.List<core.String> o) { | 2182 checkUnnamed2607(core.List<core.String> o) { |
2183 unittest.expect(o, unittest.hasLength(2)); | 2183 unittest.expect(o, unittest.hasLength(2)); |
2184 unittest.expect(o[0], unittest.equals('foo')); | 2184 unittest.expect(o[0], unittest.equals('foo')); |
2185 unittest.expect(o[1], unittest.equals('foo')); | 2185 unittest.expect(o[1], unittest.equals('foo')); |
2186 } | 2186 } |
2187 | 2187 |
2188 core.int buildCounterSearchReferenceSetsRequest = 0; | 2188 core.int buildCounterSearchReferenceSetsRequest = 0; |
2189 buildSearchReferenceSetsRequest() { | 2189 buildSearchReferenceSetsRequest() { |
2190 var o = new api.SearchReferenceSetsRequest(); | 2190 var o = new api.SearchReferenceSetsRequest(); |
2191 buildCounterSearchReferenceSetsRequest++; | 2191 buildCounterSearchReferenceSetsRequest++; |
2192 if (buildCounterSearchReferenceSetsRequest < 3) { | 2192 if (buildCounterSearchReferenceSetsRequest < 3) { |
2193 o.accessions = buildUnnamed2585(); | 2193 o.accessions = buildUnnamed2606(); |
2194 o.assemblyId = "foo"; | 2194 o.assemblyId = "foo"; |
2195 o.md5checksums = buildUnnamed2586(); | 2195 o.md5checksums = buildUnnamed2607(); |
2196 o.pageSize = 42; | 2196 o.pageSize = 42; |
2197 o.pageToken = "foo"; | 2197 o.pageToken = "foo"; |
2198 } | 2198 } |
2199 buildCounterSearchReferenceSetsRequest--; | 2199 buildCounterSearchReferenceSetsRequest--; |
2200 return o; | 2200 return o; |
2201 } | 2201 } |
2202 | 2202 |
2203 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { | 2203 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { |
2204 buildCounterSearchReferenceSetsRequest++; | 2204 buildCounterSearchReferenceSetsRequest++; |
2205 if (buildCounterSearchReferenceSetsRequest < 3) { | 2205 if (buildCounterSearchReferenceSetsRequest < 3) { |
2206 checkUnnamed2585(o.accessions); | 2206 checkUnnamed2606(o.accessions); |
2207 unittest.expect(o.assemblyId, unittest.equals('foo')); | 2207 unittest.expect(o.assemblyId, unittest.equals('foo')); |
2208 checkUnnamed2586(o.md5checksums); | 2208 checkUnnamed2607(o.md5checksums); |
2209 unittest.expect(o.pageSize, unittest.equals(42)); | 2209 unittest.expect(o.pageSize, unittest.equals(42)); |
2210 unittest.expect(o.pageToken, unittest.equals('foo')); | 2210 unittest.expect(o.pageToken, unittest.equals('foo')); |
2211 } | 2211 } |
2212 buildCounterSearchReferenceSetsRequest--; | 2212 buildCounterSearchReferenceSetsRequest--; |
2213 } | 2213 } |
2214 | 2214 |
2215 buildUnnamed2587() { | 2215 buildUnnamed2608() { |
2216 var o = new core.List<api.ReferenceSet>(); | 2216 var o = new core.List<api.ReferenceSet>(); |
2217 o.add(buildReferenceSet()); | 2217 o.add(buildReferenceSet()); |
2218 o.add(buildReferenceSet()); | 2218 o.add(buildReferenceSet()); |
2219 return o; | 2219 return o; |
2220 } | 2220 } |
2221 | 2221 |
2222 checkUnnamed2587(core.List<api.ReferenceSet> o) { | 2222 checkUnnamed2608(core.List<api.ReferenceSet> o) { |
2223 unittest.expect(o, unittest.hasLength(2)); | 2223 unittest.expect(o, unittest.hasLength(2)); |
2224 checkReferenceSet(o[0]); | 2224 checkReferenceSet(o[0]); |
2225 checkReferenceSet(o[1]); | 2225 checkReferenceSet(o[1]); |
2226 } | 2226 } |
2227 | 2227 |
2228 core.int buildCounterSearchReferenceSetsResponse = 0; | 2228 core.int buildCounterSearchReferenceSetsResponse = 0; |
2229 buildSearchReferenceSetsResponse() { | 2229 buildSearchReferenceSetsResponse() { |
2230 var o = new api.SearchReferenceSetsResponse(); | 2230 var o = new api.SearchReferenceSetsResponse(); |
2231 buildCounterSearchReferenceSetsResponse++; | 2231 buildCounterSearchReferenceSetsResponse++; |
2232 if (buildCounterSearchReferenceSetsResponse < 3) { | 2232 if (buildCounterSearchReferenceSetsResponse < 3) { |
2233 o.nextPageToken = "foo"; | 2233 o.nextPageToken = "foo"; |
2234 o.referenceSets = buildUnnamed2587(); | 2234 o.referenceSets = buildUnnamed2608(); |
2235 } | 2235 } |
2236 buildCounterSearchReferenceSetsResponse--; | 2236 buildCounterSearchReferenceSetsResponse--; |
2237 return o; | 2237 return o; |
2238 } | 2238 } |
2239 | 2239 |
2240 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { | 2240 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { |
2241 buildCounterSearchReferenceSetsResponse++; | 2241 buildCounterSearchReferenceSetsResponse++; |
2242 if (buildCounterSearchReferenceSetsResponse < 3) { | 2242 if (buildCounterSearchReferenceSetsResponse < 3) { |
2243 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2243 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2244 checkUnnamed2587(o.referenceSets); | 2244 checkUnnamed2608(o.referenceSets); |
2245 } | 2245 } |
2246 buildCounterSearchReferenceSetsResponse--; | 2246 buildCounterSearchReferenceSetsResponse--; |
2247 } | 2247 } |
2248 | 2248 |
2249 buildUnnamed2588() { | 2249 buildUnnamed2609() { |
2250 var o = new core.List<core.String>(); | 2250 var o = new core.List<core.String>(); |
2251 o.add("foo"); | 2251 o.add("foo"); |
2252 o.add("foo"); | 2252 o.add("foo"); |
2253 return o; | 2253 return o; |
2254 } | 2254 } |
2255 | 2255 |
2256 checkUnnamed2588(core.List<core.String> o) { | 2256 checkUnnamed2609(core.List<core.String> o) { |
2257 unittest.expect(o, unittest.hasLength(2)); | 2257 unittest.expect(o, unittest.hasLength(2)); |
2258 unittest.expect(o[0], unittest.equals('foo')); | 2258 unittest.expect(o[0], unittest.equals('foo')); |
2259 unittest.expect(o[1], unittest.equals('foo')); | 2259 unittest.expect(o[1], unittest.equals('foo')); |
2260 } | 2260 } |
2261 | 2261 |
2262 buildUnnamed2589() { | 2262 buildUnnamed2610() { |
2263 var o = new core.List<core.String>(); | 2263 var o = new core.List<core.String>(); |
2264 o.add("foo"); | 2264 o.add("foo"); |
2265 o.add("foo"); | 2265 o.add("foo"); |
2266 return o; | 2266 return o; |
2267 } | 2267 } |
2268 | 2268 |
2269 checkUnnamed2589(core.List<core.String> o) { | 2269 checkUnnamed2610(core.List<core.String> o) { |
2270 unittest.expect(o, unittest.hasLength(2)); | 2270 unittest.expect(o, unittest.hasLength(2)); |
2271 unittest.expect(o[0], unittest.equals('foo')); | 2271 unittest.expect(o[0], unittest.equals('foo')); |
2272 unittest.expect(o[1], unittest.equals('foo')); | 2272 unittest.expect(o[1], unittest.equals('foo')); |
2273 } | 2273 } |
2274 | 2274 |
2275 core.int buildCounterSearchReferencesRequest = 0; | 2275 core.int buildCounterSearchReferencesRequest = 0; |
2276 buildSearchReferencesRequest() { | 2276 buildSearchReferencesRequest() { |
2277 var o = new api.SearchReferencesRequest(); | 2277 var o = new api.SearchReferencesRequest(); |
2278 buildCounterSearchReferencesRequest++; | 2278 buildCounterSearchReferencesRequest++; |
2279 if (buildCounterSearchReferencesRequest < 3) { | 2279 if (buildCounterSearchReferencesRequest < 3) { |
2280 o.accessions = buildUnnamed2588(); | 2280 o.accessions = buildUnnamed2609(); |
2281 o.md5checksums = buildUnnamed2589(); | 2281 o.md5checksums = buildUnnamed2610(); |
2282 o.pageSize = 42; | 2282 o.pageSize = 42; |
2283 o.pageToken = "foo"; | 2283 o.pageToken = "foo"; |
2284 o.referenceSetId = "foo"; | 2284 o.referenceSetId = "foo"; |
2285 } | 2285 } |
2286 buildCounterSearchReferencesRequest--; | 2286 buildCounterSearchReferencesRequest--; |
2287 return o; | 2287 return o; |
2288 } | 2288 } |
2289 | 2289 |
2290 checkSearchReferencesRequest(api.SearchReferencesRequest o) { | 2290 checkSearchReferencesRequest(api.SearchReferencesRequest o) { |
2291 buildCounterSearchReferencesRequest++; | 2291 buildCounterSearchReferencesRequest++; |
2292 if (buildCounterSearchReferencesRequest < 3) { | 2292 if (buildCounterSearchReferencesRequest < 3) { |
2293 checkUnnamed2588(o.accessions); | 2293 checkUnnamed2609(o.accessions); |
2294 checkUnnamed2589(o.md5checksums); | 2294 checkUnnamed2610(o.md5checksums); |
2295 unittest.expect(o.pageSize, unittest.equals(42)); | 2295 unittest.expect(o.pageSize, unittest.equals(42)); |
2296 unittest.expect(o.pageToken, unittest.equals('foo')); | 2296 unittest.expect(o.pageToken, unittest.equals('foo')); |
2297 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 2297 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
2298 } | 2298 } |
2299 buildCounterSearchReferencesRequest--; | 2299 buildCounterSearchReferencesRequest--; |
2300 } | 2300 } |
2301 | 2301 |
2302 buildUnnamed2590() { | 2302 buildUnnamed2611() { |
2303 var o = new core.List<api.Reference>(); | 2303 var o = new core.List<api.Reference>(); |
2304 o.add(buildReference()); | 2304 o.add(buildReference()); |
2305 o.add(buildReference()); | 2305 o.add(buildReference()); |
2306 return o; | 2306 return o; |
2307 } | 2307 } |
2308 | 2308 |
2309 checkUnnamed2590(core.List<api.Reference> o) { | 2309 checkUnnamed2611(core.List<api.Reference> o) { |
2310 unittest.expect(o, unittest.hasLength(2)); | 2310 unittest.expect(o, unittest.hasLength(2)); |
2311 checkReference(o[0]); | 2311 checkReference(o[0]); |
2312 checkReference(o[1]); | 2312 checkReference(o[1]); |
2313 } | 2313 } |
2314 | 2314 |
2315 core.int buildCounterSearchReferencesResponse = 0; | 2315 core.int buildCounterSearchReferencesResponse = 0; |
2316 buildSearchReferencesResponse() { | 2316 buildSearchReferencesResponse() { |
2317 var o = new api.SearchReferencesResponse(); | 2317 var o = new api.SearchReferencesResponse(); |
2318 buildCounterSearchReferencesResponse++; | 2318 buildCounterSearchReferencesResponse++; |
2319 if (buildCounterSearchReferencesResponse < 3) { | 2319 if (buildCounterSearchReferencesResponse < 3) { |
2320 o.nextPageToken = "foo"; | 2320 o.nextPageToken = "foo"; |
2321 o.references = buildUnnamed2590(); | 2321 o.references = buildUnnamed2611(); |
2322 } | 2322 } |
2323 buildCounterSearchReferencesResponse--; | 2323 buildCounterSearchReferencesResponse--; |
2324 return o; | 2324 return o; |
2325 } | 2325 } |
2326 | 2326 |
2327 checkSearchReferencesResponse(api.SearchReferencesResponse o) { | 2327 checkSearchReferencesResponse(api.SearchReferencesResponse o) { |
2328 buildCounterSearchReferencesResponse++; | 2328 buildCounterSearchReferencesResponse++; |
2329 if (buildCounterSearchReferencesResponse < 3) { | 2329 if (buildCounterSearchReferencesResponse < 3) { |
2330 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2330 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2331 checkUnnamed2590(o.references); | 2331 checkUnnamed2611(o.references); |
2332 } | 2332 } |
2333 buildCounterSearchReferencesResponse--; | 2333 buildCounterSearchReferencesResponse--; |
2334 } | 2334 } |
2335 | 2335 |
2336 buildUnnamed2591() { | 2336 buildUnnamed2612() { |
2337 var o = new core.List<core.String>(); | 2337 var o = new core.List<core.String>(); |
2338 o.add("foo"); | 2338 o.add("foo"); |
2339 o.add("foo"); | 2339 o.add("foo"); |
2340 return o; | 2340 return o; |
2341 } | 2341 } |
2342 | 2342 |
2343 checkUnnamed2591(core.List<core.String> o) { | 2343 checkUnnamed2612(core.List<core.String> o) { |
2344 unittest.expect(o, unittest.hasLength(2)); | 2344 unittest.expect(o, unittest.hasLength(2)); |
2345 unittest.expect(o[0], unittest.equals('foo')); | 2345 unittest.expect(o[0], unittest.equals('foo')); |
2346 unittest.expect(o[1], unittest.equals('foo')); | 2346 unittest.expect(o[1], unittest.equals('foo')); |
2347 } | 2347 } |
2348 | 2348 |
2349 core.int buildCounterSearchVariantSetsRequest = 0; | 2349 core.int buildCounterSearchVariantSetsRequest = 0; |
2350 buildSearchVariantSetsRequest() { | 2350 buildSearchVariantSetsRequest() { |
2351 var o = new api.SearchVariantSetsRequest(); | 2351 var o = new api.SearchVariantSetsRequest(); |
2352 buildCounterSearchVariantSetsRequest++; | 2352 buildCounterSearchVariantSetsRequest++; |
2353 if (buildCounterSearchVariantSetsRequest < 3) { | 2353 if (buildCounterSearchVariantSetsRequest < 3) { |
2354 o.datasetIds = buildUnnamed2591(); | 2354 o.datasetIds = buildUnnamed2612(); |
2355 o.pageSize = 42; | 2355 o.pageSize = 42; |
2356 o.pageToken = "foo"; | 2356 o.pageToken = "foo"; |
2357 } | 2357 } |
2358 buildCounterSearchVariantSetsRequest--; | 2358 buildCounterSearchVariantSetsRequest--; |
2359 return o; | 2359 return o; |
2360 } | 2360 } |
2361 | 2361 |
2362 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { | 2362 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { |
2363 buildCounterSearchVariantSetsRequest++; | 2363 buildCounterSearchVariantSetsRequest++; |
2364 if (buildCounterSearchVariantSetsRequest < 3) { | 2364 if (buildCounterSearchVariantSetsRequest < 3) { |
2365 checkUnnamed2591(o.datasetIds); | 2365 checkUnnamed2612(o.datasetIds); |
2366 unittest.expect(o.pageSize, unittest.equals(42)); | 2366 unittest.expect(o.pageSize, unittest.equals(42)); |
2367 unittest.expect(o.pageToken, unittest.equals('foo')); | 2367 unittest.expect(o.pageToken, unittest.equals('foo')); |
2368 } | 2368 } |
2369 buildCounterSearchVariantSetsRequest--; | 2369 buildCounterSearchVariantSetsRequest--; |
2370 } | 2370 } |
2371 | 2371 |
2372 buildUnnamed2592() { | 2372 buildUnnamed2613() { |
2373 var o = new core.List<api.VariantSet>(); | 2373 var o = new core.List<api.VariantSet>(); |
2374 o.add(buildVariantSet()); | 2374 o.add(buildVariantSet()); |
2375 o.add(buildVariantSet()); | 2375 o.add(buildVariantSet()); |
2376 return o; | 2376 return o; |
2377 } | 2377 } |
2378 | 2378 |
2379 checkUnnamed2592(core.List<api.VariantSet> o) { | 2379 checkUnnamed2613(core.List<api.VariantSet> o) { |
2380 unittest.expect(o, unittest.hasLength(2)); | 2380 unittest.expect(o, unittest.hasLength(2)); |
2381 checkVariantSet(o[0]); | 2381 checkVariantSet(o[0]); |
2382 checkVariantSet(o[1]); | 2382 checkVariantSet(o[1]); |
2383 } | 2383 } |
2384 | 2384 |
2385 core.int buildCounterSearchVariantSetsResponse = 0; | 2385 core.int buildCounterSearchVariantSetsResponse = 0; |
2386 buildSearchVariantSetsResponse() { | 2386 buildSearchVariantSetsResponse() { |
2387 var o = new api.SearchVariantSetsResponse(); | 2387 var o = new api.SearchVariantSetsResponse(); |
2388 buildCounterSearchVariantSetsResponse++; | 2388 buildCounterSearchVariantSetsResponse++; |
2389 if (buildCounterSearchVariantSetsResponse < 3) { | 2389 if (buildCounterSearchVariantSetsResponse < 3) { |
2390 o.nextPageToken = "foo"; | 2390 o.nextPageToken = "foo"; |
2391 o.variantSets = buildUnnamed2592(); | 2391 o.variantSets = buildUnnamed2613(); |
2392 } | 2392 } |
2393 buildCounterSearchVariantSetsResponse--; | 2393 buildCounterSearchVariantSetsResponse--; |
2394 return o; | 2394 return o; |
2395 } | 2395 } |
2396 | 2396 |
2397 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { | 2397 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { |
2398 buildCounterSearchVariantSetsResponse++; | 2398 buildCounterSearchVariantSetsResponse++; |
2399 if (buildCounterSearchVariantSetsResponse < 3) { | 2399 if (buildCounterSearchVariantSetsResponse < 3) { |
2400 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2400 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2401 checkUnnamed2592(o.variantSets); | 2401 checkUnnamed2613(o.variantSets); |
2402 } | 2402 } |
2403 buildCounterSearchVariantSetsResponse--; | 2403 buildCounterSearchVariantSetsResponse--; |
2404 } | 2404 } |
2405 | 2405 |
2406 buildUnnamed2593() { | 2406 buildUnnamed2614() { |
2407 var o = new core.List<core.String>(); | 2407 var o = new core.List<core.String>(); |
2408 o.add("foo"); | 2408 o.add("foo"); |
2409 o.add("foo"); | 2409 o.add("foo"); |
2410 return o; | 2410 return o; |
2411 } | 2411 } |
2412 | 2412 |
2413 checkUnnamed2593(core.List<core.String> o) { | 2413 checkUnnamed2614(core.List<core.String> o) { |
2414 unittest.expect(o, unittest.hasLength(2)); | 2414 unittest.expect(o, unittest.hasLength(2)); |
2415 unittest.expect(o[0], unittest.equals('foo')); | 2415 unittest.expect(o[0], unittest.equals('foo')); |
2416 unittest.expect(o[1], unittest.equals('foo')); | 2416 unittest.expect(o[1], unittest.equals('foo')); |
2417 } | 2417 } |
2418 | 2418 |
2419 buildUnnamed2594() { | 2419 buildUnnamed2615() { |
2420 var o = new core.List<core.String>(); | 2420 var o = new core.List<core.String>(); |
2421 o.add("foo"); | 2421 o.add("foo"); |
2422 o.add("foo"); | 2422 o.add("foo"); |
2423 return o; | 2423 return o; |
2424 } | 2424 } |
2425 | 2425 |
2426 checkUnnamed2594(core.List<core.String> o) { | 2426 checkUnnamed2615(core.List<core.String> o) { |
2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
2428 unittest.expect(o[0], unittest.equals('foo')); | 2428 unittest.expect(o[0], unittest.equals('foo')); |
2429 unittest.expect(o[1], unittest.equals('foo')); | 2429 unittest.expect(o[1], unittest.equals('foo')); |
2430 } | 2430 } |
2431 | 2431 |
2432 core.int buildCounterSearchVariantsRequest = 0; | 2432 core.int buildCounterSearchVariantsRequest = 0; |
2433 buildSearchVariantsRequest() { | 2433 buildSearchVariantsRequest() { |
2434 var o = new api.SearchVariantsRequest(); | 2434 var o = new api.SearchVariantsRequest(); |
2435 buildCounterSearchVariantsRequest++; | 2435 buildCounterSearchVariantsRequest++; |
2436 if (buildCounterSearchVariantsRequest < 3) { | 2436 if (buildCounterSearchVariantsRequest < 3) { |
2437 o.callSetIds = buildUnnamed2593(); | 2437 o.callSetIds = buildUnnamed2614(); |
2438 o.end = "foo"; | 2438 o.end = "foo"; |
2439 o.maxCalls = 42; | 2439 o.maxCalls = 42; |
2440 o.pageSize = 42; | 2440 o.pageSize = 42; |
2441 o.pageToken = "foo"; | 2441 o.pageToken = "foo"; |
2442 o.referenceName = "foo"; | 2442 o.referenceName = "foo"; |
2443 o.start = "foo"; | 2443 o.start = "foo"; |
2444 o.variantName = "foo"; | 2444 o.variantName = "foo"; |
2445 o.variantSetIds = buildUnnamed2594(); | 2445 o.variantSetIds = buildUnnamed2615(); |
2446 } | 2446 } |
2447 buildCounterSearchVariantsRequest--; | 2447 buildCounterSearchVariantsRequest--; |
2448 return o; | 2448 return o; |
2449 } | 2449 } |
2450 | 2450 |
2451 checkSearchVariantsRequest(api.SearchVariantsRequest o) { | 2451 checkSearchVariantsRequest(api.SearchVariantsRequest o) { |
2452 buildCounterSearchVariantsRequest++; | 2452 buildCounterSearchVariantsRequest++; |
2453 if (buildCounterSearchVariantsRequest < 3) { | 2453 if (buildCounterSearchVariantsRequest < 3) { |
2454 checkUnnamed2593(o.callSetIds); | 2454 checkUnnamed2614(o.callSetIds); |
2455 unittest.expect(o.end, unittest.equals('foo')); | 2455 unittest.expect(o.end, unittest.equals('foo')); |
2456 unittest.expect(o.maxCalls, unittest.equals(42)); | 2456 unittest.expect(o.maxCalls, unittest.equals(42)); |
2457 unittest.expect(o.pageSize, unittest.equals(42)); | 2457 unittest.expect(o.pageSize, unittest.equals(42)); |
2458 unittest.expect(o.pageToken, unittest.equals('foo')); | 2458 unittest.expect(o.pageToken, unittest.equals('foo')); |
2459 unittest.expect(o.referenceName, unittest.equals('foo')); | 2459 unittest.expect(o.referenceName, unittest.equals('foo')); |
2460 unittest.expect(o.start, unittest.equals('foo')); | 2460 unittest.expect(o.start, unittest.equals('foo')); |
2461 unittest.expect(o.variantName, unittest.equals('foo')); | 2461 unittest.expect(o.variantName, unittest.equals('foo')); |
2462 checkUnnamed2594(o.variantSetIds); | 2462 checkUnnamed2615(o.variantSetIds); |
2463 } | 2463 } |
2464 buildCounterSearchVariantsRequest--; | 2464 buildCounterSearchVariantsRequest--; |
2465 } | 2465 } |
2466 | 2466 |
2467 buildUnnamed2595() { | 2467 buildUnnamed2616() { |
2468 var o = new core.List<api.Variant>(); | 2468 var o = new core.List<api.Variant>(); |
2469 o.add(buildVariant()); | 2469 o.add(buildVariant()); |
2470 o.add(buildVariant()); | 2470 o.add(buildVariant()); |
2471 return o; | 2471 return o; |
2472 } | 2472 } |
2473 | 2473 |
2474 checkUnnamed2595(core.List<api.Variant> o) { | 2474 checkUnnamed2616(core.List<api.Variant> o) { |
2475 unittest.expect(o, unittest.hasLength(2)); | 2475 unittest.expect(o, unittest.hasLength(2)); |
2476 checkVariant(o[0]); | 2476 checkVariant(o[0]); |
2477 checkVariant(o[1]); | 2477 checkVariant(o[1]); |
2478 } | 2478 } |
2479 | 2479 |
2480 core.int buildCounterSearchVariantsResponse = 0; | 2480 core.int buildCounterSearchVariantsResponse = 0; |
2481 buildSearchVariantsResponse() { | 2481 buildSearchVariantsResponse() { |
2482 var o = new api.SearchVariantsResponse(); | 2482 var o = new api.SearchVariantsResponse(); |
2483 buildCounterSearchVariantsResponse++; | 2483 buildCounterSearchVariantsResponse++; |
2484 if (buildCounterSearchVariantsResponse < 3) { | 2484 if (buildCounterSearchVariantsResponse < 3) { |
2485 o.nextPageToken = "foo"; | 2485 o.nextPageToken = "foo"; |
2486 o.variants = buildUnnamed2595(); | 2486 o.variants = buildUnnamed2616(); |
2487 } | 2487 } |
2488 buildCounterSearchVariantsResponse--; | 2488 buildCounterSearchVariantsResponse--; |
2489 return o; | 2489 return o; |
2490 } | 2490 } |
2491 | 2491 |
2492 checkSearchVariantsResponse(api.SearchVariantsResponse o) { | 2492 checkSearchVariantsResponse(api.SearchVariantsResponse o) { |
2493 buildCounterSearchVariantsResponse++; | 2493 buildCounterSearchVariantsResponse++; |
2494 if (buildCounterSearchVariantsResponse < 3) { | 2494 if (buildCounterSearchVariantsResponse < 3) { |
2495 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2495 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2496 checkUnnamed2595(o.variants); | 2496 checkUnnamed2616(o.variants); |
2497 } | 2497 } |
2498 buildCounterSearchVariantsResponse--; | 2498 buildCounterSearchVariantsResponse--; |
2499 } | 2499 } |
2500 | 2500 |
2501 core.int buildCounterSetIamPolicyRequest = 0; | 2501 core.int buildCounterSetIamPolicyRequest = 0; |
2502 buildSetIamPolicyRequest() { | 2502 buildSetIamPolicyRequest() { |
2503 var o = new api.SetIamPolicyRequest(); | 2503 var o = new api.SetIamPolicyRequest(); |
2504 buildCounterSetIamPolicyRequest++; | 2504 buildCounterSetIamPolicyRequest++; |
2505 if (buildCounterSetIamPolicyRequest < 3) { | 2505 if (buildCounterSetIamPolicyRequest < 3) { |
2506 o.policy = buildPolicy(); | 2506 o.policy = buildPolicy(); |
2507 } | 2507 } |
2508 buildCounterSetIamPolicyRequest--; | 2508 buildCounterSetIamPolicyRequest--; |
2509 return o; | 2509 return o; |
2510 } | 2510 } |
2511 | 2511 |
2512 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { | 2512 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
2513 buildCounterSetIamPolicyRequest++; | 2513 buildCounterSetIamPolicyRequest++; |
2514 if (buildCounterSetIamPolicyRequest < 3) { | 2514 if (buildCounterSetIamPolicyRequest < 3) { |
2515 checkPolicy(o.policy); | 2515 checkPolicy(o.policy); |
2516 } | 2516 } |
2517 buildCounterSetIamPolicyRequest--; | 2517 buildCounterSetIamPolicyRequest--; |
2518 } | 2518 } |
2519 | 2519 |
2520 buildUnnamed2596() { | 2520 buildUnnamed2617() { |
2521 var o = new core.Map<core.String, core.Object>(); | 2521 var o = new core.Map<core.String, core.Object>(); |
2522 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2522 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2523 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2523 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2524 return o; | 2524 return o; |
2525 } | 2525 } |
2526 | 2526 |
2527 checkUnnamed2596(core.Map<core.String, core.Object> o) { | 2527 checkUnnamed2617(core.Map<core.String, core.Object> o) { |
2528 unittest.expect(o, unittest.hasLength(2)); | 2528 unittest.expect(o, unittest.hasLength(2)); |
2529 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); | 2529 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); |
2530 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); | 2530 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); |
2531 } | 2531 } |
2532 | 2532 |
2533 buildUnnamed2597() { | 2533 buildUnnamed2618() { |
2534 var o = new core.List<core.Map<core.String, core.Object>>(); | 2534 var o = new core.List<core.Map<core.String, core.Object>>(); |
2535 o.add(buildUnnamed2596()); | 2535 o.add(buildUnnamed2617()); |
2536 o.add(buildUnnamed2596()); | 2536 o.add(buildUnnamed2617()); |
2537 return o; | 2537 return o; |
2538 } | 2538 } |
2539 | 2539 |
2540 checkUnnamed2597(core.List<core.Map<core.String, core.Object>> o) { | 2540 checkUnnamed2618(core.List<core.Map<core.String, core.Object>> o) { |
2541 unittest.expect(o, unittest.hasLength(2)); | 2541 unittest.expect(o, unittest.hasLength(2)); |
2542 checkUnnamed2596(o[0]); | 2542 checkUnnamed2617(o[0]); |
2543 checkUnnamed2596(o[1]); | 2543 checkUnnamed2617(o[1]); |
2544 } | 2544 } |
2545 | 2545 |
2546 core.int buildCounterStatus = 0; | 2546 core.int buildCounterStatus = 0; |
2547 buildStatus() { | 2547 buildStatus() { |
2548 var o = new api.Status(); | 2548 var o = new api.Status(); |
2549 buildCounterStatus++; | 2549 buildCounterStatus++; |
2550 if (buildCounterStatus < 3) { | 2550 if (buildCounterStatus < 3) { |
2551 o.code = 42; | 2551 o.code = 42; |
2552 o.details = buildUnnamed2597(); | 2552 o.details = buildUnnamed2618(); |
2553 o.message = "foo"; | 2553 o.message = "foo"; |
2554 } | 2554 } |
2555 buildCounterStatus--; | 2555 buildCounterStatus--; |
2556 return o; | 2556 return o; |
2557 } | 2557 } |
2558 | 2558 |
2559 checkStatus(api.Status o) { | 2559 checkStatus(api.Status o) { |
2560 buildCounterStatus++; | 2560 buildCounterStatus++; |
2561 if (buildCounterStatus < 3) { | 2561 if (buildCounterStatus < 3) { |
2562 unittest.expect(o.code, unittest.equals(42)); | 2562 unittest.expect(o.code, unittest.equals(42)); |
2563 checkUnnamed2597(o.details); | 2563 checkUnnamed2618(o.details); |
2564 unittest.expect(o.message, unittest.equals('foo')); | 2564 unittest.expect(o.message, unittest.equals('foo')); |
2565 } | 2565 } |
2566 buildCounterStatus--; | 2566 buildCounterStatus--; |
2567 } | 2567 } |
2568 | 2568 |
2569 buildUnnamed2598() { | 2569 buildUnnamed2619() { |
2570 var o = new core.List<core.String>(); | 2570 var o = new core.List<core.String>(); |
2571 o.add("foo"); | 2571 o.add("foo"); |
2572 o.add("foo"); | 2572 o.add("foo"); |
2573 return o; | 2573 return o; |
2574 } | 2574 } |
2575 | 2575 |
2576 checkUnnamed2598(core.List<core.String> o) { | 2576 checkUnnamed2619(core.List<core.String> o) { |
2577 unittest.expect(o, unittest.hasLength(2)); | 2577 unittest.expect(o, unittest.hasLength(2)); |
2578 unittest.expect(o[0], unittest.equals('foo')); | 2578 unittest.expect(o[0], unittest.equals('foo')); |
2579 unittest.expect(o[1], unittest.equals('foo')); | 2579 unittest.expect(o[1], unittest.equals('foo')); |
2580 } | 2580 } |
2581 | 2581 |
2582 core.int buildCounterTestIamPermissionsRequest = 0; | 2582 core.int buildCounterTestIamPermissionsRequest = 0; |
2583 buildTestIamPermissionsRequest() { | 2583 buildTestIamPermissionsRequest() { |
2584 var o = new api.TestIamPermissionsRequest(); | 2584 var o = new api.TestIamPermissionsRequest(); |
2585 buildCounterTestIamPermissionsRequest++; | 2585 buildCounterTestIamPermissionsRequest++; |
2586 if (buildCounterTestIamPermissionsRequest < 3) { | 2586 if (buildCounterTestIamPermissionsRequest < 3) { |
2587 o.permissions = buildUnnamed2598(); | 2587 o.permissions = buildUnnamed2619(); |
2588 } | 2588 } |
2589 buildCounterTestIamPermissionsRequest--; | 2589 buildCounterTestIamPermissionsRequest--; |
2590 return o; | 2590 return o; |
2591 } | 2591 } |
2592 | 2592 |
2593 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 2593 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
2594 buildCounterTestIamPermissionsRequest++; | 2594 buildCounterTestIamPermissionsRequest++; |
2595 if (buildCounterTestIamPermissionsRequest < 3) { | 2595 if (buildCounterTestIamPermissionsRequest < 3) { |
2596 checkUnnamed2598(o.permissions); | 2596 checkUnnamed2619(o.permissions); |
2597 } | 2597 } |
2598 buildCounterTestIamPermissionsRequest--; | 2598 buildCounterTestIamPermissionsRequest--; |
2599 } | 2599 } |
2600 | 2600 |
2601 buildUnnamed2599() { | 2601 buildUnnamed2620() { |
2602 var o = new core.List<core.String>(); | 2602 var o = new core.List<core.String>(); |
2603 o.add("foo"); | 2603 o.add("foo"); |
2604 o.add("foo"); | 2604 o.add("foo"); |
2605 return o; | 2605 return o; |
2606 } | 2606 } |
2607 | 2607 |
2608 checkUnnamed2599(core.List<core.String> o) { | 2608 checkUnnamed2620(core.List<core.String> o) { |
2609 unittest.expect(o, unittest.hasLength(2)); | 2609 unittest.expect(o, unittest.hasLength(2)); |
2610 unittest.expect(o[0], unittest.equals('foo')); | 2610 unittest.expect(o[0], unittest.equals('foo')); |
2611 unittest.expect(o[1], unittest.equals('foo')); | 2611 unittest.expect(o[1], unittest.equals('foo')); |
2612 } | 2612 } |
2613 | 2613 |
2614 core.int buildCounterTestIamPermissionsResponse = 0; | 2614 core.int buildCounterTestIamPermissionsResponse = 0; |
2615 buildTestIamPermissionsResponse() { | 2615 buildTestIamPermissionsResponse() { |
2616 var o = new api.TestIamPermissionsResponse(); | 2616 var o = new api.TestIamPermissionsResponse(); |
2617 buildCounterTestIamPermissionsResponse++; | 2617 buildCounterTestIamPermissionsResponse++; |
2618 if (buildCounterTestIamPermissionsResponse < 3) { | 2618 if (buildCounterTestIamPermissionsResponse < 3) { |
2619 o.permissions = buildUnnamed2599(); | 2619 o.permissions = buildUnnamed2620(); |
2620 } | 2620 } |
2621 buildCounterTestIamPermissionsResponse--; | 2621 buildCounterTestIamPermissionsResponse--; |
2622 return o; | 2622 return o; |
2623 } | 2623 } |
2624 | 2624 |
2625 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 2625 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
2626 buildCounterTestIamPermissionsResponse++; | 2626 buildCounterTestIamPermissionsResponse++; |
2627 if (buildCounterTestIamPermissionsResponse < 3) { | 2627 if (buildCounterTestIamPermissionsResponse < 3) { |
2628 checkUnnamed2599(o.permissions); | 2628 checkUnnamed2620(o.permissions); |
2629 } | 2629 } |
2630 buildCounterTestIamPermissionsResponse--; | 2630 buildCounterTestIamPermissionsResponse--; |
2631 } | 2631 } |
2632 | 2632 |
2633 buildUnnamed2600() { | 2633 buildUnnamed2621() { |
2634 var o = new core.List<api.Exon>(); | 2634 var o = new core.List<api.Exon>(); |
2635 o.add(buildExon()); | 2635 o.add(buildExon()); |
2636 o.add(buildExon()); | 2636 o.add(buildExon()); |
2637 return o; | 2637 return o; |
2638 } | 2638 } |
2639 | 2639 |
2640 checkUnnamed2600(core.List<api.Exon> o) { | 2640 checkUnnamed2621(core.List<api.Exon> o) { |
2641 unittest.expect(o, unittest.hasLength(2)); | 2641 unittest.expect(o, unittest.hasLength(2)); |
2642 checkExon(o[0]); | 2642 checkExon(o[0]); |
2643 checkExon(o[1]); | 2643 checkExon(o[1]); |
2644 } | 2644 } |
2645 | 2645 |
2646 core.int buildCounterTranscript = 0; | 2646 core.int buildCounterTranscript = 0; |
2647 buildTranscript() { | 2647 buildTranscript() { |
2648 var o = new api.Transcript(); | 2648 var o = new api.Transcript(); |
2649 buildCounterTranscript++; | 2649 buildCounterTranscript++; |
2650 if (buildCounterTranscript < 3) { | 2650 if (buildCounterTranscript < 3) { |
2651 o.codingSequence = buildCodingSequence(); | 2651 o.codingSequence = buildCodingSequence(); |
2652 o.exons = buildUnnamed2600(); | 2652 o.exons = buildUnnamed2621(); |
2653 o.geneId = "foo"; | 2653 o.geneId = "foo"; |
2654 } | 2654 } |
2655 buildCounterTranscript--; | 2655 buildCounterTranscript--; |
2656 return o; | 2656 return o; |
2657 } | 2657 } |
2658 | 2658 |
2659 checkTranscript(api.Transcript o) { | 2659 checkTranscript(api.Transcript o) { |
2660 buildCounterTranscript++; | 2660 buildCounterTranscript++; |
2661 if (buildCounterTranscript < 3) { | 2661 if (buildCounterTranscript < 3) { |
2662 checkCodingSequence(o.codingSequence); | 2662 checkCodingSequence(o.codingSequence); |
2663 checkUnnamed2600(o.exons); | 2663 checkUnnamed2621(o.exons); |
2664 unittest.expect(o.geneId, unittest.equals('foo')); | 2664 unittest.expect(o.geneId, unittest.equals('foo')); |
2665 } | 2665 } |
2666 buildCounterTranscript--; | 2666 buildCounterTranscript--; |
2667 } | 2667 } |
2668 | 2668 |
2669 core.int buildCounterUndeleteDatasetRequest = 0; | 2669 core.int buildCounterUndeleteDatasetRequest = 0; |
2670 buildUndeleteDatasetRequest() { | 2670 buildUndeleteDatasetRequest() { |
2671 var o = new api.UndeleteDatasetRequest(); | 2671 var o = new api.UndeleteDatasetRequest(); |
2672 buildCounterUndeleteDatasetRequest++; | 2672 buildCounterUndeleteDatasetRequest++; |
2673 if (buildCounterUndeleteDatasetRequest < 3) { | 2673 if (buildCounterUndeleteDatasetRequest < 3) { |
2674 } | 2674 } |
2675 buildCounterUndeleteDatasetRequest--; | 2675 buildCounterUndeleteDatasetRequest--; |
2676 return o; | 2676 return o; |
2677 } | 2677 } |
2678 | 2678 |
2679 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { | 2679 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { |
2680 buildCounterUndeleteDatasetRequest++; | 2680 buildCounterUndeleteDatasetRequest++; |
2681 if (buildCounterUndeleteDatasetRequest < 3) { | 2681 if (buildCounterUndeleteDatasetRequest < 3) { |
2682 } | 2682 } |
2683 buildCounterUndeleteDatasetRequest--; | 2683 buildCounterUndeleteDatasetRequest--; |
2684 } | 2684 } |
2685 | 2685 |
2686 buildUnnamed2601() { | 2686 buildUnnamed2622() { |
2687 var o = new core.List<core.String>(); | 2687 var o = new core.List<core.String>(); |
2688 o.add("foo"); | 2688 o.add("foo"); |
2689 o.add("foo"); | 2689 o.add("foo"); |
2690 return o; | 2690 return o; |
2691 } | 2691 } |
2692 | 2692 |
2693 checkUnnamed2601(core.List<core.String> o) { | 2693 checkUnnamed2622(core.List<core.String> o) { |
2694 unittest.expect(o, unittest.hasLength(2)); | 2694 unittest.expect(o, unittest.hasLength(2)); |
2695 unittest.expect(o[0], unittest.equals('foo')); | 2695 unittest.expect(o[0], unittest.equals('foo')); |
2696 unittest.expect(o[1], unittest.equals('foo')); | 2696 unittest.expect(o[1], unittest.equals('foo')); |
2697 } | 2697 } |
2698 | 2698 |
2699 buildUnnamed2602() { | 2699 buildUnnamed2623() { |
2700 var o = new core.List<api.VariantCall>(); | 2700 var o = new core.List<api.VariantCall>(); |
2701 o.add(buildVariantCall()); | 2701 o.add(buildVariantCall()); |
2702 o.add(buildVariantCall()); | 2702 o.add(buildVariantCall()); |
2703 return o; | 2703 return o; |
2704 } | 2704 } |
2705 | 2705 |
2706 checkUnnamed2602(core.List<api.VariantCall> o) { | 2706 checkUnnamed2623(core.List<api.VariantCall> o) { |
2707 unittest.expect(o, unittest.hasLength(2)); | 2707 unittest.expect(o, unittest.hasLength(2)); |
2708 checkVariantCall(o[0]); | 2708 checkVariantCall(o[0]); |
2709 checkVariantCall(o[1]); | 2709 checkVariantCall(o[1]); |
2710 } | 2710 } |
2711 | 2711 |
2712 buildUnnamed2603() { | 2712 buildUnnamed2624() { |
2713 var o = new core.List<core.String>(); | 2713 var o = new core.List<core.String>(); |
2714 o.add("foo"); | 2714 o.add("foo"); |
2715 o.add("foo"); | 2715 o.add("foo"); |
2716 return o; | 2716 return o; |
2717 } | 2717 } |
2718 | 2718 |
2719 checkUnnamed2603(core.List<core.String> o) { | 2719 checkUnnamed2624(core.List<core.String> o) { |
2720 unittest.expect(o, unittest.hasLength(2)); | 2720 unittest.expect(o, unittest.hasLength(2)); |
2721 unittest.expect(o[0], unittest.equals('foo')); | 2721 unittest.expect(o[0], unittest.equals('foo')); |
2722 unittest.expect(o[1], unittest.equals('foo')); | 2722 unittest.expect(o[1], unittest.equals('foo')); |
2723 } | 2723 } |
2724 | 2724 |
2725 buildUnnamed2604() { | 2725 buildUnnamed2625() { |
2726 var o = new core.List<core.Object>(); | 2726 var o = new core.List<core.Object>(); |
2727 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2727 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2728 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2728 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2729 return o; | 2729 return o; |
2730 } | 2730 } |
2731 | 2731 |
2732 checkUnnamed2604(core.List<core.Object> o) { | 2732 checkUnnamed2625(core.List<core.Object> o) { |
2733 unittest.expect(o, unittest.hasLength(2)); | 2733 unittest.expect(o, unittest.hasLength(2)); |
2734 var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLengt
h(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string
"], unittest.equals('foo')); | 2734 var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLengt
h(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string
"], unittest.equals('foo')); |
2735 var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLengt
h(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string
"], unittest.equals('foo')); | 2735 var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLengt
h(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string
"], unittest.equals('foo')); |
2736 } | 2736 } |
2737 | 2737 |
2738 buildUnnamed2605() { | 2738 buildUnnamed2626() { |
2739 var o = new core.Map<core.String, core.List<core.Object>>(); | 2739 var o = new core.Map<core.String, core.List<core.Object>>(); |
2740 o["x"] = buildUnnamed2604(); | 2740 o["x"] = buildUnnamed2625(); |
2741 o["y"] = buildUnnamed2604(); | 2741 o["y"] = buildUnnamed2625(); |
2742 return o; | 2742 return o; |
2743 } | 2743 } |
2744 | 2744 |
2745 checkUnnamed2605(core.Map<core.String, core.List<core.Object>> o) { | 2745 checkUnnamed2626(core.Map<core.String, core.List<core.Object>> o) { |
2746 unittest.expect(o, unittest.hasLength(2)); | 2746 unittest.expect(o, unittest.hasLength(2)); |
2747 checkUnnamed2604(o["x"]); | 2747 checkUnnamed2625(o["x"]); |
2748 checkUnnamed2604(o["y"]); | 2748 checkUnnamed2625(o["y"]); |
2749 } | 2749 } |
2750 | 2750 |
2751 buildUnnamed2606() { | 2751 buildUnnamed2627() { |
2752 var o = new core.List<core.String>(); | 2752 var o = new core.List<core.String>(); |
2753 o.add("foo"); | 2753 o.add("foo"); |
2754 o.add("foo"); | 2754 o.add("foo"); |
2755 return o; | 2755 return o; |
2756 } | 2756 } |
2757 | 2757 |
2758 checkUnnamed2606(core.List<core.String> o) { | 2758 checkUnnamed2627(core.List<core.String> o) { |
2759 unittest.expect(o, unittest.hasLength(2)); | 2759 unittest.expect(o, unittest.hasLength(2)); |
2760 unittest.expect(o[0], unittest.equals('foo')); | 2760 unittest.expect(o[0], unittest.equals('foo')); |
2761 unittest.expect(o[1], unittest.equals('foo')); | 2761 unittest.expect(o[1], unittest.equals('foo')); |
2762 } | 2762 } |
2763 | 2763 |
2764 core.int buildCounterVariant = 0; | 2764 core.int buildCounterVariant = 0; |
2765 buildVariant() { | 2765 buildVariant() { |
2766 var o = new api.Variant(); | 2766 var o = new api.Variant(); |
2767 buildCounterVariant++; | 2767 buildCounterVariant++; |
2768 if (buildCounterVariant < 3) { | 2768 if (buildCounterVariant < 3) { |
2769 o.alternateBases = buildUnnamed2601(); | 2769 o.alternateBases = buildUnnamed2622(); |
2770 o.calls = buildUnnamed2602(); | 2770 o.calls = buildUnnamed2623(); |
2771 o.created = "foo"; | 2771 o.created = "foo"; |
2772 o.end = "foo"; | 2772 o.end = "foo"; |
2773 o.filter = buildUnnamed2603(); | 2773 o.filter = buildUnnamed2624(); |
2774 o.id = "foo"; | 2774 o.id = "foo"; |
2775 o.info = buildUnnamed2605(); | 2775 o.info = buildUnnamed2626(); |
2776 o.names = buildUnnamed2606(); | 2776 o.names = buildUnnamed2627(); |
2777 o.quality = 42.0; | 2777 o.quality = 42.0; |
2778 o.referenceBases = "foo"; | 2778 o.referenceBases = "foo"; |
2779 o.referenceName = "foo"; | 2779 o.referenceName = "foo"; |
2780 o.start = "foo"; | 2780 o.start = "foo"; |
2781 o.variantSetId = "foo"; | 2781 o.variantSetId = "foo"; |
2782 } | 2782 } |
2783 buildCounterVariant--; | 2783 buildCounterVariant--; |
2784 return o; | 2784 return o; |
2785 } | 2785 } |
2786 | 2786 |
2787 checkVariant(api.Variant o) { | 2787 checkVariant(api.Variant o) { |
2788 buildCounterVariant++; | 2788 buildCounterVariant++; |
2789 if (buildCounterVariant < 3) { | 2789 if (buildCounterVariant < 3) { |
2790 checkUnnamed2601(o.alternateBases); | 2790 checkUnnamed2622(o.alternateBases); |
2791 checkUnnamed2602(o.calls); | 2791 checkUnnamed2623(o.calls); |
2792 unittest.expect(o.created, unittest.equals('foo')); | 2792 unittest.expect(o.created, unittest.equals('foo')); |
2793 unittest.expect(o.end, unittest.equals('foo')); | 2793 unittest.expect(o.end, unittest.equals('foo')); |
2794 checkUnnamed2603(o.filter); | 2794 checkUnnamed2624(o.filter); |
2795 unittest.expect(o.id, unittest.equals('foo')); | 2795 unittest.expect(o.id, unittest.equals('foo')); |
2796 checkUnnamed2605(o.info); | 2796 checkUnnamed2626(o.info); |
2797 checkUnnamed2606(o.names); | 2797 checkUnnamed2627(o.names); |
2798 unittest.expect(o.quality, unittest.equals(42.0)); | 2798 unittest.expect(o.quality, unittest.equals(42.0)); |
2799 unittest.expect(o.referenceBases, unittest.equals('foo')); | 2799 unittest.expect(o.referenceBases, unittest.equals('foo')); |
2800 unittest.expect(o.referenceName, unittest.equals('foo')); | 2800 unittest.expect(o.referenceName, unittest.equals('foo')); |
2801 unittest.expect(o.start, unittest.equals('foo')); | 2801 unittest.expect(o.start, unittest.equals('foo')); |
2802 unittest.expect(o.variantSetId, unittest.equals('foo')); | 2802 unittest.expect(o.variantSetId, unittest.equals('foo')); |
2803 } | 2803 } |
2804 buildCounterVariant--; | 2804 buildCounterVariant--; |
2805 } | 2805 } |
2806 | 2806 |
2807 buildUnnamed2607() { | 2807 buildUnnamed2628() { |
2808 var o = new core.List<api.ClinicalCondition>(); | 2808 var o = new core.List<api.ClinicalCondition>(); |
2809 o.add(buildClinicalCondition()); | 2809 o.add(buildClinicalCondition()); |
2810 o.add(buildClinicalCondition()); | 2810 o.add(buildClinicalCondition()); |
2811 return o; | 2811 return o; |
2812 } | 2812 } |
2813 | 2813 |
2814 checkUnnamed2607(core.List<api.ClinicalCondition> o) { | 2814 checkUnnamed2628(core.List<api.ClinicalCondition> o) { |
2815 unittest.expect(o, unittest.hasLength(2)); | 2815 unittest.expect(o, unittest.hasLength(2)); |
2816 checkClinicalCondition(o[0]); | 2816 checkClinicalCondition(o[0]); |
2817 checkClinicalCondition(o[1]); | 2817 checkClinicalCondition(o[1]); |
2818 } | 2818 } |
2819 | 2819 |
2820 buildUnnamed2608() { | 2820 buildUnnamed2629() { |
2821 var o = new core.List<core.String>(); | 2821 var o = new core.List<core.String>(); |
2822 o.add("foo"); | 2822 o.add("foo"); |
2823 o.add("foo"); | 2823 o.add("foo"); |
2824 return o; | 2824 return o; |
2825 } | 2825 } |
2826 | 2826 |
2827 checkUnnamed2608(core.List<core.String> o) { | 2827 checkUnnamed2629(core.List<core.String> o) { |
2828 unittest.expect(o, unittest.hasLength(2)); | 2828 unittest.expect(o, unittest.hasLength(2)); |
2829 unittest.expect(o[0], unittest.equals('foo')); | 2829 unittest.expect(o[0], unittest.equals('foo')); |
2830 unittest.expect(o[1], unittest.equals('foo')); | 2830 unittest.expect(o[1], unittest.equals('foo')); |
2831 } | 2831 } |
2832 | 2832 |
2833 core.int buildCounterVariantAnnotation = 0; | 2833 core.int buildCounterVariantAnnotation = 0; |
2834 buildVariantAnnotation() { | 2834 buildVariantAnnotation() { |
2835 var o = new api.VariantAnnotation(); | 2835 var o = new api.VariantAnnotation(); |
2836 buildCounterVariantAnnotation++; | 2836 buildCounterVariantAnnotation++; |
2837 if (buildCounterVariantAnnotation < 3) { | 2837 if (buildCounterVariantAnnotation < 3) { |
2838 o.alternateBases = "foo"; | 2838 o.alternateBases = "foo"; |
2839 o.clinicalSignificance = "foo"; | 2839 o.clinicalSignificance = "foo"; |
2840 o.conditions = buildUnnamed2607(); | 2840 o.conditions = buildUnnamed2628(); |
2841 o.effect = "foo"; | 2841 o.effect = "foo"; |
2842 o.geneId = "foo"; | 2842 o.geneId = "foo"; |
2843 o.transcriptIds = buildUnnamed2608(); | 2843 o.transcriptIds = buildUnnamed2629(); |
2844 o.type = "foo"; | 2844 o.type = "foo"; |
2845 } | 2845 } |
2846 buildCounterVariantAnnotation--; | 2846 buildCounterVariantAnnotation--; |
2847 return o; | 2847 return o; |
2848 } | 2848 } |
2849 | 2849 |
2850 checkVariantAnnotation(api.VariantAnnotation o) { | 2850 checkVariantAnnotation(api.VariantAnnotation o) { |
2851 buildCounterVariantAnnotation++; | 2851 buildCounterVariantAnnotation++; |
2852 if (buildCounterVariantAnnotation < 3) { | 2852 if (buildCounterVariantAnnotation < 3) { |
2853 unittest.expect(o.alternateBases, unittest.equals('foo')); | 2853 unittest.expect(o.alternateBases, unittest.equals('foo')); |
2854 unittest.expect(o.clinicalSignificance, unittest.equals('foo')); | 2854 unittest.expect(o.clinicalSignificance, unittest.equals('foo')); |
2855 checkUnnamed2607(o.conditions); | 2855 checkUnnamed2628(o.conditions); |
2856 unittest.expect(o.effect, unittest.equals('foo')); | 2856 unittest.expect(o.effect, unittest.equals('foo')); |
2857 unittest.expect(o.geneId, unittest.equals('foo')); | 2857 unittest.expect(o.geneId, unittest.equals('foo')); |
2858 checkUnnamed2608(o.transcriptIds); | 2858 checkUnnamed2629(o.transcriptIds); |
2859 unittest.expect(o.type, unittest.equals('foo')); | 2859 unittest.expect(o.type, unittest.equals('foo')); |
2860 } | 2860 } |
2861 buildCounterVariantAnnotation--; | 2861 buildCounterVariantAnnotation--; |
2862 } | 2862 } |
2863 | 2863 |
2864 buildUnnamed2609() { | 2864 buildUnnamed2630() { |
2865 var o = new core.List<core.int>(); | 2865 var o = new core.List<core.int>(); |
2866 o.add(42); | 2866 o.add(42); |
2867 o.add(42); | 2867 o.add(42); |
2868 return o; | 2868 return o; |
2869 } | 2869 } |
2870 | 2870 |
2871 checkUnnamed2609(core.List<core.int> o) { | 2871 checkUnnamed2630(core.List<core.int> o) { |
2872 unittest.expect(o, unittest.hasLength(2)); | 2872 unittest.expect(o, unittest.hasLength(2)); |
2873 unittest.expect(o[0], unittest.equals(42)); | 2873 unittest.expect(o[0], unittest.equals(42)); |
2874 unittest.expect(o[1], unittest.equals(42)); | 2874 unittest.expect(o[1], unittest.equals(42)); |
2875 } | 2875 } |
2876 | 2876 |
2877 buildUnnamed2610() { | 2877 buildUnnamed2631() { |
2878 var o = new core.List<core.double>(); | 2878 var o = new core.List<core.double>(); |
2879 o.add(42.0); | 2879 o.add(42.0); |
2880 o.add(42.0); | 2880 o.add(42.0); |
2881 return o; | 2881 return o; |
2882 } | 2882 } |
2883 | 2883 |
2884 checkUnnamed2610(core.List<core.double> o) { | 2884 checkUnnamed2631(core.List<core.double> o) { |
2885 unittest.expect(o, unittest.hasLength(2)); | 2885 unittest.expect(o, unittest.hasLength(2)); |
2886 unittest.expect(o[0], unittest.equals(42.0)); | 2886 unittest.expect(o[0], unittest.equals(42.0)); |
2887 unittest.expect(o[1], unittest.equals(42.0)); | 2887 unittest.expect(o[1], unittest.equals(42.0)); |
2888 } | 2888 } |
2889 | 2889 |
2890 buildUnnamed2611() { | 2890 buildUnnamed2632() { |
2891 var o = new core.List<core.Object>(); | 2891 var o = new core.List<core.Object>(); |
2892 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2892 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2893 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2893 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
2894 return o; | 2894 return o; |
2895 } | 2895 } |
2896 | 2896 |
2897 checkUnnamed2611(core.List<core.Object> o) { | 2897 checkUnnamed2632(core.List<core.Object> o) { |
2898 unittest.expect(o, unittest.hasLength(2)); | 2898 unittest.expect(o, unittest.hasLength(2)); |
2899 var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLengt
h(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string
"], unittest.equals('foo')); | 2899 var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLengt
h(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string
"], unittest.equals('foo')); |
2900 var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLengt
h(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string
"], unittest.equals('foo')); | 2900 var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLengt
h(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string
"], unittest.equals('foo')); |
2901 } | 2901 } |
2902 | 2902 |
2903 buildUnnamed2612() { | 2903 buildUnnamed2633() { |
2904 var o = new core.Map<core.String, core.List<core.Object>>(); | 2904 var o = new core.Map<core.String, core.List<core.Object>>(); |
2905 o["x"] = buildUnnamed2611(); | 2905 o["x"] = buildUnnamed2632(); |
2906 o["y"] = buildUnnamed2611(); | 2906 o["y"] = buildUnnamed2632(); |
2907 return o; | 2907 return o; |
2908 } | 2908 } |
2909 | 2909 |
2910 checkUnnamed2612(core.Map<core.String, core.List<core.Object>> o) { | 2910 checkUnnamed2633(core.Map<core.String, core.List<core.Object>> o) { |
2911 unittest.expect(o, unittest.hasLength(2)); | 2911 unittest.expect(o, unittest.hasLength(2)); |
2912 checkUnnamed2611(o["x"]); | 2912 checkUnnamed2632(o["x"]); |
2913 checkUnnamed2611(o["y"]); | 2913 checkUnnamed2632(o["y"]); |
2914 } | 2914 } |
2915 | 2915 |
2916 core.int buildCounterVariantCall = 0; | 2916 core.int buildCounterVariantCall = 0; |
2917 buildVariantCall() { | 2917 buildVariantCall() { |
2918 var o = new api.VariantCall(); | 2918 var o = new api.VariantCall(); |
2919 buildCounterVariantCall++; | 2919 buildCounterVariantCall++; |
2920 if (buildCounterVariantCall < 3) { | 2920 if (buildCounterVariantCall < 3) { |
2921 o.callSetId = "foo"; | 2921 o.callSetId = "foo"; |
2922 o.callSetName = "foo"; | 2922 o.callSetName = "foo"; |
2923 o.genotype = buildUnnamed2609(); | 2923 o.genotype = buildUnnamed2630(); |
2924 o.genotypeLikelihood = buildUnnamed2610(); | 2924 o.genotypeLikelihood = buildUnnamed2631(); |
2925 o.info = buildUnnamed2612(); | 2925 o.info = buildUnnamed2633(); |
2926 o.phaseset = "foo"; | 2926 o.phaseset = "foo"; |
2927 } | 2927 } |
2928 buildCounterVariantCall--; | 2928 buildCounterVariantCall--; |
2929 return o; | 2929 return o; |
2930 } | 2930 } |
2931 | 2931 |
2932 checkVariantCall(api.VariantCall o) { | 2932 checkVariantCall(api.VariantCall o) { |
2933 buildCounterVariantCall++; | 2933 buildCounterVariantCall++; |
2934 if (buildCounterVariantCall < 3) { | 2934 if (buildCounterVariantCall < 3) { |
2935 unittest.expect(o.callSetId, unittest.equals('foo')); | 2935 unittest.expect(o.callSetId, unittest.equals('foo')); |
2936 unittest.expect(o.callSetName, unittest.equals('foo')); | 2936 unittest.expect(o.callSetName, unittest.equals('foo')); |
2937 checkUnnamed2609(o.genotype); | 2937 checkUnnamed2630(o.genotype); |
2938 checkUnnamed2610(o.genotypeLikelihood); | 2938 checkUnnamed2631(o.genotypeLikelihood); |
2939 checkUnnamed2612(o.info); | 2939 checkUnnamed2633(o.info); |
2940 unittest.expect(o.phaseset, unittest.equals('foo')); | 2940 unittest.expect(o.phaseset, unittest.equals('foo')); |
2941 } | 2941 } |
2942 buildCounterVariantCall--; | 2942 buildCounterVariantCall--; |
2943 } | 2943 } |
2944 | 2944 |
2945 buildUnnamed2613() { | 2945 buildUnnamed2634() { |
2946 var o = new core.List<api.VariantSetMetadata>(); | 2946 var o = new core.List<api.VariantSetMetadata>(); |
2947 o.add(buildVariantSetMetadata()); | 2947 o.add(buildVariantSetMetadata()); |
2948 o.add(buildVariantSetMetadata()); | 2948 o.add(buildVariantSetMetadata()); |
2949 return o; | 2949 return o; |
2950 } | 2950 } |
2951 | 2951 |
2952 checkUnnamed2613(core.List<api.VariantSetMetadata> o) { | 2952 checkUnnamed2634(core.List<api.VariantSetMetadata> o) { |
2953 unittest.expect(o, unittest.hasLength(2)); | 2953 unittest.expect(o, unittest.hasLength(2)); |
2954 checkVariantSetMetadata(o[0]); | 2954 checkVariantSetMetadata(o[0]); |
2955 checkVariantSetMetadata(o[1]); | 2955 checkVariantSetMetadata(o[1]); |
2956 } | 2956 } |
2957 | 2957 |
2958 buildUnnamed2614() { | 2958 buildUnnamed2635() { |
2959 var o = new core.List<api.ReferenceBound>(); | 2959 var o = new core.List<api.ReferenceBound>(); |
2960 o.add(buildReferenceBound()); | 2960 o.add(buildReferenceBound()); |
2961 o.add(buildReferenceBound()); | 2961 o.add(buildReferenceBound()); |
2962 return o; | 2962 return o; |
2963 } | 2963 } |
2964 | 2964 |
2965 checkUnnamed2614(core.List<api.ReferenceBound> o) { | 2965 checkUnnamed2635(core.List<api.ReferenceBound> o) { |
2966 unittest.expect(o, unittest.hasLength(2)); | 2966 unittest.expect(o, unittest.hasLength(2)); |
2967 checkReferenceBound(o[0]); | 2967 checkReferenceBound(o[0]); |
2968 checkReferenceBound(o[1]); | 2968 checkReferenceBound(o[1]); |
2969 } | 2969 } |
2970 | 2970 |
2971 core.int buildCounterVariantSet = 0; | 2971 core.int buildCounterVariantSet = 0; |
2972 buildVariantSet() { | 2972 buildVariantSet() { |
2973 var o = new api.VariantSet(); | 2973 var o = new api.VariantSet(); |
2974 buildCounterVariantSet++; | 2974 buildCounterVariantSet++; |
2975 if (buildCounterVariantSet < 3) { | 2975 if (buildCounterVariantSet < 3) { |
2976 o.datasetId = "foo"; | 2976 o.datasetId = "foo"; |
2977 o.description = "foo"; | 2977 o.description = "foo"; |
2978 o.id = "foo"; | 2978 o.id = "foo"; |
2979 o.metadata = buildUnnamed2613(); | 2979 o.metadata = buildUnnamed2634(); |
2980 o.name = "foo"; | 2980 o.name = "foo"; |
2981 o.referenceBounds = buildUnnamed2614(); | 2981 o.referenceBounds = buildUnnamed2635(); |
2982 o.referenceSetId = "foo"; | 2982 o.referenceSetId = "foo"; |
2983 } | 2983 } |
2984 buildCounterVariantSet--; | 2984 buildCounterVariantSet--; |
2985 return o; | 2985 return o; |
2986 } | 2986 } |
2987 | 2987 |
2988 checkVariantSet(api.VariantSet o) { | 2988 checkVariantSet(api.VariantSet o) { |
2989 buildCounterVariantSet++; | 2989 buildCounterVariantSet++; |
2990 if (buildCounterVariantSet < 3) { | 2990 if (buildCounterVariantSet < 3) { |
2991 unittest.expect(o.datasetId, unittest.equals('foo')); | 2991 unittest.expect(o.datasetId, unittest.equals('foo')); |
2992 unittest.expect(o.description, unittest.equals('foo')); | 2992 unittest.expect(o.description, unittest.equals('foo')); |
2993 unittest.expect(o.id, unittest.equals('foo')); | 2993 unittest.expect(o.id, unittest.equals('foo')); |
2994 checkUnnamed2613(o.metadata); | 2994 checkUnnamed2634(o.metadata); |
2995 unittest.expect(o.name, unittest.equals('foo')); | 2995 unittest.expect(o.name, unittest.equals('foo')); |
2996 checkUnnamed2614(o.referenceBounds); | 2996 checkUnnamed2635(o.referenceBounds); |
2997 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 2997 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
2998 } | 2998 } |
2999 buildCounterVariantSet--; | 2999 buildCounterVariantSet--; |
3000 } | 3000 } |
3001 | 3001 |
3002 buildUnnamed2615() { | 3002 buildUnnamed2636() { |
3003 var o = new core.List<core.Object>(); | 3003 var o = new core.List<core.Object>(); |
3004 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3004 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
3005 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3005 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
3006 return o; | 3006 return o; |
3007 } | 3007 } |
3008 | 3008 |
3009 checkUnnamed2615(core.List<core.Object> o) { | 3009 checkUnnamed2636(core.List<core.Object> o) { |
3010 unittest.expect(o, unittest.hasLength(2)); | 3010 unittest.expect(o, unittest.hasLength(2)); |
3011 var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLengt
h(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string
"], unittest.equals('foo')); | 3011 var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLengt
h(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string
"], unittest.equals('foo')); |
3012 var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLengt
h(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string
"], unittest.equals('foo')); | 3012 var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLengt
h(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string
"], unittest.equals('foo')); |
3013 } | 3013 } |
3014 | 3014 |
3015 buildUnnamed2616() { | 3015 buildUnnamed2637() { |
3016 var o = new core.Map<core.String, core.List<core.Object>>(); | 3016 var o = new core.Map<core.String, core.List<core.Object>>(); |
3017 o["x"] = buildUnnamed2615(); | 3017 o["x"] = buildUnnamed2636(); |
3018 o["y"] = buildUnnamed2615(); | 3018 o["y"] = buildUnnamed2636(); |
3019 return o; | 3019 return o; |
3020 } | 3020 } |
3021 | 3021 |
3022 checkUnnamed2616(core.Map<core.String, core.List<core.Object>> o) { | 3022 checkUnnamed2637(core.Map<core.String, core.List<core.Object>> o) { |
3023 unittest.expect(o, unittest.hasLength(2)); | 3023 unittest.expect(o, unittest.hasLength(2)); |
3024 checkUnnamed2615(o["x"]); | 3024 checkUnnamed2636(o["x"]); |
3025 checkUnnamed2615(o["y"]); | 3025 checkUnnamed2636(o["y"]); |
3026 } | 3026 } |
3027 | 3027 |
3028 core.int buildCounterVariantSetMetadata = 0; | 3028 core.int buildCounterVariantSetMetadata = 0; |
3029 buildVariantSetMetadata() { | 3029 buildVariantSetMetadata() { |
3030 var o = new api.VariantSetMetadata(); | 3030 var o = new api.VariantSetMetadata(); |
3031 buildCounterVariantSetMetadata++; | 3031 buildCounterVariantSetMetadata++; |
3032 if (buildCounterVariantSetMetadata < 3) { | 3032 if (buildCounterVariantSetMetadata < 3) { |
3033 o.description = "foo"; | 3033 o.description = "foo"; |
3034 o.id = "foo"; | 3034 o.id = "foo"; |
3035 o.info = buildUnnamed2616(); | 3035 o.info = buildUnnamed2637(); |
3036 o.key = "foo"; | 3036 o.key = "foo"; |
3037 o.number = "foo"; | 3037 o.number = "foo"; |
3038 o.type = "foo"; | 3038 o.type = "foo"; |
3039 o.value = "foo"; | 3039 o.value = "foo"; |
3040 } | 3040 } |
3041 buildCounterVariantSetMetadata--; | 3041 buildCounterVariantSetMetadata--; |
3042 return o; | 3042 return o; |
3043 } | 3043 } |
3044 | 3044 |
3045 checkVariantSetMetadata(api.VariantSetMetadata o) { | 3045 checkVariantSetMetadata(api.VariantSetMetadata o) { |
3046 buildCounterVariantSetMetadata++; | 3046 buildCounterVariantSetMetadata++; |
3047 if (buildCounterVariantSetMetadata < 3) { | 3047 if (buildCounterVariantSetMetadata < 3) { |
3048 unittest.expect(o.description, unittest.equals('foo')); | 3048 unittest.expect(o.description, unittest.equals('foo')); |
3049 unittest.expect(o.id, unittest.equals('foo')); | 3049 unittest.expect(o.id, unittest.equals('foo')); |
3050 checkUnnamed2616(o.info); | 3050 checkUnnamed2637(o.info); |
3051 unittest.expect(o.key, unittest.equals('foo')); | 3051 unittest.expect(o.key, unittest.equals('foo')); |
3052 unittest.expect(o.number, unittest.equals('foo')); | 3052 unittest.expect(o.number, unittest.equals('foo')); |
3053 unittest.expect(o.type, unittest.equals('foo')); | 3053 unittest.expect(o.type, unittest.equals('foo')); |
3054 unittest.expect(o.value, unittest.equals('foo')); | 3054 unittest.expect(o.value, unittest.equals('foo')); |
3055 } | 3055 } |
3056 buildCounterVariantSetMetadata--; | 3056 buildCounterVariantSetMetadata--; |
3057 } | 3057 } |
3058 | 3058 |
3059 | 3059 |
3060 main() { | 3060 main() { |
(...skipping 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4694 }), true); | 4694 }), true); |
4695 res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((a
pi.Policy response) { | 4695 res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync1(((a
pi.Policy response) { |
4696 checkPolicy(response); | 4696 checkPolicy(response); |
4697 }))); | 4697 }))); |
4698 }); | 4698 }); |
4699 | 4699 |
4700 unittest.test("method--list", () { | 4700 unittest.test("method--list", () { |
4701 | 4701 |
4702 var mock = new HttpServerMock(); | 4702 var mock = new HttpServerMock(); |
4703 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; | 4703 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; |
| 4704 var arg_projectId = "foo"; |
4704 var arg_pageToken = "foo"; | 4705 var arg_pageToken = "foo"; |
4705 var arg_pageSize = 42; | 4706 var arg_pageSize = 42; |
4706 var arg_projectId = "foo"; | |
4707 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 4707 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
4708 var path = (req.url).path; | 4708 var path = (req.url).path; |
4709 var pathOffset = 0; | 4709 var pathOffset = 0; |
4710 var index; | 4710 var index; |
4711 var subPart; | 4711 var subPart; |
4712 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4712 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
4713 pathOffset += 1; | 4713 pathOffset += 1; |
4714 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("v1/datasets")); | 4714 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("v1/datasets")); |
4715 pathOffset += 11; | 4715 pathOffset += 11; |
4716 | 4716 |
4717 var query = (req.url).query; | 4717 var query = (req.url).query; |
4718 var queryOffset = 0; | 4718 var queryOffset = 0; |
4719 var queryMap = {}; | 4719 var queryMap = {}; |
4720 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 4720 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
4721 parseBool(n) { | 4721 parseBool(n) { |
4722 if (n == "true") return true; | 4722 if (n == "true") return true; |
4723 if (n == "false") return false; | 4723 if (n == "false") return false; |
4724 if (n == null) return null; | 4724 if (n == null) return null; |
4725 throw new core.ArgumentError("Invalid boolean: $n"); | 4725 throw new core.ArgumentError("Invalid boolean: $n"); |
4726 } | 4726 } |
4727 if (query.length > 0) { | 4727 if (query.length > 0) { |
4728 for (var part in query.split("&")) { | 4728 for (var part in query.split("&")) { |
4729 var keyvalue = part.split("="); | 4729 var keyvalue = part.split("="); |
4730 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4730 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
4731 } | 4731 } |
4732 } | 4732 } |
| 4733 unittest.expect(queryMap["projectId"].first, unittest.equals(arg_project
Id)); |
4733 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 4734 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
4734 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 4735 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
4735 unittest.expect(queryMap["projectId"].first, unittest.equals(arg_project
Id)); | |
4736 | 4736 |
4737 | 4737 |
4738 var h = { | 4738 var h = { |
4739 "content-type" : "application/json; charset=utf-8", | 4739 "content-type" : "application/json; charset=utf-8", |
4740 }; | 4740 }; |
4741 var resp = convert.JSON.encode(buildListDatasetsResponse()); | 4741 var resp = convert.JSON.encode(buildListDatasetsResponse()); |
4742 return new async.Future.value(stringResponse(200, h, resp)); | 4742 return new async.Future.value(stringResponse(200, h, resp)); |
4743 }), true); | 4743 }), true); |
4744 res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, projectId: arg_
projectId).then(unittest.expectAsync1(((api.ListDatasetsResponse response) { | 4744 res.list(projectId: arg_projectId, pageToken: arg_pageToken, pageSize: arg
_pageSize).then(unittest.expectAsync1(((api.ListDatasetsResponse response) { |
4745 checkListDatasetsResponse(response); | 4745 checkListDatasetsResponse(response); |
4746 }))); | 4746 }))); |
4747 }); | 4747 }); |
4748 | 4748 |
4749 unittest.test("method--patch", () { | 4749 unittest.test("method--patch", () { |
4750 | 4750 |
4751 var mock = new HttpServerMock(); | 4751 var mock = new HttpServerMock(); |
4752 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; | 4752 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; |
4753 var arg_request = buildDataset(); | 4753 var arg_request = buildDataset(); |
4754 var arg_datasetId = "foo"; | 4754 var arg_datasetId = "foo"; |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5048 res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) { | 5048 res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) { |
5049 checkOperation(response); | 5049 checkOperation(response); |
5050 }))); | 5050 }))); |
5051 }); | 5051 }); |
5052 | 5052 |
5053 unittest.test("method--list", () { | 5053 unittest.test("method--list", () { |
5054 | 5054 |
5055 var mock = new HttpServerMock(); | 5055 var mock = new HttpServerMock(); |
5056 api.OperationsResourceApi res = new api.GenomicsApi(mock).operations; | 5056 api.OperationsResourceApi res = new api.GenomicsApi(mock).operations; |
5057 var arg_name = "foo"; | 5057 var arg_name = "foo"; |
5058 var arg_filter = "foo"; | |
5059 var arg_pageToken = "foo"; | 5058 var arg_pageToken = "foo"; |
5060 var arg_pageSize = 42; | 5059 var arg_pageSize = 42; |
| 5060 var arg_filter = "foo"; |
5061 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 5061 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
5062 var path = (req.url).path; | 5062 var path = (req.url).path; |
5063 var pathOffset = 0; | 5063 var pathOffset = 0; |
5064 var index; | 5064 var index; |
5065 var subPart; | 5065 var subPart; |
5066 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5066 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5067 pathOffset += 1; | 5067 pathOffset += 1; |
5068 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); | 5068 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); |
5069 pathOffset += 3; | 5069 pathOffset += 3; |
5070 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; | 5070 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; |
5071 | 5071 |
5072 var query = (req.url).query; | 5072 var query = (req.url).query; |
5073 var queryOffset = 0; | 5073 var queryOffset = 0; |
5074 var queryMap = {}; | 5074 var queryMap = {}; |
5075 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 5075 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
5076 parseBool(n) { | 5076 parseBool(n) { |
5077 if (n == "true") return true; | 5077 if (n == "true") return true; |
5078 if (n == "false") return false; | 5078 if (n == "false") return false; |
5079 if (n == null) return null; | 5079 if (n == null) return null; |
5080 throw new core.ArgumentError("Invalid boolean: $n"); | 5080 throw new core.ArgumentError("Invalid boolean: $n"); |
5081 } | 5081 } |
5082 if (query.length > 0) { | 5082 if (query.length > 0) { |
5083 for (var part in query.split("&")) { | 5083 for (var part in query.split("&")) { |
5084 var keyvalue = part.split("="); | 5084 var keyvalue = part.split("="); |
5085 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5085 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5086 } | 5086 } |
5087 } | 5087 } |
5088 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | |
5089 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5088 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
5090 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 5089 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5090 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
5091 | 5091 |
5092 | 5092 |
5093 var h = { | 5093 var h = { |
5094 "content-type" : "application/json; charset=utf-8", | 5094 "content-type" : "application/json; charset=utf-8", |
5095 }; | 5095 }; |
5096 var resp = convert.JSON.encode(buildListOperationsResponse()); | 5096 var resp = convert.JSON.encode(buildListOperationsResponse()); |
5097 return new async.Future.value(stringResponse(200, h, resp)); | 5097 return new async.Future.value(stringResponse(200, h, resp)); |
5098 }), true); | 5098 }), true); |
5099 res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize:
arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response)
{ | 5099 res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filte
r: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response)
{ |
5100 checkListOperationsResponse(response); | 5100 checkListOperationsResponse(response); |
5101 }))); | 5101 }))); |
5102 }); | 5102 }); |
5103 | 5103 |
5104 }); | 5104 }); |
5105 | 5105 |
5106 | 5106 |
5107 unittest.group("resource-ReadgroupsetsResourceApi", () { | 5107 unittest.group("resource-ReadgroupsetsResourceApi", () { |
5108 unittest.test("method--delete", () { | 5108 unittest.test("method--delete", () { |
5109 | 5109 |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5403 | 5403 |
5404 }); | 5404 }); |
5405 | 5405 |
5406 | 5406 |
5407 unittest.group("resource-ReadgroupsetsCoveragebucketsResourceApi", () { | 5407 unittest.group("resource-ReadgroupsetsCoveragebucketsResourceApi", () { |
5408 unittest.test("method--list", () { | 5408 unittest.test("method--list", () { |
5409 | 5409 |
5410 var mock = new HttpServerMock(); | 5410 var mock = new HttpServerMock(); |
5411 api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock
).readgroupsets.coveragebuckets; | 5411 api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock
).readgroupsets.coveragebuckets; |
5412 var arg_readGroupSetId = "foo"; | 5412 var arg_readGroupSetId = "foo"; |
5413 var arg_targetBucketWidth = "foo"; | |
5414 var arg_referenceName = "foo"; | |
5415 var arg_end = "foo"; | 5413 var arg_end = "foo"; |
5416 var arg_pageToken = "foo"; | 5414 var arg_pageToken = "foo"; |
5417 var arg_pageSize = 42; | 5415 var arg_pageSize = 42; |
5418 var arg_start = "foo"; | 5416 var arg_start = "foo"; |
| 5417 var arg_targetBucketWidth = "foo"; |
| 5418 var arg_referenceName = "foo"; |
5419 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 5419 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
5420 var path = (req.url).path; | 5420 var path = (req.url).path; |
5421 var pathOffset = 0; | 5421 var pathOffset = 0; |
5422 var index; | 5422 var index; |
5423 var subPart; | 5423 var subPart; |
5424 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5424 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5425 pathOffset += 1; | 5425 pathOffset += 1; |
5426 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/readgroupsets/")); | 5426 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/readgroupsets/")); |
5427 pathOffset += 17; | 5427 pathOffset += 17; |
5428 index = path.indexOf("/coveragebuckets", pathOffset); | 5428 index = path.indexOf("/coveragebuckets", pathOffset); |
(...skipping 13 matching lines...) Expand all Loading... |
5442 if (n == "false") return false; | 5442 if (n == "false") return false; |
5443 if (n == null) return null; | 5443 if (n == null) return null; |
5444 throw new core.ArgumentError("Invalid boolean: $n"); | 5444 throw new core.ArgumentError("Invalid boolean: $n"); |
5445 } | 5445 } |
5446 if (query.length > 0) { | 5446 if (query.length > 0) { |
5447 for (var part in query.split("&")) { | 5447 for (var part in query.split("&")) { |
5448 var keyvalue = part.split("="); | 5448 var keyvalue = part.split("="); |
5449 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5449 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5450 } | 5450 } |
5451 } | 5451 } |
5452 unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg
_targetBucketWidth)); | |
5453 unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_ref
erenceName)); | |
5454 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); | 5452 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); |
5455 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5453 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
5456 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 5454 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
5457 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); | 5455 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); |
| 5456 unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg
_targetBucketWidth)); |
| 5457 unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_ref
erenceName)); |
5458 | 5458 |
5459 | 5459 |
5460 var h = { | 5460 var h = { |
5461 "content-type" : "application/json; charset=utf-8", | 5461 "content-type" : "application/json; charset=utf-8", |
5462 }; | 5462 }; |
5463 var resp = convert.JSON.encode(buildListCoverageBucketsResponse()); | 5463 var resp = convert.JSON.encode(buildListCoverageBucketsResponse()); |
5464 return new async.Future.value(stringResponse(200, h, resp)); | 5464 return new async.Future.value(stringResponse(200, h, resp)); |
5465 }), true); | 5465 }), true); |
5466 res.list(arg_readGroupSetId, targetBucketWidth: arg_targetBucketWidth, ref
erenceName: arg_referenceName, end: arg_end, pageToken: arg_pageToken, pageSize:
arg_pageSize, start: arg_start).then(unittest.expectAsync1(((api.ListCoverageBu
cketsResponse response) { | 5466 res.list(arg_readGroupSetId, end: arg_end, pageToken: arg_pageToken, pageS
ize: arg_pageSize, start: arg_start, targetBucketWidth: arg_targetBucketWidth, r
eferenceName: arg_referenceName).then(unittest.expectAsync1(((api.ListCoverageBu
cketsResponse response) { |
5467 checkListCoverageBucketsResponse(response); | 5467 checkListCoverageBucketsResponse(response); |
5468 }))); | 5468 }))); |
5469 }); | 5469 }); |
5470 | 5470 |
5471 }); | 5471 }); |
5472 | 5472 |
5473 | 5473 |
5474 unittest.group("resource-ReadsResourceApi", () { | 5474 unittest.group("resource-ReadsResourceApi", () { |
5475 unittest.test("method--search", () { | 5475 unittest.test("method--search", () { |
5476 | 5476 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5619 | 5619 |
5620 }); | 5620 }); |
5621 | 5621 |
5622 | 5622 |
5623 unittest.group("resource-ReferencesBasesResourceApi", () { | 5623 unittest.group("resource-ReferencesBasesResourceApi", () { |
5624 unittest.test("method--list", () { | 5624 unittest.test("method--list", () { |
5625 | 5625 |
5626 var mock = new HttpServerMock(); | 5626 var mock = new HttpServerMock(); |
5627 api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.
bases; | 5627 api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.
bases; |
5628 var arg_referenceId = "foo"; | 5628 var arg_referenceId = "foo"; |
| 5629 var arg_pageSize = 42; |
| 5630 var arg_start = "foo"; |
5629 var arg_end = "foo"; | 5631 var arg_end = "foo"; |
5630 var arg_pageToken = "foo"; | 5632 var arg_pageToken = "foo"; |
5631 var arg_pageSize = 42; | |
5632 var arg_start = "foo"; | |
5633 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 5633 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
5634 var path = (req.url).path; | 5634 var path = (req.url).path; |
5635 var pathOffset = 0; | 5635 var pathOffset = 0; |
5636 var index; | 5636 var index; |
5637 var subPart; | 5637 var subPart; |
5638 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5638 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5639 pathOffset += 1; | 5639 pathOffset += 1; |
5640 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1/references/")); | 5640 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1/references/")); |
5641 pathOffset += 14; | 5641 pathOffset += 14; |
5642 index = path.indexOf("/bases", pathOffset); | 5642 index = path.indexOf("/bases", pathOffset); |
(...skipping 13 matching lines...) Expand all Loading... |
5656 if (n == "false") return false; | 5656 if (n == "false") return false; |
5657 if (n == null) return null; | 5657 if (n == null) return null; |
5658 throw new core.ArgumentError("Invalid boolean: $n"); | 5658 throw new core.ArgumentError("Invalid boolean: $n"); |
5659 } | 5659 } |
5660 if (query.length > 0) { | 5660 if (query.length > 0) { |
5661 for (var part in query.split("&")) { | 5661 for (var part in query.split("&")) { |
5662 var keyvalue = part.split("="); | 5662 var keyvalue = part.split("="); |
5663 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5663 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5664 } | 5664 } |
5665 } | 5665 } |
| 5666 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5667 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); |
5666 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); | 5668 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); |
5667 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5669 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
5668 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
5669 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); | |
5670 | 5670 |
5671 | 5671 |
5672 var h = { | 5672 var h = { |
5673 "content-type" : "application/json; charset=utf-8", | 5673 "content-type" : "application/json; charset=utf-8", |
5674 }; | 5674 }; |
5675 var resp = convert.JSON.encode(buildListBasesResponse()); | 5675 var resp = convert.JSON.encode(buildListBasesResponse()); |
5676 return new async.Future.value(stringResponse(200, h, resp)); | 5676 return new async.Future.value(stringResponse(200, h, resp)); |
5677 }), true); | 5677 }), true); |
5678 res.list(arg_referenceId, end: arg_end, pageToken: arg_pageToken, pageSize
: arg_pageSize, start: arg_start).then(unittest.expectAsync1(((api.ListBasesResp
onse response) { | 5678 res.list(arg_referenceId, pageSize: arg_pageSize, start: arg_start, end: a
rg_end, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListBasesResp
onse response) { |
5679 checkListBasesResponse(response); | 5679 checkListBasesResponse(response); |
5680 }))); | 5680 }))); |
5681 }); | 5681 }); |
5682 | 5682 |
5683 }); | 5683 }); |
5684 | 5684 |
5685 | 5685 |
5686 unittest.group("resource-ReferencesetsResourceApi", () { | 5686 unittest.group("resource-ReferencesetsResourceApi", () { |
5687 unittest.test("method--get", () { | 5687 unittest.test("method--get", () { |
5688 | 5688 |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6415 res.search(arg_request).then(unittest.expectAsync1(((api.SearchVariantSets
Response response) { | 6415 res.search(arg_request).then(unittest.expectAsync1(((api.SearchVariantSets
Response response) { |
6416 checkSearchVariantSetsResponse(response); | 6416 checkSearchVariantSetsResponse(response); |
6417 }))); | 6417 }))); |
6418 }); | 6418 }); |
6419 | 6419 |
6420 }); | 6420 }); |
6421 | 6421 |
6422 | 6422 |
6423 } | 6423 } |
6424 | 6424 |
OLD | NEW |