| OLD | NEW |
| 1 library googleapis.plusDomains.v1.test; | 1 library googleapis.plusDomains.v1.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/plusdomains/v1.dart' as api; | 15 import 'package:googleapis/plusdomains/v1.dart' as api; |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 buildUnnamed1042() { | 19 buildUnnamed648() { |
| 20 var o = new core.List<api.PlusDomainsAclentryResource>(); | 20 var o = new core.List<api.PlusDomainsAclentryResource>(); |
| 21 o.add(buildPlusDomainsAclentryResource()); | 21 o.add(buildPlusDomainsAclentryResource()); |
| 22 o.add(buildPlusDomainsAclentryResource()); | 22 o.add(buildPlusDomainsAclentryResource()); |
| 23 return o; | 23 return o; |
| 24 } | 24 } |
| 25 | 25 |
| 26 checkUnnamed1042(core.List<api.PlusDomainsAclentryResource> o) { | 26 checkUnnamed648(core.List<api.PlusDomainsAclentryResource> o) { |
| 27 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
| 28 checkPlusDomainsAclentryResource(o[0]); | 28 checkPlusDomainsAclentryResource(o[0]); |
| 29 checkPlusDomainsAclentryResource(o[1]); | 29 checkPlusDomainsAclentryResource(o[1]); |
| 30 } | 30 } |
| 31 | 31 |
| 32 core.int buildCounterAcl = 0; | 32 core.int buildCounterAcl = 0; |
| 33 buildAcl() { | 33 buildAcl() { |
| 34 var o = new api.Acl(); | 34 var o = new api.Acl(); |
| 35 buildCounterAcl++; | 35 buildCounterAcl++; |
| 36 if (buildCounterAcl < 3) { | 36 if (buildCounterAcl < 3) { |
| 37 o.description = "foo"; | 37 o.description = "foo"; |
| 38 o.domainRestricted = true; | 38 o.domainRestricted = true; |
| 39 o.items = buildUnnamed1042(); | 39 o.items = buildUnnamed648(); |
| 40 o.kind = "foo"; | 40 o.kind = "foo"; |
| 41 } | 41 } |
| 42 buildCounterAcl--; | 42 buildCounterAcl--; |
| 43 return o; | 43 return o; |
| 44 } | 44 } |
| 45 | 45 |
| 46 checkAcl(api.Acl o) { | 46 checkAcl(api.Acl o) { |
| 47 buildCounterAcl++; | 47 buildCounterAcl++; |
| 48 if (buildCounterAcl < 3) { | 48 if (buildCounterAcl < 3) { |
| 49 unittest.expect(o.description, unittest.equals('foo')); | 49 unittest.expect(o.description, unittest.equals('foo')); |
| 50 unittest.expect(o.domainRestricted, unittest.isTrue); | 50 unittest.expect(o.domainRestricted, unittest.isTrue); |
| 51 checkUnnamed1042(o.items); | 51 checkUnnamed648(o.items); |
| 52 unittest.expect(o.kind, unittest.equals('foo')); | 52 unittest.expect(o.kind, unittest.equals('foo')); |
| 53 } | 53 } |
| 54 buildCounterAcl--; | 54 buildCounterAcl--; |
| 55 } | 55 } |
| 56 | 56 |
| 57 core.int buildCounterActivityActorImage = 0; | 57 core.int buildCounterActivityActorImage = 0; |
| 58 buildActivityActorImage() { | 58 buildActivityActorImage() { |
| 59 var o = new api.ActivityActorImage(); | 59 var o = new api.ActivityActorImage(); |
| 60 buildCounterActivityActorImage++; | 60 buildCounterActivityActorImage++; |
| 61 if (buildCounterActivityActorImage < 3) { | 61 if (buildCounterActivityActorImage < 3) { |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 } | 248 } |
| 249 | 249 |
| 250 checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
viewThumbnails o) { | 250 checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
viewThumbnails o) { |
| 251 buildCounterActivityObjectAttachmentsPreviewThumbnails++; | 251 buildCounterActivityObjectAttachmentsPreviewThumbnails++; |
| 252 if (buildCounterActivityObjectAttachmentsPreviewThumbnails < 3) { | 252 if (buildCounterActivityObjectAttachmentsPreviewThumbnails < 3) { |
| 253 unittest.expect(o.url, unittest.equals('foo')); | 253 unittest.expect(o.url, unittest.equals('foo')); |
| 254 } | 254 } |
| 255 buildCounterActivityObjectAttachmentsPreviewThumbnails--; | 255 buildCounterActivityObjectAttachmentsPreviewThumbnails--; |
| 256 } | 256 } |
| 257 | 257 |
| 258 buildUnnamed1043() { | 258 buildUnnamed649() { |
| 259 var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); | 259 var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); |
| 260 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); | 260 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); |
| 261 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); | 261 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); |
| 262 return o; | 262 return o; |
| 263 } | 263 } |
| 264 | 264 |
| 265 checkUnnamed1043(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { | 265 checkUnnamed649(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { |
| 266 unittest.expect(o, unittest.hasLength(2)); | 266 unittest.expect(o, unittest.hasLength(2)); |
| 267 checkActivityObjectAttachmentsPreviewThumbnails(o[0]); | 267 checkActivityObjectAttachmentsPreviewThumbnails(o[0]); |
| 268 checkActivityObjectAttachmentsPreviewThumbnails(o[1]); | 268 checkActivityObjectAttachmentsPreviewThumbnails(o[1]); |
| 269 } | 269 } |
| 270 | 270 |
| 271 core.int buildCounterActivityObjectAttachmentsThumbnailsImage = 0; | 271 core.int buildCounterActivityObjectAttachmentsThumbnailsImage = 0; |
| 272 buildActivityObjectAttachmentsThumbnailsImage() { | 272 buildActivityObjectAttachmentsThumbnailsImage() { |
| 273 var o = new api.ActivityObjectAttachmentsThumbnailsImage(); | 273 var o = new api.ActivityObjectAttachmentsThumbnailsImage(); |
| 274 buildCounterActivityObjectAttachmentsThumbnailsImage++; | 274 buildCounterActivityObjectAttachmentsThumbnailsImage++; |
| 275 if (buildCounterActivityObjectAttachmentsThumbnailsImage < 3) { | 275 if (buildCounterActivityObjectAttachmentsThumbnailsImage < 3) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { | 309 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { |
| 310 buildCounterActivityObjectAttachmentsThumbnails++; | 310 buildCounterActivityObjectAttachmentsThumbnails++; |
| 311 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { | 311 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { |
| 312 unittest.expect(o.description, unittest.equals('foo')); | 312 unittest.expect(o.description, unittest.equals('foo')); |
| 313 checkActivityObjectAttachmentsThumbnailsImage(o.image); | 313 checkActivityObjectAttachmentsThumbnailsImage(o.image); |
| 314 unittest.expect(o.url, unittest.equals('foo')); | 314 unittest.expect(o.url, unittest.equals('foo')); |
| 315 } | 315 } |
| 316 buildCounterActivityObjectAttachmentsThumbnails--; | 316 buildCounterActivityObjectAttachmentsThumbnails--; |
| 317 } | 317 } |
| 318 | 318 |
| 319 buildUnnamed1044() { | 319 buildUnnamed650() { |
| 320 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); | 320 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); |
| 321 o.add(buildActivityObjectAttachmentsThumbnails()); | 321 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 322 o.add(buildActivityObjectAttachmentsThumbnails()); | 322 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 323 return o; | 323 return o; |
| 324 } | 324 } |
| 325 | 325 |
| 326 checkUnnamed1044(core.List<api.ActivityObjectAttachmentsThumbnails> o) { | 326 checkUnnamed650(core.List<api.ActivityObjectAttachmentsThumbnails> o) { |
| 327 unittest.expect(o, unittest.hasLength(2)); | 327 unittest.expect(o, unittest.hasLength(2)); |
| 328 checkActivityObjectAttachmentsThumbnails(o[0]); | 328 checkActivityObjectAttachmentsThumbnails(o[0]); |
| 329 checkActivityObjectAttachmentsThumbnails(o[1]); | 329 checkActivityObjectAttachmentsThumbnails(o[1]); |
| 330 } | 330 } |
| 331 | 331 |
| 332 core.int buildCounterActivityObjectAttachments = 0; | 332 core.int buildCounterActivityObjectAttachments = 0; |
| 333 buildActivityObjectAttachments() { | 333 buildActivityObjectAttachments() { |
| 334 var o = new api.ActivityObjectAttachments(); | 334 var o = new api.ActivityObjectAttachments(); |
| 335 buildCounterActivityObjectAttachments++; | 335 buildCounterActivityObjectAttachments++; |
| 336 if (buildCounterActivityObjectAttachments < 3) { | 336 if (buildCounterActivityObjectAttachments < 3) { |
| 337 o.content = "foo"; | 337 o.content = "foo"; |
| 338 o.displayName = "foo"; | 338 o.displayName = "foo"; |
| 339 o.embed = buildActivityObjectAttachmentsEmbed(); | 339 o.embed = buildActivityObjectAttachmentsEmbed(); |
| 340 o.fullImage = buildActivityObjectAttachmentsFullImage(); | 340 o.fullImage = buildActivityObjectAttachmentsFullImage(); |
| 341 o.id = "foo"; | 341 o.id = "foo"; |
| 342 o.image = buildActivityObjectAttachmentsImage(); | 342 o.image = buildActivityObjectAttachmentsImage(); |
| 343 o.objectType = "foo"; | 343 o.objectType = "foo"; |
| 344 o.previewThumbnails = buildUnnamed1043(); | 344 o.previewThumbnails = buildUnnamed649(); |
| 345 o.thumbnails = buildUnnamed1044(); | 345 o.thumbnails = buildUnnamed650(); |
| 346 o.url = "foo"; | 346 o.url = "foo"; |
| 347 } | 347 } |
| 348 buildCounterActivityObjectAttachments--; | 348 buildCounterActivityObjectAttachments--; |
| 349 return o; | 349 return o; |
| 350 } | 350 } |
| 351 | 351 |
| 352 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { | 352 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { |
| 353 buildCounterActivityObjectAttachments++; | 353 buildCounterActivityObjectAttachments++; |
| 354 if (buildCounterActivityObjectAttachments < 3) { | 354 if (buildCounterActivityObjectAttachments < 3) { |
| 355 unittest.expect(o.content, unittest.equals('foo')); | 355 unittest.expect(o.content, unittest.equals('foo')); |
| 356 unittest.expect(o.displayName, unittest.equals('foo')); | 356 unittest.expect(o.displayName, unittest.equals('foo')); |
| 357 checkActivityObjectAttachmentsEmbed(o.embed); | 357 checkActivityObjectAttachmentsEmbed(o.embed); |
| 358 checkActivityObjectAttachmentsFullImage(o.fullImage); | 358 checkActivityObjectAttachmentsFullImage(o.fullImage); |
| 359 unittest.expect(o.id, unittest.equals('foo')); | 359 unittest.expect(o.id, unittest.equals('foo')); |
| 360 checkActivityObjectAttachmentsImage(o.image); | 360 checkActivityObjectAttachmentsImage(o.image); |
| 361 unittest.expect(o.objectType, unittest.equals('foo')); | 361 unittest.expect(o.objectType, unittest.equals('foo')); |
| 362 checkUnnamed1043(o.previewThumbnails); | 362 checkUnnamed649(o.previewThumbnails); |
| 363 checkUnnamed1044(o.thumbnails); | 363 checkUnnamed650(o.thumbnails); |
| 364 unittest.expect(o.url, unittest.equals('foo')); | 364 unittest.expect(o.url, unittest.equals('foo')); |
| 365 } | 365 } |
| 366 buildCounterActivityObjectAttachments--; | 366 buildCounterActivityObjectAttachments--; |
| 367 } | 367 } |
| 368 | 368 |
| 369 buildUnnamed1045() { | 369 buildUnnamed651() { |
| 370 var o = new core.List<api.ActivityObjectAttachments>(); | 370 var o = new core.List<api.ActivityObjectAttachments>(); |
| 371 o.add(buildActivityObjectAttachments()); | 371 o.add(buildActivityObjectAttachments()); |
| 372 o.add(buildActivityObjectAttachments()); | 372 o.add(buildActivityObjectAttachments()); |
| 373 return o; | 373 return o; |
| 374 } | 374 } |
| 375 | 375 |
| 376 checkUnnamed1045(core.List<api.ActivityObjectAttachments> o) { | 376 checkUnnamed651(core.List<api.ActivityObjectAttachments> o) { |
| 377 unittest.expect(o, unittest.hasLength(2)); | 377 unittest.expect(o, unittest.hasLength(2)); |
| 378 checkActivityObjectAttachments(o[0]); | 378 checkActivityObjectAttachments(o[0]); |
| 379 checkActivityObjectAttachments(o[1]); | 379 checkActivityObjectAttachments(o[1]); |
| 380 } | 380 } |
| 381 | 381 |
| 382 core.int buildCounterActivityObjectPlusoners = 0; | 382 core.int buildCounterActivityObjectPlusoners = 0; |
| 383 buildActivityObjectPlusoners() { | 383 buildActivityObjectPlusoners() { |
| 384 var o = new api.ActivityObjectPlusoners(); | 384 var o = new api.ActivityObjectPlusoners(); |
| 385 buildCounterActivityObjectPlusoners++; | 385 buildCounterActivityObjectPlusoners++; |
| 386 if (buildCounterActivityObjectPlusoners < 3) { | 386 if (buildCounterActivityObjectPlusoners < 3) { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 } | 468 } |
| 469 buildCounterActivityObjectStatusForViewer--; | 469 buildCounterActivityObjectStatusForViewer--; |
| 470 } | 470 } |
| 471 | 471 |
| 472 core.int buildCounterActivityObject = 0; | 472 core.int buildCounterActivityObject = 0; |
| 473 buildActivityObject() { | 473 buildActivityObject() { |
| 474 var o = new api.ActivityObject(); | 474 var o = new api.ActivityObject(); |
| 475 buildCounterActivityObject++; | 475 buildCounterActivityObject++; |
| 476 if (buildCounterActivityObject < 3) { | 476 if (buildCounterActivityObject < 3) { |
| 477 o.actor = buildActivityObjectActor(); | 477 o.actor = buildActivityObjectActor(); |
| 478 o.attachments = buildUnnamed1045(); | 478 o.attachments = buildUnnamed651(); |
| 479 o.content = "foo"; | 479 o.content = "foo"; |
| 480 o.id = "foo"; | 480 o.id = "foo"; |
| 481 o.objectType = "foo"; | 481 o.objectType = "foo"; |
| 482 o.originalContent = "foo"; | 482 o.originalContent = "foo"; |
| 483 o.plusoners = buildActivityObjectPlusoners(); | 483 o.plusoners = buildActivityObjectPlusoners(); |
| 484 o.replies = buildActivityObjectReplies(); | 484 o.replies = buildActivityObjectReplies(); |
| 485 o.resharers = buildActivityObjectResharers(); | 485 o.resharers = buildActivityObjectResharers(); |
| 486 o.statusForViewer = buildActivityObjectStatusForViewer(); | 486 o.statusForViewer = buildActivityObjectStatusForViewer(); |
| 487 o.url = "foo"; | 487 o.url = "foo"; |
| 488 } | 488 } |
| 489 buildCounterActivityObject--; | 489 buildCounterActivityObject--; |
| 490 return o; | 490 return o; |
| 491 } | 491 } |
| 492 | 492 |
| 493 checkActivityObject(api.ActivityObject o) { | 493 checkActivityObject(api.ActivityObject o) { |
| 494 buildCounterActivityObject++; | 494 buildCounterActivityObject++; |
| 495 if (buildCounterActivityObject < 3) { | 495 if (buildCounterActivityObject < 3) { |
| 496 checkActivityObjectActor(o.actor); | 496 checkActivityObjectActor(o.actor); |
| 497 checkUnnamed1045(o.attachments); | 497 checkUnnamed651(o.attachments); |
| 498 unittest.expect(o.content, unittest.equals('foo')); | 498 unittest.expect(o.content, unittest.equals('foo')); |
| 499 unittest.expect(o.id, unittest.equals('foo')); | 499 unittest.expect(o.id, unittest.equals('foo')); |
| 500 unittest.expect(o.objectType, unittest.equals('foo')); | 500 unittest.expect(o.objectType, unittest.equals('foo')); |
| 501 unittest.expect(o.originalContent, unittest.equals('foo')); | 501 unittest.expect(o.originalContent, unittest.equals('foo')); |
| 502 checkActivityObjectPlusoners(o.plusoners); | 502 checkActivityObjectPlusoners(o.plusoners); |
| 503 checkActivityObjectReplies(o.replies); | 503 checkActivityObjectReplies(o.replies); |
| 504 checkActivityObjectResharers(o.resharers); | 504 checkActivityObjectResharers(o.resharers); |
| 505 checkActivityObjectStatusForViewer(o.statusForViewer); | 505 checkActivityObjectStatusForViewer(o.statusForViewer); |
| 506 unittest.expect(o.url, unittest.equals('foo')); | 506 unittest.expect(o.url, unittest.equals('foo')); |
| 507 } | 507 } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 577 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 578 unittest.expect(o.radius, unittest.equals('foo')); | 578 unittest.expect(o.radius, unittest.equals('foo')); |
| 579 unittest.expect(o.title, unittest.equals('foo')); | 579 unittest.expect(o.title, unittest.equals('foo')); |
| 580 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 580 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 581 unittest.expect(o.url, unittest.equals('foo')); | 581 unittest.expect(o.url, unittest.equals('foo')); |
| 582 unittest.expect(o.verb, unittest.equals('foo')); | 582 unittest.expect(o.verb, unittest.equals('foo')); |
| 583 } | 583 } |
| 584 buildCounterActivity--; | 584 buildCounterActivity--; |
| 585 } | 585 } |
| 586 | 586 |
| 587 buildUnnamed1046() { | 587 buildUnnamed652() { |
| 588 var o = new core.List<api.Activity>(); | 588 var o = new core.List<api.Activity>(); |
| 589 o.add(buildActivity()); | 589 o.add(buildActivity()); |
| 590 o.add(buildActivity()); | 590 o.add(buildActivity()); |
| 591 return o; | 591 return o; |
| 592 } | 592 } |
| 593 | 593 |
| 594 checkUnnamed1046(core.List<api.Activity> o) { | 594 checkUnnamed652(core.List<api.Activity> o) { |
| 595 unittest.expect(o, unittest.hasLength(2)); | 595 unittest.expect(o, unittest.hasLength(2)); |
| 596 checkActivity(o[0]); | 596 checkActivity(o[0]); |
| 597 checkActivity(o[1]); | 597 checkActivity(o[1]); |
| 598 } | 598 } |
| 599 | 599 |
| 600 core.int buildCounterActivityFeed = 0; | 600 core.int buildCounterActivityFeed = 0; |
| 601 buildActivityFeed() { | 601 buildActivityFeed() { |
| 602 var o = new api.ActivityFeed(); | 602 var o = new api.ActivityFeed(); |
| 603 buildCounterActivityFeed++; | 603 buildCounterActivityFeed++; |
| 604 if (buildCounterActivityFeed < 3) { | 604 if (buildCounterActivityFeed < 3) { |
| 605 o.etag = "foo"; | 605 o.etag = "foo"; |
| 606 o.id = "foo"; | 606 o.id = "foo"; |
| 607 o.items = buildUnnamed1046(); | 607 o.items = buildUnnamed652(); |
| 608 o.kind = "foo"; | 608 o.kind = "foo"; |
| 609 o.nextLink = "foo"; | 609 o.nextLink = "foo"; |
| 610 o.nextPageToken = "foo"; | 610 o.nextPageToken = "foo"; |
| 611 o.selfLink = "foo"; | 611 o.selfLink = "foo"; |
| 612 o.title = "foo"; | 612 o.title = "foo"; |
| 613 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 613 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 614 } | 614 } |
| 615 buildCounterActivityFeed--; | 615 buildCounterActivityFeed--; |
| 616 return o; | 616 return o; |
| 617 } | 617 } |
| 618 | 618 |
| 619 checkActivityFeed(api.ActivityFeed o) { | 619 checkActivityFeed(api.ActivityFeed o) { |
| 620 buildCounterActivityFeed++; | 620 buildCounterActivityFeed++; |
| 621 if (buildCounterActivityFeed < 3) { | 621 if (buildCounterActivityFeed < 3) { |
| 622 unittest.expect(o.etag, unittest.equals('foo')); | 622 unittest.expect(o.etag, unittest.equals('foo')); |
| 623 unittest.expect(o.id, unittest.equals('foo')); | 623 unittest.expect(o.id, unittest.equals('foo')); |
| 624 checkUnnamed1046(o.items); | 624 checkUnnamed652(o.items); |
| 625 unittest.expect(o.kind, unittest.equals('foo')); | 625 unittest.expect(o.kind, unittest.equals('foo')); |
| 626 unittest.expect(o.nextLink, unittest.equals('foo')); | 626 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 627 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 627 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 628 unittest.expect(o.selfLink, unittest.equals('foo')); | 628 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 629 unittest.expect(o.title, unittest.equals('foo')); | 629 unittest.expect(o.title, unittest.equals('foo')); |
| 630 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 630 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 631 } | 631 } |
| 632 buildCounterActivityFeed--; | 632 buildCounterActivityFeed--; |
| 633 } | 633 } |
| 634 | 634 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 652 if (buildCounterAudience < 3) { | 652 if (buildCounterAudience < 3) { |
| 653 unittest.expect(o.etag, unittest.equals('foo')); | 653 unittest.expect(o.etag, unittest.equals('foo')); |
| 654 checkPlusDomainsAclentryResource(o.item); | 654 checkPlusDomainsAclentryResource(o.item); |
| 655 unittest.expect(o.kind, unittest.equals('foo')); | 655 unittest.expect(o.kind, unittest.equals('foo')); |
| 656 unittest.expect(o.memberCount, unittest.equals(42)); | 656 unittest.expect(o.memberCount, unittest.equals(42)); |
| 657 unittest.expect(o.visibility, unittest.equals('foo')); | 657 unittest.expect(o.visibility, unittest.equals('foo')); |
| 658 } | 658 } |
| 659 buildCounterAudience--; | 659 buildCounterAudience--; |
| 660 } | 660 } |
| 661 | 661 |
| 662 buildUnnamed1047() { | 662 buildUnnamed653() { |
| 663 var o = new core.List<api.Audience>(); | 663 var o = new core.List<api.Audience>(); |
| 664 o.add(buildAudience()); | 664 o.add(buildAudience()); |
| 665 o.add(buildAudience()); | 665 o.add(buildAudience()); |
| 666 return o; | 666 return o; |
| 667 } | 667 } |
| 668 | 668 |
| 669 checkUnnamed1047(core.List<api.Audience> o) { | 669 checkUnnamed653(core.List<api.Audience> o) { |
| 670 unittest.expect(o, unittest.hasLength(2)); | 670 unittest.expect(o, unittest.hasLength(2)); |
| 671 checkAudience(o[0]); | 671 checkAudience(o[0]); |
| 672 checkAudience(o[1]); | 672 checkAudience(o[1]); |
| 673 } | 673 } |
| 674 | 674 |
| 675 core.int buildCounterAudiencesFeed = 0; | 675 core.int buildCounterAudiencesFeed = 0; |
| 676 buildAudiencesFeed() { | 676 buildAudiencesFeed() { |
| 677 var o = new api.AudiencesFeed(); | 677 var o = new api.AudiencesFeed(); |
| 678 buildCounterAudiencesFeed++; | 678 buildCounterAudiencesFeed++; |
| 679 if (buildCounterAudiencesFeed < 3) { | 679 if (buildCounterAudiencesFeed < 3) { |
| 680 o.etag = "foo"; | 680 o.etag = "foo"; |
| 681 o.items = buildUnnamed1047(); | 681 o.items = buildUnnamed653(); |
| 682 o.kind = "foo"; | 682 o.kind = "foo"; |
| 683 o.nextPageToken = "foo"; | 683 o.nextPageToken = "foo"; |
| 684 o.totalItems = 42; | 684 o.totalItems = 42; |
| 685 } | 685 } |
| 686 buildCounterAudiencesFeed--; | 686 buildCounterAudiencesFeed--; |
| 687 return o; | 687 return o; |
| 688 } | 688 } |
| 689 | 689 |
| 690 checkAudiencesFeed(api.AudiencesFeed o) { | 690 checkAudiencesFeed(api.AudiencesFeed o) { |
| 691 buildCounterAudiencesFeed++; | 691 buildCounterAudiencesFeed++; |
| 692 if (buildCounterAudiencesFeed < 3) { | 692 if (buildCounterAudiencesFeed < 3) { |
| 693 unittest.expect(o.etag, unittest.equals('foo')); | 693 unittest.expect(o.etag, unittest.equals('foo')); |
| 694 checkUnnamed1047(o.items); | 694 checkUnnamed653(o.items); |
| 695 unittest.expect(o.kind, unittest.equals('foo')); | 695 unittest.expect(o.kind, unittest.equals('foo')); |
| 696 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 696 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 697 unittest.expect(o.totalItems, unittest.equals(42)); | 697 unittest.expect(o.totalItems, unittest.equals(42)); |
| 698 } | 698 } |
| 699 buildCounterAudiencesFeed--; | 699 buildCounterAudiencesFeed--; |
| 700 } | 700 } |
| 701 | 701 |
| 702 core.int buildCounterCirclePeople = 0; | 702 core.int buildCounterCirclePeople = 0; |
| 703 buildCirclePeople() { | 703 buildCirclePeople() { |
| 704 var o = new api.CirclePeople(); | 704 var o = new api.CirclePeople(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 unittest.expect(o.displayName, unittest.equals('foo')); | 742 unittest.expect(o.displayName, unittest.equals('foo')); |
| 743 unittest.expect(o.etag, unittest.equals('foo')); | 743 unittest.expect(o.etag, unittest.equals('foo')); |
| 744 unittest.expect(o.id, unittest.equals('foo')); | 744 unittest.expect(o.id, unittest.equals('foo')); |
| 745 unittest.expect(o.kind, unittest.equals('foo')); | 745 unittest.expect(o.kind, unittest.equals('foo')); |
| 746 checkCirclePeople(o.people); | 746 checkCirclePeople(o.people); |
| 747 unittest.expect(o.selfLink, unittest.equals('foo')); | 747 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 748 } | 748 } |
| 749 buildCounterCircle--; | 749 buildCounterCircle--; |
| 750 } | 750 } |
| 751 | 751 |
| 752 buildUnnamed1048() { | 752 buildUnnamed654() { |
| 753 var o = new core.List<api.Circle>(); | 753 var o = new core.List<api.Circle>(); |
| 754 o.add(buildCircle()); | 754 o.add(buildCircle()); |
| 755 o.add(buildCircle()); | 755 o.add(buildCircle()); |
| 756 return o; | 756 return o; |
| 757 } | 757 } |
| 758 | 758 |
| 759 checkUnnamed1048(core.List<api.Circle> o) { | 759 checkUnnamed654(core.List<api.Circle> o) { |
| 760 unittest.expect(o, unittest.hasLength(2)); | 760 unittest.expect(o, unittest.hasLength(2)); |
| 761 checkCircle(o[0]); | 761 checkCircle(o[0]); |
| 762 checkCircle(o[1]); | 762 checkCircle(o[1]); |
| 763 } | 763 } |
| 764 | 764 |
| 765 core.int buildCounterCircleFeed = 0; | 765 core.int buildCounterCircleFeed = 0; |
| 766 buildCircleFeed() { | 766 buildCircleFeed() { |
| 767 var o = new api.CircleFeed(); | 767 var o = new api.CircleFeed(); |
| 768 buildCounterCircleFeed++; | 768 buildCounterCircleFeed++; |
| 769 if (buildCounterCircleFeed < 3) { | 769 if (buildCounterCircleFeed < 3) { |
| 770 o.etag = "foo"; | 770 o.etag = "foo"; |
| 771 o.items = buildUnnamed1048(); | 771 o.items = buildUnnamed654(); |
| 772 o.kind = "foo"; | 772 o.kind = "foo"; |
| 773 o.nextLink = "foo"; | 773 o.nextLink = "foo"; |
| 774 o.nextPageToken = "foo"; | 774 o.nextPageToken = "foo"; |
| 775 o.selfLink = "foo"; | 775 o.selfLink = "foo"; |
| 776 o.title = "foo"; | 776 o.title = "foo"; |
| 777 o.totalItems = 42; | 777 o.totalItems = 42; |
| 778 } | 778 } |
| 779 buildCounterCircleFeed--; | 779 buildCounterCircleFeed--; |
| 780 return o; | 780 return o; |
| 781 } | 781 } |
| 782 | 782 |
| 783 checkCircleFeed(api.CircleFeed o) { | 783 checkCircleFeed(api.CircleFeed o) { |
| 784 buildCounterCircleFeed++; | 784 buildCounterCircleFeed++; |
| 785 if (buildCounterCircleFeed < 3) { | 785 if (buildCounterCircleFeed < 3) { |
| 786 unittest.expect(o.etag, unittest.equals('foo')); | 786 unittest.expect(o.etag, unittest.equals('foo')); |
| 787 checkUnnamed1048(o.items); | 787 checkUnnamed654(o.items); |
| 788 unittest.expect(o.kind, unittest.equals('foo')); | 788 unittest.expect(o.kind, unittest.equals('foo')); |
| 789 unittest.expect(o.nextLink, unittest.equals('foo')); | 789 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 790 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 790 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 791 unittest.expect(o.selfLink, unittest.equals('foo')); | 791 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 792 unittest.expect(o.title, unittest.equals('foo')); | 792 unittest.expect(o.title, unittest.equals('foo')); |
| 793 unittest.expect(o.totalItems, unittest.equals(42)); | 793 unittest.expect(o.totalItems, unittest.equals(42)); |
| 794 } | 794 } |
| 795 buildCounterCircleFeed--; | 795 buildCounterCircleFeed--; |
| 796 } | 796 } |
| 797 | 797 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 | 853 |
| 854 checkCommentInReplyTo(api.CommentInReplyTo o) { | 854 checkCommentInReplyTo(api.CommentInReplyTo o) { |
| 855 buildCounterCommentInReplyTo++; | 855 buildCounterCommentInReplyTo++; |
| 856 if (buildCounterCommentInReplyTo < 3) { | 856 if (buildCounterCommentInReplyTo < 3) { |
| 857 unittest.expect(o.id, unittest.equals('foo')); | 857 unittest.expect(o.id, unittest.equals('foo')); |
| 858 unittest.expect(o.url, unittest.equals('foo')); | 858 unittest.expect(o.url, unittest.equals('foo')); |
| 859 } | 859 } |
| 860 buildCounterCommentInReplyTo--; | 860 buildCounterCommentInReplyTo--; |
| 861 } | 861 } |
| 862 | 862 |
| 863 buildUnnamed1049() { | 863 buildUnnamed655() { |
| 864 var o = new core.List<api.CommentInReplyTo>(); | 864 var o = new core.List<api.CommentInReplyTo>(); |
| 865 o.add(buildCommentInReplyTo()); | 865 o.add(buildCommentInReplyTo()); |
| 866 o.add(buildCommentInReplyTo()); | 866 o.add(buildCommentInReplyTo()); |
| 867 return o; | 867 return o; |
| 868 } | 868 } |
| 869 | 869 |
| 870 checkUnnamed1049(core.List<api.CommentInReplyTo> o) { | 870 checkUnnamed655(core.List<api.CommentInReplyTo> o) { |
| 871 unittest.expect(o, unittest.hasLength(2)); | 871 unittest.expect(o, unittest.hasLength(2)); |
| 872 checkCommentInReplyTo(o[0]); | 872 checkCommentInReplyTo(o[0]); |
| 873 checkCommentInReplyTo(o[1]); | 873 checkCommentInReplyTo(o[1]); |
| 874 } | 874 } |
| 875 | 875 |
| 876 core.int buildCounterCommentObject = 0; | 876 core.int buildCounterCommentObject = 0; |
| 877 buildCommentObject() { | 877 buildCommentObject() { |
| 878 var o = new api.CommentObject(); | 878 var o = new api.CommentObject(); |
| 879 buildCounterCommentObject++; | 879 buildCounterCommentObject++; |
| 880 if (buildCounterCommentObject < 3) { | 880 if (buildCounterCommentObject < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 } | 916 } |
| 917 | 917 |
| 918 core.int buildCounterComment = 0; | 918 core.int buildCounterComment = 0; |
| 919 buildComment() { | 919 buildComment() { |
| 920 var o = new api.Comment(); | 920 var o = new api.Comment(); |
| 921 buildCounterComment++; | 921 buildCounterComment++; |
| 922 if (buildCounterComment < 3) { | 922 if (buildCounterComment < 3) { |
| 923 o.actor = buildCommentActor(); | 923 o.actor = buildCommentActor(); |
| 924 o.etag = "foo"; | 924 o.etag = "foo"; |
| 925 o.id = "foo"; | 925 o.id = "foo"; |
| 926 o.inReplyTo = buildUnnamed1049(); | 926 o.inReplyTo = buildUnnamed655(); |
| 927 o.kind = "foo"; | 927 o.kind = "foo"; |
| 928 o.object = buildCommentObject(); | 928 o.object = buildCommentObject(); |
| 929 o.plusoners = buildCommentPlusoners(); | 929 o.plusoners = buildCommentPlusoners(); |
| 930 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 930 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 931 o.selfLink = "foo"; | 931 o.selfLink = "foo"; |
| 932 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 932 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 933 o.verb = "foo"; | 933 o.verb = "foo"; |
| 934 } | 934 } |
| 935 buildCounterComment--; | 935 buildCounterComment--; |
| 936 return o; | 936 return o; |
| 937 } | 937 } |
| 938 | 938 |
| 939 checkComment(api.Comment o) { | 939 checkComment(api.Comment o) { |
| 940 buildCounterComment++; | 940 buildCounterComment++; |
| 941 if (buildCounterComment < 3) { | 941 if (buildCounterComment < 3) { |
| 942 checkCommentActor(o.actor); | 942 checkCommentActor(o.actor); |
| 943 unittest.expect(o.etag, unittest.equals('foo')); | 943 unittest.expect(o.etag, unittest.equals('foo')); |
| 944 unittest.expect(o.id, unittest.equals('foo')); | 944 unittest.expect(o.id, unittest.equals('foo')); |
| 945 checkUnnamed1049(o.inReplyTo); | 945 checkUnnamed655(o.inReplyTo); |
| 946 unittest.expect(o.kind, unittest.equals('foo')); | 946 unittest.expect(o.kind, unittest.equals('foo')); |
| 947 checkCommentObject(o.object); | 947 checkCommentObject(o.object); |
| 948 checkCommentPlusoners(o.plusoners); | 948 checkCommentPlusoners(o.plusoners); |
| 949 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 949 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 950 unittest.expect(o.selfLink, unittest.equals('foo')); | 950 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 951 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 951 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 952 unittest.expect(o.verb, unittest.equals('foo')); | 952 unittest.expect(o.verb, unittest.equals('foo')); |
| 953 } | 953 } |
| 954 buildCounterComment--; | 954 buildCounterComment--; |
| 955 } | 955 } |
| 956 | 956 |
| 957 buildUnnamed1050() { | 957 buildUnnamed656() { |
| 958 var o = new core.List<api.Comment>(); | 958 var o = new core.List<api.Comment>(); |
| 959 o.add(buildComment()); | 959 o.add(buildComment()); |
| 960 o.add(buildComment()); | 960 o.add(buildComment()); |
| 961 return o; | 961 return o; |
| 962 } | 962 } |
| 963 | 963 |
| 964 checkUnnamed1050(core.List<api.Comment> o) { | 964 checkUnnamed656(core.List<api.Comment> o) { |
| 965 unittest.expect(o, unittest.hasLength(2)); | 965 unittest.expect(o, unittest.hasLength(2)); |
| 966 checkComment(o[0]); | 966 checkComment(o[0]); |
| 967 checkComment(o[1]); | 967 checkComment(o[1]); |
| 968 } | 968 } |
| 969 | 969 |
| 970 core.int buildCounterCommentFeed = 0; | 970 core.int buildCounterCommentFeed = 0; |
| 971 buildCommentFeed() { | 971 buildCommentFeed() { |
| 972 var o = new api.CommentFeed(); | 972 var o = new api.CommentFeed(); |
| 973 buildCounterCommentFeed++; | 973 buildCounterCommentFeed++; |
| 974 if (buildCounterCommentFeed < 3) { | 974 if (buildCounterCommentFeed < 3) { |
| 975 o.etag = "foo"; | 975 o.etag = "foo"; |
| 976 o.id = "foo"; | 976 o.id = "foo"; |
| 977 o.items = buildUnnamed1050(); | 977 o.items = buildUnnamed656(); |
| 978 o.kind = "foo"; | 978 o.kind = "foo"; |
| 979 o.nextLink = "foo"; | 979 o.nextLink = "foo"; |
| 980 o.nextPageToken = "foo"; | 980 o.nextPageToken = "foo"; |
| 981 o.title = "foo"; | 981 o.title = "foo"; |
| 982 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 982 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 983 } | 983 } |
| 984 buildCounterCommentFeed--; | 984 buildCounterCommentFeed--; |
| 985 return o; | 985 return o; |
| 986 } | 986 } |
| 987 | 987 |
| 988 checkCommentFeed(api.CommentFeed o) { | 988 checkCommentFeed(api.CommentFeed o) { |
| 989 buildCounterCommentFeed++; | 989 buildCounterCommentFeed++; |
| 990 if (buildCounterCommentFeed < 3) { | 990 if (buildCounterCommentFeed < 3) { |
| 991 unittest.expect(o.etag, unittest.equals('foo')); | 991 unittest.expect(o.etag, unittest.equals('foo')); |
| 992 unittest.expect(o.id, unittest.equals('foo')); | 992 unittest.expect(o.id, unittest.equals('foo')); |
| 993 checkUnnamed1050(o.items); | 993 checkUnnamed656(o.items); |
| 994 unittest.expect(o.kind, unittest.equals('foo')); | 994 unittest.expect(o.kind, unittest.equals('foo')); |
| 995 unittest.expect(o.nextLink, unittest.equals('foo')); | 995 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 996 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 996 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 997 unittest.expect(o.title, unittest.equals('foo')); | 997 unittest.expect(o.title, unittest.equals('foo')); |
| 998 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 998 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 999 } | 999 } |
| 1000 buildCounterCommentFeed--; | 1000 buildCounterCommentFeed--; |
| 1001 } | 1001 } |
| 1002 | 1002 |
| 1003 core.int buildCounterMediaAuthorImage = 0; | 1003 core.int buildCounterMediaAuthorImage = 0; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 checkMediaExif(api.MediaExif o) { | 1058 checkMediaExif(api.MediaExif o) { |
| 1059 buildCounterMediaExif++; | 1059 buildCounterMediaExif++; |
| 1060 if (buildCounterMediaExif < 3) { | 1060 if (buildCounterMediaExif < 3) { |
| 1061 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); | 1061 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); |
| 1062 } | 1062 } |
| 1063 buildCounterMediaExif--; | 1063 buildCounterMediaExif--; |
| 1064 } | 1064 } |
| 1065 | 1065 |
| 1066 buildUnnamed1051() { | 1066 buildUnnamed657() { |
| 1067 var o = new core.List<api.Videostream>(); | 1067 var o = new core.List<api.Videostream>(); |
| 1068 o.add(buildVideostream()); | 1068 o.add(buildVideostream()); |
| 1069 o.add(buildVideostream()); | 1069 o.add(buildVideostream()); |
| 1070 return o; | 1070 return o; |
| 1071 } | 1071 } |
| 1072 | 1072 |
| 1073 checkUnnamed1051(core.List<api.Videostream> o) { | 1073 checkUnnamed657(core.List<api.Videostream> o) { |
| 1074 unittest.expect(o, unittest.hasLength(2)); | 1074 unittest.expect(o, unittest.hasLength(2)); |
| 1075 checkVideostream(o[0]); | 1075 checkVideostream(o[0]); |
| 1076 checkVideostream(o[1]); | 1076 checkVideostream(o[1]); |
| 1077 } | 1077 } |
| 1078 | 1078 |
| 1079 core.int buildCounterMedia = 0; | 1079 core.int buildCounterMedia = 0; |
| 1080 buildMedia() { | 1080 buildMedia() { |
| 1081 var o = new api.Media(); | 1081 var o = new api.Media(); |
| 1082 buildCounterMedia++; | 1082 buildCounterMedia++; |
| 1083 if (buildCounterMedia < 3) { | 1083 if (buildCounterMedia < 3) { |
| 1084 o.author = buildMediaAuthor(); | 1084 o.author = buildMediaAuthor(); |
| 1085 o.displayName = "foo"; | 1085 o.displayName = "foo"; |
| 1086 o.etag = "foo"; | 1086 o.etag = "foo"; |
| 1087 o.exif = buildMediaExif(); | 1087 o.exif = buildMediaExif(); |
| 1088 o.height = 42; | 1088 o.height = 42; |
| 1089 o.id = "foo"; | 1089 o.id = "foo"; |
| 1090 o.kind = "foo"; | 1090 o.kind = "foo"; |
| 1091 o.mediaCreatedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1091 o.mediaCreatedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1092 o.mediaUrl = "foo"; | 1092 o.mediaUrl = "foo"; |
| 1093 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 1093 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1094 o.sizeBytes = "foo"; | 1094 o.sizeBytes = "foo"; |
| 1095 o.streams = buildUnnamed1051(); | 1095 o.streams = buildUnnamed657(); |
| 1096 o.summary = "foo"; | 1096 o.summary = "foo"; |
| 1097 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1097 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1098 o.url = "foo"; | 1098 o.url = "foo"; |
| 1099 o.videoDuration = "foo"; | 1099 o.videoDuration = "foo"; |
| 1100 o.videoStatus = "foo"; | 1100 o.videoStatus = "foo"; |
| 1101 o.width = 42; | 1101 o.width = 42; |
| 1102 } | 1102 } |
| 1103 buildCounterMedia--; | 1103 buildCounterMedia--; |
| 1104 return o; | 1104 return o; |
| 1105 } | 1105 } |
| 1106 | 1106 |
| 1107 checkMedia(api.Media o) { | 1107 checkMedia(api.Media o) { |
| 1108 buildCounterMedia++; | 1108 buildCounterMedia++; |
| 1109 if (buildCounterMedia < 3) { | 1109 if (buildCounterMedia < 3) { |
| 1110 checkMediaAuthor(o.author); | 1110 checkMediaAuthor(o.author); |
| 1111 unittest.expect(o.displayName, unittest.equals('foo')); | 1111 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1112 unittest.expect(o.etag, unittest.equals('foo')); | 1112 unittest.expect(o.etag, unittest.equals('foo')); |
| 1113 checkMediaExif(o.exif); | 1113 checkMediaExif(o.exif); |
| 1114 unittest.expect(o.height, unittest.equals(42)); | 1114 unittest.expect(o.height, unittest.equals(42)); |
| 1115 unittest.expect(o.id, unittest.equals('foo')); | 1115 unittest.expect(o.id, unittest.equals('foo')); |
| 1116 unittest.expect(o.kind, unittest.equals('foo')); | 1116 unittest.expect(o.kind, unittest.equals('foo')); |
| 1117 unittest.expect(o.mediaCreatedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1117 unittest.expect(o.mediaCreatedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 1118 unittest.expect(o.mediaUrl, unittest.equals('foo')); | 1118 unittest.expect(o.mediaUrl, unittest.equals('foo')); |
| 1119 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1119 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 1120 unittest.expect(o.sizeBytes, unittest.equals('foo')); | 1120 unittest.expect(o.sizeBytes, unittest.equals('foo')); |
| 1121 checkUnnamed1051(o.streams); | 1121 checkUnnamed657(o.streams); |
| 1122 unittest.expect(o.summary, unittest.equals('foo')); | 1122 unittest.expect(o.summary, unittest.equals('foo')); |
| 1123 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1123 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1124 unittest.expect(o.url, unittest.equals('foo')); | 1124 unittest.expect(o.url, unittest.equals('foo')); |
| 1125 unittest.expect(o.videoDuration, unittest.equals('foo')); | 1125 unittest.expect(o.videoDuration, unittest.equals('foo')); |
| 1126 unittest.expect(o.videoStatus, unittest.equals('foo')); | 1126 unittest.expect(o.videoStatus, unittest.equals('foo')); |
| 1127 unittest.expect(o.width, unittest.equals(42)); | 1127 unittest.expect(o.width, unittest.equals(42)); |
| 1128 } | 1128 } |
| 1129 buildCounterMedia--; | 1129 buildCounterMedia--; |
| 1130 } | 1130 } |
| 1131 | 1131 |
| 1132 buildUnnamed1052() { | 1132 buildUnnamed658() { |
| 1133 var o = new core.List<api.Person>(); | 1133 var o = new core.List<api.Person>(); |
| 1134 o.add(buildPerson()); | 1134 o.add(buildPerson()); |
| 1135 o.add(buildPerson()); | 1135 o.add(buildPerson()); |
| 1136 return o; | 1136 return o; |
| 1137 } | 1137 } |
| 1138 | 1138 |
| 1139 checkUnnamed1052(core.List<api.Person> o) { | 1139 checkUnnamed658(core.List<api.Person> o) { |
| 1140 unittest.expect(o, unittest.hasLength(2)); | 1140 unittest.expect(o, unittest.hasLength(2)); |
| 1141 checkPerson(o[0]); | 1141 checkPerson(o[0]); |
| 1142 checkPerson(o[1]); | 1142 checkPerson(o[1]); |
| 1143 } | 1143 } |
| 1144 | 1144 |
| 1145 core.int buildCounterPeopleFeed = 0; | 1145 core.int buildCounterPeopleFeed = 0; |
| 1146 buildPeopleFeed() { | 1146 buildPeopleFeed() { |
| 1147 var o = new api.PeopleFeed(); | 1147 var o = new api.PeopleFeed(); |
| 1148 buildCounterPeopleFeed++; | 1148 buildCounterPeopleFeed++; |
| 1149 if (buildCounterPeopleFeed < 3) { | 1149 if (buildCounterPeopleFeed < 3) { |
| 1150 o.etag = "foo"; | 1150 o.etag = "foo"; |
| 1151 o.items = buildUnnamed1052(); | 1151 o.items = buildUnnamed658(); |
| 1152 o.kind = "foo"; | 1152 o.kind = "foo"; |
| 1153 o.nextPageToken = "foo"; | 1153 o.nextPageToken = "foo"; |
| 1154 o.selfLink = "foo"; | 1154 o.selfLink = "foo"; |
| 1155 o.title = "foo"; | 1155 o.title = "foo"; |
| 1156 o.totalItems = 42; | 1156 o.totalItems = 42; |
| 1157 } | 1157 } |
| 1158 buildCounterPeopleFeed--; | 1158 buildCounterPeopleFeed--; |
| 1159 return o; | 1159 return o; |
| 1160 } | 1160 } |
| 1161 | 1161 |
| 1162 checkPeopleFeed(api.PeopleFeed o) { | 1162 checkPeopleFeed(api.PeopleFeed o) { |
| 1163 buildCounterPeopleFeed++; | 1163 buildCounterPeopleFeed++; |
| 1164 if (buildCounterPeopleFeed < 3) { | 1164 if (buildCounterPeopleFeed < 3) { |
| 1165 unittest.expect(o.etag, unittest.equals('foo')); | 1165 unittest.expect(o.etag, unittest.equals('foo')); |
| 1166 checkUnnamed1052(o.items); | 1166 checkUnnamed658(o.items); |
| 1167 unittest.expect(o.kind, unittest.equals('foo')); | 1167 unittest.expect(o.kind, unittest.equals('foo')); |
| 1168 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1168 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1169 unittest.expect(o.selfLink, unittest.equals('foo')); | 1169 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1170 unittest.expect(o.title, unittest.equals('foo')); | 1170 unittest.expect(o.title, unittest.equals('foo')); |
| 1171 unittest.expect(o.totalItems, unittest.equals(42)); | 1171 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1172 } | 1172 } |
| 1173 buildCounterPeopleFeed--; | 1173 buildCounterPeopleFeed--; |
| 1174 } | 1174 } |
| 1175 | 1175 |
| 1176 core.int buildCounterPersonCoverCoverInfo = 0; | 1176 core.int buildCounterPersonCoverCoverInfo = 0; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 | 1254 |
| 1255 checkPersonEmails(api.PersonEmails o) { | 1255 checkPersonEmails(api.PersonEmails o) { |
| 1256 buildCounterPersonEmails++; | 1256 buildCounterPersonEmails++; |
| 1257 if (buildCounterPersonEmails < 3) { | 1257 if (buildCounterPersonEmails < 3) { |
| 1258 unittest.expect(o.type, unittest.equals('foo')); | 1258 unittest.expect(o.type, unittest.equals('foo')); |
| 1259 unittest.expect(o.value, unittest.equals('foo')); | 1259 unittest.expect(o.value, unittest.equals('foo')); |
| 1260 } | 1260 } |
| 1261 buildCounterPersonEmails--; | 1261 buildCounterPersonEmails--; |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 buildUnnamed1053() { | 1264 buildUnnamed659() { |
| 1265 var o = new core.List<api.PersonEmails>(); | 1265 var o = new core.List<api.PersonEmails>(); |
| 1266 o.add(buildPersonEmails()); | 1266 o.add(buildPersonEmails()); |
| 1267 o.add(buildPersonEmails()); | 1267 o.add(buildPersonEmails()); |
| 1268 return o; | 1268 return o; |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 checkUnnamed1053(core.List<api.PersonEmails> o) { | 1271 checkUnnamed659(core.List<api.PersonEmails> o) { |
| 1272 unittest.expect(o, unittest.hasLength(2)); | 1272 unittest.expect(o, unittest.hasLength(2)); |
| 1273 checkPersonEmails(o[0]); | 1273 checkPersonEmails(o[0]); |
| 1274 checkPersonEmails(o[1]); | 1274 checkPersonEmails(o[1]); |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 core.int buildCounterPersonImage = 0; | 1277 core.int buildCounterPersonImage = 0; |
| 1278 buildPersonImage() { | 1278 buildPersonImage() { |
| 1279 var o = new api.PersonImage(); | 1279 var o = new api.PersonImage(); |
| 1280 buildCounterPersonImage++; | 1280 buildCounterPersonImage++; |
| 1281 if (buildCounterPersonImage < 3) { | 1281 if (buildCounterPersonImage < 3) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1352 unittest.expect(o.location, unittest.equals('foo')); | 1352 unittest.expect(o.location, unittest.equals('foo')); |
| 1353 unittest.expect(o.name, unittest.equals('foo')); | 1353 unittest.expect(o.name, unittest.equals('foo')); |
| 1354 unittest.expect(o.primary, unittest.isTrue); | 1354 unittest.expect(o.primary, unittest.isTrue); |
| 1355 unittest.expect(o.startDate, unittest.equals('foo')); | 1355 unittest.expect(o.startDate, unittest.equals('foo')); |
| 1356 unittest.expect(o.title, unittest.equals('foo')); | 1356 unittest.expect(o.title, unittest.equals('foo')); |
| 1357 unittest.expect(o.type, unittest.equals('foo')); | 1357 unittest.expect(o.type, unittest.equals('foo')); |
| 1358 } | 1358 } |
| 1359 buildCounterPersonOrganizations--; | 1359 buildCounterPersonOrganizations--; |
| 1360 } | 1360 } |
| 1361 | 1361 |
| 1362 buildUnnamed1054() { | 1362 buildUnnamed660() { |
| 1363 var o = new core.List<api.PersonOrganizations>(); | 1363 var o = new core.List<api.PersonOrganizations>(); |
| 1364 o.add(buildPersonOrganizations()); | 1364 o.add(buildPersonOrganizations()); |
| 1365 o.add(buildPersonOrganizations()); | 1365 o.add(buildPersonOrganizations()); |
| 1366 return o; | 1366 return o; |
| 1367 } | 1367 } |
| 1368 | 1368 |
| 1369 checkUnnamed1054(core.List<api.PersonOrganizations> o) { | 1369 checkUnnamed660(core.List<api.PersonOrganizations> o) { |
| 1370 unittest.expect(o, unittest.hasLength(2)); | 1370 unittest.expect(o, unittest.hasLength(2)); |
| 1371 checkPersonOrganizations(o[0]); | 1371 checkPersonOrganizations(o[0]); |
| 1372 checkPersonOrganizations(o[1]); | 1372 checkPersonOrganizations(o[1]); |
| 1373 } | 1373 } |
| 1374 | 1374 |
| 1375 core.int buildCounterPersonPlacesLived = 0; | 1375 core.int buildCounterPersonPlacesLived = 0; |
| 1376 buildPersonPlacesLived() { | 1376 buildPersonPlacesLived() { |
| 1377 var o = new api.PersonPlacesLived(); | 1377 var o = new api.PersonPlacesLived(); |
| 1378 buildCounterPersonPlacesLived++; | 1378 buildCounterPersonPlacesLived++; |
| 1379 if (buildCounterPersonPlacesLived < 3) { | 1379 if (buildCounterPersonPlacesLived < 3) { |
| 1380 o.primary = true; | 1380 o.primary = true; |
| 1381 o.value = "foo"; | 1381 o.value = "foo"; |
| 1382 } | 1382 } |
| 1383 buildCounterPersonPlacesLived--; | 1383 buildCounterPersonPlacesLived--; |
| 1384 return o; | 1384 return o; |
| 1385 } | 1385 } |
| 1386 | 1386 |
| 1387 checkPersonPlacesLived(api.PersonPlacesLived o) { | 1387 checkPersonPlacesLived(api.PersonPlacesLived o) { |
| 1388 buildCounterPersonPlacesLived++; | 1388 buildCounterPersonPlacesLived++; |
| 1389 if (buildCounterPersonPlacesLived < 3) { | 1389 if (buildCounterPersonPlacesLived < 3) { |
| 1390 unittest.expect(o.primary, unittest.isTrue); | 1390 unittest.expect(o.primary, unittest.isTrue); |
| 1391 unittest.expect(o.value, unittest.equals('foo')); | 1391 unittest.expect(o.value, unittest.equals('foo')); |
| 1392 } | 1392 } |
| 1393 buildCounterPersonPlacesLived--; | 1393 buildCounterPersonPlacesLived--; |
| 1394 } | 1394 } |
| 1395 | 1395 |
| 1396 buildUnnamed1055() { | 1396 buildUnnamed661() { |
| 1397 var o = new core.List<api.PersonPlacesLived>(); | 1397 var o = new core.List<api.PersonPlacesLived>(); |
| 1398 o.add(buildPersonPlacesLived()); | 1398 o.add(buildPersonPlacesLived()); |
| 1399 o.add(buildPersonPlacesLived()); | 1399 o.add(buildPersonPlacesLived()); |
| 1400 return o; | 1400 return o; |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 checkUnnamed1055(core.List<api.PersonPlacesLived> o) { | 1403 checkUnnamed661(core.List<api.PersonPlacesLived> o) { |
| 1404 unittest.expect(o, unittest.hasLength(2)); | 1404 unittest.expect(o, unittest.hasLength(2)); |
| 1405 checkPersonPlacesLived(o[0]); | 1405 checkPersonPlacesLived(o[0]); |
| 1406 checkPersonPlacesLived(o[1]); | 1406 checkPersonPlacesLived(o[1]); |
| 1407 } | 1407 } |
| 1408 | 1408 |
| 1409 core.int buildCounterPersonUrls = 0; | 1409 core.int buildCounterPersonUrls = 0; |
| 1410 buildPersonUrls() { | 1410 buildPersonUrls() { |
| 1411 var o = new api.PersonUrls(); | 1411 var o = new api.PersonUrls(); |
| 1412 buildCounterPersonUrls++; | 1412 buildCounterPersonUrls++; |
| 1413 if (buildCounterPersonUrls < 3) { | 1413 if (buildCounterPersonUrls < 3) { |
| 1414 o.label = "foo"; | 1414 o.label = "foo"; |
| 1415 o.type = "foo"; | 1415 o.type = "foo"; |
| 1416 o.value = "foo"; | 1416 o.value = "foo"; |
| 1417 } | 1417 } |
| 1418 buildCounterPersonUrls--; | 1418 buildCounterPersonUrls--; |
| 1419 return o; | 1419 return o; |
| 1420 } | 1420 } |
| 1421 | 1421 |
| 1422 checkPersonUrls(api.PersonUrls o) { | 1422 checkPersonUrls(api.PersonUrls o) { |
| 1423 buildCounterPersonUrls++; | 1423 buildCounterPersonUrls++; |
| 1424 if (buildCounterPersonUrls < 3) { | 1424 if (buildCounterPersonUrls < 3) { |
| 1425 unittest.expect(o.label, unittest.equals('foo')); | 1425 unittest.expect(o.label, unittest.equals('foo')); |
| 1426 unittest.expect(o.type, unittest.equals('foo')); | 1426 unittest.expect(o.type, unittest.equals('foo')); |
| 1427 unittest.expect(o.value, unittest.equals('foo')); | 1427 unittest.expect(o.value, unittest.equals('foo')); |
| 1428 } | 1428 } |
| 1429 buildCounterPersonUrls--; | 1429 buildCounterPersonUrls--; |
| 1430 } | 1430 } |
| 1431 | 1431 |
| 1432 buildUnnamed1056() { | 1432 buildUnnamed662() { |
| 1433 var o = new core.List<api.PersonUrls>(); | 1433 var o = new core.List<api.PersonUrls>(); |
| 1434 o.add(buildPersonUrls()); | 1434 o.add(buildPersonUrls()); |
| 1435 o.add(buildPersonUrls()); | 1435 o.add(buildPersonUrls()); |
| 1436 return o; | 1436 return o; |
| 1437 } | 1437 } |
| 1438 | 1438 |
| 1439 checkUnnamed1056(core.List<api.PersonUrls> o) { | 1439 checkUnnamed662(core.List<api.PersonUrls> o) { |
| 1440 unittest.expect(o, unittest.hasLength(2)); | 1440 unittest.expect(o, unittest.hasLength(2)); |
| 1441 checkPersonUrls(o[0]); | 1441 checkPersonUrls(o[0]); |
| 1442 checkPersonUrls(o[1]); | 1442 checkPersonUrls(o[1]); |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 core.int buildCounterPerson = 0; | 1445 core.int buildCounterPerson = 0; |
| 1446 buildPerson() { | 1446 buildPerson() { |
| 1447 var o = new api.Person(); | 1447 var o = new api.Person(); |
| 1448 buildCounterPerson++; | 1448 buildCounterPerson++; |
| 1449 if (buildCounterPerson < 3) { | 1449 if (buildCounterPerson < 3) { |
| 1450 o.aboutMe = "foo"; | 1450 o.aboutMe = "foo"; |
| 1451 o.birthday = "foo"; | 1451 o.birthday = "foo"; |
| 1452 o.braggingRights = "foo"; | 1452 o.braggingRights = "foo"; |
| 1453 o.circledByCount = 42; | 1453 o.circledByCount = 42; |
| 1454 o.cover = buildPersonCover(); | 1454 o.cover = buildPersonCover(); |
| 1455 o.currentLocation = "foo"; | 1455 o.currentLocation = "foo"; |
| 1456 o.displayName = "foo"; | 1456 o.displayName = "foo"; |
| 1457 o.domain = "foo"; | 1457 o.domain = "foo"; |
| 1458 o.emails = buildUnnamed1053(); | 1458 o.emails = buildUnnamed659(); |
| 1459 o.etag = "foo"; | 1459 o.etag = "foo"; |
| 1460 o.gender = "foo"; | 1460 o.gender = "foo"; |
| 1461 o.id = "foo"; | 1461 o.id = "foo"; |
| 1462 o.image = buildPersonImage(); | 1462 o.image = buildPersonImage(); |
| 1463 o.isPlusUser = true; | 1463 o.isPlusUser = true; |
| 1464 o.kind = "foo"; | 1464 o.kind = "foo"; |
| 1465 o.name = buildPersonName(); | 1465 o.name = buildPersonName(); |
| 1466 o.nickname = "foo"; | 1466 o.nickname = "foo"; |
| 1467 o.objectType = "foo"; | 1467 o.objectType = "foo"; |
| 1468 o.occupation = "foo"; | 1468 o.occupation = "foo"; |
| 1469 o.organizations = buildUnnamed1054(); | 1469 o.organizations = buildUnnamed660(); |
| 1470 o.placesLived = buildUnnamed1055(); | 1470 o.placesLived = buildUnnamed661(); |
| 1471 o.plusOneCount = 42; | 1471 o.plusOneCount = 42; |
| 1472 o.relationshipStatus = "foo"; | 1472 o.relationshipStatus = "foo"; |
| 1473 o.skills = "foo"; | 1473 o.skills = "foo"; |
| 1474 o.tagline = "foo"; | 1474 o.tagline = "foo"; |
| 1475 o.url = "foo"; | 1475 o.url = "foo"; |
| 1476 o.urls = buildUnnamed1056(); | 1476 o.urls = buildUnnamed662(); |
| 1477 o.verified = true; | 1477 o.verified = true; |
| 1478 } | 1478 } |
| 1479 buildCounterPerson--; | 1479 buildCounterPerson--; |
| 1480 return o; | 1480 return o; |
| 1481 } | 1481 } |
| 1482 | 1482 |
| 1483 checkPerson(api.Person o) { | 1483 checkPerson(api.Person o) { |
| 1484 buildCounterPerson++; | 1484 buildCounterPerson++; |
| 1485 if (buildCounterPerson < 3) { | 1485 if (buildCounterPerson < 3) { |
| 1486 unittest.expect(o.aboutMe, unittest.equals('foo')); | 1486 unittest.expect(o.aboutMe, unittest.equals('foo')); |
| 1487 unittest.expect(o.birthday, unittest.equals('foo')); | 1487 unittest.expect(o.birthday, unittest.equals('foo')); |
| 1488 unittest.expect(o.braggingRights, unittest.equals('foo')); | 1488 unittest.expect(o.braggingRights, unittest.equals('foo')); |
| 1489 unittest.expect(o.circledByCount, unittest.equals(42)); | 1489 unittest.expect(o.circledByCount, unittest.equals(42)); |
| 1490 checkPersonCover(o.cover); | 1490 checkPersonCover(o.cover); |
| 1491 unittest.expect(o.currentLocation, unittest.equals('foo')); | 1491 unittest.expect(o.currentLocation, unittest.equals('foo')); |
| 1492 unittest.expect(o.displayName, unittest.equals('foo')); | 1492 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1493 unittest.expect(o.domain, unittest.equals('foo')); | 1493 unittest.expect(o.domain, unittest.equals('foo')); |
| 1494 checkUnnamed1053(o.emails); | 1494 checkUnnamed659(o.emails); |
| 1495 unittest.expect(o.etag, unittest.equals('foo')); | 1495 unittest.expect(o.etag, unittest.equals('foo')); |
| 1496 unittest.expect(o.gender, unittest.equals('foo')); | 1496 unittest.expect(o.gender, unittest.equals('foo')); |
| 1497 unittest.expect(o.id, unittest.equals('foo')); | 1497 unittest.expect(o.id, unittest.equals('foo')); |
| 1498 checkPersonImage(o.image); | 1498 checkPersonImage(o.image); |
| 1499 unittest.expect(o.isPlusUser, unittest.isTrue); | 1499 unittest.expect(o.isPlusUser, unittest.isTrue); |
| 1500 unittest.expect(o.kind, unittest.equals('foo')); | 1500 unittest.expect(o.kind, unittest.equals('foo')); |
| 1501 checkPersonName(o.name); | 1501 checkPersonName(o.name); |
| 1502 unittest.expect(o.nickname, unittest.equals('foo')); | 1502 unittest.expect(o.nickname, unittest.equals('foo')); |
| 1503 unittest.expect(o.objectType, unittest.equals('foo')); | 1503 unittest.expect(o.objectType, unittest.equals('foo')); |
| 1504 unittest.expect(o.occupation, unittest.equals('foo')); | 1504 unittest.expect(o.occupation, unittest.equals('foo')); |
| 1505 checkUnnamed1054(o.organizations); | 1505 checkUnnamed660(o.organizations); |
| 1506 checkUnnamed1055(o.placesLived); | 1506 checkUnnamed661(o.placesLived); |
| 1507 unittest.expect(o.plusOneCount, unittest.equals(42)); | 1507 unittest.expect(o.plusOneCount, unittest.equals(42)); |
| 1508 unittest.expect(o.relationshipStatus, unittest.equals('foo')); | 1508 unittest.expect(o.relationshipStatus, unittest.equals('foo')); |
| 1509 unittest.expect(o.skills, unittest.equals('foo')); | 1509 unittest.expect(o.skills, unittest.equals('foo')); |
| 1510 unittest.expect(o.tagline, unittest.equals('foo')); | 1510 unittest.expect(o.tagline, unittest.equals('foo')); |
| 1511 unittest.expect(o.url, unittest.equals('foo')); | 1511 unittest.expect(o.url, unittest.equals('foo')); |
| 1512 checkUnnamed1056(o.urls); | 1512 checkUnnamed662(o.urls); |
| 1513 unittest.expect(o.verified, unittest.isTrue); | 1513 unittest.expect(o.verified, unittest.isTrue); |
| 1514 } | 1514 } |
| 1515 buildCounterPerson--; | 1515 buildCounterPerson--; |
| 1516 } | 1516 } |
| 1517 | 1517 |
| 1518 core.int buildCounterPlaceAddress = 0; | 1518 core.int buildCounterPlaceAddress = 0; |
| 1519 buildPlaceAddress() { | 1519 buildPlaceAddress() { |
| 1520 var o = new api.PlaceAddress(); | 1520 var o = new api.PlaceAddress(); |
| 1521 buildCounterPlaceAddress++; | 1521 buildCounterPlaceAddress++; |
| 1522 if (buildCounterPlaceAddress < 3) { | 1522 if (buildCounterPlaceAddress < 3) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1623 buildCounterVideostream++; | 1623 buildCounterVideostream++; |
| 1624 if (buildCounterVideostream < 3) { | 1624 if (buildCounterVideostream < 3) { |
| 1625 unittest.expect(o.height, unittest.equals(42)); | 1625 unittest.expect(o.height, unittest.equals(42)); |
| 1626 unittest.expect(o.type, unittest.equals('foo')); | 1626 unittest.expect(o.type, unittest.equals('foo')); |
| 1627 unittest.expect(o.url, unittest.equals('foo')); | 1627 unittest.expect(o.url, unittest.equals('foo')); |
| 1628 unittest.expect(o.width, unittest.equals(42)); | 1628 unittest.expect(o.width, unittest.equals(42)); |
| 1629 } | 1629 } |
| 1630 buildCounterVideostream--; | 1630 buildCounterVideostream--; |
| 1631 } | 1631 } |
| 1632 | 1632 |
| 1633 buildUnnamed1057() { | 1633 buildUnnamed663() { |
| 1634 var o = new core.List<core.String>(); | 1634 var o = new core.List<core.String>(); |
| 1635 o.add("foo"); | 1635 o.add("foo"); |
| 1636 o.add("foo"); | 1636 o.add("foo"); |
| 1637 return o; | 1637 return o; |
| 1638 } | 1638 } |
| 1639 | 1639 |
| 1640 checkUnnamed1057(core.List<core.String> o) { | 1640 checkUnnamed663(core.List<core.String> o) { |
| 1641 unittest.expect(o, unittest.hasLength(2)); | 1641 unittest.expect(o, unittest.hasLength(2)); |
| 1642 unittest.expect(o[0], unittest.equals('foo')); | 1642 unittest.expect(o[0], unittest.equals('foo')); |
| 1643 unittest.expect(o[1], unittest.equals('foo')); | 1643 unittest.expect(o[1], unittest.equals('foo')); |
| 1644 } | 1644 } |
| 1645 | 1645 |
| 1646 buildUnnamed1058() { | 1646 buildUnnamed664() { |
| 1647 var o = new core.List<core.String>(); | 1647 var o = new core.List<core.String>(); |
| 1648 o.add("foo"); | 1648 o.add("foo"); |
| 1649 o.add("foo"); | 1649 o.add("foo"); |
| 1650 return o; | 1650 return o; |
| 1651 } | 1651 } |
| 1652 | 1652 |
| 1653 checkUnnamed1058(core.List<core.String> o) { | 1653 checkUnnamed664(core.List<core.String> o) { |
| 1654 unittest.expect(o, unittest.hasLength(2)); | 1654 unittest.expect(o, unittest.hasLength(2)); |
| 1655 unittest.expect(o[0], unittest.equals('foo')); | 1655 unittest.expect(o[0], unittest.equals('foo')); |
| 1656 unittest.expect(o[1], unittest.equals('foo')); | 1656 unittest.expect(o[1], unittest.equals('foo')); |
| 1657 } | 1657 } |
| 1658 | 1658 |
| 1659 buildUnnamed1059() { | 1659 buildUnnamed665() { |
| 1660 var o = new core.List<core.String>(); | 1660 var o = new core.List<core.String>(); |
| 1661 o.add("foo"); | 1661 o.add("foo"); |
| 1662 o.add("foo"); | 1662 o.add("foo"); |
| 1663 return o; | 1663 return o; |
| 1664 } | 1664 } |
| 1665 | 1665 |
| 1666 checkUnnamed1059(core.List<core.String> o) { | 1666 checkUnnamed665(core.List<core.String> o) { |
| 1667 unittest.expect(o, unittest.hasLength(2)); | 1667 unittest.expect(o, unittest.hasLength(2)); |
| 1668 unittest.expect(o[0], unittest.equals('foo')); | 1668 unittest.expect(o[0], unittest.equals('foo')); |
| 1669 unittest.expect(o[1], unittest.equals('foo')); | 1669 unittest.expect(o[1], unittest.equals('foo')); |
| 1670 } | 1670 } |
| 1671 | 1671 |
| 1672 buildUnnamed1060() { | 1672 buildUnnamed666() { |
| 1673 var o = new core.List<core.String>(); | 1673 var o = new core.List<core.String>(); |
| 1674 o.add("foo"); | 1674 o.add("foo"); |
| 1675 o.add("foo"); | 1675 o.add("foo"); |
| 1676 return o; | 1676 return o; |
| 1677 } | 1677 } |
| 1678 | 1678 |
| 1679 checkUnnamed1060(core.List<core.String> o) { | 1679 checkUnnamed666(core.List<core.String> o) { |
| 1680 unittest.expect(o, unittest.hasLength(2)); | 1680 unittest.expect(o, unittest.hasLength(2)); |
| 1681 unittest.expect(o[0], unittest.equals('foo')); | 1681 unittest.expect(o[0], unittest.equals('foo')); |
| 1682 unittest.expect(o[1], unittest.equals('foo')); | 1682 unittest.expect(o[1], unittest.equals('foo')); |
| 1683 } | 1683 } |
| 1684 | 1684 |
| 1685 | 1685 |
| 1686 main() { | 1686 main() { |
| 1687 unittest.group("obj-schema-Acl", () { | 1687 unittest.group("obj-schema-Acl", () { |
| 1688 unittest.test("to-json--from-json", () { | 1688 unittest.test("to-json--from-json", () { |
| 1689 var o = buildAcl(); | 1689 var o = buildAcl(); |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2394 | 2394 |
| 2395 }); | 2395 }); |
| 2396 | 2396 |
| 2397 | 2397 |
| 2398 unittest.group("resource-CirclesResourceApi", () { | 2398 unittest.group("resource-CirclesResourceApi", () { |
| 2399 unittest.test("method--addPeople", () { | 2399 unittest.test("method--addPeople", () { |
| 2400 | 2400 |
| 2401 var mock = new common_test.HttpServerMock(); | 2401 var mock = new common_test.HttpServerMock(); |
| 2402 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; | 2402 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; |
| 2403 var arg_circleId = "foo"; | 2403 var arg_circleId = "foo"; |
| 2404 var arg_email = buildUnnamed1057(); | 2404 var arg_email = buildUnnamed663(); |
| 2405 var arg_userId = buildUnnamed1058(); | 2405 var arg_userId = buildUnnamed664(); |
| 2406 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2406 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2407 var path = (req.url).path; | 2407 var path = (req.url).path; |
| 2408 var pathOffset = 0; | 2408 var pathOffset = 0; |
| 2409 var index; | 2409 var index; |
| 2410 var subPart; | 2410 var subPart; |
| 2411 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2411 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2412 pathOffset += 1; | 2412 pathOffset += 1; |
| 2413 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); | 2413 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); |
| 2414 pathOffset += 15; | 2414 pathOffset += 15; |
| 2415 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); | 2415 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2714 return new async.Future.value(common_test.stringResponse(200, h, resp)); | 2714 return new async.Future.value(common_test.stringResponse(200, h, resp)); |
| 2715 }), true); | 2715 }), true); |
| 2716 res.remove(arg_circleId).then(unittest.expectAsync((_) {})); | 2716 res.remove(arg_circleId).then(unittest.expectAsync((_) {})); |
| 2717 }); | 2717 }); |
| 2718 | 2718 |
| 2719 unittest.test("method--removePeople", () { | 2719 unittest.test("method--removePeople", () { |
| 2720 | 2720 |
| 2721 var mock = new common_test.HttpServerMock(); | 2721 var mock = new common_test.HttpServerMock(); |
| 2722 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; | 2722 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; |
| 2723 var arg_circleId = "foo"; | 2723 var arg_circleId = "foo"; |
| 2724 var arg_email = buildUnnamed1059(); | 2724 var arg_email = buildUnnamed665(); |
| 2725 var arg_userId = buildUnnamed1060(); | 2725 var arg_userId = buildUnnamed666(); |
| 2726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2726 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2727 var path = (req.url).path; | 2727 var path = (req.url).path; |
| 2728 var pathOffset = 0; | 2728 var pathOffset = 0; |
| 2729 var index; | 2729 var index; |
| 2730 var subPart; | 2730 var subPart; |
| 2731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2731 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2732 pathOffset += 1; | 2732 pathOffset += 1; |
| 2733 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); | 2733 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); |
| 2734 pathOffset += 15; | 2734 pathOffset += 15; |
| 2735 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); | 2735 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3292 res.listByCircle(arg_circleId, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { | 3292 res.listByCircle(arg_circleId, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { |
| 3293 checkPeopleFeed(response); | 3293 checkPeopleFeed(response); |
| 3294 }))); | 3294 }))); |
| 3295 }); | 3295 }); |
| 3296 | 3296 |
| 3297 }); | 3297 }); |
| 3298 | 3298 |
| 3299 | 3299 |
| 3300 } | 3300 } |
| 3301 | 3301 |
| OLD | NEW |