| 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; |
| 11 import 'package:googleapis/common/common.dart' as common; | 11 import 'package:googleapis/common/common.dart' as common; |
| 12 import 'package:googleapis/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis/src/common_internal.dart' as common_internal; |
| 13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
| 14 | 14 |
| 15 import 'package:googleapis/youtube/v3.dart' as api; | 15 import 'package:googleapis/youtube/v3.dart' as api; |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 buildUnnamed1136() { | 19 buildUnnamed359() { |
| 20 var o = new core.List<core.String>(); | 20 var o = new core.List<core.String>(); |
| 21 o.add("foo"); | 21 o.add("foo"); |
| 22 o.add("foo"); | 22 o.add("foo"); |
| 23 return o; | 23 return o; |
| 24 } | 24 } |
| 25 | 25 |
| 26 checkUnnamed1136(core.List<core.String> o) { | 26 checkUnnamed359(core.List<core.String> o) { |
| 27 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
| 28 unittest.expect(o[0], unittest.equals('foo')); | 28 unittest.expect(o[0], unittest.equals('foo')); |
| 29 unittest.expect(o[1], unittest.equals('foo')); | 29 unittest.expect(o[1], unittest.equals('foo')); |
| 30 } | 30 } |
| 31 | 31 |
| 32 core.int buildCounterAccessPolicy = 0; | 32 core.int buildCounterAccessPolicy = 0; |
| 33 buildAccessPolicy() { | 33 buildAccessPolicy() { |
| 34 var o = new api.AccessPolicy(); | 34 var o = new api.AccessPolicy(); |
| 35 buildCounterAccessPolicy++; | 35 buildCounterAccessPolicy++; |
| 36 if (buildCounterAccessPolicy < 3) { | 36 if (buildCounterAccessPolicy < 3) { |
| 37 o.allowed = true; | 37 o.allowed = true; |
| 38 o.exception = buildUnnamed1136(); | 38 o.exception = buildUnnamed359(); |
| 39 } | 39 } |
| 40 buildCounterAccessPolicy--; | 40 buildCounterAccessPolicy--; |
| 41 return o; | 41 return o; |
| 42 } | 42 } |
| 43 | 43 |
| 44 checkAccessPolicy(api.AccessPolicy o) { | 44 checkAccessPolicy(api.AccessPolicy o) { |
| 45 buildCounterAccessPolicy++; | 45 buildCounterAccessPolicy++; |
| 46 if (buildCounterAccessPolicy < 3) { | 46 if (buildCounterAccessPolicy < 3) { |
| 47 unittest.expect(o.allowed, unittest.isTrue); | 47 unittest.expect(o.allowed, unittest.isTrue); |
| 48 checkUnnamed1136(o.exception); | 48 checkUnnamed359(o.exception); |
| 49 } | 49 } |
| 50 buildCounterAccessPolicy--; | 50 buildCounterAccessPolicy--; |
| 51 } | 51 } |
| 52 | 52 |
| 53 core.int buildCounterActivity = 0; | 53 core.int buildCounterActivity = 0; |
| 54 buildActivity() { | 54 buildActivity() { |
| 55 var o = new api.Activity(); | 55 var o = new api.Activity(); |
| 56 buildCounterActivity++; | 56 buildCounterActivity++; |
| 57 if (buildCounterActivity < 3) { | 57 if (buildCounterActivity < 3) { |
| 58 o.contentDetails = buildActivityContentDetails(); | 58 o.contentDetails = buildActivityContentDetails(); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { | 227 checkActivityContentDetailsPlaylistItem(api.ActivityContentDetailsPlaylistItem o
) { |
| 228 buildCounterActivityContentDetailsPlaylistItem++; | 228 buildCounterActivityContentDetailsPlaylistItem++; |
| 229 if (buildCounterActivityContentDetailsPlaylistItem < 3) { | 229 if (buildCounterActivityContentDetailsPlaylistItem < 3) { |
| 230 unittest.expect(o.playlistId, unittest.equals('foo')); | 230 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 231 unittest.expect(o.playlistItemId, unittest.equals('foo')); | 231 unittest.expect(o.playlistItemId, unittest.equals('foo')); |
| 232 checkResourceId(o.resourceId); | 232 checkResourceId(o.resourceId); |
| 233 } | 233 } |
| 234 buildCounterActivityContentDetailsPlaylistItem--; | 234 buildCounterActivityContentDetailsPlaylistItem--; |
| 235 } | 235 } |
| 236 | 236 |
| 237 buildUnnamed1137() { | 237 buildUnnamed360() { |
| 238 var o = new core.List<core.String>(); | 238 var o = new core.List<core.String>(); |
| 239 o.add("foo"); | 239 o.add("foo"); |
| 240 o.add("foo"); | 240 o.add("foo"); |
| 241 return o; | 241 return o; |
| 242 } | 242 } |
| 243 | 243 |
| 244 checkUnnamed1137(core.List<core.String> o) { | 244 checkUnnamed360(core.List<core.String> o) { |
| 245 unittest.expect(o, unittest.hasLength(2)); | 245 unittest.expect(o, unittest.hasLength(2)); |
| 246 unittest.expect(o[0], unittest.equals('foo')); | 246 unittest.expect(o[0], unittest.equals('foo')); |
| 247 unittest.expect(o[1], unittest.equals('foo')); | 247 unittest.expect(o[1], unittest.equals('foo')); |
| 248 } | 248 } |
| 249 | 249 |
| 250 buildUnnamed1138() { | 250 buildUnnamed361() { |
| 251 var o = new core.List<core.String>(); | 251 var o = new core.List<core.String>(); |
| 252 o.add("foo"); | 252 o.add("foo"); |
| 253 o.add("foo"); | 253 o.add("foo"); |
| 254 return o; | 254 return o; |
| 255 } | 255 } |
| 256 | 256 |
| 257 checkUnnamed1138(core.List<core.String> o) { | 257 checkUnnamed361(core.List<core.String> o) { |
| 258 unittest.expect(o, unittest.hasLength(2)); | 258 unittest.expect(o, unittest.hasLength(2)); |
| 259 unittest.expect(o[0], unittest.equals('foo')); | 259 unittest.expect(o[0], unittest.equals('foo')); |
| 260 unittest.expect(o[1], unittest.equals('foo')); | 260 unittest.expect(o[1], unittest.equals('foo')); |
| 261 } | 261 } |
| 262 | 262 |
| 263 core.int buildCounterActivityContentDetailsPromotedItem = 0; | 263 core.int buildCounterActivityContentDetailsPromotedItem = 0; |
| 264 buildActivityContentDetailsPromotedItem() { | 264 buildActivityContentDetailsPromotedItem() { |
| 265 var o = new api.ActivityContentDetailsPromotedItem(); | 265 var o = new api.ActivityContentDetailsPromotedItem(); |
| 266 buildCounterActivityContentDetailsPromotedItem++; | 266 buildCounterActivityContentDetailsPromotedItem++; |
| 267 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 267 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
| 268 o.adTag = "foo"; | 268 o.adTag = "foo"; |
| 269 o.clickTrackingUrl = "foo"; | 269 o.clickTrackingUrl = "foo"; |
| 270 o.creativeViewUrl = "foo"; | 270 o.creativeViewUrl = "foo"; |
| 271 o.ctaType = "foo"; | 271 o.ctaType = "foo"; |
| 272 o.customCtaButtonText = "foo"; | 272 o.customCtaButtonText = "foo"; |
| 273 o.descriptionText = "foo"; | 273 o.descriptionText = "foo"; |
| 274 o.destinationUrl = "foo"; | 274 o.destinationUrl = "foo"; |
| 275 o.forecastingUrl = buildUnnamed1137(); | 275 o.forecastingUrl = buildUnnamed360(); |
| 276 o.impressionUrl = buildUnnamed1138(); | 276 o.impressionUrl = buildUnnamed361(); |
| 277 o.videoId = "foo"; | 277 o.videoId = "foo"; |
| 278 } | 278 } |
| 279 buildCounterActivityContentDetailsPromotedItem--; | 279 buildCounterActivityContentDetailsPromotedItem--; |
| 280 return o; | 280 return o; |
| 281 } | 281 } |
| 282 | 282 |
| 283 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { | 283 checkActivityContentDetailsPromotedItem(api.ActivityContentDetailsPromotedItem o
) { |
| 284 buildCounterActivityContentDetailsPromotedItem++; | 284 buildCounterActivityContentDetailsPromotedItem++; |
| 285 if (buildCounterActivityContentDetailsPromotedItem < 3) { | 285 if (buildCounterActivityContentDetailsPromotedItem < 3) { |
| 286 unittest.expect(o.adTag, unittest.equals('foo')); | 286 unittest.expect(o.adTag, unittest.equals('foo')); |
| 287 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); | 287 unittest.expect(o.clickTrackingUrl, unittest.equals('foo')); |
| 288 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); | 288 unittest.expect(o.creativeViewUrl, unittest.equals('foo')); |
| 289 unittest.expect(o.ctaType, unittest.equals('foo')); | 289 unittest.expect(o.ctaType, unittest.equals('foo')); |
| 290 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); | 290 unittest.expect(o.customCtaButtonText, unittest.equals('foo')); |
| 291 unittest.expect(o.descriptionText, unittest.equals('foo')); | 291 unittest.expect(o.descriptionText, unittest.equals('foo')); |
| 292 unittest.expect(o.destinationUrl, unittest.equals('foo')); | 292 unittest.expect(o.destinationUrl, unittest.equals('foo')); |
| 293 checkUnnamed1137(o.forecastingUrl); | 293 checkUnnamed360(o.forecastingUrl); |
| 294 checkUnnamed1138(o.impressionUrl); | 294 checkUnnamed361(o.impressionUrl); |
| 295 unittest.expect(o.videoId, unittest.equals('foo')); | 295 unittest.expect(o.videoId, unittest.equals('foo')); |
| 296 } | 296 } |
| 297 buildCounterActivityContentDetailsPromotedItem--; | 297 buildCounterActivityContentDetailsPromotedItem--; |
| 298 } | 298 } |
| 299 | 299 |
| 300 core.int buildCounterActivityContentDetailsRecommendation = 0; | 300 core.int buildCounterActivityContentDetailsRecommendation = 0; |
| 301 buildActivityContentDetailsRecommendation() { | 301 buildActivityContentDetailsRecommendation() { |
| 302 var o = new api.ActivityContentDetailsRecommendation(); | 302 var o = new api.ActivityContentDetailsRecommendation(); |
| 303 buildCounterActivityContentDetailsRecommendation++; | 303 buildCounterActivityContentDetailsRecommendation++; |
| 304 if (buildCounterActivityContentDetailsRecommendation < 3) { | 304 if (buildCounterActivityContentDetailsRecommendation < 3) { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 } | 378 } |
| 379 | 379 |
| 380 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { | 380 checkActivityContentDetailsUpload(api.ActivityContentDetailsUpload o) { |
| 381 buildCounterActivityContentDetailsUpload++; | 381 buildCounterActivityContentDetailsUpload++; |
| 382 if (buildCounterActivityContentDetailsUpload < 3) { | 382 if (buildCounterActivityContentDetailsUpload < 3) { |
| 383 unittest.expect(o.videoId, unittest.equals('foo')); | 383 unittest.expect(o.videoId, unittest.equals('foo')); |
| 384 } | 384 } |
| 385 buildCounterActivityContentDetailsUpload--; | 385 buildCounterActivityContentDetailsUpload--; |
| 386 } | 386 } |
| 387 | 387 |
| 388 buildUnnamed1139() { | 388 buildUnnamed362() { |
| 389 var o = new core.List<api.Activity>(); | 389 var o = new core.List<api.Activity>(); |
| 390 o.add(buildActivity()); | 390 o.add(buildActivity()); |
| 391 o.add(buildActivity()); | 391 o.add(buildActivity()); |
| 392 return o; | 392 return o; |
| 393 } | 393 } |
| 394 | 394 |
| 395 checkUnnamed1139(core.List<api.Activity> o) { | 395 checkUnnamed362(core.List<api.Activity> o) { |
| 396 unittest.expect(o, unittest.hasLength(2)); | 396 unittest.expect(o, unittest.hasLength(2)); |
| 397 checkActivity(o[0]); | 397 checkActivity(o[0]); |
| 398 checkActivity(o[1]); | 398 checkActivity(o[1]); |
| 399 } | 399 } |
| 400 | 400 |
| 401 core.int buildCounterActivityListResponse = 0; | 401 core.int buildCounterActivityListResponse = 0; |
| 402 buildActivityListResponse() { | 402 buildActivityListResponse() { |
| 403 var o = new api.ActivityListResponse(); | 403 var o = new api.ActivityListResponse(); |
| 404 buildCounterActivityListResponse++; | 404 buildCounterActivityListResponse++; |
| 405 if (buildCounterActivityListResponse < 3) { | 405 if (buildCounterActivityListResponse < 3) { |
| 406 o.etag = "foo"; | 406 o.etag = "foo"; |
| 407 o.eventId = "foo"; | 407 o.eventId = "foo"; |
| 408 o.items = buildUnnamed1139(); | 408 o.items = buildUnnamed362(); |
| 409 o.kind = "foo"; | 409 o.kind = "foo"; |
| 410 o.nextPageToken = "foo"; | 410 o.nextPageToken = "foo"; |
| 411 o.pageInfo = buildPageInfo(); | 411 o.pageInfo = buildPageInfo(); |
| 412 o.prevPageToken = "foo"; | 412 o.prevPageToken = "foo"; |
| 413 o.tokenPagination = buildTokenPagination(); | 413 o.tokenPagination = buildTokenPagination(); |
| 414 o.visitorId = "foo"; | 414 o.visitorId = "foo"; |
| 415 } | 415 } |
| 416 buildCounterActivityListResponse--; | 416 buildCounterActivityListResponse--; |
| 417 return o; | 417 return o; |
| 418 } | 418 } |
| 419 | 419 |
| 420 checkActivityListResponse(api.ActivityListResponse o) { | 420 checkActivityListResponse(api.ActivityListResponse o) { |
| 421 buildCounterActivityListResponse++; | 421 buildCounterActivityListResponse++; |
| 422 if (buildCounterActivityListResponse < 3) { | 422 if (buildCounterActivityListResponse < 3) { |
| 423 unittest.expect(o.etag, unittest.equals('foo')); | 423 unittest.expect(o.etag, unittest.equals('foo')); |
| 424 unittest.expect(o.eventId, unittest.equals('foo')); | 424 unittest.expect(o.eventId, unittest.equals('foo')); |
| 425 checkUnnamed1139(o.items); | 425 checkUnnamed362(o.items); |
| 426 unittest.expect(o.kind, unittest.equals('foo')); | 426 unittest.expect(o.kind, unittest.equals('foo')); |
| 427 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 427 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 428 checkPageInfo(o.pageInfo); | 428 checkPageInfo(o.pageInfo); |
| 429 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 429 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 430 checkTokenPagination(o.tokenPagination); | 430 checkTokenPagination(o.tokenPagination); |
| 431 unittest.expect(o.visitorId, unittest.equals('foo')); | 431 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 432 } | 432 } |
| 433 buildCounterActivityListResponse--; | 433 buildCounterActivityListResponse--; |
| 434 } | 434 } |
| 435 | 435 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 checkCdnSettings(api.CdnSettings o) { | 482 checkCdnSettings(api.CdnSettings o) { |
| 483 buildCounterCdnSettings++; | 483 buildCounterCdnSettings++; |
| 484 if (buildCounterCdnSettings < 3) { | 484 if (buildCounterCdnSettings < 3) { |
| 485 unittest.expect(o.format, unittest.equals('foo')); | 485 unittest.expect(o.format, unittest.equals('foo')); |
| 486 checkIngestionInfo(o.ingestionInfo); | 486 checkIngestionInfo(o.ingestionInfo); |
| 487 unittest.expect(o.ingestionType, unittest.equals('foo')); | 487 unittest.expect(o.ingestionType, unittest.equals('foo')); |
| 488 } | 488 } |
| 489 buildCounterCdnSettings--; | 489 buildCounterCdnSettings--; |
| 490 } | 490 } |
| 491 | 491 |
| 492 buildUnnamed363() { |
| 493 var o = new core.Map<core.String, api.ChannelLocalization>(); |
| 494 o["x"] = buildChannelLocalization(); |
| 495 o["y"] = buildChannelLocalization(); |
| 496 return o; |
| 497 } |
| 498 |
| 499 checkUnnamed363(core.Map<core.String, api.ChannelLocalization> o) { |
| 500 unittest.expect(o, unittest.hasLength(2)); |
| 501 checkChannelLocalization(o["x"]); |
| 502 checkChannelLocalization(o["y"]); |
| 503 } |
| 504 |
| 492 core.int buildCounterChannel = 0; | 505 core.int buildCounterChannel = 0; |
| 493 buildChannel() { | 506 buildChannel() { |
| 494 var o = new api.Channel(); | 507 var o = new api.Channel(); |
| 495 buildCounterChannel++; | 508 buildCounterChannel++; |
| 496 if (buildCounterChannel < 3) { | 509 if (buildCounterChannel < 3) { |
| 497 o.auditDetails = buildChannelAuditDetails(); | 510 o.auditDetails = buildChannelAuditDetails(); |
| 498 o.brandingSettings = buildChannelBrandingSettings(); | 511 o.brandingSettings = buildChannelBrandingSettings(); |
| 499 o.contentDetails = buildChannelContentDetails(); | 512 o.contentDetails = buildChannelContentDetails(); |
| 500 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 513 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
| 501 o.conversionPings = buildChannelConversionPings(); | 514 o.conversionPings = buildChannelConversionPings(); |
| 502 o.etag = "foo"; | 515 o.etag = "foo"; |
| 503 o.id = "foo"; | 516 o.id = "foo"; |
| 504 o.invideoPromotion = buildInvideoPromotion(); | 517 o.invideoPromotion = buildInvideoPromotion(); |
| 505 o.kind = "foo"; | 518 o.kind = "foo"; |
| 519 o.localizations = buildUnnamed363(); |
| 506 o.snippet = buildChannelSnippet(); | 520 o.snippet = buildChannelSnippet(); |
| 507 o.statistics = buildChannelStatistics(); | 521 o.statistics = buildChannelStatistics(); |
| 508 o.status = buildChannelStatus(); | 522 o.status = buildChannelStatus(); |
| 509 o.topicDetails = buildChannelTopicDetails(); | 523 o.topicDetails = buildChannelTopicDetails(); |
| 510 } | 524 } |
| 511 buildCounterChannel--; | 525 buildCounterChannel--; |
| 512 return o; | 526 return o; |
| 513 } | 527 } |
| 514 | 528 |
| 515 checkChannel(api.Channel o) { | 529 checkChannel(api.Channel o) { |
| 516 buildCounterChannel++; | 530 buildCounterChannel++; |
| 517 if (buildCounterChannel < 3) { | 531 if (buildCounterChannel < 3) { |
| 518 checkChannelAuditDetails(o.auditDetails); | 532 checkChannelAuditDetails(o.auditDetails); |
| 519 checkChannelBrandingSettings(o.brandingSettings); | 533 checkChannelBrandingSettings(o.brandingSettings); |
| 520 checkChannelContentDetails(o.contentDetails); | 534 checkChannelContentDetails(o.contentDetails); |
| 521 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 535 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
| 522 checkChannelConversionPings(o.conversionPings); | 536 checkChannelConversionPings(o.conversionPings); |
| 523 unittest.expect(o.etag, unittest.equals('foo')); | 537 unittest.expect(o.etag, unittest.equals('foo')); |
| 524 unittest.expect(o.id, unittest.equals('foo')); | 538 unittest.expect(o.id, unittest.equals('foo')); |
| 525 checkInvideoPromotion(o.invideoPromotion); | 539 checkInvideoPromotion(o.invideoPromotion); |
| 526 unittest.expect(o.kind, unittest.equals('foo')); | 540 unittest.expect(o.kind, unittest.equals('foo')); |
| 541 checkUnnamed363(o.localizations); |
| 527 checkChannelSnippet(o.snippet); | 542 checkChannelSnippet(o.snippet); |
| 528 checkChannelStatistics(o.statistics); | 543 checkChannelStatistics(o.statistics); |
| 529 checkChannelStatus(o.status); | 544 checkChannelStatus(o.status); |
| 530 checkChannelTopicDetails(o.topicDetails); | 545 checkChannelTopicDetails(o.topicDetails); |
| 531 } | 546 } |
| 532 buildCounterChannel--; | 547 buildCounterChannel--; |
| 533 } | 548 } |
| 534 | 549 |
| 535 core.int buildCounterChannelAuditDetails = 0; | 550 core.int buildCounterChannelAuditDetails = 0; |
| 536 buildChannelAuditDetails() { | 551 buildChannelAuditDetails() { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 checkChannelBannerResource(api.ChannelBannerResource o) { | 588 checkChannelBannerResource(api.ChannelBannerResource o) { |
| 574 buildCounterChannelBannerResource++; | 589 buildCounterChannelBannerResource++; |
| 575 if (buildCounterChannelBannerResource < 3) { | 590 if (buildCounterChannelBannerResource < 3) { |
| 576 unittest.expect(o.etag, unittest.equals('foo')); | 591 unittest.expect(o.etag, unittest.equals('foo')); |
| 577 unittest.expect(o.kind, unittest.equals('foo')); | 592 unittest.expect(o.kind, unittest.equals('foo')); |
| 578 unittest.expect(o.url, unittest.equals('foo')); | 593 unittest.expect(o.url, unittest.equals('foo')); |
| 579 } | 594 } |
| 580 buildCounterChannelBannerResource--; | 595 buildCounterChannelBannerResource--; |
| 581 } | 596 } |
| 582 | 597 |
| 583 buildUnnamed1140() { | 598 buildUnnamed364() { |
| 584 var o = new core.List<api.PropertyValue>(); | 599 var o = new core.List<api.PropertyValue>(); |
| 585 o.add(buildPropertyValue()); | 600 o.add(buildPropertyValue()); |
| 586 o.add(buildPropertyValue()); | 601 o.add(buildPropertyValue()); |
| 587 return o; | 602 return o; |
| 588 } | 603 } |
| 589 | 604 |
| 590 checkUnnamed1140(core.List<api.PropertyValue> o) { | 605 checkUnnamed364(core.List<api.PropertyValue> o) { |
| 591 unittest.expect(o, unittest.hasLength(2)); | 606 unittest.expect(o, unittest.hasLength(2)); |
| 592 checkPropertyValue(o[0]); | 607 checkPropertyValue(o[0]); |
| 593 checkPropertyValue(o[1]); | 608 checkPropertyValue(o[1]); |
| 594 } | 609 } |
| 595 | 610 |
| 596 core.int buildCounterChannelBrandingSettings = 0; | 611 core.int buildCounterChannelBrandingSettings = 0; |
| 597 buildChannelBrandingSettings() { | 612 buildChannelBrandingSettings() { |
| 598 var o = new api.ChannelBrandingSettings(); | 613 var o = new api.ChannelBrandingSettings(); |
| 599 buildCounterChannelBrandingSettings++; | 614 buildCounterChannelBrandingSettings++; |
| 600 if (buildCounterChannelBrandingSettings < 3) { | 615 if (buildCounterChannelBrandingSettings < 3) { |
| 601 o.channel = buildChannelSettings(); | 616 o.channel = buildChannelSettings(); |
| 602 o.hints = buildUnnamed1140(); | 617 o.hints = buildUnnamed364(); |
| 603 o.image = buildImageSettings(); | 618 o.image = buildImageSettings(); |
| 604 o.watch = buildWatchSettings(); | 619 o.watch = buildWatchSettings(); |
| 605 } | 620 } |
| 606 buildCounterChannelBrandingSettings--; | 621 buildCounterChannelBrandingSettings--; |
| 607 return o; | 622 return o; |
| 608 } | 623 } |
| 609 | 624 |
| 610 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 625 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
| 611 buildCounterChannelBrandingSettings++; | 626 buildCounterChannelBrandingSettings++; |
| 612 if (buildCounterChannelBrandingSettings < 3) { | 627 if (buildCounterChannelBrandingSettings < 3) { |
| 613 checkChannelSettings(o.channel); | 628 checkChannelSettings(o.channel); |
| 614 checkUnnamed1140(o.hints); | 629 checkUnnamed364(o.hints); |
| 615 checkImageSettings(o.image); | 630 checkImageSettings(o.image); |
| 616 checkWatchSettings(o.watch); | 631 checkWatchSettings(o.watch); |
| 617 } | 632 } |
| 618 buildCounterChannelBrandingSettings--; | 633 buildCounterChannelBrandingSettings--; |
| 619 } | 634 } |
| 620 | 635 |
| 621 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 636 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
| 622 buildChannelContentDetailsRelatedPlaylists() { | 637 buildChannelContentDetailsRelatedPlaylists() { |
| 623 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 638 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
| 624 buildCounterChannelContentDetailsRelatedPlaylists++; | 639 buildCounterChannelContentDetailsRelatedPlaylists++; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 | 716 |
| 702 checkChannelConversionPing(api.ChannelConversionPing o) { | 717 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 703 buildCounterChannelConversionPing++; | 718 buildCounterChannelConversionPing++; |
| 704 if (buildCounterChannelConversionPing < 3) { | 719 if (buildCounterChannelConversionPing < 3) { |
| 705 unittest.expect(o.context, unittest.equals('foo')); | 720 unittest.expect(o.context, unittest.equals('foo')); |
| 706 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 721 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 707 } | 722 } |
| 708 buildCounterChannelConversionPing--; | 723 buildCounterChannelConversionPing--; |
| 709 } | 724 } |
| 710 | 725 |
| 711 buildUnnamed1141() { | 726 buildUnnamed365() { |
| 712 var o = new core.List<api.ChannelConversionPing>(); | 727 var o = new core.List<api.ChannelConversionPing>(); |
| 713 o.add(buildChannelConversionPing()); | 728 o.add(buildChannelConversionPing()); |
| 714 o.add(buildChannelConversionPing()); | 729 o.add(buildChannelConversionPing()); |
| 715 return o; | 730 return o; |
| 716 } | 731 } |
| 717 | 732 |
| 718 checkUnnamed1141(core.List<api.ChannelConversionPing> o) { | 733 checkUnnamed365(core.List<api.ChannelConversionPing> o) { |
| 719 unittest.expect(o, unittest.hasLength(2)); | 734 unittest.expect(o, unittest.hasLength(2)); |
| 720 checkChannelConversionPing(o[0]); | 735 checkChannelConversionPing(o[0]); |
| 721 checkChannelConversionPing(o[1]); | 736 checkChannelConversionPing(o[1]); |
| 722 } | 737 } |
| 723 | 738 |
| 724 core.int buildCounterChannelConversionPings = 0; | 739 core.int buildCounterChannelConversionPings = 0; |
| 725 buildChannelConversionPings() { | 740 buildChannelConversionPings() { |
| 726 var o = new api.ChannelConversionPings(); | 741 var o = new api.ChannelConversionPings(); |
| 727 buildCounterChannelConversionPings++; | 742 buildCounterChannelConversionPings++; |
| 728 if (buildCounterChannelConversionPings < 3) { | 743 if (buildCounterChannelConversionPings < 3) { |
| 729 o.pings = buildUnnamed1141(); | 744 o.pings = buildUnnamed365(); |
| 730 } | 745 } |
| 731 buildCounterChannelConversionPings--; | 746 buildCounterChannelConversionPings--; |
| 732 return o; | 747 return o; |
| 733 } | 748 } |
| 734 | 749 |
| 735 checkChannelConversionPings(api.ChannelConversionPings o) { | 750 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 736 buildCounterChannelConversionPings++; | 751 buildCounterChannelConversionPings++; |
| 737 if (buildCounterChannelConversionPings < 3) { | 752 if (buildCounterChannelConversionPings < 3) { |
| 738 checkUnnamed1141(o.pings); | 753 checkUnnamed365(o.pings); |
| 739 } | 754 } |
| 740 buildCounterChannelConversionPings--; | 755 buildCounterChannelConversionPings--; |
| 741 } | 756 } |
| 742 | 757 |
| 743 buildUnnamed1142() { | 758 buildUnnamed366() { |
| 744 var o = new core.List<api.Channel>(); | 759 var o = new core.List<api.Channel>(); |
| 745 o.add(buildChannel()); | 760 o.add(buildChannel()); |
| 746 o.add(buildChannel()); | 761 o.add(buildChannel()); |
| 747 return o; | 762 return o; |
| 748 } | 763 } |
| 749 | 764 |
| 750 checkUnnamed1142(core.List<api.Channel> o) { | 765 checkUnnamed366(core.List<api.Channel> o) { |
| 751 unittest.expect(o, unittest.hasLength(2)); | 766 unittest.expect(o, unittest.hasLength(2)); |
| 752 checkChannel(o[0]); | 767 checkChannel(o[0]); |
| 753 checkChannel(o[1]); | 768 checkChannel(o[1]); |
| 754 } | 769 } |
| 755 | 770 |
| 756 core.int buildCounterChannelListResponse = 0; | 771 core.int buildCounterChannelListResponse = 0; |
| 757 buildChannelListResponse() { | 772 buildChannelListResponse() { |
| 758 var o = new api.ChannelListResponse(); | 773 var o = new api.ChannelListResponse(); |
| 759 buildCounterChannelListResponse++; | 774 buildCounterChannelListResponse++; |
| 760 if (buildCounterChannelListResponse < 3) { | 775 if (buildCounterChannelListResponse < 3) { |
| 761 o.etag = "foo"; | 776 o.etag = "foo"; |
| 762 o.eventId = "foo"; | 777 o.eventId = "foo"; |
| 763 o.items = buildUnnamed1142(); | 778 o.items = buildUnnamed366(); |
| 764 o.kind = "foo"; | 779 o.kind = "foo"; |
| 765 o.nextPageToken = "foo"; | 780 o.nextPageToken = "foo"; |
| 766 o.pageInfo = buildPageInfo(); | 781 o.pageInfo = buildPageInfo(); |
| 767 o.prevPageToken = "foo"; | 782 o.prevPageToken = "foo"; |
| 768 o.tokenPagination = buildTokenPagination(); | 783 o.tokenPagination = buildTokenPagination(); |
| 769 o.visitorId = "foo"; | 784 o.visitorId = "foo"; |
| 770 } | 785 } |
| 771 buildCounterChannelListResponse--; | 786 buildCounterChannelListResponse--; |
| 772 return o; | 787 return o; |
| 773 } | 788 } |
| 774 | 789 |
| 775 checkChannelListResponse(api.ChannelListResponse o) { | 790 checkChannelListResponse(api.ChannelListResponse o) { |
| 776 buildCounterChannelListResponse++; | 791 buildCounterChannelListResponse++; |
| 777 if (buildCounterChannelListResponse < 3) { | 792 if (buildCounterChannelListResponse < 3) { |
| 778 unittest.expect(o.etag, unittest.equals('foo')); | 793 unittest.expect(o.etag, unittest.equals('foo')); |
| 779 unittest.expect(o.eventId, unittest.equals('foo')); | 794 unittest.expect(o.eventId, unittest.equals('foo')); |
| 780 checkUnnamed1142(o.items); | 795 checkUnnamed366(o.items); |
| 781 unittest.expect(o.kind, unittest.equals('foo')); | 796 unittest.expect(o.kind, unittest.equals('foo')); |
| 782 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 797 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 783 checkPageInfo(o.pageInfo); | 798 checkPageInfo(o.pageInfo); |
| 784 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 799 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 785 checkTokenPagination(o.tokenPagination); | 800 checkTokenPagination(o.tokenPagination); |
| 786 unittest.expect(o.visitorId, unittest.equals('foo')); | 801 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 787 } | 802 } |
| 788 buildCounterChannelListResponse--; | 803 buildCounterChannelListResponse--; |
| 789 } | 804 } |
| 790 | 805 |
| 806 core.int buildCounterChannelLocalization = 0; |
| 807 buildChannelLocalization() { |
| 808 var o = new api.ChannelLocalization(); |
| 809 buildCounterChannelLocalization++; |
| 810 if (buildCounterChannelLocalization < 3) { |
| 811 o.description = "foo"; |
| 812 o.title = "foo"; |
| 813 } |
| 814 buildCounterChannelLocalization--; |
| 815 return o; |
| 816 } |
| 817 |
| 818 checkChannelLocalization(api.ChannelLocalization o) { |
| 819 buildCounterChannelLocalization++; |
| 820 if (buildCounterChannelLocalization < 3) { |
| 821 unittest.expect(o.description, unittest.equals('foo')); |
| 822 unittest.expect(o.title, unittest.equals('foo')); |
| 823 } |
| 824 buildCounterChannelLocalization--; |
| 825 } |
| 826 |
| 791 core.int buildCounterChannelSection = 0; | 827 core.int buildCounterChannelSection = 0; |
| 792 buildChannelSection() { | 828 buildChannelSection() { |
| 793 var o = new api.ChannelSection(); | 829 var o = new api.ChannelSection(); |
| 794 buildCounterChannelSection++; | 830 buildCounterChannelSection++; |
| 795 if (buildCounterChannelSection < 3) { | 831 if (buildCounterChannelSection < 3) { |
| 796 o.contentDetails = buildChannelSectionContentDetails(); | 832 o.contentDetails = buildChannelSectionContentDetails(); |
| 797 o.etag = "foo"; | 833 o.etag = "foo"; |
| 798 o.id = "foo"; | 834 o.id = "foo"; |
| 799 o.kind = "foo"; | 835 o.kind = "foo"; |
| 800 o.snippet = buildChannelSectionSnippet(); | 836 o.snippet = buildChannelSectionSnippet(); |
| 801 } | 837 } |
| 802 buildCounterChannelSection--; | 838 buildCounterChannelSection--; |
| 803 return o; | 839 return o; |
| 804 } | 840 } |
| 805 | 841 |
| 806 checkChannelSection(api.ChannelSection o) { | 842 checkChannelSection(api.ChannelSection o) { |
| 807 buildCounterChannelSection++; | 843 buildCounterChannelSection++; |
| 808 if (buildCounterChannelSection < 3) { | 844 if (buildCounterChannelSection < 3) { |
| 809 checkChannelSectionContentDetails(o.contentDetails); | 845 checkChannelSectionContentDetails(o.contentDetails); |
| 810 unittest.expect(o.etag, unittest.equals('foo')); | 846 unittest.expect(o.etag, unittest.equals('foo')); |
| 811 unittest.expect(o.id, unittest.equals('foo')); | 847 unittest.expect(o.id, unittest.equals('foo')); |
| 812 unittest.expect(o.kind, unittest.equals('foo')); | 848 unittest.expect(o.kind, unittest.equals('foo')); |
| 813 checkChannelSectionSnippet(o.snippet); | 849 checkChannelSectionSnippet(o.snippet); |
| 814 } | 850 } |
| 815 buildCounterChannelSection--; | 851 buildCounterChannelSection--; |
| 816 } | 852 } |
| 817 | 853 |
| 818 buildUnnamed1143() { | 854 buildUnnamed367() { |
| 819 var o = new core.List<core.String>(); | 855 var o = new core.List<core.String>(); |
| 820 o.add("foo"); | 856 o.add("foo"); |
| 821 o.add("foo"); | 857 o.add("foo"); |
| 822 return o; | 858 return o; |
| 823 } | 859 } |
| 824 | 860 |
| 825 checkUnnamed1143(core.List<core.String> o) { | 861 checkUnnamed367(core.List<core.String> o) { |
| 826 unittest.expect(o, unittest.hasLength(2)); | 862 unittest.expect(o, unittest.hasLength(2)); |
| 827 unittest.expect(o[0], unittest.equals('foo')); | 863 unittest.expect(o[0], unittest.equals('foo')); |
| 828 unittest.expect(o[1], unittest.equals('foo')); | 864 unittest.expect(o[1], unittest.equals('foo')); |
| 829 } | 865 } |
| 830 | 866 |
| 831 buildUnnamed1144() { | 867 buildUnnamed368() { |
| 832 var o = new core.List<core.String>(); | 868 var o = new core.List<core.String>(); |
| 833 o.add("foo"); | 869 o.add("foo"); |
| 834 o.add("foo"); | 870 o.add("foo"); |
| 835 return o; | 871 return o; |
| 836 } | 872 } |
| 837 | 873 |
| 838 checkUnnamed1144(core.List<core.String> o) { | 874 checkUnnamed368(core.List<core.String> o) { |
| 839 unittest.expect(o, unittest.hasLength(2)); | 875 unittest.expect(o, unittest.hasLength(2)); |
| 840 unittest.expect(o[0], unittest.equals('foo')); | 876 unittest.expect(o[0], unittest.equals('foo')); |
| 841 unittest.expect(o[1], unittest.equals('foo')); | 877 unittest.expect(o[1], unittest.equals('foo')); |
| 842 } | 878 } |
| 843 | 879 |
| 844 core.int buildCounterChannelSectionContentDetails = 0; | 880 core.int buildCounterChannelSectionContentDetails = 0; |
| 845 buildChannelSectionContentDetails() { | 881 buildChannelSectionContentDetails() { |
| 846 var o = new api.ChannelSectionContentDetails(); | 882 var o = new api.ChannelSectionContentDetails(); |
| 847 buildCounterChannelSectionContentDetails++; | 883 buildCounterChannelSectionContentDetails++; |
| 848 if (buildCounterChannelSectionContentDetails < 3) { | 884 if (buildCounterChannelSectionContentDetails < 3) { |
| 849 o.channels = buildUnnamed1143(); | 885 o.channels = buildUnnamed367(); |
| 850 o.playlists = buildUnnamed1144(); | 886 o.playlists = buildUnnamed368(); |
| 851 } | 887 } |
| 852 buildCounterChannelSectionContentDetails--; | 888 buildCounterChannelSectionContentDetails--; |
| 853 return o; | 889 return o; |
| 854 } | 890 } |
| 855 | 891 |
| 856 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 892 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 857 buildCounterChannelSectionContentDetails++; | 893 buildCounterChannelSectionContentDetails++; |
| 858 if (buildCounterChannelSectionContentDetails < 3) { | 894 if (buildCounterChannelSectionContentDetails < 3) { |
| 859 checkUnnamed1143(o.channels); | 895 checkUnnamed367(o.channels); |
| 860 checkUnnamed1144(o.playlists); | 896 checkUnnamed368(o.playlists); |
| 861 } | 897 } |
| 862 buildCounterChannelSectionContentDetails--; | 898 buildCounterChannelSectionContentDetails--; |
| 863 } | 899 } |
| 864 | 900 |
| 865 buildUnnamed1145() { | 901 buildUnnamed369() { |
| 866 var o = new core.List<api.ChannelSection>(); | 902 var o = new core.List<api.ChannelSection>(); |
| 867 o.add(buildChannelSection()); | 903 o.add(buildChannelSection()); |
| 868 o.add(buildChannelSection()); | 904 o.add(buildChannelSection()); |
| 869 return o; | 905 return o; |
| 870 } | 906 } |
| 871 | 907 |
| 872 checkUnnamed1145(core.List<api.ChannelSection> o) { | 908 checkUnnamed369(core.List<api.ChannelSection> o) { |
| 873 unittest.expect(o, unittest.hasLength(2)); | 909 unittest.expect(o, unittest.hasLength(2)); |
| 874 checkChannelSection(o[0]); | 910 checkChannelSection(o[0]); |
| 875 checkChannelSection(o[1]); | 911 checkChannelSection(o[1]); |
| 876 } | 912 } |
| 877 | 913 |
| 878 core.int buildCounterChannelSectionListResponse = 0; | 914 core.int buildCounterChannelSectionListResponse = 0; |
| 879 buildChannelSectionListResponse() { | 915 buildChannelSectionListResponse() { |
| 880 var o = new api.ChannelSectionListResponse(); | 916 var o = new api.ChannelSectionListResponse(); |
| 881 buildCounterChannelSectionListResponse++; | 917 buildCounterChannelSectionListResponse++; |
| 882 if (buildCounterChannelSectionListResponse < 3) { | 918 if (buildCounterChannelSectionListResponse < 3) { |
| 883 o.etag = "foo"; | 919 o.etag = "foo"; |
| 884 o.eventId = "foo"; | 920 o.eventId = "foo"; |
| 885 o.items = buildUnnamed1145(); | 921 o.items = buildUnnamed369(); |
| 886 o.kind = "foo"; | 922 o.kind = "foo"; |
| 887 o.visitorId = "foo"; | 923 o.visitorId = "foo"; |
| 888 } | 924 } |
| 889 buildCounterChannelSectionListResponse--; | 925 buildCounterChannelSectionListResponse--; |
| 890 return o; | 926 return o; |
| 891 } | 927 } |
| 892 | 928 |
| 893 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 929 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 894 buildCounterChannelSectionListResponse++; | 930 buildCounterChannelSectionListResponse++; |
| 895 if (buildCounterChannelSectionListResponse < 3) { | 931 if (buildCounterChannelSectionListResponse < 3) { |
| 896 unittest.expect(o.etag, unittest.equals('foo')); | 932 unittest.expect(o.etag, unittest.equals('foo')); |
| 897 unittest.expect(o.eventId, unittest.equals('foo')); | 933 unittest.expect(o.eventId, unittest.equals('foo')); |
| 898 checkUnnamed1145(o.items); | 934 checkUnnamed369(o.items); |
| 899 unittest.expect(o.kind, unittest.equals('foo')); | 935 unittest.expect(o.kind, unittest.equals('foo')); |
| 900 unittest.expect(o.visitorId, unittest.equals('foo')); | 936 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 901 } | 937 } |
| 902 buildCounterChannelSectionListResponse--; | 938 buildCounterChannelSectionListResponse--; |
| 903 } | 939 } |
| 904 | 940 |
| 905 core.int buildCounterChannelSectionSnippet = 0; | 941 core.int buildCounterChannelSectionSnippet = 0; |
| 906 buildChannelSectionSnippet() { | 942 buildChannelSectionSnippet() { |
| 907 var o = new api.ChannelSectionSnippet(); | 943 var o = new api.ChannelSectionSnippet(); |
| 908 buildCounterChannelSectionSnippet++; | 944 buildCounterChannelSectionSnippet++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 922 if (buildCounterChannelSectionSnippet < 3) { | 958 if (buildCounterChannelSectionSnippet < 3) { |
| 923 unittest.expect(o.channelId, unittest.equals('foo')); | 959 unittest.expect(o.channelId, unittest.equals('foo')); |
| 924 unittest.expect(o.position, unittest.equals(42)); | 960 unittest.expect(o.position, unittest.equals(42)); |
| 925 unittest.expect(o.style, unittest.equals('foo')); | 961 unittest.expect(o.style, unittest.equals('foo')); |
| 926 unittest.expect(o.title, unittest.equals('foo')); | 962 unittest.expect(o.title, unittest.equals('foo')); |
| 927 unittest.expect(o.type, unittest.equals('foo')); | 963 unittest.expect(o.type, unittest.equals('foo')); |
| 928 } | 964 } |
| 929 buildCounterChannelSectionSnippet--; | 965 buildCounterChannelSectionSnippet--; |
| 930 } | 966 } |
| 931 | 967 |
| 932 buildUnnamed1146() { | 968 buildUnnamed370() { |
| 933 var o = new core.List<core.String>(); | 969 var o = new core.List<core.String>(); |
| 934 o.add("foo"); | 970 o.add("foo"); |
| 935 o.add("foo"); | 971 o.add("foo"); |
| 936 return o; | 972 return o; |
| 937 } | 973 } |
| 938 | 974 |
| 939 checkUnnamed1146(core.List<core.String> o) { | 975 checkUnnamed370(core.List<core.String> o) { |
| 940 unittest.expect(o, unittest.hasLength(2)); | 976 unittest.expect(o, unittest.hasLength(2)); |
| 941 unittest.expect(o[0], unittest.equals('foo')); | 977 unittest.expect(o[0], unittest.equals('foo')); |
| 942 unittest.expect(o[1], unittest.equals('foo')); | 978 unittest.expect(o[1], unittest.equals('foo')); |
| 943 } | 979 } |
| 944 | 980 |
| 945 core.int buildCounterChannelSettings = 0; | 981 core.int buildCounterChannelSettings = 0; |
| 946 buildChannelSettings() { | 982 buildChannelSettings() { |
| 947 var o = new api.ChannelSettings(); | 983 var o = new api.ChannelSettings(); |
| 948 buildCounterChannelSettings++; | 984 buildCounterChannelSettings++; |
| 949 if (buildCounterChannelSettings < 3) { | 985 if (buildCounterChannelSettings < 3) { |
| 986 o.defaultLanguage = "foo"; |
| 950 o.defaultTab = "foo"; | 987 o.defaultTab = "foo"; |
| 951 o.description = "foo"; | 988 o.description = "foo"; |
| 952 o.featuredChannelsTitle = "foo"; | 989 o.featuredChannelsTitle = "foo"; |
| 953 o.featuredChannelsUrls = buildUnnamed1146(); | 990 o.featuredChannelsUrls = buildUnnamed370(); |
| 954 o.keywords = "foo"; | 991 o.keywords = "foo"; |
| 955 o.moderateComments = true; | 992 o.moderateComments = true; |
| 956 o.profileColor = "foo"; | 993 o.profileColor = "foo"; |
| 957 o.showBrowseView = true; | 994 o.showBrowseView = true; |
| 958 o.showRelatedChannels = true; | 995 o.showRelatedChannels = true; |
| 959 o.title = "foo"; | 996 o.title = "foo"; |
| 960 o.trackingAnalyticsAccountId = "foo"; | 997 o.trackingAnalyticsAccountId = "foo"; |
| 961 o.unsubscribedTrailer = "foo"; | 998 o.unsubscribedTrailer = "foo"; |
| 962 } | 999 } |
| 963 buildCounterChannelSettings--; | 1000 buildCounterChannelSettings--; |
| 964 return o; | 1001 return o; |
| 965 } | 1002 } |
| 966 | 1003 |
| 967 checkChannelSettings(api.ChannelSettings o) { | 1004 checkChannelSettings(api.ChannelSettings o) { |
| 968 buildCounterChannelSettings++; | 1005 buildCounterChannelSettings++; |
| 969 if (buildCounterChannelSettings < 3) { | 1006 if (buildCounterChannelSettings < 3) { |
| 1007 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 970 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1008 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 971 unittest.expect(o.description, unittest.equals('foo')); | 1009 unittest.expect(o.description, unittest.equals('foo')); |
| 972 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1010 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 973 checkUnnamed1146(o.featuredChannelsUrls); | 1011 checkUnnamed370(o.featuredChannelsUrls); |
| 974 unittest.expect(o.keywords, unittest.equals('foo')); | 1012 unittest.expect(o.keywords, unittest.equals('foo')); |
| 975 unittest.expect(o.moderateComments, unittest.isTrue); | 1013 unittest.expect(o.moderateComments, unittest.isTrue); |
| 976 unittest.expect(o.profileColor, unittest.equals('foo')); | 1014 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 977 unittest.expect(o.showBrowseView, unittest.isTrue); | 1015 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 978 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1016 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 979 unittest.expect(o.title, unittest.equals('foo')); | 1017 unittest.expect(o.title, unittest.equals('foo')); |
| 980 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1018 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 981 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1019 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 982 } | 1020 } |
| 983 buildCounterChannelSettings--; | 1021 buildCounterChannelSettings--; |
| 984 } | 1022 } |
| 985 | 1023 |
| 986 core.int buildCounterChannelSnippet = 0; | 1024 core.int buildCounterChannelSnippet = 0; |
| 987 buildChannelSnippet() { | 1025 buildChannelSnippet() { |
| 988 var o = new api.ChannelSnippet(); | 1026 var o = new api.ChannelSnippet(); |
| 989 buildCounterChannelSnippet++; | 1027 buildCounterChannelSnippet++; |
| 990 if (buildCounterChannelSnippet < 3) { | 1028 if (buildCounterChannelSnippet < 3) { |
| 1029 o.defaultLanguage = "foo"; |
| 991 o.description = "foo"; | 1030 o.description = "foo"; |
| 1031 o.localized = buildChannelLocalization(); |
| 992 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 1032 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 993 o.thumbnails = buildThumbnailDetails(); | 1033 o.thumbnails = buildThumbnailDetails(); |
| 994 o.title = "foo"; | 1034 o.title = "foo"; |
| 995 } | 1035 } |
| 996 buildCounterChannelSnippet--; | 1036 buildCounterChannelSnippet--; |
| 997 return o; | 1037 return o; |
| 998 } | 1038 } |
| 999 | 1039 |
| 1000 checkChannelSnippet(api.ChannelSnippet o) { | 1040 checkChannelSnippet(api.ChannelSnippet o) { |
| 1001 buildCounterChannelSnippet++; | 1041 buildCounterChannelSnippet++; |
| 1002 if (buildCounterChannelSnippet < 3) { | 1042 if (buildCounterChannelSnippet < 3) { |
| 1043 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1003 unittest.expect(o.description, unittest.equals('foo')); | 1044 unittest.expect(o.description, unittest.equals('foo')); |
| 1045 checkChannelLocalization(o.localized); |
| 1004 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1046 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 1005 checkThumbnailDetails(o.thumbnails); | 1047 checkThumbnailDetails(o.thumbnails); |
| 1006 unittest.expect(o.title, unittest.equals('foo')); | 1048 unittest.expect(o.title, unittest.equals('foo')); |
| 1007 } | 1049 } |
| 1008 buildCounterChannelSnippet--; | 1050 buildCounterChannelSnippet--; |
| 1009 } | 1051 } |
| 1010 | 1052 |
| 1011 core.int buildCounterChannelStatistics = 0; | 1053 core.int buildCounterChannelStatistics = 0; |
| 1012 buildChannelStatistics() { | 1054 buildChannelStatistics() { |
| 1013 var o = new api.ChannelStatistics(); | 1055 var o = new api.ChannelStatistics(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1051 checkChannelStatus(api.ChannelStatus o) { | 1093 checkChannelStatus(api.ChannelStatus o) { |
| 1052 buildCounterChannelStatus++; | 1094 buildCounterChannelStatus++; |
| 1053 if (buildCounterChannelStatus < 3) { | 1095 if (buildCounterChannelStatus < 3) { |
| 1054 unittest.expect(o.isLinked, unittest.isTrue); | 1096 unittest.expect(o.isLinked, unittest.isTrue); |
| 1055 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1097 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1056 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1098 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1057 } | 1099 } |
| 1058 buildCounterChannelStatus--; | 1100 buildCounterChannelStatus--; |
| 1059 } | 1101 } |
| 1060 | 1102 |
| 1061 buildUnnamed1147() { | 1103 buildUnnamed371() { |
| 1062 var o = new core.List<core.String>(); | 1104 var o = new core.List<core.String>(); |
| 1063 o.add("foo"); | 1105 o.add("foo"); |
| 1064 o.add("foo"); | 1106 o.add("foo"); |
| 1065 return o; | 1107 return o; |
| 1066 } | 1108 } |
| 1067 | 1109 |
| 1068 checkUnnamed1147(core.List<core.String> o) { | 1110 checkUnnamed371(core.List<core.String> o) { |
| 1069 unittest.expect(o, unittest.hasLength(2)); | 1111 unittest.expect(o, unittest.hasLength(2)); |
| 1070 unittest.expect(o[0], unittest.equals('foo')); | 1112 unittest.expect(o[0], unittest.equals('foo')); |
| 1071 unittest.expect(o[1], unittest.equals('foo')); | 1113 unittest.expect(o[1], unittest.equals('foo')); |
| 1072 } | 1114 } |
| 1073 | 1115 |
| 1074 core.int buildCounterChannelTopicDetails = 0; | 1116 core.int buildCounterChannelTopicDetails = 0; |
| 1075 buildChannelTopicDetails() { | 1117 buildChannelTopicDetails() { |
| 1076 var o = new api.ChannelTopicDetails(); | 1118 var o = new api.ChannelTopicDetails(); |
| 1077 buildCounterChannelTopicDetails++; | 1119 buildCounterChannelTopicDetails++; |
| 1078 if (buildCounterChannelTopicDetails < 3) { | 1120 if (buildCounterChannelTopicDetails < 3) { |
| 1079 o.topicIds = buildUnnamed1147(); | 1121 o.topicIds = buildUnnamed371(); |
| 1080 } | 1122 } |
| 1081 buildCounterChannelTopicDetails--; | 1123 buildCounterChannelTopicDetails--; |
| 1082 return o; | 1124 return o; |
| 1083 } | 1125 } |
| 1084 | 1126 |
| 1085 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1127 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1086 buildCounterChannelTopicDetails++; | 1128 buildCounterChannelTopicDetails++; |
| 1087 if (buildCounterChannelTopicDetails < 3) { | 1129 if (buildCounterChannelTopicDetails < 3) { |
| 1088 checkUnnamed1147(o.topicIds); | 1130 checkUnnamed371(o.topicIds); |
| 1089 } | 1131 } |
| 1090 buildCounterChannelTopicDetails--; | 1132 buildCounterChannelTopicDetails--; |
| 1091 } | 1133 } |
| 1092 | 1134 |
| 1093 buildUnnamed1148() { | 1135 buildUnnamed372() { |
| 1094 var o = new core.List<core.String>(); | 1136 var o = new core.List<core.String>(); |
| 1095 o.add("foo"); | 1137 o.add("foo"); |
| 1096 o.add("foo"); | 1138 o.add("foo"); |
| 1097 return o; | 1139 return o; |
| 1098 } | 1140 } |
| 1099 | 1141 |
| 1100 checkUnnamed1148(core.List<core.String> o) { | 1142 checkUnnamed372(core.List<core.String> o) { |
| 1101 unittest.expect(o, unittest.hasLength(2)); | 1143 unittest.expect(o, unittest.hasLength(2)); |
| 1102 unittest.expect(o[0], unittest.equals('foo')); | 1144 unittest.expect(o[0], unittest.equals('foo')); |
| 1103 unittest.expect(o[1], unittest.equals('foo')); | 1145 unittest.expect(o[1], unittest.equals('foo')); |
| 1104 } | 1146 } |
| 1105 | 1147 |
| 1106 core.int buildCounterContentRating = 0; | 1148 core.int buildCounterContentRating = 0; |
| 1107 buildContentRating() { | 1149 buildContentRating() { |
| 1108 var o = new api.ContentRating(); | 1150 var o = new api.ContentRating(); |
| 1109 buildCounterContentRating++; | 1151 buildCounterContentRating++; |
| 1110 if (buildCounterContentRating < 3) { | 1152 if (buildCounterContentRating < 3) { |
| 1111 o.acbRating = "foo"; | 1153 o.acbRating = "foo"; |
| 1112 o.agcomRating = "foo"; | 1154 o.agcomRating = "foo"; |
| 1113 o.anatelRating = "foo"; | 1155 o.anatelRating = "foo"; |
| 1114 o.bbfcRating = "foo"; | 1156 o.bbfcRating = "foo"; |
| 1115 o.bfvcRating = "foo"; | 1157 o.bfvcRating = "foo"; |
| 1116 o.bmukkRating = "foo"; | 1158 o.bmukkRating = "foo"; |
| 1117 o.catvRating = "foo"; | 1159 o.catvRating = "foo"; |
| 1118 o.catvfrRating = "foo"; | 1160 o.catvfrRating = "foo"; |
| 1119 o.cbfcRating = "foo"; | 1161 o.cbfcRating = "foo"; |
| 1120 o.cccRating = "foo"; | 1162 o.cccRating = "foo"; |
| 1121 o.cceRating = "foo"; | 1163 o.cceRating = "foo"; |
| 1122 o.chfilmRating = "foo"; | 1164 o.chfilmRating = "foo"; |
| 1123 o.chvrsRating = "foo"; | 1165 o.chvrsRating = "foo"; |
| 1124 o.cicfRating = "foo"; | 1166 o.cicfRating = "foo"; |
| 1125 o.cnaRating = "foo"; | 1167 o.cnaRating = "foo"; |
| 1126 o.csaRating = "foo"; | 1168 o.csaRating = "foo"; |
| 1127 o.cscfRating = "foo"; | 1169 o.cscfRating = "foo"; |
| 1128 o.czfilmRating = "foo"; | 1170 o.czfilmRating = "foo"; |
| 1129 o.djctqRating = "foo"; | 1171 o.djctqRating = "foo"; |
| 1130 o.djctqRatingReasons = buildUnnamed1148(); | 1172 o.djctqRatingReasons = buildUnnamed372(); |
| 1131 o.eefilmRating = "foo"; | 1173 o.eefilmRating = "foo"; |
| 1132 o.egfilmRating = "foo"; | 1174 o.egfilmRating = "foo"; |
| 1133 o.eirinRating = "foo"; | 1175 o.eirinRating = "foo"; |
| 1134 o.fcbmRating = "foo"; | 1176 o.fcbmRating = "foo"; |
| 1135 o.fcoRating = "foo"; | 1177 o.fcoRating = "foo"; |
| 1136 o.fmocRating = "foo"; | 1178 o.fmocRating = "foo"; |
| 1137 o.fpbRating = "foo"; | 1179 o.fpbRating = "foo"; |
| 1138 o.fskRating = "foo"; | 1180 o.fskRating = "foo"; |
| 1139 o.grfilmRating = "foo"; | 1181 o.grfilmRating = "foo"; |
| 1140 o.icaaRating = "foo"; | 1182 o.icaaRating = "foo"; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1192 unittest.expect(o.cccRating, unittest.equals('foo')); | 1234 unittest.expect(o.cccRating, unittest.equals('foo')); |
| 1193 unittest.expect(o.cceRating, unittest.equals('foo')); | 1235 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1194 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1236 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1195 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1237 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1196 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1238 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1197 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1239 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1198 unittest.expect(o.csaRating, unittest.equals('foo')); | 1240 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1199 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1241 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1200 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1242 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1201 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1243 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1202 checkUnnamed1148(o.djctqRatingReasons); | 1244 checkUnnamed372(o.djctqRatingReasons); |
| 1203 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1245 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1204 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1246 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1205 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1247 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1206 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1248 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1207 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1249 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1208 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1250 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1209 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1251 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1210 unittest.expect(o.fskRating, unittest.equals('foo')); | 1252 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1211 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1253 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| 1212 unittest.expect(o.icaaRating, unittest.equals('foo')); | 1254 unittest.expect(o.icaaRating, unittest.equals('foo')); |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 buildCounterGuideCategory++; | 1331 buildCounterGuideCategory++; |
| 1290 if (buildCounterGuideCategory < 3) { | 1332 if (buildCounterGuideCategory < 3) { |
| 1291 unittest.expect(o.etag, unittest.equals('foo')); | 1333 unittest.expect(o.etag, unittest.equals('foo')); |
| 1292 unittest.expect(o.id, unittest.equals('foo')); | 1334 unittest.expect(o.id, unittest.equals('foo')); |
| 1293 unittest.expect(o.kind, unittest.equals('foo')); | 1335 unittest.expect(o.kind, unittest.equals('foo')); |
| 1294 checkGuideCategorySnippet(o.snippet); | 1336 checkGuideCategorySnippet(o.snippet); |
| 1295 } | 1337 } |
| 1296 buildCounterGuideCategory--; | 1338 buildCounterGuideCategory--; |
| 1297 } | 1339 } |
| 1298 | 1340 |
| 1299 buildUnnamed1149() { | 1341 buildUnnamed373() { |
| 1300 var o = new core.List<api.GuideCategory>(); | 1342 var o = new core.List<api.GuideCategory>(); |
| 1301 o.add(buildGuideCategory()); | 1343 o.add(buildGuideCategory()); |
| 1302 o.add(buildGuideCategory()); | 1344 o.add(buildGuideCategory()); |
| 1303 return o; | 1345 return o; |
| 1304 } | 1346 } |
| 1305 | 1347 |
| 1306 checkUnnamed1149(core.List<api.GuideCategory> o) { | 1348 checkUnnamed373(core.List<api.GuideCategory> o) { |
| 1307 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
| 1308 checkGuideCategory(o[0]); | 1350 checkGuideCategory(o[0]); |
| 1309 checkGuideCategory(o[1]); | 1351 checkGuideCategory(o[1]); |
| 1310 } | 1352 } |
| 1311 | 1353 |
| 1312 core.int buildCounterGuideCategoryListResponse = 0; | 1354 core.int buildCounterGuideCategoryListResponse = 0; |
| 1313 buildGuideCategoryListResponse() { | 1355 buildGuideCategoryListResponse() { |
| 1314 var o = new api.GuideCategoryListResponse(); | 1356 var o = new api.GuideCategoryListResponse(); |
| 1315 buildCounterGuideCategoryListResponse++; | 1357 buildCounterGuideCategoryListResponse++; |
| 1316 if (buildCounterGuideCategoryListResponse < 3) { | 1358 if (buildCounterGuideCategoryListResponse < 3) { |
| 1317 o.etag = "foo"; | 1359 o.etag = "foo"; |
| 1318 o.eventId = "foo"; | 1360 o.eventId = "foo"; |
| 1319 o.items = buildUnnamed1149(); | 1361 o.items = buildUnnamed373(); |
| 1320 o.kind = "foo"; | 1362 o.kind = "foo"; |
| 1321 o.nextPageToken = "foo"; | 1363 o.nextPageToken = "foo"; |
| 1322 o.pageInfo = buildPageInfo(); | 1364 o.pageInfo = buildPageInfo(); |
| 1323 o.prevPageToken = "foo"; | 1365 o.prevPageToken = "foo"; |
| 1324 o.tokenPagination = buildTokenPagination(); | 1366 o.tokenPagination = buildTokenPagination(); |
| 1325 o.visitorId = "foo"; | 1367 o.visitorId = "foo"; |
| 1326 } | 1368 } |
| 1327 buildCounterGuideCategoryListResponse--; | 1369 buildCounterGuideCategoryListResponse--; |
| 1328 return o; | 1370 return o; |
| 1329 } | 1371 } |
| 1330 | 1372 |
| 1331 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1373 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 1332 buildCounterGuideCategoryListResponse++; | 1374 buildCounterGuideCategoryListResponse++; |
| 1333 if (buildCounterGuideCategoryListResponse < 3) { | 1375 if (buildCounterGuideCategoryListResponse < 3) { |
| 1334 unittest.expect(o.etag, unittest.equals('foo')); | 1376 unittest.expect(o.etag, unittest.equals('foo')); |
| 1335 unittest.expect(o.eventId, unittest.equals('foo')); | 1377 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1336 checkUnnamed1149(o.items); | 1378 checkUnnamed373(o.items); |
| 1337 unittest.expect(o.kind, unittest.equals('foo')); | 1379 unittest.expect(o.kind, unittest.equals('foo')); |
| 1338 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1380 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1339 checkPageInfo(o.pageInfo); | 1381 checkPageInfo(o.pageInfo); |
| 1340 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1382 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1341 checkTokenPagination(o.tokenPagination); | 1383 checkTokenPagination(o.tokenPagination); |
| 1342 unittest.expect(o.visitorId, unittest.equals('foo')); | 1384 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1343 } | 1385 } |
| 1344 buildCounterGuideCategoryListResponse--; | 1386 buildCounterGuideCategoryListResponse--; |
| 1345 } | 1387 } |
| 1346 | 1388 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 buildCounterI18nLanguage++; | 1425 buildCounterI18nLanguage++; |
| 1384 if (buildCounterI18nLanguage < 3) { | 1426 if (buildCounterI18nLanguage < 3) { |
| 1385 unittest.expect(o.etag, unittest.equals('foo')); | 1427 unittest.expect(o.etag, unittest.equals('foo')); |
| 1386 unittest.expect(o.id, unittest.equals('foo')); | 1428 unittest.expect(o.id, unittest.equals('foo')); |
| 1387 unittest.expect(o.kind, unittest.equals('foo')); | 1429 unittest.expect(o.kind, unittest.equals('foo')); |
| 1388 checkI18nLanguageSnippet(o.snippet); | 1430 checkI18nLanguageSnippet(o.snippet); |
| 1389 } | 1431 } |
| 1390 buildCounterI18nLanguage--; | 1432 buildCounterI18nLanguage--; |
| 1391 } | 1433 } |
| 1392 | 1434 |
| 1393 buildUnnamed1150() { | 1435 buildUnnamed374() { |
| 1394 var o = new core.List<api.I18nLanguage>(); | 1436 var o = new core.List<api.I18nLanguage>(); |
| 1395 o.add(buildI18nLanguage()); | 1437 o.add(buildI18nLanguage()); |
| 1396 o.add(buildI18nLanguage()); | 1438 o.add(buildI18nLanguage()); |
| 1397 return o; | 1439 return o; |
| 1398 } | 1440 } |
| 1399 | 1441 |
| 1400 checkUnnamed1150(core.List<api.I18nLanguage> o) { | 1442 checkUnnamed374(core.List<api.I18nLanguage> o) { |
| 1401 unittest.expect(o, unittest.hasLength(2)); | 1443 unittest.expect(o, unittest.hasLength(2)); |
| 1402 checkI18nLanguage(o[0]); | 1444 checkI18nLanguage(o[0]); |
| 1403 checkI18nLanguage(o[1]); | 1445 checkI18nLanguage(o[1]); |
| 1404 } | 1446 } |
| 1405 | 1447 |
| 1406 core.int buildCounterI18nLanguageListResponse = 0; | 1448 core.int buildCounterI18nLanguageListResponse = 0; |
| 1407 buildI18nLanguageListResponse() { | 1449 buildI18nLanguageListResponse() { |
| 1408 var o = new api.I18nLanguageListResponse(); | 1450 var o = new api.I18nLanguageListResponse(); |
| 1409 buildCounterI18nLanguageListResponse++; | 1451 buildCounterI18nLanguageListResponse++; |
| 1410 if (buildCounterI18nLanguageListResponse < 3) { | 1452 if (buildCounterI18nLanguageListResponse < 3) { |
| 1411 o.etag = "foo"; | 1453 o.etag = "foo"; |
| 1412 o.eventId = "foo"; | 1454 o.eventId = "foo"; |
| 1413 o.items = buildUnnamed1150(); | 1455 o.items = buildUnnamed374(); |
| 1414 o.kind = "foo"; | 1456 o.kind = "foo"; |
| 1415 o.visitorId = "foo"; | 1457 o.visitorId = "foo"; |
| 1416 } | 1458 } |
| 1417 buildCounterI18nLanguageListResponse--; | 1459 buildCounterI18nLanguageListResponse--; |
| 1418 return o; | 1460 return o; |
| 1419 } | 1461 } |
| 1420 | 1462 |
| 1421 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1463 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 1422 buildCounterI18nLanguageListResponse++; | 1464 buildCounterI18nLanguageListResponse++; |
| 1423 if (buildCounterI18nLanguageListResponse < 3) { | 1465 if (buildCounterI18nLanguageListResponse < 3) { |
| 1424 unittest.expect(o.etag, unittest.equals('foo')); | 1466 unittest.expect(o.etag, unittest.equals('foo')); |
| 1425 unittest.expect(o.eventId, unittest.equals('foo')); | 1467 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1426 checkUnnamed1150(o.items); | 1468 checkUnnamed374(o.items); |
| 1427 unittest.expect(o.kind, unittest.equals('foo')); | 1469 unittest.expect(o.kind, unittest.equals('foo')); |
| 1428 unittest.expect(o.visitorId, unittest.equals('foo')); | 1470 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1429 } | 1471 } |
| 1430 buildCounterI18nLanguageListResponse--; | 1472 buildCounterI18nLanguageListResponse--; |
| 1431 } | 1473 } |
| 1432 | 1474 |
| 1433 core.int buildCounterI18nLanguageSnippet = 0; | 1475 core.int buildCounterI18nLanguageSnippet = 0; |
| 1434 buildI18nLanguageSnippet() { | 1476 buildI18nLanguageSnippet() { |
| 1435 var o = new api.I18nLanguageSnippet(); | 1477 var o = new api.I18nLanguageSnippet(); |
| 1436 buildCounterI18nLanguageSnippet++; | 1478 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 buildCounterI18nRegion++; | 1511 buildCounterI18nRegion++; |
| 1470 if (buildCounterI18nRegion < 3) { | 1512 if (buildCounterI18nRegion < 3) { |
| 1471 unittest.expect(o.etag, unittest.equals('foo')); | 1513 unittest.expect(o.etag, unittest.equals('foo')); |
| 1472 unittest.expect(o.id, unittest.equals('foo')); | 1514 unittest.expect(o.id, unittest.equals('foo')); |
| 1473 unittest.expect(o.kind, unittest.equals('foo')); | 1515 unittest.expect(o.kind, unittest.equals('foo')); |
| 1474 checkI18nRegionSnippet(o.snippet); | 1516 checkI18nRegionSnippet(o.snippet); |
| 1475 } | 1517 } |
| 1476 buildCounterI18nRegion--; | 1518 buildCounterI18nRegion--; |
| 1477 } | 1519 } |
| 1478 | 1520 |
| 1479 buildUnnamed1151() { | 1521 buildUnnamed375() { |
| 1480 var o = new core.List<api.I18nRegion>(); | 1522 var o = new core.List<api.I18nRegion>(); |
| 1481 o.add(buildI18nRegion()); | 1523 o.add(buildI18nRegion()); |
| 1482 o.add(buildI18nRegion()); | 1524 o.add(buildI18nRegion()); |
| 1483 return o; | 1525 return o; |
| 1484 } | 1526 } |
| 1485 | 1527 |
| 1486 checkUnnamed1151(core.List<api.I18nRegion> o) { | 1528 checkUnnamed375(core.List<api.I18nRegion> o) { |
| 1487 unittest.expect(o, unittest.hasLength(2)); | 1529 unittest.expect(o, unittest.hasLength(2)); |
| 1488 checkI18nRegion(o[0]); | 1530 checkI18nRegion(o[0]); |
| 1489 checkI18nRegion(o[1]); | 1531 checkI18nRegion(o[1]); |
| 1490 } | 1532 } |
| 1491 | 1533 |
| 1492 core.int buildCounterI18nRegionListResponse = 0; | 1534 core.int buildCounterI18nRegionListResponse = 0; |
| 1493 buildI18nRegionListResponse() { | 1535 buildI18nRegionListResponse() { |
| 1494 var o = new api.I18nRegionListResponse(); | 1536 var o = new api.I18nRegionListResponse(); |
| 1495 buildCounterI18nRegionListResponse++; | 1537 buildCounterI18nRegionListResponse++; |
| 1496 if (buildCounterI18nRegionListResponse < 3) { | 1538 if (buildCounterI18nRegionListResponse < 3) { |
| 1497 o.etag = "foo"; | 1539 o.etag = "foo"; |
| 1498 o.eventId = "foo"; | 1540 o.eventId = "foo"; |
| 1499 o.items = buildUnnamed1151(); | 1541 o.items = buildUnnamed375(); |
| 1500 o.kind = "foo"; | 1542 o.kind = "foo"; |
| 1501 o.visitorId = "foo"; | 1543 o.visitorId = "foo"; |
| 1502 } | 1544 } |
| 1503 buildCounterI18nRegionListResponse--; | 1545 buildCounterI18nRegionListResponse--; |
| 1504 return o; | 1546 return o; |
| 1505 } | 1547 } |
| 1506 | 1548 |
| 1507 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 1549 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 1508 buildCounterI18nRegionListResponse++; | 1550 buildCounterI18nRegionListResponse++; |
| 1509 if (buildCounterI18nRegionListResponse < 3) { | 1551 if (buildCounterI18nRegionListResponse < 3) { |
| 1510 unittest.expect(o.etag, unittest.equals('foo')); | 1552 unittest.expect(o.etag, unittest.equals('foo')); |
| 1511 unittest.expect(o.eventId, unittest.equals('foo')); | 1553 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1512 checkUnnamed1151(o.items); | 1554 checkUnnamed375(o.items); |
| 1513 unittest.expect(o.kind, unittest.equals('foo')); | 1555 unittest.expect(o.kind, unittest.equals('foo')); |
| 1514 unittest.expect(o.visitorId, unittest.equals('foo')); | 1556 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1515 } | 1557 } |
| 1516 buildCounterI18nRegionListResponse--; | 1558 buildCounterI18nRegionListResponse--; |
| 1517 } | 1559 } |
| 1518 | 1560 |
| 1519 core.int buildCounterI18nRegionSnippet = 0; | 1561 core.int buildCounterI18nRegionSnippet = 0; |
| 1520 buildI18nRegionSnippet() { | 1562 buildI18nRegionSnippet() { |
| 1521 var o = new api.I18nRegionSnippet(); | 1563 var o = new api.I18nRegionSnippet(); |
| 1522 buildCounterI18nRegionSnippet++; | 1564 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 | 1704 |
| 1663 checkInvideoPosition(api.InvideoPosition o) { | 1705 checkInvideoPosition(api.InvideoPosition o) { |
| 1664 buildCounterInvideoPosition++; | 1706 buildCounterInvideoPosition++; |
| 1665 if (buildCounterInvideoPosition < 3) { | 1707 if (buildCounterInvideoPosition < 3) { |
| 1666 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 1708 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 1667 unittest.expect(o.type, unittest.equals('foo')); | 1709 unittest.expect(o.type, unittest.equals('foo')); |
| 1668 } | 1710 } |
| 1669 buildCounterInvideoPosition--; | 1711 buildCounterInvideoPosition--; |
| 1670 } | 1712 } |
| 1671 | 1713 |
| 1672 buildUnnamed1152() { | 1714 buildUnnamed376() { |
| 1673 var o = new core.List<api.PromotedItem>(); | 1715 var o = new core.List<api.PromotedItem>(); |
| 1674 o.add(buildPromotedItem()); | 1716 o.add(buildPromotedItem()); |
| 1675 o.add(buildPromotedItem()); | 1717 o.add(buildPromotedItem()); |
| 1676 return o; | 1718 return o; |
| 1677 } | 1719 } |
| 1678 | 1720 |
| 1679 checkUnnamed1152(core.List<api.PromotedItem> o) { | 1721 checkUnnamed376(core.List<api.PromotedItem> o) { |
| 1680 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1681 checkPromotedItem(o[0]); | 1723 checkPromotedItem(o[0]); |
| 1682 checkPromotedItem(o[1]); | 1724 checkPromotedItem(o[1]); |
| 1683 } | 1725 } |
| 1684 | 1726 |
| 1685 core.int buildCounterInvideoPromotion = 0; | 1727 core.int buildCounterInvideoPromotion = 0; |
| 1686 buildInvideoPromotion() { | 1728 buildInvideoPromotion() { |
| 1687 var o = new api.InvideoPromotion(); | 1729 var o = new api.InvideoPromotion(); |
| 1688 buildCounterInvideoPromotion++; | 1730 buildCounterInvideoPromotion++; |
| 1689 if (buildCounterInvideoPromotion < 3) { | 1731 if (buildCounterInvideoPromotion < 3) { |
| 1690 o.defaultTiming = buildInvideoTiming(); | 1732 o.defaultTiming = buildInvideoTiming(); |
| 1691 o.items = buildUnnamed1152(); | 1733 o.items = buildUnnamed376(); |
| 1692 o.position = buildInvideoPosition(); | 1734 o.position = buildInvideoPosition(); |
| 1693 o.useSmartTiming = true; | 1735 o.useSmartTiming = true; |
| 1694 } | 1736 } |
| 1695 buildCounterInvideoPromotion--; | 1737 buildCounterInvideoPromotion--; |
| 1696 return o; | 1738 return o; |
| 1697 } | 1739 } |
| 1698 | 1740 |
| 1699 checkInvideoPromotion(api.InvideoPromotion o) { | 1741 checkInvideoPromotion(api.InvideoPromotion o) { |
| 1700 buildCounterInvideoPromotion++; | 1742 buildCounterInvideoPromotion++; |
| 1701 if (buildCounterInvideoPromotion < 3) { | 1743 if (buildCounterInvideoPromotion < 3) { |
| 1702 checkInvideoTiming(o.defaultTiming); | 1744 checkInvideoTiming(o.defaultTiming); |
| 1703 checkUnnamed1152(o.items); | 1745 checkUnnamed376(o.items); |
| 1704 checkInvideoPosition(o.position); | 1746 checkInvideoPosition(o.position); |
| 1705 unittest.expect(o.useSmartTiming, unittest.isTrue); | 1747 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 1706 } | 1748 } |
| 1707 buildCounterInvideoPromotion--; | 1749 buildCounterInvideoPromotion--; |
| 1708 } | 1750 } |
| 1709 | 1751 |
| 1710 core.int buildCounterInvideoTiming = 0; | 1752 core.int buildCounterInvideoTiming = 0; |
| 1711 buildInvideoTiming() { | 1753 buildInvideoTiming() { |
| 1712 var o = new api.InvideoTiming(); | 1754 var o = new api.InvideoTiming(); |
| 1713 buildCounterInvideoTiming++; | 1755 buildCounterInvideoTiming++; |
| 1714 if (buildCounterInvideoTiming < 3) { | 1756 if (buildCounterInvideoTiming < 3) { |
| 1715 o.durationMs = "foo"; | 1757 o.durationMs = "foo"; |
| 1716 o.offsetMs = "foo"; | 1758 o.offsetMs = "foo"; |
| 1717 o.type = "foo"; | 1759 o.type = "foo"; |
| 1718 } | 1760 } |
| 1719 buildCounterInvideoTiming--; | 1761 buildCounterInvideoTiming--; |
| 1720 return o; | 1762 return o; |
| 1721 } | 1763 } |
| 1722 | 1764 |
| 1723 checkInvideoTiming(api.InvideoTiming o) { | 1765 checkInvideoTiming(api.InvideoTiming o) { |
| 1724 buildCounterInvideoTiming++; | 1766 buildCounterInvideoTiming++; |
| 1725 if (buildCounterInvideoTiming < 3) { | 1767 if (buildCounterInvideoTiming < 3) { |
| 1726 unittest.expect(o.durationMs, unittest.equals('foo')); | 1768 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 1727 unittest.expect(o.offsetMs, unittest.equals('foo')); | 1769 unittest.expect(o.offsetMs, unittest.equals('foo')); |
| 1728 unittest.expect(o.type, unittest.equals('foo')); | 1770 unittest.expect(o.type, unittest.equals('foo')); |
| 1729 } | 1771 } |
| 1730 buildCounterInvideoTiming--; | 1772 buildCounterInvideoTiming--; |
| 1731 } | 1773 } |
| 1732 | 1774 |
| 1775 core.int buildCounterLanguageTag = 0; |
| 1776 buildLanguageTag() { |
| 1777 var o = new api.LanguageTag(); |
| 1778 buildCounterLanguageTag++; |
| 1779 if (buildCounterLanguageTag < 3) { |
| 1780 o.value = "foo"; |
| 1781 } |
| 1782 buildCounterLanguageTag--; |
| 1783 return o; |
| 1784 } |
| 1785 |
| 1786 checkLanguageTag(api.LanguageTag o) { |
| 1787 buildCounterLanguageTag++; |
| 1788 if (buildCounterLanguageTag < 3) { |
| 1789 unittest.expect(o.value, unittest.equals('foo')); |
| 1790 } |
| 1791 buildCounterLanguageTag--; |
| 1792 } |
| 1793 |
| 1733 core.int buildCounterLiveBroadcast = 0; | 1794 core.int buildCounterLiveBroadcast = 0; |
| 1734 buildLiveBroadcast() { | 1795 buildLiveBroadcast() { |
| 1735 var o = new api.LiveBroadcast(); | 1796 var o = new api.LiveBroadcast(); |
| 1736 buildCounterLiveBroadcast++; | 1797 buildCounterLiveBroadcast++; |
| 1737 if (buildCounterLiveBroadcast < 3) { | 1798 if (buildCounterLiveBroadcast < 3) { |
| 1738 o.contentDetails = buildLiveBroadcastContentDetails(); | 1799 o.contentDetails = buildLiveBroadcastContentDetails(); |
| 1739 o.etag = "foo"; | 1800 o.etag = "foo"; |
| 1740 o.id = "foo"; | 1801 o.id = "foo"; |
| 1741 o.kind = "foo"; | 1802 o.kind = "foo"; |
| 1742 o.snippet = buildLiveBroadcastSnippet(); | 1803 o.snippet = buildLiveBroadcastSnippet(); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1785 unittest.expect(o.enableContentEncryption, unittest.isTrue); | 1846 unittest.expect(o.enableContentEncryption, unittest.isTrue); |
| 1786 unittest.expect(o.enableDvr, unittest.isTrue); | 1847 unittest.expect(o.enableDvr, unittest.isTrue); |
| 1787 unittest.expect(o.enableEmbed, unittest.isTrue); | 1848 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 1788 checkMonitorStreamInfo(o.monitorStream); | 1849 checkMonitorStreamInfo(o.monitorStream); |
| 1789 unittest.expect(o.recordFromStart, unittest.isTrue); | 1850 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 1790 unittest.expect(o.startWithSlate, unittest.isTrue); | 1851 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 1791 } | 1852 } |
| 1792 buildCounterLiveBroadcastContentDetails--; | 1853 buildCounterLiveBroadcastContentDetails--; |
| 1793 } | 1854 } |
| 1794 | 1855 |
| 1795 buildUnnamed1153() { | 1856 buildUnnamed377() { |
| 1796 var o = new core.List<api.LiveBroadcast>(); | 1857 var o = new core.List<api.LiveBroadcast>(); |
| 1797 o.add(buildLiveBroadcast()); | 1858 o.add(buildLiveBroadcast()); |
| 1798 o.add(buildLiveBroadcast()); | 1859 o.add(buildLiveBroadcast()); |
| 1799 return o; | 1860 return o; |
| 1800 } | 1861 } |
| 1801 | 1862 |
| 1802 checkUnnamed1153(core.List<api.LiveBroadcast> o) { | 1863 checkUnnamed377(core.List<api.LiveBroadcast> o) { |
| 1803 unittest.expect(o, unittest.hasLength(2)); | 1864 unittest.expect(o, unittest.hasLength(2)); |
| 1804 checkLiveBroadcast(o[0]); | 1865 checkLiveBroadcast(o[0]); |
| 1805 checkLiveBroadcast(o[1]); | 1866 checkLiveBroadcast(o[1]); |
| 1806 } | 1867 } |
| 1807 | 1868 |
| 1808 core.int buildCounterLiveBroadcastListResponse = 0; | 1869 core.int buildCounterLiveBroadcastListResponse = 0; |
| 1809 buildLiveBroadcastListResponse() { | 1870 buildLiveBroadcastListResponse() { |
| 1810 var o = new api.LiveBroadcastListResponse(); | 1871 var o = new api.LiveBroadcastListResponse(); |
| 1811 buildCounterLiveBroadcastListResponse++; | 1872 buildCounterLiveBroadcastListResponse++; |
| 1812 if (buildCounterLiveBroadcastListResponse < 3) { | 1873 if (buildCounterLiveBroadcastListResponse < 3) { |
| 1813 o.etag = "foo"; | 1874 o.etag = "foo"; |
| 1814 o.eventId = "foo"; | 1875 o.eventId = "foo"; |
| 1815 o.items = buildUnnamed1153(); | 1876 o.items = buildUnnamed377(); |
| 1816 o.kind = "foo"; | 1877 o.kind = "foo"; |
| 1817 o.nextPageToken = "foo"; | 1878 o.nextPageToken = "foo"; |
| 1818 o.pageInfo = buildPageInfo(); | 1879 o.pageInfo = buildPageInfo(); |
| 1819 o.prevPageToken = "foo"; | 1880 o.prevPageToken = "foo"; |
| 1820 o.tokenPagination = buildTokenPagination(); | 1881 o.tokenPagination = buildTokenPagination(); |
| 1821 o.visitorId = "foo"; | 1882 o.visitorId = "foo"; |
| 1822 } | 1883 } |
| 1823 buildCounterLiveBroadcastListResponse--; | 1884 buildCounterLiveBroadcastListResponse--; |
| 1824 return o; | 1885 return o; |
| 1825 } | 1886 } |
| 1826 | 1887 |
| 1827 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 1888 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 1828 buildCounterLiveBroadcastListResponse++; | 1889 buildCounterLiveBroadcastListResponse++; |
| 1829 if (buildCounterLiveBroadcastListResponse < 3) { | 1890 if (buildCounterLiveBroadcastListResponse < 3) { |
| 1830 unittest.expect(o.etag, unittest.equals('foo')); | 1891 unittest.expect(o.etag, unittest.equals('foo')); |
| 1831 unittest.expect(o.eventId, unittest.equals('foo')); | 1892 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1832 checkUnnamed1153(o.items); | 1893 checkUnnamed377(o.items); |
| 1833 unittest.expect(o.kind, unittest.equals('foo')); | 1894 unittest.expect(o.kind, unittest.equals('foo')); |
| 1834 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1835 checkPageInfo(o.pageInfo); | 1896 checkPageInfo(o.pageInfo); |
| 1836 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1897 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1837 checkTokenPagination(o.tokenPagination); | 1898 checkTokenPagination(o.tokenPagination); |
| 1838 unittest.expect(o.visitorId, unittest.equals('foo')); | 1899 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1839 } | 1900 } |
| 1840 buildCounterLiveBroadcastListResponse--; | 1901 buildCounterLiveBroadcastListResponse--; |
| 1841 } | 1902 } |
| 1842 | 1903 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1945 | 2006 |
| 1946 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 2007 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 1947 buildCounterLiveStreamContentDetails++; | 2008 buildCounterLiveStreamContentDetails++; |
| 1948 if (buildCounterLiveStreamContentDetails < 3) { | 2009 if (buildCounterLiveStreamContentDetails < 3) { |
| 1949 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 2010 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 1950 unittest.expect(o.isReusable, unittest.isTrue); | 2011 unittest.expect(o.isReusable, unittest.isTrue); |
| 1951 } | 2012 } |
| 1952 buildCounterLiveStreamContentDetails--; | 2013 buildCounterLiveStreamContentDetails--; |
| 1953 } | 2014 } |
| 1954 | 2015 |
| 1955 buildUnnamed1154() { | 2016 buildUnnamed378() { |
| 1956 var o = new core.List<api.LiveStream>(); | 2017 var o = new core.List<api.LiveStream>(); |
| 1957 o.add(buildLiveStream()); | 2018 o.add(buildLiveStream()); |
| 1958 o.add(buildLiveStream()); | 2019 o.add(buildLiveStream()); |
| 1959 return o; | 2020 return o; |
| 1960 } | 2021 } |
| 1961 | 2022 |
| 1962 checkUnnamed1154(core.List<api.LiveStream> o) { | 2023 checkUnnamed378(core.List<api.LiveStream> o) { |
| 1963 unittest.expect(o, unittest.hasLength(2)); | 2024 unittest.expect(o, unittest.hasLength(2)); |
| 1964 checkLiveStream(o[0]); | 2025 checkLiveStream(o[0]); |
| 1965 checkLiveStream(o[1]); | 2026 checkLiveStream(o[1]); |
| 1966 } | 2027 } |
| 1967 | 2028 |
| 1968 core.int buildCounterLiveStreamListResponse = 0; | 2029 core.int buildCounterLiveStreamListResponse = 0; |
| 1969 buildLiveStreamListResponse() { | 2030 buildLiveStreamListResponse() { |
| 1970 var o = new api.LiveStreamListResponse(); | 2031 var o = new api.LiveStreamListResponse(); |
| 1971 buildCounterLiveStreamListResponse++; | 2032 buildCounterLiveStreamListResponse++; |
| 1972 if (buildCounterLiveStreamListResponse < 3) { | 2033 if (buildCounterLiveStreamListResponse < 3) { |
| 1973 o.etag = "foo"; | 2034 o.etag = "foo"; |
| 1974 o.eventId = "foo"; | 2035 o.eventId = "foo"; |
| 1975 o.items = buildUnnamed1154(); | 2036 o.items = buildUnnamed378(); |
| 1976 o.kind = "foo"; | 2037 o.kind = "foo"; |
| 1977 o.nextPageToken = "foo"; | 2038 o.nextPageToken = "foo"; |
| 1978 o.pageInfo = buildPageInfo(); | 2039 o.pageInfo = buildPageInfo(); |
| 1979 o.prevPageToken = "foo"; | 2040 o.prevPageToken = "foo"; |
| 1980 o.tokenPagination = buildTokenPagination(); | 2041 o.tokenPagination = buildTokenPagination(); |
| 1981 o.visitorId = "foo"; | 2042 o.visitorId = "foo"; |
| 1982 } | 2043 } |
| 1983 buildCounterLiveStreamListResponse--; | 2044 buildCounterLiveStreamListResponse--; |
| 1984 return o; | 2045 return o; |
| 1985 } | 2046 } |
| 1986 | 2047 |
| 1987 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 2048 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 1988 buildCounterLiveStreamListResponse++; | 2049 buildCounterLiveStreamListResponse++; |
| 1989 if (buildCounterLiveStreamListResponse < 3) { | 2050 if (buildCounterLiveStreamListResponse < 3) { |
| 1990 unittest.expect(o.etag, unittest.equals('foo')); | 2051 unittest.expect(o.etag, unittest.equals('foo')); |
| 1991 unittest.expect(o.eventId, unittest.equals('foo')); | 2052 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1992 checkUnnamed1154(o.items); | 2053 checkUnnamed378(o.items); |
| 1993 unittest.expect(o.kind, unittest.equals('foo')); | 2054 unittest.expect(o.kind, unittest.equals('foo')); |
| 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2055 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1995 checkPageInfo(o.pageInfo); | 2056 checkPageInfo(o.pageInfo); |
| 1996 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2057 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1997 checkTokenPagination(o.tokenPagination); | 2058 checkTokenPagination(o.tokenPagination); |
| 1998 unittest.expect(o.visitorId, unittest.equals('foo')); | 2059 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1999 } | 2060 } |
| 2000 buildCounterLiveStreamListResponse--; | 2061 buildCounterLiveStreamListResponse--; |
| 2001 } | 2062 } |
| 2002 | 2063 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2037 } | 2098 } |
| 2038 | 2099 |
| 2039 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2100 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 2040 buildCounterLiveStreamStatus++; | 2101 buildCounterLiveStreamStatus++; |
| 2041 if (buildCounterLiveStreamStatus < 3) { | 2102 if (buildCounterLiveStreamStatus < 3) { |
| 2042 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2103 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 2043 } | 2104 } |
| 2044 buildCounterLiveStreamStatus--; | 2105 buildCounterLiveStreamStatus--; |
| 2045 } | 2106 } |
| 2046 | 2107 |
| 2047 buildUnnamed1155() { | 2108 buildUnnamed379() { |
| 2048 var o = new core.List<api.LocalizedString>(); | 2109 var o = new core.List<api.LocalizedString>(); |
| 2049 o.add(buildLocalizedString()); | 2110 o.add(buildLocalizedString()); |
| 2050 o.add(buildLocalizedString()); | 2111 o.add(buildLocalizedString()); |
| 2051 return o; | 2112 return o; |
| 2052 } | 2113 } |
| 2053 | 2114 |
| 2054 checkUnnamed1155(core.List<api.LocalizedString> o) { | 2115 checkUnnamed379(core.List<api.LocalizedString> o) { |
| 2055 unittest.expect(o, unittest.hasLength(2)); | 2116 unittest.expect(o, unittest.hasLength(2)); |
| 2056 checkLocalizedString(o[0]); | 2117 checkLocalizedString(o[0]); |
| 2057 checkLocalizedString(o[1]); | 2118 checkLocalizedString(o[1]); |
| 2058 } | 2119 } |
| 2059 | 2120 |
| 2060 core.int buildCounterLocalizedProperty = 0; | 2121 core.int buildCounterLocalizedProperty = 0; |
| 2061 buildLocalizedProperty() { | 2122 buildLocalizedProperty() { |
| 2062 var o = new api.LocalizedProperty(); | 2123 var o = new api.LocalizedProperty(); |
| 2063 buildCounterLocalizedProperty++; | 2124 buildCounterLocalizedProperty++; |
| 2064 if (buildCounterLocalizedProperty < 3) { | 2125 if (buildCounterLocalizedProperty < 3) { |
| 2065 o.default_ = "foo"; | 2126 o.default_ = "foo"; |
| 2066 o.localized = buildUnnamed1155(); | 2127 o.defaultLanguage = buildLanguageTag(); |
| 2128 o.localized = buildUnnamed379(); |
| 2067 } | 2129 } |
| 2068 buildCounterLocalizedProperty--; | 2130 buildCounterLocalizedProperty--; |
| 2069 return o; | 2131 return o; |
| 2070 } | 2132 } |
| 2071 | 2133 |
| 2072 checkLocalizedProperty(api.LocalizedProperty o) { | 2134 checkLocalizedProperty(api.LocalizedProperty o) { |
| 2073 buildCounterLocalizedProperty++; | 2135 buildCounterLocalizedProperty++; |
| 2074 if (buildCounterLocalizedProperty < 3) { | 2136 if (buildCounterLocalizedProperty < 3) { |
| 2075 unittest.expect(o.default_, unittest.equals('foo')); | 2137 unittest.expect(o.default_, unittest.equals('foo')); |
| 2076 checkUnnamed1155(o.localized); | 2138 checkLanguageTag(o.defaultLanguage); |
| 2139 checkUnnamed379(o.localized); |
| 2077 } | 2140 } |
| 2078 buildCounterLocalizedProperty--; | 2141 buildCounterLocalizedProperty--; |
| 2079 } | 2142 } |
| 2080 | 2143 |
| 2081 core.int buildCounterLocalizedString = 0; | 2144 core.int buildCounterLocalizedString = 0; |
| 2082 buildLocalizedString() { | 2145 buildLocalizedString() { |
| 2083 var o = new api.LocalizedString(); | 2146 var o = new api.LocalizedString(); |
| 2084 buildCounterLocalizedString++; | 2147 buildCounterLocalizedString++; |
| 2085 if (buildCounterLocalizedString < 3) { | 2148 if (buildCounterLocalizedString < 3) { |
| 2086 o.language = "foo"; | 2149 o.language = "foo"; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2240 buildCounterPlaylistItemContentDetails++; | 2303 buildCounterPlaylistItemContentDetails++; |
| 2241 if (buildCounterPlaylistItemContentDetails < 3) { | 2304 if (buildCounterPlaylistItemContentDetails < 3) { |
| 2242 unittest.expect(o.endAt, unittest.equals('foo')); | 2305 unittest.expect(o.endAt, unittest.equals('foo')); |
| 2243 unittest.expect(o.note, unittest.equals('foo')); | 2306 unittest.expect(o.note, unittest.equals('foo')); |
| 2244 unittest.expect(o.startAt, unittest.equals('foo')); | 2307 unittest.expect(o.startAt, unittest.equals('foo')); |
| 2245 unittest.expect(o.videoId, unittest.equals('foo')); | 2308 unittest.expect(o.videoId, unittest.equals('foo')); |
| 2246 } | 2309 } |
| 2247 buildCounterPlaylistItemContentDetails--; | 2310 buildCounterPlaylistItemContentDetails--; |
| 2248 } | 2311 } |
| 2249 | 2312 |
| 2250 buildUnnamed1156() { | 2313 buildUnnamed380() { |
| 2251 var o = new core.List<api.PlaylistItem>(); | 2314 var o = new core.List<api.PlaylistItem>(); |
| 2252 o.add(buildPlaylistItem()); | 2315 o.add(buildPlaylistItem()); |
| 2253 o.add(buildPlaylistItem()); | 2316 o.add(buildPlaylistItem()); |
| 2254 return o; | 2317 return o; |
| 2255 } | 2318 } |
| 2256 | 2319 |
| 2257 checkUnnamed1156(core.List<api.PlaylistItem> o) { | 2320 checkUnnamed380(core.List<api.PlaylistItem> o) { |
| 2258 unittest.expect(o, unittest.hasLength(2)); | 2321 unittest.expect(o, unittest.hasLength(2)); |
| 2259 checkPlaylistItem(o[0]); | 2322 checkPlaylistItem(o[0]); |
| 2260 checkPlaylistItem(o[1]); | 2323 checkPlaylistItem(o[1]); |
| 2261 } | 2324 } |
| 2262 | 2325 |
| 2263 core.int buildCounterPlaylistItemListResponse = 0; | 2326 core.int buildCounterPlaylistItemListResponse = 0; |
| 2264 buildPlaylistItemListResponse() { | 2327 buildPlaylistItemListResponse() { |
| 2265 var o = new api.PlaylistItemListResponse(); | 2328 var o = new api.PlaylistItemListResponse(); |
| 2266 buildCounterPlaylistItemListResponse++; | 2329 buildCounterPlaylistItemListResponse++; |
| 2267 if (buildCounterPlaylistItemListResponse < 3) { | 2330 if (buildCounterPlaylistItemListResponse < 3) { |
| 2268 o.etag = "foo"; | 2331 o.etag = "foo"; |
| 2269 o.eventId = "foo"; | 2332 o.eventId = "foo"; |
| 2270 o.items = buildUnnamed1156(); | 2333 o.items = buildUnnamed380(); |
| 2271 o.kind = "foo"; | 2334 o.kind = "foo"; |
| 2272 o.nextPageToken = "foo"; | 2335 o.nextPageToken = "foo"; |
| 2273 o.pageInfo = buildPageInfo(); | 2336 o.pageInfo = buildPageInfo(); |
| 2274 o.prevPageToken = "foo"; | 2337 o.prevPageToken = "foo"; |
| 2275 o.tokenPagination = buildTokenPagination(); | 2338 o.tokenPagination = buildTokenPagination(); |
| 2276 o.visitorId = "foo"; | 2339 o.visitorId = "foo"; |
| 2277 } | 2340 } |
| 2278 buildCounterPlaylistItemListResponse--; | 2341 buildCounterPlaylistItemListResponse--; |
| 2279 return o; | 2342 return o; |
| 2280 } | 2343 } |
| 2281 | 2344 |
| 2282 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 2345 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 2283 buildCounterPlaylistItemListResponse++; | 2346 buildCounterPlaylistItemListResponse++; |
| 2284 if (buildCounterPlaylistItemListResponse < 3) { | 2347 if (buildCounterPlaylistItemListResponse < 3) { |
| 2285 unittest.expect(o.etag, unittest.equals('foo')); | 2348 unittest.expect(o.etag, unittest.equals('foo')); |
| 2286 unittest.expect(o.eventId, unittest.equals('foo')); | 2349 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2287 checkUnnamed1156(o.items); | 2350 checkUnnamed380(o.items); |
| 2288 unittest.expect(o.kind, unittest.equals('foo')); | 2351 unittest.expect(o.kind, unittest.equals('foo')); |
| 2289 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2352 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2290 checkPageInfo(o.pageInfo); | 2353 checkPageInfo(o.pageInfo); |
| 2291 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2354 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2292 checkTokenPagination(o.tokenPagination); | 2355 checkTokenPagination(o.tokenPagination); |
| 2293 unittest.expect(o.visitorId, unittest.equals('foo')); | 2356 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2294 } | 2357 } |
| 2295 buildCounterPlaylistItemListResponse--; | 2358 buildCounterPlaylistItemListResponse--; |
| 2296 } | 2359 } |
| 2297 | 2360 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2342 } | 2405 } |
| 2343 | 2406 |
| 2344 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 2407 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 2345 buildCounterPlaylistItemStatus++; | 2408 buildCounterPlaylistItemStatus++; |
| 2346 if (buildCounterPlaylistItemStatus < 3) { | 2409 if (buildCounterPlaylistItemStatus < 3) { |
| 2347 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 2410 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 2348 } | 2411 } |
| 2349 buildCounterPlaylistItemStatus--; | 2412 buildCounterPlaylistItemStatus--; |
| 2350 } | 2413 } |
| 2351 | 2414 |
| 2352 buildUnnamed1157() { | 2415 buildUnnamed381() { |
| 2353 var o = new core.List<api.Playlist>(); | 2416 var o = new core.List<api.Playlist>(); |
| 2354 o.add(buildPlaylist()); | 2417 o.add(buildPlaylist()); |
| 2355 o.add(buildPlaylist()); | 2418 o.add(buildPlaylist()); |
| 2356 return o; | 2419 return o; |
| 2357 } | 2420 } |
| 2358 | 2421 |
| 2359 checkUnnamed1157(core.List<api.Playlist> o) { | 2422 checkUnnamed381(core.List<api.Playlist> o) { |
| 2360 unittest.expect(o, unittest.hasLength(2)); | 2423 unittest.expect(o, unittest.hasLength(2)); |
| 2361 checkPlaylist(o[0]); | 2424 checkPlaylist(o[0]); |
| 2362 checkPlaylist(o[1]); | 2425 checkPlaylist(o[1]); |
| 2363 } | 2426 } |
| 2364 | 2427 |
| 2365 core.int buildCounterPlaylistListResponse = 0; | 2428 core.int buildCounterPlaylistListResponse = 0; |
| 2366 buildPlaylistListResponse() { | 2429 buildPlaylistListResponse() { |
| 2367 var o = new api.PlaylistListResponse(); | 2430 var o = new api.PlaylistListResponse(); |
| 2368 buildCounterPlaylistListResponse++; | 2431 buildCounterPlaylistListResponse++; |
| 2369 if (buildCounterPlaylistListResponse < 3) { | 2432 if (buildCounterPlaylistListResponse < 3) { |
| 2370 o.etag = "foo"; | 2433 o.etag = "foo"; |
| 2371 o.eventId = "foo"; | 2434 o.eventId = "foo"; |
| 2372 o.items = buildUnnamed1157(); | 2435 o.items = buildUnnamed381(); |
| 2373 o.kind = "foo"; | 2436 o.kind = "foo"; |
| 2374 o.nextPageToken = "foo"; | 2437 o.nextPageToken = "foo"; |
| 2375 o.pageInfo = buildPageInfo(); | 2438 o.pageInfo = buildPageInfo(); |
| 2376 o.prevPageToken = "foo"; | 2439 o.prevPageToken = "foo"; |
| 2377 o.tokenPagination = buildTokenPagination(); | 2440 o.tokenPagination = buildTokenPagination(); |
| 2378 o.visitorId = "foo"; | 2441 o.visitorId = "foo"; |
| 2379 } | 2442 } |
| 2380 buildCounterPlaylistListResponse--; | 2443 buildCounterPlaylistListResponse--; |
| 2381 return o; | 2444 return o; |
| 2382 } | 2445 } |
| 2383 | 2446 |
| 2384 checkPlaylistListResponse(api.PlaylistListResponse o) { | 2447 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 2385 buildCounterPlaylistListResponse++; | 2448 buildCounterPlaylistListResponse++; |
| 2386 if (buildCounterPlaylistListResponse < 3) { | 2449 if (buildCounterPlaylistListResponse < 3) { |
| 2387 unittest.expect(o.etag, unittest.equals('foo')); | 2450 unittest.expect(o.etag, unittest.equals('foo')); |
| 2388 unittest.expect(o.eventId, unittest.equals('foo')); | 2451 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2389 checkUnnamed1157(o.items); | 2452 checkUnnamed381(o.items); |
| 2390 unittest.expect(o.kind, unittest.equals('foo')); | 2453 unittest.expect(o.kind, unittest.equals('foo')); |
| 2391 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2454 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2392 checkPageInfo(o.pageInfo); | 2455 checkPageInfo(o.pageInfo); |
| 2393 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2456 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2394 checkTokenPagination(o.tokenPagination); | 2457 checkTokenPagination(o.tokenPagination); |
| 2395 unittest.expect(o.visitorId, unittest.equals('foo')); | 2458 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2396 } | 2459 } |
| 2397 buildCounterPlaylistListResponse--; | 2460 buildCounterPlaylistListResponse--; |
| 2398 } | 2461 } |
| 2399 | 2462 |
| 2400 core.int buildCounterPlaylistPlayer = 0; | 2463 core.int buildCounterPlaylistPlayer = 0; |
| 2401 buildPlaylistPlayer() { | 2464 buildPlaylistPlayer() { |
| 2402 var o = new api.PlaylistPlayer(); | 2465 var o = new api.PlaylistPlayer(); |
| 2403 buildCounterPlaylistPlayer++; | 2466 buildCounterPlaylistPlayer++; |
| 2404 if (buildCounterPlaylistPlayer < 3) { | 2467 if (buildCounterPlaylistPlayer < 3) { |
| 2405 o.embedHtml = "foo"; | 2468 o.embedHtml = "foo"; |
| 2406 } | 2469 } |
| 2407 buildCounterPlaylistPlayer--; | 2470 buildCounterPlaylistPlayer--; |
| 2408 return o; | 2471 return o; |
| 2409 } | 2472 } |
| 2410 | 2473 |
| 2411 checkPlaylistPlayer(api.PlaylistPlayer o) { | 2474 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 2412 buildCounterPlaylistPlayer++; | 2475 buildCounterPlaylistPlayer++; |
| 2413 if (buildCounterPlaylistPlayer < 3) { | 2476 if (buildCounterPlaylistPlayer < 3) { |
| 2414 unittest.expect(o.embedHtml, unittest.equals('foo')); | 2477 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 2415 } | 2478 } |
| 2416 buildCounterPlaylistPlayer--; | 2479 buildCounterPlaylistPlayer--; |
| 2417 } | 2480 } |
| 2418 | 2481 |
| 2419 buildUnnamed1158() { | 2482 buildUnnamed382() { |
| 2420 var o = new core.List<core.String>(); | 2483 var o = new core.List<core.String>(); |
| 2421 o.add("foo"); | 2484 o.add("foo"); |
| 2422 o.add("foo"); | 2485 o.add("foo"); |
| 2423 return o; | 2486 return o; |
| 2424 } | 2487 } |
| 2425 | 2488 |
| 2426 checkUnnamed1158(core.List<core.String> o) { | 2489 checkUnnamed382(core.List<core.String> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2490 unittest.expect(o, unittest.hasLength(2)); |
| 2428 unittest.expect(o[0], unittest.equals('foo')); | 2491 unittest.expect(o[0], unittest.equals('foo')); |
| 2429 unittest.expect(o[1], unittest.equals('foo')); | 2492 unittest.expect(o[1], unittest.equals('foo')); |
| 2430 } | 2493 } |
| 2431 | 2494 |
| 2432 core.int buildCounterPlaylistSnippet = 0; | 2495 core.int buildCounterPlaylistSnippet = 0; |
| 2433 buildPlaylistSnippet() { | 2496 buildPlaylistSnippet() { |
| 2434 var o = new api.PlaylistSnippet(); | 2497 var o = new api.PlaylistSnippet(); |
| 2435 buildCounterPlaylistSnippet++; | 2498 buildCounterPlaylistSnippet++; |
| 2436 if (buildCounterPlaylistSnippet < 3) { | 2499 if (buildCounterPlaylistSnippet < 3) { |
| 2437 o.channelId = "foo"; | 2500 o.channelId = "foo"; |
| 2438 o.channelTitle = "foo"; | 2501 o.channelTitle = "foo"; |
| 2439 o.description = "foo"; | 2502 o.description = "foo"; |
| 2440 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2503 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2441 o.tags = buildUnnamed1158(); | 2504 o.tags = buildUnnamed382(); |
| 2442 o.thumbnails = buildThumbnailDetails(); | 2505 o.thumbnails = buildThumbnailDetails(); |
| 2443 o.title = "foo"; | 2506 o.title = "foo"; |
| 2444 } | 2507 } |
| 2445 buildCounterPlaylistSnippet--; | 2508 buildCounterPlaylistSnippet--; |
| 2446 return o; | 2509 return o; |
| 2447 } | 2510 } |
| 2448 | 2511 |
| 2449 checkPlaylistSnippet(api.PlaylistSnippet o) { | 2512 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 2450 buildCounterPlaylistSnippet++; | 2513 buildCounterPlaylistSnippet++; |
| 2451 if (buildCounterPlaylistSnippet < 3) { | 2514 if (buildCounterPlaylistSnippet < 3) { |
| 2452 unittest.expect(o.channelId, unittest.equals('foo')); | 2515 unittest.expect(o.channelId, unittest.equals('foo')); |
| 2453 unittest.expect(o.channelTitle, unittest.equals('foo')); | 2516 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 2454 unittest.expect(o.description, unittest.equals('foo')); | 2517 unittest.expect(o.description, unittest.equals('foo')); |
| 2455 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 2518 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 2456 checkUnnamed1158(o.tags); | 2519 checkUnnamed382(o.tags); |
| 2457 checkThumbnailDetails(o.thumbnails); | 2520 checkThumbnailDetails(o.thumbnails); |
| 2458 unittest.expect(o.title, unittest.equals('foo')); | 2521 unittest.expect(o.title, unittest.equals('foo')); |
| 2459 } | 2522 } |
| 2460 buildCounterPlaylistSnippet--; | 2523 buildCounterPlaylistSnippet--; |
| 2461 } | 2524 } |
| 2462 | 2525 |
| 2463 core.int buildCounterPlaylistStatus = 0; | 2526 core.int buildCounterPlaylistStatus = 0; |
| 2464 buildPlaylistStatus() { | 2527 buildPlaylistStatus() { |
| 2465 var o = new api.PlaylistStatus(); | 2528 var o = new api.PlaylistStatus(); |
| 2466 buildCounterPlaylistStatus++; | 2529 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2568 buildCounterResourceId++; | 2631 buildCounterResourceId++; |
| 2569 if (buildCounterResourceId < 3) { | 2632 if (buildCounterResourceId < 3) { |
| 2570 unittest.expect(o.channelId, unittest.equals('foo')); | 2633 unittest.expect(o.channelId, unittest.equals('foo')); |
| 2571 unittest.expect(o.kind, unittest.equals('foo')); | 2634 unittest.expect(o.kind, unittest.equals('foo')); |
| 2572 unittest.expect(o.playlistId, unittest.equals('foo')); | 2635 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 2573 unittest.expect(o.videoId, unittest.equals('foo')); | 2636 unittest.expect(o.videoId, unittest.equals('foo')); |
| 2574 } | 2637 } |
| 2575 buildCounterResourceId--; | 2638 buildCounterResourceId--; |
| 2576 } | 2639 } |
| 2577 | 2640 |
| 2578 buildUnnamed1159() { | 2641 buildUnnamed383() { |
| 2579 var o = new core.List<api.SearchResult>(); | 2642 var o = new core.List<api.SearchResult>(); |
| 2580 o.add(buildSearchResult()); | 2643 o.add(buildSearchResult()); |
| 2581 o.add(buildSearchResult()); | 2644 o.add(buildSearchResult()); |
| 2582 return o; | 2645 return o; |
| 2583 } | 2646 } |
| 2584 | 2647 |
| 2585 checkUnnamed1159(core.List<api.SearchResult> o) { | 2648 checkUnnamed383(core.List<api.SearchResult> o) { |
| 2586 unittest.expect(o, unittest.hasLength(2)); | 2649 unittest.expect(o, unittest.hasLength(2)); |
| 2587 checkSearchResult(o[0]); | 2650 checkSearchResult(o[0]); |
| 2588 checkSearchResult(o[1]); | 2651 checkSearchResult(o[1]); |
| 2589 } | 2652 } |
| 2590 | 2653 |
| 2591 core.int buildCounterSearchListResponse = 0; | 2654 core.int buildCounterSearchListResponse = 0; |
| 2592 buildSearchListResponse() { | 2655 buildSearchListResponse() { |
| 2593 var o = new api.SearchListResponse(); | 2656 var o = new api.SearchListResponse(); |
| 2594 buildCounterSearchListResponse++; | 2657 buildCounterSearchListResponse++; |
| 2595 if (buildCounterSearchListResponse < 3) { | 2658 if (buildCounterSearchListResponse < 3) { |
| 2596 o.etag = "foo"; | 2659 o.etag = "foo"; |
| 2597 o.eventId = "foo"; | 2660 o.eventId = "foo"; |
| 2598 o.items = buildUnnamed1159(); | 2661 o.items = buildUnnamed383(); |
| 2599 o.kind = "foo"; | 2662 o.kind = "foo"; |
| 2600 o.nextPageToken = "foo"; | 2663 o.nextPageToken = "foo"; |
| 2601 o.pageInfo = buildPageInfo(); | 2664 o.pageInfo = buildPageInfo(); |
| 2602 o.prevPageToken = "foo"; | 2665 o.prevPageToken = "foo"; |
| 2603 o.tokenPagination = buildTokenPagination(); | 2666 o.tokenPagination = buildTokenPagination(); |
| 2604 o.visitorId = "foo"; | 2667 o.visitorId = "foo"; |
| 2605 } | 2668 } |
| 2606 buildCounterSearchListResponse--; | 2669 buildCounterSearchListResponse--; |
| 2607 return o; | 2670 return o; |
| 2608 } | 2671 } |
| 2609 | 2672 |
| 2610 checkSearchListResponse(api.SearchListResponse o) { | 2673 checkSearchListResponse(api.SearchListResponse o) { |
| 2611 buildCounterSearchListResponse++; | 2674 buildCounterSearchListResponse++; |
| 2612 if (buildCounterSearchListResponse < 3) { | 2675 if (buildCounterSearchListResponse < 3) { |
| 2613 unittest.expect(o.etag, unittest.equals('foo')); | 2676 unittest.expect(o.etag, unittest.equals('foo')); |
| 2614 unittest.expect(o.eventId, unittest.equals('foo')); | 2677 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2615 checkUnnamed1159(o.items); | 2678 checkUnnamed383(o.items); |
| 2616 unittest.expect(o.kind, unittest.equals('foo')); | 2679 unittest.expect(o.kind, unittest.equals('foo')); |
| 2617 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2680 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2618 checkPageInfo(o.pageInfo); | 2681 checkPageInfo(o.pageInfo); |
| 2619 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2682 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2620 checkTokenPagination(o.tokenPagination); | 2683 checkTokenPagination(o.tokenPagination); |
| 2621 unittest.expect(o.visitorId, unittest.equals('foo')); | 2684 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2622 } | 2685 } |
| 2623 buildCounterSearchListResponse--; | 2686 buildCounterSearchListResponse--; |
| 2624 } | 2687 } |
| 2625 | 2688 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2724 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 2787 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 2725 buildCounterSubscriptionContentDetails++; | 2788 buildCounterSubscriptionContentDetails++; |
| 2726 if (buildCounterSubscriptionContentDetails < 3) { | 2789 if (buildCounterSubscriptionContentDetails < 3) { |
| 2727 unittest.expect(o.activityType, unittest.equals('foo')); | 2790 unittest.expect(o.activityType, unittest.equals('foo')); |
| 2728 unittest.expect(o.newItemCount, unittest.equals(42)); | 2791 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 2729 unittest.expect(o.totalItemCount, unittest.equals(42)); | 2792 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 2730 } | 2793 } |
| 2731 buildCounterSubscriptionContentDetails--; | 2794 buildCounterSubscriptionContentDetails--; |
| 2732 } | 2795 } |
| 2733 | 2796 |
| 2734 buildUnnamed1160() { | 2797 buildUnnamed384() { |
| 2735 var o = new core.List<api.Subscription>(); | 2798 var o = new core.List<api.Subscription>(); |
| 2736 o.add(buildSubscription()); | 2799 o.add(buildSubscription()); |
| 2737 o.add(buildSubscription()); | 2800 o.add(buildSubscription()); |
| 2738 return o; | 2801 return o; |
| 2739 } | 2802 } |
| 2740 | 2803 |
| 2741 checkUnnamed1160(core.List<api.Subscription> o) { | 2804 checkUnnamed384(core.List<api.Subscription> o) { |
| 2742 unittest.expect(o, unittest.hasLength(2)); | 2805 unittest.expect(o, unittest.hasLength(2)); |
| 2743 checkSubscription(o[0]); | 2806 checkSubscription(o[0]); |
| 2744 checkSubscription(o[1]); | 2807 checkSubscription(o[1]); |
| 2745 } | 2808 } |
| 2746 | 2809 |
| 2747 core.int buildCounterSubscriptionListResponse = 0; | 2810 core.int buildCounterSubscriptionListResponse = 0; |
| 2748 buildSubscriptionListResponse() { | 2811 buildSubscriptionListResponse() { |
| 2749 var o = new api.SubscriptionListResponse(); | 2812 var o = new api.SubscriptionListResponse(); |
| 2750 buildCounterSubscriptionListResponse++; | 2813 buildCounterSubscriptionListResponse++; |
| 2751 if (buildCounterSubscriptionListResponse < 3) { | 2814 if (buildCounterSubscriptionListResponse < 3) { |
| 2752 o.etag = "foo"; | 2815 o.etag = "foo"; |
| 2753 o.eventId = "foo"; | 2816 o.eventId = "foo"; |
| 2754 o.items = buildUnnamed1160(); | 2817 o.items = buildUnnamed384(); |
| 2755 o.kind = "foo"; | 2818 o.kind = "foo"; |
| 2756 o.nextPageToken = "foo"; | 2819 o.nextPageToken = "foo"; |
| 2757 o.pageInfo = buildPageInfo(); | 2820 o.pageInfo = buildPageInfo(); |
| 2758 o.prevPageToken = "foo"; | 2821 o.prevPageToken = "foo"; |
| 2759 o.tokenPagination = buildTokenPagination(); | 2822 o.tokenPagination = buildTokenPagination(); |
| 2760 o.visitorId = "foo"; | 2823 o.visitorId = "foo"; |
| 2761 } | 2824 } |
| 2762 buildCounterSubscriptionListResponse--; | 2825 buildCounterSubscriptionListResponse--; |
| 2763 return o; | 2826 return o; |
| 2764 } | 2827 } |
| 2765 | 2828 |
| 2766 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 2829 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 2767 buildCounterSubscriptionListResponse++; | 2830 buildCounterSubscriptionListResponse++; |
| 2768 if (buildCounterSubscriptionListResponse < 3) { | 2831 if (buildCounterSubscriptionListResponse < 3) { |
| 2769 unittest.expect(o.etag, unittest.equals('foo')); | 2832 unittest.expect(o.etag, unittest.equals('foo')); |
| 2770 unittest.expect(o.eventId, unittest.equals('foo')); | 2833 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2771 checkUnnamed1160(o.items); | 2834 checkUnnamed384(o.items); |
| 2772 unittest.expect(o.kind, unittest.equals('foo')); | 2835 unittest.expect(o.kind, unittest.equals('foo')); |
| 2773 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2836 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2774 checkPageInfo(o.pageInfo); | 2837 checkPageInfo(o.pageInfo); |
| 2775 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2838 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2776 checkTokenPagination(o.tokenPagination); | 2839 checkTokenPagination(o.tokenPagination); |
| 2777 unittest.expect(o.visitorId, unittest.equals('foo')); | 2840 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2778 } | 2841 } |
| 2779 buildCounterSubscriptionListResponse--; | 2842 buildCounterSubscriptionListResponse--; |
| 2780 } | 2843 } |
| 2781 | 2844 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2878 if (buildCounterThumbnailDetails < 3) { | 2941 if (buildCounterThumbnailDetails < 3) { |
| 2879 checkThumbnail(o.default_); | 2942 checkThumbnail(o.default_); |
| 2880 checkThumbnail(o.high); | 2943 checkThumbnail(o.high); |
| 2881 checkThumbnail(o.maxres); | 2944 checkThumbnail(o.maxres); |
| 2882 checkThumbnail(o.medium); | 2945 checkThumbnail(o.medium); |
| 2883 checkThumbnail(o.standard); | 2946 checkThumbnail(o.standard); |
| 2884 } | 2947 } |
| 2885 buildCounterThumbnailDetails--; | 2948 buildCounterThumbnailDetails--; |
| 2886 } | 2949 } |
| 2887 | 2950 |
| 2888 buildUnnamed1161() { | 2951 buildUnnamed385() { |
| 2889 var o = new core.List<api.ThumbnailDetails>(); | 2952 var o = new core.List<api.ThumbnailDetails>(); |
| 2890 o.add(buildThumbnailDetails()); | 2953 o.add(buildThumbnailDetails()); |
| 2891 o.add(buildThumbnailDetails()); | 2954 o.add(buildThumbnailDetails()); |
| 2892 return o; | 2955 return o; |
| 2893 } | 2956 } |
| 2894 | 2957 |
| 2895 checkUnnamed1161(core.List<api.ThumbnailDetails> o) { | 2958 checkUnnamed385(core.List<api.ThumbnailDetails> o) { |
| 2896 unittest.expect(o, unittest.hasLength(2)); | 2959 unittest.expect(o, unittest.hasLength(2)); |
| 2897 checkThumbnailDetails(o[0]); | 2960 checkThumbnailDetails(o[0]); |
| 2898 checkThumbnailDetails(o[1]); | 2961 checkThumbnailDetails(o[1]); |
| 2899 } | 2962 } |
| 2900 | 2963 |
| 2901 core.int buildCounterThumbnailSetResponse = 0; | 2964 core.int buildCounterThumbnailSetResponse = 0; |
| 2902 buildThumbnailSetResponse() { | 2965 buildThumbnailSetResponse() { |
| 2903 var o = new api.ThumbnailSetResponse(); | 2966 var o = new api.ThumbnailSetResponse(); |
| 2904 buildCounterThumbnailSetResponse++; | 2967 buildCounterThumbnailSetResponse++; |
| 2905 if (buildCounterThumbnailSetResponse < 3) { | 2968 if (buildCounterThumbnailSetResponse < 3) { |
| 2906 o.etag = "foo"; | 2969 o.etag = "foo"; |
| 2907 o.eventId = "foo"; | 2970 o.eventId = "foo"; |
| 2908 o.items = buildUnnamed1161(); | 2971 o.items = buildUnnamed385(); |
| 2909 o.kind = "foo"; | 2972 o.kind = "foo"; |
| 2910 o.visitorId = "foo"; | 2973 o.visitorId = "foo"; |
| 2911 } | 2974 } |
| 2912 buildCounterThumbnailSetResponse--; | 2975 buildCounterThumbnailSetResponse--; |
| 2913 return o; | 2976 return o; |
| 2914 } | 2977 } |
| 2915 | 2978 |
| 2916 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 2979 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 2917 buildCounterThumbnailSetResponse++; | 2980 buildCounterThumbnailSetResponse++; |
| 2918 if (buildCounterThumbnailSetResponse < 3) { | 2981 if (buildCounterThumbnailSetResponse < 3) { |
| 2919 unittest.expect(o.etag, unittest.equals('foo')); | 2982 unittest.expect(o.etag, unittest.equals('foo')); |
| 2920 unittest.expect(o.eventId, unittest.equals('foo')); | 2983 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2921 checkUnnamed1161(o.items); | 2984 checkUnnamed385(o.items); |
| 2922 unittest.expect(o.kind, unittest.equals('foo')); | 2985 unittest.expect(o.kind, unittest.equals('foo')); |
| 2923 unittest.expect(o.visitorId, unittest.equals('foo')); | 2986 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2924 } | 2987 } |
| 2925 buildCounterThumbnailSetResponse--; | 2988 buildCounterThumbnailSetResponse--; |
| 2926 } | 2989 } |
| 2927 | 2990 |
| 2928 core.int buildCounterTokenPagination = 0; | 2991 core.int buildCounterTokenPagination = 0; |
| 2929 buildTokenPagination() { | 2992 buildTokenPagination() { |
| 2930 var o = new api.TokenPagination(); | 2993 var o = new api.TokenPagination(); |
| 2931 buildCounterTokenPagination++; | 2994 buildCounterTokenPagination++; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3036 buildCounterVideoCategory++; | 3099 buildCounterVideoCategory++; |
| 3037 if (buildCounterVideoCategory < 3) { | 3100 if (buildCounterVideoCategory < 3) { |
| 3038 unittest.expect(o.etag, unittest.equals('foo')); | 3101 unittest.expect(o.etag, unittest.equals('foo')); |
| 3039 unittest.expect(o.id, unittest.equals('foo')); | 3102 unittest.expect(o.id, unittest.equals('foo')); |
| 3040 unittest.expect(o.kind, unittest.equals('foo')); | 3103 unittest.expect(o.kind, unittest.equals('foo')); |
| 3041 checkVideoCategorySnippet(o.snippet); | 3104 checkVideoCategorySnippet(o.snippet); |
| 3042 } | 3105 } |
| 3043 buildCounterVideoCategory--; | 3106 buildCounterVideoCategory--; |
| 3044 } | 3107 } |
| 3045 | 3108 |
| 3046 buildUnnamed1162() { | 3109 buildUnnamed386() { |
| 3047 var o = new core.List<api.VideoCategory>(); | 3110 var o = new core.List<api.VideoCategory>(); |
| 3048 o.add(buildVideoCategory()); | 3111 o.add(buildVideoCategory()); |
| 3049 o.add(buildVideoCategory()); | 3112 o.add(buildVideoCategory()); |
| 3050 return o; | 3113 return o; |
| 3051 } | 3114 } |
| 3052 | 3115 |
| 3053 checkUnnamed1162(core.List<api.VideoCategory> o) { | 3116 checkUnnamed386(core.List<api.VideoCategory> o) { |
| 3054 unittest.expect(o, unittest.hasLength(2)); | 3117 unittest.expect(o, unittest.hasLength(2)); |
| 3055 checkVideoCategory(o[0]); | 3118 checkVideoCategory(o[0]); |
| 3056 checkVideoCategory(o[1]); | 3119 checkVideoCategory(o[1]); |
| 3057 } | 3120 } |
| 3058 | 3121 |
| 3059 core.int buildCounterVideoCategoryListResponse = 0; | 3122 core.int buildCounterVideoCategoryListResponse = 0; |
| 3060 buildVideoCategoryListResponse() { | 3123 buildVideoCategoryListResponse() { |
| 3061 var o = new api.VideoCategoryListResponse(); | 3124 var o = new api.VideoCategoryListResponse(); |
| 3062 buildCounterVideoCategoryListResponse++; | 3125 buildCounterVideoCategoryListResponse++; |
| 3063 if (buildCounterVideoCategoryListResponse < 3) { | 3126 if (buildCounterVideoCategoryListResponse < 3) { |
| 3064 o.etag = "foo"; | 3127 o.etag = "foo"; |
| 3065 o.eventId = "foo"; | 3128 o.eventId = "foo"; |
| 3066 o.items = buildUnnamed1162(); | 3129 o.items = buildUnnamed386(); |
| 3067 o.kind = "foo"; | 3130 o.kind = "foo"; |
| 3068 o.nextPageToken = "foo"; | 3131 o.nextPageToken = "foo"; |
| 3069 o.pageInfo = buildPageInfo(); | 3132 o.pageInfo = buildPageInfo(); |
| 3070 o.prevPageToken = "foo"; | 3133 o.prevPageToken = "foo"; |
| 3071 o.tokenPagination = buildTokenPagination(); | 3134 o.tokenPagination = buildTokenPagination(); |
| 3072 o.visitorId = "foo"; | 3135 o.visitorId = "foo"; |
| 3073 } | 3136 } |
| 3074 buildCounterVideoCategoryListResponse--; | 3137 buildCounterVideoCategoryListResponse--; |
| 3075 return o; | 3138 return o; |
| 3076 } | 3139 } |
| 3077 | 3140 |
| 3078 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 3141 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 3079 buildCounterVideoCategoryListResponse++; | 3142 buildCounterVideoCategoryListResponse++; |
| 3080 if (buildCounterVideoCategoryListResponse < 3) { | 3143 if (buildCounterVideoCategoryListResponse < 3) { |
| 3081 unittest.expect(o.etag, unittest.equals('foo')); | 3144 unittest.expect(o.etag, unittest.equals('foo')); |
| 3082 unittest.expect(o.eventId, unittest.equals('foo')); | 3145 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3083 checkUnnamed1162(o.items); | 3146 checkUnnamed386(o.items); |
| 3084 unittest.expect(o.kind, unittest.equals('foo')); | 3147 unittest.expect(o.kind, unittest.equals('foo')); |
| 3085 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3148 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3086 checkPageInfo(o.pageInfo); | 3149 checkPageInfo(o.pageInfo); |
| 3087 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3150 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3088 checkTokenPagination(o.tokenPagination); | 3151 checkTokenPagination(o.tokenPagination); |
| 3089 unittest.expect(o.visitorId, unittest.equals('foo')); | 3152 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3090 } | 3153 } |
| 3091 buildCounterVideoCategoryListResponse--; | 3154 buildCounterVideoCategoryListResponse--; |
| 3092 } | 3155 } |
| 3093 | 3156 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3140 checkAccessPolicy(o.countryRestriction); | 3203 checkAccessPolicy(o.countryRestriction); |
| 3141 unittest.expect(o.definition, unittest.equals('foo')); | 3204 unittest.expect(o.definition, unittest.equals('foo')); |
| 3142 unittest.expect(o.dimension, unittest.equals('foo')); | 3205 unittest.expect(o.dimension, unittest.equals('foo')); |
| 3143 unittest.expect(o.duration, unittest.equals('foo')); | 3206 unittest.expect(o.duration, unittest.equals('foo')); |
| 3144 unittest.expect(o.licensedContent, unittest.isTrue); | 3207 unittest.expect(o.licensedContent, unittest.isTrue); |
| 3145 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 3208 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 3146 } | 3209 } |
| 3147 buildCounterVideoContentDetails--; | 3210 buildCounterVideoContentDetails--; |
| 3148 } | 3211 } |
| 3149 | 3212 |
| 3150 buildUnnamed1163() { | 3213 buildUnnamed387() { |
| 3151 var o = new core.List<core.String>(); | 3214 var o = new core.List<core.String>(); |
| 3152 o.add("foo"); | 3215 o.add("foo"); |
| 3153 o.add("foo"); | 3216 o.add("foo"); |
| 3154 return o; | 3217 return o; |
| 3155 } | 3218 } |
| 3156 | 3219 |
| 3157 checkUnnamed1163(core.List<core.String> o) { | 3220 checkUnnamed387(core.List<core.String> o) { |
| 3158 unittest.expect(o, unittest.hasLength(2)); | 3221 unittest.expect(o, unittest.hasLength(2)); |
| 3159 unittest.expect(o[0], unittest.equals('foo')); | 3222 unittest.expect(o[0], unittest.equals('foo')); |
| 3160 unittest.expect(o[1], unittest.equals('foo')); | 3223 unittest.expect(o[1], unittest.equals('foo')); |
| 3161 } | 3224 } |
| 3162 | 3225 |
| 3163 buildUnnamed1164() { | 3226 buildUnnamed388() { |
| 3164 var o = new core.List<core.String>(); | 3227 var o = new core.List<core.String>(); |
| 3165 o.add("foo"); | 3228 o.add("foo"); |
| 3166 o.add("foo"); | 3229 o.add("foo"); |
| 3167 return o; | 3230 return o; |
| 3168 } | 3231 } |
| 3169 | 3232 |
| 3170 checkUnnamed1164(core.List<core.String> o) { | 3233 checkUnnamed388(core.List<core.String> o) { |
| 3171 unittest.expect(o, unittest.hasLength(2)); | 3234 unittest.expect(o, unittest.hasLength(2)); |
| 3172 unittest.expect(o[0], unittest.equals('foo')); | 3235 unittest.expect(o[0], unittest.equals('foo')); |
| 3173 unittest.expect(o[1], unittest.equals('foo')); | 3236 unittest.expect(o[1], unittest.equals('foo')); |
| 3174 } | 3237 } |
| 3175 | 3238 |
| 3176 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 3239 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 3177 buildVideoContentDetailsRegionRestriction() { | 3240 buildVideoContentDetailsRegionRestriction() { |
| 3178 var o = new api.VideoContentDetailsRegionRestriction(); | 3241 var o = new api.VideoContentDetailsRegionRestriction(); |
| 3179 buildCounterVideoContentDetailsRegionRestriction++; | 3242 buildCounterVideoContentDetailsRegionRestriction++; |
| 3180 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3243 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 3181 o.allowed = buildUnnamed1163(); | 3244 o.allowed = buildUnnamed387(); |
| 3182 o.blocked = buildUnnamed1164(); | 3245 o.blocked = buildUnnamed388(); |
| 3183 } | 3246 } |
| 3184 buildCounterVideoContentDetailsRegionRestriction--; | 3247 buildCounterVideoContentDetailsRegionRestriction--; |
| 3185 return o; | 3248 return o; |
| 3186 } | 3249 } |
| 3187 | 3250 |
| 3188 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 3251 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 3189 buildCounterVideoContentDetailsRegionRestriction++; | 3252 buildCounterVideoContentDetailsRegionRestriction++; |
| 3190 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3253 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 3191 checkUnnamed1163(o.allowed); | 3254 checkUnnamed387(o.allowed); |
| 3192 checkUnnamed1164(o.blocked); | 3255 checkUnnamed388(o.blocked); |
| 3193 } | 3256 } |
| 3194 buildCounterVideoContentDetailsRegionRestriction--; | 3257 buildCounterVideoContentDetailsRegionRestriction--; |
| 3195 } | 3258 } |
| 3196 | 3259 |
| 3197 core.int buildCounterVideoConversionPing = 0; | 3260 core.int buildCounterVideoConversionPing = 0; |
| 3198 buildVideoConversionPing() { | 3261 buildVideoConversionPing() { |
| 3199 var o = new api.VideoConversionPing(); | 3262 var o = new api.VideoConversionPing(); |
| 3200 buildCounterVideoConversionPing++; | 3263 buildCounterVideoConversionPing++; |
| 3201 if (buildCounterVideoConversionPing < 3) { | 3264 if (buildCounterVideoConversionPing < 3) { |
| 3202 o.context = "foo"; | 3265 o.context = "foo"; |
| 3203 o.conversionUrl = "foo"; | 3266 o.conversionUrl = "foo"; |
| 3204 } | 3267 } |
| 3205 buildCounterVideoConversionPing--; | 3268 buildCounterVideoConversionPing--; |
| 3206 return o; | 3269 return o; |
| 3207 } | 3270 } |
| 3208 | 3271 |
| 3209 checkVideoConversionPing(api.VideoConversionPing o) { | 3272 checkVideoConversionPing(api.VideoConversionPing o) { |
| 3210 buildCounterVideoConversionPing++; | 3273 buildCounterVideoConversionPing++; |
| 3211 if (buildCounterVideoConversionPing < 3) { | 3274 if (buildCounterVideoConversionPing < 3) { |
| 3212 unittest.expect(o.context, unittest.equals('foo')); | 3275 unittest.expect(o.context, unittest.equals('foo')); |
| 3213 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 3276 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 3214 } | 3277 } |
| 3215 buildCounterVideoConversionPing--; | 3278 buildCounterVideoConversionPing--; |
| 3216 } | 3279 } |
| 3217 | 3280 |
| 3218 buildUnnamed1165() { | 3281 buildUnnamed389() { |
| 3219 var o = new core.List<api.VideoConversionPing>(); | 3282 var o = new core.List<api.VideoConversionPing>(); |
| 3220 o.add(buildVideoConversionPing()); | 3283 o.add(buildVideoConversionPing()); |
| 3221 o.add(buildVideoConversionPing()); | 3284 o.add(buildVideoConversionPing()); |
| 3222 return o; | 3285 return o; |
| 3223 } | 3286 } |
| 3224 | 3287 |
| 3225 checkUnnamed1165(core.List<api.VideoConversionPing> o) { | 3288 checkUnnamed389(core.List<api.VideoConversionPing> o) { |
| 3226 unittest.expect(o, unittest.hasLength(2)); | 3289 unittest.expect(o, unittest.hasLength(2)); |
| 3227 checkVideoConversionPing(o[0]); | 3290 checkVideoConversionPing(o[0]); |
| 3228 checkVideoConversionPing(o[1]); | 3291 checkVideoConversionPing(o[1]); |
| 3229 } | 3292 } |
| 3230 | 3293 |
| 3231 core.int buildCounterVideoConversionPings = 0; | 3294 core.int buildCounterVideoConversionPings = 0; |
| 3232 buildVideoConversionPings() { | 3295 buildVideoConversionPings() { |
| 3233 var o = new api.VideoConversionPings(); | 3296 var o = new api.VideoConversionPings(); |
| 3234 buildCounterVideoConversionPings++; | 3297 buildCounterVideoConversionPings++; |
| 3235 if (buildCounterVideoConversionPings < 3) { | 3298 if (buildCounterVideoConversionPings < 3) { |
| 3236 o.pings = buildUnnamed1165(); | 3299 o.pings = buildUnnamed389(); |
| 3237 } | 3300 } |
| 3238 buildCounterVideoConversionPings--; | 3301 buildCounterVideoConversionPings--; |
| 3239 return o; | 3302 return o; |
| 3240 } | 3303 } |
| 3241 | 3304 |
| 3242 checkVideoConversionPings(api.VideoConversionPings o) { | 3305 checkVideoConversionPings(api.VideoConversionPings o) { |
| 3243 buildCounterVideoConversionPings++; | 3306 buildCounterVideoConversionPings++; |
| 3244 if (buildCounterVideoConversionPings < 3) { | 3307 if (buildCounterVideoConversionPings < 3) { |
| 3245 checkUnnamed1165(o.pings); | 3308 checkUnnamed389(o.pings); |
| 3246 } | 3309 } |
| 3247 buildCounterVideoConversionPings--; | 3310 buildCounterVideoConversionPings--; |
| 3248 } | 3311 } |
| 3249 | 3312 |
| 3250 buildUnnamed1166() { | 3313 buildUnnamed390() { |
| 3251 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 3314 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 3252 o.add(buildVideoFileDetailsAudioStream()); | 3315 o.add(buildVideoFileDetailsAudioStream()); |
| 3253 o.add(buildVideoFileDetailsAudioStream()); | 3316 o.add(buildVideoFileDetailsAudioStream()); |
| 3254 return o; | 3317 return o; |
| 3255 } | 3318 } |
| 3256 | 3319 |
| 3257 checkUnnamed1166(core.List<api.VideoFileDetailsAudioStream> o) { | 3320 checkUnnamed390(core.List<api.VideoFileDetailsAudioStream> o) { |
| 3258 unittest.expect(o, unittest.hasLength(2)); | 3321 unittest.expect(o, unittest.hasLength(2)); |
| 3259 checkVideoFileDetailsAudioStream(o[0]); | 3322 checkVideoFileDetailsAudioStream(o[0]); |
| 3260 checkVideoFileDetailsAudioStream(o[1]); | 3323 checkVideoFileDetailsAudioStream(o[1]); |
| 3261 } | 3324 } |
| 3262 | 3325 |
| 3263 buildUnnamed1167() { | 3326 buildUnnamed391() { |
| 3264 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 3327 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 3265 o.add(buildVideoFileDetailsVideoStream()); | 3328 o.add(buildVideoFileDetailsVideoStream()); |
| 3266 o.add(buildVideoFileDetailsVideoStream()); | 3329 o.add(buildVideoFileDetailsVideoStream()); |
| 3267 return o; | 3330 return o; |
| 3268 } | 3331 } |
| 3269 | 3332 |
| 3270 checkUnnamed1167(core.List<api.VideoFileDetailsVideoStream> o) { | 3333 checkUnnamed391(core.List<api.VideoFileDetailsVideoStream> o) { |
| 3271 unittest.expect(o, unittest.hasLength(2)); | 3334 unittest.expect(o, unittest.hasLength(2)); |
| 3272 checkVideoFileDetailsVideoStream(o[0]); | 3335 checkVideoFileDetailsVideoStream(o[0]); |
| 3273 checkVideoFileDetailsVideoStream(o[1]); | 3336 checkVideoFileDetailsVideoStream(o[1]); |
| 3274 } | 3337 } |
| 3275 | 3338 |
| 3276 core.int buildCounterVideoFileDetails = 0; | 3339 core.int buildCounterVideoFileDetails = 0; |
| 3277 buildVideoFileDetails() { | 3340 buildVideoFileDetails() { |
| 3278 var o = new api.VideoFileDetails(); | 3341 var o = new api.VideoFileDetails(); |
| 3279 buildCounterVideoFileDetails++; | 3342 buildCounterVideoFileDetails++; |
| 3280 if (buildCounterVideoFileDetails < 3) { | 3343 if (buildCounterVideoFileDetails < 3) { |
| 3281 o.audioStreams = buildUnnamed1166(); | 3344 o.audioStreams = buildUnnamed390(); |
| 3282 o.bitrateBps = "foo"; | 3345 o.bitrateBps = "foo"; |
| 3283 o.container = "foo"; | 3346 o.container = "foo"; |
| 3284 o.creationTime = "foo"; | 3347 o.creationTime = "foo"; |
| 3285 o.durationMs = "foo"; | 3348 o.durationMs = "foo"; |
| 3286 o.fileName = "foo"; | 3349 o.fileName = "foo"; |
| 3287 o.fileSize = "foo"; | 3350 o.fileSize = "foo"; |
| 3288 o.fileType = "foo"; | 3351 o.fileType = "foo"; |
| 3289 o.recordingLocation = buildGeoPoint(); | 3352 o.recordingLocation = buildGeoPoint(); |
| 3290 o.videoStreams = buildUnnamed1167(); | 3353 o.videoStreams = buildUnnamed391(); |
| 3291 } | 3354 } |
| 3292 buildCounterVideoFileDetails--; | 3355 buildCounterVideoFileDetails--; |
| 3293 return o; | 3356 return o; |
| 3294 } | 3357 } |
| 3295 | 3358 |
| 3296 checkVideoFileDetails(api.VideoFileDetails o) { | 3359 checkVideoFileDetails(api.VideoFileDetails o) { |
| 3297 buildCounterVideoFileDetails++; | 3360 buildCounterVideoFileDetails++; |
| 3298 if (buildCounterVideoFileDetails < 3) { | 3361 if (buildCounterVideoFileDetails < 3) { |
| 3299 checkUnnamed1166(o.audioStreams); | 3362 checkUnnamed390(o.audioStreams); |
| 3300 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 3363 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 3301 unittest.expect(o.container, unittest.equals('foo')); | 3364 unittest.expect(o.container, unittest.equals('foo')); |
| 3302 unittest.expect(o.creationTime, unittest.equals('foo')); | 3365 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 3303 unittest.expect(o.durationMs, unittest.equals('foo')); | 3366 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 3304 unittest.expect(o.fileName, unittest.equals('foo')); | 3367 unittest.expect(o.fileName, unittest.equals('foo')); |
| 3305 unittest.expect(o.fileSize, unittest.equals('foo')); | 3368 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 3306 unittest.expect(o.fileType, unittest.equals('foo')); | 3369 unittest.expect(o.fileType, unittest.equals('foo')); |
| 3307 checkGeoPoint(o.recordingLocation); | 3370 checkGeoPoint(o.recordingLocation); |
| 3308 checkUnnamed1167(o.videoStreams); | 3371 checkUnnamed391(o.videoStreams); |
| 3309 } | 3372 } |
| 3310 buildCounterVideoFileDetails--; | 3373 buildCounterVideoFileDetails--; |
| 3311 } | 3374 } |
| 3312 | 3375 |
| 3313 core.int buildCounterVideoFileDetailsAudioStream = 0; | 3376 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 3314 buildVideoFileDetailsAudioStream() { | 3377 buildVideoFileDetailsAudioStream() { |
| 3315 var o = new api.VideoFileDetailsAudioStream(); | 3378 var o = new api.VideoFileDetailsAudioStream(); |
| 3316 buildCounterVideoFileDetailsAudioStream++; | 3379 buildCounterVideoFileDetailsAudioStream++; |
| 3317 if (buildCounterVideoFileDetailsAudioStream < 3) { | 3380 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 3318 o.bitrateBps = "foo"; | 3381 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3361 unittest.expect(o.codec, unittest.equals('foo')); | 3424 unittest.expect(o.codec, unittest.equals('foo')); |
| 3362 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 3425 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 3363 unittest.expect(o.heightPixels, unittest.equals(42)); | 3426 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 3364 unittest.expect(o.rotation, unittest.equals('foo')); | 3427 unittest.expect(o.rotation, unittest.equals('foo')); |
| 3365 unittest.expect(o.vendor, unittest.equals('foo')); | 3428 unittest.expect(o.vendor, unittest.equals('foo')); |
| 3366 unittest.expect(o.widthPixels, unittest.equals(42)); | 3429 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 3367 } | 3430 } |
| 3368 buildCounterVideoFileDetailsVideoStream--; | 3431 buildCounterVideoFileDetailsVideoStream--; |
| 3369 } | 3432 } |
| 3370 | 3433 |
| 3371 buildUnnamed1168() { | 3434 buildUnnamed392() { |
| 3372 var o = new core.List<api.VideoRating>(); | 3435 var o = new core.List<api.VideoRating>(); |
| 3373 o.add(buildVideoRating()); | 3436 o.add(buildVideoRating()); |
| 3374 o.add(buildVideoRating()); | 3437 o.add(buildVideoRating()); |
| 3375 return o; | 3438 return o; |
| 3376 } | 3439 } |
| 3377 | 3440 |
| 3378 checkUnnamed1168(core.List<api.VideoRating> o) { | 3441 checkUnnamed392(core.List<api.VideoRating> o) { |
| 3379 unittest.expect(o, unittest.hasLength(2)); | 3442 unittest.expect(o, unittest.hasLength(2)); |
| 3380 checkVideoRating(o[0]); | 3443 checkVideoRating(o[0]); |
| 3381 checkVideoRating(o[1]); | 3444 checkVideoRating(o[1]); |
| 3382 } | 3445 } |
| 3383 | 3446 |
| 3384 core.int buildCounterVideoGetRatingResponse = 0; | 3447 core.int buildCounterVideoGetRatingResponse = 0; |
| 3385 buildVideoGetRatingResponse() { | 3448 buildVideoGetRatingResponse() { |
| 3386 var o = new api.VideoGetRatingResponse(); | 3449 var o = new api.VideoGetRatingResponse(); |
| 3387 buildCounterVideoGetRatingResponse++; | 3450 buildCounterVideoGetRatingResponse++; |
| 3388 if (buildCounterVideoGetRatingResponse < 3) { | 3451 if (buildCounterVideoGetRatingResponse < 3) { |
| 3389 o.etag = "foo"; | 3452 o.etag = "foo"; |
| 3390 o.eventId = "foo"; | 3453 o.eventId = "foo"; |
| 3391 o.items = buildUnnamed1168(); | 3454 o.items = buildUnnamed392(); |
| 3392 o.kind = "foo"; | 3455 o.kind = "foo"; |
| 3393 o.visitorId = "foo"; | 3456 o.visitorId = "foo"; |
| 3394 } | 3457 } |
| 3395 buildCounterVideoGetRatingResponse--; | 3458 buildCounterVideoGetRatingResponse--; |
| 3396 return o; | 3459 return o; |
| 3397 } | 3460 } |
| 3398 | 3461 |
| 3399 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 3462 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 3400 buildCounterVideoGetRatingResponse++; | 3463 buildCounterVideoGetRatingResponse++; |
| 3401 if (buildCounterVideoGetRatingResponse < 3) { | 3464 if (buildCounterVideoGetRatingResponse < 3) { |
| 3402 unittest.expect(o.etag, unittest.equals('foo')); | 3465 unittest.expect(o.etag, unittest.equals('foo')); |
| 3403 unittest.expect(o.eventId, unittest.equals('foo')); | 3466 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3404 checkUnnamed1168(o.items); | 3467 checkUnnamed392(o.items); |
| 3405 unittest.expect(o.kind, unittest.equals('foo')); | 3468 unittest.expect(o.kind, unittest.equals('foo')); |
| 3406 unittest.expect(o.visitorId, unittest.equals('foo')); | 3469 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3407 } | 3470 } |
| 3408 buildCounterVideoGetRatingResponse--; | 3471 buildCounterVideoGetRatingResponse--; |
| 3409 } | 3472 } |
| 3410 | 3473 |
| 3411 buildUnnamed1169() { | 3474 buildUnnamed393() { |
| 3412 var o = new core.List<api.Video>(); | 3475 var o = new core.List<api.Video>(); |
| 3413 o.add(buildVideo()); | 3476 o.add(buildVideo()); |
| 3414 o.add(buildVideo()); | 3477 o.add(buildVideo()); |
| 3415 return o; | 3478 return o; |
| 3416 } | 3479 } |
| 3417 | 3480 |
| 3418 checkUnnamed1169(core.List<api.Video> o) { | 3481 checkUnnamed393(core.List<api.Video> o) { |
| 3419 unittest.expect(o, unittest.hasLength(2)); | 3482 unittest.expect(o, unittest.hasLength(2)); |
| 3420 checkVideo(o[0]); | 3483 checkVideo(o[0]); |
| 3421 checkVideo(o[1]); | 3484 checkVideo(o[1]); |
| 3422 } | 3485 } |
| 3423 | 3486 |
| 3424 core.int buildCounterVideoListResponse = 0; | 3487 core.int buildCounterVideoListResponse = 0; |
| 3425 buildVideoListResponse() { | 3488 buildVideoListResponse() { |
| 3426 var o = new api.VideoListResponse(); | 3489 var o = new api.VideoListResponse(); |
| 3427 buildCounterVideoListResponse++; | 3490 buildCounterVideoListResponse++; |
| 3428 if (buildCounterVideoListResponse < 3) { | 3491 if (buildCounterVideoListResponse < 3) { |
| 3429 o.etag = "foo"; | 3492 o.etag = "foo"; |
| 3430 o.eventId = "foo"; | 3493 o.eventId = "foo"; |
| 3431 o.items = buildUnnamed1169(); | 3494 o.items = buildUnnamed393(); |
| 3432 o.kind = "foo"; | 3495 o.kind = "foo"; |
| 3433 o.nextPageToken = "foo"; | 3496 o.nextPageToken = "foo"; |
| 3434 o.pageInfo = buildPageInfo(); | 3497 o.pageInfo = buildPageInfo(); |
| 3435 o.prevPageToken = "foo"; | 3498 o.prevPageToken = "foo"; |
| 3436 o.tokenPagination = buildTokenPagination(); | 3499 o.tokenPagination = buildTokenPagination(); |
| 3437 o.visitorId = "foo"; | 3500 o.visitorId = "foo"; |
| 3438 } | 3501 } |
| 3439 buildCounterVideoListResponse--; | 3502 buildCounterVideoListResponse--; |
| 3440 return o; | 3503 return o; |
| 3441 } | 3504 } |
| 3442 | 3505 |
| 3443 checkVideoListResponse(api.VideoListResponse o) { | 3506 checkVideoListResponse(api.VideoListResponse o) { |
| 3444 buildCounterVideoListResponse++; | 3507 buildCounterVideoListResponse++; |
| 3445 if (buildCounterVideoListResponse < 3) { | 3508 if (buildCounterVideoListResponse < 3) { |
| 3446 unittest.expect(o.etag, unittest.equals('foo')); | 3509 unittest.expect(o.etag, unittest.equals('foo')); |
| 3447 unittest.expect(o.eventId, unittest.equals('foo')); | 3510 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3448 checkUnnamed1169(o.items); | 3511 checkUnnamed393(o.items); |
| 3449 unittest.expect(o.kind, unittest.equals('foo')); | 3512 unittest.expect(o.kind, unittest.equals('foo')); |
| 3450 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3513 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3451 checkPageInfo(o.pageInfo); | 3514 checkPageInfo(o.pageInfo); |
| 3452 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3515 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3453 checkTokenPagination(o.tokenPagination); | 3516 checkTokenPagination(o.tokenPagination); |
| 3454 unittest.expect(o.visitorId, unittest.equals('foo')); | 3517 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3455 } | 3518 } |
| 3456 buildCounterVideoListResponse--; | 3519 buildCounterVideoListResponse--; |
| 3457 } | 3520 } |
| 3458 | 3521 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3570 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 3633 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 3571 buildCounterVideoProcessingDetailsProcessingProgress++; | 3634 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 3572 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 3635 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 3573 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 3636 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 3574 unittest.expect(o.partsTotal, unittest.equals('foo')); | 3637 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 3575 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 3638 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 3576 } | 3639 } |
| 3577 buildCounterVideoProcessingDetailsProcessingProgress--; | 3640 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 3578 } | 3641 } |
| 3579 | 3642 |
| 3580 buildUnnamed1170() { | 3643 buildUnnamed394() { |
| 3581 var o = new core.List<core.String>(); | 3644 var o = new core.List<core.String>(); |
| 3582 o.add("foo"); | 3645 o.add("foo"); |
| 3583 o.add("foo"); | 3646 o.add("foo"); |
| 3584 return o; | 3647 return o; |
| 3585 } | 3648 } |
| 3586 | 3649 |
| 3587 checkUnnamed1170(core.List<core.String> o) { | 3650 checkUnnamed394(core.List<core.String> o) { |
| 3588 unittest.expect(o, unittest.hasLength(2)); | 3651 unittest.expect(o, unittest.hasLength(2)); |
| 3589 unittest.expect(o[0], unittest.equals('foo')); | 3652 unittest.expect(o[0], unittest.equals('foo')); |
| 3590 unittest.expect(o[1], unittest.equals('foo')); | 3653 unittest.expect(o[1], unittest.equals('foo')); |
| 3591 } | 3654 } |
| 3592 | 3655 |
| 3593 core.int buildCounterVideoProjectDetails = 0; | 3656 core.int buildCounterVideoProjectDetails = 0; |
| 3594 buildVideoProjectDetails() { | 3657 buildVideoProjectDetails() { |
| 3595 var o = new api.VideoProjectDetails(); | 3658 var o = new api.VideoProjectDetails(); |
| 3596 buildCounterVideoProjectDetails++; | 3659 buildCounterVideoProjectDetails++; |
| 3597 if (buildCounterVideoProjectDetails < 3) { | 3660 if (buildCounterVideoProjectDetails < 3) { |
| 3598 o.tags = buildUnnamed1170(); | 3661 o.tags = buildUnnamed394(); |
| 3599 } | 3662 } |
| 3600 buildCounterVideoProjectDetails--; | 3663 buildCounterVideoProjectDetails--; |
| 3601 return o; | 3664 return o; |
| 3602 } | 3665 } |
| 3603 | 3666 |
| 3604 checkVideoProjectDetails(api.VideoProjectDetails o) { | 3667 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 3605 buildCounterVideoProjectDetails++; | 3668 buildCounterVideoProjectDetails++; |
| 3606 if (buildCounterVideoProjectDetails < 3) { | 3669 if (buildCounterVideoProjectDetails < 3) { |
| 3607 checkUnnamed1170(o.tags); | 3670 checkUnnamed394(o.tags); |
| 3608 } | 3671 } |
| 3609 buildCounterVideoProjectDetails--; | 3672 buildCounterVideoProjectDetails--; |
| 3610 } | 3673 } |
| 3611 | 3674 |
| 3612 core.int buildCounterVideoRating = 0; | 3675 core.int buildCounterVideoRating = 0; |
| 3613 buildVideoRating() { | 3676 buildVideoRating() { |
| 3614 var o = new api.VideoRating(); | 3677 var o = new api.VideoRating(); |
| 3615 buildCounterVideoRating++; | 3678 buildCounterVideoRating++; |
| 3616 if (buildCounterVideoRating < 3) { | 3679 if (buildCounterVideoRating < 3) { |
| 3617 o.rating = "foo"; | 3680 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 3646 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 3709 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 3647 buildCounterVideoRecordingDetails++; | 3710 buildCounterVideoRecordingDetails++; |
| 3648 if (buildCounterVideoRecordingDetails < 3) { | 3711 if (buildCounterVideoRecordingDetails < 3) { |
| 3649 checkGeoPoint(o.location); | 3712 checkGeoPoint(o.location); |
| 3650 unittest.expect(o.locationDescription, unittest.equals('foo')); | 3713 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 3651 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 3714 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 3652 } | 3715 } |
| 3653 buildCounterVideoRecordingDetails--; | 3716 buildCounterVideoRecordingDetails--; |
| 3654 } | 3717 } |
| 3655 | 3718 |
| 3656 buildUnnamed1171() { | 3719 buildUnnamed395() { |
| 3657 var o = new core.List<core.String>(); | 3720 var o = new core.List<core.String>(); |
| 3658 o.add("foo"); | 3721 o.add("foo"); |
| 3659 o.add("foo"); | 3722 o.add("foo"); |
| 3660 return o; | 3723 return o; |
| 3661 } | 3724 } |
| 3662 | 3725 |
| 3663 checkUnnamed1171(core.List<core.String> o) { | 3726 checkUnnamed395(core.List<core.String> o) { |
| 3664 unittest.expect(o, unittest.hasLength(2)); | 3727 unittest.expect(o, unittest.hasLength(2)); |
| 3665 unittest.expect(o[0], unittest.equals('foo')); | 3728 unittest.expect(o[0], unittest.equals('foo')); |
| 3666 unittest.expect(o[1], unittest.equals('foo')); | 3729 unittest.expect(o[1], unittest.equals('foo')); |
| 3667 } | 3730 } |
| 3668 | 3731 |
| 3669 core.int buildCounterVideoSnippet = 0; | 3732 core.int buildCounterVideoSnippet = 0; |
| 3670 buildVideoSnippet() { | 3733 buildVideoSnippet() { |
| 3671 var o = new api.VideoSnippet(); | 3734 var o = new api.VideoSnippet(); |
| 3672 buildCounterVideoSnippet++; | 3735 buildCounterVideoSnippet++; |
| 3673 if (buildCounterVideoSnippet < 3) { | 3736 if (buildCounterVideoSnippet < 3) { |
| 3674 o.categoryId = "foo"; | 3737 o.categoryId = "foo"; |
| 3675 o.channelId = "foo"; | 3738 o.channelId = "foo"; |
| 3676 o.channelTitle = "foo"; | 3739 o.channelTitle = "foo"; |
| 3677 o.description = "foo"; | 3740 o.description = "foo"; |
| 3678 o.liveBroadcastContent = "foo"; | 3741 o.liveBroadcastContent = "foo"; |
| 3679 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3742 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3680 o.tags = buildUnnamed1171(); | 3743 o.tags = buildUnnamed395(); |
| 3681 o.thumbnails = buildThumbnailDetails(); | 3744 o.thumbnails = buildThumbnailDetails(); |
| 3682 o.title = "foo"; | 3745 o.title = "foo"; |
| 3683 } | 3746 } |
| 3684 buildCounterVideoSnippet--; | 3747 buildCounterVideoSnippet--; |
| 3685 return o; | 3748 return o; |
| 3686 } | 3749 } |
| 3687 | 3750 |
| 3688 checkVideoSnippet(api.VideoSnippet o) { | 3751 checkVideoSnippet(api.VideoSnippet o) { |
| 3689 buildCounterVideoSnippet++; | 3752 buildCounterVideoSnippet++; |
| 3690 if (buildCounterVideoSnippet < 3) { | 3753 if (buildCounterVideoSnippet < 3) { |
| 3691 unittest.expect(o.categoryId, unittest.equals('foo')); | 3754 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 3692 unittest.expect(o.channelId, unittest.equals('foo')); | 3755 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3693 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3756 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3694 unittest.expect(o.description, unittest.equals('foo')); | 3757 unittest.expect(o.description, unittest.equals('foo')); |
| 3695 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 3758 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 3696 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3759 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3697 checkUnnamed1171(o.tags); | 3760 checkUnnamed395(o.tags); |
| 3698 checkThumbnailDetails(o.thumbnails); | 3761 checkThumbnailDetails(o.thumbnails); |
| 3699 unittest.expect(o.title, unittest.equals('foo')); | 3762 unittest.expect(o.title, unittest.equals('foo')); |
| 3700 } | 3763 } |
| 3701 buildCounterVideoSnippet--; | 3764 buildCounterVideoSnippet--; |
| 3702 } | 3765 } |
| 3703 | 3766 |
| 3704 core.int buildCounterVideoStatistics = 0; | 3767 core.int buildCounterVideoStatistics = 0; |
| 3705 buildVideoStatistics() { | 3768 buildVideoStatistics() { |
| 3706 var o = new api.VideoStatistics(); | 3769 var o = new api.VideoStatistics(); |
| 3707 buildCounterVideoStatistics++; | 3770 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3754 unittest.expect(o.license, unittest.equals('foo')); | 3817 unittest.expect(o.license, unittest.equals('foo')); |
| 3755 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3818 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3756 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 3819 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 3757 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 3820 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 3758 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 3821 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 3759 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 3822 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 3760 } | 3823 } |
| 3761 buildCounterVideoStatus--; | 3824 buildCounterVideoStatus--; |
| 3762 } | 3825 } |
| 3763 | 3826 |
| 3764 buildUnnamed1172() { | 3827 buildUnnamed396() { |
| 3765 var o = new core.List<core.String>(); | 3828 var o = new core.List<core.String>(); |
| 3766 o.add("foo"); | 3829 o.add("foo"); |
| 3767 o.add("foo"); | 3830 o.add("foo"); |
| 3768 return o; | 3831 return o; |
| 3769 } | 3832 } |
| 3770 | 3833 |
| 3771 checkUnnamed1172(core.List<core.String> o) { | 3834 checkUnnamed396(core.List<core.String> o) { |
| 3772 unittest.expect(o, unittest.hasLength(2)); | 3835 unittest.expect(o, unittest.hasLength(2)); |
| 3773 unittest.expect(o[0], unittest.equals('foo')); | 3836 unittest.expect(o[0], unittest.equals('foo')); |
| 3774 unittest.expect(o[1], unittest.equals('foo')); | 3837 unittest.expect(o[1], unittest.equals('foo')); |
| 3775 } | 3838 } |
| 3776 | 3839 |
| 3777 buildUnnamed1173() { | 3840 buildUnnamed397() { |
| 3778 var o = new core.List<core.String>(); | 3841 var o = new core.List<core.String>(); |
| 3779 o.add("foo"); | 3842 o.add("foo"); |
| 3780 o.add("foo"); | 3843 o.add("foo"); |
| 3781 return o; | 3844 return o; |
| 3782 } | 3845 } |
| 3783 | 3846 |
| 3784 checkUnnamed1173(core.List<core.String> o) { | 3847 checkUnnamed397(core.List<core.String> o) { |
| 3785 unittest.expect(o, unittest.hasLength(2)); | 3848 unittest.expect(o, unittest.hasLength(2)); |
| 3786 unittest.expect(o[0], unittest.equals('foo')); | 3849 unittest.expect(o[0], unittest.equals('foo')); |
| 3787 unittest.expect(o[1], unittest.equals('foo')); | 3850 unittest.expect(o[1], unittest.equals('foo')); |
| 3788 } | 3851 } |
| 3789 | 3852 |
| 3790 buildUnnamed1174() { | 3853 buildUnnamed398() { |
| 3791 var o = new core.List<core.String>(); | 3854 var o = new core.List<core.String>(); |
| 3792 o.add("foo"); | 3855 o.add("foo"); |
| 3793 o.add("foo"); | 3856 o.add("foo"); |
| 3794 return o; | 3857 return o; |
| 3795 } | 3858 } |
| 3796 | 3859 |
| 3797 checkUnnamed1174(core.List<core.String> o) { | 3860 checkUnnamed398(core.List<core.String> o) { |
| 3798 unittest.expect(o, unittest.hasLength(2)); | 3861 unittest.expect(o, unittest.hasLength(2)); |
| 3799 unittest.expect(o[0], unittest.equals('foo')); | 3862 unittest.expect(o[0], unittest.equals('foo')); |
| 3800 unittest.expect(o[1], unittest.equals('foo')); | 3863 unittest.expect(o[1], unittest.equals('foo')); |
| 3801 } | 3864 } |
| 3802 | 3865 |
| 3803 buildUnnamed1175() { | 3866 buildUnnamed399() { |
| 3804 var o = new core.List<core.String>(); | 3867 var o = new core.List<core.String>(); |
| 3805 o.add("foo"); | 3868 o.add("foo"); |
| 3806 o.add("foo"); | 3869 o.add("foo"); |
| 3807 return o; | 3870 return o; |
| 3808 } | 3871 } |
| 3809 | 3872 |
| 3810 checkUnnamed1175(core.List<core.String> o) { | 3873 checkUnnamed399(core.List<core.String> o) { |
| 3811 unittest.expect(o, unittest.hasLength(2)); | 3874 unittest.expect(o, unittest.hasLength(2)); |
| 3812 unittest.expect(o[0], unittest.equals('foo')); | 3875 unittest.expect(o[0], unittest.equals('foo')); |
| 3813 unittest.expect(o[1], unittest.equals('foo')); | 3876 unittest.expect(o[1], unittest.equals('foo')); |
| 3814 } | 3877 } |
| 3815 | 3878 |
| 3816 buildUnnamed1176() { | 3879 buildUnnamed400() { |
| 3817 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 3880 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 3818 o.add(buildVideoSuggestionsTagSuggestion()); | 3881 o.add(buildVideoSuggestionsTagSuggestion()); |
| 3819 o.add(buildVideoSuggestionsTagSuggestion()); | 3882 o.add(buildVideoSuggestionsTagSuggestion()); |
| 3820 return o; | 3883 return o; |
| 3821 } | 3884 } |
| 3822 | 3885 |
| 3823 checkUnnamed1176(core.List<api.VideoSuggestionsTagSuggestion> o) { | 3886 checkUnnamed400(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 3824 unittest.expect(o, unittest.hasLength(2)); | 3887 unittest.expect(o, unittest.hasLength(2)); |
| 3825 checkVideoSuggestionsTagSuggestion(o[0]); | 3888 checkVideoSuggestionsTagSuggestion(o[0]); |
| 3826 checkVideoSuggestionsTagSuggestion(o[1]); | 3889 checkVideoSuggestionsTagSuggestion(o[1]); |
| 3827 } | 3890 } |
| 3828 | 3891 |
| 3829 core.int buildCounterVideoSuggestions = 0; | 3892 core.int buildCounterVideoSuggestions = 0; |
| 3830 buildVideoSuggestions() { | 3893 buildVideoSuggestions() { |
| 3831 var o = new api.VideoSuggestions(); | 3894 var o = new api.VideoSuggestions(); |
| 3832 buildCounterVideoSuggestions++; | 3895 buildCounterVideoSuggestions++; |
| 3833 if (buildCounterVideoSuggestions < 3) { | 3896 if (buildCounterVideoSuggestions < 3) { |
| 3834 o.editorSuggestions = buildUnnamed1172(); | 3897 o.editorSuggestions = buildUnnamed396(); |
| 3835 o.processingErrors = buildUnnamed1173(); | 3898 o.processingErrors = buildUnnamed397(); |
| 3836 o.processingHints = buildUnnamed1174(); | 3899 o.processingHints = buildUnnamed398(); |
| 3837 o.processingWarnings = buildUnnamed1175(); | 3900 o.processingWarnings = buildUnnamed399(); |
| 3838 o.tagSuggestions = buildUnnamed1176(); | 3901 o.tagSuggestions = buildUnnamed400(); |
| 3839 } | 3902 } |
| 3840 buildCounterVideoSuggestions--; | 3903 buildCounterVideoSuggestions--; |
| 3841 return o; | 3904 return o; |
| 3842 } | 3905 } |
| 3843 | 3906 |
| 3844 checkVideoSuggestions(api.VideoSuggestions o) { | 3907 checkVideoSuggestions(api.VideoSuggestions o) { |
| 3845 buildCounterVideoSuggestions++; | 3908 buildCounterVideoSuggestions++; |
| 3846 if (buildCounterVideoSuggestions < 3) { | 3909 if (buildCounterVideoSuggestions < 3) { |
| 3847 checkUnnamed1172(o.editorSuggestions); | 3910 checkUnnamed396(o.editorSuggestions); |
| 3848 checkUnnamed1173(o.processingErrors); | 3911 checkUnnamed397(o.processingErrors); |
| 3849 checkUnnamed1174(o.processingHints); | 3912 checkUnnamed398(o.processingHints); |
| 3850 checkUnnamed1175(o.processingWarnings); | 3913 checkUnnamed399(o.processingWarnings); |
| 3851 checkUnnamed1176(o.tagSuggestions); | 3914 checkUnnamed400(o.tagSuggestions); |
| 3852 } | 3915 } |
| 3853 buildCounterVideoSuggestions--; | 3916 buildCounterVideoSuggestions--; |
| 3854 } | 3917 } |
| 3855 | 3918 |
| 3856 buildUnnamed1177() { | 3919 buildUnnamed401() { |
| 3857 var o = new core.List<core.String>(); | 3920 var o = new core.List<core.String>(); |
| 3858 o.add("foo"); | 3921 o.add("foo"); |
| 3859 o.add("foo"); | 3922 o.add("foo"); |
| 3860 return o; | 3923 return o; |
| 3861 } | 3924 } |
| 3862 | 3925 |
| 3863 checkUnnamed1177(core.List<core.String> o) { | 3926 checkUnnamed401(core.List<core.String> o) { |
| 3864 unittest.expect(o, unittest.hasLength(2)); | 3927 unittest.expect(o, unittest.hasLength(2)); |
| 3865 unittest.expect(o[0], unittest.equals('foo')); | 3928 unittest.expect(o[0], unittest.equals('foo')); |
| 3866 unittest.expect(o[1], unittest.equals('foo')); | 3929 unittest.expect(o[1], unittest.equals('foo')); |
| 3867 } | 3930 } |
| 3868 | 3931 |
| 3869 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 3932 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 3870 buildVideoSuggestionsTagSuggestion() { | 3933 buildVideoSuggestionsTagSuggestion() { |
| 3871 var o = new api.VideoSuggestionsTagSuggestion(); | 3934 var o = new api.VideoSuggestionsTagSuggestion(); |
| 3872 buildCounterVideoSuggestionsTagSuggestion++; | 3935 buildCounterVideoSuggestionsTagSuggestion++; |
| 3873 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3936 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 3874 o.categoryRestricts = buildUnnamed1177(); | 3937 o.categoryRestricts = buildUnnamed401(); |
| 3875 o.tag = "foo"; | 3938 o.tag = "foo"; |
| 3876 } | 3939 } |
| 3877 buildCounterVideoSuggestionsTagSuggestion--; | 3940 buildCounterVideoSuggestionsTagSuggestion--; |
| 3878 return o; | 3941 return o; |
| 3879 } | 3942 } |
| 3880 | 3943 |
| 3881 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 3944 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 3882 buildCounterVideoSuggestionsTagSuggestion++; | 3945 buildCounterVideoSuggestionsTagSuggestion++; |
| 3883 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3946 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 3884 checkUnnamed1177(o.categoryRestricts); | 3947 checkUnnamed401(o.categoryRestricts); |
| 3885 unittest.expect(o.tag, unittest.equals('foo')); | 3948 unittest.expect(o.tag, unittest.equals('foo')); |
| 3886 } | 3949 } |
| 3887 buildCounterVideoSuggestionsTagSuggestion--; | 3950 buildCounterVideoSuggestionsTagSuggestion--; |
| 3888 } | 3951 } |
| 3889 | 3952 |
| 3890 buildUnnamed1178() { | 3953 buildUnnamed402() { |
| 3891 var o = new core.List<core.String>(); | 3954 var o = new core.List<core.String>(); |
| 3892 o.add("foo"); | 3955 o.add("foo"); |
| 3893 o.add("foo"); | 3956 o.add("foo"); |
| 3894 return o; | 3957 return o; |
| 3895 } | 3958 } |
| 3896 | 3959 |
| 3897 checkUnnamed1178(core.List<core.String> o) { | 3960 checkUnnamed402(core.List<core.String> o) { |
| 3898 unittest.expect(o, unittest.hasLength(2)); | 3961 unittest.expect(o, unittest.hasLength(2)); |
| 3899 unittest.expect(o[0], unittest.equals('foo')); | 3962 unittest.expect(o[0], unittest.equals('foo')); |
| 3900 unittest.expect(o[1], unittest.equals('foo')); | 3963 unittest.expect(o[1], unittest.equals('foo')); |
| 3901 } | 3964 } |
| 3902 | 3965 |
| 3903 buildUnnamed1179() { | 3966 buildUnnamed403() { |
| 3904 var o = new core.List<core.String>(); | 3967 var o = new core.List<core.String>(); |
| 3905 o.add("foo"); | 3968 o.add("foo"); |
| 3906 o.add("foo"); | 3969 o.add("foo"); |
| 3907 return o; | 3970 return o; |
| 3908 } | 3971 } |
| 3909 | 3972 |
| 3910 checkUnnamed1179(core.List<core.String> o) { | 3973 checkUnnamed403(core.List<core.String> o) { |
| 3911 unittest.expect(o, unittest.hasLength(2)); | 3974 unittest.expect(o, unittest.hasLength(2)); |
| 3912 unittest.expect(o[0], unittest.equals('foo')); | 3975 unittest.expect(o[0], unittest.equals('foo')); |
| 3913 unittest.expect(o[1], unittest.equals('foo')); | 3976 unittest.expect(o[1], unittest.equals('foo')); |
| 3914 } | 3977 } |
| 3915 | 3978 |
| 3916 core.int buildCounterVideoTopicDetails = 0; | 3979 core.int buildCounterVideoTopicDetails = 0; |
| 3917 buildVideoTopicDetails() { | 3980 buildVideoTopicDetails() { |
| 3918 var o = new api.VideoTopicDetails(); | 3981 var o = new api.VideoTopicDetails(); |
| 3919 buildCounterVideoTopicDetails++; | 3982 buildCounterVideoTopicDetails++; |
| 3920 if (buildCounterVideoTopicDetails < 3) { | 3983 if (buildCounterVideoTopicDetails < 3) { |
| 3921 o.relevantTopicIds = buildUnnamed1178(); | 3984 o.relevantTopicIds = buildUnnamed402(); |
| 3922 o.topicIds = buildUnnamed1179(); | 3985 o.topicIds = buildUnnamed403(); |
| 3923 } | 3986 } |
| 3924 buildCounterVideoTopicDetails--; | 3987 buildCounterVideoTopicDetails--; |
| 3925 return o; | 3988 return o; |
| 3926 } | 3989 } |
| 3927 | 3990 |
| 3928 checkVideoTopicDetails(api.VideoTopicDetails o) { | 3991 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 3929 buildCounterVideoTopicDetails++; | 3992 buildCounterVideoTopicDetails++; |
| 3930 if (buildCounterVideoTopicDetails < 3) { | 3993 if (buildCounterVideoTopicDetails < 3) { |
| 3931 checkUnnamed1178(o.relevantTopicIds); | 3994 checkUnnamed402(o.relevantTopicIds); |
| 3932 checkUnnamed1179(o.topicIds); | 3995 checkUnnamed403(o.topicIds); |
| 3933 } | 3996 } |
| 3934 buildCounterVideoTopicDetails--; | 3997 buildCounterVideoTopicDetails--; |
| 3935 } | 3998 } |
| 3936 | 3999 |
| 3937 core.int buildCounterWatchSettings = 0; | 4000 core.int buildCounterWatchSettings = 0; |
| 3938 buildWatchSettings() { | 4001 buildWatchSettings() { |
| 3939 var o = new api.WatchSettings(); | 4002 var o = new api.WatchSettings(); |
| 3940 buildCounterWatchSettings++; | 4003 buildCounterWatchSettings++; |
| 3941 if (buildCounterWatchSettings < 3) { | 4004 if (buildCounterWatchSettings < 3) { |
| 3942 o.backgroundColor = "foo"; | 4005 o.backgroundColor = "foo"; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4195 | 4258 |
| 4196 unittest.group("obj-schema-ChannelListResponse", () { | 4259 unittest.group("obj-schema-ChannelListResponse", () { |
| 4197 unittest.test("to-json--from-json", () { | 4260 unittest.test("to-json--from-json", () { |
| 4198 var o = buildChannelListResponse(); | 4261 var o = buildChannelListResponse(); |
| 4199 var od = new api.ChannelListResponse.fromJson(o.toJson()); | 4262 var od = new api.ChannelListResponse.fromJson(o.toJson()); |
| 4200 checkChannelListResponse(od); | 4263 checkChannelListResponse(od); |
| 4201 }); | 4264 }); |
| 4202 }); | 4265 }); |
| 4203 | 4266 |
| 4204 | 4267 |
| 4268 unittest.group("obj-schema-ChannelLocalization", () { |
| 4269 unittest.test("to-json--from-json", () { |
| 4270 var o = buildChannelLocalization(); |
| 4271 var od = new api.ChannelLocalization.fromJson(o.toJson()); |
| 4272 checkChannelLocalization(od); |
| 4273 }); |
| 4274 }); |
| 4275 |
| 4276 |
| 4205 unittest.group("obj-schema-ChannelSection", () { | 4277 unittest.group("obj-schema-ChannelSection", () { |
| 4206 unittest.test("to-json--from-json", () { | 4278 unittest.test("to-json--from-json", () { |
| 4207 var o = buildChannelSection(); | 4279 var o = buildChannelSection(); |
| 4208 var od = new api.ChannelSection.fromJson(o.toJson()); | 4280 var od = new api.ChannelSection.fromJson(o.toJson()); |
| 4209 checkChannelSection(od); | 4281 checkChannelSection(od); |
| 4210 }); | 4282 }); |
| 4211 }); | 4283 }); |
| 4212 | 4284 |
| 4213 | 4285 |
| 4214 unittest.group("obj-schema-ChannelSectionContentDetails", () { | 4286 unittest.group("obj-schema-ChannelSectionContentDetails", () { |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4429 | 4501 |
| 4430 unittest.group("obj-schema-InvideoTiming", () { | 4502 unittest.group("obj-schema-InvideoTiming", () { |
| 4431 unittest.test("to-json--from-json", () { | 4503 unittest.test("to-json--from-json", () { |
| 4432 var o = buildInvideoTiming(); | 4504 var o = buildInvideoTiming(); |
| 4433 var od = new api.InvideoTiming.fromJson(o.toJson()); | 4505 var od = new api.InvideoTiming.fromJson(o.toJson()); |
| 4434 checkInvideoTiming(od); | 4506 checkInvideoTiming(od); |
| 4435 }); | 4507 }); |
| 4436 }); | 4508 }); |
| 4437 | 4509 |
| 4438 | 4510 |
| 4511 unittest.group("obj-schema-LanguageTag", () { |
| 4512 unittest.test("to-json--from-json", () { |
| 4513 var o = buildLanguageTag(); |
| 4514 var od = new api.LanguageTag.fromJson(o.toJson()); |
| 4515 checkLanguageTag(od); |
| 4516 }); |
| 4517 }); |
| 4518 |
| 4519 |
| 4439 unittest.group("obj-schema-LiveBroadcast", () { | 4520 unittest.group("obj-schema-LiveBroadcast", () { |
| 4440 unittest.test("to-json--from-json", () { | 4521 unittest.test("to-json--from-json", () { |
| 4441 var o = buildLiveBroadcast(); | 4522 var o = buildLiveBroadcast(); |
| 4442 var od = new api.LiveBroadcast.fromJson(o.toJson()); | 4523 var od = new api.LiveBroadcast.fromJson(o.toJson()); |
| 4443 checkLiveBroadcast(od); | 4524 checkLiveBroadcast(od); |
| 4444 }); | 4525 }); |
| 4445 }); | 4526 }); |
| 4446 | 4527 |
| 4447 | 4528 |
| 4448 unittest.group("obj-schema-LiveBroadcastContentDetails", () { | 4529 unittest.group("obj-schema-LiveBroadcastContentDetails", () { |
| (...skipping 3153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7602 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 7683 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 7603 }), true); | 7684 }), true); |
| 7604 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 7685 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 7605 }); | 7686 }); |
| 7606 | 7687 |
| 7607 }); | 7688 }); |
| 7608 | 7689 |
| 7609 | 7690 |
| 7610 } | 7691 } |
| 7611 | 7692 |
| OLD | NEW |