| 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 buildUnnamed2895() { | 54 buildUnnamed688() { |
| 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 checkUnnamed2895(core.List<core.String> o) { | 61 checkUnnamed688(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 = buildUnnamed2895(); | 73 o.exception = buildUnnamed688(); |
| 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 checkUnnamed2895(o.exception); | 83 checkUnnamed688(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 buildUnnamed2896() { | 272 buildUnnamed689() { |
| 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 checkUnnamed2896(core.List<core.String> o) { | 279 checkUnnamed689(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 buildUnnamed2897() { | 285 buildUnnamed690() { |
| 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 checkUnnamed2897(core.List<core.String> o) { | 292 checkUnnamed690(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 = buildUnnamed2896(); | 310 o.forecastingUrl = buildUnnamed689(); |
| 311 o.impressionUrl = buildUnnamed2897(); | 311 o.impressionUrl = buildUnnamed690(); |
| 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 checkUnnamed2896(o.forecastingUrl); | 328 checkUnnamed689(o.forecastingUrl); |
| 329 checkUnnamed2897(o.impressionUrl); | 329 checkUnnamed690(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 buildUnnamed2898() { | 423 buildUnnamed691() { |
| 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 checkUnnamed2898(core.List<api.Activity> o) { | 430 checkUnnamed691(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 = buildUnnamed2898(); | 443 o.items = buildUnnamed691(); |
| 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 checkUnnamed2898(o.items); | 460 checkUnnamed691(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 buildUnnamed2899() { | 529 buildUnnamed692() { |
| 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 checkUnnamed2899(core.List<api.Caption> o) { | 536 checkUnnamed692(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 = buildUnnamed2899(); | 549 o.items = buildUnnamed692(); |
| 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 checkUnnamed2899(o.items); | 562 checkUnnamed692(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 buildUnnamed2900() { | 639 buildUnnamed693() { |
| 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 checkUnnamed2900(core.Map<core.String, api.ChannelLocalization> o) { | 646 checkUnnamed693(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 = buildUnnamed2900(); | 666 o.localizations = buildUnnamed693(); |
| 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 checkUnnamed2900(o.localizations); | 688 checkUnnamed693(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 buildUnnamed2901() { | 745 buildUnnamed694() { |
| 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 checkUnnamed2901(core.List<api.PropertyValue> o) { | 752 checkUnnamed694(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 = buildUnnamed2901(); | 764 o.hints = buildUnnamed694(); |
| 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 checkUnnamed2901(o.hints); | 776 checkUnnamed694(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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 | 863 |
| 864 checkChannelConversionPing(api.ChannelConversionPing o) { | 864 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 865 buildCounterChannelConversionPing++; | 865 buildCounterChannelConversionPing++; |
| 866 if (buildCounterChannelConversionPing < 3) { | 866 if (buildCounterChannelConversionPing < 3) { |
| 867 unittest.expect(o.context, unittest.equals('foo')); | 867 unittest.expect(o.context, unittest.equals('foo')); |
| 868 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 868 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 869 } | 869 } |
| 870 buildCounterChannelConversionPing--; | 870 buildCounterChannelConversionPing--; |
| 871 } | 871 } |
| 872 | 872 |
| 873 buildUnnamed2902() { | 873 buildUnnamed695() { |
| 874 var o = new core.List<api.ChannelConversionPing>(); | 874 var o = new core.List<api.ChannelConversionPing>(); |
| 875 o.add(buildChannelConversionPing()); | 875 o.add(buildChannelConversionPing()); |
| 876 o.add(buildChannelConversionPing()); | 876 o.add(buildChannelConversionPing()); |
| 877 return o; | 877 return o; |
| 878 } | 878 } |
| 879 | 879 |
| 880 checkUnnamed2902(core.List<api.ChannelConversionPing> o) { | 880 checkUnnamed695(core.List<api.ChannelConversionPing> o) { |
| 881 unittest.expect(o, unittest.hasLength(2)); | 881 unittest.expect(o, unittest.hasLength(2)); |
| 882 checkChannelConversionPing(o[0]); | 882 checkChannelConversionPing(o[0]); |
| 883 checkChannelConversionPing(o[1]); | 883 checkChannelConversionPing(o[1]); |
| 884 } | 884 } |
| 885 | 885 |
| 886 core.int buildCounterChannelConversionPings = 0; | 886 core.int buildCounterChannelConversionPings = 0; |
| 887 buildChannelConversionPings() { | 887 buildChannelConversionPings() { |
| 888 var o = new api.ChannelConversionPings(); | 888 var o = new api.ChannelConversionPings(); |
| 889 buildCounterChannelConversionPings++; | 889 buildCounterChannelConversionPings++; |
| 890 if (buildCounterChannelConversionPings < 3) { | 890 if (buildCounterChannelConversionPings < 3) { |
| 891 o.pings = buildUnnamed2902(); | 891 o.pings = buildUnnamed695(); |
| 892 } | 892 } |
| 893 buildCounterChannelConversionPings--; | 893 buildCounterChannelConversionPings--; |
| 894 return o; | 894 return o; |
| 895 } | 895 } |
| 896 | 896 |
| 897 checkChannelConversionPings(api.ChannelConversionPings o) { | 897 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 898 buildCounterChannelConversionPings++; | 898 buildCounterChannelConversionPings++; |
| 899 if (buildCounterChannelConversionPings < 3) { | 899 if (buildCounterChannelConversionPings < 3) { |
| 900 checkUnnamed2902(o.pings); | 900 checkUnnamed695(o.pings); |
| 901 } | 901 } |
| 902 buildCounterChannelConversionPings--; | 902 buildCounterChannelConversionPings--; |
| 903 } | 903 } |
| 904 | 904 |
| 905 buildUnnamed2903() { | 905 buildUnnamed696() { |
| 906 var o = new core.List<api.Channel>(); | 906 var o = new core.List<api.Channel>(); |
| 907 o.add(buildChannel()); | 907 o.add(buildChannel()); |
| 908 o.add(buildChannel()); | 908 o.add(buildChannel()); |
| 909 return o; | 909 return o; |
| 910 } | 910 } |
| 911 | 911 |
| 912 checkUnnamed2903(core.List<api.Channel> o) { | 912 checkUnnamed696(core.List<api.Channel> o) { |
| 913 unittest.expect(o, unittest.hasLength(2)); | 913 unittest.expect(o, unittest.hasLength(2)); |
| 914 checkChannel(o[0]); | 914 checkChannel(o[0]); |
| 915 checkChannel(o[1]); | 915 checkChannel(o[1]); |
| 916 } | 916 } |
| 917 | 917 |
| 918 core.int buildCounterChannelListResponse = 0; | 918 core.int buildCounterChannelListResponse = 0; |
| 919 buildChannelListResponse() { | 919 buildChannelListResponse() { |
| 920 var o = new api.ChannelListResponse(); | 920 var o = new api.ChannelListResponse(); |
| 921 buildCounterChannelListResponse++; | 921 buildCounterChannelListResponse++; |
| 922 if (buildCounterChannelListResponse < 3) { | 922 if (buildCounterChannelListResponse < 3) { |
| 923 o.etag = "foo"; | 923 o.etag = "foo"; |
| 924 o.eventId = "foo"; | 924 o.eventId = "foo"; |
| 925 o.items = buildUnnamed2903(); | 925 o.items = buildUnnamed696(); |
| 926 o.kind = "foo"; | 926 o.kind = "foo"; |
| 927 o.nextPageToken = "foo"; | 927 o.nextPageToken = "foo"; |
| 928 o.pageInfo = buildPageInfo(); | 928 o.pageInfo = buildPageInfo(); |
| 929 o.prevPageToken = "foo"; | 929 o.prevPageToken = "foo"; |
| 930 o.tokenPagination = buildTokenPagination(); | 930 o.tokenPagination = buildTokenPagination(); |
| 931 o.visitorId = "foo"; | 931 o.visitorId = "foo"; |
| 932 } | 932 } |
| 933 buildCounterChannelListResponse--; | 933 buildCounterChannelListResponse--; |
| 934 return o; | 934 return o; |
| 935 } | 935 } |
| 936 | 936 |
| 937 checkChannelListResponse(api.ChannelListResponse o) { | 937 checkChannelListResponse(api.ChannelListResponse o) { |
| 938 buildCounterChannelListResponse++; | 938 buildCounterChannelListResponse++; |
| 939 if (buildCounterChannelListResponse < 3) { | 939 if (buildCounterChannelListResponse < 3) { |
| 940 unittest.expect(o.etag, unittest.equals('foo')); | 940 unittest.expect(o.etag, unittest.equals('foo')); |
| 941 unittest.expect(o.eventId, unittest.equals('foo')); | 941 unittest.expect(o.eventId, unittest.equals('foo')); |
| 942 checkUnnamed2903(o.items); | 942 checkUnnamed696(o.items); |
| 943 unittest.expect(o.kind, unittest.equals('foo')); | 943 unittest.expect(o.kind, unittest.equals('foo')); |
| 944 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 944 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 945 checkPageInfo(o.pageInfo); | 945 checkPageInfo(o.pageInfo); |
| 946 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 946 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 947 checkTokenPagination(o.tokenPagination); | 947 checkTokenPagination(o.tokenPagination); |
| 948 unittest.expect(o.visitorId, unittest.equals('foo')); | 948 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 949 } | 949 } |
| 950 buildCounterChannelListResponse--; | 950 buildCounterChannelListResponse--; |
| 951 } | 951 } |
| 952 | 952 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 buildCounterChannelProfileDetails++; | 989 buildCounterChannelProfileDetails++; |
| 990 if (buildCounterChannelProfileDetails < 3) { | 990 if (buildCounterChannelProfileDetails < 3) { |
| 991 unittest.expect(o.channelId, unittest.equals('foo')); | 991 unittest.expect(o.channelId, unittest.equals('foo')); |
| 992 unittest.expect(o.channelUrl, unittest.equals('foo')); | 992 unittest.expect(o.channelUrl, unittest.equals('foo')); |
| 993 unittest.expect(o.displayName, unittest.equals('foo')); | 993 unittest.expect(o.displayName, unittest.equals('foo')); |
| 994 unittest.expect(o.profileImageUrl, unittest.equals('foo')); | 994 unittest.expect(o.profileImageUrl, unittest.equals('foo')); |
| 995 } | 995 } |
| 996 buildCounterChannelProfileDetails--; | 996 buildCounterChannelProfileDetails--; |
| 997 } | 997 } |
| 998 | 998 |
| 999 buildUnnamed2904() { | 999 buildUnnamed697() { |
| 1000 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 1000 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
| 1001 o["x"] = buildChannelSectionLocalization(); | 1001 o["x"] = buildChannelSectionLocalization(); |
| 1002 o["y"] = buildChannelSectionLocalization(); | 1002 o["y"] = buildChannelSectionLocalization(); |
| 1003 return o; | 1003 return o; |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 checkUnnamed2904(core.Map<core.String, api.ChannelSectionLocalization> o) { | 1006 checkUnnamed697(core.Map<core.String, api.ChannelSectionLocalization> o) { |
| 1007 unittest.expect(o, unittest.hasLength(2)); | 1007 unittest.expect(o, unittest.hasLength(2)); |
| 1008 checkChannelSectionLocalization(o["x"]); | 1008 checkChannelSectionLocalization(o["x"]); |
| 1009 checkChannelSectionLocalization(o["y"]); | 1009 checkChannelSectionLocalization(o["y"]); |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 core.int buildCounterChannelSection = 0; | 1012 core.int buildCounterChannelSection = 0; |
| 1013 buildChannelSection() { | 1013 buildChannelSection() { |
| 1014 var o = new api.ChannelSection(); | 1014 var o = new api.ChannelSection(); |
| 1015 buildCounterChannelSection++; | 1015 buildCounterChannelSection++; |
| 1016 if (buildCounterChannelSection < 3) { | 1016 if (buildCounterChannelSection < 3) { |
| 1017 o.contentDetails = buildChannelSectionContentDetails(); | 1017 o.contentDetails = buildChannelSectionContentDetails(); |
| 1018 o.etag = "foo"; | 1018 o.etag = "foo"; |
| 1019 o.id = "foo"; | 1019 o.id = "foo"; |
| 1020 o.kind = "foo"; | 1020 o.kind = "foo"; |
| 1021 o.localizations = buildUnnamed2904(); | 1021 o.localizations = buildUnnamed697(); |
| 1022 o.snippet = buildChannelSectionSnippet(); | 1022 o.snippet = buildChannelSectionSnippet(); |
| 1023 o.targeting = buildChannelSectionTargeting(); | 1023 o.targeting = buildChannelSectionTargeting(); |
| 1024 } | 1024 } |
| 1025 buildCounterChannelSection--; | 1025 buildCounterChannelSection--; |
| 1026 return o; | 1026 return o; |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 checkChannelSection(api.ChannelSection o) { | 1029 checkChannelSection(api.ChannelSection o) { |
| 1030 buildCounterChannelSection++; | 1030 buildCounterChannelSection++; |
| 1031 if (buildCounterChannelSection < 3) { | 1031 if (buildCounterChannelSection < 3) { |
| 1032 checkChannelSectionContentDetails(o.contentDetails); | 1032 checkChannelSectionContentDetails(o.contentDetails); |
| 1033 unittest.expect(o.etag, unittest.equals('foo')); | 1033 unittest.expect(o.etag, unittest.equals('foo')); |
| 1034 unittest.expect(o.id, unittest.equals('foo')); | 1034 unittest.expect(o.id, unittest.equals('foo')); |
| 1035 unittest.expect(o.kind, unittest.equals('foo')); | 1035 unittest.expect(o.kind, unittest.equals('foo')); |
| 1036 checkUnnamed2904(o.localizations); | 1036 checkUnnamed697(o.localizations); |
| 1037 checkChannelSectionSnippet(o.snippet); | 1037 checkChannelSectionSnippet(o.snippet); |
| 1038 checkChannelSectionTargeting(o.targeting); | 1038 checkChannelSectionTargeting(o.targeting); |
| 1039 } | 1039 } |
| 1040 buildCounterChannelSection--; | 1040 buildCounterChannelSection--; |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 buildUnnamed2905() { | 1043 buildUnnamed698() { |
| 1044 var o = new core.List<core.String>(); | 1044 var o = new core.List<core.String>(); |
| 1045 o.add("foo"); | 1045 o.add("foo"); |
| 1046 o.add("foo"); | 1046 o.add("foo"); |
| 1047 return o; | 1047 return o; |
| 1048 } | 1048 } |
| 1049 | 1049 |
| 1050 checkUnnamed2905(core.List<core.String> o) { | 1050 checkUnnamed698(core.List<core.String> o) { |
| 1051 unittest.expect(o, unittest.hasLength(2)); | 1051 unittest.expect(o, unittest.hasLength(2)); |
| 1052 unittest.expect(o[0], unittest.equals('foo')); | 1052 unittest.expect(o[0], unittest.equals('foo')); |
| 1053 unittest.expect(o[1], unittest.equals('foo')); | 1053 unittest.expect(o[1], unittest.equals('foo')); |
| 1054 } | 1054 } |
| 1055 | 1055 |
| 1056 buildUnnamed2906() { | 1056 buildUnnamed699() { |
| 1057 var o = new core.List<core.String>(); | 1057 var o = new core.List<core.String>(); |
| 1058 o.add("foo"); | 1058 o.add("foo"); |
| 1059 o.add("foo"); | 1059 o.add("foo"); |
| 1060 return o; | 1060 return o; |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 checkUnnamed2906(core.List<core.String> o) { | 1063 checkUnnamed699(core.List<core.String> o) { |
| 1064 unittest.expect(o, unittest.hasLength(2)); | 1064 unittest.expect(o, unittest.hasLength(2)); |
| 1065 unittest.expect(o[0], unittest.equals('foo')); | 1065 unittest.expect(o[0], unittest.equals('foo')); |
| 1066 unittest.expect(o[1], unittest.equals('foo')); | 1066 unittest.expect(o[1], unittest.equals('foo')); |
| 1067 } | 1067 } |
| 1068 | 1068 |
| 1069 core.int buildCounterChannelSectionContentDetails = 0; | 1069 core.int buildCounterChannelSectionContentDetails = 0; |
| 1070 buildChannelSectionContentDetails() { | 1070 buildChannelSectionContentDetails() { |
| 1071 var o = new api.ChannelSectionContentDetails(); | 1071 var o = new api.ChannelSectionContentDetails(); |
| 1072 buildCounterChannelSectionContentDetails++; | 1072 buildCounterChannelSectionContentDetails++; |
| 1073 if (buildCounterChannelSectionContentDetails < 3) { | 1073 if (buildCounterChannelSectionContentDetails < 3) { |
| 1074 o.channels = buildUnnamed2905(); | 1074 o.channels = buildUnnamed698(); |
| 1075 o.playlists = buildUnnamed2906(); | 1075 o.playlists = buildUnnamed699(); |
| 1076 } | 1076 } |
| 1077 buildCounterChannelSectionContentDetails--; | 1077 buildCounterChannelSectionContentDetails--; |
| 1078 return o; | 1078 return o; |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1081 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 1082 buildCounterChannelSectionContentDetails++; | 1082 buildCounterChannelSectionContentDetails++; |
| 1083 if (buildCounterChannelSectionContentDetails < 3) { | 1083 if (buildCounterChannelSectionContentDetails < 3) { |
| 1084 checkUnnamed2905(o.channels); | 1084 checkUnnamed698(o.channels); |
| 1085 checkUnnamed2906(o.playlists); | 1085 checkUnnamed699(o.playlists); |
| 1086 } | 1086 } |
| 1087 buildCounterChannelSectionContentDetails--; | 1087 buildCounterChannelSectionContentDetails--; |
| 1088 } | 1088 } |
| 1089 | 1089 |
| 1090 buildUnnamed2907() { | 1090 buildUnnamed700() { |
| 1091 var o = new core.List<api.ChannelSection>(); | 1091 var o = new core.List<api.ChannelSection>(); |
| 1092 o.add(buildChannelSection()); | 1092 o.add(buildChannelSection()); |
| 1093 o.add(buildChannelSection()); | 1093 o.add(buildChannelSection()); |
| 1094 return o; | 1094 return o; |
| 1095 } | 1095 } |
| 1096 | 1096 |
| 1097 checkUnnamed2907(core.List<api.ChannelSection> o) { | 1097 checkUnnamed700(core.List<api.ChannelSection> o) { |
| 1098 unittest.expect(o, unittest.hasLength(2)); | 1098 unittest.expect(o, unittest.hasLength(2)); |
| 1099 checkChannelSection(o[0]); | 1099 checkChannelSection(o[0]); |
| 1100 checkChannelSection(o[1]); | 1100 checkChannelSection(o[1]); |
| 1101 } | 1101 } |
| 1102 | 1102 |
| 1103 core.int buildCounterChannelSectionListResponse = 0; | 1103 core.int buildCounterChannelSectionListResponse = 0; |
| 1104 buildChannelSectionListResponse() { | 1104 buildChannelSectionListResponse() { |
| 1105 var o = new api.ChannelSectionListResponse(); | 1105 var o = new api.ChannelSectionListResponse(); |
| 1106 buildCounterChannelSectionListResponse++; | 1106 buildCounterChannelSectionListResponse++; |
| 1107 if (buildCounterChannelSectionListResponse < 3) { | 1107 if (buildCounterChannelSectionListResponse < 3) { |
| 1108 o.etag = "foo"; | 1108 o.etag = "foo"; |
| 1109 o.eventId = "foo"; | 1109 o.eventId = "foo"; |
| 1110 o.items = buildUnnamed2907(); | 1110 o.items = buildUnnamed700(); |
| 1111 o.kind = "foo"; | 1111 o.kind = "foo"; |
| 1112 o.visitorId = "foo"; | 1112 o.visitorId = "foo"; |
| 1113 } | 1113 } |
| 1114 buildCounterChannelSectionListResponse--; | 1114 buildCounterChannelSectionListResponse--; |
| 1115 return o; | 1115 return o; |
| 1116 } | 1116 } |
| 1117 | 1117 |
| 1118 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1118 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 1119 buildCounterChannelSectionListResponse++; | 1119 buildCounterChannelSectionListResponse++; |
| 1120 if (buildCounterChannelSectionListResponse < 3) { | 1120 if (buildCounterChannelSectionListResponse < 3) { |
| 1121 unittest.expect(o.etag, unittest.equals('foo')); | 1121 unittest.expect(o.etag, unittest.equals('foo')); |
| 1122 unittest.expect(o.eventId, unittest.equals('foo')); | 1122 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1123 checkUnnamed2907(o.items); | 1123 checkUnnamed700(o.items); |
| 1124 unittest.expect(o.kind, unittest.equals('foo')); | 1124 unittest.expect(o.kind, unittest.equals('foo')); |
| 1125 unittest.expect(o.visitorId, unittest.equals('foo')); | 1125 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1126 } | 1126 } |
| 1127 buildCounterChannelSectionListResponse--; | 1127 buildCounterChannelSectionListResponse--; |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 core.int buildCounterChannelSectionLocalization = 0; | 1130 core.int buildCounterChannelSectionLocalization = 0; |
| 1131 buildChannelSectionLocalization() { | 1131 buildChannelSectionLocalization() { |
| 1132 var o = new api.ChannelSectionLocalization(); | 1132 var o = new api.ChannelSectionLocalization(); |
| 1133 buildCounterChannelSectionLocalization++; | 1133 buildCounterChannelSectionLocalization++; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1170 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1171 checkChannelSectionLocalization(o.localized); | 1171 checkChannelSectionLocalization(o.localized); |
| 1172 unittest.expect(o.position, unittest.equals(42)); | 1172 unittest.expect(o.position, unittest.equals(42)); |
| 1173 unittest.expect(o.style, unittest.equals('foo')); | 1173 unittest.expect(o.style, unittest.equals('foo')); |
| 1174 unittest.expect(o.title, unittest.equals('foo')); | 1174 unittest.expect(o.title, unittest.equals('foo')); |
| 1175 unittest.expect(o.type, unittest.equals('foo')); | 1175 unittest.expect(o.type, unittest.equals('foo')); |
| 1176 } | 1176 } |
| 1177 buildCounterChannelSectionSnippet--; | 1177 buildCounterChannelSectionSnippet--; |
| 1178 } | 1178 } |
| 1179 | 1179 |
| 1180 buildUnnamed2908() { | 1180 buildUnnamed701() { |
| 1181 var o = new core.List<core.String>(); | 1181 var o = new core.List<core.String>(); |
| 1182 o.add("foo"); | 1182 o.add("foo"); |
| 1183 o.add("foo"); | 1183 o.add("foo"); |
| 1184 return o; | 1184 return o; |
| 1185 } | 1185 } |
| 1186 | 1186 |
| 1187 checkUnnamed2908(core.List<core.String> o) { | 1187 checkUnnamed701(core.List<core.String> o) { |
| 1188 unittest.expect(o, unittest.hasLength(2)); | 1188 unittest.expect(o, unittest.hasLength(2)); |
| 1189 unittest.expect(o[0], unittest.equals('foo')); | 1189 unittest.expect(o[0], unittest.equals('foo')); |
| 1190 unittest.expect(o[1], unittest.equals('foo')); | 1190 unittest.expect(o[1], unittest.equals('foo')); |
| 1191 } | 1191 } |
| 1192 | 1192 |
| 1193 buildUnnamed2909() { | 1193 buildUnnamed702() { |
| 1194 var o = new core.List<core.String>(); | 1194 var o = new core.List<core.String>(); |
| 1195 o.add("foo"); | 1195 o.add("foo"); |
| 1196 o.add("foo"); | 1196 o.add("foo"); |
| 1197 return o; | 1197 return o; |
| 1198 } | 1198 } |
| 1199 | 1199 |
| 1200 checkUnnamed2909(core.List<core.String> o) { | 1200 checkUnnamed702(core.List<core.String> o) { |
| 1201 unittest.expect(o, unittest.hasLength(2)); | 1201 unittest.expect(o, unittest.hasLength(2)); |
| 1202 unittest.expect(o[0], unittest.equals('foo')); | 1202 unittest.expect(o[0], unittest.equals('foo')); |
| 1203 unittest.expect(o[1], unittest.equals('foo')); | 1203 unittest.expect(o[1], unittest.equals('foo')); |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 buildUnnamed2910() { | 1206 buildUnnamed703() { |
| 1207 var o = new core.List<core.String>(); | 1207 var o = new core.List<core.String>(); |
| 1208 o.add("foo"); | 1208 o.add("foo"); |
| 1209 o.add("foo"); | 1209 o.add("foo"); |
| 1210 return o; | 1210 return o; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 checkUnnamed2910(core.List<core.String> o) { | 1213 checkUnnamed703(core.List<core.String> o) { |
| 1214 unittest.expect(o, unittest.hasLength(2)); | 1214 unittest.expect(o, unittest.hasLength(2)); |
| 1215 unittest.expect(o[0], unittest.equals('foo')); | 1215 unittest.expect(o[0], unittest.equals('foo')); |
| 1216 unittest.expect(o[1], unittest.equals('foo')); | 1216 unittest.expect(o[1], unittest.equals('foo')); |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 core.int buildCounterChannelSectionTargeting = 0; | 1219 core.int buildCounterChannelSectionTargeting = 0; |
| 1220 buildChannelSectionTargeting() { | 1220 buildChannelSectionTargeting() { |
| 1221 var o = new api.ChannelSectionTargeting(); | 1221 var o = new api.ChannelSectionTargeting(); |
| 1222 buildCounterChannelSectionTargeting++; | 1222 buildCounterChannelSectionTargeting++; |
| 1223 if (buildCounterChannelSectionTargeting < 3) { | 1223 if (buildCounterChannelSectionTargeting < 3) { |
| 1224 o.countries = buildUnnamed2908(); | 1224 o.countries = buildUnnamed701(); |
| 1225 o.languages = buildUnnamed2909(); | 1225 o.languages = buildUnnamed702(); |
| 1226 o.regions = buildUnnamed2910(); | 1226 o.regions = buildUnnamed703(); |
| 1227 } | 1227 } |
| 1228 buildCounterChannelSectionTargeting--; | 1228 buildCounterChannelSectionTargeting--; |
| 1229 return o; | 1229 return o; |
| 1230 } | 1230 } |
| 1231 | 1231 |
| 1232 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1232 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
| 1233 buildCounterChannelSectionTargeting++; | 1233 buildCounterChannelSectionTargeting++; |
| 1234 if (buildCounterChannelSectionTargeting < 3) { | 1234 if (buildCounterChannelSectionTargeting < 3) { |
| 1235 checkUnnamed2908(o.countries); | 1235 checkUnnamed701(o.countries); |
| 1236 checkUnnamed2909(o.languages); | 1236 checkUnnamed702(o.languages); |
| 1237 checkUnnamed2910(o.regions); | 1237 checkUnnamed703(o.regions); |
| 1238 } | 1238 } |
| 1239 buildCounterChannelSectionTargeting--; | 1239 buildCounterChannelSectionTargeting--; |
| 1240 } | 1240 } |
| 1241 | 1241 |
| 1242 buildUnnamed2911() { | 1242 buildUnnamed704() { |
| 1243 var o = new core.List<core.String>(); | 1243 var o = new core.List<core.String>(); |
| 1244 o.add("foo"); | 1244 o.add("foo"); |
| 1245 o.add("foo"); | 1245 o.add("foo"); |
| 1246 return o; | 1246 return o; |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 checkUnnamed2911(core.List<core.String> o) { | 1249 checkUnnamed704(core.List<core.String> o) { |
| 1250 unittest.expect(o, unittest.hasLength(2)); | 1250 unittest.expect(o, unittest.hasLength(2)); |
| 1251 unittest.expect(o[0], unittest.equals('foo')); | 1251 unittest.expect(o[0], unittest.equals('foo')); |
| 1252 unittest.expect(o[1], unittest.equals('foo')); | 1252 unittest.expect(o[1], unittest.equals('foo')); |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 core.int buildCounterChannelSettings = 0; | 1255 core.int buildCounterChannelSettings = 0; |
| 1256 buildChannelSettings() { | 1256 buildChannelSettings() { |
| 1257 var o = new api.ChannelSettings(); | 1257 var o = new api.ChannelSettings(); |
| 1258 buildCounterChannelSettings++; | 1258 buildCounterChannelSettings++; |
| 1259 if (buildCounterChannelSettings < 3) { | 1259 if (buildCounterChannelSettings < 3) { |
| 1260 o.country = "foo"; | 1260 o.country = "foo"; |
| 1261 o.defaultLanguage = "foo"; | 1261 o.defaultLanguage = "foo"; |
| 1262 o.defaultTab = "foo"; | 1262 o.defaultTab = "foo"; |
| 1263 o.description = "foo"; | 1263 o.description = "foo"; |
| 1264 o.featuredChannelsTitle = "foo"; | 1264 o.featuredChannelsTitle = "foo"; |
| 1265 o.featuredChannelsUrls = buildUnnamed2911(); | 1265 o.featuredChannelsUrls = buildUnnamed704(); |
| 1266 o.keywords = "foo"; | 1266 o.keywords = "foo"; |
| 1267 o.moderateComments = true; | 1267 o.moderateComments = true; |
| 1268 o.profileColor = "foo"; | 1268 o.profileColor = "foo"; |
| 1269 o.showBrowseView = true; | 1269 o.showBrowseView = true; |
| 1270 o.showRelatedChannels = true; | 1270 o.showRelatedChannels = true; |
| 1271 o.title = "foo"; | 1271 o.title = "foo"; |
| 1272 o.trackingAnalyticsAccountId = "foo"; | 1272 o.trackingAnalyticsAccountId = "foo"; |
| 1273 o.unsubscribedTrailer = "foo"; | 1273 o.unsubscribedTrailer = "foo"; |
| 1274 } | 1274 } |
| 1275 buildCounterChannelSettings--; | 1275 buildCounterChannelSettings--; |
| 1276 return o; | 1276 return o; |
| 1277 } | 1277 } |
| 1278 | 1278 |
| 1279 checkChannelSettings(api.ChannelSettings o) { | 1279 checkChannelSettings(api.ChannelSettings o) { |
| 1280 buildCounterChannelSettings++; | 1280 buildCounterChannelSettings++; |
| 1281 if (buildCounterChannelSettings < 3) { | 1281 if (buildCounterChannelSettings < 3) { |
| 1282 unittest.expect(o.country, unittest.equals('foo')); | 1282 unittest.expect(o.country, unittest.equals('foo')); |
| 1283 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1283 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1284 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1284 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 1285 unittest.expect(o.description, unittest.equals('foo')); | 1285 unittest.expect(o.description, unittest.equals('foo')); |
| 1286 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1286 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 1287 checkUnnamed2911(o.featuredChannelsUrls); | 1287 checkUnnamed704(o.featuredChannelsUrls); |
| 1288 unittest.expect(o.keywords, unittest.equals('foo')); | 1288 unittest.expect(o.keywords, unittest.equals('foo')); |
| 1289 unittest.expect(o.moderateComments, unittest.isTrue); | 1289 unittest.expect(o.moderateComments, unittest.isTrue); |
| 1290 unittest.expect(o.profileColor, unittest.equals('foo')); | 1290 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 1291 unittest.expect(o.showBrowseView, unittest.isTrue); | 1291 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 1292 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1292 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 1293 unittest.expect(o.title, unittest.equals('foo')); | 1293 unittest.expect(o.title, unittest.equals('foo')); |
| 1294 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1294 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 1295 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1295 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 1296 } | 1296 } |
| 1297 buildCounterChannelSettings--; | 1297 buildCounterChannelSettings--; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1373 checkChannelStatus(api.ChannelStatus o) { | 1373 checkChannelStatus(api.ChannelStatus o) { |
| 1374 buildCounterChannelStatus++; | 1374 buildCounterChannelStatus++; |
| 1375 if (buildCounterChannelStatus < 3) { | 1375 if (buildCounterChannelStatus < 3) { |
| 1376 unittest.expect(o.isLinked, unittest.isTrue); | 1376 unittest.expect(o.isLinked, unittest.isTrue); |
| 1377 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1377 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1378 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1378 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1379 } | 1379 } |
| 1380 buildCounterChannelStatus--; | 1380 buildCounterChannelStatus--; |
| 1381 } | 1381 } |
| 1382 | 1382 |
| 1383 buildUnnamed2912() { | 1383 buildUnnamed705() { |
| 1384 var o = new core.List<core.String>(); | 1384 var o = new core.List<core.String>(); |
| 1385 o.add("foo"); | 1385 o.add("foo"); |
| 1386 o.add("foo"); | 1386 o.add("foo"); |
| 1387 return o; | 1387 return o; |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 checkUnnamed2912(core.List<core.String> o) { | 1390 checkUnnamed705(core.List<core.String> o) { |
| 1391 unittest.expect(o, unittest.hasLength(2)); | 1391 unittest.expect(o, unittest.hasLength(2)); |
| 1392 unittest.expect(o[0], unittest.equals('foo')); | 1392 unittest.expect(o[0], unittest.equals('foo')); |
| 1393 unittest.expect(o[1], unittest.equals('foo')); | 1393 unittest.expect(o[1], unittest.equals('foo')); |
| 1394 } | 1394 } |
| 1395 | 1395 |
| 1396 core.int buildCounterChannelTopicDetails = 0; | 1396 core.int buildCounterChannelTopicDetails = 0; |
| 1397 buildChannelTopicDetails() { | 1397 buildChannelTopicDetails() { |
| 1398 var o = new api.ChannelTopicDetails(); | 1398 var o = new api.ChannelTopicDetails(); |
| 1399 buildCounterChannelTopicDetails++; | 1399 buildCounterChannelTopicDetails++; |
| 1400 if (buildCounterChannelTopicDetails < 3) { | 1400 if (buildCounterChannelTopicDetails < 3) { |
| 1401 o.topicIds = buildUnnamed2912(); | 1401 o.topicIds = buildUnnamed705(); |
| 1402 } | 1402 } |
| 1403 buildCounterChannelTopicDetails--; | 1403 buildCounterChannelTopicDetails--; |
| 1404 return o; | 1404 return o; |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1407 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1408 buildCounterChannelTopicDetails++; | 1408 buildCounterChannelTopicDetails++; |
| 1409 if (buildCounterChannelTopicDetails < 3) { | 1409 if (buildCounterChannelTopicDetails < 3) { |
| 1410 checkUnnamed2912(o.topicIds); | 1410 checkUnnamed705(o.topicIds); |
| 1411 } | 1411 } |
| 1412 buildCounterChannelTopicDetails--; | 1412 buildCounterChannelTopicDetails--; |
| 1413 } | 1413 } |
| 1414 | 1414 |
| 1415 core.int buildCounterComment = 0; | 1415 core.int buildCounterComment = 0; |
| 1416 buildComment() { | 1416 buildComment() { |
| 1417 var o = new api.Comment(); | 1417 var o = new api.Comment(); |
| 1418 buildCounterComment++; | 1418 buildCounterComment++; |
| 1419 if (buildCounterComment < 3) { | 1419 if (buildCounterComment < 3) { |
| 1420 o.etag = "foo"; | 1420 o.etag = "foo"; |
| 1421 o.id = "foo"; | 1421 o.id = "foo"; |
| 1422 o.kind = "foo"; | 1422 o.kind = "foo"; |
| 1423 o.snippet = buildCommentSnippet(); | 1423 o.snippet = buildCommentSnippet(); |
| 1424 } | 1424 } |
| 1425 buildCounterComment--; | 1425 buildCounterComment--; |
| 1426 return o; | 1426 return o; |
| 1427 } | 1427 } |
| 1428 | 1428 |
| 1429 checkComment(api.Comment o) { | 1429 checkComment(api.Comment o) { |
| 1430 buildCounterComment++; | 1430 buildCounterComment++; |
| 1431 if (buildCounterComment < 3) { | 1431 if (buildCounterComment < 3) { |
| 1432 unittest.expect(o.etag, unittest.equals('foo')); | 1432 unittest.expect(o.etag, unittest.equals('foo')); |
| 1433 unittest.expect(o.id, unittest.equals('foo')); | 1433 unittest.expect(o.id, unittest.equals('foo')); |
| 1434 unittest.expect(o.kind, unittest.equals('foo')); | 1434 unittest.expect(o.kind, unittest.equals('foo')); |
| 1435 checkCommentSnippet(o.snippet); | 1435 checkCommentSnippet(o.snippet); |
| 1436 } | 1436 } |
| 1437 buildCounterComment--; | 1437 buildCounterComment--; |
| 1438 } | 1438 } |
| 1439 | 1439 |
| 1440 buildUnnamed2913() { | 1440 buildUnnamed706() { |
| 1441 var o = new core.List<api.Comment>(); | 1441 var o = new core.List<api.Comment>(); |
| 1442 o.add(buildComment()); | 1442 o.add(buildComment()); |
| 1443 o.add(buildComment()); | 1443 o.add(buildComment()); |
| 1444 return o; | 1444 return o; |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 checkUnnamed2913(core.List<api.Comment> o) { | 1447 checkUnnamed706(core.List<api.Comment> o) { |
| 1448 unittest.expect(o, unittest.hasLength(2)); | 1448 unittest.expect(o, unittest.hasLength(2)); |
| 1449 checkComment(o[0]); | 1449 checkComment(o[0]); |
| 1450 checkComment(o[1]); | 1450 checkComment(o[1]); |
| 1451 } | 1451 } |
| 1452 | 1452 |
| 1453 core.int buildCounterCommentListResponse = 0; | 1453 core.int buildCounterCommentListResponse = 0; |
| 1454 buildCommentListResponse() { | 1454 buildCommentListResponse() { |
| 1455 var o = new api.CommentListResponse(); | 1455 var o = new api.CommentListResponse(); |
| 1456 buildCounterCommentListResponse++; | 1456 buildCounterCommentListResponse++; |
| 1457 if (buildCounterCommentListResponse < 3) { | 1457 if (buildCounterCommentListResponse < 3) { |
| 1458 o.etag = "foo"; | 1458 o.etag = "foo"; |
| 1459 o.eventId = "foo"; | 1459 o.eventId = "foo"; |
| 1460 o.items = buildUnnamed2913(); | 1460 o.items = buildUnnamed706(); |
| 1461 o.kind = "foo"; | 1461 o.kind = "foo"; |
| 1462 o.nextPageToken = "foo"; | 1462 o.nextPageToken = "foo"; |
| 1463 o.pageInfo = buildPageInfo(); | 1463 o.pageInfo = buildPageInfo(); |
| 1464 o.tokenPagination = buildTokenPagination(); | 1464 o.tokenPagination = buildTokenPagination(); |
| 1465 o.visitorId = "foo"; | 1465 o.visitorId = "foo"; |
| 1466 } | 1466 } |
| 1467 buildCounterCommentListResponse--; | 1467 buildCounterCommentListResponse--; |
| 1468 return o; | 1468 return o; |
| 1469 } | 1469 } |
| 1470 | 1470 |
| 1471 checkCommentListResponse(api.CommentListResponse o) { | 1471 checkCommentListResponse(api.CommentListResponse o) { |
| 1472 buildCounterCommentListResponse++; | 1472 buildCounterCommentListResponse++; |
| 1473 if (buildCounterCommentListResponse < 3) { | 1473 if (buildCounterCommentListResponse < 3) { |
| 1474 unittest.expect(o.etag, unittest.equals('foo')); | 1474 unittest.expect(o.etag, unittest.equals('foo')); |
| 1475 unittest.expect(o.eventId, unittest.equals('foo')); | 1475 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1476 checkUnnamed2913(o.items); | 1476 checkUnnamed706(o.items); |
| 1477 unittest.expect(o.kind, unittest.equals('foo')); | 1477 unittest.expect(o.kind, unittest.equals('foo')); |
| 1478 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1478 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1479 checkPageInfo(o.pageInfo); | 1479 checkPageInfo(o.pageInfo); |
| 1480 checkTokenPagination(o.tokenPagination); | 1480 checkTokenPagination(o.tokenPagination); |
| 1481 unittest.expect(o.visitorId, unittest.equals('foo')); | 1481 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1482 } | 1482 } |
| 1483 buildCounterCommentListResponse--; | 1483 buildCounterCommentListResponse--; |
| 1484 } | 1484 } |
| 1485 | 1485 |
| 1486 core.int buildCounterCommentSnippet = 0; | 1486 core.int buildCounterCommentSnippet = 0; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1552 if (buildCounterCommentThread < 3) { | 1552 if (buildCounterCommentThread < 3) { |
| 1553 unittest.expect(o.etag, unittest.equals('foo')); | 1553 unittest.expect(o.etag, unittest.equals('foo')); |
| 1554 unittest.expect(o.id, unittest.equals('foo')); | 1554 unittest.expect(o.id, unittest.equals('foo')); |
| 1555 unittest.expect(o.kind, unittest.equals('foo')); | 1555 unittest.expect(o.kind, unittest.equals('foo')); |
| 1556 checkCommentThreadReplies(o.replies); | 1556 checkCommentThreadReplies(o.replies); |
| 1557 checkCommentThreadSnippet(o.snippet); | 1557 checkCommentThreadSnippet(o.snippet); |
| 1558 } | 1558 } |
| 1559 buildCounterCommentThread--; | 1559 buildCounterCommentThread--; |
| 1560 } | 1560 } |
| 1561 | 1561 |
| 1562 buildUnnamed2914() { | 1562 buildUnnamed707() { |
| 1563 var o = new core.List<api.CommentThread>(); | 1563 var o = new core.List<api.CommentThread>(); |
| 1564 o.add(buildCommentThread()); | 1564 o.add(buildCommentThread()); |
| 1565 o.add(buildCommentThread()); | 1565 o.add(buildCommentThread()); |
| 1566 return o; | 1566 return o; |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 checkUnnamed2914(core.List<api.CommentThread> o) { | 1569 checkUnnamed707(core.List<api.CommentThread> o) { |
| 1570 unittest.expect(o, unittest.hasLength(2)); | 1570 unittest.expect(o, unittest.hasLength(2)); |
| 1571 checkCommentThread(o[0]); | 1571 checkCommentThread(o[0]); |
| 1572 checkCommentThread(o[1]); | 1572 checkCommentThread(o[1]); |
| 1573 } | 1573 } |
| 1574 | 1574 |
| 1575 core.int buildCounterCommentThreadListResponse = 0; | 1575 core.int buildCounterCommentThreadListResponse = 0; |
| 1576 buildCommentThreadListResponse() { | 1576 buildCommentThreadListResponse() { |
| 1577 var o = new api.CommentThreadListResponse(); | 1577 var o = new api.CommentThreadListResponse(); |
| 1578 buildCounterCommentThreadListResponse++; | 1578 buildCounterCommentThreadListResponse++; |
| 1579 if (buildCounterCommentThreadListResponse < 3) { | 1579 if (buildCounterCommentThreadListResponse < 3) { |
| 1580 o.etag = "foo"; | 1580 o.etag = "foo"; |
| 1581 o.eventId = "foo"; | 1581 o.eventId = "foo"; |
| 1582 o.items = buildUnnamed2914(); | 1582 o.items = buildUnnamed707(); |
| 1583 o.kind = "foo"; | 1583 o.kind = "foo"; |
| 1584 o.nextPageToken = "foo"; | 1584 o.nextPageToken = "foo"; |
| 1585 o.pageInfo = buildPageInfo(); | 1585 o.pageInfo = buildPageInfo(); |
| 1586 o.tokenPagination = buildTokenPagination(); | 1586 o.tokenPagination = buildTokenPagination(); |
| 1587 o.visitorId = "foo"; | 1587 o.visitorId = "foo"; |
| 1588 } | 1588 } |
| 1589 buildCounterCommentThreadListResponse--; | 1589 buildCounterCommentThreadListResponse--; |
| 1590 return o; | 1590 return o; |
| 1591 } | 1591 } |
| 1592 | 1592 |
| 1593 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1593 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
| 1594 buildCounterCommentThreadListResponse++; | 1594 buildCounterCommentThreadListResponse++; |
| 1595 if (buildCounterCommentThreadListResponse < 3) { | 1595 if (buildCounterCommentThreadListResponse < 3) { |
| 1596 unittest.expect(o.etag, unittest.equals('foo')); | 1596 unittest.expect(o.etag, unittest.equals('foo')); |
| 1597 unittest.expect(o.eventId, unittest.equals('foo')); | 1597 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1598 checkUnnamed2914(o.items); | 1598 checkUnnamed707(o.items); |
| 1599 unittest.expect(o.kind, unittest.equals('foo')); | 1599 unittest.expect(o.kind, unittest.equals('foo')); |
| 1600 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1600 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1601 checkPageInfo(o.pageInfo); | 1601 checkPageInfo(o.pageInfo); |
| 1602 checkTokenPagination(o.tokenPagination); | 1602 checkTokenPagination(o.tokenPagination); |
| 1603 unittest.expect(o.visitorId, unittest.equals('foo')); | 1603 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1604 } | 1604 } |
| 1605 buildCounterCommentThreadListResponse--; | 1605 buildCounterCommentThreadListResponse--; |
| 1606 } | 1606 } |
| 1607 | 1607 |
| 1608 buildUnnamed2915() { | 1608 buildUnnamed708() { |
| 1609 var o = new core.List<api.Comment>(); | 1609 var o = new core.List<api.Comment>(); |
| 1610 o.add(buildComment()); | 1610 o.add(buildComment()); |
| 1611 o.add(buildComment()); | 1611 o.add(buildComment()); |
| 1612 return o; | 1612 return o; |
| 1613 } | 1613 } |
| 1614 | 1614 |
| 1615 checkUnnamed2915(core.List<api.Comment> o) { | 1615 checkUnnamed708(core.List<api.Comment> o) { |
| 1616 unittest.expect(o, unittest.hasLength(2)); | 1616 unittest.expect(o, unittest.hasLength(2)); |
| 1617 checkComment(o[0]); | 1617 checkComment(o[0]); |
| 1618 checkComment(o[1]); | 1618 checkComment(o[1]); |
| 1619 } | 1619 } |
| 1620 | 1620 |
| 1621 core.int buildCounterCommentThreadReplies = 0; | 1621 core.int buildCounterCommentThreadReplies = 0; |
| 1622 buildCommentThreadReplies() { | 1622 buildCommentThreadReplies() { |
| 1623 var o = new api.CommentThreadReplies(); | 1623 var o = new api.CommentThreadReplies(); |
| 1624 buildCounterCommentThreadReplies++; | 1624 buildCounterCommentThreadReplies++; |
| 1625 if (buildCounterCommentThreadReplies < 3) { | 1625 if (buildCounterCommentThreadReplies < 3) { |
| 1626 o.comments = buildUnnamed2915(); | 1626 o.comments = buildUnnamed708(); |
| 1627 } | 1627 } |
| 1628 buildCounterCommentThreadReplies--; | 1628 buildCounterCommentThreadReplies--; |
| 1629 return o; | 1629 return o; |
| 1630 } | 1630 } |
| 1631 | 1631 |
| 1632 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1632 checkCommentThreadReplies(api.CommentThreadReplies o) { |
| 1633 buildCounterCommentThreadReplies++; | 1633 buildCounterCommentThreadReplies++; |
| 1634 if (buildCounterCommentThreadReplies < 3) { | 1634 if (buildCounterCommentThreadReplies < 3) { |
| 1635 checkUnnamed2915(o.comments); | 1635 checkUnnamed708(o.comments); |
| 1636 } | 1636 } |
| 1637 buildCounterCommentThreadReplies--; | 1637 buildCounterCommentThreadReplies--; |
| 1638 } | 1638 } |
| 1639 | 1639 |
| 1640 core.int buildCounterCommentThreadSnippet = 0; | 1640 core.int buildCounterCommentThreadSnippet = 0; |
| 1641 buildCommentThreadSnippet() { | 1641 buildCommentThreadSnippet() { |
| 1642 var o = new api.CommentThreadSnippet(); | 1642 var o = new api.CommentThreadSnippet(); |
| 1643 buildCounterCommentThreadSnippet++; | 1643 buildCounterCommentThreadSnippet++; |
| 1644 if (buildCounterCommentThreadSnippet < 3) { | 1644 if (buildCounterCommentThreadSnippet < 3) { |
| 1645 o.canReply = true; | 1645 o.canReply = true; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1659 unittest.expect(o.canReply, unittest.isTrue); | 1659 unittest.expect(o.canReply, unittest.isTrue); |
| 1660 unittest.expect(o.channelId, unittest.equals('foo')); | 1660 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1661 unittest.expect(o.isPublic, unittest.isTrue); | 1661 unittest.expect(o.isPublic, unittest.isTrue); |
| 1662 checkComment(o.topLevelComment); | 1662 checkComment(o.topLevelComment); |
| 1663 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1663 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
| 1664 unittest.expect(o.videoId, unittest.equals('foo')); | 1664 unittest.expect(o.videoId, unittest.equals('foo')); |
| 1665 } | 1665 } |
| 1666 buildCounterCommentThreadSnippet--; | 1666 buildCounterCommentThreadSnippet--; |
| 1667 } | 1667 } |
| 1668 | 1668 |
| 1669 buildUnnamed2916() { | 1669 buildUnnamed709() { |
| 1670 var o = new core.List<core.String>(); | 1670 var o = new core.List<core.String>(); |
| 1671 o.add("foo"); | 1671 o.add("foo"); |
| 1672 o.add("foo"); | 1672 o.add("foo"); |
| 1673 return o; | 1673 return o; |
| 1674 } | 1674 } |
| 1675 | 1675 |
| 1676 checkUnnamed2916(core.List<core.String> o) { | 1676 checkUnnamed709(core.List<core.String> o) { |
| 1677 unittest.expect(o, unittest.hasLength(2)); | 1677 unittest.expect(o, unittest.hasLength(2)); |
| 1678 unittest.expect(o[0], unittest.equals('foo')); | 1678 unittest.expect(o[0], unittest.equals('foo')); |
| 1679 unittest.expect(o[1], unittest.equals('foo')); | 1679 unittest.expect(o[1], unittest.equals('foo')); |
| 1680 } | 1680 } |
| 1681 | 1681 |
| 1682 core.int buildCounterContentRating = 0; | 1682 core.int buildCounterContentRating = 0; |
| 1683 buildContentRating() { | 1683 buildContentRating() { |
| 1684 var o = new api.ContentRating(); | 1684 var o = new api.ContentRating(); |
| 1685 buildCounterContentRating++; | 1685 buildCounterContentRating++; |
| 1686 if (buildCounterContentRating < 3) { | 1686 if (buildCounterContentRating < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1697 o.cceRating = "foo"; | 1697 o.cceRating = "foo"; |
| 1698 o.chfilmRating = "foo"; | 1698 o.chfilmRating = "foo"; |
| 1699 o.chvrsRating = "foo"; | 1699 o.chvrsRating = "foo"; |
| 1700 o.cicfRating = "foo"; | 1700 o.cicfRating = "foo"; |
| 1701 o.cnaRating = "foo"; | 1701 o.cnaRating = "foo"; |
| 1702 o.cncRating = "foo"; | 1702 o.cncRating = "foo"; |
| 1703 o.csaRating = "foo"; | 1703 o.csaRating = "foo"; |
| 1704 o.cscfRating = "foo"; | 1704 o.cscfRating = "foo"; |
| 1705 o.czfilmRating = "foo"; | 1705 o.czfilmRating = "foo"; |
| 1706 o.djctqRating = "foo"; | 1706 o.djctqRating = "foo"; |
| 1707 o.djctqRatingReasons = buildUnnamed2916(); | 1707 o.djctqRatingReasons = buildUnnamed709(); |
| 1708 o.ecbmctRating = "foo"; | 1708 o.ecbmctRating = "foo"; |
| 1709 o.eefilmRating = "foo"; | 1709 o.eefilmRating = "foo"; |
| 1710 o.egfilmRating = "foo"; | 1710 o.egfilmRating = "foo"; |
| 1711 o.eirinRating = "foo"; | 1711 o.eirinRating = "foo"; |
| 1712 o.fcbmRating = "foo"; | 1712 o.fcbmRating = "foo"; |
| 1713 o.fcoRating = "foo"; | 1713 o.fcoRating = "foo"; |
| 1714 o.fmocRating = "foo"; | 1714 o.fmocRating = "foo"; |
| 1715 o.fpbRating = "foo"; | 1715 o.fpbRating = "foo"; |
| 1716 o.fskRating = "foo"; | 1716 o.fskRating = "foo"; |
| 1717 o.grfilmRating = "foo"; | 1717 o.grfilmRating = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 unittest.expect(o.cceRating, unittest.equals('foo')); | 1771 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1772 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1772 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1773 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1773 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1774 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1774 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1775 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1775 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1776 unittest.expect(o.cncRating, unittest.equals('foo')); | 1776 unittest.expect(o.cncRating, unittest.equals('foo')); |
| 1777 unittest.expect(o.csaRating, unittest.equals('foo')); | 1777 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1778 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1778 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1779 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1779 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1780 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1780 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1781 checkUnnamed2916(o.djctqRatingReasons); | 1781 checkUnnamed709(o.djctqRatingReasons); |
| 1782 unittest.expect(o.ecbmctRating, unittest.equals('foo')); | 1782 unittest.expect(o.ecbmctRating, unittest.equals('foo')); |
| 1783 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1783 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1784 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1784 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1785 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1785 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1786 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1786 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1787 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1787 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1788 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1788 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1789 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1789 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1790 unittest.expect(o.fskRating, unittest.equals('foo')); | 1790 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1791 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1791 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1846 buildCounterFanFundingEvent++; | 1846 buildCounterFanFundingEvent++; |
| 1847 if (buildCounterFanFundingEvent < 3) { | 1847 if (buildCounterFanFundingEvent < 3) { |
| 1848 unittest.expect(o.etag, unittest.equals('foo')); | 1848 unittest.expect(o.etag, unittest.equals('foo')); |
| 1849 unittest.expect(o.id, unittest.equals('foo')); | 1849 unittest.expect(o.id, unittest.equals('foo')); |
| 1850 unittest.expect(o.kind, unittest.equals('foo')); | 1850 unittest.expect(o.kind, unittest.equals('foo')); |
| 1851 checkFanFundingEventSnippet(o.snippet); | 1851 checkFanFundingEventSnippet(o.snippet); |
| 1852 } | 1852 } |
| 1853 buildCounterFanFundingEvent--; | 1853 buildCounterFanFundingEvent--; |
| 1854 } | 1854 } |
| 1855 | 1855 |
| 1856 buildUnnamed2917() { | 1856 buildUnnamed710() { |
| 1857 var o = new core.List<api.FanFundingEvent>(); | 1857 var o = new core.List<api.FanFundingEvent>(); |
| 1858 o.add(buildFanFundingEvent()); | 1858 o.add(buildFanFundingEvent()); |
| 1859 o.add(buildFanFundingEvent()); | 1859 o.add(buildFanFundingEvent()); |
| 1860 return o; | 1860 return o; |
| 1861 } | 1861 } |
| 1862 | 1862 |
| 1863 checkUnnamed2917(core.List<api.FanFundingEvent> o) { | 1863 checkUnnamed710(core.List<api.FanFundingEvent> o) { |
| 1864 unittest.expect(o, unittest.hasLength(2)); | 1864 unittest.expect(o, unittest.hasLength(2)); |
| 1865 checkFanFundingEvent(o[0]); | 1865 checkFanFundingEvent(o[0]); |
| 1866 checkFanFundingEvent(o[1]); | 1866 checkFanFundingEvent(o[1]); |
| 1867 } | 1867 } |
| 1868 | 1868 |
| 1869 core.int buildCounterFanFundingEventListResponse = 0; | 1869 core.int buildCounterFanFundingEventListResponse = 0; |
| 1870 buildFanFundingEventListResponse() { | 1870 buildFanFundingEventListResponse() { |
| 1871 var o = new api.FanFundingEventListResponse(); | 1871 var o = new api.FanFundingEventListResponse(); |
| 1872 buildCounterFanFundingEventListResponse++; | 1872 buildCounterFanFundingEventListResponse++; |
| 1873 if (buildCounterFanFundingEventListResponse < 3) { | 1873 if (buildCounterFanFundingEventListResponse < 3) { |
| 1874 o.etag = "foo"; | 1874 o.etag = "foo"; |
| 1875 o.eventId = "foo"; | 1875 o.eventId = "foo"; |
| 1876 o.items = buildUnnamed2917(); | 1876 o.items = buildUnnamed710(); |
| 1877 o.kind = "foo"; | 1877 o.kind = "foo"; |
| 1878 o.nextPageToken = "foo"; | 1878 o.nextPageToken = "foo"; |
| 1879 o.pageInfo = buildPageInfo(); | 1879 o.pageInfo = buildPageInfo(); |
| 1880 o.tokenPagination = buildTokenPagination(); | 1880 o.tokenPagination = buildTokenPagination(); |
| 1881 o.visitorId = "foo"; | 1881 o.visitorId = "foo"; |
| 1882 } | 1882 } |
| 1883 buildCounterFanFundingEventListResponse--; | 1883 buildCounterFanFundingEventListResponse--; |
| 1884 return o; | 1884 return o; |
| 1885 } | 1885 } |
| 1886 | 1886 |
| 1887 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { | 1887 checkFanFundingEventListResponse(api.FanFundingEventListResponse o) { |
| 1888 buildCounterFanFundingEventListResponse++; | 1888 buildCounterFanFundingEventListResponse++; |
| 1889 if (buildCounterFanFundingEventListResponse < 3) { | 1889 if (buildCounterFanFundingEventListResponse < 3) { |
| 1890 unittest.expect(o.etag, unittest.equals('foo')); | 1890 unittest.expect(o.etag, unittest.equals('foo')); |
| 1891 unittest.expect(o.eventId, unittest.equals('foo')); | 1891 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1892 checkUnnamed2917(o.items); | 1892 checkUnnamed710(o.items); |
| 1893 unittest.expect(o.kind, unittest.equals('foo')); | 1893 unittest.expect(o.kind, unittest.equals('foo')); |
| 1894 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1894 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1895 checkPageInfo(o.pageInfo); | 1895 checkPageInfo(o.pageInfo); |
| 1896 checkTokenPagination(o.tokenPagination); | 1896 checkTokenPagination(o.tokenPagination); |
| 1897 unittest.expect(o.visitorId, unittest.equals('foo')); | 1897 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1898 } | 1898 } |
| 1899 buildCounterFanFundingEventListResponse--; | 1899 buildCounterFanFundingEventListResponse--; |
| 1900 } | 1900 } |
| 1901 | 1901 |
| 1902 core.int buildCounterFanFundingEventSnippet = 0; | 1902 core.int buildCounterFanFundingEventSnippet = 0; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1971 buildCounterGuideCategory++; | 1971 buildCounterGuideCategory++; |
| 1972 if (buildCounterGuideCategory < 3) { | 1972 if (buildCounterGuideCategory < 3) { |
| 1973 unittest.expect(o.etag, unittest.equals('foo')); | 1973 unittest.expect(o.etag, unittest.equals('foo')); |
| 1974 unittest.expect(o.id, unittest.equals('foo')); | 1974 unittest.expect(o.id, unittest.equals('foo')); |
| 1975 unittest.expect(o.kind, unittest.equals('foo')); | 1975 unittest.expect(o.kind, unittest.equals('foo')); |
| 1976 checkGuideCategorySnippet(o.snippet); | 1976 checkGuideCategorySnippet(o.snippet); |
| 1977 } | 1977 } |
| 1978 buildCounterGuideCategory--; | 1978 buildCounterGuideCategory--; |
| 1979 } | 1979 } |
| 1980 | 1980 |
| 1981 buildUnnamed2918() { | 1981 buildUnnamed711() { |
| 1982 var o = new core.List<api.GuideCategory>(); | 1982 var o = new core.List<api.GuideCategory>(); |
| 1983 o.add(buildGuideCategory()); | 1983 o.add(buildGuideCategory()); |
| 1984 o.add(buildGuideCategory()); | 1984 o.add(buildGuideCategory()); |
| 1985 return o; | 1985 return o; |
| 1986 } | 1986 } |
| 1987 | 1987 |
| 1988 checkUnnamed2918(core.List<api.GuideCategory> o) { | 1988 checkUnnamed711(core.List<api.GuideCategory> o) { |
| 1989 unittest.expect(o, unittest.hasLength(2)); | 1989 unittest.expect(o, unittest.hasLength(2)); |
| 1990 checkGuideCategory(o[0]); | 1990 checkGuideCategory(o[0]); |
| 1991 checkGuideCategory(o[1]); | 1991 checkGuideCategory(o[1]); |
| 1992 } | 1992 } |
| 1993 | 1993 |
| 1994 core.int buildCounterGuideCategoryListResponse = 0; | 1994 core.int buildCounterGuideCategoryListResponse = 0; |
| 1995 buildGuideCategoryListResponse() { | 1995 buildGuideCategoryListResponse() { |
| 1996 var o = new api.GuideCategoryListResponse(); | 1996 var o = new api.GuideCategoryListResponse(); |
| 1997 buildCounterGuideCategoryListResponse++; | 1997 buildCounterGuideCategoryListResponse++; |
| 1998 if (buildCounterGuideCategoryListResponse < 3) { | 1998 if (buildCounterGuideCategoryListResponse < 3) { |
| 1999 o.etag = "foo"; | 1999 o.etag = "foo"; |
| 2000 o.eventId = "foo"; | 2000 o.eventId = "foo"; |
| 2001 o.items = buildUnnamed2918(); | 2001 o.items = buildUnnamed711(); |
| 2002 o.kind = "foo"; | 2002 o.kind = "foo"; |
| 2003 o.nextPageToken = "foo"; | 2003 o.nextPageToken = "foo"; |
| 2004 o.pageInfo = buildPageInfo(); | 2004 o.pageInfo = buildPageInfo(); |
| 2005 o.prevPageToken = "foo"; | 2005 o.prevPageToken = "foo"; |
| 2006 o.tokenPagination = buildTokenPagination(); | 2006 o.tokenPagination = buildTokenPagination(); |
| 2007 o.visitorId = "foo"; | 2007 o.visitorId = "foo"; |
| 2008 } | 2008 } |
| 2009 buildCounterGuideCategoryListResponse--; | 2009 buildCounterGuideCategoryListResponse--; |
| 2010 return o; | 2010 return o; |
| 2011 } | 2011 } |
| 2012 | 2012 |
| 2013 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 2013 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 2014 buildCounterGuideCategoryListResponse++; | 2014 buildCounterGuideCategoryListResponse++; |
| 2015 if (buildCounterGuideCategoryListResponse < 3) { | 2015 if (buildCounterGuideCategoryListResponse < 3) { |
| 2016 unittest.expect(o.etag, unittest.equals('foo')); | 2016 unittest.expect(o.etag, unittest.equals('foo')); |
| 2017 unittest.expect(o.eventId, unittest.equals('foo')); | 2017 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2018 checkUnnamed2918(o.items); | 2018 checkUnnamed711(o.items); |
| 2019 unittest.expect(o.kind, unittest.equals('foo')); | 2019 unittest.expect(o.kind, unittest.equals('foo')); |
| 2020 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2020 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2021 checkPageInfo(o.pageInfo); | 2021 checkPageInfo(o.pageInfo); |
| 2022 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2022 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2023 checkTokenPagination(o.tokenPagination); | 2023 checkTokenPagination(o.tokenPagination); |
| 2024 unittest.expect(o.visitorId, unittest.equals('foo')); | 2024 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2025 } | 2025 } |
| 2026 buildCounterGuideCategoryListResponse--; | 2026 buildCounterGuideCategoryListResponse--; |
| 2027 } | 2027 } |
| 2028 | 2028 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2065 buildCounterI18nLanguage++; | 2065 buildCounterI18nLanguage++; |
| 2066 if (buildCounterI18nLanguage < 3) { | 2066 if (buildCounterI18nLanguage < 3) { |
| 2067 unittest.expect(o.etag, unittest.equals('foo')); | 2067 unittest.expect(o.etag, unittest.equals('foo')); |
| 2068 unittest.expect(o.id, unittest.equals('foo')); | 2068 unittest.expect(o.id, unittest.equals('foo')); |
| 2069 unittest.expect(o.kind, unittest.equals('foo')); | 2069 unittest.expect(o.kind, unittest.equals('foo')); |
| 2070 checkI18nLanguageSnippet(o.snippet); | 2070 checkI18nLanguageSnippet(o.snippet); |
| 2071 } | 2071 } |
| 2072 buildCounterI18nLanguage--; | 2072 buildCounterI18nLanguage--; |
| 2073 } | 2073 } |
| 2074 | 2074 |
| 2075 buildUnnamed2919() { | 2075 buildUnnamed712() { |
| 2076 var o = new core.List<api.I18nLanguage>(); | 2076 var o = new core.List<api.I18nLanguage>(); |
| 2077 o.add(buildI18nLanguage()); | 2077 o.add(buildI18nLanguage()); |
| 2078 o.add(buildI18nLanguage()); | 2078 o.add(buildI18nLanguage()); |
| 2079 return o; | 2079 return o; |
| 2080 } | 2080 } |
| 2081 | 2081 |
| 2082 checkUnnamed2919(core.List<api.I18nLanguage> o) { | 2082 checkUnnamed712(core.List<api.I18nLanguage> o) { |
| 2083 unittest.expect(o, unittest.hasLength(2)); | 2083 unittest.expect(o, unittest.hasLength(2)); |
| 2084 checkI18nLanguage(o[0]); | 2084 checkI18nLanguage(o[0]); |
| 2085 checkI18nLanguage(o[1]); | 2085 checkI18nLanguage(o[1]); |
| 2086 } | 2086 } |
| 2087 | 2087 |
| 2088 core.int buildCounterI18nLanguageListResponse = 0; | 2088 core.int buildCounterI18nLanguageListResponse = 0; |
| 2089 buildI18nLanguageListResponse() { | 2089 buildI18nLanguageListResponse() { |
| 2090 var o = new api.I18nLanguageListResponse(); | 2090 var o = new api.I18nLanguageListResponse(); |
| 2091 buildCounterI18nLanguageListResponse++; | 2091 buildCounterI18nLanguageListResponse++; |
| 2092 if (buildCounterI18nLanguageListResponse < 3) { | 2092 if (buildCounterI18nLanguageListResponse < 3) { |
| 2093 o.etag = "foo"; | 2093 o.etag = "foo"; |
| 2094 o.eventId = "foo"; | 2094 o.eventId = "foo"; |
| 2095 o.items = buildUnnamed2919(); | 2095 o.items = buildUnnamed712(); |
| 2096 o.kind = "foo"; | 2096 o.kind = "foo"; |
| 2097 o.visitorId = "foo"; | 2097 o.visitorId = "foo"; |
| 2098 } | 2098 } |
| 2099 buildCounterI18nLanguageListResponse--; | 2099 buildCounterI18nLanguageListResponse--; |
| 2100 return o; | 2100 return o; |
| 2101 } | 2101 } |
| 2102 | 2102 |
| 2103 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 2103 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 2104 buildCounterI18nLanguageListResponse++; | 2104 buildCounterI18nLanguageListResponse++; |
| 2105 if (buildCounterI18nLanguageListResponse < 3) { | 2105 if (buildCounterI18nLanguageListResponse < 3) { |
| 2106 unittest.expect(o.etag, unittest.equals('foo')); | 2106 unittest.expect(o.etag, unittest.equals('foo')); |
| 2107 unittest.expect(o.eventId, unittest.equals('foo')); | 2107 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2108 checkUnnamed2919(o.items); | 2108 checkUnnamed712(o.items); |
| 2109 unittest.expect(o.kind, unittest.equals('foo')); | 2109 unittest.expect(o.kind, unittest.equals('foo')); |
| 2110 unittest.expect(o.visitorId, unittest.equals('foo')); | 2110 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2111 } | 2111 } |
| 2112 buildCounterI18nLanguageListResponse--; | 2112 buildCounterI18nLanguageListResponse--; |
| 2113 } | 2113 } |
| 2114 | 2114 |
| 2115 core.int buildCounterI18nLanguageSnippet = 0; | 2115 core.int buildCounterI18nLanguageSnippet = 0; |
| 2116 buildI18nLanguageSnippet() { | 2116 buildI18nLanguageSnippet() { |
| 2117 var o = new api.I18nLanguageSnippet(); | 2117 var o = new api.I18nLanguageSnippet(); |
| 2118 buildCounterI18nLanguageSnippet++; | 2118 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2151 buildCounterI18nRegion++; | 2151 buildCounterI18nRegion++; |
| 2152 if (buildCounterI18nRegion < 3) { | 2152 if (buildCounterI18nRegion < 3) { |
| 2153 unittest.expect(o.etag, unittest.equals('foo')); | 2153 unittest.expect(o.etag, unittest.equals('foo')); |
| 2154 unittest.expect(o.id, unittest.equals('foo')); | 2154 unittest.expect(o.id, unittest.equals('foo')); |
| 2155 unittest.expect(o.kind, unittest.equals('foo')); | 2155 unittest.expect(o.kind, unittest.equals('foo')); |
| 2156 checkI18nRegionSnippet(o.snippet); | 2156 checkI18nRegionSnippet(o.snippet); |
| 2157 } | 2157 } |
| 2158 buildCounterI18nRegion--; | 2158 buildCounterI18nRegion--; |
| 2159 } | 2159 } |
| 2160 | 2160 |
| 2161 buildUnnamed2920() { | 2161 buildUnnamed713() { |
| 2162 var o = new core.List<api.I18nRegion>(); | 2162 var o = new core.List<api.I18nRegion>(); |
| 2163 o.add(buildI18nRegion()); | 2163 o.add(buildI18nRegion()); |
| 2164 o.add(buildI18nRegion()); | 2164 o.add(buildI18nRegion()); |
| 2165 return o; | 2165 return o; |
| 2166 } | 2166 } |
| 2167 | 2167 |
| 2168 checkUnnamed2920(core.List<api.I18nRegion> o) { | 2168 checkUnnamed713(core.List<api.I18nRegion> o) { |
| 2169 unittest.expect(o, unittest.hasLength(2)); | 2169 unittest.expect(o, unittest.hasLength(2)); |
| 2170 checkI18nRegion(o[0]); | 2170 checkI18nRegion(o[0]); |
| 2171 checkI18nRegion(o[1]); | 2171 checkI18nRegion(o[1]); |
| 2172 } | 2172 } |
| 2173 | 2173 |
| 2174 core.int buildCounterI18nRegionListResponse = 0; | 2174 core.int buildCounterI18nRegionListResponse = 0; |
| 2175 buildI18nRegionListResponse() { | 2175 buildI18nRegionListResponse() { |
| 2176 var o = new api.I18nRegionListResponse(); | 2176 var o = new api.I18nRegionListResponse(); |
| 2177 buildCounterI18nRegionListResponse++; | 2177 buildCounterI18nRegionListResponse++; |
| 2178 if (buildCounterI18nRegionListResponse < 3) { | 2178 if (buildCounterI18nRegionListResponse < 3) { |
| 2179 o.etag = "foo"; | 2179 o.etag = "foo"; |
| 2180 o.eventId = "foo"; | 2180 o.eventId = "foo"; |
| 2181 o.items = buildUnnamed2920(); | 2181 o.items = buildUnnamed713(); |
| 2182 o.kind = "foo"; | 2182 o.kind = "foo"; |
| 2183 o.visitorId = "foo"; | 2183 o.visitorId = "foo"; |
| 2184 } | 2184 } |
| 2185 buildCounterI18nRegionListResponse--; | 2185 buildCounterI18nRegionListResponse--; |
| 2186 return o; | 2186 return o; |
| 2187 } | 2187 } |
| 2188 | 2188 |
| 2189 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2189 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 2190 buildCounterI18nRegionListResponse++; | 2190 buildCounterI18nRegionListResponse++; |
| 2191 if (buildCounterI18nRegionListResponse < 3) { | 2191 if (buildCounterI18nRegionListResponse < 3) { |
| 2192 unittest.expect(o.etag, unittest.equals('foo')); | 2192 unittest.expect(o.etag, unittest.equals('foo')); |
| 2193 unittest.expect(o.eventId, unittest.equals('foo')); | 2193 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2194 checkUnnamed2920(o.items); | 2194 checkUnnamed713(o.items); |
| 2195 unittest.expect(o.kind, unittest.equals('foo')); | 2195 unittest.expect(o.kind, unittest.equals('foo')); |
| 2196 unittest.expect(o.visitorId, unittest.equals('foo')); | 2196 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2197 } | 2197 } |
| 2198 buildCounterI18nRegionListResponse--; | 2198 buildCounterI18nRegionListResponse--; |
| 2199 } | 2199 } |
| 2200 | 2200 |
| 2201 core.int buildCounterI18nRegionSnippet = 0; | 2201 core.int buildCounterI18nRegionSnippet = 0; |
| 2202 buildI18nRegionSnippet() { | 2202 buildI18nRegionSnippet() { |
| 2203 var o = new api.I18nRegionSnippet(); | 2203 var o = new api.I18nRegionSnippet(); |
| 2204 buildCounterI18nRegionSnippet++; | 2204 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2344 | 2344 |
| 2345 checkInvideoPosition(api.InvideoPosition o) { | 2345 checkInvideoPosition(api.InvideoPosition o) { |
| 2346 buildCounterInvideoPosition++; | 2346 buildCounterInvideoPosition++; |
| 2347 if (buildCounterInvideoPosition < 3) { | 2347 if (buildCounterInvideoPosition < 3) { |
| 2348 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2348 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 2349 unittest.expect(o.type, unittest.equals('foo')); | 2349 unittest.expect(o.type, unittest.equals('foo')); |
| 2350 } | 2350 } |
| 2351 buildCounterInvideoPosition--; | 2351 buildCounterInvideoPosition--; |
| 2352 } | 2352 } |
| 2353 | 2353 |
| 2354 buildUnnamed2921() { | 2354 buildUnnamed714() { |
| 2355 var o = new core.List<api.PromotedItem>(); | 2355 var o = new core.List<api.PromotedItem>(); |
| 2356 o.add(buildPromotedItem()); | 2356 o.add(buildPromotedItem()); |
| 2357 o.add(buildPromotedItem()); | 2357 o.add(buildPromotedItem()); |
| 2358 return o; | 2358 return o; |
| 2359 } | 2359 } |
| 2360 | 2360 |
| 2361 checkUnnamed2921(core.List<api.PromotedItem> o) { | 2361 checkUnnamed714(core.List<api.PromotedItem> o) { |
| 2362 unittest.expect(o, unittest.hasLength(2)); | 2362 unittest.expect(o, unittest.hasLength(2)); |
| 2363 checkPromotedItem(o[0]); | 2363 checkPromotedItem(o[0]); |
| 2364 checkPromotedItem(o[1]); | 2364 checkPromotedItem(o[1]); |
| 2365 } | 2365 } |
| 2366 | 2366 |
| 2367 core.int buildCounterInvideoPromotion = 0; | 2367 core.int buildCounterInvideoPromotion = 0; |
| 2368 buildInvideoPromotion() { | 2368 buildInvideoPromotion() { |
| 2369 var o = new api.InvideoPromotion(); | 2369 var o = new api.InvideoPromotion(); |
| 2370 buildCounterInvideoPromotion++; | 2370 buildCounterInvideoPromotion++; |
| 2371 if (buildCounterInvideoPromotion < 3) { | 2371 if (buildCounterInvideoPromotion < 3) { |
| 2372 o.defaultTiming = buildInvideoTiming(); | 2372 o.defaultTiming = buildInvideoTiming(); |
| 2373 o.items = buildUnnamed2921(); | 2373 o.items = buildUnnamed714(); |
| 2374 o.position = buildInvideoPosition(); | 2374 o.position = buildInvideoPosition(); |
| 2375 o.useSmartTiming = true; | 2375 o.useSmartTiming = true; |
| 2376 } | 2376 } |
| 2377 buildCounterInvideoPromotion--; | 2377 buildCounterInvideoPromotion--; |
| 2378 return o; | 2378 return o; |
| 2379 } | 2379 } |
| 2380 | 2380 |
| 2381 checkInvideoPromotion(api.InvideoPromotion o) { | 2381 checkInvideoPromotion(api.InvideoPromotion o) { |
| 2382 buildCounterInvideoPromotion++; | 2382 buildCounterInvideoPromotion++; |
| 2383 if (buildCounterInvideoPromotion < 3) { | 2383 if (buildCounterInvideoPromotion < 3) { |
| 2384 checkInvideoTiming(o.defaultTiming); | 2384 checkInvideoTiming(o.defaultTiming); |
| 2385 checkUnnamed2921(o.items); | 2385 checkUnnamed714(o.items); |
| 2386 checkInvideoPosition(o.position); | 2386 checkInvideoPosition(o.position); |
| 2387 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2387 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 2388 } | 2388 } |
| 2389 buildCounterInvideoPromotion--; | 2389 buildCounterInvideoPromotion--; |
| 2390 } | 2390 } |
| 2391 | 2391 |
| 2392 core.int buildCounterInvideoTiming = 0; | 2392 core.int buildCounterInvideoTiming = 0; |
| 2393 buildInvideoTiming() { | 2393 buildInvideoTiming() { |
| 2394 var o = new api.InvideoTiming(); | 2394 var o = new api.InvideoTiming(); |
| 2395 buildCounterInvideoTiming++; | 2395 buildCounterInvideoTiming++; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2498 unittest.expect(o.enableEmbed, unittest.isTrue); | 2498 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 2499 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2499 unittest.expect(o.enableLowLatency, unittest.isTrue); |
| 2500 checkMonitorStreamInfo(o.monitorStream); | 2500 checkMonitorStreamInfo(o.monitorStream); |
| 2501 unittest.expect(o.projection, unittest.equals('foo')); | 2501 unittest.expect(o.projection, unittest.equals('foo')); |
| 2502 unittest.expect(o.recordFromStart, unittest.isTrue); | 2502 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 2503 unittest.expect(o.startWithSlate, unittest.isTrue); | 2503 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 2504 } | 2504 } |
| 2505 buildCounterLiveBroadcastContentDetails--; | 2505 buildCounterLiveBroadcastContentDetails--; |
| 2506 } | 2506 } |
| 2507 | 2507 |
| 2508 buildUnnamed2922() { | 2508 buildUnnamed715() { |
| 2509 var o = new core.List<api.LiveBroadcast>(); | 2509 var o = new core.List<api.LiveBroadcast>(); |
| 2510 o.add(buildLiveBroadcast()); | 2510 o.add(buildLiveBroadcast()); |
| 2511 o.add(buildLiveBroadcast()); | 2511 o.add(buildLiveBroadcast()); |
| 2512 return o; | 2512 return o; |
| 2513 } | 2513 } |
| 2514 | 2514 |
| 2515 checkUnnamed2922(core.List<api.LiveBroadcast> o) { | 2515 checkUnnamed715(core.List<api.LiveBroadcast> o) { |
| 2516 unittest.expect(o, unittest.hasLength(2)); | 2516 unittest.expect(o, unittest.hasLength(2)); |
| 2517 checkLiveBroadcast(o[0]); | 2517 checkLiveBroadcast(o[0]); |
| 2518 checkLiveBroadcast(o[1]); | 2518 checkLiveBroadcast(o[1]); |
| 2519 } | 2519 } |
| 2520 | 2520 |
| 2521 core.int buildCounterLiveBroadcastListResponse = 0; | 2521 core.int buildCounterLiveBroadcastListResponse = 0; |
| 2522 buildLiveBroadcastListResponse() { | 2522 buildLiveBroadcastListResponse() { |
| 2523 var o = new api.LiveBroadcastListResponse(); | 2523 var o = new api.LiveBroadcastListResponse(); |
| 2524 buildCounterLiveBroadcastListResponse++; | 2524 buildCounterLiveBroadcastListResponse++; |
| 2525 if (buildCounterLiveBroadcastListResponse < 3) { | 2525 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2526 o.etag = "foo"; | 2526 o.etag = "foo"; |
| 2527 o.eventId = "foo"; | 2527 o.eventId = "foo"; |
| 2528 o.items = buildUnnamed2922(); | 2528 o.items = buildUnnamed715(); |
| 2529 o.kind = "foo"; | 2529 o.kind = "foo"; |
| 2530 o.nextPageToken = "foo"; | 2530 o.nextPageToken = "foo"; |
| 2531 o.pageInfo = buildPageInfo(); | 2531 o.pageInfo = buildPageInfo(); |
| 2532 o.prevPageToken = "foo"; | 2532 o.prevPageToken = "foo"; |
| 2533 o.tokenPagination = buildTokenPagination(); | 2533 o.tokenPagination = buildTokenPagination(); |
| 2534 o.visitorId = "foo"; | 2534 o.visitorId = "foo"; |
| 2535 } | 2535 } |
| 2536 buildCounterLiveBroadcastListResponse--; | 2536 buildCounterLiveBroadcastListResponse--; |
| 2537 return o; | 2537 return o; |
| 2538 } | 2538 } |
| 2539 | 2539 |
| 2540 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2540 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 2541 buildCounterLiveBroadcastListResponse++; | 2541 buildCounterLiveBroadcastListResponse++; |
| 2542 if (buildCounterLiveBroadcastListResponse < 3) { | 2542 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2543 unittest.expect(o.etag, unittest.equals('foo')); | 2543 unittest.expect(o.etag, unittest.equals('foo')); |
| 2544 unittest.expect(o.eventId, unittest.equals('foo')); | 2544 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2545 checkUnnamed2922(o.items); | 2545 checkUnnamed715(o.items); |
| 2546 unittest.expect(o.kind, unittest.equals('foo')); | 2546 unittest.expect(o.kind, unittest.equals('foo')); |
| 2547 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2547 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2548 checkPageInfo(o.pageInfo); | 2548 checkPageInfo(o.pageInfo); |
| 2549 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2549 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2550 checkTokenPagination(o.tokenPagination); | 2550 checkTokenPagination(o.tokenPagination); |
| 2551 unittest.expect(o.visitorId, unittest.equals('foo')); | 2551 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2552 } | 2552 } |
| 2553 buildCounterLiveBroadcastListResponse--; | 2553 buildCounterLiveBroadcastListResponse--; |
| 2554 } | 2554 } |
| 2555 | 2555 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2654 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2654 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
| 2655 buildCounterLiveBroadcastTopic++; | 2655 buildCounterLiveBroadcastTopic++; |
| 2656 if (buildCounterLiveBroadcastTopic < 3) { | 2656 if (buildCounterLiveBroadcastTopic < 3) { |
| 2657 checkLiveBroadcastTopicSnippet(o.snippet); | 2657 checkLiveBroadcastTopicSnippet(o.snippet); |
| 2658 unittest.expect(o.type, unittest.equals('foo')); | 2658 unittest.expect(o.type, unittest.equals('foo')); |
| 2659 unittest.expect(o.unmatched, unittest.isTrue); | 2659 unittest.expect(o.unmatched, unittest.isTrue); |
| 2660 } | 2660 } |
| 2661 buildCounterLiveBroadcastTopic--; | 2661 buildCounterLiveBroadcastTopic--; |
| 2662 } | 2662 } |
| 2663 | 2663 |
| 2664 buildUnnamed2923() { | 2664 buildUnnamed716() { |
| 2665 var o = new core.List<api.LiveBroadcastTopic>(); | 2665 var o = new core.List<api.LiveBroadcastTopic>(); |
| 2666 o.add(buildLiveBroadcastTopic()); | 2666 o.add(buildLiveBroadcastTopic()); |
| 2667 o.add(buildLiveBroadcastTopic()); | 2667 o.add(buildLiveBroadcastTopic()); |
| 2668 return o; | 2668 return o; |
| 2669 } | 2669 } |
| 2670 | 2670 |
| 2671 checkUnnamed2923(core.List<api.LiveBroadcastTopic> o) { | 2671 checkUnnamed716(core.List<api.LiveBroadcastTopic> o) { |
| 2672 unittest.expect(o, unittest.hasLength(2)); | 2672 unittest.expect(o, unittest.hasLength(2)); |
| 2673 checkLiveBroadcastTopic(o[0]); | 2673 checkLiveBroadcastTopic(o[0]); |
| 2674 checkLiveBroadcastTopic(o[1]); | 2674 checkLiveBroadcastTopic(o[1]); |
| 2675 } | 2675 } |
| 2676 | 2676 |
| 2677 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2677 core.int buildCounterLiveBroadcastTopicDetails = 0; |
| 2678 buildLiveBroadcastTopicDetails() { | 2678 buildLiveBroadcastTopicDetails() { |
| 2679 var o = new api.LiveBroadcastTopicDetails(); | 2679 var o = new api.LiveBroadcastTopicDetails(); |
| 2680 buildCounterLiveBroadcastTopicDetails++; | 2680 buildCounterLiveBroadcastTopicDetails++; |
| 2681 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2681 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2682 o.topics = buildUnnamed2923(); | 2682 o.topics = buildUnnamed716(); |
| 2683 } | 2683 } |
| 2684 buildCounterLiveBroadcastTopicDetails--; | 2684 buildCounterLiveBroadcastTopicDetails--; |
| 2685 return o; | 2685 return o; |
| 2686 } | 2686 } |
| 2687 | 2687 |
| 2688 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2688 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
| 2689 buildCounterLiveBroadcastTopicDetails++; | 2689 buildCounterLiveBroadcastTopicDetails++; |
| 2690 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2690 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2691 checkUnnamed2923(o.topics); | 2691 checkUnnamed716(o.topics); |
| 2692 } | 2692 } |
| 2693 buildCounterLiveBroadcastTopicDetails--; | 2693 buildCounterLiveBroadcastTopicDetails--; |
| 2694 } | 2694 } |
| 2695 | 2695 |
| 2696 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2696 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
| 2697 buildLiveBroadcastTopicSnippet() { | 2697 buildLiveBroadcastTopicSnippet() { |
| 2698 var o = new api.LiveBroadcastTopicSnippet(); | 2698 var o = new api.LiveBroadcastTopicSnippet(); |
| 2699 buildCounterLiveBroadcastTopicSnippet++; | 2699 buildCounterLiveBroadcastTopicSnippet++; |
| 2700 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2700 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
| 2701 o.name = "foo"; | 2701 o.name = "foo"; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2861 } | 2861 } |
| 2862 | 2862 |
| 2863 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { | 2863 checkLiveChatMessageDeletedDetails(api.LiveChatMessageDeletedDetails o) { |
| 2864 buildCounterLiveChatMessageDeletedDetails++; | 2864 buildCounterLiveChatMessageDeletedDetails++; |
| 2865 if (buildCounterLiveChatMessageDeletedDetails < 3) { | 2865 if (buildCounterLiveChatMessageDeletedDetails < 3) { |
| 2866 unittest.expect(o.deletedMessageId, unittest.equals('foo')); | 2866 unittest.expect(o.deletedMessageId, unittest.equals('foo')); |
| 2867 } | 2867 } |
| 2868 buildCounterLiveChatMessageDeletedDetails--; | 2868 buildCounterLiveChatMessageDeletedDetails--; |
| 2869 } | 2869 } |
| 2870 | 2870 |
| 2871 buildUnnamed2924() { | 2871 buildUnnamed717() { |
| 2872 var o = new core.List<api.LiveChatMessage>(); | 2872 var o = new core.List<api.LiveChatMessage>(); |
| 2873 o.add(buildLiveChatMessage()); | 2873 o.add(buildLiveChatMessage()); |
| 2874 o.add(buildLiveChatMessage()); | 2874 o.add(buildLiveChatMessage()); |
| 2875 return o; | 2875 return o; |
| 2876 } | 2876 } |
| 2877 | 2877 |
| 2878 checkUnnamed2924(core.List<api.LiveChatMessage> o) { | 2878 checkUnnamed717(core.List<api.LiveChatMessage> o) { |
| 2879 unittest.expect(o, unittest.hasLength(2)); | 2879 unittest.expect(o, unittest.hasLength(2)); |
| 2880 checkLiveChatMessage(o[0]); | 2880 checkLiveChatMessage(o[0]); |
| 2881 checkLiveChatMessage(o[1]); | 2881 checkLiveChatMessage(o[1]); |
| 2882 } | 2882 } |
| 2883 | 2883 |
| 2884 core.int buildCounterLiveChatMessageListResponse = 0; | 2884 core.int buildCounterLiveChatMessageListResponse = 0; |
| 2885 buildLiveChatMessageListResponse() { | 2885 buildLiveChatMessageListResponse() { |
| 2886 var o = new api.LiveChatMessageListResponse(); | 2886 var o = new api.LiveChatMessageListResponse(); |
| 2887 buildCounterLiveChatMessageListResponse++; | 2887 buildCounterLiveChatMessageListResponse++; |
| 2888 if (buildCounterLiveChatMessageListResponse < 3) { | 2888 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2889 o.etag = "foo"; | 2889 o.etag = "foo"; |
| 2890 o.eventId = "foo"; | 2890 o.eventId = "foo"; |
| 2891 o.items = buildUnnamed2924(); | 2891 o.items = buildUnnamed717(); |
| 2892 o.kind = "foo"; | 2892 o.kind = "foo"; |
| 2893 o.nextPageToken = "foo"; | 2893 o.nextPageToken = "foo"; |
| 2894 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2894 o.offlineAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2895 o.pageInfo = buildPageInfo(); | 2895 o.pageInfo = buildPageInfo(); |
| 2896 o.pollingIntervalMillis = 42; | 2896 o.pollingIntervalMillis = 42; |
| 2897 o.tokenPagination = buildTokenPagination(); | 2897 o.tokenPagination = buildTokenPagination(); |
| 2898 o.visitorId = "foo"; | 2898 o.visitorId = "foo"; |
| 2899 } | 2899 } |
| 2900 buildCounterLiveChatMessageListResponse--; | 2900 buildCounterLiveChatMessageListResponse--; |
| 2901 return o; | 2901 return o; |
| 2902 } | 2902 } |
| 2903 | 2903 |
| 2904 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { | 2904 checkLiveChatMessageListResponse(api.LiveChatMessageListResponse o) { |
| 2905 buildCounterLiveChatMessageListResponse++; | 2905 buildCounterLiveChatMessageListResponse++; |
| 2906 if (buildCounterLiveChatMessageListResponse < 3) { | 2906 if (buildCounterLiveChatMessageListResponse < 3) { |
| 2907 unittest.expect(o.etag, unittest.equals('foo')); | 2907 unittest.expect(o.etag, unittest.equals('foo')); |
| 2908 unittest.expect(o.eventId, unittest.equals('foo')); | 2908 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2909 checkUnnamed2924(o.items); | 2909 checkUnnamed717(o.items); |
| 2910 unittest.expect(o.kind, unittest.equals('foo')); | 2910 unittest.expect(o.kind, unittest.equals('foo')); |
| 2911 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2911 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2912 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 2912 unittest.expect(o.offlineAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 2913 checkPageInfo(o.pageInfo); | 2913 checkPageInfo(o.pageInfo); |
| 2914 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); | 2914 unittest.expect(o.pollingIntervalMillis, unittest.equals(42)); |
| 2915 checkTokenPagination(o.tokenPagination); | 2915 checkTokenPagination(o.tokenPagination); |
| 2916 unittest.expect(o.visitorId, unittest.equals('foo')); | 2916 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2917 } | 2917 } |
| 2918 buildCounterLiveChatMessageListResponse--; | 2918 buildCounterLiveChatMessageListResponse--; |
| 2919 } | 2919 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 2942 var o = new api.LiveChatMessageSnippet(); | 2942 var o = new api.LiveChatMessageSnippet(); |
| 2943 buildCounterLiveChatMessageSnippet++; | 2943 buildCounterLiveChatMessageSnippet++; |
| 2944 if (buildCounterLiveChatMessageSnippet < 3) { | 2944 if (buildCounterLiveChatMessageSnippet < 3) { |
| 2945 o.authorChannelId = "foo"; | 2945 o.authorChannelId = "foo"; |
| 2946 o.displayMessage = "foo"; | 2946 o.displayMessage = "foo"; |
| 2947 o.fanFundingEventDetails = buildLiveChatFanFundingEventDetails(); | 2947 o.fanFundingEventDetails = buildLiveChatFanFundingEventDetails(); |
| 2948 o.hasDisplayContent = true; | 2948 o.hasDisplayContent = true; |
| 2949 o.liveChatId = "foo"; | 2949 o.liveChatId = "foo"; |
| 2950 o.messageDeletedDetails = buildLiveChatMessageDeletedDetails(); | 2950 o.messageDeletedDetails = buildLiveChatMessageDeletedDetails(); |
| 2951 o.messageRetractedDetails = buildLiveChatMessageRetractedDetails(); | 2951 o.messageRetractedDetails = buildLiveChatMessageRetractedDetails(); |
| 2952 o.pollClosedDetails = buildLiveChatPollClosedDetails(); |
| 2953 o.pollEditedDetails = buildLiveChatPollEditedDetails(); |
| 2954 o.pollOpenedDetails = buildLiveChatPollOpenedDetails(); |
| 2955 o.pollVotedDetails = buildLiveChatPollVotedDetails(); |
| 2952 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2956 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2953 o.textMessageDetails = buildLiveChatTextMessageDetails(); | 2957 o.textMessageDetails = buildLiveChatTextMessageDetails(); |
| 2954 o.type = "foo"; | 2958 o.type = "foo"; |
| 2955 o.userBannedDetails = buildLiveChatUserBannedMessageDetails(); | 2959 o.userBannedDetails = buildLiveChatUserBannedMessageDetails(); |
| 2956 } | 2960 } |
| 2957 buildCounterLiveChatMessageSnippet--; | 2961 buildCounterLiveChatMessageSnippet--; |
| 2958 return o; | 2962 return o; |
| 2959 } | 2963 } |
| 2960 | 2964 |
| 2961 checkLiveChatMessageSnippet(api.LiveChatMessageSnippet o) { | 2965 checkLiveChatMessageSnippet(api.LiveChatMessageSnippet o) { |
| 2962 buildCounterLiveChatMessageSnippet++; | 2966 buildCounterLiveChatMessageSnippet++; |
| 2963 if (buildCounterLiveChatMessageSnippet < 3) { | 2967 if (buildCounterLiveChatMessageSnippet < 3) { |
| 2964 unittest.expect(o.authorChannelId, unittest.equals('foo')); | 2968 unittest.expect(o.authorChannelId, unittest.equals('foo')); |
| 2965 unittest.expect(o.displayMessage, unittest.equals('foo')); | 2969 unittest.expect(o.displayMessage, unittest.equals('foo')); |
| 2966 checkLiveChatFanFundingEventDetails(o.fanFundingEventDetails); | 2970 checkLiveChatFanFundingEventDetails(o.fanFundingEventDetails); |
| 2967 unittest.expect(o.hasDisplayContent, unittest.isTrue); | 2971 unittest.expect(o.hasDisplayContent, unittest.isTrue); |
| 2968 unittest.expect(o.liveChatId, unittest.equals('foo')); | 2972 unittest.expect(o.liveChatId, unittest.equals('foo')); |
| 2969 checkLiveChatMessageDeletedDetails(o.messageDeletedDetails); | 2973 checkLiveChatMessageDeletedDetails(o.messageDeletedDetails); |
| 2970 checkLiveChatMessageRetractedDetails(o.messageRetractedDetails); | 2974 checkLiveChatMessageRetractedDetails(o.messageRetractedDetails); |
| 2975 checkLiveChatPollClosedDetails(o.pollClosedDetails); |
| 2976 checkLiveChatPollEditedDetails(o.pollEditedDetails); |
| 2977 checkLiveChatPollOpenedDetails(o.pollOpenedDetails); |
| 2978 checkLiveChatPollVotedDetails(o.pollVotedDetails); |
| 2971 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 2979 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 2972 checkLiveChatTextMessageDetails(o.textMessageDetails); | 2980 checkLiveChatTextMessageDetails(o.textMessageDetails); |
| 2973 unittest.expect(o.type, unittest.equals('foo')); | 2981 unittest.expect(o.type, unittest.equals('foo')); |
| 2974 checkLiveChatUserBannedMessageDetails(o.userBannedDetails); | 2982 checkLiveChatUserBannedMessageDetails(o.userBannedDetails); |
| 2975 } | 2983 } |
| 2976 buildCounterLiveChatMessageSnippet--; | 2984 buildCounterLiveChatMessageSnippet--; |
| 2977 } | 2985 } |
| 2978 | 2986 |
| 2979 core.int buildCounterLiveChatModerator = 0; | 2987 core.int buildCounterLiveChatModerator = 0; |
| 2980 buildLiveChatModerator() { | 2988 buildLiveChatModerator() { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 2994 buildCounterLiveChatModerator++; | 3002 buildCounterLiveChatModerator++; |
| 2995 if (buildCounterLiveChatModerator < 3) { | 3003 if (buildCounterLiveChatModerator < 3) { |
| 2996 unittest.expect(o.etag, unittest.equals('foo')); | 3004 unittest.expect(o.etag, unittest.equals('foo')); |
| 2997 unittest.expect(o.id, unittest.equals('foo')); | 3005 unittest.expect(o.id, unittest.equals('foo')); |
| 2998 unittest.expect(o.kind, unittest.equals('foo')); | 3006 unittest.expect(o.kind, unittest.equals('foo')); |
| 2999 checkLiveChatModeratorSnippet(o.snippet); | 3007 checkLiveChatModeratorSnippet(o.snippet); |
| 3000 } | 3008 } |
| 3001 buildCounterLiveChatModerator--; | 3009 buildCounterLiveChatModerator--; |
| 3002 } | 3010 } |
| 3003 | 3011 |
| 3004 buildUnnamed2925() { | 3012 buildUnnamed718() { |
| 3005 var o = new core.List<api.LiveChatModerator>(); | 3013 var o = new core.List<api.LiveChatModerator>(); |
| 3006 o.add(buildLiveChatModerator()); | 3014 o.add(buildLiveChatModerator()); |
| 3007 o.add(buildLiveChatModerator()); | 3015 o.add(buildLiveChatModerator()); |
| 3008 return o; | 3016 return o; |
| 3009 } | 3017 } |
| 3010 | 3018 |
| 3011 checkUnnamed2925(core.List<api.LiveChatModerator> o) { | 3019 checkUnnamed718(core.List<api.LiveChatModerator> o) { |
| 3012 unittest.expect(o, unittest.hasLength(2)); | 3020 unittest.expect(o, unittest.hasLength(2)); |
| 3013 checkLiveChatModerator(o[0]); | 3021 checkLiveChatModerator(o[0]); |
| 3014 checkLiveChatModerator(o[1]); | 3022 checkLiveChatModerator(o[1]); |
| 3015 } | 3023 } |
| 3016 | 3024 |
| 3017 core.int buildCounterLiveChatModeratorListResponse = 0; | 3025 core.int buildCounterLiveChatModeratorListResponse = 0; |
| 3018 buildLiveChatModeratorListResponse() { | 3026 buildLiveChatModeratorListResponse() { |
| 3019 var o = new api.LiveChatModeratorListResponse(); | 3027 var o = new api.LiveChatModeratorListResponse(); |
| 3020 buildCounterLiveChatModeratorListResponse++; | 3028 buildCounterLiveChatModeratorListResponse++; |
| 3021 if (buildCounterLiveChatModeratorListResponse < 3) { | 3029 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3022 o.etag = "foo"; | 3030 o.etag = "foo"; |
| 3023 o.eventId = "foo"; | 3031 o.eventId = "foo"; |
| 3024 o.items = buildUnnamed2925(); | 3032 o.items = buildUnnamed718(); |
| 3025 o.kind = "foo"; | 3033 o.kind = "foo"; |
| 3026 o.nextPageToken = "foo"; | 3034 o.nextPageToken = "foo"; |
| 3027 o.pageInfo = buildPageInfo(); | 3035 o.pageInfo = buildPageInfo(); |
| 3028 o.prevPageToken = "foo"; | 3036 o.prevPageToken = "foo"; |
| 3029 o.tokenPagination = buildTokenPagination(); | 3037 o.tokenPagination = buildTokenPagination(); |
| 3030 o.visitorId = "foo"; | 3038 o.visitorId = "foo"; |
| 3031 } | 3039 } |
| 3032 buildCounterLiveChatModeratorListResponse--; | 3040 buildCounterLiveChatModeratorListResponse--; |
| 3033 return o; | 3041 return o; |
| 3034 } | 3042 } |
| 3035 | 3043 |
| 3036 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { | 3044 checkLiveChatModeratorListResponse(api.LiveChatModeratorListResponse o) { |
| 3037 buildCounterLiveChatModeratorListResponse++; | 3045 buildCounterLiveChatModeratorListResponse++; |
| 3038 if (buildCounterLiveChatModeratorListResponse < 3) { | 3046 if (buildCounterLiveChatModeratorListResponse < 3) { |
| 3039 unittest.expect(o.etag, unittest.equals('foo')); | 3047 unittest.expect(o.etag, unittest.equals('foo')); |
| 3040 unittest.expect(o.eventId, unittest.equals('foo')); | 3048 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3041 checkUnnamed2925(o.items); | 3049 checkUnnamed718(o.items); |
| 3042 unittest.expect(o.kind, unittest.equals('foo')); | 3050 unittest.expect(o.kind, unittest.equals('foo')); |
| 3043 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3051 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3044 checkPageInfo(o.pageInfo); | 3052 checkPageInfo(o.pageInfo); |
| 3045 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3053 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3046 checkTokenPagination(o.tokenPagination); | 3054 checkTokenPagination(o.tokenPagination); |
| 3047 unittest.expect(o.visitorId, unittest.equals('foo')); | 3055 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3048 } | 3056 } |
| 3049 buildCounterLiveChatModeratorListResponse--; | 3057 buildCounterLiveChatModeratorListResponse--; |
| 3050 } | 3058 } |
| 3051 | 3059 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3063 | 3071 |
| 3064 checkLiveChatModeratorSnippet(api.LiveChatModeratorSnippet o) { | 3072 checkLiveChatModeratorSnippet(api.LiveChatModeratorSnippet o) { |
| 3065 buildCounterLiveChatModeratorSnippet++; | 3073 buildCounterLiveChatModeratorSnippet++; |
| 3066 if (buildCounterLiveChatModeratorSnippet < 3) { | 3074 if (buildCounterLiveChatModeratorSnippet < 3) { |
| 3067 unittest.expect(o.liveChatId, unittest.equals('foo')); | 3075 unittest.expect(o.liveChatId, unittest.equals('foo')); |
| 3068 checkChannelProfileDetails(o.moderatorDetails); | 3076 checkChannelProfileDetails(o.moderatorDetails); |
| 3069 } | 3077 } |
| 3070 buildCounterLiveChatModeratorSnippet--; | 3078 buildCounterLiveChatModeratorSnippet--; |
| 3071 } | 3079 } |
| 3072 | 3080 |
| 3081 core.int buildCounterLiveChatPollClosedDetails = 0; |
| 3082 buildLiveChatPollClosedDetails() { |
| 3083 var o = new api.LiveChatPollClosedDetails(); |
| 3084 buildCounterLiveChatPollClosedDetails++; |
| 3085 if (buildCounterLiveChatPollClosedDetails < 3) { |
| 3086 o.pollId = "foo"; |
| 3087 } |
| 3088 buildCounterLiveChatPollClosedDetails--; |
| 3089 return o; |
| 3090 } |
| 3091 |
| 3092 checkLiveChatPollClosedDetails(api.LiveChatPollClosedDetails o) { |
| 3093 buildCounterLiveChatPollClosedDetails++; |
| 3094 if (buildCounterLiveChatPollClosedDetails < 3) { |
| 3095 unittest.expect(o.pollId, unittest.equals('foo')); |
| 3096 } |
| 3097 buildCounterLiveChatPollClosedDetails--; |
| 3098 } |
| 3099 |
| 3100 buildUnnamed719() { |
| 3101 var o = new core.List<api.LiveChatPollItem>(); |
| 3102 o.add(buildLiveChatPollItem()); |
| 3103 o.add(buildLiveChatPollItem()); |
| 3104 return o; |
| 3105 } |
| 3106 |
| 3107 checkUnnamed719(core.List<api.LiveChatPollItem> o) { |
| 3108 unittest.expect(o, unittest.hasLength(2)); |
| 3109 checkLiveChatPollItem(o[0]); |
| 3110 checkLiveChatPollItem(o[1]); |
| 3111 } |
| 3112 |
| 3113 core.int buildCounterLiveChatPollEditedDetails = 0; |
| 3114 buildLiveChatPollEditedDetails() { |
| 3115 var o = new api.LiveChatPollEditedDetails(); |
| 3116 buildCounterLiveChatPollEditedDetails++; |
| 3117 if (buildCounterLiveChatPollEditedDetails < 3) { |
| 3118 o.id = "foo"; |
| 3119 o.items = buildUnnamed719(); |
| 3120 o.prompt = "foo"; |
| 3121 } |
| 3122 buildCounterLiveChatPollEditedDetails--; |
| 3123 return o; |
| 3124 } |
| 3125 |
| 3126 checkLiveChatPollEditedDetails(api.LiveChatPollEditedDetails o) { |
| 3127 buildCounterLiveChatPollEditedDetails++; |
| 3128 if (buildCounterLiveChatPollEditedDetails < 3) { |
| 3129 unittest.expect(o.id, unittest.equals('foo')); |
| 3130 checkUnnamed719(o.items); |
| 3131 unittest.expect(o.prompt, unittest.equals('foo')); |
| 3132 } |
| 3133 buildCounterLiveChatPollEditedDetails--; |
| 3134 } |
| 3135 |
| 3136 core.int buildCounterLiveChatPollItem = 0; |
| 3137 buildLiveChatPollItem() { |
| 3138 var o = new api.LiveChatPollItem(); |
| 3139 buildCounterLiveChatPollItem++; |
| 3140 if (buildCounterLiveChatPollItem < 3) { |
| 3141 o.description = "foo"; |
| 3142 o.itemId = "foo"; |
| 3143 } |
| 3144 buildCounterLiveChatPollItem--; |
| 3145 return o; |
| 3146 } |
| 3147 |
| 3148 checkLiveChatPollItem(api.LiveChatPollItem o) { |
| 3149 buildCounterLiveChatPollItem++; |
| 3150 if (buildCounterLiveChatPollItem < 3) { |
| 3151 unittest.expect(o.description, unittest.equals('foo')); |
| 3152 unittest.expect(o.itemId, unittest.equals('foo')); |
| 3153 } |
| 3154 buildCounterLiveChatPollItem--; |
| 3155 } |
| 3156 |
| 3157 buildUnnamed720() { |
| 3158 var o = new core.List<api.LiveChatPollItem>(); |
| 3159 o.add(buildLiveChatPollItem()); |
| 3160 o.add(buildLiveChatPollItem()); |
| 3161 return o; |
| 3162 } |
| 3163 |
| 3164 checkUnnamed720(core.List<api.LiveChatPollItem> o) { |
| 3165 unittest.expect(o, unittest.hasLength(2)); |
| 3166 checkLiveChatPollItem(o[0]); |
| 3167 checkLiveChatPollItem(o[1]); |
| 3168 } |
| 3169 |
| 3170 core.int buildCounterLiveChatPollOpenedDetails = 0; |
| 3171 buildLiveChatPollOpenedDetails() { |
| 3172 var o = new api.LiveChatPollOpenedDetails(); |
| 3173 buildCounterLiveChatPollOpenedDetails++; |
| 3174 if (buildCounterLiveChatPollOpenedDetails < 3) { |
| 3175 o.id = "foo"; |
| 3176 o.items = buildUnnamed720(); |
| 3177 o.prompt = "foo"; |
| 3178 } |
| 3179 buildCounterLiveChatPollOpenedDetails--; |
| 3180 return o; |
| 3181 } |
| 3182 |
| 3183 checkLiveChatPollOpenedDetails(api.LiveChatPollOpenedDetails o) { |
| 3184 buildCounterLiveChatPollOpenedDetails++; |
| 3185 if (buildCounterLiveChatPollOpenedDetails < 3) { |
| 3186 unittest.expect(o.id, unittest.equals('foo')); |
| 3187 checkUnnamed720(o.items); |
| 3188 unittest.expect(o.prompt, unittest.equals('foo')); |
| 3189 } |
| 3190 buildCounterLiveChatPollOpenedDetails--; |
| 3191 } |
| 3192 |
| 3193 core.int buildCounterLiveChatPollVotedDetails = 0; |
| 3194 buildLiveChatPollVotedDetails() { |
| 3195 var o = new api.LiveChatPollVotedDetails(); |
| 3196 buildCounterLiveChatPollVotedDetails++; |
| 3197 if (buildCounterLiveChatPollVotedDetails < 3) { |
| 3198 o.itemId = "foo"; |
| 3199 o.pollId = "foo"; |
| 3200 } |
| 3201 buildCounterLiveChatPollVotedDetails--; |
| 3202 return o; |
| 3203 } |
| 3204 |
| 3205 checkLiveChatPollVotedDetails(api.LiveChatPollVotedDetails o) { |
| 3206 buildCounterLiveChatPollVotedDetails++; |
| 3207 if (buildCounterLiveChatPollVotedDetails < 3) { |
| 3208 unittest.expect(o.itemId, unittest.equals('foo')); |
| 3209 unittest.expect(o.pollId, unittest.equals('foo')); |
| 3210 } |
| 3211 buildCounterLiveChatPollVotedDetails--; |
| 3212 } |
| 3213 |
| 3073 core.int buildCounterLiveChatTextMessageDetails = 0; | 3214 core.int buildCounterLiveChatTextMessageDetails = 0; |
| 3074 buildLiveChatTextMessageDetails() { | 3215 buildLiveChatTextMessageDetails() { |
| 3075 var o = new api.LiveChatTextMessageDetails(); | 3216 var o = new api.LiveChatTextMessageDetails(); |
| 3076 buildCounterLiveChatTextMessageDetails++; | 3217 buildCounterLiveChatTextMessageDetails++; |
| 3077 if (buildCounterLiveChatTextMessageDetails < 3) { | 3218 if (buildCounterLiveChatTextMessageDetails < 3) { |
| 3078 o.messageText = "foo"; | 3219 o.messageText = "foo"; |
| 3079 } | 3220 } |
| 3080 buildCounterLiveChatTextMessageDetails--; | 3221 buildCounterLiveChatTextMessageDetails--; |
| 3081 return o; | 3222 return o; |
| 3082 } | 3223 } |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3182 | 3323 |
| 3183 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 3324 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 3184 buildCounterLiveStreamContentDetails++; | 3325 buildCounterLiveStreamContentDetails++; |
| 3185 if (buildCounterLiveStreamContentDetails < 3) { | 3326 if (buildCounterLiveStreamContentDetails < 3) { |
| 3186 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 3327 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 3187 unittest.expect(o.isReusable, unittest.isTrue); | 3328 unittest.expect(o.isReusable, unittest.isTrue); |
| 3188 } | 3329 } |
| 3189 buildCounterLiveStreamContentDetails--; | 3330 buildCounterLiveStreamContentDetails--; |
| 3190 } | 3331 } |
| 3191 | 3332 |
| 3192 buildUnnamed2926() { | 3333 buildUnnamed721() { |
| 3193 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 3334 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
| 3194 o.add(buildLiveStreamConfigurationIssue()); | 3335 o.add(buildLiveStreamConfigurationIssue()); |
| 3195 o.add(buildLiveStreamConfigurationIssue()); | 3336 o.add(buildLiveStreamConfigurationIssue()); |
| 3196 return o; | 3337 return o; |
| 3197 } | 3338 } |
| 3198 | 3339 |
| 3199 checkUnnamed2926(core.List<api.LiveStreamConfigurationIssue> o) { | 3340 checkUnnamed721(core.List<api.LiveStreamConfigurationIssue> o) { |
| 3200 unittest.expect(o, unittest.hasLength(2)); | 3341 unittest.expect(o, unittest.hasLength(2)); |
| 3201 checkLiveStreamConfigurationIssue(o[0]); | 3342 checkLiveStreamConfigurationIssue(o[0]); |
| 3202 checkLiveStreamConfigurationIssue(o[1]); | 3343 checkLiveStreamConfigurationIssue(o[1]); |
| 3203 } | 3344 } |
| 3204 | 3345 |
| 3205 core.int buildCounterLiveStreamHealthStatus = 0; | 3346 core.int buildCounterLiveStreamHealthStatus = 0; |
| 3206 buildLiveStreamHealthStatus() { | 3347 buildLiveStreamHealthStatus() { |
| 3207 var o = new api.LiveStreamHealthStatus(); | 3348 var o = new api.LiveStreamHealthStatus(); |
| 3208 buildCounterLiveStreamHealthStatus++; | 3349 buildCounterLiveStreamHealthStatus++; |
| 3209 if (buildCounterLiveStreamHealthStatus < 3) { | 3350 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3210 o.configurationIssues = buildUnnamed2926(); | 3351 o.configurationIssues = buildUnnamed721(); |
| 3211 o.lastUpdateTimeSeconds = "foo"; | 3352 o.lastUpdateTimeSeconds = "foo"; |
| 3212 o.status = "foo"; | 3353 o.status = "foo"; |
| 3213 } | 3354 } |
| 3214 buildCounterLiveStreamHealthStatus--; | 3355 buildCounterLiveStreamHealthStatus--; |
| 3215 return o; | 3356 return o; |
| 3216 } | 3357 } |
| 3217 | 3358 |
| 3218 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 3359 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
| 3219 buildCounterLiveStreamHealthStatus++; | 3360 buildCounterLiveStreamHealthStatus++; |
| 3220 if (buildCounterLiveStreamHealthStatus < 3) { | 3361 if (buildCounterLiveStreamHealthStatus < 3) { |
| 3221 checkUnnamed2926(o.configurationIssues); | 3362 checkUnnamed721(o.configurationIssues); |
| 3222 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); | 3363 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
| 3223 unittest.expect(o.status, unittest.equals('foo')); | 3364 unittest.expect(o.status, unittest.equals('foo')); |
| 3224 } | 3365 } |
| 3225 buildCounterLiveStreamHealthStatus--; | 3366 buildCounterLiveStreamHealthStatus--; |
| 3226 } | 3367 } |
| 3227 | 3368 |
| 3228 buildUnnamed2927() { | 3369 buildUnnamed722() { |
| 3229 var o = new core.List<api.LiveStream>(); | 3370 var o = new core.List<api.LiveStream>(); |
| 3230 o.add(buildLiveStream()); | 3371 o.add(buildLiveStream()); |
| 3231 o.add(buildLiveStream()); | 3372 o.add(buildLiveStream()); |
| 3232 return o; | 3373 return o; |
| 3233 } | 3374 } |
| 3234 | 3375 |
| 3235 checkUnnamed2927(core.List<api.LiveStream> o) { | 3376 checkUnnamed722(core.List<api.LiveStream> o) { |
| 3236 unittest.expect(o, unittest.hasLength(2)); | 3377 unittest.expect(o, unittest.hasLength(2)); |
| 3237 checkLiveStream(o[0]); | 3378 checkLiveStream(o[0]); |
| 3238 checkLiveStream(o[1]); | 3379 checkLiveStream(o[1]); |
| 3239 } | 3380 } |
| 3240 | 3381 |
| 3241 core.int buildCounterLiveStreamListResponse = 0; | 3382 core.int buildCounterLiveStreamListResponse = 0; |
| 3242 buildLiveStreamListResponse() { | 3383 buildLiveStreamListResponse() { |
| 3243 var o = new api.LiveStreamListResponse(); | 3384 var o = new api.LiveStreamListResponse(); |
| 3244 buildCounterLiveStreamListResponse++; | 3385 buildCounterLiveStreamListResponse++; |
| 3245 if (buildCounterLiveStreamListResponse < 3) { | 3386 if (buildCounterLiveStreamListResponse < 3) { |
| 3246 o.etag = "foo"; | 3387 o.etag = "foo"; |
| 3247 o.eventId = "foo"; | 3388 o.eventId = "foo"; |
| 3248 o.items = buildUnnamed2927(); | 3389 o.items = buildUnnamed722(); |
| 3249 o.kind = "foo"; | 3390 o.kind = "foo"; |
| 3250 o.nextPageToken = "foo"; | 3391 o.nextPageToken = "foo"; |
| 3251 o.pageInfo = buildPageInfo(); | 3392 o.pageInfo = buildPageInfo(); |
| 3252 o.prevPageToken = "foo"; | 3393 o.prevPageToken = "foo"; |
| 3253 o.tokenPagination = buildTokenPagination(); | 3394 o.tokenPagination = buildTokenPagination(); |
| 3254 o.visitorId = "foo"; | 3395 o.visitorId = "foo"; |
| 3255 } | 3396 } |
| 3256 buildCounterLiveStreamListResponse--; | 3397 buildCounterLiveStreamListResponse--; |
| 3257 return o; | 3398 return o; |
| 3258 } | 3399 } |
| 3259 | 3400 |
| 3260 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 3401 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 3261 buildCounterLiveStreamListResponse++; | 3402 buildCounterLiveStreamListResponse++; |
| 3262 if (buildCounterLiveStreamListResponse < 3) { | 3403 if (buildCounterLiveStreamListResponse < 3) { |
| 3263 unittest.expect(o.etag, unittest.equals('foo')); | 3404 unittest.expect(o.etag, unittest.equals('foo')); |
| 3264 unittest.expect(o.eventId, unittest.equals('foo')); | 3405 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3265 checkUnnamed2927(o.items); | 3406 checkUnnamed722(o.items); |
| 3266 unittest.expect(o.kind, unittest.equals('foo')); | 3407 unittest.expect(o.kind, unittest.equals('foo')); |
| 3267 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3408 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3268 checkPageInfo(o.pageInfo); | 3409 checkPageInfo(o.pageInfo); |
| 3269 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3410 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3270 checkTokenPagination(o.tokenPagination); | 3411 checkTokenPagination(o.tokenPagination); |
| 3271 unittest.expect(o.visitorId, unittest.equals('foo')); | 3412 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3272 } | 3413 } |
| 3273 buildCounterLiveStreamListResponse--; | 3414 buildCounterLiveStreamListResponse--; |
| 3274 } | 3415 } |
| 3275 | 3416 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3314 | 3455 |
| 3315 checkLiveStreamStatus(api.LiveStreamStatus o) { | 3456 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 3316 buildCounterLiveStreamStatus++; | 3457 buildCounterLiveStreamStatus++; |
| 3317 if (buildCounterLiveStreamStatus < 3) { | 3458 if (buildCounterLiveStreamStatus < 3) { |
| 3318 checkLiveStreamHealthStatus(o.healthStatus); | 3459 checkLiveStreamHealthStatus(o.healthStatus); |
| 3319 unittest.expect(o.streamStatus, unittest.equals('foo')); | 3460 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 3320 } | 3461 } |
| 3321 buildCounterLiveStreamStatus--; | 3462 buildCounterLiveStreamStatus--; |
| 3322 } | 3463 } |
| 3323 | 3464 |
| 3324 buildUnnamed2928() { | 3465 buildUnnamed723() { |
| 3325 var o = new core.List<api.LocalizedString>(); | 3466 var o = new core.List<api.LocalizedString>(); |
| 3326 o.add(buildLocalizedString()); | 3467 o.add(buildLocalizedString()); |
| 3327 o.add(buildLocalizedString()); | 3468 o.add(buildLocalizedString()); |
| 3328 return o; | 3469 return o; |
| 3329 } | 3470 } |
| 3330 | 3471 |
| 3331 checkUnnamed2928(core.List<api.LocalizedString> o) { | 3472 checkUnnamed723(core.List<api.LocalizedString> o) { |
| 3332 unittest.expect(o, unittest.hasLength(2)); | 3473 unittest.expect(o, unittest.hasLength(2)); |
| 3333 checkLocalizedString(o[0]); | 3474 checkLocalizedString(o[0]); |
| 3334 checkLocalizedString(o[1]); | 3475 checkLocalizedString(o[1]); |
| 3335 } | 3476 } |
| 3336 | 3477 |
| 3337 core.int buildCounterLocalizedProperty = 0; | 3478 core.int buildCounterLocalizedProperty = 0; |
| 3338 buildLocalizedProperty() { | 3479 buildLocalizedProperty() { |
| 3339 var o = new api.LocalizedProperty(); | 3480 var o = new api.LocalizedProperty(); |
| 3340 buildCounterLocalizedProperty++; | 3481 buildCounterLocalizedProperty++; |
| 3341 if (buildCounterLocalizedProperty < 3) { | 3482 if (buildCounterLocalizedProperty < 3) { |
| 3342 o.default_ = "foo"; | 3483 o.default_ = "foo"; |
| 3343 o.defaultLanguage = buildLanguageTag(); | 3484 o.defaultLanguage = buildLanguageTag(); |
| 3344 o.localized = buildUnnamed2928(); | 3485 o.localized = buildUnnamed723(); |
| 3345 } | 3486 } |
| 3346 buildCounterLocalizedProperty--; | 3487 buildCounterLocalizedProperty--; |
| 3347 return o; | 3488 return o; |
| 3348 } | 3489 } |
| 3349 | 3490 |
| 3350 checkLocalizedProperty(api.LocalizedProperty o) { | 3491 checkLocalizedProperty(api.LocalizedProperty o) { |
| 3351 buildCounterLocalizedProperty++; | 3492 buildCounterLocalizedProperty++; |
| 3352 if (buildCounterLocalizedProperty < 3) { | 3493 if (buildCounterLocalizedProperty < 3) { |
| 3353 unittest.expect(o.default_, unittest.equals('foo')); | 3494 unittest.expect(o.default_, unittest.equals('foo')); |
| 3354 checkLanguageTag(o.defaultLanguage); | 3495 checkLanguageTag(o.defaultLanguage); |
| 3355 checkUnnamed2928(o.localized); | 3496 checkUnnamed723(o.localized); |
| 3356 } | 3497 } |
| 3357 buildCounterLocalizedProperty--; | 3498 buildCounterLocalizedProperty--; |
| 3358 } | 3499 } |
| 3359 | 3500 |
| 3360 core.int buildCounterLocalizedString = 0; | 3501 core.int buildCounterLocalizedString = 0; |
| 3361 buildLocalizedString() { | 3502 buildLocalizedString() { |
| 3362 var o = new api.LocalizedString(); | 3503 var o = new api.LocalizedString(); |
| 3363 buildCounterLocalizedString++; | 3504 buildCounterLocalizedString++; |
| 3364 if (buildCounterLocalizedString < 3) { | 3505 if (buildCounterLocalizedString < 3) { |
| 3365 o.language = "foo"; | 3506 o.language = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3415 | 3556 |
| 3416 checkPageInfo(api.PageInfo o) { | 3557 checkPageInfo(api.PageInfo o) { |
| 3417 buildCounterPageInfo++; | 3558 buildCounterPageInfo++; |
| 3418 if (buildCounterPageInfo < 3) { | 3559 if (buildCounterPageInfo < 3) { |
| 3419 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 3560 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
| 3420 unittest.expect(o.totalResults, unittest.equals(42)); | 3561 unittest.expect(o.totalResults, unittest.equals(42)); |
| 3421 } | 3562 } |
| 3422 buildCounterPageInfo--; | 3563 buildCounterPageInfo--; |
| 3423 } | 3564 } |
| 3424 | 3565 |
| 3425 buildUnnamed2929() { | 3566 buildUnnamed724() { |
| 3426 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 3567 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
| 3427 o["x"] = buildPlaylistLocalization(); | 3568 o["x"] = buildPlaylistLocalization(); |
| 3428 o["y"] = buildPlaylistLocalization(); | 3569 o["y"] = buildPlaylistLocalization(); |
| 3429 return o; | 3570 return o; |
| 3430 } | 3571 } |
| 3431 | 3572 |
| 3432 checkUnnamed2929(core.Map<core.String, api.PlaylistLocalization> o) { | 3573 checkUnnamed724(core.Map<core.String, api.PlaylistLocalization> o) { |
| 3433 unittest.expect(o, unittest.hasLength(2)); | 3574 unittest.expect(o, unittest.hasLength(2)); |
| 3434 checkPlaylistLocalization(o["x"]); | 3575 checkPlaylistLocalization(o["x"]); |
| 3435 checkPlaylistLocalization(o["y"]); | 3576 checkPlaylistLocalization(o["y"]); |
| 3436 } | 3577 } |
| 3437 | 3578 |
| 3438 core.int buildCounterPlaylist = 0; | 3579 core.int buildCounterPlaylist = 0; |
| 3439 buildPlaylist() { | 3580 buildPlaylist() { |
| 3440 var o = new api.Playlist(); | 3581 var o = new api.Playlist(); |
| 3441 buildCounterPlaylist++; | 3582 buildCounterPlaylist++; |
| 3442 if (buildCounterPlaylist < 3) { | 3583 if (buildCounterPlaylist < 3) { |
| 3443 o.contentDetails = buildPlaylistContentDetails(); | 3584 o.contentDetails = buildPlaylistContentDetails(); |
| 3444 o.etag = "foo"; | 3585 o.etag = "foo"; |
| 3445 o.id = "foo"; | 3586 o.id = "foo"; |
| 3446 o.kind = "foo"; | 3587 o.kind = "foo"; |
| 3447 o.localizations = buildUnnamed2929(); | 3588 o.localizations = buildUnnamed724(); |
| 3448 o.player = buildPlaylistPlayer(); | 3589 o.player = buildPlaylistPlayer(); |
| 3449 o.snippet = buildPlaylistSnippet(); | 3590 o.snippet = buildPlaylistSnippet(); |
| 3450 o.status = buildPlaylistStatus(); | 3591 o.status = buildPlaylistStatus(); |
| 3451 } | 3592 } |
| 3452 buildCounterPlaylist--; | 3593 buildCounterPlaylist--; |
| 3453 return o; | 3594 return o; |
| 3454 } | 3595 } |
| 3455 | 3596 |
| 3456 checkPlaylist(api.Playlist o) { | 3597 checkPlaylist(api.Playlist o) { |
| 3457 buildCounterPlaylist++; | 3598 buildCounterPlaylist++; |
| 3458 if (buildCounterPlaylist < 3) { | 3599 if (buildCounterPlaylist < 3) { |
| 3459 checkPlaylistContentDetails(o.contentDetails); | 3600 checkPlaylistContentDetails(o.contentDetails); |
| 3460 unittest.expect(o.etag, unittest.equals('foo')); | 3601 unittest.expect(o.etag, unittest.equals('foo')); |
| 3461 unittest.expect(o.id, unittest.equals('foo')); | 3602 unittest.expect(o.id, unittest.equals('foo')); |
| 3462 unittest.expect(o.kind, unittest.equals('foo')); | 3603 unittest.expect(o.kind, unittest.equals('foo')); |
| 3463 checkUnnamed2929(o.localizations); | 3604 checkUnnamed724(o.localizations); |
| 3464 checkPlaylistPlayer(o.player); | 3605 checkPlaylistPlayer(o.player); |
| 3465 checkPlaylistSnippet(o.snippet); | 3606 checkPlaylistSnippet(o.snippet); |
| 3466 checkPlaylistStatus(o.status); | 3607 checkPlaylistStatus(o.status); |
| 3467 } | 3608 } |
| 3468 buildCounterPlaylist--; | 3609 buildCounterPlaylist--; |
| 3469 } | 3610 } |
| 3470 | 3611 |
| 3471 core.int buildCounterPlaylistContentDetails = 0; | 3612 core.int buildCounterPlaylistContentDetails = 0; |
| 3472 buildPlaylistContentDetails() { | 3613 buildPlaylistContentDetails() { |
| 3473 var o = new api.PlaylistContentDetails(); | 3614 var o = new api.PlaylistContentDetails(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3534 buildCounterPlaylistItemContentDetails++; | 3675 buildCounterPlaylistItemContentDetails++; |
| 3535 if (buildCounterPlaylistItemContentDetails < 3) { | 3676 if (buildCounterPlaylistItemContentDetails < 3) { |
| 3536 unittest.expect(o.endAt, unittest.equals('foo')); | 3677 unittest.expect(o.endAt, unittest.equals('foo')); |
| 3537 unittest.expect(o.note, unittest.equals('foo')); | 3678 unittest.expect(o.note, unittest.equals('foo')); |
| 3538 unittest.expect(o.startAt, unittest.equals('foo')); | 3679 unittest.expect(o.startAt, unittest.equals('foo')); |
| 3539 unittest.expect(o.videoId, unittest.equals('foo')); | 3680 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3540 } | 3681 } |
| 3541 buildCounterPlaylistItemContentDetails--; | 3682 buildCounterPlaylistItemContentDetails--; |
| 3542 } | 3683 } |
| 3543 | 3684 |
| 3544 buildUnnamed2930() { | 3685 buildUnnamed725() { |
| 3545 var o = new core.List<api.PlaylistItem>(); | 3686 var o = new core.List<api.PlaylistItem>(); |
| 3546 o.add(buildPlaylistItem()); | 3687 o.add(buildPlaylistItem()); |
| 3547 o.add(buildPlaylistItem()); | 3688 o.add(buildPlaylistItem()); |
| 3548 return o; | 3689 return o; |
| 3549 } | 3690 } |
| 3550 | 3691 |
| 3551 checkUnnamed2930(core.List<api.PlaylistItem> o) { | 3692 checkUnnamed725(core.List<api.PlaylistItem> o) { |
| 3552 unittest.expect(o, unittest.hasLength(2)); | 3693 unittest.expect(o, unittest.hasLength(2)); |
| 3553 checkPlaylistItem(o[0]); | 3694 checkPlaylistItem(o[0]); |
| 3554 checkPlaylistItem(o[1]); | 3695 checkPlaylistItem(o[1]); |
| 3555 } | 3696 } |
| 3556 | 3697 |
| 3557 core.int buildCounterPlaylistItemListResponse = 0; | 3698 core.int buildCounterPlaylistItemListResponse = 0; |
| 3558 buildPlaylistItemListResponse() { | 3699 buildPlaylistItemListResponse() { |
| 3559 var o = new api.PlaylistItemListResponse(); | 3700 var o = new api.PlaylistItemListResponse(); |
| 3560 buildCounterPlaylistItemListResponse++; | 3701 buildCounterPlaylistItemListResponse++; |
| 3561 if (buildCounterPlaylistItemListResponse < 3) { | 3702 if (buildCounterPlaylistItemListResponse < 3) { |
| 3562 o.etag = "foo"; | 3703 o.etag = "foo"; |
| 3563 o.eventId = "foo"; | 3704 o.eventId = "foo"; |
| 3564 o.items = buildUnnamed2930(); | 3705 o.items = buildUnnamed725(); |
| 3565 o.kind = "foo"; | 3706 o.kind = "foo"; |
| 3566 o.nextPageToken = "foo"; | 3707 o.nextPageToken = "foo"; |
| 3567 o.pageInfo = buildPageInfo(); | 3708 o.pageInfo = buildPageInfo(); |
| 3568 o.prevPageToken = "foo"; | 3709 o.prevPageToken = "foo"; |
| 3569 o.tokenPagination = buildTokenPagination(); | 3710 o.tokenPagination = buildTokenPagination(); |
| 3570 o.visitorId = "foo"; | 3711 o.visitorId = "foo"; |
| 3571 } | 3712 } |
| 3572 buildCounterPlaylistItemListResponse--; | 3713 buildCounterPlaylistItemListResponse--; |
| 3573 return o; | 3714 return o; |
| 3574 } | 3715 } |
| 3575 | 3716 |
| 3576 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3717 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 3577 buildCounterPlaylistItemListResponse++; | 3718 buildCounterPlaylistItemListResponse++; |
| 3578 if (buildCounterPlaylistItemListResponse < 3) { | 3719 if (buildCounterPlaylistItemListResponse < 3) { |
| 3579 unittest.expect(o.etag, unittest.equals('foo')); | 3720 unittest.expect(o.etag, unittest.equals('foo')); |
| 3580 unittest.expect(o.eventId, unittest.equals('foo')); | 3721 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3581 checkUnnamed2930(o.items); | 3722 checkUnnamed725(o.items); |
| 3582 unittest.expect(o.kind, unittest.equals('foo')); | 3723 unittest.expect(o.kind, unittest.equals('foo')); |
| 3583 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3724 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3584 checkPageInfo(o.pageInfo); | 3725 checkPageInfo(o.pageInfo); |
| 3585 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3726 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3586 checkTokenPagination(o.tokenPagination); | 3727 checkTokenPagination(o.tokenPagination); |
| 3587 unittest.expect(o.visitorId, unittest.equals('foo')); | 3728 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3588 } | 3729 } |
| 3589 buildCounterPlaylistItemListResponse--; | 3730 buildCounterPlaylistItemListResponse--; |
| 3590 } | 3731 } |
| 3591 | 3732 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3636 } | 3777 } |
| 3637 | 3778 |
| 3638 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3779 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 3639 buildCounterPlaylistItemStatus++; | 3780 buildCounterPlaylistItemStatus++; |
| 3640 if (buildCounterPlaylistItemStatus < 3) { | 3781 if (buildCounterPlaylistItemStatus < 3) { |
| 3641 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3782 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3642 } | 3783 } |
| 3643 buildCounterPlaylistItemStatus--; | 3784 buildCounterPlaylistItemStatus--; |
| 3644 } | 3785 } |
| 3645 | 3786 |
| 3646 buildUnnamed2931() { | 3787 buildUnnamed726() { |
| 3647 var o = new core.List<api.Playlist>(); | 3788 var o = new core.List<api.Playlist>(); |
| 3648 o.add(buildPlaylist()); | 3789 o.add(buildPlaylist()); |
| 3649 o.add(buildPlaylist()); | 3790 o.add(buildPlaylist()); |
| 3650 return o; | 3791 return o; |
| 3651 } | 3792 } |
| 3652 | 3793 |
| 3653 checkUnnamed2931(core.List<api.Playlist> o) { | 3794 checkUnnamed726(core.List<api.Playlist> o) { |
| 3654 unittest.expect(o, unittest.hasLength(2)); | 3795 unittest.expect(o, unittest.hasLength(2)); |
| 3655 checkPlaylist(o[0]); | 3796 checkPlaylist(o[0]); |
| 3656 checkPlaylist(o[1]); | 3797 checkPlaylist(o[1]); |
| 3657 } | 3798 } |
| 3658 | 3799 |
| 3659 core.int buildCounterPlaylistListResponse = 0; | 3800 core.int buildCounterPlaylistListResponse = 0; |
| 3660 buildPlaylistListResponse() { | 3801 buildPlaylistListResponse() { |
| 3661 var o = new api.PlaylistListResponse(); | 3802 var o = new api.PlaylistListResponse(); |
| 3662 buildCounterPlaylistListResponse++; | 3803 buildCounterPlaylistListResponse++; |
| 3663 if (buildCounterPlaylistListResponse < 3) { | 3804 if (buildCounterPlaylistListResponse < 3) { |
| 3664 o.etag = "foo"; | 3805 o.etag = "foo"; |
| 3665 o.eventId = "foo"; | 3806 o.eventId = "foo"; |
| 3666 o.items = buildUnnamed2931(); | 3807 o.items = buildUnnamed726(); |
| 3667 o.kind = "foo"; | 3808 o.kind = "foo"; |
| 3668 o.nextPageToken = "foo"; | 3809 o.nextPageToken = "foo"; |
| 3669 o.pageInfo = buildPageInfo(); | 3810 o.pageInfo = buildPageInfo(); |
| 3670 o.prevPageToken = "foo"; | 3811 o.prevPageToken = "foo"; |
| 3671 o.tokenPagination = buildTokenPagination(); | 3812 o.tokenPagination = buildTokenPagination(); |
| 3672 o.visitorId = "foo"; | 3813 o.visitorId = "foo"; |
| 3673 } | 3814 } |
| 3674 buildCounterPlaylistListResponse--; | 3815 buildCounterPlaylistListResponse--; |
| 3675 return o; | 3816 return o; |
| 3676 } | 3817 } |
| 3677 | 3818 |
| 3678 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3819 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 3679 buildCounterPlaylistListResponse++; | 3820 buildCounterPlaylistListResponse++; |
| 3680 if (buildCounterPlaylistListResponse < 3) { | 3821 if (buildCounterPlaylistListResponse < 3) { |
| 3681 unittest.expect(o.etag, unittest.equals('foo')); | 3822 unittest.expect(o.etag, unittest.equals('foo')); |
| 3682 unittest.expect(o.eventId, unittest.equals('foo')); | 3823 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3683 checkUnnamed2931(o.items); | 3824 checkUnnamed726(o.items); |
| 3684 unittest.expect(o.kind, unittest.equals('foo')); | 3825 unittest.expect(o.kind, unittest.equals('foo')); |
| 3685 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3826 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3686 checkPageInfo(o.pageInfo); | 3827 checkPageInfo(o.pageInfo); |
| 3687 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3828 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3688 checkTokenPagination(o.tokenPagination); | 3829 checkTokenPagination(o.tokenPagination); |
| 3689 unittest.expect(o.visitorId, unittest.equals('foo')); | 3830 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3690 } | 3831 } |
| 3691 buildCounterPlaylistListResponse--; | 3832 buildCounterPlaylistListResponse--; |
| 3692 } | 3833 } |
| 3693 | 3834 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3724 } | 3865 } |
| 3725 | 3866 |
| 3726 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3867 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 3727 buildCounterPlaylistPlayer++; | 3868 buildCounterPlaylistPlayer++; |
| 3728 if (buildCounterPlaylistPlayer < 3) { | 3869 if (buildCounterPlaylistPlayer < 3) { |
| 3729 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3870 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 3730 } | 3871 } |
| 3731 buildCounterPlaylistPlayer--; | 3872 buildCounterPlaylistPlayer--; |
| 3732 } | 3873 } |
| 3733 | 3874 |
| 3734 buildUnnamed2932() { | 3875 buildUnnamed727() { |
| 3735 var o = new core.List<core.String>(); | 3876 var o = new core.List<core.String>(); |
| 3736 o.add("foo"); | 3877 o.add("foo"); |
| 3737 o.add("foo"); | 3878 o.add("foo"); |
| 3738 return o; | 3879 return o; |
| 3739 } | 3880 } |
| 3740 | 3881 |
| 3741 checkUnnamed2932(core.List<core.String> o) { | 3882 checkUnnamed727(core.List<core.String> o) { |
| 3742 unittest.expect(o, unittest.hasLength(2)); | 3883 unittest.expect(o, unittest.hasLength(2)); |
| 3743 unittest.expect(o[0], unittest.equals('foo')); | 3884 unittest.expect(o[0], unittest.equals('foo')); |
| 3744 unittest.expect(o[1], unittest.equals('foo')); | 3885 unittest.expect(o[1], unittest.equals('foo')); |
| 3745 } | 3886 } |
| 3746 | 3887 |
| 3747 core.int buildCounterPlaylistSnippet = 0; | 3888 core.int buildCounterPlaylistSnippet = 0; |
| 3748 buildPlaylistSnippet() { | 3889 buildPlaylistSnippet() { |
| 3749 var o = new api.PlaylistSnippet(); | 3890 var o = new api.PlaylistSnippet(); |
| 3750 buildCounterPlaylistSnippet++; | 3891 buildCounterPlaylistSnippet++; |
| 3751 if (buildCounterPlaylistSnippet < 3) { | 3892 if (buildCounterPlaylistSnippet < 3) { |
| 3752 o.channelId = "foo"; | 3893 o.channelId = "foo"; |
| 3753 o.channelTitle = "foo"; | 3894 o.channelTitle = "foo"; |
| 3754 o.defaultLanguage = "foo"; | 3895 o.defaultLanguage = "foo"; |
| 3755 o.description = "foo"; | 3896 o.description = "foo"; |
| 3756 o.localized = buildPlaylistLocalization(); | 3897 o.localized = buildPlaylistLocalization(); |
| 3757 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3898 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3758 o.tags = buildUnnamed2932(); | 3899 o.tags = buildUnnamed727(); |
| 3759 o.thumbnails = buildThumbnailDetails(); | 3900 o.thumbnails = buildThumbnailDetails(); |
| 3760 o.title = "foo"; | 3901 o.title = "foo"; |
| 3761 } | 3902 } |
| 3762 buildCounterPlaylistSnippet--; | 3903 buildCounterPlaylistSnippet--; |
| 3763 return o; | 3904 return o; |
| 3764 } | 3905 } |
| 3765 | 3906 |
| 3766 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3907 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 3767 buildCounterPlaylistSnippet++; | 3908 buildCounterPlaylistSnippet++; |
| 3768 if (buildCounterPlaylistSnippet < 3) { | 3909 if (buildCounterPlaylistSnippet < 3) { |
| 3769 unittest.expect(o.channelId, unittest.equals('foo')); | 3910 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3770 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3911 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3771 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3912 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 3772 unittest.expect(o.description, unittest.equals('foo')); | 3913 unittest.expect(o.description, unittest.equals('foo')); |
| 3773 checkPlaylistLocalization(o.localized); | 3914 checkPlaylistLocalization(o.localized); |
| 3774 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3915 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3775 checkUnnamed2932(o.tags); | 3916 checkUnnamed727(o.tags); |
| 3776 checkThumbnailDetails(o.thumbnails); | 3917 checkThumbnailDetails(o.thumbnails); |
| 3777 unittest.expect(o.title, unittest.equals('foo')); | 3918 unittest.expect(o.title, unittest.equals('foo')); |
| 3778 } | 3919 } |
| 3779 buildCounterPlaylistSnippet--; | 3920 buildCounterPlaylistSnippet--; |
| 3780 } | 3921 } |
| 3781 | 3922 |
| 3782 core.int buildCounterPlaylistStatus = 0; | 3923 core.int buildCounterPlaylistStatus = 0; |
| 3783 buildPlaylistStatus() { | 3924 buildPlaylistStatus() { |
| 3784 var o = new api.PlaylistStatus(); | 3925 var o = new api.PlaylistStatus(); |
| 3785 buildCounterPlaylistStatus++; | 3926 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3887 buildCounterResourceId++; | 4028 buildCounterResourceId++; |
| 3888 if (buildCounterResourceId < 3) { | 4029 if (buildCounterResourceId < 3) { |
| 3889 unittest.expect(o.channelId, unittest.equals('foo')); | 4030 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3890 unittest.expect(o.kind, unittest.equals('foo')); | 4031 unittest.expect(o.kind, unittest.equals('foo')); |
| 3891 unittest.expect(o.playlistId, unittest.equals('foo')); | 4032 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 3892 unittest.expect(o.videoId, unittest.equals('foo')); | 4033 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3893 } | 4034 } |
| 3894 buildCounterResourceId--; | 4035 buildCounterResourceId--; |
| 3895 } | 4036 } |
| 3896 | 4037 |
| 3897 buildUnnamed2933() { | 4038 buildUnnamed728() { |
| 3898 var o = new core.List<api.SearchResult>(); | 4039 var o = new core.List<api.SearchResult>(); |
| 3899 o.add(buildSearchResult()); | 4040 o.add(buildSearchResult()); |
| 3900 o.add(buildSearchResult()); | 4041 o.add(buildSearchResult()); |
| 3901 return o; | 4042 return o; |
| 3902 } | 4043 } |
| 3903 | 4044 |
| 3904 checkUnnamed2933(core.List<api.SearchResult> o) { | 4045 checkUnnamed728(core.List<api.SearchResult> o) { |
| 3905 unittest.expect(o, unittest.hasLength(2)); | 4046 unittest.expect(o, unittest.hasLength(2)); |
| 3906 checkSearchResult(o[0]); | 4047 checkSearchResult(o[0]); |
| 3907 checkSearchResult(o[1]); | 4048 checkSearchResult(o[1]); |
| 3908 } | 4049 } |
| 3909 | 4050 |
| 3910 core.int buildCounterSearchListResponse = 0; | 4051 core.int buildCounterSearchListResponse = 0; |
| 3911 buildSearchListResponse() { | 4052 buildSearchListResponse() { |
| 3912 var o = new api.SearchListResponse(); | 4053 var o = new api.SearchListResponse(); |
| 3913 buildCounterSearchListResponse++; | 4054 buildCounterSearchListResponse++; |
| 3914 if (buildCounterSearchListResponse < 3) { | 4055 if (buildCounterSearchListResponse < 3) { |
| 3915 o.etag = "foo"; | 4056 o.etag = "foo"; |
| 3916 o.eventId = "foo"; | 4057 o.eventId = "foo"; |
| 3917 o.items = buildUnnamed2933(); | 4058 o.items = buildUnnamed728(); |
| 3918 o.kind = "foo"; | 4059 o.kind = "foo"; |
| 3919 o.nextPageToken = "foo"; | 4060 o.nextPageToken = "foo"; |
| 3920 o.pageInfo = buildPageInfo(); | 4061 o.pageInfo = buildPageInfo(); |
| 3921 o.prevPageToken = "foo"; | 4062 o.prevPageToken = "foo"; |
| 3922 o.regionCode = "foo"; | 4063 o.regionCode = "foo"; |
| 3923 o.tokenPagination = buildTokenPagination(); | 4064 o.tokenPagination = buildTokenPagination(); |
| 3924 o.visitorId = "foo"; | 4065 o.visitorId = "foo"; |
| 3925 } | 4066 } |
| 3926 buildCounterSearchListResponse--; | 4067 buildCounterSearchListResponse--; |
| 3927 return o; | 4068 return o; |
| 3928 } | 4069 } |
| 3929 | 4070 |
| 3930 checkSearchListResponse(api.SearchListResponse o) { | 4071 checkSearchListResponse(api.SearchListResponse o) { |
| 3931 buildCounterSearchListResponse++; | 4072 buildCounterSearchListResponse++; |
| 3932 if (buildCounterSearchListResponse < 3) { | 4073 if (buildCounterSearchListResponse < 3) { |
| 3933 unittest.expect(o.etag, unittest.equals('foo')); | 4074 unittest.expect(o.etag, unittest.equals('foo')); |
| 3934 unittest.expect(o.eventId, unittest.equals('foo')); | 4075 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3935 checkUnnamed2933(o.items); | 4076 checkUnnamed728(o.items); |
| 3936 unittest.expect(o.kind, unittest.equals('foo')); | 4077 unittest.expect(o.kind, unittest.equals('foo')); |
| 3937 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4078 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3938 checkPageInfo(o.pageInfo); | 4079 checkPageInfo(o.pageInfo); |
| 3939 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4080 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3940 unittest.expect(o.regionCode, unittest.equals('foo')); | 4081 unittest.expect(o.regionCode, unittest.equals('foo')); |
| 3941 checkTokenPagination(o.tokenPagination); | 4082 checkTokenPagination(o.tokenPagination); |
| 3942 unittest.expect(o.visitorId, unittest.equals('foo')); | 4083 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3943 } | 4084 } |
| 3944 buildCounterSearchListResponse--; | 4085 buildCounterSearchListResponse--; |
| 3945 } | 4086 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4018 buildCounterSponsor++; | 4159 buildCounterSponsor++; |
| 4019 if (buildCounterSponsor < 3) { | 4160 if (buildCounterSponsor < 3) { |
| 4020 unittest.expect(o.etag, unittest.equals('foo')); | 4161 unittest.expect(o.etag, unittest.equals('foo')); |
| 4021 unittest.expect(o.id, unittest.equals('foo')); | 4162 unittest.expect(o.id, unittest.equals('foo')); |
| 4022 unittest.expect(o.kind, unittest.equals('foo')); | 4163 unittest.expect(o.kind, unittest.equals('foo')); |
| 4023 checkSponsorSnippet(o.snippet); | 4164 checkSponsorSnippet(o.snippet); |
| 4024 } | 4165 } |
| 4025 buildCounterSponsor--; | 4166 buildCounterSponsor--; |
| 4026 } | 4167 } |
| 4027 | 4168 |
| 4028 buildUnnamed2934() { | 4169 buildUnnamed729() { |
| 4029 var o = new core.List<api.Sponsor>(); | 4170 var o = new core.List<api.Sponsor>(); |
| 4030 o.add(buildSponsor()); | 4171 o.add(buildSponsor()); |
| 4031 o.add(buildSponsor()); | 4172 o.add(buildSponsor()); |
| 4032 return o; | 4173 return o; |
| 4033 } | 4174 } |
| 4034 | 4175 |
| 4035 checkUnnamed2934(core.List<api.Sponsor> o) { | 4176 checkUnnamed729(core.List<api.Sponsor> o) { |
| 4036 unittest.expect(o, unittest.hasLength(2)); | 4177 unittest.expect(o, unittest.hasLength(2)); |
| 4037 checkSponsor(o[0]); | 4178 checkSponsor(o[0]); |
| 4038 checkSponsor(o[1]); | 4179 checkSponsor(o[1]); |
| 4039 } | 4180 } |
| 4040 | 4181 |
| 4041 core.int buildCounterSponsorListResponse = 0; | 4182 core.int buildCounterSponsorListResponse = 0; |
| 4042 buildSponsorListResponse() { | 4183 buildSponsorListResponse() { |
| 4043 var o = new api.SponsorListResponse(); | 4184 var o = new api.SponsorListResponse(); |
| 4044 buildCounterSponsorListResponse++; | 4185 buildCounterSponsorListResponse++; |
| 4045 if (buildCounterSponsorListResponse < 3) { | 4186 if (buildCounterSponsorListResponse < 3) { |
| 4046 o.etag = "foo"; | 4187 o.etag = "foo"; |
| 4047 o.eventId = "foo"; | 4188 o.eventId = "foo"; |
| 4048 o.items = buildUnnamed2934(); | 4189 o.items = buildUnnamed729(); |
| 4049 o.kind = "foo"; | 4190 o.kind = "foo"; |
| 4050 o.nextPageToken = "foo"; | 4191 o.nextPageToken = "foo"; |
| 4051 o.pageInfo = buildPageInfo(); | 4192 o.pageInfo = buildPageInfo(); |
| 4052 o.tokenPagination = buildTokenPagination(); | 4193 o.tokenPagination = buildTokenPagination(); |
| 4053 o.visitorId = "foo"; | 4194 o.visitorId = "foo"; |
| 4054 } | 4195 } |
| 4055 buildCounterSponsorListResponse--; | 4196 buildCounterSponsorListResponse--; |
| 4056 return o; | 4197 return o; |
| 4057 } | 4198 } |
| 4058 | 4199 |
| 4059 checkSponsorListResponse(api.SponsorListResponse o) { | 4200 checkSponsorListResponse(api.SponsorListResponse o) { |
| 4060 buildCounterSponsorListResponse++; | 4201 buildCounterSponsorListResponse++; |
| 4061 if (buildCounterSponsorListResponse < 3) { | 4202 if (buildCounterSponsorListResponse < 3) { |
| 4062 unittest.expect(o.etag, unittest.equals('foo')); | 4203 unittest.expect(o.etag, unittest.equals('foo')); |
| 4063 unittest.expect(o.eventId, unittest.equals('foo')); | 4204 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4064 checkUnnamed2934(o.items); | 4205 checkUnnamed729(o.items); |
| 4065 unittest.expect(o.kind, unittest.equals('foo')); | 4206 unittest.expect(o.kind, unittest.equals('foo')); |
| 4066 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4207 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4067 checkPageInfo(o.pageInfo); | 4208 checkPageInfo(o.pageInfo); |
| 4068 checkTokenPagination(o.tokenPagination); | 4209 checkTokenPagination(o.tokenPagination); |
| 4069 unittest.expect(o.visitorId, unittest.equals('foo')); | 4210 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4070 } | 4211 } |
| 4071 buildCounterSponsorListResponse--; | 4212 buildCounterSponsorListResponse--; |
| 4072 } | 4213 } |
| 4073 | 4214 |
| 4074 core.int buildCounterSponsorSnippet = 0; | 4215 core.int buildCounterSponsorSnippet = 0; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4139 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 4280 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 4140 buildCounterSubscriptionContentDetails++; | 4281 buildCounterSubscriptionContentDetails++; |
| 4141 if (buildCounterSubscriptionContentDetails < 3) { | 4282 if (buildCounterSubscriptionContentDetails < 3) { |
| 4142 unittest.expect(o.activityType, unittest.equals('foo')); | 4283 unittest.expect(o.activityType, unittest.equals('foo')); |
| 4143 unittest.expect(o.newItemCount, unittest.equals(42)); | 4284 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 4144 unittest.expect(o.totalItemCount, unittest.equals(42)); | 4285 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 4145 } | 4286 } |
| 4146 buildCounterSubscriptionContentDetails--; | 4287 buildCounterSubscriptionContentDetails--; |
| 4147 } | 4288 } |
| 4148 | 4289 |
| 4149 buildUnnamed2935() { | 4290 buildUnnamed730() { |
| 4150 var o = new core.List<api.Subscription>(); | 4291 var o = new core.List<api.Subscription>(); |
| 4151 o.add(buildSubscription()); | 4292 o.add(buildSubscription()); |
| 4152 o.add(buildSubscription()); | 4293 o.add(buildSubscription()); |
| 4153 return o; | 4294 return o; |
| 4154 } | 4295 } |
| 4155 | 4296 |
| 4156 checkUnnamed2935(core.List<api.Subscription> o) { | 4297 checkUnnamed730(core.List<api.Subscription> o) { |
| 4157 unittest.expect(o, unittest.hasLength(2)); | 4298 unittest.expect(o, unittest.hasLength(2)); |
| 4158 checkSubscription(o[0]); | 4299 checkSubscription(o[0]); |
| 4159 checkSubscription(o[1]); | 4300 checkSubscription(o[1]); |
| 4160 } | 4301 } |
| 4161 | 4302 |
| 4162 core.int buildCounterSubscriptionListResponse = 0; | 4303 core.int buildCounterSubscriptionListResponse = 0; |
| 4163 buildSubscriptionListResponse() { | 4304 buildSubscriptionListResponse() { |
| 4164 var o = new api.SubscriptionListResponse(); | 4305 var o = new api.SubscriptionListResponse(); |
| 4165 buildCounterSubscriptionListResponse++; | 4306 buildCounterSubscriptionListResponse++; |
| 4166 if (buildCounterSubscriptionListResponse < 3) { | 4307 if (buildCounterSubscriptionListResponse < 3) { |
| 4167 o.etag = "foo"; | 4308 o.etag = "foo"; |
| 4168 o.eventId = "foo"; | 4309 o.eventId = "foo"; |
| 4169 o.items = buildUnnamed2935(); | 4310 o.items = buildUnnamed730(); |
| 4170 o.kind = "foo"; | 4311 o.kind = "foo"; |
| 4171 o.nextPageToken = "foo"; | 4312 o.nextPageToken = "foo"; |
| 4172 o.pageInfo = buildPageInfo(); | 4313 o.pageInfo = buildPageInfo(); |
| 4173 o.prevPageToken = "foo"; | 4314 o.prevPageToken = "foo"; |
| 4174 o.tokenPagination = buildTokenPagination(); | 4315 o.tokenPagination = buildTokenPagination(); |
| 4175 o.visitorId = "foo"; | 4316 o.visitorId = "foo"; |
| 4176 } | 4317 } |
| 4177 buildCounterSubscriptionListResponse--; | 4318 buildCounterSubscriptionListResponse--; |
| 4178 return o; | 4319 return o; |
| 4179 } | 4320 } |
| 4180 | 4321 |
| 4181 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 4322 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 4182 buildCounterSubscriptionListResponse++; | 4323 buildCounterSubscriptionListResponse++; |
| 4183 if (buildCounterSubscriptionListResponse < 3) { | 4324 if (buildCounterSubscriptionListResponse < 3) { |
| 4184 unittest.expect(o.etag, unittest.equals('foo')); | 4325 unittest.expect(o.etag, unittest.equals('foo')); |
| 4185 unittest.expect(o.eventId, unittest.equals('foo')); | 4326 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4186 checkUnnamed2935(o.items); | 4327 checkUnnamed730(o.items); |
| 4187 unittest.expect(o.kind, unittest.equals('foo')); | 4328 unittest.expect(o.kind, unittest.equals('foo')); |
| 4188 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4329 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4189 checkPageInfo(o.pageInfo); | 4330 checkPageInfo(o.pageInfo); |
| 4190 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4331 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4191 checkTokenPagination(o.tokenPagination); | 4332 checkTokenPagination(o.tokenPagination); |
| 4192 unittest.expect(o.visitorId, unittest.equals('foo')); | 4333 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4193 } | 4334 } |
| 4194 buildCounterSubscriptionListResponse--; | 4335 buildCounterSubscriptionListResponse--; |
| 4195 } | 4336 } |
| 4196 | 4337 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4293 if (buildCounterThumbnailDetails < 3) { | 4434 if (buildCounterThumbnailDetails < 3) { |
| 4294 checkThumbnail(o.default_); | 4435 checkThumbnail(o.default_); |
| 4295 checkThumbnail(o.high); | 4436 checkThumbnail(o.high); |
| 4296 checkThumbnail(o.maxres); | 4437 checkThumbnail(o.maxres); |
| 4297 checkThumbnail(o.medium); | 4438 checkThumbnail(o.medium); |
| 4298 checkThumbnail(o.standard); | 4439 checkThumbnail(o.standard); |
| 4299 } | 4440 } |
| 4300 buildCounterThumbnailDetails--; | 4441 buildCounterThumbnailDetails--; |
| 4301 } | 4442 } |
| 4302 | 4443 |
| 4303 buildUnnamed2936() { | 4444 buildUnnamed731() { |
| 4304 var o = new core.List<api.ThumbnailDetails>(); | 4445 var o = new core.List<api.ThumbnailDetails>(); |
| 4305 o.add(buildThumbnailDetails()); | 4446 o.add(buildThumbnailDetails()); |
| 4306 o.add(buildThumbnailDetails()); | 4447 o.add(buildThumbnailDetails()); |
| 4307 return o; | 4448 return o; |
| 4308 } | 4449 } |
| 4309 | 4450 |
| 4310 checkUnnamed2936(core.List<api.ThumbnailDetails> o) { | 4451 checkUnnamed731(core.List<api.ThumbnailDetails> o) { |
| 4311 unittest.expect(o, unittest.hasLength(2)); | 4452 unittest.expect(o, unittest.hasLength(2)); |
| 4312 checkThumbnailDetails(o[0]); | 4453 checkThumbnailDetails(o[0]); |
| 4313 checkThumbnailDetails(o[1]); | 4454 checkThumbnailDetails(o[1]); |
| 4314 } | 4455 } |
| 4315 | 4456 |
| 4316 core.int buildCounterThumbnailSetResponse = 0; | 4457 core.int buildCounterThumbnailSetResponse = 0; |
| 4317 buildThumbnailSetResponse() { | 4458 buildThumbnailSetResponse() { |
| 4318 var o = new api.ThumbnailSetResponse(); | 4459 var o = new api.ThumbnailSetResponse(); |
| 4319 buildCounterThumbnailSetResponse++; | 4460 buildCounterThumbnailSetResponse++; |
| 4320 if (buildCounterThumbnailSetResponse < 3) { | 4461 if (buildCounterThumbnailSetResponse < 3) { |
| 4321 o.etag = "foo"; | 4462 o.etag = "foo"; |
| 4322 o.eventId = "foo"; | 4463 o.eventId = "foo"; |
| 4323 o.items = buildUnnamed2936(); | 4464 o.items = buildUnnamed731(); |
| 4324 o.kind = "foo"; | 4465 o.kind = "foo"; |
| 4325 o.visitorId = "foo"; | 4466 o.visitorId = "foo"; |
| 4326 } | 4467 } |
| 4327 buildCounterThumbnailSetResponse--; | 4468 buildCounterThumbnailSetResponse--; |
| 4328 return o; | 4469 return o; |
| 4329 } | 4470 } |
| 4330 | 4471 |
| 4331 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 4472 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 4332 buildCounterThumbnailSetResponse++; | 4473 buildCounterThumbnailSetResponse++; |
| 4333 if (buildCounterThumbnailSetResponse < 3) { | 4474 if (buildCounterThumbnailSetResponse < 3) { |
| 4334 unittest.expect(o.etag, unittest.equals('foo')); | 4475 unittest.expect(o.etag, unittest.equals('foo')); |
| 4335 unittest.expect(o.eventId, unittest.equals('foo')); | 4476 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4336 checkUnnamed2936(o.items); | 4477 checkUnnamed731(o.items); |
| 4337 unittest.expect(o.kind, unittest.equals('foo')); | 4478 unittest.expect(o.kind, unittest.equals('foo')); |
| 4338 unittest.expect(o.visitorId, unittest.equals('foo')); | 4479 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4339 } | 4480 } |
| 4340 buildCounterThumbnailSetResponse--; | 4481 buildCounterThumbnailSetResponse--; |
| 4341 } | 4482 } |
| 4342 | 4483 |
| 4343 core.int buildCounterTokenPagination = 0; | 4484 core.int buildCounterTokenPagination = 0; |
| 4344 buildTokenPagination() { | 4485 buildTokenPagination() { |
| 4345 var o = new api.TokenPagination(); | 4486 var o = new api.TokenPagination(); |
| 4346 buildCounterTokenPagination++; | 4487 buildCounterTokenPagination++; |
| 4347 if (buildCounterTokenPagination < 3) { | 4488 if (buildCounterTokenPagination < 3) { |
| 4348 } | 4489 } |
| 4349 buildCounterTokenPagination--; | 4490 buildCounterTokenPagination--; |
| 4350 return o; | 4491 return o; |
| 4351 } | 4492 } |
| 4352 | 4493 |
| 4353 checkTokenPagination(api.TokenPagination o) { | 4494 checkTokenPagination(api.TokenPagination o) { |
| 4354 buildCounterTokenPagination++; | 4495 buildCounterTokenPagination++; |
| 4355 if (buildCounterTokenPagination < 3) { | 4496 if (buildCounterTokenPagination < 3) { |
| 4356 } | 4497 } |
| 4357 buildCounterTokenPagination--; | 4498 buildCounterTokenPagination--; |
| 4358 } | 4499 } |
| 4359 | 4500 |
| 4360 buildUnnamed2937() { | 4501 buildUnnamed732() { |
| 4361 var o = new core.Map<core.String, api.VideoLocalization>(); | 4502 var o = new core.Map<core.String, api.VideoLocalization>(); |
| 4362 o["x"] = buildVideoLocalization(); | 4503 o["x"] = buildVideoLocalization(); |
| 4363 o["y"] = buildVideoLocalization(); | 4504 o["y"] = buildVideoLocalization(); |
| 4364 return o; | 4505 return o; |
| 4365 } | 4506 } |
| 4366 | 4507 |
| 4367 checkUnnamed2937(core.Map<core.String, api.VideoLocalization> o) { | 4508 checkUnnamed732(core.Map<core.String, api.VideoLocalization> o) { |
| 4368 unittest.expect(o, unittest.hasLength(2)); | 4509 unittest.expect(o, unittest.hasLength(2)); |
| 4369 checkVideoLocalization(o["x"]); | 4510 checkVideoLocalization(o["x"]); |
| 4370 checkVideoLocalization(o["y"]); | 4511 checkVideoLocalization(o["y"]); |
| 4371 } | 4512 } |
| 4372 | 4513 |
| 4373 core.int buildCounterVideo = 0; | 4514 core.int buildCounterVideo = 0; |
| 4374 buildVideo() { | 4515 buildVideo() { |
| 4375 var o = new api.Video(); | 4516 var o = new api.Video(); |
| 4376 buildCounterVideo++; | 4517 buildCounterVideo++; |
| 4377 if (buildCounterVideo < 3) { | 4518 if (buildCounterVideo < 3) { |
| 4378 o.ageGating = buildVideoAgeGating(); | 4519 o.ageGating = buildVideoAgeGating(); |
| 4379 o.contentDetails = buildVideoContentDetails(); | 4520 o.contentDetails = buildVideoContentDetails(); |
| 4380 o.etag = "foo"; | 4521 o.etag = "foo"; |
| 4381 o.fileDetails = buildVideoFileDetails(); | 4522 o.fileDetails = buildVideoFileDetails(); |
| 4382 o.id = "foo"; | 4523 o.id = "foo"; |
| 4383 o.kind = "foo"; | 4524 o.kind = "foo"; |
| 4384 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 4525 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
| 4385 o.localizations = buildUnnamed2937(); | 4526 o.localizations = buildUnnamed732(); |
| 4386 o.monetizationDetails = buildVideoMonetizationDetails(); | 4527 o.monetizationDetails = buildVideoMonetizationDetails(); |
| 4387 o.player = buildVideoPlayer(); | 4528 o.player = buildVideoPlayer(); |
| 4388 o.processingDetails = buildVideoProcessingDetails(); | 4529 o.processingDetails = buildVideoProcessingDetails(); |
| 4389 o.projectDetails = buildVideoProjectDetails(); | 4530 o.projectDetails = buildVideoProjectDetails(); |
| 4390 o.recordingDetails = buildVideoRecordingDetails(); | 4531 o.recordingDetails = buildVideoRecordingDetails(); |
| 4391 o.snippet = buildVideoSnippet(); | 4532 o.snippet = buildVideoSnippet(); |
| 4392 o.statistics = buildVideoStatistics(); | 4533 o.statistics = buildVideoStatistics(); |
| 4393 o.status = buildVideoStatus(); | 4534 o.status = buildVideoStatus(); |
| 4394 o.suggestions = buildVideoSuggestions(); | 4535 o.suggestions = buildVideoSuggestions(); |
| 4395 o.topicDetails = buildVideoTopicDetails(); | 4536 o.topicDetails = buildVideoTopicDetails(); |
| 4396 } | 4537 } |
| 4397 buildCounterVideo--; | 4538 buildCounterVideo--; |
| 4398 return o; | 4539 return o; |
| 4399 } | 4540 } |
| 4400 | 4541 |
| 4401 checkVideo(api.Video o) { | 4542 checkVideo(api.Video o) { |
| 4402 buildCounterVideo++; | 4543 buildCounterVideo++; |
| 4403 if (buildCounterVideo < 3) { | 4544 if (buildCounterVideo < 3) { |
| 4404 checkVideoAgeGating(o.ageGating); | 4545 checkVideoAgeGating(o.ageGating); |
| 4405 checkVideoContentDetails(o.contentDetails); | 4546 checkVideoContentDetails(o.contentDetails); |
| 4406 unittest.expect(o.etag, unittest.equals('foo')); | 4547 unittest.expect(o.etag, unittest.equals('foo')); |
| 4407 checkVideoFileDetails(o.fileDetails); | 4548 checkVideoFileDetails(o.fileDetails); |
| 4408 unittest.expect(o.id, unittest.equals('foo')); | 4549 unittest.expect(o.id, unittest.equals('foo')); |
| 4409 unittest.expect(o.kind, unittest.equals('foo')); | 4550 unittest.expect(o.kind, unittest.equals('foo')); |
| 4410 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 4551 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
| 4411 checkUnnamed2937(o.localizations); | 4552 checkUnnamed732(o.localizations); |
| 4412 checkVideoMonetizationDetails(o.monetizationDetails); | 4553 checkVideoMonetizationDetails(o.monetizationDetails); |
| 4413 checkVideoPlayer(o.player); | 4554 checkVideoPlayer(o.player); |
| 4414 checkVideoProcessingDetails(o.processingDetails); | 4555 checkVideoProcessingDetails(o.processingDetails); |
| 4415 checkVideoProjectDetails(o.projectDetails); | 4556 checkVideoProjectDetails(o.projectDetails); |
| 4416 checkVideoRecordingDetails(o.recordingDetails); | 4557 checkVideoRecordingDetails(o.recordingDetails); |
| 4417 checkVideoSnippet(o.snippet); | 4558 checkVideoSnippet(o.snippet); |
| 4418 checkVideoStatistics(o.statistics); | 4559 checkVideoStatistics(o.statistics); |
| 4419 checkVideoStatus(o.status); | 4560 checkVideoStatus(o.status); |
| 4420 checkVideoSuggestions(o.suggestions); | 4561 checkVideoSuggestions(o.suggestions); |
| 4421 checkVideoTopicDetails(o.topicDetails); | 4562 checkVideoTopicDetails(o.topicDetails); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4468 buildCounterVideoAbuseReportReason++; | 4609 buildCounterVideoAbuseReportReason++; |
| 4469 if (buildCounterVideoAbuseReportReason < 3) { | 4610 if (buildCounterVideoAbuseReportReason < 3) { |
| 4470 unittest.expect(o.etag, unittest.equals('foo')); | 4611 unittest.expect(o.etag, unittest.equals('foo')); |
| 4471 unittest.expect(o.id, unittest.equals('foo')); | 4612 unittest.expect(o.id, unittest.equals('foo')); |
| 4472 unittest.expect(o.kind, unittest.equals('foo')); | 4613 unittest.expect(o.kind, unittest.equals('foo')); |
| 4473 checkVideoAbuseReportReasonSnippet(o.snippet); | 4614 checkVideoAbuseReportReasonSnippet(o.snippet); |
| 4474 } | 4615 } |
| 4475 buildCounterVideoAbuseReportReason--; | 4616 buildCounterVideoAbuseReportReason--; |
| 4476 } | 4617 } |
| 4477 | 4618 |
| 4478 buildUnnamed2938() { | 4619 buildUnnamed733() { |
| 4479 var o = new core.List<api.VideoAbuseReportReason>(); | 4620 var o = new core.List<api.VideoAbuseReportReason>(); |
| 4480 o.add(buildVideoAbuseReportReason()); | 4621 o.add(buildVideoAbuseReportReason()); |
| 4481 o.add(buildVideoAbuseReportReason()); | 4622 o.add(buildVideoAbuseReportReason()); |
| 4482 return o; | 4623 return o; |
| 4483 } | 4624 } |
| 4484 | 4625 |
| 4485 checkUnnamed2938(core.List<api.VideoAbuseReportReason> o) { | 4626 checkUnnamed733(core.List<api.VideoAbuseReportReason> o) { |
| 4486 unittest.expect(o, unittest.hasLength(2)); | 4627 unittest.expect(o, unittest.hasLength(2)); |
| 4487 checkVideoAbuseReportReason(o[0]); | 4628 checkVideoAbuseReportReason(o[0]); |
| 4488 checkVideoAbuseReportReason(o[1]); | 4629 checkVideoAbuseReportReason(o[1]); |
| 4489 } | 4630 } |
| 4490 | 4631 |
| 4491 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 4632 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
| 4492 buildVideoAbuseReportReasonListResponse() { | 4633 buildVideoAbuseReportReasonListResponse() { |
| 4493 var o = new api.VideoAbuseReportReasonListResponse(); | 4634 var o = new api.VideoAbuseReportReasonListResponse(); |
| 4494 buildCounterVideoAbuseReportReasonListResponse++; | 4635 buildCounterVideoAbuseReportReasonListResponse++; |
| 4495 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4636 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4496 o.etag = "foo"; | 4637 o.etag = "foo"; |
| 4497 o.eventId = "foo"; | 4638 o.eventId = "foo"; |
| 4498 o.items = buildUnnamed2938(); | 4639 o.items = buildUnnamed733(); |
| 4499 o.kind = "foo"; | 4640 o.kind = "foo"; |
| 4500 o.visitorId = "foo"; | 4641 o.visitorId = "foo"; |
| 4501 } | 4642 } |
| 4502 buildCounterVideoAbuseReportReasonListResponse--; | 4643 buildCounterVideoAbuseReportReasonListResponse--; |
| 4503 return o; | 4644 return o; |
| 4504 } | 4645 } |
| 4505 | 4646 |
| 4506 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 4647 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
| 4507 buildCounterVideoAbuseReportReasonListResponse++; | 4648 buildCounterVideoAbuseReportReasonListResponse++; |
| 4508 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 4649 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 4509 unittest.expect(o.etag, unittest.equals('foo')); | 4650 unittest.expect(o.etag, unittest.equals('foo')); |
| 4510 unittest.expect(o.eventId, unittest.equals('foo')); | 4651 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4511 checkUnnamed2938(o.items); | 4652 checkUnnamed733(o.items); |
| 4512 unittest.expect(o.kind, unittest.equals('foo')); | 4653 unittest.expect(o.kind, unittest.equals('foo')); |
| 4513 unittest.expect(o.visitorId, unittest.equals('foo')); | 4654 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4514 } | 4655 } |
| 4515 buildCounterVideoAbuseReportReasonListResponse--; | 4656 buildCounterVideoAbuseReportReasonListResponse--; |
| 4516 } | 4657 } |
| 4517 | 4658 |
| 4518 buildUnnamed2939() { | 4659 buildUnnamed734() { |
| 4519 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 4660 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
| 4520 o.add(buildVideoAbuseReportSecondaryReason()); | 4661 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4521 o.add(buildVideoAbuseReportSecondaryReason()); | 4662 o.add(buildVideoAbuseReportSecondaryReason()); |
| 4522 return o; | 4663 return o; |
| 4523 } | 4664 } |
| 4524 | 4665 |
| 4525 checkUnnamed2939(core.List<api.VideoAbuseReportSecondaryReason> o) { | 4666 checkUnnamed734(core.List<api.VideoAbuseReportSecondaryReason> o) { |
| 4526 unittest.expect(o, unittest.hasLength(2)); | 4667 unittest.expect(o, unittest.hasLength(2)); |
| 4527 checkVideoAbuseReportSecondaryReason(o[0]); | 4668 checkVideoAbuseReportSecondaryReason(o[0]); |
| 4528 checkVideoAbuseReportSecondaryReason(o[1]); | 4669 checkVideoAbuseReportSecondaryReason(o[1]); |
| 4529 } | 4670 } |
| 4530 | 4671 |
| 4531 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 4672 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
| 4532 buildVideoAbuseReportReasonSnippet() { | 4673 buildVideoAbuseReportReasonSnippet() { |
| 4533 var o = new api.VideoAbuseReportReasonSnippet(); | 4674 var o = new api.VideoAbuseReportReasonSnippet(); |
| 4534 buildCounterVideoAbuseReportReasonSnippet++; | 4675 buildCounterVideoAbuseReportReasonSnippet++; |
| 4535 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4676 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4536 o.label = "foo"; | 4677 o.label = "foo"; |
| 4537 o.secondaryReasons = buildUnnamed2939(); | 4678 o.secondaryReasons = buildUnnamed734(); |
| 4538 } | 4679 } |
| 4539 buildCounterVideoAbuseReportReasonSnippet--; | 4680 buildCounterVideoAbuseReportReasonSnippet--; |
| 4540 return o; | 4681 return o; |
| 4541 } | 4682 } |
| 4542 | 4683 |
| 4543 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 4684 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
| 4544 buildCounterVideoAbuseReportReasonSnippet++; | 4685 buildCounterVideoAbuseReportReasonSnippet++; |
| 4545 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 4686 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 4546 unittest.expect(o.label, unittest.equals('foo')); | 4687 unittest.expect(o.label, unittest.equals('foo')); |
| 4547 checkUnnamed2939(o.secondaryReasons); | 4688 checkUnnamed734(o.secondaryReasons); |
| 4548 } | 4689 } |
| 4549 buildCounterVideoAbuseReportReasonSnippet--; | 4690 buildCounterVideoAbuseReportReasonSnippet--; |
| 4550 } | 4691 } |
| 4551 | 4692 |
| 4552 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 4693 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
| 4553 buildVideoAbuseReportSecondaryReason() { | 4694 buildVideoAbuseReportSecondaryReason() { |
| 4554 var o = new api.VideoAbuseReportSecondaryReason(); | 4695 var o = new api.VideoAbuseReportSecondaryReason(); |
| 4555 buildCounterVideoAbuseReportSecondaryReason++; | 4696 buildCounterVideoAbuseReportSecondaryReason++; |
| 4556 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 4697 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
| 4557 o.id = "foo"; | 4698 o.id = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4611 buildCounterVideoCategory++; | 4752 buildCounterVideoCategory++; |
| 4612 if (buildCounterVideoCategory < 3) { | 4753 if (buildCounterVideoCategory < 3) { |
| 4613 unittest.expect(o.etag, unittest.equals('foo')); | 4754 unittest.expect(o.etag, unittest.equals('foo')); |
| 4614 unittest.expect(o.id, unittest.equals('foo')); | 4755 unittest.expect(o.id, unittest.equals('foo')); |
| 4615 unittest.expect(o.kind, unittest.equals('foo')); | 4756 unittest.expect(o.kind, unittest.equals('foo')); |
| 4616 checkVideoCategorySnippet(o.snippet); | 4757 checkVideoCategorySnippet(o.snippet); |
| 4617 } | 4758 } |
| 4618 buildCounterVideoCategory--; | 4759 buildCounterVideoCategory--; |
| 4619 } | 4760 } |
| 4620 | 4761 |
| 4621 buildUnnamed2940() { | 4762 buildUnnamed735() { |
| 4622 var o = new core.List<api.VideoCategory>(); | 4763 var o = new core.List<api.VideoCategory>(); |
| 4623 o.add(buildVideoCategory()); | 4764 o.add(buildVideoCategory()); |
| 4624 o.add(buildVideoCategory()); | 4765 o.add(buildVideoCategory()); |
| 4625 return o; | 4766 return o; |
| 4626 } | 4767 } |
| 4627 | 4768 |
| 4628 checkUnnamed2940(core.List<api.VideoCategory> o) { | 4769 checkUnnamed735(core.List<api.VideoCategory> o) { |
| 4629 unittest.expect(o, unittest.hasLength(2)); | 4770 unittest.expect(o, unittest.hasLength(2)); |
| 4630 checkVideoCategory(o[0]); | 4771 checkVideoCategory(o[0]); |
| 4631 checkVideoCategory(o[1]); | 4772 checkVideoCategory(o[1]); |
| 4632 } | 4773 } |
| 4633 | 4774 |
| 4634 core.int buildCounterVideoCategoryListResponse = 0; | 4775 core.int buildCounterVideoCategoryListResponse = 0; |
| 4635 buildVideoCategoryListResponse() { | 4776 buildVideoCategoryListResponse() { |
| 4636 var o = new api.VideoCategoryListResponse(); | 4777 var o = new api.VideoCategoryListResponse(); |
| 4637 buildCounterVideoCategoryListResponse++; | 4778 buildCounterVideoCategoryListResponse++; |
| 4638 if (buildCounterVideoCategoryListResponse < 3) { | 4779 if (buildCounterVideoCategoryListResponse < 3) { |
| 4639 o.etag = "foo"; | 4780 o.etag = "foo"; |
| 4640 o.eventId = "foo"; | 4781 o.eventId = "foo"; |
| 4641 o.items = buildUnnamed2940(); | 4782 o.items = buildUnnamed735(); |
| 4642 o.kind = "foo"; | 4783 o.kind = "foo"; |
| 4643 o.nextPageToken = "foo"; | 4784 o.nextPageToken = "foo"; |
| 4644 o.pageInfo = buildPageInfo(); | 4785 o.pageInfo = buildPageInfo(); |
| 4645 o.prevPageToken = "foo"; | 4786 o.prevPageToken = "foo"; |
| 4646 o.tokenPagination = buildTokenPagination(); | 4787 o.tokenPagination = buildTokenPagination(); |
| 4647 o.visitorId = "foo"; | 4788 o.visitorId = "foo"; |
| 4648 } | 4789 } |
| 4649 buildCounterVideoCategoryListResponse--; | 4790 buildCounterVideoCategoryListResponse--; |
| 4650 return o; | 4791 return o; |
| 4651 } | 4792 } |
| 4652 | 4793 |
| 4653 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4794 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 4654 buildCounterVideoCategoryListResponse++; | 4795 buildCounterVideoCategoryListResponse++; |
| 4655 if (buildCounterVideoCategoryListResponse < 3) { | 4796 if (buildCounterVideoCategoryListResponse < 3) { |
| 4656 unittest.expect(o.etag, unittest.equals('foo')); | 4797 unittest.expect(o.etag, unittest.equals('foo')); |
| 4657 unittest.expect(o.eventId, unittest.equals('foo')); | 4798 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4658 checkUnnamed2940(o.items); | 4799 checkUnnamed735(o.items); |
| 4659 unittest.expect(o.kind, unittest.equals('foo')); | 4800 unittest.expect(o.kind, unittest.equals('foo')); |
| 4660 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4801 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4661 checkPageInfo(o.pageInfo); | 4802 checkPageInfo(o.pageInfo); |
| 4662 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4803 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4663 checkTokenPagination(o.tokenPagination); | 4804 checkTokenPagination(o.tokenPagination); |
| 4664 unittest.expect(o.visitorId, unittest.equals('foo')); | 4805 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4665 } | 4806 } |
| 4666 buildCounterVideoCategoryListResponse--; | 4807 buildCounterVideoCategoryListResponse--; |
| 4667 } | 4808 } |
| 4668 | 4809 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4717 unittest.expect(o.definition, unittest.equals('foo')); | 4858 unittest.expect(o.definition, unittest.equals('foo')); |
| 4718 unittest.expect(o.dimension, unittest.equals('foo')); | 4859 unittest.expect(o.dimension, unittest.equals('foo')); |
| 4719 unittest.expect(o.duration, unittest.equals('foo')); | 4860 unittest.expect(o.duration, unittest.equals('foo')); |
| 4720 unittest.expect(o.licensedContent, unittest.isTrue); | 4861 unittest.expect(o.licensedContent, unittest.isTrue); |
| 4721 unittest.expect(o.projection, unittest.equals('foo')); | 4862 unittest.expect(o.projection, unittest.equals('foo')); |
| 4722 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 4863 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 4723 } | 4864 } |
| 4724 buildCounterVideoContentDetails--; | 4865 buildCounterVideoContentDetails--; |
| 4725 } | 4866 } |
| 4726 | 4867 |
| 4727 buildUnnamed2941() { | 4868 buildUnnamed736() { |
| 4728 var o = new core.List<core.String>(); | 4869 var o = new core.List<core.String>(); |
| 4729 o.add("foo"); | 4870 o.add("foo"); |
| 4730 o.add("foo"); | 4871 o.add("foo"); |
| 4731 return o; | 4872 return o; |
| 4732 } | 4873 } |
| 4733 | 4874 |
| 4734 checkUnnamed2941(core.List<core.String> o) { | 4875 checkUnnamed736(core.List<core.String> o) { |
| 4735 unittest.expect(o, unittest.hasLength(2)); | 4876 unittest.expect(o, unittest.hasLength(2)); |
| 4736 unittest.expect(o[0], unittest.equals('foo')); | 4877 unittest.expect(o[0], unittest.equals('foo')); |
| 4737 unittest.expect(o[1], unittest.equals('foo')); | 4878 unittest.expect(o[1], unittest.equals('foo')); |
| 4738 } | 4879 } |
| 4739 | 4880 |
| 4740 buildUnnamed2942() { | 4881 buildUnnamed737() { |
| 4741 var o = new core.List<core.String>(); | 4882 var o = new core.List<core.String>(); |
| 4742 o.add("foo"); | 4883 o.add("foo"); |
| 4743 o.add("foo"); | 4884 o.add("foo"); |
| 4744 return o; | 4885 return o; |
| 4745 } | 4886 } |
| 4746 | 4887 |
| 4747 checkUnnamed2942(core.List<core.String> o) { | 4888 checkUnnamed737(core.List<core.String> o) { |
| 4748 unittest.expect(o, unittest.hasLength(2)); | 4889 unittest.expect(o, unittest.hasLength(2)); |
| 4749 unittest.expect(o[0], unittest.equals('foo')); | 4890 unittest.expect(o[0], unittest.equals('foo')); |
| 4750 unittest.expect(o[1], unittest.equals('foo')); | 4891 unittest.expect(o[1], unittest.equals('foo')); |
| 4751 } | 4892 } |
| 4752 | 4893 |
| 4753 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 4894 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 4754 buildVideoContentDetailsRegionRestriction() { | 4895 buildVideoContentDetailsRegionRestriction() { |
| 4755 var o = new api.VideoContentDetailsRegionRestriction(); | 4896 var o = new api.VideoContentDetailsRegionRestriction(); |
| 4756 buildCounterVideoContentDetailsRegionRestriction++; | 4897 buildCounterVideoContentDetailsRegionRestriction++; |
| 4757 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4898 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4758 o.allowed = buildUnnamed2941(); | 4899 o.allowed = buildUnnamed736(); |
| 4759 o.blocked = buildUnnamed2942(); | 4900 o.blocked = buildUnnamed737(); |
| 4760 } | 4901 } |
| 4761 buildCounterVideoContentDetailsRegionRestriction--; | 4902 buildCounterVideoContentDetailsRegionRestriction--; |
| 4762 return o; | 4903 return o; |
| 4763 } | 4904 } |
| 4764 | 4905 |
| 4765 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 4906 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 4766 buildCounterVideoContentDetailsRegionRestriction++; | 4907 buildCounterVideoContentDetailsRegionRestriction++; |
| 4767 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4908 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4768 checkUnnamed2941(o.allowed); | 4909 checkUnnamed736(o.allowed); |
| 4769 checkUnnamed2942(o.blocked); | 4910 checkUnnamed737(o.blocked); |
| 4770 } | 4911 } |
| 4771 buildCounterVideoContentDetailsRegionRestriction--; | 4912 buildCounterVideoContentDetailsRegionRestriction--; |
| 4772 } | 4913 } |
| 4773 | 4914 |
| 4774 buildUnnamed2943() { | 4915 buildUnnamed738() { |
| 4775 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 4916 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 4776 o.add(buildVideoFileDetailsAudioStream()); | 4917 o.add(buildVideoFileDetailsAudioStream()); |
| 4777 o.add(buildVideoFileDetailsAudioStream()); | 4918 o.add(buildVideoFileDetailsAudioStream()); |
| 4778 return o; | 4919 return o; |
| 4779 } | 4920 } |
| 4780 | 4921 |
| 4781 checkUnnamed2943(core.List<api.VideoFileDetailsAudioStream> o) { | 4922 checkUnnamed738(core.List<api.VideoFileDetailsAudioStream> o) { |
| 4782 unittest.expect(o, unittest.hasLength(2)); | 4923 unittest.expect(o, unittest.hasLength(2)); |
| 4783 checkVideoFileDetailsAudioStream(o[0]); | 4924 checkVideoFileDetailsAudioStream(o[0]); |
| 4784 checkVideoFileDetailsAudioStream(o[1]); | 4925 checkVideoFileDetailsAudioStream(o[1]); |
| 4785 } | 4926 } |
| 4786 | 4927 |
| 4787 buildUnnamed2944() { | 4928 buildUnnamed739() { |
| 4788 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 4929 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 4789 o.add(buildVideoFileDetailsVideoStream()); | 4930 o.add(buildVideoFileDetailsVideoStream()); |
| 4790 o.add(buildVideoFileDetailsVideoStream()); | 4931 o.add(buildVideoFileDetailsVideoStream()); |
| 4791 return o; | 4932 return o; |
| 4792 } | 4933 } |
| 4793 | 4934 |
| 4794 checkUnnamed2944(core.List<api.VideoFileDetailsVideoStream> o) { | 4935 checkUnnamed739(core.List<api.VideoFileDetailsVideoStream> o) { |
| 4795 unittest.expect(o, unittest.hasLength(2)); | 4936 unittest.expect(o, unittest.hasLength(2)); |
| 4796 checkVideoFileDetailsVideoStream(o[0]); | 4937 checkVideoFileDetailsVideoStream(o[0]); |
| 4797 checkVideoFileDetailsVideoStream(o[1]); | 4938 checkVideoFileDetailsVideoStream(o[1]); |
| 4798 } | 4939 } |
| 4799 | 4940 |
| 4800 core.int buildCounterVideoFileDetails = 0; | 4941 core.int buildCounterVideoFileDetails = 0; |
| 4801 buildVideoFileDetails() { | 4942 buildVideoFileDetails() { |
| 4802 var o = new api.VideoFileDetails(); | 4943 var o = new api.VideoFileDetails(); |
| 4803 buildCounterVideoFileDetails++; | 4944 buildCounterVideoFileDetails++; |
| 4804 if (buildCounterVideoFileDetails < 3) { | 4945 if (buildCounterVideoFileDetails < 3) { |
| 4805 o.audioStreams = buildUnnamed2943(); | 4946 o.audioStreams = buildUnnamed738(); |
| 4806 o.bitrateBps = "foo"; | 4947 o.bitrateBps = "foo"; |
| 4807 o.container = "foo"; | 4948 o.container = "foo"; |
| 4808 o.creationTime = "foo"; | 4949 o.creationTime = "foo"; |
| 4809 o.durationMs = "foo"; | 4950 o.durationMs = "foo"; |
| 4810 o.fileName = "foo"; | 4951 o.fileName = "foo"; |
| 4811 o.fileSize = "foo"; | 4952 o.fileSize = "foo"; |
| 4812 o.fileType = "foo"; | 4953 o.fileType = "foo"; |
| 4813 o.recordingLocation = buildGeoPoint(); | 4954 o.recordingLocation = buildGeoPoint(); |
| 4814 o.videoStreams = buildUnnamed2944(); | 4955 o.videoStreams = buildUnnamed739(); |
| 4815 } | 4956 } |
| 4816 buildCounterVideoFileDetails--; | 4957 buildCounterVideoFileDetails--; |
| 4817 return o; | 4958 return o; |
| 4818 } | 4959 } |
| 4819 | 4960 |
| 4820 checkVideoFileDetails(api.VideoFileDetails o) { | 4961 checkVideoFileDetails(api.VideoFileDetails o) { |
| 4821 buildCounterVideoFileDetails++; | 4962 buildCounterVideoFileDetails++; |
| 4822 if (buildCounterVideoFileDetails < 3) { | 4963 if (buildCounterVideoFileDetails < 3) { |
| 4823 checkUnnamed2943(o.audioStreams); | 4964 checkUnnamed738(o.audioStreams); |
| 4824 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 4965 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 4825 unittest.expect(o.container, unittest.equals('foo')); | 4966 unittest.expect(o.container, unittest.equals('foo')); |
| 4826 unittest.expect(o.creationTime, unittest.equals('foo')); | 4967 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 4827 unittest.expect(o.durationMs, unittest.equals('foo')); | 4968 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 4828 unittest.expect(o.fileName, unittest.equals('foo')); | 4969 unittest.expect(o.fileName, unittest.equals('foo')); |
| 4829 unittest.expect(o.fileSize, unittest.equals('foo')); | 4970 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 4830 unittest.expect(o.fileType, unittest.equals('foo')); | 4971 unittest.expect(o.fileType, unittest.equals('foo')); |
| 4831 checkGeoPoint(o.recordingLocation); | 4972 checkGeoPoint(o.recordingLocation); |
| 4832 checkUnnamed2944(o.videoStreams); | 4973 checkUnnamed739(o.videoStreams); |
| 4833 } | 4974 } |
| 4834 buildCounterVideoFileDetails--; | 4975 buildCounterVideoFileDetails--; |
| 4835 } | 4976 } |
| 4836 | 4977 |
| 4837 core.int buildCounterVideoFileDetailsAudioStream = 0; | 4978 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 4838 buildVideoFileDetailsAudioStream() { | 4979 buildVideoFileDetailsAudioStream() { |
| 4839 var o = new api.VideoFileDetailsAudioStream(); | 4980 var o = new api.VideoFileDetailsAudioStream(); |
| 4840 buildCounterVideoFileDetailsAudioStream++; | 4981 buildCounterVideoFileDetailsAudioStream++; |
| 4841 if (buildCounterVideoFileDetailsAudioStream < 3) { | 4982 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 4842 o.bitrateBps = "foo"; | 4983 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4885 unittest.expect(o.codec, unittest.equals('foo')); | 5026 unittest.expect(o.codec, unittest.equals('foo')); |
| 4886 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 5027 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 4887 unittest.expect(o.heightPixels, unittest.equals(42)); | 5028 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 4888 unittest.expect(o.rotation, unittest.equals('foo')); | 5029 unittest.expect(o.rotation, unittest.equals('foo')); |
| 4889 unittest.expect(o.vendor, unittest.equals('foo')); | 5030 unittest.expect(o.vendor, unittest.equals('foo')); |
| 4890 unittest.expect(o.widthPixels, unittest.equals(42)); | 5031 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 4891 } | 5032 } |
| 4892 buildCounterVideoFileDetailsVideoStream--; | 5033 buildCounterVideoFileDetailsVideoStream--; |
| 4893 } | 5034 } |
| 4894 | 5035 |
| 4895 buildUnnamed2945() { | 5036 buildUnnamed740() { |
| 4896 var o = new core.List<api.VideoRating>(); | 5037 var o = new core.List<api.VideoRating>(); |
| 4897 o.add(buildVideoRating()); | 5038 o.add(buildVideoRating()); |
| 4898 o.add(buildVideoRating()); | 5039 o.add(buildVideoRating()); |
| 4899 return o; | 5040 return o; |
| 4900 } | 5041 } |
| 4901 | 5042 |
| 4902 checkUnnamed2945(core.List<api.VideoRating> o) { | 5043 checkUnnamed740(core.List<api.VideoRating> o) { |
| 4903 unittest.expect(o, unittest.hasLength(2)); | 5044 unittest.expect(o, unittest.hasLength(2)); |
| 4904 checkVideoRating(o[0]); | 5045 checkVideoRating(o[0]); |
| 4905 checkVideoRating(o[1]); | 5046 checkVideoRating(o[1]); |
| 4906 } | 5047 } |
| 4907 | 5048 |
| 4908 core.int buildCounterVideoGetRatingResponse = 0; | 5049 core.int buildCounterVideoGetRatingResponse = 0; |
| 4909 buildVideoGetRatingResponse() { | 5050 buildVideoGetRatingResponse() { |
| 4910 var o = new api.VideoGetRatingResponse(); | 5051 var o = new api.VideoGetRatingResponse(); |
| 4911 buildCounterVideoGetRatingResponse++; | 5052 buildCounterVideoGetRatingResponse++; |
| 4912 if (buildCounterVideoGetRatingResponse < 3) { | 5053 if (buildCounterVideoGetRatingResponse < 3) { |
| 4913 o.etag = "foo"; | 5054 o.etag = "foo"; |
| 4914 o.eventId = "foo"; | 5055 o.eventId = "foo"; |
| 4915 o.items = buildUnnamed2945(); | 5056 o.items = buildUnnamed740(); |
| 4916 o.kind = "foo"; | 5057 o.kind = "foo"; |
| 4917 o.visitorId = "foo"; | 5058 o.visitorId = "foo"; |
| 4918 } | 5059 } |
| 4919 buildCounterVideoGetRatingResponse--; | 5060 buildCounterVideoGetRatingResponse--; |
| 4920 return o; | 5061 return o; |
| 4921 } | 5062 } |
| 4922 | 5063 |
| 4923 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 5064 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 4924 buildCounterVideoGetRatingResponse++; | 5065 buildCounterVideoGetRatingResponse++; |
| 4925 if (buildCounterVideoGetRatingResponse < 3) { | 5066 if (buildCounterVideoGetRatingResponse < 3) { |
| 4926 unittest.expect(o.etag, unittest.equals('foo')); | 5067 unittest.expect(o.etag, unittest.equals('foo')); |
| 4927 unittest.expect(o.eventId, unittest.equals('foo')); | 5068 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4928 checkUnnamed2945(o.items); | 5069 checkUnnamed740(o.items); |
| 4929 unittest.expect(o.kind, unittest.equals('foo')); | 5070 unittest.expect(o.kind, unittest.equals('foo')); |
| 4930 unittest.expect(o.visitorId, unittest.equals('foo')); | 5071 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4931 } | 5072 } |
| 4932 buildCounterVideoGetRatingResponse--; | 5073 buildCounterVideoGetRatingResponse--; |
| 4933 } | 5074 } |
| 4934 | 5075 |
| 4935 buildUnnamed2946() { | 5076 buildUnnamed741() { |
| 4936 var o = new core.List<api.Video>(); | 5077 var o = new core.List<api.Video>(); |
| 4937 o.add(buildVideo()); | 5078 o.add(buildVideo()); |
| 4938 o.add(buildVideo()); | 5079 o.add(buildVideo()); |
| 4939 return o; | 5080 return o; |
| 4940 } | 5081 } |
| 4941 | 5082 |
| 4942 checkUnnamed2946(core.List<api.Video> o) { | 5083 checkUnnamed741(core.List<api.Video> o) { |
| 4943 unittest.expect(o, unittest.hasLength(2)); | 5084 unittest.expect(o, unittest.hasLength(2)); |
| 4944 checkVideo(o[0]); | 5085 checkVideo(o[0]); |
| 4945 checkVideo(o[1]); | 5086 checkVideo(o[1]); |
| 4946 } | 5087 } |
| 4947 | 5088 |
| 4948 core.int buildCounterVideoListResponse = 0; | 5089 core.int buildCounterVideoListResponse = 0; |
| 4949 buildVideoListResponse() { | 5090 buildVideoListResponse() { |
| 4950 var o = new api.VideoListResponse(); | 5091 var o = new api.VideoListResponse(); |
| 4951 buildCounterVideoListResponse++; | 5092 buildCounterVideoListResponse++; |
| 4952 if (buildCounterVideoListResponse < 3) { | 5093 if (buildCounterVideoListResponse < 3) { |
| 4953 o.etag = "foo"; | 5094 o.etag = "foo"; |
| 4954 o.eventId = "foo"; | 5095 o.eventId = "foo"; |
| 4955 o.items = buildUnnamed2946(); | 5096 o.items = buildUnnamed741(); |
| 4956 o.kind = "foo"; | 5097 o.kind = "foo"; |
| 4957 o.nextPageToken = "foo"; | 5098 o.nextPageToken = "foo"; |
| 4958 o.pageInfo = buildPageInfo(); | 5099 o.pageInfo = buildPageInfo(); |
| 4959 o.prevPageToken = "foo"; | 5100 o.prevPageToken = "foo"; |
| 4960 o.tokenPagination = buildTokenPagination(); | 5101 o.tokenPagination = buildTokenPagination(); |
| 4961 o.visitorId = "foo"; | 5102 o.visitorId = "foo"; |
| 4962 } | 5103 } |
| 4963 buildCounterVideoListResponse--; | 5104 buildCounterVideoListResponse--; |
| 4964 return o; | 5105 return o; |
| 4965 } | 5106 } |
| 4966 | 5107 |
| 4967 checkVideoListResponse(api.VideoListResponse o) { | 5108 checkVideoListResponse(api.VideoListResponse o) { |
| 4968 buildCounterVideoListResponse++; | 5109 buildCounterVideoListResponse++; |
| 4969 if (buildCounterVideoListResponse < 3) { | 5110 if (buildCounterVideoListResponse < 3) { |
| 4970 unittest.expect(o.etag, unittest.equals('foo')); | 5111 unittest.expect(o.etag, unittest.equals('foo')); |
| 4971 unittest.expect(o.eventId, unittest.equals('foo')); | 5112 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4972 checkUnnamed2946(o.items); | 5113 checkUnnamed741(o.items); |
| 4973 unittest.expect(o.kind, unittest.equals('foo')); | 5114 unittest.expect(o.kind, unittest.equals('foo')); |
| 4974 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 5115 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4975 checkPageInfo(o.pageInfo); | 5116 checkPageInfo(o.pageInfo); |
| 4976 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 5117 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4977 checkTokenPagination(o.tokenPagination); | 5118 checkTokenPagination(o.tokenPagination); |
| 4978 unittest.expect(o.visitorId, unittest.equals('foo')); | 5119 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4979 } | 5120 } |
| 4980 buildCounterVideoListResponse--; | 5121 buildCounterVideoListResponse--; |
| 4981 } | 5122 } |
| 4982 | 5123 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5117 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 5258 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 5118 buildCounterVideoProcessingDetailsProcessingProgress++; | 5259 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 5119 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 5260 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 5120 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 5261 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 5121 unittest.expect(o.partsTotal, unittest.equals('foo')); | 5262 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 5122 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 5263 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 5123 } | 5264 } |
| 5124 buildCounterVideoProcessingDetailsProcessingProgress--; | 5265 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 5125 } | 5266 } |
| 5126 | 5267 |
| 5127 buildUnnamed2947() { | 5268 buildUnnamed742() { |
| 5128 var o = new core.List<core.String>(); | 5269 var o = new core.List<core.String>(); |
| 5129 o.add("foo"); | 5270 o.add("foo"); |
| 5130 o.add("foo"); | 5271 o.add("foo"); |
| 5131 return o; | 5272 return o; |
| 5132 } | 5273 } |
| 5133 | 5274 |
| 5134 checkUnnamed2947(core.List<core.String> o) { | 5275 checkUnnamed742(core.List<core.String> o) { |
| 5135 unittest.expect(o, unittest.hasLength(2)); | 5276 unittest.expect(o, unittest.hasLength(2)); |
| 5136 unittest.expect(o[0], unittest.equals('foo')); | 5277 unittest.expect(o[0], unittest.equals('foo')); |
| 5137 unittest.expect(o[1], unittest.equals('foo')); | 5278 unittest.expect(o[1], unittest.equals('foo')); |
| 5138 } | 5279 } |
| 5139 | 5280 |
| 5140 core.int buildCounterVideoProjectDetails = 0; | 5281 core.int buildCounterVideoProjectDetails = 0; |
| 5141 buildVideoProjectDetails() { | 5282 buildVideoProjectDetails() { |
| 5142 var o = new api.VideoProjectDetails(); | 5283 var o = new api.VideoProjectDetails(); |
| 5143 buildCounterVideoProjectDetails++; | 5284 buildCounterVideoProjectDetails++; |
| 5144 if (buildCounterVideoProjectDetails < 3) { | 5285 if (buildCounterVideoProjectDetails < 3) { |
| 5145 o.tags = buildUnnamed2947(); | 5286 o.tags = buildUnnamed742(); |
| 5146 } | 5287 } |
| 5147 buildCounterVideoProjectDetails--; | 5288 buildCounterVideoProjectDetails--; |
| 5148 return o; | 5289 return o; |
| 5149 } | 5290 } |
| 5150 | 5291 |
| 5151 checkVideoProjectDetails(api.VideoProjectDetails o) { | 5292 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 5152 buildCounterVideoProjectDetails++; | 5293 buildCounterVideoProjectDetails++; |
| 5153 if (buildCounterVideoProjectDetails < 3) { | 5294 if (buildCounterVideoProjectDetails < 3) { |
| 5154 checkUnnamed2947(o.tags); | 5295 checkUnnamed742(o.tags); |
| 5155 } | 5296 } |
| 5156 buildCounterVideoProjectDetails--; | 5297 buildCounterVideoProjectDetails--; |
| 5157 } | 5298 } |
| 5158 | 5299 |
| 5159 core.int buildCounterVideoRating = 0; | 5300 core.int buildCounterVideoRating = 0; |
| 5160 buildVideoRating() { | 5301 buildVideoRating() { |
| 5161 var o = new api.VideoRating(); | 5302 var o = new api.VideoRating(); |
| 5162 buildCounterVideoRating++; | 5303 buildCounterVideoRating++; |
| 5163 if (buildCounterVideoRating < 3) { | 5304 if (buildCounterVideoRating < 3) { |
| 5164 o.rating = "foo"; | 5305 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 5193 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 5334 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 5194 buildCounterVideoRecordingDetails++; | 5335 buildCounterVideoRecordingDetails++; |
| 5195 if (buildCounterVideoRecordingDetails < 3) { | 5336 if (buildCounterVideoRecordingDetails < 3) { |
| 5196 checkGeoPoint(o.location); | 5337 checkGeoPoint(o.location); |
| 5197 unittest.expect(o.locationDescription, unittest.equals('foo')); | 5338 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 5198 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 5339 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 5199 } | 5340 } |
| 5200 buildCounterVideoRecordingDetails--; | 5341 buildCounterVideoRecordingDetails--; |
| 5201 } | 5342 } |
| 5202 | 5343 |
| 5203 buildUnnamed2948() { | 5344 buildUnnamed743() { |
| 5204 var o = new core.List<core.String>(); | 5345 var o = new core.List<core.String>(); |
| 5205 o.add("foo"); | 5346 o.add("foo"); |
| 5206 o.add("foo"); | 5347 o.add("foo"); |
| 5207 return o; | 5348 return o; |
| 5208 } | 5349 } |
| 5209 | 5350 |
| 5210 checkUnnamed2948(core.List<core.String> o) { | 5351 checkUnnamed743(core.List<core.String> o) { |
| 5211 unittest.expect(o, unittest.hasLength(2)); | 5352 unittest.expect(o, unittest.hasLength(2)); |
| 5212 unittest.expect(o[0], unittest.equals('foo')); | 5353 unittest.expect(o[0], unittest.equals('foo')); |
| 5213 unittest.expect(o[1], unittest.equals('foo')); | 5354 unittest.expect(o[1], unittest.equals('foo')); |
| 5214 } | 5355 } |
| 5215 | 5356 |
| 5216 core.int buildCounterVideoSnippet = 0; | 5357 core.int buildCounterVideoSnippet = 0; |
| 5217 buildVideoSnippet() { | 5358 buildVideoSnippet() { |
| 5218 var o = new api.VideoSnippet(); | 5359 var o = new api.VideoSnippet(); |
| 5219 buildCounterVideoSnippet++; | 5360 buildCounterVideoSnippet++; |
| 5220 if (buildCounterVideoSnippet < 3) { | 5361 if (buildCounterVideoSnippet < 3) { |
| 5221 o.categoryId = "foo"; | 5362 o.categoryId = "foo"; |
| 5222 o.channelId = "foo"; | 5363 o.channelId = "foo"; |
| 5223 o.channelTitle = "foo"; | 5364 o.channelTitle = "foo"; |
| 5224 o.defaultAudioLanguage = "foo"; | 5365 o.defaultAudioLanguage = "foo"; |
| 5225 o.defaultLanguage = "foo"; | 5366 o.defaultLanguage = "foo"; |
| 5226 o.description = "foo"; | 5367 o.description = "foo"; |
| 5227 o.liveBroadcastContent = "foo"; | 5368 o.liveBroadcastContent = "foo"; |
| 5228 o.localized = buildVideoLocalization(); | 5369 o.localized = buildVideoLocalization(); |
| 5229 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 5370 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 5230 o.tags = buildUnnamed2948(); | 5371 o.tags = buildUnnamed743(); |
| 5231 o.thumbnails = buildThumbnailDetails(); | 5372 o.thumbnails = buildThumbnailDetails(); |
| 5232 o.title = "foo"; | 5373 o.title = "foo"; |
| 5233 } | 5374 } |
| 5234 buildCounterVideoSnippet--; | 5375 buildCounterVideoSnippet--; |
| 5235 return o; | 5376 return o; |
| 5236 } | 5377 } |
| 5237 | 5378 |
| 5238 checkVideoSnippet(api.VideoSnippet o) { | 5379 checkVideoSnippet(api.VideoSnippet o) { |
| 5239 buildCounterVideoSnippet++; | 5380 buildCounterVideoSnippet++; |
| 5240 if (buildCounterVideoSnippet < 3) { | 5381 if (buildCounterVideoSnippet < 3) { |
| 5241 unittest.expect(o.categoryId, unittest.equals('foo')); | 5382 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 5242 unittest.expect(o.channelId, unittest.equals('foo')); | 5383 unittest.expect(o.channelId, unittest.equals('foo')); |
| 5243 unittest.expect(o.channelTitle, unittest.equals('foo')); | 5384 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 5244 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 5385 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
| 5245 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 5386 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 5246 unittest.expect(o.description, unittest.equals('foo')); | 5387 unittest.expect(o.description, unittest.equals('foo')); |
| 5247 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 5388 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 5248 checkVideoLocalization(o.localized); | 5389 checkVideoLocalization(o.localized); |
| 5249 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 5390 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 5250 checkUnnamed2948(o.tags); | 5391 checkUnnamed743(o.tags); |
| 5251 checkThumbnailDetails(o.thumbnails); | 5392 checkThumbnailDetails(o.thumbnails); |
| 5252 unittest.expect(o.title, unittest.equals('foo')); | 5393 unittest.expect(o.title, unittest.equals('foo')); |
| 5253 } | 5394 } |
| 5254 buildCounterVideoSnippet--; | 5395 buildCounterVideoSnippet--; |
| 5255 } | 5396 } |
| 5256 | 5397 |
| 5257 core.int buildCounterVideoStatistics = 0; | 5398 core.int buildCounterVideoStatistics = 0; |
| 5258 buildVideoStatistics() { | 5399 buildVideoStatistics() { |
| 5259 var o = new api.VideoStatistics(); | 5400 var o = new api.VideoStatistics(); |
| 5260 buildCounterVideoStatistics++; | 5401 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5307 unittest.expect(o.license, unittest.equals('foo')); | 5448 unittest.expect(o.license, unittest.equals('foo')); |
| 5308 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 5449 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 5309 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 5450 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 5310 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 5451 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 5311 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 5452 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 5312 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 5453 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 5313 } | 5454 } |
| 5314 buildCounterVideoStatus--; | 5455 buildCounterVideoStatus--; |
| 5315 } | 5456 } |
| 5316 | 5457 |
| 5317 buildUnnamed2949() { | 5458 buildUnnamed744() { |
| 5318 var o = new core.List<core.String>(); | 5459 var o = new core.List<core.String>(); |
| 5319 o.add("foo"); | 5460 o.add("foo"); |
| 5320 o.add("foo"); | 5461 o.add("foo"); |
| 5321 return o; | 5462 return o; |
| 5322 } | 5463 } |
| 5323 | 5464 |
| 5324 checkUnnamed2949(core.List<core.String> o) { | 5465 checkUnnamed744(core.List<core.String> o) { |
| 5325 unittest.expect(o, unittest.hasLength(2)); | 5466 unittest.expect(o, unittest.hasLength(2)); |
| 5326 unittest.expect(o[0], unittest.equals('foo')); | 5467 unittest.expect(o[0], unittest.equals('foo')); |
| 5327 unittest.expect(o[1], unittest.equals('foo')); | 5468 unittest.expect(o[1], unittest.equals('foo')); |
| 5328 } | 5469 } |
| 5329 | 5470 |
| 5330 buildUnnamed2950() { | 5471 buildUnnamed745() { |
| 5331 var o = new core.List<core.String>(); | 5472 var o = new core.List<core.String>(); |
| 5332 o.add("foo"); | 5473 o.add("foo"); |
| 5333 o.add("foo"); | 5474 o.add("foo"); |
| 5334 return o; | 5475 return o; |
| 5335 } | 5476 } |
| 5336 | 5477 |
| 5337 checkUnnamed2950(core.List<core.String> o) { | 5478 checkUnnamed745(core.List<core.String> o) { |
| 5338 unittest.expect(o, unittest.hasLength(2)); | 5479 unittest.expect(o, unittest.hasLength(2)); |
| 5339 unittest.expect(o[0], unittest.equals('foo')); | 5480 unittest.expect(o[0], unittest.equals('foo')); |
| 5340 unittest.expect(o[1], unittest.equals('foo')); | 5481 unittest.expect(o[1], unittest.equals('foo')); |
| 5341 } | 5482 } |
| 5342 | 5483 |
| 5343 buildUnnamed2951() { | 5484 buildUnnamed746() { |
| 5344 var o = new core.List<core.String>(); | 5485 var o = new core.List<core.String>(); |
| 5345 o.add("foo"); | 5486 o.add("foo"); |
| 5346 o.add("foo"); | 5487 o.add("foo"); |
| 5347 return o; | 5488 return o; |
| 5348 } | 5489 } |
| 5349 | 5490 |
| 5350 checkUnnamed2951(core.List<core.String> o) { | 5491 checkUnnamed746(core.List<core.String> o) { |
| 5351 unittest.expect(o, unittest.hasLength(2)); | 5492 unittest.expect(o, unittest.hasLength(2)); |
| 5352 unittest.expect(o[0], unittest.equals('foo')); | 5493 unittest.expect(o[0], unittest.equals('foo')); |
| 5353 unittest.expect(o[1], unittest.equals('foo')); | 5494 unittest.expect(o[1], unittest.equals('foo')); |
| 5354 } | 5495 } |
| 5355 | 5496 |
| 5356 buildUnnamed2952() { | 5497 buildUnnamed747() { |
| 5357 var o = new core.List<core.String>(); | 5498 var o = new core.List<core.String>(); |
| 5358 o.add("foo"); | 5499 o.add("foo"); |
| 5359 o.add("foo"); | 5500 o.add("foo"); |
| 5360 return o; | 5501 return o; |
| 5361 } | 5502 } |
| 5362 | 5503 |
| 5363 checkUnnamed2952(core.List<core.String> o) { | 5504 checkUnnamed747(core.List<core.String> o) { |
| 5364 unittest.expect(o, unittest.hasLength(2)); | 5505 unittest.expect(o, unittest.hasLength(2)); |
| 5365 unittest.expect(o[0], unittest.equals('foo')); | 5506 unittest.expect(o[0], unittest.equals('foo')); |
| 5366 unittest.expect(o[1], unittest.equals('foo')); | 5507 unittest.expect(o[1], unittest.equals('foo')); |
| 5367 } | 5508 } |
| 5368 | 5509 |
| 5369 buildUnnamed2953() { | 5510 buildUnnamed748() { |
| 5370 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 5511 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 5371 o.add(buildVideoSuggestionsTagSuggestion()); | 5512 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5372 o.add(buildVideoSuggestionsTagSuggestion()); | 5513 o.add(buildVideoSuggestionsTagSuggestion()); |
| 5373 return o; | 5514 return o; |
| 5374 } | 5515 } |
| 5375 | 5516 |
| 5376 checkUnnamed2953(core.List<api.VideoSuggestionsTagSuggestion> o) { | 5517 checkUnnamed748(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 5377 unittest.expect(o, unittest.hasLength(2)); | 5518 unittest.expect(o, unittest.hasLength(2)); |
| 5378 checkVideoSuggestionsTagSuggestion(o[0]); | 5519 checkVideoSuggestionsTagSuggestion(o[0]); |
| 5379 checkVideoSuggestionsTagSuggestion(o[1]); | 5520 checkVideoSuggestionsTagSuggestion(o[1]); |
| 5380 } | 5521 } |
| 5381 | 5522 |
| 5382 core.int buildCounterVideoSuggestions = 0; | 5523 core.int buildCounterVideoSuggestions = 0; |
| 5383 buildVideoSuggestions() { | 5524 buildVideoSuggestions() { |
| 5384 var o = new api.VideoSuggestions(); | 5525 var o = new api.VideoSuggestions(); |
| 5385 buildCounterVideoSuggestions++; | 5526 buildCounterVideoSuggestions++; |
| 5386 if (buildCounterVideoSuggestions < 3) { | 5527 if (buildCounterVideoSuggestions < 3) { |
| 5387 o.editorSuggestions = buildUnnamed2949(); | 5528 o.editorSuggestions = buildUnnamed744(); |
| 5388 o.processingErrors = buildUnnamed2950(); | 5529 o.processingErrors = buildUnnamed745(); |
| 5389 o.processingHints = buildUnnamed2951(); | 5530 o.processingHints = buildUnnamed746(); |
| 5390 o.processingWarnings = buildUnnamed2952(); | 5531 o.processingWarnings = buildUnnamed747(); |
| 5391 o.tagSuggestions = buildUnnamed2953(); | 5532 o.tagSuggestions = buildUnnamed748(); |
| 5392 } | 5533 } |
| 5393 buildCounterVideoSuggestions--; | 5534 buildCounterVideoSuggestions--; |
| 5394 return o; | 5535 return o; |
| 5395 } | 5536 } |
| 5396 | 5537 |
| 5397 checkVideoSuggestions(api.VideoSuggestions o) { | 5538 checkVideoSuggestions(api.VideoSuggestions o) { |
| 5398 buildCounterVideoSuggestions++; | 5539 buildCounterVideoSuggestions++; |
| 5399 if (buildCounterVideoSuggestions < 3) { | 5540 if (buildCounterVideoSuggestions < 3) { |
| 5400 checkUnnamed2949(o.editorSuggestions); | 5541 checkUnnamed744(o.editorSuggestions); |
| 5401 checkUnnamed2950(o.processingErrors); | 5542 checkUnnamed745(o.processingErrors); |
| 5402 checkUnnamed2951(o.processingHints); | 5543 checkUnnamed746(o.processingHints); |
| 5403 checkUnnamed2952(o.processingWarnings); | 5544 checkUnnamed747(o.processingWarnings); |
| 5404 checkUnnamed2953(o.tagSuggestions); | 5545 checkUnnamed748(o.tagSuggestions); |
| 5405 } | 5546 } |
| 5406 buildCounterVideoSuggestions--; | 5547 buildCounterVideoSuggestions--; |
| 5407 } | 5548 } |
| 5408 | 5549 |
| 5409 buildUnnamed2954() { | 5550 buildUnnamed749() { |
| 5410 var o = new core.List<core.String>(); | 5551 var o = new core.List<core.String>(); |
| 5411 o.add("foo"); | 5552 o.add("foo"); |
| 5412 o.add("foo"); | 5553 o.add("foo"); |
| 5413 return o; | 5554 return o; |
| 5414 } | 5555 } |
| 5415 | 5556 |
| 5416 checkUnnamed2954(core.List<core.String> o) { | 5557 checkUnnamed749(core.List<core.String> o) { |
| 5417 unittest.expect(o, unittest.hasLength(2)); | 5558 unittest.expect(o, unittest.hasLength(2)); |
| 5418 unittest.expect(o[0], unittest.equals('foo')); | 5559 unittest.expect(o[0], unittest.equals('foo')); |
| 5419 unittest.expect(o[1], unittest.equals('foo')); | 5560 unittest.expect(o[1], unittest.equals('foo')); |
| 5420 } | 5561 } |
| 5421 | 5562 |
| 5422 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 5563 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 5423 buildVideoSuggestionsTagSuggestion() { | 5564 buildVideoSuggestionsTagSuggestion() { |
| 5424 var o = new api.VideoSuggestionsTagSuggestion(); | 5565 var o = new api.VideoSuggestionsTagSuggestion(); |
| 5425 buildCounterVideoSuggestionsTagSuggestion++; | 5566 buildCounterVideoSuggestionsTagSuggestion++; |
| 5426 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5567 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5427 o.categoryRestricts = buildUnnamed2954(); | 5568 o.categoryRestricts = buildUnnamed749(); |
| 5428 o.tag = "foo"; | 5569 o.tag = "foo"; |
| 5429 } | 5570 } |
| 5430 buildCounterVideoSuggestionsTagSuggestion--; | 5571 buildCounterVideoSuggestionsTagSuggestion--; |
| 5431 return o; | 5572 return o; |
| 5432 } | 5573 } |
| 5433 | 5574 |
| 5434 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 5575 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 5435 buildCounterVideoSuggestionsTagSuggestion++; | 5576 buildCounterVideoSuggestionsTagSuggestion++; |
| 5436 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 5577 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 5437 checkUnnamed2954(o.categoryRestricts); | 5578 checkUnnamed749(o.categoryRestricts); |
| 5438 unittest.expect(o.tag, unittest.equals('foo')); | 5579 unittest.expect(o.tag, unittest.equals('foo')); |
| 5439 } | 5580 } |
| 5440 buildCounterVideoSuggestionsTagSuggestion--; | 5581 buildCounterVideoSuggestionsTagSuggestion--; |
| 5441 } | 5582 } |
| 5442 | 5583 |
| 5443 buildUnnamed2955() { | 5584 buildUnnamed750() { |
| 5444 var o = new core.List<core.String>(); | 5585 var o = new core.List<core.String>(); |
| 5445 o.add("foo"); | 5586 o.add("foo"); |
| 5446 o.add("foo"); | 5587 o.add("foo"); |
| 5447 return o; | 5588 return o; |
| 5448 } | 5589 } |
| 5449 | 5590 |
| 5450 checkUnnamed2955(core.List<core.String> o) { | 5591 checkUnnamed750(core.List<core.String> o) { |
| 5451 unittest.expect(o, unittest.hasLength(2)); | 5592 unittest.expect(o, unittest.hasLength(2)); |
| 5452 unittest.expect(o[0], unittest.equals('foo')); | 5593 unittest.expect(o[0], unittest.equals('foo')); |
| 5453 unittest.expect(o[1], unittest.equals('foo')); | 5594 unittest.expect(o[1], unittest.equals('foo')); |
| 5454 } | 5595 } |
| 5455 | 5596 |
| 5456 buildUnnamed2956() { | 5597 buildUnnamed751() { |
| 5457 var o = new core.List<core.String>(); | 5598 var o = new core.List<core.String>(); |
| 5458 o.add("foo"); | 5599 o.add("foo"); |
| 5459 o.add("foo"); | 5600 o.add("foo"); |
| 5460 return o; | 5601 return o; |
| 5461 } | 5602 } |
| 5462 | 5603 |
| 5463 checkUnnamed2956(core.List<core.String> o) { | 5604 checkUnnamed751(core.List<core.String> o) { |
| 5464 unittest.expect(o, unittest.hasLength(2)); | 5605 unittest.expect(o, unittest.hasLength(2)); |
| 5465 unittest.expect(o[0], unittest.equals('foo')); | 5606 unittest.expect(o[0], unittest.equals('foo')); |
| 5466 unittest.expect(o[1], unittest.equals('foo')); | 5607 unittest.expect(o[1], unittest.equals('foo')); |
| 5467 } | 5608 } |
| 5468 | 5609 |
| 5469 core.int buildCounterVideoTopicDetails = 0; | 5610 core.int buildCounterVideoTopicDetails = 0; |
| 5470 buildVideoTopicDetails() { | 5611 buildVideoTopicDetails() { |
| 5471 var o = new api.VideoTopicDetails(); | 5612 var o = new api.VideoTopicDetails(); |
| 5472 buildCounterVideoTopicDetails++; | 5613 buildCounterVideoTopicDetails++; |
| 5473 if (buildCounterVideoTopicDetails < 3) { | 5614 if (buildCounterVideoTopicDetails < 3) { |
| 5474 o.relevantTopicIds = buildUnnamed2955(); | 5615 o.relevantTopicIds = buildUnnamed750(); |
| 5475 o.topicIds = buildUnnamed2956(); | 5616 o.topicIds = buildUnnamed751(); |
| 5476 } | 5617 } |
| 5477 buildCounterVideoTopicDetails--; | 5618 buildCounterVideoTopicDetails--; |
| 5478 return o; | 5619 return o; |
| 5479 } | 5620 } |
| 5480 | 5621 |
| 5481 checkVideoTopicDetails(api.VideoTopicDetails o) { | 5622 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 5482 buildCounterVideoTopicDetails++; | 5623 buildCounterVideoTopicDetails++; |
| 5483 if (buildCounterVideoTopicDetails < 3) { | 5624 if (buildCounterVideoTopicDetails < 3) { |
| 5484 checkUnnamed2955(o.relevantTopicIds); | 5625 checkUnnamed750(o.relevantTopicIds); |
| 5485 checkUnnamed2956(o.topicIds); | 5626 checkUnnamed751(o.topicIds); |
| 5486 } | 5627 } |
| 5487 buildCounterVideoTopicDetails--; | 5628 buildCounterVideoTopicDetails--; |
| 5488 } | 5629 } |
| 5489 | 5630 |
| 5490 core.int buildCounterWatchSettings = 0; | 5631 core.int buildCounterWatchSettings = 0; |
| 5491 buildWatchSettings() { | 5632 buildWatchSettings() { |
| 5492 var o = new api.WatchSettings(); | 5633 var o = new api.WatchSettings(); |
| 5493 buildCounterWatchSettings++; | 5634 buildCounterWatchSettings++; |
| 5494 if (buildCounterWatchSettings < 3) { | 5635 if (buildCounterWatchSettings < 3) { |
| 5495 o.backgroundColor = "foo"; | 5636 o.backgroundColor = "foo"; |
| (...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6333 | 6474 |
| 6334 unittest.group("obj-schema-LiveChatModeratorSnippet", () { | 6475 unittest.group("obj-schema-LiveChatModeratorSnippet", () { |
| 6335 unittest.test("to-json--from-json", () { | 6476 unittest.test("to-json--from-json", () { |
| 6336 var o = buildLiveChatModeratorSnippet(); | 6477 var o = buildLiveChatModeratorSnippet(); |
| 6337 var od = new api.LiveChatModeratorSnippet.fromJson(o.toJson()); | 6478 var od = new api.LiveChatModeratorSnippet.fromJson(o.toJson()); |
| 6338 checkLiveChatModeratorSnippet(od); | 6479 checkLiveChatModeratorSnippet(od); |
| 6339 }); | 6480 }); |
| 6340 }); | 6481 }); |
| 6341 | 6482 |
| 6342 | 6483 |
| 6484 unittest.group("obj-schema-LiveChatPollClosedDetails", () { |
| 6485 unittest.test("to-json--from-json", () { |
| 6486 var o = buildLiveChatPollClosedDetails(); |
| 6487 var od = new api.LiveChatPollClosedDetails.fromJson(o.toJson()); |
| 6488 checkLiveChatPollClosedDetails(od); |
| 6489 }); |
| 6490 }); |
| 6491 |
| 6492 |
| 6493 unittest.group("obj-schema-LiveChatPollEditedDetails", () { |
| 6494 unittest.test("to-json--from-json", () { |
| 6495 var o = buildLiveChatPollEditedDetails(); |
| 6496 var od = new api.LiveChatPollEditedDetails.fromJson(o.toJson()); |
| 6497 checkLiveChatPollEditedDetails(od); |
| 6498 }); |
| 6499 }); |
| 6500 |
| 6501 |
| 6502 unittest.group("obj-schema-LiveChatPollItem", () { |
| 6503 unittest.test("to-json--from-json", () { |
| 6504 var o = buildLiveChatPollItem(); |
| 6505 var od = new api.LiveChatPollItem.fromJson(o.toJson()); |
| 6506 checkLiveChatPollItem(od); |
| 6507 }); |
| 6508 }); |
| 6509 |
| 6510 |
| 6511 unittest.group("obj-schema-LiveChatPollOpenedDetails", () { |
| 6512 unittest.test("to-json--from-json", () { |
| 6513 var o = buildLiveChatPollOpenedDetails(); |
| 6514 var od = new api.LiveChatPollOpenedDetails.fromJson(o.toJson()); |
| 6515 checkLiveChatPollOpenedDetails(od); |
| 6516 }); |
| 6517 }); |
| 6518 |
| 6519 |
| 6520 unittest.group("obj-schema-LiveChatPollVotedDetails", () { |
| 6521 unittest.test("to-json--from-json", () { |
| 6522 var o = buildLiveChatPollVotedDetails(); |
| 6523 var od = new api.LiveChatPollVotedDetails.fromJson(o.toJson()); |
| 6524 checkLiveChatPollVotedDetails(od); |
| 6525 }); |
| 6526 }); |
| 6527 |
| 6528 |
| 6343 unittest.group("obj-schema-LiveChatTextMessageDetails", () { | 6529 unittest.group("obj-schema-LiveChatTextMessageDetails", () { |
| 6344 unittest.test("to-json--from-json", () { | 6530 unittest.test("to-json--from-json", () { |
| 6345 var o = buildLiveChatTextMessageDetails(); | 6531 var o = buildLiveChatTextMessageDetails(); |
| 6346 var od = new api.LiveChatTextMessageDetails.fromJson(o.toJson()); | 6532 var od = new api.LiveChatTextMessageDetails.fromJson(o.toJson()); |
| 6347 checkLiveChatTextMessageDetails(od); | 6533 checkLiveChatTextMessageDetails(od); |
| 6348 }); | 6534 }); |
| 6349 }); | 6535 }); |
| 6350 | 6536 |
| 6351 | 6537 |
| 6352 unittest.group("obj-schema-LiveChatUserBannedMessageDetails", () { | 6538 unittest.group("obj-schema-LiveChatUserBannedMessageDetails", () { |
| (...skipping 3902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10255 unittest.test("method--list", () { | 10441 unittest.test("method--list", () { |
| 10256 | 10442 |
| 10257 var mock = new HttpServerMock(); | 10443 var mock = new HttpServerMock(); |
| 10258 api.SubscriptionsResourceApi res = new api.YoutubeApi(mock).subscriptions; | 10444 api.SubscriptionsResourceApi res = new api.YoutubeApi(mock).subscriptions; |
| 10259 var arg_part = "foo"; | 10445 var arg_part = "foo"; |
| 10260 var arg_channelId = "foo"; | 10446 var arg_channelId = "foo"; |
| 10261 var arg_forChannelId = "foo"; | 10447 var arg_forChannelId = "foo"; |
| 10262 var arg_id = "foo"; | 10448 var arg_id = "foo"; |
| 10263 var arg_maxResults = 42; | 10449 var arg_maxResults = 42; |
| 10264 var arg_mine = true; | 10450 var arg_mine = true; |
| 10451 var arg_myRecentSubscribers = true; |
| 10265 var arg_mySubscribers = true; | 10452 var arg_mySubscribers = true; |
| 10266 var arg_onBehalfOfContentOwner = "foo"; | 10453 var arg_onBehalfOfContentOwner = "foo"; |
| 10267 var arg_onBehalfOfContentOwnerChannel = "foo"; | 10454 var arg_onBehalfOfContentOwnerChannel = "foo"; |
| 10268 var arg_order = "foo"; | 10455 var arg_order = "foo"; |
| 10269 var arg_pageToken = "foo"; | 10456 var arg_pageToken = "foo"; |
| 10270 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 10457 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 10271 var path = (req.url).path; | 10458 var path = (req.url).path; |
| 10272 var pathOffset = 0; | 10459 var pathOffset = 0; |
| 10273 var index; | 10460 var index; |
| 10274 var subPart; | 10461 var subPart; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 10294 var keyvalue = part.split("="); | 10481 var keyvalue = part.split("="); |
| 10295 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 10482 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 10296 } | 10483 } |
| 10297 } | 10484 } |
| 10298 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); | 10485 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
| 10299 unittest.expect(queryMap["channelId"].first, unittest.equals(arg_channel
Id)); | 10486 unittest.expect(queryMap["channelId"].first, unittest.equals(arg_channel
Id)); |
| 10300 unittest.expect(queryMap["forChannelId"].first, unittest.equals(arg_forC
hannelId)); | 10487 unittest.expect(queryMap["forChannelId"].first, unittest.equals(arg_forC
hannelId)); |
| 10301 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); | 10488 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
| 10302 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 10489 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 10303 unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine")); | 10490 unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine")); |
| 10491 unittest.expect(queryMap["myRecentSubscribers"].first, unittest.equals("
$arg_myRecentSubscribers")); |
| 10304 unittest.expect(queryMap["mySubscribers"].first, unittest.equals("$arg_m
ySubscribers")); | 10492 unittest.expect(queryMap["mySubscribers"].first, unittest.equals("$arg_m
ySubscribers")); |
| 10305 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); | 10493 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
| 10306 unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first, unittes
t.equals(arg_onBehalfOfContentOwnerChannel)); | 10494 unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first, unittes
t.equals(arg_onBehalfOfContentOwnerChannel)); |
| 10307 unittest.expect(queryMap["order"].first, unittest.equals(arg_order)); | 10495 unittest.expect(queryMap["order"].first, unittest.equals(arg_order)); |
| 10308 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 10496 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 10309 | 10497 |
| 10310 | 10498 |
| 10311 var h = { | 10499 var h = { |
| 10312 "content-type" : "application/json; charset=utf-8", | 10500 "content-type" : "application/json; charset=utf-8", |
| 10313 }; | 10501 }; |
| 10314 var resp = convert.JSON.encode(buildSubscriptionListResponse()); | 10502 var resp = convert.JSON.encode(buildSubscriptionListResponse()); |
| 10315 return new async.Future.value(stringResponse(200, h, resp)); | 10503 return new async.Future.value(stringResponse(200, h, resp)); |
| 10316 }), true); | 10504 }), true); |
| 10317 res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelI
d, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, mySubscribers: arg_my
Subscribers, onBehalfOfContentOwner: arg_onBehalfOfContentOwner, onBehalfOfConte
ntOwnerChannel: arg_onBehalfOfContentOwnerChannel, order: arg_order, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.SubscriptionListResponse response
) { | 10505 res.list(arg_part, channelId: arg_channelId, forChannelId: arg_forChannelI
d, id: arg_id, maxResults: arg_maxResults, mine: arg_mine, myRecentSubscribers:
arg_myRecentSubscribers, mySubscribers: arg_mySubscribers, onBehalfOfContentOwne
r: arg_onBehalfOfContentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfCont
entOwnerChannel, order: arg_order, pageToken: arg_pageToken).then(unittest.expec
tAsync(((api.SubscriptionListResponse response) { |
| 10318 checkSubscriptionListResponse(response); | 10506 checkSubscriptionListResponse(response); |
| 10319 }))); | 10507 }))); |
| 10320 }); | 10508 }); |
| 10321 | 10509 |
| 10322 }); | 10510 }); |
| 10323 | 10511 |
| 10324 | 10512 |
| 10325 unittest.group("resource-ThumbnailsResourceApi", () { | 10513 unittest.group("resource-ThumbnailsResourceApi", () { |
| 10326 unittest.test("method--set", () { | 10514 unittest.test("method--set", () { |
| 10327 // TODO: Implement tests for media upload; | 10515 // TODO: Implement tests for media upload; |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10965 return new async.Future.value(stringResponse(200, h, resp)); | 11153 return new async.Future.value(stringResponse(200, h, resp)); |
| 10966 }), true); | 11154 }), true); |
| 10967 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 11155 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 10968 }); | 11156 }); |
| 10969 | 11157 |
| 10970 }); | 11158 }); |
| 10971 | 11159 |
| 10972 | 11160 |
| 10973 } | 11161 } |
| 10974 | 11162 |
| OLD | NEW |