| 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 buildUnnamed339() { | 19 buildUnnamed1136() { |
| 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 checkUnnamed339(core.List<core.String> o) { | 26 checkUnnamed1136(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 = buildUnnamed339(); | 38 o.exception = buildUnnamed1136(); |
| 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 checkUnnamed339(o.exception); | 48 checkUnnamed1136(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 buildUnnamed340() { | 237 buildUnnamed1137() { |
| 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 checkUnnamed340(core.List<core.String> o) { | 244 checkUnnamed1137(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 buildUnnamed341() { | 250 buildUnnamed1138() { |
| 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 checkUnnamed341(core.List<core.String> o) { | 257 checkUnnamed1138(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 = buildUnnamed340(); | 275 o.forecastingUrl = buildUnnamed1137(); |
| 276 o.impressionUrl = buildUnnamed341(); | 276 o.impressionUrl = buildUnnamed1138(); |
| 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 checkUnnamed340(o.forecastingUrl); | 293 checkUnnamed1137(o.forecastingUrl); |
| 294 checkUnnamed341(o.impressionUrl); | 294 checkUnnamed1138(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 buildUnnamed342() { | 388 buildUnnamed1139() { |
| 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 checkUnnamed342(core.List<api.Activity> o) { | 395 checkUnnamed1139(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 = buildUnnamed342(); | 408 o.items = buildUnnamed1139(); |
| 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 checkUnnamed342(o.items); | 425 checkUnnamed1139(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 buildUnnamed343() { | 583 buildUnnamed1140() { |
| 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 checkUnnamed343(core.List<api.PropertyValue> o) { | 590 checkUnnamed1140(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 = buildUnnamed343(); | 602 o.hints = buildUnnamed1140(); |
| 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 checkUnnamed343(o.hints); | 614 checkUnnamed1140(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 buildUnnamed344() { | 711 buildUnnamed1141() { |
| 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 checkUnnamed344(core.List<api.ChannelConversionPing> o) { | 718 checkUnnamed1141(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 = buildUnnamed344(); | 729 o.pings = buildUnnamed1141(); |
| 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 checkUnnamed344(o.pings); | 738 checkUnnamed1141(o.pings); |
| 739 } | 739 } |
| 740 buildCounterChannelConversionPings--; | 740 buildCounterChannelConversionPings--; |
| 741 } | 741 } |
| 742 | 742 |
| 743 buildUnnamed345() { | 743 buildUnnamed1142() { |
| 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 checkUnnamed345(core.List<api.Channel> o) { | 750 checkUnnamed1142(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 = buildUnnamed345(); | 763 o.items = buildUnnamed1142(); |
| 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 checkUnnamed345(o.items); | 780 checkUnnamed1142(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 buildUnnamed346() { | 818 buildUnnamed1143() { |
| 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 checkUnnamed346(core.List<core.String> o) { | 825 checkUnnamed1143(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 buildUnnamed347() { | 831 buildUnnamed1144() { |
| 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 checkUnnamed347(core.List<core.String> o) { | 838 checkUnnamed1144(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 = buildUnnamed346(); | 849 o.channels = buildUnnamed1143(); |
| 850 o.playlists = buildUnnamed347(); | 850 o.playlists = buildUnnamed1144(); |
| 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 checkUnnamed346(o.channels); | 859 checkUnnamed1143(o.channels); |
| 860 checkUnnamed347(o.playlists); | 860 checkUnnamed1144(o.playlists); |
| 861 } | 861 } |
| 862 buildCounterChannelSectionContentDetails--; | 862 buildCounterChannelSectionContentDetails--; |
| 863 } | 863 } |
| 864 | 864 |
| 865 buildUnnamed348() { | 865 buildUnnamed1145() { |
| 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 checkUnnamed348(core.List<api.ChannelSection> o) { | 872 checkUnnamed1145(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 = buildUnnamed348(); | 885 o.items = buildUnnamed1145(); |
| 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 checkUnnamed348(o.items); | 898 checkUnnamed1145(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 buildUnnamed349() { | 932 buildUnnamed1146() { |
| 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 checkUnnamed349(core.List<core.String> o) { | 939 checkUnnamed1146(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 = buildUnnamed349(); | 953 o.featuredChannelsUrls = buildUnnamed1146(); |
| 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 checkUnnamed349(o.featuredChannelsUrls); | 973 checkUnnamed1146(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 buildUnnamed350() { | 1061 buildUnnamed1147() { |
| 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 checkUnnamed350(core.List<core.String> o) { | 1068 checkUnnamed1147(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 = buildUnnamed350(); | 1079 o.topicIds = buildUnnamed1147(); |
| 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 checkUnnamed350(o.topicIds); | 1088 checkUnnamed1147(o.topicIds); |
| 1089 } | 1089 } |
| 1090 buildCounterChannelTopicDetails--; | 1090 buildCounterChannelTopicDetails--; |
| 1091 } | 1091 } |
| 1092 | 1092 |
| 1093 buildUnnamed351() { | 1093 buildUnnamed1148() { |
| 1094 var o = new core.List<core.String>(); | 1094 var o = new core.List<core.String>(); |
| 1095 o.add("foo"); | 1095 o.add("foo"); |
| 1096 o.add("foo"); | 1096 o.add("foo"); |
| 1097 return o; | 1097 return o; |
| 1098 } | 1098 } |
| 1099 | 1099 |
| 1100 checkUnnamed351(core.List<core.String> o) { | 1100 checkUnnamed1148(core.List<core.String> o) { |
| 1101 unittest.expect(o, unittest.hasLength(2)); | 1101 unittest.expect(o, unittest.hasLength(2)); |
| 1102 unittest.expect(o[0], unittest.equals('foo')); | 1102 unittest.expect(o[0], unittest.equals('foo')); |
| 1103 unittest.expect(o[1], unittest.equals('foo')); | 1103 unittest.expect(o[1], unittest.equals('foo')); |
| 1104 } | 1104 } |
| 1105 | 1105 |
| 1106 core.int buildCounterContentRating = 0; | 1106 core.int buildCounterContentRating = 0; |
| 1107 buildContentRating() { | 1107 buildContentRating() { |
| 1108 var o = new api.ContentRating(); | 1108 var o = new api.ContentRating(); |
| 1109 buildCounterContentRating++; | 1109 buildCounterContentRating++; |
| 1110 if (buildCounterContentRating < 3) { | 1110 if (buildCounterContentRating < 3) { |
| 1111 o.acbRating = "foo"; | 1111 o.acbRating = "foo"; |
| 1112 o.agcomRating = "foo"; | 1112 o.agcomRating = "foo"; |
| 1113 o.anatelRating = "foo"; | 1113 o.anatelRating = "foo"; |
| 1114 o.bbfcRating = "foo"; | 1114 o.bbfcRating = "foo"; |
| 1115 o.bfvcRating = "foo"; | 1115 o.bfvcRating = "foo"; |
| 1116 o.bmukkRating = "foo"; | 1116 o.bmukkRating = "foo"; |
| 1117 o.catvRating = "foo"; | 1117 o.catvRating = "foo"; |
| 1118 o.catvfrRating = "foo"; | 1118 o.catvfrRating = "foo"; |
| 1119 o.cbfcRating = "foo"; | 1119 o.cbfcRating = "foo"; |
| 1120 o.cccRating = "foo"; | 1120 o.cccRating = "foo"; |
| 1121 o.cceRating = "foo"; | 1121 o.cceRating = "foo"; |
| 1122 o.chfilmRating = "foo"; | 1122 o.chfilmRating = "foo"; |
| 1123 o.chvrsRating = "foo"; | 1123 o.chvrsRating = "foo"; |
| 1124 o.cicfRating = "foo"; | 1124 o.cicfRating = "foo"; |
| 1125 o.cnaRating = "foo"; | 1125 o.cnaRating = "foo"; |
| 1126 o.csaRating = "foo"; | 1126 o.csaRating = "foo"; |
| 1127 o.cscfRating = "foo"; | 1127 o.cscfRating = "foo"; |
| 1128 o.czfilmRating = "foo"; | 1128 o.czfilmRating = "foo"; |
| 1129 o.djctqRating = "foo"; | 1129 o.djctqRating = "foo"; |
| 1130 o.djctqRatingReasons = buildUnnamed351(); | 1130 o.djctqRatingReasons = buildUnnamed1148(); |
| 1131 o.eefilmRating = "foo"; | 1131 o.eefilmRating = "foo"; |
| 1132 o.egfilmRating = "foo"; | 1132 o.egfilmRating = "foo"; |
| 1133 o.eirinRating = "foo"; | 1133 o.eirinRating = "foo"; |
| 1134 o.fcbmRating = "foo"; | 1134 o.fcbmRating = "foo"; |
| 1135 o.fcoRating = "foo"; | 1135 o.fcoRating = "foo"; |
| 1136 o.fmocRating = "foo"; | 1136 o.fmocRating = "foo"; |
| 1137 o.fpbRating = "foo"; | 1137 o.fpbRating = "foo"; |
| 1138 o.fskRating = "foo"; | 1138 o.fskRating = "foo"; |
| 1139 o.grfilmRating = "foo"; | 1139 o.grfilmRating = "foo"; |
| 1140 o.icaaRating = "foo"; | 1140 o.icaaRating = "foo"; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1192 unittest.expect(o.cccRating, unittest.equals('foo')); | 1192 unittest.expect(o.cccRating, unittest.equals('foo')); |
| 1193 unittest.expect(o.cceRating, unittest.equals('foo')); | 1193 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1194 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1194 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1195 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1195 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1196 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1196 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1197 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1197 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1198 unittest.expect(o.csaRating, unittest.equals('foo')); | 1198 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1199 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1199 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1200 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1200 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1201 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1201 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1202 checkUnnamed351(o.djctqRatingReasons); | 1202 checkUnnamed1148(o.djctqRatingReasons); |
| 1203 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1203 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1204 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1204 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1205 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1205 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1206 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1206 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1207 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1207 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1208 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1208 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1209 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1209 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1210 unittest.expect(o.fskRating, unittest.equals('foo')); | 1210 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1211 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1211 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| 1212 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1212 unittest.expect(o.icaaRating, unittest.equals('foo')); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 buildCounterGuideCategory++; | 1289 buildCounterGuideCategory++; |
| 1290 if (buildCounterGuideCategory < 3) { | 1290 if (buildCounterGuideCategory < 3) { |
| 1291 unittest.expect(o.etag, unittest.equals('foo')); | 1291 unittest.expect(o.etag, unittest.equals('foo')); |
| 1292 unittest.expect(o.id, unittest.equals('foo')); | 1292 unittest.expect(o.id, unittest.equals('foo')); |
| 1293 unittest.expect(o.kind, unittest.equals('foo')); | 1293 unittest.expect(o.kind, unittest.equals('foo')); |
| 1294 checkGuideCategorySnippet(o.snippet); | 1294 checkGuideCategorySnippet(o.snippet); |
| 1295 } | 1295 } |
| 1296 buildCounterGuideCategory--; | 1296 buildCounterGuideCategory--; |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 buildUnnamed352() { | 1299 buildUnnamed1149() { |
| 1300 var o = new core.List<api.GuideCategory>(); | 1300 var o = new core.List<api.GuideCategory>(); |
| 1301 o.add(buildGuideCategory()); | 1301 o.add(buildGuideCategory()); |
| 1302 o.add(buildGuideCategory()); | 1302 o.add(buildGuideCategory()); |
| 1303 return o; | 1303 return o; |
| 1304 } | 1304 } |
| 1305 | 1305 |
| 1306 checkUnnamed352(core.List<api.GuideCategory> o) { | 1306 checkUnnamed1149(core.List<api.GuideCategory> o) { |
| 1307 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
| 1308 checkGuideCategory(o[0]); | 1308 checkGuideCategory(o[0]); |
| 1309 checkGuideCategory(o[1]); | 1309 checkGuideCategory(o[1]); |
| 1310 } | 1310 } |
| 1311 | 1311 |
| 1312 core.int buildCounterGuideCategoryListResponse = 0; | 1312 core.int buildCounterGuideCategoryListResponse = 0; |
| 1313 buildGuideCategoryListResponse() { | 1313 buildGuideCategoryListResponse() { |
| 1314 var o = new api.GuideCategoryListResponse(); | 1314 var o = new api.GuideCategoryListResponse(); |
| 1315 buildCounterGuideCategoryListResponse++; | 1315 buildCounterGuideCategoryListResponse++; |
| 1316 if (buildCounterGuideCategoryListResponse < 3) { | 1316 if (buildCounterGuideCategoryListResponse < 3) { |
| 1317 o.etag = "foo"; | 1317 o.etag = "foo"; |
| 1318 o.eventId = "foo"; | 1318 o.eventId = "foo"; |
| 1319 o.items = buildUnnamed352(); | 1319 o.items = buildUnnamed1149(); |
| 1320 o.kind = "foo"; | 1320 o.kind = "foo"; |
| 1321 o.nextPageToken = "foo"; | 1321 o.nextPageToken = "foo"; |
| 1322 o.pageInfo = buildPageInfo(); | 1322 o.pageInfo = buildPageInfo(); |
| 1323 o.prevPageToken = "foo"; | 1323 o.prevPageToken = "foo"; |
| 1324 o.tokenPagination = buildTokenPagination(); | 1324 o.tokenPagination = buildTokenPagination(); |
| 1325 o.visitorId = "foo"; | 1325 o.visitorId = "foo"; |
| 1326 } | 1326 } |
| 1327 buildCounterGuideCategoryListResponse--; | 1327 buildCounterGuideCategoryListResponse--; |
| 1328 return o; | 1328 return o; |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1331 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 1332 buildCounterGuideCategoryListResponse++; | 1332 buildCounterGuideCategoryListResponse++; |
| 1333 if (buildCounterGuideCategoryListResponse < 3) { | 1333 if (buildCounterGuideCategoryListResponse < 3) { |
| 1334 unittest.expect(o.etag, unittest.equals('foo')); | 1334 unittest.expect(o.etag, unittest.equals('foo')); |
| 1335 unittest.expect(o.eventId, unittest.equals('foo')); | 1335 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1336 checkUnnamed352(o.items); | 1336 checkUnnamed1149(o.items); |
| 1337 unittest.expect(o.kind, unittest.equals('foo')); | 1337 unittest.expect(o.kind, unittest.equals('foo')); |
| 1338 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1338 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1339 checkPageInfo(o.pageInfo); | 1339 checkPageInfo(o.pageInfo); |
| 1340 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1340 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1341 checkTokenPagination(o.tokenPagination); | 1341 checkTokenPagination(o.tokenPagination); |
| 1342 unittest.expect(o.visitorId, unittest.equals('foo')); | 1342 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1343 } | 1343 } |
| 1344 buildCounterGuideCategoryListResponse--; | 1344 buildCounterGuideCategoryListResponse--; |
| 1345 } | 1345 } |
| 1346 | 1346 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 buildCounterI18nLanguage++; | 1383 buildCounterI18nLanguage++; |
| 1384 if (buildCounterI18nLanguage < 3) { | 1384 if (buildCounterI18nLanguage < 3) { |
| 1385 unittest.expect(o.etag, unittest.equals('foo')); | 1385 unittest.expect(o.etag, unittest.equals('foo')); |
| 1386 unittest.expect(o.id, unittest.equals('foo')); | 1386 unittest.expect(o.id, unittest.equals('foo')); |
| 1387 unittest.expect(o.kind, unittest.equals('foo')); | 1387 unittest.expect(o.kind, unittest.equals('foo')); |
| 1388 checkI18nLanguageSnippet(o.snippet); | 1388 checkI18nLanguageSnippet(o.snippet); |
| 1389 } | 1389 } |
| 1390 buildCounterI18nLanguage--; | 1390 buildCounterI18nLanguage--; |
| 1391 } | 1391 } |
| 1392 | 1392 |
| 1393 buildUnnamed353() { | 1393 buildUnnamed1150() { |
| 1394 var o = new core.List<api.I18nLanguage>(); | 1394 var o = new core.List<api.I18nLanguage>(); |
| 1395 o.add(buildI18nLanguage()); | 1395 o.add(buildI18nLanguage()); |
| 1396 o.add(buildI18nLanguage()); | 1396 o.add(buildI18nLanguage()); |
| 1397 return o; | 1397 return o; |
| 1398 } | 1398 } |
| 1399 | 1399 |
| 1400 checkUnnamed353(core.List<api.I18nLanguage> o) { | 1400 checkUnnamed1150(core.List<api.I18nLanguage> o) { |
| 1401 unittest.expect(o, unittest.hasLength(2)); | 1401 unittest.expect(o, unittest.hasLength(2)); |
| 1402 checkI18nLanguage(o[0]); | 1402 checkI18nLanguage(o[0]); |
| 1403 checkI18nLanguage(o[1]); | 1403 checkI18nLanguage(o[1]); |
| 1404 } | 1404 } |
| 1405 | 1405 |
| 1406 core.int buildCounterI18nLanguageListResponse = 0; | 1406 core.int buildCounterI18nLanguageListResponse = 0; |
| 1407 buildI18nLanguageListResponse() { | 1407 buildI18nLanguageListResponse() { |
| 1408 var o = new api.I18nLanguageListResponse(); | 1408 var o = new api.I18nLanguageListResponse(); |
| 1409 buildCounterI18nLanguageListResponse++; | 1409 buildCounterI18nLanguageListResponse++; |
| 1410 if (buildCounterI18nLanguageListResponse < 3) { | 1410 if (buildCounterI18nLanguageListResponse < 3) { |
| 1411 o.etag = "foo"; | 1411 o.etag = "foo"; |
| 1412 o.eventId = "foo"; | 1412 o.eventId = "foo"; |
| 1413 o.items = buildUnnamed353(); | 1413 o.items = buildUnnamed1150(); |
| 1414 o.kind = "foo"; | 1414 o.kind = "foo"; |
| 1415 o.visitorId = "foo"; | 1415 o.visitorId = "foo"; |
| 1416 } | 1416 } |
| 1417 buildCounterI18nLanguageListResponse--; | 1417 buildCounterI18nLanguageListResponse--; |
| 1418 return o; | 1418 return o; |
| 1419 } | 1419 } |
| 1420 | 1420 |
| 1421 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1421 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 1422 buildCounterI18nLanguageListResponse++; | 1422 buildCounterI18nLanguageListResponse++; |
| 1423 if (buildCounterI18nLanguageListResponse < 3) { | 1423 if (buildCounterI18nLanguageListResponse < 3) { |
| 1424 unittest.expect(o.etag, unittest.equals('foo')); | 1424 unittest.expect(o.etag, unittest.equals('foo')); |
| 1425 unittest.expect(o.eventId, unittest.equals('foo')); | 1425 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1426 checkUnnamed353(o.items); | 1426 checkUnnamed1150(o.items); |
| 1427 unittest.expect(o.kind, unittest.equals('foo')); | 1427 unittest.expect(o.kind, unittest.equals('foo')); |
| 1428 unittest.expect(o.visitorId, unittest.equals('foo')); | 1428 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1429 } | 1429 } |
| 1430 buildCounterI18nLanguageListResponse--; | 1430 buildCounterI18nLanguageListResponse--; |
| 1431 } | 1431 } |
| 1432 | 1432 |
| 1433 core.int buildCounterI18nLanguageSnippet = 0; | 1433 core.int buildCounterI18nLanguageSnippet = 0; |
| 1434 buildI18nLanguageSnippet() { | 1434 buildI18nLanguageSnippet() { |
| 1435 var o = new api.I18nLanguageSnippet(); | 1435 var o = new api.I18nLanguageSnippet(); |
| 1436 buildCounterI18nLanguageSnippet++; | 1436 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 buildCounterI18nRegion++; | 1469 buildCounterI18nRegion++; |
| 1470 if (buildCounterI18nRegion < 3) { | 1470 if (buildCounterI18nRegion < 3) { |
| 1471 unittest.expect(o.etag, unittest.equals('foo')); | 1471 unittest.expect(o.etag, unittest.equals('foo')); |
| 1472 unittest.expect(o.id, unittest.equals('foo')); | 1472 unittest.expect(o.id, unittest.equals('foo')); |
| 1473 unittest.expect(o.kind, unittest.equals('foo')); | 1473 unittest.expect(o.kind, unittest.equals('foo')); |
| 1474 checkI18nRegionSnippet(o.snippet); | 1474 checkI18nRegionSnippet(o.snippet); |
| 1475 } | 1475 } |
| 1476 buildCounterI18nRegion--; | 1476 buildCounterI18nRegion--; |
| 1477 } | 1477 } |
| 1478 | 1478 |
| 1479 buildUnnamed354() { | 1479 buildUnnamed1151() { |
| 1480 var o = new core.List<api.I18nRegion>(); | 1480 var o = new core.List<api.I18nRegion>(); |
| 1481 o.add(buildI18nRegion()); | 1481 o.add(buildI18nRegion()); |
| 1482 o.add(buildI18nRegion()); | 1482 o.add(buildI18nRegion()); |
| 1483 return o; | 1483 return o; |
| 1484 } | 1484 } |
| 1485 | 1485 |
| 1486 checkUnnamed354(core.List<api.I18nRegion> o) { | 1486 checkUnnamed1151(core.List<api.I18nRegion> o) { |
| 1487 unittest.expect(o, unittest.hasLength(2)); | 1487 unittest.expect(o, unittest.hasLength(2)); |
| 1488 checkI18nRegion(o[0]); | 1488 checkI18nRegion(o[0]); |
| 1489 checkI18nRegion(o[1]); | 1489 checkI18nRegion(o[1]); |
| 1490 } | 1490 } |
| 1491 | 1491 |
| 1492 core.int buildCounterI18nRegionListResponse = 0; | 1492 core.int buildCounterI18nRegionListResponse = 0; |
| 1493 buildI18nRegionListResponse() { | 1493 buildI18nRegionListResponse() { |
| 1494 var o = new api.I18nRegionListResponse(); | 1494 var o = new api.I18nRegionListResponse(); |
| 1495 buildCounterI18nRegionListResponse++; | 1495 buildCounterI18nRegionListResponse++; |
| 1496 if (buildCounterI18nRegionListResponse < 3) { | 1496 if (buildCounterI18nRegionListResponse < 3) { |
| 1497 o.etag = "foo"; | 1497 o.etag = "foo"; |
| 1498 o.eventId = "foo"; | 1498 o.eventId = "foo"; |
| 1499 o.items = buildUnnamed354(); | 1499 o.items = buildUnnamed1151(); |
| 1500 o.kind = "foo"; | 1500 o.kind = "foo"; |
| 1501 o.visitorId = "foo"; | 1501 o.visitorId = "foo"; |
| 1502 } | 1502 } |
| 1503 buildCounterI18nRegionListResponse--; | 1503 buildCounterI18nRegionListResponse--; |
| 1504 return o; | 1504 return o; |
| 1505 } | 1505 } |
| 1506 | 1506 |
| 1507 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 1507 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 1508 buildCounterI18nRegionListResponse++; | 1508 buildCounterI18nRegionListResponse++; |
| 1509 if (buildCounterI18nRegionListResponse < 3) { | 1509 if (buildCounterI18nRegionListResponse < 3) { |
| 1510 unittest.expect(o.etag, unittest.equals('foo')); | 1510 unittest.expect(o.etag, unittest.equals('foo')); |
| 1511 unittest.expect(o.eventId, unittest.equals('foo')); | 1511 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1512 checkUnnamed354(o.items); | 1512 checkUnnamed1151(o.items); |
| 1513 unittest.expect(o.kind, unittest.equals('foo')); | 1513 unittest.expect(o.kind, unittest.equals('foo')); |
| 1514 unittest.expect(o.visitorId, unittest.equals('foo')); | 1514 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1515 } | 1515 } |
| 1516 buildCounterI18nRegionListResponse--; | 1516 buildCounterI18nRegionListResponse--; |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 core.int buildCounterI18nRegionSnippet = 0; | 1519 core.int buildCounterI18nRegionSnippet = 0; |
| 1520 buildI18nRegionSnippet() { | 1520 buildI18nRegionSnippet() { |
| 1521 var o = new api.I18nRegionSnippet(); | 1521 var o = new api.I18nRegionSnippet(); |
| 1522 buildCounterI18nRegionSnippet++; | 1522 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 | 1662 |
| 1663 checkInvideoPosition(api.InvideoPosition o) { | 1663 checkInvideoPosition(api.InvideoPosition o) { |
| 1664 buildCounterInvideoPosition++; | 1664 buildCounterInvideoPosition++; |
| 1665 if (buildCounterInvideoPosition < 3) { | 1665 if (buildCounterInvideoPosition < 3) { |
| 1666 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 1666 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 1667 unittest.expect(o.type, unittest.equals('foo')); | 1667 unittest.expect(o.type, unittest.equals('foo')); |
| 1668 } | 1668 } |
| 1669 buildCounterInvideoPosition--; | 1669 buildCounterInvideoPosition--; |
| 1670 } | 1670 } |
| 1671 | 1671 |
| 1672 buildUnnamed355() { | 1672 buildUnnamed1152() { |
| 1673 var o = new core.List<api.PromotedItem>(); | 1673 var o = new core.List<api.PromotedItem>(); |
| 1674 o.add(buildPromotedItem()); | 1674 o.add(buildPromotedItem()); |
| 1675 o.add(buildPromotedItem()); | 1675 o.add(buildPromotedItem()); |
| 1676 return o; | 1676 return o; |
| 1677 } | 1677 } |
| 1678 | 1678 |
| 1679 checkUnnamed355(core.List<api.PromotedItem> o) { | 1679 checkUnnamed1152(core.List<api.PromotedItem> o) { |
| 1680 unittest.expect(o, unittest.hasLength(2)); | 1680 unittest.expect(o, unittest.hasLength(2)); |
| 1681 checkPromotedItem(o[0]); | 1681 checkPromotedItem(o[0]); |
| 1682 checkPromotedItem(o[1]); | 1682 checkPromotedItem(o[1]); |
| 1683 } | 1683 } |
| 1684 | 1684 |
| 1685 core.int buildCounterInvideoPromotion = 0; | 1685 core.int buildCounterInvideoPromotion = 0; |
| 1686 buildInvideoPromotion() { | 1686 buildInvideoPromotion() { |
| 1687 var o = new api.InvideoPromotion(); | 1687 var o = new api.InvideoPromotion(); |
| 1688 buildCounterInvideoPromotion++; | 1688 buildCounterInvideoPromotion++; |
| 1689 if (buildCounterInvideoPromotion < 3) { | 1689 if (buildCounterInvideoPromotion < 3) { |
| 1690 o.defaultTiming = buildInvideoTiming(); | 1690 o.defaultTiming = buildInvideoTiming(); |
| 1691 o.items = buildUnnamed355(); | 1691 o.items = buildUnnamed1152(); |
| 1692 o.position = buildInvideoPosition(); | 1692 o.position = buildInvideoPosition(); |
| 1693 o.useSmartTiming = true; | 1693 o.useSmartTiming = true; |
| 1694 } | 1694 } |
| 1695 buildCounterInvideoPromotion--; | 1695 buildCounterInvideoPromotion--; |
| 1696 return o; | 1696 return o; |
| 1697 } | 1697 } |
| 1698 | 1698 |
| 1699 checkInvideoPromotion(api.InvideoPromotion o) { | 1699 checkInvideoPromotion(api.InvideoPromotion o) { |
| 1700 buildCounterInvideoPromotion++; | 1700 buildCounterInvideoPromotion++; |
| 1701 if (buildCounterInvideoPromotion < 3) { | 1701 if (buildCounterInvideoPromotion < 3) { |
| 1702 checkInvideoTiming(o.defaultTiming); | 1702 checkInvideoTiming(o.defaultTiming); |
| 1703 checkUnnamed355(o.items); | 1703 checkUnnamed1152(o.items); |
| 1704 checkInvideoPosition(o.position); | 1704 checkInvideoPosition(o.position); |
| 1705 unittest.expect(o.useSmartTiming, unittest.isTrue); | 1705 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 1706 } | 1706 } |
| 1707 buildCounterInvideoPromotion--; | 1707 buildCounterInvideoPromotion--; |
| 1708 } | 1708 } |
| 1709 | 1709 |
| 1710 core.int buildCounterInvideoTiming = 0; | 1710 core.int buildCounterInvideoTiming = 0; |
| 1711 buildInvideoTiming() { | 1711 buildInvideoTiming() { |
| 1712 var o = new api.InvideoTiming(); | 1712 var o = new api.InvideoTiming(); |
| 1713 buildCounterInvideoTiming++; | 1713 buildCounterInvideoTiming++; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1785 unittest.expect(o.enableContentEncryption, unittest.isTrue); | 1785 unittest.expect(o.enableContentEncryption, unittest.isTrue); |
| 1786 unittest.expect(o.enableDvr, unittest.isTrue); | 1786 unittest.expect(o.enableDvr, unittest.isTrue); |
| 1787 unittest.expect(o.enableEmbed, unittest.isTrue); | 1787 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 1788 checkMonitorStreamInfo(o.monitorStream); | 1788 checkMonitorStreamInfo(o.monitorStream); |
| 1789 unittest.expect(o.recordFromStart, unittest.isTrue); | 1789 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 1790 unittest.expect(o.startWithSlate, unittest.isTrue); | 1790 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 1791 } | 1791 } |
| 1792 buildCounterLiveBroadcastContentDetails--; | 1792 buildCounterLiveBroadcastContentDetails--; |
| 1793 } | 1793 } |
| 1794 | 1794 |
| 1795 buildUnnamed356() { | 1795 buildUnnamed1153() { |
| 1796 var o = new core.List<api.LiveBroadcast>(); | 1796 var o = new core.List<api.LiveBroadcast>(); |
| 1797 o.add(buildLiveBroadcast()); | 1797 o.add(buildLiveBroadcast()); |
| 1798 o.add(buildLiveBroadcast()); | 1798 o.add(buildLiveBroadcast()); |
| 1799 return o; | 1799 return o; |
| 1800 } | 1800 } |
| 1801 | 1801 |
| 1802 checkUnnamed356(core.List<api.LiveBroadcast> o) { | 1802 checkUnnamed1153(core.List<api.LiveBroadcast> o) { |
| 1803 unittest.expect(o, unittest.hasLength(2)); | 1803 unittest.expect(o, unittest.hasLength(2)); |
| 1804 checkLiveBroadcast(o[0]); | 1804 checkLiveBroadcast(o[0]); |
| 1805 checkLiveBroadcast(o[1]); | 1805 checkLiveBroadcast(o[1]); |
| 1806 } | 1806 } |
| 1807 | 1807 |
| 1808 core.int buildCounterLiveBroadcastListResponse = 0; | 1808 core.int buildCounterLiveBroadcastListResponse = 0; |
| 1809 buildLiveBroadcastListResponse() { | 1809 buildLiveBroadcastListResponse() { |
| 1810 var o = new api.LiveBroadcastListResponse(); | 1810 var o = new api.LiveBroadcastListResponse(); |
| 1811 buildCounterLiveBroadcastListResponse++; | 1811 buildCounterLiveBroadcastListResponse++; |
| 1812 if (buildCounterLiveBroadcastListResponse < 3) { | 1812 if (buildCounterLiveBroadcastListResponse < 3) { |
| 1813 o.etag = "foo"; | 1813 o.etag = "foo"; |
| 1814 o.eventId = "foo"; | 1814 o.eventId = "foo"; |
| 1815 o.items = buildUnnamed356(); | 1815 o.items = buildUnnamed1153(); |
| 1816 o.kind = "foo"; | 1816 o.kind = "foo"; |
| 1817 o.nextPageToken = "foo"; | 1817 o.nextPageToken = "foo"; |
| 1818 o.pageInfo = buildPageInfo(); | 1818 o.pageInfo = buildPageInfo(); |
| 1819 o.prevPageToken = "foo"; | 1819 o.prevPageToken = "foo"; |
| 1820 o.tokenPagination = buildTokenPagination(); | 1820 o.tokenPagination = buildTokenPagination(); |
| 1821 o.visitorId = "foo"; | 1821 o.visitorId = "foo"; |
| 1822 } | 1822 } |
| 1823 buildCounterLiveBroadcastListResponse--; | 1823 buildCounterLiveBroadcastListResponse--; |
| 1824 return o; | 1824 return o; |
| 1825 } | 1825 } |
| 1826 | 1826 |
| 1827 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 1827 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 1828 buildCounterLiveBroadcastListResponse++; | 1828 buildCounterLiveBroadcastListResponse++; |
| 1829 if (buildCounterLiveBroadcastListResponse < 3) { | 1829 if (buildCounterLiveBroadcastListResponse < 3) { |
| 1830 unittest.expect(o.etag, unittest.equals('foo')); | 1830 unittest.expect(o.etag, unittest.equals('foo')); |
| 1831 unittest.expect(o.eventId, unittest.equals('foo')); | 1831 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1832 checkUnnamed356(o.items); | 1832 checkUnnamed1153(o.items); |
| 1833 unittest.expect(o.kind, unittest.equals('foo')); | 1833 unittest.expect(o.kind, unittest.equals('foo')); |
| 1834 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1834 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1835 checkPageInfo(o.pageInfo); | 1835 checkPageInfo(o.pageInfo); |
| 1836 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1836 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1837 checkTokenPagination(o.tokenPagination); | 1837 checkTokenPagination(o.tokenPagination); |
| 1838 unittest.expect(o.visitorId, unittest.equals('foo')); | 1838 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1839 } | 1839 } |
| 1840 buildCounterLiveBroadcastListResponse--; | 1840 buildCounterLiveBroadcastListResponse--; |
| 1841 } | 1841 } |
| 1842 | 1842 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1945 | 1945 |
| 1946 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 1946 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 1947 buildCounterLiveStreamContentDetails++; | 1947 buildCounterLiveStreamContentDetails++; |
| 1948 if (buildCounterLiveStreamContentDetails < 3) { | 1948 if (buildCounterLiveStreamContentDetails < 3) { |
| 1949 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 1949 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 1950 unittest.expect(o.isReusable, unittest.isTrue); | 1950 unittest.expect(o.isReusable, unittest.isTrue); |
| 1951 } | 1951 } |
| 1952 buildCounterLiveStreamContentDetails--; | 1952 buildCounterLiveStreamContentDetails--; |
| 1953 } | 1953 } |
| 1954 | 1954 |
| 1955 buildUnnamed357() { | 1955 buildUnnamed1154() { |
| 1956 var o = new core.List<api.LiveStream>(); | 1956 var o = new core.List<api.LiveStream>(); |
| 1957 o.add(buildLiveStream()); | 1957 o.add(buildLiveStream()); |
| 1958 o.add(buildLiveStream()); | 1958 o.add(buildLiveStream()); |
| 1959 return o; | 1959 return o; |
| 1960 } | 1960 } |
| 1961 | 1961 |
| 1962 checkUnnamed357(core.List<api.LiveStream> o) { | 1962 checkUnnamed1154(core.List<api.LiveStream> o) { |
| 1963 unittest.expect(o, unittest.hasLength(2)); | 1963 unittest.expect(o, unittest.hasLength(2)); |
| 1964 checkLiveStream(o[0]); | 1964 checkLiveStream(o[0]); |
| 1965 checkLiveStream(o[1]); | 1965 checkLiveStream(o[1]); |
| 1966 } | 1966 } |
| 1967 | 1967 |
| 1968 core.int buildCounterLiveStreamListResponse = 0; | 1968 core.int buildCounterLiveStreamListResponse = 0; |
| 1969 buildLiveStreamListResponse() { | 1969 buildLiveStreamListResponse() { |
| 1970 var o = new api.LiveStreamListResponse(); | 1970 var o = new api.LiveStreamListResponse(); |
| 1971 buildCounterLiveStreamListResponse++; | 1971 buildCounterLiveStreamListResponse++; |
| 1972 if (buildCounterLiveStreamListResponse < 3) { | 1972 if (buildCounterLiveStreamListResponse < 3) { |
| 1973 o.etag = "foo"; | 1973 o.etag = "foo"; |
| 1974 o.eventId = "foo"; | 1974 o.eventId = "foo"; |
| 1975 o.items = buildUnnamed357(); | 1975 o.items = buildUnnamed1154(); |
| 1976 o.kind = "foo"; | 1976 o.kind = "foo"; |
| 1977 o.nextPageToken = "foo"; | 1977 o.nextPageToken = "foo"; |
| 1978 o.pageInfo = buildPageInfo(); | 1978 o.pageInfo = buildPageInfo(); |
| 1979 o.prevPageToken = "foo"; | 1979 o.prevPageToken = "foo"; |
| 1980 o.tokenPagination = buildTokenPagination(); | 1980 o.tokenPagination = buildTokenPagination(); |
| 1981 o.visitorId = "foo"; | 1981 o.visitorId = "foo"; |
| 1982 } | 1982 } |
| 1983 buildCounterLiveStreamListResponse--; | 1983 buildCounterLiveStreamListResponse--; |
| 1984 return o; | 1984 return o; |
| 1985 } | 1985 } |
| 1986 | 1986 |
| 1987 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 1987 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 1988 buildCounterLiveStreamListResponse++; | 1988 buildCounterLiveStreamListResponse++; |
| 1989 if (buildCounterLiveStreamListResponse < 3) { | 1989 if (buildCounterLiveStreamListResponse < 3) { |
| 1990 unittest.expect(o.etag, unittest.equals('foo')); | 1990 unittest.expect(o.etag, unittest.equals('foo')); |
| 1991 unittest.expect(o.eventId, unittest.equals('foo')); | 1991 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1992 checkUnnamed357(o.items); | 1992 checkUnnamed1154(o.items); |
| 1993 unittest.expect(o.kind, unittest.equals('foo')); | 1993 unittest.expect(o.kind, unittest.equals('foo')); |
| 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1995 checkPageInfo(o.pageInfo); | 1995 checkPageInfo(o.pageInfo); |
| 1996 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1996 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1997 checkTokenPagination(o.tokenPagination); | 1997 checkTokenPagination(o.tokenPagination); |
| 1998 unittest.expect(o.visitorId, unittest.equals('foo')); | 1998 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1999 } | 1999 } |
| 2000 buildCounterLiveStreamListResponse--; | 2000 buildCounterLiveStreamListResponse--; |
| 2001 } | 2001 } |
| 2002 | 2002 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2037 } | 2037 } |
| 2038 | 2038 |
| 2039 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2039 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 2040 buildCounterLiveStreamStatus++; | 2040 buildCounterLiveStreamStatus++; |
| 2041 if (buildCounterLiveStreamStatus < 3) { | 2041 if (buildCounterLiveStreamStatus < 3) { |
| 2042 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2042 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 2043 } | 2043 } |
| 2044 buildCounterLiveStreamStatus--; | 2044 buildCounterLiveStreamStatus--; |
| 2045 } | 2045 } |
| 2046 | 2046 |
| 2047 buildUnnamed358() { | 2047 buildUnnamed1155() { |
| 2048 var o = new core.List<api.LocalizedString>(); | 2048 var o = new core.List<api.LocalizedString>(); |
| 2049 o.add(buildLocalizedString()); | 2049 o.add(buildLocalizedString()); |
| 2050 o.add(buildLocalizedString()); | 2050 o.add(buildLocalizedString()); |
| 2051 return o; | 2051 return o; |
| 2052 } | 2052 } |
| 2053 | 2053 |
| 2054 checkUnnamed358(core.List<api.LocalizedString> o) { | 2054 checkUnnamed1155(core.List<api.LocalizedString> o) { |
| 2055 unittest.expect(o, unittest.hasLength(2)); | 2055 unittest.expect(o, unittest.hasLength(2)); |
| 2056 checkLocalizedString(o[0]); | 2056 checkLocalizedString(o[0]); |
| 2057 checkLocalizedString(o[1]); | 2057 checkLocalizedString(o[1]); |
| 2058 } | 2058 } |
| 2059 | 2059 |
| 2060 core.int buildCounterLocalizedProperty = 0; | 2060 core.int buildCounterLocalizedProperty = 0; |
| 2061 buildLocalizedProperty() { | 2061 buildLocalizedProperty() { |
| 2062 var o = new api.LocalizedProperty(); | 2062 var o = new api.LocalizedProperty(); |
| 2063 buildCounterLocalizedProperty++; | 2063 buildCounterLocalizedProperty++; |
| 2064 if (buildCounterLocalizedProperty < 3) { | 2064 if (buildCounterLocalizedProperty < 3) { |
| 2065 o.default_ = "foo"; | 2065 o.default_ = "foo"; |
| 2066 o.localized = buildUnnamed358(); | 2066 o.localized = buildUnnamed1155(); |
| 2067 } | 2067 } |
| 2068 buildCounterLocalizedProperty--; | 2068 buildCounterLocalizedProperty--; |
| 2069 return o; | 2069 return o; |
| 2070 } | 2070 } |
| 2071 | 2071 |
| 2072 checkLocalizedProperty(api.LocalizedProperty o) { | 2072 checkLocalizedProperty(api.LocalizedProperty o) { |
| 2073 buildCounterLocalizedProperty++; | 2073 buildCounterLocalizedProperty++; |
| 2074 if (buildCounterLocalizedProperty < 3) { | 2074 if (buildCounterLocalizedProperty < 3) { |
| 2075 unittest.expect(o.default_, unittest.equals('foo')); | 2075 unittest.expect(o.default_, unittest.equals('foo')); |
| 2076 checkUnnamed358(o.localized); | 2076 checkUnnamed1155(o.localized); |
| 2077 } | 2077 } |
| 2078 buildCounterLocalizedProperty--; | 2078 buildCounterLocalizedProperty--; |
| 2079 } | 2079 } |
| 2080 | 2080 |
| 2081 core.int buildCounterLocalizedString = 0; | 2081 core.int buildCounterLocalizedString = 0; |
| 2082 buildLocalizedString() { | 2082 buildLocalizedString() { |
| 2083 var o = new api.LocalizedString(); | 2083 var o = new api.LocalizedString(); |
| 2084 buildCounterLocalizedString++; | 2084 buildCounterLocalizedString++; |
| 2085 if (buildCounterLocalizedString < 3) { | 2085 if (buildCounterLocalizedString < 3) { |
| 2086 o.language = "foo"; | 2086 o.language = "foo"; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2240 buildCounterPlaylistItemContentDetails++; | 2240 buildCounterPlaylistItemContentDetails++; |
| 2241 if (buildCounterPlaylistItemContentDetails < 3) { | 2241 if (buildCounterPlaylistItemContentDetails < 3) { |
| 2242 unittest.expect(o.endAt, unittest.equals('foo')); | 2242 unittest.expect(o.endAt, unittest.equals('foo')); |
| 2243 unittest.expect(o.note, unittest.equals('foo')); | 2243 unittest.expect(o.note, unittest.equals('foo')); |
| 2244 unittest.expect(o.startAt, unittest.equals('foo')); | 2244 unittest.expect(o.startAt, unittest.equals('foo')); |
| 2245 unittest.expect(o.videoId, unittest.equals('foo')); | 2245 unittest.expect(o.videoId, unittest.equals('foo')); |
| 2246 } | 2246 } |
| 2247 buildCounterPlaylistItemContentDetails--; | 2247 buildCounterPlaylistItemContentDetails--; |
| 2248 } | 2248 } |
| 2249 | 2249 |
| 2250 buildUnnamed359() { | 2250 buildUnnamed1156() { |
| 2251 var o = new core.List<api.PlaylistItem>(); | 2251 var o = new core.List<api.PlaylistItem>(); |
| 2252 o.add(buildPlaylistItem()); | 2252 o.add(buildPlaylistItem()); |
| 2253 o.add(buildPlaylistItem()); | 2253 o.add(buildPlaylistItem()); |
| 2254 return o; | 2254 return o; |
| 2255 } | 2255 } |
| 2256 | 2256 |
| 2257 checkUnnamed359(core.List<api.PlaylistItem> o) { | 2257 checkUnnamed1156(core.List<api.PlaylistItem> o) { |
| 2258 unittest.expect(o, unittest.hasLength(2)); | 2258 unittest.expect(o, unittest.hasLength(2)); |
| 2259 checkPlaylistItem(o[0]); | 2259 checkPlaylistItem(o[0]); |
| 2260 checkPlaylistItem(o[1]); | 2260 checkPlaylistItem(o[1]); |
| 2261 } | 2261 } |
| 2262 | 2262 |
| 2263 core.int buildCounterPlaylistItemListResponse = 0; | 2263 core.int buildCounterPlaylistItemListResponse = 0; |
| 2264 buildPlaylistItemListResponse() { | 2264 buildPlaylistItemListResponse() { |
| 2265 var o = new api.PlaylistItemListResponse(); | 2265 var o = new api.PlaylistItemListResponse(); |
| 2266 buildCounterPlaylistItemListResponse++; | 2266 buildCounterPlaylistItemListResponse++; |
| 2267 if (buildCounterPlaylistItemListResponse < 3) { | 2267 if (buildCounterPlaylistItemListResponse < 3) { |
| 2268 o.etag = "foo"; | 2268 o.etag = "foo"; |
| 2269 o.eventId = "foo"; | 2269 o.eventId = "foo"; |
| 2270 o.items = buildUnnamed359(); | 2270 o.items = buildUnnamed1156(); |
| 2271 o.kind = "foo"; | 2271 o.kind = "foo"; |
| 2272 o.nextPageToken = "foo"; | 2272 o.nextPageToken = "foo"; |
| 2273 o.pageInfo = buildPageInfo(); | 2273 o.pageInfo = buildPageInfo(); |
| 2274 o.prevPageToken = "foo"; | 2274 o.prevPageToken = "foo"; |
| 2275 o.tokenPagination = buildTokenPagination(); | 2275 o.tokenPagination = buildTokenPagination(); |
| 2276 o.visitorId = "foo"; | 2276 o.visitorId = "foo"; |
| 2277 } | 2277 } |
| 2278 buildCounterPlaylistItemListResponse--; | 2278 buildCounterPlaylistItemListResponse--; |
| 2279 return o; | 2279 return o; |
| 2280 } | 2280 } |
| 2281 | 2281 |
| 2282 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 2282 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 2283 buildCounterPlaylistItemListResponse++; | 2283 buildCounterPlaylistItemListResponse++; |
| 2284 if (buildCounterPlaylistItemListResponse < 3) { | 2284 if (buildCounterPlaylistItemListResponse < 3) { |
| 2285 unittest.expect(o.etag, unittest.equals('foo')); | 2285 unittest.expect(o.etag, unittest.equals('foo')); |
| 2286 unittest.expect(o.eventId, unittest.equals('foo')); | 2286 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2287 checkUnnamed359(o.items); | 2287 checkUnnamed1156(o.items); |
| 2288 unittest.expect(o.kind, unittest.equals('foo')); | 2288 unittest.expect(o.kind, unittest.equals('foo')); |
| 2289 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2289 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2290 checkPageInfo(o.pageInfo); | 2290 checkPageInfo(o.pageInfo); |
| 2291 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2291 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2292 checkTokenPagination(o.tokenPagination); | 2292 checkTokenPagination(o.tokenPagination); |
| 2293 unittest.expect(o.visitorId, unittest.equals('foo')); | 2293 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2294 } | 2294 } |
| 2295 buildCounterPlaylistItemListResponse--; | 2295 buildCounterPlaylistItemListResponse--; |
| 2296 } | 2296 } |
| 2297 | 2297 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2342 } | 2342 } |
| 2343 | 2343 |
| 2344 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 2344 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 2345 buildCounterPlaylistItemStatus++; | 2345 buildCounterPlaylistItemStatus++; |
| 2346 if (buildCounterPlaylistItemStatus < 3) { | 2346 if (buildCounterPlaylistItemStatus < 3) { |
| 2347 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 2347 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 2348 } | 2348 } |
| 2349 buildCounterPlaylistItemStatus--; | 2349 buildCounterPlaylistItemStatus--; |
| 2350 } | 2350 } |
| 2351 | 2351 |
| 2352 buildUnnamed360() { | 2352 buildUnnamed1157() { |
| 2353 var o = new core.List<api.Playlist>(); | 2353 var o = new core.List<api.Playlist>(); |
| 2354 o.add(buildPlaylist()); | 2354 o.add(buildPlaylist()); |
| 2355 o.add(buildPlaylist()); | 2355 o.add(buildPlaylist()); |
| 2356 return o; | 2356 return o; |
| 2357 } | 2357 } |
| 2358 | 2358 |
| 2359 checkUnnamed360(core.List<api.Playlist> o) { | 2359 checkUnnamed1157(core.List<api.Playlist> o) { |
| 2360 unittest.expect(o, unittest.hasLength(2)); | 2360 unittest.expect(o, unittest.hasLength(2)); |
| 2361 checkPlaylist(o[0]); | 2361 checkPlaylist(o[0]); |
| 2362 checkPlaylist(o[1]); | 2362 checkPlaylist(o[1]); |
| 2363 } | 2363 } |
| 2364 | 2364 |
| 2365 core.int buildCounterPlaylistListResponse = 0; | 2365 core.int buildCounterPlaylistListResponse = 0; |
| 2366 buildPlaylistListResponse() { | 2366 buildPlaylistListResponse() { |
| 2367 var o = new api.PlaylistListResponse(); | 2367 var o = new api.PlaylistListResponse(); |
| 2368 buildCounterPlaylistListResponse++; | 2368 buildCounterPlaylistListResponse++; |
| 2369 if (buildCounterPlaylistListResponse < 3) { | 2369 if (buildCounterPlaylistListResponse < 3) { |
| 2370 o.etag = "foo"; | 2370 o.etag = "foo"; |
| 2371 o.eventId = "foo"; | 2371 o.eventId = "foo"; |
| 2372 o.items = buildUnnamed360(); | 2372 o.items = buildUnnamed1157(); |
| 2373 o.kind = "foo"; | 2373 o.kind = "foo"; |
| 2374 o.nextPageToken = "foo"; | 2374 o.nextPageToken = "foo"; |
| 2375 o.pageInfo = buildPageInfo(); | 2375 o.pageInfo = buildPageInfo(); |
| 2376 o.prevPageToken = "foo"; | 2376 o.prevPageToken = "foo"; |
| 2377 o.tokenPagination = buildTokenPagination(); | 2377 o.tokenPagination = buildTokenPagination(); |
| 2378 o.visitorId = "foo"; | 2378 o.visitorId = "foo"; |
| 2379 } | 2379 } |
| 2380 buildCounterPlaylistListResponse--; | 2380 buildCounterPlaylistListResponse--; |
| 2381 return o; | 2381 return o; |
| 2382 } | 2382 } |
| 2383 | 2383 |
| 2384 checkPlaylistListResponse(api.PlaylistListResponse o) { | 2384 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 2385 buildCounterPlaylistListResponse++; | 2385 buildCounterPlaylistListResponse++; |
| 2386 if (buildCounterPlaylistListResponse < 3) { | 2386 if (buildCounterPlaylistListResponse < 3) { |
| 2387 unittest.expect(o.etag, unittest.equals('foo')); | 2387 unittest.expect(o.etag, unittest.equals('foo')); |
| 2388 unittest.expect(o.eventId, unittest.equals('foo')); | 2388 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2389 checkUnnamed360(o.items); | 2389 checkUnnamed1157(o.items); |
| 2390 unittest.expect(o.kind, unittest.equals('foo')); | 2390 unittest.expect(o.kind, unittest.equals('foo')); |
| 2391 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2391 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2392 checkPageInfo(o.pageInfo); | 2392 checkPageInfo(o.pageInfo); |
| 2393 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2393 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2394 checkTokenPagination(o.tokenPagination); | 2394 checkTokenPagination(o.tokenPagination); |
| 2395 unittest.expect(o.visitorId, unittest.equals('foo')); | 2395 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2396 } | 2396 } |
| 2397 buildCounterPlaylistListResponse--; | 2397 buildCounterPlaylistListResponse--; |
| 2398 } | 2398 } |
| 2399 | 2399 |
| 2400 core.int buildCounterPlaylistPlayer = 0; | 2400 core.int buildCounterPlaylistPlayer = 0; |
| 2401 buildPlaylistPlayer() { | 2401 buildPlaylistPlayer() { |
| 2402 var o = new api.PlaylistPlayer(); | 2402 var o = new api.PlaylistPlayer(); |
| 2403 buildCounterPlaylistPlayer++; | 2403 buildCounterPlaylistPlayer++; |
| 2404 if (buildCounterPlaylistPlayer < 3) { | 2404 if (buildCounterPlaylistPlayer < 3) { |
| 2405 o.embedHtml = "foo"; | 2405 o.embedHtml = "foo"; |
| 2406 } | 2406 } |
| 2407 buildCounterPlaylistPlayer--; | 2407 buildCounterPlaylistPlayer--; |
| 2408 return o; | 2408 return o; |
| 2409 } | 2409 } |
| 2410 | 2410 |
| 2411 checkPlaylistPlayer(api.PlaylistPlayer o) { | 2411 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 2412 buildCounterPlaylistPlayer++; | 2412 buildCounterPlaylistPlayer++; |
| 2413 if (buildCounterPlaylistPlayer < 3) { | 2413 if (buildCounterPlaylistPlayer < 3) { |
| 2414 unittest.expect(o.embedHtml, unittest.equals('foo')); | 2414 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 2415 } | 2415 } |
| 2416 buildCounterPlaylistPlayer--; | 2416 buildCounterPlaylistPlayer--; |
| 2417 } | 2417 } |
| 2418 | 2418 |
| 2419 buildUnnamed361() { | 2419 buildUnnamed1158() { |
| 2420 var o = new core.List<core.String>(); | 2420 var o = new core.List<core.String>(); |
| 2421 o.add("foo"); | 2421 o.add("foo"); |
| 2422 o.add("foo"); | 2422 o.add("foo"); |
| 2423 return o; | 2423 return o; |
| 2424 } | 2424 } |
| 2425 | 2425 |
| 2426 checkUnnamed361(core.List<core.String> o) { | 2426 checkUnnamed1158(core.List<core.String> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
| 2428 unittest.expect(o[0], unittest.equals('foo')); | 2428 unittest.expect(o[0], unittest.equals('foo')); |
| 2429 unittest.expect(o[1], unittest.equals('foo')); | 2429 unittest.expect(o[1], unittest.equals('foo')); |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 core.int buildCounterPlaylistSnippet = 0; | 2432 core.int buildCounterPlaylistSnippet = 0; |
| 2433 buildPlaylistSnippet() { | 2433 buildPlaylistSnippet() { |
| 2434 var o = new api.PlaylistSnippet(); | 2434 var o = new api.PlaylistSnippet(); |
| 2435 buildCounterPlaylistSnippet++; | 2435 buildCounterPlaylistSnippet++; |
| 2436 if (buildCounterPlaylistSnippet < 3) { | 2436 if (buildCounterPlaylistSnippet < 3) { |
| 2437 o.channelId = "foo"; | 2437 o.channelId = "foo"; |
| 2438 o.channelTitle = "foo"; | 2438 o.channelTitle = "foo"; |
| 2439 o.description = "foo"; | 2439 o.description = "foo"; |
| 2440 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2440 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2441 o.tags = buildUnnamed361(); | 2441 o.tags = buildUnnamed1158(); |
| 2442 o.thumbnails = buildThumbnailDetails(); | 2442 o.thumbnails = buildThumbnailDetails(); |
| 2443 o.title = "foo"; | 2443 o.title = "foo"; |
| 2444 } | 2444 } |
| 2445 buildCounterPlaylistSnippet--; | 2445 buildCounterPlaylistSnippet--; |
| 2446 return o; | 2446 return o; |
| 2447 } | 2447 } |
| 2448 | 2448 |
| 2449 checkPlaylistSnippet(api.PlaylistSnippet o) { | 2449 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 2450 buildCounterPlaylistSnippet++; | 2450 buildCounterPlaylistSnippet++; |
| 2451 if (buildCounterPlaylistSnippet < 3) { | 2451 if (buildCounterPlaylistSnippet < 3) { |
| 2452 unittest.expect(o.channelId, unittest.equals('foo')); | 2452 unittest.expect(o.channelId, unittest.equals('foo')); |
| 2453 unittest.expect(o.channelTitle, unittest.equals('foo')); | 2453 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 2454 unittest.expect(o.description, unittest.equals('foo')); | 2454 unittest.expect(o.description, unittest.equals('foo')); |
| 2455 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 2455 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 2456 checkUnnamed361(o.tags); | 2456 checkUnnamed1158(o.tags); |
| 2457 checkThumbnailDetails(o.thumbnails); | 2457 checkThumbnailDetails(o.thumbnails); |
| 2458 unittest.expect(o.title, unittest.equals('foo')); | 2458 unittest.expect(o.title, unittest.equals('foo')); |
| 2459 } | 2459 } |
| 2460 buildCounterPlaylistSnippet--; | 2460 buildCounterPlaylistSnippet--; |
| 2461 } | 2461 } |
| 2462 | 2462 |
| 2463 core.int buildCounterPlaylistStatus = 0; | 2463 core.int buildCounterPlaylistStatus = 0; |
| 2464 buildPlaylistStatus() { | 2464 buildPlaylistStatus() { |
| 2465 var o = new api.PlaylistStatus(); | 2465 var o = new api.PlaylistStatus(); |
| 2466 buildCounterPlaylistStatus++; | 2466 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2568 buildCounterResourceId++; | 2568 buildCounterResourceId++; |
| 2569 if (buildCounterResourceId < 3) { | 2569 if (buildCounterResourceId < 3) { |
| 2570 unittest.expect(o.channelId, unittest.equals('foo')); | 2570 unittest.expect(o.channelId, unittest.equals('foo')); |
| 2571 unittest.expect(o.kind, unittest.equals('foo')); | 2571 unittest.expect(o.kind, unittest.equals('foo')); |
| 2572 unittest.expect(o.playlistId, unittest.equals('foo')); | 2572 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 2573 unittest.expect(o.videoId, unittest.equals('foo')); | 2573 unittest.expect(o.videoId, unittest.equals('foo')); |
| 2574 } | 2574 } |
| 2575 buildCounterResourceId--; | 2575 buildCounterResourceId--; |
| 2576 } | 2576 } |
| 2577 | 2577 |
| 2578 buildUnnamed362() { | 2578 buildUnnamed1159() { |
| 2579 var o = new core.List<api.SearchResult>(); | 2579 var o = new core.List<api.SearchResult>(); |
| 2580 o.add(buildSearchResult()); | 2580 o.add(buildSearchResult()); |
| 2581 o.add(buildSearchResult()); | 2581 o.add(buildSearchResult()); |
| 2582 return o; | 2582 return o; |
| 2583 } | 2583 } |
| 2584 | 2584 |
| 2585 checkUnnamed362(core.List<api.SearchResult> o) { | 2585 checkUnnamed1159(core.List<api.SearchResult> o) { |
| 2586 unittest.expect(o, unittest.hasLength(2)); | 2586 unittest.expect(o, unittest.hasLength(2)); |
| 2587 checkSearchResult(o[0]); | 2587 checkSearchResult(o[0]); |
| 2588 checkSearchResult(o[1]); | 2588 checkSearchResult(o[1]); |
| 2589 } | 2589 } |
| 2590 | 2590 |
| 2591 core.int buildCounterSearchListResponse = 0; | 2591 core.int buildCounterSearchListResponse = 0; |
| 2592 buildSearchListResponse() { | 2592 buildSearchListResponse() { |
| 2593 var o = new api.SearchListResponse(); | 2593 var o = new api.SearchListResponse(); |
| 2594 buildCounterSearchListResponse++; | 2594 buildCounterSearchListResponse++; |
| 2595 if (buildCounterSearchListResponse < 3) { | 2595 if (buildCounterSearchListResponse < 3) { |
| 2596 o.etag = "foo"; | 2596 o.etag = "foo"; |
| 2597 o.eventId = "foo"; | 2597 o.eventId = "foo"; |
| 2598 o.items = buildUnnamed362(); | 2598 o.items = buildUnnamed1159(); |
| 2599 o.kind = "foo"; | 2599 o.kind = "foo"; |
| 2600 o.nextPageToken = "foo"; | 2600 o.nextPageToken = "foo"; |
| 2601 o.pageInfo = buildPageInfo(); | 2601 o.pageInfo = buildPageInfo(); |
| 2602 o.prevPageToken = "foo"; | 2602 o.prevPageToken = "foo"; |
| 2603 o.tokenPagination = buildTokenPagination(); | 2603 o.tokenPagination = buildTokenPagination(); |
| 2604 o.visitorId = "foo"; | 2604 o.visitorId = "foo"; |
| 2605 } | 2605 } |
| 2606 buildCounterSearchListResponse--; | 2606 buildCounterSearchListResponse--; |
| 2607 return o; | 2607 return o; |
| 2608 } | 2608 } |
| 2609 | 2609 |
| 2610 checkSearchListResponse(api.SearchListResponse o) { | 2610 checkSearchListResponse(api.SearchListResponse o) { |
| 2611 buildCounterSearchListResponse++; | 2611 buildCounterSearchListResponse++; |
| 2612 if (buildCounterSearchListResponse < 3) { | 2612 if (buildCounterSearchListResponse < 3) { |
| 2613 unittest.expect(o.etag, unittest.equals('foo')); | 2613 unittest.expect(o.etag, unittest.equals('foo')); |
| 2614 unittest.expect(o.eventId, unittest.equals('foo')); | 2614 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2615 checkUnnamed362(o.items); | 2615 checkUnnamed1159(o.items); |
| 2616 unittest.expect(o.kind, unittest.equals('foo')); | 2616 unittest.expect(o.kind, unittest.equals('foo')); |
| 2617 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2617 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2618 checkPageInfo(o.pageInfo); | 2618 checkPageInfo(o.pageInfo); |
| 2619 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2619 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2620 checkTokenPagination(o.tokenPagination); | 2620 checkTokenPagination(o.tokenPagination); |
| 2621 unittest.expect(o.visitorId, unittest.equals('foo')); | 2621 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2622 } | 2622 } |
| 2623 buildCounterSearchListResponse--; | 2623 buildCounterSearchListResponse--; |
| 2624 } | 2624 } |
| 2625 | 2625 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2724 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 2724 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 2725 buildCounterSubscriptionContentDetails++; | 2725 buildCounterSubscriptionContentDetails++; |
| 2726 if (buildCounterSubscriptionContentDetails < 3) { | 2726 if (buildCounterSubscriptionContentDetails < 3) { |
| 2727 unittest.expect(o.activityType, unittest.equals('foo')); | 2727 unittest.expect(o.activityType, unittest.equals('foo')); |
| 2728 unittest.expect(o.newItemCount, unittest.equals(42)); | 2728 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 2729 unittest.expect(o.totalItemCount, unittest.equals(42)); | 2729 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 2730 } | 2730 } |
| 2731 buildCounterSubscriptionContentDetails--; | 2731 buildCounterSubscriptionContentDetails--; |
| 2732 } | 2732 } |
| 2733 | 2733 |
| 2734 buildUnnamed363() { | 2734 buildUnnamed1160() { |
| 2735 var o = new core.List<api.Subscription>(); | 2735 var o = new core.List<api.Subscription>(); |
| 2736 o.add(buildSubscription()); | 2736 o.add(buildSubscription()); |
| 2737 o.add(buildSubscription()); | 2737 o.add(buildSubscription()); |
| 2738 return o; | 2738 return o; |
| 2739 } | 2739 } |
| 2740 | 2740 |
| 2741 checkUnnamed363(core.List<api.Subscription> o) { | 2741 checkUnnamed1160(core.List<api.Subscription> o) { |
| 2742 unittest.expect(o, unittest.hasLength(2)); | 2742 unittest.expect(o, unittest.hasLength(2)); |
| 2743 checkSubscription(o[0]); | 2743 checkSubscription(o[0]); |
| 2744 checkSubscription(o[1]); | 2744 checkSubscription(o[1]); |
| 2745 } | 2745 } |
| 2746 | 2746 |
| 2747 core.int buildCounterSubscriptionListResponse = 0; | 2747 core.int buildCounterSubscriptionListResponse = 0; |
| 2748 buildSubscriptionListResponse() { | 2748 buildSubscriptionListResponse() { |
| 2749 var o = new api.SubscriptionListResponse(); | 2749 var o = new api.SubscriptionListResponse(); |
| 2750 buildCounterSubscriptionListResponse++; | 2750 buildCounterSubscriptionListResponse++; |
| 2751 if (buildCounterSubscriptionListResponse < 3) { | 2751 if (buildCounterSubscriptionListResponse < 3) { |
| 2752 o.etag = "foo"; | 2752 o.etag = "foo"; |
| 2753 o.eventId = "foo"; | 2753 o.eventId = "foo"; |
| 2754 o.items = buildUnnamed363(); | 2754 o.items = buildUnnamed1160(); |
| 2755 o.kind = "foo"; | 2755 o.kind = "foo"; |
| 2756 o.nextPageToken = "foo"; | 2756 o.nextPageToken = "foo"; |
| 2757 o.pageInfo = buildPageInfo(); | 2757 o.pageInfo = buildPageInfo(); |
| 2758 o.prevPageToken = "foo"; | 2758 o.prevPageToken = "foo"; |
| 2759 o.tokenPagination = buildTokenPagination(); | 2759 o.tokenPagination = buildTokenPagination(); |
| 2760 o.visitorId = "foo"; | 2760 o.visitorId = "foo"; |
| 2761 } | 2761 } |
| 2762 buildCounterSubscriptionListResponse--; | 2762 buildCounterSubscriptionListResponse--; |
| 2763 return o; | 2763 return o; |
| 2764 } | 2764 } |
| 2765 | 2765 |
| 2766 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 2766 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 2767 buildCounterSubscriptionListResponse++; | 2767 buildCounterSubscriptionListResponse++; |
| 2768 if (buildCounterSubscriptionListResponse < 3) { | 2768 if (buildCounterSubscriptionListResponse < 3) { |
| 2769 unittest.expect(o.etag, unittest.equals('foo')); | 2769 unittest.expect(o.etag, unittest.equals('foo')); |
| 2770 unittest.expect(o.eventId, unittest.equals('foo')); | 2770 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2771 checkUnnamed363(o.items); | 2771 checkUnnamed1160(o.items); |
| 2772 unittest.expect(o.kind, unittest.equals('foo')); | 2772 unittest.expect(o.kind, unittest.equals('foo')); |
| 2773 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2773 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2774 checkPageInfo(o.pageInfo); | 2774 checkPageInfo(o.pageInfo); |
| 2775 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2775 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2776 checkTokenPagination(o.tokenPagination); | 2776 checkTokenPagination(o.tokenPagination); |
| 2777 unittest.expect(o.visitorId, unittest.equals('foo')); | 2777 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2778 } | 2778 } |
| 2779 buildCounterSubscriptionListResponse--; | 2779 buildCounterSubscriptionListResponse--; |
| 2780 } | 2780 } |
| 2781 | 2781 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2878 if (buildCounterThumbnailDetails < 3) { | 2878 if (buildCounterThumbnailDetails < 3) { |
| 2879 checkThumbnail(o.default_); | 2879 checkThumbnail(o.default_); |
| 2880 checkThumbnail(o.high); | 2880 checkThumbnail(o.high); |
| 2881 checkThumbnail(o.maxres); | 2881 checkThumbnail(o.maxres); |
| 2882 checkThumbnail(o.medium); | 2882 checkThumbnail(o.medium); |
| 2883 checkThumbnail(o.standard); | 2883 checkThumbnail(o.standard); |
| 2884 } | 2884 } |
| 2885 buildCounterThumbnailDetails--; | 2885 buildCounterThumbnailDetails--; |
| 2886 } | 2886 } |
| 2887 | 2887 |
| 2888 buildUnnamed364() { | 2888 buildUnnamed1161() { |
| 2889 var o = new core.List<api.ThumbnailDetails>(); | 2889 var o = new core.List<api.ThumbnailDetails>(); |
| 2890 o.add(buildThumbnailDetails()); | 2890 o.add(buildThumbnailDetails()); |
| 2891 o.add(buildThumbnailDetails()); | 2891 o.add(buildThumbnailDetails()); |
| 2892 return o; | 2892 return o; |
| 2893 } | 2893 } |
| 2894 | 2894 |
| 2895 checkUnnamed364(core.List<api.ThumbnailDetails> o) { | 2895 checkUnnamed1161(core.List<api.ThumbnailDetails> o) { |
| 2896 unittest.expect(o, unittest.hasLength(2)); | 2896 unittest.expect(o, unittest.hasLength(2)); |
| 2897 checkThumbnailDetails(o[0]); | 2897 checkThumbnailDetails(o[0]); |
| 2898 checkThumbnailDetails(o[1]); | 2898 checkThumbnailDetails(o[1]); |
| 2899 } | 2899 } |
| 2900 | 2900 |
| 2901 core.int buildCounterThumbnailSetResponse = 0; | 2901 core.int buildCounterThumbnailSetResponse = 0; |
| 2902 buildThumbnailSetResponse() { | 2902 buildThumbnailSetResponse() { |
| 2903 var o = new api.ThumbnailSetResponse(); | 2903 var o = new api.ThumbnailSetResponse(); |
| 2904 buildCounterThumbnailSetResponse++; | 2904 buildCounterThumbnailSetResponse++; |
| 2905 if (buildCounterThumbnailSetResponse < 3) { | 2905 if (buildCounterThumbnailSetResponse < 3) { |
| 2906 o.etag = "foo"; | 2906 o.etag = "foo"; |
| 2907 o.eventId = "foo"; | 2907 o.eventId = "foo"; |
| 2908 o.items = buildUnnamed364(); | 2908 o.items = buildUnnamed1161(); |
| 2909 o.kind = "foo"; | 2909 o.kind = "foo"; |
| 2910 o.visitorId = "foo"; | 2910 o.visitorId = "foo"; |
| 2911 } | 2911 } |
| 2912 buildCounterThumbnailSetResponse--; | 2912 buildCounterThumbnailSetResponse--; |
| 2913 return o; | 2913 return o; |
| 2914 } | 2914 } |
| 2915 | 2915 |
| 2916 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 2916 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 2917 buildCounterThumbnailSetResponse++; | 2917 buildCounterThumbnailSetResponse++; |
| 2918 if (buildCounterThumbnailSetResponse < 3) { | 2918 if (buildCounterThumbnailSetResponse < 3) { |
| 2919 unittest.expect(o.etag, unittest.equals('foo')); | 2919 unittest.expect(o.etag, unittest.equals('foo')); |
| 2920 unittest.expect(o.eventId, unittest.equals('foo')); | 2920 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2921 checkUnnamed364(o.items); | 2921 checkUnnamed1161(o.items); |
| 2922 unittest.expect(o.kind, unittest.equals('foo')); | 2922 unittest.expect(o.kind, unittest.equals('foo')); |
| 2923 unittest.expect(o.visitorId, unittest.equals('foo')); | 2923 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2924 } | 2924 } |
| 2925 buildCounterThumbnailSetResponse--; | 2925 buildCounterThumbnailSetResponse--; |
| 2926 } | 2926 } |
| 2927 | 2927 |
| 2928 core.int buildCounterTokenPagination = 0; | 2928 core.int buildCounterTokenPagination = 0; |
| 2929 buildTokenPagination() { | 2929 buildTokenPagination() { |
| 2930 var o = new api.TokenPagination(); | 2930 var o = new api.TokenPagination(); |
| 2931 buildCounterTokenPagination++; | 2931 buildCounterTokenPagination++; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3036 buildCounterVideoCategory++; | 3036 buildCounterVideoCategory++; |
| 3037 if (buildCounterVideoCategory < 3) { | 3037 if (buildCounterVideoCategory < 3) { |
| 3038 unittest.expect(o.etag, unittest.equals('foo')); | 3038 unittest.expect(o.etag, unittest.equals('foo')); |
| 3039 unittest.expect(o.id, unittest.equals('foo')); | 3039 unittest.expect(o.id, unittest.equals('foo')); |
| 3040 unittest.expect(o.kind, unittest.equals('foo')); | 3040 unittest.expect(o.kind, unittest.equals('foo')); |
| 3041 checkVideoCategorySnippet(o.snippet); | 3041 checkVideoCategorySnippet(o.snippet); |
| 3042 } | 3042 } |
| 3043 buildCounterVideoCategory--; | 3043 buildCounterVideoCategory--; |
| 3044 } | 3044 } |
| 3045 | 3045 |
| 3046 buildUnnamed365() { | 3046 buildUnnamed1162() { |
| 3047 var o = new core.List<api.VideoCategory>(); | 3047 var o = new core.List<api.VideoCategory>(); |
| 3048 o.add(buildVideoCategory()); | 3048 o.add(buildVideoCategory()); |
| 3049 o.add(buildVideoCategory()); | 3049 o.add(buildVideoCategory()); |
| 3050 return o; | 3050 return o; |
| 3051 } | 3051 } |
| 3052 | 3052 |
| 3053 checkUnnamed365(core.List<api.VideoCategory> o) { | 3053 checkUnnamed1162(core.List<api.VideoCategory> o) { |
| 3054 unittest.expect(o, unittest.hasLength(2)); | 3054 unittest.expect(o, unittest.hasLength(2)); |
| 3055 checkVideoCategory(o[0]); | 3055 checkVideoCategory(o[0]); |
| 3056 checkVideoCategory(o[1]); | 3056 checkVideoCategory(o[1]); |
| 3057 } | 3057 } |
| 3058 | 3058 |
| 3059 core.int buildCounterVideoCategoryListResponse = 0; | 3059 core.int buildCounterVideoCategoryListResponse = 0; |
| 3060 buildVideoCategoryListResponse() { | 3060 buildVideoCategoryListResponse() { |
| 3061 var o = new api.VideoCategoryListResponse(); | 3061 var o = new api.VideoCategoryListResponse(); |
| 3062 buildCounterVideoCategoryListResponse++; | 3062 buildCounterVideoCategoryListResponse++; |
| 3063 if (buildCounterVideoCategoryListResponse < 3) { | 3063 if (buildCounterVideoCategoryListResponse < 3) { |
| 3064 o.etag = "foo"; | 3064 o.etag = "foo"; |
| 3065 o.eventId = "foo"; | 3065 o.eventId = "foo"; |
| 3066 o.items = buildUnnamed365(); | 3066 o.items = buildUnnamed1162(); |
| 3067 o.kind = "foo"; | 3067 o.kind = "foo"; |
| 3068 o.nextPageToken = "foo"; | 3068 o.nextPageToken = "foo"; |
| 3069 o.pageInfo = buildPageInfo(); | 3069 o.pageInfo = buildPageInfo(); |
| 3070 o.prevPageToken = "foo"; | 3070 o.prevPageToken = "foo"; |
| 3071 o.tokenPagination = buildTokenPagination(); | 3071 o.tokenPagination = buildTokenPagination(); |
| 3072 o.visitorId = "foo"; | 3072 o.visitorId = "foo"; |
| 3073 } | 3073 } |
| 3074 buildCounterVideoCategoryListResponse--; | 3074 buildCounterVideoCategoryListResponse--; |
| 3075 return o; | 3075 return o; |
| 3076 } | 3076 } |
| 3077 | 3077 |
| 3078 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 3078 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 3079 buildCounterVideoCategoryListResponse++; | 3079 buildCounterVideoCategoryListResponse++; |
| 3080 if (buildCounterVideoCategoryListResponse < 3) { | 3080 if (buildCounterVideoCategoryListResponse < 3) { |
| 3081 unittest.expect(o.etag, unittest.equals('foo')); | 3081 unittest.expect(o.etag, unittest.equals('foo')); |
| 3082 unittest.expect(o.eventId, unittest.equals('foo')); | 3082 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3083 checkUnnamed365(o.items); | 3083 checkUnnamed1162(o.items); |
| 3084 unittest.expect(o.kind, unittest.equals('foo')); | 3084 unittest.expect(o.kind, unittest.equals('foo')); |
| 3085 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3085 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3086 checkPageInfo(o.pageInfo); | 3086 checkPageInfo(o.pageInfo); |
| 3087 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3087 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3088 checkTokenPagination(o.tokenPagination); | 3088 checkTokenPagination(o.tokenPagination); |
| 3089 unittest.expect(o.visitorId, unittest.equals('foo')); | 3089 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3090 } | 3090 } |
| 3091 buildCounterVideoCategoryListResponse--; | 3091 buildCounterVideoCategoryListResponse--; |
| 3092 } | 3092 } |
| 3093 | 3093 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3140 checkAccessPolicy(o.countryRestriction); | 3140 checkAccessPolicy(o.countryRestriction); |
| 3141 unittest.expect(o.definition, unittest.equals('foo')); | 3141 unittest.expect(o.definition, unittest.equals('foo')); |
| 3142 unittest.expect(o.dimension, unittest.equals('foo')); | 3142 unittest.expect(o.dimension, unittest.equals('foo')); |
| 3143 unittest.expect(o.duration, unittest.equals('foo')); | 3143 unittest.expect(o.duration, unittest.equals('foo')); |
| 3144 unittest.expect(o.licensedContent, unittest.isTrue); | 3144 unittest.expect(o.licensedContent, unittest.isTrue); |
| 3145 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 3145 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 3146 } | 3146 } |
| 3147 buildCounterVideoContentDetails--; | 3147 buildCounterVideoContentDetails--; |
| 3148 } | 3148 } |
| 3149 | 3149 |
| 3150 buildUnnamed366() { | 3150 buildUnnamed1163() { |
| 3151 var o = new core.List<core.String>(); | 3151 var o = new core.List<core.String>(); |
| 3152 o.add("foo"); | 3152 o.add("foo"); |
| 3153 o.add("foo"); | 3153 o.add("foo"); |
| 3154 return o; | 3154 return o; |
| 3155 } | 3155 } |
| 3156 | 3156 |
| 3157 checkUnnamed366(core.List<core.String> o) { | 3157 checkUnnamed1163(core.List<core.String> o) { |
| 3158 unittest.expect(o, unittest.hasLength(2)); | 3158 unittest.expect(o, unittest.hasLength(2)); |
| 3159 unittest.expect(o[0], unittest.equals('foo')); | 3159 unittest.expect(o[0], unittest.equals('foo')); |
| 3160 unittest.expect(o[1], unittest.equals('foo')); | 3160 unittest.expect(o[1], unittest.equals('foo')); |
| 3161 } | 3161 } |
| 3162 | 3162 |
| 3163 buildUnnamed367() { | 3163 buildUnnamed1164() { |
| 3164 var o = new core.List<core.String>(); | 3164 var o = new core.List<core.String>(); |
| 3165 o.add("foo"); | 3165 o.add("foo"); |
| 3166 o.add("foo"); | 3166 o.add("foo"); |
| 3167 return o; | 3167 return o; |
| 3168 } | 3168 } |
| 3169 | 3169 |
| 3170 checkUnnamed367(core.List<core.String> o) { | 3170 checkUnnamed1164(core.List<core.String> o) { |
| 3171 unittest.expect(o, unittest.hasLength(2)); | 3171 unittest.expect(o, unittest.hasLength(2)); |
| 3172 unittest.expect(o[0], unittest.equals('foo')); | 3172 unittest.expect(o[0], unittest.equals('foo')); |
| 3173 unittest.expect(o[1], unittest.equals('foo')); | 3173 unittest.expect(o[1], unittest.equals('foo')); |
| 3174 } | 3174 } |
| 3175 | 3175 |
| 3176 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 3176 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 3177 buildVideoContentDetailsRegionRestriction() { | 3177 buildVideoContentDetailsRegionRestriction() { |
| 3178 var o = new api.VideoContentDetailsRegionRestriction(); | 3178 var o = new api.VideoContentDetailsRegionRestriction(); |
| 3179 buildCounterVideoContentDetailsRegionRestriction++; | 3179 buildCounterVideoContentDetailsRegionRestriction++; |
| 3180 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3180 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 3181 o.allowed = buildUnnamed366(); | 3181 o.allowed = buildUnnamed1163(); |
| 3182 o.blocked = buildUnnamed367(); | 3182 o.blocked = buildUnnamed1164(); |
| 3183 } | 3183 } |
| 3184 buildCounterVideoContentDetailsRegionRestriction--; | 3184 buildCounterVideoContentDetailsRegionRestriction--; |
| 3185 return o; | 3185 return o; |
| 3186 } | 3186 } |
| 3187 | 3187 |
| 3188 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 3188 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 3189 buildCounterVideoContentDetailsRegionRestriction++; | 3189 buildCounterVideoContentDetailsRegionRestriction++; |
| 3190 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3190 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 3191 checkUnnamed366(o.allowed); | 3191 checkUnnamed1163(o.allowed); |
| 3192 checkUnnamed367(o.blocked); | 3192 checkUnnamed1164(o.blocked); |
| 3193 } | 3193 } |
| 3194 buildCounterVideoContentDetailsRegionRestriction--; | 3194 buildCounterVideoContentDetailsRegionRestriction--; |
| 3195 } | 3195 } |
| 3196 | 3196 |
| 3197 core.int buildCounterVideoConversionPing = 0; | 3197 core.int buildCounterVideoConversionPing = 0; |
| 3198 buildVideoConversionPing() { | 3198 buildVideoConversionPing() { |
| 3199 var o = new api.VideoConversionPing(); | 3199 var o = new api.VideoConversionPing(); |
| 3200 buildCounterVideoConversionPing++; | 3200 buildCounterVideoConversionPing++; |
| 3201 if (buildCounterVideoConversionPing < 3) { | 3201 if (buildCounterVideoConversionPing < 3) { |
| 3202 o.context = "foo"; | 3202 o.context = "foo"; |
| 3203 o.conversionUrl = "foo"; | 3203 o.conversionUrl = "foo"; |
| 3204 } | 3204 } |
| 3205 buildCounterVideoConversionPing--; | 3205 buildCounterVideoConversionPing--; |
| 3206 return o; | 3206 return o; |
| 3207 } | 3207 } |
| 3208 | 3208 |
| 3209 checkVideoConversionPing(api.VideoConversionPing o) { | 3209 checkVideoConversionPing(api.VideoConversionPing o) { |
| 3210 buildCounterVideoConversionPing++; | 3210 buildCounterVideoConversionPing++; |
| 3211 if (buildCounterVideoConversionPing < 3) { | 3211 if (buildCounterVideoConversionPing < 3) { |
| 3212 unittest.expect(o.context, unittest.equals('foo')); | 3212 unittest.expect(o.context, unittest.equals('foo')); |
| 3213 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 3213 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 3214 } | 3214 } |
| 3215 buildCounterVideoConversionPing--; | 3215 buildCounterVideoConversionPing--; |
| 3216 } | 3216 } |
| 3217 | 3217 |
| 3218 buildUnnamed368() { | 3218 buildUnnamed1165() { |
| 3219 var o = new core.List<api.VideoConversionPing>(); | 3219 var o = new core.List<api.VideoConversionPing>(); |
| 3220 o.add(buildVideoConversionPing()); | 3220 o.add(buildVideoConversionPing()); |
| 3221 o.add(buildVideoConversionPing()); | 3221 o.add(buildVideoConversionPing()); |
| 3222 return o; | 3222 return o; |
| 3223 } | 3223 } |
| 3224 | 3224 |
| 3225 checkUnnamed368(core.List<api.VideoConversionPing> o) { | 3225 checkUnnamed1165(core.List<api.VideoConversionPing> o) { |
| 3226 unittest.expect(o, unittest.hasLength(2)); | 3226 unittest.expect(o, unittest.hasLength(2)); |
| 3227 checkVideoConversionPing(o[0]); | 3227 checkVideoConversionPing(o[0]); |
| 3228 checkVideoConversionPing(o[1]); | 3228 checkVideoConversionPing(o[1]); |
| 3229 } | 3229 } |
| 3230 | 3230 |
| 3231 core.int buildCounterVideoConversionPings = 0; | 3231 core.int buildCounterVideoConversionPings = 0; |
| 3232 buildVideoConversionPings() { | 3232 buildVideoConversionPings() { |
| 3233 var o = new api.VideoConversionPings(); | 3233 var o = new api.VideoConversionPings(); |
| 3234 buildCounterVideoConversionPings++; | 3234 buildCounterVideoConversionPings++; |
| 3235 if (buildCounterVideoConversionPings < 3) { | 3235 if (buildCounterVideoConversionPings < 3) { |
| 3236 o.pings = buildUnnamed368(); | 3236 o.pings = buildUnnamed1165(); |
| 3237 } | 3237 } |
| 3238 buildCounterVideoConversionPings--; | 3238 buildCounterVideoConversionPings--; |
| 3239 return o; | 3239 return o; |
| 3240 } | 3240 } |
| 3241 | 3241 |
| 3242 checkVideoConversionPings(api.VideoConversionPings o) { | 3242 checkVideoConversionPings(api.VideoConversionPings o) { |
| 3243 buildCounterVideoConversionPings++; | 3243 buildCounterVideoConversionPings++; |
| 3244 if (buildCounterVideoConversionPings < 3) { | 3244 if (buildCounterVideoConversionPings < 3) { |
| 3245 checkUnnamed368(o.pings); | 3245 checkUnnamed1165(o.pings); |
| 3246 } | 3246 } |
| 3247 buildCounterVideoConversionPings--; | 3247 buildCounterVideoConversionPings--; |
| 3248 } | 3248 } |
| 3249 | 3249 |
| 3250 buildUnnamed369() { | 3250 buildUnnamed1166() { |
| 3251 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 3251 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 3252 o.add(buildVideoFileDetailsAudioStream()); | 3252 o.add(buildVideoFileDetailsAudioStream()); |
| 3253 o.add(buildVideoFileDetailsAudioStream()); | 3253 o.add(buildVideoFileDetailsAudioStream()); |
| 3254 return o; | 3254 return o; |
| 3255 } | 3255 } |
| 3256 | 3256 |
| 3257 checkUnnamed369(core.List<api.VideoFileDetailsAudioStream> o) { | 3257 checkUnnamed1166(core.List<api.VideoFileDetailsAudioStream> o) { |
| 3258 unittest.expect(o, unittest.hasLength(2)); | 3258 unittest.expect(o, unittest.hasLength(2)); |
| 3259 checkVideoFileDetailsAudioStream(o[0]); | 3259 checkVideoFileDetailsAudioStream(o[0]); |
| 3260 checkVideoFileDetailsAudioStream(o[1]); | 3260 checkVideoFileDetailsAudioStream(o[1]); |
| 3261 } | 3261 } |
| 3262 | 3262 |
| 3263 buildUnnamed370() { | 3263 buildUnnamed1167() { |
| 3264 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 3264 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 3265 o.add(buildVideoFileDetailsVideoStream()); | 3265 o.add(buildVideoFileDetailsVideoStream()); |
| 3266 o.add(buildVideoFileDetailsVideoStream()); | 3266 o.add(buildVideoFileDetailsVideoStream()); |
| 3267 return o; | 3267 return o; |
| 3268 } | 3268 } |
| 3269 | 3269 |
| 3270 checkUnnamed370(core.List<api.VideoFileDetailsVideoStream> o) { | 3270 checkUnnamed1167(core.List<api.VideoFileDetailsVideoStream> o) { |
| 3271 unittest.expect(o, unittest.hasLength(2)); | 3271 unittest.expect(o, unittest.hasLength(2)); |
| 3272 checkVideoFileDetailsVideoStream(o[0]); | 3272 checkVideoFileDetailsVideoStream(o[0]); |
| 3273 checkVideoFileDetailsVideoStream(o[1]); | 3273 checkVideoFileDetailsVideoStream(o[1]); |
| 3274 } | 3274 } |
| 3275 | 3275 |
| 3276 core.int buildCounterVideoFileDetails = 0; | 3276 core.int buildCounterVideoFileDetails = 0; |
| 3277 buildVideoFileDetails() { | 3277 buildVideoFileDetails() { |
| 3278 var o = new api.VideoFileDetails(); | 3278 var o = new api.VideoFileDetails(); |
| 3279 buildCounterVideoFileDetails++; | 3279 buildCounterVideoFileDetails++; |
| 3280 if (buildCounterVideoFileDetails < 3) { | 3280 if (buildCounterVideoFileDetails < 3) { |
| 3281 o.audioStreams = buildUnnamed369(); | 3281 o.audioStreams = buildUnnamed1166(); |
| 3282 o.bitrateBps = "foo"; | 3282 o.bitrateBps = "foo"; |
| 3283 o.container = "foo"; | 3283 o.container = "foo"; |
| 3284 o.creationTime = "foo"; | 3284 o.creationTime = "foo"; |
| 3285 o.durationMs = "foo"; | 3285 o.durationMs = "foo"; |
| 3286 o.fileName = "foo"; | 3286 o.fileName = "foo"; |
| 3287 o.fileSize = "foo"; | 3287 o.fileSize = "foo"; |
| 3288 o.fileType = "foo"; | 3288 o.fileType = "foo"; |
| 3289 o.recordingLocation = buildGeoPoint(); | 3289 o.recordingLocation = buildGeoPoint(); |
| 3290 o.videoStreams = buildUnnamed370(); | 3290 o.videoStreams = buildUnnamed1167(); |
| 3291 } | 3291 } |
| 3292 buildCounterVideoFileDetails--; | 3292 buildCounterVideoFileDetails--; |
| 3293 return o; | 3293 return o; |
| 3294 } | 3294 } |
| 3295 | 3295 |
| 3296 checkVideoFileDetails(api.VideoFileDetails o) { | 3296 checkVideoFileDetails(api.VideoFileDetails o) { |
| 3297 buildCounterVideoFileDetails++; | 3297 buildCounterVideoFileDetails++; |
| 3298 if (buildCounterVideoFileDetails < 3) { | 3298 if (buildCounterVideoFileDetails < 3) { |
| 3299 checkUnnamed369(o.audioStreams); | 3299 checkUnnamed1166(o.audioStreams); |
| 3300 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 3300 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 3301 unittest.expect(o.container, unittest.equals('foo')); | 3301 unittest.expect(o.container, unittest.equals('foo')); |
| 3302 unittest.expect(o.creationTime, unittest.equals('foo')); | 3302 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 3303 unittest.expect(o.durationMs, unittest.equals('foo')); | 3303 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 3304 unittest.expect(o.fileName, unittest.equals('foo')); | 3304 unittest.expect(o.fileName, unittest.equals('foo')); |
| 3305 unittest.expect(o.fileSize, unittest.equals('foo')); | 3305 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 3306 unittest.expect(o.fileType, unittest.equals('foo')); | 3306 unittest.expect(o.fileType, unittest.equals('foo')); |
| 3307 checkGeoPoint(o.recordingLocation); | 3307 checkGeoPoint(o.recordingLocation); |
| 3308 checkUnnamed370(o.videoStreams); | 3308 checkUnnamed1167(o.videoStreams); |
| 3309 } | 3309 } |
| 3310 buildCounterVideoFileDetails--; | 3310 buildCounterVideoFileDetails--; |
| 3311 } | 3311 } |
| 3312 | 3312 |
| 3313 core.int buildCounterVideoFileDetailsAudioStream = 0; | 3313 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 3314 buildVideoFileDetailsAudioStream() { | 3314 buildVideoFileDetailsAudioStream() { |
| 3315 var o = new api.VideoFileDetailsAudioStream(); | 3315 var o = new api.VideoFileDetailsAudioStream(); |
| 3316 buildCounterVideoFileDetailsAudioStream++; | 3316 buildCounterVideoFileDetailsAudioStream++; |
| 3317 if (buildCounterVideoFileDetailsAudioStream < 3) { | 3317 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 3318 o.bitrateBps = "foo"; | 3318 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3361 unittest.expect(o.codec, unittest.equals('foo')); | 3361 unittest.expect(o.codec, unittest.equals('foo')); |
| 3362 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 3362 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 3363 unittest.expect(o.heightPixels, unittest.equals(42)); | 3363 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 3364 unittest.expect(o.rotation, unittest.equals('foo')); | 3364 unittest.expect(o.rotation, unittest.equals('foo')); |
| 3365 unittest.expect(o.vendor, unittest.equals('foo')); | 3365 unittest.expect(o.vendor, unittest.equals('foo')); |
| 3366 unittest.expect(o.widthPixels, unittest.equals(42)); | 3366 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 3367 } | 3367 } |
| 3368 buildCounterVideoFileDetailsVideoStream--; | 3368 buildCounterVideoFileDetailsVideoStream--; |
| 3369 } | 3369 } |
| 3370 | 3370 |
| 3371 buildUnnamed371() { | 3371 buildUnnamed1168() { |
| 3372 var o = new core.List<api.VideoRating>(); | 3372 var o = new core.List<api.VideoRating>(); |
| 3373 o.add(buildVideoRating()); | 3373 o.add(buildVideoRating()); |
| 3374 o.add(buildVideoRating()); | 3374 o.add(buildVideoRating()); |
| 3375 return o; | 3375 return o; |
| 3376 } | 3376 } |
| 3377 | 3377 |
| 3378 checkUnnamed371(core.List<api.VideoRating> o) { | 3378 checkUnnamed1168(core.List<api.VideoRating> o) { |
| 3379 unittest.expect(o, unittest.hasLength(2)); | 3379 unittest.expect(o, unittest.hasLength(2)); |
| 3380 checkVideoRating(o[0]); | 3380 checkVideoRating(o[0]); |
| 3381 checkVideoRating(o[1]); | 3381 checkVideoRating(o[1]); |
| 3382 } | 3382 } |
| 3383 | 3383 |
| 3384 core.int buildCounterVideoGetRatingResponse = 0; | 3384 core.int buildCounterVideoGetRatingResponse = 0; |
| 3385 buildVideoGetRatingResponse() { | 3385 buildVideoGetRatingResponse() { |
| 3386 var o = new api.VideoGetRatingResponse(); | 3386 var o = new api.VideoGetRatingResponse(); |
| 3387 buildCounterVideoGetRatingResponse++; | 3387 buildCounterVideoGetRatingResponse++; |
| 3388 if (buildCounterVideoGetRatingResponse < 3) { | 3388 if (buildCounterVideoGetRatingResponse < 3) { |
| 3389 o.etag = "foo"; | 3389 o.etag = "foo"; |
| 3390 o.items = buildUnnamed371(); | 3390 o.eventId = "foo"; |
| 3391 o.items = buildUnnamed1168(); |
| 3391 o.kind = "foo"; | 3392 o.kind = "foo"; |
| 3393 o.visitorId = "foo"; |
| 3392 } | 3394 } |
| 3393 buildCounterVideoGetRatingResponse--; | 3395 buildCounterVideoGetRatingResponse--; |
| 3394 return o; | 3396 return o; |
| 3395 } | 3397 } |
| 3396 | 3398 |
| 3397 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 3399 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 3398 buildCounterVideoGetRatingResponse++; | 3400 buildCounterVideoGetRatingResponse++; |
| 3399 if (buildCounterVideoGetRatingResponse < 3) { | 3401 if (buildCounterVideoGetRatingResponse < 3) { |
| 3400 unittest.expect(o.etag, unittest.equals('foo')); | 3402 unittest.expect(o.etag, unittest.equals('foo')); |
| 3401 checkUnnamed371(o.items); | 3403 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3404 checkUnnamed1168(o.items); |
| 3402 unittest.expect(o.kind, unittest.equals('foo')); | 3405 unittest.expect(o.kind, unittest.equals('foo')); |
| 3406 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3403 } | 3407 } |
| 3404 buildCounterVideoGetRatingResponse--; | 3408 buildCounterVideoGetRatingResponse--; |
| 3405 } | 3409 } |
| 3406 | 3410 |
| 3407 buildUnnamed372() { | 3411 buildUnnamed1169() { |
| 3408 var o = new core.List<api.Video>(); | 3412 var o = new core.List<api.Video>(); |
| 3409 o.add(buildVideo()); | 3413 o.add(buildVideo()); |
| 3410 o.add(buildVideo()); | 3414 o.add(buildVideo()); |
| 3411 return o; | 3415 return o; |
| 3412 } | 3416 } |
| 3413 | 3417 |
| 3414 checkUnnamed372(core.List<api.Video> o) { | 3418 checkUnnamed1169(core.List<api.Video> o) { |
| 3415 unittest.expect(o, unittest.hasLength(2)); | 3419 unittest.expect(o, unittest.hasLength(2)); |
| 3416 checkVideo(o[0]); | 3420 checkVideo(o[0]); |
| 3417 checkVideo(o[1]); | 3421 checkVideo(o[1]); |
| 3418 } | 3422 } |
| 3419 | 3423 |
| 3420 core.int buildCounterVideoListResponse = 0; | 3424 core.int buildCounterVideoListResponse = 0; |
| 3421 buildVideoListResponse() { | 3425 buildVideoListResponse() { |
| 3422 var o = new api.VideoListResponse(); | 3426 var o = new api.VideoListResponse(); |
| 3423 buildCounterVideoListResponse++; | 3427 buildCounterVideoListResponse++; |
| 3424 if (buildCounterVideoListResponse < 3) { | 3428 if (buildCounterVideoListResponse < 3) { |
| 3425 o.etag = "foo"; | 3429 o.etag = "foo"; |
| 3426 o.eventId = "foo"; | 3430 o.eventId = "foo"; |
| 3427 o.items = buildUnnamed372(); | 3431 o.items = buildUnnamed1169(); |
| 3428 o.kind = "foo"; | 3432 o.kind = "foo"; |
| 3429 o.nextPageToken = "foo"; | 3433 o.nextPageToken = "foo"; |
| 3430 o.pageInfo = buildPageInfo(); | 3434 o.pageInfo = buildPageInfo(); |
| 3431 o.prevPageToken = "foo"; | 3435 o.prevPageToken = "foo"; |
| 3432 o.tokenPagination = buildTokenPagination(); | 3436 o.tokenPagination = buildTokenPagination(); |
| 3433 o.visitorId = "foo"; | 3437 o.visitorId = "foo"; |
| 3434 } | 3438 } |
| 3435 buildCounterVideoListResponse--; | 3439 buildCounterVideoListResponse--; |
| 3436 return o; | 3440 return o; |
| 3437 } | 3441 } |
| 3438 | 3442 |
| 3439 checkVideoListResponse(api.VideoListResponse o) { | 3443 checkVideoListResponse(api.VideoListResponse o) { |
| 3440 buildCounterVideoListResponse++; | 3444 buildCounterVideoListResponse++; |
| 3441 if (buildCounterVideoListResponse < 3) { | 3445 if (buildCounterVideoListResponse < 3) { |
| 3442 unittest.expect(o.etag, unittest.equals('foo')); | 3446 unittest.expect(o.etag, unittest.equals('foo')); |
| 3443 unittest.expect(o.eventId, unittest.equals('foo')); | 3447 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3444 checkUnnamed372(o.items); | 3448 checkUnnamed1169(o.items); |
| 3445 unittest.expect(o.kind, unittest.equals('foo')); | 3449 unittest.expect(o.kind, unittest.equals('foo')); |
| 3446 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3450 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3447 checkPageInfo(o.pageInfo); | 3451 checkPageInfo(o.pageInfo); |
| 3448 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3452 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3449 checkTokenPagination(o.tokenPagination); | 3453 checkTokenPagination(o.tokenPagination); |
| 3450 unittest.expect(o.visitorId, unittest.equals('foo')); | 3454 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3451 } | 3455 } |
| 3452 buildCounterVideoListResponse--; | 3456 buildCounterVideoListResponse--; |
| 3453 } | 3457 } |
| 3454 | 3458 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3566 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 3570 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 3567 buildCounterVideoProcessingDetailsProcessingProgress++; | 3571 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 3568 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 3572 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 3569 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 3573 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 3570 unittest.expect(o.partsTotal, unittest.equals('foo')); | 3574 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 3571 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 3575 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 3572 } | 3576 } |
| 3573 buildCounterVideoProcessingDetailsProcessingProgress--; | 3577 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 3574 } | 3578 } |
| 3575 | 3579 |
| 3576 buildUnnamed373() { | 3580 buildUnnamed1170() { |
| 3577 var o = new core.List<core.String>(); | 3581 var o = new core.List<core.String>(); |
| 3578 o.add("foo"); | 3582 o.add("foo"); |
| 3579 o.add("foo"); | 3583 o.add("foo"); |
| 3580 return o; | 3584 return o; |
| 3581 } | 3585 } |
| 3582 | 3586 |
| 3583 checkUnnamed373(core.List<core.String> o) { | 3587 checkUnnamed1170(core.List<core.String> o) { |
| 3584 unittest.expect(o, unittest.hasLength(2)); | 3588 unittest.expect(o, unittest.hasLength(2)); |
| 3585 unittest.expect(o[0], unittest.equals('foo')); | 3589 unittest.expect(o[0], unittest.equals('foo')); |
| 3586 unittest.expect(o[1], unittest.equals('foo')); | 3590 unittest.expect(o[1], unittest.equals('foo')); |
| 3587 } | 3591 } |
| 3588 | 3592 |
| 3589 core.int buildCounterVideoProjectDetails = 0; | 3593 core.int buildCounterVideoProjectDetails = 0; |
| 3590 buildVideoProjectDetails() { | 3594 buildVideoProjectDetails() { |
| 3591 var o = new api.VideoProjectDetails(); | 3595 var o = new api.VideoProjectDetails(); |
| 3592 buildCounterVideoProjectDetails++; | 3596 buildCounterVideoProjectDetails++; |
| 3593 if (buildCounterVideoProjectDetails < 3) { | 3597 if (buildCounterVideoProjectDetails < 3) { |
| 3594 o.tags = buildUnnamed373(); | 3598 o.tags = buildUnnamed1170(); |
| 3595 } | 3599 } |
| 3596 buildCounterVideoProjectDetails--; | 3600 buildCounterVideoProjectDetails--; |
| 3597 return o; | 3601 return o; |
| 3598 } | 3602 } |
| 3599 | 3603 |
| 3600 checkVideoProjectDetails(api.VideoProjectDetails o) { | 3604 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 3601 buildCounterVideoProjectDetails++; | 3605 buildCounterVideoProjectDetails++; |
| 3602 if (buildCounterVideoProjectDetails < 3) { | 3606 if (buildCounterVideoProjectDetails < 3) { |
| 3603 checkUnnamed373(o.tags); | 3607 checkUnnamed1170(o.tags); |
| 3604 } | 3608 } |
| 3605 buildCounterVideoProjectDetails--; | 3609 buildCounterVideoProjectDetails--; |
| 3606 } | 3610 } |
| 3607 | 3611 |
| 3608 core.int buildCounterVideoRating = 0; | 3612 core.int buildCounterVideoRating = 0; |
| 3609 buildVideoRating() { | 3613 buildVideoRating() { |
| 3610 var o = new api.VideoRating(); | 3614 var o = new api.VideoRating(); |
| 3611 buildCounterVideoRating++; | 3615 buildCounterVideoRating++; |
| 3612 if (buildCounterVideoRating < 3) { | 3616 if (buildCounterVideoRating < 3) { |
| 3613 o.rating = "foo"; | 3617 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 3642 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 3646 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 3643 buildCounterVideoRecordingDetails++; | 3647 buildCounterVideoRecordingDetails++; |
| 3644 if (buildCounterVideoRecordingDetails < 3) { | 3648 if (buildCounterVideoRecordingDetails < 3) { |
| 3645 checkGeoPoint(o.location); | 3649 checkGeoPoint(o.location); |
| 3646 unittest.expect(o.locationDescription, unittest.equals('foo')); | 3650 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 3647 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 3651 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 3648 } | 3652 } |
| 3649 buildCounterVideoRecordingDetails--; | 3653 buildCounterVideoRecordingDetails--; |
| 3650 } | 3654 } |
| 3651 | 3655 |
| 3652 buildUnnamed374() { | 3656 buildUnnamed1171() { |
| 3653 var o = new core.List<core.String>(); | 3657 var o = new core.List<core.String>(); |
| 3654 o.add("foo"); | 3658 o.add("foo"); |
| 3655 o.add("foo"); | 3659 o.add("foo"); |
| 3656 return o; | 3660 return o; |
| 3657 } | 3661 } |
| 3658 | 3662 |
| 3659 checkUnnamed374(core.List<core.String> o) { | 3663 checkUnnamed1171(core.List<core.String> o) { |
| 3660 unittest.expect(o, unittest.hasLength(2)); | 3664 unittest.expect(o, unittest.hasLength(2)); |
| 3661 unittest.expect(o[0], unittest.equals('foo')); | 3665 unittest.expect(o[0], unittest.equals('foo')); |
| 3662 unittest.expect(o[1], unittest.equals('foo')); | 3666 unittest.expect(o[1], unittest.equals('foo')); |
| 3663 } | 3667 } |
| 3664 | 3668 |
| 3665 core.int buildCounterVideoSnippet = 0; | 3669 core.int buildCounterVideoSnippet = 0; |
| 3666 buildVideoSnippet() { | 3670 buildVideoSnippet() { |
| 3667 var o = new api.VideoSnippet(); | 3671 var o = new api.VideoSnippet(); |
| 3668 buildCounterVideoSnippet++; | 3672 buildCounterVideoSnippet++; |
| 3669 if (buildCounterVideoSnippet < 3) { | 3673 if (buildCounterVideoSnippet < 3) { |
| 3670 o.categoryId = "foo"; | 3674 o.categoryId = "foo"; |
| 3671 o.channelId = "foo"; | 3675 o.channelId = "foo"; |
| 3672 o.channelTitle = "foo"; | 3676 o.channelTitle = "foo"; |
| 3673 o.description = "foo"; | 3677 o.description = "foo"; |
| 3674 o.liveBroadcastContent = "foo"; | 3678 o.liveBroadcastContent = "foo"; |
| 3675 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3679 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3676 o.tags = buildUnnamed374(); | 3680 o.tags = buildUnnamed1171(); |
| 3677 o.thumbnails = buildThumbnailDetails(); | 3681 o.thumbnails = buildThumbnailDetails(); |
| 3678 o.title = "foo"; | 3682 o.title = "foo"; |
| 3679 } | 3683 } |
| 3680 buildCounterVideoSnippet--; | 3684 buildCounterVideoSnippet--; |
| 3681 return o; | 3685 return o; |
| 3682 } | 3686 } |
| 3683 | 3687 |
| 3684 checkVideoSnippet(api.VideoSnippet o) { | 3688 checkVideoSnippet(api.VideoSnippet o) { |
| 3685 buildCounterVideoSnippet++; | 3689 buildCounterVideoSnippet++; |
| 3686 if (buildCounterVideoSnippet < 3) { | 3690 if (buildCounterVideoSnippet < 3) { |
| 3687 unittest.expect(o.categoryId, unittest.equals('foo')); | 3691 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 3688 unittest.expect(o.channelId, unittest.equals('foo')); | 3692 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3689 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3693 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3690 unittest.expect(o.description, unittest.equals('foo')); | 3694 unittest.expect(o.description, unittest.equals('foo')); |
| 3691 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 3695 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 3692 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3696 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3693 checkUnnamed374(o.tags); | 3697 checkUnnamed1171(o.tags); |
| 3694 checkThumbnailDetails(o.thumbnails); | 3698 checkThumbnailDetails(o.thumbnails); |
| 3695 unittest.expect(o.title, unittest.equals('foo')); | 3699 unittest.expect(o.title, unittest.equals('foo')); |
| 3696 } | 3700 } |
| 3697 buildCounterVideoSnippet--; | 3701 buildCounterVideoSnippet--; |
| 3698 } | 3702 } |
| 3699 | 3703 |
| 3700 core.int buildCounterVideoStatistics = 0; | 3704 core.int buildCounterVideoStatistics = 0; |
| 3701 buildVideoStatistics() { | 3705 buildVideoStatistics() { |
| 3702 var o = new api.VideoStatistics(); | 3706 var o = new api.VideoStatistics(); |
| 3703 buildCounterVideoStatistics++; | 3707 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3750 unittest.expect(o.license, unittest.equals('foo')); | 3754 unittest.expect(o.license, unittest.equals('foo')); |
| 3751 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3755 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3752 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 3756 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 3753 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 3757 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 3754 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 3758 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 3755 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 3759 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 3756 } | 3760 } |
| 3757 buildCounterVideoStatus--; | 3761 buildCounterVideoStatus--; |
| 3758 } | 3762 } |
| 3759 | 3763 |
| 3760 buildUnnamed375() { | 3764 buildUnnamed1172() { |
| 3761 var o = new core.List<core.String>(); | 3765 var o = new core.List<core.String>(); |
| 3762 o.add("foo"); | 3766 o.add("foo"); |
| 3763 o.add("foo"); | 3767 o.add("foo"); |
| 3764 return o; | 3768 return o; |
| 3765 } | 3769 } |
| 3766 | 3770 |
| 3767 checkUnnamed375(core.List<core.String> o) { | 3771 checkUnnamed1172(core.List<core.String> o) { |
| 3768 unittest.expect(o, unittest.hasLength(2)); | 3772 unittest.expect(o, unittest.hasLength(2)); |
| 3769 unittest.expect(o[0], unittest.equals('foo')); | 3773 unittest.expect(o[0], unittest.equals('foo')); |
| 3770 unittest.expect(o[1], unittest.equals('foo')); | 3774 unittest.expect(o[1], unittest.equals('foo')); |
| 3771 } | 3775 } |
| 3772 | 3776 |
| 3773 buildUnnamed376() { | 3777 buildUnnamed1173() { |
| 3774 var o = new core.List<core.String>(); | 3778 var o = new core.List<core.String>(); |
| 3775 o.add("foo"); | 3779 o.add("foo"); |
| 3776 o.add("foo"); | 3780 o.add("foo"); |
| 3777 return o; | 3781 return o; |
| 3778 } | 3782 } |
| 3779 | 3783 |
| 3780 checkUnnamed376(core.List<core.String> o) { | 3784 checkUnnamed1173(core.List<core.String> o) { |
| 3781 unittest.expect(o, unittest.hasLength(2)); | 3785 unittest.expect(o, unittest.hasLength(2)); |
| 3782 unittest.expect(o[0], unittest.equals('foo')); | 3786 unittest.expect(o[0], unittest.equals('foo')); |
| 3783 unittest.expect(o[1], unittest.equals('foo')); | 3787 unittest.expect(o[1], unittest.equals('foo')); |
| 3784 } | 3788 } |
| 3785 | 3789 |
| 3786 buildUnnamed377() { | 3790 buildUnnamed1174() { |
| 3787 var o = new core.List<core.String>(); | 3791 var o = new core.List<core.String>(); |
| 3788 o.add("foo"); | 3792 o.add("foo"); |
| 3789 o.add("foo"); | 3793 o.add("foo"); |
| 3790 return o; | 3794 return o; |
| 3791 } | 3795 } |
| 3792 | 3796 |
| 3793 checkUnnamed377(core.List<core.String> o) { | 3797 checkUnnamed1174(core.List<core.String> o) { |
| 3794 unittest.expect(o, unittest.hasLength(2)); | 3798 unittest.expect(o, unittest.hasLength(2)); |
| 3795 unittest.expect(o[0], unittest.equals('foo')); | 3799 unittest.expect(o[0], unittest.equals('foo')); |
| 3796 unittest.expect(o[1], unittest.equals('foo')); | 3800 unittest.expect(o[1], unittest.equals('foo')); |
| 3797 } | 3801 } |
| 3798 | 3802 |
| 3799 buildUnnamed378() { | 3803 buildUnnamed1175() { |
| 3800 var o = new core.List<core.String>(); | 3804 var o = new core.List<core.String>(); |
| 3801 o.add("foo"); | 3805 o.add("foo"); |
| 3802 o.add("foo"); | 3806 o.add("foo"); |
| 3803 return o; | 3807 return o; |
| 3804 } | 3808 } |
| 3805 | 3809 |
| 3806 checkUnnamed378(core.List<core.String> o) { | 3810 checkUnnamed1175(core.List<core.String> o) { |
| 3807 unittest.expect(o, unittest.hasLength(2)); | 3811 unittest.expect(o, unittest.hasLength(2)); |
| 3808 unittest.expect(o[0], unittest.equals('foo')); | 3812 unittest.expect(o[0], unittest.equals('foo')); |
| 3809 unittest.expect(o[1], unittest.equals('foo')); | 3813 unittest.expect(o[1], unittest.equals('foo')); |
| 3810 } | 3814 } |
| 3811 | 3815 |
| 3812 buildUnnamed379() { | 3816 buildUnnamed1176() { |
| 3813 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 3817 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 3814 o.add(buildVideoSuggestionsTagSuggestion()); | 3818 o.add(buildVideoSuggestionsTagSuggestion()); |
| 3815 o.add(buildVideoSuggestionsTagSuggestion()); | 3819 o.add(buildVideoSuggestionsTagSuggestion()); |
| 3816 return o; | 3820 return o; |
| 3817 } | 3821 } |
| 3818 | 3822 |
| 3819 checkUnnamed379(core.List<api.VideoSuggestionsTagSuggestion> o) { | 3823 checkUnnamed1176(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 3820 unittest.expect(o, unittest.hasLength(2)); | 3824 unittest.expect(o, unittest.hasLength(2)); |
| 3821 checkVideoSuggestionsTagSuggestion(o[0]); | 3825 checkVideoSuggestionsTagSuggestion(o[0]); |
| 3822 checkVideoSuggestionsTagSuggestion(o[1]); | 3826 checkVideoSuggestionsTagSuggestion(o[1]); |
| 3823 } | 3827 } |
| 3824 | 3828 |
| 3825 core.int buildCounterVideoSuggestions = 0; | 3829 core.int buildCounterVideoSuggestions = 0; |
| 3826 buildVideoSuggestions() { | 3830 buildVideoSuggestions() { |
| 3827 var o = new api.VideoSuggestions(); | 3831 var o = new api.VideoSuggestions(); |
| 3828 buildCounterVideoSuggestions++; | 3832 buildCounterVideoSuggestions++; |
| 3829 if (buildCounterVideoSuggestions < 3) { | 3833 if (buildCounterVideoSuggestions < 3) { |
| 3830 o.editorSuggestions = buildUnnamed375(); | 3834 o.editorSuggestions = buildUnnamed1172(); |
| 3831 o.processingErrors = buildUnnamed376(); | 3835 o.processingErrors = buildUnnamed1173(); |
| 3832 o.processingHints = buildUnnamed377(); | 3836 o.processingHints = buildUnnamed1174(); |
| 3833 o.processingWarnings = buildUnnamed378(); | 3837 o.processingWarnings = buildUnnamed1175(); |
| 3834 o.tagSuggestions = buildUnnamed379(); | 3838 o.tagSuggestions = buildUnnamed1176(); |
| 3835 } | 3839 } |
| 3836 buildCounterVideoSuggestions--; | 3840 buildCounterVideoSuggestions--; |
| 3837 return o; | 3841 return o; |
| 3838 } | 3842 } |
| 3839 | 3843 |
| 3840 checkVideoSuggestions(api.VideoSuggestions o) { | 3844 checkVideoSuggestions(api.VideoSuggestions o) { |
| 3841 buildCounterVideoSuggestions++; | 3845 buildCounterVideoSuggestions++; |
| 3842 if (buildCounterVideoSuggestions < 3) { | 3846 if (buildCounterVideoSuggestions < 3) { |
| 3843 checkUnnamed375(o.editorSuggestions); | 3847 checkUnnamed1172(o.editorSuggestions); |
| 3844 checkUnnamed376(o.processingErrors); | 3848 checkUnnamed1173(o.processingErrors); |
| 3845 checkUnnamed377(o.processingHints); | 3849 checkUnnamed1174(o.processingHints); |
| 3846 checkUnnamed378(o.processingWarnings); | 3850 checkUnnamed1175(o.processingWarnings); |
| 3847 checkUnnamed379(o.tagSuggestions); | 3851 checkUnnamed1176(o.tagSuggestions); |
| 3848 } | 3852 } |
| 3849 buildCounterVideoSuggestions--; | 3853 buildCounterVideoSuggestions--; |
| 3850 } | 3854 } |
| 3851 | 3855 |
| 3852 buildUnnamed380() { | 3856 buildUnnamed1177() { |
| 3853 var o = new core.List<core.String>(); | 3857 var o = new core.List<core.String>(); |
| 3854 o.add("foo"); | 3858 o.add("foo"); |
| 3855 o.add("foo"); | 3859 o.add("foo"); |
| 3856 return o; | 3860 return o; |
| 3857 } | 3861 } |
| 3858 | 3862 |
| 3859 checkUnnamed380(core.List<core.String> o) { | 3863 checkUnnamed1177(core.List<core.String> o) { |
| 3860 unittest.expect(o, unittest.hasLength(2)); | 3864 unittest.expect(o, unittest.hasLength(2)); |
| 3861 unittest.expect(o[0], unittest.equals('foo')); | 3865 unittest.expect(o[0], unittest.equals('foo')); |
| 3862 unittest.expect(o[1], unittest.equals('foo')); | 3866 unittest.expect(o[1], unittest.equals('foo')); |
| 3863 } | 3867 } |
| 3864 | 3868 |
| 3865 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 3869 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 3866 buildVideoSuggestionsTagSuggestion() { | 3870 buildVideoSuggestionsTagSuggestion() { |
| 3867 var o = new api.VideoSuggestionsTagSuggestion(); | 3871 var o = new api.VideoSuggestionsTagSuggestion(); |
| 3868 buildCounterVideoSuggestionsTagSuggestion++; | 3872 buildCounterVideoSuggestionsTagSuggestion++; |
| 3869 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3873 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 3870 o.categoryRestricts = buildUnnamed380(); | 3874 o.categoryRestricts = buildUnnamed1177(); |
| 3871 o.tag = "foo"; | 3875 o.tag = "foo"; |
| 3872 } | 3876 } |
| 3873 buildCounterVideoSuggestionsTagSuggestion--; | 3877 buildCounterVideoSuggestionsTagSuggestion--; |
| 3874 return o; | 3878 return o; |
| 3875 } | 3879 } |
| 3876 | 3880 |
| 3877 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 3881 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 3878 buildCounterVideoSuggestionsTagSuggestion++; | 3882 buildCounterVideoSuggestionsTagSuggestion++; |
| 3879 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3883 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 3880 checkUnnamed380(o.categoryRestricts); | 3884 checkUnnamed1177(o.categoryRestricts); |
| 3881 unittest.expect(o.tag, unittest.equals('foo')); | 3885 unittest.expect(o.tag, unittest.equals('foo')); |
| 3882 } | 3886 } |
| 3883 buildCounterVideoSuggestionsTagSuggestion--; | 3887 buildCounterVideoSuggestionsTagSuggestion--; |
| 3884 } | 3888 } |
| 3885 | 3889 |
| 3886 buildUnnamed381() { | 3890 buildUnnamed1178() { |
| 3887 var o = new core.List<core.String>(); | 3891 var o = new core.List<core.String>(); |
| 3888 o.add("foo"); | 3892 o.add("foo"); |
| 3889 o.add("foo"); | 3893 o.add("foo"); |
| 3890 return o; | 3894 return o; |
| 3891 } | 3895 } |
| 3892 | 3896 |
| 3893 checkUnnamed381(core.List<core.String> o) { | 3897 checkUnnamed1178(core.List<core.String> o) { |
| 3894 unittest.expect(o, unittest.hasLength(2)); | 3898 unittest.expect(o, unittest.hasLength(2)); |
| 3895 unittest.expect(o[0], unittest.equals('foo')); | 3899 unittest.expect(o[0], unittest.equals('foo')); |
| 3896 unittest.expect(o[1], unittest.equals('foo')); | 3900 unittest.expect(o[1], unittest.equals('foo')); |
| 3897 } | 3901 } |
| 3898 | 3902 |
| 3899 buildUnnamed382() { | 3903 buildUnnamed1179() { |
| 3900 var o = new core.List<core.String>(); | 3904 var o = new core.List<core.String>(); |
| 3901 o.add("foo"); | 3905 o.add("foo"); |
| 3902 o.add("foo"); | 3906 o.add("foo"); |
| 3903 return o; | 3907 return o; |
| 3904 } | 3908 } |
| 3905 | 3909 |
| 3906 checkUnnamed382(core.List<core.String> o) { | 3910 checkUnnamed1179(core.List<core.String> o) { |
| 3907 unittest.expect(o, unittest.hasLength(2)); | 3911 unittest.expect(o, unittest.hasLength(2)); |
| 3908 unittest.expect(o[0], unittest.equals('foo')); | 3912 unittest.expect(o[0], unittest.equals('foo')); |
| 3909 unittest.expect(o[1], unittest.equals('foo')); | 3913 unittest.expect(o[1], unittest.equals('foo')); |
| 3910 } | 3914 } |
| 3911 | 3915 |
| 3912 core.int buildCounterVideoTopicDetails = 0; | 3916 core.int buildCounterVideoTopicDetails = 0; |
| 3913 buildVideoTopicDetails() { | 3917 buildVideoTopicDetails() { |
| 3914 var o = new api.VideoTopicDetails(); | 3918 var o = new api.VideoTopicDetails(); |
| 3915 buildCounterVideoTopicDetails++; | 3919 buildCounterVideoTopicDetails++; |
| 3916 if (buildCounterVideoTopicDetails < 3) { | 3920 if (buildCounterVideoTopicDetails < 3) { |
| 3917 o.relevantTopicIds = buildUnnamed381(); | 3921 o.relevantTopicIds = buildUnnamed1178(); |
| 3918 o.topicIds = buildUnnamed382(); | 3922 o.topicIds = buildUnnamed1179(); |
| 3919 } | 3923 } |
| 3920 buildCounterVideoTopicDetails--; | 3924 buildCounterVideoTopicDetails--; |
| 3921 return o; | 3925 return o; |
| 3922 } | 3926 } |
| 3923 | 3927 |
| 3924 checkVideoTopicDetails(api.VideoTopicDetails o) { | 3928 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 3925 buildCounterVideoTopicDetails++; | 3929 buildCounterVideoTopicDetails++; |
| 3926 if (buildCounterVideoTopicDetails < 3) { | 3930 if (buildCounterVideoTopicDetails < 3) { |
| 3927 checkUnnamed381(o.relevantTopicIds); | 3931 checkUnnamed1178(o.relevantTopicIds); |
| 3928 checkUnnamed382(o.topicIds); | 3932 checkUnnamed1179(o.topicIds); |
| 3929 } | 3933 } |
| 3930 buildCounterVideoTopicDetails--; | 3934 buildCounterVideoTopicDetails--; |
| 3931 } | 3935 } |
| 3932 | 3936 |
| 3933 core.int buildCounterWatchSettings = 0; | 3937 core.int buildCounterWatchSettings = 0; |
| 3934 buildWatchSettings() { | 3938 buildWatchSettings() { |
| 3935 var o = new api.WatchSettings(); | 3939 var o = new api.WatchSettings(); |
| 3936 buildCounterWatchSettings++; | 3940 buildCounterWatchSettings++; |
| 3937 if (buildCounterWatchSettings < 3) { | 3941 if (buildCounterWatchSettings < 3) { |
| 3938 o.backgroundColor = "foo"; | 3942 o.backgroundColor = "foo"; |
| (...skipping 3659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7598 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 7602 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 7599 }), true); | 7603 }), true); |
| 7600 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 7604 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 7601 }); | 7605 }); |
| 7602 | 7606 |
| 7603 }); | 7607 }); |
| 7604 | 7608 |
| 7605 | 7609 |
| 7606 } | 7610 } |
| 7607 | 7611 |
| OLD | NEW |