OLD | NEW |
1 library googleapis.books.v1.test; | 1 library googleapis.books.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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { | 121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { |
122 buildCounterAnnotationLayerSummary++; | 122 buildCounterAnnotationLayerSummary++; |
123 if (buildCounterAnnotationLayerSummary < 3) { | 123 if (buildCounterAnnotationLayerSummary < 3) { |
124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
125 unittest.expect(o.limitType, unittest.equals('foo')); | 125 unittest.expect(o.limitType, unittest.equals('foo')); |
126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
127 } | 127 } |
128 buildCounterAnnotationLayerSummary--; | 128 buildCounterAnnotationLayerSummary--; |
129 } | 129 } |
130 | 130 |
131 buildUnnamed494() { | 131 buildUnnamed953() { |
132 var o = new core.List<core.String>(); | 132 var o = new core.List<core.String>(); |
133 o.add("foo"); | 133 o.add("foo"); |
134 o.add("foo"); | 134 o.add("foo"); |
135 return o; | 135 return o; |
136 } | 136 } |
137 | 137 |
138 checkUnnamed494(core.List<core.String> o) { | 138 checkUnnamed953(core.List<core.String> o) { |
139 unittest.expect(o, unittest.hasLength(2)); | 139 unittest.expect(o, unittest.hasLength(2)); |
140 unittest.expect(o[0], unittest.equals('foo')); | 140 unittest.expect(o[0], unittest.equals('foo')); |
141 unittest.expect(o[1], unittest.equals('foo')); | 141 unittest.expect(o[1], unittest.equals('foo')); |
142 } | 142 } |
143 | 143 |
144 core.int buildCounterAnnotation = 0; | 144 core.int buildCounterAnnotation = 0; |
145 buildAnnotation() { | 145 buildAnnotation() { |
146 var o = new api.Annotation(); | 146 var o = new api.Annotation(); |
147 buildCounterAnnotation++; | 147 buildCounterAnnotation++; |
148 if (buildCounterAnnotation < 3) { | 148 if (buildCounterAnnotation < 3) { |
149 o.afterSelectedText = "foo"; | 149 o.afterSelectedText = "foo"; |
150 o.beforeSelectedText = "foo"; | 150 o.beforeSelectedText = "foo"; |
151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); | 151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); |
152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); | 152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); |
153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); | 153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); |
154 o.data = "foo"; | 154 o.data = "foo"; |
155 o.deleted = true; | 155 o.deleted = true; |
156 o.highlightStyle = "foo"; | 156 o.highlightStyle = "foo"; |
157 o.id = "foo"; | 157 o.id = "foo"; |
158 o.kind = "foo"; | 158 o.kind = "foo"; |
159 o.layerId = "foo"; | 159 o.layerId = "foo"; |
160 o.layerSummary = buildAnnotationLayerSummary(); | 160 o.layerSummary = buildAnnotationLayerSummary(); |
161 o.pageIds = buildUnnamed494(); | 161 o.pageIds = buildUnnamed953(); |
162 o.selectedText = "foo"; | 162 o.selectedText = "foo"; |
163 o.selfLink = "foo"; | 163 o.selfLink = "foo"; |
164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
165 o.volumeId = "foo"; | 165 o.volumeId = "foo"; |
166 } | 166 } |
167 buildCounterAnnotation--; | 167 buildCounterAnnotation--; |
168 return o; | 168 return o; |
169 } | 169 } |
170 | 170 |
171 checkAnnotation(api.Annotation o) { | 171 checkAnnotation(api.Annotation o) { |
172 buildCounterAnnotation++; | 172 buildCounterAnnotation++; |
173 if (buildCounterAnnotation < 3) { | 173 if (buildCounterAnnotation < 3) { |
174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); | 174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); |
175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); | 175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); |
176 checkAnnotationClientVersionRanges(o.clientVersionRanges); | 176 checkAnnotationClientVersionRanges(o.clientVersionRanges); |
177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); | 178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); |
179 unittest.expect(o.data, unittest.equals('foo')); | 179 unittest.expect(o.data, unittest.equals('foo')); |
180 unittest.expect(o.deleted, unittest.isTrue); | 180 unittest.expect(o.deleted, unittest.isTrue); |
181 unittest.expect(o.highlightStyle, unittest.equals('foo')); | 181 unittest.expect(o.highlightStyle, unittest.equals('foo')); |
182 unittest.expect(o.id, unittest.equals('foo')); | 182 unittest.expect(o.id, unittest.equals('foo')); |
183 unittest.expect(o.kind, unittest.equals('foo')); | 183 unittest.expect(o.kind, unittest.equals('foo')); |
184 unittest.expect(o.layerId, unittest.equals('foo')); | 184 unittest.expect(o.layerId, unittest.equals('foo')); |
185 checkAnnotationLayerSummary(o.layerSummary); | 185 checkAnnotationLayerSummary(o.layerSummary); |
186 checkUnnamed494(o.pageIds); | 186 checkUnnamed953(o.pageIds); |
187 unittest.expect(o.selectedText, unittest.equals('foo')); | 187 unittest.expect(o.selectedText, unittest.equals('foo')); |
188 unittest.expect(o.selfLink, unittest.equals('foo')); | 188 unittest.expect(o.selfLink, unittest.equals('foo')); |
189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
190 unittest.expect(o.volumeId, unittest.equals('foo')); | 190 unittest.expect(o.volumeId, unittest.equals('foo')); |
191 } | 191 } |
192 buildCounterAnnotation--; | 192 buildCounterAnnotation--; |
193 } | 193 } |
194 | 194 |
195 core.int buildCounterAnnotationdata = 0; | 195 core.int buildCounterAnnotationdata = 0; |
196 buildAnnotationdata() { | 196 buildAnnotationdata() { |
(...skipping 23 matching lines...) Expand all Loading... |
220 unittest.expect(o.id, unittest.equals('foo')); | 220 unittest.expect(o.id, unittest.equals('foo')); |
221 unittest.expect(o.kind, unittest.equals('foo')); | 221 unittest.expect(o.kind, unittest.equals('foo')); |
222 unittest.expect(o.layerId, unittest.equals('foo')); | 222 unittest.expect(o.layerId, unittest.equals('foo')); |
223 unittest.expect(o.selfLink, unittest.equals('foo')); | 223 unittest.expect(o.selfLink, unittest.equals('foo')); |
224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
225 unittest.expect(o.volumeId, unittest.equals('foo')); | 225 unittest.expect(o.volumeId, unittest.equals('foo')); |
226 } | 226 } |
227 buildCounterAnnotationdata--; | 227 buildCounterAnnotationdata--; |
228 } | 228 } |
229 | 229 |
230 buildUnnamed495() { | 230 buildUnnamed954() { |
231 var o = new core.List<api.Annotation>(); | 231 var o = new core.List<api.Annotation>(); |
232 o.add(buildAnnotation()); | 232 o.add(buildAnnotation()); |
233 o.add(buildAnnotation()); | 233 o.add(buildAnnotation()); |
234 return o; | 234 return o; |
235 } | 235 } |
236 | 236 |
237 checkUnnamed495(core.List<api.Annotation> o) { | 237 checkUnnamed954(core.List<api.Annotation> o) { |
238 unittest.expect(o, unittest.hasLength(2)); | 238 unittest.expect(o, unittest.hasLength(2)); |
239 checkAnnotation(o[0]); | 239 checkAnnotation(o[0]); |
240 checkAnnotation(o[1]); | 240 checkAnnotation(o[1]); |
241 } | 241 } |
242 | 242 |
243 core.int buildCounterAnnotations = 0; | 243 core.int buildCounterAnnotations = 0; |
244 buildAnnotations() { | 244 buildAnnotations() { |
245 var o = new api.Annotations(); | 245 var o = new api.Annotations(); |
246 buildCounterAnnotations++; | 246 buildCounterAnnotations++; |
247 if (buildCounterAnnotations < 3) { | 247 if (buildCounterAnnotations < 3) { |
248 o.items = buildUnnamed495(); | 248 o.items = buildUnnamed954(); |
249 o.kind = "foo"; | 249 o.kind = "foo"; |
250 o.nextPageToken = "foo"; | 250 o.nextPageToken = "foo"; |
251 o.totalItems = 42; | 251 o.totalItems = 42; |
252 } | 252 } |
253 buildCounterAnnotations--; | 253 buildCounterAnnotations--; |
254 return o; | 254 return o; |
255 } | 255 } |
256 | 256 |
257 checkAnnotations(api.Annotations o) { | 257 checkAnnotations(api.Annotations o) { |
258 buildCounterAnnotations++; | 258 buildCounterAnnotations++; |
259 if (buildCounterAnnotations < 3) { | 259 if (buildCounterAnnotations < 3) { |
260 checkUnnamed495(o.items); | 260 checkUnnamed954(o.items); |
261 unittest.expect(o.kind, unittest.equals('foo')); | 261 unittest.expect(o.kind, unittest.equals('foo')); |
262 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 262 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
263 unittest.expect(o.totalItems, unittest.equals(42)); | 263 unittest.expect(o.totalItems, unittest.equals(42)); |
264 } | 264 } |
265 buildCounterAnnotations--; | 265 buildCounterAnnotations--; |
266 } | 266 } |
267 | 267 |
268 core.int buildCounterAnnotationsSummaryLayers = 0; | 268 core.int buildCounterAnnotationsSummaryLayers = 0; |
269 buildAnnotationsSummaryLayers() { | 269 buildAnnotationsSummaryLayers() { |
270 var o = new api.AnnotationsSummaryLayers(); | 270 var o = new api.AnnotationsSummaryLayers(); |
(...skipping 14 matching lines...) Expand all Loading... |
285 if (buildCounterAnnotationsSummaryLayers < 3) { | 285 if (buildCounterAnnotationsSummaryLayers < 3) { |
286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
287 unittest.expect(o.layerId, unittest.equals('foo')); | 287 unittest.expect(o.layerId, unittest.equals('foo')); |
288 unittest.expect(o.limitType, unittest.equals('foo')); | 288 unittest.expect(o.limitType, unittest.equals('foo')); |
289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
291 } | 291 } |
292 buildCounterAnnotationsSummaryLayers--; | 292 buildCounterAnnotationsSummaryLayers--; |
293 } | 293 } |
294 | 294 |
295 buildUnnamed496() { | 295 buildUnnamed955() { |
296 var o = new core.List<api.AnnotationsSummaryLayers>(); | 296 var o = new core.List<api.AnnotationsSummaryLayers>(); |
297 o.add(buildAnnotationsSummaryLayers()); | 297 o.add(buildAnnotationsSummaryLayers()); |
298 o.add(buildAnnotationsSummaryLayers()); | 298 o.add(buildAnnotationsSummaryLayers()); |
299 return o; | 299 return o; |
300 } | 300 } |
301 | 301 |
302 checkUnnamed496(core.List<api.AnnotationsSummaryLayers> o) { | 302 checkUnnamed955(core.List<api.AnnotationsSummaryLayers> o) { |
303 unittest.expect(o, unittest.hasLength(2)); | 303 unittest.expect(o, unittest.hasLength(2)); |
304 checkAnnotationsSummaryLayers(o[0]); | 304 checkAnnotationsSummaryLayers(o[0]); |
305 checkAnnotationsSummaryLayers(o[1]); | 305 checkAnnotationsSummaryLayers(o[1]); |
306 } | 306 } |
307 | 307 |
308 core.int buildCounterAnnotationsSummary = 0; | 308 core.int buildCounterAnnotationsSummary = 0; |
309 buildAnnotationsSummary() { | 309 buildAnnotationsSummary() { |
310 var o = new api.AnnotationsSummary(); | 310 var o = new api.AnnotationsSummary(); |
311 buildCounterAnnotationsSummary++; | 311 buildCounterAnnotationsSummary++; |
312 if (buildCounterAnnotationsSummary < 3) { | 312 if (buildCounterAnnotationsSummary < 3) { |
313 o.kind = "foo"; | 313 o.kind = "foo"; |
314 o.layers = buildUnnamed496(); | 314 o.layers = buildUnnamed955(); |
315 } | 315 } |
316 buildCounterAnnotationsSummary--; | 316 buildCounterAnnotationsSummary--; |
317 return o; | 317 return o; |
318 } | 318 } |
319 | 319 |
320 checkAnnotationsSummary(api.AnnotationsSummary o) { | 320 checkAnnotationsSummary(api.AnnotationsSummary o) { |
321 buildCounterAnnotationsSummary++; | 321 buildCounterAnnotationsSummary++; |
322 if (buildCounterAnnotationsSummary < 3) { | 322 if (buildCounterAnnotationsSummary < 3) { |
323 unittest.expect(o.kind, unittest.equals('foo')); | 323 unittest.expect(o.kind, unittest.equals('foo')); |
324 checkUnnamed496(o.layers); | 324 checkUnnamed955(o.layers); |
325 } | 325 } |
326 buildCounterAnnotationsSummary--; | 326 buildCounterAnnotationsSummary--; |
327 } | 327 } |
328 | 328 |
329 buildUnnamed497() { | 329 buildUnnamed956() { |
330 var o = new core.List<api.Annotationdata>(); | 330 var o = new core.List<api.Annotationdata>(); |
331 o.add(buildAnnotationdata()); | 331 o.add(buildAnnotationdata()); |
332 o.add(buildAnnotationdata()); | 332 o.add(buildAnnotationdata()); |
333 return o; | 333 return o; |
334 } | 334 } |
335 | 335 |
336 checkUnnamed497(core.List<api.Annotationdata> o) { | 336 checkUnnamed956(core.List<api.Annotationdata> o) { |
337 unittest.expect(o, unittest.hasLength(2)); | 337 unittest.expect(o, unittest.hasLength(2)); |
338 checkAnnotationdata(o[0]); | 338 checkAnnotationdata(o[0]); |
339 checkAnnotationdata(o[1]); | 339 checkAnnotationdata(o[1]); |
340 } | 340 } |
341 | 341 |
342 core.int buildCounterAnnotationsdata = 0; | 342 core.int buildCounterAnnotationsdata = 0; |
343 buildAnnotationsdata() { | 343 buildAnnotationsdata() { |
344 var o = new api.Annotationsdata(); | 344 var o = new api.Annotationsdata(); |
345 buildCounterAnnotationsdata++; | 345 buildCounterAnnotationsdata++; |
346 if (buildCounterAnnotationsdata < 3) { | 346 if (buildCounterAnnotationsdata < 3) { |
347 o.items = buildUnnamed497(); | 347 o.items = buildUnnamed956(); |
348 o.kind = "foo"; | 348 o.kind = "foo"; |
349 o.nextPageToken = "foo"; | 349 o.nextPageToken = "foo"; |
350 o.totalItems = 42; | 350 o.totalItems = 42; |
351 } | 351 } |
352 buildCounterAnnotationsdata--; | 352 buildCounterAnnotationsdata--; |
353 return o; | 353 return o; |
354 } | 354 } |
355 | 355 |
356 checkAnnotationsdata(api.Annotationsdata o) { | 356 checkAnnotationsdata(api.Annotationsdata o) { |
357 buildCounterAnnotationsdata++; | 357 buildCounterAnnotationsdata++; |
358 if (buildCounterAnnotationsdata < 3) { | 358 if (buildCounterAnnotationsdata < 3) { |
359 checkUnnamed497(o.items); | 359 checkUnnamed956(o.items); |
360 unittest.expect(o.kind, unittest.equals('foo')); | 360 unittest.expect(o.kind, unittest.equals('foo')); |
361 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 361 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
362 unittest.expect(o.totalItems, unittest.equals(42)); | 362 unittest.expect(o.totalItems, unittest.equals(42)); |
363 } | 363 } |
364 buildCounterAnnotationsdata--; | 364 buildCounterAnnotationsdata--; |
365 } | 365 } |
366 | 366 |
367 core.int buildCounterBooksAnnotationsRange = 0; | 367 core.int buildCounterBooksAnnotationsRange = 0; |
368 buildBooksAnnotationsRange() { | 368 buildBooksAnnotationsRange() { |
369 var o = new api.BooksAnnotationsRange(); | 369 var o = new api.BooksAnnotationsRange(); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 unittest.expect(o.kind, unittest.equals('foo')); | 463 unittest.expect(o.kind, unittest.equals('foo')); |
464 unittest.expect(o.selfLink, unittest.equals('foo')); | 464 unittest.expect(o.selfLink, unittest.equals('foo')); |
465 unittest.expect(o.title, unittest.equals('foo')); | 465 unittest.expect(o.title, unittest.equals('foo')); |
466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
467 unittest.expect(o.volumeCount, unittest.equals(42)); | 467 unittest.expect(o.volumeCount, unittest.equals(42)); |
468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
469 } | 469 } |
470 buildCounterBookshelf--; | 470 buildCounterBookshelf--; |
471 } | 471 } |
472 | 472 |
473 buildUnnamed498() { | 473 buildUnnamed957() { |
474 var o = new core.List<api.Bookshelf>(); | 474 var o = new core.List<api.Bookshelf>(); |
475 o.add(buildBookshelf()); | 475 o.add(buildBookshelf()); |
476 o.add(buildBookshelf()); | 476 o.add(buildBookshelf()); |
477 return o; | 477 return o; |
478 } | 478 } |
479 | 479 |
480 checkUnnamed498(core.List<api.Bookshelf> o) { | 480 checkUnnamed957(core.List<api.Bookshelf> o) { |
481 unittest.expect(o, unittest.hasLength(2)); | 481 unittest.expect(o, unittest.hasLength(2)); |
482 checkBookshelf(o[0]); | 482 checkBookshelf(o[0]); |
483 checkBookshelf(o[1]); | 483 checkBookshelf(o[1]); |
484 } | 484 } |
485 | 485 |
486 core.int buildCounterBookshelves = 0; | 486 core.int buildCounterBookshelves = 0; |
487 buildBookshelves() { | 487 buildBookshelves() { |
488 var o = new api.Bookshelves(); | 488 var o = new api.Bookshelves(); |
489 buildCounterBookshelves++; | 489 buildCounterBookshelves++; |
490 if (buildCounterBookshelves < 3) { | 490 if (buildCounterBookshelves < 3) { |
491 o.items = buildUnnamed498(); | 491 o.items = buildUnnamed957(); |
492 o.kind = "foo"; | 492 o.kind = "foo"; |
493 } | 493 } |
494 buildCounterBookshelves--; | 494 buildCounterBookshelves--; |
495 return o; | 495 return o; |
496 } | 496 } |
497 | 497 |
498 checkBookshelves(api.Bookshelves o) { | 498 checkBookshelves(api.Bookshelves o) { |
499 buildCounterBookshelves++; | 499 buildCounterBookshelves++; |
500 if (buildCounterBookshelves < 3) { | 500 if (buildCounterBookshelves < 3) { |
501 checkUnnamed498(o.items); | 501 checkUnnamed957(o.items); |
502 unittest.expect(o.kind, unittest.equals('foo')); | 502 unittest.expect(o.kind, unittest.equals('foo')); |
503 } | 503 } |
504 buildCounterBookshelves--; | 504 buildCounterBookshelves--; |
505 } | 505 } |
506 | 506 |
507 core.int buildCounterCategoryItems = 0; | 507 core.int buildCounterCategoryItems = 0; |
508 buildCategoryItems() { | 508 buildCategoryItems() { |
509 var o = new api.CategoryItems(); | 509 var o = new api.CategoryItems(); |
510 buildCounterCategoryItems++; | 510 buildCounterCategoryItems++; |
511 if (buildCounterCategoryItems < 3) { | 511 if (buildCounterCategoryItems < 3) { |
512 o.badgeUrl = "foo"; | 512 o.badgeUrl = "foo"; |
513 o.categoryId = "foo"; | 513 o.categoryId = "foo"; |
514 o.name = "foo"; | 514 o.name = "foo"; |
515 } | 515 } |
516 buildCounterCategoryItems--; | 516 buildCounterCategoryItems--; |
517 return o; | 517 return o; |
518 } | 518 } |
519 | 519 |
520 checkCategoryItems(api.CategoryItems o) { | 520 checkCategoryItems(api.CategoryItems o) { |
521 buildCounterCategoryItems++; | 521 buildCounterCategoryItems++; |
522 if (buildCounterCategoryItems < 3) { | 522 if (buildCounterCategoryItems < 3) { |
523 unittest.expect(o.badgeUrl, unittest.equals('foo')); | 523 unittest.expect(o.badgeUrl, unittest.equals('foo')); |
524 unittest.expect(o.categoryId, unittest.equals('foo')); | 524 unittest.expect(o.categoryId, unittest.equals('foo')); |
525 unittest.expect(o.name, unittest.equals('foo')); | 525 unittest.expect(o.name, unittest.equals('foo')); |
526 } | 526 } |
527 buildCounterCategoryItems--; | 527 buildCounterCategoryItems--; |
528 } | 528 } |
529 | 529 |
530 buildUnnamed499() { | 530 buildUnnamed958() { |
531 var o = new core.List<api.CategoryItems>(); | 531 var o = new core.List<api.CategoryItems>(); |
532 o.add(buildCategoryItems()); | 532 o.add(buildCategoryItems()); |
533 o.add(buildCategoryItems()); | 533 o.add(buildCategoryItems()); |
534 return o; | 534 return o; |
535 } | 535 } |
536 | 536 |
537 checkUnnamed499(core.List<api.CategoryItems> o) { | 537 checkUnnamed958(core.List<api.CategoryItems> o) { |
538 unittest.expect(o, unittest.hasLength(2)); | 538 unittest.expect(o, unittest.hasLength(2)); |
539 checkCategoryItems(o[0]); | 539 checkCategoryItems(o[0]); |
540 checkCategoryItems(o[1]); | 540 checkCategoryItems(o[1]); |
541 } | 541 } |
542 | 542 |
543 core.int buildCounterCategory = 0; | 543 core.int buildCounterCategory = 0; |
544 buildCategory() { | 544 buildCategory() { |
545 var o = new api.Category(); | 545 var o = new api.Category(); |
546 buildCounterCategory++; | 546 buildCounterCategory++; |
547 if (buildCounterCategory < 3) { | 547 if (buildCounterCategory < 3) { |
548 o.items = buildUnnamed499(); | 548 o.items = buildUnnamed958(); |
549 o.kind = "foo"; | 549 o.kind = "foo"; |
550 } | 550 } |
551 buildCounterCategory--; | 551 buildCounterCategory--; |
552 return o; | 552 return o; |
553 } | 553 } |
554 | 554 |
555 checkCategory(api.Category o) { | 555 checkCategory(api.Category o) { |
556 buildCounterCategory++; | 556 buildCounterCategory++; |
557 if (buildCounterCategory < 3) { | 557 if (buildCounterCategory < 3) { |
558 checkUnnamed499(o.items); | 558 checkUnnamed958(o.items); |
559 unittest.expect(o.kind, unittest.equals('foo')); | 559 unittest.expect(o.kind, unittest.equals('foo')); |
560 } | 560 } |
561 buildCounterCategory--; | 561 buildCounterCategory--; |
562 } | 562 } |
563 | 563 |
564 core.int buildCounterConcurrentAccessRestriction = 0; | 564 core.int buildCounterConcurrentAccessRestriction = 0; |
565 buildConcurrentAccessRestriction() { | 565 buildConcurrentAccessRestriction() { |
566 var o = new api.ConcurrentAccessRestriction(); | 566 var o = new api.ConcurrentAccessRestriction(); |
567 buildCounterConcurrentAccessRestriction++; | 567 buildCounterConcurrentAccessRestriction++; |
568 if (buildCounterConcurrentAccessRestriction < 3) { | 568 if (buildCounterConcurrentAccessRestriction < 3) { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 | 675 |
676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ | 676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ |
677 buildCounterDictlayerdataDictWordsDerivatives++; | 677 buildCounterDictlayerdataDictWordsDerivatives++; |
678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { | 678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { |
679 checkDictlayerdataDictWordsDerivativesSource(o.source); | 679 checkDictlayerdataDictWordsDerivativesSource(o.source); |
680 unittest.expect(o.text, unittest.equals('foo')); | 680 unittest.expect(o.text, unittest.equals('foo')); |
681 } | 681 } |
682 buildCounterDictlayerdataDictWordsDerivatives--; | 682 buildCounterDictlayerdataDictWordsDerivatives--; |
683 } | 683 } |
684 | 684 |
685 buildUnnamed500() { | 685 buildUnnamed959() { |
686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); | 686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); |
687 o.add(buildDictlayerdataDictWordsDerivatives()); | 687 o.add(buildDictlayerdataDictWordsDerivatives()); |
688 o.add(buildDictlayerdataDictWordsDerivatives()); | 688 o.add(buildDictlayerdataDictWordsDerivatives()); |
689 return o; | 689 return o; |
690 } | 690 } |
691 | 691 |
692 checkUnnamed500(core.List<api.DictlayerdataDictWordsDerivatives> o) { | 692 checkUnnamed959(core.List<api.DictlayerdataDictWordsDerivatives> o) { |
693 unittest.expect(o, unittest.hasLength(2)); | 693 unittest.expect(o, unittest.hasLength(2)); |
694 checkDictlayerdataDictWordsDerivatives(o[0]); | 694 checkDictlayerdataDictWordsDerivatives(o[0]); |
695 checkDictlayerdataDictWordsDerivatives(o[1]); | 695 checkDictlayerdataDictWordsDerivatives(o[1]); |
696 } | 696 } |
697 | 697 |
698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; | 698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; |
699 buildDictlayerdataDictWordsExamplesSource() { | 699 buildDictlayerdataDictWordsExamplesSource() { |
700 var o = new api.DictlayerdataDictWordsExamplesSource(); | 700 var o = new api.DictlayerdataDictWordsExamplesSource(); |
701 buildCounterDictlayerdataDictWordsExamplesSource++; | 701 buildCounterDictlayerdataDictWordsExamplesSource++; |
702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { | 702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
730 | 730 |
731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { | 731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { |
732 buildCounterDictlayerdataDictWordsExamples++; | 732 buildCounterDictlayerdataDictWordsExamples++; |
733 if (buildCounterDictlayerdataDictWordsExamples < 3) { | 733 if (buildCounterDictlayerdataDictWordsExamples < 3) { |
734 checkDictlayerdataDictWordsExamplesSource(o.source); | 734 checkDictlayerdataDictWordsExamplesSource(o.source); |
735 unittest.expect(o.text, unittest.equals('foo')); | 735 unittest.expect(o.text, unittest.equals('foo')); |
736 } | 736 } |
737 buildCounterDictlayerdataDictWordsExamples--; | 737 buildCounterDictlayerdataDictWordsExamples--; |
738 } | 738 } |
739 | 739 |
740 buildUnnamed501() { | 740 buildUnnamed960() { |
741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); | 741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); |
742 o.add(buildDictlayerdataDictWordsExamples()); | 742 o.add(buildDictlayerdataDictWordsExamples()); |
743 o.add(buildDictlayerdataDictWordsExamples()); | 743 o.add(buildDictlayerdataDictWordsExamples()); |
744 return o; | 744 return o; |
745 } | 745 } |
746 | 746 |
747 checkUnnamed501(core.List<api.DictlayerdataDictWordsExamples> o) { | 747 checkUnnamed960(core.List<api.DictlayerdataDictWordsExamples> o) { |
748 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
749 checkDictlayerdataDictWordsExamples(o[0]); | 749 checkDictlayerdataDictWordsExamples(o[0]); |
750 checkDictlayerdataDictWordsExamples(o[1]); | 750 checkDictlayerdataDictWordsExamples(o[1]); |
751 } | 751 } |
752 | 752 |
753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; | 753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; |
754 buildDictlayerdataDictWordsSensesConjugations() { | 754 buildDictlayerdataDictWordsSensesConjugations() { |
755 var o = new api.DictlayerdataDictWordsSensesConjugations(); | 755 var o = new api.DictlayerdataDictWordsSensesConjugations(); |
756 buildCounterDictlayerdataDictWordsSensesConjugations++; | 756 buildCounterDictlayerdataDictWordsSensesConjugations++; |
757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
758 o.type = "foo"; | 758 o.type = "foo"; |
759 o.value = "foo"; | 759 o.value = "foo"; |
760 } | 760 } |
761 buildCounterDictlayerdataDictWordsSensesConjugations--; | 761 buildCounterDictlayerdataDictWordsSensesConjugations--; |
762 return o; | 762 return o; |
763 } | 763 } |
764 | 764 |
765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { | 765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { |
766 buildCounterDictlayerdataDictWordsSensesConjugations++; | 766 buildCounterDictlayerdataDictWordsSensesConjugations++; |
767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
768 unittest.expect(o.type, unittest.equals('foo')); | 768 unittest.expect(o.type, unittest.equals('foo')); |
769 unittest.expect(o.value, unittest.equals('foo')); | 769 unittest.expect(o.value, unittest.equals('foo')); |
770 } | 770 } |
771 buildCounterDictlayerdataDictWordsSensesConjugations--; | 771 buildCounterDictlayerdataDictWordsSensesConjugations--; |
772 } | 772 } |
773 | 773 |
774 buildUnnamed502() { | 774 buildUnnamed961() { |
775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); | 775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); |
776 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 776 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
777 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 777 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
778 return o; | 778 return o; |
779 } | 779 } |
780 | 780 |
781 checkUnnamed502(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { | 781 checkUnnamed961(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { |
782 unittest.expect(o, unittest.hasLength(2)); | 782 unittest.expect(o, unittest.hasLength(2)); |
783 checkDictlayerdataDictWordsSensesConjugations(o[0]); | 783 checkDictlayerdataDictWordsSensesConjugations(o[0]); |
784 checkDictlayerdataDictWordsSensesConjugations(o[1]); | 784 checkDictlayerdataDictWordsSensesConjugations(o[1]); |
785 } | 785 } |
786 | 786 |
787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; | 787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; |
788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { | 788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { |
789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); | 789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); |
790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; | 790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; |
791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { | 791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
819 | 819 |
820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { | 820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { |
821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; | 821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; |
822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { | 822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { |
823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); | 823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); |
824 unittest.expect(o.text, unittest.equals('foo')); | 824 unittest.expect(o.text, unittest.equals('foo')); |
825 } | 825 } |
826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; | 826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; |
827 } | 827 } |
828 | 828 |
829 buildUnnamed503() { | 829 buildUnnamed962() { |
830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); | 830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); |
831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
833 return o; | 833 return o; |
834 } | 834 } |
835 | 835 |
836 checkUnnamed503(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { | 836 checkUnnamed962(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { |
837 unittest.expect(o, unittest.hasLength(2)); | 837 unittest.expect(o, unittest.hasLength(2)); |
838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); | 838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); |
839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); | 839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); |
840 } | 840 } |
841 | 841 |
842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; | 842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; |
843 buildDictlayerdataDictWordsSensesDefinitions() { | 843 buildDictlayerdataDictWordsSensesDefinitions() { |
844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); | 844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); |
845 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 845 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
847 o.definition = "foo"; | 847 o.definition = "foo"; |
848 o.examples = buildUnnamed503(); | 848 o.examples = buildUnnamed962(); |
849 } | 849 } |
850 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 850 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
851 return o; | 851 return o; |
852 } | 852 } |
853 | 853 |
854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { | 854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { |
855 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 855 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
857 unittest.expect(o.definition, unittest.equals('foo')); | 857 unittest.expect(o.definition, unittest.equals('foo')); |
858 checkUnnamed503(o.examples); | 858 checkUnnamed962(o.examples); |
859 } | 859 } |
860 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 860 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
861 } | 861 } |
862 | 862 |
863 buildUnnamed504() { | 863 buildUnnamed963() { |
864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); | 864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); |
865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
867 return o; | 867 return o; |
868 } | 868 } |
869 | 869 |
870 checkUnnamed504(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { | 870 checkUnnamed963(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { |
871 unittest.expect(o, unittest.hasLength(2)); | 871 unittest.expect(o, unittest.hasLength(2)); |
872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); | 872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); |
873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); | 873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); |
874 } | 874 } |
875 | 875 |
876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; | 876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; |
877 buildDictlayerdataDictWordsSensesSource() { | 877 buildDictlayerdataDictWordsSensesSource() { |
878 var o = new api.DictlayerdataDictWordsSensesSource(); | 878 var o = new api.DictlayerdataDictWordsSensesSource(); |
879 buildCounterDictlayerdataDictWordsSensesSource++; | 879 buildCounterDictlayerdataDictWordsSensesSource++; |
880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { | 880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 | 929 |
930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { | 930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { |
931 buildCounterDictlayerdataDictWordsSensesSynonyms++; | 931 buildCounterDictlayerdataDictWordsSensesSynonyms++; |
932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { | 932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { |
933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); | 933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); |
934 unittest.expect(o.text, unittest.equals('foo')); | 934 unittest.expect(o.text, unittest.equals('foo')); |
935 } | 935 } |
936 buildCounterDictlayerdataDictWordsSensesSynonyms--; | 936 buildCounterDictlayerdataDictWordsSensesSynonyms--; |
937 } | 937 } |
938 | 938 |
939 buildUnnamed505() { | 939 buildUnnamed964() { |
940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); | 940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); |
941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
943 return o; | 943 return o; |
944 } | 944 } |
945 | 945 |
946 checkUnnamed505(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { | 946 checkUnnamed964(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { |
947 unittest.expect(o, unittest.hasLength(2)); | 947 unittest.expect(o, unittest.hasLength(2)); |
948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); | 948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); |
949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); | 949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); |
950 } | 950 } |
951 | 951 |
952 core.int buildCounterDictlayerdataDictWordsSenses = 0; | 952 core.int buildCounterDictlayerdataDictWordsSenses = 0; |
953 buildDictlayerdataDictWordsSenses() { | 953 buildDictlayerdataDictWordsSenses() { |
954 var o = new api.DictlayerdataDictWordsSenses(); | 954 var o = new api.DictlayerdataDictWordsSenses(); |
955 buildCounterDictlayerdataDictWordsSenses++; | 955 buildCounterDictlayerdataDictWordsSenses++; |
956 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 956 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
957 o.conjugations = buildUnnamed502(); | 957 o.conjugations = buildUnnamed961(); |
958 o.definitions = buildUnnamed504(); | 958 o.definitions = buildUnnamed963(); |
959 o.partOfSpeech = "foo"; | 959 o.partOfSpeech = "foo"; |
960 o.pronunciation = "foo"; | 960 o.pronunciation = "foo"; |
961 o.pronunciationUrl = "foo"; | 961 o.pronunciationUrl = "foo"; |
962 o.source = buildDictlayerdataDictWordsSensesSource(); | 962 o.source = buildDictlayerdataDictWordsSensesSource(); |
963 o.syllabification = "foo"; | 963 o.syllabification = "foo"; |
964 o.synonyms = buildUnnamed505(); | 964 o.synonyms = buildUnnamed964(); |
965 } | 965 } |
966 buildCounterDictlayerdataDictWordsSenses--; | 966 buildCounterDictlayerdataDictWordsSenses--; |
967 return o; | 967 return o; |
968 } | 968 } |
969 | 969 |
970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { | 970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { |
971 buildCounterDictlayerdataDictWordsSenses++; | 971 buildCounterDictlayerdataDictWordsSenses++; |
972 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 972 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
973 checkUnnamed502(o.conjugations); | 973 checkUnnamed961(o.conjugations); |
974 checkUnnamed504(o.definitions); | 974 checkUnnamed963(o.definitions); |
975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); | 975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); |
976 unittest.expect(o.pronunciation, unittest.equals('foo')); | 976 unittest.expect(o.pronunciation, unittest.equals('foo')); |
977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); | 977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); |
978 checkDictlayerdataDictWordsSensesSource(o.source); | 978 checkDictlayerdataDictWordsSensesSource(o.source); |
979 unittest.expect(o.syllabification, unittest.equals('foo')); | 979 unittest.expect(o.syllabification, unittest.equals('foo')); |
980 checkUnnamed505(o.synonyms); | 980 checkUnnamed964(o.synonyms); |
981 } | 981 } |
982 buildCounterDictlayerdataDictWordsSenses--; | 982 buildCounterDictlayerdataDictWordsSenses--; |
983 } | 983 } |
984 | 984 |
985 buildUnnamed506() { | 985 buildUnnamed965() { |
986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); | 986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); |
987 o.add(buildDictlayerdataDictWordsSenses()); | 987 o.add(buildDictlayerdataDictWordsSenses()); |
988 o.add(buildDictlayerdataDictWordsSenses()); | 988 o.add(buildDictlayerdataDictWordsSenses()); |
989 return o; | 989 return o; |
990 } | 990 } |
991 | 991 |
992 checkUnnamed506(core.List<api.DictlayerdataDictWordsSenses> o) { | 992 checkUnnamed965(core.List<api.DictlayerdataDictWordsSenses> o) { |
993 unittest.expect(o, unittest.hasLength(2)); | 993 unittest.expect(o, unittest.hasLength(2)); |
994 checkDictlayerdataDictWordsSenses(o[0]); | 994 checkDictlayerdataDictWordsSenses(o[0]); |
995 checkDictlayerdataDictWordsSenses(o[1]); | 995 checkDictlayerdataDictWordsSenses(o[1]); |
996 } | 996 } |
997 | 997 |
998 core.int buildCounterDictlayerdataDictWordsSource = 0; | 998 core.int buildCounterDictlayerdataDictWordsSource = 0; |
999 buildDictlayerdataDictWordsSource() { | 999 buildDictlayerdataDictWordsSource() { |
1000 var o = new api.DictlayerdataDictWordsSource(); | 1000 var o = new api.DictlayerdataDictWordsSource(); |
1001 buildCounterDictlayerdataDictWordsSource++; | 1001 buildCounterDictlayerdataDictWordsSource++; |
1002 if (buildCounterDictlayerdataDictWordsSource < 3) { | 1002 if (buildCounterDictlayerdataDictWordsSource < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
1014 unittest.expect(o.url, unittest.equals('foo')); | 1014 unittest.expect(o.url, unittest.equals('foo')); |
1015 } | 1015 } |
1016 buildCounterDictlayerdataDictWordsSource--; | 1016 buildCounterDictlayerdataDictWordsSource--; |
1017 } | 1017 } |
1018 | 1018 |
1019 core.int buildCounterDictlayerdataDictWords = 0; | 1019 core.int buildCounterDictlayerdataDictWords = 0; |
1020 buildDictlayerdataDictWords() { | 1020 buildDictlayerdataDictWords() { |
1021 var o = new api.DictlayerdataDictWords(); | 1021 var o = new api.DictlayerdataDictWords(); |
1022 buildCounterDictlayerdataDictWords++; | 1022 buildCounterDictlayerdataDictWords++; |
1023 if (buildCounterDictlayerdataDictWords < 3) { | 1023 if (buildCounterDictlayerdataDictWords < 3) { |
1024 o.derivatives = buildUnnamed500(); | 1024 o.derivatives = buildUnnamed959(); |
1025 o.examples = buildUnnamed501(); | 1025 o.examples = buildUnnamed960(); |
1026 o.senses = buildUnnamed506(); | 1026 o.senses = buildUnnamed965(); |
1027 o.source = buildDictlayerdataDictWordsSource(); | 1027 o.source = buildDictlayerdataDictWordsSource(); |
1028 } | 1028 } |
1029 buildCounterDictlayerdataDictWords--; | 1029 buildCounterDictlayerdataDictWords--; |
1030 return o; | 1030 return o; |
1031 } | 1031 } |
1032 | 1032 |
1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { | 1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { |
1034 buildCounterDictlayerdataDictWords++; | 1034 buildCounterDictlayerdataDictWords++; |
1035 if (buildCounterDictlayerdataDictWords < 3) { | 1035 if (buildCounterDictlayerdataDictWords < 3) { |
1036 checkUnnamed500(o.derivatives); | 1036 checkUnnamed959(o.derivatives); |
1037 checkUnnamed501(o.examples); | 1037 checkUnnamed960(o.examples); |
1038 checkUnnamed506(o.senses); | 1038 checkUnnamed965(o.senses); |
1039 checkDictlayerdataDictWordsSource(o.source); | 1039 checkDictlayerdataDictWordsSource(o.source); |
1040 } | 1040 } |
1041 buildCounterDictlayerdataDictWords--; | 1041 buildCounterDictlayerdataDictWords--; |
1042 } | 1042 } |
1043 | 1043 |
1044 buildUnnamed507() { | 1044 buildUnnamed966() { |
1045 var o = new core.List<api.DictlayerdataDictWords>(); | 1045 var o = new core.List<api.DictlayerdataDictWords>(); |
1046 o.add(buildDictlayerdataDictWords()); | 1046 o.add(buildDictlayerdataDictWords()); |
1047 o.add(buildDictlayerdataDictWords()); | 1047 o.add(buildDictlayerdataDictWords()); |
1048 return o; | 1048 return o; |
1049 } | 1049 } |
1050 | 1050 |
1051 checkUnnamed507(core.List<api.DictlayerdataDictWords> o) { | 1051 checkUnnamed966(core.List<api.DictlayerdataDictWords> o) { |
1052 unittest.expect(o, unittest.hasLength(2)); | 1052 unittest.expect(o, unittest.hasLength(2)); |
1053 checkDictlayerdataDictWords(o[0]); | 1053 checkDictlayerdataDictWords(o[0]); |
1054 checkDictlayerdataDictWords(o[1]); | 1054 checkDictlayerdataDictWords(o[1]); |
1055 } | 1055 } |
1056 | 1056 |
1057 core.int buildCounterDictlayerdataDict = 0; | 1057 core.int buildCounterDictlayerdataDict = 0; |
1058 buildDictlayerdataDict() { | 1058 buildDictlayerdataDict() { |
1059 var o = new api.DictlayerdataDict(); | 1059 var o = new api.DictlayerdataDict(); |
1060 buildCounterDictlayerdataDict++; | 1060 buildCounterDictlayerdataDict++; |
1061 if (buildCounterDictlayerdataDict < 3) { | 1061 if (buildCounterDictlayerdataDict < 3) { |
1062 o.source = buildDictlayerdataDictSource(); | 1062 o.source = buildDictlayerdataDictSource(); |
1063 o.words = buildUnnamed507(); | 1063 o.words = buildUnnamed966(); |
1064 } | 1064 } |
1065 buildCounterDictlayerdataDict--; | 1065 buildCounterDictlayerdataDict--; |
1066 return o; | 1066 return o; |
1067 } | 1067 } |
1068 | 1068 |
1069 checkDictlayerdataDict(api.DictlayerdataDict o) { | 1069 checkDictlayerdataDict(api.DictlayerdataDict o) { |
1070 buildCounterDictlayerdataDict++; | 1070 buildCounterDictlayerdataDict++; |
1071 if (buildCounterDictlayerdataDict < 3) { | 1071 if (buildCounterDictlayerdataDict < 3) { |
1072 checkDictlayerdataDictSource(o.source); | 1072 checkDictlayerdataDictSource(o.source); |
1073 checkUnnamed507(o.words); | 1073 checkUnnamed966(o.words); |
1074 } | 1074 } |
1075 buildCounterDictlayerdataDict--; | 1075 buildCounterDictlayerdataDict--; |
1076 } | 1076 } |
1077 | 1077 |
1078 core.int buildCounterDictlayerdata = 0; | 1078 core.int buildCounterDictlayerdata = 0; |
1079 buildDictlayerdata() { | 1079 buildDictlayerdata() { |
1080 var o = new api.Dictlayerdata(); | 1080 var o = new api.Dictlayerdata(); |
1081 buildCounterDictlayerdata++; | 1081 buildCounterDictlayerdata++; |
1082 if (buildCounterDictlayerdata < 3) { | 1082 if (buildCounterDictlayerdata < 3) { |
1083 o.common = buildDictlayerdataCommon(); | 1083 o.common = buildDictlayerdataCommon(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); | 1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); |
1121 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1121 unittest.expect(o.imageUrl, unittest.equals('foo')); |
1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); | 1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); |
1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); | 1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); |
1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); | 1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); |
1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); | 1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); |
1126 } | 1126 } |
1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; | 1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; |
1128 } | 1128 } |
1129 | 1129 |
1130 buildUnnamed508() { | 1130 buildUnnamed967() { |
1131 var o = new core.List<api.Volume>(); | 1131 var o = new core.List<api.Volume>(); |
1132 o.add(buildVolume()); | 1132 o.add(buildVolume()); |
1133 o.add(buildVolume()); | 1133 o.add(buildVolume()); |
1134 return o; | 1134 return o; |
1135 } | 1135 } |
1136 | 1136 |
1137 checkUnnamed508(core.List<api.Volume> o) { | 1137 checkUnnamed967(core.List<api.Volume> o) { |
1138 unittest.expect(o, unittest.hasLength(2)); | 1138 unittest.expect(o, unittest.hasLength(2)); |
1139 checkVolume(o[0]); | 1139 checkVolume(o[0]); |
1140 checkVolume(o[1]); | 1140 checkVolume(o[1]); |
1141 } | 1141 } |
1142 | 1142 |
1143 core.int buildCounterDiscoveryclustersClusters = 0; | 1143 core.int buildCounterDiscoveryclustersClusters = 0; |
1144 buildDiscoveryclustersClusters() { | 1144 buildDiscoveryclustersClusters() { |
1145 var o = new api.DiscoveryclustersClusters(); | 1145 var o = new api.DiscoveryclustersClusters(); |
1146 buildCounterDiscoveryclustersClusters++; | 1146 buildCounterDiscoveryclustersClusters++; |
1147 if (buildCounterDiscoveryclustersClusters < 3) { | 1147 if (buildCounterDiscoveryclustersClusters < 3) { |
1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte
ntContainer(); | 1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte
ntContainer(); |
1149 o.subTitle = "foo"; | 1149 o.subTitle = "foo"; |
1150 o.title = "foo"; | 1150 o.title = "foo"; |
1151 o.totalVolumes = 42; | 1151 o.totalVolumes = 42; |
1152 o.uid = "foo"; | 1152 o.uid = "foo"; |
1153 o.volumes = buildUnnamed508(); | 1153 o.volumes = buildUnnamed967(); |
1154 } | 1154 } |
1155 buildCounterDiscoveryclustersClusters--; | 1155 buildCounterDiscoveryclustersClusters--; |
1156 return o; | 1156 return o; |
1157 } | 1157 } |
1158 | 1158 |
1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { | 1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { |
1160 buildCounterDiscoveryclustersClusters++; | 1160 buildCounterDiscoveryclustersClusters++; |
1161 if (buildCounterDiscoveryclustersClusters < 3) { | 1161 if (buildCounterDiscoveryclustersClusters < 3) { |
1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent
Container); | 1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent
Container); |
1163 unittest.expect(o.subTitle, unittest.equals('foo')); | 1163 unittest.expect(o.subTitle, unittest.equals('foo')); |
1164 unittest.expect(o.title, unittest.equals('foo')); | 1164 unittest.expect(o.title, unittest.equals('foo')); |
1165 unittest.expect(o.totalVolumes, unittest.equals(42)); | 1165 unittest.expect(o.totalVolumes, unittest.equals(42)); |
1166 unittest.expect(o.uid, unittest.equals('foo')); | 1166 unittest.expect(o.uid, unittest.equals('foo')); |
1167 checkUnnamed508(o.volumes); | 1167 checkUnnamed967(o.volumes); |
1168 } | 1168 } |
1169 buildCounterDiscoveryclustersClusters--; | 1169 buildCounterDiscoveryclustersClusters--; |
1170 } | 1170 } |
1171 | 1171 |
1172 buildUnnamed509() { | 1172 buildUnnamed968() { |
1173 var o = new core.List<api.DiscoveryclustersClusters>(); | 1173 var o = new core.List<api.DiscoveryclustersClusters>(); |
1174 o.add(buildDiscoveryclustersClusters()); | 1174 o.add(buildDiscoveryclustersClusters()); |
1175 o.add(buildDiscoveryclustersClusters()); | 1175 o.add(buildDiscoveryclustersClusters()); |
1176 return o; | 1176 return o; |
1177 } | 1177 } |
1178 | 1178 |
1179 checkUnnamed509(core.List<api.DiscoveryclustersClusters> o) { | 1179 checkUnnamed968(core.List<api.DiscoveryclustersClusters> o) { |
1180 unittest.expect(o, unittest.hasLength(2)); | 1180 unittest.expect(o, unittest.hasLength(2)); |
1181 checkDiscoveryclustersClusters(o[0]); | 1181 checkDiscoveryclustersClusters(o[0]); |
1182 checkDiscoveryclustersClusters(o[1]); | 1182 checkDiscoveryclustersClusters(o[1]); |
1183 } | 1183 } |
1184 | 1184 |
1185 core.int buildCounterDiscoveryclusters = 0; | 1185 core.int buildCounterDiscoveryclusters = 0; |
1186 buildDiscoveryclusters() { | 1186 buildDiscoveryclusters() { |
1187 var o = new api.Discoveryclusters(); | 1187 var o = new api.Discoveryclusters(); |
1188 buildCounterDiscoveryclusters++; | 1188 buildCounterDiscoveryclusters++; |
1189 if (buildCounterDiscoveryclusters < 3) { | 1189 if (buildCounterDiscoveryclusters < 3) { |
1190 o.clusters = buildUnnamed509(); | 1190 o.clusters = buildUnnamed968(); |
1191 o.kind = "foo"; | 1191 o.kind = "foo"; |
1192 o.totalClusters = 42; | 1192 o.totalClusters = 42; |
1193 } | 1193 } |
1194 buildCounterDiscoveryclusters--; | 1194 buildCounterDiscoveryclusters--; |
1195 return o; | 1195 return o; |
1196 } | 1196 } |
1197 | 1197 |
1198 checkDiscoveryclusters(api.Discoveryclusters o) { | 1198 checkDiscoveryclusters(api.Discoveryclusters o) { |
1199 buildCounterDiscoveryclusters++; | 1199 buildCounterDiscoveryclusters++; |
1200 if (buildCounterDiscoveryclusters < 3) { | 1200 if (buildCounterDiscoveryclusters < 3) { |
1201 checkUnnamed509(o.clusters); | 1201 checkUnnamed968(o.clusters); |
1202 unittest.expect(o.kind, unittest.equals('foo')); | 1202 unittest.expect(o.kind, unittest.equals('foo')); |
1203 unittest.expect(o.totalClusters, unittest.equals(42)); | 1203 unittest.expect(o.totalClusters, unittest.equals(42)); |
1204 } | 1204 } |
1205 buildCounterDiscoveryclusters--; | 1205 buildCounterDiscoveryclusters--; |
1206 } | 1206 } |
1207 | 1207 |
1208 core.int buildCounterDownloadAccessRestriction = 0; | 1208 core.int buildCounterDownloadAccessRestriction = 0; |
1209 buildDownloadAccessRestriction() { | 1209 buildDownloadAccessRestriction() { |
1210 var o = new api.DownloadAccessRestriction(); | 1210 var o = new api.DownloadAccessRestriction(); |
1211 buildCounterDownloadAccessRestriction++; | 1211 buildCounterDownloadAccessRestriction++; |
(...skipping 27 matching lines...) Expand all Loading... |
1239 unittest.expect(o.nonce, unittest.equals('foo')); | 1239 unittest.expect(o.nonce, unittest.equals('foo')); |
1240 unittest.expect(o.reasonCode, unittest.equals('foo')); | 1240 unittest.expect(o.reasonCode, unittest.equals('foo')); |
1241 unittest.expect(o.restricted, unittest.isTrue); | 1241 unittest.expect(o.restricted, unittest.isTrue); |
1242 unittest.expect(o.signature, unittest.equals('foo')); | 1242 unittest.expect(o.signature, unittest.equals('foo')); |
1243 unittest.expect(o.source, unittest.equals('foo')); | 1243 unittest.expect(o.source, unittest.equals('foo')); |
1244 unittest.expect(o.volumeId, unittest.equals('foo')); | 1244 unittest.expect(o.volumeId, unittest.equals('foo')); |
1245 } | 1245 } |
1246 buildCounterDownloadAccessRestriction--; | 1246 buildCounterDownloadAccessRestriction--; |
1247 } | 1247 } |
1248 | 1248 |
1249 buildUnnamed510() { | 1249 buildUnnamed969() { |
1250 var o = new core.List<api.DownloadAccessRestriction>(); | 1250 var o = new core.List<api.DownloadAccessRestriction>(); |
1251 o.add(buildDownloadAccessRestriction()); | 1251 o.add(buildDownloadAccessRestriction()); |
1252 o.add(buildDownloadAccessRestriction()); | 1252 o.add(buildDownloadAccessRestriction()); |
1253 return o; | 1253 return o; |
1254 } | 1254 } |
1255 | 1255 |
1256 checkUnnamed510(core.List<api.DownloadAccessRestriction> o) { | 1256 checkUnnamed969(core.List<api.DownloadAccessRestriction> o) { |
1257 unittest.expect(o, unittest.hasLength(2)); | 1257 unittest.expect(o, unittest.hasLength(2)); |
1258 checkDownloadAccessRestriction(o[0]); | 1258 checkDownloadAccessRestriction(o[0]); |
1259 checkDownloadAccessRestriction(o[1]); | 1259 checkDownloadAccessRestriction(o[1]); |
1260 } | 1260 } |
1261 | 1261 |
1262 core.int buildCounterDownloadAccesses = 0; | 1262 core.int buildCounterDownloadAccesses = 0; |
1263 buildDownloadAccesses() { | 1263 buildDownloadAccesses() { |
1264 var o = new api.DownloadAccesses(); | 1264 var o = new api.DownloadAccesses(); |
1265 buildCounterDownloadAccesses++; | 1265 buildCounterDownloadAccesses++; |
1266 if (buildCounterDownloadAccesses < 3) { | 1266 if (buildCounterDownloadAccesses < 3) { |
1267 o.downloadAccessList = buildUnnamed510(); | 1267 o.downloadAccessList = buildUnnamed969(); |
1268 o.kind = "foo"; | 1268 o.kind = "foo"; |
1269 } | 1269 } |
1270 buildCounterDownloadAccesses--; | 1270 buildCounterDownloadAccesses--; |
1271 return o; | 1271 return o; |
1272 } | 1272 } |
1273 | 1273 |
1274 checkDownloadAccesses(api.DownloadAccesses o) { | 1274 checkDownloadAccesses(api.DownloadAccesses o) { |
1275 buildCounterDownloadAccesses++; | 1275 buildCounterDownloadAccesses++; |
1276 if (buildCounterDownloadAccesses < 3) { | 1276 if (buildCounterDownloadAccesses < 3) { |
1277 checkUnnamed510(o.downloadAccessList); | 1277 checkUnnamed969(o.downloadAccessList); |
1278 unittest.expect(o.kind, unittest.equals('foo')); | 1278 unittest.expect(o.kind, unittest.equals('foo')); |
1279 } | 1279 } |
1280 buildCounterDownloadAccesses--; | 1280 buildCounterDownloadAccesses--; |
1281 } | 1281 } |
1282 | 1282 |
1283 core.int buildCounterGeolayerdataCommon = 0; | 1283 core.int buildCounterGeolayerdataCommon = 0; |
1284 buildGeolayerdataCommon() { | 1284 buildGeolayerdataCommon() { |
1285 var o = new api.GeolayerdataCommon(); | 1285 var o = new api.GeolayerdataCommon(); |
1286 buildCounterGeolayerdataCommon++; | 1286 buildCounterGeolayerdataCommon++; |
1287 if (buildCounterGeolayerdataCommon < 3) { | 1287 if (buildCounterGeolayerdataCommon < 3) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 | 1321 |
1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { | 1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { |
1323 buildCounterGeolayerdataGeoBoundary++; | 1323 buildCounterGeolayerdataGeoBoundary++; |
1324 if (buildCounterGeolayerdataGeoBoundary < 3) { | 1324 if (buildCounterGeolayerdataGeoBoundary < 3) { |
1325 unittest.expect(o.latitude, unittest.equals(42)); | 1325 unittest.expect(o.latitude, unittest.equals(42)); |
1326 unittest.expect(o.longitude, unittest.equals(42)); | 1326 unittest.expect(o.longitude, unittest.equals(42)); |
1327 } | 1327 } |
1328 buildCounterGeolayerdataGeoBoundary--; | 1328 buildCounterGeolayerdataGeoBoundary--; |
1329 } | 1329 } |
1330 | 1330 |
1331 buildUnnamed511() { | 1331 buildUnnamed970() { |
1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); | 1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); |
1333 o.add(buildGeolayerdataGeoBoundary()); | 1333 o.add(buildGeolayerdataGeoBoundary()); |
1334 o.add(buildGeolayerdataGeoBoundary()); | 1334 o.add(buildGeolayerdataGeoBoundary()); |
1335 return o; | 1335 return o; |
1336 } | 1336 } |
1337 | 1337 |
1338 checkUnnamed511(core.List<api.GeolayerdataGeoBoundary> o) { | 1338 checkUnnamed970(core.List<api.GeolayerdataGeoBoundary> o) { |
1339 unittest.expect(o, unittest.hasLength(2)); | 1339 unittest.expect(o, unittest.hasLength(2)); |
1340 checkGeolayerdataGeoBoundary(o[0]); | 1340 checkGeolayerdataGeoBoundary(o[0]); |
1341 checkGeolayerdataGeoBoundary(o[1]); | 1341 checkGeolayerdataGeoBoundary(o[1]); |
1342 } | 1342 } |
1343 | 1343 |
1344 buildUnnamed512() { | 1344 buildUnnamed971() { |
1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); | 1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); |
1346 o.add(buildUnnamed511()); | 1346 o.add(buildUnnamed970()); |
1347 o.add(buildUnnamed511()); | 1347 o.add(buildUnnamed970()); |
1348 return o; | 1348 return o; |
1349 } | 1349 } |
1350 | 1350 |
1351 checkUnnamed512(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { | 1351 checkUnnamed971(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { |
1352 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
1353 checkUnnamed511(o[0]); | 1353 checkUnnamed970(o[0]); |
1354 checkUnnamed511(o[1]); | 1354 checkUnnamed970(o[1]); |
1355 } | 1355 } |
1356 | 1356 |
1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; | 1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; |
1358 buildGeolayerdataGeoViewportHi() { | 1358 buildGeolayerdataGeoViewportHi() { |
1359 var o = new api.GeolayerdataGeoViewportHi(); | 1359 var o = new api.GeolayerdataGeoViewportHi(); |
1360 buildCounterGeolayerdataGeoViewportHi++; | 1360 buildCounterGeolayerdataGeoViewportHi++; |
1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { | 1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { |
1362 o.latitude = 42.0; | 1362 o.latitude = 42.0; |
1363 o.longitude = 42.0; | 1363 o.longitude = 42.0; |
1364 } | 1364 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1415 checkGeolayerdataGeoViewportLo(o.lo); | 1415 checkGeolayerdataGeoViewportLo(o.lo); |
1416 } | 1416 } |
1417 buildCounterGeolayerdataGeoViewport--; | 1417 buildCounterGeolayerdataGeoViewport--; |
1418 } | 1418 } |
1419 | 1419 |
1420 core.int buildCounterGeolayerdataGeo = 0; | 1420 core.int buildCounterGeolayerdataGeo = 0; |
1421 buildGeolayerdataGeo() { | 1421 buildGeolayerdataGeo() { |
1422 var o = new api.GeolayerdataGeo(); | 1422 var o = new api.GeolayerdataGeo(); |
1423 buildCounterGeolayerdataGeo++; | 1423 buildCounterGeolayerdataGeo++; |
1424 if (buildCounterGeolayerdataGeo < 3) { | 1424 if (buildCounterGeolayerdataGeo < 3) { |
1425 o.boundary = buildUnnamed512(); | 1425 o.boundary = buildUnnamed971(); |
1426 o.cachePolicy = "foo"; | 1426 o.cachePolicy = "foo"; |
1427 o.countryCode = "foo"; | 1427 o.countryCode = "foo"; |
1428 o.latitude = 42.0; | 1428 o.latitude = 42.0; |
1429 o.longitude = 42.0; | 1429 o.longitude = 42.0; |
1430 o.mapType = "foo"; | 1430 o.mapType = "foo"; |
1431 o.viewport = buildGeolayerdataGeoViewport(); | 1431 o.viewport = buildGeolayerdataGeoViewport(); |
1432 o.zoom = 42; | 1432 o.zoom = 42; |
1433 } | 1433 } |
1434 buildCounterGeolayerdataGeo--; | 1434 buildCounterGeolayerdataGeo--; |
1435 return o; | 1435 return o; |
1436 } | 1436 } |
1437 | 1437 |
1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { | 1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { |
1439 buildCounterGeolayerdataGeo++; | 1439 buildCounterGeolayerdataGeo++; |
1440 if (buildCounterGeolayerdataGeo < 3) { | 1440 if (buildCounterGeolayerdataGeo < 3) { |
1441 checkUnnamed512(o.boundary); | 1441 checkUnnamed971(o.boundary); |
1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); | 1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); |
1443 unittest.expect(o.countryCode, unittest.equals('foo')); | 1443 unittest.expect(o.countryCode, unittest.equals('foo')); |
1444 unittest.expect(o.latitude, unittest.equals(42.0)); | 1444 unittest.expect(o.latitude, unittest.equals(42.0)); |
1445 unittest.expect(o.longitude, unittest.equals(42.0)); | 1445 unittest.expect(o.longitude, unittest.equals(42.0)); |
1446 unittest.expect(o.mapType, unittest.equals('foo')); | 1446 unittest.expect(o.mapType, unittest.equals('foo')); |
1447 checkGeolayerdataGeoViewport(o.viewport); | 1447 checkGeolayerdataGeoViewport(o.viewport); |
1448 unittest.expect(o.zoom, unittest.equals(42)); | 1448 unittest.expect(o.zoom, unittest.equals(42)); |
1449 } | 1449 } |
1450 buildCounterGeolayerdataGeo--; | 1450 buildCounterGeolayerdataGeo--; |
1451 } | 1451 } |
(...skipping 14 matching lines...) Expand all Loading... |
1466 checkGeolayerdata(api.Geolayerdata o) { | 1466 checkGeolayerdata(api.Geolayerdata o) { |
1467 buildCounterGeolayerdata++; | 1467 buildCounterGeolayerdata++; |
1468 if (buildCounterGeolayerdata < 3) { | 1468 if (buildCounterGeolayerdata < 3) { |
1469 checkGeolayerdataCommon(o.common); | 1469 checkGeolayerdataCommon(o.common); |
1470 checkGeolayerdataGeo(o.geo); | 1470 checkGeolayerdataGeo(o.geo); |
1471 unittest.expect(o.kind, unittest.equals('foo')); | 1471 unittest.expect(o.kind, unittest.equals('foo')); |
1472 } | 1472 } |
1473 buildCounterGeolayerdata--; | 1473 buildCounterGeolayerdata--; |
1474 } | 1474 } |
1475 | 1475 |
1476 buildUnnamed513() { | 1476 buildUnnamed972() { |
1477 var o = new core.List<api.Layersummary>(); | 1477 var o = new core.List<api.Layersummary>(); |
1478 o.add(buildLayersummary()); | 1478 o.add(buildLayersummary()); |
1479 o.add(buildLayersummary()); | 1479 o.add(buildLayersummary()); |
1480 return o; | 1480 return o; |
1481 } | 1481 } |
1482 | 1482 |
1483 checkUnnamed513(core.List<api.Layersummary> o) { | 1483 checkUnnamed972(core.List<api.Layersummary> o) { |
1484 unittest.expect(o, unittest.hasLength(2)); | 1484 unittest.expect(o, unittest.hasLength(2)); |
1485 checkLayersummary(o[0]); | 1485 checkLayersummary(o[0]); |
1486 checkLayersummary(o[1]); | 1486 checkLayersummary(o[1]); |
1487 } | 1487 } |
1488 | 1488 |
1489 core.int buildCounterLayersummaries = 0; | 1489 core.int buildCounterLayersummaries = 0; |
1490 buildLayersummaries() { | 1490 buildLayersummaries() { |
1491 var o = new api.Layersummaries(); | 1491 var o = new api.Layersummaries(); |
1492 buildCounterLayersummaries++; | 1492 buildCounterLayersummaries++; |
1493 if (buildCounterLayersummaries < 3) { | 1493 if (buildCounterLayersummaries < 3) { |
1494 o.items = buildUnnamed513(); | 1494 o.items = buildUnnamed972(); |
1495 o.kind = "foo"; | 1495 o.kind = "foo"; |
1496 o.totalItems = 42; | 1496 o.totalItems = 42; |
1497 } | 1497 } |
1498 buildCounterLayersummaries--; | 1498 buildCounterLayersummaries--; |
1499 return o; | 1499 return o; |
1500 } | 1500 } |
1501 | 1501 |
1502 checkLayersummaries(api.Layersummaries o) { | 1502 checkLayersummaries(api.Layersummaries o) { |
1503 buildCounterLayersummaries++; | 1503 buildCounterLayersummaries++; |
1504 if (buildCounterLayersummaries < 3) { | 1504 if (buildCounterLayersummaries < 3) { |
1505 checkUnnamed513(o.items); | 1505 checkUnnamed972(o.items); |
1506 unittest.expect(o.kind, unittest.equals('foo')); | 1506 unittest.expect(o.kind, unittest.equals('foo')); |
1507 unittest.expect(o.totalItems, unittest.equals(42)); | 1507 unittest.expect(o.totalItems, unittest.equals(42)); |
1508 } | 1508 } |
1509 buildCounterLayersummaries--; | 1509 buildCounterLayersummaries--; |
1510 } | 1510 } |
1511 | 1511 |
1512 buildUnnamed514() { | 1512 buildUnnamed973() { |
1513 var o = new core.List<core.String>(); | 1513 var o = new core.List<core.String>(); |
1514 o.add("foo"); | 1514 o.add("foo"); |
1515 o.add("foo"); | 1515 o.add("foo"); |
1516 return o; | 1516 return o; |
1517 } | 1517 } |
1518 | 1518 |
1519 checkUnnamed514(core.List<core.String> o) { | 1519 checkUnnamed973(core.List<core.String> o) { |
1520 unittest.expect(o, unittest.hasLength(2)); | 1520 unittest.expect(o, unittest.hasLength(2)); |
1521 unittest.expect(o[0], unittest.equals('foo')); | 1521 unittest.expect(o[0], unittest.equals('foo')); |
1522 unittest.expect(o[1], unittest.equals('foo')); | 1522 unittest.expect(o[1], unittest.equals('foo')); |
1523 } | 1523 } |
1524 | 1524 |
1525 core.int buildCounterLayersummary = 0; | 1525 core.int buildCounterLayersummary = 0; |
1526 buildLayersummary() { | 1526 buildLayersummary() { |
1527 var o = new api.Layersummary(); | 1527 var o = new api.Layersummary(); |
1528 buildCounterLayersummary++; | 1528 buildCounterLayersummary++; |
1529 if (buildCounterLayersummary < 3) { | 1529 if (buildCounterLayersummary < 3) { |
1530 o.annotationCount = 42; | 1530 o.annotationCount = 42; |
1531 o.annotationTypes = buildUnnamed514(); | 1531 o.annotationTypes = buildUnnamed973(); |
1532 o.annotationsDataLink = "foo"; | 1532 o.annotationsDataLink = "foo"; |
1533 o.annotationsLink = "foo"; | 1533 o.annotationsLink = "foo"; |
1534 o.contentVersion = "foo"; | 1534 o.contentVersion = "foo"; |
1535 o.dataCount = 42; | 1535 o.dataCount = 42; |
1536 o.id = "foo"; | 1536 o.id = "foo"; |
1537 o.kind = "foo"; | 1537 o.kind = "foo"; |
1538 o.layerId = "foo"; | 1538 o.layerId = "foo"; |
1539 o.selfLink = "foo"; | 1539 o.selfLink = "foo"; |
1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
1541 o.volumeAnnotationsVersion = "foo"; | 1541 o.volumeAnnotationsVersion = "foo"; |
1542 o.volumeId = "foo"; | 1542 o.volumeId = "foo"; |
1543 } | 1543 } |
1544 buildCounterLayersummary--; | 1544 buildCounterLayersummary--; |
1545 return o; | 1545 return o; |
1546 } | 1546 } |
1547 | 1547 |
1548 checkLayersummary(api.Layersummary o) { | 1548 checkLayersummary(api.Layersummary o) { |
1549 buildCounterLayersummary++; | 1549 buildCounterLayersummary++; |
1550 if (buildCounterLayersummary < 3) { | 1550 if (buildCounterLayersummary < 3) { |
1551 unittest.expect(o.annotationCount, unittest.equals(42)); | 1551 unittest.expect(o.annotationCount, unittest.equals(42)); |
1552 checkUnnamed514(o.annotationTypes); | 1552 checkUnnamed973(o.annotationTypes); |
1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); | 1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); |
1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); | 1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); |
1555 unittest.expect(o.contentVersion, unittest.equals('foo')); | 1555 unittest.expect(o.contentVersion, unittest.equals('foo')); |
1556 unittest.expect(o.dataCount, unittest.equals(42)); | 1556 unittest.expect(o.dataCount, unittest.equals(42)); |
1557 unittest.expect(o.id, unittest.equals('foo')); | 1557 unittest.expect(o.id, unittest.equals('foo')); |
1558 unittest.expect(o.kind, unittest.equals('foo')); | 1558 unittest.expect(o.kind, unittest.equals('foo')); |
1559 unittest.expect(o.layerId, unittest.equals('foo')); | 1559 unittest.expect(o.layerId, unittest.equals('foo')); |
1560 unittest.expect(o.selfLink, unittest.equals('foo')); | 1560 unittest.expect(o.selfLink, unittest.equals('foo')); |
1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
(...skipping 22 matching lines...) Expand all Loading... |
1585 if (buildCounterMetadataItems < 3) { | 1585 if (buildCounterMetadataItems < 3) { |
1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); | 1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); |
1588 unittest.expect(o.language, unittest.equals('foo')); | 1588 unittest.expect(o.language, unittest.equals('foo')); |
1589 unittest.expect(o.size, unittest.equals('foo')); | 1589 unittest.expect(o.size, unittest.equals('foo')); |
1590 unittest.expect(o.version, unittest.equals('foo')); | 1590 unittest.expect(o.version, unittest.equals('foo')); |
1591 } | 1591 } |
1592 buildCounterMetadataItems--; | 1592 buildCounterMetadataItems--; |
1593 } | 1593 } |
1594 | 1594 |
1595 buildUnnamed515() { | 1595 buildUnnamed974() { |
1596 var o = new core.List<api.MetadataItems>(); | 1596 var o = new core.List<api.MetadataItems>(); |
1597 o.add(buildMetadataItems()); | 1597 o.add(buildMetadataItems()); |
1598 o.add(buildMetadataItems()); | 1598 o.add(buildMetadataItems()); |
1599 return o; | 1599 return o; |
1600 } | 1600 } |
1601 | 1601 |
1602 checkUnnamed515(core.List<api.MetadataItems> o) { | 1602 checkUnnamed974(core.List<api.MetadataItems> o) { |
1603 unittest.expect(o, unittest.hasLength(2)); | 1603 unittest.expect(o, unittest.hasLength(2)); |
1604 checkMetadataItems(o[0]); | 1604 checkMetadataItems(o[0]); |
1605 checkMetadataItems(o[1]); | 1605 checkMetadataItems(o[1]); |
1606 } | 1606 } |
1607 | 1607 |
1608 core.int buildCounterMetadata = 0; | 1608 core.int buildCounterMetadata = 0; |
1609 buildMetadata() { | 1609 buildMetadata() { |
1610 var o = new api.Metadata(); | 1610 var o = new api.Metadata(); |
1611 buildCounterMetadata++; | 1611 buildCounterMetadata++; |
1612 if (buildCounterMetadata < 3) { | 1612 if (buildCounterMetadata < 3) { |
1613 o.items = buildUnnamed515(); | 1613 o.items = buildUnnamed974(); |
1614 o.kind = "foo"; | 1614 o.kind = "foo"; |
1615 } | 1615 } |
1616 buildCounterMetadata--; | 1616 buildCounterMetadata--; |
1617 return o; | 1617 return o; |
1618 } | 1618 } |
1619 | 1619 |
1620 checkMetadata(api.Metadata o) { | 1620 checkMetadata(api.Metadata o) { |
1621 buildCounterMetadata++; | 1621 buildCounterMetadata++; |
1622 if (buildCounterMetadata < 3) { | 1622 if (buildCounterMetadata < 3) { |
1623 checkUnnamed515(o.items); | 1623 checkUnnamed974(o.items); |
1624 unittest.expect(o.kind, unittest.equals('foo')); | 1624 unittest.expect(o.kind, unittest.equals('foo')); |
1625 } | 1625 } |
1626 buildCounterMetadata--; | 1626 buildCounterMetadata--; |
1627 } | 1627 } |
1628 | 1628 |
1629 buildUnnamed516() { | 1629 buildUnnamed975() { |
1630 var o = new core.List<core.String>(); | 1630 var o = new core.List<core.String>(); |
1631 o.add("foo"); | 1631 o.add("foo"); |
1632 o.add("foo"); | 1632 o.add("foo"); |
1633 return o; | 1633 return o; |
1634 } | 1634 } |
1635 | 1635 |
1636 checkUnnamed516(core.List<core.String> o) { | 1636 checkUnnamed975(core.List<core.String> o) { |
1637 unittest.expect(o, unittest.hasLength(2)); | 1637 unittest.expect(o, unittest.hasLength(2)); |
1638 unittest.expect(o[0], unittest.equals('foo')); | 1638 unittest.expect(o[0], unittest.equals('foo')); |
1639 unittest.expect(o[1], unittest.equals('foo')); | 1639 unittest.expect(o[1], unittest.equals('foo')); |
1640 } | 1640 } |
1641 | 1641 |
1642 core.int buildCounterNotification = 0; | 1642 core.int buildCounterNotification = 0; |
1643 buildNotification() { | 1643 buildNotification() { |
1644 var o = new api.Notification(); | 1644 var o = new api.Notification(); |
1645 buildCounterNotification++; | 1645 buildCounterNotification++; |
1646 if (buildCounterNotification < 3) { | 1646 if (buildCounterNotification < 3) { |
1647 o.body = "foo"; | 1647 o.body = "foo"; |
1648 o.crmExperimentIds = buildUnnamed516(); | 1648 o.crmExperimentIds = buildUnnamed975(); |
1649 o.docId = "foo"; | 1649 o.docId = "foo"; |
1650 o.docType = "foo"; | 1650 o.docType = "foo"; |
1651 o.dontShowNotification = true; | 1651 o.dontShowNotification = true; |
1652 o.iconUrl = "foo"; | 1652 o.iconUrl = "foo"; |
1653 o.kind = "foo"; | 1653 o.kind = "foo"; |
1654 o.notificationType = "foo"; | 1654 o.notificationType = "foo"; |
1655 o.pcampaignId = "foo"; | 1655 o.pcampaignId = "foo"; |
1656 o.reason = "foo"; | 1656 o.reason = "foo"; |
1657 o.showNotificationSettingsAction = true; | 1657 o.showNotificationSettingsAction = true; |
1658 o.targetUrl = "foo"; | 1658 o.targetUrl = "foo"; |
1659 o.title = "foo"; | 1659 o.title = "foo"; |
1660 } | 1660 } |
1661 buildCounterNotification--; | 1661 buildCounterNotification--; |
1662 return o; | 1662 return o; |
1663 } | 1663 } |
1664 | 1664 |
1665 checkNotification(api.Notification o) { | 1665 checkNotification(api.Notification o) { |
1666 buildCounterNotification++; | 1666 buildCounterNotification++; |
1667 if (buildCounterNotification < 3) { | 1667 if (buildCounterNotification < 3) { |
1668 unittest.expect(o.body, unittest.equals('foo')); | 1668 unittest.expect(o.body, unittest.equals('foo')); |
1669 checkUnnamed516(o.crmExperimentIds); | 1669 checkUnnamed975(o.crmExperimentIds); |
1670 unittest.expect(o.docId, unittest.equals('foo')); | 1670 unittest.expect(o.docId, unittest.equals('foo')); |
1671 unittest.expect(o.docType, unittest.equals('foo')); | 1671 unittest.expect(o.docType, unittest.equals('foo')); |
1672 unittest.expect(o.dontShowNotification, unittest.isTrue); | 1672 unittest.expect(o.dontShowNotification, unittest.isTrue); |
1673 unittest.expect(o.iconUrl, unittest.equals('foo')); | 1673 unittest.expect(o.iconUrl, unittest.equals('foo')); |
1674 unittest.expect(o.kind, unittest.equals('foo')); | 1674 unittest.expect(o.kind, unittest.equals('foo')); |
1675 unittest.expect(o.notificationType, unittest.equals('foo')); | 1675 unittest.expect(o.notificationType, unittest.equals('foo')); |
1676 unittest.expect(o.pcampaignId, unittest.equals('foo')); | 1676 unittest.expect(o.pcampaignId, unittest.equals('foo')); |
1677 unittest.expect(o.reason, unittest.equals('foo')); | 1677 unittest.expect(o.reason, unittest.equals('foo')); |
1678 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); | 1678 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); |
1679 unittest.expect(o.targetUrl, unittest.equals('foo')); | 1679 unittest.expect(o.targetUrl, unittest.equals('foo')); |
(...skipping 24 matching lines...) Expand all Loading... |
1704 unittest.expect(o.author, unittest.equals('foo')); | 1704 unittest.expect(o.author, unittest.equals('foo')); |
1705 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 1705 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
1706 unittest.expect(o.coverUrl, unittest.equals('foo')); | 1706 unittest.expect(o.coverUrl, unittest.equals('foo')); |
1707 unittest.expect(o.description, unittest.equals('foo')); | 1707 unittest.expect(o.description, unittest.equals('foo')); |
1708 unittest.expect(o.title, unittest.equals('foo')); | 1708 unittest.expect(o.title, unittest.equals('foo')); |
1709 unittest.expect(o.volumeId, unittest.equals('foo')); | 1709 unittest.expect(o.volumeId, unittest.equals('foo')); |
1710 } | 1710 } |
1711 buildCounterOffersItemsItems--; | 1711 buildCounterOffersItemsItems--; |
1712 } | 1712 } |
1713 | 1713 |
1714 buildUnnamed517() { | 1714 buildUnnamed976() { |
1715 var o = new core.List<api.OffersItemsItems>(); | 1715 var o = new core.List<api.OffersItemsItems>(); |
1716 o.add(buildOffersItemsItems()); | 1716 o.add(buildOffersItemsItems()); |
1717 o.add(buildOffersItemsItems()); | 1717 o.add(buildOffersItemsItems()); |
1718 return o; | 1718 return o; |
1719 } | 1719 } |
1720 | 1720 |
1721 checkUnnamed517(core.List<api.OffersItemsItems> o) { | 1721 checkUnnamed976(core.List<api.OffersItemsItems> o) { |
1722 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
1723 checkOffersItemsItems(o[0]); | 1723 checkOffersItemsItems(o[0]); |
1724 checkOffersItemsItems(o[1]); | 1724 checkOffersItemsItems(o[1]); |
1725 } | 1725 } |
1726 | 1726 |
1727 core.int buildCounterOffersItems = 0; | 1727 core.int buildCounterOffersItems = 0; |
1728 buildOffersItems() { | 1728 buildOffersItems() { |
1729 var o = new api.OffersItems(); | 1729 var o = new api.OffersItems(); |
1730 buildCounterOffersItems++; | 1730 buildCounterOffersItems++; |
1731 if (buildCounterOffersItems < 3) { | 1731 if (buildCounterOffersItems < 3) { |
1732 o.artUrl = "foo"; | 1732 o.artUrl = "foo"; |
1733 o.gservicesKey = "foo"; | 1733 o.gservicesKey = "foo"; |
1734 o.id = "foo"; | 1734 o.id = "foo"; |
1735 o.items = buildUnnamed517(); | 1735 o.items = buildUnnamed976(); |
1736 } | 1736 } |
1737 buildCounterOffersItems--; | 1737 buildCounterOffersItems--; |
1738 return o; | 1738 return o; |
1739 } | 1739 } |
1740 | 1740 |
1741 checkOffersItems(api.OffersItems o) { | 1741 checkOffersItems(api.OffersItems o) { |
1742 buildCounterOffersItems++; | 1742 buildCounterOffersItems++; |
1743 if (buildCounterOffersItems < 3) { | 1743 if (buildCounterOffersItems < 3) { |
1744 unittest.expect(o.artUrl, unittest.equals('foo')); | 1744 unittest.expect(o.artUrl, unittest.equals('foo')); |
1745 unittest.expect(o.gservicesKey, unittest.equals('foo')); | 1745 unittest.expect(o.gservicesKey, unittest.equals('foo')); |
1746 unittest.expect(o.id, unittest.equals('foo')); | 1746 unittest.expect(o.id, unittest.equals('foo')); |
1747 checkUnnamed517(o.items); | 1747 checkUnnamed976(o.items); |
1748 } | 1748 } |
1749 buildCounterOffersItems--; | 1749 buildCounterOffersItems--; |
1750 } | 1750 } |
1751 | 1751 |
1752 buildUnnamed518() { | 1752 buildUnnamed977() { |
1753 var o = new core.List<api.OffersItems>(); | 1753 var o = new core.List<api.OffersItems>(); |
1754 o.add(buildOffersItems()); | 1754 o.add(buildOffersItems()); |
1755 o.add(buildOffersItems()); | 1755 o.add(buildOffersItems()); |
1756 return o; | 1756 return o; |
1757 } | 1757 } |
1758 | 1758 |
1759 checkUnnamed518(core.List<api.OffersItems> o) { | 1759 checkUnnamed977(core.List<api.OffersItems> o) { |
1760 unittest.expect(o, unittest.hasLength(2)); | 1760 unittest.expect(o, unittest.hasLength(2)); |
1761 checkOffersItems(o[0]); | 1761 checkOffersItems(o[0]); |
1762 checkOffersItems(o[1]); | 1762 checkOffersItems(o[1]); |
1763 } | 1763 } |
1764 | 1764 |
1765 core.int buildCounterOffers = 0; | 1765 core.int buildCounterOffers = 0; |
1766 buildOffers() { | 1766 buildOffers() { |
1767 var o = new api.Offers(); | 1767 var o = new api.Offers(); |
1768 buildCounterOffers++; | 1768 buildCounterOffers++; |
1769 if (buildCounterOffers < 3) { | 1769 if (buildCounterOffers < 3) { |
1770 o.items = buildUnnamed518(); | 1770 o.items = buildUnnamed977(); |
1771 o.kind = "foo"; | 1771 o.kind = "foo"; |
1772 } | 1772 } |
1773 buildCounterOffers--; | 1773 buildCounterOffers--; |
1774 return o; | 1774 return o; |
1775 } | 1775 } |
1776 | 1776 |
1777 checkOffers(api.Offers o) { | 1777 checkOffers(api.Offers o) { |
1778 buildCounterOffers++; | 1778 buildCounterOffers++; |
1779 if (buildCounterOffers < 3) { | 1779 if (buildCounterOffers < 3) { |
1780 checkUnnamed518(o.items); | 1780 checkUnnamed977(o.items); |
1781 unittest.expect(o.kind, unittest.equals('foo')); | 1781 unittest.expect(o.kind, unittest.equals('foo')); |
1782 } | 1782 } |
1783 buildCounterOffers--; | 1783 buildCounterOffers--; |
1784 } | 1784 } |
1785 | 1785 |
1786 core.int buildCounterReadingPosition = 0; | 1786 core.int buildCounterReadingPosition = 0; |
1787 buildReadingPosition() { | 1787 buildReadingPosition() { |
1788 var o = new api.ReadingPosition(); | 1788 var o = new api.ReadingPosition(); |
1789 buildCounterReadingPosition++; | 1789 buildCounterReadingPosition++; |
1790 if (buildCounterReadingPosition < 3) { | 1790 if (buildCounterReadingPosition < 3) { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 if (buildCounterSeriesSeries < 3) { | 1936 if (buildCounterSeriesSeries < 3) { |
1937 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); | 1937 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); |
1938 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1938 unittest.expect(o.imageUrl, unittest.equals('foo')); |
1939 unittest.expect(o.seriesId, unittest.equals('foo')); | 1939 unittest.expect(o.seriesId, unittest.equals('foo')); |
1940 unittest.expect(o.seriesType, unittest.equals('foo')); | 1940 unittest.expect(o.seriesType, unittest.equals('foo')); |
1941 unittest.expect(o.title, unittest.equals('foo')); | 1941 unittest.expect(o.title, unittest.equals('foo')); |
1942 } | 1942 } |
1943 buildCounterSeriesSeries--; | 1943 buildCounterSeriesSeries--; |
1944 } | 1944 } |
1945 | 1945 |
1946 buildUnnamed519() { | 1946 buildUnnamed978() { |
1947 var o = new core.List<api.SeriesSeries>(); | 1947 var o = new core.List<api.SeriesSeries>(); |
1948 o.add(buildSeriesSeries()); | 1948 o.add(buildSeriesSeries()); |
1949 o.add(buildSeriesSeries()); | 1949 o.add(buildSeriesSeries()); |
1950 return o; | 1950 return o; |
1951 } | 1951 } |
1952 | 1952 |
1953 checkUnnamed519(core.List<api.SeriesSeries> o) { | 1953 checkUnnamed978(core.List<api.SeriesSeries> o) { |
1954 unittest.expect(o, unittest.hasLength(2)); | 1954 unittest.expect(o, unittest.hasLength(2)); |
1955 checkSeriesSeries(o[0]); | 1955 checkSeriesSeries(o[0]); |
1956 checkSeriesSeries(o[1]); | 1956 checkSeriesSeries(o[1]); |
1957 } | 1957 } |
1958 | 1958 |
1959 core.int buildCounterSeries = 0; | 1959 core.int buildCounterSeries = 0; |
1960 buildSeries() { | 1960 buildSeries() { |
1961 var o = new api.Series(); | 1961 var o = new api.Series(); |
1962 buildCounterSeries++; | 1962 buildCounterSeries++; |
1963 if (buildCounterSeries < 3) { | 1963 if (buildCounterSeries < 3) { |
1964 o.kind = "foo"; | 1964 o.kind = "foo"; |
1965 o.series = buildUnnamed519(); | 1965 o.series = buildUnnamed978(); |
1966 } | 1966 } |
1967 buildCounterSeries--; | 1967 buildCounterSeries--; |
1968 return o; | 1968 return o; |
1969 } | 1969 } |
1970 | 1970 |
1971 checkSeries(api.Series o) { | 1971 checkSeries(api.Series o) { |
1972 buildCounterSeries++; | 1972 buildCounterSeries++; |
1973 if (buildCounterSeries < 3) { | 1973 if (buildCounterSeries < 3) { |
1974 unittest.expect(o.kind, unittest.equals('foo')); | 1974 unittest.expect(o.kind, unittest.equals('foo')); |
1975 checkUnnamed519(o.series); | 1975 checkUnnamed978(o.series); |
1976 } | 1976 } |
1977 buildCounterSeries--; | 1977 buildCounterSeries--; |
1978 } | 1978 } |
1979 | 1979 |
1980 buildUnnamed520() { | 1980 buildUnnamed979() { |
1981 var o = new core.List<api.Volume>(); | 1981 var o = new core.List<api.Volume>(); |
1982 o.add(buildVolume()); | 1982 o.add(buildVolume()); |
1983 o.add(buildVolume()); | 1983 o.add(buildVolume()); |
1984 return o; | 1984 return o; |
1985 } | 1985 } |
1986 | 1986 |
1987 checkUnnamed520(core.List<api.Volume> o) { | 1987 checkUnnamed979(core.List<api.Volume> o) { |
1988 unittest.expect(o, unittest.hasLength(2)); | 1988 unittest.expect(o, unittest.hasLength(2)); |
1989 checkVolume(o[0]); | 1989 checkVolume(o[0]); |
1990 checkVolume(o[1]); | 1990 checkVolume(o[1]); |
1991 } | 1991 } |
1992 | 1992 |
1993 core.int buildCounterSeriesmembership = 0; | 1993 core.int buildCounterSeriesmembership = 0; |
1994 buildSeriesmembership() { | 1994 buildSeriesmembership() { |
1995 var o = new api.Seriesmembership(); | 1995 var o = new api.Seriesmembership(); |
1996 buildCounterSeriesmembership++; | 1996 buildCounterSeriesmembership++; |
1997 if (buildCounterSeriesmembership < 3) { | 1997 if (buildCounterSeriesmembership < 3) { |
1998 o.kind = "foo"; | 1998 o.kind = "foo"; |
1999 o.member = buildUnnamed520(); | 1999 o.member = buildUnnamed979(); |
2000 o.nextPageToken = "foo"; | 2000 o.nextPageToken = "foo"; |
2001 } | 2001 } |
2002 buildCounterSeriesmembership--; | 2002 buildCounterSeriesmembership--; |
2003 return o; | 2003 return o; |
2004 } | 2004 } |
2005 | 2005 |
2006 checkSeriesmembership(api.Seriesmembership o) { | 2006 checkSeriesmembership(api.Seriesmembership o) { |
2007 buildCounterSeriesmembership++; | 2007 buildCounterSeriesmembership++; |
2008 if (buildCounterSeriesmembership < 3) { | 2008 if (buildCounterSeriesmembership < 3) { |
2009 unittest.expect(o.kind, unittest.equals('foo')); | 2009 unittest.expect(o.kind, unittest.equals('foo')); |
2010 checkUnnamed520(o.member); | 2010 checkUnnamed979(o.member); |
2011 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2011 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2012 } | 2012 } |
2013 buildCounterSeriesmembership--; | 2013 buildCounterSeriesmembership--; |
2014 } | 2014 } |
2015 | 2015 |
2016 core.int buildCounterUsersettingsNotesExport = 0; | 2016 core.int buildCounterUsersettingsNotesExport = 0; |
2017 buildUsersettingsNotesExport() { | 2017 buildUsersettingsNotesExport() { |
2018 var o = new api.UsersettingsNotesExport(); | 2018 var o = new api.UsersettingsNotesExport(); |
2019 buildCounterUsersettingsNotesExport++; | 2019 buildCounterUsersettingsNotesExport++; |
2020 if (buildCounterUsersettingsNotesExport < 3) { | 2020 if (buildCounterUsersettingsNotesExport < 3) { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 | 2200 |
2201 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { | 2201 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { |
2202 buildCounterVolumeLayerInfoLayers++; | 2202 buildCounterVolumeLayerInfoLayers++; |
2203 if (buildCounterVolumeLayerInfoLayers < 3) { | 2203 if (buildCounterVolumeLayerInfoLayers < 3) { |
2204 unittest.expect(o.layerId, unittest.equals('foo')); | 2204 unittest.expect(o.layerId, unittest.equals('foo')); |
2205 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 2205 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
2206 } | 2206 } |
2207 buildCounterVolumeLayerInfoLayers--; | 2207 buildCounterVolumeLayerInfoLayers--; |
2208 } | 2208 } |
2209 | 2209 |
2210 buildUnnamed521() { | 2210 buildUnnamed980() { |
2211 var o = new core.List<api.VolumeLayerInfoLayers>(); | 2211 var o = new core.List<api.VolumeLayerInfoLayers>(); |
2212 o.add(buildVolumeLayerInfoLayers()); | 2212 o.add(buildVolumeLayerInfoLayers()); |
2213 o.add(buildVolumeLayerInfoLayers()); | 2213 o.add(buildVolumeLayerInfoLayers()); |
2214 return o; | 2214 return o; |
2215 } | 2215 } |
2216 | 2216 |
2217 checkUnnamed521(core.List<api.VolumeLayerInfoLayers> o) { | 2217 checkUnnamed980(core.List<api.VolumeLayerInfoLayers> o) { |
2218 unittest.expect(o, unittest.hasLength(2)); | 2218 unittest.expect(o, unittest.hasLength(2)); |
2219 checkVolumeLayerInfoLayers(o[0]); | 2219 checkVolumeLayerInfoLayers(o[0]); |
2220 checkVolumeLayerInfoLayers(o[1]); | 2220 checkVolumeLayerInfoLayers(o[1]); |
2221 } | 2221 } |
2222 | 2222 |
2223 core.int buildCounterVolumeLayerInfo = 0; | 2223 core.int buildCounterVolumeLayerInfo = 0; |
2224 buildVolumeLayerInfo() { | 2224 buildVolumeLayerInfo() { |
2225 var o = new api.VolumeLayerInfo(); | 2225 var o = new api.VolumeLayerInfo(); |
2226 buildCounterVolumeLayerInfo++; | 2226 buildCounterVolumeLayerInfo++; |
2227 if (buildCounterVolumeLayerInfo < 3) { | 2227 if (buildCounterVolumeLayerInfo < 3) { |
2228 o.layers = buildUnnamed521(); | 2228 o.layers = buildUnnamed980(); |
2229 } | 2229 } |
2230 buildCounterVolumeLayerInfo--; | 2230 buildCounterVolumeLayerInfo--; |
2231 return o; | 2231 return o; |
2232 } | 2232 } |
2233 | 2233 |
2234 checkVolumeLayerInfo(api.VolumeLayerInfo o) { | 2234 checkVolumeLayerInfo(api.VolumeLayerInfo o) { |
2235 buildCounterVolumeLayerInfo++; | 2235 buildCounterVolumeLayerInfo++; |
2236 if (buildCounterVolumeLayerInfo < 3) { | 2236 if (buildCounterVolumeLayerInfo < 3) { |
2237 checkUnnamed521(o.layers); | 2237 checkUnnamed980(o.layers); |
2238 } | 2238 } |
2239 buildCounterVolumeLayerInfo--; | 2239 buildCounterVolumeLayerInfo--; |
2240 } | 2240 } |
2241 | 2241 |
2242 core.int buildCounterVolumeRecommendedInfo = 0; | 2242 core.int buildCounterVolumeRecommendedInfo = 0; |
2243 buildVolumeRecommendedInfo() { | 2243 buildVolumeRecommendedInfo() { |
2244 var o = new api.VolumeRecommendedInfo(); | 2244 var o = new api.VolumeRecommendedInfo(); |
2245 buildCounterVolumeRecommendedInfo++; | 2245 buildCounterVolumeRecommendedInfo++; |
2246 if (buildCounterVolumeRecommendedInfo < 3) { | 2246 if (buildCounterVolumeRecommendedInfo < 3) { |
2247 o.explanation = "foo"; | 2247 o.explanation = "foo"; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2360 buildCounterVolumeSaleInfoOffers++; | 2360 buildCounterVolumeSaleInfoOffers++; |
2361 if (buildCounterVolumeSaleInfoOffers < 3) { | 2361 if (buildCounterVolumeSaleInfoOffers < 3) { |
2362 unittest.expect(o.finskyOfferType, unittest.equals(42)); | 2362 unittest.expect(o.finskyOfferType, unittest.equals(42)); |
2363 checkVolumeSaleInfoOffersListPrice(o.listPrice); | 2363 checkVolumeSaleInfoOffersListPrice(o.listPrice); |
2364 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); | 2364 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); |
2365 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); | 2365 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); |
2366 } | 2366 } |
2367 buildCounterVolumeSaleInfoOffers--; | 2367 buildCounterVolumeSaleInfoOffers--; |
2368 } | 2368 } |
2369 | 2369 |
2370 buildUnnamed522() { | 2370 buildUnnamed981() { |
2371 var o = new core.List<api.VolumeSaleInfoOffers>(); | 2371 var o = new core.List<api.VolumeSaleInfoOffers>(); |
2372 o.add(buildVolumeSaleInfoOffers()); | 2372 o.add(buildVolumeSaleInfoOffers()); |
2373 o.add(buildVolumeSaleInfoOffers()); | 2373 o.add(buildVolumeSaleInfoOffers()); |
2374 return o; | 2374 return o; |
2375 } | 2375 } |
2376 | 2376 |
2377 checkUnnamed522(core.List<api.VolumeSaleInfoOffers> o) { | 2377 checkUnnamed981(core.List<api.VolumeSaleInfoOffers> o) { |
2378 unittest.expect(o, unittest.hasLength(2)); | 2378 unittest.expect(o, unittest.hasLength(2)); |
2379 checkVolumeSaleInfoOffers(o[0]); | 2379 checkVolumeSaleInfoOffers(o[0]); |
2380 checkVolumeSaleInfoOffers(o[1]); | 2380 checkVolumeSaleInfoOffers(o[1]); |
2381 } | 2381 } |
2382 | 2382 |
2383 core.int buildCounterVolumeSaleInfoRetailPrice = 0; | 2383 core.int buildCounterVolumeSaleInfoRetailPrice = 0; |
2384 buildVolumeSaleInfoRetailPrice() { | 2384 buildVolumeSaleInfoRetailPrice() { |
2385 var o = new api.VolumeSaleInfoRetailPrice(); | 2385 var o = new api.VolumeSaleInfoRetailPrice(); |
2386 buildCounterVolumeSaleInfoRetailPrice++; | 2386 buildCounterVolumeSaleInfoRetailPrice++; |
2387 if (buildCounterVolumeSaleInfoRetailPrice < 3) { | 2387 if (buildCounterVolumeSaleInfoRetailPrice < 3) { |
(...skipping 15 matching lines...) Expand all Loading... |
2403 | 2403 |
2404 core.int buildCounterVolumeSaleInfo = 0; | 2404 core.int buildCounterVolumeSaleInfo = 0; |
2405 buildVolumeSaleInfo() { | 2405 buildVolumeSaleInfo() { |
2406 var o = new api.VolumeSaleInfo(); | 2406 var o = new api.VolumeSaleInfo(); |
2407 buildCounterVolumeSaleInfo++; | 2407 buildCounterVolumeSaleInfo++; |
2408 if (buildCounterVolumeSaleInfo < 3) { | 2408 if (buildCounterVolumeSaleInfo < 3) { |
2409 o.buyLink = "foo"; | 2409 o.buyLink = "foo"; |
2410 o.country = "foo"; | 2410 o.country = "foo"; |
2411 o.isEbook = true; | 2411 o.isEbook = true; |
2412 o.listPrice = buildVolumeSaleInfoListPrice(); | 2412 o.listPrice = buildVolumeSaleInfoListPrice(); |
2413 o.offers = buildUnnamed522(); | 2413 o.offers = buildUnnamed981(); |
2414 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); | 2414 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); |
2415 o.retailPrice = buildVolumeSaleInfoRetailPrice(); | 2415 o.retailPrice = buildVolumeSaleInfoRetailPrice(); |
2416 o.saleability = "foo"; | 2416 o.saleability = "foo"; |
2417 } | 2417 } |
2418 buildCounterVolumeSaleInfo--; | 2418 buildCounterVolumeSaleInfo--; |
2419 return o; | 2419 return o; |
2420 } | 2420 } |
2421 | 2421 |
2422 checkVolumeSaleInfo(api.VolumeSaleInfo o) { | 2422 checkVolumeSaleInfo(api.VolumeSaleInfo o) { |
2423 buildCounterVolumeSaleInfo++; | 2423 buildCounterVolumeSaleInfo++; |
2424 if (buildCounterVolumeSaleInfo < 3) { | 2424 if (buildCounterVolumeSaleInfo < 3) { |
2425 unittest.expect(o.buyLink, unittest.equals('foo')); | 2425 unittest.expect(o.buyLink, unittest.equals('foo')); |
2426 unittest.expect(o.country, unittest.equals('foo')); | 2426 unittest.expect(o.country, unittest.equals('foo')); |
2427 unittest.expect(o.isEbook, unittest.isTrue); | 2427 unittest.expect(o.isEbook, unittest.isTrue); |
2428 checkVolumeSaleInfoListPrice(o.listPrice); | 2428 checkVolumeSaleInfoListPrice(o.listPrice); |
2429 checkUnnamed522(o.offers); | 2429 checkUnnamed981(o.offers); |
2430 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); | 2430 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); |
2431 checkVolumeSaleInfoRetailPrice(o.retailPrice); | 2431 checkVolumeSaleInfoRetailPrice(o.retailPrice); |
2432 unittest.expect(o.saleability, unittest.equals('foo')); | 2432 unittest.expect(o.saleability, unittest.equals('foo')); |
2433 } | 2433 } |
2434 buildCounterVolumeSaleInfo--; | 2434 buildCounterVolumeSaleInfo--; |
2435 } | 2435 } |
2436 | 2436 |
2437 core.int buildCounterVolumeSearchInfo = 0; | 2437 core.int buildCounterVolumeSearchInfo = 0; |
2438 buildVolumeSearchInfo() { | 2438 buildVolumeSearchInfo() { |
2439 var o = new api.VolumeSearchInfo(); | 2439 var o = new api.VolumeSearchInfo(); |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2589 checkReadingPosition(o.readingPosition); | 2589 checkReadingPosition(o.readingPosition); |
2590 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); | 2590 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); |
2591 unittest.expect(o.rentalState, unittest.equals('foo')); | 2591 unittest.expect(o.rentalState, unittest.equals('foo')); |
2592 checkReview(o.review); | 2592 checkReview(o.review); |
2593 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2593 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2594 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); | 2594 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); |
2595 } | 2595 } |
2596 buildCounterVolumeUserInfo--; | 2596 buildCounterVolumeUserInfo--; |
2597 } | 2597 } |
2598 | 2598 |
2599 buildUnnamed523() { | 2599 buildUnnamed982() { |
2600 var o = new core.List<core.String>(); | 2600 var o = new core.List<core.String>(); |
2601 o.add("foo"); | 2601 o.add("foo"); |
2602 o.add("foo"); | 2602 o.add("foo"); |
2603 return o; | 2603 return o; |
2604 } | 2604 } |
2605 | 2605 |
2606 checkUnnamed523(core.List<core.String> o) { | 2606 checkUnnamed982(core.List<core.String> o) { |
2607 unittest.expect(o, unittest.hasLength(2)); | 2607 unittest.expect(o, unittest.hasLength(2)); |
2608 unittest.expect(o[0], unittest.equals('foo')); | 2608 unittest.expect(o[0], unittest.equals('foo')); |
2609 unittest.expect(o[1], unittest.equals('foo')); | 2609 unittest.expect(o[1], unittest.equals('foo')); |
2610 } | 2610 } |
2611 | 2611 |
2612 buildUnnamed524() { | 2612 buildUnnamed983() { |
2613 var o = new core.List<core.String>(); | 2613 var o = new core.List<core.String>(); |
2614 o.add("foo"); | 2614 o.add("foo"); |
2615 o.add("foo"); | 2615 o.add("foo"); |
2616 return o; | 2616 return o; |
2617 } | 2617 } |
2618 | 2618 |
2619 checkUnnamed524(core.List<core.String> o) { | 2619 checkUnnamed983(core.List<core.String> o) { |
2620 unittest.expect(o, unittest.hasLength(2)); | 2620 unittest.expect(o, unittest.hasLength(2)); |
2621 unittest.expect(o[0], unittest.equals('foo')); | 2621 unittest.expect(o[0], unittest.equals('foo')); |
2622 unittest.expect(o[1], unittest.equals('foo')); | 2622 unittest.expect(o[1], unittest.equals('foo')); |
2623 } | 2623 } |
2624 | 2624 |
2625 core.int buildCounterVolumeVolumeInfoDimensions = 0; | 2625 core.int buildCounterVolumeVolumeInfoDimensions = 0; |
2626 buildVolumeVolumeInfoDimensions() { | 2626 buildVolumeVolumeInfoDimensions() { |
2627 var o = new api.VolumeVolumeInfoDimensions(); | 2627 var o = new api.VolumeVolumeInfoDimensions(); |
2628 buildCounterVolumeVolumeInfoDimensions++; | 2628 buildCounterVolumeVolumeInfoDimensions++; |
2629 if (buildCounterVolumeVolumeInfoDimensions < 3) { | 2629 if (buildCounterVolumeVolumeInfoDimensions < 3) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2688 | 2688 |
2689 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { | 2689 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { |
2690 buildCounterVolumeVolumeInfoIndustryIdentifiers++; | 2690 buildCounterVolumeVolumeInfoIndustryIdentifiers++; |
2691 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { | 2691 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { |
2692 unittest.expect(o.identifier, unittest.equals('foo')); | 2692 unittest.expect(o.identifier, unittest.equals('foo')); |
2693 unittest.expect(o.type, unittest.equals('foo')); | 2693 unittest.expect(o.type, unittest.equals('foo')); |
2694 } | 2694 } |
2695 buildCounterVolumeVolumeInfoIndustryIdentifiers--; | 2695 buildCounterVolumeVolumeInfoIndustryIdentifiers--; |
2696 } | 2696 } |
2697 | 2697 |
2698 buildUnnamed525() { | 2698 buildUnnamed984() { |
2699 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); | 2699 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); |
2700 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2700 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
2701 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2701 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
2702 return o; | 2702 return o; |
2703 } | 2703 } |
2704 | 2704 |
2705 checkUnnamed525(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { | 2705 checkUnnamed984(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { |
2706 unittest.expect(o, unittest.hasLength(2)); | 2706 unittest.expect(o, unittest.hasLength(2)); |
2707 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); | 2707 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); |
2708 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); | 2708 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); |
2709 } | 2709 } |
2710 | 2710 |
2711 core.int buildCounterVolumeVolumeInfo = 0; | 2711 core.int buildCounterVolumeVolumeInfo = 0; |
2712 buildVolumeVolumeInfo() { | 2712 buildVolumeVolumeInfo() { |
2713 var o = new api.VolumeVolumeInfo(); | 2713 var o = new api.VolumeVolumeInfo(); |
2714 buildCounterVolumeVolumeInfo++; | 2714 buildCounterVolumeVolumeInfo++; |
2715 if (buildCounterVolumeVolumeInfo < 3) { | 2715 if (buildCounterVolumeVolumeInfo < 3) { |
2716 o.allowAnonLogging = true; | 2716 o.allowAnonLogging = true; |
2717 o.authors = buildUnnamed523(); | 2717 o.authors = buildUnnamed982(); |
2718 o.averageRating = 42.0; | 2718 o.averageRating = 42.0; |
2719 o.canonicalVolumeLink = "foo"; | 2719 o.canonicalVolumeLink = "foo"; |
2720 o.categories = buildUnnamed524(); | 2720 o.categories = buildUnnamed983(); |
2721 o.contentVersion = "foo"; | 2721 o.contentVersion = "foo"; |
2722 o.description = "foo"; | 2722 o.description = "foo"; |
2723 o.dimensions = buildVolumeVolumeInfoDimensions(); | 2723 o.dimensions = buildVolumeVolumeInfoDimensions(); |
2724 o.imageLinks = buildVolumeVolumeInfoImageLinks(); | 2724 o.imageLinks = buildVolumeVolumeInfoImageLinks(); |
2725 o.industryIdentifiers = buildUnnamed525(); | 2725 o.industryIdentifiers = buildUnnamed984(); |
2726 o.infoLink = "foo"; | 2726 o.infoLink = "foo"; |
2727 o.language = "foo"; | 2727 o.language = "foo"; |
2728 o.mainCategory = "foo"; | 2728 o.mainCategory = "foo"; |
2729 o.maturityRating = "foo"; | 2729 o.maturityRating = "foo"; |
2730 o.pageCount = 42; | 2730 o.pageCount = 42; |
2731 o.previewLink = "foo"; | 2731 o.previewLink = "foo"; |
2732 o.printType = "foo"; | 2732 o.printType = "foo"; |
2733 o.printedPageCount = 42; | 2733 o.printedPageCount = 42; |
2734 o.publishedDate = "foo"; | 2734 o.publishedDate = "foo"; |
2735 o.publisher = "foo"; | 2735 o.publisher = "foo"; |
2736 o.ratingsCount = 42; | 2736 o.ratingsCount = 42; |
2737 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2737 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2738 o.samplePageCount = 42; | 2738 o.samplePageCount = 42; |
2739 o.seriesInfo = buildVolumeseriesinfo(); | 2739 o.seriesInfo = buildVolumeseriesinfo(); |
2740 o.subtitle = "foo"; | 2740 o.subtitle = "foo"; |
2741 o.title = "foo"; | 2741 o.title = "foo"; |
2742 } | 2742 } |
2743 buildCounterVolumeVolumeInfo--; | 2743 buildCounterVolumeVolumeInfo--; |
2744 return o; | 2744 return o; |
2745 } | 2745 } |
2746 | 2746 |
2747 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { | 2747 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { |
2748 buildCounterVolumeVolumeInfo++; | 2748 buildCounterVolumeVolumeInfo++; |
2749 if (buildCounterVolumeVolumeInfo < 3) { | 2749 if (buildCounterVolumeVolumeInfo < 3) { |
2750 unittest.expect(o.allowAnonLogging, unittest.isTrue); | 2750 unittest.expect(o.allowAnonLogging, unittest.isTrue); |
2751 checkUnnamed523(o.authors); | 2751 checkUnnamed982(o.authors); |
2752 unittest.expect(o.averageRating, unittest.equals(42.0)); | 2752 unittest.expect(o.averageRating, unittest.equals(42.0)); |
2753 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 2753 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
2754 checkUnnamed524(o.categories); | 2754 checkUnnamed983(o.categories); |
2755 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2755 unittest.expect(o.contentVersion, unittest.equals('foo')); |
2756 unittest.expect(o.description, unittest.equals('foo')); | 2756 unittest.expect(o.description, unittest.equals('foo')); |
2757 checkVolumeVolumeInfoDimensions(o.dimensions); | 2757 checkVolumeVolumeInfoDimensions(o.dimensions); |
2758 checkVolumeVolumeInfoImageLinks(o.imageLinks); | 2758 checkVolumeVolumeInfoImageLinks(o.imageLinks); |
2759 checkUnnamed525(o.industryIdentifiers); | 2759 checkUnnamed984(o.industryIdentifiers); |
2760 unittest.expect(o.infoLink, unittest.equals('foo')); | 2760 unittest.expect(o.infoLink, unittest.equals('foo')); |
2761 unittest.expect(o.language, unittest.equals('foo')); | 2761 unittest.expect(o.language, unittest.equals('foo')); |
2762 unittest.expect(o.mainCategory, unittest.equals('foo')); | 2762 unittest.expect(o.mainCategory, unittest.equals('foo')); |
2763 unittest.expect(o.maturityRating, unittest.equals('foo')); | 2763 unittest.expect(o.maturityRating, unittest.equals('foo')); |
2764 unittest.expect(o.pageCount, unittest.equals(42)); | 2764 unittest.expect(o.pageCount, unittest.equals(42)); |
2765 unittest.expect(o.previewLink, unittest.equals('foo')); | 2765 unittest.expect(o.previewLink, unittest.equals('foo')); |
2766 unittest.expect(o.printType, unittest.equals('foo')); | 2766 unittest.expect(o.printType, unittest.equals('foo')); |
2767 unittest.expect(o.printedPageCount, unittest.equals(42)); | 2767 unittest.expect(o.printedPageCount, unittest.equals(42)); |
2768 unittest.expect(o.publishedDate, unittest.equals('foo')); | 2768 unittest.expect(o.publishedDate, unittest.equals('foo')); |
2769 unittest.expect(o.publisher, unittest.equals('foo')); | 2769 unittest.expect(o.publisher, unittest.equals('foo')); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2809 checkVolumeRecommendedInfo(o.recommendedInfo); | 2809 checkVolumeRecommendedInfo(o.recommendedInfo); |
2810 checkVolumeSaleInfo(o.saleInfo); | 2810 checkVolumeSaleInfo(o.saleInfo); |
2811 checkVolumeSearchInfo(o.searchInfo); | 2811 checkVolumeSearchInfo(o.searchInfo); |
2812 unittest.expect(o.selfLink, unittest.equals('foo')); | 2812 unittest.expect(o.selfLink, unittest.equals('foo')); |
2813 checkVolumeUserInfo(o.userInfo); | 2813 checkVolumeUserInfo(o.userInfo); |
2814 checkVolumeVolumeInfo(o.volumeInfo); | 2814 checkVolumeVolumeInfo(o.volumeInfo); |
2815 } | 2815 } |
2816 buildCounterVolume--; | 2816 buildCounterVolume--; |
2817 } | 2817 } |
2818 | 2818 |
2819 buildUnnamed526() { | 2819 buildUnnamed985() { |
2820 var o = new core.List<api.Volume>(); | 2820 var o = new core.List<api.Volume>(); |
2821 o.add(buildVolume()); | 2821 o.add(buildVolume()); |
2822 o.add(buildVolume()); | 2822 o.add(buildVolume()); |
2823 return o; | 2823 return o; |
2824 } | 2824 } |
2825 | 2825 |
2826 checkUnnamed526(core.List<api.Volume> o) { | 2826 checkUnnamed985(core.List<api.Volume> o) { |
2827 unittest.expect(o, unittest.hasLength(2)); | 2827 unittest.expect(o, unittest.hasLength(2)); |
2828 checkVolume(o[0]); | 2828 checkVolume(o[0]); |
2829 checkVolume(o[1]); | 2829 checkVolume(o[1]); |
2830 } | 2830 } |
2831 | 2831 |
2832 core.int buildCounterVolume2 = 0; | 2832 core.int buildCounterVolume2 = 0; |
2833 buildVolume2() { | 2833 buildVolume2() { |
2834 var o = new api.Volume2(); | 2834 var o = new api.Volume2(); |
2835 buildCounterVolume2++; | 2835 buildCounterVolume2++; |
2836 if (buildCounterVolume2 < 3) { | 2836 if (buildCounterVolume2 < 3) { |
2837 o.items = buildUnnamed526(); | 2837 o.items = buildUnnamed985(); |
2838 o.kind = "foo"; | 2838 o.kind = "foo"; |
2839 o.nextPageToken = "foo"; | 2839 o.nextPageToken = "foo"; |
2840 } | 2840 } |
2841 buildCounterVolume2--; | 2841 buildCounterVolume2--; |
2842 return o; | 2842 return o; |
2843 } | 2843 } |
2844 | 2844 |
2845 checkVolume2(api.Volume2 o) { | 2845 checkVolume2(api.Volume2 o) { |
2846 buildCounterVolume2++; | 2846 buildCounterVolume2++; |
2847 if (buildCounterVolume2 < 3) { | 2847 if (buildCounterVolume2 < 3) { |
2848 checkUnnamed526(o.items); | 2848 checkUnnamed985(o.items); |
2849 unittest.expect(o.kind, unittest.equals('foo')); | 2849 unittest.expect(o.kind, unittest.equals('foo')); |
2850 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2850 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2851 } | 2851 } |
2852 buildCounterVolume2--; | 2852 buildCounterVolume2--; |
2853 } | 2853 } |
2854 | 2854 |
2855 core.int buildCounterVolumeannotationContentRanges = 0; | 2855 core.int buildCounterVolumeannotationContentRanges = 0; |
2856 buildVolumeannotationContentRanges() { | 2856 buildVolumeannotationContentRanges() { |
2857 var o = new api.VolumeannotationContentRanges(); | 2857 var o = new api.VolumeannotationContentRanges(); |
2858 buildCounterVolumeannotationContentRanges++; | 2858 buildCounterVolumeannotationContentRanges++; |
(...skipping 11 matching lines...) Expand all Loading... |
2870 buildCounterVolumeannotationContentRanges++; | 2870 buildCounterVolumeannotationContentRanges++; |
2871 if (buildCounterVolumeannotationContentRanges < 3) { | 2871 if (buildCounterVolumeannotationContentRanges < 3) { |
2872 checkBooksAnnotationsRange(o.cfiRange); | 2872 checkBooksAnnotationsRange(o.cfiRange); |
2873 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2873 unittest.expect(o.contentVersion, unittest.equals('foo')); |
2874 checkBooksAnnotationsRange(o.gbImageRange); | 2874 checkBooksAnnotationsRange(o.gbImageRange); |
2875 checkBooksAnnotationsRange(o.gbTextRange); | 2875 checkBooksAnnotationsRange(o.gbTextRange); |
2876 } | 2876 } |
2877 buildCounterVolumeannotationContentRanges--; | 2877 buildCounterVolumeannotationContentRanges--; |
2878 } | 2878 } |
2879 | 2879 |
2880 buildUnnamed527() { | 2880 buildUnnamed986() { |
2881 var o = new core.List<core.String>(); | 2881 var o = new core.List<core.String>(); |
2882 o.add("foo"); | 2882 o.add("foo"); |
2883 o.add("foo"); | 2883 o.add("foo"); |
2884 return o; | 2884 return o; |
2885 } | 2885 } |
2886 | 2886 |
2887 checkUnnamed527(core.List<core.String> o) { | 2887 checkUnnamed986(core.List<core.String> o) { |
2888 unittest.expect(o, unittest.hasLength(2)); | 2888 unittest.expect(o, unittest.hasLength(2)); |
2889 unittest.expect(o[0], unittest.equals('foo')); | 2889 unittest.expect(o[0], unittest.equals('foo')); |
2890 unittest.expect(o[1], unittest.equals('foo')); | 2890 unittest.expect(o[1], unittest.equals('foo')); |
2891 } | 2891 } |
2892 | 2892 |
2893 core.int buildCounterVolumeannotation = 0; | 2893 core.int buildCounterVolumeannotation = 0; |
2894 buildVolumeannotation() { | 2894 buildVolumeannotation() { |
2895 var o = new api.Volumeannotation(); | 2895 var o = new api.Volumeannotation(); |
2896 buildCounterVolumeannotation++; | 2896 buildCounterVolumeannotation++; |
2897 if (buildCounterVolumeannotation < 3) { | 2897 if (buildCounterVolumeannotation < 3) { |
2898 o.annotationDataId = "foo"; | 2898 o.annotationDataId = "foo"; |
2899 o.annotationDataLink = "foo"; | 2899 o.annotationDataLink = "foo"; |
2900 o.annotationType = "foo"; | 2900 o.annotationType = "foo"; |
2901 o.contentRanges = buildVolumeannotationContentRanges(); | 2901 o.contentRanges = buildVolumeannotationContentRanges(); |
2902 o.data = "foo"; | 2902 o.data = "foo"; |
2903 o.deleted = true; | 2903 o.deleted = true; |
2904 o.id = "foo"; | 2904 o.id = "foo"; |
2905 o.kind = "foo"; | 2905 o.kind = "foo"; |
2906 o.layerId = "foo"; | 2906 o.layerId = "foo"; |
2907 o.pageIds = buildUnnamed527(); | 2907 o.pageIds = buildUnnamed986(); |
2908 o.selectedText = "foo"; | 2908 o.selectedText = "foo"; |
2909 o.selfLink = "foo"; | 2909 o.selfLink = "foo"; |
2910 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 2910 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
2911 o.volumeId = "foo"; | 2911 o.volumeId = "foo"; |
2912 } | 2912 } |
2913 buildCounterVolumeannotation--; | 2913 buildCounterVolumeannotation--; |
2914 return o; | 2914 return o; |
2915 } | 2915 } |
2916 | 2916 |
2917 checkVolumeannotation(api.Volumeannotation o) { | 2917 checkVolumeannotation(api.Volumeannotation o) { |
2918 buildCounterVolumeannotation++; | 2918 buildCounterVolumeannotation++; |
2919 if (buildCounterVolumeannotation < 3) { | 2919 if (buildCounterVolumeannotation < 3) { |
2920 unittest.expect(o.annotationDataId, unittest.equals('foo')); | 2920 unittest.expect(o.annotationDataId, unittest.equals('foo')); |
2921 unittest.expect(o.annotationDataLink, unittest.equals('foo')); | 2921 unittest.expect(o.annotationDataLink, unittest.equals('foo')); |
2922 unittest.expect(o.annotationType, unittest.equals('foo')); | 2922 unittest.expect(o.annotationType, unittest.equals('foo')); |
2923 checkVolumeannotationContentRanges(o.contentRanges); | 2923 checkVolumeannotationContentRanges(o.contentRanges); |
2924 unittest.expect(o.data, unittest.equals('foo')); | 2924 unittest.expect(o.data, unittest.equals('foo')); |
2925 unittest.expect(o.deleted, unittest.isTrue); | 2925 unittest.expect(o.deleted, unittest.isTrue); |
2926 unittest.expect(o.id, unittest.equals('foo')); | 2926 unittest.expect(o.id, unittest.equals('foo')); |
2927 unittest.expect(o.kind, unittest.equals('foo')); | 2927 unittest.expect(o.kind, unittest.equals('foo')); |
2928 unittest.expect(o.layerId, unittest.equals('foo')); | 2928 unittest.expect(o.layerId, unittest.equals('foo')); |
2929 checkUnnamed527(o.pageIds); | 2929 checkUnnamed986(o.pageIds); |
2930 unittest.expect(o.selectedText, unittest.equals('foo')); | 2930 unittest.expect(o.selectedText, unittest.equals('foo')); |
2931 unittest.expect(o.selfLink, unittest.equals('foo')); | 2931 unittest.expect(o.selfLink, unittest.equals('foo')); |
2932 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2932 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2933 unittest.expect(o.volumeId, unittest.equals('foo')); | 2933 unittest.expect(o.volumeId, unittest.equals('foo')); |
2934 } | 2934 } |
2935 buildCounterVolumeannotation--; | 2935 buildCounterVolumeannotation--; |
2936 } | 2936 } |
2937 | 2937 |
2938 buildUnnamed528() { | 2938 buildUnnamed987() { |
2939 var o = new core.List<api.Volumeannotation>(); | 2939 var o = new core.List<api.Volumeannotation>(); |
2940 o.add(buildVolumeannotation()); | 2940 o.add(buildVolumeannotation()); |
2941 o.add(buildVolumeannotation()); | 2941 o.add(buildVolumeannotation()); |
2942 return o; | 2942 return o; |
2943 } | 2943 } |
2944 | 2944 |
2945 checkUnnamed528(core.List<api.Volumeannotation> o) { | 2945 checkUnnamed987(core.List<api.Volumeannotation> o) { |
2946 unittest.expect(o, unittest.hasLength(2)); | 2946 unittest.expect(o, unittest.hasLength(2)); |
2947 checkVolumeannotation(o[0]); | 2947 checkVolumeannotation(o[0]); |
2948 checkVolumeannotation(o[1]); | 2948 checkVolumeannotation(o[1]); |
2949 } | 2949 } |
2950 | 2950 |
2951 core.int buildCounterVolumeannotations = 0; | 2951 core.int buildCounterVolumeannotations = 0; |
2952 buildVolumeannotations() { | 2952 buildVolumeannotations() { |
2953 var o = new api.Volumeannotations(); | 2953 var o = new api.Volumeannotations(); |
2954 buildCounterVolumeannotations++; | 2954 buildCounterVolumeannotations++; |
2955 if (buildCounterVolumeannotations < 3) { | 2955 if (buildCounterVolumeannotations < 3) { |
2956 o.items = buildUnnamed528(); | 2956 o.items = buildUnnamed987(); |
2957 o.kind = "foo"; | 2957 o.kind = "foo"; |
2958 o.nextPageToken = "foo"; | 2958 o.nextPageToken = "foo"; |
2959 o.totalItems = 42; | 2959 o.totalItems = 42; |
2960 o.version = "foo"; | 2960 o.version = "foo"; |
2961 } | 2961 } |
2962 buildCounterVolumeannotations--; | 2962 buildCounterVolumeannotations--; |
2963 return o; | 2963 return o; |
2964 } | 2964 } |
2965 | 2965 |
2966 checkVolumeannotations(api.Volumeannotations o) { | 2966 checkVolumeannotations(api.Volumeannotations o) { |
2967 buildCounterVolumeannotations++; | 2967 buildCounterVolumeannotations++; |
2968 if (buildCounterVolumeannotations < 3) { | 2968 if (buildCounterVolumeannotations < 3) { |
2969 checkUnnamed528(o.items); | 2969 checkUnnamed987(o.items); |
2970 unittest.expect(o.kind, unittest.equals('foo')); | 2970 unittest.expect(o.kind, unittest.equals('foo')); |
2971 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2971 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2972 unittest.expect(o.totalItems, unittest.equals(42)); | 2972 unittest.expect(o.totalItems, unittest.equals(42)); |
2973 unittest.expect(o.version, unittest.equals('foo')); | 2973 unittest.expect(o.version, unittest.equals('foo')); |
2974 } | 2974 } |
2975 buildCounterVolumeannotations--; | 2975 buildCounterVolumeannotations--; |
2976 } | 2976 } |
2977 | 2977 |
2978 buildUnnamed529() { | 2978 buildUnnamed988() { |
2979 var o = new core.List<api.Volume>(); | 2979 var o = new core.List<api.Volume>(); |
2980 o.add(buildVolume()); | 2980 o.add(buildVolume()); |
2981 o.add(buildVolume()); | 2981 o.add(buildVolume()); |
2982 return o; | 2982 return o; |
2983 } | 2983 } |
2984 | 2984 |
2985 checkUnnamed529(core.List<api.Volume> o) { | 2985 checkUnnamed988(core.List<api.Volume> o) { |
2986 unittest.expect(o, unittest.hasLength(2)); | 2986 unittest.expect(o, unittest.hasLength(2)); |
2987 checkVolume(o[0]); | 2987 checkVolume(o[0]); |
2988 checkVolume(o[1]); | 2988 checkVolume(o[1]); |
2989 } | 2989 } |
2990 | 2990 |
2991 core.int buildCounterVolumes = 0; | 2991 core.int buildCounterVolumes = 0; |
2992 buildVolumes() { | 2992 buildVolumes() { |
2993 var o = new api.Volumes(); | 2993 var o = new api.Volumes(); |
2994 buildCounterVolumes++; | 2994 buildCounterVolumes++; |
2995 if (buildCounterVolumes < 3) { | 2995 if (buildCounterVolumes < 3) { |
2996 o.items = buildUnnamed529(); | 2996 o.items = buildUnnamed988(); |
2997 o.kind = "foo"; | 2997 o.kind = "foo"; |
2998 o.totalItems = 42; | 2998 o.totalItems = 42; |
2999 } | 2999 } |
3000 buildCounterVolumes--; | 3000 buildCounterVolumes--; |
3001 return o; | 3001 return o; |
3002 } | 3002 } |
3003 | 3003 |
3004 checkVolumes(api.Volumes o) { | 3004 checkVolumes(api.Volumes o) { |
3005 buildCounterVolumes++; | 3005 buildCounterVolumes++; |
3006 if (buildCounterVolumes < 3) { | 3006 if (buildCounterVolumes < 3) { |
3007 checkUnnamed529(o.items); | 3007 checkUnnamed988(o.items); |
3008 unittest.expect(o.kind, unittest.equals('foo')); | 3008 unittest.expect(o.kind, unittest.equals('foo')); |
3009 unittest.expect(o.totalItems, unittest.equals(42)); | 3009 unittest.expect(o.totalItems, unittest.equals(42)); |
3010 } | 3010 } |
3011 buildCounterVolumes--; | 3011 buildCounterVolumes--; |
3012 } | 3012 } |
3013 | 3013 |
3014 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; | 3014 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; |
3015 buildVolumeseriesinfoVolumeSeriesIssue() { | 3015 buildVolumeseriesinfoVolumeSeriesIssue() { |
3016 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); | 3016 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); |
3017 buildCounterVolumeseriesinfoVolumeSeriesIssue++; | 3017 buildCounterVolumeseriesinfoVolumeSeriesIssue++; |
3018 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { | 3018 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { |
3019 o.issueDisplayNumber = "foo"; | 3019 o.issueDisplayNumber = "foo"; |
3020 o.issueOrderNumber = 42; | 3020 o.issueOrderNumber = 42; |
3021 } | 3021 } |
3022 buildCounterVolumeseriesinfoVolumeSeriesIssue--; | 3022 buildCounterVolumeseriesinfoVolumeSeriesIssue--; |
3023 return o; | 3023 return o; |
3024 } | 3024 } |
3025 | 3025 |
3026 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o)
{ | 3026 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o)
{ |
3027 buildCounterVolumeseriesinfoVolumeSeriesIssue++; | 3027 buildCounterVolumeseriesinfoVolumeSeriesIssue++; |
3028 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { | 3028 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { |
3029 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); | 3029 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); |
3030 unittest.expect(o.issueOrderNumber, unittest.equals(42)); | 3030 unittest.expect(o.issueOrderNumber, unittest.equals(42)); |
3031 } | 3031 } |
3032 buildCounterVolumeseriesinfoVolumeSeriesIssue--; | 3032 buildCounterVolumeseriesinfoVolumeSeriesIssue--; |
3033 } | 3033 } |
3034 | 3034 |
3035 buildUnnamed530() { | 3035 buildUnnamed989() { |
3036 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); | 3036 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); |
3037 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); | 3037 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); |
3038 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); | 3038 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); |
3039 return o; | 3039 return o; |
3040 } | 3040 } |
3041 | 3041 |
3042 checkUnnamed530(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { | 3042 checkUnnamed989(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { |
3043 unittest.expect(o, unittest.hasLength(2)); | 3043 unittest.expect(o, unittest.hasLength(2)); |
3044 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); | 3044 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); |
3045 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); | 3045 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); |
3046 } | 3046 } |
3047 | 3047 |
3048 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; | 3048 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; |
3049 buildVolumeseriesinfoVolumeSeries() { | 3049 buildVolumeseriesinfoVolumeSeries() { |
3050 var o = new api.VolumeseriesinfoVolumeSeries(); | 3050 var o = new api.VolumeseriesinfoVolumeSeries(); |
3051 buildCounterVolumeseriesinfoVolumeSeries++; | 3051 buildCounterVolumeseriesinfoVolumeSeries++; |
3052 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { | 3052 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { |
3053 o.issue = buildUnnamed530(); | 3053 o.issue = buildUnnamed989(); |
3054 o.orderNumber = 42; | 3054 o.orderNumber = 42; |
3055 o.seriesBookType = "foo"; | 3055 o.seriesBookType = "foo"; |
3056 o.seriesId = "foo"; | 3056 o.seriesId = "foo"; |
3057 } | 3057 } |
3058 buildCounterVolumeseriesinfoVolumeSeries--; | 3058 buildCounterVolumeseriesinfoVolumeSeries--; |
3059 return o; | 3059 return o; |
3060 } | 3060 } |
3061 | 3061 |
3062 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { | 3062 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { |
3063 buildCounterVolumeseriesinfoVolumeSeries++; | 3063 buildCounterVolumeseriesinfoVolumeSeries++; |
3064 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { | 3064 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { |
3065 checkUnnamed530(o.issue); | 3065 checkUnnamed989(o.issue); |
3066 unittest.expect(o.orderNumber, unittest.equals(42)); | 3066 unittest.expect(o.orderNumber, unittest.equals(42)); |
3067 unittest.expect(o.seriesBookType, unittest.equals('foo')); | 3067 unittest.expect(o.seriesBookType, unittest.equals('foo')); |
3068 unittest.expect(o.seriesId, unittest.equals('foo')); | 3068 unittest.expect(o.seriesId, unittest.equals('foo')); |
3069 } | 3069 } |
3070 buildCounterVolumeseriesinfoVolumeSeries--; | 3070 buildCounterVolumeseriesinfoVolumeSeries--; |
3071 } | 3071 } |
3072 | 3072 |
3073 buildUnnamed531() { | 3073 buildUnnamed990() { |
3074 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); | 3074 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); |
3075 o.add(buildVolumeseriesinfoVolumeSeries()); | 3075 o.add(buildVolumeseriesinfoVolumeSeries()); |
3076 o.add(buildVolumeseriesinfoVolumeSeries()); | 3076 o.add(buildVolumeseriesinfoVolumeSeries()); |
3077 return o; | 3077 return o; |
3078 } | 3078 } |
3079 | 3079 |
3080 checkUnnamed531(core.List<api.VolumeseriesinfoVolumeSeries> o) { | 3080 checkUnnamed990(core.List<api.VolumeseriesinfoVolumeSeries> o) { |
3081 unittest.expect(o, unittest.hasLength(2)); | 3081 unittest.expect(o, unittest.hasLength(2)); |
3082 checkVolumeseriesinfoVolumeSeries(o[0]); | 3082 checkVolumeseriesinfoVolumeSeries(o[0]); |
3083 checkVolumeseriesinfoVolumeSeries(o[1]); | 3083 checkVolumeseriesinfoVolumeSeries(o[1]); |
3084 } | 3084 } |
3085 | 3085 |
3086 core.int buildCounterVolumeseriesinfo = 0; | 3086 core.int buildCounterVolumeseriesinfo = 0; |
3087 buildVolumeseriesinfo() { | 3087 buildVolumeseriesinfo() { |
3088 var o = new api.Volumeseriesinfo(); | 3088 var o = new api.Volumeseriesinfo(); |
3089 buildCounterVolumeseriesinfo++; | 3089 buildCounterVolumeseriesinfo++; |
3090 if (buildCounterVolumeseriesinfo < 3) { | 3090 if (buildCounterVolumeseriesinfo < 3) { |
3091 o.bookDisplayNumber = "foo"; | 3091 o.bookDisplayNumber = "foo"; |
3092 o.kind = "foo"; | 3092 o.kind = "foo"; |
3093 o.shortSeriesBookTitle = "foo"; | 3093 o.shortSeriesBookTitle = "foo"; |
3094 o.volumeSeries = buildUnnamed531(); | 3094 o.volumeSeries = buildUnnamed990(); |
3095 } | 3095 } |
3096 buildCounterVolumeseriesinfo--; | 3096 buildCounterVolumeseriesinfo--; |
3097 return o; | 3097 return o; |
3098 } | 3098 } |
3099 | 3099 |
3100 checkVolumeseriesinfo(api.Volumeseriesinfo o) { | 3100 checkVolumeseriesinfo(api.Volumeseriesinfo o) { |
3101 buildCounterVolumeseriesinfo++; | 3101 buildCounterVolumeseriesinfo++; |
3102 if (buildCounterVolumeseriesinfo < 3) { | 3102 if (buildCounterVolumeseriesinfo < 3) { |
3103 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); | 3103 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); |
3104 unittest.expect(o.kind, unittest.equals('foo')); | 3104 unittest.expect(o.kind, unittest.equals('foo')); |
3105 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); | 3105 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); |
3106 checkUnnamed531(o.volumeSeries); | 3106 checkUnnamed990(o.volumeSeries); |
3107 } | 3107 } |
3108 buildCounterVolumeseriesinfo--; | 3108 buildCounterVolumeseriesinfo--; |
3109 } | 3109 } |
3110 | 3110 |
3111 buildUnnamed532() { | 3111 buildUnnamed991() { |
3112 var o = new core.List<core.String>(); | 3112 var o = new core.List<core.String>(); |
3113 o.add("foo"); | 3113 o.add("foo"); |
3114 o.add("foo"); | 3114 o.add("foo"); |
3115 return o; | 3115 return o; |
3116 } | 3116 } |
3117 | 3117 |
3118 checkUnnamed532(core.List<core.String> o) { | 3118 checkUnnamed991(core.List<core.String> o) { |
3119 unittest.expect(o, unittest.hasLength(2)); | 3119 unittest.expect(o, unittest.hasLength(2)); |
3120 unittest.expect(o[0], unittest.equals('foo')); | 3120 unittest.expect(o[0], unittest.equals('foo')); |
3121 unittest.expect(o[1], unittest.equals('foo')); | 3121 unittest.expect(o[1], unittest.equals('foo')); |
3122 } | 3122 } |
3123 | 3123 |
3124 buildUnnamed533() { | 3124 buildUnnamed992() { |
3125 var o = new core.List<core.String>(); | 3125 var o = new core.List<core.String>(); |
3126 o.add("foo"); | 3126 o.add("foo"); |
3127 o.add("foo"); | 3127 o.add("foo"); |
3128 return o; | 3128 return o; |
3129 } | 3129 } |
3130 | 3130 |
3131 checkUnnamed533(core.List<core.String> o) { | 3131 checkUnnamed992(core.List<core.String> o) { |
3132 unittest.expect(o, unittest.hasLength(2)); | 3132 unittest.expect(o, unittest.hasLength(2)); |
3133 unittest.expect(o[0], unittest.equals('foo')); | 3133 unittest.expect(o[0], unittest.equals('foo')); |
3134 unittest.expect(o[1], unittest.equals('foo')); | 3134 unittest.expect(o[1], unittest.equals('foo')); |
3135 } | 3135 } |
3136 | 3136 |
3137 buildUnnamed534() { | 3137 buildUnnamed993() { |
3138 var o = new core.List<core.String>(); | 3138 var o = new core.List<core.String>(); |
3139 o.add("foo"); | 3139 o.add("foo"); |
3140 o.add("foo"); | 3140 o.add("foo"); |
3141 return o; | 3141 return o; |
3142 } | 3142 } |
3143 | 3143 |
3144 checkUnnamed534(core.List<core.String> o) { | 3144 checkUnnamed993(core.List<core.String> o) { |
3145 unittest.expect(o, unittest.hasLength(2)); | 3145 unittest.expect(o, unittest.hasLength(2)); |
3146 unittest.expect(o[0], unittest.equals('foo')); | 3146 unittest.expect(o[0], unittest.equals('foo')); |
3147 unittest.expect(o[1], unittest.equals('foo')); | 3147 unittest.expect(o[1], unittest.equals('foo')); |
3148 } | 3148 } |
3149 | 3149 |
3150 buildUnnamed535() { | 3150 buildUnnamed994() { |
3151 var o = new core.List<core.String>(); | 3151 var o = new core.List<core.String>(); |
3152 o.add("foo"); | 3152 o.add("foo"); |
3153 o.add("foo"); | 3153 o.add("foo"); |
3154 return o; | 3154 return o; |
3155 } | 3155 } |
3156 | 3156 |
3157 checkUnnamed535(core.List<core.String> o) { | 3157 checkUnnamed994(core.List<core.String> o) { |
3158 unittest.expect(o, unittest.hasLength(2)); | 3158 unittest.expect(o, unittest.hasLength(2)); |
3159 unittest.expect(o[0], unittest.equals('foo')); | 3159 unittest.expect(o[0], unittest.equals('foo')); |
3160 unittest.expect(o[1], unittest.equals('foo')); | 3160 unittest.expect(o[1], unittest.equals('foo')); |
3161 } | 3161 } |
3162 | 3162 |
3163 buildUnnamed536() { | 3163 buildUnnamed995() { |
3164 var o = new core.List<core.String>(); | 3164 var o = new core.List<core.String>(); |
3165 o.add("foo"); | 3165 o.add("foo"); |
3166 o.add("foo"); | 3166 o.add("foo"); |
3167 return o; | 3167 return o; |
3168 } | 3168 } |
3169 | 3169 |
3170 checkUnnamed536(core.List<core.String> o) { | 3170 checkUnnamed995(core.List<core.String> o) { |
3171 unittest.expect(o, unittest.hasLength(2)); | 3171 unittest.expect(o, unittest.hasLength(2)); |
3172 unittest.expect(o[0], unittest.equals('foo')); | 3172 unittest.expect(o[0], unittest.equals('foo')); |
3173 unittest.expect(o[1], unittest.equals('foo')); | 3173 unittest.expect(o[1], unittest.equals('foo')); |
3174 } | 3174 } |
3175 | 3175 |
3176 buildUnnamed537() { | 3176 buildUnnamed996() { |
3177 var o = new core.List<core.String>(); | 3177 var o = new core.List<core.String>(); |
3178 o.add("foo"); | 3178 o.add("foo"); |
3179 o.add("foo"); | 3179 o.add("foo"); |
3180 return o; | 3180 return o; |
3181 } | 3181 } |
3182 | 3182 |
3183 checkUnnamed537(core.List<core.String> o) { | 3183 checkUnnamed996(core.List<core.String> o) { |
3184 unittest.expect(o, unittest.hasLength(2)); | 3184 unittest.expect(o, unittest.hasLength(2)); |
3185 unittest.expect(o[0], unittest.equals('foo')); | 3185 unittest.expect(o[0], unittest.equals('foo')); |
3186 unittest.expect(o[1], unittest.equals('foo')); | 3186 unittest.expect(o[1], unittest.equals('foo')); |
3187 } | 3187 } |
3188 | 3188 |
3189 buildUnnamed538() { | 3189 buildUnnamed997() { |
3190 var o = new core.List<core.String>(); | 3190 var o = new core.List<core.String>(); |
3191 o.add("foo"); | 3191 o.add("foo"); |
3192 o.add("foo"); | 3192 o.add("foo"); |
3193 return o; | 3193 return o; |
3194 } | 3194 } |
3195 | 3195 |
3196 checkUnnamed538(core.List<core.String> o) { | 3196 checkUnnamed997(core.List<core.String> o) { |
3197 unittest.expect(o, unittest.hasLength(2)); | 3197 unittest.expect(o, unittest.hasLength(2)); |
3198 unittest.expect(o[0], unittest.equals('foo')); | 3198 unittest.expect(o[0], unittest.equals('foo')); |
3199 unittest.expect(o[1], unittest.equals('foo')); | 3199 unittest.expect(o[1], unittest.equals('foo')); |
3200 } | 3200 } |
3201 | 3201 |
3202 buildUnnamed539() { | 3202 buildUnnamed998() { |
3203 var o = new core.List<core.String>(); | 3203 var o = new core.List<core.String>(); |
3204 o.add("foo"); | 3204 o.add("foo"); |
3205 o.add("foo"); | 3205 o.add("foo"); |
3206 return o; | 3206 return o; |
3207 } | 3207 } |
3208 | 3208 |
3209 checkUnnamed539(core.List<core.String> o) { | 3209 checkUnnamed998(core.List<core.String> o) { |
3210 unittest.expect(o, unittest.hasLength(2)); | 3210 unittest.expect(o, unittest.hasLength(2)); |
3211 unittest.expect(o[0], unittest.equals('foo')); | 3211 unittest.expect(o[0], unittest.equals('foo')); |
3212 unittest.expect(o[1], unittest.equals('foo')); | 3212 unittest.expect(o[1], unittest.equals('foo')); |
3213 } | 3213 } |
3214 | 3214 |
3215 buildUnnamed540() { | 3215 buildUnnamed999() { |
3216 var o = new core.List<core.String>(); | 3216 var o = new core.List<core.String>(); |
3217 o.add("foo"); | 3217 o.add("foo"); |
3218 o.add("foo"); | 3218 o.add("foo"); |
3219 return o; | 3219 return o; |
3220 } | 3220 } |
3221 | 3221 |
3222 checkUnnamed540(core.List<core.String> o) { | 3222 checkUnnamed999(core.List<core.String> o) { |
3223 unittest.expect(o, unittest.hasLength(2)); | 3223 unittest.expect(o, unittest.hasLength(2)); |
3224 unittest.expect(o[0], unittest.equals('foo')); | 3224 unittest.expect(o[0], unittest.equals('foo')); |
3225 unittest.expect(o[1], unittest.equals('foo')); | 3225 unittest.expect(o[1], unittest.equals('foo')); |
3226 } | 3226 } |
3227 | 3227 |
3228 buildUnnamed541() { | 3228 buildUnnamed1000() { |
3229 var o = new core.List<core.String>(); | 3229 var o = new core.List<core.String>(); |
3230 o.add("foo"); | 3230 o.add("foo"); |
3231 o.add("foo"); | 3231 o.add("foo"); |
3232 return o; | 3232 return o; |
3233 } | 3233 } |
3234 | 3234 |
3235 checkUnnamed541(core.List<core.String> o) { | 3235 checkUnnamed1000(core.List<core.String> o) { |
3236 unittest.expect(o, unittest.hasLength(2)); | 3236 unittest.expect(o, unittest.hasLength(2)); |
3237 unittest.expect(o[0], unittest.equals('foo')); | 3237 unittest.expect(o[0], unittest.equals('foo')); |
3238 unittest.expect(o[1], unittest.equals('foo')); | 3238 unittest.expect(o[1], unittest.equals('foo')); |
3239 } | 3239 } |
3240 | 3240 |
3241 buildUnnamed542() { | 3241 buildUnnamed1001() { |
3242 var o = new core.List<core.String>(); | 3242 var o = new core.List<core.String>(); |
3243 o.add("foo"); | 3243 o.add("foo"); |
3244 o.add("foo"); | 3244 o.add("foo"); |
3245 return o; | 3245 return o; |
3246 } | 3246 } |
3247 | 3247 |
3248 checkUnnamed542(core.List<core.String> o) { | 3248 checkUnnamed1001(core.List<core.String> o) { |
3249 unittest.expect(o, unittest.hasLength(2)); | 3249 unittest.expect(o, unittest.hasLength(2)); |
3250 unittest.expect(o[0], unittest.equals('foo')); | 3250 unittest.expect(o[0], unittest.equals('foo')); |
3251 unittest.expect(o[1], unittest.equals('foo')); | 3251 unittest.expect(o[1], unittest.equals('foo')); |
3252 } | 3252 } |
3253 | 3253 |
3254 buildUnnamed543() { | 3254 buildUnnamed1002() { |
3255 var o = new core.List<core.String>(); | 3255 var o = new core.List<core.String>(); |
3256 o.add("foo"); | 3256 o.add("foo"); |
3257 o.add("foo"); | 3257 o.add("foo"); |
3258 return o; | 3258 return o; |
3259 } | 3259 } |
3260 | 3260 |
3261 checkUnnamed543(core.List<core.String> o) { | 3261 checkUnnamed1002(core.List<core.String> o) { |
3262 unittest.expect(o, unittest.hasLength(2)); | 3262 unittest.expect(o, unittest.hasLength(2)); |
3263 unittest.expect(o[0], unittest.equals('foo')); | 3263 unittest.expect(o[0], unittest.equals('foo')); |
3264 unittest.expect(o[1], unittest.equals('foo')); | 3264 unittest.expect(o[1], unittest.equals('foo')); |
3265 } | 3265 } |
3266 | 3266 |
3267 | 3267 |
3268 main() { | 3268 main() { |
3269 unittest.group("obj-schema-AnnotationClientVersionRanges", () { | 3269 unittest.group("obj-schema-AnnotationClientVersionRanges", () { |
3270 unittest.test("to-json--from-json", () { | 3270 unittest.test("to-json--from-json", () { |
3271 var o = buildAnnotationClientVersionRanges(); | 3271 var o = buildAnnotationClientVersionRanges(); |
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4756 }))); | 4756 }))); |
4757 }); | 4757 }); |
4758 | 4758 |
4759 unittest.test("method--list", () { | 4759 unittest.test("method--list", () { |
4760 | 4760 |
4761 var mock = new HttpServerMock(); | 4761 var mock = new HttpServerMock(); |
4762 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; | 4762 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; |
4763 var arg_volumeId = "foo"; | 4763 var arg_volumeId = "foo"; |
4764 var arg_layerId = "foo"; | 4764 var arg_layerId = "foo"; |
4765 var arg_contentVersion = "foo"; | 4765 var arg_contentVersion = "foo"; |
4766 var arg_annotationDataId = buildUnnamed532(); | 4766 var arg_annotationDataId = buildUnnamed991(); |
4767 var arg_h = 42; | 4767 var arg_h = 42; |
4768 var arg_locale = "foo"; | 4768 var arg_locale = "foo"; |
4769 var arg_maxResults = 42; | 4769 var arg_maxResults = 42; |
4770 var arg_pageToken = "foo"; | 4770 var arg_pageToken = "foo"; |
4771 var arg_scale = 42; | 4771 var arg_scale = 42; |
4772 var arg_source = "foo"; | 4772 var arg_source = "foo"; |
4773 var arg_updatedMax = "foo"; | 4773 var arg_updatedMax = "foo"; |
4774 var arg_updatedMin = "foo"; | 4774 var arg_updatedMin = "foo"; |
4775 var arg_w = 42; | 4775 var arg_w = 42; |
4776 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4776 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5041 }), true); | 5041 }), true); |
5042 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { | 5042 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { |
5043 checkUsersettings(response); | 5043 checkUsersettings(response); |
5044 }))); | 5044 }))); |
5045 }); | 5045 }); |
5046 | 5046 |
5047 unittest.test("method--releaseDownloadAccess", () { | 5047 unittest.test("method--releaseDownloadAccess", () { |
5048 | 5048 |
5049 var mock = new HttpServerMock(); | 5049 var mock = new HttpServerMock(); |
5050 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 5050 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
5051 var arg_volumeIds = buildUnnamed533(); | 5051 var arg_volumeIds = buildUnnamed992(); |
5052 var arg_cpksver = "foo"; | 5052 var arg_cpksver = "foo"; |
5053 var arg_locale = "foo"; | 5053 var arg_locale = "foo"; |
5054 var arg_source = "foo"; | 5054 var arg_source = "foo"; |
5055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5056 var path = (req.url).path; | 5056 var path = (req.url).path; |
5057 var pathOffset = 0; | 5057 var pathOffset = 0; |
5058 var index; | 5058 var index; |
5059 var subPart; | 5059 var subPart; |
5060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5061 pathOffset += 1; | 5061 pathOffset += 1; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5154 }))); | 5154 }))); |
5155 }); | 5155 }); |
5156 | 5156 |
5157 unittest.test("method--syncVolumeLicenses", () { | 5157 unittest.test("method--syncVolumeLicenses", () { |
5158 | 5158 |
5159 var mock = new HttpServerMock(); | 5159 var mock = new HttpServerMock(); |
5160 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 5160 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
5161 var arg_source = "foo"; | 5161 var arg_source = "foo"; |
5162 var arg_nonce = "foo"; | 5162 var arg_nonce = "foo"; |
5163 var arg_cpksver = "foo"; | 5163 var arg_cpksver = "foo"; |
5164 var arg_features = buildUnnamed534(); | 5164 var arg_features = buildUnnamed993(); |
5165 var arg_includeNonComicsSeries = true; | 5165 var arg_includeNonComicsSeries = true; |
5166 var arg_locale = "foo"; | 5166 var arg_locale = "foo"; |
5167 var arg_showPreorders = true; | 5167 var arg_showPreorders = true; |
5168 var arg_volumeIds = buildUnnamed535(); | 5168 var arg_volumeIds = buildUnnamed994(); |
5169 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5169 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5170 var path = (req.url).path; | 5170 var path = (req.url).path; |
5171 var pathOffset = 0; | 5171 var pathOffset = 0; |
5172 var index; | 5172 var index; |
5173 var subPart; | 5173 var subPart; |
5174 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5174 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5175 pathOffset += 1; | 5175 pathOffset += 1; |
5176 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5176 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
5177 pathOffset += 9; | 5177 pathOffset += 9; |
5178 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); | 5178 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5371 checkAnnotation(response); | 5371 checkAnnotation(response); |
5372 }))); | 5372 }))); |
5373 }); | 5373 }); |
5374 | 5374 |
5375 unittest.test("method--list", () { | 5375 unittest.test("method--list", () { |
5376 | 5376 |
5377 var mock = new HttpServerMock(); | 5377 var mock = new HttpServerMock(); |
5378 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 5378 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
5379 var arg_contentVersion = "foo"; | 5379 var arg_contentVersion = "foo"; |
5380 var arg_layerId = "foo"; | 5380 var arg_layerId = "foo"; |
5381 var arg_layerIds = buildUnnamed536(); | 5381 var arg_layerIds = buildUnnamed995(); |
5382 var arg_maxResults = 42; | 5382 var arg_maxResults = 42; |
5383 var arg_pageToken = "foo"; | 5383 var arg_pageToken = "foo"; |
5384 var arg_showDeleted = true; | 5384 var arg_showDeleted = true; |
5385 var arg_source = "foo"; | 5385 var arg_source = "foo"; |
5386 var arg_updatedMax = "foo"; | 5386 var arg_updatedMax = "foo"; |
5387 var arg_updatedMin = "foo"; | 5387 var arg_updatedMin = "foo"; |
5388 var arg_volumeId = "foo"; | 5388 var arg_volumeId = "foo"; |
5389 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5389 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5390 var path = (req.url).path; | 5390 var path = (req.url).path; |
5391 var pathOffset = 0; | 5391 var pathOffset = 0; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5434 }), true); | 5434 }), true); |
5435 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet
ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin:
arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat
ions response) { | 5435 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet
ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin:
arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat
ions response) { |
5436 checkAnnotations(response); | 5436 checkAnnotations(response); |
5437 }))); | 5437 }))); |
5438 }); | 5438 }); |
5439 | 5439 |
5440 unittest.test("method--summary", () { | 5440 unittest.test("method--summary", () { |
5441 | 5441 |
5442 var mock = new HttpServerMock(); | 5442 var mock = new HttpServerMock(); |
5443 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 5443 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
5444 var arg_layerIds = buildUnnamed537(); | 5444 var arg_layerIds = buildUnnamed996(); |
5445 var arg_volumeId = "foo"; | 5445 var arg_volumeId = "foo"; |
5446 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5446 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5447 var path = (req.url).path; | 5447 var path = (req.url).path; |
5448 var pathOffset = 0; | 5448 var pathOffset = 0; |
5449 var index; | 5449 var index; |
5450 var subPart; | 5450 var subPart; |
5451 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5451 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5452 pathOffset += 1; | 5452 pathOffset += 1; |
5453 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5453 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
5454 pathOffset += 9; | 5454 pathOffset += 9; |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6161 }), true); | 6161 }), true); |
6162 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { | 6162 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { |
6163 checkCategory(response); | 6163 checkCategory(response); |
6164 }))); | 6164 }))); |
6165 }); | 6165 }); |
6166 | 6166 |
6167 unittest.test("method--listCategoryVolumes", () { | 6167 unittest.test("method--listCategoryVolumes", () { |
6168 | 6168 |
6169 var mock = new HttpServerMock(); | 6169 var mock = new HttpServerMock(); |
6170 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; | 6170 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; |
6171 var arg_categoryId = buildUnnamed538(); | 6171 var arg_categoryId = buildUnnamed997(); |
6172 var arg_locale = "foo"; | 6172 var arg_locale = "foo"; |
6173 var arg_maxAllowedMaturityRating = "foo"; | 6173 var arg_maxAllowedMaturityRating = "foo"; |
6174 var arg_pageSize = 42; | 6174 var arg_pageSize = 42; |
6175 var arg_pageToken = "foo"; | 6175 var arg_pageToken = "foo"; |
6176 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6176 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6177 var path = (req.url).path; | 6177 var path = (req.url).path; |
6178 var pathOffset = 0; | 6178 var pathOffset = 0; |
6179 var index; | 6179 var index; |
6180 var subPart; | 6180 var subPart; |
6181 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6181 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6452 }); | 6452 }); |
6453 | 6453 |
6454 }); | 6454 }); |
6455 | 6455 |
6456 | 6456 |
6457 unittest.group("resource-SeriesResourceApi", () { | 6457 unittest.group("resource-SeriesResourceApi", () { |
6458 unittest.test("method--get", () { | 6458 unittest.test("method--get", () { |
6459 | 6459 |
6460 var mock = new HttpServerMock(); | 6460 var mock = new HttpServerMock(); |
6461 api.SeriesResourceApi res = new api.BooksApi(mock).series; | 6461 api.SeriesResourceApi res = new api.BooksApi(mock).series; |
6462 var arg_seriesId = buildUnnamed539(); | 6462 var arg_seriesId = buildUnnamed998(); |
6463 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6463 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6464 var path = (req.url).path; | 6464 var path = (req.url).path; |
6465 var pathOffset = 0; | 6465 var pathOffset = 0; |
6466 var index; | 6466 var index; |
6467 var subPart; | 6467 var subPart; |
6468 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6468 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6469 pathOffset += 1; | 6469 pathOffset += 1; |
6470 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6470 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
6471 pathOffset += 9; | 6471 pathOffset += 9; |
6472 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("series/get")); | 6472 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("series/get")); |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6759 }); | 6759 }); |
6760 | 6760 |
6761 }); | 6761 }); |
6762 | 6762 |
6763 | 6763 |
6764 unittest.group("resource-VolumesMybooksResourceApi", () { | 6764 unittest.group("resource-VolumesMybooksResourceApi", () { |
6765 unittest.test("method--list", () { | 6765 unittest.test("method--list", () { |
6766 | 6766 |
6767 var mock = new HttpServerMock(); | 6767 var mock = new HttpServerMock(); |
6768 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; | 6768 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; |
6769 var arg_acquireMethod = buildUnnamed540(); | 6769 var arg_acquireMethod = buildUnnamed999(); |
6770 var arg_country = "foo"; | 6770 var arg_country = "foo"; |
6771 var arg_locale = "foo"; | 6771 var arg_locale = "foo"; |
6772 var arg_maxResults = 42; | 6772 var arg_maxResults = 42; |
6773 var arg_processingState = buildUnnamed541(); | 6773 var arg_processingState = buildUnnamed1000(); |
6774 var arg_source = "foo"; | 6774 var arg_source = "foo"; |
6775 var arg_startIndex = 42; | 6775 var arg_startIndex = 42; |
6776 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6776 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6777 var path = (req.url).path; | 6777 var path = (req.url).path; |
6778 var pathOffset = 0; | 6778 var pathOffset = 0; |
6779 var index; | 6779 var index; |
6780 var subPart; | 6780 var subPart; |
6781 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6781 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6782 pathOffset += 1; | 6782 pathOffset += 1; |
6783 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6783 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6932 }); | 6932 }); |
6933 | 6933 |
6934 | 6934 |
6935 unittest.group("resource-VolumesUseruploadedResourceApi", () { | 6935 unittest.group("resource-VolumesUseruploadedResourceApi", () { |
6936 unittest.test("method--list", () { | 6936 unittest.test("method--list", () { |
6937 | 6937 |
6938 var mock = new HttpServerMock(); | 6938 var mock = new HttpServerMock(); |
6939 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; | 6939 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; |
6940 var arg_locale = "foo"; | 6940 var arg_locale = "foo"; |
6941 var arg_maxResults = 42; | 6941 var arg_maxResults = 42; |
6942 var arg_processingState = buildUnnamed542(); | 6942 var arg_processingState = buildUnnamed1001(); |
6943 var arg_source = "foo"; | 6943 var arg_source = "foo"; |
6944 var arg_startIndex = 42; | 6944 var arg_startIndex = 42; |
6945 var arg_volumeId = buildUnnamed543(); | 6945 var arg_volumeId = buildUnnamed1002(); |
6946 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6946 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6947 var path = (req.url).path; | 6947 var path = (req.url).path; |
6948 var pathOffset = 0; | 6948 var pathOffset = 0; |
6949 var index; | 6949 var index; |
6950 var subPart; | 6950 var subPart; |
6951 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6951 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6952 pathOffset += 1; | 6952 pathOffset += 1; |
6953 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6953 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
6954 pathOffset += 9; | 6954 pathOffset += 9; |
6955 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); | 6955 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6988 res.list(locale: arg_locale, maxResults: arg_maxResults, processingState:
arg_processingState, source: arg_source, startIndex: arg_startIndex, volumeId: a
rg_volumeId).then(unittest.expectAsync(((api.Volumes response) { | 6988 res.list(locale: arg_locale, maxResults: arg_maxResults, processingState:
arg_processingState, source: arg_source, startIndex: arg_startIndex, volumeId: a
rg_volumeId).then(unittest.expectAsync(((api.Volumes response) { |
6989 checkVolumes(response); | 6989 checkVolumes(response); |
6990 }))); | 6990 }))); |
6991 }); | 6991 }); |
6992 | 6992 |
6993 }); | 6993 }); |
6994 | 6994 |
6995 | 6995 |
6996 } | 6996 } |
6997 | 6997 |
OLD | NEW |