| 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 buildUnnamed595() { | 54 buildUnnamed2190() { |
| 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 checkUnnamed595(core.List<core.String> o) { | 61 checkUnnamed2190(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 = buildUnnamed595(); | 73 o.exception = buildUnnamed2190(); |
| 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 checkUnnamed595(o.exception); | 83 checkUnnamed2190(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 buildUnnamed596() { | 272 buildUnnamed2191() { |
| 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 checkUnnamed596(core.List<core.String> o) { | 279 checkUnnamed2191(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 buildUnnamed597() { | 285 buildUnnamed2192() { |
| 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 checkUnnamed597(core.List<core.String> o) { | 292 checkUnnamed2192(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 = buildUnnamed596(); | 310 o.forecastingUrl = buildUnnamed2191(); |
| 311 o.impressionUrl = buildUnnamed597(); | 311 o.impressionUrl = buildUnnamed2192(); |
| 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 checkUnnamed596(o.forecastingUrl); | 328 checkUnnamed2191(o.forecastingUrl); |
| 329 checkUnnamed597(o.impressionUrl); | 329 checkUnnamed2192(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 buildUnnamed598() { | 423 buildUnnamed2193() { |
| 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 checkUnnamed598(core.List<api.Activity> o) { | 430 checkUnnamed2193(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 = buildUnnamed598(); | 443 o.items = buildUnnamed2193(); |
| 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 checkUnnamed598(o.items); | 460 checkUnnamed2193(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 buildUnnamed599() { | 529 buildUnnamed2194() { |
| 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 checkUnnamed599(core.List<api.Caption> o) { | 536 checkUnnamed2194(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 = buildUnnamed599(); | 549 o.items = buildUnnamed2194(); |
| 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 checkUnnamed599(o.items); | 562 checkUnnamed2194(o.items); |
| 563 unittest.expect(o.kind, unittest.equals('foo')); | 563 unittest.expect(o.kind, unittest.equals('foo')); |
| 564 unittest.expect(o.visitorId, unittest.equals('foo')); | 564 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 565 } | 565 } |
| 566 buildCounterCaptionListResponse--; | 566 buildCounterCaptionListResponse--; |
| 567 } | 567 } |
| 568 | 568 |
| 569 core.int buildCounterCaptionSnippet = 0; | 569 core.int buildCounterCaptionSnippet = 0; |
| 570 buildCaptionSnippet() { | 570 buildCaptionSnippet() { |
| 571 var o = new api.CaptionSnippet(); | 571 var o = new api.CaptionSnippet(); |
| 572 buildCounterCaptionSnippet++; | 572 buildCounterCaptionSnippet++; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 checkCdnSettings(api.CdnSettings o) { | 625 checkCdnSettings(api.CdnSettings o) { |
| 626 buildCounterCdnSettings++; | 626 buildCounterCdnSettings++; |
| 627 if (buildCounterCdnSettings < 3) { | 627 if (buildCounterCdnSettings < 3) { |
| 628 unittest.expect(o.format, unittest.equals('foo')); | 628 unittest.expect(o.format, unittest.equals('foo')); |
| 629 checkIngestionInfo(o.ingestionInfo); | 629 checkIngestionInfo(o.ingestionInfo); |
| 630 unittest.expect(o.ingestionType, unittest.equals('foo')); | 630 unittest.expect(o.ingestionType, unittest.equals('foo')); |
| 631 } | 631 } |
| 632 buildCounterCdnSettings--; | 632 buildCounterCdnSettings--; |
| 633 } | 633 } |
| 634 | 634 |
| 635 buildUnnamed600() { | 635 buildUnnamed2195() { |
| 636 var o = new core.Map<core.String, api.ChannelLocalization>(); | 636 var o = new core.Map<core.String, api.ChannelLocalization>(); |
| 637 o["x"] = buildChannelLocalization(); | 637 o["x"] = buildChannelLocalization(); |
| 638 o["y"] = buildChannelLocalization(); | 638 o["y"] = buildChannelLocalization(); |
| 639 return o; | 639 return o; |
| 640 } | 640 } |
| 641 | 641 |
| 642 checkUnnamed600(core.Map<core.String, api.ChannelLocalization> o) { | 642 checkUnnamed2195(core.Map<core.String, api.ChannelLocalization> o) { |
| 643 unittest.expect(o, unittest.hasLength(2)); | 643 unittest.expect(o, unittest.hasLength(2)); |
| 644 checkChannelLocalization(o["x"]); | 644 checkChannelLocalization(o["x"]); |
| 645 checkChannelLocalization(o["y"]); | 645 checkChannelLocalization(o["y"]); |
| 646 } | 646 } |
| 647 | 647 |
| 648 core.int buildCounterChannel = 0; | 648 core.int buildCounterChannel = 0; |
| 649 buildChannel() { | 649 buildChannel() { |
| 650 var o = new api.Channel(); | 650 var o = new api.Channel(); |
| 651 buildCounterChannel++; | 651 buildCounterChannel++; |
| 652 if (buildCounterChannel < 3) { | 652 if (buildCounterChannel < 3) { |
| 653 o.auditDetails = buildChannelAuditDetails(); | 653 o.auditDetails = buildChannelAuditDetails(); |
| 654 o.brandingSettings = buildChannelBrandingSettings(); | 654 o.brandingSettings = buildChannelBrandingSettings(); |
| 655 o.contentDetails = buildChannelContentDetails(); | 655 o.contentDetails = buildChannelContentDetails(); |
| 656 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 656 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
| 657 o.conversionPings = buildChannelConversionPings(); | 657 o.conversionPings = buildChannelConversionPings(); |
| 658 o.etag = "foo"; | 658 o.etag = "foo"; |
| 659 o.id = "foo"; | 659 o.id = "foo"; |
| 660 o.invideoPromotion = buildInvideoPromotion(); | 660 o.invideoPromotion = buildInvideoPromotion(); |
| 661 o.kind = "foo"; | 661 o.kind = "foo"; |
| 662 o.localizations = buildUnnamed600(); | 662 o.localizations = buildUnnamed2195(); |
| 663 o.snippet = buildChannelSnippet(); | 663 o.snippet = buildChannelSnippet(); |
| 664 o.statistics = buildChannelStatistics(); | 664 o.statistics = buildChannelStatistics(); |
| 665 o.status = buildChannelStatus(); | 665 o.status = buildChannelStatus(); |
| 666 o.topicDetails = buildChannelTopicDetails(); | 666 o.topicDetails = buildChannelTopicDetails(); |
| 667 } | 667 } |
| 668 buildCounterChannel--; | 668 buildCounterChannel--; |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkChannel(api.Channel o) { | 672 checkChannel(api.Channel o) { |
| 673 buildCounterChannel++; | 673 buildCounterChannel++; |
| 674 if (buildCounterChannel < 3) { | 674 if (buildCounterChannel < 3) { |
| 675 checkChannelAuditDetails(o.auditDetails); | 675 checkChannelAuditDetails(o.auditDetails); |
| 676 checkChannelBrandingSettings(o.brandingSettings); | 676 checkChannelBrandingSettings(o.brandingSettings); |
| 677 checkChannelContentDetails(o.contentDetails); | 677 checkChannelContentDetails(o.contentDetails); |
| 678 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 678 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
| 679 checkChannelConversionPings(o.conversionPings); | 679 checkChannelConversionPings(o.conversionPings); |
| 680 unittest.expect(o.etag, unittest.equals('foo')); | 680 unittest.expect(o.etag, unittest.equals('foo')); |
| 681 unittest.expect(o.id, unittest.equals('foo')); | 681 unittest.expect(o.id, unittest.equals('foo')); |
| 682 checkInvideoPromotion(o.invideoPromotion); | 682 checkInvideoPromotion(o.invideoPromotion); |
| 683 unittest.expect(o.kind, unittest.equals('foo')); | 683 unittest.expect(o.kind, unittest.equals('foo')); |
| 684 checkUnnamed600(o.localizations); | 684 checkUnnamed2195(o.localizations); |
| 685 checkChannelSnippet(o.snippet); | 685 checkChannelSnippet(o.snippet); |
| 686 checkChannelStatistics(o.statistics); | 686 checkChannelStatistics(o.statistics); |
| 687 checkChannelStatus(o.status); | 687 checkChannelStatus(o.status); |
| 688 checkChannelTopicDetails(o.topicDetails); | 688 checkChannelTopicDetails(o.topicDetails); |
| 689 } | 689 } |
| 690 buildCounterChannel--; | 690 buildCounterChannel--; |
| 691 } | 691 } |
| 692 | 692 |
| 693 core.int buildCounterChannelAuditDetails = 0; | 693 core.int buildCounterChannelAuditDetails = 0; |
| 694 buildChannelAuditDetails() { | 694 buildChannelAuditDetails() { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 checkChannelBannerResource(api.ChannelBannerResource o) { | 731 checkChannelBannerResource(api.ChannelBannerResource o) { |
| 732 buildCounterChannelBannerResource++; | 732 buildCounterChannelBannerResource++; |
| 733 if (buildCounterChannelBannerResource < 3) { | 733 if (buildCounterChannelBannerResource < 3) { |
| 734 unittest.expect(o.etag, unittest.equals('foo')); | 734 unittest.expect(o.etag, unittest.equals('foo')); |
| 735 unittest.expect(o.kind, unittest.equals('foo')); | 735 unittest.expect(o.kind, unittest.equals('foo')); |
| 736 unittest.expect(o.url, unittest.equals('foo')); | 736 unittest.expect(o.url, unittest.equals('foo')); |
| 737 } | 737 } |
| 738 buildCounterChannelBannerResource--; | 738 buildCounterChannelBannerResource--; |
| 739 } | 739 } |
| 740 | 740 |
| 741 buildUnnamed601() { | 741 buildUnnamed2196() { |
| 742 var o = new core.List<api.PropertyValue>(); | 742 var o = new core.List<api.PropertyValue>(); |
| 743 o.add(buildPropertyValue()); | 743 o.add(buildPropertyValue()); |
| 744 o.add(buildPropertyValue()); | 744 o.add(buildPropertyValue()); |
| 745 return o; | 745 return o; |
| 746 } | 746 } |
| 747 | 747 |
| 748 checkUnnamed601(core.List<api.PropertyValue> o) { | 748 checkUnnamed2196(core.List<api.PropertyValue> o) { |
| 749 unittest.expect(o, unittest.hasLength(2)); | 749 unittest.expect(o, unittest.hasLength(2)); |
| 750 checkPropertyValue(o[0]); | 750 checkPropertyValue(o[0]); |
| 751 checkPropertyValue(o[1]); | 751 checkPropertyValue(o[1]); |
| 752 } | 752 } |
| 753 | 753 |
| 754 core.int buildCounterChannelBrandingSettings = 0; | 754 core.int buildCounterChannelBrandingSettings = 0; |
| 755 buildChannelBrandingSettings() { | 755 buildChannelBrandingSettings() { |
| 756 var o = new api.ChannelBrandingSettings(); | 756 var o = new api.ChannelBrandingSettings(); |
| 757 buildCounterChannelBrandingSettings++; | 757 buildCounterChannelBrandingSettings++; |
| 758 if (buildCounterChannelBrandingSettings < 3) { | 758 if (buildCounterChannelBrandingSettings < 3) { |
| 759 o.channel = buildChannelSettings(); | 759 o.channel = buildChannelSettings(); |
| 760 o.hints = buildUnnamed601(); | 760 o.hints = buildUnnamed2196(); |
| 761 o.image = buildImageSettings(); | 761 o.image = buildImageSettings(); |
| 762 o.watch = buildWatchSettings(); | 762 o.watch = buildWatchSettings(); |
| 763 } | 763 } |
| 764 buildCounterChannelBrandingSettings--; | 764 buildCounterChannelBrandingSettings--; |
| 765 return o; | 765 return o; |
| 766 } | 766 } |
| 767 | 767 |
| 768 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 768 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
| 769 buildCounterChannelBrandingSettings++; | 769 buildCounterChannelBrandingSettings++; |
| 770 if (buildCounterChannelBrandingSettings < 3) { | 770 if (buildCounterChannelBrandingSettings < 3) { |
| 771 checkChannelSettings(o.channel); | 771 checkChannelSettings(o.channel); |
| 772 checkUnnamed601(o.hints); | 772 checkUnnamed2196(o.hints); |
| 773 checkImageSettings(o.image); | 773 checkImageSettings(o.image); |
| 774 checkWatchSettings(o.watch); | 774 checkWatchSettings(o.watch); |
| 775 } | 775 } |
| 776 buildCounterChannelBrandingSettings--; | 776 buildCounterChannelBrandingSettings--; |
| 777 } | 777 } |
| 778 | 778 |
| 779 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 779 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
| 780 buildChannelContentDetailsRelatedPlaylists() { | 780 buildChannelContentDetailsRelatedPlaylists() { |
| 781 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 781 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
| 782 buildCounterChannelContentDetailsRelatedPlaylists++; | 782 buildCounterChannelContentDetailsRelatedPlaylists++; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 | 859 |
| 860 checkChannelConversionPing(api.ChannelConversionPing o) { | 860 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 861 buildCounterChannelConversionPing++; | 861 buildCounterChannelConversionPing++; |
| 862 if (buildCounterChannelConversionPing < 3) { | 862 if (buildCounterChannelConversionPing < 3) { |
| 863 unittest.expect(o.context, unittest.equals('foo')); | 863 unittest.expect(o.context, unittest.equals('foo')); |
| 864 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 864 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 865 } | 865 } |
| 866 buildCounterChannelConversionPing--; | 866 buildCounterChannelConversionPing--; |
| 867 } | 867 } |
| 868 | 868 |
| 869 buildUnnamed602() { | 869 buildUnnamed2197() { |
| 870 var o = new core.List<api.ChannelConversionPing>(); | 870 var o = new core.List<api.ChannelConversionPing>(); |
| 871 o.add(buildChannelConversionPing()); | 871 o.add(buildChannelConversionPing()); |
| 872 o.add(buildChannelConversionPing()); | 872 o.add(buildChannelConversionPing()); |
| 873 return o; | 873 return o; |
| 874 } | 874 } |
| 875 | 875 |
| 876 checkUnnamed602(core.List<api.ChannelConversionPing> o) { | 876 checkUnnamed2197(core.List<api.ChannelConversionPing> o) { |
| 877 unittest.expect(o, unittest.hasLength(2)); | 877 unittest.expect(o, unittest.hasLength(2)); |
| 878 checkChannelConversionPing(o[0]); | 878 checkChannelConversionPing(o[0]); |
| 879 checkChannelConversionPing(o[1]); | 879 checkChannelConversionPing(o[1]); |
| 880 } | 880 } |
| 881 | 881 |
| 882 core.int buildCounterChannelConversionPings = 0; | 882 core.int buildCounterChannelConversionPings = 0; |
| 883 buildChannelConversionPings() { | 883 buildChannelConversionPings() { |
| 884 var o = new api.ChannelConversionPings(); | 884 var o = new api.ChannelConversionPings(); |
| 885 buildCounterChannelConversionPings++; | 885 buildCounterChannelConversionPings++; |
| 886 if (buildCounterChannelConversionPings < 3) { | 886 if (buildCounterChannelConversionPings < 3) { |
| 887 o.pings = buildUnnamed602(); | 887 o.pings = buildUnnamed2197(); |
| 888 } | 888 } |
| 889 buildCounterChannelConversionPings--; | 889 buildCounterChannelConversionPings--; |
| 890 return o; | 890 return o; |
| 891 } | 891 } |
| 892 | 892 |
| 893 checkChannelConversionPings(api.ChannelConversionPings o) { | 893 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 894 buildCounterChannelConversionPings++; | 894 buildCounterChannelConversionPings++; |
| 895 if (buildCounterChannelConversionPings < 3) { | 895 if (buildCounterChannelConversionPings < 3) { |
| 896 checkUnnamed602(o.pings); | 896 checkUnnamed2197(o.pings); |
| 897 } | 897 } |
| 898 buildCounterChannelConversionPings--; | 898 buildCounterChannelConversionPings--; |
| 899 } | 899 } |
| 900 | 900 |
| 901 core.int buildCounterChannelId = 0; | 901 core.int buildCounterChannelId = 0; |
| 902 buildChannelId() { | 902 buildChannelId() { |
| 903 var o = new api.ChannelId(); | 903 var o = new api.ChannelId(); |
| 904 buildCounterChannelId++; | 904 buildCounterChannelId++; |
| 905 if (buildCounterChannelId < 3) { | 905 if (buildCounterChannelId < 3) { |
| 906 o.value = "foo"; | 906 o.value = "foo"; |
| 907 } | 907 } |
| 908 buildCounterChannelId--; | 908 buildCounterChannelId--; |
| 909 return o; | 909 return o; |
| 910 } | 910 } |
| 911 | 911 |
| 912 checkChannelId(api.ChannelId o) { | 912 checkChannelId(api.ChannelId o) { |
| 913 buildCounterChannelId++; | 913 buildCounterChannelId++; |
| 914 if (buildCounterChannelId < 3) { | 914 if (buildCounterChannelId < 3) { |
| 915 unittest.expect(o.value, unittest.equals('foo')); | 915 unittest.expect(o.value, unittest.equals('foo')); |
| 916 } | 916 } |
| 917 buildCounterChannelId--; | 917 buildCounterChannelId--; |
| 918 } | 918 } |
| 919 | 919 |
| 920 buildUnnamed603() { | 920 buildUnnamed2198() { |
| 921 var o = new core.List<api.Channel>(); | 921 var o = new core.List<api.Channel>(); |
| 922 o.add(buildChannel()); | 922 o.add(buildChannel()); |
| 923 o.add(buildChannel()); | 923 o.add(buildChannel()); |
| 924 return o; | 924 return o; |
| 925 } | 925 } |
| 926 | 926 |
| 927 checkUnnamed603(core.List<api.Channel> o) { | 927 checkUnnamed2198(core.List<api.Channel> o) { |
| 928 unittest.expect(o, unittest.hasLength(2)); | 928 unittest.expect(o, unittest.hasLength(2)); |
| 929 checkChannel(o[0]); | 929 checkChannel(o[0]); |
| 930 checkChannel(o[1]); | 930 checkChannel(o[1]); |
| 931 } | 931 } |
| 932 | 932 |
| 933 core.int buildCounterChannelListResponse = 0; | 933 core.int buildCounterChannelListResponse = 0; |
| 934 buildChannelListResponse() { | 934 buildChannelListResponse() { |
| 935 var o = new api.ChannelListResponse(); | 935 var o = new api.ChannelListResponse(); |
| 936 buildCounterChannelListResponse++; | 936 buildCounterChannelListResponse++; |
| 937 if (buildCounterChannelListResponse < 3) { | 937 if (buildCounterChannelListResponse < 3) { |
| 938 o.etag = "foo"; | 938 o.etag = "foo"; |
| 939 o.eventId = "foo"; | 939 o.eventId = "foo"; |
| 940 o.items = buildUnnamed603(); | 940 o.items = buildUnnamed2198(); |
| 941 o.kind = "foo"; | 941 o.kind = "foo"; |
| 942 o.nextPageToken = "foo"; | 942 o.nextPageToken = "foo"; |
| 943 o.pageInfo = buildPageInfo(); | 943 o.pageInfo = buildPageInfo(); |
| 944 o.prevPageToken = "foo"; | 944 o.prevPageToken = "foo"; |
| 945 o.tokenPagination = buildTokenPagination(); | 945 o.tokenPagination = buildTokenPagination(); |
| 946 o.visitorId = "foo"; | 946 o.visitorId = "foo"; |
| 947 } | 947 } |
| 948 buildCounterChannelListResponse--; | 948 buildCounterChannelListResponse--; |
| 949 return o; | 949 return o; |
| 950 } | 950 } |
| 951 | 951 |
| 952 checkChannelListResponse(api.ChannelListResponse o) { | 952 checkChannelListResponse(api.ChannelListResponse o) { |
| 953 buildCounterChannelListResponse++; | 953 buildCounterChannelListResponse++; |
| 954 if (buildCounterChannelListResponse < 3) { | 954 if (buildCounterChannelListResponse < 3) { |
| 955 unittest.expect(o.etag, unittest.equals('foo')); | 955 unittest.expect(o.etag, unittest.equals('foo')); |
| 956 unittest.expect(o.eventId, unittest.equals('foo')); | 956 unittest.expect(o.eventId, unittest.equals('foo')); |
| 957 checkUnnamed603(o.items); | 957 checkUnnamed2198(o.items); |
| 958 unittest.expect(o.kind, unittest.equals('foo')); | 958 unittest.expect(o.kind, unittest.equals('foo')); |
| 959 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 959 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 960 checkPageInfo(o.pageInfo); | 960 checkPageInfo(o.pageInfo); |
| 961 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 961 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 962 checkTokenPagination(o.tokenPagination); | 962 checkTokenPagination(o.tokenPagination); |
| 963 unittest.expect(o.visitorId, unittest.equals('foo')); | 963 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 964 } | 964 } |
| 965 buildCounterChannelListResponse--; | 965 buildCounterChannelListResponse--; |
| 966 } | 966 } |
| 967 | 967 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 979 | 979 |
| 980 checkChannelLocalization(api.ChannelLocalization o) { | 980 checkChannelLocalization(api.ChannelLocalization o) { |
| 981 buildCounterChannelLocalization++; | 981 buildCounterChannelLocalization++; |
| 982 if (buildCounterChannelLocalization < 3) { | 982 if (buildCounterChannelLocalization < 3) { |
| 983 unittest.expect(o.description, unittest.equals('foo')); | 983 unittest.expect(o.description, unittest.equals('foo')); |
| 984 unittest.expect(o.title, unittest.equals('foo')); | 984 unittest.expect(o.title, unittest.equals('foo')); |
| 985 } | 985 } |
| 986 buildCounterChannelLocalization--; | 986 buildCounterChannelLocalization--; |
| 987 } | 987 } |
| 988 | 988 |
| 989 buildUnnamed604() { | 989 buildUnnamed2199() { |
| 990 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); | 990 var o = new core.Map<core.String, api.ChannelSectionLocalization>(); |
| 991 o["x"] = buildChannelSectionLocalization(); | 991 o["x"] = buildChannelSectionLocalization(); |
| 992 o["y"] = buildChannelSectionLocalization(); | 992 o["y"] = buildChannelSectionLocalization(); |
| 993 return o; | 993 return o; |
| 994 } | 994 } |
| 995 | 995 |
| 996 checkUnnamed604(core.Map<core.String, api.ChannelSectionLocalization> o) { | 996 checkUnnamed2199(core.Map<core.String, api.ChannelSectionLocalization> o) { |
| 997 unittest.expect(o, unittest.hasLength(2)); | 997 unittest.expect(o, unittest.hasLength(2)); |
| 998 checkChannelSectionLocalization(o["x"]); | 998 checkChannelSectionLocalization(o["x"]); |
| 999 checkChannelSectionLocalization(o["y"]); | 999 checkChannelSectionLocalization(o["y"]); |
| 1000 } | 1000 } |
| 1001 | 1001 |
| 1002 core.int buildCounterChannelSection = 0; | 1002 core.int buildCounterChannelSection = 0; |
| 1003 buildChannelSection() { | 1003 buildChannelSection() { |
| 1004 var o = new api.ChannelSection(); | 1004 var o = new api.ChannelSection(); |
| 1005 buildCounterChannelSection++; | 1005 buildCounterChannelSection++; |
| 1006 if (buildCounterChannelSection < 3) { | 1006 if (buildCounterChannelSection < 3) { |
| 1007 o.contentDetails = buildChannelSectionContentDetails(); | 1007 o.contentDetails = buildChannelSectionContentDetails(); |
| 1008 o.etag = "foo"; | 1008 o.etag = "foo"; |
| 1009 o.id = "foo"; | 1009 o.id = "foo"; |
| 1010 o.kind = "foo"; | 1010 o.kind = "foo"; |
| 1011 o.localizations = buildUnnamed604(); | 1011 o.localizations = buildUnnamed2199(); |
| 1012 o.snippet = buildChannelSectionSnippet(); | 1012 o.snippet = buildChannelSectionSnippet(); |
| 1013 o.targeting = buildChannelSectionTargeting(); | 1013 o.targeting = buildChannelSectionTargeting(); |
| 1014 } | 1014 } |
| 1015 buildCounterChannelSection--; | 1015 buildCounterChannelSection--; |
| 1016 return o; | 1016 return o; |
| 1017 } | 1017 } |
| 1018 | 1018 |
| 1019 checkChannelSection(api.ChannelSection o) { | 1019 checkChannelSection(api.ChannelSection o) { |
| 1020 buildCounterChannelSection++; | 1020 buildCounterChannelSection++; |
| 1021 if (buildCounterChannelSection < 3) { | 1021 if (buildCounterChannelSection < 3) { |
| 1022 checkChannelSectionContentDetails(o.contentDetails); | 1022 checkChannelSectionContentDetails(o.contentDetails); |
| 1023 unittest.expect(o.etag, unittest.equals('foo')); | 1023 unittest.expect(o.etag, unittest.equals('foo')); |
| 1024 unittest.expect(o.id, unittest.equals('foo')); | 1024 unittest.expect(o.id, unittest.equals('foo')); |
| 1025 unittest.expect(o.kind, unittest.equals('foo')); | 1025 unittest.expect(o.kind, unittest.equals('foo')); |
| 1026 checkUnnamed604(o.localizations); | 1026 checkUnnamed2199(o.localizations); |
| 1027 checkChannelSectionSnippet(o.snippet); | 1027 checkChannelSectionSnippet(o.snippet); |
| 1028 checkChannelSectionTargeting(o.targeting); | 1028 checkChannelSectionTargeting(o.targeting); |
| 1029 } | 1029 } |
| 1030 buildCounterChannelSection--; | 1030 buildCounterChannelSection--; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 buildUnnamed605() { | 1033 buildUnnamed2200() { |
| 1034 var o = new core.List<core.String>(); | 1034 var o = new core.List<core.String>(); |
| 1035 o.add("foo"); | 1035 o.add("foo"); |
| 1036 o.add("foo"); | 1036 o.add("foo"); |
| 1037 return o; | 1037 return o; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 checkUnnamed605(core.List<core.String> o) { | 1040 checkUnnamed2200(core.List<core.String> o) { |
| 1041 unittest.expect(o, unittest.hasLength(2)); | 1041 unittest.expect(o, unittest.hasLength(2)); |
| 1042 unittest.expect(o[0], unittest.equals('foo')); | 1042 unittest.expect(o[0], unittest.equals('foo')); |
| 1043 unittest.expect(o[1], unittest.equals('foo')); | 1043 unittest.expect(o[1], unittest.equals('foo')); |
| 1044 } | 1044 } |
| 1045 | 1045 |
| 1046 buildUnnamed606() { | 1046 buildUnnamed2201() { |
| 1047 var o = new core.List<core.String>(); | 1047 var o = new core.List<core.String>(); |
| 1048 o.add("foo"); | 1048 o.add("foo"); |
| 1049 o.add("foo"); | 1049 o.add("foo"); |
| 1050 return o; | 1050 return o; |
| 1051 } | 1051 } |
| 1052 | 1052 |
| 1053 checkUnnamed606(core.List<core.String> o) { | 1053 checkUnnamed2201(core.List<core.String> o) { |
| 1054 unittest.expect(o, unittest.hasLength(2)); | 1054 unittest.expect(o, unittest.hasLength(2)); |
| 1055 unittest.expect(o[0], unittest.equals('foo')); | 1055 unittest.expect(o[0], unittest.equals('foo')); |
| 1056 unittest.expect(o[1], unittest.equals('foo')); | 1056 unittest.expect(o[1], unittest.equals('foo')); |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 core.int buildCounterChannelSectionContentDetails = 0; | 1059 core.int buildCounterChannelSectionContentDetails = 0; |
| 1060 buildChannelSectionContentDetails() { | 1060 buildChannelSectionContentDetails() { |
| 1061 var o = new api.ChannelSectionContentDetails(); | 1061 var o = new api.ChannelSectionContentDetails(); |
| 1062 buildCounterChannelSectionContentDetails++; | 1062 buildCounterChannelSectionContentDetails++; |
| 1063 if (buildCounterChannelSectionContentDetails < 3) { | 1063 if (buildCounterChannelSectionContentDetails < 3) { |
| 1064 o.channels = buildUnnamed605(); | 1064 o.channels = buildUnnamed2200(); |
| 1065 o.playlists = buildUnnamed606(); | 1065 o.playlists = buildUnnamed2201(); |
| 1066 } | 1066 } |
| 1067 buildCounterChannelSectionContentDetails--; | 1067 buildCounterChannelSectionContentDetails--; |
| 1068 return o; | 1068 return o; |
| 1069 } | 1069 } |
| 1070 | 1070 |
| 1071 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 1071 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 1072 buildCounterChannelSectionContentDetails++; | 1072 buildCounterChannelSectionContentDetails++; |
| 1073 if (buildCounterChannelSectionContentDetails < 3) { | 1073 if (buildCounterChannelSectionContentDetails < 3) { |
| 1074 checkUnnamed605(o.channels); | 1074 checkUnnamed2200(o.channels); |
| 1075 checkUnnamed606(o.playlists); | 1075 checkUnnamed2201(o.playlists); |
| 1076 } | 1076 } |
| 1077 buildCounterChannelSectionContentDetails--; | 1077 buildCounterChannelSectionContentDetails--; |
| 1078 } | 1078 } |
| 1079 | 1079 |
| 1080 buildUnnamed607() { | 1080 buildUnnamed2202() { |
| 1081 var o = new core.List<api.ChannelSection>(); | 1081 var o = new core.List<api.ChannelSection>(); |
| 1082 o.add(buildChannelSection()); | 1082 o.add(buildChannelSection()); |
| 1083 o.add(buildChannelSection()); | 1083 o.add(buildChannelSection()); |
| 1084 return o; | 1084 return o; |
| 1085 } | 1085 } |
| 1086 | 1086 |
| 1087 checkUnnamed607(core.List<api.ChannelSection> o) { | 1087 checkUnnamed2202(core.List<api.ChannelSection> o) { |
| 1088 unittest.expect(o, unittest.hasLength(2)); | 1088 unittest.expect(o, unittest.hasLength(2)); |
| 1089 checkChannelSection(o[0]); | 1089 checkChannelSection(o[0]); |
| 1090 checkChannelSection(o[1]); | 1090 checkChannelSection(o[1]); |
| 1091 } | 1091 } |
| 1092 | 1092 |
| 1093 core.int buildCounterChannelSectionListResponse = 0; | 1093 core.int buildCounterChannelSectionListResponse = 0; |
| 1094 buildChannelSectionListResponse() { | 1094 buildChannelSectionListResponse() { |
| 1095 var o = new api.ChannelSectionListResponse(); | 1095 var o = new api.ChannelSectionListResponse(); |
| 1096 buildCounterChannelSectionListResponse++; | 1096 buildCounterChannelSectionListResponse++; |
| 1097 if (buildCounterChannelSectionListResponse < 3) { | 1097 if (buildCounterChannelSectionListResponse < 3) { |
| 1098 o.etag = "foo"; | 1098 o.etag = "foo"; |
| 1099 o.eventId = "foo"; | 1099 o.eventId = "foo"; |
| 1100 o.items = buildUnnamed607(); | 1100 o.items = buildUnnamed2202(); |
| 1101 o.kind = "foo"; | 1101 o.kind = "foo"; |
| 1102 o.visitorId = "foo"; | 1102 o.visitorId = "foo"; |
| 1103 } | 1103 } |
| 1104 buildCounterChannelSectionListResponse--; | 1104 buildCounterChannelSectionListResponse--; |
| 1105 return o; | 1105 return o; |
| 1106 } | 1106 } |
| 1107 | 1107 |
| 1108 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 1108 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 1109 buildCounterChannelSectionListResponse++; | 1109 buildCounterChannelSectionListResponse++; |
| 1110 if (buildCounterChannelSectionListResponse < 3) { | 1110 if (buildCounterChannelSectionListResponse < 3) { |
| 1111 unittest.expect(o.etag, unittest.equals('foo')); | 1111 unittest.expect(o.etag, unittest.equals('foo')); |
| 1112 unittest.expect(o.eventId, unittest.equals('foo')); | 1112 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1113 checkUnnamed607(o.items); | 1113 checkUnnamed2202(o.items); |
| 1114 unittest.expect(o.kind, unittest.equals('foo')); | 1114 unittest.expect(o.kind, unittest.equals('foo')); |
| 1115 unittest.expect(o.visitorId, unittest.equals('foo')); | 1115 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1116 } | 1116 } |
| 1117 buildCounterChannelSectionListResponse--; | 1117 buildCounterChannelSectionListResponse--; |
| 1118 } | 1118 } |
| 1119 | 1119 |
| 1120 core.int buildCounterChannelSectionLocalization = 0; | 1120 core.int buildCounterChannelSectionLocalization = 0; |
| 1121 buildChannelSectionLocalization() { | 1121 buildChannelSectionLocalization() { |
| 1122 var o = new api.ChannelSectionLocalization(); | 1122 var o = new api.ChannelSectionLocalization(); |
| 1123 buildCounterChannelSectionLocalization++; | 1123 buildCounterChannelSectionLocalization++; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1160 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1160 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1161 checkChannelSectionLocalization(o.localized); | 1161 checkChannelSectionLocalization(o.localized); |
| 1162 unittest.expect(o.position, unittest.equals(42)); | 1162 unittest.expect(o.position, unittest.equals(42)); |
| 1163 unittest.expect(o.style, unittest.equals('foo')); | 1163 unittest.expect(o.style, unittest.equals('foo')); |
| 1164 unittest.expect(o.title, unittest.equals('foo')); | 1164 unittest.expect(o.title, unittest.equals('foo')); |
| 1165 unittest.expect(o.type, unittest.equals('foo')); | 1165 unittest.expect(o.type, unittest.equals('foo')); |
| 1166 } | 1166 } |
| 1167 buildCounterChannelSectionSnippet--; | 1167 buildCounterChannelSectionSnippet--; |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 buildUnnamed608() { | 1170 buildUnnamed2203() { |
| 1171 var o = new core.List<core.String>(); | 1171 var o = new core.List<core.String>(); |
| 1172 o.add("foo"); | 1172 o.add("foo"); |
| 1173 o.add("foo"); | 1173 o.add("foo"); |
| 1174 return o; | 1174 return o; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 checkUnnamed608(core.List<core.String> o) { | 1177 checkUnnamed2203(core.List<core.String> o) { |
| 1178 unittest.expect(o, unittest.hasLength(2)); | 1178 unittest.expect(o, unittest.hasLength(2)); |
| 1179 unittest.expect(o[0], unittest.equals('foo')); | 1179 unittest.expect(o[0], unittest.equals('foo')); |
| 1180 unittest.expect(o[1], unittest.equals('foo')); | 1180 unittest.expect(o[1], unittest.equals('foo')); |
| 1181 } | 1181 } |
| 1182 | 1182 |
| 1183 buildUnnamed609() { | 1183 buildUnnamed2204() { |
| 1184 var o = new core.List<core.String>(); | 1184 var o = new core.List<core.String>(); |
| 1185 o.add("foo"); | 1185 o.add("foo"); |
| 1186 o.add("foo"); | 1186 o.add("foo"); |
| 1187 return o; | 1187 return o; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 checkUnnamed609(core.List<core.String> o) { | 1190 checkUnnamed2204(core.List<core.String> o) { |
| 1191 unittest.expect(o, unittest.hasLength(2)); | 1191 unittest.expect(o, unittest.hasLength(2)); |
| 1192 unittest.expect(o[0], unittest.equals('foo')); | 1192 unittest.expect(o[0], unittest.equals('foo')); |
| 1193 unittest.expect(o[1], unittest.equals('foo')); | 1193 unittest.expect(o[1], unittest.equals('foo')); |
| 1194 } | 1194 } |
| 1195 | 1195 |
| 1196 buildUnnamed610() { | 1196 buildUnnamed2205() { |
| 1197 var o = new core.List<core.String>(); | 1197 var o = new core.List<core.String>(); |
| 1198 o.add("foo"); | 1198 o.add("foo"); |
| 1199 o.add("foo"); | 1199 o.add("foo"); |
| 1200 return o; | 1200 return o; |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 checkUnnamed610(core.List<core.String> o) { | 1203 checkUnnamed2205(core.List<core.String> o) { |
| 1204 unittest.expect(o, unittest.hasLength(2)); | 1204 unittest.expect(o, unittest.hasLength(2)); |
| 1205 unittest.expect(o[0], unittest.equals('foo')); | 1205 unittest.expect(o[0], unittest.equals('foo')); |
| 1206 unittest.expect(o[1], unittest.equals('foo')); | 1206 unittest.expect(o[1], unittest.equals('foo')); |
| 1207 } | 1207 } |
| 1208 | 1208 |
| 1209 core.int buildCounterChannelSectionTargeting = 0; | 1209 core.int buildCounterChannelSectionTargeting = 0; |
| 1210 buildChannelSectionTargeting() { | 1210 buildChannelSectionTargeting() { |
| 1211 var o = new api.ChannelSectionTargeting(); | 1211 var o = new api.ChannelSectionTargeting(); |
| 1212 buildCounterChannelSectionTargeting++; | 1212 buildCounterChannelSectionTargeting++; |
| 1213 if (buildCounterChannelSectionTargeting < 3) { | 1213 if (buildCounterChannelSectionTargeting < 3) { |
| 1214 o.countries = buildUnnamed608(); | 1214 o.countries = buildUnnamed2203(); |
| 1215 o.languages = buildUnnamed609(); | 1215 o.languages = buildUnnamed2204(); |
| 1216 o.regions = buildUnnamed610(); | 1216 o.regions = buildUnnamed2205(); |
| 1217 } | 1217 } |
| 1218 buildCounterChannelSectionTargeting--; | 1218 buildCounterChannelSectionTargeting--; |
| 1219 return o; | 1219 return o; |
| 1220 } | 1220 } |
| 1221 | 1221 |
| 1222 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { | 1222 checkChannelSectionTargeting(api.ChannelSectionTargeting o) { |
| 1223 buildCounterChannelSectionTargeting++; | 1223 buildCounterChannelSectionTargeting++; |
| 1224 if (buildCounterChannelSectionTargeting < 3) { | 1224 if (buildCounterChannelSectionTargeting < 3) { |
| 1225 checkUnnamed608(o.countries); | 1225 checkUnnamed2203(o.countries); |
| 1226 checkUnnamed609(o.languages); | 1226 checkUnnamed2204(o.languages); |
| 1227 checkUnnamed610(o.regions); | 1227 checkUnnamed2205(o.regions); |
| 1228 } | 1228 } |
| 1229 buildCounterChannelSectionTargeting--; | 1229 buildCounterChannelSectionTargeting--; |
| 1230 } | 1230 } |
| 1231 | 1231 |
| 1232 buildUnnamed611() { | 1232 buildUnnamed2206() { |
| 1233 var o = new core.List<core.String>(); | 1233 var o = new core.List<core.String>(); |
| 1234 o.add("foo"); | 1234 o.add("foo"); |
| 1235 o.add("foo"); | 1235 o.add("foo"); |
| 1236 return o; | 1236 return o; |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 checkUnnamed611(core.List<core.String> o) { | 1239 checkUnnamed2206(core.List<core.String> o) { |
| 1240 unittest.expect(o, unittest.hasLength(2)); | 1240 unittest.expect(o, unittest.hasLength(2)); |
| 1241 unittest.expect(o[0], unittest.equals('foo')); | 1241 unittest.expect(o[0], unittest.equals('foo')); |
| 1242 unittest.expect(o[1], unittest.equals('foo')); | 1242 unittest.expect(o[1], unittest.equals('foo')); |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 core.int buildCounterChannelSettings = 0; | 1245 core.int buildCounterChannelSettings = 0; |
| 1246 buildChannelSettings() { | 1246 buildChannelSettings() { |
| 1247 var o = new api.ChannelSettings(); | 1247 var o = new api.ChannelSettings(); |
| 1248 buildCounterChannelSettings++; | 1248 buildCounterChannelSettings++; |
| 1249 if (buildCounterChannelSettings < 3) { | 1249 if (buildCounterChannelSettings < 3) { |
| 1250 o.country = "foo"; | 1250 o.country = "foo"; |
| 1251 o.defaultLanguage = "foo"; | 1251 o.defaultLanguage = "foo"; |
| 1252 o.defaultTab = "foo"; | 1252 o.defaultTab = "foo"; |
| 1253 o.description = "foo"; | 1253 o.description = "foo"; |
| 1254 o.featuredChannelsTitle = "foo"; | 1254 o.featuredChannelsTitle = "foo"; |
| 1255 o.featuredChannelsUrls = buildUnnamed611(); | 1255 o.featuredChannelsUrls = buildUnnamed2206(); |
| 1256 o.keywords = "foo"; | 1256 o.keywords = "foo"; |
| 1257 o.moderateComments = true; | 1257 o.moderateComments = true; |
| 1258 o.profileColor = "foo"; | 1258 o.profileColor = "foo"; |
| 1259 o.showBrowseView = true; | 1259 o.showBrowseView = true; |
| 1260 o.showRelatedChannels = true; | 1260 o.showRelatedChannels = true; |
| 1261 o.title = "foo"; | 1261 o.title = "foo"; |
| 1262 o.trackingAnalyticsAccountId = "foo"; | 1262 o.trackingAnalyticsAccountId = "foo"; |
| 1263 o.unsubscribedTrailer = "foo"; | 1263 o.unsubscribedTrailer = "foo"; |
| 1264 } | 1264 } |
| 1265 buildCounterChannelSettings--; | 1265 buildCounterChannelSettings--; |
| 1266 return o; | 1266 return o; |
| 1267 } | 1267 } |
| 1268 | 1268 |
| 1269 checkChannelSettings(api.ChannelSettings o) { | 1269 checkChannelSettings(api.ChannelSettings o) { |
| 1270 buildCounterChannelSettings++; | 1270 buildCounterChannelSettings++; |
| 1271 if (buildCounterChannelSettings < 3) { | 1271 if (buildCounterChannelSettings < 3) { |
| 1272 unittest.expect(o.country, unittest.equals('foo')); | 1272 unittest.expect(o.country, unittest.equals('foo')); |
| 1273 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1273 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1274 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1274 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 1275 unittest.expect(o.description, unittest.equals('foo')); | 1275 unittest.expect(o.description, unittest.equals('foo')); |
| 1276 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1276 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 1277 checkUnnamed611(o.featuredChannelsUrls); | 1277 checkUnnamed2206(o.featuredChannelsUrls); |
| 1278 unittest.expect(o.keywords, unittest.equals('foo')); | 1278 unittest.expect(o.keywords, unittest.equals('foo')); |
| 1279 unittest.expect(o.moderateComments, unittest.isTrue); | 1279 unittest.expect(o.moderateComments, unittest.isTrue); |
| 1280 unittest.expect(o.profileColor, unittest.equals('foo')); | 1280 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 1281 unittest.expect(o.showBrowseView, unittest.isTrue); | 1281 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 1282 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1282 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 1283 unittest.expect(o.title, unittest.equals('foo')); | 1283 unittest.expect(o.title, unittest.equals('foo')); |
| 1284 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1284 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 1285 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1285 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 1286 } | 1286 } |
| 1287 buildCounterChannelSettings--; | 1287 buildCounterChannelSettings--; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1361 checkChannelStatus(api.ChannelStatus o) { | 1361 checkChannelStatus(api.ChannelStatus o) { |
| 1362 buildCounterChannelStatus++; | 1362 buildCounterChannelStatus++; |
| 1363 if (buildCounterChannelStatus < 3) { | 1363 if (buildCounterChannelStatus < 3) { |
| 1364 unittest.expect(o.isLinked, unittest.isTrue); | 1364 unittest.expect(o.isLinked, unittest.isTrue); |
| 1365 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1365 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1366 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1366 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1367 } | 1367 } |
| 1368 buildCounterChannelStatus--; | 1368 buildCounterChannelStatus--; |
| 1369 } | 1369 } |
| 1370 | 1370 |
| 1371 buildUnnamed612() { | 1371 buildUnnamed2207() { |
| 1372 var o = new core.List<core.String>(); | 1372 var o = new core.List<core.String>(); |
| 1373 o.add("foo"); | 1373 o.add("foo"); |
| 1374 o.add("foo"); | 1374 o.add("foo"); |
| 1375 return o; | 1375 return o; |
| 1376 } | 1376 } |
| 1377 | 1377 |
| 1378 checkUnnamed612(core.List<core.String> o) { | 1378 checkUnnamed2207(core.List<core.String> o) { |
| 1379 unittest.expect(o, unittest.hasLength(2)); | 1379 unittest.expect(o, unittest.hasLength(2)); |
| 1380 unittest.expect(o[0], unittest.equals('foo')); | 1380 unittest.expect(o[0], unittest.equals('foo')); |
| 1381 unittest.expect(o[1], unittest.equals('foo')); | 1381 unittest.expect(o[1], unittest.equals('foo')); |
| 1382 } | 1382 } |
| 1383 | 1383 |
| 1384 core.int buildCounterChannelTopicDetails = 0; | 1384 core.int buildCounterChannelTopicDetails = 0; |
| 1385 buildChannelTopicDetails() { | 1385 buildChannelTopicDetails() { |
| 1386 var o = new api.ChannelTopicDetails(); | 1386 var o = new api.ChannelTopicDetails(); |
| 1387 buildCounterChannelTopicDetails++; | 1387 buildCounterChannelTopicDetails++; |
| 1388 if (buildCounterChannelTopicDetails < 3) { | 1388 if (buildCounterChannelTopicDetails < 3) { |
| 1389 o.topicIds = buildUnnamed612(); | 1389 o.topicIds = buildUnnamed2207(); |
| 1390 } | 1390 } |
| 1391 buildCounterChannelTopicDetails--; | 1391 buildCounterChannelTopicDetails--; |
| 1392 return o; | 1392 return o; |
| 1393 } | 1393 } |
| 1394 | 1394 |
| 1395 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1395 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1396 buildCounterChannelTopicDetails++; | 1396 buildCounterChannelTopicDetails++; |
| 1397 if (buildCounterChannelTopicDetails < 3) { | 1397 if (buildCounterChannelTopicDetails < 3) { |
| 1398 checkUnnamed612(o.topicIds); | 1398 checkUnnamed2207(o.topicIds); |
| 1399 } | 1399 } |
| 1400 buildCounterChannelTopicDetails--; | 1400 buildCounterChannelTopicDetails--; |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 core.int buildCounterComment = 0; | 1403 core.int buildCounterComment = 0; |
| 1404 buildComment() { | 1404 buildComment() { |
| 1405 var o = new api.Comment(); | 1405 var o = new api.Comment(); |
| 1406 buildCounterComment++; | 1406 buildCounterComment++; |
| 1407 if (buildCounterComment < 3) { | 1407 if (buildCounterComment < 3) { |
| 1408 o.etag = "foo"; | 1408 o.etag = "foo"; |
| 1409 o.id = "foo"; | 1409 o.id = "foo"; |
| 1410 o.kind = "foo"; | 1410 o.kind = "foo"; |
| 1411 o.snippet = buildCommentSnippet(); | 1411 o.snippet = buildCommentSnippet(); |
| 1412 } | 1412 } |
| 1413 buildCounterComment--; | 1413 buildCounterComment--; |
| 1414 return o; | 1414 return o; |
| 1415 } | 1415 } |
| 1416 | 1416 |
| 1417 checkComment(api.Comment o) { | 1417 checkComment(api.Comment o) { |
| 1418 buildCounterComment++; | 1418 buildCounterComment++; |
| 1419 if (buildCounterComment < 3) { | 1419 if (buildCounterComment < 3) { |
| 1420 unittest.expect(o.etag, unittest.equals('foo')); | 1420 unittest.expect(o.etag, unittest.equals('foo')); |
| 1421 unittest.expect(o.id, unittest.equals('foo')); | 1421 unittest.expect(o.id, unittest.equals('foo')); |
| 1422 unittest.expect(o.kind, unittest.equals('foo')); | 1422 unittest.expect(o.kind, unittest.equals('foo')); |
| 1423 checkCommentSnippet(o.snippet); | 1423 checkCommentSnippet(o.snippet); |
| 1424 } | 1424 } |
| 1425 buildCounterComment--; | 1425 buildCounterComment--; |
| 1426 } | 1426 } |
| 1427 | 1427 |
| 1428 buildUnnamed613() { | 1428 buildUnnamed2208() { |
| 1429 var o = new core.List<api.Comment>(); | 1429 var o = new core.List<api.Comment>(); |
| 1430 o.add(buildComment()); | 1430 o.add(buildComment()); |
| 1431 o.add(buildComment()); | 1431 o.add(buildComment()); |
| 1432 return o; | 1432 return o; |
| 1433 } | 1433 } |
| 1434 | 1434 |
| 1435 checkUnnamed613(core.List<api.Comment> o) { | 1435 checkUnnamed2208(core.List<api.Comment> o) { |
| 1436 unittest.expect(o, unittest.hasLength(2)); | 1436 unittest.expect(o, unittest.hasLength(2)); |
| 1437 checkComment(o[0]); | 1437 checkComment(o[0]); |
| 1438 checkComment(o[1]); | 1438 checkComment(o[1]); |
| 1439 } | 1439 } |
| 1440 | 1440 |
| 1441 core.int buildCounterCommentListResponse = 0; | 1441 core.int buildCounterCommentListResponse = 0; |
| 1442 buildCommentListResponse() { | 1442 buildCommentListResponse() { |
| 1443 var o = new api.CommentListResponse(); | 1443 var o = new api.CommentListResponse(); |
| 1444 buildCounterCommentListResponse++; | 1444 buildCounterCommentListResponse++; |
| 1445 if (buildCounterCommentListResponse < 3) { | 1445 if (buildCounterCommentListResponse < 3) { |
| 1446 o.etag = "foo"; | 1446 o.etag = "foo"; |
| 1447 o.eventId = "foo"; | 1447 o.eventId = "foo"; |
| 1448 o.items = buildUnnamed613(); | 1448 o.items = buildUnnamed2208(); |
| 1449 o.kind = "foo"; | 1449 o.kind = "foo"; |
| 1450 o.nextPageToken = "foo"; | 1450 o.nextPageToken = "foo"; |
| 1451 o.pageInfo = buildPageInfo(); | 1451 o.pageInfo = buildPageInfo(); |
| 1452 o.tokenPagination = buildTokenPagination(); | 1452 o.tokenPagination = buildTokenPagination(); |
| 1453 o.visitorId = "foo"; | 1453 o.visitorId = "foo"; |
| 1454 } | 1454 } |
| 1455 buildCounterCommentListResponse--; | 1455 buildCounterCommentListResponse--; |
| 1456 return o; | 1456 return o; |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 checkCommentListResponse(api.CommentListResponse o) { | 1459 checkCommentListResponse(api.CommentListResponse o) { |
| 1460 buildCounterCommentListResponse++; | 1460 buildCounterCommentListResponse++; |
| 1461 if (buildCounterCommentListResponse < 3) { | 1461 if (buildCounterCommentListResponse < 3) { |
| 1462 unittest.expect(o.etag, unittest.equals('foo')); | 1462 unittest.expect(o.etag, unittest.equals('foo')); |
| 1463 unittest.expect(o.eventId, unittest.equals('foo')); | 1463 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1464 checkUnnamed613(o.items); | 1464 checkUnnamed2208(o.items); |
| 1465 unittest.expect(o.kind, unittest.equals('foo')); | 1465 unittest.expect(o.kind, unittest.equals('foo')); |
| 1466 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1466 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1467 checkPageInfo(o.pageInfo); | 1467 checkPageInfo(o.pageInfo); |
| 1468 checkTokenPagination(o.tokenPagination); | 1468 checkTokenPagination(o.tokenPagination); |
| 1469 unittest.expect(o.visitorId, unittest.equals('foo')); | 1469 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1470 } | 1470 } |
| 1471 buildCounterCommentListResponse--; | 1471 buildCounterCommentListResponse--; |
| 1472 } | 1472 } |
| 1473 | 1473 |
| 1474 core.int buildCounterCommentSnippet = 0; | 1474 core.int buildCounterCommentSnippet = 0; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1540 if (buildCounterCommentThread < 3) { | 1540 if (buildCounterCommentThread < 3) { |
| 1541 unittest.expect(o.etag, unittest.equals('foo')); | 1541 unittest.expect(o.etag, unittest.equals('foo')); |
| 1542 unittest.expect(o.id, unittest.equals('foo')); | 1542 unittest.expect(o.id, unittest.equals('foo')); |
| 1543 unittest.expect(o.kind, unittest.equals('foo')); | 1543 unittest.expect(o.kind, unittest.equals('foo')); |
| 1544 checkCommentThreadReplies(o.replies); | 1544 checkCommentThreadReplies(o.replies); |
| 1545 checkCommentThreadSnippet(o.snippet); | 1545 checkCommentThreadSnippet(o.snippet); |
| 1546 } | 1546 } |
| 1547 buildCounterCommentThread--; | 1547 buildCounterCommentThread--; |
| 1548 } | 1548 } |
| 1549 | 1549 |
| 1550 buildUnnamed614() { | 1550 buildUnnamed2209() { |
| 1551 var o = new core.List<api.CommentThread>(); | 1551 var o = new core.List<api.CommentThread>(); |
| 1552 o.add(buildCommentThread()); | 1552 o.add(buildCommentThread()); |
| 1553 o.add(buildCommentThread()); | 1553 o.add(buildCommentThread()); |
| 1554 return o; | 1554 return o; |
| 1555 } | 1555 } |
| 1556 | 1556 |
| 1557 checkUnnamed614(core.List<api.CommentThread> o) { | 1557 checkUnnamed2209(core.List<api.CommentThread> o) { |
| 1558 unittest.expect(o, unittest.hasLength(2)); | 1558 unittest.expect(o, unittest.hasLength(2)); |
| 1559 checkCommentThread(o[0]); | 1559 checkCommentThread(o[0]); |
| 1560 checkCommentThread(o[1]); | 1560 checkCommentThread(o[1]); |
| 1561 } | 1561 } |
| 1562 | 1562 |
| 1563 core.int buildCounterCommentThreadListResponse = 0; | 1563 core.int buildCounterCommentThreadListResponse = 0; |
| 1564 buildCommentThreadListResponse() { | 1564 buildCommentThreadListResponse() { |
| 1565 var o = new api.CommentThreadListResponse(); | 1565 var o = new api.CommentThreadListResponse(); |
| 1566 buildCounterCommentThreadListResponse++; | 1566 buildCounterCommentThreadListResponse++; |
| 1567 if (buildCounterCommentThreadListResponse < 3) { | 1567 if (buildCounterCommentThreadListResponse < 3) { |
| 1568 o.etag = "foo"; | 1568 o.etag = "foo"; |
| 1569 o.eventId = "foo"; | 1569 o.eventId = "foo"; |
| 1570 o.items = buildUnnamed614(); | 1570 o.items = buildUnnamed2209(); |
| 1571 o.kind = "foo"; | 1571 o.kind = "foo"; |
| 1572 o.nextPageToken = "foo"; | 1572 o.nextPageToken = "foo"; |
| 1573 o.pageInfo = buildPageInfo(); | 1573 o.pageInfo = buildPageInfo(); |
| 1574 o.tokenPagination = buildTokenPagination(); | 1574 o.tokenPagination = buildTokenPagination(); |
| 1575 o.visitorId = "foo"; | 1575 o.visitorId = "foo"; |
| 1576 } | 1576 } |
| 1577 buildCounterCommentThreadListResponse--; | 1577 buildCounterCommentThreadListResponse--; |
| 1578 return o; | 1578 return o; |
| 1579 } | 1579 } |
| 1580 | 1580 |
| 1581 checkCommentThreadListResponse(api.CommentThreadListResponse o) { | 1581 checkCommentThreadListResponse(api.CommentThreadListResponse o) { |
| 1582 buildCounterCommentThreadListResponse++; | 1582 buildCounterCommentThreadListResponse++; |
| 1583 if (buildCounterCommentThreadListResponse < 3) { | 1583 if (buildCounterCommentThreadListResponse < 3) { |
| 1584 unittest.expect(o.etag, unittest.equals('foo')); | 1584 unittest.expect(o.etag, unittest.equals('foo')); |
| 1585 unittest.expect(o.eventId, unittest.equals('foo')); | 1585 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1586 checkUnnamed614(o.items); | 1586 checkUnnamed2209(o.items); |
| 1587 unittest.expect(o.kind, unittest.equals('foo')); | 1587 unittest.expect(o.kind, unittest.equals('foo')); |
| 1588 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1588 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1589 checkPageInfo(o.pageInfo); | 1589 checkPageInfo(o.pageInfo); |
| 1590 checkTokenPagination(o.tokenPagination); | 1590 checkTokenPagination(o.tokenPagination); |
| 1591 unittest.expect(o.visitorId, unittest.equals('foo')); | 1591 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1592 } | 1592 } |
| 1593 buildCounterCommentThreadListResponse--; | 1593 buildCounterCommentThreadListResponse--; |
| 1594 } | 1594 } |
| 1595 | 1595 |
| 1596 buildUnnamed615() { | 1596 buildUnnamed2210() { |
| 1597 var o = new core.List<api.Comment>(); | 1597 var o = new core.List<api.Comment>(); |
| 1598 o.add(buildComment()); | 1598 o.add(buildComment()); |
| 1599 o.add(buildComment()); | 1599 o.add(buildComment()); |
| 1600 return o; | 1600 return o; |
| 1601 } | 1601 } |
| 1602 | 1602 |
| 1603 checkUnnamed615(core.List<api.Comment> o) { | 1603 checkUnnamed2210(core.List<api.Comment> o) { |
| 1604 unittest.expect(o, unittest.hasLength(2)); | 1604 unittest.expect(o, unittest.hasLength(2)); |
| 1605 checkComment(o[0]); | 1605 checkComment(o[0]); |
| 1606 checkComment(o[1]); | 1606 checkComment(o[1]); |
| 1607 } | 1607 } |
| 1608 | 1608 |
| 1609 core.int buildCounterCommentThreadReplies = 0; | 1609 core.int buildCounterCommentThreadReplies = 0; |
| 1610 buildCommentThreadReplies() { | 1610 buildCommentThreadReplies() { |
| 1611 var o = new api.CommentThreadReplies(); | 1611 var o = new api.CommentThreadReplies(); |
| 1612 buildCounterCommentThreadReplies++; | 1612 buildCounterCommentThreadReplies++; |
| 1613 if (buildCounterCommentThreadReplies < 3) { | 1613 if (buildCounterCommentThreadReplies < 3) { |
| 1614 o.comments = buildUnnamed615(); | 1614 o.comments = buildUnnamed2210(); |
| 1615 } | 1615 } |
| 1616 buildCounterCommentThreadReplies--; | 1616 buildCounterCommentThreadReplies--; |
| 1617 return o; | 1617 return o; |
| 1618 } | 1618 } |
| 1619 | 1619 |
| 1620 checkCommentThreadReplies(api.CommentThreadReplies o) { | 1620 checkCommentThreadReplies(api.CommentThreadReplies o) { |
| 1621 buildCounterCommentThreadReplies++; | 1621 buildCounterCommentThreadReplies++; |
| 1622 if (buildCounterCommentThreadReplies < 3) { | 1622 if (buildCounterCommentThreadReplies < 3) { |
| 1623 checkUnnamed615(o.comments); | 1623 checkUnnamed2210(o.comments); |
| 1624 } | 1624 } |
| 1625 buildCounterCommentThreadReplies--; | 1625 buildCounterCommentThreadReplies--; |
| 1626 } | 1626 } |
| 1627 | 1627 |
| 1628 core.int buildCounterCommentThreadSnippet = 0; | 1628 core.int buildCounterCommentThreadSnippet = 0; |
| 1629 buildCommentThreadSnippet() { | 1629 buildCommentThreadSnippet() { |
| 1630 var o = new api.CommentThreadSnippet(); | 1630 var o = new api.CommentThreadSnippet(); |
| 1631 buildCounterCommentThreadSnippet++; | 1631 buildCounterCommentThreadSnippet++; |
| 1632 if (buildCounterCommentThreadSnippet < 3) { | 1632 if (buildCounterCommentThreadSnippet < 3) { |
| 1633 o.canReply = true; | 1633 o.canReply = true; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1647 unittest.expect(o.canReply, unittest.isTrue); | 1647 unittest.expect(o.canReply, unittest.isTrue); |
| 1648 unittest.expect(o.channelId, unittest.equals('foo')); | 1648 unittest.expect(o.channelId, unittest.equals('foo')); |
| 1649 unittest.expect(o.isPublic, unittest.isTrue); | 1649 unittest.expect(o.isPublic, unittest.isTrue); |
| 1650 checkComment(o.topLevelComment); | 1650 checkComment(o.topLevelComment); |
| 1651 unittest.expect(o.totalReplyCount, unittest.equals(42)); | 1651 unittest.expect(o.totalReplyCount, unittest.equals(42)); |
| 1652 unittest.expect(o.videoId, unittest.equals('foo')); | 1652 unittest.expect(o.videoId, unittest.equals('foo')); |
| 1653 } | 1653 } |
| 1654 buildCounterCommentThreadSnippet--; | 1654 buildCounterCommentThreadSnippet--; |
| 1655 } | 1655 } |
| 1656 | 1656 |
| 1657 buildUnnamed616() { | 1657 buildUnnamed2211() { |
| 1658 var o = new core.List<core.String>(); | 1658 var o = new core.List<core.String>(); |
| 1659 o.add("foo"); | 1659 o.add("foo"); |
| 1660 o.add("foo"); | 1660 o.add("foo"); |
| 1661 return o; | 1661 return o; |
| 1662 } | 1662 } |
| 1663 | 1663 |
| 1664 checkUnnamed616(core.List<core.String> o) { | 1664 checkUnnamed2211(core.List<core.String> o) { |
| 1665 unittest.expect(o, unittest.hasLength(2)); | 1665 unittest.expect(o, unittest.hasLength(2)); |
| 1666 unittest.expect(o[0], unittest.equals('foo')); | 1666 unittest.expect(o[0], unittest.equals('foo')); |
| 1667 unittest.expect(o[1], unittest.equals('foo')); | 1667 unittest.expect(o[1], unittest.equals('foo')); |
| 1668 } | 1668 } |
| 1669 | 1669 |
| 1670 core.int buildCounterContentRating = 0; | 1670 core.int buildCounterContentRating = 0; |
| 1671 buildContentRating() { | 1671 buildContentRating() { |
| 1672 var o = new api.ContentRating(); | 1672 var o = new api.ContentRating(); |
| 1673 buildCounterContentRating++; | 1673 buildCounterContentRating++; |
| 1674 if (buildCounterContentRating < 3) { | 1674 if (buildCounterContentRating < 3) { |
| 1675 o.acbRating = "foo"; | 1675 o.acbRating = "foo"; |
| 1676 o.agcomRating = "foo"; | 1676 o.agcomRating = "foo"; |
| 1677 o.anatelRating = "foo"; | 1677 o.anatelRating = "foo"; |
| 1678 o.bbfcRating = "foo"; | 1678 o.bbfcRating = "foo"; |
| 1679 o.bfvcRating = "foo"; | 1679 o.bfvcRating = "foo"; |
| 1680 o.bmukkRating = "foo"; | 1680 o.bmukkRating = "foo"; |
| 1681 o.catvRating = "foo"; | 1681 o.catvRating = "foo"; |
| 1682 o.catvfrRating = "foo"; | 1682 o.catvfrRating = "foo"; |
| 1683 o.cbfcRating = "foo"; | 1683 o.cbfcRating = "foo"; |
| 1684 o.cccRating = "foo"; | 1684 o.cccRating = "foo"; |
| 1685 o.cceRating = "foo"; | 1685 o.cceRating = "foo"; |
| 1686 o.chfilmRating = "foo"; | 1686 o.chfilmRating = "foo"; |
| 1687 o.chvrsRating = "foo"; | 1687 o.chvrsRating = "foo"; |
| 1688 o.cicfRating = "foo"; | 1688 o.cicfRating = "foo"; |
| 1689 o.cnaRating = "foo"; | 1689 o.cnaRating = "foo"; |
| 1690 o.csaRating = "foo"; | 1690 o.csaRating = "foo"; |
| 1691 o.cscfRating = "foo"; | 1691 o.cscfRating = "foo"; |
| 1692 o.czfilmRating = "foo"; | 1692 o.czfilmRating = "foo"; |
| 1693 o.djctqRating = "foo"; | 1693 o.djctqRating = "foo"; |
| 1694 o.djctqRatingReasons = buildUnnamed616(); | 1694 o.djctqRatingReasons = buildUnnamed2211(); |
| 1695 o.eefilmRating = "foo"; | 1695 o.eefilmRating = "foo"; |
| 1696 o.egfilmRating = "foo"; | 1696 o.egfilmRating = "foo"; |
| 1697 o.eirinRating = "foo"; | 1697 o.eirinRating = "foo"; |
| 1698 o.fcbmRating = "foo"; | 1698 o.fcbmRating = "foo"; |
| 1699 o.fcoRating = "foo"; | 1699 o.fcoRating = "foo"; |
| 1700 o.fmocRating = "foo"; | 1700 o.fmocRating = "foo"; |
| 1701 o.fpbRating = "foo"; | 1701 o.fpbRating = "foo"; |
| 1702 o.fskRating = "foo"; | 1702 o.fskRating = "foo"; |
| 1703 o.grfilmRating = "foo"; | 1703 o.grfilmRating = "foo"; |
| 1704 o.icaaRating = "foo"; | 1704 o.icaaRating = "foo"; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1756 unittest.expect(o.cccRating, unittest.equals('foo')); | 1756 unittest.expect(o.cccRating, unittest.equals('foo')); |
| 1757 unittest.expect(o.cceRating, unittest.equals('foo')); | 1757 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1758 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1758 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1759 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1759 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1760 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1760 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1761 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1761 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1762 unittest.expect(o.csaRating, unittest.equals('foo')); | 1762 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1763 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1763 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1764 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1764 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1765 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1765 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1766 checkUnnamed616(o.djctqRatingReasons); | 1766 checkUnnamed2211(o.djctqRatingReasons); |
| 1767 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1767 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1768 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1768 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1769 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1769 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1770 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1770 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1771 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1771 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1772 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1772 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1773 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1773 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1774 unittest.expect(o.fskRating, unittest.equals('foo')); | 1774 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1775 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1775 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| 1776 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1776 unittest.expect(o.icaaRating, unittest.equals('foo')); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1853 buildCounterGuideCategory++; | 1853 buildCounterGuideCategory++; |
| 1854 if (buildCounterGuideCategory < 3) { | 1854 if (buildCounterGuideCategory < 3) { |
| 1855 unittest.expect(o.etag, unittest.equals('foo')); | 1855 unittest.expect(o.etag, unittest.equals('foo')); |
| 1856 unittest.expect(o.id, unittest.equals('foo')); | 1856 unittest.expect(o.id, unittest.equals('foo')); |
| 1857 unittest.expect(o.kind, unittest.equals('foo')); | 1857 unittest.expect(o.kind, unittest.equals('foo')); |
| 1858 checkGuideCategorySnippet(o.snippet); | 1858 checkGuideCategorySnippet(o.snippet); |
| 1859 } | 1859 } |
| 1860 buildCounterGuideCategory--; | 1860 buildCounterGuideCategory--; |
| 1861 } | 1861 } |
| 1862 | 1862 |
| 1863 buildUnnamed617() { | 1863 buildUnnamed2212() { |
| 1864 var o = new core.List<api.GuideCategory>(); | 1864 var o = new core.List<api.GuideCategory>(); |
| 1865 o.add(buildGuideCategory()); | 1865 o.add(buildGuideCategory()); |
| 1866 o.add(buildGuideCategory()); | 1866 o.add(buildGuideCategory()); |
| 1867 return o; | 1867 return o; |
| 1868 } | 1868 } |
| 1869 | 1869 |
| 1870 checkUnnamed617(core.List<api.GuideCategory> o) { | 1870 checkUnnamed2212(core.List<api.GuideCategory> o) { |
| 1871 unittest.expect(o, unittest.hasLength(2)); | 1871 unittest.expect(o, unittest.hasLength(2)); |
| 1872 checkGuideCategory(o[0]); | 1872 checkGuideCategory(o[0]); |
| 1873 checkGuideCategory(o[1]); | 1873 checkGuideCategory(o[1]); |
| 1874 } | 1874 } |
| 1875 | 1875 |
| 1876 core.int buildCounterGuideCategoryListResponse = 0; | 1876 core.int buildCounterGuideCategoryListResponse = 0; |
| 1877 buildGuideCategoryListResponse() { | 1877 buildGuideCategoryListResponse() { |
| 1878 var o = new api.GuideCategoryListResponse(); | 1878 var o = new api.GuideCategoryListResponse(); |
| 1879 buildCounterGuideCategoryListResponse++; | 1879 buildCounterGuideCategoryListResponse++; |
| 1880 if (buildCounterGuideCategoryListResponse < 3) { | 1880 if (buildCounterGuideCategoryListResponse < 3) { |
| 1881 o.etag = "foo"; | 1881 o.etag = "foo"; |
| 1882 o.eventId = "foo"; | 1882 o.eventId = "foo"; |
| 1883 o.items = buildUnnamed617(); | 1883 o.items = buildUnnamed2212(); |
| 1884 o.kind = "foo"; | 1884 o.kind = "foo"; |
| 1885 o.nextPageToken = "foo"; | 1885 o.nextPageToken = "foo"; |
| 1886 o.pageInfo = buildPageInfo(); | 1886 o.pageInfo = buildPageInfo(); |
| 1887 o.prevPageToken = "foo"; | 1887 o.prevPageToken = "foo"; |
| 1888 o.tokenPagination = buildTokenPagination(); | 1888 o.tokenPagination = buildTokenPagination(); |
| 1889 o.visitorId = "foo"; | 1889 o.visitorId = "foo"; |
| 1890 } | 1890 } |
| 1891 buildCounterGuideCategoryListResponse--; | 1891 buildCounterGuideCategoryListResponse--; |
| 1892 return o; | 1892 return o; |
| 1893 } | 1893 } |
| 1894 | 1894 |
| 1895 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1895 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 1896 buildCounterGuideCategoryListResponse++; | 1896 buildCounterGuideCategoryListResponse++; |
| 1897 if (buildCounterGuideCategoryListResponse < 3) { | 1897 if (buildCounterGuideCategoryListResponse < 3) { |
| 1898 unittest.expect(o.etag, unittest.equals('foo')); | 1898 unittest.expect(o.etag, unittest.equals('foo')); |
| 1899 unittest.expect(o.eventId, unittest.equals('foo')); | 1899 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1900 checkUnnamed617(o.items); | 1900 checkUnnamed2212(o.items); |
| 1901 unittest.expect(o.kind, unittest.equals('foo')); | 1901 unittest.expect(o.kind, unittest.equals('foo')); |
| 1902 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1902 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1903 checkPageInfo(o.pageInfo); | 1903 checkPageInfo(o.pageInfo); |
| 1904 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1904 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1905 checkTokenPagination(o.tokenPagination); | 1905 checkTokenPagination(o.tokenPagination); |
| 1906 unittest.expect(o.visitorId, unittest.equals('foo')); | 1906 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1907 } | 1907 } |
| 1908 buildCounterGuideCategoryListResponse--; | 1908 buildCounterGuideCategoryListResponse--; |
| 1909 } | 1909 } |
| 1910 | 1910 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1947 buildCounterI18nLanguage++; | 1947 buildCounterI18nLanguage++; |
| 1948 if (buildCounterI18nLanguage < 3) { | 1948 if (buildCounterI18nLanguage < 3) { |
| 1949 unittest.expect(o.etag, unittest.equals('foo')); | 1949 unittest.expect(o.etag, unittest.equals('foo')); |
| 1950 unittest.expect(o.id, unittest.equals('foo')); | 1950 unittest.expect(o.id, unittest.equals('foo')); |
| 1951 unittest.expect(o.kind, unittest.equals('foo')); | 1951 unittest.expect(o.kind, unittest.equals('foo')); |
| 1952 checkI18nLanguageSnippet(o.snippet); | 1952 checkI18nLanguageSnippet(o.snippet); |
| 1953 } | 1953 } |
| 1954 buildCounterI18nLanguage--; | 1954 buildCounterI18nLanguage--; |
| 1955 } | 1955 } |
| 1956 | 1956 |
| 1957 buildUnnamed618() { | 1957 buildUnnamed2213() { |
| 1958 var o = new core.List<api.I18nLanguage>(); | 1958 var o = new core.List<api.I18nLanguage>(); |
| 1959 o.add(buildI18nLanguage()); | 1959 o.add(buildI18nLanguage()); |
| 1960 o.add(buildI18nLanguage()); | 1960 o.add(buildI18nLanguage()); |
| 1961 return o; | 1961 return o; |
| 1962 } | 1962 } |
| 1963 | 1963 |
| 1964 checkUnnamed618(core.List<api.I18nLanguage> o) { | 1964 checkUnnamed2213(core.List<api.I18nLanguage> o) { |
| 1965 unittest.expect(o, unittest.hasLength(2)); | 1965 unittest.expect(o, unittest.hasLength(2)); |
| 1966 checkI18nLanguage(o[0]); | 1966 checkI18nLanguage(o[0]); |
| 1967 checkI18nLanguage(o[1]); | 1967 checkI18nLanguage(o[1]); |
| 1968 } | 1968 } |
| 1969 | 1969 |
| 1970 core.int buildCounterI18nLanguageListResponse = 0; | 1970 core.int buildCounterI18nLanguageListResponse = 0; |
| 1971 buildI18nLanguageListResponse() { | 1971 buildI18nLanguageListResponse() { |
| 1972 var o = new api.I18nLanguageListResponse(); | 1972 var o = new api.I18nLanguageListResponse(); |
| 1973 buildCounterI18nLanguageListResponse++; | 1973 buildCounterI18nLanguageListResponse++; |
| 1974 if (buildCounterI18nLanguageListResponse < 3) { | 1974 if (buildCounterI18nLanguageListResponse < 3) { |
| 1975 o.etag = "foo"; | 1975 o.etag = "foo"; |
| 1976 o.eventId = "foo"; | 1976 o.eventId = "foo"; |
| 1977 o.items = buildUnnamed618(); | 1977 o.items = buildUnnamed2213(); |
| 1978 o.kind = "foo"; | 1978 o.kind = "foo"; |
| 1979 o.visitorId = "foo"; | 1979 o.visitorId = "foo"; |
| 1980 } | 1980 } |
| 1981 buildCounterI18nLanguageListResponse--; | 1981 buildCounterI18nLanguageListResponse--; |
| 1982 return o; | 1982 return o; |
| 1983 } | 1983 } |
| 1984 | 1984 |
| 1985 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1985 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 1986 buildCounterI18nLanguageListResponse++; | 1986 buildCounterI18nLanguageListResponse++; |
| 1987 if (buildCounterI18nLanguageListResponse < 3) { | 1987 if (buildCounterI18nLanguageListResponse < 3) { |
| 1988 unittest.expect(o.etag, unittest.equals('foo')); | 1988 unittest.expect(o.etag, unittest.equals('foo')); |
| 1989 unittest.expect(o.eventId, unittest.equals('foo')); | 1989 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1990 checkUnnamed618(o.items); | 1990 checkUnnamed2213(o.items); |
| 1991 unittest.expect(o.kind, unittest.equals('foo')); | 1991 unittest.expect(o.kind, unittest.equals('foo')); |
| 1992 unittest.expect(o.visitorId, unittest.equals('foo')); | 1992 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1993 } | 1993 } |
| 1994 buildCounterI18nLanguageListResponse--; | 1994 buildCounterI18nLanguageListResponse--; |
| 1995 } | 1995 } |
| 1996 | 1996 |
| 1997 core.int buildCounterI18nLanguageSnippet = 0; | 1997 core.int buildCounterI18nLanguageSnippet = 0; |
| 1998 buildI18nLanguageSnippet() { | 1998 buildI18nLanguageSnippet() { |
| 1999 var o = new api.I18nLanguageSnippet(); | 1999 var o = new api.I18nLanguageSnippet(); |
| 2000 buildCounterI18nLanguageSnippet++; | 2000 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2033 buildCounterI18nRegion++; | 2033 buildCounterI18nRegion++; |
| 2034 if (buildCounterI18nRegion < 3) { | 2034 if (buildCounterI18nRegion < 3) { |
| 2035 unittest.expect(o.etag, unittest.equals('foo')); | 2035 unittest.expect(o.etag, unittest.equals('foo')); |
| 2036 unittest.expect(o.id, unittest.equals('foo')); | 2036 unittest.expect(o.id, unittest.equals('foo')); |
| 2037 unittest.expect(o.kind, unittest.equals('foo')); | 2037 unittest.expect(o.kind, unittest.equals('foo')); |
| 2038 checkI18nRegionSnippet(o.snippet); | 2038 checkI18nRegionSnippet(o.snippet); |
| 2039 } | 2039 } |
| 2040 buildCounterI18nRegion--; | 2040 buildCounterI18nRegion--; |
| 2041 } | 2041 } |
| 2042 | 2042 |
| 2043 buildUnnamed619() { | 2043 buildUnnamed2214() { |
| 2044 var o = new core.List<api.I18nRegion>(); | 2044 var o = new core.List<api.I18nRegion>(); |
| 2045 o.add(buildI18nRegion()); | 2045 o.add(buildI18nRegion()); |
| 2046 o.add(buildI18nRegion()); | 2046 o.add(buildI18nRegion()); |
| 2047 return o; | 2047 return o; |
| 2048 } | 2048 } |
| 2049 | 2049 |
| 2050 checkUnnamed619(core.List<api.I18nRegion> o) { | 2050 checkUnnamed2214(core.List<api.I18nRegion> o) { |
| 2051 unittest.expect(o, unittest.hasLength(2)); | 2051 unittest.expect(o, unittest.hasLength(2)); |
| 2052 checkI18nRegion(o[0]); | 2052 checkI18nRegion(o[0]); |
| 2053 checkI18nRegion(o[1]); | 2053 checkI18nRegion(o[1]); |
| 2054 } | 2054 } |
| 2055 | 2055 |
| 2056 core.int buildCounterI18nRegionListResponse = 0; | 2056 core.int buildCounterI18nRegionListResponse = 0; |
| 2057 buildI18nRegionListResponse() { | 2057 buildI18nRegionListResponse() { |
| 2058 var o = new api.I18nRegionListResponse(); | 2058 var o = new api.I18nRegionListResponse(); |
| 2059 buildCounterI18nRegionListResponse++; | 2059 buildCounterI18nRegionListResponse++; |
| 2060 if (buildCounterI18nRegionListResponse < 3) { | 2060 if (buildCounterI18nRegionListResponse < 3) { |
| 2061 o.etag = "foo"; | 2061 o.etag = "foo"; |
| 2062 o.eventId = "foo"; | 2062 o.eventId = "foo"; |
| 2063 o.items = buildUnnamed619(); | 2063 o.items = buildUnnamed2214(); |
| 2064 o.kind = "foo"; | 2064 o.kind = "foo"; |
| 2065 o.visitorId = "foo"; | 2065 o.visitorId = "foo"; |
| 2066 } | 2066 } |
| 2067 buildCounterI18nRegionListResponse--; | 2067 buildCounterI18nRegionListResponse--; |
| 2068 return o; | 2068 return o; |
| 2069 } | 2069 } |
| 2070 | 2070 |
| 2071 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 2071 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 2072 buildCounterI18nRegionListResponse++; | 2072 buildCounterI18nRegionListResponse++; |
| 2073 if (buildCounterI18nRegionListResponse < 3) { | 2073 if (buildCounterI18nRegionListResponse < 3) { |
| 2074 unittest.expect(o.etag, unittest.equals('foo')); | 2074 unittest.expect(o.etag, unittest.equals('foo')); |
| 2075 unittest.expect(o.eventId, unittest.equals('foo')); | 2075 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2076 checkUnnamed619(o.items); | 2076 checkUnnamed2214(o.items); |
| 2077 unittest.expect(o.kind, unittest.equals('foo')); | 2077 unittest.expect(o.kind, unittest.equals('foo')); |
| 2078 unittest.expect(o.visitorId, unittest.equals('foo')); | 2078 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2079 } | 2079 } |
| 2080 buildCounterI18nRegionListResponse--; | 2080 buildCounterI18nRegionListResponse--; |
| 2081 } | 2081 } |
| 2082 | 2082 |
| 2083 core.int buildCounterI18nRegionSnippet = 0; | 2083 core.int buildCounterI18nRegionSnippet = 0; |
| 2084 buildI18nRegionSnippet() { | 2084 buildI18nRegionSnippet() { |
| 2085 var o = new api.I18nRegionSnippet(); | 2085 var o = new api.I18nRegionSnippet(); |
| 2086 buildCounterI18nRegionSnippet++; | 2086 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2226 | 2226 |
| 2227 checkInvideoPosition(api.InvideoPosition o) { | 2227 checkInvideoPosition(api.InvideoPosition o) { |
| 2228 buildCounterInvideoPosition++; | 2228 buildCounterInvideoPosition++; |
| 2229 if (buildCounterInvideoPosition < 3) { | 2229 if (buildCounterInvideoPosition < 3) { |
| 2230 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 2230 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 2231 unittest.expect(o.type, unittest.equals('foo')); | 2231 unittest.expect(o.type, unittest.equals('foo')); |
| 2232 } | 2232 } |
| 2233 buildCounterInvideoPosition--; | 2233 buildCounterInvideoPosition--; |
| 2234 } | 2234 } |
| 2235 | 2235 |
| 2236 buildUnnamed620() { | 2236 buildUnnamed2215() { |
| 2237 var o = new core.List<api.PromotedItem>(); | 2237 var o = new core.List<api.PromotedItem>(); |
| 2238 o.add(buildPromotedItem()); | 2238 o.add(buildPromotedItem()); |
| 2239 o.add(buildPromotedItem()); | 2239 o.add(buildPromotedItem()); |
| 2240 return o; | 2240 return o; |
| 2241 } | 2241 } |
| 2242 | 2242 |
| 2243 checkUnnamed620(core.List<api.PromotedItem> o) { | 2243 checkUnnamed2215(core.List<api.PromotedItem> o) { |
| 2244 unittest.expect(o, unittest.hasLength(2)); | 2244 unittest.expect(o, unittest.hasLength(2)); |
| 2245 checkPromotedItem(o[0]); | 2245 checkPromotedItem(o[0]); |
| 2246 checkPromotedItem(o[1]); | 2246 checkPromotedItem(o[1]); |
| 2247 } | 2247 } |
| 2248 | 2248 |
| 2249 core.int buildCounterInvideoPromotion = 0; | 2249 core.int buildCounterInvideoPromotion = 0; |
| 2250 buildInvideoPromotion() { | 2250 buildInvideoPromotion() { |
| 2251 var o = new api.InvideoPromotion(); | 2251 var o = new api.InvideoPromotion(); |
| 2252 buildCounterInvideoPromotion++; | 2252 buildCounterInvideoPromotion++; |
| 2253 if (buildCounterInvideoPromotion < 3) { | 2253 if (buildCounterInvideoPromotion < 3) { |
| 2254 o.defaultTiming = buildInvideoTiming(); | 2254 o.defaultTiming = buildInvideoTiming(); |
| 2255 o.items = buildUnnamed620(); | 2255 o.items = buildUnnamed2215(); |
| 2256 o.position = buildInvideoPosition(); | 2256 o.position = buildInvideoPosition(); |
| 2257 o.useSmartTiming = true; | 2257 o.useSmartTiming = true; |
| 2258 } | 2258 } |
| 2259 buildCounterInvideoPromotion--; | 2259 buildCounterInvideoPromotion--; |
| 2260 return o; | 2260 return o; |
| 2261 } | 2261 } |
| 2262 | 2262 |
| 2263 checkInvideoPromotion(api.InvideoPromotion o) { | 2263 checkInvideoPromotion(api.InvideoPromotion o) { |
| 2264 buildCounterInvideoPromotion++; | 2264 buildCounterInvideoPromotion++; |
| 2265 if (buildCounterInvideoPromotion < 3) { | 2265 if (buildCounterInvideoPromotion < 3) { |
| 2266 checkInvideoTiming(o.defaultTiming); | 2266 checkInvideoTiming(o.defaultTiming); |
| 2267 checkUnnamed620(o.items); | 2267 checkUnnamed2215(o.items); |
| 2268 checkInvideoPosition(o.position); | 2268 checkInvideoPosition(o.position); |
| 2269 unittest.expect(o.useSmartTiming, unittest.isTrue); | 2269 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 2270 } | 2270 } |
| 2271 buildCounterInvideoPromotion--; | 2271 buildCounterInvideoPromotion--; |
| 2272 } | 2272 } |
| 2273 | 2273 |
| 2274 core.int buildCounterInvideoTiming = 0; | 2274 core.int buildCounterInvideoTiming = 0; |
| 2275 buildInvideoTiming() { | 2275 buildInvideoTiming() { |
| 2276 var o = new api.InvideoTiming(); | 2276 var o = new api.InvideoTiming(); |
| 2277 buildCounterInvideoTiming++; | 2277 buildCounterInvideoTiming++; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2374 unittest.expect(o.enableDvr, unittest.isTrue); | 2374 unittest.expect(o.enableDvr, unittest.isTrue); |
| 2375 unittest.expect(o.enableEmbed, unittest.isTrue); | 2375 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 2376 unittest.expect(o.enableLowLatency, unittest.isTrue); | 2376 unittest.expect(o.enableLowLatency, unittest.isTrue); |
| 2377 checkMonitorStreamInfo(o.monitorStream); | 2377 checkMonitorStreamInfo(o.monitorStream); |
| 2378 unittest.expect(o.recordFromStart, unittest.isTrue); | 2378 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 2379 unittest.expect(o.startWithSlate, unittest.isTrue); | 2379 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 2380 } | 2380 } |
| 2381 buildCounterLiveBroadcastContentDetails--; | 2381 buildCounterLiveBroadcastContentDetails--; |
| 2382 } | 2382 } |
| 2383 | 2383 |
| 2384 buildUnnamed621() { | 2384 buildUnnamed2216() { |
| 2385 var o = new core.List<api.LiveBroadcast>(); | 2385 var o = new core.List<api.LiveBroadcast>(); |
| 2386 o.add(buildLiveBroadcast()); | 2386 o.add(buildLiveBroadcast()); |
| 2387 o.add(buildLiveBroadcast()); | 2387 o.add(buildLiveBroadcast()); |
| 2388 return o; | 2388 return o; |
| 2389 } | 2389 } |
| 2390 | 2390 |
| 2391 checkUnnamed621(core.List<api.LiveBroadcast> o) { | 2391 checkUnnamed2216(core.List<api.LiveBroadcast> o) { |
| 2392 unittest.expect(o, unittest.hasLength(2)); | 2392 unittest.expect(o, unittest.hasLength(2)); |
| 2393 checkLiveBroadcast(o[0]); | 2393 checkLiveBroadcast(o[0]); |
| 2394 checkLiveBroadcast(o[1]); | 2394 checkLiveBroadcast(o[1]); |
| 2395 } | 2395 } |
| 2396 | 2396 |
| 2397 core.int buildCounterLiveBroadcastListResponse = 0; | 2397 core.int buildCounterLiveBroadcastListResponse = 0; |
| 2398 buildLiveBroadcastListResponse() { | 2398 buildLiveBroadcastListResponse() { |
| 2399 var o = new api.LiveBroadcastListResponse(); | 2399 var o = new api.LiveBroadcastListResponse(); |
| 2400 buildCounterLiveBroadcastListResponse++; | 2400 buildCounterLiveBroadcastListResponse++; |
| 2401 if (buildCounterLiveBroadcastListResponse < 3) { | 2401 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2402 o.etag = "foo"; | 2402 o.etag = "foo"; |
| 2403 o.eventId = "foo"; | 2403 o.eventId = "foo"; |
| 2404 o.items = buildUnnamed621(); | 2404 o.items = buildUnnamed2216(); |
| 2405 o.kind = "foo"; | 2405 o.kind = "foo"; |
| 2406 o.nextPageToken = "foo"; | 2406 o.nextPageToken = "foo"; |
| 2407 o.pageInfo = buildPageInfo(); | 2407 o.pageInfo = buildPageInfo(); |
| 2408 o.prevPageToken = "foo"; | 2408 o.prevPageToken = "foo"; |
| 2409 o.tokenPagination = buildTokenPagination(); | 2409 o.tokenPagination = buildTokenPagination(); |
| 2410 o.visitorId = "foo"; | 2410 o.visitorId = "foo"; |
| 2411 } | 2411 } |
| 2412 buildCounterLiveBroadcastListResponse--; | 2412 buildCounterLiveBroadcastListResponse--; |
| 2413 return o; | 2413 return o; |
| 2414 } | 2414 } |
| 2415 | 2415 |
| 2416 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 2416 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 2417 buildCounterLiveBroadcastListResponse++; | 2417 buildCounterLiveBroadcastListResponse++; |
| 2418 if (buildCounterLiveBroadcastListResponse < 3) { | 2418 if (buildCounterLiveBroadcastListResponse < 3) { |
| 2419 unittest.expect(o.etag, unittest.equals('foo')); | 2419 unittest.expect(o.etag, unittest.equals('foo')); |
| 2420 unittest.expect(o.eventId, unittest.equals('foo')); | 2420 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2421 checkUnnamed621(o.items); | 2421 checkUnnamed2216(o.items); |
| 2422 unittest.expect(o.kind, unittest.equals('foo')); | 2422 unittest.expect(o.kind, unittest.equals('foo')); |
| 2423 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2423 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2424 checkPageInfo(o.pageInfo); | 2424 checkPageInfo(o.pageInfo); |
| 2425 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2425 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2426 checkTokenPagination(o.tokenPagination); | 2426 checkTokenPagination(o.tokenPagination); |
| 2427 unittest.expect(o.visitorId, unittest.equals('foo')); | 2427 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2428 } | 2428 } |
| 2429 buildCounterLiveBroadcastListResponse--; | 2429 buildCounterLiveBroadcastListResponse--; |
| 2430 } | 2430 } |
| 2431 | 2431 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2528 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { | 2528 checkLiveBroadcastTopic(api.LiveBroadcastTopic o) { |
| 2529 buildCounterLiveBroadcastTopic++; | 2529 buildCounterLiveBroadcastTopic++; |
| 2530 if (buildCounterLiveBroadcastTopic < 3) { | 2530 if (buildCounterLiveBroadcastTopic < 3) { |
| 2531 checkLiveBroadcastTopicSnippet(o.snippet); | 2531 checkLiveBroadcastTopicSnippet(o.snippet); |
| 2532 unittest.expect(o.type, unittest.equals('foo')); | 2532 unittest.expect(o.type, unittest.equals('foo')); |
| 2533 unittest.expect(o.unmatched, unittest.isTrue); | 2533 unittest.expect(o.unmatched, unittest.isTrue); |
| 2534 } | 2534 } |
| 2535 buildCounterLiveBroadcastTopic--; | 2535 buildCounterLiveBroadcastTopic--; |
| 2536 } | 2536 } |
| 2537 | 2537 |
| 2538 buildUnnamed622() { | 2538 buildUnnamed2217() { |
| 2539 var o = new core.List<api.LiveBroadcastTopic>(); | 2539 var o = new core.List<api.LiveBroadcastTopic>(); |
| 2540 o.add(buildLiveBroadcastTopic()); | 2540 o.add(buildLiveBroadcastTopic()); |
| 2541 o.add(buildLiveBroadcastTopic()); | 2541 o.add(buildLiveBroadcastTopic()); |
| 2542 return o; | 2542 return o; |
| 2543 } | 2543 } |
| 2544 | 2544 |
| 2545 checkUnnamed622(core.List<api.LiveBroadcastTopic> o) { | 2545 checkUnnamed2217(core.List<api.LiveBroadcastTopic> o) { |
| 2546 unittest.expect(o, unittest.hasLength(2)); | 2546 unittest.expect(o, unittest.hasLength(2)); |
| 2547 checkLiveBroadcastTopic(o[0]); | 2547 checkLiveBroadcastTopic(o[0]); |
| 2548 checkLiveBroadcastTopic(o[1]); | 2548 checkLiveBroadcastTopic(o[1]); |
| 2549 } | 2549 } |
| 2550 | 2550 |
| 2551 core.int buildCounterLiveBroadcastTopicDetails = 0; | 2551 core.int buildCounterLiveBroadcastTopicDetails = 0; |
| 2552 buildLiveBroadcastTopicDetails() { | 2552 buildLiveBroadcastTopicDetails() { |
| 2553 var o = new api.LiveBroadcastTopicDetails(); | 2553 var o = new api.LiveBroadcastTopicDetails(); |
| 2554 buildCounterLiveBroadcastTopicDetails++; | 2554 buildCounterLiveBroadcastTopicDetails++; |
| 2555 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2555 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2556 o.topics = buildUnnamed622(); | 2556 o.topics = buildUnnamed2217(); |
| 2557 } | 2557 } |
| 2558 buildCounterLiveBroadcastTopicDetails--; | 2558 buildCounterLiveBroadcastTopicDetails--; |
| 2559 return o; | 2559 return o; |
| 2560 } | 2560 } |
| 2561 | 2561 |
| 2562 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { | 2562 checkLiveBroadcastTopicDetails(api.LiveBroadcastTopicDetails o) { |
| 2563 buildCounterLiveBroadcastTopicDetails++; | 2563 buildCounterLiveBroadcastTopicDetails++; |
| 2564 if (buildCounterLiveBroadcastTopicDetails < 3) { | 2564 if (buildCounterLiveBroadcastTopicDetails < 3) { |
| 2565 checkUnnamed622(o.topics); | 2565 checkUnnamed2217(o.topics); |
| 2566 } | 2566 } |
| 2567 buildCounterLiveBroadcastTopicDetails--; | 2567 buildCounterLiveBroadcastTopicDetails--; |
| 2568 } | 2568 } |
| 2569 | 2569 |
| 2570 core.int buildCounterLiveBroadcastTopicSnippet = 0; | 2570 core.int buildCounterLiveBroadcastTopicSnippet = 0; |
| 2571 buildLiveBroadcastTopicSnippet() { | 2571 buildLiveBroadcastTopicSnippet() { |
| 2572 var o = new api.LiveBroadcastTopicSnippet(); | 2572 var o = new api.LiveBroadcastTopicSnippet(); |
| 2573 buildCounterLiveBroadcastTopicSnippet++; | 2573 buildCounterLiveBroadcastTopicSnippet++; |
| 2574 if (buildCounterLiveBroadcastTopicSnippet < 3) { | 2574 if (buildCounterLiveBroadcastTopicSnippet < 3) { |
| 2575 o.name = "foo"; | 2575 o.name = "foo"; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2658 | 2658 |
| 2659 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 2659 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 2660 buildCounterLiveStreamContentDetails++; | 2660 buildCounterLiveStreamContentDetails++; |
| 2661 if (buildCounterLiveStreamContentDetails < 3) { | 2661 if (buildCounterLiveStreamContentDetails < 3) { |
| 2662 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 2662 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 2663 unittest.expect(o.isReusable, unittest.isTrue); | 2663 unittest.expect(o.isReusable, unittest.isTrue); |
| 2664 } | 2664 } |
| 2665 buildCounterLiveStreamContentDetails--; | 2665 buildCounterLiveStreamContentDetails--; |
| 2666 } | 2666 } |
| 2667 | 2667 |
| 2668 buildUnnamed623() { | 2668 buildUnnamed2218() { |
| 2669 var o = new core.List<api.LiveStreamConfigurationIssue>(); | 2669 var o = new core.List<api.LiveStreamConfigurationIssue>(); |
| 2670 o.add(buildLiveStreamConfigurationIssue()); | 2670 o.add(buildLiveStreamConfigurationIssue()); |
| 2671 o.add(buildLiveStreamConfigurationIssue()); | 2671 o.add(buildLiveStreamConfigurationIssue()); |
| 2672 return o; | 2672 return o; |
| 2673 } | 2673 } |
| 2674 | 2674 |
| 2675 checkUnnamed623(core.List<api.LiveStreamConfigurationIssue> o) { | 2675 checkUnnamed2218(core.List<api.LiveStreamConfigurationIssue> o) { |
| 2676 unittest.expect(o, unittest.hasLength(2)); | 2676 unittest.expect(o, unittest.hasLength(2)); |
| 2677 checkLiveStreamConfigurationIssue(o[0]); | 2677 checkLiveStreamConfigurationIssue(o[0]); |
| 2678 checkLiveStreamConfigurationIssue(o[1]); | 2678 checkLiveStreamConfigurationIssue(o[1]); |
| 2679 } | 2679 } |
| 2680 | 2680 |
| 2681 core.int buildCounterLiveStreamHealthStatus = 0; | 2681 core.int buildCounterLiveStreamHealthStatus = 0; |
| 2682 buildLiveStreamHealthStatus() { | 2682 buildLiveStreamHealthStatus() { |
| 2683 var o = new api.LiveStreamHealthStatus(); | 2683 var o = new api.LiveStreamHealthStatus(); |
| 2684 buildCounterLiveStreamHealthStatus++; | 2684 buildCounterLiveStreamHealthStatus++; |
| 2685 if (buildCounterLiveStreamHealthStatus < 3) { | 2685 if (buildCounterLiveStreamHealthStatus < 3) { |
| 2686 o.configurationIssues = buildUnnamed623(); | 2686 o.configurationIssues = buildUnnamed2218(); |
| 2687 o.lastUpdateTimeS = "foo"; | 2687 o.lastUpdateTimeSeconds = "foo"; |
| 2688 o.status = "foo"; | 2688 o.status = "foo"; |
| 2689 } | 2689 } |
| 2690 buildCounterLiveStreamHealthStatus--; | 2690 buildCounterLiveStreamHealthStatus--; |
| 2691 return o; | 2691 return o; |
| 2692 } | 2692 } |
| 2693 | 2693 |
| 2694 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { | 2694 checkLiveStreamHealthStatus(api.LiveStreamHealthStatus o) { |
| 2695 buildCounterLiveStreamHealthStatus++; | 2695 buildCounterLiveStreamHealthStatus++; |
| 2696 if (buildCounterLiveStreamHealthStatus < 3) { | 2696 if (buildCounterLiveStreamHealthStatus < 3) { |
| 2697 checkUnnamed623(o.configurationIssues); | 2697 checkUnnamed2218(o.configurationIssues); |
| 2698 unittest.expect(o.lastUpdateTimeS, unittest.equals('foo')); | 2698 unittest.expect(o.lastUpdateTimeSeconds, unittest.equals('foo')); |
| 2699 unittest.expect(o.status, unittest.equals('foo')); | 2699 unittest.expect(o.status, unittest.equals('foo')); |
| 2700 } | 2700 } |
| 2701 buildCounterLiveStreamHealthStatus--; | 2701 buildCounterLiveStreamHealthStatus--; |
| 2702 } | 2702 } |
| 2703 | 2703 |
| 2704 buildUnnamed624() { | 2704 buildUnnamed2219() { |
| 2705 var o = new core.List<api.LiveStream>(); | 2705 var o = new core.List<api.LiveStream>(); |
| 2706 o.add(buildLiveStream()); | 2706 o.add(buildLiveStream()); |
| 2707 o.add(buildLiveStream()); | 2707 o.add(buildLiveStream()); |
| 2708 return o; | 2708 return o; |
| 2709 } | 2709 } |
| 2710 | 2710 |
| 2711 checkUnnamed624(core.List<api.LiveStream> o) { | 2711 checkUnnamed2219(core.List<api.LiveStream> o) { |
| 2712 unittest.expect(o, unittest.hasLength(2)); | 2712 unittest.expect(o, unittest.hasLength(2)); |
| 2713 checkLiveStream(o[0]); | 2713 checkLiveStream(o[0]); |
| 2714 checkLiveStream(o[1]); | 2714 checkLiveStream(o[1]); |
| 2715 } | 2715 } |
| 2716 | 2716 |
| 2717 core.int buildCounterLiveStreamListResponse = 0; | 2717 core.int buildCounterLiveStreamListResponse = 0; |
| 2718 buildLiveStreamListResponse() { | 2718 buildLiveStreamListResponse() { |
| 2719 var o = new api.LiveStreamListResponse(); | 2719 var o = new api.LiveStreamListResponse(); |
| 2720 buildCounterLiveStreamListResponse++; | 2720 buildCounterLiveStreamListResponse++; |
| 2721 if (buildCounterLiveStreamListResponse < 3) { | 2721 if (buildCounterLiveStreamListResponse < 3) { |
| 2722 o.etag = "foo"; | 2722 o.etag = "foo"; |
| 2723 o.eventId = "foo"; | 2723 o.eventId = "foo"; |
| 2724 o.items = buildUnnamed624(); | 2724 o.items = buildUnnamed2219(); |
| 2725 o.kind = "foo"; | 2725 o.kind = "foo"; |
| 2726 o.nextPageToken = "foo"; | 2726 o.nextPageToken = "foo"; |
| 2727 o.pageInfo = buildPageInfo(); | 2727 o.pageInfo = buildPageInfo(); |
| 2728 o.prevPageToken = "foo"; | 2728 o.prevPageToken = "foo"; |
| 2729 o.tokenPagination = buildTokenPagination(); | 2729 o.tokenPagination = buildTokenPagination(); |
| 2730 o.visitorId = "foo"; | 2730 o.visitorId = "foo"; |
| 2731 } | 2731 } |
| 2732 buildCounterLiveStreamListResponse--; | 2732 buildCounterLiveStreamListResponse--; |
| 2733 return o; | 2733 return o; |
| 2734 } | 2734 } |
| 2735 | 2735 |
| 2736 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 2736 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 2737 buildCounterLiveStreamListResponse++; | 2737 buildCounterLiveStreamListResponse++; |
| 2738 if (buildCounterLiveStreamListResponse < 3) { | 2738 if (buildCounterLiveStreamListResponse < 3) { |
| 2739 unittest.expect(o.etag, unittest.equals('foo')); | 2739 unittest.expect(o.etag, unittest.equals('foo')); |
| 2740 unittest.expect(o.eventId, unittest.equals('foo')); | 2740 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2741 checkUnnamed624(o.items); | 2741 checkUnnamed2219(o.items); |
| 2742 unittest.expect(o.kind, unittest.equals('foo')); | 2742 unittest.expect(o.kind, unittest.equals('foo')); |
| 2743 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2743 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2744 checkPageInfo(o.pageInfo); | 2744 checkPageInfo(o.pageInfo); |
| 2745 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2745 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2746 checkTokenPagination(o.tokenPagination); | 2746 checkTokenPagination(o.tokenPagination); |
| 2747 unittest.expect(o.visitorId, unittest.equals('foo')); | 2747 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2748 } | 2748 } |
| 2749 buildCounterLiveStreamListResponse--; | 2749 buildCounterLiveStreamListResponse--; |
| 2750 } | 2750 } |
| 2751 | 2751 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2790 | 2790 |
| 2791 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2791 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 2792 buildCounterLiveStreamStatus++; | 2792 buildCounterLiveStreamStatus++; |
| 2793 if (buildCounterLiveStreamStatus < 3) { | 2793 if (buildCounterLiveStreamStatus < 3) { |
| 2794 checkLiveStreamHealthStatus(o.healthStatus); | 2794 checkLiveStreamHealthStatus(o.healthStatus); |
| 2795 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2795 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 2796 } | 2796 } |
| 2797 buildCounterLiveStreamStatus--; | 2797 buildCounterLiveStreamStatus--; |
| 2798 } | 2798 } |
| 2799 | 2799 |
| 2800 buildUnnamed625() { | 2800 buildUnnamed2220() { |
| 2801 var o = new core.List<api.LocalizedString>(); | 2801 var o = new core.List<api.LocalizedString>(); |
| 2802 o.add(buildLocalizedString()); | 2802 o.add(buildLocalizedString()); |
| 2803 o.add(buildLocalizedString()); | 2803 o.add(buildLocalizedString()); |
| 2804 return o; | 2804 return o; |
| 2805 } | 2805 } |
| 2806 | 2806 |
| 2807 checkUnnamed625(core.List<api.LocalizedString> o) { | 2807 checkUnnamed2220(core.List<api.LocalizedString> o) { |
| 2808 unittest.expect(o, unittest.hasLength(2)); | 2808 unittest.expect(o, unittest.hasLength(2)); |
| 2809 checkLocalizedString(o[0]); | 2809 checkLocalizedString(o[0]); |
| 2810 checkLocalizedString(o[1]); | 2810 checkLocalizedString(o[1]); |
| 2811 } | 2811 } |
| 2812 | 2812 |
| 2813 core.int buildCounterLocalizedProperty = 0; | 2813 core.int buildCounterLocalizedProperty = 0; |
| 2814 buildLocalizedProperty() { | 2814 buildLocalizedProperty() { |
| 2815 var o = new api.LocalizedProperty(); | 2815 var o = new api.LocalizedProperty(); |
| 2816 buildCounterLocalizedProperty++; | 2816 buildCounterLocalizedProperty++; |
| 2817 if (buildCounterLocalizedProperty < 3) { | 2817 if (buildCounterLocalizedProperty < 3) { |
| 2818 o.default_ = "foo"; | 2818 o.default_ = "foo"; |
| 2819 o.defaultLanguage = buildLanguageTag(); | 2819 o.defaultLanguage = buildLanguageTag(); |
| 2820 o.localized = buildUnnamed625(); | 2820 o.localized = buildUnnamed2220(); |
| 2821 } | 2821 } |
| 2822 buildCounterLocalizedProperty--; | 2822 buildCounterLocalizedProperty--; |
| 2823 return o; | 2823 return o; |
| 2824 } | 2824 } |
| 2825 | 2825 |
| 2826 checkLocalizedProperty(api.LocalizedProperty o) { | 2826 checkLocalizedProperty(api.LocalizedProperty o) { |
| 2827 buildCounterLocalizedProperty++; | 2827 buildCounterLocalizedProperty++; |
| 2828 if (buildCounterLocalizedProperty < 3) { | 2828 if (buildCounterLocalizedProperty < 3) { |
| 2829 unittest.expect(o.default_, unittest.equals('foo')); | 2829 unittest.expect(o.default_, unittest.equals('foo')); |
| 2830 checkLanguageTag(o.defaultLanguage); | 2830 checkLanguageTag(o.defaultLanguage); |
| 2831 checkUnnamed625(o.localized); | 2831 checkUnnamed2220(o.localized); |
| 2832 } | 2832 } |
| 2833 buildCounterLocalizedProperty--; | 2833 buildCounterLocalizedProperty--; |
| 2834 } | 2834 } |
| 2835 | 2835 |
| 2836 core.int buildCounterLocalizedString = 0; | 2836 core.int buildCounterLocalizedString = 0; |
| 2837 buildLocalizedString() { | 2837 buildLocalizedString() { |
| 2838 var o = new api.LocalizedString(); | 2838 var o = new api.LocalizedString(); |
| 2839 buildCounterLocalizedString++; | 2839 buildCounterLocalizedString++; |
| 2840 if (buildCounterLocalizedString < 3) { | 2840 if (buildCounterLocalizedString < 3) { |
| 2841 o.language = "foo"; | 2841 o.language = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2891 | 2891 |
| 2892 checkPageInfo(api.PageInfo o) { | 2892 checkPageInfo(api.PageInfo o) { |
| 2893 buildCounterPageInfo++; | 2893 buildCounterPageInfo++; |
| 2894 if (buildCounterPageInfo < 3) { | 2894 if (buildCounterPageInfo < 3) { |
| 2895 unittest.expect(o.resultsPerPage, unittest.equals(42)); | 2895 unittest.expect(o.resultsPerPage, unittest.equals(42)); |
| 2896 unittest.expect(o.totalResults, unittest.equals(42)); | 2896 unittest.expect(o.totalResults, unittest.equals(42)); |
| 2897 } | 2897 } |
| 2898 buildCounterPageInfo--; | 2898 buildCounterPageInfo--; |
| 2899 } | 2899 } |
| 2900 | 2900 |
| 2901 buildUnnamed626() { | 2901 buildUnnamed2221() { |
| 2902 var o = new core.Map<core.String, api.PlaylistLocalization>(); | 2902 var o = new core.Map<core.String, api.PlaylistLocalization>(); |
| 2903 o["x"] = buildPlaylistLocalization(); | 2903 o["x"] = buildPlaylistLocalization(); |
| 2904 o["y"] = buildPlaylistLocalization(); | 2904 o["y"] = buildPlaylistLocalization(); |
| 2905 return o; | 2905 return o; |
| 2906 } | 2906 } |
| 2907 | 2907 |
| 2908 checkUnnamed626(core.Map<core.String, api.PlaylistLocalization> o) { | 2908 checkUnnamed2221(core.Map<core.String, api.PlaylistLocalization> o) { |
| 2909 unittest.expect(o, unittest.hasLength(2)); | 2909 unittest.expect(o, unittest.hasLength(2)); |
| 2910 checkPlaylistLocalization(o["x"]); | 2910 checkPlaylistLocalization(o["x"]); |
| 2911 checkPlaylistLocalization(o["y"]); | 2911 checkPlaylistLocalization(o["y"]); |
| 2912 } | 2912 } |
| 2913 | 2913 |
| 2914 core.int buildCounterPlaylist = 0; | 2914 core.int buildCounterPlaylist = 0; |
| 2915 buildPlaylist() { | 2915 buildPlaylist() { |
| 2916 var o = new api.Playlist(); | 2916 var o = new api.Playlist(); |
| 2917 buildCounterPlaylist++; | 2917 buildCounterPlaylist++; |
| 2918 if (buildCounterPlaylist < 3) { | 2918 if (buildCounterPlaylist < 3) { |
| 2919 o.contentDetails = buildPlaylistContentDetails(); | 2919 o.contentDetails = buildPlaylistContentDetails(); |
| 2920 o.etag = "foo"; | 2920 o.etag = "foo"; |
| 2921 o.id = "foo"; | 2921 o.id = "foo"; |
| 2922 o.kind = "foo"; | 2922 o.kind = "foo"; |
| 2923 o.localizations = buildUnnamed626(); | 2923 o.localizations = buildUnnamed2221(); |
| 2924 o.player = buildPlaylistPlayer(); | 2924 o.player = buildPlaylistPlayer(); |
| 2925 o.snippet = buildPlaylistSnippet(); | 2925 o.snippet = buildPlaylistSnippet(); |
| 2926 o.status = buildPlaylistStatus(); | 2926 o.status = buildPlaylistStatus(); |
| 2927 } | 2927 } |
| 2928 buildCounterPlaylist--; | 2928 buildCounterPlaylist--; |
| 2929 return o; | 2929 return o; |
| 2930 } | 2930 } |
| 2931 | 2931 |
| 2932 checkPlaylist(api.Playlist o) { | 2932 checkPlaylist(api.Playlist o) { |
| 2933 buildCounterPlaylist++; | 2933 buildCounterPlaylist++; |
| 2934 if (buildCounterPlaylist < 3) { | 2934 if (buildCounterPlaylist < 3) { |
| 2935 checkPlaylistContentDetails(o.contentDetails); | 2935 checkPlaylistContentDetails(o.contentDetails); |
| 2936 unittest.expect(o.etag, unittest.equals('foo')); | 2936 unittest.expect(o.etag, unittest.equals('foo')); |
| 2937 unittest.expect(o.id, unittest.equals('foo')); | 2937 unittest.expect(o.id, unittest.equals('foo')); |
| 2938 unittest.expect(o.kind, unittest.equals('foo')); | 2938 unittest.expect(o.kind, unittest.equals('foo')); |
| 2939 checkUnnamed626(o.localizations); | 2939 checkUnnamed2221(o.localizations); |
| 2940 checkPlaylistPlayer(o.player); | 2940 checkPlaylistPlayer(o.player); |
| 2941 checkPlaylistSnippet(o.snippet); | 2941 checkPlaylistSnippet(o.snippet); |
| 2942 checkPlaylistStatus(o.status); | 2942 checkPlaylistStatus(o.status); |
| 2943 } | 2943 } |
| 2944 buildCounterPlaylist--; | 2944 buildCounterPlaylist--; |
| 2945 } | 2945 } |
| 2946 | 2946 |
| 2947 core.int buildCounterPlaylistContentDetails = 0; | 2947 core.int buildCounterPlaylistContentDetails = 0; |
| 2948 buildPlaylistContentDetails() { | 2948 buildPlaylistContentDetails() { |
| 2949 var o = new api.PlaylistContentDetails(); | 2949 var o = new api.PlaylistContentDetails(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3010 buildCounterPlaylistItemContentDetails++; | 3010 buildCounterPlaylistItemContentDetails++; |
| 3011 if (buildCounterPlaylistItemContentDetails < 3) { | 3011 if (buildCounterPlaylistItemContentDetails < 3) { |
| 3012 unittest.expect(o.endAt, unittest.equals('foo')); | 3012 unittest.expect(o.endAt, unittest.equals('foo')); |
| 3013 unittest.expect(o.note, unittest.equals('foo')); | 3013 unittest.expect(o.note, unittest.equals('foo')); |
| 3014 unittest.expect(o.startAt, unittest.equals('foo')); | 3014 unittest.expect(o.startAt, unittest.equals('foo')); |
| 3015 unittest.expect(o.videoId, unittest.equals('foo')); | 3015 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3016 } | 3016 } |
| 3017 buildCounterPlaylistItemContentDetails--; | 3017 buildCounterPlaylistItemContentDetails--; |
| 3018 } | 3018 } |
| 3019 | 3019 |
| 3020 buildUnnamed627() { | 3020 buildUnnamed2222() { |
| 3021 var o = new core.List<api.PlaylistItem>(); | 3021 var o = new core.List<api.PlaylistItem>(); |
| 3022 o.add(buildPlaylistItem()); | 3022 o.add(buildPlaylistItem()); |
| 3023 o.add(buildPlaylistItem()); | 3023 o.add(buildPlaylistItem()); |
| 3024 return o; | 3024 return o; |
| 3025 } | 3025 } |
| 3026 | 3026 |
| 3027 checkUnnamed627(core.List<api.PlaylistItem> o) { | 3027 checkUnnamed2222(core.List<api.PlaylistItem> o) { |
| 3028 unittest.expect(o, unittest.hasLength(2)); | 3028 unittest.expect(o, unittest.hasLength(2)); |
| 3029 checkPlaylistItem(o[0]); | 3029 checkPlaylistItem(o[0]); |
| 3030 checkPlaylistItem(o[1]); | 3030 checkPlaylistItem(o[1]); |
| 3031 } | 3031 } |
| 3032 | 3032 |
| 3033 core.int buildCounterPlaylistItemListResponse = 0; | 3033 core.int buildCounterPlaylistItemListResponse = 0; |
| 3034 buildPlaylistItemListResponse() { | 3034 buildPlaylistItemListResponse() { |
| 3035 var o = new api.PlaylistItemListResponse(); | 3035 var o = new api.PlaylistItemListResponse(); |
| 3036 buildCounterPlaylistItemListResponse++; | 3036 buildCounterPlaylistItemListResponse++; |
| 3037 if (buildCounterPlaylistItemListResponse < 3) { | 3037 if (buildCounterPlaylistItemListResponse < 3) { |
| 3038 o.etag = "foo"; | 3038 o.etag = "foo"; |
| 3039 o.eventId = "foo"; | 3039 o.eventId = "foo"; |
| 3040 o.items = buildUnnamed627(); | 3040 o.items = buildUnnamed2222(); |
| 3041 o.kind = "foo"; | 3041 o.kind = "foo"; |
| 3042 o.nextPageToken = "foo"; | 3042 o.nextPageToken = "foo"; |
| 3043 o.pageInfo = buildPageInfo(); | 3043 o.pageInfo = buildPageInfo(); |
| 3044 o.prevPageToken = "foo"; | 3044 o.prevPageToken = "foo"; |
| 3045 o.tokenPagination = buildTokenPagination(); | 3045 o.tokenPagination = buildTokenPagination(); |
| 3046 o.visitorId = "foo"; | 3046 o.visitorId = "foo"; |
| 3047 } | 3047 } |
| 3048 buildCounterPlaylistItemListResponse--; | 3048 buildCounterPlaylistItemListResponse--; |
| 3049 return o; | 3049 return o; |
| 3050 } | 3050 } |
| 3051 | 3051 |
| 3052 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 3052 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 3053 buildCounterPlaylistItemListResponse++; | 3053 buildCounterPlaylistItemListResponse++; |
| 3054 if (buildCounterPlaylistItemListResponse < 3) { | 3054 if (buildCounterPlaylistItemListResponse < 3) { |
| 3055 unittest.expect(o.etag, unittest.equals('foo')); | 3055 unittest.expect(o.etag, unittest.equals('foo')); |
| 3056 unittest.expect(o.eventId, unittest.equals('foo')); | 3056 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3057 checkUnnamed627(o.items); | 3057 checkUnnamed2222(o.items); |
| 3058 unittest.expect(o.kind, unittest.equals('foo')); | 3058 unittest.expect(o.kind, unittest.equals('foo')); |
| 3059 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3059 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3060 checkPageInfo(o.pageInfo); | 3060 checkPageInfo(o.pageInfo); |
| 3061 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3061 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3062 checkTokenPagination(o.tokenPagination); | 3062 checkTokenPagination(o.tokenPagination); |
| 3063 unittest.expect(o.visitorId, unittest.equals('foo')); | 3063 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3064 } | 3064 } |
| 3065 buildCounterPlaylistItemListResponse--; | 3065 buildCounterPlaylistItemListResponse--; |
| 3066 } | 3066 } |
| 3067 | 3067 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3112 } | 3112 } |
| 3113 | 3113 |
| 3114 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 3114 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 3115 buildCounterPlaylistItemStatus++; | 3115 buildCounterPlaylistItemStatus++; |
| 3116 if (buildCounterPlaylistItemStatus < 3) { | 3116 if (buildCounterPlaylistItemStatus < 3) { |
| 3117 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3117 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3118 } | 3118 } |
| 3119 buildCounterPlaylistItemStatus--; | 3119 buildCounterPlaylistItemStatus--; |
| 3120 } | 3120 } |
| 3121 | 3121 |
| 3122 buildUnnamed628() { | 3122 buildUnnamed2223() { |
| 3123 var o = new core.List<api.Playlist>(); | 3123 var o = new core.List<api.Playlist>(); |
| 3124 o.add(buildPlaylist()); | 3124 o.add(buildPlaylist()); |
| 3125 o.add(buildPlaylist()); | 3125 o.add(buildPlaylist()); |
| 3126 return o; | 3126 return o; |
| 3127 } | 3127 } |
| 3128 | 3128 |
| 3129 checkUnnamed628(core.List<api.Playlist> o) { | 3129 checkUnnamed2223(core.List<api.Playlist> o) { |
| 3130 unittest.expect(o, unittest.hasLength(2)); | 3130 unittest.expect(o, unittest.hasLength(2)); |
| 3131 checkPlaylist(o[0]); | 3131 checkPlaylist(o[0]); |
| 3132 checkPlaylist(o[1]); | 3132 checkPlaylist(o[1]); |
| 3133 } | 3133 } |
| 3134 | 3134 |
| 3135 core.int buildCounterPlaylistListResponse = 0; | 3135 core.int buildCounterPlaylistListResponse = 0; |
| 3136 buildPlaylistListResponse() { | 3136 buildPlaylistListResponse() { |
| 3137 var o = new api.PlaylistListResponse(); | 3137 var o = new api.PlaylistListResponse(); |
| 3138 buildCounterPlaylistListResponse++; | 3138 buildCounterPlaylistListResponse++; |
| 3139 if (buildCounterPlaylistListResponse < 3) { | 3139 if (buildCounterPlaylistListResponse < 3) { |
| 3140 o.etag = "foo"; | 3140 o.etag = "foo"; |
| 3141 o.eventId = "foo"; | 3141 o.eventId = "foo"; |
| 3142 o.items = buildUnnamed628(); | 3142 o.items = buildUnnamed2223(); |
| 3143 o.kind = "foo"; | 3143 o.kind = "foo"; |
| 3144 o.nextPageToken = "foo"; | 3144 o.nextPageToken = "foo"; |
| 3145 o.pageInfo = buildPageInfo(); | 3145 o.pageInfo = buildPageInfo(); |
| 3146 o.prevPageToken = "foo"; | 3146 o.prevPageToken = "foo"; |
| 3147 o.tokenPagination = buildTokenPagination(); | 3147 o.tokenPagination = buildTokenPagination(); |
| 3148 o.visitorId = "foo"; | 3148 o.visitorId = "foo"; |
| 3149 } | 3149 } |
| 3150 buildCounterPlaylistListResponse--; | 3150 buildCounterPlaylistListResponse--; |
| 3151 return o; | 3151 return o; |
| 3152 } | 3152 } |
| 3153 | 3153 |
| 3154 checkPlaylistListResponse(api.PlaylistListResponse o) { | 3154 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 3155 buildCounterPlaylistListResponse++; | 3155 buildCounterPlaylistListResponse++; |
| 3156 if (buildCounterPlaylistListResponse < 3) { | 3156 if (buildCounterPlaylistListResponse < 3) { |
| 3157 unittest.expect(o.etag, unittest.equals('foo')); | 3157 unittest.expect(o.etag, unittest.equals('foo')); |
| 3158 unittest.expect(o.eventId, unittest.equals('foo')); | 3158 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3159 checkUnnamed628(o.items); | 3159 checkUnnamed2223(o.items); |
| 3160 unittest.expect(o.kind, unittest.equals('foo')); | 3160 unittest.expect(o.kind, unittest.equals('foo')); |
| 3161 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3161 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3162 checkPageInfo(o.pageInfo); | 3162 checkPageInfo(o.pageInfo); |
| 3163 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3163 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3164 checkTokenPagination(o.tokenPagination); | 3164 checkTokenPagination(o.tokenPagination); |
| 3165 unittest.expect(o.visitorId, unittest.equals('foo')); | 3165 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3166 } | 3166 } |
| 3167 buildCounterPlaylistListResponse--; | 3167 buildCounterPlaylistListResponse--; |
| 3168 } | 3168 } |
| 3169 | 3169 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 3200 } | 3200 } |
| 3201 | 3201 |
| 3202 checkPlaylistPlayer(api.PlaylistPlayer o) { | 3202 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 3203 buildCounterPlaylistPlayer++; | 3203 buildCounterPlaylistPlayer++; |
| 3204 if (buildCounterPlaylistPlayer < 3) { | 3204 if (buildCounterPlaylistPlayer < 3) { |
| 3205 unittest.expect(o.embedHtml, unittest.equals('foo')); | 3205 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 3206 } | 3206 } |
| 3207 buildCounterPlaylistPlayer--; | 3207 buildCounterPlaylistPlayer--; |
| 3208 } | 3208 } |
| 3209 | 3209 |
| 3210 buildUnnamed629() { | 3210 buildUnnamed2224() { |
| 3211 var o = new core.List<core.String>(); | 3211 var o = new core.List<core.String>(); |
| 3212 o.add("foo"); | 3212 o.add("foo"); |
| 3213 o.add("foo"); | 3213 o.add("foo"); |
| 3214 return o; | 3214 return o; |
| 3215 } | 3215 } |
| 3216 | 3216 |
| 3217 checkUnnamed629(core.List<core.String> o) { | 3217 checkUnnamed2224(core.List<core.String> o) { |
| 3218 unittest.expect(o, unittest.hasLength(2)); | 3218 unittest.expect(o, unittest.hasLength(2)); |
| 3219 unittest.expect(o[0], unittest.equals('foo')); | 3219 unittest.expect(o[0], unittest.equals('foo')); |
| 3220 unittest.expect(o[1], unittest.equals('foo')); | 3220 unittest.expect(o[1], unittest.equals('foo')); |
| 3221 } | 3221 } |
| 3222 | 3222 |
| 3223 core.int buildCounterPlaylistSnippet = 0; | 3223 core.int buildCounterPlaylistSnippet = 0; |
| 3224 buildPlaylistSnippet() { | 3224 buildPlaylistSnippet() { |
| 3225 var o = new api.PlaylistSnippet(); | 3225 var o = new api.PlaylistSnippet(); |
| 3226 buildCounterPlaylistSnippet++; | 3226 buildCounterPlaylistSnippet++; |
| 3227 if (buildCounterPlaylistSnippet < 3) { | 3227 if (buildCounterPlaylistSnippet < 3) { |
| 3228 o.channelId = "foo"; | 3228 o.channelId = "foo"; |
| 3229 o.channelTitle = "foo"; | 3229 o.channelTitle = "foo"; |
| 3230 o.defaultLanguage = "foo"; | 3230 o.defaultLanguage = "foo"; |
| 3231 o.description = "foo"; | 3231 o.description = "foo"; |
| 3232 o.localized = buildPlaylistLocalization(); | 3232 o.localized = buildPlaylistLocalization(); |
| 3233 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3233 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3234 o.tags = buildUnnamed629(); | 3234 o.tags = buildUnnamed2224(); |
| 3235 o.thumbnails = buildThumbnailDetails(); | 3235 o.thumbnails = buildThumbnailDetails(); |
| 3236 o.title = "foo"; | 3236 o.title = "foo"; |
| 3237 } | 3237 } |
| 3238 buildCounterPlaylistSnippet--; | 3238 buildCounterPlaylistSnippet--; |
| 3239 return o; | 3239 return o; |
| 3240 } | 3240 } |
| 3241 | 3241 |
| 3242 checkPlaylistSnippet(api.PlaylistSnippet o) { | 3242 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 3243 buildCounterPlaylistSnippet++; | 3243 buildCounterPlaylistSnippet++; |
| 3244 if (buildCounterPlaylistSnippet < 3) { | 3244 if (buildCounterPlaylistSnippet < 3) { |
| 3245 unittest.expect(o.channelId, unittest.equals('foo')); | 3245 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3246 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3246 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3247 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 3247 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 3248 unittest.expect(o.description, unittest.equals('foo')); | 3248 unittest.expect(o.description, unittest.equals('foo')); |
| 3249 checkPlaylistLocalization(o.localized); | 3249 checkPlaylistLocalization(o.localized); |
| 3250 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3250 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3251 checkUnnamed629(o.tags); | 3251 checkUnnamed2224(o.tags); |
| 3252 checkThumbnailDetails(o.thumbnails); | 3252 checkThumbnailDetails(o.thumbnails); |
| 3253 unittest.expect(o.title, unittest.equals('foo')); | 3253 unittest.expect(o.title, unittest.equals('foo')); |
| 3254 } | 3254 } |
| 3255 buildCounterPlaylistSnippet--; | 3255 buildCounterPlaylistSnippet--; |
| 3256 } | 3256 } |
| 3257 | 3257 |
| 3258 core.int buildCounterPlaylistStatus = 0; | 3258 core.int buildCounterPlaylistStatus = 0; |
| 3259 buildPlaylistStatus() { | 3259 buildPlaylistStatus() { |
| 3260 var o = new api.PlaylistStatus(); | 3260 var o = new api.PlaylistStatus(); |
| 3261 buildCounterPlaylistStatus++; | 3261 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3363 buildCounterResourceId++; | 3363 buildCounterResourceId++; |
| 3364 if (buildCounterResourceId < 3) { | 3364 if (buildCounterResourceId < 3) { |
| 3365 unittest.expect(o.channelId, unittest.equals('foo')); | 3365 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3366 unittest.expect(o.kind, unittest.equals('foo')); | 3366 unittest.expect(o.kind, unittest.equals('foo')); |
| 3367 unittest.expect(o.playlistId, unittest.equals('foo')); | 3367 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 3368 unittest.expect(o.videoId, unittest.equals('foo')); | 3368 unittest.expect(o.videoId, unittest.equals('foo')); |
| 3369 } | 3369 } |
| 3370 buildCounterResourceId--; | 3370 buildCounterResourceId--; |
| 3371 } | 3371 } |
| 3372 | 3372 |
| 3373 buildUnnamed630() { | 3373 buildUnnamed2225() { |
| 3374 var o = new core.List<api.SearchResult>(); | 3374 var o = new core.List<api.SearchResult>(); |
| 3375 o.add(buildSearchResult()); | 3375 o.add(buildSearchResult()); |
| 3376 o.add(buildSearchResult()); | 3376 o.add(buildSearchResult()); |
| 3377 return o; | 3377 return o; |
| 3378 } | 3378 } |
| 3379 | 3379 |
| 3380 checkUnnamed630(core.List<api.SearchResult> o) { | 3380 checkUnnamed2225(core.List<api.SearchResult> o) { |
| 3381 unittest.expect(o, unittest.hasLength(2)); | 3381 unittest.expect(o, unittest.hasLength(2)); |
| 3382 checkSearchResult(o[0]); | 3382 checkSearchResult(o[0]); |
| 3383 checkSearchResult(o[1]); | 3383 checkSearchResult(o[1]); |
| 3384 } | 3384 } |
| 3385 | 3385 |
| 3386 core.int buildCounterSearchListResponse = 0; | 3386 core.int buildCounterSearchListResponse = 0; |
| 3387 buildSearchListResponse() { | 3387 buildSearchListResponse() { |
| 3388 var o = new api.SearchListResponse(); | 3388 var o = new api.SearchListResponse(); |
| 3389 buildCounterSearchListResponse++; | 3389 buildCounterSearchListResponse++; |
| 3390 if (buildCounterSearchListResponse < 3) { | 3390 if (buildCounterSearchListResponse < 3) { |
| 3391 o.etag = "foo"; | 3391 o.etag = "foo"; |
| 3392 o.eventId = "foo"; | 3392 o.eventId = "foo"; |
| 3393 o.items = buildUnnamed630(); | 3393 o.items = buildUnnamed2225(); |
| 3394 o.kind = "foo"; | 3394 o.kind = "foo"; |
| 3395 o.nextPageToken = "foo"; | 3395 o.nextPageToken = "foo"; |
| 3396 o.pageInfo = buildPageInfo(); | 3396 o.pageInfo = buildPageInfo(); |
| 3397 o.prevPageToken = "foo"; | 3397 o.prevPageToken = "foo"; |
| 3398 o.tokenPagination = buildTokenPagination(); | 3398 o.tokenPagination = buildTokenPagination(); |
| 3399 o.visitorId = "foo"; | 3399 o.visitorId = "foo"; |
| 3400 } | 3400 } |
| 3401 buildCounterSearchListResponse--; | 3401 buildCounterSearchListResponse--; |
| 3402 return o; | 3402 return o; |
| 3403 } | 3403 } |
| 3404 | 3404 |
| 3405 checkSearchListResponse(api.SearchListResponse o) { | 3405 checkSearchListResponse(api.SearchListResponse o) { |
| 3406 buildCounterSearchListResponse++; | 3406 buildCounterSearchListResponse++; |
| 3407 if (buildCounterSearchListResponse < 3) { | 3407 if (buildCounterSearchListResponse < 3) { |
| 3408 unittest.expect(o.etag, unittest.equals('foo')); | 3408 unittest.expect(o.etag, unittest.equals('foo')); |
| 3409 unittest.expect(o.eventId, unittest.equals('foo')); | 3409 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3410 checkUnnamed630(o.items); | 3410 checkUnnamed2225(o.items); |
| 3411 unittest.expect(o.kind, unittest.equals('foo')); | 3411 unittest.expect(o.kind, unittest.equals('foo')); |
| 3412 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3412 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3413 checkPageInfo(o.pageInfo); | 3413 checkPageInfo(o.pageInfo); |
| 3414 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3414 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3415 checkTokenPagination(o.tokenPagination); | 3415 checkTokenPagination(o.tokenPagination); |
| 3416 unittest.expect(o.visitorId, unittest.equals('foo')); | 3416 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3417 } | 3417 } |
| 3418 buildCounterSearchListResponse--; | 3418 buildCounterSearchListResponse--; |
| 3419 } | 3419 } |
| 3420 | 3420 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3519 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 3519 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 3520 buildCounterSubscriptionContentDetails++; | 3520 buildCounterSubscriptionContentDetails++; |
| 3521 if (buildCounterSubscriptionContentDetails < 3) { | 3521 if (buildCounterSubscriptionContentDetails < 3) { |
| 3522 unittest.expect(o.activityType, unittest.equals('foo')); | 3522 unittest.expect(o.activityType, unittest.equals('foo')); |
| 3523 unittest.expect(o.newItemCount, unittest.equals(42)); | 3523 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 3524 unittest.expect(o.totalItemCount, unittest.equals(42)); | 3524 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 3525 } | 3525 } |
| 3526 buildCounterSubscriptionContentDetails--; | 3526 buildCounterSubscriptionContentDetails--; |
| 3527 } | 3527 } |
| 3528 | 3528 |
| 3529 buildUnnamed631() { | 3529 buildUnnamed2226() { |
| 3530 var o = new core.List<api.Subscription>(); | 3530 var o = new core.List<api.Subscription>(); |
| 3531 o.add(buildSubscription()); | 3531 o.add(buildSubscription()); |
| 3532 o.add(buildSubscription()); | 3532 o.add(buildSubscription()); |
| 3533 return o; | 3533 return o; |
| 3534 } | 3534 } |
| 3535 | 3535 |
| 3536 checkUnnamed631(core.List<api.Subscription> o) { | 3536 checkUnnamed2226(core.List<api.Subscription> o) { |
| 3537 unittest.expect(o, unittest.hasLength(2)); | 3537 unittest.expect(o, unittest.hasLength(2)); |
| 3538 checkSubscription(o[0]); | 3538 checkSubscription(o[0]); |
| 3539 checkSubscription(o[1]); | 3539 checkSubscription(o[1]); |
| 3540 } | 3540 } |
| 3541 | 3541 |
| 3542 core.int buildCounterSubscriptionListResponse = 0; | 3542 core.int buildCounterSubscriptionListResponse = 0; |
| 3543 buildSubscriptionListResponse() { | 3543 buildSubscriptionListResponse() { |
| 3544 var o = new api.SubscriptionListResponse(); | 3544 var o = new api.SubscriptionListResponse(); |
| 3545 buildCounterSubscriptionListResponse++; | 3545 buildCounterSubscriptionListResponse++; |
| 3546 if (buildCounterSubscriptionListResponse < 3) { | 3546 if (buildCounterSubscriptionListResponse < 3) { |
| 3547 o.etag = "foo"; | 3547 o.etag = "foo"; |
| 3548 o.eventId = "foo"; | 3548 o.eventId = "foo"; |
| 3549 o.items = buildUnnamed631(); | 3549 o.items = buildUnnamed2226(); |
| 3550 o.kind = "foo"; | 3550 o.kind = "foo"; |
| 3551 o.nextPageToken = "foo"; | 3551 o.nextPageToken = "foo"; |
| 3552 o.pageInfo = buildPageInfo(); | 3552 o.pageInfo = buildPageInfo(); |
| 3553 o.prevPageToken = "foo"; | 3553 o.prevPageToken = "foo"; |
| 3554 o.tokenPagination = buildTokenPagination(); | 3554 o.tokenPagination = buildTokenPagination(); |
| 3555 o.visitorId = "foo"; | 3555 o.visitorId = "foo"; |
| 3556 } | 3556 } |
| 3557 buildCounterSubscriptionListResponse--; | 3557 buildCounterSubscriptionListResponse--; |
| 3558 return o; | 3558 return o; |
| 3559 } | 3559 } |
| 3560 | 3560 |
| 3561 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 3561 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 3562 buildCounterSubscriptionListResponse++; | 3562 buildCounterSubscriptionListResponse++; |
| 3563 if (buildCounterSubscriptionListResponse < 3) { | 3563 if (buildCounterSubscriptionListResponse < 3) { |
| 3564 unittest.expect(o.etag, unittest.equals('foo')); | 3564 unittest.expect(o.etag, unittest.equals('foo')); |
| 3565 unittest.expect(o.eventId, unittest.equals('foo')); | 3565 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3566 checkUnnamed631(o.items); | 3566 checkUnnamed2226(o.items); |
| 3567 unittest.expect(o.kind, unittest.equals('foo')); | 3567 unittest.expect(o.kind, unittest.equals('foo')); |
| 3568 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3568 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3569 checkPageInfo(o.pageInfo); | 3569 checkPageInfo(o.pageInfo); |
| 3570 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3570 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3571 checkTokenPagination(o.tokenPagination); | 3571 checkTokenPagination(o.tokenPagination); |
| 3572 unittest.expect(o.visitorId, unittest.equals('foo')); | 3572 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3573 } | 3573 } |
| 3574 buildCounterSubscriptionListResponse--; | 3574 buildCounterSubscriptionListResponse--; |
| 3575 } | 3575 } |
| 3576 | 3576 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3673 if (buildCounterThumbnailDetails < 3) { | 3673 if (buildCounterThumbnailDetails < 3) { |
| 3674 checkThumbnail(o.default_); | 3674 checkThumbnail(o.default_); |
| 3675 checkThumbnail(o.high); | 3675 checkThumbnail(o.high); |
| 3676 checkThumbnail(o.maxres); | 3676 checkThumbnail(o.maxres); |
| 3677 checkThumbnail(o.medium); | 3677 checkThumbnail(o.medium); |
| 3678 checkThumbnail(o.standard); | 3678 checkThumbnail(o.standard); |
| 3679 } | 3679 } |
| 3680 buildCounterThumbnailDetails--; | 3680 buildCounterThumbnailDetails--; |
| 3681 } | 3681 } |
| 3682 | 3682 |
| 3683 buildUnnamed632() { | 3683 buildUnnamed2227() { |
| 3684 var o = new core.List<api.ThumbnailDetails>(); | 3684 var o = new core.List<api.ThumbnailDetails>(); |
| 3685 o.add(buildThumbnailDetails()); | 3685 o.add(buildThumbnailDetails()); |
| 3686 o.add(buildThumbnailDetails()); | 3686 o.add(buildThumbnailDetails()); |
| 3687 return o; | 3687 return o; |
| 3688 } | 3688 } |
| 3689 | 3689 |
| 3690 checkUnnamed632(core.List<api.ThumbnailDetails> o) { | 3690 checkUnnamed2227(core.List<api.ThumbnailDetails> o) { |
| 3691 unittest.expect(o, unittest.hasLength(2)); | 3691 unittest.expect(o, unittest.hasLength(2)); |
| 3692 checkThumbnailDetails(o[0]); | 3692 checkThumbnailDetails(o[0]); |
| 3693 checkThumbnailDetails(o[1]); | 3693 checkThumbnailDetails(o[1]); |
| 3694 } | 3694 } |
| 3695 | 3695 |
| 3696 core.int buildCounterThumbnailSetResponse = 0; | 3696 core.int buildCounterThumbnailSetResponse = 0; |
| 3697 buildThumbnailSetResponse() { | 3697 buildThumbnailSetResponse() { |
| 3698 var o = new api.ThumbnailSetResponse(); | 3698 var o = new api.ThumbnailSetResponse(); |
| 3699 buildCounterThumbnailSetResponse++; | 3699 buildCounterThumbnailSetResponse++; |
| 3700 if (buildCounterThumbnailSetResponse < 3) { | 3700 if (buildCounterThumbnailSetResponse < 3) { |
| 3701 o.etag = "foo"; | 3701 o.etag = "foo"; |
| 3702 o.eventId = "foo"; | 3702 o.eventId = "foo"; |
| 3703 o.items = buildUnnamed632(); | 3703 o.items = buildUnnamed2227(); |
| 3704 o.kind = "foo"; | 3704 o.kind = "foo"; |
| 3705 o.visitorId = "foo"; | 3705 o.visitorId = "foo"; |
| 3706 } | 3706 } |
| 3707 buildCounterThumbnailSetResponse--; | 3707 buildCounterThumbnailSetResponse--; |
| 3708 return o; | 3708 return o; |
| 3709 } | 3709 } |
| 3710 | 3710 |
| 3711 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 3711 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 3712 buildCounterThumbnailSetResponse++; | 3712 buildCounterThumbnailSetResponse++; |
| 3713 if (buildCounterThumbnailSetResponse < 3) { | 3713 if (buildCounterThumbnailSetResponse < 3) { |
| 3714 unittest.expect(o.etag, unittest.equals('foo')); | 3714 unittest.expect(o.etag, unittest.equals('foo')); |
| 3715 unittest.expect(o.eventId, unittest.equals('foo')); | 3715 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3716 checkUnnamed632(o.items); | 3716 checkUnnamed2227(o.items); |
| 3717 unittest.expect(o.kind, unittest.equals('foo')); | 3717 unittest.expect(o.kind, unittest.equals('foo')); |
| 3718 unittest.expect(o.visitorId, unittest.equals('foo')); | 3718 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3719 } | 3719 } |
| 3720 buildCounterThumbnailSetResponse--; | 3720 buildCounterThumbnailSetResponse--; |
| 3721 } | 3721 } |
| 3722 | 3722 |
| 3723 core.int buildCounterTokenPagination = 0; | 3723 core.int buildCounterTokenPagination = 0; |
| 3724 buildTokenPagination() { | 3724 buildTokenPagination() { |
| 3725 var o = new api.TokenPagination(); | 3725 var o = new api.TokenPagination(); |
| 3726 buildCounterTokenPagination++; | 3726 buildCounterTokenPagination++; |
| 3727 if (buildCounterTokenPagination < 3) { | 3727 if (buildCounterTokenPagination < 3) { |
| 3728 } | 3728 } |
| 3729 buildCounterTokenPagination--; | 3729 buildCounterTokenPagination--; |
| 3730 return o; | 3730 return o; |
| 3731 } | 3731 } |
| 3732 | 3732 |
| 3733 checkTokenPagination(api.TokenPagination o) { | 3733 checkTokenPagination(api.TokenPagination o) { |
| 3734 buildCounterTokenPagination++; | 3734 buildCounterTokenPagination++; |
| 3735 if (buildCounterTokenPagination < 3) { | 3735 if (buildCounterTokenPagination < 3) { |
| 3736 } | 3736 } |
| 3737 buildCounterTokenPagination--; | 3737 buildCounterTokenPagination--; |
| 3738 } | 3738 } |
| 3739 | 3739 |
| 3740 buildUnnamed633() { | 3740 buildUnnamed2228() { |
| 3741 var o = new core.Map<core.String, api.VideoLocalization>(); | 3741 var o = new core.Map<core.String, api.VideoLocalization>(); |
| 3742 o["x"] = buildVideoLocalization(); | 3742 o["x"] = buildVideoLocalization(); |
| 3743 o["y"] = buildVideoLocalization(); | 3743 o["y"] = buildVideoLocalization(); |
| 3744 return o; | 3744 return o; |
| 3745 } | 3745 } |
| 3746 | 3746 |
| 3747 checkUnnamed633(core.Map<core.String, api.VideoLocalization> o) { | 3747 checkUnnamed2228(core.Map<core.String, api.VideoLocalization> o) { |
| 3748 unittest.expect(o, unittest.hasLength(2)); | 3748 unittest.expect(o, unittest.hasLength(2)); |
| 3749 checkVideoLocalization(o["x"]); | 3749 checkVideoLocalization(o["x"]); |
| 3750 checkVideoLocalization(o["y"]); | 3750 checkVideoLocalization(o["y"]); |
| 3751 } | 3751 } |
| 3752 | 3752 |
| 3753 core.int buildCounterVideo = 0; | 3753 core.int buildCounterVideo = 0; |
| 3754 buildVideo() { | 3754 buildVideo() { |
| 3755 var o = new api.Video(); | 3755 var o = new api.Video(); |
| 3756 buildCounterVideo++; | 3756 buildCounterVideo++; |
| 3757 if (buildCounterVideo < 3) { | 3757 if (buildCounterVideo < 3) { |
| 3758 o.ageGating = buildVideoAgeGating(); | 3758 o.ageGating = buildVideoAgeGating(); |
| 3759 o.contentDetails = buildVideoContentDetails(); | 3759 o.contentDetails = buildVideoContentDetails(); |
| 3760 o.conversionPings = buildVideoConversionPings(); | 3760 o.conversionPings = buildVideoConversionPings(); |
| 3761 o.etag = "foo"; | 3761 o.etag = "foo"; |
| 3762 o.fileDetails = buildVideoFileDetails(); | 3762 o.fileDetails = buildVideoFileDetails(); |
| 3763 o.id = "foo"; | 3763 o.id = "foo"; |
| 3764 o.kind = "foo"; | 3764 o.kind = "foo"; |
| 3765 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 3765 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
| 3766 o.localizations = buildUnnamed633(); | 3766 o.localizations = buildUnnamed2228(); |
| 3767 o.monetizationDetails = buildVideoMonetizationDetails(); | 3767 o.monetizationDetails = buildVideoMonetizationDetails(); |
| 3768 o.player = buildVideoPlayer(); | 3768 o.player = buildVideoPlayer(); |
| 3769 o.processingDetails = buildVideoProcessingDetails(); | 3769 o.processingDetails = buildVideoProcessingDetails(); |
| 3770 o.projectDetails = buildVideoProjectDetails(); | 3770 o.projectDetails = buildVideoProjectDetails(); |
| 3771 o.recordingDetails = buildVideoRecordingDetails(); | 3771 o.recordingDetails = buildVideoRecordingDetails(); |
| 3772 o.snippet = buildVideoSnippet(); | 3772 o.snippet = buildVideoSnippet(); |
| 3773 o.statistics = buildVideoStatistics(); | 3773 o.statistics = buildVideoStatistics(); |
| 3774 o.status = buildVideoStatus(); | 3774 o.status = buildVideoStatus(); |
| 3775 o.suggestions = buildVideoSuggestions(); | 3775 o.suggestions = buildVideoSuggestions(); |
| 3776 o.topicDetails = buildVideoTopicDetails(); | 3776 o.topicDetails = buildVideoTopicDetails(); |
| 3777 } | 3777 } |
| 3778 buildCounterVideo--; | 3778 buildCounterVideo--; |
| 3779 return o; | 3779 return o; |
| 3780 } | 3780 } |
| 3781 | 3781 |
| 3782 checkVideo(api.Video o) { | 3782 checkVideo(api.Video o) { |
| 3783 buildCounterVideo++; | 3783 buildCounterVideo++; |
| 3784 if (buildCounterVideo < 3) { | 3784 if (buildCounterVideo < 3) { |
| 3785 checkVideoAgeGating(o.ageGating); | 3785 checkVideoAgeGating(o.ageGating); |
| 3786 checkVideoContentDetails(o.contentDetails); | 3786 checkVideoContentDetails(o.contentDetails); |
| 3787 checkVideoConversionPings(o.conversionPings); | 3787 checkVideoConversionPings(o.conversionPings); |
| 3788 unittest.expect(o.etag, unittest.equals('foo')); | 3788 unittest.expect(o.etag, unittest.equals('foo')); |
| 3789 checkVideoFileDetails(o.fileDetails); | 3789 checkVideoFileDetails(o.fileDetails); |
| 3790 unittest.expect(o.id, unittest.equals('foo')); | 3790 unittest.expect(o.id, unittest.equals('foo')); |
| 3791 unittest.expect(o.kind, unittest.equals('foo')); | 3791 unittest.expect(o.kind, unittest.equals('foo')); |
| 3792 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 3792 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
| 3793 checkUnnamed633(o.localizations); | 3793 checkUnnamed2228(o.localizations); |
| 3794 checkVideoMonetizationDetails(o.monetizationDetails); | 3794 checkVideoMonetizationDetails(o.monetizationDetails); |
| 3795 checkVideoPlayer(o.player); | 3795 checkVideoPlayer(o.player); |
| 3796 checkVideoProcessingDetails(o.processingDetails); | 3796 checkVideoProcessingDetails(o.processingDetails); |
| 3797 checkVideoProjectDetails(o.projectDetails); | 3797 checkVideoProjectDetails(o.projectDetails); |
| 3798 checkVideoRecordingDetails(o.recordingDetails); | 3798 checkVideoRecordingDetails(o.recordingDetails); |
| 3799 checkVideoSnippet(o.snippet); | 3799 checkVideoSnippet(o.snippet); |
| 3800 checkVideoStatistics(o.statistics); | 3800 checkVideoStatistics(o.statistics); |
| 3801 checkVideoStatus(o.status); | 3801 checkVideoStatus(o.status); |
| 3802 checkVideoSuggestions(o.suggestions); | 3802 checkVideoSuggestions(o.suggestions); |
| 3803 checkVideoTopicDetails(o.topicDetails); | 3803 checkVideoTopicDetails(o.topicDetails); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3850 buildCounterVideoAbuseReportReason++; | 3850 buildCounterVideoAbuseReportReason++; |
| 3851 if (buildCounterVideoAbuseReportReason < 3) { | 3851 if (buildCounterVideoAbuseReportReason < 3) { |
| 3852 unittest.expect(o.etag, unittest.equals('foo')); | 3852 unittest.expect(o.etag, unittest.equals('foo')); |
| 3853 unittest.expect(o.id, unittest.equals('foo')); | 3853 unittest.expect(o.id, unittest.equals('foo')); |
| 3854 unittest.expect(o.kind, unittest.equals('foo')); | 3854 unittest.expect(o.kind, unittest.equals('foo')); |
| 3855 checkVideoAbuseReportReasonSnippet(o.snippet); | 3855 checkVideoAbuseReportReasonSnippet(o.snippet); |
| 3856 } | 3856 } |
| 3857 buildCounterVideoAbuseReportReason--; | 3857 buildCounterVideoAbuseReportReason--; |
| 3858 } | 3858 } |
| 3859 | 3859 |
| 3860 buildUnnamed634() { | 3860 buildUnnamed2229() { |
| 3861 var o = new core.List<api.VideoAbuseReportReason>(); | 3861 var o = new core.List<api.VideoAbuseReportReason>(); |
| 3862 o.add(buildVideoAbuseReportReason()); | 3862 o.add(buildVideoAbuseReportReason()); |
| 3863 o.add(buildVideoAbuseReportReason()); | 3863 o.add(buildVideoAbuseReportReason()); |
| 3864 return o; | 3864 return o; |
| 3865 } | 3865 } |
| 3866 | 3866 |
| 3867 checkUnnamed634(core.List<api.VideoAbuseReportReason> o) { | 3867 checkUnnamed2229(core.List<api.VideoAbuseReportReason> o) { |
| 3868 unittest.expect(o, unittest.hasLength(2)); | 3868 unittest.expect(o, unittest.hasLength(2)); |
| 3869 checkVideoAbuseReportReason(o[0]); | 3869 checkVideoAbuseReportReason(o[0]); |
| 3870 checkVideoAbuseReportReason(o[1]); | 3870 checkVideoAbuseReportReason(o[1]); |
| 3871 } | 3871 } |
| 3872 | 3872 |
| 3873 core.int buildCounterVideoAbuseReportReasonListResponse = 0; | 3873 core.int buildCounterVideoAbuseReportReasonListResponse = 0; |
| 3874 buildVideoAbuseReportReasonListResponse() { | 3874 buildVideoAbuseReportReasonListResponse() { |
| 3875 var o = new api.VideoAbuseReportReasonListResponse(); | 3875 var o = new api.VideoAbuseReportReasonListResponse(); |
| 3876 buildCounterVideoAbuseReportReasonListResponse++; | 3876 buildCounterVideoAbuseReportReasonListResponse++; |
| 3877 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 3877 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 3878 o.etag = "foo"; | 3878 o.etag = "foo"; |
| 3879 o.eventId = "foo"; | 3879 o.eventId = "foo"; |
| 3880 o.items = buildUnnamed634(); | 3880 o.items = buildUnnamed2229(); |
| 3881 o.kind = "foo"; | 3881 o.kind = "foo"; |
| 3882 o.visitorId = "foo"; | 3882 o.visitorId = "foo"; |
| 3883 } | 3883 } |
| 3884 buildCounterVideoAbuseReportReasonListResponse--; | 3884 buildCounterVideoAbuseReportReasonListResponse--; |
| 3885 return o; | 3885 return o; |
| 3886 } | 3886 } |
| 3887 | 3887 |
| 3888 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { | 3888 checkVideoAbuseReportReasonListResponse(api.VideoAbuseReportReasonListResponse o
) { |
| 3889 buildCounterVideoAbuseReportReasonListResponse++; | 3889 buildCounterVideoAbuseReportReasonListResponse++; |
| 3890 if (buildCounterVideoAbuseReportReasonListResponse < 3) { | 3890 if (buildCounterVideoAbuseReportReasonListResponse < 3) { |
| 3891 unittest.expect(o.etag, unittest.equals('foo')); | 3891 unittest.expect(o.etag, unittest.equals('foo')); |
| 3892 unittest.expect(o.eventId, unittest.equals('foo')); | 3892 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3893 checkUnnamed634(o.items); | 3893 checkUnnamed2229(o.items); |
| 3894 unittest.expect(o.kind, unittest.equals('foo')); | 3894 unittest.expect(o.kind, unittest.equals('foo')); |
| 3895 unittest.expect(o.visitorId, unittest.equals('foo')); | 3895 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3896 } | 3896 } |
| 3897 buildCounterVideoAbuseReportReasonListResponse--; | 3897 buildCounterVideoAbuseReportReasonListResponse--; |
| 3898 } | 3898 } |
| 3899 | 3899 |
| 3900 buildUnnamed635() { | 3900 buildUnnamed2230() { |
| 3901 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); | 3901 var o = new core.List<api.VideoAbuseReportSecondaryReason>(); |
| 3902 o.add(buildVideoAbuseReportSecondaryReason()); | 3902 o.add(buildVideoAbuseReportSecondaryReason()); |
| 3903 o.add(buildVideoAbuseReportSecondaryReason()); | 3903 o.add(buildVideoAbuseReportSecondaryReason()); |
| 3904 return o; | 3904 return o; |
| 3905 } | 3905 } |
| 3906 | 3906 |
| 3907 checkUnnamed635(core.List<api.VideoAbuseReportSecondaryReason> o) { | 3907 checkUnnamed2230(core.List<api.VideoAbuseReportSecondaryReason> o) { |
| 3908 unittest.expect(o, unittest.hasLength(2)); | 3908 unittest.expect(o, unittest.hasLength(2)); |
| 3909 checkVideoAbuseReportSecondaryReason(o[0]); | 3909 checkVideoAbuseReportSecondaryReason(o[0]); |
| 3910 checkVideoAbuseReportSecondaryReason(o[1]); | 3910 checkVideoAbuseReportSecondaryReason(o[1]); |
| 3911 } | 3911 } |
| 3912 | 3912 |
| 3913 core.int buildCounterVideoAbuseReportReasonSnippet = 0; | 3913 core.int buildCounterVideoAbuseReportReasonSnippet = 0; |
| 3914 buildVideoAbuseReportReasonSnippet() { | 3914 buildVideoAbuseReportReasonSnippet() { |
| 3915 var o = new api.VideoAbuseReportReasonSnippet(); | 3915 var o = new api.VideoAbuseReportReasonSnippet(); |
| 3916 buildCounterVideoAbuseReportReasonSnippet++; | 3916 buildCounterVideoAbuseReportReasonSnippet++; |
| 3917 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 3917 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 3918 o.label = "foo"; | 3918 o.label = "foo"; |
| 3919 o.secondaryReasons = buildUnnamed635(); | 3919 o.secondaryReasons = buildUnnamed2230(); |
| 3920 } | 3920 } |
| 3921 buildCounterVideoAbuseReportReasonSnippet--; | 3921 buildCounterVideoAbuseReportReasonSnippet--; |
| 3922 return o; | 3922 return o; |
| 3923 } | 3923 } |
| 3924 | 3924 |
| 3925 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { | 3925 checkVideoAbuseReportReasonSnippet(api.VideoAbuseReportReasonSnippet o) { |
| 3926 buildCounterVideoAbuseReportReasonSnippet++; | 3926 buildCounterVideoAbuseReportReasonSnippet++; |
| 3927 if (buildCounterVideoAbuseReportReasonSnippet < 3) { | 3927 if (buildCounterVideoAbuseReportReasonSnippet < 3) { |
| 3928 unittest.expect(o.label, unittest.equals('foo')); | 3928 unittest.expect(o.label, unittest.equals('foo')); |
| 3929 checkUnnamed635(o.secondaryReasons); | 3929 checkUnnamed2230(o.secondaryReasons); |
| 3930 } | 3930 } |
| 3931 buildCounterVideoAbuseReportReasonSnippet--; | 3931 buildCounterVideoAbuseReportReasonSnippet--; |
| 3932 } | 3932 } |
| 3933 | 3933 |
| 3934 core.int buildCounterVideoAbuseReportSecondaryReason = 0; | 3934 core.int buildCounterVideoAbuseReportSecondaryReason = 0; |
| 3935 buildVideoAbuseReportSecondaryReason() { | 3935 buildVideoAbuseReportSecondaryReason() { |
| 3936 var o = new api.VideoAbuseReportSecondaryReason(); | 3936 var o = new api.VideoAbuseReportSecondaryReason(); |
| 3937 buildCounterVideoAbuseReportSecondaryReason++; | 3937 buildCounterVideoAbuseReportSecondaryReason++; |
| 3938 if (buildCounterVideoAbuseReportSecondaryReason < 3) { | 3938 if (buildCounterVideoAbuseReportSecondaryReason < 3) { |
| 3939 o.id = "foo"; | 3939 o.id = "foo"; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3993 buildCounterVideoCategory++; | 3993 buildCounterVideoCategory++; |
| 3994 if (buildCounterVideoCategory < 3) { | 3994 if (buildCounterVideoCategory < 3) { |
| 3995 unittest.expect(o.etag, unittest.equals('foo')); | 3995 unittest.expect(o.etag, unittest.equals('foo')); |
| 3996 unittest.expect(o.id, unittest.equals('foo')); | 3996 unittest.expect(o.id, unittest.equals('foo')); |
| 3997 unittest.expect(o.kind, unittest.equals('foo')); | 3997 unittest.expect(o.kind, unittest.equals('foo')); |
| 3998 checkVideoCategorySnippet(o.snippet); | 3998 checkVideoCategorySnippet(o.snippet); |
| 3999 } | 3999 } |
| 4000 buildCounterVideoCategory--; | 4000 buildCounterVideoCategory--; |
| 4001 } | 4001 } |
| 4002 | 4002 |
| 4003 buildUnnamed636() { | 4003 buildUnnamed2231() { |
| 4004 var o = new core.List<api.VideoCategory>(); | 4004 var o = new core.List<api.VideoCategory>(); |
| 4005 o.add(buildVideoCategory()); | 4005 o.add(buildVideoCategory()); |
| 4006 o.add(buildVideoCategory()); | 4006 o.add(buildVideoCategory()); |
| 4007 return o; | 4007 return o; |
| 4008 } | 4008 } |
| 4009 | 4009 |
| 4010 checkUnnamed636(core.List<api.VideoCategory> o) { | 4010 checkUnnamed2231(core.List<api.VideoCategory> o) { |
| 4011 unittest.expect(o, unittest.hasLength(2)); | 4011 unittest.expect(o, unittest.hasLength(2)); |
| 4012 checkVideoCategory(o[0]); | 4012 checkVideoCategory(o[0]); |
| 4013 checkVideoCategory(o[1]); | 4013 checkVideoCategory(o[1]); |
| 4014 } | 4014 } |
| 4015 | 4015 |
| 4016 core.int buildCounterVideoCategoryListResponse = 0; | 4016 core.int buildCounterVideoCategoryListResponse = 0; |
| 4017 buildVideoCategoryListResponse() { | 4017 buildVideoCategoryListResponse() { |
| 4018 var o = new api.VideoCategoryListResponse(); | 4018 var o = new api.VideoCategoryListResponse(); |
| 4019 buildCounterVideoCategoryListResponse++; | 4019 buildCounterVideoCategoryListResponse++; |
| 4020 if (buildCounterVideoCategoryListResponse < 3) { | 4020 if (buildCounterVideoCategoryListResponse < 3) { |
| 4021 o.etag = "foo"; | 4021 o.etag = "foo"; |
| 4022 o.eventId = "foo"; | 4022 o.eventId = "foo"; |
| 4023 o.items = buildUnnamed636(); | 4023 o.items = buildUnnamed2231(); |
| 4024 o.kind = "foo"; | 4024 o.kind = "foo"; |
| 4025 o.nextPageToken = "foo"; | 4025 o.nextPageToken = "foo"; |
| 4026 o.pageInfo = buildPageInfo(); | 4026 o.pageInfo = buildPageInfo(); |
| 4027 o.prevPageToken = "foo"; | 4027 o.prevPageToken = "foo"; |
| 4028 o.tokenPagination = buildTokenPagination(); | 4028 o.tokenPagination = buildTokenPagination(); |
| 4029 o.visitorId = "foo"; | 4029 o.visitorId = "foo"; |
| 4030 } | 4030 } |
| 4031 buildCounterVideoCategoryListResponse--; | 4031 buildCounterVideoCategoryListResponse--; |
| 4032 return o; | 4032 return o; |
| 4033 } | 4033 } |
| 4034 | 4034 |
| 4035 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 4035 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 4036 buildCounterVideoCategoryListResponse++; | 4036 buildCounterVideoCategoryListResponse++; |
| 4037 if (buildCounterVideoCategoryListResponse < 3) { | 4037 if (buildCounterVideoCategoryListResponse < 3) { |
| 4038 unittest.expect(o.etag, unittest.equals('foo')); | 4038 unittest.expect(o.etag, unittest.equals('foo')); |
| 4039 unittest.expect(o.eventId, unittest.equals('foo')); | 4039 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4040 checkUnnamed636(o.items); | 4040 checkUnnamed2231(o.items); |
| 4041 unittest.expect(o.kind, unittest.equals('foo')); | 4041 unittest.expect(o.kind, unittest.equals('foo')); |
| 4042 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4042 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4043 checkPageInfo(o.pageInfo); | 4043 checkPageInfo(o.pageInfo); |
| 4044 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4044 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4045 checkTokenPagination(o.tokenPagination); | 4045 checkTokenPagination(o.tokenPagination); |
| 4046 unittest.expect(o.visitorId, unittest.equals('foo')); | 4046 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4047 } | 4047 } |
| 4048 buildCounterVideoCategoryListResponse--; | 4048 buildCounterVideoCategoryListResponse--; |
| 4049 } | 4049 } |
| 4050 | 4050 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4097 checkAccessPolicy(o.countryRestriction); | 4097 checkAccessPolicy(o.countryRestriction); |
| 4098 unittest.expect(o.definition, unittest.equals('foo')); | 4098 unittest.expect(o.definition, unittest.equals('foo')); |
| 4099 unittest.expect(o.dimension, unittest.equals('foo')); | 4099 unittest.expect(o.dimension, unittest.equals('foo')); |
| 4100 unittest.expect(o.duration, unittest.equals('foo')); | 4100 unittest.expect(o.duration, unittest.equals('foo')); |
| 4101 unittest.expect(o.licensedContent, unittest.isTrue); | 4101 unittest.expect(o.licensedContent, unittest.isTrue); |
| 4102 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 4102 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 4103 } | 4103 } |
| 4104 buildCounterVideoContentDetails--; | 4104 buildCounterVideoContentDetails--; |
| 4105 } | 4105 } |
| 4106 | 4106 |
| 4107 buildUnnamed637() { | 4107 buildUnnamed2232() { |
| 4108 var o = new core.List<core.String>(); | 4108 var o = new core.List<core.String>(); |
| 4109 o.add("foo"); | 4109 o.add("foo"); |
| 4110 o.add("foo"); | 4110 o.add("foo"); |
| 4111 return o; | 4111 return o; |
| 4112 } | 4112 } |
| 4113 | 4113 |
| 4114 checkUnnamed637(core.List<core.String> o) { | 4114 checkUnnamed2232(core.List<core.String> o) { |
| 4115 unittest.expect(o, unittest.hasLength(2)); | 4115 unittest.expect(o, unittest.hasLength(2)); |
| 4116 unittest.expect(o[0], unittest.equals('foo')); | 4116 unittest.expect(o[0], unittest.equals('foo')); |
| 4117 unittest.expect(o[1], unittest.equals('foo')); | 4117 unittest.expect(o[1], unittest.equals('foo')); |
| 4118 } | 4118 } |
| 4119 | 4119 |
| 4120 buildUnnamed638() { | 4120 buildUnnamed2233() { |
| 4121 var o = new core.List<core.String>(); | 4121 var o = new core.List<core.String>(); |
| 4122 o.add("foo"); | 4122 o.add("foo"); |
| 4123 o.add("foo"); | 4123 o.add("foo"); |
| 4124 return o; | 4124 return o; |
| 4125 } | 4125 } |
| 4126 | 4126 |
| 4127 checkUnnamed638(core.List<core.String> o) { | 4127 checkUnnamed2233(core.List<core.String> o) { |
| 4128 unittest.expect(o, unittest.hasLength(2)); | 4128 unittest.expect(o, unittest.hasLength(2)); |
| 4129 unittest.expect(o[0], unittest.equals('foo')); | 4129 unittest.expect(o[0], unittest.equals('foo')); |
| 4130 unittest.expect(o[1], unittest.equals('foo')); | 4130 unittest.expect(o[1], unittest.equals('foo')); |
| 4131 } | 4131 } |
| 4132 | 4132 |
| 4133 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 4133 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 4134 buildVideoContentDetailsRegionRestriction() { | 4134 buildVideoContentDetailsRegionRestriction() { |
| 4135 var o = new api.VideoContentDetailsRegionRestriction(); | 4135 var o = new api.VideoContentDetailsRegionRestriction(); |
| 4136 buildCounterVideoContentDetailsRegionRestriction++; | 4136 buildCounterVideoContentDetailsRegionRestriction++; |
| 4137 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4137 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4138 o.allowed = buildUnnamed637(); | 4138 o.allowed = buildUnnamed2232(); |
| 4139 o.blocked = buildUnnamed638(); | 4139 o.blocked = buildUnnamed2233(); |
| 4140 } | 4140 } |
| 4141 buildCounterVideoContentDetailsRegionRestriction--; | 4141 buildCounterVideoContentDetailsRegionRestriction--; |
| 4142 return o; | 4142 return o; |
| 4143 } | 4143 } |
| 4144 | 4144 |
| 4145 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 4145 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 4146 buildCounterVideoContentDetailsRegionRestriction++; | 4146 buildCounterVideoContentDetailsRegionRestriction++; |
| 4147 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 4147 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 4148 checkUnnamed637(o.allowed); | 4148 checkUnnamed2232(o.allowed); |
| 4149 checkUnnamed638(o.blocked); | 4149 checkUnnamed2233(o.blocked); |
| 4150 } | 4150 } |
| 4151 buildCounterVideoContentDetailsRegionRestriction--; | 4151 buildCounterVideoContentDetailsRegionRestriction--; |
| 4152 } | 4152 } |
| 4153 | 4153 |
| 4154 core.int buildCounterVideoConversionPing = 0; | 4154 core.int buildCounterVideoConversionPing = 0; |
| 4155 buildVideoConversionPing() { | 4155 buildVideoConversionPing() { |
| 4156 var o = new api.VideoConversionPing(); | 4156 var o = new api.VideoConversionPing(); |
| 4157 buildCounterVideoConversionPing++; | 4157 buildCounterVideoConversionPing++; |
| 4158 if (buildCounterVideoConversionPing < 3) { | 4158 if (buildCounterVideoConversionPing < 3) { |
| 4159 o.context = "foo"; | 4159 o.context = "foo"; |
| 4160 o.conversionUrl = "foo"; | 4160 o.conversionUrl = "foo"; |
| 4161 } | 4161 } |
| 4162 buildCounterVideoConversionPing--; | 4162 buildCounterVideoConversionPing--; |
| 4163 return o; | 4163 return o; |
| 4164 } | 4164 } |
| 4165 | 4165 |
| 4166 checkVideoConversionPing(api.VideoConversionPing o) { | 4166 checkVideoConversionPing(api.VideoConversionPing o) { |
| 4167 buildCounterVideoConversionPing++; | 4167 buildCounterVideoConversionPing++; |
| 4168 if (buildCounterVideoConversionPing < 3) { | 4168 if (buildCounterVideoConversionPing < 3) { |
| 4169 unittest.expect(o.context, unittest.equals('foo')); | 4169 unittest.expect(o.context, unittest.equals('foo')); |
| 4170 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 4170 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 4171 } | 4171 } |
| 4172 buildCounterVideoConversionPing--; | 4172 buildCounterVideoConversionPing--; |
| 4173 } | 4173 } |
| 4174 | 4174 |
| 4175 buildUnnamed639() { | 4175 buildUnnamed2234() { |
| 4176 var o = new core.List<api.VideoConversionPing>(); | 4176 var o = new core.List<api.VideoConversionPing>(); |
| 4177 o.add(buildVideoConversionPing()); | 4177 o.add(buildVideoConversionPing()); |
| 4178 o.add(buildVideoConversionPing()); | 4178 o.add(buildVideoConversionPing()); |
| 4179 return o; | 4179 return o; |
| 4180 } | 4180 } |
| 4181 | 4181 |
| 4182 checkUnnamed639(core.List<api.VideoConversionPing> o) { | 4182 checkUnnamed2234(core.List<api.VideoConversionPing> o) { |
| 4183 unittest.expect(o, unittest.hasLength(2)); | 4183 unittest.expect(o, unittest.hasLength(2)); |
| 4184 checkVideoConversionPing(o[0]); | 4184 checkVideoConversionPing(o[0]); |
| 4185 checkVideoConversionPing(o[1]); | 4185 checkVideoConversionPing(o[1]); |
| 4186 } | 4186 } |
| 4187 | 4187 |
| 4188 core.int buildCounterVideoConversionPings = 0; | 4188 core.int buildCounterVideoConversionPings = 0; |
| 4189 buildVideoConversionPings() { | 4189 buildVideoConversionPings() { |
| 4190 var o = new api.VideoConversionPings(); | 4190 var o = new api.VideoConversionPings(); |
| 4191 buildCounterVideoConversionPings++; | 4191 buildCounterVideoConversionPings++; |
| 4192 if (buildCounterVideoConversionPings < 3) { | 4192 if (buildCounterVideoConversionPings < 3) { |
| 4193 o.pings = buildUnnamed639(); | 4193 o.pings = buildUnnamed2234(); |
| 4194 } | 4194 } |
| 4195 buildCounterVideoConversionPings--; | 4195 buildCounterVideoConversionPings--; |
| 4196 return o; | 4196 return o; |
| 4197 } | 4197 } |
| 4198 | 4198 |
| 4199 checkVideoConversionPings(api.VideoConversionPings o) { | 4199 checkVideoConversionPings(api.VideoConversionPings o) { |
| 4200 buildCounterVideoConversionPings++; | 4200 buildCounterVideoConversionPings++; |
| 4201 if (buildCounterVideoConversionPings < 3) { | 4201 if (buildCounterVideoConversionPings < 3) { |
| 4202 checkUnnamed639(o.pings); | 4202 checkUnnamed2234(o.pings); |
| 4203 } | 4203 } |
| 4204 buildCounterVideoConversionPings--; | 4204 buildCounterVideoConversionPings--; |
| 4205 } | 4205 } |
| 4206 | 4206 |
| 4207 buildUnnamed640() { | 4207 buildUnnamed2235() { |
| 4208 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 4208 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 4209 o.add(buildVideoFileDetailsAudioStream()); | 4209 o.add(buildVideoFileDetailsAudioStream()); |
| 4210 o.add(buildVideoFileDetailsAudioStream()); | 4210 o.add(buildVideoFileDetailsAudioStream()); |
| 4211 return o; | 4211 return o; |
| 4212 } | 4212 } |
| 4213 | 4213 |
| 4214 checkUnnamed640(core.List<api.VideoFileDetailsAudioStream> o) { | 4214 checkUnnamed2235(core.List<api.VideoFileDetailsAudioStream> o) { |
| 4215 unittest.expect(o, unittest.hasLength(2)); | 4215 unittest.expect(o, unittest.hasLength(2)); |
| 4216 checkVideoFileDetailsAudioStream(o[0]); | 4216 checkVideoFileDetailsAudioStream(o[0]); |
| 4217 checkVideoFileDetailsAudioStream(o[1]); | 4217 checkVideoFileDetailsAudioStream(o[1]); |
| 4218 } | 4218 } |
| 4219 | 4219 |
| 4220 buildUnnamed641() { | 4220 buildUnnamed2236() { |
| 4221 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 4221 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 4222 o.add(buildVideoFileDetailsVideoStream()); | 4222 o.add(buildVideoFileDetailsVideoStream()); |
| 4223 o.add(buildVideoFileDetailsVideoStream()); | 4223 o.add(buildVideoFileDetailsVideoStream()); |
| 4224 return o; | 4224 return o; |
| 4225 } | 4225 } |
| 4226 | 4226 |
| 4227 checkUnnamed641(core.List<api.VideoFileDetailsVideoStream> o) { | 4227 checkUnnamed2236(core.List<api.VideoFileDetailsVideoStream> o) { |
| 4228 unittest.expect(o, unittest.hasLength(2)); | 4228 unittest.expect(o, unittest.hasLength(2)); |
| 4229 checkVideoFileDetailsVideoStream(o[0]); | 4229 checkVideoFileDetailsVideoStream(o[0]); |
| 4230 checkVideoFileDetailsVideoStream(o[1]); | 4230 checkVideoFileDetailsVideoStream(o[1]); |
| 4231 } | 4231 } |
| 4232 | 4232 |
| 4233 core.int buildCounterVideoFileDetails = 0; | 4233 core.int buildCounterVideoFileDetails = 0; |
| 4234 buildVideoFileDetails() { | 4234 buildVideoFileDetails() { |
| 4235 var o = new api.VideoFileDetails(); | 4235 var o = new api.VideoFileDetails(); |
| 4236 buildCounterVideoFileDetails++; | 4236 buildCounterVideoFileDetails++; |
| 4237 if (buildCounterVideoFileDetails < 3) { | 4237 if (buildCounterVideoFileDetails < 3) { |
| 4238 o.audioStreams = buildUnnamed640(); | 4238 o.audioStreams = buildUnnamed2235(); |
| 4239 o.bitrateBps = "foo"; | 4239 o.bitrateBps = "foo"; |
| 4240 o.container = "foo"; | 4240 o.container = "foo"; |
| 4241 o.creationTime = "foo"; | 4241 o.creationTime = "foo"; |
| 4242 o.durationMs = "foo"; | 4242 o.durationMs = "foo"; |
| 4243 o.fileName = "foo"; | 4243 o.fileName = "foo"; |
| 4244 o.fileSize = "foo"; | 4244 o.fileSize = "foo"; |
| 4245 o.fileType = "foo"; | 4245 o.fileType = "foo"; |
| 4246 o.recordingLocation = buildGeoPoint(); | 4246 o.recordingLocation = buildGeoPoint(); |
| 4247 o.videoStreams = buildUnnamed641(); | 4247 o.videoStreams = buildUnnamed2236(); |
| 4248 } | 4248 } |
| 4249 buildCounterVideoFileDetails--; | 4249 buildCounterVideoFileDetails--; |
| 4250 return o; | 4250 return o; |
| 4251 } | 4251 } |
| 4252 | 4252 |
| 4253 checkVideoFileDetails(api.VideoFileDetails o) { | 4253 checkVideoFileDetails(api.VideoFileDetails o) { |
| 4254 buildCounterVideoFileDetails++; | 4254 buildCounterVideoFileDetails++; |
| 4255 if (buildCounterVideoFileDetails < 3) { | 4255 if (buildCounterVideoFileDetails < 3) { |
| 4256 checkUnnamed640(o.audioStreams); | 4256 checkUnnamed2235(o.audioStreams); |
| 4257 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 4257 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 4258 unittest.expect(o.container, unittest.equals('foo')); | 4258 unittest.expect(o.container, unittest.equals('foo')); |
| 4259 unittest.expect(o.creationTime, unittest.equals('foo')); | 4259 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 4260 unittest.expect(o.durationMs, unittest.equals('foo')); | 4260 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 4261 unittest.expect(o.fileName, unittest.equals('foo')); | 4261 unittest.expect(o.fileName, unittest.equals('foo')); |
| 4262 unittest.expect(o.fileSize, unittest.equals('foo')); | 4262 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 4263 unittest.expect(o.fileType, unittest.equals('foo')); | 4263 unittest.expect(o.fileType, unittest.equals('foo')); |
| 4264 checkGeoPoint(o.recordingLocation); | 4264 checkGeoPoint(o.recordingLocation); |
| 4265 checkUnnamed641(o.videoStreams); | 4265 checkUnnamed2236(o.videoStreams); |
| 4266 } | 4266 } |
| 4267 buildCounterVideoFileDetails--; | 4267 buildCounterVideoFileDetails--; |
| 4268 } | 4268 } |
| 4269 | 4269 |
| 4270 core.int buildCounterVideoFileDetailsAudioStream = 0; | 4270 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 4271 buildVideoFileDetailsAudioStream() { | 4271 buildVideoFileDetailsAudioStream() { |
| 4272 var o = new api.VideoFileDetailsAudioStream(); | 4272 var o = new api.VideoFileDetailsAudioStream(); |
| 4273 buildCounterVideoFileDetailsAudioStream++; | 4273 buildCounterVideoFileDetailsAudioStream++; |
| 4274 if (buildCounterVideoFileDetailsAudioStream < 3) { | 4274 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 4275 o.bitrateBps = "foo"; | 4275 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4318 unittest.expect(o.codec, unittest.equals('foo')); | 4318 unittest.expect(o.codec, unittest.equals('foo')); |
| 4319 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 4319 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 4320 unittest.expect(o.heightPixels, unittest.equals(42)); | 4320 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 4321 unittest.expect(o.rotation, unittest.equals('foo')); | 4321 unittest.expect(o.rotation, unittest.equals('foo')); |
| 4322 unittest.expect(o.vendor, unittest.equals('foo')); | 4322 unittest.expect(o.vendor, unittest.equals('foo')); |
| 4323 unittest.expect(o.widthPixels, unittest.equals(42)); | 4323 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 4324 } | 4324 } |
| 4325 buildCounterVideoFileDetailsVideoStream--; | 4325 buildCounterVideoFileDetailsVideoStream--; |
| 4326 } | 4326 } |
| 4327 | 4327 |
| 4328 buildUnnamed642() { | 4328 buildUnnamed2237() { |
| 4329 var o = new core.List<api.VideoRating>(); | 4329 var o = new core.List<api.VideoRating>(); |
| 4330 o.add(buildVideoRating()); | 4330 o.add(buildVideoRating()); |
| 4331 o.add(buildVideoRating()); | 4331 o.add(buildVideoRating()); |
| 4332 return o; | 4332 return o; |
| 4333 } | 4333 } |
| 4334 | 4334 |
| 4335 checkUnnamed642(core.List<api.VideoRating> o) { | 4335 checkUnnamed2237(core.List<api.VideoRating> o) { |
| 4336 unittest.expect(o, unittest.hasLength(2)); | 4336 unittest.expect(o, unittest.hasLength(2)); |
| 4337 checkVideoRating(o[0]); | 4337 checkVideoRating(o[0]); |
| 4338 checkVideoRating(o[1]); | 4338 checkVideoRating(o[1]); |
| 4339 } | 4339 } |
| 4340 | 4340 |
| 4341 core.int buildCounterVideoGetRatingResponse = 0; | 4341 core.int buildCounterVideoGetRatingResponse = 0; |
| 4342 buildVideoGetRatingResponse() { | 4342 buildVideoGetRatingResponse() { |
| 4343 var o = new api.VideoGetRatingResponse(); | 4343 var o = new api.VideoGetRatingResponse(); |
| 4344 buildCounterVideoGetRatingResponse++; | 4344 buildCounterVideoGetRatingResponse++; |
| 4345 if (buildCounterVideoGetRatingResponse < 3) { | 4345 if (buildCounterVideoGetRatingResponse < 3) { |
| 4346 o.etag = "foo"; | 4346 o.etag = "foo"; |
| 4347 o.eventId = "foo"; | 4347 o.eventId = "foo"; |
| 4348 o.items = buildUnnamed642(); | 4348 o.items = buildUnnamed2237(); |
| 4349 o.kind = "foo"; | 4349 o.kind = "foo"; |
| 4350 o.visitorId = "foo"; | 4350 o.visitorId = "foo"; |
| 4351 } | 4351 } |
| 4352 buildCounterVideoGetRatingResponse--; | 4352 buildCounterVideoGetRatingResponse--; |
| 4353 return o; | 4353 return o; |
| 4354 } | 4354 } |
| 4355 | 4355 |
| 4356 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 4356 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 4357 buildCounterVideoGetRatingResponse++; | 4357 buildCounterVideoGetRatingResponse++; |
| 4358 if (buildCounterVideoGetRatingResponse < 3) { | 4358 if (buildCounterVideoGetRatingResponse < 3) { |
| 4359 unittest.expect(o.etag, unittest.equals('foo')); | 4359 unittest.expect(o.etag, unittest.equals('foo')); |
| 4360 unittest.expect(o.eventId, unittest.equals('foo')); | 4360 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4361 checkUnnamed642(o.items); | 4361 checkUnnamed2237(o.items); |
| 4362 unittest.expect(o.kind, unittest.equals('foo')); | 4362 unittest.expect(o.kind, unittest.equals('foo')); |
| 4363 unittest.expect(o.visitorId, unittest.equals('foo')); | 4363 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4364 } | 4364 } |
| 4365 buildCounterVideoGetRatingResponse--; | 4365 buildCounterVideoGetRatingResponse--; |
| 4366 } | 4366 } |
| 4367 | 4367 |
| 4368 buildUnnamed643() { | 4368 buildUnnamed2238() { |
| 4369 var o = new core.List<api.Video>(); | 4369 var o = new core.List<api.Video>(); |
| 4370 o.add(buildVideo()); | 4370 o.add(buildVideo()); |
| 4371 o.add(buildVideo()); | 4371 o.add(buildVideo()); |
| 4372 return o; | 4372 return o; |
| 4373 } | 4373 } |
| 4374 | 4374 |
| 4375 checkUnnamed643(core.List<api.Video> o) { | 4375 checkUnnamed2238(core.List<api.Video> o) { |
| 4376 unittest.expect(o, unittest.hasLength(2)); | 4376 unittest.expect(o, unittest.hasLength(2)); |
| 4377 checkVideo(o[0]); | 4377 checkVideo(o[0]); |
| 4378 checkVideo(o[1]); | 4378 checkVideo(o[1]); |
| 4379 } | 4379 } |
| 4380 | 4380 |
| 4381 core.int buildCounterVideoListResponse = 0; | 4381 core.int buildCounterVideoListResponse = 0; |
| 4382 buildVideoListResponse() { | 4382 buildVideoListResponse() { |
| 4383 var o = new api.VideoListResponse(); | 4383 var o = new api.VideoListResponse(); |
| 4384 buildCounterVideoListResponse++; | 4384 buildCounterVideoListResponse++; |
| 4385 if (buildCounterVideoListResponse < 3) { | 4385 if (buildCounterVideoListResponse < 3) { |
| 4386 o.etag = "foo"; | 4386 o.etag = "foo"; |
| 4387 o.eventId = "foo"; | 4387 o.eventId = "foo"; |
| 4388 o.items = buildUnnamed643(); | 4388 o.items = buildUnnamed2238(); |
| 4389 o.kind = "foo"; | 4389 o.kind = "foo"; |
| 4390 o.nextPageToken = "foo"; | 4390 o.nextPageToken = "foo"; |
| 4391 o.pageInfo = buildPageInfo(); | 4391 o.pageInfo = buildPageInfo(); |
| 4392 o.prevPageToken = "foo"; | 4392 o.prevPageToken = "foo"; |
| 4393 o.tokenPagination = buildTokenPagination(); | 4393 o.tokenPagination = buildTokenPagination(); |
| 4394 o.visitorId = "foo"; | 4394 o.visitorId = "foo"; |
| 4395 } | 4395 } |
| 4396 buildCounterVideoListResponse--; | 4396 buildCounterVideoListResponse--; |
| 4397 return o; | 4397 return o; |
| 4398 } | 4398 } |
| 4399 | 4399 |
| 4400 checkVideoListResponse(api.VideoListResponse o) { | 4400 checkVideoListResponse(api.VideoListResponse o) { |
| 4401 buildCounterVideoListResponse++; | 4401 buildCounterVideoListResponse++; |
| 4402 if (buildCounterVideoListResponse < 3) { | 4402 if (buildCounterVideoListResponse < 3) { |
| 4403 unittest.expect(o.etag, unittest.equals('foo')); | 4403 unittest.expect(o.etag, unittest.equals('foo')); |
| 4404 unittest.expect(o.eventId, unittest.equals('foo')); | 4404 unittest.expect(o.eventId, unittest.equals('foo')); |
| 4405 checkUnnamed643(o.items); | 4405 checkUnnamed2238(o.items); |
| 4406 unittest.expect(o.kind, unittest.equals('foo')); | 4406 unittest.expect(o.kind, unittest.equals('foo')); |
| 4407 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 4407 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 4408 checkPageInfo(o.pageInfo); | 4408 checkPageInfo(o.pageInfo); |
| 4409 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 4409 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 4410 checkTokenPagination(o.tokenPagination); | 4410 checkTokenPagination(o.tokenPagination); |
| 4411 unittest.expect(o.visitorId, unittest.equals('foo')); | 4411 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 4412 } | 4412 } |
| 4413 buildCounterVideoListResponse--; | 4413 buildCounterVideoListResponse--; |
| 4414 } | 4414 } |
| 4415 | 4415 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4548 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 4548 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 4549 buildCounterVideoProcessingDetailsProcessingProgress++; | 4549 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 4550 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 4550 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 4551 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 4551 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 4552 unittest.expect(o.partsTotal, unittest.equals('foo')); | 4552 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 4553 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 4553 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 4554 } | 4554 } |
| 4555 buildCounterVideoProcessingDetailsProcessingProgress--; | 4555 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 4556 } | 4556 } |
| 4557 | 4557 |
| 4558 buildUnnamed644() { | 4558 buildUnnamed2239() { |
| 4559 var o = new core.List<core.String>(); | 4559 var o = new core.List<core.String>(); |
| 4560 o.add("foo"); | 4560 o.add("foo"); |
| 4561 o.add("foo"); | 4561 o.add("foo"); |
| 4562 return o; | 4562 return o; |
| 4563 } | 4563 } |
| 4564 | 4564 |
| 4565 checkUnnamed644(core.List<core.String> o) { | 4565 checkUnnamed2239(core.List<core.String> o) { |
| 4566 unittest.expect(o, unittest.hasLength(2)); | 4566 unittest.expect(o, unittest.hasLength(2)); |
| 4567 unittest.expect(o[0], unittest.equals('foo')); | 4567 unittest.expect(o[0], unittest.equals('foo')); |
| 4568 unittest.expect(o[1], unittest.equals('foo')); | 4568 unittest.expect(o[1], unittest.equals('foo')); |
| 4569 } | 4569 } |
| 4570 | 4570 |
| 4571 core.int buildCounterVideoProjectDetails = 0; | 4571 core.int buildCounterVideoProjectDetails = 0; |
| 4572 buildVideoProjectDetails() { | 4572 buildVideoProjectDetails() { |
| 4573 var o = new api.VideoProjectDetails(); | 4573 var o = new api.VideoProjectDetails(); |
| 4574 buildCounterVideoProjectDetails++; | 4574 buildCounterVideoProjectDetails++; |
| 4575 if (buildCounterVideoProjectDetails < 3) { | 4575 if (buildCounterVideoProjectDetails < 3) { |
| 4576 o.tags = buildUnnamed644(); | 4576 o.tags = buildUnnamed2239(); |
| 4577 } | 4577 } |
| 4578 buildCounterVideoProjectDetails--; | 4578 buildCounterVideoProjectDetails--; |
| 4579 return o; | 4579 return o; |
| 4580 } | 4580 } |
| 4581 | 4581 |
| 4582 checkVideoProjectDetails(api.VideoProjectDetails o) { | 4582 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 4583 buildCounterVideoProjectDetails++; | 4583 buildCounterVideoProjectDetails++; |
| 4584 if (buildCounterVideoProjectDetails < 3) { | 4584 if (buildCounterVideoProjectDetails < 3) { |
| 4585 checkUnnamed644(o.tags); | 4585 checkUnnamed2239(o.tags); |
| 4586 } | 4586 } |
| 4587 buildCounterVideoProjectDetails--; | 4587 buildCounterVideoProjectDetails--; |
| 4588 } | 4588 } |
| 4589 | 4589 |
| 4590 core.int buildCounterVideoRating = 0; | 4590 core.int buildCounterVideoRating = 0; |
| 4591 buildVideoRating() { | 4591 buildVideoRating() { |
| 4592 var o = new api.VideoRating(); | 4592 var o = new api.VideoRating(); |
| 4593 buildCounterVideoRating++; | 4593 buildCounterVideoRating++; |
| 4594 if (buildCounterVideoRating < 3) { | 4594 if (buildCounterVideoRating < 3) { |
| 4595 o.rating = "foo"; | 4595 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 4624 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 4624 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 4625 buildCounterVideoRecordingDetails++; | 4625 buildCounterVideoRecordingDetails++; |
| 4626 if (buildCounterVideoRecordingDetails < 3) { | 4626 if (buildCounterVideoRecordingDetails < 3) { |
| 4627 checkGeoPoint(o.location); | 4627 checkGeoPoint(o.location); |
| 4628 unittest.expect(o.locationDescription, unittest.equals('foo')); | 4628 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 4629 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 4629 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 4630 } | 4630 } |
| 4631 buildCounterVideoRecordingDetails--; | 4631 buildCounterVideoRecordingDetails--; |
| 4632 } | 4632 } |
| 4633 | 4633 |
| 4634 buildUnnamed645() { | 4634 buildUnnamed2240() { |
| 4635 var o = new core.List<core.String>(); | 4635 var o = new core.List<core.String>(); |
| 4636 o.add("foo"); | 4636 o.add("foo"); |
| 4637 o.add("foo"); | 4637 o.add("foo"); |
| 4638 return o; | 4638 return o; |
| 4639 } | 4639 } |
| 4640 | 4640 |
| 4641 checkUnnamed645(core.List<core.String> o) { | 4641 checkUnnamed2240(core.List<core.String> o) { |
| 4642 unittest.expect(o, unittest.hasLength(2)); | 4642 unittest.expect(o, unittest.hasLength(2)); |
| 4643 unittest.expect(o[0], unittest.equals('foo')); | 4643 unittest.expect(o[0], unittest.equals('foo')); |
| 4644 unittest.expect(o[1], unittest.equals('foo')); | 4644 unittest.expect(o[1], unittest.equals('foo')); |
| 4645 } | 4645 } |
| 4646 | 4646 |
| 4647 core.int buildCounterVideoSnippet = 0; | 4647 core.int buildCounterVideoSnippet = 0; |
| 4648 buildVideoSnippet() { | 4648 buildVideoSnippet() { |
| 4649 var o = new api.VideoSnippet(); | 4649 var o = new api.VideoSnippet(); |
| 4650 buildCounterVideoSnippet++; | 4650 buildCounterVideoSnippet++; |
| 4651 if (buildCounterVideoSnippet < 3) { | 4651 if (buildCounterVideoSnippet < 3) { |
| 4652 o.categoryId = "foo"; | 4652 o.categoryId = "foo"; |
| 4653 o.channelId = "foo"; | 4653 o.channelId = "foo"; |
| 4654 o.channelTitle = "foo"; | 4654 o.channelTitle = "foo"; |
| 4655 o.defaultAudioLanguage = "foo"; | 4655 o.defaultAudioLanguage = "foo"; |
| 4656 o.defaultLanguage = "foo"; | 4656 o.defaultLanguage = "foo"; |
| 4657 o.description = "foo"; | 4657 o.description = "foo"; |
| 4658 o.liveBroadcastContent = "foo"; | 4658 o.liveBroadcastContent = "foo"; |
| 4659 o.localized = buildVideoLocalization(); | 4659 o.localized = buildVideoLocalization(); |
| 4660 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 4660 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 4661 o.tags = buildUnnamed645(); | 4661 o.tags = buildUnnamed2240(); |
| 4662 o.thumbnails = buildThumbnailDetails(); | 4662 o.thumbnails = buildThumbnailDetails(); |
| 4663 o.title = "foo"; | 4663 o.title = "foo"; |
| 4664 } | 4664 } |
| 4665 buildCounterVideoSnippet--; | 4665 buildCounterVideoSnippet--; |
| 4666 return o; | 4666 return o; |
| 4667 } | 4667 } |
| 4668 | 4668 |
| 4669 checkVideoSnippet(api.VideoSnippet o) { | 4669 checkVideoSnippet(api.VideoSnippet o) { |
| 4670 buildCounterVideoSnippet++; | 4670 buildCounterVideoSnippet++; |
| 4671 if (buildCounterVideoSnippet < 3) { | 4671 if (buildCounterVideoSnippet < 3) { |
| 4672 unittest.expect(o.categoryId, unittest.equals('foo')); | 4672 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 4673 unittest.expect(o.channelId, unittest.equals('foo')); | 4673 unittest.expect(o.channelId, unittest.equals('foo')); |
| 4674 unittest.expect(o.channelTitle, unittest.equals('foo')); | 4674 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 4675 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); | 4675 unittest.expect(o.defaultAudioLanguage, unittest.equals('foo')); |
| 4676 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 4676 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 4677 unittest.expect(o.description, unittest.equals('foo')); | 4677 unittest.expect(o.description, unittest.equals('foo')); |
| 4678 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 4678 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 4679 checkVideoLocalization(o.localized); | 4679 checkVideoLocalization(o.localized); |
| 4680 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 4680 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 4681 checkUnnamed645(o.tags); | 4681 checkUnnamed2240(o.tags); |
| 4682 checkThumbnailDetails(o.thumbnails); | 4682 checkThumbnailDetails(o.thumbnails); |
| 4683 unittest.expect(o.title, unittest.equals('foo')); | 4683 unittest.expect(o.title, unittest.equals('foo')); |
| 4684 } | 4684 } |
| 4685 buildCounterVideoSnippet--; | 4685 buildCounterVideoSnippet--; |
| 4686 } | 4686 } |
| 4687 | 4687 |
| 4688 core.int buildCounterVideoStatistics = 0; | 4688 core.int buildCounterVideoStatistics = 0; |
| 4689 buildVideoStatistics() { | 4689 buildVideoStatistics() { |
| 4690 var o = new api.VideoStatistics(); | 4690 var o = new api.VideoStatistics(); |
| 4691 buildCounterVideoStatistics++; | 4691 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4738 unittest.expect(o.license, unittest.equals('foo')); | 4738 unittest.expect(o.license, unittest.equals('foo')); |
| 4739 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 4739 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 4740 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 4740 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 4741 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 4741 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 4742 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 4742 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 4743 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 4743 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 4744 } | 4744 } |
| 4745 buildCounterVideoStatus--; | 4745 buildCounterVideoStatus--; |
| 4746 } | 4746 } |
| 4747 | 4747 |
| 4748 buildUnnamed646() { | 4748 buildUnnamed2241() { |
| 4749 var o = new core.List<core.String>(); | 4749 var o = new core.List<core.String>(); |
| 4750 o.add("foo"); | 4750 o.add("foo"); |
| 4751 o.add("foo"); | 4751 o.add("foo"); |
| 4752 return o; | 4752 return o; |
| 4753 } | 4753 } |
| 4754 | 4754 |
| 4755 checkUnnamed646(core.List<core.String> o) { | 4755 checkUnnamed2241(core.List<core.String> o) { |
| 4756 unittest.expect(o, unittest.hasLength(2)); | 4756 unittest.expect(o, unittest.hasLength(2)); |
| 4757 unittest.expect(o[0], unittest.equals('foo')); | 4757 unittest.expect(o[0], unittest.equals('foo')); |
| 4758 unittest.expect(o[1], unittest.equals('foo')); | 4758 unittest.expect(o[1], unittest.equals('foo')); |
| 4759 } | 4759 } |
| 4760 | 4760 |
| 4761 buildUnnamed647() { | 4761 buildUnnamed2242() { |
| 4762 var o = new core.List<core.String>(); | 4762 var o = new core.List<core.String>(); |
| 4763 o.add("foo"); | 4763 o.add("foo"); |
| 4764 o.add("foo"); | 4764 o.add("foo"); |
| 4765 return o; | 4765 return o; |
| 4766 } | 4766 } |
| 4767 | 4767 |
| 4768 checkUnnamed647(core.List<core.String> o) { | 4768 checkUnnamed2242(core.List<core.String> o) { |
| 4769 unittest.expect(o, unittest.hasLength(2)); | 4769 unittest.expect(o, unittest.hasLength(2)); |
| 4770 unittest.expect(o[0], unittest.equals('foo')); | 4770 unittest.expect(o[0], unittest.equals('foo')); |
| 4771 unittest.expect(o[1], unittest.equals('foo')); | 4771 unittest.expect(o[1], unittest.equals('foo')); |
| 4772 } | 4772 } |
| 4773 | 4773 |
| 4774 buildUnnamed648() { | 4774 buildUnnamed2243() { |
| 4775 var o = new core.List<core.String>(); | 4775 var o = new core.List<core.String>(); |
| 4776 o.add("foo"); | 4776 o.add("foo"); |
| 4777 o.add("foo"); | 4777 o.add("foo"); |
| 4778 return o; | 4778 return o; |
| 4779 } | 4779 } |
| 4780 | 4780 |
| 4781 checkUnnamed648(core.List<core.String> o) { | 4781 checkUnnamed2243(core.List<core.String> o) { |
| 4782 unittest.expect(o, unittest.hasLength(2)); | 4782 unittest.expect(o, unittest.hasLength(2)); |
| 4783 unittest.expect(o[0], unittest.equals('foo')); | 4783 unittest.expect(o[0], unittest.equals('foo')); |
| 4784 unittest.expect(o[1], unittest.equals('foo')); | 4784 unittest.expect(o[1], unittest.equals('foo')); |
| 4785 } | 4785 } |
| 4786 | 4786 |
| 4787 buildUnnamed649() { | 4787 buildUnnamed2244() { |
| 4788 var o = new core.List<core.String>(); | 4788 var o = new core.List<core.String>(); |
| 4789 o.add("foo"); | 4789 o.add("foo"); |
| 4790 o.add("foo"); | 4790 o.add("foo"); |
| 4791 return o; | 4791 return o; |
| 4792 } | 4792 } |
| 4793 | 4793 |
| 4794 checkUnnamed649(core.List<core.String> o) { | 4794 checkUnnamed2244(core.List<core.String> o) { |
| 4795 unittest.expect(o, unittest.hasLength(2)); | 4795 unittest.expect(o, unittest.hasLength(2)); |
| 4796 unittest.expect(o[0], unittest.equals('foo')); | 4796 unittest.expect(o[0], unittest.equals('foo')); |
| 4797 unittest.expect(o[1], unittest.equals('foo')); | 4797 unittest.expect(o[1], unittest.equals('foo')); |
| 4798 } | 4798 } |
| 4799 | 4799 |
| 4800 buildUnnamed650() { | 4800 buildUnnamed2245() { |
| 4801 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 4801 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 4802 o.add(buildVideoSuggestionsTagSuggestion()); | 4802 o.add(buildVideoSuggestionsTagSuggestion()); |
| 4803 o.add(buildVideoSuggestionsTagSuggestion()); | 4803 o.add(buildVideoSuggestionsTagSuggestion()); |
| 4804 return o; | 4804 return o; |
| 4805 } | 4805 } |
| 4806 | 4806 |
| 4807 checkUnnamed650(core.List<api.VideoSuggestionsTagSuggestion> o) { | 4807 checkUnnamed2245(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 4808 unittest.expect(o, unittest.hasLength(2)); | 4808 unittest.expect(o, unittest.hasLength(2)); |
| 4809 checkVideoSuggestionsTagSuggestion(o[0]); | 4809 checkVideoSuggestionsTagSuggestion(o[0]); |
| 4810 checkVideoSuggestionsTagSuggestion(o[1]); | 4810 checkVideoSuggestionsTagSuggestion(o[1]); |
| 4811 } | 4811 } |
| 4812 | 4812 |
| 4813 core.int buildCounterVideoSuggestions = 0; | 4813 core.int buildCounterVideoSuggestions = 0; |
| 4814 buildVideoSuggestions() { | 4814 buildVideoSuggestions() { |
| 4815 var o = new api.VideoSuggestions(); | 4815 var o = new api.VideoSuggestions(); |
| 4816 buildCounterVideoSuggestions++; | 4816 buildCounterVideoSuggestions++; |
| 4817 if (buildCounterVideoSuggestions < 3) { | 4817 if (buildCounterVideoSuggestions < 3) { |
| 4818 o.editorSuggestions = buildUnnamed646(); | 4818 o.editorSuggestions = buildUnnamed2241(); |
| 4819 o.processingErrors = buildUnnamed647(); | 4819 o.processingErrors = buildUnnamed2242(); |
| 4820 o.processingHints = buildUnnamed648(); | 4820 o.processingHints = buildUnnamed2243(); |
| 4821 o.processingWarnings = buildUnnamed649(); | 4821 o.processingWarnings = buildUnnamed2244(); |
| 4822 o.tagSuggestions = buildUnnamed650(); | 4822 o.tagSuggestions = buildUnnamed2245(); |
| 4823 } | 4823 } |
| 4824 buildCounterVideoSuggestions--; | 4824 buildCounterVideoSuggestions--; |
| 4825 return o; | 4825 return o; |
| 4826 } | 4826 } |
| 4827 | 4827 |
| 4828 checkVideoSuggestions(api.VideoSuggestions o) { | 4828 checkVideoSuggestions(api.VideoSuggestions o) { |
| 4829 buildCounterVideoSuggestions++; | 4829 buildCounterVideoSuggestions++; |
| 4830 if (buildCounterVideoSuggestions < 3) { | 4830 if (buildCounterVideoSuggestions < 3) { |
| 4831 checkUnnamed646(o.editorSuggestions); | 4831 checkUnnamed2241(o.editorSuggestions); |
| 4832 checkUnnamed647(o.processingErrors); | 4832 checkUnnamed2242(o.processingErrors); |
| 4833 checkUnnamed648(o.processingHints); | 4833 checkUnnamed2243(o.processingHints); |
| 4834 checkUnnamed649(o.processingWarnings); | 4834 checkUnnamed2244(o.processingWarnings); |
| 4835 checkUnnamed650(o.tagSuggestions); | 4835 checkUnnamed2245(o.tagSuggestions); |
| 4836 } | 4836 } |
| 4837 buildCounterVideoSuggestions--; | 4837 buildCounterVideoSuggestions--; |
| 4838 } | 4838 } |
| 4839 | 4839 |
| 4840 buildUnnamed651() { | 4840 buildUnnamed2246() { |
| 4841 var o = new core.List<core.String>(); | 4841 var o = new core.List<core.String>(); |
| 4842 o.add("foo"); | 4842 o.add("foo"); |
| 4843 o.add("foo"); | 4843 o.add("foo"); |
| 4844 return o; | 4844 return o; |
| 4845 } | 4845 } |
| 4846 | 4846 |
| 4847 checkUnnamed651(core.List<core.String> o) { | 4847 checkUnnamed2246(core.List<core.String> o) { |
| 4848 unittest.expect(o, unittest.hasLength(2)); | 4848 unittest.expect(o, unittest.hasLength(2)); |
| 4849 unittest.expect(o[0], unittest.equals('foo')); | 4849 unittest.expect(o[0], unittest.equals('foo')); |
| 4850 unittest.expect(o[1], unittest.equals('foo')); | 4850 unittest.expect(o[1], unittest.equals('foo')); |
| 4851 } | 4851 } |
| 4852 | 4852 |
| 4853 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 4853 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 4854 buildVideoSuggestionsTagSuggestion() { | 4854 buildVideoSuggestionsTagSuggestion() { |
| 4855 var o = new api.VideoSuggestionsTagSuggestion(); | 4855 var o = new api.VideoSuggestionsTagSuggestion(); |
| 4856 buildCounterVideoSuggestionsTagSuggestion++; | 4856 buildCounterVideoSuggestionsTagSuggestion++; |
| 4857 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 4857 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 4858 o.categoryRestricts = buildUnnamed651(); | 4858 o.categoryRestricts = buildUnnamed2246(); |
| 4859 o.tag = "foo"; | 4859 o.tag = "foo"; |
| 4860 } | 4860 } |
| 4861 buildCounterVideoSuggestionsTagSuggestion--; | 4861 buildCounterVideoSuggestionsTagSuggestion--; |
| 4862 return o; | 4862 return o; |
| 4863 } | 4863 } |
| 4864 | 4864 |
| 4865 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 4865 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 4866 buildCounterVideoSuggestionsTagSuggestion++; | 4866 buildCounterVideoSuggestionsTagSuggestion++; |
| 4867 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 4867 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 4868 checkUnnamed651(o.categoryRestricts); | 4868 checkUnnamed2246(o.categoryRestricts); |
| 4869 unittest.expect(o.tag, unittest.equals('foo')); | 4869 unittest.expect(o.tag, unittest.equals('foo')); |
| 4870 } | 4870 } |
| 4871 buildCounterVideoSuggestionsTagSuggestion--; | 4871 buildCounterVideoSuggestionsTagSuggestion--; |
| 4872 } | 4872 } |
| 4873 | 4873 |
| 4874 buildUnnamed652() { | 4874 buildUnnamed2247() { |
| 4875 var o = new core.List<core.String>(); | 4875 var o = new core.List<core.String>(); |
| 4876 o.add("foo"); | 4876 o.add("foo"); |
| 4877 o.add("foo"); | 4877 o.add("foo"); |
| 4878 return o; | 4878 return o; |
| 4879 } | 4879 } |
| 4880 | 4880 |
| 4881 checkUnnamed652(core.List<core.String> o) { | 4881 checkUnnamed2247(core.List<core.String> o) { |
| 4882 unittest.expect(o, unittest.hasLength(2)); | 4882 unittest.expect(o, unittest.hasLength(2)); |
| 4883 unittest.expect(o[0], unittest.equals('foo')); | 4883 unittest.expect(o[0], unittest.equals('foo')); |
| 4884 unittest.expect(o[1], unittest.equals('foo')); | 4884 unittest.expect(o[1], unittest.equals('foo')); |
| 4885 } | 4885 } |
| 4886 | 4886 |
| 4887 buildUnnamed653() { | 4887 buildUnnamed2248() { |
| 4888 var o = new core.List<core.String>(); | 4888 var o = new core.List<core.String>(); |
| 4889 o.add("foo"); | 4889 o.add("foo"); |
| 4890 o.add("foo"); | 4890 o.add("foo"); |
| 4891 return o; | 4891 return o; |
| 4892 } | 4892 } |
| 4893 | 4893 |
| 4894 checkUnnamed653(core.List<core.String> o) { | 4894 checkUnnamed2248(core.List<core.String> o) { |
| 4895 unittest.expect(o, unittest.hasLength(2)); | 4895 unittest.expect(o, unittest.hasLength(2)); |
| 4896 unittest.expect(o[0], unittest.equals('foo')); | 4896 unittest.expect(o[0], unittest.equals('foo')); |
| 4897 unittest.expect(o[1], unittest.equals('foo')); | 4897 unittest.expect(o[1], unittest.equals('foo')); |
| 4898 } | 4898 } |
| 4899 | 4899 |
| 4900 core.int buildCounterVideoTopicDetails = 0; | 4900 core.int buildCounterVideoTopicDetails = 0; |
| 4901 buildVideoTopicDetails() { | 4901 buildVideoTopicDetails() { |
| 4902 var o = new api.VideoTopicDetails(); | 4902 var o = new api.VideoTopicDetails(); |
| 4903 buildCounterVideoTopicDetails++; | 4903 buildCounterVideoTopicDetails++; |
| 4904 if (buildCounterVideoTopicDetails < 3) { | 4904 if (buildCounterVideoTopicDetails < 3) { |
| 4905 o.relevantTopicIds = buildUnnamed652(); | 4905 o.relevantTopicIds = buildUnnamed2247(); |
| 4906 o.topicIds = buildUnnamed653(); | 4906 o.topicIds = buildUnnamed2248(); |
| 4907 } | 4907 } |
| 4908 buildCounterVideoTopicDetails--; | 4908 buildCounterVideoTopicDetails--; |
| 4909 return o; | 4909 return o; |
| 4910 } | 4910 } |
| 4911 | 4911 |
| 4912 checkVideoTopicDetails(api.VideoTopicDetails o) { | 4912 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 4913 buildCounterVideoTopicDetails++; | 4913 buildCounterVideoTopicDetails++; |
| 4914 if (buildCounterVideoTopicDetails < 3) { | 4914 if (buildCounterVideoTopicDetails < 3) { |
| 4915 checkUnnamed652(o.relevantTopicIds); | 4915 checkUnnamed2247(o.relevantTopicIds); |
| 4916 checkUnnamed653(o.topicIds); | 4916 checkUnnamed2248(o.topicIds); |
| 4917 } | 4917 } |
| 4918 buildCounterVideoTopicDetails--; | 4918 buildCounterVideoTopicDetails--; |
| 4919 } | 4919 } |
| 4920 | 4920 |
| 4921 core.int buildCounterWatchSettings = 0; | 4921 core.int buildCounterWatchSettings = 0; |
| 4922 buildWatchSettings() { | 4922 buildWatchSettings() { |
| 4923 var o = new api.WatchSettings(); | 4923 var o = new api.WatchSettings(); |
| 4924 buildCounterWatchSettings++; | 4924 buildCounterWatchSettings++; |
| 4925 if (buildCounterWatchSettings < 3) { | 4925 if (buildCounterWatchSettings < 3) { |
| 4926 o.backgroundColor = "foo"; | 4926 o.backgroundColor = "foo"; |
| (...skipping 2872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7799 "content-type" : "application/json; charset=utf-8", | 7799 "content-type" : "application/json; charset=utf-8", |
| 7800 }; | 7800 }; |
| 7801 var resp = convert.JSON.encode(buildLiveBroadcast()); | 7801 var resp = convert.JSON.encode(buildLiveBroadcast()); |
| 7802 return new async.Future.value(stringResponse(200, h, resp)); | 7802 return new async.Future.value(stringResponse(200, h, resp)); |
| 7803 }), true); | 7803 }), true); |
| 7804 res.bind(arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOw
ner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, streamId:
arg_streamId).then(unittest.expectAsync(((api.LiveBroadcast response) { | 7804 res.bind(arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfContentOw
ner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, streamId:
arg_streamId).then(unittest.expectAsync(((api.LiveBroadcast response) { |
| 7805 checkLiveBroadcast(response); | 7805 checkLiveBroadcast(response); |
| 7806 }))); | 7806 }))); |
| 7807 }); | 7807 }); |
| 7808 | 7808 |
| 7809 unittest.test("method--bindDirect", () { |
| 7810 |
| 7811 var mock = new HttpServerMock(); |
| 7812 api.LiveBroadcastsResourceApi res = new api.YoutubeApi(mock).liveBroadcast
s; |
| 7813 var arg_id = "foo"; |
| 7814 var arg_part = "foo"; |
| 7815 var arg_onBehalfOfContentOwner = "foo"; |
| 7816 var arg_onBehalfOfContentOwnerChannel = "foo"; |
| 7817 var arg_streamId = "foo"; |
| 7818 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 7819 var path = (req.url).path; |
| 7820 var pathOffset = 0; |
| 7821 var index; |
| 7822 var subPart; |
| 7823 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 7824 pathOffset += 1; |
| 7825 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("youtube/v3/")); |
| 7826 pathOffset += 11; |
| 7827 unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.eq
uals("liveBroadcasts/bind/direct")); |
| 7828 pathOffset += 26; |
| 7829 |
| 7830 var query = (req.url).query; |
| 7831 var queryOffset = 0; |
| 7832 var queryMap = {}; |
| 7833 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 7834 parseBool(n) { |
| 7835 if (n == "true") return true; |
| 7836 if (n == "false") return false; |
| 7837 if (n == null) return null; |
| 7838 throw new core.ArgumentError("Invalid boolean: $n"); |
| 7839 } |
| 7840 if (query.length > 0) { |
| 7841 for (var part in query.split("&")) { |
| 7842 var keyvalue = part.split("="); |
| 7843 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 7844 } |
| 7845 } |
| 7846 unittest.expect(queryMap["id"].first, unittest.equals(arg_id)); |
| 7847 unittest.expect(queryMap["part"].first, unittest.equals(arg_part)); |
| 7848 unittest.expect(queryMap["onBehalfOfContentOwner"].first, unittest.equal
s(arg_onBehalfOfContentOwner)); |
| 7849 unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first, unittes
t.equals(arg_onBehalfOfContentOwnerChannel)); |
| 7850 unittest.expect(queryMap["streamId"].first, unittest.equals(arg_streamId
)); |
| 7851 |
| 7852 |
| 7853 var h = { |
| 7854 "content-type" : "application/json; charset=utf-8", |
| 7855 }; |
| 7856 var resp = convert.JSON.encode(buildLiveBroadcast()); |
| 7857 return new async.Future.value(stringResponse(200, h, resp)); |
| 7858 }), true); |
| 7859 res.bindDirect(arg_id, arg_part, onBehalfOfContentOwner: arg_onBehalfOfCon
tentOwner, onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel, str
eamId: arg_streamId).then(unittest.expectAsync(((api.LiveBroadcast response) { |
| 7860 checkLiveBroadcast(response); |
| 7861 }))); |
| 7862 }); |
| 7863 |
| 7809 unittest.test("method--control", () { | 7864 unittest.test("method--control", () { |
| 7810 | 7865 |
| 7811 var mock = new HttpServerMock(); | 7866 var mock = new HttpServerMock(); |
| 7812 api.LiveBroadcastsResourceApi res = new api.YoutubeApi(mock).liveBroadcast
s; | 7867 api.LiveBroadcastsResourceApi res = new api.YoutubeApi(mock).liveBroadcast
s; |
| 7813 var arg_id = "foo"; | 7868 var arg_id = "foo"; |
| 7814 var arg_part = "foo"; | 7869 var arg_part = "foo"; |
| 7815 var arg_displaySlate = true; | 7870 var arg_displaySlate = true; |
| 7816 var arg_offsetTimeMs = "foo"; | 7871 var arg_offsetTimeMs = "foo"; |
| 7817 var arg_onBehalfOfContentOwner = "foo"; | 7872 var arg_onBehalfOfContentOwner = "foo"; |
| 7818 var arg_onBehalfOfContentOwnerChannel = "foo"; | 7873 var arg_onBehalfOfContentOwnerChannel = "foo"; |
| (...skipping 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9722 return new async.Future.value(stringResponse(200, h, resp)); | 9777 return new async.Future.value(stringResponse(200, h, resp)); |
| 9723 }), true); | 9778 }), true); |
| 9724 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 9779 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 9725 }); | 9780 }); |
| 9726 | 9781 |
| 9727 }); | 9782 }); |
| 9728 | 9783 |
| 9729 | 9784 |
| 9730 } | 9785 } |
| 9731 | 9786 |
| OLD | NEW |