| 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 buildUnnamed713() { | 54 buildUnnamed737() { |
| 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 checkUnnamed713(core.List<core.String> o) { | 61 checkUnnamed737(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 = buildUnnamed713(); | 73 o.exception = buildUnnamed737(); |
| 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 checkUnnamed713(o.exception); | 83 checkUnnamed737(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 buildUnnamed714() { | 272 buildUnnamed738() { |
| 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 checkUnnamed714(core.List<core.String> o) { | 279 checkUnnamed738(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 buildUnnamed715() { | 285 buildUnnamed739() { |
| 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 checkUnnamed715(core.List<core.String> o) { | 292 checkUnnamed739(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 = buildUnnamed714(); | 310 o.forecastingUrl = buildUnnamed738(); |
| 311 o.impressionUrl = buildUnnamed715(); | 311 o.impressionUrl = buildUnnamed739(); |
| 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 checkUnnamed714(o.forecastingUrl); | 328 checkUnnamed738(o.forecastingUrl); |
| 329 checkUnnamed715(o.impressionUrl); | 329 checkUnnamed739(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 buildUnnamed716() { | 423 buildUnnamed740() { |
| 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 checkUnnamed716(core.List<api.Activity> o) { | 430 checkUnnamed740(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 = buildUnnamed716(); | 443 o.items = buildUnnamed740(); |
| 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 checkUnnamed716(o.items); | 460 checkUnnamed740(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 buildUnnamed717() { | 529 buildUnnamed741() { |
| 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 checkUnnamed717(core.List<api.Caption> o) { | 536 checkUnnamed741(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 = buildUnnamed717(); | 549 o.items = buildUnnamed741(); |
| 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 checkUnnamed717(o.items); | 562 checkUnnamed741(o.items); |
| 563 unittest.expect(o.kind, unittest.equals('foo')); | 563 unittest.expect(o.kind, unittest.equals('foo')); |
| 564 unittest.expect(o.visitorId, unittest.equals('foo')); | 564 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 565 } | 565 } |
| 566 buildCounterCaptionListResponse--; | 566 buildCounterCaptionListResponse--; |
| 567 } | 567 } |
| 568 | 568 |
| 569 core.int buildCounterCaptionSnippet = 0; | 569 core.int buildCounterCaptionSnippet = 0; |
| 570 buildCaptionSnippet() { | 570 buildCaptionSnippet() { |
| 571 var o = new api.CaptionSnippet(); | 571 var o = new api.CaptionSnippet(); |
| 572 buildCounterCaptionSnippet++; | 572 buildCounterCaptionSnippet++; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 if (buildCounterCdnSettings < 3) { | 629 if (buildCounterCdnSettings < 3) { |
| 630 unittest.expect(o.format, unittest.equals('foo')); | 630 unittest.expect(o.format, unittest.equals('foo')); |
| 631 unittest.expect(o.frameRate, unittest.equals('foo')); | 631 unittest.expect(o.frameRate, unittest.equals('foo')); |
| 632 checkIngestionInfo(o.ingestionInfo); | 632 checkIngestionInfo(o.ingestionInfo); |
| 633 unittest.expect(o.ingestionType, unittest.equals('foo')); | 633 unittest.expect(o.ingestionType, unittest.equals('foo')); |
| 634 unittest.expect(o.resolution, unittest.equals('foo')); | 634 unittest.expect(o.resolution, unittest.equals('foo')); |
| 635 } | 635 } |
| 636 buildCounterCdnSettings--; | 636 buildCounterCdnSettings--; |
| 637 } | 637 } |
| 638 | 638 |
| 639 buildUnnamed718() { | 639 buildUnnamed742() { |
| 640 var o = new core.Map<core.String, api.ChannelLocalization>(); | 640 var o = new core.Map<core.String, api.ChannelLocalization>(); |
| 641 o["x"] = buildChannelLocalization(); | 641 o["x"] = buildChannelLocalization(); |
| 642 o["y"] = buildChannelLocalization(); | 642 o["y"] = buildChannelLocalization(); |
| 643 return o; | 643 return o; |
| 644 } | 644 } |
| 645 | 645 |
| 646 checkUnnamed718(core.Map<core.String, api.ChannelLocalization> o) { | 646 checkUnnamed742(core.Map<core.String, api.ChannelLocalization> o) { |
| 647 unittest.expect(o, unittest.hasLength(2)); | 647 unittest.expect(o, unittest.hasLength(2)); |
| 648 checkChannelLocalization(o["x"]); | 648 checkChannelLocalization(o["x"]); |
| 649 checkChannelLocalization(o["y"]); | 649 checkChannelLocalization(o["y"]); |
| 650 } | 650 } |
| 651 | 651 |
| 652 core.int buildCounterChannel = 0; | 652 core.int buildCounterChannel = 0; |
| 653 buildChannel() { | 653 buildChannel() { |
| 654 var o = new api.Channel(); | 654 var o = new api.Channel(); |
| 655 buildCounterChannel++; | 655 buildCounterChannel++; |
| 656 if (buildCounterChannel < 3) { | 656 if (buildCounterChannel < 3) { |
| 657 o.auditDetails = buildChannelAuditDetails(); | 657 o.auditDetails = buildChannelAuditDetails(); |
| 658 o.brandingSettings = buildChannelBrandingSettings(); | 658 o.brandingSettings = buildChannelBrandingSettings(); |
| 659 o.contentDetails = buildChannelContentDetails(); | 659 o.contentDetails = buildChannelContentDetails(); |
| 660 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 660 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
| 661 o.conversionPings = buildChannelConversionPings(); | 661 o.conversionPings = buildChannelConversionPings(); |
| 662 o.etag = "foo"; | 662 o.etag = "foo"; |
| 663 o.id = "foo"; | 663 o.id = "foo"; |
| 664 o.invideoPromotion = buildInvideoPromotion(); | 664 o.invideoPromotion = buildInvideoPromotion(); |
| 665 o.kind = "foo"; | 665 o.kind = "foo"; |
| 666 o.localizations = buildUnnamed718(); | 666 o.localizations = buildUnnamed742(); |
| 667 o.snippet = buildChannelSnippet(); | 667 o.snippet = buildChannelSnippet(); |
| 668 o.statistics = buildChannelStatistics(); | 668 o.statistics = buildChannelStatistics(); |
| 669 o.status = buildChannelStatus(); | 669 o.status = buildChannelStatus(); |
| 670 o.topicDetails = buildChannelTopicDetails(); | 670 o.topicDetails = buildChannelTopicDetails(); |
| 671 } | 671 } |
| 672 buildCounterChannel--; | 672 buildCounterChannel--; |
| 673 return o; | 673 return o; |
| 674 } | 674 } |
| 675 | 675 |
| 676 checkChannel(api.Channel o) { | 676 checkChannel(api.Channel o) { |
| 677 buildCounterChannel++; | 677 buildCounterChannel++; |
| 678 if (buildCounterChannel < 3) { | 678 if (buildCounterChannel < 3) { |
| 679 checkChannelAuditDetails(o.auditDetails); | 679 checkChannelAuditDetails(o.auditDetails); |
| 680 checkChannelBrandingSettings(o.brandingSettings); | 680 checkChannelBrandingSettings(o.brandingSettings); |
| 681 checkChannelContentDetails(o.contentDetails); | 681 checkChannelContentDetails(o.contentDetails); |
| 682 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 682 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
| 683 checkChannelConversionPings(o.conversionPings); | 683 checkChannelConversionPings(o.conversionPings); |
| 684 unittest.expect(o.etag, unittest.equals('foo')); | 684 unittest.expect(o.etag, unittest.equals('foo')); |
| 685 unittest.expect(o.id, unittest.equals('foo')); | 685 unittest.expect(o.id, unittest.equals('foo')); |
| 686 checkInvideoPromotion(o.invideoPromotion); | 686 checkInvideoPromotion(o.invideoPromotion); |
| 687 unittest.expect(o.kind, unittest.equals('foo')); | 687 unittest.expect(o.kind, unittest.equals('foo')); |
| 688 checkUnnamed718(o.localizations); | 688 checkUnnamed742(o.localizations); |
| 689 checkChannelSnippet(o.snippet); | 689 checkChannelSnippet(o.snippet); |
| 690 checkChannelStatistics(o.statistics); | 690 checkChannelStatistics(o.statistics); |
| 691 checkChannelStatus(o.status); | 691 checkChannelStatus(o.status); |
| 692 checkChannelTopicDetails(o.topicDetails); | 692 checkChannelTopicDetails(o.topicDetails); |
| 693 } | 693 } |
| 694 buildCounterChannel--; | 694 buildCounterChannel--; |
| 695 } | 695 } |
| 696 | 696 |
| 697 core.int buildCounterChannelAuditDetails = 0; | 697 core.int buildCounterChannelAuditDetails = 0; |
| 698 buildChannelAuditDetails() { | 698 buildChannelAuditDetails() { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 checkChannelBannerResource(api.ChannelBannerResource o) { | 735 checkChannelBannerResource(api.ChannelBannerResource o) { |
| 736 buildCounterChannelBannerResource++; | 736 buildCounterChannelBannerResource++; |
| 737 if (buildCounterChannelBannerResource < 3) { | 737 if (buildCounterChannelBannerResource < 3) { |
| 738 unittest.expect(o.etag, unittest.equals('foo')); | 738 unittest.expect(o.etag, unittest.equals('foo')); |
| 739 unittest.expect(o.kind, unittest.equals('foo')); | 739 unittest.expect(o.kind, unittest.equals('foo')); |
| 740 unittest.expect(o.url, unittest.equals('foo')); | 740 unittest.expect(o.url, unittest.equals('foo')); |
| 741 } | 741 } |
| 742 buildCounterChannelBannerResource--; | 742 buildCounterChannelBannerResource--; |
| 743 } | 743 } |
| 744 | 744 |
| 745 buildUnnamed719() { | 745 buildUnnamed743() { |
| 746 var o = new core.List<api.PropertyValue>(); | 746 var o = new core.List<api.PropertyValue>(); |
| 747 o.add(buildPropertyValue()); | 747 o.add(buildPropertyValue()); |
| 748 o.add(buildPropertyValue()); | 748 o.add(buildPropertyValue()); |
| 749 return o; | 749 return o; |
| 750 } | 750 } |
| 751 | 751 |
| 752 checkUnnamed719(core.List<api.PropertyValue> o) { | 752 checkUnnamed743(core.List<api.PropertyValue> o) { |
| 753 unittest.expect(o, unittest.hasLength(2)); | 753 unittest.expect(o, unittest.hasLength(2)); |
| 754 checkPropertyValue(o[0]); | 754 checkPropertyValue(o[0]); |
| 755 checkPropertyValue(o[1]); | 755 checkPropertyValue(o[1]); |
| 756 } | 756 } |
| 757 | 757 |
| 758 core.int buildCounterChannelBrandingSettings = 0; | 758 core.int buildCounterChannelBrandingSettings = 0; |
| 759 buildChannelBrandingSettings() { | 759 buildChannelBrandingSettings() { |
| 760 var o = new api.ChannelBrandingSettings(); | 760 var o = new api.ChannelBrandingSettings(); |
| 761 buildCounterChannelBrandingSettings++; | 761 buildCounterChannelBrandingSettings++; |
| 762 if (buildCounterChannelBrandingSettings < 3) { | 762 if (buildCounterChannelBrandingSettings < 3) { |
| 763 o.channel = buildChannelSettings(); | 763 o.channel = buildChannelSettings(); |
| 764 o.hints = buildUnnamed719(); | 764 o.hints = buildUnnamed743(); |
| 765 o.image = buildImageSettings(); | 765 o.image = buildImageSettings(); |
| 766 o.watch = buildWatchSettings(); | 766 o.watch = buildWatchSettings(); |
| 767 } | 767 } |
| 768 buildCounterChannelBrandingSettings--; | 768 buildCounterChannelBrandingSettings--; |
| 769 return o; | 769 return o; |
| 770 } | 770 } |
| 771 | 771 |
| 772 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 772 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
| 773 buildCounterChannelBrandingSettings++; | 773 buildCounterChannelBrandingSettings++; |
| 774 if (buildCounterChannelBrandingSettings < 3) { | 774 if (buildCounterChannelBrandingSettings < 3) { |
| 775 checkChannelSettings(o.channel); | 775 checkChannelSettings(o.channel); |
| 776 checkUnnamed719(o.hints); | 776 checkUnnamed743(o.hints); |
| 777 checkImageSettings(o.image); | 777 checkImageSettings(o.image); |
| 778 checkWatchSettings(o.watch); | 778 checkWatchSettings(o.watch); |
| 779 } | 779 } |
| 780 buildCounterChannelBrandingSettings--; | 780 buildCounterChannelBrandingSettings--; |
| 781 } | 781 } |
| 782 | 782 |
| 783 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 783 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
| 784 buildChannelContentDetailsRelatedPlaylists() { | 784 buildChannelContentDetailsRelatedPlaylists() { |
| 785 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 785 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
| 786 buildCounterChannelContentDetailsRelatedPlaylists++; | 786 buildCounterChannelContentDetailsRelatedPlaylists++; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 805 unittest.expect(o.watchLater, unittest.equals('foo')); | 805 unittest.expect(o.watchLater, unittest.equals('foo')); |
| 806 } | 806 } |
| 807 buildCounterChannelContentDetailsRelatedPlaylists--; | 807 buildCounterChannelContentDetailsRelatedPlaylists--; |
| 808 } | 808 } |
| 809 | 809 |
| 810 core.int buildCounterChannelContentDetails = 0; | 810 core.int buildCounterChannelContentDetails = 0; |
| 811 buildChannelContentDetails() { | 811 buildChannelContentDetails() { |
| 812 var o = new api.ChannelContentDetails(); | 812 var o = new api.ChannelContentDetails(); |
| 813 buildCounterChannelContentDetails++; | 813 buildCounterChannelContentDetails++; |
| 814 if (buildCounterChannelContentDetails < 3) { | 814 if (buildCounterChannelContentDetails < 3) { |
| 815 o.googlePlusUserId = "foo"; | |
| 816 o.relatedPlaylists = buildChannelContentDetailsRelatedPlaylists(); | 815 o.relatedPlaylists = buildChannelContentDetailsRelatedPlaylists(); |
| 817 } | 816 } |
| 818 buildCounterChannelContentDetails--; | 817 buildCounterChannelContentDetails--; |
| 819 return o; | 818 return o; |
| 820 } | 819 } |
| 821 | 820 |
| 822 checkChannelContentDetails(api.ChannelContentDetails o) { | 821 checkChannelContentDetails(api.ChannelContentDetails o) { |
| 823 buildCounterChannelContentDetails++; | 822 buildCounterChannelContentDetails++; |
| 824 if (buildCounterChannelContentDetails < 3) { | 823 if (buildCounterChannelContentDetails < 3) { |
| 825 unittest.expect(o.googlePlusUserId, unittest.equals('foo')); | |
| 826 checkChannelContentDetailsRelatedPlaylists(o.relatedPlaylists); | 824 checkChannelContentDetailsRelatedPlaylists(o.relatedPlaylists); |
| 827 } | 825 } |
| 828 buildCounterChannelContentDetails--; | 826 buildCounterChannelContentDetails--; |
| 829 } | 827 } |
| 830 | 828 |
| 831 core.int buildCounterChannelContentOwnerDetails = 0; | 829 core.int buildCounterChannelContentOwnerDetails = 0; |
| 832 buildChannelContentOwnerDetails() { | 830 buildChannelContentOwnerDetails() { |
| 833 var o = new api.ChannelContentOwnerDetails(); | 831 var o = new api.ChannelContentOwnerDetails(); |
| 834 buildCounterChannelContentOwnerDetails++; | 832 buildCounterChannelContentOwnerDetails++; |
| 835 if (buildCounterChannelContentOwnerDetails < 3) { | 833 if (buildCounterChannelContentOwnerDetails < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 863 | 861 |
| 864 checkChannelConversionPing(api.ChannelConversionPing o) { | 862 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 865 buildCounterChannelConversionPing++; | 863 buildCounterChannelConversionPing++; |
| 866 if (buildCounterChannelConversionPing < 3) { | 864 if (buildCounterChannelConversionPing < 3) { |
| 867 unittest.expect(o.context, unittest.equals('foo')); | 865 unittest.expect(o.context, unittest.equals('foo')); |
| 868 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 866 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 869 } | 867 } |
| 870 buildCounterChannelConversionPing--; | 868 buildCounterChannelConversionPing--; |
| 871 } | 869 } |
| 872 | 870 |
| 873 buildUnnamed720() { | 871 buildUnnamed744() { |
| 874 var o = new core.List<api.ChannelConversionPing>(); | 872 var o = new core.List<api.ChannelConversionPing>(); |
| 875 o.add(buildChannelConversionPing()); | 873 o.add(buildChannelConversionPing()); |
| 876 o.add(buildChannelConversionPing()); | 874 o.add(buildChannelConversionPing()); |
| 877 return o; | 875 return o; |
| 878 } | 876 } |
| 879 | 877 |
| 880 checkUnnamed720(core.List<api.ChannelConversionPing> o) { | 878 checkUnnamed744(core.List<api.ChannelConversionPing> o) { |
| 881 unittest.expect(o, unittest.hasLength(2)); | 879 unittest.expect(o, unittest.hasLength(2)); |
| 882 checkChannelConversionPing(o[0]); | 880 checkChannelConversionPing(o[0]); |
| 883 checkChannelConversionPing(o[1]); | 881 checkChannelConversionPing(o[1]); |
| 884 } | 882 } |
| 885 | 883 |
| 886 core.int buildCounterChannelConversionPings = 0; | 884 core.int buildCounterChannelConversionPings = 0; |
| 887 buildChannelConversionPings() { | 885 buildChannelConversionPings() { |
| 888 var o = new api.ChannelConversionPings(); | 886 var o = new api.ChannelConversionPings(); |
| 889 buildCounterChannelConversionPings++; | 887 buildCounterChannelConversionPings++; |
| 890 if (buildCounterChannelConversionPings < 3) { | 888 if (buildCounterChannelConversionPings < 3) { |
| 891 o.pings = buildUnnamed720(); | 889 o.pings = buildUnnamed744(); |
| 892 } | 890 } |
| 893 buildCounterChannelConversionPings--; | 891 buildCounterChannelConversionPings--; |
| 894 return o; | 892 return o; |
| 895 } | 893 } |
| 896 | 894 |
| 897 checkChannelConversionPings(api.ChannelConversionPings o) { | 895 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 898 buildCounterChannelConversionPings++; | 896 buildCounterChannelConversionPings++; |
| 899 if (buildCounterChannelConversionPings < 3) { | 897 if (buildCounterChannelConversionPings < 3) { |
| 900 checkUnnamed720(o.pings); | 898 checkUnnamed744(o.pings); |
| 901 } | 899 } |
| 902 buildCounterChannelConversionPings--; | 900 buildCounterChannelConversionPings--; |
| 903 } | 901 } |
| 904 | 902 |
| 905 buildUnnamed721() { | 903 buildUnnamed745() { |
| 906 var o = new core.List<api.Channel>(); | 904 var o = new core.List<api.Channel>(); |
| 907 o.add(buildChannel()); | 905 o.add(buildChannel()); |
| 908 o.add(buildChannel()); | 906 o.add(buildChannel()); |
| 909 return o; | 907 return o; |
| 910 } | 908 } |
| 911 | 909 |
| 912 checkUnnamed721(core.List<api.Channel> o) { | 910 checkUnnamed745(core.List<api.Channel> o) { |
| 913 unittest.expect(o, unittest.hasLength(2)); | 911 unittest.expect(o, unittest.hasLength(2)); |
| 914 checkChannel(o[0]); | 912 checkChannel(o[0]); |
| 915 checkChannel(o[1]); | 913 checkChannel(o[1]); |
| 916 } | 914 } |
| 917 | 915 |
| 918 core.int buildCounterChannelListResponse = 0; | 916 core.int buildCounterChannelListResponse = 0; |
| 919 buildChannelListResponse() { | 917 buildChannelListResponse() { |
| 920 var o = new api.ChannelListResponse(); | 918 var o = new api.ChannelListResponse(); |
| 921 buildCounterChannelListResponse++; | 919 buildCounterChannelListResponse++; |
| 922 if (buildCounterChannelListResponse < 3) { | 920 if (buildCounterChannelListResponse < 3) { |
| 923 o.etag = "foo"; | 921 o.etag = "foo"; |
| 924 o.eventId = "foo"; | 922 o.eventId = "foo"; |
| 925 o.items = buildUnnamed721(); | 923 o.items = buildUnnamed745(); |
| 926 o.kind = "foo"; | 924 o.kind = "foo"; |
| 927 o.nextPageToken = "foo"; | 925 o.nextPageToken = "foo"; |
| 928 o.pageInfo = buildPageInfo(); | 926 o.pageInfo = buildPageInfo(); |
| 929 o.prevPageToken = "foo"; | 927 o.prevPageToken = "foo"; |
| 930 o.tokenPagination = buildTokenPagination(); | 928 o.tokenPagination = buildTokenPagination(); |
| 931 o.visitorId = "foo"; | 929 o.visitorId = "foo"; |
| 932 } | 930 } |
| 933 buildCounterChannelListResponse--; | 931 buildCounterChannelListResponse--; |
| 934 return o; | 932 return o; |
| 935 } | 933 } |
| 936 | 934 |
| 937 checkChannelListResponse(api.ChannelListResponse o) { | 935 checkChannelListResponse(api.ChannelListResponse o) { |
| 938 buildCounterChannelListResponse++; | 936 buildCounterChannelListResponse++; |
| 939 if (buildCounterChannelListResponse < 3) { | 937 if (buildCounterChannelListResponse < 3) { |
| 940 unittest.expect(o.etag, unittest.equals('foo')); | 938 unittest.expect(o.etag, unittest.equals('foo')); |
| 941 unittest.expect(o.eventId, unittest.equals('foo')); | 939 unittest.expect(o.eventId, unittest.equals('foo')); |
| 942 checkUnnamed721(o.items); | 940 checkUnnamed745(o.items); |
| 943 unittest.expect(o.kind, unittest.equals('foo')); | 941 unittest.expect(o.kind, unittest.equals('foo')); |
| 944 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 942 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 945 checkPageInfo(o.pageInfo); | 943 checkPageInfo(o.pageInfo); |
| 946 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 944 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 947 checkTokenPagination(o.tokenPagination); | 945 checkTokenPagination(o.tokenPagination); |
| 948 unittest.expect(o.visitorId, unittest.equals('foo')); | 946 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 949 } | 947 } |
| 950 buildCounterChannelListResponse--; | 948 buildCounterChannelListResponse--; |
| 951 } | 949 } |
| 952 | 950 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 buildCounterChannelProfileDetails++; | 987 buildCounterChannelProfileDetails++; |
| 990 if (buildCounterChannelProfileDetails < 3) { | 988 if (buildCounterChannelProfileDetails < 3) { |
| 991 unittest.expect(o.channelId, unittest.equals('foo')); | 989 unittest.expect(o.channelId, unittest.equals('foo')); |
| 992 unittest.expect(o.channelUrl, unittest.equals('foo')); | 990 unittest.expect(o.channelUrl, unittest.equals('foo')); |
| 993 unittest.expect(o.displayName, unittest.equals('foo')); | 991 unittest.expect(o.displayName, unittest.equals('foo')); |
| 994 unittest.expect(o.profileImageUrl, unittest.equals('foo')); | 992 unittest.expect(o.profileImageUrl, unittest.equals('foo')); |
| 995 } | 993 } |
| 996 buildCounterChannelProfileDetails--; | 994 buildCounterChannelProfileDetails--; |
| 997 } | 995 } |
| 998 | 996 |
| 999 buildUnnamed722() { | 997 buildUnnamed746() { |
| 1000 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 998 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
| 1001 o["x"] = buildChannelSectionLocalization(); | 999 o["x"] = buildChannelSectionLocalization(); |
| 1002 o["y"] = buildChannelSectionLocalization(); | 1000 o["y"] = buildChannelSectionLocalization(); |
| 1003 return o; | 1001 return o; |
| 1004 } | 1002 } |
| 1005 | 1003 |
| 1006 checkUnnamed722(core.Map<core.String, api.ChannelSectionLocalization> o) { | 1004 checkUnnamed746(core.Map<core.String, api.ChannelSectionLocalization> o) { |
| 1007 unittest.expect(o, unittest.hasLength(2)); | 1005 unittest.expect(o, unittest.hasLength(2)); |
| 1008 checkChannelSectionLocalization(o["x"]); | 1006 checkChannelSectionLocalization(o["x"]); |
| 1009 checkChannelSectionLocalization(o["y"]); | 1007 checkChannelSectionLocalization(o["y"]); |
| 1010 } | 1008 } |
| 1011 | 1009 |
| 1012 core.int buildCounterChannelSection = 0; | 1010 core.int buildCounterChannelSection = 0; |
| 1013 buildChannelSection() { | 1011 buildChannelSection() { |
| 1014 var o = new api.ChannelSection(); | 1012 var o = new api.ChannelSection(); |
| 1015 buildCounterChannelSection++; | 1013 buildCounterChannelSection++; |
| 1016 if (buildCounterChannelSection < 3) { | 1014 if (buildCounterChannelSection < 3) { |
| 1017 o.contentDetails = buildChannelSectionContentDetails(); | 1015 o.contentDetails = buildChannelSectionContentDetails(); |
| 1018 o.etag = "foo"; | 1016 o.etag = "foo"; |
| 1019 o.id = "foo"; | 1017 o.id = "foo"; |
| 1020 o.kind = "foo"; | 1018 o.kind = "foo"; |
| 1021 o.localizations = buildUnnamed722(); | 1019 o.localizations = buildUnnamed746(); |
| 1022 o.snippet = buildChannelSectionSnippet(); | 1020 o.snippet = buildChannelSectionSnippet(); |
| 1023 o.targeting = buildChannelSectionTargeting(); | 1021 o.targeting = buildChannelSectionTargeting(); |
| 1024 } | 1022 } |
| 1025 buildCounterChannelSection--; | 1023 buildCounterChannelSection--; |
| 1026 return o; | 1024 return o; |
| 1027 } | 1025 } |
| 1028 | 1026 |
| 1029 checkChannelSection(api.ChannelSection o) { | 1027 checkChannelSection(api.ChannelSection o) { |
| 1030 buildCounterChannelSection++; | 1028 buildCounterChannelSection++; |
| 1031 if (buildCounterChannelSection < 3) { | 1029 if (buildCounterChannelSection < 3) { |
| 1032 checkChannelSectionContentDetails(o.contentDetails); | 1030 checkChannelSectionContentDetails(o.contentDetails); |
| 1033 unittest.expect(o.etag, unittest.equals('foo')); | 1031 unittest.expect(o.etag, unittest.equals('foo')); |
| 1034 unittest.expect(o.id, unittest.equals('foo')); | 1032 unittest.expect(o.id, unittest.equals('foo')); |
| 1035 unittest.expect(o.kind, unittest.equals('foo')); | 1033 unittest.expect(o.kind, unittest.equals('foo')); |
| 1036 checkUnnamed722(o.localizations); | 1034 checkUnnamed746(o.localizations); |
| 1037 checkChannelSectionSnippet(o.snippet); | 1035 checkChannelSectionSnippet(o.snippet); |
| 1038 checkChannelSectionTargeting(o.targeting); | 1036 checkChannelSectionTargeting(o.targeting); |
| 1039 } | 1037 } |
| 1040 buildCounterChannelSection--; | 1038 buildCounterChannelSection--; |
| 1041 } | 1039 } |
| 1042 | 1040 |
| 1043 buildUnnamed723() { | 1041 buildUnnamed747() { |
| 1044 var o = new core.List<core.String>(); | 1042 var o = new core.List<core.String>(); |
| 1045 o.add("foo"); | 1043 o.add("foo"); |
| 1046 o.add("foo"); | 1044 o.add("foo"); |
| 1047 return o; | 1045 return o; |
| 1048 } | 1046 } |
| 1049 | 1047 |
| 1050 checkUnnamed723(core.List<core.String> o) { | 1048 checkUnnamed747(core.List<core.String> o) { |
| 1051 unittest.expect(o, unittest.hasLength(2)); | 1049 unittest.expect(o, unittest.hasLength(2)); |
| 1052 unittest.expect(o[0], unittest.equals('foo')); | 1050 unittest.expect(o[0], unittest.equals('foo')); |
| 1053 unittest.expect(o[1], unittest.equals('foo')); | 1051 unittest.expect(o[1], unittest.equals('foo')); |
| 1054 } | 1052 } |
| 1055 | 1053 |
| 1056 buildUnnamed724() { | 1054 buildUnnamed748() { |
| 1057 var o = new core.List<core.String>(); | 1055 var o = new core.List<core.String>(); |
| 1058 o.add("foo"); | 1056 o.add("foo"); |
| 1059 o.add("foo"); | 1057 o.add("foo"); |
| 1060 return o; | 1058 return o; |
| 1061 } | 1059 } |
| 1062 | 1060 |
| 1063 checkUnnamed724(core.List<core.String> o) { | 1061 checkUnnamed748(core.List<core.String> o) { |
| 1064 unittest.expect(o, unittest.hasLength(2)); | 1062 unittest.expect(o, unittest.hasLength(2)); |
| 1065 unittest.expect(o[0], unittest.equals('foo')); | 1063 unittest.expect(o[0], unittest.equals('foo')); |
| 1066 unittest.expect(o[1], unittest.equals('foo')); | 1064 unittest.expect(o[1], unittest.equals('foo')); |
| 1067 } | 1065 } |
| 1068 | 1066 |
| 1069 core.int buildCounterChannelSectionContentDetails = 0; | 1067 core.int buildCounterChannelSectionContentDetails = 0; |
| 1070 buildChannelSectionContentDetails() { | 1068 buildChannelSectionContentDetails() { |
| 1071 var o = new api.ChannelSectionContentDetails(); | 1069 var o = new api.ChannelSectionContentDetails(); |
| 1072 buildCounterChannelSectionContentDetails++; | 1070 buildCounterChannelSectionContentDetails++; |
| 1073 if (buildCounterChannelSectionContentDetails < 3) { | 1071 if (buildCounterChannelSectionContentDetails < 3) { |
| 1074 o.channels = buildUnnamed723(); | 1072 o.channels = buildUnnamed747(); |
| 1075 o.playlists = buildUnnamed724(); | 1073 o.playlists = buildUnnamed748(); |
| 1076 } | 1074 } |
| 1077 buildCounterChannelSectionContentDetails--; | 1075 buildCounterChannelSectionContentDetails--; |
| 1078 return o; | 1076 return o; |
| 1079 } | 1077 } |
| 1080 | 1078 |
| 1081 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1079 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 1082 buildCounterChannelSectionContentDetails++; | 1080 buildCounterChannelSectionContentDetails++; |
| 1083 if (buildCounterChannelSectionContentDetails < 3) { | 1081 if (buildCounterChannelSectionContentDetails < 3) { |
| 1084 checkUnnamed723(o.channels); | 1082 checkUnnamed747(o.channels); |
| 1085 checkUnnamed724(o.playlists); | 1083 checkUnnamed748(o.playlists); |
| 1086 } | 1084 } |
| 1087 buildCounterChannelSectionContentDetails--; | 1085 buildCounterChannelSectionContentDetails--; |
| 1088 } | 1086 } |
| 1089 | 1087 |
| 1090 buildUnnamed725() { | 1088 buildUnnamed749() { |
| 1091 var o = new core.List<api.ChannelSection>(); | 1089 var o = new core.List<api.ChannelSection>(); |
| 1092 o.add(buildChannelSection()); | 1090 o.add(buildChannelSection()); |
| 1093 o.add(buildChannelSection()); | 1091 o.add(buildChannelSection()); |
| 1094 return o; | 1092 return o; |
| 1095 } | 1093 } |
| 1096 | 1094 |
| 1097 checkUnnamed725(core.List<api.ChannelSection> o) { | 1095 checkUnnamed749(core.List<api.ChannelSection> o) { |
| 1098 unittest.expect(o, unittest.hasLength(2)); | 1096 unittest.expect(o, unittest.hasLength(2)); |
| 1099 checkChannelSection(o[0]); | 1097 checkChannelSection(o[0]); |
| 1100 checkChannelSection(o[1]); | 1098 checkChannelSection(o[1]); |
| 1101 } | 1099 } |
| 1102 | 1100 |
| 1103 core.int buildCounterChannelSectionListResponse = 0; | 1101 core.int buildCounterChannelSectionListResponse = 0; |
| 1104 buildChannelSectionListResponse() { | 1102 buildChannelSectionListResponse() { |
| 1105 var o = new api.ChannelSectionListResponse(); | 1103 var o = new api.ChannelSectionListResponse(); |
| 1106 buildCounterChannelSectionListResponse++; | 1104 buildCounterChannelSectionListResponse++; |
| 1107 if (buildCounterChannelSectionListResponse < 3) { | 1105 if (buildCounterChannelSectionListResponse < 3) { |
| 1108 o.etag = "foo"; | 1106 o.etag = "foo"; |
| 1109 o.eventId = "foo"; | 1107 o.eventId = "foo"; |
| 1110 o.items = buildUnnamed725(); | 1108 o.items = buildUnnamed749(); |
| 1111 o.kind = "foo"; | 1109 o.kind = "foo"; |
| 1112 o.visitorId = "foo"; | 1110 o.visitorId = "foo"; |
| 1113 } | 1111 } |
| 1114 buildCounterChannelSectionListResponse--; | 1112 buildCounterChannelSectionListResponse--; |
| 1115 return o; | 1113 return o; |
| 1116 } | 1114 } |
| 1117 | 1115 |
| 1118 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1116 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 1119 buildCounterChannelSectionListResponse++; | 1117 buildCounterChannelSectionListResponse++; |
| 1120 if (buildCounterChannelSectionListResponse < 3) { | 1118 if (buildCounterChannelSectionListResponse < 3) { |
| 1121 unittest.expect(o.etag, unittest.equals('foo')); | 1119 unittest.expect(o.etag, unittest.equals('foo')); |
| 1122 unittest.expect(o.eventId, unittest.equals('foo')); | 1120 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1123 checkUnnamed725(o.items); | 1121 checkUnnamed749(o.items); |
| 1124 unittest.expect(o.kind, unittest.equals('foo')); | 1122 unittest.expect(o.kind, unittest.equals('foo')); |
| 1125 unittest.expect(o.visitorId, unittest.equals('foo')); | 1123 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1126 } | 1124 } |
| 1127 buildCounterChannelSectionListResponse--; | 1125 buildCounterChannelSectionListResponse--; |
| 1128 } | 1126 } |
| 1129 | 1127 |
| 1130 core.int buildCounterChannelSectionLocalization = 0; | 1128 core.int buildCounterChannelSectionLocalization = 0; |
| 1131 buildChannelSectionLocalization() { | 1129 buildChannelSectionLocalization() { |
| 1132 var o = new api.ChannelSectionLocalization(); | 1130 var o = new api.ChannelSectionLocalization(); |
| 1133 buildCounterChannelSectionLocalization++; | 1131 buildCounterChannelSectionLocalization++; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1168 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1171 checkChannelSectionLocalization(o.localized); | 1169 checkChannelSectionLocalization(o.localized); |
| 1172 unittest.expect(o.position, unittest.equals(42)); | 1170 unittest.expect(o.position, unittest.equals(42)); |
| 1173 unittest.expect(o.style, unittest.equals('foo')); | 1171 unittest.expect(o.style, unittest.equals('foo')); |
| 1174 unittest.expect(o.title, unittest.equals('foo')); | 1172 unittest.expect(o.title, unittest.equals('foo')); |
| 1175 unittest.expect(o.type, unittest.equals('foo')); | 1173 unittest.expect(o.type, unittest.equals('foo')); |
| 1176 } | 1174 } |
| 1177 buildCounterChannelSectionSnippet--; | 1175 buildCounterChannelSectionSnippet--; |
| 1178 } | 1176 } |
| 1179 | 1177 |
| 1180 buildUnnamed726() { | 1178 buildUnnamed750() { |
| 1181 var o = new core.List<core.String>(); | 1179 var o = new core.List<core.String>(); |
| 1182 o.add("foo"); | 1180 o.add("foo"); |
| 1183 o.add("foo"); | 1181 o.add("foo"); |
| 1184 return o; | 1182 return o; |
| 1185 } | 1183 } |
| 1186 | 1184 |
| 1187 checkUnnamed726(core.List<core.String> o) { | 1185 checkUnnamed750(core.List<core.String> o) { |
| 1188 unittest.expect(o, unittest.hasLength(2)); | 1186 unittest.expect(o, unittest.hasLength(2)); |
| 1189 unittest.expect(o[0], unittest.equals('foo')); | 1187 unittest.expect(o[0], unittest.equals('foo')); |
| 1190 unittest.expect(o[1], unittest.equals('foo')); | 1188 unittest.expect(o[1], unittest.equals('foo')); |
| 1191 } | 1189 } |
| 1192 | 1190 |
| 1193 buildUnnamed727() { | 1191 buildUnnamed751() { |
| 1194 var o = new core.List<core.String>(); | 1192 var o = new core.List<core.String>(); |
| 1195 o.add("foo"); | 1193 o.add("foo"); |
| 1196 o.add("foo"); | 1194 o.add("foo"); |
| 1197 return o; | 1195 return o; |
| 1198 } | 1196 } |
| 1199 | 1197 |
| 1200 checkUnnamed727(core.List<core.String> o) { | 1198 checkUnnamed751(core.List<core.String> o) { |
| 1201 unittest.expect(o, unittest.hasLength(2)); | 1199 unittest.expect(o, unittest.hasLength(2)); |
| 1202 unittest.expect(o[0], unittest.equals('foo')); | 1200 unittest.expect(o[0], unittest.equals('foo')); |
| 1203 unittest.expect(o[1], unittest.equals('foo')); | 1201 unittest.expect(o[1], unittest.equals('foo')); |
| 1204 } | 1202 } |
| 1205 | 1203 |
| 1206 buildUnnamed728() { | 1204 buildUnnamed752() { |
| 1207 var o = new core.List<core.String>(); | 1205 var o = new core.List<core.String>(); |
| 1208 o.add("foo"); | 1206 o.add("foo"); |
| 1209 o.add("foo"); | 1207 o.add("foo"); |
| 1210 return o; | 1208 return o; |
| 1211 } | 1209 } |
| 1212 | 1210 |
| 1213 checkUnnamed728(core.List<core.String> o) { | 1211 checkUnnamed752(core.List<core.String> o) { |
| 1214 unittest.expect(o, unittest.hasLength(2)); | 1212 unittest.expect(o, unittest.hasLength(2)); |
| 1215 unittest.expect(o[0], unittest.equals('foo')); | 1213 unittest.expect(o[0], unittest.equals('foo')); |
| 1216 unittest.expect(o[1], unittest.equals('foo')); | 1214 unittest.expect(o[1], unittest.equals('foo')); |
| 1217 } | 1215 } |
| 1218 | 1216 |
| 1219 core.int buildCounterChannelSectionTargeting = 0; | 1217 core.int buildCounterChannelSectionTargeting = 0; |
| 1220 buildChannelSectionTargeting() { | 1218 buildChannelSectionTargeting() { |
| 1221 var o = new api.ChannelSectionTargeting(); | 1219 var o = new api.ChannelSectionTargeting(); |
| 1222 buildCounterChannelSectionTargeting++; | 1220 buildCounterChannelSectionTargeting++; |
| 1223 if (buildCounterChannelSectionTargeting < 3) { | 1221 if (buildCounterChannelSectionTargeting < 3) { |
| 1224 o.countries = buildUnnamed726(); | 1222 o.countries = buildUnnamed750(); |
| 1225 o.languages = buildUnnamed727(); | 1223 o.languages = buildUnnamed751(); |
| 1226 o.regions = buildUnnamed728(); | 1224 o.regions = buildUnnamed752(); |
| 1227 } | 1225 } |
| 1228 buildCounterChannelSectionTargeting--; | 1226 buildCounterChannelSectionTargeting--; |
| 1229 return o; | 1227 return o; |
| 1230 } | 1228 } |
| 1231 | 1229 |
| 1232 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1230 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
| 1233 buildCounterChannelSectionTargeting++; | 1231 buildCounterChannelSectionTargeting++; |
| 1234 if (buildCounterChannelSectionTargeting < 3) { | 1232 if (buildCounterChannelSectionTargeting < 3) { |
| 1235 checkUnnamed726(o.countries); | 1233 checkUnnamed750(o.countries); |
| 1236 checkUnnamed727(o.languages); | 1234 checkUnnamed751(o.languages); |
| 1237 checkUnnamed728(o.regions); | 1235 checkUnnamed752(o.regions); |
| 1238 } | 1236 } |
| 1239 buildCounterChannelSectionTargeting--; | 1237 buildCounterChannelSectionTargeting--; |
| 1240 } | 1238 } |
| 1241 | 1239 |
| 1242 buildUnnamed729() { | 1240 buildUnnamed753() { |
| 1243 var o = new core.List<core.String>(); | 1241 var o = new core.List<core.String>(); |
| 1244 o.add("foo"); | 1242 o.add("foo"); |
| 1245 o.add("foo"); | 1243 o.add("foo"); |
| 1246 return o; | 1244 return o; |
| 1247 } | 1245 } |
| 1248 | 1246 |
| 1249 checkUnnamed729(core.List<core.String> o) { | 1247 checkUnnamed753(core.List<core.String> o) { |
| 1250 unittest.expect(o, unittest.hasLength(2)); | 1248 unittest.expect(o, unittest.hasLength(2)); |
| 1251 unittest.expect(o[0], unittest.equals('foo')); | 1249 unittest.expect(o[0], unittest.equals('foo')); |
| 1252 unittest.expect(o[1], unittest.equals('foo')); | 1250 unittest.expect(o[1], unittest.equals('foo')); |
| 1253 } | 1251 } |
| 1254 | 1252 |
| 1255 core.int buildCounterChannelSettings = 0; | 1253 core.int buildCounterChannelSettings = 0; |
| 1256 buildChannelSettings() { | 1254 buildChannelSettings() { |
| 1257 var o = new api.ChannelSettings(); | 1255 var o = new api.ChannelSettings(); |
| 1258 buildCounterChannelSettings++; | 1256 buildCounterChannelSettings++; |
| 1259 if (buildCounterChannelSettings < 3) { | 1257 if (buildCounterChannelSettings < 3) { |
| 1260 o.country = "foo"; | 1258 o.country = "foo"; |
| 1261 o.defaultLanguage = "foo"; | 1259 o.defaultLanguage = "foo"; |
| 1262 o.defaultTab = "foo"; | 1260 o.defaultTab = "foo"; |
| 1263 o.description = "foo"; | 1261 o.description = "foo"; |
| 1264 o.featuredChannelsTitle = "foo"; | 1262 o.featuredChannelsTitle = "foo"; |
| 1265 o.featuredChannelsUrls = buildUnnamed729(); | 1263 o.featuredChannelsUrls = buildUnnamed753(); |
| 1266 o.keywords = "foo"; | 1264 o.keywords = "foo"; |
| 1267 o.moderateComments = true; | 1265 o.moderateComments = true; |
| 1268 o.profileColor = "foo"; | 1266 o.profileColor = "foo"; |
| 1269 o.showBrowseView = true; | 1267 o.showBrowseView = true; |
| 1270 o.showRelatedChannels = true; | 1268 o.showRelatedChannels = true; |
| 1271 o.title = "foo"; | 1269 o.title = "foo"; |
| 1272 o.trackingAnalyticsAccountId = "foo"; | 1270 o.trackingAnalyticsAccountId = "foo"; |
| 1273 o.unsubscribedTrailer = "foo"; | 1271 o.unsubscribedTrailer = "foo"; |
| 1274 } | 1272 } |
| 1275 buildCounterChannelSettings--; | 1273 buildCounterChannelSettings--; |
| 1276 return o; | 1274 return o; |
| 1277 } | 1275 } |
| 1278 | 1276 |
| 1279 checkChannelSettings(api.ChannelSettings o) { | 1277 checkChannelSettings(api.ChannelSettings o) { |
| 1280 buildCounterChannelSettings++; | 1278 buildCounterChannelSettings++; |
| 1281 if (buildCounterChannelSettings < 3) { | 1279 if (buildCounterChannelSettings < 3) { |
| 1282 unittest.expect(o.country, unittest.equals('foo')); | 1280 unittest.expect(o.country, unittest.equals('foo')); |
| 1283 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1281 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1284 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1282 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 1285 unittest.expect(o.description, unittest.equals('foo')); | 1283 unittest.expect(o.description, unittest.equals('foo')); |
| 1286 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1284 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 1287 checkUnnamed729(o.featuredChannelsUrls); | 1285 checkUnnamed753(o.featuredChannelsUrls); |
| 1288 unittest.expect(o.keywords, unittest.equals('foo')); | 1286 unittest.expect(o.keywords, unittest.equals('foo')); |
| 1289 unittest.expect(o.moderateComments, unittest.isTrue); | 1287 unittest.expect(o.moderateComments, unittest.isTrue); |
| 1290 unittest.expect(o.profileColor, unittest.equals('foo')); | 1288 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 1291 unittest.expect(o.showBrowseView, unittest.isTrue); | 1289 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 1292 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1290 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 1293 unittest.expect(o.title, unittest.equals('foo')); | 1291 unittest.expect(o.title, unittest.equals('foo')); |
| 1294 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1292 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 1295 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1293 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 1296 } | 1294 } |
| 1297 buildCounterChannelSettings--; | 1295 buildCounterChannelSettings--; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1373 checkChannelStatus(api.ChannelStatus o) { | 1371 checkChannelStatus(api.ChannelStatus o) { |
| 1374 buildCounterChannelStatus++; | 1372 buildCounterChannelStatus++; |
| 1375 if (buildCounterChannelStatus < 3) { | 1373 if (buildCounterChannelStatus < 3) { |
| 1376 unittest.expect(o.isLinked, unittest.isTrue); | 1374 unittest.expect(o.isLinked, unittest.isTrue); |
| 1377 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1375 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1378 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1376 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1379 } | 1377 } |
| 1380 buildCounterChannelStatus--; | 1378 buildCounterChannelStatus--; |
| 1381 } | 1379 } |
| 1382 | 1380 |
| 1383 buildUnnamed730() { | 1381 buildUnnamed754() { |
| 1384 var o = new core.List<core.String>(); | 1382 var o = new core.List<core.String>(); |
| 1385 o.add("foo"); | 1383 o.add("foo"); |
| 1386 o.add("foo"); | 1384 o.add("foo"); |
| 1387 return o; | 1385 return o; |
| 1388 } | 1386 } |
| 1389 | 1387 |
| 1390 checkUnnamed730(core.List<core.String> o) { | 1388 checkUnnamed754(core.List<core.String> o) { |
| 1391 unittest.expect(o, unittest.hasLength(2)); | 1389 unittest.expect(o, unittest.hasLength(2)); |
| 1392 unittest.expect(o[0], unittest.equals('foo')); | 1390 unittest.expect(o[0], unittest.equals('foo')); |
| 1393 unittest.expect(o[1], unittest.equals('foo')); | 1391 unittest.expect(o[1], unittest.equals('foo')); |
| 1394 } | 1392 } |
| 1395 | 1393 |
| 1396 core.int buildCounterChannelTopicDetails = 0; | 1394 core.int buildCounterChannelTopicDetails = 0; |
| 1397 buildChannelTopicDetails() { | 1395 buildChannelTopicDetails() { |
| 1398 var o = new api.ChannelTopicDetails(); | 1396 var o = new api.ChannelTopicDetails(); |
| 1399 buildCounterChannelTopicDetails++; | 1397 buildCounterChannelTopicDetails++; |
| 1400 if (buildCounterChannelTopicDetails < 3) { | 1398 if (buildCounterChannelTopicDetails < 3) { |
| 1401 o.topicIds = buildUnnamed730(); | 1399 o.topicIds = buildUnnamed754(); |
| 1402 } | 1400 } |
| 1403 buildCounterChannelTopicDetails--; | 1401 buildCounterChannelTopicDetails--; |
| 1404 return o; | 1402 return o; |
| 1405 } | 1403 } |
| 1406 | 1404 |
| 1407 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1405 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1408 buildCounterChannelTopicDetails++; | 1406 buildCounterChannelTopicDetails++; |
| 1409 if (buildCounterChannelTopicDetails < 3) { | 1407 if (buildCounterChannelTopicDetails < 3) { |
| 1410 checkUnnamed730(o.topicIds); | 1408 checkUnnamed754(o.topicIds); |
| 1411 } | 1409 } |
| 1412 buildCounterChannelTopicDetails--; | 1410 buildCounterChannelTopicDetails--; |
| 1413 } | 1411 } |
| 1414 | 1412 |
| 1415 core.int buildCounterComment = 0; | 1413 core.int buildCounterComment = 0; |
| 1416 buildComment() { | 1414 buildComment() { |
| 1417 var o = new api.Comment(); | 1415 var o = new api.Comment(); |
| 1418 buildCounterComment++; | 1416 buildCounterComment++; |
| 1419 if (buildCounterComment < 3) { | 1417 if (buildCounterComment < 3) { |
| 1420 o.etag = "foo"; | 1418 o.etag = "foo"; |
| 1421 o.id = "foo"; | 1419 o.id = "foo"; |
| 1422 o.kind = "foo"; | 1420 o.kind = "foo"; |
| 1423 o.snippet = buildCommentSnippet(); | 1421 o.snippet = buildCommentSnippet(); |
| 1424 } | 1422 } |
| 1425 buildCounterComment--; | 1423 buildCounterComment--; |
| 1426 return o; | 1424 return o; |
| 1427 } | 1425 } |
| 1428 | 1426 |
| 1429 checkComment(api.Comment o) { | 1427 checkComment(api.Comment o) { |
| 1430 buildCounterComment++; | 1428 buildCounterComment++; |
| 1431 if (buildCounterComment < 3) { | 1429 if (buildCounterComment < 3) { |
| 1432 unittest.expect(o.etag, unittest.equals('foo')); | 1430 unittest.expect(o.etag, unittest.equals('foo')); |
| 1433 unittest.expect(o.id, unittest.equals('foo')); | 1431 unittest.expect(o.id, unittest.equals('foo')); |
| 1434 unittest.expect(o.kind, unittest.equals('foo')); | 1432 unittest.expect(o.kind, unittest.equals('foo')); |
| 1435 checkCommentSnippet(o.snippet); | 1433 checkCommentSnippet(o.snippet); |
| 1436 } | 1434 } |
| 1437 buildCounterComment--; | 1435 buildCounterComment--; |
| 1438 } | 1436 } |
| 1439 | 1437 |
| 1440 buildUnnamed731() { | 1438 buildUnnamed755() { |
| 1441 var o = new core.List<api.Comment>(); | 1439 var o = new core.List<api.Comment>(); |
| 1442 o.add(buildComment()); | 1440 o.add(buildComment()); |
| 1443 o.add(buildComment()); | 1441 o.add(buildComment()); |
| 1444 return o; | 1442 return o; |
| 1445 } | 1443 } |
| 1446 | 1444 |
| 1447 checkUnnamed731(core.List<api.Comment> o) { | 1445 checkUnnamed755(core.List<api.Comment> o) { |
| 1448 unittest.expect(o, unittest.hasLength(2)); | 1446 unittest.expect(o, unittest.hasLength(2)); |
| 1449 checkComment(o[0]); | 1447 checkComment(o[0]); |
| 1450 checkComment(o[1]); | 1448 checkComment(o[1]); |
| 1451 } | 1449 } |
| 1452 | 1450 |
| 1453 core.int buildCounterCommentListResponse = 0; | 1451 core.int buildCounterCommentListResponse = 0; |
| 1454 buildCommentListResponse() { | 1452 buildCommentListResponse() { |
| 1455 var o = new api.CommentListResponse(); | 1453 var o = new api.CommentListResponse(); |
| 1456 buildCounterCommentListResponse++; | 1454 buildCounterCommentListResponse++; |
| 1457 if (buildCounterCommentListResponse < 3) { | 1455 if (buildCounterCommentListResponse < 3) { |
| 1458 o.etag = "foo"; | 1456 o.etag = "foo"; |
| 1459 o.eventId = "foo"; | 1457 o.eventId = "foo"; |
| 1460 o.items = buildUnnamed731(); | 1458 o.items = buildUnnamed755(); |
| 1461 o.kind = "foo"; | 1459 o.kind = "foo"; |
| 1462 o.nextPageToken = "foo"; | 1460 o.nextPageToken = "foo"; |
| 1463 o.pageInfo = buildPageInfo(); | 1461 o.pageInfo = buildPageInfo(); |
| 1464 o.tokenPagination = buildTokenPagination(); | 1462 o.tokenPagination = buildTokenPagination(); |
| 1465 o.visitorId = "foo"; | 1463 o.visitorId = "foo"; |
| 1466 } | 1464 } |
| 1467 buildCounterCommentListResponse--; | 1465 buildCounterCommentListResponse--; |
| 1468 return o; | 1466 return o; |
| 1469 } | 1467 } |
| 1470 | 1468 |
| 1471 checkCommentListResponse(api.CommentListResponse o) { | 1469 checkCommentListResponse(api.CommentListResponse o) { |
| 1472 buildCounterCommentListResponse++; | 1470 buildCounterCommentListResponse++; |
| 1473 if (buildCounterCommentListResponse < 3) { | 1471 if (buildCounterCommentListResponse < 3) { |
| 1474 unittest.expect(o.etag, unittest.equals('foo')); | 1472 unittest.expect(o.etag, unittest.equals('foo')); |
| 1475 unittest.expect(o.eventId, unittest.equals('foo')); | 1473 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1476 checkUnnamed731(o.items); | 1474 checkUnnamed755(o.items); |
| 1477 unittest.expect(o.kind, unittest.equals('foo')); | 1475 unittest.expect(o.kind, unittest.equals('foo')); |
| 1478 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1476 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1479 checkPageInfo(o.pageInfo); | 1477 checkPageInfo(o.pageInfo); |
| 1480 checkTokenPagination(o.tokenPagination); | 1478 checkTokenPagination(o.tokenPagination); |
| 1481 unittest.expect(o.visitorId, unittest.equals('foo')); | 1479 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1482 } | 1480 } |
| 1483 buildCounterCommentListResponse--; | 1481 buildCounterCommentListResponse--; |
| 1484 } | 1482 } |
| 1485 | 1483 |
| 1486 core.int buildCounterCommentSnippet = 0; | 1484 core.int buildCounterCommentSnippet = 0; |
| 1487 buildCommentSnippet() { | 1485 buildCommentSnippet() { |
| 1488 var o = new api.CommentSnippet(); | 1486 var o = new api.CommentSnippet(); |
| 1489 buildCounterCommentSnippet++; | 1487 buildCounterCommentSnippet++; |
| 1490 if (buildCounterCommentSnippet < 3) { | 1488 if (buildCounterCommentSnippet < 3) { |
| 1491 o.authorChannelId = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1489 o.authorChannelId = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1492 o.authorChannelUrl = "foo"; | 1490 o.authorChannelUrl = "foo"; |
| 1493 o.authorDisplayName = "foo"; | 1491 o.authorDisplayName = "foo"; |
| 1494 o.authorGoogleplusProfileUrl = "foo"; | |
| 1495 o.authorProfileImageUrl = "foo"; | 1492 o.authorProfileImageUrl = "foo"; |
| 1496 o.canRate = true; | 1493 o.canRate = true; |
| 1497 o.channelId = "foo"; | 1494 o.channelId = "foo"; |
| 1498 o.likeCount = 42; | 1495 o.likeCount = 42; |
| 1499 o.moderationStatus = "foo"; | 1496 o.moderationStatus = "foo"; |
| 1500 o.parentId = "foo"; | 1497 o.parentId = "foo"; |
| 1501 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 1498 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1502 o.textDisplay = "foo"; | 1499 o.textDisplay = "foo"; |
| 1503 o.textOriginal = "foo"; | 1500 o.textOriginal = "foo"; |
| 1504 o.updatedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 1501 o.updatedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1505 o.videoId = "foo"; | 1502 o.videoId = "foo"; |
| 1506 o.viewerRating = "foo"; | 1503 o.viewerRating = "foo"; |
| 1507 } | 1504 } |
| 1508 buildCounterCommentSnippet--; | 1505 buildCounterCommentSnippet--; |
| 1509 return o; | 1506 return o; |
| 1510 } | 1507 } |
| 1511 | 1508 |
| 1512 checkCommentSnippet(api.CommentSnippet o) { | 1509 checkCommentSnippet(api.CommentSnippet o) { |
| 1513 buildCounterCommentSnippet++; | 1510 buildCounterCommentSnippet++; |
| 1514 if (buildCounterCommentSnippet < 3) { | 1511 if (buildCounterCommentSnippet < 3) { |
| 1515 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')); | 1512 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')); |
| 1516 unittest.expect(o.authorChannelUrl, unittest.equals('foo')); | 1513 unittest.expect(o.authorChannelUrl, unittest.equals('foo')); |
| 1517 unittest.expect(o.authorDisplayName, unittest.equals('foo')); | 1514 unittest.expect(o.authorDisplayName, unittest.equals('foo')); |
| 1518 unittest.expect(o.authorGoogleplusProfileUrl, unittest.equals('foo')); | |
| 1519 unittest.expect(o.authorProfileImageUrl, unittest.equals('foo')); | 1515 unittest.expect(o.authorProfileImageUrl, unittest.equals('foo')); |
| 1520 unittest.expect(o.canRate, unittest.isTrue); | 1516 unittest.expect(o.canRate, unittest.isTrue); |
| 1521 unittest.expect(o.channelId, unittest.equals('foo')); | 1517 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1522 unittest.expect(o.likeCount, unittest.equals(42)); | 1518 unittest.expect(o.likeCount, unittest.equals(42)); |
| 1523 unittest.expect(o.moderationStatus, unittest.equals('foo')); | 1519 unittest.expect(o.moderationStatus, unittest.equals('foo')); |
| 1524 unittest.expect(o.parentId, unittest.equals('foo')); | 1520 unittest.expect(o.parentId, unittest.equals('foo')); |
| 1525 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"))); |
| 1526 unittest.expect(o.textDisplay, unittest.equals('foo')); | 1522 unittest.expect(o.textDisplay, unittest.equals('foo')); |
| 1527 unittest.expect(o.textOriginal, unittest.equals('foo')); | 1523 unittest.expect(o.textOriginal, unittest.equals('foo')); |
| 1528 unittest.expect(o.updatedAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1524 unittest.expect(o.updatedAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 1552 if (buildCounterCommentThread < 3) { | 1548 if (buildCounterCommentThread < 3) { |
| 1553 unittest.expect(o.etag, unittest.equals('foo')); | 1549 unittest.expect(o.etag, unittest.equals('foo')); |
| 1554 unittest.expect(o.id, unittest.equals('foo')); | 1550 unittest.expect(o.id, unittest.equals('foo')); |
| 1555 unittest.expect(o.kind, unittest.equals('foo')); | 1551 unittest.expect(o.kind, unittest.equals('foo')); |
| 1556 checkCommentThreadReplies(o.replies); | 1552 checkCommentThreadReplies(o.replies); |
| 1557 checkCommentThreadSnippet(o.snippet); | 1553 checkCommentThreadSnippet(o.snippet); |
| 1558 } | 1554 } |
| 1559 buildCounterCommentThread--; | 1555 buildCounterCommentThread--; |
| 1560 } | 1556 } |
| 1561 | 1557 |
| 1562 buildUnnamed732() { | 1558 buildUnnamed756() { |
| 1563 var o = new core.List<api.CommentThread>(); | 1559 var o = new core.List<api.CommentThread>(); |
| 1564 o.add(buildCommentThread()); | 1560 o.add(buildCommentThread()); |
| 1565 o.add(buildCommentThread()); | 1561 o.add(buildCommentThread()); |
| 1566 return o; | 1562 return o; |
| 1567 } | 1563 } |
| 1568 | 1564 |
| 1569 checkUnnamed732(core.List<api.CommentThread> o) { | 1565 checkUnnamed756(core.List<api.CommentThread> o) { |
| 1570 unittest.expect(o, unittest.hasLength(2)); | 1566 unittest.expect(o, unittest.hasLength(2)); |
| 1571 checkCommentThread(o[0]); | 1567 checkCommentThread(o[0]); |
| 1572 checkCommentThread(o[1]); | 1568 checkCommentThread(o[1]); |
| 1573 } | 1569 } |
| 1574 | 1570 |
| 1575 core.int buildCounterCommentThreadListResponse = 0; | 1571 core.int buildCounterCommentThreadListResponse = 0; |
| 1576 buildCommentThreadListResponse() { | 1572 buildCommentThreadListResponse() { |
| 1577 var o = new api.CommentThreadListResponse(); | 1573 var o = new api.CommentThreadListResponse(); |
| 1578 buildCounterCommentThreadListResponse++; | 1574 buildCounterCommentThreadListResponse++; |
| 1579 if (buildCounterCommentThreadListResponse < 3) { | 1575 if (buildCounterCommentThreadListResponse < 3) { |
| 1580 o.etag = "foo"; | 1576 o.etag = "foo"; |
| 1581 o.eventId = "foo"; | 1577 o.eventId = "foo"; |
| 1582 o.items = buildUnnamed732(); | 1578 o.items = buildUnnamed756(); |
| 1583 o.kind = "foo"; | 1579 o.kind = "foo"; |
| 1584 o.nextPageToken = "foo"; | 1580 o.nextPageToken = "foo"; |
| 1585 o.pageInfo = buildPageInfo(); | 1581 o.pageInfo = buildPageInfo(); |
| 1586 o.tokenPagination = buildTokenPagination(); | 1582 o.tokenPagination = buildTokenPagination(); |
| 1587 o.visitorId = "foo"; | 1583 o.visitorId = "foo"; |
| 1588 } | 1584 } |
| 1589 buildCounterCommentThreadListResponse--; | 1585 buildCounterCommentThreadListResponse--; |
| 1590 return o; | 1586 return o; |
| 1591 } | 1587 } |
| 1592 | 1588 |
| 1593 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1589 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
| 1594 buildCounterCommentThreadListResponse++; | 1590 buildCounterCommentThreadListResponse++; |
| 1595 if (buildCounterCommentThreadListResponse < 3) { | 1591 if (buildCounterCommentThreadListResponse < 3) { |
| 1596 unittest.expect(o.etag, unittest.equals('foo')); | 1592 unittest.expect(o.etag, unittest.equals('foo')); |
| 1597 unittest.expect(o.eventId, unittest.equals('foo')); | 1593 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1598 checkUnnamed732(o.items); | 1594 checkUnnamed756(o.items); |
| 1599 unittest.expect(o.kind, unittest.equals('foo')); | 1595 unittest.expect(o.kind, unittest.equals('foo')); |
| 1600 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1596 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1601 checkPageInfo(o.pageInfo); | 1597 checkPageInfo(o.pageInfo); |
| 1602 checkTokenPagination(o.tokenPagination); | 1598 checkTokenPagination(o.tokenPagination); |
| 1603 unittest.expect(o.visitorId, unittest.equals('foo')); | 1599 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1604 } | 1600 } |
| 1605 buildCounterCommentThreadListResponse--; | 1601 buildCounterCommentThreadListResponse--; |
| 1606 } | 1602 } |
| 1607 | 1603 |
| 1608 buildUnnamed733() { | 1604 buildUnnamed757() { |
| 1609 var o = new core.List<api.Comment>(); | 1605 var o = new core.List<api.Comment>(); |
| 1610 o.add(buildComment()); | 1606 o.add(buildComment()); |
| 1611 o.add(buildComment()); | 1607 o.add(buildComment()); |
| 1612 return o; | 1608 return o; |
| 1613 } | 1609 } |
| 1614 | 1610 |
| 1615 checkUnnamed733(core.List<api.Comment> o) { | 1611 checkUnnamed757(core.List<api.Comment> o) { |
| 1616 unittest.expect(o, unittest.hasLength(2)); | 1612 unittest.expect(o, unittest.hasLength(2)); |
| 1617 checkComment(o[0]); | 1613 checkComment(o[0]); |
| 1618 checkComment(o[1]); | 1614 checkComment(o[1]); |
| 1619 } | 1615 } |
| 1620 | 1616 |
| 1621 core.int buildCounterCommentThreadReplies = 0; | 1617 core.int buildCounterCommentThreadReplies = 0; |
| 1622 buildCommentThreadReplies() { | 1618 buildCommentThreadReplies() { |
| 1623 var o = new api.CommentThreadReplies(); | 1619 var o = new api.CommentThreadReplies(); |
| 1624 buildCounterCommentThreadReplies++; | 1620 buildCounterCommentThreadReplies++; |
| 1625 if (buildCounterCommentThreadReplies < 3) { | 1621 if (buildCounterCommentThreadReplies < 3) { |
| 1626 o.comments = buildUnnamed733(); | 1622 o.comments = buildUnnamed757(); |
| 1627 } | 1623 } |
| 1628 buildCounterCommentThreadReplies--; | 1624 buildCounterCommentThreadReplies--; |
| 1629 return o; | 1625 return o; |
| 1630 } | 1626 } |
| 1631 | 1627 |
| 1632 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1628 checkCommentThreadReplies(api.CommentThreadReplies o) { |
| 1633 buildCounterCommentThreadReplies++; | 1629 buildCounterCommentThreadReplies++; |
| 1634 if (buildCounterCommentThreadReplies < 3) { | 1630 if (buildCounterCommentThreadReplies < 3) { |
| 1635 checkUnnamed733(o.comments); | 1631 checkUnnamed757(o.comments); |
| 1636 } | 1632 } |
| 1637 buildCounterCommentThreadReplies--; | 1633 buildCounterCommentThreadReplies--; |
| 1638 } | 1634 } |
| 1639 | 1635 |
| 1640 core.int buildCounterCommentThreadSnippet = 0; | 1636 core.int buildCounterCommentThreadSnippet = 0; |
| 1641 buildCommentThreadSnippet() { | 1637 buildCommentThreadSnippet() { |
| 1642 var o = new api.CommentThreadSnippet(); | 1638 var o = new api.CommentThreadSnippet(); |
| 1643 buildCounterCommentThreadSnippet++; | 1639 buildCounterCommentThreadSnippet++; |
| 1644 if (buildCounterCommentThreadSnippet < 3) { | 1640 if (buildCounterCommentThreadSnippet < 3) { |
| 1645 o.canReply = true; | 1641 o.canReply = true; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1659 unittest.expect(o.canReply, unittest.isTrue); | 1655 unittest.expect(o.canReply, unittest.isTrue); |
| 1660 unittest.expect(o.channelId, unittest.equals('foo')); | 1656 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1661 unittest.expect(o.isPublic, unittest.isTrue); | 1657 unittest.expect(o.isPublic, unittest.isTrue); |
| 1662 checkComment(o.topLevelComment); | 1658 checkComment(o.topLevelComment); |
| 1663 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1659 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
| 1664 unittest.expect(o.videoId, unittest.equals('foo')); | 1660 unittest.expect(o.videoId, unittest.equals('foo')); |
| 1665 } | 1661 } |
| 1666 buildCounterCommentThreadSnippet--; | 1662 buildCounterCommentThreadSnippet--; |
| 1667 } | 1663 } |
| 1668 | 1664 |
| 1669 buildUnnamed734() { | 1665 buildUnnamed758() { |
| 1670 var o = new core.List<core.String>(); | 1666 var o = new core.List<core.String>(); |
| 1671 o.add("foo"); | 1667 o.add("foo"); |
| 1672 o.add("foo"); | 1668 o.add("foo"); |
| 1673 return o; | 1669 return o; |
| 1674 } | 1670 } |
| 1675 | 1671 |
| 1676 checkUnnamed734(core.List<core.String> o) { | 1672 checkUnnamed758(core.List<core.String> o) { |
| 1677 unittest.expect(o, unittest.hasLength(2)); | 1673 unittest.expect(o, unittest.hasLength(2)); |
| 1678 unittest.expect(o[0], unittest.equals('foo')); | 1674 unittest.expect(o[0], unittest.equals('foo')); |
| 1679 unittest.expect(o[1], unittest.equals('foo')); | 1675 unittest.expect(o[1], unittest.equals('foo')); |
| 1680 } | 1676 } |
| 1681 | 1677 |
| 1682 buildUnnamed735() { | 1678 buildUnnamed759() { |
| 1683 var o = new core.List<core.String>(); | 1679 var o = new core.List<core.String>(); |
| 1684 o.add("foo"); | 1680 o.add("foo"); |
| 1685 o.add("foo"); | 1681 o.add("foo"); |
| 1686 return o; | 1682 return o; |
| 1687 } | 1683 } |
| 1688 | 1684 |
| 1689 checkUnnamed735(core.List<core.String> o) { | 1685 checkUnnamed759(core.List<core.String> o) { |
| 1690 unittest.expect(o, unittest.hasLength(2)); | 1686 unittest.expect(o, unittest.hasLength(2)); |
| 1691 unittest.expect(o[0], unittest.equals('foo')); | 1687 unittest.expect(o[0], unittest.equals('foo')); |
| 1692 unittest.expect(o[1], unittest.equals('foo')); | 1688 unittest.expect(o[1], unittest.equals('foo')); |
| 1693 } | 1689 } |
| 1694 | 1690 |
| 1695 core.int buildCounterContentRating = 0; | 1691 core.int buildCounterContentRating = 0; |
| 1696 buildContentRating() { | 1692 buildContentRating() { |
| 1697 var o = new api.ContentRating(); | 1693 var o = new api.ContentRating(); |
| 1698 buildCounterContentRating++; | 1694 buildCounterContentRating++; |
| 1699 if (buildCounterContentRating < 3) { | 1695 if (buildCounterContentRating < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1710 o.cceRating = "foo"; | 1706 o.cceRating = "foo"; |
| 1711 o.chfilmRating = "foo"; | 1707 o.chfilmRating = "foo"; |
| 1712 o.chvrsRating = "foo"; | 1708 o.chvrsRating = "foo"; |
| 1713 o.cicfRating = "foo"; | 1709 o.cicfRating = "foo"; |
| 1714 o.cnaRating = "foo"; | 1710 o.cnaRating = "foo"; |
| 1715 o.cncRating = "foo"; | 1711 o.cncRating = "foo"; |
| 1716 o.csaRating = "foo"; | 1712 o.csaRating = "foo"; |
| 1717 o.cscfRating = "foo"; | 1713 o.cscfRating = "foo"; |
| 1718 o.czfilmRating = "foo"; | 1714 o.czfilmRating = "foo"; |
| 1719 o.djctqRating = "foo"; | 1715 o.djctqRating = "foo"; |
| 1720 o.djctqRatingReasons = buildUnnamed734(); | 1716 o.djctqRatingReasons = buildUnnamed758(); |
| 1721 o.ecbmctRating = "foo"; | 1717 o.ecbmctRating = "foo"; |
| 1722 o.eefilmRating = "foo"; | 1718 o.eefilmRating = "foo"; |
| 1723 o.egfilmRating = "foo"; | 1719 o.egfilmRating = "foo"; |
| 1724 o.eirinRating = "foo"; | 1720 o.eirinRating = "foo"; |
| 1725 o.fcbmRating = "foo"; | 1721 o.fcbmRating = "foo"; |
| 1726 o.fcoRating = "foo"; | 1722 o.fcoRating = "foo"; |
| 1727 o.fmocRating = "foo"; | 1723 o.fmocRating = "foo"; |
| 1728 o.fpbRating = "foo"; | 1724 o.fpbRating = "foo"; |
| 1729 o.fpbRatingReasons = buildUnnamed735(); | 1725 o.fpbRatingReasons = buildUnnamed759(); |
| 1730 o.fskRating = "foo"; | 1726 o.fskRating = "foo"; |
| 1731 o.grfilmRating = "foo"; | 1727 o.grfilmRating = "foo"; |
| 1732 o.icaaRating = "foo"; | 1728 o.icaaRating = "foo"; |
| 1733 o.ifcoRating = "foo"; | 1729 o.ifcoRating = "foo"; |
| 1734 o.ilfilmRating = "foo"; | 1730 o.ilfilmRating = "foo"; |
| 1735 o.incaaRating = "foo"; | 1731 o.incaaRating = "foo"; |
| 1736 o.kfcbRating = "foo"; | 1732 o.kfcbRating = "foo"; |
| 1737 o.kijkwijzerRating = "foo"; | 1733 o.kijkwijzerRating = "foo"; |
| 1738 o.kmrbRating = "foo"; | 1734 o.kmrbRating = "foo"; |
| 1739 o.lsfRating = "foo"; | 1735 o.lsfRating = "foo"; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1785 unittest.expect(o.cceRating, unittest.equals('foo')); | 1781 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1786 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1782 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1787 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1783 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1788 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1784 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1789 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1785 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1790 unittest.expect(o.cncRating, unittest.equals('foo')); | 1786 unittest.expect(o.cncRating, unittest.equals('foo')); |
| 1791 unittest.expect(o.csaRating, unittest.equals('foo')); | 1787 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1792 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1788 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1793 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1789 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1794 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1790 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1795 checkUnnamed734(o.djctqRatingReasons); | 1791 checkUnnamed758(o.djctqRatingReasons); |
| 1796 unittest.expect(o.ecbmctRating, unittest.equals('foo')); | 1792 unittest.expect(o.ecbmctRating, unittest.equals('foo')); |
| 1797 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1793 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1798 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1794 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1799 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1795 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1800 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1796 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1801 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1797 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1802 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1798 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1803 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1799 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1804 checkUnnamed735(o.fpbRatingReasons); | 1800 checkUnnamed759(o.fpbRatingReasons); |
| 1805 unittest.expect(o.fskRating, unittest.equals('foo')); | 1801 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1806 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1802 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| 1807 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1803 unittest.expect(o.icaaRating, unittest.equals('foo')); |
| 1808 unittest.expect(o.ifcoRating, unittest.equals('foo')); | 1804 unittest.expect(o.ifcoRating, unittest.equals('foo')); |
| 1809 unittest.expect(o.ilfilmRating, unittest.equals('foo')); | 1805 unittest.expect(o.ilfilmRating, unittest.equals('foo')); |
| 1810 unittest.expect(o.incaaRating, unittest.equals('foo')); | 1806 unittest.expect(o.incaaRating, unittest.equals('foo')); |
| 1811 unittest.expect(o.kfcbRating, unittest.equals('foo')); | 1807 unittest.expect(o.kfcbRating, unittest.equals('foo')); |
| 1812 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); | 1808 unittest.expect(o.kijkwijzerRating, unittest.equals('foo')); |
| 1813 unittest.expect(o.kmrbRating, unittest.equals('foo')); | 1809 unittest.expect(o.kmrbRating, unittest.equals('foo')); |
| 1814 unittest.expect(o.lsfRating, unittest.equals('foo')); | 1810 unittest.expect(o.lsfRating, unittest.equals('foo')); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1861 buildCounterFanFundingEvent++; | 1857 buildCounterFanFundingEvent++; |
| 1862 if (buildCounterFanFundingEvent < 3) { | 1858 if (buildCounterFanFundingEvent < 3) { |
| 1863 unittest.expect(o.etag, unittest.equals('foo')); | 1859 unittest.expect(o.etag, unittest.equals('foo')); |
| 1864 unittest.expect(o.id, unittest.equals('foo')); | 1860 unittest.expect(o.id, unittest.equals('foo')); |
| 1865 unittest.expect(o.kind, unittest.equals('foo')); | 1861 unittest.expect(o.kind, unittest.equals('foo')); |
| 1866 checkFanFundingEventSnippet(o.snippet); | 1862 checkFanFundingEventSnippet(o.snippet); |
| 1867 } | 1863 } |
| 1868 buildCounterFanFundingEvent--; | 1864 buildCounterFanFundingEvent--; |
| 1869 } | 1865 } |
| 1870 | 1866 |
| 1871 buildUnnamed736() { | 1867 buildUnnamed760() { |
| 1872 var o = new core.List<api.FanFundingEvent>(); | 1868 var o = new core.List<api.FanFundingEvent>(); |
| 1873 o.add(buildFanFundingEvent()); | 1869 o.add(buildFanFundingEvent()); |
| 1874 o.add(buildFanFundingEvent()); | 1870 o.add(buildFanFundingEvent()); |
| 1875 return o; | 1871 return o; |
| 1876 } | 1872 } |
| 1877 | 1873 |
| 1878 checkUnnamed736(core.List<api.FanFundingEvent> o) { | 1874 checkUnnamed760(core.List<api.FanFundingEvent> o) { |
| 1879 unittest.expect(o, unittest.hasLength(2)); | 1875 unittest.expect(o, unittest.hasLength(2)); |
| 1880 checkFanFundingEvent(o[0]); | 1876 checkFanFundingEvent(o[0]); |
| 1881 checkFanFundingEvent(o[1]); | 1877 checkFanFundingEvent(o[1]); |
| 1882 } | 1878 } |
| 1883 | 1879 |
| 1884 core.int buildCounterFanFundingEventListResponse = 0; | 1880 core.int buildCounterFanFundingEventListResponse = 0; |
| 1885 buildFanFundingEventListResponse() { | 1881 buildFanFundingEventListResponse() { |
| 1886 var o = new api.FanFundingEventListResponse(); | 1882 var o = new api.FanFundingEventListResponse(); |
| 1887 buildCounterFanFundingEventListResponse++; | 1883 buildCounterFanFundingEventListResponse++; |
| 1888 if (buildCounterFanFundingEventListResponse < 3) { | 1884 if (buildCounterFanFundingEventListResponse < 3) { |
| 1889 o.etag = "foo"; | 1885 o.etag = "foo"; |
| 1890 o.eventId = "foo"; | 1886 o.eventId = "foo"; |
| 1891 o.items = buildUnnamed736(); | 1887 o.items = buildUnnamed760(); |
| 1892 o.kind = "foo"; | 1888 o.kind = "foo"; |
| 1893 o.nextPageToken = "foo"; | 1889 o.nextPageToken = "foo"; |
| 1894 o.pageInfo = buildPageInfo(); | 1890 o.pageInfo = buildPageInfo(); |
| 1895 o.tokenPagination = buildTokenPagination(); | 1891 o.tokenPagination = buildTokenPagination(); |
| 1896 o.visitorId = "foo"; | 1892 o.visitorId = "foo"; |
| 1897 } | 1893 } |
| 1898 buildCounterFanFundingEventListResponse--; | 1894 buildCounterFanFundingEventListResponse--; |
| 1899 return o; | 1895 return o; |
| 1900 } | 1896 } |
| 1901 | 1897 |
| 1902 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { | 1898 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { |
| 1903 buildCounterFanFundingEventListResponse++; | 1899 buildCounterFanFundingEventListResponse++; |
| 1904 if (buildCounterFanFundingEventListResponse < 3) { | 1900 if (buildCounterFanFundingEventListResponse < 3) { |
| 1905 unittest.expect(o.etag, unittest.equals('foo')); | 1901 unittest.expect(o.etag, unittest.equals('foo')); |
| 1906 unittest.expect(o.eventId, unittest.equals('foo')); | 1902 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1907 checkUnnamed736(o.items); | 1903 checkUnnamed760(o.items); |
| 1908 unittest.expect(o.kind, unittest.equals('foo')); | 1904 unittest.expect(o.kind, unittest.equals('foo')); |
| 1909 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1905 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1910 checkPageInfo(o.pageInfo); | 1906 checkPageInfo(o.pageInfo); |
| 1911 checkTokenPagination(o.tokenPagination); | 1907 checkTokenPagination(o.tokenPagination); |
| 1912 unittest.expect(o.visitorId, unittest.equals('foo')); | 1908 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1913 } | 1909 } |
| 1914 buildCounterFanFundingEventListResponse--; | 1910 buildCounterFanFundingEventListResponse--; |
| 1915 } | 1911 } |
| 1916 | 1912 |
| 1917 core.int buildCounterFanFundingEventSnippet = 0; | 1913 core.int buildCounterFanFundingEventSnippet = 0; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 buildCounterGuideCategory++; | 1982 buildCounterGuideCategory++; |
| 1987 if (buildCounterGuideCategory < 3) { | 1983 if (buildCounterGuideCategory < 3) { |
| 1988 unittest.expect(o.etag, unittest.equals('foo')); | 1984 unittest.expect(o.etag, unittest.equals('foo')); |
| 1989 unittest.expect(o.id, unittest.equals('foo')); | 1985 unittest.expect(o.id, unittest.equals('foo')); |
| 1990 unittest.expect(o.kind, unittest.equals('foo')); | 1986 unittest.expect(o.kind, unittest.equals('foo')); |
| 1991 checkGuideCategorySnippet(o.snippet); | 1987 checkGuideCategorySnippet(o.snippet); |
| 1992 } | 1988 } |
| 1993 buildCounterGuideCategory--; | 1989 buildCounterGuideCategory--; |
| 1994 } | 1990 } |
| 1995 | 1991 |
| 1996 buildUnnamed737() { | 1992 buildUnnamed761() { |
| 1997 var o = new core.List<api.GuideCategory>(); | 1993 var o = new core.List<api.GuideCategory>(); |
| 1998 o.add(buildGuideCategory()); | 1994 o.add(buildGuideCategory()); |
| 1999 o.add(buildGuideCategory()); | 1995 o.add(buildGuideCategory()); |
| 2000 return o; | 1996 return o; |
| 2001 } | 1997 } |
| 2002 | 1998 |
| 2003 checkUnnamed737(core.List<api.GuideCategory> o) { | 1999 checkUnnamed761(core.List<api.GuideCategory> o) { |
| 2004 unittest.expect(o, unittest.hasLength(2)); | 2000 unittest.expect(o, unittest.hasLength(2)); |
| 2005 checkGuideCategory(o[0]); | 2001 checkGuideCategory(o[0]); |
| 2006 checkGuideCategory(o[1]); | 2002 checkGuideCategory(o[1]); |
| 2007 } | 2003 } |
| 2008 | 2004 |
| 2009 core.int buildCounterGuideCategoryListResponse = 0; | 2005 core.int buildCounterGuideCategoryListResponse = 0; |
| 2010 buildGuideCategoryListResponse() { | 2006 buildGuideCategoryListResponse() { |
| 2011 var o = new api.GuideCategoryListResponse(); | 2007 var o = new api.GuideCategoryListResponse(); |
| 2012 buildCounterGuideCategoryListResponse++; | 2008 buildCounterGuideCategoryListResponse++; |
| 2013 if (buildCounterGuideCategoryListResponse < 3) { | 2009 if (buildCounterGuideCategoryListResponse < 3) { |
| 2014 o.etag = "foo"; | 2010 o.etag = "foo"; |
| 2015 o.eventId = "foo"; | 2011 o.eventId = "foo"; |
| 2016 o.items = buildUnnamed737(); | 2012 o.items = buildUnnamed761(); |
| 2017 o.kind = "foo"; | 2013 o.kind = "foo"; |
| 2018 o.nextPageToken = "foo"; | 2014 o.nextPageToken = "foo"; |
| 2019 o.pageInfo = buildPageInfo(); | 2015 o.pageInfo = buildPageInfo(); |
| 2020 o.prevPageToken = "foo"; | 2016 o.prevPageToken = "foo"; |
| 2021 o.tokenPagination = buildTokenPagination(); | 2017 o.tokenPagination = buildTokenPagination(); |
| 2022 o.visitorId = "foo"; | 2018 o.visitorId = "foo"; |
| 2023 } | 2019 } |
| 2024 buildCounterGuideCategoryListResponse--; | 2020 buildCounterGuideCategoryListResponse--; |
| 2025 return o; | 2021 return o; |
| 2026 } | 2022 } |
| 2027 | 2023 |
| 2028 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 2024 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 2029 buildCounterGuideCategoryListResponse++; | 2025 buildCounterGuideCategoryListResponse++; |
| 2030 if (buildCounterGuideCategoryListResponse < 3) { | 2026 if (buildCounterGuideCategoryListResponse < 3) { |
| 2031 unittest.expect(o.etag, unittest.equals('foo')); | 2027 unittest.expect(o.etag, unittest.equals('foo')); |
| 2032 unittest.expect(o.eventId, unittest.equals('foo')); | 2028 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2033 checkUnnamed737(o.items); | 2029 checkUnnamed761(o.items); |
| 2034 unittest.expect(o.kind, unittest.equals('foo')); | 2030 unittest.expect(o.kind, unittest.equals('foo')); |
| 2035 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2031 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2036 checkPageInfo(o.pageInfo); | 2032 checkPageInfo(o.pageInfo); |
| 2037 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2033 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2038 checkTokenPagination(o.tokenPagination); | 2034 checkTokenPagination(o.tokenPagination); |
| 2039 unittest.expect(o.visitorId, unittest.equals('foo')); | 2035 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2040 } | 2036 } |
| 2041 buildCounterGuideCategoryListResponse--; | 2037 buildCounterGuideCategoryListResponse--; |
| 2042 } | 2038 } |
| 2043 | 2039 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2080 buildCounterI18nLanguage++; | 2076 buildCounterI18nLanguage++; |
| 2081 if (buildCounterI18nLanguage < 3) { | 2077 if (buildCounterI18nLanguage < 3) { |
| 2082 unittest.expect(o.etag, unittest.equals('foo')); | 2078 unittest.expect(o.etag, unittest.equals('foo')); |
| 2083 unittest.expect(o.id, unittest.equals('foo')); | 2079 unittest.expect(o.id, unittest.equals('foo')); |
| 2084 unittest.expect(o.kind, unittest.equals('foo')); | 2080 unittest.expect(o.kind, unittest.equals('foo')); |
| 2085 checkI18nLanguageSnippet(o.snippet); | 2081 checkI18nLanguageSnippet(o.snippet); |
| 2086 } | 2082 } |
| 2087 buildCounterI18nLanguage--; | 2083 buildCounterI18nLanguage--; |
| 2088 } | 2084 } |
| 2089 | 2085 |
| 2090 buildUnnamed738() { | 2086 buildUnnamed762() { |
| 2091 var o = new core.List<api.I18nLanguage>(); | 2087 var o = new core.List<api.I18nLanguage>(); |
| 2092 o.add(buildI18nLanguage()); | 2088 o.add(buildI18nLanguage()); |
| 2093 o.add(buildI18nLanguage()); | 2089 o.add(buildI18nLanguage()); |
| 2094 return o; | 2090 return o; |
| 2095 } | 2091 } |
| 2096 | 2092 |
| 2097 checkUnnamed738(core.List<api.I18nLanguage> o) { | 2093 checkUnnamed762(core.List<api.I18nLanguage> o) { |
| 2098 unittest.expect(o, unittest.hasLength(2)); | 2094 unittest.expect(o, unittest.hasLength(2)); |
| 2099 checkI18nLanguage(o[0]); | 2095 checkI18nLanguage(o[0]); |
| 2100 checkI18nLanguage(o[1]); | 2096 checkI18nLanguage(o[1]); |
| 2101 } | 2097 } |
| 2102 | 2098 |
| 2103 core.int buildCounterI18nLanguageListResponse = 0; | 2099 core.int buildCounterI18nLanguageListResponse = 0; |
| 2104 buildI18nLanguageListResponse() { | 2100 buildI18nLanguageListResponse() { |
| 2105 var o = new api.I18nLanguageListResponse(); | 2101 var o = new api.I18nLanguageListResponse(); |
| 2106 buildCounterI18nLanguageListResponse++; | 2102 buildCounterI18nLanguageListResponse++; |
| 2107 if (buildCounterI18nLanguageListResponse < 3) { | 2103 if (buildCounterI18nLanguageListResponse < 3) { |
| 2108 o.etag = "foo"; | 2104 o.etag = "foo"; |
| 2109 o.eventId = "foo"; | 2105 o.eventId = "foo"; |
| 2110 o.items = buildUnnamed738(); | 2106 o.items = buildUnnamed762(); |
| 2111 o.kind = "foo"; | 2107 o.kind = "foo"; |
| 2112 o.visitorId = "foo"; | 2108 o.visitorId = "foo"; |
| 2113 } | 2109 } |
| 2114 buildCounterI18nLanguageListResponse--; | 2110 buildCounterI18nLanguageListResponse--; |
| 2115 return o; | 2111 return o; |
| 2116 } | 2112 } |
| 2117 | 2113 |
| 2118 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 2114 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 2119 buildCounterI18nLanguageListResponse++; | 2115 buildCounterI18nLanguageListResponse++; |
| 2120 if (buildCounterI18nLanguageListResponse < 3) { | 2116 if (buildCounterI18nLanguageListResponse < 3) { |
| 2121 unittest.expect(o.etag, unittest.equals('foo')); | 2117 unittest.expect(o.etag, unittest.equals('foo')); |
| 2122 unittest.expect(o.eventId, unittest.equals('foo')); | 2118 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2123 checkUnnamed738(o.items); | 2119 checkUnnamed762(o.items); |
| 2124 unittest.expect(o.kind, unittest.equals('foo')); | 2120 unittest.expect(o.kind, unittest.equals('foo')); |
| 2125 unittest.expect(o.visitorId, unittest.equals('foo')); | 2121 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2126 } | 2122 } |
| 2127 buildCounterI18nLanguageListResponse--; | 2123 buildCounterI18nLanguageListResponse--; |
| 2128 } | 2124 } |
| 2129 | 2125 |
| 2130 core.int buildCounterI18nLanguageSnippet = 0; | 2126 core.int buildCounterI18nLanguageSnippet = 0; |
| 2131 buildI18nLanguageSnippet() { | 2127 buildI18nLanguageSnippet() { |
| 2132 var o = new api.I18nLanguageSnippet(); | 2128 var o = new api.I18nLanguageSnippet(); |
| 2133 buildCounterI18nLanguageSnippet++; | 2129 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2166 buildCounterI18nRegion++; | 2162 buildCounterI18nRegion++; |
| 2167 if (buildCounterI18nRegion < 3) { | 2163 if (buildCounterI18nRegion < 3) { |
| 2168 unittest.expect(o.etag, unittest.equals('foo')); | 2164 unittest.expect(o.etag, unittest.equals('foo')); |
| 2169 unittest.expect(o.id, unittest.equals('foo')); | 2165 unittest.expect(o.id, unittest.equals('foo')); |
| 2170 unittest.expect(o.kind, unittest.equals('foo')); | 2166 unittest.expect(o.kind, unittest.equals('foo')); |
| 2171 checkI18nRegionSnippet(o.snippet); | 2167 checkI18nRegionSnippet(o.snippet); |
| 2172 } | 2168 } |
| 2173 buildCounterI18nRegion--; | 2169 buildCounterI18nRegion--; |
| 2174 } | 2170 } |
| 2175 | 2171 |
| 2176 buildUnnamed739() { | 2172 buildUnnamed763() { |
| 2177 var o = new core.List<api.I18nRegion>(); | 2173 var o = new core.List<api.I18nRegion>(); |
| 2178 o.add(buildI18nRegion()); | 2174 o.add(buildI18nRegion()); |
| 2179 o.add(buildI18nRegion()); | 2175 o.add(buildI18nRegion()); |
| 2180 return o; | 2176 return o; |
| 2181 } | 2177 } |
| 2182 | 2178 |
| 2183 checkUnnamed739(core.List<api.I18nRegion> o) { | 2179 checkUnnamed763(core.List<api.I18nRegion> o) { |
| 2184 unittest.expect(o, unittest.hasLength(2)); | 2180 unittest.expect(o, unittest.hasLength(2)); |
| 2185 checkI18nRegion(o[0]); | 2181 checkI18nRegion(o[0]); |
| 2186 checkI18nRegion(o[1]); | 2182 checkI18nRegion(o[1]); |
| 2187 } | 2183 } |
| 2188 | 2184 |
| 2189 core.int buildCounterI18nRegionListResponse = 0; | 2185 core.int buildCounterI18nRegionListResponse = 0; |
| 2190 buildI18nRegionListResponse() { | 2186 buildI18nRegionListResponse() { |
| 2191 var o = new api.I18nRegionListResponse(); | 2187 var o = new api.I18nRegionListResponse(); |
| 2192 buildCounterI18nRegionListResponse++; | 2188 buildCounterI18nRegionListResponse++; |
| 2193 if (buildCounterI18nRegionListResponse < 3) { | 2189 if (buildCounterI18nRegionListResponse < 3) { |
| 2194 o.etag = "foo"; | 2190 o.etag = "foo"; |
| 2195 o.eventId = "foo"; | 2191 o.eventId = "foo"; |
| 2196 o.items = buildUnnamed739(); | 2192 o.items = buildUnnamed763(); |
| 2197 o.kind = "foo"; | 2193 o.kind = "foo"; |
| 2198 o.visitorId = "foo"; | 2194 o.visitorId = "foo"; |
| 2199 } | 2195 } |
| 2200 buildCounterI18nRegionListResponse--; | 2196 buildCounterI18nRegionListResponse--; |
| 2201 return o; | 2197 return o; |
| 2202 } | 2198 } |
| 2203 | 2199 |
| 2204 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2200 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 2205 buildCounterI18nRegionListResponse++; | 2201 buildCounterI18nRegionListResponse++; |
| 2206 if (buildCounterI18nRegionListResponse < 3) { | 2202 if (buildCounterI18nRegionListResponse < 3) { |
| 2207 unittest.expect(o.etag, unittest.equals('foo')); | 2203 unittest.expect(o.etag, unittest.equals('foo')); |
| 2208 unittest.expect(o.eventId, unittest.equals('foo')); | 2204 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2209 checkUnnamed739(o.items); | 2205 checkUnnamed763(o.items); |
| 2210 unittest.expect(o.kind, unittest.equals('foo')); | 2206 unittest.expect(o.kind, unittest.equals('foo')); |
| 2211 unittest.expect(o.visitorId, unittest.equals('foo')); | 2207 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2212 } | 2208 } |
| 2213 buildCounterI18nRegionListResponse--; | 2209 buildCounterI18nRegionListResponse--; |
| 2214 } | 2210 } |
| 2215 | 2211 |
| 2216 core.int buildCounterI18nRegionSnippet = 0; | 2212 core.int buildCounterI18nRegionSnippet = 0; |
| 2217 buildI18nRegionSnippet() { | 2213 buildI18nRegionSnippet() { |
| 2218 var o = new api.I18nRegionSnippet(); | 2214 var o = new api.I18nRegionSnippet(); |
| 2219 buildCounterI18nRegionSnippet++; | 2215 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2359 | 2355 |
| 2360 checkInvideoPosition(api.InvideoPosition o) { | 2356 checkInvideoPosition(api.InvideoPosition o) { |
| 2361 buildCounterInvideoPosition++; | 2357 buildCounterInvideoPosition++; |
| 2362 if (buildCounterInvideoPosition < 3) { | 2358 if (buildCounterInvideoPosition < 3) { |
| 2363 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2359 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 2364 unittest.expect(o.type, unittest.equals('foo')); | 2360 unittest.expect(o.type, unittest.equals('foo')); |
| 2365 } | 2361 } |
| 2366 buildCounterInvideoPosition--; | 2362 buildCounterInvideoPosition--; |
| 2367 } | 2363 } |
| 2368 | 2364 |
| 2369 buildUnnamed740() { | 2365 buildUnnamed764() { |
| 2370 var o = new core.List<api.PromotedItem>(); | 2366 var o = new core.List<api.PromotedItem>(); |
| 2371 o.add(buildPromotedItem()); | 2367 o.add(buildPromotedItem()); |
| 2372 o.add(buildPromotedItem()); | 2368 o.add(buildPromotedItem()); |
| 2373 return o; | 2369 return o; |
| 2374 } | 2370 } |
| 2375 | 2371 |
| 2376 checkUnnamed740(core.List<api.PromotedItem> o) { | 2372 checkUnnamed764(core.List<api.PromotedItem> o) { |
| 2377 unittest.expect(o, unittest.hasLength(2)); | 2373 unittest.expect(o, unittest.hasLength(2)); |
| 2378 checkPromotedItem(o[0]); | 2374 checkPromotedItem(o[0]); |
| 2379 checkPromotedItem(o[1]); | 2375 checkPromotedItem(o[1]); |
| 2380 } | 2376 } |
| 2381 | 2377 |
| 2382 core.int buildCounterInvideoPromotion = 0; | 2378 core.int buildCounterInvideoPromotion = 0; |
| 2383 buildInvideoPromotion() { | 2379 buildInvideoPromotion() { |
| 2384 var o = new api.InvideoPromotion(); | 2380 var o = new api.InvideoPromotion(); |
| 2385 buildCounterInvideoPromotion++; | 2381 buildCounterInvideoPromotion++; |
| 2386 if (buildCounterInvideoPromotion < 3) { | 2382 if (buildCounterInvideoPromotion < 3) { |
| 2387 o.defaultTiming = buildInvideoTiming(); | 2383 o.defaultTiming = buildInvideoTiming(); |
| 2388 o.items = buildUnnamed740(); | 2384 o.items = buildUnnamed764(); |
| 2389 o.position = buildInvideoPosition(); | 2385 o.position = buildInvideoPosition(); |
| 2390 o.useSmartTiming = true; | 2386 o.useSmartTiming = true; |
| 2391 } | 2387 } |
| 2392 buildCounterInvideoPromotion--; | 2388 buildCounterInvideoPromotion--; |
| 2393 return o; | 2389 return o; |
| 2394 } | 2390 } |
| 2395 | 2391 |
| 2396 checkInvideoPromotion(api.InvideoPromotion o) { | 2392 checkInvideoPromotion(api.InvideoPromotion o) { |
| 2397 buildCounterInvideoPromotion++; | 2393 buildCounterInvideoPromotion++; |
| 2398 if (buildCounterInvideoPromotion < 3) { | 2394 if (buildCounterInvideoPromotion < 3) { |
| 2399 checkInvideoTiming(o.defaultTiming); | 2395 checkInvideoTiming(o.defaultTiming); |
| 2400 checkUnnamed740(o.items); | 2396 checkUnnamed764(o.items); |
| 2401 checkInvideoPosition(o.position); | 2397 checkInvideoPosition(o.position); |
| 2402 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2398 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 2403 } | 2399 } |
| 2404 buildCounterInvideoPromotion--; | 2400 buildCounterInvideoPromotion--; |
| 2405 } | 2401 } |
| 2406 | 2402 |
| 2407 core.int buildCounterInvideoTiming = 0; | 2403 core.int buildCounterInvideoTiming = 0; |
| 2408 buildInvideoTiming() { | 2404 buildInvideoTiming() { |
| 2409 var o = new api.InvideoTiming(); | 2405 var o = new api.InvideoTiming(); |
| 2410 buildCounterInvideoTiming++; | 2406 buildCounterInvideoTiming++; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2513 unittest.expect(o.enableEmbed, unittest.isTrue); | 2509 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 2514 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2510 unittest.expect(o.enableLowLatency, unittest.isTrue); |
| 2515 checkMonitorStreamInfo(o.monitorStream); | 2511 checkMonitorStreamInfo(o.monitorStream); |
| 2516 unittest.expect(o.projection, unittest.equals('foo')); | 2512 unittest.expect(o.projection, unittest.equals('foo')); |
| 2517 unittest.expect(o.recordFromStart, unittest.isTrue); | 2513 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 2518 unittest.expect(o.startWithSlate, unittest.isTrue); | 2514 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 2519 } | 2515 } |
| 2520 buildCounterLiveBroadcastContentDetails--; | 2516 buildCounterLiveBroadcastContentDetails--; |
| 2521 } | 2517 } |
| 2522 | 2518 |
| 2523 buildUnnamed741() { | 2519 buildUnnamed765() { |
| 2524 var o = new core.List<api.LiveBroadcast>(); | 2520 var o = new core.List<api.LiveBroadcast>(); |
| 2525 o.add(buildLiveBroadcast()); | 2521 o.add(buildLiveBroadcast()); |
| 2526 o.add(buildLiveBroadcast()); | 2522 o.add(buildLiveBroadcast()); |
| 2527 return o; | 2523 return o; |
| 2528 } | 2524 } |
| 2529 | 2525 |
| 2530 checkUnnamed741(core.List<api.LiveBroadcast> o) { | 2526 checkUnnamed765(core.List<api.LiveBroadcast> o) { |
| 2531 unittest.expect(o, unittest.hasLength(2)); | 2527 unittest.expect(o, unittest.hasLength(2)); |
| 2532 checkLiveBroadcast(o[0]); | 2528 checkLiveBroadcast(o[0]); |
| 2533 checkLiveBroadcast(o[1]); | 2529 checkLiveBroadcast(o[1]); |
| 2534 } | 2530 } |
| 2535 | 2531 |
| 2536 core.int buildCounterLiveBroadcastListResponse = 0; | 2532 core.int buildCounterLiveBroadcastListResponse = 0; |
| 2537 buildLiveBroadcastListResponse() { | 2533 buildLiveBroadcastListResponse() { |
| 2538 var o = new api.LiveBroadcastListResponse(); | 2534 var o = new api.LiveBroadcastListResponse(); |
| 2539 buildCounterLiveBroadcastListResponse++; | 2535 buildCounterLiveBroadcastListResponse++; |
| 2540 if (buildCounterLiveBroadcastListResponse < 3) { | 2536 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2541 o.etag = "foo"; | 2537 o.etag = "foo"; |
| 2542 o.eventId = "foo"; | 2538 o.eventId = "foo"; |
| 2543 o.items = buildUnnamed741(); | 2539 o.items = buildUnnamed765(); |
| 2544 o.kind = "foo"; | 2540 o.kind = "foo"; |
| 2545 o.nextPageToken = "foo"; | 2541 o.nextPageToken = "foo"; |
| 2546 o.pageInfo = buildPageInfo(); | 2542 o.pageInfo = buildPageInfo(); |
| 2547 o.prevPageToken = "foo"; | 2543 o.prevPageToken = "foo"; |
| 2548 o.tokenPagination = buildTokenPagination(); | 2544 o.tokenPagination = buildTokenPagination(); |
| 2549 o.visitorId = "foo"; | 2545 o.visitorId = "foo"; |
| 2550 } | 2546 } |
| 2551 buildCounterLiveBroadcastListResponse--; | 2547 buildCounterLiveBroadcastListResponse--; |
| 2552 return o; | 2548 return o; |
| 2553 } | 2549 } |
| 2554 | 2550 |
| 2555 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2551 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 2556 buildCounterLiveBroadcastListResponse++; | 2552 buildCounterLiveBroadcastListResponse++; |
| 2557 if (buildCounterLiveBroadcastListResponse < 3) { | 2553 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2558 unittest.expect(o.etag, unittest.equals('foo')); | 2554 unittest.expect(o.etag, unittest.equals('foo')); |
| 2559 unittest.expect(o.eventId, unittest.equals('foo')); | 2555 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2560 checkUnnamed741(o.items); | 2556 checkUnnamed765(o.items); |
| 2561 unittest.expect(o.kind, unittest.equals('foo')); | 2557 unittest.expect(o.kind, unittest.equals('foo')); |
| 2562 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2558 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2563 checkPageInfo(o.pageInfo); | 2559 checkPageInfo(o.pageInfo); |
| 2564 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2560 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2565 checkTokenPagination(o.tokenPagination); | 2561 checkTokenPagination(o.tokenPagination); |
| 2566 unittest.expect(o.visitorId, unittest.equals('foo')); | 2562 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2567 } | 2563 } |
| 2568 buildCounterLiveBroadcastListResponse--; | 2564 buildCounterLiveBroadcastListResponse--; |
| 2569 } | 2565 } |
| 2570 | 2566 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2669 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2665 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
| 2670 buildCounterLiveBroadcastTopic++; | 2666 buildCounterLiveBroadcastTopic++; |
| 2671 if (buildCounterLiveBroadcastTopic < 3) { | 2667 if (buildCounterLiveBroadcastTopic < 3) { |
| 2672 checkLiveBroadcastTopicSnippet(o.snippet); | 2668 checkLiveBroadcastTopicSnippet(o.snippet); |
| 2673 unittest.expect(o.type, unittest.equals('foo')); | 2669 unittest.expect(o.type, unittest.equals('foo')); |
| 2674 unittest.expect(o.unmatched, unittest.isTrue); | 2670 unittest.expect(o.unmatched, unittest.isTrue); |
| 2675 } | 2671 } |
| 2676 buildCounterLiveBroadcastTopic--; | 2672 buildCounterLiveBroadcastTopic--; |
| 2677 } | 2673 } |
| 2678 | 2674 |
| 2679 buildUnnamed742() { | 2675 buildUnnamed766() { |
| 2680 var o = new core.List<api.LiveBroadcastTopic>(); | 2676 var o = new core.List<api.LiveBroadcastTopic>(); |
| 2681 o.add(buildLiveBroadcastTopic()); | 2677 o.add(buildLiveBroadcastTopic()); |
| 2682 o.add(buildLiveBroadcastTopic()); | 2678 o.add(buildLiveBroadcastTopic()); |
| 2683 return o; | 2679 return o; |
| 2684 } | 2680 } |
| 2685 | 2681 |
| 2686 checkUnnamed742(core.List<api.LiveBroadcastTopic> o) { | 2682 checkUnnamed766(core.List<api.LiveBroadcastTopic> o) { |
| 2687 unittest.expect(o, unittest.hasLength(2)); | 2683 unittest.expect(o, unittest.hasLength(2)); |
| 2688 checkLiveBroadcastTopic(o[0]); | 2684 checkLiveBroadcastTopic(o[0]); |
| 2689 checkLiveBroadcastTopic(o[1]); | 2685 checkLiveBroadcastTopic(o[1]); |
| 2690 } | 2686 } |
| 2691 | 2687 |
| 2692 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2688 core.int buildCounterLiveBroadcastTopicDetails = 0; |
| 2693 buildLiveBroadcastTopicDetails() { | 2689 buildLiveBroadcastTopicDetails() { |
| 2694 var o = new api.LiveBroadcastTopicDetails(); | 2690 var o = new api.LiveBroadcastTopicDetails(); |
| 2695 buildCounterLiveBroadcastTopicDetails++; | 2691 buildCounterLiveBroadcastTopicDetails++; |
| 2696 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2692 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2697 o.topics = buildUnnamed742(); | 2693 o.topics = buildUnnamed766(); |
| 2698 } | 2694 } |
| 2699 buildCounterLiveBroadcastTopicDetails--; | 2695 buildCounterLiveBroadcastTopicDetails--; |
| 2700 return o; | 2696 return o; |
| 2701 } | 2697 } |
| 2702 | 2698 |
| 2703 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2699 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
| 2704 buildCounterLiveBroadcastTopicDetails++; | 2700 buildCounterLiveBroadcastTopicDetails++; |
| 2705 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2701 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2706 checkUnnamed742(o.topics); | 2702 checkUnnamed766(o.topics); |
| 2707 } | 2703 } |
| 2708 buildCounterLiveBroadcastTopicDetails--; | 2704 buildCounterLiveBroadcastTopicDetails--; |
| 2709 } | 2705 } |
| 2710 | 2706 |
| 2711 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2707 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
| 2712 buildLiveBroadcastTopicSnippet() { | 2708 buildLiveBroadcastTopicSnippet() { |
| 2713 var o = new api.LiveBroadcastTopicSnippet(); | 2709 var o = new api.LiveBroadcastTopicSnippet(); |
| 2714 buildCounterLiveBroadcastTopicSnippet++; | 2710 buildCounterLiveBroadcastTopicSnippet++; |
| 2715 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2711 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
| 2716 o.name = "foo"; | 2712 o.name = "foo"; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2876 } | 2872 } |
| 2877 | 2873 |
| 2878 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { | 2874 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { |
| 2879 buildCounterLiveChatMessageDeletedDetails++; | 2875 buildCounterLiveChatMessageDeletedDetails++; |
| 2880 if (buildCounterLiveChatMessageDeletedDetails < 3) { | 2876 if (buildCounterLiveChatMessageDeletedDetails < 3) { |
| 2881 unittest.expect(o.deletedMessageId, unittest.equals('foo')); | 2877 unittest.expect(o.deletedMessageId, unittest.equals('foo')); |
| 2882 } | 2878 } |
| 2883 buildCounterLiveChatMessageDeletedDetails--; | 2879 buildCounterLiveChatMessageDeletedDetails--; |
| 2884 } | 2880 } |
| 2885 | 2881 |
| 2886 buildUnnamed743() { | 2882 buildUnnamed767() { |
| 2887 var o = new core.List<api.LiveChatMessage>(); | 2883 var o = new core.List<api.LiveChatMessage>(); |
| 2888 o.add(buildLiveChatMessage()); | 2884 o.add(buildLiveChatMessage()); |
| 2889 o.add(buildLiveChatMessage()); | 2885 o.add(buildLiveChatMessage()); |
| 2890 return o; | 2886 return o; |
| 2891 } | 2887 } |
| 2892 | 2888 |
| 2893 checkUnnamed743(core.List<api.LiveChatMessage> o) { | 2889 checkUnnamed767(core.List<api.LiveChatMessage> o) { |
| 2894 unittest.expect(o, unittest.hasLength(2)); | 2890 unittest.expect(o, unittest.hasLength(2)); |
| 2895 checkLiveChatMessage(o[0]); | 2891 checkLiveChatMessage(o[0]); |
| 2896 checkLiveChatMessage(o[1]); | 2892 checkLiveChatMessage(o[1]); |
| 2897 } | 2893 } |
| 2898 | 2894 |
| 2899 core.int buildCounterLiveChatMessageListResponse = 0; | 2895 core.int buildCounterLiveChatMessageListResponse = 0; |
| 2900 buildLiveChatMessageListResponse() { | 2896 buildLiveChatMessageListResponse() { |
| 2901 var o = new api.LiveChatMessageListResponse(); | 2897 var o = new api.LiveChatMessageListResponse(); |
| 2902 buildCounterLiveChatMessageListResponse++; | 2898 buildCounterLiveChatMessageListResponse++; |
| 2903 if (buildCounterLiveChatMessageListResponse < 3) { | 2899 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2904 o.etag = "foo"; | 2900 o.etag = "foo"; |
| 2905 o.eventId = "foo"; | 2901 o.eventId = "foo"; |
| 2906 o.items = buildUnnamed743(); | 2902 o.items = buildUnnamed767(); |
| 2907 o.kind = "foo"; | 2903 o.kind = "foo"; |
| 2908 o.nextPageToken = "foo"; | 2904 o.nextPageToken = "foo"; |
| 2909 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2905 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2910 o.pageInfo = buildPageInfo(); | 2906 o.pageInfo = buildPageInfo(); |
| 2911 o.pollingIntervalMillis = 42; | 2907 o.pollingIntervalMillis = 42; |
| 2912 o.tokenPagination = buildTokenPagination(); | 2908 o.tokenPagination = buildTokenPagination(); |
| 2913 o.visitorId = "foo"; | 2909 o.visitorId = "foo"; |
| 2914 } | 2910 } |
| 2915 buildCounterLiveChatMessageListResponse--; | 2911 buildCounterLiveChatMessageListResponse--; |
| 2916 return o; | 2912 return o; |
| 2917 } | 2913 } |
| 2918 | 2914 |
| 2919 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { | 2915 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { |
| 2920 buildCounterLiveChatMessageListResponse++; | 2916 buildCounterLiveChatMessageListResponse++; |
| 2921 if (buildCounterLiveChatMessageListResponse < 3) { | 2917 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2922 unittest.expect(o.etag, unittest.equals('foo')); | 2918 unittest.expect(o.etag, unittest.equals('foo')); |
| 2923 unittest.expect(o.eventId, unittest.equals('foo')); | 2919 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2924 checkUnnamed743(o.items); | 2920 checkUnnamed767(o.items); |
| 2925 unittest.expect(o.kind, unittest.equals('foo')); | 2921 unittest.expect(o.kind, unittest.equals('foo')); |
| 2926 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2922 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2927 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2923 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 2928 checkPageInfo(o.pageInfo); | 2924 checkPageInfo(o.pageInfo); |
| 2929 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); | 2925 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); |
| 2930 checkTokenPagination(o.tokenPagination); | 2926 checkTokenPagination(o.tokenPagination); |
| 2931 unittest.expect(o.visitorId, unittest.equals('foo')); | 2927 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2932 } | 2928 } |
| 2933 buildCounterLiveChatMessageListResponse--; | 2929 buildCounterLiveChatMessageListResponse--; |
| 2934 } | 2930 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3017 buildCounterLiveChatModerator++; | 3013 buildCounterLiveChatModerator++; |
| 3018 if (buildCounterLiveChatModerator < 3) { | 3014 if (buildCounterLiveChatModerator < 3) { |
| 3019 unittest.expect(o.etag, unittest.equals('foo')); | 3015 unittest.expect(o.etag, unittest.equals('foo')); |
| 3020 unittest.expect(o.id, unittest.equals('foo')); | 3016 unittest.expect(o.id, unittest.equals('foo')); |
| 3021 unittest.expect(o.kind, unittest.equals('foo')); | 3017 unittest.expect(o.kind, unittest.equals('foo')); |
| 3022 checkLiveChatModeratorSnippet(o.snippet); | 3018 checkLiveChatModeratorSnippet(o.snippet); |
| 3023 } | 3019 } |
| 3024 buildCounterLiveChatModerator--; | 3020 buildCounterLiveChatModerator--; |
| 3025 } | 3021 } |
| 3026 | 3022 |
| 3027 buildUnnamed744() { | 3023 buildUnnamed768() { |
| 3028 var o = new core.List<api.LiveChatModerator>(); | 3024 var o = new core.List<api.LiveChatModerator>(); |
| 3029 o.add(buildLiveChatModerator()); | 3025 o.add(buildLiveChatModerator()); |
| 3030 o.add(buildLiveChatModerator()); | 3026 o.add(buildLiveChatModerator()); |
| 3031 return o; | 3027 return o; |
| 3032 } | 3028 } |
| 3033 | 3029 |
| 3034 checkUnnamed744(core.List<api.LiveChatModerator> o) { | 3030 checkUnnamed768(core.List<api.LiveChatModerator> o) { |
| 3035 unittest.expect(o, unittest.hasLength(2)); | 3031 unittest.expect(o, unittest.hasLength(2)); |
| 3036 checkLiveChatModerator(o[0]); | 3032 checkLiveChatModerator(o[0]); |
| 3037 checkLiveChatModerator(o[1]); | 3033 checkLiveChatModerator(o[1]); |
| 3038 } | 3034 } |
| 3039 | 3035 |
| 3040 core.int buildCounterLiveChatModeratorListResponse = 0; | 3036 core.int buildCounterLiveChatModeratorListResponse = 0; |
| 3041 buildLiveChatModeratorListResponse() { | 3037 buildLiveChatModeratorListResponse() { |
| 3042 var o = new api.LiveChatModeratorListResponse(); | 3038 var o = new api.LiveChatModeratorListResponse(); |
| 3043 buildCounterLiveChatModeratorListResponse++; | 3039 buildCounterLiveChatModeratorListResponse++; |
| 3044 if (buildCounterLiveChatModeratorListResponse < 3) { | 3040 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3045 o.etag = "foo"; | 3041 o.etag = "foo"; |
| 3046 o.eventId = "foo"; | 3042 o.eventId = "foo"; |
| 3047 o.items = buildUnnamed744(); | 3043 o.items = buildUnnamed768(); |
| 3048 o.kind = "foo"; | 3044 o.kind = "foo"; |
| 3049 o.nextPageToken = "foo"; | 3045 o.nextPageToken = "foo"; |
| 3050 o.pageInfo = buildPageInfo(); | 3046 o.pageInfo = buildPageInfo(); |
| 3051 o.prevPageToken = "foo"; | 3047 o.prevPageToken = "foo"; |
| 3052 o.tokenPagination = buildTokenPagination(); | 3048 o.tokenPagination = buildTokenPagination(); |
| 3053 o.visitorId = "foo"; | 3049 o.visitorId = "foo"; |
| 3054 } | 3050 } |
| 3055 buildCounterLiveChatModeratorListResponse--; | 3051 buildCounterLiveChatModeratorListResponse--; |
| 3056 return o; | 3052 return o; |
| 3057 } | 3053 } |
| 3058 | 3054 |
| 3059 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { | 3055 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { |
| 3060 buildCounterLiveChatModeratorListResponse++; | 3056 buildCounterLiveChatModeratorListResponse++; |
| 3061 if (buildCounterLiveChatModeratorListResponse < 3) { | 3057 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3062 unittest.expect(o.etag, unittest.equals('foo')); | 3058 unittest.expect(o.etag, unittest.equals('foo')); |
| 3063 unittest.expect(o.eventId, unittest.equals('foo')); | 3059 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3064 checkUnnamed744(o.items); | 3060 checkUnnamed768(o.items); |
| 3065 unittest.expect(o.kind, unittest.equals('foo')); | 3061 unittest.expect(o.kind, unittest.equals('foo')); |
| 3066 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3062 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3067 checkPageInfo(o.pageInfo); | 3063 checkPageInfo(o.pageInfo); |
| 3068 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3064 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3069 checkTokenPagination(o.tokenPagination); | 3065 checkTokenPagination(o.tokenPagination); |
| 3070 unittest.expect(o.visitorId, unittest.equals('foo')); | 3066 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3071 } | 3067 } |
| 3072 buildCounterLiveChatModeratorListResponse--; | 3068 buildCounterLiveChatModeratorListResponse--; |
| 3073 } | 3069 } |
| 3074 | 3070 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3105 } | 3101 } |
| 3106 | 3102 |
| 3107 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { | 3103 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { |
| 3108 buildCounterLiveChatPollClosedDetails++; | 3104 buildCounterLiveChatPollClosedDetails++; |
| 3109 if (buildCounterLiveChatPollClosedDetails < 3) { | 3105 if (buildCounterLiveChatPollClosedDetails < 3) { |
| 3110 unittest.expect(o.pollId, unittest.equals('foo')); | 3106 unittest.expect(o.pollId, unittest.equals('foo')); |
| 3111 } | 3107 } |
| 3112 buildCounterLiveChatPollClosedDetails--; | 3108 buildCounterLiveChatPollClosedDetails--; |
| 3113 } | 3109 } |
| 3114 | 3110 |
| 3115 buildUnnamed745() { | 3111 buildUnnamed769() { |
| 3116 var o = new core.List<api.LiveChatPollItem>(); | 3112 var o = new core.List<api.LiveChatPollItem>(); |
| 3117 o.add(buildLiveChatPollItem()); | 3113 o.add(buildLiveChatPollItem()); |
| 3118 o.add(buildLiveChatPollItem()); | 3114 o.add(buildLiveChatPollItem()); |
| 3119 return o; | 3115 return o; |
| 3120 } | 3116 } |
| 3121 | 3117 |
| 3122 checkUnnamed745(core.List<api.LiveChatPollItem> o) { | 3118 checkUnnamed769(core.List<api.LiveChatPollItem> o) { |
| 3123 unittest.expect(o, unittest.hasLength(2)); | 3119 unittest.expect(o, unittest.hasLength(2)); |
| 3124 checkLiveChatPollItem(o[0]); | 3120 checkLiveChatPollItem(o[0]); |
| 3125 checkLiveChatPollItem(o[1]); | 3121 checkLiveChatPollItem(o[1]); |
| 3126 } | 3122 } |
| 3127 | 3123 |
| 3128 core.int buildCounterLiveChatPollEditedDetails = 0; | 3124 core.int buildCounterLiveChatPollEditedDetails = 0; |
| 3129 buildLiveChatPollEditedDetails() { | 3125 buildLiveChatPollEditedDetails() { |
| 3130 var o = new api.LiveChatPollEditedDetails(); | 3126 var o = new api.LiveChatPollEditedDetails(); |
| 3131 buildCounterLiveChatPollEditedDetails++; | 3127 buildCounterLiveChatPollEditedDetails++; |
| 3132 if (buildCounterLiveChatPollEditedDetails < 3) { | 3128 if (buildCounterLiveChatPollEditedDetails < 3) { |
| 3133 o.id = "foo"; | 3129 o.id = "foo"; |
| 3134 o.items = buildUnnamed745(); | 3130 o.items = buildUnnamed769(); |
| 3135 o.prompt = "foo"; | 3131 o.prompt = "foo"; |
| 3136 } | 3132 } |
| 3137 buildCounterLiveChatPollEditedDetails--; | 3133 buildCounterLiveChatPollEditedDetails--; |
| 3138 return o; | 3134 return o; |
| 3139 } | 3135 } |
| 3140 | 3136 |
| 3141 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { | 3137 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { |
| 3142 buildCounterLiveChatPollEditedDetails++; | 3138 buildCounterLiveChatPollEditedDetails++; |
| 3143 if (buildCounterLiveChatPollEditedDetails < 3) { | 3139 if (buildCounterLiveChatPollEditedDetails < 3) { |
| 3144 unittest.expect(o.id, unittest.equals('foo')); | 3140 unittest.expect(o.id, unittest.equals('foo')); |
| 3145 checkUnnamed745(o.items); | 3141 checkUnnamed769(o.items); |
| 3146 unittest.expect(o.prompt, unittest.equals('foo')); | 3142 unittest.expect(o.prompt, unittest.equals('foo')); |
| 3147 } | 3143 } |
| 3148 buildCounterLiveChatPollEditedDetails--; | 3144 buildCounterLiveChatPollEditedDetails--; |
| 3149 } | 3145 } |
| 3150 | 3146 |
| 3151 core.int buildCounterLiveChatPollItem = 0; | 3147 core.int buildCounterLiveChatPollItem = 0; |
| 3152 buildLiveChatPollItem() { | 3148 buildLiveChatPollItem() { |
| 3153 var o = new api.LiveChatPollItem(); | 3149 var o = new api.LiveChatPollItem(); |
| 3154 buildCounterLiveChatPollItem++; | 3150 buildCounterLiveChatPollItem++; |
| 3155 if (buildCounterLiveChatPollItem < 3) { | 3151 if (buildCounterLiveChatPollItem < 3) { |
| 3156 o.description = "foo"; | 3152 o.description = "foo"; |
| 3157 o.itemId = "foo"; | 3153 o.itemId = "foo"; |
| 3158 } | 3154 } |
| 3159 buildCounterLiveChatPollItem--; | 3155 buildCounterLiveChatPollItem--; |
| 3160 return o; | 3156 return o; |
| 3161 } | 3157 } |
| 3162 | 3158 |
| 3163 checkLiveChatPollItem(api.LiveChatPollItem o) { | 3159 checkLiveChatPollItem(api.LiveChatPollItem o) { |
| 3164 buildCounterLiveChatPollItem++; | 3160 buildCounterLiveChatPollItem++; |
| 3165 if (buildCounterLiveChatPollItem < 3) { | 3161 if (buildCounterLiveChatPollItem < 3) { |
| 3166 unittest.expect(o.description, unittest.equals('foo')); | 3162 unittest.expect(o.description, unittest.equals('foo')); |
| 3167 unittest.expect(o.itemId, unittest.equals('foo')); | 3163 unittest.expect(o.itemId, unittest.equals('foo')); |
| 3168 } | 3164 } |
| 3169 buildCounterLiveChatPollItem--; | 3165 buildCounterLiveChatPollItem--; |
| 3170 } | 3166 } |
| 3171 | 3167 |
| 3172 buildUnnamed746() { | 3168 buildUnnamed770() { |
| 3173 var o = new core.List<api.LiveChatPollItem>(); | 3169 var o = new core.List<api.LiveChatPollItem>(); |
| 3174 o.add(buildLiveChatPollItem()); | 3170 o.add(buildLiveChatPollItem()); |
| 3175 o.add(buildLiveChatPollItem()); | 3171 o.add(buildLiveChatPollItem()); |
| 3176 return o; | 3172 return o; |
| 3177 } | 3173 } |
| 3178 | 3174 |
| 3179 checkUnnamed746(core.List<api.LiveChatPollItem> o) { | 3175 checkUnnamed770(core.List<api.LiveChatPollItem> o) { |
| 3180 unittest.expect(o, unittest.hasLength(2)); | 3176 unittest.expect(o, unittest.hasLength(2)); |
| 3181 checkLiveChatPollItem(o[0]); | 3177 checkLiveChatPollItem(o[0]); |
| 3182 checkLiveChatPollItem(o[1]); | 3178 checkLiveChatPollItem(o[1]); |
| 3183 } | 3179 } |
| 3184 | 3180 |
| 3185 core.int buildCounterLiveChatPollOpenedDetails = 0; | 3181 core.int buildCounterLiveChatPollOpenedDetails = 0; |
| 3186 buildLiveChatPollOpenedDetails() { | 3182 buildLiveChatPollOpenedDetails() { |
| 3187 var o = new api.LiveChatPollOpenedDetails(); | 3183 var o = new api.LiveChatPollOpenedDetails(); |
| 3188 buildCounterLiveChatPollOpenedDetails++; | 3184 buildCounterLiveChatPollOpenedDetails++; |
| 3189 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3185 if (buildCounterLiveChatPollOpenedDetails < 3) { |
| 3190 o.id = "foo"; | 3186 o.id = "foo"; |
| 3191 o.items = buildUnnamed746(); | 3187 o.items = buildUnnamed770(); |
| 3192 o.prompt = "foo"; | 3188 o.prompt = "foo"; |
| 3193 } | 3189 } |
| 3194 buildCounterLiveChatPollOpenedDetails--; | 3190 buildCounterLiveChatPollOpenedDetails--; |
| 3195 return o; | 3191 return o; |
| 3196 } | 3192 } |
| 3197 | 3193 |
| 3198 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { | 3194 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { |
| 3199 buildCounterLiveChatPollOpenedDetails++; | 3195 buildCounterLiveChatPollOpenedDetails++; |
| 3200 if (buildCounterLiveChatPollOpenedDetails < 3) { | 3196 if (buildCounterLiveChatPollOpenedDetails < 3) { |
| 3201 unittest.expect(o.id, unittest.equals('foo')); | 3197 unittest.expect(o.id, unittest.equals('foo')); |
| 3202 checkUnnamed746(o.items); | 3198 checkUnnamed770(o.items); |
| 3203 unittest.expect(o.prompt, unittest.equals('foo')); | 3199 unittest.expect(o.prompt, unittest.equals('foo')); |
| 3204 } | 3200 } |
| 3205 buildCounterLiveChatPollOpenedDetails--; | 3201 buildCounterLiveChatPollOpenedDetails--; |
| 3206 } | 3202 } |
| 3207 | 3203 |
| 3208 core.int buildCounterLiveChatPollVotedDetails = 0; | 3204 core.int buildCounterLiveChatPollVotedDetails = 0; |
| 3209 buildLiveChatPollVotedDetails() { | 3205 buildLiveChatPollVotedDetails() { |
| 3210 var o = new api.LiveChatPollVotedDetails(); | 3206 var o = new api.LiveChatPollVotedDetails(); |
| 3211 buildCounterLiveChatPollVotedDetails++; | 3207 buildCounterLiveChatPollVotedDetails++; |
| 3212 if (buildCounterLiveChatPollVotedDetails < 3) { | 3208 if (buildCounterLiveChatPollVotedDetails < 3) { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3338 | 3334 |
| 3339 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 3335 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 3340 buildCounterLiveStreamContentDetails++; | 3336 buildCounterLiveStreamContentDetails++; |
| 3341 if (buildCounterLiveStreamContentDetails < 3) { | 3337 if (buildCounterLiveStreamContentDetails < 3) { |
| 3342 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 3338 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 3343 unittest.expect(o.isReusable, unittest.isTrue); | 3339 unittest.expect(o.isReusable, unittest.isTrue); |
| 3344 } | 3340 } |
| 3345 buildCounterLiveStreamContentDetails--; | 3341 buildCounterLiveStreamContentDetails--; |
| 3346 } | 3342 } |
| 3347 | 3343 |
| 3348 buildUnnamed747() { | 3344 buildUnnamed771() { |
| 3349 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 3345 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
| 3350 o.add(buildLiveStreamConfigurationIssue()); | 3346 o.add(buildLiveStreamConfigurationIssue()); |
| 3351 o.add(buildLiveStreamConfigurationIssue()); | 3347 o.add(buildLiveStreamConfigurationIssue()); |
| 3352 return o; | 3348 return o; |
| 3353 } | 3349 } |
| 3354 | 3350 |
| 3355 checkUnnamed747(core.List<api.LiveStreamConfigurationIssue> o) { | 3351 checkUnnamed771(core.List<api.LiveStreamConfigurationIssue> o) { |
| 3356 unittest.expect(o, unittest.hasLength(2)); | 3352 unittest.expect(o, unittest.hasLength(2)); |
| 3357 checkLiveStreamConfigurationIssue(o[0]); | 3353 checkLiveStreamConfigurationIssue(o[0]); |
| 3358 checkLiveStreamConfigurationIssue(o[1]); | 3354 checkLiveStreamConfigurationIssue(o[1]); |
| 3359 } | 3355 } |
| 3360 | 3356 |
| 3361 core.int buildCounterLiveStreamHealthStatus = 0; | 3357 core.int buildCounterLiveStreamHealthStatus = 0; |
| 3362 buildLiveStreamHealthStatus() { | 3358 buildLiveStreamHealthStatus() { |
| 3363 var o = new api.LiveStreamHealthStatus(); | 3359 var o = new api.LiveStreamHealthStatus(); |
| 3364 buildCounterLiveStreamHealthStatus++; | 3360 buildCounterLiveStreamHealthStatus++; |
| 3365 if (buildCounterLiveStreamHealthStatus < 3) { | 3361 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3366 o.configurationIssues = buildUnnamed747(); | 3362 o.configurationIssues = buildUnnamed771(); |
| 3367 o.lastUpdateTimeSeconds = "foo"; | 3363 o.lastUpdateTimeSeconds = "foo"; |
| 3368 o.status = "foo"; | 3364 o.status = "foo"; |
| 3369 } | 3365 } |
| 3370 buildCounterLiveStreamHealthStatus--; | 3366 buildCounterLiveStreamHealthStatus--; |
| 3371 return o; | 3367 return o; |
| 3372 } | 3368 } |
| 3373 | 3369 |
| 3374 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 3370 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
| 3375 buildCounterLiveStreamHealthStatus++; | 3371 buildCounterLiveStreamHealthStatus++; |
| 3376 if (buildCounterLiveStreamHealthStatus < 3) { | 3372 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3377 checkUnnamed747(o.configurationIssues); | 3373 checkUnnamed771(o.configurationIssues); |
| 3378 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 3374 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
| 3379 unittest.expect(o.status, unittest.equals('foo')); | 3375 unittest.expect(o.status, unittest.equals('foo')); |
| 3380 } | 3376 } |
| 3381 buildCounterLiveStreamHealthStatus--; | 3377 buildCounterLiveStreamHealthStatus--; |
| 3382 } | 3378 } |
| 3383 | 3379 |
| 3384 buildUnnamed748() { | 3380 buildUnnamed772() { |
| 3385 var o = new core.List<api.LiveStream>(); | 3381 var o = new core.List<api.LiveStream>(); |
| 3386 o.add(buildLiveStream()); | 3382 o.add(buildLiveStream()); |
| 3387 o.add(buildLiveStream()); | 3383 o.add(buildLiveStream()); |
| 3388 return o; | 3384 return o; |
| 3389 } | 3385 } |
| 3390 | 3386 |
| 3391 checkUnnamed748(core.List<api.LiveStream> o) { | 3387 checkUnnamed772(core.List<api.LiveStream> o) { |
| 3392 unittest.expect(o, unittest.hasLength(2)); | 3388 unittest.expect(o, unittest.hasLength(2)); |
| 3393 checkLiveStream(o[0]); | 3389 checkLiveStream(o[0]); |
| 3394 checkLiveStream(o[1]); | 3390 checkLiveStream(o[1]); |
| 3395 } | 3391 } |
| 3396 | 3392 |
| 3397 core.int buildCounterLiveStreamListResponse = 0; | 3393 core.int buildCounterLiveStreamListResponse = 0; |
| 3398 buildLiveStreamListResponse() { | 3394 buildLiveStreamListResponse() { |
| 3399 var o = new api.LiveStreamListResponse(); | 3395 var o = new api.LiveStreamListResponse(); |
| 3400 buildCounterLiveStreamListResponse++; | 3396 buildCounterLiveStreamListResponse++; |
| 3401 if (buildCounterLiveStreamListResponse < 3) { | 3397 if (buildCounterLiveStreamListResponse < 3) { |
| 3402 o.etag = "foo"; | 3398 o.etag = "foo"; |
| 3403 o.eventId = "foo"; | 3399 o.eventId = "foo"; |
| 3404 o.items = buildUnnamed748(); | 3400 o.items = buildUnnamed772(); |
| 3405 o.kind = "foo"; | 3401 o.kind = "foo"; |
| 3406 o.nextPageToken = "foo"; | 3402 o.nextPageToken = "foo"; |
| 3407 o.pageInfo = buildPageInfo(); | 3403 o.pageInfo = buildPageInfo(); |
| 3408 o.prevPageToken = "foo"; | 3404 o.prevPageToken = "foo"; |
| 3409 o.tokenPagination = buildTokenPagination(); | 3405 o.tokenPagination = buildTokenPagination(); |
| 3410 o.visitorId = "foo"; | 3406 o.visitorId = "foo"; |
| 3411 } | 3407 } |
| 3412 buildCounterLiveStreamListResponse--; | 3408 buildCounterLiveStreamListResponse--; |
| 3413 return o; | 3409 return o; |
| 3414 } | 3410 } |
| 3415 | 3411 |
| 3416 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 3412 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 3417 buildCounterLiveStreamListResponse++; | 3413 buildCounterLiveStreamListResponse++; |
| 3418 if (buildCounterLiveStreamListResponse < 3) { | 3414 if (buildCounterLiveStreamListResponse < 3) { |
| 3419 unittest.expect(o.etag, unittest.equals('foo')); | 3415 unittest.expect(o.etag, unittest.equals('foo')); |
| 3420 unittest.expect(o.eventId, unittest.equals('foo')); | 3416 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3421 checkUnnamed748(o.items); | 3417 checkUnnamed772(o.items); |
| 3422 unittest.expect(o.kind, unittest.equals('foo')); | 3418 unittest.expect(o.kind, unittest.equals('foo')); |
| 3423 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3419 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3424 checkPageInfo(o.pageInfo); | 3420 checkPageInfo(o.pageInfo); |
| 3425 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3421 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3426 checkTokenPagination(o.tokenPagination); | 3422 checkTokenPagination(o.tokenPagination); |
| 3427 unittest.expect(o.visitorId, unittest.equals('foo')); | 3423 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3428 } | 3424 } |
| 3429 buildCounterLiveStreamListResponse--; | 3425 buildCounterLiveStreamListResponse--; |
| 3430 } | 3426 } |
| 3431 | 3427 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3470 | 3466 |
| 3471 checkLiveStreamStatus(api.LiveStreamStatus o) { | 3467 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 3472 buildCounterLiveStreamStatus++; | 3468 buildCounterLiveStreamStatus++; |
| 3473 if (buildCounterLiveStreamStatus < 3) { | 3469 if (buildCounterLiveStreamStatus < 3) { |
| 3474 checkLiveStreamHealthStatus(o.healthStatus); | 3470 checkLiveStreamHealthStatus(o.healthStatus); |
| 3475 unittest.expect(o.streamStatus, unittest.equals('foo')); | 3471 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 3476 } | 3472 } |
| 3477 buildCounterLiveStreamStatus--; | 3473 buildCounterLiveStreamStatus--; |
| 3478 } | 3474 } |
| 3479 | 3475 |
| 3480 buildUnnamed749() { | 3476 buildUnnamed773() { |
| 3481 var o = new core.List<api.LocalizedString>(); | 3477 var o = new core.List<api.LocalizedString>(); |
| 3482 o.add(buildLocalizedString()); | 3478 o.add(buildLocalizedString()); |
| 3483 o.add(buildLocalizedString()); | 3479 o.add(buildLocalizedString()); |
| 3484 return o; | 3480 return o; |
| 3485 } | 3481 } |
| 3486 | 3482 |
| 3487 checkUnnamed749(core.List<api.LocalizedString> o) { | 3483 checkUnnamed773(core.List<api.LocalizedString> o) { |
| 3488 unittest.expect(o, unittest.hasLength(2)); | 3484 unittest.expect(o, unittest.hasLength(2)); |
| 3489 checkLocalizedString(o[0]); | 3485 checkLocalizedString(o[0]); |
| 3490 checkLocalizedString(o[1]); | 3486 checkLocalizedString(o[1]); |
| 3491 } | 3487 } |
| 3492 | 3488 |
| 3493 core.int buildCounterLocalizedProperty = 0; | 3489 core.int buildCounterLocalizedProperty = 0; |
| 3494 buildLocalizedProperty() { | 3490 buildLocalizedProperty() { |
| 3495 var o = new api.LocalizedProperty(); | 3491 var o = new api.LocalizedProperty(); |
| 3496 buildCounterLocalizedProperty++; | 3492 buildCounterLocalizedProperty++; |
| 3497 if (buildCounterLocalizedProperty < 3) { | 3493 if (buildCounterLocalizedProperty < 3) { |
| 3498 o.default_ = "foo"; | 3494 o.default_ = "foo"; |
| 3499 o.defaultLanguage = buildLanguageTag(); | 3495 o.defaultLanguage = buildLanguageTag(); |
| 3500 o.localized = buildUnnamed749(); | 3496 o.localized = buildUnnamed773(); |
| 3501 } | 3497 } |
| 3502 buildCounterLocalizedProperty--; | 3498 buildCounterLocalizedProperty--; |
| 3503 return o; | 3499 return o; |
| 3504 } | 3500 } |
| 3505 | 3501 |
| 3506 checkLocalizedProperty(api.LocalizedProperty o) { | 3502 checkLocalizedProperty(api.LocalizedProperty o) { |
| 3507 buildCounterLocalizedProperty++; | 3503 buildCounterLocalizedProperty++; |
| 3508 if (buildCounterLocalizedProperty < 3) { | 3504 if (buildCounterLocalizedProperty < 3) { |
| 3509 unittest.expect(o.default_, unittest.equals('foo')); | 3505 unittest.expect(o.default_, unittest.equals('foo')); |
| 3510 checkLanguageTag(o.defaultLanguage); | 3506 checkLanguageTag(o.defaultLanguage); |
| 3511 checkUnnamed749(o.localized); | 3507 checkUnnamed773(o.localized); |
| 3512 } | 3508 } |
| 3513 buildCounterLocalizedProperty--; | 3509 buildCounterLocalizedProperty--; |
| 3514 } | 3510 } |
| 3515 | 3511 |
| 3516 core.int buildCounterLocalizedString = 0; | 3512 core.int buildCounterLocalizedString = 0; |
| 3517 buildLocalizedString() { | 3513 buildLocalizedString() { |
| 3518 var o = new api.LocalizedString(); | 3514 var o = new api.LocalizedString(); |
| 3519 buildCounterLocalizedString++; | 3515 buildCounterLocalizedString++; |
| 3520 if (buildCounterLocalizedString < 3) { | 3516 if (buildCounterLocalizedString < 3) { |
| 3521 o.language = "foo"; | 3517 o.language = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3571 | 3567 |
| 3572 checkPageInfo(api.PageInfo o) { | 3568 checkPageInfo(api.PageInfo o) { |
| 3573 buildCounterPageInfo++; | 3569 buildCounterPageInfo++; |
| 3574 if (buildCounterPageInfo < 3) { | 3570 if (buildCounterPageInfo < 3) { |
| 3575 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 3571 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
| 3576 unittest.expect(o.totalResults, unittest.equals(42)); | 3572 unittest.expect(o.totalResults, unittest.equals(42)); |
| 3577 } | 3573 } |
| 3578 buildCounterPageInfo--; | 3574 buildCounterPageInfo--; |
| 3579 } | 3575 } |
| 3580 | 3576 |
| 3581 buildUnnamed750() { | 3577 buildUnnamed774() { |
| 3582 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 3578 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
| 3583 o["x"] = buildPlaylistLocalization(); | 3579 o["x"] = buildPlaylistLocalization(); |
| 3584 o["y"] = buildPlaylistLocalization(); | 3580 o["y"] = buildPlaylistLocalization(); |
| 3585 return o; | 3581 return o; |
| 3586 } | 3582 } |
| 3587 | 3583 |
| 3588 checkUnnamed750(core.Map<core.String, api.PlaylistLocalization> o) { | 3584 checkUnnamed774(core.Map<core.String, api.PlaylistLocalization> o) { |
| 3589 unittest.expect(o, unittest.hasLength(2)); | 3585 unittest.expect(o, unittest.hasLength(2)); |
| 3590 checkPlaylistLocalization(o["x"]); | 3586 checkPlaylistLocalization(o["x"]); |
| 3591 checkPlaylistLocalization(o["y"]); | 3587 checkPlaylistLocalization(o["y"]); |
| 3592 } | 3588 } |
| 3593 | 3589 |
| 3594 core.int buildCounterPlaylist = 0; | 3590 core.int buildCounterPlaylist = 0; |
| 3595 buildPlaylist() { | 3591 buildPlaylist() { |
| 3596 var o = new api.Playlist(); | 3592 var o = new api.Playlist(); |
| 3597 buildCounterPlaylist++; | 3593 buildCounterPlaylist++; |
| 3598 if (buildCounterPlaylist < 3) { | 3594 if (buildCounterPlaylist < 3) { |
| 3599 o.contentDetails = buildPlaylistContentDetails(); | 3595 o.contentDetails = buildPlaylistContentDetails(); |
| 3600 o.etag = "foo"; | 3596 o.etag = "foo"; |
| 3601 o.id = "foo"; | 3597 o.id = "foo"; |
| 3602 o.kind = "foo"; | 3598 o.kind = "foo"; |
| 3603 o.localizations = buildUnnamed750(); | 3599 o.localizations = buildUnnamed774(); |
| 3604 o.player = buildPlaylistPlayer(); | 3600 o.player = buildPlaylistPlayer(); |
| 3605 o.snippet = buildPlaylistSnippet(); | 3601 o.snippet = buildPlaylistSnippet(); |
| 3606 o.status = buildPlaylistStatus(); | 3602 o.status = buildPlaylistStatus(); |
| 3607 } | 3603 } |
| 3608 buildCounterPlaylist--; | 3604 buildCounterPlaylist--; |
| 3609 return o; | 3605 return o; |
| 3610 } | 3606 } |
| 3611 | 3607 |
| 3612 checkPlaylist(api.Playlist o) { | 3608 checkPlaylist(api.Playlist o) { |
| 3613 buildCounterPlaylist++; | 3609 buildCounterPlaylist++; |
| 3614 if (buildCounterPlaylist < 3) { | 3610 if (buildCounterPlaylist < 3) { |
| 3615 checkPlaylistContentDetails(o.contentDetails); | 3611 checkPlaylistContentDetails(o.contentDetails); |
| 3616 unittest.expect(o.etag, unittest.equals('foo')); | 3612 unittest.expect(o.etag, unittest.equals('foo')); |
| 3617 unittest.expect(o.id, unittest.equals('foo')); | 3613 unittest.expect(o.id, unittest.equals('foo')); |
| 3618 unittest.expect(o.kind, unittest.equals('foo')); | 3614 unittest.expect(o.kind, unittest.equals('foo')); |
| 3619 checkUnnamed750(o.localizations); | 3615 checkUnnamed774(o.localizations); |
| 3620 checkPlaylistPlayer(o.player); | 3616 checkPlaylistPlayer(o.player); |
| 3621 checkPlaylistSnippet(o.snippet); | 3617 checkPlaylistSnippet(o.snippet); |
| 3622 checkPlaylistStatus(o.status); | 3618 checkPlaylistStatus(o.status); |
| 3623 } | 3619 } |
| 3624 buildCounterPlaylist--; | 3620 buildCounterPlaylist--; |
| 3625 } | 3621 } |
| 3626 | 3622 |
| 3627 core.int buildCounterPlaylistContentDetails = 0; | 3623 core.int buildCounterPlaylistContentDetails = 0; |
| 3628 buildPlaylistContentDetails() { | 3624 buildPlaylistContentDetails() { |
| 3629 var o = new api.PlaylistContentDetails(); | 3625 var o = new api.PlaylistContentDetails(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3690 buildCounterPlaylistItemContentDetails++; | 3686 buildCounterPlaylistItemContentDetails++; |
| 3691 if (buildCounterPlaylistItemContentDetails < 3) { | 3687 if (buildCounterPlaylistItemContentDetails < 3) { |
| 3692 unittest.expect(o.endAt, unittest.equals('foo')); | 3688 unittest.expect(o.endAt, unittest.equals('foo')); |
| 3693 unittest.expect(o.note, unittest.equals('foo')); | 3689 unittest.expect(o.note, unittest.equals('foo')); |
| 3694 unittest.expect(o.startAt, unittest.equals('foo')); | 3690 unittest.expect(o.startAt, unittest.equals('foo')); |
| 3695 unittest.expect(o.videoId, unittest.equals('foo')); | 3691 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3696 } | 3692 } |
| 3697 buildCounterPlaylistItemContentDetails--; | 3693 buildCounterPlaylistItemContentDetails--; |
| 3698 } | 3694 } |
| 3699 | 3695 |
| 3700 buildUnnamed751() { | 3696 buildUnnamed775() { |
| 3701 var o = new core.List<api.PlaylistItem>(); | 3697 var o = new core.List<api.PlaylistItem>(); |
| 3702 o.add(buildPlaylistItem()); | 3698 o.add(buildPlaylistItem()); |
| 3703 o.add(buildPlaylistItem()); | 3699 o.add(buildPlaylistItem()); |
| 3704 return o; | 3700 return o; |
| 3705 } | 3701 } |
| 3706 | 3702 |
| 3707 checkUnnamed751(core.List<api.PlaylistItem> o) { | 3703 checkUnnamed775(core.List<api.PlaylistItem> o) { |
| 3708 unittest.expect(o, unittest.hasLength(2)); | 3704 unittest.expect(o, unittest.hasLength(2)); |
| 3709 checkPlaylistItem(o[0]); | 3705 checkPlaylistItem(o[0]); |
| 3710 checkPlaylistItem(o[1]); | 3706 checkPlaylistItem(o[1]); |
| 3711 } | 3707 } |
| 3712 | 3708 |
| 3713 core.int buildCounterPlaylistItemListResponse = 0; | 3709 core.int buildCounterPlaylistItemListResponse = 0; |
| 3714 buildPlaylistItemListResponse() { | 3710 buildPlaylistItemListResponse() { |
| 3715 var o = new api.PlaylistItemListResponse(); | 3711 var o = new api.PlaylistItemListResponse(); |
| 3716 buildCounterPlaylistItemListResponse++; | 3712 buildCounterPlaylistItemListResponse++; |
| 3717 if (buildCounterPlaylistItemListResponse < 3) { | 3713 if (buildCounterPlaylistItemListResponse < 3) { |
| 3718 o.etag = "foo"; | 3714 o.etag = "foo"; |
| 3719 o.eventId = "foo"; | 3715 o.eventId = "foo"; |
| 3720 o.items = buildUnnamed751(); | 3716 o.items = buildUnnamed775(); |
| 3721 o.kind = "foo"; | 3717 o.kind = "foo"; |
| 3722 o.nextPageToken = "foo"; | 3718 o.nextPageToken = "foo"; |
| 3723 o.pageInfo = buildPageInfo(); | 3719 o.pageInfo = buildPageInfo(); |
| 3724 o.prevPageToken = "foo"; | 3720 o.prevPageToken = "foo"; |
| 3725 o.tokenPagination = buildTokenPagination(); | 3721 o.tokenPagination = buildTokenPagination(); |
| 3726 o.visitorId = "foo"; | 3722 o.visitorId = "foo"; |
| 3727 } | 3723 } |
| 3728 buildCounterPlaylistItemListResponse--; | 3724 buildCounterPlaylistItemListResponse--; |
| 3729 return o; | 3725 return o; |
| 3730 } | 3726 } |
| 3731 | 3727 |
| 3732 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3728 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 3733 buildCounterPlaylistItemListResponse++; | 3729 buildCounterPlaylistItemListResponse++; |
| 3734 if (buildCounterPlaylistItemListResponse < 3) { | 3730 if (buildCounterPlaylistItemListResponse < 3) { |
| 3735 unittest.expect(o.etag, unittest.equals('foo')); | 3731 unittest.expect(o.etag, unittest.equals('foo')); |
| 3736 unittest.expect(o.eventId, unittest.equals('foo')); | 3732 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3737 checkUnnamed751(o.items); | 3733 checkUnnamed775(o.items); |
| 3738 unittest.expect(o.kind, unittest.equals('foo')); | 3734 unittest.expect(o.kind, unittest.equals('foo')); |
| 3739 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3735 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3740 checkPageInfo(o.pageInfo); | 3736 checkPageInfo(o.pageInfo); |
| 3741 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3737 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3742 checkTokenPagination(o.tokenPagination); | 3738 checkTokenPagination(o.tokenPagination); |
| 3743 unittest.expect(o.visitorId, unittest.equals('foo')); | 3739 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3744 } | 3740 } |
| 3745 buildCounterPlaylistItemListResponse--; | 3741 buildCounterPlaylistItemListResponse--; |
| 3746 } | 3742 } |
| 3747 | 3743 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3792 } | 3788 } |
| 3793 | 3789 |
| 3794 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3790 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 3795 buildCounterPlaylistItemStatus++; | 3791 buildCounterPlaylistItemStatus++; |
| 3796 if (buildCounterPlaylistItemStatus < 3) { | 3792 if (buildCounterPlaylistItemStatus < 3) { |
| 3797 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3793 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3798 } | 3794 } |
| 3799 buildCounterPlaylistItemStatus--; | 3795 buildCounterPlaylistItemStatus--; |
| 3800 } | 3796 } |
| 3801 | 3797 |
| 3802 buildUnnamed752() { | 3798 buildUnnamed776() { |
| 3803 var o = new core.List<api.Playlist>(); | 3799 var o = new core.List<api.Playlist>(); |
| 3804 o.add(buildPlaylist()); | 3800 o.add(buildPlaylist()); |
| 3805 o.add(buildPlaylist()); | 3801 o.add(buildPlaylist()); |
| 3806 return o; | 3802 return o; |
| 3807 } | 3803 } |
| 3808 | 3804 |
| 3809 checkUnnamed752(core.List<api.Playlist> o) { | 3805 checkUnnamed776(core.List<api.Playlist> o) { |
| 3810 unittest.expect(o, unittest.hasLength(2)); | 3806 unittest.expect(o, unittest.hasLength(2)); |
| 3811 checkPlaylist(o[0]); | 3807 checkPlaylist(o[0]); |
| 3812 checkPlaylist(o[1]); | 3808 checkPlaylist(o[1]); |
| 3813 } | 3809 } |
| 3814 | 3810 |
| 3815 core.int buildCounterPlaylistListResponse = 0; | 3811 core.int buildCounterPlaylistListResponse = 0; |
| 3816 buildPlaylistListResponse() { | 3812 buildPlaylistListResponse() { |
| 3817 var o = new api.PlaylistListResponse(); | 3813 var o = new api.PlaylistListResponse(); |
| 3818 buildCounterPlaylistListResponse++; | 3814 buildCounterPlaylistListResponse++; |
| 3819 if (buildCounterPlaylistListResponse < 3) { | 3815 if (buildCounterPlaylistListResponse < 3) { |
| 3820 o.etag = "foo"; | 3816 o.etag = "foo"; |
| 3821 o.eventId = "foo"; | 3817 o.eventId = "foo"; |
| 3822 o.items = buildUnnamed752(); | 3818 o.items = buildUnnamed776(); |
| 3823 o.kind = "foo"; | 3819 o.kind = "foo"; |
| 3824 o.nextPageToken = "foo"; | 3820 o.nextPageToken = "foo"; |
| 3825 o.pageInfo = buildPageInfo(); | 3821 o.pageInfo = buildPageInfo(); |
| 3826 o.prevPageToken = "foo"; | 3822 o.prevPageToken = "foo"; |
| 3827 o.tokenPagination = buildTokenPagination(); | 3823 o.tokenPagination = buildTokenPagination(); |
| 3828 o.visitorId = "foo"; | 3824 o.visitorId = "foo"; |
| 3829 } | 3825 } |
| 3830 buildCounterPlaylistListResponse--; | 3826 buildCounterPlaylistListResponse--; |
| 3831 return o; | 3827 return o; |
| 3832 } | 3828 } |
| 3833 | 3829 |
| 3834 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3830 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 3835 buildCounterPlaylistListResponse++; | 3831 buildCounterPlaylistListResponse++; |
| 3836 if (buildCounterPlaylistListResponse < 3) { | 3832 if (buildCounterPlaylistListResponse < 3) { |
| 3837 unittest.expect(o.etag, unittest.equals('foo')); | 3833 unittest.expect(o.etag, unittest.equals('foo')); |
| 3838 unittest.expect(o.eventId, unittest.equals('foo')); | 3834 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3839 checkUnnamed752(o.items); | 3835 checkUnnamed776(o.items); |
| 3840 unittest.expect(o.kind, unittest.equals('foo')); | 3836 unittest.expect(o.kind, unittest.equals('foo')); |
| 3841 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3837 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3842 checkPageInfo(o.pageInfo); | 3838 checkPageInfo(o.pageInfo); |
| 3843 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3839 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3844 checkTokenPagination(o.tokenPagination); | 3840 checkTokenPagination(o.tokenPagination); |
| 3845 unittest.expect(o.visitorId, unittest.equals('foo')); | 3841 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3846 } | 3842 } |
| 3847 buildCounterPlaylistListResponse--; | 3843 buildCounterPlaylistListResponse--; |
| 3848 } | 3844 } |
| 3849 | 3845 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3880 } | 3876 } |
| 3881 | 3877 |
| 3882 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3878 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 3883 buildCounterPlaylistPlayer++; | 3879 buildCounterPlaylistPlayer++; |
| 3884 if (buildCounterPlaylistPlayer < 3) { | 3880 if (buildCounterPlaylistPlayer < 3) { |
| 3885 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3881 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 3886 } | 3882 } |
| 3887 buildCounterPlaylistPlayer--; | 3883 buildCounterPlaylistPlayer--; |
| 3888 } | 3884 } |
| 3889 | 3885 |
| 3890 buildUnnamed753() { | 3886 buildUnnamed777() { |
| 3891 var o = new core.List<core.String>(); | 3887 var o = new core.List<core.String>(); |
| 3892 o.add("foo"); | 3888 o.add("foo"); |
| 3893 o.add("foo"); | 3889 o.add("foo"); |
| 3894 return o; | 3890 return o; |
| 3895 } | 3891 } |
| 3896 | 3892 |
| 3897 checkUnnamed753(core.List<core.String> o) { | 3893 checkUnnamed777(core.List<core.String> o) { |
| 3898 unittest.expect(o, unittest.hasLength(2)); | 3894 unittest.expect(o, unittest.hasLength(2)); |
| 3899 unittest.expect(o[0], unittest.equals('foo')); | 3895 unittest.expect(o[0], unittest.equals('foo')); |
| 3900 unittest.expect(o[1], unittest.equals('foo')); | 3896 unittest.expect(o[1], unittest.equals('foo')); |
| 3901 } | 3897 } |
| 3902 | 3898 |
| 3903 core.int buildCounterPlaylistSnippet = 0; | 3899 core.int buildCounterPlaylistSnippet = 0; |
| 3904 buildPlaylistSnippet() { | 3900 buildPlaylistSnippet() { |
| 3905 var o = new api.PlaylistSnippet(); | 3901 var o = new api.PlaylistSnippet(); |
| 3906 buildCounterPlaylistSnippet++; | 3902 buildCounterPlaylistSnippet++; |
| 3907 if (buildCounterPlaylistSnippet < 3) { | 3903 if (buildCounterPlaylistSnippet < 3) { |
| 3908 o.channelId = "foo"; | 3904 o.channelId = "foo"; |
| 3909 o.channelTitle = "foo"; | 3905 o.channelTitle = "foo"; |
| 3910 o.defaultLanguage = "foo"; | 3906 o.defaultLanguage = "foo"; |
| 3911 o.description = "foo"; | 3907 o.description = "foo"; |
| 3912 o.localized = buildPlaylistLocalization(); | 3908 o.localized = buildPlaylistLocalization(); |
| 3913 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3909 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3914 o.tags = buildUnnamed753(); | 3910 o.tags = buildUnnamed777(); |
| 3915 o.thumbnails = buildThumbnailDetails(); | 3911 o.thumbnails = buildThumbnailDetails(); |
| 3916 o.title = "foo"; | 3912 o.title = "foo"; |
| 3917 } | 3913 } |
| 3918 buildCounterPlaylistSnippet--; | 3914 buildCounterPlaylistSnippet--; |
| 3919 return o; | 3915 return o; |
| 3920 } | 3916 } |
| 3921 | 3917 |
| 3922 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3918 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 3923 buildCounterPlaylistSnippet++; | 3919 buildCounterPlaylistSnippet++; |
| 3924 if (buildCounterPlaylistSnippet < 3) { | 3920 if (buildCounterPlaylistSnippet < 3) { |
| 3925 unittest.expect(o.channelId, unittest.equals('foo')); | 3921 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3926 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3922 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3927 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3923 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 3928 unittest.expect(o.description, unittest.equals('foo')); | 3924 unittest.expect(o.description, unittest.equals('foo')); |
| 3929 checkPlaylistLocalization(o.localized); | 3925 checkPlaylistLocalization(o.localized); |
| 3930 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3926 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3931 checkUnnamed753(o.tags); | 3927 checkUnnamed777(o.tags); |
| 3932 checkThumbnailDetails(o.thumbnails); | 3928 checkThumbnailDetails(o.thumbnails); |
| 3933 unittest.expect(o.title, unittest.equals('foo')); | 3929 unittest.expect(o.title, unittest.equals('foo')); |
| 3934 } | 3930 } |
| 3935 buildCounterPlaylistSnippet--; | 3931 buildCounterPlaylistSnippet--; |
| 3936 } | 3932 } |
| 3937 | 3933 |
| 3938 core.int buildCounterPlaylistStatus = 0; | 3934 core.int buildCounterPlaylistStatus = 0; |
| 3939 buildPlaylistStatus() { | 3935 buildPlaylistStatus() { |
| 3940 var o = new api.PlaylistStatus(); | 3936 var o = new api.PlaylistStatus(); |
| 3941 buildCounterPlaylistStatus++; | 3937 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4043 buildCounterResourceId++; | 4039 buildCounterResourceId++; |
| 4044 if (buildCounterResourceId < 3) { | 4040 if (buildCounterResourceId < 3) { |
| 4045 unittest.expect(o.channelId, unittest.equals('foo')); | 4041 unittest.expect(o.channelId, unittest.equals('foo')); |
| 4046 unittest.expect(o.kind, unittest.equals('foo')); | 4042 unittest.expect(o.kind, unittest.equals('foo')); |
| 4047 unittest.expect(o.playlistId, unittest.equals('foo')); | 4043 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 4048 unittest.expect(o.videoId, unittest.equals('foo')); | 4044 unittest.expect(o.videoId, unittest.equals('foo')); |
| 4049 } | 4045 } |
| 4050 buildCounterResourceId--; | 4046 buildCounterResourceId--; |
| 4051 } | 4047 } |
| 4052 | 4048 |
| 4053 buildUnnamed754() { | 4049 buildUnnamed778() { |
| 4054 var o = new core.List<api.SearchResult>(); | 4050 var o = new core.List<api.SearchResult>(); |
| 4055 o.add(buildSearchResult()); | 4051 o.add(buildSearchResult()); |
| 4056 o.add(buildSearchResult()); | 4052 o.add(buildSearchResult()); |
| 4057 return o; | 4053 return o; |
| 4058 } | 4054 } |
| 4059 | 4055 |
| 4060 checkUnnamed754(core.List<api.SearchResult> o) { | 4056 checkUnnamed778(core.List<api.SearchResult> o) { |
| 4061 unittest.expect(o, unittest.hasLength(2)); | 4057 unittest.expect(o, unittest.hasLength(2)); |
| 4062 checkSearchResult(o[0]); | 4058 checkSearchResult(o[0]); |
| 4063 checkSearchResult(o[1]); | 4059 checkSearchResult(o[1]); |
| 4064 } | 4060 } |
| 4065 | 4061 |
| 4066 core.int buildCounterSearchListResponse = 0; | 4062 core.int buildCounterSearchListResponse = 0; |
| 4067 buildSearchListResponse() { | 4063 buildSearchListResponse() { |
| 4068 var o = new api.SearchListResponse(); | 4064 var o = new api.SearchListResponse(); |
| 4069 buildCounterSearchListResponse++; | 4065 buildCounterSearchListResponse++; |
| 4070 if (buildCounterSearchListResponse < 3) { | 4066 if (buildCounterSearchListResponse < 3) { |
| 4071 o.etag = "foo"; | 4067 o.etag = "foo"; |
| 4072 o.eventId = "foo"; | 4068 o.eventId = "foo"; |
| 4073 o.items = buildUnnamed754(); | 4069 o.items = buildUnnamed778(); |
| 4074 o.kind = "foo"; | 4070 o.kind = "foo"; |
| 4075 o.nextPageToken = "foo"; | 4071 o.nextPageToken = "foo"; |
| 4076 o.pageInfo = buildPageInfo(); | 4072 o.pageInfo = buildPageInfo(); |
| 4077 o.prevPageToken = "foo"; | 4073 o.prevPageToken = "foo"; |
| 4078 o.regionCode = "foo"; | 4074 o.regionCode = "foo"; |
| 4079 o.tokenPagination = buildTokenPagination(); | 4075 o.tokenPagination = buildTokenPagination(); |
| 4080 o.visitorId = "foo"; | 4076 o.visitorId = "foo"; |
| 4081 } | 4077 } |
| 4082 buildCounterSearchListResponse--; | 4078 buildCounterSearchListResponse--; |
| 4083 return o; | 4079 return o; |
| 4084 } | 4080 } |
| 4085 | 4081 |
| 4086 checkSearchListResponse(api.SearchListResponse o) { | 4082 checkSearchListResponse(api.SearchListResponse o) { |
| 4087 buildCounterSearchListResponse++; | 4083 buildCounterSearchListResponse++; |
| 4088 if (buildCounterSearchListResponse < 3) { | 4084 if (buildCounterSearchListResponse < 3) { |
| 4089 unittest.expect(o.etag, unittest.equals('foo')); | 4085 unittest.expect(o.etag, unittest.equals('foo')); |
| 4090 unittest.expect(o.eventId, unittest.equals('foo')); | 4086 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4091 checkUnnamed754(o.items); | 4087 checkUnnamed778(o.items); |
| 4092 unittest.expect(o.kind, unittest.equals('foo')); | 4088 unittest.expect(o.kind, unittest.equals('foo')); |
| 4093 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4089 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4094 checkPageInfo(o.pageInfo); | 4090 checkPageInfo(o.pageInfo); |
| 4095 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4091 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4096 unittest.expect(o.regionCode, unittest.equals('foo')); | 4092 unittest.expect(o.regionCode, unittest.equals('foo')); |
| 4097 checkTokenPagination(o.tokenPagination); | 4093 checkTokenPagination(o.tokenPagination); |
| 4098 unittest.expect(o.visitorId, unittest.equals('foo')); | 4094 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4099 } | 4095 } |
| 4100 buildCounterSearchListResponse--; | 4096 buildCounterSearchListResponse--; |
| 4101 } | 4097 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4174 buildCounterSponsor++; | 4170 buildCounterSponsor++; |
| 4175 if (buildCounterSponsor < 3) { | 4171 if (buildCounterSponsor < 3) { |
| 4176 unittest.expect(o.etag, unittest.equals('foo')); | 4172 unittest.expect(o.etag, unittest.equals('foo')); |
| 4177 unittest.expect(o.id, unittest.equals('foo')); | 4173 unittest.expect(o.id, unittest.equals('foo')); |
| 4178 unittest.expect(o.kind, unittest.equals('foo')); | 4174 unittest.expect(o.kind, unittest.equals('foo')); |
| 4179 checkSponsorSnippet(o.snippet); | 4175 checkSponsorSnippet(o.snippet); |
| 4180 } | 4176 } |
| 4181 buildCounterSponsor--; | 4177 buildCounterSponsor--; |
| 4182 } | 4178 } |
| 4183 | 4179 |
| 4184 buildUnnamed755() { | 4180 buildUnnamed779() { |
| 4185 var o = new core.List<api.Sponsor>(); | 4181 var o = new core.List<api.Sponsor>(); |
| 4186 o.add(buildSponsor()); | 4182 o.add(buildSponsor()); |
| 4187 o.add(buildSponsor()); | 4183 o.add(buildSponsor()); |
| 4188 return o; | 4184 return o; |
| 4189 } | 4185 } |
| 4190 | 4186 |
| 4191 checkUnnamed755(core.List<api.Sponsor> o) { | 4187 checkUnnamed779(core.List<api.Sponsor> o) { |
| 4192 unittest.expect(o, unittest.hasLength(2)); | 4188 unittest.expect(o, unittest.hasLength(2)); |
| 4193 checkSponsor(o[0]); | 4189 checkSponsor(o[0]); |
| 4194 checkSponsor(o[1]); | 4190 checkSponsor(o[1]); |
| 4195 } | 4191 } |
| 4196 | 4192 |
| 4197 core.int buildCounterSponsorListResponse = 0; | 4193 core.int buildCounterSponsorListResponse = 0; |
| 4198 buildSponsorListResponse() { | 4194 buildSponsorListResponse() { |
| 4199 var o = new api.SponsorListResponse(); | 4195 var o = new api.SponsorListResponse(); |
| 4200 buildCounterSponsorListResponse++; | 4196 buildCounterSponsorListResponse++; |
| 4201 if (buildCounterSponsorListResponse < 3) { | 4197 if (buildCounterSponsorListResponse < 3) { |
| 4202 o.etag = "foo"; | 4198 o.etag = "foo"; |
| 4203 o.eventId = "foo"; | 4199 o.eventId = "foo"; |
| 4204 o.items = buildUnnamed755(); | 4200 o.items = buildUnnamed779(); |
| 4205 o.kind = "foo"; | 4201 o.kind = "foo"; |
| 4206 o.nextPageToken = "foo"; | 4202 o.nextPageToken = "foo"; |
| 4207 o.pageInfo = buildPageInfo(); | 4203 o.pageInfo = buildPageInfo(); |
| 4208 o.tokenPagination = buildTokenPagination(); | 4204 o.tokenPagination = buildTokenPagination(); |
| 4209 o.visitorId = "foo"; | 4205 o.visitorId = "foo"; |
| 4210 } | 4206 } |
| 4211 buildCounterSponsorListResponse--; | 4207 buildCounterSponsorListResponse--; |
| 4212 return o; | 4208 return o; |
| 4213 } | 4209 } |
| 4214 | 4210 |
| 4215 checkSponsorListResponse(api.SponsorListResponse o) { | 4211 checkSponsorListResponse(api.SponsorListResponse o) { |
| 4216 buildCounterSponsorListResponse++; | 4212 buildCounterSponsorListResponse++; |
| 4217 if (buildCounterSponsorListResponse < 3) { | 4213 if (buildCounterSponsorListResponse < 3) { |
| 4218 unittest.expect(o.etag, unittest.equals('foo')); | 4214 unittest.expect(o.etag, unittest.equals('foo')); |
| 4219 unittest.expect(o.eventId, unittest.equals('foo')); | 4215 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4220 checkUnnamed755(o.items); | 4216 checkUnnamed779(o.items); |
| 4221 unittest.expect(o.kind, unittest.equals('foo')); | 4217 unittest.expect(o.kind, unittest.equals('foo')); |
| 4222 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4218 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4223 checkPageInfo(o.pageInfo); | 4219 checkPageInfo(o.pageInfo); |
| 4224 checkTokenPagination(o.tokenPagination); | 4220 checkTokenPagination(o.tokenPagination); |
| 4225 unittest.expect(o.visitorId, unittest.equals('foo')); | 4221 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4226 } | 4222 } |
| 4227 buildCounterSponsorListResponse--; | 4223 buildCounterSponsorListResponse--; |
| 4228 } | 4224 } |
| 4229 | 4225 |
| 4230 core.int buildCounterSponsorSnippet = 0; | 4226 core.int buildCounterSponsorSnippet = 0; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4295 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 4291 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 4296 buildCounterSubscriptionContentDetails++; | 4292 buildCounterSubscriptionContentDetails++; |
| 4297 if (buildCounterSubscriptionContentDetails < 3) { | 4293 if (buildCounterSubscriptionContentDetails < 3) { |
| 4298 unittest.expect(o.activityType, unittest.equals('foo')); | 4294 unittest.expect(o.activityType, unittest.equals('foo')); |
| 4299 unittest.expect(o.newItemCount, unittest.equals(42)); | 4295 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 4300 unittest.expect(o.totalItemCount, unittest.equals(42)); | 4296 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 4301 } | 4297 } |
| 4302 buildCounterSubscriptionContentDetails--; | 4298 buildCounterSubscriptionContentDetails--; |
| 4303 } | 4299 } |
| 4304 | 4300 |
| 4305 buildUnnamed756() { | 4301 buildUnnamed780() { |
| 4306 var o = new core.List<api.Subscription>(); | 4302 var o = new core.List<api.Subscription>(); |
| 4307 o.add(buildSubscription()); | 4303 o.add(buildSubscription()); |
| 4308 o.add(buildSubscription()); | 4304 o.add(buildSubscription()); |
| 4309 return o; | 4305 return o; |
| 4310 } | 4306 } |
| 4311 | 4307 |
| 4312 checkUnnamed756(core.List<api.Subscription> o) { | 4308 checkUnnamed780(core.List<api.Subscription> o) { |
| 4313 unittest.expect(o, unittest.hasLength(2)); | 4309 unittest.expect(o, unittest.hasLength(2)); |
| 4314 checkSubscription(o[0]); | 4310 checkSubscription(o[0]); |
| 4315 checkSubscription(o[1]); | 4311 checkSubscription(o[1]); |
| 4316 } | 4312 } |
| 4317 | 4313 |
| 4318 core.int buildCounterSubscriptionListResponse = 0; | 4314 core.int buildCounterSubscriptionListResponse = 0; |
| 4319 buildSubscriptionListResponse() { | 4315 buildSubscriptionListResponse() { |
| 4320 var o = new api.SubscriptionListResponse(); | 4316 var o = new api.SubscriptionListResponse(); |
| 4321 buildCounterSubscriptionListResponse++; | 4317 buildCounterSubscriptionListResponse++; |
| 4322 if (buildCounterSubscriptionListResponse < 3) { | 4318 if (buildCounterSubscriptionListResponse < 3) { |
| 4323 o.etag = "foo"; | 4319 o.etag = "foo"; |
| 4324 o.eventId = "foo"; | 4320 o.eventId = "foo"; |
| 4325 o.items = buildUnnamed756(); | 4321 o.items = buildUnnamed780(); |
| 4326 o.kind = "foo"; | 4322 o.kind = "foo"; |
| 4327 o.nextPageToken = "foo"; | 4323 o.nextPageToken = "foo"; |
| 4328 o.pageInfo = buildPageInfo(); | 4324 o.pageInfo = buildPageInfo(); |
| 4329 o.prevPageToken = "foo"; | 4325 o.prevPageToken = "foo"; |
| 4330 o.tokenPagination = buildTokenPagination(); | 4326 o.tokenPagination = buildTokenPagination(); |
| 4331 o.visitorId = "foo"; | 4327 o.visitorId = "foo"; |
| 4332 } | 4328 } |
| 4333 buildCounterSubscriptionListResponse--; | 4329 buildCounterSubscriptionListResponse--; |
| 4334 return o; | 4330 return o; |
| 4335 } | 4331 } |
| 4336 | 4332 |
| 4337 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 4333 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 4338 buildCounterSubscriptionListResponse++; | 4334 buildCounterSubscriptionListResponse++; |
| 4339 if (buildCounterSubscriptionListResponse < 3) { | 4335 if (buildCounterSubscriptionListResponse < 3) { |
| 4340 unittest.expect(o.etag, unittest.equals('foo')); | 4336 unittest.expect(o.etag, unittest.equals('foo')); |
| 4341 unittest.expect(o.eventId, unittest.equals('foo')); | 4337 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4342 checkUnnamed756(o.items); | 4338 checkUnnamed780(o.items); |
| 4343 unittest.expect(o.kind, unittest.equals('foo')); | 4339 unittest.expect(o.kind, unittest.equals('foo')); |
| 4344 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4340 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4345 checkPageInfo(o.pageInfo); | 4341 checkPageInfo(o.pageInfo); |
| 4346 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4342 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4347 checkTokenPagination(o.tokenPagination); | 4343 checkTokenPagination(o.tokenPagination); |
| 4348 unittest.expect(o.visitorId, unittest.equals('foo')); | 4344 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4349 } | 4345 } |
| 4350 buildCounterSubscriptionListResponse--; | 4346 buildCounterSubscriptionListResponse--; |
| 4351 } | 4347 } |
| 4352 | 4348 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4449 if (buildCounterThumbnailDetails < 3) { | 4445 if (buildCounterThumbnailDetails < 3) { |
| 4450 checkThumbnail(o.default_); | 4446 checkThumbnail(o.default_); |
| 4451 checkThumbnail(o.high); | 4447 checkThumbnail(o.high); |
| 4452 checkThumbnail(o.maxres); | 4448 checkThumbnail(o.maxres); |
| 4453 checkThumbnail(o.medium); | 4449 checkThumbnail(o.medium); |
| 4454 checkThumbnail(o.standard); | 4450 checkThumbnail(o.standard); |
| 4455 } | 4451 } |
| 4456 buildCounterThumbnailDetails--; | 4452 buildCounterThumbnailDetails--; |
| 4457 } | 4453 } |
| 4458 | 4454 |
| 4459 buildUnnamed757() { | 4455 buildUnnamed781() { |
| 4460 var o = new core.List<api.ThumbnailDetails>(); | 4456 var o = new core.List<api.ThumbnailDetails>(); |
| 4461 o.add(buildThumbnailDetails()); | 4457 o.add(buildThumbnailDetails()); |
| 4462 o.add(buildThumbnailDetails()); | 4458 o.add(buildThumbnailDetails()); |
| 4463 return o; | 4459 return o; |
| 4464 } | 4460 } |
| 4465 | 4461 |
| 4466 checkUnnamed757(core.List<api.ThumbnailDetails> o) { | 4462 checkUnnamed781(core.List<api.ThumbnailDetails> o) { |
| 4467 unittest.expect(o, unittest.hasLength(2)); | 4463 unittest.expect(o, unittest.hasLength(2)); |
| 4468 checkThumbnailDetails(o[0]); | 4464 checkThumbnailDetails(o[0]); |
| 4469 checkThumbnailDetails(o[1]); | 4465 checkThumbnailDetails(o[1]); |
| 4470 } | 4466 } |
| 4471 | 4467 |
| 4472 core.int buildCounterThumbnailSetResponse = 0; | 4468 core.int buildCounterThumbnailSetResponse = 0; |
| 4473 buildThumbnailSetResponse() { | 4469 buildThumbnailSetResponse() { |
| 4474 var o = new api.ThumbnailSetResponse(); | 4470 var o = new api.ThumbnailSetResponse(); |
| 4475 buildCounterThumbnailSetResponse++; | 4471 buildCounterThumbnailSetResponse++; |
| 4476 if (buildCounterThumbnailSetResponse < 3) { | 4472 if (buildCounterThumbnailSetResponse < 3) { |
| 4477 o.etag = "foo"; | 4473 o.etag = "foo"; |
| 4478 o.eventId = "foo"; | 4474 o.eventId = "foo"; |
| 4479 o.items = buildUnnamed757(); | 4475 o.items = buildUnnamed781(); |
| 4480 o.kind = "foo"; | 4476 o.kind = "foo"; |
| 4481 o.visitorId = "foo"; | 4477 o.visitorId = "foo"; |
| 4482 } | 4478 } |
| 4483 buildCounterThumbnailSetResponse--; | 4479 buildCounterThumbnailSetResponse--; |
| 4484 return o; | 4480 return o; |
| 4485 } | 4481 } |
| 4486 | 4482 |
| 4487 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 4483 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 4488 buildCounterThumbnailSetResponse++; | 4484 buildCounterThumbnailSetResponse++; |
| 4489 if (buildCounterThumbnailSetResponse < 3) { | 4485 if (buildCounterThumbnailSetResponse < 3) { |
| 4490 unittest.expect(o.etag, unittest.equals('foo')); | 4486 unittest.expect(o.etag, unittest.equals('foo')); |
| 4491 unittest.expect(o.eventId, unittest.equals('foo')); | 4487 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4492 checkUnnamed757(o.items); | 4488 checkUnnamed781(o.items); |
| 4493 unittest.expect(o.kind, unittest.equals('foo')); | 4489 unittest.expect(o.kind, unittest.equals('foo')); |
| 4494 unittest.expect(o.visitorId, unittest.equals('foo')); | 4490 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4495 } | 4491 } |
| 4496 buildCounterThumbnailSetResponse--; | 4492 buildCounterThumbnailSetResponse--; |
| 4497 } | 4493 } |
| 4498 | 4494 |
| 4499 core.int buildCounterTokenPagination = 0; | 4495 core.int buildCounterTokenPagination = 0; |
| 4500 buildTokenPagination() { | 4496 buildTokenPagination() { |
| 4501 var o = new api.TokenPagination(); | 4497 var o = new api.TokenPagination(); |
| 4502 buildCounterTokenPagination++; | 4498 buildCounterTokenPagination++; |
| 4503 if (buildCounterTokenPagination < 3) { | 4499 if (buildCounterTokenPagination < 3) { |
| 4504 } | 4500 } |
| 4505 buildCounterTokenPagination--; | 4501 buildCounterTokenPagination--; |
| 4506 return o; | 4502 return o; |
| 4507 } | 4503 } |
| 4508 | 4504 |
| 4509 checkTokenPagination(api.TokenPagination o) { | 4505 checkTokenPagination(api.TokenPagination o) { |
| 4510 buildCounterTokenPagination++; | 4506 buildCounterTokenPagination++; |
| 4511 if (buildCounterTokenPagination < 3) { | 4507 if (buildCounterTokenPagination < 3) { |
| 4512 } | 4508 } |
| 4513 buildCounterTokenPagination--; | 4509 buildCounterTokenPagination--; |
| 4514 } | 4510 } |
| 4515 | 4511 |
| 4516 buildUnnamed758() { | 4512 buildUnnamed782() { |
| 4517 var o = new core.Map<core.String, api.VideoLocalization>(); | 4513 var o = new core.Map<core.String, api.VideoLocalization>(); |
| 4518 o["x"] = buildVideoLocalization(); | 4514 o["x"] = buildVideoLocalization(); |
| 4519 o["y"] = buildVideoLocalization(); | 4515 o["y"] = buildVideoLocalization(); |
| 4520 return o; | 4516 return o; |
| 4521 } | 4517 } |
| 4522 | 4518 |
| 4523 checkUnnamed758(core.Map<core.String, api.VideoLocalization> o) { | 4519 checkUnnamed782(core.Map<core.String, api.VideoLocalization> o) { |
| 4524 unittest.expect(o, unittest.hasLength(2)); | 4520 unittest.expect(o, unittest.hasLength(2)); |
| 4525 checkVideoLocalization(o["x"]); | 4521 checkVideoLocalization(o["x"]); |
| 4526 checkVideoLocalization(o["y"]); | 4522 checkVideoLocalization(o["y"]); |
| 4527 } | 4523 } |
| 4528 | 4524 |
| 4529 core.int buildCounterVideo = 0; | 4525 core.int buildCounterVideo = 0; |
| 4530 buildVideo() { | 4526 buildVideo() { |
| 4531 var o = new api.Video(); | 4527 var o = new api.Video(); |
| 4532 buildCounterVideo++; | 4528 buildCounterVideo++; |
| 4533 if (buildCounterVideo < 3) { | 4529 if (buildCounterVideo < 3) { |
| 4534 o.ageGating = buildVideoAgeGating(); | 4530 o.ageGating = buildVideoAgeGating(); |
| 4535 o.contentDetails = buildVideoContentDetails(); | 4531 o.contentDetails = buildVideoContentDetails(); |
| 4536 o.etag = "foo"; | 4532 o.etag = "foo"; |
| 4537 o.fileDetails = buildVideoFileDetails(); | 4533 o.fileDetails = buildVideoFileDetails(); |
| 4538 o.id = "foo"; | 4534 o.id = "foo"; |
| 4539 o.kind = "foo"; | 4535 o.kind = "foo"; |
| 4540 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 4536 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
| 4541 o.localizations = buildUnnamed758(); | 4537 o.localizations = buildUnnamed782(); |
| 4542 o.monetizationDetails = buildVideoMonetizationDetails(); | 4538 o.monetizationDetails = buildVideoMonetizationDetails(); |
| 4543 o.player = buildVideoPlayer(); | 4539 o.player = buildVideoPlayer(); |
| 4544 o.processingDetails = buildVideoProcessingDetails(); | 4540 o.processingDetails = buildVideoProcessingDetails(); |
| 4545 o.projectDetails = buildVideoProjectDetails(); | 4541 o.projectDetails = buildVideoProjectDetails(); |
| 4546 o.recordingDetails = buildVideoRecordingDetails(); | 4542 o.recordingDetails = buildVideoRecordingDetails(); |
| 4547 o.snippet = buildVideoSnippet(); | 4543 o.snippet = buildVideoSnippet(); |
| 4548 o.statistics = buildVideoStatistics(); | 4544 o.statistics = buildVideoStatistics(); |
| 4549 o.status = buildVideoStatus(); | 4545 o.status = buildVideoStatus(); |
| 4550 o.suggestions = buildVideoSuggestions(); | 4546 o.suggestions = buildVideoSuggestions(); |
| 4551 o.topicDetails = buildVideoTopicDetails(); | 4547 o.topicDetails = buildVideoTopicDetails(); |
| 4552 } | 4548 } |
| 4553 buildCounterVideo--; | 4549 buildCounterVideo--; |
| 4554 return o; | 4550 return o; |
| 4555 } | 4551 } |
| 4556 | 4552 |
| 4557 checkVideo(api.Video o) { | 4553 checkVideo(api.Video o) { |
| 4558 buildCounterVideo++; | 4554 buildCounterVideo++; |
| 4559 if (buildCounterVideo < 3) { | 4555 if (buildCounterVideo < 3) { |
| 4560 checkVideoAgeGating(o.ageGating); | 4556 checkVideoAgeGating(o.ageGating); |
| 4561 checkVideoContentDetails(o.contentDetails); | 4557 checkVideoContentDetails(o.contentDetails); |
| 4562 unittest.expect(o.etag, unittest.equals('foo')); | 4558 unittest.expect(o.etag, unittest.equals('foo')); |
| 4563 checkVideoFileDetails(o.fileDetails); | 4559 checkVideoFileDetails(o.fileDetails); |
| 4564 unittest.expect(o.id, unittest.equals('foo')); | 4560 unittest.expect(o.id, unittest.equals('foo')); |
| 4565 unittest.expect(o.kind, unittest.equals('foo')); | 4561 unittest.expect(o.kind, unittest.equals('foo')); |
| 4566 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 4562 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
| 4567 checkUnnamed758(o.localizations); | 4563 checkUnnamed782(o.localizations); |
| 4568 checkVideoMonetizationDetails(o.monetizationDetails); | 4564 checkVideoMonetizationDetails(o.monetizationDetails); |
| 4569 checkVideoPlayer(o.player); | 4565 checkVideoPlayer(o.player); |
| 4570 checkVideoProcessingDetails(o.processingDetails); | 4566 checkVideoProcessingDetails(o.processingDetails); |
| 4571 checkVideoProjectDetails(o.projectDetails); | 4567 checkVideoProjectDetails(o.projectDetails); |
| 4572 checkVideoRecordingDetails(o.recordingDetails); | 4568 checkVideoRecordingDetails(o.recordingDetails); |
| 4573 checkVideoSnippet(o.snippet); | 4569 checkVideoSnippet(o.snippet); |
| 4574 checkVideoStatistics(o.statistics); | 4570 checkVideoStatistics(o.statistics); |
| 4575 checkVideoStatus(o.status); | 4571 checkVideoStatus(o.status); |
| 4576 checkVideoSuggestions(o.suggestions); | 4572 checkVideoSuggestions(o.suggestions); |
| 4577 checkVideoTopicDetails(o.topicDetails); | 4573 checkVideoTopicDetails(o.topicDetails); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4624 buildCounterVideoAbuseReportReason++; | 4620 buildCounterVideoAbuseReportReason++; |
| 4625 if (buildCounterVideoAbuseReportReason < 3) { | 4621 if (buildCounterVideoAbuseReportReason < 3) { |
| 4626 unittest.expect(o.etag, unittest.equals('foo')); | 4622 unittest.expect(o.etag, unittest.equals('foo')); |
| 4627 unittest.expect(o.id, unittest.equals('foo')); | 4623 unittest.expect(o.id, unittest.equals('foo')); |
| 4628 unittest.expect(o.kind, unittest.equals('foo')); | 4624 unittest.expect(o.kind, unittest.equals('foo')); |
| 4629 checkVideoAbuseReportReasonSnippet(o.snippet); | 4625 checkVideoAbuseReportReasonSnippet(o.snippet); |
| 4630 } | 4626 } |
| 4631 buildCounterVideoAbuseReportReason--; | 4627 buildCounterVideoAbuseReportReason--; |
| 4632 } | 4628 } |
| 4633 | 4629 |
| 4634 buildUnnamed759() { | 4630 buildUnnamed783() { |
| 4635 var o = new core.List<api.VideoAbuseReportReason>(); | 4631 var o = new core.List<api.VideoAbuseReportReason>(); |
| 4636 o.add(buildVideoAbuseReportReason()); | 4632 o.add(buildVideoAbuseReportReason()); |
| 4637 o.add(buildVideoAbuseReportReason()); | 4633 o.add(buildVideoAbuseReportReason()); |
| 4638 return o; | 4634 return o; |
| 4639 } | 4635 } |
| 4640 | 4636 |
| 4641 checkUnnamed759(core.List<api.VideoAbuseReportReason> o) { | 4637 checkUnnamed783(core.List<api.VideoAbuseReportReason> o) { |
| 4642 unittest.expect(o, unittest.hasLength(2)); | 4638 unittest.expect(o, unittest.hasLength(2)); |
| 4643 checkVideoAbuseReportReason(o[0]); | 4639 checkVideoAbuseReportReason(o[0]); |
| 4644 checkVideoAbuseReportReason(o[1]); | 4640 checkVideoAbuseReportReason(o[1]); |
| 4645 } | 4641 } |
| 4646 | 4642 |
| 4647 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 4643 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
| 4648 buildVideoAbuseReportReasonListResponse() { | 4644 buildVideoAbuseReportReasonListResponse() { |
| 4649 var o = new api.VideoAbuseReportReasonListResponse(); | 4645 var o = new api.VideoAbuseReportReasonListResponse(); |
| 4650 buildCounterVideoAbuseReportReasonListResponse++; | 4646 buildCounterVideoAbuseReportReasonListResponse++; |
| 4651 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4647 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4652 o.etag = "foo"; | 4648 o.etag = "foo"; |
| 4653 o.eventId = "foo"; | 4649 o.eventId = "foo"; |
| 4654 o.items = buildUnnamed759(); | 4650 o.items = buildUnnamed783(); |
| 4655 o.kind = "foo"; | 4651 o.kind = "foo"; |
| 4656 o.visitorId = "foo"; | 4652 o.visitorId = "foo"; |
| 4657 } | 4653 } |
| 4658 buildCounterVideoAbuseReportReasonListResponse--; | 4654 buildCounterVideoAbuseReportReasonListResponse--; |
| 4659 return o; | 4655 return o; |
| 4660 } | 4656 } |
| 4661 | 4657 |
| 4662 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 4658 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
| 4663 buildCounterVideoAbuseReportReasonListResponse++; | 4659 buildCounterVideoAbuseReportReasonListResponse++; |
| 4664 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4660 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4665 unittest.expect(o.etag, unittest.equals('foo')); | 4661 unittest.expect(o.etag, unittest.equals('foo')); |
| 4666 unittest.expect(o.eventId, unittest.equals('foo')); | 4662 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4667 checkUnnamed759(o.items); | 4663 checkUnnamed783(o.items); |
| 4668 unittest.expect(o.kind, unittest.equals('foo')); | 4664 unittest.expect(o.kind, unittest.equals('foo')); |
| 4669 unittest.expect(o.visitorId, unittest.equals('foo')); | 4665 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4670 } | 4666 } |
| 4671 buildCounterVideoAbuseReportReasonListResponse--; | 4667 buildCounterVideoAbuseReportReasonListResponse--; |
| 4672 } | 4668 } |
| 4673 | 4669 |
| 4674 buildUnnamed760() { | 4670 buildUnnamed784() { |
| 4675 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 4671 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
| 4676 o.add(buildVideoAbuseReportSecondaryReason()); | 4672 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4677 o.add(buildVideoAbuseReportSecondaryReason()); | 4673 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4678 return o; | 4674 return o; |
| 4679 } | 4675 } |
| 4680 | 4676 |
| 4681 checkUnnamed760(core.List<api.VideoAbuseReportSecondaryReason> o) { | 4677 checkUnnamed784(core.List<api.VideoAbuseReportSecondaryReason> o) { |
| 4682 unittest.expect(o, unittest.hasLength(2)); | 4678 unittest.expect(o, unittest.hasLength(2)); |
| 4683 checkVideoAbuseReportSecondaryReason(o[0]); | 4679 checkVideoAbuseReportSecondaryReason(o[0]); |
| 4684 checkVideoAbuseReportSecondaryReason(o[1]); | 4680 checkVideoAbuseReportSecondaryReason(o[1]); |
| 4685 } | 4681 } |
| 4686 | 4682 |
| 4687 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 4683 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
| 4688 buildVideoAbuseReportReasonSnippet() { | 4684 buildVideoAbuseReportReasonSnippet() { |
| 4689 var o = new api.VideoAbuseReportReasonSnippet(); | 4685 var o = new api.VideoAbuseReportReasonSnippet(); |
| 4690 buildCounterVideoAbuseReportReasonSnippet++; | 4686 buildCounterVideoAbuseReportReasonSnippet++; |
| 4691 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4687 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4692 o.label = "foo"; | 4688 o.label = "foo"; |
| 4693 o.secondaryReasons = buildUnnamed760(); | 4689 o.secondaryReasons = buildUnnamed784(); |
| 4694 } | 4690 } |
| 4695 buildCounterVideoAbuseReportReasonSnippet--; | 4691 buildCounterVideoAbuseReportReasonSnippet--; |
| 4696 return o; | 4692 return o; |
| 4697 } | 4693 } |
| 4698 | 4694 |
| 4699 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 4695 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
| 4700 buildCounterVideoAbuseReportReasonSnippet++; | 4696 buildCounterVideoAbuseReportReasonSnippet++; |
| 4701 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4697 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4702 unittest.expect(o.label, unittest.equals('foo')); | 4698 unittest.expect(o.label, unittest.equals('foo')); |
| 4703 checkUnnamed760(o.secondaryReasons); | 4699 checkUnnamed784(o.secondaryReasons); |
| 4704 } | 4700 } |
| 4705 buildCounterVideoAbuseReportReasonSnippet--; | 4701 buildCounterVideoAbuseReportReasonSnippet--; |
| 4706 } | 4702 } |
| 4707 | 4703 |
| 4708 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 4704 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
| 4709 buildVideoAbuseReportSecondaryReason() { | 4705 buildVideoAbuseReportSecondaryReason() { |
| 4710 var o = new api.VideoAbuseReportSecondaryReason(); | 4706 var o = new api.VideoAbuseReportSecondaryReason(); |
| 4711 buildCounterVideoAbuseReportSecondaryReason++; | 4707 buildCounterVideoAbuseReportSecondaryReason++; |
| 4712 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 4708 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
| 4713 o.id = "foo"; | 4709 o.id = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4767 buildCounterVideoCategory++; | 4763 buildCounterVideoCategory++; |
| 4768 if (buildCounterVideoCategory < 3) { | 4764 if (buildCounterVideoCategory < 3) { |
| 4769 unittest.expect(o.etag, unittest.equals('foo')); | 4765 unittest.expect(o.etag, unittest.equals('foo')); |
| 4770 unittest.expect(o.id, unittest.equals('foo')); | 4766 unittest.expect(o.id, unittest.equals('foo')); |
| 4771 unittest.expect(o.kind, unittest.equals('foo')); | 4767 unittest.expect(o.kind, unittest.equals('foo')); |
| 4772 checkVideoCategorySnippet(o.snippet); | 4768 checkVideoCategorySnippet(o.snippet); |
| 4773 } | 4769 } |
| 4774 buildCounterVideoCategory--; | 4770 buildCounterVideoCategory--; |
| 4775 } | 4771 } |
| 4776 | 4772 |
| 4777 buildUnnamed761() { | 4773 buildUnnamed785() { |
| 4778 var o = new core.List<api.VideoCategory>(); | 4774 var o = new core.List<api.VideoCategory>(); |
| 4779 o.add(buildVideoCategory()); | 4775 o.add(buildVideoCategory()); |
| 4780 o.add(buildVideoCategory()); | 4776 o.add(buildVideoCategory()); |
| 4781 return o; | 4777 return o; |
| 4782 } | 4778 } |
| 4783 | 4779 |
| 4784 checkUnnamed761(core.List<api.VideoCategory> o) { | 4780 checkUnnamed785(core.List<api.VideoCategory> o) { |
| 4785 unittest.expect(o, unittest.hasLength(2)); | 4781 unittest.expect(o, unittest.hasLength(2)); |
| 4786 checkVideoCategory(o[0]); | 4782 checkVideoCategory(o[0]); |
| 4787 checkVideoCategory(o[1]); | 4783 checkVideoCategory(o[1]); |
| 4788 } | 4784 } |
| 4789 | 4785 |
| 4790 core.int buildCounterVideoCategoryListResponse = 0; | 4786 core.int buildCounterVideoCategoryListResponse = 0; |
| 4791 buildVideoCategoryListResponse() { | 4787 buildVideoCategoryListResponse() { |
| 4792 var o = new api.VideoCategoryListResponse(); | 4788 var o = new api.VideoCategoryListResponse(); |
| 4793 buildCounterVideoCategoryListResponse++; | 4789 buildCounterVideoCategoryListResponse++; |
| 4794 if (buildCounterVideoCategoryListResponse < 3) { | 4790 if (buildCounterVideoCategoryListResponse < 3) { |
| 4795 o.etag = "foo"; | 4791 o.etag = "foo"; |
| 4796 o.eventId = "foo"; | 4792 o.eventId = "foo"; |
| 4797 o.items = buildUnnamed761(); | 4793 o.items = buildUnnamed785(); |
| 4798 o.kind = "foo"; | 4794 o.kind = "foo"; |
| 4799 o.nextPageToken = "foo"; | 4795 o.nextPageToken = "foo"; |
| 4800 o.pageInfo = buildPageInfo(); | 4796 o.pageInfo = buildPageInfo(); |
| 4801 o.prevPageToken = "foo"; | 4797 o.prevPageToken = "foo"; |
| 4802 o.tokenPagination = buildTokenPagination(); | 4798 o.tokenPagination = buildTokenPagination(); |
| 4803 o.visitorId = "foo"; | 4799 o.visitorId = "foo"; |
| 4804 } | 4800 } |
| 4805 buildCounterVideoCategoryListResponse--; | 4801 buildCounterVideoCategoryListResponse--; |
| 4806 return o; | 4802 return o; |
| 4807 } | 4803 } |
| 4808 | 4804 |
| 4809 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4805 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 4810 buildCounterVideoCategoryListResponse++; | 4806 buildCounterVideoCategoryListResponse++; |
| 4811 if (buildCounterVideoCategoryListResponse < 3) { | 4807 if (buildCounterVideoCategoryListResponse < 3) { |
| 4812 unittest.expect(o.etag, unittest.equals('foo')); | 4808 unittest.expect(o.etag, unittest.equals('foo')); |
| 4813 unittest.expect(o.eventId, unittest.equals('foo')); | 4809 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4814 checkUnnamed761(o.items); | 4810 checkUnnamed785(o.items); |
| 4815 unittest.expect(o.kind, unittest.equals('foo')); | 4811 unittest.expect(o.kind, unittest.equals('foo')); |
| 4816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4812 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4817 checkPageInfo(o.pageInfo); | 4813 checkPageInfo(o.pageInfo); |
| 4818 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4814 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4819 checkTokenPagination(o.tokenPagination); | 4815 checkTokenPagination(o.tokenPagination); |
| 4820 unittest.expect(o.visitorId, unittest.equals('foo')); | 4816 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4821 } | 4817 } |
| 4822 buildCounterVideoCategoryListResponse--; | 4818 buildCounterVideoCategoryListResponse--; |
| 4823 } | 4819 } |
| 4824 | 4820 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 4849 buildVideoContentDetails() { | 4845 buildVideoContentDetails() { |
| 4850 var o = new api.VideoContentDetails(); | 4846 var o = new api.VideoContentDetails(); |
| 4851 buildCounterVideoContentDetails++; | 4847 buildCounterVideoContentDetails++; |
| 4852 if (buildCounterVideoContentDetails < 3) { | 4848 if (buildCounterVideoContentDetails < 3) { |
| 4853 o.caption = "foo"; | 4849 o.caption = "foo"; |
| 4854 o.contentRating = buildContentRating(); | 4850 o.contentRating = buildContentRating(); |
| 4855 o.countryRestriction = buildAccessPolicy(); | 4851 o.countryRestriction = buildAccessPolicy(); |
| 4856 o.definition = "foo"; | 4852 o.definition = "foo"; |
| 4857 o.dimension = "foo"; | 4853 o.dimension = "foo"; |
| 4858 o.duration = "foo"; | 4854 o.duration = "foo"; |
| 4855 o.hasCustomThumbnail = true; |
| 4859 o.licensedContent = true; | 4856 o.licensedContent = true; |
| 4860 o.projection = "foo"; | 4857 o.projection = "foo"; |
| 4861 o.regionRestriction = buildVideoContentDetailsRegionRestriction(); | 4858 o.regionRestriction = buildVideoContentDetailsRegionRestriction(); |
| 4862 } | 4859 } |
| 4863 buildCounterVideoContentDetails--; | 4860 buildCounterVideoContentDetails--; |
| 4864 return o; | 4861 return o; |
| 4865 } | 4862 } |
| 4866 | 4863 |
| 4867 checkVideoContentDetails(api.VideoContentDetails o) { | 4864 checkVideoContentDetails(api.VideoContentDetails o) { |
| 4868 buildCounterVideoContentDetails++; | 4865 buildCounterVideoContentDetails++; |
| 4869 if (buildCounterVideoContentDetails < 3) { | 4866 if (buildCounterVideoContentDetails < 3) { |
| 4870 unittest.expect(o.caption, unittest.equals('foo')); | 4867 unittest.expect(o.caption, unittest.equals('foo')); |
| 4871 checkContentRating(o.contentRating); | 4868 checkContentRating(o.contentRating); |
| 4872 checkAccessPolicy(o.countryRestriction); | 4869 checkAccessPolicy(o.countryRestriction); |
| 4873 unittest.expect(o.definition, unittest.equals('foo')); | 4870 unittest.expect(o.definition, unittest.equals('foo')); |
| 4874 unittest.expect(o.dimension, unittest.equals('foo')); | 4871 unittest.expect(o.dimension, unittest.equals('foo')); |
| 4875 unittest.expect(o.duration, unittest.equals('foo')); | 4872 unittest.expect(o.duration, unittest.equals('foo')); |
| 4873 unittest.expect(o.hasCustomThumbnail, unittest.isTrue); |
| 4876 unittest.expect(o.licensedContent, unittest.isTrue); | 4874 unittest.expect(o.licensedContent, unittest.isTrue); |
| 4877 unittest.expect(o.projection, unittest.equals('foo')); | 4875 unittest.expect(o.projection, unittest.equals('foo')); |
| 4878 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 4876 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 4879 } | 4877 } |
| 4880 buildCounterVideoContentDetails--; | 4878 buildCounterVideoContentDetails--; |
| 4881 } | 4879 } |
| 4882 | 4880 |
| 4883 buildUnnamed762() { | 4881 buildUnnamed786() { |
| 4884 var o = new core.List<core.String>(); | 4882 var o = new core.List<core.String>(); |
| 4885 o.add("foo"); | 4883 o.add("foo"); |
| 4886 o.add("foo"); | 4884 o.add("foo"); |
| 4887 return o; | 4885 return o; |
| 4888 } | 4886 } |
| 4889 | 4887 |
| 4890 checkUnnamed762(core.List<core.String> o) { | 4888 checkUnnamed786(core.List<core.String> o) { |
| 4891 unittest.expect(o, unittest.hasLength(2)); | 4889 unittest.expect(o, unittest.hasLength(2)); |
| 4892 unittest.expect(o[0], unittest.equals('foo')); | 4890 unittest.expect(o[0], unittest.equals('foo')); |
| 4893 unittest.expect(o[1], unittest.equals('foo')); | 4891 unittest.expect(o[1], unittest.equals('foo')); |
| 4894 } | 4892 } |
| 4895 | 4893 |
| 4896 buildUnnamed763() { | 4894 buildUnnamed787() { |
| 4897 var o = new core.List<core.String>(); | 4895 var o = new core.List<core.String>(); |
| 4898 o.add("foo"); | 4896 o.add("foo"); |
| 4899 o.add("foo"); | 4897 o.add("foo"); |
| 4900 return o; | 4898 return o; |
| 4901 } | 4899 } |
| 4902 | 4900 |
| 4903 checkUnnamed763(core.List<core.String> o) { | 4901 checkUnnamed787(core.List<core.String> o) { |
| 4904 unittest.expect(o, unittest.hasLength(2)); | 4902 unittest.expect(o, unittest.hasLength(2)); |
| 4905 unittest.expect(o[0], unittest.equals('foo')); | 4903 unittest.expect(o[0], unittest.equals('foo')); |
| 4906 unittest.expect(o[1], unittest.equals('foo')); | 4904 unittest.expect(o[1], unittest.equals('foo')); |
| 4907 } | 4905 } |
| 4908 | 4906 |
| 4909 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 4907 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 4910 buildVideoContentDetailsRegionRestriction() { | 4908 buildVideoContentDetailsRegionRestriction() { |
| 4911 var o = new api.VideoContentDetailsRegionRestriction(); | 4909 var o = new api.VideoContentDetailsRegionRestriction(); |
| 4912 buildCounterVideoContentDetailsRegionRestriction++; | 4910 buildCounterVideoContentDetailsRegionRestriction++; |
| 4913 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4911 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4914 o.allowed = buildUnnamed762(); | 4912 o.allowed = buildUnnamed786(); |
| 4915 o.blocked = buildUnnamed763(); | 4913 o.blocked = buildUnnamed787(); |
| 4916 } | 4914 } |
| 4917 buildCounterVideoContentDetailsRegionRestriction--; | 4915 buildCounterVideoContentDetailsRegionRestriction--; |
| 4918 return o; | 4916 return o; |
| 4919 } | 4917 } |
| 4920 | 4918 |
| 4921 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 4919 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 4922 buildCounterVideoContentDetailsRegionRestriction++; | 4920 buildCounterVideoContentDetailsRegionRestriction++; |
| 4923 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4921 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4924 checkUnnamed762(o.allowed); | 4922 checkUnnamed786(o.allowed); |
| 4925 checkUnnamed763(o.blocked); | 4923 checkUnnamed787(o.blocked); |
| 4926 } | 4924 } |
| 4927 buildCounterVideoContentDetailsRegionRestriction--; | 4925 buildCounterVideoContentDetailsRegionRestriction--; |
| 4928 } | 4926 } |
| 4929 | 4927 |
| 4930 buildUnnamed764() { | 4928 buildUnnamed788() { |
| 4931 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 4929 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 4932 o.add(buildVideoFileDetailsAudioStream()); | 4930 o.add(buildVideoFileDetailsAudioStream()); |
| 4933 o.add(buildVideoFileDetailsAudioStream()); | 4931 o.add(buildVideoFileDetailsAudioStream()); |
| 4934 return o; | 4932 return o; |
| 4935 } | 4933 } |
| 4936 | 4934 |
| 4937 checkUnnamed764(core.List<api.VideoFileDetailsAudioStream> o) { | 4935 checkUnnamed788(core.List<api.VideoFileDetailsAudioStream> o) { |
| 4938 unittest.expect(o, unittest.hasLength(2)); | 4936 unittest.expect(o, unittest.hasLength(2)); |
| 4939 checkVideoFileDetailsAudioStream(o[0]); | 4937 checkVideoFileDetailsAudioStream(o[0]); |
| 4940 checkVideoFileDetailsAudioStream(o[1]); | 4938 checkVideoFileDetailsAudioStream(o[1]); |
| 4941 } | 4939 } |
| 4942 | 4940 |
| 4943 buildUnnamed765() { | 4941 buildUnnamed789() { |
| 4944 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 4942 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 4945 o.add(buildVideoFileDetailsVideoStream()); | 4943 o.add(buildVideoFileDetailsVideoStream()); |
| 4946 o.add(buildVideoFileDetailsVideoStream()); | 4944 o.add(buildVideoFileDetailsVideoStream()); |
| 4947 return o; | 4945 return o; |
| 4948 } | 4946 } |
| 4949 | 4947 |
| 4950 checkUnnamed765(core.List<api.VideoFileDetailsVideoStream> o) { | 4948 checkUnnamed789(core.List<api.VideoFileDetailsVideoStream> o) { |
| 4951 unittest.expect(o, unittest.hasLength(2)); | 4949 unittest.expect(o, unittest.hasLength(2)); |
| 4952 checkVideoFileDetailsVideoStream(o[0]); | 4950 checkVideoFileDetailsVideoStream(o[0]); |
| 4953 checkVideoFileDetailsVideoStream(o[1]); | 4951 checkVideoFileDetailsVideoStream(o[1]); |
| 4954 } | 4952 } |
| 4955 | 4953 |
| 4956 core.int buildCounterVideoFileDetails = 0; | 4954 core.int buildCounterVideoFileDetails = 0; |
| 4957 buildVideoFileDetails() { | 4955 buildVideoFileDetails() { |
| 4958 var o = new api.VideoFileDetails(); | 4956 var o = new api.VideoFileDetails(); |
| 4959 buildCounterVideoFileDetails++; | 4957 buildCounterVideoFileDetails++; |
| 4960 if (buildCounterVideoFileDetails < 3) { | 4958 if (buildCounterVideoFileDetails < 3) { |
| 4961 o.audioStreams = buildUnnamed764(); | 4959 o.audioStreams = buildUnnamed788(); |
| 4962 o.bitrateBps = "foo"; | 4960 o.bitrateBps = "foo"; |
| 4963 o.container = "foo"; | 4961 o.container = "foo"; |
| 4964 o.creationTime = "foo"; | 4962 o.creationTime = "foo"; |
| 4965 o.durationMs = "foo"; | 4963 o.durationMs = "foo"; |
| 4966 o.fileName = "foo"; | 4964 o.fileName = "foo"; |
| 4967 o.fileSize = "foo"; | 4965 o.fileSize = "foo"; |
| 4968 o.fileType = "foo"; | 4966 o.fileType = "foo"; |
| 4969 o.recordingLocation = buildGeoPoint(); | 4967 o.videoStreams = buildUnnamed789(); |
| 4970 o.videoStreams = buildUnnamed765(); | |
| 4971 } | 4968 } |
| 4972 buildCounterVideoFileDetails--; | 4969 buildCounterVideoFileDetails--; |
| 4973 return o; | 4970 return o; |
| 4974 } | 4971 } |
| 4975 | 4972 |
| 4976 checkVideoFileDetails(api.VideoFileDetails o) { | 4973 checkVideoFileDetails(api.VideoFileDetails o) { |
| 4977 buildCounterVideoFileDetails++; | 4974 buildCounterVideoFileDetails++; |
| 4978 if (buildCounterVideoFileDetails < 3) { | 4975 if (buildCounterVideoFileDetails < 3) { |
| 4979 checkUnnamed764(o.audioStreams); | 4976 checkUnnamed788(o.audioStreams); |
| 4980 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 4977 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 4981 unittest.expect(o.container, unittest.equals('foo')); | 4978 unittest.expect(o.container, unittest.equals('foo')); |
| 4982 unittest.expect(o.creationTime, unittest.equals('foo')); | 4979 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 4983 unittest.expect(o.durationMs, unittest.equals('foo')); | 4980 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 4984 unittest.expect(o.fileName, unittest.equals('foo')); | 4981 unittest.expect(o.fileName, unittest.equals('foo')); |
| 4985 unittest.expect(o.fileSize, unittest.equals('foo')); | 4982 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 4986 unittest.expect(o.fileType, unittest.equals('foo')); | 4983 unittest.expect(o.fileType, unittest.equals('foo')); |
| 4987 checkGeoPoint(o.recordingLocation); | 4984 checkUnnamed789(o.videoStreams); |
| 4988 checkUnnamed765(o.videoStreams); | |
| 4989 } | 4985 } |
| 4990 buildCounterVideoFileDetails--; | 4986 buildCounterVideoFileDetails--; |
| 4991 } | 4987 } |
| 4992 | 4988 |
| 4993 core.int buildCounterVideoFileDetailsAudioStream = 0; | 4989 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 4994 buildVideoFileDetailsAudioStream() { | 4990 buildVideoFileDetailsAudioStream() { |
| 4995 var o = new api.VideoFileDetailsAudioStream(); | 4991 var o = new api.VideoFileDetailsAudioStream(); |
| 4996 buildCounterVideoFileDetailsAudioStream++; | 4992 buildCounterVideoFileDetailsAudioStream++; |
| 4997 if (buildCounterVideoFileDetailsAudioStream < 3) { | 4993 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 4998 o.bitrateBps = "foo"; | 4994 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5041 unittest.expect(o.codec, unittest.equals('foo')); | 5037 unittest.expect(o.codec, unittest.equals('foo')); |
| 5042 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 5038 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 5043 unittest.expect(o.heightPixels, unittest.equals(42)); | 5039 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 5044 unittest.expect(o.rotation, unittest.equals('foo')); | 5040 unittest.expect(o.rotation, unittest.equals('foo')); |
| 5045 unittest.expect(o.vendor, unittest.equals('foo')); | 5041 unittest.expect(o.vendor, unittest.equals('foo')); |
| 5046 unittest.expect(o.widthPixels, unittest.equals(42)); | 5042 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 5047 } | 5043 } |
| 5048 buildCounterVideoFileDetailsVideoStream--; | 5044 buildCounterVideoFileDetailsVideoStream--; |
| 5049 } | 5045 } |
| 5050 | 5046 |
| 5051 buildUnnamed766() { | 5047 buildUnnamed790() { |
| 5052 var o = new core.List<api.VideoRating>(); | 5048 var o = new core.List<api.VideoRating>(); |
| 5053 o.add(buildVideoRating()); | 5049 o.add(buildVideoRating()); |
| 5054 o.add(buildVideoRating()); | 5050 o.add(buildVideoRating()); |
| 5055 return o; | 5051 return o; |
| 5056 } | 5052 } |
| 5057 | 5053 |
| 5058 checkUnnamed766(core.List<api.VideoRating> o) { | 5054 checkUnnamed790(core.List<api.VideoRating> o) { |
| 5059 unittest.expect(o, unittest.hasLength(2)); | 5055 unittest.expect(o, unittest.hasLength(2)); |
| 5060 checkVideoRating(o[0]); | 5056 checkVideoRating(o[0]); |
| 5061 checkVideoRating(o[1]); | 5057 checkVideoRating(o[1]); |
| 5062 } | 5058 } |
| 5063 | 5059 |
| 5064 core.int buildCounterVideoGetRatingResponse = 0; | 5060 core.int buildCounterVideoGetRatingResponse = 0; |
| 5065 buildVideoGetRatingResponse() { | 5061 buildVideoGetRatingResponse() { |
| 5066 var o = new api.VideoGetRatingResponse(); | 5062 var o = new api.VideoGetRatingResponse(); |
| 5067 buildCounterVideoGetRatingResponse++; | 5063 buildCounterVideoGetRatingResponse++; |
| 5068 if (buildCounterVideoGetRatingResponse < 3) { | 5064 if (buildCounterVideoGetRatingResponse < 3) { |
| 5069 o.etag = "foo"; | 5065 o.etag = "foo"; |
| 5070 o.eventId = "foo"; | 5066 o.eventId = "foo"; |
| 5071 o.items = buildUnnamed766(); | 5067 o.items = buildUnnamed790(); |
| 5072 o.kind = "foo"; | 5068 o.kind = "foo"; |
| 5073 o.visitorId = "foo"; | 5069 o.visitorId = "foo"; |
| 5074 } | 5070 } |
| 5075 buildCounterVideoGetRatingResponse--; | 5071 buildCounterVideoGetRatingResponse--; |
| 5076 return o; | 5072 return o; |
| 5077 } | 5073 } |
| 5078 | 5074 |
| 5079 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 5075 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 5080 buildCounterVideoGetRatingResponse++; | 5076 buildCounterVideoGetRatingResponse++; |
| 5081 if (buildCounterVideoGetRatingResponse < 3) { | 5077 if (buildCounterVideoGetRatingResponse < 3) { |
| 5082 unittest.expect(o.etag, unittest.equals('foo')); | 5078 unittest.expect(o.etag, unittest.equals('foo')); |
| 5083 unittest.expect(o.eventId, unittest.equals('foo')); | 5079 unittest.expect(o.eventId, unittest.equals('foo')); |
| 5084 checkUnnamed766(o.items); | 5080 checkUnnamed790(o.items); |
| 5085 unittest.expect(o.kind, unittest.equals('foo')); | 5081 unittest.expect(o.kind, unittest.equals('foo')); |
| 5086 unittest.expect(o.visitorId, unittest.equals('foo')); | 5082 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 5087 } | 5083 } |
| 5088 buildCounterVideoGetRatingResponse--; | 5084 buildCounterVideoGetRatingResponse--; |
| 5089 } | 5085 } |
| 5090 | 5086 |
| 5091 buildUnnamed767() { | 5087 buildUnnamed791() { |
| 5092 var o = new core.List<api.Video>(); | 5088 var o = new core.List<api.Video>(); |
| 5093 o.add(buildVideo()); | 5089 o.add(buildVideo()); |
| 5094 o.add(buildVideo()); | 5090 o.add(buildVideo()); |
| 5095 return o; | 5091 return o; |
| 5096 } | 5092 } |
| 5097 | 5093 |
| 5098 checkUnnamed767(core.List<api.Video> o) { | 5094 checkUnnamed791(core.List<api.Video> o) { |
| 5099 unittest.expect(o, unittest.hasLength(2)); | 5095 unittest.expect(o, unittest.hasLength(2)); |
| 5100 checkVideo(o[0]); | 5096 checkVideo(o[0]); |
| 5101 checkVideo(o[1]); | 5097 checkVideo(o[1]); |
| 5102 } | 5098 } |
| 5103 | 5099 |
| 5104 core.int buildCounterVideoListResponse = 0; | 5100 core.int buildCounterVideoListResponse = 0; |
| 5105 buildVideoListResponse() { | 5101 buildVideoListResponse() { |
| 5106 var o = new api.VideoListResponse(); | 5102 var o = new api.VideoListResponse(); |
| 5107 buildCounterVideoListResponse++; | 5103 buildCounterVideoListResponse++; |
| 5108 if (buildCounterVideoListResponse < 3) { | 5104 if (buildCounterVideoListResponse < 3) { |
| 5109 o.etag = "foo"; | 5105 o.etag = "foo"; |
| 5110 o.eventId = "foo"; | 5106 o.eventId = "foo"; |
| 5111 o.items = buildUnnamed767(); | 5107 o.items = buildUnnamed791(); |
| 5112 o.kind = "foo"; | 5108 o.kind = "foo"; |
| 5113 o.nextPageToken = "foo"; | 5109 o.nextPageToken = "foo"; |
| 5114 o.pageInfo = buildPageInfo(); | 5110 o.pageInfo = buildPageInfo(); |
| 5115 o.prevPageToken = "foo"; | 5111 o.prevPageToken = "foo"; |
| 5116 o.tokenPagination = buildTokenPagination(); | 5112 o.tokenPagination = buildTokenPagination(); |
| 5117 o.visitorId = "foo"; | 5113 o.visitorId = "foo"; |
| 5118 } | 5114 } |
| 5119 buildCounterVideoListResponse--; | 5115 buildCounterVideoListResponse--; |
| 5120 return o; | 5116 return o; |
| 5121 } | 5117 } |
| 5122 | 5118 |
| 5123 checkVideoListResponse(api.VideoListResponse o) { | 5119 checkVideoListResponse(api.VideoListResponse o) { |
| 5124 buildCounterVideoListResponse++; | 5120 buildCounterVideoListResponse++; |
| 5125 if (buildCounterVideoListResponse < 3) { | 5121 if (buildCounterVideoListResponse < 3) { |
| 5126 unittest.expect(o.etag, unittest.equals('foo')); | 5122 unittest.expect(o.etag, unittest.equals('foo')); |
| 5127 unittest.expect(o.eventId, unittest.equals('foo')); | 5123 unittest.expect(o.eventId, unittest.equals('foo')); |
| 5128 checkUnnamed767(o.items); | 5124 checkUnnamed791(o.items); |
| 5129 unittest.expect(o.kind, unittest.equals('foo')); | 5125 unittest.expect(o.kind, unittest.equals('foo')); |
| 5130 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5126 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 5131 checkPageInfo(o.pageInfo); | 5127 checkPageInfo(o.pageInfo); |
| 5132 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 5128 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 5133 checkTokenPagination(o.tokenPagination); | 5129 checkTokenPagination(o.tokenPagination); |
| 5134 unittest.expect(o.visitorId, unittest.equals('foo')); | 5130 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 5135 } | 5131 } |
| 5136 buildCounterVideoListResponse--; | 5132 buildCounterVideoListResponse--; |
| 5137 } | 5133 } |
| 5138 | 5134 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5203 checkAccessPolicy(o.access); | 5199 checkAccessPolicy(o.access); |
| 5204 } | 5200 } |
| 5205 buildCounterVideoMonetizationDetails--; | 5201 buildCounterVideoMonetizationDetails--; |
| 5206 } | 5202 } |
| 5207 | 5203 |
| 5208 core.int buildCounterVideoPlayer = 0; | 5204 core.int buildCounterVideoPlayer = 0; |
| 5209 buildVideoPlayer() { | 5205 buildVideoPlayer() { |
| 5210 var o = new api.VideoPlayer(); | 5206 var o = new api.VideoPlayer(); |
| 5211 buildCounterVideoPlayer++; | 5207 buildCounterVideoPlayer++; |
| 5212 if (buildCounterVideoPlayer < 3) { | 5208 if (buildCounterVideoPlayer < 3) { |
| 5209 o.embedHeight = "foo"; |
| 5213 o.embedHtml = "foo"; | 5210 o.embedHtml = "foo"; |
| 5211 o.embedWidth = "foo"; |
| 5214 } | 5212 } |
| 5215 buildCounterVideoPlayer--; | 5213 buildCounterVideoPlayer--; |
| 5216 return o; | 5214 return o; |
| 5217 } | 5215 } |
| 5218 | 5216 |
| 5219 checkVideoPlayer(api.VideoPlayer o) { | 5217 checkVideoPlayer(api.VideoPlayer o) { |
| 5220 buildCounterVideoPlayer++; | 5218 buildCounterVideoPlayer++; |
| 5221 if (buildCounterVideoPlayer < 3) { | 5219 if (buildCounterVideoPlayer < 3) { |
| 5220 unittest.expect(o.embedHeight, unittest.equals('foo')); |
| 5222 unittest.expect(o.embedHtml, unittest.equals('foo')); | 5221 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 5222 unittest.expect(o.embedWidth, unittest.equals('foo')); |
| 5223 } | 5223 } |
| 5224 buildCounterVideoPlayer--; | 5224 buildCounterVideoPlayer--; |
| 5225 } | 5225 } |
| 5226 | 5226 |
| 5227 core.int buildCounterVideoProcessingDetails = 0; | 5227 core.int buildCounterVideoProcessingDetails = 0; |
| 5228 buildVideoProcessingDetails() { | 5228 buildVideoProcessingDetails() { |
| 5229 var o = new api.VideoProcessingDetails(); | 5229 var o = new api.VideoProcessingDetails(); |
| 5230 buildCounterVideoProcessingDetails++; | 5230 buildCounterVideoProcessingDetails++; |
| 5231 if (buildCounterVideoProcessingDetails < 3) { | 5231 if (buildCounterVideoProcessingDetails < 3) { |
| 5232 o.editorSuggestionsAvailability = "foo"; | 5232 o.editorSuggestionsAvailability = "foo"; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5273 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 5273 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 5274 buildCounterVideoProcessingDetailsProcessingProgress++; | 5274 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 5275 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 5275 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 5276 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 5276 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 5277 unittest.expect(o.partsTotal, unittest.equals('foo')); | 5277 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 5278 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 5278 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 5279 } | 5279 } |
| 5280 buildCounterVideoProcessingDetailsProcessingProgress--; | 5280 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 5281 } | 5281 } |
| 5282 | 5282 |
| 5283 buildUnnamed768() { | 5283 buildUnnamed792() { |
| 5284 var o = new core.List<core.String>(); | 5284 var o = new core.List<core.String>(); |
| 5285 o.add("foo"); | 5285 o.add("foo"); |
| 5286 o.add("foo"); | 5286 o.add("foo"); |
| 5287 return o; | 5287 return o; |
| 5288 } | 5288 } |
| 5289 | 5289 |
| 5290 checkUnnamed768(core.List<core.String> o) { | 5290 checkUnnamed792(core.List<core.String> o) { |
| 5291 unittest.expect(o, unittest.hasLength(2)); | 5291 unittest.expect(o, unittest.hasLength(2)); |
| 5292 unittest.expect(o[0], unittest.equals('foo')); | 5292 unittest.expect(o[0], unittest.equals('foo')); |
| 5293 unittest.expect(o[1], unittest.equals('foo')); | 5293 unittest.expect(o[1], unittest.equals('foo')); |
| 5294 } | 5294 } |
| 5295 | 5295 |
| 5296 core.int buildCounterVideoProjectDetails = 0; | 5296 core.int buildCounterVideoProjectDetails = 0; |
| 5297 buildVideoProjectDetails() { | 5297 buildVideoProjectDetails() { |
| 5298 var o = new api.VideoProjectDetails(); | 5298 var o = new api.VideoProjectDetails(); |
| 5299 buildCounterVideoProjectDetails++; | 5299 buildCounterVideoProjectDetails++; |
| 5300 if (buildCounterVideoProjectDetails < 3) { | 5300 if (buildCounterVideoProjectDetails < 3) { |
| 5301 o.tags = buildUnnamed768(); | 5301 o.tags = buildUnnamed792(); |
| 5302 } | 5302 } |
| 5303 buildCounterVideoProjectDetails--; | 5303 buildCounterVideoProjectDetails--; |
| 5304 return o; | 5304 return o; |
| 5305 } | 5305 } |
| 5306 | 5306 |
| 5307 checkVideoProjectDetails(api.VideoProjectDetails o) { | 5307 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 5308 buildCounterVideoProjectDetails++; | 5308 buildCounterVideoProjectDetails++; |
| 5309 if (buildCounterVideoProjectDetails < 3) { | 5309 if (buildCounterVideoProjectDetails < 3) { |
| 5310 checkUnnamed768(o.tags); | 5310 checkUnnamed792(o.tags); |
| 5311 } | 5311 } |
| 5312 buildCounterVideoProjectDetails--; | 5312 buildCounterVideoProjectDetails--; |
| 5313 } | 5313 } |
| 5314 | 5314 |
| 5315 core.int buildCounterVideoRating = 0; | 5315 core.int buildCounterVideoRating = 0; |
| 5316 buildVideoRating() { | 5316 buildVideoRating() { |
| 5317 var o = new api.VideoRating(); | 5317 var o = new api.VideoRating(); |
| 5318 buildCounterVideoRating++; | 5318 buildCounterVideoRating++; |
| 5319 if (buildCounterVideoRating < 3) { | 5319 if (buildCounterVideoRating < 3) { |
| 5320 o.rating = "foo"; | 5320 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 5349 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 5349 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 5350 buildCounterVideoRecordingDetails++; | 5350 buildCounterVideoRecordingDetails++; |
| 5351 if (buildCounterVideoRecordingDetails < 3) { | 5351 if (buildCounterVideoRecordingDetails < 3) { |
| 5352 checkGeoPoint(o.location); | 5352 checkGeoPoint(o.location); |
| 5353 unittest.expect(o.locationDescription, unittest.equals('foo')); | 5353 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 5354 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 5354 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 5355 } | 5355 } |
| 5356 buildCounterVideoRecordingDetails--; | 5356 buildCounterVideoRecordingDetails--; |
| 5357 } | 5357 } |
| 5358 | 5358 |
| 5359 buildUnnamed769() { | 5359 buildUnnamed793() { |
| 5360 var o = new core.List<core.String>(); | 5360 var o = new core.List<core.String>(); |
| 5361 o.add("foo"); | 5361 o.add("foo"); |
| 5362 o.add("foo"); | 5362 o.add("foo"); |
| 5363 return o; | 5363 return o; |
| 5364 } | 5364 } |
| 5365 | 5365 |
| 5366 checkUnnamed769(core.List<core.String> o) { | 5366 checkUnnamed793(core.List<core.String> o) { |
| 5367 unittest.expect(o, unittest.hasLength(2)); | 5367 unittest.expect(o, unittest.hasLength(2)); |
| 5368 unittest.expect(o[0], unittest.equals('foo')); | 5368 unittest.expect(o[0], unittest.equals('foo')); |
| 5369 unittest.expect(o[1], unittest.equals('foo')); | 5369 unittest.expect(o[1], unittest.equals('foo')); |
| 5370 } | 5370 } |
| 5371 | 5371 |
| 5372 core.int buildCounterVideoSnippet = 0; | 5372 core.int buildCounterVideoSnippet = 0; |
| 5373 buildVideoSnippet() { | 5373 buildVideoSnippet() { |
| 5374 var o = new api.VideoSnippet(); | 5374 var o = new api.VideoSnippet(); |
| 5375 buildCounterVideoSnippet++; | 5375 buildCounterVideoSnippet++; |
| 5376 if (buildCounterVideoSnippet < 3) { | 5376 if (buildCounterVideoSnippet < 3) { |
| 5377 o.categoryId = "foo"; | 5377 o.categoryId = "foo"; |
| 5378 o.channelId = "foo"; | 5378 o.channelId = "foo"; |
| 5379 o.channelTitle = "foo"; | 5379 o.channelTitle = "foo"; |
| 5380 o.defaultAudioLanguage = "foo"; | 5380 o.defaultAudioLanguage = "foo"; |
| 5381 o.defaultLanguage = "foo"; | 5381 o.defaultLanguage = "foo"; |
| 5382 o.description = "foo"; | 5382 o.description = "foo"; |
| 5383 o.liveBroadcastContent = "foo"; | 5383 o.liveBroadcastContent = "foo"; |
| 5384 o.localized = buildVideoLocalization(); | 5384 o.localized = buildVideoLocalization(); |
| 5385 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 5385 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 5386 o.tags = buildUnnamed769(); | 5386 o.tags = buildUnnamed793(); |
| 5387 o.thumbnails = buildThumbnailDetails(); | 5387 o.thumbnails = buildThumbnailDetails(); |
| 5388 o.title = "foo"; | 5388 o.title = "foo"; |
| 5389 } | 5389 } |
| 5390 buildCounterVideoSnippet--; | 5390 buildCounterVideoSnippet--; |
| 5391 return o; | 5391 return o; |
| 5392 } | 5392 } |
| 5393 | 5393 |
| 5394 checkVideoSnippet(api.VideoSnippet o) { | 5394 checkVideoSnippet(api.VideoSnippet o) { |
| 5395 buildCounterVideoSnippet++; | 5395 buildCounterVideoSnippet++; |
| 5396 if (buildCounterVideoSnippet < 3) { | 5396 if (buildCounterVideoSnippet < 3) { |
| 5397 unittest.expect(o.categoryId, unittest.equals('foo')); | 5397 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 5398 unittest.expect(o.channelId, unittest.equals('foo')); | 5398 unittest.expect(o.channelId, unittest.equals('foo')); |
| 5399 unittest.expect(o.channelTitle, unittest.equals('foo')); | 5399 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 5400 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 5400 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
| 5401 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 5401 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 5402 unittest.expect(o.description, unittest.equals('foo')); | 5402 unittest.expect(o.description, unittest.equals('foo')); |
| 5403 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 5403 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 5404 checkVideoLocalization(o.localized); | 5404 checkVideoLocalization(o.localized); |
| 5405 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 5405 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 5406 checkUnnamed769(o.tags); | 5406 checkUnnamed793(o.tags); |
| 5407 checkThumbnailDetails(o.thumbnails); | 5407 checkThumbnailDetails(o.thumbnails); |
| 5408 unittest.expect(o.title, unittest.equals('foo')); | 5408 unittest.expect(o.title, unittest.equals('foo')); |
| 5409 } | 5409 } |
| 5410 buildCounterVideoSnippet--; | 5410 buildCounterVideoSnippet--; |
| 5411 } | 5411 } |
| 5412 | 5412 |
| 5413 core.int buildCounterVideoStatistics = 0; | 5413 core.int buildCounterVideoStatistics = 0; |
| 5414 buildVideoStatistics() { | 5414 buildVideoStatistics() { |
| 5415 var o = new api.VideoStatistics(); | 5415 var o = new api.VideoStatistics(); |
| 5416 buildCounterVideoStatistics++; | 5416 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5463 unittest.expect(o.license, unittest.equals('foo')); | 5463 unittest.expect(o.license, unittest.equals('foo')); |
| 5464 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 5464 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 5465 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 5465 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 5466 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 5466 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 5467 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 5467 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 5468 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 5468 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 5469 } | 5469 } |
| 5470 buildCounterVideoStatus--; | 5470 buildCounterVideoStatus--; |
| 5471 } | 5471 } |
| 5472 | 5472 |
| 5473 buildUnnamed770() { | 5473 buildUnnamed794() { |
| 5474 var o = new core.List<core.String>(); | 5474 var o = new core.List<core.String>(); |
| 5475 o.add("foo"); | 5475 o.add("foo"); |
| 5476 o.add("foo"); | 5476 o.add("foo"); |
| 5477 return o; | 5477 return o; |
| 5478 } | 5478 } |
| 5479 | 5479 |
| 5480 checkUnnamed770(core.List<core.String> o) { | 5480 checkUnnamed794(core.List<core.String> o) { |
| 5481 unittest.expect(o, unittest.hasLength(2)); | 5481 unittest.expect(o, unittest.hasLength(2)); |
| 5482 unittest.expect(o[0], unittest.equals('foo')); | 5482 unittest.expect(o[0], unittest.equals('foo')); |
| 5483 unittest.expect(o[1], unittest.equals('foo')); | 5483 unittest.expect(o[1], unittest.equals('foo')); |
| 5484 } | 5484 } |
| 5485 | 5485 |
| 5486 buildUnnamed771() { | 5486 buildUnnamed795() { |
| 5487 var o = new core.List<core.String>(); | 5487 var o = new core.List<core.String>(); |
| 5488 o.add("foo"); | 5488 o.add("foo"); |
| 5489 o.add("foo"); | 5489 o.add("foo"); |
| 5490 return o; | 5490 return o; |
| 5491 } | 5491 } |
| 5492 | 5492 |
| 5493 checkUnnamed771(core.List<core.String> o) { | 5493 checkUnnamed795(core.List<core.String> o) { |
| 5494 unittest.expect(o, unittest.hasLength(2)); | 5494 unittest.expect(o, unittest.hasLength(2)); |
| 5495 unittest.expect(o[0], unittest.equals('foo')); | 5495 unittest.expect(o[0], unittest.equals('foo')); |
| 5496 unittest.expect(o[1], unittest.equals('foo')); | 5496 unittest.expect(o[1], unittest.equals('foo')); |
| 5497 } | 5497 } |
| 5498 | 5498 |
| 5499 buildUnnamed772() { | 5499 buildUnnamed796() { |
| 5500 var o = new core.List<core.String>(); | 5500 var o = new core.List<core.String>(); |
| 5501 o.add("foo"); | 5501 o.add("foo"); |
| 5502 o.add("foo"); | 5502 o.add("foo"); |
| 5503 return o; | 5503 return o; |
| 5504 } | 5504 } |
| 5505 | 5505 |
| 5506 checkUnnamed772(core.List<core.String> o) { | 5506 checkUnnamed796(core.List<core.String> o) { |
| 5507 unittest.expect(o, unittest.hasLength(2)); | 5507 unittest.expect(o, unittest.hasLength(2)); |
| 5508 unittest.expect(o[0], unittest.equals('foo')); | 5508 unittest.expect(o[0], unittest.equals('foo')); |
| 5509 unittest.expect(o[1], unittest.equals('foo')); | 5509 unittest.expect(o[1], unittest.equals('foo')); |
| 5510 } | 5510 } |
| 5511 | 5511 |
| 5512 buildUnnamed773() { | 5512 buildUnnamed797() { |
| 5513 var o = new core.List<core.String>(); | 5513 var o = new core.List<core.String>(); |
| 5514 o.add("foo"); | 5514 o.add("foo"); |
| 5515 o.add("foo"); | 5515 o.add("foo"); |
| 5516 return o; | 5516 return o; |
| 5517 } | 5517 } |
| 5518 | 5518 |
| 5519 checkUnnamed773(core.List<core.String> o) { | 5519 checkUnnamed797(core.List<core.String> o) { |
| 5520 unittest.expect(o, unittest.hasLength(2)); | 5520 unittest.expect(o, unittest.hasLength(2)); |
| 5521 unittest.expect(o[0], unittest.equals('foo')); | 5521 unittest.expect(o[0], unittest.equals('foo')); |
| 5522 unittest.expect(o[1], unittest.equals('foo')); | 5522 unittest.expect(o[1], unittest.equals('foo')); |
| 5523 } | 5523 } |
| 5524 | 5524 |
| 5525 buildUnnamed774() { | 5525 buildUnnamed798() { |
| 5526 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 5526 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 5527 o.add(buildVideoSuggestionsTagSuggestion()); | 5527 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5528 o.add(buildVideoSuggestionsTagSuggestion()); | 5528 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5529 return o; | 5529 return o; |
| 5530 } | 5530 } |
| 5531 | 5531 |
| 5532 checkUnnamed774(core.List<api.VideoSuggestionsTagSuggestion> o) { | 5532 checkUnnamed798(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 5533 unittest.expect(o, unittest.hasLength(2)); | 5533 unittest.expect(o, unittest.hasLength(2)); |
| 5534 checkVideoSuggestionsTagSuggestion(o[0]); | 5534 checkVideoSuggestionsTagSuggestion(o[0]); |
| 5535 checkVideoSuggestionsTagSuggestion(o[1]); | 5535 checkVideoSuggestionsTagSuggestion(o[1]); |
| 5536 } | 5536 } |
| 5537 | 5537 |
| 5538 core.int buildCounterVideoSuggestions = 0; | 5538 core.int buildCounterVideoSuggestions = 0; |
| 5539 buildVideoSuggestions() { | 5539 buildVideoSuggestions() { |
| 5540 var o = new api.VideoSuggestions(); | 5540 var o = new api.VideoSuggestions(); |
| 5541 buildCounterVideoSuggestions++; | 5541 buildCounterVideoSuggestions++; |
| 5542 if (buildCounterVideoSuggestions < 3) { | 5542 if (buildCounterVideoSuggestions < 3) { |
| 5543 o.editorSuggestions = buildUnnamed770(); | 5543 o.editorSuggestions = buildUnnamed794(); |
| 5544 o.processingErrors = buildUnnamed771(); | 5544 o.processingErrors = buildUnnamed795(); |
| 5545 o.processingHints = buildUnnamed772(); | 5545 o.processingHints = buildUnnamed796(); |
| 5546 o.processingWarnings = buildUnnamed773(); | 5546 o.processingWarnings = buildUnnamed797(); |
| 5547 o.tagSuggestions = buildUnnamed774(); | 5547 o.tagSuggestions = buildUnnamed798(); |
| 5548 } | 5548 } |
| 5549 buildCounterVideoSuggestions--; | 5549 buildCounterVideoSuggestions--; |
| 5550 return o; | 5550 return o; |
| 5551 } | 5551 } |
| 5552 | 5552 |
| 5553 checkVideoSuggestions(api.VideoSuggestions o) { | 5553 checkVideoSuggestions(api.VideoSuggestions o) { |
| 5554 buildCounterVideoSuggestions++; | 5554 buildCounterVideoSuggestions++; |
| 5555 if (buildCounterVideoSuggestions < 3) { | 5555 if (buildCounterVideoSuggestions < 3) { |
| 5556 checkUnnamed770(o.editorSuggestions); | 5556 checkUnnamed794(o.editorSuggestions); |
| 5557 checkUnnamed771(o.processingErrors); | 5557 checkUnnamed795(o.processingErrors); |
| 5558 checkUnnamed772(o.processingHints); | 5558 checkUnnamed796(o.processingHints); |
| 5559 checkUnnamed773(o.processingWarnings); | 5559 checkUnnamed797(o.processingWarnings); |
| 5560 checkUnnamed774(o.tagSuggestions); | 5560 checkUnnamed798(o.tagSuggestions); |
| 5561 } | 5561 } |
| 5562 buildCounterVideoSuggestions--; | 5562 buildCounterVideoSuggestions--; |
| 5563 } | 5563 } |
| 5564 | 5564 |
| 5565 buildUnnamed775() { | 5565 buildUnnamed799() { |
| 5566 var o = new core.List<core.String>(); | 5566 var o = new core.List<core.String>(); |
| 5567 o.add("foo"); | 5567 o.add("foo"); |
| 5568 o.add("foo"); | 5568 o.add("foo"); |
| 5569 return o; | 5569 return o; |
| 5570 } | 5570 } |
| 5571 | 5571 |
| 5572 checkUnnamed775(core.List<core.String> o) { | 5572 checkUnnamed799(core.List<core.String> o) { |
| 5573 unittest.expect(o, unittest.hasLength(2)); | 5573 unittest.expect(o, unittest.hasLength(2)); |
| 5574 unittest.expect(o[0], unittest.equals('foo')); | 5574 unittest.expect(o[0], unittest.equals('foo')); |
| 5575 unittest.expect(o[1], unittest.equals('foo')); | 5575 unittest.expect(o[1], unittest.equals('foo')); |
| 5576 } | 5576 } |
| 5577 | 5577 |
| 5578 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 5578 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 5579 buildVideoSuggestionsTagSuggestion() { | 5579 buildVideoSuggestionsTagSuggestion() { |
| 5580 var o = new api.VideoSuggestionsTagSuggestion(); | 5580 var o = new api.VideoSuggestionsTagSuggestion(); |
| 5581 buildCounterVideoSuggestionsTagSuggestion++; | 5581 buildCounterVideoSuggestionsTagSuggestion++; |
| 5582 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5582 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5583 o.categoryRestricts = buildUnnamed775(); | 5583 o.categoryRestricts = buildUnnamed799(); |
| 5584 o.tag = "foo"; | 5584 o.tag = "foo"; |
| 5585 } | 5585 } |
| 5586 buildCounterVideoSuggestionsTagSuggestion--; | 5586 buildCounterVideoSuggestionsTagSuggestion--; |
| 5587 return o; | 5587 return o; |
| 5588 } | 5588 } |
| 5589 | 5589 |
| 5590 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 5590 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 5591 buildCounterVideoSuggestionsTagSuggestion++; | 5591 buildCounterVideoSuggestionsTagSuggestion++; |
| 5592 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5592 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5593 checkUnnamed775(o.categoryRestricts); | 5593 checkUnnamed799(o.categoryRestricts); |
| 5594 unittest.expect(o.tag, unittest.equals('foo')); | 5594 unittest.expect(o.tag, unittest.equals('foo')); |
| 5595 } | 5595 } |
| 5596 buildCounterVideoSuggestionsTagSuggestion--; | 5596 buildCounterVideoSuggestionsTagSuggestion--; |
| 5597 } | 5597 } |
| 5598 | 5598 |
| 5599 buildUnnamed776() { | 5599 buildUnnamed800() { |
| 5600 var o = new core.List<core.String>(); | 5600 var o = new core.List<core.String>(); |
| 5601 o.add("foo"); | 5601 o.add("foo"); |
| 5602 o.add("foo"); | 5602 o.add("foo"); |
| 5603 return o; | 5603 return o; |
| 5604 } | 5604 } |
| 5605 | 5605 |
| 5606 checkUnnamed776(core.List<core.String> o) { | 5606 checkUnnamed800(core.List<core.String> o) { |
| 5607 unittest.expect(o, unittest.hasLength(2)); | 5607 unittest.expect(o, unittest.hasLength(2)); |
| 5608 unittest.expect(o[0], unittest.equals('foo')); | 5608 unittest.expect(o[0], unittest.equals('foo')); |
| 5609 unittest.expect(o[1], unittest.equals('foo')); | 5609 unittest.expect(o[1], unittest.equals('foo')); |
| 5610 } | 5610 } |
| 5611 | 5611 |
| 5612 buildUnnamed777() { | 5612 buildUnnamed801() { |
| 5613 var o = new core.List<core.String>(); | 5613 var o = new core.List<core.String>(); |
| 5614 o.add("foo"); | 5614 o.add("foo"); |
| 5615 o.add("foo"); | 5615 o.add("foo"); |
| 5616 return o; | 5616 return o; |
| 5617 } | 5617 } |
| 5618 | 5618 |
| 5619 checkUnnamed777(core.List<core.String> o) { | 5619 checkUnnamed801(core.List<core.String> o) { |
| 5620 unittest.expect(o, unittest.hasLength(2)); | 5620 unittest.expect(o, unittest.hasLength(2)); |
| 5621 unittest.expect(o[0], unittest.equals('foo')); | 5621 unittest.expect(o[0], unittest.equals('foo')); |
| 5622 unittest.expect(o[1], unittest.equals('foo')); | 5622 unittest.expect(o[1], unittest.equals('foo')); |
| 5623 } | 5623 } |
| 5624 | 5624 |
| 5625 core.int buildCounterVideoTopicDetails = 0; | 5625 core.int buildCounterVideoTopicDetails = 0; |
| 5626 buildVideoTopicDetails() { | 5626 buildVideoTopicDetails() { |
| 5627 var o = new api.VideoTopicDetails(); | 5627 var o = new api.VideoTopicDetails(); |
| 5628 buildCounterVideoTopicDetails++; | 5628 buildCounterVideoTopicDetails++; |
| 5629 if (buildCounterVideoTopicDetails < 3) { | 5629 if (buildCounterVideoTopicDetails < 3) { |
| 5630 o.relevantTopicIds = buildUnnamed776(); | 5630 o.relevantTopicIds = buildUnnamed800(); |
| 5631 o.topicIds = buildUnnamed777(); | 5631 o.topicIds = buildUnnamed801(); |
| 5632 } | 5632 } |
| 5633 buildCounterVideoTopicDetails--; | 5633 buildCounterVideoTopicDetails--; |
| 5634 return o; | 5634 return o; |
| 5635 } | 5635 } |
| 5636 | 5636 |
| 5637 checkVideoTopicDetails(api.VideoTopicDetails o) { | 5637 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 5638 buildCounterVideoTopicDetails++; | 5638 buildCounterVideoTopicDetails++; |
| 5639 if (buildCounterVideoTopicDetails < 3) { | 5639 if (buildCounterVideoTopicDetails < 3) { |
| 5640 checkUnnamed776(o.relevantTopicIds); | 5640 checkUnnamed800(o.relevantTopicIds); |
| 5641 checkUnnamed777(o.topicIds); | 5641 checkUnnamed801(o.topicIds); |
| 5642 } | 5642 } |
| 5643 buildCounterVideoTopicDetails--; | 5643 buildCounterVideoTopicDetails--; |
| 5644 } | 5644 } |
| 5645 | 5645 |
| 5646 core.int buildCounterWatchSettings = 0; | 5646 core.int buildCounterWatchSettings = 0; |
| 5647 buildWatchSettings() { | 5647 buildWatchSettings() { |
| 5648 var o = new api.WatchSettings(); | 5648 var o = new api.WatchSettings(); |
| 5649 buildCounterWatchSettings++; | 5649 buildCounterWatchSettings++; |
| 5650 if (buildCounterWatchSettings < 3) { | 5650 if (buildCounterWatchSettings < 3) { |
| 5651 o.backgroundColor = "foo"; | 5651 o.backgroundColor = "foo"; |
| (...skipping 4101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9753 | 9753 |
| 9754 }); | 9754 }); |
| 9755 | 9755 |
| 9756 | 9756 |
| 9757 unittest.group("resource-PlaylistItemsResourceApi", () { | 9757 unittest.group("resource-PlaylistItemsResourceApi", () { |
| 9758 unittest.test("method--delete", () { | 9758 unittest.test("method--delete", () { |
| 9759 | 9759 |
| 9760 var mock = new HttpServerMock(); | 9760 var mock = new HttpServerMock(); |
| 9761 api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems; | 9761 api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems; |
| 9762 var arg_id = "foo"; | 9762 var arg_id = "foo"; |
| 9763 var arg_onBehalfOfContentOwner = "foo"; |
| 9763 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9764 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 9764 var path = (req.url).path; | 9765 var path = (req.url).path; |
| 9765 var pathOffset = 0; | 9766 var pathOffset = 0; |
| 9766 var index; | 9767 var index; |
| 9767 var subPart; | 9768 var subPart; |
| 9768 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 9769 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 9769 pathOffset += 1; | 9770 pathOffset += 1; |
| 9770 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); | 9771 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); |
| 9771 pathOffset += 11; | 9772 pathOffset += 11; |
| 9772 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("playlistItems")); | 9773 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("playlistItems")); |
| 9773 pathOffset += 13; | 9774 pathOffset += 13; |
| 9774 | 9775 |
| 9775 var query = (req.url).query; | 9776 var query = (req.url).query; |
| 9776 var queryOffset = 0; | 9777 var queryOffset = 0; |
| 9777 var queryMap = {}; | 9778 var queryMap = {}; |
| 9778 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 9779 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 9779 parseBool(n) { | 9780 parseBool(n) { |
| 9780 if (n == "true") return true; | 9781 if (n == "true") return true; |
| 9781 if (n == "false") return false; | 9782 if (n == "false") return false; |
| 9782 if (n == null) return null; | 9783 if (n == null) return null; |
| 9783 throw new core.ArgumentError("Invalid boolean: $n"); | 9784 throw new core.ArgumentError("Invalid boolean: $n"); |
| 9784 } | 9785 } |
| 9785 if (query.length > 0) { | 9786 if (query.length > 0) { |
| 9786 for (var part in query.split("&")) { | 9787 for (var part in query.split("&")) { |
| 9787 var keyvalue = part.split("="); | 9788 var keyvalue = part.split("="); |
| 9788 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 9789 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 9789 } | 9790 } |
| 9790 } | 9791 } |
| 9791 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 9792 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
| 9793 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
| 9792 | 9794 |
| 9793 | 9795 |
| 9794 var h = { | 9796 var h = { |
| 9795 "content-type" : "application/json; charset=utf-8", | 9797 "content-type" : "application/json; charset=utf-8", |
| 9796 }; | 9798 }; |
| 9797 var resp = ""; | 9799 var resp = ""; |
| 9798 return new async.Future.value(stringResponse(200, h, resp)); | 9800 return new async.Future.value(stringResponse(200, h, resp)); |
| 9799 }), true); | 9801 }), true); |
| 9800 res.delete(arg_id).then(unittest.expectAsync((_) {})); | 9802 res.delete(arg_id, onBehalfOfContentOwner: arg_onBehalfOfContentOwner).the
n(unittest.expectAsync((_) {})); |
| 9801 }); | 9803 }); |
| 9802 | 9804 |
| 9803 unittest.test("method--insert", () { | 9805 unittest.test("method--insert", () { |
| 9804 | 9806 |
| 9805 var mock = new HttpServerMock(); | 9807 var mock = new HttpServerMock(); |
| 9806 api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems; | 9808 api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems; |
| 9807 var arg_request = buildPlaylistItem(); | 9809 var arg_request = buildPlaylistItem(); |
| 9808 var arg_part = "foo"; | 9810 var arg_part = "foo"; |
| 9809 var arg_onBehalfOfContentOwner = "foo"; | 9811 var arg_onBehalfOfContentOwner = "foo"; |
| 9810 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9812 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9911 checkPlaylistItemListResponse(response); | 9913 checkPlaylistItemListResponse(response); |
| 9912 }))); | 9914 }))); |
| 9913 }); | 9915 }); |
| 9914 | 9916 |
| 9915 unittest.test("method--update", () { | 9917 unittest.test("method--update", () { |
| 9916 | 9918 |
| 9917 var mock = new HttpServerMock(); | 9919 var mock = new HttpServerMock(); |
| 9918 api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems; | 9920 api.PlaylistItemsResourceApi res = new api.YoutubeApi(mock).playlistItems; |
| 9919 var arg_request = buildPlaylistItem(); | 9921 var arg_request = buildPlaylistItem(); |
| 9920 var arg_part = "foo"; | 9922 var arg_part = "foo"; |
| 9923 var arg_onBehalfOfContentOwner = "foo"; |
| 9921 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 9924 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 9922 var obj = new api.PlaylistItem.fromJson(json); | 9925 var obj = new api.PlaylistItem.fromJson(json); |
| 9923 checkPlaylistItem(obj); | 9926 checkPlaylistItem(obj); |
| 9924 | 9927 |
| 9925 var path = (req.url).path; | 9928 var path = (req.url).path; |
| 9926 var pathOffset = 0; | 9929 var pathOffset = 0; |
| 9927 var index; | 9930 var index; |
| 9928 var subPart; | 9931 var subPart; |
| 9929 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 9932 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 9930 pathOffset += 1; | 9933 pathOffset += 1; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 9943 if (n == null) return null; | 9946 if (n == null) return null; |
| 9944 throw new core.ArgumentError("Invalid boolean: $n"); | 9947 throw new core.ArgumentError("Invalid boolean: $n"); |
| 9945 } | 9948 } |
| 9946 if (query.length > 0) { | 9949 if (query.length > 0) { |
| 9947 for (var part in query.split("&")) { | 9950 for (var part in query.split("&")) { |
| 9948 var keyvalue = part.split("="); | 9951 var keyvalue = part.split("="); |
| 9949 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 9952 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 9950 } | 9953 } |
| 9951 } | 9954 } |
| 9952 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 9955 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
| 9956 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
| 9953 | 9957 |
| 9954 | 9958 |
| 9955 var h = { | 9959 var h = { |
| 9956 "content-type" : "application/json; charset=utf-8", | 9960 "content-type" : "application/json; charset=utf-8", |
| 9957 }; | 9961 }; |
| 9958 var resp = convert.JSON.encode(buildPlaylistItem()); | 9962 var resp = convert.JSON.encode(buildPlaylistItem()); |
| 9959 return new async.Future.value(stringResponse(200, h, resp)); | 9963 return new async.Future.value(stringResponse(200, h, resp)); |
| 9960 }), true); | 9964 }), true); |
| 9961 res.update(arg_request, arg_part).then(unittest.expectAsync(((api.Playlist
Item response) { | 9965 res.update(arg_request, arg_part, onBehalfOfContentOwner: arg_onBehalfOfCo
ntentOwner).then(unittest.expectAsync(((api.PlaylistItem response) { |
| 9962 checkPlaylistItem(response); | 9966 checkPlaylistItem(response); |
| 9963 }))); | 9967 }))); |
| 9964 }); | 9968 }); |
| 9965 | 9969 |
| 9966 }); | 9970 }); |
| 9967 | 9971 |
| 9968 | 9972 |
| 9969 unittest.group("resource-PlaylistsResourceApi", () { | 9973 unittest.group("resource-PlaylistsResourceApi", () { |
| 9970 unittest.test("method--delete", () { | 9974 unittest.test("method--delete", () { |
| 9971 | 9975 |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10852 | 10856 |
| 10853 unittest.test("method--list", () { | 10857 unittest.test("method--list", () { |
| 10854 | 10858 |
| 10855 var mock = new HttpServerMock(); | 10859 var mock = new HttpServerMock(); |
| 10856 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; | 10860 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; |
| 10857 var arg_part = "foo"; | 10861 var arg_part = "foo"; |
| 10858 var arg_chart = "foo"; | 10862 var arg_chart = "foo"; |
| 10859 var arg_hl = "foo"; | 10863 var arg_hl = "foo"; |
| 10860 var arg_id = "foo"; | 10864 var arg_id = "foo"; |
| 10861 var arg_locale = "foo"; | 10865 var arg_locale = "foo"; |
| 10866 var arg_maxHeight = 42; |
| 10862 var arg_maxResults = 42; | 10867 var arg_maxResults = 42; |
| 10868 var arg_maxWidth = 42; |
| 10863 var arg_myRating = "foo"; | 10869 var arg_myRating = "foo"; |
| 10864 var arg_onBehalfOfContentOwner = "foo"; | 10870 var arg_onBehalfOfContentOwner = "foo"; |
| 10865 var arg_pageToken = "foo"; | 10871 var arg_pageToken = "foo"; |
| 10866 var arg_regionCode = "foo"; | 10872 var arg_regionCode = "foo"; |
| 10867 var arg_videoCategoryId = "foo"; | 10873 var arg_videoCategoryId = "foo"; |
| 10868 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 10874 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10869 var path = (req.url).path; | 10875 var path = (req.url).path; |
| 10870 var pathOffset = 0; | 10876 var pathOffset = 0; |
| 10871 var index; | 10877 var index; |
| 10872 var subPart; | 10878 var subPart; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 10891 for (var part in query.split("&")) { | 10897 for (var part in query.split("&")) { |
| 10892 var keyvalue = part.split("="); | 10898 var keyvalue = part.split("="); |
| 10893 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 10899 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 10894 } | 10900 } |
| 10895 } | 10901 } |
| 10896 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 10902 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
| 10897 unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart)); | 10903 unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart)); |
| 10898 unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); | 10904 unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); |
| 10899 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 10905 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
| 10900 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); | 10906 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); |
| 10907 unittest.expect(core.int.parse(queryMap["maxHeight"].first), unittest.eq
uals(arg_maxHeight)); |
| 10901 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 10908 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 10909 unittest.expect(core.int.parse(queryMap["maxWidth"].first), unittest.equ
als(arg_maxWidth)); |
| 10902 unittest.expect(queryMap["myRating"].first, unittest.equals(arg_myRating
)); | 10910 unittest.expect(queryMap["myRating"].first, unittest.equals(arg_myRating
)); |
| 10903 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 10911 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
| 10904 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 10912 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 10905 unittest.expect(queryMap["regionCode"].first, unittest.equals(arg_region
Code)); | 10913 unittest.expect(queryMap["regionCode"].first, unittest.equals(arg_region
Code)); |
| 10906 unittest.expect(queryMap["videoCategoryId"].first, unittest.equals(arg_v
ideoCategoryId)); | 10914 unittest.expect(queryMap["videoCategoryId"].first, unittest.equals(arg_v
ideoCategoryId)); |
| 10907 | 10915 |
| 10908 | 10916 |
| 10909 var h = { | 10917 var h = { |
| 10910 "content-type" : "application/json; charset=utf-8", | 10918 "content-type" : "application/json; charset=utf-8", |
| 10911 }; | 10919 }; |
| 10912 var resp = convert.JSON.encode(buildVideoListResponse()); | 10920 var resp = convert.JSON.encode(buildVideoListResponse()); |
| 10913 return new async.Future.value(stringResponse(200, h, resp)); | 10921 return new async.Future.value(stringResponse(200, h, resp)); |
| 10914 }), true); | 10922 }), true); |
| 10915 res.list(arg_part, chart: arg_chart, hl: arg_hl, id: arg_id, locale: arg_l
ocale, maxResults: arg_maxResults, myRating: arg_myRating, onBehalfOfContentOwne
r: arg_onBehalfOfContentOwner, pageToken: arg_pageToken, regionCode: arg_regionC
ode, videoCategoryId: arg_videoCategoryId).then(unittest.expectAsync(((api.Video
ListResponse response) { | 10923 res.list(arg_part, chart: arg_chart, hl: arg_hl, id: arg_id, locale: arg_l
ocale, maxHeight: arg_maxHeight, maxResults: arg_maxResults, maxWidth: arg_maxWi
dth, myRating: arg_myRating, onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
pageToken: arg_pageToken, regionCode: arg_regionCode, videoCategoryId: arg_vide
oCategoryId).then(unittest.expectAsync(((api.VideoListResponse response) { |
| 10916 checkVideoListResponse(response); | 10924 checkVideoListResponse(response); |
| 10917 }))); | 10925 }))); |
| 10918 }); | 10926 }); |
| 10919 | 10927 |
| 10920 unittest.test("method--rate", () { | 10928 unittest.test("method--rate", () { |
| 10921 | 10929 |
| 10922 var mock = new HttpServerMock(); | 10930 var mock = new HttpServerMock(); |
| 10923 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; | 10931 api.VideosResourceApi res = new api.YoutubeApi(mock).videos; |
| 10924 var arg_id = "foo"; | 10932 var arg_id = "foo"; |
| 10925 var arg_rating = "foo"; | 10933 var arg_rating = "foo"; |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11168 return new async.Future.value(stringResponse(200, h, resp)); | 11176 return new async.Future.value(stringResponse(200, h, resp)); |
| 11169 }), true); | 11177 }), true); |
| 11170 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 11178 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 11171 }); | 11179 }); |
| 11172 | 11180 |
| 11173 }); | 11181 }); |
| 11174 | 11182 |
| 11175 | 11183 |
| 11176 } | 11184 } |
| 11177 | 11185 |
| OLD | NEW |