| 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 buildUnnamed617() { | 54 buildUnnamed876() { |
| 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 checkUnnamed617(core.List<core.String> o) { | 61 checkUnnamed876(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 = buildUnnamed617(); | 73 o.exception = buildUnnamed876(); |
| 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 checkUnnamed617(o.exception); | 83 checkUnnamed876(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 buildUnnamed618() { | 272 buildUnnamed877() { |
| 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 checkUnnamed618(core.List<core.String> o) { | 279 checkUnnamed877(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 buildUnnamed619() { | 285 buildUnnamed878() { |
| 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 checkUnnamed619(core.List<core.String> o) { | 292 checkUnnamed878(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 = buildUnnamed618(); | 310 o.forecastingUrl = buildUnnamed877(); |
| 311 o.impressionUrl = buildUnnamed619(); | 311 o.impressionUrl = buildUnnamed878(); |
| 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 checkUnnamed618(o.forecastingUrl); | 328 checkUnnamed877(o.forecastingUrl); |
| 329 checkUnnamed619(o.impressionUrl); | 329 checkUnnamed878(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 buildUnnamed620() { | 423 buildUnnamed879() { |
| 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 checkUnnamed620(core.List<api.Activity> o) { | 430 checkUnnamed879(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 = buildUnnamed620(); | 443 o.items = buildUnnamed879(); |
| 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 checkUnnamed620(o.items); | 460 checkUnnamed879(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 buildUnnamed621() { | 529 buildUnnamed880() { |
| 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 checkUnnamed621(core.List<api.Caption> o) { | 536 checkUnnamed880(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 = buildUnnamed621(); | 549 o.items = buildUnnamed880(); |
| 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 checkUnnamed621(o.items); | 562 checkUnnamed880(o.items); |
| 563 unittest.expect(o.kind, unittest.equals('foo')); | 563 unittest.expect(o.kind, unittest.equals('foo')); |
| 564 unittest.expect(o.visitorId, unittest.equals('foo')); | 564 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 565 } | 565 } |
| 566 buildCounterCaptionListResponse--; | 566 buildCounterCaptionListResponse--; |
| 567 } | 567 } |
| 568 | 568 |
| 569 core.int buildCounterCaptionSnippet = 0; | 569 core.int buildCounterCaptionSnippet = 0; |
| 570 buildCaptionSnippet() { | 570 buildCaptionSnippet() { |
| 571 var o = new api.CaptionSnippet(); | 571 var o = new api.CaptionSnippet(); |
| 572 buildCounterCaptionSnippet++; | 572 buildCounterCaptionSnippet++; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 checkCdnSettings(api.CdnSettings o) { | 625 checkCdnSettings(api.CdnSettings o) { |
| 626 buildCounterCdnSettings++; | 626 buildCounterCdnSettings++; |
| 627 if (buildCounterCdnSettings < 3) { | 627 if (buildCounterCdnSettings < 3) { |
| 628 unittest.expect(o.format, unittest.equals('foo')); | 628 unittest.expect(o.format, unittest.equals('foo')); |
| 629 checkIngestionInfo(o.ingestionInfo); | 629 checkIngestionInfo(o.ingestionInfo); |
| 630 unittest.expect(o.ingestionType, unittest.equals('foo')); | 630 unittest.expect(o.ingestionType, unittest.equals('foo')); |
| 631 } | 631 } |
| 632 buildCounterCdnSettings--; | 632 buildCounterCdnSettings--; |
| 633 } | 633 } |
| 634 | 634 |
| 635 buildUnnamed622() { | 635 buildUnnamed881() { |
| 636 var o = new core.Map<core.String, api.ChannelLocalization>(); | 636 var o = new core.Map<core.String, api.ChannelLocalization>(); |
| 637 o["x"] = buildChannelLocalization(); | 637 o["x"] = buildChannelLocalization(); |
| 638 o["y"] = buildChannelLocalization(); | 638 o["y"] = buildChannelLocalization(); |
| 639 return o; | 639 return o; |
| 640 } | 640 } |
| 641 | 641 |
| 642 checkUnnamed622(core.Map<core.String, api.ChannelLocalization> o) { | 642 checkUnnamed881(core.Map<core.String, api.ChannelLocalization> o) { |
| 643 unittest.expect(o, unittest.hasLength(2)); | 643 unittest.expect(o, unittest.hasLength(2)); |
| 644 checkChannelLocalization(o["x"]); | 644 checkChannelLocalization(o["x"]); |
| 645 checkChannelLocalization(o["y"]); | 645 checkChannelLocalization(o["y"]); |
| 646 } | 646 } |
| 647 | 647 |
| 648 core.int buildCounterChannel = 0; | 648 core.int buildCounterChannel = 0; |
| 649 buildChannel() { | 649 buildChannel() { |
| 650 var o = new api.Channel(); | 650 var o = new api.Channel(); |
| 651 buildCounterChannel++; | 651 buildCounterChannel++; |
| 652 if (buildCounterChannel < 3) { | 652 if (buildCounterChannel < 3) { |
| 653 o.auditDetails = buildChannelAuditDetails(); | 653 o.auditDetails = buildChannelAuditDetails(); |
| 654 o.brandingSettings = buildChannelBrandingSettings(); | 654 o.brandingSettings = buildChannelBrandingSettings(); |
| 655 o.contentDetails = buildChannelContentDetails(); | 655 o.contentDetails = buildChannelContentDetails(); |
| 656 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 656 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
| 657 o.conversionPings = buildChannelConversionPings(); | 657 o.conversionPings = buildChannelConversionPings(); |
| 658 o.etag = "foo"; | 658 o.etag = "foo"; |
| 659 o.id = "foo"; | 659 o.id = "foo"; |
| 660 o.invideoPromotion = buildInvideoPromotion(); | 660 o.invideoPromotion = buildInvideoPromotion(); |
| 661 o.kind = "foo"; | 661 o.kind = "foo"; |
| 662 o.localizations = buildUnnamed622(); | 662 o.localizations = buildUnnamed881(); |
| 663 o.snippet = buildChannelSnippet(); | 663 o.snippet = buildChannelSnippet(); |
| 664 o.statistics = buildChannelStatistics(); | 664 o.statistics = buildChannelStatistics(); |
| 665 o.status = buildChannelStatus(); | 665 o.status = buildChannelStatus(); |
| 666 o.topicDetails = buildChannelTopicDetails(); | 666 o.topicDetails = buildChannelTopicDetails(); |
| 667 } | 667 } |
| 668 buildCounterChannel--; | 668 buildCounterChannel--; |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkChannel(api.Channel o) { | 672 checkChannel(api.Channel o) { |
| 673 buildCounterChannel++; | 673 buildCounterChannel++; |
| 674 if (buildCounterChannel < 3) { | 674 if (buildCounterChannel < 3) { |
| 675 checkChannelAuditDetails(o.auditDetails); | 675 checkChannelAuditDetails(o.auditDetails); |
| 676 checkChannelBrandingSettings(o.brandingSettings); | 676 checkChannelBrandingSettings(o.brandingSettings); |
| 677 checkChannelContentDetails(o.contentDetails); | 677 checkChannelContentDetails(o.contentDetails); |
| 678 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 678 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
| 679 checkChannelConversionPings(o.conversionPings); | 679 checkChannelConversionPings(o.conversionPings); |
| 680 unittest.expect(o.etag, unittest.equals('foo')); | 680 unittest.expect(o.etag, unittest.equals('foo')); |
| 681 unittest.expect(o.id, unittest.equals('foo')); | 681 unittest.expect(o.id, unittest.equals('foo')); |
| 682 checkInvideoPromotion(o.invideoPromotion); | 682 checkInvideoPromotion(o.invideoPromotion); |
| 683 unittest.expect(o.kind, unittest.equals('foo')); | 683 unittest.expect(o.kind, unittest.equals('foo')); |
| 684 checkUnnamed622(o.localizations); | 684 checkUnnamed881(o.localizations); |
| 685 checkChannelSnippet(o.snippet); | 685 checkChannelSnippet(o.snippet); |
| 686 checkChannelStatistics(o.statistics); | 686 checkChannelStatistics(o.statistics); |
| 687 checkChannelStatus(o.status); | 687 checkChannelStatus(o.status); |
| 688 checkChannelTopicDetails(o.topicDetails); | 688 checkChannelTopicDetails(o.topicDetails); |
| 689 } | 689 } |
| 690 buildCounterChannel--; | 690 buildCounterChannel--; |
| 691 } | 691 } |
| 692 | 692 |
| 693 core.int buildCounterChannelAuditDetails = 0; | 693 core.int buildCounterChannelAuditDetails = 0; |
| 694 buildChannelAuditDetails() { | 694 buildChannelAuditDetails() { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 checkChannelBannerResource(api.ChannelBannerResource o) { | 731 checkChannelBannerResource(api.ChannelBannerResource o) { |
| 732 buildCounterChannelBannerResource++; | 732 buildCounterChannelBannerResource++; |
| 733 if (buildCounterChannelBannerResource < 3) { | 733 if (buildCounterChannelBannerResource < 3) { |
| 734 unittest.expect(o.etag, unittest.equals('foo')); | 734 unittest.expect(o.etag, unittest.equals('foo')); |
| 735 unittest.expect(o.kind, unittest.equals('foo')); | 735 unittest.expect(o.kind, unittest.equals('foo')); |
| 736 unittest.expect(o.url, unittest.equals('foo')); | 736 unittest.expect(o.url, unittest.equals('foo')); |
| 737 } | 737 } |
| 738 buildCounterChannelBannerResource--; | 738 buildCounterChannelBannerResource--; |
| 739 } | 739 } |
| 740 | 740 |
| 741 buildUnnamed623() { | 741 buildUnnamed882() { |
| 742 var o = new core.List<api.PropertyValue>(); | 742 var o = new core.List<api.PropertyValue>(); |
| 743 o.add(buildPropertyValue()); | 743 o.add(buildPropertyValue()); |
| 744 o.add(buildPropertyValue()); | 744 o.add(buildPropertyValue()); |
| 745 return o; | 745 return o; |
| 746 } | 746 } |
| 747 | 747 |
| 748 checkUnnamed623(core.List<api.PropertyValue> o) { | 748 checkUnnamed882(core.List<api.PropertyValue> o) { |
| 749 unittest.expect(o, unittest.hasLength(2)); | 749 unittest.expect(o, unittest.hasLength(2)); |
| 750 checkPropertyValue(o[0]); | 750 checkPropertyValue(o[0]); |
| 751 checkPropertyValue(o[1]); | 751 checkPropertyValue(o[1]); |
| 752 } | 752 } |
| 753 | 753 |
| 754 core.int buildCounterChannelBrandingSettings = 0; | 754 core.int buildCounterChannelBrandingSettings = 0; |
| 755 buildChannelBrandingSettings() { | 755 buildChannelBrandingSettings() { |
| 756 var o = new api.ChannelBrandingSettings(); | 756 var o = new api.ChannelBrandingSettings(); |
| 757 buildCounterChannelBrandingSettings++; | 757 buildCounterChannelBrandingSettings++; |
| 758 if (buildCounterChannelBrandingSettings < 3) { | 758 if (buildCounterChannelBrandingSettings < 3) { |
| 759 o.channel = buildChannelSettings(); | 759 o.channel = buildChannelSettings(); |
| 760 o.hints = buildUnnamed623(); | 760 o.hints = buildUnnamed882(); |
| 761 o.image = buildImageSettings(); | 761 o.image = buildImageSettings(); |
| 762 o.watch = buildWatchSettings(); | 762 o.watch = buildWatchSettings(); |
| 763 } | 763 } |
| 764 buildCounterChannelBrandingSettings--; | 764 buildCounterChannelBrandingSettings--; |
| 765 return o; | 765 return o; |
| 766 } | 766 } |
| 767 | 767 |
| 768 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 768 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
| 769 buildCounterChannelBrandingSettings++; | 769 buildCounterChannelBrandingSettings++; |
| 770 if (buildCounterChannelBrandingSettings < 3) { | 770 if (buildCounterChannelBrandingSettings < 3) { |
| 771 checkChannelSettings(o.channel); | 771 checkChannelSettings(o.channel); |
| 772 checkUnnamed623(o.hints); | 772 checkUnnamed882(o.hints); |
| 773 checkImageSettings(o.image); | 773 checkImageSettings(o.image); |
| 774 checkWatchSettings(o.watch); | 774 checkWatchSettings(o.watch); |
| 775 } | 775 } |
| 776 buildCounterChannelBrandingSettings--; | 776 buildCounterChannelBrandingSettings--; |
| 777 } | 777 } |
| 778 | 778 |
| 779 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 779 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
| 780 buildChannelContentDetailsRelatedPlaylists() { | 780 buildChannelContentDetailsRelatedPlaylists() { |
| 781 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 781 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
| 782 buildCounterChannelContentDetailsRelatedPlaylists++; | 782 buildCounterChannelContentDetailsRelatedPlaylists++; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 | 859 |
| 860 checkChannelConversionPing(api.ChannelConversionPing o) { | 860 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 861 buildCounterChannelConversionPing++; | 861 buildCounterChannelConversionPing++; |
| 862 if (buildCounterChannelConversionPing < 3) { | 862 if (buildCounterChannelConversionPing < 3) { |
| 863 unittest.expect(o.context, unittest.equals('foo')); | 863 unittest.expect(o.context, unittest.equals('foo')); |
| 864 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 864 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 865 } | 865 } |
| 866 buildCounterChannelConversionPing--; | 866 buildCounterChannelConversionPing--; |
| 867 } | 867 } |
| 868 | 868 |
| 869 buildUnnamed624() { | 869 buildUnnamed883() { |
| 870 var o = new core.List<api.ChannelConversionPing>(); | 870 var o = new core.List<api.ChannelConversionPing>(); |
| 871 o.add(buildChannelConversionPing()); | 871 o.add(buildChannelConversionPing()); |
| 872 o.add(buildChannelConversionPing()); | 872 o.add(buildChannelConversionPing()); |
| 873 return o; | 873 return o; |
| 874 } | 874 } |
| 875 | 875 |
| 876 checkUnnamed624(core.List<api.ChannelConversionPing> o) { | 876 checkUnnamed883(core.List<api.ChannelConversionPing> o) { |
| 877 unittest.expect(o, unittest.hasLength(2)); | 877 unittest.expect(o, unittest.hasLength(2)); |
| 878 checkChannelConversionPing(o[0]); | 878 checkChannelConversionPing(o[0]); |
| 879 checkChannelConversionPing(o[1]); | 879 checkChannelConversionPing(o[1]); |
| 880 } | 880 } |
| 881 | 881 |
| 882 core.int buildCounterChannelConversionPings = 0; | 882 core.int buildCounterChannelConversionPings = 0; |
| 883 buildChannelConversionPings() { | 883 buildChannelConversionPings() { |
| 884 var o = new api.ChannelConversionPings(); | 884 var o = new api.ChannelConversionPings(); |
| 885 buildCounterChannelConversionPings++; | 885 buildCounterChannelConversionPings++; |
| 886 if (buildCounterChannelConversionPings < 3) { | 886 if (buildCounterChannelConversionPings < 3) { |
| 887 o.pings = buildUnnamed624(); | 887 o.pings = buildUnnamed883(); |
| 888 } | 888 } |
| 889 buildCounterChannelConversionPings--; | 889 buildCounterChannelConversionPings--; |
| 890 return o; | 890 return o; |
| 891 } | 891 } |
| 892 | 892 |
| 893 checkChannelConversionPings(api.ChannelConversionPings o) { | 893 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 894 buildCounterChannelConversionPings++; | 894 buildCounterChannelConversionPings++; |
| 895 if (buildCounterChannelConversionPings < 3) { | 895 if (buildCounterChannelConversionPings < 3) { |
| 896 checkUnnamed624(o.pings); | 896 checkUnnamed883(o.pings); |
| 897 } | 897 } |
| 898 buildCounterChannelConversionPings--; | 898 buildCounterChannelConversionPings--; |
| 899 } | 899 } |
| 900 | 900 |
| 901 core.int buildCounterChannelId = 0; | 901 buildUnnamed884() { |
| 902 buildChannelId() { | |
| 903 var o = new api.ChannelId(); | |
| 904 buildCounterChannelId++; | |
| 905 if (buildCounterChannelId < 3) { | |
| 906 o.value = "foo"; | |
| 907 } | |
| 908 buildCounterChannelId--; | |
| 909 return o; | |
| 910 } | |
| 911 | |
| 912 checkChannelId(api.ChannelId o) { | |
| 913 buildCounterChannelId++; | |
| 914 if (buildCounterChannelId < 3) { | |
| 915 unittest.expect(o.value, unittest.equals('foo')); | |
| 916 } | |
| 917 buildCounterChannelId--; | |
| 918 } | |
| 919 | |
| 920 buildUnnamed625() { | |
| 921 var o = new core.List<api.Channel>(); | 902 var o = new core.List<api.Channel>(); |
| 922 o.add(buildChannel()); | 903 o.add(buildChannel()); |
| 923 o.add(buildChannel()); | 904 o.add(buildChannel()); |
| 924 return o; | 905 return o; |
| 925 } | 906 } |
| 926 | 907 |
| 927 checkUnnamed625(core.List<api.Channel> o) { | 908 checkUnnamed884(core.List<api.Channel> o) { |
| 928 unittest.expect(o, unittest.hasLength(2)); | 909 unittest.expect(o, unittest.hasLength(2)); |
| 929 checkChannel(o[0]); | 910 checkChannel(o[0]); |
| 930 checkChannel(o[1]); | 911 checkChannel(o[1]); |
| 931 } | 912 } |
| 932 | 913 |
| 933 core.int buildCounterChannelListResponse = 0; | 914 core.int buildCounterChannelListResponse = 0; |
| 934 buildChannelListResponse() { | 915 buildChannelListResponse() { |
| 935 var o = new api.ChannelListResponse(); | 916 var o = new api.ChannelListResponse(); |
| 936 buildCounterChannelListResponse++; | 917 buildCounterChannelListResponse++; |
| 937 if (buildCounterChannelListResponse < 3) { | 918 if (buildCounterChannelListResponse < 3) { |
| 938 o.etag = "foo"; | 919 o.etag = "foo"; |
| 939 o.eventId = "foo"; | 920 o.eventId = "foo"; |
| 940 o.items = buildUnnamed625(); | 921 o.items = buildUnnamed884(); |
| 941 o.kind = "foo"; | 922 o.kind = "foo"; |
| 942 o.nextPageToken = "foo"; | 923 o.nextPageToken = "foo"; |
| 943 o.pageInfo = buildPageInfo(); | 924 o.pageInfo = buildPageInfo(); |
| 944 o.prevPageToken = "foo"; | 925 o.prevPageToken = "foo"; |
| 945 o.tokenPagination = buildTokenPagination(); | 926 o.tokenPagination = buildTokenPagination(); |
| 946 o.visitorId = "foo"; | 927 o.visitorId = "foo"; |
| 947 } | 928 } |
| 948 buildCounterChannelListResponse--; | 929 buildCounterChannelListResponse--; |
| 949 return o; | 930 return o; |
| 950 } | 931 } |
| 951 | 932 |
| 952 checkChannelListResponse(api.ChannelListResponse o) { | 933 checkChannelListResponse(api.ChannelListResponse o) { |
| 953 buildCounterChannelListResponse++; | 934 buildCounterChannelListResponse++; |
| 954 if (buildCounterChannelListResponse < 3) { | 935 if (buildCounterChannelListResponse < 3) { |
| 955 unittest.expect(o.etag, unittest.equals('foo')); | 936 unittest.expect(o.etag, unittest.equals('foo')); |
| 956 unittest.expect(o.eventId, unittest.equals('foo')); | 937 unittest.expect(o.eventId, unittest.equals('foo')); |
| 957 checkUnnamed625(o.items); | 938 checkUnnamed884(o.items); |
| 958 unittest.expect(o.kind, unittest.equals('foo')); | 939 unittest.expect(o.kind, unittest.equals('foo')); |
| 959 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 940 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 960 checkPageInfo(o.pageInfo); | 941 checkPageInfo(o.pageInfo); |
| 961 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 942 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 962 checkTokenPagination(o.tokenPagination); | 943 checkTokenPagination(o.tokenPagination); |
| 963 unittest.expect(o.visitorId, unittest.equals('foo')); | 944 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 964 } | 945 } |
| 965 buildCounterChannelListResponse--; | 946 buildCounterChannelListResponse--; |
| 966 } | 947 } |
| 967 | 948 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 buildCounterChannelProfileDetails++; | 985 buildCounterChannelProfileDetails++; |
| 1005 if (buildCounterChannelProfileDetails < 3) { | 986 if (buildCounterChannelProfileDetails < 3) { |
| 1006 unittest.expect(o.channelId, unittest.equals('foo')); | 987 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1007 unittest.expect(o.channelUrl, unittest.equals('foo')); | 988 unittest.expect(o.channelUrl, unittest.equals('foo')); |
| 1008 unittest.expect(o.displayName, unittest.equals('foo')); | 989 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1009 unittest.expect(o.profileImageUrl, unittest.equals('foo')); | 990 unittest.expect(o.profileImageUrl, unittest.equals('foo')); |
| 1010 } | 991 } |
| 1011 buildCounterChannelProfileDetails--; | 992 buildCounterChannelProfileDetails--; |
| 1012 } | 993 } |
| 1013 | 994 |
| 1014 buildUnnamed626() { | 995 buildUnnamed885() { |
| 1015 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 996 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
| 1016 o["x"] = buildChannelSectionLocalization(); | 997 o["x"] = buildChannelSectionLocalization(); |
| 1017 o["y"] = buildChannelSectionLocalization(); | 998 o["y"] = buildChannelSectionLocalization(); |
| 1018 return o; | 999 return o; |
| 1019 } | 1000 } |
| 1020 | 1001 |
| 1021 checkUnnamed626(core.Map<core.String, api.ChannelSectionLocalization> o) { | 1002 checkUnnamed885(core.Map<core.String, api.ChannelSectionLocalization> o) { |
| 1022 unittest.expect(o, unittest.hasLength(2)); | 1003 unittest.expect(o, unittest.hasLength(2)); |
| 1023 checkChannelSectionLocalization(o["x"]); | 1004 checkChannelSectionLocalization(o["x"]); |
| 1024 checkChannelSectionLocalization(o["y"]); | 1005 checkChannelSectionLocalization(o["y"]); |
| 1025 } | 1006 } |
| 1026 | 1007 |
| 1027 core.int buildCounterChannelSection = 0; | 1008 core.int buildCounterChannelSection = 0; |
| 1028 buildChannelSection() { | 1009 buildChannelSection() { |
| 1029 var o = new api.ChannelSection(); | 1010 var o = new api.ChannelSection(); |
| 1030 buildCounterChannelSection++; | 1011 buildCounterChannelSection++; |
| 1031 if (buildCounterChannelSection < 3) { | 1012 if (buildCounterChannelSection < 3) { |
| 1032 o.contentDetails = buildChannelSectionContentDetails(); | 1013 o.contentDetails = buildChannelSectionContentDetails(); |
| 1033 o.etag = "foo"; | 1014 o.etag = "foo"; |
| 1034 o.id = "foo"; | 1015 o.id = "foo"; |
| 1035 o.kind = "foo"; | 1016 o.kind = "foo"; |
| 1036 o.localizations = buildUnnamed626(); | 1017 o.localizations = buildUnnamed885(); |
| 1037 o.snippet = buildChannelSectionSnippet(); | 1018 o.snippet = buildChannelSectionSnippet(); |
| 1038 o.targeting = buildChannelSectionTargeting(); | 1019 o.targeting = buildChannelSectionTargeting(); |
| 1039 } | 1020 } |
| 1040 buildCounterChannelSection--; | 1021 buildCounterChannelSection--; |
| 1041 return o; | 1022 return o; |
| 1042 } | 1023 } |
| 1043 | 1024 |
| 1044 checkChannelSection(api.ChannelSection o) { | 1025 checkChannelSection(api.ChannelSection o) { |
| 1045 buildCounterChannelSection++; | 1026 buildCounterChannelSection++; |
| 1046 if (buildCounterChannelSection < 3) { | 1027 if (buildCounterChannelSection < 3) { |
| 1047 checkChannelSectionContentDetails(o.contentDetails); | 1028 checkChannelSectionContentDetails(o.contentDetails); |
| 1048 unittest.expect(o.etag, unittest.equals('foo')); | 1029 unittest.expect(o.etag, unittest.equals('foo')); |
| 1049 unittest.expect(o.id, unittest.equals('foo')); | 1030 unittest.expect(o.id, unittest.equals('foo')); |
| 1050 unittest.expect(o.kind, unittest.equals('foo')); | 1031 unittest.expect(o.kind, unittest.equals('foo')); |
| 1051 checkUnnamed626(o.localizations); | 1032 checkUnnamed885(o.localizations); |
| 1052 checkChannelSectionSnippet(o.snippet); | 1033 checkChannelSectionSnippet(o.snippet); |
| 1053 checkChannelSectionTargeting(o.targeting); | 1034 checkChannelSectionTargeting(o.targeting); |
| 1054 } | 1035 } |
| 1055 buildCounterChannelSection--; | 1036 buildCounterChannelSection--; |
| 1056 } | 1037 } |
| 1057 | 1038 |
| 1058 buildUnnamed627() { | 1039 buildUnnamed886() { |
| 1059 var o = new core.List<core.String>(); | 1040 var o = new core.List<core.String>(); |
| 1060 o.add("foo"); | 1041 o.add("foo"); |
| 1061 o.add("foo"); | 1042 o.add("foo"); |
| 1062 return o; | 1043 return o; |
| 1063 } | 1044 } |
| 1064 | 1045 |
| 1065 checkUnnamed627(core.List<core.String> o) { | 1046 checkUnnamed886(core.List<core.String> o) { |
| 1066 unittest.expect(o, unittest.hasLength(2)); | 1047 unittest.expect(o, unittest.hasLength(2)); |
| 1067 unittest.expect(o[0], unittest.equals('foo')); | 1048 unittest.expect(o[0], unittest.equals('foo')); |
| 1068 unittest.expect(o[1], unittest.equals('foo')); | 1049 unittest.expect(o[1], unittest.equals('foo')); |
| 1069 } | 1050 } |
| 1070 | 1051 |
| 1071 buildUnnamed628() { | 1052 buildUnnamed887() { |
| 1072 var o = new core.List<core.String>(); | 1053 var o = new core.List<core.String>(); |
| 1073 o.add("foo"); | 1054 o.add("foo"); |
| 1074 o.add("foo"); | 1055 o.add("foo"); |
| 1075 return o; | 1056 return o; |
| 1076 } | 1057 } |
| 1077 | 1058 |
| 1078 checkUnnamed628(core.List<core.String> o) { | 1059 checkUnnamed887(core.List<core.String> o) { |
| 1079 unittest.expect(o, unittest.hasLength(2)); | 1060 unittest.expect(o, unittest.hasLength(2)); |
| 1080 unittest.expect(o[0], unittest.equals('foo')); | 1061 unittest.expect(o[0], unittest.equals('foo')); |
| 1081 unittest.expect(o[1], unittest.equals('foo')); | 1062 unittest.expect(o[1], unittest.equals('foo')); |
| 1082 } | 1063 } |
| 1083 | 1064 |
| 1084 core.int buildCounterChannelSectionContentDetails = 0; | 1065 core.int buildCounterChannelSectionContentDetails = 0; |
| 1085 buildChannelSectionContentDetails() { | 1066 buildChannelSectionContentDetails() { |
| 1086 var o = new api.ChannelSectionContentDetails(); | 1067 var o = new api.ChannelSectionContentDetails(); |
| 1087 buildCounterChannelSectionContentDetails++; | 1068 buildCounterChannelSectionContentDetails++; |
| 1088 if (buildCounterChannelSectionContentDetails < 3) { | 1069 if (buildCounterChannelSectionContentDetails < 3) { |
| 1089 o.channels = buildUnnamed627(); | 1070 o.channels = buildUnnamed886(); |
| 1090 o.playlists = buildUnnamed628(); | 1071 o.playlists = buildUnnamed887(); |
| 1091 } | 1072 } |
| 1092 buildCounterChannelSectionContentDetails--; | 1073 buildCounterChannelSectionContentDetails--; |
| 1093 return o; | 1074 return o; |
| 1094 } | 1075 } |
| 1095 | 1076 |
| 1096 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1077 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 1097 buildCounterChannelSectionContentDetails++; | 1078 buildCounterChannelSectionContentDetails++; |
| 1098 if (buildCounterChannelSectionContentDetails < 3) { | 1079 if (buildCounterChannelSectionContentDetails < 3) { |
| 1099 checkUnnamed627(o.channels); | 1080 checkUnnamed886(o.channels); |
| 1100 checkUnnamed628(o.playlists); | 1081 checkUnnamed887(o.playlists); |
| 1101 } | 1082 } |
| 1102 buildCounterChannelSectionContentDetails--; | 1083 buildCounterChannelSectionContentDetails--; |
| 1103 } | 1084 } |
| 1104 | 1085 |
| 1105 buildUnnamed629() { | 1086 buildUnnamed888() { |
| 1106 var o = new core.List<api.ChannelSection>(); | 1087 var o = new core.List<api.ChannelSection>(); |
| 1107 o.add(buildChannelSection()); | 1088 o.add(buildChannelSection()); |
| 1108 o.add(buildChannelSection()); | 1089 o.add(buildChannelSection()); |
| 1109 return o; | 1090 return o; |
| 1110 } | 1091 } |
| 1111 | 1092 |
| 1112 checkUnnamed629(core.List<api.ChannelSection> o) { | 1093 checkUnnamed888(core.List<api.ChannelSection> o) { |
| 1113 unittest.expect(o, unittest.hasLength(2)); | 1094 unittest.expect(o, unittest.hasLength(2)); |
| 1114 checkChannelSection(o[0]); | 1095 checkChannelSection(o[0]); |
| 1115 checkChannelSection(o[1]); | 1096 checkChannelSection(o[1]); |
| 1116 } | 1097 } |
| 1117 | 1098 |
| 1118 core.int buildCounterChannelSectionListResponse = 0; | 1099 core.int buildCounterChannelSectionListResponse = 0; |
| 1119 buildChannelSectionListResponse() { | 1100 buildChannelSectionListResponse() { |
| 1120 var o = new api.ChannelSectionListResponse(); | 1101 var o = new api.ChannelSectionListResponse(); |
| 1121 buildCounterChannelSectionListResponse++; | 1102 buildCounterChannelSectionListResponse++; |
| 1122 if (buildCounterChannelSectionListResponse < 3) { | 1103 if (buildCounterChannelSectionListResponse < 3) { |
| 1123 o.etag = "foo"; | 1104 o.etag = "foo"; |
| 1124 o.eventId = "foo"; | 1105 o.eventId = "foo"; |
| 1125 o.items = buildUnnamed629(); | 1106 o.items = buildUnnamed888(); |
| 1126 o.kind = "foo"; | 1107 o.kind = "foo"; |
| 1127 o.visitorId = "foo"; | 1108 o.visitorId = "foo"; |
| 1128 } | 1109 } |
| 1129 buildCounterChannelSectionListResponse--; | 1110 buildCounterChannelSectionListResponse--; |
| 1130 return o; | 1111 return o; |
| 1131 } | 1112 } |
| 1132 | 1113 |
| 1133 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1114 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 1134 buildCounterChannelSectionListResponse++; | 1115 buildCounterChannelSectionListResponse++; |
| 1135 if (buildCounterChannelSectionListResponse < 3) { | 1116 if (buildCounterChannelSectionListResponse < 3) { |
| 1136 unittest.expect(o.etag, unittest.equals('foo')); | 1117 unittest.expect(o.etag, unittest.equals('foo')); |
| 1137 unittest.expect(o.eventId, unittest.equals('foo')); | 1118 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1138 checkUnnamed629(o.items); | 1119 checkUnnamed888(o.items); |
| 1139 unittest.expect(o.kind, unittest.equals('foo')); | 1120 unittest.expect(o.kind, unittest.equals('foo')); |
| 1140 unittest.expect(o.visitorId, unittest.equals('foo')); | 1121 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1141 } | 1122 } |
| 1142 buildCounterChannelSectionListResponse--; | 1123 buildCounterChannelSectionListResponse--; |
| 1143 } | 1124 } |
| 1144 | 1125 |
| 1145 core.int buildCounterChannelSectionLocalization = 0; | 1126 core.int buildCounterChannelSectionLocalization = 0; |
| 1146 buildChannelSectionLocalization() { | 1127 buildChannelSectionLocalization() { |
| 1147 var o = new api.ChannelSectionLocalization(); | 1128 var o = new api.ChannelSectionLocalization(); |
| 1148 buildCounterChannelSectionLocalization++; | 1129 buildCounterChannelSectionLocalization++; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1185 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1166 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1186 checkChannelSectionLocalization(o.localized); | 1167 checkChannelSectionLocalization(o.localized); |
| 1187 unittest.expect(o.position, unittest.equals(42)); | 1168 unittest.expect(o.position, unittest.equals(42)); |
| 1188 unittest.expect(o.style, unittest.equals('foo')); | 1169 unittest.expect(o.style, unittest.equals('foo')); |
| 1189 unittest.expect(o.title, unittest.equals('foo')); | 1170 unittest.expect(o.title, unittest.equals('foo')); |
| 1190 unittest.expect(o.type, unittest.equals('foo')); | 1171 unittest.expect(o.type, unittest.equals('foo')); |
| 1191 } | 1172 } |
| 1192 buildCounterChannelSectionSnippet--; | 1173 buildCounterChannelSectionSnippet--; |
| 1193 } | 1174 } |
| 1194 | 1175 |
| 1195 buildUnnamed630() { | 1176 buildUnnamed889() { |
| 1196 var o = new core.List<core.String>(); | 1177 var o = new core.List<core.String>(); |
| 1197 o.add("foo"); | 1178 o.add("foo"); |
| 1198 o.add("foo"); | 1179 o.add("foo"); |
| 1199 return o; | 1180 return o; |
| 1200 } | 1181 } |
| 1201 | 1182 |
| 1202 checkUnnamed630(core.List<core.String> o) { | 1183 checkUnnamed889(core.List<core.String> o) { |
| 1203 unittest.expect(o, unittest.hasLength(2)); | 1184 unittest.expect(o, unittest.hasLength(2)); |
| 1204 unittest.expect(o[0], unittest.equals('foo')); | 1185 unittest.expect(o[0], unittest.equals('foo')); |
| 1205 unittest.expect(o[1], unittest.equals('foo')); | 1186 unittest.expect(o[1], unittest.equals('foo')); |
| 1206 } | 1187 } |
| 1207 | 1188 |
| 1208 buildUnnamed631() { | 1189 buildUnnamed890() { |
| 1209 var o = new core.List<core.String>(); | 1190 var o = new core.List<core.String>(); |
| 1210 o.add("foo"); | 1191 o.add("foo"); |
| 1211 o.add("foo"); | 1192 o.add("foo"); |
| 1212 return o; | 1193 return o; |
| 1213 } | 1194 } |
| 1214 | 1195 |
| 1215 checkUnnamed631(core.List<core.String> o) { | 1196 checkUnnamed890(core.List<core.String> o) { |
| 1216 unittest.expect(o, unittest.hasLength(2)); | 1197 unittest.expect(o, unittest.hasLength(2)); |
| 1217 unittest.expect(o[0], unittest.equals('foo')); | 1198 unittest.expect(o[0], unittest.equals('foo')); |
| 1218 unittest.expect(o[1], unittest.equals('foo')); | 1199 unittest.expect(o[1], unittest.equals('foo')); |
| 1219 } | 1200 } |
| 1220 | 1201 |
| 1221 buildUnnamed632() { | 1202 buildUnnamed891() { |
| 1222 var o = new core.List<core.String>(); | 1203 var o = new core.List<core.String>(); |
| 1223 o.add("foo"); | 1204 o.add("foo"); |
| 1224 o.add("foo"); | 1205 o.add("foo"); |
| 1225 return o; | 1206 return o; |
| 1226 } | 1207 } |
| 1227 | 1208 |
| 1228 checkUnnamed632(core.List<core.String> o) { | 1209 checkUnnamed891(core.List<core.String> o) { |
| 1229 unittest.expect(o, unittest.hasLength(2)); | 1210 unittest.expect(o, unittest.hasLength(2)); |
| 1230 unittest.expect(o[0], unittest.equals('foo')); | 1211 unittest.expect(o[0], unittest.equals('foo')); |
| 1231 unittest.expect(o[1], unittest.equals('foo')); | 1212 unittest.expect(o[1], unittest.equals('foo')); |
| 1232 } | 1213 } |
| 1233 | 1214 |
| 1234 core.int buildCounterChannelSectionTargeting = 0; | 1215 core.int buildCounterChannelSectionTargeting = 0; |
| 1235 buildChannelSectionTargeting() { | 1216 buildChannelSectionTargeting() { |
| 1236 var o = new api.ChannelSectionTargeting(); | 1217 var o = new api.ChannelSectionTargeting(); |
| 1237 buildCounterChannelSectionTargeting++; | 1218 buildCounterChannelSectionTargeting++; |
| 1238 if (buildCounterChannelSectionTargeting < 3) { | 1219 if (buildCounterChannelSectionTargeting < 3) { |
| 1239 o.countries = buildUnnamed630(); | 1220 o.countries = buildUnnamed889(); |
| 1240 o.languages = buildUnnamed631(); | 1221 o.languages = buildUnnamed890(); |
| 1241 o.regions = buildUnnamed632(); | 1222 o.regions = buildUnnamed891(); |
| 1242 } | 1223 } |
| 1243 buildCounterChannelSectionTargeting--; | 1224 buildCounterChannelSectionTargeting--; |
| 1244 return o; | 1225 return o; |
| 1245 } | 1226 } |
| 1246 | 1227 |
| 1247 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1228 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
| 1248 buildCounterChannelSectionTargeting++; | 1229 buildCounterChannelSectionTargeting++; |
| 1249 if (buildCounterChannelSectionTargeting < 3) { | 1230 if (buildCounterChannelSectionTargeting < 3) { |
| 1250 checkUnnamed630(o.countries); | 1231 checkUnnamed889(o.countries); |
| 1251 checkUnnamed631(o.languages); | 1232 checkUnnamed890(o.languages); |
| 1252 checkUnnamed632(o.regions); | 1233 checkUnnamed891(o.regions); |
| 1253 } | 1234 } |
| 1254 buildCounterChannelSectionTargeting--; | 1235 buildCounterChannelSectionTargeting--; |
| 1255 } | 1236 } |
| 1256 | 1237 |
| 1257 buildUnnamed633() { | 1238 buildUnnamed892() { |
| 1258 var o = new core.List<core.String>(); | 1239 var o = new core.List<core.String>(); |
| 1259 o.add("foo"); | 1240 o.add("foo"); |
| 1260 o.add("foo"); | 1241 o.add("foo"); |
| 1261 return o; | 1242 return o; |
| 1262 } | 1243 } |
| 1263 | 1244 |
| 1264 checkUnnamed633(core.List<core.String> o) { | 1245 checkUnnamed892(core.List<core.String> o) { |
| 1265 unittest.expect(o, unittest.hasLength(2)); | 1246 unittest.expect(o, unittest.hasLength(2)); |
| 1266 unittest.expect(o[0], unittest.equals('foo')); | 1247 unittest.expect(o[0], unittest.equals('foo')); |
| 1267 unittest.expect(o[1], unittest.equals('foo')); | 1248 unittest.expect(o[1], unittest.equals('foo')); |
| 1268 } | 1249 } |
| 1269 | 1250 |
| 1270 core.int buildCounterChannelSettings = 0; | 1251 core.int buildCounterChannelSettings = 0; |
| 1271 buildChannelSettings() { | 1252 buildChannelSettings() { |
| 1272 var o = new api.ChannelSettings(); | 1253 var o = new api.ChannelSettings(); |
| 1273 buildCounterChannelSettings++; | 1254 buildCounterChannelSettings++; |
| 1274 if (buildCounterChannelSettings < 3) { | 1255 if (buildCounterChannelSettings < 3) { |
| 1275 o.country = "foo"; | 1256 o.country = "foo"; |
| 1276 o.defaultLanguage = "foo"; | 1257 o.defaultLanguage = "foo"; |
| 1277 o.defaultTab = "foo"; | 1258 o.defaultTab = "foo"; |
| 1278 o.description = "foo"; | 1259 o.description = "foo"; |
| 1279 o.featuredChannelsTitle = "foo"; | 1260 o.featuredChannelsTitle = "foo"; |
| 1280 o.featuredChannelsUrls = buildUnnamed633(); | 1261 o.featuredChannelsUrls = buildUnnamed892(); |
| 1281 o.keywords = "foo"; | 1262 o.keywords = "foo"; |
| 1282 o.moderateComments = true; | 1263 o.moderateComments = true; |
| 1283 o.profileColor = "foo"; | 1264 o.profileColor = "foo"; |
| 1284 o.showBrowseView = true; | 1265 o.showBrowseView = true; |
| 1285 o.showRelatedChannels = true; | 1266 o.showRelatedChannels = true; |
| 1286 o.title = "foo"; | 1267 o.title = "foo"; |
| 1287 o.trackingAnalyticsAccountId = "foo"; | 1268 o.trackingAnalyticsAccountId = "foo"; |
| 1288 o.unsubscribedTrailer = "foo"; | 1269 o.unsubscribedTrailer = "foo"; |
| 1289 } | 1270 } |
| 1290 buildCounterChannelSettings--; | 1271 buildCounterChannelSettings--; |
| 1291 return o; | 1272 return o; |
| 1292 } | 1273 } |
| 1293 | 1274 |
| 1294 checkChannelSettings(api.ChannelSettings o) { | 1275 checkChannelSettings(api.ChannelSettings o) { |
| 1295 buildCounterChannelSettings++; | 1276 buildCounterChannelSettings++; |
| 1296 if (buildCounterChannelSettings < 3) { | 1277 if (buildCounterChannelSettings < 3) { |
| 1297 unittest.expect(o.country, unittest.equals('foo')); | 1278 unittest.expect(o.country, unittest.equals('foo')); |
| 1298 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1279 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1299 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1280 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 1300 unittest.expect(o.description, unittest.equals('foo')); | 1281 unittest.expect(o.description, unittest.equals('foo')); |
| 1301 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1282 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 1302 checkUnnamed633(o.featuredChannelsUrls); | 1283 checkUnnamed892(o.featuredChannelsUrls); |
| 1303 unittest.expect(o.keywords, unittest.equals('foo')); | 1284 unittest.expect(o.keywords, unittest.equals('foo')); |
| 1304 unittest.expect(o.moderateComments, unittest.isTrue); | 1285 unittest.expect(o.moderateComments, unittest.isTrue); |
| 1305 unittest.expect(o.profileColor, unittest.equals('foo')); | 1286 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 1306 unittest.expect(o.showBrowseView, unittest.isTrue); | 1287 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 1307 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1288 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 1308 unittest.expect(o.title, unittest.equals('foo')); | 1289 unittest.expect(o.title, unittest.equals('foo')); |
| 1309 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1290 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 1310 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1291 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 1311 } | 1292 } |
| 1312 buildCounterChannelSettings--; | 1293 buildCounterChannelSettings--; |
| 1313 } | 1294 } |
| 1314 | 1295 |
| 1315 core.int buildCounterChannelSnippet = 0; | 1296 core.int buildCounterChannelSnippet = 0; |
| 1316 buildChannelSnippet() { | 1297 buildChannelSnippet() { |
| 1317 var o = new api.ChannelSnippet(); | 1298 var o = new api.ChannelSnippet(); |
| 1318 buildCounterChannelSnippet++; | 1299 buildCounterChannelSnippet++; |
| 1319 if (buildCounterChannelSnippet < 3) { | 1300 if (buildCounterChannelSnippet < 3) { |
| 1320 o.country = "foo"; | 1301 o.country = "foo"; |
| 1302 o.customUrl = "foo"; |
| 1321 o.defaultLanguage = "foo"; | 1303 o.defaultLanguage = "foo"; |
| 1322 o.description = "foo"; | 1304 o.description = "foo"; |
| 1323 o.localized = buildChannelLocalization(); | 1305 o.localized = buildChannelLocalization(); |
| 1324 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 1306 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1325 o.thumbnails = buildThumbnailDetails(); | 1307 o.thumbnails = buildThumbnailDetails(); |
| 1326 o.title = "foo"; | 1308 o.title = "foo"; |
| 1327 } | 1309 } |
| 1328 buildCounterChannelSnippet--; | 1310 buildCounterChannelSnippet--; |
| 1329 return o; | 1311 return o; |
| 1330 } | 1312 } |
| 1331 | 1313 |
| 1332 checkChannelSnippet(api.ChannelSnippet o) { | 1314 checkChannelSnippet(api.ChannelSnippet o) { |
| 1333 buildCounterChannelSnippet++; | 1315 buildCounterChannelSnippet++; |
| 1334 if (buildCounterChannelSnippet < 3) { | 1316 if (buildCounterChannelSnippet < 3) { |
| 1335 unittest.expect(o.country, unittest.equals('foo')); | 1317 unittest.expect(o.country, unittest.equals('foo')); |
| 1318 unittest.expect(o.customUrl, unittest.equals('foo')); |
| 1336 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1319 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1337 unittest.expect(o.description, unittest.equals('foo')); | 1320 unittest.expect(o.description, unittest.equals('foo')); |
| 1338 checkChannelLocalization(o.localized); | 1321 checkChannelLocalization(o.localized); |
| 1339 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1322 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 1340 checkThumbnailDetails(o.thumbnails); | 1323 checkThumbnailDetails(o.thumbnails); |
| 1341 unittest.expect(o.title, unittest.equals('foo')); | 1324 unittest.expect(o.title, unittest.equals('foo')); |
| 1342 } | 1325 } |
| 1343 buildCounterChannelSnippet--; | 1326 buildCounterChannelSnippet--; |
| 1344 } | 1327 } |
| 1345 | 1328 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 checkChannelStatus(api.ChannelStatus o) { | 1369 checkChannelStatus(api.ChannelStatus o) { |
| 1387 buildCounterChannelStatus++; | 1370 buildCounterChannelStatus++; |
| 1388 if (buildCounterChannelStatus < 3) { | 1371 if (buildCounterChannelStatus < 3) { |
| 1389 unittest.expect(o.isLinked, unittest.isTrue); | 1372 unittest.expect(o.isLinked, unittest.isTrue); |
| 1390 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1373 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1391 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1374 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1392 } | 1375 } |
| 1393 buildCounterChannelStatus--; | 1376 buildCounterChannelStatus--; |
| 1394 } | 1377 } |
| 1395 | 1378 |
| 1396 buildUnnamed634() { | 1379 buildUnnamed893() { |
| 1397 var o = new core.List<core.String>(); | 1380 var o = new core.List<core.String>(); |
| 1398 o.add("foo"); | 1381 o.add("foo"); |
| 1399 o.add("foo"); | 1382 o.add("foo"); |
| 1400 return o; | 1383 return o; |
| 1401 } | 1384 } |
| 1402 | 1385 |
| 1403 checkUnnamed634(core.List<core.String> o) { | 1386 checkUnnamed893(core.List<core.String> o) { |
| 1404 unittest.expect(o, unittest.hasLength(2)); | 1387 unittest.expect(o, unittest.hasLength(2)); |
| 1405 unittest.expect(o[0], unittest.equals('foo')); | 1388 unittest.expect(o[0], unittest.equals('foo')); |
| 1406 unittest.expect(o[1], unittest.equals('foo')); | 1389 unittest.expect(o[1], unittest.equals('foo')); |
| 1407 } | 1390 } |
| 1408 | 1391 |
| 1409 core.int buildCounterChannelTopicDetails = 0; | 1392 core.int buildCounterChannelTopicDetails = 0; |
| 1410 buildChannelTopicDetails() { | 1393 buildChannelTopicDetails() { |
| 1411 var o = new api.ChannelTopicDetails(); | 1394 var o = new api.ChannelTopicDetails(); |
| 1412 buildCounterChannelTopicDetails++; | 1395 buildCounterChannelTopicDetails++; |
| 1413 if (buildCounterChannelTopicDetails < 3) { | 1396 if (buildCounterChannelTopicDetails < 3) { |
| 1414 o.topicIds = buildUnnamed634(); | 1397 o.topicIds = buildUnnamed893(); |
| 1415 } | 1398 } |
| 1416 buildCounterChannelTopicDetails--; | 1399 buildCounterChannelTopicDetails--; |
| 1417 return o; | 1400 return o; |
| 1418 } | 1401 } |
| 1419 | 1402 |
| 1420 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1403 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1421 buildCounterChannelTopicDetails++; | 1404 buildCounterChannelTopicDetails++; |
| 1422 if (buildCounterChannelTopicDetails < 3) { | 1405 if (buildCounterChannelTopicDetails < 3) { |
| 1423 checkUnnamed634(o.topicIds); | 1406 checkUnnamed893(o.topicIds); |
| 1424 } | 1407 } |
| 1425 buildCounterChannelTopicDetails--; | 1408 buildCounterChannelTopicDetails--; |
| 1426 } | 1409 } |
| 1427 | 1410 |
| 1428 core.int buildCounterComment = 0; | 1411 core.int buildCounterComment = 0; |
| 1429 buildComment() { | 1412 buildComment() { |
| 1430 var o = new api.Comment(); | 1413 var o = new api.Comment(); |
| 1431 buildCounterComment++; | 1414 buildCounterComment++; |
| 1432 if (buildCounterComment < 3) { | 1415 if (buildCounterComment < 3) { |
| 1433 o.etag = "foo"; | 1416 o.etag = "foo"; |
| 1434 o.id = "foo"; | 1417 o.id = "foo"; |
| 1435 o.kind = "foo"; | 1418 o.kind = "foo"; |
| 1436 o.snippet = buildCommentSnippet(); | 1419 o.snippet = buildCommentSnippet(); |
| 1437 } | 1420 } |
| 1438 buildCounterComment--; | 1421 buildCounterComment--; |
| 1439 return o; | 1422 return o; |
| 1440 } | 1423 } |
| 1441 | 1424 |
| 1442 checkComment(api.Comment o) { | 1425 checkComment(api.Comment o) { |
| 1443 buildCounterComment++; | 1426 buildCounterComment++; |
| 1444 if (buildCounterComment < 3) { | 1427 if (buildCounterComment < 3) { |
| 1445 unittest.expect(o.etag, unittest.equals('foo')); | 1428 unittest.expect(o.etag, unittest.equals('foo')); |
| 1446 unittest.expect(o.id, unittest.equals('foo')); | 1429 unittest.expect(o.id, unittest.equals('foo')); |
| 1447 unittest.expect(o.kind, unittest.equals('foo')); | 1430 unittest.expect(o.kind, unittest.equals('foo')); |
| 1448 checkCommentSnippet(o.snippet); | 1431 checkCommentSnippet(o.snippet); |
| 1449 } | 1432 } |
| 1450 buildCounterComment--; | 1433 buildCounterComment--; |
| 1451 } | 1434 } |
| 1452 | 1435 |
| 1453 buildUnnamed635() { | 1436 buildUnnamed894() { |
| 1454 var o = new core.List<api.Comment>(); | 1437 var o = new core.List<api.Comment>(); |
| 1455 o.add(buildComment()); | 1438 o.add(buildComment()); |
| 1456 o.add(buildComment()); | 1439 o.add(buildComment()); |
| 1457 return o; | 1440 return o; |
| 1458 } | 1441 } |
| 1459 | 1442 |
| 1460 checkUnnamed635(core.List<api.Comment> o) { | 1443 checkUnnamed894(core.List<api.Comment> o) { |
| 1461 unittest.expect(o, unittest.hasLength(2)); | 1444 unittest.expect(o, unittest.hasLength(2)); |
| 1462 checkComment(o[0]); | 1445 checkComment(o[0]); |
| 1463 checkComment(o[1]); | 1446 checkComment(o[1]); |
| 1464 } | 1447 } |
| 1465 | 1448 |
| 1466 core.int buildCounterCommentListResponse = 0; | 1449 core.int buildCounterCommentListResponse = 0; |
| 1467 buildCommentListResponse() { | 1450 buildCommentListResponse() { |
| 1468 var o = new api.CommentListResponse(); | 1451 var o = new api.CommentListResponse(); |
| 1469 buildCounterCommentListResponse++; | 1452 buildCounterCommentListResponse++; |
| 1470 if (buildCounterCommentListResponse < 3) { | 1453 if (buildCounterCommentListResponse < 3) { |
| 1471 o.etag = "foo"; | 1454 o.etag = "foo"; |
| 1472 o.eventId = "foo"; | 1455 o.eventId = "foo"; |
| 1473 o.items = buildUnnamed635(); | 1456 o.items = buildUnnamed894(); |
| 1474 o.kind = "foo"; | 1457 o.kind = "foo"; |
| 1475 o.nextPageToken = "foo"; | 1458 o.nextPageToken = "foo"; |
| 1476 o.pageInfo = buildPageInfo(); | 1459 o.pageInfo = buildPageInfo(); |
| 1477 o.tokenPagination = buildTokenPagination(); | 1460 o.tokenPagination = buildTokenPagination(); |
| 1478 o.visitorId = "foo"; | 1461 o.visitorId = "foo"; |
| 1479 } | 1462 } |
| 1480 buildCounterCommentListResponse--; | 1463 buildCounterCommentListResponse--; |
| 1481 return o; | 1464 return o; |
| 1482 } | 1465 } |
| 1483 | 1466 |
| 1484 checkCommentListResponse(api.CommentListResponse o) { | 1467 checkCommentListResponse(api.CommentListResponse o) { |
| 1485 buildCounterCommentListResponse++; | 1468 buildCounterCommentListResponse++; |
| 1486 if (buildCounterCommentListResponse < 3) { | 1469 if (buildCounterCommentListResponse < 3) { |
| 1487 unittest.expect(o.etag, unittest.equals('foo')); | 1470 unittest.expect(o.etag, unittest.equals('foo')); |
| 1488 unittest.expect(o.eventId, unittest.equals('foo')); | 1471 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1489 checkUnnamed635(o.items); | 1472 checkUnnamed894(o.items); |
| 1490 unittest.expect(o.kind, unittest.equals('foo')); | 1473 unittest.expect(o.kind, unittest.equals('foo')); |
| 1491 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1474 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1492 checkPageInfo(o.pageInfo); | 1475 checkPageInfo(o.pageInfo); |
| 1493 checkTokenPagination(o.tokenPagination); | 1476 checkTokenPagination(o.tokenPagination); |
| 1494 unittest.expect(o.visitorId, unittest.equals('foo')); | 1477 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1495 } | 1478 } |
| 1496 buildCounterCommentListResponse--; | 1479 buildCounterCommentListResponse--; |
| 1497 } | 1480 } |
| 1498 | 1481 |
| 1499 core.int buildCounterCommentSnippet = 0; | 1482 core.int buildCounterCommentSnippet = 0; |
| 1500 buildCommentSnippet() { | 1483 buildCommentSnippet() { |
| 1501 var o = new api.CommentSnippet(); | 1484 var o = new api.CommentSnippet(); |
| 1502 buildCounterCommentSnippet++; | 1485 buildCounterCommentSnippet++; |
| 1503 if (buildCounterCommentSnippet < 3) { | 1486 if (buildCounterCommentSnippet < 3) { |
| 1504 o.authorChannelId = buildChannelId(); | 1487 o.authorChannelId = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1505 o.authorChannelUrl = "foo"; | 1488 o.authorChannelUrl = "foo"; |
| 1506 o.authorDisplayName = "foo"; | 1489 o.authorDisplayName = "foo"; |
| 1507 o.authorGoogleplusProfileUrl = "foo"; | 1490 o.authorGoogleplusProfileUrl = "foo"; |
| 1508 o.authorProfileImageUrl = "foo"; | 1491 o.authorProfileImageUrl = "foo"; |
| 1509 o.canRate = true; | 1492 o.canRate = true; |
| 1510 o.channelId = "foo"; | 1493 o.channelId = "foo"; |
| 1511 o.likeCount = 42; | 1494 o.likeCount = 42; |
| 1512 o.moderationStatus = "foo"; | 1495 o.moderationStatus = "foo"; |
| 1513 o.parentId = "foo"; | 1496 o.parentId = "foo"; |
| 1514 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 1497 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1515 o.textDisplay = "foo"; | 1498 o.textDisplay = "foo"; |
| 1516 o.textOriginal = "foo"; | 1499 o.textOriginal = "foo"; |
| 1517 o.updatedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 1500 o.updatedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1518 o.videoId = "foo"; | 1501 o.videoId = "foo"; |
| 1519 o.viewerRating = "foo"; | 1502 o.viewerRating = "foo"; |
| 1520 } | 1503 } |
| 1521 buildCounterCommentSnippet--; | 1504 buildCounterCommentSnippet--; |
| 1522 return o; | 1505 return o; |
| 1523 } | 1506 } |
| 1524 | 1507 |
| 1525 checkCommentSnippet(api.CommentSnippet o) { | 1508 checkCommentSnippet(api.CommentSnippet o) { |
| 1526 buildCounterCommentSnippet++; | 1509 buildCounterCommentSnippet++; |
| 1527 if (buildCounterCommentSnippet < 3) { | 1510 if (buildCounterCommentSnippet < 3) { |
| 1528 checkChannelId(o.authorChannelId); | 1511 var casted1 = (o.authorChannelId) as core.Map; unittest.expect(casted1, unit
test.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3]))
; unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(caste
d1["string"], unittest.equals('foo')); |
| 1529 unittest.expect(o.authorChannelUrl, unittest.equals('foo')); | 1512 unittest.expect(o.authorChannelUrl, unittest.equals('foo')); |
| 1530 unittest.expect(o.authorDisplayName, unittest.equals('foo')); | 1513 unittest.expect(o.authorDisplayName, unittest.equals('foo')); |
| 1531 unittest.expect(o.authorGoogleplusProfileUrl, unittest.equals('foo')); | 1514 unittest.expect(o.authorGoogleplusProfileUrl, unittest.equals('foo')); |
| 1532 unittest.expect(o.authorProfileImageUrl, unittest.equals('foo')); | 1515 unittest.expect(o.authorProfileImageUrl, unittest.equals('foo')); |
| 1533 unittest.expect(o.canRate, unittest.isTrue); | 1516 unittest.expect(o.canRate, unittest.isTrue); |
| 1534 unittest.expect(o.channelId, unittest.equals('foo')); | 1517 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1535 unittest.expect(o.likeCount, unittest.equals(42)); | 1518 unittest.expect(o.likeCount, unittest.equals(42)); |
| 1536 unittest.expect(o.moderationStatus, unittest.equals('foo')); | 1519 unittest.expect(o.moderationStatus, unittest.equals('foo')); |
| 1537 unittest.expect(o.parentId, unittest.equals('foo')); | 1520 unittest.expect(o.parentId, unittest.equals('foo')); |
| 1538 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1521 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1565 if (buildCounterCommentThread < 3) { | 1548 if (buildCounterCommentThread < 3) { |
| 1566 unittest.expect(o.etag, unittest.equals('foo')); | 1549 unittest.expect(o.etag, unittest.equals('foo')); |
| 1567 unittest.expect(o.id, unittest.equals('foo')); | 1550 unittest.expect(o.id, unittest.equals('foo')); |
| 1568 unittest.expect(o.kind, unittest.equals('foo')); | 1551 unittest.expect(o.kind, unittest.equals('foo')); |
| 1569 checkCommentThreadReplies(o.replies); | 1552 checkCommentThreadReplies(o.replies); |
| 1570 checkCommentThreadSnippet(o.snippet); | 1553 checkCommentThreadSnippet(o.snippet); |
| 1571 } | 1554 } |
| 1572 buildCounterCommentThread--; | 1555 buildCounterCommentThread--; |
| 1573 } | 1556 } |
| 1574 | 1557 |
| 1575 buildUnnamed636() { | 1558 buildUnnamed895() { |
| 1576 var o = new core.List<api.CommentThread>(); | 1559 var o = new core.List<api.CommentThread>(); |
| 1577 o.add(buildCommentThread()); | 1560 o.add(buildCommentThread()); |
| 1578 o.add(buildCommentThread()); | 1561 o.add(buildCommentThread()); |
| 1579 return o; | 1562 return o; |
| 1580 } | 1563 } |
| 1581 | 1564 |
| 1582 checkUnnamed636(core.List<api.CommentThread> o) { | 1565 checkUnnamed895(core.List<api.CommentThread> o) { |
| 1583 unittest.expect(o, unittest.hasLength(2)); | 1566 unittest.expect(o, unittest.hasLength(2)); |
| 1584 checkCommentThread(o[0]); | 1567 checkCommentThread(o[0]); |
| 1585 checkCommentThread(o[1]); | 1568 checkCommentThread(o[1]); |
| 1586 } | 1569 } |
| 1587 | 1570 |
| 1588 core.int buildCounterCommentThreadListResponse = 0; | 1571 core.int buildCounterCommentThreadListResponse = 0; |
| 1589 buildCommentThreadListResponse() { | 1572 buildCommentThreadListResponse() { |
| 1590 var o = new api.CommentThreadListResponse(); | 1573 var o = new api.CommentThreadListResponse(); |
| 1591 buildCounterCommentThreadListResponse++; | 1574 buildCounterCommentThreadListResponse++; |
| 1592 if (buildCounterCommentThreadListResponse < 3) { | 1575 if (buildCounterCommentThreadListResponse < 3) { |
| 1593 o.etag = "foo"; | 1576 o.etag = "foo"; |
| 1594 o.eventId = "foo"; | 1577 o.eventId = "foo"; |
| 1595 o.items = buildUnnamed636(); | 1578 o.items = buildUnnamed895(); |
| 1596 o.kind = "foo"; | 1579 o.kind = "foo"; |
| 1597 o.nextPageToken = "foo"; | 1580 o.nextPageToken = "foo"; |
| 1598 o.pageInfo = buildPageInfo(); | 1581 o.pageInfo = buildPageInfo(); |
| 1599 o.tokenPagination = buildTokenPagination(); | 1582 o.tokenPagination = buildTokenPagination(); |
| 1600 o.visitorId = "foo"; | 1583 o.visitorId = "foo"; |
| 1601 } | 1584 } |
| 1602 buildCounterCommentThreadListResponse--; | 1585 buildCounterCommentThreadListResponse--; |
| 1603 return o; | 1586 return o; |
| 1604 } | 1587 } |
| 1605 | 1588 |
| 1606 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1589 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
| 1607 buildCounterCommentThreadListResponse++; | 1590 buildCounterCommentThreadListResponse++; |
| 1608 if (buildCounterCommentThreadListResponse < 3) { | 1591 if (buildCounterCommentThreadListResponse < 3) { |
| 1609 unittest.expect(o.etag, unittest.equals('foo')); | 1592 unittest.expect(o.etag, unittest.equals('foo')); |
| 1610 unittest.expect(o.eventId, unittest.equals('foo')); | 1593 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1611 checkUnnamed636(o.items); | 1594 checkUnnamed895(o.items); |
| 1612 unittest.expect(o.kind, unittest.equals('foo')); | 1595 unittest.expect(o.kind, unittest.equals('foo')); |
| 1613 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1596 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1614 checkPageInfo(o.pageInfo); | 1597 checkPageInfo(o.pageInfo); |
| 1615 checkTokenPagination(o.tokenPagination); | 1598 checkTokenPagination(o.tokenPagination); |
| 1616 unittest.expect(o.visitorId, unittest.equals('foo')); | 1599 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1617 } | 1600 } |
| 1618 buildCounterCommentThreadListResponse--; | 1601 buildCounterCommentThreadListResponse--; |
| 1619 } | 1602 } |
| 1620 | 1603 |
| 1621 buildUnnamed637() { | 1604 buildUnnamed896() { |
| 1622 var o = new core.List<api.Comment>(); | 1605 var o = new core.List<api.Comment>(); |
| 1623 o.add(buildComment()); | 1606 o.add(buildComment()); |
| 1624 o.add(buildComment()); | 1607 o.add(buildComment()); |
| 1625 return o; | 1608 return o; |
| 1626 } | 1609 } |
| 1627 | 1610 |
| 1628 checkUnnamed637(core.List<api.Comment> o) { | 1611 checkUnnamed896(core.List<api.Comment> o) { |
| 1629 unittest.expect(o, unittest.hasLength(2)); | 1612 unittest.expect(o, unittest.hasLength(2)); |
| 1630 checkComment(o[0]); | 1613 checkComment(o[0]); |
| 1631 checkComment(o[1]); | 1614 checkComment(o[1]); |
| 1632 } | 1615 } |
| 1633 | 1616 |
| 1634 core.int buildCounterCommentThreadReplies = 0; | 1617 core.int buildCounterCommentThreadReplies = 0; |
| 1635 buildCommentThreadReplies() { | 1618 buildCommentThreadReplies() { |
| 1636 var o = new api.CommentThreadReplies(); | 1619 var o = new api.CommentThreadReplies(); |
| 1637 buildCounterCommentThreadReplies++; | 1620 buildCounterCommentThreadReplies++; |
| 1638 if (buildCounterCommentThreadReplies < 3) { | 1621 if (buildCounterCommentThreadReplies < 3) { |
| 1639 o.comments = buildUnnamed637(); | 1622 o.comments = buildUnnamed896(); |
| 1640 } | 1623 } |
| 1641 buildCounterCommentThreadReplies--; | 1624 buildCounterCommentThreadReplies--; |
| 1642 return o; | 1625 return o; |
| 1643 } | 1626 } |
| 1644 | 1627 |
| 1645 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1628 checkCommentThreadReplies(api.CommentThreadReplies o) { |
| 1646 buildCounterCommentThreadReplies++; | 1629 buildCounterCommentThreadReplies++; |
| 1647 if (buildCounterCommentThreadReplies < 3) { | 1630 if (buildCounterCommentThreadReplies < 3) { |
| 1648 checkUnnamed637(o.comments); | 1631 checkUnnamed896(o.comments); |
| 1649 } | 1632 } |
| 1650 buildCounterCommentThreadReplies--; | 1633 buildCounterCommentThreadReplies--; |
| 1651 } | 1634 } |
| 1652 | 1635 |
| 1653 core.int buildCounterCommentThreadSnippet = 0; | 1636 core.int buildCounterCommentThreadSnippet = 0; |
| 1654 buildCommentThreadSnippet() { | 1637 buildCommentThreadSnippet() { |
| 1655 var o = new api.CommentThreadSnippet(); | 1638 var o = new api.CommentThreadSnippet(); |
| 1656 buildCounterCommentThreadSnippet++; | 1639 buildCounterCommentThreadSnippet++; |
| 1657 if (buildCounterCommentThreadSnippet < 3) { | 1640 if (buildCounterCommentThreadSnippet < 3) { |
| 1658 o.canReply = true; | 1641 o.canReply = true; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1672 unittest.expect(o.canReply, unittest.isTrue); | 1655 unittest.expect(o.canReply, unittest.isTrue); |
| 1673 unittest.expect(o.channelId, unittest.equals('foo')); | 1656 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1674 unittest.expect(o.isPublic, unittest.isTrue); | 1657 unittest.expect(o.isPublic, unittest.isTrue); |
| 1675 checkComment(o.topLevelComment); | 1658 checkComment(o.topLevelComment); |
| 1676 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1659 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
| 1677 unittest.expect(o.videoId, unittest.equals('foo')); | 1660 unittest.expect(o.videoId, unittest.equals('foo')); |
| 1678 } | 1661 } |
| 1679 buildCounterCommentThreadSnippet--; | 1662 buildCounterCommentThreadSnippet--; |
| 1680 } | 1663 } |
| 1681 | 1664 |
| 1682 buildUnnamed638() { | 1665 buildUnnamed897() { |
| 1683 var o = new core.List<core.String>(); | 1666 var o = new core.List<core.String>(); |
| 1684 o.add("foo"); | 1667 o.add("foo"); |
| 1685 o.add("foo"); | 1668 o.add("foo"); |
| 1686 return o; | 1669 return o; |
| 1687 } | 1670 } |
| 1688 | 1671 |
| 1689 checkUnnamed638(core.List<core.String> o) { | 1672 checkUnnamed897(core.List<core.String> o) { |
| 1690 unittest.expect(o, unittest.hasLength(2)); | 1673 unittest.expect(o, unittest.hasLength(2)); |
| 1691 unittest.expect(o[0], unittest.equals('foo')); | 1674 unittest.expect(o[0], unittest.equals('foo')); |
| 1692 unittest.expect(o[1], unittest.equals('foo')); | 1675 unittest.expect(o[1], unittest.equals('foo')); |
| 1693 } | 1676 } |
| 1694 | 1677 |
| 1695 core.int buildCounterContentRating = 0; | 1678 core.int buildCounterContentRating = 0; |
| 1696 buildContentRating() { | 1679 buildContentRating() { |
| 1697 var o = new api.ContentRating(); | 1680 var o = new api.ContentRating(); |
| 1698 buildCounterContentRating++; | 1681 buildCounterContentRating++; |
| 1699 if (buildCounterContentRating < 3) { | 1682 if (buildCounterContentRating < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1710 o.cceRating = "foo"; | 1693 o.cceRating = "foo"; |
| 1711 o.chfilmRating = "foo"; | 1694 o.chfilmRating = "foo"; |
| 1712 o.chvrsRating = "foo"; | 1695 o.chvrsRating = "foo"; |
| 1713 o.cicfRating = "foo"; | 1696 o.cicfRating = "foo"; |
| 1714 o.cnaRating = "foo"; | 1697 o.cnaRating = "foo"; |
| 1715 o.cncRating = "foo"; | 1698 o.cncRating = "foo"; |
| 1716 o.csaRating = "foo"; | 1699 o.csaRating = "foo"; |
| 1717 o.cscfRating = "foo"; | 1700 o.cscfRating = "foo"; |
| 1718 o.czfilmRating = "foo"; | 1701 o.czfilmRating = "foo"; |
| 1719 o.djctqRating = "foo"; | 1702 o.djctqRating = "foo"; |
| 1720 o.djctqRatingReasons = buildUnnamed638(); | 1703 o.djctqRatingReasons = buildUnnamed897(); |
| 1721 o.ecbmctRating = "foo"; | 1704 o.ecbmctRating = "foo"; |
| 1722 o.eefilmRating = "foo"; | 1705 o.eefilmRating = "foo"; |
| 1723 o.egfilmRating = "foo"; | 1706 o.egfilmRating = "foo"; |
| 1724 o.eirinRating = "foo"; | 1707 o.eirinRating = "foo"; |
| 1725 o.fcbmRating = "foo"; | 1708 o.fcbmRating = "foo"; |
| 1726 o.fcoRating = "foo"; | 1709 o.fcoRating = "foo"; |
| 1727 o.fmocRating = "foo"; | 1710 o.fmocRating = "foo"; |
| 1728 o.fpbRating = "foo"; | 1711 o.fpbRating = "foo"; |
| 1729 o.fskRating = "foo"; | 1712 o.fskRating = "foo"; |
| 1730 o.grfilmRating = "foo"; | 1713 o.grfilmRating = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1784 unittest.expect(o.cceRating, unittest.equals('foo')); | 1767 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1785 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1768 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1786 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1769 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1787 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1770 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1788 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1771 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1789 unittest.expect(o.cncRating, unittest.equals('foo')); | 1772 unittest.expect(o.cncRating, unittest.equals('foo')); |
| 1790 unittest.expect(o.csaRating, unittest.equals('foo')); | 1773 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1791 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1774 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1792 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1775 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1793 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1776 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1794 checkUnnamed638(o.djctqRatingReasons); | 1777 checkUnnamed897(o.djctqRatingReasons); |
| 1795 unittest.expect(o.ecbmctRating, unittest.equals('foo')); | 1778 unittest.expect(o.ecbmctRating, unittest.equals('foo')); |
| 1796 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1779 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1797 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1780 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1798 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1781 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1799 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1782 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1800 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1783 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1801 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1784 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1802 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1785 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1803 unittest.expect(o.fskRating, unittest.equals('foo')); | 1786 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1804 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1787 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1859 buildCounterFanFundingEvent++; | 1842 buildCounterFanFundingEvent++; |
| 1860 if (buildCounterFanFundingEvent < 3) { | 1843 if (buildCounterFanFundingEvent < 3) { |
| 1861 unittest.expect(o.etag, unittest.equals('foo')); | 1844 unittest.expect(o.etag, unittest.equals('foo')); |
| 1862 unittest.expect(o.id, unittest.equals('foo')); | 1845 unittest.expect(o.id, unittest.equals('foo')); |
| 1863 unittest.expect(o.kind, unittest.equals('foo')); | 1846 unittest.expect(o.kind, unittest.equals('foo')); |
| 1864 checkFanFundingEventSnippet(o.snippet); | 1847 checkFanFundingEventSnippet(o.snippet); |
| 1865 } | 1848 } |
| 1866 buildCounterFanFundingEvent--; | 1849 buildCounterFanFundingEvent--; |
| 1867 } | 1850 } |
| 1868 | 1851 |
| 1869 buildUnnamed639() { | 1852 buildUnnamed898() { |
| 1870 var o = new core.List<api.FanFundingEvent>(); | 1853 var o = new core.List<api.FanFundingEvent>(); |
| 1871 o.add(buildFanFundingEvent()); | 1854 o.add(buildFanFundingEvent()); |
| 1872 o.add(buildFanFundingEvent()); | 1855 o.add(buildFanFundingEvent()); |
| 1873 return o; | 1856 return o; |
| 1874 } | 1857 } |
| 1875 | 1858 |
| 1876 checkUnnamed639(core.List<api.FanFundingEvent> o) { | 1859 checkUnnamed898(core.List<api.FanFundingEvent> o) { |
| 1877 unittest.expect(o, unittest.hasLength(2)); | 1860 unittest.expect(o, unittest.hasLength(2)); |
| 1878 checkFanFundingEvent(o[0]); | 1861 checkFanFundingEvent(o[0]); |
| 1879 checkFanFundingEvent(o[1]); | 1862 checkFanFundingEvent(o[1]); |
| 1880 } | 1863 } |
| 1881 | 1864 |
| 1882 core.int buildCounterFanFundingEventListResponse = 0; | 1865 core.int buildCounterFanFundingEventListResponse = 0; |
| 1883 buildFanFundingEventListResponse() { | 1866 buildFanFundingEventListResponse() { |
| 1884 var o = new api.FanFundingEventListResponse(); | 1867 var o = new api.FanFundingEventListResponse(); |
| 1885 buildCounterFanFundingEventListResponse++; | 1868 buildCounterFanFundingEventListResponse++; |
| 1886 if (buildCounterFanFundingEventListResponse < 3) { | 1869 if (buildCounterFanFundingEventListResponse < 3) { |
| 1887 o.etag = "foo"; | 1870 o.etag = "foo"; |
| 1888 o.eventId = "foo"; | 1871 o.eventId = "foo"; |
| 1889 o.items = buildUnnamed639(); | 1872 o.items = buildUnnamed898(); |
| 1890 o.kind = "foo"; | 1873 o.kind = "foo"; |
| 1891 o.nextPageToken = "foo"; | 1874 o.nextPageToken = "foo"; |
| 1892 o.pageInfo = buildPageInfo(); | 1875 o.pageInfo = buildPageInfo(); |
| 1893 o.tokenPagination = buildTokenPagination(); | 1876 o.tokenPagination = buildTokenPagination(); |
| 1894 o.visitorId = "foo"; | 1877 o.visitorId = "foo"; |
| 1895 } | 1878 } |
| 1896 buildCounterFanFundingEventListResponse--; | 1879 buildCounterFanFundingEventListResponse--; |
| 1897 return o; | 1880 return o; |
| 1898 } | 1881 } |
| 1899 | 1882 |
| 1900 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { | 1883 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { |
| 1901 buildCounterFanFundingEventListResponse++; | 1884 buildCounterFanFundingEventListResponse++; |
| 1902 if (buildCounterFanFundingEventListResponse < 3) { | 1885 if (buildCounterFanFundingEventListResponse < 3) { |
| 1903 unittest.expect(o.etag, unittest.equals('foo')); | 1886 unittest.expect(o.etag, unittest.equals('foo')); |
| 1904 unittest.expect(o.eventId, unittest.equals('foo')); | 1887 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1905 checkUnnamed639(o.items); | 1888 checkUnnamed898(o.items); |
| 1906 unittest.expect(o.kind, unittest.equals('foo')); | 1889 unittest.expect(o.kind, unittest.equals('foo')); |
| 1907 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1890 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1908 checkPageInfo(o.pageInfo); | 1891 checkPageInfo(o.pageInfo); |
| 1909 checkTokenPagination(o.tokenPagination); | 1892 checkTokenPagination(o.tokenPagination); |
| 1910 unittest.expect(o.visitorId, unittest.equals('foo')); | 1893 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1911 } | 1894 } |
| 1912 buildCounterFanFundingEventListResponse--; | 1895 buildCounterFanFundingEventListResponse--; |
| 1913 } | 1896 } |
| 1914 | 1897 |
| 1915 core.int buildCounterFanFundingEventSnippet = 0; | 1898 core.int buildCounterFanFundingEventSnippet = 0; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1984 buildCounterGuideCategory++; | 1967 buildCounterGuideCategory++; |
| 1985 if (buildCounterGuideCategory < 3) { | 1968 if (buildCounterGuideCategory < 3) { |
| 1986 unittest.expect(o.etag, unittest.equals('foo')); | 1969 unittest.expect(o.etag, unittest.equals('foo')); |
| 1987 unittest.expect(o.id, unittest.equals('foo')); | 1970 unittest.expect(o.id, unittest.equals('foo')); |
| 1988 unittest.expect(o.kind, unittest.equals('foo')); | 1971 unittest.expect(o.kind, unittest.equals('foo')); |
| 1989 checkGuideCategorySnippet(o.snippet); | 1972 checkGuideCategorySnippet(o.snippet); |
| 1990 } | 1973 } |
| 1991 buildCounterGuideCategory--; | 1974 buildCounterGuideCategory--; |
| 1992 } | 1975 } |
| 1993 | 1976 |
| 1994 buildUnnamed640() { | 1977 buildUnnamed899() { |
| 1995 var o = new core.List<api.GuideCategory>(); | 1978 var o = new core.List<api.GuideCategory>(); |
| 1996 o.add(buildGuideCategory()); | 1979 o.add(buildGuideCategory()); |
| 1997 o.add(buildGuideCategory()); | 1980 o.add(buildGuideCategory()); |
| 1998 return o; | 1981 return o; |
| 1999 } | 1982 } |
| 2000 | 1983 |
| 2001 checkUnnamed640(core.List<api.GuideCategory> o) { | 1984 checkUnnamed899(core.List<api.GuideCategory> o) { |
| 2002 unittest.expect(o, unittest.hasLength(2)); | 1985 unittest.expect(o, unittest.hasLength(2)); |
| 2003 checkGuideCategory(o[0]); | 1986 checkGuideCategory(o[0]); |
| 2004 checkGuideCategory(o[1]); | 1987 checkGuideCategory(o[1]); |
| 2005 } | 1988 } |
| 2006 | 1989 |
| 2007 core.int buildCounterGuideCategoryListResponse = 0; | 1990 core.int buildCounterGuideCategoryListResponse = 0; |
| 2008 buildGuideCategoryListResponse() { | 1991 buildGuideCategoryListResponse() { |
| 2009 var o = new api.GuideCategoryListResponse(); | 1992 var o = new api.GuideCategoryListResponse(); |
| 2010 buildCounterGuideCategoryListResponse++; | 1993 buildCounterGuideCategoryListResponse++; |
| 2011 if (buildCounterGuideCategoryListResponse < 3) { | 1994 if (buildCounterGuideCategoryListResponse < 3) { |
| 2012 o.etag = "foo"; | 1995 o.etag = "foo"; |
| 2013 o.eventId = "foo"; | 1996 o.eventId = "foo"; |
| 2014 o.items = buildUnnamed640(); | 1997 o.items = buildUnnamed899(); |
| 2015 o.kind = "foo"; | 1998 o.kind = "foo"; |
| 2016 o.nextPageToken = "foo"; | 1999 o.nextPageToken = "foo"; |
| 2017 o.pageInfo = buildPageInfo(); | 2000 o.pageInfo = buildPageInfo(); |
| 2018 o.prevPageToken = "foo"; | 2001 o.prevPageToken = "foo"; |
| 2019 o.tokenPagination = buildTokenPagination(); | 2002 o.tokenPagination = buildTokenPagination(); |
| 2020 o.visitorId = "foo"; | 2003 o.visitorId = "foo"; |
| 2021 } | 2004 } |
| 2022 buildCounterGuideCategoryListResponse--; | 2005 buildCounterGuideCategoryListResponse--; |
| 2023 return o; | 2006 return o; |
| 2024 } | 2007 } |
| 2025 | 2008 |
| 2026 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 2009 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 2027 buildCounterGuideCategoryListResponse++; | 2010 buildCounterGuideCategoryListResponse++; |
| 2028 if (buildCounterGuideCategoryListResponse < 3) { | 2011 if (buildCounterGuideCategoryListResponse < 3) { |
| 2029 unittest.expect(o.etag, unittest.equals('foo')); | 2012 unittest.expect(o.etag, unittest.equals('foo')); |
| 2030 unittest.expect(o.eventId, unittest.equals('foo')); | 2013 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2031 checkUnnamed640(o.items); | 2014 checkUnnamed899(o.items); |
| 2032 unittest.expect(o.kind, unittest.equals('foo')); | 2015 unittest.expect(o.kind, unittest.equals('foo')); |
| 2033 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2016 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2034 checkPageInfo(o.pageInfo); | 2017 checkPageInfo(o.pageInfo); |
| 2035 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2018 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2036 checkTokenPagination(o.tokenPagination); | 2019 checkTokenPagination(o.tokenPagination); |
| 2037 unittest.expect(o.visitorId, unittest.equals('foo')); | 2020 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2038 } | 2021 } |
| 2039 buildCounterGuideCategoryListResponse--; | 2022 buildCounterGuideCategoryListResponse--; |
| 2040 } | 2023 } |
| 2041 | 2024 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2078 buildCounterI18nLanguage++; | 2061 buildCounterI18nLanguage++; |
| 2079 if (buildCounterI18nLanguage < 3) { | 2062 if (buildCounterI18nLanguage < 3) { |
| 2080 unittest.expect(o.etag, unittest.equals('foo')); | 2063 unittest.expect(o.etag, unittest.equals('foo')); |
| 2081 unittest.expect(o.id, unittest.equals('foo')); | 2064 unittest.expect(o.id, unittest.equals('foo')); |
| 2082 unittest.expect(o.kind, unittest.equals('foo')); | 2065 unittest.expect(o.kind, unittest.equals('foo')); |
| 2083 checkI18nLanguageSnippet(o.snippet); | 2066 checkI18nLanguageSnippet(o.snippet); |
| 2084 } | 2067 } |
| 2085 buildCounterI18nLanguage--; | 2068 buildCounterI18nLanguage--; |
| 2086 } | 2069 } |
| 2087 | 2070 |
| 2088 buildUnnamed641() { | 2071 buildUnnamed900() { |
| 2089 var o = new core.List<api.I18nLanguage>(); | 2072 var o = new core.List<api.I18nLanguage>(); |
| 2090 o.add(buildI18nLanguage()); | 2073 o.add(buildI18nLanguage()); |
| 2091 o.add(buildI18nLanguage()); | 2074 o.add(buildI18nLanguage()); |
| 2092 return o; | 2075 return o; |
| 2093 } | 2076 } |
| 2094 | 2077 |
| 2095 checkUnnamed641(core.List<api.I18nLanguage> o) { | 2078 checkUnnamed900(core.List<api.I18nLanguage> o) { |
| 2096 unittest.expect(o, unittest.hasLength(2)); | 2079 unittest.expect(o, unittest.hasLength(2)); |
| 2097 checkI18nLanguage(o[0]); | 2080 checkI18nLanguage(o[0]); |
| 2098 checkI18nLanguage(o[1]); | 2081 checkI18nLanguage(o[1]); |
| 2099 } | 2082 } |
| 2100 | 2083 |
| 2101 core.int buildCounterI18nLanguageListResponse = 0; | 2084 core.int buildCounterI18nLanguageListResponse = 0; |
| 2102 buildI18nLanguageListResponse() { | 2085 buildI18nLanguageListResponse() { |
| 2103 var o = new api.I18nLanguageListResponse(); | 2086 var o = new api.I18nLanguageListResponse(); |
| 2104 buildCounterI18nLanguageListResponse++; | 2087 buildCounterI18nLanguageListResponse++; |
| 2105 if (buildCounterI18nLanguageListResponse < 3) { | 2088 if (buildCounterI18nLanguageListResponse < 3) { |
| 2106 o.etag = "foo"; | 2089 o.etag = "foo"; |
| 2107 o.eventId = "foo"; | 2090 o.eventId = "foo"; |
| 2108 o.items = buildUnnamed641(); | 2091 o.items = buildUnnamed900(); |
| 2109 o.kind = "foo"; | 2092 o.kind = "foo"; |
| 2110 o.visitorId = "foo"; | 2093 o.visitorId = "foo"; |
| 2111 } | 2094 } |
| 2112 buildCounterI18nLanguageListResponse--; | 2095 buildCounterI18nLanguageListResponse--; |
| 2113 return o; | 2096 return o; |
| 2114 } | 2097 } |
| 2115 | 2098 |
| 2116 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 2099 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 2117 buildCounterI18nLanguageListResponse++; | 2100 buildCounterI18nLanguageListResponse++; |
| 2118 if (buildCounterI18nLanguageListResponse < 3) { | 2101 if (buildCounterI18nLanguageListResponse < 3) { |
| 2119 unittest.expect(o.etag, unittest.equals('foo')); | 2102 unittest.expect(o.etag, unittest.equals('foo')); |
| 2120 unittest.expect(o.eventId, unittest.equals('foo')); | 2103 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2121 checkUnnamed641(o.items); | 2104 checkUnnamed900(o.items); |
| 2122 unittest.expect(o.kind, unittest.equals('foo')); | 2105 unittest.expect(o.kind, unittest.equals('foo')); |
| 2123 unittest.expect(o.visitorId, unittest.equals('foo')); | 2106 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2124 } | 2107 } |
| 2125 buildCounterI18nLanguageListResponse--; | 2108 buildCounterI18nLanguageListResponse--; |
| 2126 } | 2109 } |
| 2127 | 2110 |
| 2128 core.int buildCounterI18nLanguageSnippet = 0; | 2111 core.int buildCounterI18nLanguageSnippet = 0; |
| 2129 buildI18nLanguageSnippet() { | 2112 buildI18nLanguageSnippet() { |
| 2130 var o = new api.I18nLanguageSnippet(); | 2113 var o = new api.I18nLanguageSnippet(); |
| 2131 buildCounterI18nLanguageSnippet++; | 2114 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2164 buildCounterI18nRegion++; | 2147 buildCounterI18nRegion++; |
| 2165 if (buildCounterI18nRegion < 3) { | 2148 if (buildCounterI18nRegion < 3) { |
| 2166 unittest.expect(o.etag, unittest.equals('foo')); | 2149 unittest.expect(o.etag, unittest.equals('foo')); |
| 2167 unittest.expect(o.id, unittest.equals('foo')); | 2150 unittest.expect(o.id, unittest.equals('foo')); |
| 2168 unittest.expect(o.kind, unittest.equals('foo')); | 2151 unittest.expect(o.kind, unittest.equals('foo')); |
| 2169 checkI18nRegionSnippet(o.snippet); | 2152 checkI18nRegionSnippet(o.snippet); |
| 2170 } | 2153 } |
| 2171 buildCounterI18nRegion--; | 2154 buildCounterI18nRegion--; |
| 2172 } | 2155 } |
| 2173 | 2156 |
| 2174 buildUnnamed642() { | 2157 buildUnnamed901() { |
| 2175 var o = new core.List<api.I18nRegion>(); | 2158 var o = new core.List<api.I18nRegion>(); |
| 2176 o.add(buildI18nRegion()); | 2159 o.add(buildI18nRegion()); |
| 2177 o.add(buildI18nRegion()); | 2160 o.add(buildI18nRegion()); |
| 2178 return o; | 2161 return o; |
| 2179 } | 2162 } |
| 2180 | 2163 |
| 2181 checkUnnamed642(core.List<api.I18nRegion> o) { | 2164 checkUnnamed901(core.List<api.I18nRegion> o) { |
| 2182 unittest.expect(o, unittest.hasLength(2)); | 2165 unittest.expect(o, unittest.hasLength(2)); |
| 2183 checkI18nRegion(o[0]); | 2166 checkI18nRegion(o[0]); |
| 2184 checkI18nRegion(o[1]); | 2167 checkI18nRegion(o[1]); |
| 2185 } | 2168 } |
| 2186 | 2169 |
| 2187 core.int buildCounterI18nRegionListResponse = 0; | 2170 core.int buildCounterI18nRegionListResponse = 0; |
| 2188 buildI18nRegionListResponse() { | 2171 buildI18nRegionListResponse() { |
| 2189 var o = new api.I18nRegionListResponse(); | 2172 var o = new api.I18nRegionListResponse(); |
| 2190 buildCounterI18nRegionListResponse++; | 2173 buildCounterI18nRegionListResponse++; |
| 2191 if (buildCounterI18nRegionListResponse < 3) { | 2174 if (buildCounterI18nRegionListResponse < 3) { |
| 2192 o.etag = "foo"; | 2175 o.etag = "foo"; |
| 2193 o.eventId = "foo"; | 2176 o.eventId = "foo"; |
| 2194 o.items = buildUnnamed642(); | 2177 o.items = buildUnnamed901(); |
| 2195 o.kind = "foo"; | 2178 o.kind = "foo"; |
| 2196 o.visitorId = "foo"; | 2179 o.visitorId = "foo"; |
| 2197 } | 2180 } |
| 2198 buildCounterI18nRegionListResponse--; | 2181 buildCounterI18nRegionListResponse--; |
| 2199 return o; | 2182 return o; |
| 2200 } | 2183 } |
| 2201 | 2184 |
| 2202 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2185 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 2203 buildCounterI18nRegionListResponse++; | 2186 buildCounterI18nRegionListResponse++; |
| 2204 if (buildCounterI18nRegionListResponse < 3) { | 2187 if (buildCounterI18nRegionListResponse < 3) { |
| 2205 unittest.expect(o.etag, unittest.equals('foo')); | 2188 unittest.expect(o.etag, unittest.equals('foo')); |
| 2206 unittest.expect(o.eventId, unittest.equals('foo')); | 2189 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2207 checkUnnamed642(o.items); | 2190 checkUnnamed901(o.items); |
| 2208 unittest.expect(o.kind, unittest.equals('foo')); | 2191 unittest.expect(o.kind, unittest.equals('foo')); |
| 2209 unittest.expect(o.visitorId, unittest.equals('foo')); | 2192 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2210 } | 2193 } |
| 2211 buildCounterI18nRegionListResponse--; | 2194 buildCounterI18nRegionListResponse--; |
| 2212 } | 2195 } |
| 2213 | 2196 |
| 2214 core.int buildCounterI18nRegionSnippet = 0; | 2197 core.int buildCounterI18nRegionSnippet = 0; |
| 2215 buildI18nRegionSnippet() { | 2198 buildI18nRegionSnippet() { |
| 2216 var o = new api.I18nRegionSnippet(); | 2199 var o = new api.I18nRegionSnippet(); |
| 2217 buildCounterI18nRegionSnippet++; | 2200 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2357 | 2340 |
| 2358 checkInvideoPosition(api.InvideoPosition o) { | 2341 checkInvideoPosition(api.InvideoPosition o) { |
| 2359 buildCounterInvideoPosition++; | 2342 buildCounterInvideoPosition++; |
| 2360 if (buildCounterInvideoPosition < 3) { | 2343 if (buildCounterInvideoPosition < 3) { |
| 2361 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2344 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 2362 unittest.expect(o.type, unittest.equals('foo')); | 2345 unittest.expect(o.type, unittest.equals('foo')); |
| 2363 } | 2346 } |
| 2364 buildCounterInvideoPosition--; | 2347 buildCounterInvideoPosition--; |
| 2365 } | 2348 } |
| 2366 | 2349 |
| 2367 buildUnnamed643() { | 2350 buildUnnamed902() { |
| 2368 var o = new core.List<api.PromotedItem>(); | 2351 var o = new core.List<api.PromotedItem>(); |
| 2369 o.add(buildPromotedItem()); | 2352 o.add(buildPromotedItem()); |
| 2370 o.add(buildPromotedItem()); | 2353 o.add(buildPromotedItem()); |
| 2371 return o; | 2354 return o; |
| 2372 } | 2355 } |
| 2373 | 2356 |
| 2374 checkUnnamed643(core.List<api.PromotedItem> o) { | 2357 checkUnnamed902(core.List<api.PromotedItem> o) { |
| 2375 unittest.expect(o, unittest.hasLength(2)); | 2358 unittest.expect(o, unittest.hasLength(2)); |
| 2376 checkPromotedItem(o[0]); | 2359 checkPromotedItem(o[0]); |
| 2377 checkPromotedItem(o[1]); | 2360 checkPromotedItem(o[1]); |
| 2378 } | 2361 } |
| 2379 | 2362 |
| 2380 core.int buildCounterInvideoPromotion = 0; | 2363 core.int buildCounterInvideoPromotion = 0; |
| 2381 buildInvideoPromotion() { | 2364 buildInvideoPromotion() { |
| 2382 var o = new api.InvideoPromotion(); | 2365 var o = new api.InvideoPromotion(); |
| 2383 buildCounterInvideoPromotion++; | 2366 buildCounterInvideoPromotion++; |
| 2384 if (buildCounterInvideoPromotion < 3) { | 2367 if (buildCounterInvideoPromotion < 3) { |
| 2385 o.defaultTiming = buildInvideoTiming(); | 2368 o.defaultTiming = buildInvideoTiming(); |
| 2386 o.items = buildUnnamed643(); | 2369 o.items = buildUnnamed902(); |
| 2387 o.position = buildInvideoPosition(); | 2370 o.position = buildInvideoPosition(); |
| 2388 o.useSmartTiming = true; | 2371 o.useSmartTiming = true; |
| 2389 } | 2372 } |
| 2390 buildCounterInvideoPromotion--; | 2373 buildCounterInvideoPromotion--; |
| 2391 return o; | 2374 return o; |
| 2392 } | 2375 } |
| 2393 | 2376 |
| 2394 checkInvideoPromotion(api.InvideoPromotion o) { | 2377 checkInvideoPromotion(api.InvideoPromotion o) { |
| 2395 buildCounterInvideoPromotion++; | 2378 buildCounterInvideoPromotion++; |
| 2396 if (buildCounterInvideoPromotion < 3) { | 2379 if (buildCounterInvideoPromotion < 3) { |
| 2397 checkInvideoTiming(o.defaultTiming); | 2380 checkInvideoTiming(o.defaultTiming); |
| 2398 checkUnnamed643(o.items); | 2381 checkUnnamed902(o.items); |
| 2399 checkInvideoPosition(o.position); | 2382 checkInvideoPosition(o.position); |
| 2400 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2383 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 2401 } | 2384 } |
| 2402 buildCounterInvideoPromotion--; | 2385 buildCounterInvideoPromotion--; |
| 2403 } | 2386 } |
| 2404 | 2387 |
| 2405 core.int buildCounterInvideoTiming = 0; | 2388 core.int buildCounterInvideoTiming = 0; |
| 2406 buildInvideoTiming() { | 2389 buildInvideoTiming() { |
| 2407 var o = new api.InvideoTiming(); | 2390 var o = new api.InvideoTiming(); |
| 2408 buildCounterInvideoTiming++; | 2391 buildCounterInvideoTiming++; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2507 unittest.expect(o.enableDvr, unittest.isTrue); | 2490 unittest.expect(o.enableDvr, unittest.isTrue); |
| 2508 unittest.expect(o.enableEmbed, unittest.isTrue); | 2491 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 2509 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2492 unittest.expect(o.enableLowLatency, unittest.isTrue); |
| 2510 checkMonitorStreamInfo(o.monitorStream); | 2493 checkMonitorStreamInfo(o.monitorStream); |
| 2511 unittest.expect(o.recordFromStart, unittest.isTrue); | 2494 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 2512 unittest.expect(o.startWithSlate, unittest.isTrue); | 2495 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 2513 } | 2496 } |
| 2514 buildCounterLiveBroadcastContentDetails--; | 2497 buildCounterLiveBroadcastContentDetails--; |
| 2515 } | 2498 } |
| 2516 | 2499 |
| 2517 buildUnnamed644() { | 2500 buildUnnamed903() { |
| 2518 var o = new core.List<api.LiveBroadcast>(); | 2501 var o = new core.List<api.LiveBroadcast>(); |
| 2519 o.add(buildLiveBroadcast()); | 2502 o.add(buildLiveBroadcast()); |
| 2520 o.add(buildLiveBroadcast()); | 2503 o.add(buildLiveBroadcast()); |
| 2521 return o; | 2504 return o; |
| 2522 } | 2505 } |
| 2523 | 2506 |
| 2524 checkUnnamed644(core.List<api.LiveBroadcast> o) { | 2507 checkUnnamed903(core.List<api.LiveBroadcast> o) { |
| 2525 unittest.expect(o, unittest.hasLength(2)); | 2508 unittest.expect(o, unittest.hasLength(2)); |
| 2526 checkLiveBroadcast(o[0]); | 2509 checkLiveBroadcast(o[0]); |
| 2527 checkLiveBroadcast(o[1]); | 2510 checkLiveBroadcast(o[1]); |
| 2528 } | 2511 } |
| 2529 | 2512 |
| 2530 core.int buildCounterLiveBroadcastListResponse = 0; | 2513 core.int buildCounterLiveBroadcastListResponse = 0; |
| 2531 buildLiveBroadcastListResponse() { | 2514 buildLiveBroadcastListResponse() { |
| 2532 var o = new api.LiveBroadcastListResponse(); | 2515 var o = new api.LiveBroadcastListResponse(); |
| 2533 buildCounterLiveBroadcastListResponse++; | 2516 buildCounterLiveBroadcastListResponse++; |
| 2534 if (buildCounterLiveBroadcastListResponse < 3) { | 2517 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2535 o.etag = "foo"; | 2518 o.etag = "foo"; |
| 2536 o.eventId = "foo"; | 2519 o.eventId = "foo"; |
| 2537 o.items = buildUnnamed644(); | 2520 o.items = buildUnnamed903(); |
| 2538 o.kind = "foo"; | 2521 o.kind = "foo"; |
| 2539 o.nextPageToken = "foo"; | 2522 o.nextPageToken = "foo"; |
| 2540 o.pageInfo = buildPageInfo(); | 2523 o.pageInfo = buildPageInfo(); |
| 2541 o.prevPageToken = "foo"; | 2524 o.prevPageToken = "foo"; |
| 2542 o.tokenPagination = buildTokenPagination(); | 2525 o.tokenPagination = buildTokenPagination(); |
| 2543 o.visitorId = "foo"; | 2526 o.visitorId = "foo"; |
| 2544 } | 2527 } |
| 2545 buildCounterLiveBroadcastListResponse--; | 2528 buildCounterLiveBroadcastListResponse--; |
| 2546 return o; | 2529 return o; |
| 2547 } | 2530 } |
| 2548 | 2531 |
| 2549 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2532 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 2550 buildCounterLiveBroadcastListResponse++; | 2533 buildCounterLiveBroadcastListResponse++; |
| 2551 if (buildCounterLiveBroadcastListResponse < 3) { | 2534 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2552 unittest.expect(o.etag, unittest.equals('foo')); | 2535 unittest.expect(o.etag, unittest.equals('foo')); |
| 2553 unittest.expect(o.eventId, unittest.equals('foo')); | 2536 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2554 checkUnnamed644(o.items); | 2537 checkUnnamed903(o.items); |
| 2555 unittest.expect(o.kind, unittest.equals('foo')); | 2538 unittest.expect(o.kind, unittest.equals('foo')); |
| 2556 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2539 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2557 checkPageInfo(o.pageInfo); | 2540 checkPageInfo(o.pageInfo); |
| 2558 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2541 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2559 checkTokenPagination(o.tokenPagination); | 2542 checkTokenPagination(o.tokenPagination); |
| 2560 unittest.expect(o.visitorId, unittest.equals('foo')); | 2543 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2561 } | 2544 } |
| 2562 buildCounterLiveBroadcastListResponse--; | 2545 buildCounterLiveBroadcastListResponse--; |
| 2563 } | 2546 } |
| 2564 | 2547 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2663 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2646 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
| 2664 buildCounterLiveBroadcastTopic++; | 2647 buildCounterLiveBroadcastTopic++; |
| 2665 if (buildCounterLiveBroadcastTopic < 3) { | 2648 if (buildCounterLiveBroadcastTopic < 3) { |
| 2666 checkLiveBroadcastTopicSnippet(o.snippet); | 2649 checkLiveBroadcastTopicSnippet(o.snippet); |
| 2667 unittest.expect(o.type, unittest.equals('foo')); | 2650 unittest.expect(o.type, unittest.equals('foo')); |
| 2668 unittest.expect(o.unmatched, unittest.isTrue); | 2651 unittest.expect(o.unmatched, unittest.isTrue); |
| 2669 } | 2652 } |
| 2670 buildCounterLiveBroadcastTopic--; | 2653 buildCounterLiveBroadcastTopic--; |
| 2671 } | 2654 } |
| 2672 | 2655 |
| 2673 buildUnnamed645() { | 2656 buildUnnamed904() { |
| 2674 var o = new core.List<api.LiveBroadcastTopic>(); | 2657 var o = new core.List<api.LiveBroadcastTopic>(); |
| 2675 o.add(buildLiveBroadcastTopic()); | 2658 o.add(buildLiveBroadcastTopic()); |
| 2676 o.add(buildLiveBroadcastTopic()); | 2659 o.add(buildLiveBroadcastTopic()); |
| 2677 return o; | 2660 return o; |
| 2678 } | 2661 } |
| 2679 | 2662 |
| 2680 checkUnnamed645(core.List<api.LiveBroadcastTopic> o) { | 2663 checkUnnamed904(core.List<api.LiveBroadcastTopic> o) { |
| 2681 unittest.expect(o, unittest.hasLength(2)); | 2664 unittest.expect(o, unittest.hasLength(2)); |
| 2682 checkLiveBroadcastTopic(o[0]); | 2665 checkLiveBroadcastTopic(o[0]); |
| 2683 checkLiveBroadcastTopic(o[1]); | 2666 checkLiveBroadcastTopic(o[1]); |
| 2684 } | 2667 } |
| 2685 | 2668 |
| 2686 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2669 core.int buildCounterLiveBroadcastTopicDetails = 0; |
| 2687 buildLiveBroadcastTopicDetails() { | 2670 buildLiveBroadcastTopicDetails() { |
| 2688 var o = new api.LiveBroadcastTopicDetails(); | 2671 var o = new api.LiveBroadcastTopicDetails(); |
| 2689 buildCounterLiveBroadcastTopicDetails++; | 2672 buildCounterLiveBroadcastTopicDetails++; |
| 2690 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2673 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2691 o.topics = buildUnnamed645(); | 2674 o.topics = buildUnnamed904(); |
| 2692 } | 2675 } |
| 2693 buildCounterLiveBroadcastTopicDetails--; | 2676 buildCounterLiveBroadcastTopicDetails--; |
| 2694 return o; | 2677 return o; |
| 2695 } | 2678 } |
| 2696 | 2679 |
| 2697 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2680 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
| 2698 buildCounterLiveBroadcastTopicDetails++; | 2681 buildCounterLiveBroadcastTopicDetails++; |
| 2699 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2682 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2700 checkUnnamed645(o.topics); | 2683 checkUnnamed904(o.topics); |
| 2701 } | 2684 } |
| 2702 buildCounterLiveBroadcastTopicDetails--; | 2685 buildCounterLiveBroadcastTopicDetails--; |
| 2703 } | 2686 } |
| 2704 | 2687 |
| 2705 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2688 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
| 2706 buildLiveBroadcastTopicSnippet() { | 2689 buildLiveBroadcastTopicSnippet() { |
| 2707 var o = new api.LiveBroadcastTopicSnippet(); | 2690 var o = new api.LiveBroadcastTopicSnippet(); |
| 2708 buildCounterLiveBroadcastTopicSnippet++; | 2691 buildCounterLiveBroadcastTopicSnippet++; |
| 2709 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2692 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
| 2710 o.name = "foo"; | 2693 o.name = "foo"; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2851 unittest.expect(o.displayName, unittest.equals('foo')); | 2834 unittest.expect(o.displayName, unittest.equals('foo')); |
| 2852 unittest.expect(o.isChatModerator, unittest.isTrue); | 2835 unittest.expect(o.isChatModerator, unittest.isTrue); |
| 2853 unittest.expect(o.isChatOwner, unittest.isTrue); | 2836 unittest.expect(o.isChatOwner, unittest.isTrue); |
| 2854 unittest.expect(o.isChatSponsor, unittest.isTrue); | 2837 unittest.expect(o.isChatSponsor, unittest.isTrue); |
| 2855 unittest.expect(o.isVerified, unittest.isTrue); | 2838 unittest.expect(o.isVerified, unittest.isTrue); |
| 2856 unittest.expect(o.profileImageUrl, unittest.equals('foo')); | 2839 unittest.expect(o.profileImageUrl, unittest.equals('foo')); |
| 2857 } | 2840 } |
| 2858 buildCounterLiveChatMessageAuthorDetails--; | 2841 buildCounterLiveChatMessageAuthorDetails--; |
| 2859 } | 2842 } |
| 2860 | 2843 |
| 2861 buildUnnamed646() { | 2844 buildUnnamed905() { |
| 2862 var o = new core.List<api.LiveChatMessage>(); | 2845 var o = new core.List<api.LiveChatMessage>(); |
| 2863 o.add(buildLiveChatMessage()); | 2846 o.add(buildLiveChatMessage()); |
| 2864 o.add(buildLiveChatMessage()); | 2847 o.add(buildLiveChatMessage()); |
| 2865 return o; | 2848 return o; |
| 2866 } | 2849 } |
| 2867 | 2850 |
| 2868 checkUnnamed646(core.List<api.LiveChatMessage> o) { | 2851 checkUnnamed905(core.List<api.LiveChatMessage> o) { |
| 2869 unittest.expect(o, unittest.hasLength(2)); | 2852 unittest.expect(o, unittest.hasLength(2)); |
| 2870 checkLiveChatMessage(o[0]); | 2853 checkLiveChatMessage(o[0]); |
| 2871 checkLiveChatMessage(o[1]); | 2854 checkLiveChatMessage(o[1]); |
| 2872 } | 2855 } |
| 2873 | 2856 |
| 2874 core.int buildCounterLiveChatMessageListResponse = 0; | 2857 core.int buildCounterLiveChatMessageListResponse = 0; |
| 2875 buildLiveChatMessageListResponse() { | 2858 buildLiveChatMessageListResponse() { |
| 2876 var o = new api.LiveChatMessageListResponse(); | 2859 var o = new api.LiveChatMessageListResponse(); |
| 2877 buildCounterLiveChatMessageListResponse++; | 2860 buildCounterLiveChatMessageListResponse++; |
| 2878 if (buildCounterLiveChatMessageListResponse < 3) { | 2861 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2879 o.etag = "foo"; | 2862 o.etag = "foo"; |
| 2880 o.eventId = "foo"; | 2863 o.eventId = "foo"; |
| 2881 o.items = buildUnnamed646(); | 2864 o.items = buildUnnamed905(); |
| 2882 o.kind = "foo"; | 2865 o.kind = "foo"; |
| 2883 o.nextPageToken = "foo"; | 2866 o.nextPageToken = "foo"; |
| 2884 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2867 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2885 o.pageInfo = buildPageInfo(); | 2868 o.pageInfo = buildPageInfo(); |
| 2886 o.pollingIntervalMillis = 42; | 2869 o.pollingIntervalMillis = 42; |
| 2887 o.tokenPagination = buildTokenPagination(); | 2870 o.tokenPagination = buildTokenPagination(); |
| 2888 o.visitorId = "foo"; | 2871 o.visitorId = "foo"; |
| 2889 } | 2872 } |
| 2890 buildCounterLiveChatMessageListResponse--; | 2873 buildCounterLiveChatMessageListResponse--; |
| 2891 return o; | 2874 return o; |
| 2892 } | 2875 } |
| 2893 | 2876 |
| 2894 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { | 2877 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { |
| 2895 buildCounterLiveChatMessageListResponse++; | 2878 buildCounterLiveChatMessageListResponse++; |
| 2896 if (buildCounterLiveChatMessageListResponse < 3) { | 2879 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2897 unittest.expect(o.etag, unittest.equals('foo')); | 2880 unittest.expect(o.etag, unittest.equals('foo')); |
| 2898 unittest.expect(o.eventId, unittest.equals('foo')); | 2881 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2899 checkUnnamed646(o.items); | 2882 checkUnnamed905(o.items); |
| 2900 unittest.expect(o.kind, unittest.equals('foo')); | 2883 unittest.expect(o.kind, unittest.equals('foo')); |
| 2901 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2884 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2902 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2885 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 2903 checkPageInfo(o.pageInfo); | 2886 checkPageInfo(o.pageInfo); |
| 2904 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); | 2887 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); |
| 2905 checkTokenPagination(o.tokenPagination); | 2888 checkTokenPagination(o.tokenPagination); |
| 2906 unittest.expect(o.visitorId, unittest.equals('foo')); | 2889 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2907 } | 2890 } |
| 2908 buildCounterLiveChatMessageListResponse--; | 2891 buildCounterLiveChatMessageListResponse--; |
| 2909 } | 2892 } |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2959 buildCounterLiveChatModerator++; | 2942 buildCounterLiveChatModerator++; |
| 2960 if (buildCounterLiveChatModerator < 3) { | 2943 if (buildCounterLiveChatModerator < 3) { |
| 2961 unittest.expect(o.etag, unittest.equals('foo')); | 2944 unittest.expect(o.etag, unittest.equals('foo')); |
| 2962 unittest.expect(o.id, unittest.equals('foo')); | 2945 unittest.expect(o.id, unittest.equals('foo')); |
| 2963 unittest.expect(o.kind, unittest.equals('foo')); | 2946 unittest.expect(o.kind, unittest.equals('foo')); |
| 2964 checkLiveChatModeratorSnippet(o.snippet); | 2947 checkLiveChatModeratorSnippet(o.snippet); |
| 2965 } | 2948 } |
| 2966 buildCounterLiveChatModerator--; | 2949 buildCounterLiveChatModerator--; |
| 2967 } | 2950 } |
| 2968 | 2951 |
| 2969 buildUnnamed647() { | 2952 buildUnnamed906() { |
| 2970 var o = new core.List<api.LiveChatModerator>(); | 2953 var o = new core.List<api.LiveChatModerator>(); |
| 2971 o.add(buildLiveChatModerator()); | 2954 o.add(buildLiveChatModerator()); |
| 2972 o.add(buildLiveChatModerator()); | 2955 o.add(buildLiveChatModerator()); |
| 2973 return o; | 2956 return o; |
| 2974 } | 2957 } |
| 2975 | 2958 |
| 2976 checkUnnamed647(core.List<api.LiveChatModerator> o) { | 2959 checkUnnamed906(core.List<api.LiveChatModerator> o) { |
| 2977 unittest.expect(o, unittest.hasLength(2)); | 2960 unittest.expect(o, unittest.hasLength(2)); |
| 2978 checkLiveChatModerator(o[0]); | 2961 checkLiveChatModerator(o[0]); |
| 2979 checkLiveChatModerator(o[1]); | 2962 checkLiveChatModerator(o[1]); |
| 2980 } | 2963 } |
| 2981 | 2964 |
| 2982 core.int buildCounterLiveChatModeratorListResponse = 0; | 2965 core.int buildCounterLiveChatModeratorListResponse = 0; |
| 2983 buildLiveChatModeratorListResponse() { | 2966 buildLiveChatModeratorListResponse() { |
| 2984 var o = new api.LiveChatModeratorListResponse(); | 2967 var o = new api.LiveChatModeratorListResponse(); |
| 2985 buildCounterLiveChatModeratorListResponse++; | 2968 buildCounterLiveChatModeratorListResponse++; |
| 2986 if (buildCounterLiveChatModeratorListResponse < 3) { | 2969 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 2987 o.etag = "foo"; | 2970 o.etag = "foo"; |
| 2988 o.eventId = "foo"; | 2971 o.eventId = "foo"; |
| 2989 o.items = buildUnnamed647(); | 2972 o.items = buildUnnamed906(); |
| 2990 o.kind = "foo"; | 2973 o.kind = "foo"; |
| 2991 o.nextPageToken = "foo"; | 2974 o.nextPageToken = "foo"; |
| 2992 o.pageInfo = buildPageInfo(); | 2975 o.pageInfo = buildPageInfo(); |
| 2993 o.prevPageToken = "foo"; | 2976 o.prevPageToken = "foo"; |
| 2994 o.tokenPagination = buildTokenPagination(); | 2977 o.tokenPagination = buildTokenPagination(); |
| 2995 o.visitorId = "foo"; | 2978 o.visitorId = "foo"; |
| 2996 } | 2979 } |
| 2997 buildCounterLiveChatModeratorListResponse--; | 2980 buildCounterLiveChatModeratorListResponse--; |
| 2998 return o; | 2981 return o; |
| 2999 } | 2982 } |
| 3000 | 2983 |
| 3001 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { | 2984 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { |
| 3002 buildCounterLiveChatModeratorListResponse++; | 2985 buildCounterLiveChatModeratorListResponse++; |
| 3003 if (buildCounterLiveChatModeratorListResponse < 3) { | 2986 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3004 unittest.expect(o.etag, unittest.equals('foo')); | 2987 unittest.expect(o.etag, unittest.equals('foo')); |
| 3005 unittest.expect(o.eventId, unittest.equals('foo')); | 2988 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3006 checkUnnamed647(o.items); | 2989 checkUnnamed906(o.items); |
| 3007 unittest.expect(o.kind, unittest.equals('foo')); | 2990 unittest.expect(o.kind, unittest.equals('foo')); |
| 3008 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2991 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3009 checkPageInfo(o.pageInfo); | 2992 checkPageInfo(o.pageInfo); |
| 3010 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2993 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3011 checkTokenPagination(o.tokenPagination); | 2994 checkTokenPagination(o.tokenPagination); |
| 3012 unittest.expect(o.visitorId, unittest.equals('foo')); | 2995 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3013 } | 2996 } |
| 3014 buildCounterLiveChatModeratorListResponse--; | 2997 buildCounterLiveChatModeratorListResponse--; |
| 3015 } | 2998 } |
| 3016 | 2999 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3124 | 3107 |
| 3125 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 3108 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 3126 buildCounterLiveStreamContentDetails++; | 3109 buildCounterLiveStreamContentDetails++; |
| 3127 if (buildCounterLiveStreamContentDetails < 3) { | 3110 if (buildCounterLiveStreamContentDetails < 3) { |
| 3128 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 3111 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 3129 unittest.expect(o.isReusable, unittest.isTrue); | 3112 unittest.expect(o.isReusable, unittest.isTrue); |
| 3130 } | 3113 } |
| 3131 buildCounterLiveStreamContentDetails--; | 3114 buildCounterLiveStreamContentDetails--; |
| 3132 } | 3115 } |
| 3133 | 3116 |
| 3134 buildUnnamed648() { | 3117 buildUnnamed907() { |
| 3135 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 3118 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
| 3136 o.add(buildLiveStreamConfigurationIssue()); | 3119 o.add(buildLiveStreamConfigurationIssue()); |
| 3137 o.add(buildLiveStreamConfigurationIssue()); | 3120 o.add(buildLiveStreamConfigurationIssue()); |
| 3138 return o; | 3121 return o; |
| 3139 } | 3122 } |
| 3140 | 3123 |
| 3141 checkUnnamed648(core.List<api.LiveStreamConfigurationIssue> o) { | 3124 checkUnnamed907(core.List<api.LiveStreamConfigurationIssue> o) { |
| 3142 unittest.expect(o, unittest.hasLength(2)); | 3125 unittest.expect(o, unittest.hasLength(2)); |
| 3143 checkLiveStreamConfigurationIssue(o[0]); | 3126 checkLiveStreamConfigurationIssue(o[0]); |
| 3144 checkLiveStreamConfigurationIssue(o[1]); | 3127 checkLiveStreamConfigurationIssue(o[1]); |
| 3145 } | 3128 } |
| 3146 | 3129 |
| 3147 core.int buildCounterLiveStreamHealthStatus = 0; | 3130 core.int buildCounterLiveStreamHealthStatus = 0; |
| 3148 buildLiveStreamHealthStatus() { | 3131 buildLiveStreamHealthStatus() { |
| 3149 var o = new api.LiveStreamHealthStatus(); | 3132 var o = new api.LiveStreamHealthStatus(); |
| 3150 buildCounterLiveStreamHealthStatus++; | 3133 buildCounterLiveStreamHealthStatus++; |
| 3151 if (buildCounterLiveStreamHealthStatus < 3) { | 3134 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3152 o.configurationIssues = buildUnnamed648(); | 3135 o.configurationIssues = buildUnnamed907(); |
| 3153 o.lastUpdateTimeSeconds = "foo"; | 3136 o.lastUpdateTimeSeconds = "foo"; |
| 3154 o.status = "foo"; | 3137 o.status = "foo"; |
| 3155 } | 3138 } |
| 3156 buildCounterLiveStreamHealthStatus--; | 3139 buildCounterLiveStreamHealthStatus--; |
| 3157 return o; | 3140 return o; |
| 3158 } | 3141 } |
| 3159 | 3142 |
| 3160 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 3143 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
| 3161 buildCounterLiveStreamHealthStatus++; | 3144 buildCounterLiveStreamHealthStatus++; |
| 3162 if (buildCounterLiveStreamHealthStatus < 3) { | 3145 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3163 checkUnnamed648(o.configurationIssues); | 3146 checkUnnamed907(o.configurationIssues); |
| 3164 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 3147 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
| 3165 unittest.expect(o.status, unittest.equals('foo')); | 3148 unittest.expect(o.status, unittest.equals('foo')); |
| 3166 } | 3149 } |
| 3167 buildCounterLiveStreamHealthStatus--; | 3150 buildCounterLiveStreamHealthStatus--; |
| 3168 } | 3151 } |
| 3169 | 3152 |
| 3170 buildUnnamed649() { | 3153 buildUnnamed908() { |
| 3171 var o = new core.List<api.LiveStream>(); | 3154 var o = new core.List<api.LiveStream>(); |
| 3172 o.add(buildLiveStream()); | 3155 o.add(buildLiveStream()); |
| 3173 o.add(buildLiveStream()); | 3156 o.add(buildLiveStream()); |
| 3174 return o; | 3157 return o; |
| 3175 } | 3158 } |
| 3176 | 3159 |
| 3177 checkUnnamed649(core.List<api.LiveStream> o) { | 3160 checkUnnamed908(core.List<api.LiveStream> o) { |
| 3178 unittest.expect(o, unittest.hasLength(2)); | 3161 unittest.expect(o, unittest.hasLength(2)); |
| 3179 checkLiveStream(o[0]); | 3162 checkLiveStream(o[0]); |
| 3180 checkLiveStream(o[1]); | 3163 checkLiveStream(o[1]); |
| 3181 } | 3164 } |
| 3182 | 3165 |
| 3183 core.int buildCounterLiveStreamListResponse = 0; | 3166 core.int buildCounterLiveStreamListResponse = 0; |
| 3184 buildLiveStreamListResponse() { | 3167 buildLiveStreamListResponse() { |
| 3185 var o = new api.LiveStreamListResponse(); | 3168 var o = new api.LiveStreamListResponse(); |
| 3186 buildCounterLiveStreamListResponse++; | 3169 buildCounterLiveStreamListResponse++; |
| 3187 if (buildCounterLiveStreamListResponse < 3) { | 3170 if (buildCounterLiveStreamListResponse < 3) { |
| 3188 o.etag = "foo"; | 3171 o.etag = "foo"; |
| 3189 o.eventId = "foo"; | 3172 o.eventId = "foo"; |
| 3190 o.items = buildUnnamed649(); | 3173 o.items = buildUnnamed908(); |
| 3191 o.kind = "foo"; | 3174 o.kind = "foo"; |
| 3192 o.nextPageToken = "foo"; | 3175 o.nextPageToken = "foo"; |
| 3193 o.pageInfo = buildPageInfo(); | 3176 o.pageInfo = buildPageInfo(); |
| 3194 o.prevPageToken = "foo"; | 3177 o.prevPageToken = "foo"; |
| 3195 o.tokenPagination = buildTokenPagination(); | 3178 o.tokenPagination = buildTokenPagination(); |
| 3196 o.visitorId = "foo"; | 3179 o.visitorId = "foo"; |
| 3197 } | 3180 } |
| 3198 buildCounterLiveStreamListResponse--; | 3181 buildCounterLiveStreamListResponse--; |
| 3199 return o; | 3182 return o; |
| 3200 } | 3183 } |
| 3201 | 3184 |
| 3202 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 3185 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 3203 buildCounterLiveStreamListResponse++; | 3186 buildCounterLiveStreamListResponse++; |
| 3204 if (buildCounterLiveStreamListResponse < 3) { | 3187 if (buildCounterLiveStreamListResponse < 3) { |
| 3205 unittest.expect(o.etag, unittest.equals('foo')); | 3188 unittest.expect(o.etag, unittest.equals('foo')); |
| 3206 unittest.expect(o.eventId, unittest.equals('foo')); | 3189 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3207 checkUnnamed649(o.items); | 3190 checkUnnamed908(o.items); |
| 3208 unittest.expect(o.kind, unittest.equals('foo')); | 3191 unittest.expect(o.kind, unittest.equals('foo')); |
| 3209 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3192 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3210 checkPageInfo(o.pageInfo); | 3193 checkPageInfo(o.pageInfo); |
| 3211 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3194 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3212 checkTokenPagination(o.tokenPagination); | 3195 checkTokenPagination(o.tokenPagination); |
| 3213 unittest.expect(o.visitorId, unittest.equals('foo')); | 3196 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3214 } | 3197 } |
| 3215 buildCounterLiveStreamListResponse--; | 3198 buildCounterLiveStreamListResponse--; |
| 3216 } | 3199 } |
| 3217 | 3200 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3256 | 3239 |
| 3257 checkLiveStreamStatus(api.LiveStreamStatus o) { | 3240 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 3258 buildCounterLiveStreamStatus++; | 3241 buildCounterLiveStreamStatus++; |
| 3259 if (buildCounterLiveStreamStatus < 3) { | 3242 if (buildCounterLiveStreamStatus < 3) { |
| 3260 checkLiveStreamHealthStatus(o.healthStatus); | 3243 checkLiveStreamHealthStatus(o.healthStatus); |
| 3261 unittest.expect(o.streamStatus, unittest.equals('foo')); | 3244 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 3262 } | 3245 } |
| 3263 buildCounterLiveStreamStatus--; | 3246 buildCounterLiveStreamStatus--; |
| 3264 } | 3247 } |
| 3265 | 3248 |
| 3266 buildUnnamed650() { | 3249 buildUnnamed909() { |
| 3267 var o = new core.List<api.LocalizedString>(); | 3250 var o = new core.List<api.LocalizedString>(); |
| 3268 o.add(buildLocalizedString()); | 3251 o.add(buildLocalizedString()); |
| 3269 o.add(buildLocalizedString()); | 3252 o.add(buildLocalizedString()); |
| 3270 return o; | 3253 return o; |
| 3271 } | 3254 } |
| 3272 | 3255 |
| 3273 checkUnnamed650(core.List<api.LocalizedString> o) { | 3256 checkUnnamed909(core.List<api.LocalizedString> o) { |
| 3274 unittest.expect(o, unittest.hasLength(2)); | 3257 unittest.expect(o, unittest.hasLength(2)); |
| 3275 checkLocalizedString(o[0]); | 3258 checkLocalizedString(o[0]); |
| 3276 checkLocalizedString(o[1]); | 3259 checkLocalizedString(o[1]); |
| 3277 } | 3260 } |
| 3278 | 3261 |
| 3279 core.int buildCounterLocalizedProperty = 0; | 3262 core.int buildCounterLocalizedProperty = 0; |
| 3280 buildLocalizedProperty() { | 3263 buildLocalizedProperty() { |
| 3281 var o = new api.LocalizedProperty(); | 3264 var o = new api.LocalizedProperty(); |
| 3282 buildCounterLocalizedProperty++; | 3265 buildCounterLocalizedProperty++; |
| 3283 if (buildCounterLocalizedProperty < 3) { | 3266 if (buildCounterLocalizedProperty < 3) { |
| 3284 o.default_ = "foo"; | 3267 o.default_ = "foo"; |
| 3285 o.defaultLanguage = buildLanguageTag(); | 3268 o.defaultLanguage = buildLanguageTag(); |
| 3286 o.localized = buildUnnamed650(); | 3269 o.localized = buildUnnamed909(); |
| 3287 } | 3270 } |
| 3288 buildCounterLocalizedProperty--; | 3271 buildCounterLocalizedProperty--; |
| 3289 return o; | 3272 return o; |
| 3290 } | 3273 } |
| 3291 | 3274 |
| 3292 checkLocalizedProperty(api.LocalizedProperty o) { | 3275 checkLocalizedProperty(api.LocalizedProperty o) { |
| 3293 buildCounterLocalizedProperty++; | 3276 buildCounterLocalizedProperty++; |
| 3294 if (buildCounterLocalizedProperty < 3) { | 3277 if (buildCounterLocalizedProperty < 3) { |
| 3295 unittest.expect(o.default_, unittest.equals('foo')); | 3278 unittest.expect(o.default_, unittest.equals('foo')); |
| 3296 checkLanguageTag(o.defaultLanguage); | 3279 checkLanguageTag(o.defaultLanguage); |
| 3297 checkUnnamed650(o.localized); | 3280 checkUnnamed909(o.localized); |
| 3298 } | 3281 } |
| 3299 buildCounterLocalizedProperty--; | 3282 buildCounterLocalizedProperty--; |
| 3300 } | 3283 } |
| 3301 | 3284 |
| 3302 core.int buildCounterLocalizedString = 0; | 3285 core.int buildCounterLocalizedString = 0; |
| 3303 buildLocalizedString() { | 3286 buildLocalizedString() { |
| 3304 var o = new api.LocalizedString(); | 3287 var o = new api.LocalizedString(); |
| 3305 buildCounterLocalizedString++; | 3288 buildCounterLocalizedString++; |
| 3306 if (buildCounterLocalizedString < 3) { | 3289 if (buildCounterLocalizedString < 3) { |
| 3307 o.language = "foo"; | 3290 o.language = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3357 | 3340 |
| 3358 checkPageInfo(api.PageInfo o) { | 3341 checkPageInfo(api.PageInfo o) { |
| 3359 buildCounterPageInfo++; | 3342 buildCounterPageInfo++; |
| 3360 if (buildCounterPageInfo < 3) { | 3343 if (buildCounterPageInfo < 3) { |
| 3361 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 3344 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
| 3362 unittest.expect(o.totalResults, unittest.equals(42)); | 3345 unittest.expect(o.totalResults, unittest.equals(42)); |
| 3363 } | 3346 } |
| 3364 buildCounterPageInfo--; | 3347 buildCounterPageInfo--; |
| 3365 } | 3348 } |
| 3366 | 3349 |
| 3367 buildUnnamed651() { | 3350 buildUnnamed910() { |
| 3368 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 3351 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
| 3369 o["x"] = buildPlaylistLocalization(); | 3352 o["x"] = buildPlaylistLocalization(); |
| 3370 o["y"] = buildPlaylistLocalization(); | 3353 o["y"] = buildPlaylistLocalization(); |
| 3371 return o; | 3354 return o; |
| 3372 } | 3355 } |
| 3373 | 3356 |
| 3374 checkUnnamed651(core.Map<core.String, api.PlaylistLocalization> o) { | 3357 checkUnnamed910(core.Map<core.String, api.PlaylistLocalization> o) { |
| 3375 unittest.expect(o, unittest.hasLength(2)); | 3358 unittest.expect(o, unittest.hasLength(2)); |
| 3376 checkPlaylistLocalization(o["x"]); | 3359 checkPlaylistLocalization(o["x"]); |
| 3377 checkPlaylistLocalization(o["y"]); | 3360 checkPlaylistLocalization(o["y"]); |
| 3378 } | 3361 } |
| 3379 | 3362 |
| 3380 core.int buildCounterPlaylist = 0; | 3363 core.int buildCounterPlaylist = 0; |
| 3381 buildPlaylist() { | 3364 buildPlaylist() { |
| 3382 var o = new api.Playlist(); | 3365 var o = new api.Playlist(); |
| 3383 buildCounterPlaylist++; | 3366 buildCounterPlaylist++; |
| 3384 if (buildCounterPlaylist < 3) { | 3367 if (buildCounterPlaylist < 3) { |
| 3385 o.contentDetails = buildPlaylistContentDetails(); | 3368 o.contentDetails = buildPlaylistContentDetails(); |
| 3386 o.etag = "foo"; | 3369 o.etag = "foo"; |
| 3387 o.id = "foo"; | 3370 o.id = "foo"; |
| 3388 o.kind = "foo"; | 3371 o.kind = "foo"; |
| 3389 o.localizations = buildUnnamed651(); | 3372 o.localizations = buildUnnamed910(); |
| 3390 o.player = buildPlaylistPlayer(); | 3373 o.player = buildPlaylistPlayer(); |
| 3391 o.snippet = buildPlaylistSnippet(); | 3374 o.snippet = buildPlaylistSnippet(); |
| 3392 o.status = buildPlaylistStatus(); | 3375 o.status = buildPlaylistStatus(); |
| 3393 } | 3376 } |
| 3394 buildCounterPlaylist--; | 3377 buildCounterPlaylist--; |
| 3395 return o; | 3378 return o; |
| 3396 } | 3379 } |
| 3397 | 3380 |
| 3398 checkPlaylist(api.Playlist o) { | 3381 checkPlaylist(api.Playlist o) { |
| 3399 buildCounterPlaylist++; | 3382 buildCounterPlaylist++; |
| 3400 if (buildCounterPlaylist < 3) { | 3383 if (buildCounterPlaylist < 3) { |
| 3401 checkPlaylistContentDetails(o.contentDetails); | 3384 checkPlaylistContentDetails(o.contentDetails); |
| 3402 unittest.expect(o.etag, unittest.equals('foo')); | 3385 unittest.expect(o.etag, unittest.equals('foo')); |
| 3403 unittest.expect(o.id, unittest.equals('foo')); | 3386 unittest.expect(o.id, unittest.equals('foo')); |
| 3404 unittest.expect(o.kind, unittest.equals('foo')); | 3387 unittest.expect(o.kind, unittest.equals('foo')); |
| 3405 checkUnnamed651(o.localizations); | 3388 checkUnnamed910(o.localizations); |
| 3406 checkPlaylistPlayer(o.player); | 3389 checkPlaylistPlayer(o.player); |
| 3407 checkPlaylistSnippet(o.snippet); | 3390 checkPlaylistSnippet(o.snippet); |
| 3408 checkPlaylistStatus(o.status); | 3391 checkPlaylistStatus(o.status); |
| 3409 } | 3392 } |
| 3410 buildCounterPlaylist--; | 3393 buildCounterPlaylist--; |
| 3411 } | 3394 } |
| 3412 | 3395 |
| 3413 core.int buildCounterPlaylistContentDetails = 0; | 3396 core.int buildCounterPlaylistContentDetails = 0; |
| 3414 buildPlaylistContentDetails() { | 3397 buildPlaylistContentDetails() { |
| 3415 var o = new api.PlaylistContentDetails(); | 3398 var o = new api.PlaylistContentDetails(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3476 buildCounterPlaylistItemContentDetails++; | 3459 buildCounterPlaylistItemContentDetails++; |
| 3477 if (buildCounterPlaylistItemContentDetails < 3) { | 3460 if (buildCounterPlaylistItemContentDetails < 3) { |
| 3478 unittest.expect(o.endAt, unittest.equals('foo')); | 3461 unittest.expect(o.endAt, unittest.equals('foo')); |
| 3479 unittest.expect(o.note, unittest.equals('foo')); | 3462 unittest.expect(o.note, unittest.equals('foo')); |
| 3480 unittest.expect(o.startAt, unittest.equals('foo')); | 3463 unittest.expect(o.startAt, unittest.equals('foo')); |
| 3481 unittest.expect(o.videoId, unittest.equals('foo')); | 3464 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3482 } | 3465 } |
| 3483 buildCounterPlaylistItemContentDetails--; | 3466 buildCounterPlaylistItemContentDetails--; |
| 3484 } | 3467 } |
| 3485 | 3468 |
| 3486 buildUnnamed652() { | 3469 buildUnnamed911() { |
| 3487 var o = new core.List<api.PlaylistItem>(); | 3470 var o = new core.List<api.PlaylistItem>(); |
| 3488 o.add(buildPlaylistItem()); | 3471 o.add(buildPlaylistItem()); |
| 3489 o.add(buildPlaylistItem()); | 3472 o.add(buildPlaylistItem()); |
| 3490 return o; | 3473 return o; |
| 3491 } | 3474 } |
| 3492 | 3475 |
| 3493 checkUnnamed652(core.List<api.PlaylistItem> o) { | 3476 checkUnnamed911(core.List<api.PlaylistItem> o) { |
| 3494 unittest.expect(o, unittest.hasLength(2)); | 3477 unittest.expect(o, unittest.hasLength(2)); |
| 3495 checkPlaylistItem(o[0]); | 3478 checkPlaylistItem(o[0]); |
| 3496 checkPlaylistItem(o[1]); | 3479 checkPlaylistItem(o[1]); |
| 3497 } | 3480 } |
| 3498 | 3481 |
| 3499 core.int buildCounterPlaylistItemListResponse = 0; | 3482 core.int buildCounterPlaylistItemListResponse = 0; |
| 3500 buildPlaylistItemListResponse() { | 3483 buildPlaylistItemListResponse() { |
| 3501 var o = new api.PlaylistItemListResponse(); | 3484 var o = new api.PlaylistItemListResponse(); |
| 3502 buildCounterPlaylistItemListResponse++; | 3485 buildCounterPlaylistItemListResponse++; |
| 3503 if (buildCounterPlaylistItemListResponse < 3) { | 3486 if (buildCounterPlaylistItemListResponse < 3) { |
| 3504 o.etag = "foo"; | 3487 o.etag = "foo"; |
| 3505 o.eventId = "foo"; | 3488 o.eventId = "foo"; |
| 3506 o.items = buildUnnamed652(); | 3489 o.items = buildUnnamed911(); |
| 3507 o.kind = "foo"; | 3490 o.kind = "foo"; |
| 3508 o.nextPageToken = "foo"; | 3491 o.nextPageToken = "foo"; |
| 3509 o.pageInfo = buildPageInfo(); | 3492 o.pageInfo = buildPageInfo(); |
| 3510 o.prevPageToken = "foo"; | 3493 o.prevPageToken = "foo"; |
| 3511 o.tokenPagination = buildTokenPagination(); | 3494 o.tokenPagination = buildTokenPagination(); |
| 3512 o.visitorId = "foo"; | 3495 o.visitorId = "foo"; |
| 3513 } | 3496 } |
| 3514 buildCounterPlaylistItemListResponse--; | 3497 buildCounterPlaylistItemListResponse--; |
| 3515 return o; | 3498 return o; |
| 3516 } | 3499 } |
| 3517 | 3500 |
| 3518 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3501 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 3519 buildCounterPlaylistItemListResponse++; | 3502 buildCounterPlaylistItemListResponse++; |
| 3520 if (buildCounterPlaylistItemListResponse < 3) { | 3503 if (buildCounterPlaylistItemListResponse < 3) { |
| 3521 unittest.expect(o.etag, unittest.equals('foo')); | 3504 unittest.expect(o.etag, unittest.equals('foo')); |
| 3522 unittest.expect(o.eventId, unittest.equals('foo')); | 3505 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3523 checkUnnamed652(o.items); | 3506 checkUnnamed911(o.items); |
| 3524 unittest.expect(o.kind, unittest.equals('foo')); | 3507 unittest.expect(o.kind, unittest.equals('foo')); |
| 3525 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3508 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3526 checkPageInfo(o.pageInfo); | 3509 checkPageInfo(o.pageInfo); |
| 3527 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3510 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3528 checkTokenPagination(o.tokenPagination); | 3511 checkTokenPagination(o.tokenPagination); |
| 3529 unittest.expect(o.visitorId, unittest.equals('foo')); | 3512 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3530 } | 3513 } |
| 3531 buildCounterPlaylistItemListResponse--; | 3514 buildCounterPlaylistItemListResponse--; |
| 3532 } | 3515 } |
| 3533 | 3516 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3578 } | 3561 } |
| 3579 | 3562 |
| 3580 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3563 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 3581 buildCounterPlaylistItemStatus++; | 3564 buildCounterPlaylistItemStatus++; |
| 3582 if (buildCounterPlaylistItemStatus < 3) { | 3565 if (buildCounterPlaylistItemStatus < 3) { |
| 3583 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3566 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3584 } | 3567 } |
| 3585 buildCounterPlaylistItemStatus--; | 3568 buildCounterPlaylistItemStatus--; |
| 3586 } | 3569 } |
| 3587 | 3570 |
| 3588 buildUnnamed653() { | 3571 buildUnnamed912() { |
| 3589 var o = new core.List<api.Playlist>(); | 3572 var o = new core.List<api.Playlist>(); |
| 3590 o.add(buildPlaylist()); | 3573 o.add(buildPlaylist()); |
| 3591 o.add(buildPlaylist()); | 3574 o.add(buildPlaylist()); |
| 3592 return o; | 3575 return o; |
| 3593 } | 3576 } |
| 3594 | 3577 |
| 3595 checkUnnamed653(core.List<api.Playlist> o) { | 3578 checkUnnamed912(core.List<api.Playlist> o) { |
| 3596 unittest.expect(o, unittest.hasLength(2)); | 3579 unittest.expect(o, unittest.hasLength(2)); |
| 3597 checkPlaylist(o[0]); | 3580 checkPlaylist(o[0]); |
| 3598 checkPlaylist(o[1]); | 3581 checkPlaylist(o[1]); |
| 3599 } | 3582 } |
| 3600 | 3583 |
| 3601 core.int buildCounterPlaylistListResponse = 0; | 3584 core.int buildCounterPlaylistListResponse = 0; |
| 3602 buildPlaylistListResponse() { | 3585 buildPlaylistListResponse() { |
| 3603 var o = new api.PlaylistListResponse(); | 3586 var o = new api.PlaylistListResponse(); |
| 3604 buildCounterPlaylistListResponse++; | 3587 buildCounterPlaylistListResponse++; |
| 3605 if (buildCounterPlaylistListResponse < 3) { | 3588 if (buildCounterPlaylistListResponse < 3) { |
| 3606 o.etag = "foo"; | 3589 o.etag = "foo"; |
| 3607 o.eventId = "foo"; | 3590 o.eventId = "foo"; |
| 3608 o.items = buildUnnamed653(); | 3591 o.items = buildUnnamed912(); |
| 3609 o.kind = "foo"; | 3592 o.kind = "foo"; |
| 3610 o.nextPageToken = "foo"; | 3593 o.nextPageToken = "foo"; |
| 3611 o.pageInfo = buildPageInfo(); | 3594 o.pageInfo = buildPageInfo(); |
| 3612 o.prevPageToken = "foo"; | 3595 o.prevPageToken = "foo"; |
| 3613 o.tokenPagination = buildTokenPagination(); | 3596 o.tokenPagination = buildTokenPagination(); |
| 3614 o.visitorId = "foo"; | 3597 o.visitorId = "foo"; |
| 3615 } | 3598 } |
| 3616 buildCounterPlaylistListResponse--; | 3599 buildCounterPlaylistListResponse--; |
| 3617 return o; | 3600 return o; |
| 3618 } | 3601 } |
| 3619 | 3602 |
| 3620 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3603 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 3621 buildCounterPlaylistListResponse++; | 3604 buildCounterPlaylistListResponse++; |
| 3622 if (buildCounterPlaylistListResponse < 3) { | 3605 if (buildCounterPlaylistListResponse < 3) { |
| 3623 unittest.expect(o.etag, unittest.equals('foo')); | 3606 unittest.expect(o.etag, unittest.equals('foo')); |
| 3624 unittest.expect(o.eventId, unittest.equals('foo')); | 3607 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3625 checkUnnamed653(o.items); | 3608 checkUnnamed912(o.items); |
| 3626 unittest.expect(o.kind, unittest.equals('foo')); | 3609 unittest.expect(o.kind, unittest.equals('foo')); |
| 3627 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3610 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3628 checkPageInfo(o.pageInfo); | 3611 checkPageInfo(o.pageInfo); |
| 3629 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3612 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3630 checkTokenPagination(o.tokenPagination); | 3613 checkTokenPagination(o.tokenPagination); |
| 3631 unittest.expect(o.visitorId, unittest.equals('foo')); | 3614 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3632 } | 3615 } |
| 3633 buildCounterPlaylistListResponse--; | 3616 buildCounterPlaylistListResponse--; |
| 3634 } | 3617 } |
| 3635 | 3618 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3666 } | 3649 } |
| 3667 | 3650 |
| 3668 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3651 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 3669 buildCounterPlaylistPlayer++; | 3652 buildCounterPlaylistPlayer++; |
| 3670 if (buildCounterPlaylistPlayer < 3) { | 3653 if (buildCounterPlaylistPlayer < 3) { |
| 3671 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3654 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 3672 } | 3655 } |
| 3673 buildCounterPlaylistPlayer--; | 3656 buildCounterPlaylistPlayer--; |
| 3674 } | 3657 } |
| 3675 | 3658 |
| 3676 buildUnnamed654() { | 3659 buildUnnamed913() { |
| 3677 var o = new core.List<core.String>(); | 3660 var o = new core.List<core.String>(); |
| 3678 o.add("foo"); | 3661 o.add("foo"); |
| 3679 o.add("foo"); | 3662 o.add("foo"); |
| 3680 return o; | 3663 return o; |
| 3681 } | 3664 } |
| 3682 | 3665 |
| 3683 checkUnnamed654(core.List<core.String> o) { | 3666 checkUnnamed913(core.List<core.String> o) { |
| 3684 unittest.expect(o, unittest.hasLength(2)); | 3667 unittest.expect(o, unittest.hasLength(2)); |
| 3685 unittest.expect(o[0], unittest.equals('foo')); | 3668 unittest.expect(o[0], unittest.equals('foo')); |
| 3686 unittest.expect(o[1], unittest.equals('foo')); | 3669 unittest.expect(o[1], unittest.equals('foo')); |
| 3687 } | 3670 } |
| 3688 | 3671 |
| 3689 core.int buildCounterPlaylistSnippet = 0; | 3672 core.int buildCounterPlaylistSnippet = 0; |
| 3690 buildPlaylistSnippet() { | 3673 buildPlaylistSnippet() { |
| 3691 var o = new api.PlaylistSnippet(); | 3674 var o = new api.PlaylistSnippet(); |
| 3692 buildCounterPlaylistSnippet++; | 3675 buildCounterPlaylistSnippet++; |
| 3693 if (buildCounterPlaylistSnippet < 3) { | 3676 if (buildCounterPlaylistSnippet < 3) { |
| 3694 o.channelId = "foo"; | 3677 o.channelId = "foo"; |
| 3695 o.channelTitle = "foo"; | 3678 o.channelTitle = "foo"; |
| 3696 o.defaultLanguage = "foo"; | 3679 o.defaultLanguage = "foo"; |
| 3697 o.description = "foo"; | 3680 o.description = "foo"; |
| 3698 o.localized = buildPlaylistLocalization(); | 3681 o.localized = buildPlaylistLocalization(); |
| 3699 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3682 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3700 o.tags = buildUnnamed654(); | 3683 o.tags = buildUnnamed913(); |
| 3701 o.thumbnails = buildThumbnailDetails(); | 3684 o.thumbnails = buildThumbnailDetails(); |
| 3702 o.title = "foo"; | 3685 o.title = "foo"; |
| 3703 } | 3686 } |
| 3704 buildCounterPlaylistSnippet--; | 3687 buildCounterPlaylistSnippet--; |
| 3705 return o; | 3688 return o; |
| 3706 } | 3689 } |
| 3707 | 3690 |
| 3708 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3691 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 3709 buildCounterPlaylistSnippet++; | 3692 buildCounterPlaylistSnippet++; |
| 3710 if (buildCounterPlaylistSnippet < 3) { | 3693 if (buildCounterPlaylistSnippet < 3) { |
| 3711 unittest.expect(o.channelId, unittest.equals('foo')); | 3694 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3712 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3695 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3713 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3696 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 3714 unittest.expect(o.description, unittest.equals('foo')); | 3697 unittest.expect(o.description, unittest.equals('foo')); |
| 3715 checkPlaylistLocalization(o.localized); | 3698 checkPlaylistLocalization(o.localized); |
| 3716 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3699 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3717 checkUnnamed654(o.tags); | 3700 checkUnnamed913(o.tags); |
| 3718 checkThumbnailDetails(o.thumbnails); | 3701 checkThumbnailDetails(o.thumbnails); |
| 3719 unittest.expect(o.title, unittest.equals('foo')); | 3702 unittest.expect(o.title, unittest.equals('foo')); |
| 3720 } | 3703 } |
| 3721 buildCounterPlaylistSnippet--; | 3704 buildCounterPlaylistSnippet--; |
| 3722 } | 3705 } |
| 3723 | 3706 |
| 3724 core.int buildCounterPlaylistStatus = 0; | 3707 core.int buildCounterPlaylistStatus = 0; |
| 3725 buildPlaylistStatus() { | 3708 buildPlaylistStatus() { |
| 3726 var o = new api.PlaylistStatus(); | 3709 var o = new api.PlaylistStatus(); |
| 3727 buildCounterPlaylistStatus++; | 3710 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3829 buildCounterResourceId++; | 3812 buildCounterResourceId++; |
| 3830 if (buildCounterResourceId < 3) { | 3813 if (buildCounterResourceId < 3) { |
| 3831 unittest.expect(o.channelId, unittest.equals('foo')); | 3814 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3832 unittest.expect(o.kind, unittest.equals('foo')); | 3815 unittest.expect(o.kind, unittest.equals('foo')); |
| 3833 unittest.expect(o.playlistId, unittest.equals('foo')); | 3816 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 3834 unittest.expect(o.videoId, unittest.equals('foo')); | 3817 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3835 } | 3818 } |
| 3836 buildCounterResourceId--; | 3819 buildCounterResourceId--; |
| 3837 } | 3820 } |
| 3838 | 3821 |
| 3839 buildUnnamed655() { | 3822 buildUnnamed914() { |
| 3840 var o = new core.List<api.SearchResult>(); | 3823 var o = new core.List<api.SearchResult>(); |
| 3841 o.add(buildSearchResult()); | 3824 o.add(buildSearchResult()); |
| 3842 o.add(buildSearchResult()); | 3825 o.add(buildSearchResult()); |
| 3843 return o; | 3826 return o; |
| 3844 } | 3827 } |
| 3845 | 3828 |
| 3846 checkUnnamed655(core.List<api.SearchResult> o) { | 3829 checkUnnamed914(core.List<api.SearchResult> o) { |
| 3847 unittest.expect(o, unittest.hasLength(2)); | 3830 unittest.expect(o, unittest.hasLength(2)); |
| 3848 checkSearchResult(o[0]); | 3831 checkSearchResult(o[0]); |
| 3849 checkSearchResult(o[1]); | 3832 checkSearchResult(o[1]); |
| 3850 } | 3833 } |
| 3851 | 3834 |
| 3852 core.int buildCounterSearchListResponse = 0; | 3835 core.int buildCounterSearchListResponse = 0; |
| 3853 buildSearchListResponse() { | 3836 buildSearchListResponse() { |
| 3854 var o = new api.SearchListResponse(); | 3837 var o = new api.SearchListResponse(); |
| 3855 buildCounterSearchListResponse++; | 3838 buildCounterSearchListResponse++; |
| 3856 if (buildCounterSearchListResponse < 3) { | 3839 if (buildCounterSearchListResponse < 3) { |
| 3857 o.etag = "foo"; | 3840 o.etag = "foo"; |
| 3858 o.eventId = "foo"; | 3841 o.eventId = "foo"; |
| 3859 o.items = buildUnnamed655(); | 3842 o.items = buildUnnamed914(); |
| 3860 o.kind = "foo"; | 3843 o.kind = "foo"; |
| 3861 o.nextPageToken = "foo"; | 3844 o.nextPageToken = "foo"; |
| 3862 o.pageInfo = buildPageInfo(); | 3845 o.pageInfo = buildPageInfo(); |
| 3863 o.prevPageToken = "foo"; | 3846 o.prevPageToken = "foo"; |
| 3847 o.regionCode = "foo"; |
| 3864 o.tokenPagination = buildTokenPagination(); | 3848 o.tokenPagination = buildTokenPagination(); |
| 3865 o.visitorId = "foo"; | 3849 o.visitorId = "foo"; |
| 3866 } | 3850 } |
| 3867 buildCounterSearchListResponse--; | 3851 buildCounterSearchListResponse--; |
| 3868 return o; | 3852 return o; |
| 3869 } | 3853 } |
| 3870 | 3854 |
| 3871 checkSearchListResponse(api.SearchListResponse o) { | 3855 checkSearchListResponse(api.SearchListResponse o) { |
| 3872 buildCounterSearchListResponse++; | 3856 buildCounterSearchListResponse++; |
| 3873 if (buildCounterSearchListResponse < 3) { | 3857 if (buildCounterSearchListResponse < 3) { |
| 3874 unittest.expect(o.etag, unittest.equals('foo')); | 3858 unittest.expect(o.etag, unittest.equals('foo')); |
| 3875 unittest.expect(o.eventId, unittest.equals('foo')); | 3859 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3876 checkUnnamed655(o.items); | 3860 checkUnnamed914(o.items); |
| 3877 unittest.expect(o.kind, unittest.equals('foo')); | 3861 unittest.expect(o.kind, unittest.equals('foo')); |
| 3878 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3862 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3879 checkPageInfo(o.pageInfo); | 3863 checkPageInfo(o.pageInfo); |
| 3880 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3864 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3865 unittest.expect(o.regionCode, unittest.equals('foo')); |
| 3881 checkTokenPagination(o.tokenPagination); | 3866 checkTokenPagination(o.tokenPagination); |
| 3882 unittest.expect(o.visitorId, unittest.equals('foo')); | 3867 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3883 } | 3868 } |
| 3884 buildCounterSearchListResponse--; | 3869 buildCounterSearchListResponse--; |
| 3885 } | 3870 } |
| 3886 | 3871 |
| 3887 core.int buildCounterSearchResult = 0; | 3872 core.int buildCounterSearchResult = 0; |
| 3888 buildSearchResult() { | 3873 buildSearchResult() { |
| 3889 var o = new api.SearchResult(); | 3874 var o = new api.SearchResult(); |
| 3890 buildCounterSearchResult++; | 3875 buildCounterSearchResult++; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3958 buildCounterSponsor++; | 3943 buildCounterSponsor++; |
| 3959 if (buildCounterSponsor < 3) { | 3944 if (buildCounterSponsor < 3) { |
| 3960 unittest.expect(o.etag, unittest.equals('foo')); | 3945 unittest.expect(o.etag, unittest.equals('foo')); |
| 3961 unittest.expect(o.id, unittest.equals('foo')); | 3946 unittest.expect(o.id, unittest.equals('foo')); |
| 3962 unittest.expect(o.kind, unittest.equals('foo')); | 3947 unittest.expect(o.kind, unittest.equals('foo')); |
| 3963 checkSponsorSnippet(o.snippet); | 3948 checkSponsorSnippet(o.snippet); |
| 3964 } | 3949 } |
| 3965 buildCounterSponsor--; | 3950 buildCounterSponsor--; |
| 3966 } | 3951 } |
| 3967 | 3952 |
| 3968 buildUnnamed656() { | 3953 buildUnnamed915() { |
| 3969 var o = new core.List<api.Sponsor>(); | 3954 var o = new core.List<api.Sponsor>(); |
| 3970 o.add(buildSponsor()); | 3955 o.add(buildSponsor()); |
| 3971 o.add(buildSponsor()); | 3956 o.add(buildSponsor()); |
| 3972 return o; | 3957 return o; |
| 3973 } | 3958 } |
| 3974 | 3959 |
| 3975 checkUnnamed656(core.List<api.Sponsor> o) { | 3960 checkUnnamed915(core.List<api.Sponsor> o) { |
| 3976 unittest.expect(o, unittest.hasLength(2)); | 3961 unittest.expect(o, unittest.hasLength(2)); |
| 3977 checkSponsor(o[0]); | 3962 checkSponsor(o[0]); |
| 3978 checkSponsor(o[1]); | 3963 checkSponsor(o[1]); |
| 3979 } | 3964 } |
| 3980 | 3965 |
| 3981 core.int buildCounterSponsorListResponse = 0; | 3966 core.int buildCounterSponsorListResponse = 0; |
| 3982 buildSponsorListResponse() { | 3967 buildSponsorListResponse() { |
| 3983 var o = new api.SponsorListResponse(); | 3968 var o = new api.SponsorListResponse(); |
| 3984 buildCounterSponsorListResponse++; | 3969 buildCounterSponsorListResponse++; |
| 3985 if (buildCounterSponsorListResponse < 3) { | 3970 if (buildCounterSponsorListResponse < 3) { |
| 3986 o.etag = "foo"; | 3971 o.etag = "foo"; |
| 3987 o.eventId = "foo"; | 3972 o.eventId = "foo"; |
| 3988 o.items = buildUnnamed656(); | 3973 o.items = buildUnnamed915(); |
| 3989 o.kind = "foo"; | 3974 o.kind = "foo"; |
| 3990 o.nextPageToken = "foo"; | 3975 o.nextPageToken = "foo"; |
| 3991 o.pageInfo = buildPageInfo(); | 3976 o.pageInfo = buildPageInfo(); |
| 3992 o.tokenPagination = buildTokenPagination(); | 3977 o.tokenPagination = buildTokenPagination(); |
| 3993 o.visitorId = "foo"; | 3978 o.visitorId = "foo"; |
| 3994 } | 3979 } |
| 3995 buildCounterSponsorListResponse--; | 3980 buildCounterSponsorListResponse--; |
| 3996 return o; | 3981 return o; |
| 3997 } | 3982 } |
| 3998 | 3983 |
| 3999 checkSponsorListResponse(api.SponsorListResponse o) { | 3984 checkSponsorListResponse(api.SponsorListResponse o) { |
| 4000 buildCounterSponsorListResponse++; | 3985 buildCounterSponsorListResponse++; |
| 4001 if (buildCounterSponsorListResponse < 3) { | 3986 if (buildCounterSponsorListResponse < 3) { |
| 4002 unittest.expect(o.etag, unittest.equals('foo')); | 3987 unittest.expect(o.etag, unittest.equals('foo')); |
| 4003 unittest.expect(o.eventId, unittest.equals('foo')); | 3988 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4004 checkUnnamed656(o.items); | 3989 checkUnnamed915(o.items); |
| 4005 unittest.expect(o.kind, unittest.equals('foo')); | 3990 unittest.expect(o.kind, unittest.equals('foo')); |
| 4006 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3991 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4007 checkPageInfo(o.pageInfo); | 3992 checkPageInfo(o.pageInfo); |
| 4008 checkTokenPagination(o.tokenPagination); | 3993 checkTokenPagination(o.tokenPagination); |
| 4009 unittest.expect(o.visitorId, unittest.equals('foo')); | 3994 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4010 } | 3995 } |
| 4011 buildCounterSponsorListResponse--; | 3996 buildCounterSponsorListResponse--; |
| 4012 } | 3997 } |
| 4013 | 3998 |
| 4014 core.int buildCounterSponsorSnippet = 0; | 3999 core.int buildCounterSponsorSnippet = 0; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4079 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 4064 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 4080 buildCounterSubscriptionContentDetails++; | 4065 buildCounterSubscriptionContentDetails++; |
| 4081 if (buildCounterSubscriptionContentDetails < 3) { | 4066 if (buildCounterSubscriptionContentDetails < 3) { |
| 4082 unittest.expect(o.activityType, unittest.equals('foo')); | 4067 unittest.expect(o.activityType, unittest.equals('foo')); |
| 4083 unittest.expect(o.newItemCount, unittest.equals(42)); | 4068 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 4084 unittest.expect(o.totalItemCount, unittest.equals(42)); | 4069 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 4085 } | 4070 } |
| 4086 buildCounterSubscriptionContentDetails--; | 4071 buildCounterSubscriptionContentDetails--; |
| 4087 } | 4072 } |
| 4088 | 4073 |
| 4089 buildUnnamed657() { | 4074 buildUnnamed916() { |
| 4090 var o = new core.List<api.Subscription>(); | 4075 var o = new core.List<api.Subscription>(); |
| 4091 o.add(buildSubscription()); | 4076 o.add(buildSubscription()); |
| 4092 o.add(buildSubscription()); | 4077 o.add(buildSubscription()); |
| 4093 return o; | 4078 return o; |
| 4094 } | 4079 } |
| 4095 | 4080 |
| 4096 checkUnnamed657(core.List<api.Subscription> o) { | 4081 checkUnnamed916(core.List<api.Subscription> o) { |
| 4097 unittest.expect(o, unittest.hasLength(2)); | 4082 unittest.expect(o, unittest.hasLength(2)); |
| 4098 checkSubscription(o[0]); | 4083 checkSubscription(o[0]); |
| 4099 checkSubscription(o[1]); | 4084 checkSubscription(o[1]); |
| 4100 } | 4085 } |
| 4101 | 4086 |
| 4102 core.int buildCounterSubscriptionListResponse = 0; | 4087 core.int buildCounterSubscriptionListResponse = 0; |
| 4103 buildSubscriptionListResponse() { | 4088 buildSubscriptionListResponse() { |
| 4104 var o = new api.SubscriptionListResponse(); | 4089 var o = new api.SubscriptionListResponse(); |
| 4105 buildCounterSubscriptionListResponse++; | 4090 buildCounterSubscriptionListResponse++; |
| 4106 if (buildCounterSubscriptionListResponse < 3) { | 4091 if (buildCounterSubscriptionListResponse < 3) { |
| 4107 o.etag = "foo"; | 4092 o.etag = "foo"; |
| 4108 o.eventId = "foo"; | 4093 o.eventId = "foo"; |
| 4109 o.items = buildUnnamed657(); | 4094 o.items = buildUnnamed916(); |
| 4110 o.kind = "foo"; | 4095 o.kind = "foo"; |
| 4111 o.nextPageToken = "foo"; | 4096 o.nextPageToken = "foo"; |
| 4112 o.pageInfo = buildPageInfo(); | 4097 o.pageInfo = buildPageInfo(); |
| 4113 o.prevPageToken = "foo"; | 4098 o.prevPageToken = "foo"; |
| 4114 o.tokenPagination = buildTokenPagination(); | 4099 o.tokenPagination = buildTokenPagination(); |
| 4115 o.visitorId = "foo"; | 4100 o.visitorId = "foo"; |
| 4116 } | 4101 } |
| 4117 buildCounterSubscriptionListResponse--; | 4102 buildCounterSubscriptionListResponse--; |
| 4118 return o; | 4103 return o; |
| 4119 } | 4104 } |
| 4120 | 4105 |
| 4121 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 4106 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 4122 buildCounterSubscriptionListResponse++; | 4107 buildCounterSubscriptionListResponse++; |
| 4123 if (buildCounterSubscriptionListResponse < 3) { | 4108 if (buildCounterSubscriptionListResponse < 3) { |
| 4124 unittest.expect(o.etag, unittest.equals('foo')); | 4109 unittest.expect(o.etag, unittest.equals('foo')); |
| 4125 unittest.expect(o.eventId, unittest.equals('foo')); | 4110 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4126 checkUnnamed657(o.items); | 4111 checkUnnamed916(o.items); |
| 4127 unittest.expect(o.kind, unittest.equals('foo')); | 4112 unittest.expect(o.kind, unittest.equals('foo')); |
| 4128 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4113 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4129 checkPageInfo(o.pageInfo); | 4114 checkPageInfo(o.pageInfo); |
| 4130 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4115 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4131 checkTokenPagination(o.tokenPagination); | 4116 checkTokenPagination(o.tokenPagination); |
| 4132 unittest.expect(o.visitorId, unittest.equals('foo')); | 4117 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4133 } | 4118 } |
| 4134 buildCounterSubscriptionListResponse--; | 4119 buildCounterSubscriptionListResponse--; |
| 4135 } | 4120 } |
| 4136 | 4121 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4233 if (buildCounterThumbnailDetails < 3) { | 4218 if (buildCounterThumbnailDetails < 3) { |
| 4234 checkThumbnail(o.default_); | 4219 checkThumbnail(o.default_); |
| 4235 checkThumbnail(o.high); | 4220 checkThumbnail(o.high); |
| 4236 checkThumbnail(o.maxres); | 4221 checkThumbnail(o.maxres); |
| 4237 checkThumbnail(o.medium); | 4222 checkThumbnail(o.medium); |
| 4238 checkThumbnail(o.standard); | 4223 checkThumbnail(o.standard); |
| 4239 } | 4224 } |
| 4240 buildCounterThumbnailDetails--; | 4225 buildCounterThumbnailDetails--; |
| 4241 } | 4226 } |
| 4242 | 4227 |
| 4243 buildUnnamed658() { | 4228 buildUnnamed917() { |
| 4244 var o = new core.List<api.ThumbnailDetails>(); | 4229 var o = new core.List<api.ThumbnailDetails>(); |
| 4245 o.add(buildThumbnailDetails()); | 4230 o.add(buildThumbnailDetails()); |
| 4246 o.add(buildThumbnailDetails()); | 4231 o.add(buildThumbnailDetails()); |
| 4247 return o; | 4232 return o; |
| 4248 } | 4233 } |
| 4249 | 4234 |
| 4250 checkUnnamed658(core.List<api.ThumbnailDetails> o) { | 4235 checkUnnamed917(core.List<api.ThumbnailDetails> o) { |
| 4251 unittest.expect(o, unittest.hasLength(2)); | 4236 unittest.expect(o, unittest.hasLength(2)); |
| 4252 checkThumbnailDetails(o[0]); | 4237 checkThumbnailDetails(o[0]); |
| 4253 checkThumbnailDetails(o[1]); | 4238 checkThumbnailDetails(o[1]); |
| 4254 } | 4239 } |
| 4255 | 4240 |
| 4256 core.int buildCounterThumbnailSetResponse = 0; | 4241 core.int buildCounterThumbnailSetResponse = 0; |
| 4257 buildThumbnailSetResponse() { | 4242 buildThumbnailSetResponse() { |
| 4258 var o = new api.ThumbnailSetResponse(); | 4243 var o = new api.ThumbnailSetResponse(); |
| 4259 buildCounterThumbnailSetResponse++; | 4244 buildCounterThumbnailSetResponse++; |
| 4260 if (buildCounterThumbnailSetResponse < 3) { | 4245 if (buildCounterThumbnailSetResponse < 3) { |
| 4261 o.etag = "foo"; | 4246 o.etag = "foo"; |
| 4262 o.eventId = "foo"; | 4247 o.eventId = "foo"; |
| 4263 o.items = buildUnnamed658(); | 4248 o.items = buildUnnamed917(); |
| 4264 o.kind = "foo"; | 4249 o.kind = "foo"; |
| 4265 o.visitorId = "foo"; | 4250 o.visitorId = "foo"; |
| 4266 } | 4251 } |
| 4267 buildCounterThumbnailSetResponse--; | 4252 buildCounterThumbnailSetResponse--; |
| 4268 return o; | 4253 return o; |
| 4269 } | 4254 } |
| 4270 | 4255 |
| 4271 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 4256 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 4272 buildCounterThumbnailSetResponse++; | 4257 buildCounterThumbnailSetResponse++; |
| 4273 if (buildCounterThumbnailSetResponse < 3) { | 4258 if (buildCounterThumbnailSetResponse < 3) { |
| 4274 unittest.expect(o.etag, unittest.equals('foo')); | 4259 unittest.expect(o.etag, unittest.equals('foo')); |
| 4275 unittest.expect(o.eventId, unittest.equals('foo')); | 4260 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4276 checkUnnamed658(o.items); | 4261 checkUnnamed917(o.items); |
| 4277 unittest.expect(o.kind, unittest.equals('foo')); | 4262 unittest.expect(o.kind, unittest.equals('foo')); |
| 4278 unittest.expect(o.visitorId, unittest.equals('foo')); | 4263 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4279 } | 4264 } |
| 4280 buildCounterThumbnailSetResponse--; | 4265 buildCounterThumbnailSetResponse--; |
| 4281 } | 4266 } |
| 4282 | 4267 |
| 4283 core.int buildCounterTokenPagination = 0; | 4268 core.int buildCounterTokenPagination = 0; |
| 4284 buildTokenPagination() { | 4269 buildTokenPagination() { |
| 4285 var o = new api.TokenPagination(); | 4270 var o = new api.TokenPagination(); |
| 4286 buildCounterTokenPagination++; | 4271 buildCounterTokenPagination++; |
| 4287 if (buildCounterTokenPagination < 3) { | 4272 if (buildCounterTokenPagination < 3) { |
| 4288 } | 4273 } |
| 4289 buildCounterTokenPagination--; | 4274 buildCounterTokenPagination--; |
| 4290 return o; | 4275 return o; |
| 4291 } | 4276 } |
| 4292 | 4277 |
| 4293 checkTokenPagination(api.TokenPagination o) { | 4278 checkTokenPagination(api.TokenPagination o) { |
| 4294 buildCounterTokenPagination++; | 4279 buildCounterTokenPagination++; |
| 4295 if (buildCounterTokenPagination < 3) { | 4280 if (buildCounterTokenPagination < 3) { |
| 4296 } | 4281 } |
| 4297 buildCounterTokenPagination--; | 4282 buildCounterTokenPagination--; |
| 4298 } | 4283 } |
| 4299 | 4284 |
| 4300 buildUnnamed659() { | 4285 buildUnnamed918() { |
| 4301 var o = new core.Map<core.String, api.VideoLocalization>(); | 4286 var o = new core.Map<core.String, api.VideoLocalization>(); |
| 4302 o["x"] = buildVideoLocalization(); | 4287 o["x"] = buildVideoLocalization(); |
| 4303 o["y"] = buildVideoLocalization(); | 4288 o["y"] = buildVideoLocalization(); |
| 4304 return o; | 4289 return o; |
| 4305 } | 4290 } |
| 4306 | 4291 |
| 4307 checkUnnamed659(core.Map<core.String, api.VideoLocalization> o) { | 4292 checkUnnamed918(core.Map<core.String, api.VideoLocalization> o) { |
| 4308 unittest.expect(o, unittest.hasLength(2)); | 4293 unittest.expect(o, unittest.hasLength(2)); |
| 4309 checkVideoLocalization(o["x"]); | 4294 checkVideoLocalization(o["x"]); |
| 4310 checkVideoLocalization(o["y"]); | 4295 checkVideoLocalization(o["y"]); |
| 4311 } | 4296 } |
| 4312 | 4297 |
| 4313 core.int buildCounterVideo = 0; | 4298 core.int buildCounterVideo = 0; |
| 4314 buildVideo() { | 4299 buildVideo() { |
| 4315 var o = new api.Video(); | 4300 var o = new api.Video(); |
| 4316 buildCounterVideo++; | 4301 buildCounterVideo++; |
| 4317 if (buildCounterVideo < 3) { | 4302 if (buildCounterVideo < 3) { |
| 4318 o.ageGating = buildVideoAgeGating(); | 4303 o.ageGating = buildVideoAgeGating(); |
| 4319 o.contentDetails = buildVideoContentDetails(); | 4304 o.contentDetails = buildVideoContentDetails(); |
| 4320 o.etag = "foo"; | 4305 o.etag = "foo"; |
| 4321 o.fileDetails = buildVideoFileDetails(); | 4306 o.fileDetails = buildVideoFileDetails(); |
| 4322 o.id = "foo"; | 4307 o.id = "foo"; |
| 4323 o.kind = "foo"; | 4308 o.kind = "foo"; |
| 4324 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 4309 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
| 4325 o.localizations = buildUnnamed659(); | 4310 o.localizations = buildUnnamed918(); |
| 4326 o.monetizationDetails = buildVideoMonetizationDetails(); | 4311 o.monetizationDetails = buildVideoMonetizationDetails(); |
| 4327 o.player = buildVideoPlayer(); | 4312 o.player = buildVideoPlayer(); |
| 4328 o.processingDetails = buildVideoProcessingDetails(); | 4313 o.processingDetails = buildVideoProcessingDetails(); |
| 4329 o.projectDetails = buildVideoProjectDetails(); | 4314 o.projectDetails = buildVideoProjectDetails(); |
| 4330 o.recordingDetails = buildVideoRecordingDetails(); | 4315 o.recordingDetails = buildVideoRecordingDetails(); |
| 4331 o.snippet = buildVideoSnippet(); | 4316 o.snippet = buildVideoSnippet(); |
| 4332 o.statistics = buildVideoStatistics(); | 4317 o.statistics = buildVideoStatistics(); |
| 4333 o.status = buildVideoStatus(); | 4318 o.status = buildVideoStatus(); |
| 4334 o.suggestions = buildVideoSuggestions(); | 4319 o.suggestions = buildVideoSuggestions(); |
| 4335 o.topicDetails = buildVideoTopicDetails(); | 4320 o.topicDetails = buildVideoTopicDetails(); |
| 4336 } | 4321 } |
| 4337 buildCounterVideo--; | 4322 buildCounterVideo--; |
| 4338 return o; | 4323 return o; |
| 4339 } | 4324 } |
| 4340 | 4325 |
| 4341 checkVideo(api.Video o) { | 4326 checkVideo(api.Video o) { |
| 4342 buildCounterVideo++; | 4327 buildCounterVideo++; |
| 4343 if (buildCounterVideo < 3) { | 4328 if (buildCounterVideo < 3) { |
| 4344 checkVideoAgeGating(o.ageGating); | 4329 checkVideoAgeGating(o.ageGating); |
| 4345 checkVideoContentDetails(o.contentDetails); | 4330 checkVideoContentDetails(o.contentDetails); |
| 4346 unittest.expect(o.etag, unittest.equals('foo')); | 4331 unittest.expect(o.etag, unittest.equals('foo')); |
| 4347 checkVideoFileDetails(o.fileDetails); | 4332 checkVideoFileDetails(o.fileDetails); |
| 4348 unittest.expect(o.id, unittest.equals('foo')); | 4333 unittest.expect(o.id, unittest.equals('foo')); |
| 4349 unittest.expect(o.kind, unittest.equals('foo')); | 4334 unittest.expect(o.kind, unittest.equals('foo')); |
| 4350 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 4335 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
| 4351 checkUnnamed659(o.localizations); | 4336 checkUnnamed918(o.localizations); |
| 4352 checkVideoMonetizationDetails(o.monetizationDetails); | 4337 checkVideoMonetizationDetails(o.monetizationDetails); |
| 4353 checkVideoPlayer(o.player); | 4338 checkVideoPlayer(o.player); |
| 4354 checkVideoProcessingDetails(o.processingDetails); | 4339 checkVideoProcessingDetails(o.processingDetails); |
| 4355 checkVideoProjectDetails(o.projectDetails); | 4340 checkVideoProjectDetails(o.projectDetails); |
| 4356 checkVideoRecordingDetails(o.recordingDetails); | 4341 checkVideoRecordingDetails(o.recordingDetails); |
| 4357 checkVideoSnippet(o.snippet); | 4342 checkVideoSnippet(o.snippet); |
| 4358 checkVideoStatistics(o.statistics); | 4343 checkVideoStatistics(o.statistics); |
| 4359 checkVideoStatus(o.status); | 4344 checkVideoStatus(o.status); |
| 4360 checkVideoSuggestions(o.suggestions); | 4345 checkVideoSuggestions(o.suggestions); |
| 4361 checkVideoTopicDetails(o.topicDetails); | 4346 checkVideoTopicDetails(o.topicDetails); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4408 buildCounterVideoAbuseReportReason++; | 4393 buildCounterVideoAbuseReportReason++; |
| 4409 if (buildCounterVideoAbuseReportReason < 3) { | 4394 if (buildCounterVideoAbuseReportReason < 3) { |
| 4410 unittest.expect(o.etag, unittest.equals('foo')); | 4395 unittest.expect(o.etag, unittest.equals('foo')); |
| 4411 unittest.expect(o.id, unittest.equals('foo')); | 4396 unittest.expect(o.id, unittest.equals('foo')); |
| 4412 unittest.expect(o.kind, unittest.equals('foo')); | 4397 unittest.expect(o.kind, unittest.equals('foo')); |
| 4413 checkVideoAbuseReportReasonSnippet(o.snippet); | 4398 checkVideoAbuseReportReasonSnippet(o.snippet); |
| 4414 } | 4399 } |
| 4415 buildCounterVideoAbuseReportReason--; | 4400 buildCounterVideoAbuseReportReason--; |
| 4416 } | 4401 } |
| 4417 | 4402 |
| 4418 buildUnnamed660() { | 4403 buildUnnamed919() { |
| 4419 var o = new core.List<api.VideoAbuseReportReason>(); | 4404 var o = new core.List<api.VideoAbuseReportReason>(); |
| 4420 o.add(buildVideoAbuseReportReason()); | 4405 o.add(buildVideoAbuseReportReason()); |
| 4421 o.add(buildVideoAbuseReportReason()); | 4406 o.add(buildVideoAbuseReportReason()); |
| 4422 return o; | 4407 return o; |
| 4423 } | 4408 } |
| 4424 | 4409 |
| 4425 checkUnnamed660(core.List<api.VideoAbuseReportReason> o) { | 4410 checkUnnamed919(core.List<api.VideoAbuseReportReason> o) { |
| 4426 unittest.expect(o, unittest.hasLength(2)); | 4411 unittest.expect(o, unittest.hasLength(2)); |
| 4427 checkVideoAbuseReportReason(o[0]); | 4412 checkVideoAbuseReportReason(o[0]); |
| 4428 checkVideoAbuseReportReason(o[1]); | 4413 checkVideoAbuseReportReason(o[1]); |
| 4429 } | 4414 } |
| 4430 | 4415 |
| 4431 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 4416 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
| 4432 buildVideoAbuseReportReasonListResponse() { | 4417 buildVideoAbuseReportReasonListResponse() { |
| 4433 var o = new api.VideoAbuseReportReasonListResponse(); | 4418 var o = new api.VideoAbuseReportReasonListResponse(); |
| 4434 buildCounterVideoAbuseReportReasonListResponse++; | 4419 buildCounterVideoAbuseReportReasonListResponse++; |
| 4435 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4420 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4436 o.etag = "foo"; | 4421 o.etag = "foo"; |
| 4437 o.eventId = "foo"; | 4422 o.eventId = "foo"; |
| 4438 o.items = buildUnnamed660(); | 4423 o.items = buildUnnamed919(); |
| 4439 o.kind = "foo"; | 4424 o.kind = "foo"; |
| 4440 o.visitorId = "foo"; | 4425 o.visitorId = "foo"; |
| 4441 } | 4426 } |
| 4442 buildCounterVideoAbuseReportReasonListResponse--; | 4427 buildCounterVideoAbuseReportReasonListResponse--; |
| 4443 return o; | 4428 return o; |
| 4444 } | 4429 } |
| 4445 | 4430 |
| 4446 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 4431 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
| 4447 buildCounterVideoAbuseReportReasonListResponse++; | 4432 buildCounterVideoAbuseReportReasonListResponse++; |
| 4448 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4433 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4449 unittest.expect(o.etag, unittest.equals('foo')); | 4434 unittest.expect(o.etag, unittest.equals('foo')); |
| 4450 unittest.expect(o.eventId, unittest.equals('foo')); | 4435 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4451 checkUnnamed660(o.items); | 4436 checkUnnamed919(o.items); |
| 4452 unittest.expect(o.kind, unittest.equals('foo')); | 4437 unittest.expect(o.kind, unittest.equals('foo')); |
| 4453 unittest.expect(o.visitorId, unittest.equals('foo')); | 4438 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4454 } | 4439 } |
| 4455 buildCounterVideoAbuseReportReasonListResponse--; | 4440 buildCounterVideoAbuseReportReasonListResponse--; |
| 4456 } | 4441 } |
| 4457 | 4442 |
| 4458 buildUnnamed661() { | 4443 buildUnnamed920() { |
| 4459 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 4444 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
| 4460 o.add(buildVideoAbuseReportSecondaryReason()); | 4445 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4461 o.add(buildVideoAbuseReportSecondaryReason()); | 4446 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4462 return o; | 4447 return o; |
| 4463 } | 4448 } |
| 4464 | 4449 |
| 4465 checkUnnamed661(core.List<api.VideoAbuseReportSecondaryReason> o) { | 4450 checkUnnamed920(core.List<api.VideoAbuseReportSecondaryReason> o) { |
| 4466 unittest.expect(o, unittest.hasLength(2)); | 4451 unittest.expect(o, unittest.hasLength(2)); |
| 4467 checkVideoAbuseReportSecondaryReason(o[0]); | 4452 checkVideoAbuseReportSecondaryReason(o[0]); |
| 4468 checkVideoAbuseReportSecondaryReason(o[1]); | 4453 checkVideoAbuseReportSecondaryReason(o[1]); |
| 4469 } | 4454 } |
| 4470 | 4455 |
| 4471 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 4456 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
| 4472 buildVideoAbuseReportReasonSnippet() { | 4457 buildVideoAbuseReportReasonSnippet() { |
| 4473 var o = new api.VideoAbuseReportReasonSnippet(); | 4458 var o = new api.VideoAbuseReportReasonSnippet(); |
| 4474 buildCounterVideoAbuseReportReasonSnippet++; | 4459 buildCounterVideoAbuseReportReasonSnippet++; |
| 4475 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4460 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4476 o.label = "foo"; | 4461 o.label = "foo"; |
| 4477 o.secondaryReasons = buildUnnamed661(); | 4462 o.secondaryReasons = buildUnnamed920(); |
| 4478 } | 4463 } |
| 4479 buildCounterVideoAbuseReportReasonSnippet--; | 4464 buildCounterVideoAbuseReportReasonSnippet--; |
| 4480 return o; | 4465 return o; |
| 4481 } | 4466 } |
| 4482 | 4467 |
| 4483 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 4468 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
| 4484 buildCounterVideoAbuseReportReasonSnippet++; | 4469 buildCounterVideoAbuseReportReasonSnippet++; |
| 4485 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4470 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4486 unittest.expect(o.label, unittest.equals('foo')); | 4471 unittest.expect(o.label, unittest.equals('foo')); |
| 4487 checkUnnamed661(o.secondaryReasons); | 4472 checkUnnamed920(o.secondaryReasons); |
| 4488 } | 4473 } |
| 4489 buildCounterVideoAbuseReportReasonSnippet--; | 4474 buildCounterVideoAbuseReportReasonSnippet--; |
| 4490 } | 4475 } |
| 4491 | 4476 |
| 4492 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 4477 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
| 4493 buildVideoAbuseReportSecondaryReason() { | 4478 buildVideoAbuseReportSecondaryReason() { |
| 4494 var o = new api.VideoAbuseReportSecondaryReason(); | 4479 var o = new api.VideoAbuseReportSecondaryReason(); |
| 4495 buildCounterVideoAbuseReportSecondaryReason++; | 4480 buildCounterVideoAbuseReportSecondaryReason++; |
| 4496 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 4481 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
| 4497 o.id = "foo"; | 4482 o.id = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4551 buildCounterVideoCategory++; | 4536 buildCounterVideoCategory++; |
| 4552 if (buildCounterVideoCategory < 3) { | 4537 if (buildCounterVideoCategory < 3) { |
| 4553 unittest.expect(o.etag, unittest.equals('foo')); | 4538 unittest.expect(o.etag, unittest.equals('foo')); |
| 4554 unittest.expect(o.id, unittest.equals('foo')); | 4539 unittest.expect(o.id, unittest.equals('foo')); |
| 4555 unittest.expect(o.kind, unittest.equals('foo')); | 4540 unittest.expect(o.kind, unittest.equals('foo')); |
| 4556 checkVideoCategorySnippet(o.snippet); | 4541 checkVideoCategorySnippet(o.snippet); |
| 4557 } | 4542 } |
| 4558 buildCounterVideoCategory--; | 4543 buildCounterVideoCategory--; |
| 4559 } | 4544 } |
| 4560 | 4545 |
| 4561 buildUnnamed662() { | 4546 buildUnnamed921() { |
| 4562 var o = new core.List<api.VideoCategory>(); | 4547 var o = new core.List<api.VideoCategory>(); |
| 4563 o.add(buildVideoCategory()); | 4548 o.add(buildVideoCategory()); |
| 4564 o.add(buildVideoCategory()); | 4549 o.add(buildVideoCategory()); |
| 4565 return o; | 4550 return o; |
| 4566 } | 4551 } |
| 4567 | 4552 |
| 4568 checkUnnamed662(core.List<api.VideoCategory> o) { | 4553 checkUnnamed921(core.List<api.VideoCategory> o) { |
| 4569 unittest.expect(o, unittest.hasLength(2)); | 4554 unittest.expect(o, unittest.hasLength(2)); |
| 4570 checkVideoCategory(o[0]); | 4555 checkVideoCategory(o[0]); |
| 4571 checkVideoCategory(o[1]); | 4556 checkVideoCategory(o[1]); |
| 4572 } | 4557 } |
| 4573 | 4558 |
| 4574 core.int buildCounterVideoCategoryListResponse = 0; | 4559 core.int buildCounterVideoCategoryListResponse = 0; |
| 4575 buildVideoCategoryListResponse() { | 4560 buildVideoCategoryListResponse() { |
| 4576 var o = new api.VideoCategoryListResponse(); | 4561 var o = new api.VideoCategoryListResponse(); |
| 4577 buildCounterVideoCategoryListResponse++; | 4562 buildCounterVideoCategoryListResponse++; |
| 4578 if (buildCounterVideoCategoryListResponse < 3) { | 4563 if (buildCounterVideoCategoryListResponse < 3) { |
| 4579 o.etag = "foo"; | 4564 o.etag = "foo"; |
| 4580 o.eventId = "foo"; | 4565 o.eventId = "foo"; |
| 4581 o.items = buildUnnamed662(); | 4566 o.items = buildUnnamed921(); |
| 4582 o.kind = "foo"; | 4567 o.kind = "foo"; |
| 4583 o.nextPageToken = "foo"; | 4568 o.nextPageToken = "foo"; |
| 4584 o.pageInfo = buildPageInfo(); | 4569 o.pageInfo = buildPageInfo(); |
| 4585 o.prevPageToken = "foo"; | 4570 o.prevPageToken = "foo"; |
| 4586 o.tokenPagination = buildTokenPagination(); | 4571 o.tokenPagination = buildTokenPagination(); |
| 4587 o.visitorId = "foo"; | 4572 o.visitorId = "foo"; |
| 4588 } | 4573 } |
| 4589 buildCounterVideoCategoryListResponse--; | 4574 buildCounterVideoCategoryListResponse--; |
| 4590 return o; | 4575 return o; |
| 4591 } | 4576 } |
| 4592 | 4577 |
| 4593 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4578 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 4594 buildCounterVideoCategoryListResponse++; | 4579 buildCounterVideoCategoryListResponse++; |
| 4595 if (buildCounterVideoCategoryListResponse < 3) { | 4580 if (buildCounterVideoCategoryListResponse < 3) { |
| 4596 unittest.expect(o.etag, unittest.equals('foo')); | 4581 unittest.expect(o.etag, unittest.equals('foo')); |
| 4597 unittest.expect(o.eventId, unittest.equals('foo')); | 4582 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4598 checkUnnamed662(o.items); | 4583 checkUnnamed921(o.items); |
| 4599 unittest.expect(o.kind, unittest.equals('foo')); | 4584 unittest.expect(o.kind, unittest.equals('foo')); |
| 4600 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4585 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4601 checkPageInfo(o.pageInfo); | 4586 checkPageInfo(o.pageInfo); |
| 4602 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4587 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4603 checkTokenPagination(o.tokenPagination); | 4588 checkTokenPagination(o.tokenPagination); |
| 4604 unittest.expect(o.visitorId, unittest.equals('foo')); | 4589 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4605 } | 4590 } |
| 4606 buildCounterVideoCategoryListResponse--; | 4591 buildCounterVideoCategoryListResponse--; |
| 4607 } | 4592 } |
| 4608 | 4593 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4655 checkAccessPolicy(o.countryRestriction); | 4640 checkAccessPolicy(o.countryRestriction); |
| 4656 unittest.expect(o.definition, unittest.equals('foo')); | 4641 unittest.expect(o.definition, unittest.equals('foo')); |
| 4657 unittest.expect(o.dimension, unittest.equals('foo')); | 4642 unittest.expect(o.dimension, unittest.equals('foo')); |
| 4658 unittest.expect(o.duration, unittest.equals('foo')); | 4643 unittest.expect(o.duration, unittest.equals('foo')); |
| 4659 unittest.expect(o.licensedContent, unittest.isTrue); | 4644 unittest.expect(o.licensedContent, unittest.isTrue); |
| 4660 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 4645 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 4661 } | 4646 } |
| 4662 buildCounterVideoContentDetails--; | 4647 buildCounterVideoContentDetails--; |
| 4663 } | 4648 } |
| 4664 | 4649 |
| 4665 buildUnnamed663() { | 4650 buildUnnamed922() { |
| 4666 var o = new core.List<core.String>(); | 4651 var o = new core.List<core.String>(); |
| 4667 o.add("foo"); | 4652 o.add("foo"); |
| 4668 o.add("foo"); | 4653 o.add("foo"); |
| 4669 return o; | 4654 return o; |
| 4670 } | 4655 } |
| 4671 | 4656 |
| 4672 checkUnnamed663(core.List<core.String> o) { | 4657 checkUnnamed922(core.List<core.String> o) { |
| 4673 unittest.expect(o, unittest.hasLength(2)); | 4658 unittest.expect(o, unittest.hasLength(2)); |
| 4674 unittest.expect(o[0], unittest.equals('foo')); | 4659 unittest.expect(o[0], unittest.equals('foo')); |
| 4675 unittest.expect(o[1], unittest.equals('foo')); | 4660 unittest.expect(o[1], unittest.equals('foo')); |
| 4676 } | 4661 } |
| 4677 | 4662 |
| 4678 buildUnnamed664() { | 4663 buildUnnamed923() { |
| 4679 var o = new core.List<core.String>(); | 4664 var o = new core.List<core.String>(); |
| 4680 o.add("foo"); | 4665 o.add("foo"); |
| 4681 o.add("foo"); | 4666 o.add("foo"); |
| 4682 return o; | 4667 return o; |
| 4683 } | 4668 } |
| 4684 | 4669 |
| 4685 checkUnnamed664(core.List<core.String> o) { | 4670 checkUnnamed923(core.List<core.String> o) { |
| 4686 unittest.expect(o, unittest.hasLength(2)); | 4671 unittest.expect(o, unittest.hasLength(2)); |
| 4687 unittest.expect(o[0], unittest.equals('foo')); | 4672 unittest.expect(o[0], unittest.equals('foo')); |
| 4688 unittest.expect(o[1], unittest.equals('foo')); | 4673 unittest.expect(o[1], unittest.equals('foo')); |
| 4689 } | 4674 } |
| 4690 | 4675 |
| 4691 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 4676 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 4692 buildVideoContentDetailsRegionRestriction() { | 4677 buildVideoContentDetailsRegionRestriction() { |
| 4693 var o = new api.VideoContentDetailsRegionRestriction(); | 4678 var o = new api.VideoContentDetailsRegionRestriction(); |
| 4694 buildCounterVideoContentDetailsRegionRestriction++; | 4679 buildCounterVideoContentDetailsRegionRestriction++; |
| 4695 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4680 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4696 o.allowed = buildUnnamed663(); | 4681 o.allowed = buildUnnamed922(); |
| 4697 o.blocked = buildUnnamed664(); | 4682 o.blocked = buildUnnamed923(); |
| 4698 } | 4683 } |
| 4699 buildCounterVideoContentDetailsRegionRestriction--; | 4684 buildCounterVideoContentDetailsRegionRestriction--; |
| 4700 return o; | 4685 return o; |
| 4701 } | 4686 } |
| 4702 | 4687 |
| 4703 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 4688 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 4704 buildCounterVideoContentDetailsRegionRestriction++; | 4689 buildCounterVideoContentDetailsRegionRestriction++; |
| 4705 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4690 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4706 checkUnnamed663(o.allowed); | 4691 checkUnnamed922(o.allowed); |
| 4707 checkUnnamed664(o.blocked); | 4692 checkUnnamed923(o.blocked); |
| 4708 } | 4693 } |
| 4709 buildCounterVideoContentDetailsRegionRestriction--; | 4694 buildCounterVideoContentDetailsRegionRestriction--; |
| 4710 } | 4695 } |
| 4711 | 4696 |
| 4712 buildUnnamed665() { | 4697 buildUnnamed924() { |
| 4713 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 4698 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 4714 o.add(buildVideoFileDetailsAudioStream()); | 4699 o.add(buildVideoFileDetailsAudioStream()); |
| 4715 o.add(buildVideoFileDetailsAudioStream()); | 4700 o.add(buildVideoFileDetailsAudioStream()); |
| 4716 return o; | 4701 return o; |
| 4717 } | 4702 } |
| 4718 | 4703 |
| 4719 checkUnnamed665(core.List<api.VideoFileDetailsAudioStream> o) { | 4704 checkUnnamed924(core.List<api.VideoFileDetailsAudioStream> o) { |
| 4720 unittest.expect(o, unittest.hasLength(2)); | 4705 unittest.expect(o, unittest.hasLength(2)); |
| 4721 checkVideoFileDetailsAudioStream(o[0]); | 4706 checkVideoFileDetailsAudioStream(o[0]); |
| 4722 checkVideoFileDetailsAudioStream(o[1]); | 4707 checkVideoFileDetailsAudioStream(o[1]); |
| 4723 } | 4708 } |
| 4724 | 4709 |
| 4725 buildUnnamed666() { | 4710 buildUnnamed925() { |
| 4726 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 4711 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 4727 o.add(buildVideoFileDetailsVideoStream()); | 4712 o.add(buildVideoFileDetailsVideoStream()); |
| 4728 o.add(buildVideoFileDetailsVideoStream()); | 4713 o.add(buildVideoFileDetailsVideoStream()); |
| 4729 return o; | 4714 return o; |
| 4730 } | 4715 } |
| 4731 | 4716 |
| 4732 checkUnnamed666(core.List<api.VideoFileDetailsVideoStream> o) { | 4717 checkUnnamed925(core.List<api.VideoFileDetailsVideoStream> o) { |
| 4733 unittest.expect(o, unittest.hasLength(2)); | 4718 unittest.expect(o, unittest.hasLength(2)); |
| 4734 checkVideoFileDetailsVideoStream(o[0]); | 4719 checkVideoFileDetailsVideoStream(o[0]); |
| 4735 checkVideoFileDetailsVideoStream(o[1]); | 4720 checkVideoFileDetailsVideoStream(o[1]); |
| 4736 } | 4721 } |
| 4737 | 4722 |
| 4738 core.int buildCounterVideoFileDetails = 0; | 4723 core.int buildCounterVideoFileDetails = 0; |
| 4739 buildVideoFileDetails() { | 4724 buildVideoFileDetails() { |
| 4740 var o = new api.VideoFileDetails(); | 4725 var o = new api.VideoFileDetails(); |
| 4741 buildCounterVideoFileDetails++; | 4726 buildCounterVideoFileDetails++; |
| 4742 if (buildCounterVideoFileDetails < 3) { | 4727 if (buildCounterVideoFileDetails < 3) { |
| 4743 o.audioStreams = buildUnnamed665(); | 4728 o.audioStreams = buildUnnamed924(); |
| 4744 o.bitrateBps = "foo"; | 4729 o.bitrateBps = "foo"; |
| 4745 o.container = "foo"; | 4730 o.container = "foo"; |
| 4746 o.creationTime = "foo"; | 4731 o.creationTime = "foo"; |
| 4747 o.durationMs = "foo"; | 4732 o.durationMs = "foo"; |
| 4748 o.fileName = "foo"; | 4733 o.fileName = "foo"; |
| 4749 o.fileSize = "foo"; | 4734 o.fileSize = "foo"; |
| 4750 o.fileType = "foo"; | 4735 o.fileType = "foo"; |
| 4751 o.recordingLocation = buildGeoPoint(); | 4736 o.recordingLocation = buildGeoPoint(); |
| 4752 o.videoStreams = buildUnnamed666(); | 4737 o.videoStreams = buildUnnamed925(); |
| 4753 } | 4738 } |
| 4754 buildCounterVideoFileDetails--; | 4739 buildCounterVideoFileDetails--; |
| 4755 return o; | 4740 return o; |
| 4756 } | 4741 } |
| 4757 | 4742 |
| 4758 checkVideoFileDetails(api.VideoFileDetails o) { | 4743 checkVideoFileDetails(api.VideoFileDetails o) { |
| 4759 buildCounterVideoFileDetails++; | 4744 buildCounterVideoFileDetails++; |
| 4760 if (buildCounterVideoFileDetails < 3) { | 4745 if (buildCounterVideoFileDetails < 3) { |
| 4761 checkUnnamed665(o.audioStreams); | 4746 checkUnnamed924(o.audioStreams); |
| 4762 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 4747 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 4763 unittest.expect(o.container, unittest.equals('foo')); | 4748 unittest.expect(o.container, unittest.equals('foo')); |
| 4764 unittest.expect(o.creationTime, unittest.equals('foo')); | 4749 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 4765 unittest.expect(o.durationMs, unittest.equals('foo')); | 4750 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 4766 unittest.expect(o.fileName, unittest.equals('foo')); | 4751 unittest.expect(o.fileName, unittest.equals('foo')); |
| 4767 unittest.expect(o.fileSize, unittest.equals('foo')); | 4752 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 4768 unittest.expect(o.fileType, unittest.equals('foo')); | 4753 unittest.expect(o.fileType, unittest.equals('foo')); |
| 4769 checkGeoPoint(o.recordingLocation); | 4754 checkGeoPoint(o.recordingLocation); |
| 4770 checkUnnamed666(o.videoStreams); | 4755 checkUnnamed925(o.videoStreams); |
| 4771 } | 4756 } |
| 4772 buildCounterVideoFileDetails--; | 4757 buildCounterVideoFileDetails--; |
| 4773 } | 4758 } |
| 4774 | 4759 |
| 4775 core.int buildCounterVideoFileDetailsAudioStream = 0; | 4760 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 4776 buildVideoFileDetailsAudioStream() { | 4761 buildVideoFileDetailsAudioStream() { |
| 4777 var o = new api.VideoFileDetailsAudioStream(); | 4762 var o = new api.VideoFileDetailsAudioStream(); |
| 4778 buildCounterVideoFileDetailsAudioStream++; | 4763 buildCounterVideoFileDetailsAudioStream++; |
| 4779 if (buildCounterVideoFileDetailsAudioStream < 3) { | 4764 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 4780 o.bitrateBps = "foo"; | 4765 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4823 unittest.expect(o.codec, unittest.equals('foo')); | 4808 unittest.expect(o.codec, unittest.equals('foo')); |
| 4824 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 4809 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 4825 unittest.expect(o.heightPixels, unittest.equals(42)); | 4810 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 4826 unittest.expect(o.rotation, unittest.equals('foo')); | 4811 unittest.expect(o.rotation, unittest.equals('foo')); |
| 4827 unittest.expect(o.vendor, unittest.equals('foo')); | 4812 unittest.expect(o.vendor, unittest.equals('foo')); |
| 4828 unittest.expect(o.widthPixels, unittest.equals(42)); | 4813 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 4829 } | 4814 } |
| 4830 buildCounterVideoFileDetailsVideoStream--; | 4815 buildCounterVideoFileDetailsVideoStream--; |
| 4831 } | 4816 } |
| 4832 | 4817 |
| 4833 buildUnnamed667() { | 4818 buildUnnamed926() { |
| 4834 var o = new core.List<api.VideoRating>(); | 4819 var o = new core.List<api.VideoRating>(); |
| 4835 o.add(buildVideoRating()); | 4820 o.add(buildVideoRating()); |
| 4836 o.add(buildVideoRating()); | 4821 o.add(buildVideoRating()); |
| 4837 return o; | 4822 return o; |
| 4838 } | 4823 } |
| 4839 | 4824 |
| 4840 checkUnnamed667(core.List<api.VideoRating> o) { | 4825 checkUnnamed926(core.List<api.VideoRating> o) { |
| 4841 unittest.expect(o, unittest.hasLength(2)); | 4826 unittest.expect(o, unittest.hasLength(2)); |
| 4842 checkVideoRating(o[0]); | 4827 checkVideoRating(o[0]); |
| 4843 checkVideoRating(o[1]); | 4828 checkVideoRating(o[1]); |
| 4844 } | 4829 } |
| 4845 | 4830 |
| 4846 core.int buildCounterVideoGetRatingResponse = 0; | 4831 core.int buildCounterVideoGetRatingResponse = 0; |
| 4847 buildVideoGetRatingResponse() { | 4832 buildVideoGetRatingResponse() { |
| 4848 var o = new api.VideoGetRatingResponse(); | 4833 var o = new api.VideoGetRatingResponse(); |
| 4849 buildCounterVideoGetRatingResponse++; | 4834 buildCounterVideoGetRatingResponse++; |
| 4850 if (buildCounterVideoGetRatingResponse < 3) { | 4835 if (buildCounterVideoGetRatingResponse < 3) { |
| 4851 o.etag = "foo"; | 4836 o.etag = "foo"; |
| 4852 o.eventId = "foo"; | 4837 o.eventId = "foo"; |
| 4853 o.items = buildUnnamed667(); | 4838 o.items = buildUnnamed926(); |
| 4854 o.kind = "foo"; | 4839 o.kind = "foo"; |
| 4855 o.visitorId = "foo"; | 4840 o.visitorId = "foo"; |
| 4856 } | 4841 } |
| 4857 buildCounterVideoGetRatingResponse--; | 4842 buildCounterVideoGetRatingResponse--; |
| 4858 return o; | 4843 return o; |
| 4859 } | 4844 } |
| 4860 | 4845 |
| 4861 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 4846 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 4862 buildCounterVideoGetRatingResponse++; | 4847 buildCounterVideoGetRatingResponse++; |
| 4863 if (buildCounterVideoGetRatingResponse < 3) { | 4848 if (buildCounterVideoGetRatingResponse < 3) { |
| 4864 unittest.expect(o.etag, unittest.equals('foo')); | 4849 unittest.expect(o.etag, unittest.equals('foo')); |
| 4865 unittest.expect(o.eventId, unittest.equals('foo')); | 4850 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4866 checkUnnamed667(o.items); | 4851 checkUnnamed926(o.items); |
| 4867 unittest.expect(o.kind, unittest.equals('foo')); | 4852 unittest.expect(o.kind, unittest.equals('foo')); |
| 4868 unittest.expect(o.visitorId, unittest.equals('foo')); | 4853 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4869 } | 4854 } |
| 4870 buildCounterVideoGetRatingResponse--; | 4855 buildCounterVideoGetRatingResponse--; |
| 4871 } | 4856 } |
| 4872 | 4857 |
| 4873 buildUnnamed668() { | 4858 buildUnnamed927() { |
| 4874 var o = new core.List<api.Video>(); | 4859 var o = new core.List<api.Video>(); |
| 4875 o.add(buildVideo()); | 4860 o.add(buildVideo()); |
| 4876 o.add(buildVideo()); | 4861 o.add(buildVideo()); |
| 4877 return o; | 4862 return o; |
| 4878 } | 4863 } |
| 4879 | 4864 |
| 4880 checkUnnamed668(core.List<api.Video> o) { | 4865 checkUnnamed927(core.List<api.Video> o) { |
| 4881 unittest.expect(o, unittest.hasLength(2)); | 4866 unittest.expect(o, unittest.hasLength(2)); |
| 4882 checkVideo(o[0]); | 4867 checkVideo(o[0]); |
| 4883 checkVideo(o[1]); | 4868 checkVideo(o[1]); |
| 4884 } | 4869 } |
| 4885 | 4870 |
| 4886 core.int buildCounterVideoListResponse = 0; | 4871 core.int buildCounterVideoListResponse = 0; |
| 4887 buildVideoListResponse() { | 4872 buildVideoListResponse() { |
| 4888 var o = new api.VideoListResponse(); | 4873 var o = new api.VideoListResponse(); |
| 4889 buildCounterVideoListResponse++; | 4874 buildCounterVideoListResponse++; |
| 4890 if (buildCounterVideoListResponse < 3) { | 4875 if (buildCounterVideoListResponse < 3) { |
| 4891 o.etag = "foo"; | 4876 o.etag = "foo"; |
| 4892 o.eventId = "foo"; | 4877 o.eventId = "foo"; |
| 4893 o.items = buildUnnamed668(); | 4878 o.items = buildUnnamed927(); |
| 4894 o.kind = "foo"; | 4879 o.kind = "foo"; |
| 4895 o.nextPageToken = "foo"; | 4880 o.nextPageToken = "foo"; |
| 4896 o.pageInfo = buildPageInfo(); | 4881 o.pageInfo = buildPageInfo(); |
| 4897 o.prevPageToken = "foo"; | 4882 o.prevPageToken = "foo"; |
| 4898 o.tokenPagination = buildTokenPagination(); | 4883 o.tokenPagination = buildTokenPagination(); |
| 4899 o.visitorId = "foo"; | 4884 o.visitorId = "foo"; |
| 4900 } | 4885 } |
| 4901 buildCounterVideoListResponse--; | 4886 buildCounterVideoListResponse--; |
| 4902 return o; | 4887 return o; |
| 4903 } | 4888 } |
| 4904 | 4889 |
| 4905 checkVideoListResponse(api.VideoListResponse o) { | 4890 checkVideoListResponse(api.VideoListResponse o) { |
| 4906 buildCounterVideoListResponse++; | 4891 buildCounterVideoListResponse++; |
| 4907 if (buildCounterVideoListResponse < 3) { | 4892 if (buildCounterVideoListResponse < 3) { |
| 4908 unittest.expect(o.etag, unittest.equals('foo')); | 4893 unittest.expect(o.etag, unittest.equals('foo')); |
| 4909 unittest.expect(o.eventId, unittest.equals('foo')); | 4894 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4910 checkUnnamed668(o.items); | 4895 checkUnnamed927(o.items); |
| 4911 unittest.expect(o.kind, unittest.equals('foo')); | 4896 unittest.expect(o.kind, unittest.equals('foo')); |
| 4912 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4897 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4913 checkPageInfo(o.pageInfo); | 4898 checkPageInfo(o.pageInfo); |
| 4914 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4899 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4915 checkTokenPagination(o.tokenPagination); | 4900 checkTokenPagination(o.tokenPagination); |
| 4916 unittest.expect(o.visitorId, unittest.equals('foo')); | 4901 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4917 } | 4902 } |
| 4918 buildCounterVideoListResponse--; | 4903 buildCounterVideoListResponse--; |
| 4919 } | 4904 } |
| 4920 | 4905 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5055 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 5040 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 5056 buildCounterVideoProcessingDetailsProcessingProgress++; | 5041 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 5057 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 5042 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 5058 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 5043 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 5059 unittest.expect(o.partsTotal, unittest.equals('foo')); | 5044 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 5060 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 5045 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 5061 } | 5046 } |
| 5062 buildCounterVideoProcessingDetailsProcessingProgress--; | 5047 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 5063 } | 5048 } |
| 5064 | 5049 |
| 5065 buildUnnamed669() { | 5050 buildUnnamed928() { |
| 5066 var o = new core.List<core.String>(); | 5051 var o = new core.List<core.String>(); |
| 5067 o.add("foo"); | 5052 o.add("foo"); |
| 5068 o.add("foo"); | 5053 o.add("foo"); |
| 5069 return o; | 5054 return o; |
| 5070 } | 5055 } |
| 5071 | 5056 |
| 5072 checkUnnamed669(core.List<core.String> o) { | 5057 checkUnnamed928(core.List<core.String> o) { |
| 5073 unittest.expect(o, unittest.hasLength(2)); | 5058 unittest.expect(o, unittest.hasLength(2)); |
| 5074 unittest.expect(o[0], unittest.equals('foo')); | 5059 unittest.expect(o[0], unittest.equals('foo')); |
| 5075 unittest.expect(o[1], unittest.equals('foo')); | 5060 unittest.expect(o[1], unittest.equals('foo')); |
| 5076 } | 5061 } |
| 5077 | 5062 |
| 5078 core.int buildCounterVideoProjectDetails = 0; | 5063 core.int buildCounterVideoProjectDetails = 0; |
| 5079 buildVideoProjectDetails() { | 5064 buildVideoProjectDetails() { |
| 5080 var o = new api.VideoProjectDetails(); | 5065 var o = new api.VideoProjectDetails(); |
| 5081 buildCounterVideoProjectDetails++; | 5066 buildCounterVideoProjectDetails++; |
| 5082 if (buildCounterVideoProjectDetails < 3) { | 5067 if (buildCounterVideoProjectDetails < 3) { |
| 5083 o.tags = buildUnnamed669(); | 5068 o.tags = buildUnnamed928(); |
| 5084 } | 5069 } |
| 5085 buildCounterVideoProjectDetails--; | 5070 buildCounterVideoProjectDetails--; |
| 5086 return o; | 5071 return o; |
| 5087 } | 5072 } |
| 5088 | 5073 |
| 5089 checkVideoProjectDetails(api.VideoProjectDetails o) { | 5074 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 5090 buildCounterVideoProjectDetails++; | 5075 buildCounterVideoProjectDetails++; |
| 5091 if (buildCounterVideoProjectDetails < 3) { | 5076 if (buildCounterVideoProjectDetails < 3) { |
| 5092 checkUnnamed669(o.tags); | 5077 checkUnnamed928(o.tags); |
| 5093 } | 5078 } |
| 5094 buildCounterVideoProjectDetails--; | 5079 buildCounterVideoProjectDetails--; |
| 5095 } | 5080 } |
| 5096 | 5081 |
| 5097 core.int buildCounterVideoRating = 0; | 5082 core.int buildCounterVideoRating = 0; |
| 5098 buildVideoRating() { | 5083 buildVideoRating() { |
| 5099 var o = new api.VideoRating(); | 5084 var o = new api.VideoRating(); |
| 5100 buildCounterVideoRating++; | 5085 buildCounterVideoRating++; |
| 5101 if (buildCounterVideoRating < 3) { | 5086 if (buildCounterVideoRating < 3) { |
| 5102 o.rating = "foo"; | 5087 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 5131 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 5116 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 5132 buildCounterVideoRecordingDetails++; | 5117 buildCounterVideoRecordingDetails++; |
| 5133 if (buildCounterVideoRecordingDetails < 3) { | 5118 if (buildCounterVideoRecordingDetails < 3) { |
| 5134 checkGeoPoint(o.location); | 5119 checkGeoPoint(o.location); |
| 5135 unittest.expect(o.locationDescription, unittest.equals('foo')); | 5120 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 5136 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 5121 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 5137 } | 5122 } |
| 5138 buildCounterVideoRecordingDetails--; | 5123 buildCounterVideoRecordingDetails--; |
| 5139 } | 5124 } |
| 5140 | 5125 |
| 5141 buildUnnamed670() { | 5126 buildUnnamed929() { |
| 5142 var o = new core.List<core.String>(); | 5127 var o = new core.List<core.String>(); |
| 5143 o.add("foo"); | 5128 o.add("foo"); |
| 5144 o.add("foo"); | 5129 o.add("foo"); |
| 5145 return o; | 5130 return o; |
| 5146 } | 5131 } |
| 5147 | 5132 |
| 5148 checkUnnamed670(core.List<core.String> o) { | 5133 checkUnnamed929(core.List<core.String> o) { |
| 5149 unittest.expect(o, unittest.hasLength(2)); | 5134 unittest.expect(o, unittest.hasLength(2)); |
| 5150 unittest.expect(o[0], unittest.equals('foo')); | 5135 unittest.expect(o[0], unittest.equals('foo')); |
| 5151 unittest.expect(o[1], unittest.equals('foo')); | 5136 unittest.expect(o[1], unittest.equals('foo')); |
| 5152 } | 5137 } |
| 5153 | 5138 |
| 5154 core.int buildCounterVideoSnippet = 0; | 5139 core.int buildCounterVideoSnippet = 0; |
| 5155 buildVideoSnippet() { | 5140 buildVideoSnippet() { |
| 5156 var o = new api.VideoSnippet(); | 5141 var o = new api.VideoSnippet(); |
| 5157 buildCounterVideoSnippet++; | 5142 buildCounterVideoSnippet++; |
| 5158 if (buildCounterVideoSnippet < 3) { | 5143 if (buildCounterVideoSnippet < 3) { |
| 5159 o.categoryId = "foo"; | 5144 o.categoryId = "foo"; |
| 5160 o.channelId = "foo"; | 5145 o.channelId = "foo"; |
| 5161 o.channelTitle = "foo"; | 5146 o.channelTitle = "foo"; |
| 5162 o.defaultAudioLanguage = "foo"; | 5147 o.defaultAudioLanguage = "foo"; |
| 5163 o.defaultLanguage = "foo"; | 5148 o.defaultLanguage = "foo"; |
| 5164 o.description = "foo"; | 5149 o.description = "foo"; |
| 5165 o.liveBroadcastContent = "foo"; | 5150 o.liveBroadcastContent = "foo"; |
| 5166 o.localized = buildVideoLocalization(); | 5151 o.localized = buildVideoLocalization(); |
| 5167 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 5152 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 5168 o.tags = buildUnnamed670(); | 5153 o.tags = buildUnnamed929(); |
| 5169 o.thumbnails = buildThumbnailDetails(); | 5154 o.thumbnails = buildThumbnailDetails(); |
| 5170 o.title = "foo"; | 5155 o.title = "foo"; |
| 5171 } | 5156 } |
| 5172 buildCounterVideoSnippet--; | 5157 buildCounterVideoSnippet--; |
| 5173 return o; | 5158 return o; |
| 5174 } | 5159 } |
| 5175 | 5160 |
| 5176 checkVideoSnippet(api.VideoSnippet o) { | 5161 checkVideoSnippet(api.VideoSnippet o) { |
| 5177 buildCounterVideoSnippet++; | 5162 buildCounterVideoSnippet++; |
| 5178 if (buildCounterVideoSnippet < 3) { | 5163 if (buildCounterVideoSnippet < 3) { |
| 5179 unittest.expect(o.categoryId, unittest.equals('foo')); | 5164 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 5180 unittest.expect(o.channelId, unittest.equals('foo')); | 5165 unittest.expect(o.channelId, unittest.equals('foo')); |
| 5181 unittest.expect(o.channelTitle, unittest.equals('foo')); | 5166 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 5182 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 5167 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
| 5183 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 5168 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 5184 unittest.expect(o.description, unittest.equals('foo')); | 5169 unittest.expect(o.description, unittest.equals('foo')); |
| 5185 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 5170 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 5186 checkVideoLocalization(o.localized); | 5171 checkVideoLocalization(o.localized); |
| 5187 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 5172 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 5188 checkUnnamed670(o.tags); | 5173 checkUnnamed929(o.tags); |
| 5189 checkThumbnailDetails(o.thumbnails); | 5174 checkThumbnailDetails(o.thumbnails); |
| 5190 unittest.expect(o.title, unittest.equals('foo')); | 5175 unittest.expect(o.title, unittest.equals('foo')); |
| 5191 } | 5176 } |
| 5192 buildCounterVideoSnippet--; | 5177 buildCounterVideoSnippet--; |
| 5193 } | 5178 } |
| 5194 | 5179 |
| 5195 core.int buildCounterVideoStatistics = 0; | 5180 core.int buildCounterVideoStatistics = 0; |
| 5196 buildVideoStatistics() { | 5181 buildVideoStatistics() { |
| 5197 var o = new api.VideoStatistics(); | 5182 var o = new api.VideoStatistics(); |
| 5198 buildCounterVideoStatistics++; | 5183 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5245 unittest.expect(o.license, unittest.equals('foo')); | 5230 unittest.expect(o.license, unittest.equals('foo')); |
| 5246 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 5231 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 5247 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 5232 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 5248 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 5233 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 5249 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 5234 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 5250 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 5235 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 5251 } | 5236 } |
| 5252 buildCounterVideoStatus--; | 5237 buildCounterVideoStatus--; |
| 5253 } | 5238 } |
| 5254 | 5239 |
| 5255 buildUnnamed671() { | 5240 buildUnnamed930() { |
| 5256 var o = new core.List<core.String>(); | 5241 var o = new core.List<core.String>(); |
| 5257 o.add("foo"); | 5242 o.add("foo"); |
| 5258 o.add("foo"); | 5243 o.add("foo"); |
| 5259 return o; | 5244 return o; |
| 5260 } | 5245 } |
| 5261 | 5246 |
| 5262 checkUnnamed671(core.List<core.String> o) { | 5247 checkUnnamed930(core.List<core.String> o) { |
| 5263 unittest.expect(o, unittest.hasLength(2)); | 5248 unittest.expect(o, unittest.hasLength(2)); |
| 5264 unittest.expect(o[0], unittest.equals('foo')); | 5249 unittest.expect(o[0], unittest.equals('foo')); |
| 5265 unittest.expect(o[1], unittest.equals('foo')); | 5250 unittest.expect(o[1], unittest.equals('foo')); |
| 5266 } | 5251 } |
| 5267 | 5252 |
| 5268 buildUnnamed672() { | 5253 buildUnnamed931() { |
| 5269 var o = new core.List<core.String>(); | 5254 var o = new core.List<core.String>(); |
| 5270 o.add("foo"); | 5255 o.add("foo"); |
| 5271 o.add("foo"); | 5256 o.add("foo"); |
| 5272 return o; | 5257 return o; |
| 5273 } | 5258 } |
| 5274 | 5259 |
| 5275 checkUnnamed672(core.List<core.String> o) { | 5260 checkUnnamed931(core.List<core.String> o) { |
| 5276 unittest.expect(o, unittest.hasLength(2)); | 5261 unittest.expect(o, unittest.hasLength(2)); |
| 5277 unittest.expect(o[0], unittest.equals('foo')); | 5262 unittest.expect(o[0], unittest.equals('foo')); |
| 5278 unittest.expect(o[1], unittest.equals('foo')); | 5263 unittest.expect(o[1], unittest.equals('foo')); |
| 5279 } | 5264 } |
| 5280 | 5265 |
| 5281 buildUnnamed673() { | 5266 buildUnnamed932() { |
| 5282 var o = new core.List<core.String>(); | 5267 var o = new core.List<core.String>(); |
| 5283 o.add("foo"); | 5268 o.add("foo"); |
| 5284 o.add("foo"); | 5269 o.add("foo"); |
| 5285 return o; | 5270 return o; |
| 5286 } | 5271 } |
| 5287 | 5272 |
| 5288 checkUnnamed673(core.List<core.String> o) { | 5273 checkUnnamed932(core.List<core.String> o) { |
| 5289 unittest.expect(o, unittest.hasLength(2)); | 5274 unittest.expect(o, unittest.hasLength(2)); |
| 5290 unittest.expect(o[0], unittest.equals('foo')); | 5275 unittest.expect(o[0], unittest.equals('foo')); |
| 5291 unittest.expect(o[1], unittest.equals('foo')); | 5276 unittest.expect(o[1], unittest.equals('foo')); |
| 5292 } | 5277 } |
| 5293 | 5278 |
| 5294 buildUnnamed674() { | 5279 buildUnnamed933() { |
| 5295 var o = new core.List<core.String>(); | 5280 var o = new core.List<core.String>(); |
| 5296 o.add("foo"); | 5281 o.add("foo"); |
| 5297 o.add("foo"); | 5282 o.add("foo"); |
| 5298 return o; | 5283 return o; |
| 5299 } | 5284 } |
| 5300 | 5285 |
| 5301 checkUnnamed674(core.List<core.String> o) { | 5286 checkUnnamed933(core.List<core.String> o) { |
| 5302 unittest.expect(o, unittest.hasLength(2)); | 5287 unittest.expect(o, unittest.hasLength(2)); |
| 5303 unittest.expect(o[0], unittest.equals('foo')); | 5288 unittest.expect(o[0], unittest.equals('foo')); |
| 5304 unittest.expect(o[1], unittest.equals('foo')); | 5289 unittest.expect(o[1], unittest.equals('foo')); |
| 5305 } | 5290 } |
| 5306 | 5291 |
| 5307 buildUnnamed675() { | 5292 buildUnnamed934() { |
| 5308 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 5293 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 5309 o.add(buildVideoSuggestionsTagSuggestion()); | 5294 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5310 o.add(buildVideoSuggestionsTagSuggestion()); | 5295 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5311 return o; | 5296 return o; |
| 5312 } | 5297 } |
| 5313 | 5298 |
| 5314 checkUnnamed675(core.List<api.VideoSuggestionsTagSuggestion> o) { | 5299 checkUnnamed934(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 5315 unittest.expect(o, unittest.hasLength(2)); | 5300 unittest.expect(o, unittest.hasLength(2)); |
| 5316 checkVideoSuggestionsTagSuggestion(o[0]); | 5301 checkVideoSuggestionsTagSuggestion(o[0]); |
| 5317 checkVideoSuggestionsTagSuggestion(o[1]); | 5302 checkVideoSuggestionsTagSuggestion(o[1]); |
| 5318 } | 5303 } |
| 5319 | 5304 |
| 5320 core.int buildCounterVideoSuggestions = 0; | 5305 core.int buildCounterVideoSuggestions = 0; |
| 5321 buildVideoSuggestions() { | 5306 buildVideoSuggestions() { |
| 5322 var o = new api.VideoSuggestions(); | 5307 var o = new api.VideoSuggestions(); |
| 5323 buildCounterVideoSuggestions++; | 5308 buildCounterVideoSuggestions++; |
| 5324 if (buildCounterVideoSuggestions < 3) { | 5309 if (buildCounterVideoSuggestions < 3) { |
| 5325 o.editorSuggestions = buildUnnamed671(); | 5310 o.editorSuggestions = buildUnnamed930(); |
| 5326 o.processingErrors = buildUnnamed672(); | 5311 o.processingErrors = buildUnnamed931(); |
| 5327 o.processingHints = buildUnnamed673(); | 5312 o.processingHints = buildUnnamed932(); |
| 5328 o.processingWarnings = buildUnnamed674(); | 5313 o.processingWarnings = buildUnnamed933(); |
| 5329 o.tagSuggestions = buildUnnamed675(); | 5314 o.tagSuggestions = buildUnnamed934(); |
| 5330 } | 5315 } |
| 5331 buildCounterVideoSuggestions--; | 5316 buildCounterVideoSuggestions--; |
| 5332 return o; | 5317 return o; |
| 5333 } | 5318 } |
| 5334 | 5319 |
| 5335 checkVideoSuggestions(api.VideoSuggestions o) { | 5320 checkVideoSuggestions(api.VideoSuggestions o) { |
| 5336 buildCounterVideoSuggestions++; | 5321 buildCounterVideoSuggestions++; |
| 5337 if (buildCounterVideoSuggestions < 3) { | 5322 if (buildCounterVideoSuggestions < 3) { |
| 5338 checkUnnamed671(o.editorSuggestions); | 5323 checkUnnamed930(o.editorSuggestions); |
| 5339 checkUnnamed672(o.processingErrors); | 5324 checkUnnamed931(o.processingErrors); |
| 5340 checkUnnamed673(o.processingHints); | 5325 checkUnnamed932(o.processingHints); |
| 5341 checkUnnamed674(o.processingWarnings); | 5326 checkUnnamed933(o.processingWarnings); |
| 5342 checkUnnamed675(o.tagSuggestions); | 5327 checkUnnamed934(o.tagSuggestions); |
| 5343 } | 5328 } |
| 5344 buildCounterVideoSuggestions--; | 5329 buildCounterVideoSuggestions--; |
| 5345 } | 5330 } |
| 5346 | 5331 |
| 5347 buildUnnamed676() { | 5332 buildUnnamed935() { |
| 5348 var o = new core.List<core.String>(); | 5333 var o = new core.List<core.String>(); |
| 5349 o.add("foo"); | 5334 o.add("foo"); |
| 5350 o.add("foo"); | 5335 o.add("foo"); |
| 5351 return o; | 5336 return o; |
| 5352 } | 5337 } |
| 5353 | 5338 |
| 5354 checkUnnamed676(core.List<core.String> o) { | 5339 checkUnnamed935(core.List<core.String> o) { |
| 5355 unittest.expect(o, unittest.hasLength(2)); | 5340 unittest.expect(o, unittest.hasLength(2)); |
| 5356 unittest.expect(o[0], unittest.equals('foo')); | 5341 unittest.expect(o[0], unittest.equals('foo')); |
| 5357 unittest.expect(o[1], unittest.equals('foo')); | 5342 unittest.expect(o[1], unittest.equals('foo')); |
| 5358 } | 5343 } |
| 5359 | 5344 |
| 5360 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 5345 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 5361 buildVideoSuggestionsTagSuggestion() { | 5346 buildVideoSuggestionsTagSuggestion() { |
| 5362 var o = new api.VideoSuggestionsTagSuggestion(); | 5347 var o = new api.VideoSuggestionsTagSuggestion(); |
| 5363 buildCounterVideoSuggestionsTagSuggestion++; | 5348 buildCounterVideoSuggestionsTagSuggestion++; |
| 5364 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5349 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5365 o.categoryRestricts = buildUnnamed676(); | 5350 o.categoryRestricts = buildUnnamed935(); |
| 5366 o.tag = "foo"; | 5351 o.tag = "foo"; |
| 5367 } | 5352 } |
| 5368 buildCounterVideoSuggestionsTagSuggestion--; | 5353 buildCounterVideoSuggestionsTagSuggestion--; |
| 5369 return o; | 5354 return o; |
| 5370 } | 5355 } |
| 5371 | 5356 |
| 5372 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 5357 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 5373 buildCounterVideoSuggestionsTagSuggestion++; | 5358 buildCounterVideoSuggestionsTagSuggestion++; |
| 5374 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5359 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5375 checkUnnamed676(o.categoryRestricts); | 5360 checkUnnamed935(o.categoryRestricts); |
| 5376 unittest.expect(o.tag, unittest.equals('foo')); | 5361 unittest.expect(o.tag, unittest.equals('foo')); |
| 5377 } | 5362 } |
| 5378 buildCounterVideoSuggestionsTagSuggestion--; | 5363 buildCounterVideoSuggestionsTagSuggestion--; |
| 5379 } | 5364 } |
| 5380 | 5365 |
| 5381 buildUnnamed677() { | 5366 buildUnnamed936() { |
| 5382 var o = new core.List<core.String>(); | 5367 var o = new core.List<core.String>(); |
| 5383 o.add("foo"); | 5368 o.add("foo"); |
| 5384 o.add("foo"); | 5369 o.add("foo"); |
| 5385 return o; | 5370 return o; |
| 5386 } | 5371 } |
| 5387 | 5372 |
| 5388 checkUnnamed677(core.List<core.String> o) { | 5373 checkUnnamed936(core.List<core.String> o) { |
| 5389 unittest.expect(o, unittest.hasLength(2)); | 5374 unittest.expect(o, unittest.hasLength(2)); |
| 5390 unittest.expect(o[0], unittest.equals('foo')); | 5375 unittest.expect(o[0], unittest.equals('foo')); |
| 5391 unittest.expect(o[1], unittest.equals('foo')); | 5376 unittest.expect(o[1], unittest.equals('foo')); |
| 5392 } | 5377 } |
| 5393 | 5378 |
| 5394 buildUnnamed678() { | 5379 buildUnnamed937() { |
| 5395 var o = new core.List<core.String>(); | 5380 var o = new core.List<core.String>(); |
| 5396 o.add("foo"); | 5381 o.add("foo"); |
| 5397 o.add("foo"); | 5382 o.add("foo"); |
| 5398 return o; | 5383 return o; |
| 5399 } | 5384 } |
| 5400 | 5385 |
| 5401 checkUnnamed678(core.List<core.String> o) { | 5386 checkUnnamed937(core.List<core.String> o) { |
| 5402 unittest.expect(o, unittest.hasLength(2)); | 5387 unittest.expect(o, unittest.hasLength(2)); |
| 5403 unittest.expect(o[0], unittest.equals('foo')); | 5388 unittest.expect(o[0], unittest.equals('foo')); |
| 5404 unittest.expect(o[1], unittest.equals('foo')); | 5389 unittest.expect(o[1], unittest.equals('foo')); |
| 5405 } | 5390 } |
| 5406 | 5391 |
| 5407 core.int buildCounterVideoTopicDetails = 0; | 5392 core.int buildCounterVideoTopicDetails = 0; |
| 5408 buildVideoTopicDetails() { | 5393 buildVideoTopicDetails() { |
| 5409 var o = new api.VideoTopicDetails(); | 5394 var o = new api.VideoTopicDetails(); |
| 5410 buildCounterVideoTopicDetails++; | 5395 buildCounterVideoTopicDetails++; |
| 5411 if (buildCounterVideoTopicDetails < 3) { | 5396 if (buildCounterVideoTopicDetails < 3) { |
| 5412 o.relevantTopicIds = buildUnnamed677(); | 5397 o.relevantTopicIds = buildUnnamed936(); |
| 5413 o.topicIds = buildUnnamed678(); | 5398 o.topicIds = buildUnnamed937(); |
| 5414 } | 5399 } |
| 5415 buildCounterVideoTopicDetails--; | 5400 buildCounterVideoTopicDetails--; |
| 5416 return o; | 5401 return o; |
| 5417 } | 5402 } |
| 5418 | 5403 |
| 5419 checkVideoTopicDetails(api.VideoTopicDetails o) { | 5404 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 5420 buildCounterVideoTopicDetails++; | 5405 buildCounterVideoTopicDetails++; |
| 5421 if (buildCounterVideoTopicDetails < 3) { | 5406 if (buildCounterVideoTopicDetails < 3) { |
| 5422 checkUnnamed677(o.relevantTopicIds); | 5407 checkUnnamed936(o.relevantTopicIds); |
| 5423 checkUnnamed678(o.topicIds); | 5408 checkUnnamed937(o.topicIds); |
| 5424 } | 5409 } |
| 5425 buildCounterVideoTopicDetails--; | 5410 buildCounterVideoTopicDetails--; |
| 5426 } | 5411 } |
| 5427 | 5412 |
| 5428 core.int buildCounterWatchSettings = 0; | 5413 core.int buildCounterWatchSettings = 0; |
| 5429 buildWatchSettings() { | 5414 buildWatchSettings() { |
| 5430 var o = new api.WatchSettings(); | 5415 var o = new api.WatchSettings(); |
| 5431 buildCounterWatchSettings++; | 5416 buildCounterWatchSettings++; |
| 5432 if (buildCounterWatchSettings < 3) { | 5417 if (buildCounterWatchSettings < 3) { |
| 5433 o.backgroundColor = "foo"; | 5418 o.backgroundColor = "foo"; |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5704 | 5689 |
| 5705 unittest.group("obj-schema-ChannelConversionPings", () { | 5690 unittest.group("obj-schema-ChannelConversionPings", () { |
| 5706 unittest.test("to-json--from-json", () { | 5691 unittest.test("to-json--from-json", () { |
| 5707 var o = buildChannelConversionPings(); | 5692 var o = buildChannelConversionPings(); |
| 5708 var od = new api.ChannelConversionPings.fromJson(o.toJson()); | 5693 var od = new api.ChannelConversionPings.fromJson(o.toJson()); |
| 5709 checkChannelConversionPings(od); | 5694 checkChannelConversionPings(od); |
| 5710 }); | 5695 }); |
| 5711 }); | 5696 }); |
| 5712 | 5697 |
| 5713 | 5698 |
| 5714 unittest.group("obj-schema-ChannelId", () { | |
| 5715 unittest.test("to-json--from-json", () { | |
| 5716 var o = buildChannelId(); | |
| 5717 var od = new api.ChannelId.fromJson(o.toJson()); | |
| 5718 checkChannelId(od); | |
| 5719 }); | |
| 5720 }); | |
| 5721 | |
| 5722 | |
| 5723 unittest.group("obj-schema-ChannelListResponse", () { | 5699 unittest.group("obj-schema-ChannelListResponse", () { |
| 5724 unittest.test("to-json--from-json", () { | 5700 unittest.test("to-json--from-json", () { |
| 5725 var o = buildChannelListResponse(); | 5701 var o = buildChannelListResponse(); |
| 5726 var od = new api.ChannelListResponse.fromJson(o.toJson()); | 5702 var od = new api.ChannelListResponse.fromJson(o.toJson()); |
| 5727 checkChannelListResponse(od); | 5703 checkChannelListResponse(od); |
| 5728 }); | 5704 }); |
| 5729 }); | 5705 }); |
| 5730 | 5706 |
| 5731 | 5707 |
| 5732 unittest.group("obj-schema-ChannelLocalization", () { | 5708 unittest.group("obj-schema-ChannelLocalization", () { |
| (...skipping 5152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10885 return new async.Future.value(stringResponse(200, h, resp)); | 10861 return new async.Future.value(stringResponse(200, h, resp)); |
| 10886 }), true); | 10862 }), true); |
| 10887 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 10863 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 10888 }); | 10864 }); |
| 10889 | 10865 |
| 10890 }); | 10866 }); |
| 10891 | 10867 |
| 10892 | 10868 |
| 10893 } | 10869 } |
| 10894 | 10870 |
| OLD | NEW |