OLD | NEW |
1 library googleapis.youtube.v3.test; | 1 library googleapis.youtube.v3.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed477() { | 54 buildUnnamed481() { |
55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
56 o.add("foo"); | 56 o.add("foo"); |
57 o.add("foo"); | 57 o.add("foo"); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed477(core.List<core.String> o) { | 61 checkUnnamed481(core.List<core.String> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
65 } | 65 } |
66 | 66 |
67 core.int buildCounterAccessPolicy = 0; | 67 core.int buildCounterAccessPolicy = 0; |
68 buildAccessPolicy() { | 68 buildAccessPolicy() { |
69 var o = new api.AccessPolicy(); | 69 var o = new api.AccessPolicy(); |
70 buildCounterAccessPolicy++; | 70 buildCounterAccessPolicy++; |
71 if (buildCounterAccessPolicy < 3) { | 71 if (buildCounterAccessPolicy < 3) { |
72 o.allowed = true; | 72 o.allowed = true; |
73 o.exception = buildUnnamed477(); | 73 o.exception = buildUnnamed481(); |
74 } | 74 } |
75 buildCounterAccessPolicy--; | 75 buildCounterAccessPolicy--; |
76 return o; | 76 return o; |
77 } | 77 } |
78 | 78 |
79 checkAccessPolicy(api.AccessPolicy o) { | 79 checkAccessPolicy(api.AccessPolicy o) { |
80 buildCounterAccessPolicy++; | 80 buildCounterAccessPolicy++; |
81 if (buildCounterAccessPolicy < 3) { | 81 if (buildCounterAccessPolicy < 3) { |
82 unittest.expect(o.allowed, unittest.isTrue); | 82 unittest.expect(o.allowed, unittest.isTrue); |
83 checkUnnamed477(o.exception); | 83 checkUnnamed481(o.exception); |
84 } | 84 } |
85 buildCounterAccessPolicy--; | 85 buildCounterAccessPolicy--; |
86 } | 86 } |
87 | 87 |
88 core.int buildCounterActivity = 0; | 88 core.int buildCounterActivity = 0; |
89 buildActivity() { | 89 buildActivity() { |
90 var o = new api.Activity(); | 90 var o = new api.Activity(); |
91 buildCounterActivity++; | 91 buildCounterActivity++; |
92 if (buildCounterActivity < 3) { | 92 if (buildCounterActivity < 3) { |
93 o.contentDetails = buildActivityContentDetails(); | 93 o.contentDetails = buildActivityContentDetails(); |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { | 262 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { |
263 buildCounterActivityContentDetailsPlaylistItem++; | 263 buildCounterActivityContentDetailsPlaylistItem++; |
264 if (buildCounterActivityContentDetailsPlaylistItem < 3) { | 264 if (buildCounterActivityContentDetailsPlaylistItem < 3) { |
265 unittest.expect(o.playlistId, unittest.equals('foo')); | 265 unittest.expect(o.playlistId, unittest.equals('foo')); |
266 unittest.expect(o.playlistItemId, unittest.equals('foo')); | 266 unittest.expect(o.playlistItemId, unittest.equals('foo')); |
267 checkResourceId(o.resourceId); | 267 checkResourceId(o.resourceId); |
268 } | 268 } |
269 buildCounterActivityContentDetailsPlaylistItem--; | 269 buildCounterActivityContentDetailsPlaylistItem--; |
270 } | 270 } |
271 | 271 |
272 buildUnnamed478() { | 272 buildUnnamed482() { |
273 var o = new core.List<core.String>(); | 273 var o = new core.List<core.String>(); |
274 o.add("foo"); | 274 o.add("foo"); |
275 o.add("foo"); | 275 o.add("foo"); |
276 return o; | 276 return o; |
277 } | 277 } |
278 | 278 |
279 checkUnnamed478(core.List<core.String> o) { | 279 checkUnnamed482(core.List<core.String> o) { |
280 unittest.expect(o, unittest.hasLength(2)); | 280 unittest.expect(o, unittest.hasLength(2)); |
281 unittest.expect(o[0], unittest.equals('foo')); | 281 unittest.expect(o[0], unittest.equals('foo')); |
282 unittest.expect(o[1], unittest.equals('foo')); | 282 unittest.expect(o[1], unittest.equals('foo')); |
283 } | 283 } |
284 | 284 |
285 buildUnnamed479() { | 285 buildUnnamed483() { |
286 var o = new core.List<core.String>(); | 286 var o = new core.List<core.String>(); |
287 o.add("foo"); | 287 o.add("foo"); |
288 o.add("foo"); | 288 o.add("foo"); |
289 return o; | 289 return o; |
290 } | 290 } |
291 | 291 |
292 checkUnnamed479(core.List<core.String> o) { | 292 checkUnnamed483(core.List<core.String> o) { |
293 unittest.expect(o, unittest.hasLength(2)); | 293 unittest.expect(o, unittest.hasLength(2)); |
294 unittest.expect(o[0], unittest.equals('foo')); | 294 unittest.expect(o[0], unittest.equals('foo')); |
295 unittest.expect(o[1], unittest.equals('foo')); | 295 unittest.expect(o[1], unittest.equals('foo')); |
296 } | 296 } |
297 | 297 |
298 core.int buildCounterActivityContentDetailsPromotedItem = 0; | 298 core.int buildCounterActivityContentDetailsPromotedItem = 0; |
299 buildActivityContentDetailsPromotedItem() { | 299 buildActivityContentDetailsPromotedItem() { |
300 var o = new api.ActivityContentDetailsPromotedItem(); | 300 var o = new api.ActivityContentDetailsPromotedItem(); |
301 buildCounterActivityContentDetailsPromotedItem++; | 301 buildCounterActivityContentDetailsPromotedItem++; |
302 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 302 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
303 o.adTag = "foo"; | 303 o.adTag = "foo"; |
304 o.clickTrackingUrl = "foo"; | 304 o.clickTrackingUrl = "foo"; |
305 o.creativeViewUrl = "foo"; | 305 o.creativeViewUrl = "foo"; |
306 o.ctaType = "foo"; | 306 o.ctaType = "foo"; |
307 o.customCtaButtonText = "foo"; | 307 o.customCtaButtonText = "foo"; |
308 o.descriptionText = "foo"; | 308 o.descriptionText = "foo"; |
309 o.destinationUrl = "foo"; | 309 o.destinationUrl = "foo"; |
310 o.forecastingUrl = buildUnnamed478(); | 310 o.forecastingUrl = buildUnnamed482(); |
311 o.impressionUrl = buildUnnamed479(); | 311 o.impressionUrl = buildUnnamed483(); |
312 o.videoId = "foo"; | 312 o.videoId = "foo"; |
313 } | 313 } |
314 buildCounterActivityContentDetailsPromotedItem--; | 314 buildCounterActivityContentDetailsPromotedItem--; |
315 return o; | 315 return o; |
316 } | 316 } |
317 | 317 |
318 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { | 318 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { |
319 buildCounterActivityContentDetailsPromotedItem++; | 319 buildCounterActivityContentDetailsPromotedItem++; |
320 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 320 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
321 unittest.expect(o.adTag, unittest.equals('foo')); | 321 unittest.expect(o.adTag, unittest.equals('foo')); |
322 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 322 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
323 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); | 323 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); |
324 unittest.expect(o.ctaType, unittest.equals('foo')); | 324 unittest.expect(o.ctaType, unittest.equals('foo')); |
325 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); | 325 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); |
326 unittest.expect(o.descriptionText, unittest.equals('foo')); | 326 unittest.expect(o.descriptionText, unittest.equals('foo')); |
327 unittest.expect(o.destinationUrl, unittest.equals('foo')); | 327 unittest.expect(o.destinationUrl, unittest.equals('foo')); |
328 checkUnnamed478(o.forecastingUrl); | 328 checkUnnamed482(o.forecastingUrl); |
329 checkUnnamed479(o.impressionUrl); | 329 checkUnnamed483(o.impressionUrl); |
330 unittest.expect(o.videoId, unittest.equals('foo')); | 330 unittest.expect(o.videoId, unittest.equals('foo')); |
331 } | 331 } |
332 buildCounterActivityContentDetailsPromotedItem--; | 332 buildCounterActivityContentDetailsPromotedItem--; |
333 } | 333 } |
334 | 334 |
335 core.int buildCounterActivityContentDetailsRecommendation = 0; | 335 core.int buildCounterActivityContentDetailsRecommendation = 0; |
336 buildActivityContentDetailsRecommendation() { | 336 buildActivityContentDetailsRecommendation() { |
337 var o = new api.ActivityContentDetailsRecommendation(); | 337 var o = new api.ActivityContentDetailsRecommendation(); |
338 buildCounterActivityContentDetailsRecommendation++; | 338 buildCounterActivityContentDetailsRecommendation++; |
339 if (buildCounterActivityContentDetailsRecommendation < 3) { | 339 if (buildCounterActivityContentDetailsRecommendation < 3) { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 } | 413 } |
414 | 414 |
415 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { | 415 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { |
416 buildCounterActivityContentDetailsUpload++; | 416 buildCounterActivityContentDetailsUpload++; |
417 if (buildCounterActivityContentDetailsUpload < 3) { | 417 if (buildCounterActivityContentDetailsUpload < 3) { |
418 unittest.expect(o.videoId, unittest.equals('foo')); | 418 unittest.expect(o.videoId, unittest.equals('foo')); |
419 } | 419 } |
420 buildCounterActivityContentDetailsUpload--; | 420 buildCounterActivityContentDetailsUpload--; |
421 } | 421 } |
422 | 422 |
423 buildUnnamed480() { | 423 buildUnnamed484() { |
424 var o = new core.List<api.Activity>(); | 424 var o = new core.List<api.Activity>(); |
425 o.add(buildActivity()); | 425 o.add(buildActivity()); |
426 o.add(buildActivity()); | 426 o.add(buildActivity()); |
427 return o; | 427 return o; |
428 } | 428 } |
429 | 429 |
430 checkUnnamed480(core.List<api.Activity> o) { | 430 checkUnnamed484(core.List<api.Activity> o) { |
431 unittest.expect(o, unittest.hasLength(2)); | 431 unittest.expect(o, unittest.hasLength(2)); |
432 checkActivity(o[0]); | 432 checkActivity(o[0]); |
433 checkActivity(o[1]); | 433 checkActivity(o[1]); |
434 } | 434 } |
435 | 435 |
436 core.int buildCounterActivityListResponse = 0; | 436 core.int buildCounterActivityListResponse = 0; |
437 buildActivityListResponse() { | 437 buildActivityListResponse() { |
438 var o = new api.ActivityListResponse(); | 438 var o = new api.ActivityListResponse(); |
439 buildCounterActivityListResponse++; | 439 buildCounterActivityListResponse++; |
440 if (buildCounterActivityListResponse < 3) { | 440 if (buildCounterActivityListResponse < 3) { |
441 o.etag = "foo"; | 441 o.etag = "foo"; |
442 o.eventId = "foo"; | 442 o.eventId = "foo"; |
443 o.items = buildUnnamed480(); | 443 o.items = buildUnnamed484(); |
444 o.kind = "foo"; | 444 o.kind = "foo"; |
445 o.nextPageToken = "foo"; | 445 o.nextPageToken = "foo"; |
446 o.pageInfo = buildPageInfo(); | 446 o.pageInfo = buildPageInfo(); |
447 o.prevPageToken = "foo"; | 447 o.prevPageToken = "foo"; |
448 o.tokenPagination = buildTokenPagination(); | 448 o.tokenPagination = buildTokenPagination(); |
449 o.visitorId = "foo"; | 449 o.visitorId = "foo"; |
450 } | 450 } |
451 buildCounterActivityListResponse--; | 451 buildCounterActivityListResponse--; |
452 return o; | 452 return o; |
453 } | 453 } |
454 | 454 |
455 checkActivityListResponse(api.ActivityListResponse o) { | 455 checkActivityListResponse(api.ActivityListResponse o) { |
456 buildCounterActivityListResponse++; | 456 buildCounterActivityListResponse++; |
457 if (buildCounterActivityListResponse < 3) { | 457 if (buildCounterActivityListResponse < 3) { |
458 unittest.expect(o.etag, unittest.equals('foo')); | 458 unittest.expect(o.etag, unittest.equals('foo')); |
459 unittest.expect(o.eventId, unittest.equals('foo')); | 459 unittest.expect(o.eventId, unittest.equals('foo')); |
460 checkUnnamed480(o.items); | 460 checkUnnamed484(o.items); |
461 unittest.expect(o.kind, unittest.equals('foo')); | 461 unittest.expect(o.kind, unittest.equals('foo')); |
462 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 462 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
463 checkPageInfo(o.pageInfo); | 463 checkPageInfo(o.pageInfo); |
464 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 464 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
465 checkTokenPagination(o.tokenPagination); | 465 checkTokenPagination(o.tokenPagination); |
466 unittest.expect(o.visitorId, unittest.equals('foo')); | 466 unittest.expect(o.visitorId, unittest.equals('foo')); |
467 } | 467 } |
468 buildCounterActivityListResponse--; | 468 buildCounterActivityListResponse--; |
469 } | 469 } |
470 | 470 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 buildCounterCaption++; | 519 buildCounterCaption++; |
520 if (buildCounterCaption < 3) { | 520 if (buildCounterCaption < 3) { |
521 unittest.expect(o.etag, unittest.equals('foo')); | 521 unittest.expect(o.etag, unittest.equals('foo')); |
522 unittest.expect(o.id, unittest.equals('foo')); | 522 unittest.expect(o.id, unittest.equals('foo')); |
523 unittest.expect(o.kind, unittest.equals('foo')); | 523 unittest.expect(o.kind, unittest.equals('foo')); |
524 checkCaptionSnippet(o.snippet); | 524 checkCaptionSnippet(o.snippet); |
525 } | 525 } |
526 buildCounterCaption--; | 526 buildCounterCaption--; |
527 } | 527 } |
528 | 528 |
529 buildUnnamed481() { | 529 buildUnnamed485() { |
530 var o = new core.List<api.Caption>(); | 530 var o = new core.List<api.Caption>(); |
531 o.add(buildCaption()); | 531 o.add(buildCaption()); |
532 o.add(buildCaption()); | 532 o.add(buildCaption()); |
533 return o; | 533 return o; |
534 } | 534 } |
535 | 535 |
536 checkUnnamed481(core.List<api.Caption> o) { | 536 checkUnnamed485(core.List<api.Caption> o) { |
537 unittest.expect(o, unittest.hasLength(2)); | 537 unittest.expect(o, unittest.hasLength(2)); |
538 checkCaption(o[0]); | 538 checkCaption(o[0]); |
539 checkCaption(o[1]); | 539 checkCaption(o[1]); |
540 } | 540 } |
541 | 541 |
542 core.int buildCounterCaptionListResponse = 0; | 542 core.int buildCounterCaptionListResponse = 0; |
543 buildCaptionListResponse() { | 543 buildCaptionListResponse() { |
544 var o = new api.CaptionListResponse(); | 544 var o = new api.CaptionListResponse(); |
545 buildCounterCaptionListResponse++; | 545 buildCounterCaptionListResponse++; |
546 if (buildCounterCaptionListResponse < 3) { | 546 if (buildCounterCaptionListResponse < 3) { |
547 o.etag = "foo"; | 547 o.etag = "foo"; |
548 o.eventId = "foo"; | 548 o.eventId = "foo"; |
549 o.items = buildUnnamed481(); | 549 o.items = buildUnnamed485(); |
550 o.kind = "foo"; | 550 o.kind = "foo"; |
551 o.visitorId = "foo"; | 551 o.visitorId = "foo"; |
552 } | 552 } |
553 buildCounterCaptionListResponse--; | 553 buildCounterCaptionListResponse--; |
554 return o; | 554 return o; |
555 } | 555 } |
556 | 556 |
557 checkCaptionListResponse(api.CaptionListResponse o) { | 557 checkCaptionListResponse(api.CaptionListResponse o) { |
558 buildCounterCaptionListResponse++; | 558 buildCounterCaptionListResponse++; |
559 if (buildCounterCaptionListResponse < 3) { | 559 if (buildCounterCaptionListResponse < 3) { |
560 unittest.expect(o.etag, unittest.equals('foo')); | 560 unittest.expect(o.etag, unittest.equals('foo')); |
561 unittest.expect(o.eventId, unittest.equals('foo')); | 561 unittest.expect(o.eventId, unittest.equals('foo')); |
562 checkUnnamed481(o.items); | 562 checkUnnamed485(o.items); |
563 unittest.expect(o.kind, unittest.equals('foo')); | 563 unittest.expect(o.kind, unittest.equals('foo')); |
564 unittest.expect(o.visitorId, unittest.equals('foo')); | 564 unittest.expect(o.visitorId, unittest.equals('foo')); |
565 } | 565 } |
566 buildCounterCaptionListResponse--; | 566 buildCounterCaptionListResponse--; |
567 } | 567 } |
568 | 568 |
569 core.int buildCounterCaptionSnippet = 0; | 569 core.int buildCounterCaptionSnippet = 0; |
570 buildCaptionSnippet() { | 570 buildCaptionSnippet() { |
571 var o = new api.CaptionSnippet(); | 571 var o = new api.CaptionSnippet(); |
572 buildCounterCaptionSnippet++; | 572 buildCounterCaptionSnippet++; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 if (buildCounterCdnSettings < 3) { | 629 if (buildCounterCdnSettings < 3) { |
630 unittest.expect(o.format, unittest.equals('foo')); | 630 unittest.expect(o.format, unittest.equals('foo')); |
631 unittest.expect(o.frameRate, unittest.equals('foo')); | 631 unittest.expect(o.frameRate, unittest.equals('foo')); |
632 checkIngestionInfo(o.ingestionInfo); | 632 checkIngestionInfo(o.ingestionInfo); |
633 unittest.expect(o.ingestionType, unittest.equals('foo')); | 633 unittest.expect(o.ingestionType, unittest.equals('foo')); |
634 unittest.expect(o.resolution, unittest.equals('foo')); | 634 unittest.expect(o.resolution, unittest.equals('foo')); |
635 } | 635 } |
636 buildCounterCdnSettings--; | 636 buildCounterCdnSettings--; |
637 } | 637 } |
638 | 638 |
639 buildUnnamed482() { | 639 buildUnnamed486() { |
640 var o = new core.Map<core.String, api.ChannelLocalization>(); | 640 var o = new core.Map<core.String, api.ChannelLocalization>(); |
641 o["x"] = buildChannelLocalization(); | 641 o["x"] = buildChannelLocalization(); |
642 o["y"] = buildChannelLocalization(); | 642 o["y"] = buildChannelLocalization(); |
643 return o; | 643 return o; |
644 } | 644 } |
645 | 645 |
646 checkUnnamed482(core.Map<core.String, api.ChannelLocalization> o) { | 646 checkUnnamed486(core.Map<core.String, api.ChannelLocalization> o) { |
647 unittest.expect(o, unittest.hasLength(2)); | 647 unittest.expect(o, unittest.hasLength(2)); |
648 checkChannelLocalization(o["x"]); | 648 checkChannelLocalization(o["x"]); |
649 checkChannelLocalization(o["y"]); | 649 checkChannelLocalization(o["y"]); |
650 } | 650 } |
651 | 651 |
652 core.int buildCounterChannel = 0; | 652 core.int buildCounterChannel = 0; |
653 buildChannel() { | 653 buildChannel() { |
654 var o = new api.Channel(); | 654 var o = new api.Channel(); |
655 buildCounterChannel++; | 655 buildCounterChannel++; |
656 if (buildCounterChannel < 3) { | 656 if (buildCounterChannel < 3) { |
657 o.auditDetails = buildChannelAuditDetails(); | 657 o.auditDetails = buildChannelAuditDetails(); |
658 o.brandingSettings = buildChannelBrandingSettings(); | 658 o.brandingSettings = buildChannelBrandingSettings(); |
659 o.contentDetails = buildChannelContentDetails(); | 659 o.contentDetails = buildChannelContentDetails(); |
660 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 660 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
661 o.conversionPings = buildChannelConversionPings(); | 661 o.conversionPings = buildChannelConversionPings(); |
662 o.etag = "foo"; | 662 o.etag = "foo"; |
663 o.id = "foo"; | 663 o.id = "foo"; |
664 o.invideoPromotion = buildInvideoPromotion(); | 664 o.invideoPromotion = buildInvideoPromotion(); |
665 o.kind = "foo"; | 665 o.kind = "foo"; |
666 o.localizations = buildUnnamed482(); | 666 o.localizations = buildUnnamed486(); |
667 o.snippet = buildChannelSnippet(); | 667 o.snippet = buildChannelSnippet(); |
668 o.statistics = buildChannelStatistics(); | 668 o.statistics = buildChannelStatistics(); |
669 o.status = buildChannelStatus(); | 669 o.status = buildChannelStatus(); |
670 o.topicDetails = buildChannelTopicDetails(); | 670 o.topicDetails = buildChannelTopicDetails(); |
671 } | 671 } |
672 buildCounterChannel--; | 672 buildCounterChannel--; |
673 return o; | 673 return o; |
674 } | 674 } |
675 | 675 |
676 checkChannel(api.Channel o) { | 676 checkChannel(api.Channel o) { |
677 buildCounterChannel++; | 677 buildCounterChannel++; |
678 if (buildCounterChannel < 3) { | 678 if (buildCounterChannel < 3) { |
679 checkChannelAuditDetails(o.auditDetails); | 679 checkChannelAuditDetails(o.auditDetails); |
680 checkChannelBrandingSettings(o.brandingSettings); | 680 checkChannelBrandingSettings(o.brandingSettings); |
681 checkChannelContentDetails(o.contentDetails); | 681 checkChannelContentDetails(o.contentDetails); |
682 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 682 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
683 checkChannelConversionPings(o.conversionPings); | 683 checkChannelConversionPings(o.conversionPings); |
684 unittest.expect(o.etag, unittest.equals('foo')); | 684 unittest.expect(o.etag, unittest.equals('foo')); |
685 unittest.expect(o.id, unittest.equals('foo')); | 685 unittest.expect(o.id, unittest.equals('foo')); |
686 checkInvideoPromotion(o.invideoPromotion); | 686 checkInvideoPromotion(o.invideoPromotion); |
687 unittest.expect(o.kind, unittest.equals('foo')); | 687 unittest.expect(o.kind, unittest.equals('foo')); |
688 checkUnnamed482(o.localizations); | 688 checkUnnamed486(o.localizations); |
689 checkChannelSnippet(o.snippet); | 689 checkChannelSnippet(o.snippet); |
690 checkChannelStatistics(o.statistics); | 690 checkChannelStatistics(o.statistics); |
691 checkChannelStatus(o.status); | 691 checkChannelStatus(o.status); |
692 checkChannelTopicDetails(o.topicDetails); | 692 checkChannelTopicDetails(o.topicDetails); |
693 } | 693 } |
694 buildCounterChannel--; | 694 buildCounterChannel--; |
695 } | 695 } |
696 | 696 |
697 core.int buildCounterChannelAuditDetails = 0; | 697 core.int buildCounterChannelAuditDetails = 0; |
698 buildChannelAuditDetails() { | 698 buildChannelAuditDetails() { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 checkChannelBannerResource(api.ChannelBannerResource o) { | 735 checkChannelBannerResource(api.ChannelBannerResource o) { |
736 buildCounterChannelBannerResource++; | 736 buildCounterChannelBannerResource++; |
737 if (buildCounterChannelBannerResource < 3) { | 737 if (buildCounterChannelBannerResource < 3) { |
738 unittest.expect(o.etag, unittest.equals('foo')); | 738 unittest.expect(o.etag, unittest.equals('foo')); |
739 unittest.expect(o.kind, unittest.equals('foo')); | 739 unittest.expect(o.kind, unittest.equals('foo')); |
740 unittest.expect(o.url, unittest.equals('foo')); | 740 unittest.expect(o.url, unittest.equals('foo')); |
741 } | 741 } |
742 buildCounterChannelBannerResource--; | 742 buildCounterChannelBannerResource--; |
743 } | 743 } |
744 | 744 |
745 buildUnnamed483() { | 745 buildUnnamed487() { |
746 var o = new core.List<api.PropertyValue>(); | 746 var o = new core.List<api.PropertyValue>(); |
747 o.add(buildPropertyValue()); | 747 o.add(buildPropertyValue()); |
748 o.add(buildPropertyValue()); | 748 o.add(buildPropertyValue()); |
749 return o; | 749 return o; |
750 } | 750 } |
751 | 751 |
752 checkUnnamed483(core.List<api.PropertyValue> o) { | 752 checkUnnamed487(core.List<api.PropertyValue> o) { |
753 unittest.expect(o, unittest.hasLength(2)); | 753 unittest.expect(o, unittest.hasLength(2)); |
754 checkPropertyValue(o[0]); | 754 checkPropertyValue(o[0]); |
755 checkPropertyValue(o[1]); | 755 checkPropertyValue(o[1]); |
756 } | 756 } |
757 | 757 |
758 core.int buildCounterChannelBrandingSettings = 0; | 758 core.int buildCounterChannelBrandingSettings = 0; |
759 buildChannelBrandingSettings() { | 759 buildChannelBrandingSettings() { |
760 var o = new api.ChannelBrandingSettings(); | 760 var o = new api.ChannelBrandingSettings(); |
761 buildCounterChannelBrandingSettings++; | 761 buildCounterChannelBrandingSettings++; |
762 if (buildCounterChannelBrandingSettings < 3) { | 762 if (buildCounterChannelBrandingSettings < 3) { |
763 o.channel = buildChannelSettings(); | 763 o.channel = buildChannelSettings(); |
764 o.hints = buildUnnamed483(); | 764 o.hints = buildUnnamed487(); |
765 o.image = buildImageSettings(); | 765 o.image = buildImageSettings(); |
766 o.watch = buildWatchSettings(); | 766 o.watch = buildWatchSettings(); |
767 } | 767 } |
768 buildCounterChannelBrandingSettings--; | 768 buildCounterChannelBrandingSettings--; |
769 return o; | 769 return o; |
770 } | 770 } |
771 | 771 |
772 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 772 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
773 buildCounterChannelBrandingSettings++; | 773 buildCounterChannelBrandingSettings++; |
774 if (buildCounterChannelBrandingSettings < 3) { | 774 if (buildCounterChannelBrandingSettings < 3) { |
775 checkChannelSettings(o.channel); | 775 checkChannelSettings(o.channel); |
776 checkUnnamed483(o.hints); | 776 checkUnnamed487(o.hints); |
777 checkImageSettings(o.image); | 777 checkImageSettings(o.image); |
778 checkWatchSettings(o.watch); | 778 checkWatchSettings(o.watch); |
779 } | 779 } |
780 buildCounterChannelBrandingSettings--; | 780 buildCounterChannelBrandingSettings--; |
781 } | 781 } |
782 | 782 |
783 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 783 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
784 buildChannelContentDetailsRelatedPlaylists() { | 784 buildChannelContentDetailsRelatedPlaylists() { |
785 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 785 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
786 buildCounterChannelContentDetailsRelatedPlaylists++; | 786 buildCounterChannelContentDetailsRelatedPlaylists++; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 | 861 |
862 checkChannelConversionPing(api.ChannelConversionPing o) { | 862 checkChannelConversionPing(api.ChannelConversionPing o) { |
863 buildCounterChannelConversionPing++; | 863 buildCounterChannelConversionPing++; |
864 if (buildCounterChannelConversionPing < 3) { | 864 if (buildCounterChannelConversionPing < 3) { |
865 unittest.expect(o.context, unittest.equals('foo')); | 865 unittest.expect(o.context, unittest.equals('foo')); |
866 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 866 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
867 } | 867 } |
868 buildCounterChannelConversionPing--; | 868 buildCounterChannelConversionPing--; |
869 } | 869 } |
870 | 870 |
871 buildUnnamed484() { | 871 buildUnnamed488() { |
872 var o = new core.List<api.ChannelConversionPing>(); | 872 var o = new core.List<api.ChannelConversionPing>(); |
873 o.add(buildChannelConversionPing()); | 873 o.add(buildChannelConversionPing()); |
874 o.add(buildChannelConversionPing()); | 874 o.add(buildChannelConversionPing()); |
875 return o; | 875 return o; |
876 } | 876 } |
877 | 877 |
878 checkUnnamed484(core.List<api.ChannelConversionPing> o) { | 878 checkUnnamed488(core.List<api.ChannelConversionPing> o) { |
879 unittest.expect(o, unittest.hasLength(2)); | 879 unittest.expect(o, unittest.hasLength(2)); |
880 checkChannelConversionPing(o[0]); | 880 checkChannelConversionPing(o[0]); |
881 checkChannelConversionPing(o[1]); | 881 checkChannelConversionPing(o[1]); |
882 } | 882 } |
883 | 883 |
884 core.int buildCounterChannelConversionPings = 0; | 884 core.int buildCounterChannelConversionPings = 0; |
885 buildChannelConversionPings() { | 885 buildChannelConversionPings() { |
886 var o = new api.ChannelConversionPings(); | 886 var o = new api.ChannelConversionPings(); |
887 buildCounterChannelConversionPings++; | 887 buildCounterChannelConversionPings++; |
888 if (buildCounterChannelConversionPings < 3) { | 888 if (buildCounterChannelConversionPings < 3) { |
889 o.pings = buildUnnamed484(); | 889 o.pings = buildUnnamed488(); |
890 } | 890 } |
891 buildCounterChannelConversionPings--; | 891 buildCounterChannelConversionPings--; |
892 return o; | 892 return o; |
893 } | 893 } |
894 | 894 |
895 checkChannelConversionPings(api.ChannelConversionPings o) { | 895 checkChannelConversionPings(api.ChannelConversionPings o) { |
896 buildCounterChannelConversionPings++; | 896 buildCounterChannelConversionPings++; |
897 if (buildCounterChannelConversionPings < 3) { | 897 if (buildCounterChannelConversionPings < 3) { |
898 checkUnnamed484(o.pings); | 898 checkUnnamed488(o.pings); |
899 } | 899 } |
900 buildCounterChannelConversionPings--; | 900 buildCounterChannelConversionPings--; |
901 } | 901 } |
902 | 902 |
903 buildUnnamed485() { | 903 buildUnnamed489() { |
904 var o = new core.List<api.Channel>(); | 904 var o = new core.List<api.Channel>(); |
905 o.add(buildChannel()); | 905 o.add(buildChannel()); |
906 o.add(buildChannel()); | 906 o.add(buildChannel()); |
907 return o; | 907 return o; |
908 } | 908 } |
909 | 909 |
910 checkUnnamed485(core.List<api.Channel> o) { | 910 checkUnnamed489(core.List<api.Channel> o) { |
911 unittest.expect(o, unittest.hasLength(2)); | 911 unittest.expect(o, unittest.hasLength(2)); |
912 checkChannel(o[0]); | 912 checkChannel(o[0]); |
913 checkChannel(o[1]); | 913 checkChannel(o[1]); |
914 } | 914 } |
915 | 915 |
916 core.int buildCounterChannelListResponse = 0; | 916 core.int buildCounterChannelListResponse = 0; |
917 buildChannelListResponse() { | 917 buildChannelListResponse() { |
918 var o = new api.ChannelListResponse(); | 918 var o = new api.ChannelListResponse(); |
919 buildCounterChannelListResponse++; | 919 buildCounterChannelListResponse++; |
920 if (buildCounterChannelListResponse < 3) { | 920 if (buildCounterChannelListResponse < 3) { |
921 o.etag = "foo"; | 921 o.etag = "foo"; |
922 o.eventId = "foo"; | 922 o.eventId = "foo"; |
923 o.items = buildUnnamed485(); | 923 o.items = buildUnnamed489(); |
924 o.kind = "foo"; | 924 o.kind = "foo"; |
925 o.nextPageToken = "foo"; | 925 o.nextPageToken = "foo"; |
926 o.pageInfo = buildPageInfo(); | 926 o.pageInfo = buildPageInfo(); |
927 o.prevPageToken = "foo"; | 927 o.prevPageToken = "foo"; |
928 o.tokenPagination = buildTokenPagination(); | 928 o.tokenPagination = buildTokenPagination(); |
929 o.visitorId = "foo"; | 929 o.visitorId = "foo"; |
930 } | 930 } |
931 buildCounterChannelListResponse--; | 931 buildCounterChannelListResponse--; |
932 return o; | 932 return o; |
933 } | 933 } |
934 | 934 |
935 checkChannelListResponse(api.ChannelListResponse o) { | 935 checkChannelListResponse(api.ChannelListResponse o) { |
936 buildCounterChannelListResponse++; | 936 buildCounterChannelListResponse++; |
937 if (buildCounterChannelListResponse < 3) { | 937 if (buildCounterChannelListResponse < 3) { |
938 unittest.expect(o.etag, unittest.equals('foo')); | 938 unittest.expect(o.etag, unittest.equals('foo')); |
939 unittest.expect(o.eventId, unittest.equals('foo')); | 939 unittest.expect(o.eventId, unittest.equals('foo')); |
940 checkUnnamed485(o.items); | 940 checkUnnamed489(o.items); |
941 unittest.expect(o.kind, unittest.equals('foo')); | 941 unittest.expect(o.kind, unittest.equals('foo')); |
942 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 942 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
943 checkPageInfo(o.pageInfo); | 943 checkPageInfo(o.pageInfo); |
944 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 944 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
945 checkTokenPagination(o.tokenPagination); | 945 checkTokenPagination(o.tokenPagination); |
946 unittest.expect(o.visitorId, unittest.equals('foo')); | 946 unittest.expect(o.visitorId, unittest.equals('foo')); |
947 } | 947 } |
948 buildCounterChannelListResponse--; | 948 buildCounterChannelListResponse--; |
949 } | 949 } |
950 | 950 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 buildCounterChannelProfileDetails++; | 987 buildCounterChannelProfileDetails++; |
988 if (buildCounterChannelProfileDetails < 3) { | 988 if (buildCounterChannelProfileDetails < 3) { |
989 unittest.expect(o.channelId, unittest.equals('foo')); | 989 unittest.expect(o.channelId, unittest.equals('foo')); |
990 unittest.expect(o.channelUrl, unittest.equals('foo')); | 990 unittest.expect(o.channelUrl, unittest.equals('foo')); |
991 unittest.expect(o.displayName, unittest.equals('foo')); | 991 unittest.expect(o.displayName, unittest.equals('foo')); |
992 unittest.expect(o.profileImageUrl, unittest.equals('foo')); | 992 unittest.expect(o.profileImageUrl, unittest.equals('foo')); |
993 } | 993 } |
994 buildCounterChannelProfileDetails--; | 994 buildCounterChannelProfileDetails--; |
995 } | 995 } |
996 | 996 |
997 buildUnnamed486() { | 997 buildUnnamed490() { |
998 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 998 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
999 o["x"] = buildChannelSectionLocalization(); | 999 o["x"] = buildChannelSectionLocalization(); |
1000 o["y"] = buildChannelSectionLocalization(); | 1000 o["y"] = buildChannelSectionLocalization(); |
1001 return o; | 1001 return o; |
1002 } | 1002 } |
1003 | 1003 |
1004 checkUnnamed486(core.Map<core.String, api.ChannelSectionLocalization> o) { | 1004 checkUnnamed490(core.Map<core.String, api.ChannelSectionLocalization> o) { |
1005 unittest.expect(o, unittest.hasLength(2)); | 1005 unittest.expect(o, unittest.hasLength(2)); |
1006 checkChannelSectionLocalization(o["x"]); | 1006 checkChannelSectionLocalization(o["x"]); |
1007 checkChannelSectionLocalization(o["y"]); | 1007 checkChannelSectionLocalization(o["y"]); |
1008 } | 1008 } |
1009 | 1009 |
1010 core.int buildCounterChannelSection = 0; | 1010 core.int buildCounterChannelSection = 0; |
1011 buildChannelSection() { | 1011 buildChannelSection() { |
1012 var o = new api.ChannelSection(); | 1012 var o = new api.ChannelSection(); |
1013 buildCounterChannelSection++; | 1013 buildCounterChannelSection++; |
1014 if (buildCounterChannelSection < 3) { | 1014 if (buildCounterChannelSection < 3) { |
1015 o.contentDetails = buildChannelSectionContentDetails(); | 1015 o.contentDetails = buildChannelSectionContentDetails(); |
1016 o.etag = "foo"; | 1016 o.etag = "foo"; |
1017 o.id = "foo"; | 1017 o.id = "foo"; |
1018 o.kind = "foo"; | 1018 o.kind = "foo"; |
1019 o.localizations = buildUnnamed486(); | 1019 o.localizations = buildUnnamed490(); |
1020 o.snippet = buildChannelSectionSnippet(); | 1020 o.snippet = buildChannelSectionSnippet(); |
1021 o.targeting = buildChannelSectionTargeting(); | 1021 o.targeting = buildChannelSectionTargeting(); |
1022 } | 1022 } |
1023 buildCounterChannelSection--; | 1023 buildCounterChannelSection--; |
1024 return o; | 1024 return o; |
1025 } | 1025 } |
1026 | 1026 |
1027 checkChannelSection(api.ChannelSection o) { | 1027 checkChannelSection(api.ChannelSection o) { |
1028 buildCounterChannelSection++; | 1028 buildCounterChannelSection++; |
1029 if (buildCounterChannelSection < 3) { | 1029 if (buildCounterChannelSection < 3) { |
1030 checkChannelSectionContentDetails(o.contentDetails); | 1030 checkChannelSectionContentDetails(o.contentDetails); |
1031 unittest.expect(o.etag, unittest.equals('foo')); | 1031 unittest.expect(o.etag, unittest.equals('foo')); |
1032 unittest.expect(o.id, unittest.equals('foo')); | 1032 unittest.expect(o.id, unittest.equals('foo')); |
1033 unittest.expect(o.kind, unittest.equals('foo')); | 1033 unittest.expect(o.kind, unittest.equals('foo')); |
1034 checkUnnamed486(o.localizations); | 1034 checkUnnamed490(o.localizations); |
1035 checkChannelSectionSnippet(o.snippet); | 1035 checkChannelSectionSnippet(o.snippet); |
1036 checkChannelSectionTargeting(o.targeting); | 1036 checkChannelSectionTargeting(o.targeting); |
1037 } | 1037 } |
1038 buildCounterChannelSection--; | 1038 buildCounterChannelSection--; |
1039 } | 1039 } |
1040 | 1040 |
1041 buildUnnamed487() { | 1041 buildUnnamed491() { |
1042 var o = new core.List<core.String>(); | 1042 var o = new core.List<core.String>(); |
1043 o.add("foo"); | 1043 o.add("foo"); |
1044 o.add("foo"); | 1044 o.add("foo"); |
1045 return o; | 1045 return o; |
1046 } | 1046 } |
1047 | 1047 |
1048 checkUnnamed487(core.List<core.String> o) { | 1048 checkUnnamed491(core.List<core.String> o) { |
1049 unittest.expect(o, unittest.hasLength(2)); | 1049 unittest.expect(o, unittest.hasLength(2)); |
1050 unittest.expect(o[0], unittest.equals('foo')); | 1050 unittest.expect(o[0], unittest.equals('foo')); |
1051 unittest.expect(o[1], unittest.equals('foo')); | 1051 unittest.expect(o[1], unittest.equals('foo')); |
1052 } | 1052 } |
1053 | 1053 |
1054 buildUnnamed488() { | 1054 buildUnnamed492() { |
1055 var o = new core.List<core.String>(); | 1055 var o = new core.List<core.String>(); |
1056 o.add("foo"); | 1056 o.add("foo"); |
1057 o.add("foo"); | 1057 o.add("foo"); |
1058 return o; | 1058 return o; |
1059 } | 1059 } |
1060 | 1060 |
1061 checkUnnamed488(core.List<core.String> o) { | 1061 checkUnnamed492(core.List<core.String> o) { |
1062 unittest.expect(o, unittest.hasLength(2)); | 1062 unittest.expect(o, unittest.hasLength(2)); |
1063 unittest.expect(o[0], unittest.equals('foo')); | 1063 unittest.expect(o[0], unittest.equals('foo')); |
1064 unittest.expect(o[1], unittest.equals('foo')); | 1064 unittest.expect(o[1], unittest.equals('foo')); |
1065 } | 1065 } |
1066 | 1066 |
1067 core.int buildCounterChannelSectionContentDetails = 0; | 1067 core.int buildCounterChannelSectionContentDetails = 0; |
1068 buildChannelSectionContentDetails() { | 1068 buildChannelSectionContentDetails() { |
1069 var o = new api.ChannelSectionContentDetails(); | 1069 var o = new api.ChannelSectionContentDetails(); |
1070 buildCounterChannelSectionContentDetails++; | 1070 buildCounterChannelSectionContentDetails++; |
1071 if (buildCounterChannelSectionContentDetails < 3) { | 1071 if (buildCounterChannelSectionContentDetails < 3) { |
1072 o.channels = buildUnnamed487(); | 1072 o.channels = buildUnnamed491(); |
1073 o.playlists = buildUnnamed488(); | 1073 o.playlists = buildUnnamed492(); |
1074 } | 1074 } |
1075 buildCounterChannelSectionContentDetails--; | 1075 buildCounterChannelSectionContentDetails--; |
1076 return o; | 1076 return o; |
1077 } | 1077 } |
1078 | 1078 |
1079 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1079 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
1080 buildCounterChannelSectionContentDetails++; | 1080 buildCounterChannelSectionContentDetails++; |
1081 if (buildCounterChannelSectionContentDetails < 3) { | 1081 if (buildCounterChannelSectionContentDetails < 3) { |
1082 checkUnnamed487(o.channels); | 1082 checkUnnamed491(o.channels); |
1083 checkUnnamed488(o.playlists); | 1083 checkUnnamed492(o.playlists); |
1084 } | 1084 } |
1085 buildCounterChannelSectionContentDetails--; | 1085 buildCounterChannelSectionContentDetails--; |
1086 } | 1086 } |
1087 | 1087 |
1088 buildUnnamed489() { | 1088 buildUnnamed493() { |
1089 var o = new core.List<api.ChannelSection>(); | 1089 var o = new core.List<api.ChannelSection>(); |
1090 o.add(buildChannelSection()); | 1090 o.add(buildChannelSection()); |
1091 o.add(buildChannelSection()); | 1091 o.add(buildChannelSection()); |
1092 return o; | 1092 return o; |
1093 } | 1093 } |
1094 | 1094 |
1095 checkUnnamed489(core.List<api.ChannelSection> o) { | 1095 checkUnnamed493(core.List<api.ChannelSection> o) { |
1096 unittest.expect(o, unittest.hasLength(2)); | 1096 unittest.expect(o, unittest.hasLength(2)); |
1097 checkChannelSection(o[0]); | 1097 checkChannelSection(o[0]); |
1098 checkChannelSection(o[1]); | 1098 checkChannelSection(o[1]); |
1099 } | 1099 } |
1100 | 1100 |
1101 core.int buildCounterChannelSectionListResponse = 0; | 1101 core.int buildCounterChannelSectionListResponse = 0; |
1102 buildChannelSectionListResponse() { | 1102 buildChannelSectionListResponse() { |
1103 var o = new api.ChannelSectionListResponse(); | 1103 var o = new api.ChannelSectionListResponse(); |
1104 buildCounterChannelSectionListResponse++; | 1104 buildCounterChannelSectionListResponse++; |
1105 if (buildCounterChannelSectionListResponse < 3) { | 1105 if (buildCounterChannelSectionListResponse < 3) { |
1106 o.etag = "foo"; | 1106 o.etag = "foo"; |
1107 o.eventId = "foo"; | 1107 o.eventId = "foo"; |
1108 o.items = buildUnnamed489(); | 1108 o.items = buildUnnamed493(); |
1109 o.kind = "foo"; | 1109 o.kind = "foo"; |
1110 o.visitorId = "foo"; | 1110 o.visitorId = "foo"; |
1111 } | 1111 } |
1112 buildCounterChannelSectionListResponse--; | 1112 buildCounterChannelSectionListResponse--; |
1113 return o; | 1113 return o; |
1114 } | 1114 } |
1115 | 1115 |
1116 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1116 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
1117 buildCounterChannelSectionListResponse++; | 1117 buildCounterChannelSectionListResponse++; |
1118 if (buildCounterChannelSectionListResponse < 3) { | 1118 if (buildCounterChannelSectionListResponse < 3) { |
1119 unittest.expect(o.etag, unittest.equals('foo')); | 1119 unittest.expect(o.etag, unittest.equals('foo')); |
1120 unittest.expect(o.eventId, unittest.equals('foo')); | 1120 unittest.expect(o.eventId, unittest.equals('foo')); |
1121 checkUnnamed489(o.items); | 1121 checkUnnamed493(o.items); |
1122 unittest.expect(o.kind, unittest.equals('foo')); | 1122 unittest.expect(o.kind, unittest.equals('foo')); |
1123 unittest.expect(o.visitorId, unittest.equals('foo')); | 1123 unittest.expect(o.visitorId, unittest.equals('foo')); |
1124 } | 1124 } |
1125 buildCounterChannelSectionListResponse--; | 1125 buildCounterChannelSectionListResponse--; |
1126 } | 1126 } |
1127 | 1127 |
1128 core.int buildCounterChannelSectionLocalization = 0; | 1128 core.int buildCounterChannelSectionLocalization = 0; |
1129 buildChannelSectionLocalization() { | 1129 buildChannelSectionLocalization() { |
1130 var o = new api.ChannelSectionLocalization(); | 1130 var o = new api.ChannelSectionLocalization(); |
1131 buildCounterChannelSectionLocalization++; | 1131 buildCounterChannelSectionLocalization++; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1168 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
1169 checkChannelSectionLocalization(o.localized); | 1169 checkChannelSectionLocalization(o.localized); |
1170 unittest.expect(o.position, unittest.equals(42)); | 1170 unittest.expect(o.position, unittest.equals(42)); |
1171 unittest.expect(o.style, unittest.equals('foo')); | 1171 unittest.expect(o.style, unittest.equals('foo')); |
1172 unittest.expect(o.title, unittest.equals('foo')); | 1172 unittest.expect(o.title, unittest.equals('foo')); |
1173 unittest.expect(o.type, unittest.equals('foo')); | 1173 unittest.expect(o.type, unittest.equals('foo')); |
1174 } | 1174 } |
1175 buildCounterChannelSectionSnippet--; | 1175 buildCounterChannelSectionSnippet--; |
1176 } | 1176 } |
1177 | 1177 |
1178 buildUnnamed490() { | 1178 buildUnnamed494() { |
1179 var o = new core.List<core.String>(); | 1179 var o = new core.List<core.String>(); |
1180 o.add("foo"); | 1180 o.add("foo"); |
1181 o.add("foo"); | 1181 o.add("foo"); |
1182 return o; | 1182 return o; |
1183 } | 1183 } |
1184 | 1184 |
1185 checkUnnamed490(core.List<core.String> o) { | 1185 checkUnnamed494(core.List<core.String> o) { |
1186 unittest.expect(o, unittest.hasLength(2)); | 1186 unittest.expect(o, unittest.hasLength(2)); |
1187 unittest.expect(o[0], unittest.equals('foo')); | 1187 unittest.expect(o[0], unittest.equals('foo')); |
1188 unittest.expect(o[1], unittest.equals('foo')); | 1188 unittest.expect(o[1], unittest.equals('foo')); |
1189 } | 1189 } |
1190 | 1190 |
1191 buildUnnamed491() { | 1191 buildUnnamed495() { |
1192 var o = new core.List<core.String>(); | 1192 var o = new core.List<core.String>(); |
1193 o.add("foo"); | 1193 o.add("foo"); |
1194 o.add("foo"); | 1194 o.add("foo"); |
1195 return o; | 1195 return o; |
1196 } | 1196 } |
1197 | 1197 |
1198 checkUnnamed491(core.List<core.String> o) { | 1198 checkUnnamed495(core.List<core.String> o) { |
1199 unittest.expect(o, unittest.hasLength(2)); | 1199 unittest.expect(o, unittest.hasLength(2)); |
1200 unittest.expect(o[0], unittest.equals('foo')); | 1200 unittest.expect(o[0], unittest.equals('foo')); |
1201 unittest.expect(o[1], unittest.equals('foo')); | 1201 unittest.expect(o[1], unittest.equals('foo')); |
1202 } | 1202 } |
1203 | 1203 |
1204 buildUnnamed492() { | 1204 buildUnnamed496() { |
1205 var o = new core.List<core.String>(); | 1205 var o = new core.List<core.String>(); |
1206 o.add("foo"); | 1206 o.add("foo"); |
1207 o.add("foo"); | 1207 o.add("foo"); |
1208 return o; | 1208 return o; |
1209 } | 1209 } |
1210 | 1210 |
1211 checkUnnamed492(core.List<core.String> o) { | 1211 checkUnnamed496(core.List<core.String> o) { |
1212 unittest.expect(o, unittest.hasLength(2)); | 1212 unittest.expect(o, unittest.hasLength(2)); |
1213 unittest.expect(o[0], unittest.equals('foo')); | 1213 unittest.expect(o[0], unittest.equals('foo')); |
1214 unittest.expect(o[1], unittest.equals('foo')); | 1214 unittest.expect(o[1], unittest.equals('foo')); |
1215 } | 1215 } |
1216 | 1216 |
1217 core.int buildCounterChannelSectionTargeting = 0; | 1217 core.int buildCounterChannelSectionTargeting = 0; |
1218 buildChannelSectionTargeting() { | 1218 buildChannelSectionTargeting() { |
1219 var o = new api.ChannelSectionTargeting(); | 1219 var o = new api.ChannelSectionTargeting(); |
1220 buildCounterChannelSectionTargeting++; | 1220 buildCounterChannelSectionTargeting++; |
1221 if (buildCounterChannelSectionTargeting < 3) { | 1221 if (buildCounterChannelSectionTargeting < 3) { |
1222 o.countries = buildUnnamed490(); | 1222 o.countries = buildUnnamed494(); |
1223 o.languages = buildUnnamed491(); | 1223 o.languages = buildUnnamed495(); |
1224 o.regions = buildUnnamed492(); | 1224 o.regions = buildUnnamed496(); |
1225 } | 1225 } |
1226 buildCounterChannelSectionTargeting--; | 1226 buildCounterChannelSectionTargeting--; |
1227 return o; | 1227 return o; |
1228 } | 1228 } |
1229 | 1229 |
1230 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1230 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
1231 buildCounterChannelSectionTargeting++; | 1231 buildCounterChannelSectionTargeting++; |
1232 if (buildCounterChannelSectionTargeting < 3) { | 1232 if (buildCounterChannelSectionTargeting < 3) { |
1233 checkUnnamed490(o.countries); | 1233 checkUnnamed494(o.countries); |
1234 checkUnnamed491(o.languages); | 1234 checkUnnamed495(o.languages); |
1235 checkUnnamed492(o.regions); | 1235 checkUnnamed496(o.regions); |
1236 } | 1236 } |
1237 buildCounterChannelSectionTargeting--; | 1237 buildCounterChannelSectionTargeting--; |
1238 } | 1238 } |
1239 | 1239 |
1240 buildUnnamed493() { | 1240 buildUnnamed497() { |
1241 var o = new core.List<core.String>(); | 1241 var o = new core.List<core.String>(); |
1242 o.add("foo"); | 1242 o.add("foo"); |
1243 o.add("foo"); | 1243 o.add("foo"); |
1244 return o; | 1244 return o; |
1245 } | 1245 } |
1246 | 1246 |
1247 checkUnnamed493(core.List<core.String> o) { | 1247 checkUnnamed497(core.List<core.String> o) { |
1248 unittest.expect(o, unittest.hasLength(2)); | 1248 unittest.expect(o, unittest.hasLength(2)); |
1249 unittest.expect(o[0], unittest.equals('foo')); | 1249 unittest.expect(o[0], unittest.equals('foo')); |
1250 unittest.expect(o[1], unittest.equals('foo')); | 1250 unittest.expect(o[1], unittest.equals('foo')); |
1251 } | 1251 } |
1252 | 1252 |
1253 core.int buildCounterChannelSettings = 0; | 1253 core.int buildCounterChannelSettings = 0; |
1254 buildChannelSettings() { | 1254 buildChannelSettings() { |
1255 var o = new api.ChannelSettings(); | 1255 var o = new api.ChannelSettings(); |
1256 buildCounterChannelSettings++; | 1256 buildCounterChannelSettings++; |
1257 if (buildCounterChannelSettings < 3) { | 1257 if (buildCounterChannelSettings < 3) { |
1258 o.country = "foo"; | 1258 o.country = "foo"; |
1259 o.defaultLanguage = "foo"; | 1259 o.defaultLanguage = "foo"; |
1260 o.defaultTab = "foo"; | 1260 o.defaultTab = "foo"; |
1261 o.description = "foo"; | 1261 o.description = "foo"; |
1262 o.featuredChannelsTitle = "foo"; | 1262 o.featuredChannelsTitle = "foo"; |
1263 o.featuredChannelsUrls = buildUnnamed493(); | 1263 o.featuredChannelsUrls = buildUnnamed497(); |
1264 o.keywords = "foo"; | 1264 o.keywords = "foo"; |
1265 o.moderateComments = true; | 1265 o.moderateComments = true; |
1266 o.profileColor = "foo"; | 1266 o.profileColor = "foo"; |
1267 o.showBrowseView = true; | 1267 o.showBrowseView = true; |
1268 o.showRelatedChannels = true; | 1268 o.showRelatedChannels = true; |
1269 o.title = "foo"; | 1269 o.title = "foo"; |
1270 o.trackingAnalyticsAccountId = "foo"; | 1270 o.trackingAnalyticsAccountId = "foo"; |
1271 o.unsubscribedTrailer = "foo"; | 1271 o.unsubscribedTrailer = "foo"; |
1272 } | 1272 } |
1273 buildCounterChannelSettings--; | 1273 buildCounterChannelSettings--; |
1274 return o; | 1274 return o; |
1275 } | 1275 } |
1276 | 1276 |
1277 checkChannelSettings(api.ChannelSettings o) { | 1277 checkChannelSettings(api.ChannelSettings o) { |
1278 buildCounterChannelSettings++; | 1278 buildCounterChannelSettings++; |
1279 if (buildCounterChannelSettings < 3) { | 1279 if (buildCounterChannelSettings < 3) { |
1280 unittest.expect(o.country, unittest.equals('foo')); | 1280 unittest.expect(o.country, unittest.equals('foo')); |
1281 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1281 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
1282 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1282 unittest.expect(o.defaultTab, unittest.equals('foo')); |
1283 unittest.expect(o.description, unittest.equals('foo')); | 1283 unittest.expect(o.description, unittest.equals('foo')); |
1284 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1284 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
1285 checkUnnamed493(o.featuredChannelsUrls); | 1285 checkUnnamed497(o.featuredChannelsUrls); |
1286 unittest.expect(o.keywords, unittest.equals('foo')); | 1286 unittest.expect(o.keywords, unittest.equals('foo')); |
1287 unittest.expect(o.moderateComments, unittest.isTrue); | 1287 unittest.expect(o.moderateComments, unittest.isTrue); |
1288 unittest.expect(o.profileColor, unittest.equals('foo')); | 1288 unittest.expect(o.profileColor, unittest.equals('foo')); |
1289 unittest.expect(o.showBrowseView, unittest.isTrue); | 1289 unittest.expect(o.showBrowseView, unittest.isTrue); |
1290 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1290 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
1291 unittest.expect(o.title, unittest.equals('foo')); | 1291 unittest.expect(o.title, unittest.equals('foo')); |
1292 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1292 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
1293 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1293 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
1294 } | 1294 } |
1295 buildCounterChannelSettings--; | 1295 buildCounterChannelSettings--; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1371 checkChannelStatus(api.ChannelStatus o) { | 1371 checkChannelStatus(api.ChannelStatus o) { |
1372 buildCounterChannelStatus++; | 1372 buildCounterChannelStatus++; |
1373 if (buildCounterChannelStatus < 3) { | 1373 if (buildCounterChannelStatus < 3) { |
1374 unittest.expect(o.isLinked, unittest.isTrue); | 1374 unittest.expect(o.isLinked, unittest.isTrue); |
1375 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1375 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
1376 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1376 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
1377 } | 1377 } |
1378 buildCounterChannelStatus--; | 1378 buildCounterChannelStatus--; |
1379 } | 1379 } |
1380 | 1380 |
1381 buildUnnamed494() { | 1381 buildUnnamed498() { |
1382 var o = new core.List<core.String>(); | 1382 var o = new core.List<core.String>(); |
1383 o.add("foo"); | 1383 o.add("foo"); |
1384 o.add("foo"); | 1384 o.add("foo"); |
1385 return o; | 1385 return o; |
1386 } | 1386 } |
1387 | 1387 |
1388 checkUnnamed494(core.List<core.String> o) { | 1388 checkUnnamed498(core.List<core.String> o) { |
1389 unittest.expect(o, unittest.hasLength(2)); | 1389 unittest.expect(o, unittest.hasLength(2)); |
1390 unittest.expect(o[0], unittest.equals('foo')); | 1390 unittest.expect(o[0], unittest.equals('foo')); |
1391 unittest.expect(o[1], unittest.equals('foo')); | 1391 unittest.expect(o[1], unittest.equals('foo')); |
| 1392 } |
| 1393 |
| 1394 buildUnnamed499() { |
| 1395 var o = new core.List<core.String>(); |
| 1396 o.add("foo"); |
| 1397 o.add("foo"); |
| 1398 return o; |
| 1399 } |
| 1400 |
| 1401 checkUnnamed499(core.List<core.String> o) { |
| 1402 unittest.expect(o, unittest.hasLength(2)); |
| 1403 unittest.expect(o[0], unittest.equals('foo')); |
| 1404 unittest.expect(o[1], unittest.equals('foo')); |
1392 } | 1405 } |
1393 | 1406 |
1394 core.int buildCounterChannelTopicDetails = 0; | 1407 core.int buildCounterChannelTopicDetails = 0; |
1395 buildChannelTopicDetails() { | 1408 buildChannelTopicDetails() { |
1396 var o = new api.ChannelTopicDetails(); | 1409 var o = new api.ChannelTopicDetails(); |
1397 buildCounterChannelTopicDetails++; | 1410 buildCounterChannelTopicDetails++; |
1398 if (buildCounterChannelTopicDetails < 3) { | 1411 if (buildCounterChannelTopicDetails < 3) { |
1399 o.topicIds = buildUnnamed494(); | 1412 o.topicCategories = buildUnnamed498(); |
| 1413 o.topicIds = buildUnnamed499(); |
1400 } | 1414 } |
1401 buildCounterChannelTopicDetails--; | 1415 buildCounterChannelTopicDetails--; |
1402 return o; | 1416 return o; |
1403 } | 1417 } |
1404 | 1418 |
1405 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1419 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
1406 buildCounterChannelTopicDetails++; | 1420 buildCounterChannelTopicDetails++; |
1407 if (buildCounterChannelTopicDetails < 3) { | 1421 if (buildCounterChannelTopicDetails < 3) { |
1408 checkUnnamed494(o.topicIds); | 1422 checkUnnamed498(o.topicCategories); |
| 1423 checkUnnamed499(o.topicIds); |
1409 } | 1424 } |
1410 buildCounterChannelTopicDetails--; | 1425 buildCounterChannelTopicDetails--; |
1411 } | 1426 } |
1412 | 1427 |
1413 core.int buildCounterComment = 0; | 1428 core.int buildCounterComment = 0; |
1414 buildComment() { | 1429 buildComment() { |
1415 var o = new api.Comment(); | 1430 var o = new api.Comment(); |
1416 buildCounterComment++; | 1431 buildCounterComment++; |
1417 if (buildCounterComment < 3) { | 1432 if (buildCounterComment < 3) { |
1418 o.etag = "foo"; | 1433 o.etag = "foo"; |
1419 o.id = "foo"; | 1434 o.id = "foo"; |
1420 o.kind = "foo"; | 1435 o.kind = "foo"; |
1421 o.snippet = buildCommentSnippet(); | 1436 o.snippet = buildCommentSnippet(); |
1422 } | 1437 } |
1423 buildCounterComment--; | 1438 buildCounterComment--; |
1424 return o; | 1439 return o; |
1425 } | 1440 } |
1426 | 1441 |
1427 checkComment(api.Comment o) { | 1442 checkComment(api.Comment o) { |
1428 buildCounterComment++; | 1443 buildCounterComment++; |
1429 if (buildCounterComment < 3) { | 1444 if (buildCounterComment < 3) { |
1430 unittest.expect(o.etag, unittest.equals('foo')); | 1445 unittest.expect(o.etag, unittest.equals('foo')); |
1431 unittest.expect(o.id, unittest.equals('foo')); | 1446 unittest.expect(o.id, unittest.equals('foo')); |
1432 unittest.expect(o.kind, unittest.equals('foo')); | 1447 unittest.expect(o.kind, unittest.equals('foo')); |
1433 checkCommentSnippet(o.snippet); | 1448 checkCommentSnippet(o.snippet); |
1434 } | 1449 } |
1435 buildCounterComment--; | 1450 buildCounterComment--; |
1436 } | 1451 } |
1437 | 1452 |
1438 buildUnnamed495() { | 1453 buildUnnamed500() { |
1439 var o = new core.List<api.Comment>(); | 1454 var o = new core.List<api.Comment>(); |
1440 o.add(buildComment()); | 1455 o.add(buildComment()); |
1441 o.add(buildComment()); | 1456 o.add(buildComment()); |
1442 return o; | 1457 return o; |
1443 } | 1458 } |
1444 | 1459 |
1445 checkUnnamed495(core.List<api.Comment> o) { | 1460 checkUnnamed500(core.List<api.Comment> o) { |
1446 unittest.expect(o, unittest.hasLength(2)); | 1461 unittest.expect(o, unittest.hasLength(2)); |
1447 checkComment(o[0]); | 1462 checkComment(o[0]); |
1448 checkComment(o[1]); | 1463 checkComment(o[1]); |
1449 } | 1464 } |
1450 | 1465 |
1451 core.int buildCounterCommentListResponse = 0; | 1466 core.int buildCounterCommentListResponse = 0; |
1452 buildCommentListResponse() { | 1467 buildCommentListResponse() { |
1453 var o = new api.CommentListResponse(); | 1468 var o = new api.CommentListResponse(); |
1454 buildCounterCommentListResponse++; | 1469 buildCounterCommentListResponse++; |
1455 if (buildCounterCommentListResponse < 3) { | 1470 if (buildCounterCommentListResponse < 3) { |
1456 o.etag = "foo"; | 1471 o.etag = "foo"; |
1457 o.eventId = "foo"; | 1472 o.eventId = "foo"; |
1458 o.items = buildUnnamed495(); | 1473 o.items = buildUnnamed500(); |
1459 o.kind = "foo"; | 1474 o.kind = "foo"; |
1460 o.nextPageToken = "foo"; | 1475 o.nextPageToken = "foo"; |
1461 o.pageInfo = buildPageInfo(); | 1476 o.pageInfo = buildPageInfo(); |
1462 o.tokenPagination = buildTokenPagination(); | 1477 o.tokenPagination = buildTokenPagination(); |
1463 o.visitorId = "foo"; | 1478 o.visitorId = "foo"; |
1464 } | 1479 } |
1465 buildCounterCommentListResponse--; | 1480 buildCounterCommentListResponse--; |
1466 return o; | 1481 return o; |
1467 } | 1482 } |
1468 | 1483 |
1469 checkCommentListResponse(api.CommentListResponse o) { | 1484 checkCommentListResponse(api.CommentListResponse o) { |
1470 buildCounterCommentListResponse++; | 1485 buildCounterCommentListResponse++; |
1471 if (buildCounterCommentListResponse < 3) { | 1486 if (buildCounterCommentListResponse < 3) { |
1472 unittest.expect(o.etag, unittest.equals('foo')); | 1487 unittest.expect(o.etag, unittest.equals('foo')); |
1473 unittest.expect(o.eventId, unittest.equals('foo')); | 1488 unittest.expect(o.eventId, unittest.equals('foo')); |
1474 checkUnnamed495(o.items); | 1489 checkUnnamed500(o.items); |
1475 unittest.expect(o.kind, unittest.equals('foo')); | 1490 unittest.expect(o.kind, unittest.equals('foo')); |
1476 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1491 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1477 checkPageInfo(o.pageInfo); | 1492 checkPageInfo(o.pageInfo); |
1478 checkTokenPagination(o.tokenPagination); | 1493 checkTokenPagination(o.tokenPagination); |
1479 unittest.expect(o.visitorId, unittest.equals('foo')); | 1494 unittest.expect(o.visitorId, unittest.equals('foo')); |
1480 } | 1495 } |
1481 buildCounterCommentListResponse--; | 1496 buildCounterCommentListResponse--; |
1482 } | 1497 } |
1483 | 1498 |
1484 core.int buildCounterCommentSnippet = 0; | 1499 core.int buildCounterCommentSnippet = 0; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1548 if (buildCounterCommentThread < 3) { | 1563 if (buildCounterCommentThread < 3) { |
1549 unittest.expect(o.etag, unittest.equals('foo')); | 1564 unittest.expect(o.etag, unittest.equals('foo')); |
1550 unittest.expect(o.id, unittest.equals('foo')); | 1565 unittest.expect(o.id, unittest.equals('foo')); |
1551 unittest.expect(o.kind, unittest.equals('foo')); | 1566 unittest.expect(o.kind, unittest.equals('foo')); |
1552 checkCommentThreadReplies(o.replies); | 1567 checkCommentThreadReplies(o.replies); |
1553 checkCommentThreadSnippet(o.snippet); | 1568 checkCommentThreadSnippet(o.snippet); |
1554 } | 1569 } |
1555 buildCounterCommentThread--; | 1570 buildCounterCommentThread--; |
1556 } | 1571 } |
1557 | 1572 |
1558 buildUnnamed496() { | 1573 buildUnnamed501() { |
1559 var o = new core.List<api.CommentThread>(); | 1574 var o = new core.List<api.CommentThread>(); |
1560 o.add(buildCommentThread()); | 1575 o.add(buildCommentThread()); |
1561 o.add(buildCommentThread()); | 1576 o.add(buildCommentThread()); |
1562 return o; | 1577 return o; |
1563 } | 1578 } |
1564 | 1579 |
1565 checkUnnamed496(core.List<api.CommentThread> o) { | 1580 checkUnnamed501(core.List<api.CommentThread> o) { |
1566 unittest.expect(o, unittest.hasLength(2)); | 1581 unittest.expect(o, unittest.hasLength(2)); |
1567 checkCommentThread(o[0]); | 1582 checkCommentThread(o[0]); |
1568 checkCommentThread(o[1]); | 1583 checkCommentThread(o[1]); |
1569 } | 1584 } |
1570 | 1585 |
1571 core.int buildCounterCommentThreadListResponse = 0; | 1586 core.int buildCounterCommentThreadListResponse = 0; |
1572 buildCommentThreadListResponse() { | 1587 buildCommentThreadListResponse() { |
1573 var o = new api.CommentThreadListResponse(); | 1588 var o = new api.CommentThreadListResponse(); |
1574 buildCounterCommentThreadListResponse++; | 1589 buildCounterCommentThreadListResponse++; |
1575 if (buildCounterCommentThreadListResponse < 3) { | 1590 if (buildCounterCommentThreadListResponse < 3) { |
1576 o.etag = "foo"; | 1591 o.etag = "foo"; |
1577 o.eventId = "foo"; | 1592 o.eventId = "foo"; |
1578 o.items = buildUnnamed496(); | 1593 o.items = buildUnnamed501(); |
1579 o.kind = "foo"; | 1594 o.kind = "foo"; |
1580 o.nextPageToken = "foo"; | 1595 o.nextPageToken = "foo"; |
1581 o.pageInfo = buildPageInfo(); | 1596 o.pageInfo = buildPageInfo(); |
1582 o.tokenPagination = buildTokenPagination(); | 1597 o.tokenPagination = buildTokenPagination(); |
1583 o.visitorId = "foo"; | 1598 o.visitorId = "foo"; |
1584 } | 1599 } |
1585 buildCounterCommentThreadListResponse--; | 1600 buildCounterCommentThreadListResponse--; |
1586 return o; | 1601 return o; |
1587 } | 1602 } |
1588 | 1603 |
1589 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1604 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
1590 buildCounterCommentThreadListResponse++; | 1605 buildCounterCommentThreadListResponse++; |
1591 if (buildCounterCommentThreadListResponse < 3) { | 1606 if (buildCounterCommentThreadListResponse < 3) { |
1592 unittest.expect(o.etag, unittest.equals('foo')); | 1607 unittest.expect(o.etag, unittest.equals('foo')); |
1593 unittest.expect(o.eventId, unittest.equals('foo')); | 1608 unittest.expect(o.eventId, unittest.equals('foo')); |
1594 checkUnnamed496(o.items); | 1609 checkUnnamed501(o.items); |
1595 unittest.expect(o.kind, unittest.equals('foo')); | 1610 unittest.expect(o.kind, unittest.equals('foo')); |
1596 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1611 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1597 checkPageInfo(o.pageInfo); | 1612 checkPageInfo(o.pageInfo); |
1598 checkTokenPagination(o.tokenPagination); | 1613 checkTokenPagination(o.tokenPagination); |
1599 unittest.expect(o.visitorId, unittest.equals('foo')); | 1614 unittest.expect(o.visitorId, unittest.equals('foo')); |
1600 } | 1615 } |
1601 buildCounterCommentThreadListResponse--; | 1616 buildCounterCommentThreadListResponse--; |
1602 } | 1617 } |
1603 | 1618 |
1604 buildUnnamed497() { | 1619 buildUnnamed502() { |
1605 var o = new core.List<api.Comment>(); | 1620 var o = new core.List<api.Comment>(); |
1606 o.add(buildComment()); | 1621 o.add(buildComment()); |
1607 o.add(buildComment()); | 1622 o.add(buildComment()); |
1608 return o; | 1623 return o; |
1609 } | 1624 } |
1610 | 1625 |
1611 checkUnnamed497(core.List<api.Comment> o) { | 1626 checkUnnamed502(core.List<api.Comment> o) { |
1612 unittest.expect(o, unittest.hasLength(2)); | 1627 unittest.expect(o, unittest.hasLength(2)); |
1613 checkComment(o[0]); | 1628 checkComment(o[0]); |
1614 checkComment(o[1]); | 1629 checkComment(o[1]); |
1615 } | 1630 } |
1616 | 1631 |
1617 core.int buildCounterCommentThreadReplies = 0; | 1632 core.int buildCounterCommentThreadReplies = 0; |
1618 buildCommentThreadReplies() { | 1633 buildCommentThreadReplies() { |
1619 var o = new api.CommentThreadReplies(); | 1634 var o = new api.CommentThreadReplies(); |
1620 buildCounterCommentThreadReplies++; | 1635 buildCounterCommentThreadReplies++; |
1621 if (buildCounterCommentThreadReplies < 3) { | 1636 if (buildCounterCommentThreadReplies < 3) { |
1622 o.comments = buildUnnamed497(); | 1637 o.comments = buildUnnamed502(); |
1623 } | 1638 } |
1624 buildCounterCommentThreadReplies--; | 1639 buildCounterCommentThreadReplies--; |
1625 return o; | 1640 return o; |
1626 } | 1641 } |
1627 | 1642 |
1628 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1643 checkCommentThreadReplies(api.CommentThreadReplies o) { |
1629 buildCounterCommentThreadReplies++; | 1644 buildCounterCommentThreadReplies++; |
1630 if (buildCounterCommentThreadReplies < 3) { | 1645 if (buildCounterCommentThreadReplies < 3) { |
1631 checkUnnamed497(o.comments); | 1646 checkUnnamed502(o.comments); |
1632 } | 1647 } |
1633 buildCounterCommentThreadReplies--; | 1648 buildCounterCommentThreadReplies--; |
1634 } | 1649 } |
1635 | 1650 |
1636 core.int buildCounterCommentThreadSnippet = 0; | 1651 core.int buildCounterCommentThreadSnippet = 0; |
1637 buildCommentThreadSnippet() { | 1652 buildCommentThreadSnippet() { |
1638 var o = new api.CommentThreadSnippet(); | 1653 var o = new api.CommentThreadSnippet(); |
1639 buildCounterCommentThreadSnippet++; | 1654 buildCounterCommentThreadSnippet++; |
1640 if (buildCounterCommentThreadSnippet < 3) { | 1655 if (buildCounterCommentThreadSnippet < 3) { |
1641 o.canReply = true; | 1656 o.canReply = true; |
(...skipping 13 matching lines...) Expand all Loading... |
1655 unittest.expect(o.canReply, unittest.isTrue); | 1670 unittest.expect(o.canReply, unittest.isTrue); |
1656 unittest.expect(o.channelId, unittest.equals('foo')); | 1671 unittest.expect(o.channelId, unittest.equals('foo')); |
1657 unittest.expect(o.isPublic, unittest.isTrue); | 1672 unittest.expect(o.isPublic, unittest.isTrue); |
1658 checkComment(o.topLevelComment); | 1673 checkComment(o.topLevelComment); |
1659 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1674 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
1660 unittest.expect(o.videoId, unittest.equals('foo')); | 1675 unittest.expect(o.videoId, unittest.equals('foo')); |
1661 } | 1676 } |
1662 buildCounterCommentThreadSnippet--; | 1677 buildCounterCommentThreadSnippet--; |
1663 } | 1678 } |
1664 | 1679 |
1665 buildUnnamed498() { | 1680 buildUnnamed503() { |
1666 var o = new core.List<core.String>(); | 1681 var o = new core.List<core.String>(); |
1667 o.add("foo"); | 1682 o.add("foo"); |
1668 o.add("foo"); | 1683 o.add("foo"); |
1669 return o; | 1684 return o; |
1670 } | 1685 } |
1671 | 1686 |
1672 checkUnnamed498(core.List<core.String> o) { | 1687 checkUnnamed503(core.List<core.String> o) { |
1673 unittest.expect(o, unittest.hasLength(2)); | 1688 unittest.expect(o, unittest.hasLength(2)); |
1674 unittest.expect(o[0], unittest.equals('foo')); | 1689 unittest.expect(o[0], unittest.equals('foo')); |
1675 unittest.expect(o[1], unittest.equals('foo')); | 1690 unittest.expect(o[1], unittest.equals('foo')); |
1676 } | 1691 } |
1677 | 1692 |
1678 buildUnnamed499() { | 1693 buildUnnamed504() { |
1679 var o = new core.List<core.String>(); | 1694 var o = new core.List<core.String>(); |
1680 o.add("foo"); | 1695 o.add("foo"); |
1681 o.add("foo"); | 1696 o.add("foo"); |
1682 return o; | 1697 return o; |
1683 } | 1698 } |
1684 | 1699 |
1685 checkUnnamed499(core.List<core.String> o) { | 1700 checkUnnamed504(core.List<core.String> o) { |
1686 unittest.expect(o, unittest.hasLength(2)); | 1701 unittest.expect(o, unittest.hasLength(2)); |
1687 unittest.expect(o[0], unittest.equals('foo')); | 1702 unittest.expect(o[0], unittest.equals('foo')); |
1688 unittest.expect(o[1], unittest.equals('foo')); | 1703 unittest.expect(o[1], unittest.equals('foo')); |
1689 } | 1704 } |
1690 | 1705 |
1691 core.int buildCounterContentRating = 0; | 1706 core.int buildCounterContentRating = 0; |
1692 buildContentRating() { | 1707 buildContentRating() { |
1693 var o = new api.ContentRating(); | 1708 var o = new api.ContentRating(); |
1694 buildCounterContentRating++; | 1709 buildCounterContentRating++; |
1695 if (buildCounterContentRating < 3) { | 1710 if (buildCounterContentRating < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1706 o.cceRating = "foo"; | 1721 o.cceRating = "foo"; |
1707 o.chfilmRating = "foo"; | 1722 o.chfilmRating = "foo"; |
1708 o.chvrsRating = "foo"; | 1723 o.chvrsRating = "foo"; |
1709 o.cicfRating = "foo"; | 1724 o.cicfRating = "foo"; |
1710 o.cnaRating = "foo"; | 1725 o.cnaRating = "foo"; |
1711 o.cncRating = "foo"; | 1726 o.cncRating = "foo"; |
1712 o.csaRating = "foo"; | 1727 o.csaRating = "foo"; |
1713 o.cscfRating = "foo"; | 1728 o.cscfRating = "foo"; |
1714 o.czfilmRating = "foo"; | 1729 o.czfilmRating = "foo"; |
1715 o.djctqRating = "foo"; | 1730 o.djctqRating = "foo"; |
1716 o.djctqRatingReasons = buildUnnamed498(); | 1731 o.djctqRatingReasons = buildUnnamed503(); |
1717 o.ecbmctRating = "foo"; | 1732 o.ecbmctRating = "foo"; |
1718 o.eefilmRating = "foo"; | 1733 o.eefilmRating = "foo"; |
1719 o.egfilmRating = "foo"; | 1734 o.egfilmRating = "foo"; |
1720 o.eirinRating = "foo"; | 1735 o.eirinRating = "foo"; |
1721 o.fcbmRating = "foo"; | 1736 o.fcbmRating = "foo"; |
1722 o.fcoRating = "foo"; | 1737 o.fcoRating = "foo"; |
1723 o.fmocRating = "foo"; | 1738 o.fmocRating = "foo"; |
1724 o.fpbRating = "foo"; | 1739 o.fpbRating = "foo"; |
1725 o.fpbRatingReasons = buildUnnamed499(); | 1740 o.fpbRatingReasons = buildUnnamed504(); |
1726 o.fskRating = "foo"; | 1741 o.fskRating = "foo"; |
1727 o.grfilmRating = "foo"; | 1742 o.grfilmRating = "foo"; |
1728 o.icaaRating = "foo"; | 1743 o.icaaRating = "foo"; |
1729 o.ifcoRating = "foo"; | 1744 o.ifcoRating = "foo"; |
1730 o.ilfilmRating = "foo"; | 1745 o.ilfilmRating = "foo"; |
1731 o.incaaRating = "foo"; | 1746 o.incaaRating = "foo"; |
1732 o.kfcbRating = "foo"; | 1747 o.kfcbRating = "foo"; |
1733 o.kijkwijzerRating = "foo"; | 1748 o.kijkwijzerRating = "foo"; |
1734 o.kmrbRating = "foo"; | 1749 o.kmrbRating = "foo"; |
1735 o.lsfRating = "foo"; | 1750 o.lsfRating = "foo"; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1782 unittest.expect(o.cceRating, unittest.equals('foo')); | 1797 unittest.expect(o.cceRating, unittest.equals('foo')); |
1783 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1798 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
1784 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1799 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
1785 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1800 unittest.expect(o.cicfRating, unittest.equals('foo')); |
1786 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1801 unittest.expect(o.cnaRating, unittest.equals('foo')); |
1787 unittest.expect(o.cncRating, unittest.equals('foo')); | 1802 unittest.expect(o.cncRating, unittest.equals('foo')); |
1788 unittest.expect(o.csaRating, unittest.equals('foo')); | 1803 unittest.expect(o.csaRating, unittest.equals('foo')); |
1789 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1804 unittest.expect(o.cscfRating, unittest.equals('foo')); |
1790 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1805 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
1791 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1806 unittest.expect(o.djctqRating, unittest.equals('foo')); |
1792 checkUnnamed498(o.djctqRatingReasons); | 1807 checkUnnamed503(o.djctqRatingReasons); |
1793 unittest.expect(o.ecbmctRating, unittest.equals('foo')); | 1808 unittest.expect(o.ecbmctRating, unittest.equals('foo')); |
1794 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1809 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
1795 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1810 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
1796 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1811 unittest.expect(o.eirinRating, unittest.equals('foo')); |
1797 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1812 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
1798 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1813 unittest.expect(o.fcoRating, unittest.equals('foo')); |
1799 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1814 unittest.expect(o.fmocRating, unittest.equals('foo')); |
1800 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1815 unittest.expect(o.fpbRating, unittest.equals('foo')); |
1801 checkUnnamed499(o.fpbRatingReasons); | 1816 checkUnnamed504(o.fpbRatingReasons); |
1802 unittest.expect(o.fskRating, unittest.equals('foo')); | 1817 unittest.expect(o.fskRating, unittest.equals('foo')); |
1803 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1818 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
1804 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1819 unittest.expect(o.icaaRating, unittest.equals('foo')); |
1805 unittest.expect(o.ifcoRating, unittest.equals('foo')); | 1820 unittest.expect(o.ifcoRating, unittest.equals('foo')); |
1806 unittest.expect(o.ilfilmRating, unittest.equals('foo')); | 1821 unittest.expect(o.ilfilmRating, unittest.equals('foo')); |
1807 unittest.expect(o.incaaRating, unittest.equals('foo')); | 1822 unittest.expect(o.incaaRating, unittest.equals('foo')); |
1808 unittest.expect(o.kfcbRating, unittest.equals('foo')); | 1823 unittest.expect(o.kfcbRating, unittest.equals('foo')); |
1809 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); | 1824 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); |
1810 unittest.expect(o.kmrbRating, unittest.equals('foo')); | 1825 unittest.expect(o.kmrbRating, unittest.equals('foo')); |
1811 unittest.expect(o.lsfRating, unittest.equals('foo')); | 1826 unittest.expect(o.lsfRating, unittest.equals('foo')); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 buildCounterFanFundingEvent++; | 1874 buildCounterFanFundingEvent++; |
1860 if (buildCounterFanFundingEvent < 3) { | 1875 if (buildCounterFanFundingEvent < 3) { |
1861 unittest.expect(o.etag, unittest.equals('foo')); | 1876 unittest.expect(o.etag, unittest.equals('foo')); |
1862 unittest.expect(o.id, unittest.equals('foo')); | 1877 unittest.expect(o.id, unittest.equals('foo')); |
1863 unittest.expect(o.kind, unittest.equals('foo')); | 1878 unittest.expect(o.kind, unittest.equals('foo')); |
1864 checkFanFundingEventSnippet(o.snippet); | 1879 checkFanFundingEventSnippet(o.snippet); |
1865 } | 1880 } |
1866 buildCounterFanFundingEvent--; | 1881 buildCounterFanFundingEvent--; |
1867 } | 1882 } |
1868 | 1883 |
1869 buildUnnamed500() { | 1884 buildUnnamed505() { |
1870 var o = new core.List<api.FanFundingEvent>(); | 1885 var o = new core.List<api.FanFundingEvent>(); |
1871 o.add(buildFanFundingEvent()); | 1886 o.add(buildFanFundingEvent()); |
1872 o.add(buildFanFundingEvent()); | 1887 o.add(buildFanFundingEvent()); |
1873 return o; | 1888 return o; |
1874 } | 1889 } |
1875 | 1890 |
1876 checkUnnamed500(core.List<api.FanFundingEvent> o) { | 1891 checkUnnamed505(core.List<api.FanFundingEvent> o) { |
1877 unittest.expect(o, unittest.hasLength(2)); | 1892 unittest.expect(o, unittest.hasLength(2)); |
1878 checkFanFundingEvent(o[0]); | 1893 checkFanFundingEvent(o[0]); |
1879 checkFanFundingEvent(o[1]); | 1894 checkFanFundingEvent(o[1]); |
1880 } | 1895 } |
1881 | 1896 |
1882 core.int buildCounterFanFundingEventListResponse = 0; | 1897 core.int buildCounterFanFundingEventListResponse = 0; |
1883 buildFanFundingEventListResponse() { | 1898 buildFanFundingEventListResponse() { |
1884 var o = new api.FanFundingEventListResponse(); | 1899 var o = new api.FanFundingEventListResponse(); |
1885 buildCounterFanFundingEventListResponse++; | 1900 buildCounterFanFundingEventListResponse++; |
1886 if (buildCounterFanFundingEventListResponse < 3) { | 1901 if (buildCounterFanFundingEventListResponse < 3) { |
1887 o.etag = "foo"; | 1902 o.etag = "foo"; |
1888 o.eventId = "foo"; | 1903 o.eventId = "foo"; |
1889 o.items = buildUnnamed500(); | 1904 o.items = buildUnnamed505(); |
1890 o.kind = "foo"; | 1905 o.kind = "foo"; |
1891 o.nextPageToken = "foo"; | 1906 o.nextPageToken = "foo"; |
1892 o.pageInfo = buildPageInfo(); | 1907 o.pageInfo = buildPageInfo(); |
1893 o.tokenPagination = buildTokenPagination(); | 1908 o.tokenPagination = buildTokenPagination(); |
1894 o.visitorId = "foo"; | 1909 o.visitorId = "foo"; |
1895 } | 1910 } |
1896 buildCounterFanFundingEventListResponse--; | 1911 buildCounterFanFundingEventListResponse--; |
1897 return o; | 1912 return o; |
1898 } | 1913 } |
1899 | 1914 |
1900 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { | 1915 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { |
1901 buildCounterFanFundingEventListResponse++; | 1916 buildCounterFanFundingEventListResponse++; |
1902 if (buildCounterFanFundingEventListResponse < 3) { | 1917 if (buildCounterFanFundingEventListResponse < 3) { |
1903 unittest.expect(o.etag, unittest.equals('foo')); | 1918 unittest.expect(o.etag, unittest.equals('foo')); |
1904 unittest.expect(o.eventId, unittest.equals('foo')); | 1919 unittest.expect(o.eventId, unittest.equals('foo')); |
1905 checkUnnamed500(o.items); | 1920 checkUnnamed505(o.items); |
1906 unittest.expect(o.kind, unittest.equals('foo')); | 1921 unittest.expect(o.kind, unittest.equals('foo')); |
1907 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1908 checkPageInfo(o.pageInfo); | 1923 checkPageInfo(o.pageInfo); |
1909 checkTokenPagination(o.tokenPagination); | 1924 checkTokenPagination(o.tokenPagination); |
1910 unittest.expect(o.visitorId, unittest.equals('foo')); | 1925 unittest.expect(o.visitorId, unittest.equals('foo')); |
1911 } | 1926 } |
1912 buildCounterFanFundingEventListResponse--; | 1927 buildCounterFanFundingEventListResponse--; |
1913 } | 1928 } |
1914 | 1929 |
1915 core.int buildCounterFanFundingEventSnippet = 0; | 1930 core.int buildCounterFanFundingEventSnippet = 0; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1984 buildCounterGuideCategory++; | 1999 buildCounterGuideCategory++; |
1985 if (buildCounterGuideCategory < 3) { | 2000 if (buildCounterGuideCategory < 3) { |
1986 unittest.expect(o.etag, unittest.equals('foo')); | 2001 unittest.expect(o.etag, unittest.equals('foo')); |
1987 unittest.expect(o.id, unittest.equals('foo')); | 2002 unittest.expect(o.id, unittest.equals('foo')); |
1988 unittest.expect(o.kind, unittest.equals('foo')); | 2003 unittest.expect(o.kind, unittest.equals('foo')); |
1989 checkGuideCategorySnippet(o.snippet); | 2004 checkGuideCategorySnippet(o.snippet); |
1990 } | 2005 } |
1991 buildCounterGuideCategory--; | 2006 buildCounterGuideCategory--; |
1992 } | 2007 } |
1993 | 2008 |
1994 buildUnnamed501() { | 2009 buildUnnamed506() { |
1995 var o = new core.List<api.GuideCategory>(); | 2010 var o = new core.List<api.GuideCategory>(); |
1996 o.add(buildGuideCategory()); | 2011 o.add(buildGuideCategory()); |
1997 o.add(buildGuideCategory()); | 2012 o.add(buildGuideCategory()); |
1998 return o; | 2013 return o; |
1999 } | 2014 } |
2000 | 2015 |
2001 checkUnnamed501(core.List<api.GuideCategory> o) { | 2016 checkUnnamed506(core.List<api.GuideCategory> o) { |
2002 unittest.expect(o, unittest.hasLength(2)); | 2017 unittest.expect(o, unittest.hasLength(2)); |
2003 checkGuideCategory(o[0]); | 2018 checkGuideCategory(o[0]); |
2004 checkGuideCategory(o[1]); | 2019 checkGuideCategory(o[1]); |
2005 } | 2020 } |
2006 | 2021 |
2007 core.int buildCounterGuideCategoryListResponse = 0; | 2022 core.int buildCounterGuideCategoryListResponse = 0; |
2008 buildGuideCategoryListResponse() { | 2023 buildGuideCategoryListResponse() { |
2009 var o = new api.GuideCategoryListResponse(); | 2024 var o = new api.GuideCategoryListResponse(); |
2010 buildCounterGuideCategoryListResponse++; | 2025 buildCounterGuideCategoryListResponse++; |
2011 if (buildCounterGuideCategoryListResponse < 3) { | 2026 if (buildCounterGuideCategoryListResponse < 3) { |
2012 o.etag = "foo"; | 2027 o.etag = "foo"; |
2013 o.eventId = "foo"; | 2028 o.eventId = "foo"; |
2014 o.items = buildUnnamed501(); | 2029 o.items = buildUnnamed506(); |
2015 o.kind = "foo"; | 2030 o.kind = "foo"; |
2016 o.nextPageToken = "foo"; | 2031 o.nextPageToken = "foo"; |
2017 o.pageInfo = buildPageInfo(); | 2032 o.pageInfo = buildPageInfo(); |
2018 o.prevPageToken = "foo"; | 2033 o.prevPageToken = "foo"; |
2019 o.tokenPagination = buildTokenPagination(); | 2034 o.tokenPagination = buildTokenPagination(); |
2020 o.visitorId = "foo"; | 2035 o.visitorId = "foo"; |
2021 } | 2036 } |
2022 buildCounterGuideCategoryListResponse--; | 2037 buildCounterGuideCategoryListResponse--; |
2023 return o; | 2038 return o; |
2024 } | 2039 } |
2025 | 2040 |
2026 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 2041 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
2027 buildCounterGuideCategoryListResponse++; | 2042 buildCounterGuideCategoryListResponse++; |
2028 if (buildCounterGuideCategoryListResponse < 3) { | 2043 if (buildCounterGuideCategoryListResponse < 3) { |
2029 unittest.expect(o.etag, unittest.equals('foo')); | 2044 unittest.expect(o.etag, unittest.equals('foo')); |
2030 unittest.expect(o.eventId, unittest.equals('foo')); | 2045 unittest.expect(o.eventId, unittest.equals('foo')); |
2031 checkUnnamed501(o.items); | 2046 checkUnnamed506(o.items); |
2032 unittest.expect(o.kind, unittest.equals('foo')); | 2047 unittest.expect(o.kind, unittest.equals('foo')); |
2033 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2048 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2034 checkPageInfo(o.pageInfo); | 2049 checkPageInfo(o.pageInfo); |
2035 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2050 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2036 checkTokenPagination(o.tokenPagination); | 2051 checkTokenPagination(o.tokenPagination); |
2037 unittest.expect(o.visitorId, unittest.equals('foo')); | 2052 unittest.expect(o.visitorId, unittest.equals('foo')); |
2038 } | 2053 } |
2039 buildCounterGuideCategoryListResponse--; | 2054 buildCounterGuideCategoryListResponse--; |
2040 } | 2055 } |
2041 | 2056 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2078 buildCounterI18nLanguage++; | 2093 buildCounterI18nLanguage++; |
2079 if (buildCounterI18nLanguage < 3) { | 2094 if (buildCounterI18nLanguage < 3) { |
2080 unittest.expect(o.etag, unittest.equals('foo')); | 2095 unittest.expect(o.etag, unittest.equals('foo')); |
2081 unittest.expect(o.id, unittest.equals('foo')); | 2096 unittest.expect(o.id, unittest.equals('foo')); |
2082 unittest.expect(o.kind, unittest.equals('foo')); | 2097 unittest.expect(o.kind, unittest.equals('foo')); |
2083 checkI18nLanguageSnippet(o.snippet); | 2098 checkI18nLanguageSnippet(o.snippet); |
2084 } | 2099 } |
2085 buildCounterI18nLanguage--; | 2100 buildCounterI18nLanguage--; |
2086 } | 2101 } |
2087 | 2102 |
2088 buildUnnamed502() { | 2103 buildUnnamed507() { |
2089 var o = new core.List<api.I18nLanguage>(); | 2104 var o = new core.List<api.I18nLanguage>(); |
2090 o.add(buildI18nLanguage()); | 2105 o.add(buildI18nLanguage()); |
2091 o.add(buildI18nLanguage()); | 2106 o.add(buildI18nLanguage()); |
2092 return o; | 2107 return o; |
2093 } | 2108 } |
2094 | 2109 |
2095 checkUnnamed502(core.List<api.I18nLanguage> o) { | 2110 checkUnnamed507(core.List<api.I18nLanguage> o) { |
2096 unittest.expect(o, unittest.hasLength(2)); | 2111 unittest.expect(o, unittest.hasLength(2)); |
2097 checkI18nLanguage(o[0]); | 2112 checkI18nLanguage(o[0]); |
2098 checkI18nLanguage(o[1]); | 2113 checkI18nLanguage(o[1]); |
2099 } | 2114 } |
2100 | 2115 |
2101 core.int buildCounterI18nLanguageListResponse = 0; | 2116 core.int buildCounterI18nLanguageListResponse = 0; |
2102 buildI18nLanguageListResponse() { | 2117 buildI18nLanguageListResponse() { |
2103 var o = new api.I18nLanguageListResponse(); | 2118 var o = new api.I18nLanguageListResponse(); |
2104 buildCounterI18nLanguageListResponse++; | 2119 buildCounterI18nLanguageListResponse++; |
2105 if (buildCounterI18nLanguageListResponse < 3) { | 2120 if (buildCounterI18nLanguageListResponse < 3) { |
2106 o.etag = "foo"; | 2121 o.etag = "foo"; |
2107 o.eventId = "foo"; | 2122 o.eventId = "foo"; |
2108 o.items = buildUnnamed502(); | 2123 o.items = buildUnnamed507(); |
2109 o.kind = "foo"; | 2124 o.kind = "foo"; |
2110 o.visitorId = "foo"; | 2125 o.visitorId = "foo"; |
2111 } | 2126 } |
2112 buildCounterI18nLanguageListResponse--; | 2127 buildCounterI18nLanguageListResponse--; |
2113 return o; | 2128 return o; |
2114 } | 2129 } |
2115 | 2130 |
2116 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 2131 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
2117 buildCounterI18nLanguageListResponse++; | 2132 buildCounterI18nLanguageListResponse++; |
2118 if (buildCounterI18nLanguageListResponse < 3) { | 2133 if (buildCounterI18nLanguageListResponse < 3) { |
2119 unittest.expect(o.etag, unittest.equals('foo')); | 2134 unittest.expect(o.etag, unittest.equals('foo')); |
2120 unittest.expect(o.eventId, unittest.equals('foo')); | 2135 unittest.expect(o.eventId, unittest.equals('foo')); |
2121 checkUnnamed502(o.items); | 2136 checkUnnamed507(o.items); |
2122 unittest.expect(o.kind, unittest.equals('foo')); | 2137 unittest.expect(o.kind, unittest.equals('foo')); |
2123 unittest.expect(o.visitorId, unittest.equals('foo')); | 2138 unittest.expect(o.visitorId, unittest.equals('foo')); |
2124 } | 2139 } |
2125 buildCounterI18nLanguageListResponse--; | 2140 buildCounterI18nLanguageListResponse--; |
2126 } | 2141 } |
2127 | 2142 |
2128 core.int buildCounterI18nLanguageSnippet = 0; | 2143 core.int buildCounterI18nLanguageSnippet = 0; |
2129 buildI18nLanguageSnippet() { | 2144 buildI18nLanguageSnippet() { |
2130 var o = new api.I18nLanguageSnippet(); | 2145 var o = new api.I18nLanguageSnippet(); |
2131 buildCounterI18nLanguageSnippet++; | 2146 buildCounterI18nLanguageSnippet++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 buildCounterI18nRegion++; | 2179 buildCounterI18nRegion++; |
2165 if (buildCounterI18nRegion < 3) { | 2180 if (buildCounterI18nRegion < 3) { |
2166 unittest.expect(o.etag, unittest.equals('foo')); | 2181 unittest.expect(o.etag, unittest.equals('foo')); |
2167 unittest.expect(o.id, unittest.equals('foo')); | 2182 unittest.expect(o.id, unittest.equals('foo')); |
2168 unittest.expect(o.kind, unittest.equals('foo')); | 2183 unittest.expect(o.kind, unittest.equals('foo')); |
2169 checkI18nRegionSnippet(o.snippet); | 2184 checkI18nRegionSnippet(o.snippet); |
2170 } | 2185 } |
2171 buildCounterI18nRegion--; | 2186 buildCounterI18nRegion--; |
2172 } | 2187 } |
2173 | 2188 |
2174 buildUnnamed503() { | 2189 buildUnnamed508() { |
2175 var o = new core.List<api.I18nRegion>(); | 2190 var o = new core.List<api.I18nRegion>(); |
2176 o.add(buildI18nRegion()); | 2191 o.add(buildI18nRegion()); |
2177 o.add(buildI18nRegion()); | 2192 o.add(buildI18nRegion()); |
2178 return o; | 2193 return o; |
2179 } | 2194 } |
2180 | 2195 |
2181 checkUnnamed503(core.List<api.I18nRegion> o) { | 2196 checkUnnamed508(core.List<api.I18nRegion> o) { |
2182 unittest.expect(o, unittest.hasLength(2)); | 2197 unittest.expect(o, unittest.hasLength(2)); |
2183 checkI18nRegion(o[0]); | 2198 checkI18nRegion(o[0]); |
2184 checkI18nRegion(o[1]); | 2199 checkI18nRegion(o[1]); |
2185 } | 2200 } |
2186 | 2201 |
2187 core.int buildCounterI18nRegionListResponse = 0; | 2202 core.int buildCounterI18nRegionListResponse = 0; |
2188 buildI18nRegionListResponse() { | 2203 buildI18nRegionListResponse() { |
2189 var o = new api.I18nRegionListResponse(); | 2204 var o = new api.I18nRegionListResponse(); |
2190 buildCounterI18nRegionListResponse++; | 2205 buildCounterI18nRegionListResponse++; |
2191 if (buildCounterI18nRegionListResponse < 3) { | 2206 if (buildCounterI18nRegionListResponse < 3) { |
2192 o.etag = "foo"; | 2207 o.etag = "foo"; |
2193 o.eventId = "foo"; | 2208 o.eventId = "foo"; |
2194 o.items = buildUnnamed503(); | 2209 o.items = buildUnnamed508(); |
2195 o.kind = "foo"; | 2210 o.kind = "foo"; |
2196 o.visitorId = "foo"; | 2211 o.visitorId = "foo"; |
2197 } | 2212 } |
2198 buildCounterI18nRegionListResponse--; | 2213 buildCounterI18nRegionListResponse--; |
2199 return o; | 2214 return o; |
2200 } | 2215 } |
2201 | 2216 |
2202 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2217 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
2203 buildCounterI18nRegionListResponse++; | 2218 buildCounterI18nRegionListResponse++; |
2204 if (buildCounterI18nRegionListResponse < 3) { | 2219 if (buildCounterI18nRegionListResponse < 3) { |
2205 unittest.expect(o.etag, unittest.equals('foo')); | 2220 unittest.expect(o.etag, unittest.equals('foo')); |
2206 unittest.expect(o.eventId, unittest.equals('foo')); | 2221 unittest.expect(o.eventId, unittest.equals('foo')); |
2207 checkUnnamed503(o.items); | 2222 checkUnnamed508(o.items); |
2208 unittest.expect(o.kind, unittest.equals('foo')); | 2223 unittest.expect(o.kind, unittest.equals('foo')); |
2209 unittest.expect(o.visitorId, unittest.equals('foo')); | 2224 unittest.expect(o.visitorId, unittest.equals('foo')); |
2210 } | 2225 } |
2211 buildCounterI18nRegionListResponse--; | 2226 buildCounterI18nRegionListResponse--; |
2212 } | 2227 } |
2213 | 2228 |
2214 core.int buildCounterI18nRegionSnippet = 0; | 2229 core.int buildCounterI18nRegionSnippet = 0; |
2215 buildI18nRegionSnippet() { | 2230 buildI18nRegionSnippet() { |
2216 var o = new api.I18nRegionSnippet(); | 2231 var o = new api.I18nRegionSnippet(); |
2217 buildCounterI18nRegionSnippet++; | 2232 buildCounterI18nRegionSnippet++; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2357 | 2372 |
2358 checkInvideoPosition(api.InvideoPosition o) { | 2373 checkInvideoPosition(api.InvideoPosition o) { |
2359 buildCounterInvideoPosition++; | 2374 buildCounterInvideoPosition++; |
2360 if (buildCounterInvideoPosition < 3) { | 2375 if (buildCounterInvideoPosition < 3) { |
2361 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2376 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
2362 unittest.expect(o.type, unittest.equals('foo')); | 2377 unittest.expect(o.type, unittest.equals('foo')); |
2363 } | 2378 } |
2364 buildCounterInvideoPosition--; | 2379 buildCounterInvideoPosition--; |
2365 } | 2380 } |
2366 | 2381 |
2367 buildUnnamed504() { | 2382 buildUnnamed509() { |
2368 var o = new core.List<api.PromotedItem>(); | 2383 var o = new core.List<api.PromotedItem>(); |
2369 o.add(buildPromotedItem()); | 2384 o.add(buildPromotedItem()); |
2370 o.add(buildPromotedItem()); | 2385 o.add(buildPromotedItem()); |
2371 return o; | 2386 return o; |
2372 } | 2387 } |
2373 | 2388 |
2374 checkUnnamed504(core.List<api.PromotedItem> o) { | 2389 checkUnnamed509(core.List<api.PromotedItem> o) { |
2375 unittest.expect(o, unittest.hasLength(2)); | 2390 unittest.expect(o, unittest.hasLength(2)); |
2376 checkPromotedItem(o[0]); | 2391 checkPromotedItem(o[0]); |
2377 checkPromotedItem(o[1]); | 2392 checkPromotedItem(o[1]); |
2378 } | 2393 } |
2379 | 2394 |
2380 core.int buildCounterInvideoPromotion = 0; | 2395 core.int buildCounterInvideoPromotion = 0; |
2381 buildInvideoPromotion() { | 2396 buildInvideoPromotion() { |
2382 var o = new api.InvideoPromotion(); | 2397 var o = new api.InvideoPromotion(); |
2383 buildCounterInvideoPromotion++; | 2398 buildCounterInvideoPromotion++; |
2384 if (buildCounterInvideoPromotion < 3) { | 2399 if (buildCounterInvideoPromotion < 3) { |
2385 o.defaultTiming = buildInvideoTiming(); | 2400 o.defaultTiming = buildInvideoTiming(); |
2386 o.items = buildUnnamed504(); | 2401 o.items = buildUnnamed509(); |
2387 o.position = buildInvideoPosition(); | 2402 o.position = buildInvideoPosition(); |
2388 o.useSmartTiming = true; | 2403 o.useSmartTiming = true; |
2389 } | 2404 } |
2390 buildCounterInvideoPromotion--; | 2405 buildCounterInvideoPromotion--; |
2391 return o; | 2406 return o; |
2392 } | 2407 } |
2393 | 2408 |
2394 checkInvideoPromotion(api.InvideoPromotion o) { | 2409 checkInvideoPromotion(api.InvideoPromotion o) { |
2395 buildCounterInvideoPromotion++; | 2410 buildCounterInvideoPromotion++; |
2396 if (buildCounterInvideoPromotion < 3) { | 2411 if (buildCounterInvideoPromotion < 3) { |
2397 checkInvideoTiming(o.defaultTiming); | 2412 checkInvideoTiming(o.defaultTiming); |
2398 checkUnnamed504(o.items); | 2413 checkUnnamed509(o.items); |
2399 checkInvideoPosition(o.position); | 2414 checkInvideoPosition(o.position); |
2400 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2415 unittest.expect(o.useSmartTiming, unittest.isTrue); |
2401 } | 2416 } |
2402 buildCounterInvideoPromotion--; | 2417 buildCounterInvideoPromotion--; |
2403 } | 2418 } |
2404 | 2419 |
2405 core.int buildCounterInvideoTiming = 0; | 2420 core.int buildCounterInvideoTiming = 0; |
2406 buildInvideoTiming() { | 2421 buildInvideoTiming() { |
2407 var o = new api.InvideoTiming(); | 2422 var o = new api.InvideoTiming(); |
2408 buildCounterInvideoTiming++; | 2423 buildCounterInvideoTiming++; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2511 unittest.expect(o.enableEmbed, unittest.isTrue); | 2526 unittest.expect(o.enableEmbed, unittest.isTrue); |
2512 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2527 unittest.expect(o.enableLowLatency, unittest.isTrue); |
2513 checkMonitorStreamInfo(o.monitorStream); | 2528 checkMonitorStreamInfo(o.monitorStream); |
2514 unittest.expect(o.projection, unittest.equals('foo')); | 2529 unittest.expect(o.projection, unittest.equals('foo')); |
2515 unittest.expect(o.recordFromStart, unittest.isTrue); | 2530 unittest.expect(o.recordFromStart, unittest.isTrue); |
2516 unittest.expect(o.startWithSlate, unittest.isTrue); | 2531 unittest.expect(o.startWithSlate, unittest.isTrue); |
2517 } | 2532 } |
2518 buildCounterLiveBroadcastContentDetails--; | 2533 buildCounterLiveBroadcastContentDetails--; |
2519 } | 2534 } |
2520 | 2535 |
2521 buildUnnamed505() { | 2536 buildUnnamed510() { |
2522 var o = new core.List<api.LiveBroadcast>(); | 2537 var o = new core.List<api.LiveBroadcast>(); |
2523 o.add(buildLiveBroadcast()); | 2538 o.add(buildLiveBroadcast()); |
2524 o.add(buildLiveBroadcast()); | 2539 o.add(buildLiveBroadcast()); |
2525 return o; | 2540 return o; |
2526 } | 2541 } |
2527 | 2542 |
2528 checkUnnamed505(core.List<api.LiveBroadcast> o) { | 2543 checkUnnamed510(core.List<api.LiveBroadcast> o) { |
2529 unittest.expect(o, unittest.hasLength(2)); | 2544 unittest.expect(o, unittest.hasLength(2)); |
2530 checkLiveBroadcast(o[0]); | 2545 checkLiveBroadcast(o[0]); |
2531 checkLiveBroadcast(o[1]); | 2546 checkLiveBroadcast(o[1]); |
2532 } | 2547 } |
2533 | 2548 |
2534 core.int buildCounterLiveBroadcastListResponse = 0; | 2549 core.int buildCounterLiveBroadcastListResponse = 0; |
2535 buildLiveBroadcastListResponse() { | 2550 buildLiveBroadcastListResponse() { |
2536 var o = new api.LiveBroadcastListResponse(); | 2551 var o = new api.LiveBroadcastListResponse(); |
2537 buildCounterLiveBroadcastListResponse++; | 2552 buildCounterLiveBroadcastListResponse++; |
2538 if (buildCounterLiveBroadcastListResponse < 3) { | 2553 if (buildCounterLiveBroadcastListResponse < 3) { |
2539 o.etag = "foo"; | 2554 o.etag = "foo"; |
2540 o.eventId = "foo"; | 2555 o.eventId = "foo"; |
2541 o.items = buildUnnamed505(); | 2556 o.items = buildUnnamed510(); |
2542 o.kind = "foo"; | 2557 o.kind = "foo"; |
2543 o.nextPageToken = "foo"; | 2558 o.nextPageToken = "foo"; |
2544 o.pageInfo = buildPageInfo(); | 2559 o.pageInfo = buildPageInfo(); |
2545 o.prevPageToken = "foo"; | 2560 o.prevPageToken = "foo"; |
2546 o.tokenPagination = buildTokenPagination(); | 2561 o.tokenPagination = buildTokenPagination(); |
2547 o.visitorId = "foo"; | 2562 o.visitorId = "foo"; |
2548 } | 2563 } |
2549 buildCounterLiveBroadcastListResponse--; | 2564 buildCounterLiveBroadcastListResponse--; |
2550 return o; | 2565 return o; |
2551 } | 2566 } |
2552 | 2567 |
2553 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2568 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
2554 buildCounterLiveBroadcastListResponse++; | 2569 buildCounterLiveBroadcastListResponse++; |
2555 if (buildCounterLiveBroadcastListResponse < 3) { | 2570 if (buildCounterLiveBroadcastListResponse < 3) { |
2556 unittest.expect(o.etag, unittest.equals('foo')); | 2571 unittest.expect(o.etag, unittest.equals('foo')); |
2557 unittest.expect(o.eventId, unittest.equals('foo')); | 2572 unittest.expect(o.eventId, unittest.equals('foo')); |
2558 checkUnnamed505(o.items); | 2573 checkUnnamed510(o.items); |
2559 unittest.expect(o.kind, unittest.equals('foo')); | 2574 unittest.expect(o.kind, unittest.equals('foo')); |
2560 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2575 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2561 checkPageInfo(o.pageInfo); | 2576 checkPageInfo(o.pageInfo); |
2562 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2577 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2563 checkTokenPagination(o.tokenPagination); | 2578 checkTokenPagination(o.tokenPagination); |
2564 unittest.expect(o.visitorId, unittest.equals('foo')); | 2579 unittest.expect(o.visitorId, unittest.equals('foo')); |
2565 } | 2580 } |
2566 buildCounterLiveBroadcastListResponse--; | 2581 buildCounterLiveBroadcastListResponse--; |
2567 } | 2582 } |
2568 | 2583 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2667 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2682 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
2668 buildCounterLiveBroadcastTopic++; | 2683 buildCounterLiveBroadcastTopic++; |
2669 if (buildCounterLiveBroadcastTopic < 3) { | 2684 if (buildCounterLiveBroadcastTopic < 3) { |
2670 checkLiveBroadcastTopicSnippet(o.snippet); | 2685 checkLiveBroadcastTopicSnippet(o.snippet); |
2671 unittest.expect(o.type, unittest.equals('foo')); | 2686 unittest.expect(o.type, unittest.equals('foo')); |
2672 unittest.expect(o.unmatched, unittest.isTrue); | 2687 unittest.expect(o.unmatched, unittest.isTrue); |
2673 } | 2688 } |
2674 buildCounterLiveBroadcastTopic--; | 2689 buildCounterLiveBroadcastTopic--; |
2675 } | 2690 } |
2676 | 2691 |
2677 buildUnnamed506() { | 2692 buildUnnamed511() { |
2678 var o = new core.List<api.LiveBroadcastTopic>(); | 2693 var o = new core.List<api.LiveBroadcastTopic>(); |
2679 o.add(buildLiveBroadcastTopic()); | 2694 o.add(buildLiveBroadcastTopic()); |
2680 o.add(buildLiveBroadcastTopic()); | 2695 o.add(buildLiveBroadcastTopic()); |
2681 return o; | 2696 return o; |
2682 } | 2697 } |
2683 | 2698 |
2684 checkUnnamed506(core.List<api.LiveBroadcastTopic> o) { | 2699 checkUnnamed511(core.List<api.LiveBroadcastTopic> o) { |
2685 unittest.expect(o, unittest.hasLength(2)); | 2700 unittest.expect(o, unittest.hasLength(2)); |
2686 checkLiveBroadcastTopic(o[0]); | 2701 checkLiveBroadcastTopic(o[0]); |
2687 checkLiveBroadcastTopic(o[1]); | 2702 checkLiveBroadcastTopic(o[1]); |
2688 } | 2703 } |
2689 | 2704 |
2690 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2705 core.int buildCounterLiveBroadcastTopicDetails = 0; |
2691 buildLiveBroadcastTopicDetails() { | 2706 buildLiveBroadcastTopicDetails() { |
2692 var o = new api.LiveBroadcastTopicDetails(); | 2707 var o = new api.LiveBroadcastTopicDetails(); |
2693 buildCounterLiveBroadcastTopicDetails++; | 2708 buildCounterLiveBroadcastTopicDetails++; |
2694 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2709 if (buildCounterLiveBroadcastTopicDetails < 3) { |
2695 o.topics = buildUnnamed506(); | 2710 o.topics = buildUnnamed511(); |
2696 } | 2711 } |
2697 buildCounterLiveBroadcastTopicDetails--; | 2712 buildCounterLiveBroadcastTopicDetails--; |
2698 return o; | 2713 return o; |
2699 } | 2714 } |
2700 | 2715 |
2701 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2716 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
2702 buildCounterLiveBroadcastTopicDetails++; | 2717 buildCounterLiveBroadcastTopicDetails++; |
2703 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2718 if (buildCounterLiveBroadcastTopicDetails < 3) { |
2704 checkUnnamed506(o.topics); | 2719 checkUnnamed511(o.topics); |
2705 } | 2720 } |
2706 buildCounterLiveBroadcastTopicDetails--; | 2721 buildCounterLiveBroadcastTopicDetails--; |
2707 } | 2722 } |
2708 | 2723 |
2709 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2724 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
2710 buildLiveBroadcastTopicSnippet() { | 2725 buildLiveBroadcastTopicSnippet() { |
2711 var o = new api.LiveBroadcastTopicSnippet(); | 2726 var o = new api.LiveBroadcastTopicSnippet(); |
2712 buildCounterLiveBroadcastTopicSnippet++; | 2727 buildCounterLiveBroadcastTopicSnippet++; |
2713 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2728 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
2714 o.name = "foo"; | 2729 o.name = "foo"; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2874 } | 2889 } |
2875 | 2890 |
2876 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { | 2891 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { |
2877 buildCounterLiveChatMessageDeletedDetails++; | 2892 buildCounterLiveChatMessageDeletedDetails++; |
2878 if (buildCounterLiveChatMessageDeletedDetails < 3) { | 2893 if (buildCounterLiveChatMessageDeletedDetails < 3) { |
2879 unittest.expect(o.deletedMessageId, unittest.equals('foo')); | 2894 unittest.expect(o.deletedMessageId, unittest.equals('foo')); |
2880 } | 2895 } |
2881 buildCounterLiveChatMessageDeletedDetails--; | 2896 buildCounterLiveChatMessageDeletedDetails--; |
2882 } | 2897 } |
2883 | 2898 |
2884 buildUnnamed507() { | 2899 buildUnnamed512() { |
2885 var o = new core.List<api.LiveChatMessage>(); | 2900 var o = new core.List<api.LiveChatMessage>(); |
2886 o.add(buildLiveChatMessage()); | 2901 o.add(buildLiveChatMessage()); |
2887 o.add(buildLiveChatMessage()); | 2902 o.add(buildLiveChatMessage()); |
2888 return o; | 2903 return o; |
2889 } | 2904 } |
2890 | 2905 |
2891 checkUnnamed507(core.List<api.LiveChatMessage> o) { | 2906 checkUnnamed512(core.List<api.LiveChatMessage> o) { |
2892 unittest.expect(o, unittest.hasLength(2)); | 2907 unittest.expect(o, unittest.hasLength(2)); |
2893 checkLiveChatMessage(o[0]); | 2908 checkLiveChatMessage(o[0]); |
2894 checkLiveChatMessage(o[1]); | 2909 checkLiveChatMessage(o[1]); |
2895 } | 2910 } |
2896 | 2911 |
2897 core.int buildCounterLiveChatMessageListResponse = 0; | 2912 core.int buildCounterLiveChatMessageListResponse = 0; |
2898 buildLiveChatMessageListResponse() { | 2913 buildLiveChatMessageListResponse() { |
2899 var o = new api.LiveChatMessageListResponse(); | 2914 var o = new api.LiveChatMessageListResponse(); |
2900 buildCounterLiveChatMessageListResponse++; | 2915 buildCounterLiveChatMessageListResponse++; |
2901 if (buildCounterLiveChatMessageListResponse < 3) { | 2916 if (buildCounterLiveChatMessageListResponse < 3) { |
2902 o.etag = "foo"; | 2917 o.etag = "foo"; |
2903 o.eventId = "foo"; | 2918 o.eventId = "foo"; |
2904 o.items = buildUnnamed507(); | 2919 o.items = buildUnnamed512(); |
2905 o.kind = "foo"; | 2920 o.kind = "foo"; |
2906 o.nextPageToken = "foo"; | 2921 o.nextPageToken = "foo"; |
2907 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2922 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); |
2908 o.pageInfo = buildPageInfo(); | 2923 o.pageInfo = buildPageInfo(); |
2909 o.pollingIntervalMillis = 42; | 2924 o.pollingIntervalMillis = 42; |
2910 o.tokenPagination = buildTokenPagination(); | 2925 o.tokenPagination = buildTokenPagination(); |
2911 o.visitorId = "foo"; | 2926 o.visitorId = "foo"; |
2912 } | 2927 } |
2913 buildCounterLiveChatMessageListResponse--; | 2928 buildCounterLiveChatMessageListResponse--; |
2914 return o; | 2929 return o; |
2915 } | 2930 } |
2916 | 2931 |
2917 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { | 2932 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { |
2918 buildCounterLiveChatMessageListResponse++; | 2933 buildCounterLiveChatMessageListResponse++; |
2919 if (buildCounterLiveChatMessageListResponse < 3) { | 2934 if (buildCounterLiveChatMessageListResponse < 3) { |
2920 unittest.expect(o.etag, unittest.equals('foo')); | 2935 unittest.expect(o.etag, unittest.equals('foo')); |
2921 unittest.expect(o.eventId, unittest.equals('foo')); | 2936 unittest.expect(o.eventId, unittest.equals('foo')); |
2922 checkUnnamed507(o.items); | 2937 checkUnnamed512(o.items); |
2923 unittest.expect(o.kind, unittest.equals('foo')); | 2938 unittest.expect(o.kind, unittest.equals('foo')); |
2924 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2939 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2925 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2940 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
2926 checkPageInfo(o.pageInfo); | 2941 checkPageInfo(o.pageInfo); |
2927 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); | 2942 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); |
2928 checkTokenPagination(o.tokenPagination); | 2943 checkTokenPagination(o.tokenPagination); |
2929 unittest.expect(o.visitorId, unittest.equals('foo')); | 2944 unittest.expect(o.visitorId, unittest.equals('foo')); |
2930 } | 2945 } |
2931 buildCounterLiveChatMessageListResponse--; | 2946 buildCounterLiveChatMessageListResponse--; |
2932 } | 2947 } |
(...skipping 27 matching lines...) Expand all Loading... |
2960 o.fanFundingEventDetails = buildLiveChatFanFundingEventDetails(); | 2975 o.fanFundingEventDetails = buildLiveChatFanFundingEventDetails(); |
2961 o.hasDisplayContent = true; | 2976 o.hasDisplayContent = true; |
2962 o.liveChatId = "foo"; | 2977 o.liveChatId = "foo"; |
2963 o.messageDeletedDetails = buildLiveChatMessageDeletedDetails(); | 2978 o.messageDeletedDetails = buildLiveChatMessageDeletedDetails(); |
2964 o.messageRetractedDetails = buildLiveChatMessageRetractedDetails(); | 2979 o.messageRetractedDetails = buildLiveChatMessageRetractedDetails(); |
2965 o.pollClosedDetails = buildLiveChatPollClosedDetails(); | 2980 o.pollClosedDetails = buildLiveChatPollClosedDetails(); |
2966 o.pollEditedDetails = buildLiveChatPollEditedDetails(); | 2981 o.pollEditedDetails = buildLiveChatPollEditedDetails(); |
2967 o.pollOpenedDetails = buildLiveChatPollOpenedDetails(); | 2982 o.pollOpenedDetails = buildLiveChatPollOpenedDetails(); |
2968 o.pollVotedDetails = buildLiveChatPollVotedDetails(); | 2983 o.pollVotedDetails = buildLiveChatPollVotedDetails(); |
2969 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2984 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2985 o.superChatDetails = buildLiveChatSuperChatDetails(); |
2970 o.textMessageDetails = buildLiveChatTextMessageDetails(); | 2986 o.textMessageDetails = buildLiveChatTextMessageDetails(); |
2971 o.type = "foo"; | 2987 o.type = "foo"; |
2972 o.userBannedDetails = buildLiveChatUserBannedMessageDetails(); | 2988 o.userBannedDetails = buildLiveChatUserBannedMessageDetails(); |
2973 } | 2989 } |
2974 buildCounterLiveChatMessageSnippet--; | 2990 buildCounterLiveChatMessageSnippet--; |
2975 return o; | 2991 return o; |
2976 } | 2992 } |
2977 | 2993 |
2978 checkLiveChatMessageSnippet(api.LiveChatMessageSnippet o) { | 2994 checkLiveChatMessageSnippet(api.LiveChatMessageSnippet o) { |
2979 buildCounterLiveChatMessageSnippet++; | 2995 buildCounterLiveChatMessageSnippet++; |
2980 if (buildCounterLiveChatMessageSnippet < 3) { | 2996 if (buildCounterLiveChatMessageSnippet < 3) { |
2981 unittest.expect(o.authorChannelId, unittest.equals('foo')); | 2997 unittest.expect(o.authorChannelId, unittest.equals('foo')); |
2982 unittest.expect(o.displayMessage, unittest.equals('foo')); | 2998 unittest.expect(o.displayMessage, unittest.equals('foo')); |
2983 checkLiveChatFanFundingEventDetails(o.fanFundingEventDetails); | 2999 checkLiveChatFanFundingEventDetails(o.fanFundingEventDetails); |
2984 unittest.expect(o.hasDisplayContent, unittest.isTrue); | 3000 unittest.expect(o.hasDisplayContent, unittest.isTrue); |
2985 unittest.expect(o.liveChatId, unittest.equals('foo')); | 3001 unittest.expect(o.liveChatId, unittest.equals('foo')); |
2986 checkLiveChatMessageDeletedDetails(o.messageDeletedDetails); | 3002 checkLiveChatMessageDeletedDetails(o.messageDeletedDetails); |
2987 checkLiveChatMessageRetractedDetails(o.messageRetractedDetails); | 3003 checkLiveChatMessageRetractedDetails(o.messageRetractedDetails); |
2988 checkLiveChatPollClosedDetails(o.pollClosedDetails); | 3004 checkLiveChatPollClosedDetails(o.pollClosedDetails); |
2989 checkLiveChatPollEditedDetails(o.pollEditedDetails); | 3005 checkLiveChatPollEditedDetails(o.pollEditedDetails); |
2990 checkLiveChatPollOpenedDetails(o.pollOpenedDetails); | 3006 checkLiveChatPollOpenedDetails(o.pollOpenedDetails); |
2991 checkLiveChatPollVotedDetails(o.pollVotedDetails); | 3007 checkLiveChatPollVotedDetails(o.pollVotedDetails); |
2992 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3008 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3009 checkLiveChatSuperChatDetails(o.superChatDetails); |
2993 checkLiveChatTextMessageDetails(o.textMessageDetails); | 3010 checkLiveChatTextMessageDetails(o.textMessageDetails); |
2994 unittest.expect(o.type, unittest.equals('foo')); | 3011 unittest.expect(o.type, unittest.equals('foo')); |
2995 checkLiveChatUserBannedMessageDetails(o.userBannedDetails); | 3012 checkLiveChatUserBannedMessageDetails(o.userBannedDetails); |
2996 } | 3013 } |
2997 buildCounterLiveChatMessageSnippet--; | 3014 buildCounterLiveChatMessageSnippet--; |
2998 } | 3015 } |
2999 | 3016 |
3000 core.int buildCounterLiveChatModerator = 0; | 3017 core.int buildCounterLiveChatModerator = 0; |
3001 buildLiveChatModerator() { | 3018 buildLiveChatModerator() { |
3002 var o = new api.LiveChatModerator(); | 3019 var o = new api.LiveChatModerator(); |
(...skipping 12 matching lines...) Expand all Loading... |
3015 buildCounterLiveChatModerator++; | 3032 buildCounterLiveChatModerator++; |
3016 if (buildCounterLiveChatModerator < 3) { | 3033 if (buildCounterLiveChatModerator < 3) { |
3017 unittest.expect(o.etag, unittest.equals('foo')); | 3034 unittest.expect(o.etag, unittest.equals('foo')); |
3018 unittest.expect(o.id, unittest.equals('foo')); | 3035 unittest.expect(o.id, unittest.equals('foo')); |
3019 unittest.expect(o.kind, unittest.equals('foo')); | 3036 unittest.expect(o.kind, unittest.equals('foo')); |
3020 checkLiveChatModeratorSnippet(o.snippet); | 3037 checkLiveChatModeratorSnippet(o.snippet); |
3021 } | 3038 } |
3022 buildCounterLiveChatModerator--; | 3039 buildCounterLiveChatModerator--; |
3023 } | 3040 } |
3024 | 3041 |
3025 buildUnnamed508() { | 3042 buildUnnamed513() { |
3026 var o = new core.List<api.LiveChatModerator>(); | 3043 var o = new core.List<api.LiveChatModerator>(); |
3027 o.add(buildLiveChatModerator()); | 3044 o.add(buildLiveChatModerator()); |
3028 o.add(buildLiveChatModerator()); | 3045 o.add(buildLiveChatModerator()); |
3029 return o; | 3046 return o; |
3030 } | 3047 } |
3031 | 3048 |
3032 checkUnnamed508(core.List<api.LiveChatModerator> o) { | 3049 checkUnnamed513(core.List<api.LiveChatModerator> o) { |
3033 unittest.expect(o, unittest.hasLength(2)); | 3050 unittest.expect(o, unittest.hasLength(2)); |
3034 checkLiveChatModerator(o[0]); | 3051 checkLiveChatModerator(o[0]); |
3035 checkLiveChatModerator(o[1]); | 3052 checkLiveChatModerator(o[1]); |
3036 } | 3053 } |
3037 | 3054 |
3038 core.int buildCounterLiveChatModeratorListResponse = 0; | 3055 core.int buildCounterLiveChatModeratorListResponse = 0; |
3039 buildLiveChatModeratorListResponse() { | 3056 buildLiveChatModeratorListResponse() { |
3040 var o = new api.LiveChatModeratorListResponse(); | 3057 var o = new api.LiveChatModeratorListResponse(); |
3041 buildCounterLiveChatModeratorListResponse++; | 3058 buildCounterLiveChatModeratorListResponse++; |
3042 if (buildCounterLiveChatModeratorListResponse < 3) { | 3059 if (buildCounterLiveChatModeratorListResponse < 3) { |
3043 o.etag = "foo"; | 3060 o.etag = "foo"; |
3044 o.eventId = "foo"; | 3061 o.eventId = "foo"; |
3045 o.items = buildUnnamed508(); | 3062 o.items = buildUnnamed513(); |
3046 o.kind = "foo"; | 3063 o.kind = "foo"; |
3047 o.nextPageToken = "foo"; | 3064 o.nextPageToken = "foo"; |
3048 o.pageInfo = buildPageInfo(); | 3065 o.pageInfo = buildPageInfo(); |
3049 o.prevPageToken = "foo"; | 3066 o.prevPageToken = "foo"; |
3050 o.tokenPagination = buildTokenPagination(); | 3067 o.tokenPagination = buildTokenPagination(); |
3051 o.visitorId = "foo"; | 3068 o.visitorId = "foo"; |
3052 } | 3069 } |
3053 buildCounterLiveChatModeratorListResponse--; | 3070 buildCounterLiveChatModeratorListResponse--; |
3054 return o; | 3071 return o; |
3055 } | 3072 } |
3056 | 3073 |
3057 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { | 3074 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { |
3058 buildCounterLiveChatModeratorListResponse++; | 3075 buildCounterLiveChatModeratorListResponse++; |
3059 if (buildCounterLiveChatModeratorListResponse < 3) { | 3076 if (buildCounterLiveChatModeratorListResponse < 3) { |
3060 unittest.expect(o.etag, unittest.equals('foo')); | 3077 unittest.expect(o.etag, unittest.equals('foo')); |
3061 unittest.expect(o.eventId, unittest.equals('foo')); | 3078 unittest.expect(o.eventId, unittest.equals('foo')); |
3062 checkUnnamed508(o.items); | 3079 checkUnnamed513(o.items); |
3063 unittest.expect(o.kind, unittest.equals('foo')); | 3080 unittest.expect(o.kind, unittest.equals('foo')); |
3064 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3081 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3065 checkPageInfo(o.pageInfo); | 3082 checkPageInfo(o.pageInfo); |
3066 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3083 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3067 checkTokenPagination(o.tokenPagination); | 3084 checkTokenPagination(o.tokenPagination); |
3068 unittest.expect(o.visitorId, unittest.equals('foo')); | 3085 unittest.expect(o.visitorId, unittest.equals('foo')); |
3069 } | 3086 } |
3070 buildCounterLiveChatModeratorListResponse--; | 3087 buildCounterLiveChatModeratorListResponse--; |
3071 } | 3088 } |
3072 | 3089 |
(...skipping 30 matching lines...) Expand all Loading... |
3103 } | 3120 } |
3104 | 3121 |
3105 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { | 3122 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { |
3106 buildCounterLiveChatPollClosedDetails++; | 3123 buildCounterLiveChatPollClosedDetails++; |
3107 if (buildCounterLiveChatPollClosedDetails < 3) { | 3124 if (buildCounterLiveChatPollClosedDetails < 3) { |
3108 unittest.expect(o.pollId, unittest.equals('foo')); | 3125 unittest.expect(o.pollId, unittest.equals('foo')); |
3109 } | 3126 } |
3110 buildCounterLiveChatPollClosedDetails--; | 3127 buildCounterLiveChatPollClosedDetails--; |
3111 } | 3128 } |
3112 | 3129 |
3113 buildUnnamed509() { | 3130 buildUnnamed514() { |
3114 var o = new core.List<api.LiveChatPollItem>(); | 3131 var o = new core.List<api.LiveChatPollItem>(); |
3115 o.add(buildLiveChatPollItem()); | 3132 o.add(buildLiveChatPollItem()); |
3116 o.add(buildLiveChatPollItem()); | 3133 o.add(buildLiveChatPollItem()); |
3117 return o; | 3134 return o; |
3118 } | 3135 } |
3119 | 3136 |
3120 checkUnnamed509(core.List<api.LiveChatPollItem> o) { | 3137 checkUnnamed514(core.List<api.LiveChatPollItem> o) { |
3121 unittest.expect(o, unittest.hasLength(2)); | 3138 unittest.expect(o, unittest.hasLength(2)); |
3122 checkLiveChatPollItem(o[0]); | 3139 checkLiveChatPollItem(o[0]); |
3123 checkLiveChatPollItem(o[1]); | 3140 checkLiveChatPollItem(o[1]); |
3124 } | 3141 } |
3125 | 3142 |
3126 core.int buildCounterLiveChatPollEditedDetails = 0; | 3143 core.int buildCounterLiveChatPollEditedDetails = 0; |
3127 buildLiveChatPollEditedDetails() { | 3144 buildLiveChatPollEditedDetails() { |
3128 var o = new api.LiveChatPollEditedDetails(); | 3145 var o = new api.LiveChatPollEditedDetails(); |
3129 buildCounterLiveChatPollEditedDetails++; | 3146 buildCounterLiveChatPollEditedDetails++; |
3130 if (buildCounterLiveChatPollEditedDetails < 3) { | 3147 if (buildCounterLiveChatPollEditedDetails < 3) { |
3131 o.id = "foo"; | 3148 o.id = "foo"; |
3132 o.items = buildUnnamed509(); | 3149 o.items = buildUnnamed514(); |
3133 o.prompt = "foo"; | 3150 o.prompt = "foo"; |
3134 } | 3151 } |
3135 buildCounterLiveChatPollEditedDetails--; | 3152 buildCounterLiveChatPollEditedDetails--; |
3136 return o; | 3153 return o; |
3137 } | 3154 } |
3138 | 3155 |
3139 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { | 3156 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { |
3140 buildCounterLiveChatPollEditedDetails++; | 3157 buildCounterLiveChatPollEditedDetails++; |
3141 if (buildCounterLiveChatPollEditedDetails < 3) { | 3158 if (buildCounterLiveChatPollEditedDetails < 3) { |
3142 unittest.expect(o.id, unittest.equals('foo')); | 3159 unittest.expect(o.id, unittest.equals('foo')); |
3143 checkUnnamed509(o.items); | 3160 checkUnnamed514(o.items); |
3144 unittest.expect(o.prompt, unittest.equals('foo')); | 3161 unittest.expect(o.prompt, unittest.equals('foo')); |
3145 } | 3162 } |
3146 buildCounterLiveChatPollEditedDetails--; | 3163 buildCounterLiveChatPollEditedDetails--; |
3147 } | 3164 } |
3148 | 3165 |
3149 core.int buildCounterLiveChatPollItem = 0; | 3166 core.int buildCounterLiveChatPollItem = 0; |
3150 buildLiveChatPollItem() { | 3167 buildLiveChatPollItem() { |
3151 var o = new api.LiveChatPollItem(); | 3168 var o = new api.LiveChatPollItem(); |
3152 buildCounterLiveChatPollItem++; | 3169 buildCounterLiveChatPollItem++; |
3153 if (buildCounterLiveChatPollItem < 3) { | 3170 if (buildCounterLiveChatPollItem < 3) { |
3154 o.description = "foo"; | 3171 o.description = "foo"; |
3155 o.itemId = "foo"; | 3172 o.itemId = "foo"; |
3156 } | 3173 } |
3157 buildCounterLiveChatPollItem--; | 3174 buildCounterLiveChatPollItem--; |
3158 return o; | 3175 return o; |
3159 } | 3176 } |
3160 | 3177 |
3161 checkLiveChatPollItem(api.LiveChatPollItem o) { | 3178 checkLiveChatPollItem(api.LiveChatPollItem o) { |
3162 buildCounterLiveChatPollItem++; | 3179 buildCounterLiveChatPollItem++; |
3163 if (buildCounterLiveChatPollItem < 3) { | 3180 if (buildCounterLiveChatPollItem < 3) { |
3164 unittest.expect(o.description, unittest.equals('foo')); | 3181 unittest.expect(o.description, unittest.equals('foo')); |
3165 unittest.expect(o.itemId, unittest.equals('foo')); | 3182 unittest.expect(o.itemId, unittest.equals('foo')); |
3166 } | 3183 } |
3167 buildCounterLiveChatPollItem--; | 3184 buildCounterLiveChatPollItem--; |
3168 } | 3185 } |
3169 | 3186 |
3170 buildUnnamed510() { | 3187 buildUnnamed515() { |
3171 var o = new core.List<api.LiveChatPollItem>(); | 3188 var o = new core.List<api.LiveChatPollItem>(); |
3172 o.add(buildLiveChatPollItem()); | 3189 o.add(buildLiveChatPollItem()); |
3173 o.add(buildLiveChatPollItem()); | 3190 o.add(buildLiveChatPollItem()); |
3174 return o; | 3191 return o; |
3175 } | 3192 } |
3176 | 3193 |
3177 checkUnnamed510(core.List<api.LiveChatPollItem> o) { | 3194 checkUnnamed515(core.List<api.LiveChatPollItem> o) { |
3178 unittest.expect(o, unittest.hasLength(2)); | 3195 unittest.expect(o, unittest.hasLength(2)); |
3179 checkLiveChatPollItem(o[0]); | 3196 checkLiveChatPollItem(o[0]); |
3180 checkLiveChatPollItem(o[1]); | 3197 checkLiveChatPollItem(o[1]); |
3181 } | 3198 } |
3182 | 3199 |
3183 core.int buildCounterLiveChatPollOpenedDetails = 0; | 3200 core.int buildCounterLiveChatPollOpenedDetails = 0; |
3184 buildLiveChatPollOpenedDetails() { | 3201 buildLiveChatPollOpenedDetails() { |
3185 var o = new api.LiveChatPollOpenedDetails(); | 3202 var o = new api.LiveChatPollOpenedDetails(); |
3186 buildCounterLiveChatPollOpenedDetails++; | 3203 buildCounterLiveChatPollOpenedDetails++; |
3187 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3204 if (buildCounterLiveChatPollOpenedDetails < 3) { |
3188 o.id = "foo"; | 3205 o.id = "foo"; |
3189 o.items = buildUnnamed510(); | 3206 o.items = buildUnnamed515(); |
3190 o.prompt = "foo"; | 3207 o.prompt = "foo"; |
3191 } | 3208 } |
3192 buildCounterLiveChatPollOpenedDetails--; | 3209 buildCounterLiveChatPollOpenedDetails--; |
3193 return o; | 3210 return o; |
3194 } | 3211 } |
3195 | 3212 |
3196 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { | 3213 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { |
3197 buildCounterLiveChatPollOpenedDetails++; | 3214 buildCounterLiveChatPollOpenedDetails++; |
3198 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3215 if (buildCounterLiveChatPollOpenedDetails < 3) { |
3199 unittest.expect(o.id, unittest.equals('foo')); | 3216 unittest.expect(o.id, unittest.equals('foo')); |
3200 checkUnnamed510(o.items); | 3217 checkUnnamed515(o.items); |
3201 unittest.expect(o.prompt, unittest.equals('foo')); | 3218 unittest.expect(o.prompt, unittest.equals('foo')); |
3202 } | 3219 } |
3203 buildCounterLiveChatPollOpenedDetails--; | 3220 buildCounterLiveChatPollOpenedDetails--; |
3204 } | 3221 } |
3205 | 3222 |
3206 core.int buildCounterLiveChatPollVotedDetails = 0; | 3223 core.int buildCounterLiveChatPollVotedDetails = 0; |
3207 buildLiveChatPollVotedDetails() { | 3224 buildLiveChatPollVotedDetails() { |
3208 var o = new api.LiveChatPollVotedDetails(); | 3225 var o = new api.LiveChatPollVotedDetails(); |
3209 buildCounterLiveChatPollVotedDetails++; | 3226 buildCounterLiveChatPollVotedDetails++; |
3210 if (buildCounterLiveChatPollVotedDetails < 3) { | 3227 if (buildCounterLiveChatPollVotedDetails < 3) { |
3211 o.itemId = "foo"; | 3228 o.itemId = "foo"; |
3212 o.pollId = "foo"; | 3229 o.pollId = "foo"; |
3213 } | 3230 } |
3214 buildCounterLiveChatPollVotedDetails--; | 3231 buildCounterLiveChatPollVotedDetails--; |
3215 return o; | 3232 return o; |
3216 } | 3233 } |
3217 | 3234 |
3218 checkLiveChatPollVotedDetails(api.LiveChatPollVotedDetails o) { | 3235 checkLiveChatPollVotedDetails(api.LiveChatPollVotedDetails o) { |
3219 buildCounterLiveChatPollVotedDetails++; | 3236 buildCounterLiveChatPollVotedDetails++; |
3220 if (buildCounterLiveChatPollVotedDetails < 3) { | 3237 if (buildCounterLiveChatPollVotedDetails < 3) { |
3221 unittest.expect(o.itemId, unittest.equals('foo')); | 3238 unittest.expect(o.itemId, unittest.equals('foo')); |
3222 unittest.expect(o.pollId, unittest.equals('foo')); | 3239 unittest.expect(o.pollId, unittest.equals('foo')); |
3223 } | 3240 } |
3224 buildCounterLiveChatPollVotedDetails--; | 3241 buildCounterLiveChatPollVotedDetails--; |
3225 } | 3242 } |
3226 | 3243 |
| 3244 core.int buildCounterLiveChatSuperChatDetails = 0; |
| 3245 buildLiveChatSuperChatDetails() { |
| 3246 var o = new api.LiveChatSuperChatDetails(); |
| 3247 buildCounterLiveChatSuperChatDetails++; |
| 3248 if (buildCounterLiveChatSuperChatDetails < 3) { |
| 3249 o.amountDisplayString = "foo"; |
| 3250 o.amountMicros = "foo"; |
| 3251 o.currency = "foo"; |
| 3252 o.tier = 42; |
| 3253 o.userComment = "foo"; |
| 3254 } |
| 3255 buildCounterLiveChatSuperChatDetails--; |
| 3256 return o; |
| 3257 } |
| 3258 |
| 3259 checkLiveChatSuperChatDetails(api.LiveChatSuperChatDetails o) { |
| 3260 buildCounterLiveChatSuperChatDetails++; |
| 3261 if (buildCounterLiveChatSuperChatDetails < 3) { |
| 3262 unittest.expect(o.amountDisplayString, unittest.equals('foo')); |
| 3263 unittest.expect(o.amountMicros, unittest.equals('foo')); |
| 3264 unittest.expect(o.currency, unittest.equals('foo')); |
| 3265 unittest.expect(o.tier, unittest.equals(42)); |
| 3266 unittest.expect(o.userComment, unittest.equals('foo')); |
| 3267 } |
| 3268 buildCounterLiveChatSuperChatDetails--; |
| 3269 } |
| 3270 |
3227 core.int buildCounterLiveChatTextMessageDetails = 0; | 3271 core.int buildCounterLiveChatTextMessageDetails = 0; |
3228 buildLiveChatTextMessageDetails() { | 3272 buildLiveChatTextMessageDetails() { |
3229 var o = new api.LiveChatTextMessageDetails(); | 3273 var o = new api.LiveChatTextMessageDetails(); |
3230 buildCounterLiveChatTextMessageDetails++; | 3274 buildCounterLiveChatTextMessageDetails++; |
3231 if (buildCounterLiveChatTextMessageDetails < 3) { | 3275 if (buildCounterLiveChatTextMessageDetails < 3) { |
3232 o.messageText = "foo"; | 3276 o.messageText = "foo"; |
3233 } | 3277 } |
3234 buildCounterLiveChatTextMessageDetails--; | 3278 buildCounterLiveChatTextMessageDetails--; |
3235 return o; | 3279 return o; |
3236 } | 3280 } |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3336 | 3380 |
3337 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 3381 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
3338 buildCounterLiveStreamContentDetails++; | 3382 buildCounterLiveStreamContentDetails++; |
3339 if (buildCounterLiveStreamContentDetails < 3) { | 3383 if (buildCounterLiveStreamContentDetails < 3) { |
3340 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 3384 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
3341 unittest.expect(o.isReusable, unittest.isTrue); | 3385 unittest.expect(o.isReusable, unittest.isTrue); |
3342 } | 3386 } |
3343 buildCounterLiveStreamContentDetails--; | 3387 buildCounterLiveStreamContentDetails--; |
3344 } | 3388 } |
3345 | 3389 |
3346 buildUnnamed511() { | 3390 buildUnnamed516() { |
3347 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 3391 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
3348 o.add(buildLiveStreamConfigurationIssue()); | 3392 o.add(buildLiveStreamConfigurationIssue()); |
3349 o.add(buildLiveStreamConfigurationIssue()); | 3393 o.add(buildLiveStreamConfigurationIssue()); |
3350 return o; | 3394 return o; |
3351 } | 3395 } |
3352 | 3396 |
3353 checkUnnamed511(core.List<api.LiveStreamConfigurationIssue> o) { | 3397 checkUnnamed516(core.List<api.LiveStreamConfigurationIssue> o) { |
3354 unittest.expect(o, unittest.hasLength(2)); | 3398 unittest.expect(o, unittest.hasLength(2)); |
3355 checkLiveStreamConfigurationIssue(o[0]); | 3399 checkLiveStreamConfigurationIssue(o[0]); |
3356 checkLiveStreamConfigurationIssue(o[1]); | 3400 checkLiveStreamConfigurationIssue(o[1]); |
3357 } | 3401 } |
3358 | 3402 |
3359 core.int buildCounterLiveStreamHealthStatus = 0; | 3403 core.int buildCounterLiveStreamHealthStatus = 0; |
3360 buildLiveStreamHealthStatus() { | 3404 buildLiveStreamHealthStatus() { |
3361 var o = new api.LiveStreamHealthStatus(); | 3405 var o = new api.LiveStreamHealthStatus(); |
3362 buildCounterLiveStreamHealthStatus++; | 3406 buildCounterLiveStreamHealthStatus++; |
3363 if (buildCounterLiveStreamHealthStatus < 3) { | 3407 if (buildCounterLiveStreamHealthStatus < 3) { |
3364 o.configurationIssues = buildUnnamed511(); | 3408 o.configurationIssues = buildUnnamed516(); |
3365 o.lastUpdateTimeSeconds = "foo"; | 3409 o.lastUpdateTimeSeconds = "foo"; |
3366 o.status = "foo"; | 3410 o.status = "foo"; |
3367 } | 3411 } |
3368 buildCounterLiveStreamHealthStatus--; | 3412 buildCounterLiveStreamHealthStatus--; |
3369 return o; | 3413 return o; |
3370 } | 3414 } |
3371 | 3415 |
3372 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 3416 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
3373 buildCounterLiveStreamHealthStatus++; | 3417 buildCounterLiveStreamHealthStatus++; |
3374 if (buildCounterLiveStreamHealthStatus < 3) { | 3418 if (buildCounterLiveStreamHealthStatus < 3) { |
3375 checkUnnamed511(o.configurationIssues); | 3419 checkUnnamed516(o.configurationIssues); |
3376 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 3420 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
3377 unittest.expect(o.status, unittest.equals('foo')); | 3421 unittest.expect(o.status, unittest.equals('foo')); |
3378 } | 3422 } |
3379 buildCounterLiveStreamHealthStatus--; | 3423 buildCounterLiveStreamHealthStatus--; |
3380 } | 3424 } |
3381 | 3425 |
3382 buildUnnamed512() { | 3426 buildUnnamed517() { |
3383 var o = new core.List<api.LiveStream>(); | 3427 var o = new core.List<api.LiveStream>(); |
3384 o.add(buildLiveStream()); | 3428 o.add(buildLiveStream()); |
3385 o.add(buildLiveStream()); | 3429 o.add(buildLiveStream()); |
3386 return o; | 3430 return o; |
3387 } | 3431 } |
3388 | 3432 |
3389 checkUnnamed512(core.List<api.LiveStream> o) { | 3433 checkUnnamed517(core.List<api.LiveStream> o) { |
3390 unittest.expect(o, unittest.hasLength(2)); | 3434 unittest.expect(o, unittest.hasLength(2)); |
3391 checkLiveStream(o[0]); | 3435 checkLiveStream(o[0]); |
3392 checkLiveStream(o[1]); | 3436 checkLiveStream(o[1]); |
3393 } | 3437 } |
3394 | 3438 |
3395 core.int buildCounterLiveStreamListResponse = 0; | 3439 core.int buildCounterLiveStreamListResponse = 0; |
3396 buildLiveStreamListResponse() { | 3440 buildLiveStreamListResponse() { |
3397 var o = new api.LiveStreamListResponse(); | 3441 var o = new api.LiveStreamListResponse(); |
3398 buildCounterLiveStreamListResponse++; | 3442 buildCounterLiveStreamListResponse++; |
3399 if (buildCounterLiveStreamListResponse < 3) { | 3443 if (buildCounterLiveStreamListResponse < 3) { |
3400 o.etag = "foo"; | 3444 o.etag = "foo"; |
3401 o.eventId = "foo"; | 3445 o.eventId = "foo"; |
3402 o.items = buildUnnamed512(); | 3446 o.items = buildUnnamed517(); |
3403 o.kind = "foo"; | 3447 o.kind = "foo"; |
3404 o.nextPageToken = "foo"; | 3448 o.nextPageToken = "foo"; |
3405 o.pageInfo = buildPageInfo(); | 3449 o.pageInfo = buildPageInfo(); |
3406 o.prevPageToken = "foo"; | 3450 o.prevPageToken = "foo"; |
3407 o.tokenPagination = buildTokenPagination(); | 3451 o.tokenPagination = buildTokenPagination(); |
3408 o.visitorId = "foo"; | 3452 o.visitorId = "foo"; |
3409 } | 3453 } |
3410 buildCounterLiveStreamListResponse--; | 3454 buildCounterLiveStreamListResponse--; |
3411 return o; | 3455 return o; |
3412 } | 3456 } |
3413 | 3457 |
3414 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 3458 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
3415 buildCounterLiveStreamListResponse++; | 3459 buildCounterLiveStreamListResponse++; |
3416 if (buildCounterLiveStreamListResponse < 3) { | 3460 if (buildCounterLiveStreamListResponse < 3) { |
3417 unittest.expect(o.etag, unittest.equals('foo')); | 3461 unittest.expect(o.etag, unittest.equals('foo')); |
3418 unittest.expect(o.eventId, unittest.equals('foo')); | 3462 unittest.expect(o.eventId, unittest.equals('foo')); |
3419 checkUnnamed512(o.items); | 3463 checkUnnamed517(o.items); |
3420 unittest.expect(o.kind, unittest.equals('foo')); | 3464 unittest.expect(o.kind, unittest.equals('foo')); |
3421 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3465 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3422 checkPageInfo(o.pageInfo); | 3466 checkPageInfo(o.pageInfo); |
3423 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3467 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3424 checkTokenPagination(o.tokenPagination); | 3468 checkTokenPagination(o.tokenPagination); |
3425 unittest.expect(o.visitorId, unittest.equals('foo')); | 3469 unittest.expect(o.visitorId, unittest.equals('foo')); |
3426 } | 3470 } |
3427 buildCounterLiveStreamListResponse--; | 3471 buildCounterLiveStreamListResponse--; |
3428 } | 3472 } |
3429 | 3473 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3468 | 3512 |
3469 checkLiveStreamStatus(api.LiveStreamStatus o) { | 3513 checkLiveStreamStatus(api.LiveStreamStatus o) { |
3470 buildCounterLiveStreamStatus++; | 3514 buildCounterLiveStreamStatus++; |
3471 if (buildCounterLiveStreamStatus < 3) { | 3515 if (buildCounterLiveStreamStatus < 3) { |
3472 checkLiveStreamHealthStatus(o.healthStatus); | 3516 checkLiveStreamHealthStatus(o.healthStatus); |
3473 unittest.expect(o.streamStatus, unittest.equals('foo')); | 3517 unittest.expect(o.streamStatus, unittest.equals('foo')); |
3474 } | 3518 } |
3475 buildCounterLiveStreamStatus--; | 3519 buildCounterLiveStreamStatus--; |
3476 } | 3520 } |
3477 | 3521 |
3478 buildUnnamed513() { | 3522 buildUnnamed518() { |
3479 var o = new core.List<api.LocalizedString>(); | 3523 var o = new core.List<api.LocalizedString>(); |
3480 o.add(buildLocalizedString()); | 3524 o.add(buildLocalizedString()); |
3481 o.add(buildLocalizedString()); | 3525 o.add(buildLocalizedString()); |
3482 return o; | 3526 return o; |
3483 } | 3527 } |
3484 | 3528 |
3485 checkUnnamed513(core.List<api.LocalizedString> o) { | 3529 checkUnnamed518(core.List<api.LocalizedString> o) { |
3486 unittest.expect(o, unittest.hasLength(2)); | 3530 unittest.expect(o, unittest.hasLength(2)); |
3487 checkLocalizedString(o[0]); | 3531 checkLocalizedString(o[0]); |
3488 checkLocalizedString(o[1]); | 3532 checkLocalizedString(o[1]); |
3489 } | 3533 } |
3490 | 3534 |
3491 core.int buildCounterLocalizedProperty = 0; | 3535 core.int buildCounterLocalizedProperty = 0; |
3492 buildLocalizedProperty() { | 3536 buildLocalizedProperty() { |
3493 var o = new api.LocalizedProperty(); | 3537 var o = new api.LocalizedProperty(); |
3494 buildCounterLocalizedProperty++; | 3538 buildCounterLocalizedProperty++; |
3495 if (buildCounterLocalizedProperty < 3) { | 3539 if (buildCounterLocalizedProperty < 3) { |
3496 o.default_ = "foo"; | 3540 o.default_ = "foo"; |
3497 o.defaultLanguage = buildLanguageTag(); | 3541 o.defaultLanguage = buildLanguageTag(); |
3498 o.localized = buildUnnamed513(); | 3542 o.localized = buildUnnamed518(); |
3499 } | 3543 } |
3500 buildCounterLocalizedProperty--; | 3544 buildCounterLocalizedProperty--; |
3501 return o; | 3545 return o; |
3502 } | 3546 } |
3503 | 3547 |
3504 checkLocalizedProperty(api.LocalizedProperty o) { | 3548 checkLocalizedProperty(api.LocalizedProperty o) { |
3505 buildCounterLocalizedProperty++; | 3549 buildCounterLocalizedProperty++; |
3506 if (buildCounterLocalizedProperty < 3) { | 3550 if (buildCounterLocalizedProperty < 3) { |
3507 unittest.expect(o.default_, unittest.equals('foo')); | 3551 unittest.expect(o.default_, unittest.equals('foo')); |
3508 checkLanguageTag(o.defaultLanguage); | 3552 checkLanguageTag(o.defaultLanguage); |
3509 checkUnnamed513(o.localized); | 3553 checkUnnamed518(o.localized); |
3510 } | 3554 } |
3511 buildCounterLocalizedProperty--; | 3555 buildCounterLocalizedProperty--; |
3512 } | 3556 } |
3513 | 3557 |
3514 core.int buildCounterLocalizedString = 0; | 3558 core.int buildCounterLocalizedString = 0; |
3515 buildLocalizedString() { | 3559 buildLocalizedString() { |
3516 var o = new api.LocalizedString(); | 3560 var o = new api.LocalizedString(); |
3517 buildCounterLocalizedString++; | 3561 buildCounterLocalizedString++; |
3518 if (buildCounterLocalizedString < 3) { | 3562 if (buildCounterLocalizedString < 3) { |
3519 o.language = "foo"; | 3563 o.language = "foo"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3569 | 3613 |
3570 checkPageInfo(api.PageInfo o) { | 3614 checkPageInfo(api.PageInfo o) { |
3571 buildCounterPageInfo++; | 3615 buildCounterPageInfo++; |
3572 if (buildCounterPageInfo < 3) { | 3616 if (buildCounterPageInfo < 3) { |
3573 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 3617 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
3574 unittest.expect(o.totalResults, unittest.equals(42)); | 3618 unittest.expect(o.totalResults, unittest.equals(42)); |
3575 } | 3619 } |
3576 buildCounterPageInfo--; | 3620 buildCounterPageInfo--; |
3577 } | 3621 } |
3578 | 3622 |
3579 buildUnnamed514() { | 3623 buildUnnamed519() { |
3580 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 3624 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
3581 o["x"] = buildPlaylistLocalization(); | 3625 o["x"] = buildPlaylistLocalization(); |
3582 o["y"] = buildPlaylistLocalization(); | 3626 o["y"] = buildPlaylistLocalization(); |
3583 return o; | 3627 return o; |
3584 } | 3628 } |
3585 | 3629 |
3586 checkUnnamed514(core.Map<core.String, api.PlaylistLocalization> o) { | 3630 checkUnnamed519(core.Map<core.String, api.PlaylistLocalization> o) { |
3587 unittest.expect(o, unittest.hasLength(2)); | 3631 unittest.expect(o, unittest.hasLength(2)); |
3588 checkPlaylistLocalization(o["x"]); | 3632 checkPlaylistLocalization(o["x"]); |
3589 checkPlaylistLocalization(o["y"]); | 3633 checkPlaylistLocalization(o["y"]); |
3590 } | 3634 } |
3591 | 3635 |
3592 core.int buildCounterPlaylist = 0; | 3636 core.int buildCounterPlaylist = 0; |
3593 buildPlaylist() { | 3637 buildPlaylist() { |
3594 var o = new api.Playlist(); | 3638 var o = new api.Playlist(); |
3595 buildCounterPlaylist++; | 3639 buildCounterPlaylist++; |
3596 if (buildCounterPlaylist < 3) { | 3640 if (buildCounterPlaylist < 3) { |
3597 o.contentDetails = buildPlaylistContentDetails(); | 3641 o.contentDetails = buildPlaylistContentDetails(); |
3598 o.etag = "foo"; | 3642 o.etag = "foo"; |
3599 o.id = "foo"; | 3643 o.id = "foo"; |
3600 o.kind = "foo"; | 3644 o.kind = "foo"; |
3601 o.localizations = buildUnnamed514(); | 3645 o.localizations = buildUnnamed519(); |
3602 o.player = buildPlaylistPlayer(); | 3646 o.player = buildPlaylistPlayer(); |
3603 o.snippet = buildPlaylistSnippet(); | 3647 o.snippet = buildPlaylistSnippet(); |
3604 o.status = buildPlaylistStatus(); | 3648 o.status = buildPlaylistStatus(); |
3605 } | 3649 } |
3606 buildCounterPlaylist--; | 3650 buildCounterPlaylist--; |
3607 return o; | 3651 return o; |
3608 } | 3652 } |
3609 | 3653 |
3610 checkPlaylist(api.Playlist o) { | 3654 checkPlaylist(api.Playlist o) { |
3611 buildCounterPlaylist++; | 3655 buildCounterPlaylist++; |
3612 if (buildCounterPlaylist < 3) { | 3656 if (buildCounterPlaylist < 3) { |
3613 checkPlaylistContentDetails(o.contentDetails); | 3657 checkPlaylistContentDetails(o.contentDetails); |
3614 unittest.expect(o.etag, unittest.equals('foo')); | 3658 unittest.expect(o.etag, unittest.equals('foo')); |
3615 unittest.expect(o.id, unittest.equals('foo')); | 3659 unittest.expect(o.id, unittest.equals('foo')); |
3616 unittest.expect(o.kind, unittest.equals('foo')); | 3660 unittest.expect(o.kind, unittest.equals('foo')); |
3617 checkUnnamed514(o.localizations); | 3661 checkUnnamed519(o.localizations); |
3618 checkPlaylistPlayer(o.player); | 3662 checkPlaylistPlayer(o.player); |
3619 checkPlaylistSnippet(o.snippet); | 3663 checkPlaylistSnippet(o.snippet); |
3620 checkPlaylistStatus(o.status); | 3664 checkPlaylistStatus(o.status); |
3621 } | 3665 } |
3622 buildCounterPlaylist--; | 3666 buildCounterPlaylist--; |
3623 } | 3667 } |
3624 | 3668 |
3625 core.int buildCounterPlaylistContentDetails = 0; | 3669 core.int buildCounterPlaylistContentDetails = 0; |
3626 buildPlaylistContentDetails() { | 3670 buildPlaylistContentDetails() { |
3627 var o = new api.PlaylistContentDetails(); | 3671 var o = new api.PlaylistContentDetails(); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3690 if (buildCounterPlaylistItemContentDetails < 3) { | 3734 if (buildCounterPlaylistItemContentDetails < 3) { |
3691 unittest.expect(o.endAt, unittest.equals('foo')); | 3735 unittest.expect(o.endAt, unittest.equals('foo')); |
3692 unittest.expect(o.note, unittest.equals('foo')); | 3736 unittest.expect(o.note, unittest.equals('foo')); |
3693 unittest.expect(o.startAt, unittest.equals('foo')); | 3737 unittest.expect(o.startAt, unittest.equals('foo')); |
3694 unittest.expect(o.videoId, unittest.equals('foo')); | 3738 unittest.expect(o.videoId, unittest.equals('foo')); |
3695 unittest.expect(o.videoPublishedAt, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 3739 unittest.expect(o.videoPublishedAt, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
3696 } | 3740 } |
3697 buildCounterPlaylistItemContentDetails--; | 3741 buildCounterPlaylistItemContentDetails--; |
3698 } | 3742 } |
3699 | 3743 |
3700 buildUnnamed515() { | 3744 buildUnnamed520() { |
3701 var o = new core.List<api.PlaylistItem>(); | 3745 var o = new core.List<api.PlaylistItem>(); |
3702 o.add(buildPlaylistItem()); | 3746 o.add(buildPlaylistItem()); |
3703 o.add(buildPlaylistItem()); | 3747 o.add(buildPlaylistItem()); |
3704 return o; | 3748 return o; |
3705 } | 3749 } |
3706 | 3750 |
3707 checkUnnamed515(core.List<api.PlaylistItem> o) { | 3751 checkUnnamed520(core.List<api.PlaylistItem> o) { |
3708 unittest.expect(o, unittest.hasLength(2)); | 3752 unittest.expect(o, unittest.hasLength(2)); |
3709 checkPlaylistItem(o[0]); | 3753 checkPlaylistItem(o[0]); |
3710 checkPlaylistItem(o[1]); | 3754 checkPlaylistItem(o[1]); |
3711 } | 3755 } |
3712 | 3756 |
3713 core.int buildCounterPlaylistItemListResponse = 0; | 3757 core.int buildCounterPlaylistItemListResponse = 0; |
3714 buildPlaylistItemListResponse() { | 3758 buildPlaylistItemListResponse() { |
3715 var o = new api.PlaylistItemListResponse(); | 3759 var o = new api.PlaylistItemListResponse(); |
3716 buildCounterPlaylistItemListResponse++; | 3760 buildCounterPlaylistItemListResponse++; |
3717 if (buildCounterPlaylistItemListResponse < 3) { | 3761 if (buildCounterPlaylistItemListResponse < 3) { |
3718 o.etag = "foo"; | 3762 o.etag = "foo"; |
3719 o.eventId = "foo"; | 3763 o.eventId = "foo"; |
3720 o.items = buildUnnamed515(); | 3764 o.items = buildUnnamed520(); |
3721 o.kind = "foo"; | 3765 o.kind = "foo"; |
3722 o.nextPageToken = "foo"; | 3766 o.nextPageToken = "foo"; |
3723 o.pageInfo = buildPageInfo(); | 3767 o.pageInfo = buildPageInfo(); |
3724 o.prevPageToken = "foo"; | 3768 o.prevPageToken = "foo"; |
3725 o.tokenPagination = buildTokenPagination(); | 3769 o.tokenPagination = buildTokenPagination(); |
3726 o.visitorId = "foo"; | 3770 o.visitorId = "foo"; |
3727 } | 3771 } |
3728 buildCounterPlaylistItemListResponse--; | 3772 buildCounterPlaylistItemListResponse--; |
3729 return o; | 3773 return o; |
3730 } | 3774 } |
3731 | 3775 |
3732 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3776 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
3733 buildCounterPlaylistItemListResponse++; | 3777 buildCounterPlaylistItemListResponse++; |
3734 if (buildCounterPlaylistItemListResponse < 3) { | 3778 if (buildCounterPlaylistItemListResponse < 3) { |
3735 unittest.expect(o.etag, unittest.equals('foo')); | 3779 unittest.expect(o.etag, unittest.equals('foo')); |
3736 unittest.expect(o.eventId, unittest.equals('foo')); | 3780 unittest.expect(o.eventId, unittest.equals('foo')); |
3737 checkUnnamed515(o.items); | 3781 checkUnnamed520(o.items); |
3738 unittest.expect(o.kind, unittest.equals('foo')); | 3782 unittest.expect(o.kind, unittest.equals('foo')); |
3739 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3783 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3740 checkPageInfo(o.pageInfo); | 3784 checkPageInfo(o.pageInfo); |
3741 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3785 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3742 checkTokenPagination(o.tokenPagination); | 3786 checkTokenPagination(o.tokenPagination); |
3743 unittest.expect(o.visitorId, unittest.equals('foo')); | 3787 unittest.expect(o.visitorId, unittest.equals('foo')); |
3744 } | 3788 } |
3745 buildCounterPlaylistItemListResponse--; | 3789 buildCounterPlaylistItemListResponse--; |
3746 } | 3790 } |
3747 | 3791 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3792 } | 3836 } |
3793 | 3837 |
3794 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3838 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
3795 buildCounterPlaylistItemStatus++; | 3839 buildCounterPlaylistItemStatus++; |
3796 if (buildCounterPlaylistItemStatus < 3) { | 3840 if (buildCounterPlaylistItemStatus < 3) { |
3797 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3841 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
3798 } | 3842 } |
3799 buildCounterPlaylistItemStatus--; | 3843 buildCounterPlaylistItemStatus--; |
3800 } | 3844 } |
3801 | 3845 |
3802 buildUnnamed516() { | 3846 buildUnnamed521() { |
3803 var o = new core.List<api.Playlist>(); | 3847 var o = new core.List<api.Playlist>(); |
3804 o.add(buildPlaylist()); | 3848 o.add(buildPlaylist()); |
3805 o.add(buildPlaylist()); | 3849 o.add(buildPlaylist()); |
3806 return o; | 3850 return o; |
3807 } | 3851 } |
3808 | 3852 |
3809 checkUnnamed516(core.List<api.Playlist> o) { | 3853 checkUnnamed521(core.List<api.Playlist> o) { |
3810 unittest.expect(o, unittest.hasLength(2)); | 3854 unittest.expect(o, unittest.hasLength(2)); |
3811 checkPlaylist(o[0]); | 3855 checkPlaylist(o[0]); |
3812 checkPlaylist(o[1]); | 3856 checkPlaylist(o[1]); |
3813 } | 3857 } |
3814 | 3858 |
3815 core.int buildCounterPlaylistListResponse = 0; | 3859 core.int buildCounterPlaylistListResponse = 0; |
3816 buildPlaylistListResponse() { | 3860 buildPlaylistListResponse() { |
3817 var o = new api.PlaylistListResponse(); | 3861 var o = new api.PlaylistListResponse(); |
3818 buildCounterPlaylistListResponse++; | 3862 buildCounterPlaylistListResponse++; |
3819 if (buildCounterPlaylistListResponse < 3) { | 3863 if (buildCounterPlaylistListResponse < 3) { |
3820 o.etag = "foo"; | 3864 o.etag = "foo"; |
3821 o.eventId = "foo"; | 3865 o.eventId = "foo"; |
3822 o.items = buildUnnamed516(); | 3866 o.items = buildUnnamed521(); |
3823 o.kind = "foo"; | 3867 o.kind = "foo"; |
3824 o.nextPageToken = "foo"; | 3868 o.nextPageToken = "foo"; |
3825 o.pageInfo = buildPageInfo(); | 3869 o.pageInfo = buildPageInfo(); |
3826 o.prevPageToken = "foo"; | 3870 o.prevPageToken = "foo"; |
3827 o.tokenPagination = buildTokenPagination(); | 3871 o.tokenPagination = buildTokenPagination(); |
3828 o.visitorId = "foo"; | 3872 o.visitorId = "foo"; |
3829 } | 3873 } |
3830 buildCounterPlaylistListResponse--; | 3874 buildCounterPlaylistListResponse--; |
3831 return o; | 3875 return o; |
3832 } | 3876 } |
3833 | 3877 |
3834 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3878 checkPlaylistListResponse(api.PlaylistListResponse o) { |
3835 buildCounterPlaylistListResponse++; | 3879 buildCounterPlaylistListResponse++; |
3836 if (buildCounterPlaylistListResponse < 3) { | 3880 if (buildCounterPlaylistListResponse < 3) { |
3837 unittest.expect(o.etag, unittest.equals('foo')); | 3881 unittest.expect(o.etag, unittest.equals('foo')); |
3838 unittest.expect(o.eventId, unittest.equals('foo')); | 3882 unittest.expect(o.eventId, unittest.equals('foo')); |
3839 checkUnnamed516(o.items); | 3883 checkUnnamed521(o.items); |
3840 unittest.expect(o.kind, unittest.equals('foo')); | 3884 unittest.expect(o.kind, unittest.equals('foo')); |
3841 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3885 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3842 checkPageInfo(o.pageInfo); | 3886 checkPageInfo(o.pageInfo); |
3843 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3887 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3844 checkTokenPagination(o.tokenPagination); | 3888 checkTokenPagination(o.tokenPagination); |
3845 unittest.expect(o.visitorId, unittest.equals('foo')); | 3889 unittest.expect(o.visitorId, unittest.equals('foo')); |
3846 } | 3890 } |
3847 buildCounterPlaylistListResponse--; | 3891 buildCounterPlaylistListResponse--; |
3848 } | 3892 } |
3849 | 3893 |
(...skipping 30 matching lines...) Expand all Loading... |
3880 } | 3924 } |
3881 | 3925 |
3882 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3926 checkPlaylistPlayer(api.PlaylistPlayer o) { |
3883 buildCounterPlaylistPlayer++; | 3927 buildCounterPlaylistPlayer++; |
3884 if (buildCounterPlaylistPlayer < 3) { | 3928 if (buildCounterPlaylistPlayer < 3) { |
3885 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3929 unittest.expect(o.embedHtml, unittest.equals('foo')); |
3886 } | 3930 } |
3887 buildCounterPlaylistPlayer--; | 3931 buildCounterPlaylistPlayer--; |
3888 } | 3932 } |
3889 | 3933 |
3890 buildUnnamed517() { | 3934 buildUnnamed522() { |
3891 var o = new core.List<core.String>(); | 3935 var o = new core.List<core.String>(); |
3892 o.add("foo"); | 3936 o.add("foo"); |
3893 o.add("foo"); | 3937 o.add("foo"); |
3894 return o; | 3938 return o; |
3895 } | 3939 } |
3896 | 3940 |
3897 checkUnnamed517(core.List<core.String> o) { | 3941 checkUnnamed522(core.List<core.String> o) { |
3898 unittest.expect(o, unittest.hasLength(2)); | 3942 unittest.expect(o, unittest.hasLength(2)); |
3899 unittest.expect(o[0], unittest.equals('foo')); | 3943 unittest.expect(o[0], unittest.equals('foo')); |
3900 unittest.expect(o[1], unittest.equals('foo')); | 3944 unittest.expect(o[1], unittest.equals('foo')); |
3901 } | 3945 } |
3902 | 3946 |
3903 core.int buildCounterPlaylistSnippet = 0; | 3947 core.int buildCounterPlaylistSnippet = 0; |
3904 buildPlaylistSnippet() { | 3948 buildPlaylistSnippet() { |
3905 var o = new api.PlaylistSnippet(); | 3949 var o = new api.PlaylistSnippet(); |
3906 buildCounterPlaylistSnippet++; | 3950 buildCounterPlaylistSnippet++; |
3907 if (buildCounterPlaylistSnippet < 3) { | 3951 if (buildCounterPlaylistSnippet < 3) { |
3908 o.channelId = "foo"; | 3952 o.channelId = "foo"; |
3909 o.channelTitle = "foo"; | 3953 o.channelTitle = "foo"; |
3910 o.defaultLanguage = "foo"; | 3954 o.defaultLanguage = "foo"; |
3911 o.description = "foo"; | 3955 o.description = "foo"; |
3912 o.localized = buildPlaylistLocalization(); | 3956 o.localized = buildPlaylistLocalization(); |
3913 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3957 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
3914 o.tags = buildUnnamed517(); | 3958 o.tags = buildUnnamed522(); |
3915 o.thumbnails = buildThumbnailDetails(); | 3959 o.thumbnails = buildThumbnailDetails(); |
3916 o.title = "foo"; | 3960 o.title = "foo"; |
3917 } | 3961 } |
3918 buildCounterPlaylistSnippet--; | 3962 buildCounterPlaylistSnippet--; |
3919 return o; | 3963 return o; |
3920 } | 3964 } |
3921 | 3965 |
3922 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3966 checkPlaylistSnippet(api.PlaylistSnippet o) { |
3923 buildCounterPlaylistSnippet++; | 3967 buildCounterPlaylistSnippet++; |
3924 if (buildCounterPlaylistSnippet < 3) { | 3968 if (buildCounterPlaylistSnippet < 3) { |
3925 unittest.expect(o.channelId, unittest.equals('foo')); | 3969 unittest.expect(o.channelId, unittest.equals('foo')); |
3926 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3970 unittest.expect(o.channelTitle, unittest.equals('foo')); |
3927 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3971 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
3928 unittest.expect(o.description, unittest.equals('foo')); | 3972 unittest.expect(o.description, unittest.equals('foo')); |
3929 checkPlaylistLocalization(o.localized); | 3973 checkPlaylistLocalization(o.localized); |
3930 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3974 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
3931 checkUnnamed517(o.tags); | 3975 checkUnnamed522(o.tags); |
3932 checkThumbnailDetails(o.thumbnails); | 3976 checkThumbnailDetails(o.thumbnails); |
3933 unittest.expect(o.title, unittest.equals('foo')); | 3977 unittest.expect(o.title, unittest.equals('foo')); |
3934 } | 3978 } |
3935 buildCounterPlaylistSnippet--; | 3979 buildCounterPlaylistSnippet--; |
3936 } | 3980 } |
3937 | 3981 |
3938 core.int buildCounterPlaylistStatus = 0; | 3982 core.int buildCounterPlaylistStatus = 0; |
3939 buildPlaylistStatus() { | 3983 buildPlaylistStatus() { |
3940 var o = new api.PlaylistStatus(); | 3984 var o = new api.PlaylistStatus(); |
3941 buildCounterPlaylistStatus++; | 3985 buildCounterPlaylistStatus++; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4043 buildCounterResourceId++; | 4087 buildCounterResourceId++; |
4044 if (buildCounterResourceId < 3) { | 4088 if (buildCounterResourceId < 3) { |
4045 unittest.expect(o.channelId, unittest.equals('foo')); | 4089 unittest.expect(o.channelId, unittest.equals('foo')); |
4046 unittest.expect(o.kind, unittest.equals('foo')); | 4090 unittest.expect(o.kind, unittest.equals('foo')); |
4047 unittest.expect(o.playlistId, unittest.equals('foo')); | 4091 unittest.expect(o.playlistId, unittest.equals('foo')); |
4048 unittest.expect(o.videoId, unittest.equals('foo')); | 4092 unittest.expect(o.videoId, unittest.equals('foo')); |
4049 } | 4093 } |
4050 buildCounterResourceId--; | 4094 buildCounterResourceId--; |
4051 } | 4095 } |
4052 | 4096 |
4053 buildUnnamed518() { | 4097 buildUnnamed523() { |
4054 var o = new core.List<api.SearchResult>(); | 4098 var o = new core.List<api.SearchResult>(); |
4055 o.add(buildSearchResult()); | 4099 o.add(buildSearchResult()); |
4056 o.add(buildSearchResult()); | 4100 o.add(buildSearchResult()); |
4057 return o; | 4101 return o; |
4058 } | 4102 } |
4059 | 4103 |
4060 checkUnnamed518(core.List<api.SearchResult> o) { | 4104 checkUnnamed523(core.List<api.SearchResult> o) { |
4061 unittest.expect(o, unittest.hasLength(2)); | 4105 unittest.expect(o, unittest.hasLength(2)); |
4062 checkSearchResult(o[0]); | 4106 checkSearchResult(o[0]); |
4063 checkSearchResult(o[1]); | 4107 checkSearchResult(o[1]); |
4064 } | 4108 } |
4065 | 4109 |
4066 core.int buildCounterSearchListResponse = 0; | 4110 core.int buildCounterSearchListResponse = 0; |
4067 buildSearchListResponse() { | 4111 buildSearchListResponse() { |
4068 var o = new api.SearchListResponse(); | 4112 var o = new api.SearchListResponse(); |
4069 buildCounterSearchListResponse++; | 4113 buildCounterSearchListResponse++; |
4070 if (buildCounterSearchListResponse < 3) { | 4114 if (buildCounterSearchListResponse < 3) { |
4071 o.etag = "foo"; | 4115 o.etag = "foo"; |
4072 o.eventId = "foo"; | 4116 o.eventId = "foo"; |
4073 o.items = buildUnnamed518(); | 4117 o.items = buildUnnamed523(); |
4074 o.kind = "foo"; | 4118 o.kind = "foo"; |
4075 o.nextPageToken = "foo"; | 4119 o.nextPageToken = "foo"; |
4076 o.pageInfo = buildPageInfo(); | 4120 o.pageInfo = buildPageInfo(); |
4077 o.prevPageToken = "foo"; | 4121 o.prevPageToken = "foo"; |
4078 o.regionCode = "foo"; | 4122 o.regionCode = "foo"; |
4079 o.tokenPagination = buildTokenPagination(); | 4123 o.tokenPagination = buildTokenPagination(); |
4080 o.visitorId = "foo"; | 4124 o.visitorId = "foo"; |
4081 } | 4125 } |
4082 buildCounterSearchListResponse--; | 4126 buildCounterSearchListResponse--; |
4083 return o; | 4127 return o; |
4084 } | 4128 } |
4085 | 4129 |
4086 checkSearchListResponse(api.SearchListResponse o) { | 4130 checkSearchListResponse(api.SearchListResponse o) { |
4087 buildCounterSearchListResponse++; | 4131 buildCounterSearchListResponse++; |
4088 if (buildCounterSearchListResponse < 3) { | 4132 if (buildCounterSearchListResponse < 3) { |
4089 unittest.expect(o.etag, unittest.equals('foo')); | 4133 unittest.expect(o.etag, unittest.equals('foo')); |
4090 unittest.expect(o.eventId, unittest.equals('foo')); | 4134 unittest.expect(o.eventId, unittest.equals('foo')); |
4091 checkUnnamed518(o.items); | 4135 checkUnnamed523(o.items); |
4092 unittest.expect(o.kind, unittest.equals('foo')); | 4136 unittest.expect(o.kind, unittest.equals('foo')); |
4093 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4137 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4094 checkPageInfo(o.pageInfo); | 4138 checkPageInfo(o.pageInfo); |
4095 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4139 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4096 unittest.expect(o.regionCode, unittest.equals('foo')); | 4140 unittest.expect(o.regionCode, unittest.equals('foo')); |
4097 checkTokenPagination(o.tokenPagination); | 4141 checkTokenPagination(o.tokenPagination); |
4098 unittest.expect(o.visitorId, unittest.equals('foo')); | 4142 unittest.expect(o.visitorId, unittest.equals('foo')); |
4099 } | 4143 } |
4100 buildCounterSearchListResponse--; | 4144 buildCounterSearchListResponse--; |
4101 } | 4145 } |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4174 buildCounterSponsor++; | 4218 buildCounterSponsor++; |
4175 if (buildCounterSponsor < 3) { | 4219 if (buildCounterSponsor < 3) { |
4176 unittest.expect(o.etag, unittest.equals('foo')); | 4220 unittest.expect(o.etag, unittest.equals('foo')); |
4177 unittest.expect(o.id, unittest.equals('foo')); | 4221 unittest.expect(o.id, unittest.equals('foo')); |
4178 unittest.expect(o.kind, unittest.equals('foo')); | 4222 unittest.expect(o.kind, unittest.equals('foo')); |
4179 checkSponsorSnippet(o.snippet); | 4223 checkSponsorSnippet(o.snippet); |
4180 } | 4224 } |
4181 buildCounterSponsor--; | 4225 buildCounterSponsor--; |
4182 } | 4226 } |
4183 | 4227 |
4184 buildUnnamed519() { | 4228 buildUnnamed524() { |
4185 var o = new core.List<api.Sponsor>(); | 4229 var o = new core.List<api.Sponsor>(); |
4186 o.add(buildSponsor()); | 4230 o.add(buildSponsor()); |
4187 o.add(buildSponsor()); | 4231 o.add(buildSponsor()); |
4188 return o; | 4232 return o; |
4189 } | 4233 } |
4190 | 4234 |
4191 checkUnnamed519(core.List<api.Sponsor> o) { | 4235 checkUnnamed524(core.List<api.Sponsor> o) { |
4192 unittest.expect(o, unittest.hasLength(2)); | 4236 unittest.expect(o, unittest.hasLength(2)); |
4193 checkSponsor(o[0]); | 4237 checkSponsor(o[0]); |
4194 checkSponsor(o[1]); | 4238 checkSponsor(o[1]); |
4195 } | 4239 } |
4196 | 4240 |
4197 core.int buildCounterSponsorListResponse = 0; | 4241 core.int buildCounterSponsorListResponse = 0; |
4198 buildSponsorListResponse() { | 4242 buildSponsorListResponse() { |
4199 var o = new api.SponsorListResponse(); | 4243 var o = new api.SponsorListResponse(); |
4200 buildCounterSponsorListResponse++; | 4244 buildCounterSponsorListResponse++; |
4201 if (buildCounterSponsorListResponse < 3) { | 4245 if (buildCounterSponsorListResponse < 3) { |
4202 o.etag = "foo"; | 4246 o.etag = "foo"; |
4203 o.eventId = "foo"; | 4247 o.eventId = "foo"; |
4204 o.items = buildUnnamed519(); | 4248 o.items = buildUnnamed524(); |
4205 o.kind = "foo"; | 4249 o.kind = "foo"; |
4206 o.nextPageToken = "foo"; | 4250 o.nextPageToken = "foo"; |
4207 o.pageInfo = buildPageInfo(); | 4251 o.pageInfo = buildPageInfo(); |
4208 o.tokenPagination = buildTokenPagination(); | 4252 o.tokenPagination = buildTokenPagination(); |
4209 o.visitorId = "foo"; | 4253 o.visitorId = "foo"; |
4210 } | 4254 } |
4211 buildCounterSponsorListResponse--; | 4255 buildCounterSponsorListResponse--; |
4212 return o; | 4256 return o; |
4213 } | 4257 } |
4214 | 4258 |
4215 checkSponsorListResponse(api.SponsorListResponse o) { | 4259 checkSponsorListResponse(api.SponsorListResponse o) { |
4216 buildCounterSponsorListResponse++; | 4260 buildCounterSponsorListResponse++; |
4217 if (buildCounterSponsorListResponse < 3) { | 4261 if (buildCounterSponsorListResponse < 3) { |
4218 unittest.expect(o.etag, unittest.equals('foo')); | 4262 unittest.expect(o.etag, unittest.equals('foo')); |
4219 unittest.expect(o.eventId, unittest.equals('foo')); | 4263 unittest.expect(o.eventId, unittest.equals('foo')); |
4220 checkUnnamed519(o.items); | 4264 checkUnnamed524(o.items); |
4221 unittest.expect(o.kind, unittest.equals('foo')); | 4265 unittest.expect(o.kind, unittest.equals('foo')); |
4222 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4266 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4223 checkPageInfo(o.pageInfo); | 4267 checkPageInfo(o.pageInfo); |
4224 checkTokenPagination(o.tokenPagination); | 4268 checkTokenPagination(o.tokenPagination); |
4225 unittest.expect(o.visitorId, unittest.equals('foo')); | 4269 unittest.expect(o.visitorId, unittest.equals('foo')); |
4226 } | 4270 } |
4227 buildCounterSponsorListResponse--; | 4271 buildCounterSponsorListResponse--; |
4228 } | 4272 } |
4229 | 4273 |
4230 core.int buildCounterSponsorSnippet = 0; | 4274 core.int buildCounterSponsorSnippet = 0; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4295 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 4339 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
4296 buildCounterSubscriptionContentDetails++; | 4340 buildCounterSubscriptionContentDetails++; |
4297 if (buildCounterSubscriptionContentDetails < 3) { | 4341 if (buildCounterSubscriptionContentDetails < 3) { |
4298 unittest.expect(o.activityType, unittest.equals('foo')); | 4342 unittest.expect(o.activityType, unittest.equals('foo')); |
4299 unittest.expect(o.newItemCount, unittest.equals(42)); | 4343 unittest.expect(o.newItemCount, unittest.equals(42)); |
4300 unittest.expect(o.totalItemCount, unittest.equals(42)); | 4344 unittest.expect(o.totalItemCount, unittest.equals(42)); |
4301 } | 4345 } |
4302 buildCounterSubscriptionContentDetails--; | 4346 buildCounterSubscriptionContentDetails--; |
4303 } | 4347 } |
4304 | 4348 |
4305 buildUnnamed520() { | 4349 buildUnnamed525() { |
4306 var o = new core.List<api.Subscription>(); | 4350 var o = new core.List<api.Subscription>(); |
4307 o.add(buildSubscription()); | 4351 o.add(buildSubscription()); |
4308 o.add(buildSubscription()); | 4352 o.add(buildSubscription()); |
4309 return o; | 4353 return o; |
4310 } | 4354 } |
4311 | 4355 |
4312 checkUnnamed520(core.List<api.Subscription> o) { | 4356 checkUnnamed525(core.List<api.Subscription> o) { |
4313 unittest.expect(o, unittest.hasLength(2)); | 4357 unittest.expect(o, unittest.hasLength(2)); |
4314 checkSubscription(o[0]); | 4358 checkSubscription(o[0]); |
4315 checkSubscription(o[1]); | 4359 checkSubscription(o[1]); |
4316 } | 4360 } |
4317 | 4361 |
4318 core.int buildCounterSubscriptionListResponse = 0; | 4362 core.int buildCounterSubscriptionListResponse = 0; |
4319 buildSubscriptionListResponse() { | 4363 buildSubscriptionListResponse() { |
4320 var o = new api.SubscriptionListResponse(); | 4364 var o = new api.SubscriptionListResponse(); |
4321 buildCounterSubscriptionListResponse++; | 4365 buildCounterSubscriptionListResponse++; |
4322 if (buildCounterSubscriptionListResponse < 3) { | 4366 if (buildCounterSubscriptionListResponse < 3) { |
4323 o.etag = "foo"; | 4367 o.etag = "foo"; |
4324 o.eventId = "foo"; | 4368 o.eventId = "foo"; |
4325 o.items = buildUnnamed520(); | 4369 o.items = buildUnnamed525(); |
4326 o.kind = "foo"; | 4370 o.kind = "foo"; |
4327 o.nextPageToken = "foo"; | 4371 o.nextPageToken = "foo"; |
4328 o.pageInfo = buildPageInfo(); | 4372 o.pageInfo = buildPageInfo(); |
4329 o.prevPageToken = "foo"; | 4373 o.prevPageToken = "foo"; |
4330 o.tokenPagination = buildTokenPagination(); | 4374 o.tokenPagination = buildTokenPagination(); |
4331 o.visitorId = "foo"; | 4375 o.visitorId = "foo"; |
4332 } | 4376 } |
4333 buildCounterSubscriptionListResponse--; | 4377 buildCounterSubscriptionListResponse--; |
4334 return o; | 4378 return o; |
4335 } | 4379 } |
4336 | 4380 |
4337 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 4381 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
4338 buildCounterSubscriptionListResponse++; | 4382 buildCounterSubscriptionListResponse++; |
4339 if (buildCounterSubscriptionListResponse < 3) { | 4383 if (buildCounterSubscriptionListResponse < 3) { |
4340 unittest.expect(o.etag, unittest.equals('foo')); | 4384 unittest.expect(o.etag, unittest.equals('foo')); |
4341 unittest.expect(o.eventId, unittest.equals('foo')); | 4385 unittest.expect(o.eventId, unittest.equals('foo')); |
4342 checkUnnamed520(o.items); | 4386 checkUnnamed525(o.items); |
4343 unittest.expect(o.kind, unittest.equals('foo')); | 4387 unittest.expect(o.kind, unittest.equals('foo')); |
4344 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4388 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4345 checkPageInfo(o.pageInfo); | 4389 checkPageInfo(o.pageInfo); |
4346 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4390 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4347 checkTokenPagination(o.tokenPagination); | 4391 checkTokenPagination(o.tokenPagination); |
4348 unittest.expect(o.visitorId, unittest.equals('foo')); | 4392 unittest.expect(o.visitorId, unittest.equals('foo')); |
4349 } | 4393 } |
4350 buildCounterSubscriptionListResponse--; | 4394 buildCounterSubscriptionListResponse--; |
4351 } | 4395 } |
4352 | 4396 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4399 buildCounterSubscriptionSubscriberSnippet++; | 4443 buildCounterSubscriptionSubscriberSnippet++; |
4400 if (buildCounterSubscriptionSubscriberSnippet < 3) { | 4444 if (buildCounterSubscriptionSubscriberSnippet < 3) { |
4401 unittest.expect(o.channelId, unittest.equals('foo')); | 4445 unittest.expect(o.channelId, unittest.equals('foo')); |
4402 unittest.expect(o.description, unittest.equals('foo')); | 4446 unittest.expect(o.description, unittest.equals('foo')); |
4403 checkThumbnailDetails(o.thumbnails); | 4447 checkThumbnailDetails(o.thumbnails); |
4404 unittest.expect(o.title, unittest.equals('foo')); | 4448 unittest.expect(o.title, unittest.equals('foo')); |
4405 } | 4449 } |
4406 buildCounterSubscriptionSubscriberSnippet--; | 4450 buildCounterSubscriptionSubscriberSnippet--; |
4407 } | 4451 } |
4408 | 4452 |
| 4453 core.int buildCounterSuperChatEvent = 0; |
| 4454 buildSuperChatEvent() { |
| 4455 var o = new api.SuperChatEvent(); |
| 4456 buildCounterSuperChatEvent++; |
| 4457 if (buildCounterSuperChatEvent < 3) { |
| 4458 o.etag = "foo"; |
| 4459 o.id = "foo"; |
| 4460 o.kind = "foo"; |
| 4461 o.snippet = buildSuperChatEventSnippet(); |
| 4462 } |
| 4463 buildCounterSuperChatEvent--; |
| 4464 return o; |
| 4465 } |
| 4466 |
| 4467 checkSuperChatEvent(api.SuperChatEvent o) { |
| 4468 buildCounterSuperChatEvent++; |
| 4469 if (buildCounterSuperChatEvent < 3) { |
| 4470 unittest.expect(o.etag, unittest.equals('foo')); |
| 4471 unittest.expect(o.id, unittest.equals('foo')); |
| 4472 unittest.expect(o.kind, unittest.equals('foo')); |
| 4473 checkSuperChatEventSnippet(o.snippet); |
| 4474 } |
| 4475 buildCounterSuperChatEvent--; |
| 4476 } |
| 4477 |
| 4478 buildUnnamed526() { |
| 4479 var o = new core.List<api.SuperChatEvent>(); |
| 4480 o.add(buildSuperChatEvent()); |
| 4481 o.add(buildSuperChatEvent()); |
| 4482 return o; |
| 4483 } |
| 4484 |
| 4485 checkUnnamed526(core.List<api.SuperChatEvent> o) { |
| 4486 unittest.expect(o, unittest.hasLength(2)); |
| 4487 checkSuperChatEvent(o[0]); |
| 4488 checkSuperChatEvent(o[1]); |
| 4489 } |
| 4490 |
| 4491 core.int buildCounterSuperChatEventListResponse = 0; |
| 4492 buildSuperChatEventListResponse() { |
| 4493 var o = new api.SuperChatEventListResponse(); |
| 4494 buildCounterSuperChatEventListResponse++; |
| 4495 if (buildCounterSuperChatEventListResponse < 3) { |
| 4496 o.etag = "foo"; |
| 4497 o.eventId = "foo"; |
| 4498 o.items = buildUnnamed526(); |
| 4499 o.kind = "foo"; |
| 4500 o.nextPageToken = "foo"; |
| 4501 o.pageInfo = buildPageInfo(); |
| 4502 o.tokenPagination = buildTokenPagination(); |
| 4503 o.visitorId = "foo"; |
| 4504 } |
| 4505 buildCounterSuperChatEventListResponse--; |
| 4506 return o; |
| 4507 } |
| 4508 |
| 4509 checkSuperChatEventListResponse(api.SuperChatEventListResponse o) { |
| 4510 buildCounterSuperChatEventListResponse++; |
| 4511 if (buildCounterSuperChatEventListResponse < 3) { |
| 4512 unittest.expect(o.etag, unittest.equals('foo')); |
| 4513 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4514 checkUnnamed526(o.items); |
| 4515 unittest.expect(o.kind, unittest.equals('foo')); |
| 4516 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4517 checkPageInfo(o.pageInfo); |
| 4518 checkTokenPagination(o.tokenPagination); |
| 4519 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4520 } |
| 4521 buildCounterSuperChatEventListResponse--; |
| 4522 } |
| 4523 |
| 4524 core.int buildCounterSuperChatEventSnippet = 0; |
| 4525 buildSuperChatEventSnippet() { |
| 4526 var o = new api.SuperChatEventSnippet(); |
| 4527 buildCounterSuperChatEventSnippet++; |
| 4528 if (buildCounterSuperChatEventSnippet < 3) { |
| 4529 o.amountMicros = "foo"; |
| 4530 o.channelId = "foo"; |
| 4531 o.commentText = "foo"; |
| 4532 o.createdAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 4533 o.currency = "foo"; |
| 4534 o.displayString = "foo"; |
| 4535 o.messageType = 42; |
| 4536 o.supporterDetails = buildChannelProfileDetails(); |
| 4537 } |
| 4538 buildCounterSuperChatEventSnippet--; |
| 4539 return o; |
| 4540 } |
| 4541 |
| 4542 checkSuperChatEventSnippet(api.SuperChatEventSnippet o) { |
| 4543 buildCounterSuperChatEventSnippet++; |
| 4544 if (buildCounterSuperChatEventSnippet < 3) { |
| 4545 unittest.expect(o.amountMicros, unittest.equals('foo')); |
| 4546 unittest.expect(o.channelId, unittest.equals('foo')); |
| 4547 unittest.expect(o.commentText, unittest.equals('foo')); |
| 4548 unittest.expect(o.createdAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 4549 unittest.expect(o.currency, unittest.equals('foo')); |
| 4550 unittest.expect(o.displayString, unittest.equals('foo')); |
| 4551 unittest.expect(o.messageType, unittest.equals(42)); |
| 4552 checkChannelProfileDetails(o.supporterDetails); |
| 4553 } |
| 4554 buildCounterSuperChatEventSnippet--; |
| 4555 } |
| 4556 |
4409 core.int buildCounterThumbnail = 0; | 4557 core.int buildCounterThumbnail = 0; |
4410 buildThumbnail() { | 4558 buildThumbnail() { |
4411 var o = new api.Thumbnail(); | 4559 var o = new api.Thumbnail(); |
4412 buildCounterThumbnail++; | 4560 buildCounterThumbnail++; |
4413 if (buildCounterThumbnail < 3) { | 4561 if (buildCounterThumbnail < 3) { |
4414 o.height = 42; | 4562 o.height = 42; |
4415 o.url = "foo"; | 4563 o.url = "foo"; |
4416 o.width = 42; | 4564 o.width = 42; |
4417 } | 4565 } |
4418 buildCounterThumbnail--; | 4566 buildCounterThumbnail--; |
(...skipping 30 matching lines...) Expand all Loading... |
4449 if (buildCounterThumbnailDetails < 3) { | 4597 if (buildCounterThumbnailDetails < 3) { |
4450 checkThumbnail(o.default_); | 4598 checkThumbnail(o.default_); |
4451 checkThumbnail(o.high); | 4599 checkThumbnail(o.high); |
4452 checkThumbnail(o.maxres); | 4600 checkThumbnail(o.maxres); |
4453 checkThumbnail(o.medium); | 4601 checkThumbnail(o.medium); |
4454 checkThumbnail(o.standard); | 4602 checkThumbnail(o.standard); |
4455 } | 4603 } |
4456 buildCounterThumbnailDetails--; | 4604 buildCounterThumbnailDetails--; |
4457 } | 4605 } |
4458 | 4606 |
4459 buildUnnamed521() { | 4607 buildUnnamed527() { |
4460 var o = new core.List<api.ThumbnailDetails>(); | 4608 var o = new core.List<api.ThumbnailDetails>(); |
4461 o.add(buildThumbnailDetails()); | 4609 o.add(buildThumbnailDetails()); |
4462 o.add(buildThumbnailDetails()); | 4610 o.add(buildThumbnailDetails()); |
4463 return o; | 4611 return o; |
4464 } | 4612 } |
4465 | 4613 |
4466 checkUnnamed521(core.List<api.ThumbnailDetails> o) { | 4614 checkUnnamed527(core.List<api.ThumbnailDetails> o) { |
4467 unittest.expect(o, unittest.hasLength(2)); | 4615 unittest.expect(o, unittest.hasLength(2)); |
4468 checkThumbnailDetails(o[0]); | 4616 checkThumbnailDetails(o[0]); |
4469 checkThumbnailDetails(o[1]); | 4617 checkThumbnailDetails(o[1]); |
4470 } | 4618 } |
4471 | 4619 |
4472 core.int buildCounterThumbnailSetResponse = 0; | 4620 core.int buildCounterThumbnailSetResponse = 0; |
4473 buildThumbnailSetResponse() { | 4621 buildThumbnailSetResponse() { |
4474 var o = new api.ThumbnailSetResponse(); | 4622 var o = new api.ThumbnailSetResponse(); |
4475 buildCounterThumbnailSetResponse++; | 4623 buildCounterThumbnailSetResponse++; |
4476 if (buildCounterThumbnailSetResponse < 3) { | 4624 if (buildCounterThumbnailSetResponse < 3) { |
4477 o.etag = "foo"; | 4625 o.etag = "foo"; |
4478 o.eventId = "foo"; | 4626 o.eventId = "foo"; |
4479 o.items = buildUnnamed521(); | 4627 o.items = buildUnnamed527(); |
4480 o.kind = "foo"; | 4628 o.kind = "foo"; |
4481 o.visitorId = "foo"; | 4629 o.visitorId = "foo"; |
4482 } | 4630 } |
4483 buildCounterThumbnailSetResponse--; | 4631 buildCounterThumbnailSetResponse--; |
4484 return o; | 4632 return o; |
4485 } | 4633 } |
4486 | 4634 |
4487 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 4635 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
4488 buildCounterThumbnailSetResponse++; | 4636 buildCounterThumbnailSetResponse++; |
4489 if (buildCounterThumbnailSetResponse < 3) { | 4637 if (buildCounterThumbnailSetResponse < 3) { |
4490 unittest.expect(o.etag, unittest.equals('foo')); | 4638 unittest.expect(o.etag, unittest.equals('foo')); |
4491 unittest.expect(o.eventId, unittest.equals('foo')); | 4639 unittest.expect(o.eventId, unittest.equals('foo')); |
4492 checkUnnamed521(o.items); | 4640 checkUnnamed527(o.items); |
4493 unittest.expect(o.kind, unittest.equals('foo')); | 4641 unittest.expect(o.kind, unittest.equals('foo')); |
4494 unittest.expect(o.visitorId, unittest.equals('foo')); | 4642 unittest.expect(o.visitorId, unittest.equals('foo')); |
4495 } | 4643 } |
4496 buildCounterThumbnailSetResponse--; | 4644 buildCounterThumbnailSetResponse--; |
4497 } | 4645 } |
4498 | 4646 |
4499 core.int buildCounterTokenPagination = 0; | 4647 core.int buildCounterTokenPagination = 0; |
4500 buildTokenPagination() { | 4648 buildTokenPagination() { |
4501 var o = new api.TokenPagination(); | 4649 var o = new api.TokenPagination(); |
4502 buildCounterTokenPagination++; | 4650 buildCounterTokenPagination++; |
4503 if (buildCounterTokenPagination < 3) { | 4651 if (buildCounterTokenPagination < 3) { |
4504 } | 4652 } |
4505 buildCounterTokenPagination--; | 4653 buildCounterTokenPagination--; |
4506 return o; | 4654 return o; |
4507 } | 4655 } |
4508 | 4656 |
4509 checkTokenPagination(api.TokenPagination o) { | 4657 checkTokenPagination(api.TokenPagination o) { |
4510 buildCounterTokenPagination++; | 4658 buildCounterTokenPagination++; |
4511 if (buildCounterTokenPagination < 3) { | 4659 if (buildCounterTokenPagination < 3) { |
4512 } | 4660 } |
4513 buildCounterTokenPagination--; | 4661 buildCounterTokenPagination--; |
4514 } | 4662 } |
4515 | 4663 |
4516 buildUnnamed522() { | 4664 buildUnnamed528() { |
4517 var o = new core.Map<core.String, api.VideoLocalization>(); | 4665 var o = new core.Map<core.String, api.VideoLocalization>(); |
4518 o["x"] = buildVideoLocalization(); | 4666 o["x"] = buildVideoLocalization(); |
4519 o["y"] = buildVideoLocalization(); | 4667 o["y"] = buildVideoLocalization(); |
4520 return o; | 4668 return o; |
4521 } | 4669 } |
4522 | 4670 |
4523 checkUnnamed522(core.Map<core.String, api.VideoLocalization> o) { | 4671 checkUnnamed528(core.Map<core.String, api.VideoLocalization> o) { |
4524 unittest.expect(o, unittest.hasLength(2)); | 4672 unittest.expect(o, unittest.hasLength(2)); |
4525 checkVideoLocalization(o["x"]); | 4673 checkVideoLocalization(o["x"]); |
4526 checkVideoLocalization(o["y"]); | 4674 checkVideoLocalization(o["y"]); |
4527 } | 4675 } |
4528 | 4676 |
4529 core.int buildCounterVideo = 0; | 4677 core.int buildCounterVideo = 0; |
4530 buildVideo() { | 4678 buildVideo() { |
4531 var o = new api.Video(); | 4679 var o = new api.Video(); |
4532 buildCounterVideo++; | 4680 buildCounterVideo++; |
4533 if (buildCounterVideo < 3) { | 4681 if (buildCounterVideo < 3) { |
4534 o.ageGating = buildVideoAgeGating(); | 4682 o.ageGating = buildVideoAgeGating(); |
4535 o.contentDetails = buildVideoContentDetails(); | 4683 o.contentDetails = buildVideoContentDetails(); |
4536 o.etag = "foo"; | 4684 o.etag = "foo"; |
4537 o.fileDetails = buildVideoFileDetails(); | 4685 o.fileDetails = buildVideoFileDetails(); |
4538 o.id = "foo"; | 4686 o.id = "foo"; |
4539 o.kind = "foo"; | 4687 o.kind = "foo"; |
4540 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 4688 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
4541 o.localizations = buildUnnamed522(); | 4689 o.localizations = buildUnnamed528(); |
4542 o.monetizationDetails = buildVideoMonetizationDetails(); | 4690 o.monetizationDetails = buildVideoMonetizationDetails(); |
4543 o.player = buildVideoPlayer(); | 4691 o.player = buildVideoPlayer(); |
4544 o.processingDetails = buildVideoProcessingDetails(); | 4692 o.processingDetails = buildVideoProcessingDetails(); |
4545 o.projectDetails = buildVideoProjectDetails(); | 4693 o.projectDetails = buildVideoProjectDetails(); |
4546 o.recordingDetails = buildVideoRecordingDetails(); | 4694 o.recordingDetails = buildVideoRecordingDetails(); |
4547 o.snippet = buildVideoSnippet(); | 4695 o.snippet = buildVideoSnippet(); |
4548 o.statistics = buildVideoStatistics(); | 4696 o.statistics = buildVideoStatistics(); |
4549 o.status = buildVideoStatus(); | 4697 o.status = buildVideoStatus(); |
4550 o.suggestions = buildVideoSuggestions(); | 4698 o.suggestions = buildVideoSuggestions(); |
4551 o.topicDetails = buildVideoTopicDetails(); | 4699 o.topicDetails = buildVideoTopicDetails(); |
4552 } | 4700 } |
4553 buildCounterVideo--; | 4701 buildCounterVideo--; |
4554 return o; | 4702 return o; |
4555 } | 4703 } |
4556 | 4704 |
4557 checkVideo(api.Video o) { | 4705 checkVideo(api.Video o) { |
4558 buildCounterVideo++; | 4706 buildCounterVideo++; |
4559 if (buildCounterVideo < 3) { | 4707 if (buildCounterVideo < 3) { |
4560 checkVideoAgeGating(o.ageGating); | 4708 checkVideoAgeGating(o.ageGating); |
4561 checkVideoContentDetails(o.contentDetails); | 4709 checkVideoContentDetails(o.contentDetails); |
4562 unittest.expect(o.etag, unittest.equals('foo')); | 4710 unittest.expect(o.etag, unittest.equals('foo')); |
4563 checkVideoFileDetails(o.fileDetails); | 4711 checkVideoFileDetails(o.fileDetails); |
4564 unittest.expect(o.id, unittest.equals('foo')); | 4712 unittest.expect(o.id, unittest.equals('foo')); |
4565 unittest.expect(o.kind, unittest.equals('foo')); | 4713 unittest.expect(o.kind, unittest.equals('foo')); |
4566 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 4714 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
4567 checkUnnamed522(o.localizations); | 4715 checkUnnamed528(o.localizations); |
4568 checkVideoMonetizationDetails(o.monetizationDetails); | 4716 checkVideoMonetizationDetails(o.monetizationDetails); |
4569 checkVideoPlayer(o.player); | 4717 checkVideoPlayer(o.player); |
4570 checkVideoProcessingDetails(o.processingDetails); | 4718 checkVideoProcessingDetails(o.processingDetails); |
4571 checkVideoProjectDetails(o.projectDetails); | 4719 checkVideoProjectDetails(o.projectDetails); |
4572 checkVideoRecordingDetails(o.recordingDetails); | 4720 checkVideoRecordingDetails(o.recordingDetails); |
4573 checkVideoSnippet(o.snippet); | 4721 checkVideoSnippet(o.snippet); |
4574 checkVideoStatistics(o.statistics); | 4722 checkVideoStatistics(o.statistics); |
4575 checkVideoStatus(o.status); | 4723 checkVideoStatus(o.status); |
4576 checkVideoSuggestions(o.suggestions); | 4724 checkVideoSuggestions(o.suggestions); |
4577 checkVideoTopicDetails(o.topicDetails); | 4725 checkVideoTopicDetails(o.topicDetails); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4624 buildCounterVideoAbuseReportReason++; | 4772 buildCounterVideoAbuseReportReason++; |
4625 if (buildCounterVideoAbuseReportReason < 3) { | 4773 if (buildCounterVideoAbuseReportReason < 3) { |
4626 unittest.expect(o.etag, unittest.equals('foo')); | 4774 unittest.expect(o.etag, unittest.equals('foo')); |
4627 unittest.expect(o.id, unittest.equals('foo')); | 4775 unittest.expect(o.id, unittest.equals('foo')); |
4628 unittest.expect(o.kind, unittest.equals('foo')); | 4776 unittest.expect(o.kind, unittest.equals('foo')); |
4629 checkVideoAbuseReportReasonSnippet(o.snippet); | 4777 checkVideoAbuseReportReasonSnippet(o.snippet); |
4630 } | 4778 } |
4631 buildCounterVideoAbuseReportReason--; | 4779 buildCounterVideoAbuseReportReason--; |
4632 } | 4780 } |
4633 | 4781 |
4634 buildUnnamed523() { | 4782 buildUnnamed529() { |
4635 var o = new core.List<api.VideoAbuseReportReason>(); | 4783 var o = new core.List<api.VideoAbuseReportReason>(); |
4636 o.add(buildVideoAbuseReportReason()); | 4784 o.add(buildVideoAbuseReportReason()); |
4637 o.add(buildVideoAbuseReportReason()); | 4785 o.add(buildVideoAbuseReportReason()); |
4638 return o; | 4786 return o; |
4639 } | 4787 } |
4640 | 4788 |
4641 checkUnnamed523(core.List<api.VideoAbuseReportReason> o) { | 4789 checkUnnamed529(core.List<api.VideoAbuseReportReason> o) { |
4642 unittest.expect(o, unittest.hasLength(2)); | 4790 unittest.expect(o, unittest.hasLength(2)); |
4643 checkVideoAbuseReportReason(o[0]); | 4791 checkVideoAbuseReportReason(o[0]); |
4644 checkVideoAbuseReportReason(o[1]); | 4792 checkVideoAbuseReportReason(o[1]); |
4645 } | 4793 } |
4646 | 4794 |
4647 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 4795 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
4648 buildVideoAbuseReportReasonListResponse() { | 4796 buildVideoAbuseReportReasonListResponse() { |
4649 var o = new api.VideoAbuseReportReasonListResponse(); | 4797 var o = new api.VideoAbuseReportReasonListResponse(); |
4650 buildCounterVideoAbuseReportReasonListResponse++; | 4798 buildCounterVideoAbuseReportReasonListResponse++; |
4651 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4799 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
4652 o.etag = "foo"; | 4800 o.etag = "foo"; |
4653 o.eventId = "foo"; | 4801 o.eventId = "foo"; |
4654 o.items = buildUnnamed523(); | 4802 o.items = buildUnnamed529(); |
4655 o.kind = "foo"; | 4803 o.kind = "foo"; |
4656 o.visitorId = "foo"; | 4804 o.visitorId = "foo"; |
4657 } | 4805 } |
4658 buildCounterVideoAbuseReportReasonListResponse--; | 4806 buildCounterVideoAbuseReportReasonListResponse--; |
4659 return o; | 4807 return o; |
4660 } | 4808 } |
4661 | 4809 |
4662 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 4810 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
4663 buildCounterVideoAbuseReportReasonListResponse++; | 4811 buildCounterVideoAbuseReportReasonListResponse++; |
4664 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4812 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
4665 unittest.expect(o.etag, unittest.equals('foo')); | 4813 unittest.expect(o.etag, unittest.equals('foo')); |
4666 unittest.expect(o.eventId, unittest.equals('foo')); | 4814 unittest.expect(o.eventId, unittest.equals('foo')); |
4667 checkUnnamed523(o.items); | 4815 checkUnnamed529(o.items); |
4668 unittest.expect(o.kind, unittest.equals('foo')); | 4816 unittest.expect(o.kind, unittest.equals('foo')); |
4669 unittest.expect(o.visitorId, unittest.equals('foo')); | 4817 unittest.expect(o.visitorId, unittest.equals('foo')); |
4670 } | 4818 } |
4671 buildCounterVideoAbuseReportReasonListResponse--; | 4819 buildCounterVideoAbuseReportReasonListResponse--; |
4672 } | 4820 } |
4673 | 4821 |
4674 buildUnnamed524() { | 4822 buildUnnamed530() { |
4675 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 4823 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
4676 o.add(buildVideoAbuseReportSecondaryReason()); | 4824 o.add(buildVideoAbuseReportSecondaryReason()); |
4677 o.add(buildVideoAbuseReportSecondaryReason()); | 4825 o.add(buildVideoAbuseReportSecondaryReason()); |
4678 return o; | 4826 return o; |
4679 } | 4827 } |
4680 | 4828 |
4681 checkUnnamed524(core.List<api.VideoAbuseReportSecondaryReason> o) { | 4829 checkUnnamed530(core.List<api.VideoAbuseReportSecondaryReason> o) { |
4682 unittest.expect(o, unittest.hasLength(2)); | 4830 unittest.expect(o, unittest.hasLength(2)); |
4683 checkVideoAbuseReportSecondaryReason(o[0]); | 4831 checkVideoAbuseReportSecondaryReason(o[0]); |
4684 checkVideoAbuseReportSecondaryReason(o[1]); | 4832 checkVideoAbuseReportSecondaryReason(o[1]); |
4685 } | 4833 } |
4686 | 4834 |
4687 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 4835 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
4688 buildVideoAbuseReportReasonSnippet() { | 4836 buildVideoAbuseReportReasonSnippet() { |
4689 var o = new api.VideoAbuseReportReasonSnippet(); | 4837 var o = new api.VideoAbuseReportReasonSnippet(); |
4690 buildCounterVideoAbuseReportReasonSnippet++; | 4838 buildCounterVideoAbuseReportReasonSnippet++; |
4691 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4839 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
4692 o.label = "foo"; | 4840 o.label = "foo"; |
4693 o.secondaryReasons = buildUnnamed524(); | 4841 o.secondaryReasons = buildUnnamed530(); |
4694 } | 4842 } |
4695 buildCounterVideoAbuseReportReasonSnippet--; | 4843 buildCounterVideoAbuseReportReasonSnippet--; |
4696 return o; | 4844 return o; |
4697 } | 4845 } |
4698 | 4846 |
4699 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 4847 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
4700 buildCounterVideoAbuseReportReasonSnippet++; | 4848 buildCounterVideoAbuseReportReasonSnippet++; |
4701 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4849 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
4702 unittest.expect(o.label, unittest.equals('foo')); | 4850 unittest.expect(o.label, unittest.equals('foo')); |
4703 checkUnnamed524(o.secondaryReasons); | 4851 checkUnnamed530(o.secondaryReasons); |
4704 } | 4852 } |
4705 buildCounterVideoAbuseReportReasonSnippet--; | 4853 buildCounterVideoAbuseReportReasonSnippet--; |
4706 } | 4854 } |
4707 | 4855 |
4708 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 4856 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
4709 buildVideoAbuseReportSecondaryReason() { | 4857 buildVideoAbuseReportSecondaryReason() { |
4710 var o = new api.VideoAbuseReportSecondaryReason(); | 4858 var o = new api.VideoAbuseReportSecondaryReason(); |
4711 buildCounterVideoAbuseReportSecondaryReason++; | 4859 buildCounterVideoAbuseReportSecondaryReason++; |
4712 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 4860 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
4713 o.id = "foo"; | 4861 o.id = "foo"; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4767 buildCounterVideoCategory++; | 4915 buildCounterVideoCategory++; |
4768 if (buildCounterVideoCategory < 3) { | 4916 if (buildCounterVideoCategory < 3) { |
4769 unittest.expect(o.etag, unittest.equals('foo')); | 4917 unittest.expect(o.etag, unittest.equals('foo')); |
4770 unittest.expect(o.id, unittest.equals('foo')); | 4918 unittest.expect(o.id, unittest.equals('foo')); |
4771 unittest.expect(o.kind, unittest.equals('foo')); | 4919 unittest.expect(o.kind, unittest.equals('foo')); |
4772 checkVideoCategorySnippet(o.snippet); | 4920 checkVideoCategorySnippet(o.snippet); |
4773 } | 4921 } |
4774 buildCounterVideoCategory--; | 4922 buildCounterVideoCategory--; |
4775 } | 4923 } |
4776 | 4924 |
4777 buildUnnamed525() { | 4925 buildUnnamed531() { |
4778 var o = new core.List<api.VideoCategory>(); | 4926 var o = new core.List<api.VideoCategory>(); |
4779 o.add(buildVideoCategory()); | 4927 o.add(buildVideoCategory()); |
4780 o.add(buildVideoCategory()); | 4928 o.add(buildVideoCategory()); |
4781 return o; | 4929 return o; |
4782 } | 4930 } |
4783 | 4931 |
4784 checkUnnamed525(core.List<api.VideoCategory> o) { | 4932 checkUnnamed531(core.List<api.VideoCategory> o) { |
4785 unittest.expect(o, unittest.hasLength(2)); | 4933 unittest.expect(o, unittest.hasLength(2)); |
4786 checkVideoCategory(o[0]); | 4934 checkVideoCategory(o[0]); |
4787 checkVideoCategory(o[1]); | 4935 checkVideoCategory(o[1]); |
4788 } | 4936 } |
4789 | 4937 |
4790 core.int buildCounterVideoCategoryListResponse = 0; | 4938 core.int buildCounterVideoCategoryListResponse = 0; |
4791 buildVideoCategoryListResponse() { | 4939 buildVideoCategoryListResponse() { |
4792 var o = new api.VideoCategoryListResponse(); | 4940 var o = new api.VideoCategoryListResponse(); |
4793 buildCounterVideoCategoryListResponse++; | 4941 buildCounterVideoCategoryListResponse++; |
4794 if (buildCounterVideoCategoryListResponse < 3) { | 4942 if (buildCounterVideoCategoryListResponse < 3) { |
4795 o.etag = "foo"; | 4943 o.etag = "foo"; |
4796 o.eventId = "foo"; | 4944 o.eventId = "foo"; |
4797 o.items = buildUnnamed525(); | 4945 o.items = buildUnnamed531(); |
4798 o.kind = "foo"; | 4946 o.kind = "foo"; |
4799 o.nextPageToken = "foo"; | 4947 o.nextPageToken = "foo"; |
4800 o.pageInfo = buildPageInfo(); | 4948 o.pageInfo = buildPageInfo(); |
4801 o.prevPageToken = "foo"; | 4949 o.prevPageToken = "foo"; |
4802 o.tokenPagination = buildTokenPagination(); | 4950 o.tokenPagination = buildTokenPagination(); |
4803 o.visitorId = "foo"; | 4951 o.visitorId = "foo"; |
4804 } | 4952 } |
4805 buildCounterVideoCategoryListResponse--; | 4953 buildCounterVideoCategoryListResponse--; |
4806 return o; | 4954 return o; |
4807 } | 4955 } |
4808 | 4956 |
4809 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4957 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
4810 buildCounterVideoCategoryListResponse++; | 4958 buildCounterVideoCategoryListResponse++; |
4811 if (buildCounterVideoCategoryListResponse < 3) { | 4959 if (buildCounterVideoCategoryListResponse < 3) { |
4812 unittest.expect(o.etag, unittest.equals('foo')); | 4960 unittest.expect(o.etag, unittest.equals('foo')); |
4813 unittest.expect(o.eventId, unittest.equals('foo')); | 4961 unittest.expect(o.eventId, unittest.equals('foo')); |
4814 checkUnnamed525(o.items); | 4962 checkUnnamed531(o.items); |
4815 unittest.expect(o.kind, unittest.equals('foo')); | 4963 unittest.expect(o.kind, unittest.equals('foo')); |
4816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4964 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4817 checkPageInfo(o.pageInfo); | 4965 checkPageInfo(o.pageInfo); |
4818 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4966 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4819 checkTokenPagination(o.tokenPagination); | 4967 checkTokenPagination(o.tokenPagination); |
4820 unittest.expect(o.visitorId, unittest.equals('foo')); | 4968 unittest.expect(o.visitorId, unittest.equals('foo')); |
4821 } | 4969 } |
4822 buildCounterVideoCategoryListResponse--; | 4970 buildCounterVideoCategoryListResponse--; |
4823 } | 4971 } |
4824 | 4972 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4875 unittest.expect(o.dimension, unittest.equals('foo')); | 5023 unittest.expect(o.dimension, unittest.equals('foo')); |
4876 unittest.expect(o.duration, unittest.equals('foo')); | 5024 unittest.expect(o.duration, unittest.equals('foo')); |
4877 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); | 5025 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); |
4878 unittest.expect(o.licensedContent, unittest.isTrue); | 5026 unittest.expect(o.licensedContent, unittest.isTrue); |
4879 unittest.expect(o.projection, unittest.equals('foo')); | 5027 unittest.expect(o.projection, unittest.equals('foo')); |
4880 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 5028 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
4881 } | 5029 } |
4882 buildCounterVideoContentDetails--; | 5030 buildCounterVideoContentDetails--; |
4883 } | 5031 } |
4884 | 5032 |
4885 buildUnnamed526() { | 5033 buildUnnamed532() { |
4886 var o = new core.List<core.String>(); | 5034 var o = new core.List<core.String>(); |
4887 o.add("foo"); | 5035 o.add("foo"); |
4888 o.add("foo"); | 5036 o.add("foo"); |
4889 return o; | 5037 return o; |
4890 } | 5038 } |
4891 | 5039 |
4892 checkUnnamed526(core.List<core.String> o) { | 5040 checkUnnamed532(core.List<core.String> o) { |
4893 unittest.expect(o, unittest.hasLength(2)); | 5041 unittest.expect(o, unittest.hasLength(2)); |
4894 unittest.expect(o[0], unittest.equals('foo')); | 5042 unittest.expect(o[0], unittest.equals('foo')); |
4895 unittest.expect(o[1], unittest.equals('foo')); | 5043 unittest.expect(o[1], unittest.equals('foo')); |
4896 } | 5044 } |
4897 | 5045 |
4898 buildUnnamed527() { | 5046 buildUnnamed533() { |
4899 var o = new core.List<core.String>(); | 5047 var o = new core.List<core.String>(); |
4900 o.add("foo"); | 5048 o.add("foo"); |
4901 o.add("foo"); | 5049 o.add("foo"); |
4902 return o; | 5050 return o; |
4903 } | 5051 } |
4904 | 5052 |
4905 checkUnnamed527(core.List<core.String> o) { | 5053 checkUnnamed533(core.List<core.String> o) { |
4906 unittest.expect(o, unittest.hasLength(2)); | 5054 unittest.expect(o, unittest.hasLength(2)); |
4907 unittest.expect(o[0], unittest.equals('foo')); | 5055 unittest.expect(o[0], unittest.equals('foo')); |
4908 unittest.expect(o[1], unittest.equals('foo')); | 5056 unittest.expect(o[1], unittest.equals('foo')); |
4909 } | 5057 } |
4910 | 5058 |
4911 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 5059 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
4912 buildVideoContentDetailsRegionRestriction() { | 5060 buildVideoContentDetailsRegionRestriction() { |
4913 var o = new api.VideoContentDetailsRegionRestriction(); | 5061 var o = new api.VideoContentDetailsRegionRestriction(); |
4914 buildCounterVideoContentDetailsRegionRestriction++; | 5062 buildCounterVideoContentDetailsRegionRestriction++; |
4915 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 5063 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
4916 o.allowed = buildUnnamed526(); | 5064 o.allowed = buildUnnamed532(); |
4917 o.blocked = buildUnnamed527(); | 5065 o.blocked = buildUnnamed533(); |
4918 } | 5066 } |
4919 buildCounterVideoContentDetailsRegionRestriction--; | 5067 buildCounterVideoContentDetailsRegionRestriction--; |
4920 return o; | 5068 return o; |
4921 } | 5069 } |
4922 | 5070 |
4923 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 5071 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
4924 buildCounterVideoContentDetailsRegionRestriction++; | 5072 buildCounterVideoContentDetailsRegionRestriction++; |
4925 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 5073 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
4926 checkUnnamed526(o.allowed); | 5074 checkUnnamed532(o.allowed); |
4927 checkUnnamed527(o.blocked); | 5075 checkUnnamed533(o.blocked); |
4928 } | 5076 } |
4929 buildCounterVideoContentDetailsRegionRestriction--; | 5077 buildCounterVideoContentDetailsRegionRestriction--; |
4930 } | 5078 } |
4931 | 5079 |
4932 buildUnnamed528() { | 5080 buildUnnamed534() { |
4933 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 5081 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
4934 o.add(buildVideoFileDetailsAudioStream()); | 5082 o.add(buildVideoFileDetailsAudioStream()); |
4935 o.add(buildVideoFileDetailsAudioStream()); | 5083 o.add(buildVideoFileDetailsAudioStream()); |
4936 return o; | 5084 return o; |
4937 } | 5085 } |
4938 | 5086 |
4939 checkUnnamed528(core.List<api.VideoFileDetailsAudioStream> o) { | 5087 checkUnnamed534(core.List<api.VideoFileDetailsAudioStream> o) { |
4940 unittest.expect(o, unittest.hasLength(2)); | 5088 unittest.expect(o, unittest.hasLength(2)); |
4941 checkVideoFileDetailsAudioStream(o[0]); | 5089 checkVideoFileDetailsAudioStream(o[0]); |
4942 checkVideoFileDetailsAudioStream(o[1]); | 5090 checkVideoFileDetailsAudioStream(o[1]); |
4943 } | 5091 } |
4944 | 5092 |
4945 buildUnnamed529() { | 5093 buildUnnamed535() { |
4946 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 5094 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
4947 o.add(buildVideoFileDetailsVideoStream()); | 5095 o.add(buildVideoFileDetailsVideoStream()); |
4948 o.add(buildVideoFileDetailsVideoStream()); | 5096 o.add(buildVideoFileDetailsVideoStream()); |
4949 return o; | 5097 return o; |
4950 } | 5098 } |
4951 | 5099 |
4952 checkUnnamed529(core.List<api.VideoFileDetailsVideoStream> o) { | 5100 checkUnnamed535(core.List<api.VideoFileDetailsVideoStream> o) { |
4953 unittest.expect(o, unittest.hasLength(2)); | 5101 unittest.expect(o, unittest.hasLength(2)); |
4954 checkVideoFileDetailsVideoStream(o[0]); | 5102 checkVideoFileDetailsVideoStream(o[0]); |
4955 checkVideoFileDetailsVideoStream(o[1]); | 5103 checkVideoFileDetailsVideoStream(o[1]); |
4956 } | 5104 } |
4957 | 5105 |
4958 core.int buildCounterVideoFileDetails = 0; | 5106 core.int buildCounterVideoFileDetails = 0; |
4959 buildVideoFileDetails() { | 5107 buildVideoFileDetails() { |
4960 var o = new api.VideoFileDetails(); | 5108 var o = new api.VideoFileDetails(); |
4961 buildCounterVideoFileDetails++; | 5109 buildCounterVideoFileDetails++; |
4962 if (buildCounterVideoFileDetails < 3) { | 5110 if (buildCounterVideoFileDetails < 3) { |
4963 o.audioStreams = buildUnnamed528(); | 5111 o.audioStreams = buildUnnamed534(); |
4964 o.bitrateBps = "foo"; | 5112 o.bitrateBps = "foo"; |
4965 o.container = "foo"; | 5113 o.container = "foo"; |
4966 o.creationTime = "foo"; | 5114 o.creationTime = "foo"; |
4967 o.durationMs = "foo"; | 5115 o.durationMs = "foo"; |
4968 o.fileName = "foo"; | 5116 o.fileName = "foo"; |
4969 o.fileSize = "foo"; | 5117 o.fileSize = "foo"; |
4970 o.fileType = "foo"; | 5118 o.fileType = "foo"; |
4971 o.videoStreams = buildUnnamed529(); | 5119 o.videoStreams = buildUnnamed535(); |
4972 } | 5120 } |
4973 buildCounterVideoFileDetails--; | 5121 buildCounterVideoFileDetails--; |
4974 return o; | 5122 return o; |
4975 } | 5123 } |
4976 | 5124 |
4977 checkVideoFileDetails(api.VideoFileDetails o) { | 5125 checkVideoFileDetails(api.VideoFileDetails o) { |
4978 buildCounterVideoFileDetails++; | 5126 buildCounterVideoFileDetails++; |
4979 if (buildCounterVideoFileDetails < 3) { | 5127 if (buildCounterVideoFileDetails < 3) { |
4980 checkUnnamed528(o.audioStreams); | 5128 checkUnnamed534(o.audioStreams); |
4981 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 5129 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
4982 unittest.expect(o.container, unittest.equals('foo')); | 5130 unittest.expect(o.container, unittest.equals('foo')); |
4983 unittest.expect(o.creationTime, unittest.equals('foo')); | 5131 unittest.expect(o.creationTime, unittest.equals('foo')); |
4984 unittest.expect(o.durationMs, unittest.equals('foo')); | 5132 unittest.expect(o.durationMs, unittest.equals('foo')); |
4985 unittest.expect(o.fileName, unittest.equals('foo')); | 5133 unittest.expect(o.fileName, unittest.equals('foo')); |
4986 unittest.expect(o.fileSize, unittest.equals('foo')); | 5134 unittest.expect(o.fileSize, unittest.equals('foo')); |
4987 unittest.expect(o.fileType, unittest.equals('foo')); | 5135 unittest.expect(o.fileType, unittest.equals('foo')); |
4988 checkUnnamed529(o.videoStreams); | 5136 checkUnnamed535(o.videoStreams); |
4989 } | 5137 } |
4990 buildCounterVideoFileDetails--; | 5138 buildCounterVideoFileDetails--; |
4991 } | 5139 } |
4992 | 5140 |
4993 core.int buildCounterVideoFileDetailsAudioStream = 0; | 5141 core.int buildCounterVideoFileDetailsAudioStream = 0; |
4994 buildVideoFileDetailsAudioStream() { | 5142 buildVideoFileDetailsAudioStream() { |
4995 var o = new api.VideoFileDetailsAudioStream(); | 5143 var o = new api.VideoFileDetailsAudioStream(); |
4996 buildCounterVideoFileDetailsAudioStream++; | 5144 buildCounterVideoFileDetailsAudioStream++; |
4997 if (buildCounterVideoFileDetailsAudioStream < 3) { | 5145 if (buildCounterVideoFileDetailsAudioStream < 3) { |
4998 o.bitrateBps = "foo"; | 5146 o.bitrateBps = "foo"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5041 unittest.expect(o.codec, unittest.equals('foo')); | 5189 unittest.expect(o.codec, unittest.equals('foo')); |
5042 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 5190 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
5043 unittest.expect(o.heightPixels, unittest.equals(42)); | 5191 unittest.expect(o.heightPixels, unittest.equals(42)); |
5044 unittest.expect(o.rotation, unittest.equals('foo')); | 5192 unittest.expect(o.rotation, unittest.equals('foo')); |
5045 unittest.expect(o.vendor, unittest.equals('foo')); | 5193 unittest.expect(o.vendor, unittest.equals('foo')); |
5046 unittest.expect(o.widthPixels, unittest.equals(42)); | 5194 unittest.expect(o.widthPixels, unittest.equals(42)); |
5047 } | 5195 } |
5048 buildCounterVideoFileDetailsVideoStream--; | 5196 buildCounterVideoFileDetailsVideoStream--; |
5049 } | 5197 } |
5050 | 5198 |
5051 buildUnnamed530() { | 5199 buildUnnamed536() { |
5052 var o = new core.List<api.VideoRating>(); | 5200 var o = new core.List<api.VideoRating>(); |
5053 o.add(buildVideoRating()); | 5201 o.add(buildVideoRating()); |
5054 o.add(buildVideoRating()); | 5202 o.add(buildVideoRating()); |
5055 return o; | 5203 return o; |
5056 } | 5204 } |
5057 | 5205 |
5058 checkUnnamed530(core.List<api.VideoRating> o) { | 5206 checkUnnamed536(core.List<api.VideoRating> o) { |
5059 unittest.expect(o, unittest.hasLength(2)); | 5207 unittest.expect(o, unittest.hasLength(2)); |
5060 checkVideoRating(o[0]); | 5208 checkVideoRating(o[0]); |
5061 checkVideoRating(o[1]); | 5209 checkVideoRating(o[1]); |
5062 } | 5210 } |
5063 | 5211 |
5064 core.int buildCounterVideoGetRatingResponse = 0; | 5212 core.int buildCounterVideoGetRatingResponse = 0; |
5065 buildVideoGetRatingResponse() { | 5213 buildVideoGetRatingResponse() { |
5066 var o = new api.VideoGetRatingResponse(); | 5214 var o = new api.VideoGetRatingResponse(); |
5067 buildCounterVideoGetRatingResponse++; | 5215 buildCounterVideoGetRatingResponse++; |
5068 if (buildCounterVideoGetRatingResponse < 3) { | 5216 if (buildCounterVideoGetRatingResponse < 3) { |
5069 o.etag = "foo"; | 5217 o.etag = "foo"; |
5070 o.eventId = "foo"; | 5218 o.eventId = "foo"; |
5071 o.items = buildUnnamed530(); | 5219 o.items = buildUnnamed536(); |
5072 o.kind = "foo"; | 5220 o.kind = "foo"; |
5073 o.visitorId = "foo"; | 5221 o.visitorId = "foo"; |
5074 } | 5222 } |
5075 buildCounterVideoGetRatingResponse--; | 5223 buildCounterVideoGetRatingResponse--; |
5076 return o; | 5224 return o; |
5077 } | 5225 } |
5078 | 5226 |
5079 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 5227 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
5080 buildCounterVideoGetRatingResponse++; | 5228 buildCounterVideoGetRatingResponse++; |
5081 if (buildCounterVideoGetRatingResponse < 3) { | 5229 if (buildCounterVideoGetRatingResponse < 3) { |
5082 unittest.expect(o.etag, unittest.equals('foo')); | 5230 unittest.expect(o.etag, unittest.equals('foo')); |
5083 unittest.expect(o.eventId, unittest.equals('foo')); | 5231 unittest.expect(o.eventId, unittest.equals('foo')); |
5084 checkUnnamed530(o.items); | 5232 checkUnnamed536(o.items); |
5085 unittest.expect(o.kind, unittest.equals('foo')); | 5233 unittest.expect(o.kind, unittest.equals('foo')); |
5086 unittest.expect(o.visitorId, unittest.equals('foo')); | 5234 unittest.expect(o.visitorId, unittest.equals('foo')); |
5087 } | 5235 } |
5088 buildCounterVideoGetRatingResponse--; | 5236 buildCounterVideoGetRatingResponse--; |
5089 } | 5237 } |
5090 | 5238 |
5091 buildUnnamed531() { | 5239 buildUnnamed537() { |
5092 var o = new core.List<api.Video>(); | 5240 var o = new core.List<api.Video>(); |
5093 o.add(buildVideo()); | 5241 o.add(buildVideo()); |
5094 o.add(buildVideo()); | 5242 o.add(buildVideo()); |
5095 return o; | 5243 return o; |
5096 } | 5244 } |
5097 | 5245 |
5098 checkUnnamed531(core.List<api.Video> o) { | 5246 checkUnnamed537(core.List<api.Video> o) { |
5099 unittest.expect(o, unittest.hasLength(2)); | 5247 unittest.expect(o, unittest.hasLength(2)); |
5100 checkVideo(o[0]); | 5248 checkVideo(o[0]); |
5101 checkVideo(o[1]); | 5249 checkVideo(o[1]); |
5102 } | 5250 } |
5103 | 5251 |
5104 core.int buildCounterVideoListResponse = 0; | 5252 core.int buildCounterVideoListResponse = 0; |
5105 buildVideoListResponse() { | 5253 buildVideoListResponse() { |
5106 var o = new api.VideoListResponse(); | 5254 var o = new api.VideoListResponse(); |
5107 buildCounterVideoListResponse++; | 5255 buildCounterVideoListResponse++; |
5108 if (buildCounterVideoListResponse < 3) { | 5256 if (buildCounterVideoListResponse < 3) { |
5109 o.etag = "foo"; | 5257 o.etag = "foo"; |
5110 o.eventId = "foo"; | 5258 o.eventId = "foo"; |
5111 o.items = buildUnnamed531(); | 5259 o.items = buildUnnamed537(); |
5112 o.kind = "foo"; | 5260 o.kind = "foo"; |
5113 o.nextPageToken = "foo"; | 5261 o.nextPageToken = "foo"; |
5114 o.pageInfo = buildPageInfo(); | 5262 o.pageInfo = buildPageInfo(); |
5115 o.prevPageToken = "foo"; | 5263 o.prevPageToken = "foo"; |
5116 o.tokenPagination = buildTokenPagination(); | 5264 o.tokenPagination = buildTokenPagination(); |
5117 o.visitorId = "foo"; | 5265 o.visitorId = "foo"; |
5118 } | 5266 } |
5119 buildCounterVideoListResponse--; | 5267 buildCounterVideoListResponse--; |
5120 return o; | 5268 return o; |
5121 } | 5269 } |
5122 | 5270 |
5123 checkVideoListResponse(api.VideoListResponse o) { | 5271 checkVideoListResponse(api.VideoListResponse o) { |
5124 buildCounterVideoListResponse++; | 5272 buildCounterVideoListResponse++; |
5125 if (buildCounterVideoListResponse < 3) { | 5273 if (buildCounterVideoListResponse < 3) { |
5126 unittest.expect(o.etag, unittest.equals('foo')); | 5274 unittest.expect(o.etag, unittest.equals('foo')); |
5127 unittest.expect(o.eventId, unittest.equals('foo')); | 5275 unittest.expect(o.eventId, unittest.equals('foo')); |
5128 checkUnnamed531(o.items); | 5276 checkUnnamed537(o.items); |
5129 unittest.expect(o.kind, unittest.equals('foo')); | 5277 unittest.expect(o.kind, unittest.equals('foo')); |
5130 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5278 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5131 checkPageInfo(o.pageInfo); | 5279 checkPageInfo(o.pageInfo); |
5132 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 5280 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
5133 checkTokenPagination(o.tokenPagination); | 5281 checkTokenPagination(o.tokenPagination); |
5134 unittest.expect(o.visitorId, unittest.equals('foo')); | 5282 unittest.expect(o.visitorId, unittest.equals('foo')); |
5135 } | 5283 } |
5136 buildCounterVideoListResponse--; | 5284 buildCounterVideoListResponse--; |
5137 } | 5285 } |
5138 | 5286 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5277 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 5425 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
5278 buildCounterVideoProcessingDetailsProcessingProgress++; | 5426 buildCounterVideoProcessingDetailsProcessingProgress++; |
5279 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 5427 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
5280 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 5428 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
5281 unittest.expect(o.partsTotal, unittest.equals('foo')); | 5429 unittest.expect(o.partsTotal, unittest.equals('foo')); |
5282 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 5430 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
5283 } | 5431 } |
5284 buildCounterVideoProcessingDetailsProcessingProgress--; | 5432 buildCounterVideoProcessingDetailsProcessingProgress--; |
5285 } | 5433 } |
5286 | 5434 |
5287 buildUnnamed532() { | 5435 buildUnnamed538() { |
5288 var o = new core.List<core.String>(); | 5436 var o = new core.List<core.String>(); |
5289 o.add("foo"); | 5437 o.add("foo"); |
5290 o.add("foo"); | 5438 o.add("foo"); |
5291 return o; | 5439 return o; |
5292 } | 5440 } |
5293 | 5441 |
5294 checkUnnamed532(core.List<core.String> o) { | 5442 checkUnnamed538(core.List<core.String> o) { |
5295 unittest.expect(o, unittest.hasLength(2)); | 5443 unittest.expect(o, unittest.hasLength(2)); |
5296 unittest.expect(o[0], unittest.equals('foo')); | 5444 unittest.expect(o[0], unittest.equals('foo')); |
5297 unittest.expect(o[1], unittest.equals('foo')); | 5445 unittest.expect(o[1], unittest.equals('foo')); |
5298 } | 5446 } |
5299 | 5447 |
5300 core.int buildCounterVideoProjectDetails = 0; | 5448 core.int buildCounterVideoProjectDetails = 0; |
5301 buildVideoProjectDetails() { | 5449 buildVideoProjectDetails() { |
5302 var o = new api.VideoProjectDetails(); | 5450 var o = new api.VideoProjectDetails(); |
5303 buildCounterVideoProjectDetails++; | 5451 buildCounterVideoProjectDetails++; |
5304 if (buildCounterVideoProjectDetails < 3) { | 5452 if (buildCounterVideoProjectDetails < 3) { |
5305 o.tags = buildUnnamed532(); | 5453 o.tags = buildUnnamed538(); |
5306 } | 5454 } |
5307 buildCounterVideoProjectDetails--; | 5455 buildCounterVideoProjectDetails--; |
5308 return o; | 5456 return o; |
5309 } | 5457 } |
5310 | 5458 |
5311 checkVideoProjectDetails(api.VideoProjectDetails o) { | 5459 checkVideoProjectDetails(api.VideoProjectDetails o) { |
5312 buildCounterVideoProjectDetails++; | 5460 buildCounterVideoProjectDetails++; |
5313 if (buildCounterVideoProjectDetails < 3) { | 5461 if (buildCounterVideoProjectDetails < 3) { |
5314 checkUnnamed532(o.tags); | 5462 checkUnnamed538(o.tags); |
5315 } | 5463 } |
5316 buildCounterVideoProjectDetails--; | 5464 buildCounterVideoProjectDetails--; |
5317 } | 5465 } |
5318 | 5466 |
5319 core.int buildCounterVideoRating = 0; | 5467 core.int buildCounterVideoRating = 0; |
5320 buildVideoRating() { | 5468 buildVideoRating() { |
5321 var o = new api.VideoRating(); | 5469 var o = new api.VideoRating(); |
5322 buildCounterVideoRating++; | 5470 buildCounterVideoRating++; |
5323 if (buildCounterVideoRating < 3) { | 5471 if (buildCounterVideoRating < 3) { |
5324 o.rating = "foo"; | 5472 o.rating = "foo"; |
(...skipping 28 matching lines...) Expand all Loading... |
5353 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 5501 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
5354 buildCounterVideoRecordingDetails++; | 5502 buildCounterVideoRecordingDetails++; |
5355 if (buildCounterVideoRecordingDetails < 3) { | 5503 if (buildCounterVideoRecordingDetails < 3) { |
5356 checkGeoPoint(o.location); | 5504 checkGeoPoint(o.location); |
5357 unittest.expect(o.locationDescription, unittest.equals('foo')); | 5505 unittest.expect(o.locationDescription, unittest.equals('foo')); |
5358 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 5506 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
5359 } | 5507 } |
5360 buildCounterVideoRecordingDetails--; | 5508 buildCounterVideoRecordingDetails--; |
5361 } | 5509 } |
5362 | 5510 |
5363 buildUnnamed533() { | 5511 buildUnnamed539() { |
5364 var o = new core.List<core.String>(); | 5512 var o = new core.List<core.String>(); |
5365 o.add("foo"); | 5513 o.add("foo"); |
5366 o.add("foo"); | 5514 o.add("foo"); |
5367 return o; | 5515 return o; |
5368 } | 5516 } |
5369 | 5517 |
5370 checkUnnamed533(core.List<core.String> o) { | 5518 checkUnnamed539(core.List<core.String> o) { |
5371 unittest.expect(o, unittest.hasLength(2)); | 5519 unittest.expect(o, unittest.hasLength(2)); |
5372 unittest.expect(o[0], unittest.equals('foo')); | 5520 unittest.expect(o[0], unittest.equals('foo')); |
5373 unittest.expect(o[1], unittest.equals('foo')); | 5521 unittest.expect(o[1], unittest.equals('foo')); |
5374 } | 5522 } |
5375 | 5523 |
5376 core.int buildCounterVideoSnippet = 0; | 5524 core.int buildCounterVideoSnippet = 0; |
5377 buildVideoSnippet() { | 5525 buildVideoSnippet() { |
5378 var o = new api.VideoSnippet(); | 5526 var o = new api.VideoSnippet(); |
5379 buildCounterVideoSnippet++; | 5527 buildCounterVideoSnippet++; |
5380 if (buildCounterVideoSnippet < 3) { | 5528 if (buildCounterVideoSnippet < 3) { |
5381 o.categoryId = "foo"; | 5529 o.categoryId = "foo"; |
5382 o.channelId = "foo"; | 5530 o.channelId = "foo"; |
5383 o.channelTitle = "foo"; | 5531 o.channelTitle = "foo"; |
5384 o.defaultAudioLanguage = "foo"; | 5532 o.defaultAudioLanguage = "foo"; |
5385 o.defaultLanguage = "foo"; | 5533 o.defaultLanguage = "foo"; |
5386 o.description = "foo"; | 5534 o.description = "foo"; |
5387 o.liveBroadcastContent = "foo"; | 5535 o.liveBroadcastContent = "foo"; |
5388 o.localized = buildVideoLocalization(); | 5536 o.localized = buildVideoLocalization(); |
5389 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 5537 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
5390 o.tags = buildUnnamed533(); | 5538 o.tags = buildUnnamed539(); |
5391 o.thumbnails = buildThumbnailDetails(); | 5539 o.thumbnails = buildThumbnailDetails(); |
5392 o.title = "foo"; | 5540 o.title = "foo"; |
5393 } | 5541 } |
5394 buildCounterVideoSnippet--; | 5542 buildCounterVideoSnippet--; |
5395 return o; | 5543 return o; |
5396 } | 5544 } |
5397 | 5545 |
5398 checkVideoSnippet(api.VideoSnippet o) { | 5546 checkVideoSnippet(api.VideoSnippet o) { |
5399 buildCounterVideoSnippet++; | 5547 buildCounterVideoSnippet++; |
5400 if (buildCounterVideoSnippet < 3) { | 5548 if (buildCounterVideoSnippet < 3) { |
5401 unittest.expect(o.categoryId, unittest.equals('foo')); | 5549 unittest.expect(o.categoryId, unittest.equals('foo')); |
5402 unittest.expect(o.channelId, unittest.equals('foo')); | 5550 unittest.expect(o.channelId, unittest.equals('foo')); |
5403 unittest.expect(o.channelTitle, unittest.equals('foo')); | 5551 unittest.expect(o.channelTitle, unittest.equals('foo')); |
5404 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 5552 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
5405 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 5553 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
5406 unittest.expect(o.description, unittest.equals('foo')); | 5554 unittest.expect(o.description, unittest.equals('foo')); |
5407 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 5555 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
5408 checkVideoLocalization(o.localized); | 5556 checkVideoLocalization(o.localized); |
5409 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 5557 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
5410 checkUnnamed533(o.tags); | 5558 checkUnnamed539(o.tags); |
5411 checkThumbnailDetails(o.thumbnails); | 5559 checkThumbnailDetails(o.thumbnails); |
5412 unittest.expect(o.title, unittest.equals('foo')); | 5560 unittest.expect(o.title, unittest.equals('foo')); |
5413 } | 5561 } |
5414 buildCounterVideoSnippet--; | 5562 buildCounterVideoSnippet--; |
5415 } | 5563 } |
5416 | 5564 |
5417 core.int buildCounterVideoStatistics = 0; | 5565 core.int buildCounterVideoStatistics = 0; |
5418 buildVideoStatistics() { | 5566 buildVideoStatistics() { |
5419 var o = new api.VideoStatistics(); | 5567 var o = new api.VideoStatistics(); |
5420 buildCounterVideoStatistics++; | 5568 buildCounterVideoStatistics++; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5467 unittest.expect(o.license, unittest.equals('foo')); | 5615 unittest.expect(o.license, unittest.equals('foo')); |
5468 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 5616 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
5469 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 5617 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
5470 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 5618 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
5471 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 5619 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
5472 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 5620 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
5473 } | 5621 } |
5474 buildCounterVideoStatus--; | 5622 buildCounterVideoStatus--; |
5475 } | 5623 } |
5476 | 5624 |
5477 buildUnnamed534() { | 5625 buildUnnamed540() { |
5478 var o = new core.List<core.String>(); | 5626 var o = new core.List<core.String>(); |
5479 o.add("foo"); | 5627 o.add("foo"); |
5480 o.add("foo"); | 5628 o.add("foo"); |
5481 return o; | 5629 return o; |
5482 } | 5630 } |
5483 | 5631 |
5484 checkUnnamed534(core.List<core.String> o) { | 5632 checkUnnamed540(core.List<core.String> o) { |
5485 unittest.expect(o, unittest.hasLength(2)); | 5633 unittest.expect(o, unittest.hasLength(2)); |
5486 unittest.expect(o[0], unittest.equals('foo')); | 5634 unittest.expect(o[0], unittest.equals('foo')); |
5487 unittest.expect(o[1], unittest.equals('foo')); | 5635 unittest.expect(o[1], unittest.equals('foo')); |
5488 } | 5636 } |
5489 | 5637 |
5490 buildUnnamed535() { | 5638 buildUnnamed541() { |
5491 var o = new core.List<core.String>(); | 5639 var o = new core.List<core.String>(); |
5492 o.add("foo"); | 5640 o.add("foo"); |
5493 o.add("foo"); | 5641 o.add("foo"); |
5494 return o; | 5642 return o; |
5495 } | 5643 } |
5496 | 5644 |
5497 checkUnnamed535(core.List<core.String> o) { | 5645 checkUnnamed541(core.List<core.String> o) { |
5498 unittest.expect(o, unittest.hasLength(2)); | 5646 unittest.expect(o, unittest.hasLength(2)); |
5499 unittest.expect(o[0], unittest.equals('foo')); | 5647 unittest.expect(o[0], unittest.equals('foo')); |
5500 unittest.expect(o[1], unittest.equals('foo')); | 5648 unittest.expect(o[1], unittest.equals('foo')); |
5501 } | 5649 } |
5502 | 5650 |
5503 buildUnnamed536() { | 5651 buildUnnamed542() { |
5504 var o = new core.List<core.String>(); | 5652 var o = new core.List<core.String>(); |
5505 o.add("foo"); | 5653 o.add("foo"); |
5506 o.add("foo"); | 5654 o.add("foo"); |
5507 return o; | 5655 return o; |
5508 } | 5656 } |
5509 | 5657 |
5510 checkUnnamed536(core.List<core.String> o) { | 5658 checkUnnamed542(core.List<core.String> o) { |
5511 unittest.expect(o, unittest.hasLength(2)); | 5659 unittest.expect(o, unittest.hasLength(2)); |
5512 unittest.expect(o[0], unittest.equals('foo')); | 5660 unittest.expect(o[0], unittest.equals('foo')); |
5513 unittest.expect(o[1], unittest.equals('foo')); | 5661 unittest.expect(o[1], unittest.equals('foo')); |
5514 } | 5662 } |
5515 | 5663 |
5516 buildUnnamed537() { | 5664 buildUnnamed543() { |
5517 var o = new core.List<core.String>(); | 5665 var o = new core.List<core.String>(); |
5518 o.add("foo"); | 5666 o.add("foo"); |
5519 o.add("foo"); | 5667 o.add("foo"); |
5520 return o; | 5668 return o; |
5521 } | 5669 } |
5522 | 5670 |
5523 checkUnnamed537(core.List<core.String> o) { | 5671 checkUnnamed543(core.List<core.String> o) { |
5524 unittest.expect(o, unittest.hasLength(2)); | 5672 unittest.expect(o, unittest.hasLength(2)); |
5525 unittest.expect(o[0], unittest.equals('foo')); | 5673 unittest.expect(o[0], unittest.equals('foo')); |
5526 unittest.expect(o[1], unittest.equals('foo')); | 5674 unittest.expect(o[1], unittest.equals('foo')); |
5527 } | 5675 } |
5528 | 5676 |
5529 buildUnnamed538() { | 5677 buildUnnamed544() { |
5530 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 5678 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
5531 o.add(buildVideoSuggestionsTagSuggestion()); | 5679 o.add(buildVideoSuggestionsTagSuggestion()); |
5532 o.add(buildVideoSuggestionsTagSuggestion()); | 5680 o.add(buildVideoSuggestionsTagSuggestion()); |
5533 return o; | 5681 return o; |
5534 } | 5682 } |
5535 | 5683 |
5536 checkUnnamed538(core.List<api.VideoSuggestionsTagSuggestion> o) { | 5684 checkUnnamed544(core.List<api.VideoSuggestionsTagSuggestion> o) { |
5537 unittest.expect(o, unittest.hasLength(2)); | 5685 unittest.expect(o, unittest.hasLength(2)); |
5538 checkVideoSuggestionsTagSuggestion(o[0]); | 5686 checkVideoSuggestionsTagSuggestion(o[0]); |
5539 checkVideoSuggestionsTagSuggestion(o[1]); | 5687 checkVideoSuggestionsTagSuggestion(o[1]); |
5540 } | 5688 } |
5541 | 5689 |
5542 core.int buildCounterVideoSuggestions = 0; | 5690 core.int buildCounterVideoSuggestions = 0; |
5543 buildVideoSuggestions() { | 5691 buildVideoSuggestions() { |
5544 var o = new api.VideoSuggestions(); | 5692 var o = new api.VideoSuggestions(); |
5545 buildCounterVideoSuggestions++; | 5693 buildCounterVideoSuggestions++; |
5546 if (buildCounterVideoSuggestions < 3) { | 5694 if (buildCounterVideoSuggestions < 3) { |
5547 o.editorSuggestions = buildUnnamed534(); | 5695 o.editorSuggestions = buildUnnamed540(); |
5548 o.processingErrors = buildUnnamed535(); | 5696 o.processingErrors = buildUnnamed541(); |
5549 o.processingHints = buildUnnamed536(); | 5697 o.processingHints = buildUnnamed542(); |
5550 o.processingWarnings = buildUnnamed537(); | 5698 o.processingWarnings = buildUnnamed543(); |
5551 o.tagSuggestions = buildUnnamed538(); | 5699 o.tagSuggestions = buildUnnamed544(); |
5552 } | 5700 } |
5553 buildCounterVideoSuggestions--; | 5701 buildCounterVideoSuggestions--; |
5554 return o; | 5702 return o; |
5555 } | 5703 } |
5556 | 5704 |
5557 checkVideoSuggestions(api.VideoSuggestions o) { | 5705 checkVideoSuggestions(api.VideoSuggestions o) { |
5558 buildCounterVideoSuggestions++; | 5706 buildCounterVideoSuggestions++; |
5559 if (buildCounterVideoSuggestions < 3) { | 5707 if (buildCounterVideoSuggestions < 3) { |
5560 checkUnnamed534(o.editorSuggestions); | 5708 checkUnnamed540(o.editorSuggestions); |
5561 checkUnnamed535(o.processingErrors); | 5709 checkUnnamed541(o.processingErrors); |
5562 checkUnnamed536(o.processingHints); | 5710 checkUnnamed542(o.processingHints); |
5563 checkUnnamed537(o.processingWarnings); | 5711 checkUnnamed543(o.processingWarnings); |
5564 checkUnnamed538(o.tagSuggestions); | 5712 checkUnnamed544(o.tagSuggestions); |
5565 } | 5713 } |
5566 buildCounterVideoSuggestions--; | 5714 buildCounterVideoSuggestions--; |
5567 } | 5715 } |
5568 | 5716 |
5569 buildUnnamed539() { | 5717 buildUnnamed545() { |
5570 var o = new core.List<core.String>(); | 5718 var o = new core.List<core.String>(); |
5571 o.add("foo"); | 5719 o.add("foo"); |
5572 o.add("foo"); | 5720 o.add("foo"); |
5573 return o; | 5721 return o; |
5574 } | 5722 } |
5575 | 5723 |
5576 checkUnnamed539(core.List<core.String> o) { | 5724 checkUnnamed545(core.List<core.String> o) { |
5577 unittest.expect(o, unittest.hasLength(2)); | 5725 unittest.expect(o, unittest.hasLength(2)); |
5578 unittest.expect(o[0], unittest.equals('foo')); | 5726 unittest.expect(o[0], unittest.equals('foo')); |
5579 unittest.expect(o[1], unittest.equals('foo')); | 5727 unittest.expect(o[1], unittest.equals('foo')); |
5580 } | 5728 } |
5581 | 5729 |
5582 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 5730 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
5583 buildVideoSuggestionsTagSuggestion() { | 5731 buildVideoSuggestionsTagSuggestion() { |
5584 var o = new api.VideoSuggestionsTagSuggestion(); | 5732 var o = new api.VideoSuggestionsTagSuggestion(); |
5585 buildCounterVideoSuggestionsTagSuggestion++; | 5733 buildCounterVideoSuggestionsTagSuggestion++; |
5586 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5734 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
5587 o.categoryRestricts = buildUnnamed539(); | 5735 o.categoryRestricts = buildUnnamed545(); |
5588 o.tag = "foo"; | 5736 o.tag = "foo"; |
5589 } | 5737 } |
5590 buildCounterVideoSuggestionsTagSuggestion--; | 5738 buildCounterVideoSuggestionsTagSuggestion--; |
5591 return o; | 5739 return o; |
5592 } | 5740 } |
5593 | 5741 |
5594 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 5742 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
5595 buildCounterVideoSuggestionsTagSuggestion++; | 5743 buildCounterVideoSuggestionsTagSuggestion++; |
5596 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5744 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
5597 checkUnnamed539(o.categoryRestricts); | 5745 checkUnnamed545(o.categoryRestricts); |
5598 unittest.expect(o.tag, unittest.equals('foo')); | 5746 unittest.expect(o.tag, unittest.equals('foo')); |
5599 } | 5747 } |
5600 buildCounterVideoSuggestionsTagSuggestion--; | 5748 buildCounterVideoSuggestionsTagSuggestion--; |
5601 } | 5749 } |
5602 | 5750 |
5603 buildUnnamed540() { | 5751 buildUnnamed546() { |
5604 var o = new core.List<core.String>(); | 5752 var o = new core.List<core.String>(); |
5605 o.add("foo"); | 5753 o.add("foo"); |
5606 o.add("foo"); | 5754 o.add("foo"); |
5607 return o; | 5755 return o; |
5608 } | 5756 } |
5609 | 5757 |
5610 checkUnnamed540(core.List<core.String> o) { | 5758 checkUnnamed546(core.List<core.String> o) { |
5611 unittest.expect(o, unittest.hasLength(2)); | 5759 unittest.expect(o, unittest.hasLength(2)); |
5612 unittest.expect(o[0], unittest.equals('foo')); | 5760 unittest.expect(o[0], unittest.equals('foo')); |
5613 unittest.expect(o[1], unittest.equals('foo')); | 5761 unittest.expect(o[1], unittest.equals('foo')); |
5614 } | 5762 } |
5615 | 5763 |
5616 buildUnnamed541() { | 5764 buildUnnamed547() { |
5617 var o = new core.List<core.String>(); | 5765 var o = new core.List<core.String>(); |
5618 o.add("foo"); | 5766 o.add("foo"); |
5619 o.add("foo"); | 5767 o.add("foo"); |
5620 return o; | 5768 return o; |
5621 } | 5769 } |
5622 | 5770 |
5623 checkUnnamed541(core.List<core.String> o) { | 5771 checkUnnamed547(core.List<core.String> o) { |
5624 unittest.expect(o, unittest.hasLength(2)); | 5772 unittest.expect(o, unittest.hasLength(2)); |
5625 unittest.expect(o[0], unittest.equals('foo')); | 5773 unittest.expect(o[0], unittest.equals('foo')); |
5626 unittest.expect(o[1], unittest.equals('foo')); | 5774 unittest.expect(o[1], unittest.equals('foo')); |
| 5775 } |
| 5776 |
| 5777 buildUnnamed548() { |
| 5778 var o = new core.List<core.String>(); |
| 5779 o.add("foo"); |
| 5780 o.add("foo"); |
| 5781 return o; |
| 5782 } |
| 5783 |
| 5784 checkUnnamed548(core.List<core.String> o) { |
| 5785 unittest.expect(o, unittest.hasLength(2)); |
| 5786 unittest.expect(o[0], unittest.equals('foo')); |
| 5787 unittest.expect(o[1], unittest.equals('foo')); |
5627 } | 5788 } |
5628 | 5789 |
5629 core.int buildCounterVideoTopicDetails = 0; | 5790 core.int buildCounterVideoTopicDetails = 0; |
5630 buildVideoTopicDetails() { | 5791 buildVideoTopicDetails() { |
5631 var o = new api.VideoTopicDetails(); | 5792 var o = new api.VideoTopicDetails(); |
5632 buildCounterVideoTopicDetails++; | 5793 buildCounterVideoTopicDetails++; |
5633 if (buildCounterVideoTopicDetails < 3) { | 5794 if (buildCounterVideoTopicDetails < 3) { |
5634 o.relevantTopicIds = buildUnnamed540(); | 5795 o.relevantTopicIds = buildUnnamed546(); |
5635 o.topicIds = buildUnnamed541(); | 5796 o.topicCategories = buildUnnamed547(); |
| 5797 o.topicIds = buildUnnamed548(); |
5636 } | 5798 } |
5637 buildCounterVideoTopicDetails--; | 5799 buildCounterVideoTopicDetails--; |
5638 return o; | 5800 return o; |
5639 } | 5801 } |
5640 | 5802 |
5641 checkVideoTopicDetails(api.VideoTopicDetails o) { | 5803 checkVideoTopicDetails(api.VideoTopicDetails o) { |
5642 buildCounterVideoTopicDetails++; | 5804 buildCounterVideoTopicDetails++; |
5643 if (buildCounterVideoTopicDetails < 3) { | 5805 if (buildCounterVideoTopicDetails < 3) { |
5644 checkUnnamed540(o.relevantTopicIds); | 5806 checkUnnamed546(o.relevantTopicIds); |
5645 checkUnnamed541(o.topicIds); | 5807 checkUnnamed547(o.topicCategories); |
| 5808 checkUnnamed548(o.topicIds); |
5646 } | 5809 } |
5647 buildCounterVideoTopicDetails--; | 5810 buildCounterVideoTopicDetails--; |
5648 } | 5811 } |
5649 | 5812 |
5650 core.int buildCounterWatchSettings = 0; | 5813 core.int buildCounterWatchSettings = 0; |
5651 buildWatchSettings() { | 5814 buildWatchSettings() { |
5652 var o = new api.WatchSettings(); | 5815 var o = new api.WatchSettings(); |
5653 buildCounterWatchSettings++; | 5816 buildCounterWatchSettings++; |
5654 if (buildCounterWatchSettings < 3) { | 5817 if (buildCounterWatchSettings < 3) { |
5655 o.backgroundColor = "foo"; | 5818 o.backgroundColor = "foo"; |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6538 | 6701 |
6539 unittest.group("obj-schema-LiveChatPollVotedDetails", () { | 6702 unittest.group("obj-schema-LiveChatPollVotedDetails", () { |
6540 unittest.test("to-json--from-json", () { | 6703 unittest.test("to-json--from-json", () { |
6541 var o = buildLiveChatPollVotedDetails(); | 6704 var o = buildLiveChatPollVotedDetails(); |
6542 var od = new api.LiveChatPollVotedDetails.fromJson(o.toJson()); | 6705 var od = new api.LiveChatPollVotedDetails.fromJson(o.toJson()); |
6543 checkLiveChatPollVotedDetails(od); | 6706 checkLiveChatPollVotedDetails(od); |
6544 }); | 6707 }); |
6545 }); | 6708 }); |
6546 | 6709 |
6547 | 6710 |
| 6711 unittest.group("obj-schema-LiveChatSuperChatDetails", () { |
| 6712 unittest.test("to-json--from-json", () { |
| 6713 var o = buildLiveChatSuperChatDetails(); |
| 6714 var od = new api.LiveChatSuperChatDetails.fromJson(o.toJson()); |
| 6715 checkLiveChatSuperChatDetails(od); |
| 6716 }); |
| 6717 }); |
| 6718 |
| 6719 |
6548 unittest.group("obj-schema-LiveChatTextMessageDetails", () { | 6720 unittest.group("obj-schema-LiveChatTextMessageDetails", () { |
6549 unittest.test("to-json--from-json", () { | 6721 unittest.test("to-json--from-json", () { |
6550 var o = buildLiveChatTextMessageDetails(); | 6722 var o = buildLiveChatTextMessageDetails(); |
6551 var od = new api.LiveChatTextMessageDetails.fromJson(o.toJson()); | 6723 var od = new api.LiveChatTextMessageDetails.fromJson(o.toJson()); |
6552 checkLiveChatTextMessageDetails(od); | 6724 checkLiveChatTextMessageDetails(od); |
6553 }); | 6725 }); |
6554 }); | 6726 }); |
6555 | 6727 |
6556 | 6728 |
6557 unittest.group("obj-schema-LiveChatUserBannedMessageDetails", () { | 6729 unittest.group("obj-schema-LiveChatUserBannedMessageDetails", () { |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6898 | 7070 |
6899 unittest.group("obj-schema-SubscriptionSubscriberSnippet", () { | 7071 unittest.group("obj-schema-SubscriptionSubscriberSnippet", () { |
6900 unittest.test("to-json--from-json", () { | 7072 unittest.test("to-json--from-json", () { |
6901 var o = buildSubscriptionSubscriberSnippet(); | 7073 var o = buildSubscriptionSubscriberSnippet(); |
6902 var od = new api.SubscriptionSubscriberSnippet.fromJson(o.toJson()); | 7074 var od = new api.SubscriptionSubscriberSnippet.fromJson(o.toJson()); |
6903 checkSubscriptionSubscriberSnippet(od); | 7075 checkSubscriptionSubscriberSnippet(od); |
6904 }); | 7076 }); |
6905 }); | 7077 }); |
6906 | 7078 |
6907 | 7079 |
| 7080 unittest.group("obj-schema-SuperChatEvent", () { |
| 7081 unittest.test("to-json--from-json", () { |
| 7082 var o = buildSuperChatEvent(); |
| 7083 var od = new api.SuperChatEvent.fromJson(o.toJson()); |
| 7084 checkSuperChatEvent(od); |
| 7085 }); |
| 7086 }); |
| 7087 |
| 7088 |
| 7089 unittest.group("obj-schema-SuperChatEventListResponse", () { |
| 7090 unittest.test("to-json--from-json", () { |
| 7091 var o = buildSuperChatEventListResponse(); |
| 7092 var od = new api.SuperChatEventListResponse.fromJson(o.toJson()); |
| 7093 checkSuperChatEventListResponse(od); |
| 7094 }); |
| 7095 }); |
| 7096 |
| 7097 |
| 7098 unittest.group("obj-schema-SuperChatEventSnippet", () { |
| 7099 unittest.test("to-json--from-json", () { |
| 7100 var o = buildSuperChatEventSnippet(); |
| 7101 var od = new api.SuperChatEventSnippet.fromJson(o.toJson()); |
| 7102 checkSuperChatEventSnippet(od); |
| 7103 }); |
| 7104 }); |
| 7105 |
| 7106 |
6908 unittest.group("obj-schema-Thumbnail", () { | 7107 unittest.group("obj-schema-Thumbnail", () { |
6909 unittest.test("to-json--from-json", () { | 7108 unittest.test("to-json--from-json", () { |
6910 var o = buildThumbnail(); | 7109 var o = buildThumbnail(); |
6911 var od = new api.Thumbnail.fromJson(o.toJson()); | 7110 var od = new api.Thumbnail.fromJson(o.toJson()); |
6912 checkThumbnail(od); | 7111 checkThumbnail(od); |
6913 }); | 7112 }); |
6914 }); | 7113 }); |
6915 | 7114 |
6916 | 7115 |
6917 unittest.group("obj-schema-ThumbnailDetails", () { | 7116 unittest.group("obj-schema-ThumbnailDetails", () { |
(...skipping 3608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10526 return new async.Future.value(stringResponse(200, h, resp)); | 10725 return new async.Future.value(stringResponse(200, h, resp)); |
10527 }), true); | 10726 }), true); |
10528 res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelI
d, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, myRecentSubscribers:
arg_myRecentSubscribers, mySubscribers: arg_mySubscribers, onBehalfOfContentOwne
r: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfCont
entOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expec
tAsync(((api.SubscriptionListResponse response) { | 10727 res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelI
d, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, myRecentSubscribers:
arg_myRecentSubscribers, mySubscribers: arg_mySubscribers, onBehalfOfContentOwne
r: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfCont
entOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expec
tAsync(((api.SubscriptionListResponse response) { |
10529 checkSubscriptionListResponse(response); | 10728 checkSubscriptionListResponse(response); |
10530 }))); | 10729 }))); |
10531 }); | 10730 }); |
10532 | 10731 |
10533 }); | 10732 }); |
10534 | 10733 |
10535 | 10734 |
| 10735 unittest.group("resource-SuperChatEventsResourceApi", () { |
| 10736 unittest.test("method--list", () { |
| 10737 |
| 10738 var mock = new HttpServerMock(); |
| 10739 api.SuperChatEventsResourceApi res = new api.YoutubeApi(mock).superChatEve
nts; |
| 10740 var arg_part = "foo"; |
| 10741 var arg_hl = "foo"; |
| 10742 var arg_maxResults = 42; |
| 10743 var arg_pageToken = "foo"; |
| 10744 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10745 var path = (req.url).path; |
| 10746 var pathOffset = 0; |
| 10747 var index; |
| 10748 var subPart; |
| 10749 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 10750 pathOffset += 1; |
| 10751 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); |
| 10752 pathOffset += 11; |
| 10753 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("superChatEvents")); |
| 10754 pathOffset += 15; |
| 10755 |
| 10756 var query = (req.url).query; |
| 10757 var queryOffset = 0; |
| 10758 var queryMap = {}; |
| 10759 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 10760 parseBool(n) { |
| 10761 if (n == "true") return true; |
| 10762 if (n == "false") return false; |
| 10763 if (n == null) return null; |
| 10764 throw new core.ArgumentError("Invalid boolean: $n"); |
| 10765 } |
| 10766 if (query.length > 0) { |
| 10767 for (var part in query.split("&")) { |
| 10768 var keyvalue = part.split("="); |
| 10769 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 10770 } |
| 10771 } |
| 10772 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
| 10773 unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); |
| 10774 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 10775 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 10776 |
| 10777 |
| 10778 var h = { |
| 10779 "content-type" : "application/json; charset=utf-8", |
| 10780 }; |
| 10781 var resp = convert.JSON.encode(buildSuperChatEventListResponse()); |
| 10782 return new async.Future.value(stringResponse(200, h, resp)); |
| 10783 }), true); |
| 10784 res.list(arg_part, hl: arg_hl, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.SuperChatEventListResponse response)
{ |
| 10785 checkSuperChatEventListResponse(response); |
| 10786 }))); |
| 10787 }); |
| 10788 |
| 10789 }); |
| 10790 |
| 10791 |
10536 unittest.group("resource-ThumbnailsResourceApi", () { | 10792 unittest.group("resource-ThumbnailsResourceApi", () { |
10537 unittest.test("method--set", () { | 10793 unittest.test("method--set", () { |
10538 // TODO: Implement tests for media upload; | 10794 // TODO: Implement tests for media upload; |
10539 // TODO: Implement tests for media download; | 10795 // TODO: Implement tests for media download; |
10540 | 10796 |
10541 var mock = new HttpServerMock(); | 10797 var mock = new HttpServerMock(); |
10542 api.ThumbnailsResourceApi res = new api.YoutubeApi(mock).thumbnails; | 10798 api.ThumbnailsResourceApi res = new api.YoutubeApi(mock).thumbnails; |
10543 var arg_videoId = "foo"; | 10799 var arg_videoId = "foo"; |
10544 var arg_onBehalfOfContentOwner = "foo"; | 10800 var arg_onBehalfOfContentOwner = "foo"; |
10545 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 10801 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11180 return new async.Future.value(stringResponse(200, h, resp)); | 11436 return new async.Future.value(stringResponse(200, h, resp)); |
11181 }), true); | 11437 }), true); |
11182 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 11438 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
11183 }); | 11439 }); |
11184 | 11440 |
11185 }); | 11441 }); |
11186 | 11442 |
11187 | 11443 |
11188 } | 11444 } |
11189 | 11445 |
OLD | NEW |