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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed557() { | 54 buildUnnamed563() { |
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 checkUnnamed557(core.List<core.String> o) { | 61 checkUnnamed563(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 = buildUnnamed557(); | 73 o.exception = buildUnnamed563(); |
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 checkUnnamed557(o.exception); | 83 checkUnnamed563(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 buildUnnamed558() { | 272 buildUnnamed564() { |
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 checkUnnamed558(core.List<core.String> o) { | 279 checkUnnamed564(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 buildUnnamed559() { | 285 buildUnnamed565() { |
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 checkUnnamed559(core.List<core.String> o) { | 292 checkUnnamed565(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 = buildUnnamed558(); | 310 o.forecastingUrl = buildUnnamed564(); |
311 o.impressionUrl = buildUnnamed559(); | 311 o.impressionUrl = buildUnnamed565(); |
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 checkUnnamed558(o.forecastingUrl); | 328 checkUnnamed564(o.forecastingUrl); |
329 checkUnnamed559(o.impressionUrl); | 329 checkUnnamed565(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 buildUnnamed560() { | 423 buildUnnamed566() { |
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 checkUnnamed560(core.List<api.Activity> o) { | 430 checkUnnamed566(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 = buildUnnamed560(); | 443 o.items = buildUnnamed566(); |
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 checkUnnamed560(o.items); | 460 checkUnnamed566(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 buildUnnamed561() { | 529 buildUnnamed567() { |
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 checkUnnamed561(core.List<api.Caption> o) { | 536 checkUnnamed567(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 = buildUnnamed561(); | 549 o.items = buildUnnamed567(); |
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 checkUnnamed561(o.items); | 562 checkUnnamed567(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 buildUnnamed562() { | 639 buildUnnamed568() { |
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 checkUnnamed562(core.Map<core.String, api.ChannelLocalization> o) { | 646 checkUnnamed568(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 = buildUnnamed562(); | 666 o.localizations = buildUnnamed568(); |
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 checkUnnamed562(o.localizations); | 688 checkUnnamed568(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 buildUnnamed563() { | 745 buildUnnamed569() { |
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 checkUnnamed563(core.List<api.PropertyValue> o) { | 752 checkUnnamed569(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 = buildUnnamed563(); | 764 o.hints = buildUnnamed569(); |
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 checkUnnamed563(o.hints); | 776 checkUnnamed569(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 buildUnnamed564() { | 871 buildUnnamed570() { |
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 checkUnnamed564(core.List<api.ChannelConversionPing> o) { | 878 checkUnnamed570(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 = buildUnnamed564(); | 889 o.pings = buildUnnamed570(); |
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 checkUnnamed564(o.pings); | 898 checkUnnamed570(o.pings); |
899 } | 899 } |
900 buildCounterChannelConversionPings--; | 900 buildCounterChannelConversionPings--; |
901 } | 901 } |
902 | 902 |
903 buildUnnamed565() { | 903 buildUnnamed571() { |
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 checkUnnamed565(core.List<api.Channel> o) { | 910 checkUnnamed571(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 = buildUnnamed565(); | 923 o.items = buildUnnamed571(); |
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 checkUnnamed565(o.items); | 940 checkUnnamed571(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 buildUnnamed566() { | 997 buildUnnamed572() { |
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 checkUnnamed566(core.Map<core.String, api.ChannelSectionLocalization> o) { | 1004 checkUnnamed572(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 = buildUnnamed566(); | 1019 o.localizations = buildUnnamed572(); |
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 checkUnnamed566(o.localizations); | 1034 checkUnnamed572(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 buildUnnamed567() { | 1041 buildUnnamed573() { |
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 checkUnnamed567(core.List<core.String> o) { | 1048 checkUnnamed573(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 buildUnnamed568() { | 1054 buildUnnamed574() { |
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 checkUnnamed568(core.List<core.String> o) { | 1061 checkUnnamed574(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 = buildUnnamed567(); | 1072 o.channels = buildUnnamed573(); |
1073 o.playlists = buildUnnamed568(); | 1073 o.playlists = buildUnnamed574(); |
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 checkUnnamed567(o.channels); | 1082 checkUnnamed573(o.channels); |
1083 checkUnnamed568(o.playlists); | 1083 checkUnnamed574(o.playlists); |
1084 } | 1084 } |
1085 buildCounterChannelSectionContentDetails--; | 1085 buildCounterChannelSectionContentDetails--; |
1086 } | 1086 } |
1087 | 1087 |
1088 buildUnnamed569() { | 1088 buildUnnamed575() { |
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 checkUnnamed569(core.List<api.ChannelSection> o) { | 1095 checkUnnamed575(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 = buildUnnamed569(); | 1108 o.items = buildUnnamed575(); |
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 checkUnnamed569(o.items); | 1121 checkUnnamed575(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 buildUnnamed570() { | 1178 buildUnnamed576() { |
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 checkUnnamed570(core.List<core.String> o) { | 1185 checkUnnamed576(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 buildUnnamed571() { | 1191 buildUnnamed577() { |
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 checkUnnamed571(core.List<core.String> o) { | 1198 checkUnnamed577(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 buildUnnamed572() { | 1204 buildUnnamed578() { |
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 checkUnnamed572(core.List<core.String> o) { | 1211 checkUnnamed578(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 = buildUnnamed570(); | 1222 o.countries = buildUnnamed576(); |
1223 o.languages = buildUnnamed571(); | 1223 o.languages = buildUnnamed577(); |
1224 o.regions = buildUnnamed572(); | 1224 o.regions = buildUnnamed578(); |
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 checkUnnamed570(o.countries); | 1233 checkUnnamed576(o.countries); |
1234 checkUnnamed571(o.languages); | 1234 checkUnnamed577(o.languages); |
1235 checkUnnamed572(o.regions); | 1235 checkUnnamed578(o.regions); |
1236 } | 1236 } |
1237 buildCounterChannelSectionTargeting--; | 1237 buildCounterChannelSectionTargeting--; |
1238 } | 1238 } |
1239 | 1239 |
1240 buildUnnamed573() { | 1240 buildUnnamed579() { |
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 checkUnnamed573(core.List<core.String> o) { | 1247 checkUnnamed579(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 = buildUnnamed573(); | 1263 o.featuredChannelsUrls = buildUnnamed579(); |
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 checkUnnamed573(o.featuredChannelsUrls); | 1285 checkUnnamed579(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 buildUnnamed574() { | 1381 buildUnnamed580() { |
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 checkUnnamed574(core.List<core.String> o) { | 1388 checkUnnamed580(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 } | 1392 } |
1393 | 1393 |
1394 buildUnnamed575() { | 1394 buildUnnamed581() { |
1395 var o = new core.List<core.String>(); | 1395 var o = new core.List<core.String>(); |
1396 o.add("foo"); | 1396 o.add("foo"); |
1397 o.add("foo"); | 1397 o.add("foo"); |
1398 return o; | 1398 return o; |
1399 } | 1399 } |
1400 | 1400 |
1401 checkUnnamed575(core.List<core.String> o) { | 1401 checkUnnamed581(core.List<core.String> o) { |
1402 unittest.expect(o, unittest.hasLength(2)); | 1402 unittest.expect(o, unittest.hasLength(2)); |
1403 unittest.expect(o[0], unittest.equals('foo')); | 1403 unittest.expect(o[0], unittest.equals('foo')); |
1404 unittest.expect(o[1], unittest.equals('foo')); | 1404 unittest.expect(o[1], unittest.equals('foo')); |
1405 } | 1405 } |
1406 | 1406 |
1407 core.int buildCounterChannelTopicDetails = 0; | 1407 core.int buildCounterChannelTopicDetails = 0; |
1408 buildChannelTopicDetails() { | 1408 buildChannelTopicDetails() { |
1409 var o = new api.ChannelTopicDetails(); | 1409 var o = new api.ChannelTopicDetails(); |
1410 buildCounterChannelTopicDetails++; | 1410 buildCounterChannelTopicDetails++; |
1411 if (buildCounterChannelTopicDetails < 3) { | 1411 if (buildCounterChannelTopicDetails < 3) { |
1412 o.topicCategories = buildUnnamed574(); | 1412 o.topicCategories = buildUnnamed580(); |
1413 o.topicIds = buildUnnamed575(); | 1413 o.topicIds = buildUnnamed581(); |
1414 } | 1414 } |
1415 buildCounterChannelTopicDetails--; | 1415 buildCounterChannelTopicDetails--; |
1416 return o; | 1416 return o; |
1417 } | 1417 } |
1418 | 1418 |
1419 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1419 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
1420 buildCounterChannelTopicDetails++; | 1420 buildCounterChannelTopicDetails++; |
1421 if (buildCounterChannelTopicDetails < 3) { | 1421 if (buildCounterChannelTopicDetails < 3) { |
1422 checkUnnamed574(o.topicCategories); | 1422 checkUnnamed580(o.topicCategories); |
1423 checkUnnamed575(o.topicIds); | 1423 checkUnnamed581(o.topicIds); |
1424 } | 1424 } |
1425 buildCounterChannelTopicDetails--; | 1425 buildCounterChannelTopicDetails--; |
1426 } | 1426 } |
1427 | 1427 |
1428 core.int buildCounterComment = 0; | 1428 core.int buildCounterComment = 0; |
1429 buildComment() { | 1429 buildComment() { |
1430 var o = new api.Comment(); | 1430 var o = new api.Comment(); |
1431 buildCounterComment++; | 1431 buildCounterComment++; |
1432 if (buildCounterComment < 3) { | 1432 if (buildCounterComment < 3) { |
1433 o.etag = "foo"; | 1433 o.etag = "foo"; |
1434 o.id = "foo"; | 1434 o.id = "foo"; |
1435 o.kind = "foo"; | 1435 o.kind = "foo"; |
1436 o.snippet = buildCommentSnippet(); | 1436 o.snippet = buildCommentSnippet(); |
1437 } | 1437 } |
1438 buildCounterComment--; | 1438 buildCounterComment--; |
1439 return o; | 1439 return o; |
1440 } | 1440 } |
1441 | 1441 |
1442 checkComment(api.Comment o) { | 1442 checkComment(api.Comment o) { |
1443 buildCounterComment++; | 1443 buildCounterComment++; |
1444 if (buildCounterComment < 3) { | 1444 if (buildCounterComment < 3) { |
1445 unittest.expect(o.etag, unittest.equals('foo')); | 1445 unittest.expect(o.etag, unittest.equals('foo')); |
1446 unittest.expect(o.id, unittest.equals('foo')); | 1446 unittest.expect(o.id, unittest.equals('foo')); |
1447 unittest.expect(o.kind, unittest.equals('foo')); | 1447 unittest.expect(o.kind, unittest.equals('foo')); |
1448 checkCommentSnippet(o.snippet); | 1448 checkCommentSnippet(o.snippet); |
1449 } | 1449 } |
1450 buildCounterComment--; | 1450 buildCounterComment--; |
1451 } | 1451 } |
1452 | 1452 |
1453 buildUnnamed576() { | 1453 buildUnnamed582() { |
1454 var o = new core.List<api.Comment>(); | 1454 var o = new core.List<api.Comment>(); |
1455 o.add(buildComment()); | 1455 o.add(buildComment()); |
1456 o.add(buildComment()); | 1456 o.add(buildComment()); |
1457 return o; | 1457 return o; |
1458 } | 1458 } |
1459 | 1459 |
1460 checkUnnamed576(core.List<api.Comment> o) { | 1460 checkUnnamed582(core.List<api.Comment> o) { |
1461 unittest.expect(o, unittest.hasLength(2)); | 1461 unittest.expect(o, unittest.hasLength(2)); |
1462 checkComment(o[0]); | 1462 checkComment(o[0]); |
1463 checkComment(o[1]); | 1463 checkComment(o[1]); |
1464 } | 1464 } |
1465 | 1465 |
1466 core.int buildCounterCommentListResponse = 0; | 1466 core.int buildCounterCommentListResponse = 0; |
1467 buildCommentListResponse() { | 1467 buildCommentListResponse() { |
1468 var o = new api.CommentListResponse(); | 1468 var o = new api.CommentListResponse(); |
1469 buildCounterCommentListResponse++; | 1469 buildCounterCommentListResponse++; |
1470 if (buildCounterCommentListResponse < 3) { | 1470 if (buildCounterCommentListResponse < 3) { |
1471 o.etag = "foo"; | 1471 o.etag = "foo"; |
1472 o.eventId = "foo"; | 1472 o.eventId = "foo"; |
1473 o.items = buildUnnamed576(); | 1473 o.items = buildUnnamed582(); |
1474 o.kind = "foo"; | 1474 o.kind = "foo"; |
1475 o.nextPageToken = "foo"; | 1475 o.nextPageToken = "foo"; |
1476 o.pageInfo = buildPageInfo(); | 1476 o.pageInfo = buildPageInfo(); |
1477 o.tokenPagination = buildTokenPagination(); | 1477 o.tokenPagination = buildTokenPagination(); |
1478 o.visitorId = "foo"; | 1478 o.visitorId = "foo"; |
1479 } | 1479 } |
1480 buildCounterCommentListResponse--; | 1480 buildCounterCommentListResponse--; |
1481 return o; | 1481 return o; |
1482 } | 1482 } |
1483 | 1483 |
1484 checkCommentListResponse(api.CommentListResponse o) { | 1484 checkCommentListResponse(api.CommentListResponse o) { |
1485 buildCounterCommentListResponse++; | 1485 buildCounterCommentListResponse++; |
1486 if (buildCounterCommentListResponse < 3) { | 1486 if (buildCounterCommentListResponse < 3) { |
1487 unittest.expect(o.etag, unittest.equals('foo')); | 1487 unittest.expect(o.etag, unittest.equals('foo')); |
1488 unittest.expect(o.eventId, unittest.equals('foo')); | 1488 unittest.expect(o.eventId, unittest.equals('foo')); |
1489 checkUnnamed576(o.items); | 1489 checkUnnamed582(o.items); |
1490 unittest.expect(o.kind, unittest.equals('foo')); | 1490 unittest.expect(o.kind, unittest.equals('foo')); |
1491 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1491 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1492 checkPageInfo(o.pageInfo); | 1492 checkPageInfo(o.pageInfo); |
1493 checkTokenPagination(o.tokenPagination); | 1493 checkTokenPagination(o.tokenPagination); |
1494 unittest.expect(o.visitorId, unittest.equals('foo')); | 1494 unittest.expect(o.visitorId, unittest.equals('foo')); |
1495 } | 1495 } |
1496 buildCounterCommentListResponse--; | 1496 buildCounterCommentListResponse--; |
1497 } | 1497 } |
1498 | 1498 |
1499 core.int buildCounterCommentSnippet = 0; | 1499 core.int buildCounterCommentSnippet = 0; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1563 if (buildCounterCommentThread < 3) { | 1563 if (buildCounterCommentThread < 3) { |
1564 unittest.expect(o.etag, unittest.equals('foo')); | 1564 unittest.expect(o.etag, unittest.equals('foo')); |
1565 unittest.expect(o.id, unittest.equals('foo')); | 1565 unittest.expect(o.id, unittest.equals('foo')); |
1566 unittest.expect(o.kind, unittest.equals('foo')); | 1566 unittest.expect(o.kind, unittest.equals('foo')); |
1567 checkCommentThreadReplies(o.replies); | 1567 checkCommentThreadReplies(o.replies); |
1568 checkCommentThreadSnippet(o.snippet); | 1568 checkCommentThreadSnippet(o.snippet); |
1569 } | 1569 } |
1570 buildCounterCommentThread--; | 1570 buildCounterCommentThread--; |
1571 } | 1571 } |
1572 | 1572 |
1573 buildUnnamed577() { | 1573 buildUnnamed583() { |
1574 var o = new core.List<api.CommentThread>(); | 1574 var o = new core.List<api.CommentThread>(); |
1575 o.add(buildCommentThread()); | 1575 o.add(buildCommentThread()); |
1576 o.add(buildCommentThread()); | 1576 o.add(buildCommentThread()); |
1577 return o; | 1577 return o; |
1578 } | 1578 } |
1579 | 1579 |
1580 checkUnnamed577(core.List<api.CommentThread> o) { | 1580 checkUnnamed583(core.List<api.CommentThread> o) { |
1581 unittest.expect(o, unittest.hasLength(2)); | 1581 unittest.expect(o, unittest.hasLength(2)); |
1582 checkCommentThread(o[0]); | 1582 checkCommentThread(o[0]); |
1583 checkCommentThread(o[1]); | 1583 checkCommentThread(o[1]); |
1584 } | 1584 } |
1585 | 1585 |
1586 core.int buildCounterCommentThreadListResponse = 0; | 1586 core.int buildCounterCommentThreadListResponse = 0; |
1587 buildCommentThreadListResponse() { | 1587 buildCommentThreadListResponse() { |
1588 var o = new api.CommentThreadListResponse(); | 1588 var o = new api.CommentThreadListResponse(); |
1589 buildCounterCommentThreadListResponse++; | 1589 buildCounterCommentThreadListResponse++; |
1590 if (buildCounterCommentThreadListResponse < 3) { | 1590 if (buildCounterCommentThreadListResponse < 3) { |
1591 o.etag = "foo"; | 1591 o.etag = "foo"; |
1592 o.eventId = "foo"; | 1592 o.eventId = "foo"; |
1593 o.items = buildUnnamed577(); | 1593 o.items = buildUnnamed583(); |
1594 o.kind = "foo"; | 1594 o.kind = "foo"; |
1595 o.nextPageToken = "foo"; | 1595 o.nextPageToken = "foo"; |
1596 o.pageInfo = buildPageInfo(); | 1596 o.pageInfo = buildPageInfo(); |
1597 o.tokenPagination = buildTokenPagination(); | 1597 o.tokenPagination = buildTokenPagination(); |
1598 o.visitorId = "foo"; | 1598 o.visitorId = "foo"; |
1599 } | 1599 } |
1600 buildCounterCommentThreadListResponse--; | 1600 buildCounterCommentThreadListResponse--; |
1601 return o; | 1601 return o; |
1602 } | 1602 } |
1603 | 1603 |
1604 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1604 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
1605 buildCounterCommentThreadListResponse++; | 1605 buildCounterCommentThreadListResponse++; |
1606 if (buildCounterCommentThreadListResponse < 3) { | 1606 if (buildCounterCommentThreadListResponse < 3) { |
1607 unittest.expect(o.etag, unittest.equals('foo')); | 1607 unittest.expect(o.etag, unittest.equals('foo')); |
1608 unittest.expect(o.eventId, unittest.equals('foo')); | 1608 unittest.expect(o.eventId, unittest.equals('foo')); |
1609 checkUnnamed577(o.items); | 1609 checkUnnamed583(o.items); |
1610 unittest.expect(o.kind, unittest.equals('foo')); | 1610 unittest.expect(o.kind, unittest.equals('foo')); |
1611 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1611 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1612 checkPageInfo(o.pageInfo); | 1612 checkPageInfo(o.pageInfo); |
1613 checkTokenPagination(o.tokenPagination); | 1613 checkTokenPagination(o.tokenPagination); |
1614 unittest.expect(o.visitorId, unittest.equals('foo')); | 1614 unittest.expect(o.visitorId, unittest.equals('foo')); |
1615 } | 1615 } |
1616 buildCounterCommentThreadListResponse--; | 1616 buildCounterCommentThreadListResponse--; |
1617 } | 1617 } |
1618 | 1618 |
1619 buildUnnamed578() { | 1619 buildUnnamed584() { |
1620 var o = new core.List<api.Comment>(); | 1620 var o = new core.List<api.Comment>(); |
1621 o.add(buildComment()); | 1621 o.add(buildComment()); |
1622 o.add(buildComment()); | 1622 o.add(buildComment()); |
1623 return o; | 1623 return o; |
1624 } | 1624 } |
1625 | 1625 |
1626 checkUnnamed578(core.List<api.Comment> o) { | 1626 checkUnnamed584(core.List<api.Comment> o) { |
1627 unittest.expect(o, unittest.hasLength(2)); | 1627 unittest.expect(o, unittest.hasLength(2)); |
1628 checkComment(o[0]); | 1628 checkComment(o[0]); |
1629 checkComment(o[1]); | 1629 checkComment(o[1]); |
1630 } | 1630 } |
1631 | 1631 |
1632 core.int buildCounterCommentThreadReplies = 0; | 1632 core.int buildCounterCommentThreadReplies = 0; |
1633 buildCommentThreadReplies() { | 1633 buildCommentThreadReplies() { |
1634 var o = new api.CommentThreadReplies(); | 1634 var o = new api.CommentThreadReplies(); |
1635 buildCounterCommentThreadReplies++; | 1635 buildCounterCommentThreadReplies++; |
1636 if (buildCounterCommentThreadReplies < 3) { | 1636 if (buildCounterCommentThreadReplies < 3) { |
1637 o.comments = buildUnnamed578(); | 1637 o.comments = buildUnnamed584(); |
1638 } | 1638 } |
1639 buildCounterCommentThreadReplies--; | 1639 buildCounterCommentThreadReplies--; |
1640 return o; | 1640 return o; |
1641 } | 1641 } |
1642 | 1642 |
1643 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1643 checkCommentThreadReplies(api.CommentThreadReplies o) { |
1644 buildCounterCommentThreadReplies++; | 1644 buildCounterCommentThreadReplies++; |
1645 if (buildCounterCommentThreadReplies < 3) { | 1645 if (buildCounterCommentThreadReplies < 3) { |
1646 checkUnnamed578(o.comments); | 1646 checkUnnamed584(o.comments); |
1647 } | 1647 } |
1648 buildCounterCommentThreadReplies--; | 1648 buildCounterCommentThreadReplies--; |
1649 } | 1649 } |
1650 | 1650 |
1651 core.int buildCounterCommentThreadSnippet = 0; | 1651 core.int buildCounterCommentThreadSnippet = 0; |
1652 buildCommentThreadSnippet() { | 1652 buildCommentThreadSnippet() { |
1653 var o = new api.CommentThreadSnippet(); | 1653 var o = new api.CommentThreadSnippet(); |
1654 buildCounterCommentThreadSnippet++; | 1654 buildCounterCommentThreadSnippet++; |
1655 if (buildCounterCommentThreadSnippet < 3) { | 1655 if (buildCounterCommentThreadSnippet < 3) { |
1656 o.canReply = true; | 1656 o.canReply = true; |
(...skipping 13 matching lines...) Expand all Loading... |
1670 unittest.expect(o.canReply, unittest.isTrue); | 1670 unittest.expect(o.canReply, unittest.isTrue); |
1671 unittest.expect(o.channelId, unittest.equals('foo')); | 1671 unittest.expect(o.channelId, unittest.equals('foo')); |
1672 unittest.expect(o.isPublic, unittest.isTrue); | 1672 unittest.expect(o.isPublic, unittest.isTrue); |
1673 checkComment(o.topLevelComment); | 1673 checkComment(o.topLevelComment); |
1674 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1674 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
1675 unittest.expect(o.videoId, unittest.equals('foo')); | 1675 unittest.expect(o.videoId, unittest.equals('foo')); |
1676 } | 1676 } |
1677 buildCounterCommentThreadSnippet--; | 1677 buildCounterCommentThreadSnippet--; |
1678 } | 1678 } |
1679 | 1679 |
1680 buildUnnamed579() { | 1680 buildUnnamed585() { |
1681 var o = new core.List<core.String>(); | 1681 var o = new core.List<core.String>(); |
1682 o.add("foo"); | 1682 o.add("foo"); |
1683 o.add("foo"); | 1683 o.add("foo"); |
1684 return o; | 1684 return o; |
1685 } | 1685 } |
1686 | 1686 |
1687 checkUnnamed579(core.List<core.String> o) { | 1687 checkUnnamed585(core.List<core.String> o) { |
1688 unittest.expect(o, unittest.hasLength(2)); | 1688 unittest.expect(o, unittest.hasLength(2)); |
1689 unittest.expect(o[0], unittest.equals('foo')); | 1689 unittest.expect(o[0], unittest.equals('foo')); |
1690 unittest.expect(o[1], unittest.equals('foo')); | 1690 unittest.expect(o[1], unittest.equals('foo')); |
1691 } | 1691 } |
1692 | 1692 |
1693 buildUnnamed580() { | 1693 buildUnnamed586() { |
1694 var o = new core.List<core.String>(); | 1694 var o = new core.List<core.String>(); |
1695 o.add("foo"); | 1695 o.add("foo"); |
1696 o.add("foo"); | 1696 o.add("foo"); |
1697 return o; | 1697 return o; |
1698 } | 1698 } |
1699 | 1699 |
1700 checkUnnamed580(core.List<core.String> o) { | 1700 checkUnnamed586(core.List<core.String> o) { |
1701 unittest.expect(o, unittest.hasLength(2)); | 1701 unittest.expect(o, unittest.hasLength(2)); |
1702 unittest.expect(o[0], unittest.equals('foo')); | 1702 unittest.expect(o[0], unittest.equals('foo')); |
1703 unittest.expect(o[1], unittest.equals('foo')); | 1703 unittest.expect(o[1], unittest.equals('foo')); |
1704 } | 1704 } |
1705 | 1705 |
1706 core.int buildCounterContentRating = 0; | 1706 core.int buildCounterContentRating = 0; |
1707 buildContentRating() { | 1707 buildContentRating() { |
1708 var o = new api.ContentRating(); | 1708 var o = new api.ContentRating(); |
1709 buildCounterContentRating++; | 1709 buildCounterContentRating++; |
1710 if (buildCounterContentRating < 3) { | 1710 if (buildCounterContentRating < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
1721 o.cceRating = "foo"; | 1721 o.cceRating = "foo"; |
1722 o.chfilmRating = "foo"; | 1722 o.chfilmRating = "foo"; |
1723 o.chvrsRating = "foo"; | 1723 o.chvrsRating = "foo"; |
1724 o.cicfRating = "foo"; | 1724 o.cicfRating = "foo"; |
1725 o.cnaRating = "foo"; | 1725 o.cnaRating = "foo"; |
1726 o.cncRating = "foo"; | 1726 o.cncRating = "foo"; |
1727 o.csaRating = "foo"; | 1727 o.csaRating = "foo"; |
1728 o.cscfRating = "foo"; | 1728 o.cscfRating = "foo"; |
1729 o.czfilmRating = "foo"; | 1729 o.czfilmRating = "foo"; |
1730 o.djctqRating = "foo"; | 1730 o.djctqRating = "foo"; |
1731 o.djctqRatingReasons = buildUnnamed579(); | 1731 o.djctqRatingReasons = buildUnnamed585(); |
1732 o.ecbmctRating = "foo"; | 1732 o.ecbmctRating = "foo"; |
1733 o.eefilmRating = "foo"; | 1733 o.eefilmRating = "foo"; |
1734 o.egfilmRating = "foo"; | 1734 o.egfilmRating = "foo"; |
1735 o.eirinRating = "foo"; | 1735 o.eirinRating = "foo"; |
1736 o.fcbmRating = "foo"; | 1736 o.fcbmRating = "foo"; |
1737 o.fcoRating = "foo"; | 1737 o.fcoRating = "foo"; |
1738 o.fmocRating = "foo"; | 1738 o.fmocRating = "foo"; |
1739 o.fpbRating = "foo"; | 1739 o.fpbRating = "foo"; |
1740 o.fpbRatingReasons = buildUnnamed580(); | 1740 o.fpbRatingReasons = buildUnnamed586(); |
1741 o.fskRating = "foo"; | 1741 o.fskRating = "foo"; |
1742 o.grfilmRating = "foo"; | 1742 o.grfilmRating = "foo"; |
1743 o.icaaRating = "foo"; | 1743 o.icaaRating = "foo"; |
1744 o.ifcoRating = "foo"; | 1744 o.ifcoRating = "foo"; |
1745 o.ilfilmRating = "foo"; | 1745 o.ilfilmRating = "foo"; |
1746 o.incaaRating = "foo"; | 1746 o.incaaRating = "foo"; |
1747 o.kfcbRating = "foo"; | 1747 o.kfcbRating = "foo"; |
1748 o.kijkwijzerRating = "foo"; | 1748 o.kijkwijzerRating = "foo"; |
1749 o.kmrbRating = "foo"; | 1749 o.kmrbRating = "foo"; |
1750 o.lsfRating = "foo"; | 1750 o.lsfRating = "foo"; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1797 unittest.expect(o.cceRating, unittest.equals('foo')); | 1797 unittest.expect(o.cceRating, unittest.equals('foo')); |
1798 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1798 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
1799 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1799 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
1800 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1800 unittest.expect(o.cicfRating, unittest.equals('foo')); |
1801 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1801 unittest.expect(o.cnaRating, unittest.equals('foo')); |
1802 unittest.expect(o.cncRating, unittest.equals('foo')); | 1802 unittest.expect(o.cncRating, unittest.equals('foo')); |
1803 unittest.expect(o.csaRating, unittest.equals('foo')); | 1803 unittest.expect(o.csaRating, unittest.equals('foo')); |
1804 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1804 unittest.expect(o.cscfRating, unittest.equals('foo')); |
1805 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1805 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
1806 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1806 unittest.expect(o.djctqRating, unittest.equals('foo')); |
1807 checkUnnamed579(o.djctqRatingReasons); | 1807 checkUnnamed585(o.djctqRatingReasons); |
1808 unittest.expect(o.ecbmctRating, unittest.equals('foo')); | 1808 unittest.expect(o.ecbmctRating, unittest.equals('foo')); |
1809 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1809 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
1810 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1810 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
1811 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1811 unittest.expect(o.eirinRating, unittest.equals('foo')); |
1812 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1812 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
1813 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1813 unittest.expect(o.fcoRating, unittest.equals('foo')); |
1814 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1814 unittest.expect(o.fmocRating, unittest.equals('foo')); |
1815 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1815 unittest.expect(o.fpbRating, unittest.equals('foo')); |
1816 checkUnnamed580(o.fpbRatingReasons); | 1816 checkUnnamed586(o.fpbRatingReasons); |
1817 unittest.expect(o.fskRating, unittest.equals('foo')); | 1817 unittest.expect(o.fskRating, unittest.equals('foo')); |
1818 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1818 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
1819 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1819 unittest.expect(o.icaaRating, unittest.equals('foo')); |
1820 unittest.expect(o.ifcoRating, unittest.equals('foo')); | 1820 unittest.expect(o.ifcoRating, unittest.equals('foo')); |
1821 unittest.expect(o.ilfilmRating, unittest.equals('foo')); | 1821 unittest.expect(o.ilfilmRating, unittest.equals('foo')); |
1822 unittest.expect(o.incaaRating, unittest.equals('foo')); | 1822 unittest.expect(o.incaaRating, unittest.equals('foo')); |
1823 unittest.expect(o.kfcbRating, unittest.equals('foo')); | 1823 unittest.expect(o.kfcbRating, unittest.equals('foo')); |
1824 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); | 1824 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); |
1825 unittest.expect(o.kmrbRating, unittest.equals('foo')); | 1825 unittest.expect(o.kmrbRating, unittest.equals('foo')); |
1826 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... |
1874 buildCounterFanFundingEvent++; | 1874 buildCounterFanFundingEvent++; |
1875 if (buildCounterFanFundingEvent < 3) { | 1875 if (buildCounterFanFundingEvent < 3) { |
1876 unittest.expect(o.etag, unittest.equals('foo')); | 1876 unittest.expect(o.etag, unittest.equals('foo')); |
1877 unittest.expect(o.id, unittest.equals('foo')); | 1877 unittest.expect(o.id, unittest.equals('foo')); |
1878 unittest.expect(o.kind, unittest.equals('foo')); | 1878 unittest.expect(o.kind, unittest.equals('foo')); |
1879 checkFanFundingEventSnippet(o.snippet); | 1879 checkFanFundingEventSnippet(o.snippet); |
1880 } | 1880 } |
1881 buildCounterFanFundingEvent--; | 1881 buildCounterFanFundingEvent--; |
1882 } | 1882 } |
1883 | 1883 |
1884 buildUnnamed581() { | 1884 buildUnnamed587() { |
1885 var o = new core.List<api.FanFundingEvent>(); | 1885 var o = new core.List<api.FanFundingEvent>(); |
1886 o.add(buildFanFundingEvent()); | 1886 o.add(buildFanFundingEvent()); |
1887 o.add(buildFanFundingEvent()); | 1887 o.add(buildFanFundingEvent()); |
1888 return o; | 1888 return o; |
1889 } | 1889 } |
1890 | 1890 |
1891 checkUnnamed581(core.List<api.FanFundingEvent> o) { | 1891 checkUnnamed587(core.List<api.FanFundingEvent> o) { |
1892 unittest.expect(o, unittest.hasLength(2)); | 1892 unittest.expect(o, unittest.hasLength(2)); |
1893 checkFanFundingEvent(o[0]); | 1893 checkFanFundingEvent(o[0]); |
1894 checkFanFundingEvent(o[1]); | 1894 checkFanFundingEvent(o[1]); |
1895 } | 1895 } |
1896 | 1896 |
1897 core.int buildCounterFanFundingEventListResponse = 0; | 1897 core.int buildCounterFanFundingEventListResponse = 0; |
1898 buildFanFundingEventListResponse() { | 1898 buildFanFundingEventListResponse() { |
1899 var o = new api.FanFundingEventListResponse(); | 1899 var o = new api.FanFundingEventListResponse(); |
1900 buildCounterFanFundingEventListResponse++; | 1900 buildCounterFanFundingEventListResponse++; |
1901 if (buildCounterFanFundingEventListResponse < 3) { | 1901 if (buildCounterFanFundingEventListResponse < 3) { |
1902 o.etag = "foo"; | 1902 o.etag = "foo"; |
1903 o.eventId = "foo"; | 1903 o.eventId = "foo"; |
1904 o.items = buildUnnamed581(); | 1904 o.items = buildUnnamed587(); |
1905 o.kind = "foo"; | 1905 o.kind = "foo"; |
1906 o.nextPageToken = "foo"; | 1906 o.nextPageToken = "foo"; |
1907 o.pageInfo = buildPageInfo(); | 1907 o.pageInfo = buildPageInfo(); |
1908 o.tokenPagination = buildTokenPagination(); | 1908 o.tokenPagination = buildTokenPagination(); |
1909 o.visitorId = "foo"; | 1909 o.visitorId = "foo"; |
1910 } | 1910 } |
1911 buildCounterFanFundingEventListResponse--; | 1911 buildCounterFanFundingEventListResponse--; |
1912 return o; | 1912 return o; |
1913 } | 1913 } |
1914 | 1914 |
1915 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { | 1915 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { |
1916 buildCounterFanFundingEventListResponse++; | 1916 buildCounterFanFundingEventListResponse++; |
1917 if (buildCounterFanFundingEventListResponse < 3) { | 1917 if (buildCounterFanFundingEventListResponse < 3) { |
1918 unittest.expect(o.etag, unittest.equals('foo')); | 1918 unittest.expect(o.etag, unittest.equals('foo')); |
1919 unittest.expect(o.eventId, unittest.equals('foo')); | 1919 unittest.expect(o.eventId, unittest.equals('foo')); |
1920 checkUnnamed581(o.items); | 1920 checkUnnamed587(o.items); |
1921 unittest.expect(o.kind, unittest.equals('foo')); | 1921 unittest.expect(o.kind, unittest.equals('foo')); |
1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1923 checkPageInfo(o.pageInfo); | 1923 checkPageInfo(o.pageInfo); |
1924 checkTokenPagination(o.tokenPagination); | 1924 checkTokenPagination(o.tokenPagination); |
1925 unittest.expect(o.visitorId, unittest.equals('foo')); | 1925 unittest.expect(o.visitorId, unittest.equals('foo')); |
1926 } | 1926 } |
1927 buildCounterFanFundingEventListResponse--; | 1927 buildCounterFanFundingEventListResponse--; |
1928 } | 1928 } |
1929 | 1929 |
1930 core.int buildCounterFanFundingEventSnippet = 0; | 1930 core.int buildCounterFanFundingEventSnippet = 0; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1999 buildCounterGuideCategory++; | 1999 buildCounterGuideCategory++; |
2000 if (buildCounterGuideCategory < 3) { | 2000 if (buildCounterGuideCategory < 3) { |
2001 unittest.expect(o.etag, unittest.equals('foo')); | 2001 unittest.expect(o.etag, unittest.equals('foo')); |
2002 unittest.expect(o.id, unittest.equals('foo')); | 2002 unittest.expect(o.id, unittest.equals('foo')); |
2003 unittest.expect(o.kind, unittest.equals('foo')); | 2003 unittest.expect(o.kind, unittest.equals('foo')); |
2004 checkGuideCategorySnippet(o.snippet); | 2004 checkGuideCategorySnippet(o.snippet); |
2005 } | 2005 } |
2006 buildCounterGuideCategory--; | 2006 buildCounterGuideCategory--; |
2007 } | 2007 } |
2008 | 2008 |
2009 buildUnnamed582() { | 2009 buildUnnamed588() { |
2010 var o = new core.List<api.GuideCategory>(); | 2010 var o = new core.List<api.GuideCategory>(); |
2011 o.add(buildGuideCategory()); | 2011 o.add(buildGuideCategory()); |
2012 o.add(buildGuideCategory()); | 2012 o.add(buildGuideCategory()); |
2013 return o; | 2013 return o; |
2014 } | 2014 } |
2015 | 2015 |
2016 checkUnnamed582(core.List<api.GuideCategory> o) { | 2016 checkUnnamed588(core.List<api.GuideCategory> o) { |
2017 unittest.expect(o, unittest.hasLength(2)); | 2017 unittest.expect(o, unittest.hasLength(2)); |
2018 checkGuideCategory(o[0]); | 2018 checkGuideCategory(o[0]); |
2019 checkGuideCategory(o[1]); | 2019 checkGuideCategory(o[1]); |
2020 } | 2020 } |
2021 | 2021 |
2022 core.int buildCounterGuideCategoryListResponse = 0; | 2022 core.int buildCounterGuideCategoryListResponse = 0; |
2023 buildGuideCategoryListResponse() { | 2023 buildGuideCategoryListResponse() { |
2024 var o = new api.GuideCategoryListResponse(); | 2024 var o = new api.GuideCategoryListResponse(); |
2025 buildCounterGuideCategoryListResponse++; | 2025 buildCounterGuideCategoryListResponse++; |
2026 if (buildCounterGuideCategoryListResponse < 3) { | 2026 if (buildCounterGuideCategoryListResponse < 3) { |
2027 o.etag = "foo"; | 2027 o.etag = "foo"; |
2028 o.eventId = "foo"; | 2028 o.eventId = "foo"; |
2029 o.items = buildUnnamed582(); | 2029 o.items = buildUnnamed588(); |
2030 o.kind = "foo"; | 2030 o.kind = "foo"; |
2031 o.nextPageToken = "foo"; | 2031 o.nextPageToken = "foo"; |
2032 o.pageInfo = buildPageInfo(); | 2032 o.pageInfo = buildPageInfo(); |
2033 o.prevPageToken = "foo"; | 2033 o.prevPageToken = "foo"; |
2034 o.tokenPagination = buildTokenPagination(); | 2034 o.tokenPagination = buildTokenPagination(); |
2035 o.visitorId = "foo"; | 2035 o.visitorId = "foo"; |
2036 } | 2036 } |
2037 buildCounterGuideCategoryListResponse--; | 2037 buildCounterGuideCategoryListResponse--; |
2038 return o; | 2038 return o; |
2039 } | 2039 } |
2040 | 2040 |
2041 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 2041 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
2042 buildCounterGuideCategoryListResponse++; | 2042 buildCounterGuideCategoryListResponse++; |
2043 if (buildCounterGuideCategoryListResponse < 3) { | 2043 if (buildCounterGuideCategoryListResponse < 3) { |
2044 unittest.expect(o.etag, unittest.equals('foo')); | 2044 unittest.expect(o.etag, unittest.equals('foo')); |
2045 unittest.expect(o.eventId, unittest.equals('foo')); | 2045 unittest.expect(o.eventId, unittest.equals('foo')); |
2046 checkUnnamed582(o.items); | 2046 checkUnnamed588(o.items); |
2047 unittest.expect(o.kind, unittest.equals('foo')); | 2047 unittest.expect(o.kind, unittest.equals('foo')); |
2048 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2048 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2049 checkPageInfo(o.pageInfo); | 2049 checkPageInfo(o.pageInfo); |
2050 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2050 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2051 checkTokenPagination(o.tokenPagination); | 2051 checkTokenPagination(o.tokenPagination); |
2052 unittest.expect(o.visitorId, unittest.equals('foo')); | 2052 unittest.expect(o.visitorId, unittest.equals('foo')); |
2053 } | 2053 } |
2054 buildCounterGuideCategoryListResponse--; | 2054 buildCounterGuideCategoryListResponse--; |
2055 } | 2055 } |
2056 | 2056 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2093 buildCounterI18nLanguage++; | 2093 buildCounterI18nLanguage++; |
2094 if (buildCounterI18nLanguage < 3) { | 2094 if (buildCounterI18nLanguage < 3) { |
2095 unittest.expect(o.etag, unittest.equals('foo')); | 2095 unittest.expect(o.etag, unittest.equals('foo')); |
2096 unittest.expect(o.id, unittest.equals('foo')); | 2096 unittest.expect(o.id, unittest.equals('foo')); |
2097 unittest.expect(o.kind, unittest.equals('foo')); | 2097 unittest.expect(o.kind, unittest.equals('foo')); |
2098 checkI18nLanguageSnippet(o.snippet); | 2098 checkI18nLanguageSnippet(o.snippet); |
2099 } | 2099 } |
2100 buildCounterI18nLanguage--; | 2100 buildCounterI18nLanguage--; |
2101 } | 2101 } |
2102 | 2102 |
2103 buildUnnamed583() { | 2103 buildUnnamed589() { |
2104 var o = new core.List<api.I18nLanguage>(); | 2104 var o = new core.List<api.I18nLanguage>(); |
2105 o.add(buildI18nLanguage()); | 2105 o.add(buildI18nLanguage()); |
2106 o.add(buildI18nLanguage()); | 2106 o.add(buildI18nLanguage()); |
2107 return o; | 2107 return o; |
2108 } | 2108 } |
2109 | 2109 |
2110 checkUnnamed583(core.List<api.I18nLanguage> o) { | 2110 checkUnnamed589(core.List<api.I18nLanguage> o) { |
2111 unittest.expect(o, unittest.hasLength(2)); | 2111 unittest.expect(o, unittest.hasLength(2)); |
2112 checkI18nLanguage(o[0]); | 2112 checkI18nLanguage(o[0]); |
2113 checkI18nLanguage(o[1]); | 2113 checkI18nLanguage(o[1]); |
2114 } | 2114 } |
2115 | 2115 |
2116 core.int buildCounterI18nLanguageListResponse = 0; | 2116 core.int buildCounterI18nLanguageListResponse = 0; |
2117 buildI18nLanguageListResponse() { | 2117 buildI18nLanguageListResponse() { |
2118 var o = new api.I18nLanguageListResponse(); | 2118 var o = new api.I18nLanguageListResponse(); |
2119 buildCounterI18nLanguageListResponse++; | 2119 buildCounterI18nLanguageListResponse++; |
2120 if (buildCounterI18nLanguageListResponse < 3) { | 2120 if (buildCounterI18nLanguageListResponse < 3) { |
2121 o.etag = "foo"; | 2121 o.etag = "foo"; |
2122 o.eventId = "foo"; | 2122 o.eventId = "foo"; |
2123 o.items = buildUnnamed583(); | 2123 o.items = buildUnnamed589(); |
2124 o.kind = "foo"; | 2124 o.kind = "foo"; |
2125 o.visitorId = "foo"; | 2125 o.visitorId = "foo"; |
2126 } | 2126 } |
2127 buildCounterI18nLanguageListResponse--; | 2127 buildCounterI18nLanguageListResponse--; |
2128 return o; | 2128 return o; |
2129 } | 2129 } |
2130 | 2130 |
2131 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 2131 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
2132 buildCounterI18nLanguageListResponse++; | 2132 buildCounterI18nLanguageListResponse++; |
2133 if (buildCounterI18nLanguageListResponse < 3) { | 2133 if (buildCounterI18nLanguageListResponse < 3) { |
2134 unittest.expect(o.etag, unittest.equals('foo')); | 2134 unittest.expect(o.etag, unittest.equals('foo')); |
2135 unittest.expect(o.eventId, unittest.equals('foo')); | 2135 unittest.expect(o.eventId, unittest.equals('foo')); |
2136 checkUnnamed583(o.items); | 2136 checkUnnamed589(o.items); |
2137 unittest.expect(o.kind, unittest.equals('foo')); | 2137 unittest.expect(o.kind, unittest.equals('foo')); |
2138 unittest.expect(o.visitorId, unittest.equals('foo')); | 2138 unittest.expect(o.visitorId, unittest.equals('foo')); |
2139 } | 2139 } |
2140 buildCounterI18nLanguageListResponse--; | 2140 buildCounterI18nLanguageListResponse--; |
2141 } | 2141 } |
2142 | 2142 |
2143 core.int buildCounterI18nLanguageSnippet = 0; | 2143 core.int buildCounterI18nLanguageSnippet = 0; |
2144 buildI18nLanguageSnippet() { | 2144 buildI18nLanguageSnippet() { |
2145 var o = new api.I18nLanguageSnippet(); | 2145 var o = new api.I18nLanguageSnippet(); |
2146 buildCounterI18nLanguageSnippet++; | 2146 buildCounterI18nLanguageSnippet++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 buildCounterI18nRegion++; | 2179 buildCounterI18nRegion++; |
2180 if (buildCounterI18nRegion < 3) { | 2180 if (buildCounterI18nRegion < 3) { |
2181 unittest.expect(o.etag, unittest.equals('foo')); | 2181 unittest.expect(o.etag, unittest.equals('foo')); |
2182 unittest.expect(o.id, unittest.equals('foo')); | 2182 unittest.expect(o.id, unittest.equals('foo')); |
2183 unittest.expect(o.kind, unittest.equals('foo')); | 2183 unittest.expect(o.kind, unittest.equals('foo')); |
2184 checkI18nRegionSnippet(o.snippet); | 2184 checkI18nRegionSnippet(o.snippet); |
2185 } | 2185 } |
2186 buildCounterI18nRegion--; | 2186 buildCounterI18nRegion--; |
2187 } | 2187 } |
2188 | 2188 |
2189 buildUnnamed584() { | 2189 buildUnnamed590() { |
2190 var o = new core.List<api.I18nRegion>(); | 2190 var o = new core.List<api.I18nRegion>(); |
2191 o.add(buildI18nRegion()); | 2191 o.add(buildI18nRegion()); |
2192 o.add(buildI18nRegion()); | 2192 o.add(buildI18nRegion()); |
2193 return o; | 2193 return o; |
2194 } | 2194 } |
2195 | 2195 |
2196 checkUnnamed584(core.List<api.I18nRegion> o) { | 2196 checkUnnamed590(core.List<api.I18nRegion> o) { |
2197 unittest.expect(o, unittest.hasLength(2)); | 2197 unittest.expect(o, unittest.hasLength(2)); |
2198 checkI18nRegion(o[0]); | 2198 checkI18nRegion(o[0]); |
2199 checkI18nRegion(o[1]); | 2199 checkI18nRegion(o[1]); |
2200 } | 2200 } |
2201 | 2201 |
2202 core.int buildCounterI18nRegionListResponse = 0; | 2202 core.int buildCounterI18nRegionListResponse = 0; |
2203 buildI18nRegionListResponse() { | 2203 buildI18nRegionListResponse() { |
2204 var o = new api.I18nRegionListResponse(); | 2204 var o = new api.I18nRegionListResponse(); |
2205 buildCounterI18nRegionListResponse++; | 2205 buildCounterI18nRegionListResponse++; |
2206 if (buildCounterI18nRegionListResponse < 3) { | 2206 if (buildCounterI18nRegionListResponse < 3) { |
2207 o.etag = "foo"; | 2207 o.etag = "foo"; |
2208 o.eventId = "foo"; | 2208 o.eventId = "foo"; |
2209 o.items = buildUnnamed584(); | 2209 o.items = buildUnnamed590(); |
2210 o.kind = "foo"; | 2210 o.kind = "foo"; |
2211 o.visitorId = "foo"; | 2211 o.visitorId = "foo"; |
2212 } | 2212 } |
2213 buildCounterI18nRegionListResponse--; | 2213 buildCounterI18nRegionListResponse--; |
2214 return o; | 2214 return o; |
2215 } | 2215 } |
2216 | 2216 |
2217 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2217 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
2218 buildCounterI18nRegionListResponse++; | 2218 buildCounterI18nRegionListResponse++; |
2219 if (buildCounterI18nRegionListResponse < 3) { | 2219 if (buildCounterI18nRegionListResponse < 3) { |
2220 unittest.expect(o.etag, unittest.equals('foo')); | 2220 unittest.expect(o.etag, unittest.equals('foo')); |
2221 unittest.expect(o.eventId, unittest.equals('foo')); | 2221 unittest.expect(o.eventId, unittest.equals('foo')); |
2222 checkUnnamed584(o.items); | 2222 checkUnnamed590(o.items); |
2223 unittest.expect(o.kind, unittest.equals('foo')); | 2223 unittest.expect(o.kind, unittest.equals('foo')); |
2224 unittest.expect(o.visitorId, unittest.equals('foo')); | 2224 unittest.expect(o.visitorId, unittest.equals('foo')); |
2225 } | 2225 } |
2226 buildCounterI18nRegionListResponse--; | 2226 buildCounterI18nRegionListResponse--; |
2227 } | 2227 } |
2228 | 2228 |
2229 core.int buildCounterI18nRegionSnippet = 0; | 2229 core.int buildCounterI18nRegionSnippet = 0; |
2230 buildI18nRegionSnippet() { | 2230 buildI18nRegionSnippet() { |
2231 var o = new api.I18nRegionSnippet(); | 2231 var o = new api.I18nRegionSnippet(); |
2232 buildCounterI18nRegionSnippet++; | 2232 buildCounterI18nRegionSnippet++; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2372 | 2372 |
2373 checkInvideoPosition(api.InvideoPosition o) { | 2373 checkInvideoPosition(api.InvideoPosition o) { |
2374 buildCounterInvideoPosition++; | 2374 buildCounterInvideoPosition++; |
2375 if (buildCounterInvideoPosition < 3) { | 2375 if (buildCounterInvideoPosition < 3) { |
2376 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2376 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
2377 unittest.expect(o.type, unittest.equals('foo')); | 2377 unittest.expect(o.type, unittest.equals('foo')); |
2378 } | 2378 } |
2379 buildCounterInvideoPosition--; | 2379 buildCounterInvideoPosition--; |
2380 } | 2380 } |
2381 | 2381 |
2382 buildUnnamed585() { | 2382 buildUnnamed591() { |
2383 var o = new core.List<api.PromotedItem>(); | 2383 var o = new core.List<api.PromotedItem>(); |
2384 o.add(buildPromotedItem()); | 2384 o.add(buildPromotedItem()); |
2385 o.add(buildPromotedItem()); | 2385 o.add(buildPromotedItem()); |
2386 return o; | 2386 return o; |
2387 } | 2387 } |
2388 | 2388 |
2389 checkUnnamed585(core.List<api.PromotedItem> o) { | 2389 checkUnnamed591(core.List<api.PromotedItem> o) { |
2390 unittest.expect(o, unittest.hasLength(2)); | 2390 unittest.expect(o, unittest.hasLength(2)); |
2391 checkPromotedItem(o[0]); | 2391 checkPromotedItem(o[0]); |
2392 checkPromotedItem(o[1]); | 2392 checkPromotedItem(o[1]); |
2393 } | 2393 } |
2394 | 2394 |
2395 core.int buildCounterInvideoPromotion = 0; | 2395 core.int buildCounterInvideoPromotion = 0; |
2396 buildInvideoPromotion() { | 2396 buildInvideoPromotion() { |
2397 var o = new api.InvideoPromotion(); | 2397 var o = new api.InvideoPromotion(); |
2398 buildCounterInvideoPromotion++; | 2398 buildCounterInvideoPromotion++; |
2399 if (buildCounterInvideoPromotion < 3) { | 2399 if (buildCounterInvideoPromotion < 3) { |
2400 o.defaultTiming = buildInvideoTiming(); | 2400 o.defaultTiming = buildInvideoTiming(); |
2401 o.items = buildUnnamed585(); | 2401 o.items = buildUnnamed591(); |
2402 o.position = buildInvideoPosition(); | 2402 o.position = buildInvideoPosition(); |
2403 o.useSmartTiming = true; | 2403 o.useSmartTiming = true; |
2404 } | 2404 } |
2405 buildCounterInvideoPromotion--; | 2405 buildCounterInvideoPromotion--; |
2406 return o; | 2406 return o; |
2407 } | 2407 } |
2408 | 2408 |
2409 checkInvideoPromotion(api.InvideoPromotion o) { | 2409 checkInvideoPromotion(api.InvideoPromotion o) { |
2410 buildCounterInvideoPromotion++; | 2410 buildCounterInvideoPromotion++; |
2411 if (buildCounterInvideoPromotion < 3) { | 2411 if (buildCounterInvideoPromotion < 3) { |
2412 checkInvideoTiming(o.defaultTiming); | 2412 checkInvideoTiming(o.defaultTiming); |
2413 checkUnnamed585(o.items); | 2413 checkUnnamed591(o.items); |
2414 checkInvideoPosition(o.position); | 2414 checkInvideoPosition(o.position); |
2415 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2415 unittest.expect(o.useSmartTiming, unittest.isTrue); |
2416 } | 2416 } |
2417 buildCounterInvideoPromotion--; | 2417 buildCounterInvideoPromotion--; |
2418 } | 2418 } |
2419 | 2419 |
2420 core.int buildCounterInvideoTiming = 0; | 2420 core.int buildCounterInvideoTiming = 0; |
2421 buildInvideoTiming() { | 2421 buildInvideoTiming() { |
2422 var o = new api.InvideoTiming(); | 2422 var o = new api.InvideoTiming(); |
2423 buildCounterInvideoTiming++; | 2423 buildCounterInvideoTiming++; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2526 unittest.expect(o.enableEmbed, unittest.isTrue); | 2526 unittest.expect(o.enableEmbed, unittest.isTrue); |
2527 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2527 unittest.expect(o.enableLowLatency, unittest.isTrue); |
2528 checkMonitorStreamInfo(o.monitorStream); | 2528 checkMonitorStreamInfo(o.monitorStream); |
2529 unittest.expect(o.projection, unittest.equals('foo')); | 2529 unittest.expect(o.projection, unittest.equals('foo')); |
2530 unittest.expect(o.recordFromStart, unittest.isTrue); | 2530 unittest.expect(o.recordFromStart, unittest.isTrue); |
2531 unittest.expect(o.startWithSlate, unittest.isTrue); | 2531 unittest.expect(o.startWithSlate, unittest.isTrue); |
2532 } | 2532 } |
2533 buildCounterLiveBroadcastContentDetails--; | 2533 buildCounterLiveBroadcastContentDetails--; |
2534 } | 2534 } |
2535 | 2535 |
2536 buildUnnamed586() { | 2536 buildUnnamed592() { |
2537 var o = new core.List<api.LiveBroadcast>(); | 2537 var o = new core.List<api.LiveBroadcast>(); |
2538 o.add(buildLiveBroadcast()); | 2538 o.add(buildLiveBroadcast()); |
2539 o.add(buildLiveBroadcast()); | 2539 o.add(buildLiveBroadcast()); |
2540 return o; | 2540 return o; |
2541 } | 2541 } |
2542 | 2542 |
2543 checkUnnamed586(core.List<api.LiveBroadcast> o) { | 2543 checkUnnamed592(core.List<api.LiveBroadcast> o) { |
2544 unittest.expect(o, unittest.hasLength(2)); | 2544 unittest.expect(o, unittest.hasLength(2)); |
2545 checkLiveBroadcast(o[0]); | 2545 checkLiveBroadcast(o[0]); |
2546 checkLiveBroadcast(o[1]); | 2546 checkLiveBroadcast(o[1]); |
2547 } | 2547 } |
2548 | 2548 |
2549 core.int buildCounterLiveBroadcastListResponse = 0; | 2549 core.int buildCounterLiveBroadcastListResponse = 0; |
2550 buildLiveBroadcastListResponse() { | 2550 buildLiveBroadcastListResponse() { |
2551 var o = new api.LiveBroadcastListResponse(); | 2551 var o = new api.LiveBroadcastListResponse(); |
2552 buildCounterLiveBroadcastListResponse++; | 2552 buildCounterLiveBroadcastListResponse++; |
2553 if (buildCounterLiveBroadcastListResponse < 3) { | 2553 if (buildCounterLiveBroadcastListResponse < 3) { |
2554 o.etag = "foo"; | 2554 o.etag = "foo"; |
2555 o.eventId = "foo"; | 2555 o.eventId = "foo"; |
2556 o.items = buildUnnamed586(); | 2556 o.items = buildUnnamed592(); |
2557 o.kind = "foo"; | 2557 o.kind = "foo"; |
2558 o.nextPageToken = "foo"; | 2558 o.nextPageToken = "foo"; |
2559 o.pageInfo = buildPageInfo(); | 2559 o.pageInfo = buildPageInfo(); |
2560 o.prevPageToken = "foo"; | 2560 o.prevPageToken = "foo"; |
2561 o.tokenPagination = buildTokenPagination(); | 2561 o.tokenPagination = buildTokenPagination(); |
2562 o.visitorId = "foo"; | 2562 o.visitorId = "foo"; |
2563 } | 2563 } |
2564 buildCounterLiveBroadcastListResponse--; | 2564 buildCounterLiveBroadcastListResponse--; |
2565 return o; | 2565 return o; |
2566 } | 2566 } |
2567 | 2567 |
2568 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2568 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
2569 buildCounterLiveBroadcastListResponse++; | 2569 buildCounterLiveBroadcastListResponse++; |
2570 if (buildCounterLiveBroadcastListResponse < 3) { | 2570 if (buildCounterLiveBroadcastListResponse < 3) { |
2571 unittest.expect(o.etag, unittest.equals('foo')); | 2571 unittest.expect(o.etag, unittest.equals('foo')); |
2572 unittest.expect(o.eventId, unittest.equals('foo')); | 2572 unittest.expect(o.eventId, unittest.equals('foo')); |
2573 checkUnnamed586(o.items); | 2573 checkUnnamed592(o.items); |
2574 unittest.expect(o.kind, unittest.equals('foo')); | 2574 unittest.expect(o.kind, unittest.equals('foo')); |
2575 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2575 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2576 checkPageInfo(o.pageInfo); | 2576 checkPageInfo(o.pageInfo); |
2577 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2577 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2578 checkTokenPagination(o.tokenPagination); | 2578 checkTokenPagination(o.tokenPagination); |
2579 unittest.expect(o.visitorId, unittest.equals('foo')); | 2579 unittest.expect(o.visitorId, unittest.equals('foo')); |
2580 } | 2580 } |
2581 buildCounterLiveBroadcastListResponse--; | 2581 buildCounterLiveBroadcastListResponse--; |
2582 } | 2582 } |
2583 | 2583 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2682 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2682 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
2683 buildCounterLiveBroadcastTopic++; | 2683 buildCounterLiveBroadcastTopic++; |
2684 if (buildCounterLiveBroadcastTopic < 3) { | 2684 if (buildCounterLiveBroadcastTopic < 3) { |
2685 checkLiveBroadcastTopicSnippet(o.snippet); | 2685 checkLiveBroadcastTopicSnippet(o.snippet); |
2686 unittest.expect(o.type, unittest.equals('foo')); | 2686 unittest.expect(o.type, unittest.equals('foo')); |
2687 unittest.expect(o.unmatched, unittest.isTrue); | 2687 unittest.expect(o.unmatched, unittest.isTrue); |
2688 } | 2688 } |
2689 buildCounterLiveBroadcastTopic--; | 2689 buildCounterLiveBroadcastTopic--; |
2690 } | 2690 } |
2691 | 2691 |
2692 buildUnnamed587() { | 2692 buildUnnamed593() { |
2693 var o = new core.List<api.LiveBroadcastTopic>(); | 2693 var o = new core.List<api.LiveBroadcastTopic>(); |
2694 o.add(buildLiveBroadcastTopic()); | 2694 o.add(buildLiveBroadcastTopic()); |
2695 o.add(buildLiveBroadcastTopic()); | 2695 o.add(buildLiveBroadcastTopic()); |
2696 return o; | 2696 return o; |
2697 } | 2697 } |
2698 | 2698 |
2699 checkUnnamed587(core.List<api.LiveBroadcastTopic> o) { | 2699 checkUnnamed593(core.List<api.LiveBroadcastTopic> o) { |
2700 unittest.expect(o, unittest.hasLength(2)); | 2700 unittest.expect(o, unittest.hasLength(2)); |
2701 checkLiveBroadcastTopic(o[0]); | 2701 checkLiveBroadcastTopic(o[0]); |
2702 checkLiveBroadcastTopic(o[1]); | 2702 checkLiveBroadcastTopic(o[1]); |
2703 } | 2703 } |
2704 | 2704 |
2705 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2705 core.int buildCounterLiveBroadcastTopicDetails = 0; |
2706 buildLiveBroadcastTopicDetails() { | 2706 buildLiveBroadcastTopicDetails() { |
2707 var o = new api.LiveBroadcastTopicDetails(); | 2707 var o = new api.LiveBroadcastTopicDetails(); |
2708 buildCounterLiveBroadcastTopicDetails++; | 2708 buildCounterLiveBroadcastTopicDetails++; |
2709 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2709 if (buildCounterLiveBroadcastTopicDetails < 3) { |
2710 o.topics = buildUnnamed587(); | 2710 o.topics = buildUnnamed593(); |
2711 } | 2711 } |
2712 buildCounterLiveBroadcastTopicDetails--; | 2712 buildCounterLiveBroadcastTopicDetails--; |
2713 return o; | 2713 return o; |
2714 } | 2714 } |
2715 | 2715 |
2716 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2716 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
2717 buildCounterLiveBroadcastTopicDetails++; | 2717 buildCounterLiveBroadcastTopicDetails++; |
2718 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2718 if (buildCounterLiveBroadcastTopicDetails < 3) { |
2719 checkUnnamed587(o.topics); | 2719 checkUnnamed593(o.topics); |
2720 } | 2720 } |
2721 buildCounterLiveBroadcastTopicDetails--; | 2721 buildCounterLiveBroadcastTopicDetails--; |
2722 } | 2722 } |
2723 | 2723 |
2724 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2724 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
2725 buildLiveBroadcastTopicSnippet() { | 2725 buildLiveBroadcastTopicSnippet() { |
2726 var o = new api.LiveBroadcastTopicSnippet(); | 2726 var o = new api.LiveBroadcastTopicSnippet(); |
2727 buildCounterLiveBroadcastTopicSnippet++; | 2727 buildCounterLiveBroadcastTopicSnippet++; |
2728 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2728 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
2729 o.name = "foo"; | 2729 o.name = "foo"; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2889 } | 2889 } |
2890 | 2890 |
2891 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { | 2891 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { |
2892 buildCounterLiveChatMessageDeletedDetails++; | 2892 buildCounterLiveChatMessageDeletedDetails++; |
2893 if (buildCounterLiveChatMessageDeletedDetails < 3) { | 2893 if (buildCounterLiveChatMessageDeletedDetails < 3) { |
2894 unittest.expect(o.deletedMessageId, unittest.equals('foo')); | 2894 unittest.expect(o.deletedMessageId, unittest.equals('foo')); |
2895 } | 2895 } |
2896 buildCounterLiveChatMessageDeletedDetails--; | 2896 buildCounterLiveChatMessageDeletedDetails--; |
2897 } | 2897 } |
2898 | 2898 |
2899 buildUnnamed588() { | 2899 buildUnnamed594() { |
2900 var o = new core.List<api.LiveChatMessage>(); | 2900 var o = new core.List<api.LiveChatMessage>(); |
2901 o.add(buildLiveChatMessage()); | 2901 o.add(buildLiveChatMessage()); |
2902 o.add(buildLiveChatMessage()); | 2902 o.add(buildLiveChatMessage()); |
2903 return o; | 2903 return o; |
2904 } | 2904 } |
2905 | 2905 |
2906 checkUnnamed588(core.List<api.LiveChatMessage> o) { | 2906 checkUnnamed594(core.List<api.LiveChatMessage> o) { |
2907 unittest.expect(o, unittest.hasLength(2)); | 2907 unittest.expect(o, unittest.hasLength(2)); |
2908 checkLiveChatMessage(o[0]); | 2908 checkLiveChatMessage(o[0]); |
2909 checkLiveChatMessage(o[1]); | 2909 checkLiveChatMessage(o[1]); |
2910 } | 2910 } |
2911 | 2911 |
2912 core.int buildCounterLiveChatMessageListResponse = 0; | 2912 core.int buildCounterLiveChatMessageListResponse = 0; |
2913 buildLiveChatMessageListResponse() { | 2913 buildLiveChatMessageListResponse() { |
2914 var o = new api.LiveChatMessageListResponse(); | 2914 var o = new api.LiveChatMessageListResponse(); |
2915 buildCounterLiveChatMessageListResponse++; | 2915 buildCounterLiveChatMessageListResponse++; |
2916 if (buildCounterLiveChatMessageListResponse < 3) { | 2916 if (buildCounterLiveChatMessageListResponse < 3) { |
2917 o.etag = "foo"; | 2917 o.etag = "foo"; |
2918 o.eventId = "foo"; | 2918 o.eventId = "foo"; |
2919 o.items = buildUnnamed588(); | 2919 o.items = buildUnnamed594(); |
2920 o.kind = "foo"; | 2920 o.kind = "foo"; |
2921 o.nextPageToken = "foo"; | 2921 o.nextPageToken = "foo"; |
2922 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2922 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); |
2923 o.pageInfo = buildPageInfo(); | 2923 o.pageInfo = buildPageInfo(); |
2924 o.pollingIntervalMillis = 42; | 2924 o.pollingIntervalMillis = 42; |
2925 o.tokenPagination = buildTokenPagination(); | 2925 o.tokenPagination = buildTokenPagination(); |
2926 o.visitorId = "foo"; | 2926 o.visitorId = "foo"; |
2927 } | 2927 } |
2928 buildCounterLiveChatMessageListResponse--; | 2928 buildCounterLiveChatMessageListResponse--; |
2929 return o; | 2929 return o; |
2930 } | 2930 } |
2931 | 2931 |
2932 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { | 2932 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { |
2933 buildCounterLiveChatMessageListResponse++; | 2933 buildCounterLiveChatMessageListResponse++; |
2934 if (buildCounterLiveChatMessageListResponse < 3) { | 2934 if (buildCounterLiveChatMessageListResponse < 3) { |
2935 unittest.expect(o.etag, unittest.equals('foo')); | 2935 unittest.expect(o.etag, unittest.equals('foo')); |
2936 unittest.expect(o.eventId, unittest.equals('foo')); | 2936 unittest.expect(o.eventId, unittest.equals('foo')); |
2937 checkUnnamed588(o.items); | 2937 checkUnnamed594(o.items); |
2938 unittest.expect(o.kind, unittest.equals('foo')); | 2938 unittest.expect(o.kind, unittest.equals('foo')); |
2939 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2939 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2940 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"))); |
2941 checkPageInfo(o.pageInfo); | 2941 checkPageInfo(o.pageInfo); |
2942 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); | 2942 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); |
2943 checkTokenPagination(o.tokenPagination); | 2943 checkTokenPagination(o.tokenPagination); |
2944 unittest.expect(o.visitorId, unittest.equals('foo')); | 2944 unittest.expect(o.visitorId, unittest.equals('foo')); |
2945 } | 2945 } |
2946 buildCounterLiveChatMessageListResponse--; | 2946 buildCounterLiveChatMessageListResponse--; |
2947 } | 2947 } |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3032 buildCounterLiveChatModerator++; | 3032 buildCounterLiveChatModerator++; |
3033 if (buildCounterLiveChatModerator < 3) { | 3033 if (buildCounterLiveChatModerator < 3) { |
3034 unittest.expect(o.etag, unittest.equals('foo')); | 3034 unittest.expect(o.etag, unittest.equals('foo')); |
3035 unittest.expect(o.id, unittest.equals('foo')); | 3035 unittest.expect(o.id, unittest.equals('foo')); |
3036 unittest.expect(o.kind, unittest.equals('foo')); | 3036 unittest.expect(o.kind, unittest.equals('foo')); |
3037 checkLiveChatModeratorSnippet(o.snippet); | 3037 checkLiveChatModeratorSnippet(o.snippet); |
3038 } | 3038 } |
3039 buildCounterLiveChatModerator--; | 3039 buildCounterLiveChatModerator--; |
3040 } | 3040 } |
3041 | 3041 |
3042 buildUnnamed589() { | 3042 buildUnnamed595() { |
3043 var o = new core.List<api.LiveChatModerator>(); | 3043 var o = new core.List<api.LiveChatModerator>(); |
3044 o.add(buildLiveChatModerator()); | 3044 o.add(buildLiveChatModerator()); |
3045 o.add(buildLiveChatModerator()); | 3045 o.add(buildLiveChatModerator()); |
3046 return o; | 3046 return o; |
3047 } | 3047 } |
3048 | 3048 |
3049 checkUnnamed589(core.List<api.LiveChatModerator> o) { | 3049 checkUnnamed595(core.List<api.LiveChatModerator> o) { |
3050 unittest.expect(o, unittest.hasLength(2)); | 3050 unittest.expect(o, unittest.hasLength(2)); |
3051 checkLiveChatModerator(o[0]); | 3051 checkLiveChatModerator(o[0]); |
3052 checkLiveChatModerator(o[1]); | 3052 checkLiveChatModerator(o[1]); |
3053 } | 3053 } |
3054 | 3054 |
3055 core.int buildCounterLiveChatModeratorListResponse = 0; | 3055 core.int buildCounterLiveChatModeratorListResponse = 0; |
3056 buildLiveChatModeratorListResponse() { | 3056 buildLiveChatModeratorListResponse() { |
3057 var o = new api.LiveChatModeratorListResponse(); | 3057 var o = new api.LiveChatModeratorListResponse(); |
3058 buildCounterLiveChatModeratorListResponse++; | 3058 buildCounterLiveChatModeratorListResponse++; |
3059 if (buildCounterLiveChatModeratorListResponse < 3) { | 3059 if (buildCounterLiveChatModeratorListResponse < 3) { |
3060 o.etag = "foo"; | 3060 o.etag = "foo"; |
3061 o.eventId = "foo"; | 3061 o.eventId = "foo"; |
3062 o.items = buildUnnamed589(); | 3062 o.items = buildUnnamed595(); |
3063 o.kind = "foo"; | 3063 o.kind = "foo"; |
3064 o.nextPageToken = "foo"; | 3064 o.nextPageToken = "foo"; |
3065 o.pageInfo = buildPageInfo(); | 3065 o.pageInfo = buildPageInfo(); |
3066 o.prevPageToken = "foo"; | 3066 o.prevPageToken = "foo"; |
3067 o.tokenPagination = buildTokenPagination(); | 3067 o.tokenPagination = buildTokenPagination(); |
3068 o.visitorId = "foo"; | 3068 o.visitorId = "foo"; |
3069 } | 3069 } |
3070 buildCounterLiveChatModeratorListResponse--; | 3070 buildCounterLiveChatModeratorListResponse--; |
3071 return o; | 3071 return o; |
3072 } | 3072 } |
3073 | 3073 |
3074 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { | 3074 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { |
3075 buildCounterLiveChatModeratorListResponse++; | 3075 buildCounterLiveChatModeratorListResponse++; |
3076 if (buildCounterLiveChatModeratorListResponse < 3) { | 3076 if (buildCounterLiveChatModeratorListResponse < 3) { |
3077 unittest.expect(o.etag, unittest.equals('foo')); | 3077 unittest.expect(o.etag, unittest.equals('foo')); |
3078 unittest.expect(o.eventId, unittest.equals('foo')); | 3078 unittest.expect(o.eventId, unittest.equals('foo')); |
3079 checkUnnamed589(o.items); | 3079 checkUnnamed595(o.items); |
3080 unittest.expect(o.kind, unittest.equals('foo')); | 3080 unittest.expect(o.kind, unittest.equals('foo')); |
3081 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3081 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3082 checkPageInfo(o.pageInfo); | 3082 checkPageInfo(o.pageInfo); |
3083 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3083 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3084 checkTokenPagination(o.tokenPagination); | 3084 checkTokenPagination(o.tokenPagination); |
3085 unittest.expect(o.visitorId, unittest.equals('foo')); | 3085 unittest.expect(o.visitorId, unittest.equals('foo')); |
3086 } | 3086 } |
3087 buildCounterLiveChatModeratorListResponse--; | 3087 buildCounterLiveChatModeratorListResponse--; |
3088 } | 3088 } |
3089 | 3089 |
(...skipping 30 matching lines...) Expand all Loading... |
3120 } | 3120 } |
3121 | 3121 |
3122 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { | 3122 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { |
3123 buildCounterLiveChatPollClosedDetails++; | 3123 buildCounterLiveChatPollClosedDetails++; |
3124 if (buildCounterLiveChatPollClosedDetails < 3) { | 3124 if (buildCounterLiveChatPollClosedDetails < 3) { |
3125 unittest.expect(o.pollId, unittest.equals('foo')); | 3125 unittest.expect(o.pollId, unittest.equals('foo')); |
3126 } | 3126 } |
3127 buildCounterLiveChatPollClosedDetails--; | 3127 buildCounterLiveChatPollClosedDetails--; |
3128 } | 3128 } |
3129 | 3129 |
3130 buildUnnamed590() { | 3130 buildUnnamed596() { |
3131 var o = new core.List<api.LiveChatPollItem>(); | 3131 var o = new core.List<api.LiveChatPollItem>(); |
3132 o.add(buildLiveChatPollItem()); | 3132 o.add(buildLiveChatPollItem()); |
3133 o.add(buildLiveChatPollItem()); | 3133 o.add(buildLiveChatPollItem()); |
3134 return o; | 3134 return o; |
3135 } | 3135 } |
3136 | 3136 |
3137 checkUnnamed590(core.List<api.LiveChatPollItem> o) { | 3137 checkUnnamed596(core.List<api.LiveChatPollItem> o) { |
3138 unittest.expect(o, unittest.hasLength(2)); | 3138 unittest.expect(o, unittest.hasLength(2)); |
3139 checkLiveChatPollItem(o[0]); | 3139 checkLiveChatPollItem(o[0]); |
3140 checkLiveChatPollItem(o[1]); | 3140 checkLiveChatPollItem(o[1]); |
3141 } | 3141 } |
3142 | 3142 |
3143 core.int buildCounterLiveChatPollEditedDetails = 0; | 3143 core.int buildCounterLiveChatPollEditedDetails = 0; |
3144 buildLiveChatPollEditedDetails() { | 3144 buildLiveChatPollEditedDetails() { |
3145 var o = new api.LiveChatPollEditedDetails(); | 3145 var o = new api.LiveChatPollEditedDetails(); |
3146 buildCounterLiveChatPollEditedDetails++; | 3146 buildCounterLiveChatPollEditedDetails++; |
3147 if (buildCounterLiveChatPollEditedDetails < 3) { | 3147 if (buildCounterLiveChatPollEditedDetails < 3) { |
3148 o.id = "foo"; | 3148 o.id = "foo"; |
3149 o.items = buildUnnamed590(); | 3149 o.items = buildUnnamed596(); |
3150 o.prompt = "foo"; | 3150 o.prompt = "foo"; |
3151 } | 3151 } |
3152 buildCounterLiveChatPollEditedDetails--; | 3152 buildCounterLiveChatPollEditedDetails--; |
3153 return o; | 3153 return o; |
3154 } | 3154 } |
3155 | 3155 |
3156 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { | 3156 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { |
3157 buildCounterLiveChatPollEditedDetails++; | 3157 buildCounterLiveChatPollEditedDetails++; |
3158 if (buildCounterLiveChatPollEditedDetails < 3) { | 3158 if (buildCounterLiveChatPollEditedDetails < 3) { |
3159 unittest.expect(o.id, unittest.equals('foo')); | 3159 unittest.expect(o.id, unittest.equals('foo')); |
3160 checkUnnamed590(o.items); | 3160 checkUnnamed596(o.items); |
3161 unittest.expect(o.prompt, unittest.equals('foo')); | 3161 unittest.expect(o.prompt, unittest.equals('foo')); |
3162 } | 3162 } |
3163 buildCounterLiveChatPollEditedDetails--; | 3163 buildCounterLiveChatPollEditedDetails--; |
3164 } | 3164 } |
3165 | 3165 |
3166 core.int buildCounterLiveChatPollItem = 0; | 3166 core.int buildCounterLiveChatPollItem = 0; |
3167 buildLiveChatPollItem() { | 3167 buildLiveChatPollItem() { |
3168 var o = new api.LiveChatPollItem(); | 3168 var o = new api.LiveChatPollItem(); |
3169 buildCounterLiveChatPollItem++; | 3169 buildCounterLiveChatPollItem++; |
3170 if (buildCounterLiveChatPollItem < 3) { | 3170 if (buildCounterLiveChatPollItem < 3) { |
3171 o.description = "foo"; | 3171 o.description = "foo"; |
3172 o.itemId = "foo"; | 3172 o.itemId = "foo"; |
3173 } | 3173 } |
3174 buildCounterLiveChatPollItem--; | 3174 buildCounterLiveChatPollItem--; |
3175 return o; | 3175 return o; |
3176 } | 3176 } |
3177 | 3177 |
3178 checkLiveChatPollItem(api.LiveChatPollItem o) { | 3178 checkLiveChatPollItem(api.LiveChatPollItem o) { |
3179 buildCounterLiveChatPollItem++; | 3179 buildCounterLiveChatPollItem++; |
3180 if (buildCounterLiveChatPollItem < 3) { | 3180 if (buildCounterLiveChatPollItem < 3) { |
3181 unittest.expect(o.description, unittest.equals('foo')); | 3181 unittest.expect(o.description, unittest.equals('foo')); |
3182 unittest.expect(o.itemId, unittest.equals('foo')); | 3182 unittest.expect(o.itemId, unittest.equals('foo')); |
3183 } | 3183 } |
3184 buildCounterLiveChatPollItem--; | 3184 buildCounterLiveChatPollItem--; |
3185 } | 3185 } |
3186 | 3186 |
3187 buildUnnamed591() { | 3187 buildUnnamed597() { |
3188 var o = new core.List<api.LiveChatPollItem>(); | 3188 var o = new core.List<api.LiveChatPollItem>(); |
3189 o.add(buildLiveChatPollItem()); | 3189 o.add(buildLiveChatPollItem()); |
3190 o.add(buildLiveChatPollItem()); | 3190 o.add(buildLiveChatPollItem()); |
3191 return o; | 3191 return o; |
3192 } | 3192 } |
3193 | 3193 |
3194 checkUnnamed591(core.List<api.LiveChatPollItem> o) { | 3194 checkUnnamed597(core.List<api.LiveChatPollItem> o) { |
3195 unittest.expect(o, unittest.hasLength(2)); | 3195 unittest.expect(o, unittest.hasLength(2)); |
3196 checkLiveChatPollItem(o[0]); | 3196 checkLiveChatPollItem(o[0]); |
3197 checkLiveChatPollItem(o[1]); | 3197 checkLiveChatPollItem(o[1]); |
3198 } | 3198 } |
3199 | 3199 |
3200 core.int buildCounterLiveChatPollOpenedDetails = 0; | 3200 core.int buildCounterLiveChatPollOpenedDetails = 0; |
3201 buildLiveChatPollOpenedDetails() { | 3201 buildLiveChatPollOpenedDetails() { |
3202 var o = new api.LiveChatPollOpenedDetails(); | 3202 var o = new api.LiveChatPollOpenedDetails(); |
3203 buildCounterLiveChatPollOpenedDetails++; | 3203 buildCounterLiveChatPollOpenedDetails++; |
3204 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3204 if (buildCounterLiveChatPollOpenedDetails < 3) { |
3205 o.id = "foo"; | 3205 o.id = "foo"; |
3206 o.items = buildUnnamed591(); | 3206 o.items = buildUnnamed597(); |
3207 o.prompt = "foo"; | 3207 o.prompt = "foo"; |
3208 } | 3208 } |
3209 buildCounterLiveChatPollOpenedDetails--; | 3209 buildCounterLiveChatPollOpenedDetails--; |
3210 return o; | 3210 return o; |
3211 } | 3211 } |
3212 | 3212 |
3213 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { | 3213 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { |
3214 buildCounterLiveChatPollOpenedDetails++; | 3214 buildCounterLiveChatPollOpenedDetails++; |
3215 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3215 if (buildCounterLiveChatPollOpenedDetails < 3) { |
3216 unittest.expect(o.id, unittest.equals('foo')); | 3216 unittest.expect(o.id, unittest.equals('foo')); |
3217 checkUnnamed591(o.items); | 3217 checkUnnamed597(o.items); |
3218 unittest.expect(o.prompt, unittest.equals('foo')); | 3218 unittest.expect(o.prompt, unittest.equals('foo')); |
3219 } | 3219 } |
3220 buildCounterLiveChatPollOpenedDetails--; | 3220 buildCounterLiveChatPollOpenedDetails--; |
3221 } | 3221 } |
3222 | 3222 |
3223 core.int buildCounterLiveChatPollVotedDetails = 0; | 3223 core.int buildCounterLiveChatPollVotedDetails = 0; |
3224 buildLiveChatPollVotedDetails() { | 3224 buildLiveChatPollVotedDetails() { |
3225 var o = new api.LiveChatPollVotedDetails(); | 3225 var o = new api.LiveChatPollVotedDetails(); |
3226 buildCounterLiveChatPollVotedDetails++; | 3226 buildCounterLiveChatPollVotedDetails++; |
3227 if (buildCounterLiveChatPollVotedDetails < 3) { | 3227 if (buildCounterLiveChatPollVotedDetails < 3) { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3380 | 3380 |
3381 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 3381 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
3382 buildCounterLiveStreamContentDetails++; | 3382 buildCounterLiveStreamContentDetails++; |
3383 if (buildCounterLiveStreamContentDetails < 3) { | 3383 if (buildCounterLiveStreamContentDetails < 3) { |
3384 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 3384 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
3385 unittest.expect(o.isReusable, unittest.isTrue); | 3385 unittest.expect(o.isReusable, unittest.isTrue); |
3386 } | 3386 } |
3387 buildCounterLiveStreamContentDetails--; | 3387 buildCounterLiveStreamContentDetails--; |
3388 } | 3388 } |
3389 | 3389 |
3390 buildUnnamed592() { | 3390 buildUnnamed598() { |
3391 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 3391 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
3392 o.add(buildLiveStreamConfigurationIssue()); | 3392 o.add(buildLiveStreamConfigurationIssue()); |
3393 o.add(buildLiveStreamConfigurationIssue()); | 3393 o.add(buildLiveStreamConfigurationIssue()); |
3394 return o; | 3394 return o; |
3395 } | 3395 } |
3396 | 3396 |
3397 checkUnnamed592(core.List<api.LiveStreamConfigurationIssue> o) { | 3397 checkUnnamed598(core.List<api.LiveStreamConfigurationIssue> o) { |
3398 unittest.expect(o, unittest.hasLength(2)); | 3398 unittest.expect(o, unittest.hasLength(2)); |
3399 checkLiveStreamConfigurationIssue(o[0]); | 3399 checkLiveStreamConfigurationIssue(o[0]); |
3400 checkLiveStreamConfigurationIssue(o[1]); | 3400 checkLiveStreamConfigurationIssue(o[1]); |
3401 } | 3401 } |
3402 | 3402 |
3403 core.int buildCounterLiveStreamHealthStatus = 0; | 3403 core.int buildCounterLiveStreamHealthStatus = 0; |
3404 buildLiveStreamHealthStatus() { | 3404 buildLiveStreamHealthStatus() { |
3405 var o = new api.LiveStreamHealthStatus(); | 3405 var o = new api.LiveStreamHealthStatus(); |
3406 buildCounterLiveStreamHealthStatus++; | 3406 buildCounterLiveStreamHealthStatus++; |
3407 if (buildCounterLiveStreamHealthStatus < 3) { | 3407 if (buildCounterLiveStreamHealthStatus < 3) { |
3408 o.configurationIssues = buildUnnamed592(); | 3408 o.configurationIssues = buildUnnamed598(); |
3409 o.lastUpdateTimeSeconds = "foo"; | 3409 o.lastUpdateTimeSeconds = "foo"; |
3410 o.status = "foo"; | 3410 o.status = "foo"; |
3411 } | 3411 } |
3412 buildCounterLiveStreamHealthStatus--; | 3412 buildCounterLiveStreamHealthStatus--; |
3413 return o; | 3413 return o; |
3414 } | 3414 } |
3415 | 3415 |
3416 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 3416 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
3417 buildCounterLiveStreamHealthStatus++; | 3417 buildCounterLiveStreamHealthStatus++; |
3418 if (buildCounterLiveStreamHealthStatus < 3) { | 3418 if (buildCounterLiveStreamHealthStatus < 3) { |
3419 checkUnnamed592(o.configurationIssues); | 3419 checkUnnamed598(o.configurationIssues); |
3420 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 3420 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
3421 unittest.expect(o.status, unittest.equals('foo')); | 3421 unittest.expect(o.status, unittest.equals('foo')); |
3422 } | 3422 } |
3423 buildCounterLiveStreamHealthStatus--; | 3423 buildCounterLiveStreamHealthStatus--; |
3424 } | 3424 } |
3425 | 3425 |
3426 buildUnnamed593() { | 3426 buildUnnamed599() { |
3427 var o = new core.List<api.LiveStream>(); | 3427 var o = new core.List<api.LiveStream>(); |
3428 o.add(buildLiveStream()); | 3428 o.add(buildLiveStream()); |
3429 o.add(buildLiveStream()); | 3429 o.add(buildLiveStream()); |
3430 return o; | 3430 return o; |
3431 } | 3431 } |
3432 | 3432 |
3433 checkUnnamed593(core.List<api.LiveStream> o) { | 3433 checkUnnamed599(core.List<api.LiveStream> o) { |
3434 unittest.expect(o, unittest.hasLength(2)); | 3434 unittest.expect(o, unittest.hasLength(2)); |
3435 checkLiveStream(o[0]); | 3435 checkLiveStream(o[0]); |
3436 checkLiveStream(o[1]); | 3436 checkLiveStream(o[1]); |
3437 } | 3437 } |
3438 | 3438 |
3439 core.int buildCounterLiveStreamListResponse = 0; | 3439 core.int buildCounterLiveStreamListResponse = 0; |
3440 buildLiveStreamListResponse() { | 3440 buildLiveStreamListResponse() { |
3441 var o = new api.LiveStreamListResponse(); | 3441 var o = new api.LiveStreamListResponse(); |
3442 buildCounterLiveStreamListResponse++; | 3442 buildCounterLiveStreamListResponse++; |
3443 if (buildCounterLiveStreamListResponse < 3) { | 3443 if (buildCounterLiveStreamListResponse < 3) { |
3444 o.etag = "foo"; | 3444 o.etag = "foo"; |
3445 o.eventId = "foo"; | 3445 o.eventId = "foo"; |
3446 o.items = buildUnnamed593(); | 3446 o.items = buildUnnamed599(); |
3447 o.kind = "foo"; | 3447 o.kind = "foo"; |
3448 o.nextPageToken = "foo"; | 3448 o.nextPageToken = "foo"; |
3449 o.pageInfo = buildPageInfo(); | 3449 o.pageInfo = buildPageInfo(); |
3450 o.prevPageToken = "foo"; | 3450 o.prevPageToken = "foo"; |
3451 o.tokenPagination = buildTokenPagination(); | 3451 o.tokenPagination = buildTokenPagination(); |
3452 o.visitorId = "foo"; | 3452 o.visitorId = "foo"; |
3453 } | 3453 } |
3454 buildCounterLiveStreamListResponse--; | 3454 buildCounterLiveStreamListResponse--; |
3455 return o; | 3455 return o; |
3456 } | 3456 } |
3457 | 3457 |
3458 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 3458 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
3459 buildCounterLiveStreamListResponse++; | 3459 buildCounterLiveStreamListResponse++; |
3460 if (buildCounterLiveStreamListResponse < 3) { | 3460 if (buildCounterLiveStreamListResponse < 3) { |
3461 unittest.expect(o.etag, unittest.equals('foo')); | 3461 unittest.expect(o.etag, unittest.equals('foo')); |
3462 unittest.expect(o.eventId, unittest.equals('foo')); | 3462 unittest.expect(o.eventId, unittest.equals('foo')); |
3463 checkUnnamed593(o.items); | 3463 checkUnnamed599(o.items); |
3464 unittest.expect(o.kind, unittest.equals('foo')); | 3464 unittest.expect(o.kind, unittest.equals('foo')); |
3465 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3465 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3466 checkPageInfo(o.pageInfo); | 3466 checkPageInfo(o.pageInfo); |
3467 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3467 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3468 checkTokenPagination(o.tokenPagination); | 3468 checkTokenPagination(o.tokenPagination); |
3469 unittest.expect(o.visitorId, unittest.equals('foo')); | 3469 unittest.expect(o.visitorId, unittest.equals('foo')); |
3470 } | 3470 } |
3471 buildCounterLiveStreamListResponse--; | 3471 buildCounterLiveStreamListResponse--; |
3472 } | 3472 } |
3473 | 3473 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3512 | 3512 |
3513 checkLiveStreamStatus(api.LiveStreamStatus o) { | 3513 checkLiveStreamStatus(api.LiveStreamStatus o) { |
3514 buildCounterLiveStreamStatus++; | 3514 buildCounterLiveStreamStatus++; |
3515 if (buildCounterLiveStreamStatus < 3) { | 3515 if (buildCounterLiveStreamStatus < 3) { |
3516 checkLiveStreamHealthStatus(o.healthStatus); | 3516 checkLiveStreamHealthStatus(o.healthStatus); |
3517 unittest.expect(o.streamStatus, unittest.equals('foo')); | 3517 unittest.expect(o.streamStatus, unittest.equals('foo')); |
3518 } | 3518 } |
3519 buildCounterLiveStreamStatus--; | 3519 buildCounterLiveStreamStatus--; |
3520 } | 3520 } |
3521 | 3521 |
3522 buildUnnamed594() { | 3522 buildUnnamed600() { |
3523 var o = new core.List<api.LocalizedString>(); | 3523 var o = new core.List<api.LocalizedString>(); |
3524 o.add(buildLocalizedString()); | 3524 o.add(buildLocalizedString()); |
3525 o.add(buildLocalizedString()); | 3525 o.add(buildLocalizedString()); |
3526 return o; | 3526 return o; |
3527 } | 3527 } |
3528 | 3528 |
3529 checkUnnamed594(core.List<api.LocalizedString> o) { | 3529 checkUnnamed600(core.List<api.LocalizedString> o) { |
3530 unittest.expect(o, unittest.hasLength(2)); | 3530 unittest.expect(o, unittest.hasLength(2)); |
3531 checkLocalizedString(o[0]); | 3531 checkLocalizedString(o[0]); |
3532 checkLocalizedString(o[1]); | 3532 checkLocalizedString(o[1]); |
3533 } | 3533 } |
3534 | 3534 |
3535 core.int buildCounterLocalizedProperty = 0; | 3535 core.int buildCounterLocalizedProperty = 0; |
3536 buildLocalizedProperty() { | 3536 buildLocalizedProperty() { |
3537 var o = new api.LocalizedProperty(); | 3537 var o = new api.LocalizedProperty(); |
3538 buildCounterLocalizedProperty++; | 3538 buildCounterLocalizedProperty++; |
3539 if (buildCounterLocalizedProperty < 3) { | 3539 if (buildCounterLocalizedProperty < 3) { |
3540 o.default_ = "foo"; | 3540 o.default_ = "foo"; |
3541 o.defaultLanguage = buildLanguageTag(); | 3541 o.defaultLanguage = buildLanguageTag(); |
3542 o.localized = buildUnnamed594(); | 3542 o.localized = buildUnnamed600(); |
3543 } | 3543 } |
3544 buildCounterLocalizedProperty--; | 3544 buildCounterLocalizedProperty--; |
3545 return o; | 3545 return o; |
3546 } | 3546 } |
3547 | 3547 |
3548 checkLocalizedProperty(api.LocalizedProperty o) { | 3548 checkLocalizedProperty(api.LocalizedProperty o) { |
3549 buildCounterLocalizedProperty++; | 3549 buildCounterLocalizedProperty++; |
3550 if (buildCounterLocalizedProperty < 3) { | 3550 if (buildCounterLocalizedProperty < 3) { |
3551 unittest.expect(o.default_, unittest.equals('foo')); | 3551 unittest.expect(o.default_, unittest.equals('foo')); |
3552 checkLanguageTag(o.defaultLanguage); | 3552 checkLanguageTag(o.defaultLanguage); |
3553 checkUnnamed594(o.localized); | 3553 checkUnnamed600(o.localized); |
3554 } | 3554 } |
3555 buildCounterLocalizedProperty--; | 3555 buildCounterLocalizedProperty--; |
3556 } | 3556 } |
3557 | 3557 |
3558 core.int buildCounterLocalizedString = 0; | 3558 core.int buildCounterLocalizedString = 0; |
3559 buildLocalizedString() { | 3559 buildLocalizedString() { |
3560 var o = new api.LocalizedString(); | 3560 var o = new api.LocalizedString(); |
3561 buildCounterLocalizedString++; | 3561 buildCounterLocalizedString++; |
3562 if (buildCounterLocalizedString < 3) { | 3562 if (buildCounterLocalizedString < 3) { |
3563 o.language = "foo"; | 3563 o.language = "foo"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3613 | 3613 |
3614 checkPageInfo(api.PageInfo o) { | 3614 checkPageInfo(api.PageInfo o) { |
3615 buildCounterPageInfo++; | 3615 buildCounterPageInfo++; |
3616 if (buildCounterPageInfo < 3) { | 3616 if (buildCounterPageInfo < 3) { |
3617 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 3617 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
3618 unittest.expect(o.totalResults, unittest.equals(42)); | 3618 unittest.expect(o.totalResults, unittest.equals(42)); |
3619 } | 3619 } |
3620 buildCounterPageInfo--; | 3620 buildCounterPageInfo--; |
3621 } | 3621 } |
3622 | 3622 |
3623 buildUnnamed595() { | 3623 buildUnnamed601() { |
3624 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 3624 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
3625 o["x"] = buildPlaylistLocalization(); | 3625 o["x"] = buildPlaylistLocalization(); |
3626 o["y"] = buildPlaylistLocalization(); | 3626 o["y"] = buildPlaylistLocalization(); |
3627 return o; | 3627 return o; |
3628 } | 3628 } |
3629 | 3629 |
3630 checkUnnamed595(core.Map<core.String, api.PlaylistLocalization> o) { | 3630 checkUnnamed601(core.Map<core.String, api.PlaylistLocalization> o) { |
3631 unittest.expect(o, unittest.hasLength(2)); | 3631 unittest.expect(o, unittest.hasLength(2)); |
3632 checkPlaylistLocalization(o["x"]); | 3632 checkPlaylistLocalization(o["x"]); |
3633 checkPlaylistLocalization(o["y"]); | 3633 checkPlaylistLocalization(o["y"]); |
3634 } | 3634 } |
3635 | 3635 |
3636 core.int buildCounterPlaylist = 0; | 3636 core.int buildCounterPlaylist = 0; |
3637 buildPlaylist() { | 3637 buildPlaylist() { |
3638 var o = new api.Playlist(); | 3638 var o = new api.Playlist(); |
3639 buildCounterPlaylist++; | 3639 buildCounterPlaylist++; |
3640 if (buildCounterPlaylist < 3) { | 3640 if (buildCounterPlaylist < 3) { |
3641 o.contentDetails = buildPlaylistContentDetails(); | 3641 o.contentDetails = buildPlaylistContentDetails(); |
3642 o.etag = "foo"; | 3642 o.etag = "foo"; |
3643 o.id = "foo"; | 3643 o.id = "foo"; |
3644 o.kind = "foo"; | 3644 o.kind = "foo"; |
3645 o.localizations = buildUnnamed595(); | 3645 o.localizations = buildUnnamed601(); |
3646 o.player = buildPlaylistPlayer(); | 3646 o.player = buildPlaylistPlayer(); |
3647 o.snippet = buildPlaylistSnippet(); | 3647 o.snippet = buildPlaylistSnippet(); |
3648 o.status = buildPlaylistStatus(); | 3648 o.status = buildPlaylistStatus(); |
3649 } | 3649 } |
3650 buildCounterPlaylist--; | 3650 buildCounterPlaylist--; |
3651 return o; | 3651 return o; |
3652 } | 3652 } |
3653 | 3653 |
3654 checkPlaylist(api.Playlist o) { | 3654 checkPlaylist(api.Playlist o) { |
3655 buildCounterPlaylist++; | 3655 buildCounterPlaylist++; |
3656 if (buildCounterPlaylist < 3) { | 3656 if (buildCounterPlaylist < 3) { |
3657 checkPlaylistContentDetails(o.contentDetails); | 3657 checkPlaylistContentDetails(o.contentDetails); |
3658 unittest.expect(o.etag, unittest.equals('foo')); | 3658 unittest.expect(o.etag, unittest.equals('foo')); |
3659 unittest.expect(o.id, unittest.equals('foo')); | 3659 unittest.expect(o.id, unittest.equals('foo')); |
3660 unittest.expect(o.kind, unittest.equals('foo')); | 3660 unittest.expect(o.kind, unittest.equals('foo')); |
3661 checkUnnamed595(o.localizations); | 3661 checkUnnamed601(o.localizations); |
3662 checkPlaylistPlayer(o.player); | 3662 checkPlaylistPlayer(o.player); |
3663 checkPlaylistSnippet(o.snippet); | 3663 checkPlaylistSnippet(o.snippet); |
3664 checkPlaylistStatus(o.status); | 3664 checkPlaylistStatus(o.status); |
3665 } | 3665 } |
3666 buildCounterPlaylist--; | 3666 buildCounterPlaylist--; |
3667 } | 3667 } |
3668 | 3668 |
3669 core.int buildCounterPlaylistContentDetails = 0; | 3669 core.int buildCounterPlaylistContentDetails = 0; |
3670 buildPlaylistContentDetails() { | 3670 buildPlaylistContentDetails() { |
3671 var o = new api.PlaylistContentDetails(); | 3671 var o = new api.PlaylistContentDetails(); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3734 if (buildCounterPlaylistItemContentDetails < 3) { | 3734 if (buildCounterPlaylistItemContentDetails < 3) { |
3735 unittest.expect(o.endAt, unittest.equals('foo')); | 3735 unittest.expect(o.endAt, unittest.equals('foo')); |
3736 unittest.expect(o.note, unittest.equals('foo')); | 3736 unittest.expect(o.note, unittest.equals('foo')); |
3737 unittest.expect(o.startAt, unittest.equals('foo')); | 3737 unittest.expect(o.startAt, unittest.equals('foo')); |
3738 unittest.expect(o.videoId, unittest.equals('foo')); | 3738 unittest.expect(o.videoId, unittest.equals('foo')); |
3739 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"))); |
3740 } | 3740 } |
3741 buildCounterPlaylistItemContentDetails--; | 3741 buildCounterPlaylistItemContentDetails--; |
3742 } | 3742 } |
3743 | 3743 |
3744 buildUnnamed596() { | 3744 buildUnnamed602() { |
3745 var o = new core.List<api.PlaylistItem>(); | 3745 var o = new core.List<api.PlaylistItem>(); |
3746 o.add(buildPlaylistItem()); | 3746 o.add(buildPlaylistItem()); |
3747 o.add(buildPlaylistItem()); | 3747 o.add(buildPlaylistItem()); |
3748 return o; | 3748 return o; |
3749 } | 3749 } |
3750 | 3750 |
3751 checkUnnamed596(core.List<api.PlaylistItem> o) { | 3751 checkUnnamed602(core.List<api.PlaylistItem> o) { |
3752 unittest.expect(o, unittest.hasLength(2)); | 3752 unittest.expect(o, unittest.hasLength(2)); |
3753 checkPlaylistItem(o[0]); | 3753 checkPlaylistItem(o[0]); |
3754 checkPlaylistItem(o[1]); | 3754 checkPlaylistItem(o[1]); |
3755 } | 3755 } |
3756 | 3756 |
3757 core.int buildCounterPlaylistItemListResponse = 0; | 3757 core.int buildCounterPlaylistItemListResponse = 0; |
3758 buildPlaylistItemListResponse() { | 3758 buildPlaylistItemListResponse() { |
3759 var o = new api.PlaylistItemListResponse(); | 3759 var o = new api.PlaylistItemListResponse(); |
3760 buildCounterPlaylistItemListResponse++; | 3760 buildCounterPlaylistItemListResponse++; |
3761 if (buildCounterPlaylistItemListResponse < 3) { | 3761 if (buildCounterPlaylistItemListResponse < 3) { |
3762 o.etag = "foo"; | 3762 o.etag = "foo"; |
3763 o.eventId = "foo"; | 3763 o.eventId = "foo"; |
3764 o.items = buildUnnamed596(); | 3764 o.items = buildUnnamed602(); |
3765 o.kind = "foo"; | 3765 o.kind = "foo"; |
3766 o.nextPageToken = "foo"; | 3766 o.nextPageToken = "foo"; |
3767 o.pageInfo = buildPageInfo(); | 3767 o.pageInfo = buildPageInfo(); |
3768 o.prevPageToken = "foo"; | 3768 o.prevPageToken = "foo"; |
3769 o.tokenPagination = buildTokenPagination(); | 3769 o.tokenPagination = buildTokenPagination(); |
3770 o.visitorId = "foo"; | 3770 o.visitorId = "foo"; |
3771 } | 3771 } |
3772 buildCounterPlaylistItemListResponse--; | 3772 buildCounterPlaylistItemListResponse--; |
3773 return o; | 3773 return o; |
3774 } | 3774 } |
3775 | 3775 |
3776 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3776 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
3777 buildCounterPlaylistItemListResponse++; | 3777 buildCounterPlaylistItemListResponse++; |
3778 if (buildCounterPlaylistItemListResponse < 3) { | 3778 if (buildCounterPlaylistItemListResponse < 3) { |
3779 unittest.expect(o.etag, unittest.equals('foo')); | 3779 unittest.expect(o.etag, unittest.equals('foo')); |
3780 unittest.expect(o.eventId, unittest.equals('foo')); | 3780 unittest.expect(o.eventId, unittest.equals('foo')); |
3781 checkUnnamed596(o.items); | 3781 checkUnnamed602(o.items); |
3782 unittest.expect(o.kind, unittest.equals('foo')); | 3782 unittest.expect(o.kind, unittest.equals('foo')); |
3783 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3783 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3784 checkPageInfo(o.pageInfo); | 3784 checkPageInfo(o.pageInfo); |
3785 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3785 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3786 checkTokenPagination(o.tokenPagination); | 3786 checkTokenPagination(o.tokenPagination); |
3787 unittest.expect(o.visitorId, unittest.equals('foo')); | 3787 unittest.expect(o.visitorId, unittest.equals('foo')); |
3788 } | 3788 } |
3789 buildCounterPlaylistItemListResponse--; | 3789 buildCounterPlaylistItemListResponse--; |
3790 } | 3790 } |
3791 | 3791 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3836 } | 3836 } |
3837 | 3837 |
3838 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3838 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
3839 buildCounterPlaylistItemStatus++; | 3839 buildCounterPlaylistItemStatus++; |
3840 if (buildCounterPlaylistItemStatus < 3) { | 3840 if (buildCounterPlaylistItemStatus < 3) { |
3841 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3841 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
3842 } | 3842 } |
3843 buildCounterPlaylistItemStatus--; | 3843 buildCounterPlaylistItemStatus--; |
3844 } | 3844 } |
3845 | 3845 |
3846 buildUnnamed597() { | 3846 buildUnnamed603() { |
3847 var o = new core.List<api.Playlist>(); | 3847 var o = new core.List<api.Playlist>(); |
3848 o.add(buildPlaylist()); | 3848 o.add(buildPlaylist()); |
3849 o.add(buildPlaylist()); | 3849 o.add(buildPlaylist()); |
3850 return o; | 3850 return o; |
3851 } | 3851 } |
3852 | 3852 |
3853 checkUnnamed597(core.List<api.Playlist> o) { | 3853 checkUnnamed603(core.List<api.Playlist> o) { |
3854 unittest.expect(o, unittest.hasLength(2)); | 3854 unittest.expect(o, unittest.hasLength(2)); |
3855 checkPlaylist(o[0]); | 3855 checkPlaylist(o[0]); |
3856 checkPlaylist(o[1]); | 3856 checkPlaylist(o[1]); |
3857 } | 3857 } |
3858 | 3858 |
3859 core.int buildCounterPlaylistListResponse = 0; | 3859 core.int buildCounterPlaylistListResponse = 0; |
3860 buildPlaylistListResponse() { | 3860 buildPlaylistListResponse() { |
3861 var o = new api.PlaylistListResponse(); | 3861 var o = new api.PlaylistListResponse(); |
3862 buildCounterPlaylistListResponse++; | 3862 buildCounterPlaylistListResponse++; |
3863 if (buildCounterPlaylistListResponse < 3) { | 3863 if (buildCounterPlaylistListResponse < 3) { |
3864 o.etag = "foo"; | 3864 o.etag = "foo"; |
3865 o.eventId = "foo"; | 3865 o.eventId = "foo"; |
3866 o.items = buildUnnamed597(); | 3866 o.items = buildUnnamed603(); |
3867 o.kind = "foo"; | 3867 o.kind = "foo"; |
3868 o.nextPageToken = "foo"; | 3868 o.nextPageToken = "foo"; |
3869 o.pageInfo = buildPageInfo(); | 3869 o.pageInfo = buildPageInfo(); |
3870 o.prevPageToken = "foo"; | 3870 o.prevPageToken = "foo"; |
3871 o.tokenPagination = buildTokenPagination(); | 3871 o.tokenPagination = buildTokenPagination(); |
3872 o.visitorId = "foo"; | 3872 o.visitorId = "foo"; |
3873 } | 3873 } |
3874 buildCounterPlaylistListResponse--; | 3874 buildCounterPlaylistListResponse--; |
3875 return o; | 3875 return o; |
3876 } | 3876 } |
3877 | 3877 |
3878 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3878 checkPlaylistListResponse(api.PlaylistListResponse o) { |
3879 buildCounterPlaylistListResponse++; | 3879 buildCounterPlaylistListResponse++; |
3880 if (buildCounterPlaylistListResponse < 3) { | 3880 if (buildCounterPlaylistListResponse < 3) { |
3881 unittest.expect(o.etag, unittest.equals('foo')); | 3881 unittest.expect(o.etag, unittest.equals('foo')); |
3882 unittest.expect(o.eventId, unittest.equals('foo')); | 3882 unittest.expect(o.eventId, unittest.equals('foo')); |
3883 checkUnnamed597(o.items); | 3883 checkUnnamed603(o.items); |
3884 unittest.expect(o.kind, unittest.equals('foo')); | 3884 unittest.expect(o.kind, unittest.equals('foo')); |
3885 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3885 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3886 checkPageInfo(o.pageInfo); | 3886 checkPageInfo(o.pageInfo); |
3887 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3887 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3888 checkTokenPagination(o.tokenPagination); | 3888 checkTokenPagination(o.tokenPagination); |
3889 unittest.expect(o.visitorId, unittest.equals('foo')); | 3889 unittest.expect(o.visitorId, unittest.equals('foo')); |
3890 } | 3890 } |
3891 buildCounterPlaylistListResponse--; | 3891 buildCounterPlaylistListResponse--; |
3892 } | 3892 } |
3893 | 3893 |
(...skipping 30 matching lines...) Expand all Loading... |
3924 } | 3924 } |
3925 | 3925 |
3926 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3926 checkPlaylistPlayer(api.PlaylistPlayer o) { |
3927 buildCounterPlaylistPlayer++; | 3927 buildCounterPlaylistPlayer++; |
3928 if (buildCounterPlaylistPlayer < 3) { | 3928 if (buildCounterPlaylistPlayer < 3) { |
3929 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3929 unittest.expect(o.embedHtml, unittest.equals('foo')); |
3930 } | 3930 } |
3931 buildCounterPlaylistPlayer--; | 3931 buildCounterPlaylistPlayer--; |
3932 } | 3932 } |
3933 | 3933 |
3934 buildUnnamed598() { | 3934 buildUnnamed604() { |
3935 var o = new core.List<core.String>(); | 3935 var o = new core.List<core.String>(); |
3936 o.add("foo"); | 3936 o.add("foo"); |
3937 o.add("foo"); | 3937 o.add("foo"); |
3938 return o; | 3938 return o; |
3939 } | 3939 } |
3940 | 3940 |
3941 checkUnnamed598(core.List<core.String> o) { | 3941 checkUnnamed604(core.List<core.String> o) { |
3942 unittest.expect(o, unittest.hasLength(2)); | 3942 unittest.expect(o, unittest.hasLength(2)); |
3943 unittest.expect(o[0], unittest.equals('foo')); | 3943 unittest.expect(o[0], unittest.equals('foo')); |
3944 unittest.expect(o[1], unittest.equals('foo')); | 3944 unittest.expect(o[1], unittest.equals('foo')); |
3945 } | 3945 } |
3946 | 3946 |
3947 core.int buildCounterPlaylistSnippet = 0; | 3947 core.int buildCounterPlaylistSnippet = 0; |
3948 buildPlaylistSnippet() { | 3948 buildPlaylistSnippet() { |
3949 var o = new api.PlaylistSnippet(); | 3949 var o = new api.PlaylistSnippet(); |
3950 buildCounterPlaylistSnippet++; | 3950 buildCounterPlaylistSnippet++; |
3951 if (buildCounterPlaylistSnippet < 3) { | 3951 if (buildCounterPlaylistSnippet < 3) { |
3952 o.channelId = "foo"; | 3952 o.channelId = "foo"; |
3953 o.channelTitle = "foo"; | 3953 o.channelTitle = "foo"; |
3954 o.defaultLanguage = "foo"; | 3954 o.defaultLanguage = "foo"; |
3955 o.description = "foo"; | 3955 o.description = "foo"; |
3956 o.localized = buildPlaylistLocalization(); | 3956 o.localized = buildPlaylistLocalization(); |
3957 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3957 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
3958 o.tags = buildUnnamed598(); | 3958 o.tags = buildUnnamed604(); |
3959 o.thumbnails = buildThumbnailDetails(); | 3959 o.thumbnails = buildThumbnailDetails(); |
3960 o.title = "foo"; | 3960 o.title = "foo"; |
3961 } | 3961 } |
3962 buildCounterPlaylistSnippet--; | 3962 buildCounterPlaylistSnippet--; |
3963 return o; | 3963 return o; |
3964 } | 3964 } |
3965 | 3965 |
3966 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3966 checkPlaylistSnippet(api.PlaylistSnippet o) { |
3967 buildCounterPlaylistSnippet++; | 3967 buildCounterPlaylistSnippet++; |
3968 if (buildCounterPlaylistSnippet < 3) { | 3968 if (buildCounterPlaylistSnippet < 3) { |
3969 unittest.expect(o.channelId, unittest.equals('foo')); | 3969 unittest.expect(o.channelId, unittest.equals('foo')); |
3970 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3970 unittest.expect(o.channelTitle, unittest.equals('foo')); |
3971 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3971 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
3972 unittest.expect(o.description, unittest.equals('foo')); | 3972 unittest.expect(o.description, unittest.equals('foo')); |
3973 checkPlaylistLocalization(o.localized); | 3973 checkPlaylistLocalization(o.localized); |
3974 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"))); |
3975 checkUnnamed598(o.tags); | 3975 checkUnnamed604(o.tags); |
3976 checkThumbnailDetails(o.thumbnails); | 3976 checkThumbnailDetails(o.thumbnails); |
3977 unittest.expect(o.title, unittest.equals('foo')); | 3977 unittest.expect(o.title, unittest.equals('foo')); |
3978 } | 3978 } |
3979 buildCounterPlaylistSnippet--; | 3979 buildCounterPlaylistSnippet--; |
3980 } | 3980 } |
3981 | 3981 |
3982 core.int buildCounterPlaylistStatus = 0; | 3982 core.int buildCounterPlaylistStatus = 0; |
3983 buildPlaylistStatus() { | 3983 buildPlaylistStatus() { |
3984 var o = new api.PlaylistStatus(); | 3984 var o = new api.PlaylistStatus(); |
3985 buildCounterPlaylistStatus++; | 3985 buildCounterPlaylistStatus++; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4087 buildCounterResourceId++; | 4087 buildCounterResourceId++; |
4088 if (buildCounterResourceId < 3) { | 4088 if (buildCounterResourceId < 3) { |
4089 unittest.expect(o.channelId, unittest.equals('foo')); | 4089 unittest.expect(o.channelId, unittest.equals('foo')); |
4090 unittest.expect(o.kind, unittest.equals('foo')); | 4090 unittest.expect(o.kind, unittest.equals('foo')); |
4091 unittest.expect(o.playlistId, unittest.equals('foo')); | 4091 unittest.expect(o.playlistId, unittest.equals('foo')); |
4092 unittest.expect(o.videoId, unittest.equals('foo')); | 4092 unittest.expect(o.videoId, unittest.equals('foo')); |
4093 } | 4093 } |
4094 buildCounterResourceId--; | 4094 buildCounterResourceId--; |
4095 } | 4095 } |
4096 | 4096 |
4097 buildUnnamed599() { | 4097 buildUnnamed605() { |
4098 var o = new core.List<api.SearchResult>(); | 4098 var o = new core.List<api.SearchResult>(); |
4099 o.add(buildSearchResult()); | 4099 o.add(buildSearchResult()); |
4100 o.add(buildSearchResult()); | 4100 o.add(buildSearchResult()); |
4101 return o; | 4101 return o; |
4102 } | 4102 } |
4103 | 4103 |
4104 checkUnnamed599(core.List<api.SearchResult> o) { | 4104 checkUnnamed605(core.List<api.SearchResult> o) { |
4105 unittest.expect(o, unittest.hasLength(2)); | 4105 unittest.expect(o, unittest.hasLength(2)); |
4106 checkSearchResult(o[0]); | 4106 checkSearchResult(o[0]); |
4107 checkSearchResult(o[1]); | 4107 checkSearchResult(o[1]); |
4108 } | 4108 } |
4109 | 4109 |
4110 core.int buildCounterSearchListResponse = 0; | 4110 core.int buildCounterSearchListResponse = 0; |
4111 buildSearchListResponse() { | 4111 buildSearchListResponse() { |
4112 var o = new api.SearchListResponse(); | 4112 var o = new api.SearchListResponse(); |
4113 buildCounterSearchListResponse++; | 4113 buildCounterSearchListResponse++; |
4114 if (buildCounterSearchListResponse < 3) { | 4114 if (buildCounterSearchListResponse < 3) { |
4115 o.etag = "foo"; | 4115 o.etag = "foo"; |
4116 o.eventId = "foo"; | 4116 o.eventId = "foo"; |
4117 o.items = buildUnnamed599(); | 4117 o.items = buildUnnamed605(); |
4118 o.kind = "foo"; | 4118 o.kind = "foo"; |
4119 o.nextPageToken = "foo"; | 4119 o.nextPageToken = "foo"; |
4120 o.pageInfo = buildPageInfo(); | 4120 o.pageInfo = buildPageInfo(); |
4121 o.prevPageToken = "foo"; | 4121 o.prevPageToken = "foo"; |
4122 o.regionCode = "foo"; | 4122 o.regionCode = "foo"; |
4123 o.tokenPagination = buildTokenPagination(); | 4123 o.tokenPagination = buildTokenPagination(); |
4124 o.visitorId = "foo"; | 4124 o.visitorId = "foo"; |
4125 } | 4125 } |
4126 buildCounterSearchListResponse--; | 4126 buildCounterSearchListResponse--; |
4127 return o; | 4127 return o; |
4128 } | 4128 } |
4129 | 4129 |
4130 checkSearchListResponse(api.SearchListResponse o) { | 4130 checkSearchListResponse(api.SearchListResponse o) { |
4131 buildCounterSearchListResponse++; | 4131 buildCounterSearchListResponse++; |
4132 if (buildCounterSearchListResponse < 3) { | 4132 if (buildCounterSearchListResponse < 3) { |
4133 unittest.expect(o.etag, unittest.equals('foo')); | 4133 unittest.expect(o.etag, unittest.equals('foo')); |
4134 unittest.expect(o.eventId, unittest.equals('foo')); | 4134 unittest.expect(o.eventId, unittest.equals('foo')); |
4135 checkUnnamed599(o.items); | 4135 checkUnnamed605(o.items); |
4136 unittest.expect(o.kind, unittest.equals('foo')); | 4136 unittest.expect(o.kind, unittest.equals('foo')); |
4137 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4137 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4138 checkPageInfo(o.pageInfo); | 4138 checkPageInfo(o.pageInfo); |
4139 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4139 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4140 unittest.expect(o.regionCode, unittest.equals('foo')); | 4140 unittest.expect(o.regionCode, unittest.equals('foo')); |
4141 checkTokenPagination(o.tokenPagination); | 4141 checkTokenPagination(o.tokenPagination); |
4142 unittest.expect(o.visitorId, unittest.equals('foo')); | 4142 unittest.expect(o.visitorId, unittest.equals('foo')); |
4143 } | 4143 } |
4144 buildCounterSearchListResponse--; | 4144 buildCounterSearchListResponse--; |
4145 } | 4145 } |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4218 buildCounterSponsor++; | 4218 buildCounterSponsor++; |
4219 if (buildCounterSponsor < 3) { | 4219 if (buildCounterSponsor < 3) { |
4220 unittest.expect(o.etag, unittest.equals('foo')); | 4220 unittest.expect(o.etag, unittest.equals('foo')); |
4221 unittest.expect(o.id, unittest.equals('foo')); | 4221 unittest.expect(o.id, unittest.equals('foo')); |
4222 unittest.expect(o.kind, unittest.equals('foo')); | 4222 unittest.expect(o.kind, unittest.equals('foo')); |
4223 checkSponsorSnippet(o.snippet); | 4223 checkSponsorSnippet(o.snippet); |
4224 } | 4224 } |
4225 buildCounterSponsor--; | 4225 buildCounterSponsor--; |
4226 } | 4226 } |
4227 | 4227 |
4228 buildUnnamed600() { | 4228 buildUnnamed606() { |
4229 var o = new core.List<api.Sponsor>(); | 4229 var o = new core.List<api.Sponsor>(); |
4230 o.add(buildSponsor()); | 4230 o.add(buildSponsor()); |
4231 o.add(buildSponsor()); | 4231 o.add(buildSponsor()); |
4232 return o; | 4232 return o; |
4233 } | 4233 } |
4234 | 4234 |
4235 checkUnnamed600(core.List<api.Sponsor> o) { | 4235 checkUnnamed606(core.List<api.Sponsor> o) { |
4236 unittest.expect(o, unittest.hasLength(2)); | 4236 unittest.expect(o, unittest.hasLength(2)); |
4237 checkSponsor(o[0]); | 4237 checkSponsor(o[0]); |
4238 checkSponsor(o[1]); | 4238 checkSponsor(o[1]); |
4239 } | 4239 } |
4240 | 4240 |
4241 core.int buildCounterSponsorListResponse = 0; | 4241 core.int buildCounterSponsorListResponse = 0; |
4242 buildSponsorListResponse() { | 4242 buildSponsorListResponse() { |
4243 var o = new api.SponsorListResponse(); | 4243 var o = new api.SponsorListResponse(); |
4244 buildCounterSponsorListResponse++; | 4244 buildCounterSponsorListResponse++; |
4245 if (buildCounterSponsorListResponse < 3) { | 4245 if (buildCounterSponsorListResponse < 3) { |
4246 o.etag = "foo"; | 4246 o.etag = "foo"; |
4247 o.eventId = "foo"; | 4247 o.eventId = "foo"; |
4248 o.items = buildUnnamed600(); | 4248 o.items = buildUnnamed606(); |
4249 o.kind = "foo"; | 4249 o.kind = "foo"; |
4250 o.nextPageToken = "foo"; | 4250 o.nextPageToken = "foo"; |
4251 o.pageInfo = buildPageInfo(); | 4251 o.pageInfo = buildPageInfo(); |
4252 o.tokenPagination = buildTokenPagination(); | 4252 o.tokenPagination = buildTokenPagination(); |
4253 o.visitorId = "foo"; | 4253 o.visitorId = "foo"; |
4254 } | 4254 } |
4255 buildCounterSponsorListResponse--; | 4255 buildCounterSponsorListResponse--; |
4256 return o; | 4256 return o; |
4257 } | 4257 } |
4258 | 4258 |
4259 checkSponsorListResponse(api.SponsorListResponse o) { | 4259 checkSponsorListResponse(api.SponsorListResponse o) { |
4260 buildCounterSponsorListResponse++; | 4260 buildCounterSponsorListResponse++; |
4261 if (buildCounterSponsorListResponse < 3) { | 4261 if (buildCounterSponsorListResponse < 3) { |
4262 unittest.expect(o.etag, unittest.equals('foo')); | 4262 unittest.expect(o.etag, unittest.equals('foo')); |
4263 unittest.expect(o.eventId, unittest.equals('foo')); | 4263 unittest.expect(o.eventId, unittest.equals('foo')); |
4264 checkUnnamed600(o.items); | 4264 checkUnnamed606(o.items); |
4265 unittest.expect(o.kind, unittest.equals('foo')); | 4265 unittest.expect(o.kind, unittest.equals('foo')); |
4266 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4266 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4267 checkPageInfo(o.pageInfo); | 4267 checkPageInfo(o.pageInfo); |
4268 checkTokenPagination(o.tokenPagination); | 4268 checkTokenPagination(o.tokenPagination); |
4269 unittest.expect(o.visitorId, unittest.equals('foo')); | 4269 unittest.expect(o.visitorId, unittest.equals('foo')); |
4270 } | 4270 } |
4271 buildCounterSponsorListResponse--; | 4271 buildCounterSponsorListResponse--; |
4272 } | 4272 } |
4273 | 4273 |
4274 core.int buildCounterSponsorSnippet = 0; | 4274 core.int buildCounterSponsorSnippet = 0; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4339 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 4339 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
4340 buildCounterSubscriptionContentDetails++; | 4340 buildCounterSubscriptionContentDetails++; |
4341 if (buildCounterSubscriptionContentDetails < 3) { | 4341 if (buildCounterSubscriptionContentDetails < 3) { |
4342 unittest.expect(o.activityType, unittest.equals('foo')); | 4342 unittest.expect(o.activityType, unittest.equals('foo')); |
4343 unittest.expect(o.newItemCount, unittest.equals(42)); | 4343 unittest.expect(o.newItemCount, unittest.equals(42)); |
4344 unittest.expect(o.totalItemCount, unittest.equals(42)); | 4344 unittest.expect(o.totalItemCount, unittest.equals(42)); |
4345 } | 4345 } |
4346 buildCounterSubscriptionContentDetails--; | 4346 buildCounterSubscriptionContentDetails--; |
4347 } | 4347 } |
4348 | 4348 |
4349 buildUnnamed601() { | 4349 buildUnnamed607() { |
4350 var o = new core.List<api.Subscription>(); | 4350 var o = new core.List<api.Subscription>(); |
4351 o.add(buildSubscription()); | 4351 o.add(buildSubscription()); |
4352 o.add(buildSubscription()); | 4352 o.add(buildSubscription()); |
4353 return o; | 4353 return o; |
4354 } | 4354 } |
4355 | 4355 |
4356 checkUnnamed601(core.List<api.Subscription> o) { | 4356 checkUnnamed607(core.List<api.Subscription> o) { |
4357 unittest.expect(o, unittest.hasLength(2)); | 4357 unittest.expect(o, unittest.hasLength(2)); |
4358 checkSubscription(o[0]); | 4358 checkSubscription(o[0]); |
4359 checkSubscription(o[1]); | 4359 checkSubscription(o[1]); |
4360 } | 4360 } |
4361 | 4361 |
4362 core.int buildCounterSubscriptionListResponse = 0; | 4362 core.int buildCounterSubscriptionListResponse = 0; |
4363 buildSubscriptionListResponse() { | 4363 buildSubscriptionListResponse() { |
4364 var o = new api.SubscriptionListResponse(); | 4364 var o = new api.SubscriptionListResponse(); |
4365 buildCounterSubscriptionListResponse++; | 4365 buildCounterSubscriptionListResponse++; |
4366 if (buildCounterSubscriptionListResponse < 3) { | 4366 if (buildCounterSubscriptionListResponse < 3) { |
4367 o.etag = "foo"; | 4367 o.etag = "foo"; |
4368 o.eventId = "foo"; | 4368 o.eventId = "foo"; |
4369 o.items = buildUnnamed601(); | 4369 o.items = buildUnnamed607(); |
4370 o.kind = "foo"; | 4370 o.kind = "foo"; |
4371 o.nextPageToken = "foo"; | 4371 o.nextPageToken = "foo"; |
4372 o.pageInfo = buildPageInfo(); | 4372 o.pageInfo = buildPageInfo(); |
4373 o.prevPageToken = "foo"; | 4373 o.prevPageToken = "foo"; |
4374 o.tokenPagination = buildTokenPagination(); | 4374 o.tokenPagination = buildTokenPagination(); |
4375 o.visitorId = "foo"; | 4375 o.visitorId = "foo"; |
4376 } | 4376 } |
4377 buildCounterSubscriptionListResponse--; | 4377 buildCounterSubscriptionListResponse--; |
4378 return o; | 4378 return o; |
4379 } | 4379 } |
4380 | 4380 |
4381 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 4381 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
4382 buildCounterSubscriptionListResponse++; | 4382 buildCounterSubscriptionListResponse++; |
4383 if (buildCounterSubscriptionListResponse < 3) { | 4383 if (buildCounterSubscriptionListResponse < 3) { |
4384 unittest.expect(o.etag, unittest.equals('foo')); | 4384 unittest.expect(o.etag, unittest.equals('foo')); |
4385 unittest.expect(o.eventId, unittest.equals('foo')); | 4385 unittest.expect(o.eventId, unittest.equals('foo')); |
4386 checkUnnamed601(o.items); | 4386 checkUnnamed607(o.items); |
4387 unittest.expect(o.kind, unittest.equals('foo')); | 4387 unittest.expect(o.kind, unittest.equals('foo')); |
4388 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4388 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4389 checkPageInfo(o.pageInfo); | 4389 checkPageInfo(o.pageInfo); |
4390 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4390 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4391 checkTokenPagination(o.tokenPagination); | 4391 checkTokenPagination(o.tokenPagination); |
4392 unittest.expect(o.visitorId, unittest.equals('foo')); | 4392 unittest.expect(o.visitorId, unittest.equals('foo')); |
4393 } | 4393 } |
4394 buildCounterSubscriptionListResponse--; | 4394 buildCounterSubscriptionListResponse--; |
4395 } | 4395 } |
4396 | 4396 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4468 buildCounterSuperChatEvent++; | 4468 buildCounterSuperChatEvent++; |
4469 if (buildCounterSuperChatEvent < 3) { | 4469 if (buildCounterSuperChatEvent < 3) { |
4470 unittest.expect(o.etag, unittest.equals('foo')); | 4470 unittest.expect(o.etag, unittest.equals('foo')); |
4471 unittest.expect(o.id, unittest.equals('foo')); | 4471 unittest.expect(o.id, unittest.equals('foo')); |
4472 unittest.expect(o.kind, unittest.equals('foo')); | 4472 unittest.expect(o.kind, unittest.equals('foo')); |
4473 checkSuperChatEventSnippet(o.snippet); | 4473 checkSuperChatEventSnippet(o.snippet); |
4474 } | 4474 } |
4475 buildCounterSuperChatEvent--; | 4475 buildCounterSuperChatEvent--; |
4476 } | 4476 } |
4477 | 4477 |
4478 buildUnnamed602() { | 4478 buildUnnamed608() { |
4479 var o = new core.List<api.SuperChatEvent>(); | 4479 var o = new core.List<api.SuperChatEvent>(); |
4480 o.add(buildSuperChatEvent()); | 4480 o.add(buildSuperChatEvent()); |
4481 o.add(buildSuperChatEvent()); | 4481 o.add(buildSuperChatEvent()); |
4482 return o; | 4482 return o; |
4483 } | 4483 } |
4484 | 4484 |
4485 checkUnnamed602(core.List<api.SuperChatEvent> o) { | 4485 checkUnnamed608(core.List<api.SuperChatEvent> o) { |
4486 unittest.expect(o, unittest.hasLength(2)); | 4486 unittest.expect(o, unittest.hasLength(2)); |
4487 checkSuperChatEvent(o[0]); | 4487 checkSuperChatEvent(o[0]); |
4488 checkSuperChatEvent(o[1]); | 4488 checkSuperChatEvent(o[1]); |
4489 } | 4489 } |
4490 | 4490 |
4491 core.int buildCounterSuperChatEventListResponse = 0; | 4491 core.int buildCounterSuperChatEventListResponse = 0; |
4492 buildSuperChatEventListResponse() { | 4492 buildSuperChatEventListResponse() { |
4493 var o = new api.SuperChatEventListResponse(); | 4493 var o = new api.SuperChatEventListResponse(); |
4494 buildCounterSuperChatEventListResponse++; | 4494 buildCounterSuperChatEventListResponse++; |
4495 if (buildCounterSuperChatEventListResponse < 3) { | 4495 if (buildCounterSuperChatEventListResponse < 3) { |
4496 o.etag = "foo"; | 4496 o.etag = "foo"; |
4497 o.eventId = "foo"; | 4497 o.eventId = "foo"; |
4498 o.items = buildUnnamed602(); | 4498 o.items = buildUnnamed608(); |
4499 o.kind = "foo"; | 4499 o.kind = "foo"; |
4500 o.nextPageToken = "foo"; | 4500 o.nextPageToken = "foo"; |
4501 o.pageInfo = buildPageInfo(); | 4501 o.pageInfo = buildPageInfo(); |
4502 o.tokenPagination = buildTokenPagination(); | 4502 o.tokenPagination = buildTokenPagination(); |
4503 o.visitorId = "foo"; | 4503 o.visitorId = "foo"; |
4504 } | 4504 } |
4505 buildCounterSuperChatEventListResponse--; | 4505 buildCounterSuperChatEventListResponse--; |
4506 return o; | 4506 return o; |
4507 } | 4507 } |
4508 | 4508 |
4509 checkSuperChatEventListResponse(api.SuperChatEventListResponse o) { | 4509 checkSuperChatEventListResponse(api.SuperChatEventListResponse o) { |
4510 buildCounterSuperChatEventListResponse++; | 4510 buildCounterSuperChatEventListResponse++; |
4511 if (buildCounterSuperChatEventListResponse < 3) { | 4511 if (buildCounterSuperChatEventListResponse < 3) { |
4512 unittest.expect(o.etag, unittest.equals('foo')); | 4512 unittest.expect(o.etag, unittest.equals('foo')); |
4513 unittest.expect(o.eventId, unittest.equals('foo')); | 4513 unittest.expect(o.eventId, unittest.equals('foo')); |
4514 checkUnnamed602(o.items); | 4514 checkUnnamed608(o.items); |
4515 unittest.expect(o.kind, unittest.equals('foo')); | 4515 unittest.expect(o.kind, unittest.equals('foo')); |
4516 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4516 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4517 checkPageInfo(o.pageInfo); | 4517 checkPageInfo(o.pageInfo); |
4518 checkTokenPagination(o.tokenPagination); | 4518 checkTokenPagination(o.tokenPagination); |
4519 unittest.expect(o.visitorId, unittest.equals('foo')); | 4519 unittest.expect(o.visitorId, unittest.equals('foo')); |
4520 } | 4520 } |
4521 buildCounterSuperChatEventListResponse--; | 4521 buildCounterSuperChatEventListResponse--; |
4522 } | 4522 } |
4523 | 4523 |
4524 core.int buildCounterSuperChatEventSnippet = 0; | 4524 core.int buildCounterSuperChatEventSnippet = 0; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4597 if (buildCounterThumbnailDetails < 3) { | 4597 if (buildCounterThumbnailDetails < 3) { |
4598 checkThumbnail(o.default_); | 4598 checkThumbnail(o.default_); |
4599 checkThumbnail(o.high); | 4599 checkThumbnail(o.high); |
4600 checkThumbnail(o.maxres); | 4600 checkThumbnail(o.maxres); |
4601 checkThumbnail(o.medium); | 4601 checkThumbnail(o.medium); |
4602 checkThumbnail(o.standard); | 4602 checkThumbnail(o.standard); |
4603 } | 4603 } |
4604 buildCounterThumbnailDetails--; | 4604 buildCounterThumbnailDetails--; |
4605 } | 4605 } |
4606 | 4606 |
4607 buildUnnamed603() { | 4607 buildUnnamed609() { |
4608 var o = new core.List<api.ThumbnailDetails>(); | 4608 var o = new core.List<api.ThumbnailDetails>(); |
4609 o.add(buildThumbnailDetails()); | 4609 o.add(buildThumbnailDetails()); |
4610 o.add(buildThumbnailDetails()); | 4610 o.add(buildThumbnailDetails()); |
4611 return o; | 4611 return o; |
4612 } | 4612 } |
4613 | 4613 |
4614 checkUnnamed603(core.List<api.ThumbnailDetails> o) { | 4614 checkUnnamed609(core.List<api.ThumbnailDetails> o) { |
4615 unittest.expect(o, unittest.hasLength(2)); | 4615 unittest.expect(o, unittest.hasLength(2)); |
4616 checkThumbnailDetails(o[0]); | 4616 checkThumbnailDetails(o[0]); |
4617 checkThumbnailDetails(o[1]); | 4617 checkThumbnailDetails(o[1]); |
4618 } | 4618 } |
4619 | 4619 |
4620 core.int buildCounterThumbnailSetResponse = 0; | 4620 core.int buildCounterThumbnailSetResponse = 0; |
4621 buildThumbnailSetResponse() { | 4621 buildThumbnailSetResponse() { |
4622 var o = new api.ThumbnailSetResponse(); | 4622 var o = new api.ThumbnailSetResponse(); |
4623 buildCounterThumbnailSetResponse++; | 4623 buildCounterThumbnailSetResponse++; |
4624 if (buildCounterThumbnailSetResponse < 3) { | 4624 if (buildCounterThumbnailSetResponse < 3) { |
4625 o.etag = "foo"; | 4625 o.etag = "foo"; |
4626 o.eventId = "foo"; | 4626 o.eventId = "foo"; |
4627 o.items = buildUnnamed603(); | 4627 o.items = buildUnnamed609(); |
4628 o.kind = "foo"; | 4628 o.kind = "foo"; |
4629 o.visitorId = "foo"; | 4629 o.visitorId = "foo"; |
4630 } | 4630 } |
4631 buildCounterThumbnailSetResponse--; | 4631 buildCounterThumbnailSetResponse--; |
4632 return o; | 4632 return o; |
4633 } | 4633 } |
4634 | 4634 |
4635 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 4635 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
4636 buildCounterThumbnailSetResponse++; | 4636 buildCounterThumbnailSetResponse++; |
4637 if (buildCounterThumbnailSetResponse < 3) { | 4637 if (buildCounterThumbnailSetResponse < 3) { |
4638 unittest.expect(o.etag, unittest.equals('foo')); | 4638 unittest.expect(o.etag, unittest.equals('foo')); |
4639 unittest.expect(o.eventId, unittest.equals('foo')); | 4639 unittest.expect(o.eventId, unittest.equals('foo')); |
4640 checkUnnamed603(o.items); | 4640 checkUnnamed609(o.items); |
4641 unittest.expect(o.kind, unittest.equals('foo')); | 4641 unittest.expect(o.kind, unittest.equals('foo')); |
4642 unittest.expect(o.visitorId, unittest.equals('foo')); | 4642 unittest.expect(o.visitorId, unittest.equals('foo')); |
4643 } | 4643 } |
4644 buildCounterThumbnailSetResponse--; | 4644 buildCounterThumbnailSetResponse--; |
4645 } | 4645 } |
4646 | 4646 |
4647 core.int buildCounterTokenPagination = 0; | 4647 core.int buildCounterTokenPagination = 0; |
4648 buildTokenPagination() { | 4648 buildTokenPagination() { |
4649 var o = new api.TokenPagination(); | 4649 var o = new api.TokenPagination(); |
4650 buildCounterTokenPagination++; | 4650 buildCounterTokenPagination++; |
4651 if (buildCounterTokenPagination < 3) { | 4651 if (buildCounterTokenPagination < 3) { |
4652 } | 4652 } |
4653 buildCounterTokenPagination--; | 4653 buildCounterTokenPagination--; |
4654 return o; | 4654 return o; |
4655 } | 4655 } |
4656 | 4656 |
4657 checkTokenPagination(api.TokenPagination o) { | 4657 checkTokenPagination(api.TokenPagination o) { |
4658 buildCounterTokenPagination++; | 4658 buildCounterTokenPagination++; |
4659 if (buildCounterTokenPagination < 3) { | 4659 if (buildCounterTokenPagination < 3) { |
4660 } | 4660 } |
4661 buildCounterTokenPagination--; | 4661 buildCounterTokenPagination--; |
4662 } | 4662 } |
4663 | 4663 |
4664 buildUnnamed604() { | 4664 buildUnnamed610() { |
4665 var o = new core.Map<core.String, api.VideoLocalization>(); | 4665 var o = new core.Map<core.String, api.VideoLocalization>(); |
4666 o["x"] = buildVideoLocalization(); | 4666 o["x"] = buildVideoLocalization(); |
4667 o["y"] = buildVideoLocalization(); | 4667 o["y"] = buildVideoLocalization(); |
4668 return o; | 4668 return o; |
4669 } | 4669 } |
4670 | 4670 |
4671 checkUnnamed604(core.Map<core.String, api.VideoLocalization> o) { | 4671 checkUnnamed610(core.Map<core.String, api.VideoLocalization> o) { |
4672 unittest.expect(o, unittest.hasLength(2)); | 4672 unittest.expect(o, unittest.hasLength(2)); |
4673 checkVideoLocalization(o["x"]); | 4673 checkVideoLocalization(o["x"]); |
4674 checkVideoLocalization(o["y"]); | 4674 checkVideoLocalization(o["y"]); |
4675 } | 4675 } |
4676 | 4676 |
4677 core.int buildCounterVideo = 0; | 4677 core.int buildCounterVideo = 0; |
4678 buildVideo() { | 4678 buildVideo() { |
4679 var o = new api.Video(); | 4679 var o = new api.Video(); |
4680 buildCounterVideo++; | 4680 buildCounterVideo++; |
4681 if (buildCounterVideo < 3) { | 4681 if (buildCounterVideo < 3) { |
4682 o.ageGating = buildVideoAgeGating(); | 4682 o.ageGating = buildVideoAgeGating(); |
4683 o.contentDetails = buildVideoContentDetails(); | 4683 o.contentDetails = buildVideoContentDetails(); |
4684 o.etag = "foo"; | 4684 o.etag = "foo"; |
4685 o.fileDetails = buildVideoFileDetails(); | 4685 o.fileDetails = buildVideoFileDetails(); |
4686 o.id = "foo"; | 4686 o.id = "foo"; |
4687 o.kind = "foo"; | 4687 o.kind = "foo"; |
4688 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 4688 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
4689 o.localizations = buildUnnamed604(); | 4689 o.localizations = buildUnnamed610(); |
4690 o.monetizationDetails = buildVideoMonetizationDetails(); | 4690 o.monetizationDetails = buildVideoMonetizationDetails(); |
4691 o.player = buildVideoPlayer(); | 4691 o.player = buildVideoPlayer(); |
4692 o.processingDetails = buildVideoProcessingDetails(); | 4692 o.processingDetails = buildVideoProcessingDetails(); |
4693 o.projectDetails = buildVideoProjectDetails(); | 4693 o.projectDetails = buildVideoProjectDetails(); |
4694 o.recordingDetails = buildVideoRecordingDetails(); | 4694 o.recordingDetails = buildVideoRecordingDetails(); |
4695 o.snippet = buildVideoSnippet(); | 4695 o.snippet = buildVideoSnippet(); |
4696 o.statistics = buildVideoStatistics(); | 4696 o.statistics = buildVideoStatistics(); |
4697 o.status = buildVideoStatus(); | 4697 o.status = buildVideoStatus(); |
4698 o.suggestions = buildVideoSuggestions(); | 4698 o.suggestions = buildVideoSuggestions(); |
4699 o.topicDetails = buildVideoTopicDetails(); | 4699 o.topicDetails = buildVideoTopicDetails(); |
4700 } | 4700 } |
4701 buildCounterVideo--; | 4701 buildCounterVideo--; |
4702 return o; | 4702 return o; |
4703 } | 4703 } |
4704 | 4704 |
4705 checkVideo(api.Video o) { | 4705 checkVideo(api.Video o) { |
4706 buildCounterVideo++; | 4706 buildCounterVideo++; |
4707 if (buildCounterVideo < 3) { | 4707 if (buildCounterVideo < 3) { |
4708 checkVideoAgeGating(o.ageGating); | 4708 checkVideoAgeGating(o.ageGating); |
4709 checkVideoContentDetails(o.contentDetails); | 4709 checkVideoContentDetails(o.contentDetails); |
4710 unittest.expect(o.etag, unittest.equals('foo')); | 4710 unittest.expect(o.etag, unittest.equals('foo')); |
4711 checkVideoFileDetails(o.fileDetails); | 4711 checkVideoFileDetails(o.fileDetails); |
4712 unittest.expect(o.id, unittest.equals('foo')); | 4712 unittest.expect(o.id, unittest.equals('foo')); |
4713 unittest.expect(o.kind, unittest.equals('foo')); | 4713 unittest.expect(o.kind, unittest.equals('foo')); |
4714 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 4714 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
4715 checkUnnamed604(o.localizations); | 4715 checkUnnamed610(o.localizations); |
4716 checkVideoMonetizationDetails(o.monetizationDetails); | 4716 checkVideoMonetizationDetails(o.monetizationDetails); |
4717 checkVideoPlayer(o.player); | 4717 checkVideoPlayer(o.player); |
4718 checkVideoProcessingDetails(o.processingDetails); | 4718 checkVideoProcessingDetails(o.processingDetails); |
4719 checkVideoProjectDetails(o.projectDetails); | 4719 checkVideoProjectDetails(o.projectDetails); |
4720 checkVideoRecordingDetails(o.recordingDetails); | 4720 checkVideoRecordingDetails(o.recordingDetails); |
4721 checkVideoSnippet(o.snippet); | 4721 checkVideoSnippet(o.snippet); |
4722 checkVideoStatistics(o.statistics); | 4722 checkVideoStatistics(o.statistics); |
4723 checkVideoStatus(o.status); | 4723 checkVideoStatus(o.status); |
4724 checkVideoSuggestions(o.suggestions); | 4724 checkVideoSuggestions(o.suggestions); |
4725 checkVideoTopicDetails(o.topicDetails); | 4725 checkVideoTopicDetails(o.topicDetails); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4772 buildCounterVideoAbuseReportReason++; | 4772 buildCounterVideoAbuseReportReason++; |
4773 if (buildCounterVideoAbuseReportReason < 3) { | 4773 if (buildCounterVideoAbuseReportReason < 3) { |
4774 unittest.expect(o.etag, unittest.equals('foo')); | 4774 unittest.expect(o.etag, unittest.equals('foo')); |
4775 unittest.expect(o.id, unittest.equals('foo')); | 4775 unittest.expect(o.id, unittest.equals('foo')); |
4776 unittest.expect(o.kind, unittest.equals('foo')); | 4776 unittest.expect(o.kind, unittest.equals('foo')); |
4777 checkVideoAbuseReportReasonSnippet(o.snippet); | 4777 checkVideoAbuseReportReasonSnippet(o.snippet); |
4778 } | 4778 } |
4779 buildCounterVideoAbuseReportReason--; | 4779 buildCounterVideoAbuseReportReason--; |
4780 } | 4780 } |
4781 | 4781 |
4782 buildUnnamed605() { | 4782 buildUnnamed611() { |
4783 var o = new core.List<api.VideoAbuseReportReason>(); | 4783 var o = new core.List<api.VideoAbuseReportReason>(); |
4784 o.add(buildVideoAbuseReportReason()); | 4784 o.add(buildVideoAbuseReportReason()); |
4785 o.add(buildVideoAbuseReportReason()); | 4785 o.add(buildVideoAbuseReportReason()); |
4786 return o; | 4786 return o; |
4787 } | 4787 } |
4788 | 4788 |
4789 checkUnnamed605(core.List<api.VideoAbuseReportReason> o) { | 4789 checkUnnamed611(core.List<api.VideoAbuseReportReason> o) { |
4790 unittest.expect(o, unittest.hasLength(2)); | 4790 unittest.expect(o, unittest.hasLength(2)); |
4791 checkVideoAbuseReportReason(o[0]); | 4791 checkVideoAbuseReportReason(o[0]); |
4792 checkVideoAbuseReportReason(o[1]); | 4792 checkVideoAbuseReportReason(o[1]); |
4793 } | 4793 } |
4794 | 4794 |
4795 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 4795 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
4796 buildVideoAbuseReportReasonListResponse() { | 4796 buildVideoAbuseReportReasonListResponse() { |
4797 var o = new api.VideoAbuseReportReasonListResponse(); | 4797 var o = new api.VideoAbuseReportReasonListResponse(); |
4798 buildCounterVideoAbuseReportReasonListResponse++; | 4798 buildCounterVideoAbuseReportReasonListResponse++; |
4799 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4799 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
4800 o.etag = "foo"; | 4800 o.etag = "foo"; |
4801 o.eventId = "foo"; | 4801 o.eventId = "foo"; |
4802 o.items = buildUnnamed605(); | 4802 o.items = buildUnnamed611(); |
4803 o.kind = "foo"; | 4803 o.kind = "foo"; |
4804 o.visitorId = "foo"; | 4804 o.visitorId = "foo"; |
4805 } | 4805 } |
4806 buildCounterVideoAbuseReportReasonListResponse--; | 4806 buildCounterVideoAbuseReportReasonListResponse--; |
4807 return o; | 4807 return o; |
4808 } | 4808 } |
4809 | 4809 |
4810 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 4810 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
4811 buildCounterVideoAbuseReportReasonListResponse++; | 4811 buildCounterVideoAbuseReportReasonListResponse++; |
4812 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4812 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
4813 unittest.expect(o.etag, unittest.equals('foo')); | 4813 unittest.expect(o.etag, unittest.equals('foo')); |
4814 unittest.expect(o.eventId, unittest.equals('foo')); | 4814 unittest.expect(o.eventId, unittest.equals('foo')); |
4815 checkUnnamed605(o.items); | 4815 checkUnnamed611(o.items); |
4816 unittest.expect(o.kind, unittest.equals('foo')); | 4816 unittest.expect(o.kind, unittest.equals('foo')); |
4817 unittest.expect(o.visitorId, unittest.equals('foo')); | 4817 unittest.expect(o.visitorId, unittest.equals('foo')); |
4818 } | 4818 } |
4819 buildCounterVideoAbuseReportReasonListResponse--; | 4819 buildCounterVideoAbuseReportReasonListResponse--; |
4820 } | 4820 } |
4821 | 4821 |
4822 buildUnnamed606() { | 4822 buildUnnamed612() { |
4823 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 4823 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
4824 o.add(buildVideoAbuseReportSecondaryReason()); | 4824 o.add(buildVideoAbuseReportSecondaryReason()); |
4825 o.add(buildVideoAbuseReportSecondaryReason()); | 4825 o.add(buildVideoAbuseReportSecondaryReason()); |
4826 return o; | 4826 return o; |
4827 } | 4827 } |
4828 | 4828 |
4829 checkUnnamed606(core.List<api.VideoAbuseReportSecondaryReason> o) { | 4829 checkUnnamed612(core.List<api.VideoAbuseReportSecondaryReason> o) { |
4830 unittest.expect(o, unittest.hasLength(2)); | 4830 unittest.expect(o, unittest.hasLength(2)); |
4831 checkVideoAbuseReportSecondaryReason(o[0]); | 4831 checkVideoAbuseReportSecondaryReason(o[0]); |
4832 checkVideoAbuseReportSecondaryReason(o[1]); | 4832 checkVideoAbuseReportSecondaryReason(o[1]); |
4833 } | 4833 } |
4834 | 4834 |
4835 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 4835 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
4836 buildVideoAbuseReportReasonSnippet() { | 4836 buildVideoAbuseReportReasonSnippet() { |
4837 var o = new api.VideoAbuseReportReasonSnippet(); | 4837 var o = new api.VideoAbuseReportReasonSnippet(); |
4838 buildCounterVideoAbuseReportReasonSnippet++; | 4838 buildCounterVideoAbuseReportReasonSnippet++; |
4839 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4839 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
4840 o.label = "foo"; | 4840 o.label = "foo"; |
4841 o.secondaryReasons = buildUnnamed606(); | 4841 o.secondaryReasons = buildUnnamed612(); |
4842 } | 4842 } |
4843 buildCounterVideoAbuseReportReasonSnippet--; | 4843 buildCounterVideoAbuseReportReasonSnippet--; |
4844 return o; | 4844 return o; |
4845 } | 4845 } |
4846 | 4846 |
4847 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 4847 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
4848 buildCounterVideoAbuseReportReasonSnippet++; | 4848 buildCounterVideoAbuseReportReasonSnippet++; |
4849 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4849 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
4850 unittest.expect(o.label, unittest.equals('foo')); | 4850 unittest.expect(o.label, unittest.equals('foo')); |
4851 checkUnnamed606(o.secondaryReasons); | 4851 checkUnnamed612(o.secondaryReasons); |
4852 } | 4852 } |
4853 buildCounterVideoAbuseReportReasonSnippet--; | 4853 buildCounterVideoAbuseReportReasonSnippet--; |
4854 } | 4854 } |
4855 | 4855 |
4856 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 4856 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
4857 buildVideoAbuseReportSecondaryReason() { | 4857 buildVideoAbuseReportSecondaryReason() { |
4858 var o = new api.VideoAbuseReportSecondaryReason(); | 4858 var o = new api.VideoAbuseReportSecondaryReason(); |
4859 buildCounterVideoAbuseReportSecondaryReason++; | 4859 buildCounterVideoAbuseReportSecondaryReason++; |
4860 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 4860 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
4861 o.id = "foo"; | 4861 o.id = "foo"; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4915 buildCounterVideoCategory++; | 4915 buildCounterVideoCategory++; |
4916 if (buildCounterVideoCategory < 3) { | 4916 if (buildCounterVideoCategory < 3) { |
4917 unittest.expect(o.etag, unittest.equals('foo')); | 4917 unittest.expect(o.etag, unittest.equals('foo')); |
4918 unittest.expect(o.id, unittest.equals('foo')); | 4918 unittest.expect(o.id, unittest.equals('foo')); |
4919 unittest.expect(o.kind, unittest.equals('foo')); | 4919 unittest.expect(o.kind, unittest.equals('foo')); |
4920 checkVideoCategorySnippet(o.snippet); | 4920 checkVideoCategorySnippet(o.snippet); |
4921 } | 4921 } |
4922 buildCounterVideoCategory--; | 4922 buildCounterVideoCategory--; |
4923 } | 4923 } |
4924 | 4924 |
4925 buildUnnamed607() { | 4925 buildUnnamed613() { |
4926 var o = new core.List<api.VideoCategory>(); | 4926 var o = new core.List<api.VideoCategory>(); |
4927 o.add(buildVideoCategory()); | 4927 o.add(buildVideoCategory()); |
4928 o.add(buildVideoCategory()); | 4928 o.add(buildVideoCategory()); |
4929 return o; | 4929 return o; |
4930 } | 4930 } |
4931 | 4931 |
4932 checkUnnamed607(core.List<api.VideoCategory> o) { | 4932 checkUnnamed613(core.List<api.VideoCategory> o) { |
4933 unittest.expect(o, unittest.hasLength(2)); | 4933 unittest.expect(o, unittest.hasLength(2)); |
4934 checkVideoCategory(o[0]); | 4934 checkVideoCategory(o[0]); |
4935 checkVideoCategory(o[1]); | 4935 checkVideoCategory(o[1]); |
4936 } | 4936 } |
4937 | 4937 |
4938 core.int buildCounterVideoCategoryListResponse = 0; | 4938 core.int buildCounterVideoCategoryListResponse = 0; |
4939 buildVideoCategoryListResponse() { | 4939 buildVideoCategoryListResponse() { |
4940 var o = new api.VideoCategoryListResponse(); | 4940 var o = new api.VideoCategoryListResponse(); |
4941 buildCounterVideoCategoryListResponse++; | 4941 buildCounterVideoCategoryListResponse++; |
4942 if (buildCounterVideoCategoryListResponse < 3) { | 4942 if (buildCounterVideoCategoryListResponse < 3) { |
4943 o.etag = "foo"; | 4943 o.etag = "foo"; |
4944 o.eventId = "foo"; | 4944 o.eventId = "foo"; |
4945 o.items = buildUnnamed607(); | 4945 o.items = buildUnnamed613(); |
4946 o.kind = "foo"; | 4946 o.kind = "foo"; |
4947 o.nextPageToken = "foo"; | 4947 o.nextPageToken = "foo"; |
4948 o.pageInfo = buildPageInfo(); | 4948 o.pageInfo = buildPageInfo(); |
4949 o.prevPageToken = "foo"; | 4949 o.prevPageToken = "foo"; |
4950 o.tokenPagination = buildTokenPagination(); | 4950 o.tokenPagination = buildTokenPagination(); |
4951 o.visitorId = "foo"; | 4951 o.visitorId = "foo"; |
4952 } | 4952 } |
4953 buildCounterVideoCategoryListResponse--; | 4953 buildCounterVideoCategoryListResponse--; |
4954 return o; | 4954 return o; |
4955 } | 4955 } |
4956 | 4956 |
4957 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4957 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
4958 buildCounterVideoCategoryListResponse++; | 4958 buildCounterVideoCategoryListResponse++; |
4959 if (buildCounterVideoCategoryListResponse < 3) { | 4959 if (buildCounterVideoCategoryListResponse < 3) { |
4960 unittest.expect(o.etag, unittest.equals('foo')); | 4960 unittest.expect(o.etag, unittest.equals('foo')); |
4961 unittest.expect(o.eventId, unittest.equals('foo')); | 4961 unittest.expect(o.eventId, unittest.equals('foo')); |
4962 checkUnnamed607(o.items); | 4962 checkUnnamed613(o.items); |
4963 unittest.expect(o.kind, unittest.equals('foo')); | 4963 unittest.expect(o.kind, unittest.equals('foo')); |
4964 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4964 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4965 checkPageInfo(o.pageInfo); | 4965 checkPageInfo(o.pageInfo); |
4966 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4966 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4967 checkTokenPagination(o.tokenPagination); | 4967 checkTokenPagination(o.tokenPagination); |
4968 unittest.expect(o.visitorId, unittest.equals('foo')); | 4968 unittest.expect(o.visitorId, unittest.equals('foo')); |
4969 } | 4969 } |
4970 buildCounterVideoCategoryListResponse--; | 4970 buildCounterVideoCategoryListResponse--; |
4971 } | 4971 } |
4972 | 4972 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5023 unittest.expect(o.dimension, unittest.equals('foo')); | 5023 unittest.expect(o.dimension, unittest.equals('foo')); |
5024 unittest.expect(o.duration, unittest.equals('foo')); | 5024 unittest.expect(o.duration, unittest.equals('foo')); |
5025 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); | 5025 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); |
5026 unittest.expect(o.licensedContent, unittest.isTrue); | 5026 unittest.expect(o.licensedContent, unittest.isTrue); |
5027 unittest.expect(o.projection, unittest.equals('foo')); | 5027 unittest.expect(o.projection, unittest.equals('foo')); |
5028 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 5028 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
5029 } | 5029 } |
5030 buildCounterVideoContentDetails--; | 5030 buildCounterVideoContentDetails--; |
5031 } | 5031 } |
5032 | 5032 |
5033 buildUnnamed608() { | 5033 buildUnnamed614() { |
5034 var o = new core.List<core.String>(); | 5034 var o = new core.List<core.String>(); |
5035 o.add("foo"); | 5035 o.add("foo"); |
5036 o.add("foo"); | 5036 o.add("foo"); |
5037 return o; | 5037 return o; |
5038 } | 5038 } |
5039 | 5039 |
5040 checkUnnamed608(core.List<core.String> o) { | 5040 checkUnnamed614(core.List<core.String> o) { |
5041 unittest.expect(o, unittest.hasLength(2)); | 5041 unittest.expect(o, unittest.hasLength(2)); |
5042 unittest.expect(o[0], unittest.equals('foo')); | 5042 unittest.expect(o[0], unittest.equals('foo')); |
5043 unittest.expect(o[1], unittest.equals('foo')); | 5043 unittest.expect(o[1], unittest.equals('foo')); |
5044 } | 5044 } |
5045 | 5045 |
5046 buildUnnamed609() { | 5046 buildUnnamed615() { |
5047 var o = new core.List<core.String>(); | 5047 var o = new core.List<core.String>(); |
5048 o.add("foo"); | 5048 o.add("foo"); |
5049 o.add("foo"); | 5049 o.add("foo"); |
5050 return o; | 5050 return o; |
5051 } | 5051 } |
5052 | 5052 |
5053 checkUnnamed609(core.List<core.String> o) { | 5053 checkUnnamed615(core.List<core.String> o) { |
5054 unittest.expect(o, unittest.hasLength(2)); | 5054 unittest.expect(o, unittest.hasLength(2)); |
5055 unittest.expect(o[0], unittest.equals('foo')); | 5055 unittest.expect(o[0], unittest.equals('foo')); |
5056 unittest.expect(o[1], unittest.equals('foo')); | 5056 unittest.expect(o[1], unittest.equals('foo')); |
5057 } | 5057 } |
5058 | 5058 |
5059 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 5059 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
5060 buildVideoContentDetailsRegionRestriction() { | 5060 buildVideoContentDetailsRegionRestriction() { |
5061 var o = new api.VideoContentDetailsRegionRestriction(); | 5061 var o = new api.VideoContentDetailsRegionRestriction(); |
5062 buildCounterVideoContentDetailsRegionRestriction++; | 5062 buildCounterVideoContentDetailsRegionRestriction++; |
5063 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 5063 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
5064 o.allowed = buildUnnamed608(); | 5064 o.allowed = buildUnnamed614(); |
5065 o.blocked = buildUnnamed609(); | 5065 o.blocked = buildUnnamed615(); |
5066 } | 5066 } |
5067 buildCounterVideoContentDetailsRegionRestriction--; | 5067 buildCounterVideoContentDetailsRegionRestriction--; |
5068 return o; | 5068 return o; |
5069 } | 5069 } |
5070 | 5070 |
5071 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 5071 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
5072 buildCounterVideoContentDetailsRegionRestriction++; | 5072 buildCounterVideoContentDetailsRegionRestriction++; |
5073 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 5073 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
5074 checkUnnamed608(o.allowed); | 5074 checkUnnamed614(o.allowed); |
5075 checkUnnamed609(o.blocked); | 5075 checkUnnamed615(o.blocked); |
5076 } | 5076 } |
5077 buildCounterVideoContentDetailsRegionRestriction--; | 5077 buildCounterVideoContentDetailsRegionRestriction--; |
5078 } | 5078 } |
5079 | 5079 |
5080 buildUnnamed610() { | 5080 buildUnnamed616() { |
5081 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 5081 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
5082 o.add(buildVideoFileDetailsAudioStream()); | 5082 o.add(buildVideoFileDetailsAudioStream()); |
5083 o.add(buildVideoFileDetailsAudioStream()); | 5083 o.add(buildVideoFileDetailsAudioStream()); |
5084 return o; | 5084 return o; |
5085 } | 5085 } |
5086 | 5086 |
5087 checkUnnamed610(core.List<api.VideoFileDetailsAudioStream> o) { | 5087 checkUnnamed616(core.List<api.VideoFileDetailsAudioStream> o) { |
5088 unittest.expect(o, unittest.hasLength(2)); | 5088 unittest.expect(o, unittest.hasLength(2)); |
5089 checkVideoFileDetailsAudioStream(o[0]); | 5089 checkVideoFileDetailsAudioStream(o[0]); |
5090 checkVideoFileDetailsAudioStream(o[1]); | 5090 checkVideoFileDetailsAudioStream(o[1]); |
5091 } | 5091 } |
5092 | 5092 |
5093 buildUnnamed611() { | 5093 buildUnnamed617() { |
5094 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 5094 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
5095 o.add(buildVideoFileDetailsVideoStream()); | 5095 o.add(buildVideoFileDetailsVideoStream()); |
5096 o.add(buildVideoFileDetailsVideoStream()); | 5096 o.add(buildVideoFileDetailsVideoStream()); |
5097 return o; | 5097 return o; |
5098 } | 5098 } |
5099 | 5099 |
5100 checkUnnamed611(core.List<api.VideoFileDetailsVideoStream> o) { | 5100 checkUnnamed617(core.List<api.VideoFileDetailsVideoStream> o) { |
5101 unittest.expect(o, unittest.hasLength(2)); | 5101 unittest.expect(o, unittest.hasLength(2)); |
5102 checkVideoFileDetailsVideoStream(o[0]); | 5102 checkVideoFileDetailsVideoStream(o[0]); |
5103 checkVideoFileDetailsVideoStream(o[1]); | 5103 checkVideoFileDetailsVideoStream(o[1]); |
5104 } | 5104 } |
5105 | 5105 |
5106 core.int buildCounterVideoFileDetails = 0; | 5106 core.int buildCounterVideoFileDetails = 0; |
5107 buildVideoFileDetails() { | 5107 buildVideoFileDetails() { |
5108 var o = new api.VideoFileDetails(); | 5108 var o = new api.VideoFileDetails(); |
5109 buildCounterVideoFileDetails++; | 5109 buildCounterVideoFileDetails++; |
5110 if (buildCounterVideoFileDetails < 3) { | 5110 if (buildCounterVideoFileDetails < 3) { |
5111 o.audioStreams = buildUnnamed610(); | 5111 o.audioStreams = buildUnnamed616(); |
5112 o.bitrateBps = "foo"; | 5112 o.bitrateBps = "foo"; |
5113 o.container = "foo"; | 5113 o.container = "foo"; |
5114 o.creationTime = "foo"; | 5114 o.creationTime = "foo"; |
5115 o.durationMs = "foo"; | 5115 o.durationMs = "foo"; |
5116 o.fileName = "foo"; | 5116 o.fileName = "foo"; |
5117 o.fileSize = "foo"; | 5117 o.fileSize = "foo"; |
5118 o.fileType = "foo"; | 5118 o.fileType = "foo"; |
5119 o.videoStreams = buildUnnamed611(); | 5119 o.videoStreams = buildUnnamed617(); |
5120 } | 5120 } |
5121 buildCounterVideoFileDetails--; | 5121 buildCounterVideoFileDetails--; |
5122 return o; | 5122 return o; |
5123 } | 5123 } |
5124 | 5124 |
5125 checkVideoFileDetails(api.VideoFileDetails o) { | 5125 checkVideoFileDetails(api.VideoFileDetails o) { |
5126 buildCounterVideoFileDetails++; | 5126 buildCounterVideoFileDetails++; |
5127 if (buildCounterVideoFileDetails < 3) { | 5127 if (buildCounterVideoFileDetails < 3) { |
5128 checkUnnamed610(o.audioStreams); | 5128 checkUnnamed616(o.audioStreams); |
5129 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 5129 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
5130 unittest.expect(o.container, unittest.equals('foo')); | 5130 unittest.expect(o.container, unittest.equals('foo')); |
5131 unittest.expect(o.creationTime, unittest.equals('foo')); | 5131 unittest.expect(o.creationTime, unittest.equals('foo')); |
5132 unittest.expect(o.durationMs, unittest.equals('foo')); | 5132 unittest.expect(o.durationMs, unittest.equals('foo')); |
5133 unittest.expect(o.fileName, unittest.equals('foo')); | 5133 unittest.expect(o.fileName, unittest.equals('foo')); |
5134 unittest.expect(o.fileSize, unittest.equals('foo')); | 5134 unittest.expect(o.fileSize, unittest.equals('foo')); |
5135 unittest.expect(o.fileType, unittest.equals('foo')); | 5135 unittest.expect(o.fileType, unittest.equals('foo')); |
5136 checkUnnamed611(o.videoStreams); | 5136 checkUnnamed617(o.videoStreams); |
5137 } | 5137 } |
5138 buildCounterVideoFileDetails--; | 5138 buildCounterVideoFileDetails--; |
5139 } | 5139 } |
5140 | 5140 |
5141 core.int buildCounterVideoFileDetailsAudioStream = 0; | 5141 core.int buildCounterVideoFileDetailsAudioStream = 0; |
5142 buildVideoFileDetailsAudioStream() { | 5142 buildVideoFileDetailsAudioStream() { |
5143 var o = new api.VideoFileDetailsAudioStream(); | 5143 var o = new api.VideoFileDetailsAudioStream(); |
5144 buildCounterVideoFileDetailsAudioStream++; | 5144 buildCounterVideoFileDetailsAudioStream++; |
5145 if (buildCounterVideoFileDetailsAudioStream < 3) { | 5145 if (buildCounterVideoFileDetailsAudioStream < 3) { |
5146 o.bitrateBps = "foo"; | 5146 o.bitrateBps = "foo"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5189 unittest.expect(o.codec, unittest.equals('foo')); | 5189 unittest.expect(o.codec, unittest.equals('foo')); |
5190 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 5190 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
5191 unittest.expect(o.heightPixels, unittest.equals(42)); | 5191 unittest.expect(o.heightPixels, unittest.equals(42)); |
5192 unittest.expect(o.rotation, unittest.equals('foo')); | 5192 unittest.expect(o.rotation, unittest.equals('foo')); |
5193 unittest.expect(o.vendor, unittest.equals('foo')); | 5193 unittest.expect(o.vendor, unittest.equals('foo')); |
5194 unittest.expect(o.widthPixels, unittest.equals(42)); | 5194 unittest.expect(o.widthPixels, unittest.equals(42)); |
5195 } | 5195 } |
5196 buildCounterVideoFileDetailsVideoStream--; | 5196 buildCounterVideoFileDetailsVideoStream--; |
5197 } | 5197 } |
5198 | 5198 |
5199 buildUnnamed612() { | 5199 buildUnnamed618() { |
5200 var o = new core.List<api.VideoRating>(); | 5200 var o = new core.List<api.VideoRating>(); |
5201 o.add(buildVideoRating()); | 5201 o.add(buildVideoRating()); |
5202 o.add(buildVideoRating()); | 5202 o.add(buildVideoRating()); |
5203 return o; | 5203 return o; |
5204 } | 5204 } |
5205 | 5205 |
5206 checkUnnamed612(core.List<api.VideoRating> o) { | 5206 checkUnnamed618(core.List<api.VideoRating> o) { |
5207 unittest.expect(o, unittest.hasLength(2)); | 5207 unittest.expect(o, unittest.hasLength(2)); |
5208 checkVideoRating(o[0]); | 5208 checkVideoRating(o[0]); |
5209 checkVideoRating(o[1]); | 5209 checkVideoRating(o[1]); |
5210 } | 5210 } |
5211 | 5211 |
5212 core.int buildCounterVideoGetRatingResponse = 0; | 5212 core.int buildCounterVideoGetRatingResponse = 0; |
5213 buildVideoGetRatingResponse() { | 5213 buildVideoGetRatingResponse() { |
5214 var o = new api.VideoGetRatingResponse(); | 5214 var o = new api.VideoGetRatingResponse(); |
5215 buildCounterVideoGetRatingResponse++; | 5215 buildCounterVideoGetRatingResponse++; |
5216 if (buildCounterVideoGetRatingResponse < 3) { | 5216 if (buildCounterVideoGetRatingResponse < 3) { |
5217 o.etag = "foo"; | 5217 o.etag = "foo"; |
5218 o.eventId = "foo"; | 5218 o.eventId = "foo"; |
5219 o.items = buildUnnamed612(); | 5219 o.items = buildUnnamed618(); |
5220 o.kind = "foo"; | 5220 o.kind = "foo"; |
5221 o.visitorId = "foo"; | 5221 o.visitorId = "foo"; |
5222 } | 5222 } |
5223 buildCounterVideoGetRatingResponse--; | 5223 buildCounterVideoGetRatingResponse--; |
5224 return o; | 5224 return o; |
5225 } | 5225 } |
5226 | 5226 |
5227 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 5227 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
5228 buildCounterVideoGetRatingResponse++; | 5228 buildCounterVideoGetRatingResponse++; |
5229 if (buildCounterVideoGetRatingResponse < 3) { | 5229 if (buildCounterVideoGetRatingResponse < 3) { |
5230 unittest.expect(o.etag, unittest.equals('foo')); | 5230 unittest.expect(o.etag, unittest.equals('foo')); |
5231 unittest.expect(o.eventId, unittest.equals('foo')); | 5231 unittest.expect(o.eventId, unittest.equals('foo')); |
5232 checkUnnamed612(o.items); | 5232 checkUnnamed618(o.items); |
5233 unittest.expect(o.kind, unittest.equals('foo')); | 5233 unittest.expect(o.kind, unittest.equals('foo')); |
5234 unittest.expect(o.visitorId, unittest.equals('foo')); | 5234 unittest.expect(o.visitorId, unittest.equals('foo')); |
5235 } | 5235 } |
5236 buildCounterVideoGetRatingResponse--; | 5236 buildCounterVideoGetRatingResponse--; |
5237 } | 5237 } |
5238 | 5238 |
5239 buildUnnamed613() { | 5239 buildUnnamed619() { |
5240 var o = new core.List<api.Video>(); | 5240 var o = new core.List<api.Video>(); |
5241 o.add(buildVideo()); | 5241 o.add(buildVideo()); |
5242 o.add(buildVideo()); | 5242 o.add(buildVideo()); |
5243 return o; | 5243 return o; |
5244 } | 5244 } |
5245 | 5245 |
5246 checkUnnamed613(core.List<api.Video> o) { | 5246 checkUnnamed619(core.List<api.Video> o) { |
5247 unittest.expect(o, unittest.hasLength(2)); | 5247 unittest.expect(o, unittest.hasLength(2)); |
5248 checkVideo(o[0]); | 5248 checkVideo(o[0]); |
5249 checkVideo(o[1]); | 5249 checkVideo(o[1]); |
5250 } | 5250 } |
5251 | 5251 |
5252 core.int buildCounterVideoListResponse = 0; | 5252 core.int buildCounterVideoListResponse = 0; |
5253 buildVideoListResponse() { | 5253 buildVideoListResponse() { |
5254 var o = new api.VideoListResponse(); | 5254 var o = new api.VideoListResponse(); |
5255 buildCounterVideoListResponse++; | 5255 buildCounterVideoListResponse++; |
5256 if (buildCounterVideoListResponse < 3) { | 5256 if (buildCounterVideoListResponse < 3) { |
5257 o.etag = "foo"; | 5257 o.etag = "foo"; |
5258 o.eventId = "foo"; | 5258 o.eventId = "foo"; |
5259 o.items = buildUnnamed613(); | 5259 o.items = buildUnnamed619(); |
5260 o.kind = "foo"; | 5260 o.kind = "foo"; |
5261 o.nextPageToken = "foo"; | 5261 o.nextPageToken = "foo"; |
5262 o.pageInfo = buildPageInfo(); | 5262 o.pageInfo = buildPageInfo(); |
5263 o.prevPageToken = "foo"; | 5263 o.prevPageToken = "foo"; |
5264 o.tokenPagination = buildTokenPagination(); | 5264 o.tokenPagination = buildTokenPagination(); |
5265 o.visitorId = "foo"; | 5265 o.visitorId = "foo"; |
5266 } | 5266 } |
5267 buildCounterVideoListResponse--; | 5267 buildCounterVideoListResponse--; |
5268 return o; | 5268 return o; |
5269 } | 5269 } |
5270 | 5270 |
5271 checkVideoListResponse(api.VideoListResponse o) { | 5271 checkVideoListResponse(api.VideoListResponse o) { |
5272 buildCounterVideoListResponse++; | 5272 buildCounterVideoListResponse++; |
5273 if (buildCounterVideoListResponse < 3) { | 5273 if (buildCounterVideoListResponse < 3) { |
5274 unittest.expect(o.etag, unittest.equals('foo')); | 5274 unittest.expect(o.etag, unittest.equals('foo')); |
5275 unittest.expect(o.eventId, unittest.equals('foo')); | 5275 unittest.expect(o.eventId, unittest.equals('foo')); |
5276 checkUnnamed613(o.items); | 5276 checkUnnamed619(o.items); |
5277 unittest.expect(o.kind, unittest.equals('foo')); | 5277 unittest.expect(o.kind, unittest.equals('foo')); |
5278 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5278 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
5279 checkPageInfo(o.pageInfo); | 5279 checkPageInfo(o.pageInfo); |
5280 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 5280 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
5281 checkTokenPagination(o.tokenPagination); | 5281 checkTokenPagination(o.tokenPagination); |
5282 unittest.expect(o.visitorId, unittest.equals('foo')); | 5282 unittest.expect(o.visitorId, unittest.equals('foo')); |
5283 } | 5283 } |
5284 buildCounterVideoListResponse--; | 5284 buildCounterVideoListResponse--; |
5285 } | 5285 } |
5286 | 5286 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5425 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 5425 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
5426 buildCounterVideoProcessingDetailsProcessingProgress++; | 5426 buildCounterVideoProcessingDetailsProcessingProgress++; |
5427 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 5427 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
5428 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 5428 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
5429 unittest.expect(o.partsTotal, unittest.equals('foo')); | 5429 unittest.expect(o.partsTotal, unittest.equals('foo')); |
5430 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 5430 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
5431 } | 5431 } |
5432 buildCounterVideoProcessingDetailsProcessingProgress--; | 5432 buildCounterVideoProcessingDetailsProcessingProgress--; |
5433 } | 5433 } |
5434 | 5434 |
5435 buildUnnamed614() { | 5435 buildUnnamed620() { |
5436 var o = new core.List<core.String>(); | 5436 var o = new core.List<core.String>(); |
5437 o.add("foo"); | 5437 o.add("foo"); |
5438 o.add("foo"); | 5438 o.add("foo"); |
5439 return o; | 5439 return o; |
5440 } | 5440 } |
5441 | 5441 |
5442 checkUnnamed614(core.List<core.String> o) { | 5442 checkUnnamed620(core.List<core.String> o) { |
5443 unittest.expect(o, unittest.hasLength(2)); | 5443 unittest.expect(o, unittest.hasLength(2)); |
5444 unittest.expect(o[0], unittest.equals('foo')); | 5444 unittest.expect(o[0], unittest.equals('foo')); |
5445 unittest.expect(o[1], unittest.equals('foo')); | 5445 unittest.expect(o[1], unittest.equals('foo')); |
5446 } | 5446 } |
5447 | 5447 |
5448 core.int buildCounterVideoProjectDetails = 0; | 5448 core.int buildCounterVideoProjectDetails = 0; |
5449 buildVideoProjectDetails() { | 5449 buildVideoProjectDetails() { |
5450 var o = new api.VideoProjectDetails(); | 5450 var o = new api.VideoProjectDetails(); |
5451 buildCounterVideoProjectDetails++; | 5451 buildCounterVideoProjectDetails++; |
5452 if (buildCounterVideoProjectDetails < 3) { | 5452 if (buildCounterVideoProjectDetails < 3) { |
5453 o.tags = buildUnnamed614(); | 5453 o.tags = buildUnnamed620(); |
5454 } | 5454 } |
5455 buildCounterVideoProjectDetails--; | 5455 buildCounterVideoProjectDetails--; |
5456 return o; | 5456 return o; |
5457 } | 5457 } |
5458 | 5458 |
5459 checkVideoProjectDetails(api.VideoProjectDetails o) { | 5459 checkVideoProjectDetails(api.VideoProjectDetails o) { |
5460 buildCounterVideoProjectDetails++; | 5460 buildCounterVideoProjectDetails++; |
5461 if (buildCounterVideoProjectDetails < 3) { | 5461 if (buildCounterVideoProjectDetails < 3) { |
5462 checkUnnamed614(o.tags); | 5462 checkUnnamed620(o.tags); |
5463 } | 5463 } |
5464 buildCounterVideoProjectDetails--; | 5464 buildCounterVideoProjectDetails--; |
5465 } | 5465 } |
5466 | 5466 |
5467 core.int buildCounterVideoRating = 0; | 5467 core.int buildCounterVideoRating = 0; |
5468 buildVideoRating() { | 5468 buildVideoRating() { |
5469 var o = new api.VideoRating(); | 5469 var o = new api.VideoRating(); |
5470 buildCounterVideoRating++; | 5470 buildCounterVideoRating++; |
5471 if (buildCounterVideoRating < 3) { | 5471 if (buildCounterVideoRating < 3) { |
5472 o.rating = "foo"; | 5472 o.rating = "foo"; |
(...skipping 28 matching lines...) Expand all Loading... |
5501 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 5501 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
5502 buildCounterVideoRecordingDetails++; | 5502 buildCounterVideoRecordingDetails++; |
5503 if (buildCounterVideoRecordingDetails < 3) { | 5503 if (buildCounterVideoRecordingDetails < 3) { |
5504 checkGeoPoint(o.location); | 5504 checkGeoPoint(o.location); |
5505 unittest.expect(o.locationDescription, unittest.equals('foo')); | 5505 unittest.expect(o.locationDescription, unittest.equals('foo')); |
5506 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"))); |
5507 } | 5507 } |
5508 buildCounterVideoRecordingDetails--; | 5508 buildCounterVideoRecordingDetails--; |
5509 } | 5509 } |
5510 | 5510 |
5511 buildUnnamed615() { | 5511 buildUnnamed621() { |
5512 var o = new core.List<core.String>(); | 5512 var o = new core.List<core.String>(); |
5513 o.add("foo"); | 5513 o.add("foo"); |
5514 o.add("foo"); | 5514 o.add("foo"); |
5515 return o; | 5515 return o; |
5516 } | 5516 } |
5517 | 5517 |
5518 checkUnnamed615(core.List<core.String> o) { | 5518 checkUnnamed621(core.List<core.String> o) { |
5519 unittest.expect(o, unittest.hasLength(2)); | 5519 unittest.expect(o, unittest.hasLength(2)); |
5520 unittest.expect(o[0], unittest.equals('foo')); | 5520 unittest.expect(o[0], unittest.equals('foo')); |
5521 unittest.expect(o[1], unittest.equals('foo')); | 5521 unittest.expect(o[1], unittest.equals('foo')); |
5522 } | 5522 } |
5523 | 5523 |
5524 core.int buildCounterVideoSnippet = 0; | 5524 core.int buildCounterVideoSnippet = 0; |
5525 buildVideoSnippet() { | 5525 buildVideoSnippet() { |
5526 var o = new api.VideoSnippet(); | 5526 var o = new api.VideoSnippet(); |
5527 buildCounterVideoSnippet++; | 5527 buildCounterVideoSnippet++; |
5528 if (buildCounterVideoSnippet < 3) { | 5528 if (buildCounterVideoSnippet < 3) { |
5529 o.categoryId = "foo"; | 5529 o.categoryId = "foo"; |
5530 o.channelId = "foo"; | 5530 o.channelId = "foo"; |
5531 o.channelTitle = "foo"; | 5531 o.channelTitle = "foo"; |
5532 o.defaultAudioLanguage = "foo"; | 5532 o.defaultAudioLanguage = "foo"; |
5533 o.defaultLanguage = "foo"; | 5533 o.defaultLanguage = "foo"; |
5534 o.description = "foo"; | 5534 o.description = "foo"; |
5535 o.liveBroadcastContent = "foo"; | 5535 o.liveBroadcastContent = "foo"; |
5536 o.localized = buildVideoLocalization(); | 5536 o.localized = buildVideoLocalization(); |
5537 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 5537 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
5538 o.tags = buildUnnamed615(); | 5538 o.tags = buildUnnamed621(); |
5539 o.thumbnails = buildThumbnailDetails(); | 5539 o.thumbnails = buildThumbnailDetails(); |
5540 o.title = "foo"; | 5540 o.title = "foo"; |
5541 } | 5541 } |
5542 buildCounterVideoSnippet--; | 5542 buildCounterVideoSnippet--; |
5543 return o; | 5543 return o; |
5544 } | 5544 } |
5545 | 5545 |
5546 checkVideoSnippet(api.VideoSnippet o) { | 5546 checkVideoSnippet(api.VideoSnippet o) { |
5547 buildCounterVideoSnippet++; | 5547 buildCounterVideoSnippet++; |
5548 if (buildCounterVideoSnippet < 3) { | 5548 if (buildCounterVideoSnippet < 3) { |
5549 unittest.expect(o.categoryId, unittest.equals('foo')); | 5549 unittest.expect(o.categoryId, unittest.equals('foo')); |
5550 unittest.expect(o.channelId, unittest.equals('foo')); | 5550 unittest.expect(o.channelId, unittest.equals('foo')); |
5551 unittest.expect(o.channelTitle, unittest.equals('foo')); | 5551 unittest.expect(o.channelTitle, unittest.equals('foo')); |
5552 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 5552 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
5553 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 5553 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
5554 unittest.expect(o.description, unittest.equals('foo')); | 5554 unittest.expect(o.description, unittest.equals('foo')); |
5555 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 5555 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
5556 checkVideoLocalization(o.localized); | 5556 checkVideoLocalization(o.localized); |
5557 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"))); |
5558 checkUnnamed615(o.tags); | 5558 checkUnnamed621(o.tags); |
5559 checkThumbnailDetails(o.thumbnails); | 5559 checkThumbnailDetails(o.thumbnails); |
5560 unittest.expect(o.title, unittest.equals('foo')); | 5560 unittest.expect(o.title, unittest.equals('foo')); |
5561 } | 5561 } |
5562 buildCounterVideoSnippet--; | 5562 buildCounterVideoSnippet--; |
5563 } | 5563 } |
5564 | 5564 |
5565 core.int buildCounterVideoStatistics = 0; | 5565 core.int buildCounterVideoStatistics = 0; |
5566 buildVideoStatistics() { | 5566 buildVideoStatistics() { |
5567 var o = new api.VideoStatistics(); | 5567 var o = new api.VideoStatistics(); |
5568 buildCounterVideoStatistics++; | 5568 buildCounterVideoStatistics++; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5615 unittest.expect(o.license, unittest.equals('foo')); | 5615 unittest.expect(o.license, unittest.equals('foo')); |
5616 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 5616 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
5617 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 5617 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
5618 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"))); |
5619 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 5619 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
5620 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 5620 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
5621 } | 5621 } |
5622 buildCounterVideoStatus--; | 5622 buildCounterVideoStatus--; |
5623 } | 5623 } |
5624 | 5624 |
5625 buildUnnamed616() { | 5625 buildUnnamed622() { |
5626 var o = new core.List<core.String>(); | 5626 var o = new core.List<core.String>(); |
5627 o.add("foo"); | 5627 o.add("foo"); |
5628 o.add("foo"); | 5628 o.add("foo"); |
5629 return o; | 5629 return o; |
5630 } | 5630 } |
5631 | 5631 |
5632 checkUnnamed616(core.List<core.String> o) { | 5632 checkUnnamed622(core.List<core.String> o) { |
5633 unittest.expect(o, unittest.hasLength(2)); | 5633 unittest.expect(o, unittest.hasLength(2)); |
5634 unittest.expect(o[0], unittest.equals('foo')); | 5634 unittest.expect(o[0], unittest.equals('foo')); |
5635 unittest.expect(o[1], unittest.equals('foo')); | 5635 unittest.expect(o[1], unittest.equals('foo')); |
5636 } | 5636 } |
5637 | 5637 |
5638 buildUnnamed617() { | 5638 buildUnnamed623() { |
5639 var o = new core.List<core.String>(); | 5639 var o = new core.List<core.String>(); |
5640 o.add("foo"); | 5640 o.add("foo"); |
5641 o.add("foo"); | 5641 o.add("foo"); |
5642 return o; | 5642 return o; |
5643 } | 5643 } |
5644 | 5644 |
5645 checkUnnamed617(core.List<core.String> o) { | 5645 checkUnnamed623(core.List<core.String> o) { |
5646 unittest.expect(o, unittest.hasLength(2)); | 5646 unittest.expect(o, unittest.hasLength(2)); |
5647 unittest.expect(o[0], unittest.equals('foo')); | 5647 unittest.expect(o[0], unittest.equals('foo')); |
5648 unittest.expect(o[1], unittest.equals('foo')); | 5648 unittest.expect(o[1], unittest.equals('foo')); |
5649 } | 5649 } |
5650 | 5650 |
5651 buildUnnamed618() { | 5651 buildUnnamed624() { |
5652 var o = new core.List<core.String>(); | 5652 var o = new core.List<core.String>(); |
5653 o.add("foo"); | 5653 o.add("foo"); |
5654 o.add("foo"); | 5654 o.add("foo"); |
5655 return o; | 5655 return o; |
5656 } | 5656 } |
5657 | 5657 |
5658 checkUnnamed618(core.List<core.String> o) { | 5658 checkUnnamed624(core.List<core.String> o) { |
5659 unittest.expect(o, unittest.hasLength(2)); | 5659 unittest.expect(o, unittest.hasLength(2)); |
5660 unittest.expect(o[0], unittest.equals('foo')); | 5660 unittest.expect(o[0], unittest.equals('foo')); |
5661 unittest.expect(o[1], unittest.equals('foo')); | 5661 unittest.expect(o[1], unittest.equals('foo')); |
5662 } | 5662 } |
5663 | 5663 |
5664 buildUnnamed619() { | 5664 buildUnnamed625() { |
5665 var o = new core.List<core.String>(); | 5665 var o = new core.List<core.String>(); |
5666 o.add("foo"); | 5666 o.add("foo"); |
5667 o.add("foo"); | 5667 o.add("foo"); |
5668 return o; | 5668 return o; |
5669 } | 5669 } |
5670 | 5670 |
5671 checkUnnamed619(core.List<core.String> o) { | 5671 checkUnnamed625(core.List<core.String> o) { |
5672 unittest.expect(o, unittest.hasLength(2)); | 5672 unittest.expect(o, unittest.hasLength(2)); |
5673 unittest.expect(o[0], unittest.equals('foo')); | 5673 unittest.expect(o[0], unittest.equals('foo')); |
5674 unittest.expect(o[1], unittest.equals('foo')); | 5674 unittest.expect(o[1], unittest.equals('foo')); |
5675 } | 5675 } |
5676 | 5676 |
5677 buildUnnamed620() { | 5677 buildUnnamed626() { |
5678 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 5678 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
5679 o.add(buildVideoSuggestionsTagSuggestion()); | 5679 o.add(buildVideoSuggestionsTagSuggestion()); |
5680 o.add(buildVideoSuggestionsTagSuggestion()); | 5680 o.add(buildVideoSuggestionsTagSuggestion()); |
5681 return o; | 5681 return o; |
5682 } | 5682 } |
5683 | 5683 |
5684 checkUnnamed620(core.List<api.VideoSuggestionsTagSuggestion> o) { | 5684 checkUnnamed626(core.List<api.VideoSuggestionsTagSuggestion> o) { |
5685 unittest.expect(o, unittest.hasLength(2)); | 5685 unittest.expect(o, unittest.hasLength(2)); |
5686 checkVideoSuggestionsTagSuggestion(o[0]); | 5686 checkVideoSuggestionsTagSuggestion(o[0]); |
5687 checkVideoSuggestionsTagSuggestion(o[1]); | 5687 checkVideoSuggestionsTagSuggestion(o[1]); |
5688 } | 5688 } |
5689 | 5689 |
5690 core.int buildCounterVideoSuggestions = 0; | 5690 core.int buildCounterVideoSuggestions = 0; |
5691 buildVideoSuggestions() { | 5691 buildVideoSuggestions() { |
5692 var o = new api.VideoSuggestions(); | 5692 var o = new api.VideoSuggestions(); |
5693 buildCounterVideoSuggestions++; | 5693 buildCounterVideoSuggestions++; |
5694 if (buildCounterVideoSuggestions < 3) { | 5694 if (buildCounterVideoSuggestions < 3) { |
5695 o.editorSuggestions = buildUnnamed616(); | 5695 o.editorSuggestions = buildUnnamed622(); |
5696 o.processingErrors = buildUnnamed617(); | 5696 o.processingErrors = buildUnnamed623(); |
5697 o.processingHints = buildUnnamed618(); | 5697 o.processingHints = buildUnnamed624(); |
5698 o.processingWarnings = buildUnnamed619(); | 5698 o.processingWarnings = buildUnnamed625(); |
5699 o.tagSuggestions = buildUnnamed620(); | 5699 o.tagSuggestions = buildUnnamed626(); |
5700 } | 5700 } |
5701 buildCounterVideoSuggestions--; | 5701 buildCounterVideoSuggestions--; |
5702 return o; | 5702 return o; |
5703 } | 5703 } |
5704 | 5704 |
5705 checkVideoSuggestions(api.VideoSuggestions o) { | 5705 checkVideoSuggestions(api.VideoSuggestions o) { |
5706 buildCounterVideoSuggestions++; | 5706 buildCounterVideoSuggestions++; |
5707 if (buildCounterVideoSuggestions < 3) { | 5707 if (buildCounterVideoSuggestions < 3) { |
5708 checkUnnamed616(o.editorSuggestions); | 5708 checkUnnamed622(o.editorSuggestions); |
5709 checkUnnamed617(o.processingErrors); | 5709 checkUnnamed623(o.processingErrors); |
5710 checkUnnamed618(o.processingHints); | 5710 checkUnnamed624(o.processingHints); |
5711 checkUnnamed619(o.processingWarnings); | 5711 checkUnnamed625(o.processingWarnings); |
5712 checkUnnamed620(o.tagSuggestions); | 5712 checkUnnamed626(o.tagSuggestions); |
5713 } | 5713 } |
5714 buildCounterVideoSuggestions--; | 5714 buildCounterVideoSuggestions--; |
5715 } | 5715 } |
5716 | 5716 |
5717 buildUnnamed621() { | 5717 buildUnnamed627() { |
5718 var o = new core.List<core.String>(); | 5718 var o = new core.List<core.String>(); |
5719 o.add("foo"); | 5719 o.add("foo"); |
5720 o.add("foo"); | 5720 o.add("foo"); |
5721 return o; | 5721 return o; |
5722 } | 5722 } |
5723 | 5723 |
5724 checkUnnamed621(core.List<core.String> o) { | 5724 checkUnnamed627(core.List<core.String> o) { |
5725 unittest.expect(o, unittest.hasLength(2)); | 5725 unittest.expect(o, unittest.hasLength(2)); |
5726 unittest.expect(o[0], unittest.equals('foo')); | 5726 unittest.expect(o[0], unittest.equals('foo')); |
5727 unittest.expect(o[1], unittest.equals('foo')); | 5727 unittest.expect(o[1], unittest.equals('foo')); |
5728 } | 5728 } |
5729 | 5729 |
5730 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 5730 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
5731 buildVideoSuggestionsTagSuggestion() { | 5731 buildVideoSuggestionsTagSuggestion() { |
5732 var o = new api.VideoSuggestionsTagSuggestion(); | 5732 var o = new api.VideoSuggestionsTagSuggestion(); |
5733 buildCounterVideoSuggestionsTagSuggestion++; | 5733 buildCounterVideoSuggestionsTagSuggestion++; |
5734 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5734 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
5735 o.categoryRestricts = buildUnnamed621(); | 5735 o.categoryRestricts = buildUnnamed627(); |
5736 o.tag = "foo"; | 5736 o.tag = "foo"; |
5737 } | 5737 } |
5738 buildCounterVideoSuggestionsTagSuggestion--; | 5738 buildCounterVideoSuggestionsTagSuggestion--; |
5739 return o; | 5739 return o; |
5740 } | 5740 } |
5741 | 5741 |
5742 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 5742 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
5743 buildCounterVideoSuggestionsTagSuggestion++; | 5743 buildCounterVideoSuggestionsTagSuggestion++; |
5744 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5744 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
5745 checkUnnamed621(o.categoryRestricts); | 5745 checkUnnamed627(o.categoryRestricts); |
5746 unittest.expect(o.tag, unittest.equals('foo')); | 5746 unittest.expect(o.tag, unittest.equals('foo')); |
5747 } | 5747 } |
5748 buildCounterVideoSuggestionsTagSuggestion--; | 5748 buildCounterVideoSuggestionsTagSuggestion--; |
5749 } | 5749 } |
5750 | 5750 |
5751 buildUnnamed622() { | 5751 buildUnnamed628() { |
5752 var o = new core.List<core.String>(); | 5752 var o = new core.List<core.String>(); |
5753 o.add("foo"); | 5753 o.add("foo"); |
5754 o.add("foo"); | 5754 o.add("foo"); |
5755 return o; | 5755 return o; |
5756 } | 5756 } |
5757 | 5757 |
5758 checkUnnamed622(core.List<core.String> o) { | 5758 checkUnnamed628(core.List<core.String> o) { |
5759 unittest.expect(o, unittest.hasLength(2)); | 5759 unittest.expect(o, unittest.hasLength(2)); |
5760 unittest.expect(o[0], unittest.equals('foo')); | 5760 unittest.expect(o[0], unittest.equals('foo')); |
5761 unittest.expect(o[1], unittest.equals('foo')); | 5761 unittest.expect(o[1], unittest.equals('foo')); |
5762 } | 5762 } |
5763 | 5763 |
5764 buildUnnamed623() { | 5764 buildUnnamed629() { |
5765 var o = new core.List<core.String>(); | 5765 var o = new core.List<core.String>(); |
5766 o.add("foo"); | 5766 o.add("foo"); |
5767 o.add("foo"); | 5767 o.add("foo"); |
5768 return o; | 5768 return o; |
5769 } | 5769 } |
5770 | 5770 |
5771 checkUnnamed623(core.List<core.String> o) { | 5771 checkUnnamed629(core.List<core.String> o) { |
5772 unittest.expect(o, unittest.hasLength(2)); | 5772 unittest.expect(o, unittest.hasLength(2)); |
5773 unittest.expect(o[0], unittest.equals('foo')); | 5773 unittest.expect(o[0], unittest.equals('foo')); |
5774 unittest.expect(o[1], unittest.equals('foo')); | 5774 unittest.expect(o[1], unittest.equals('foo')); |
5775 } | 5775 } |
5776 | 5776 |
5777 buildUnnamed624() { | 5777 buildUnnamed630() { |
5778 var o = new core.List<core.String>(); | 5778 var o = new core.List<core.String>(); |
5779 o.add("foo"); | 5779 o.add("foo"); |
5780 o.add("foo"); | 5780 o.add("foo"); |
5781 return o; | 5781 return o; |
5782 } | 5782 } |
5783 | 5783 |
5784 checkUnnamed624(core.List<core.String> o) { | 5784 checkUnnamed630(core.List<core.String> o) { |
5785 unittest.expect(o, unittest.hasLength(2)); | 5785 unittest.expect(o, unittest.hasLength(2)); |
5786 unittest.expect(o[0], unittest.equals('foo')); | 5786 unittest.expect(o[0], unittest.equals('foo')); |
5787 unittest.expect(o[1], unittest.equals('foo')); | 5787 unittest.expect(o[1], unittest.equals('foo')); |
5788 } | 5788 } |
5789 | 5789 |
5790 core.int buildCounterVideoTopicDetails = 0; | 5790 core.int buildCounterVideoTopicDetails = 0; |
5791 buildVideoTopicDetails() { | 5791 buildVideoTopicDetails() { |
5792 var o = new api.VideoTopicDetails(); | 5792 var o = new api.VideoTopicDetails(); |
5793 buildCounterVideoTopicDetails++; | 5793 buildCounterVideoTopicDetails++; |
5794 if (buildCounterVideoTopicDetails < 3) { | 5794 if (buildCounterVideoTopicDetails < 3) { |
5795 o.relevantTopicIds = buildUnnamed622(); | 5795 o.relevantTopicIds = buildUnnamed628(); |
5796 o.topicCategories = buildUnnamed623(); | 5796 o.topicCategories = buildUnnamed629(); |
5797 o.topicIds = buildUnnamed624(); | 5797 o.topicIds = buildUnnamed630(); |
5798 } | 5798 } |
5799 buildCounterVideoTopicDetails--; | 5799 buildCounterVideoTopicDetails--; |
5800 return o; | 5800 return o; |
5801 } | 5801 } |
5802 | 5802 |
5803 checkVideoTopicDetails(api.VideoTopicDetails o) { | 5803 checkVideoTopicDetails(api.VideoTopicDetails o) { |
5804 buildCounterVideoTopicDetails++; | 5804 buildCounterVideoTopicDetails++; |
5805 if (buildCounterVideoTopicDetails < 3) { | 5805 if (buildCounterVideoTopicDetails < 3) { |
5806 checkUnnamed622(o.relevantTopicIds); | 5806 checkUnnamed628(o.relevantTopicIds); |
5807 checkUnnamed623(o.topicCategories); | 5807 checkUnnamed629(o.topicCategories); |
5808 checkUnnamed624(o.topicIds); | 5808 checkUnnamed630(o.topicIds); |
5809 } | 5809 } |
5810 buildCounterVideoTopicDetails--; | 5810 buildCounterVideoTopicDetails--; |
5811 } | 5811 } |
5812 | 5812 |
5813 core.int buildCounterWatchSettings = 0; | 5813 core.int buildCounterWatchSettings = 0; |
5814 buildWatchSettings() { | 5814 buildWatchSettings() { |
5815 var o = new api.WatchSettings(); | 5815 var o = new api.WatchSettings(); |
5816 buildCounterWatchSettings++; | 5816 buildCounterWatchSettings++; |
5817 if (buildCounterWatchSettings < 3) { | 5817 if (buildCounterWatchSettings < 3) { |
5818 o.backgroundColor = "foo"; | 5818 o.backgroundColor = "foo"; |
(...skipping 5617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11436 return new async.Future.value(stringResponse(200, h, resp)); | 11436 return new async.Future.value(stringResponse(200, h, resp)); |
11437 }), true); | 11437 }), true); |
11438 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync1((_) {})); | 11438 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync1((_) {})); |
11439 }); | 11439 }); |
11440 | 11440 |
11441 }); | 11441 }); |
11442 | 11442 |
11443 | 11443 |
11444 } | 11444 } |
11445 | 11445 |
OLD | NEW |