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; |
11 import 'package:googleapis/common/common.dart' as common; | 11 import 'package:googleapis/common/common.dart' as common; |
12 import 'package:googleapis/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis/src/common_internal.dart' as common_internal; |
13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
14 | 14 |
15 import 'package:googleapis/youtube/v3.dart' as api; | 15 import 'package:googleapis/youtube/v3.dart' as api; |
16 | 16 |
17 | 17 |
18 | 18 |
19 buildUnnamed1112() { | 19 buildUnnamed339() { |
20 var o = new core.List<core.String>(); | 20 var o = new core.List<core.String>(); |
21 o.add("foo"); | 21 o.add("foo"); |
22 o.add("foo"); | 22 o.add("foo"); |
23 return o; | 23 return o; |
24 } | 24 } |
25 | 25 |
26 checkUnnamed1112(core.List<core.String> o) { | 26 checkUnnamed339(core.List<core.String> o) { |
27 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
28 unittest.expect(o[0], unittest.equals('foo')); | 28 unittest.expect(o[0], unittest.equals('foo')); |
29 unittest.expect(o[1], unittest.equals('foo')); | 29 unittest.expect(o[1], unittest.equals('foo')); |
30 } | 30 } |
31 | 31 |
32 core.int buildCounterAccessPolicy = 0; | 32 core.int buildCounterAccessPolicy = 0; |
33 buildAccessPolicy() { | 33 buildAccessPolicy() { |
34 var o = new api.AccessPolicy(); | 34 var o = new api.AccessPolicy(); |
35 buildCounterAccessPolicy++; | 35 buildCounterAccessPolicy++; |
36 if (buildCounterAccessPolicy < 3) { | 36 if (buildCounterAccessPolicy < 3) { |
37 o.allowed = true; | 37 o.allowed = true; |
38 o.exception = buildUnnamed1112(); | 38 o.exception = buildUnnamed339(); |
39 } | 39 } |
40 buildCounterAccessPolicy--; | 40 buildCounterAccessPolicy--; |
41 return o; | 41 return o; |
42 } | 42 } |
43 | 43 |
44 checkAccessPolicy(api.AccessPolicy o) { | 44 checkAccessPolicy(api.AccessPolicy o) { |
45 buildCounterAccessPolicy++; | 45 buildCounterAccessPolicy++; |
46 if (buildCounterAccessPolicy < 3) { | 46 if (buildCounterAccessPolicy < 3) { |
47 unittest.expect(o.allowed, unittest.isTrue); | 47 unittest.expect(o.allowed, unittest.isTrue); |
48 checkUnnamed1112(o.exception); | 48 checkUnnamed339(o.exception); |
49 } | 49 } |
50 buildCounterAccessPolicy--; | 50 buildCounterAccessPolicy--; |
51 } | 51 } |
52 | 52 |
53 core.int buildCounterActivity = 0; | 53 core.int buildCounterActivity = 0; |
54 buildActivity() { | 54 buildActivity() { |
55 var o = new api.Activity(); | 55 var o = new api.Activity(); |
56 buildCounterActivity++; | 56 buildCounterActivity++; |
57 if (buildCounterActivity < 3) { | 57 if (buildCounterActivity < 3) { |
58 o.contentDetails = buildActivityContentDetails(); | 58 o.contentDetails = buildActivityContentDetails(); |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { | 227 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { |
228 buildCounterActivityContentDetailsPlaylistItem++; | 228 buildCounterActivityContentDetailsPlaylistItem++; |
229 if (buildCounterActivityContentDetailsPlaylistItem < 3) { | 229 if (buildCounterActivityContentDetailsPlaylistItem < 3) { |
230 unittest.expect(o.playlistId, unittest.equals('foo')); | 230 unittest.expect(o.playlistId, unittest.equals('foo')); |
231 unittest.expect(o.playlistItemId, unittest.equals('foo')); | 231 unittest.expect(o.playlistItemId, unittest.equals('foo')); |
232 checkResourceId(o.resourceId); | 232 checkResourceId(o.resourceId); |
233 } | 233 } |
234 buildCounterActivityContentDetailsPlaylistItem--; | 234 buildCounterActivityContentDetailsPlaylistItem--; |
235 } | 235 } |
236 | 236 |
237 buildUnnamed1113() { | 237 buildUnnamed340() { |
238 var o = new core.List<core.String>(); | 238 var o = new core.List<core.String>(); |
239 o.add("foo"); | 239 o.add("foo"); |
240 o.add("foo"); | 240 o.add("foo"); |
241 return o; | 241 return o; |
242 } | 242 } |
243 | 243 |
244 checkUnnamed1113(core.List<core.String> o) { | 244 checkUnnamed340(core.List<core.String> o) { |
245 unittest.expect(o, unittest.hasLength(2)); | 245 unittest.expect(o, unittest.hasLength(2)); |
246 unittest.expect(o[0], unittest.equals('foo')); | 246 unittest.expect(o[0], unittest.equals('foo')); |
247 unittest.expect(o[1], unittest.equals('foo')); | 247 unittest.expect(o[1], unittest.equals('foo')); |
248 } | 248 } |
249 | 249 |
250 buildUnnamed1114() { | 250 buildUnnamed341() { |
251 var o = new core.List<core.String>(); | 251 var o = new core.List<core.String>(); |
252 o.add("foo"); | 252 o.add("foo"); |
253 o.add("foo"); | 253 o.add("foo"); |
254 return o; | 254 return o; |
255 } | 255 } |
256 | 256 |
257 checkUnnamed1114(core.List<core.String> o) { | 257 checkUnnamed341(core.List<core.String> o) { |
258 unittest.expect(o, unittest.hasLength(2)); | 258 unittest.expect(o, unittest.hasLength(2)); |
259 unittest.expect(o[0], unittest.equals('foo')); | 259 unittest.expect(o[0], unittest.equals('foo')); |
260 unittest.expect(o[1], unittest.equals('foo')); | 260 unittest.expect(o[1], unittest.equals('foo')); |
261 } | 261 } |
262 | 262 |
263 core.int buildCounterActivityContentDetailsPromotedItem = 0; | 263 core.int buildCounterActivityContentDetailsPromotedItem = 0; |
264 buildActivityContentDetailsPromotedItem() { | 264 buildActivityContentDetailsPromotedItem() { |
265 var o = new api.ActivityContentDetailsPromotedItem(); | 265 var o = new api.ActivityContentDetailsPromotedItem(); |
266 buildCounterActivityContentDetailsPromotedItem++; | 266 buildCounterActivityContentDetailsPromotedItem++; |
267 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 267 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
268 o.adTag = "foo"; | 268 o.adTag = "foo"; |
269 o.clickTrackingUrl = "foo"; | 269 o.clickTrackingUrl = "foo"; |
270 o.creativeViewUrl = "foo"; | 270 o.creativeViewUrl = "foo"; |
271 o.ctaType = "foo"; | 271 o.ctaType = "foo"; |
272 o.customCtaButtonText = "foo"; | 272 o.customCtaButtonText = "foo"; |
273 o.descriptionText = "foo"; | 273 o.descriptionText = "foo"; |
274 o.destinationUrl = "foo"; | 274 o.destinationUrl = "foo"; |
275 o.forecastingUrl = buildUnnamed1113(); | 275 o.forecastingUrl = buildUnnamed340(); |
276 o.impressionUrl = buildUnnamed1114(); | 276 o.impressionUrl = buildUnnamed341(); |
277 o.videoId = "foo"; | 277 o.videoId = "foo"; |
278 } | 278 } |
279 buildCounterActivityContentDetailsPromotedItem--; | 279 buildCounterActivityContentDetailsPromotedItem--; |
280 return o; | 280 return o; |
281 } | 281 } |
282 | 282 |
283 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { | 283 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { |
284 buildCounterActivityContentDetailsPromotedItem++; | 284 buildCounterActivityContentDetailsPromotedItem++; |
285 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 285 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
286 unittest.expect(o.adTag, unittest.equals('foo')); | 286 unittest.expect(o.adTag, unittest.equals('foo')); |
287 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 287 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
288 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); | 288 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); |
289 unittest.expect(o.ctaType, unittest.equals('foo')); | 289 unittest.expect(o.ctaType, unittest.equals('foo')); |
290 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); | 290 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); |
291 unittest.expect(o.descriptionText, unittest.equals('foo')); | 291 unittest.expect(o.descriptionText, unittest.equals('foo')); |
292 unittest.expect(o.destinationUrl, unittest.equals('foo')); | 292 unittest.expect(o.destinationUrl, unittest.equals('foo')); |
293 checkUnnamed1113(o.forecastingUrl); | 293 checkUnnamed340(o.forecastingUrl); |
294 checkUnnamed1114(o.impressionUrl); | 294 checkUnnamed341(o.impressionUrl); |
295 unittest.expect(o.videoId, unittest.equals('foo')); | 295 unittest.expect(o.videoId, unittest.equals('foo')); |
296 } | 296 } |
297 buildCounterActivityContentDetailsPromotedItem--; | 297 buildCounterActivityContentDetailsPromotedItem--; |
298 } | 298 } |
299 | 299 |
300 core.int buildCounterActivityContentDetailsRecommendation = 0; | 300 core.int buildCounterActivityContentDetailsRecommendation = 0; |
301 buildActivityContentDetailsRecommendation() { | 301 buildActivityContentDetailsRecommendation() { |
302 var o = new api.ActivityContentDetailsRecommendation(); | 302 var o = new api.ActivityContentDetailsRecommendation(); |
303 buildCounterActivityContentDetailsRecommendation++; | 303 buildCounterActivityContentDetailsRecommendation++; |
304 if (buildCounterActivityContentDetailsRecommendation < 3) { | 304 if (buildCounterActivityContentDetailsRecommendation < 3) { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 } | 378 } |
379 | 379 |
380 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { | 380 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { |
381 buildCounterActivityContentDetailsUpload++; | 381 buildCounterActivityContentDetailsUpload++; |
382 if (buildCounterActivityContentDetailsUpload < 3) { | 382 if (buildCounterActivityContentDetailsUpload < 3) { |
383 unittest.expect(o.videoId, unittest.equals('foo')); | 383 unittest.expect(o.videoId, unittest.equals('foo')); |
384 } | 384 } |
385 buildCounterActivityContentDetailsUpload--; | 385 buildCounterActivityContentDetailsUpload--; |
386 } | 386 } |
387 | 387 |
388 buildUnnamed1115() { | 388 buildUnnamed342() { |
389 var o = new core.List<api.Activity>(); | 389 var o = new core.List<api.Activity>(); |
390 o.add(buildActivity()); | 390 o.add(buildActivity()); |
391 o.add(buildActivity()); | 391 o.add(buildActivity()); |
392 return o; | 392 return o; |
393 } | 393 } |
394 | 394 |
395 checkUnnamed1115(core.List<api.Activity> o) { | 395 checkUnnamed342(core.List<api.Activity> o) { |
396 unittest.expect(o, unittest.hasLength(2)); | 396 unittest.expect(o, unittest.hasLength(2)); |
397 checkActivity(o[0]); | 397 checkActivity(o[0]); |
398 checkActivity(o[1]); | 398 checkActivity(o[1]); |
399 } | 399 } |
400 | 400 |
401 core.int buildCounterActivityListResponse = 0; | 401 core.int buildCounterActivityListResponse = 0; |
402 buildActivityListResponse() { | 402 buildActivityListResponse() { |
403 var o = new api.ActivityListResponse(); | 403 var o = new api.ActivityListResponse(); |
404 buildCounterActivityListResponse++; | 404 buildCounterActivityListResponse++; |
405 if (buildCounterActivityListResponse < 3) { | 405 if (buildCounterActivityListResponse < 3) { |
406 o.etag = "foo"; | 406 o.etag = "foo"; |
407 o.eventId = "foo"; | 407 o.eventId = "foo"; |
408 o.items = buildUnnamed1115(); | 408 o.items = buildUnnamed342(); |
409 o.kind = "foo"; | 409 o.kind = "foo"; |
410 o.nextPageToken = "foo"; | 410 o.nextPageToken = "foo"; |
411 o.pageInfo = buildPageInfo(); | 411 o.pageInfo = buildPageInfo(); |
412 o.prevPageToken = "foo"; | 412 o.prevPageToken = "foo"; |
413 o.tokenPagination = buildTokenPagination(); | 413 o.tokenPagination = buildTokenPagination(); |
414 o.visitorId = "foo"; | 414 o.visitorId = "foo"; |
415 } | 415 } |
416 buildCounterActivityListResponse--; | 416 buildCounterActivityListResponse--; |
417 return o; | 417 return o; |
418 } | 418 } |
419 | 419 |
420 checkActivityListResponse(api.ActivityListResponse o) { | 420 checkActivityListResponse(api.ActivityListResponse o) { |
421 buildCounterActivityListResponse++; | 421 buildCounterActivityListResponse++; |
422 if (buildCounterActivityListResponse < 3) { | 422 if (buildCounterActivityListResponse < 3) { |
423 unittest.expect(o.etag, unittest.equals('foo')); | 423 unittest.expect(o.etag, unittest.equals('foo')); |
424 unittest.expect(o.eventId, unittest.equals('foo')); | 424 unittest.expect(o.eventId, unittest.equals('foo')); |
425 checkUnnamed1115(o.items); | 425 checkUnnamed342(o.items); |
426 unittest.expect(o.kind, unittest.equals('foo')); | 426 unittest.expect(o.kind, unittest.equals('foo')); |
427 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 427 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
428 checkPageInfo(o.pageInfo); | 428 checkPageInfo(o.pageInfo); |
429 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 429 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
430 checkTokenPagination(o.tokenPagination); | 430 checkTokenPagination(o.tokenPagination); |
431 unittest.expect(o.visitorId, unittest.equals('foo')); | 431 unittest.expect(o.visitorId, unittest.equals('foo')); |
432 } | 432 } |
433 buildCounterActivityListResponse--; | 433 buildCounterActivityListResponse--; |
434 } | 434 } |
435 | 435 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 checkChannelBannerResource(api.ChannelBannerResource o) { | 573 checkChannelBannerResource(api.ChannelBannerResource o) { |
574 buildCounterChannelBannerResource++; | 574 buildCounterChannelBannerResource++; |
575 if (buildCounterChannelBannerResource < 3) { | 575 if (buildCounterChannelBannerResource < 3) { |
576 unittest.expect(o.etag, unittest.equals('foo')); | 576 unittest.expect(o.etag, unittest.equals('foo')); |
577 unittest.expect(o.kind, unittest.equals('foo')); | 577 unittest.expect(o.kind, unittest.equals('foo')); |
578 unittest.expect(o.url, unittest.equals('foo')); | 578 unittest.expect(o.url, unittest.equals('foo')); |
579 } | 579 } |
580 buildCounterChannelBannerResource--; | 580 buildCounterChannelBannerResource--; |
581 } | 581 } |
582 | 582 |
583 buildUnnamed1116() { | 583 buildUnnamed343() { |
584 var o = new core.List<api.PropertyValue>(); | 584 var o = new core.List<api.PropertyValue>(); |
585 o.add(buildPropertyValue()); | 585 o.add(buildPropertyValue()); |
586 o.add(buildPropertyValue()); | 586 o.add(buildPropertyValue()); |
587 return o; | 587 return o; |
588 } | 588 } |
589 | 589 |
590 checkUnnamed1116(core.List<api.PropertyValue> o) { | 590 checkUnnamed343(core.List<api.PropertyValue> o) { |
591 unittest.expect(o, unittest.hasLength(2)); | 591 unittest.expect(o, unittest.hasLength(2)); |
592 checkPropertyValue(o[0]); | 592 checkPropertyValue(o[0]); |
593 checkPropertyValue(o[1]); | 593 checkPropertyValue(o[1]); |
594 } | 594 } |
595 | 595 |
596 core.int buildCounterChannelBrandingSettings = 0; | 596 core.int buildCounterChannelBrandingSettings = 0; |
597 buildChannelBrandingSettings() { | 597 buildChannelBrandingSettings() { |
598 var o = new api.ChannelBrandingSettings(); | 598 var o = new api.ChannelBrandingSettings(); |
599 buildCounterChannelBrandingSettings++; | 599 buildCounterChannelBrandingSettings++; |
600 if (buildCounterChannelBrandingSettings < 3) { | 600 if (buildCounterChannelBrandingSettings < 3) { |
601 o.channel = buildChannelSettings(); | 601 o.channel = buildChannelSettings(); |
602 o.hints = buildUnnamed1116(); | 602 o.hints = buildUnnamed343(); |
603 o.image = buildImageSettings(); | 603 o.image = buildImageSettings(); |
604 o.watch = buildWatchSettings(); | 604 o.watch = buildWatchSettings(); |
605 } | 605 } |
606 buildCounterChannelBrandingSettings--; | 606 buildCounterChannelBrandingSettings--; |
607 return o; | 607 return o; |
608 } | 608 } |
609 | 609 |
610 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 610 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
611 buildCounterChannelBrandingSettings++; | 611 buildCounterChannelBrandingSettings++; |
612 if (buildCounterChannelBrandingSettings < 3) { | 612 if (buildCounterChannelBrandingSettings < 3) { |
613 checkChannelSettings(o.channel); | 613 checkChannelSettings(o.channel); |
614 checkUnnamed1116(o.hints); | 614 checkUnnamed343(o.hints); |
615 checkImageSettings(o.image); | 615 checkImageSettings(o.image); |
616 checkWatchSettings(o.watch); | 616 checkWatchSettings(o.watch); |
617 } | 617 } |
618 buildCounterChannelBrandingSettings--; | 618 buildCounterChannelBrandingSettings--; |
619 } | 619 } |
620 | 620 |
621 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 621 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
622 buildChannelContentDetailsRelatedPlaylists() { | 622 buildChannelContentDetailsRelatedPlaylists() { |
623 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 623 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
624 buildCounterChannelContentDetailsRelatedPlaylists++; | 624 buildCounterChannelContentDetailsRelatedPlaylists++; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 | 701 |
702 checkChannelConversionPing(api.ChannelConversionPing o) { | 702 checkChannelConversionPing(api.ChannelConversionPing o) { |
703 buildCounterChannelConversionPing++; | 703 buildCounterChannelConversionPing++; |
704 if (buildCounterChannelConversionPing < 3) { | 704 if (buildCounterChannelConversionPing < 3) { |
705 unittest.expect(o.context, unittest.equals('foo')); | 705 unittest.expect(o.context, unittest.equals('foo')); |
706 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 706 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
707 } | 707 } |
708 buildCounterChannelConversionPing--; | 708 buildCounterChannelConversionPing--; |
709 } | 709 } |
710 | 710 |
711 buildUnnamed1117() { | 711 buildUnnamed344() { |
712 var o = new core.List<api.ChannelConversionPing>(); | 712 var o = new core.List<api.ChannelConversionPing>(); |
713 o.add(buildChannelConversionPing()); | 713 o.add(buildChannelConversionPing()); |
714 o.add(buildChannelConversionPing()); | 714 o.add(buildChannelConversionPing()); |
715 return o; | 715 return o; |
716 } | 716 } |
717 | 717 |
718 checkUnnamed1117(core.List<api.ChannelConversionPing> o) { | 718 checkUnnamed344(core.List<api.ChannelConversionPing> o) { |
719 unittest.expect(o, unittest.hasLength(2)); | 719 unittest.expect(o, unittest.hasLength(2)); |
720 checkChannelConversionPing(o[0]); | 720 checkChannelConversionPing(o[0]); |
721 checkChannelConversionPing(o[1]); | 721 checkChannelConversionPing(o[1]); |
722 } | 722 } |
723 | 723 |
724 core.int buildCounterChannelConversionPings = 0; | 724 core.int buildCounterChannelConversionPings = 0; |
725 buildChannelConversionPings() { | 725 buildChannelConversionPings() { |
726 var o = new api.ChannelConversionPings(); | 726 var o = new api.ChannelConversionPings(); |
727 buildCounterChannelConversionPings++; | 727 buildCounterChannelConversionPings++; |
728 if (buildCounterChannelConversionPings < 3) { | 728 if (buildCounterChannelConversionPings < 3) { |
729 o.pings = buildUnnamed1117(); | 729 o.pings = buildUnnamed344(); |
730 } | 730 } |
731 buildCounterChannelConversionPings--; | 731 buildCounterChannelConversionPings--; |
732 return o; | 732 return o; |
733 } | 733 } |
734 | 734 |
735 checkChannelConversionPings(api.ChannelConversionPings o) { | 735 checkChannelConversionPings(api.ChannelConversionPings o) { |
736 buildCounterChannelConversionPings++; | 736 buildCounterChannelConversionPings++; |
737 if (buildCounterChannelConversionPings < 3) { | 737 if (buildCounterChannelConversionPings < 3) { |
738 checkUnnamed1117(o.pings); | 738 checkUnnamed344(o.pings); |
739 } | 739 } |
740 buildCounterChannelConversionPings--; | 740 buildCounterChannelConversionPings--; |
741 } | 741 } |
742 | 742 |
743 buildUnnamed1118() { | 743 buildUnnamed345() { |
744 var o = new core.List<api.Channel>(); | 744 var o = new core.List<api.Channel>(); |
745 o.add(buildChannel()); | 745 o.add(buildChannel()); |
746 o.add(buildChannel()); | 746 o.add(buildChannel()); |
747 return o; | 747 return o; |
748 } | 748 } |
749 | 749 |
750 checkUnnamed1118(core.List<api.Channel> o) { | 750 checkUnnamed345(core.List<api.Channel> o) { |
751 unittest.expect(o, unittest.hasLength(2)); | 751 unittest.expect(o, unittest.hasLength(2)); |
752 checkChannel(o[0]); | 752 checkChannel(o[0]); |
753 checkChannel(o[1]); | 753 checkChannel(o[1]); |
754 } | 754 } |
755 | 755 |
756 core.int buildCounterChannelListResponse = 0; | 756 core.int buildCounterChannelListResponse = 0; |
757 buildChannelListResponse() { | 757 buildChannelListResponse() { |
758 var o = new api.ChannelListResponse(); | 758 var o = new api.ChannelListResponse(); |
759 buildCounterChannelListResponse++; | 759 buildCounterChannelListResponse++; |
760 if (buildCounterChannelListResponse < 3) { | 760 if (buildCounterChannelListResponse < 3) { |
761 o.etag = "foo"; | 761 o.etag = "foo"; |
762 o.eventId = "foo"; | 762 o.eventId = "foo"; |
763 o.items = buildUnnamed1118(); | 763 o.items = buildUnnamed345(); |
764 o.kind = "foo"; | 764 o.kind = "foo"; |
765 o.nextPageToken = "foo"; | 765 o.nextPageToken = "foo"; |
766 o.pageInfo = buildPageInfo(); | 766 o.pageInfo = buildPageInfo(); |
767 o.prevPageToken = "foo"; | 767 o.prevPageToken = "foo"; |
768 o.tokenPagination = buildTokenPagination(); | 768 o.tokenPagination = buildTokenPagination(); |
769 o.visitorId = "foo"; | 769 o.visitorId = "foo"; |
770 } | 770 } |
771 buildCounterChannelListResponse--; | 771 buildCounterChannelListResponse--; |
772 return o; | 772 return o; |
773 } | 773 } |
774 | 774 |
775 checkChannelListResponse(api.ChannelListResponse o) { | 775 checkChannelListResponse(api.ChannelListResponse o) { |
776 buildCounterChannelListResponse++; | 776 buildCounterChannelListResponse++; |
777 if (buildCounterChannelListResponse < 3) { | 777 if (buildCounterChannelListResponse < 3) { |
778 unittest.expect(o.etag, unittest.equals('foo')); | 778 unittest.expect(o.etag, unittest.equals('foo')); |
779 unittest.expect(o.eventId, unittest.equals('foo')); | 779 unittest.expect(o.eventId, unittest.equals('foo')); |
780 checkUnnamed1118(o.items); | 780 checkUnnamed345(o.items); |
781 unittest.expect(o.kind, unittest.equals('foo')); | 781 unittest.expect(o.kind, unittest.equals('foo')); |
782 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 782 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
783 checkPageInfo(o.pageInfo); | 783 checkPageInfo(o.pageInfo); |
784 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 784 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
785 checkTokenPagination(o.tokenPagination); | 785 checkTokenPagination(o.tokenPagination); |
786 unittest.expect(o.visitorId, unittest.equals('foo')); | 786 unittest.expect(o.visitorId, unittest.equals('foo')); |
787 } | 787 } |
788 buildCounterChannelListResponse--; | 788 buildCounterChannelListResponse--; |
789 } | 789 } |
790 | 790 |
(...skipping 17 matching lines...) Expand all Loading... |
808 if (buildCounterChannelSection < 3) { | 808 if (buildCounterChannelSection < 3) { |
809 checkChannelSectionContentDetails(o.contentDetails); | 809 checkChannelSectionContentDetails(o.contentDetails); |
810 unittest.expect(o.etag, unittest.equals('foo')); | 810 unittest.expect(o.etag, unittest.equals('foo')); |
811 unittest.expect(o.id, unittest.equals('foo')); | 811 unittest.expect(o.id, unittest.equals('foo')); |
812 unittest.expect(o.kind, unittest.equals('foo')); | 812 unittest.expect(o.kind, unittest.equals('foo')); |
813 checkChannelSectionSnippet(o.snippet); | 813 checkChannelSectionSnippet(o.snippet); |
814 } | 814 } |
815 buildCounterChannelSection--; | 815 buildCounterChannelSection--; |
816 } | 816 } |
817 | 817 |
818 buildUnnamed1119() { | 818 buildUnnamed346() { |
819 var o = new core.List<core.String>(); | 819 var o = new core.List<core.String>(); |
820 o.add("foo"); | 820 o.add("foo"); |
821 o.add("foo"); | 821 o.add("foo"); |
822 return o; | 822 return o; |
823 } | 823 } |
824 | 824 |
825 checkUnnamed1119(core.List<core.String> o) { | 825 checkUnnamed346(core.List<core.String> o) { |
826 unittest.expect(o, unittest.hasLength(2)); | 826 unittest.expect(o, unittest.hasLength(2)); |
827 unittest.expect(o[0], unittest.equals('foo')); | 827 unittest.expect(o[0], unittest.equals('foo')); |
828 unittest.expect(o[1], unittest.equals('foo')); | 828 unittest.expect(o[1], unittest.equals('foo')); |
829 } | 829 } |
830 | 830 |
831 buildUnnamed1120() { | 831 buildUnnamed347() { |
832 var o = new core.List<core.String>(); | 832 var o = new core.List<core.String>(); |
833 o.add("foo"); | 833 o.add("foo"); |
834 o.add("foo"); | 834 o.add("foo"); |
835 return o; | 835 return o; |
836 } | 836 } |
837 | 837 |
838 checkUnnamed1120(core.List<core.String> o) { | 838 checkUnnamed347(core.List<core.String> o) { |
839 unittest.expect(o, unittest.hasLength(2)); | 839 unittest.expect(o, unittest.hasLength(2)); |
840 unittest.expect(o[0], unittest.equals('foo')); | 840 unittest.expect(o[0], unittest.equals('foo')); |
841 unittest.expect(o[1], unittest.equals('foo')); | 841 unittest.expect(o[1], unittest.equals('foo')); |
842 } | 842 } |
843 | 843 |
844 core.int buildCounterChannelSectionContentDetails = 0; | 844 core.int buildCounterChannelSectionContentDetails = 0; |
845 buildChannelSectionContentDetails() { | 845 buildChannelSectionContentDetails() { |
846 var o = new api.ChannelSectionContentDetails(); | 846 var o = new api.ChannelSectionContentDetails(); |
847 buildCounterChannelSectionContentDetails++; | 847 buildCounterChannelSectionContentDetails++; |
848 if (buildCounterChannelSectionContentDetails < 3) { | 848 if (buildCounterChannelSectionContentDetails < 3) { |
849 o.channels = buildUnnamed1119(); | 849 o.channels = buildUnnamed346(); |
850 o.playlists = buildUnnamed1120(); | 850 o.playlists = buildUnnamed347(); |
851 } | 851 } |
852 buildCounterChannelSectionContentDetails--; | 852 buildCounterChannelSectionContentDetails--; |
853 return o; | 853 return o; |
854 } | 854 } |
855 | 855 |
856 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 856 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
857 buildCounterChannelSectionContentDetails++; | 857 buildCounterChannelSectionContentDetails++; |
858 if (buildCounterChannelSectionContentDetails < 3) { | 858 if (buildCounterChannelSectionContentDetails < 3) { |
859 checkUnnamed1119(o.channels); | 859 checkUnnamed346(o.channels); |
860 checkUnnamed1120(o.playlists); | 860 checkUnnamed347(o.playlists); |
861 } | 861 } |
862 buildCounterChannelSectionContentDetails--; | 862 buildCounterChannelSectionContentDetails--; |
863 } | 863 } |
864 | 864 |
865 buildUnnamed1121() { | 865 buildUnnamed348() { |
866 var o = new core.List<api.ChannelSection>(); | 866 var o = new core.List<api.ChannelSection>(); |
867 o.add(buildChannelSection()); | 867 o.add(buildChannelSection()); |
868 o.add(buildChannelSection()); | 868 o.add(buildChannelSection()); |
869 return o; | 869 return o; |
870 } | 870 } |
871 | 871 |
872 checkUnnamed1121(core.List<api.ChannelSection> o) { | 872 checkUnnamed348(core.List<api.ChannelSection> o) { |
873 unittest.expect(o, unittest.hasLength(2)); | 873 unittest.expect(o, unittest.hasLength(2)); |
874 checkChannelSection(o[0]); | 874 checkChannelSection(o[0]); |
875 checkChannelSection(o[1]); | 875 checkChannelSection(o[1]); |
876 } | 876 } |
877 | 877 |
878 core.int buildCounterChannelSectionListResponse = 0; | 878 core.int buildCounterChannelSectionListResponse = 0; |
879 buildChannelSectionListResponse() { | 879 buildChannelSectionListResponse() { |
880 var o = new api.ChannelSectionListResponse(); | 880 var o = new api.ChannelSectionListResponse(); |
881 buildCounterChannelSectionListResponse++; | 881 buildCounterChannelSectionListResponse++; |
882 if (buildCounterChannelSectionListResponse < 3) { | 882 if (buildCounterChannelSectionListResponse < 3) { |
883 o.etag = "foo"; | 883 o.etag = "foo"; |
884 o.eventId = "foo"; | 884 o.eventId = "foo"; |
885 o.items = buildUnnamed1121(); | 885 o.items = buildUnnamed348(); |
886 o.kind = "foo"; | 886 o.kind = "foo"; |
887 o.visitorId = "foo"; | 887 o.visitorId = "foo"; |
888 } | 888 } |
889 buildCounterChannelSectionListResponse--; | 889 buildCounterChannelSectionListResponse--; |
890 return o; | 890 return o; |
891 } | 891 } |
892 | 892 |
893 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 893 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
894 buildCounterChannelSectionListResponse++; | 894 buildCounterChannelSectionListResponse++; |
895 if (buildCounterChannelSectionListResponse < 3) { | 895 if (buildCounterChannelSectionListResponse < 3) { |
896 unittest.expect(o.etag, unittest.equals('foo')); | 896 unittest.expect(o.etag, unittest.equals('foo')); |
897 unittest.expect(o.eventId, unittest.equals('foo')); | 897 unittest.expect(o.eventId, unittest.equals('foo')); |
898 checkUnnamed1121(o.items); | 898 checkUnnamed348(o.items); |
899 unittest.expect(o.kind, unittest.equals('foo')); | 899 unittest.expect(o.kind, unittest.equals('foo')); |
900 unittest.expect(o.visitorId, unittest.equals('foo')); | 900 unittest.expect(o.visitorId, unittest.equals('foo')); |
901 } | 901 } |
902 buildCounterChannelSectionListResponse--; | 902 buildCounterChannelSectionListResponse--; |
903 } | 903 } |
904 | 904 |
905 core.int buildCounterChannelSectionSnippet = 0; | 905 core.int buildCounterChannelSectionSnippet = 0; |
906 buildChannelSectionSnippet() { | 906 buildChannelSectionSnippet() { |
907 var o = new api.ChannelSectionSnippet(); | 907 var o = new api.ChannelSectionSnippet(); |
908 buildCounterChannelSectionSnippet++; | 908 buildCounterChannelSectionSnippet++; |
(...skipping 13 matching lines...) Expand all Loading... |
922 if (buildCounterChannelSectionSnippet < 3) { | 922 if (buildCounterChannelSectionSnippet < 3) { |
923 unittest.expect(o.channelId, unittest.equals('foo')); | 923 unittest.expect(o.channelId, unittest.equals('foo')); |
924 unittest.expect(o.position, unittest.equals(42)); | 924 unittest.expect(o.position, unittest.equals(42)); |
925 unittest.expect(o.style, unittest.equals('foo')); | 925 unittest.expect(o.style, unittest.equals('foo')); |
926 unittest.expect(o.title, unittest.equals('foo')); | 926 unittest.expect(o.title, unittest.equals('foo')); |
927 unittest.expect(o.type, unittest.equals('foo')); | 927 unittest.expect(o.type, unittest.equals('foo')); |
928 } | 928 } |
929 buildCounterChannelSectionSnippet--; | 929 buildCounterChannelSectionSnippet--; |
930 } | 930 } |
931 | 931 |
932 buildUnnamed1122() { | 932 buildUnnamed349() { |
933 var o = new core.List<core.String>(); | 933 var o = new core.List<core.String>(); |
934 o.add("foo"); | 934 o.add("foo"); |
935 o.add("foo"); | 935 o.add("foo"); |
936 return o; | 936 return o; |
937 } | 937 } |
938 | 938 |
939 checkUnnamed1122(core.List<core.String> o) { | 939 checkUnnamed349(core.List<core.String> o) { |
940 unittest.expect(o, unittest.hasLength(2)); | 940 unittest.expect(o, unittest.hasLength(2)); |
941 unittest.expect(o[0], unittest.equals('foo')); | 941 unittest.expect(o[0], unittest.equals('foo')); |
942 unittest.expect(o[1], unittest.equals('foo')); | 942 unittest.expect(o[1], unittest.equals('foo')); |
943 } | 943 } |
944 | 944 |
945 core.int buildCounterChannelSettings = 0; | 945 core.int buildCounterChannelSettings = 0; |
946 buildChannelSettings() { | 946 buildChannelSettings() { |
947 var o = new api.ChannelSettings(); | 947 var o = new api.ChannelSettings(); |
948 buildCounterChannelSettings++; | 948 buildCounterChannelSettings++; |
949 if (buildCounterChannelSettings < 3) { | 949 if (buildCounterChannelSettings < 3) { |
950 o.defaultTab = "foo"; | 950 o.defaultTab = "foo"; |
951 o.description = "foo"; | 951 o.description = "foo"; |
952 o.featuredChannelsTitle = "foo"; | 952 o.featuredChannelsTitle = "foo"; |
953 o.featuredChannelsUrls = buildUnnamed1122(); | 953 o.featuredChannelsUrls = buildUnnamed349(); |
954 o.keywords = "foo"; | 954 o.keywords = "foo"; |
955 o.moderateComments = true; | 955 o.moderateComments = true; |
956 o.profileColor = "foo"; | 956 o.profileColor = "foo"; |
957 o.showBrowseView = true; | 957 o.showBrowseView = true; |
958 o.showRelatedChannels = true; | 958 o.showRelatedChannels = true; |
959 o.title = "foo"; | 959 o.title = "foo"; |
960 o.trackingAnalyticsAccountId = "foo"; | 960 o.trackingAnalyticsAccountId = "foo"; |
961 o.unsubscribedTrailer = "foo"; | 961 o.unsubscribedTrailer = "foo"; |
962 } | 962 } |
963 buildCounterChannelSettings--; | 963 buildCounterChannelSettings--; |
964 return o; | 964 return o; |
965 } | 965 } |
966 | 966 |
967 checkChannelSettings(api.ChannelSettings o) { | 967 checkChannelSettings(api.ChannelSettings o) { |
968 buildCounterChannelSettings++; | 968 buildCounterChannelSettings++; |
969 if (buildCounterChannelSettings < 3) { | 969 if (buildCounterChannelSettings < 3) { |
970 unittest.expect(o.defaultTab, unittest.equals('foo')); | 970 unittest.expect(o.defaultTab, unittest.equals('foo')); |
971 unittest.expect(o.description, unittest.equals('foo')); | 971 unittest.expect(o.description, unittest.equals('foo')); |
972 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 972 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
973 checkUnnamed1122(o.featuredChannelsUrls); | 973 checkUnnamed349(o.featuredChannelsUrls); |
974 unittest.expect(o.keywords, unittest.equals('foo')); | 974 unittest.expect(o.keywords, unittest.equals('foo')); |
975 unittest.expect(o.moderateComments, unittest.isTrue); | 975 unittest.expect(o.moderateComments, unittest.isTrue); |
976 unittest.expect(o.profileColor, unittest.equals('foo')); | 976 unittest.expect(o.profileColor, unittest.equals('foo')); |
977 unittest.expect(o.showBrowseView, unittest.isTrue); | 977 unittest.expect(o.showBrowseView, unittest.isTrue); |
978 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 978 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
979 unittest.expect(o.title, unittest.equals('foo')); | 979 unittest.expect(o.title, unittest.equals('foo')); |
980 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 980 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
981 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 981 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
982 } | 982 } |
983 buildCounterChannelSettings--; | 983 buildCounterChannelSettings--; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 checkChannelStatus(api.ChannelStatus o) { | 1051 checkChannelStatus(api.ChannelStatus o) { |
1052 buildCounterChannelStatus++; | 1052 buildCounterChannelStatus++; |
1053 if (buildCounterChannelStatus < 3) { | 1053 if (buildCounterChannelStatus < 3) { |
1054 unittest.expect(o.isLinked, unittest.isTrue); | 1054 unittest.expect(o.isLinked, unittest.isTrue); |
1055 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1055 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
1056 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1056 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
1057 } | 1057 } |
1058 buildCounterChannelStatus--; | 1058 buildCounterChannelStatus--; |
1059 } | 1059 } |
1060 | 1060 |
1061 buildUnnamed1123() { | 1061 buildUnnamed350() { |
1062 var o = new core.List<core.String>(); | 1062 var o = new core.List<core.String>(); |
1063 o.add("foo"); | 1063 o.add("foo"); |
1064 o.add("foo"); | 1064 o.add("foo"); |
1065 return o; | 1065 return o; |
1066 } | 1066 } |
1067 | 1067 |
1068 checkUnnamed1123(core.List<core.String> o) { | 1068 checkUnnamed350(core.List<core.String> o) { |
1069 unittest.expect(o, unittest.hasLength(2)); | 1069 unittest.expect(o, unittest.hasLength(2)); |
1070 unittest.expect(o[0], unittest.equals('foo')); | 1070 unittest.expect(o[0], unittest.equals('foo')); |
1071 unittest.expect(o[1], unittest.equals('foo')); | 1071 unittest.expect(o[1], unittest.equals('foo')); |
1072 } | 1072 } |
1073 | 1073 |
1074 core.int buildCounterChannelTopicDetails = 0; | 1074 core.int buildCounterChannelTopicDetails = 0; |
1075 buildChannelTopicDetails() { | 1075 buildChannelTopicDetails() { |
1076 var o = new api.ChannelTopicDetails(); | 1076 var o = new api.ChannelTopicDetails(); |
1077 buildCounterChannelTopicDetails++; | 1077 buildCounterChannelTopicDetails++; |
1078 if (buildCounterChannelTopicDetails < 3) { | 1078 if (buildCounterChannelTopicDetails < 3) { |
1079 o.topicIds = buildUnnamed1123(); | 1079 o.topicIds = buildUnnamed350(); |
1080 } | 1080 } |
1081 buildCounterChannelTopicDetails--; | 1081 buildCounterChannelTopicDetails--; |
1082 return o; | 1082 return o; |
1083 } | 1083 } |
1084 | 1084 |
1085 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1085 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
1086 buildCounterChannelTopicDetails++; | 1086 buildCounterChannelTopicDetails++; |
1087 if (buildCounterChannelTopicDetails < 3) { | 1087 if (buildCounterChannelTopicDetails < 3) { |
1088 checkUnnamed1123(o.topicIds); | 1088 checkUnnamed350(o.topicIds); |
1089 } | 1089 } |
1090 buildCounterChannelTopicDetails--; | 1090 buildCounterChannelTopicDetails--; |
1091 } | 1091 } |
1092 | 1092 |
| 1093 buildUnnamed351() { |
| 1094 var o = new core.List<core.String>(); |
| 1095 o.add("foo"); |
| 1096 o.add("foo"); |
| 1097 return o; |
| 1098 } |
| 1099 |
| 1100 checkUnnamed351(core.List<core.String> o) { |
| 1101 unittest.expect(o, unittest.hasLength(2)); |
| 1102 unittest.expect(o[0], unittest.equals('foo')); |
| 1103 unittest.expect(o[1], unittest.equals('foo')); |
| 1104 } |
| 1105 |
1093 core.int buildCounterContentRating = 0; | 1106 core.int buildCounterContentRating = 0; |
1094 buildContentRating() { | 1107 buildContentRating() { |
1095 var o = new api.ContentRating(); | 1108 var o = new api.ContentRating(); |
1096 buildCounterContentRating++; | 1109 buildCounterContentRating++; |
1097 if (buildCounterContentRating < 3) { | 1110 if (buildCounterContentRating < 3) { |
1098 o.acbRating = "foo"; | 1111 o.acbRating = "foo"; |
1099 o.agcomRating = "foo"; | 1112 o.agcomRating = "foo"; |
1100 o.anatelRating = "foo"; | 1113 o.anatelRating = "foo"; |
1101 o.bbfcRating = "foo"; | 1114 o.bbfcRating = "foo"; |
1102 o.bfvcRating = "foo"; | 1115 o.bfvcRating = "foo"; |
1103 o.bmukkRating = "foo"; | 1116 o.bmukkRating = "foo"; |
1104 o.catvRating = "foo"; | 1117 o.catvRating = "foo"; |
1105 o.catvfrRating = "foo"; | 1118 o.catvfrRating = "foo"; |
1106 o.cbfcRating = "foo"; | 1119 o.cbfcRating = "foo"; |
1107 o.cccRating = "foo"; | 1120 o.cccRating = "foo"; |
1108 o.cceRating = "foo"; | 1121 o.cceRating = "foo"; |
1109 o.chfilmRating = "foo"; | 1122 o.chfilmRating = "foo"; |
1110 o.chvrsRating = "foo"; | 1123 o.chvrsRating = "foo"; |
1111 o.cicfRating = "foo"; | 1124 o.cicfRating = "foo"; |
1112 o.cnaRating = "foo"; | 1125 o.cnaRating = "foo"; |
1113 o.csaRating = "foo"; | 1126 o.csaRating = "foo"; |
1114 o.cscfRating = "foo"; | 1127 o.cscfRating = "foo"; |
1115 o.czfilmRating = "foo"; | 1128 o.czfilmRating = "foo"; |
1116 o.djctqRating = "foo"; | 1129 o.djctqRating = "foo"; |
| 1130 o.djctqRatingReasons = buildUnnamed351(); |
1117 o.eefilmRating = "foo"; | 1131 o.eefilmRating = "foo"; |
1118 o.egfilmRating = "foo"; | 1132 o.egfilmRating = "foo"; |
1119 o.eirinRating = "foo"; | 1133 o.eirinRating = "foo"; |
1120 o.fcbmRating = "foo"; | 1134 o.fcbmRating = "foo"; |
1121 o.fcoRating = "foo"; | 1135 o.fcoRating = "foo"; |
1122 o.fmocRating = "foo"; | 1136 o.fmocRating = "foo"; |
1123 o.fpbRating = "foo"; | 1137 o.fpbRating = "foo"; |
1124 o.fskRating = "foo"; | 1138 o.fskRating = "foo"; |
1125 o.grfilmRating = "foo"; | 1139 o.grfilmRating = "foo"; |
1126 o.icaaRating = "foo"; | 1140 o.icaaRating = "foo"; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1178 unittest.expect(o.cccRating, unittest.equals('foo')); | 1192 unittest.expect(o.cccRating, unittest.equals('foo')); |
1179 unittest.expect(o.cceRating, unittest.equals('foo')); | 1193 unittest.expect(o.cceRating, unittest.equals('foo')); |
1180 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1194 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
1181 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1195 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
1182 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1196 unittest.expect(o.cicfRating, unittest.equals('foo')); |
1183 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1197 unittest.expect(o.cnaRating, unittest.equals('foo')); |
1184 unittest.expect(o.csaRating, unittest.equals('foo')); | 1198 unittest.expect(o.csaRating, unittest.equals('foo')); |
1185 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1199 unittest.expect(o.cscfRating, unittest.equals('foo')); |
1186 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1200 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
1187 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1201 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1202 checkUnnamed351(o.djctqRatingReasons); |
1188 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1203 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
1189 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1204 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
1190 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1205 unittest.expect(o.eirinRating, unittest.equals('foo')); |
1191 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1206 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
1192 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1207 unittest.expect(o.fcoRating, unittest.equals('foo')); |
1193 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1208 unittest.expect(o.fmocRating, unittest.equals('foo')); |
1194 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1209 unittest.expect(o.fpbRating, unittest.equals('foo')); |
1195 unittest.expect(o.fskRating, unittest.equals('foo')); | 1210 unittest.expect(o.fskRating, unittest.equals('foo')); |
1196 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1211 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
1197 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1212 unittest.expect(o.icaaRating, unittest.equals('foo')); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 buildCounterGuideCategory++; | 1289 buildCounterGuideCategory++; |
1275 if (buildCounterGuideCategory < 3) { | 1290 if (buildCounterGuideCategory < 3) { |
1276 unittest.expect(o.etag, unittest.equals('foo')); | 1291 unittest.expect(o.etag, unittest.equals('foo')); |
1277 unittest.expect(o.id, unittest.equals('foo')); | 1292 unittest.expect(o.id, unittest.equals('foo')); |
1278 unittest.expect(o.kind, unittest.equals('foo')); | 1293 unittest.expect(o.kind, unittest.equals('foo')); |
1279 checkGuideCategorySnippet(o.snippet); | 1294 checkGuideCategorySnippet(o.snippet); |
1280 } | 1295 } |
1281 buildCounterGuideCategory--; | 1296 buildCounterGuideCategory--; |
1282 } | 1297 } |
1283 | 1298 |
1284 buildUnnamed1124() { | 1299 buildUnnamed352() { |
1285 var o = new core.List<api.GuideCategory>(); | 1300 var o = new core.List<api.GuideCategory>(); |
1286 o.add(buildGuideCategory()); | 1301 o.add(buildGuideCategory()); |
1287 o.add(buildGuideCategory()); | 1302 o.add(buildGuideCategory()); |
1288 return o; | 1303 return o; |
1289 } | 1304 } |
1290 | 1305 |
1291 checkUnnamed1124(core.List<api.GuideCategory> o) { | 1306 checkUnnamed352(core.List<api.GuideCategory> o) { |
1292 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
1293 checkGuideCategory(o[0]); | 1308 checkGuideCategory(o[0]); |
1294 checkGuideCategory(o[1]); | 1309 checkGuideCategory(o[1]); |
1295 } | 1310 } |
1296 | 1311 |
1297 core.int buildCounterGuideCategoryListResponse = 0; | 1312 core.int buildCounterGuideCategoryListResponse = 0; |
1298 buildGuideCategoryListResponse() { | 1313 buildGuideCategoryListResponse() { |
1299 var o = new api.GuideCategoryListResponse(); | 1314 var o = new api.GuideCategoryListResponse(); |
1300 buildCounterGuideCategoryListResponse++; | 1315 buildCounterGuideCategoryListResponse++; |
1301 if (buildCounterGuideCategoryListResponse < 3) { | 1316 if (buildCounterGuideCategoryListResponse < 3) { |
1302 o.etag = "foo"; | 1317 o.etag = "foo"; |
1303 o.eventId = "foo"; | 1318 o.eventId = "foo"; |
1304 o.items = buildUnnamed1124(); | 1319 o.items = buildUnnamed352(); |
1305 o.kind = "foo"; | 1320 o.kind = "foo"; |
1306 o.nextPageToken = "foo"; | 1321 o.nextPageToken = "foo"; |
1307 o.pageInfo = buildPageInfo(); | 1322 o.pageInfo = buildPageInfo(); |
1308 o.prevPageToken = "foo"; | 1323 o.prevPageToken = "foo"; |
1309 o.tokenPagination = buildTokenPagination(); | 1324 o.tokenPagination = buildTokenPagination(); |
1310 o.visitorId = "foo"; | 1325 o.visitorId = "foo"; |
1311 } | 1326 } |
1312 buildCounterGuideCategoryListResponse--; | 1327 buildCounterGuideCategoryListResponse--; |
1313 return o; | 1328 return o; |
1314 } | 1329 } |
1315 | 1330 |
1316 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1331 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
1317 buildCounterGuideCategoryListResponse++; | 1332 buildCounterGuideCategoryListResponse++; |
1318 if (buildCounterGuideCategoryListResponse < 3) { | 1333 if (buildCounterGuideCategoryListResponse < 3) { |
1319 unittest.expect(o.etag, unittest.equals('foo')); | 1334 unittest.expect(o.etag, unittest.equals('foo')); |
1320 unittest.expect(o.eventId, unittest.equals('foo')); | 1335 unittest.expect(o.eventId, unittest.equals('foo')); |
1321 checkUnnamed1124(o.items); | 1336 checkUnnamed352(o.items); |
1322 unittest.expect(o.kind, unittest.equals('foo')); | 1337 unittest.expect(o.kind, unittest.equals('foo')); |
1323 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1338 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1324 checkPageInfo(o.pageInfo); | 1339 checkPageInfo(o.pageInfo); |
1325 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1340 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1326 checkTokenPagination(o.tokenPagination); | 1341 checkTokenPagination(o.tokenPagination); |
1327 unittest.expect(o.visitorId, unittest.equals('foo')); | 1342 unittest.expect(o.visitorId, unittest.equals('foo')); |
1328 } | 1343 } |
1329 buildCounterGuideCategoryListResponse--; | 1344 buildCounterGuideCategoryListResponse--; |
1330 } | 1345 } |
1331 | 1346 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 buildCounterI18nLanguage++; | 1383 buildCounterI18nLanguage++; |
1369 if (buildCounterI18nLanguage < 3) { | 1384 if (buildCounterI18nLanguage < 3) { |
1370 unittest.expect(o.etag, unittest.equals('foo')); | 1385 unittest.expect(o.etag, unittest.equals('foo')); |
1371 unittest.expect(o.id, unittest.equals('foo')); | 1386 unittest.expect(o.id, unittest.equals('foo')); |
1372 unittest.expect(o.kind, unittest.equals('foo')); | 1387 unittest.expect(o.kind, unittest.equals('foo')); |
1373 checkI18nLanguageSnippet(o.snippet); | 1388 checkI18nLanguageSnippet(o.snippet); |
1374 } | 1389 } |
1375 buildCounterI18nLanguage--; | 1390 buildCounterI18nLanguage--; |
1376 } | 1391 } |
1377 | 1392 |
1378 buildUnnamed1125() { | 1393 buildUnnamed353() { |
1379 var o = new core.List<api.I18nLanguage>(); | 1394 var o = new core.List<api.I18nLanguage>(); |
1380 o.add(buildI18nLanguage()); | 1395 o.add(buildI18nLanguage()); |
1381 o.add(buildI18nLanguage()); | 1396 o.add(buildI18nLanguage()); |
1382 return o; | 1397 return o; |
1383 } | 1398 } |
1384 | 1399 |
1385 checkUnnamed1125(core.List<api.I18nLanguage> o) { | 1400 checkUnnamed353(core.List<api.I18nLanguage> o) { |
1386 unittest.expect(o, unittest.hasLength(2)); | 1401 unittest.expect(o, unittest.hasLength(2)); |
1387 checkI18nLanguage(o[0]); | 1402 checkI18nLanguage(o[0]); |
1388 checkI18nLanguage(o[1]); | 1403 checkI18nLanguage(o[1]); |
1389 } | 1404 } |
1390 | 1405 |
1391 core.int buildCounterI18nLanguageListResponse = 0; | 1406 core.int buildCounterI18nLanguageListResponse = 0; |
1392 buildI18nLanguageListResponse() { | 1407 buildI18nLanguageListResponse() { |
1393 var o = new api.I18nLanguageListResponse(); | 1408 var o = new api.I18nLanguageListResponse(); |
1394 buildCounterI18nLanguageListResponse++; | 1409 buildCounterI18nLanguageListResponse++; |
1395 if (buildCounterI18nLanguageListResponse < 3) { | 1410 if (buildCounterI18nLanguageListResponse < 3) { |
1396 o.etag = "foo"; | 1411 o.etag = "foo"; |
1397 o.eventId = "foo"; | 1412 o.eventId = "foo"; |
1398 o.items = buildUnnamed1125(); | 1413 o.items = buildUnnamed353(); |
1399 o.kind = "foo"; | 1414 o.kind = "foo"; |
1400 o.visitorId = "foo"; | 1415 o.visitorId = "foo"; |
1401 } | 1416 } |
1402 buildCounterI18nLanguageListResponse--; | 1417 buildCounterI18nLanguageListResponse--; |
1403 return o; | 1418 return o; |
1404 } | 1419 } |
1405 | 1420 |
1406 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1421 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
1407 buildCounterI18nLanguageListResponse++; | 1422 buildCounterI18nLanguageListResponse++; |
1408 if (buildCounterI18nLanguageListResponse < 3) { | 1423 if (buildCounterI18nLanguageListResponse < 3) { |
1409 unittest.expect(o.etag, unittest.equals('foo')); | 1424 unittest.expect(o.etag, unittest.equals('foo')); |
1410 unittest.expect(o.eventId, unittest.equals('foo')); | 1425 unittest.expect(o.eventId, unittest.equals('foo')); |
1411 checkUnnamed1125(o.items); | 1426 checkUnnamed353(o.items); |
1412 unittest.expect(o.kind, unittest.equals('foo')); | 1427 unittest.expect(o.kind, unittest.equals('foo')); |
1413 unittest.expect(o.visitorId, unittest.equals('foo')); | 1428 unittest.expect(o.visitorId, unittest.equals('foo')); |
1414 } | 1429 } |
1415 buildCounterI18nLanguageListResponse--; | 1430 buildCounterI18nLanguageListResponse--; |
1416 } | 1431 } |
1417 | 1432 |
1418 core.int buildCounterI18nLanguageSnippet = 0; | 1433 core.int buildCounterI18nLanguageSnippet = 0; |
1419 buildI18nLanguageSnippet() { | 1434 buildI18nLanguageSnippet() { |
1420 var o = new api.I18nLanguageSnippet(); | 1435 var o = new api.I18nLanguageSnippet(); |
1421 buildCounterI18nLanguageSnippet++; | 1436 buildCounterI18nLanguageSnippet++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 buildCounterI18nRegion++; | 1469 buildCounterI18nRegion++; |
1455 if (buildCounterI18nRegion < 3) { | 1470 if (buildCounterI18nRegion < 3) { |
1456 unittest.expect(o.etag, unittest.equals('foo')); | 1471 unittest.expect(o.etag, unittest.equals('foo')); |
1457 unittest.expect(o.id, unittest.equals('foo')); | 1472 unittest.expect(o.id, unittest.equals('foo')); |
1458 unittest.expect(o.kind, unittest.equals('foo')); | 1473 unittest.expect(o.kind, unittest.equals('foo')); |
1459 checkI18nRegionSnippet(o.snippet); | 1474 checkI18nRegionSnippet(o.snippet); |
1460 } | 1475 } |
1461 buildCounterI18nRegion--; | 1476 buildCounterI18nRegion--; |
1462 } | 1477 } |
1463 | 1478 |
1464 buildUnnamed1126() { | 1479 buildUnnamed354() { |
1465 var o = new core.List<api.I18nRegion>(); | 1480 var o = new core.List<api.I18nRegion>(); |
1466 o.add(buildI18nRegion()); | 1481 o.add(buildI18nRegion()); |
1467 o.add(buildI18nRegion()); | 1482 o.add(buildI18nRegion()); |
1468 return o; | 1483 return o; |
1469 } | 1484 } |
1470 | 1485 |
1471 checkUnnamed1126(core.List<api.I18nRegion> o) { | 1486 checkUnnamed354(core.List<api.I18nRegion> o) { |
1472 unittest.expect(o, unittest.hasLength(2)); | 1487 unittest.expect(o, unittest.hasLength(2)); |
1473 checkI18nRegion(o[0]); | 1488 checkI18nRegion(o[0]); |
1474 checkI18nRegion(o[1]); | 1489 checkI18nRegion(o[1]); |
1475 } | 1490 } |
1476 | 1491 |
1477 core.int buildCounterI18nRegionListResponse = 0; | 1492 core.int buildCounterI18nRegionListResponse = 0; |
1478 buildI18nRegionListResponse() { | 1493 buildI18nRegionListResponse() { |
1479 var o = new api.I18nRegionListResponse(); | 1494 var o = new api.I18nRegionListResponse(); |
1480 buildCounterI18nRegionListResponse++; | 1495 buildCounterI18nRegionListResponse++; |
1481 if (buildCounterI18nRegionListResponse < 3) { | 1496 if (buildCounterI18nRegionListResponse < 3) { |
1482 o.etag = "foo"; | 1497 o.etag = "foo"; |
1483 o.eventId = "foo"; | 1498 o.eventId = "foo"; |
1484 o.items = buildUnnamed1126(); | 1499 o.items = buildUnnamed354(); |
1485 o.kind = "foo"; | 1500 o.kind = "foo"; |
1486 o.visitorId = "foo"; | 1501 o.visitorId = "foo"; |
1487 } | 1502 } |
1488 buildCounterI18nRegionListResponse--; | 1503 buildCounterI18nRegionListResponse--; |
1489 return o; | 1504 return o; |
1490 } | 1505 } |
1491 | 1506 |
1492 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 1507 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
1493 buildCounterI18nRegionListResponse++; | 1508 buildCounterI18nRegionListResponse++; |
1494 if (buildCounterI18nRegionListResponse < 3) { | 1509 if (buildCounterI18nRegionListResponse < 3) { |
1495 unittest.expect(o.etag, unittest.equals('foo')); | 1510 unittest.expect(o.etag, unittest.equals('foo')); |
1496 unittest.expect(o.eventId, unittest.equals('foo')); | 1511 unittest.expect(o.eventId, unittest.equals('foo')); |
1497 checkUnnamed1126(o.items); | 1512 checkUnnamed354(o.items); |
1498 unittest.expect(o.kind, unittest.equals('foo')); | 1513 unittest.expect(o.kind, unittest.equals('foo')); |
1499 unittest.expect(o.visitorId, unittest.equals('foo')); | 1514 unittest.expect(o.visitorId, unittest.equals('foo')); |
1500 } | 1515 } |
1501 buildCounterI18nRegionListResponse--; | 1516 buildCounterI18nRegionListResponse--; |
1502 } | 1517 } |
1503 | 1518 |
1504 core.int buildCounterI18nRegionSnippet = 0; | 1519 core.int buildCounterI18nRegionSnippet = 0; |
1505 buildI18nRegionSnippet() { | 1520 buildI18nRegionSnippet() { |
1506 var o = new api.I18nRegionSnippet(); | 1521 var o = new api.I18nRegionSnippet(); |
1507 buildCounterI18nRegionSnippet++; | 1522 buildCounterI18nRegionSnippet++; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1647 | 1662 |
1648 checkInvideoPosition(api.InvideoPosition o) { | 1663 checkInvideoPosition(api.InvideoPosition o) { |
1649 buildCounterInvideoPosition++; | 1664 buildCounterInvideoPosition++; |
1650 if (buildCounterInvideoPosition < 3) { | 1665 if (buildCounterInvideoPosition < 3) { |
1651 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 1666 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
1652 unittest.expect(o.type, unittest.equals('foo')); | 1667 unittest.expect(o.type, unittest.equals('foo')); |
1653 } | 1668 } |
1654 buildCounterInvideoPosition--; | 1669 buildCounterInvideoPosition--; |
1655 } | 1670 } |
1656 | 1671 |
1657 buildUnnamed1127() { | 1672 buildUnnamed355() { |
1658 var o = new core.List<api.PromotedItem>(); | 1673 var o = new core.List<api.PromotedItem>(); |
1659 o.add(buildPromotedItem()); | 1674 o.add(buildPromotedItem()); |
1660 o.add(buildPromotedItem()); | 1675 o.add(buildPromotedItem()); |
1661 return o; | 1676 return o; |
1662 } | 1677 } |
1663 | 1678 |
1664 checkUnnamed1127(core.List<api.PromotedItem> o) { | 1679 checkUnnamed355(core.List<api.PromotedItem> o) { |
1665 unittest.expect(o, unittest.hasLength(2)); | 1680 unittest.expect(o, unittest.hasLength(2)); |
1666 checkPromotedItem(o[0]); | 1681 checkPromotedItem(o[0]); |
1667 checkPromotedItem(o[1]); | 1682 checkPromotedItem(o[1]); |
1668 } | 1683 } |
1669 | 1684 |
1670 core.int buildCounterInvideoPromotion = 0; | 1685 core.int buildCounterInvideoPromotion = 0; |
1671 buildInvideoPromotion() { | 1686 buildInvideoPromotion() { |
1672 var o = new api.InvideoPromotion(); | 1687 var o = new api.InvideoPromotion(); |
1673 buildCounterInvideoPromotion++; | 1688 buildCounterInvideoPromotion++; |
1674 if (buildCounterInvideoPromotion < 3) { | 1689 if (buildCounterInvideoPromotion < 3) { |
1675 o.defaultTiming = buildInvideoTiming(); | 1690 o.defaultTiming = buildInvideoTiming(); |
1676 o.items = buildUnnamed1127(); | 1691 o.items = buildUnnamed355(); |
1677 o.position = buildInvideoPosition(); | 1692 o.position = buildInvideoPosition(); |
1678 o.useSmartTiming = true; | 1693 o.useSmartTiming = true; |
1679 } | 1694 } |
1680 buildCounterInvideoPromotion--; | 1695 buildCounterInvideoPromotion--; |
1681 return o; | 1696 return o; |
1682 } | 1697 } |
1683 | 1698 |
1684 checkInvideoPromotion(api.InvideoPromotion o) { | 1699 checkInvideoPromotion(api.InvideoPromotion o) { |
1685 buildCounterInvideoPromotion++; | 1700 buildCounterInvideoPromotion++; |
1686 if (buildCounterInvideoPromotion < 3) { | 1701 if (buildCounterInvideoPromotion < 3) { |
1687 checkInvideoTiming(o.defaultTiming); | 1702 checkInvideoTiming(o.defaultTiming); |
1688 checkUnnamed1127(o.items); | 1703 checkUnnamed355(o.items); |
1689 checkInvideoPosition(o.position); | 1704 checkInvideoPosition(o.position); |
1690 unittest.expect(o.useSmartTiming, unittest.isTrue); | 1705 unittest.expect(o.useSmartTiming, unittest.isTrue); |
1691 } | 1706 } |
1692 buildCounterInvideoPromotion--; | 1707 buildCounterInvideoPromotion--; |
1693 } | 1708 } |
1694 | 1709 |
1695 core.int buildCounterInvideoTiming = 0; | 1710 core.int buildCounterInvideoTiming = 0; |
1696 buildInvideoTiming() { | 1711 buildInvideoTiming() { |
1697 var o = new api.InvideoTiming(); | 1712 var o = new api.InvideoTiming(); |
1698 buildCounterInvideoTiming++; | 1713 buildCounterInvideoTiming++; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1770 unittest.expect(o.enableContentEncryption, unittest.isTrue); | 1785 unittest.expect(o.enableContentEncryption, unittest.isTrue); |
1771 unittest.expect(o.enableDvr, unittest.isTrue); | 1786 unittest.expect(o.enableDvr, unittest.isTrue); |
1772 unittest.expect(o.enableEmbed, unittest.isTrue); | 1787 unittest.expect(o.enableEmbed, unittest.isTrue); |
1773 checkMonitorStreamInfo(o.monitorStream); | 1788 checkMonitorStreamInfo(o.monitorStream); |
1774 unittest.expect(o.recordFromStart, unittest.isTrue); | 1789 unittest.expect(o.recordFromStart, unittest.isTrue); |
1775 unittest.expect(o.startWithSlate, unittest.isTrue); | 1790 unittest.expect(o.startWithSlate, unittest.isTrue); |
1776 } | 1791 } |
1777 buildCounterLiveBroadcastContentDetails--; | 1792 buildCounterLiveBroadcastContentDetails--; |
1778 } | 1793 } |
1779 | 1794 |
1780 buildUnnamed1128() { | 1795 buildUnnamed356() { |
1781 var o = new core.List<api.LiveBroadcast>(); | 1796 var o = new core.List<api.LiveBroadcast>(); |
1782 o.add(buildLiveBroadcast()); | 1797 o.add(buildLiveBroadcast()); |
1783 o.add(buildLiveBroadcast()); | 1798 o.add(buildLiveBroadcast()); |
1784 return o; | 1799 return o; |
1785 } | 1800 } |
1786 | 1801 |
1787 checkUnnamed1128(core.List<api.LiveBroadcast> o) { | 1802 checkUnnamed356(core.List<api.LiveBroadcast> o) { |
1788 unittest.expect(o, unittest.hasLength(2)); | 1803 unittest.expect(o, unittest.hasLength(2)); |
1789 checkLiveBroadcast(o[0]); | 1804 checkLiveBroadcast(o[0]); |
1790 checkLiveBroadcast(o[1]); | 1805 checkLiveBroadcast(o[1]); |
1791 } | 1806 } |
1792 | 1807 |
1793 core.int buildCounterLiveBroadcastListResponse = 0; | 1808 core.int buildCounterLiveBroadcastListResponse = 0; |
1794 buildLiveBroadcastListResponse() { | 1809 buildLiveBroadcastListResponse() { |
1795 var o = new api.LiveBroadcastListResponse(); | 1810 var o = new api.LiveBroadcastListResponse(); |
1796 buildCounterLiveBroadcastListResponse++; | 1811 buildCounterLiveBroadcastListResponse++; |
1797 if (buildCounterLiveBroadcastListResponse < 3) { | 1812 if (buildCounterLiveBroadcastListResponse < 3) { |
1798 o.etag = "foo"; | 1813 o.etag = "foo"; |
1799 o.eventId = "foo"; | 1814 o.eventId = "foo"; |
1800 o.items = buildUnnamed1128(); | 1815 o.items = buildUnnamed356(); |
1801 o.kind = "foo"; | 1816 o.kind = "foo"; |
1802 o.nextPageToken = "foo"; | 1817 o.nextPageToken = "foo"; |
1803 o.pageInfo = buildPageInfo(); | 1818 o.pageInfo = buildPageInfo(); |
1804 o.prevPageToken = "foo"; | 1819 o.prevPageToken = "foo"; |
1805 o.tokenPagination = buildTokenPagination(); | 1820 o.tokenPagination = buildTokenPagination(); |
1806 o.visitorId = "foo"; | 1821 o.visitorId = "foo"; |
1807 } | 1822 } |
1808 buildCounterLiveBroadcastListResponse--; | 1823 buildCounterLiveBroadcastListResponse--; |
1809 return o; | 1824 return o; |
1810 } | 1825 } |
1811 | 1826 |
1812 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 1827 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
1813 buildCounterLiveBroadcastListResponse++; | 1828 buildCounterLiveBroadcastListResponse++; |
1814 if (buildCounterLiveBroadcastListResponse < 3) { | 1829 if (buildCounterLiveBroadcastListResponse < 3) { |
1815 unittest.expect(o.etag, unittest.equals('foo')); | 1830 unittest.expect(o.etag, unittest.equals('foo')); |
1816 unittest.expect(o.eventId, unittest.equals('foo')); | 1831 unittest.expect(o.eventId, unittest.equals('foo')); |
1817 checkUnnamed1128(o.items); | 1832 checkUnnamed356(o.items); |
1818 unittest.expect(o.kind, unittest.equals('foo')); | 1833 unittest.expect(o.kind, unittest.equals('foo')); |
1819 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1834 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1820 checkPageInfo(o.pageInfo); | 1835 checkPageInfo(o.pageInfo); |
1821 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1836 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1822 checkTokenPagination(o.tokenPagination); | 1837 checkTokenPagination(o.tokenPagination); |
1823 unittest.expect(o.visitorId, unittest.equals('foo')); | 1838 unittest.expect(o.visitorId, unittest.equals('foo')); |
1824 } | 1839 } |
1825 buildCounterLiveBroadcastListResponse--; | 1840 buildCounterLiveBroadcastListResponse--; |
1826 } | 1841 } |
1827 | 1842 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1930 | 1945 |
1931 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 1946 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
1932 buildCounterLiveStreamContentDetails++; | 1947 buildCounterLiveStreamContentDetails++; |
1933 if (buildCounterLiveStreamContentDetails < 3) { | 1948 if (buildCounterLiveStreamContentDetails < 3) { |
1934 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 1949 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
1935 unittest.expect(o.isReusable, unittest.isTrue); | 1950 unittest.expect(o.isReusable, unittest.isTrue); |
1936 } | 1951 } |
1937 buildCounterLiveStreamContentDetails--; | 1952 buildCounterLiveStreamContentDetails--; |
1938 } | 1953 } |
1939 | 1954 |
1940 buildUnnamed1129() { | 1955 buildUnnamed357() { |
1941 var o = new core.List<api.LiveStream>(); | 1956 var o = new core.List<api.LiveStream>(); |
1942 o.add(buildLiveStream()); | 1957 o.add(buildLiveStream()); |
1943 o.add(buildLiveStream()); | 1958 o.add(buildLiveStream()); |
1944 return o; | 1959 return o; |
1945 } | 1960 } |
1946 | 1961 |
1947 checkUnnamed1129(core.List<api.LiveStream> o) { | 1962 checkUnnamed357(core.List<api.LiveStream> o) { |
1948 unittest.expect(o, unittest.hasLength(2)); | 1963 unittest.expect(o, unittest.hasLength(2)); |
1949 checkLiveStream(o[0]); | 1964 checkLiveStream(o[0]); |
1950 checkLiveStream(o[1]); | 1965 checkLiveStream(o[1]); |
1951 } | 1966 } |
1952 | 1967 |
1953 core.int buildCounterLiveStreamListResponse = 0; | 1968 core.int buildCounterLiveStreamListResponse = 0; |
1954 buildLiveStreamListResponse() { | 1969 buildLiveStreamListResponse() { |
1955 var o = new api.LiveStreamListResponse(); | 1970 var o = new api.LiveStreamListResponse(); |
1956 buildCounterLiveStreamListResponse++; | 1971 buildCounterLiveStreamListResponse++; |
1957 if (buildCounterLiveStreamListResponse < 3) { | 1972 if (buildCounterLiveStreamListResponse < 3) { |
1958 o.etag = "foo"; | 1973 o.etag = "foo"; |
1959 o.eventId = "foo"; | 1974 o.eventId = "foo"; |
1960 o.items = buildUnnamed1129(); | 1975 o.items = buildUnnamed357(); |
1961 o.kind = "foo"; | 1976 o.kind = "foo"; |
1962 o.nextPageToken = "foo"; | 1977 o.nextPageToken = "foo"; |
1963 o.pageInfo = buildPageInfo(); | 1978 o.pageInfo = buildPageInfo(); |
1964 o.prevPageToken = "foo"; | 1979 o.prevPageToken = "foo"; |
1965 o.tokenPagination = buildTokenPagination(); | 1980 o.tokenPagination = buildTokenPagination(); |
1966 o.visitorId = "foo"; | 1981 o.visitorId = "foo"; |
1967 } | 1982 } |
1968 buildCounterLiveStreamListResponse--; | 1983 buildCounterLiveStreamListResponse--; |
1969 return o; | 1984 return o; |
1970 } | 1985 } |
1971 | 1986 |
1972 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 1987 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
1973 buildCounterLiveStreamListResponse++; | 1988 buildCounterLiveStreamListResponse++; |
1974 if (buildCounterLiveStreamListResponse < 3) { | 1989 if (buildCounterLiveStreamListResponse < 3) { |
1975 unittest.expect(o.etag, unittest.equals('foo')); | 1990 unittest.expect(o.etag, unittest.equals('foo')); |
1976 unittest.expect(o.eventId, unittest.equals('foo')); | 1991 unittest.expect(o.eventId, unittest.equals('foo')); |
1977 checkUnnamed1129(o.items); | 1992 checkUnnamed357(o.items); |
1978 unittest.expect(o.kind, unittest.equals('foo')); | 1993 unittest.expect(o.kind, unittest.equals('foo')); |
1979 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1980 checkPageInfo(o.pageInfo); | 1995 checkPageInfo(o.pageInfo); |
1981 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1996 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1982 checkTokenPagination(o.tokenPagination); | 1997 checkTokenPagination(o.tokenPagination); |
1983 unittest.expect(o.visitorId, unittest.equals('foo')); | 1998 unittest.expect(o.visitorId, unittest.equals('foo')); |
1984 } | 1999 } |
1985 buildCounterLiveStreamListResponse--; | 2000 buildCounterLiveStreamListResponse--; |
1986 } | 2001 } |
1987 | 2002 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2022 } | 2037 } |
2023 | 2038 |
2024 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2039 checkLiveStreamStatus(api.LiveStreamStatus o) { |
2025 buildCounterLiveStreamStatus++; | 2040 buildCounterLiveStreamStatus++; |
2026 if (buildCounterLiveStreamStatus < 3) { | 2041 if (buildCounterLiveStreamStatus < 3) { |
2027 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2042 unittest.expect(o.streamStatus, unittest.equals('foo')); |
2028 } | 2043 } |
2029 buildCounterLiveStreamStatus--; | 2044 buildCounterLiveStreamStatus--; |
2030 } | 2045 } |
2031 | 2046 |
2032 buildUnnamed1130() { | 2047 buildUnnamed358() { |
2033 var o = new core.List<api.LocalizedString>(); | 2048 var o = new core.List<api.LocalizedString>(); |
2034 o.add(buildLocalizedString()); | 2049 o.add(buildLocalizedString()); |
2035 o.add(buildLocalizedString()); | 2050 o.add(buildLocalizedString()); |
2036 return o; | 2051 return o; |
2037 } | 2052 } |
2038 | 2053 |
2039 checkUnnamed1130(core.List<api.LocalizedString> o) { | 2054 checkUnnamed358(core.List<api.LocalizedString> o) { |
2040 unittest.expect(o, unittest.hasLength(2)); | 2055 unittest.expect(o, unittest.hasLength(2)); |
2041 checkLocalizedString(o[0]); | 2056 checkLocalizedString(o[0]); |
2042 checkLocalizedString(o[1]); | 2057 checkLocalizedString(o[1]); |
2043 } | 2058 } |
2044 | 2059 |
2045 core.int buildCounterLocalizedProperty = 0; | 2060 core.int buildCounterLocalizedProperty = 0; |
2046 buildLocalizedProperty() { | 2061 buildLocalizedProperty() { |
2047 var o = new api.LocalizedProperty(); | 2062 var o = new api.LocalizedProperty(); |
2048 buildCounterLocalizedProperty++; | 2063 buildCounterLocalizedProperty++; |
2049 if (buildCounterLocalizedProperty < 3) { | 2064 if (buildCounterLocalizedProperty < 3) { |
2050 o.default_ = "foo"; | 2065 o.default_ = "foo"; |
2051 o.localized = buildUnnamed1130(); | 2066 o.localized = buildUnnamed358(); |
2052 } | 2067 } |
2053 buildCounterLocalizedProperty--; | 2068 buildCounterLocalizedProperty--; |
2054 return o; | 2069 return o; |
2055 } | 2070 } |
2056 | 2071 |
2057 checkLocalizedProperty(api.LocalizedProperty o) { | 2072 checkLocalizedProperty(api.LocalizedProperty o) { |
2058 buildCounterLocalizedProperty++; | 2073 buildCounterLocalizedProperty++; |
2059 if (buildCounterLocalizedProperty < 3) { | 2074 if (buildCounterLocalizedProperty < 3) { |
2060 unittest.expect(o.default_, unittest.equals('foo')); | 2075 unittest.expect(o.default_, unittest.equals('foo')); |
2061 checkUnnamed1130(o.localized); | 2076 checkUnnamed358(o.localized); |
2062 } | 2077 } |
2063 buildCounterLocalizedProperty--; | 2078 buildCounterLocalizedProperty--; |
2064 } | 2079 } |
2065 | 2080 |
2066 core.int buildCounterLocalizedString = 0; | 2081 core.int buildCounterLocalizedString = 0; |
2067 buildLocalizedString() { | 2082 buildLocalizedString() { |
2068 var o = new api.LocalizedString(); | 2083 var o = new api.LocalizedString(); |
2069 buildCounterLocalizedString++; | 2084 buildCounterLocalizedString++; |
2070 if (buildCounterLocalizedString < 3) { | 2085 if (buildCounterLocalizedString < 3) { |
2071 o.language = "foo"; | 2086 o.language = "foo"; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 buildCounterPlaylistItemContentDetails++; | 2240 buildCounterPlaylistItemContentDetails++; |
2226 if (buildCounterPlaylistItemContentDetails < 3) { | 2241 if (buildCounterPlaylistItemContentDetails < 3) { |
2227 unittest.expect(o.endAt, unittest.equals('foo')); | 2242 unittest.expect(o.endAt, unittest.equals('foo')); |
2228 unittest.expect(o.note, unittest.equals('foo')); | 2243 unittest.expect(o.note, unittest.equals('foo')); |
2229 unittest.expect(o.startAt, unittest.equals('foo')); | 2244 unittest.expect(o.startAt, unittest.equals('foo')); |
2230 unittest.expect(o.videoId, unittest.equals('foo')); | 2245 unittest.expect(o.videoId, unittest.equals('foo')); |
2231 } | 2246 } |
2232 buildCounterPlaylistItemContentDetails--; | 2247 buildCounterPlaylistItemContentDetails--; |
2233 } | 2248 } |
2234 | 2249 |
2235 buildUnnamed1131() { | 2250 buildUnnamed359() { |
2236 var o = new core.List<api.PlaylistItem>(); | 2251 var o = new core.List<api.PlaylistItem>(); |
2237 o.add(buildPlaylistItem()); | 2252 o.add(buildPlaylistItem()); |
2238 o.add(buildPlaylistItem()); | 2253 o.add(buildPlaylistItem()); |
2239 return o; | 2254 return o; |
2240 } | 2255 } |
2241 | 2256 |
2242 checkUnnamed1131(core.List<api.PlaylistItem> o) { | 2257 checkUnnamed359(core.List<api.PlaylistItem> o) { |
2243 unittest.expect(o, unittest.hasLength(2)); | 2258 unittest.expect(o, unittest.hasLength(2)); |
2244 checkPlaylistItem(o[0]); | 2259 checkPlaylistItem(o[0]); |
2245 checkPlaylistItem(o[1]); | 2260 checkPlaylistItem(o[1]); |
2246 } | 2261 } |
2247 | 2262 |
2248 core.int buildCounterPlaylistItemListResponse = 0; | 2263 core.int buildCounterPlaylistItemListResponse = 0; |
2249 buildPlaylistItemListResponse() { | 2264 buildPlaylistItemListResponse() { |
2250 var o = new api.PlaylistItemListResponse(); | 2265 var o = new api.PlaylistItemListResponse(); |
2251 buildCounterPlaylistItemListResponse++; | 2266 buildCounterPlaylistItemListResponse++; |
2252 if (buildCounterPlaylistItemListResponse < 3) { | 2267 if (buildCounterPlaylistItemListResponse < 3) { |
2253 o.etag = "foo"; | 2268 o.etag = "foo"; |
2254 o.eventId = "foo"; | 2269 o.eventId = "foo"; |
2255 o.items = buildUnnamed1131(); | 2270 o.items = buildUnnamed359(); |
2256 o.kind = "foo"; | 2271 o.kind = "foo"; |
2257 o.nextPageToken = "foo"; | 2272 o.nextPageToken = "foo"; |
2258 o.pageInfo = buildPageInfo(); | 2273 o.pageInfo = buildPageInfo(); |
2259 o.prevPageToken = "foo"; | 2274 o.prevPageToken = "foo"; |
2260 o.tokenPagination = buildTokenPagination(); | 2275 o.tokenPagination = buildTokenPagination(); |
2261 o.visitorId = "foo"; | 2276 o.visitorId = "foo"; |
2262 } | 2277 } |
2263 buildCounterPlaylistItemListResponse--; | 2278 buildCounterPlaylistItemListResponse--; |
2264 return o; | 2279 return o; |
2265 } | 2280 } |
2266 | 2281 |
2267 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 2282 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
2268 buildCounterPlaylistItemListResponse++; | 2283 buildCounterPlaylistItemListResponse++; |
2269 if (buildCounterPlaylistItemListResponse < 3) { | 2284 if (buildCounterPlaylistItemListResponse < 3) { |
2270 unittest.expect(o.etag, unittest.equals('foo')); | 2285 unittest.expect(o.etag, unittest.equals('foo')); |
2271 unittest.expect(o.eventId, unittest.equals('foo')); | 2286 unittest.expect(o.eventId, unittest.equals('foo')); |
2272 checkUnnamed1131(o.items); | 2287 checkUnnamed359(o.items); |
2273 unittest.expect(o.kind, unittest.equals('foo')); | 2288 unittest.expect(o.kind, unittest.equals('foo')); |
2274 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2289 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2275 checkPageInfo(o.pageInfo); | 2290 checkPageInfo(o.pageInfo); |
2276 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2291 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2277 checkTokenPagination(o.tokenPagination); | 2292 checkTokenPagination(o.tokenPagination); |
2278 unittest.expect(o.visitorId, unittest.equals('foo')); | 2293 unittest.expect(o.visitorId, unittest.equals('foo')); |
2279 } | 2294 } |
2280 buildCounterPlaylistItemListResponse--; | 2295 buildCounterPlaylistItemListResponse--; |
2281 } | 2296 } |
2282 | 2297 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2327 } | 2342 } |
2328 | 2343 |
2329 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 2344 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
2330 buildCounterPlaylistItemStatus++; | 2345 buildCounterPlaylistItemStatus++; |
2331 if (buildCounterPlaylistItemStatus < 3) { | 2346 if (buildCounterPlaylistItemStatus < 3) { |
2332 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 2347 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
2333 } | 2348 } |
2334 buildCounterPlaylistItemStatus--; | 2349 buildCounterPlaylistItemStatus--; |
2335 } | 2350 } |
2336 | 2351 |
2337 buildUnnamed1132() { | 2352 buildUnnamed360() { |
2338 var o = new core.List<api.Playlist>(); | 2353 var o = new core.List<api.Playlist>(); |
2339 o.add(buildPlaylist()); | 2354 o.add(buildPlaylist()); |
2340 o.add(buildPlaylist()); | 2355 o.add(buildPlaylist()); |
2341 return o; | 2356 return o; |
2342 } | 2357 } |
2343 | 2358 |
2344 checkUnnamed1132(core.List<api.Playlist> o) { | 2359 checkUnnamed360(core.List<api.Playlist> o) { |
2345 unittest.expect(o, unittest.hasLength(2)); | 2360 unittest.expect(o, unittest.hasLength(2)); |
2346 checkPlaylist(o[0]); | 2361 checkPlaylist(o[0]); |
2347 checkPlaylist(o[1]); | 2362 checkPlaylist(o[1]); |
2348 } | 2363 } |
2349 | 2364 |
2350 core.int buildCounterPlaylistListResponse = 0; | 2365 core.int buildCounterPlaylistListResponse = 0; |
2351 buildPlaylistListResponse() { | 2366 buildPlaylistListResponse() { |
2352 var o = new api.PlaylistListResponse(); | 2367 var o = new api.PlaylistListResponse(); |
2353 buildCounterPlaylistListResponse++; | 2368 buildCounterPlaylistListResponse++; |
2354 if (buildCounterPlaylistListResponse < 3) { | 2369 if (buildCounterPlaylistListResponse < 3) { |
2355 o.etag = "foo"; | 2370 o.etag = "foo"; |
2356 o.eventId = "foo"; | 2371 o.eventId = "foo"; |
2357 o.items = buildUnnamed1132(); | 2372 o.items = buildUnnamed360(); |
2358 o.kind = "foo"; | 2373 o.kind = "foo"; |
2359 o.nextPageToken = "foo"; | 2374 o.nextPageToken = "foo"; |
2360 o.pageInfo = buildPageInfo(); | 2375 o.pageInfo = buildPageInfo(); |
2361 o.prevPageToken = "foo"; | 2376 o.prevPageToken = "foo"; |
2362 o.tokenPagination = buildTokenPagination(); | 2377 o.tokenPagination = buildTokenPagination(); |
2363 o.visitorId = "foo"; | 2378 o.visitorId = "foo"; |
2364 } | 2379 } |
2365 buildCounterPlaylistListResponse--; | 2380 buildCounterPlaylistListResponse--; |
2366 return o; | 2381 return o; |
2367 } | 2382 } |
2368 | 2383 |
2369 checkPlaylistListResponse(api.PlaylistListResponse o) { | 2384 checkPlaylistListResponse(api.PlaylistListResponse o) { |
2370 buildCounterPlaylistListResponse++; | 2385 buildCounterPlaylistListResponse++; |
2371 if (buildCounterPlaylistListResponse < 3) { | 2386 if (buildCounterPlaylistListResponse < 3) { |
2372 unittest.expect(o.etag, unittest.equals('foo')); | 2387 unittest.expect(o.etag, unittest.equals('foo')); |
2373 unittest.expect(o.eventId, unittest.equals('foo')); | 2388 unittest.expect(o.eventId, unittest.equals('foo')); |
2374 checkUnnamed1132(o.items); | 2389 checkUnnamed360(o.items); |
2375 unittest.expect(o.kind, unittest.equals('foo')); | 2390 unittest.expect(o.kind, unittest.equals('foo')); |
2376 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2391 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2377 checkPageInfo(o.pageInfo); | 2392 checkPageInfo(o.pageInfo); |
2378 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2393 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2379 checkTokenPagination(o.tokenPagination); | 2394 checkTokenPagination(o.tokenPagination); |
2380 unittest.expect(o.visitorId, unittest.equals('foo')); | 2395 unittest.expect(o.visitorId, unittest.equals('foo')); |
2381 } | 2396 } |
2382 buildCounterPlaylistListResponse--; | 2397 buildCounterPlaylistListResponse--; |
2383 } | 2398 } |
2384 | 2399 |
2385 core.int buildCounterPlaylistPlayer = 0; | 2400 core.int buildCounterPlaylistPlayer = 0; |
2386 buildPlaylistPlayer() { | 2401 buildPlaylistPlayer() { |
2387 var o = new api.PlaylistPlayer(); | 2402 var o = new api.PlaylistPlayer(); |
2388 buildCounterPlaylistPlayer++; | 2403 buildCounterPlaylistPlayer++; |
2389 if (buildCounterPlaylistPlayer < 3) { | 2404 if (buildCounterPlaylistPlayer < 3) { |
2390 o.embedHtml = "foo"; | 2405 o.embedHtml = "foo"; |
2391 } | 2406 } |
2392 buildCounterPlaylistPlayer--; | 2407 buildCounterPlaylistPlayer--; |
2393 return o; | 2408 return o; |
2394 } | 2409 } |
2395 | 2410 |
2396 checkPlaylistPlayer(api.PlaylistPlayer o) { | 2411 checkPlaylistPlayer(api.PlaylistPlayer o) { |
2397 buildCounterPlaylistPlayer++; | 2412 buildCounterPlaylistPlayer++; |
2398 if (buildCounterPlaylistPlayer < 3) { | 2413 if (buildCounterPlaylistPlayer < 3) { |
2399 unittest.expect(o.embedHtml, unittest.equals('foo')); | 2414 unittest.expect(o.embedHtml, unittest.equals('foo')); |
2400 } | 2415 } |
2401 buildCounterPlaylistPlayer--; | 2416 buildCounterPlaylistPlayer--; |
2402 } | 2417 } |
2403 | 2418 |
2404 buildUnnamed1133() { | 2419 buildUnnamed361() { |
2405 var o = new core.List<core.String>(); | 2420 var o = new core.List<core.String>(); |
2406 o.add("foo"); | 2421 o.add("foo"); |
2407 o.add("foo"); | 2422 o.add("foo"); |
2408 return o; | 2423 return o; |
2409 } | 2424 } |
2410 | 2425 |
2411 checkUnnamed1133(core.List<core.String> o) { | 2426 checkUnnamed361(core.List<core.String> o) { |
2412 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
2413 unittest.expect(o[0], unittest.equals('foo')); | 2428 unittest.expect(o[0], unittest.equals('foo')); |
2414 unittest.expect(o[1], unittest.equals('foo')); | 2429 unittest.expect(o[1], unittest.equals('foo')); |
2415 } | 2430 } |
2416 | 2431 |
2417 core.int buildCounterPlaylistSnippet = 0; | 2432 core.int buildCounterPlaylistSnippet = 0; |
2418 buildPlaylistSnippet() { | 2433 buildPlaylistSnippet() { |
2419 var o = new api.PlaylistSnippet(); | 2434 var o = new api.PlaylistSnippet(); |
2420 buildCounterPlaylistSnippet++; | 2435 buildCounterPlaylistSnippet++; |
2421 if (buildCounterPlaylistSnippet < 3) { | 2436 if (buildCounterPlaylistSnippet < 3) { |
2422 o.channelId = "foo"; | 2437 o.channelId = "foo"; |
2423 o.channelTitle = "foo"; | 2438 o.channelTitle = "foo"; |
2424 o.description = "foo"; | 2439 o.description = "foo"; |
2425 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2440 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
2426 o.tags = buildUnnamed1133(); | 2441 o.tags = buildUnnamed361(); |
2427 o.thumbnails = buildThumbnailDetails(); | 2442 o.thumbnails = buildThumbnailDetails(); |
2428 o.title = "foo"; | 2443 o.title = "foo"; |
2429 } | 2444 } |
2430 buildCounterPlaylistSnippet--; | 2445 buildCounterPlaylistSnippet--; |
2431 return o; | 2446 return o; |
2432 } | 2447 } |
2433 | 2448 |
2434 checkPlaylistSnippet(api.PlaylistSnippet o) { | 2449 checkPlaylistSnippet(api.PlaylistSnippet o) { |
2435 buildCounterPlaylistSnippet++; | 2450 buildCounterPlaylistSnippet++; |
2436 if (buildCounterPlaylistSnippet < 3) { | 2451 if (buildCounterPlaylistSnippet < 3) { |
2437 unittest.expect(o.channelId, unittest.equals('foo')); | 2452 unittest.expect(o.channelId, unittest.equals('foo')); |
2438 unittest.expect(o.channelTitle, unittest.equals('foo')); | 2453 unittest.expect(o.channelTitle, unittest.equals('foo')); |
2439 unittest.expect(o.description, unittest.equals('foo')); | 2454 unittest.expect(o.description, unittest.equals('foo')); |
2440 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 2455 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
2441 checkUnnamed1133(o.tags); | 2456 checkUnnamed361(o.tags); |
2442 checkThumbnailDetails(o.thumbnails); | 2457 checkThumbnailDetails(o.thumbnails); |
2443 unittest.expect(o.title, unittest.equals('foo')); | 2458 unittest.expect(o.title, unittest.equals('foo')); |
2444 } | 2459 } |
2445 buildCounterPlaylistSnippet--; | 2460 buildCounterPlaylistSnippet--; |
2446 } | 2461 } |
2447 | 2462 |
2448 core.int buildCounterPlaylistStatus = 0; | 2463 core.int buildCounterPlaylistStatus = 0; |
2449 buildPlaylistStatus() { | 2464 buildPlaylistStatus() { |
2450 var o = new api.PlaylistStatus(); | 2465 var o = new api.PlaylistStatus(); |
2451 buildCounterPlaylistStatus++; | 2466 buildCounterPlaylistStatus++; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2553 buildCounterResourceId++; | 2568 buildCounterResourceId++; |
2554 if (buildCounterResourceId < 3) { | 2569 if (buildCounterResourceId < 3) { |
2555 unittest.expect(o.channelId, unittest.equals('foo')); | 2570 unittest.expect(o.channelId, unittest.equals('foo')); |
2556 unittest.expect(o.kind, unittest.equals('foo')); | 2571 unittest.expect(o.kind, unittest.equals('foo')); |
2557 unittest.expect(o.playlistId, unittest.equals('foo')); | 2572 unittest.expect(o.playlistId, unittest.equals('foo')); |
2558 unittest.expect(o.videoId, unittest.equals('foo')); | 2573 unittest.expect(o.videoId, unittest.equals('foo')); |
2559 } | 2574 } |
2560 buildCounterResourceId--; | 2575 buildCounterResourceId--; |
2561 } | 2576 } |
2562 | 2577 |
2563 buildUnnamed1134() { | 2578 buildUnnamed362() { |
2564 var o = new core.List<api.SearchResult>(); | 2579 var o = new core.List<api.SearchResult>(); |
2565 o.add(buildSearchResult()); | 2580 o.add(buildSearchResult()); |
2566 o.add(buildSearchResult()); | 2581 o.add(buildSearchResult()); |
2567 return o; | 2582 return o; |
2568 } | 2583 } |
2569 | 2584 |
2570 checkUnnamed1134(core.List<api.SearchResult> o) { | 2585 checkUnnamed362(core.List<api.SearchResult> o) { |
2571 unittest.expect(o, unittest.hasLength(2)); | 2586 unittest.expect(o, unittest.hasLength(2)); |
2572 checkSearchResult(o[0]); | 2587 checkSearchResult(o[0]); |
2573 checkSearchResult(o[1]); | 2588 checkSearchResult(o[1]); |
2574 } | 2589 } |
2575 | 2590 |
2576 core.int buildCounterSearchListResponse = 0; | 2591 core.int buildCounterSearchListResponse = 0; |
2577 buildSearchListResponse() { | 2592 buildSearchListResponse() { |
2578 var o = new api.SearchListResponse(); | 2593 var o = new api.SearchListResponse(); |
2579 buildCounterSearchListResponse++; | 2594 buildCounterSearchListResponse++; |
2580 if (buildCounterSearchListResponse < 3) { | 2595 if (buildCounterSearchListResponse < 3) { |
2581 o.etag = "foo"; | 2596 o.etag = "foo"; |
2582 o.eventId = "foo"; | 2597 o.eventId = "foo"; |
2583 o.items = buildUnnamed1134(); | 2598 o.items = buildUnnamed362(); |
2584 o.kind = "foo"; | 2599 o.kind = "foo"; |
2585 o.nextPageToken = "foo"; | 2600 o.nextPageToken = "foo"; |
2586 o.pageInfo = buildPageInfo(); | 2601 o.pageInfo = buildPageInfo(); |
2587 o.prevPageToken = "foo"; | 2602 o.prevPageToken = "foo"; |
2588 o.tokenPagination = buildTokenPagination(); | 2603 o.tokenPagination = buildTokenPagination(); |
2589 o.visitorId = "foo"; | 2604 o.visitorId = "foo"; |
2590 } | 2605 } |
2591 buildCounterSearchListResponse--; | 2606 buildCounterSearchListResponse--; |
2592 return o; | 2607 return o; |
2593 } | 2608 } |
2594 | 2609 |
2595 checkSearchListResponse(api.SearchListResponse o) { | 2610 checkSearchListResponse(api.SearchListResponse o) { |
2596 buildCounterSearchListResponse++; | 2611 buildCounterSearchListResponse++; |
2597 if (buildCounterSearchListResponse < 3) { | 2612 if (buildCounterSearchListResponse < 3) { |
2598 unittest.expect(o.etag, unittest.equals('foo')); | 2613 unittest.expect(o.etag, unittest.equals('foo')); |
2599 unittest.expect(o.eventId, unittest.equals('foo')); | 2614 unittest.expect(o.eventId, unittest.equals('foo')); |
2600 checkUnnamed1134(o.items); | 2615 checkUnnamed362(o.items); |
2601 unittest.expect(o.kind, unittest.equals('foo')); | 2616 unittest.expect(o.kind, unittest.equals('foo')); |
2602 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2617 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2603 checkPageInfo(o.pageInfo); | 2618 checkPageInfo(o.pageInfo); |
2604 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2619 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2605 checkTokenPagination(o.tokenPagination); | 2620 checkTokenPagination(o.tokenPagination); |
2606 unittest.expect(o.visitorId, unittest.equals('foo')); | 2621 unittest.expect(o.visitorId, unittest.equals('foo')); |
2607 } | 2622 } |
2608 buildCounterSearchListResponse--; | 2623 buildCounterSearchListResponse--; |
2609 } | 2624 } |
2610 | 2625 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2709 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 2724 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
2710 buildCounterSubscriptionContentDetails++; | 2725 buildCounterSubscriptionContentDetails++; |
2711 if (buildCounterSubscriptionContentDetails < 3) { | 2726 if (buildCounterSubscriptionContentDetails < 3) { |
2712 unittest.expect(o.activityType, unittest.equals('foo')); | 2727 unittest.expect(o.activityType, unittest.equals('foo')); |
2713 unittest.expect(o.newItemCount, unittest.equals(42)); | 2728 unittest.expect(o.newItemCount, unittest.equals(42)); |
2714 unittest.expect(o.totalItemCount, unittest.equals(42)); | 2729 unittest.expect(o.totalItemCount, unittest.equals(42)); |
2715 } | 2730 } |
2716 buildCounterSubscriptionContentDetails--; | 2731 buildCounterSubscriptionContentDetails--; |
2717 } | 2732 } |
2718 | 2733 |
2719 buildUnnamed1135() { | 2734 buildUnnamed363() { |
2720 var o = new core.List<api.Subscription>(); | 2735 var o = new core.List<api.Subscription>(); |
2721 o.add(buildSubscription()); | 2736 o.add(buildSubscription()); |
2722 o.add(buildSubscription()); | 2737 o.add(buildSubscription()); |
2723 return o; | 2738 return o; |
2724 } | 2739 } |
2725 | 2740 |
2726 checkUnnamed1135(core.List<api.Subscription> o) { | 2741 checkUnnamed363(core.List<api.Subscription> o) { |
2727 unittest.expect(o, unittest.hasLength(2)); | 2742 unittest.expect(o, unittest.hasLength(2)); |
2728 checkSubscription(o[0]); | 2743 checkSubscription(o[0]); |
2729 checkSubscription(o[1]); | 2744 checkSubscription(o[1]); |
2730 } | 2745 } |
2731 | 2746 |
2732 core.int buildCounterSubscriptionListResponse = 0; | 2747 core.int buildCounterSubscriptionListResponse = 0; |
2733 buildSubscriptionListResponse() { | 2748 buildSubscriptionListResponse() { |
2734 var o = new api.SubscriptionListResponse(); | 2749 var o = new api.SubscriptionListResponse(); |
2735 buildCounterSubscriptionListResponse++; | 2750 buildCounterSubscriptionListResponse++; |
2736 if (buildCounterSubscriptionListResponse < 3) { | 2751 if (buildCounterSubscriptionListResponse < 3) { |
2737 o.etag = "foo"; | 2752 o.etag = "foo"; |
2738 o.eventId = "foo"; | 2753 o.eventId = "foo"; |
2739 o.items = buildUnnamed1135(); | 2754 o.items = buildUnnamed363(); |
2740 o.kind = "foo"; | 2755 o.kind = "foo"; |
2741 o.nextPageToken = "foo"; | 2756 o.nextPageToken = "foo"; |
2742 o.pageInfo = buildPageInfo(); | 2757 o.pageInfo = buildPageInfo(); |
2743 o.prevPageToken = "foo"; | 2758 o.prevPageToken = "foo"; |
2744 o.tokenPagination = buildTokenPagination(); | 2759 o.tokenPagination = buildTokenPagination(); |
2745 o.visitorId = "foo"; | 2760 o.visitorId = "foo"; |
2746 } | 2761 } |
2747 buildCounterSubscriptionListResponse--; | 2762 buildCounterSubscriptionListResponse--; |
2748 return o; | 2763 return o; |
2749 } | 2764 } |
2750 | 2765 |
2751 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 2766 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
2752 buildCounterSubscriptionListResponse++; | 2767 buildCounterSubscriptionListResponse++; |
2753 if (buildCounterSubscriptionListResponse < 3) { | 2768 if (buildCounterSubscriptionListResponse < 3) { |
2754 unittest.expect(o.etag, unittest.equals('foo')); | 2769 unittest.expect(o.etag, unittest.equals('foo')); |
2755 unittest.expect(o.eventId, unittest.equals('foo')); | 2770 unittest.expect(o.eventId, unittest.equals('foo')); |
2756 checkUnnamed1135(o.items); | 2771 checkUnnamed363(o.items); |
2757 unittest.expect(o.kind, unittest.equals('foo')); | 2772 unittest.expect(o.kind, unittest.equals('foo')); |
2758 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2773 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2759 checkPageInfo(o.pageInfo); | 2774 checkPageInfo(o.pageInfo); |
2760 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2775 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2761 checkTokenPagination(o.tokenPagination); | 2776 checkTokenPagination(o.tokenPagination); |
2762 unittest.expect(o.visitorId, unittest.equals('foo')); | 2777 unittest.expect(o.visitorId, unittest.equals('foo')); |
2763 } | 2778 } |
2764 buildCounterSubscriptionListResponse--; | 2779 buildCounterSubscriptionListResponse--; |
2765 } | 2780 } |
2766 | 2781 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2863 if (buildCounterThumbnailDetails < 3) { | 2878 if (buildCounterThumbnailDetails < 3) { |
2864 checkThumbnail(o.default_); | 2879 checkThumbnail(o.default_); |
2865 checkThumbnail(o.high); | 2880 checkThumbnail(o.high); |
2866 checkThumbnail(o.maxres); | 2881 checkThumbnail(o.maxres); |
2867 checkThumbnail(o.medium); | 2882 checkThumbnail(o.medium); |
2868 checkThumbnail(o.standard); | 2883 checkThumbnail(o.standard); |
2869 } | 2884 } |
2870 buildCounterThumbnailDetails--; | 2885 buildCounterThumbnailDetails--; |
2871 } | 2886 } |
2872 | 2887 |
2873 buildUnnamed1136() { | 2888 buildUnnamed364() { |
2874 var o = new core.List<api.ThumbnailDetails>(); | 2889 var o = new core.List<api.ThumbnailDetails>(); |
2875 o.add(buildThumbnailDetails()); | 2890 o.add(buildThumbnailDetails()); |
2876 o.add(buildThumbnailDetails()); | 2891 o.add(buildThumbnailDetails()); |
2877 return o; | 2892 return o; |
2878 } | 2893 } |
2879 | 2894 |
2880 checkUnnamed1136(core.List<api.ThumbnailDetails> o) { | 2895 checkUnnamed364(core.List<api.ThumbnailDetails> o) { |
2881 unittest.expect(o, unittest.hasLength(2)); | 2896 unittest.expect(o, unittest.hasLength(2)); |
2882 checkThumbnailDetails(o[0]); | 2897 checkThumbnailDetails(o[0]); |
2883 checkThumbnailDetails(o[1]); | 2898 checkThumbnailDetails(o[1]); |
2884 } | 2899 } |
2885 | 2900 |
2886 core.int buildCounterThumbnailSetResponse = 0; | 2901 core.int buildCounterThumbnailSetResponse = 0; |
2887 buildThumbnailSetResponse() { | 2902 buildThumbnailSetResponse() { |
2888 var o = new api.ThumbnailSetResponse(); | 2903 var o = new api.ThumbnailSetResponse(); |
2889 buildCounterThumbnailSetResponse++; | 2904 buildCounterThumbnailSetResponse++; |
2890 if (buildCounterThumbnailSetResponse < 3) { | 2905 if (buildCounterThumbnailSetResponse < 3) { |
2891 o.etag = "foo"; | 2906 o.etag = "foo"; |
2892 o.eventId = "foo"; | 2907 o.eventId = "foo"; |
2893 o.items = buildUnnamed1136(); | 2908 o.items = buildUnnamed364(); |
2894 o.kind = "foo"; | 2909 o.kind = "foo"; |
2895 o.visitorId = "foo"; | 2910 o.visitorId = "foo"; |
2896 } | 2911 } |
2897 buildCounterThumbnailSetResponse--; | 2912 buildCounterThumbnailSetResponse--; |
2898 return o; | 2913 return o; |
2899 } | 2914 } |
2900 | 2915 |
2901 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 2916 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
2902 buildCounterThumbnailSetResponse++; | 2917 buildCounterThumbnailSetResponse++; |
2903 if (buildCounterThumbnailSetResponse < 3) { | 2918 if (buildCounterThumbnailSetResponse < 3) { |
2904 unittest.expect(o.etag, unittest.equals('foo')); | 2919 unittest.expect(o.etag, unittest.equals('foo')); |
2905 unittest.expect(o.eventId, unittest.equals('foo')); | 2920 unittest.expect(o.eventId, unittest.equals('foo')); |
2906 checkUnnamed1136(o.items); | 2921 checkUnnamed364(o.items); |
2907 unittest.expect(o.kind, unittest.equals('foo')); | 2922 unittest.expect(o.kind, unittest.equals('foo')); |
2908 unittest.expect(o.visitorId, unittest.equals('foo')); | 2923 unittest.expect(o.visitorId, unittest.equals('foo')); |
2909 } | 2924 } |
2910 buildCounterThumbnailSetResponse--; | 2925 buildCounterThumbnailSetResponse--; |
2911 } | 2926 } |
2912 | 2927 |
2913 core.int buildCounterTokenPagination = 0; | 2928 core.int buildCounterTokenPagination = 0; |
2914 buildTokenPagination() { | 2929 buildTokenPagination() { |
2915 var o = new api.TokenPagination(); | 2930 var o = new api.TokenPagination(); |
2916 buildCounterTokenPagination++; | 2931 buildCounterTokenPagination++; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3021 buildCounterVideoCategory++; | 3036 buildCounterVideoCategory++; |
3022 if (buildCounterVideoCategory < 3) { | 3037 if (buildCounterVideoCategory < 3) { |
3023 unittest.expect(o.etag, unittest.equals('foo')); | 3038 unittest.expect(o.etag, unittest.equals('foo')); |
3024 unittest.expect(o.id, unittest.equals('foo')); | 3039 unittest.expect(o.id, unittest.equals('foo')); |
3025 unittest.expect(o.kind, unittest.equals('foo')); | 3040 unittest.expect(o.kind, unittest.equals('foo')); |
3026 checkVideoCategorySnippet(o.snippet); | 3041 checkVideoCategorySnippet(o.snippet); |
3027 } | 3042 } |
3028 buildCounterVideoCategory--; | 3043 buildCounterVideoCategory--; |
3029 } | 3044 } |
3030 | 3045 |
3031 buildUnnamed1137() { | 3046 buildUnnamed365() { |
3032 var o = new core.List<api.VideoCategory>(); | 3047 var o = new core.List<api.VideoCategory>(); |
3033 o.add(buildVideoCategory()); | 3048 o.add(buildVideoCategory()); |
3034 o.add(buildVideoCategory()); | 3049 o.add(buildVideoCategory()); |
3035 return o; | 3050 return o; |
3036 } | 3051 } |
3037 | 3052 |
3038 checkUnnamed1137(core.List<api.VideoCategory> o) { | 3053 checkUnnamed365(core.List<api.VideoCategory> o) { |
3039 unittest.expect(o, unittest.hasLength(2)); | 3054 unittest.expect(o, unittest.hasLength(2)); |
3040 checkVideoCategory(o[0]); | 3055 checkVideoCategory(o[0]); |
3041 checkVideoCategory(o[1]); | 3056 checkVideoCategory(o[1]); |
3042 } | 3057 } |
3043 | 3058 |
3044 core.int buildCounterVideoCategoryListResponse = 0; | 3059 core.int buildCounterVideoCategoryListResponse = 0; |
3045 buildVideoCategoryListResponse() { | 3060 buildVideoCategoryListResponse() { |
3046 var o = new api.VideoCategoryListResponse(); | 3061 var o = new api.VideoCategoryListResponse(); |
3047 buildCounterVideoCategoryListResponse++; | 3062 buildCounterVideoCategoryListResponse++; |
3048 if (buildCounterVideoCategoryListResponse < 3) { | 3063 if (buildCounterVideoCategoryListResponse < 3) { |
3049 o.etag = "foo"; | 3064 o.etag = "foo"; |
3050 o.eventId = "foo"; | 3065 o.eventId = "foo"; |
3051 o.items = buildUnnamed1137(); | 3066 o.items = buildUnnamed365(); |
3052 o.kind = "foo"; | 3067 o.kind = "foo"; |
3053 o.nextPageToken = "foo"; | 3068 o.nextPageToken = "foo"; |
3054 o.pageInfo = buildPageInfo(); | 3069 o.pageInfo = buildPageInfo(); |
3055 o.prevPageToken = "foo"; | 3070 o.prevPageToken = "foo"; |
3056 o.tokenPagination = buildTokenPagination(); | 3071 o.tokenPagination = buildTokenPagination(); |
3057 o.visitorId = "foo"; | 3072 o.visitorId = "foo"; |
3058 } | 3073 } |
3059 buildCounterVideoCategoryListResponse--; | 3074 buildCounterVideoCategoryListResponse--; |
3060 return o; | 3075 return o; |
3061 } | 3076 } |
3062 | 3077 |
3063 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 3078 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
3064 buildCounterVideoCategoryListResponse++; | 3079 buildCounterVideoCategoryListResponse++; |
3065 if (buildCounterVideoCategoryListResponse < 3) { | 3080 if (buildCounterVideoCategoryListResponse < 3) { |
3066 unittest.expect(o.etag, unittest.equals('foo')); | 3081 unittest.expect(o.etag, unittest.equals('foo')); |
3067 unittest.expect(o.eventId, unittest.equals('foo')); | 3082 unittest.expect(o.eventId, unittest.equals('foo')); |
3068 checkUnnamed1137(o.items); | 3083 checkUnnamed365(o.items); |
3069 unittest.expect(o.kind, unittest.equals('foo')); | 3084 unittest.expect(o.kind, unittest.equals('foo')); |
3070 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3085 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3071 checkPageInfo(o.pageInfo); | 3086 checkPageInfo(o.pageInfo); |
3072 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3087 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3073 checkTokenPagination(o.tokenPagination); | 3088 checkTokenPagination(o.tokenPagination); |
3074 unittest.expect(o.visitorId, unittest.equals('foo')); | 3089 unittest.expect(o.visitorId, unittest.equals('foo')); |
3075 } | 3090 } |
3076 buildCounterVideoCategoryListResponse--; | 3091 buildCounterVideoCategoryListResponse--; |
3077 } | 3092 } |
3078 | 3093 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3125 checkAccessPolicy(o.countryRestriction); | 3140 checkAccessPolicy(o.countryRestriction); |
3126 unittest.expect(o.definition, unittest.equals('foo')); | 3141 unittest.expect(o.definition, unittest.equals('foo')); |
3127 unittest.expect(o.dimension, unittest.equals('foo')); | 3142 unittest.expect(o.dimension, unittest.equals('foo')); |
3128 unittest.expect(o.duration, unittest.equals('foo')); | 3143 unittest.expect(o.duration, unittest.equals('foo')); |
3129 unittest.expect(o.licensedContent, unittest.isTrue); | 3144 unittest.expect(o.licensedContent, unittest.isTrue); |
3130 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 3145 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
3131 } | 3146 } |
3132 buildCounterVideoContentDetails--; | 3147 buildCounterVideoContentDetails--; |
3133 } | 3148 } |
3134 | 3149 |
3135 buildUnnamed1138() { | 3150 buildUnnamed366() { |
3136 var o = new core.List<core.String>(); | 3151 var o = new core.List<core.String>(); |
3137 o.add("foo"); | 3152 o.add("foo"); |
3138 o.add("foo"); | 3153 o.add("foo"); |
3139 return o; | 3154 return o; |
3140 } | 3155 } |
3141 | 3156 |
3142 checkUnnamed1138(core.List<core.String> o) { | 3157 checkUnnamed366(core.List<core.String> o) { |
3143 unittest.expect(o, unittest.hasLength(2)); | 3158 unittest.expect(o, unittest.hasLength(2)); |
3144 unittest.expect(o[0], unittest.equals('foo')); | 3159 unittest.expect(o[0], unittest.equals('foo')); |
3145 unittest.expect(o[1], unittest.equals('foo')); | 3160 unittest.expect(o[1], unittest.equals('foo')); |
3146 } | 3161 } |
3147 | 3162 |
3148 buildUnnamed1139() { | 3163 buildUnnamed367() { |
3149 var o = new core.List<core.String>(); | 3164 var o = new core.List<core.String>(); |
3150 o.add("foo"); | 3165 o.add("foo"); |
3151 o.add("foo"); | 3166 o.add("foo"); |
3152 return o; | 3167 return o; |
3153 } | 3168 } |
3154 | 3169 |
3155 checkUnnamed1139(core.List<core.String> o) { | 3170 checkUnnamed367(core.List<core.String> o) { |
3156 unittest.expect(o, unittest.hasLength(2)); | 3171 unittest.expect(o, unittest.hasLength(2)); |
3157 unittest.expect(o[0], unittest.equals('foo')); | 3172 unittest.expect(o[0], unittest.equals('foo')); |
3158 unittest.expect(o[1], unittest.equals('foo')); | 3173 unittest.expect(o[1], unittest.equals('foo')); |
3159 } | 3174 } |
3160 | 3175 |
3161 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 3176 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
3162 buildVideoContentDetailsRegionRestriction() { | 3177 buildVideoContentDetailsRegionRestriction() { |
3163 var o = new api.VideoContentDetailsRegionRestriction(); | 3178 var o = new api.VideoContentDetailsRegionRestriction(); |
3164 buildCounterVideoContentDetailsRegionRestriction++; | 3179 buildCounterVideoContentDetailsRegionRestriction++; |
3165 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3180 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
3166 o.allowed = buildUnnamed1138(); | 3181 o.allowed = buildUnnamed366(); |
3167 o.blocked = buildUnnamed1139(); | 3182 o.blocked = buildUnnamed367(); |
3168 } | 3183 } |
3169 buildCounterVideoContentDetailsRegionRestriction--; | 3184 buildCounterVideoContentDetailsRegionRestriction--; |
3170 return o; | 3185 return o; |
3171 } | 3186 } |
3172 | 3187 |
3173 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 3188 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
3174 buildCounterVideoContentDetailsRegionRestriction++; | 3189 buildCounterVideoContentDetailsRegionRestriction++; |
3175 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3190 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
3176 checkUnnamed1138(o.allowed); | 3191 checkUnnamed366(o.allowed); |
3177 checkUnnamed1139(o.blocked); | 3192 checkUnnamed367(o.blocked); |
3178 } | 3193 } |
3179 buildCounterVideoContentDetailsRegionRestriction--; | 3194 buildCounterVideoContentDetailsRegionRestriction--; |
3180 } | 3195 } |
3181 | 3196 |
3182 core.int buildCounterVideoConversionPing = 0; | 3197 core.int buildCounterVideoConversionPing = 0; |
3183 buildVideoConversionPing() { | 3198 buildVideoConversionPing() { |
3184 var o = new api.VideoConversionPing(); | 3199 var o = new api.VideoConversionPing(); |
3185 buildCounterVideoConversionPing++; | 3200 buildCounterVideoConversionPing++; |
3186 if (buildCounterVideoConversionPing < 3) { | 3201 if (buildCounterVideoConversionPing < 3) { |
3187 o.context = "foo"; | 3202 o.context = "foo"; |
3188 o.conversionUrl = "foo"; | 3203 o.conversionUrl = "foo"; |
3189 } | 3204 } |
3190 buildCounterVideoConversionPing--; | 3205 buildCounterVideoConversionPing--; |
3191 return o; | 3206 return o; |
3192 } | 3207 } |
3193 | 3208 |
3194 checkVideoConversionPing(api.VideoConversionPing o) { | 3209 checkVideoConversionPing(api.VideoConversionPing o) { |
3195 buildCounterVideoConversionPing++; | 3210 buildCounterVideoConversionPing++; |
3196 if (buildCounterVideoConversionPing < 3) { | 3211 if (buildCounterVideoConversionPing < 3) { |
3197 unittest.expect(o.context, unittest.equals('foo')); | 3212 unittest.expect(o.context, unittest.equals('foo')); |
3198 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 3213 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
3199 } | 3214 } |
3200 buildCounterVideoConversionPing--; | 3215 buildCounterVideoConversionPing--; |
3201 } | 3216 } |
3202 | 3217 |
3203 buildUnnamed1140() { | 3218 buildUnnamed368() { |
3204 var o = new core.List<api.VideoConversionPing>(); | 3219 var o = new core.List<api.VideoConversionPing>(); |
3205 o.add(buildVideoConversionPing()); | 3220 o.add(buildVideoConversionPing()); |
3206 o.add(buildVideoConversionPing()); | 3221 o.add(buildVideoConversionPing()); |
3207 return o; | 3222 return o; |
3208 } | 3223 } |
3209 | 3224 |
3210 checkUnnamed1140(core.List<api.VideoConversionPing> o) { | 3225 checkUnnamed368(core.List<api.VideoConversionPing> o) { |
3211 unittest.expect(o, unittest.hasLength(2)); | 3226 unittest.expect(o, unittest.hasLength(2)); |
3212 checkVideoConversionPing(o[0]); | 3227 checkVideoConversionPing(o[0]); |
3213 checkVideoConversionPing(o[1]); | 3228 checkVideoConversionPing(o[1]); |
3214 } | 3229 } |
3215 | 3230 |
3216 core.int buildCounterVideoConversionPings = 0; | 3231 core.int buildCounterVideoConversionPings = 0; |
3217 buildVideoConversionPings() { | 3232 buildVideoConversionPings() { |
3218 var o = new api.VideoConversionPings(); | 3233 var o = new api.VideoConversionPings(); |
3219 buildCounterVideoConversionPings++; | 3234 buildCounterVideoConversionPings++; |
3220 if (buildCounterVideoConversionPings < 3) { | 3235 if (buildCounterVideoConversionPings < 3) { |
3221 o.pings = buildUnnamed1140(); | 3236 o.pings = buildUnnamed368(); |
3222 } | 3237 } |
3223 buildCounterVideoConversionPings--; | 3238 buildCounterVideoConversionPings--; |
3224 return o; | 3239 return o; |
3225 } | 3240 } |
3226 | 3241 |
3227 checkVideoConversionPings(api.VideoConversionPings o) { | 3242 checkVideoConversionPings(api.VideoConversionPings o) { |
3228 buildCounterVideoConversionPings++; | 3243 buildCounterVideoConversionPings++; |
3229 if (buildCounterVideoConversionPings < 3) { | 3244 if (buildCounterVideoConversionPings < 3) { |
3230 checkUnnamed1140(o.pings); | 3245 checkUnnamed368(o.pings); |
3231 } | 3246 } |
3232 buildCounterVideoConversionPings--; | 3247 buildCounterVideoConversionPings--; |
3233 } | 3248 } |
3234 | 3249 |
3235 buildUnnamed1141() { | 3250 buildUnnamed369() { |
3236 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 3251 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
3237 o.add(buildVideoFileDetailsAudioStream()); | 3252 o.add(buildVideoFileDetailsAudioStream()); |
3238 o.add(buildVideoFileDetailsAudioStream()); | 3253 o.add(buildVideoFileDetailsAudioStream()); |
3239 return o; | 3254 return o; |
3240 } | 3255 } |
3241 | 3256 |
3242 checkUnnamed1141(core.List<api.VideoFileDetailsAudioStream> o) { | 3257 checkUnnamed369(core.List<api.VideoFileDetailsAudioStream> o) { |
3243 unittest.expect(o, unittest.hasLength(2)); | 3258 unittest.expect(o, unittest.hasLength(2)); |
3244 checkVideoFileDetailsAudioStream(o[0]); | 3259 checkVideoFileDetailsAudioStream(o[0]); |
3245 checkVideoFileDetailsAudioStream(o[1]); | 3260 checkVideoFileDetailsAudioStream(o[1]); |
3246 } | 3261 } |
3247 | 3262 |
3248 buildUnnamed1142() { | 3263 buildUnnamed370() { |
3249 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 3264 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
3250 o.add(buildVideoFileDetailsVideoStream()); | 3265 o.add(buildVideoFileDetailsVideoStream()); |
3251 o.add(buildVideoFileDetailsVideoStream()); | 3266 o.add(buildVideoFileDetailsVideoStream()); |
3252 return o; | 3267 return o; |
3253 } | 3268 } |
3254 | 3269 |
3255 checkUnnamed1142(core.List<api.VideoFileDetailsVideoStream> o) { | 3270 checkUnnamed370(core.List<api.VideoFileDetailsVideoStream> o) { |
3256 unittest.expect(o, unittest.hasLength(2)); | 3271 unittest.expect(o, unittest.hasLength(2)); |
3257 checkVideoFileDetailsVideoStream(o[0]); | 3272 checkVideoFileDetailsVideoStream(o[0]); |
3258 checkVideoFileDetailsVideoStream(o[1]); | 3273 checkVideoFileDetailsVideoStream(o[1]); |
3259 } | 3274 } |
3260 | 3275 |
3261 core.int buildCounterVideoFileDetails = 0; | 3276 core.int buildCounterVideoFileDetails = 0; |
3262 buildVideoFileDetails() { | 3277 buildVideoFileDetails() { |
3263 var o = new api.VideoFileDetails(); | 3278 var o = new api.VideoFileDetails(); |
3264 buildCounterVideoFileDetails++; | 3279 buildCounterVideoFileDetails++; |
3265 if (buildCounterVideoFileDetails < 3) { | 3280 if (buildCounterVideoFileDetails < 3) { |
3266 o.audioStreams = buildUnnamed1141(); | 3281 o.audioStreams = buildUnnamed369(); |
3267 o.bitrateBps = "foo"; | 3282 o.bitrateBps = "foo"; |
3268 o.container = "foo"; | 3283 o.container = "foo"; |
3269 o.creationTime = "foo"; | 3284 o.creationTime = "foo"; |
3270 o.durationMs = "foo"; | 3285 o.durationMs = "foo"; |
3271 o.fileName = "foo"; | 3286 o.fileName = "foo"; |
3272 o.fileSize = "foo"; | 3287 o.fileSize = "foo"; |
3273 o.fileType = "foo"; | 3288 o.fileType = "foo"; |
3274 o.recordingLocation = buildGeoPoint(); | 3289 o.recordingLocation = buildGeoPoint(); |
3275 o.videoStreams = buildUnnamed1142(); | 3290 o.videoStreams = buildUnnamed370(); |
3276 } | 3291 } |
3277 buildCounterVideoFileDetails--; | 3292 buildCounterVideoFileDetails--; |
3278 return o; | 3293 return o; |
3279 } | 3294 } |
3280 | 3295 |
3281 checkVideoFileDetails(api.VideoFileDetails o) { | 3296 checkVideoFileDetails(api.VideoFileDetails o) { |
3282 buildCounterVideoFileDetails++; | 3297 buildCounterVideoFileDetails++; |
3283 if (buildCounterVideoFileDetails < 3) { | 3298 if (buildCounterVideoFileDetails < 3) { |
3284 checkUnnamed1141(o.audioStreams); | 3299 checkUnnamed369(o.audioStreams); |
3285 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 3300 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
3286 unittest.expect(o.container, unittest.equals('foo')); | 3301 unittest.expect(o.container, unittest.equals('foo')); |
3287 unittest.expect(o.creationTime, unittest.equals('foo')); | 3302 unittest.expect(o.creationTime, unittest.equals('foo')); |
3288 unittest.expect(o.durationMs, unittest.equals('foo')); | 3303 unittest.expect(o.durationMs, unittest.equals('foo')); |
3289 unittest.expect(o.fileName, unittest.equals('foo')); | 3304 unittest.expect(o.fileName, unittest.equals('foo')); |
3290 unittest.expect(o.fileSize, unittest.equals('foo')); | 3305 unittest.expect(o.fileSize, unittest.equals('foo')); |
3291 unittest.expect(o.fileType, unittest.equals('foo')); | 3306 unittest.expect(o.fileType, unittest.equals('foo')); |
3292 checkGeoPoint(o.recordingLocation); | 3307 checkGeoPoint(o.recordingLocation); |
3293 checkUnnamed1142(o.videoStreams); | 3308 checkUnnamed370(o.videoStreams); |
3294 } | 3309 } |
3295 buildCounterVideoFileDetails--; | 3310 buildCounterVideoFileDetails--; |
3296 } | 3311 } |
3297 | 3312 |
3298 core.int buildCounterVideoFileDetailsAudioStream = 0; | 3313 core.int buildCounterVideoFileDetailsAudioStream = 0; |
3299 buildVideoFileDetailsAudioStream() { | 3314 buildVideoFileDetailsAudioStream() { |
3300 var o = new api.VideoFileDetailsAudioStream(); | 3315 var o = new api.VideoFileDetailsAudioStream(); |
3301 buildCounterVideoFileDetailsAudioStream++; | 3316 buildCounterVideoFileDetailsAudioStream++; |
3302 if (buildCounterVideoFileDetailsAudioStream < 3) { | 3317 if (buildCounterVideoFileDetailsAudioStream < 3) { |
3303 o.bitrateBps = "foo"; | 3318 o.bitrateBps = "foo"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3346 unittest.expect(o.codec, unittest.equals('foo')); | 3361 unittest.expect(o.codec, unittest.equals('foo')); |
3347 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 3362 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
3348 unittest.expect(o.heightPixels, unittest.equals(42)); | 3363 unittest.expect(o.heightPixels, unittest.equals(42)); |
3349 unittest.expect(o.rotation, unittest.equals('foo')); | 3364 unittest.expect(o.rotation, unittest.equals('foo')); |
3350 unittest.expect(o.vendor, unittest.equals('foo')); | 3365 unittest.expect(o.vendor, unittest.equals('foo')); |
3351 unittest.expect(o.widthPixels, unittest.equals(42)); | 3366 unittest.expect(o.widthPixels, unittest.equals(42)); |
3352 } | 3367 } |
3353 buildCounterVideoFileDetailsVideoStream--; | 3368 buildCounterVideoFileDetailsVideoStream--; |
3354 } | 3369 } |
3355 | 3370 |
3356 buildUnnamed1143() { | 3371 buildUnnamed371() { |
3357 var o = new core.List<api.VideoRating>(); | 3372 var o = new core.List<api.VideoRating>(); |
3358 o.add(buildVideoRating()); | 3373 o.add(buildVideoRating()); |
3359 o.add(buildVideoRating()); | 3374 o.add(buildVideoRating()); |
3360 return o; | 3375 return o; |
3361 } | 3376 } |
3362 | 3377 |
3363 checkUnnamed1143(core.List<api.VideoRating> o) { | 3378 checkUnnamed371(core.List<api.VideoRating> o) { |
3364 unittest.expect(o, unittest.hasLength(2)); | 3379 unittest.expect(o, unittest.hasLength(2)); |
3365 checkVideoRating(o[0]); | 3380 checkVideoRating(o[0]); |
3366 checkVideoRating(o[1]); | 3381 checkVideoRating(o[1]); |
3367 } | 3382 } |
3368 | 3383 |
3369 core.int buildCounterVideoGetRatingResponse = 0; | 3384 core.int buildCounterVideoGetRatingResponse = 0; |
3370 buildVideoGetRatingResponse() { | 3385 buildVideoGetRatingResponse() { |
3371 var o = new api.VideoGetRatingResponse(); | 3386 var o = new api.VideoGetRatingResponse(); |
3372 buildCounterVideoGetRatingResponse++; | 3387 buildCounterVideoGetRatingResponse++; |
3373 if (buildCounterVideoGetRatingResponse < 3) { | 3388 if (buildCounterVideoGetRatingResponse < 3) { |
3374 o.etag = "foo"; | 3389 o.etag = "foo"; |
3375 o.items = buildUnnamed1143(); | 3390 o.items = buildUnnamed371(); |
3376 o.kind = "foo"; | 3391 o.kind = "foo"; |
3377 } | 3392 } |
3378 buildCounterVideoGetRatingResponse--; | 3393 buildCounterVideoGetRatingResponse--; |
3379 return o; | 3394 return o; |
3380 } | 3395 } |
3381 | 3396 |
3382 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 3397 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
3383 buildCounterVideoGetRatingResponse++; | 3398 buildCounterVideoGetRatingResponse++; |
3384 if (buildCounterVideoGetRatingResponse < 3) { | 3399 if (buildCounterVideoGetRatingResponse < 3) { |
3385 unittest.expect(o.etag, unittest.equals('foo')); | 3400 unittest.expect(o.etag, unittest.equals('foo')); |
3386 checkUnnamed1143(o.items); | 3401 checkUnnamed371(o.items); |
3387 unittest.expect(o.kind, unittest.equals('foo')); | 3402 unittest.expect(o.kind, unittest.equals('foo')); |
3388 } | 3403 } |
3389 buildCounterVideoGetRatingResponse--; | 3404 buildCounterVideoGetRatingResponse--; |
3390 } | 3405 } |
3391 | 3406 |
3392 buildUnnamed1144() { | 3407 buildUnnamed372() { |
3393 var o = new core.List<api.Video>(); | 3408 var o = new core.List<api.Video>(); |
3394 o.add(buildVideo()); | 3409 o.add(buildVideo()); |
3395 o.add(buildVideo()); | 3410 o.add(buildVideo()); |
3396 return o; | 3411 return o; |
3397 } | 3412 } |
3398 | 3413 |
3399 checkUnnamed1144(core.List<api.Video> o) { | 3414 checkUnnamed372(core.List<api.Video> o) { |
3400 unittest.expect(o, unittest.hasLength(2)); | 3415 unittest.expect(o, unittest.hasLength(2)); |
3401 checkVideo(o[0]); | 3416 checkVideo(o[0]); |
3402 checkVideo(o[1]); | 3417 checkVideo(o[1]); |
3403 } | 3418 } |
3404 | 3419 |
3405 core.int buildCounterVideoListResponse = 0; | 3420 core.int buildCounterVideoListResponse = 0; |
3406 buildVideoListResponse() { | 3421 buildVideoListResponse() { |
3407 var o = new api.VideoListResponse(); | 3422 var o = new api.VideoListResponse(); |
3408 buildCounterVideoListResponse++; | 3423 buildCounterVideoListResponse++; |
3409 if (buildCounterVideoListResponse < 3) { | 3424 if (buildCounterVideoListResponse < 3) { |
3410 o.etag = "foo"; | 3425 o.etag = "foo"; |
3411 o.eventId = "foo"; | 3426 o.eventId = "foo"; |
3412 o.items = buildUnnamed1144(); | 3427 o.items = buildUnnamed372(); |
3413 o.kind = "foo"; | 3428 o.kind = "foo"; |
3414 o.nextPageToken = "foo"; | 3429 o.nextPageToken = "foo"; |
3415 o.pageInfo = buildPageInfo(); | 3430 o.pageInfo = buildPageInfo(); |
3416 o.prevPageToken = "foo"; | 3431 o.prevPageToken = "foo"; |
3417 o.tokenPagination = buildTokenPagination(); | 3432 o.tokenPagination = buildTokenPagination(); |
3418 o.visitorId = "foo"; | 3433 o.visitorId = "foo"; |
3419 } | 3434 } |
3420 buildCounterVideoListResponse--; | 3435 buildCounterVideoListResponse--; |
3421 return o; | 3436 return o; |
3422 } | 3437 } |
3423 | 3438 |
3424 checkVideoListResponse(api.VideoListResponse o) { | 3439 checkVideoListResponse(api.VideoListResponse o) { |
3425 buildCounterVideoListResponse++; | 3440 buildCounterVideoListResponse++; |
3426 if (buildCounterVideoListResponse < 3) { | 3441 if (buildCounterVideoListResponse < 3) { |
3427 unittest.expect(o.etag, unittest.equals('foo')); | 3442 unittest.expect(o.etag, unittest.equals('foo')); |
3428 unittest.expect(o.eventId, unittest.equals('foo')); | 3443 unittest.expect(o.eventId, unittest.equals('foo')); |
3429 checkUnnamed1144(o.items); | 3444 checkUnnamed372(o.items); |
3430 unittest.expect(o.kind, unittest.equals('foo')); | 3445 unittest.expect(o.kind, unittest.equals('foo')); |
3431 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3446 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3432 checkPageInfo(o.pageInfo); | 3447 checkPageInfo(o.pageInfo); |
3433 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3448 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3434 checkTokenPagination(o.tokenPagination); | 3449 checkTokenPagination(o.tokenPagination); |
3435 unittest.expect(o.visitorId, unittest.equals('foo')); | 3450 unittest.expect(o.visitorId, unittest.equals('foo')); |
3436 } | 3451 } |
3437 buildCounterVideoListResponse--; | 3452 buildCounterVideoListResponse--; |
3438 } | 3453 } |
3439 | 3454 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3551 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 3566 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
3552 buildCounterVideoProcessingDetailsProcessingProgress++; | 3567 buildCounterVideoProcessingDetailsProcessingProgress++; |
3553 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 3568 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
3554 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 3569 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
3555 unittest.expect(o.partsTotal, unittest.equals('foo')); | 3570 unittest.expect(o.partsTotal, unittest.equals('foo')); |
3556 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 3571 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
3557 } | 3572 } |
3558 buildCounterVideoProcessingDetailsProcessingProgress--; | 3573 buildCounterVideoProcessingDetailsProcessingProgress--; |
3559 } | 3574 } |
3560 | 3575 |
3561 buildUnnamed1145() { | 3576 buildUnnamed373() { |
3562 var o = new core.List<core.String>(); | 3577 var o = new core.List<core.String>(); |
3563 o.add("foo"); | 3578 o.add("foo"); |
3564 o.add("foo"); | 3579 o.add("foo"); |
3565 return o; | 3580 return o; |
3566 } | 3581 } |
3567 | 3582 |
3568 checkUnnamed1145(core.List<core.String> o) { | 3583 checkUnnamed373(core.List<core.String> o) { |
3569 unittest.expect(o, unittest.hasLength(2)); | 3584 unittest.expect(o, unittest.hasLength(2)); |
3570 unittest.expect(o[0], unittest.equals('foo')); | 3585 unittest.expect(o[0], unittest.equals('foo')); |
3571 unittest.expect(o[1], unittest.equals('foo')); | 3586 unittest.expect(o[1], unittest.equals('foo')); |
3572 } | 3587 } |
3573 | 3588 |
3574 core.int buildCounterVideoProjectDetails = 0; | 3589 core.int buildCounterVideoProjectDetails = 0; |
3575 buildVideoProjectDetails() { | 3590 buildVideoProjectDetails() { |
3576 var o = new api.VideoProjectDetails(); | 3591 var o = new api.VideoProjectDetails(); |
3577 buildCounterVideoProjectDetails++; | 3592 buildCounterVideoProjectDetails++; |
3578 if (buildCounterVideoProjectDetails < 3) { | 3593 if (buildCounterVideoProjectDetails < 3) { |
3579 o.tags = buildUnnamed1145(); | 3594 o.tags = buildUnnamed373(); |
3580 } | 3595 } |
3581 buildCounterVideoProjectDetails--; | 3596 buildCounterVideoProjectDetails--; |
3582 return o; | 3597 return o; |
3583 } | 3598 } |
3584 | 3599 |
3585 checkVideoProjectDetails(api.VideoProjectDetails o) { | 3600 checkVideoProjectDetails(api.VideoProjectDetails o) { |
3586 buildCounterVideoProjectDetails++; | 3601 buildCounterVideoProjectDetails++; |
3587 if (buildCounterVideoProjectDetails < 3) { | 3602 if (buildCounterVideoProjectDetails < 3) { |
3588 checkUnnamed1145(o.tags); | 3603 checkUnnamed373(o.tags); |
3589 } | 3604 } |
3590 buildCounterVideoProjectDetails--; | 3605 buildCounterVideoProjectDetails--; |
3591 } | 3606 } |
3592 | 3607 |
3593 core.int buildCounterVideoRating = 0; | 3608 core.int buildCounterVideoRating = 0; |
3594 buildVideoRating() { | 3609 buildVideoRating() { |
3595 var o = new api.VideoRating(); | 3610 var o = new api.VideoRating(); |
3596 buildCounterVideoRating++; | 3611 buildCounterVideoRating++; |
3597 if (buildCounterVideoRating < 3) { | 3612 if (buildCounterVideoRating < 3) { |
3598 o.rating = "foo"; | 3613 o.rating = "foo"; |
(...skipping 28 matching lines...) Expand all Loading... |
3627 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 3642 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
3628 buildCounterVideoRecordingDetails++; | 3643 buildCounterVideoRecordingDetails++; |
3629 if (buildCounterVideoRecordingDetails < 3) { | 3644 if (buildCounterVideoRecordingDetails < 3) { |
3630 checkGeoPoint(o.location); | 3645 checkGeoPoint(o.location); |
3631 unittest.expect(o.locationDescription, unittest.equals('foo')); | 3646 unittest.expect(o.locationDescription, unittest.equals('foo')); |
3632 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 3647 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
3633 } | 3648 } |
3634 buildCounterVideoRecordingDetails--; | 3649 buildCounterVideoRecordingDetails--; |
3635 } | 3650 } |
3636 | 3651 |
3637 buildUnnamed1146() { | 3652 buildUnnamed374() { |
3638 var o = new core.List<core.String>(); | 3653 var o = new core.List<core.String>(); |
3639 o.add("foo"); | 3654 o.add("foo"); |
3640 o.add("foo"); | 3655 o.add("foo"); |
3641 return o; | 3656 return o; |
3642 } | 3657 } |
3643 | 3658 |
3644 checkUnnamed1146(core.List<core.String> o) { | 3659 checkUnnamed374(core.List<core.String> o) { |
3645 unittest.expect(o, unittest.hasLength(2)); | 3660 unittest.expect(o, unittest.hasLength(2)); |
3646 unittest.expect(o[0], unittest.equals('foo')); | 3661 unittest.expect(o[0], unittest.equals('foo')); |
3647 unittest.expect(o[1], unittest.equals('foo')); | 3662 unittest.expect(o[1], unittest.equals('foo')); |
3648 } | 3663 } |
3649 | 3664 |
3650 core.int buildCounterVideoSnippet = 0; | 3665 core.int buildCounterVideoSnippet = 0; |
3651 buildVideoSnippet() { | 3666 buildVideoSnippet() { |
3652 var o = new api.VideoSnippet(); | 3667 var o = new api.VideoSnippet(); |
3653 buildCounterVideoSnippet++; | 3668 buildCounterVideoSnippet++; |
3654 if (buildCounterVideoSnippet < 3) { | 3669 if (buildCounterVideoSnippet < 3) { |
3655 o.categoryId = "foo"; | 3670 o.categoryId = "foo"; |
3656 o.channelId = "foo"; | 3671 o.channelId = "foo"; |
3657 o.channelTitle = "foo"; | 3672 o.channelTitle = "foo"; |
3658 o.description = "foo"; | 3673 o.description = "foo"; |
3659 o.liveBroadcastContent = "foo"; | 3674 o.liveBroadcastContent = "foo"; |
3660 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3675 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
3661 o.tags = buildUnnamed1146(); | 3676 o.tags = buildUnnamed374(); |
3662 o.thumbnails = buildThumbnailDetails(); | 3677 o.thumbnails = buildThumbnailDetails(); |
3663 o.title = "foo"; | 3678 o.title = "foo"; |
3664 } | 3679 } |
3665 buildCounterVideoSnippet--; | 3680 buildCounterVideoSnippet--; |
3666 return o; | 3681 return o; |
3667 } | 3682 } |
3668 | 3683 |
3669 checkVideoSnippet(api.VideoSnippet o) { | 3684 checkVideoSnippet(api.VideoSnippet o) { |
3670 buildCounterVideoSnippet++; | 3685 buildCounterVideoSnippet++; |
3671 if (buildCounterVideoSnippet < 3) { | 3686 if (buildCounterVideoSnippet < 3) { |
3672 unittest.expect(o.categoryId, unittest.equals('foo')); | 3687 unittest.expect(o.categoryId, unittest.equals('foo')); |
3673 unittest.expect(o.channelId, unittest.equals('foo')); | 3688 unittest.expect(o.channelId, unittest.equals('foo')); |
3674 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3689 unittest.expect(o.channelTitle, unittest.equals('foo')); |
3675 unittest.expect(o.description, unittest.equals('foo')); | 3690 unittest.expect(o.description, unittest.equals('foo')); |
3676 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 3691 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
3677 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3692 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
3678 checkUnnamed1146(o.tags); | 3693 checkUnnamed374(o.tags); |
3679 checkThumbnailDetails(o.thumbnails); | 3694 checkThumbnailDetails(o.thumbnails); |
3680 unittest.expect(o.title, unittest.equals('foo')); | 3695 unittest.expect(o.title, unittest.equals('foo')); |
3681 } | 3696 } |
3682 buildCounterVideoSnippet--; | 3697 buildCounterVideoSnippet--; |
3683 } | 3698 } |
3684 | 3699 |
3685 core.int buildCounterVideoStatistics = 0; | 3700 core.int buildCounterVideoStatistics = 0; |
3686 buildVideoStatistics() { | 3701 buildVideoStatistics() { |
3687 var o = new api.VideoStatistics(); | 3702 var o = new api.VideoStatistics(); |
3688 buildCounterVideoStatistics++; | 3703 buildCounterVideoStatistics++; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3735 unittest.expect(o.license, unittest.equals('foo')); | 3750 unittest.expect(o.license, unittest.equals('foo')); |
3736 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3751 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
3737 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 3752 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
3738 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 3753 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
3739 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 3754 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
3740 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 3755 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
3741 } | 3756 } |
3742 buildCounterVideoStatus--; | 3757 buildCounterVideoStatus--; |
3743 } | 3758 } |
3744 | 3759 |
3745 buildUnnamed1147() { | 3760 buildUnnamed375() { |
3746 var o = new core.List<core.String>(); | 3761 var o = new core.List<core.String>(); |
3747 o.add("foo"); | 3762 o.add("foo"); |
3748 o.add("foo"); | 3763 o.add("foo"); |
3749 return o; | 3764 return o; |
3750 } | 3765 } |
3751 | 3766 |
3752 checkUnnamed1147(core.List<core.String> o) { | 3767 checkUnnamed375(core.List<core.String> o) { |
3753 unittest.expect(o, unittest.hasLength(2)); | 3768 unittest.expect(o, unittest.hasLength(2)); |
3754 unittest.expect(o[0], unittest.equals('foo')); | 3769 unittest.expect(o[0], unittest.equals('foo')); |
3755 unittest.expect(o[1], unittest.equals('foo')); | 3770 unittest.expect(o[1], unittest.equals('foo')); |
3756 } | 3771 } |
3757 | 3772 |
3758 buildUnnamed1148() { | 3773 buildUnnamed376() { |
3759 var o = new core.List<core.String>(); | 3774 var o = new core.List<core.String>(); |
3760 o.add("foo"); | 3775 o.add("foo"); |
3761 o.add("foo"); | 3776 o.add("foo"); |
3762 return o; | 3777 return o; |
3763 } | 3778 } |
3764 | 3779 |
3765 checkUnnamed1148(core.List<core.String> o) { | 3780 checkUnnamed376(core.List<core.String> o) { |
3766 unittest.expect(o, unittest.hasLength(2)); | 3781 unittest.expect(o, unittest.hasLength(2)); |
3767 unittest.expect(o[0], unittest.equals('foo')); | 3782 unittest.expect(o[0], unittest.equals('foo')); |
3768 unittest.expect(o[1], unittest.equals('foo')); | 3783 unittest.expect(o[1], unittest.equals('foo')); |
3769 } | 3784 } |
3770 | 3785 |
3771 buildUnnamed1149() { | 3786 buildUnnamed377() { |
3772 var o = new core.List<core.String>(); | 3787 var o = new core.List<core.String>(); |
3773 o.add("foo"); | 3788 o.add("foo"); |
3774 o.add("foo"); | 3789 o.add("foo"); |
3775 return o; | 3790 return o; |
3776 } | 3791 } |
3777 | 3792 |
3778 checkUnnamed1149(core.List<core.String> o) { | 3793 checkUnnamed377(core.List<core.String> o) { |
3779 unittest.expect(o, unittest.hasLength(2)); | 3794 unittest.expect(o, unittest.hasLength(2)); |
3780 unittest.expect(o[0], unittest.equals('foo')); | 3795 unittest.expect(o[0], unittest.equals('foo')); |
3781 unittest.expect(o[1], unittest.equals('foo')); | 3796 unittest.expect(o[1], unittest.equals('foo')); |
3782 } | 3797 } |
3783 | 3798 |
3784 buildUnnamed1150() { | 3799 buildUnnamed378() { |
3785 var o = new core.List<core.String>(); | 3800 var o = new core.List<core.String>(); |
3786 o.add("foo"); | 3801 o.add("foo"); |
3787 o.add("foo"); | 3802 o.add("foo"); |
3788 return o; | 3803 return o; |
3789 } | 3804 } |
3790 | 3805 |
3791 checkUnnamed1150(core.List<core.String> o) { | 3806 checkUnnamed378(core.List<core.String> o) { |
3792 unittest.expect(o, unittest.hasLength(2)); | 3807 unittest.expect(o, unittest.hasLength(2)); |
3793 unittest.expect(o[0], unittest.equals('foo')); | 3808 unittest.expect(o[0], unittest.equals('foo')); |
3794 unittest.expect(o[1], unittest.equals('foo')); | 3809 unittest.expect(o[1], unittest.equals('foo')); |
3795 } | 3810 } |
3796 | 3811 |
3797 buildUnnamed1151() { | 3812 buildUnnamed379() { |
3798 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 3813 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
3799 o.add(buildVideoSuggestionsTagSuggestion()); | 3814 o.add(buildVideoSuggestionsTagSuggestion()); |
3800 o.add(buildVideoSuggestionsTagSuggestion()); | 3815 o.add(buildVideoSuggestionsTagSuggestion()); |
3801 return o; | 3816 return o; |
3802 } | 3817 } |
3803 | 3818 |
3804 checkUnnamed1151(core.List<api.VideoSuggestionsTagSuggestion> o) { | 3819 checkUnnamed379(core.List<api.VideoSuggestionsTagSuggestion> o) { |
3805 unittest.expect(o, unittest.hasLength(2)); | 3820 unittest.expect(o, unittest.hasLength(2)); |
3806 checkVideoSuggestionsTagSuggestion(o[0]); | 3821 checkVideoSuggestionsTagSuggestion(o[0]); |
3807 checkVideoSuggestionsTagSuggestion(o[1]); | 3822 checkVideoSuggestionsTagSuggestion(o[1]); |
3808 } | 3823 } |
3809 | 3824 |
3810 core.int buildCounterVideoSuggestions = 0; | 3825 core.int buildCounterVideoSuggestions = 0; |
3811 buildVideoSuggestions() { | 3826 buildVideoSuggestions() { |
3812 var o = new api.VideoSuggestions(); | 3827 var o = new api.VideoSuggestions(); |
3813 buildCounterVideoSuggestions++; | 3828 buildCounterVideoSuggestions++; |
3814 if (buildCounterVideoSuggestions < 3) { | 3829 if (buildCounterVideoSuggestions < 3) { |
3815 o.editorSuggestions = buildUnnamed1147(); | 3830 o.editorSuggestions = buildUnnamed375(); |
3816 o.processingErrors = buildUnnamed1148(); | 3831 o.processingErrors = buildUnnamed376(); |
3817 o.processingHints = buildUnnamed1149(); | 3832 o.processingHints = buildUnnamed377(); |
3818 o.processingWarnings = buildUnnamed1150(); | 3833 o.processingWarnings = buildUnnamed378(); |
3819 o.tagSuggestions = buildUnnamed1151(); | 3834 o.tagSuggestions = buildUnnamed379(); |
3820 } | 3835 } |
3821 buildCounterVideoSuggestions--; | 3836 buildCounterVideoSuggestions--; |
3822 return o; | 3837 return o; |
3823 } | 3838 } |
3824 | 3839 |
3825 checkVideoSuggestions(api.VideoSuggestions o) { | 3840 checkVideoSuggestions(api.VideoSuggestions o) { |
3826 buildCounterVideoSuggestions++; | 3841 buildCounterVideoSuggestions++; |
3827 if (buildCounterVideoSuggestions < 3) { | 3842 if (buildCounterVideoSuggestions < 3) { |
3828 checkUnnamed1147(o.editorSuggestions); | 3843 checkUnnamed375(o.editorSuggestions); |
3829 checkUnnamed1148(o.processingErrors); | 3844 checkUnnamed376(o.processingErrors); |
3830 checkUnnamed1149(o.processingHints); | 3845 checkUnnamed377(o.processingHints); |
3831 checkUnnamed1150(o.processingWarnings); | 3846 checkUnnamed378(o.processingWarnings); |
3832 checkUnnamed1151(o.tagSuggestions); | 3847 checkUnnamed379(o.tagSuggestions); |
3833 } | 3848 } |
3834 buildCounterVideoSuggestions--; | 3849 buildCounterVideoSuggestions--; |
3835 } | 3850 } |
3836 | 3851 |
3837 buildUnnamed1152() { | 3852 buildUnnamed380() { |
3838 var o = new core.List<core.String>(); | 3853 var o = new core.List<core.String>(); |
3839 o.add("foo"); | 3854 o.add("foo"); |
3840 o.add("foo"); | 3855 o.add("foo"); |
3841 return o; | 3856 return o; |
3842 } | 3857 } |
3843 | 3858 |
3844 checkUnnamed1152(core.List<core.String> o) { | 3859 checkUnnamed380(core.List<core.String> o) { |
3845 unittest.expect(o, unittest.hasLength(2)); | 3860 unittest.expect(o, unittest.hasLength(2)); |
3846 unittest.expect(o[0], unittest.equals('foo')); | 3861 unittest.expect(o[0], unittest.equals('foo')); |
3847 unittest.expect(o[1], unittest.equals('foo')); | 3862 unittest.expect(o[1], unittest.equals('foo')); |
3848 } | 3863 } |
3849 | 3864 |
3850 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 3865 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
3851 buildVideoSuggestionsTagSuggestion() { | 3866 buildVideoSuggestionsTagSuggestion() { |
3852 var o = new api.VideoSuggestionsTagSuggestion(); | 3867 var o = new api.VideoSuggestionsTagSuggestion(); |
3853 buildCounterVideoSuggestionsTagSuggestion++; | 3868 buildCounterVideoSuggestionsTagSuggestion++; |
3854 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3869 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
3855 o.categoryRestricts = buildUnnamed1152(); | 3870 o.categoryRestricts = buildUnnamed380(); |
3856 o.tag = "foo"; | 3871 o.tag = "foo"; |
3857 } | 3872 } |
3858 buildCounterVideoSuggestionsTagSuggestion--; | 3873 buildCounterVideoSuggestionsTagSuggestion--; |
3859 return o; | 3874 return o; |
3860 } | 3875 } |
3861 | 3876 |
3862 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 3877 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
3863 buildCounterVideoSuggestionsTagSuggestion++; | 3878 buildCounterVideoSuggestionsTagSuggestion++; |
3864 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3879 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
3865 checkUnnamed1152(o.categoryRestricts); | 3880 checkUnnamed380(o.categoryRestricts); |
3866 unittest.expect(o.tag, unittest.equals('foo')); | 3881 unittest.expect(o.tag, unittest.equals('foo')); |
3867 } | 3882 } |
3868 buildCounterVideoSuggestionsTagSuggestion--; | 3883 buildCounterVideoSuggestionsTagSuggestion--; |
3869 } | 3884 } |
3870 | 3885 |
3871 buildUnnamed1153() { | 3886 buildUnnamed381() { |
3872 var o = new core.List<core.String>(); | 3887 var o = new core.List<core.String>(); |
3873 o.add("foo"); | 3888 o.add("foo"); |
3874 o.add("foo"); | 3889 o.add("foo"); |
3875 return o; | 3890 return o; |
3876 } | 3891 } |
3877 | 3892 |
3878 checkUnnamed1153(core.List<core.String> o) { | 3893 checkUnnamed381(core.List<core.String> o) { |
3879 unittest.expect(o, unittest.hasLength(2)); | 3894 unittest.expect(o, unittest.hasLength(2)); |
3880 unittest.expect(o[0], unittest.equals('foo')); | 3895 unittest.expect(o[0], unittest.equals('foo')); |
3881 unittest.expect(o[1], unittest.equals('foo')); | 3896 unittest.expect(o[1], unittest.equals('foo')); |
3882 } | 3897 } |
3883 | 3898 |
3884 buildUnnamed1154() { | 3899 buildUnnamed382() { |
3885 var o = new core.List<core.String>(); | 3900 var o = new core.List<core.String>(); |
3886 o.add("foo"); | 3901 o.add("foo"); |
3887 o.add("foo"); | 3902 o.add("foo"); |
3888 return o; | 3903 return o; |
3889 } | 3904 } |
3890 | 3905 |
3891 checkUnnamed1154(core.List<core.String> o) { | 3906 checkUnnamed382(core.List<core.String> o) { |
3892 unittest.expect(o, unittest.hasLength(2)); | 3907 unittest.expect(o, unittest.hasLength(2)); |
3893 unittest.expect(o[0], unittest.equals('foo')); | 3908 unittest.expect(o[0], unittest.equals('foo')); |
3894 unittest.expect(o[1], unittest.equals('foo')); | 3909 unittest.expect(o[1], unittest.equals('foo')); |
3895 } | 3910 } |
3896 | 3911 |
3897 core.int buildCounterVideoTopicDetails = 0; | 3912 core.int buildCounterVideoTopicDetails = 0; |
3898 buildVideoTopicDetails() { | 3913 buildVideoTopicDetails() { |
3899 var o = new api.VideoTopicDetails(); | 3914 var o = new api.VideoTopicDetails(); |
3900 buildCounterVideoTopicDetails++; | 3915 buildCounterVideoTopicDetails++; |
3901 if (buildCounterVideoTopicDetails < 3) { | 3916 if (buildCounterVideoTopicDetails < 3) { |
3902 o.relevantTopicIds = buildUnnamed1153(); | 3917 o.relevantTopicIds = buildUnnamed381(); |
3903 o.topicIds = buildUnnamed1154(); | 3918 o.topicIds = buildUnnamed382(); |
3904 } | 3919 } |
3905 buildCounterVideoTopicDetails--; | 3920 buildCounterVideoTopicDetails--; |
3906 return o; | 3921 return o; |
3907 } | 3922 } |
3908 | 3923 |
3909 checkVideoTopicDetails(api.VideoTopicDetails o) { | 3924 checkVideoTopicDetails(api.VideoTopicDetails o) { |
3910 buildCounterVideoTopicDetails++; | 3925 buildCounterVideoTopicDetails++; |
3911 if (buildCounterVideoTopicDetails < 3) { | 3926 if (buildCounterVideoTopicDetails < 3) { |
3912 checkUnnamed1153(o.relevantTopicIds); | 3927 checkUnnamed381(o.relevantTopicIds); |
3913 checkUnnamed1154(o.topicIds); | 3928 checkUnnamed382(o.topicIds); |
3914 } | 3929 } |
3915 buildCounterVideoTopicDetails--; | 3930 buildCounterVideoTopicDetails--; |
3916 } | 3931 } |
3917 | 3932 |
3918 core.int buildCounterWatchSettings = 0; | 3933 core.int buildCounterWatchSettings = 0; |
3919 buildWatchSettings() { | 3934 buildWatchSettings() { |
3920 var o = new api.WatchSettings(); | 3935 var o = new api.WatchSettings(); |
3921 buildCounterWatchSettings++; | 3936 buildCounterWatchSettings++; |
3922 if (buildCounterWatchSettings < 3) { | 3937 if (buildCounterWatchSettings < 3) { |
3923 o.backgroundColor = "foo"; | 3938 o.backgroundColor = "foo"; |
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5221 | 5236 |
5222 }); | 5237 }); |
5223 | 5238 |
5224 | 5239 |
5225 unittest.group("resource-ChannelSectionsResourceApi", () { | 5240 unittest.group("resource-ChannelSectionsResourceApi", () { |
5226 unittest.test("method--delete", () { | 5241 unittest.test("method--delete", () { |
5227 | 5242 |
5228 var mock = new common_test.HttpServerMock(); | 5243 var mock = new common_test.HttpServerMock(); |
5229 api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSecti
ons; | 5244 api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSecti
ons; |
5230 var arg_id = "foo"; | 5245 var arg_id = "foo"; |
| 5246 var arg_onBehalfOfContentOwner = "foo"; |
5231 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5247 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5232 var path = (req.url).path; | 5248 var path = (req.url).path; |
5233 var pathOffset = 0; | 5249 var pathOffset = 0; |
5234 var index; | 5250 var index; |
5235 var subPart; | 5251 var subPart; |
5236 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5252 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5237 pathOffset += 1; | 5253 pathOffset += 1; |
5238 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); | 5254 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); |
5239 pathOffset += 11; | 5255 pathOffset += 11; |
5240 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("channelSections")); | 5256 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("channelSections")); |
5241 pathOffset += 15; | 5257 pathOffset += 15; |
5242 | 5258 |
5243 var query = (req.url).query; | 5259 var query = (req.url).query; |
5244 var queryOffset = 0; | 5260 var queryOffset = 0; |
5245 var queryMap = {}; | 5261 var queryMap = {}; |
5246 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 5262 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
5247 parseBool(n) { | 5263 parseBool(n) { |
5248 if (n == "true") return true; | 5264 if (n == "true") return true; |
5249 if (n == "false") return false; | 5265 if (n == "false") return false; |
5250 if (n == null) return null; | 5266 if (n == null) return null; |
5251 throw new core.ArgumentError("Invalid boolean: $n"); | 5267 throw new core.ArgumentError("Invalid boolean: $n"); |
5252 } | 5268 } |
5253 if (query.length > 0) { | 5269 if (query.length > 0) { |
5254 for (var part in query.split("&")) { | 5270 for (var part in query.split("&")) { |
5255 var keyvalue = part.split("="); | 5271 var keyvalue = part.split("="); |
5256 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5272 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5257 } | 5273 } |
5258 } | 5274 } |
5259 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 5275 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
| 5276 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
5260 | 5277 |
5261 | 5278 |
5262 var h = { | 5279 var h = { |
5263 "content-type" : "application/json; charset=utf-8", | 5280 "content-type" : "application/json; charset=utf-8", |
5264 }; | 5281 }; |
5265 var resp = ""; | 5282 var resp = ""; |
5266 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 5283 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
5267 }), true); | 5284 }), true); |
5268 res.delete(arg_id).then(unittest.expectAsync((_) {})); | 5285 res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).the
n(unittest.expectAsync((_) {})); |
5269 }); | 5286 }); |
5270 | 5287 |
5271 unittest.test("method--insert", () { | 5288 unittest.test("method--insert", () { |
5272 | 5289 |
5273 var mock = new common_test.HttpServerMock(); | 5290 var mock = new common_test.HttpServerMock(); |
5274 api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSecti
ons; | 5291 api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSecti
ons; |
5275 var arg_request = buildChannelSection(); | 5292 var arg_request = buildChannelSection(); |
5276 var arg_part = "foo"; | 5293 var arg_part = "foo"; |
5277 var arg_onBehalfOfContentOwner = "foo"; | 5294 var arg_onBehalfOfContentOwner = "foo"; |
5278 var arg_onBehalfOfContentOwnerChannel = "foo"; | 5295 var arg_onBehalfOfContentOwnerChannel = "foo"; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5377 checkChannelSectionListResponse(response); | 5394 checkChannelSectionListResponse(response); |
5378 }))); | 5395 }))); |
5379 }); | 5396 }); |
5380 | 5397 |
5381 unittest.test("method--update", () { | 5398 unittest.test("method--update", () { |
5382 | 5399 |
5383 var mock = new common_test.HttpServerMock(); | 5400 var mock = new common_test.HttpServerMock(); |
5384 api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSecti
ons; | 5401 api.ChannelSectionsResourceApi res = new api.YoutubeApi(mock).channelSecti
ons; |
5385 var arg_request = buildChannelSection(); | 5402 var arg_request = buildChannelSection(); |
5386 var arg_part = "foo"; | 5403 var arg_part = "foo"; |
| 5404 var arg_onBehalfOfContentOwner = "foo"; |
5387 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5405 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5388 var obj = new api.ChannelSection.fromJson(json); | 5406 var obj = new api.ChannelSection.fromJson(json); |
5389 checkChannelSection(obj); | 5407 checkChannelSection(obj); |
5390 | 5408 |
5391 var path = (req.url).path; | 5409 var path = (req.url).path; |
5392 var pathOffset = 0; | 5410 var pathOffset = 0; |
5393 var index; | 5411 var index; |
5394 var subPart; | 5412 var subPart; |
5395 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5396 pathOffset += 1; | 5414 pathOffset += 1; |
(...skipping 12 matching lines...) Expand all Loading... |
5409 if (n == null) return null; | 5427 if (n == null) return null; |
5410 throw new core.ArgumentError("Invalid boolean: $n"); | 5428 throw new core.ArgumentError("Invalid boolean: $n"); |
5411 } | 5429 } |
5412 if (query.length > 0) { | 5430 if (query.length > 0) { |
5413 for (var part in query.split("&")) { | 5431 for (var part in query.split("&")) { |
5414 var keyvalue = part.split("="); | 5432 var keyvalue = part.split("="); |
5415 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5433 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5416 } | 5434 } |
5417 } | 5435 } |
5418 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 5436 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
| 5437 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
5419 | 5438 |
5420 | 5439 |
5421 var h = { | 5440 var h = { |
5422 "content-type" : "application/json; charset=utf-8", | 5441 "content-type" : "application/json; charset=utf-8", |
5423 }; | 5442 }; |
5424 var resp = convert.JSON.encode(buildChannelSection()); | 5443 var resp = convert.JSON.encode(buildChannelSection()); |
5425 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 5444 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
5426 }), true); | 5445 }), true); |
5427 res.update(arg_request, arg_part).then(unittest.expectAsync(((api.ChannelS
ection response) { | 5446 res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfCo
ntentOwner).then(unittest.expectAsync(((api.ChannelSection response) { |
5428 checkChannelSection(response); | 5447 checkChannelSection(response); |
5429 }))); | 5448 }))); |
5430 }); | 5449 }); |
5431 | 5450 |
5432 }); | 5451 }); |
5433 | 5452 |
5434 | 5453 |
5435 unittest.group("resource-ChannelsResourceApi", () { | 5454 unittest.group("resource-ChannelsResourceApi", () { |
5436 unittest.test("method--list", () { | 5455 unittest.test("method--list", () { |
5437 | 5456 |
(...skipping 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7579 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 7598 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
7580 }), true); | 7599 }), true); |
7581 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 7600 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
7582 }); | 7601 }); |
7583 | 7602 |
7584 }); | 7603 }); |
7585 | 7604 |
7586 | 7605 |
7587 } | 7606 } |
7588 | 7607 |
OLD | NEW |