OLD | NEW |
1 library googleapis.youtube.v3.test; | 1 library googleapis.youtube.v3.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed2190() { | 54 buildUnnamed597() { |
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 checkUnnamed2190(core.List<core.String> o) { | 61 checkUnnamed597(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 = buildUnnamed2190(); | 73 o.exception = buildUnnamed597(); |
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 checkUnnamed2190(o.exception); | 83 checkUnnamed597(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 buildUnnamed2191() { | 272 buildUnnamed598() { |
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 checkUnnamed2191(core.List<core.String> o) { | 279 checkUnnamed598(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 buildUnnamed2192() { | 285 buildUnnamed599() { |
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 checkUnnamed2192(core.List<core.String> o) { | 292 checkUnnamed599(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 = buildUnnamed2191(); | 310 o.forecastingUrl = buildUnnamed598(); |
311 o.impressionUrl = buildUnnamed2192(); | 311 o.impressionUrl = buildUnnamed599(); |
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 checkUnnamed2191(o.forecastingUrl); | 328 checkUnnamed598(o.forecastingUrl); |
329 checkUnnamed2192(o.impressionUrl); | 329 checkUnnamed599(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 buildUnnamed2193() { | 423 buildUnnamed600() { |
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 checkUnnamed2193(core.List<api.Activity> o) { | 430 checkUnnamed600(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 = buildUnnamed2193(); | 443 o.items = buildUnnamed600(); |
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 checkUnnamed2193(o.items); | 460 checkUnnamed600(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 buildUnnamed2194() { | 529 buildUnnamed601() { |
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 checkUnnamed2194(core.List<api.Caption> o) { | 536 checkUnnamed601(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 = buildUnnamed2194(); | 549 o.items = buildUnnamed601(); |
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 checkUnnamed2194(o.items); | 562 checkUnnamed601(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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 checkCdnSettings(api.CdnSettings o) { | 625 checkCdnSettings(api.CdnSettings o) { |
626 buildCounterCdnSettings++; | 626 buildCounterCdnSettings++; |
627 if (buildCounterCdnSettings < 3) { | 627 if (buildCounterCdnSettings < 3) { |
628 unittest.expect(o.format, unittest.equals('foo')); | 628 unittest.expect(o.format, unittest.equals('foo')); |
629 checkIngestionInfo(o.ingestionInfo); | 629 checkIngestionInfo(o.ingestionInfo); |
630 unittest.expect(o.ingestionType, unittest.equals('foo')); | 630 unittest.expect(o.ingestionType, unittest.equals('foo')); |
631 } | 631 } |
632 buildCounterCdnSettings--; | 632 buildCounterCdnSettings--; |
633 } | 633 } |
634 | 634 |
635 buildUnnamed2195() { | 635 buildUnnamed602() { |
636 var o = new core.Map<core.String, api.ChannelLocalization>(); | 636 var o = new core.Map<core.String, api.ChannelLocalization>(); |
637 o["x"] = buildChannelLocalization(); | 637 o["x"] = buildChannelLocalization(); |
638 o["y"] = buildChannelLocalization(); | 638 o["y"] = buildChannelLocalization(); |
639 return o; | 639 return o; |
640 } | 640 } |
641 | 641 |
642 checkUnnamed2195(core.Map<core.String, api.ChannelLocalization> o) { | 642 checkUnnamed602(core.Map<core.String, api.ChannelLocalization> o) { |
643 unittest.expect(o, unittest.hasLength(2)); | 643 unittest.expect(o, unittest.hasLength(2)); |
644 checkChannelLocalization(o["x"]); | 644 checkChannelLocalization(o["x"]); |
645 checkChannelLocalization(o["y"]); | 645 checkChannelLocalization(o["y"]); |
646 } | 646 } |
647 | 647 |
648 core.int buildCounterChannel = 0; | 648 core.int buildCounterChannel = 0; |
649 buildChannel() { | 649 buildChannel() { |
650 var o = new api.Channel(); | 650 var o = new api.Channel(); |
651 buildCounterChannel++; | 651 buildCounterChannel++; |
652 if (buildCounterChannel < 3) { | 652 if (buildCounterChannel < 3) { |
653 o.auditDetails = buildChannelAuditDetails(); | 653 o.auditDetails = buildChannelAuditDetails(); |
654 o.brandingSettings = buildChannelBrandingSettings(); | 654 o.brandingSettings = buildChannelBrandingSettings(); |
655 o.contentDetails = buildChannelContentDetails(); | 655 o.contentDetails = buildChannelContentDetails(); |
656 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 656 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
657 o.conversionPings = buildChannelConversionPings(); | 657 o.conversionPings = buildChannelConversionPings(); |
658 o.etag = "foo"; | 658 o.etag = "foo"; |
659 o.id = "foo"; | 659 o.id = "foo"; |
660 o.invideoPromotion = buildInvideoPromotion(); | 660 o.invideoPromotion = buildInvideoPromotion(); |
661 o.kind = "foo"; | 661 o.kind = "foo"; |
662 o.localizations = buildUnnamed2195(); | 662 o.localizations = buildUnnamed602(); |
663 o.snippet = buildChannelSnippet(); | 663 o.snippet = buildChannelSnippet(); |
664 o.statistics = buildChannelStatistics(); | 664 o.statistics = buildChannelStatistics(); |
665 o.status = buildChannelStatus(); | 665 o.status = buildChannelStatus(); |
666 o.topicDetails = buildChannelTopicDetails(); | 666 o.topicDetails = buildChannelTopicDetails(); |
667 } | 667 } |
668 buildCounterChannel--; | 668 buildCounterChannel--; |
669 return o; | 669 return o; |
670 } | 670 } |
671 | 671 |
672 checkChannel(api.Channel o) { | 672 checkChannel(api.Channel o) { |
673 buildCounterChannel++; | 673 buildCounterChannel++; |
674 if (buildCounterChannel < 3) { | 674 if (buildCounterChannel < 3) { |
675 checkChannelAuditDetails(o.auditDetails); | 675 checkChannelAuditDetails(o.auditDetails); |
676 checkChannelBrandingSettings(o.brandingSettings); | 676 checkChannelBrandingSettings(o.brandingSettings); |
677 checkChannelContentDetails(o.contentDetails); | 677 checkChannelContentDetails(o.contentDetails); |
678 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 678 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
679 checkChannelConversionPings(o.conversionPings); | 679 checkChannelConversionPings(o.conversionPings); |
680 unittest.expect(o.etag, unittest.equals('foo')); | 680 unittest.expect(o.etag, unittest.equals('foo')); |
681 unittest.expect(o.id, unittest.equals('foo')); | 681 unittest.expect(o.id, unittest.equals('foo')); |
682 checkInvideoPromotion(o.invideoPromotion); | 682 checkInvideoPromotion(o.invideoPromotion); |
683 unittest.expect(o.kind, unittest.equals('foo')); | 683 unittest.expect(o.kind, unittest.equals('foo')); |
684 checkUnnamed2195(o.localizations); | 684 checkUnnamed602(o.localizations); |
685 checkChannelSnippet(o.snippet); | 685 checkChannelSnippet(o.snippet); |
686 checkChannelStatistics(o.statistics); | 686 checkChannelStatistics(o.statistics); |
687 checkChannelStatus(o.status); | 687 checkChannelStatus(o.status); |
688 checkChannelTopicDetails(o.topicDetails); | 688 checkChannelTopicDetails(o.topicDetails); |
689 } | 689 } |
690 buildCounterChannel--; | 690 buildCounterChannel--; |
691 } | 691 } |
692 | 692 |
693 core.int buildCounterChannelAuditDetails = 0; | 693 core.int buildCounterChannelAuditDetails = 0; |
694 buildChannelAuditDetails() { | 694 buildChannelAuditDetails() { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 checkChannelBannerResource(api.ChannelBannerResource o) { | 731 checkChannelBannerResource(api.ChannelBannerResource o) { |
732 buildCounterChannelBannerResource++; | 732 buildCounterChannelBannerResource++; |
733 if (buildCounterChannelBannerResource < 3) { | 733 if (buildCounterChannelBannerResource < 3) { |
734 unittest.expect(o.etag, unittest.equals('foo')); | 734 unittest.expect(o.etag, unittest.equals('foo')); |
735 unittest.expect(o.kind, unittest.equals('foo')); | 735 unittest.expect(o.kind, unittest.equals('foo')); |
736 unittest.expect(o.url, unittest.equals('foo')); | 736 unittest.expect(o.url, unittest.equals('foo')); |
737 } | 737 } |
738 buildCounterChannelBannerResource--; | 738 buildCounterChannelBannerResource--; |
739 } | 739 } |
740 | 740 |
741 buildUnnamed2196() { | 741 buildUnnamed603() { |
742 var o = new core.List<api.PropertyValue>(); | 742 var o = new core.List<api.PropertyValue>(); |
743 o.add(buildPropertyValue()); | 743 o.add(buildPropertyValue()); |
744 o.add(buildPropertyValue()); | 744 o.add(buildPropertyValue()); |
745 return o; | 745 return o; |
746 } | 746 } |
747 | 747 |
748 checkUnnamed2196(core.List<api.PropertyValue> o) { | 748 checkUnnamed603(core.List<api.PropertyValue> o) { |
749 unittest.expect(o, unittest.hasLength(2)); | 749 unittest.expect(o, unittest.hasLength(2)); |
750 checkPropertyValue(o[0]); | 750 checkPropertyValue(o[0]); |
751 checkPropertyValue(o[1]); | 751 checkPropertyValue(o[1]); |
752 } | 752 } |
753 | 753 |
754 core.int buildCounterChannelBrandingSettings = 0; | 754 core.int buildCounterChannelBrandingSettings = 0; |
755 buildChannelBrandingSettings() { | 755 buildChannelBrandingSettings() { |
756 var o = new api.ChannelBrandingSettings(); | 756 var o = new api.ChannelBrandingSettings(); |
757 buildCounterChannelBrandingSettings++; | 757 buildCounterChannelBrandingSettings++; |
758 if (buildCounterChannelBrandingSettings < 3) { | 758 if (buildCounterChannelBrandingSettings < 3) { |
759 o.channel = buildChannelSettings(); | 759 o.channel = buildChannelSettings(); |
760 o.hints = buildUnnamed2196(); | 760 o.hints = buildUnnamed603(); |
761 o.image = buildImageSettings(); | 761 o.image = buildImageSettings(); |
762 o.watch = buildWatchSettings(); | 762 o.watch = buildWatchSettings(); |
763 } | 763 } |
764 buildCounterChannelBrandingSettings--; | 764 buildCounterChannelBrandingSettings--; |
765 return o; | 765 return o; |
766 } | 766 } |
767 | 767 |
768 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 768 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
769 buildCounterChannelBrandingSettings++; | 769 buildCounterChannelBrandingSettings++; |
770 if (buildCounterChannelBrandingSettings < 3) { | 770 if (buildCounterChannelBrandingSettings < 3) { |
771 checkChannelSettings(o.channel); | 771 checkChannelSettings(o.channel); |
772 checkUnnamed2196(o.hints); | 772 checkUnnamed603(o.hints); |
773 checkImageSettings(o.image); | 773 checkImageSettings(o.image); |
774 checkWatchSettings(o.watch); | 774 checkWatchSettings(o.watch); |
775 } | 775 } |
776 buildCounterChannelBrandingSettings--; | 776 buildCounterChannelBrandingSettings--; |
777 } | 777 } |
778 | 778 |
779 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 779 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
780 buildChannelContentDetailsRelatedPlaylists() { | 780 buildChannelContentDetailsRelatedPlaylists() { |
781 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 781 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
782 buildCounterChannelContentDetailsRelatedPlaylists++; | 782 buildCounterChannelContentDetailsRelatedPlaylists++; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 | 859 |
860 checkChannelConversionPing(api.ChannelConversionPing o) { | 860 checkChannelConversionPing(api.ChannelConversionPing o) { |
861 buildCounterChannelConversionPing++; | 861 buildCounterChannelConversionPing++; |
862 if (buildCounterChannelConversionPing < 3) { | 862 if (buildCounterChannelConversionPing < 3) { |
863 unittest.expect(o.context, unittest.equals('foo')); | 863 unittest.expect(o.context, unittest.equals('foo')); |
864 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 864 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
865 } | 865 } |
866 buildCounterChannelConversionPing--; | 866 buildCounterChannelConversionPing--; |
867 } | 867 } |
868 | 868 |
869 buildUnnamed2197() { | 869 buildUnnamed604() { |
870 var o = new core.List<api.ChannelConversionPing>(); | 870 var o = new core.List<api.ChannelConversionPing>(); |
871 o.add(buildChannelConversionPing()); | 871 o.add(buildChannelConversionPing()); |
872 o.add(buildChannelConversionPing()); | 872 o.add(buildChannelConversionPing()); |
873 return o; | 873 return o; |
874 } | 874 } |
875 | 875 |
876 checkUnnamed2197(core.List<api.ChannelConversionPing> o) { | 876 checkUnnamed604(core.List<api.ChannelConversionPing> o) { |
877 unittest.expect(o, unittest.hasLength(2)); | 877 unittest.expect(o, unittest.hasLength(2)); |
878 checkChannelConversionPing(o[0]); | 878 checkChannelConversionPing(o[0]); |
879 checkChannelConversionPing(o[1]); | 879 checkChannelConversionPing(o[1]); |
880 } | 880 } |
881 | 881 |
882 core.int buildCounterChannelConversionPings = 0; | 882 core.int buildCounterChannelConversionPings = 0; |
883 buildChannelConversionPings() { | 883 buildChannelConversionPings() { |
884 var o = new api.ChannelConversionPings(); | 884 var o = new api.ChannelConversionPings(); |
885 buildCounterChannelConversionPings++; | 885 buildCounterChannelConversionPings++; |
886 if (buildCounterChannelConversionPings < 3) { | 886 if (buildCounterChannelConversionPings < 3) { |
887 o.pings = buildUnnamed2197(); | 887 o.pings = buildUnnamed604(); |
888 } | 888 } |
889 buildCounterChannelConversionPings--; | 889 buildCounterChannelConversionPings--; |
890 return o; | 890 return o; |
891 } | 891 } |
892 | 892 |
893 checkChannelConversionPings(api.ChannelConversionPings o) { | 893 checkChannelConversionPings(api.ChannelConversionPings o) { |
894 buildCounterChannelConversionPings++; | 894 buildCounterChannelConversionPings++; |
895 if (buildCounterChannelConversionPings < 3) { | 895 if (buildCounterChannelConversionPings < 3) { |
896 checkUnnamed2197(o.pings); | 896 checkUnnamed604(o.pings); |
897 } | 897 } |
898 buildCounterChannelConversionPings--; | 898 buildCounterChannelConversionPings--; |
899 } | 899 } |
900 | 900 |
901 core.int buildCounterChannelId = 0; | 901 core.int buildCounterChannelId = 0; |
902 buildChannelId() { | 902 buildChannelId() { |
903 var o = new api.ChannelId(); | 903 var o = new api.ChannelId(); |
904 buildCounterChannelId++; | 904 buildCounterChannelId++; |
905 if (buildCounterChannelId < 3) { | 905 if (buildCounterChannelId < 3) { |
906 o.value = "foo"; | 906 o.value = "foo"; |
907 } | 907 } |
908 buildCounterChannelId--; | 908 buildCounterChannelId--; |
909 return o; | 909 return o; |
910 } | 910 } |
911 | 911 |
912 checkChannelId(api.ChannelId o) { | 912 checkChannelId(api.ChannelId o) { |
913 buildCounterChannelId++; | 913 buildCounterChannelId++; |
914 if (buildCounterChannelId < 3) { | 914 if (buildCounterChannelId < 3) { |
915 unittest.expect(o.value, unittest.equals('foo')); | 915 unittest.expect(o.value, unittest.equals('foo')); |
916 } | 916 } |
917 buildCounterChannelId--; | 917 buildCounterChannelId--; |
918 } | 918 } |
919 | 919 |
920 buildUnnamed2198() { | 920 buildUnnamed605() { |
921 var o = new core.List<api.Channel>(); | 921 var o = new core.List<api.Channel>(); |
922 o.add(buildChannel()); | 922 o.add(buildChannel()); |
923 o.add(buildChannel()); | 923 o.add(buildChannel()); |
924 return o; | 924 return o; |
925 } | 925 } |
926 | 926 |
927 checkUnnamed2198(core.List<api.Channel> o) { | 927 checkUnnamed605(core.List<api.Channel> o) { |
928 unittest.expect(o, unittest.hasLength(2)); | 928 unittest.expect(o, unittest.hasLength(2)); |
929 checkChannel(o[0]); | 929 checkChannel(o[0]); |
930 checkChannel(o[1]); | 930 checkChannel(o[1]); |
931 } | 931 } |
932 | 932 |
933 core.int buildCounterChannelListResponse = 0; | 933 core.int buildCounterChannelListResponse = 0; |
934 buildChannelListResponse() { | 934 buildChannelListResponse() { |
935 var o = new api.ChannelListResponse(); | 935 var o = new api.ChannelListResponse(); |
936 buildCounterChannelListResponse++; | 936 buildCounterChannelListResponse++; |
937 if (buildCounterChannelListResponse < 3) { | 937 if (buildCounterChannelListResponse < 3) { |
938 o.etag = "foo"; | 938 o.etag = "foo"; |
939 o.eventId = "foo"; | 939 o.eventId = "foo"; |
940 o.items = buildUnnamed2198(); | 940 o.items = buildUnnamed605(); |
941 o.kind = "foo"; | 941 o.kind = "foo"; |
942 o.nextPageToken = "foo"; | 942 o.nextPageToken = "foo"; |
943 o.pageInfo = buildPageInfo(); | 943 o.pageInfo = buildPageInfo(); |
944 o.prevPageToken = "foo"; | 944 o.prevPageToken = "foo"; |
945 o.tokenPagination = buildTokenPagination(); | 945 o.tokenPagination = buildTokenPagination(); |
946 o.visitorId = "foo"; | 946 o.visitorId = "foo"; |
947 } | 947 } |
948 buildCounterChannelListResponse--; | 948 buildCounterChannelListResponse--; |
949 return o; | 949 return o; |
950 } | 950 } |
951 | 951 |
952 checkChannelListResponse(api.ChannelListResponse o) { | 952 checkChannelListResponse(api.ChannelListResponse o) { |
953 buildCounterChannelListResponse++; | 953 buildCounterChannelListResponse++; |
954 if (buildCounterChannelListResponse < 3) { | 954 if (buildCounterChannelListResponse < 3) { |
955 unittest.expect(o.etag, unittest.equals('foo')); | 955 unittest.expect(o.etag, unittest.equals('foo')); |
956 unittest.expect(o.eventId, unittest.equals('foo')); | 956 unittest.expect(o.eventId, unittest.equals('foo')); |
957 checkUnnamed2198(o.items); | 957 checkUnnamed605(o.items); |
958 unittest.expect(o.kind, unittest.equals('foo')); | 958 unittest.expect(o.kind, unittest.equals('foo')); |
959 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 959 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
960 checkPageInfo(o.pageInfo); | 960 checkPageInfo(o.pageInfo); |
961 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 961 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
962 checkTokenPagination(o.tokenPagination); | 962 checkTokenPagination(o.tokenPagination); |
963 unittest.expect(o.visitorId, unittest.equals('foo')); | 963 unittest.expect(o.visitorId, unittest.equals('foo')); |
964 } | 964 } |
965 buildCounterChannelListResponse--; | 965 buildCounterChannelListResponse--; |
966 } | 966 } |
967 | 967 |
(...skipping 11 matching lines...) Expand all Loading... |
979 | 979 |
980 checkChannelLocalization(api.ChannelLocalization o) { | 980 checkChannelLocalization(api.ChannelLocalization o) { |
981 buildCounterChannelLocalization++; | 981 buildCounterChannelLocalization++; |
982 if (buildCounterChannelLocalization < 3) { | 982 if (buildCounterChannelLocalization < 3) { |
983 unittest.expect(o.description, unittest.equals('foo')); | 983 unittest.expect(o.description, unittest.equals('foo')); |
984 unittest.expect(o.title, unittest.equals('foo')); | 984 unittest.expect(o.title, unittest.equals('foo')); |
985 } | 985 } |
986 buildCounterChannelLocalization--; | 986 buildCounterChannelLocalization--; |
987 } | 987 } |
988 | 988 |
989 buildUnnamed2199() { | 989 buildUnnamed606() { |
990 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 990 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
991 o["x"] = buildChannelSectionLocalization(); | 991 o["x"] = buildChannelSectionLocalization(); |
992 o["y"] = buildChannelSectionLocalization(); | 992 o["y"] = buildChannelSectionLocalization(); |
993 return o; | 993 return o; |
994 } | 994 } |
995 | 995 |
996 checkUnnamed2199(core.Map<core.String, api.ChannelSectionLocalization> o) { | 996 checkUnnamed606(core.Map<core.String, api.ChannelSectionLocalization> o) { |
997 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
998 checkChannelSectionLocalization(o["x"]); | 998 checkChannelSectionLocalization(o["x"]); |
999 checkChannelSectionLocalization(o["y"]); | 999 checkChannelSectionLocalization(o["y"]); |
1000 } | 1000 } |
1001 | 1001 |
1002 core.int buildCounterChannelSection = 0; | 1002 core.int buildCounterChannelSection = 0; |
1003 buildChannelSection() { | 1003 buildChannelSection() { |
1004 var o = new api.ChannelSection(); | 1004 var o = new api.ChannelSection(); |
1005 buildCounterChannelSection++; | 1005 buildCounterChannelSection++; |
1006 if (buildCounterChannelSection < 3) { | 1006 if (buildCounterChannelSection < 3) { |
1007 o.contentDetails = buildChannelSectionContentDetails(); | 1007 o.contentDetails = buildChannelSectionContentDetails(); |
1008 o.etag = "foo"; | 1008 o.etag = "foo"; |
1009 o.id = "foo"; | 1009 o.id = "foo"; |
1010 o.kind = "foo"; | 1010 o.kind = "foo"; |
1011 o.localizations = buildUnnamed2199(); | 1011 o.localizations = buildUnnamed606(); |
1012 o.snippet = buildChannelSectionSnippet(); | 1012 o.snippet = buildChannelSectionSnippet(); |
1013 o.targeting = buildChannelSectionTargeting(); | 1013 o.targeting = buildChannelSectionTargeting(); |
1014 } | 1014 } |
1015 buildCounterChannelSection--; | 1015 buildCounterChannelSection--; |
1016 return o; | 1016 return o; |
1017 } | 1017 } |
1018 | 1018 |
1019 checkChannelSection(api.ChannelSection o) { | 1019 checkChannelSection(api.ChannelSection o) { |
1020 buildCounterChannelSection++; | 1020 buildCounterChannelSection++; |
1021 if (buildCounterChannelSection < 3) { | 1021 if (buildCounterChannelSection < 3) { |
1022 checkChannelSectionContentDetails(o.contentDetails); | 1022 checkChannelSectionContentDetails(o.contentDetails); |
1023 unittest.expect(o.etag, unittest.equals('foo')); | 1023 unittest.expect(o.etag, unittest.equals('foo')); |
1024 unittest.expect(o.id, unittest.equals('foo')); | 1024 unittest.expect(o.id, unittest.equals('foo')); |
1025 unittest.expect(o.kind, unittest.equals('foo')); | 1025 unittest.expect(o.kind, unittest.equals('foo')); |
1026 checkUnnamed2199(o.localizations); | 1026 checkUnnamed606(o.localizations); |
1027 checkChannelSectionSnippet(o.snippet); | 1027 checkChannelSectionSnippet(o.snippet); |
1028 checkChannelSectionTargeting(o.targeting); | 1028 checkChannelSectionTargeting(o.targeting); |
1029 } | 1029 } |
1030 buildCounterChannelSection--; | 1030 buildCounterChannelSection--; |
1031 } | 1031 } |
1032 | 1032 |
1033 buildUnnamed2200() { | 1033 buildUnnamed607() { |
1034 var o = new core.List<core.String>(); | 1034 var o = new core.List<core.String>(); |
1035 o.add("foo"); | 1035 o.add("foo"); |
1036 o.add("foo"); | 1036 o.add("foo"); |
1037 return o; | 1037 return o; |
1038 } | 1038 } |
1039 | 1039 |
1040 checkUnnamed2200(core.List<core.String> o) { | 1040 checkUnnamed607(core.List<core.String> o) { |
1041 unittest.expect(o, unittest.hasLength(2)); | 1041 unittest.expect(o, unittest.hasLength(2)); |
1042 unittest.expect(o[0], unittest.equals('foo')); | 1042 unittest.expect(o[0], unittest.equals('foo')); |
1043 unittest.expect(o[1], unittest.equals('foo')); | 1043 unittest.expect(o[1], unittest.equals('foo')); |
1044 } | 1044 } |
1045 | 1045 |
1046 buildUnnamed2201() { | 1046 buildUnnamed608() { |
1047 var o = new core.List<core.String>(); | 1047 var o = new core.List<core.String>(); |
1048 o.add("foo"); | 1048 o.add("foo"); |
1049 o.add("foo"); | 1049 o.add("foo"); |
1050 return o; | 1050 return o; |
1051 } | 1051 } |
1052 | 1052 |
1053 checkUnnamed2201(core.List<core.String> o) { | 1053 checkUnnamed608(core.List<core.String> o) { |
1054 unittest.expect(o, unittest.hasLength(2)); | 1054 unittest.expect(o, unittest.hasLength(2)); |
1055 unittest.expect(o[0], unittest.equals('foo')); | 1055 unittest.expect(o[0], unittest.equals('foo')); |
1056 unittest.expect(o[1], unittest.equals('foo')); | 1056 unittest.expect(o[1], unittest.equals('foo')); |
1057 } | 1057 } |
1058 | 1058 |
1059 core.int buildCounterChannelSectionContentDetails = 0; | 1059 core.int buildCounterChannelSectionContentDetails = 0; |
1060 buildChannelSectionContentDetails() { | 1060 buildChannelSectionContentDetails() { |
1061 var o = new api.ChannelSectionContentDetails(); | 1061 var o = new api.ChannelSectionContentDetails(); |
1062 buildCounterChannelSectionContentDetails++; | 1062 buildCounterChannelSectionContentDetails++; |
1063 if (buildCounterChannelSectionContentDetails < 3) { | 1063 if (buildCounterChannelSectionContentDetails < 3) { |
1064 o.channels = buildUnnamed2200(); | 1064 o.channels = buildUnnamed607(); |
1065 o.playlists = buildUnnamed2201(); | 1065 o.playlists = buildUnnamed608(); |
1066 } | 1066 } |
1067 buildCounterChannelSectionContentDetails--; | 1067 buildCounterChannelSectionContentDetails--; |
1068 return o; | 1068 return o; |
1069 } | 1069 } |
1070 | 1070 |
1071 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1071 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
1072 buildCounterChannelSectionContentDetails++; | 1072 buildCounterChannelSectionContentDetails++; |
1073 if (buildCounterChannelSectionContentDetails < 3) { | 1073 if (buildCounterChannelSectionContentDetails < 3) { |
1074 checkUnnamed2200(o.channels); | 1074 checkUnnamed607(o.channels); |
1075 checkUnnamed2201(o.playlists); | 1075 checkUnnamed608(o.playlists); |
1076 } | 1076 } |
1077 buildCounterChannelSectionContentDetails--; | 1077 buildCounterChannelSectionContentDetails--; |
1078 } | 1078 } |
1079 | 1079 |
1080 buildUnnamed2202() { | 1080 buildUnnamed609() { |
1081 var o = new core.List<api.ChannelSection>(); | 1081 var o = new core.List<api.ChannelSection>(); |
1082 o.add(buildChannelSection()); | 1082 o.add(buildChannelSection()); |
1083 o.add(buildChannelSection()); | 1083 o.add(buildChannelSection()); |
1084 return o; | 1084 return o; |
1085 } | 1085 } |
1086 | 1086 |
1087 checkUnnamed2202(core.List<api.ChannelSection> o) { | 1087 checkUnnamed609(core.List<api.ChannelSection> o) { |
1088 unittest.expect(o, unittest.hasLength(2)); | 1088 unittest.expect(o, unittest.hasLength(2)); |
1089 checkChannelSection(o[0]); | 1089 checkChannelSection(o[0]); |
1090 checkChannelSection(o[1]); | 1090 checkChannelSection(o[1]); |
1091 } | 1091 } |
1092 | 1092 |
1093 core.int buildCounterChannelSectionListResponse = 0; | 1093 core.int buildCounterChannelSectionListResponse = 0; |
1094 buildChannelSectionListResponse() { | 1094 buildChannelSectionListResponse() { |
1095 var o = new api.ChannelSectionListResponse(); | 1095 var o = new api.ChannelSectionListResponse(); |
1096 buildCounterChannelSectionListResponse++; | 1096 buildCounterChannelSectionListResponse++; |
1097 if (buildCounterChannelSectionListResponse < 3) { | 1097 if (buildCounterChannelSectionListResponse < 3) { |
1098 o.etag = "foo"; | 1098 o.etag = "foo"; |
1099 o.eventId = "foo"; | 1099 o.eventId = "foo"; |
1100 o.items = buildUnnamed2202(); | 1100 o.items = buildUnnamed609(); |
1101 o.kind = "foo"; | 1101 o.kind = "foo"; |
1102 o.visitorId = "foo"; | 1102 o.visitorId = "foo"; |
1103 } | 1103 } |
1104 buildCounterChannelSectionListResponse--; | 1104 buildCounterChannelSectionListResponse--; |
1105 return o; | 1105 return o; |
1106 } | 1106 } |
1107 | 1107 |
1108 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1108 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
1109 buildCounterChannelSectionListResponse++; | 1109 buildCounterChannelSectionListResponse++; |
1110 if (buildCounterChannelSectionListResponse < 3) { | 1110 if (buildCounterChannelSectionListResponse < 3) { |
1111 unittest.expect(o.etag, unittest.equals('foo')); | 1111 unittest.expect(o.etag, unittest.equals('foo')); |
1112 unittest.expect(o.eventId, unittest.equals('foo')); | 1112 unittest.expect(o.eventId, unittest.equals('foo')); |
1113 checkUnnamed2202(o.items); | 1113 checkUnnamed609(o.items); |
1114 unittest.expect(o.kind, unittest.equals('foo')); | 1114 unittest.expect(o.kind, unittest.equals('foo')); |
1115 unittest.expect(o.visitorId, unittest.equals('foo')); | 1115 unittest.expect(o.visitorId, unittest.equals('foo')); |
1116 } | 1116 } |
1117 buildCounterChannelSectionListResponse--; | 1117 buildCounterChannelSectionListResponse--; |
1118 } | 1118 } |
1119 | 1119 |
1120 core.int buildCounterChannelSectionLocalization = 0; | 1120 core.int buildCounterChannelSectionLocalization = 0; |
1121 buildChannelSectionLocalization() { | 1121 buildChannelSectionLocalization() { |
1122 var o = new api.ChannelSectionLocalization(); | 1122 var o = new api.ChannelSectionLocalization(); |
1123 buildCounterChannelSectionLocalization++; | 1123 buildCounterChannelSectionLocalization++; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1160 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
1161 checkChannelSectionLocalization(o.localized); | 1161 checkChannelSectionLocalization(o.localized); |
1162 unittest.expect(o.position, unittest.equals(42)); | 1162 unittest.expect(o.position, unittest.equals(42)); |
1163 unittest.expect(o.style, unittest.equals('foo')); | 1163 unittest.expect(o.style, unittest.equals('foo')); |
1164 unittest.expect(o.title, unittest.equals('foo')); | 1164 unittest.expect(o.title, unittest.equals('foo')); |
1165 unittest.expect(o.type, unittest.equals('foo')); | 1165 unittest.expect(o.type, unittest.equals('foo')); |
1166 } | 1166 } |
1167 buildCounterChannelSectionSnippet--; | 1167 buildCounterChannelSectionSnippet--; |
1168 } | 1168 } |
1169 | 1169 |
1170 buildUnnamed2203() { | 1170 buildUnnamed610() { |
1171 var o = new core.List<core.String>(); | 1171 var o = new core.List<core.String>(); |
1172 o.add("foo"); | 1172 o.add("foo"); |
1173 o.add("foo"); | 1173 o.add("foo"); |
1174 return o; | 1174 return o; |
1175 } | 1175 } |
1176 | 1176 |
1177 checkUnnamed2203(core.List<core.String> o) { | 1177 checkUnnamed610(core.List<core.String> o) { |
1178 unittest.expect(o, unittest.hasLength(2)); | 1178 unittest.expect(o, unittest.hasLength(2)); |
1179 unittest.expect(o[0], unittest.equals('foo')); | 1179 unittest.expect(o[0], unittest.equals('foo')); |
1180 unittest.expect(o[1], unittest.equals('foo')); | 1180 unittest.expect(o[1], unittest.equals('foo')); |
1181 } | 1181 } |
1182 | 1182 |
1183 buildUnnamed2204() { | 1183 buildUnnamed611() { |
1184 var o = new core.List<core.String>(); | 1184 var o = new core.List<core.String>(); |
1185 o.add("foo"); | 1185 o.add("foo"); |
1186 o.add("foo"); | 1186 o.add("foo"); |
1187 return o; | 1187 return o; |
1188 } | 1188 } |
1189 | 1189 |
1190 checkUnnamed2204(core.List<core.String> o) { | 1190 checkUnnamed611(core.List<core.String> o) { |
1191 unittest.expect(o, unittest.hasLength(2)); | 1191 unittest.expect(o, unittest.hasLength(2)); |
1192 unittest.expect(o[0], unittest.equals('foo')); | 1192 unittest.expect(o[0], unittest.equals('foo')); |
1193 unittest.expect(o[1], unittest.equals('foo')); | 1193 unittest.expect(o[1], unittest.equals('foo')); |
1194 } | 1194 } |
1195 | 1195 |
1196 buildUnnamed2205() { | 1196 buildUnnamed612() { |
1197 var o = new core.List<core.String>(); | 1197 var o = new core.List<core.String>(); |
1198 o.add("foo"); | 1198 o.add("foo"); |
1199 o.add("foo"); | 1199 o.add("foo"); |
1200 return o; | 1200 return o; |
1201 } | 1201 } |
1202 | 1202 |
1203 checkUnnamed2205(core.List<core.String> o) { | 1203 checkUnnamed612(core.List<core.String> o) { |
1204 unittest.expect(o, unittest.hasLength(2)); | 1204 unittest.expect(o, unittest.hasLength(2)); |
1205 unittest.expect(o[0], unittest.equals('foo')); | 1205 unittest.expect(o[0], unittest.equals('foo')); |
1206 unittest.expect(o[1], unittest.equals('foo')); | 1206 unittest.expect(o[1], unittest.equals('foo')); |
1207 } | 1207 } |
1208 | 1208 |
1209 core.int buildCounterChannelSectionTargeting = 0; | 1209 core.int buildCounterChannelSectionTargeting = 0; |
1210 buildChannelSectionTargeting() { | 1210 buildChannelSectionTargeting() { |
1211 var o = new api.ChannelSectionTargeting(); | 1211 var o = new api.ChannelSectionTargeting(); |
1212 buildCounterChannelSectionTargeting++; | 1212 buildCounterChannelSectionTargeting++; |
1213 if (buildCounterChannelSectionTargeting < 3) { | 1213 if (buildCounterChannelSectionTargeting < 3) { |
1214 o.countries = buildUnnamed2203(); | 1214 o.countries = buildUnnamed610(); |
1215 o.languages = buildUnnamed2204(); | 1215 o.languages = buildUnnamed611(); |
1216 o.regions = buildUnnamed2205(); | 1216 o.regions = buildUnnamed612(); |
1217 } | 1217 } |
1218 buildCounterChannelSectionTargeting--; | 1218 buildCounterChannelSectionTargeting--; |
1219 return o; | 1219 return o; |
1220 } | 1220 } |
1221 | 1221 |
1222 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1222 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
1223 buildCounterChannelSectionTargeting++; | 1223 buildCounterChannelSectionTargeting++; |
1224 if (buildCounterChannelSectionTargeting < 3) { | 1224 if (buildCounterChannelSectionTargeting < 3) { |
1225 checkUnnamed2203(o.countries); | 1225 checkUnnamed610(o.countries); |
1226 checkUnnamed2204(o.languages); | 1226 checkUnnamed611(o.languages); |
1227 checkUnnamed2205(o.regions); | 1227 checkUnnamed612(o.regions); |
1228 } | 1228 } |
1229 buildCounterChannelSectionTargeting--; | 1229 buildCounterChannelSectionTargeting--; |
1230 } | 1230 } |
1231 | 1231 |
1232 buildUnnamed2206() { | 1232 buildUnnamed613() { |
1233 var o = new core.List<core.String>(); | 1233 var o = new core.List<core.String>(); |
1234 o.add("foo"); | 1234 o.add("foo"); |
1235 o.add("foo"); | 1235 o.add("foo"); |
1236 return o; | 1236 return o; |
1237 } | 1237 } |
1238 | 1238 |
1239 checkUnnamed2206(core.List<core.String> o) { | 1239 checkUnnamed613(core.List<core.String> o) { |
1240 unittest.expect(o, unittest.hasLength(2)); | 1240 unittest.expect(o, unittest.hasLength(2)); |
1241 unittest.expect(o[0], unittest.equals('foo')); | 1241 unittest.expect(o[0], unittest.equals('foo')); |
1242 unittest.expect(o[1], unittest.equals('foo')); | 1242 unittest.expect(o[1], unittest.equals('foo')); |
1243 } | 1243 } |
1244 | 1244 |
1245 core.int buildCounterChannelSettings = 0; | 1245 core.int buildCounterChannelSettings = 0; |
1246 buildChannelSettings() { | 1246 buildChannelSettings() { |
1247 var o = new api.ChannelSettings(); | 1247 var o = new api.ChannelSettings(); |
1248 buildCounterChannelSettings++; | 1248 buildCounterChannelSettings++; |
1249 if (buildCounterChannelSettings < 3) { | 1249 if (buildCounterChannelSettings < 3) { |
1250 o.country = "foo"; | 1250 o.country = "foo"; |
1251 o.defaultLanguage = "foo"; | 1251 o.defaultLanguage = "foo"; |
1252 o.defaultTab = "foo"; | 1252 o.defaultTab = "foo"; |
1253 o.description = "foo"; | 1253 o.description = "foo"; |
1254 o.featuredChannelsTitle = "foo"; | 1254 o.featuredChannelsTitle = "foo"; |
1255 o.featuredChannelsUrls = buildUnnamed2206(); | 1255 o.featuredChannelsUrls = buildUnnamed613(); |
1256 o.keywords = "foo"; | 1256 o.keywords = "foo"; |
1257 o.moderateComments = true; | 1257 o.moderateComments = true; |
1258 o.profileColor = "foo"; | 1258 o.profileColor = "foo"; |
1259 o.showBrowseView = true; | 1259 o.showBrowseView = true; |
1260 o.showRelatedChannels = true; | 1260 o.showRelatedChannels = true; |
1261 o.title = "foo"; | 1261 o.title = "foo"; |
1262 o.trackingAnalyticsAccountId = "foo"; | 1262 o.trackingAnalyticsAccountId = "foo"; |
1263 o.unsubscribedTrailer = "foo"; | 1263 o.unsubscribedTrailer = "foo"; |
1264 } | 1264 } |
1265 buildCounterChannelSettings--; | 1265 buildCounterChannelSettings--; |
1266 return o; | 1266 return o; |
1267 } | 1267 } |
1268 | 1268 |
1269 checkChannelSettings(api.ChannelSettings o) { | 1269 checkChannelSettings(api.ChannelSettings o) { |
1270 buildCounterChannelSettings++; | 1270 buildCounterChannelSettings++; |
1271 if (buildCounterChannelSettings < 3) { | 1271 if (buildCounterChannelSettings < 3) { |
1272 unittest.expect(o.country, unittest.equals('foo')); | 1272 unittest.expect(o.country, unittest.equals('foo')); |
1273 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1273 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
1274 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1274 unittest.expect(o.defaultTab, unittest.equals('foo')); |
1275 unittest.expect(o.description, unittest.equals('foo')); | 1275 unittest.expect(o.description, unittest.equals('foo')); |
1276 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1276 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
1277 checkUnnamed2206(o.featuredChannelsUrls); | 1277 checkUnnamed613(o.featuredChannelsUrls); |
1278 unittest.expect(o.keywords, unittest.equals('foo')); | 1278 unittest.expect(o.keywords, unittest.equals('foo')); |
1279 unittest.expect(o.moderateComments, unittest.isTrue); | 1279 unittest.expect(o.moderateComments, unittest.isTrue); |
1280 unittest.expect(o.profileColor, unittest.equals('foo')); | 1280 unittest.expect(o.profileColor, unittest.equals('foo')); |
1281 unittest.expect(o.showBrowseView, unittest.isTrue); | 1281 unittest.expect(o.showBrowseView, unittest.isTrue); |
1282 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1282 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
1283 unittest.expect(o.title, unittest.equals('foo')); | 1283 unittest.expect(o.title, unittest.equals('foo')); |
1284 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1284 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
1285 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1285 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
1286 } | 1286 } |
1287 buildCounterChannelSettings--; | 1287 buildCounterChannelSettings--; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1361 checkChannelStatus(api.ChannelStatus o) { | 1361 checkChannelStatus(api.ChannelStatus o) { |
1362 buildCounterChannelStatus++; | 1362 buildCounterChannelStatus++; |
1363 if (buildCounterChannelStatus < 3) { | 1363 if (buildCounterChannelStatus < 3) { |
1364 unittest.expect(o.isLinked, unittest.isTrue); | 1364 unittest.expect(o.isLinked, unittest.isTrue); |
1365 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1365 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
1366 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1366 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
1367 } | 1367 } |
1368 buildCounterChannelStatus--; | 1368 buildCounterChannelStatus--; |
1369 } | 1369 } |
1370 | 1370 |
1371 buildUnnamed2207() { | 1371 buildUnnamed614() { |
1372 var o = new core.List<core.String>(); | 1372 var o = new core.List<core.String>(); |
1373 o.add("foo"); | 1373 o.add("foo"); |
1374 o.add("foo"); | 1374 o.add("foo"); |
1375 return o; | 1375 return o; |
1376 } | 1376 } |
1377 | 1377 |
1378 checkUnnamed2207(core.List<core.String> o) { | 1378 checkUnnamed614(core.List<core.String> o) { |
1379 unittest.expect(o, unittest.hasLength(2)); | 1379 unittest.expect(o, unittest.hasLength(2)); |
1380 unittest.expect(o[0], unittest.equals('foo')); | 1380 unittest.expect(o[0], unittest.equals('foo')); |
1381 unittest.expect(o[1], unittest.equals('foo')); | 1381 unittest.expect(o[1], unittest.equals('foo')); |
1382 } | 1382 } |
1383 | 1383 |
1384 core.int buildCounterChannelTopicDetails = 0; | 1384 core.int buildCounterChannelTopicDetails = 0; |
1385 buildChannelTopicDetails() { | 1385 buildChannelTopicDetails() { |
1386 var o = new api.ChannelTopicDetails(); | 1386 var o = new api.ChannelTopicDetails(); |
1387 buildCounterChannelTopicDetails++; | 1387 buildCounterChannelTopicDetails++; |
1388 if (buildCounterChannelTopicDetails < 3) { | 1388 if (buildCounterChannelTopicDetails < 3) { |
1389 o.topicIds = buildUnnamed2207(); | 1389 o.topicIds = buildUnnamed614(); |
1390 } | 1390 } |
1391 buildCounterChannelTopicDetails--; | 1391 buildCounterChannelTopicDetails--; |
1392 return o; | 1392 return o; |
1393 } | 1393 } |
1394 | 1394 |
1395 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1395 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
1396 buildCounterChannelTopicDetails++; | 1396 buildCounterChannelTopicDetails++; |
1397 if (buildCounterChannelTopicDetails < 3) { | 1397 if (buildCounterChannelTopicDetails < 3) { |
1398 checkUnnamed2207(o.topicIds); | 1398 checkUnnamed614(o.topicIds); |
1399 } | 1399 } |
1400 buildCounterChannelTopicDetails--; | 1400 buildCounterChannelTopicDetails--; |
1401 } | 1401 } |
1402 | 1402 |
1403 core.int buildCounterComment = 0; | 1403 core.int buildCounterComment = 0; |
1404 buildComment() { | 1404 buildComment() { |
1405 var o = new api.Comment(); | 1405 var o = new api.Comment(); |
1406 buildCounterComment++; | 1406 buildCounterComment++; |
1407 if (buildCounterComment < 3) { | 1407 if (buildCounterComment < 3) { |
1408 o.etag = "foo"; | 1408 o.etag = "foo"; |
1409 o.id = "foo"; | 1409 o.id = "foo"; |
1410 o.kind = "foo"; | 1410 o.kind = "foo"; |
1411 o.snippet = buildCommentSnippet(); | 1411 o.snippet = buildCommentSnippet(); |
1412 } | 1412 } |
1413 buildCounterComment--; | 1413 buildCounterComment--; |
1414 return o; | 1414 return o; |
1415 } | 1415 } |
1416 | 1416 |
1417 checkComment(api.Comment o) { | 1417 checkComment(api.Comment o) { |
1418 buildCounterComment++; | 1418 buildCounterComment++; |
1419 if (buildCounterComment < 3) { | 1419 if (buildCounterComment < 3) { |
1420 unittest.expect(o.etag, unittest.equals('foo')); | 1420 unittest.expect(o.etag, unittest.equals('foo')); |
1421 unittest.expect(o.id, unittest.equals('foo')); | 1421 unittest.expect(o.id, unittest.equals('foo')); |
1422 unittest.expect(o.kind, unittest.equals('foo')); | 1422 unittest.expect(o.kind, unittest.equals('foo')); |
1423 checkCommentSnippet(o.snippet); | 1423 checkCommentSnippet(o.snippet); |
1424 } | 1424 } |
1425 buildCounterComment--; | 1425 buildCounterComment--; |
1426 } | 1426 } |
1427 | 1427 |
1428 buildUnnamed2208() { | 1428 buildUnnamed615() { |
1429 var o = new core.List<api.Comment>(); | 1429 var o = new core.List<api.Comment>(); |
1430 o.add(buildComment()); | 1430 o.add(buildComment()); |
1431 o.add(buildComment()); | 1431 o.add(buildComment()); |
1432 return o; | 1432 return o; |
1433 } | 1433 } |
1434 | 1434 |
1435 checkUnnamed2208(core.List<api.Comment> o) { | 1435 checkUnnamed615(core.List<api.Comment> o) { |
1436 unittest.expect(o, unittest.hasLength(2)); | 1436 unittest.expect(o, unittest.hasLength(2)); |
1437 checkComment(o[0]); | 1437 checkComment(o[0]); |
1438 checkComment(o[1]); | 1438 checkComment(o[1]); |
1439 } | 1439 } |
1440 | 1440 |
1441 core.int buildCounterCommentListResponse = 0; | 1441 core.int buildCounterCommentListResponse = 0; |
1442 buildCommentListResponse() { | 1442 buildCommentListResponse() { |
1443 var o = new api.CommentListResponse(); | 1443 var o = new api.CommentListResponse(); |
1444 buildCounterCommentListResponse++; | 1444 buildCounterCommentListResponse++; |
1445 if (buildCounterCommentListResponse < 3) { | 1445 if (buildCounterCommentListResponse < 3) { |
1446 o.etag = "foo"; | 1446 o.etag = "foo"; |
1447 o.eventId = "foo"; | 1447 o.eventId = "foo"; |
1448 o.items = buildUnnamed2208(); | 1448 o.items = buildUnnamed615(); |
1449 o.kind = "foo"; | 1449 o.kind = "foo"; |
1450 o.nextPageToken = "foo"; | 1450 o.nextPageToken = "foo"; |
1451 o.pageInfo = buildPageInfo(); | 1451 o.pageInfo = buildPageInfo(); |
1452 o.tokenPagination = buildTokenPagination(); | 1452 o.tokenPagination = buildTokenPagination(); |
1453 o.visitorId = "foo"; | 1453 o.visitorId = "foo"; |
1454 } | 1454 } |
1455 buildCounterCommentListResponse--; | 1455 buildCounterCommentListResponse--; |
1456 return o; | 1456 return o; |
1457 } | 1457 } |
1458 | 1458 |
1459 checkCommentListResponse(api.CommentListResponse o) { | 1459 checkCommentListResponse(api.CommentListResponse o) { |
1460 buildCounterCommentListResponse++; | 1460 buildCounterCommentListResponse++; |
1461 if (buildCounterCommentListResponse < 3) { | 1461 if (buildCounterCommentListResponse < 3) { |
1462 unittest.expect(o.etag, unittest.equals('foo')); | 1462 unittest.expect(o.etag, unittest.equals('foo')); |
1463 unittest.expect(o.eventId, unittest.equals('foo')); | 1463 unittest.expect(o.eventId, unittest.equals('foo')); |
1464 checkUnnamed2208(o.items); | 1464 checkUnnamed615(o.items); |
1465 unittest.expect(o.kind, unittest.equals('foo')); | 1465 unittest.expect(o.kind, unittest.equals('foo')); |
1466 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1466 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1467 checkPageInfo(o.pageInfo); | 1467 checkPageInfo(o.pageInfo); |
1468 checkTokenPagination(o.tokenPagination); | 1468 checkTokenPagination(o.tokenPagination); |
1469 unittest.expect(o.visitorId, unittest.equals('foo')); | 1469 unittest.expect(o.visitorId, unittest.equals('foo')); |
1470 } | 1470 } |
1471 buildCounterCommentListResponse--; | 1471 buildCounterCommentListResponse--; |
1472 } | 1472 } |
1473 | 1473 |
1474 core.int buildCounterCommentSnippet = 0; | 1474 core.int buildCounterCommentSnippet = 0; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 if (buildCounterCommentThread < 3) { | 1540 if (buildCounterCommentThread < 3) { |
1541 unittest.expect(o.etag, unittest.equals('foo')); | 1541 unittest.expect(o.etag, unittest.equals('foo')); |
1542 unittest.expect(o.id, unittest.equals('foo')); | 1542 unittest.expect(o.id, unittest.equals('foo')); |
1543 unittest.expect(o.kind, unittest.equals('foo')); | 1543 unittest.expect(o.kind, unittest.equals('foo')); |
1544 checkCommentThreadReplies(o.replies); | 1544 checkCommentThreadReplies(o.replies); |
1545 checkCommentThreadSnippet(o.snippet); | 1545 checkCommentThreadSnippet(o.snippet); |
1546 } | 1546 } |
1547 buildCounterCommentThread--; | 1547 buildCounterCommentThread--; |
1548 } | 1548 } |
1549 | 1549 |
1550 buildUnnamed2209() { | 1550 buildUnnamed616() { |
1551 var o = new core.List<api.CommentThread>(); | 1551 var o = new core.List<api.CommentThread>(); |
1552 o.add(buildCommentThread()); | 1552 o.add(buildCommentThread()); |
1553 o.add(buildCommentThread()); | 1553 o.add(buildCommentThread()); |
1554 return o; | 1554 return o; |
1555 } | 1555 } |
1556 | 1556 |
1557 checkUnnamed2209(core.List<api.CommentThread> o) { | 1557 checkUnnamed616(core.List<api.CommentThread> o) { |
1558 unittest.expect(o, unittest.hasLength(2)); | 1558 unittest.expect(o, unittest.hasLength(2)); |
1559 checkCommentThread(o[0]); | 1559 checkCommentThread(o[0]); |
1560 checkCommentThread(o[1]); | 1560 checkCommentThread(o[1]); |
1561 } | 1561 } |
1562 | 1562 |
1563 core.int buildCounterCommentThreadListResponse = 0; | 1563 core.int buildCounterCommentThreadListResponse = 0; |
1564 buildCommentThreadListResponse() { | 1564 buildCommentThreadListResponse() { |
1565 var o = new api.CommentThreadListResponse(); | 1565 var o = new api.CommentThreadListResponse(); |
1566 buildCounterCommentThreadListResponse++; | 1566 buildCounterCommentThreadListResponse++; |
1567 if (buildCounterCommentThreadListResponse < 3) { | 1567 if (buildCounterCommentThreadListResponse < 3) { |
1568 o.etag = "foo"; | 1568 o.etag = "foo"; |
1569 o.eventId = "foo"; | 1569 o.eventId = "foo"; |
1570 o.items = buildUnnamed2209(); | 1570 o.items = buildUnnamed616(); |
1571 o.kind = "foo"; | 1571 o.kind = "foo"; |
1572 o.nextPageToken = "foo"; | 1572 o.nextPageToken = "foo"; |
1573 o.pageInfo = buildPageInfo(); | 1573 o.pageInfo = buildPageInfo(); |
1574 o.tokenPagination = buildTokenPagination(); | 1574 o.tokenPagination = buildTokenPagination(); |
1575 o.visitorId = "foo"; | 1575 o.visitorId = "foo"; |
1576 } | 1576 } |
1577 buildCounterCommentThreadListResponse--; | 1577 buildCounterCommentThreadListResponse--; |
1578 return o; | 1578 return o; |
1579 } | 1579 } |
1580 | 1580 |
1581 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1581 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
1582 buildCounterCommentThreadListResponse++; | 1582 buildCounterCommentThreadListResponse++; |
1583 if (buildCounterCommentThreadListResponse < 3) { | 1583 if (buildCounterCommentThreadListResponse < 3) { |
1584 unittest.expect(o.etag, unittest.equals('foo')); | 1584 unittest.expect(o.etag, unittest.equals('foo')); |
1585 unittest.expect(o.eventId, unittest.equals('foo')); | 1585 unittest.expect(o.eventId, unittest.equals('foo')); |
1586 checkUnnamed2209(o.items); | 1586 checkUnnamed616(o.items); |
1587 unittest.expect(o.kind, unittest.equals('foo')); | 1587 unittest.expect(o.kind, unittest.equals('foo')); |
1588 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1588 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1589 checkPageInfo(o.pageInfo); | 1589 checkPageInfo(o.pageInfo); |
1590 checkTokenPagination(o.tokenPagination); | 1590 checkTokenPagination(o.tokenPagination); |
1591 unittest.expect(o.visitorId, unittest.equals('foo')); | 1591 unittest.expect(o.visitorId, unittest.equals('foo')); |
1592 } | 1592 } |
1593 buildCounterCommentThreadListResponse--; | 1593 buildCounterCommentThreadListResponse--; |
1594 } | 1594 } |
1595 | 1595 |
1596 buildUnnamed2210() { | 1596 buildUnnamed617() { |
1597 var o = new core.List<api.Comment>(); | 1597 var o = new core.List<api.Comment>(); |
1598 o.add(buildComment()); | 1598 o.add(buildComment()); |
1599 o.add(buildComment()); | 1599 o.add(buildComment()); |
1600 return o; | 1600 return o; |
1601 } | 1601 } |
1602 | 1602 |
1603 checkUnnamed2210(core.List<api.Comment> o) { | 1603 checkUnnamed617(core.List<api.Comment> o) { |
1604 unittest.expect(o, unittest.hasLength(2)); | 1604 unittest.expect(o, unittest.hasLength(2)); |
1605 checkComment(o[0]); | 1605 checkComment(o[0]); |
1606 checkComment(o[1]); | 1606 checkComment(o[1]); |
1607 } | 1607 } |
1608 | 1608 |
1609 core.int buildCounterCommentThreadReplies = 0; | 1609 core.int buildCounterCommentThreadReplies = 0; |
1610 buildCommentThreadReplies() { | 1610 buildCommentThreadReplies() { |
1611 var o = new api.CommentThreadReplies(); | 1611 var o = new api.CommentThreadReplies(); |
1612 buildCounterCommentThreadReplies++; | 1612 buildCounterCommentThreadReplies++; |
1613 if (buildCounterCommentThreadReplies < 3) { | 1613 if (buildCounterCommentThreadReplies < 3) { |
1614 o.comments = buildUnnamed2210(); | 1614 o.comments = buildUnnamed617(); |
1615 } | 1615 } |
1616 buildCounterCommentThreadReplies--; | 1616 buildCounterCommentThreadReplies--; |
1617 return o; | 1617 return o; |
1618 } | 1618 } |
1619 | 1619 |
1620 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1620 checkCommentThreadReplies(api.CommentThreadReplies o) { |
1621 buildCounterCommentThreadReplies++; | 1621 buildCounterCommentThreadReplies++; |
1622 if (buildCounterCommentThreadReplies < 3) { | 1622 if (buildCounterCommentThreadReplies < 3) { |
1623 checkUnnamed2210(o.comments); | 1623 checkUnnamed617(o.comments); |
1624 } | 1624 } |
1625 buildCounterCommentThreadReplies--; | 1625 buildCounterCommentThreadReplies--; |
1626 } | 1626 } |
1627 | 1627 |
1628 core.int buildCounterCommentThreadSnippet = 0; | 1628 core.int buildCounterCommentThreadSnippet = 0; |
1629 buildCommentThreadSnippet() { | 1629 buildCommentThreadSnippet() { |
1630 var o = new api.CommentThreadSnippet(); | 1630 var o = new api.CommentThreadSnippet(); |
1631 buildCounterCommentThreadSnippet++; | 1631 buildCounterCommentThreadSnippet++; |
1632 if (buildCounterCommentThreadSnippet < 3) { | 1632 if (buildCounterCommentThreadSnippet < 3) { |
1633 o.canReply = true; | 1633 o.canReply = true; |
(...skipping 13 matching lines...) Expand all Loading... |
1647 unittest.expect(o.canReply, unittest.isTrue); | 1647 unittest.expect(o.canReply, unittest.isTrue); |
1648 unittest.expect(o.channelId, unittest.equals('foo')); | 1648 unittest.expect(o.channelId, unittest.equals('foo')); |
1649 unittest.expect(o.isPublic, unittest.isTrue); | 1649 unittest.expect(o.isPublic, unittest.isTrue); |
1650 checkComment(o.topLevelComment); | 1650 checkComment(o.topLevelComment); |
1651 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1651 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
1652 unittest.expect(o.videoId, unittest.equals('foo')); | 1652 unittest.expect(o.videoId, unittest.equals('foo')); |
1653 } | 1653 } |
1654 buildCounterCommentThreadSnippet--; | 1654 buildCounterCommentThreadSnippet--; |
1655 } | 1655 } |
1656 | 1656 |
1657 buildUnnamed2211() { | 1657 buildUnnamed618() { |
1658 var o = new core.List<core.String>(); | 1658 var o = new core.List<core.String>(); |
1659 o.add("foo"); | 1659 o.add("foo"); |
1660 o.add("foo"); | 1660 o.add("foo"); |
1661 return o; | 1661 return o; |
1662 } | 1662 } |
1663 | 1663 |
1664 checkUnnamed2211(core.List<core.String> o) { | 1664 checkUnnamed618(core.List<core.String> o) { |
1665 unittest.expect(o, unittest.hasLength(2)); | 1665 unittest.expect(o, unittest.hasLength(2)); |
1666 unittest.expect(o[0], unittest.equals('foo')); | 1666 unittest.expect(o[0], unittest.equals('foo')); |
1667 unittest.expect(o[1], unittest.equals('foo')); | 1667 unittest.expect(o[1], unittest.equals('foo')); |
1668 } | 1668 } |
1669 | 1669 |
1670 core.int buildCounterContentRating = 0; | 1670 core.int buildCounterContentRating = 0; |
1671 buildContentRating() { | 1671 buildContentRating() { |
1672 var o = new api.ContentRating(); | 1672 var o = new api.ContentRating(); |
1673 buildCounterContentRating++; | 1673 buildCounterContentRating++; |
1674 if (buildCounterContentRating < 3) { | 1674 if (buildCounterContentRating < 3) { |
1675 o.acbRating = "foo"; | 1675 o.acbRating = "foo"; |
1676 o.agcomRating = "foo"; | 1676 o.agcomRating = "foo"; |
1677 o.anatelRating = "foo"; | 1677 o.anatelRating = "foo"; |
1678 o.bbfcRating = "foo"; | 1678 o.bbfcRating = "foo"; |
1679 o.bfvcRating = "foo"; | 1679 o.bfvcRating = "foo"; |
1680 o.bmukkRating = "foo"; | 1680 o.bmukkRating = "foo"; |
1681 o.catvRating = "foo"; | 1681 o.catvRating = "foo"; |
1682 o.catvfrRating = "foo"; | 1682 o.catvfrRating = "foo"; |
1683 o.cbfcRating = "foo"; | 1683 o.cbfcRating = "foo"; |
1684 o.cccRating = "foo"; | 1684 o.cccRating = "foo"; |
1685 o.cceRating = "foo"; | 1685 o.cceRating = "foo"; |
1686 o.chfilmRating = "foo"; | 1686 o.chfilmRating = "foo"; |
1687 o.chvrsRating = "foo"; | 1687 o.chvrsRating = "foo"; |
1688 o.cicfRating = "foo"; | 1688 o.cicfRating = "foo"; |
1689 o.cnaRating = "foo"; | 1689 o.cnaRating = "foo"; |
| 1690 o.cncRating = "foo"; |
1690 o.csaRating = "foo"; | 1691 o.csaRating = "foo"; |
1691 o.cscfRating = "foo"; | 1692 o.cscfRating = "foo"; |
1692 o.czfilmRating = "foo"; | 1693 o.czfilmRating = "foo"; |
1693 o.djctqRating = "foo"; | 1694 o.djctqRating = "foo"; |
1694 o.djctqRatingReasons = buildUnnamed2211(); | 1695 o.djctqRatingReasons = buildUnnamed618(); |
1695 o.eefilmRating = "foo"; | 1696 o.eefilmRating = "foo"; |
1696 o.egfilmRating = "foo"; | 1697 o.egfilmRating = "foo"; |
1697 o.eirinRating = "foo"; | 1698 o.eirinRating = "foo"; |
1698 o.fcbmRating = "foo"; | 1699 o.fcbmRating = "foo"; |
1699 o.fcoRating = "foo"; | 1700 o.fcoRating = "foo"; |
1700 o.fmocRating = "foo"; | 1701 o.fmocRating = "foo"; |
1701 o.fpbRating = "foo"; | 1702 o.fpbRating = "foo"; |
1702 o.fskRating = "foo"; | 1703 o.fskRating = "foo"; |
1703 o.grfilmRating = "foo"; | 1704 o.grfilmRating = "foo"; |
1704 o.icaaRating = "foo"; | 1705 o.icaaRating = "foo"; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1752 unittest.expect(o.bmukkRating, unittest.equals('foo')); | 1753 unittest.expect(o.bmukkRating, unittest.equals('foo')); |
1753 unittest.expect(o.catvRating, unittest.equals('foo')); | 1754 unittest.expect(o.catvRating, unittest.equals('foo')); |
1754 unittest.expect(o.catvfrRating, unittest.equals('foo')); | 1755 unittest.expect(o.catvfrRating, unittest.equals('foo')); |
1755 unittest.expect(o.cbfcRating, unittest.equals('foo')); | 1756 unittest.expect(o.cbfcRating, unittest.equals('foo')); |
1756 unittest.expect(o.cccRating, unittest.equals('foo')); | 1757 unittest.expect(o.cccRating, unittest.equals('foo')); |
1757 unittest.expect(o.cceRating, unittest.equals('foo')); | 1758 unittest.expect(o.cceRating, unittest.equals('foo')); |
1758 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1759 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
1759 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1760 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
1760 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1761 unittest.expect(o.cicfRating, unittest.equals('foo')); |
1761 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1762 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1763 unittest.expect(o.cncRating, unittest.equals('foo')); |
1762 unittest.expect(o.csaRating, unittest.equals('foo')); | 1764 unittest.expect(o.csaRating, unittest.equals('foo')); |
1763 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1765 unittest.expect(o.cscfRating, unittest.equals('foo')); |
1764 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1766 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
1765 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1767 unittest.expect(o.djctqRating, unittest.equals('foo')); |
1766 checkUnnamed2211(o.djctqRatingReasons); | 1768 checkUnnamed618(o.djctqRatingReasons); |
1767 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1769 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
1768 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1770 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
1769 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1771 unittest.expect(o.eirinRating, unittest.equals('foo')); |
1770 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1772 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
1771 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1773 unittest.expect(o.fcoRating, unittest.equals('foo')); |
1772 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1774 unittest.expect(o.fmocRating, unittest.equals('foo')); |
1773 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1775 unittest.expect(o.fpbRating, unittest.equals('foo')); |
1774 unittest.expect(o.fskRating, unittest.equals('foo')); | 1776 unittest.expect(o.fskRating, unittest.equals('foo')); |
1775 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1777 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
1776 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1778 unittest.expect(o.icaaRating, unittest.equals('foo')); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1853 buildCounterGuideCategory++; | 1855 buildCounterGuideCategory++; |
1854 if (buildCounterGuideCategory < 3) { | 1856 if (buildCounterGuideCategory < 3) { |
1855 unittest.expect(o.etag, unittest.equals('foo')); | 1857 unittest.expect(o.etag, unittest.equals('foo')); |
1856 unittest.expect(o.id, unittest.equals('foo')); | 1858 unittest.expect(o.id, unittest.equals('foo')); |
1857 unittest.expect(o.kind, unittest.equals('foo')); | 1859 unittest.expect(o.kind, unittest.equals('foo')); |
1858 checkGuideCategorySnippet(o.snippet); | 1860 checkGuideCategorySnippet(o.snippet); |
1859 } | 1861 } |
1860 buildCounterGuideCategory--; | 1862 buildCounterGuideCategory--; |
1861 } | 1863 } |
1862 | 1864 |
1863 buildUnnamed2212() { | 1865 buildUnnamed619() { |
1864 var o = new core.List<api.GuideCategory>(); | 1866 var o = new core.List<api.GuideCategory>(); |
1865 o.add(buildGuideCategory()); | 1867 o.add(buildGuideCategory()); |
1866 o.add(buildGuideCategory()); | 1868 o.add(buildGuideCategory()); |
1867 return o; | 1869 return o; |
1868 } | 1870 } |
1869 | 1871 |
1870 checkUnnamed2212(core.List<api.GuideCategory> o) { | 1872 checkUnnamed619(core.List<api.GuideCategory> o) { |
1871 unittest.expect(o, unittest.hasLength(2)); | 1873 unittest.expect(o, unittest.hasLength(2)); |
1872 checkGuideCategory(o[0]); | 1874 checkGuideCategory(o[0]); |
1873 checkGuideCategory(o[1]); | 1875 checkGuideCategory(o[1]); |
1874 } | 1876 } |
1875 | 1877 |
1876 core.int buildCounterGuideCategoryListResponse = 0; | 1878 core.int buildCounterGuideCategoryListResponse = 0; |
1877 buildGuideCategoryListResponse() { | 1879 buildGuideCategoryListResponse() { |
1878 var o = new api.GuideCategoryListResponse(); | 1880 var o = new api.GuideCategoryListResponse(); |
1879 buildCounterGuideCategoryListResponse++; | 1881 buildCounterGuideCategoryListResponse++; |
1880 if (buildCounterGuideCategoryListResponse < 3) { | 1882 if (buildCounterGuideCategoryListResponse < 3) { |
1881 o.etag = "foo"; | 1883 o.etag = "foo"; |
1882 o.eventId = "foo"; | 1884 o.eventId = "foo"; |
1883 o.items = buildUnnamed2212(); | 1885 o.items = buildUnnamed619(); |
1884 o.kind = "foo"; | 1886 o.kind = "foo"; |
1885 o.nextPageToken = "foo"; | 1887 o.nextPageToken = "foo"; |
1886 o.pageInfo = buildPageInfo(); | 1888 o.pageInfo = buildPageInfo(); |
1887 o.prevPageToken = "foo"; | 1889 o.prevPageToken = "foo"; |
1888 o.tokenPagination = buildTokenPagination(); | 1890 o.tokenPagination = buildTokenPagination(); |
1889 o.visitorId = "foo"; | 1891 o.visitorId = "foo"; |
1890 } | 1892 } |
1891 buildCounterGuideCategoryListResponse--; | 1893 buildCounterGuideCategoryListResponse--; |
1892 return o; | 1894 return o; |
1893 } | 1895 } |
1894 | 1896 |
1895 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1897 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
1896 buildCounterGuideCategoryListResponse++; | 1898 buildCounterGuideCategoryListResponse++; |
1897 if (buildCounterGuideCategoryListResponse < 3) { | 1899 if (buildCounterGuideCategoryListResponse < 3) { |
1898 unittest.expect(o.etag, unittest.equals('foo')); | 1900 unittest.expect(o.etag, unittest.equals('foo')); |
1899 unittest.expect(o.eventId, unittest.equals('foo')); | 1901 unittest.expect(o.eventId, unittest.equals('foo')); |
1900 checkUnnamed2212(o.items); | 1902 checkUnnamed619(o.items); |
1901 unittest.expect(o.kind, unittest.equals('foo')); | 1903 unittest.expect(o.kind, unittest.equals('foo')); |
1902 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1904 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1903 checkPageInfo(o.pageInfo); | 1905 checkPageInfo(o.pageInfo); |
1904 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1906 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1905 checkTokenPagination(o.tokenPagination); | 1907 checkTokenPagination(o.tokenPagination); |
1906 unittest.expect(o.visitorId, unittest.equals('foo')); | 1908 unittest.expect(o.visitorId, unittest.equals('foo')); |
1907 } | 1909 } |
1908 buildCounterGuideCategoryListResponse--; | 1910 buildCounterGuideCategoryListResponse--; |
1909 } | 1911 } |
1910 | 1912 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1947 buildCounterI18nLanguage++; | 1949 buildCounterI18nLanguage++; |
1948 if (buildCounterI18nLanguage < 3) { | 1950 if (buildCounterI18nLanguage < 3) { |
1949 unittest.expect(o.etag, unittest.equals('foo')); | 1951 unittest.expect(o.etag, unittest.equals('foo')); |
1950 unittest.expect(o.id, unittest.equals('foo')); | 1952 unittest.expect(o.id, unittest.equals('foo')); |
1951 unittest.expect(o.kind, unittest.equals('foo')); | 1953 unittest.expect(o.kind, unittest.equals('foo')); |
1952 checkI18nLanguageSnippet(o.snippet); | 1954 checkI18nLanguageSnippet(o.snippet); |
1953 } | 1955 } |
1954 buildCounterI18nLanguage--; | 1956 buildCounterI18nLanguage--; |
1955 } | 1957 } |
1956 | 1958 |
1957 buildUnnamed2213() { | 1959 buildUnnamed620() { |
1958 var o = new core.List<api.I18nLanguage>(); | 1960 var o = new core.List<api.I18nLanguage>(); |
1959 o.add(buildI18nLanguage()); | 1961 o.add(buildI18nLanguage()); |
1960 o.add(buildI18nLanguage()); | 1962 o.add(buildI18nLanguage()); |
1961 return o; | 1963 return o; |
1962 } | 1964 } |
1963 | 1965 |
1964 checkUnnamed2213(core.List<api.I18nLanguage> o) { | 1966 checkUnnamed620(core.List<api.I18nLanguage> o) { |
1965 unittest.expect(o, unittest.hasLength(2)); | 1967 unittest.expect(o, unittest.hasLength(2)); |
1966 checkI18nLanguage(o[0]); | 1968 checkI18nLanguage(o[0]); |
1967 checkI18nLanguage(o[1]); | 1969 checkI18nLanguage(o[1]); |
1968 } | 1970 } |
1969 | 1971 |
1970 core.int buildCounterI18nLanguageListResponse = 0; | 1972 core.int buildCounterI18nLanguageListResponse = 0; |
1971 buildI18nLanguageListResponse() { | 1973 buildI18nLanguageListResponse() { |
1972 var o = new api.I18nLanguageListResponse(); | 1974 var o = new api.I18nLanguageListResponse(); |
1973 buildCounterI18nLanguageListResponse++; | 1975 buildCounterI18nLanguageListResponse++; |
1974 if (buildCounterI18nLanguageListResponse < 3) { | 1976 if (buildCounterI18nLanguageListResponse < 3) { |
1975 o.etag = "foo"; | 1977 o.etag = "foo"; |
1976 o.eventId = "foo"; | 1978 o.eventId = "foo"; |
1977 o.items = buildUnnamed2213(); | 1979 o.items = buildUnnamed620(); |
1978 o.kind = "foo"; | 1980 o.kind = "foo"; |
1979 o.visitorId = "foo"; | 1981 o.visitorId = "foo"; |
1980 } | 1982 } |
1981 buildCounterI18nLanguageListResponse--; | 1983 buildCounterI18nLanguageListResponse--; |
1982 return o; | 1984 return o; |
1983 } | 1985 } |
1984 | 1986 |
1985 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1987 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
1986 buildCounterI18nLanguageListResponse++; | 1988 buildCounterI18nLanguageListResponse++; |
1987 if (buildCounterI18nLanguageListResponse < 3) { | 1989 if (buildCounterI18nLanguageListResponse < 3) { |
1988 unittest.expect(o.etag, unittest.equals('foo')); | 1990 unittest.expect(o.etag, unittest.equals('foo')); |
1989 unittest.expect(o.eventId, unittest.equals('foo')); | 1991 unittest.expect(o.eventId, unittest.equals('foo')); |
1990 checkUnnamed2213(o.items); | 1992 checkUnnamed620(o.items); |
1991 unittest.expect(o.kind, unittest.equals('foo')); | 1993 unittest.expect(o.kind, unittest.equals('foo')); |
1992 unittest.expect(o.visitorId, unittest.equals('foo')); | 1994 unittest.expect(o.visitorId, unittest.equals('foo')); |
1993 } | 1995 } |
1994 buildCounterI18nLanguageListResponse--; | 1996 buildCounterI18nLanguageListResponse--; |
1995 } | 1997 } |
1996 | 1998 |
1997 core.int buildCounterI18nLanguageSnippet = 0; | 1999 core.int buildCounterI18nLanguageSnippet = 0; |
1998 buildI18nLanguageSnippet() { | 2000 buildI18nLanguageSnippet() { |
1999 var o = new api.I18nLanguageSnippet(); | 2001 var o = new api.I18nLanguageSnippet(); |
2000 buildCounterI18nLanguageSnippet++; | 2002 buildCounterI18nLanguageSnippet++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2033 buildCounterI18nRegion++; | 2035 buildCounterI18nRegion++; |
2034 if (buildCounterI18nRegion < 3) { | 2036 if (buildCounterI18nRegion < 3) { |
2035 unittest.expect(o.etag, unittest.equals('foo')); | 2037 unittest.expect(o.etag, unittest.equals('foo')); |
2036 unittest.expect(o.id, unittest.equals('foo')); | 2038 unittest.expect(o.id, unittest.equals('foo')); |
2037 unittest.expect(o.kind, unittest.equals('foo')); | 2039 unittest.expect(o.kind, unittest.equals('foo')); |
2038 checkI18nRegionSnippet(o.snippet); | 2040 checkI18nRegionSnippet(o.snippet); |
2039 } | 2041 } |
2040 buildCounterI18nRegion--; | 2042 buildCounterI18nRegion--; |
2041 } | 2043 } |
2042 | 2044 |
2043 buildUnnamed2214() { | 2045 buildUnnamed621() { |
2044 var o = new core.List<api.I18nRegion>(); | 2046 var o = new core.List<api.I18nRegion>(); |
2045 o.add(buildI18nRegion()); | 2047 o.add(buildI18nRegion()); |
2046 o.add(buildI18nRegion()); | 2048 o.add(buildI18nRegion()); |
2047 return o; | 2049 return o; |
2048 } | 2050 } |
2049 | 2051 |
2050 checkUnnamed2214(core.List<api.I18nRegion> o) { | 2052 checkUnnamed621(core.List<api.I18nRegion> o) { |
2051 unittest.expect(o, unittest.hasLength(2)); | 2053 unittest.expect(o, unittest.hasLength(2)); |
2052 checkI18nRegion(o[0]); | 2054 checkI18nRegion(o[0]); |
2053 checkI18nRegion(o[1]); | 2055 checkI18nRegion(o[1]); |
2054 } | 2056 } |
2055 | 2057 |
2056 core.int buildCounterI18nRegionListResponse = 0; | 2058 core.int buildCounterI18nRegionListResponse = 0; |
2057 buildI18nRegionListResponse() { | 2059 buildI18nRegionListResponse() { |
2058 var o = new api.I18nRegionListResponse(); | 2060 var o = new api.I18nRegionListResponse(); |
2059 buildCounterI18nRegionListResponse++; | 2061 buildCounterI18nRegionListResponse++; |
2060 if (buildCounterI18nRegionListResponse < 3) { | 2062 if (buildCounterI18nRegionListResponse < 3) { |
2061 o.etag = "foo"; | 2063 o.etag = "foo"; |
2062 o.eventId = "foo"; | 2064 o.eventId = "foo"; |
2063 o.items = buildUnnamed2214(); | 2065 o.items = buildUnnamed621(); |
2064 o.kind = "foo"; | 2066 o.kind = "foo"; |
2065 o.visitorId = "foo"; | 2067 o.visitorId = "foo"; |
2066 } | 2068 } |
2067 buildCounterI18nRegionListResponse--; | 2069 buildCounterI18nRegionListResponse--; |
2068 return o; | 2070 return o; |
2069 } | 2071 } |
2070 | 2072 |
2071 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2073 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
2072 buildCounterI18nRegionListResponse++; | 2074 buildCounterI18nRegionListResponse++; |
2073 if (buildCounterI18nRegionListResponse < 3) { | 2075 if (buildCounterI18nRegionListResponse < 3) { |
2074 unittest.expect(o.etag, unittest.equals('foo')); | 2076 unittest.expect(o.etag, unittest.equals('foo')); |
2075 unittest.expect(o.eventId, unittest.equals('foo')); | 2077 unittest.expect(o.eventId, unittest.equals('foo')); |
2076 checkUnnamed2214(o.items); | 2078 checkUnnamed621(o.items); |
2077 unittest.expect(o.kind, unittest.equals('foo')); | 2079 unittest.expect(o.kind, unittest.equals('foo')); |
2078 unittest.expect(o.visitorId, unittest.equals('foo')); | 2080 unittest.expect(o.visitorId, unittest.equals('foo')); |
2079 } | 2081 } |
2080 buildCounterI18nRegionListResponse--; | 2082 buildCounterI18nRegionListResponse--; |
2081 } | 2083 } |
2082 | 2084 |
2083 core.int buildCounterI18nRegionSnippet = 0; | 2085 core.int buildCounterI18nRegionSnippet = 0; |
2084 buildI18nRegionSnippet() { | 2086 buildI18nRegionSnippet() { |
2085 var o = new api.I18nRegionSnippet(); | 2087 var o = new api.I18nRegionSnippet(); |
2086 buildCounterI18nRegionSnippet++; | 2088 buildCounterI18nRegionSnippet++; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 | 2228 |
2227 checkInvideoPosition(api.InvideoPosition o) { | 2229 checkInvideoPosition(api.InvideoPosition o) { |
2228 buildCounterInvideoPosition++; | 2230 buildCounterInvideoPosition++; |
2229 if (buildCounterInvideoPosition < 3) { | 2231 if (buildCounterInvideoPosition < 3) { |
2230 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2232 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
2231 unittest.expect(o.type, unittest.equals('foo')); | 2233 unittest.expect(o.type, unittest.equals('foo')); |
2232 } | 2234 } |
2233 buildCounterInvideoPosition--; | 2235 buildCounterInvideoPosition--; |
2234 } | 2236 } |
2235 | 2237 |
2236 buildUnnamed2215() { | 2238 buildUnnamed622() { |
2237 var o = new core.List<api.PromotedItem>(); | 2239 var o = new core.List<api.PromotedItem>(); |
2238 o.add(buildPromotedItem()); | 2240 o.add(buildPromotedItem()); |
2239 o.add(buildPromotedItem()); | 2241 o.add(buildPromotedItem()); |
2240 return o; | 2242 return o; |
2241 } | 2243 } |
2242 | 2244 |
2243 checkUnnamed2215(core.List<api.PromotedItem> o) { | 2245 checkUnnamed622(core.List<api.PromotedItem> o) { |
2244 unittest.expect(o, unittest.hasLength(2)); | 2246 unittest.expect(o, unittest.hasLength(2)); |
2245 checkPromotedItem(o[0]); | 2247 checkPromotedItem(o[0]); |
2246 checkPromotedItem(o[1]); | 2248 checkPromotedItem(o[1]); |
2247 } | 2249 } |
2248 | 2250 |
2249 core.int buildCounterInvideoPromotion = 0; | 2251 core.int buildCounterInvideoPromotion = 0; |
2250 buildInvideoPromotion() { | 2252 buildInvideoPromotion() { |
2251 var o = new api.InvideoPromotion(); | 2253 var o = new api.InvideoPromotion(); |
2252 buildCounterInvideoPromotion++; | 2254 buildCounterInvideoPromotion++; |
2253 if (buildCounterInvideoPromotion < 3) { | 2255 if (buildCounterInvideoPromotion < 3) { |
2254 o.defaultTiming = buildInvideoTiming(); | 2256 o.defaultTiming = buildInvideoTiming(); |
2255 o.items = buildUnnamed2215(); | 2257 o.items = buildUnnamed622(); |
2256 o.position = buildInvideoPosition(); | 2258 o.position = buildInvideoPosition(); |
2257 o.useSmartTiming = true; | 2259 o.useSmartTiming = true; |
2258 } | 2260 } |
2259 buildCounterInvideoPromotion--; | 2261 buildCounterInvideoPromotion--; |
2260 return o; | 2262 return o; |
2261 } | 2263 } |
2262 | 2264 |
2263 checkInvideoPromotion(api.InvideoPromotion o) { | 2265 checkInvideoPromotion(api.InvideoPromotion o) { |
2264 buildCounterInvideoPromotion++; | 2266 buildCounterInvideoPromotion++; |
2265 if (buildCounterInvideoPromotion < 3) { | 2267 if (buildCounterInvideoPromotion < 3) { |
2266 checkInvideoTiming(o.defaultTiming); | 2268 checkInvideoTiming(o.defaultTiming); |
2267 checkUnnamed2215(o.items); | 2269 checkUnnamed622(o.items); |
2268 checkInvideoPosition(o.position); | 2270 checkInvideoPosition(o.position); |
2269 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2271 unittest.expect(o.useSmartTiming, unittest.isTrue); |
2270 } | 2272 } |
2271 buildCounterInvideoPromotion--; | 2273 buildCounterInvideoPromotion--; |
2272 } | 2274 } |
2273 | 2275 |
2274 core.int buildCounterInvideoTiming = 0; | 2276 core.int buildCounterInvideoTiming = 0; |
2275 buildInvideoTiming() { | 2277 buildInvideoTiming() { |
2276 var o = new api.InvideoTiming(); | 2278 var o = new api.InvideoTiming(); |
2277 buildCounterInvideoTiming++; | 2279 buildCounterInvideoTiming++; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2374 unittest.expect(o.enableDvr, unittest.isTrue); | 2376 unittest.expect(o.enableDvr, unittest.isTrue); |
2375 unittest.expect(o.enableEmbed, unittest.isTrue); | 2377 unittest.expect(o.enableEmbed, unittest.isTrue); |
2376 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2378 unittest.expect(o.enableLowLatency, unittest.isTrue); |
2377 checkMonitorStreamInfo(o.monitorStream); | 2379 checkMonitorStreamInfo(o.monitorStream); |
2378 unittest.expect(o.recordFromStart, unittest.isTrue); | 2380 unittest.expect(o.recordFromStart, unittest.isTrue); |
2379 unittest.expect(o.startWithSlate, unittest.isTrue); | 2381 unittest.expect(o.startWithSlate, unittest.isTrue); |
2380 } | 2382 } |
2381 buildCounterLiveBroadcastContentDetails--; | 2383 buildCounterLiveBroadcastContentDetails--; |
2382 } | 2384 } |
2383 | 2385 |
2384 buildUnnamed2216() { | 2386 buildUnnamed623() { |
2385 var o = new core.List<api.LiveBroadcast>(); | 2387 var o = new core.List<api.LiveBroadcast>(); |
2386 o.add(buildLiveBroadcast()); | 2388 o.add(buildLiveBroadcast()); |
2387 o.add(buildLiveBroadcast()); | 2389 o.add(buildLiveBroadcast()); |
2388 return o; | 2390 return o; |
2389 } | 2391 } |
2390 | 2392 |
2391 checkUnnamed2216(core.List<api.LiveBroadcast> o) { | 2393 checkUnnamed623(core.List<api.LiveBroadcast> o) { |
2392 unittest.expect(o, unittest.hasLength(2)); | 2394 unittest.expect(o, unittest.hasLength(2)); |
2393 checkLiveBroadcast(o[0]); | 2395 checkLiveBroadcast(o[0]); |
2394 checkLiveBroadcast(o[1]); | 2396 checkLiveBroadcast(o[1]); |
2395 } | 2397 } |
2396 | 2398 |
2397 core.int buildCounterLiveBroadcastListResponse = 0; | 2399 core.int buildCounterLiveBroadcastListResponse = 0; |
2398 buildLiveBroadcastListResponse() { | 2400 buildLiveBroadcastListResponse() { |
2399 var o = new api.LiveBroadcastListResponse(); | 2401 var o = new api.LiveBroadcastListResponse(); |
2400 buildCounterLiveBroadcastListResponse++; | 2402 buildCounterLiveBroadcastListResponse++; |
2401 if (buildCounterLiveBroadcastListResponse < 3) { | 2403 if (buildCounterLiveBroadcastListResponse < 3) { |
2402 o.etag = "foo"; | 2404 o.etag = "foo"; |
2403 o.eventId = "foo"; | 2405 o.eventId = "foo"; |
2404 o.items = buildUnnamed2216(); | 2406 o.items = buildUnnamed623(); |
2405 o.kind = "foo"; | 2407 o.kind = "foo"; |
2406 o.nextPageToken = "foo"; | 2408 o.nextPageToken = "foo"; |
2407 o.pageInfo = buildPageInfo(); | 2409 o.pageInfo = buildPageInfo(); |
2408 o.prevPageToken = "foo"; | 2410 o.prevPageToken = "foo"; |
2409 o.tokenPagination = buildTokenPagination(); | 2411 o.tokenPagination = buildTokenPagination(); |
2410 o.visitorId = "foo"; | 2412 o.visitorId = "foo"; |
2411 } | 2413 } |
2412 buildCounterLiveBroadcastListResponse--; | 2414 buildCounterLiveBroadcastListResponse--; |
2413 return o; | 2415 return o; |
2414 } | 2416 } |
2415 | 2417 |
2416 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2418 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
2417 buildCounterLiveBroadcastListResponse++; | 2419 buildCounterLiveBroadcastListResponse++; |
2418 if (buildCounterLiveBroadcastListResponse < 3) { | 2420 if (buildCounterLiveBroadcastListResponse < 3) { |
2419 unittest.expect(o.etag, unittest.equals('foo')); | 2421 unittest.expect(o.etag, unittest.equals('foo')); |
2420 unittest.expect(o.eventId, unittest.equals('foo')); | 2422 unittest.expect(o.eventId, unittest.equals('foo')); |
2421 checkUnnamed2216(o.items); | 2423 checkUnnamed623(o.items); |
2422 unittest.expect(o.kind, unittest.equals('foo')); | 2424 unittest.expect(o.kind, unittest.equals('foo')); |
2423 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2425 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2424 checkPageInfo(o.pageInfo); | 2426 checkPageInfo(o.pageInfo); |
2425 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2427 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2426 checkTokenPagination(o.tokenPagination); | 2428 checkTokenPagination(o.tokenPagination); |
2427 unittest.expect(o.visitorId, unittest.equals('foo')); | 2429 unittest.expect(o.visitorId, unittest.equals('foo')); |
2428 } | 2430 } |
2429 buildCounterLiveBroadcastListResponse--; | 2431 buildCounterLiveBroadcastListResponse--; |
2430 } | 2432 } |
2431 | 2433 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2528 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2530 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
2529 buildCounterLiveBroadcastTopic++; | 2531 buildCounterLiveBroadcastTopic++; |
2530 if (buildCounterLiveBroadcastTopic < 3) { | 2532 if (buildCounterLiveBroadcastTopic < 3) { |
2531 checkLiveBroadcastTopicSnippet(o.snippet); | 2533 checkLiveBroadcastTopicSnippet(o.snippet); |
2532 unittest.expect(o.type, unittest.equals('foo')); | 2534 unittest.expect(o.type, unittest.equals('foo')); |
2533 unittest.expect(o.unmatched, unittest.isTrue); | 2535 unittest.expect(o.unmatched, unittest.isTrue); |
2534 } | 2536 } |
2535 buildCounterLiveBroadcastTopic--; | 2537 buildCounterLiveBroadcastTopic--; |
2536 } | 2538 } |
2537 | 2539 |
2538 buildUnnamed2217() { | 2540 buildUnnamed624() { |
2539 var o = new core.List<api.LiveBroadcastTopic>(); | 2541 var o = new core.List<api.LiveBroadcastTopic>(); |
2540 o.add(buildLiveBroadcastTopic()); | 2542 o.add(buildLiveBroadcastTopic()); |
2541 o.add(buildLiveBroadcastTopic()); | 2543 o.add(buildLiveBroadcastTopic()); |
2542 return o; | 2544 return o; |
2543 } | 2545 } |
2544 | 2546 |
2545 checkUnnamed2217(core.List<api.LiveBroadcastTopic> o) { | 2547 checkUnnamed624(core.List<api.LiveBroadcastTopic> o) { |
2546 unittest.expect(o, unittest.hasLength(2)); | 2548 unittest.expect(o, unittest.hasLength(2)); |
2547 checkLiveBroadcastTopic(o[0]); | 2549 checkLiveBroadcastTopic(o[0]); |
2548 checkLiveBroadcastTopic(o[1]); | 2550 checkLiveBroadcastTopic(o[1]); |
2549 } | 2551 } |
2550 | 2552 |
2551 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2553 core.int buildCounterLiveBroadcastTopicDetails = 0; |
2552 buildLiveBroadcastTopicDetails() { | 2554 buildLiveBroadcastTopicDetails() { |
2553 var o = new api.LiveBroadcastTopicDetails(); | 2555 var o = new api.LiveBroadcastTopicDetails(); |
2554 buildCounterLiveBroadcastTopicDetails++; | 2556 buildCounterLiveBroadcastTopicDetails++; |
2555 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2557 if (buildCounterLiveBroadcastTopicDetails < 3) { |
2556 o.topics = buildUnnamed2217(); | 2558 o.topics = buildUnnamed624(); |
2557 } | 2559 } |
2558 buildCounterLiveBroadcastTopicDetails--; | 2560 buildCounterLiveBroadcastTopicDetails--; |
2559 return o; | 2561 return o; |
2560 } | 2562 } |
2561 | 2563 |
2562 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2564 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
2563 buildCounterLiveBroadcastTopicDetails++; | 2565 buildCounterLiveBroadcastTopicDetails++; |
2564 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2566 if (buildCounterLiveBroadcastTopicDetails < 3) { |
2565 checkUnnamed2217(o.topics); | 2567 checkUnnamed624(o.topics); |
2566 } | 2568 } |
2567 buildCounterLiveBroadcastTopicDetails--; | 2569 buildCounterLiveBroadcastTopicDetails--; |
2568 } | 2570 } |
2569 | 2571 |
2570 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2572 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
2571 buildLiveBroadcastTopicSnippet() { | 2573 buildLiveBroadcastTopicSnippet() { |
2572 var o = new api.LiveBroadcastTopicSnippet(); | 2574 var o = new api.LiveBroadcastTopicSnippet(); |
2573 buildCounterLiveBroadcastTopicSnippet++; | 2575 buildCounterLiveBroadcastTopicSnippet++; |
2574 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2576 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
2575 o.name = "foo"; | 2577 o.name = "foo"; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2658 | 2660 |
2659 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 2661 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
2660 buildCounterLiveStreamContentDetails++; | 2662 buildCounterLiveStreamContentDetails++; |
2661 if (buildCounterLiveStreamContentDetails < 3) { | 2663 if (buildCounterLiveStreamContentDetails < 3) { |
2662 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 2664 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
2663 unittest.expect(o.isReusable, unittest.isTrue); | 2665 unittest.expect(o.isReusable, unittest.isTrue); |
2664 } | 2666 } |
2665 buildCounterLiveStreamContentDetails--; | 2667 buildCounterLiveStreamContentDetails--; |
2666 } | 2668 } |
2667 | 2669 |
2668 buildUnnamed2218() { | 2670 buildUnnamed625() { |
2669 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 2671 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
2670 o.add(buildLiveStreamConfigurationIssue()); | 2672 o.add(buildLiveStreamConfigurationIssue()); |
2671 o.add(buildLiveStreamConfigurationIssue()); | 2673 o.add(buildLiveStreamConfigurationIssue()); |
2672 return o; | 2674 return o; |
2673 } | 2675 } |
2674 | 2676 |
2675 checkUnnamed2218(core.List<api.LiveStreamConfigurationIssue> o) { | 2677 checkUnnamed625(core.List<api.LiveStreamConfigurationIssue> o) { |
2676 unittest.expect(o, unittest.hasLength(2)); | 2678 unittest.expect(o, unittest.hasLength(2)); |
2677 checkLiveStreamConfigurationIssue(o[0]); | 2679 checkLiveStreamConfigurationIssue(o[0]); |
2678 checkLiveStreamConfigurationIssue(o[1]); | 2680 checkLiveStreamConfigurationIssue(o[1]); |
2679 } | 2681 } |
2680 | 2682 |
2681 core.int buildCounterLiveStreamHealthStatus = 0; | 2683 core.int buildCounterLiveStreamHealthStatus = 0; |
2682 buildLiveStreamHealthStatus() { | 2684 buildLiveStreamHealthStatus() { |
2683 var o = new api.LiveStreamHealthStatus(); | 2685 var o = new api.LiveStreamHealthStatus(); |
2684 buildCounterLiveStreamHealthStatus++; | 2686 buildCounterLiveStreamHealthStatus++; |
2685 if (buildCounterLiveStreamHealthStatus < 3) { | 2687 if (buildCounterLiveStreamHealthStatus < 3) { |
2686 o.configurationIssues = buildUnnamed2218(); | 2688 o.configurationIssues = buildUnnamed625(); |
2687 o.lastUpdateTimeSeconds = "foo"; | 2689 o.lastUpdateTimeSeconds = "foo"; |
2688 o.status = "foo"; | 2690 o.status = "foo"; |
2689 } | 2691 } |
2690 buildCounterLiveStreamHealthStatus--; | 2692 buildCounterLiveStreamHealthStatus--; |
2691 return o; | 2693 return o; |
2692 } | 2694 } |
2693 | 2695 |
2694 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 2696 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
2695 buildCounterLiveStreamHealthStatus++; | 2697 buildCounterLiveStreamHealthStatus++; |
2696 if (buildCounterLiveStreamHealthStatus < 3) { | 2698 if (buildCounterLiveStreamHealthStatus < 3) { |
2697 checkUnnamed2218(o.configurationIssues); | 2699 checkUnnamed625(o.configurationIssues); |
2698 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 2700 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
2699 unittest.expect(o.status, unittest.equals('foo')); | 2701 unittest.expect(o.status, unittest.equals('foo')); |
2700 } | 2702 } |
2701 buildCounterLiveStreamHealthStatus--; | 2703 buildCounterLiveStreamHealthStatus--; |
2702 } | 2704 } |
2703 | 2705 |
2704 buildUnnamed2219() { | 2706 buildUnnamed626() { |
2705 var o = new core.List<api.LiveStream>(); | 2707 var o = new core.List<api.LiveStream>(); |
2706 o.add(buildLiveStream()); | 2708 o.add(buildLiveStream()); |
2707 o.add(buildLiveStream()); | 2709 o.add(buildLiveStream()); |
2708 return o; | 2710 return o; |
2709 } | 2711 } |
2710 | 2712 |
2711 checkUnnamed2219(core.List<api.LiveStream> o) { | 2713 checkUnnamed626(core.List<api.LiveStream> o) { |
2712 unittest.expect(o, unittest.hasLength(2)); | 2714 unittest.expect(o, unittest.hasLength(2)); |
2713 checkLiveStream(o[0]); | 2715 checkLiveStream(o[0]); |
2714 checkLiveStream(o[1]); | 2716 checkLiveStream(o[1]); |
2715 } | 2717 } |
2716 | 2718 |
2717 core.int buildCounterLiveStreamListResponse = 0; | 2719 core.int buildCounterLiveStreamListResponse = 0; |
2718 buildLiveStreamListResponse() { | 2720 buildLiveStreamListResponse() { |
2719 var o = new api.LiveStreamListResponse(); | 2721 var o = new api.LiveStreamListResponse(); |
2720 buildCounterLiveStreamListResponse++; | 2722 buildCounterLiveStreamListResponse++; |
2721 if (buildCounterLiveStreamListResponse < 3) { | 2723 if (buildCounterLiveStreamListResponse < 3) { |
2722 o.etag = "foo"; | 2724 o.etag = "foo"; |
2723 o.eventId = "foo"; | 2725 o.eventId = "foo"; |
2724 o.items = buildUnnamed2219(); | 2726 o.items = buildUnnamed626(); |
2725 o.kind = "foo"; | 2727 o.kind = "foo"; |
2726 o.nextPageToken = "foo"; | 2728 o.nextPageToken = "foo"; |
2727 o.pageInfo = buildPageInfo(); | 2729 o.pageInfo = buildPageInfo(); |
2728 o.prevPageToken = "foo"; | 2730 o.prevPageToken = "foo"; |
2729 o.tokenPagination = buildTokenPagination(); | 2731 o.tokenPagination = buildTokenPagination(); |
2730 o.visitorId = "foo"; | 2732 o.visitorId = "foo"; |
2731 } | 2733 } |
2732 buildCounterLiveStreamListResponse--; | 2734 buildCounterLiveStreamListResponse--; |
2733 return o; | 2735 return o; |
2734 } | 2736 } |
2735 | 2737 |
2736 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 2738 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
2737 buildCounterLiveStreamListResponse++; | 2739 buildCounterLiveStreamListResponse++; |
2738 if (buildCounterLiveStreamListResponse < 3) { | 2740 if (buildCounterLiveStreamListResponse < 3) { |
2739 unittest.expect(o.etag, unittest.equals('foo')); | 2741 unittest.expect(o.etag, unittest.equals('foo')); |
2740 unittest.expect(o.eventId, unittest.equals('foo')); | 2742 unittest.expect(o.eventId, unittest.equals('foo')); |
2741 checkUnnamed2219(o.items); | 2743 checkUnnamed626(o.items); |
2742 unittest.expect(o.kind, unittest.equals('foo')); | 2744 unittest.expect(o.kind, unittest.equals('foo')); |
2743 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2745 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2744 checkPageInfo(o.pageInfo); | 2746 checkPageInfo(o.pageInfo); |
2745 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2747 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2746 checkTokenPagination(o.tokenPagination); | 2748 checkTokenPagination(o.tokenPagination); |
2747 unittest.expect(o.visitorId, unittest.equals('foo')); | 2749 unittest.expect(o.visitorId, unittest.equals('foo')); |
2748 } | 2750 } |
2749 buildCounterLiveStreamListResponse--; | 2751 buildCounterLiveStreamListResponse--; |
2750 } | 2752 } |
2751 | 2753 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2790 | 2792 |
2791 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2793 checkLiveStreamStatus(api.LiveStreamStatus o) { |
2792 buildCounterLiveStreamStatus++; | 2794 buildCounterLiveStreamStatus++; |
2793 if (buildCounterLiveStreamStatus < 3) { | 2795 if (buildCounterLiveStreamStatus < 3) { |
2794 checkLiveStreamHealthStatus(o.healthStatus); | 2796 checkLiveStreamHealthStatus(o.healthStatus); |
2795 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2797 unittest.expect(o.streamStatus, unittest.equals('foo')); |
2796 } | 2798 } |
2797 buildCounterLiveStreamStatus--; | 2799 buildCounterLiveStreamStatus--; |
2798 } | 2800 } |
2799 | 2801 |
2800 buildUnnamed2220() { | 2802 buildUnnamed627() { |
2801 var o = new core.List<api.LocalizedString>(); | 2803 var o = new core.List<api.LocalizedString>(); |
2802 o.add(buildLocalizedString()); | 2804 o.add(buildLocalizedString()); |
2803 o.add(buildLocalizedString()); | 2805 o.add(buildLocalizedString()); |
2804 return o; | 2806 return o; |
2805 } | 2807 } |
2806 | 2808 |
2807 checkUnnamed2220(core.List<api.LocalizedString> o) { | 2809 checkUnnamed627(core.List<api.LocalizedString> o) { |
2808 unittest.expect(o, unittest.hasLength(2)); | 2810 unittest.expect(o, unittest.hasLength(2)); |
2809 checkLocalizedString(o[0]); | 2811 checkLocalizedString(o[0]); |
2810 checkLocalizedString(o[1]); | 2812 checkLocalizedString(o[1]); |
2811 } | 2813 } |
2812 | 2814 |
2813 core.int buildCounterLocalizedProperty = 0; | 2815 core.int buildCounterLocalizedProperty = 0; |
2814 buildLocalizedProperty() { | 2816 buildLocalizedProperty() { |
2815 var o = new api.LocalizedProperty(); | 2817 var o = new api.LocalizedProperty(); |
2816 buildCounterLocalizedProperty++; | 2818 buildCounterLocalizedProperty++; |
2817 if (buildCounterLocalizedProperty < 3) { | 2819 if (buildCounterLocalizedProperty < 3) { |
2818 o.default_ = "foo"; | 2820 o.default_ = "foo"; |
2819 o.defaultLanguage = buildLanguageTag(); | 2821 o.defaultLanguage = buildLanguageTag(); |
2820 o.localized = buildUnnamed2220(); | 2822 o.localized = buildUnnamed627(); |
2821 } | 2823 } |
2822 buildCounterLocalizedProperty--; | 2824 buildCounterLocalizedProperty--; |
2823 return o; | 2825 return o; |
2824 } | 2826 } |
2825 | 2827 |
2826 checkLocalizedProperty(api.LocalizedProperty o) { | 2828 checkLocalizedProperty(api.LocalizedProperty o) { |
2827 buildCounterLocalizedProperty++; | 2829 buildCounterLocalizedProperty++; |
2828 if (buildCounterLocalizedProperty < 3) { | 2830 if (buildCounterLocalizedProperty < 3) { |
2829 unittest.expect(o.default_, unittest.equals('foo')); | 2831 unittest.expect(o.default_, unittest.equals('foo')); |
2830 checkLanguageTag(o.defaultLanguage); | 2832 checkLanguageTag(o.defaultLanguage); |
2831 checkUnnamed2220(o.localized); | 2833 checkUnnamed627(o.localized); |
2832 } | 2834 } |
2833 buildCounterLocalizedProperty--; | 2835 buildCounterLocalizedProperty--; |
2834 } | 2836 } |
2835 | 2837 |
2836 core.int buildCounterLocalizedString = 0; | 2838 core.int buildCounterLocalizedString = 0; |
2837 buildLocalizedString() { | 2839 buildLocalizedString() { |
2838 var o = new api.LocalizedString(); | 2840 var o = new api.LocalizedString(); |
2839 buildCounterLocalizedString++; | 2841 buildCounterLocalizedString++; |
2840 if (buildCounterLocalizedString < 3) { | 2842 if (buildCounterLocalizedString < 3) { |
2841 o.language = "foo"; | 2843 o.language = "foo"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2891 | 2893 |
2892 checkPageInfo(api.PageInfo o) { | 2894 checkPageInfo(api.PageInfo o) { |
2893 buildCounterPageInfo++; | 2895 buildCounterPageInfo++; |
2894 if (buildCounterPageInfo < 3) { | 2896 if (buildCounterPageInfo < 3) { |
2895 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 2897 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
2896 unittest.expect(o.totalResults, unittest.equals(42)); | 2898 unittest.expect(o.totalResults, unittest.equals(42)); |
2897 } | 2899 } |
2898 buildCounterPageInfo--; | 2900 buildCounterPageInfo--; |
2899 } | 2901 } |
2900 | 2902 |
2901 buildUnnamed2221() { | 2903 buildUnnamed628() { |
2902 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 2904 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
2903 o["x"] = buildPlaylistLocalization(); | 2905 o["x"] = buildPlaylistLocalization(); |
2904 o["y"] = buildPlaylistLocalization(); | 2906 o["y"] = buildPlaylistLocalization(); |
2905 return o; | 2907 return o; |
2906 } | 2908 } |
2907 | 2909 |
2908 checkUnnamed2221(core.Map<core.String, api.PlaylistLocalization> o) { | 2910 checkUnnamed628(core.Map<core.String, api.PlaylistLocalization> o) { |
2909 unittest.expect(o, unittest.hasLength(2)); | 2911 unittest.expect(o, unittest.hasLength(2)); |
2910 checkPlaylistLocalization(o["x"]); | 2912 checkPlaylistLocalization(o["x"]); |
2911 checkPlaylistLocalization(o["y"]); | 2913 checkPlaylistLocalization(o["y"]); |
2912 } | 2914 } |
2913 | 2915 |
2914 core.int buildCounterPlaylist = 0; | 2916 core.int buildCounterPlaylist = 0; |
2915 buildPlaylist() { | 2917 buildPlaylist() { |
2916 var o = new api.Playlist(); | 2918 var o = new api.Playlist(); |
2917 buildCounterPlaylist++; | 2919 buildCounterPlaylist++; |
2918 if (buildCounterPlaylist < 3) { | 2920 if (buildCounterPlaylist < 3) { |
2919 o.contentDetails = buildPlaylistContentDetails(); | 2921 o.contentDetails = buildPlaylistContentDetails(); |
2920 o.etag = "foo"; | 2922 o.etag = "foo"; |
2921 o.id = "foo"; | 2923 o.id = "foo"; |
2922 o.kind = "foo"; | 2924 o.kind = "foo"; |
2923 o.localizations = buildUnnamed2221(); | 2925 o.localizations = buildUnnamed628(); |
2924 o.player = buildPlaylistPlayer(); | 2926 o.player = buildPlaylistPlayer(); |
2925 o.snippet = buildPlaylistSnippet(); | 2927 o.snippet = buildPlaylistSnippet(); |
2926 o.status = buildPlaylistStatus(); | 2928 o.status = buildPlaylistStatus(); |
2927 } | 2929 } |
2928 buildCounterPlaylist--; | 2930 buildCounterPlaylist--; |
2929 return o; | 2931 return o; |
2930 } | 2932 } |
2931 | 2933 |
2932 checkPlaylist(api.Playlist o) { | 2934 checkPlaylist(api.Playlist o) { |
2933 buildCounterPlaylist++; | 2935 buildCounterPlaylist++; |
2934 if (buildCounterPlaylist < 3) { | 2936 if (buildCounterPlaylist < 3) { |
2935 checkPlaylistContentDetails(o.contentDetails); | 2937 checkPlaylistContentDetails(o.contentDetails); |
2936 unittest.expect(o.etag, unittest.equals('foo')); | 2938 unittest.expect(o.etag, unittest.equals('foo')); |
2937 unittest.expect(o.id, unittest.equals('foo')); | 2939 unittest.expect(o.id, unittest.equals('foo')); |
2938 unittest.expect(o.kind, unittest.equals('foo')); | 2940 unittest.expect(o.kind, unittest.equals('foo')); |
2939 checkUnnamed2221(o.localizations); | 2941 checkUnnamed628(o.localizations); |
2940 checkPlaylistPlayer(o.player); | 2942 checkPlaylistPlayer(o.player); |
2941 checkPlaylistSnippet(o.snippet); | 2943 checkPlaylistSnippet(o.snippet); |
2942 checkPlaylistStatus(o.status); | 2944 checkPlaylistStatus(o.status); |
2943 } | 2945 } |
2944 buildCounterPlaylist--; | 2946 buildCounterPlaylist--; |
2945 } | 2947 } |
2946 | 2948 |
2947 core.int buildCounterPlaylistContentDetails = 0; | 2949 core.int buildCounterPlaylistContentDetails = 0; |
2948 buildPlaylistContentDetails() { | 2950 buildPlaylistContentDetails() { |
2949 var o = new api.PlaylistContentDetails(); | 2951 var o = new api.PlaylistContentDetails(); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3010 buildCounterPlaylistItemContentDetails++; | 3012 buildCounterPlaylistItemContentDetails++; |
3011 if (buildCounterPlaylistItemContentDetails < 3) { | 3013 if (buildCounterPlaylistItemContentDetails < 3) { |
3012 unittest.expect(o.endAt, unittest.equals('foo')); | 3014 unittest.expect(o.endAt, unittest.equals('foo')); |
3013 unittest.expect(o.note, unittest.equals('foo')); | 3015 unittest.expect(o.note, unittest.equals('foo')); |
3014 unittest.expect(o.startAt, unittest.equals('foo')); | 3016 unittest.expect(o.startAt, unittest.equals('foo')); |
3015 unittest.expect(o.videoId, unittest.equals('foo')); | 3017 unittest.expect(o.videoId, unittest.equals('foo')); |
3016 } | 3018 } |
3017 buildCounterPlaylistItemContentDetails--; | 3019 buildCounterPlaylistItemContentDetails--; |
3018 } | 3020 } |
3019 | 3021 |
3020 buildUnnamed2222() { | 3022 buildUnnamed629() { |
3021 var o = new core.List<api.PlaylistItem>(); | 3023 var o = new core.List<api.PlaylistItem>(); |
3022 o.add(buildPlaylistItem()); | 3024 o.add(buildPlaylistItem()); |
3023 o.add(buildPlaylistItem()); | 3025 o.add(buildPlaylistItem()); |
3024 return o; | 3026 return o; |
3025 } | 3027 } |
3026 | 3028 |
3027 checkUnnamed2222(core.List<api.PlaylistItem> o) { | 3029 checkUnnamed629(core.List<api.PlaylistItem> o) { |
3028 unittest.expect(o, unittest.hasLength(2)); | 3030 unittest.expect(o, unittest.hasLength(2)); |
3029 checkPlaylistItem(o[0]); | 3031 checkPlaylistItem(o[0]); |
3030 checkPlaylistItem(o[1]); | 3032 checkPlaylistItem(o[1]); |
3031 } | 3033 } |
3032 | 3034 |
3033 core.int buildCounterPlaylistItemListResponse = 0; | 3035 core.int buildCounterPlaylistItemListResponse = 0; |
3034 buildPlaylistItemListResponse() { | 3036 buildPlaylistItemListResponse() { |
3035 var o = new api.PlaylistItemListResponse(); | 3037 var o = new api.PlaylistItemListResponse(); |
3036 buildCounterPlaylistItemListResponse++; | 3038 buildCounterPlaylistItemListResponse++; |
3037 if (buildCounterPlaylistItemListResponse < 3) { | 3039 if (buildCounterPlaylistItemListResponse < 3) { |
3038 o.etag = "foo"; | 3040 o.etag = "foo"; |
3039 o.eventId = "foo"; | 3041 o.eventId = "foo"; |
3040 o.items = buildUnnamed2222(); | 3042 o.items = buildUnnamed629(); |
3041 o.kind = "foo"; | 3043 o.kind = "foo"; |
3042 o.nextPageToken = "foo"; | 3044 o.nextPageToken = "foo"; |
3043 o.pageInfo = buildPageInfo(); | 3045 o.pageInfo = buildPageInfo(); |
3044 o.prevPageToken = "foo"; | 3046 o.prevPageToken = "foo"; |
3045 o.tokenPagination = buildTokenPagination(); | 3047 o.tokenPagination = buildTokenPagination(); |
3046 o.visitorId = "foo"; | 3048 o.visitorId = "foo"; |
3047 } | 3049 } |
3048 buildCounterPlaylistItemListResponse--; | 3050 buildCounterPlaylistItemListResponse--; |
3049 return o; | 3051 return o; |
3050 } | 3052 } |
3051 | 3053 |
3052 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3054 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
3053 buildCounterPlaylistItemListResponse++; | 3055 buildCounterPlaylistItemListResponse++; |
3054 if (buildCounterPlaylistItemListResponse < 3) { | 3056 if (buildCounterPlaylistItemListResponse < 3) { |
3055 unittest.expect(o.etag, unittest.equals('foo')); | 3057 unittest.expect(o.etag, unittest.equals('foo')); |
3056 unittest.expect(o.eventId, unittest.equals('foo')); | 3058 unittest.expect(o.eventId, unittest.equals('foo')); |
3057 checkUnnamed2222(o.items); | 3059 checkUnnamed629(o.items); |
3058 unittest.expect(o.kind, unittest.equals('foo')); | 3060 unittest.expect(o.kind, unittest.equals('foo')); |
3059 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3061 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3060 checkPageInfo(o.pageInfo); | 3062 checkPageInfo(o.pageInfo); |
3061 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3063 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3062 checkTokenPagination(o.tokenPagination); | 3064 checkTokenPagination(o.tokenPagination); |
3063 unittest.expect(o.visitorId, unittest.equals('foo')); | 3065 unittest.expect(o.visitorId, unittest.equals('foo')); |
3064 } | 3066 } |
3065 buildCounterPlaylistItemListResponse--; | 3067 buildCounterPlaylistItemListResponse--; |
3066 } | 3068 } |
3067 | 3069 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3112 } | 3114 } |
3113 | 3115 |
3114 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3116 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
3115 buildCounterPlaylistItemStatus++; | 3117 buildCounterPlaylistItemStatus++; |
3116 if (buildCounterPlaylistItemStatus < 3) { | 3118 if (buildCounterPlaylistItemStatus < 3) { |
3117 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3119 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
3118 } | 3120 } |
3119 buildCounterPlaylistItemStatus--; | 3121 buildCounterPlaylistItemStatus--; |
3120 } | 3122 } |
3121 | 3123 |
3122 buildUnnamed2223() { | 3124 buildUnnamed630() { |
3123 var o = new core.List<api.Playlist>(); | 3125 var o = new core.List<api.Playlist>(); |
3124 o.add(buildPlaylist()); | 3126 o.add(buildPlaylist()); |
3125 o.add(buildPlaylist()); | 3127 o.add(buildPlaylist()); |
3126 return o; | 3128 return o; |
3127 } | 3129 } |
3128 | 3130 |
3129 checkUnnamed2223(core.List<api.Playlist> o) { | 3131 checkUnnamed630(core.List<api.Playlist> o) { |
3130 unittest.expect(o, unittest.hasLength(2)); | 3132 unittest.expect(o, unittest.hasLength(2)); |
3131 checkPlaylist(o[0]); | 3133 checkPlaylist(o[0]); |
3132 checkPlaylist(o[1]); | 3134 checkPlaylist(o[1]); |
3133 } | 3135 } |
3134 | 3136 |
3135 core.int buildCounterPlaylistListResponse = 0; | 3137 core.int buildCounterPlaylistListResponse = 0; |
3136 buildPlaylistListResponse() { | 3138 buildPlaylistListResponse() { |
3137 var o = new api.PlaylistListResponse(); | 3139 var o = new api.PlaylistListResponse(); |
3138 buildCounterPlaylistListResponse++; | 3140 buildCounterPlaylistListResponse++; |
3139 if (buildCounterPlaylistListResponse < 3) { | 3141 if (buildCounterPlaylistListResponse < 3) { |
3140 o.etag = "foo"; | 3142 o.etag = "foo"; |
3141 o.eventId = "foo"; | 3143 o.eventId = "foo"; |
3142 o.items = buildUnnamed2223(); | 3144 o.items = buildUnnamed630(); |
3143 o.kind = "foo"; | 3145 o.kind = "foo"; |
3144 o.nextPageToken = "foo"; | 3146 o.nextPageToken = "foo"; |
3145 o.pageInfo = buildPageInfo(); | 3147 o.pageInfo = buildPageInfo(); |
3146 o.prevPageToken = "foo"; | 3148 o.prevPageToken = "foo"; |
3147 o.tokenPagination = buildTokenPagination(); | 3149 o.tokenPagination = buildTokenPagination(); |
3148 o.visitorId = "foo"; | 3150 o.visitorId = "foo"; |
3149 } | 3151 } |
3150 buildCounterPlaylistListResponse--; | 3152 buildCounterPlaylistListResponse--; |
3151 return o; | 3153 return o; |
3152 } | 3154 } |
3153 | 3155 |
3154 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3156 checkPlaylistListResponse(api.PlaylistListResponse o) { |
3155 buildCounterPlaylistListResponse++; | 3157 buildCounterPlaylistListResponse++; |
3156 if (buildCounterPlaylistListResponse < 3) { | 3158 if (buildCounterPlaylistListResponse < 3) { |
3157 unittest.expect(o.etag, unittest.equals('foo')); | 3159 unittest.expect(o.etag, unittest.equals('foo')); |
3158 unittest.expect(o.eventId, unittest.equals('foo')); | 3160 unittest.expect(o.eventId, unittest.equals('foo')); |
3159 checkUnnamed2223(o.items); | 3161 checkUnnamed630(o.items); |
3160 unittest.expect(o.kind, unittest.equals('foo')); | 3162 unittest.expect(o.kind, unittest.equals('foo')); |
3161 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3163 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3162 checkPageInfo(o.pageInfo); | 3164 checkPageInfo(o.pageInfo); |
3163 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3165 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3164 checkTokenPagination(o.tokenPagination); | 3166 checkTokenPagination(o.tokenPagination); |
3165 unittest.expect(o.visitorId, unittest.equals('foo')); | 3167 unittest.expect(o.visitorId, unittest.equals('foo')); |
3166 } | 3168 } |
3167 buildCounterPlaylistListResponse--; | 3169 buildCounterPlaylistListResponse--; |
3168 } | 3170 } |
3169 | 3171 |
(...skipping 30 matching lines...) Expand all Loading... |
3200 } | 3202 } |
3201 | 3203 |
3202 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3204 checkPlaylistPlayer(api.PlaylistPlayer o) { |
3203 buildCounterPlaylistPlayer++; | 3205 buildCounterPlaylistPlayer++; |
3204 if (buildCounterPlaylistPlayer < 3) { | 3206 if (buildCounterPlaylistPlayer < 3) { |
3205 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3207 unittest.expect(o.embedHtml, unittest.equals('foo')); |
3206 } | 3208 } |
3207 buildCounterPlaylistPlayer--; | 3209 buildCounterPlaylistPlayer--; |
3208 } | 3210 } |
3209 | 3211 |
3210 buildUnnamed2224() { | 3212 buildUnnamed631() { |
3211 var o = new core.List<core.String>(); | 3213 var o = new core.List<core.String>(); |
3212 o.add("foo"); | 3214 o.add("foo"); |
3213 o.add("foo"); | 3215 o.add("foo"); |
3214 return o; | 3216 return o; |
3215 } | 3217 } |
3216 | 3218 |
3217 checkUnnamed2224(core.List<core.String> o) { | 3219 checkUnnamed631(core.List<core.String> o) { |
3218 unittest.expect(o, unittest.hasLength(2)); | 3220 unittest.expect(o, unittest.hasLength(2)); |
3219 unittest.expect(o[0], unittest.equals('foo')); | 3221 unittest.expect(o[0], unittest.equals('foo')); |
3220 unittest.expect(o[1], unittest.equals('foo')); | 3222 unittest.expect(o[1], unittest.equals('foo')); |
3221 } | 3223 } |
3222 | 3224 |
3223 core.int buildCounterPlaylistSnippet = 0; | 3225 core.int buildCounterPlaylistSnippet = 0; |
3224 buildPlaylistSnippet() { | 3226 buildPlaylistSnippet() { |
3225 var o = new api.PlaylistSnippet(); | 3227 var o = new api.PlaylistSnippet(); |
3226 buildCounterPlaylistSnippet++; | 3228 buildCounterPlaylistSnippet++; |
3227 if (buildCounterPlaylistSnippet < 3) { | 3229 if (buildCounterPlaylistSnippet < 3) { |
3228 o.channelId = "foo"; | 3230 o.channelId = "foo"; |
3229 o.channelTitle = "foo"; | 3231 o.channelTitle = "foo"; |
3230 o.defaultLanguage = "foo"; | 3232 o.defaultLanguage = "foo"; |
3231 o.description = "foo"; | 3233 o.description = "foo"; |
3232 o.localized = buildPlaylistLocalization(); | 3234 o.localized = buildPlaylistLocalization(); |
3233 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3235 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
3234 o.tags = buildUnnamed2224(); | 3236 o.tags = buildUnnamed631(); |
3235 o.thumbnails = buildThumbnailDetails(); | 3237 o.thumbnails = buildThumbnailDetails(); |
3236 o.title = "foo"; | 3238 o.title = "foo"; |
3237 } | 3239 } |
3238 buildCounterPlaylistSnippet--; | 3240 buildCounterPlaylistSnippet--; |
3239 return o; | 3241 return o; |
3240 } | 3242 } |
3241 | 3243 |
3242 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3244 checkPlaylistSnippet(api.PlaylistSnippet o) { |
3243 buildCounterPlaylistSnippet++; | 3245 buildCounterPlaylistSnippet++; |
3244 if (buildCounterPlaylistSnippet < 3) { | 3246 if (buildCounterPlaylistSnippet < 3) { |
3245 unittest.expect(o.channelId, unittest.equals('foo')); | 3247 unittest.expect(o.channelId, unittest.equals('foo')); |
3246 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3248 unittest.expect(o.channelTitle, unittest.equals('foo')); |
3247 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3249 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
3248 unittest.expect(o.description, unittest.equals('foo')); | 3250 unittest.expect(o.description, unittest.equals('foo')); |
3249 checkPlaylistLocalization(o.localized); | 3251 checkPlaylistLocalization(o.localized); |
3250 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3252 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
3251 checkUnnamed2224(o.tags); | 3253 checkUnnamed631(o.tags); |
3252 checkThumbnailDetails(o.thumbnails); | 3254 checkThumbnailDetails(o.thumbnails); |
3253 unittest.expect(o.title, unittest.equals('foo')); | 3255 unittest.expect(o.title, unittest.equals('foo')); |
3254 } | 3256 } |
3255 buildCounterPlaylistSnippet--; | 3257 buildCounterPlaylistSnippet--; |
3256 } | 3258 } |
3257 | 3259 |
3258 core.int buildCounterPlaylistStatus = 0; | 3260 core.int buildCounterPlaylistStatus = 0; |
3259 buildPlaylistStatus() { | 3261 buildPlaylistStatus() { |
3260 var o = new api.PlaylistStatus(); | 3262 var o = new api.PlaylistStatus(); |
3261 buildCounterPlaylistStatus++; | 3263 buildCounterPlaylistStatus++; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3363 buildCounterResourceId++; | 3365 buildCounterResourceId++; |
3364 if (buildCounterResourceId < 3) { | 3366 if (buildCounterResourceId < 3) { |
3365 unittest.expect(o.channelId, unittest.equals('foo')); | 3367 unittest.expect(o.channelId, unittest.equals('foo')); |
3366 unittest.expect(o.kind, unittest.equals('foo')); | 3368 unittest.expect(o.kind, unittest.equals('foo')); |
3367 unittest.expect(o.playlistId, unittest.equals('foo')); | 3369 unittest.expect(o.playlistId, unittest.equals('foo')); |
3368 unittest.expect(o.videoId, unittest.equals('foo')); | 3370 unittest.expect(o.videoId, unittest.equals('foo')); |
3369 } | 3371 } |
3370 buildCounterResourceId--; | 3372 buildCounterResourceId--; |
3371 } | 3373 } |
3372 | 3374 |
3373 buildUnnamed2225() { | 3375 buildUnnamed632() { |
3374 var o = new core.List<api.SearchResult>(); | 3376 var o = new core.List<api.SearchResult>(); |
3375 o.add(buildSearchResult()); | 3377 o.add(buildSearchResult()); |
3376 o.add(buildSearchResult()); | 3378 o.add(buildSearchResult()); |
3377 return o; | 3379 return o; |
3378 } | 3380 } |
3379 | 3381 |
3380 checkUnnamed2225(core.List<api.SearchResult> o) { | 3382 checkUnnamed632(core.List<api.SearchResult> o) { |
3381 unittest.expect(o, unittest.hasLength(2)); | 3383 unittest.expect(o, unittest.hasLength(2)); |
3382 checkSearchResult(o[0]); | 3384 checkSearchResult(o[0]); |
3383 checkSearchResult(o[1]); | 3385 checkSearchResult(o[1]); |
3384 } | 3386 } |
3385 | 3387 |
3386 core.int buildCounterSearchListResponse = 0; | 3388 core.int buildCounterSearchListResponse = 0; |
3387 buildSearchListResponse() { | 3389 buildSearchListResponse() { |
3388 var o = new api.SearchListResponse(); | 3390 var o = new api.SearchListResponse(); |
3389 buildCounterSearchListResponse++; | 3391 buildCounterSearchListResponse++; |
3390 if (buildCounterSearchListResponse < 3) { | 3392 if (buildCounterSearchListResponse < 3) { |
3391 o.etag = "foo"; | 3393 o.etag = "foo"; |
3392 o.eventId = "foo"; | 3394 o.eventId = "foo"; |
3393 o.items = buildUnnamed2225(); | 3395 o.items = buildUnnamed632(); |
3394 o.kind = "foo"; | 3396 o.kind = "foo"; |
3395 o.nextPageToken = "foo"; | 3397 o.nextPageToken = "foo"; |
3396 o.pageInfo = buildPageInfo(); | 3398 o.pageInfo = buildPageInfo(); |
3397 o.prevPageToken = "foo"; | 3399 o.prevPageToken = "foo"; |
3398 o.tokenPagination = buildTokenPagination(); | 3400 o.tokenPagination = buildTokenPagination(); |
3399 o.visitorId = "foo"; | 3401 o.visitorId = "foo"; |
3400 } | 3402 } |
3401 buildCounterSearchListResponse--; | 3403 buildCounterSearchListResponse--; |
3402 return o; | 3404 return o; |
3403 } | 3405 } |
3404 | 3406 |
3405 checkSearchListResponse(api.SearchListResponse o) { | 3407 checkSearchListResponse(api.SearchListResponse o) { |
3406 buildCounterSearchListResponse++; | 3408 buildCounterSearchListResponse++; |
3407 if (buildCounterSearchListResponse < 3) { | 3409 if (buildCounterSearchListResponse < 3) { |
3408 unittest.expect(o.etag, unittest.equals('foo')); | 3410 unittest.expect(o.etag, unittest.equals('foo')); |
3409 unittest.expect(o.eventId, unittest.equals('foo')); | 3411 unittest.expect(o.eventId, unittest.equals('foo')); |
3410 checkUnnamed2225(o.items); | 3412 checkUnnamed632(o.items); |
3411 unittest.expect(o.kind, unittest.equals('foo')); | 3413 unittest.expect(o.kind, unittest.equals('foo')); |
3412 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3414 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3413 checkPageInfo(o.pageInfo); | 3415 checkPageInfo(o.pageInfo); |
3414 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3416 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3415 checkTokenPagination(o.tokenPagination); | 3417 checkTokenPagination(o.tokenPagination); |
3416 unittest.expect(o.visitorId, unittest.equals('foo')); | 3418 unittest.expect(o.visitorId, unittest.equals('foo')); |
3417 } | 3419 } |
3418 buildCounterSearchListResponse--; | 3420 buildCounterSearchListResponse--; |
3419 } | 3421 } |
3420 | 3422 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3519 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 3521 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
3520 buildCounterSubscriptionContentDetails++; | 3522 buildCounterSubscriptionContentDetails++; |
3521 if (buildCounterSubscriptionContentDetails < 3) { | 3523 if (buildCounterSubscriptionContentDetails < 3) { |
3522 unittest.expect(o.activityType, unittest.equals('foo')); | 3524 unittest.expect(o.activityType, unittest.equals('foo')); |
3523 unittest.expect(o.newItemCount, unittest.equals(42)); | 3525 unittest.expect(o.newItemCount, unittest.equals(42)); |
3524 unittest.expect(o.totalItemCount, unittest.equals(42)); | 3526 unittest.expect(o.totalItemCount, unittest.equals(42)); |
3525 } | 3527 } |
3526 buildCounterSubscriptionContentDetails--; | 3528 buildCounterSubscriptionContentDetails--; |
3527 } | 3529 } |
3528 | 3530 |
3529 buildUnnamed2226() { | 3531 buildUnnamed633() { |
3530 var o = new core.List<api.Subscription>(); | 3532 var o = new core.List<api.Subscription>(); |
3531 o.add(buildSubscription()); | 3533 o.add(buildSubscription()); |
3532 o.add(buildSubscription()); | 3534 o.add(buildSubscription()); |
3533 return o; | 3535 return o; |
3534 } | 3536 } |
3535 | 3537 |
3536 checkUnnamed2226(core.List<api.Subscription> o) { | 3538 checkUnnamed633(core.List<api.Subscription> o) { |
3537 unittest.expect(o, unittest.hasLength(2)); | 3539 unittest.expect(o, unittest.hasLength(2)); |
3538 checkSubscription(o[0]); | 3540 checkSubscription(o[0]); |
3539 checkSubscription(o[1]); | 3541 checkSubscription(o[1]); |
3540 } | 3542 } |
3541 | 3543 |
3542 core.int buildCounterSubscriptionListResponse = 0; | 3544 core.int buildCounterSubscriptionListResponse = 0; |
3543 buildSubscriptionListResponse() { | 3545 buildSubscriptionListResponse() { |
3544 var o = new api.SubscriptionListResponse(); | 3546 var o = new api.SubscriptionListResponse(); |
3545 buildCounterSubscriptionListResponse++; | 3547 buildCounterSubscriptionListResponse++; |
3546 if (buildCounterSubscriptionListResponse < 3) { | 3548 if (buildCounterSubscriptionListResponse < 3) { |
3547 o.etag = "foo"; | 3549 o.etag = "foo"; |
3548 o.eventId = "foo"; | 3550 o.eventId = "foo"; |
3549 o.items = buildUnnamed2226(); | 3551 o.items = buildUnnamed633(); |
3550 o.kind = "foo"; | 3552 o.kind = "foo"; |
3551 o.nextPageToken = "foo"; | 3553 o.nextPageToken = "foo"; |
3552 o.pageInfo = buildPageInfo(); | 3554 o.pageInfo = buildPageInfo(); |
3553 o.prevPageToken = "foo"; | 3555 o.prevPageToken = "foo"; |
3554 o.tokenPagination = buildTokenPagination(); | 3556 o.tokenPagination = buildTokenPagination(); |
3555 o.visitorId = "foo"; | 3557 o.visitorId = "foo"; |
3556 } | 3558 } |
3557 buildCounterSubscriptionListResponse--; | 3559 buildCounterSubscriptionListResponse--; |
3558 return o; | 3560 return o; |
3559 } | 3561 } |
3560 | 3562 |
3561 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 3563 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
3562 buildCounterSubscriptionListResponse++; | 3564 buildCounterSubscriptionListResponse++; |
3563 if (buildCounterSubscriptionListResponse < 3) { | 3565 if (buildCounterSubscriptionListResponse < 3) { |
3564 unittest.expect(o.etag, unittest.equals('foo')); | 3566 unittest.expect(o.etag, unittest.equals('foo')); |
3565 unittest.expect(o.eventId, unittest.equals('foo')); | 3567 unittest.expect(o.eventId, unittest.equals('foo')); |
3566 checkUnnamed2226(o.items); | 3568 checkUnnamed633(o.items); |
3567 unittest.expect(o.kind, unittest.equals('foo')); | 3569 unittest.expect(o.kind, unittest.equals('foo')); |
3568 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3570 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3569 checkPageInfo(o.pageInfo); | 3571 checkPageInfo(o.pageInfo); |
3570 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3572 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3571 checkTokenPagination(o.tokenPagination); | 3573 checkTokenPagination(o.tokenPagination); |
3572 unittest.expect(o.visitorId, unittest.equals('foo')); | 3574 unittest.expect(o.visitorId, unittest.equals('foo')); |
3573 } | 3575 } |
3574 buildCounterSubscriptionListResponse--; | 3576 buildCounterSubscriptionListResponse--; |
3575 } | 3577 } |
3576 | 3578 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3673 if (buildCounterThumbnailDetails < 3) { | 3675 if (buildCounterThumbnailDetails < 3) { |
3674 checkThumbnail(o.default_); | 3676 checkThumbnail(o.default_); |
3675 checkThumbnail(o.high); | 3677 checkThumbnail(o.high); |
3676 checkThumbnail(o.maxres); | 3678 checkThumbnail(o.maxres); |
3677 checkThumbnail(o.medium); | 3679 checkThumbnail(o.medium); |
3678 checkThumbnail(o.standard); | 3680 checkThumbnail(o.standard); |
3679 } | 3681 } |
3680 buildCounterThumbnailDetails--; | 3682 buildCounterThumbnailDetails--; |
3681 } | 3683 } |
3682 | 3684 |
3683 buildUnnamed2227() { | 3685 buildUnnamed634() { |
3684 var o = new core.List<api.ThumbnailDetails>(); | 3686 var o = new core.List<api.ThumbnailDetails>(); |
3685 o.add(buildThumbnailDetails()); | 3687 o.add(buildThumbnailDetails()); |
3686 o.add(buildThumbnailDetails()); | 3688 o.add(buildThumbnailDetails()); |
3687 return o; | 3689 return o; |
3688 } | 3690 } |
3689 | 3691 |
3690 checkUnnamed2227(core.List<api.ThumbnailDetails> o) { | 3692 checkUnnamed634(core.List<api.ThumbnailDetails> o) { |
3691 unittest.expect(o, unittest.hasLength(2)); | 3693 unittest.expect(o, unittest.hasLength(2)); |
3692 checkThumbnailDetails(o[0]); | 3694 checkThumbnailDetails(o[0]); |
3693 checkThumbnailDetails(o[1]); | 3695 checkThumbnailDetails(o[1]); |
3694 } | 3696 } |
3695 | 3697 |
3696 core.int buildCounterThumbnailSetResponse = 0; | 3698 core.int buildCounterThumbnailSetResponse = 0; |
3697 buildThumbnailSetResponse() { | 3699 buildThumbnailSetResponse() { |
3698 var o = new api.ThumbnailSetResponse(); | 3700 var o = new api.ThumbnailSetResponse(); |
3699 buildCounterThumbnailSetResponse++; | 3701 buildCounterThumbnailSetResponse++; |
3700 if (buildCounterThumbnailSetResponse < 3) { | 3702 if (buildCounterThumbnailSetResponse < 3) { |
3701 o.etag = "foo"; | 3703 o.etag = "foo"; |
3702 o.eventId = "foo"; | 3704 o.eventId = "foo"; |
3703 o.items = buildUnnamed2227(); | 3705 o.items = buildUnnamed634(); |
3704 o.kind = "foo"; | 3706 o.kind = "foo"; |
3705 o.visitorId = "foo"; | 3707 o.visitorId = "foo"; |
3706 } | 3708 } |
3707 buildCounterThumbnailSetResponse--; | 3709 buildCounterThumbnailSetResponse--; |
3708 return o; | 3710 return o; |
3709 } | 3711 } |
3710 | 3712 |
3711 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 3713 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
3712 buildCounterThumbnailSetResponse++; | 3714 buildCounterThumbnailSetResponse++; |
3713 if (buildCounterThumbnailSetResponse < 3) { | 3715 if (buildCounterThumbnailSetResponse < 3) { |
3714 unittest.expect(o.etag, unittest.equals('foo')); | 3716 unittest.expect(o.etag, unittest.equals('foo')); |
3715 unittest.expect(o.eventId, unittest.equals('foo')); | 3717 unittest.expect(o.eventId, unittest.equals('foo')); |
3716 checkUnnamed2227(o.items); | 3718 checkUnnamed634(o.items); |
3717 unittest.expect(o.kind, unittest.equals('foo')); | 3719 unittest.expect(o.kind, unittest.equals('foo')); |
3718 unittest.expect(o.visitorId, unittest.equals('foo')); | 3720 unittest.expect(o.visitorId, unittest.equals('foo')); |
3719 } | 3721 } |
3720 buildCounterThumbnailSetResponse--; | 3722 buildCounterThumbnailSetResponse--; |
3721 } | 3723 } |
3722 | 3724 |
3723 core.int buildCounterTokenPagination = 0; | 3725 core.int buildCounterTokenPagination = 0; |
3724 buildTokenPagination() { | 3726 buildTokenPagination() { |
3725 var o = new api.TokenPagination(); | 3727 var o = new api.TokenPagination(); |
3726 buildCounterTokenPagination++; | 3728 buildCounterTokenPagination++; |
3727 if (buildCounterTokenPagination < 3) { | 3729 if (buildCounterTokenPagination < 3) { |
3728 } | 3730 } |
3729 buildCounterTokenPagination--; | 3731 buildCounterTokenPagination--; |
3730 return o; | 3732 return o; |
3731 } | 3733 } |
3732 | 3734 |
3733 checkTokenPagination(api.TokenPagination o) { | 3735 checkTokenPagination(api.TokenPagination o) { |
3734 buildCounterTokenPagination++; | 3736 buildCounterTokenPagination++; |
3735 if (buildCounterTokenPagination < 3) { | 3737 if (buildCounterTokenPagination < 3) { |
3736 } | 3738 } |
3737 buildCounterTokenPagination--; | 3739 buildCounterTokenPagination--; |
3738 } | 3740 } |
3739 | 3741 |
3740 buildUnnamed2228() { | 3742 buildUnnamed635() { |
3741 var o = new core.Map<core.String, api.VideoLocalization>(); | 3743 var o = new core.Map<core.String, api.VideoLocalization>(); |
3742 o["x"] = buildVideoLocalization(); | 3744 o["x"] = buildVideoLocalization(); |
3743 o["y"] = buildVideoLocalization(); | 3745 o["y"] = buildVideoLocalization(); |
3744 return o; | 3746 return o; |
3745 } | 3747 } |
3746 | 3748 |
3747 checkUnnamed2228(core.Map<core.String, api.VideoLocalization> o) { | 3749 checkUnnamed635(core.Map<core.String, api.VideoLocalization> o) { |
3748 unittest.expect(o, unittest.hasLength(2)); | 3750 unittest.expect(o, unittest.hasLength(2)); |
3749 checkVideoLocalization(o["x"]); | 3751 checkVideoLocalization(o["x"]); |
3750 checkVideoLocalization(o["y"]); | 3752 checkVideoLocalization(o["y"]); |
3751 } | 3753 } |
3752 | 3754 |
3753 core.int buildCounterVideo = 0; | 3755 core.int buildCounterVideo = 0; |
3754 buildVideo() { | 3756 buildVideo() { |
3755 var o = new api.Video(); | 3757 var o = new api.Video(); |
3756 buildCounterVideo++; | 3758 buildCounterVideo++; |
3757 if (buildCounterVideo < 3) { | 3759 if (buildCounterVideo < 3) { |
3758 o.ageGating = buildVideoAgeGating(); | 3760 o.ageGating = buildVideoAgeGating(); |
3759 o.contentDetails = buildVideoContentDetails(); | 3761 o.contentDetails = buildVideoContentDetails(); |
3760 o.conversionPings = buildVideoConversionPings(); | 3762 o.conversionPings = buildVideoConversionPings(); |
3761 o.etag = "foo"; | 3763 o.etag = "foo"; |
3762 o.fileDetails = buildVideoFileDetails(); | 3764 o.fileDetails = buildVideoFileDetails(); |
3763 o.id = "foo"; | 3765 o.id = "foo"; |
3764 o.kind = "foo"; | 3766 o.kind = "foo"; |
3765 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 3767 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
3766 o.localizations = buildUnnamed2228(); | 3768 o.localizations = buildUnnamed635(); |
3767 o.monetizationDetails = buildVideoMonetizationDetails(); | 3769 o.monetizationDetails = buildVideoMonetizationDetails(); |
3768 o.player = buildVideoPlayer(); | 3770 o.player = buildVideoPlayer(); |
3769 o.processingDetails = buildVideoProcessingDetails(); | 3771 o.processingDetails = buildVideoProcessingDetails(); |
3770 o.projectDetails = buildVideoProjectDetails(); | 3772 o.projectDetails = buildVideoProjectDetails(); |
3771 o.recordingDetails = buildVideoRecordingDetails(); | 3773 o.recordingDetails = buildVideoRecordingDetails(); |
3772 o.snippet = buildVideoSnippet(); | 3774 o.snippet = buildVideoSnippet(); |
3773 o.statistics = buildVideoStatistics(); | 3775 o.statistics = buildVideoStatistics(); |
3774 o.status = buildVideoStatus(); | 3776 o.status = buildVideoStatus(); |
3775 o.suggestions = buildVideoSuggestions(); | 3777 o.suggestions = buildVideoSuggestions(); |
3776 o.topicDetails = buildVideoTopicDetails(); | 3778 o.topicDetails = buildVideoTopicDetails(); |
3777 } | 3779 } |
3778 buildCounterVideo--; | 3780 buildCounterVideo--; |
3779 return o; | 3781 return o; |
3780 } | 3782 } |
3781 | 3783 |
3782 checkVideo(api.Video o) { | 3784 checkVideo(api.Video o) { |
3783 buildCounterVideo++; | 3785 buildCounterVideo++; |
3784 if (buildCounterVideo < 3) { | 3786 if (buildCounterVideo < 3) { |
3785 checkVideoAgeGating(o.ageGating); | 3787 checkVideoAgeGating(o.ageGating); |
3786 checkVideoContentDetails(o.contentDetails); | 3788 checkVideoContentDetails(o.contentDetails); |
3787 checkVideoConversionPings(o.conversionPings); | 3789 checkVideoConversionPings(o.conversionPings); |
3788 unittest.expect(o.etag, unittest.equals('foo')); | 3790 unittest.expect(o.etag, unittest.equals('foo')); |
3789 checkVideoFileDetails(o.fileDetails); | 3791 checkVideoFileDetails(o.fileDetails); |
3790 unittest.expect(o.id, unittest.equals('foo')); | 3792 unittest.expect(o.id, unittest.equals('foo')); |
3791 unittest.expect(o.kind, unittest.equals('foo')); | 3793 unittest.expect(o.kind, unittest.equals('foo')); |
3792 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 3794 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
3793 checkUnnamed2228(o.localizations); | 3795 checkUnnamed635(o.localizations); |
3794 checkVideoMonetizationDetails(o.monetizationDetails); | 3796 checkVideoMonetizationDetails(o.monetizationDetails); |
3795 checkVideoPlayer(o.player); | 3797 checkVideoPlayer(o.player); |
3796 checkVideoProcessingDetails(o.processingDetails); | 3798 checkVideoProcessingDetails(o.processingDetails); |
3797 checkVideoProjectDetails(o.projectDetails); | 3799 checkVideoProjectDetails(o.projectDetails); |
3798 checkVideoRecordingDetails(o.recordingDetails); | 3800 checkVideoRecordingDetails(o.recordingDetails); |
3799 checkVideoSnippet(o.snippet); | 3801 checkVideoSnippet(o.snippet); |
3800 checkVideoStatistics(o.statistics); | 3802 checkVideoStatistics(o.statistics); |
3801 checkVideoStatus(o.status); | 3803 checkVideoStatus(o.status); |
3802 checkVideoSuggestions(o.suggestions); | 3804 checkVideoSuggestions(o.suggestions); |
3803 checkVideoTopicDetails(o.topicDetails); | 3805 checkVideoTopicDetails(o.topicDetails); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3850 buildCounterVideoAbuseReportReason++; | 3852 buildCounterVideoAbuseReportReason++; |
3851 if (buildCounterVideoAbuseReportReason < 3) { | 3853 if (buildCounterVideoAbuseReportReason < 3) { |
3852 unittest.expect(o.etag, unittest.equals('foo')); | 3854 unittest.expect(o.etag, unittest.equals('foo')); |
3853 unittest.expect(o.id, unittest.equals('foo')); | 3855 unittest.expect(o.id, unittest.equals('foo')); |
3854 unittest.expect(o.kind, unittest.equals('foo')); | 3856 unittest.expect(o.kind, unittest.equals('foo')); |
3855 checkVideoAbuseReportReasonSnippet(o.snippet); | 3857 checkVideoAbuseReportReasonSnippet(o.snippet); |
3856 } | 3858 } |
3857 buildCounterVideoAbuseReportReason--; | 3859 buildCounterVideoAbuseReportReason--; |
3858 } | 3860 } |
3859 | 3861 |
3860 buildUnnamed2229() { | 3862 buildUnnamed636() { |
3861 var o = new core.List<api.VideoAbuseReportReason>(); | 3863 var o = new core.List<api.VideoAbuseReportReason>(); |
3862 o.add(buildVideoAbuseReportReason()); | 3864 o.add(buildVideoAbuseReportReason()); |
3863 o.add(buildVideoAbuseReportReason()); | 3865 o.add(buildVideoAbuseReportReason()); |
3864 return o; | 3866 return o; |
3865 } | 3867 } |
3866 | 3868 |
3867 checkUnnamed2229(core.List<api.VideoAbuseReportReason> o) { | 3869 checkUnnamed636(core.List<api.VideoAbuseReportReason> o) { |
3868 unittest.expect(o, unittest.hasLength(2)); | 3870 unittest.expect(o, unittest.hasLength(2)); |
3869 checkVideoAbuseReportReason(o[0]); | 3871 checkVideoAbuseReportReason(o[0]); |
3870 checkVideoAbuseReportReason(o[1]); | 3872 checkVideoAbuseReportReason(o[1]); |
3871 } | 3873 } |
3872 | 3874 |
3873 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 3875 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
3874 buildVideoAbuseReportReasonListResponse() { | 3876 buildVideoAbuseReportReasonListResponse() { |
3875 var o = new api.VideoAbuseReportReasonListResponse(); | 3877 var o = new api.VideoAbuseReportReasonListResponse(); |
3876 buildCounterVideoAbuseReportReasonListResponse++; | 3878 buildCounterVideoAbuseReportReasonListResponse++; |
3877 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 3879 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
3878 o.etag = "foo"; | 3880 o.etag = "foo"; |
3879 o.eventId = "foo"; | 3881 o.eventId = "foo"; |
3880 o.items = buildUnnamed2229(); | 3882 o.items = buildUnnamed636(); |
3881 o.kind = "foo"; | 3883 o.kind = "foo"; |
3882 o.visitorId = "foo"; | 3884 o.visitorId = "foo"; |
3883 } | 3885 } |
3884 buildCounterVideoAbuseReportReasonListResponse--; | 3886 buildCounterVideoAbuseReportReasonListResponse--; |
3885 return o; | 3887 return o; |
3886 } | 3888 } |
3887 | 3889 |
3888 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 3890 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
3889 buildCounterVideoAbuseReportReasonListResponse++; | 3891 buildCounterVideoAbuseReportReasonListResponse++; |
3890 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 3892 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
3891 unittest.expect(o.etag, unittest.equals('foo')); | 3893 unittest.expect(o.etag, unittest.equals('foo')); |
3892 unittest.expect(o.eventId, unittest.equals('foo')); | 3894 unittest.expect(o.eventId, unittest.equals('foo')); |
3893 checkUnnamed2229(o.items); | 3895 checkUnnamed636(o.items); |
3894 unittest.expect(o.kind, unittest.equals('foo')); | 3896 unittest.expect(o.kind, unittest.equals('foo')); |
3895 unittest.expect(o.visitorId, unittest.equals('foo')); | 3897 unittest.expect(o.visitorId, unittest.equals('foo')); |
3896 } | 3898 } |
3897 buildCounterVideoAbuseReportReasonListResponse--; | 3899 buildCounterVideoAbuseReportReasonListResponse--; |
3898 } | 3900 } |
3899 | 3901 |
3900 buildUnnamed2230() { | 3902 buildUnnamed637() { |
3901 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 3903 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
3902 o.add(buildVideoAbuseReportSecondaryReason()); | 3904 o.add(buildVideoAbuseReportSecondaryReason()); |
3903 o.add(buildVideoAbuseReportSecondaryReason()); | 3905 o.add(buildVideoAbuseReportSecondaryReason()); |
3904 return o; | 3906 return o; |
3905 } | 3907 } |
3906 | 3908 |
3907 checkUnnamed2230(core.List<api.VideoAbuseReportSecondaryReason> o) { | 3909 checkUnnamed637(core.List<api.VideoAbuseReportSecondaryReason> o) { |
3908 unittest.expect(o, unittest.hasLength(2)); | 3910 unittest.expect(o, unittest.hasLength(2)); |
3909 checkVideoAbuseReportSecondaryReason(o[0]); | 3911 checkVideoAbuseReportSecondaryReason(o[0]); |
3910 checkVideoAbuseReportSecondaryReason(o[1]); | 3912 checkVideoAbuseReportSecondaryReason(o[1]); |
3911 } | 3913 } |
3912 | 3914 |
3913 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 3915 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
3914 buildVideoAbuseReportReasonSnippet() { | 3916 buildVideoAbuseReportReasonSnippet() { |
3915 var o = new api.VideoAbuseReportReasonSnippet(); | 3917 var o = new api.VideoAbuseReportReasonSnippet(); |
3916 buildCounterVideoAbuseReportReasonSnippet++; | 3918 buildCounterVideoAbuseReportReasonSnippet++; |
3917 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 3919 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
3918 o.label = "foo"; | 3920 o.label = "foo"; |
3919 o.secondaryReasons = buildUnnamed2230(); | 3921 o.secondaryReasons = buildUnnamed637(); |
3920 } | 3922 } |
3921 buildCounterVideoAbuseReportReasonSnippet--; | 3923 buildCounterVideoAbuseReportReasonSnippet--; |
3922 return o; | 3924 return o; |
3923 } | 3925 } |
3924 | 3926 |
3925 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 3927 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
3926 buildCounterVideoAbuseReportReasonSnippet++; | 3928 buildCounterVideoAbuseReportReasonSnippet++; |
3927 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 3929 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
3928 unittest.expect(o.label, unittest.equals('foo')); | 3930 unittest.expect(o.label, unittest.equals('foo')); |
3929 checkUnnamed2230(o.secondaryReasons); | 3931 checkUnnamed637(o.secondaryReasons); |
3930 } | 3932 } |
3931 buildCounterVideoAbuseReportReasonSnippet--; | 3933 buildCounterVideoAbuseReportReasonSnippet--; |
3932 } | 3934 } |
3933 | 3935 |
3934 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 3936 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
3935 buildVideoAbuseReportSecondaryReason() { | 3937 buildVideoAbuseReportSecondaryReason() { |
3936 var o = new api.VideoAbuseReportSecondaryReason(); | 3938 var o = new api.VideoAbuseReportSecondaryReason(); |
3937 buildCounterVideoAbuseReportSecondaryReason++; | 3939 buildCounterVideoAbuseReportSecondaryReason++; |
3938 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 3940 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
3939 o.id = "foo"; | 3941 o.id = "foo"; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3993 buildCounterVideoCategory++; | 3995 buildCounterVideoCategory++; |
3994 if (buildCounterVideoCategory < 3) { | 3996 if (buildCounterVideoCategory < 3) { |
3995 unittest.expect(o.etag, unittest.equals('foo')); | 3997 unittest.expect(o.etag, unittest.equals('foo')); |
3996 unittest.expect(o.id, unittest.equals('foo')); | 3998 unittest.expect(o.id, unittest.equals('foo')); |
3997 unittest.expect(o.kind, unittest.equals('foo')); | 3999 unittest.expect(o.kind, unittest.equals('foo')); |
3998 checkVideoCategorySnippet(o.snippet); | 4000 checkVideoCategorySnippet(o.snippet); |
3999 } | 4001 } |
4000 buildCounterVideoCategory--; | 4002 buildCounterVideoCategory--; |
4001 } | 4003 } |
4002 | 4004 |
4003 buildUnnamed2231() { | 4005 buildUnnamed638() { |
4004 var o = new core.List<api.VideoCategory>(); | 4006 var o = new core.List<api.VideoCategory>(); |
4005 o.add(buildVideoCategory()); | 4007 o.add(buildVideoCategory()); |
4006 o.add(buildVideoCategory()); | 4008 o.add(buildVideoCategory()); |
4007 return o; | 4009 return o; |
4008 } | 4010 } |
4009 | 4011 |
4010 checkUnnamed2231(core.List<api.VideoCategory> o) { | 4012 checkUnnamed638(core.List<api.VideoCategory> o) { |
4011 unittest.expect(o, unittest.hasLength(2)); | 4013 unittest.expect(o, unittest.hasLength(2)); |
4012 checkVideoCategory(o[0]); | 4014 checkVideoCategory(o[0]); |
4013 checkVideoCategory(o[1]); | 4015 checkVideoCategory(o[1]); |
4014 } | 4016 } |
4015 | 4017 |
4016 core.int buildCounterVideoCategoryListResponse = 0; | 4018 core.int buildCounterVideoCategoryListResponse = 0; |
4017 buildVideoCategoryListResponse() { | 4019 buildVideoCategoryListResponse() { |
4018 var o = new api.VideoCategoryListResponse(); | 4020 var o = new api.VideoCategoryListResponse(); |
4019 buildCounterVideoCategoryListResponse++; | 4021 buildCounterVideoCategoryListResponse++; |
4020 if (buildCounterVideoCategoryListResponse < 3) { | 4022 if (buildCounterVideoCategoryListResponse < 3) { |
4021 o.etag = "foo"; | 4023 o.etag = "foo"; |
4022 o.eventId = "foo"; | 4024 o.eventId = "foo"; |
4023 o.items = buildUnnamed2231(); | 4025 o.items = buildUnnamed638(); |
4024 o.kind = "foo"; | 4026 o.kind = "foo"; |
4025 o.nextPageToken = "foo"; | 4027 o.nextPageToken = "foo"; |
4026 o.pageInfo = buildPageInfo(); | 4028 o.pageInfo = buildPageInfo(); |
4027 o.prevPageToken = "foo"; | 4029 o.prevPageToken = "foo"; |
4028 o.tokenPagination = buildTokenPagination(); | 4030 o.tokenPagination = buildTokenPagination(); |
4029 o.visitorId = "foo"; | 4031 o.visitorId = "foo"; |
4030 } | 4032 } |
4031 buildCounterVideoCategoryListResponse--; | 4033 buildCounterVideoCategoryListResponse--; |
4032 return o; | 4034 return o; |
4033 } | 4035 } |
4034 | 4036 |
4035 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4037 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
4036 buildCounterVideoCategoryListResponse++; | 4038 buildCounterVideoCategoryListResponse++; |
4037 if (buildCounterVideoCategoryListResponse < 3) { | 4039 if (buildCounterVideoCategoryListResponse < 3) { |
4038 unittest.expect(o.etag, unittest.equals('foo')); | 4040 unittest.expect(o.etag, unittest.equals('foo')); |
4039 unittest.expect(o.eventId, unittest.equals('foo')); | 4041 unittest.expect(o.eventId, unittest.equals('foo')); |
4040 checkUnnamed2231(o.items); | 4042 checkUnnamed638(o.items); |
4041 unittest.expect(o.kind, unittest.equals('foo')); | 4043 unittest.expect(o.kind, unittest.equals('foo')); |
4042 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4044 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4043 checkPageInfo(o.pageInfo); | 4045 checkPageInfo(o.pageInfo); |
4044 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4046 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4045 checkTokenPagination(o.tokenPagination); | 4047 checkTokenPagination(o.tokenPagination); |
4046 unittest.expect(o.visitorId, unittest.equals('foo')); | 4048 unittest.expect(o.visitorId, unittest.equals('foo')); |
4047 } | 4049 } |
4048 buildCounterVideoCategoryListResponse--; | 4050 buildCounterVideoCategoryListResponse--; |
4049 } | 4051 } |
4050 | 4052 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4097 checkAccessPolicy(o.countryRestriction); | 4099 checkAccessPolicy(o.countryRestriction); |
4098 unittest.expect(o.definition, unittest.equals('foo')); | 4100 unittest.expect(o.definition, unittest.equals('foo')); |
4099 unittest.expect(o.dimension, unittest.equals('foo')); | 4101 unittest.expect(o.dimension, unittest.equals('foo')); |
4100 unittest.expect(o.duration, unittest.equals('foo')); | 4102 unittest.expect(o.duration, unittest.equals('foo')); |
4101 unittest.expect(o.licensedContent, unittest.isTrue); | 4103 unittest.expect(o.licensedContent, unittest.isTrue); |
4102 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 4104 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
4103 } | 4105 } |
4104 buildCounterVideoContentDetails--; | 4106 buildCounterVideoContentDetails--; |
4105 } | 4107 } |
4106 | 4108 |
4107 buildUnnamed2232() { | 4109 buildUnnamed639() { |
4108 var o = new core.List<core.String>(); | 4110 var o = new core.List<core.String>(); |
4109 o.add("foo"); | 4111 o.add("foo"); |
4110 o.add("foo"); | 4112 o.add("foo"); |
4111 return o; | 4113 return o; |
4112 } | 4114 } |
4113 | 4115 |
4114 checkUnnamed2232(core.List<core.String> o) { | 4116 checkUnnamed639(core.List<core.String> o) { |
4115 unittest.expect(o, unittest.hasLength(2)); | 4117 unittest.expect(o, unittest.hasLength(2)); |
4116 unittest.expect(o[0], unittest.equals('foo')); | 4118 unittest.expect(o[0], unittest.equals('foo')); |
4117 unittest.expect(o[1], unittest.equals('foo')); | 4119 unittest.expect(o[1], unittest.equals('foo')); |
4118 } | 4120 } |
4119 | 4121 |
4120 buildUnnamed2233() { | 4122 buildUnnamed640() { |
4121 var o = new core.List<core.String>(); | 4123 var o = new core.List<core.String>(); |
4122 o.add("foo"); | 4124 o.add("foo"); |
4123 o.add("foo"); | 4125 o.add("foo"); |
4124 return o; | 4126 return o; |
4125 } | 4127 } |
4126 | 4128 |
4127 checkUnnamed2233(core.List<core.String> o) { | 4129 checkUnnamed640(core.List<core.String> o) { |
4128 unittest.expect(o, unittest.hasLength(2)); | 4130 unittest.expect(o, unittest.hasLength(2)); |
4129 unittest.expect(o[0], unittest.equals('foo')); | 4131 unittest.expect(o[0], unittest.equals('foo')); |
4130 unittest.expect(o[1], unittest.equals('foo')); | 4132 unittest.expect(o[1], unittest.equals('foo')); |
4131 } | 4133 } |
4132 | 4134 |
4133 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 4135 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
4134 buildVideoContentDetailsRegionRestriction() { | 4136 buildVideoContentDetailsRegionRestriction() { |
4135 var o = new api.VideoContentDetailsRegionRestriction(); | 4137 var o = new api.VideoContentDetailsRegionRestriction(); |
4136 buildCounterVideoContentDetailsRegionRestriction++; | 4138 buildCounterVideoContentDetailsRegionRestriction++; |
4137 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4139 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
4138 o.allowed = buildUnnamed2232(); | 4140 o.allowed = buildUnnamed639(); |
4139 o.blocked = buildUnnamed2233(); | 4141 o.blocked = buildUnnamed640(); |
4140 } | 4142 } |
4141 buildCounterVideoContentDetailsRegionRestriction--; | 4143 buildCounterVideoContentDetailsRegionRestriction--; |
4142 return o; | 4144 return o; |
4143 } | 4145 } |
4144 | 4146 |
4145 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 4147 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
4146 buildCounterVideoContentDetailsRegionRestriction++; | 4148 buildCounterVideoContentDetailsRegionRestriction++; |
4147 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4149 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
4148 checkUnnamed2232(o.allowed); | 4150 checkUnnamed639(o.allowed); |
4149 checkUnnamed2233(o.blocked); | 4151 checkUnnamed640(o.blocked); |
4150 } | 4152 } |
4151 buildCounterVideoContentDetailsRegionRestriction--; | 4153 buildCounterVideoContentDetailsRegionRestriction--; |
4152 } | 4154 } |
4153 | 4155 |
4154 core.int buildCounterVideoConversionPing = 0; | 4156 core.int buildCounterVideoConversionPing = 0; |
4155 buildVideoConversionPing() { | 4157 buildVideoConversionPing() { |
4156 var o = new api.VideoConversionPing(); | 4158 var o = new api.VideoConversionPing(); |
4157 buildCounterVideoConversionPing++; | 4159 buildCounterVideoConversionPing++; |
4158 if (buildCounterVideoConversionPing < 3) { | 4160 if (buildCounterVideoConversionPing < 3) { |
4159 o.context = "foo"; | 4161 o.context = "foo"; |
4160 o.conversionUrl = "foo"; | 4162 o.conversionUrl = "foo"; |
4161 } | 4163 } |
4162 buildCounterVideoConversionPing--; | 4164 buildCounterVideoConversionPing--; |
4163 return o; | 4165 return o; |
4164 } | 4166 } |
4165 | 4167 |
4166 checkVideoConversionPing(api.VideoConversionPing o) { | 4168 checkVideoConversionPing(api.VideoConversionPing o) { |
4167 buildCounterVideoConversionPing++; | 4169 buildCounterVideoConversionPing++; |
4168 if (buildCounterVideoConversionPing < 3) { | 4170 if (buildCounterVideoConversionPing < 3) { |
4169 unittest.expect(o.context, unittest.equals('foo')); | 4171 unittest.expect(o.context, unittest.equals('foo')); |
4170 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 4172 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
4171 } | 4173 } |
4172 buildCounterVideoConversionPing--; | 4174 buildCounterVideoConversionPing--; |
4173 } | 4175 } |
4174 | 4176 |
4175 buildUnnamed2234() { | 4177 buildUnnamed641() { |
4176 var o = new core.List<api.VideoConversionPing>(); | 4178 var o = new core.List<api.VideoConversionPing>(); |
4177 o.add(buildVideoConversionPing()); | 4179 o.add(buildVideoConversionPing()); |
4178 o.add(buildVideoConversionPing()); | 4180 o.add(buildVideoConversionPing()); |
4179 return o; | 4181 return o; |
4180 } | 4182 } |
4181 | 4183 |
4182 checkUnnamed2234(core.List<api.VideoConversionPing> o) { | 4184 checkUnnamed641(core.List<api.VideoConversionPing> o) { |
4183 unittest.expect(o, unittest.hasLength(2)); | 4185 unittest.expect(o, unittest.hasLength(2)); |
4184 checkVideoConversionPing(o[0]); | 4186 checkVideoConversionPing(o[0]); |
4185 checkVideoConversionPing(o[1]); | 4187 checkVideoConversionPing(o[1]); |
4186 } | 4188 } |
4187 | 4189 |
4188 core.int buildCounterVideoConversionPings = 0; | 4190 core.int buildCounterVideoConversionPings = 0; |
4189 buildVideoConversionPings() { | 4191 buildVideoConversionPings() { |
4190 var o = new api.VideoConversionPings(); | 4192 var o = new api.VideoConversionPings(); |
4191 buildCounterVideoConversionPings++; | 4193 buildCounterVideoConversionPings++; |
4192 if (buildCounterVideoConversionPings < 3) { | 4194 if (buildCounterVideoConversionPings < 3) { |
4193 o.pings = buildUnnamed2234(); | 4195 o.pings = buildUnnamed641(); |
4194 } | 4196 } |
4195 buildCounterVideoConversionPings--; | 4197 buildCounterVideoConversionPings--; |
4196 return o; | 4198 return o; |
4197 } | 4199 } |
4198 | 4200 |
4199 checkVideoConversionPings(api.VideoConversionPings o) { | 4201 checkVideoConversionPings(api.VideoConversionPings o) { |
4200 buildCounterVideoConversionPings++; | 4202 buildCounterVideoConversionPings++; |
4201 if (buildCounterVideoConversionPings < 3) { | 4203 if (buildCounterVideoConversionPings < 3) { |
4202 checkUnnamed2234(o.pings); | 4204 checkUnnamed641(o.pings); |
4203 } | 4205 } |
4204 buildCounterVideoConversionPings--; | 4206 buildCounterVideoConversionPings--; |
4205 } | 4207 } |
4206 | 4208 |
4207 buildUnnamed2235() { | 4209 buildUnnamed642() { |
4208 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 4210 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
4209 o.add(buildVideoFileDetailsAudioStream()); | 4211 o.add(buildVideoFileDetailsAudioStream()); |
4210 o.add(buildVideoFileDetailsAudioStream()); | 4212 o.add(buildVideoFileDetailsAudioStream()); |
4211 return o; | 4213 return o; |
4212 } | 4214 } |
4213 | 4215 |
4214 checkUnnamed2235(core.List<api.VideoFileDetailsAudioStream> o) { | 4216 checkUnnamed642(core.List<api.VideoFileDetailsAudioStream> o) { |
4215 unittest.expect(o, unittest.hasLength(2)); | 4217 unittest.expect(o, unittest.hasLength(2)); |
4216 checkVideoFileDetailsAudioStream(o[0]); | 4218 checkVideoFileDetailsAudioStream(o[0]); |
4217 checkVideoFileDetailsAudioStream(o[1]); | 4219 checkVideoFileDetailsAudioStream(o[1]); |
4218 } | 4220 } |
4219 | 4221 |
4220 buildUnnamed2236() { | 4222 buildUnnamed643() { |
4221 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 4223 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
4222 o.add(buildVideoFileDetailsVideoStream()); | 4224 o.add(buildVideoFileDetailsVideoStream()); |
4223 o.add(buildVideoFileDetailsVideoStream()); | 4225 o.add(buildVideoFileDetailsVideoStream()); |
4224 return o; | 4226 return o; |
4225 } | 4227 } |
4226 | 4228 |
4227 checkUnnamed2236(core.List<api.VideoFileDetailsVideoStream> o) { | 4229 checkUnnamed643(core.List<api.VideoFileDetailsVideoStream> o) { |
4228 unittest.expect(o, unittest.hasLength(2)); | 4230 unittest.expect(o, unittest.hasLength(2)); |
4229 checkVideoFileDetailsVideoStream(o[0]); | 4231 checkVideoFileDetailsVideoStream(o[0]); |
4230 checkVideoFileDetailsVideoStream(o[1]); | 4232 checkVideoFileDetailsVideoStream(o[1]); |
4231 } | 4233 } |
4232 | 4234 |
4233 core.int buildCounterVideoFileDetails = 0; | 4235 core.int buildCounterVideoFileDetails = 0; |
4234 buildVideoFileDetails() { | 4236 buildVideoFileDetails() { |
4235 var o = new api.VideoFileDetails(); | 4237 var o = new api.VideoFileDetails(); |
4236 buildCounterVideoFileDetails++; | 4238 buildCounterVideoFileDetails++; |
4237 if (buildCounterVideoFileDetails < 3) { | 4239 if (buildCounterVideoFileDetails < 3) { |
4238 o.audioStreams = buildUnnamed2235(); | 4240 o.audioStreams = buildUnnamed642(); |
4239 o.bitrateBps = "foo"; | 4241 o.bitrateBps = "foo"; |
4240 o.container = "foo"; | 4242 o.container = "foo"; |
4241 o.creationTime = "foo"; | 4243 o.creationTime = "foo"; |
4242 o.durationMs = "foo"; | 4244 o.durationMs = "foo"; |
4243 o.fileName = "foo"; | 4245 o.fileName = "foo"; |
4244 o.fileSize = "foo"; | 4246 o.fileSize = "foo"; |
4245 o.fileType = "foo"; | 4247 o.fileType = "foo"; |
4246 o.recordingLocation = buildGeoPoint(); | 4248 o.recordingLocation = buildGeoPoint(); |
4247 o.videoStreams = buildUnnamed2236(); | 4249 o.videoStreams = buildUnnamed643(); |
4248 } | 4250 } |
4249 buildCounterVideoFileDetails--; | 4251 buildCounterVideoFileDetails--; |
4250 return o; | 4252 return o; |
4251 } | 4253 } |
4252 | 4254 |
4253 checkVideoFileDetails(api.VideoFileDetails o) { | 4255 checkVideoFileDetails(api.VideoFileDetails o) { |
4254 buildCounterVideoFileDetails++; | 4256 buildCounterVideoFileDetails++; |
4255 if (buildCounterVideoFileDetails < 3) { | 4257 if (buildCounterVideoFileDetails < 3) { |
4256 checkUnnamed2235(o.audioStreams); | 4258 checkUnnamed642(o.audioStreams); |
4257 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 4259 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
4258 unittest.expect(o.container, unittest.equals('foo')); | 4260 unittest.expect(o.container, unittest.equals('foo')); |
4259 unittest.expect(o.creationTime, unittest.equals('foo')); | 4261 unittest.expect(o.creationTime, unittest.equals('foo')); |
4260 unittest.expect(o.durationMs, unittest.equals('foo')); | 4262 unittest.expect(o.durationMs, unittest.equals('foo')); |
4261 unittest.expect(o.fileName, unittest.equals('foo')); | 4263 unittest.expect(o.fileName, unittest.equals('foo')); |
4262 unittest.expect(o.fileSize, unittest.equals('foo')); | 4264 unittest.expect(o.fileSize, unittest.equals('foo')); |
4263 unittest.expect(o.fileType, unittest.equals('foo')); | 4265 unittest.expect(o.fileType, unittest.equals('foo')); |
4264 checkGeoPoint(o.recordingLocation); | 4266 checkGeoPoint(o.recordingLocation); |
4265 checkUnnamed2236(o.videoStreams); | 4267 checkUnnamed643(o.videoStreams); |
4266 } | 4268 } |
4267 buildCounterVideoFileDetails--; | 4269 buildCounterVideoFileDetails--; |
4268 } | 4270 } |
4269 | 4271 |
4270 core.int buildCounterVideoFileDetailsAudioStream = 0; | 4272 core.int buildCounterVideoFileDetailsAudioStream = 0; |
4271 buildVideoFileDetailsAudioStream() { | 4273 buildVideoFileDetailsAudioStream() { |
4272 var o = new api.VideoFileDetailsAudioStream(); | 4274 var o = new api.VideoFileDetailsAudioStream(); |
4273 buildCounterVideoFileDetailsAudioStream++; | 4275 buildCounterVideoFileDetailsAudioStream++; |
4274 if (buildCounterVideoFileDetailsAudioStream < 3) { | 4276 if (buildCounterVideoFileDetailsAudioStream < 3) { |
4275 o.bitrateBps = "foo"; | 4277 o.bitrateBps = "foo"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4318 unittest.expect(o.codec, unittest.equals('foo')); | 4320 unittest.expect(o.codec, unittest.equals('foo')); |
4319 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 4321 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
4320 unittest.expect(o.heightPixels, unittest.equals(42)); | 4322 unittest.expect(o.heightPixels, unittest.equals(42)); |
4321 unittest.expect(o.rotation, unittest.equals('foo')); | 4323 unittest.expect(o.rotation, unittest.equals('foo')); |
4322 unittest.expect(o.vendor, unittest.equals('foo')); | 4324 unittest.expect(o.vendor, unittest.equals('foo')); |
4323 unittest.expect(o.widthPixels, unittest.equals(42)); | 4325 unittest.expect(o.widthPixels, unittest.equals(42)); |
4324 } | 4326 } |
4325 buildCounterVideoFileDetailsVideoStream--; | 4327 buildCounterVideoFileDetailsVideoStream--; |
4326 } | 4328 } |
4327 | 4329 |
4328 buildUnnamed2237() { | 4330 buildUnnamed644() { |
4329 var o = new core.List<api.VideoRating>(); | 4331 var o = new core.List<api.VideoRating>(); |
4330 o.add(buildVideoRating()); | 4332 o.add(buildVideoRating()); |
4331 o.add(buildVideoRating()); | 4333 o.add(buildVideoRating()); |
4332 return o; | 4334 return o; |
4333 } | 4335 } |
4334 | 4336 |
4335 checkUnnamed2237(core.List<api.VideoRating> o) { | 4337 checkUnnamed644(core.List<api.VideoRating> o) { |
4336 unittest.expect(o, unittest.hasLength(2)); | 4338 unittest.expect(o, unittest.hasLength(2)); |
4337 checkVideoRating(o[0]); | 4339 checkVideoRating(o[0]); |
4338 checkVideoRating(o[1]); | 4340 checkVideoRating(o[1]); |
4339 } | 4341 } |
4340 | 4342 |
4341 core.int buildCounterVideoGetRatingResponse = 0; | 4343 core.int buildCounterVideoGetRatingResponse = 0; |
4342 buildVideoGetRatingResponse() { | 4344 buildVideoGetRatingResponse() { |
4343 var o = new api.VideoGetRatingResponse(); | 4345 var o = new api.VideoGetRatingResponse(); |
4344 buildCounterVideoGetRatingResponse++; | 4346 buildCounterVideoGetRatingResponse++; |
4345 if (buildCounterVideoGetRatingResponse < 3) { | 4347 if (buildCounterVideoGetRatingResponse < 3) { |
4346 o.etag = "foo"; | 4348 o.etag = "foo"; |
4347 o.eventId = "foo"; | 4349 o.eventId = "foo"; |
4348 o.items = buildUnnamed2237(); | 4350 o.items = buildUnnamed644(); |
4349 o.kind = "foo"; | 4351 o.kind = "foo"; |
4350 o.visitorId = "foo"; | 4352 o.visitorId = "foo"; |
4351 } | 4353 } |
4352 buildCounterVideoGetRatingResponse--; | 4354 buildCounterVideoGetRatingResponse--; |
4353 return o; | 4355 return o; |
4354 } | 4356 } |
4355 | 4357 |
4356 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 4358 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
4357 buildCounterVideoGetRatingResponse++; | 4359 buildCounterVideoGetRatingResponse++; |
4358 if (buildCounterVideoGetRatingResponse < 3) { | 4360 if (buildCounterVideoGetRatingResponse < 3) { |
4359 unittest.expect(o.etag, unittest.equals('foo')); | 4361 unittest.expect(o.etag, unittest.equals('foo')); |
4360 unittest.expect(o.eventId, unittest.equals('foo')); | 4362 unittest.expect(o.eventId, unittest.equals('foo')); |
4361 checkUnnamed2237(o.items); | 4363 checkUnnamed644(o.items); |
4362 unittest.expect(o.kind, unittest.equals('foo')); | 4364 unittest.expect(o.kind, unittest.equals('foo')); |
4363 unittest.expect(o.visitorId, unittest.equals('foo')); | 4365 unittest.expect(o.visitorId, unittest.equals('foo')); |
4364 } | 4366 } |
4365 buildCounterVideoGetRatingResponse--; | 4367 buildCounterVideoGetRatingResponse--; |
4366 } | 4368 } |
4367 | 4369 |
4368 buildUnnamed2238() { | 4370 buildUnnamed645() { |
4369 var o = new core.List<api.Video>(); | 4371 var o = new core.List<api.Video>(); |
4370 o.add(buildVideo()); | 4372 o.add(buildVideo()); |
4371 o.add(buildVideo()); | 4373 o.add(buildVideo()); |
4372 return o; | 4374 return o; |
4373 } | 4375 } |
4374 | 4376 |
4375 checkUnnamed2238(core.List<api.Video> o) { | 4377 checkUnnamed645(core.List<api.Video> o) { |
4376 unittest.expect(o, unittest.hasLength(2)); | 4378 unittest.expect(o, unittest.hasLength(2)); |
4377 checkVideo(o[0]); | 4379 checkVideo(o[0]); |
4378 checkVideo(o[1]); | 4380 checkVideo(o[1]); |
4379 } | 4381 } |
4380 | 4382 |
4381 core.int buildCounterVideoListResponse = 0; | 4383 core.int buildCounterVideoListResponse = 0; |
4382 buildVideoListResponse() { | 4384 buildVideoListResponse() { |
4383 var o = new api.VideoListResponse(); | 4385 var o = new api.VideoListResponse(); |
4384 buildCounterVideoListResponse++; | 4386 buildCounterVideoListResponse++; |
4385 if (buildCounterVideoListResponse < 3) { | 4387 if (buildCounterVideoListResponse < 3) { |
4386 o.etag = "foo"; | 4388 o.etag = "foo"; |
4387 o.eventId = "foo"; | 4389 o.eventId = "foo"; |
4388 o.items = buildUnnamed2238(); | 4390 o.items = buildUnnamed645(); |
4389 o.kind = "foo"; | 4391 o.kind = "foo"; |
4390 o.nextPageToken = "foo"; | 4392 o.nextPageToken = "foo"; |
4391 o.pageInfo = buildPageInfo(); | 4393 o.pageInfo = buildPageInfo(); |
4392 o.prevPageToken = "foo"; | 4394 o.prevPageToken = "foo"; |
4393 o.tokenPagination = buildTokenPagination(); | 4395 o.tokenPagination = buildTokenPagination(); |
4394 o.visitorId = "foo"; | 4396 o.visitorId = "foo"; |
4395 } | 4397 } |
4396 buildCounterVideoListResponse--; | 4398 buildCounterVideoListResponse--; |
4397 return o; | 4399 return o; |
4398 } | 4400 } |
4399 | 4401 |
4400 checkVideoListResponse(api.VideoListResponse o) { | 4402 checkVideoListResponse(api.VideoListResponse o) { |
4401 buildCounterVideoListResponse++; | 4403 buildCounterVideoListResponse++; |
4402 if (buildCounterVideoListResponse < 3) { | 4404 if (buildCounterVideoListResponse < 3) { |
4403 unittest.expect(o.etag, unittest.equals('foo')); | 4405 unittest.expect(o.etag, unittest.equals('foo')); |
4404 unittest.expect(o.eventId, unittest.equals('foo')); | 4406 unittest.expect(o.eventId, unittest.equals('foo')); |
4405 checkUnnamed2238(o.items); | 4407 checkUnnamed645(o.items); |
4406 unittest.expect(o.kind, unittest.equals('foo')); | 4408 unittest.expect(o.kind, unittest.equals('foo')); |
4407 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4409 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
4408 checkPageInfo(o.pageInfo); | 4410 checkPageInfo(o.pageInfo); |
4409 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4411 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
4410 checkTokenPagination(o.tokenPagination); | 4412 checkTokenPagination(o.tokenPagination); |
4411 unittest.expect(o.visitorId, unittest.equals('foo')); | 4413 unittest.expect(o.visitorId, unittest.equals('foo')); |
4412 } | 4414 } |
4413 buildCounterVideoListResponse--; | 4415 buildCounterVideoListResponse--; |
4414 } | 4416 } |
4415 | 4417 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4548 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 4550 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
4549 buildCounterVideoProcessingDetailsProcessingProgress++; | 4551 buildCounterVideoProcessingDetailsProcessingProgress++; |
4550 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 4552 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
4551 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 4553 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
4552 unittest.expect(o.partsTotal, unittest.equals('foo')); | 4554 unittest.expect(o.partsTotal, unittest.equals('foo')); |
4553 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 4555 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
4554 } | 4556 } |
4555 buildCounterVideoProcessingDetailsProcessingProgress--; | 4557 buildCounterVideoProcessingDetailsProcessingProgress--; |
4556 } | 4558 } |
4557 | 4559 |
4558 buildUnnamed2239() { | 4560 buildUnnamed646() { |
4559 var o = new core.List<core.String>(); | 4561 var o = new core.List<core.String>(); |
4560 o.add("foo"); | 4562 o.add("foo"); |
4561 o.add("foo"); | 4563 o.add("foo"); |
4562 return o; | 4564 return o; |
4563 } | 4565 } |
4564 | 4566 |
4565 checkUnnamed2239(core.List<core.String> o) { | 4567 checkUnnamed646(core.List<core.String> o) { |
4566 unittest.expect(o, unittest.hasLength(2)); | 4568 unittest.expect(o, unittest.hasLength(2)); |
4567 unittest.expect(o[0], unittest.equals('foo')); | 4569 unittest.expect(o[0], unittest.equals('foo')); |
4568 unittest.expect(o[1], unittest.equals('foo')); | 4570 unittest.expect(o[1], unittest.equals('foo')); |
4569 } | 4571 } |
4570 | 4572 |
4571 core.int buildCounterVideoProjectDetails = 0; | 4573 core.int buildCounterVideoProjectDetails = 0; |
4572 buildVideoProjectDetails() { | 4574 buildVideoProjectDetails() { |
4573 var o = new api.VideoProjectDetails(); | 4575 var o = new api.VideoProjectDetails(); |
4574 buildCounterVideoProjectDetails++; | 4576 buildCounterVideoProjectDetails++; |
4575 if (buildCounterVideoProjectDetails < 3) { | 4577 if (buildCounterVideoProjectDetails < 3) { |
4576 o.tags = buildUnnamed2239(); | 4578 o.tags = buildUnnamed646(); |
4577 } | 4579 } |
4578 buildCounterVideoProjectDetails--; | 4580 buildCounterVideoProjectDetails--; |
4579 return o; | 4581 return o; |
4580 } | 4582 } |
4581 | 4583 |
4582 checkVideoProjectDetails(api.VideoProjectDetails o) { | 4584 checkVideoProjectDetails(api.VideoProjectDetails o) { |
4583 buildCounterVideoProjectDetails++; | 4585 buildCounterVideoProjectDetails++; |
4584 if (buildCounterVideoProjectDetails < 3) { | 4586 if (buildCounterVideoProjectDetails < 3) { |
4585 checkUnnamed2239(o.tags); | 4587 checkUnnamed646(o.tags); |
4586 } | 4588 } |
4587 buildCounterVideoProjectDetails--; | 4589 buildCounterVideoProjectDetails--; |
4588 } | 4590 } |
4589 | 4591 |
4590 core.int buildCounterVideoRating = 0; | 4592 core.int buildCounterVideoRating = 0; |
4591 buildVideoRating() { | 4593 buildVideoRating() { |
4592 var o = new api.VideoRating(); | 4594 var o = new api.VideoRating(); |
4593 buildCounterVideoRating++; | 4595 buildCounterVideoRating++; |
4594 if (buildCounterVideoRating < 3) { | 4596 if (buildCounterVideoRating < 3) { |
4595 o.rating = "foo"; | 4597 o.rating = "foo"; |
(...skipping 28 matching lines...) Expand all Loading... |
4624 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 4626 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
4625 buildCounterVideoRecordingDetails++; | 4627 buildCounterVideoRecordingDetails++; |
4626 if (buildCounterVideoRecordingDetails < 3) { | 4628 if (buildCounterVideoRecordingDetails < 3) { |
4627 checkGeoPoint(o.location); | 4629 checkGeoPoint(o.location); |
4628 unittest.expect(o.locationDescription, unittest.equals('foo')); | 4630 unittest.expect(o.locationDescription, unittest.equals('foo')); |
4629 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 4631 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
4630 } | 4632 } |
4631 buildCounterVideoRecordingDetails--; | 4633 buildCounterVideoRecordingDetails--; |
4632 } | 4634 } |
4633 | 4635 |
4634 buildUnnamed2240() { | 4636 buildUnnamed647() { |
4635 var o = new core.List<core.String>(); | 4637 var o = new core.List<core.String>(); |
4636 o.add("foo"); | 4638 o.add("foo"); |
4637 o.add("foo"); | 4639 o.add("foo"); |
4638 return o; | 4640 return o; |
4639 } | 4641 } |
4640 | 4642 |
4641 checkUnnamed2240(core.List<core.String> o) { | 4643 checkUnnamed647(core.List<core.String> o) { |
4642 unittest.expect(o, unittest.hasLength(2)); | 4644 unittest.expect(o, unittest.hasLength(2)); |
4643 unittest.expect(o[0], unittest.equals('foo')); | 4645 unittest.expect(o[0], unittest.equals('foo')); |
4644 unittest.expect(o[1], unittest.equals('foo')); | 4646 unittest.expect(o[1], unittest.equals('foo')); |
4645 } | 4647 } |
4646 | 4648 |
4647 core.int buildCounterVideoSnippet = 0; | 4649 core.int buildCounterVideoSnippet = 0; |
4648 buildVideoSnippet() { | 4650 buildVideoSnippet() { |
4649 var o = new api.VideoSnippet(); | 4651 var o = new api.VideoSnippet(); |
4650 buildCounterVideoSnippet++; | 4652 buildCounterVideoSnippet++; |
4651 if (buildCounterVideoSnippet < 3) { | 4653 if (buildCounterVideoSnippet < 3) { |
4652 o.categoryId = "foo"; | 4654 o.categoryId = "foo"; |
4653 o.channelId = "foo"; | 4655 o.channelId = "foo"; |
4654 o.channelTitle = "foo"; | 4656 o.channelTitle = "foo"; |
4655 o.defaultAudioLanguage = "foo"; | 4657 o.defaultAudioLanguage = "foo"; |
4656 o.defaultLanguage = "foo"; | 4658 o.defaultLanguage = "foo"; |
4657 o.description = "foo"; | 4659 o.description = "foo"; |
4658 o.liveBroadcastContent = "foo"; | 4660 o.liveBroadcastContent = "foo"; |
4659 o.localized = buildVideoLocalization(); | 4661 o.localized = buildVideoLocalization(); |
4660 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 4662 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
4661 o.tags = buildUnnamed2240(); | 4663 o.tags = buildUnnamed647(); |
4662 o.thumbnails = buildThumbnailDetails(); | 4664 o.thumbnails = buildThumbnailDetails(); |
4663 o.title = "foo"; | 4665 o.title = "foo"; |
4664 } | 4666 } |
4665 buildCounterVideoSnippet--; | 4667 buildCounterVideoSnippet--; |
4666 return o; | 4668 return o; |
4667 } | 4669 } |
4668 | 4670 |
4669 checkVideoSnippet(api.VideoSnippet o) { | 4671 checkVideoSnippet(api.VideoSnippet o) { |
4670 buildCounterVideoSnippet++; | 4672 buildCounterVideoSnippet++; |
4671 if (buildCounterVideoSnippet < 3) { | 4673 if (buildCounterVideoSnippet < 3) { |
4672 unittest.expect(o.categoryId, unittest.equals('foo')); | 4674 unittest.expect(o.categoryId, unittest.equals('foo')); |
4673 unittest.expect(o.channelId, unittest.equals('foo')); | 4675 unittest.expect(o.channelId, unittest.equals('foo')); |
4674 unittest.expect(o.channelTitle, unittest.equals('foo')); | 4676 unittest.expect(o.channelTitle, unittest.equals('foo')); |
4675 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 4677 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
4676 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 4678 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
4677 unittest.expect(o.description, unittest.equals('foo')); | 4679 unittest.expect(o.description, unittest.equals('foo')); |
4678 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 4680 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
4679 checkVideoLocalization(o.localized); | 4681 checkVideoLocalization(o.localized); |
4680 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 4682 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
4681 checkUnnamed2240(o.tags); | 4683 checkUnnamed647(o.tags); |
4682 checkThumbnailDetails(o.thumbnails); | 4684 checkThumbnailDetails(o.thumbnails); |
4683 unittest.expect(o.title, unittest.equals('foo')); | 4685 unittest.expect(o.title, unittest.equals('foo')); |
4684 } | 4686 } |
4685 buildCounterVideoSnippet--; | 4687 buildCounterVideoSnippet--; |
4686 } | 4688 } |
4687 | 4689 |
4688 core.int buildCounterVideoStatistics = 0; | 4690 core.int buildCounterVideoStatistics = 0; |
4689 buildVideoStatistics() { | 4691 buildVideoStatistics() { |
4690 var o = new api.VideoStatistics(); | 4692 var o = new api.VideoStatistics(); |
4691 buildCounterVideoStatistics++; | 4693 buildCounterVideoStatistics++; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4738 unittest.expect(o.license, unittest.equals('foo')); | 4740 unittest.expect(o.license, unittest.equals('foo')); |
4739 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 4741 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
4740 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 4742 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
4741 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 4743 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
4742 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 4744 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
4743 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 4745 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
4744 } | 4746 } |
4745 buildCounterVideoStatus--; | 4747 buildCounterVideoStatus--; |
4746 } | 4748 } |
4747 | 4749 |
4748 buildUnnamed2241() { | 4750 buildUnnamed648() { |
4749 var o = new core.List<core.String>(); | 4751 var o = new core.List<core.String>(); |
4750 o.add("foo"); | 4752 o.add("foo"); |
4751 o.add("foo"); | 4753 o.add("foo"); |
4752 return o; | 4754 return o; |
4753 } | 4755 } |
4754 | 4756 |
4755 checkUnnamed2241(core.List<core.String> o) { | 4757 checkUnnamed648(core.List<core.String> o) { |
4756 unittest.expect(o, unittest.hasLength(2)); | 4758 unittest.expect(o, unittest.hasLength(2)); |
4757 unittest.expect(o[0], unittest.equals('foo')); | 4759 unittest.expect(o[0], unittest.equals('foo')); |
4758 unittest.expect(o[1], unittest.equals('foo')); | 4760 unittest.expect(o[1], unittest.equals('foo')); |
4759 } | 4761 } |
4760 | 4762 |
4761 buildUnnamed2242() { | 4763 buildUnnamed649() { |
4762 var o = new core.List<core.String>(); | 4764 var o = new core.List<core.String>(); |
4763 o.add("foo"); | 4765 o.add("foo"); |
4764 o.add("foo"); | 4766 o.add("foo"); |
4765 return o; | 4767 return o; |
4766 } | 4768 } |
4767 | 4769 |
4768 checkUnnamed2242(core.List<core.String> o) { | 4770 checkUnnamed649(core.List<core.String> o) { |
4769 unittest.expect(o, unittest.hasLength(2)); | 4771 unittest.expect(o, unittest.hasLength(2)); |
4770 unittest.expect(o[0], unittest.equals('foo')); | 4772 unittest.expect(o[0], unittest.equals('foo')); |
4771 unittest.expect(o[1], unittest.equals('foo')); | 4773 unittest.expect(o[1], unittest.equals('foo')); |
4772 } | 4774 } |
4773 | 4775 |
4774 buildUnnamed2243() { | 4776 buildUnnamed650() { |
4775 var o = new core.List<core.String>(); | 4777 var o = new core.List<core.String>(); |
4776 o.add("foo"); | 4778 o.add("foo"); |
4777 o.add("foo"); | 4779 o.add("foo"); |
4778 return o; | 4780 return o; |
4779 } | 4781 } |
4780 | 4782 |
4781 checkUnnamed2243(core.List<core.String> o) { | 4783 checkUnnamed650(core.List<core.String> o) { |
4782 unittest.expect(o, unittest.hasLength(2)); | 4784 unittest.expect(o, unittest.hasLength(2)); |
4783 unittest.expect(o[0], unittest.equals('foo')); | 4785 unittest.expect(o[0], unittest.equals('foo')); |
4784 unittest.expect(o[1], unittest.equals('foo')); | 4786 unittest.expect(o[1], unittest.equals('foo')); |
4785 } | 4787 } |
4786 | 4788 |
4787 buildUnnamed2244() { | 4789 buildUnnamed651() { |
4788 var o = new core.List<core.String>(); | 4790 var o = new core.List<core.String>(); |
4789 o.add("foo"); | 4791 o.add("foo"); |
4790 o.add("foo"); | 4792 o.add("foo"); |
4791 return o; | 4793 return o; |
4792 } | 4794 } |
4793 | 4795 |
4794 checkUnnamed2244(core.List<core.String> o) { | 4796 checkUnnamed651(core.List<core.String> o) { |
4795 unittest.expect(o, unittest.hasLength(2)); | 4797 unittest.expect(o, unittest.hasLength(2)); |
4796 unittest.expect(o[0], unittest.equals('foo')); | 4798 unittest.expect(o[0], unittest.equals('foo')); |
4797 unittest.expect(o[1], unittest.equals('foo')); | 4799 unittest.expect(o[1], unittest.equals('foo')); |
4798 } | 4800 } |
4799 | 4801 |
4800 buildUnnamed2245() { | 4802 buildUnnamed652() { |
4801 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 4803 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
4802 o.add(buildVideoSuggestionsTagSuggestion()); | 4804 o.add(buildVideoSuggestionsTagSuggestion()); |
4803 o.add(buildVideoSuggestionsTagSuggestion()); | 4805 o.add(buildVideoSuggestionsTagSuggestion()); |
4804 return o; | 4806 return o; |
4805 } | 4807 } |
4806 | 4808 |
4807 checkUnnamed2245(core.List<api.VideoSuggestionsTagSuggestion> o) { | 4809 checkUnnamed652(core.List<api.VideoSuggestionsTagSuggestion> o) { |
4808 unittest.expect(o, unittest.hasLength(2)); | 4810 unittest.expect(o, unittest.hasLength(2)); |
4809 checkVideoSuggestionsTagSuggestion(o[0]); | 4811 checkVideoSuggestionsTagSuggestion(o[0]); |
4810 checkVideoSuggestionsTagSuggestion(o[1]); | 4812 checkVideoSuggestionsTagSuggestion(o[1]); |
4811 } | 4813 } |
4812 | 4814 |
4813 core.int buildCounterVideoSuggestions = 0; | 4815 core.int buildCounterVideoSuggestions = 0; |
4814 buildVideoSuggestions() { | 4816 buildVideoSuggestions() { |
4815 var o = new api.VideoSuggestions(); | 4817 var o = new api.VideoSuggestions(); |
4816 buildCounterVideoSuggestions++; | 4818 buildCounterVideoSuggestions++; |
4817 if (buildCounterVideoSuggestions < 3) { | 4819 if (buildCounterVideoSuggestions < 3) { |
4818 o.editorSuggestions = buildUnnamed2241(); | 4820 o.editorSuggestions = buildUnnamed648(); |
4819 o.processingErrors = buildUnnamed2242(); | 4821 o.processingErrors = buildUnnamed649(); |
4820 o.processingHints = buildUnnamed2243(); | 4822 o.processingHints = buildUnnamed650(); |
4821 o.processingWarnings = buildUnnamed2244(); | 4823 o.processingWarnings = buildUnnamed651(); |
4822 o.tagSuggestions = buildUnnamed2245(); | 4824 o.tagSuggestions = buildUnnamed652(); |
4823 } | 4825 } |
4824 buildCounterVideoSuggestions--; | 4826 buildCounterVideoSuggestions--; |
4825 return o; | 4827 return o; |
4826 } | 4828 } |
4827 | 4829 |
4828 checkVideoSuggestions(api.VideoSuggestions o) { | 4830 checkVideoSuggestions(api.VideoSuggestions o) { |
4829 buildCounterVideoSuggestions++; | 4831 buildCounterVideoSuggestions++; |
4830 if (buildCounterVideoSuggestions < 3) { | 4832 if (buildCounterVideoSuggestions < 3) { |
4831 checkUnnamed2241(o.editorSuggestions); | 4833 checkUnnamed648(o.editorSuggestions); |
4832 checkUnnamed2242(o.processingErrors); | 4834 checkUnnamed649(o.processingErrors); |
4833 checkUnnamed2243(o.processingHints); | 4835 checkUnnamed650(o.processingHints); |
4834 checkUnnamed2244(o.processingWarnings); | 4836 checkUnnamed651(o.processingWarnings); |
4835 checkUnnamed2245(o.tagSuggestions); | 4837 checkUnnamed652(o.tagSuggestions); |
4836 } | 4838 } |
4837 buildCounterVideoSuggestions--; | 4839 buildCounterVideoSuggestions--; |
4838 } | 4840 } |
4839 | 4841 |
4840 buildUnnamed2246() { | 4842 buildUnnamed653() { |
4841 var o = new core.List<core.String>(); | 4843 var o = new core.List<core.String>(); |
4842 o.add("foo"); | 4844 o.add("foo"); |
4843 o.add("foo"); | 4845 o.add("foo"); |
4844 return o; | 4846 return o; |
4845 } | 4847 } |
4846 | 4848 |
4847 checkUnnamed2246(core.List<core.String> o) { | 4849 checkUnnamed653(core.List<core.String> o) { |
4848 unittest.expect(o, unittest.hasLength(2)); | 4850 unittest.expect(o, unittest.hasLength(2)); |
4849 unittest.expect(o[0], unittest.equals('foo')); | 4851 unittest.expect(o[0], unittest.equals('foo')); |
4850 unittest.expect(o[1], unittest.equals('foo')); | 4852 unittest.expect(o[1], unittest.equals('foo')); |
4851 } | 4853 } |
4852 | 4854 |
4853 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 4855 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
4854 buildVideoSuggestionsTagSuggestion() { | 4856 buildVideoSuggestionsTagSuggestion() { |
4855 var o = new api.VideoSuggestionsTagSuggestion(); | 4857 var o = new api.VideoSuggestionsTagSuggestion(); |
4856 buildCounterVideoSuggestionsTagSuggestion++; | 4858 buildCounterVideoSuggestionsTagSuggestion++; |
4857 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 4859 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
4858 o.categoryRestricts = buildUnnamed2246(); | 4860 o.categoryRestricts = buildUnnamed653(); |
4859 o.tag = "foo"; | 4861 o.tag = "foo"; |
4860 } | 4862 } |
4861 buildCounterVideoSuggestionsTagSuggestion--; | 4863 buildCounterVideoSuggestionsTagSuggestion--; |
4862 return o; | 4864 return o; |
4863 } | 4865 } |
4864 | 4866 |
4865 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 4867 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
4866 buildCounterVideoSuggestionsTagSuggestion++; | 4868 buildCounterVideoSuggestionsTagSuggestion++; |
4867 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 4869 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
4868 checkUnnamed2246(o.categoryRestricts); | 4870 checkUnnamed653(o.categoryRestricts); |
4869 unittest.expect(o.tag, unittest.equals('foo')); | 4871 unittest.expect(o.tag, unittest.equals('foo')); |
4870 } | 4872 } |
4871 buildCounterVideoSuggestionsTagSuggestion--; | 4873 buildCounterVideoSuggestionsTagSuggestion--; |
4872 } | 4874 } |
4873 | 4875 |
4874 buildUnnamed2247() { | 4876 buildUnnamed654() { |
4875 var o = new core.List<core.String>(); | 4877 var o = new core.List<core.String>(); |
4876 o.add("foo"); | 4878 o.add("foo"); |
4877 o.add("foo"); | 4879 o.add("foo"); |
4878 return o; | 4880 return o; |
4879 } | 4881 } |
4880 | 4882 |
4881 checkUnnamed2247(core.List<core.String> o) { | 4883 checkUnnamed654(core.List<core.String> o) { |
4882 unittest.expect(o, unittest.hasLength(2)); | 4884 unittest.expect(o, unittest.hasLength(2)); |
4883 unittest.expect(o[0], unittest.equals('foo')); | 4885 unittest.expect(o[0], unittest.equals('foo')); |
4884 unittest.expect(o[1], unittest.equals('foo')); | 4886 unittest.expect(o[1], unittest.equals('foo')); |
4885 } | 4887 } |
4886 | 4888 |
4887 buildUnnamed2248() { | 4889 buildUnnamed655() { |
4888 var o = new core.List<core.String>(); | 4890 var o = new core.List<core.String>(); |
4889 o.add("foo"); | 4891 o.add("foo"); |
4890 o.add("foo"); | 4892 o.add("foo"); |
4891 return o; | 4893 return o; |
4892 } | 4894 } |
4893 | 4895 |
4894 checkUnnamed2248(core.List<core.String> o) { | 4896 checkUnnamed655(core.List<core.String> o) { |
4895 unittest.expect(o, unittest.hasLength(2)); | 4897 unittest.expect(o, unittest.hasLength(2)); |
4896 unittest.expect(o[0], unittest.equals('foo')); | 4898 unittest.expect(o[0], unittest.equals('foo')); |
4897 unittest.expect(o[1], unittest.equals('foo')); | 4899 unittest.expect(o[1], unittest.equals('foo')); |
4898 } | 4900 } |
4899 | 4901 |
4900 core.int buildCounterVideoTopicDetails = 0; | 4902 core.int buildCounterVideoTopicDetails = 0; |
4901 buildVideoTopicDetails() { | 4903 buildVideoTopicDetails() { |
4902 var o = new api.VideoTopicDetails(); | 4904 var o = new api.VideoTopicDetails(); |
4903 buildCounterVideoTopicDetails++; | 4905 buildCounterVideoTopicDetails++; |
4904 if (buildCounterVideoTopicDetails < 3) { | 4906 if (buildCounterVideoTopicDetails < 3) { |
4905 o.relevantTopicIds = buildUnnamed2247(); | 4907 o.relevantTopicIds = buildUnnamed654(); |
4906 o.topicIds = buildUnnamed2248(); | 4908 o.topicIds = buildUnnamed655(); |
4907 } | 4909 } |
4908 buildCounterVideoTopicDetails--; | 4910 buildCounterVideoTopicDetails--; |
4909 return o; | 4911 return o; |
4910 } | 4912 } |
4911 | 4913 |
4912 checkVideoTopicDetails(api.VideoTopicDetails o) { | 4914 checkVideoTopicDetails(api.VideoTopicDetails o) { |
4913 buildCounterVideoTopicDetails++; | 4915 buildCounterVideoTopicDetails++; |
4914 if (buildCounterVideoTopicDetails < 3) { | 4916 if (buildCounterVideoTopicDetails < 3) { |
4915 checkUnnamed2247(o.relevantTopicIds); | 4917 checkUnnamed654(o.relevantTopicIds); |
4916 checkUnnamed2248(o.topicIds); | 4918 checkUnnamed655(o.topicIds); |
4917 } | 4919 } |
4918 buildCounterVideoTopicDetails--; | 4920 buildCounterVideoTopicDetails--; |
4919 } | 4921 } |
4920 | 4922 |
4921 core.int buildCounterWatchSettings = 0; | 4923 core.int buildCounterWatchSettings = 0; |
4922 buildWatchSettings() { | 4924 buildWatchSettings() { |
4923 var o = new api.WatchSettings(); | 4925 var o = new api.WatchSettings(); |
4924 buildCounterWatchSettings++; | 4926 buildCounterWatchSettings++; |
4925 if (buildCounterWatchSettings < 3) { | 4927 if (buildCounterWatchSettings < 3) { |
4926 o.backgroundColor = "foo"; | 4928 o.backgroundColor = "foo"; |
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6419 | 6421 |
6420 }); | 6422 }); |
6421 | 6423 |
6422 | 6424 |
6423 unittest.group("resource-CaptionsResourceApi", () { | 6425 unittest.group("resource-CaptionsResourceApi", () { |
6424 unittest.test("method--delete", () { | 6426 unittest.test("method--delete", () { |
6425 | 6427 |
6426 var mock = new HttpServerMock(); | 6428 var mock = new HttpServerMock(); |
6427 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; | 6429 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; |
6428 var arg_id = "foo"; | 6430 var arg_id = "foo"; |
6429 var arg_debugProjectIdOverride = "foo"; | |
6430 var arg_onBehalfOf = "foo"; | 6431 var arg_onBehalfOf = "foo"; |
6431 var arg_onBehalfOfContentOwner = "foo"; | 6432 var arg_onBehalfOfContentOwner = "foo"; |
6432 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6433 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6433 var path = (req.url).path; | 6434 var path = (req.url).path; |
6434 var pathOffset = 0; | 6435 var pathOffset = 0; |
6435 var index; | 6436 var index; |
6436 var subPart; | 6437 var subPart; |
6437 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6438 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6438 pathOffset += 1; | 6439 pathOffset += 1; |
6439 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); | 6440 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); |
(...skipping 11 matching lines...) Expand all Loading... |
6451 if (n == null) return null; | 6452 if (n == null) return null; |
6452 throw new core.ArgumentError("Invalid boolean: $n"); | 6453 throw new core.ArgumentError("Invalid boolean: $n"); |
6453 } | 6454 } |
6454 if (query.length > 0) { | 6455 if (query.length > 0) { |
6455 for (var part in query.split("&")) { | 6456 for (var part in query.split("&")) { |
6456 var keyvalue = part.split("="); | 6457 var keyvalue = part.split("="); |
6457 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6458 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
6458 } | 6459 } |
6459 } | 6460 } |
6460 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 6461 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
6461 unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equal
s(arg_debugProjectIdOverride)); | |
6462 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); | 6462 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); |
6463 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 6463 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
6464 | 6464 |
6465 | 6465 |
6466 var h = { | 6466 var h = { |
6467 "content-type" : "application/json; charset=utf-8", | 6467 "content-type" : "application/json; charset=utf-8", |
6468 }; | 6468 }; |
6469 var resp = ""; | 6469 var resp = ""; |
6470 return new async.Future.value(stringResponse(200, h, resp)); | 6470 return new async.Future.value(stringResponse(200, h, resp)); |
6471 }), true); | 6471 }), true); |
6472 res.delete(arg_id, debugProjectIdOverride: arg_debugProjectIdOverride, onB
ehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).the
n(unittest.expectAsync((_) {})); | 6472 res.delete(arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg
_onBehalfOfContentOwner).then(unittest.expectAsync((_) {})); |
6473 }); | 6473 }); |
6474 | 6474 |
6475 unittest.test("method--download", () { | 6475 unittest.test("method--download", () { |
6476 // TODO: Implement tests for media upload; | 6476 // TODO: Implement tests for media upload; |
6477 // TODO: Implement tests for media download; | 6477 // TODO: Implement tests for media download; |
6478 | 6478 |
6479 var mock = new HttpServerMock(); | 6479 var mock = new HttpServerMock(); |
6480 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; | 6480 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; |
6481 var arg_id = "foo"; | 6481 var arg_id = "foo"; |
6482 var arg_debugProjectIdOverride = "foo"; | |
6483 var arg_onBehalfOf = "foo"; | 6482 var arg_onBehalfOf = "foo"; |
6484 var arg_onBehalfOfContentOwner = "foo"; | 6483 var arg_onBehalfOfContentOwner = "foo"; |
6485 var arg_tfmt = "foo"; | 6484 var arg_tfmt = "foo"; |
6486 var arg_tlang = "foo"; | 6485 var arg_tlang = "foo"; |
6487 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6486 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6488 var path = (req.url).path; | 6487 var path = (req.url).path; |
6489 var pathOffset = 0; | 6488 var pathOffset = 0; |
6490 var index; | 6489 var index; |
6491 var subPart; | 6490 var subPart; |
6492 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6491 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 15 matching lines...) Expand all Loading... |
6508 if (n == "false") return false; | 6507 if (n == "false") return false; |
6509 if (n == null) return null; | 6508 if (n == null) return null; |
6510 throw new core.ArgumentError("Invalid boolean: $n"); | 6509 throw new core.ArgumentError("Invalid boolean: $n"); |
6511 } | 6510 } |
6512 if (query.length > 0) { | 6511 if (query.length > 0) { |
6513 for (var part in query.split("&")) { | 6512 for (var part in query.split("&")) { |
6514 var keyvalue = part.split("="); | 6513 var keyvalue = part.split("="); |
6515 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6514 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
6516 } | 6515 } |
6517 } | 6516 } |
6518 unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equal
s(arg_debugProjectIdOverride)); | |
6519 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); | 6517 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); |
6520 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 6518 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
6521 unittest.expect(queryMap["tfmt"].first, unittest.equals(arg_tfmt)); | 6519 unittest.expect(queryMap["tfmt"].first, unittest.equals(arg_tfmt)); |
6522 unittest.expect(queryMap["tlang"].first, unittest.equals(arg_tlang)); | 6520 unittest.expect(queryMap["tlang"].first, unittest.equals(arg_tlang)); |
6523 | 6521 |
6524 | 6522 |
6525 var h = { | 6523 var h = { |
6526 "content-type" : "application/json; charset=utf-8", | 6524 "content-type" : "application/json; charset=utf-8", |
6527 }; | 6525 }; |
6528 var resp = ""; | 6526 var resp = ""; |
6529 return new async.Future.value(stringResponse(200, h, resp)); | 6527 return new async.Future.value(stringResponse(200, h, resp)); |
6530 }), true); | 6528 }), true); |
6531 res.download(arg_id, debugProjectIdOverride: arg_debugProjectIdOverride, o
nBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, t
fmt: arg_tfmt, tlang: arg_tlang).then(unittest.expectAsync((_) {})); | 6529 res.download(arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: a
rg_onBehalfOfContentOwner, tfmt: arg_tfmt, tlang: arg_tlang).then(unittest.expec
tAsync((_) {})); |
6532 }); | 6530 }); |
6533 | 6531 |
6534 unittest.test("method--insert", () { | 6532 unittest.test("method--insert", () { |
6535 // TODO: Implement tests for media upload; | 6533 // TODO: Implement tests for media upload; |
6536 // TODO: Implement tests for media download; | 6534 // TODO: Implement tests for media download; |
6537 | 6535 |
6538 var mock = new HttpServerMock(); | 6536 var mock = new HttpServerMock(); |
6539 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; | 6537 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; |
6540 var arg_request = buildCaption(); | 6538 var arg_request = buildCaption(); |
6541 var arg_part = "foo"; | 6539 var arg_part = "foo"; |
6542 var arg_debugProjectIdOverride = "foo"; | |
6543 var arg_onBehalfOf = "foo"; | 6540 var arg_onBehalfOf = "foo"; |
6544 var arg_onBehalfOfContentOwner = "foo"; | 6541 var arg_onBehalfOfContentOwner = "foo"; |
6545 var arg_sync = true; | 6542 var arg_sync = true; |
6546 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6543 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6547 var obj = new api.Caption.fromJson(json); | 6544 var obj = new api.Caption.fromJson(json); |
6548 checkCaption(obj); | 6545 checkCaption(obj); |
6549 | 6546 |
6550 var path = (req.url).path; | 6547 var path = (req.url).path; |
6551 var pathOffset = 0; | 6548 var pathOffset = 0; |
6552 var index; | 6549 var index; |
(...skipping 15 matching lines...) Expand all Loading... |
6568 if (n == null) return null; | 6565 if (n == null) return null; |
6569 throw new core.ArgumentError("Invalid boolean: $n"); | 6566 throw new core.ArgumentError("Invalid boolean: $n"); |
6570 } | 6567 } |
6571 if (query.length > 0) { | 6568 if (query.length > 0) { |
6572 for (var part in query.split("&")) { | 6569 for (var part in query.split("&")) { |
6573 var keyvalue = part.split("="); | 6570 var keyvalue = part.split("="); |
6574 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6571 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
6575 } | 6572 } |
6576 } | 6573 } |
6577 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 6574 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
6578 unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equal
s(arg_debugProjectIdOverride)); | |
6579 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); | 6575 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); |
6580 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 6576 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
6581 unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync")); | 6577 unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync")); |
6582 | 6578 |
6583 | 6579 |
6584 var h = { | 6580 var h = { |
6585 "content-type" : "application/json; charset=utf-8", | 6581 "content-type" : "application/json; charset=utf-8", |
6586 }; | 6582 }; |
6587 var resp = convert.JSON.encode(buildCaption()); | 6583 var resp = convert.JSON.encode(buildCaption()); |
6588 return new async.Future.value(stringResponse(200, h, resp)); | 6584 return new async.Future.value(stringResponse(200, h, resp)); |
6589 }), true); | 6585 }), true); |
6590 res.insert(arg_request, arg_part, debugProjectIdOverride: arg_debugProject
IdOverride, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfCo
ntentOwner, sync: arg_sync).then(unittest.expectAsync(((api.Caption response) { | 6586 res.insert(arg_request, arg_part, onBehalfOf: arg_onBehalfOf, onBehalfOfCo
ntentOwner: arg_onBehalfOfContentOwner, sync: arg_sync).then(unittest.expectAsyn
c(((api.Caption response) { |
6591 checkCaption(response); | 6587 checkCaption(response); |
6592 }))); | 6588 }))); |
6593 }); | 6589 }); |
6594 | 6590 |
6595 unittest.test("method--list", () { | 6591 unittest.test("method--list", () { |
6596 | 6592 |
6597 var mock = new HttpServerMock(); | 6593 var mock = new HttpServerMock(); |
6598 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; | 6594 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; |
6599 var arg_part = "foo"; | 6595 var arg_part = "foo"; |
6600 var arg_videoId = "foo"; | 6596 var arg_videoId = "foo"; |
6601 var arg_debugProjectIdOverride = "foo"; | |
6602 var arg_id = "foo"; | 6597 var arg_id = "foo"; |
6603 var arg_onBehalfOf = "foo"; | 6598 var arg_onBehalfOf = "foo"; |
6604 var arg_onBehalfOfContentOwner = "foo"; | 6599 var arg_onBehalfOfContentOwner = "foo"; |
6605 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6600 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6606 var path = (req.url).path; | 6601 var path = (req.url).path; |
6607 var pathOffset = 0; | 6602 var pathOffset = 0; |
6608 var index; | 6603 var index; |
6609 var subPart; | 6604 var subPart; |
6610 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6605 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6611 pathOffset += 1; | 6606 pathOffset += 1; |
(...skipping 13 matching lines...) Expand all Loading... |
6625 throw new core.ArgumentError("Invalid boolean: $n"); | 6620 throw new core.ArgumentError("Invalid boolean: $n"); |
6626 } | 6621 } |
6627 if (query.length > 0) { | 6622 if (query.length > 0) { |
6628 for (var part in query.split("&")) { | 6623 for (var part in query.split("&")) { |
6629 var keyvalue = part.split("="); | 6624 var keyvalue = part.split("="); |
6630 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6625 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
6631 } | 6626 } |
6632 } | 6627 } |
6633 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 6628 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
6634 unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId))
; | 6629 unittest.expect(queryMap["videoId"].first, unittest.equals(arg_videoId))
; |
6635 unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equal
s(arg_debugProjectIdOverride)); | |
6636 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 6630 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
6637 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); | 6631 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); |
6638 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 6632 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
6639 | 6633 |
6640 | 6634 |
6641 var h = { | 6635 var h = { |
6642 "content-type" : "application/json; charset=utf-8", | 6636 "content-type" : "application/json; charset=utf-8", |
6643 }; | 6637 }; |
6644 var resp = convert.JSON.encode(buildCaptionListResponse()); | 6638 var resp = convert.JSON.encode(buildCaptionListResponse()); |
6645 return new async.Future.value(stringResponse(200, h, resp)); | 6639 return new async.Future.value(stringResponse(200, h, resp)); |
6646 }), true); | 6640 }), true); |
6647 res.list(arg_part, arg_videoId, debugProjectIdOverride: arg_debugProjectId
Override, id: arg_id, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_on
BehalfOfContentOwner).then(unittest.expectAsync(((api.CaptionListResponse respon
se) { | 6641 res.list(arg_part, arg_videoId, id: arg_id, onBehalfOf: arg_onBehalfOf, on
BehalfOfContentOwner: arg_onBehalfOfContentOwner).then(unittest.expectAsync(((ap
i.CaptionListResponse response) { |
6648 checkCaptionListResponse(response); | 6642 checkCaptionListResponse(response); |
6649 }))); | 6643 }))); |
6650 }); | 6644 }); |
6651 | 6645 |
6652 unittest.test("method--update", () { | 6646 unittest.test("method--update", () { |
6653 // TODO: Implement tests for media upload; | 6647 // TODO: Implement tests for media upload; |
6654 // TODO: Implement tests for media download; | 6648 // TODO: Implement tests for media download; |
6655 | 6649 |
6656 var mock = new HttpServerMock(); | 6650 var mock = new HttpServerMock(); |
6657 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; | 6651 api.CaptionsResourceApi res = new api.YoutubeApi(mock).captions; |
6658 var arg_request = buildCaption(); | 6652 var arg_request = buildCaption(); |
6659 var arg_part = "foo"; | 6653 var arg_part = "foo"; |
6660 var arg_debugProjectIdOverride = "foo"; | |
6661 var arg_onBehalfOf = "foo"; | 6654 var arg_onBehalfOf = "foo"; |
6662 var arg_onBehalfOfContentOwner = "foo"; | 6655 var arg_onBehalfOfContentOwner = "foo"; |
6663 var arg_sync = true; | 6656 var arg_sync = true; |
6664 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6657 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6665 var obj = new api.Caption.fromJson(json); | 6658 var obj = new api.Caption.fromJson(json); |
6666 checkCaption(obj); | 6659 checkCaption(obj); |
6667 | 6660 |
6668 var path = (req.url).path; | 6661 var path = (req.url).path; |
6669 var pathOffset = 0; | 6662 var pathOffset = 0; |
6670 var index; | 6663 var index; |
(...skipping 15 matching lines...) Expand all Loading... |
6686 if (n == null) return null; | 6679 if (n == null) return null; |
6687 throw new core.ArgumentError("Invalid boolean: $n"); | 6680 throw new core.ArgumentError("Invalid boolean: $n"); |
6688 } | 6681 } |
6689 if (query.length > 0) { | 6682 if (query.length > 0) { |
6690 for (var part in query.split("&")) { | 6683 for (var part in query.split("&")) { |
6691 var keyvalue = part.split("="); | 6684 var keyvalue = part.split("="); |
6692 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6685 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
6693 } | 6686 } |
6694 } | 6687 } |
6695 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 6688 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
6696 unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equal
s(arg_debugProjectIdOverride)); | |
6697 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); | 6689 unittest.expect(queryMap["onBehalfOf"].first, unittest.equals(arg_onBeha
lfOf)); |
6698 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 6690 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
6699 unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync")); | 6691 unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync")); |
6700 | 6692 |
6701 | 6693 |
6702 var h = { | 6694 var h = { |
6703 "content-type" : "application/json; charset=utf-8", | 6695 "content-type" : "application/json; charset=utf-8", |
6704 }; | 6696 }; |
6705 var resp = convert.JSON.encode(buildCaption()); | 6697 var resp = convert.JSON.encode(buildCaption()); |
6706 return new async.Future.value(stringResponse(200, h, resp)); | 6698 return new async.Future.value(stringResponse(200, h, resp)); |
6707 }), true); | 6699 }), true); |
6708 res.update(arg_request, arg_part, debugProjectIdOverride: arg_debugProject
IdOverride, onBehalfOf: arg_onBehalfOf, onBehalfOfContentOwner: arg_onBehalfOfCo
ntentOwner, sync: arg_sync).then(unittest.expectAsync(((api.Caption response) { | 6700 res.update(arg_request, arg_part, onBehalfOf: arg_onBehalfOf, onBehalfOfCo
ntentOwner: arg_onBehalfOfContentOwner, sync: arg_sync).then(unittest.expectAsyn
c(((api.Caption response) { |
6709 checkCaption(response); | 6701 checkCaption(response); |
6710 }))); | 6702 }))); |
6711 }); | 6703 }); |
6712 | 6704 |
6713 }); | 6705 }); |
6714 | 6706 |
6715 | 6707 |
6716 unittest.group("resource-ChannelBannersResourceApi", () { | 6708 unittest.group("resource-ChannelBannersResourceApi", () { |
6717 unittest.test("method--insert", () { | 6709 unittest.test("method--insert", () { |
6718 // TODO: Implement tests for media upload; | 6710 // TODO: Implement tests for media upload; |
(...skipping 2737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9456 checkVideo(response); | 9448 checkVideo(response); |
9457 }))); | 9449 }))); |
9458 }); | 9450 }); |
9459 | 9451 |
9460 unittest.test("method--list", () { | 9452 unittest.test("method--list", () { |
9461 | 9453 |
9462 var mock = new HttpServerMock(); | 9454 var mock = new HttpServerMock(); |
9463 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; | 9455 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; |
9464 var arg_part = "foo"; | 9456 var arg_part = "foo"; |
9465 var arg_chart = "foo"; | 9457 var arg_chart = "foo"; |
9466 var arg_debugProjectIdOverride = "foo"; | |
9467 var arg_hl = "foo"; | 9458 var arg_hl = "foo"; |
9468 var arg_id = "foo"; | 9459 var arg_id = "foo"; |
9469 var arg_locale = "foo"; | 9460 var arg_locale = "foo"; |
9470 var arg_maxResults = 42; | 9461 var arg_maxResults = 42; |
9471 var arg_myRating = "foo"; | 9462 var arg_myRating = "foo"; |
9472 var arg_onBehalfOfContentOwner = "foo"; | 9463 var arg_onBehalfOfContentOwner = "foo"; |
9473 var arg_pageToken = "foo"; | 9464 var arg_pageToken = "foo"; |
9474 var arg_regionCode = "foo"; | 9465 var arg_regionCode = "foo"; |
9475 var arg_videoCategoryId = "foo"; | 9466 var arg_videoCategoryId = "foo"; |
9476 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9467 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
(...skipping 19 matching lines...) Expand all Loading... |
9496 throw new core.ArgumentError("Invalid boolean: $n"); | 9487 throw new core.ArgumentError("Invalid boolean: $n"); |
9497 } | 9488 } |
9498 if (query.length > 0) { | 9489 if (query.length > 0) { |
9499 for (var part in query.split("&")) { | 9490 for (var part in query.split("&")) { |
9500 var keyvalue = part.split("="); | 9491 var keyvalue = part.split("="); |
9501 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 9492 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
9502 } | 9493 } |
9503 } | 9494 } |
9504 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 9495 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
9505 unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart)); | 9496 unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart)); |
9506 unittest.expect(queryMap["debugProjectIdOverride"].first, unittest.equal
s(arg_debugProjectIdOverride)); | |
9507 unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); | 9497 unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); |
9508 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 9498 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
9509 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); | 9499 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); |
9510 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 9500 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
9511 unittest.expect(queryMap["myRating"].first, unittest.equals(arg_myRating
)); | 9501 unittest.expect(queryMap["myRating"].first, unittest.equals(arg_myRating
)); |
9512 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 9502 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
9513 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 9503 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
9514 unittest.expect(queryMap["regionCode"].first, unittest.equals(arg_region
Code)); | 9504 unittest.expect(queryMap["regionCode"].first, unittest.equals(arg_region
Code)); |
9515 unittest.expect(queryMap["videoCategoryId"].first, unittest.equals(arg_v
ideoCategoryId)); | 9505 unittest.expect(queryMap["videoCategoryId"].first, unittest.equals(arg_v
ideoCategoryId)); |
9516 | 9506 |
9517 | 9507 |
9518 var h = { | 9508 var h = { |
9519 "content-type" : "application/json; charset=utf-8", | 9509 "content-type" : "application/json; charset=utf-8", |
9520 }; | 9510 }; |
9521 var resp = convert.JSON.encode(buildVideoListResponse()); | 9511 var resp = convert.JSON.encode(buildVideoListResponse()); |
9522 return new async.Future.value(stringResponse(200, h, resp)); | 9512 return new async.Future.value(stringResponse(200, h, resp)); |
9523 }), true); | 9513 }), true); |
9524 res.list(arg_part, chart: arg_chart, debugProjectIdOverride: arg_debugProj
ectIdOverride, hl: arg_hl, id: arg_id, locale: arg_locale, maxResults: arg_maxRe
sults, myRating: arg_myRating, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r, pageToken: arg_pageToken, regionCode: arg_regionCode, videoCategoryId: arg_vi
deoCategoryId).then(unittest.expectAsync(((api.VideoListResponse response) { | 9514 res.list(arg_part, chart: arg_chart, hl: arg_hl, id: arg_id, locale: arg_l
ocale, maxResults: arg_maxResults, myRating: arg_myRating, onBehalfOfContentOwne
r: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, regionCode: arg_regionC
ode, videoCategoryId: arg_videoCategoryId).then(unittest.expectAsync(((api.Video
ListResponse response) { |
9525 checkVideoListResponse(response); | 9515 checkVideoListResponse(response); |
9526 }))); | 9516 }))); |
9527 }); | 9517 }); |
9528 | 9518 |
9529 unittest.test("method--rate", () { | 9519 unittest.test("method--rate", () { |
9530 | 9520 |
9531 var mock = new HttpServerMock(); | 9521 var mock = new HttpServerMock(); |
9532 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; | 9522 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; |
9533 var arg_id = "foo"; | 9523 var arg_id = "foo"; |
9534 var arg_rating = "foo"; | 9524 var arg_rating = "foo"; |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9777 return new async.Future.value(stringResponse(200, h, resp)); | 9767 return new async.Future.value(stringResponse(200, h, resp)); |
9778 }), true); | 9768 }), true); |
9779 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 9769 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
9780 }); | 9770 }); |
9781 | 9771 |
9782 }); | 9772 }); |
9783 | 9773 |
9784 | 9774 |
9785 } | 9775 } |
9786 | 9776 |
OLD | NEW |