| OLD | NEW |
| 1 library googleapis.youtube.v3.test; | 1 library googleapis.youtube.v3.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed737() { | 54 buildUnnamed477() { |
| 55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
| 56 o.add("foo"); | 56 o.add("foo"); |
| 57 o.add("foo"); | 57 o.add("foo"); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed737(core.List<core.String> o) { | 61 checkUnnamed477(core.List<core.String> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
| 64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
| 65 } | 65 } |
| 66 | 66 |
| 67 core.int buildCounterAccessPolicy = 0; | 67 core.int buildCounterAccessPolicy = 0; |
| 68 buildAccessPolicy() { | 68 buildAccessPolicy() { |
| 69 var o = new api.AccessPolicy(); | 69 var o = new api.AccessPolicy(); |
| 70 buildCounterAccessPolicy++; | 70 buildCounterAccessPolicy++; |
| 71 if (buildCounterAccessPolicy < 3) { | 71 if (buildCounterAccessPolicy < 3) { |
| 72 o.allowed = true; | 72 o.allowed = true; |
| 73 o.exception = buildUnnamed737(); | 73 o.exception = buildUnnamed477(); |
| 74 } | 74 } |
| 75 buildCounterAccessPolicy--; | 75 buildCounterAccessPolicy--; |
| 76 return o; | 76 return o; |
| 77 } | 77 } |
| 78 | 78 |
| 79 checkAccessPolicy(api.AccessPolicy o) { | 79 checkAccessPolicy(api.AccessPolicy o) { |
| 80 buildCounterAccessPolicy++; | 80 buildCounterAccessPolicy++; |
| 81 if (buildCounterAccessPolicy < 3) { | 81 if (buildCounterAccessPolicy < 3) { |
| 82 unittest.expect(o.allowed, unittest.isTrue); | 82 unittest.expect(o.allowed, unittest.isTrue); |
| 83 checkUnnamed737(o.exception); | 83 checkUnnamed477(o.exception); |
| 84 } | 84 } |
| 85 buildCounterAccessPolicy--; | 85 buildCounterAccessPolicy--; |
| 86 } | 86 } |
| 87 | 87 |
| 88 core.int buildCounterActivity = 0; | 88 core.int buildCounterActivity = 0; |
| 89 buildActivity() { | 89 buildActivity() { |
| 90 var o = new api.Activity(); | 90 var o = new api.Activity(); |
| 91 buildCounterActivity++; | 91 buildCounterActivity++; |
| 92 if (buildCounterActivity < 3) { | 92 if (buildCounterActivity < 3) { |
| 93 o.contentDetails = buildActivityContentDetails(); | 93 o.contentDetails = buildActivityContentDetails(); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { | 262 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { |
| 263 buildCounterActivityContentDetailsPlaylistItem++; | 263 buildCounterActivityContentDetailsPlaylistItem++; |
| 264 if (buildCounterActivityContentDetailsPlaylistItem < 3) { | 264 if (buildCounterActivityContentDetailsPlaylistItem < 3) { |
| 265 unittest.expect(o.playlistId, unittest.equals('foo')); | 265 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 266 unittest.expect(o.playlistItemId, unittest.equals('foo')); | 266 unittest.expect(o.playlistItemId, unittest.equals('foo')); |
| 267 checkResourceId(o.resourceId); | 267 checkResourceId(o.resourceId); |
| 268 } | 268 } |
| 269 buildCounterActivityContentDetailsPlaylistItem--; | 269 buildCounterActivityContentDetailsPlaylistItem--; |
| 270 } | 270 } |
| 271 | 271 |
| 272 buildUnnamed738() { | 272 buildUnnamed478() { |
| 273 var o = new core.List<core.String>(); | 273 var o = new core.List<core.String>(); |
| 274 o.add("foo"); | 274 o.add("foo"); |
| 275 o.add("foo"); | 275 o.add("foo"); |
| 276 return o; | 276 return o; |
| 277 } | 277 } |
| 278 | 278 |
| 279 checkUnnamed738(core.List<core.String> o) { | 279 checkUnnamed478(core.List<core.String> o) { |
| 280 unittest.expect(o, unittest.hasLength(2)); | 280 unittest.expect(o, unittest.hasLength(2)); |
| 281 unittest.expect(o[0], unittest.equals('foo')); | 281 unittest.expect(o[0], unittest.equals('foo')); |
| 282 unittest.expect(o[1], unittest.equals('foo')); | 282 unittest.expect(o[1], unittest.equals('foo')); |
| 283 } | 283 } |
| 284 | 284 |
| 285 buildUnnamed739() { | 285 buildUnnamed479() { |
| 286 var o = new core.List<core.String>(); | 286 var o = new core.List<core.String>(); |
| 287 o.add("foo"); | 287 o.add("foo"); |
| 288 o.add("foo"); | 288 o.add("foo"); |
| 289 return o; | 289 return o; |
| 290 } | 290 } |
| 291 | 291 |
| 292 checkUnnamed739(core.List<core.String> o) { | 292 checkUnnamed479(core.List<core.String> o) { |
| 293 unittest.expect(o, unittest.hasLength(2)); | 293 unittest.expect(o, unittest.hasLength(2)); |
| 294 unittest.expect(o[0], unittest.equals('foo')); | 294 unittest.expect(o[0], unittest.equals('foo')); |
| 295 unittest.expect(o[1], unittest.equals('foo')); | 295 unittest.expect(o[1], unittest.equals('foo')); |
| 296 } | 296 } |
| 297 | 297 |
| 298 core.int buildCounterActivityContentDetailsPromotedItem = 0; | 298 core.int buildCounterActivityContentDetailsPromotedItem = 0; |
| 299 buildActivityContentDetailsPromotedItem() { | 299 buildActivityContentDetailsPromotedItem() { |
| 300 var o = new api.ActivityContentDetailsPromotedItem(); | 300 var o = new api.ActivityContentDetailsPromotedItem(); |
| 301 buildCounterActivityContentDetailsPromotedItem++; | 301 buildCounterActivityContentDetailsPromotedItem++; |
| 302 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 302 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
| 303 o.adTag = "foo"; | 303 o.adTag = "foo"; |
| 304 o.clickTrackingUrl = "foo"; | 304 o.clickTrackingUrl = "foo"; |
| 305 o.creativeViewUrl = "foo"; | 305 o.creativeViewUrl = "foo"; |
| 306 o.ctaType = "foo"; | 306 o.ctaType = "foo"; |
| 307 o.customCtaButtonText = "foo"; | 307 o.customCtaButtonText = "foo"; |
| 308 o.descriptionText = "foo"; | 308 o.descriptionText = "foo"; |
| 309 o.destinationUrl = "foo"; | 309 o.destinationUrl = "foo"; |
| 310 o.forecastingUrl = buildUnnamed738(); | 310 o.forecastingUrl = buildUnnamed478(); |
| 311 o.impressionUrl = buildUnnamed739(); | 311 o.impressionUrl = buildUnnamed479(); |
| 312 o.videoId = "foo"; | 312 o.videoId = "foo"; |
| 313 } | 313 } |
| 314 buildCounterActivityContentDetailsPromotedItem--; | 314 buildCounterActivityContentDetailsPromotedItem--; |
| 315 return o; | 315 return o; |
| 316 } | 316 } |
| 317 | 317 |
| 318 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { | 318 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { |
| 319 buildCounterActivityContentDetailsPromotedItem++; | 319 buildCounterActivityContentDetailsPromotedItem++; |
| 320 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 320 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
| 321 unittest.expect(o.adTag, unittest.equals('foo')); | 321 unittest.expect(o.adTag, unittest.equals('foo')); |
| 322 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 322 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 323 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); | 323 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); |
| 324 unittest.expect(o.ctaType, unittest.equals('foo')); | 324 unittest.expect(o.ctaType, unittest.equals('foo')); |
| 325 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); | 325 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); |
| 326 unittest.expect(o.descriptionText, unittest.equals('foo')); | 326 unittest.expect(o.descriptionText, unittest.equals('foo')); |
| 327 unittest.expect(o.destinationUrl, unittest.equals('foo')); | 327 unittest.expect(o.destinationUrl, unittest.equals('foo')); |
| 328 checkUnnamed738(o.forecastingUrl); | 328 checkUnnamed478(o.forecastingUrl); |
| 329 checkUnnamed739(o.impressionUrl); | 329 checkUnnamed479(o.impressionUrl); |
| 330 unittest.expect(o.videoId, unittest.equals('foo')); | 330 unittest.expect(o.videoId, unittest.equals('foo')); |
| 331 } | 331 } |
| 332 buildCounterActivityContentDetailsPromotedItem--; | 332 buildCounterActivityContentDetailsPromotedItem--; |
| 333 } | 333 } |
| 334 | 334 |
| 335 core.int buildCounterActivityContentDetailsRecommendation = 0; | 335 core.int buildCounterActivityContentDetailsRecommendation = 0; |
| 336 buildActivityContentDetailsRecommendation() { | 336 buildActivityContentDetailsRecommendation() { |
| 337 var o = new api.ActivityContentDetailsRecommendation(); | 337 var o = new api.ActivityContentDetailsRecommendation(); |
| 338 buildCounterActivityContentDetailsRecommendation++; | 338 buildCounterActivityContentDetailsRecommendation++; |
| 339 if (buildCounterActivityContentDetailsRecommendation < 3) { | 339 if (buildCounterActivityContentDetailsRecommendation < 3) { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 } | 413 } |
| 414 | 414 |
| 415 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { | 415 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { |
| 416 buildCounterActivityContentDetailsUpload++; | 416 buildCounterActivityContentDetailsUpload++; |
| 417 if (buildCounterActivityContentDetailsUpload < 3) { | 417 if (buildCounterActivityContentDetailsUpload < 3) { |
| 418 unittest.expect(o.videoId, unittest.equals('foo')); | 418 unittest.expect(o.videoId, unittest.equals('foo')); |
| 419 } | 419 } |
| 420 buildCounterActivityContentDetailsUpload--; | 420 buildCounterActivityContentDetailsUpload--; |
| 421 } | 421 } |
| 422 | 422 |
| 423 buildUnnamed740() { | 423 buildUnnamed480() { |
| 424 var o = new core.List<api.Activity>(); | 424 var o = new core.List<api.Activity>(); |
| 425 o.add(buildActivity()); | 425 o.add(buildActivity()); |
| 426 o.add(buildActivity()); | 426 o.add(buildActivity()); |
| 427 return o; | 427 return o; |
| 428 } | 428 } |
| 429 | 429 |
| 430 checkUnnamed740(core.List<api.Activity> o) { | 430 checkUnnamed480(core.List<api.Activity> o) { |
| 431 unittest.expect(o, unittest.hasLength(2)); | 431 unittest.expect(o, unittest.hasLength(2)); |
| 432 checkActivity(o[0]); | 432 checkActivity(o[0]); |
| 433 checkActivity(o[1]); | 433 checkActivity(o[1]); |
| 434 } | 434 } |
| 435 | 435 |
| 436 core.int buildCounterActivityListResponse = 0; | 436 core.int buildCounterActivityListResponse = 0; |
| 437 buildActivityListResponse() { | 437 buildActivityListResponse() { |
| 438 var o = new api.ActivityListResponse(); | 438 var o = new api.ActivityListResponse(); |
| 439 buildCounterActivityListResponse++; | 439 buildCounterActivityListResponse++; |
| 440 if (buildCounterActivityListResponse < 3) { | 440 if (buildCounterActivityListResponse < 3) { |
| 441 o.etag = "foo"; | 441 o.etag = "foo"; |
| 442 o.eventId = "foo"; | 442 o.eventId = "foo"; |
| 443 o.items = buildUnnamed740(); | 443 o.items = buildUnnamed480(); |
| 444 o.kind = "foo"; | 444 o.kind = "foo"; |
| 445 o.nextPageToken = "foo"; | 445 o.nextPageToken = "foo"; |
| 446 o.pageInfo = buildPageInfo(); | 446 o.pageInfo = buildPageInfo(); |
| 447 o.prevPageToken = "foo"; | 447 o.prevPageToken = "foo"; |
| 448 o.tokenPagination = buildTokenPagination(); | 448 o.tokenPagination = buildTokenPagination(); |
| 449 o.visitorId = "foo"; | 449 o.visitorId = "foo"; |
| 450 } | 450 } |
| 451 buildCounterActivityListResponse--; | 451 buildCounterActivityListResponse--; |
| 452 return o; | 452 return o; |
| 453 } | 453 } |
| 454 | 454 |
| 455 checkActivityListResponse(api.ActivityListResponse o) { | 455 checkActivityListResponse(api.ActivityListResponse o) { |
| 456 buildCounterActivityListResponse++; | 456 buildCounterActivityListResponse++; |
| 457 if (buildCounterActivityListResponse < 3) { | 457 if (buildCounterActivityListResponse < 3) { |
| 458 unittest.expect(o.etag, unittest.equals('foo')); | 458 unittest.expect(o.etag, unittest.equals('foo')); |
| 459 unittest.expect(o.eventId, unittest.equals('foo')); | 459 unittest.expect(o.eventId, unittest.equals('foo')); |
| 460 checkUnnamed740(o.items); | 460 checkUnnamed480(o.items); |
| 461 unittest.expect(o.kind, unittest.equals('foo')); | 461 unittest.expect(o.kind, unittest.equals('foo')); |
| 462 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 462 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 463 checkPageInfo(o.pageInfo); | 463 checkPageInfo(o.pageInfo); |
| 464 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 464 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 465 checkTokenPagination(o.tokenPagination); | 465 checkTokenPagination(o.tokenPagination); |
| 466 unittest.expect(o.visitorId, unittest.equals('foo')); | 466 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 467 } | 467 } |
| 468 buildCounterActivityListResponse--; | 468 buildCounterActivityListResponse--; |
| 469 } | 469 } |
| 470 | 470 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 buildCounterCaption++; | 519 buildCounterCaption++; |
| 520 if (buildCounterCaption < 3) { | 520 if (buildCounterCaption < 3) { |
| 521 unittest.expect(o.etag, unittest.equals('foo')); | 521 unittest.expect(o.etag, unittest.equals('foo')); |
| 522 unittest.expect(o.id, unittest.equals('foo')); | 522 unittest.expect(o.id, unittest.equals('foo')); |
| 523 unittest.expect(o.kind, unittest.equals('foo')); | 523 unittest.expect(o.kind, unittest.equals('foo')); |
| 524 checkCaptionSnippet(o.snippet); | 524 checkCaptionSnippet(o.snippet); |
| 525 } | 525 } |
| 526 buildCounterCaption--; | 526 buildCounterCaption--; |
| 527 } | 527 } |
| 528 | 528 |
| 529 buildUnnamed741() { | 529 buildUnnamed481() { |
| 530 var o = new core.List<api.Caption>(); | 530 var o = new core.List<api.Caption>(); |
| 531 o.add(buildCaption()); | 531 o.add(buildCaption()); |
| 532 o.add(buildCaption()); | 532 o.add(buildCaption()); |
| 533 return o; | 533 return o; |
| 534 } | 534 } |
| 535 | 535 |
| 536 checkUnnamed741(core.List<api.Caption> o) { | 536 checkUnnamed481(core.List<api.Caption> o) { |
| 537 unittest.expect(o, unittest.hasLength(2)); | 537 unittest.expect(o, unittest.hasLength(2)); |
| 538 checkCaption(o[0]); | 538 checkCaption(o[0]); |
| 539 checkCaption(o[1]); | 539 checkCaption(o[1]); |
| 540 } | 540 } |
| 541 | 541 |
| 542 core.int buildCounterCaptionListResponse = 0; | 542 core.int buildCounterCaptionListResponse = 0; |
| 543 buildCaptionListResponse() { | 543 buildCaptionListResponse() { |
| 544 var o = new api.CaptionListResponse(); | 544 var o = new api.CaptionListResponse(); |
| 545 buildCounterCaptionListResponse++; | 545 buildCounterCaptionListResponse++; |
| 546 if (buildCounterCaptionListResponse < 3) { | 546 if (buildCounterCaptionListResponse < 3) { |
| 547 o.etag = "foo"; | 547 o.etag = "foo"; |
| 548 o.eventId = "foo"; | 548 o.eventId = "foo"; |
| 549 o.items = buildUnnamed741(); | 549 o.items = buildUnnamed481(); |
| 550 o.kind = "foo"; | 550 o.kind = "foo"; |
| 551 o.visitorId = "foo"; | 551 o.visitorId = "foo"; |
| 552 } | 552 } |
| 553 buildCounterCaptionListResponse--; | 553 buildCounterCaptionListResponse--; |
| 554 return o; | 554 return o; |
| 555 } | 555 } |
| 556 | 556 |
| 557 checkCaptionListResponse(api.CaptionListResponse o) { | 557 checkCaptionListResponse(api.CaptionListResponse o) { |
| 558 buildCounterCaptionListResponse++; | 558 buildCounterCaptionListResponse++; |
| 559 if (buildCounterCaptionListResponse < 3) { | 559 if (buildCounterCaptionListResponse < 3) { |
| 560 unittest.expect(o.etag, unittest.equals('foo')); | 560 unittest.expect(o.etag, unittest.equals('foo')); |
| 561 unittest.expect(o.eventId, unittest.equals('foo')); | 561 unittest.expect(o.eventId, unittest.equals('foo')); |
| 562 checkUnnamed741(o.items); | 562 checkUnnamed481(o.items); |
| 563 unittest.expect(o.kind, unittest.equals('foo')); | 563 unittest.expect(o.kind, unittest.equals('foo')); |
| 564 unittest.expect(o.visitorId, unittest.equals('foo')); | 564 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 565 } | 565 } |
| 566 buildCounterCaptionListResponse--; | 566 buildCounterCaptionListResponse--; |
| 567 } | 567 } |
| 568 | 568 |
| 569 core.int buildCounterCaptionSnippet = 0; | 569 core.int buildCounterCaptionSnippet = 0; |
| 570 buildCaptionSnippet() { | 570 buildCaptionSnippet() { |
| 571 var o = new api.CaptionSnippet(); | 571 var o = new api.CaptionSnippet(); |
| 572 buildCounterCaptionSnippet++; | 572 buildCounterCaptionSnippet++; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 if (buildCounterCdnSettings < 3) { | 629 if (buildCounterCdnSettings < 3) { |
| 630 unittest.expect(o.format, unittest.equals('foo')); | 630 unittest.expect(o.format, unittest.equals('foo')); |
| 631 unittest.expect(o.frameRate, unittest.equals('foo')); | 631 unittest.expect(o.frameRate, unittest.equals('foo')); |
| 632 checkIngestionInfo(o.ingestionInfo); | 632 checkIngestionInfo(o.ingestionInfo); |
| 633 unittest.expect(o.ingestionType, unittest.equals('foo')); | 633 unittest.expect(o.ingestionType, unittest.equals('foo')); |
| 634 unittest.expect(o.resolution, unittest.equals('foo')); | 634 unittest.expect(o.resolution, unittest.equals('foo')); |
| 635 } | 635 } |
| 636 buildCounterCdnSettings--; | 636 buildCounterCdnSettings--; |
| 637 } | 637 } |
| 638 | 638 |
| 639 buildUnnamed742() { | 639 buildUnnamed482() { |
| 640 var o = new core.Map<core.String, api.ChannelLocalization>(); | 640 var o = new core.Map<core.String, api.ChannelLocalization>(); |
| 641 o["x"] = buildChannelLocalization(); | 641 o["x"] = buildChannelLocalization(); |
| 642 o["y"] = buildChannelLocalization(); | 642 o["y"] = buildChannelLocalization(); |
| 643 return o; | 643 return o; |
| 644 } | 644 } |
| 645 | 645 |
| 646 checkUnnamed742(core.Map<core.String, api.ChannelLocalization> o) { | 646 checkUnnamed482(core.Map<core.String, api.ChannelLocalization> o) { |
| 647 unittest.expect(o, unittest.hasLength(2)); | 647 unittest.expect(o, unittest.hasLength(2)); |
| 648 checkChannelLocalization(o["x"]); | 648 checkChannelLocalization(o["x"]); |
| 649 checkChannelLocalization(o["y"]); | 649 checkChannelLocalization(o["y"]); |
| 650 } | 650 } |
| 651 | 651 |
| 652 core.int buildCounterChannel = 0; | 652 core.int buildCounterChannel = 0; |
| 653 buildChannel() { | 653 buildChannel() { |
| 654 var o = new api.Channel(); | 654 var o = new api.Channel(); |
| 655 buildCounterChannel++; | 655 buildCounterChannel++; |
| 656 if (buildCounterChannel < 3) { | 656 if (buildCounterChannel < 3) { |
| 657 o.auditDetails = buildChannelAuditDetails(); | 657 o.auditDetails = buildChannelAuditDetails(); |
| 658 o.brandingSettings = buildChannelBrandingSettings(); | 658 o.brandingSettings = buildChannelBrandingSettings(); |
| 659 o.contentDetails = buildChannelContentDetails(); | 659 o.contentDetails = buildChannelContentDetails(); |
| 660 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 660 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
| 661 o.conversionPings = buildChannelConversionPings(); | 661 o.conversionPings = buildChannelConversionPings(); |
| 662 o.etag = "foo"; | 662 o.etag = "foo"; |
| 663 o.id = "foo"; | 663 o.id = "foo"; |
| 664 o.invideoPromotion = buildInvideoPromotion(); | 664 o.invideoPromotion = buildInvideoPromotion(); |
| 665 o.kind = "foo"; | 665 o.kind = "foo"; |
| 666 o.localizations = buildUnnamed742(); | 666 o.localizations = buildUnnamed482(); |
| 667 o.snippet = buildChannelSnippet(); | 667 o.snippet = buildChannelSnippet(); |
| 668 o.statistics = buildChannelStatistics(); | 668 o.statistics = buildChannelStatistics(); |
| 669 o.status = buildChannelStatus(); | 669 o.status = buildChannelStatus(); |
| 670 o.topicDetails = buildChannelTopicDetails(); | 670 o.topicDetails = buildChannelTopicDetails(); |
| 671 } | 671 } |
| 672 buildCounterChannel--; | 672 buildCounterChannel--; |
| 673 return o; | 673 return o; |
| 674 } | 674 } |
| 675 | 675 |
| 676 checkChannel(api.Channel o) { | 676 checkChannel(api.Channel o) { |
| 677 buildCounterChannel++; | 677 buildCounterChannel++; |
| 678 if (buildCounterChannel < 3) { | 678 if (buildCounterChannel < 3) { |
| 679 checkChannelAuditDetails(o.auditDetails); | 679 checkChannelAuditDetails(o.auditDetails); |
| 680 checkChannelBrandingSettings(o.brandingSettings); | 680 checkChannelBrandingSettings(o.brandingSettings); |
| 681 checkChannelContentDetails(o.contentDetails); | 681 checkChannelContentDetails(o.contentDetails); |
| 682 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 682 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
| 683 checkChannelConversionPings(o.conversionPings); | 683 checkChannelConversionPings(o.conversionPings); |
| 684 unittest.expect(o.etag, unittest.equals('foo')); | 684 unittest.expect(o.etag, unittest.equals('foo')); |
| 685 unittest.expect(o.id, unittest.equals('foo')); | 685 unittest.expect(o.id, unittest.equals('foo')); |
| 686 checkInvideoPromotion(o.invideoPromotion); | 686 checkInvideoPromotion(o.invideoPromotion); |
| 687 unittest.expect(o.kind, unittest.equals('foo')); | 687 unittest.expect(o.kind, unittest.equals('foo')); |
| 688 checkUnnamed742(o.localizations); | 688 checkUnnamed482(o.localizations); |
| 689 checkChannelSnippet(o.snippet); | 689 checkChannelSnippet(o.snippet); |
| 690 checkChannelStatistics(o.statistics); | 690 checkChannelStatistics(o.statistics); |
| 691 checkChannelStatus(o.status); | 691 checkChannelStatus(o.status); |
| 692 checkChannelTopicDetails(o.topicDetails); | 692 checkChannelTopicDetails(o.topicDetails); |
| 693 } | 693 } |
| 694 buildCounterChannel--; | 694 buildCounterChannel--; |
| 695 } | 695 } |
| 696 | 696 |
| 697 core.int buildCounterChannelAuditDetails = 0; | 697 core.int buildCounterChannelAuditDetails = 0; |
| 698 buildChannelAuditDetails() { | 698 buildChannelAuditDetails() { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 checkChannelBannerResource(api.ChannelBannerResource o) { | 735 checkChannelBannerResource(api.ChannelBannerResource o) { |
| 736 buildCounterChannelBannerResource++; | 736 buildCounterChannelBannerResource++; |
| 737 if (buildCounterChannelBannerResource < 3) { | 737 if (buildCounterChannelBannerResource < 3) { |
| 738 unittest.expect(o.etag, unittest.equals('foo')); | 738 unittest.expect(o.etag, unittest.equals('foo')); |
| 739 unittest.expect(o.kind, unittest.equals('foo')); | 739 unittest.expect(o.kind, unittest.equals('foo')); |
| 740 unittest.expect(o.url, unittest.equals('foo')); | 740 unittest.expect(o.url, unittest.equals('foo')); |
| 741 } | 741 } |
| 742 buildCounterChannelBannerResource--; | 742 buildCounterChannelBannerResource--; |
| 743 } | 743 } |
| 744 | 744 |
| 745 buildUnnamed743() { | 745 buildUnnamed483() { |
| 746 var o = new core.List<api.PropertyValue>(); | 746 var o = new core.List<api.PropertyValue>(); |
| 747 o.add(buildPropertyValue()); | 747 o.add(buildPropertyValue()); |
| 748 o.add(buildPropertyValue()); | 748 o.add(buildPropertyValue()); |
| 749 return o; | 749 return o; |
| 750 } | 750 } |
| 751 | 751 |
| 752 checkUnnamed743(core.List<api.PropertyValue> o) { | 752 checkUnnamed483(core.List<api.PropertyValue> o) { |
| 753 unittest.expect(o, unittest.hasLength(2)); | 753 unittest.expect(o, unittest.hasLength(2)); |
| 754 checkPropertyValue(o[0]); | 754 checkPropertyValue(o[0]); |
| 755 checkPropertyValue(o[1]); | 755 checkPropertyValue(o[1]); |
| 756 } | 756 } |
| 757 | 757 |
| 758 core.int buildCounterChannelBrandingSettings = 0; | 758 core.int buildCounterChannelBrandingSettings = 0; |
| 759 buildChannelBrandingSettings() { | 759 buildChannelBrandingSettings() { |
| 760 var o = new api.ChannelBrandingSettings(); | 760 var o = new api.ChannelBrandingSettings(); |
| 761 buildCounterChannelBrandingSettings++; | 761 buildCounterChannelBrandingSettings++; |
| 762 if (buildCounterChannelBrandingSettings < 3) { | 762 if (buildCounterChannelBrandingSettings < 3) { |
| 763 o.channel = buildChannelSettings(); | 763 o.channel = buildChannelSettings(); |
| 764 o.hints = buildUnnamed743(); | 764 o.hints = buildUnnamed483(); |
| 765 o.image = buildImageSettings(); | 765 o.image = buildImageSettings(); |
| 766 o.watch = buildWatchSettings(); | 766 o.watch = buildWatchSettings(); |
| 767 } | 767 } |
| 768 buildCounterChannelBrandingSettings--; | 768 buildCounterChannelBrandingSettings--; |
| 769 return o; | 769 return o; |
| 770 } | 770 } |
| 771 | 771 |
| 772 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 772 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
| 773 buildCounterChannelBrandingSettings++; | 773 buildCounterChannelBrandingSettings++; |
| 774 if (buildCounterChannelBrandingSettings < 3) { | 774 if (buildCounterChannelBrandingSettings < 3) { |
| 775 checkChannelSettings(o.channel); | 775 checkChannelSettings(o.channel); |
| 776 checkUnnamed743(o.hints); | 776 checkUnnamed483(o.hints); |
| 777 checkImageSettings(o.image); | 777 checkImageSettings(o.image); |
| 778 checkWatchSettings(o.watch); | 778 checkWatchSettings(o.watch); |
| 779 } | 779 } |
| 780 buildCounterChannelBrandingSettings--; | 780 buildCounterChannelBrandingSettings--; |
| 781 } | 781 } |
| 782 | 782 |
| 783 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 783 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
| 784 buildChannelContentDetailsRelatedPlaylists() { | 784 buildChannelContentDetailsRelatedPlaylists() { |
| 785 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 785 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
| 786 buildCounterChannelContentDetailsRelatedPlaylists++; | 786 buildCounterChannelContentDetailsRelatedPlaylists++; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 | 861 |
| 862 checkChannelConversionPing(api.ChannelConversionPing o) { | 862 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 863 buildCounterChannelConversionPing++; | 863 buildCounterChannelConversionPing++; |
| 864 if (buildCounterChannelConversionPing < 3) { | 864 if (buildCounterChannelConversionPing < 3) { |
| 865 unittest.expect(o.context, unittest.equals('foo')); | 865 unittest.expect(o.context, unittest.equals('foo')); |
| 866 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 866 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 867 } | 867 } |
| 868 buildCounterChannelConversionPing--; | 868 buildCounterChannelConversionPing--; |
| 869 } | 869 } |
| 870 | 870 |
| 871 buildUnnamed744() { | 871 buildUnnamed484() { |
| 872 var o = new core.List<api.ChannelConversionPing>(); | 872 var o = new core.List<api.ChannelConversionPing>(); |
| 873 o.add(buildChannelConversionPing()); | 873 o.add(buildChannelConversionPing()); |
| 874 o.add(buildChannelConversionPing()); | 874 o.add(buildChannelConversionPing()); |
| 875 return o; | 875 return o; |
| 876 } | 876 } |
| 877 | 877 |
| 878 checkUnnamed744(core.List<api.ChannelConversionPing> o) { | 878 checkUnnamed484(core.List<api.ChannelConversionPing> o) { |
| 879 unittest.expect(o, unittest.hasLength(2)); | 879 unittest.expect(o, unittest.hasLength(2)); |
| 880 checkChannelConversionPing(o[0]); | 880 checkChannelConversionPing(o[0]); |
| 881 checkChannelConversionPing(o[1]); | 881 checkChannelConversionPing(o[1]); |
| 882 } | 882 } |
| 883 | 883 |
| 884 core.int buildCounterChannelConversionPings = 0; | 884 core.int buildCounterChannelConversionPings = 0; |
| 885 buildChannelConversionPings() { | 885 buildChannelConversionPings() { |
| 886 var o = new api.ChannelConversionPings(); | 886 var o = new api.ChannelConversionPings(); |
| 887 buildCounterChannelConversionPings++; | 887 buildCounterChannelConversionPings++; |
| 888 if (buildCounterChannelConversionPings < 3) { | 888 if (buildCounterChannelConversionPings < 3) { |
| 889 o.pings = buildUnnamed744(); | 889 o.pings = buildUnnamed484(); |
| 890 } | 890 } |
| 891 buildCounterChannelConversionPings--; | 891 buildCounterChannelConversionPings--; |
| 892 return o; | 892 return o; |
| 893 } | 893 } |
| 894 | 894 |
| 895 checkChannelConversionPings(api.ChannelConversionPings o) { | 895 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 896 buildCounterChannelConversionPings++; | 896 buildCounterChannelConversionPings++; |
| 897 if (buildCounterChannelConversionPings < 3) { | 897 if (buildCounterChannelConversionPings < 3) { |
| 898 checkUnnamed744(o.pings); | 898 checkUnnamed484(o.pings); |
| 899 } | 899 } |
| 900 buildCounterChannelConversionPings--; | 900 buildCounterChannelConversionPings--; |
| 901 } | 901 } |
| 902 | 902 |
| 903 buildUnnamed745() { | 903 buildUnnamed485() { |
| 904 var o = new core.List<api.Channel>(); | 904 var o = new core.List<api.Channel>(); |
| 905 o.add(buildChannel()); | 905 o.add(buildChannel()); |
| 906 o.add(buildChannel()); | 906 o.add(buildChannel()); |
| 907 return o; | 907 return o; |
| 908 } | 908 } |
| 909 | 909 |
| 910 checkUnnamed745(core.List<api.Channel> o) { | 910 checkUnnamed485(core.List<api.Channel> o) { |
| 911 unittest.expect(o, unittest.hasLength(2)); | 911 unittest.expect(o, unittest.hasLength(2)); |
| 912 checkChannel(o[0]); | 912 checkChannel(o[0]); |
| 913 checkChannel(o[1]); | 913 checkChannel(o[1]); |
| 914 } | 914 } |
| 915 | 915 |
| 916 core.int buildCounterChannelListResponse = 0; | 916 core.int buildCounterChannelListResponse = 0; |
| 917 buildChannelListResponse() { | 917 buildChannelListResponse() { |
| 918 var o = new api.ChannelListResponse(); | 918 var o = new api.ChannelListResponse(); |
| 919 buildCounterChannelListResponse++; | 919 buildCounterChannelListResponse++; |
| 920 if (buildCounterChannelListResponse < 3) { | 920 if (buildCounterChannelListResponse < 3) { |
| 921 o.etag = "foo"; | 921 o.etag = "foo"; |
| 922 o.eventId = "foo"; | 922 o.eventId = "foo"; |
| 923 o.items = buildUnnamed745(); | 923 o.items = buildUnnamed485(); |
| 924 o.kind = "foo"; | 924 o.kind = "foo"; |
| 925 o.nextPageToken = "foo"; | 925 o.nextPageToken = "foo"; |
| 926 o.pageInfo = buildPageInfo(); | 926 o.pageInfo = buildPageInfo(); |
| 927 o.prevPageToken = "foo"; | 927 o.prevPageToken = "foo"; |
| 928 o.tokenPagination = buildTokenPagination(); | 928 o.tokenPagination = buildTokenPagination(); |
| 929 o.visitorId = "foo"; | 929 o.visitorId = "foo"; |
| 930 } | 930 } |
| 931 buildCounterChannelListResponse--; | 931 buildCounterChannelListResponse--; |
| 932 return o; | 932 return o; |
| 933 } | 933 } |
| 934 | 934 |
| 935 checkChannelListResponse(api.ChannelListResponse o) { | 935 checkChannelListResponse(api.ChannelListResponse o) { |
| 936 buildCounterChannelListResponse++; | 936 buildCounterChannelListResponse++; |
| 937 if (buildCounterChannelListResponse < 3) { | 937 if (buildCounterChannelListResponse < 3) { |
| 938 unittest.expect(o.etag, unittest.equals('foo')); | 938 unittest.expect(o.etag, unittest.equals('foo')); |
| 939 unittest.expect(o.eventId, unittest.equals('foo')); | 939 unittest.expect(o.eventId, unittest.equals('foo')); |
| 940 checkUnnamed745(o.items); | 940 checkUnnamed485(o.items); |
| 941 unittest.expect(o.kind, unittest.equals('foo')); | 941 unittest.expect(o.kind, unittest.equals('foo')); |
| 942 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 942 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 943 checkPageInfo(o.pageInfo); | 943 checkPageInfo(o.pageInfo); |
| 944 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 944 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 945 checkTokenPagination(o.tokenPagination); | 945 checkTokenPagination(o.tokenPagination); |
| 946 unittest.expect(o.visitorId, unittest.equals('foo')); | 946 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 947 } | 947 } |
| 948 buildCounterChannelListResponse--; | 948 buildCounterChannelListResponse--; |
| 949 } | 949 } |
| 950 | 950 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 buildCounterChannelProfileDetails++; | 987 buildCounterChannelProfileDetails++; |
| 988 if (buildCounterChannelProfileDetails < 3) { | 988 if (buildCounterChannelProfileDetails < 3) { |
| 989 unittest.expect(o.channelId, unittest.equals('foo')); | 989 unittest.expect(o.channelId, unittest.equals('foo')); |
| 990 unittest.expect(o.channelUrl, unittest.equals('foo')); | 990 unittest.expect(o.channelUrl, unittest.equals('foo')); |
| 991 unittest.expect(o.displayName, unittest.equals('foo')); | 991 unittest.expect(o.displayName, unittest.equals('foo')); |
| 992 unittest.expect(o.profileImageUrl, unittest.equals('foo')); | 992 unittest.expect(o.profileImageUrl, unittest.equals('foo')); |
| 993 } | 993 } |
| 994 buildCounterChannelProfileDetails--; | 994 buildCounterChannelProfileDetails--; |
| 995 } | 995 } |
| 996 | 996 |
| 997 buildUnnamed746() { | 997 buildUnnamed486() { |
| 998 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 998 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
| 999 o["x"] = buildChannelSectionLocalization(); | 999 o["x"] = buildChannelSectionLocalization(); |
| 1000 o["y"] = buildChannelSectionLocalization(); | 1000 o["y"] = buildChannelSectionLocalization(); |
| 1001 return o; | 1001 return o; |
| 1002 } | 1002 } |
| 1003 | 1003 |
| 1004 checkUnnamed746(core.Map<core.String, api.ChannelSectionLocalization> o) { | 1004 checkUnnamed486(core.Map<core.String, api.ChannelSectionLocalization> o) { |
| 1005 unittest.expect(o, unittest.hasLength(2)); | 1005 unittest.expect(o, unittest.hasLength(2)); |
| 1006 checkChannelSectionLocalization(o["x"]); | 1006 checkChannelSectionLocalization(o["x"]); |
| 1007 checkChannelSectionLocalization(o["y"]); | 1007 checkChannelSectionLocalization(o["y"]); |
| 1008 } | 1008 } |
| 1009 | 1009 |
| 1010 core.int buildCounterChannelSection = 0; | 1010 core.int buildCounterChannelSection = 0; |
| 1011 buildChannelSection() { | 1011 buildChannelSection() { |
| 1012 var o = new api.ChannelSection(); | 1012 var o = new api.ChannelSection(); |
| 1013 buildCounterChannelSection++; | 1013 buildCounterChannelSection++; |
| 1014 if (buildCounterChannelSection < 3) { | 1014 if (buildCounterChannelSection < 3) { |
| 1015 o.contentDetails = buildChannelSectionContentDetails(); | 1015 o.contentDetails = buildChannelSectionContentDetails(); |
| 1016 o.etag = "foo"; | 1016 o.etag = "foo"; |
| 1017 o.id = "foo"; | 1017 o.id = "foo"; |
| 1018 o.kind = "foo"; | 1018 o.kind = "foo"; |
| 1019 o.localizations = buildUnnamed746(); | 1019 o.localizations = buildUnnamed486(); |
| 1020 o.snippet = buildChannelSectionSnippet(); | 1020 o.snippet = buildChannelSectionSnippet(); |
| 1021 o.targeting = buildChannelSectionTargeting(); | 1021 o.targeting = buildChannelSectionTargeting(); |
| 1022 } | 1022 } |
| 1023 buildCounterChannelSection--; | 1023 buildCounterChannelSection--; |
| 1024 return o; | 1024 return o; |
| 1025 } | 1025 } |
| 1026 | 1026 |
| 1027 checkChannelSection(api.ChannelSection o) { | 1027 checkChannelSection(api.ChannelSection o) { |
| 1028 buildCounterChannelSection++; | 1028 buildCounterChannelSection++; |
| 1029 if (buildCounterChannelSection < 3) { | 1029 if (buildCounterChannelSection < 3) { |
| 1030 checkChannelSectionContentDetails(o.contentDetails); | 1030 checkChannelSectionContentDetails(o.contentDetails); |
| 1031 unittest.expect(o.etag, unittest.equals('foo')); | 1031 unittest.expect(o.etag, unittest.equals('foo')); |
| 1032 unittest.expect(o.id, unittest.equals('foo')); | 1032 unittest.expect(o.id, unittest.equals('foo')); |
| 1033 unittest.expect(o.kind, unittest.equals('foo')); | 1033 unittest.expect(o.kind, unittest.equals('foo')); |
| 1034 checkUnnamed746(o.localizations); | 1034 checkUnnamed486(o.localizations); |
| 1035 checkChannelSectionSnippet(o.snippet); | 1035 checkChannelSectionSnippet(o.snippet); |
| 1036 checkChannelSectionTargeting(o.targeting); | 1036 checkChannelSectionTargeting(o.targeting); |
| 1037 } | 1037 } |
| 1038 buildCounterChannelSection--; | 1038 buildCounterChannelSection--; |
| 1039 } | 1039 } |
| 1040 | 1040 |
| 1041 buildUnnamed747() { | 1041 buildUnnamed487() { |
| 1042 var o = new core.List<core.String>(); | 1042 var o = new core.List<core.String>(); |
| 1043 o.add("foo"); | 1043 o.add("foo"); |
| 1044 o.add("foo"); | 1044 o.add("foo"); |
| 1045 return o; | 1045 return o; |
| 1046 } | 1046 } |
| 1047 | 1047 |
| 1048 checkUnnamed747(core.List<core.String> o) { | 1048 checkUnnamed487(core.List<core.String> o) { |
| 1049 unittest.expect(o, unittest.hasLength(2)); | 1049 unittest.expect(o, unittest.hasLength(2)); |
| 1050 unittest.expect(o[0], unittest.equals('foo')); | 1050 unittest.expect(o[0], unittest.equals('foo')); |
| 1051 unittest.expect(o[1], unittest.equals('foo')); | 1051 unittest.expect(o[1], unittest.equals('foo')); |
| 1052 } | 1052 } |
| 1053 | 1053 |
| 1054 buildUnnamed748() { | 1054 buildUnnamed488() { |
| 1055 var o = new core.List<core.String>(); | 1055 var o = new core.List<core.String>(); |
| 1056 o.add("foo"); | 1056 o.add("foo"); |
| 1057 o.add("foo"); | 1057 o.add("foo"); |
| 1058 return o; | 1058 return o; |
| 1059 } | 1059 } |
| 1060 | 1060 |
| 1061 checkUnnamed748(core.List<core.String> o) { | 1061 checkUnnamed488(core.List<core.String> o) { |
| 1062 unittest.expect(o, unittest.hasLength(2)); | 1062 unittest.expect(o, unittest.hasLength(2)); |
| 1063 unittest.expect(o[0], unittest.equals('foo')); | 1063 unittest.expect(o[0], unittest.equals('foo')); |
| 1064 unittest.expect(o[1], unittest.equals('foo')); | 1064 unittest.expect(o[1], unittest.equals('foo')); |
| 1065 } | 1065 } |
| 1066 | 1066 |
| 1067 core.int buildCounterChannelSectionContentDetails = 0; | 1067 core.int buildCounterChannelSectionContentDetails = 0; |
| 1068 buildChannelSectionContentDetails() { | 1068 buildChannelSectionContentDetails() { |
| 1069 var o = new api.ChannelSectionContentDetails(); | 1069 var o = new api.ChannelSectionContentDetails(); |
| 1070 buildCounterChannelSectionContentDetails++; | 1070 buildCounterChannelSectionContentDetails++; |
| 1071 if (buildCounterChannelSectionContentDetails < 3) { | 1071 if (buildCounterChannelSectionContentDetails < 3) { |
| 1072 o.channels = buildUnnamed747(); | 1072 o.channels = buildUnnamed487(); |
| 1073 o.playlists = buildUnnamed748(); | 1073 o.playlists = buildUnnamed488(); |
| 1074 } | 1074 } |
| 1075 buildCounterChannelSectionContentDetails--; | 1075 buildCounterChannelSectionContentDetails--; |
| 1076 return o; | 1076 return o; |
| 1077 } | 1077 } |
| 1078 | 1078 |
| 1079 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1079 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 1080 buildCounterChannelSectionContentDetails++; | 1080 buildCounterChannelSectionContentDetails++; |
| 1081 if (buildCounterChannelSectionContentDetails < 3) { | 1081 if (buildCounterChannelSectionContentDetails < 3) { |
| 1082 checkUnnamed747(o.channels); | 1082 checkUnnamed487(o.channels); |
| 1083 checkUnnamed748(o.playlists); | 1083 checkUnnamed488(o.playlists); |
| 1084 } | 1084 } |
| 1085 buildCounterChannelSectionContentDetails--; | 1085 buildCounterChannelSectionContentDetails--; |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 buildUnnamed749() { | 1088 buildUnnamed489() { |
| 1089 var o = new core.List<api.ChannelSection>(); | 1089 var o = new core.List<api.ChannelSection>(); |
| 1090 o.add(buildChannelSection()); | 1090 o.add(buildChannelSection()); |
| 1091 o.add(buildChannelSection()); | 1091 o.add(buildChannelSection()); |
| 1092 return o; | 1092 return o; |
| 1093 } | 1093 } |
| 1094 | 1094 |
| 1095 checkUnnamed749(core.List<api.ChannelSection> o) { | 1095 checkUnnamed489(core.List<api.ChannelSection> o) { |
| 1096 unittest.expect(o, unittest.hasLength(2)); | 1096 unittest.expect(o, unittest.hasLength(2)); |
| 1097 checkChannelSection(o[0]); | 1097 checkChannelSection(o[0]); |
| 1098 checkChannelSection(o[1]); | 1098 checkChannelSection(o[1]); |
| 1099 } | 1099 } |
| 1100 | 1100 |
| 1101 core.int buildCounterChannelSectionListResponse = 0; | 1101 core.int buildCounterChannelSectionListResponse = 0; |
| 1102 buildChannelSectionListResponse() { | 1102 buildChannelSectionListResponse() { |
| 1103 var o = new api.ChannelSectionListResponse(); | 1103 var o = new api.ChannelSectionListResponse(); |
| 1104 buildCounterChannelSectionListResponse++; | 1104 buildCounterChannelSectionListResponse++; |
| 1105 if (buildCounterChannelSectionListResponse < 3) { | 1105 if (buildCounterChannelSectionListResponse < 3) { |
| 1106 o.etag = "foo"; | 1106 o.etag = "foo"; |
| 1107 o.eventId = "foo"; | 1107 o.eventId = "foo"; |
| 1108 o.items = buildUnnamed749(); | 1108 o.items = buildUnnamed489(); |
| 1109 o.kind = "foo"; | 1109 o.kind = "foo"; |
| 1110 o.visitorId = "foo"; | 1110 o.visitorId = "foo"; |
| 1111 } | 1111 } |
| 1112 buildCounterChannelSectionListResponse--; | 1112 buildCounterChannelSectionListResponse--; |
| 1113 return o; | 1113 return o; |
| 1114 } | 1114 } |
| 1115 | 1115 |
| 1116 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1116 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 1117 buildCounterChannelSectionListResponse++; | 1117 buildCounterChannelSectionListResponse++; |
| 1118 if (buildCounterChannelSectionListResponse < 3) { | 1118 if (buildCounterChannelSectionListResponse < 3) { |
| 1119 unittest.expect(o.etag, unittest.equals('foo')); | 1119 unittest.expect(o.etag, unittest.equals('foo')); |
| 1120 unittest.expect(o.eventId, unittest.equals('foo')); | 1120 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1121 checkUnnamed749(o.items); | 1121 checkUnnamed489(o.items); |
| 1122 unittest.expect(o.kind, unittest.equals('foo')); | 1122 unittest.expect(o.kind, unittest.equals('foo')); |
| 1123 unittest.expect(o.visitorId, unittest.equals('foo')); | 1123 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1124 } | 1124 } |
| 1125 buildCounterChannelSectionListResponse--; | 1125 buildCounterChannelSectionListResponse--; |
| 1126 } | 1126 } |
| 1127 | 1127 |
| 1128 core.int buildCounterChannelSectionLocalization = 0; | 1128 core.int buildCounterChannelSectionLocalization = 0; |
| 1129 buildChannelSectionLocalization() { | 1129 buildChannelSectionLocalization() { |
| 1130 var o = new api.ChannelSectionLocalization(); | 1130 var o = new api.ChannelSectionLocalization(); |
| 1131 buildCounterChannelSectionLocalization++; | 1131 buildCounterChannelSectionLocalization++; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1168 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1169 checkChannelSectionLocalization(o.localized); | 1169 checkChannelSectionLocalization(o.localized); |
| 1170 unittest.expect(o.position, unittest.equals(42)); | 1170 unittest.expect(o.position, unittest.equals(42)); |
| 1171 unittest.expect(o.style, unittest.equals('foo')); | 1171 unittest.expect(o.style, unittest.equals('foo')); |
| 1172 unittest.expect(o.title, unittest.equals('foo')); | 1172 unittest.expect(o.title, unittest.equals('foo')); |
| 1173 unittest.expect(o.type, unittest.equals('foo')); | 1173 unittest.expect(o.type, unittest.equals('foo')); |
| 1174 } | 1174 } |
| 1175 buildCounterChannelSectionSnippet--; | 1175 buildCounterChannelSectionSnippet--; |
| 1176 } | 1176 } |
| 1177 | 1177 |
| 1178 buildUnnamed750() { | 1178 buildUnnamed490() { |
| 1179 var o = new core.List<core.String>(); | 1179 var o = new core.List<core.String>(); |
| 1180 o.add("foo"); | 1180 o.add("foo"); |
| 1181 o.add("foo"); | 1181 o.add("foo"); |
| 1182 return o; | 1182 return o; |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 checkUnnamed750(core.List<core.String> o) { | 1185 checkUnnamed490(core.List<core.String> o) { |
| 1186 unittest.expect(o, unittest.hasLength(2)); | 1186 unittest.expect(o, unittest.hasLength(2)); |
| 1187 unittest.expect(o[0], unittest.equals('foo')); | 1187 unittest.expect(o[0], unittest.equals('foo')); |
| 1188 unittest.expect(o[1], unittest.equals('foo')); | 1188 unittest.expect(o[1], unittest.equals('foo')); |
| 1189 } | 1189 } |
| 1190 | 1190 |
| 1191 buildUnnamed751() { | 1191 buildUnnamed491() { |
| 1192 var o = new core.List<core.String>(); | 1192 var o = new core.List<core.String>(); |
| 1193 o.add("foo"); | 1193 o.add("foo"); |
| 1194 o.add("foo"); | 1194 o.add("foo"); |
| 1195 return o; | 1195 return o; |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 checkUnnamed751(core.List<core.String> o) { | 1198 checkUnnamed491(core.List<core.String> o) { |
| 1199 unittest.expect(o, unittest.hasLength(2)); | 1199 unittest.expect(o, unittest.hasLength(2)); |
| 1200 unittest.expect(o[0], unittest.equals('foo')); | 1200 unittest.expect(o[0], unittest.equals('foo')); |
| 1201 unittest.expect(o[1], unittest.equals('foo')); | 1201 unittest.expect(o[1], unittest.equals('foo')); |
| 1202 } | 1202 } |
| 1203 | 1203 |
| 1204 buildUnnamed752() { | 1204 buildUnnamed492() { |
| 1205 var o = new core.List<core.String>(); | 1205 var o = new core.List<core.String>(); |
| 1206 o.add("foo"); | 1206 o.add("foo"); |
| 1207 o.add("foo"); | 1207 o.add("foo"); |
| 1208 return o; | 1208 return o; |
| 1209 } | 1209 } |
| 1210 | 1210 |
| 1211 checkUnnamed752(core.List<core.String> o) { | 1211 checkUnnamed492(core.List<core.String> o) { |
| 1212 unittest.expect(o, unittest.hasLength(2)); | 1212 unittest.expect(o, unittest.hasLength(2)); |
| 1213 unittest.expect(o[0], unittest.equals('foo')); | 1213 unittest.expect(o[0], unittest.equals('foo')); |
| 1214 unittest.expect(o[1], unittest.equals('foo')); | 1214 unittest.expect(o[1], unittest.equals('foo')); |
| 1215 } | 1215 } |
| 1216 | 1216 |
| 1217 core.int buildCounterChannelSectionTargeting = 0; | 1217 core.int buildCounterChannelSectionTargeting = 0; |
| 1218 buildChannelSectionTargeting() { | 1218 buildChannelSectionTargeting() { |
| 1219 var o = new api.ChannelSectionTargeting(); | 1219 var o = new api.ChannelSectionTargeting(); |
| 1220 buildCounterChannelSectionTargeting++; | 1220 buildCounterChannelSectionTargeting++; |
| 1221 if (buildCounterChannelSectionTargeting < 3) { | 1221 if (buildCounterChannelSectionTargeting < 3) { |
| 1222 o.countries = buildUnnamed750(); | 1222 o.countries = buildUnnamed490(); |
| 1223 o.languages = buildUnnamed751(); | 1223 o.languages = buildUnnamed491(); |
| 1224 o.regions = buildUnnamed752(); | 1224 o.regions = buildUnnamed492(); |
| 1225 } | 1225 } |
| 1226 buildCounterChannelSectionTargeting--; | 1226 buildCounterChannelSectionTargeting--; |
| 1227 return o; | 1227 return o; |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1230 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
| 1231 buildCounterChannelSectionTargeting++; | 1231 buildCounterChannelSectionTargeting++; |
| 1232 if (buildCounterChannelSectionTargeting < 3) { | 1232 if (buildCounterChannelSectionTargeting < 3) { |
| 1233 checkUnnamed750(o.countries); | 1233 checkUnnamed490(o.countries); |
| 1234 checkUnnamed751(o.languages); | 1234 checkUnnamed491(o.languages); |
| 1235 checkUnnamed752(o.regions); | 1235 checkUnnamed492(o.regions); |
| 1236 } | 1236 } |
| 1237 buildCounterChannelSectionTargeting--; | 1237 buildCounterChannelSectionTargeting--; |
| 1238 } | 1238 } |
| 1239 | 1239 |
| 1240 buildUnnamed753() { | 1240 buildUnnamed493() { |
| 1241 var o = new core.List<core.String>(); | 1241 var o = new core.List<core.String>(); |
| 1242 o.add("foo"); | 1242 o.add("foo"); |
| 1243 o.add("foo"); | 1243 o.add("foo"); |
| 1244 return o; | 1244 return o; |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 checkUnnamed753(core.List<core.String> o) { | 1247 checkUnnamed493(core.List<core.String> o) { |
| 1248 unittest.expect(o, unittest.hasLength(2)); | 1248 unittest.expect(o, unittest.hasLength(2)); |
| 1249 unittest.expect(o[0], unittest.equals('foo')); | 1249 unittest.expect(o[0], unittest.equals('foo')); |
| 1250 unittest.expect(o[1], unittest.equals('foo')); | 1250 unittest.expect(o[1], unittest.equals('foo')); |
| 1251 } | 1251 } |
| 1252 | 1252 |
| 1253 core.int buildCounterChannelSettings = 0; | 1253 core.int buildCounterChannelSettings = 0; |
| 1254 buildChannelSettings() { | 1254 buildChannelSettings() { |
| 1255 var o = new api.ChannelSettings(); | 1255 var o = new api.ChannelSettings(); |
| 1256 buildCounterChannelSettings++; | 1256 buildCounterChannelSettings++; |
| 1257 if (buildCounterChannelSettings < 3) { | 1257 if (buildCounterChannelSettings < 3) { |
| 1258 o.country = "foo"; | 1258 o.country = "foo"; |
| 1259 o.defaultLanguage = "foo"; | 1259 o.defaultLanguage = "foo"; |
| 1260 o.defaultTab = "foo"; | 1260 o.defaultTab = "foo"; |
| 1261 o.description = "foo"; | 1261 o.description = "foo"; |
| 1262 o.featuredChannelsTitle = "foo"; | 1262 o.featuredChannelsTitle = "foo"; |
| 1263 o.featuredChannelsUrls = buildUnnamed753(); | 1263 o.featuredChannelsUrls = buildUnnamed493(); |
| 1264 o.keywords = "foo"; | 1264 o.keywords = "foo"; |
| 1265 o.moderateComments = true; | 1265 o.moderateComments = true; |
| 1266 o.profileColor = "foo"; | 1266 o.profileColor = "foo"; |
| 1267 o.showBrowseView = true; | 1267 o.showBrowseView = true; |
| 1268 o.showRelatedChannels = true; | 1268 o.showRelatedChannels = true; |
| 1269 o.title = "foo"; | 1269 o.title = "foo"; |
| 1270 o.trackingAnalyticsAccountId = "foo"; | 1270 o.trackingAnalyticsAccountId = "foo"; |
| 1271 o.unsubscribedTrailer = "foo"; | 1271 o.unsubscribedTrailer = "foo"; |
| 1272 } | 1272 } |
| 1273 buildCounterChannelSettings--; | 1273 buildCounterChannelSettings--; |
| 1274 return o; | 1274 return o; |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 checkChannelSettings(api.ChannelSettings o) { | 1277 checkChannelSettings(api.ChannelSettings o) { |
| 1278 buildCounterChannelSettings++; | 1278 buildCounterChannelSettings++; |
| 1279 if (buildCounterChannelSettings < 3) { | 1279 if (buildCounterChannelSettings < 3) { |
| 1280 unittest.expect(o.country, unittest.equals('foo')); | 1280 unittest.expect(o.country, unittest.equals('foo')); |
| 1281 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1281 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1282 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1282 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 1283 unittest.expect(o.description, unittest.equals('foo')); | 1283 unittest.expect(o.description, unittest.equals('foo')); |
| 1284 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1284 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 1285 checkUnnamed753(o.featuredChannelsUrls); | 1285 checkUnnamed493(o.featuredChannelsUrls); |
| 1286 unittest.expect(o.keywords, unittest.equals('foo')); | 1286 unittest.expect(o.keywords, unittest.equals('foo')); |
| 1287 unittest.expect(o.moderateComments, unittest.isTrue); | 1287 unittest.expect(o.moderateComments, unittest.isTrue); |
| 1288 unittest.expect(o.profileColor, unittest.equals('foo')); | 1288 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 1289 unittest.expect(o.showBrowseView, unittest.isTrue); | 1289 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 1290 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1290 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 1291 unittest.expect(o.title, unittest.equals('foo')); | 1291 unittest.expect(o.title, unittest.equals('foo')); |
| 1292 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1292 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 1293 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1293 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 1294 } | 1294 } |
| 1295 buildCounterChannelSettings--; | 1295 buildCounterChannelSettings--; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 checkChannelStatus(api.ChannelStatus o) { | 1371 checkChannelStatus(api.ChannelStatus o) { |
| 1372 buildCounterChannelStatus++; | 1372 buildCounterChannelStatus++; |
| 1373 if (buildCounterChannelStatus < 3) { | 1373 if (buildCounterChannelStatus < 3) { |
| 1374 unittest.expect(o.isLinked, unittest.isTrue); | 1374 unittest.expect(o.isLinked, unittest.isTrue); |
| 1375 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1375 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1376 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1376 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1377 } | 1377 } |
| 1378 buildCounterChannelStatus--; | 1378 buildCounterChannelStatus--; |
| 1379 } | 1379 } |
| 1380 | 1380 |
| 1381 buildUnnamed754() { | 1381 buildUnnamed494() { |
| 1382 var o = new core.List<core.String>(); | 1382 var o = new core.List<core.String>(); |
| 1383 o.add("foo"); | 1383 o.add("foo"); |
| 1384 o.add("foo"); | 1384 o.add("foo"); |
| 1385 return o; | 1385 return o; |
| 1386 } | 1386 } |
| 1387 | 1387 |
| 1388 checkUnnamed754(core.List<core.String> o) { | 1388 checkUnnamed494(core.List<core.String> o) { |
| 1389 unittest.expect(o, unittest.hasLength(2)); | 1389 unittest.expect(o, unittest.hasLength(2)); |
| 1390 unittest.expect(o[0], unittest.equals('foo')); | 1390 unittest.expect(o[0], unittest.equals('foo')); |
| 1391 unittest.expect(o[1], unittest.equals('foo')); | 1391 unittest.expect(o[1], unittest.equals('foo')); |
| 1392 } | 1392 } |
| 1393 | 1393 |
| 1394 core.int buildCounterChannelTopicDetails = 0; | 1394 core.int buildCounterChannelTopicDetails = 0; |
| 1395 buildChannelTopicDetails() { | 1395 buildChannelTopicDetails() { |
| 1396 var o = new api.ChannelTopicDetails(); | 1396 var o = new api.ChannelTopicDetails(); |
| 1397 buildCounterChannelTopicDetails++; | 1397 buildCounterChannelTopicDetails++; |
| 1398 if (buildCounterChannelTopicDetails < 3) { | 1398 if (buildCounterChannelTopicDetails < 3) { |
| 1399 o.topicIds = buildUnnamed754(); | 1399 o.topicIds = buildUnnamed494(); |
| 1400 } | 1400 } |
| 1401 buildCounterChannelTopicDetails--; | 1401 buildCounterChannelTopicDetails--; |
| 1402 return o; | 1402 return o; |
| 1403 } | 1403 } |
| 1404 | 1404 |
| 1405 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1405 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1406 buildCounterChannelTopicDetails++; | 1406 buildCounterChannelTopicDetails++; |
| 1407 if (buildCounterChannelTopicDetails < 3) { | 1407 if (buildCounterChannelTopicDetails < 3) { |
| 1408 checkUnnamed754(o.topicIds); | 1408 checkUnnamed494(o.topicIds); |
| 1409 } | 1409 } |
| 1410 buildCounterChannelTopicDetails--; | 1410 buildCounterChannelTopicDetails--; |
| 1411 } | 1411 } |
| 1412 | 1412 |
| 1413 core.int buildCounterComment = 0; | 1413 core.int buildCounterComment = 0; |
| 1414 buildComment() { | 1414 buildComment() { |
| 1415 var o = new api.Comment(); | 1415 var o = new api.Comment(); |
| 1416 buildCounterComment++; | 1416 buildCounterComment++; |
| 1417 if (buildCounterComment < 3) { | 1417 if (buildCounterComment < 3) { |
| 1418 o.etag = "foo"; | 1418 o.etag = "foo"; |
| 1419 o.id = "foo"; | 1419 o.id = "foo"; |
| 1420 o.kind = "foo"; | 1420 o.kind = "foo"; |
| 1421 o.snippet = buildCommentSnippet(); | 1421 o.snippet = buildCommentSnippet(); |
| 1422 } | 1422 } |
| 1423 buildCounterComment--; | 1423 buildCounterComment--; |
| 1424 return o; | 1424 return o; |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 checkComment(api.Comment o) { | 1427 checkComment(api.Comment o) { |
| 1428 buildCounterComment++; | 1428 buildCounterComment++; |
| 1429 if (buildCounterComment < 3) { | 1429 if (buildCounterComment < 3) { |
| 1430 unittest.expect(o.etag, unittest.equals('foo')); | 1430 unittest.expect(o.etag, unittest.equals('foo')); |
| 1431 unittest.expect(o.id, unittest.equals('foo')); | 1431 unittest.expect(o.id, unittest.equals('foo')); |
| 1432 unittest.expect(o.kind, unittest.equals('foo')); | 1432 unittest.expect(o.kind, unittest.equals('foo')); |
| 1433 checkCommentSnippet(o.snippet); | 1433 checkCommentSnippet(o.snippet); |
| 1434 } | 1434 } |
| 1435 buildCounterComment--; | 1435 buildCounterComment--; |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 buildUnnamed755() { | 1438 buildUnnamed495() { |
| 1439 var o = new core.List<api.Comment>(); | 1439 var o = new core.List<api.Comment>(); |
| 1440 o.add(buildComment()); | 1440 o.add(buildComment()); |
| 1441 o.add(buildComment()); | 1441 o.add(buildComment()); |
| 1442 return o; | 1442 return o; |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 checkUnnamed755(core.List<api.Comment> o) { | 1445 checkUnnamed495(core.List<api.Comment> o) { |
| 1446 unittest.expect(o, unittest.hasLength(2)); | 1446 unittest.expect(o, unittest.hasLength(2)); |
| 1447 checkComment(o[0]); | 1447 checkComment(o[0]); |
| 1448 checkComment(o[1]); | 1448 checkComment(o[1]); |
| 1449 } | 1449 } |
| 1450 | 1450 |
| 1451 core.int buildCounterCommentListResponse = 0; | 1451 core.int buildCounterCommentListResponse = 0; |
| 1452 buildCommentListResponse() { | 1452 buildCommentListResponse() { |
| 1453 var o = new api.CommentListResponse(); | 1453 var o = new api.CommentListResponse(); |
| 1454 buildCounterCommentListResponse++; | 1454 buildCounterCommentListResponse++; |
| 1455 if (buildCounterCommentListResponse < 3) { | 1455 if (buildCounterCommentListResponse < 3) { |
| 1456 o.etag = "foo"; | 1456 o.etag = "foo"; |
| 1457 o.eventId = "foo"; | 1457 o.eventId = "foo"; |
| 1458 o.items = buildUnnamed755(); | 1458 o.items = buildUnnamed495(); |
| 1459 o.kind = "foo"; | 1459 o.kind = "foo"; |
| 1460 o.nextPageToken = "foo"; | 1460 o.nextPageToken = "foo"; |
| 1461 o.pageInfo = buildPageInfo(); | 1461 o.pageInfo = buildPageInfo(); |
| 1462 o.tokenPagination = buildTokenPagination(); | 1462 o.tokenPagination = buildTokenPagination(); |
| 1463 o.visitorId = "foo"; | 1463 o.visitorId = "foo"; |
| 1464 } | 1464 } |
| 1465 buildCounterCommentListResponse--; | 1465 buildCounterCommentListResponse--; |
| 1466 return o; | 1466 return o; |
| 1467 } | 1467 } |
| 1468 | 1468 |
| 1469 checkCommentListResponse(api.CommentListResponse o) { | 1469 checkCommentListResponse(api.CommentListResponse o) { |
| 1470 buildCounterCommentListResponse++; | 1470 buildCounterCommentListResponse++; |
| 1471 if (buildCounterCommentListResponse < 3) { | 1471 if (buildCounterCommentListResponse < 3) { |
| 1472 unittest.expect(o.etag, unittest.equals('foo')); | 1472 unittest.expect(o.etag, unittest.equals('foo')); |
| 1473 unittest.expect(o.eventId, unittest.equals('foo')); | 1473 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1474 checkUnnamed755(o.items); | 1474 checkUnnamed495(o.items); |
| 1475 unittest.expect(o.kind, unittest.equals('foo')); | 1475 unittest.expect(o.kind, unittest.equals('foo')); |
| 1476 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1476 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1477 checkPageInfo(o.pageInfo); | 1477 checkPageInfo(o.pageInfo); |
| 1478 checkTokenPagination(o.tokenPagination); | 1478 checkTokenPagination(o.tokenPagination); |
| 1479 unittest.expect(o.visitorId, unittest.equals('foo')); | 1479 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1480 } | 1480 } |
| 1481 buildCounterCommentListResponse--; | 1481 buildCounterCommentListResponse--; |
| 1482 } | 1482 } |
| 1483 | 1483 |
| 1484 core.int buildCounterCommentSnippet = 0; | 1484 core.int buildCounterCommentSnippet = 0; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1548 if (buildCounterCommentThread < 3) { | 1548 if (buildCounterCommentThread < 3) { |
| 1549 unittest.expect(o.etag, unittest.equals('foo')); | 1549 unittest.expect(o.etag, unittest.equals('foo')); |
| 1550 unittest.expect(o.id, unittest.equals('foo')); | 1550 unittest.expect(o.id, unittest.equals('foo')); |
| 1551 unittest.expect(o.kind, unittest.equals('foo')); | 1551 unittest.expect(o.kind, unittest.equals('foo')); |
| 1552 checkCommentThreadReplies(o.replies); | 1552 checkCommentThreadReplies(o.replies); |
| 1553 checkCommentThreadSnippet(o.snippet); | 1553 checkCommentThreadSnippet(o.snippet); |
| 1554 } | 1554 } |
| 1555 buildCounterCommentThread--; | 1555 buildCounterCommentThread--; |
| 1556 } | 1556 } |
| 1557 | 1557 |
| 1558 buildUnnamed756() { | 1558 buildUnnamed496() { |
| 1559 var o = new core.List<api.CommentThread>(); | 1559 var o = new core.List<api.CommentThread>(); |
| 1560 o.add(buildCommentThread()); | 1560 o.add(buildCommentThread()); |
| 1561 o.add(buildCommentThread()); | 1561 o.add(buildCommentThread()); |
| 1562 return o; | 1562 return o; |
| 1563 } | 1563 } |
| 1564 | 1564 |
| 1565 checkUnnamed756(core.List<api.CommentThread> o) { | 1565 checkUnnamed496(core.List<api.CommentThread> o) { |
| 1566 unittest.expect(o, unittest.hasLength(2)); | 1566 unittest.expect(o, unittest.hasLength(2)); |
| 1567 checkCommentThread(o[0]); | 1567 checkCommentThread(o[0]); |
| 1568 checkCommentThread(o[1]); | 1568 checkCommentThread(o[1]); |
| 1569 } | 1569 } |
| 1570 | 1570 |
| 1571 core.int buildCounterCommentThreadListResponse = 0; | 1571 core.int buildCounterCommentThreadListResponse = 0; |
| 1572 buildCommentThreadListResponse() { | 1572 buildCommentThreadListResponse() { |
| 1573 var o = new api.CommentThreadListResponse(); | 1573 var o = new api.CommentThreadListResponse(); |
| 1574 buildCounterCommentThreadListResponse++; | 1574 buildCounterCommentThreadListResponse++; |
| 1575 if (buildCounterCommentThreadListResponse < 3) { | 1575 if (buildCounterCommentThreadListResponse < 3) { |
| 1576 o.etag = "foo"; | 1576 o.etag = "foo"; |
| 1577 o.eventId = "foo"; | 1577 o.eventId = "foo"; |
| 1578 o.items = buildUnnamed756(); | 1578 o.items = buildUnnamed496(); |
| 1579 o.kind = "foo"; | 1579 o.kind = "foo"; |
| 1580 o.nextPageToken = "foo"; | 1580 o.nextPageToken = "foo"; |
| 1581 o.pageInfo = buildPageInfo(); | 1581 o.pageInfo = buildPageInfo(); |
| 1582 o.tokenPagination = buildTokenPagination(); | 1582 o.tokenPagination = buildTokenPagination(); |
| 1583 o.visitorId = "foo"; | 1583 o.visitorId = "foo"; |
| 1584 } | 1584 } |
| 1585 buildCounterCommentThreadListResponse--; | 1585 buildCounterCommentThreadListResponse--; |
| 1586 return o; | 1586 return o; |
| 1587 } | 1587 } |
| 1588 | 1588 |
| 1589 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1589 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
| 1590 buildCounterCommentThreadListResponse++; | 1590 buildCounterCommentThreadListResponse++; |
| 1591 if (buildCounterCommentThreadListResponse < 3) { | 1591 if (buildCounterCommentThreadListResponse < 3) { |
| 1592 unittest.expect(o.etag, unittest.equals('foo')); | 1592 unittest.expect(o.etag, unittest.equals('foo')); |
| 1593 unittest.expect(o.eventId, unittest.equals('foo')); | 1593 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1594 checkUnnamed756(o.items); | 1594 checkUnnamed496(o.items); |
| 1595 unittest.expect(o.kind, unittest.equals('foo')); | 1595 unittest.expect(o.kind, unittest.equals('foo')); |
| 1596 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1596 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1597 checkPageInfo(o.pageInfo); | 1597 checkPageInfo(o.pageInfo); |
| 1598 checkTokenPagination(o.tokenPagination); | 1598 checkTokenPagination(o.tokenPagination); |
| 1599 unittest.expect(o.visitorId, unittest.equals('foo')); | 1599 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1600 } | 1600 } |
| 1601 buildCounterCommentThreadListResponse--; | 1601 buildCounterCommentThreadListResponse--; |
| 1602 } | 1602 } |
| 1603 | 1603 |
| 1604 buildUnnamed757() { | 1604 buildUnnamed497() { |
| 1605 var o = new core.List<api.Comment>(); | 1605 var o = new core.List<api.Comment>(); |
| 1606 o.add(buildComment()); | 1606 o.add(buildComment()); |
| 1607 o.add(buildComment()); | 1607 o.add(buildComment()); |
| 1608 return o; | 1608 return o; |
| 1609 } | 1609 } |
| 1610 | 1610 |
| 1611 checkUnnamed757(core.List<api.Comment> o) { | 1611 checkUnnamed497(core.List<api.Comment> o) { |
| 1612 unittest.expect(o, unittest.hasLength(2)); | 1612 unittest.expect(o, unittest.hasLength(2)); |
| 1613 checkComment(o[0]); | 1613 checkComment(o[0]); |
| 1614 checkComment(o[1]); | 1614 checkComment(o[1]); |
| 1615 } | 1615 } |
| 1616 | 1616 |
| 1617 core.int buildCounterCommentThreadReplies = 0; | 1617 core.int buildCounterCommentThreadReplies = 0; |
| 1618 buildCommentThreadReplies() { | 1618 buildCommentThreadReplies() { |
| 1619 var o = new api.CommentThreadReplies(); | 1619 var o = new api.CommentThreadReplies(); |
| 1620 buildCounterCommentThreadReplies++; | 1620 buildCounterCommentThreadReplies++; |
| 1621 if (buildCounterCommentThreadReplies < 3) { | 1621 if (buildCounterCommentThreadReplies < 3) { |
| 1622 o.comments = buildUnnamed757(); | 1622 o.comments = buildUnnamed497(); |
| 1623 } | 1623 } |
| 1624 buildCounterCommentThreadReplies--; | 1624 buildCounterCommentThreadReplies--; |
| 1625 return o; | 1625 return o; |
| 1626 } | 1626 } |
| 1627 | 1627 |
| 1628 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1628 checkCommentThreadReplies(api.CommentThreadReplies o) { |
| 1629 buildCounterCommentThreadReplies++; | 1629 buildCounterCommentThreadReplies++; |
| 1630 if (buildCounterCommentThreadReplies < 3) { | 1630 if (buildCounterCommentThreadReplies < 3) { |
| 1631 checkUnnamed757(o.comments); | 1631 checkUnnamed497(o.comments); |
| 1632 } | 1632 } |
| 1633 buildCounterCommentThreadReplies--; | 1633 buildCounterCommentThreadReplies--; |
| 1634 } | 1634 } |
| 1635 | 1635 |
| 1636 core.int buildCounterCommentThreadSnippet = 0; | 1636 core.int buildCounterCommentThreadSnippet = 0; |
| 1637 buildCommentThreadSnippet() { | 1637 buildCommentThreadSnippet() { |
| 1638 var o = new api.CommentThreadSnippet(); | 1638 var o = new api.CommentThreadSnippet(); |
| 1639 buildCounterCommentThreadSnippet++; | 1639 buildCounterCommentThreadSnippet++; |
| 1640 if (buildCounterCommentThreadSnippet < 3) { | 1640 if (buildCounterCommentThreadSnippet < 3) { |
| 1641 o.canReply = true; | 1641 o.canReply = true; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1655 unittest.expect(o.canReply, unittest.isTrue); | 1655 unittest.expect(o.canReply, unittest.isTrue); |
| 1656 unittest.expect(o.channelId, unittest.equals('foo')); | 1656 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1657 unittest.expect(o.isPublic, unittest.isTrue); | 1657 unittest.expect(o.isPublic, unittest.isTrue); |
| 1658 checkComment(o.topLevelComment); | 1658 checkComment(o.topLevelComment); |
| 1659 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1659 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
| 1660 unittest.expect(o.videoId, unittest.equals('foo')); | 1660 unittest.expect(o.videoId, unittest.equals('foo')); |
| 1661 } | 1661 } |
| 1662 buildCounterCommentThreadSnippet--; | 1662 buildCounterCommentThreadSnippet--; |
| 1663 } | 1663 } |
| 1664 | 1664 |
| 1665 buildUnnamed758() { | 1665 buildUnnamed498() { |
| 1666 var o = new core.List<core.String>(); | 1666 var o = new core.List<core.String>(); |
| 1667 o.add("foo"); | 1667 o.add("foo"); |
| 1668 o.add("foo"); | 1668 o.add("foo"); |
| 1669 return o; | 1669 return o; |
| 1670 } | 1670 } |
| 1671 | 1671 |
| 1672 checkUnnamed758(core.List<core.String> o) { | 1672 checkUnnamed498(core.List<core.String> o) { |
| 1673 unittest.expect(o, unittest.hasLength(2)); | 1673 unittest.expect(o, unittest.hasLength(2)); |
| 1674 unittest.expect(o[0], unittest.equals('foo')); | 1674 unittest.expect(o[0], unittest.equals('foo')); |
| 1675 unittest.expect(o[1], unittest.equals('foo')); | 1675 unittest.expect(o[1], unittest.equals('foo')); |
| 1676 } | 1676 } |
| 1677 | 1677 |
| 1678 buildUnnamed759() { | 1678 buildUnnamed499() { |
| 1679 var o = new core.List<core.String>(); | 1679 var o = new core.List<core.String>(); |
| 1680 o.add("foo"); | 1680 o.add("foo"); |
| 1681 o.add("foo"); | 1681 o.add("foo"); |
| 1682 return o; | 1682 return o; |
| 1683 } | 1683 } |
| 1684 | 1684 |
| 1685 checkUnnamed759(core.List<core.String> o) { | 1685 checkUnnamed499(core.List<core.String> o) { |
| 1686 unittest.expect(o, unittest.hasLength(2)); | 1686 unittest.expect(o, unittest.hasLength(2)); |
| 1687 unittest.expect(o[0], unittest.equals('foo')); | 1687 unittest.expect(o[0], unittest.equals('foo')); |
| 1688 unittest.expect(o[1], unittest.equals('foo')); | 1688 unittest.expect(o[1], unittest.equals('foo')); |
| 1689 } | 1689 } |
| 1690 | 1690 |
| 1691 core.int buildCounterContentRating = 0; | 1691 core.int buildCounterContentRating = 0; |
| 1692 buildContentRating() { | 1692 buildContentRating() { |
| 1693 var o = new api.ContentRating(); | 1693 var o = new api.ContentRating(); |
| 1694 buildCounterContentRating++; | 1694 buildCounterContentRating++; |
| 1695 if (buildCounterContentRating < 3) { | 1695 if (buildCounterContentRating < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1706 o.cceRating = "foo"; | 1706 o.cceRating = "foo"; |
| 1707 o.chfilmRating = "foo"; | 1707 o.chfilmRating = "foo"; |
| 1708 o.chvrsRating = "foo"; | 1708 o.chvrsRating = "foo"; |
| 1709 o.cicfRating = "foo"; | 1709 o.cicfRating = "foo"; |
| 1710 o.cnaRating = "foo"; | 1710 o.cnaRating = "foo"; |
| 1711 o.cncRating = "foo"; | 1711 o.cncRating = "foo"; |
| 1712 o.csaRating = "foo"; | 1712 o.csaRating = "foo"; |
| 1713 o.cscfRating = "foo"; | 1713 o.cscfRating = "foo"; |
| 1714 o.czfilmRating = "foo"; | 1714 o.czfilmRating = "foo"; |
| 1715 o.djctqRating = "foo"; | 1715 o.djctqRating = "foo"; |
| 1716 o.djctqRatingReasons = buildUnnamed758(); | 1716 o.djctqRatingReasons = buildUnnamed498(); |
| 1717 o.ecbmctRating = "foo"; | 1717 o.ecbmctRating = "foo"; |
| 1718 o.eefilmRating = "foo"; | 1718 o.eefilmRating = "foo"; |
| 1719 o.egfilmRating = "foo"; | 1719 o.egfilmRating = "foo"; |
| 1720 o.eirinRating = "foo"; | 1720 o.eirinRating = "foo"; |
| 1721 o.fcbmRating = "foo"; | 1721 o.fcbmRating = "foo"; |
| 1722 o.fcoRating = "foo"; | 1722 o.fcoRating = "foo"; |
| 1723 o.fmocRating = "foo"; | 1723 o.fmocRating = "foo"; |
| 1724 o.fpbRating = "foo"; | 1724 o.fpbRating = "foo"; |
| 1725 o.fpbRatingReasons = buildUnnamed759(); | 1725 o.fpbRatingReasons = buildUnnamed499(); |
| 1726 o.fskRating = "foo"; | 1726 o.fskRating = "foo"; |
| 1727 o.grfilmRating = "foo"; | 1727 o.grfilmRating = "foo"; |
| 1728 o.icaaRating = "foo"; | 1728 o.icaaRating = "foo"; |
| 1729 o.ifcoRating = "foo"; | 1729 o.ifcoRating = "foo"; |
| 1730 o.ilfilmRating = "foo"; | 1730 o.ilfilmRating = "foo"; |
| 1731 o.incaaRating = "foo"; | 1731 o.incaaRating = "foo"; |
| 1732 o.kfcbRating = "foo"; | 1732 o.kfcbRating = "foo"; |
| 1733 o.kijkwijzerRating = "foo"; | 1733 o.kijkwijzerRating = "foo"; |
| 1734 o.kmrbRating = "foo"; | 1734 o.kmrbRating = "foo"; |
| 1735 o.lsfRating = "foo"; | 1735 o.lsfRating = "foo"; |
| 1736 o.mccaaRating = "foo"; | 1736 o.mccaaRating = "foo"; |
| 1737 o.mccypRating = "foo"; | 1737 o.mccypRating = "foo"; |
| 1738 o.mcstRating = "foo"; |
| 1738 o.mdaRating = "foo"; | 1739 o.mdaRating = "foo"; |
| 1739 o.medietilsynetRating = "foo"; | 1740 o.medietilsynetRating = "foo"; |
| 1740 o.mekuRating = "foo"; | 1741 o.mekuRating = "foo"; |
| 1741 o.mibacRating = "foo"; | 1742 o.mibacRating = "foo"; |
| 1742 o.mocRating = "foo"; | 1743 o.mocRating = "foo"; |
| 1743 o.moctwRating = "foo"; | 1744 o.moctwRating = "foo"; |
| 1744 o.mpaaRating = "foo"; | 1745 o.mpaaRating = "foo"; |
| 1745 o.mtrcbRating = "foo"; | 1746 o.mtrcbRating = "foo"; |
| 1746 o.nbcRating = "foo"; | 1747 o.nbcRating = "foo"; |
| 1747 o.nbcplRating = "foo"; | 1748 o.nbcplRating = "foo"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1781 unittest.expect(o.cceRating, unittest.equals('foo')); | 1782 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1782 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1783 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1783 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1784 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1784 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1785 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1785 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1786 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1786 unittest.expect(o.cncRating, unittest.equals('foo')); | 1787 unittest.expect(o.cncRating, unittest.equals('foo')); |
| 1787 unittest.expect(o.csaRating, unittest.equals('foo')); | 1788 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1788 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1789 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1789 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1790 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1790 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1791 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1791 checkUnnamed758(o.djctqRatingReasons); | 1792 checkUnnamed498(o.djctqRatingReasons); |
| 1792 unittest.expect(o.ecbmctRating, unittest.equals('foo')); | 1793 unittest.expect(o.ecbmctRating, unittest.equals('foo')); |
| 1793 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1794 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1794 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1795 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1795 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1796 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1796 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1797 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1797 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1798 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1798 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1799 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1799 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1800 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1800 checkUnnamed759(o.fpbRatingReasons); | 1801 checkUnnamed499(o.fpbRatingReasons); |
| 1801 unittest.expect(o.fskRating, unittest.equals('foo')); | 1802 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1802 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1803 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| 1803 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1804 unittest.expect(o.icaaRating, unittest.equals('foo')); |
| 1804 unittest.expect(o.ifcoRating, unittest.equals('foo')); | 1805 unittest.expect(o.ifcoRating, unittest.equals('foo')); |
| 1805 unittest.expect(o.ilfilmRating, unittest.equals('foo')); | 1806 unittest.expect(o.ilfilmRating, unittest.equals('foo')); |
| 1806 unittest.expect(o.incaaRating, unittest.equals('foo')); | 1807 unittest.expect(o.incaaRating, unittest.equals('foo')); |
| 1807 unittest.expect(o.kfcbRating, unittest.equals('foo')); | 1808 unittest.expect(o.kfcbRating, unittest.equals('foo')); |
| 1808 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); | 1809 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); |
| 1809 unittest.expect(o.kmrbRating, unittest.equals('foo')); | 1810 unittest.expect(o.kmrbRating, unittest.equals('foo')); |
| 1810 unittest.expect(o.lsfRating, unittest.equals('foo')); | 1811 unittest.expect(o.lsfRating, unittest.equals('foo')); |
| 1811 unittest.expect(o.mccaaRating, unittest.equals('foo')); | 1812 unittest.expect(o.mccaaRating, unittest.equals('foo')); |
| 1812 unittest.expect(o.mccypRating, unittest.equals('foo')); | 1813 unittest.expect(o.mccypRating, unittest.equals('foo')); |
| 1814 unittest.expect(o.mcstRating, unittest.equals('foo')); |
| 1813 unittest.expect(o.mdaRating, unittest.equals('foo')); | 1815 unittest.expect(o.mdaRating, unittest.equals('foo')); |
| 1814 unittest.expect(o.medietilsynetRating, unittest.equals('foo')); | 1816 unittest.expect(o.medietilsynetRating, unittest.equals('foo')); |
| 1815 unittest.expect(o.mekuRating, unittest.equals('foo')); | 1817 unittest.expect(o.mekuRating, unittest.equals('foo')); |
| 1816 unittest.expect(o.mibacRating, unittest.equals('foo')); | 1818 unittest.expect(o.mibacRating, unittest.equals('foo')); |
| 1817 unittest.expect(o.mocRating, unittest.equals('foo')); | 1819 unittest.expect(o.mocRating, unittest.equals('foo')); |
| 1818 unittest.expect(o.moctwRating, unittest.equals('foo')); | 1820 unittest.expect(o.moctwRating, unittest.equals('foo')); |
| 1819 unittest.expect(o.mpaaRating, unittest.equals('foo')); | 1821 unittest.expect(o.mpaaRating, unittest.equals('foo')); |
| 1820 unittest.expect(o.mtrcbRating, unittest.equals('foo')); | 1822 unittest.expect(o.mtrcbRating, unittest.equals('foo')); |
| 1821 unittest.expect(o.nbcRating, unittest.equals('foo')); | 1823 unittest.expect(o.nbcRating, unittest.equals('foo')); |
| 1822 unittest.expect(o.nbcplRating, unittest.equals('foo')); | 1824 unittest.expect(o.nbcplRating, unittest.equals('foo')); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1857 buildCounterFanFundingEvent++; | 1859 buildCounterFanFundingEvent++; |
| 1858 if (buildCounterFanFundingEvent < 3) { | 1860 if (buildCounterFanFundingEvent < 3) { |
| 1859 unittest.expect(o.etag, unittest.equals('foo')); | 1861 unittest.expect(o.etag, unittest.equals('foo')); |
| 1860 unittest.expect(o.id, unittest.equals('foo')); | 1862 unittest.expect(o.id, unittest.equals('foo')); |
| 1861 unittest.expect(o.kind, unittest.equals('foo')); | 1863 unittest.expect(o.kind, unittest.equals('foo')); |
| 1862 checkFanFundingEventSnippet(o.snippet); | 1864 checkFanFundingEventSnippet(o.snippet); |
| 1863 } | 1865 } |
| 1864 buildCounterFanFundingEvent--; | 1866 buildCounterFanFundingEvent--; |
| 1865 } | 1867 } |
| 1866 | 1868 |
| 1867 buildUnnamed760() { | 1869 buildUnnamed500() { |
| 1868 var o = new core.List<api.FanFundingEvent>(); | 1870 var o = new core.List<api.FanFundingEvent>(); |
| 1869 o.add(buildFanFundingEvent()); | 1871 o.add(buildFanFundingEvent()); |
| 1870 o.add(buildFanFundingEvent()); | 1872 o.add(buildFanFundingEvent()); |
| 1871 return o; | 1873 return o; |
| 1872 } | 1874 } |
| 1873 | 1875 |
| 1874 checkUnnamed760(core.List<api.FanFundingEvent> o) { | 1876 checkUnnamed500(core.List<api.FanFundingEvent> o) { |
| 1875 unittest.expect(o, unittest.hasLength(2)); | 1877 unittest.expect(o, unittest.hasLength(2)); |
| 1876 checkFanFundingEvent(o[0]); | 1878 checkFanFundingEvent(o[0]); |
| 1877 checkFanFundingEvent(o[1]); | 1879 checkFanFundingEvent(o[1]); |
| 1878 } | 1880 } |
| 1879 | 1881 |
| 1880 core.int buildCounterFanFundingEventListResponse = 0; | 1882 core.int buildCounterFanFundingEventListResponse = 0; |
| 1881 buildFanFundingEventListResponse() { | 1883 buildFanFundingEventListResponse() { |
| 1882 var o = new api.FanFundingEventListResponse(); | 1884 var o = new api.FanFundingEventListResponse(); |
| 1883 buildCounterFanFundingEventListResponse++; | 1885 buildCounterFanFundingEventListResponse++; |
| 1884 if (buildCounterFanFundingEventListResponse < 3) { | 1886 if (buildCounterFanFundingEventListResponse < 3) { |
| 1885 o.etag = "foo"; | 1887 o.etag = "foo"; |
| 1886 o.eventId = "foo"; | 1888 o.eventId = "foo"; |
| 1887 o.items = buildUnnamed760(); | 1889 o.items = buildUnnamed500(); |
| 1888 o.kind = "foo"; | 1890 o.kind = "foo"; |
| 1889 o.nextPageToken = "foo"; | 1891 o.nextPageToken = "foo"; |
| 1890 o.pageInfo = buildPageInfo(); | 1892 o.pageInfo = buildPageInfo(); |
| 1891 o.tokenPagination = buildTokenPagination(); | 1893 o.tokenPagination = buildTokenPagination(); |
| 1892 o.visitorId = "foo"; | 1894 o.visitorId = "foo"; |
| 1893 } | 1895 } |
| 1894 buildCounterFanFundingEventListResponse--; | 1896 buildCounterFanFundingEventListResponse--; |
| 1895 return o; | 1897 return o; |
| 1896 } | 1898 } |
| 1897 | 1899 |
| 1898 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { | 1900 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { |
| 1899 buildCounterFanFundingEventListResponse++; | 1901 buildCounterFanFundingEventListResponse++; |
| 1900 if (buildCounterFanFundingEventListResponse < 3) { | 1902 if (buildCounterFanFundingEventListResponse < 3) { |
| 1901 unittest.expect(o.etag, unittest.equals('foo')); | 1903 unittest.expect(o.etag, unittest.equals('foo')); |
| 1902 unittest.expect(o.eventId, unittest.equals('foo')); | 1904 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1903 checkUnnamed760(o.items); | 1905 checkUnnamed500(o.items); |
| 1904 unittest.expect(o.kind, unittest.equals('foo')); | 1906 unittest.expect(o.kind, unittest.equals('foo')); |
| 1905 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1907 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1906 checkPageInfo(o.pageInfo); | 1908 checkPageInfo(o.pageInfo); |
| 1907 checkTokenPagination(o.tokenPagination); | 1909 checkTokenPagination(o.tokenPagination); |
| 1908 unittest.expect(o.visitorId, unittest.equals('foo')); | 1910 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1909 } | 1911 } |
| 1910 buildCounterFanFundingEventListResponse--; | 1912 buildCounterFanFundingEventListResponse--; |
| 1911 } | 1913 } |
| 1912 | 1914 |
| 1913 core.int buildCounterFanFundingEventSnippet = 0; | 1915 core.int buildCounterFanFundingEventSnippet = 0; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1982 buildCounterGuideCategory++; | 1984 buildCounterGuideCategory++; |
| 1983 if (buildCounterGuideCategory < 3) { | 1985 if (buildCounterGuideCategory < 3) { |
| 1984 unittest.expect(o.etag, unittest.equals('foo')); | 1986 unittest.expect(o.etag, unittest.equals('foo')); |
| 1985 unittest.expect(o.id, unittest.equals('foo')); | 1987 unittest.expect(o.id, unittest.equals('foo')); |
| 1986 unittest.expect(o.kind, unittest.equals('foo')); | 1988 unittest.expect(o.kind, unittest.equals('foo')); |
| 1987 checkGuideCategorySnippet(o.snippet); | 1989 checkGuideCategorySnippet(o.snippet); |
| 1988 } | 1990 } |
| 1989 buildCounterGuideCategory--; | 1991 buildCounterGuideCategory--; |
| 1990 } | 1992 } |
| 1991 | 1993 |
| 1992 buildUnnamed761() { | 1994 buildUnnamed501() { |
| 1993 var o = new core.List<api.GuideCategory>(); | 1995 var o = new core.List<api.GuideCategory>(); |
| 1994 o.add(buildGuideCategory()); | 1996 o.add(buildGuideCategory()); |
| 1995 o.add(buildGuideCategory()); | 1997 o.add(buildGuideCategory()); |
| 1996 return o; | 1998 return o; |
| 1997 } | 1999 } |
| 1998 | 2000 |
| 1999 checkUnnamed761(core.List<api.GuideCategory> o) { | 2001 checkUnnamed501(core.List<api.GuideCategory> o) { |
| 2000 unittest.expect(o, unittest.hasLength(2)); | 2002 unittest.expect(o, unittest.hasLength(2)); |
| 2001 checkGuideCategory(o[0]); | 2003 checkGuideCategory(o[0]); |
| 2002 checkGuideCategory(o[1]); | 2004 checkGuideCategory(o[1]); |
| 2003 } | 2005 } |
| 2004 | 2006 |
| 2005 core.int buildCounterGuideCategoryListResponse = 0; | 2007 core.int buildCounterGuideCategoryListResponse = 0; |
| 2006 buildGuideCategoryListResponse() { | 2008 buildGuideCategoryListResponse() { |
| 2007 var o = new api.GuideCategoryListResponse(); | 2009 var o = new api.GuideCategoryListResponse(); |
| 2008 buildCounterGuideCategoryListResponse++; | 2010 buildCounterGuideCategoryListResponse++; |
| 2009 if (buildCounterGuideCategoryListResponse < 3) { | 2011 if (buildCounterGuideCategoryListResponse < 3) { |
| 2010 o.etag = "foo"; | 2012 o.etag = "foo"; |
| 2011 o.eventId = "foo"; | 2013 o.eventId = "foo"; |
| 2012 o.items = buildUnnamed761(); | 2014 o.items = buildUnnamed501(); |
| 2013 o.kind = "foo"; | 2015 o.kind = "foo"; |
| 2014 o.nextPageToken = "foo"; | 2016 o.nextPageToken = "foo"; |
| 2015 o.pageInfo = buildPageInfo(); | 2017 o.pageInfo = buildPageInfo(); |
| 2016 o.prevPageToken = "foo"; | 2018 o.prevPageToken = "foo"; |
| 2017 o.tokenPagination = buildTokenPagination(); | 2019 o.tokenPagination = buildTokenPagination(); |
| 2018 o.visitorId = "foo"; | 2020 o.visitorId = "foo"; |
| 2019 } | 2021 } |
| 2020 buildCounterGuideCategoryListResponse--; | 2022 buildCounterGuideCategoryListResponse--; |
| 2021 return o; | 2023 return o; |
| 2022 } | 2024 } |
| 2023 | 2025 |
| 2024 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 2026 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 2025 buildCounterGuideCategoryListResponse++; | 2027 buildCounterGuideCategoryListResponse++; |
| 2026 if (buildCounterGuideCategoryListResponse < 3) { | 2028 if (buildCounterGuideCategoryListResponse < 3) { |
| 2027 unittest.expect(o.etag, unittest.equals('foo')); | 2029 unittest.expect(o.etag, unittest.equals('foo')); |
| 2028 unittest.expect(o.eventId, unittest.equals('foo')); | 2030 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2029 checkUnnamed761(o.items); | 2031 checkUnnamed501(o.items); |
| 2030 unittest.expect(o.kind, unittest.equals('foo')); | 2032 unittest.expect(o.kind, unittest.equals('foo')); |
| 2031 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2033 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2032 checkPageInfo(o.pageInfo); | 2034 checkPageInfo(o.pageInfo); |
| 2033 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2035 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2034 checkTokenPagination(o.tokenPagination); | 2036 checkTokenPagination(o.tokenPagination); |
| 2035 unittest.expect(o.visitorId, unittest.equals('foo')); | 2037 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2036 } | 2038 } |
| 2037 buildCounterGuideCategoryListResponse--; | 2039 buildCounterGuideCategoryListResponse--; |
| 2038 } | 2040 } |
| 2039 | 2041 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2076 buildCounterI18nLanguage++; | 2078 buildCounterI18nLanguage++; |
| 2077 if (buildCounterI18nLanguage < 3) { | 2079 if (buildCounterI18nLanguage < 3) { |
| 2078 unittest.expect(o.etag, unittest.equals('foo')); | 2080 unittest.expect(o.etag, unittest.equals('foo')); |
| 2079 unittest.expect(o.id, unittest.equals('foo')); | 2081 unittest.expect(o.id, unittest.equals('foo')); |
| 2080 unittest.expect(o.kind, unittest.equals('foo')); | 2082 unittest.expect(o.kind, unittest.equals('foo')); |
| 2081 checkI18nLanguageSnippet(o.snippet); | 2083 checkI18nLanguageSnippet(o.snippet); |
| 2082 } | 2084 } |
| 2083 buildCounterI18nLanguage--; | 2085 buildCounterI18nLanguage--; |
| 2084 } | 2086 } |
| 2085 | 2087 |
| 2086 buildUnnamed762() { | 2088 buildUnnamed502() { |
| 2087 var o = new core.List<api.I18nLanguage>(); | 2089 var o = new core.List<api.I18nLanguage>(); |
| 2088 o.add(buildI18nLanguage()); | 2090 o.add(buildI18nLanguage()); |
| 2089 o.add(buildI18nLanguage()); | 2091 o.add(buildI18nLanguage()); |
| 2090 return o; | 2092 return o; |
| 2091 } | 2093 } |
| 2092 | 2094 |
| 2093 checkUnnamed762(core.List<api.I18nLanguage> o) { | 2095 checkUnnamed502(core.List<api.I18nLanguage> o) { |
| 2094 unittest.expect(o, unittest.hasLength(2)); | 2096 unittest.expect(o, unittest.hasLength(2)); |
| 2095 checkI18nLanguage(o[0]); | 2097 checkI18nLanguage(o[0]); |
| 2096 checkI18nLanguage(o[1]); | 2098 checkI18nLanguage(o[1]); |
| 2097 } | 2099 } |
| 2098 | 2100 |
| 2099 core.int buildCounterI18nLanguageListResponse = 0; | 2101 core.int buildCounterI18nLanguageListResponse = 0; |
| 2100 buildI18nLanguageListResponse() { | 2102 buildI18nLanguageListResponse() { |
| 2101 var o = new api.I18nLanguageListResponse(); | 2103 var o = new api.I18nLanguageListResponse(); |
| 2102 buildCounterI18nLanguageListResponse++; | 2104 buildCounterI18nLanguageListResponse++; |
| 2103 if (buildCounterI18nLanguageListResponse < 3) { | 2105 if (buildCounterI18nLanguageListResponse < 3) { |
| 2104 o.etag = "foo"; | 2106 o.etag = "foo"; |
| 2105 o.eventId = "foo"; | 2107 o.eventId = "foo"; |
| 2106 o.items = buildUnnamed762(); | 2108 o.items = buildUnnamed502(); |
| 2107 o.kind = "foo"; | 2109 o.kind = "foo"; |
| 2108 o.visitorId = "foo"; | 2110 o.visitorId = "foo"; |
| 2109 } | 2111 } |
| 2110 buildCounterI18nLanguageListResponse--; | 2112 buildCounterI18nLanguageListResponse--; |
| 2111 return o; | 2113 return o; |
| 2112 } | 2114 } |
| 2113 | 2115 |
| 2114 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 2116 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 2115 buildCounterI18nLanguageListResponse++; | 2117 buildCounterI18nLanguageListResponse++; |
| 2116 if (buildCounterI18nLanguageListResponse < 3) { | 2118 if (buildCounterI18nLanguageListResponse < 3) { |
| 2117 unittest.expect(o.etag, unittest.equals('foo')); | 2119 unittest.expect(o.etag, unittest.equals('foo')); |
| 2118 unittest.expect(o.eventId, unittest.equals('foo')); | 2120 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2119 checkUnnamed762(o.items); | 2121 checkUnnamed502(o.items); |
| 2120 unittest.expect(o.kind, unittest.equals('foo')); | 2122 unittest.expect(o.kind, unittest.equals('foo')); |
| 2121 unittest.expect(o.visitorId, unittest.equals('foo')); | 2123 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2122 } | 2124 } |
| 2123 buildCounterI18nLanguageListResponse--; | 2125 buildCounterI18nLanguageListResponse--; |
| 2124 } | 2126 } |
| 2125 | 2127 |
| 2126 core.int buildCounterI18nLanguageSnippet = 0; | 2128 core.int buildCounterI18nLanguageSnippet = 0; |
| 2127 buildI18nLanguageSnippet() { | 2129 buildI18nLanguageSnippet() { |
| 2128 var o = new api.I18nLanguageSnippet(); | 2130 var o = new api.I18nLanguageSnippet(); |
| 2129 buildCounterI18nLanguageSnippet++; | 2131 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2162 buildCounterI18nRegion++; | 2164 buildCounterI18nRegion++; |
| 2163 if (buildCounterI18nRegion < 3) { | 2165 if (buildCounterI18nRegion < 3) { |
| 2164 unittest.expect(o.etag, unittest.equals('foo')); | 2166 unittest.expect(o.etag, unittest.equals('foo')); |
| 2165 unittest.expect(o.id, unittest.equals('foo')); | 2167 unittest.expect(o.id, unittest.equals('foo')); |
| 2166 unittest.expect(o.kind, unittest.equals('foo')); | 2168 unittest.expect(o.kind, unittest.equals('foo')); |
| 2167 checkI18nRegionSnippet(o.snippet); | 2169 checkI18nRegionSnippet(o.snippet); |
| 2168 } | 2170 } |
| 2169 buildCounterI18nRegion--; | 2171 buildCounterI18nRegion--; |
| 2170 } | 2172 } |
| 2171 | 2173 |
| 2172 buildUnnamed763() { | 2174 buildUnnamed503() { |
| 2173 var o = new core.List<api.I18nRegion>(); | 2175 var o = new core.List<api.I18nRegion>(); |
| 2174 o.add(buildI18nRegion()); | 2176 o.add(buildI18nRegion()); |
| 2175 o.add(buildI18nRegion()); | 2177 o.add(buildI18nRegion()); |
| 2176 return o; | 2178 return o; |
| 2177 } | 2179 } |
| 2178 | 2180 |
| 2179 checkUnnamed763(core.List<api.I18nRegion> o) { | 2181 checkUnnamed503(core.List<api.I18nRegion> o) { |
| 2180 unittest.expect(o, unittest.hasLength(2)); | 2182 unittest.expect(o, unittest.hasLength(2)); |
| 2181 checkI18nRegion(o[0]); | 2183 checkI18nRegion(o[0]); |
| 2182 checkI18nRegion(o[1]); | 2184 checkI18nRegion(o[1]); |
| 2183 } | 2185 } |
| 2184 | 2186 |
| 2185 core.int buildCounterI18nRegionListResponse = 0; | 2187 core.int buildCounterI18nRegionListResponse = 0; |
| 2186 buildI18nRegionListResponse() { | 2188 buildI18nRegionListResponse() { |
| 2187 var o = new api.I18nRegionListResponse(); | 2189 var o = new api.I18nRegionListResponse(); |
| 2188 buildCounterI18nRegionListResponse++; | 2190 buildCounterI18nRegionListResponse++; |
| 2189 if (buildCounterI18nRegionListResponse < 3) { | 2191 if (buildCounterI18nRegionListResponse < 3) { |
| 2190 o.etag = "foo"; | 2192 o.etag = "foo"; |
| 2191 o.eventId = "foo"; | 2193 o.eventId = "foo"; |
| 2192 o.items = buildUnnamed763(); | 2194 o.items = buildUnnamed503(); |
| 2193 o.kind = "foo"; | 2195 o.kind = "foo"; |
| 2194 o.visitorId = "foo"; | 2196 o.visitorId = "foo"; |
| 2195 } | 2197 } |
| 2196 buildCounterI18nRegionListResponse--; | 2198 buildCounterI18nRegionListResponse--; |
| 2197 return o; | 2199 return o; |
| 2198 } | 2200 } |
| 2199 | 2201 |
| 2200 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2202 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 2201 buildCounterI18nRegionListResponse++; | 2203 buildCounterI18nRegionListResponse++; |
| 2202 if (buildCounterI18nRegionListResponse < 3) { | 2204 if (buildCounterI18nRegionListResponse < 3) { |
| 2203 unittest.expect(o.etag, unittest.equals('foo')); | 2205 unittest.expect(o.etag, unittest.equals('foo')); |
| 2204 unittest.expect(o.eventId, unittest.equals('foo')); | 2206 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2205 checkUnnamed763(o.items); | 2207 checkUnnamed503(o.items); |
| 2206 unittest.expect(o.kind, unittest.equals('foo')); | 2208 unittest.expect(o.kind, unittest.equals('foo')); |
| 2207 unittest.expect(o.visitorId, unittest.equals('foo')); | 2209 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2208 } | 2210 } |
| 2209 buildCounterI18nRegionListResponse--; | 2211 buildCounterI18nRegionListResponse--; |
| 2210 } | 2212 } |
| 2211 | 2213 |
| 2212 core.int buildCounterI18nRegionSnippet = 0; | 2214 core.int buildCounterI18nRegionSnippet = 0; |
| 2213 buildI18nRegionSnippet() { | 2215 buildI18nRegionSnippet() { |
| 2214 var o = new api.I18nRegionSnippet(); | 2216 var o = new api.I18nRegionSnippet(); |
| 2215 buildCounterI18nRegionSnippet++; | 2217 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2355 | 2357 |
| 2356 checkInvideoPosition(api.InvideoPosition o) { | 2358 checkInvideoPosition(api.InvideoPosition o) { |
| 2357 buildCounterInvideoPosition++; | 2359 buildCounterInvideoPosition++; |
| 2358 if (buildCounterInvideoPosition < 3) { | 2360 if (buildCounterInvideoPosition < 3) { |
| 2359 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2361 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 2360 unittest.expect(o.type, unittest.equals('foo')); | 2362 unittest.expect(o.type, unittest.equals('foo')); |
| 2361 } | 2363 } |
| 2362 buildCounterInvideoPosition--; | 2364 buildCounterInvideoPosition--; |
| 2363 } | 2365 } |
| 2364 | 2366 |
| 2365 buildUnnamed764() { | 2367 buildUnnamed504() { |
| 2366 var o = new core.List<api.PromotedItem>(); | 2368 var o = new core.List<api.PromotedItem>(); |
| 2367 o.add(buildPromotedItem()); | 2369 o.add(buildPromotedItem()); |
| 2368 o.add(buildPromotedItem()); | 2370 o.add(buildPromotedItem()); |
| 2369 return o; | 2371 return o; |
| 2370 } | 2372 } |
| 2371 | 2373 |
| 2372 checkUnnamed764(core.List<api.PromotedItem> o) { | 2374 checkUnnamed504(core.List<api.PromotedItem> o) { |
| 2373 unittest.expect(o, unittest.hasLength(2)); | 2375 unittest.expect(o, unittest.hasLength(2)); |
| 2374 checkPromotedItem(o[0]); | 2376 checkPromotedItem(o[0]); |
| 2375 checkPromotedItem(o[1]); | 2377 checkPromotedItem(o[1]); |
| 2376 } | 2378 } |
| 2377 | 2379 |
| 2378 core.int buildCounterInvideoPromotion = 0; | 2380 core.int buildCounterInvideoPromotion = 0; |
| 2379 buildInvideoPromotion() { | 2381 buildInvideoPromotion() { |
| 2380 var o = new api.InvideoPromotion(); | 2382 var o = new api.InvideoPromotion(); |
| 2381 buildCounterInvideoPromotion++; | 2383 buildCounterInvideoPromotion++; |
| 2382 if (buildCounterInvideoPromotion < 3) { | 2384 if (buildCounterInvideoPromotion < 3) { |
| 2383 o.defaultTiming = buildInvideoTiming(); | 2385 o.defaultTiming = buildInvideoTiming(); |
| 2384 o.items = buildUnnamed764(); | 2386 o.items = buildUnnamed504(); |
| 2385 o.position = buildInvideoPosition(); | 2387 o.position = buildInvideoPosition(); |
| 2386 o.useSmartTiming = true; | 2388 o.useSmartTiming = true; |
| 2387 } | 2389 } |
| 2388 buildCounterInvideoPromotion--; | 2390 buildCounterInvideoPromotion--; |
| 2389 return o; | 2391 return o; |
| 2390 } | 2392 } |
| 2391 | 2393 |
| 2392 checkInvideoPromotion(api.InvideoPromotion o) { | 2394 checkInvideoPromotion(api.InvideoPromotion o) { |
| 2393 buildCounterInvideoPromotion++; | 2395 buildCounterInvideoPromotion++; |
| 2394 if (buildCounterInvideoPromotion < 3) { | 2396 if (buildCounterInvideoPromotion < 3) { |
| 2395 checkInvideoTiming(o.defaultTiming); | 2397 checkInvideoTiming(o.defaultTiming); |
| 2396 checkUnnamed764(o.items); | 2398 checkUnnamed504(o.items); |
| 2397 checkInvideoPosition(o.position); | 2399 checkInvideoPosition(o.position); |
| 2398 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2400 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 2399 } | 2401 } |
| 2400 buildCounterInvideoPromotion--; | 2402 buildCounterInvideoPromotion--; |
| 2401 } | 2403 } |
| 2402 | 2404 |
| 2403 core.int buildCounterInvideoTiming = 0; | 2405 core.int buildCounterInvideoTiming = 0; |
| 2404 buildInvideoTiming() { | 2406 buildInvideoTiming() { |
| 2405 var o = new api.InvideoTiming(); | 2407 var o = new api.InvideoTiming(); |
| 2406 buildCounterInvideoTiming++; | 2408 buildCounterInvideoTiming++; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2509 unittest.expect(o.enableEmbed, unittest.isTrue); | 2511 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 2510 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2512 unittest.expect(o.enableLowLatency, unittest.isTrue); |
| 2511 checkMonitorStreamInfo(o.monitorStream); | 2513 checkMonitorStreamInfo(o.monitorStream); |
| 2512 unittest.expect(o.projection, unittest.equals('foo')); | 2514 unittest.expect(o.projection, unittest.equals('foo')); |
| 2513 unittest.expect(o.recordFromStart, unittest.isTrue); | 2515 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 2514 unittest.expect(o.startWithSlate, unittest.isTrue); | 2516 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 2515 } | 2517 } |
| 2516 buildCounterLiveBroadcastContentDetails--; | 2518 buildCounterLiveBroadcastContentDetails--; |
| 2517 } | 2519 } |
| 2518 | 2520 |
| 2519 buildUnnamed765() { | 2521 buildUnnamed505() { |
| 2520 var o = new core.List<api.LiveBroadcast>(); | 2522 var o = new core.List<api.LiveBroadcast>(); |
| 2521 o.add(buildLiveBroadcast()); | 2523 o.add(buildLiveBroadcast()); |
| 2522 o.add(buildLiveBroadcast()); | 2524 o.add(buildLiveBroadcast()); |
| 2523 return o; | 2525 return o; |
| 2524 } | 2526 } |
| 2525 | 2527 |
| 2526 checkUnnamed765(core.List<api.LiveBroadcast> o) { | 2528 checkUnnamed505(core.List<api.LiveBroadcast> o) { |
| 2527 unittest.expect(o, unittest.hasLength(2)); | 2529 unittest.expect(o, unittest.hasLength(2)); |
| 2528 checkLiveBroadcast(o[0]); | 2530 checkLiveBroadcast(o[0]); |
| 2529 checkLiveBroadcast(o[1]); | 2531 checkLiveBroadcast(o[1]); |
| 2530 } | 2532 } |
| 2531 | 2533 |
| 2532 core.int buildCounterLiveBroadcastListResponse = 0; | 2534 core.int buildCounterLiveBroadcastListResponse = 0; |
| 2533 buildLiveBroadcastListResponse() { | 2535 buildLiveBroadcastListResponse() { |
| 2534 var o = new api.LiveBroadcastListResponse(); | 2536 var o = new api.LiveBroadcastListResponse(); |
| 2535 buildCounterLiveBroadcastListResponse++; | 2537 buildCounterLiveBroadcastListResponse++; |
| 2536 if (buildCounterLiveBroadcastListResponse < 3) { | 2538 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2537 o.etag = "foo"; | 2539 o.etag = "foo"; |
| 2538 o.eventId = "foo"; | 2540 o.eventId = "foo"; |
| 2539 o.items = buildUnnamed765(); | 2541 o.items = buildUnnamed505(); |
| 2540 o.kind = "foo"; | 2542 o.kind = "foo"; |
| 2541 o.nextPageToken = "foo"; | 2543 o.nextPageToken = "foo"; |
| 2542 o.pageInfo = buildPageInfo(); | 2544 o.pageInfo = buildPageInfo(); |
| 2543 o.prevPageToken = "foo"; | 2545 o.prevPageToken = "foo"; |
| 2544 o.tokenPagination = buildTokenPagination(); | 2546 o.tokenPagination = buildTokenPagination(); |
| 2545 o.visitorId = "foo"; | 2547 o.visitorId = "foo"; |
| 2546 } | 2548 } |
| 2547 buildCounterLiveBroadcastListResponse--; | 2549 buildCounterLiveBroadcastListResponse--; |
| 2548 return o; | 2550 return o; |
| 2549 } | 2551 } |
| 2550 | 2552 |
| 2551 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2553 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 2552 buildCounterLiveBroadcastListResponse++; | 2554 buildCounterLiveBroadcastListResponse++; |
| 2553 if (buildCounterLiveBroadcastListResponse < 3) { | 2555 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2554 unittest.expect(o.etag, unittest.equals('foo')); | 2556 unittest.expect(o.etag, unittest.equals('foo')); |
| 2555 unittest.expect(o.eventId, unittest.equals('foo')); | 2557 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2556 checkUnnamed765(o.items); | 2558 checkUnnamed505(o.items); |
| 2557 unittest.expect(o.kind, unittest.equals('foo')); | 2559 unittest.expect(o.kind, unittest.equals('foo')); |
| 2558 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2560 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2559 checkPageInfo(o.pageInfo); | 2561 checkPageInfo(o.pageInfo); |
| 2560 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2562 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2561 checkTokenPagination(o.tokenPagination); | 2563 checkTokenPagination(o.tokenPagination); |
| 2562 unittest.expect(o.visitorId, unittest.equals('foo')); | 2564 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2563 } | 2565 } |
| 2564 buildCounterLiveBroadcastListResponse--; | 2566 buildCounterLiveBroadcastListResponse--; |
| 2565 } | 2567 } |
| 2566 | 2568 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2665 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2667 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
| 2666 buildCounterLiveBroadcastTopic++; | 2668 buildCounterLiveBroadcastTopic++; |
| 2667 if (buildCounterLiveBroadcastTopic < 3) { | 2669 if (buildCounterLiveBroadcastTopic < 3) { |
| 2668 checkLiveBroadcastTopicSnippet(o.snippet); | 2670 checkLiveBroadcastTopicSnippet(o.snippet); |
| 2669 unittest.expect(o.type, unittest.equals('foo')); | 2671 unittest.expect(o.type, unittest.equals('foo')); |
| 2670 unittest.expect(o.unmatched, unittest.isTrue); | 2672 unittest.expect(o.unmatched, unittest.isTrue); |
| 2671 } | 2673 } |
| 2672 buildCounterLiveBroadcastTopic--; | 2674 buildCounterLiveBroadcastTopic--; |
| 2673 } | 2675 } |
| 2674 | 2676 |
| 2675 buildUnnamed766() { | 2677 buildUnnamed506() { |
| 2676 var o = new core.List<api.LiveBroadcastTopic>(); | 2678 var o = new core.List<api.LiveBroadcastTopic>(); |
| 2677 o.add(buildLiveBroadcastTopic()); | 2679 o.add(buildLiveBroadcastTopic()); |
| 2678 o.add(buildLiveBroadcastTopic()); | 2680 o.add(buildLiveBroadcastTopic()); |
| 2679 return o; | 2681 return o; |
| 2680 } | 2682 } |
| 2681 | 2683 |
| 2682 checkUnnamed766(core.List<api.LiveBroadcastTopic> o) { | 2684 checkUnnamed506(core.List<api.LiveBroadcastTopic> o) { |
| 2683 unittest.expect(o, unittest.hasLength(2)); | 2685 unittest.expect(o, unittest.hasLength(2)); |
| 2684 checkLiveBroadcastTopic(o[0]); | 2686 checkLiveBroadcastTopic(o[0]); |
| 2685 checkLiveBroadcastTopic(o[1]); | 2687 checkLiveBroadcastTopic(o[1]); |
| 2686 } | 2688 } |
| 2687 | 2689 |
| 2688 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2690 core.int buildCounterLiveBroadcastTopicDetails = 0; |
| 2689 buildLiveBroadcastTopicDetails() { | 2691 buildLiveBroadcastTopicDetails() { |
| 2690 var o = new api.LiveBroadcastTopicDetails(); | 2692 var o = new api.LiveBroadcastTopicDetails(); |
| 2691 buildCounterLiveBroadcastTopicDetails++; | 2693 buildCounterLiveBroadcastTopicDetails++; |
| 2692 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2694 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2693 o.topics = buildUnnamed766(); | 2695 o.topics = buildUnnamed506(); |
| 2694 } | 2696 } |
| 2695 buildCounterLiveBroadcastTopicDetails--; | 2697 buildCounterLiveBroadcastTopicDetails--; |
| 2696 return o; | 2698 return o; |
| 2697 } | 2699 } |
| 2698 | 2700 |
| 2699 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2701 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
| 2700 buildCounterLiveBroadcastTopicDetails++; | 2702 buildCounterLiveBroadcastTopicDetails++; |
| 2701 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2703 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2702 checkUnnamed766(o.topics); | 2704 checkUnnamed506(o.topics); |
| 2703 } | 2705 } |
| 2704 buildCounterLiveBroadcastTopicDetails--; | 2706 buildCounterLiveBroadcastTopicDetails--; |
| 2705 } | 2707 } |
| 2706 | 2708 |
| 2707 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2709 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
| 2708 buildLiveBroadcastTopicSnippet() { | 2710 buildLiveBroadcastTopicSnippet() { |
| 2709 var o = new api.LiveBroadcastTopicSnippet(); | 2711 var o = new api.LiveBroadcastTopicSnippet(); |
| 2710 buildCounterLiveBroadcastTopicSnippet++; | 2712 buildCounterLiveBroadcastTopicSnippet++; |
| 2711 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2713 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
| 2712 o.name = "foo"; | 2714 o.name = "foo"; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2872 } | 2874 } |
| 2873 | 2875 |
| 2874 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { | 2876 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { |
| 2875 buildCounterLiveChatMessageDeletedDetails++; | 2877 buildCounterLiveChatMessageDeletedDetails++; |
| 2876 if (buildCounterLiveChatMessageDeletedDetails < 3) { | 2878 if (buildCounterLiveChatMessageDeletedDetails < 3) { |
| 2877 unittest.expect(o.deletedMessageId, unittest.equals('foo')); | 2879 unittest.expect(o.deletedMessageId, unittest.equals('foo')); |
| 2878 } | 2880 } |
| 2879 buildCounterLiveChatMessageDeletedDetails--; | 2881 buildCounterLiveChatMessageDeletedDetails--; |
| 2880 } | 2882 } |
| 2881 | 2883 |
| 2882 buildUnnamed767() { | 2884 buildUnnamed507() { |
| 2883 var o = new core.List<api.LiveChatMessage>(); | 2885 var o = new core.List<api.LiveChatMessage>(); |
| 2884 o.add(buildLiveChatMessage()); | 2886 o.add(buildLiveChatMessage()); |
| 2885 o.add(buildLiveChatMessage()); | 2887 o.add(buildLiveChatMessage()); |
| 2886 return o; | 2888 return o; |
| 2887 } | 2889 } |
| 2888 | 2890 |
| 2889 checkUnnamed767(core.List<api.LiveChatMessage> o) { | 2891 checkUnnamed507(core.List<api.LiveChatMessage> o) { |
| 2890 unittest.expect(o, unittest.hasLength(2)); | 2892 unittest.expect(o, unittest.hasLength(2)); |
| 2891 checkLiveChatMessage(o[0]); | 2893 checkLiveChatMessage(o[0]); |
| 2892 checkLiveChatMessage(o[1]); | 2894 checkLiveChatMessage(o[1]); |
| 2893 } | 2895 } |
| 2894 | 2896 |
| 2895 core.int buildCounterLiveChatMessageListResponse = 0; | 2897 core.int buildCounterLiveChatMessageListResponse = 0; |
| 2896 buildLiveChatMessageListResponse() { | 2898 buildLiveChatMessageListResponse() { |
| 2897 var o = new api.LiveChatMessageListResponse(); | 2899 var o = new api.LiveChatMessageListResponse(); |
| 2898 buildCounterLiveChatMessageListResponse++; | 2900 buildCounterLiveChatMessageListResponse++; |
| 2899 if (buildCounterLiveChatMessageListResponse < 3) { | 2901 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2900 o.etag = "foo"; | 2902 o.etag = "foo"; |
| 2901 o.eventId = "foo"; | 2903 o.eventId = "foo"; |
| 2902 o.items = buildUnnamed767(); | 2904 o.items = buildUnnamed507(); |
| 2903 o.kind = "foo"; | 2905 o.kind = "foo"; |
| 2904 o.nextPageToken = "foo"; | 2906 o.nextPageToken = "foo"; |
| 2905 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2907 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2906 o.pageInfo = buildPageInfo(); | 2908 o.pageInfo = buildPageInfo(); |
| 2907 o.pollingIntervalMillis = 42; | 2909 o.pollingIntervalMillis = 42; |
| 2908 o.tokenPagination = buildTokenPagination(); | 2910 o.tokenPagination = buildTokenPagination(); |
| 2909 o.visitorId = "foo"; | 2911 o.visitorId = "foo"; |
| 2910 } | 2912 } |
| 2911 buildCounterLiveChatMessageListResponse--; | 2913 buildCounterLiveChatMessageListResponse--; |
| 2912 return o; | 2914 return o; |
| 2913 } | 2915 } |
| 2914 | 2916 |
| 2915 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { | 2917 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { |
| 2916 buildCounterLiveChatMessageListResponse++; | 2918 buildCounterLiveChatMessageListResponse++; |
| 2917 if (buildCounterLiveChatMessageListResponse < 3) { | 2919 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2918 unittest.expect(o.etag, unittest.equals('foo')); | 2920 unittest.expect(o.etag, unittest.equals('foo')); |
| 2919 unittest.expect(o.eventId, unittest.equals('foo')); | 2921 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2920 checkUnnamed767(o.items); | 2922 checkUnnamed507(o.items); |
| 2921 unittest.expect(o.kind, unittest.equals('foo')); | 2923 unittest.expect(o.kind, unittest.equals('foo')); |
| 2922 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2924 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2923 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2925 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 2924 checkPageInfo(o.pageInfo); | 2926 checkPageInfo(o.pageInfo); |
| 2925 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); | 2927 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); |
| 2926 checkTokenPagination(o.tokenPagination); | 2928 checkTokenPagination(o.tokenPagination); |
| 2927 unittest.expect(o.visitorId, unittest.equals('foo')); | 2929 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2928 } | 2930 } |
| 2929 buildCounterLiveChatMessageListResponse--; | 2931 buildCounterLiveChatMessageListResponse--; |
| 2930 } | 2932 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3013 buildCounterLiveChatModerator++; | 3015 buildCounterLiveChatModerator++; |
| 3014 if (buildCounterLiveChatModerator < 3) { | 3016 if (buildCounterLiveChatModerator < 3) { |
| 3015 unittest.expect(o.etag, unittest.equals('foo')); | 3017 unittest.expect(o.etag, unittest.equals('foo')); |
| 3016 unittest.expect(o.id, unittest.equals('foo')); | 3018 unittest.expect(o.id, unittest.equals('foo')); |
| 3017 unittest.expect(o.kind, unittest.equals('foo')); | 3019 unittest.expect(o.kind, unittest.equals('foo')); |
| 3018 checkLiveChatModeratorSnippet(o.snippet); | 3020 checkLiveChatModeratorSnippet(o.snippet); |
| 3019 } | 3021 } |
| 3020 buildCounterLiveChatModerator--; | 3022 buildCounterLiveChatModerator--; |
| 3021 } | 3023 } |
| 3022 | 3024 |
| 3023 buildUnnamed768() { | 3025 buildUnnamed508() { |
| 3024 var o = new core.List<api.LiveChatModerator>(); | 3026 var o = new core.List<api.LiveChatModerator>(); |
| 3025 o.add(buildLiveChatModerator()); | 3027 o.add(buildLiveChatModerator()); |
| 3026 o.add(buildLiveChatModerator()); | 3028 o.add(buildLiveChatModerator()); |
| 3027 return o; | 3029 return o; |
| 3028 } | 3030 } |
| 3029 | 3031 |
| 3030 checkUnnamed768(core.List<api.LiveChatModerator> o) { | 3032 checkUnnamed508(core.List<api.LiveChatModerator> o) { |
| 3031 unittest.expect(o, unittest.hasLength(2)); | 3033 unittest.expect(o, unittest.hasLength(2)); |
| 3032 checkLiveChatModerator(o[0]); | 3034 checkLiveChatModerator(o[0]); |
| 3033 checkLiveChatModerator(o[1]); | 3035 checkLiveChatModerator(o[1]); |
| 3034 } | 3036 } |
| 3035 | 3037 |
| 3036 core.int buildCounterLiveChatModeratorListResponse = 0; | 3038 core.int buildCounterLiveChatModeratorListResponse = 0; |
| 3037 buildLiveChatModeratorListResponse() { | 3039 buildLiveChatModeratorListResponse() { |
| 3038 var o = new api.LiveChatModeratorListResponse(); | 3040 var o = new api.LiveChatModeratorListResponse(); |
| 3039 buildCounterLiveChatModeratorListResponse++; | 3041 buildCounterLiveChatModeratorListResponse++; |
| 3040 if (buildCounterLiveChatModeratorListResponse < 3) { | 3042 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3041 o.etag = "foo"; | 3043 o.etag = "foo"; |
| 3042 o.eventId = "foo"; | 3044 o.eventId = "foo"; |
| 3043 o.items = buildUnnamed768(); | 3045 o.items = buildUnnamed508(); |
| 3044 o.kind = "foo"; | 3046 o.kind = "foo"; |
| 3045 o.nextPageToken = "foo"; | 3047 o.nextPageToken = "foo"; |
| 3046 o.pageInfo = buildPageInfo(); | 3048 o.pageInfo = buildPageInfo(); |
| 3047 o.prevPageToken = "foo"; | 3049 o.prevPageToken = "foo"; |
| 3048 o.tokenPagination = buildTokenPagination(); | 3050 o.tokenPagination = buildTokenPagination(); |
| 3049 o.visitorId = "foo"; | 3051 o.visitorId = "foo"; |
| 3050 } | 3052 } |
| 3051 buildCounterLiveChatModeratorListResponse--; | 3053 buildCounterLiveChatModeratorListResponse--; |
| 3052 return o; | 3054 return o; |
| 3053 } | 3055 } |
| 3054 | 3056 |
| 3055 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { | 3057 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { |
| 3056 buildCounterLiveChatModeratorListResponse++; | 3058 buildCounterLiveChatModeratorListResponse++; |
| 3057 if (buildCounterLiveChatModeratorListResponse < 3) { | 3059 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3058 unittest.expect(o.etag, unittest.equals('foo')); | 3060 unittest.expect(o.etag, unittest.equals('foo')); |
| 3059 unittest.expect(o.eventId, unittest.equals('foo')); | 3061 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3060 checkUnnamed768(o.items); | 3062 checkUnnamed508(o.items); |
| 3061 unittest.expect(o.kind, unittest.equals('foo')); | 3063 unittest.expect(o.kind, unittest.equals('foo')); |
| 3062 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3064 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3063 checkPageInfo(o.pageInfo); | 3065 checkPageInfo(o.pageInfo); |
| 3064 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3066 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3065 checkTokenPagination(o.tokenPagination); | 3067 checkTokenPagination(o.tokenPagination); |
| 3066 unittest.expect(o.visitorId, unittest.equals('foo')); | 3068 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3067 } | 3069 } |
| 3068 buildCounterLiveChatModeratorListResponse--; | 3070 buildCounterLiveChatModeratorListResponse--; |
| 3069 } | 3071 } |
| 3070 | 3072 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3101 } | 3103 } |
| 3102 | 3104 |
| 3103 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { | 3105 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { |
| 3104 buildCounterLiveChatPollClosedDetails++; | 3106 buildCounterLiveChatPollClosedDetails++; |
| 3105 if (buildCounterLiveChatPollClosedDetails < 3) { | 3107 if (buildCounterLiveChatPollClosedDetails < 3) { |
| 3106 unittest.expect(o.pollId, unittest.equals('foo')); | 3108 unittest.expect(o.pollId, unittest.equals('foo')); |
| 3107 } | 3109 } |
| 3108 buildCounterLiveChatPollClosedDetails--; | 3110 buildCounterLiveChatPollClosedDetails--; |
| 3109 } | 3111 } |
| 3110 | 3112 |
| 3111 buildUnnamed769() { | 3113 buildUnnamed509() { |
| 3112 var o = new core.List<api.LiveChatPollItem>(); | 3114 var o = new core.List<api.LiveChatPollItem>(); |
| 3113 o.add(buildLiveChatPollItem()); | 3115 o.add(buildLiveChatPollItem()); |
| 3114 o.add(buildLiveChatPollItem()); | 3116 o.add(buildLiveChatPollItem()); |
| 3115 return o; | 3117 return o; |
| 3116 } | 3118 } |
| 3117 | 3119 |
| 3118 checkUnnamed769(core.List<api.LiveChatPollItem> o) { | 3120 checkUnnamed509(core.List<api.LiveChatPollItem> o) { |
| 3119 unittest.expect(o, unittest.hasLength(2)); | 3121 unittest.expect(o, unittest.hasLength(2)); |
| 3120 checkLiveChatPollItem(o[0]); | 3122 checkLiveChatPollItem(o[0]); |
| 3121 checkLiveChatPollItem(o[1]); | 3123 checkLiveChatPollItem(o[1]); |
| 3122 } | 3124 } |
| 3123 | 3125 |
| 3124 core.int buildCounterLiveChatPollEditedDetails = 0; | 3126 core.int buildCounterLiveChatPollEditedDetails = 0; |
| 3125 buildLiveChatPollEditedDetails() { | 3127 buildLiveChatPollEditedDetails() { |
| 3126 var o = new api.LiveChatPollEditedDetails(); | 3128 var o = new api.LiveChatPollEditedDetails(); |
| 3127 buildCounterLiveChatPollEditedDetails++; | 3129 buildCounterLiveChatPollEditedDetails++; |
| 3128 if (buildCounterLiveChatPollEditedDetails < 3) { | 3130 if (buildCounterLiveChatPollEditedDetails < 3) { |
| 3129 o.id = "foo"; | 3131 o.id = "foo"; |
| 3130 o.items = buildUnnamed769(); | 3132 o.items = buildUnnamed509(); |
| 3131 o.prompt = "foo"; | 3133 o.prompt = "foo"; |
| 3132 } | 3134 } |
| 3133 buildCounterLiveChatPollEditedDetails--; | 3135 buildCounterLiveChatPollEditedDetails--; |
| 3134 return o; | 3136 return o; |
| 3135 } | 3137 } |
| 3136 | 3138 |
| 3137 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { | 3139 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { |
| 3138 buildCounterLiveChatPollEditedDetails++; | 3140 buildCounterLiveChatPollEditedDetails++; |
| 3139 if (buildCounterLiveChatPollEditedDetails < 3) { | 3141 if (buildCounterLiveChatPollEditedDetails < 3) { |
| 3140 unittest.expect(o.id, unittest.equals('foo')); | 3142 unittest.expect(o.id, unittest.equals('foo')); |
| 3141 checkUnnamed769(o.items); | 3143 checkUnnamed509(o.items); |
| 3142 unittest.expect(o.prompt, unittest.equals('foo')); | 3144 unittest.expect(o.prompt, unittest.equals('foo')); |
| 3143 } | 3145 } |
| 3144 buildCounterLiveChatPollEditedDetails--; | 3146 buildCounterLiveChatPollEditedDetails--; |
| 3145 } | 3147 } |
| 3146 | 3148 |
| 3147 core.int buildCounterLiveChatPollItem = 0; | 3149 core.int buildCounterLiveChatPollItem = 0; |
| 3148 buildLiveChatPollItem() { | 3150 buildLiveChatPollItem() { |
| 3149 var o = new api.LiveChatPollItem(); | 3151 var o = new api.LiveChatPollItem(); |
| 3150 buildCounterLiveChatPollItem++; | 3152 buildCounterLiveChatPollItem++; |
| 3151 if (buildCounterLiveChatPollItem < 3) { | 3153 if (buildCounterLiveChatPollItem < 3) { |
| 3152 o.description = "foo"; | 3154 o.description = "foo"; |
| 3153 o.itemId = "foo"; | 3155 o.itemId = "foo"; |
| 3154 } | 3156 } |
| 3155 buildCounterLiveChatPollItem--; | 3157 buildCounterLiveChatPollItem--; |
| 3156 return o; | 3158 return o; |
| 3157 } | 3159 } |
| 3158 | 3160 |
| 3159 checkLiveChatPollItem(api.LiveChatPollItem o) { | 3161 checkLiveChatPollItem(api.LiveChatPollItem o) { |
| 3160 buildCounterLiveChatPollItem++; | 3162 buildCounterLiveChatPollItem++; |
| 3161 if (buildCounterLiveChatPollItem < 3) { | 3163 if (buildCounterLiveChatPollItem < 3) { |
| 3162 unittest.expect(o.description, unittest.equals('foo')); | 3164 unittest.expect(o.description, unittest.equals('foo')); |
| 3163 unittest.expect(o.itemId, unittest.equals('foo')); | 3165 unittest.expect(o.itemId, unittest.equals('foo')); |
| 3164 } | 3166 } |
| 3165 buildCounterLiveChatPollItem--; | 3167 buildCounterLiveChatPollItem--; |
| 3166 } | 3168 } |
| 3167 | 3169 |
| 3168 buildUnnamed770() { | 3170 buildUnnamed510() { |
| 3169 var o = new core.List<api.LiveChatPollItem>(); | 3171 var o = new core.List<api.LiveChatPollItem>(); |
| 3170 o.add(buildLiveChatPollItem()); | 3172 o.add(buildLiveChatPollItem()); |
| 3171 o.add(buildLiveChatPollItem()); | 3173 o.add(buildLiveChatPollItem()); |
| 3172 return o; | 3174 return o; |
| 3173 } | 3175 } |
| 3174 | 3176 |
| 3175 checkUnnamed770(core.List<api.LiveChatPollItem> o) { | 3177 checkUnnamed510(core.List<api.LiveChatPollItem> o) { |
| 3176 unittest.expect(o, unittest.hasLength(2)); | 3178 unittest.expect(o, unittest.hasLength(2)); |
| 3177 checkLiveChatPollItem(o[0]); | 3179 checkLiveChatPollItem(o[0]); |
| 3178 checkLiveChatPollItem(o[1]); | 3180 checkLiveChatPollItem(o[1]); |
| 3179 } | 3181 } |
| 3180 | 3182 |
| 3181 core.int buildCounterLiveChatPollOpenedDetails = 0; | 3183 core.int buildCounterLiveChatPollOpenedDetails = 0; |
| 3182 buildLiveChatPollOpenedDetails() { | 3184 buildLiveChatPollOpenedDetails() { |
| 3183 var o = new api.LiveChatPollOpenedDetails(); | 3185 var o = new api.LiveChatPollOpenedDetails(); |
| 3184 buildCounterLiveChatPollOpenedDetails++; | 3186 buildCounterLiveChatPollOpenedDetails++; |
| 3185 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3187 if (buildCounterLiveChatPollOpenedDetails < 3) { |
| 3186 o.id = "foo"; | 3188 o.id = "foo"; |
| 3187 o.items = buildUnnamed770(); | 3189 o.items = buildUnnamed510(); |
| 3188 o.prompt = "foo"; | 3190 o.prompt = "foo"; |
| 3189 } | 3191 } |
| 3190 buildCounterLiveChatPollOpenedDetails--; | 3192 buildCounterLiveChatPollOpenedDetails--; |
| 3191 return o; | 3193 return o; |
| 3192 } | 3194 } |
| 3193 | 3195 |
| 3194 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { | 3196 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { |
| 3195 buildCounterLiveChatPollOpenedDetails++; | 3197 buildCounterLiveChatPollOpenedDetails++; |
| 3196 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3198 if (buildCounterLiveChatPollOpenedDetails < 3) { |
| 3197 unittest.expect(o.id, unittest.equals('foo')); | 3199 unittest.expect(o.id, unittest.equals('foo')); |
| 3198 checkUnnamed770(o.items); | 3200 checkUnnamed510(o.items); |
| 3199 unittest.expect(o.prompt, unittest.equals('foo')); | 3201 unittest.expect(o.prompt, unittest.equals('foo')); |
| 3200 } | 3202 } |
| 3201 buildCounterLiveChatPollOpenedDetails--; | 3203 buildCounterLiveChatPollOpenedDetails--; |
| 3202 } | 3204 } |
| 3203 | 3205 |
| 3204 core.int buildCounterLiveChatPollVotedDetails = 0; | 3206 core.int buildCounterLiveChatPollVotedDetails = 0; |
| 3205 buildLiveChatPollVotedDetails() { | 3207 buildLiveChatPollVotedDetails() { |
| 3206 var o = new api.LiveChatPollVotedDetails(); | 3208 var o = new api.LiveChatPollVotedDetails(); |
| 3207 buildCounterLiveChatPollVotedDetails++; | 3209 buildCounterLiveChatPollVotedDetails++; |
| 3208 if (buildCounterLiveChatPollVotedDetails < 3) { | 3210 if (buildCounterLiveChatPollVotedDetails < 3) { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3334 | 3336 |
| 3335 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 3337 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 3336 buildCounterLiveStreamContentDetails++; | 3338 buildCounterLiveStreamContentDetails++; |
| 3337 if (buildCounterLiveStreamContentDetails < 3) { | 3339 if (buildCounterLiveStreamContentDetails < 3) { |
| 3338 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 3340 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 3339 unittest.expect(o.isReusable, unittest.isTrue); | 3341 unittest.expect(o.isReusable, unittest.isTrue); |
| 3340 } | 3342 } |
| 3341 buildCounterLiveStreamContentDetails--; | 3343 buildCounterLiveStreamContentDetails--; |
| 3342 } | 3344 } |
| 3343 | 3345 |
| 3344 buildUnnamed771() { | 3346 buildUnnamed511() { |
| 3345 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 3347 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
| 3346 o.add(buildLiveStreamConfigurationIssue()); | 3348 o.add(buildLiveStreamConfigurationIssue()); |
| 3347 o.add(buildLiveStreamConfigurationIssue()); | 3349 o.add(buildLiveStreamConfigurationIssue()); |
| 3348 return o; | 3350 return o; |
| 3349 } | 3351 } |
| 3350 | 3352 |
| 3351 checkUnnamed771(core.List<api.LiveStreamConfigurationIssue> o) { | 3353 checkUnnamed511(core.List<api.LiveStreamConfigurationIssue> o) { |
| 3352 unittest.expect(o, unittest.hasLength(2)); | 3354 unittest.expect(o, unittest.hasLength(2)); |
| 3353 checkLiveStreamConfigurationIssue(o[0]); | 3355 checkLiveStreamConfigurationIssue(o[0]); |
| 3354 checkLiveStreamConfigurationIssue(o[1]); | 3356 checkLiveStreamConfigurationIssue(o[1]); |
| 3355 } | 3357 } |
| 3356 | 3358 |
| 3357 core.int buildCounterLiveStreamHealthStatus = 0; | 3359 core.int buildCounterLiveStreamHealthStatus = 0; |
| 3358 buildLiveStreamHealthStatus() { | 3360 buildLiveStreamHealthStatus() { |
| 3359 var o = new api.LiveStreamHealthStatus(); | 3361 var o = new api.LiveStreamHealthStatus(); |
| 3360 buildCounterLiveStreamHealthStatus++; | 3362 buildCounterLiveStreamHealthStatus++; |
| 3361 if (buildCounterLiveStreamHealthStatus < 3) { | 3363 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3362 o.configurationIssues = buildUnnamed771(); | 3364 o.configurationIssues = buildUnnamed511(); |
| 3363 o.lastUpdateTimeSeconds = "foo"; | 3365 o.lastUpdateTimeSeconds = "foo"; |
| 3364 o.status = "foo"; | 3366 o.status = "foo"; |
| 3365 } | 3367 } |
| 3366 buildCounterLiveStreamHealthStatus--; | 3368 buildCounterLiveStreamHealthStatus--; |
| 3367 return o; | 3369 return o; |
| 3368 } | 3370 } |
| 3369 | 3371 |
| 3370 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 3372 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
| 3371 buildCounterLiveStreamHealthStatus++; | 3373 buildCounterLiveStreamHealthStatus++; |
| 3372 if (buildCounterLiveStreamHealthStatus < 3) { | 3374 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3373 checkUnnamed771(o.configurationIssues); | 3375 checkUnnamed511(o.configurationIssues); |
| 3374 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 3376 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
| 3375 unittest.expect(o.status, unittest.equals('foo')); | 3377 unittest.expect(o.status, unittest.equals('foo')); |
| 3376 } | 3378 } |
| 3377 buildCounterLiveStreamHealthStatus--; | 3379 buildCounterLiveStreamHealthStatus--; |
| 3378 } | 3380 } |
| 3379 | 3381 |
| 3380 buildUnnamed772() { | 3382 buildUnnamed512() { |
| 3381 var o = new core.List<api.LiveStream>(); | 3383 var o = new core.List<api.LiveStream>(); |
| 3382 o.add(buildLiveStream()); | 3384 o.add(buildLiveStream()); |
| 3383 o.add(buildLiveStream()); | 3385 o.add(buildLiveStream()); |
| 3384 return o; | 3386 return o; |
| 3385 } | 3387 } |
| 3386 | 3388 |
| 3387 checkUnnamed772(core.List<api.LiveStream> o) { | 3389 checkUnnamed512(core.List<api.LiveStream> o) { |
| 3388 unittest.expect(o, unittest.hasLength(2)); | 3390 unittest.expect(o, unittest.hasLength(2)); |
| 3389 checkLiveStream(o[0]); | 3391 checkLiveStream(o[0]); |
| 3390 checkLiveStream(o[1]); | 3392 checkLiveStream(o[1]); |
| 3391 } | 3393 } |
| 3392 | 3394 |
| 3393 core.int buildCounterLiveStreamListResponse = 0; | 3395 core.int buildCounterLiveStreamListResponse = 0; |
| 3394 buildLiveStreamListResponse() { | 3396 buildLiveStreamListResponse() { |
| 3395 var o = new api.LiveStreamListResponse(); | 3397 var o = new api.LiveStreamListResponse(); |
| 3396 buildCounterLiveStreamListResponse++; | 3398 buildCounterLiveStreamListResponse++; |
| 3397 if (buildCounterLiveStreamListResponse < 3) { | 3399 if (buildCounterLiveStreamListResponse < 3) { |
| 3398 o.etag = "foo"; | 3400 o.etag = "foo"; |
| 3399 o.eventId = "foo"; | 3401 o.eventId = "foo"; |
| 3400 o.items = buildUnnamed772(); | 3402 o.items = buildUnnamed512(); |
| 3401 o.kind = "foo"; | 3403 o.kind = "foo"; |
| 3402 o.nextPageToken = "foo"; | 3404 o.nextPageToken = "foo"; |
| 3403 o.pageInfo = buildPageInfo(); | 3405 o.pageInfo = buildPageInfo(); |
| 3404 o.prevPageToken = "foo"; | 3406 o.prevPageToken = "foo"; |
| 3405 o.tokenPagination = buildTokenPagination(); | 3407 o.tokenPagination = buildTokenPagination(); |
| 3406 o.visitorId = "foo"; | 3408 o.visitorId = "foo"; |
| 3407 } | 3409 } |
| 3408 buildCounterLiveStreamListResponse--; | 3410 buildCounterLiveStreamListResponse--; |
| 3409 return o; | 3411 return o; |
| 3410 } | 3412 } |
| 3411 | 3413 |
| 3412 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 3414 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 3413 buildCounterLiveStreamListResponse++; | 3415 buildCounterLiveStreamListResponse++; |
| 3414 if (buildCounterLiveStreamListResponse < 3) { | 3416 if (buildCounterLiveStreamListResponse < 3) { |
| 3415 unittest.expect(o.etag, unittest.equals('foo')); | 3417 unittest.expect(o.etag, unittest.equals('foo')); |
| 3416 unittest.expect(o.eventId, unittest.equals('foo')); | 3418 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3417 checkUnnamed772(o.items); | 3419 checkUnnamed512(o.items); |
| 3418 unittest.expect(o.kind, unittest.equals('foo')); | 3420 unittest.expect(o.kind, unittest.equals('foo')); |
| 3419 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3421 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3420 checkPageInfo(o.pageInfo); | 3422 checkPageInfo(o.pageInfo); |
| 3421 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3423 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3422 checkTokenPagination(o.tokenPagination); | 3424 checkTokenPagination(o.tokenPagination); |
| 3423 unittest.expect(o.visitorId, unittest.equals('foo')); | 3425 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3424 } | 3426 } |
| 3425 buildCounterLiveStreamListResponse--; | 3427 buildCounterLiveStreamListResponse--; |
| 3426 } | 3428 } |
| 3427 | 3429 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3466 | 3468 |
| 3467 checkLiveStreamStatus(api.LiveStreamStatus o) { | 3469 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 3468 buildCounterLiveStreamStatus++; | 3470 buildCounterLiveStreamStatus++; |
| 3469 if (buildCounterLiveStreamStatus < 3) { | 3471 if (buildCounterLiveStreamStatus < 3) { |
| 3470 checkLiveStreamHealthStatus(o.healthStatus); | 3472 checkLiveStreamHealthStatus(o.healthStatus); |
| 3471 unittest.expect(o.streamStatus, unittest.equals('foo')); | 3473 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 3472 } | 3474 } |
| 3473 buildCounterLiveStreamStatus--; | 3475 buildCounterLiveStreamStatus--; |
| 3474 } | 3476 } |
| 3475 | 3477 |
| 3476 buildUnnamed773() { | 3478 buildUnnamed513() { |
| 3477 var o = new core.List<api.LocalizedString>(); | 3479 var o = new core.List<api.LocalizedString>(); |
| 3478 o.add(buildLocalizedString()); | 3480 o.add(buildLocalizedString()); |
| 3479 o.add(buildLocalizedString()); | 3481 o.add(buildLocalizedString()); |
| 3480 return o; | 3482 return o; |
| 3481 } | 3483 } |
| 3482 | 3484 |
| 3483 checkUnnamed773(core.List<api.LocalizedString> o) { | 3485 checkUnnamed513(core.List<api.LocalizedString> o) { |
| 3484 unittest.expect(o, unittest.hasLength(2)); | 3486 unittest.expect(o, unittest.hasLength(2)); |
| 3485 checkLocalizedString(o[0]); | 3487 checkLocalizedString(o[0]); |
| 3486 checkLocalizedString(o[1]); | 3488 checkLocalizedString(o[1]); |
| 3487 } | 3489 } |
| 3488 | 3490 |
| 3489 core.int buildCounterLocalizedProperty = 0; | 3491 core.int buildCounterLocalizedProperty = 0; |
| 3490 buildLocalizedProperty() { | 3492 buildLocalizedProperty() { |
| 3491 var o = new api.LocalizedProperty(); | 3493 var o = new api.LocalizedProperty(); |
| 3492 buildCounterLocalizedProperty++; | 3494 buildCounterLocalizedProperty++; |
| 3493 if (buildCounterLocalizedProperty < 3) { | 3495 if (buildCounterLocalizedProperty < 3) { |
| 3494 o.default_ = "foo"; | 3496 o.default_ = "foo"; |
| 3495 o.defaultLanguage = buildLanguageTag(); | 3497 o.defaultLanguage = buildLanguageTag(); |
| 3496 o.localized = buildUnnamed773(); | 3498 o.localized = buildUnnamed513(); |
| 3497 } | 3499 } |
| 3498 buildCounterLocalizedProperty--; | 3500 buildCounterLocalizedProperty--; |
| 3499 return o; | 3501 return o; |
| 3500 } | 3502 } |
| 3501 | 3503 |
| 3502 checkLocalizedProperty(api.LocalizedProperty o) { | 3504 checkLocalizedProperty(api.LocalizedProperty o) { |
| 3503 buildCounterLocalizedProperty++; | 3505 buildCounterLocalizedProperty++; |
| 3504 if (buildCounterLocalizedProperty < 3) { | 3506 if (buildCounterLocalizedProperty < 3) { |
| 3505 unittest.expect(o.default_, unittest.equals('foo')); | 3507 unittest.expect(o.default_, unittest.equals('foo')); |
| 3506 checkLanguageTag(o.defaultLanguage); | 3508 checkLanguageTag(o.defaultLanguage); |
| 3507 checkUnnamed773(o.localized); | 3509 checkUnnamed513(o.localized); |
| 3508 } | 3510 } |
| 3509 buildCounterLocalizedProperty--; | 3511 buildCounterLocalizedProperty--; |
| 3510 } | 3512 } |
| 3511 | 3513 |
| 3512 core.int buildCounterLocalizedString = 0; | 3514 core.int buildCounterLocalizedString = 0; |
| 3513 buildLocalizedString() { | 3515 buildLocalizedString() { |
| 3514 var o = new api.LocalizedString(); | 3516 var o = new api.LocalizedString(); |
| 3515 buildCounterLocalizedString++; | 3517 buildCounterLocalizedString++; |
| 3516 if (buildCounterLocalizedString < 3) { | 3518 if (buildCounterLocalizedString < 3) { |
| 3517 o.language = "foo"; | 3519 o.language = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3567 | 3569 |
| 3568 checkPageInfo(api.PageInfo o) { | 3570 checkPageInfo(api.PageInfo o) { |
| 3569 buildCounterPageInfo++; | 3571 buildCounterPageInfo++; |
| 3570 if (buildCounterPageInfo < 3) { | 3572 if (buildCounterPageInfo < 3) { |
| 3571 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 3573 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
| 3572 unittest.expect(o.totalResults, unittest.equals(42)); | 3574 unittest.expect(o.totalResults, unittest.equals(42)); |
| 3573 } | 3575 } |
| 3574 buildCounterPageInfo--; | 3576 buildCounterPageInfo--; |
| 3575 } | 3577 } |
| 3576 | 3578 |
| 3577 buildUnnamed774() { | 3579 buildUnnamed514() { |
| 3578 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 3580 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
| 3579 o["x"] = buildPlaylistLocalization(); | 3581 o["x"] = buildPlaylistLocalization(); |
| 3580 o["y"] = buildPlaylistLocalization(); | 3582 o["y"] = buildPlaylistLocalization(); |
| 3581 return o; | 3583 return o; |
| 3582 } | 3584 } |
| 3583 | 3585 |
| 3584 checkUnnamed774(core.Map<core.String, api.PlaylistLocalization> o) { | 3586 checkUnnamed514(core.Map<core.String, api.PlaylistLocalization> o) { |
| 3585 unittest.expect(o, unittest.hasLength(2)); | 3587 unittest.expect(o, unittest.hasLength(2)); |
| 3586 checkPlaylistLocalization(o["x"]); | 3588 checkPlaylistLocalization(o["x"]); |
| 3587 checkPlaylistLocalization(o["y"]); | 3589 checkPlaylistLocalization(o["y"]); |
| 3588 } | 3590 } |
| 3589 | 3591 |
| 3590 core.int buildCounterPlaylist = 0; | 3592 core.int buildCounterPlaylist = 0; |
| 3591 buildPlaylist() { | 3593 buildPlaylist() { |
| 3592 var o = new api.Playlist(); | 3594 var o = new api.Playlist(); |
| 3593 buildCounterPlaylist++; | 3595 buildCounterPlaylist++; |
| 3594 if (buildCounterPlaylist < 3) { | 3596 if (buildCounterPlaylist < 3) { |
| 3595 o.contentDetails = buildPlaylistContentDetails(); | 3597 o.contentDetails = buildPlaylistContentDetails(); |
| 3596 o.etag = "foo"; | 3598 o.etag = "foo"; |
| 3597 o.id = "foo"; | 3599 o.id = "foo"; |
| 3598 o.kind = "foo"; | 3600 o.kind = "foo"; |
| 3599 o.localizations = buildUnnamed774(); | 3601 o.localizations = buildUnnamed514(); |
| 3600 o.player = buildPlaylistPlayer(); | 3602 o.player = buildPlaylistPlayer(); |
| 3601 o.snippet = buildPlaylistSnippet(); | 3603 o.snippet = buildPlaylistSnippet(); |
| 3602 o.status = buildPlaylistStatus(); | 3604 o.status = buildPlaylistStatus(); |
| 3603 } | 3605 } |
| 3604 buildCounterPlaylist--; | 3606 buildCounterPlaylist--; |
| 3605 return o; | 3607 return o; |
| 3606 } | 3608 } |
| 3607 | 3609 |
| 3608 checkPlaylist(api.Playlist o) { | 3610 checkPlaylist(api.Playlist o) { |
| 3609 buildCounterPlaylist++; | 3611 buildCounterPlaylist++; |
| 3610 if (buildCounterPlaylist < 3) { | 3612 if (buildCounterPlaylist < 3) { |
| 3611 checkPlaylistContentDetails(o.contentDetails); | 3613 checkPlaylistContentDetails(o.contentDetails); |
| 3612 unittest.expect(o.etag, unittest.equals('foo')); | 3614 unittest.expect(o.etag, unittest.equals('foo')); |
| 3613 unittest.expect(o.id, unittest.equals('foo')); | 3615 unittest.expect(o.id, unittest.equals('foo')); |
| 3614 unittest.expect(o.kind, unittest.equals('foo')); | 3616 unittest.expect(o.kind, unittest.equals('foo')); |
| 3615 checkUnnamed774(o.localizations); | 3617 checkUnnamed514(o.localizations); |
| 3616 checkPlaylistPlayer(o.player); | 3618 checkPlaylistPlayer(o.player); |
| 3617 checkPlaylistSnippet(o.snippet); | 3619 checkPlaylistSnippet(o.snippet); |
| 3618 checkPlaylistStatus(o.status); | 3620 checkPlaylistStatus(o.status); |
| 3619 } | 3621 } |
| 3620 buildCounterPlaylist--; | 3622 buildCounterPlaylist--; |
| 3621 } | 3623 } |
| 3622 | 3624 |
| 3623 core.int buildCounterPlaylistContentDetails = 0; | 3625 core.int buildCounterPlaylistContentDetails = 0; |
| 3624 buildPlaylistContentDetails() { | 3626 buildPlaylistContentDetails() { |
| 3625 var o = new api.PlaylistContentDetails(); | 3627 var o = new api.PlaylistContentDetails(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3670 | 3672 |
| 3671 core.int buildCounterPlaylistItemContentDetails = 0; | 3673 core.int buildCounterPlaylistItemContentDetails = 0; |
| 3672 buildPlaylistItemContentDetails() { | 3674 buildPlaylistItemContentDetails() { |
| 3673 var o = new api.PlaylistItemContentDetails(); | 3675 var o = new api.PlaylistItemContentDetails(); |
| 3674 buildCounterPlaylistItemContentDetails++; | 3676 buildCounterPlaylistItemContentDetails++; |
| 3675 if (buildCounterPlaylistItemContentDetails < 3) { | 3677 if (buildCounterPlaylistItemContentDetails < 3) { |
| 3676 o.endAt = "foo"; | 3678 o.endAt = "foo"; |
| 3677 o.note = "foo"; | 3679 o.note = "foo"; |
| 3678 o.startAt = "foo"; | 3680 o.startAt = "foo"; |
| 3679 o.videoId = "foo"; | 3681 o.videoId = "foo"; |
| 3682 o.videoPublishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3680 } | 3683 } |
| 3681 buildCounterPlaylistItemContentDetails--; | 3684 buildCounterPlaylistItemContentDetails--; |
| 3682 return o; | 3685 return o; |
| 3683 } | 3686 } |
| 3684 | 3687 |
| 3685 checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) { | 3688 checkPlaylistItemContentDetails(api.PlaylistItemContentDetails o) { |
| 3686 buildCounterPlaylistItemContentDetails++; | 3689 buildCounterPlaylistItemContentDetails++; |
| 3687 if (buildCounterPlaylistItemContentDetails < 3) { | 3690 if (buildCounterPlaylistItemContentDetails < 3) { |
| 3688 unittest.expect(o.endAt, unittest.equals('foo')); | 3691 unittest.expect(o.endAt, unittest.equals('foo')); |
| 3689 unittest.expect(o.note, unittest.equals('foo')); | 3692 unittest.expect(o.note, unittest.equals('foo')); |
| 3690 unittest.expect(o.startAt, unittest.equals('foo')); | 3693 unittest.expect(o.startAt, unittest.equals('foo')); |
| 3691 unittest.expect(o.videoId, unittest.equals('foo')); | 3694 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3695 unittest.expect(o.videoPublishedAt, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 3692 } | 3696 } |
| 3693 buildCounterPlaylistItemContentDetails--; | 3697 buildCounterPlaylistItemContentDetails--; |
| 3694 } | 3698 } |
| 3695 | 3699 |
| 3696 buildUnnamed775() { | 3700 buildUnnamed515() { |
| 3697 var o = new core.List<api.PlaylistItem>(); | 3701 var o = new core.List<api.PlaylistItem>(); |
| 3698 o.add(buildPlaylistItem()); | 3702 o.add(buildPlaylistItem()); |
| 3699 o.add(buildPlaylistItem()); | 3703 o.add(buildPlaylistItem()); |
| 3700 return o; | 3704 return o; |
| 3701 } | 3705 } |
| 3702 | 3706 |
| 3703 checkUnnamed775(core.List<api.PlaylistItem> o) { | 3707 checkUnnamed515(core.List<api.PlaylistItem> o) { |
| 3704 unittest.expect(o, unittest.hasLength(2)); | 3708 unittest.expect(o, unittest.hasLength(2)); |
| 3705 checkPlaylistItem(o[0]); | 3709 checkPlaylistItem(o[0]); |
| 3706 checkPlaylistItem(o[1]); | 3710 checkPlaylistItem(o[1]); |
| 3707 } | 3711 } |
| 3708 | 3712 |
| 3709 core.int buildCounterPlaylistItemListResponse = 0; | 3713 core.int buildCounterPlaylistItemListResponse = 0; |
| 3710 buildPlaylistItemListResponse() { | 3714 buildPlaylistItemListResponse() { |
| 3711 var o = new api.PlaylistItemListResponse(); | 3715 var o = new api.PlaylistItemListResponse(); |
| 3712 buildCounterPlaylistItemListResponse++; | 3716 buildCounterPlaylistItemListResponse++; |
| 3713 if (buildCounterPlaylistItemListResponse < 3) { | 3717 if (buildCounterPlaylistItemListResponse < 3) { |
| 3714 o.etag = "foo"; | 3718 o.etag = "foo"; |
| 3715 o.eventId = "foo"; | 3719 o.eventId = "foo"; |
| 3716 o.items = buildUnnamed775(); | 3720 o.items = buildUnnamed515(); |
| 3717 o.kind = "foo"; | 3721 o.kind = "foo"; |
| 3718 o.nextPageToken = "foo"; | 3722 o.nextPageToken = "foo"; |
| 3719 o.pageInfo = buildPageInfo(); | 3723 o.pageInfo = buildPageInfo(); |
| 3720 o.prevPageToken = "foo"; | 3724 o.prevPageToken = "foo"; |
| 3721 o.tokenPagination = buildTokenPagination(); | 3725 o.tokenPagination = buildTokenPagination(); |
| 3722 o.visitorId = "foo"; | 3726 o.visitorId = "foo"; |
| 3723 } | 3727 } |
| 3724 buildCounterPlaylistItemListResponse--; | 3728 buildCounterPlaylistItemListResponse--; |
| 3725 return o; | 3729 return o; |
| 3726 } | 3730 } |
| 3727 | 3731 |
| 3728 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3732 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 3729 buildCounterPlaylistItemListResponse++; | 3733 buildCounterPlaylistItemListResponse++; |
| 3730 if (buildCounterPlaylistItemListResponse < 3) { | 3734 if (buildCounterPlaylistItemListResponse < 3) { |
| 3731 unittest.expect(o.etag, unittest.equals('foo')); | 3735 unittest.expect(o.etag, unittest.equals('foo')); |
| 3732 unittest.expect(o.eventId, unittest.equals('foo')); | 3736 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3733 checkUnnamed775(o.items); | 3737 checkUnnamed515(o.items); |
| 3734 unittest.expect(o.kind, unittest.equals('foo')); | 3738 unittest.expect(o.kind, unittest.equals('foo')); |
| 3735 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3739 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3736 checkPageInfo(o.pageInfo); | 3740 checkPageInfo(o.pageInfo); |
| 3737 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3741 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3738 checkTokenPagination(o.tokenPagination); | 3742 checkTokenPagination(o.tokenPagination); |
| 3739 unittest.expect(o.visitorId, unittest.equals('foo')); | 3743 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3740 } | 3744 } |
| 3741 buildCounterPlaylistItemListResponse--; | 3745 buildCounterPlaylistItemListResponse--; |
| 3742 } | 3746 } |
| 3743 | 3747 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3788 } | 3792 } |
| 3789 | 3793 |
| 3790 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3794 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 3791 buildCounterPlaylistItemStatus++; | 3795 buildCounterPlaylistItemStatus++; |
| 3792 if (buildCounterPlaylistItemStatus < 3) { | 3796 if (buildCounterPlaylistItemStatus < 3) { |
| 3793 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3797 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3794 } | 3798 } |
| 3795 buildCounterPlaylistItemStatus--; | 3799 buildCounterPlaylistItemStatus--; |
| 3796 } | 3800 } |
| 3797 | 3801 |
| 3798 buildUnnamed776() { | 3802 buildUnnamed516() { |
| 3799 var o = new core.List<api.Playlist>(); | 3803 var o = new core.List<api.Playlist>(); |
| 3800 o.add(buildPlaylist()); | 3804 o.add(buildPlaylist()); |
| 3801 o.add(buildPlaylist()); | 3805 o.add(buildPlaylist()); |
| 3802 return o; | 3806 return o; |
| 3803 } | 3807 } |
| 3804 | 3808 |
| 3805 checkUnnamed776(core.List<api.Playlist> o) { | 3809 checkUnnamed516(core.List<api.Playlist> o) { |
| 3806 unittest.expect(o, unittest.hasLength(2)); | 3810 unittest.expect(o, unittest.hasLength(2)); |
| 3807 checkPlaylist(o[0]); | 3811 checkPlaylist(o[0]); |
| 3808 checkPlaylist(o[1]); | 3812 checkPlaylist(o[1]); |
| 3809 } | 3813 } |
| 3810 | 3814 |
| 3811 core.int buildCounterPlaylistListResponse = 0; | 3815 core.int buildCounterPlaylistListResponse = 0; |
| 3812 buildPlaylistListResponse() { | 3816 buildPlaylistListResponse() { |
| 3813 var o = new api.PlaylistListResponse(); | 3817 var o = new api.PlaylistListResponse(); |
| 3814 buildCounterPlaylistListResponse++; | 3818 buildCounterPlaylistListResponse++; |
| 3815 if (buildCounterPlaylistListResponse < 3) { | 3819 if (buildCounterPlaylistListResponse < 3) { |
| 3816 o.etag = "foo"; | 3820 o.etag = "foo"; |
| 3817 o.eventId = "foo"; | 3821 o.eventId = "foo"; |
| 3818 o.items = buildUnnamed776(); | 3822 o.items = buildUnnamed516(); |
| 3819 o.kind = "foo"; | 3823 o.kind = "foo"; |
| 3820 o.nextPageToken = "foo"; | 3824 o.nextPageToken = "foo"; |
| 3821 o.pageInfo = buildPageInfo(); | 3825 o.pageInfo = buildPageInfo(); |
| 3822 o.prevPageToken = "foo"; | 3826 o.prevPageToken = "foo"; |
| 3823 o.tokenPagination = buildTokenPagination(); | 3827 o.tokenPagination = buildTokenPagination(); |
| 3824 o.visitorId = "foo"; | 3828 o.visitorId = "foo"; |
| 3825 } | 3829 } |
| 3826 buildCounterPlaylistListResponse--; | 3830 buildCounterPlaylistListResponse--; |
| 3827 return o; | 3831 return o; |
| 3828 } | 3832 } |
| 3829 | 3833 |
| 3830 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3834 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 3831 buildCounterPlaylistListResponse++; | 3835 buildCounterPlaylistListResponse++; |
| 3832 if (buildCounterPlaylistListResponse < 3) { | 3836 if (buildCounterPlaylistListResponse < 3) { |
| 3833 unittest.expect(o.etag, unittest.equals('foo')); | 3837 unittest.expect(o.etag, unittest.equals('foo')); |
| 3834 unittest.expect(o.eventId, unittest.equals('foo')); | 3838 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3835 checkUnnamed776(o.items); | 3839 checkUnnamed516(o.items); |
| 3836 unittest.expect(o.kind, unittest.equals('foo')); | 3840 unittest.expect(o.kind, unittest.equals('foo')); |
| 3837 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3841 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3838 checkPageInfo(o.pageInfo); | 3842 checkPageInfo(o.pageInfo); |
| 3839 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3843 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3840 checkTokenPagination(o.tokenPagination); | 3844 checkTokenPagination(o.tokenPagination); |
| 3841 unittest.expect(o.visitorId, unittest.equals('foo')); | 3845 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3842 } | 3846 } |
| 3843 buildCounterPlaylistListResponse--; | 3847 buildCounterPlaylistListResponse--; |
| 3844 } | 3848 } |
| 3845 | 3849 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3876 } | 3880 } |
| 3877 | 3881 |
| 3878 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3882 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 3879 buildCounterPlaylistPlayer++; | 3883 buildCounterPlaylistPlayer++; |
| 3880 if (buildCounterPlaylistPlayer < 3) { | 3884 if (buildCounterPlaylistPlayer < 3) { |
| 3881 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3885 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 3882 } | 3886 } |
| 3883 buildCounterPlaylistPlayer--; | 3887 buildCounterPlaylistPlayer--; |
| 3884 } | 3888 } |
| 3885 | 3889 |
| 3886 buildUnnamed777() { | 3890 buildUnnamed517() { |
| 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 checkUnnamed777(core.List<core.String> o) { | 3897 checkUnnamed517(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 core.int buildCounterPlaylistSnippet = 0; | 3903 core.int buildCounterPlaylistSnippet = 0; |
| 3900 buildPlaylistSnippet() { | 3904 buildPlaylistSnippet() { |
| 3901 var o = new api.PlaylistSnippet(); | 3905 var o = new api.PlaylistSnippet(); |
| 3902 buildCounterPlaylistSnippet++; | 3906 buildCounterPlaylistSnippet++; |
| 3903 if (buildCounterPlaylistSnippet < 3) { | 3907 if (buildCounterPlaylistSnippet < 3) { |
| 3904 o.channelId = "foo"; | 3908 o.channelId = "foo"; |
| 3905 o.channelTitle = "foo"; | 3909 o.channelTitle = "foo"; |
| 3906 o.defaultLanguage = "foo"; | 3910 o.defaultLanguage = "foo"; |
| 3907 o.description = "foo"; | 3911 o.description = "foo"; |
| 3908 o.localized = buildPlaylistLocalization(); | 3912 o.localized = buildPlaylistLocalization(); |
| 3909 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3913 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3910 o.tags = buildUnnamed777(); | 3914 o.tags = buildUnnamed517(); |
| 3911 o.thumbnails = buildThumbnailDetails(); | 3915 o.thumbnails = buildThumbnailDetails(); |
| 3912 o.title = "foo"; | 3916 o.title = "foo"; |
| 3913 } | 3917 } |
| 3914 buildCounterPlaylistSnippet--; | 3918 buildCounterPlaylistSnippet--; |
| 3915 return o; | 3919 return o; |
| 3916 } | 3920 } |
| 3917 | 3921 |
| 3918 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3922 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 3919 buildCounterPlaylistSnippet++; | 3923 buildCounterPlaylistSnippet++; |
| 3920 if (buildCounterPlaylistSnippet < 3) { | 3924 if (buildCounterPlaylistSnippet < 3) { |
| 3921 unittest.expect(o.channelId, unittest.equals('foo')); | 3925 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3922 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3926 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3923 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3927 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 3924 unittest.expect(o.description, unittest.equals('foo')); | 3928 unittest.expect(o.description, unittest.equals('foo')); |
| 3925 checkPlaylistLocalization(o.localized); | 3929 checkPlaylistLocalization(o.localized); |
| 3926 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3930 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3927 checkUnnamed777(o.tags); | 3931 checkUnnamed517(o.tags); |
| 3928 checkThumbnailDetails(o.thumbnails); | 3932 checkThumbnailDetails(o.thumbnails); |
| 3929 unittest.expect(o.title, unittest.equals('foo')); | 3933 unittest.expect(o.title, unittest.equals('foo')); |
| 3930 } | 3934 } |
| 3931 buildCounterPlaylistSnippet--; | 3935 buildCounterPlaylistSnippet--; |
| 3932 } | 3936 } |
| 3933 | 3937 |
| 3934 core.int buildCounterPlaylistStatus = 0; | 3938 core.int buildCounterPlaylistStatus = 0; |
| 3935 buildPlaylistStatus() { | 3939 buildPlaylistStatus() { |
| 3936 var o = new api.PlaylistStatus(); | 3940 var o = new api.PlaylistStatus(); |
| 3937 buildCounterPlaylistStatus++; | 3941 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4039 buildCounterResourceId++; | 4043 buildCounterResourceId++; |
| 4040 if (buildCounterResourceId < 3) { | 4044 if (buildCounterResourceId < 3) { |
| 4041 unittest.expect(o.channelId, unittest.equals('foo')); | 4045 unittest.expect(o.channelId, unittest.equals('foo')); |
| 4042 unittest.expect(o.kind, unittest.equals('foo')); | 4046 unittest.expect(o.kind, unittest.equals('foo')); |
| 4043 unittest.expect(o.playlistId, unittest.equals('foo')); | 4047 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 4044 unittest.expect(o.videoId, unittest.equals('foo')); | 4048 unittest.expect(o.videoId, unittest.equals('foo')); |
| 4045 } | 4049 } |
| 4046 buildCounterResourceId--; | 4050 buildCounterResourceId--; |
| 4047 } | 4051 } |
| 4048 | 4052 |
| 4049 buildUnnamed778() { | 4053 buildUnnamed518() { |
| 4050 var o = new core.List<api.SearchResult>(); | 4054 var o = new core.List<api.SearchResult>(); |
| 4051 o.add(buildSearchResult()); | 4055 o.add(buildSearchResult()); |
| 4052 o.add(buildSearchResult()); | 4056 o.add(buildSearchResult()); |
| 4053 return o; | 4057 return o; |
| 4054 } | 4058 } |
| 4055 | 4059 |
| 4056 checkUnnamed778(core.List<api.SearchResult> o) { | 4060 checkUnnamed518(core.List<api.SearchResult> o) { |
| 4057 unittest.expect(o, unittest.hasLength(2)); | 4061 unittest.expect(o, unittest.hasLength(2)); |
| 4058 checkSearchResult(o[0]); | 4062 checkSearchResult(o[0]); |
| 4059 checkSearchResult(o[1]); | 4063 checkSearchResult(o[1]); |
| 4060 } | 4064 } |
| 4061 | 4065 |
| 4062 core.int buildCounterSearchListResponse = 0; | 4066 core.int buildCounterSearchListResponse = 0; |
| 4063 buildSearchListResponse() { | 4067 buildSearchListResponse() { |
| 4064 var o = new api.SearchListResponse(); | 4068 var o = new api.SearchListResponse(); |
| 4065 buildCounterSearchListResponse++; | 4069 buildCounterSearchListResponse++; |
| 4066 if (buildCounterSearchListResponse < 3) { | 4070 if (buildCounterSearchListResponse < 3) { |
| 4067 o.etag = "foo"; | 4071 o.etag = "foo"; |
| 4068 o.eventId = "foo"; | 4072 o.eventId = "foo"; |
| 4069 o.items = buildUnnamed778(); | 4073 o.items = buildUnnamed518(); |
| 4070 o.kind = "foo"; | 4074 o.kind = "foo"; |
| 4071 o.nextPageToken = "foo"; | 4075 o.nextPageToken = "foo"; |
| 4072 o.pageInfo = buildPageInfo(); | 4076 o.pageInfo = buildPageInfo(); |
| 4073 o.prevPageToken = "foo"; | 4077 o.prevPageToken = "foo"; |
| 4074 o.regionCode = "foo"; | 4078 o.regionCode = "foo"; |
| 4075 o.tokenPagination = buildTokenPagination(); | 4079 o.tokenPagination = buildTokenPagination(); |
| 4076 o.visitorId = "foo"; | 4080 o.visitorId = "foo"; |
| 4077 } | 4081 } |
| 4078 buildCounterSearchListResponse--; | 4082 buildCounterSearchListResponse--; |
| 4079 return o; | 4083 return o; |
| 4080 } | 4084 } |
| 4081 | 4085 |
| 4082 checkSearchListResponse(api.SearchListResponse o) { | 4086 checkSearchListResponse(api.SearchListResponse o) { |
| 4083 buildCounterSearchListResponse++; | 4087 buildCounterSearchListResponse++; |
| 4084 if (buildCounterSearchListResponse < 3) { | 4088 if (buildCounterSearchListResponse < 3) { |
| 4085 unittest.expect(o.etag, unittest.equals('foo')); | 4089 unittest.expect(o.etag, unittest.equals('foo')); |
| 4086 unittest.expect(o.eventId, unittest.equals('foo')); | 4090 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4087 checkUnnamed778(o.items); | 4091 checkUnnamed518(o.items); |
| 4088 unittest.expect(o.kind, unittest.equals('foo')); | 4092 unittest.expect(o.kind, unittest.equals('foo')); |
| 4089 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4093 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4090 checkPageInfo(o.pageInfo); | 4094 checkPageInfo(o.pageInfo); |
| 4091 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4095 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4092 unittest.expect(o.regionCode, unittest.equals('foo')); | 4096 unittest.expect(o.regionCode, unittest.equals('foo')); |
| 4093 checkTokenPagination(o.tokenPagination); | 4097 checkTokenPagination(o.tokenPagination); |
| 4094 unittest.expect(o.visitorId, unittest.equals('foo')); | 4098 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4095 } | 4099 } |
| 4096 buildCounterSearchListResponse--; | 4100 buildCounterSearchListResponse--; |
| 4097 } | 4101 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4170 buildCounterSponsor++; | 4174 buildCounterSponsor++; |
| 4171 if (buildCounterSponsor < 3) { | 4175 if (buildCounterSponsor < 3) { |
| 4172 unittest.expect(o.etag, unittest.equals('foo')); | 4176 unittest.expect(o.etag, unittest.equals('foo')); |
| 4173 unittest.expect(o.id, unittest.equals('foo')); | 4177 unittest.expect(o.id, unittest.equals('foo')); |
| 4174 unittest.expect(o.kind, unittest.equals('foo')); | 4178 unittest.expect(o.kind, unittest.equals('foo')); |
| 4175 checkSponsorSnippet(o.snippet); | 4179 checkSponsorSnippet(o.snippet); |
| 4176 } | 4180 } |
| 4177 buildCounterSponsor--; | 4181 buildCounterSponsor--; |
| 4178 } | 4182 } |
| 4179 | 4183 |
| 4180 buildUnnamed779() { | 4184 buildUnnamed519() { |
| 4181 var o = new core.List<api.Sponsor>(); | 4185 var o = new core.List<api.Sponsor>(); |
| 4182 o.add(buildSponsor()); | 4186 o.add(buildSponsor()); |
| 4183 o.add(buildSponsor()); | 4187 o.add(buildSponsor()); |
| 4184 return o; | 4188 return o; |
| 4185 } | 4189 } |
| 4186 | 4190 |
| 4187 checkUnnamed779(core.List<api.Sponsor> o) { | 4191 checkUnnamed519(core.List<api.Sponsor> o) { |
| 4188 unittest.expect(o, unittest.hasLength(2)); | 4192 unittest.expect(o, unittest.hasLength(2)); |
| 4189 checkSponsor(o[0]); | 4193 checkSponsor(o[0]); |
| 4190 checkSponsor(o[1]); | 4194 checkSponsor(o[1]); |
| 4191 } | 4195 } |
| 4192 | 4196 |
| 4193 core.int buildCounterSponsorListResponse = 0; | 4197 core.int buildCounterSponsorListResponse = 0; |
| 4194 buildSponsorListResponse() { | 4198 buildSponsorListResponse() { |
| 4195 var o = new api.SponsorListResponse(); | 4199 var o = new api.SponsorListResponse(); |
| 4196 buildCounterSponsorListResponse++; | 4200 buildCounterSponsorListResponse++; |
| 4197 if (buildCounterSponsorListResponse < 3) { | 4201 if (buildCounterSponsorListResponse < 3) { |
| 4198 o.etag = "foo"; | 4202 o.etag = "foo"; |
| 4199 o.eventId = "foo"; | 4203 o.eventId = "foo"; |
| 4200 o.items = buildUnnamed779(); | 4204 o.items = buildUnnamed519(); |
| 4201 o.kind = "foo"; | 4205 o.kind = "foo"; |
| 4202 o.nextPageToken = "foo"; | 4206 o.nextPageToken = "foo"; |
| 4203 o.pageInfo = buildPageInfo(); | 4207 o.pageInfo = buildPageInfo(); |
| 4204 o.tokenPagination = buildTokenPagination(); | 4208 o.tokenPagination = buildTokenPagination(); |
| 4205 o.visitorId = "foo"; | 4209 o.visitorId = "foo"; |
| 4206 } | 4210 } |
| 4207 buildCounterSponsorListResponse--; | 4211 buildCounterSponsorListResponse--; |
| 4208 return o; | 4212 return o; |
| 4209 } | 4213 } |
| 4210 | 4214 |
| 4211 checkSponsorListResponse(api.SponsorListResponse o) { | 4215 checkSponsorListResponse(api.SponsorListResponse o) { |
| 4212 buildCounterSponsorListResponse++; | 4216 buildCounterSponsorListResponse++; |
| 4213 if (buildCounterSponsorListResponse < 3) { | 4217 if (buildCounterSponsorListResponse < 3) { |
| 4214 unittest.expect(o.etag, unittest.equals('foo')); | 4218 unittest.expect(o.etag, unittest.equals('foo')); |
| 4215 unittest.expect(o.eventId, unittest.equals('foo')); | 4219 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4216 checkUnnamed779(o.items); | 4220 checkUnnamed519(o.items); |
| 4217 unittest.expect(o.kind, unittest.equals('foo')); | 4221 unittest.expect(o.kind, unittest.equals('foo')); |
| 4218 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4222 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4219 checkPageInfo(o.pageInfo); | 4223 checkPageInfo(o.pageInfo); |
| 4220 checkTokenPagination(o.tokenPagination); | 4224 checkTokenPagination(o.tokenPagination); |
| 4221 unittest.expect(o.visitorId, unittest.equals('foo')); | 4225 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4222 } | 4226 } |
| 4223 buildCounterSponsorListResponse--; | 4227 buildCounterSponsorListResponse--; |
| 4224 } | 4228 } |
| 4225 | 4229 |
| 4226 core.int buildCounterSponsorSnippet = 0; | 4230 core.int buildCounterSponsorSnippet = 0; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4291 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 4295 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 4292 buildCounterSubscriptionContentDetails++; | 4296 buildCounterSubscriptionContentDetails++; |
| 4293 if (buildCounterSubscriptionContentDetails < 3) { | 4297 if (buildCounterSubscriptionContentDetails < 3) { |
| 4294 unittest.expect(o.activityType, unittest.equals('foo')); | 4298 unittest.expect(o.activityType, unittest.equals('foo')); |
| 4295 unittest.expect(o.newItemCount, unittest.equals(42)); | 4299 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 4296 unittest.expect(o.totalItemCount, unittest.equals(42)); | 4300 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 4297 } | 4301 } |
| 4298 buildCounterSubscriptionContentDetails--; | 4302 buildCounterSubscriptionContentDetails--; |
| 4299 } | 4303 } |
| 4300 | 4304 |
| 4301 buildUnnamed780() { | 4305 buildUnnamed520() { |
| 4302 var o = new core.List<api.Subscription>(); | 4306 var o = new core.List<api.Subscription>(); |
| 4303 o.add(buildSubscription()); | 4307 o.add(buildSubscription()); |
| 4304 o.add(buildSubscription()); | 4308 o.add(buildSubscription()); |
| 4305 return o; | 4309 return o; |
| 4306 } | 4310 } |
| 4307 | 4311 |
| 4308 checkUnnamed780(core.List<api.Subscription> o) { | 4312 checkUnnamed520(core.List<api.Subscription> o) { |
| 4309 unittest.expect(o, unittest.hasLength(2)); | 4313 unittest.expect(o, unittest.hasLength(2)); |
| 4310 checkSubscription(o[0]); | 4314 checkSubscription(o[0]); |
| 4311 checkSubscription(o[1]); | 4315 checkSubscription(o[1]); |
| 4312 } | 4316 } |
| 4313 | 4317 |
| 4314 core.int buildCounterSubscriptionListResponse = 0; | 4318 core.int buildCounterSubscriptionListResponse = 0; |
| 4315 buildSubscriptionListResponse() { | 4319 buildSubscriptionListResponse() { |
| 4316 var o = new api.SubscriptionListResponse(); | 4320 var o = new api.SubscriptionListResponse(); |
| 4317 buildCounterSubscriptionListResponse++; | 4321 buildCounterSubscriptionListResponse++; |
| 4318 if (buildCounterSubscriptionListResponse < 3) { | 4322 if (buildCounterSubscriptionListResponse < 3) { |
| 4319 o.etag = "foo"; | 4323 o.etag = "foo"; |
| 4320 o.eventId = "foo"; | 4324 o.eventId = "foo"; |
| 4321 o.items = buildUnnamed780(); | 4325 o.items = buildUnnamed520(); |
| 4322 o.kind = "foo"; | 4326 o.kind = "foo"; |
| 4323 o.nextPageToken = "foo"; | 4327 o.nextPageToken = "foo"; |
| 4324 o.pageInfo = buildPageInfo(); | 4328 o.pageInfo = buildPageInfo(); |
| 4325 o.prevPageToken = "foo"; | 4329 o.prevPageToken = "foo"; |
| 4326 o.tokenPagination = buildTokenPagination(); | 4330 o.tokenPagination = buildTokenPagination(); |
| 4327 o.visitorId = "foo"; | 4331 o.visitorId = "foo"; |
| 4328 } | 4332 } |
| 4329 buildCounterSubscriptionListResponse--; | 4333 buildCounterSubscriptionListResponse--; |
| 4330 return o; | 4334 return o; |
| 4331 } | 4335 } |
| 4332 | 4336 |
| 4333 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 4337 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 4334 buildCounterSubscriptionListResponse++; | 4338 buildCounterSubscriptionListResponse++; |
| 4335 if (buildCounterSubscriptionListResponse < 3) { | 4339 if (buildCounterSubscriptionListResponse < 3) { |
| 4336 unittest.expect(o.etag, unittest.equals('foo')); | 4340 unittest.expect(o.etag, unittest.equals('foo')); |
| 4337 unittest.expect(o.eventId, unittest.equals('foo')); | 4341 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4338 checkUnnamed780(o.items); | 4342 checkUnnamed520(o.items); |
| 4339 unittest.expect(o.kind, unittest.equals('foo')); | 4343 unittest.expect(o.kind, unittest.equals('foo')); |
| 4340 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4344 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4341 checkPageInfo(o.pageInfo); | 4345 checkPageInfo(o.pageInfo); |
| 4342 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4346 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4343 checkTokenPagination(o.tokenPagination); | 4347 checkTokenPagination(o.tokenPagination); |
| 4344 unittest.expect(o.visitorId, unittest.equals('foo')); | 4348 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4345 } | 4349 } |
| 4346 buildCounterSubscriptionListResponse--; | 4350 buildCounterSubscriptionListResponse--; |
| 4347 } | 4351 } |
| 4348 | 4352 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4445 if (buildCounterThumbnailDetails < 3) { | 4449 if (buildCounterThumbnailDetails < 3) { |
| 4446 checkThumbnail(o.default_); | 4450 checkThumbnail(o.default_); |
| 4447 checkThumbnail(o.high); | 4451 checkThumbnail(o.high); |
| 4448 checkThumbnail(o.maxres); | 4452 checkThumbnail(o.maxres); |
| 4449 checkThumbnail(o.medium); | 4453 checkThumbnail(o.medium); |
| 4450 checkThumbnail(o.standard); | 4454 checkThumbnail(o.standard); |
| 4451 } | 4455 } |
| 4452 buildCounterThumbnailDetails--; | 4456 buildCounterThumbnailDetails--; |
| 4453 } | 4457 } |
| 4454 | 4458 |
| 4455 buildUnnamed781() { | 4459 buildUnnamed521() { |
| 4456 var o = new core.List<api.ThumbnailDetails>(); | 4460 var o = new core.List<api.ThumbnailDetails>(); |
| 4457 o.add(buildThumbnailDetails()); | 4461 o.add(buildThumbnailDetails()); |
| 4458 o.add(buildThumbnailDetails()); | 4462 o.add(buildThumbnailDetails()); |
| 4459 return o; | 4463 return o; |
| 4460 } | 4464 } |
| 4461 | 4465 |
| 4462 checkUnnamed781(core.List<api.ThumbnailDetails> o) { | 4466 checkUnnamed521(core.List<api.ThumbnailDetails> o) { |
| 4463 unittest.expect(o, unittest.hasLength(2)); | 4467 unittest.expect(o, unittest.hasLength(2)); |
| 4464 checkThumbnailDetails(o[0]); | 4468 checkThumbnailDetails(o[0]); |
| 4465 checkThumbnailDetails(o[1]); | 4469 checkThumbnailDetails(o[1]); |
| 4466 } | 4470 } |
| 4467 | 4471 |
| 4468 core.int buildCounterThumbnailSetResponse = 0; | 4472 core.int buildCounterThumbnailSetResponse = 0; |
| 4469 buildThumbnailSetResponse() { | 4473 buildThumbnailSetResponse() { |
| 4470 var o = new api.ThumbnailSetResponse(); | 4474 var o = new api.ThumbnailSetResponse(); |
| 4471 buildCounterThumbnailSetResponse++; | 4475 buildCounterThumbnailSetResponse++; |
| 4472 if (buildCounterThumbnailSetResponse < 3) { | 4476 if (buildCounterThumbnailSetResponse < 3) { |
| 4473 o.etag = "foo"; | 4477 o.etag = "foo"; |
| 4474 o.eventId = "foo"; | 4478 o.eventId = "foo"; |
| 4475 o.items = buildUnnamed781(); | 4479 o.items = buildUnnamed521(); |
| 4476 o.kind = "foo"; | 4480 o.kind = "foo"; |
| 4477 o.visitorId = "foo"; | 4481 o.visitorId = "foo"; |
| 4478 } | 4482 } |
| 4479 buildCounterThumbnailSetResponse--; | 4483 buildCounterThumbnailSetResponse--; |
| 4480 return o; | 4484 return o; |
| 4481 } | 4485 } |
| 4482 | 4486 |
| 4483 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 4487 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 4484 buildCounterThumbnailSetResponse++; | 4488 buildCounterThumbnailSetResponse++; |
| 4485 if (buildCounterThumbnailSetResponse < 3) { | 4489 if (buildCounterThumbnailSetResponse < 3) { |
| 4486 unittest.expect(o.etag, unittest.equals('foo')); | 4490 unittest.expect(o.etag, unittest.equals('foo')); |
| 4487 unittest.expect(o.eventId, unittest.equals('foo')); | 4491 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4488 checkUnnamed781(o.items); | 4492 checkUnnamed521(o.items); |
| 4489 unittest.expect(o.kind, unittest.equals('foo')); | 4493 unittest.expect(o.kind, unittest.equals('foo')); |
| 4490 unittest.expect(o.visitorId, unittest.equals('foo')); | 4494 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4491 } | 4495 } |
| 4492 buildCounterThumbnailSetResponse--; | 4496 buildCounterThumbnailSetResponse--; |
| 4493 } | 4497 } |
| 4494 | 4498 |
| 4495 core.int buildCounterTokenPagination = 0; | 4499 core.int buildCounterTokenPagination = 0; |
| 4496 buildTokenPagination() { | 4500 buildTokenPagination() { |
| 4497 var o = new api.TokenPagination(); | 4501 var o = new api.TokenPagination(); |
| 4498 buildCounterTokenPagination++; | 4502 buildCounterTokenPagination++; |
| 4499 if (buildCounterTokenPagination < 3) { | 4503 if (buildCounterTokenPagination < 3) { |
| 4500 } | 4504 } |
| 4501 buildCounterTokenPagination--; | 4505 buildCounterTokenPagination--; |
| 4502 return o; | 4506 return o; |
| 4503 } | 4507 } |
| 4504 | 4508 |
| 4505 checkTokenPagination(api.TokenPagination o) { | 4509 checkTokenPagination(api.TokenPagination o) { |
| 4506 buildCounterTokenPagination++; | 4510 buildCounterTokenPagination++; |
| 4507 if (buildCounterTokenPagination < 3) { | 4511 if (buildCounterTokenPagination < 3) { |
| 4508 } | 4512 } |
| 4509 buildCounterTokenPagination--; | 4513 buildCounterTokenPagination--; |
| 4510 } | 4514 } |
| 4511 | 4515 |
| 4512 buildUnnamed782() { | 4516 buildUnnamed522() { |
| 4513 var o = new core.Map<core.String, api.VideoLocalization>(); | 4517 var o = new core.Map<core.String, api.VideoLocalization>(); |
| 4514 o["x"] = buildVideoLocalization(); | 4518 o["x"] = buildVideoLocalization(); |
| 4515 o["y"] = buildVideoLocalization(); | 4519 o["y"] = buildVideoLocalization(); |
| 4516 return o; | 4520 return o; |
| 4517 } | 4521 } |
| 4518 | 4522 |
| 4519 checkUnnamed782(core.Map<core.String, api.VideoLocalization> o) { | 4523 checkUnnamed522(core.Map<core.String, api.VideoLocalization> o) { |
| 4520 unittest.expect(o, unittest.hasLength(2)); | 4524 unittest.expect(o, unittest.hasLength(2)); |
| 4521 checkVideoLocalization(o["x"]); | 4525 checkVideoLocalization(o["x"]); |
| 4522 checkVideoLocalization(o["y"]); | 4526 checkVideoLocalization(o["y"]); |
| 4523 } | 4527 } |
| 4524 | 4528 |
| 4525 core.int buildCounterVideo = 0; | 4529 core.int buildCounterVideo = 0; |
| 4526 buildVideo() { | 4530 buildVideo() { |
| 4527 var o = new api.Video(); | 4531 var o = new api.Video(); |
| 4528 buildCounterVideo++; | 4532 buildCounterVideo++; |
| 4529 if (buildCounterVideo < 3) { | 4533 if (buildCounterVideo < 3) { |
| 4530 o.ageGating = buildVideoAgeGating(); | 4534 o.ageGating = buildVideoAgeGating(); |
| 4531 o.contentDetails = buildVideoContentDetails(); | 4535 o.contentDetails = buildVideoContentDetails(); |
| 4532 o.etag = "foo"; | 4536 o.etag = "foo"; |
| 4533 o.fileDetails = buildVideoFileDetails(); | 4537 o.fileDetails = buildVideoFileDetails(); |
| 4534 o.id = "foo"; | 4538 o.id = "foo"; |
| 4535 o.kind = "foo"; | 4539 o.kind = "foo"; |
| 4536 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 4540 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
| 4537 o.localizations = buildUnnamed782(); | 4541 o.localizations = buildUnnamed522(); |
| 4538 o.monetizationDetails = buildVideoMonetizationDetails(); | 4542 o.monetizationDetails = buildVideoMonetizationDetails(); |
| 4539 o.player = buildVideoPlayer(); | 4543 o.player = buildVideoPlayer(); |
| 4540 o.processingDetails = buildVideoProcessingDetails(); | 4544 o.processingDetails = buildVideoProcessingDetails(); |
| 4541 o.projectDetails = buildVideoProjectDetails(); | 4545 o.projectDetails = buildVideoProjectDetails(); |
| 4542 o.recordingDetails = buildVideoRecordingDetails(); | 4546 o.recordingDetails = buildVideoRecordingDetails(); |
| 4543 o.snippet = buildVideoSnippet(); | 4547 o.snippet = buildVideoSnippet(); |
| 4544 o.statistics = buildVideoStatistics(); | 4548 o.statistics = buildVideoStatistics(); |
| 4545 o.status = buildVideoStatus(); | 4549 o.status = buildVideoStatus(); |
| 4546 o.suggestions = buildVideoSuggestions(); | 4550 o.suggestions = buildVideoSuggestions(); |
| 4547 o.topicDetails = buildVideoTopicDetails(); | 4551 o.topicDetails = buildVideoTopicDetails(); |
| 4548 } | 4552 } |
| 4549 buildCounterVideo--; | 4553 buildCounterVideo--; |
| 4550 return o; | 4554 return o; |
| 4551 } | 4555 } |
| 4552 | 4556 |
| 4553 checkVideo(api.Video o) { | 4557 checkVideo(api.Video o) { |
| 4554 buildCounterVideo++; | 4558 buildCounterVideo++; |
| 4555 if (buildCounterVideo < 3) { | 4559 if (buildCounterVideo < 3) { |
| 4556 checkVideoAgeGating(o.ageGating); | 4560 checkVideoAgeGating(o.ageGating); |
| 4557 checkVideoContentDetails(o.contentDetails); | 4561 checkVideoContentDetails(o.contentDetails); |
| 4558 unittest.expect(o.etag, unittest.equals('foo')); | 4562 unittest.expect(o.etag, unittest.equals('foo')); |
| 4559 checkVideoFileDetails(o.fileDetails); | 4563 checkVideoFileDetails(o.fileDetails); |
| 4560 unittest.expect(o.id, unittest.equals('foo')); | 4564 unittest.expect(o.id, unittest.equals('foo')); |
| 4561 unittest.expect(o.kind, unittest.equals('foo')); | 4565 unittest.expect(o.kind, unittest.equals('foo')); |
| 4562 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 4566 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
| 4563 checkUnnamed782(o.localizations); | 4567 checkUnnamed522(o.localizations); |
| 4564 checkVideoMonetizationDetails(o.monetizationDetails); | 4568 checkVideoMonetizationDetails(o.monetizationDetails); |
| 4565 checkVideoPlayer(o.player); | 4569 checkVideoPlayer(o.player); |
| 4566 checkVideoProcessingDetails(o.processingDetails); | 4570 checkVideoProcessingDetails(o.processingDetails); |
| 4567 checkVideoProjectDetails(o.projectDetails); | 4571 checkVideoProjectDetails(o.projectDetails); |
| 4568 checkVideoRecordingDetails(o.recordingDetails); | 4572 checkVideoRecordingDetails(o.recordingDetails); |
| 4569 checkVideoSnippet(o.snippet); | 4573 checkVideoSnippet(o.snippet); |
| 4570 checkVideoStatistics(o.statistics); | 4574 checkVideoStatistics(o.statistics); |
| 4571 checkVideoStatus(o.status); | 4575 checkVideoStatus(o.status); |
| 4572 checkVideoSuggestions(o.suggestions); | 4576 checkVideoSuggestions(o.suggestions); |
| 4573 checkVideoTopicDetails(o.topicDetails); | 4577 checkVideoTopicDetails(o.topicDetails); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4620 buildCounterVideoAbuseReportReason++; | 4624 buildCounterVideoAbuseReportReason++; |
| 4621 if (buildCounterVideoAbuseReportReason < 3) { | 4625 if (buildCounterVideoAbuseReportReason < 3) { |
| 4622 unittest.expect(o.etag, unittest.equals('foo')); | 4626 unittest.expect(o.etag, unittest.equals('foo')); |
| 4623 unittest.expect(o.id, unittest.equals('foo')); | 4627 unittest.expect(o.id, unittest.equals('foo')); |
| 4624 unittest.expect(o.kind, unittest.equals('foo')); | 4628 unittest.expect(o.kind, unittest.equals('foo')); |
| 4625 checkVideoAbuseReportReasonSnippet(o.snippet); | 4629 checkVideoAbuseReportReasonSnippet(o.snippet); |
| 4626 } | 4630 } |
| 4627 buildCounterVideoAbuseReportReason--; | 4631 buildCounterVideoAbuseReportReason--; |
| 4628 } | 4632 } |
| 4629 | 4633 |
| 4630 buildUnnamed783() { | 4634 buildUnnamed523() { |
| 4631 var o = new core.List<api.VideoAbuseReportReason>(); | 4635 var o = new core.List<api.VideoAbuseReportReason>(); |
| 4632 o.add(buildVideoAbuseReportReason()); | 4636 o.add(buildVideoAbuseReportReason()); |
| 4633 o.add(buildVideoAbuseReportReason()); | 4637 o.add(buildVideoAbuseReportReason()); |
| 4634 return o; | 4638 return o; |
| 4635 } | 4639 } |
| 4636 | 4640 |
| 4637 checkUnnamed783(core.List<api.VideoAbuseReportReason> o) { | 4641 checkUnnamed523(core.List<api.VideoAbuseReportReason> o) { |
| 4638 unittest.expect(o, unittest.hasLength(2)); | 4642 unittest.expect(o, unittest.hasLength(2)); |
| 4639 checkVideoAbuseReportReason(o[0]); | 4643 checkVideoAbuseReportReason(o[0]); |
| 4640 checkVideoAbuseReportReason(o[1]); | 4644 checkVideoAbuseReportReason(o[1]); |
| 4641 } | 4645 } |
| 4642 | 4646 |
| 4643 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 4647 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
| 4644 buildVideoAbuseReportReasonListResponse() { | 4648 buildVideoAbuseReportReasonListResponse() { |
| 4645 var o = new api.VideoAbuseReportReasonListResponse(); | 4649 var o = new api.VideoAbuseReportReasonListResponse(); |
| 4646 buildCounterVideoAbuseReportReasonListResponse++; | 4650 buildCounterVideoAbuseReportReasonListResponse++; |
| 4647 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4651 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4648 o.etag = "foo"; | 4652 o.etag = "foo"; |
| 4649 o.eventId = "foo"; | 4653 o.eventId = "foo"; |
| 4650 o.items = buildUnnamed783(); | 4654 o.items = buildUnnamed523(); |
| 4651 o.kind = "foo"; | 4655 o.kind = "foo"; |
| 4652 o.visitorId = "foo"; | 4656 o.visitorId = "foo"; |
| 4653 } | 4657 } |
| 4654 buildCounterVideoAbuseReportReasonListResponse--; | 4658 buildCounterVideoAbuseReportReasonListResponse--; |
| 4655 return o; | 4659 return o; |
| 4656 } | 4660 } |
| 4657 | 4661 |
| 4658 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 4662 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
| 4659 buildCounterVideoAbuseReportReasonListResponse++; | 4663 buildCounterVideoAbuseReportReasonListResponse++; |
| 4660 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4664 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4661 unittest.expect(o.etag, unittest.equals('foo')); | 4665 unittest.expect(o.etag, unittest.equals('foo')); |
| 4662 unittest.expect(o.eventId, unittest.equals('foo')); | 4666 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4663 checkUnnamed783(o.items); | 4667 checkUnnamed523(o.items); |
| 4664 unittest.expect(o.kind, unittest.equals('foo')); | 4668 unittest.expect(o.kind, unittest.equals('foo')); |
| 4665 unittest.expect(o.visitorId, unittest.equals('foo')); | 4669 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4666 } | 4670 } |
| 4667 buildCounterVideoAbuseReportReasonListResponse--; | 4671 buildCounterVideoAbuseReportReasonListResponse--; |
| 4668 } | 4672 } |
| 4669 | 4673 |
| 4670 buildUnnamed784() { | 4674 buildUnnamed524() { |
| 4671 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 4675 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
| 4672 o.add(buildVideoAbuseReportSecondaryReason()); | 4676 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4673 o.add(buildVideoAbuseReportSecondaryReason()); | 4677 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4674 return o; | 4678 return o; |
| 4675 } | 4679 } |
| 4676 | 4680 |
| 4677 checkUnnamed784(core.List<api.VideoAbuseReportSecondaryReason> o) { | 4681 checkUnnamed524(core.List<api.VideoAbuseReportSecondaryReason> o) { |
| 4678 unittest.expect(o, unittest.hasLength(2)); | 4682 unittest.expect(o, unittest.hasLength(2)); |
| 4679 checkVideoAbuseReportSecondaryReason(o[0]); | 4683 checkVideoAbuseReportSecondaryReason(o[0]); |
| 4680 checkVideoAbuseReportSecondaryReason(o[1]); | 4684 checkVideoAbuseReportSecondaryReason(o[1]); |
| 4681 } | 4685 } |
| 4682 | 4686 |
| 4683 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 4687 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
| 4684 buildVideoAbuseReportReasonSnippet() { | 4688 buildVideoAbuseReportReasonSnippet() { |
| 4685 var o = new api.VideoAbuseReportReasonSnippet(); | 4689 var o = new api.VideoAbuseReportReasonSnippet(); |
| 4686 buildCounterVideoAbuseReportReasonSnippet++; | 4690 buildCounterVideoAbuseReportReasonSnippet++; |
| 4687 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4691 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4688 o.label = "foo"; | 4692 o.label = "foo"; |
| 4689 o.secondaryReasons = buildUnnamed784(); | 4693 o.secondaryReasons = buildUnnamed524(); |
| 4690 } | 4694 } |
| 4691 buildCounterVideoAbuseReportReasonSnippet--; | 4695 buildCounterVideoAbuseReportReasonSnippet--; |
| 4692 return o; | 4696 return o; |
| 4693 } | 4697 } |
| 4694 | 4698 |
| 4695 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 4699 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
| 4696 buildCounterVideoAbuseReportReasonSnippet++; | 4700 buildCounterVideoAbuseReportReasonSnippet++; |
| 4697 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4701 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4698 unittest.expect(o.label, unittest.equals('foo')); | 4702 unittest.expect(o.label, unittest.equals('foo')); |
| 4699 checkUnnamed784(o.secondaryReasons); | 4703 checkUnnamed524(o.secondaryReasons); |
| 4700 } | 4704 } |
| 4701 buildCounterVideoAbuseReportReasonSnippet--; | 4705 buildCounterVideoAbuseReportReasonSnippet--; |
| 4702 } | 4706 } |
| 4703 | 4707 |
| 4704 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 4708 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
| 4705 buildVideoAbuseReportSecondaryReason() { | 4709 buildVideoAbuseReportSecondaryReason() { |
| 4706 var o = new api.VideoAbuseReportSecondaryReason(); | 4710 var o = new api.VideoAbuseReportSecondaryReason(); |
| 4707 buildCounterVideoAbuseReportSecondaryReason++; | 4711 buildCounterVideoAbuseReportSecondaryReason++; |
| 4708 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 4712 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
| 4709 o.id = "foo"; | 4713 o.id = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4763 buildCounterVideoCategory++; | 4767 buildCounterVideoCategory++; |
| 4764 if (buildCounterVideoCategory < 3) { | 4768 if (buildCounterVideoCategory < 3) { |
| 4765 unittest.expect(o.etag, unittest.equals('foo')); | 4769 unittest.expect(o.etag, unittest.equals('foo')); |
| 4766 unittest.expect(o.id, unittest.equals('foo')); | 4770 unittest.expect(o.id, unittest.equals('foo')); |
| 4767 unittest.expect(o.kind, unittest.equals('foo')); | 4771 unittest.expect(o.kind, unittest.equals('foo')); |
| 4768 checkVideoCategorySnippet(o.snippet); | 4772 checkVideoCategorySnippet(o.snippet); |
| 4769 } | 4773 } |
| 4770 buildCounterVideoCategory--; | 4774 buildCounterVideoCategory--; |
| 4771 } | 4775 } |
| 4772 | 4776 |
| 4773 buildUnnamed785() { | 4777 buildUnnamed525() { |
| 4774 var o = new core.List<api.VideoCategory>(); | 4778 var o = new core.List<api.VideoCategory>(); |
| 4775 o.add(buildVideoCategory()); | 4779 o.add(buildVideoCategory()); |
| 4776 o.add(buildVideoCategory()); | 4780 o.add(buildVideoCategory()); |
| 4777 return o; | 4781 return o; |
| 4778 } | 4782 } |
| 4779 | 4783 |
| 4780 checkUnnamed785(core.List<api.VideoCategory> o) { | 4784 checkUnnamed525(core.List<api.VideoCategory> o) { |
| 4781 unittest.expect(o, unittest.hasLength(2)); | 4785 unittest.expect(o, unittest.hasLength(2)); |
| 4782 checkVideoCategory(o[0]); | 4786 checkVideoCategory(o[0]); |
| 4783 checkVideoCategory(o[1]); | 4787 checkVideoCategory(o[1]); |
| 4784 } | 4788 } |
| 4785 | 4789 |
| 4786 core.int buildCounterVideoCategoryListResponse = 0; | 4790 core.int buildCounterVideoCategoryListResponse = 0; |
| 4787 buildVideoCategoryListResponse() { | 4791 buildVideoCategoryListResponse() { |
| 4788 var o = new api.VideoCategoryListResponse(); | 4792 var o = new api.VideoCategoryListResponse(); |
| 4789 buildCounterVideoCategoryListResponse++; | 4793 buildCounterVideoCategoryListResponse++; |
| 4790 if (buildCounterVideoCategoryListResponse < 3) { | 4794 if (buildCounterVideoCategoryListResponse < 3) { |
| 4791 o.etag = "foo"; | 4795 o.etag = "foo"; |
| 4792 o.eventId = "foo"; | 4796 o.eventId = "foo"; |
| 4793 o.items = buildUnnamed785(); | 4797 o.items = buildUnnamed525(); |
| 4794 o.kind = "foo"; | 4798 o.kind = "foo"; |
| 4795 o.nextPageToken = "foo"; | 4799 o.nextPageToken = "foo"; |
| 4796 o.pageInfo = buildPageInfo(); | 4800 o.pageInfo = buildPageInfo(); |
| 4797 o.prevPageToken = "foo"; | 4801 o.prevPageToken = "foo"; |
| 4798 o.tokenPagination = buildTokenPagination(); | 4802 o.tokenPagination = buildTokenPagination(); |
| 4799 o.visitorId = "foo"; | 4803 o.visitorId = "foo"; |
| 4800 } | 4804 } |
| 4801 buildCounterVideoCategoryListResponse--; | 4805 buildCounterVideoCategoryListResponse--; |
| 4802 return o; | 4806 return o; |
| 4803 } | 4807 } |
| 4804 | 4808 |
| 4805 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4809 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 4806 buildCounterVideoCategoryListResponse++; | 4810 buildCounterVideoCategoryListResponse++; |
| 4807 if (buildCounterVideoCategoryListResponse < 3) { | 4811 if (buildCounterVideoCategoryListResponse < 3) { |
| 4808 unittest.expect(o.etag, unittest.equals('foo')); | 4812 unittest.expect(o.etag, unittest.equals('foo')); |
| 4809 unittest.expect(o.eventId, unittest.equals('foo')); | 4813 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4810 checkUnnamed785(o.items); | 4814 checkUnnamed525(o.items); |
| 4811 unittest.expect(o.kind, unittest.equals('foo')); | 4815 unittest.expect(o.kind, unittest.equals('foo')); |
| 4812 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4816 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4813 checkPageInfo(o.pageInfo); | 4817 checkPageInfo(o.pageInfo); |
| 4814 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4818 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4815 checkTokenPagination(o.tokenPagination); | 4819 checkTokenPagination(o.tokenPagination); |
| 4816 unittest.expect(o.visitorId, unittest.equals('foo')); | 4820 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4817 } | 4821 } |
| 4818 buildCounterVideoCategoryListResponse--; | 4822 buildCounterVideoCategoryListResponse--; |
| 4819 } | 4823 } |
| 4820 | 4824 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4871 unittest.expect(o.dimension, unittest.equals('foo')); | 4875 unittest.expect(o.dimension, unittest.equals('foo')); |
| 4872 unittest.expect(o.duration, unittest.equals('foo')); | 4876 unittest.expect(o.duration, unittest.equals('foo')); |
| 4873 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); | 4877 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); |
| 4874 unittest.expect(o.licensedContent, unittest.isTrue); | 4878 unittest.expect(o.licensedContent, unittest.isTrue); |
| 4875 unittest.expect(o.projection, unittest.equals('foo')); | 4879 unittest.expect(o.projection, unittest.equals('foo')); |
| 4876 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 4880 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 4877 } | 4881 } |
| 4878 buildCounterVideoContentDetails--; | 4882 buildCounterVideoContentDetails--; |
| 4879 } | 4883 } |
| 4880 | 4884 |
| 4881 buildUnnamed786() { | 4885 buildUnnamed526() { |
| 4882 var o = new core.List<core.String>(); | 4886 var o = new core.List<core.String>(); |
| 4883 o.add("foo"); | 4887 o.add("foo"); |
| 4884 o.add("foo"); | 4888 o.add("foo"); |
| 4885 return o; | 4889 return o; |
| 4886 } | 4890 } |
| 4887 | 4891 |
| 4888 checkUnnamed786(core.List<core.String> o) { | 4892 checkUnnamed526(core.List<core.String> o) { |
| 4889 unittest.expect(o, unittest.hasLength(2)); | 4893 unittest.expect(o, unittest.hasLength(2)); |
| 4890 unittest.expect(o[0], unittest.equals('foo')); | 4894 unittest.expect(o[0], unittest.equals('foo')); |
| 4891 unittest.expect(o[1], unittest.equals('foo')); | 4895 unittest.expect(o[1], unittest.equals('foo')); |
| 4892 } | 4896 } |
| 4893 | 4897 |
| 4894 buildUnnamed787() { | 4898 buildUnnamed527() { |
| 4895 var o = new core.List<core.String>(); | 4899 var o = new core.List<core.String>(); |
| 4896 o.add("foo"); | 4900 o.add("foo"); |
| 4897 o.add("foo"); | 4901 o.add("foo"); |
| 4898 return o; | 4902 return o; |
| 4899 } | 4903 } |
| 4900 | 4904 |
| 4901 checkUnnamed787(core.List<core.String> o) { | 4905 checkUnnamed527(core.List<core.String> o) { |
| 4902 unittest.expect(o, unittest.hasLength(2)); | 4906 unittest.expect(o, unittest.hasLength(2)); |
| 4903 unittest.expect(o[0], unittest.equals('foo')); | 4907 unittest.expect(o[0], unittest.equals('foo')); |
| 4904 unittest.expect(o[1], unittest.equals('foo')); | 4908 unittest.expect(o[1], unittest.equals('foo')); |
| 4905 } | 4909 } |
| 4906 | 4910 |
| 4907 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 4911 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 4908 buildVideoContentDetailsRegionRestriction() { | 4912 buildVideoContentDetailsRegionRestriction() { |
| 4909 var o = new api.VideoContentDetailsRegionRestriction(); | 4913 var o = new api.VideoContentDetailsRegionRestriction(); |
| 4910 buildCounterVideoContentDetailsRegionRestriction++; | 4914 buildCounterVideoContentDetailsRegionRestriction++; |
| 4911 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4915 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4912 o.allowed = buildUnnamed786(); | 4916 o.allowed = buildUnnamed526(); |
| 4913 o.blocked = buildUnnamed787(); | 4917 o.blocked = buildUnnamed527(); |
| 4914 } | 4918 } |
| 4915 buildCounterVideoContentDetailsRegionRestriction--; | 4919 buildCounterVideoContentDetailsRegionRestriction--; |
| 4916 return o; | 4920 return o; |
| 4917 } | 4921 } |
| 4918 | 4922 |
| 4919 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 4923 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 4920 buildCounterVideoContentDetailsRegionRestriction++; | 4924 buildCounterVideoContentDetailsRegionRestriction++; |
| 4921 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4925 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4922 checkUnnamed786(o.allowed); | 4926 checkUnnamed526(o.allowed); |
| 4923 checkUnnamed787(o.blocked); | 4927 checkUnnamed527(o.blocked); |
| 4924 } | 4928 } |
| 4925 buildCounterVideoContentDetailsRegionRestriction--; | 4929 buildCounterVideoContentDetailsRegionRestriction--; |
| 4926 } | 4930 } |
| 4927 | 4931 |
| 4928 buildUnnamed788() { | 4932 buildUnnamed528() { |
| 4929 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 4933 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 4930 o.add(buildVideoFileDetailsAudioStream()); | 4934 o.add(buildVideoFileDetailsAudioStream()); |
| 4931 o.add(buildVideoFileDetailsAudioStream()); | 4935 o.add(buildVideoFileDetailsAudioStream()); |
| 4932 return o; | 4936 return o; |
| 4933 } | 4937 } |
| 4934 | 4938 |
| 4935 checkUnnamed788(core.List<api.VideoFileDetailsAudioStream> o) { | 4939 checkUnnamed528(core.List<api.VideoFileDetailsAudioStream> o) { |
| 4936 unittest.expect(o, unittest.hasLength(2)); | 4940 unittest.expect(o, unittest.hasLength(2)); |
| 4937 checkVideoFileDetailsAudioStream(o[0]); | 4941 checkVideoFileDetailsAudioStream(o[0]); |
| 4938 checkVideoFileDetailsAudioStream(o[1]); | 4942 checkVideoFileDetailsAudioStream(o[1]); |
| 4939 } | 4943 } |
| 4940 | 4944 |
| 4941 buildUnnamed789() { | 4945 buildUnnamed529() { |
| 4942 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 4946 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 4943 o.add(buildVideoFileDetailsVideoStream()); | 4947 o.add(buildVideoFileDetailsVideoStream()); |
| 4944 o.add(buildVideoFileDetailsVideoStream()); | 4948 o.add(buildVideoFileDetailsVideoStream()); |
| 4945 return o; | 4949 return o; |
| 4946 } | 4950 } |
| 4947 | 4951 |
| 4948 checkUnnamed789(core.List<api.VideoFileDetailsVideoStream> o) { | 4952 checkUnnamed529(core.List<api.VideoFileDetailsVideoStream> o) { |
| 4949 unittest.expect(o, unittest.hasLength(2)); | 4953 unittest.expect(o, unittest.hasLength(2)); |
| 4950 checkVideoFileDetailsVideoStream(o[0]); | 4954 checkVideoFileDetailsVideoStream(o[0]); |
| 4951 checkVideoFileDetailsVideoStream(o[1]); | 4955 checkVideoFileDetailsVideoStream(o[1]); |
| 4952 } | 4956 } |
| 4953 | 4957 |
| 4954 core.int buildCounterVideoFileDetails = 0; | 4958 core.int buildCounterVideoFileDetails = 0; |
| 4955 buildVideoFileDetails() { | 4959 buildVideoFileDetails() { |
| 4956 var o = new api.VideoFileDetails(); | 4960 var o = new api.VideoFileDetails(); |
| 4957 buildCounterVideoFileDetails++; | 4961 buildCounterVideoFileDetails++; |
| 4958 if (buildCounterVideoFileDetails < 3) { | 4962 if (buildCounterVideoFileDetails < 3) { |
| 4959 o.audioStreams = buildUnnamed788(); | 4963 o.audioStreams = buildUnnamed528(); |
| 4960 o.bitrateBps = "foo"; | 4964 o.bitrateBps = "foo"; |
| 4961 o.container = "foo"; | 4965 o.container = "foo"; |
| 4962 o.creationTime = "foo"; | 4966 o.creationTime = "foo"; |
| 4963 o.durationMs = "foo"; | 4967 o.durationMs = "foo"; |
| 4964 o.fileName = "foo"; | 4968 o.fileName = "foo"; |
| 4965 o.fileSize = "foo"; | 4969 o.fileSize = "foo"; |
| 4966 o.fileType = "foo"; | 4970 o.fileType = "foo"; |
| 4967 o.videoStreams = buildUnnamed789(); | 4971 o.videoStreams = buildUnnamed529(); |
| 4968 } | 4972 } |
| 4969 buildCounterVideoFileDetails--; | 4973 buildCounterVideoFileDetails--; |
| 4970 return o; | 4974 return o; |
| 4971 } | 4975 } |
| 4972 | 4976 |
| 4973 checkVideoFileDetails(api.VideoFileDetails o) { | 4977 checkVideoFileDetails(api.VideoFileDetails o) { |
| 4974 buildCounterVideoFileDetails++; | 4978 buildCounterVideoFileDetails++; |
| 4975 if (buildCounterVideoFileDetails < 3) { | 4979 if (buildCounterVideoFileDetails < 3) { |
| 4976 checkUnnamed788(o.audioStreams); | 4980 checkUnnamed528(o.audioStreams); |
| 4977 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 4981 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 4978 unittest.expect(o.container, unittest.equals('foo')); | 4982 unittest.expect(o.container, unittest.equals('foo')); |
| 4979 unittest.expect(o.creationTime, unittest.equals('foo')); | 4983 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 4980 unittest.expect(o.durationMs, unittest.equals('foo')); | 4984 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 4981 unittest.expect(o.fileName, unittest.equals('foo')); | 4985 unittest.expect(o.fileName, unittest.equals('foo')); |
| 4982 unittest.expect(o.fileSize, unittest.equals('foo')); | 4986 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 4983 unittest.expect(o.fileType, unittest.equals('foo')); | 4987 unittest.expect(o.fileType, unittest.equals('foo')); |
| 4984 checkUnnamed789(o.videoStreams); | 4988 checkUnnamed529(o.videoStreams); |
| 4985 } | 4989 } |
| 4986 buildCounterVideoFileDetails--; | 4990 buildCounterVideoFileDetails--; |
| 4987 } | 4991 } |
| 4988 | 4992 |
| 4989 core.int buildCounterVideoFileDetailsAudioStream = 0; | 4993 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 4990 buildVideoFileDetailsAudioStream() { | 4994 buildVideoFileDetailsAudioStream() { |
| 4991 var o = new api.VideoFileDetailsAudioStream(); | 4995 var o = new api.VideoFileDetailsAudioStream(); |
| 4992 buildCounterVideoFileDetailsAudioStream++; | 4996 buildCounterVideoFileDetailsAudioStream++; |
| 4993 if (buildCounterVideoFileDetailsAudioStream < 3) { | 4997 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 4994 o.bitrateBps = "foo"; | 4998 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5037 unittest.expect(o.codec, unittest.equals('foo')); | 5041 unittest.expect(o.codec, unittest.equals('foo')); |
| 5038 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 5042 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 5039 unittest.expect(o.heightPixels, unittest.equals(42)); | 5043 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 5040 unittest.expect(o.rotation, unittest.equals('foo')); | 5044 unittest.expect(o.rotation, unittest.equals('foo')); |
| 5041 unittest.expect(o.vendor, unittest.equals('foo')); | 5045 unittest.expect(o.vendor, unittest.equals('foo')); |
| 5042 unittest.expect(o.widthPixels, unittest.equals(42)); | 5046 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 5043 } | 5047 } |
| 5044 buildCounterVideoFileDetailsVideoStream--; | 5048 buildCounterVideoFileDetailsVideoStream--; |
| 5045 } | 5049 } |
| 5046 | 5050 |
| 5047 buildUnnamed790() { | 5051 buildUnnamed530() { |
| 5048 var o = new core.List<api.VideoRating>(); | 5052 var o = new core.List<api.VideoRating>(); |
| 5049 o.add(buildVideoRating()); | 5053 o.add(buildVideoRating()); |
| 5050 o.add(buildVideoRating()); | 5054 o.add(buildVideoRating()); |
| 5051 return o; | 5055 return o; |
| 5052 } | 5056 } |
| 5053 | 5057 |
| 5054 checkUnnamed790(core.List<api.VideoRating> o) { | 5058 checkUnnamed530(core.List<api.VideoRating> o) { |
| 5055 unittest.expect(o, unittest.hasLength(2)); | 5059 unittest.expect(o, unittest.hasLength(2)); |
| 5056 checkVideoRating(o[0]); | 5060 checkVideoRating(o[0]); |
| 5057 checkVideoRating(o[1]); | 5061 checkVideoRating(o[1]); |
| 5058 } | 5062 } |
| 5059 | 5063 |
| 5060 core.int buildCounterVideoGetRatingResponse = 0; | 5064 core.int buildCounterVideoGetRatingResponse = 0; |
| 5061 buildVideoGetRatingResponse() { | 5065 buildVideoGetRatingResponse() { |
| 5062 var o = new api.VideoGetRatingResponse(); | 5066 var o = new api.VideoGetRatingResponse(); |
| 5063 buildCounterVideoGetRatingResponse++; | 5067 buildCounterVideoGetRatingResponse++; |
| 5064 if (buildCounterVideoGetRatingResponse < 3) { | 5068 if (buildCounterVideoGetRatingResponse < 3) { |
| 5065 o.etag = "foo"; | 5069 o.etag = "foo"; |
| 5066 o.eventId = "foo"; | 5070 o.eventId = "foo"; |
| 5067 o.items = buildUnnamed790(); | 5071 o.items = buildUnnamed530(); |
| 5068 o.kind = "foo"; | 5072 o.kind = "foo"; |
| 5069 o.visitorId = "foo"; | 5073 o.visitorId = "foo"; |
| 5070 } | 5074 } |
| 5071 buildCounterVideoGetRatingResponse--; | 5075 buildCounterVideoGetRatingResponse--; |
| 5072 return o; | 5076 return o; |
| 5073 } | 5077 } |
| 5074 | 5078 |
| 5075 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 5079 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 5076 buildCounterVideoGetRatingResponse++; | 5080 buildCounterVideoGetRatingResponse++; |
| 5077 if (buildCounterVideoGetRatingResponse < 3) { | 5081 if (buildCounterVideoGetRatingResponse < 3) { |
| 5078 unittest.expect(o.etag, unittest.equals('foo')); | 5082 unittest.expect(o.etag, unittest.equals('foo')); |
| 5079 unittest.expect(o.eventId, unittest.equals('foo')); | 5083 unittest.expect(o.eventId, unittest.equals('foo')); |
| 5080 checkUnnamed790(o.items); | 5084 checkUnnamed530(o.items); |
| 5081 unittest.expect(o.kind, unittest.equals('foo')); | 5085 unittest.expect(o.kind, unittest.equals('foo')); |
| 5082 unittest.expect(o.visitorId, unittest.equals('foo')); | 5086 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 5083 } | 5087 } |
| 5084 buildCounterVideoGetRatingResponse--; | 5088 buildCounterVideoGetRatingResponse--; |
| 5085 } | 5089 } |
| 5086 | 5090 |
| 5087 buildUnnamed791() { | 5091 buildUnnamed531() { |
| 5088 var o = new core.List<api.Video>(); | 5092 var o = new core.List<api.Video>(); |
| 5089 o.add(buildVideo()); | 5093 o.add(buildVideo()); |
| 5090 o.add(buildVideo()); | 5094 o.add(buildVideo()); |
| 5091 return o; | 5095 return o; |
| 5092 } | 5096 } |
| 5093 | 5097 |
| 5094 checkUnnamed791(core.List<api.Video> o) { | 5098 checkUnnamed531(core.List<api.Video> o) { |
| 5095 unittest.expect(o, unittest.hasLength(2)); | 5099 unittest.expect(o, unittest.hasLength(2)); |
| 5096 checkVideo(o[0]); | 5100 checkVideo(o[0]); |
| 5097 checkVideo(o[1]); | 5101 checkVideo(o[1]); |
| 5098 } | 5102 } |
| 5099 | 5103 |
| 5100 core.int buildCounterVideoListResponse = 0; | 5104 core.int buildCounterVideoListResponse = 0; |
| 5101 buildVideoListResponse() { | 5105 buildVideoListResponse() { |
| 5102 var o = new api.VideoListResponse(); | 5106 var o = new api.VideoListResponse(); |
| 5103 buildCounterVideoListResponse++; | 5107 buildCounterVideoListResponse++; |
| 5104 if (buildCounterVideoListResponse < 3) { | 5108 if (buildCounterVideoListResponse < 3) { |
| 5105 o.etag = "foo"; | 5109 o.etag = "foo"; |
| 5106 o.eventId = "foo"; | 5110 o.eventId = "foo"; |
| 5107 o.items = buildUnnamed791(); | 5111 o.items = buildUnnamed531(); |
| 5108 o.kind = "foo"; | 5112 o.kind = "foo"; |
| 5109 o.nextPageToken = "foo"; | 5113 o.nextPageToken = "foo"; |
| 5110 o.pageInfo = buildPageInfo(); | 5114 o.pageInfo = buildPageInfo(); |
| 5111 o.prevPageToken = "foo"; | 5115 o.prevPageToken = "foo"; |
| 5112 o.tokenPagination = buildTokenPagination(); | 5116 o.tokenPagination = buildTokenPagination(); |
| 5113 o.visitorId = "foo"; | 5117 o.visitorId = "foo"; |
| 5114 } | 5118 } |
| 5115 buildCounterVideoListResponse--; | 5119 buildCounterVideoListResponse--; |
| 5116 return o; | 5120 return o; |
| 5117 } | 5121 } |
| 5118 | 5122 |
| 5119 checkVideoListResponse(api.VideoListResponse o) { | 5123 checkVideoListResponse(api.VideoListResponse o) { |
| 5120 buildCounterVideoListResponse++; | 5124 buildCounterVideoListResponse++; |
| 5121 if (buildCounterVideoListResponse < 3) { | 5125 if (buildCounterVideoListResponse < 3) { |
| 5122 unittest.expect(o.etag, unittest.equals('foo')); | 5126 unittest.expect(o.etag, unittest.equals('foo')); |
| 5123 unittest.expect(o.eventId, unittest.equals('foo')); | 5127 unittest.expect(o.eventId, unittest.equals('foo')); |
| 5124 checkUnnamed791(o.items); | 5128 checkUnnamed531(o.items); |
| 5125 unittest.expect(o.kind, unittest.equals('foo')); | 5129 unittest.expect(o.kind, unittest.equals('foo')); |
| 5126 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5130 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5127 checkPageInfo(o.pageInfo); | 5131 checkPageInfo(o.pageInfo); |
| 5128 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 5132 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 5129 checkTokenPagination(o.tokenPagination); | 5133 checkTokenPagination(o.tokenPagination); |
| 5130 unittest.expect(o.visitorId, unittest.equals('foo')); | 5134 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 5131 } | 5135 } |
| 5132 buildCounterVideoListResponse--; | 5136 buildCounterVideoListResponse--; |
| 5133 } | 5137 } |
| 5134 | 5138 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5273 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 5277 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 5274 buildCounterVideoProcessingDetailsProcessingProgress++; | 5278 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 5275 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 5279 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 5276 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 5280 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 5277 unittest.expect(o.partsTotal, unittest.equals('foo')); | 5281 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 5278 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 5282 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 5279 } | 5283 } |
| 5280 buildCounterVideoProcessingDetailsProcessingProgress--; | 5284 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 5281 } | 5285 } |
| 5282 | 5286 |
| 5283 buildUnnamed792() { | 5287 buildUnnamed532() { |
| 5284 var o = new core.List<core.String>(); | 5288 var o = new core.List<core.String>(); |
| 5285 o.add("foo"); | 5289 o.add("foo"); |
| 5286 o.add("foo"); | 5290 o.add("foo"); |
| 5287 return o; | 5291 return o; |
| 5288 } | 5292 } |
| 5289 | 5293 |
| 5290 checkUnnamed792(core.List<core.String> o) { | 5294 checkUnnamed532(core.List<core.String> o) { |
| 5291 unittest.expect(o, unittest.hasLength(2)); | 5295 unittest.expect(o, unittest.hasLength(2)); |
| 5292 unittest.expect(o[0], unittest.equals('foo')); | 5296 unittest.expect(o[0], unittest.equals('foo')); |
| 5293 unittest.expect(o[1], unittest.equals('foo')); | 5297 unittest.expect(o[1], unittest.equals('foo')); |
| 5294 } | 5298 } |
| 5295 | 5299 |
| 5296 core.int buildCounterVideoProjectDetails = 0; | 5300 core.int buildCounterVideoProjectDetails = 0; |
| 5297 buildVideoProjectDetails() { | 5301 buildVideoProjectDetails() { |
| 5298 var o = new api.VideoProjectDetails(); | 5302 var o = new api.VideoProjectDetails(); |
| 5299 buildCounterVideoProjectDetails++; | 5303 buildCounterVideoProjectDetails++; |
| 5300 if (buildCounterVideoProjectDetails < 3) { | 5304 if (buildCounterVideoProjectDetails < 3) { |
| 5301 o.tags = buildUnnamed792(); | 5305 o.tags = buildUnnamed532(); |
| 5302 } | 5306 } |
| 5303 buildCounterVideoProjectDetails--; | 5307 buildCounterVideoProjectDetails--; |
| 5304 return o; | 5308 return o; |
| 5305 } | 5309 } |
| 5306 | 5310 |
| 5307 checkVideoProjectDetails(api.VideoProjectDetails o) { | 5311 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 5308 buildCounterVideoProjectDetails++; | 5312 buildCounterVideoProjectDetails++; |
| 5309 if (buildCounterVideoProjectDetails < 3) { | 5313 if (buildCounterVideoProjectDetails < 3) { |
| 5310 checkUnnamed792(o.tags); | 5314 checkUnnamed532(o.tags); |
| 5311 } | 5315 } |
| 5312 buildCounterVideoProjectDetails--; | 5316 buildCounterVideoProjectDetails--; |
| 5313 } | 5317 } |
| 5314 | 5318 |
| 5315 core.int buildCounterVideoRating = 0; | 5319 core.int buildCounterVideoRating = 0; |
| 5316 buildVideoRating() { | 5320 buildVideoRating() { |
| 5317 var o = new api.VideoRating(); | 5321 var o = new api.VideoRating(); |
| 5318 buildCounterVideoRating++; | 5322 buildCounterVideoRating++; |
| 5319 if (buildCounterVideoRating < 3) { | 5323 if (buildCounterVideoRating < 3) { |
| 5320 o.rating = "foo"; | 5324 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 5349 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 5353 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 5350 buildCounterVideoRecordingDetails++; | 5354 buildCounterVideoRecordingDetails++; |
| 5351 if (buildCounterVideoRecordingDetails < 3) { | 5355 if (buildCounterVideoRecordingDetails < 3) { |
| 5352 checkGeoPoint(o.location); | 5356 checkGeoPoint(o.location); |
| 5353 unittest.expect(o.locationDescription, unittest.equals('foo')); | 5357 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 5354 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 5358 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 5355 } | 5359 } |
| 5356 buildCounterVideoRecordingDetails--; | 5360 buildCounterVideoRecordingDetails--; |
| 5357 } | 5361 } |
| 5358 | 5362 |
| 5359 buildUnnamed793() { | 5363 buildUnnamed533() { |
| 5360 var o = new core.List<core.String>(); | 5364 var o = new core.List<core.String>(); |
| 5361 o.add("foo"); | 5365 o.add("foo"); |
| 5362 o.add("foo"); | 5366 o.add("foo"); |
| 5363 return o; | 5367 return o; |
| 5364 } | 5368 } |
| 5365 | 5369 |
| 5366 checkUnnamed793(core.List<core.String> o) { | 5370 checkUnnamed533(core.List<core.String> o) { |
| 5367 unittest.expect(o, unittest.hasLength(2)); | 5371 unittest.expect(o, unittest.hasLength(2)); |
| 5368 unittest.expect(o[0], unittest.equals('foo')); | 5372 unittest.expect(o[0], unittest.equals('foo')); |
| 5369 unittest.expect(o[1], unittest.equals('foo')); | 5373 unittest.expect(o[1], unittest.equals('foo')); |
| 5370 } | 5374 } |
| 5371 | 5375 |
| 5372 core.int buildCounterVideoSnippet = 0; | 5376 core.int buildCounterVideoSnippet = 0; |
| 5373 buildVideoSnippet() { | 5377 buildVideoSnippet() { |
| 5374 var o = new api.VideoSnippet(); | 5378 var o = new api.VideoSnippet(); |
| 5375 buildCounterVideoSnippet++; | 5379 buildCounterVideoSnippet++; |
| 5376 if (buildCounterVideoSnippet < 3) { | 5380 if (buildCounterVideoSnippet < 3) { |
| 5377 o.categoryId = "foo"; | 5381 o.categoryId = "foo"; |
| 5378 o.channelId = "foo"; | 5382 o.channelId = "foo"; |
| 5379 o.channelTitle = "foo"; | 5383 o.channelTitle = "foo"; |
| 5380 o.defaultAudioLanguage = "foo"; | 5384 o.defaultAudioLanguage = "foo"; |
| 5381 o.defaultLanguage = "foo"; | 5385 o.defaultLanguage = "foo"; |
| 5382 o.description = "foo"; | 5386 o.description = "foo"; |
| 5383 o.liveBroadcastContent = "foo"; | 5387 o.liveBroadcastContent = "foo"; |
| 5384 o.localized = buildVideoLocalization(); | 5388 o.localized = buildVideoLocalization(); |
| 5385 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 5389 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 5386 o.tags = buildUnnamed793(); | 5390 o.tags = buildUnnamed533(); |
| 5387 o.thumbnails = buildThumbnailDetails(); | 5391 o.thumbnails = buildThumbnailDetails(); |
| 5388 o.title = "foo"; | 5392 o.title = "foo"; |
| 5389 } | 5393 } |
| 5390 buildCounterVideoSnippet--; | 5394 buildCounterVideoSnippet--; |
| 5391 return o; | 5395 return o; |
| 5392 } | 5396 } |
| 5393 | 5397 |
| 5394 checkVideoSnippet(api.VideoSnippet o) { | 5398 checkVideoSnippet(api.VideoSnippet o) { |
| 5395 buildCounterVideoSnippet++; | 5399 buildCounterVideoSnippet++; |
| 5396 if (buildCounterVideoSnippet < 3) { | 5400 if (buildCounterVideoSnippet < 3) { |
| 5397 unittest.expect(o.categoryId, unittest.equals('foo')); | 5401 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 5398 unittest.expect(o.channelId, unittest.equals('foo')); | 5402 unittest.expect(o.channelId, unittest.equals('foo')); |
| 5399 unittest.expect(o.channelTitle, unittest.equals('foo')); | 5403 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 5400 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 5404 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
| 5401 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 5405 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 5402 unittest.expect(o.description, unittest.equals('foo')); | 5406 unittest.expect(o.description, unittest.equals('foo')); |
| 5403 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 5407 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 5404 checkVideoLocalization(o.localized); | 5408 checkVideoLocalization(o.localized); |
| 5405 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 5409 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 5406 checkUnnamed793(o.tags); | 5410 checkUnnamed533(o.tags); |
| 5407 checkThumbnailDetails(o.thumbnails); | 5411 checkThumbnailDetails(o.thumbnails); |
| 5408 unittest.expect(o.title, unittest.equals('foo')); | 5412 unittest.expect(o.title, unittest.equals('foo')); |
| 5409 } | 5413 } |
| 5410 buildCounterVideoSnippet--; | 5414 buildCounterVideoSnippet--; |
| 5411 } | 5415 } |
| 5412 | 5416 |
| 5413 core.int buildCounterVideoStatistics = 0; | 5417 core.int buildCounterVideoStatistics = 0; |
| 5414 buildVideoStatistics() { | 5418 buildVideoStatistics() { |
| 5415 var o = new api.VideoStatistics(); | 5419 var o = new api.VideoStatistics(); |
| 5416 buildCounterVideoStatistics++; | 5420 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5463 unittest.expect(o.license, unittest.equals('foo')); | 5467 unittest.expect(o.license, unittest.equals('foo')); |
| 5464 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 5468 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 5465 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 5469 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 5466 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 5470 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 5467 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 5471 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 5468 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 5472 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 5469 } | 5473 } |
| 5470 buildCounterVideoStatus--; | 5474 buildCounterVideoStatus--; |
| 5471 } | 5475 } |
| 5472 | 5476 |
| 5473 buildUnnamed794() { | 5477 buildUnnamed534() { |
| 5474 var o = new core.List<core.String>(); | 5478 var o = new core.List<core.String>(); |
| 5475 o.add("foo"); | 5479 o.add("foo"); |
| 5476 o.add("foo"); | 5480 o.add("foo"); |
| 5477 return o; | 5481 return o; |
| 5478 } | 5482 } |
| 5479 | 5483 |
| 5480 checkUnnamed794(core.List<core.String> o) { | 5484 checkUnnamed534(core.List<core.String> o) { |
| 5481 unittest.expect(o, unittest.hasLength(2)); | 5485 unittest.expect(o, unittest.hasLength(2)); |
| 5482 unittest.expect(o[0], unittest.equals('foo')); | 5486 unittest.expect(o[0], unittest.equals('foo')); |
| 5483 unittest.expect(o[1], unittest.equals('foo')); | 5487 unittest.expect(o[1], unittest.equals('foo')); |
| 5484 } | 5488 } |
| 5485 | 5489 |
| 5486 buildUnnamed795() { | 5490 buildUnnamed535() { |
| 5487 var o = new core.List<core.String>(); | 5491 var o = new core.List<core.String>(); |
| 5488 o.add("foo"); | 5492 o.add("foo"); |
| 5489 o.add("foo"); | 5493 o.add("foo"); |
| 5490 return o; | 5494 return o; |
| 5491 } | 5495 } |
| 5492 | 5496 |
| 5493 checkUnnamed795(core.List<core.String> o) { | 5497 checkUnnamed535(core.List<core.String> o) { |
| 5494 unittest.expect(o, unittest.hasLength(2)); | 5498 unittest.expect(o, unittest.hasLength(2)); |
| 5495 unittest.expect(o[0], unittest.equals('foo')); | 5499 unittest.expect(o[0], unittest.equals('foo')); |
| 5496 unittest.expect(o[1], unittest.equals('foo')); | 5500 unittest.expect(o[1], unittest.equals('foo')); |
| 5497 } | 5501 } |
| 5498 | 5502 |
| 5499 buildUnnamed796() { | 5503 buildUnnamed536() { |
| 5500 var o = new core.List<core.String>(); | 5504 var o = new core.List<core.String>(); |
| 5501 o.add("foo"); | 5505 o.add("foo"); |
| 5502 o.add("foo"); | 5506 o.add("foo"); |
| 5503 return o; | 5507 return o; |
| 5504 } | 5508 } |
| 5505 | 5509 |
| 5506 checkUnnamed796(core.List<core.String> o) { | 5510 checkUnnamed536(core.List<core.String> o) { |
| 5507 unittest.expect(o, unittest.hasLength(2)); | 5511 unittest.expect(o, unittest.hasLength(2)); |
| 5508 unittest.expect(o[0], unittest.equals('foo')); | 5512 unittest.expect(o[0], unittest.equals('foo')); |
| 5509 unittest.expect(o[1], unittest.equals('foo')); | 5513 unittest.expect(o[1], unittest.equals('foo')); |
| 5510 } | 5514 } |
| 5511 | 5515 |
| 5512 buildUnnamed797() { | 5516 buildUnnamed537() { |
| 5513 var o = new core.List<core.String>(); | 5517 var o = new core.List<core.String>(); |
| 5514 o.add("foo"); | 5518 o.add("foo"); |
| 5515 o.add("foo"); | 5519 o.add("foo"); |
| 5516 return o; | 5520 return o; |
| 5517 } | 5521 } |
| 5518 | 5522 |
| 5519 checkUnnamed797(core.List<core.String> o) { | 5523 checkUnnamed537(core.List<core.String> o) { |
| 5520 unittest.expect(o, unittest.hasLength(2)); | 5524 unittest.expect(o, unittest.hasLength(2)); |
| 5521 unittest.expect(o[0], unittest.equals('foo')); | 5525 unittest.expect(o[0], unittest.equals('foo')); |
| 5522 unittest.expect(o[1], unittest.equals('foo')); | 5526 unittest.expect(o[1], unittest.equals('foo')); |
| 5523 } | 5527 } |
| 5524 | 5528 |
| 5525 buildUnnamed798() { | 5529 buildUnnamed538() { |
| 5526 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 5530 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 5527 o.add(buildVideoSuggestionsTagSuggestion()); | 5531 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5528 o.add(buildVideoSuggestionsTagSuggestion()); | 5532 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5529 return o; | 5533 return o; |
| 5530 } | 5534 } |
| 5531 | 5535 |
| 5532 checkUnnamed798(core.List<api.VideoSuggestionsTagSuggestion> o) { | 5536 checkUnnamed538(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 5533 unittest.expect(o, unittest.hasLength(2)); | 5537 unittest.expect(o, unittest.hasLength(2)); |
| 5534 checkVideoSuggestionsTagSuggestion(o[0]); | 5538 checkVideoSuggestionsTagSuggestion(o[0]); |
| 5535 checkVideoSuggestionsTagSuggestion(o[1]); | 5539 checkVideoSuggestionsTagSuggestion(o[1]); |
| 5536 } | 5540 } |
| 5537 | 5541 |
| 5538 core.int buildCounterVideoSuggestions = 0; | 5542 core.int buildCounterVideoSuggestions = 0; |
| 5539 buildVideoSuggestions() { | 5543 buildVideoSuggestions() { |
| 5540 var o = new api.VideoSuggestions(); | 5544 var o = new api.VideoSuggestions(); |
| 5541 buildCounterVideoSuggestions++; | 5545 buildCounterVideoSuggestions++; |
| 5542 if (buildCounterVideoSuggestions < 3) { | 5546 if (buildCounterVideoSuggestions < 3) { |
| 5543 o.editorSuggestions = buildUnnamed794(); | 5547 o.editorSuggestions = buildUnnamed534(); |
| 5544 o.processingErrors = buildUnnamed795(); | 5548 o.processingErrors = buildUnnamed535(); |
| 5545 o.processingHints = buildUnnamed796(); | 5549 o.processingHints = buildUnnamed536(); |
| 5546 o.processingWarnings = buildUnnamed797(); | 5550 o.processingWarnings = buildUnnamed537(); |
| 5547 o.tagSuggestions = buildUnnamed798(); | 5551 o.tagSuggestions = buildUnnamed538(); |
| 5548 } | 5552 } |
| 5549 buildCounterVideoSuggestions--; | 5553 buildCounterVideoSuggestions--; |
| 5550 return o; | 5554 return o; |
| 5551 } | 5555 } |
| 5552 | 5556 |
| 5553 checkVideoSuggestions(api.VideoSuggestions o) { | 5557 checkVideoSuggestions(api.VideoSuggestions o) { |
| 5554 buildCounterVideoSuggestions++; | 5558 buildCounterVideoSuggestions++; |
| 5555 if (buildCounterVideoSuggestions < 3) { | 5559 if (buildCounterVideoSuggestions < 3) { |
| 5556 checkUnnamed794(o.editorSuggestions); | 5560 checkUnnamed534(o.editorSuggestions); |
| 5557 checkUnnamed795(o.processingErrors); | 5561 checkUnnamed535(o.processingErrors); |
| 5558 checkUnnamed796(o.processingHints); | 5562 checkUnnamed536(o.processingHints); |
| 5559 checkUnnamed797(o.processingWarnings); | 5563 checkUnnamed537(o.processingWarnings); |
| 5560 checkUnnamed798(o.tagSuggestions); | 5564 checkUnnamed538(o.tagSuggestions); |
| 5561 } | 5565 } |
| 5562 buildCounterVideoSuggestions--; | 5566 buildCounterVideoSuggestions--; |
| 5563 } | 5567 } |
| 5564 | 5568 |
| 5565 buildUnnamed799() { | 5569 buildUnnamed539() { |
| 5566 var o = new core.List<core.String>(); | 5570 var o = new core.List<core.String>(); |
| 5567 o.add("foo"); | 5571 o.add("foo"); |
| 5568 o.add("foo"); | 5572 o.add("foo"); |
| 5569 return o; | 5573 return o; |
| 5570 } | 5574 } |
| 5571 | 5575 |
| 5572 checkUnnamed799(core.List<core.String> o) { | 5576 checkUnnamed539(core.List<core.String> o) { |
| 5573 unittest.expect(o, unittest.hasLength(2)); | 5577 unittest.expect(o, unittest.hasLength(2)); |
| 5574 unittest.expect(o[0], unittest.equals('foo')); | 5578 unittest.expect(o[0], unittest.equals('foo')); |
| 5575 unittest.expect(o[1], unittest.equals('foo')); | 5579 unittest.expect(o[1], unittest.equals('foo')); |
| 5576 } | 5580 } |
| 5577 | 5581 |
| 5578 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 5582 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 5579 buildVideoSuggestionsTagSuggestion() { | 5583 buildVideoSuggestionsTagSuggestion() { |
| 5580 var o = new api.VideoSuggestionsTagSuggestion(); | 5584 var o = new api.VideoSuggestionsTagSuggestion(); |
| 5581 buildCounterVideoSuggestionsTagSuggestion++; | 5585 buildCounterVideoSuggestionsTagSuggestion++; |
| 5582 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5586 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5583 o.categoryRestricts = buildUnnamed799(); | 5587 o.categoryRestricts = buildUnnamed539(); |
| 5584 o.tag = "foo"; | 5588 o.tag = "foo"; |
| 5585 } | 5589 } |
| 5586 buildCounterVideoSuggestionsTagSuggestion--; | 5590 buildCounterVideoSuggestionsTagSuggestion--; |
| 5587 return o; | 5591 return o; |
| 5588 } | 5592 } |
| 5589 | 5593 |
| 5590 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 5594 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 5591 buildCounterVideoSuggestionsTagSuggestion++; | 5595 buildCounterVideoSuggestionsTagSuggestion++; |
| 5592 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5596 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5593 checkUnnamed799(o.categoryRestricts); | 5597 checkUnnamed539(o.categoryRestricts); |
| 5594 unittest.expect(o.tag, unittest.equals('foo')); | 5598 unittest.expect(o.tag, unittest.equals('foo')); |
| 5595 } | 5599 } |
| 5596 buildCounterVideoSuggestionsTagSuggestion--; | 5600 buildCounterVideoSuggestionsTagSuggestion--; |
| 5597 } | 5601 } |
| 5598 | 5602 |
| 5599 buildUnnamed800() { | 5603 buildUnnamed540() { |
| 5600 var o = new core.List<core.String>(); | 5604 var o = new core.List<core.String>(); |
| 5601 o.add("foo"); | 5605 o.add("foo"); |
| 5602 o.add("foo"); | 5606 o.add("foo"); |
| 5603 return o; | 5607 return o; |
| 5604 } | 5608 } |
| 5605 | 5609 |
| 5606 checkUnnamed800(core.List<core.String> o) { | 5610 checkUnnamed540(core.List<core.String> o) { |
| 5607 unittest.expect(o, unittest.hasLength(2)); | 5611 unittest.expect(o, unittest.hasLength(2)); |
| 5608 unittest.expect(o[0], unittest.equals('foo')); | 5612 unittest.expect(o[0], unittest.equals('foo')); |
| 5609 unittest.expect(o[1], unittest.equals('foo')); | 5613 unittest.expect(o[1], unittest.equals('foo')); |
| 5610 } | 5614 } |
| 5611 | 5615 |
| 5612 buildUnnamed801() { | 5616 buildUnnamed541() { |
| 5613 var o = new core.List<core.String>(); | 5617 var o = new core.List<core.String>(); |
| 5614 o.add("foo"); | 5618 o.add("foo"); |
| 5615 o.add("foo"); | 5619 o.add("foo"); |
| 5616 return o; | 5620 return o; |
| 5617 } | 5621 } |
| 5618 | 5622 |
| 5619 checkUnnamed801(core.List<core.String> o) { | 5623 checkUnnamed541(core.List<core.String> o) { |
| 5620 unittest.expect(o, unittest.hasLength(2)); | 5624 unittest.expect(o, unittest.hasLength(2)); |
| 5621 unittest.expect(o[0], unittest.equals('foo')); | 5625 unittest.expect(o[0], unittest.equals('foo')); |
| 5622 unittest.expect(o[1], unittest.equals('foo')); | 5626 unittest.expect(o[1], unittest.equals('foo')); |
| 5623 } | 5627 } |
| 5624 | 5628 |
| 5625 core.int buildCounterVideoTopicDetails = 0; | 5629 core.int buildCounterVideoTopicDetails = 0; |
| 5626 buildVideoTopicDetails() { | 5630 buildVideoTopicDetails() { |
| 5627 var o = new api.VideoTopicDetails(); | 5631 var o = new api.VideoTopicDetails(); |
| 5628 buildCounterVideoTopicDetails++; | 5632 buildCounterVideoTopicDetails++; |
| 5629 if (buildCounterVideoTopicDetails < 3) { | 5633 if (buildCounterVideoTopicDetails < 3) { |
| 5630 o.relevantTopicIds = buildUnnamed800(); | 5634 o.relevantTopicIds = buildUnnamed540(); |
| 5631 o.topicIds = buildUnnamed801(); | 5635 o.topicIds = buildUnnamed541(); |
| 5632 } | 5636 } |
| 5633 buildCounterVideoTopicDetails--; | 5637 buildCounterVideoTopicDetails--; |
| 5634 return o; | 5638 return o; |
| 5635 } | 5639 } |
| 5636 | 5640 |
| 5637 checkVideoTopicDetails(api.VideoTopicDetails o) { | 5641 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 5638 buildCounterVideoTopicDetails++; | 5642 buildCounterVideoTopicDetails++; |
| 5639 if (buildCounterVideoTopicDetails < 3) { | 5643 if (buildCounterVideoTopicDetails < 3) { |
| 5640 checkUnnamed800(o.relevantTopicIds); | 5644 checkUnnamed540(o.relevantTopicIds); |
| 5641 checkUnnamed801(o.topicIds); | 5645 checkUnnamed541(o.topicIds); |
| 5642 } | 5646 } |
| 5643 buildCounterVideoTopicDetails--; | 5647 buildCounterVideoTopicDetails--; |
| 5644 } | 5648 } |
| 5645 | 5649 |
| 5646 core.int buildCounterWatchSettings = 0; | 5650 core.int buildCounterWatchSettings = 0; |
| 5647 buildWatchSettings() { | 5651 buildWatchSettings() { |
| 5648 var o = new api.WatchSettings(); | 5652 var o = new api.WatchSettings(); |
| 5649 buildCounterWatchSettings++; | 5653 buildCounterWatchSettings++; |
| 5650 if (buildCounterWatchSettings < 3) { | 5654 if (buildCounterWatchSettings < 3) { |
| 5651 o.backgroundColor = "foo"; | 5655 o.backgroundColor = "foo"; |
| (...skipping 5524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11176 return new async.Future.value(stringResponse(200, h, resp)); | 11180 return new async.Future.value(stringResponse(200, h, resp)); |
| 11177 }), true); | 11181 }), true); |
| 11178 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 11182 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 11179 }); | 11183 }); |
| 11180 | 11184 |
| 11181 }); | 11185 }); |
| 11182 | 11186 |
| 11183 | 11187 |
| 11184 } | 11188 } |
| 11185 | 11189 |
| OLD | NEW |