| 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 buildUnnamed1397() { | 19 buildUnnamed1411() { |
| 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 checkUnnamed1397(core.List<core.String> o) { | 26 checkUnnamed1411(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 = buildUnnamed1397(); | 38 o.exception = buildUnnamed1411(); |
| 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 checkUnnamed1397(o.exception); | 48 checkUnnamed1411(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 buildUnnamed1398() { | 237 buildUnnamed1412() { |
| 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 checkUnnamed1398(core.List<core.String> o) { | 244 checkUnnamed1412(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 buildUnnamed1399() { | 250 buildUnnamed1413() { |
| 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 checkUnnamed1399(core.List<core.String> o) { | 257 checkUnnamed1413(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 = buildUnnamed1398(); | 275 o.forecastingUrl = buildUnnamed1412(); |
| 276 o.impressionUrl = buildUnnamed1399(); | 276 o.impressionUrl = buildUnnamed1413(); |
| 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 checkUnnamed1398(o.forecastingUrl); | 293 checkUnnamed1412(o.forecastingUrl); |
| 294 checkUnnamed1399(o.impressionUrl); | 294 checkUnnamed1413(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 buildUnnamed1400() { | 388 buildUnnamed1414() { |
| 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 checkUnnamed1400(core.List<api.Activity> o) { | 395 checkUnnamed1414(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 = buildUnnamed1400(); | 408 o.items = buildUnnamed1414(); |
| 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 checkUnnamed1400(o.items); | 425 checkUnnamed1414(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 buildUnnamed1401() { | 492 buildUnnamed1415() { |
| 493 var o = new core.Map<core.String, api.ChannelLocalization>(); | 493 var o = new core.Map<core.String, api.ChannelLocalization>(); |
| 494 o["x"] = buildChannelLocalization(); | 494 o["x"] = buildChannelLocalization(); |
| 495 o["y"] = buildChannelLocalization(); | 495 o["y"] = buildChannelLocalization(); |
| 496 return o; | 496 return o; |
| 497 } | 497 } |
| 498 | 498 |
| 499 checkUnnamed1401(core.Map<core.String, api.ChannelLocalization> o) { | 499 checkUnnamed1415(core.Map<core.String, api.ChannelLocalization> o) { |
| 500 unittest.expect(o, unittest.hasLength(2)); | 500 unittest.expect(o, unittest.hasLength(2)); |
| 501 checkChannelLocalization(o["x"]); | 501 checkChannelLocalization(o["x"]); |
| 502 checkChannelLocalization(o["y"]); | 502 checkChannelLocalization(o["y"]); |
| 503 } | 503 } |
| 504 | 504 |
| 505 core.int buildCounterChannel = 0; | 505 core.int buildCounterChannel = 0; |
| 506 buildChannel() { | 506 buildChannel() { |
| 507 var o = new api.Channel(); | 507 var o = new api.Channel(); |
| 508 buildCounterChannel++; | 508 buildCounterChannel++; |
| 509 if (buildCounterChannel < 3) { | 509 if (buildCounterChannel < 3) { |
| 510 o.auditDetails = buildChannelAuditDetails(); | 510 o.auditDetails = buildChannelAuditDetails(); |
| 511 o.brandingSettings = buildChannelBrandingSettings(); | 511 o.brandingSettings = buildChannelBrandingSettings(); |
| 512 o.contentDetails = buildChannelContentDetails(); | 512 o.contentDetails = buildChannelContentDetails(); |
| 513 o.contentOwnerDetails = buildChannelContentOwnerDetails(); | 513 o.contentOwnerDetails = buildChannelContentOwnerDetails(); |
| 514 o.conversionPings = buildChannelConversionPings(); | 514 o.conversionPings = buildChannelConversionPings(); |
| 515 o.etag = "foo"; | 515 o.etag = "foo"; |
| 516 o.id = "foo"; | 516 o.id = "foo"; |
| 517 o.invideoPromotion = buildInvideoPromotion(); | 517 o.invideoPromotion = buildInvideoPromotion(); |
| 518 o.kind = "foo"; | 518 o.kind = "foo"; |
| 519 o.localizations = buildUnnamed1401(); | 519 o.localizations = buildUnnamed1415(); |
| 520 o.snippet = buildChannelSnippet(); | 520 o.snippet = buildChannelSnippet(); |
| 521 o.statistics = buildChannelStatistics(); | 521 o.statistics = buildChannelStatistics(); |
| 522 o.status = buildChannelStatus(); | 522 o.status = buildChannelStatus(); |
| 523 o.topicDetails = buildChannelTopicDetails(); | 523 o.topicDetails = buildChannelTopicDetails(); |
| 524 } | 524 } |
| 525 buildCounterChannel--; | 525 buildCounterChannel--; |
| 526 return o; | 526 return o; |
| 527 } | 527 } |
| 528 | 528 |
| 529 checkChannel(api.Channel o) { | 529 checkChannel(api.Channel o) { |
| 530 buildCounterChannel++; | 530 buildCounterChannel++; |
| 531 if (buildCounterChannel < 3) { | 531 if (buildCounterChannel < 3) { |
| 532 checkChannelAuditDetails(o.auditDetails); | 532 checkChannelAuditDetails(o.auditDetails); |
| 533 checkChannelBrandingSettings(o.brandingSettings); | 533 checkChannelBrandingSettings(o.brandingSettings); |
| 534 checkChannelContentDetails(o.contentDetails); | 534 checkChannelContentDetails(o.contentDetails); |
| 535 checkChannelContentOwnerDetails(o.contentOwnerDetails); | 535 checkChannelContentOwnerDetails(o.contentOwnerDetails); |
| 536 checkChannelConversionPings(o.conversionPings); | 536 checkChannelConversionPings(o.conversionPings); |
| 537 unittest.expect(o.etag, unittest.equals('foo')); | 537 unittest.expect(o.etag, unittest.equals('foo')); |
| 538 unittest.expect(o.id, unittest.equals('foo')); | 538 unittest.expect(o.id, unittest.equals('foo')); |
| 539 checkInvideoPromotion(o.invideoPromotion); | 539 checkInvideoPromotion(o.invideoPromotion); |
| 540 unittest.expect(o.kind, unittest.equals('foo')); | 540 unittest.expect(o.kind, unittest.equals('foo')); |
| 541 checkUnnamed1401(o.localizations); | 541 checkUnnamed1415(o.localizations); |
| 542 checkChannelSnippet(o.snippet); | 542 checkChannelSnippet(o.snippet); |
| 543 checkChannelStatistics(o.statistics); | 543 checkChannelStatistics(o.statistics); |
| 544 checkChannelStatus(o.status); | 544 checkChannelStatus(o.status); |
| 545 checkChannelTopicDetails(o.topicDetails); | 545 checkChannelTopicDetails(o.topicDetails); |
| 546 } | 546 } |
| 547 buildCounterChannel--; | 547 buildCounterChannel--; |
| 548 } | 548 } |
| 549 | 549 |
| 550 core.int buildCounterChannelAuditDetails = 0; | 550 core.int buildCounterChannelAuditDetails = 0; |
| 551 buildChannelAuditDetails() { | 551 buildChannelAuditDetails() { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 checkChannelBannerResource(api.ChannelBannerResource o) { | 588 checkChannelBannerResource(api.ChannelBannerResource o) { |
| 589 buildCounterChannelBannerResource++; | 589 buildCounterChannelBannerResource++; |
| 590 if (buildCounterChannelBannerResource < 3) { | 590 if (buildCounterChannelBannerResource < 3) { |
| 591 unittest.expect(o.etag, unittest.equals('foo')); | 591 unittest.expect(o.etag, unittest.equals('foo')); |
| 592 unittest.expect(o.kind, unittest.equals('foo')); | 592 unittest.expect(o.kind, unittest.equals('foo')); |
| 593 unittest.expect(o.url, unittest.equals('foo')); | 593 unittest.expect(o.url, unittest.equals('foo')); |
| 594 } | 594 } |
| 595 buildCounterChannelBannerResource--; | 595 buildCounterChannelBannerResource--; |
| 596 } | 596 } |
| 597 | 597 |
| 598 buildUnnamed1402() { | 598 buildUnnamed1416() { |
| 599 var o = new core.List<api.PropertyValue>(); | 599 var o = new core.List<api.PropertyValue>(); |
| 600 o.add(buildPropertyValue()); | 600 o.add(buildPropertyValue()); |
| 601 o.add(buildPropertyValue()); | 601 o.add(buildPropertyValue()); |
| 602 return o; | 602 return o; |
| 603 } | 603 } |
| 604 | 604 |
| 605 checkUnnamed1402(core.List<api.PropertyValue> o) { | 605 checkUnnamed1416(core.List<api.PropertyValue> o) { |
| 606 unittest.expect(o, unittest.hasLength(2)); | 606 unittest.expect(o, unittest.hasLength(2)); |
| 607 checkPropertyValue(o[0]); | 607 checkPropertyValue(o[0]); |
| 608 checkPropertyValue(o[1]); | 608 checkPropertyValue(o[1]); |
| 609 } | 609 } |
| 610 | 610 |
| 611 core.int buildCounterChannelBrandingSettings = 0; | 611 core.int buildCounterChannelBrandingSettings = 0; |
| 612 buildChannelBrandingSettings() { | 612 buildChannelBrandingSettings() { |
| 613 var o = new api.ChannelBrandingSettings(); | 613 var o = new api.ChannelBrandingSettings(); |
| 614 buildCounterChannelBrandingSettings++; | 614 buildCounterChannelBrandingSettings++; |
| 615 if (buildCounterChannelBrandingSettings < 3) { | 615 if (buildCounterChannelBrandingSettings < 3) { |
| 616 o.channel = buildChannelSettings(); | 616 o.channel = buildChannelSettings(); |
| 617 o.hints = buildUnnamed1402(); | 617 o.hints = buildUnnamed1416(); |
| 618 o.image = buildImageSettings(); | 618 o.image = buildImageSettings(); |
| 619 o.watch = buildWatchSettings(); | 619 o.watch = buildWatchSettings(); |
| 620 } | 620 } |
| 621 buildCounterChannelBrandingSettings--; | 621 buildCounterChannelBrandingSettings--; |
| 622 return o; | 622 return o; |
| 623 } | 623 } |
| 624 | 624 |
| 625 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { | 625 checkChannelBrandingSettings(api.ChannelBrandingSettings o) { |
| 626 buildCounterChannelBrandingSettings++; | 626 buildCounterChannelBrandingSettings++; |
| 627 if (buildCounterChannelBrandingSettings < 3) { | 627 if (buildCounterChannelBrandingSettings < 3) { |
| 628 checkChannelSettings(o.channel); | 628 checkChannelSettings(o.channel); |
| 629 checkUnnamed1402(o.hints); | 629 checkUnnamed1416(o.hints); |
| 630 checkImageSettings(o.image); | 630 checkImageSettings(o.image); |
| 631 checkWatchSettings(o.watch); | 631 checkWatchSettings(o.watch); |
| 632 } | 632 } |
| 633 buildCounterChannelBrandingSettings--; | 633 buildCounterChannelBrandingSettings--; |
| 634 } | 634 } |
| 635 | 635 |
| 636 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; | 636 core.int buildCounterChannelContentDetailsRelatedPlaylists = 0; |
| 637 buildChannelContentDetailsRelatedPlaylists() { | 637 buildChannelContentDetailsRelatedPlaylists() { |
| 638 var o = new api.ChannelContentDetailsRelatedPlaylists(); | 638 var o = new api.ChannelContentDetailsRelatedPlaylists(); |
| 639 buildCounterChannelContentDetailsRelatedPlaylists++; | 639 buildCounterChannelContentDetailsRelatedPlaylists++; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 | 716 |
| 717 checkChannelConversionPing(api.ChannelConversionPing o) { | 717 checkChannelConversionPing(api.ChannelConversionPing o) { |
| 718 buildCounterChannelConversionPing++; | 718 buildCounterChannelConversionPing++; |
| 719 if (buildCounterChannelConversionPing < 3) { | 719 if (buildCounterChannelConversionPing < 3) { |
| 720 unittest.expect(o.context, unittest.equals('foo')); | 720 unittest.expect(o.context, unittest.equals('foo')); |
| 721 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 721 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 722 } | 722 } |
| 723 buildCounterChannelConversionPing--; | 723 buildCounterChannelConversionPing--; |
| 724 } | 724 } |
| 725 | 725 |
| 726 buildUnnamed1403() { | 726 buildUnnamed1417() { |
| 727 var o = new core.List<api.ChannelConversionPing>(); | 727 var o = new core.List<api.ChannelConversionPing>(); |
| 728 o.add(buildChannelConversionPing()); | 728 o.add(buildChannelConversionPing()); |
| 729 o.add(buildChannelConversionPing()); | 729 o.add(buildChannelConversionPing()); |
| 730 return o; | 730 return o; |
| 731 } | 731 } |
| 732 | 732 |
| 733 checkUnnamed1403(core.List<api.ChannelConversionPing> o) { | 733 checkUnnamed1417(core.List<api.ChannelConversionPing> o) { |
| 734 unittest.expect(o, unittest.hasLength(2)); | 734 unittest.expect(o, unittest.hasLength(2)); |
| 735 checkChannelConversionPing(o[0]); | 735 checkChannelConversionPing(o[0]); |
| 736 checkChannelConversionPing(o[1]); | 736 checkChannelConversionPing(o[1]); |
| 737 } | 737 } |
| 738 | 738 |
| 739 core.int buildCounterChannelConversionPings = 0; | 739 core.int buildCounterChannelConversionPings = 0; |
| 740 buildChannelConversionPings() { | 740 buildChannelConversionPings() { |
| 741 var o = new api.ChannelConversionPings(); | 741 var o = new api.ChannelConversionPings(); |
| 742 buildCounterChannelConversionPings++; | 742 buildCounterChannelConversionPings++; |
| 743 if (buildCounterChannelConversionPings < 3) { | 743 if (buildCounterChannelConversionPings < 3) { |
| 744 o.pings = buildUnnamed1403(); | 744 o.pings = buildUnnamed1417(); |
| 745 } | 745 } |
| 746 buildCounterChannelConversionPings--; | 746 buildCounterChannelConversionPings--; |
| 747 return o; | 747 return o; |
| 748 } | 748 } |
| 749 | 749 |
| 750 checkChannelConversionPings(api.ChannelConversionPings o) { | 750 checkChannelConversionPings(api.ChannelConversionPings o) { |
| 751 buildCounterChannelConversionPings++; | 751 buildCounterChannelConversionPings++; |
| 752 if (buildCounterChannelConversionPings < 3) { | 752 if (buildCounterChannelConversionPings < 3) { |
| 753 checkUnnamed1403(o.pings); | 753 checkUnnamed1417(o.pings); |
| 754 } | 754 } |
| 755 buildCounterChannelConversionPings--; | 755 buildCounterChannelConversionPings--; |
| 756 } | 756 } |
| 757 | 757 |
| 758 buildUnnamed1404() { | 758 buildUnnamed1418() { |
| 759 var o = new core.List<api.Channel>(); | 759 var o = new core.List<api.Channel>(); |
| 760 o.add(buildChannel()); | 760 o.add(buildChannel()); |
| 761 o.add(buildChannel()); | 761 o.add(buildChannel()); |
| 762 return o; | 762 return o; |
| 763 } | 763 } |
| 764 | 764 |
| 765 checkUnnamed1404(core.List<api.Channel> o) { | 765 checkUnnamed1418(core.List<api.Channel> o) { |
| 766 unittest.expect(o, unittest.hasLength(2)); | 766 unittest.expect(o, unittest.hasLength(2)); |
| 767 checkChannel(o[0]); | 767 checkChannel(o[0]); |
| 768 checkChannel(o[1]); | 768 checkChannel(o[1]); |
| 769 } | 769 } |
| 770 | 770 |
| 771 core.int buildCounterChannelListResponse = 0; | 771 core.int buildCounterChannelListResponse = 0; |
| 772 buildChannelListResponse() { | 772 buildChannelListResponse() { |
| 773 var o = new api.ChannelListResponse(); | 773 var o = new api.ChannelListResponse(); |
| 774 buildCounterChannelListResponse++; | 774 buildCounterChannelListResponse++; |
| 775 if (buildCounterChannelListResponse < 3) { | 775 if (buildCounterChannelListResponse < 3) { |
| 776 o.etag = "foo"; | 776 o.etag = "foo"; |
| 777 o.eventId = "foo"; | 777 o.eventId = "foo"; |
| 778 o.items = buildUnnamed1404(); | 778 o.items = buildUnnamed1418(); |
| 779 o.kind = "foo"; | 779 o.kind = "foo"; |
| 780 o.nextPageToken = "foo"; | 780 o.nextPageToken = "foo"; |
| 781 o.pageInfo = buildPageInfo(); | 781 o.pageInfo = buildPageInfo(); |
| 782 o.prevPageToken = "foo"; | 782 o.prevPageToken = "foo"; |
| 783 o.tokenPagination = buildTokenPagination(); | 783 o.tokenPagination = buildTokenPagination(); |
| 784 o.visitorId = "foo"; | 784 o.visitorId = "foo"; |
| 785 } | 785 } |
| 786 buildCounterChannelListResponse--; | 786 buildCounterChannelListResponse--; |
| 787 return o; | 787 return o; |
| 788 } | 788 } |
| 789 | 789 |
| 790 checkChannelListResponse(api.ChannelListResponse o) { | 790 checkChannelListResponse(api.ChannelListResponse o) { |
| 791 buildCounterChannelListResponse++; | 791 buildCounterChannelListResponse++; |
| 792 if (buildCounterChannelListResponse < 3) { | 792 if (buildCounterChannelListResponse < 3) { |
| 793 unittest.expect(o.etag, unittest.equals('foo')); | 793 unittest.expect(o.etag, unittest.equals('foo')); |
| 794 unittest.expect(o.eventId, unittest.equals('foo')); | 794 unittest.expect(o.eventId, unittest.equals('foo')); |
| 795 checkUnnamed1404(o.items); | 795 checkUnnamed1418(o.items); |
| 796 unittest.expect(o.kind, unittest.equals('foo')); | 796 unittest.expect(o.kind, unittest.equals('foo')); |
| 797 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 797 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 798 checkPageInfo(o.pageInfo); | 798 checkPageInfo(o.pageInfo); |
| 799 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 799 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 800 checkTokenPagination(o.tokenPagination); | 800 checkTokenPagination(o.tokenPagination); |
| 801 unittest.expect(o.visitorId, unittest.equals('foo')); | 801 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 802 } | 802 } |
| 803 buildCounterChannelListResponse--; | 803 buildCounterChannelListResponse--; |
| 804 } | 804 } |
| 805 | 805 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 if (buildCounterChannelSection < 3) { | 844 if (buildCounterChannelSection < 3) { |
| 845 checkChannelSectionContentDetails(o.contentDetails); | 845 checkChannelSectionContentDetails(o.contentDetails); |
| 846 unittest.expect(o.etag, unittest.equals('foo')); | 846 unittest.expect(o.etag, unittest.equals('foo')); |
| 847 unittest.expect(o.id, unittest.equals('foo')); | 847 unittest.expect(o.id, unittest.equals('foo')); |
| 848 unittest.expect(o.kind, unittest.equals('foo')); | 848 unittest.expect(o.kind, unittest.equals('foo')); |
| 849 checkChannelSectionSnippet(o.snippet); | 849 checkChannelSectionSnippet(o.snippet); |
| 850 } | 850 } |
| 851 buildCounterChannelSection--; | 851 buildCounterChannelSection--; |
| 852 } | 852 } |
| 853 | 853 |
| 854 buildUnnamed1405() { | 854 buildUnnamed1419() { |
| 855 var o = new core.List<core.String>(); | 855 var o = new core.List<core.String>(); |
| 856 o.add("foo"); | 856 o.add("foo"); |
| 857 o.add("foo"); | 857 o.add("foo"); |
| 858 return o; | 858 return o; |
| 859 } | 859 } |
| 860 | 860 |
| 861 checkUnnamed1405(core.List<core.String> o) { | 861 checkUnnamed1419(core.List<core.String> o) { |
| 862 unittest.expect(o, unittest.hasLength(2)); | 862 unittest.expect(o, unittest.hasLength(2)); |
| 863 unittest.expect(o[0], unittest.equals('foo')); | 863 unittest.expect(o[0], unittest.equals('foo')); |
| 864 unittest.expect(o[1], unittest.equals('foo')); | 864 unittest.expect(o[1], unittest.equals('foo')); |
| 865 } | 865 } |
| 866 | 866 |
| 867 buildUnnamed1406() { | 867 buildUnnamed1420() { |
| 868 var o = new core.List<core.String>(); | 868 var o = new core.List<core.String>(); |
| 869 o.add("foo"); | 869 o.add("foo"); |
| 870 o.add("foo"); | 870 o.add("foo"); |
| 871 return o; | 871 return o; |
| 872 } | 872 } |
| 873 | 873 |
| 874 checkUnnamed1406(core.List<core.String> o) { | 874 checkUnnamed1420(core.List<core.String> o) { |
| 875 unittest.expect(o, unittest.hasLength(2)); | 875 unittest.expect(o, unittest.hasLength(2)); |
| 876 unittest.expect(o[0], unittest.equals('foo')); | 876 unittest.expect(o[0], unittest.equals('foo')); |
| 877 unittest.expect(o[1], unittest.equals('foo')); | 877 unittest.expect(o[1], unittest.equals('foo')); |
| 878 } | 878 } |
| 879 | 879 |
| 880 core.int buildCounterChannelSectionContentDetails = 0; | 880 core.int buildCounterChannelSectionContentDetails = 0; |
| 881 buildChannelSectionContentDetails() { | 881 buildChannelSectionContentDetails() { |
| 882 var o = new api.ChannelSectionContentDetails(); | 882 var o = new api.ChannelSectionContentDetails(); |
| 883 buildCounterChannelSectionContentDetails++; | 883 buildCounterChannelSectionContentDetails++; |
| 884 if (buildCounterChannelSectionContentDetails < 3) { | 884 if (buildCounterChannelSectionContentDetails < 3) { |
| 885 o.channels = buildUnnamed1405(); | 885 o.channels = buildUnnamed1419(); |
| 886 o.playlists = buildUnnamed1406(); | 886 o.playlists = buildUnnamed1420(); |
| 887 } | 887 } |
| 888 buildCounterChannelSectionContentDetails--; | 888 buildCounterChannelSectionContentDetails--; |
| 889 return o; | 889 return o; |
| 890 } | 890 } |
| 891 | 891 |
| 892 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { | 892 checkChannelSectionContentDetails(api.ChannelSectionContentDetails o) { |
| 893 buildCounterChannelSectionContentDetails++; | 893 buildCounterChannelSectionContentDetails++; |
| 894 if (buildCounterChannelSectionContentDetails < 3) { | 894 if (buildCounterChannelSectionContentDetails < 3) { |
| 895 checkUnnamed1405(o.channels); | 895 checkUnnamed1419(o.channels); |
| 896 checkUnnamed1406(o.playlists); | 896 checkUnnamed1420(o.playlists); |
| 897 } | 897 } |
| 898 buildCounterChannelSectionContentDetails--; | 898 buildCounterChannelSectionContentDetails--; |
| 899 } | 899 } |
| 900 | 900 |
| 901 buildUnnamed1407() { | 901 buildUnnamed1421() { |
| 902 var o = new core.List<api.ChannelSection>(); | 902 var o = new core.List<api.ChannelSection>(); |
| 903 o.add(buildChannelSection()); | 903 o.add(buildChannelSection()); |
| 904 o.add(buildChannelSection()); | 904 o.add(buildChannelSection()); |
| 905 return o; | 905 return o; |
| 906 } | 906 } |
| 907 | 907 |
| 908 checkUnnamed1407(core.List<api.ChannelSection> o) { | 908 checkUnnamed1421(core.List<api.ChannelSection> o) { |
| 909 unittest.expect(o, unittest.hasLength(2)); | 909 unittest.expect(o, unittest.hasLength(2)); |
| 910 checkChannelSection(o[0]); | 910 checkChannelSection(o[0]); |
| 911 checkChannelSection(o[1]); | 911 checkChannelSection(o[1]); |
| 912 } | 912 } |
| 913 | 913 |
| 914 core.int buildCounterChannelSectionListResponse = 0; | 914 core.int buildCounterChannelSectionListResponse = 0; |
| 915 buildChannelSectionListResponse() { | 915 buildChannelSectionListResponse() { |
| 916 var o = new api.ChannelSectionListResponse(); | 916 var o = new api.ChannelSectionListResponse(); |
| 917 buildCounterChannelSectionListResponse++; | 917 buildCounterChannelSectionListResponse++; |
| 918 if (buildCounterChannelSectionListResponse < 3) { | 918 if (buildCounterChannelSectionListResponse < 3) { |
| 919 o.etag = "foo"; | 919 o.etag = "foo"; |
| 920 o.eventId = "foo"; | 920 o.eventId = "foo"; |
| 921 o.items = buildUnnamed1407(); | 921 o.items = buildUnnamed1421(); |
| 922 o.kind = "foo"; | 922 o.kind = "foo"; |
| 923 o.visitorId = "foo"; | 923 o.visitorId = "foo"; |
| 924 } | 924 } |
| 925 buildCounterChannelSectionListResponse--; | 925 buildCounterChannelSectionListResponse--; |
| 926 return o; | 926 return o; |
| 927 } | 927 } |
| 928 | 928 |
| 929 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { | 929 checkChannelSectionListResponse(api.ChannelSectionListResponse o) { |
| 930 buildCounterChannelSectionListResponse++; | 930 buildCounterChannelSectionListResponse++; |
| 931 if (buildCounterChannelSectionListResponse < 3) { | 931 if (buildCounterChannelSectionListResponse < 3) { |
| 932 unittest.expect(o.etag, unittest.equals('foo')); | 932 unittest.expect(o.etag, unittest.equals('foo')); |
| 933 unittest.expect(o.eventId, unittest.equals('foo')); | 933 unittest.expect(o.eventId, unittest.equals('foo')); |
| 934 checkUnnamed1407(o.items); | 934 checkUnnamed1421(o.items); |
| 935 unittest.expect(o.kind, unittest.equals('foo')); | 935 unittest.expect(o.kind, unittest.equals('foo')); |
| 936 unittest.expect(o.visitorId, unittest.equals('foo')); | 936 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 937 } | 937 } |
| 938 buildCounterChannelSectionListResponse--; | 938 buildCounterChannelSectionListResponse--; |
| 939 } | 939 } |
| 940 | 940 |
| 941 core.int buildCounterChannelSectionSnippet = 0; | 941 core.int buildCounterChannelSectionSnippet = 0; |
| 942 buildChannelSectionSnippet() { | 942 buildChannelSectionSnippet() { |
| 943 var o = new api.ChannelSectionSnippet(); | 943 var o = new api.ChannelSectionSnippet(); |
| 944 buildCounterChannelSectionSnippet++; | 944 buildCounterChannelSectionSnippet++; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 958 if (buildCounterChannelSectionSnippet < 3) { | 958 if (buildCounterChannelSectionSnippet < 3) { |
| 959 unittest.expect(o.channelId, unittest.equals('foo')); | 959 unittest.expect(o.channelId, unittest.equals('foo')); |
| 960 unittest.expect(o.position, unittest.equals(42)); | 960 unittest.expect(o.position, unittest.equals(42)); |
| 961 unittest.expect(o.style, unittest.equals('foo')); | 961 unittest.expect(o.style, unittest.equals('foo')); |
| 962 unittest.expect(o.title, unittest.equals('foo')); | 962 unittest.expect(o.title, unittest.equals('foo')); |
| 963 unittest.expect(o.type, unittest.equals('foo')); | 963 unittest.expect(o.type, unittest.equals('foo')); |
| 964 } | 964 } |
| 965 buildCounterChannelSectionSnippet--; | 965 buildCounterChannelSectionSnippet--; |
| 966 } | 966 } |
| 967 | 967 |
| 968 buildUnnamed1408() { | 968 buildUnnamed1422() { |
| 969 var o = new core.List<core.String>(); | 969 var o = new core.List<core.String>(); |
| 970 o.add("foo"); | 970 o.add("foo"); |
| 971 o.add("foo"); | 971 o.add("foo"); |
| 972 return o; | 972 return o; |
| 973 } | 973 } |
| 974 | 974 |
| 975 checkUnnamed1408(core.List<core.String> o) { | 975 checkUnnamed1422(core.List<core.String> o) { |
| 976 unittest.expect(o, unittest.hasLength(2)); | 976 unittest.expect(o, unittest.hasLength(2)); |
| 977 unittest.expect(o[0], unittest.equals('foo')); | 977 unittest.expect(o[0], unittest.equals('foo')); |
| 978 unittest.expect(o[1], unittest.equals('foo')); | 978 unittest.expect(o[1], unittest.equals('foo')); |
| 979 } | 979 } |
| 980 | 980 |
| 981 core.int buildCounterChannelSettings = 0; | 981 core.int buildCounterChannelSettings = 0; |
| 982 buildChannelSettings() { | 982 buildChannelSettings() { |
| 983 var o = new api.ChannelSettings(); | 983 var o = new api.ChannelSettings(); |
| 984 buildCounterChannelSettings++; | 984 buildCounterChannelSettings++; |
| 985 if (buildCounterChannelSettings < 3) { | 985 if (buildCounterChannelSettings < 3) { |
| 986 o.defaultLanguage = "foo"; | 986 o.defaultLanguage = "foo"; |
| 987 o.defaultTab = "foo"; | 987 o.defaultTab = "foo"; |
| 988 o.description = "foo"; | 988 o.description = "foo"; |
| 989 o.featuredChannelsTitle = "foo"; | 989 o.featuredChannelsTitle = "foo"; |
| 990 o.featuredChannelsUrls = buildUnnamed1408(); | 990 o.featuredChannelsUrls = buildUnnamed1422(); |
| 991 o.keywords = "foo"; | 991 o.keywords = "foo"; |
| 992 o.moderateComments = true; | 992 o.moderateComments = true; |
| 993 o.profileColor = "foo"; | 993 o.profileColor = "foo"; |
| 994 o.showBrowseView = true; | 994 o.showBrowseView = true; |
| 995 o.showRelatedChannels = true; | 995 o.showRelatedChannels = true; |
| 996 o.title = "foo"; | 996 o.title = "foo"; |
| 997 o.trackingAnalyticsAccountId = "foo"; | 997 o.trackingAnalyticsAccountId = "foo"; |
| 998 o.unsubscribedTrailer = "foo"; | 998 o.unsubscribedTrailer = "foo"; |
| 999 } | 999 } |
| 1000 buildCounterChannelSettings--; | 1000 buildCounterChannelSettings--; |
| 1001 return o; | 1001 return o; |
| 1002 } | 1002 } |
| 1003 | 1003 |
| 1004 checkChannelSettings(api.ChannelSettings o) { | 1004 checkChannelSettings(api.ChannelSettings o) { |
| 1005 buildCounterChannelSettings++; | 1005 buildCounterChannelSettings++; |
| 1006 if (buildCounterChannelSettings < 3) { | 1006 if (buildCounterChannelSettings < 3) { |
| 1007 unittest.expect(o.defaultLanguage, unittest.equals('foo')); | 1007 unittest.expect(o.defaultLanguage, unittest.equals('foo')); |
| 1008 unittest.expect(o.defaultTab, unittest.equals('foo')); | 1008 unittest.expect(o.defaultTab, unittest.equals('foo')); |
| 1009 unittest.expect(o.description, unittest.equals('foo')); | 1009 unittest.expect(o.description, unittest.equals('foo')); |
| 1010 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); | 1010 unittest.expect(o.featuredChannelsTitle, unittest.equals('foo')); |
| 1011 checkUnnamed1408(o.featuredChannelsUrls); | 1011 checkUnnamed1422(o.featuredChannelsUrls); |
| 1012 unittest.expect(o.keywords, unittest.equals('foo')); | 1012 unittest.expect(o.keywords, unittest.equals('foo')); |
| 1013 unittest.expect(o.moderateComments, unittest.isTrue); | 1013 unittest.expect(o.moderateComments, unittest.isTrue); |
| 1014 unittest.expect(o.profileColor, unittest.equals('foo')); | 1014 unittest.expect(o.profileColor, unittest.equals('foo')); |
| 1015 unittest.expect(o.showBrowseView, unittest.isTrue); | 1015 unittest.expect(o.showBrowseView, unittest.isTrue); |
| 1016 unittest.expect(o.showRelatedChannels, unittest.isTrue); | 1016 unittest.expect(o.showRelatedChannels, unittest.isTrue); |
| 1017 unittest.expect(o.title, unittest.equals('foo')); | 1017 unittest.expect(o.title, unittest.equals('foo')); |
| 1018 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); | 1018 unittest.expect(o.trackingAnalyticsAccountId, unittest.equals('foo')); |
| 1019 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); | 1019 unittest.expect(o.unsubscribedTrailer, unittest.equals('foo')); |
| 1020 } | 1020 } |
| 1021 buildCounterChannelSettings--; | 1021 buildCounterChannelSettings--; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 checkChannelStatus(api.ChannelStatus o) { | 1093 checkChannelStatus(api.ChannelStatus o) { |
| 1094 buildCounterChannelStatus++; | 1094 buildCounterChannelStatus++; |
| 1095 if (buildCounterChannelStatus < 3) { | 1095 if (buildCounterChannelStatus < 3) { |
| 1096 unittest.expect(o.isLinked, unittest.isTrue); | 1096 unittest.expect(o.isLinked, unittest.isTrue); |
| 1097 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); | 1097 unittest.expect(o.longUploadsStatus, unittest.equals('foo')); |
| 1098 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 1098 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 1099 } | 1099 } |
| 1100 buildCounterChannelStatus--; | 1100 buildCounterChannelStatus--; |
| 1101 } | 1101 } |
| 1102 | 1102 |
| 1103 buildUnnamed1409() { | 1103 buildUnnamed1423() { |
| 1104 var o = new core.List<core.String>(); | 1104 var o = new core.List<core.String>(); |
| 1105 o.add("foo"); | 1105 o.add("foo"); |
| 1106 o.add("foo"); | 1106 o.add("foo"); |
| 1107 return o; | 1107 return o; |
| 1108 } | 1108 } |
| 1109 | 1109 |
| 1110 checkUnnamed1409(core.List<core.String> o) { | 1110 checkUnnamed1423(core.List<core.String> o) { |
| 1111 unittest.expect(o, unittest.hasLength(2)); | 1111 unittest.expect(o, unittest.hasLength(2)); |
| 1112 unittest.expect(o[0], unittest.equals('foo')); | 1112 unittest.expect(o[0], unittest.equals('foo')); |
| 1113 unittest.expect(o[1], unittest.equals('foo')); | 1113 unittest.expect(o[1], unittest.equals('foo')); |
| 1114 } | 1114 } |
| 1115 | 1115 |
| 1116 core.int buildCounterChannelTopicDetails = 0; | 1116 core.int buildCounterChannelTopicDetails = 0; |
| 1117 buildChannelTopicDetails() { | 1117 buildChannelTopicDetails() { |
| 1118 var o = new api.ChannelTopicDetails(); | 1118 var o = new api.ChannelTopicDetails(); |
| 1119 buildCounterChannelTopicDetails++; | 1119 buildCounterChannelTopicDetails++; |
| 1120 if (buildCounterChannelTopicDetails < 3) { | 1120 if (buildCounterChannelTopicDetails < 3) { |
| 1121 o.topicIds = buildUnnamed1409(); | 1121 o.topicIds = buildUnnamed1423(); |
| 1122 } | 1122 } |
| 1123 buildCounterChannelTopicDetails--; | 1123 buildCounterChannelTopicDetails--; |
| 1124 return o; | 1124 return o; |
| 1125 } | 1125 } |
| 1126 | 1126 |
| 1127 checkChannelTopicDetails(api.ChannelTopicDetails o) { | 1127 checkChannelTopicDetails(api.ChannelTopicDetails o) { |
| 1128 buildCounterChannelTopicDetails++; | 1128 buildCounterChannelTopicDetails++; |
| 1129 if (buildCounterChannelTopicDetails < 3) { | 1129 if (buildCounterChannelTopicDetails < 3) { |
| 1130 checkUnnamed1409(o.topicIds); | 1130 checkUnnamed1423(o.topicIds); |
| 1131 } | 1131 } |
| 1132 buildCounterChannelTopicDetails--; | 1132 buildCounterChannelTopicDetails--; |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 buildUnnamed1410() { | 1135 buildUnnamed1424() { |
| 1136 var o = new core.List<core.String>(); | 1136 var o = new core.List<core.String>(); |
| 1137 o.add("foo"); | 1137 o.add("foo"); |
| 1138 o.add("foo"); | 1138 o.add("foo"); |
| 1139 return o; | 1139 return o; |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 checkUnnamed1410(core.List<core.String> o) { | 1142 checkUnnamed1424(core.List<core.String> o) { |
| 1143 unittest.expect(o, unittest.hasLength(2)); | 1143 unittest.expect(o, unittest.hasLength(2)); |
| 1144 unittest.expect(o[0], unittest.equals('foo')); | 1144 unittest.expect(o[0], unittest.equals('foo')); |
| 1145 unittest.expect(o[1], unittest.equals('foo')); | 1145 unittest.expect(o[1], unittest.equals('foo')); |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 core.int buildCounterContentRating = 0; | 1148 core.int buildCounterContentRating = 0; |
| 1149 buildContentRating() { | 1149 buildContentRating() { |
| 1150 var o = new api.ContentRating(); | 1150 var o = new api.ContentRating(); |
| 1151 buildCounterContentRating++; | 1151 buildCounterContentRating++; |
| 1152 if (buildCounterContentRating < 3) { | 1152 if (buildCounterContentRating < 3) { |
| 1153 o.acbRating = "foo"; | 1153 o.acbRating = "foo"; |
| 1154 o.agcomRating = "foo"; | 1154 o.agcomRating = "foo"; |
| 1155 o.anatelRating = "foo"; | 1155 o.anatelRating = "foo"; |
| 1156 o.bbfcRating = "foo"; | 1156 o.bbfcRating = "foo"; |
| 1157 o.bfvcRating = "foo"; | 1157 o.bfvcRating = "foo"; |
| 1158 o.bmukkRating = "foo"; | 1158 o.bmukkRating = "foo"; |
| 1159 o.catvRating = "foo"; | 1159 o.catvRating = "foo"; |
| 1160 o.catvfrRating = "foo"; | 1160 o.catvfrRating = "foo"; |
| 1161 o.cbfcRating = "foo"; | 1161 o.cbfcRating = "foo"; |
| 1162 o.cccRating = "foo"; | 1162 o.cccRating = "foo"; |
| 1163 o.cceRating = "foo"; | 1163 o.cceRating = "foo"; |
| 1164 o.chfilmRating = "foo"; | 1164 o.chfilmRating = "foo"; |
| 1165 o.chvrsRating = "foo"; | 1165 o.chvrsRating = "foo"; |
| 1166 o.cicfRating = "foo"; | 1166 o.cicfRating = "foo"; |
| 1167 o.cnaRating = "foo"; | 1167 o.cnaRating = "foo"; |
| 1168 o.csaRating = "foo"; | 1168 o.csaRating = "foo"; |
| 1169 o.cscfRating = "foo"; | 1169 o.cscfRating = "foo"; |
| 1170 o.czfilmRating = "foo"; | 1170 o.czfilmRating = "foo"; |
| 1171 o.djctqRating = "foo"; | 1171 o.djctqRating = "foo"; |
| 1172 o.djctqRatingReasons = buildUnnamed1410(); | 1172 o.djctqRatingReasons = buildUnnamed1424(); |
| 1173 o.eefilmRating = "foo"; | 1173 o.eefilmRating = "foo"; |
| 1174 o.egfilmRating = "foo"; | 1174 o.egfilmRating = "foo"; |
| 1175 o.eirinRating = "foo"; | 1175 o.eirinRating = "foo"; |
| 1176 o.fcbmRating = "foo"; | 1176 o.fcbmRating = "foo"; |
| 1177 o.fcoRating = "foo"; | 1177 o.fcoRating = "foo"; |
| 1178 o.fmocRating = "foo"; | 1178 o.fmocRating = "foo"; |
| 1179 o.fpbRating = "foo"; | 1179 o.fpbRating = "foo"; |
| 1180 o.fskRating = "foo"; | 1180 o.fskRating = "foo"; |
| 1181 o.grfilmRating = "foo"; | 1181 o.grfilmRating = "foo"; |
| 1182 o.icaaRating = "foo"; | 1182 o.icaaRating = "foo"; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 unittest.expect(o.cccRating, unittest.equals('foo')); | 1234 unittest.expect(o.cccRating, unittest.equals('foo')); |
| 1235 unittest.expect(o.cceRating, unittest.equals('foo')); | 1235 unittest.expect(o.cceRating, unittest.equals('foo')); |
| 1236 unittest.expect(o.chfilmRating, unittest.equals('foo')); | 1236 unittest.expect(o.chfilmRating, unittest.equals('foo')); |
| 1237 unittest.expect(o.chvrsRating, unittest.equals('foo')); | 1237 unittest.expect(o.chvrsRating, unittest.equals('foo')); |
| 1238 unittest.expect(o.cicfRating, unittest.equals('foo')); | 1238 unittest.expect(o.cicfRating, unittest.equals('foo')); |
| 1239 unittest.expect(o.cnaRating, unittest.equals('foo')); | 1239 unittest.expect(o.cnaRating, unittest.equals('foo')); |
| 1240 unittest.expect(o.csaRating, unittest.equals('foo')); | 1240 unittest.expect(o.csaRating, unittest.equals('foo')); |
| 1241 unittest.expect(o.cscfRating, unittest.equals('foo')); | 1241 unittest.expect(o.cscfRating, unittest.equals('foo')); |
| 1242 unittest.expect(o.czfilmRating, unittest.equals('foo')); | 1242 unittest.expect(o.czfilmRating, unittest.equals('foo')); |
| 1243 unittest.expect(o.djctqRating, unittest.equals('foo')); | 1243 unittest.expect(o.djctqRating, unittest.equals('foo')); |
| 1244 checkUnnamed1410(o.djctqRatingReasons); | 1244 checkUnnamed1424(o.djctqRatingReasons); |
| 1245 unittest.expect(o.eefilmRating, unittest.equals('foo')); | 1245 unittest.expect(o.eefilmRating, unittest.equals('foo')); |
| 1246 unittest.expect(o.egfilmRating, unittest.equals('foo')); | 1246 unittest.expect(o.egfilmRating, unittest.equals('foo')); |
| 1247 unittest.expect(o.eirinRating, unittest.equals('foo')); | 1247 unittest.expect(o.eirinRating, unittest.equals('foo')); |
| 1248 unittest.expect(o.fcbmRating, unittest.equals('foo')); | 1248 unittest.expect(o.fcbmRating, unittest.equals('foo')); |
| 1249 unittest.expect(o.fcoRating, unittest.equals('foo')); | 1249 unittest.expect(o.fcoRating, unittest.equals('foo')); |
| 1250 unittest.expect(o.fmocRating, unittest.equals('foo')); | 1250 unittest.expect(o.fmocRating, unittest.equals('foo')); |
| 1251 unittest.expect(o.fpbRating, unittest.equals('foo')); | 1251 unittest.expect(o.fpbRating, unittest.equals('foo')); |
| 1252 unittest.expect(o.fskRating, unittest.equals('foo')); | 1252 unittest.expect(o.fskRating, unittest.equals('foo')); |
| 1253 unittest.expect(o.grfilmRating, unittest.equals('foo')); | 1253 unittest.expect(o.grfilmRating, unittest.equals('foo')); |
| 1254 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... |
| 1331 buildCounterGuideCategory++; | 1331 buildCounterGuideCategory++; |
| 1332 if (buildCounterGuideCategory < 3) { | 1332 if (buildCounterGuideCategory < 3) { |
| 1333 unittest.expect(o.etag, unittest.equals('foo')); | 1333 unittest.expect(o.etag, unittest.equals('foo')); |
| 1334 unittest.expect(o.id, unittest.equals('foo')); | 1334 unittest.expect(o.id, unittest.equals('foo')); |
| 1335 unittest.expect(o.kind, unittest.equals('foo')); | 1335 unittest.expect(o.kind, unittest.equals('foo')); |
| 1336 checkGuideCategorySnippet(o.snippet); | 1336 checkGuideCategorySnippet(o.snippet); |
| 1337 } | 1337 } |
| 1338 buildCounterGuideCategory--; | 1338 buildCounterGuideCategory--; |
| 1339 } | 1339 } |
| 1340 | 1340 |
| 1341 buildUnnamed1411() { | 1341 buildUnnamed1425() { |
| 1342 var o = new core.List<api.GuideCategory>(); | 1342 var o = new core.List<api.GuideCategory>(); |
| 1343 o.add(buildGuideCategory()); | 1343 o.add(buildGuideCategory()); |
| 1344 o.add(buildGuideCategory()); | 1344 o.add(buildGuideCategory()); |
| 1345 return o; | 1345 return o; |
| 1346 } | 1346 } |
| 1347 | 1347 |
| 1348 checkUnnamed1411(core.List<api.GuideCategory> o) { | 1348 checkUnnamed1425(core.List<api.GuideCategory> o) { |
| 1349 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
| 1350 checkGuideCategory(o[0]); | 1350 checkGuideCategory(o[0]); |
| 1351 checkGuideCategory(o[1]); | 1351 checkGuideCategory(o[1]); |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 core.int buildCounterGuideCategoryListResponse = 0; | 1354 core.int buildCounterGuideCategoryListResponse = 0; |
| 1355 buildGuideCategoryListResponse() { | 1355 buildGuideCategoryListResponse() { |
| 1356 var o = new api.GuideCategoryListResponse(); | 1356 var o = new api.GuideCategoryListResponse(); |
| 1357 buildCounterGuideCategoryListResponse++; | 1357 buildCounterGuideCategoryListResponse++; |
| 1358 if (buildCounterGuideCategoryListResponse < 3) { | 1358 if (buildCounterGuideCategoryListResponse < 3) { |
| 1359 o.etag = "foo"; | 1359 o.etag = "foo"; |
| 1360 o.eventId = "foo"; | 1360 o.eventId = "foo"; |
| 1361 o.items = buildUnnamed1411(); | 1361 o.items = buildUnnamed1425(); |
| 1362 o.kind = "foo"; | 1362 o.kind = "foo"; |
| 1363 o.nextPageToken = "foo"; | 1363 o.nextPageToken = "foo"; |
| 1364 o.pageInfo = buildPageInfo(); | 1364 o.pageInfo = buildPageInfo(); |
| 1365 o.prevPageToken = "foo"; | 1365 o.prevPageToken = "foo"; |
| 1366 o.tokenPagination = buildTokenPagination(); | 1366 o.tokenPagination = buildTokenPagination(); |
| 1367 o.visitorId = "foo"; | 1367 o.visitorId = "foo"; |
| 1368 } | 1368 } |
| 1369 buildCounterGuideCategoryListResponse--; | 1369 buildCounterGuideCategoryListResponse--; |
| 1370 return o; | 1370 return o; |
| 1371 } | 1371 } |
| 1372 | 1372 |
| 1373 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { | 1373 checkGuideCategoryListResponse(api.GuideCategoryListResponse o) { |
| 1374 buildCounterGuideCategoryListResponse++; | 1374 buildCounterGuideCategoryListResponse++; |
| 1375 if (buildCounterGuideCategoryListResponse < 3) { | 1375 if (buildCounterGuideCategoryListResponse < 3) { |
| 1376 unittest.expect(o.etag, unittest.equals('foo')); | 1376 unittest.expect(o.etag, unittest.equals('foo')); |
| 1377 unittest.expect(o.eventId, unittest.equals('foo')); | 1377 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1378 checkUnnamed1411(o.items); | 1378 checkUnnamed1425(o.items); |
| 1379 unittest.expect(o.kind, unittest.equals('foo')); | 1379 unittest.expect(o.kind, unittest.equals('foo')); |
| 1380 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1380 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1381 checkPageInfo(o.pageInfo); | 1381 checkPageInfo(o.pageInfo); |
| 1382 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1382 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1383 checkTokenPagination(o.tokenPagination); | 1383 checkTokenPagination(o.tokenPagination); |
| 1384 unittest.expect(o.visitorId, unittest.equals('foo')); | 1384 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1385 } | 1385 } |
| 1386 buildCounterGuideCategoryListResponse--; | 1386 buildCounterGuideCategoryListResponse--; |
| 1387 } | 1387 } |
| 1388 | 1388 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1425 buildCounterI18nLanguage++; | 1425 buildCounterI18nLanguage++; |
| 1426 if (buildCounterI18nLanguage < 3) { | 1426 if (buildCounterI18nLanguage < 3) { |
| 1427 unittest.expect(o.etag, unittest.equals('foo')); | 1427 unittest.expect(o.etag, unittest.equals('foo')); |
| 1428 unittest.expect(o.id, unittest.equals('foo')); | 1428 unittest.expect(o.id, unittest.equals('foo')); |
| 1429 unittest.expect(o.kind, unittest.equals('foo')); | 1429 unittest.expect(o.kind, unittest.equals('foo')); |
| 1430 checkI18nLanguageSnippet(o.snippet); | 1430 checkI18nLanguageSnippet(o.snippet); |
| 1431 } | 1431 } |
| 1432 buildCounterI18nLanguage--; | 1432 buildCounterI18nLanguage--; |
| 1433 } | 1433 } |
| 1434 | 1434 |
| 1435 buildUnnamed1412() { | 1435 buildUnnamed1426() { |
| 1436 var o = new core.List<api.I18nLanguage>(); | 1436 var o = new core.List<api.I18nLanguage>(); |
| 1437 o.add(buildI18nLanguage()); | 1437 o.add(buildI18nLanguage()); |
| 1438 o.add(buildI18nLanguage()); | 1438 o.add(buildI18nLanguage()); |
| 1439 return o; | 1439 return o; |
| 1440 } | 1440 } |
| 1441 | 1441 |
| 1442 checkUnnamed1412(core.List<api.I18nLanguage> o) { | 1442 checkUnnamed1426(core.List<api.I18nLanguage> o) { |
| 1443 unittest.expect(o, unittest.hasLength(2)); | 1443 unittest.expect(o, unittest.hasLength(2)); |
| 1444 checkI18nLanguage(o[0]); | 1444 checkI18nLanguage(o[0]); |
| 1445 checkI18nLanguage(o[1]); | 1445 checkI18nLanguage(o[1]); |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 core.int buildCounterI18nLanguageListResponse = 0; | 1448 core.int buildCounterI18nLanguageListResponse = 0; |
| 1449 buildI18nLanguageListResponse() { | 1449 buildI18nLanguageListResponse() { |
| 1450 var o = new api.I18nLanguageListResponse(); | 1450 var o = new api.I18nLanguageListResponse(); |
| 1451 buildCounterI18nLanguageListResponse++; | 1451 buildCounterI18nLanguageListResponse++; |
| 1452 if (buildCounterI18nLanguageListResponse < 3) { | 1452 if (buildCounterI18nLanguageListResponse < 3) { |
| 1453 o.etag = "foo"; | 1453 o.etag = "foo"; |
| 1454 o.eventId = "foo"; | 1454 o.eventId = "foo"; |
| 1455 o.items = buildUnnamed1412(); | 1455 o.items = buildUnnamed1426(); |
| 1456 o.kind = "foo"; | 1456 o.kind = "foo"; |
| 1457 o.visitorId = "foo"; | 1457 o.visitorId = "foo"; |
| 1458 } | 1458 } |
| 1459 buildCounterI18nLanguageListResponse--; | 1459 buildCounterI18nLanguageListResponse--; |
| 1460 return o; | 1460 return o; |
| 1461 } | 1461 } |
| 1462 | 1462 |
| 1463 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { | 1463 checkI18nLanguageListResponse(api.I18nLanguageListResponse o) { |
| 1464 buildCounterI18nLanguageListResponse++; | 1464 buildCounterI18nLanguageListResponse++; |
| 1465 if (buildCounterI18nLanguageListResponse < 3) { | 1465 if (buildCounterI18nLanguageListResponse < 3) { |
| 1466 unittest.expect(o.etag, unittest.equals('foo')); | 1466 unittest.expect(o.etag, unittest.equals('foo')); |
| 1467 unittest.expect(o.eventId, unittest.equals('foo')); | 1467 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1468 checkUnnamed1412(o.items); | 1468 checkUnnamed1426(o.items); |
| 1469 unittest.expect(o.kind, unittest.equals('foo')); | 1469 unittest.expect(o.kind, unittest.equals('foo')); |
| 1470 unittest.expect(o.visitorId, unittest.equals('foo')); | 1470 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1471 } | 1471 } |
| 1472 buildCounterI18nLanguageListResponse--; | 1472 buildCounterI18nLanguageListResponse--; |
| 1473 } | 1473 } |
| 1474 | 1474 |
| 1475 core.int buildCounterI18nLanguageSnippet = 0; | 1475 core.int buildCounterI18nLanguageSnippet = 0; |
| 1476 buildI18nLanguageSnippet() { | 1476 buildI18nLanguageSnippet() { |
| 1477 var o = new api.I18nLanguageSnippet(); | 1477 var o = new api.I18nLanguageSnippet(); |
| 1478 buildCounterI18nLanguageSnippet++; | 1478 buildCounterI18nLanguageSnippet++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1511 buildCounterI18nRegion++; | 1511 buildCounterI18nRegion++; |
| 1512 if (buildCounterI18nRegion < 3) { | 1512 if (buildCounterI18nRegion < 3) { |
| 1513 unittest.expect(o.etag, unittest.equals('foo')); | 1513 unittest.expect(o.etag, unittest.equals('foo')); |
| 1514 unittest.expect(o.id, unittest.equals('foo')); | 1514 unittest.expect(o.id, unittest.equals('foo')); |
| 1515 unittest.expect(o.kind, unittest.equals('foo')); | 1515 unittest.expect(o.kind, unittest.equals('foo')); |
| 1516 checkI18nRegionSnippet(o.snippet); | 1516 checkI18nRegionSnippet(o.snippet); |
| 1517 } | 1517 } |
| 1518 buildCounterI18nRegion--; | 1518 buildCounterI18nRegion--; |
| 1519 } | 1519 } |
| 1520 | 1520 |
| 1521 buildUnnamed1413() { | 1521 buildUnnamed1427() { |
| 1522 var o = new core.List<api.I18nRegion>(); | 1522 var o = new core.List<api.I18nRegion>(); |
| 1523 o.add(buildI18nRegion()); | 1523 o.add(buildI18nRegion()); |
| 1524 o.add(buildI18nRegion()); | 1524 o.add(buildI18nRegion()); |
| 1525 return o; | 1525 return o; |
| 1526 } | 1526 } |
| 1527 | 1527 |
| 1528 checkUnnamed1413(core.List<api.I18nRegion> o) { | 1528 checkUnnamed1427(core.List<api.I18nRegion> o) { |
| 1529 unittest.expect(o, unittest.hasLength(2)); | 1529 unittest.expect(o, unittest.hasLength(2)); |
| 1530 checkI18nRegion(o[0]); | 1530 checkI18nRegion(o[0]); |
| 1531 checkI18nRegion(o[1]); | 1531 checkI18nRegion(o[1]); |
| 1532 } | 1532 } |
| 1533 | 1533 |
| 1534 core.int buildCounterI18nRegionListResponse = 0; | 1534 core.int buildCounterI18nRegionListResponse = 0; |
| 1535 buildI18nRegionListResponse() { | 1535 buildI18nRegionListResponse() { |
| 1536 var o = new api.I18nRegionListResponse(); | 1536 var o = new api.I18nRegionListResponse(); |
| 1537 buildCounterI18nRegionListResponse++; | 1537 buildCounterI18nRegionListResponse++; |
| 1538 if (buildCounterI18nRegionListResponse < 3) { | 1538 if (buildCounterI18nRegionListResponse < 3) { |
| 1539 o.etag = "foo"; | 1539 o.etag = "foo"; |
| 1540 o.eventId = "foo"; | 1540 o.eventId = "foo"; |
| 1541 o.items = buildUnnamed1413(); | 1541 o.items = buildUnnamed1427(); |
| 1542 o.kind = "foo"; | 1542 o.kind = "foo"; |
| 1543 o.visitorId = "foo"; | 1543 o.visitorId = "foo"; |
| 1544 } | 1544 } |
| 1545 buildCounterI18nRegionListResponse--; | 1545 buildCounterI18nRegionListResponse--; |
| 1546 return o; | 1546 return o; |
| 1547 } | 1547 } |
| 1548 | 1548 |
| 1549 checkI18nRegionListResponse(api.I18nRegionListResponse o) { | 1549 checkI18nRegionListResponse(api.I18nRegionListResponse o) { |
| 1550 buildCounterI18nRegionListResponse++; | 1550 buildCounterI18nRegionListResponse++; |
| 1551 if (buildCounterI18nRegionListResponse < 3) { | 1551 if (buildCounterI18nRegionListResponse < 3) { |
| 1552 unittest.expect(o.etag, unittest.equals('foo')); | 1552 unittest.expect(o.etag, unittest.equals('foo')); |
| 1553 unittest.expect(o.eventId, unittest.equals('foo')); | 1553 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1554 checkUnnamed1413(o.items); | 1554 checkUnnamed1427(o.items); |
| 1555 unittest.expect(o.kind, unittest.equals('foo')); | 1555 unittest.expect(o.kind, unittest.equals('foo')); |
| 1556 unittest.expect(o.visitorId, unittest.equals('foo')); | 1556 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1557 } | 1557 } |
| 1558 buildCounterI18nRegionListResponse--; | 1558 buildCounterI18nRegionListResponse--; |
| 1559 } | 1559 } |
| 1560 | 1560 |
| 1561 core.int buildCounterI18nRegionSnippet = 0; | 1561 core.int buildCounterI18nRegionSnippet = 0; |
| 1562 buildI18nRegionSnippet() { | 1562 buildI18nRegionSnippet() { |
| 1563 var o = new api.I18nRegionSnippet(); | 1563 var o = new api.I18nRegionSnippet(); |
| 1564 buildCounterI18nRegionSnippet++; | 1564 buildCounterI18nRegionSnippet++; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1704 | 1704 |
| 1705 checkInvideoPosition(api.InvideoPosition o) { | 1705 checkInvideoPosition(api.InvideoPosition o) { |
| 1706 buildCounterInvideoPosition++; | 1706 buildCounterInvideoPosition++; |
| 1707 if (buildCounterInvideoPosition < 3) { | 1707 if (buildCounterInvideoPosition < 3) { |
| 1708 unittest.expect(o.cornerPosition, unittest.equals('foo')); | 1708 unittest.expect(o.cornerPosition, unittest.equals('foo')); |
| 1709 unittest.expect(o.type, unittest.equals('foo')); | 1709 unittest.expect(o.type, unittest.equals('foo')); |
| 1710 } | 1710 } |
| 1711 buildCounterInvideoPosition--; | 1711 buildCounterInvideoPosition--; |
| 1712 } | 1712 } |
| 1713 | 1713 |
| 1714 buildUnnamed1414() { | 1714 buildUnnamed1428() { |
| 1715 var o = new core.List<api.PromotedItem>(); | 1715 var o = new core.List<api.PromotedItem>(); |
| 1716 o.add(buildPromotedItem()); | 1716 o.add(buildPromotedItem()); |
| 1717 o.add(buildPromotedItem()); | 1717 o.add(buildPromotedItem()); |
| 1718 return o; | 1718 return o; |
| 1719 } | 1719 } |
| 1720 | 1720 |
| 1721 checkUnnamed1414(core.List<api.PromotedItem> o) { | 1721 checkUnnamed1428(core.List<api.PromotedItem> o) { |
| 1722 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1723 checkPromotedItem(o[0]); | 1723 checkPromotedItem(o[0]); |
| 1724 checkPromotedItem(o[1]); | 1724 checkPromotedItem(o[1]); |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 core.int buildCounterInvideoPromotion = 0; | 1727 core.int buildCounterInvideoPromotion = 0; |
| 1728 buildInvideoPromotion() { | 1728 buildInvideoPromotion() { |
| 1729 var o = new api.InvideoPromotion(); | 1729 var o = new api.InvideoPromotion(); |
| 1730 buildCounterInvideoPromotion++; | 1730 buildCounterInvideoPromotion++; |
| 1731 if (buildCounterInvideoPromotion < 3) { | 1731 if (buildCounterInvideoPromotion < 3) { |
| 1732 o.defaultTiming = buildInvideoTiming(); | 1732 o.defaultTiming = buildInvideoTiming(); |
| 1733 o.items = buildUnnamed1414(); | 1733 o.items = buildUnnamed1428(); |
| 1734 o.position = buildInvideoPosition(); | 1734 o.position = buildInvideoPosition(); |
| 1735 o.useSmartTiming = true; | 1735 o.useSmartTiming = true; |
| 1736 } | 1736 } |
| 1737 buildCounterInvideoPromotion--; | 1737 buildCounterInvideoPromotion--; |
| 1738 return o; | 1738 return o; |
| 1739 } | 1739 } |
| 1740 | 1740 |
| 1741 checkInvideoPromotion(api.InvideoPromotion o) { | 1741 checkInvideoPromotion(api.InvideoPromotion o) { |
| 1742 buildCounterInvideoPromotion++; | 1742 buildCounterInvideoPromotion++; |
| 1743 if (buildCounterInvideoPromotion < 3) { | 1743 if (buildCounterInvideoPromotion < 3) { |
| 1744 checkInvideoTiming(o.defaultTiming); | 1744 checkInvideoTiming(o.defaultTiming); |
| 1745 checkUnnamed1414(o.items); | 1745 checkUnnamed1428(o.items); |
| 1746 checkInvideoPosition(o.position); | 1746 checkInvideoPosition(o.position); |
| 1747 unittest.expect(o.useSmartTiming, unittest.isTrue); | 1747 unittest.expect(o.useSmartTiming, unittest.isTrue); |
| 1748 } | 1748 } |
| 1749 buildCounterInvideoPromotion--; | 1749 buildCounterInvideoPromotion--; |
| 1750 } | 1750 } |
| 1751 | 1751 |
| 1752 core.int buildCounterInvideoTiming = 0; | 1752 core.int buildCounterInvideoTiming = 0; |
| 1753 buildInvideoTiming() { | 1753 buildInvideoTiming() { |
| 1754 var o = new api.InvideoTiming(); | 1754 var o = new api.InvideoTiming(); |
| 1755 buildCounterInvideoTiming++; | 1755 buildCounterInvideoTiming++; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1846 unittest.expect(o.enableContentEncryption, unittest.isTrue); | 1846 unittest.expect(o.enableContentEncryption, unittest.isTrue); |
| 1847 unittest.expect(o.enableDvr, unittest.isTrue); | 1847 unittest.expect(o.enableDvr, unittest.isTrue); |
| 1848 unittest.expect(o.enableEmbed, unittest.isTrue); | 1848 unittest.expect(o.enableEmbed, unittest.isTrue); |
| 1849 checkMonitorStreamInfo(o.monitorStream); | 1849 checkMonitorStreamInfo(o.monitorStream); |
| 1850 unittest.expect(o.recordFromStart, unittest.isTrue); | 1850 unittest.expect(o.recordFromStart, unittest.isTrue); |
| 1851 unittest.expect(o.startWithSlate, unittest.isTrue); | 1851 unittest.expect(o.startWithSlate, unittest.isTrue); |
| 1852 } | 1852 } |
| 1853 buildCounterLiveBroadcastContentDetails--; | 1853 buildCounterLiveBroadcastContentDetails--; |
| 1854 } | 1854 } |
| 1855 | 1855 |
| 1856 buildUnnamed1415() { | 1856 buildUnnamed1429() { |
| 1857 var o = new core.List<api.LiveBroadcast>(); | 1857 var o = new core.List<api.LiveBroadcast>(); |
| 1858 o.add(buildLiveBroadcast()); | 1858 o.add(buildLiveBroadcast()); |
| 1859 o.add(buildLiveBroadcast()); | 1859 o.add(buildLiveBroadcast()); |
| 1860 return o; | 1860 return o; |
| 1861 } | 1861 } |
| 1862 | 1862 |
| 1863 checkUnnamed1415(core.List<api.LiveBroadcast> o) { | 1863 checkUnnamed1429(core.List<api.LiveBroadcast> o) { |
| 1864 unittest.expect(o, unittest.hasLength(2)); | 1864 unittest.expect(o, unittest.hasLength(2)); |
| 1865 checkLiveBroadcast(o[0]); | 1865 checkLiveBroadcast(o[0]); |
| 1866 checkLiveBroadcast(o[1]); | 1866 checkLiveBroadcast(o[1]); |
| 1867 } | 1867 } |
| 1868 | 1868 |
| 1869 core.int buildCounterLiveBroadcastListResponse = 0; | 1869 core.int buildCounterLiveBroadcastListResponse = 0; |
| 1870 buildLiveBroadcastListResponse() { | 1870 buildLiveBroadcastListResponse() { |
| 1871 var o = new api.LiveBroadcastListResponse(); | 1871 var o = new api.LiveBroadcastListResponse(); |
| 1872 buildCounterLiveBroadcastListResponse++; | 1872 buildCounterLiveBroadcastListResponse++; |
| 1873 if (buildCounterLiveBroadcastListResponse < 3) { | 1873 if (buildCounterLiveBroadcastListResponse < 3) { |
| 1874 o.etag = "foo"; | 1874 o.etag = "foo"; |
| 1875 o.eventId = "foo"; | 1875 o.eventId = "foo"; |
| 1876 o.items = buildUnnamed1415(); | 1876 o.items = buildUnnamed1429(); |
| 1877 o.kind = "foo"; | 1877 o.kind = "foo"; |
| 1878 o.nextPageToken = "foo"; | 1878 o.nextPageToken = "foo"; |
| 1879 o.pageInfo = buildPageInfo(); | 1879 o.pageInfo = buildPageInfo(); |
| 1880 o.prevPageToken = "foo"; | 1880 o.prevPageToken = "foo"; |
| 1881 o.tokenPagination = buildTokenPagination(); | 1881 o.tokenPagination = buildTokenPagination(); |
| 1882 o.visitorId = "foo"; | 1882 o.visitorId = "foo"; |
| 1883 } | 1883 } |
| 1884 buildCounterLiveBroadcastListResponse--; | 1884 buildCounterLiveBroadcastListResponse--; |
| 1885 return o; | 1885 return o; |
| 1886 } | 1886 } |
| 1887 | 1887 |
| 1888 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { | 1888 checkLiveBroadcastListResponse(api.LiveBroadcastListResponse o) { |
| 1889 buildCounterLiveBroadcastListResponse++; | 1889 buildCounterLiveBroadcastListResponse++; |
| 1890 if (buildCounterLiveBroadcastListResponse < 3) { | 1890 if (buildCounterLiveBroadcastListResponse < 3) { |
| 1891 unittest.expect(o.etag, unittest.equals('foo')); | 1891 unittest.expect(o.etag, unittest.equals('foo')); |
| 1892 unittest.expect(o.eventId, unittest.equals('foo')); | 1892 unittest.expect(o.eventId, unittest.equals('foo')); |
| 1893 checkUnnamed1415(o.items); | 1893 checkUnnamed1429(o.items); |
| 1894 unittest.expect(o.kind, unittest.equals('foo')); | 1894 unittest.expect(o.kind, unittest.equals('foo')); |
| 1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1895 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1896 checkPageInfo(o.pageInfo); | 1896 checkPageInfo(o.pageInfo); |
| 1897 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 1897 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 1898 checkTokenPagination(o.tokenPagination); | 1898 checkTokenPagination(o.tokenPagination); |
| 1899 unittest.expect(o.visitorId, unittest.equals('foo')); | 1899 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 1900 } | 1900 } |
| 1901 buildCounterLiveBroadcastListResponse--; | 1901 buildCounterLiveBroadcastListResponse--; |
| 1902 } | 1902 } |
| 1903 | 1903 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2006 | 2006 |
| 2007 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { | 2007 checkLiveStreamContentDetails(api.LiveStreamContentDetails o) { |
| 2008 buildCounterLiveStreamContentDetails++; | 2008 buildCounterLiveStreamContentDetails++; |
| 2009 if (buildCounterLiveStreamContentDetails < 3) { | 2009 if (buildCounterLiveStreamContentDetails < 3) { |
| 2010 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); | 2010 unittest.expect(o.closedCaptionsIngestionUrl, unittest.equals('foo')); |
| 2011 unittest.expect(o.isReusable, unittest.isTrue); | 2011 unittest.expect(o.isReusable, unittest.isTrue); |
| 2012 } | 2012 } |
| 2013 buildCounterLiveStreamContentDetails--; | 2013 buildCounterLiveStreamContentDetails--; |
| 2014 } | 2014 } |
| 2015 | 2015 |
| 2016 buildUnnamed1416() { | 2016 buildUnnamed1430() { |
| 2017 var o = new core.List<api.LiveStream>(); | 2017 var o = new core.List<api.LiveStream>(); |
| 2018 o.add(buildLiveStream()); | 2018 o.add(buildLiveStream()); |
| 2019 o.add(buildLiveStream()); | 2019 o.add(buildLiveStream()); |
| 2020 return o; | 2020 return o; |
| 2021 } | 2021 } |
| 2022 | 2022 |
| 2023 checkUnnamed1416(core.List<api.LiveStream> o) { | 2023 checkUnnamed1430(core.List<api.LiveStream> o) { |
| 2024 unittest.expect(o, unittest.hasLength(2)); | 2024 unittest.expect(o, unittest.hasLength(2)); |
| 2025 checkLiveStream(o[0]); | 2025 checkLiveStream(o[0]); |
| 2026 checkLiveStream(o[1]); | 2026 checkLiveStream(o[1]); |
| 2027 } | 2027 } |
| 2028 | 2028 |
| 2029 core.int buildCounterLiveStreamListResponse = 0; | 2029 core.int buildCounterLiveStreamListResponse = 0; |
| 2030 buildLiveStreamListResponse() { | 2030 buildLiveStreamListResponse() { |
| 2031 var o = new api.LiveStreamListResponse(); | 2031 var o = new api.LiveStreamListResponse(); |
| 2032 buildCounterLiveStreamListResponse++; | 2032 buildCounterLiveStreamListResponse++; |
| 2033 if (buildCounterLiveStreamListResponse < 3) { | 2033 if (buildCounterLiveStreamListResponse < 3) { |
| 2034 o.etag = "foo"; | 2034 o.etag = "foo"; |
| 2035 o.eventId = "foo"; | 2035 o.eventId = "foo"; |
| 2036 o.items = buildUnnamed1416(); | 2036 o.items = buildUnnamed1430(); |
| 2037 o.kind = "foo"; | 2037 o.kind = "foo"; |
| 2038 o.nextPageToken = "foo"; | 2038 o.nextPageToken = "foo"; |
| 2039 o.pageInfo = buildPageInfo(); | 2039 o.pageInfo = buildPageInfo(); |
| 2040 o.prevPageToken = "foo"; | 2040 o.prevPageToken = "foo"; |
| 2041 o.tokenPagination = buildTokenPagination(); | 2041 o.tokenPagination = buildTokenPagination(); |
| 2042 o.visitorId = "foo"; | 2042 o.visitorId = "foo"; |
| 2043 } | 2043 } |
| 2044 buildCounterLiveStreamListResponse--; | 2044 buildCounterLiveStreamListResponse--; |
| 2045 return o; | 2045 return o; |
| 2046 } | 2046 } |
| 2047 | 2047 |
| 2048 checkLiveStreamListResponse(api.LiveStreamListResponse o) { | 2048 checkLiveStreamListResponse(api.LiveStreamListResponse o) { |
| 2049 buildCounterLiveStreamListResponse++; | 2049 buildCounterLiveStreamListResponse++; |
| 2050 if (buildCounterLiveStreamListResponse < 3) { | 2050 if (buildCounterLiveStreamListResponse < 3) { |
| 2051 unittest.expect(o.etag, unittest.equals('foo')); | 2051 unittest.expect(o.etag, unittest.equals('foo')); |
| 2052 unittest.expect(o.eventId, unittest.equals('foo')); | 2052 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2053 checkUnnamed1416(o.items); | 2053 checkUnnamed1430(o.items); |
| 2054 unittest.expect(o.kind, unittest.equals('foo')); | 2054 unittest.expect(o.kind, unittest.equals('foo')); |
| 2055 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2055 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2056 checkPageInfo(o.pageInfo); | 2056 checkPageInfo(o.pageInfo); |
| 2057 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2057 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2058 checkTokenPagination(o.tokenPagination); | 2058 checkTokenPagination(o.tokenPagination); |
| 2059 unittest.expect(o.visitorId, unittest.equals('foo')); | 2059 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2060 } | 2060 } |
| 2061 buildCounterLiveStreamListResponse--; | 2061 buildCounterLiveStreamListResponse--; |
| 2062 } | 2062 } |
| 2063 | 2063 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2098 } | 2098 } |
| 2099 | 2099 |
| 2100 checkLiveStreamStatus(api.LiveStreamStatus o) { | 2100 checkLiveStreamStatus(api.LiveStreamStatus o) { |
| 2101 buildCounterLiveStreamStatus++; | 2101 buildCounterLiveStreamStatus++; |
| 2102 if (buildCounterLiveStreamStatus < 3) { | 2102 if (buildCounterLiveStreamStatus < 3) { |
| 2103 unittest.expect(o.streamStatus, unittest.equals('foo')); | 2103 unittest.expect(o.streamStatus, unittest.equals('foo')); |
| 2104 } | 2104 } |
| 2105 buildCounterLiveStreamStatus--; | 2105 buildCounterLiveStreamStatus--; |
| 2106 } | 2106 } |
| 2107 | 2107 |
| 2108 buildUnnamed1417() { | 2108 buildUnnamed1431() { |
| 2109 var o = new core.List<api.LocalizedString>(); | 2109 var o = new core.List<api.LocalizedString>(); |
| 2110 o.add(buildLocalizedString()); | 2110 o.add(buildLocalizedString()); |
| 2111 o.add(buildLocalizedString()); | 2111 o.add(buildLocalizedString()); |
| 2112 return o; | 2112 return o; |
| 2113 } | 2113 } |
| 2114 | 2114 |
| 2115 checkUnnamed1417(core.List<api.LocalizedString> o) { | 2115 checkUnnamed1431(core.List<api.LocalizedString> o) { |
| 2116 unittest.expect(o, unittest.hasLength(2)); | 2116 unittest.expect(o, unittest.hasLength(2)); |
| 2117 checkLocalizedString(o[0]); | 2117 checkLocalizedString(o[0]); |
| 2118 checkLocalizedString(o[1]); | 2118 checkLocalizedString(o[1]); |
| 2119 } | 2119 } |
| 2120 | 2120 |
| 2121 core.int buildCounterLocalizedProperty = 0; | 2121 core.int buildCounterLocalizedProperty = 0; |
| 2122 buildLocalizedProperty() { | 2122 buildLocalizedProperty() { |
| 2123 var o = new api.LocalizedProperty(); | 2123 var o = new api.LocalizedProperty(); |
| 2124 buildCounterLocalizedProperty++; | 2124 buildCounterLocalizedProperty++; |
| 2125 if (buildCounterLocalizedProperty < 3) { | 2125 if (buildCounterLocalizedProperty < 3) { |
| 2126 o.default_ = "foo"; | 2126 o.default_ = "foo"; |
| 2127 o.defaultLanguage = buildLanguageTag(); | 2127 o.defaultLanguage = buildLanguageTag(); |
| 2128 o.localized = buildUnnamed1417(); | 2128 o.localized = buildUnnamed1431(); |
| 2129 } | 2129 } |
| 2130 buildCounterLocalizedProperty--; | 2130 buildCounterLocalizedProperty--; |
| 2131 return o; | 2131 return o; |
| 2132 } | 2132 } |
| 2133 | 2133 |
| 2134 checkLocalizedProperty(api.LocalizedProperty o) { | 2134 checkLocalizedProperty(api.LocalizedProperty o) { |
| 2135 buildCounterLocalizedProperty++; | 2135 buildCounterLocalizedProperty++; |
| 2136 if (buildCounterLocalizedProperty < 3) { | 2136 if (buildCounterLocalizedProperty < 3) { |
| 2137 unittest.expect(o.default_, unittest.equals('foo')); | 2137 unittest.expect(o.default_, unittest.equals('foo')); |
| 2138 checkLanguageTag(o.defaultLanguage); | 2138 checkLanguageTag(o.defaultLanguage); |
| 2139 checkUnnamed1417(o.localized); | 2139 checkUnnamed1431(o.localized); |
| 2140 } | 2140 } |
| 2141 buildCounterLocalizedProperty--; | 2141 buildCounterLocalizedProperty--; |
| 2142 } | 2142 } |
| 2143 | 2143 |
| 2144 core.int buildCounterLocalizedString = 0; | 2144 core.int buildCounterLocalizedString = 0; |
| 2145 buildLocalizedString() { | 2145 buildLocalizedString() { |
| 2146 var o = new api.LocalizedString(); | 2146 var o = new api.LocalizedString(); |
| 2147 buildCounterLocalizedString++; | 2147 buildCounterLocalizedString++; |
| 2148 if (buildCounterLocalizedString < 3) { | 2148 if (buildCounterLocalizedString < 3) { |
| 2149 o.language = "foo"; | 2149 o.language = "foo"; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2303 buildCounterPlaylistItemContentDetails++; | 2303 buildCounterPlaylistItemContentDetails++; |
| 2304 if (buildCounterPlaylistItemContentDetails < 3) { | 2304 if (buildCounterPlaylistItemContentDetails < 3) { |
| 2305 unittest.expect(o.endAt, unittest.equals('foo')); | 2305 unittest.expect(o.endAt, unittest.equals('foo')); |
| 2306 unittest.expect(o.note, unittest.equals('foo')); | 2306 unittest.expect(o.note, unittest.equals('foo')); |
| 2307 unittest.expect(o.startAt, unittest.equals('foo')); | 2307 unittest.expect(o.startAt, unittest.equals('foo')); |
| 2308 unittest.expect(o.videoId, unittest.equals('foo')); | 2308 unittest.expect(o.videoId, unittest.equals('foo')); |
| 2309 } | 2309 } |
| 2310 buildCounterPlaylistItemContentDetails--; | 2310 buildCounterPlaylistItemContentDetails--; |
| 2311 } | 2311 } |
| 2312 | 2312 |
| 2313 buildUnnamed1418() { | 2313 buildUnnamed1432() { |
| 2314 var o = new core.List<api.PlaylistItem>(); | 2314 var o = new core.List<api.PlaylistItem>(); |
| 2315 o.add(buildPlaylistItem()); | 2315 o.add(buildPlaylistItem()); |
| 2316 o.add(buildPlaylistItem()); | 2316 o.add(buildPlaylistItem()); |
| 2317 return o; | 2317 return o; |
| 2318 } | 2318 } |
| 2319 | 2319 |
| 2320 checkUnnamed1418(core.List<api.PlaylistItem> o) { | 2320 checkUnnamed1432(core.List<api.PlaylistItem> o) { |
| 2321 unittest.expect(o, unittest.hasLength(2)); | 2321 unittest.expect(o, unittest.hasLength(2)); |
| 2322 checkPlaylistItem(o[0]); | 2322 checkPlaylistItem(o[0]); |
| 2323 checkPlaylistItem(o[1]); | 2323 checkPlaylistItem(o[1]); |
| 2324 } | 2324 } |
| 2325 | 2325 |
| 2326 core.int buildCounterPlaylistItemListResponse = 0; | 2326 core.int buildCounterPlaylistItemListResponse = 0; |
| 2327 buildPlaylistItemListResponse() { | 2327 buildPlaylistItemListResponse() { |
| 2328 var o = new api.PlaylistItemListResponse(); | 2328 var o = new api.PlaylistItemListResponse(); |
| 2329 buildCounterPlaylistItemListResponse++; | 2329 buildCounterPlaylistItemListResponse++; |
| 2330 if (buildCounterPlaylistItemListResponse < 3) { | 2330 if (buildCounterPlaylistItemListResponse < 3) { |
| 2331 o.etag = "foo"; | 2331 o.etag = "foo"; |
| 2332 o.eventId = "foo"; | 2332 o.eventId = "foo"; |
| 2333 o.items = buildUnnamed1418(); | 2333 o.items = buildUnnamed1432(); |
| 2334 o.kind = "foo"; | 2334 o.kind = "foo"; |
| 2335 o.nextPageToken = "foo"; | 2335 o.nextPageToken = "foo"; |
| 2336 o.pageInfo = buildPageInfo(); | 2336 o.pageInfo = buildPageInfo(); |
| 2337 o.prevPageToken = "foo"; | 2337 o.prevPageToken = "foo"; |
| 2338 o.tokenPagination = buildTokenPagination(); | 2338 o.tokenPagination = buildTokenPagination(); |
| 2339 o.visitorId = "foo"; | 2339 o.visitorId = "foo"; |
| 2340 } | 2340 } |
| 2341 buildCounterPlaylistItemListResponse--; | 2341 buildCounterPlaylistItemListResponse--; |
| 2342 return o; | 2342 return o; |
| 2343 } | 2343 } |
| 2344 | 2344 |
| 2345 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { | 2345 checkPlaylistItemListResponse(api.PlaylistItemListResponse o) { |
| 2346 buildCounterPlaylistItemListResponse++; | 2346 buildCounterPlaylistItemListResponse++; |
| 2347 if (buildCounterPlaylistItemListResponse < 3) { | 2347 if (buildCounterPlaylistItemListResponse < 3) { |
| 2348 unittest.expect(o.etag, unittest.equals('foo')); | 2348 unittest.expect(o.etag, unittest.equals('foo')); |
| 2349 unittest.expect(o.eventId, unittest.equals('foo')); | 2349 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2350 checkUnnamed1418(o.items); | 2350 checkUnnamed1432(o.items); |
| 2351 unittest.expect(o.kind, unittest.equals('foo')); | 2351 unittest.expect(o.kind, unittest.equals('foo')); |
| 2352 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2352 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2353 checkPageInfo(o.pageInfo); | 2353 checkPageInfo(o.pageInfo); |
| 2354 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2354 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2355 checkTokenPagination(o.tokenPagination); | 2355 checkTokenPagination(o.tokenPagination); |
| 2356 unittest.expect(o.visitorId, unittest.equals('foo')); | 2356 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2357 } | 2357 } |
| 2358 buildCounterPlaylistItemListResponse--; | 2358 buildCounterPlaylistItemListResponse--; |
| 2359 } | 2359 } |
| 2360 | 2360 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2405 } | 2405 } |
| 2406 | 2406 |
| 2407 checkPlaylistItemStatus(api.PlaylistItemStatus o) { | 2407 checkPlaylistItemStatus(api.PlaylistItemStatus o) { |
| 2408 buildCounterPlaylistItemStatus++; | 2408 buildCounterPlaylistItemStatus++; |
| 2409 if (buildCounterPlaylistItemStatus < 3) { | 2409 if (buildCounterPlaylistItemStatus < 3) { |
| 2410 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 2410 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 2411 } | 2411 } |
| 2412 buildCounterPlaylistItemStatus--; | 2412 buildCounterPlaylistItemStatus--; |
| 2413 } | 2413 } |
| 2414 | 2414 |
| 2415 buildUnnamed1419() { | 2415 buildUnnamed1433() { |
| 2416 var o = new core.List<api.Playlist>(); | 2416 var o = new core.List<api.Playlist>(); |
| 2417 o.add(buildPlaylist()); | 2417 o.add(buildPlaylist()); |
| 2418 o.add(buildPlaylist()); | 2418 o.add(buildPlaylist()); |
| 2419 return o; | 2419 return o; |
| 2420 } | 2420 } |
| 2421 | 2421 |
| 2422 checkUnnamed1419(core.List<api.Playlist> o) { | 2422 checkUnnamed1433(core.List<api.Playlist> o) { |
| 2423 unittest.expect(o, unittest.hasLength(2)); | 2423 unittest.expect(o, unittest.hasLength(2)); |
| 2424 checkPlaylist(o[0]); | 2424 checkPlaylist(o[0]); |
| 2425 checkPlaylist(o[1]); | 2425 checkPlaylist(o[1]); |
| 2426 } | 2426 } |
| 2427 | 2427 |
| 2428 core.int buildCounterPlaylistListResponse = 0; | 2428 core.int buildCounterPlaylistListResponse = 0; |
| 2429 buildPlaylistListResponse() { | 2429 buildPlaylistListResponse() { |
| 2430 var o = new api.PlaylistListResponse(); | 2430 var o = new api.PlaylistListResponse(); |
| 2431 buildCounterPlaylistListResponse++; | 2431 buildCounterPlaylistListResponse++; |
| 2432 if (buildCounterPlaylistListResponse < 3) { | 2432 if (buildCounterPlaylistListResponse < 3) { |
| 2433 o.etag = "foo"; | 2433 o.etag = "foo"; |
| 2434 o.eventId = "foo"; | 2434 o.eventId = "foo"; |
| 2435 o.items = buildUnnamed1419(); | 2435 o.items = buildUnnamed1433(); |
| 2436 o.kind = "foo"; | 2436 o.kind = "foo"; |
| 2437 o.nextPageToken = "foo"; | 2437 o.nextPageToken = "foo"; |
| 2438 o.pageInfo = buildPageInfo(); | 2438 o.pageInfo = buildPageInfo(); |
| 2439 o.prevPageToken = "foo"; | 2439 o.prevPageToken = "foo"; |
| 2440 o.tokenPagination = buildTokenPagination(); | 2440 o.tokenPagination = buildTokenPagination(); |
| 2441 o.visitorId = "foo"; | 2441 o.visitorId = "foo"; |
| 2442 } | 2442 } |
| 2443 buildCounterPlaylistListResponse--; | 2443 buildCounterPlaylistListResponse--; |
| 2444 return o; | 2444 return o; |
| 2445 } | 2445 } |
| 2446 | 2446 |
| 2447 checkPlaylistListResponse(api.PlaylistListResponse o) { | 2447 checkPlaylistListResponse(api.PlaylistListResponse o) { |
| 2448 buildCounterPlaylistListResponse++; | 2448 buildCounterPlaylistListResponse++; |
| 2449 if (buildCounterPlaylistListResponse < 3) { | 2449 if (buildCounterPlaylistListResponse < 3) { |
| 2450 unittest.expect(o.etag, unittest.equals('foo')); | 2450 unittest.expect(o.etag, unittest.equals('foo')); |
| 2451 unittest.expect(o.eventId, unittest.equals('foo')); | 2451 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2452 checkUnnamed1419(o.items); | 2452 checkUnnamed1433(o.items); |
| 2453 unittest.expect(o.kind, unittest.equals('foo')); | 2453 unittest.expect(o.kind, unittest.equals('foo')); |
| 2454 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2454 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2455 checkPageInfo(o.pageInfo); | 2455 checkPageInfo(o.pageInfo); |
| 2456 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2456 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2457 checkTokenPagination(o.tokenPagination); | 2457 checkTokenPagination(o.tokenPagination); |
| 2458 unittest.expect(o.visitorId, unittest.equals('foo')); | 2458 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2459 } | 2459 } |
| 2460 buildCounterPlaylistListResponse--; | 2460 buildCounterPlaylistListResponse--; |
| 2461 } | 2461 } |
| 2462 | 2462 |
| 2463 core.int buildCounterPlaylistPlayer = 0; | 2463 core.int buildCounterPlaylistPlayer = 0; |
| 2464 buildPlaylistPlayer() { | 2464 buildPlaylistPlayer() { |
| 2465 var o = new api.PlaylistPlayer(); | 2465 var o = new api.PlaylistPlayer(); |
| 2466 buildCounterPlaylistPlayer++; | 2466 buildCounterPlaylistPlayer++; |
| 2467 if (buildCounterPlaylistPlayer < 3) { | 2467 if (buildCounterPlaylistPlayer < 3) { |
| 2468 o.embedHtml = "foo"; | 2468 o.embedHtml = "foo"; |
| 2469 } | 2469 } |
| 2470 buildCounterPlaylistPlayer--; | 2470 buildCounterPlaylistPlayer--; |
| 2471 return o; | 2471 return o; |
| 2472 } | 2472 } |
| 2473 | 2473 |
| 2474 checkPlaylistPlayer(api.PlaylistPlayer o) { | 2474 checkPlaylistPlayer(api.PlaylistPlayer o) { |
| 2475 buildCounterPlaylistPlayer++; | 2475 buildCounterPlaylistPlayer++; |
| 2476 if (buildCounterPlaylistPlayer < 3) { | 2476 if (buildCounterPlaylistPlayer < 3) { |
| 2477 unittest.expect(o.embedHtml, unittest.equals('foo')); | 2477 unittest.expect(o.embedHtml, unittest.equals('foo')); |
| 2478 } | 2478 } |
| 2479 buildCounterPlaylistPlayer--; | 2479 buildCounterPlaylistPlayer--; |
| 2480 } | 2480 } |
| 2481 | 2481 |
| 2482 buildUnnamed1420() { | 2482 buildUnnamed1434() { |
| 2483 var o = new core.List<core.String>(); | 2483 var o = new core.List<core.String>(); |
| 2484 o.add("foo"); | 2484 o.add("foo"); |
| 2485 o.add("foo"); | 2485 o.add("foo"); |
| 2486 return o; | 2486 return o; |
| 2487 } | 2487 } |
| 2488 | 2488 |
| 2489 checkUnnamed1420(core.List<core.String> o) { | 2489 checkUnnamed1434(core.List<core.String> o) { |
| 2490 unittest.expect(o, unittest.hasLength(2)); | 2490 unittest.expect(o, unittest.hasLength(2)); |
| 2491 unittest.expect(o[0], unittest.equals('foo')); | 2491 unittest.expect(o[0], unittest.equals('foo')); |
| 2492 unittest.expect(o[1], unittest.equals('foo')); | 2492 unittest.expect(o[1], unittest.equals('foo')); |
| 2493 } | 2493 } |
| 2494 | 2494 |
| 2495 core.int buildCounterPlaylistSnippet = 0; | 2495 core.int buildCounterPlaylistSnippet = 0; |
| 2496 buildPlaylistSnippet() { | 2496 buildPlaylistSnippet() { |
| 2497 var o = new api.PlaylistSnippet(); | 2497 var o = new api.PlaylistSnippet(); |
| 2498 buildCounterPlaylistSnippet++; | 2498 buildCounterPlaylistSnippet++; |
| 2499 if (buildCounterPlaylistSnippet < 3) { | 2499 if (buildCounterPlaylistSnippet < 3) { |
| 2500 o.channelId = "foo"; | 2500 o.channelId = "foo"; |
| 2501 o.channelTitle = "foo"; | 2501 o.channelTitle = "foo"; |
| 2502 o.description = "foo"; | 2502 o.description = "foo"; |
| 2503 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 2503 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2504 o.tags = buildUnnamed1420(); | 2504 o.tags = buildUnnamed1434(); |
| 2505 o.thumbnails = buildThumbnailDetails(); | 2505 o.thumbnails = buildThumbnailDetails(); |
| 2506 o.title = "foo"; | 2506 o.title = "foo"; |
| 2507 } | 2507 } |
| 2508 buildCounterPlaylistSnippet--; | 2508 buildCounterPlaylistSnippet--; |
| 2509 return o; | 2509 return o; |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 checkPlaylistSnippet(api.PlaylistSnippet o) { | 2512 checkPlaylistSnippet(api.PlaylistSnippet o) { |
| 2513 buildCounterPlaylistSnippet++; | 2513 buildCounterPlaylistSnippet++; |
| 2514 if (buildCounterPlaylistSnippet < 3) { | 2514 if (buildCounterPlaylistSnippet < 3) { |
| 2515 unittest.expect(o.channelId, unittest.equals('foo')); | 2515 unittest.expect(o.channelId, unittest.equals('foo')); |
| 2516 unittest.expect(o.channelTitle, unittest.equals('foo')); | 2516 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 2517 unittest.expect(o.description, unittest.equals('foo')); | 2517 unittest.expect(o.description, unittest.equals('foo')); |
| 2518 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"))); |
| 2519 checkUnnamed1420(o.tags); | 2519 checkUnnamed1434(o.tags); |
| 2520 checkThumbnailDetails(o.thumbnails); | 2520 checkThumbnailDetails(o.thumbnails); |
| 2521 unittest.expect(o.title, unittest.equals('foo')); | 2521 unittest.expect(o.title, unittest.equals('foo')); |
| 2522 } | 2522 } |
| 2523 buildCounterPlaylistSnippet--; | 2523 buildCounterPlaylistSnippet--; |
| 2524 } | 2524 } |
| 2525 | 2525 |
| 2526 core.int buildCounterPlaylistStatus = 0; | 2526 core.int buildCounterPlaylistStatus = 0; |
| 2527 buildPlaylistStatus() { | 2527 buildPlaylistStatus() { |
| 2528 var o = new api.PlaylistStatus(); | 2528 var o = new api.PlaylistStatus(); |
| 2529 buildCounterPlaylistStatus++; | 2529 buildCounterPlaylistStatus++; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2631 buildCounterResourceId++; | 2631 buildCounterResourceId++; |
| 2632 if (buildCounterResourceId < 3) { | 2632 if (buildCounterResourceId < 3) { |
| 2633 unittest.expect(o.channelId, unittest.equals('foo')); | 2633 unittest.expect(o.channelId, unittest.equals('foo')); |
| 2634 unittest.expect(o.kind, unittest.equals('foo')); | 2634 unittest.expect(o.kind, unittest.equals('foo')); |
| 2635 unittest.expect(o.playlistId, unittest.equals('foo')); | 2635 unittest.expect(o.playlistId, unittest.equals('foo')); |
| 2636 unittest.expect(o.videoId, unittest.equals('foo')); | 2636 unittest.expect(o.videoId, unittest.equals('foo')); |
| 2637 } | 2637 } |
| 2638 buildCounterResourceId--; | 2638 buildCounterResourceId--; |
| 2639 } | 2639 } |
| 2640 | 2640 |
| 2641 buildUnnamed1421() { | 2641 buildUnnamed1435() { |
| 2642 var o = new core.List<api.SearchResult>(); | 2642 var o = new core.List<api.SearchResult>(); |
| 2643 o.add(buildSearchResult()); | 2643 o.add(buildSearchResult()); |
| 2644 o.add(buildSearchResult()); | 2644 o.add(buildSearchResult()); |
| 2645 return o; | 2645 return o; |
| 2646 } | 2646 } |
| 2647 | 2647 |
| 2648 checkUnnamed1421(core.List<api.SearchResult> o) { | 2648 checkUnnamed1435(core.List<api.SearchResult> o) { |
| 2649 unittest.expect(o, unittest.hasLength(2)); | 2649 unittest.expect(o, unittest.hasLength(2)); |
| 2650 checkSearchResult(o[0]); | 2650 checkSearchResult(o[0]); |
| 2651 checkSearchResult(o[1]); | 2651 checkSearchResult(o[1]); |
| 2652 } | 2652 } |
| 2653 | 2653 |
| 2654 core.int buildCounterSearchListResponse = 0; | 2654 core.int buildCounterSearchListResponse = 0; |
| 2655 buildSearchListResponse() { | 2655 buildSearchListResponse() { |
| 2656 var o = new api.SearchListResponse(); | 2656 var o = new api.SearchListResponse(); |
| 2657 buildCounterSearchListResponse++; | 2657 buildCounterSearchListResponse++; |
| 2658 if (buildCounterSearchListResponse < 3) { | 2658 if (buildCounterSearchListResponse < 3) { |
| 2659 o.etag = "foo"; | 2659 o.etag = "foo"; |
| 2660 o.eventId = "foo"; | 2660 o.eventId = "foo"; |
| 2661 o.items = buildUnnamed1421(); | 2661 o.items = buildUnnamed1435(); |
| 2662 o.kind = "foo"; | 2662 o.kind = "foo"; |
| 2663 o.nextPageToken = "foo"; | 2663 o.nextPageToken = "foo"; |
| 2664 o.pageInfo = buildPageInfo(); | 2664 o.pageInfo = buildPageInfo(); |
| 2665 o.prevPageToken = "foo"; | 2665 o.prevPageToken = "foo"; |
| 2666 o.tokenPagination = buildTokenPagination(); | 2666 o.tokenPagination = buildTokenPagination(); |
| 2667 o.visitorId = "foo"; | 2667 o.visitorId = "foo"; |
| 2668 } | 2668 } |
| 2669 buildCounterSearchListResponse--; | 2669 buildCounterSearchListResponse--; |
| 2670 return o; | 2670 return o; |
| 2671 } | 2671 } |
| 2672 | 2672 |
| 2673 checkSearchListResponse(api.SearchListResponse o) { | 2673 checkSearchListResponse(api.SearchListResponse o) { |
| 2674 buildCounterSearchListResponse++; | 2674 buildCounterSearchListResponse++; |
| 2675 if (buildCounterSearchListResponse < 3) { | 2675 if (buildCounterSearchListResponse < 3) { |
| 2676 unittest.expect(o.etag, unittest.equals('foo')); | 2676 unittest.expect(o.etag, unittest.equals('foo')); |
| 2677 unittest.expect(o.eventId, unittest.equals('foo')); | 2677 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2678 checkUnnamed1421(o.items); | 2678 checkUnnamed1435(o.items); |
| 2679 unittest.expect(o.kind, unittest.equals('foo')); | 2679 unittest.expect(o.kind, unittest.equals('foo')); |
| 2680 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2680 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2681 checkPageInfo(o.pageInfo); | 2681 checkPageInfo(o.pageInfo); |
| 2682 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2682 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2683 checkTokenPagination(o.tokenPagination); | 2683 checkTokenPagination(o.tokenPagination); |
| 2684 unittest.expect(o.visitorId, unittest.equals('foo')); | 2684 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2685 } | 2685 } |
| 2686 buildCounterSearchListResponse--; | 2686 buildCounterSearchListResponse--; |
| 2687 } | 2687 } |
| 2688 | 2688 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2787 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { | 2787 checkSubscriptionContentDetails(api.SubscriptionContentDetails o) { |
| 2788 buildCounterSubscriptionContentDetails++; | 2788 buildCounterSubscriptionContentDetails++; |
| 2789 if (buildCounterSubscriptionContentDetails < 3) { | 2789 if (buildCounterSubscriptionContentDetails < 3) { |
| 2790 unittest.expect(o.activityType, unittest.equals('foo')); | 2790 unittest.expect(o.activityType, unittest.equals('foo')); |
| 2791 unittest.expect(o.newItemCount, unittest.equals(42)); | 2791 unittest.expect(o.newItemCount, unittest.equals(42)); |
| 2792 unittest.expect(o.totalItemCount, unittest.equals(42)); | 2792 unittest.expect(o.totalItemCount, unittest.equals(42)); |
| 2793 } | 2793 } |
| 2794 buildCounterSubscriptionContentDetails--; | 2794 buildCounterSubscriptionContentDetails--; |
| 2795 } | 2795 } |
| 2796 | 2796 |
| 2797 buildUnnamed1422() { | 2797 buildUnnamed1436() { |
| 2798 var o = new core.List<api.Subscription>(); | 2798 var o = new core.List<api.Subscription>(); |
| 2799 o.add(buildSubscription()); | 2799 o.add(buildSubscription()); |
| 2800 o.add(buildSubscription()); | 2800 o.add(buildSubscription()); |
| 2801 return o; | 2801 return o; |
| 2802 } | 2802 } |
| 2803 | 2803 |
| 2804 checkUnnamed1422(core.List<api.Subscription> o) { | 2804 checkUnnamed1436(core.List<api.Subscription> o) { |
| 2805 unittest.expect(o, unittest.hasLength(2)); | 2805 unittest.expect(o, unittest.hasLength(2)); |
| 2806 checkSubscription(o[0]); | 2806 checkSubscription(o[0]); |
| 2807 checkSubscription(o[1]); | 2807 checkSubscription(o[1]); |
| 2808 } | 2808 } |
| 2809 | 2809 |
| 2810 core.int buildCounterSubscriptionListResponse = 0; | 2810 core.int buildCounterSubscriptionListResponse = 0; |
| 2811 buildSubscriptionListResponse() { | 2811 buildSubscriptionListResponse() { |
| 2812 var o = new api.SubscriptionListResponse(); | 2812 var o = new api.SubscriptionListResponse(); |
| 2813 buildCounterSubscriptionListResponse++; | 2813 buildCounterSubscriptionListResponse++; |
| 2814 if (buildCounterSubscriptionListResponse < 3) { | 2814 if (buildCounterSubscriptionListResponse < 3) { |
| 2815 o.etag = "foo"; | 2815 o.etag = "foo"; |
| 2816 o.eventId = "foo"; | 2816 o.eventId = "foo"; |
| 2817 o.items = buildUnnamed1422(); | 2817 o.items = buildUnnamed1436(); |
| 2818 o.kind = "foo"; | 2818 o.kind = "foo"; |
| 2819 o.nextPageToken = "foo"; | 2819 o.nextPageToken = "foo"; |
| 2820 o.pageInfo = buildPageInfo(); | 2820 o.pageInfo = buildPageInfo(); |
| 2821 o.prevPageToken = "foo"; | 2821 o.prevPageToken = "foo"; |
| 2822 o.tokenPagination = buildTokenPagination(); | 2822 o.tokenPagination = buildTokenPagination(); |
| 2823 o.visitorId = "foo"; | 2823 o.visitorId = "foo"; |
| 2824 } | 2824 } |
| 2825 buildCounterSubscriptionListResponse--; | 2825 buildCounterSubscriptionListResponse--; |
| 2826 return o; | 2826 return o; |
| 2827 } | 2827 } |
| 2828 | 2828 |
| 2829 checkSubscriptionListResponse(api.SubscriptionListResponse o) { | 2829 checkSubscriptionListResponse(api.SubscriptionListResponse o) { |
| 2830 buildCounterSubscriptionListResponse++; | 2830 buildCounterSubscriptionListResponse++; |
| 2831 if (buildCounterSubscriptionListResponse < 3) { | 2831 if (buildCounterSubscriptionListResponse < 3) { |
| 2832 unittest.expect(o.etag, unittest.equals('foo')); | 2832 unittest.expect(o.etag, unittest.equals('foo')); |
| 2833 unittest.expect(o.eventId, unittest.equals('foo')); | 2833 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2834 checkUnnamed1422(o.items); | 2834 checkUnnamed1436(o.items); |
| 2835 unittest.expect(o.kind, unittest.equals('foo')); | 2835 unittest.expect(o.kind, unittest.equals('foo')); |
| 2836 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2836 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2837 checkPageInfo(o.pageInfo); | 2837 checkPageInfo(o.pageInfo); |
| 2838 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 2838 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 2839 checkTokenPagination(o.tokenPagination); | 2839 checkTokenPagination(o.tokenPagination); |
| 2840 unittest.expect(o.visitorId, unittest.equals('foo')); | 2840 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2841 } | 2841 } |
| 2842 buildCounterSubscriptionListResponse--; | 2842 buildCounterSubscriptionListResponse--; |
| 2843 } | 2843 } |
| 2844 | 2844 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2941 if (buildCounterThumbnailDetails < 3) { | 2941 if (buildCounterThumbnailDetails < 3) { |
| 2942 checkThumbnail(o.default_); | 2942 checkThumbnail(o.default_); |
| 2943 checkThumbnail(o.high); | 2943 checkThumbnail(o.high); |
| 2944 checkThumbnail(o.maxres); | 2944 checkThumbnail(o.maxres); |
| 2945 checkThumbnail(o.medium); | 2945 checkThumbnail(o.medium); |
| 2946 checkThumbnail(o.standard); | 2946 checkThumbnail(o.standard); |
| 2947 } | 2947 } |
| 2948 buildCounterThumbnailDetails--; | 2948 buildCounterThumbnailDetails--; |
| 2949 } | 2949 } |
| 2950 | 2950 |
| 2951 buildUnnamed1423() { | 2951 buildUnnamed1437() { |
| 2952 var o = new core.List<api.ThumbnailDetails>(); | 2952 var o = new core.List<api.ThumbnailDetails>(); |
| 2953 o.add(buildThumbnailDetails()); | 2953 o.add(buildThumbnailDetails()); |
| 2954 o.add(buildThumbnailDetails()); | 2954 o.add(buildThumbnailDetails()); |
| 2955 return o; | 2955 return o; |
| 2956 } | 2956 } |
| 2957 | 2957 |
| 2958 checkUnnamed1423(core.List<api.ThumbnailDetails> o) { | 2958 checkUnnamed1437(core.List<api.ThumbnailDetails> o) { |
| 2959 unittest.expect(o, unittest.hasLength(2)); | 2959 unittest.expect(o, unittest.hasLength(2)); |
| 2960 checkThumbnailDetails(o[0]); | 2960 checkThumbnailDetails(o[0]); |
| 2961 checkThumbnailDetails(o[1]); | 2961 checkThumbnailDetails(o[1]); |
| 2962 } | 2962 } |
| 2963 | 2963 |
| 2964 core.int buildCounterThumbnailSetResponse = 0; | 2964 core.int buildCounterThumbnailSetResponse = 0; |
| 2965 buildThumbnailSetResponse() { | 2965 buildThumbnailSetResponse() { |
| 2966 var o = new api.ThumbnailSetResponse(); | 2966 var o = new api.ThumbnailSetResponse(); |
| 2967 buildCounterThumbnailSetResponse++; | 2967 buildCounterThumbnailSetResponse++; |
| 2968 if (buildCounterThumbnailSetResponse < 3) { | 2968 if (buildCounterThumbnailSetResponse < 3) { |
| 2969 o.etag = "foo"; | 2969 o.etag = "foo"; |
| 2970 o.eventId = "foo"; | 2970 o.eventId = "foo"; |
| 2971 o.items = buildUnnamed1423(); | 2971 o.items = buildUnnamed1437(); |
| 2972 o.kind = "foo"; | 2972 o.kind = "foo"; |
| 2973 o.visitorId = "foo"; | 2973 o.visitorId = "foo"; |
| 2974 } | 2974 } |
| 2975 buildCounterThumbnailSetResponse--; | 2975 buildCounterThumbnailSetResponse--; |
| 2976 return o; | 2976 return o; |
| 2977 } | 2977 } |
| 2978 | 2978 |
| 2979 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { | 2979 checkThumbnailSetResponse(api.ThumbnailSetResponse o) { |
| 2980 buildCounterThumbnailSetResponse++; | 2980 buildCounterThumbnailSetResponse++; |
| 2981 if (buildCounterThumbnailSetResponse < 3) { | 2981 if (buildCounterThumbnailSetResponse < 3) { |
| 2982 unittest.expect(o.etag, unittest.equals('foo')); | 2982 unittest.expect(o.etag, unittest.equals('foo')); |
| 2983 unittest.expect(o.eventId, unittest.equals('foo')); | 2983 unittest.expect(o.eventId, unittest.equals('foo')); |
| 2984 checkUnnamed1423(o.items); | 2984 checkUnnamed1437(o.items); |
| 2985 unittest.expect(o.kind, unittest.equals('foo')); | 2985 unittest.expect(o.kind, unittest.equals('foo')); |
| 2986 unittest.expect(o.visitorId, unittest.equals('foo')); | 2986 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 2987 } | 2987 } |
| 2988 buildCounterThumbnailSetResponse--; | 2988 buildCounterThumbnailSetResponse--; |
| 2989 } | 2989 } |
| 2990 | 2990 |
| 2991 core.int buildCounterTokenPagination = 0; | 2991 core.int buildCounterTokenPagination = 0; |
| 2992 buildTokenPagination() { | 2992 buildTokenPagination() { |
| 2993 var o = new api.TokenPagination(); | 2993 var o = new api.TokenPagination(); |
| 2994 buildCounterTokenPagination++; | 2994 buildCounterTokenPagination++; |
| 2995 if (buildCounterTokenPagination < 3) { | 2995 if (buildCounterTokenPagination < 3) { |
| 2996 } | 2996 } |
| 2997 buildCounterTokenPagination--; | 2997 buildCounterTokenPagination--; |
| 2998 return o; | 2998 return o; |
| 2999 } | 2999 } |
| 3000 | 3000 |
| 3001 checkTokenPagination(api.TokenPagination o) { | 3001 checkTokenPagination(api.TokenPagination o) { |
| 3002 buildCounterTokenPagination++; | 3002 buildCounterTokenPagination++; |
| 3003 if (buildCounterTokenPagination < 3) { | 3003 if (buildCounterTokenPagination < 3) { |
| 3004 } | 3004 } |
| 3005 buildCounterTokenPagination--; | 3005 buildCounterTokenPagination--; |
| 3006 } | 3006 } |
| 3007 | 3007 |
| 3008 buildUnnamed1424() { | 3008 buildUnnamed1438() { |
| 3009 var o = new core.Map<core.String, api.VideoLocalization>(); | 3009 var o = new core.Map<core.String, api.VideoLocalization>(); |
| 3010 o["x"] = buildVideoLocalization(); | 3010 o["x"] = buildVideoLocalization(); |
| 3011 o["y"] = buildVideoLocalization(); | 3011 o["y"] = buildVideoLocalization(); |
| 3012 return o; | 3012 return o; |
| 3013 } | 3013 } |
| 3014 | 3014 |
| 3015 checkUnnamed1424(core.Map<core.String, api.VideoLocalization> o) { | 3015 checkUnnamed1438(core.Map<core.String, api.VideoLocalization> o) { |
| 3016 unittest.expect(o, unittest.hasLength(2)); | 3016 unittest.expect(o, unittest.hasLength(2)); |
| 3017 checkVideoLocalization(o["x"]); | 3017 checkVideoLocalization(o["x"]); |
| 3018 checkVideoLocalization(o["y"]); | 3018 checkVideoLocalization(o["y"]); |
| 3019 } | 3019 } |
| 3020 | 3020 |
| 3021 core.int buildCounterVideo = 0; | 3021 core.int buildCounterVideo = 0; |
| 3022 buildVideo() { | 3022 buildVideo() { |
| 3023 var o = new api.Video(); | 3023 var o = new api.Video(); |
| 3024 buildCounterVideo++; | 3024 buildCounterVideo++; |
| 3025 if (buildCounterVideo < 3) { | 3025 if (buildCounterVideo < 3) { |
| 3026 o.ageGating = buildVideoAgeGating(); | 3026 o.ageGating = buildVideoAgeGating(); |
| 3027 o.contentDetails = buildVideoContentDetails(); | 3027 o.contentDetails = buildVideoContentDetails(); |
| 3028 o.conversionPings = buildVideoConversionPings(); | 3028 o.conversionPings = buildVideoConversionPings(); |
| 3029 o.etag = "foo"; | 3029 o.etag = "foo"; |
| 3030 o.fileDetails = buildVideoFileDetails(); | 3030 o.fileDetails = buildVideoFileDetails(); |
| 3031 o.id = "foo"; | 3031 o.id = "foo"; |
| 3032 o.kind = "foo"; | 3032 o.kind = "foo"; |
| 3033 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); | 3033 o.liveStreamingDetails = buildVideoLiveStreamingDetails(); |
| 3034 o.localizations = buildUnnamed1424(); | 3034 o.localizations = buildUnnamed1438(); |
| 3035 o.monetizationDetails = buildVideoMonetizationDetails(); | 3035 o.monetizationDetails = buildVideoMonetizationDetails(); |
| 3036 o.player = buildVideoPlayer(); | 3036 o.player = buildVideoPlayer(); |
| 3037 o.processingDetails = buildVideoProcessingDetails(); | 3037 o.processingDetails = buildVideoProcessingDetails(); |
| 3038 o.projectDetails = buildVideoProjectDetails(); | 3038 o.projectDetails = buildVideoProjectDetails(); |
| 3039 o.recordingDetails = buildVideoRecordingDetails(); | 3039 o.recordingDetails = buildVideoRecordingDetails(); |
| 3040 o.snippet = buildVideoSnippet(); | 3040 o.snippet = buildVideoSnippet(); |
| 3041 o.statistics = buildVideoStatistics(); | 3041 o.statistics = buildVideoStatistics(); |
| 3042 o.status = buildVideoStatus(); | 3042 o.status = buildVideoStatus(); |
| 3043 o.suggestions = buildVideoSuggestions(); | 3043 o.suggestions = buildVideoSuggestions(); |
| 3044 o.topicDetails = buildVideoTopicDetails(); | 3044 o.topicDetails = buildVideoTopicDetails(); |
| 3045 } | 3045 } |
| 3046 buildCounterVideo--; | 3046 buildCounterVideo--; |
| 3047 return o; | 3047 return o; |
| 3048 } | 3048 } |
| 3049 | 3049 |
| 3050 checkVideo(api.Video o) { | 3050 checkVideo(api.Video o) { |
| 3051 buildCounterVideo++; | 3051 buildCounterVideo++; |
| 3052 if (buildCounterVideo < 3) { | 3052 if (buildCounterVideo < 3) { |
| 3053 checkVideoAgeGating(o.ageGating); | 3053 checkVideoAgeGating(o.ageGating); |
| 3054 checkVideoContentDetails(o.contentDetails); | 3054 checkVideoContentDetails(o.contentDetails); |
| 3055 checkVideoConversionPings(o.conversionPings); | 3055 checkVideoConversionPings(o.conversionPings); |
| 3056 unittest.expect(o.etag, unittest.equals('foo')); | 3056 unittest.expect(o.etag, unittest.equals('foo')); |
| 3057 checkVideoFileDetails(o.fileDetails); | 3057 checkVideoFileDetails(o.fileDetails); |
| 3058 unittest.expect(o.id, unittest.equals('foo')); | 3058 unittest.expect(o.id, unittest.equals('foo')); |
| 3059 unittest.expect(o.kind, unittest.equals('foo')); | 3059 unittest.expect(o.kind, unittest.equals('foo')); |
| 3060 checkVideoLiveStreamingDetails(o.liveStreamingDetails); | 3060 checkVideoLiveStreamingDetails(o.liveStreamingDetails); |
| 3061 checkUnnamed1424(o.localizations); | 3061 checkUnnamed1438(o.localizations); |
| 3062 checkVideoMonetizationDetails(o.monetizationDetails); | 3062 checkVideoMonetizationDetails(o.monetizationDetails); |
| 3063 checkVideoPlayer(o.player); | 3063 checkVideoPlayer(o.player); |
| 3064 checkVideoProcessingDetails(o.processingDetails); | 3064 checkVideoProcessingDetails(o.processingDetails); |
| 3065 checkVideoProjectDetails(o.projectDetails); | 3065 checkVideoProjectDetails(o.projectDetails); |
| 3066 checkVideoRecordingDetails(o.recordingDetails); | 3066 checkVideoRecordingDetails(o.recordingDetails); |
| 3067 checkVideoSnippet(o.snippet); | 3067 checkVideoSnippet(o.snippet); |
| 3068 checkVideoStatistics(o.statistics); | 3068 checkVideoStatistics(o.statistics); |
| 3069 checkVideoStatus(o.status); | 3069 checkVideoStatus(o.status); |
| 3070 checkVideoSuggestions(o.suggestions); | 3070 checkVideoSuggestions(o.suggestions); |
| 3071 checkVideoTopicDetails(o.topicDetails); | 3071 checkVideoTopicDetails(o.topicDetails); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3114 buildCounterVideoCategory++; | 3114 buildCounterVideoCategory++; |
| 3115 if (buildCounterVideoCategory < 3) { | 3115 if (buildCounterVideoCategory < 3) { |
| 3116 unittest.expect(o.etag, unittest.equals('foo')); | 3116 unittest.expect(o.etag, unittest.equals('foo')); |
| 3117 unittest.expect(o.id, unittest.equals('foo')); | 3117 unittest.expect(o.id, unittest.equals('foo')); |
| 3118 unittest.expect(o.kind, unittest.equals('foo')); | 3118 unittest.expect(o.kind, unittest.equals('foo')); |
| 3119 checkVideoCategorySnippet(o.snippet); | 3119 checkVideoCategorySnippet(o.snippet); |
| 3120 } | 3120 } |
| 3121 buildCounterVideoCategory--; | 3121 buildCounterVideoCategory--; |
| 3122 } | 3122 } |
| 3123 | 3123 |
| 3124 buildUnnamed1425() { | 3124 buildUnnamed1439() { |
| 3125 var o = new core.List<api.VideoCategory>(); | 3125 var o = new core.List<api.VideoCategory>(); |
| 3126 o.add(buildVideoCategory()); | 3126 o.add(buildVideoCategory()); |
| 3127 o.add(buildVideoCategory()); | 3127 o.add(buildVideoCategory()); |
| 3128 return o; | 3128 return o; |
| 3129 } | 3129 } |
| 3130 | 3130 |
| 3131 checkUnnamed1425(core.List<api.VideoCategory> o) { | 3131 checkUnnamed1439(core.List<api.VideoCategory> o) { |
| 3132 unittest.expect(o, unittest.hasLength(2)); | 3132 unittest.expect(o, unittest.hasLength(2)); |
| 3133 checkVideoCategory(o[0]); | 3133 checkVideoCategory(o[0]); |
| 3134 checkVideoCategory(o[1]); | 3134 checkVideoCategory(o[1]); |
| 3135 } | 3135 } |
| 3136 | 3136 |
| 3137 core.int buildCounterVideoCategoryListResponse = 0; | 3137 core.int buildCounterVideoCategoryListResponse = 0; |
| 3138 buildVideoCategoryListResponse() { | 3138 buildVideoCategoryListResponse() { |
| 3139 var o = new api.VideoCategoryListResponse(); | 3139 var o = new api.VideoCategoryListResponse(); |
| 3140 buildCounterVideoCategoryListResponse++; | 3140 buildCounterVideoCategoryListResponse++; |
| 3141 if (buildCounterVideoCategoryListResponse < 3) { | 3141 if (buildCounterVideoCategoryListResponse < 3) { |
| 3142 o.etag = "foo"; | 3142 o.etag = "foo"; |
| 3143 o.eventId = "foo"; | 3143 o.eventId = "foo"; |
| 3144 o.items = buildUnnamed1425(); | 3144 o.items = buildUnnamed1439(); |
| 3145 o.kind = "foo"; | 3145 o.kind = "foo"; |
| 3146 o.nextPageToken = "foo"; | 3146 o.nextPageToken = "foo"; |
| 3147 o.pageInfo = buildPageInfo(); | 3147 o.pageInfo = buildPageInfo(); |
| 3148 o.prevPageToken = "foo"; | 3148 o.prevPageToken = "foo"; |
| 3149 o.tokenPagination = buildTokenPagination(); | 3149 o.tokenPagination = buildTokenPagination(); |
| 3150 o.visitorId = "foo"; | 3150 o.visitorId = "foo"; |
| 3151 } | 3151 } |
| 3152 buildCounterVideoCategoryListResponse--; | 3152 buildCounterVideoCategoryListResponse--; |
| 3153 return o; | 3153 return o; |
| 3154 } | 3154 } |
| 3155 | 3155 |
| 3156 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { | 3156 checkVideoCategoryListResponse(api.VideoCategoryListResponse o) { |
| 3157 buildCounterVideoCategoryListResponse++; | 3157 buildCounterVideoCategoryListResponse++; |
| 3158 if (buildCounterVideoCategoryListResponse < 3) { | 3158 if (buildCounterVideoCategoryListResponse < 3) { |
| 3159 unittest.expect(o.etag, unittest.equals('foo')); | 3159 unittest.expect(o.etag, unittest.equals('foo')); |
| 3160 unittest.expect(o.eventId, unittest.equals('foo')); | 3160 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3161 checkUnnamed1425(o.items); | 3161 checkUnnamed1439(o.items); |
| 3162 unittest.expect(o.kind, unittest.equals('foo')); | 3162 unittest.expect(o.kind, unittest.equals('foo')); |
| 3163 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3163 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3164 checkPageInfo(o.pageInfo); | 3164 checkPageInfo(o.pageInfo); |
| 3165 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3165 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3166 checkTokenPagination(o.tokenPagination); | 3166 checkTokenPagination(o.tokenPagination); |
| 3167 unittest.expect(o.visitorId, unittest.equals('foo')); | 3167 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3168 } | 3168 } |
| 3169 buildCounterVideoCategoryListResponse--; | 3169 buildCounterVideoCategoryListResponse--; |
| 3170 } | 3170 } |
| 3171 | 3171 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3218 checkAccessPolicy(o.countryRestriction); | 3218 checkAccessPolicy(o.countryRestriction); |
| 3219 unittest.expect(o.definition, unittest.equals('foo')); | 3219 unittest.expect(o.definition, unittest.equals('foo')); |
| 3220 unittest.expect(o.dimension, unittest.equals('foo')); | 3220 unittest.expect(o.dimension, unittest.equals('foo')); |
| 3221 unittest.expect(o.duration, unittest.equals('foo')); | 3221 unittest.expect(o.duration, unittest.equals('foo')); |
| 3222 unittest.expect(o.licensedContent, unittest.isTrue); | 3222 unittest.expect(o.licensedContent, unittest.isTrue); |
| 3223 checkVideoContentDetailsRegionRestriction(o.regionRestriction); | 3223 checkVideoContentDetailsRegionRestriction(o.regionRestriction); |
| 3224 } | 3224 } |
| 3225 buildCounterVideoContentDetails--; | 3225 buildCounterVideoContentDetails--; |
| 3226 } | 3226 } |
| 3227 | 3227 |
| 3228 buildUnnamed1426() { | 3228 buildUnnamed1440() { |
| 3229 var o = new core.List<core.String>(); | 3229 var o = new core.List<core.String>(); |
| 3230 o.add("foo"); | 3230 o.add("foo"); |
| 3231 o.add("foo"); | 3231 o.add("foo"); |
| 3232 return o; | 3232 return o; |
| 3233 } | 3233 } |
| 3234 | 3234 |
| 3235 checkUnnamed1426(core.List<core.String> o) { | 3235 checkUnnamed1440(core.List<core.String> o) { |
| 3236 unittest.expect(o, unittest.hasLength(2)); | 3236 unittest.expect(o, unittest.hasLength(2)); |
| 3237 unittest.expect(o[0], unittest.equals('foo')); | 3237 unittest.expect(o[0], unittest.equals('foo')); |
| 3238 unittest.expect(o[1], unittest.equals('foo')); | 3238 unittest.expect(o[1], unittest.equals('foo')); |
| 3239 } | 3239 } |
| 3240 | 3240 |
| 3241 buildUnnamed1427() { | 3241 buildUnnamed1441() { |
| 3242 var o = new core.List<core.String>(); | 3242 var o = new core.List<core.String>(); |
| 3243 o.add("foo"); | 3243 o.add("foo"); |
| 3244 o.add("foo"); | 3244 o.add("foo"); |
| 3245 return o; | 3245 return o; |
| 3246 } | 3246 } |
| 3247 | 3247 |
| 3248 checkUnnamed1427(core.List<core.String> o) { | 3248 checkUnnamed1441(core.List<core.String> o) { |
| 3249 unittest.expect(o, unittest.hasLength(2)); | 3249 unittest.expect(o, unittest.hasLength(2)); |
| 3250 unittest.expect(o[0], unittest.equals('foo')); | 3250 unittest.expect(o[0], unittest.equals('foo')); |
| 3251 unittest.expect(o[1], unittest.equals('foo')); | 3251 unittest.expect(o[1], unittest.equals('foo')); |
| 3252 } | 3252 } |
| 3253 | 3253 |
| 3254 core.int buildCounterVideoContentDetailsRegionRestriction = 0; | 3254 core.int buildCounterVideoContentDetailsRegionRestriction = 0; |
| 3255 buildVideoContentDetailsRegionRestriction() { | 3255 buildVideoContentDetailsRegionRestriction() { |
| 3256 var o = new api.VideoContentDetailsRegionRestriction(); | 3256 var o = new api.VideoContentDetailsRegionRestriction(); |
| 3257 buildCounterVideoContentDetailsRegionRestriction++; | 3257 buildCounterVideoContentDetailsRegionRestriction++; |
| 3258 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3258 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 3259 o.allowed = buildUnnamed1426(); | 3259 o.allowed = buildUnnamed1440(); |
| 3260 o.blocked = buildUnnamed1427(); | 3260 o.blocked = buildUnnamed1441(); |
| 3261 } | 3261 } |
| 3262 buildCounterVideoContentDetailsRegionRestriction--; | 3262 buildCounterVideoContentDetailsRegionRestriction--; |
| 3263 return o; | 3263 return o; |
| 3264 } | 3264 } |
| 3265 | 3265 |
| 3266 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { | 3266 checkVideoContentDetailsRegionRestriction(api.VideoContentDetailsRegionRestricti
on o) { |
| 3267 buildCounterVideoContentDetailsRegionRestriction++; | 3267 buildCounterVideoContentDetailsRegionRestriction++; |
| 3268 if (buildCounterVideoContentDetailsRegionRestriction < 3) { | 3268 if (buildCounterVideoContentDetailsRegionRestriction < 3) { |
| 3269 checkUnnamed1426(o.allowed); | 3269 checkUnnamed1440(o.allowed); |
| 3270 checkUnnamed1427(o.blocked); | 3270 checkUnnamed1441(o.blocked); |
| 3271 } | 3271 } |
| 3272 buildCounterVideoContentDetailsRegionRestriction--; | 3272 buildCounterVideoContentDetailsRegionRestriction--; |
| 3273 } | 3273 } |
| 3274 | 3274 |
| 3275 core.int buildCounterVideoConversionPing = 0; | 3275 core.int buildCounterVideoConversionPing = 0; |
| 3276 buildVideoConversionPing() { | 3276 buildVideoConversionPing() { |
| 3277 var o = new api.VideoConversionPing(); | 3277 var o = new api.VideoConversionPing(); |
| 3278 buildCounterVideoConversionPing++; | 3278 buildCounterVideoConversionPing++; |
| 3279 if (buildCounterVideoConversionPing < 3) { | 3279 if (buildCounterVideoConversionPing < 3) { |
| 3280 o.context = "foo"; | 3280 o.context = "foo"; |
| 3281 o.conversionUrl = "foo"; | 3281 o.conversionUrl = "foo"; |
| 3282 } | 3282 } |
| 3283 buildCounterVideoConversionPing--; | 3283 buildCounterVideoConversionPing--; |
| 3284 return o; | 3284 return o; |
| 3285 } | 3285 } |
| 3286 | 3286 |
| 3287 checkVideoConversionPing(api.VideoConversionPing o) { | 3287 checkVideoConversionPing(api.VideoConversionPing o) { |
| 3288 buildCounterVideoConversionPing++; | 3288 buildCounterVideoConversionPing++; |
| 3289 if (buildCounterVideoConversionPing < 3) { | 3289 if (buildCounterVideoConversionPing < 3) { |
| 3290 unittest.expect(o.context, unittest.equals('foo')); | 3290 unittest.expect(o.context, unittest.equals('foo')); |
| 3291 unittest.expect(o.conversionUrl, unittest.equals('foo')); | 3291 unittest.expect(o.conversionUrl, unittest.equals('foo')); |
| 3292 } | 3292 } |
| 3293 buildCounterVideoConversionPing--; | 3293 buildCounterVideoConversionPing--; |
| 3294 } | 3294 } |
| 3295 | 3295 |
| 3296 buildUnnamed1428() { | 3296 buildUnnamed1442() { |
| 3297 var o = new core.List<api.VideoConversionPing>(); | 3297 var o = new core.List<api.VideoConversionPing>(); |
| 3298 o.add(buildVideoConversionPing()); | 3298 o.add(buildVideoConversionPing()); |
| 3299 o.add(buildVideoConversionPing()); | 3299 o.add(buildVideoConversionPing()); |
| 3300 return o; | 3300 return o; |
| 3301 } | 3301 } |
| 3302 | 3302 |
| 3303 checkUnnamed1428(core.List<api.VideoConversionPing> o) { | 3303 checkUnnamed1442(core.List<api.VideoConversionPing> o) { |
| 3304 unittest.expect(o, unittest.hasLength(2)); | 3304 unittest.expect(o, unittest.hasLength(2)); |
| 3305 checkVideoConversionPing(o[0]); | 3305 checkVideoConversionPing(o[0]); |
| 3306 checkVideoConversionPing(o[1]); | 3306 checkVideoConversionPing(o[1]); |
| 3307 } | 3307 } |
| 3308 | 3308 |
| 3309 core.int buildCounterVideoConversionPings = 0; | 3309 core.int buildCounterVideoConversionPings = 0; |
| 3310 buildVideoConversionPings() { | 3310 buildVideoConversionPings() { |
| 3311 var o = new api.VideoConversionPings(); | 3311 var o = new api.VideoConversionPings(); |
| 3312 buildCounterVideoConversionPings++; | 3312 buildCounterVideoConversionPings++; |
| 3313 if (buildCounterVideoConversionPings < 3) { | 3313 if (buildCounterVideoConversionPings < 3) { |
| 3314 o.pings = buildUnnamed1428(); | 3314 o.pings = buildUnnamed1442(); |
| 3315 } | 3315 } |
| 3316 buildCounterVideoConversionPings--; | 3316 buildCounterVideoConversionPings--; |
| 3317 return o; | 3317 return o; |
| 3318 } | 3318 } |
| 3319 | 3319 |
| 3320 checkVideoConversionPings(api.VideoConversionPings o) { | 3320 checkVideoConversionPings(api.VideoConversionPings o) { |
| 3321 buildCounterVideoConversionPings++; | 3321 buildCounterVideoConversionPings++; |
| 3322 if (buildCounterVideoConversionPings < 3) { | 3322 if (buildCounterVideoConversionPings < 3) { |
| 3323 checkUnnamed1428(o.pings); | 3323 checkUnnamed1442(o.pings); |
| 3324 } | 3324 } |
| 3325 buildCounterVideoConversionPings--; | 3325 buildCounterVideoConversionPings--; |
| 3326 } | 3326 } |
| 3327 | 3327 |
| 3328 buildUnnamed1429() { | 3328 buildUnnamed1443() { |
| 3329 var o = new core.List<api.VideoFileDetailsAudioStream>(); | 3329 var o = new core.List<api.VideoFileDetailsAudioStream>(); |
| 3330 o.add(buildVideoFileDetailsAudioStream()); | 3330 o.add(buildVideoFileDetailsAudioStream()); |
| 3331 o.add(buildVideoFileDetailsAudioStream()); | 3331 o.add(buildVideoFileDetailsAudioStream()); |
| 3332 return o; | 3332 return o; |
| 3333 } | 3333 } |
| 3334 | 3334 |
| 3335 checkUnnamed1429(core.List<api.VideoFileDetailsAudioStream> o) { | 3335 checkUnnamed1443(core.List<api.VideoFileDetailsAudioStream> o) { |
| 3336 unittest.expect(o, unittest.hasLength(2)); | 3336 unittest.expect(o, unittest.hasLength(2)); |
| 3337 checkVideoFileDetailsAudioStream(o[0]); | 3337 checkVideoFileDetailsAudioStream(o[0]); |
| 3338 checkVideoFileDetailsAudioStream(o[1]); | 3338 checkVideoFileDetailsAudioStream(o[1]); |
| 3339 } | 3339 } |
| 3340 | 3340 |
| 3341 buildUnnamed1430() { | 3341 buildUnnamed1444() { |
| 3342 var o = new core.List<api.VideoFileDetailsVideoStream>(); | 3342 var o = new core.List<api.VideoFileDetailsVideoStream>(); |
| 3343 o.add(buildVideoFileDetailsVideoStream()); | 3343 o.add(buildVideoFileDetailsVideoStream()); |
| 3344 o.add(buildVideoFileDetailsVideoStream()); | 3344 o.add(buildVideoFileDetailsVideoStream()); |
| 3345 return o; | 3345 return o; |
| 3346 } | 3346 } |
| 3347 | 3347 |
| 3348 checkUnnamed1430(core.List<api.VideoFileDetailsVideoStream> o) { | 3348 checkUnnamed1444(core.List<api.VideoFileDetailsVideoStream> o) { |
| 3349 unittest.expect(o, unittest.hasLength(2)); | 3349 unittest.expect(o, unittest.hasLength(2)); |
| 3350 checkVideoFileDetailsVideoStream(o[0]); | 3350 checkVideoFileDetailsVideoStream(o[0]); |
| 3351 checkVideoFileDetailsVideoStream(o[1]); | 3351 checkVideoFileDetailsVideoStream(o[1]); |
| 3352 } | 3352 } |
| 3353 | 3353 |
| 3354 core.int buildCounterVideoFileDetails = 0; | 3354 core.int buildCounterVideoFileDetails = 0; |
| 3355 buildVideoFileDetails() { | 3355 buildVideoFileDetails() { |
| 3356 var o = new api.VideoFileDetails(); | 3356 var o = new api.VideoFileDetails(); |
| 3357 buildCounterVideoFileDetails++; | 3357 buildCounterVideoFileDetails++; |
| 3358 if (buildCounterVideoFileDetails < 3) { | 3358 if (buildCounterVideoFileDetails < 3) { |
| 3359 o.audioStreams = buildUnnamed1429(); | 3359 o.audioStreams = buildUnnamed1443(); |
| 3360 o.bitrateBps = "foo"; | 3360 o.bitrateBps = "foo"; |
| 3361 o.container = "foo"; | 3361 o.container = "foo"; |
| 3362 o.creationTime = "foo"; | 3362 o.creationTime = "foo"; |
| 3363 o.durationMs = "foo"; | 3363 o.durationMs = "foo"; |
| 3364 o.fileName = "foo"; | 3364 o.fileName = "foo"; |
| 3365 o.fileSize = "foo"; | 3365 o.fileSize = "foo"; |
| 3366 o.fileType = "foo"; | 3366 o.fileType = "foo"; |
| 3367 o.recordingLocation = buildGeoPoint(); | 3367 o.recordingLocation = buildGeoPoint(); |
| 3368 o.videoStreams = buildUnnamed1430(); | 3368 o.videoStreams = buildUnnamed1444(); |
| 3369 } | 3369 } |
| 3370 buildCounterVideoFileDetails--; | 3370 buildCounterVideoFileDetails--; |
| 3371 return o; | 3371 return o; |
| 3372 } | 3372 } |
| 3373 | 3373 |
| 3374 checkVideoFileDetails(api.VideoFileDetails o) { | 3374 checkVideoFileDetails(api.VideoFileDetails o) { |
| 3375 buildCounterVideoFileDetails++; | 3375 buildCounterVideoFileDetails++; |
| 3376 if (buildCounterVideoFileDetails < 3) { | 3376 if (buildCounterVideoFileDetails < 3) { |
| 3377 checkUnnamed1429(o.audioStreams); | 3377 checkUnnamed1443(o.audioStreams); |
| 3378 unittest.expect(o.bitrateBps, unittest.equals('foo')); | 3378 unittest.expect(o.bitrateBps, unittest.equals('foo')); |
| 3379 unittest.expect(o.container, unittest.equals('foo')); | 3379 unittest.expect(o.container, unittest.equals('foo')); |
| 3380 unittest.expect(o.creationTime, unittest.equals('foo')); | 3380 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 3381 unittest.expect(o.durationMs, unittest.equals('foo')); | 3381 unittest.expect(o.durationMs, unittest.equals('foo')); |
| 3382 unittest.expect(o.fileName, unittest.equals('foo')); | 3382 unittest.expect(o.fileName, unittest.equals('foo')); |
| 3383 unittest.expect(o.fileSize, unittest.equals('foo')); | 3383 unittest.expect(o.fileSize, unittest.equals('foo')); |
| 3384 unittest.expect(o.fileType, unittest.equals('foo')); | 3384 unittest.expect(o.fileType, unittest.equals('foo')); |
| 3385 checkGeoPoint(o.recordingLocation); | 3385 checkGeoPoint(o.recordingLocation); |
| 3386 checkUnnamed1430(o.videoStreams); | 3386 checkUnnamed1444(o.videoStreams); |
| 3387 } | 3387 } |
| 3388 buildCounterVideoFileDetails--; | 3388 buildCounterVideoFileDetails--; |
| 3389 } | 3389 } |
| 3390 | 3390 |
| 3391 core.int buildCounterVideoFileDetailsAudioStream = 0; | 3391 core.int buildCounterVideoFileDetailsAudioStream = 0; |
| 3392 buildVideoFileDetailsAudioStream() { | 3392 buildVideoFileDetailsAudioStream() { |
| 3393 var o = new api.VideoFileDetailsAudioStream(); | 3393 var o = new api.VideoFileDetailsAudioStream(); |
| 3394 buildCounterVideoFileDetailsAudioStream++; | 3394 buildCounterVideoFileDetailsAudioStream++; |
| 3395 if (buildCounterVideoFileDetailsAudioStream < 3) { | 3395 if (buildCounterVideoFileDetailsAudioStream < 3) { |
| 3396 o.bitrateBps = "foo"; | 3396 o.bitrateBps = "foo"; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3439 unittest.expect(o.codec, unittest.equals('foo')); | 3439 unittest.expect(o.codec, unittest.equals('foo')); |
| 3440 unittest.expect(o.frameRateFps, unittest.equals(42.0)); | 3440 unittest.expect(o.frameRateFps, unittest.equals(42.0)); |
| 3441 unittest.expect(o.heightPixels, unittest.equals(42)); | 3441 unittest.expect(o.heightPixels, unittest.equals(42)); |
| 3442 unittest.expect(o.rotation, unittest.equals('foo')); | 3442 unittest.expect(o.rotation, unittest.equals('foo')); |
| 3443 unittest.expect(o.vendor, unittest.equals('foo')); | 3443 unittest.expect(o.vendor, unittest.equals('foo')); |
| 3444 unittest.expect(o.widthPixels, unittest.equals(42)); | 3444 unittest.expect(o.widthPixels, unittest.equals(42)); |
| 3445 } | 3445 } |
| 3446 buildCounterVideoFileDetailsVideoStream--; | 3446 buildCounterVideoFileDetailsVideoStream--; |
| 3447 } | 3447 } |
| 3448 | 3448 |
| 3449 buildUnnamed1431() { | 3449 buildUnnamed1445() { |
| 3450 var o = new core.List<api.VideoRating>(); | 3450 var o = new core.List<api.VideoRating>(); |
| 3451 o.add(buildVideoRating()); | 3451 o.add(buildVideoRating()); |
| 3452 o.add(buildVideoRating()); | 3452 o.add(buildVideoRating()); |
| 3453 return o; | 3453 return o; |
| 3454 } | 3454 } |
| 3455 | 3455 |
| 3456 checkUnnamed1431(core.List<api.VideoRating> o) { | 3456 checkUnnamed1445(core.List<api.VideoRating> o) { |
| 3457 unittest.expect(o, unittest.hasLength(2)); | 3457 unittest.expect(o, unittest.hasLength(2)); |
| 3458 checkVideoRating(o[0]); | 3458 checkVideoRating(o[0]); |
| 3459 checkVideoRating(o[1]); | 3459 checkVideoRating(o[1]); |
| 3460 } | 3460 } |
| 3461 | 3461 |
| 3462 core.int buildCounterVideoGetRatingResponse = 0; | 3462 core.int buildCounterVideoGetRatingResponse = 0; |
| 3463 buildVideoGetRatingResponse() { | 3463 buildVideoGetRatingResponse() { |
| 3464 var o = new api.VideoGetRatingResponse(); | 3464 var o = new api.VideoGetRatingResponse(); |
| 3465 buildCounterVideoGetRatingResponse++; | 3465 buildCounterVideoGetRatingResponse++; |
| 3466 if (buildCounterVideoGetRatingResponse < 3) { | 3466 if (buildCounterVideoGetRatingResponse < 3) { |
| 3467 o.etag = "foo"; | 3467 o.etag = "foo"; |
| 3468 o.eventId = "foo"; | 3468 o.eventId = "foo"; |
| 3469 o.items = buildUnnamed1431(); | 3469 o.items = buildUnnamed1445(); |
| 3470 o.kind = "foo"; | 3470 o.kind = "foo"; |
| 3471 o.visitorId = "foo"; | 3471 o.visitorId = "foo"; |
| 3472 } | 3472 } |
| 3473 buildCounterVideoGetRatingResponse--; | 3473 buildCounterVideoGetRatingResponse--; |
| 3474 return o; | 3474 return o; |
| 3475 } | 3475 } |
| 3476 | 3476 |
| 3477 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { | 3477 checkVideoGetRatingResponse(api.VideoGetRatingResponse o) { |
| 3478 buildCounterVideoGetRatingResponse++; | 3478 buildCounterVideoGetRatingResponse++; |
| 3479 if (buildCounterVideoGetRatingResponse < 3) { | 3479 if (buildCounterVideoGetRatingResponse < 3) { |
| 3480 unittest.expect(o.etag, unittest.equals('foo')); | 3480 unittest.expect(o.etag, unittest.equals('foo')); |
| 3481 unittest.expect(o.eventId, unittest.equals('foo')); | 3481 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3482 checkUnnamed1431(o.items); | 3482 checkUnnamed1445(o.items); |
| 3483 unittest.expect(o.kind, unittest.equals('foo')); | 3483 unittest.expect(o.kind, unittest.equals('foo')); |
| 3484 unittest.expect(o.visitorId, unittest.equals('foo')); | 3484 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3485 } | 3485 } |
| 3486 buildCounterVideoGetRatingResponse--; | 3486 buildCounterVideoGetRatingResponse--; |
| 3487 } | 3487 } |
| 3488 | 3488 |
| 3489 buildUnnamed1432() { | 3489 buildUnnamed1446() { |
| 3490 var o = new core.List<api.Video>(); | 3490 var o = new core.List<api.Video>(); |
| 3491 o.add(buildVideo()); | 3491 o.add(buildVideo()); |
| 3492 o.add(buildVideo()); | 3492 o.add(buildVideo()); |
| 3493 return o; | 3493 return o; |
| 3494 } | 3494 } |
| 3495 | 3495 |
| 3496 checkUnnamed1432(core.List<api.Video> o) { | 3496 checkUnnamed1446(core.List<api.Video> o) { |
| 3497 unittest.expect(o, unittest.hasLength(2)); | 3497 unittest.expect(o, unittest.hasLength(2)); |
| 3498 checkVideo(o[0]); | 3498 checkVideo(o[0]); |
| 3499 checkVideo(o[1]); | 3499 checkVideo(o[1]); |
| 3500 } | 3500 } |
| 3501 | 3501 |
| 3502 core.int buildCounterVideoListResponse = 0; | 3502 core.int buildCounterVideoListResponse = 0; |
| 3503 buildVideoListResponse() { | 3503 buildVideoListResponse() { |
| 3504 var o = new api.VideoListResponse(); | 3504 var o = new api.VideoListResponse(); |
| 3505 buildCounterVideoListResponse++; | 3505 buildCounterVideoListResponse++; |
| 3506 if (buildCounterVideoListResponse < 3) { | 3506 if (buildCounterVideoListResponse < 3) { |
| 3507 o.etag = "foo"; | 3507 o.etag = "foo"; |
| 3508 o.eventId = "foo"; | 3508 o.eventId = "foo"; |
| 3509 o.items = buildUnnamed1432(); | 3509 o.items = buildUnnamed1446(); |
| 3510 o.kind = "foo"; | 3510 o.kind = "foo"; |
| 3511 o.nextPageToken = "foo"; | 3511 o.nextPageToken = "foo"; |
| 3512 o.pageInfo = buildPageInfo(); | 3512 o.pageInfo = buildPageInfo(); |
| 3513 o.prevPageToken = "foo"; | 3513 o.prevPageToken = "foo"; |
| 3514 o.tokenPagination = buildTokenPagination(); | 3514 o.tokenPagination = buildTokenPagination(); |
| 3515 o.visitorId = "foo"; | 3515 o.visitorId = "foo"; |
| 3516 } | 3516 } |
| 3517 buildCounterVideoListResponse--; | 3517 buildCounterVideoListResponse--; |
| 3518 return o; | 3518 return o; |
| 3519 } | 3519 } |
| 3520 | 3520 |
| 3521 checkVideoListResponse(api.VideoListResponse o) { | 3521 checkVideoListResponse(api.VideoListResponse o) { |
| 3522 buildCounterVideoListResponse++; | 3522 buildCounterVideoListResponse++; |
| 3523 if (buildCounterVideoListResponse < 3) { | 3523 if (buildCounterVideoListResponse < 3) { |
| 3524 unittest.expect(o.etag, unittest.equals('foo')); | 3524 unittest.expect(o.etag, unittest.equals('foo')); |
| 3525 unittest.expect(o.eventId, unittest.equals('foo')); | 3525 unittest.expect(o.eventId, unittest.equals('foo')); |
| 3526 checkUnnamed1432(o.items); | 3526 checkUnnamed1446(o.items); |
| 3527 unittest.expect(o.kind, unittest.equals('foo')); | 3527 unittest.expect(o.kind, unittest.equals('foo')); |
| 3528 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3528 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3529 checkPageInfo(o.pageInfo); | 3529 checkPageInfo(o.pageInfo); |
| 3530 unittest.expect(o.prevPageToken, unittest.equals('foo')); | 3530 unittest.expect(o.prevPageToken, unittest.equals('foo')); |
| 3531 checkTokenPagination(o.tokenPagination); | 3531 checkTokenPagination(o.tokenPagination); |
| 3532 unittest.expect(o.visitorId, unittest.equals('foo')); | 3532 unittest.expect(o.visitorId, unittest.equals('foo')); |
| 3533 } | 3533 } |
| 3534 buildCounterVideoListResponse--; | 3534 buildCounterVideoListResponse--; |
| 3535 } | 3535 } |
| 3536 | 3536 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3669 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { | 3669 checkVideoProcessingDetailsProcessingProgress(api.VideoProcessingDetailsProcessi
ngProgress o) { |
| 3670 buildCounterVideoProcessingDetailsProcessingProgress++; | 3670 buildCounterVideoProcessingDetailsProcessingProgress++; |
| 3671 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { | 3671 if (buildCounterVideoProcessingDetailsProcessingProgress < 3) { |
| 3672 unittest.expect(o.partsProcessed, unittest.equals('foo')); | 3672 unittest.expect(o.partsProcessed, unittest.equals('foo')); |
| 3673 unittest.expect(o.partsTotal, unittest.equals('foo')); | 3673 unittest.expect(o.partsTotal, unittest.equals('foo')); |
| 3674 unittest.expect(o.timeLeftMs, unittest.equals('foo')); | 3674 unittest.expect(o.timeLeftMs, unittest.equals('foo')); |
| 3675 } | 3675 } |
| 3676 buildCounterVideoProcessingDetailsProcessingProgress--; | 3676 buildCounterVideoProcessingDetailsProcessingProgress--; |
| 3677 } | 3677 } |
| 3678 | 3678 |
| 3679 buildUnnamed1433() { | 3679 buildUnnamed1447() { |
| 3680 var o = new core.List<core.String>(); | 3680 var o = new core.List<core.String>(); |
| 3681 o.add("foo"); | 3681 o.add("foo"); |
| 3682 o.add("foo"); | 3682 o.add("foo"); |
| 3683 return o; | 3683 return o; |
| 3684 } | 3684 } |
| 3685 | 3685 |
| 3686 checkUnnamed1433(core.List<core.String> o) { | 3686 checkUnnamed1447(core.List<core.String> o) { |
| 3687 unittest.expect(o, unittest.hasLength(2)); | 3687 unittest.expect(o, unittest.hasLength(2)); |
| 3688 unittest.expect(o[0], unittest.equals('foo')); | 3688 unittest.expect(o[0], unittest.equals('foo')); |
| 3689 unittest.expect(o[1], unittest.equals('foo')); | 3689 unittest.expect(o[1], unittest.equals('foo')); |
| 3690 } | 3690 } |
| 3691 | 3691 |
| 3692 core.int buildCounterVideoProjectDetails = 0; | 3692 core.int buildCounterVideoProjectDetails = 0; |
| 3693 buildVideoProjectDetails() { | 3693 buildVideoProjectDetails() { |
| 3694 var o = new api.VideoProjectDetails(); | 3694 var o = new api.VideoProjectDetails(); |
| 3695 buildCounterVideoProjectDetails++; | 3695 buildCounterVideoProjectDetails++; |
| 3696 if (buildCounterVideoProjectDetails < 3) { | 3696 if (buildCounterVideoProjectDetails < 3) { |
| 3697 o.tags = buildUnnamed1433(); | 3697 o.tags = buildUnnamed1447(); |
| 3698 } | 3698 } |
| 3699 buildCounterVideoProjectDetails--; | 3699 buildCounterVideoProjectDetails--; |
| 3700 return o; | 3700 return o; |
| 3701 } | 3701 } |
| 3702 | 3702 |
| 3703 checkVideoProjectDetails(api.VideoProjectDetails o) { | 3703 checkVideoProjectDetails(api.VideoProjectDetails o) { |
| 3704 buildCounterVideoProjectDetails++; | 3704 buildCounterVideoProjectDetails++; |
| 3705 if (buildCounterVideoProjectDetails < 3) { | 3705 if (buildCounterVideoProjectDetails < 3) { |
| 3706 checkUnnamed1433(o.tags); | 3706 checkUnnamed1447(o.tags); |
| 3707 } | 3707 } |
| 3708 buildCounterVideoProjectDetails--; | 3708 buildCounterVideoProjectDetails--; |
| 3709 } | 3709 } |
| 3710 | 3710 |
| 3711 core.int buildCounterVideoRating = 0; | 3711 core.int buildCounterVideoRating = 0; |
| 3712 buildVideoRating() { | 3712 buildVideoRating() { |
| 3713 var o = new api.VideoRating(); | 3713 var o = new api.VideoRating(); |
| 3714 buildCounterVideoRating++; | 3714 buildCounterVideoRating++; |
| 3715 if (buildCounterVideoRating < 3) { | 3715 if (buildCounterVideoRating < 3) { |
| 3716 o.rating = "foo"; | 3716 o.rating = "foo"; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 3745 checkVideoRecordingDetails(api.VideoRecordingDetails o) { | 3745 checkVideoRecordingDetails(api.VideoRecordingDetails o) { |
| 3746 buildCounterVideoRecordingDetails++; | 3746 buildCounterVideoRecordingDetails++; |
| 3747 if (buildCounterVideoRecordingDetails < 3) { | 3747 if (buildCounterVideoRecordingDetails < 3) { |
| 3748 checkGeoPoint(o.location); | 3748 checkGeoPoint(o.location); |
| 3749 unittest.expect(o.locationDescription, unittest.equals('foo')); | 3749 unittest.expect(o.locationDescription, unittest.equals('foo')); |
| 3750 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); | 3750 unittest.expect(o.recordingDate, unittest.equals(core.DateTime.parse("2002-0
2-27T14:01:02"))); |
| 3751 } | 3751 } |
| 3752 buildCounterVideoRecordingDetails--; | 3752 buildCounterVideoRecordingDetails--; |
| 3753 } | 3753 } |
| 3754 | 3754 |
| 3755 buildUnnamed1434() { | 3755 buildUnnamed1448() { |
| 3756 var o = new core.List<core.String>(); | 3756 var o = new core.List<core.String>(); |
| 3757 o.add("foo"); | 3757 o.add("foo"); |
| 3758 o.add("foo"); | 3758 o.add("foo"); |
| 3759 return o; | 3759 return o; |
| 3760 } | 3760 } |
| 3761 | 3761 |
| 3762 checkUnnamed1434(core.List<core.String> o) { | 3762 checkUnnamed1448(core.List<core.String> o) { |
| 3763 unittest.expect(o, unittest.hasLength(2)); | 3763 unittest.expect(o, unittest.hasLength(2)); |
| 3764 unittest.expect(o[0], unittest.equals('foo')); | 3764 unittest.expect(o[0], unittest.equals('foo')); |
| 3765 unittest.expect(o[1], unittest.equals('foo')); | 3765 unittest.expect(o[1], unittest.equals('foo')); |
| 3766 } | 3766 } |
| 3767 | 3767 |
| 3768 core.int buildCounterVideoSnippet = 0; | 3768 core.int buildCounterVideoSnippet = 0; |
| 3769 buildVideoSnippet() { | 3769 buildVideoSnippet() { |
| 3770 var o = new api.VideoSnippet(); | 3770 var o = new api.VideoSnippet(); |
| 3771 buildCounterVideoSnippet++; | 3771 buildCounterVideoSnippet++; |
| 3772 if (buildCounterVideoSnippet < 3) { | 3772 if (buildCounterVideoSnippet < 3) { |
| 3773 o.categoryId = "foo"; | 3773 o.categoryId = "foo"; |
| 3774 o.channelId = "foo"; | 3774 o.channelId = "foo"; |
| 3775 o.channelTitle = "foo"; | 3775 o.channelTitle = "foo"; |
| 3776 o.defaultLanguage = buildLanguageTag(); | 3776 o.defaultLanguage = buildLanguageTag(); |
| 3777 o.description = "foo"; | 3777 o.description = "foo"; |
| 3778 o.liveBroadcastContent = "foo"; | 3778 o.liveBroadcastContent = "foo"; |
| 3779 o.localized = buildVideoLocalization(); | 3779 o.localized = buildVideoLocalization(); |
| 3780 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); | 3780 o.publishedAt = core.DateTime.parse("2002-02-27T14:01:02"); |
| 3781 o.tags = buildUnnamed1434(); | 3781 o.tags = buildUnnamed1448(); |
| 3782 o.thumbnails = buildThumbnailDetails(); | 3782 o.thumbnails = buildThumbnailDetails(); |
| 3783 o.title = "foo"; | 3783 o.title = "foo"; |
| 3784 } | 3784 } |
| 3785 buildCounterVideoSnippet--; | 3785 buildCounterVideoSnippet--; |
| 3786 return o; | 3786 return o; |
| 3787 } | 3787 } |
| 3788 | 3788 |
| 3789 checkVideoSnippet(api.VideoSnippet o) { | 3789 checkVideoSnippet(api.VideoSnippet o) { |
| 3790 buildCounterVideoSnippet++; | 3790 buildCounterVideoSnippet++; |
| 3791 if (buildCounterVideoSnippet < 3) { | 3791 if (buildCounterVideoSnippet < 3) { |
| 3792 unittest.expect(o.categoryId, unittest.equals('foo')); | 3792 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 3793 unittest.expect(o.channelId, unittest.equals('foo')); | 3793 unittest.expect(o.channelId, unittest.equals('foo')); |
| 3794 unittest.expect(o.channelTitle, unittest.equals('foo')); | 3794 unittest.expect(o.channelTitle, unittest.equals('foo')); |
| 3795 checkLanguageTag(o.defaultLanguage); | 3795 checkLanguageTag(o.defaultLanguage); |
| 3796 unittest.expect(o.description, unittest.equals('foo')); | 3796 unittest.expect(o.description, unittest.equals('foo')); |
| 3797 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); | 3797 unittest.expect(o.liveBroadcastContent, unittest.equals('foo')); |
| 3798 checkVideoLocalization(o.localized); | 3798 checkVideoLocalization(o.localized); |
| 3799 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 3799 unittest.expect(o.publishedAt, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 3800 checkUnnamed1434(o.tags); | 3800 checkUnnamed1448(o.tags); |
| 3801 checkThumbnailDetails(o.thumbnails); | 3801 checkThumbnailDetails(o.thumbnails); |
| 3802 unittest.expect(o.title, unittest.equals('foo')); | 3802 unittest.expect(o.title, unittest.equals('foo')); |
| 3803 } | 3803 } |
| 3804 buildCounterVideoSnippet--; | 3804 buildCounterVideoSnippet--; |
| 3805 } | 3805 } |
| 3806 | 3806 |
| 3807 core.int buildCounterVideoStatistics = 0; | 3807 core.int buildCounterVideoStatistics = 0; |
| 3808 buildVideoStatistics() { | 3808 buildVideoStatistics() { |
| 3809 var o = new api.VideoStatistics(); | 3809 var o = new api.VideoStatistics(); |
| 3810 buildCounterVideoStatistics++; | 3810 buildCounterVideoStatistics++; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3857 unittest.expect(o.license, unittest.equals('foo')); | 3857 unittest.expect(o.license, unittest.equals('foo')); |
| 3858 unittest.expect(o.privacyStatus, unittest.equals('foo')); | 3858 unittest.expect(o.privacyStatus, unittest.equals('foo')); |
| 3859 unittest.expect(o.publicStatsViewable, unittest.isTrue); | 3859 unittest.expect(o.publicStatsViewable, unittest.isTrue); |
| 3860 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 3860 unittest.expect(o.publishAt, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 3861 unittest.expect(o.rejectionReason, unittest.equals('foo')); | 3861 unittest.expect(o.rejectionReason, unittest.equals('foo')); |
| 3862 unittest.expect(o.uploadStatus, unittest.equals('foo')); | 3862 unittest.expect(o.uploadStatus, unittest.equals('foo')); |
| 3863 } | 3863 } |
| 3864 buildCounterVideoStatus--; | 3864 buildCounterVideoStatus--; |
| 3865 } | 3865 } |
| 3866 | 3866 |
| 3867 buildUnnamed1435() { | 3867 buildUnnamed1449() { |
| 3868 var o = new core.List<core.String>(); | 3868 var o = new core.List<core.String>(); |
| 3869 o.add("foo"); | 3869 o.add("foo"); |
| 3870 o.add("foo"); | 3870 o.add("foo"); |
| 3871 return o; | 3871 return o; |
| 3872 } | 3872 } |
| 3873 | 3873 |
| 3874 checkUnnamed1435(core.List<core.String> o) { | 3874 checkUnnamed1449(core.List<core.String> o) { |
| 3875 unittest.expect(o, unittest.hasLength(2)); | 3875 unittest.expect(o, unittest.hasLength(2)); |
| 3876 unittest.expect(o[0], unittest.equals('foo')); | 3876 unittest.expect(o[0], unittest.equals('foo')); |
| 3877 unittest.expect(o[1], unittest.equals('foo')); | 3877 unittest.expect(o[1], unittest.equals('foo')); |
| 3878 } | 3878 } |
| 3879 | 3879 |
| 3880 buildUnnamed1436() { | 3880 buildUnnamed1450() { |
| 3881 var o = new core.List<core.String>(); | 3881 var o = new core.List<core.String>(); |
| 3882 o.add("foo"); | 3882 o.add("foo"); |
| 3883 o.add("foo"); | 3883 o.add("foo"); |
| 3884 return o; | 3884 return o; |
| 3885 } | 3885 } |
| 3886 | 3886 |
| 3887 checkUnnamed1436(core.List<core.String> o) { | 3887 checkUnnamed1450(core.List<core.String> o) { |
| 3888 unittest.expect(o, unittest.hasLength(2)); | 3888 unittest.expect(o, unittest.hasLength(2)); |
| 3889 unittest.expect(o[0], unittest.equals('foo')); | 3889 unittest.expect(o[0], unittest.equals('foo')); |
| 3890 unittest.expect(o[1], unittest.equals('foo')); | 3890 unittest.expect(o[1], unittest.equals('foo')); |
| 3891 } | 3891 } |
| 3892 | 3892 |
| 3893 buildUnnamed1437() { | 3893 buildUnnamed1451() { |
| 3894 var o = new core.List<core.String>(); | 3894 var o = new core.List<core.String>(); |
| 3895 o.add("foo"); | 3895 o.add("foo"); |
| 3896 o.add("foo"); | 3896 o.add("foo"); |
| 3897 return o; | 3897 return o; |
| 3898 } | 3898 } |
| 3899 | 3899 |
| 3900 checkUnnamed1437(core.List<core.String> o) { | 3900 checkUnnamed1451(core.List<core.String> o) { |
| 3901 unittest.expect(o, unittest.hasLength(2)); | 3901 unittest.expect(o, unittest.hasLength(2)); |
| 3902 unittest.expect(o[0], unittest.equals('foo')); | 3902 unittest.expect(o[0], unittest.equals('foo')); |
| 3903 unittest.expect(o[1], unittest.equals('foo')); | 3903 unittest.expect(o[1], unittest.equals('foo')); |
| 3904 } | 3904 } |
| 3905 | 3905 |
| 3906 buildUnnamed1438() { | 3906 buildUnnamed1452() { |
| 3907 var o = new core.List<core.String>(); | 3907 var o = new core.List<core.String>(); |
| 3908 o.add("foo"); | 3908 o.add("foo"); |
| 3909 o.add("foo"); | 3909 o.add("foo"); |
| 3910 return o; | 3910 return o; |
| 3911 } | 3911 } |
| 3912 | 3912 |
| 3913 checkUnnamed1438(core.List<core.String> o) { | 3913 checkUnnamed1452(core.List<core.String> o) { |
| 3914 unittest.expect(o, unittest.hasLength(2)); | 3914 unittest.expect(o, unittest.hasLength(2)); |
| 3915 unittest.expect(o[0], unittest.equals('foo')); | 3915 unittest.expect(o[0], unittest.equals('foo')); |
| 3916 unittest.expect(o[1], unittest.equals('foo')); | 3916 unittest.expect(o[1], unittest.equals('foo')); |
| 3917 } | 3917 } |
| 3918 | 3918 |
| 3919 buildUnnamed1439() { | 3919 buildUnnamed1453() { |
| 3920 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); | 3920 var o = new core.List<api.VideoSuggestionsTagSuggestion>(); |
| 3921 o.add(buildVideoSuggestionsTagSuggestion()); | 3921 o.add(buildVideoSuggestionsTagSuggestion()); |
| 3922 o.add(buildVideoSuggestionsTagSuggestion()); | 3922 o.add(buildVideoSuggestionsTagSuggestion()); |
| 3923 return o; | 3923 return o; |
| 3924 } | 3924 } |
| 3925 | 3925 |
| 3926 checkUnnamed1439(core.List<api.VideoSuggestionsTagSuggestion> o) { | 3926 checkUnnamed1453(core.List<api.VideoSuggestionsTagSuggestion> o) { |
| 3927 unittest.expect(o, unittest.hasLength(2)); | 3927 unittest.expect(o, unittest.hasLength(2)); |
| 3928 checkVideoSuggestionsTagSuggestion(o[0]); | 3928 checkVideoSuggestionsTagSuggestion(o[0]); |
| 3929 checkVideoSuggestionsTagSuggestion(o[1]); | 3929 checkVideoSuggestionsTagSuggestion(o[1]); |
| 3930 } | 3930 } |
| 3931 | 3931 |
| 3932 core.int buildCounterVideoSuggestions = 0; | 3932 core.int buildCounterVideoSuggestions = 0; |
| 3933 buildVideoSuggestions() { | 3933 buildVideoSuggestions() { |
| 3934 var o = new api.VideoSuggestions(); | 3934 var o = new api.VideoSuggestions(); |
| 3935 buildCounterVideoSuggestions++; | 3935 buildCounterVideoSuggestions++; |
| 3936 if (buildCounterVideoSuggestions < 3) { | 3936 if (buildCounterVideoSuggestions < 3) { |
| 3937 o.editorSuggestions = buildUnnamed1435(); | 3937 o.editorSuggestions = buildUnnamed1449(); |
| 3938 o.processingErrors = buildUnnamed1436(); | 3938 o.processingErrors = buildUnnamed1450(); |
| 3939 o.processingHints = buildUnnamed1437(); | 3939 o.processingHints = buildUnnamed1451(); |
| 3940 o.processingWarnings = buildUnnamed1438(); | 3940 o.processingWarnings = buildUnnamed1452(); |
| 3941 o.tagSuggestions = buildUnnamed1439(); | 3941 o.tagSuggestions = buildUnnamed1453(); |
| 3942 } | 3942 } |
| 3943 buildCounterVideoSuggestions--; | 3943 buildCounterVideoSuggestions--; |
| 3944 return o; | 3944 return o; |
| 3945 } | 3945 } |
| 3946 | 3946 |
| 3947 checkVideoSuggestions(api.VideoSuggestions o) { | 3947 checkVideoSuggestions(api.VideoSuggestions o) { |
| 3948 buildCounterVideoSuggestions++; | 3948 buildCounterVideoSuggestions++; |
| 3949 if (buildCounterVideoSuggestions < 3) { | 3949 if (buildCounterVideoSuggestions < 3) { |
| 3950 checkUnnamed1435(o.editorSuggestions); | 3950 checkUnnamed1449(o.editorSuggestions); |
| 3951 checkUnnamed1436(o.processingErrors); | 3951 checkUnnamed1450(o.processingErrors); |
| 3952 checkUnnamed1437(o.processingHints); | 3952 checkUnnamed1451(o.processingHints); |
| 3953 checkUnnamed1438(o.processingWarnings); | 3953 checkUnnamed1452(o.processingWarnings); |
| 3954 checkUnnamed1439(o.tagSuggestions); | 3954 checkUnnamed1453(o.tagSuggestions); |
| 3955 } | 3955 } |
| 3956 buildCounterVideoSuggestions--; | 3956 buildCounterVideoSuggestions--; |
| 3957 } | 3957 } |
| 3958 | 3958 |
| 3959 buildUnnamed1440() { | 3959 buildUnnamed1454() { |
| 3960 var o = new core.List<core.String>(); | 3960 var o = new core.List<core.String>(); |
| 3961 o.add("foo"); | 3961 o.add("foo"); |
| 3962 o.add("foo"); | 3962 o.add("foo"); |
| 3963 return o; | 3963 return o; |
| 3964 } | 3964 } |
| 3965 | 3965 |
| 3966 checkUnnamed1440(core.List<core.String> o) { | 3966 checkUnnamed1454(core.List<core.String> o) { |
| 3967 unittest.expect(o, unittest.hasLength(2)); | 3967 unittest.expect(o, unittest.hasLength(2)); |
| 3968 unittest.expect(o[0], unittest.equals('foo')); | 3968 unittest.expect(o[0], unittest.equals('foo')); |
| 3969 unittest.expect(o[1], unittest.equals('foo')); | 3969 unittest.expect(o[1], unittest.equals('foo')); |
| 3970 } | 3970 } |
| 3971 | 3971 |
| 3972 core.int buildCounterVideoSuggestionsTagSuggestion = 0; | 3972 core.int buildCounterVideoSuggestionsTagSuggestion = 0; |
| 3973 buildVideoSuggestionsTagSuggestion() { | 3973 buildVideoSuggestionsTagSuggestion() { |
| 3974 var o = new api.VideoSuggestionsTagSuggestion(); | 3974 var o = new api.VideoSuggestionsTagSuggestion(); |
| 3975 buildCounterVideoSuggestionsTagSuggestion++; | 3975 buildCounterVideoSuggestionsTagSuggestion++; |
| 3976 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3976 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 3977 o.categoryRestricts = buildUnnamed1440(); | 3977 o.categoryRestricts = buildUnnamed1454(); |
| 3978 o.tag = "foo"; | 3978 o.tag = "foo"; |
| 3979 } | 3979 } |
| 3980 buildCounterVideoSuggestionsTagSuggestion--; | 3980 buildCounterVideoSuggestionsTagSuggestion--; |
| 3981 return o; | 3981 return o; |
| 3982 } | 3982 } |
| 3983 | 3983 |
| 3984 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { | 3984 checkVideoSuggestionsTagSuggestion(api.VideoSuggestionsTagSuggestion o) { |
| 3985 buildCounterVideoSuggestionsTagSuggestion++; | 3985 buildCounterVideoSuggestionsTagSuggestion++; |
| 3986 if (buildCounterVideoSuggestionsTagSuggestion < 3) { | 3986 if (buildCounterVideoSuggestionsTagSuggestion < 3) { |
| 3987 checkUnnamed1440(o.categoryRestricts); | 3987 checkUnnamed1454(o.categoryRestricts); |
| 3988 unittest.expect(o.tag, unittest.equals('foo')); | 3988 unittest.expect(o.tag, unittest.equals('foo')); |
| 3989 } | 3989 } |
| 3990 buildCounterVideoSuggestionsTagSuggestion--; | 3990 buildCounterVideoSuggestionsTagSuggestion--; |
| 3991 } | 3991 } |
| 3992 | 3992 |
| 3993 buildUnnamed1441() { | 3993 buildUnnamed1455() { |
| 3994 var o = new core.List<core.String>(); | 3994 var o = new core.List<core.String>(); |
| 3995 o.add("foo"); | 3995 o.add("foo"); |
| 3996 o.add("foo"); | 3996 o.add("foo"); |
| 3997 return o; | 3997 return o; |
| 3998 } | 3998 } |
| 3999 | 3999 |
| 4000 checkUnnamed1441(core.List<core.String> o) { | 4000 checkUnnamed1455(core.List<core.String> o) { |
| 4001 unittest.expect(o, unittest.hasLength(2)); | 4001 unittest.expect(o, unittest.hasLength(2)); |
| 4002 unittest.expect(o[0], unittest.equals('foo')); | 4002 unittest.expect(o[0], unittest.equals('foo')); |
| 4003 unittest.expect(o[1], unittest.equals('foo')); | 4003 unittest.expect(o[1], unittest.equals('foo')); |
| 4004 } | 4004 } |
| 4005 | 4005 |
| 4006 buildUnnamed1442() { | 4006 buildUnnamed1456() { |
| 4007 var o = new core.List<core.String>(); | 4007 var o = new core.List<core.String>(); |
| 4008 o.add("foo"); | 4008 o.add("foo"); |
| 4009 o.add("foo"); | 4009 o.add("foo"); |
| 4010 return o; | 4010 return o; |
| 4011 } | 4011 } |
| 4012 | 4012 |
| 4013 checkUnnamed1442(core.List<core.String> o) { | 4013 checkUnnamed1456(core.List<core.String> o) { |
| 4014 unittest.expect(o, unittest.hasLength(2)); | 4014 unittest.expect(o, unittest.hasLength(2)); |
| 4015 unittest.expect(o[0], unittest.equals('foo')); | 4015 unittest.expect(o[0], unittest.equals('foo')); |
| 4016 unittest.expect(o[1], unittest.equals('foo')); | 4016 unittest.expect(o[1], unittest.equals('foo')); |
| 4017 } | 4017 } |
| 4018 | 4018 |
| 4019 core.int buildCounterVideoTopicDetails = 0; | 4019 core.int buildCounterVideoTopicDetails = 0; |
| 4020 buildVideoTopicDetails() { | 4020 buildVideoTopicDetails() { |
| 4021 var o = new api.VideoTopicDetails(); | 4021 var o = new api.VideoTopicDetails(); |
| 4022 buildCounterVideoTopicDetails++; | 4022 buildCounterVideoTopicDetails++; |
| 4023 if (buildCounterVideoTopicDetails < 3) { | 4023 if (buildCounterVideoTopicDetails < 3) { |
| 4024 o.relevantTopicIds = buildUnnamed1441(); | 4024 o.relevantTopicIds = buildUnnamed1455(); |
| 4025 o.topicIds = buildUnnamed1442(); | 4025 o.topicIds = buildUnnamed1456(); |
| 4026 } | 4026 } |
| 4027 buildCounterVideoTopicDetails--; | 4027 buildCounterVideoTopicDetails--; |
| 4028 return o; | 4028 return o; |
| 4029 } | 4029 } |
| 4030 | 4030 |
| 4031 checkVideoTopicDetails(api.VideoTopicDetails o) { | 4031 checkVideoTopicDetails(api.VideoTopicDetails o) { |
| 4032 buildCounterVideoTopicDetails++; | 4032 buildCounterVideoTopicDetails++; |
| 4033 if (buildCounterVideoTopicDetails < 3) { | 4033 if (buildCounterVideoTopicDetails < 3) { |
| 4034 checkUnnamed1441(o.relevantTopicIds); | 4034 checkUnnamed1455(o.relevantTopicIds); |
| 4035 checkUnnamed1442(o.topicIds); | 4035 checkUnnamed1456(o.topicIds); |
| 4036 } | 4036 } |
| 4037 buildCounterVideoTopicDetails--; | 4037 buildCounterVideoTopicDetails--; |
| 4038 } | 4038 } |
| 4039 | 4039 |
| 4040 core.int buildCounterWatchSettings = 0; | 4040 core.int buildCounterWatchSettings = 0; |
| 4041 buildWatchSettings() { | 4041 buildWatchSettings() { |
| 4042 var o = new api.WatchSettings(); | 4042 var o = new api.WatchSettings(); |
| 4043 buildCounterWatchSettings++; | 4043 buildCounterWatchSettings++; |
| 4044 if (buildCounterWatchSettings < 3) { | 4044 if (buildCounterWatchSettings < 3) { |
| 4045 o.backgroundColor = "foo"; | 4045 o.backgroundColor = "foo"; |
| (...skipping 3686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7732 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 7732 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 7733 }), true); | 7733 }), true); |
| 7734 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); | 7734 res.unset(arg_channelId, onBehalfOfContentOwner: arg_onBehalfOfContentOwne
r).then(unittest.expectAsync((_) {})); |
| 7735 }); | 7735 }); |
| 7736 | 7736 |
| 7737 }); | 7737 }); |
| 7738 | 7738 |
| 7739 | 7739 |
| 7740 } | 7740 } |
| 7741 | 7741 |
| OLD | NEW |