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 buildUnnamed987() { | 19 buildUnnamed337() { |
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 checkUnnamed987(core.List<core.String> o) { | 26 checkUnnamed337(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 = buildUnnamed987(); | 38 o.exception = buildUnnamed337(); |
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 checkUnnamed987(o.exception); | 48 checkUnnamed337(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 buildUnnamed988() { | 237 buildUnnamed338() { |
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 checkUnnamed988(core.List<core.String> o) { | 244 checkUnnamed338(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 buildUnnamed989() { | 250 buildUnnamed339() { |
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 checkUnnamed989(core.List<core.String> o) { | 257 checkUnnamed339(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 = buildUnnamed988(); | 275 o.forecastingUrl = buildUnnamed338(); |
276 o.impressionUrl = buildUnnamed989(); | 276 o.impressionUrl = buildUnnamed339(); |
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 checkUnnamed988(o.forecastingUrl); | 293 checkUnnamed338(o.forecastingUrl); |
294 checkUnnamed989(o.impressionUrl); | 294 checkUnnamed339(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 buildUnnamed990() { | 388 buildUnnamed340() { |
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 checkUnnamed990(core.List<api.Activity> o) { | 395 checkUnnamed340(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 = buildUnnamed990(); | 408 o.items = buildUnnamed340(); |
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 checkUnnamed990(o.items); | 425 checkUnnamed340(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 buildUnnamed991() { | 583 buildUnnamed341() { |
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 checkUnnamed991(core.List<api.PropertyValue> o) { | 590 checkUnnamed341(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 = buildUnnamed991(); | 602 o.hints = buildUnnamed341(); |
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 checkUnnamed991(o.hints); | 614 checkUnnamed341(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 buildUnnamed992() { | 711 buildUnnamed342() { |
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 checkUnnamed992(core.List<api.ChannelConversionPing> o) { | 718 checkUnnamed342(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 = buildUnnamed992(); | 729 o.pings = buildUnnamed342(); |
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 checkUnnamed992(o.pings); | 738 checkUnnamed342(o.pings); |
739 } | 739 } |
740 buildCounterChannelConversionPings--; | 740 buildCounterChannelConversionPings--; |
741 } | 741 } |
742 | 742 |
743 buildUnnamed993() { | 743 buildUnnamed343() { |
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 checkUnnamed993(core.List<api.Channel> o) { | 750 checkUnnamed343(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 = buildUnnamed993(); | 763 o.items = buildUnnamed343(); |
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 checkUnnamed993(o.items); | 780 checkUnnamed343(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 buildUnnamed994() { | 818 buildUnnamed344() { |
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 checkUnnamed994(core.List<core.String> o) { | 825 checkUnnamed344(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 buildUnnamed995() { | 831 buildUnnamed345() { |
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 checkUnnamed995(core.List<core.String> o) { | 838 checkUnnamed345(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 = buildUnnamed994(); | 849 o.channels = buildUnnamed344(); |
850 o.playlists = buildUnnamed995(); | 850 o.playlists = buildUnnamed345(); |
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 checkUnnamed994(o.channels); | 859 checkUnnamed344(o.channels); |
860 checkUnnamed995(o.playlists); | 860 checkUnnamed345(o.playlists); |
861 } | 861 } |
862 buildCounterChannelSectionContentDetails--; | 862 buildCounterChannelSectionContentDetails--; |
863 } | 863 } |
864 | 864 |
865 buildUnnamed996() { | 865 buildUnnamed346() { |
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 checkUnnamed996(core.List<api.ChannelSection> o) { | 872 checkUnnamed346(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 = buildUnnamed996(); | 885 o.items = buildUnnamed346(); |
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 checkUnnamed996(o.items); | 898 checkUnnamed346(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 buildUnnamed997() { | 932 buildUnnamed347() { |
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 checkUnnamed997(core.List<core.String> o) { | 939 checkUnnamed347(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 = buildUnnamed997(); | 953 o.featuredChannelsUrls = buildUnnamed347(); |
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 checkUnnamed997(o.featuredChannelsUrls); | 973 checkUnnamed347(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 buildUnnamed998() { | 1061 buildUnnamed348() { |
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 checkUnnamed998(core.List<core.String> o) { | 1068 checkUnnamed348(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 = buildUnnamed998(); | 1079 o.topicIds = buildUnnamed348(); |
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 checkUnnamed998(o.topicIds); | 1088 checkUnnamed348(o.topicIds); |
1089 } | 1089 } |
1090 buildCounterChannelTopicDetails--; | 1090 buildCounterChannelTopicDetails--; |
1091 } | 1091 } |
1092 | 1092 |
1093 core.int buildCounterContentRating = 0; | 1093 core.int buildCounterContentRating = 0; |
1094 buildContentRating() { | 1094 buildContentRating() { |
1095 var o = new api.ContentRating(); | 1095 var o = new api.ContentRating(); |
1096 buildCounterContentRating++; | 1096 buildCounterContentRating++; |
1097 if (buildCounterContentRating < 3) { | 1097 if (buildCounterContentRating < 3) { |
1098 o.acbRating = "foo"; | 1098 o.acbRating = "foo"; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 buildCounterGuideCategory++; | 1274 buildCounterGuideCategory++; |
1275 if (buildCounterGuideCategory < 3) { | 1275 if (buildCounterGuideCategory < 3) { |
1276 unittest.expect(o.etag, unittest.equals('foo')); | 1276 unittest.expect(o.etag, unittest.equals('foo')); |
1277 unittest.expect(o.id, unittest.equals('foo')); | 1277 unittest.expect(o.id, unittest.equals('foo')); |
1278 unittest.expect(o.kind, unittest.equals('foo')); | 1278 unittest.expect(o.kind, unittest.equals('foo')); |
1279 checkGuideCategorySnippet(o.snippet); | 1279 checkGuideCategorySnippet(o.snippet); |
1280 } | 1280 } |
1281 buildCounterGuideCategory--; | 1281 buildCounterGuideCategory--; |
1282 } | 1282 } |
1283 | 1283 |
1284 buildUnnamed999() { | 1284 buildUnnamed349() { |
1285 var o = new core.List<api.GuideCategory>(); | 1285 var o = new core.List<api.GuideCategory>(); |
1286 o.add(buildGuideCategory()); | 1286 o.add(buildGuideCategory()); |
1287 o.add(buildGuideCategory()); | 1287 o.add(buildGuideCategory()); |
1288 return o; | 1288 return o; |
1289 } | 1289 } |
1290 | 1290 |
1291 checkUnnamed999(core.List<api.GuideCategory> o) { | 1291 checkUnnamed349(core.List<api.GuideCategory> o) { |
1292 unittest.expect(o, unittest.hasLength(2)); | 1292 unittest.expect(o, unittest.hasLength(2)); |
1293 checkGuideCategory(o[0]); | 1293 checkGuideCategory(o[0]); |
1294 checkGuideCategory(o[1]); | 1294 checkGuideCategory(o[1]); |
1295 } | 1295 } |
1296 | 1296 |
1297 core.int buildCounterGuideCategoryListResponse = 0; | 1297 core.int buildCounterGuideCategoryListResponse = 0; |
1298 buildGuideCategoryListResponse() { | 1298 buildGuideCategoryListResponse() { |
1299 var o = new api.GuideCategoryListResponse(); | 1299 var o = new api.GuideCategoryListResponse(); |
1300 buildCounterGuideCategoryListResponse++; | 1300 buildCounterGuideCategoryListResponse++; |
1301 if (buildCounterGuideCategoryListResponse < 3) { | 1301 if (buildCounterGuideCategoryListResponse < 3) { |
1302 o.etag = "foo"; | 1302 o.etag = "foo"; |
1303 o.eventId = "foo"; | 1303 o.eventId = "foo"; |
1304 o.items = buildUnnamed999(); | 1304 o.items = buildUnnamed349(); |
1305 o.kind = "foo"; | 1305 o.kind = "foo"; |
1306 o.nextPageToken = "foo"; | 1306 o.nextPageToken = "foo"; |
1307 o.pageInfo = buildPageInfo(); | 1307 o.pageInfo = buildPageInfo(); |
1308 o.prevPageToken = "foo"; | 1308 o.prevPageToken = "foo"; |
1309 o.tokenPagination = buildTokenPagination(); | 1309 o.tokenPagination = buildTokenPagination(); |
1310 o.visitorId = "foo"; | 1310 o.visitorId = "foo"; |
1311 } | 1311 } |
1312 buildCounterGuideCategoryListResponse--; | 1312 buildCounterGuideCategoryListResponse--; |
1313 return o; | 1313 return o; |
1314 } | 1314 } |
1315 | 1315 |
1316 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1316 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
1317 buildCounterGuideCategoryListResponse++; | 1317 buildCounterGuideCategoryListResponse++; |
1318 if (buildCounterGuideCategoryListResponse < 3) { | 1318 if (buildCounterGuideCategoryListResponse < 3) { |
1319 unittest.expect(o.etag, unittest.equals('foo')); | 1319 unittest.expect(o.etag, unittest.equals('foo')); |
1320 unittest.expect(o.eventId, unittest.equals('foo')); | 1320 unittest.expect(o.eventId, unittest.equals('foo')); |
1321 checkUnnamed999(o.items); | 1321 checkUnnamed349(o.items); |
1322 unittest.expect(o.kind, unittest.equals('foo')); | 1322 unittest.expect(o.kind, unittest.equals('foo')); |
1323 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1323 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1324 checkPageInfo(o.pageInfo); | 1324 checkPageInfo(o.pageInfo); |
1325 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1325 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1326 checkTokenPagination(o.tokenPagination); | 1326 checkTokenPagination(o.tokenPagination); |
1327 unittest.expect(o.visitorId, unittest.equals('foo')); | 1327 unittest.expect(o.visitorId, unittest.equals('foo')); |
1328 } | 1328 } |
1329 buildCounterGuideCategoryListResponse--; | 1329 buildCounterGuideCategoryListResponse--; |
1330 } | 1330 } |
1331 | 1331 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 buildCounterI18nLanguage++; | 1368 buildCounterI18nLanguage++; |
1369 if (buildCounterI18nLanguage < 3) { | 1369 if (buildCounterI18nLanguage < 3) { |
1370 unittest.expect(o.etag, unittest.equals('foo')); | 1370 unittest.expect(o.etag, unittest.equals('foo')); |
1371 unittest.expect(o.id, unittest.equals('foo')); | 1371 unittest.expect(o.id, unittest.equals('foo')); |
1372 unittest.expect(o.kind, unittest.equals('foo')); | 1372 unittest.expect(o.kind, unittest.equals('foo')); |
1373 checkI18nLanguageSnippet(o.snippet); | 1373 checkI18nLanguageSnippet(o.snippet); |
1374 } | 1374 } |
1375 buildCounterI18nLanguage--; | 1375 buildCounterI18nLanguage--; |
1376 } | 1376 } |
1377 | 1377 |
1378 buildUnnamed1000() { | 1378 buildUnnamed350() { |
1379 var o = new core.List<api.I18nLanguage>(); | 1379 var o = new core.List<api.I18nLanguage>(); |
1380 o.add(buildI18nLanguage()); | 1380 o.add(buildI18nLanguage()); |
1381 o.add(buildI18nLanguage()); | 1381 o.add(buildI18nLanguage()); |
1382 return o; | 1382 return o; |
1383 } | 1383 } |
1384 | 1384 |
1385 checkUnnamed1000(core.List<api.I18nLanguage> o) { | 1385 checkUnnamed350(core.List<api.I18nLanguage> o) { |
1386 unittest.expect(o, unittest.hasLength(2)); | 1386 unittest.expect(o, unittest.hasLength(2)); |
1387 checkI18nLanguage(o[0]); | 1387 checkI18nLanguage(o[0]); |
1388 checkI18nLanguage(o[1]); | 1388 checkI18nLanguage(o[1]); |
1389 } | 1389 } |
1390 | 1390 |
1391 core.int buildCounterI18nLanguageListResponse = 0; | 1391 core.int buildCounterI18nLanguageListResponse = 0; |
1392 buildI18nLanguageListResponse() { | 1392 buildI18nLanguageListResponse() { |
1393 var o = new api.I18nLanguageListResponse(); | 1393 var o = new api.I18nLanguageListResponse(); |
1394 buildCounterI18nLanguageListResponse++; | 1394 buildCounterI18nLanguageListResponse++; |
1395 if (buildCounterI18nLanguageListResponse < 3) { | 1395 if (buildCounterI18nLanguageListResponse < 3) { |
1396 o.etag = "foo"; | 1396 o.etag = "foo"; |
1397 o.eventId = "foo"; | 1397 o.eventId = "foo"; |
1398 o.items = buildUnnamed1000(); | 1398 o.items = buildUnnamed350(); |
1399 o.kind = "foo"; | 1399 o.kind = "foo"; |
1400 o.visitorId = "foo"; | 1400 o.visitorId = "foo"; |
1401 } | 1401 } |
1402 buildCounterI18nLanguageListResponse--; | 1402 buildCounterI18nLanguageListResponse--; |
1403 return o; | 1403 return o; |
1404 } | 1404 } |
1405 | 1405 |
1406 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1406 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
1407 buildCounterI18nLanguageListResponse++; | 1407 buildCounterI18nLanguageListResponse++; |
1408 if (buildCounterI18nLanguageListResponse < 3) { | 1408 if (buildCounterI18nLanguageListResponse < 3) { |
1409 unittest.expect(o.etag, unittest.equals('foo')); | 1409 unittest.expect(o.etag, unittest.equals('foo')); |
1410 unittest.expect(o.eventId, unittest.equals('foo')); | 1410 unittest.expect(o.eventId, unittest.equals('foo')); |
1411 checkUnnamed1000(o.items); | 1411 checkUnnamed350(o.items); |
1412 unittest.expect(o.kind, unittest.equals('foo')); | 1412 unittest.expect(o.kind, unittest.equals('foo')); |
1413 unittest.expect(o.visitorId, unittest.equals('foo')); | 1413 unittest.expect(o.visitorId, unittest.equals('foo')); |
1414 } | 1414 } |
1415 buildCounterI18nLanguageListResponse--; | 1415 buildCounterI18nLanguageListResponse--; |
1416 } | 1416 } |
1417 | 1417 |
1418 core.int buildCounterI18nLanguageSnippet = 0; | 1418 core.int buildCounterI18nLanguageSnippet = 0; |
1419 buildI18nLanguageSnippet() { | 1419 buildI18nLanguageSnippet() { |
1420 var o = new api.I18nLanguageSnippet(); | 1420 var o = new api.I18nLanguageSnippet(); |
1421 buildCounterI18nLanguageSnippet++; | 1421 buildCounterI18nLanguageSnippet++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 buildCounterI18nRegion++; | 1454 buildCounterI18nRegion++; |
1455 if (buildCounterI18nRegion < 3) { | 1455 if (buildCounterI18nRegion < 3) { |
1456 unittest.expect(o.etag, unittest.equals('foo')); | 1456 unittest.expect(o.etag, unittest.equals('foo')); |
1457 unittest.expect(o.id, unittest.equals('foo')); | 1457 unittest.expect(o.id, unittest.equals('foo')); |
1458 unittest.expect(o.kind, unittest.equals('foo')); | 1458 unittest.expect(o.kind, unittest.equals('foo')); |
1459 checkI18nRegionSnippet(o.snippet); | 1459 checkI18nRegionSnippet(o.snippet); |
1460 } | 1460 } |
1461 buildCounterI18nRegion--; | 1461 buildCounterI18nRegion--; |
1462 } | 1462 } |
1463 | 1463 |
1464 buildUnnamed1001() { | 1464 buildUnnamed351() { |
1465 var o = new core.List<api.I18nRegion>(); | 1465 var o = new core.List<api.I18nRegion>(); |
1466 o.add(buildI18nRegion()); | 1466 o.add(buildI18nRegion()); |
1467 o.add(buildI18nRegion()); | 1467 o.add(buildI18nRegion()); |
1468 return o; | 1468 return o; |
1469 } | 1469 } |
1470 | 1470 |
1471 checkUnnamed1001(core.List<api.I18nRegion> o) { | 1471 checkUnnamed351(core.List<api.I18nRegion> o) { |
1472 unittest.expect(o, unittest.hasLength(2)); | 1472 unittest.expect(o, unittest.hasLength(2)); |
1473 checkI18nRegion(o[0]); | 1473 checkI18nRegion(o[0]); |
1474 checkI18nRegion(o[1]); | 1474 checkI18nRegion(o[1]); |
1475 } | 1475 } |
1476 | 1476 |
1477 core.int buildCounterI18nRegionListResponse = 0; | 1477 core.int buildCounterI18nRegionListResponse = 0; |
1478 buildI18nRegionListResponse() { | 1478 buildI18nRegionListResponse() { |
1479 var o = new api.I18nRegionListResponse(); | 1479 var o = new api.I18nRegionListResponse(); |
1480 buildCounterI18nRegionListResponse++; | 1480 buildCounterI18nRegionListResponse++; |
1481 if (buildCounterI18nRegionListResponse < 3) { | 1481 if (buildCounterI18nRegionListResponse < 3) { |
1482 o.etag = "foo"; | 1482 o.etag = "foo"; |
1483 o.eventId = "foo"; | 1483 o.eventId = "foo"; |
1484 o.items = buildUnnamed1001(); | 1484 o.items = buildUnnamed351(); |
1485 o.kind = "foo"; | 1485 o.kind = "foo"; |
1486 o.visitorId = "foo"; | 1486 o.visitorId = "foo"; |
1487 } | 1487 } |
1488 buildCounterI18nRegionListResponse--; | 1488 buildCounterI18nRegionListResponse--; |
1489 return o; | 1489 return o; |
1490 } | 1490 } |
1491 | 1491 |
1492 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 1492 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
1493 buildCounterI18nRegionListResponse++; | 1493 buildCounterI18nRegionListResponse++; |
1494 if (buildCounterI18nRegionListResponse < 3) { | 1494 if (buildCounterI18nRegionListResponse < 3) { |
1495 unittest.expect(o.etag, unittest.equals('foo')); | 1495 unittest.expect(o.etag, unittest.equals('foo')); |
1496 unittest.expect(o.eventId, unittest.equals('foo')); | 1496 unittest.expect(o.eventId, unittest.equals('foo')); |
1497 checkUnnamed1001(o.items); | 1497 checkUnnamed351(o.items); |
1498 unittest.expect(o.kind, unittest.equals('foo')); | 1498 unittest.expect(o.kind, unittest.equals('foo')); |
1499 unittest.expect(o.visitorId, unittest.equals('foo')); | 1499 unittest.expect(o.visitorId, unittest.equals('foo')); |
1500 } | 1500 } |
1501 buildCounterI18nRegionListResponse--; | 1501 buildCounterI18nRegionListResponse--; |
1502 } | 1502 } |
1503 | 1503 |
1504 core.int buildCounterI18nRegionSnippet = 0; | 1504 core.int buildCounterI18nRegionSnippet = 0; |
1505 buildI18nRegionSnippet() { | 1505 buildI18nRegionSnippet() { |
1506 var o = new api.I18nRegionSnippet(); | 1506 var o = new api.I18nRegionSnippet(); |
1507 buildCounterI18nRegionSnippet++; | 1507 buildCounterI18nRegionSnippet++; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1647 | 1647 |
1648 checkInvideoPosition(api.InvideoPosition o) { | 1648 checkInvideoPosition(api.InvideoPosition o) { |
1649 buildCounterInvideoPosition++; | 1649 buildCounterInvideoPosition++; |
1650 if (buildCounterInvideoPosition < 3) { | 1650 if (buildCounterInvideoPosition < 3) { |
1651 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 1651 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
1652 unittest.expect(o.type, unittest.equals('foo')); | 1652 unittest.expect(o.type, unittest.equals('foo')); |
1653 } | 1653 } |
1654 buildCounterInvideoPosition--; | 1654 buildCounterInvideoPosition--; |
1655 } | 1655 } |
1656 | 1656 |
1657 buildUnnamed1002() { | 1657 buildUnnamed352() { |
1658 var o = new core.List<api.PromotedItem>(); | 1658 var o = new core.List<api.PromotedItem>(); |
1659 o.add(buildPromotedItem()); | 1659 o.add(buildPromotedItem()); |
1660 o.add(buildPromotedItem()); | 1660 o.add(buildPromotedItem()); |
1661 return o; | 1661 return o; |
1662 } | 1662 } |
1663 | 1663 |
1664 checkUnnamed1002(core.List<api.PromotedItem> o) { | 1664 checkUnnamed352(core.List<api.PromotedItem> o) { |
1665 unittest.expect(o, unittest.hasLength(2)); | 1665 unittest.expect(o, unittest.hasLength(2)); |
1666 checkPromotedItem(o[0]); | 1666 checkPromotedItem(o[0]); |
1667 checkPromotedItem(o[1]); | 1667 checkPromotedItem(o[1]); |
1668 } | 1668 } |
1669 | 1669 |
1670 core.int buildCounterInvideoPromotion = 0; | 1670 core.int buildCounterInvideoPromotion = 0; |
1671 buildInvideoPromotion() { | 1671 buildInvideoPromotion() { |
1672 var o = new api.InvideoPromotion(); | 1672 var o = new api.InvideoPromotion(); |
1673 buildCounterInvideoPromotion++; | 1673 buildCounterInvideoPromotion++; |
1674 if (buildCounterInvideoPromotion < 3) { | 1674 if (buildCounterInvideoPromotion < 3) { |
1675 o.defaultTiming = buildInvideoTiming(); | 1675 o.defaultTiming = buildInvideoTiming(); |
1676 o.items = buildUnnamed1002(); | 1676 o.items = buildUnnamed352(); |
1677 o.position = buildInvideoPosition(); | 1677 o.position = buildInvideoPosition(); |
1678 o.useSmartTiming = true; | 1678 o.useSmartTiming = true; |
1679 } | 1679 } |
1680 buildCounterInvideoPromotion--; | 1680 buildCounterInvideoPromotion--; |
1681 return o; | 1681 return o; |
1682 } | 1682 } |
1683 | 1683 |
1684 checkInvideoPromotion(api.InvideoPromotion o) { | 1684 checkInvideoPromotion(api.InvideoPromotion o) { |
1685 buildCounterInvideoPromotion++; | 1685 buildCounterInvideoPromotion++; |
1686 if (buildCounterInvideoPromotion < 3) { | 1686 if (buildCounterInvideoPromotion < 3) { |
1687 checkInvideoTiming(o.defaultTiming); | 1687 checkInvideoTiming(o.defaultTiming); |
1688 checkUnnamed1002(o.items); | 1688 checkUnnamed352(o.items); |
1689 checkInvideoPosition(o.position); | 1689 checkInvideoPosition(o.position); |
1690 unittest.expect(o.useSmartTiming, unittest.isTrue); | 1690 unittest.expect(o.useSmartTiming, unittest.isTrue); |
1691 } | 1691 } |
1692 buildCounterInvideoPromotion--; | 1692 buildCounterInvideoPromotion--; |
1693 } | 1693 } |
1694 | 1694 |
1695 core.int buildCounterInvideoTiming = 0; | 1695 core.int buildCounterInvideoTiming = 0; |
1696 buildInvideoTiming() { | 1696 buildInvideoTiming() { |
1697 var o = new api.InvideoTiming(); | 1697 var o = new api.InvideoTiming(); |
1698 buildCounterInvideoTiming++; | 1698 buildCounterInvideoTiming++; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1770 unittest.expect(o.enableContentEncryption, unittest.isTrue); | 1770 unittest.expect(o.enableContentEncryption, unittest.isTrue); |
1771 unittest.expect(o.enableDvr, unittest.isTrue); | 1771 unittest.expect(o.enableDvr, unittest.isTrue); |
1772 unittest.expect(o.enableEmbed, unittest.isTrue); | 1772 unittest.expect(o.enableEmbed, unittest.isTrue); |
1773 checkMonitorStreamInfo(o.monitorStream); | 1773 checkMonitorStreamInfo(o.monitorStream); |
1774 unittest.expect(o.recordFromStart, unittest.isTrue); | 1774 unittest.expect(o.recordFromStart, unittest.isTrue); |
1775 unittest.expect(o.startWithSlate, unittest.isTrue); | 1775 unittest.expect(o.startWithSlate, unittest.isTrue); |
1776 } | 1776 } |
1777 buildCounterLiveBroadcastContentDetails--; | 1777 buildCounterLiveBroadcastContentDetails--; |
1778 } | 1778 } |
1779 | 1779 |
1780 buildUnnamed1003() { | 1780 buildUnnamed353() { |
1781 var o = new core.List<api.LiveBroadcast>(); | 1781 var o = new core.List<api.LiveBroadcast>(); |
1782 o.add(buildLiveBroadcast()); | 1782 o.add(buildLiveBroadcast()); |
1783 o.add(buildLiveBroadcast()); | 1783 o.add(buildLiveBroadcast()); |
1784 return o; | 1784 return o; |
1785 } | 1785 } |
1786 | 1786 |
1787 checkUnnamed1003(core.List<api.LiveBroadcast> o) { | 1787 checkUnnamed353(core.List<api.LiveBroadcast> o) { |
1788 unittest.expect(o, unittest.hasLength(2)); | 1788 unittest.expect(o, unittest.hasLength(2)); |
1789 checkLiveBroadcast(o[0]); | 1789 checkLiveBroadcast(o[0]); |
1790 checkLiveBroadcast(o[1]); | 1790 checkLiveBroadcast(o[1]); |
1791 } | 1791 } |
1792 | 1792 |
1793 core.int buildCounterLiveBroadcastListResponse = 0; | 1793 core.int buildCounterLiveBroadcastListResponse = 0; |
1794 buildLiveBroadcastListResponse() { | 1794 buildLiveBroadcastListResponse() { |
1795 var o = new api.LiveBroadcastListResponse(); | 1795 var o = new api.LiveBroadcastListResponse(); |
1796 buildCounterLiveBroadcastListResponse++; | 1796 buildCounterLiveBroadcastListResponse++; |
1797 if (buildCounterLiveBroadcastListResponse < 3) { | 1797 if (buildCounterLiveBroadcastListResponse < 3) { |
1798 o.etag = "foo"; | 1798 o.etag = "foo"; |
1799 o.eventId = "foo"; | 1799 o.eventId = "foo"; |
1800 o.items = buildUnnamed1003(); | 1800 o.items = buildUnnamed353(); |
1801 o.kind = "foo"; | 1801 o.kind = "foo"; |
1802 o.nextPageToken = "foo"; | 1802 o.nextPageToken = "foo"; |
1803 o.pageInfo = buildPageInfo(); | 1803 o.pageInfo = buildPageInfo(); |
1804 o.prevPageToken = "foo"; | 1804 o.prevPageToken = "foo"; |
1805 o.tokenPagination = buildTokenPagination(); | 1805 o.tokenPagination = buildTokenPagination(); |
1806 o.visitorId = "foo"; | 1806 o.visitorId = "foo"; |
1807 } | 1807 } |
1808 buildCounterLiveBroadcastListResponse--; | 1808 buildCounterLiveBroadcastListResponse--; |
1809 return o; | 1809 return o; |
1810 } | 1810 } |
1811 | 1811 |
1812 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 1812 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
1813 buildCounterLiveBroadcastListResponse++; | 1813 buildCounterLiveBroadcastListResponse++; |
1814 if (buildCounterLiveBroadcastListResponse < 3) { | 1814 if (buildCounterLiveBroadcastListResponse < 3) { |
1815 unittest.expect(o.etag, unittest.equals('foo')); | 1815 unittest.expect(o.etag, unittest.equals('foo')); |
1816 unittest.expect(o.eventId, unittest.equals('foo')); | 1816 unittest.expect(o.eventId, unittest.equals('foo')); |
1817 checkUnnamed1003(o.items); | 1817 checkUnnamed353(o.items); |
1818 unittest.expect(o.kind, unittest.equals('foo')); | 1818 unittest.expect(o.kind, unittest.equals('foo')); |
1819 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1819 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1820 checkPageInfo(o.pageInfo); | 1820 checkPageInfo(o.pageInfo); |
1821 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1821 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1822 checkTokenPagination(o.tokenPagination); | 1822 checkTokenPagination(o.tokenPagination); |
1823 unittest.expect(o.visitorId, unittest.equals('foo')); | 1823 unittest.expect(o.visitorId, unittest.equals('foo')); |
1824 } | 1824 } |
1825 buildCounterLiveBroadcastListResponse--; | 1825 buildCounterLiveBroadcastListResponse--; |
1826 } | 1826 } |
1827 | 1827 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1930 | 1930 |
1931 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 1931 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
1932 buildCounterLiveStreamContentDetails++; | 1932 buildCounterLiveStreamContentDetails++; |
1933 if (buildCounterLiveStreamContentDetails < 3) { | 1933 if (buildCounterLiveStreamContentDetails < 3) { |
1934 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 1934 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
1935 unittest.expect(o.isReusable, unittest.isTrue); | 1935 unittest.expect(o.isReusable, unittest.isTrue); |
1936 } | 1936 } |
1937 buildCounterLiveStreamContentDetails--; | 1937 buildCounterLiveStreamContentDetails--; |
1938 } | 1938 } |
1939 | 1939 |
1940 buildUnnamed1004() { | 1940 buildUnnamed354() { |
1941 var o = new core.List<api.LiveStream>(); | 1941 var o = new core.List<api.LiveStream>(); |
1942 o.add(buildLiveStream()); | 1942 o.add(buildLiveStream()); |
1943 o.add(buildLiveStream()); | 1943 o.add(buildLiveStream()); |
1944 return o; | 1944 return o; |
1945 } | 1945 } |
1946 | 1946 |
1947 checkUnnamed1004(core.List<api.LiveStream> o) { | 1947 checkUnnamed354(core.List<api.LiveStream> o) { |
1948 unittest.expect(o, unittest.hasLength(2)); | 1948 unittest.expect(o, unittest.hasLength(2)); |
1949 checkLiveStream(o[0]); | 1949 checkLiveStream(o[0]); |
1950 checkLiveStream(o[1]); | 1950 checkLiveStream(o[1]); |
1951 } | 1951 } |
1952 | 1952 |
1953 core.int buildCounterLiveStreamListResponse = 0; | 1953 core.int buildCounterLiveStreamListResponse = 0; |
1954 buildLiveStreamListResponse() { | 1954 buildLiveStreamListResponse() { |
1955 var o = new api.LiveStreamListResponse(); | 1955 var o = new api.LiveStreamListResponse(); |
1956 buildCounterLiveStreamListResponse++; | 1956 buildCounterLiveStreamListResponse++; |
1957 if (buildCounterLiveStreamListResponse < 3) { | 1957 if (buildCounterLiveStreamListResponse < 3) { |
1958 o.etag = "foo"; | 1958 o.etag = "foo"; |
1959 o.eventId = "foo"; | 1959 o.eventId = "foo"; |
1960 o.items = buildUnnamed1004(); | 1960 o.items = buildUnnamed354(); |
1961 o.kind = "foo"; | 1961 o.kind = "foo"; |
1962 o.nextPageToken = "foo"; | 1962 o.nextPageToken = "foo"; |
1963 o.pageInfo = buildPageInfo(); | 1963 o.pageInfo = buildPageInfo(); |
1964 o.prevPageToken = "foo"; | 1964 o.prevPageToken = "foo"; |
1965 o.tokenPagination = buildTokenPagination(); | 1965 o.tokenPagination = buildTokenPagination(); |
1966 o.visitorId = "foo"; | 1966 o.visitorId = "foo"; |
1967 } | 1967 } |
1968 buildCounterLiveStreamListResponse--; | 1968 buildCounterLiveStreamListResponse--; |
1969 return o; | 1969 return o; |
1970 } | 1970 } |
1971 | 1971 |
1972 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 1972 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
1973 buildCounterLiveStreamListResponse++; | 1973 buildCounterLiveStreamListResponse++; |
1974 if (buildCounterLiveStreamListResponse < 3) { | 1974 if (buildCounterLiveStreamListResponse < 3) { |
1975 unittest.expect(o.etag, unittest.equals('foo')); | 1975 unittest.expect(o.etag, unittest.equals('foo')); |
1976 unittest.expect(o.eventId, unittest.equals('foo')); | 1976 unittest.expect(o.eventId, unittest.equals('foo')); |
1977 checkUnnamed1004(o.items); | 1977 checkUnnamed354(o.items); |
1978 unittest.expect(o.kind, unittest.equals('foo')); | 1978 unittest.expect(o.kind, unittest.equals('foo')); |
1979 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1979 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1980 checkPageInfo(o.pageInfo); | 1980 checkPageInfo(o.pageInfo); |
1981 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1981 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
1982 checkTokenPagination(o.tokenPagination); | 1982 checkTokenPagination(o.tokenPagination); |
1983 unittest.expect(o.visitorId, unittest.equals('foo')); | 1983 unittest.expect(o.visitorId, unittest.equals('foo')); |
1984 } | 1984 } |
1985 buildCounterLiveStreamListResponse--; | 1985 buildCounterLiveStreamListResponse--; |
1986 } | 1986 } |
1987 | 1987 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2022 } | 2022 } |
2023 | 2023 |
2024 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2024 checkLiveStreamStatus(api.LiveStreamStatus o) { |
2025 buildCounterLiveStreamStatus++; | 2025 buildCounterLiveStreamStatus++; |
2026 if (buildCounterLiveStreamStatus < 3) { | 2026 if (buildCounterLiveStreamStatus < 3) { |
2027 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2027 unittest.expect(o.streamStatus, unittest.equals('foo')); |
2028 } | 2028 } |
2029 buildCounterLiveStreamStatus--; | 2029 buildCounterLiveStreamStatus--; |
2030 } | 2030 } |
2031 | 2031 |
2032 buildUnnamed1005() { | 2032 buildUnnamed355() { |
2033 var o = new core.List<api.LocalizedString>(); | 2033 var o = new core.List<api.LocalizedString>(); |
2034 o.add(buildLocalizedString()); | 2034 o.add(buildLocalizedString()); |
2035 o.add(buildLocalizedString()); | 2035 o.add(buildLocalizedString()); |
2036 return o; | 2036 return o; |
2037 } | 2037 } |
2038 | 2038 |
2039 checkUnnamed1005(core.List<api.LocalizedString> o) { | 2039 checkUnnamed355(core.List<api.LocalizedString> o) { |
2040 unittest.expect(o, unittest.hasLength(2)); | 2040 unittest.expect(o, unittest.hasLength(2)); |
2041 checkLocalizedString(o[0]); | 2041 checkLocalizedString(o[0]); |
2042 checkLocalizedString(o[1]); | 2042 checkLocalizedString(o[1]); |
2043 } | 2043 } |
2044 | 2044 |
2045 core.int buildCounterLocalizedProperty = 0; | 2045 core.int buildCounterLocalizedProperty = 0; |
2046 buildLocalizedProperty() { | 2046 buildLocalizedProperty() { |
2047 var o = new api.LocalizedProperty(); | 2047 var o = new api.LocalizedProperty(); |
2048 buildCounterLocalizedProperty++; | 2048 buildCounterLocalizedProperty++; |
2049 if (buildCounterLocalizedProperty < 3) { | 2049 if (buildCounterLocalizedProperty < 3) { |
2050 o.default_ = "foo"; | 2050 o.default_ = "foo"; |
2051 o.localized = buildUnnamed1005(); | 2051 o.localized = buildUnnamed355(); |
2052 } | 2052 } |
2053 buildCounterLocalizedProperty--; | 2053 buildCounterLocalizedProperty--; |
2054 return o; | 2054 return o; |
2055 } | 2055 } |
2056 | 2056 |
2057 checkLocalizedProperty(api.LocalizedProperty o) { | 2057 checkLocalizedProperty(api.LocalizedProperty o) { |
2058 buildCounterLocalizedProperty++; | 2058 buildCounterLocalizedProperty++; |
2059 if (buildCounterLocalizedProperty < 3) { | 2059 if (buildCounterLocalizedProperty < 3) { |
2060 unittest.expect(o.default_, unittest.equals('foo')); | 2060 unittest.expect(o.default_, unittest.equals('foo')); |
2061 checkUnnamed1005(o.localized); | 2061 checkUnnamed355(o.localized); |
2062 } | 2062 } |
2063 buildCounterLocalizedProperty--; | 2063 buildCounterLocalizedProperty--; |
2064 } | 2064 } |
2065 | 2065 |
2066 core.int buildCounterLocalizedString = 0; | 2066 core.int buildCounterLocalizedString = 0; |
2067 buildLocalizedString() { | 2067 buildLocalizedString() { |
2068 var o = new api.LocalizedString(); | 2068 var o = new api.LocalizedString(); |
2069 buildCounterLocalizedString++; | 2069 buildCounterLocalizedString++; |
2070 if (buildCounterLocalizedString < 3) { | 2070 if (buildCounterLocalizedString < 3) { |
2071 o.language = "foo"; | 2071 o.language = "foo"; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 buildCounterPlaylistItemContentDetails++; | 2225 buildCounterPlaylistItemContentDetails++; |
2226 if (buildCounterPlaylistItemContentDetails < 3) { | 2226 if (buildCounterPlaylistItemContentDetails < 3) { |
2227 unittest.expect(o.endAt, unittest.equals('foo')); | 2227 unittest.expect(o.endAt, unittest.equals('foo')); |
2228 unittest.expect(o.note, unittest.equals('foo')); | 2228 unittest.expect(o.note, unittest.equals('foo')); |
2229 unittest.expect(o.startAt, unittest.equals('foo')); | 2229 unittest.expect(o.startAt, unittest.equals('foo')); |
2230 unittest.expect(o.videoId, unittest.equals('foo')); | 2230 unittest.expect(o.videoId, unittest.equals('foo')); |
2231 } | 2231 } |
2232 buildCounterPlaylistItemContentDetails--; | 2232 buildCounterPlaylistItemContentDetails--; |
2233 } | 2233 } |
2234 | 2234 |
2235 buildUnnamed1006() { | 2235 buildUnnamed356() { |
2236 var o = new core.List<api.PlaylistItem>(); | 2236 var o = new core.List<api.PlaylistItem>(); |
2237 o.add(buildPlaylistItem()); | 2237 o.add(buildPlaylistItem()); |
2238 o.add(buildPlaylistItem()); | 2238 o.add(buildPlaylistItem()); |
2239 return o; | 2239 return o; |
2240 } | 2240 } |
2241 | 2241 |
2242 checkUnnamed1006(core.List<api.PlaylistItem> o) { | 2242 checkUnnamed356(core.List<api.PlaylistItem> o) { |
2243 unittest.expect(o, unittest.hasLength(2)); | 2243 unittest.expect(o, unittest.hasLength(2)); |
2244 checkPlaylistItem(o[0]); | 2244 checkPlaylistItem(o[0]); |
2245 checkPlaylistItem(o[1]); | 2245 checkPlaylistItem(o[1]); |
2246 } | 2246 } |
2247 | 2247 |
2248 core.int buildCounterPlaylistItemListResponse = 0; | 2248 core.int buildCounterPlaylistItemListResponse = 0; |
2249 buildPlaylistItemListResponse() { | 2249 buildPlaylistItemListResponse() { |
2250 var o = new api.PlaylistItemListResponse(); | 2250 var o = new api.PlaylistItemListResponse(); |
2251 buildCounterPlaylistItemListResponse++; | 2251 buildCounterPlaylistItemListResponse++; |
2252 if (buildCounterPlaylistItemListResponse < 3) { | 2252 if (buildCounterPlaylistItemListResponse < 3) { |
2253 o.etag = "foo"; | 2253 o.etag = "foo"; |
2254 o.eventId = "foo"; | 2254 o.eventId = "foo"; |
2255 o.items = buildUnnamed1006(); | 2255 o.items = buildUnnamed356(); |
2256 o.kind = "foo"; | 2256 o.kind = "foo"; |
2257 o.nextPageToken = "foo"; | 2257 o.nextPageToken = "foo"; |
2258 o.pageInfo = buildPageInfo(); | 2258 o.pageInfo = buildPageInfo(); |
2259 o.prevPageToken = "foo"; | 2259 o.prevPageToken = "foo"; |
2260 o.tokenPagination = buildTokenPagination(); | 2260 o.tokenPagination = buildTokenPagination(); |
2261 o.visitorId = "foo"; | 2261 o.visitorId = "foo"; |
2262 } | 2262 } |
2263 buildCounterPlaylistItemListResponse--; | 2263 buildCounterPlaylistItemListResponse--; |
2264 return o; | 2264 return o; |
2265 } | 2265 } |
2266 | 2266 |
2267 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 2267 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
2268 buildCounterPlaylistItemListResponse++; | 2268 buildCounterPlaylistItemListResponse++; |
2269 if (buildCounterPlaylistItemListResponse < 3) { | 2269 if (buildCounterPlaylistItemListResponse < 3) { |
2270 unittest.expect(o.etag, unittest.equals('foo')); | 2270 unittest.expect(o.etag, unittest.equals('foo')); |
2271 unittest.expect(o.eventId, unittest.equals('foo')); | 2271 unittest.expect(o.eventId, unittest.equals('foo')); |
2272 checkUnnamed1006(o.items); | 2272 checkUnnamed356(o.items); |
2273 unittest.expect(o.kind, unittest.equals('foo')); | 2273 unittest.expect(o.kind, unittest.equals('foo')); |
2274 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2274 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2275 checkPageInfo(o.pageInfo); | 2275 checkPageInfo(o.pageInfo); |
2276 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2276 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2277 checkTokenPagination(o.tokenPagination); | 2277 checkTokenPagination(o.tokenPagination); |
2278 unittest.expect(o.visitorId, unittest.equals('foo')); | 2278 unittest.expect(o.visitorId, unittest.equals('foo')); |
2279 } | 2279 } |
2280 buildCounterPlaylistItemListResponse--; | 2280 buildCounterPlaylistItemListResponse--; |
2281 } | 2281 } |
2282 | 2282 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2327 } | 2327 } |
2328 | 2328 |
2329 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 2329 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
2330 buildCounterPlaylistItemStatus++; | 2330 buildCounterPlaylistItemStatus++; |
2331 if (buildCounterPlaylistItemStatus < 3) { | 2331 if (buildCounterPlaylistItemStatus < 3) { |
2332 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 2332 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
2333 } | 2333 } |
2334 buildCounterPlaylistItemStatus--; | 2334 buildCounterPlaylistItemStatus--; |
2335 } | 2335 } |
2336 | 2336 |
2337 buildUnnamed1007() { | 2337 buildUnnamed357() { |
2338 var o = new core.List<api.Playlist>(); | 2338 var o = new core.List<api.Playlist>(); |
2339 o.add(buildPlaylist()); | 2339 o.add(buildPlaylist()); |
2340 o.add(buildPlaylist()); | 2340 o.add(buildPlaylist()); |
2341 return o; | 2341 return o; |
2342 } | 2342 } |
2343 | 2343 |
2344 checkUnnamed1007(core.List<api.Playlist> o) { | 2344 checkUnnamed357(core.List<api.Playlist> o) { |
2345 unittest.expect(o, unittest.hasLength(2)); | 2345 unittest.expect(o, unittest.hasLength(2)); |
2346 checkPlaylist(o[0]); | 2346 checkPlaylist(o[0]); |
2347 checkPlaylist(o[1]); | 2347 checkPlaylist(o[1]); |
2348 } | 2348 } |
2349 | 2349 |
2350 core.int buildCounterPlaylistListResponse = 0; | 2350 core.int buildCounterPlaylistListResponse = 0; |
2351 buildPlaylistListResponse() { | 2351 buildPlaylistListResponse() { |
2352 var o = new api.PlaylistListResponse(); | 2352 var o = new api.PlaylistListResponse(); |
2353 buildCounterPlaylistListResponse++; | 2353 buildCounterPlaylistListResponse++; |
2354 if (buildCounterPlaylistListResponse < 3) { | 2354 if (buildCounterPlaylistListResponse < 3) { |
2355 o.etag = "foo"; | 2355 o.etag = "foo"; |
2356 o.eventId = "foo"; | 2356 o.eventId = "foo"; |
2357 o.items = buildUnnamed1007(); | 2357 o.items = buildUnnamed357(); |
2358 o.kind = "foo"; | 2358 o.kind = "foo"; |
2359 o.nextPageToken = "foo"; | 2359 o.nextPageToken = "foo"; |
2360 o.pageInfo = buildPageInfo(); | 2360 o.pageInfo = buildPageInfo(); |
2361 o.prevPageToken = "foo"; | 2361 o.prevPageToken = "foo"; |
2362 o.tokenPagination = buildTokenPagination(); | 2362 o.tokenPagination = buildTokenPagination(); |
2363 o.visitorId = "foo"; | 2363 o.visitorId = "foo"; |
2364 } | 2364 } |
2365 buildCounterPlaylistListResponse--; | 2365 buildCounterPlaylistListResponse--; |
2366 return o; | 2366 return o; |
2367 } | 2367 } |
2368 | 2368 |
2369 checkPlaylistListResponse(api.PlaylistListResponse o) { | 2369 checkPlaylistListResponse(api.PlaylistListResponse o) { |
2370 buildCounterPlaylistListResponse++; | 2370 buildCounterPlaylistListResponse++; |
2371 if (buildCounterPlaylistListResponse < 3) { | 2371 if (buildCounterPlaylistListResponse < 3) { |
2372 unittest.expect(o.etag, unittest.equals('foo')); | 2372 unittest.expect(o.etag, unittest.equals('foo')); |
2373 unittest.expect(o.eventId, unittest.equals('foo')); | 2373 unittest.expect(o.eventId, unittest.equals('foo')); |
2374 checkUnnamed1007(o.items); | 2374 checkUnnamed357(o.items); |
2375 unittest.expect(o.kind, unittest.equals('foo')); | 2375 unittest.expect(o.kind, unittest.equals('foo')); |
2376 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2376 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2377 checkPageInfo(o.pageInfo); | 2377 checkPageInfo(o.pageInfo); |
2378 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2378 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2379 checkTokenPagination(o.tokenPagination); | 2379 checkTokenPagination(o.tokenPagination); |
2380 unittest.expect(o.visitorId, unittest.equals('foo')); | 2380 unittest.expect(o.visitorId, unittest.equals('foo')); |
2381 } | 2381 } |
2382 buildCounterPlaylistListResponse--; | 2382 buildCounterPlaylistListResponse--; |
2383 } | 2383 } |
2384 | 2384 |
2385 core.int buildCounterPlaylistPlayer = 0; | 2385 core.int buildCounterPlaylistPlayer = 0; |
2386 buildPlaylistPlayer() { | 2386 buildPlaylistPlayer() { |
2387 var o = new api.PlaylistPlayer(); | 2387 var o = new api.PlaylistPlayer(); |
2388 buildCounterPlaylistPlayer++; | 2388 buildCounterPlaylistPlayer++; |
2389 if (buildCounterPlaylistPlayer < 3) { | 2389 if (buildCounterPlaylistPlayer < 3) { |
2390 o.embedHtml = "foo"; | 2390 o.embedHtml = "foo"; |
2391 } | 2391 } |
2392 buildCounterPlaylistPlayer--; | 2392 buildCounterPlaylistPlayer--; |
2393 return o; | 2393 return o; |
2394 } | 2394 } |
2395 | 2395 |
2396 checkPlaylistPlayer(api.PlaylistPlayer o) { | 2396 checkPlaylistPlayer(api.PlaylistPlayer o) { |
2397 buildCounterPlaylistPlayer++; | 2397 buildCounterPlaylistPlayer++; |
2398 if (buildCounterPlaylistPlayer < 3) { | 2398 if (buildCounterPlaylistPlayer < 3) { |
2399 unittest.expect(o.embedHtml, unittest.equals('foo')); | 2399 unittest.expect(o.embedHtml, unittest.equals('foo')); |
2400 } | 2400 } |
2401 buildCounterPlaylistPlayer--; | 2401 buildCounterPlaylistPlayer--; |
2402 } | 2402 } |
2403 | 2403 |
2404 buildUnnamed1008() { | 2404 buildUnnamed358() { |
2405 var o = new core.List<core.String>(); | 2405 var o = new core.List<core.String>(); |
2406 o.add("foo"); | 2406 o.add("foo"); |
2407 o.add("foo"); | 2407 o.add("foo"); |
2408 return o; | 2408 return o; |
2409 } | 2409 } |
2410 | 2410 |
2411 checkUnnamed1008(core.List<core.String> o) { | 2411 checkUnnamed358(core.List<core.String> o) { |
2412 unittest.expect(o, unittest.hasLength(2)); | 2412 unittest.expect(o, unittest.hasLength(2)); |
2413 unittest.expect(o[0], unittest.equals('foo')); | 2413 unittest.expect(o[0], unittest.equals('foo')); |
2414 unittest.expect(o[1], unittest.equals('foo')); | 2414 unittest.expect(o[1], unittest.equals('foo')); |
2415 } | 2415 } |
2416 | 2416 |
2417 core.int buildCounterPlaylistSnippet = 0; | 2417 core.int buildCounterPlaylistSnippet = 0; |
2418 buildPlaylistSnippet() { | 2418 buildPlaylistSnippet() { |
2419 var o = new api.PlaylistSnippet(); | 2419 var o = new api.PlaylistSnippet(); |
2420 buildCounterPlaylistSnippet++; | 2420 buildCounterPlaylistSnippet++; |
2421 if (buildCounterPlaylistSnippet < 3) { | 2421 if (buildCounterPlaylistSnippet < 3) { |
2422 o.channelId = "foo"; | 2422 o.channelId = "foo"; |
2423 o.channelTitle = "foo"; | 2423 o.channelTitle = "foo"; |
2424 o.description = "foo"; | 2424 o.description = "foo"; |
2425 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2425 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
2426 o.tags = buildUnnamed1008(); | 2426 o.tags = buildUnnamed358(); |
2427 o.thumbnails = buildThumbnailDetails(); | 2427 o.thumbnails = buildThumbnailDetails(); |
2428 o.title = "foo"; | 2428 o.title = "foo"; |
2429 } | 2429 } |
2430 buildCounterPlaylistSnippet--; | 2430 buildCounterPlaylistSnippet--; |
2431 return o; | 2431 return o; |
2432 } | 2432 } |
2433 | 2433 |
2434 checkPlaylistSnippet(api.PlaylistSnippet o) { | 2434 checkPlaylistSnippet(api.PlaylistSnippet o) { |
2435 buildCounterPlaylistSnippet++; | 2435 buildCounterPlaylistSnippet++; |
2436 if (buildCounterPlaylistSnippet < 3) { | 2436 if (buildCounterPlaylistSnippet < 3) { |
2437 unittest.expect(o.channelId, unittest.equals('foo')); | 2437 unittest.expect(o.channelId, unittest.equals('foo')); |
2438 unittest.expect(o.channelTitle, unittest.equals('foo')); | 2438 unittest.expect(o.channelTitle, unittest.equals('foo')); |
2439 unittest.expect(o.description, unittest.equals('foo')); | 2439 unittest.expect(o.description, unittest.equals('foo')); |
2440 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 2440 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
2441 checkUnnamed1008(o.tags); | 2441 checkUnnamed358(o.tags); |
2442 checkThumbnailDetails(o.thumbnails); | 2442 checkThumbnailDetails(o.thumbnails); |
2443 unittest.expect(o.title, unittest.equals('foo')); | 2443 unittest.expect(o.title, unittest.equals('foo')); |
2444 } | 2444 } |
2445 buildCounterPlaylistSnippet--; | 2445 buildCounterPlaylistSnippet--; |
2446 } | 2446 } |
2447 | 2447 |
2448 core.int buildCounterPlaylistStatus = 0; | 2448 core.int buildCounterPlaylistStatus = 0; |
2449 buildPlaylistStatus() { | 2449 buildPlaylistStatus() { |
2450 var o = new api.PlaylistStatus(); | 2450 var o = new api.PlaylistStatus(); |
2451 buildCounterPlaylistStatus++; | 2451 buildCounterPlaylistStatus++; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2553 buildCounterResourceId++; | 2553 buildCounterResourceId++; |
2554 if (buildCounterResourceId < 3) { | 2554 if (buildCounterResourceId < 3) { |
2555 unittest.expect(o.channelId, unittest.equals('foo')); | 2555 unittest.expect(o.channelId, unittest.equals('foo')); |
2556 unittest.expect(o.kind, unittest.equals('foo')); | 2556 unittest.expect(o.kind, unittest.equals('foo')); |
2557 unittest.expect(o.playlistId, unittest.equals('foo')); | 2557 unittest.expect(o.playlistId, unittest.equals('foo')); |
2558 unittest.expect(o.videoId, unittest.equals('foo')); | 2558 unittest.expect(o.videoId, unittest.equals('foo')); |
2559 } | 2559 } |
2560 buildCounterResourceId--; | 2560 buildCounterResourceId--; |
2561 } | 2561 } |
2562 | 2562 |
2563 buildUnnamed1009() { | 2563 buildUnnamed359() { |
2564 var o = new core.List<api.SearchResult>(); | 2564 var o = new core.List<api.SearchResult>(); |
2565 o.add(buildSearchResult()); | 2565 o.add(buildSearchResult()); |
2566 o.add(buildSearchResult()); | 2566 o.add(buildSearchResult()); |
2567 return o; | 2567 return o; |
2568 } | 2568 } |
2569 | 2569 |
2570 checkUnnamed1009(core.List<api.SearchResult> o) { | 2570 checkUnnamed359(core.List<api.SearchResult> o) { |
2571 unittest.expect(o, unittest.hasLength(2)); | 2571 unittest.expect(o, unittest.hasLength(2)); |
2572 checkSearchResult(o[0]); | 2572 checkSearchResult(o[0]); |
2573 checkSearchResult(o[1]); | 2573 checkSearchResult(o[1]); |
2574 } | 2574 } |
2575 | 2575 |
2576 core.int buildCounterSearchListResponse = 0; | 2576 core.int buildCounterSearchListResponse = 0; |
2577 buildSearchListResponse() { | 2577 buildSearchListResponse() { |
2578 var o = new api.SearchListResponse(); | 2578 var o = new api.SearchListResponse(); |
2579 buildCounterSearchListResponse++; | 2579 buildCounterSearchListResponse++; |
2580 if (buildCounterSearchListResponse < 3) { | 2580 if (buildCounterSearchListResponse < 3) { |
2581 o.etag = "foo"; | 2581 o.etag = "foo"; |
2582 o.eventId = "foo"; | 2582 o.eventId = "foo"; |
2583 o.items = buildUnnamed1009(); | 2583 o.items = buildUnnamed359(); |
2584 o.kind = "foo"; | 2584 o.kind = "foo"; |
2585 o.nextPageToken = "foo"; | 2585 o.nextPageToken = "foo"; |
2586 o.pageInfo = buildPageInfo(); | 2586 o.pageInfo = buildPageInfo(); |
2587 o.prevPageToken = "foo"; | 2587 o.prevPageToken = "foo"; |
2588 o.tokenPagination = buildTokenPagination(); | 2588 o.tokenPagination = buildTokenPagination(); |
2589 o.visitorId = "foo"; | 2589 o.visitorId = "foo"; |
2590 } | 2590 } |
2591 buildCounterSearchListResponse--; | 2591 buildCounterSearchListResponse--; |
2592 return o; | 2592 return o; |
2593 } | 2593 } |
2594 | 2594 |
2595 checkSearchListResponse(api.SearchListResponse o) { | 2595 checkSearchListResponse(api.SearchListResponse o) { |
2596 buildCounterSearchListResponse++; | 2596 buildCounterSearchListResponse++; |
2597 if (buildCounterSearchListResponse < 3) { | 2597 if (buildCounterSearchListResponse < 3) { |
2598 unittest.expect(o.etag, unittest.equals('foo')); | 2598 unittest.expect(o.etag, unittest.equals('foo')); |
2599 unittest.expect(o.eventId, unittest.equals('foo')); | 2599 unittest.expect(o.eventId, unittest.equals('foo')); |
2600 checkUnnamed1009(o.items); | 2600 checkUnnamed359(o.items); |
2601 unittest.expect(o.kind, unittest.equals('foo')); | 2601 unittest.expect(o.kind, unittest.equals('foo')); |
2602 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2602 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2603 checkPageInfo(o.pageInfo); | 2603 checkPageInfo(o.pageInfo); |
2604 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2604 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2605 checkTokenPagination(o.tokenPagination); | 2605 checkTokenPagination(o.tokenPagination); |
2606 unittest.expect(o.visitorId, unittest.equals('foo')); | 2606 unittest.expect(o.visitorId, unittest.equals('foo')); |
2607 } | 2607 } |
2608 buildCounterSearchListResponse--; | 2608 buildCounterSearchListResponse--; |
2609 } | 2609 } |
2610 | 2610 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2709 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 2709 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
2710 buildCounterSubscriptionContentDetails++; | 2710 buildCounterSubscriptionContentDetails++; |
2711 if (buildCounterSubscriptionContentDetails < 3) { | 2711 if (buildCounterSubscriptionContentDetails < 3) { |
2712 unittest.expect(o.activityType, unittest.equals('foo')); | 2712 unittest.expect(o.activityType, unittest.equals('foo')); |
2713 unittest.expect(o.newItemCount, unittest.equals(42)); | 2713 unittest.expect(o.newItemCount, unittest.equals(42)); |
2714 unittest.expect(o.totalItemCount, unittest.equals(42)); | 2714 unittest.expect(o.totalItemCount, unittest.equals(42)); |
2715 } | 2715 } |
2716 buildCounterSubscriptionContentDetails--; | 2716 buildCounterSubscriptionContentDetails--; |
2717 } | 2717 } |
2718 | 2718 |
2719 buildUnnamed1010() { | 2719 buildUnnamed360() { |
2720 var o = new core.List<api.Subscription>(); | 2720 var o = new core.List<api.Subscription>(); |
2721 o.add(buildSubscription()); | 2721 o.add(buildSubscription()); |
2722 o.add(buildSubscription()); | 2722 o.add(buildSubscription()); |
2723 return o; | 2723 return o; |
2724 } | 2724 } |
2725 | 2725 |
2726 checkUnnamed1010(core.List<api.Subscription> o) { | 2726 checkUnnamed360(core.List<api.Subscription> o) { |
2727 unittest.expect(o, unittest.hasLength(2)); | 2727 unittest.expect(o, unittest.hasLength(2)); |
2728 checkSubscription(o[0]); | 2728 checkSubscription(o[0]); |
2729 checkSubscription(o[1]); | 2729 checkSubscription(o[1]); |
2730 } | 2730 } |
2731 | 2731 |
2732 core.int buildCounterSubscriptionListResponse = 0; | 2732 core.int buildCounterSubscriptionListResponse = 0; |
2733 buildSubscriptionListResponse() { | 2733 buildSubscriptionListResponse() { |
2734 var o = new api.SubscriptionListResponse(); | 2734 var o = new api.SubscriptionListResponse(); |
2735 buildCounterSubscriptionListResponse++; | 2735 buildCounterSubscriptionListResponse++; |
2736 if (buildCounterSubscriptionListResponse < 3) { | 2736 if (buildCounterSubscriptionListResponse < 3) { |
2737 o.etag = "foo"; | 2737 o.etag = "foo"; |
2738 o.eventId = "foo"; | 2738 o.eventId = "foo"; |
2739 o.items = buildUnnamed1010(); | 2739 o.items = buildUnnamed360(); |
2740 o.kind = "foo"; | 2740 o.kind = "foo"; |
2741 o.nextPageToken = "foo"; | 2741 o.nextPageToken = "foo"; |
2742 o.pageInfo = buildPageInfo(); | 2742 o.pageInfo = buildPageInfo(); |
2743 o.prevPageToken = "foo"; | 2743 o.prevPageToken = "foo"; |
2744 o.tokenPagination = buildTokenPagination(); | 2744 o.tokenPagination = buildTokenPagination(); |
2745 o.visitorId = "foo"; | 2745 o.visitorId = "foo"; |
2746 } | 2746 } |
2747 buildCounterSubscriptionListResponse--; | 2747 buildCounterSubscriptionListResponse--; |
2748 return o; | 2748 return o; |
2749 } | 2749 } |
2750 | 2750 |
2751 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 2751 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
2752 buildCounterSubscriptionListResponse++; | 2752 buildCounterSubscriptionListResponse++; |
2753 if (buildCounterSubscriptionListResponse < 3) { | 2753 if (buildCounterSubscriptionListResponse < 3) { |
2754 unittest.expect(o.etag, unittest.equals('foo')); | 2754 unittest.expect(o.etag, unittest.equals('foo')); |
2755 unittest.expect(o.eventId, unittest.equals('foo')); | 2755 unittest.expect(o.eventId, unittest.equals('foo')); |
2756 checkUnnamed1010(o.items); | 2756 checkUnnamed360(o.items); |
2757 unittest.expect(o.kind, unittest.equals('foo')); | 2757 unittest.expect(o.kind, unittest.equals('foo')); |
2758 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2758 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2759 checkPageInfo(o.pageInfo); | 2759 checkPageInfo(o.pageInfo); |
2760 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2760 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
2761 checkTokenPagination(o.tokenPagination); | 2761 checkTokenPagination(o.tokenPagination); |
2762 unittest.expect(o.visitorId, unittest.equals('foo')); | 2762 unittest.expect(o.visitorId, unittest.equals('foo')); |
2763 } | 2763 } |
2764 buildCounterSubscriptionListResponse--; | 2764 buildCounterSubscriptionListResponse--; |
2765 } | 2765 } |
2766 | 2766 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2863 if (buildCounterThumbnailDetails < 3) { | 2863 if (buildCounterThumbnailDetails < 3) { |
2864 checkThumbnail(o.default_); | 2864 checkThumbnail(o.default_); |
2865 checkThumbnail(o.high); | 2865 checkThumbnail(o.high); |
2866 checkThumbnail(o.maxres); | 2866 checkThumbnail(o.maxres); |
2867 checkThumbnail(o.medium); | 2867 checkThumbnail(o.medium); |
2868 checkThumbnail(o.standard); | 2868 checkThumbnail(o.standard); |
2869 } | 2869 } |
2870 buildCounterThumbnailDetails--; | 2870 buildCounterThumbnailDetails--; |
2871 } | 2871 } |
2872 | 2872 |
2873 buildUnnamed1011() { | 2873 buildUnnamed361() { |
2874 var o = new core.List<api.ThumbnailDetails>(); | 2874 var o = new core.List<api.ThumbnailDetails>(); |
2875 o.add(buildThumbnailDetails()); | 2875 o.add(buildThumbnailDetails()); |
2876 o.add(buildThumbnailDetails()); | 2876 o.add(buildThumbnailDetails()); |
2877 return o; | 2877 return o; |
2878 } | 2878 } |
2879 | 2879 |
2880 checkUnnamed1011(core.List<api.ThumbnailDetails> o) { | 2880 checkUnnamed361(core.List<api.ThumbnailDetails> o) { |
2881 unittest.expect(o, unittest.hasLength(2)); | 2881 unittest.expect(o, unittest.hasLength(2)); |
2882 checkThumbnailDetails(o[0]); | 2882 checkThumbnailDetails(o[0]); |
2883 checkThumbnailDetails(o[1]); | 2883 checkThumbnailDetails(o[1]); |
2884 } | 2884 } |
2885 | 2885 |
2886 core.int buildCounterThumbnailSetResponse = 0; | 2886 core.int buildCounterThumbnailSetResponse = 0; |
2887 buildThumbnailSetResponse() { | 2887 buildThumbnailSetResponse() { |
2888 var o = new api.ThumbnailSetResponse(); | 2888 var o = new api.ThumbnailSetResponse(); |
2889 buildCounterThumbnailSetResponse++; | 2889 buildCounterThumbnailSetResponse++; |
2890 if (buildCounterThumbnailSetResponse < 3) { | 2890 if (buildCounterThumbnailSetResponse < 3) { |
2891 o.etag = "foo"; | 2891 o.etag = "foo"; |
2892 o.eventId = "foo"; | 2892 o.eventId = "foo"; |
2893 o.items = buildUnnamed1011(); | 2893 o.items = buildUnnamed361(); |
2894 o.kind = "foo"; | 2894 o.kind = "foo"; |
2895 o.visitorId = "foo"; | 2895 o.visitorId = "foo"; |
2896 } | 2896 } |
2897 buildCounterThumbnailSetResponse--; | 2897 buildCounterThumbnailSetResponse--; |
2898 return o; | 2898 return o; |
2899 } | 2899 } |
2900 | 2900 |
2901 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 2901 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
2902 buildCounterThumbnailSetResponse++; | 2902 buildCounterThumbnailSetResponse++; |
2903 if (buildCounterThumbnailSetResponse < 3) { | 2903 if (buildCounterThumbnailSetResponse < 3) { |
2904 unittest.expect(o.etag, unittest.equals('foo')); | 2904 unittest.expect(o.etag, unittest.equals('foo')); |
2905 unittest.expect(o.eventId, unittest.equals('foo')); | 2905 unittest.expect(o.eventId, unittest.equals('foo')); |
2906 checkUnnamed1011(o.items); | 2906 checkUnnamed361(o.items); |
2907 unittest.expect(o.kind, unittest.equals('foo')); | 2907 unittest.expect(o.kind, unittest.equals('foo')); |
2908 unittest.expect(o.visitorId, unittest.equals('foo')); | 2908 unittest.expect(o.visitorId, unittest.equals('foo')); |
2909 } | 2909 } |
2910 buildCounterThumbnailSetResponse--; | 2910 buildCounterThumbnailSetResponse--; |
2911 } | 2911 } |
2912 | 2912 |
2913 core.int buildCounterTokenPagination = 0; | 2913 core.int buildCounterTokenPagination = 0; |
2914 buildTokenPagination() { | 2914 buildTokenPagination() { |
2915 var o = new api.TokenPagination(); | 2915 var o = new api.TokenPagination(); |
2916 buildCounterTokenPagination++; | 2916 buildCounterTokenPagination++; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3021 buildCounterVideoCategory++; | 3021 buildCounterVideoCategory++; |
3022 if (buildCounterVideoCategory < 3) { | 3022 if (buildCounterVideoCategory < 3) { |
3023 unittest.expect(o.etag, unittest.equals('foo')); | 3023 unittest.expect(o.etag, unittest.equals('foo')); |
3024 unittest.expect(o.id, unittest.equals('foo')); | 3024 unittest.expect(o.id, unittest.equals('foo')); |
3025 unittest.expect(o.kind, unittest.equals('foo')); | 3025 unittest.expect(o.kind, unittest.equals('foo')); |
3026 checkVideoCategorySnippet(o.snippet); | 3026 checkVideoCategorySnippet(o.snippet); |
3027 } | 3027 } |
3028 buildCounterVideoCategory--; | 3028 buildCounterVideoCategory--; |
3029 } | 3029 } |
3030 | 3030 |
3031 buildUnnamed1012() { | 3031 buildUnnamed362() { |
3032 var o = new core.List<api.VideoCategory>(); | 3032 var o = new core.List<api.VideoCategory>(); |
3033 o.add(buildVideoCategory()); | 3033 o.add(buildVideoCategory()); |
3034 o.add(buildVideoCategory()); | 3034 o.add(buildVideoCategory()); |
3035 return o; | 3035 return o; |
3036 } | 3036 } |
3037 | 3037 |
3038 checkUnnamed1012(core.List<api.VideoCategory> o) { | 3038 checkUnnamed362(core.List<api.VideoCategory> o) { |
3039 unittest.expect(o, unittest.hasLength(2)); | 3039 unittest.expect(o, unittest.hasLength(2)); |
3040 checkVideoCategory(o[0]); | 3040 checkVideoCategory(o[0]); |
3041 checkVideoCategory(o[1]); | 3041 checkVideoCategory(o[1]); |
3042 } | 3042 } |
3043 | 3043 |
3044 core.int buildCounterVideoCategoryListResponse = 0; | 3044 core.int buildCounterVideoCategoryListResponse = 0; |
3045 buildVideoCategoryListResponse() { | 3045 buildVideoCategoryListResponse() { |
3046 var o = new api.VideoCategoryListResponse(); | 3046 var o = new api.VideoCategoryListResponse(); |
3047 buildCounterVideoCategoryListResponse++; | 3047 buildCounterVideoCategoryListResponse++; |
3048 if (buildCounterVideoCategoryListResponse < 3) { | 3048 if (buildCounterVideoCategoryListResponse < 3) { |
3049 o.etag = "foo"; | 3049 o.etag = "foo"; |
3050 o.eventId = "foo"; | 3050 o.eventId = "foo"; |
3051 o.items = buildUnnamed1012(); | 3051 o.items = buildUnnamed362(); |
3052 o.kind = "foo"; | 3052 o.kind = "foo"; |
3053 o.nextPageToken = "foo"; | 3053 o.nextPageToken = "foo"; |
3054 o.pageInfo = buildPageInfo(); | 3054 o.pageInfo = buildPageInfo(); |
3055 o.prevPageToken = "foo"; | 3055 o.prevPageToken = "foo"; |
3056 o.tokenPagination = buildTokenPagination(); | 3056 o.tokenPagination = buildTokenPagination(); |
3057 o.visitorId = "foo"; | 3057 o.visitorId = "foo"; |
3058 } | 3058 } |
3059 buildCounterVideoCategoryListResponse--; | 3059 buildCounterVideoCategoryListResponse--; |
3060 return o; | 3060 return o; |
3061 } | 3061 } |
3062 | 3062 |
3063 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 3063 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
3064 buildCounterVideoCategoryListResponse++; | 3064 buildCounterVideoCategoryListResponse++; |
3065 if (buildCounterVideoCategoryListResponse < 3) { | 3065 if (buildCounterVideoCategoryListResponse < 3) { |
3066 unittest.expect(o.etag, unittest.equals('foo')); | 3066 unittest.expect(o.etag, unittest.equals('foo')); |
3067 unittest.expect(o.eventId, unittest.equals('foo')); | 3067 unittest.expect(o.eventId, unittest.equals('foo')); |
3068 checkUnnamed1012(o.items); | 3068 checkUnnamed362(o.items); |
3069 unittest.expect(o.kind, unittest.equals('foo')); | 3069 unittest.expect(o.kind, unittest.equals('foo')); |
3070 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3070 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3071 checkPageInfo(o.pageInfo); | 3071 checkPageInfo(o.pageInfo); |
3072 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3072 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3073 checkTokenPagination(o.tokenPagination); | 3073 checkTokenPagination(o.tokenPagination); |
3074 unittest.expect(o.visitorId, unittest.equals('foo')); | 3074 unittest.expect(o.visitorId, unittest.equals('foo')); |
3075 } | 3075 } |
3076 buildCounterVideoCategoryListResponse--; | 3076 buildCounterVideoCategoryListResponse--; |
3077 } | 3077 } |
3078 | 3078 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3125 checkAccessPolicy(o.countryRestriction); | 3125 checkAccessPolicy(o.countryRestriction); |
3126 unittest.expect(o.definition, unittest.equals('foo')); | 3126 unittest.expect(o.definition, unittest.equals('foo')); |
3127 unittest.expect(o.dimension, unittest.equals('foo')); | 3127 unittest.expect(o.dimension, unittest.equals('foo')); |
3128 unittest.expect(o.duration, unittest.equals('foo')); | 3128 unittest.expect(o.duration, unittest.equals('foo')); |
3129 unittest.expect(o.licensedContent, unittest.isTrue); | 3129 unittest.expect(o.licensedContent, unittest.isTrue); |
3130 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 3130 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
3131 } | 3131 } |
3132 buildCounterVideoContentDetails--; | 3132 buildCounterVideoContentDetails--; |
3133 } | 3133 } |
3134 | 3134 |
3135 buildUnnamed1013() { | 3135 buildUnnamed363() { |
3136 var o = new core.List<core.String>(); | 3136 var o = new core.List<core.String>(); |
3137 o.add("foo"); | 3137 o.add("foo"); |
3138 o.add("foo"); | 3138 o.add("foo"); |
3139 return o; | 3139 return o; |
3140 } | 3140 } |
3141 | 3141 |
3142 checkUnnamed1013(core.List<core.String> o) { | 3142 checkUnnamed363(core.List<core.String> o) { |
3143 unittest.expect(o, unittest.hasLength(2)); | 3143 unittest.expect(o, unittest.hasLength(2)); |
3144 unittest.expect(o[0], unittest.equals('foo')); | 3144 unittest.expect(o[0], unittest.equals('foo')); |
3145 unittest.expect(o[1], unittest.equals('foo')); | 3145 unittest.expect(o[1], unittest.equals('foo')); |
3146 } | 3146 } |
3147 | 3147 |
3148 buildUnnamed1014() { | 3148 buildUnnamed364() { |
3149 var o = new core.List<core.String>(); | 3149 var o = new core.List<core.String>(); |
3150 o.add("foo"); | 3150 o.add("foo"); |
3151 o.add("foo"); | 3151 o.add("foo"); |
3152 return o; | 3152 return o; |
3153 } | 3153 } |
3154 | 3154 |
3155 checkUnnamed1014(core.List<core.String> o) { | 3155 checkUnnamed364(core.List<core.String> o) { |
3156 unittest.expect(o, unittest.hasLength(2)); | 3156 unittest.expect(o, unittest.hasLength(2)); |
3157 unittest.expect(o[0], unittest.equals('foo')); | 3157 unittest.expect(o[0], unittest.equals('foo')); |
3158 unittest.expect(o[1], unittest.equals('foo')); | 3158 unittest.expect(o[1], unittest.equals('foo')); |
3159 } | 3159 } |
3160 | 3160 |
3161 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 3161 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
3162 buildVideoContentDetailsRegionRestriction() { | 3162 buildVideoContentDetailsRegionRestriction() { |
3163 var o = new api.VideoContentDetailsRegionRestriction(); | 3163 var o = new api.VideoContentDetailsRegionRestriction(); |
3164 buildCounterVideoContentDetailsRegionRestriction++; | 3164 buildCounterVideoContentDetailsRegionRestriction++; |
3165 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3165 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
3166 o.allowed = buildUnnamed1013(); | 3166 o.allowed = buildUnnamed363(); |
3167 o.blocked = buildUnnamed1014(); | 3167 o.blocked = buildUnnamed364(); |
3168 } | 3168 } |
3169 buildCounterVideoContentDetailsRegionRestriction--; | 3169 buildCounterVideoContentDetailsRegionRestriction--; |
3170 return o; | 3170 return o; |
3171 } | 3171 } |
3172 | 3172 |
3173 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 3173 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
3174 buildCounterVideoContentDetailsRegionRestriction++; | 3174 buildCounterVideoContentDetailsRegionRestriction++; |
3175 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3175 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
3176 checkUnnamed1013(o.allowed); | 3176 checkUnnamed363(o.allowed); |
3177 checkUnnamed1014(o.blocked); | 3177 checkUnnamed364(o.blocked); |
3178 } | 3178 } |
3179 buildCounterVideoContentDetailsRegionRestriction--; | 3179 buildCounterVideoContentDetailsRegionRestriction--; |
3180 } | 3180 } |
3181 | 3181 |
3182 core.int buildCounterVideoConversionPing = 0; | 3182 core.int buildCounterVideoConversionPing = 0; |
3183 buildVideoConversionPing() { | 3183 buildVideoConversionPing() { |
3184 var o = new api.VideoConversionPing(); | 3184 var o = new api.VideoConversionPing(); |
3185 buildCounterVideoConversionPing++; | 3185 buildCounterVideoConversionPing++; |
3186 if (buildCounterVideoConversionPing < 3) { | 3186 if (buildCounterVideoConversionPing < 3) { |
3187 o.context = "foo"; | 3187 o.context = "foo"; |
3188 o.conversionUrl = "foo"; | 3188 o.conversionUrl = "foo"; |
3189 } | 3189 } |
3190 buildCounterVideoConversionPing--; | 3190 buildCounterVideoConversionPing--; |
3191 return o; | 3191 return o; |
3192 } | 3192 } |
3193 | 3193 |
3194 checkVideoConversionPing(api.VideoConversionPing o) { | 3194 checkVideoConversionPing(api.VideoConversionPing o) { |
3195 buildCounterVideoConversionPing++; | 3195 buildCounterVideoConversionPing++; |
3196 if (buildCounterVideoConversionPing < 3) { | 3196 if (buildCounterVideoConversionPing < 3) { |
3197 unittest.expect(o.context, unittest.equals('foo')); | 3197 unittest.expect(o.context, unittest.equals('foo')); |
3198 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 3198 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
3199 } | 3199 } |
3200 buildCounterVideoConversionPing--; | 3200 buildCounterVideoConversionPing--; |
3201 } | 3201 } |
3202 | 3202 |
3203 buildUnnamed1015() { | 3203 buildUnnamed365() { |
3204 var o = new core.List<api.VideoConversionPing>(); | 3204 var o = new core.List<api.VideoConversionPing>(); |
3205 o.add(buildVideoConversionPing()); | 3205 o.add(buildVideoConversionPing()); |
3206 o.add(buildVideoConversionPing()); | 3206 o.add(buildVideoConversionPing()); |
3207 return o; | 3207 return o; |
3208 } | 3208 } |
3209 | 3209 |
3210 checkUnnamed1015(core.List<api.VideoConversionPing> o) { | 3210 checkUnnamed365(core.List<api.VideoConversionPing> o) { |
3211 unittest.expect(o, unittest.hasLength(2)); | 3211 unittest.expect(o, unittest.hasLength(2)); |
3212 checkVideoConversionPing(o[0]); | 3212 checkVideoConversionPing(o[0]); |
3213 checkVideoConversionPing(o[1]); | 3213 checkVideoConversionPing(o[1]); |
3214 } | 3214 } |
3215 | 3215 |
3216 core.int buildCounterVideoConversionPings = 0; | 3216 core.int buildCounterVideoConversionPings = 0; |
3217 buildVideoConversionPings() { | 3217 buildVideoConversionPings() { |
3218 var o = new api.VideoConversionPings(); | 3218 var o = new api.VideoConversionPings(); |
3219 buildCounterVideoConversionPings++; | 3219 buildCounterVideoConversionPings++; |
3220 if (buildCounterVideoConversionPings < 3) { | 3220 if (buildCounterVideoConversionPings < 3) { |
3221 o.pings = buildUnnamed1015(); | 3221 o.pings = buildUnnamed365(); |
3222 } | 3222 } |
3223 buildCounterVideoConversionPings--; | 3223 buildCounterVideoConversionPings--; |
3224 return o; | 3224 return o; |
3225 } | 3225 } |
3226 | 3226 |
3227 checkVideoConversionPings(api.VideoConversionPings o) { | 3227 checkVideoConversionPings(api.VideoConversionPings o) { |
3228 buildCounterVideoConversionPings++; | 3228 buildCounterVideoConversionPings++; |
3229 if (buildCounterVideoConversionPings < 3) { | 3229 if (buildCounterVideoConversionPings < 3) { |
3230 checkUnnamed1015(o.pings); | 3230 checkUnnamed365(o.pings); |
3231 } | 3231 } |
3232 buildCounterVideoConversionPings--; | 3232 buildCounterVideoConversionPings--; |
3233 } | 3233 } |
3234 | 3234 |
3235 buildUnnamed1016() { | 3235 buildUnnamed366() { |
3236 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 3236 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
3237 o.add(buildVideoFileDetailsAudioStream()); | 3237 o.add(buildVideoFileDetailsAudioStream()); |
3238 o.add(buildVideoFileDetailsAudioStream()); | 3238 o.add(buildVideoFileDetailsAudioStream()); |
3239 return o; | 3239 return o; |
3240 } | 3240 } |
3241 | 3241 |
3242 checkUnnamed1016(core.List<api.VideoFileDetailsAudioStream> o) { | 3242 checkUnnamed366(core.List<api.VideoFileDetailsAudioStream> o) { |
3243 unittest.expect(o, unittest.hasLength(2)); | 3243 unittest.expect(o, unittest.hasLength(2)); |
3244 checkVideoFileDetailsAudioStream(o[0]); | 3244 checkVideoFileDetailsAudioStream(o[0]); |
3245 checkVideoFileDetailsAudioStream(o[1]); | 3245 checkVideoFileDetailsAudioStream(o[1]); |
3246 } | 3246 } |
3247 | 3247 |
3248 buildUnnamed1017() { | 3248 buildUnnamed367() { |
3249 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 3249 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
3250 o.add(buildVideoFileDetailsVideoStream()); | 3250 o.add(buildVideoFileDetailsVideoStream()); |
3251 o.add(buildVideoFileDetailsVideoStream()); | 3251 o.add(buildVideoFileDetailsVideoStream()); |
3252 return o; | 3252 return o; |
3253 } | 3253 } |
3254 | 3254 |
3255 checkUnnamed1017(core.List<api.VideoFileDetailsVideoStream> o) { | 3255 checkUnnamed367(core.List<api.VideoFileDetailsVideoStream> o) { |
3256 unittest.expect(o, unittest.hasLength(2)); | 3256 unittest.expect(o, unittest.hasLength(2)); |
3257 checkVideoFileDetailsVideoStream(o[0]); | 3257 checkVideoFileDetailsVideoStream(o[0]); |
3258 checkVideoFileDetailsVideoStream(o[1]); | 3258 checkVideoFileDetailsVideoStream(o[1]); |
3259 } | 3259 } |
3260 | 3260 |
3261 core.int buildCounterVideoFileDetails = 0; | 3261 core.int buildCounterVideoFileDetails = 0; |
3262 buildVideoFileDetails() { | 3262 buildVideoFileDetails() { |
3263 var o = new api.VideoFileDetails(); | 3263 var o = new api.VideoFileDetails(); |
3264 buildCounterVideoFileDetails++; | 3264 buildCounterVideoFileDetails++; |
3265 if (buildCounterVideoFileDetails < 3) { | 3265 if (buildCounterVideoFileDetails < 3) { |
3266 o.audioStreams = buildUnnamed1016(); | 3266 o.audioStreams = buildUnnamed366(); |
3267 o.bitrateBps = "foo"; | 3267 o.bitrateBps = "foo"; |
3268 o.container = "foo"; | 3268 o.container = "foo"; |
3269 o.creationTime = "foo"; | 3269 o.creationTime = "foo"; |
3270 o.durationMs = "foo"; | 3270 o.durationMs = "foo"; |
3271 o.fileName = "foo"; | 3271 o.fileName = "foo"; |
3272 o.fileSize = "foo"; | 3272 o.fileSize = "foo"; |
3273 o.fileType = "foo"; | 3273 o.fileType = "foo"; |
3274 o.recordingLocation = buildGeoPoint(); | 3274 o.recordingLocation = buildGeoPoint(); |
3275 o.videoStreams = buildUnnamed1017(); | 3275 o.videoStreams = buildUnnamed367(); |
3276 } | 3276 } |
3277 buildCounterVideoFileDetails--; | 3277 buildCounterVideoFileDetails--; |
3278 return o; | 3278 return o; |
3279 } | 3279 } |
3280 | 3280 |
3281 checkVideoFileDetails(api.VideoFileDetails o) { | 3281 checkVideoFileDetails(api.VideoFileDetails o) { |
3282 buildCounterVideoFileDetails++; | 3282 buildCounterVideoFileDetails++; |
3283 if (buildCounterVideoFileDetails < 3) { | 3283 if (buildCounterVideoFileDetails < 3) { |
3284 checkUnnamed1016(o.audioStreams); | 3284 checkUnnamed366(o.audioStreams); |
3285 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 3285 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
3286 unittest.expect(o.container, unittest.equals('foo')); | 3286 unittest.expect(o.container, unittest.equals('foo')); |
3287 unittest.expect(o.creationTime, unittest.equals('foo')); | 3287 unittest.expect(o.creationTime, unittest.equals('foo')); |
3288 unittest.expect(o.durationMs, unittest.equals('foo')); | 3288 unittest.expect(o.durationMs, unittest.equals('foo')); |
3289 unittest.expect(o.fileName, unittest.equals('foo')); | 3289 unittest.expect(o.fileName, unittest.equals('foo')); |
3290 unittest.expect(o.fileSize, unittest.equals('foo')); | 3290 unittest.expect(o.fileSize, unittest.equals('foo')); |
3291 unittest.expect(o.fileType, unittest.equals('foo')); | 3291 unittest.expect(o.fileType, unittest.equals('foo')); |
3292 checkGeoPoint(o.recordingLocation); | 3292 checkGeoPoint(o.recordingLocation); |
3293 checkUnnamed1017(o.videoStreams); | 3293 checkUnnamed367(o.videoStreams); |
3294 } | 3294 } |
3295 buildCounterVideoFileDetails--; | 3295 buildCounterVideoFileDetails--; |
3296 } | 3296 } |
3297 | 3297 |
3298 core.int buildCounterVideoFileDetailsAudioStream = 0; | 3298 core.int buildCounterVideoFileDetailsAudioStream = 0; |
3299 buildVideoFileDetailsAudioStream() { | 3299 buildVideoFileDetailsAudioStream() { |
3300 var o = new api.VideoFileDetailsAudioStream(); | 3300 var o = new api.VideoFileDetailsAudioStream(); |
3301 buildCounterVideoFileDetailsAudioStream++; | 3301 buildCounterVideoFileDetailsAudioStream++; |
3302 if (buildCounterVideoFileDetailsAudioStream < 3) { | 3302 if (buildCounterVideoFileDetailsAudioStream < 3) { |
3303 o.bitrateBps = "foo"; | 3303 o.bitrateBps = "foo"; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3346 unittest.expect(o.codec, unittest.equals('foo')); | 3346 unittest.expect(o.codec, unittest.equals('foo')); |
3347 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 3347 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
3348 unittest.expect(o.heightPixels, unittest.equals(42)); | 3348 unittest.expect(o.heightPixels, unittest.equals(42)); |
3349 unittest.expect(o.rotation, unittest.equals('foo')); | 3349 unittest.expect(o.rotation, unittest.equals('foo')); |
3350 unittest.expect(o.vendor, unittest.equals('foo')); | 3350 unittest.expect(o.vendor, unittest.equals('foo')); |
3351 unittest.expect(o.widthPixels, unittest.equals(42)); | 3351 unittest.expect(o.widthPixels, unittest.equals(42)); |
3352 } | 3352 } |
3353 buildCounterVideoFileDetailsVideoStream--; | 3353 buildCounterVideoFileDetailsVideoStream--; |
3354 } | 3354 } |
3355 | 3355 |
3356 buildUnnamed1018() { | 3356 buildUnnamed368() { |
3357 var o = new core.List<api.VideoRating>(); | 3357 var o = new core.List<api.VideoRating>(); |
3358 o.add(buildVideoRating()); | 3358 o.add(buildVideoRating()); |
3359 o.add(buildVideoRating()); | 3359 o.add(buildVideoRating()); |
3360 return o; | 3360 return o; |
3361 } | 3361 } |
3362 | 3362 |
3363 checkUnnamed1018(core.List<api.VideoRating> o) { | 3363 checkUnnamed368(core.List<api.VideoRating> o) { |
3364 unittest.expect(o, unittest.hasLength(2)); | 3364 unittest.expect(o, unittest.hasLength(2)); |
3365 checkVideoRating(o[0]); | 3365 checkVideoRating(o[0]); |
3366 checkVideoRating(o[1]); | 3366 checkVideoRating(o[1]); |
3367 } | 3367 } |
3368 | 3368 |
3369 core.int buildCounterVideoGetRatingResponse = 0; | 3369 core.int buildCounterVideoGetRatingResponse = 0; |
3370 buildVideoGetRatingResponse() { | 3370 buildVideoGetRatingResponse() { |
3371 var o = new api.VideoGetRatingResponse(); | 3371 var o = new api.VideoGetRatingResponse(); |
3372 buildCounterVideoGetRatingResponse++; | 3372 buildCounterVideoGetRatingResponse++; |
3373 if (buildCounterVideoGetRatingResponse < 3) { | 3373 if (buildCounterVideoGetRatingResponse < 3) { |
3374 o.etag = "foo"; | 3374 o.etag = "foo"; |
3375 o.items = buildUnnamed1018(); | 3375 o.items = buildUnnamed368(); |
3376 o.kind = "foo"; | 3376 o.kind = "foo"; |
3377 } | 3377 } |
3378 buildCounterVideoGetRatingResponse--; | 3378 buildCounterVideoGetRatingResponse--; |
3379 return o; | 3379 return o; |
3380 } | 3380 } |
3381 | 3381 |
3382 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 3382 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
3383 buildCounterVideoGetRatingResponse++; | 3383 buildCounterVideoGetRatingResponse++; |
3384 if (buildCounterVideoGetRatingResponse < 3) { | 3384 if (buildCounterVideoGetRatingResponse < 3) { |
3385 unittest.expect(o.etag, unittest.equals('foo')); | 3385 unittest.expect(o.etag, unittest.equals('foo')); |
3386 checkUnnamed1018(o.items); | 3386 checkUnnamed368(o.items); |
3387 unittest.expect(o.kind, unittest.equals('foo')); | 3387 unittest.expect(o.kind, unittest.equals('foo')); |
3388 } | 3388 } |
3389 buildCounterVideoGetRatingResponse--; | 3389 buildCounterVideoGetRatingResponse--; |
3390 } | 3390 } |
3391 | 3391 |
3392 buildUnnamed1019() { | 3392 buildUnnamed369() { |
3393 var o = new core.List<api.Video>(); | 3393 var o = new core.List<api.Video>(); |
3394 o.add(buildVideo()); | 3394 o.add(buildVideo()); |
3395 o.add(buildVideo()); | 3395 o.add(buildVideo()); |
3396 return o; | 3396 return o; |
3397 } | 3397 } |
3398 | 3398 |
3399 checkUnnamed1019(core.List<api.Video> o) { | 3399 checkUnnamed369(core.List<api.Video> o) { |
3400 unittest.expect(o, unittest.hasLength(2)); | 3400 unittest.expect(o, unittest.hasLength(2)); |
3401 checkVideo(o[0]); | 3401 checkVideo(o[0]); |
3402 checkVideo(o[1]); | 3402 checkVideo(o[1]); |
3403 } | 3403 } |
3404 | 3404 |
3405 core.int buildCounterVideoListResponse = 0; | 3405 core.int buildCounterVideoListResponse = 0; |
3406 buildVideoListResponse() { | 3406 buildVideoListResponse() { |
3407 var o = new api.VideoListResponse(); | 3407 var o = new api.VideoListResponse(); |
3408 buildCounterVideoListResponse++; | 3408 buildCounterVideoListResponse++; |
3409 if (buildCounterVideoListResponse < 3) { | 3409 if (buildCounterVideoListResponse < 3) { |
3410 o.etag = "foo"; | 3410 o.etag = "foo"; |
3411 o.eventId = "foo"; | 3411 o.eventId = "foo"; |
3412 o.items = buildUnnamed1019(); | 3412 o.items = buildUnnamed369(); |
3413 o.kind = "foo"; | 3413 o.kind = "foo"; |
3414 o.nextPageToken = "foo"; | 3414 o.nextPageToken = "foo"; |
3415 o.pageInfo = buildPageInfo(); | 3415 o.pageInfo = buildPageInfo(); |
3416 o.prevPageToken = "foo"; | 3416 o.prevPageToken = "foo"; |
3417 o.tokenPagination = buildTokenPagination(); | 3417 o.tokenPagination = buildTokenPagination(); |
3418 o.visitorId = "foo"; | 3418 o.visitorId = "foo"; |
3419 } | 3419 } |
3420 buildCounterVideoListResponse--; | 3420 buildCounterVideoListResponse--; |
3421 return o; | 3421 return o; |
3422 } | 3422 } |
3423 | 3423 |
3424 checkVideoListResponse(api.VideoListResponse o) { | 3424 checkVideoListResponse(api.VideoListResponse o) { |
3425 buildCounterVideoListResponse++; | 3425 buildCounterVideoListResponse++; |
3426 if (buildCounterVideoListResponse < 3) { | 3426 if (buildCounterVideoListResponse < 3) { |
3427 unittest.expect(o.etag, unittest.equals('foo')); | 3427 unittest.expect(o.etag, unittest.equals('foo')); |
3428 unittest.expect(o.eventId, unittest.equals('foo')); | 3428 unittest.expect(o.eventId, unittest.equals('foo')); |
3429 checkUnnamed1019(o.items); | 3429 checkUnnamed369(o.items); |
3430 unittest.expect(o.kind, unittest.equals('foo')); | 3430 unittest.expect(o.kind, unittest.equals('foo')); |
3431 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3431 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3432 checkPageInfo(o.pageInfo); | 3432 checkPageInfo(o.pageInfo); |
3433 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3433 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
3434 checkTokenPagination(o.tokenPagination); | 3434 checkTokenPagination(o.tokenPagination); |
3435 unittest.expect(o.visitorId, unittest.equals('foo')); | 3435 unittest.expect(o.visitorId, unittest.equals('foo')); |
3436 } | 3436 } |
3437 buildCounterVideoListResponse--; | 3437 buildCounterVideoListResponse--; |
3438 } | 3438 } |
3439 | 3439 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3551 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 3551 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
3552 buildCounterVideoProcessingDetailsProcessingProgress++; | 3552 buildCounterVideoProcessingDetailsProcessingProgress++; |
3553 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 3553 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
3554 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 3554 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
3555 unittest.expect(o.partsTotal, unittest.equals('foo')); | 3555 unittest.expect(o.partsTotal, unittest.equals('foo')); |
3556 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 3556 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
3557 } | 3557 } |
3558 buildCounterVideoProcessingDetailsProcessingProgress--; | 3558 buildCounterVideoProcessingDetailsProcessingProgress--; |
3559 } | 3559 } |
3560 | 3560 |
3561 buildUnnamed1020() { | 3561 buildUnnamed370() { |
3562 var o = new core.List<core.String>(); | 3562 var o = new core.List<core.String>(); |
3563 o.add("foo"); | 3563 o.add("foo"); |
3564 o.add("foo"); | 3564 o.add("foo"); |
3565 return o; | 3565 return o; |
3566 } | 3566 } |
3567 | 3567 |
3568 checkUnnamed1020(core.List<core.String> o) { | 3568 checkUnnamed370(core.List<core.String> o) { |
3569 unittest.expect(o, unittest.hasLength(2)); | 3569 unittest.expect(o, unittest.hasLength(2)); |
3570 unittest.expect(o[0], unittest.equals('foo')); | 3570 unittest.expect(o[0], unittest.equals('foo')); |
3571 unittest.expect(o[1], unittest.equals('foo')); | 3571 unittest.expect(o[1], unittest.equals('foo')); |
3572 } | 3572 } |
3573 | 3573 |
3574 core.int buildCounterVideoProjectDetails = 0; | 3574 core.int buildCounterVideoProjectDetails = 0; |
3575 buildVideoProjectDetails() { | 3575 buildVideoProjectDetails() { |
3576 var o = new api.VideoProjectDetails(); | 3576 var o = new api.VideoProjectDetails(); |
3577 buildCounterVideoProjectDetails++; | 3577 buildCounterVideoProjectDetails++; |
3578 if (buildCounterVideoProjectDetails < 3) { | 3578 if (buildCounterVideoProjectDetails < 3) { |
3579 o.tags = buildUnnamed1020(); | 3579 o.tags = buildUnnamed370(); |
3580 } | 3580 } |
3581 buildCounterVideoProjectDetails--; | 3581 buildCounterVideoProjectDetails--; |
3582 return o; | 3582 return o; |
3583 } | 3583 } |
3584 | 3584 |
3585 checkVideoProjectDetails(api.VideoProjectDetails o) { | 3585 checkVideoProjectDetails(api.VideoProjectDetails o) { |
3586 buildCounterVideoProjectDetails++; | 3586 buildCounterVideoProjectDetails++; |
3587 if (buildCounterVideoProjectDetails < 3) { | 3587 if (buildCounterVideoProjectDetails < 3) { |
3588 checkUnnamed1020(o.tags); | 3588 checkUnnamed370(o.tags); |
3589 } | 3589 } |
3590 buildCounterVideoProjectDetails--; | 3590 buildCounterVideoProjectDetails--; |
3591 } | 3591 } |
3592 | 3592 |
3593 core.int buildCounterVideoRating = 0; | 3593 core.int buildCounterVideoRating = 0; |
3594 buildVideoRating() { | 3594 buildVideoRating() { |
3595 var o = new api.VideoRating(); | 3595 var o = new api.VideoRating(); |
3596 buildCounterVideoRating++; | 3596 buildCounterVideoRating++; |
3597 if (buildCounterVideoRating < 3) { | 3597 if (buildCounterVideoRating < 3) { |
3598 o.rating = "foo"; | 3598 o.rating = "foo"; |
(...skipping 28 matching lines...) Expand all Loading... |
3627 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 3627 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
3628 buildCounterVideoRecordingDetails++; | 3628 buildCounterVideoRecordingDetails++; |
3629 if (buildCounterVideoRecordingDetails < 3) { | 3629 if (buildCounterVideoRecordingDetails < 3) { |
3630 checkGeoPoint(o.location); | 3630 checkGeoPoint(o.location); |
3631 unittest.expect(o.locationDescription, unittest.equals('foo')); | 3631 unittest.expect(o.locationDescription, unittest.equals('foo')); |
3632 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 3632 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
3633 } | 3633 } |
3634 buildCounterVideoRecordingDetails--; | 3634 buildCounterVideoRecordingDetails--; |
3635 } | 3635 } |
3636 | 3636 |
3637 buildUnnamed1021() { | 3637 buildUnnamed371() { |
3638 var o = new core.List<core.String>(); | 3638 var o = new core.List<core.String>(); |
3639 o.add("foo"); | 3639 o.add("foo"); |
3640 o.add("foo"); | 3640 o.add("foo"); |
3641 return o; | 3641 return o; |
3642 } | 3642 } |
3643 | 3643 |
3644 checkUnnamed1021(core.List<core.String> o) { | 3644 checkUnnamed371(core.List<core.String> o) { |
3645 unittest.expect(o, unittest.hasLength(2)); | 3645 unittest.expect(o, unittest.hasLength(2)); |
3646 unittest.expect(o[0], unittest.equals('foo')); | 3646 unittest.expect(o[0], unittest.equals('foo')); |
3647 unittest.expect(o[1], unittest.equals('foo')); | 3647 unittest.expect(o[1], unittest.equals('foo')); |
3648 } | 3648 } |
3649 | 3649 |
3650 core.int buildCounterVideoSnippet = 0; | 3650 core.int buildCounterVideoSnippet = 0; |
3651 buildVideoSnippet() { | 3651 buildVideoSnippet() { |
3652 var o = new api.VideoSnippet(); | 3652 var o = new api.VideoSnippet(); |
3653 buildCounterVideoSnippet++; | 3653 buildCounterVideoSnippet++; |
3654 if (buildCounterVideoSnippet < 3) { | 3654 if (buildCounterVideoSnippet < 3) { |
3655 o.categoryId = "foo"; | 3655 o.categoryId = "foo"; |
3656 o.channelId = "foo"; | 3656 o.channelId = "foo"; |
3657 o.channelTitle = "foo"; | 3657 o.channelTitle = "foo"; |
3658 o.description = "foo"; | 3658 o.description = "foo"; |
3659 o.liveBroadcastContent = "foo"; | 3659 o.liveBroadcastContent = "foo"; |
3660 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3660 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
3661 o.tags = buildUnnamed1021(); | 3661 o.tags = buildUnnamed371(); |
3662 o.thumbnails = buildThumbnailDetails(); | 3662 o.thumbnails = buildThumbnailDetails(); |
3663 o.title = "foo"; | 3663 o.title = "foo"; |
3664 } | 3664 } |
3665 buildCounterVideoSnippet--; | 3665 buildCounterVideoSnippet--; |
3666 return o; | 3666 return o; |
3667 } | 3667 } |
3668 | 3668 |
3669 checkVideoSnippet(api.VideoSnippet o) { | 3669 checkVideoSnippet(api.VideoSnippet o) { |
3670 buildCounterVideoSnippet++; | 3670 buildCounterVideoSnippet++; |
3671 if (buildCounterVideoSnippet < 3) { | 3671 if (buildCounterVideoSnippet < 3) { |
3672 unittest.expect(o.categoryId, unittest.equals('foo')); | 3672 unittest.expect(o.categoryId, unittest.equals('foo')); |
3673 unittest.expect(o.channelId, unittest.equals('foo')); | 3673 unittest.expect(o.channelId, unittest.equals('foo')); |
3674 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3674 unittest.expect(o.channelTitle, unittest.equals('foo')); |
3675 unittest.expect(o.description, unittest.equals('foo')); | 3675 unittest.expect(o.description, unittest.equals('foo')); |
3676 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 3676 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
3677 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3677 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
3678 checkUnnamed1021(o.tags); | 3678 checkUnnamed371(o.tags); |
3679 checkThumbnailDetails(o.thumbnails); | 3679 checkThumbnailDetails(o.thumbnails); |
3680 unittest.expect(o.title, unittest.equals('foo')); | 3680 unittest.expect(o.title, unittest.equals('foo')); |
3681 } | 3681 } |
3682 buildCounterVideoSnippet--; | 3682 buildCounterVideoSnippet--; |
3683 } | 3683 } |
3684 | 3684 |
3685 core.int buildCounterVideoStatistics = 0; | 3685 core.int buildCounterVideoStatistics = 0; |
3686 buildVideoStatistics() { | 3686 buildVideoStatistics() { |
3687 var o = new api.VideoStatistics(); | 3687 var o = new api.VideoStatistics(); |
3688 buildCounterVideoStatistics++; | 3688 buildCounterVideoStatistics++; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3735 unittest.expect(o.license, unittest.equals('foo')); | 3735 unittest.expect(o.license, unittest.equals('foo')); |
3736 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3736 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
3737 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 3737 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
3738 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 3738 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
3739 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 3739 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
3740 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 3740 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
3741 } | 3741 } |
3742 buildCounterVideoStatus--; | 3742 buildCounterVideoStatus--; |
3743 } | 3743 } |
3744 | 3744 |
3745 buildUnnamed1022() { | 3745 buildUnnamed372() { |
3746 var o = new core.List<core.String>(); | 3746 var o = new core.List<core.String>(); |
3747 o.add("foo"); | 3747 o.add("foo"); |
3748 o.add("foo"); | 3748 o.add("foo"); |
3749 return o; | 3749 return o; |
3750 } | 3750 } |
3751 | 3751 |
3752 checkUnnamed1022(core.List<core.String> o) { | 3752 checkUnnamed372(core.List<core.String> o) { |
3753 unittest.expect(o, unittest.hasLength(2)); | 3753 unittest.expect(o, unittest.hasLength(2)); |
3754 unittest.expect(o[0], unittest.equals('foo')); | 3754 unittest.expect(o[0], unittest.equals('foo')); |
3755 unittest.expect(o[1], unittest.equals('foo')); | 3755 unittest.expect(o[1], unittest.equals('foo')); |
3756 } | 3756 } |
3757 | 3757 |
3758 buildUnnamed1023() { | 3758 buildUnnamed373() { |
3759 var o = new core.List<core.String>(); | 3759 var o = new core.List<core.String>(); |
3760 o.add("foo"); | 3760 o.add("foo"); |
3761 o.add("foo"); | 3761 o.add("foo"); |
3762 return o; | 3762 return o; |
3763 } | 3763 } |
3764 | 3764 |
3765 checkUnnamed1023(core.List<core.String> o) { | 3765 checkUnnamed373(core.List<core.String> o) { |
3766 unittest.expect(o, unittest.hasLength(2)); | 3766 unittest.expect(o, unittest.hasLength(2)); |
3767 unittest.expect(o[0], unittest.equals('foo')); | 3767 unittest.expect(o[0], unittest.equals('foo')); |
3768 unittest.expect(o[1], unittest.equals('foo')); | 3768 unittest.expect(o[1], unittest.equals('foo')); |
3769 } | 3769 } |
3770 | 3770 |
3771 buildUnnamed1024() { | 3771 buildUnnamed374() { |
3772 var o = new core.List<core.String>(); | 3772 var o = new core.List<core.String>(); |
3773 o.add("foo"); | 3773 o.add("foo"); |
3774 o.add("foo"); | 3774 o.add("foo"); |
3775 return o; | 3775 return o; |
3776 } | 3776 } |
3777 | 3777 |
3778 checkUnnamed1024(core.List<core.String> o) { | 3778 checkUnnamed374(core.List<core.String> o) { |
3779 unittest.expect(o, unittest.hasLength(2)); | 3779 unittest.expect(o, unittest.hasLength(2)); |
3780 unittest.expect(o[0], unittest.equals('foo')); | 3780 unittest.expect(o[0], unittest.equals('foo')); |
3781 unittest.expect(o[1], unittest.equals('foo')); | 3781 unittest.expect(o[1], unittest.equals('foo')); |
3782 } | 3782 } |
3783 | 3783 |
3784 buildUnnamed1025() { | 3784 buildUnnamed375() { |
3785 var o = new core.List<core.String>(); | 3785 var o = new core.List<core.String>(); |
3786 o.add("foo"); | 3786 o.add("foo"); |
3787 o.add("foo"); | 3787 o.add("foo"); |
3788 return o; | 3788 return o; |
3789 } | 3789 } |
3790 | 3790 |
3791 checkUnnamed1025(core.List<core.String> o) { | 3791 checkUnnamed375(core.List<core.String> o) { |
3792 unittest.expect(o, unittest.hasLength(2)); | 3792 unittest.expect(o, unittest.hasLength(2)); |
3793 unittest.expect(o[0], unittest.equals('foo')); | 3793 unittest.expect(o[0], unittest.equals('foo')); |
3794 unittest.expect(o[1], unittest.equals('foo')); | 3794 unittest.expect(o[1], unittest.equals('foo')); |
3795 } | 3795 } |
3796 | 3796 |
3797 buildUnnamed1026() { | 3797 buildUnnamed376() { |
3798 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 3798 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
3799 o.add(buildVideoSuggestionsTagSuggestion()); | 3799 o.add(buildVideoSuggestionsTagSuggestion()); |
3800 o.add(buildVideoSuggestionsTagSuggestion()); | 3800 o.add(buildVideoSuggestionsTagSuggestion()); |
3801 return o; | 3801 return o; |
3802 } | 3802 } |
3803 | 3803 |
3804 checkUnnamed1026(core.List<api.VideoSuggestionsTagSuggestion> o) { | 3804 checkUnnamed376(core.List<api.VideoSuggestionsTagSuggestion> o) { |
3805 unittest.expect(o, unittest.hasLength(2)); | 3805 unittest.expect(o, unittest.hasLength(2)); |
3806 checkVideoSuggestionsTagSuggestion(o[0]); | 3806 checkVideoSuggestionsTagSuggestion(o[0]); |
3807 checkVideoSuggestionsTagSuggestion(o[1]); | 3807 checkVideoSuggestionsTagSuggestion(o[1]); |
3808 } | 3808 } |
3809 | 3809 |
3810 core.int buildCounterVideoSuggestions = 0; | 3810 core.int buildCounterVideoSuggestions = 0; |
3811 buildVideoSuggestions() { | 3811 buildVideoSuggestions() { |
3812 var o = new api.VideoSuggestions(); | 3812 var o = new api.VideoSuggestions(); |
3813 buildCounterVideoSuggestions++; | 3813 buildCounterVideoSuggestions++; |
3814 if (buildCounterVideoSuggestions < 3) { | 3814 if (buildCounterVideoSuggestions < 3) { |
3815 o.editorSuggestions = buildUnnamed1022(); | 3815 o.editorSuggestions = buildUnnamed372(); |
3816 o.processingErrors = buildUnnamed1023(); | 3816 o.processingErrors = buildUnnamed373(); |
3817 o.processingHints = buildUnnamed1024(); | 3817 o.processingHints = buildUnnamed374(); |
3818 o.processingWarnings = buildUnnamed1025(); | 3818 o.processingWarnings = buildUnnamed375(); |
3819 o.tagSuggestions = buildUnnamed1026(); | 3819 o.tagSuggestions = buildUnnamed376(); |
3820 } | 3820 } |
3821 buildCounterVideoSuggestions--; | 3821 buildCounterVideoSuggestions--; |
3822 return o; | 3822 return o; |
3823 } | 3823 } |
3824 | 3824 |
3825 checkVideoSuggestions(api.VideoSuggestions o) { | 3825 checkVideoSuggestions(api.VideoSuggestions o) { |
3826 buildCounterVideoSuggestions++; | 3826 buildCounterVideoSuggestions++; |
3827 if (buildCounterVideoSuggestions < 3) { | 3827 if (buildCounterVideoSuggestions < 3) { |
3828 checkUnnamed1022(o.editorSuggestions); | 3828 checkUnnamed372(o.editorSuggestions); |
3829 checkUnnamed1023(o.processingErrors); | 3829 checkUnnamed373(o.processingErrors); |
3830 checkUnnamed1024(o.processingHints); | 3830 checkUnnamed374(o.processingHints); |
3831 checkUnnamed1025(o.processingWarnings); | 3831 checkUnnamed375(o.processingWarnings); |
3832 checkUnnamed1026(o.tagSuggestions); | 3832 checkUnnamed376(o.tagSuggestions); |
3833 } | 3833 } |
3834 buildCounterVideoSuggestions--; | 3834 buildCounterVideoSuggestions--; |
3835 } | 3835 } |
3836 | 3836 |
3837 buildUnnamed1027() { | 3837 buildUnnamed377() { |
3838 var o = new core.List<core.String>(); | 3838 var o = new core.List<core.String>(); |
3839 o.add("foo"); | 3839 o.add("foo"); |
3840 o.add("foo"); | 3840 o.add("foo"); |
3841 return o; | 3841 return o; |
3842 } | 3842 } |
3843 | 3843 |
3844 checkUnnamed1027(core.List<core.String> o) { | 3844 checkUnnamed377(core.List<core.String> o) { |
3845 unittest.expect(o, unittest.hasLength(2)); | 3845 unittest.expect(o, unittest.hasLength(2)); |
3846 unittest.expect(o[0], unittest.equals('foo')); | 3846 unittest.expect(o[0], unittest.equals('foo')); |
3847 unittest.expect(o[1], unittest.equals('foo')); | 3847 unittest.expect(o[1], unittest.equals('foo')); |
3848 } | 3848 } |
3849 | 3849 |
3850 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 3850 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
3851 buildVideoSuggestionsTagSuggestion() { | 3851 buildVideoSuggestionsTagSuggestion() { |
3852 var o = new api.VideoSuggestionsTagSuggestion(); | 3852 var o = new api.VideoSuggestionsTagSuggestion(); |
3853 buildCounterVideoSuggestionsTagSuggestion++; | 3853 buildCounterVideoSuggestionsTagSuggestion++; |
3854 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3854 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
3855 o.categoryRestricts = buildUnnamed1027(); | 3855 o.categoryRestricts = buildUnnamed377(); |
3856 o.tag = "foo"; | 3856 o.tag = "foo"; |
3857 } | 3857 } |
3858 buildCounterVideoSuggestionsTagSuggestion--; | 3858 buildCounterVideoSuggestionsTagSuggestion--; |
3859 return o; | 3859 return o; |
3860 } | 3860 } |
3861 | 3861 |
3862 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 3862 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
3863 buildCounterVideoSuggestionsTagSuggestion++; | 3863 buildCounterVideoSuggestionsTagSuggestion++; |
3864 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3864 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
3865 checkUnnamed1027(o.categoryRestricts); | 3865 checkUnnamed377(o.categoryRestricts); |
3866 unittest.expect(o.tag, unittest.equals('foo')); | 3866 unittest.expect(o.tag, unittest.equals('foo')); |
3867 } | 3867 } |
3868 buildCounterVideoSuggestionsTagSuggestion--; | 3868 buildCounterVideoSuggestionsTagSuggestion--; |
3869 } | 3869 } |
3870 | 3870 |
3871 buildUnnamed1028() { | 3871 buildUnnamed378() { |
3872 var o = new core.List<core.String>(); | 3872 var o = new core.List<core.String>(); |
3873 o.add("foo"); | 3873 o.add("foo"); |
3874 o.add("foo"); | 3874 o.add("foo"); |
3875 return o; | 3875 return o; |
3876 } | 3876 } |
3877 | 3877 |
3878 checkUnnamed1028(core.List<core.String> o) { | 3878 checkUnnamed378(core.List<core.String> o) { |
3879 unittest.expect(o, unittest.hasLength(2)); | 3879 unittest.expect(o, unittest.hasLength(2)); |
3880 unittest.expect(o[0], unittest.equals('foo')); | 3880 unittest.expect(o[0], unittest.equals('foo')); |
3881 unittest.expect(o[1], unittest.equals('foo')); | 3881 unittest.expect(o[1], unittest.equals('foo')); |
3882 } | 3882 } |
3883 | 3883 |
3884 buildUnnamed1029() { | 3884 buildUnnamed379() { |
3885 var o = new core.List<core.String>(); | 3885 var o = new core.List<core.String>(); |
3886 o.add("foo"); | 3886 o.add("foo"); |
3887 o.add("foo"); | 3887 o.add("foo"); |
3888 return o; | 3888 return o; |
3889 } | 3889 } |
3890 | 3890 |
3891 checkUnnamed1029(core.List<core.String> o) { | 3891 checkUnnamed379(core.List<core.String> o) { |
3892 unittest.expect(o, unittest.hasLength(2)); | 3892 unittest.expect(o, unittest.hasLength(2)); |
3893 unittest.expect(o[0], unittest.equals('foo')); | 3893 unittest.expect(o[0], unittest.equals('foo')); |
3894 unittest.expect(o[1], unittest.equals('foo')); | 3894 unittest.expect(o[1], unittest.equals('foo')); |
3895 } | 3895 } |
3896 | 3896 |
3897 core.int buildCounterVideoTopicDetails = 0; | 3897 core.int buildCounterVideoTopicDetails = 0; |
3898 buildVideoTopicDetails() { | 3898 buildVideoTopicDetails() { |
3899 var o = new api.VideoTopicDetails(); | 3899 var o = new api.VideoTopicDetails(); |
3900 buildCounterVideoTopicDetails++; | 3900 buildCounterVideoTopicDetails++; |
3901 if (buildCounterVideoTopicDetails < 3) { | 3901 if (buildCounterVideoTopicDetails < 3) { |
3902 o.relevantTopicIds = buildUnnamed1028(); | 3902 o.relevantTopicIds = buildUnnamed378(); |
3903 o.topicIds = buildUnnamed1029(); | 3903 o.topicIds = buildUnnamed379(); |
3904 } | 3904 } |
3905 buildCounterVideoTopicDetails--; | 3905 buildCounterVideoTopicDetails--; |
3906 return o; | 3906 return o; |
3907 } | 3907 } |
3908 | 3908 |
3909 checkVideoTopicDetails(api.VideoTopicDetails o) { | 3909 checkVideoTopicDetails(api.VideoTopicDetails o) { |
3910 buildCounterVideoTopicDetails++; | 3910 buildCounterVideoTopicDetails++; |
3911 if (buildCounterVideoTopicDetails < 3) { | 3911 if (buildCounterVideoTopicDetails < 3) { |
3912 checkUnnamed1028(o.relevantTopicIds); | 3912 checkUnnamed378(o.relevantTopicIds); |
3913 checkUnnamed1029(o.topicIds); | 3913 checkUnnamed379(o.topicIds); |
3914 } | 3914 } |
3915 buildCounterVideoTopicDetails--; | 3915 buildCounterVideoTopicDetails--; |
3916 } | 3916 } |
3917 | 3917 |
3918 core.int buildCounterWatchSettings = 0; | 3918 core.int buildCounterWatchSettings = 0; |
3919 buildWatchSettings() { | 3919 buildWatchSettings() { |
3920 var o = new api.WatchSettings(); | 3920 var o = new api.WatchSettings(); |
3921 buildCounterWatchSettings++; | 3921 buildCounterWatchSettings++; |
3922 if (buildCounterWatchSettings < 3) { | 3922 if (buildCounterWatchSettings < 3) { |
3923 o.backgroundColor = "foo"; | 3923 o.backgroundColor = "foo"; |
(...skipping 3655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7579 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 7579 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
7580 }), true); | 7580 }), true); |
7581 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 7581 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
7582 }); | 7582 }); |
7583 | 7583 |
7584 }); | 7584 }); |
7585 | 7585 |
7586 | 7586 |
7587 } | 7587 } |
7588 | 7588 |
OLD | NEW |