| OLD | NEW |
| 1 library googleapis.plus.v1.test; | 1 library googleapis.plus.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; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed117() { | 54 buildUnnamed1986() { |
| 55 var o = new core.List<api.PlusAclentryResource>(); | 55 var o = new core.List<api.PlusAclentryResource>(); |
| 56 o.add(buildPlusAclentryResource()); | 56 o.add(buildPlusAclentryResource()); |
| 57 o.add(buildPlusAclentryResource()); | 57 o.add(buildPlusAclentryResource()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed117(core.List<api.PlusAclentryResource> o) { | 61 checkUnnamed1986(core.List<api.PlusAclentryResource> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkPlusAclentryResource(o[0]); | 63 checkPlusAclentryResource(o[0]); |
| 64 checkPlusAclentryResource(o[1]); | 64 checkPlusAclentryResource(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 core.int buildCounterAcl = 0; | 67 core.int buildCounterAcl = 0; |
| 68 buildAcl() { | 68 buildAcl() { |
| 69 var o = new api.Acl(); | 69 var o = new api.Acl(); |
| 70 buildCounterAcl++; | 70 buildCounterAcl++; |
| 71 if (buildCounterAcl < 3) { | 71 if (buildCounterAcl < 3) { |
| 72 o.description = "foo"; | 72 o.description = "foo"; |
| 73 o.items = buildUnnamed117(); | 73 o.items = buildUnnamed1986(); |
| 74 o.kind = "foo"; | 74 o.kind = "foo"; |
| 75 } | 75 } |
| 76 buildCounterAcl--; | 76 buildCounterAcl--; |
| 77 return o; | 77 return o; |
| 78 } | 78 } |
| 79 | 79 |
| 80 checkAcl(api.Acl o) { | 80 checkAcl(api.Acl o) { |
| 81 buildCounterAcl++; | 81 buildCounterAcl++; |
| 82 if (buildCounterAcl < 3) { | 82 if (buildCounterAcl < 3) { |
| 83 unittest.expect(o.description, unittest.equals('foo')); | 83 unittest.expect(o.description, unittest.equals('foo')); |
| 84 checkUnnamed117(o.items); | 84 checkUnnamed1986(o.items); |
| 85 unittest.expect(o.kind, unittest.equals('foo')); | 85 unittest.expect(o.kind, unittest.equals('foo')); |
| 86 } | 86 } |
| 87 buildCounterAcl--; | 87 buildCounterAcl--; |
| 88 } | 88 } |
| 89 | 89 |
| 90 core.int buildCounterActivityActorImage = 0; | 90 core.int buildCounterActivityActorImage = 0; |
| 91 buildActivityActorImage() { | 91 buildActivityActorImage() { |
| 92 var o = new api.ActivityActorImage(); | 92 var o = new api.ActivityActorImage(); |
| 93 buildCounterActivityActorImage++; | 93 buildCounterActivityActorImage++; |
| 94 if (buildCounterActivityActorImage < 3) { | 94 if (buildCounterActivityActorImage < 3) { |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { | 310 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { |
| 311 buildCounterActivityObjectAttachmentsThumbnails++; | 311 buildCounterActivityObjectAttachmentsThumbnails++; |
| 312 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { | 312 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { |
| 313 unittest.expect(o.description, unittest.equals('foo')); | 313 unittest.expect(o.description, unittest.equals('foo')); |
| 314 checkActivityObjectAttachmentsThumbnailsImage(o.image); | 314 checkActivityObjectAttachmentsThumbnailsImage(o.image); |
| 315 unittest.expect(o.url, unittest.equals('foo')); | 315 unittest.expect(o.url, unittest.equals('foo')); |
| 316 } | 316 } |
| 317 buildCounterActivityObjectAttachmentsThumbnails--; | 317 buildCounterActivityObjectAttachmentsThumbnails--; |
| 318 } | 318 } |
| 319 | 319 |
| 320 buildUnnamed118() { | 320 buildUnnamed1987() { |
| 321 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); | 321 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); |
| 322 o.add(buildActivityObjectAttachmentsThumbnails()); | 322 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 323 o.add(buildActivityObjectAttachmentsThumbnails()); | 323 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 324 return o; | 324 return o; |
| 325 } | 325 } |
| 326 | 326 |
| 327 checkUnnamed118(core.List<api.ActivityObjectAttachmentsThumbnails> o) { | 327 checkUnnamed1987(core.List<api.ActivityObjectAttachmentsThumbnails> o) { |
| 328 unittest.expect(o, unittest.hasLength(2)); | 328 unittest.expect(o, unittest.hasLength(2)); |
| 329 checkActivityObjectAttachmentsThumbnails(o[0]); | 329 checkActivityObjectAttachmentsThumbnails(o[0]); |
| 330 checkActivityObjectAttachmentsThumbnails(o[1]); | 330 checkActivityObjectAttachmentsThumbnails(o[1]); |
| 331 } | 331 } |
| 332 | 332 |
| 333 core.int buildCounterActivityObjectAttachments = 0; | 333 core.int buildCounterActivityObjectAttachments = 0; |
| 334 buildActivityObjectAttachments() { | 334 buildActivityObjectAttachments() { |
| 335 var o = new api.ActivityObjectAttachments(); | 335 var o = new api.ActivityObjectAttachments(); |
| 336 buildCounterActivityObjectAttachments++; | 336 buildCounterActivityObjectAttachments++; |
| 337 if (buildCounterActivityObjectAttachments < 3) { | 337 if (buildCounterActivityObjectAttachments < 3) { |
| 338 o.content = "foo"; | 338 o.content = "foo"; |
| 339 o.displayName = "foo"; | 339 o.displayName = "foo"; |
| 340 o.embed = buildActivityObjectAttachmentsEmbed(); | 340 o.embed = buildActivityObjectAttachmentsEmbed(); |
| 341 o.fullImage = buildActivityObjectAttachmentsFullImage(); | 341 o.fullImage = buildActivityObjectAttachmentsFullImage(); |
| 342 o.id = "foo"; | 342 o.id = "foo"; |
| 343 o.image = buildActivityObjectAttachmentsImage(); | 343 o.image = buildActivityObjectAttachmentsImage(); |
| 344 o.objectType = "foo"; | 344 o.objectType = "foo"; |
| 345 o.thumbnails = buildUnnamed118(); | 345 o.thumbnails = buildUnnamed1987(); |
| 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 checkUnnamed118(o.thumbnails); | 362 checkUnnamed1987(o.thumbnails); |
| 363 unittest.expect(o.url, unittest.equals('foo')); | 363 unittest.expect(o.url, unittest.equals('foo')); |
| 364 } | 364 } |
| 365 buildCounterActivityObjectAttachments--; | 365 buildCounterActivityObjectAttachments--; |
| 366 } | 366 } |
| 367 | 367 |
| 368 buildUnnamed119() { | 368 buildUnnamed1988() { |
| 369 var o = new core.List<api.ActivityObjectAttachments>(); | 369 var o = new core.List<api.ActivityObjectAttachments>(); |
| 370 o.add(buildActivityObjectAttachments()); | 370 o.add(buildActivityObjectAttachments()); |
| 371 o.add(buildActivityObjectAttachments()); | 371 o.add(buildActivityObjectAttachments()); |
| 372 return o; | 372 return o; |
| 373 } | 373 } |
| 374 | 374 |
| 375 checkUnnamed119(core.List<api.ActivityObjectAttachments> o) { | 375 checkUnnamed1988(core.List<api.ActivityObjectAttachments> o) { |
| 376 unittest.expect(o, unittest.hasLength(2)); | 376 unittest.expect(o, unittest.hasLength(2)); |
| 377 checkActivityObjectAttachments(o[0]); | 377 checkActivityObjectAttachments(o[0]); |
| 378 checkActivityObjectAttachments(o[1]); | 378 checkActivityObjectAttachments(o[1]); |
| 379 } | 379 } |
| 380 | 380 |
| 381 core.int buildCounterActivityObjectPlusoners = 0; | 381 core.int buildCounterActivityObjectPlusoners = 0; |
| 382 buildActivityObjectPlusoners() { | 382 buildActivityObjectPlusoners() { |
| 383 var o = new api.ActivityObjectPlusoners(); | 383 var o = new api.ActivityObjectPlusoners(); |
| 384 buildCounterActivityObjectPlusoners++; | 384 buildCounterActivityObjectPlusoners++; |
| 385 if (buildCounterActivityObjectPlusoners < 3) { | 385 if (buildCounterActivityObjectPlusoners < 3) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 } | 440 } |
| 441 buildCounterActivityObjectResharers--; | 441 buildCounterActivityObjectResharers--; |
| 442 } | 442 } |
| 443 | 443 |
| 444 core.int buildCounterActivityObject = 0; | 444 core.int buildCounterActivityObject = 0; |
| 445 buildActivityObject() { | 445 buildActivityObject() { |
| 446 var o = new api.ActivityObject(); | 446 var o = new api.ActivityObject(); |
| 447 buildCounterActivityObject++; | 447 buildCounterActivityObject++; |
| 448 if (buildCounterActivityObject < 3) { | 448 if (buildCounterActivityObject < 3) { |
| 449 o.actor = buildActivityObjectActor(); | 449 o.actor = buildActivityObjectActor(); |
| 450 o.attachments = buildUnnamed119(); | 450 o.attachments = buildUnnamed1988(); |
| 451 o.content = "foo"; | 451 o.content = "foo"; |
| 452 o.id = "foo"; | 452 o.id = "foo"; |
| 453 o.objectType = "foo"; | 453 o.objectType = "foo"; |
| 454 o.originalContent = "foo"; | 454 o.originalContent = "foo"; |
| 455 o.plusoners = buildActivityObjectPlusoners(); | 455 o.plusoners = buildActivityObjectPlusoners(); |
| 456 o.replies = buildActivityObjectReplies(); | 456 o.replies = buildActivityObjectReplies(); |
| 457 o.resharers = buildActivityObjectResharers(); | 457 o.resharers = buildActivityObjectResharers(); |
| 458 o.url = "foo"; | 458 o.url = "foo"; |
| 459 } | 459 } |
| 460 buildCounterActivityObject--; | 460 buildCounterActivityObject--; |
| 461 return o; | 461 return o; |
| 462 } | 462 } |
| 463 | 463 |
| 464 checkActivityObject(api.ActivityObject o) { | 464 checkActivityObject(api.ActivityObject o) { |
| 465 buildCounterActivityObject++; | 465 buildCounterActivityObject++; |
| 466 if (buildCounterActivityObject < 3) { | 466 if (buildCounterActivityObject < 3) { |
| 467 checkActivityObjectActor(o.actor); | 467 checkActivityObjectActor(o.actor); |
| 468 checkUnnamed119(o.attachments); | 468 checkUnnamed1988(o.attachments); |
| 469 unittest.expect(o.content, unittest.equals('foo')); | 469 unittest.expect(o.content, unittest.equals('foo')); |
| 470 unittest.expect(o.id, unittest.equals('foo')); | 470 unittest.expect(o.id, unittest.equals('foo')); |
| 471 unittest.expect(o.objectType, unittest.equals('foo')); | 471 unittest.expect(o.objectType, unittest.equals('foo')); |
| 472 unittest.expect(o.originalContent, unittest.equals('foo')); | 472 unittest.expect(o.originalContent, unittest.equals('foo')); |
| 473 checkActivityObjectPlusoners(o.plusoners); | 473 checkActivityObjectPlusoners(o.plusoners); |
| 474 checkActivityObjectReplies(o.replies); | 474 checkActivityObjectReplies(o.replies); |
| 475 checkActivityObjectResharers(o.resharers); | 475 checkActivityObjectResharers(o.resharers); |
| 476 unittest.expect(o.url, unittest.equals('foo')); | 476 unittest.expect(o.url, unittest.equals('foo')); |
| 477 } | 477 } |
| 478 buildCounterActivityObject--; | 478 buildCounterActivityObject--; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 547 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 548 unittest.expect(o.radius, unittest.equals('foo')); | 548 unittest.expect(o.radius, unittest.equals('foo')); |
| 549 unittest.expect(o.title, unittest.equals('foo')); | 549 unittest.expect(o.title, unittest.equals('foo')); |
| 550 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 550 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 551 unittest.expect(o.url, unittest.equals('foo')); | 551 unittest.expect(o.url, unittest.equals('foo')); |
| 552 unittest.expect(o.verb, unittest.equals('foo')); | 552 unittest.expect(o.verb, unittest.equals('foo')); |
| 553 } | 553 } |
| 554 buildCounterActivity--; | 554 buildCounterActivity--; |
| 555 } | 555 } |
| 556 | 556 |
| 557 buildUnnamed120() { | 557 buildUnnamed1989() { |
| 558 var o = new core.List<api.Activity>(); | 558 var o = new core.List<api.Activity>(); |
| 559 o.add(buildActivity()); | 559 o.add(buildActivity()); |
| 560 o.add(buildActivity()); | 560 o.add(buildActivity()); |
| 561 return o; | 561 return o; |
| 562 } | 562 } |
| 563 | 563 |
| 564 checkUnnamed120(core.List<api.Activity> o) { | 564 checkUnnamed1989(core.List<api.Activity> o) { |
| 565 unittest.expect(o, unittest.hasLength(2)); | 565 unittest.expect(o, unittest.hasLength(2)); |
| 566 checkActivity(o[0]); | 566 checkActivity(o[0]); |
| 567 checkActivity(o[1]); | 567 checkActivity(o[1]); |
| 568 } | 568 } |
| 569 | 569 |
| 570 core.int buildCounterActivityFeed = 0; | 570 core.int buildCounterActivityFeed = 0; |
| 571 buildActivityFeed() { | 571 buildActivityFeed() { |
| 572 var o = new api.ActivityFeed(); | 572 var o = new api.ActivityFeed(); |
| 573 buildCounterActivityFeed++; | 573 buildCounterActivityFeed++; |
| 574 if (buildCounterActivityFeed < 3) { | 574 if (buildCounterActivityFeed < 3) { |
| 575 o.etag = "foo"; | 575 o.etag = "foo"; |
| 576 o.id = "foo"; | 576 o.id = "foo"; |
| 577 o.items = buildUnnamed120(); | 577 o.items = buildUnnamed1989(); |
| 578 o.kind = "foo"; | 578 o.kind = "foo"; |
| 579 o.nextLink = "foo"; | 579 o.nextLink = "foo"; |
| 580 o.nextPageToken = "foo"; | 580 o.nextPageToken = "foo"; |
| 581 o.selfLink = "foo"; | 581 o.selfLink = "foo"; |
| 582 o.title = "foo"; | 582 o.title = "foo"; |
| 583 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 583 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 584 } | 584 } |
| 585 buildCounterActivityFeed--; | 585 buildCounterActivityFeed--; |
| 586 return o; | 586 return o; |
| 587 } | 587 } |
| 588 | 588 |
| 589 checkActivityFeed(api.ActivityFeed o) { | 589 checkActivityFeed(api.ActivityFeed o) { |
| 590 buildCounterActivityFeed++; | 590 buildCounterActivityFeed++; |
| 591 if (buildCounterActivityFeed < 3) { | 591 if (buildCounterActivityFeed < 3) { |
| 592 unittest.expect(o.etag, unittest.equals('foo')); | 592 unittest.expect(o.etag, unittest.equals('foo')); |
| 593 unittest.expect(o.id, unittest.equals('foo')); | 593 unittest.expect(o.id, unittest.equals('foo')); |
| 594 checkUnnamed120(o.items); | 594 checkUnnamed1989(o.items); |
| 595 unittest.expect(o.kind, unittest.equals('foo')); | 595 unittest.expect(o.kind, unittest.equals('foo')); |
| 596 unittest.expect(o.nextLink, unittest.equals('foo')); | 596 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 597 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 597 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 598 unittest.expect(o.selfLink, unittest.equals('foo')); | 598 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 599 unittest.expect(o.title, unittest.equals('foo')); | 599 unittest.expect(o.title, unittest.equals('foo')); |
| 600 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 600 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 601 } | 601 } |
| 602 buildCounterActivityFeed--; | 602 buildCounterActivityFeed--; |
| 603 } | 603 } |
| 604 | 604 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 | 660 |
| 661 checkCommentInReplyTo(api.CommentInReplyTo o) { | 661 checkCommentInReplyTo(api.CommentInReplyTo o) { |
| 662 buildCounterCommentInReplyTo++; | 662 buildCounterCommentInReplyTo++; |
| 663 if (buildCounterCommentInReplyTo < 3) { | 663 if (buildCounterCommentInReplyTo < 3) { |
| 664 unittest.expect(o.id, unittest.equals('foo')); | 664 unittest.expect(o.id, unittest.equals('foo')); |
| 665 unittest.expect(o.url, unittest.equals('foo')); | 665 unittest.expect(o.url, unittest.equals('foo')); |
| 666 } | 666 } |
| 667 buildCounterCommentInReplyTo--; | 667 buildCounterCommentInReplyTo--; |
| 668 } | 668 } |
| 669 | 669 |
| 670 buildUnnamed121() { | 670 buildUnnamed1990() { |
| 671 var o = new core.List<api.CommentInReplyTo>(); | 671 var o = new core.List<api.CommentInReplyTo>(); |
| 672 o.add(buildCommentInReplyTo()); | 672 o.add(buildCommentInReplyTo()); |
| 673 o.add(buildCommentInReplyTo()); | 673 o.add(buildCommentInReplyTo()); |
| 674 return o; | 674 return o; |
| 675 } | 675 } |
| 676 | 676 |
| 677 checkUnnamed121(core.List<api.CommentInReplyTo> o) { | 677 checkUnnamed1990(core.List<api.CommentInReplyTo> o) { |
| 678 unittest.expect(o, unittest.hasLength(2)); | 678 unittest.expect(o, unittest.hasLength(2)); |
| 679 checkCommentInReplyTo(o[0]); | 679 checkCommentInReplyTo(o[0]); |
| 680 checkCommentInReplyTo(o[1]); | 680 checkCommentInReplyTo(o[1]); |
| 681 } | 681 } |
| 682 | 682 |
| 683 core.int buildCounterCommentObject = 0; | 683 core.int buildCounterCommentObject = 0; |
| 684 buildCommentObject() { | 684 buildCommentObject() { |
| 685 var o = new api.CommentObject(); | 685 var o = new api.CommentObject(); |
| 686 buildCounterCommentObject++; | 686 buildCounterCommentObject++; |
| 687 if (buildCounterCommentObject < 3) { | 687 if (buildCounterCommentObject < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 } | 723 } |
| 724 | 724 |
| 725 core.int buildCounterComment = 0; | 725 core.int buildCounterComment = 0; |
| 726 buildComment() { | 726 buildComment() { |
| 727 var o = new api.Comment(); | 727 var o = new api.Comment(); |
| 728 buildCounterComment++; | 728 buildCounterComment++; |
| 729 if (buildCounterComment < 3) { | 729 if (buildCounterComment < 3) { |
| 730 o.actor = buildCommentActor(); | 730 o.actor = buildCommentActor(); |
| 731 o.etag = "foo"; | 731 o.etag = "foo"; |
| 732 o.id = "foo"; | 732 o.id = "foo"; |
| 733 o.inReplyTo = buildUnnamed121(); | 733 o.inReplyTo = buildUnnamed1990(); |
| 734 o.kind = "foo"; | 734 o.kind = "foo"; |
| 735 o.object = buildCommentObject(); | 735 o.object = buildCommentObject(); |
| 736 o.plusoners = buildCommentPlusoners(); | 736 o.plusoners = buildCommentPlusoners(); |
| 737 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 737 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 738 o.selfLink = "foo"; | 738 o.selfLink = "foo"; |
| 739 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 739 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 740 o.verb = "foo"; | 740 o.verb = "foo"; |
| 741 } | 741 } |
| 742 buildCounterComment--; | 742 buildCounterComment--; |
| 743 return o; | 743 return o; |
| 744 } | 744 } |
| 745 | 745 |
| 746 checkComment(api.Comment o) { | 746 checkComment(api.Comment o) { |
| 747 buildCounterComment++; | 747 buildCounterComment++; |
| 748 if (buildCounterComment < 3) { | 748 if (buildCounterComment < 3) { |
| 749 checkCommentActor(o.actor); | 749 checkCommentActor(o.actor); |
| 750 unittest.expect(o.etag, unittest.equals('foo')); | 750 unittest.expect(o.etag, unittest.equals('foo')); |
| 751 unittest.expect(o.id, unittest.equals('foo')); | 751 unittest.expect(o.id, unittest.equals('foo')); |
| 752 checkUnnamed121(o.inReplyTo); | 752 checkUnnamed1990(o.inReplyTo); |
| 753 unittest.expect(o.kind, unittest.equals('foo')); | 753 unittest.expect(o.kind, unittest.equals('foo')); |
| 754 checkCommentObject(o.object); | 754 checkCommentObject(o.object); |
| 755 checkCommentPlusoners(o.plusoners); | 755 checkCommentPlusoners(o.plusoners); |
| 756 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 756 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 757 unittest.expect(o.selfLink, unittest.equals('foo')); | 757 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 758 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 758 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 759 unittest.expect(o.verb, unittest.equals('foo')); | 759 unittest.expect(o.verb, unittest.equals('foo')); |
| 760 } | 760 } |
| 761 buildCounterComment--; | 761 buildCounterComment--; |
| 762 } | 762 } |
| 763 | 763 |
| 764 buildUnnamed122() { | 764 buildUnnamed1991() { |
| 765 var o = new core.List<api.Comment>(); | 765 var o = new core.List<api.Comment>(); |
| 766 o.add(buildComment()); | 766 o.add(buildComment()); |
| 767 o.add(buildComment()); | 767 o.add(buildComment()); |
| 768 return o; | 768 return o; |
| 769 } | 769 } |
| 770 | 770 |
| 771 checkUnnamed122(core.List<api.Comment> o) { | 771 checkUnnamed1991(core.List<api.Comment> o) { |
| 772 unittest.expect(o, unittest.hasLength(2)); | 772 unittest.expect(o, unittest.hasLength(2)); |
| 773 checkComment(o[0]); | 773 checkComment(o[0]); |
| 774 checkComment(o[1]); | 774 checkComment(o[1]); |
| 775 } | 775 } |
| 776 | 776 |
| 777 core.int buildCounterCommentFeed = 0; | 777 core.int buildCounterCommentFeed = 0; |
| 778 buildCommentFeed() { | 778 buildCommentFeed() { |
| 779 var o = new api.CommentFeed(); | 779 var o = new api.CommentFeed(); |
| 780 buildCounterCommentFeed++; | 780 buildCounterCommentFeed++; |
| 781 if (buildCounterCommentFeed < 3) { | 781 if (buildCounterCommentFeed < 3) { |
| 782 o.etag = "foo"; | 782 o.etag = "foo"; |
| 783 o.id = "foo"; | 783 o.id = "foo"; |
| 784 o.items = buildUnnamed122(); | 784 o.items = buildUnnamed1991(); |
| 785 o.kind = "foo"; | 785 o.kind = "foo"; |
| 786 o.nextLink = "foo"; | 786 o.nextLink = "foo"; |
| 787 o.nextPageToken = "foo"; | 787 o.nextPageToken = "foo"; |
| 788 o.title = "foo"; | 788 o.title = "foo"; |
| 789 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 789 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 790 } | 790 } |
| 791 buildCounterCommentFeed--; | 791 buildCounterCommentFeed--; |
| 792 return o; | 792 return o; |
| 793 } | 793 } |
| 794 | 794 |
| 795 checkCommentFeed(api.CommentFeed o) { | 795 checkCommentFeed(api.CommentFeed o) { |
| 796 buildCounterCommentFeed++; | 796 buildCounterCommentFeed++; |
| 797 if (buildCounterCommentFeed < 3) { | 797 if (buildCounterCommentFeed < 3) { |
| 798 unittest.expect(o.etag, unittest.equals('foo')); | 798 unittest.expect(o.etag, unittest.equals('foo')); |
| 799 unittest.expect(o.id, unittest.equals('foo')); | 799 unittest.expect(o.id, unittest.equals('foo')); |
| 800 checkUnnamed122(o.items); | 800 checkUnnamed1991(o.items); |
| 801 unittest.expect(o.kind, unittest.equals('foo')); | 801 unittest.expect(o.kind, unittest.equals('foo')); |
| 802 unittest.expect(o.nextLink, unittest.equals('foo')); | 802 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 803 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 803 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 804 unittest.expect(o.title, unittest.equals('foo')); | 804 unittest.expect(o.title, unittest.equals('foo')); |
| 805 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 805 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 806 } | 806 } |
| 807 buildCounterCommentFeed--; | 807 buildCounterCommentFeed--; |
| 808 } | 808 } |
| 809 | 809 |
| 810 buildUnnamed123() { | 810 buildUnnamed1992() { |
| 811 var o = new core.List<core.String>(); | 811 var o = new core.List<core.String>(); |
| 812 o.add("foo"); | 812 o.add("foo"); |
| 813 o.add("foo"); | 813 o.add("foo"); |
| 814 return o; | 814 return o; |
| 815 } | 815 } |
| 816 | 816 |
| 817 checkUnnamed123(core.List<core.String> o) { | 817 checkUnnamed1992(core.List<core.String> o) { |
| 818 unittest.expect(o, unittest.hasLength(2)); | 818 unittest.expect(o, unittest.hasLength(2)); |
| 819 unittest.expect(o[0], unittest.equals('foo')); | 819 unittest.expect(o[0], unittest.equals('foo')); |
| 820 unittest.expect(o[1], unittest.equals('foo')); | 820 unittest.expect(o[1], unittest.equals('foo')); |
| 821 } | 821 } |
| 822 | 822 |
| 823 buildUnnamed124() { | 823 buildUnnamed1993() { |
| 824 var o = new core.List<api.ItemScope>(); | 824 var o = new core.List<api.ItemScope>(); |
| 825 o.add(buildItemScope()); | 825 o.add(buildItemScope()); |
| 826 o.add(buildItemScope()); | 826 o.add(buildItemScope()); |
| 827 return o; | 827 return o; |
| 828 } | 828 } |
| 829 | 829 |
| 830 checkUnnamed124(core.List<api.ItemScope> o) { | 830 checkUnnamed1993(core.List<api.ItemScope> o) { |
| 831 unittest.expect(o, unittest.hasLength(2)); | 831 unittest.expect(o, unittest.hasLength(2)); |
| 832 checkItemScope(o[0]); | 832 checkItemScope(o[0]); |
| 833 checkItemScope(o[1]); | 833 checkItemScope(o[1]); |
| 834 } | 834 } |
| 835 | 835 |
| 836 buildUnnamed125() { | 836 buildUnnamed1994() { |
| 837 var o = new core.List<api.ItemScope>(); | 837 var o = new core.List<api.ItemScope>(); |
| 838 o.add(buildItemScope()); | 838 o.add(buildItemScope()); |
| 839 o.add(buildItemScope()); | 839 o.add(buildItemScope()); |
| 840 return o; | 840 return o; |
| 841 } | 841 } |
| 842 | 842 |
| 843 checkUnnamed125(core.List<api.ItemScope> o) { | 843 checkUnnamed1994(core.List<api.ItemScope> o) { |
| 844 unittest.expect(o, unittest.hasLength(2)); | 844 unittest.expect(o, unittest.hasLength(2)); |
| 845 checkItemScope(o[0]); | 845 checkItemScope(o[0]); |
| 846 checkItemScope(o[1]); | 846 checkItemScope(o[1]); |
| 847 } | 847 } |
| 848 | 848 |
| 849 buildUnnamed126() { | 849 buildUnnamed1995() { |
| 850 var o = new core.List<api.ItemScope>(); | 850 var o = new core.List<api.ItemScope>(); |
| 851 o.add(buildItemScope()); | 851 o.add(buildItemScope()); |
| 852 o.add(buildItemScope()); | 852 o.add(buildItemScope()); |
| 853 return o; | 853 return o; |
| 854 } | 854 } |
| 855 | 855 |
| 856 checkUnnamed126(core.List<api.ItemScope> o) { | 856 checkUnnamed1995(core.List<api.ItemScope> o) { |
| 857 unittest.expect(o, unittest.hasLength(2)); | 857 unittest.expect(o, unittest.hasLength(2)); |
| 858 checkItemScope(o[0]); | 858 checkItemScope(o[0]); |
| 859 checkItemScope(o[1]); | 859 checkItemScope(o[1]); |
| 860 } | 860 } |
| 861 | 861 |
| 862 buildUnnamed127() { | 862 buildUnnamed1996() { |
| 863 var o = new core.List<api.ItemScope>(); | 863 var o = new core.List<api.ItemScope>(); |
| 864 o.add(buildItemScope()); | 864 o.add(buildItemScope()); |
| 865 o.add(buildItemScope()); | 865 o.add(buildItemScope()); |
| 866 return o; | 866 return o; |
| 867 } | 867 } |
| 868 | 868 |
| 869 checkUnnamed127(core.List<api.ItemScope> o) { | 869 checkUnnamed1996(core.List<api.ItemScope> o) { |
| 870 unittest.expect(o, unittest.hasLength(2)); | 870 unittest.expect(o, unittest.hasLength(2)); |
| 871 checkItemScope(o[0]); | 871 checkItemScope(o[0]); |
| 872 checkItemScope(o[1]); | 872 checkItemScope(o[1]); |
| 873 } | 873 } |
| 874 | 874 |
| 875 buildUnnamed128() { | 875 buildUnnamed1997() { |
| 876 var o = new core.List<api.ItemScope>(); | 876 var o = new core.List<api.ItemScope>(); |
| 877 o.add(buildItemScope()); | 877 o.add(buildItemScope()); |
| 878 o.add(buildItemScope()); | 878 o.add(buildItemScope()); |
| 879 return o; | 879 return o; |
| 880 } | 880 } |
| 881 | 881 |
| 882 checkUnnamed128(core.List<api.ItemScope> o) { | 882 checkUnnamed1997(core.List<api.ItemScope> o) { |
| 883 unittest.expect(o, unittest.hasLength(2)); | 883 unittest.expect(o, unittest.hasLength(2)); |
| 884 checkItemScope(o[0]); | 884 checkItemScope(o[0]); |
| 885 checkItemScope(o[1]); | 885 checkItemScope(o[1]); |
| 886 } | 886 } |
| 887 | 887 |
| 888 core.int buildCounterItemScope = 0; | 888 core.int buildCounterItemScope = 0; |
| 889 buildItemScope() { | 889 buildItemScope() { |
| 890 var o = new api.ItemScope(); | 890 var o = new api.ItemScope(); |
| 891 buildCounterItemScope++; | 891 buildCounterItemScope++; |
| 892 if (buildCounterItemScope < 3) { | 892 if (buildCounterItemScope < 3) { |
| 893 o.about = buildItemScope(); | 893 o.about = buildItemScope(); |
| 894 o.additionalName = buildUnnamed123(); | 894 o.additionalName = buildUnnamed1992(); |
| 895 o.address = buildItemScope(); | 895 o.address = buildItemScope(); |
| 896 o.addressCountry = "foo"; | 896 o.addressCountry = "foo"; |
| 897 o.addressLocality = "foo"; | 897 o.addressLocality = "foo"; |
| 898 o.addressRegion = "foo"; | 898 o.addressRegion = "foo"; |
| 899 o.associatedMedia = buildUnnamed124(); | 899 o.associatedMedia = buildUnnamed1993(); |
| 900 o.attendeeCount = 42; | 900 o.attendeeCount = 42; |
| 901 o.attendees = buildUnnamed125(); | 901 o.attendees = buildUnnamed1994(); |
| 902 o.audio = buildItemScope(); | 902 o.audio = buildItemScope(); |
| 903 o.author = buildUnnamed126(); | 903 o.author = buildUnnamed1995(); |
| 904 o.bestRating = "foo"; | 904 o.bestRating = "foo"; |
| 905 o.birthDate = "foo"; | 905 o.birthDate = "foo"; |
| 906 o.byArtist = buildItemScope(); | 906 o.byArtist = buildItemScope(); |
| 907 o.caption = "foo"; | 907 o.caption = "foo"; |
| 908 o.contentSize = "foo"; | 908 o.contentSize = "foo"; |
| 909 o.contentUrl = "foo"; | 909 o.contentUrl = "foo"; |
| 910 o.contributor = buildUnnamed127(); | 910 o.contributor = buildUnnamed1996(); |
| 911 o.dateCreated = "foo"; | 911 o.dateCreated = "foo"; |
| 912 o.dateModified = "foo"; | 912 o.dateModified = "foo"; |
| 913 o.datePublished = "foo"; | 913 o.datePublished = "foo"; |
| 914 o.description = "foo"; | 914 o.description = "foo"; |
| 915 o.duration = "foo"; | 915 o.duration = "foo"; |
| 916 o.embedUrl = "foo"; | 916 o.embedUrl = "foo"; |
| 917 o.endDate = "foo"; | 917 o.endDate = "foo"; |
| 918 o.familyName = "foo"; | 918 o.familyName = "foo"; |
| 919 o.gender = "foo"; | 919 o.gender = "foo"; |
| 920 o.geo = buildItemScope(); | 920 o.geo = buildItemScope(); |
| 921 o.givenName = "foo"; | 921 o.givenName = "foo"; |
| 922 o.height = "foo"; | 922 o.height = "foo"; |
| 923 o.id = "foo"; | 923 o.id = "foo"; |
| 924 o.image = "foo"; | 924 o.image = "foo"; |
| 925 o.inAlbum = buildItemScope(); | 925 o.inAlbum = buildItemScope(); |
| 926 o.kind = "foo"; | 926 o.kind = "foo"; |
| 927 o.latitude = 42.0; | 927 o.latitude = 42.0; |
| 928 o.location = buildItemScope(); | 928 o.location = buildItemScope(); |
| 929 o.longitude = 42.0; | 929 o.longitude = 42.0; |
| 930 o.name = "foo"; | 930 o.name = "foo"; |
| 931 o.partOfTVSeries = buildItemScope(); | 931 o.partOfTVSeries = buildItemScope(); |
| 932 o.performers = buildUnnamed128(); | 932 o.performers = buildUnnamed1997(); |
| 933 o.playerType = "foo"; | 933 o.playerType = "foo"; |
| 934 o.postOfficeBoxNumber = "foo"; | 934 o.postOfficeBoxNumber = "foo"; |
| 935 o.postalCode = "foo"; | 935 o.postalCode = "foo"; |
| 936 o.ratingValue = "foo"; | 936 o.ratingValue = "foo"; |
| 937 o.reviewRating = buildItemScope(); | 937 o.reviewRating = buildItemScope(); |
| 938 o.startDate = "foo"; | 938 o.startDate = "foo"; |
| 939 o.streetAddress = "foo"; | 939 o.streetAddress = "foo"; |
| 940 o.text = "foo"; | 940 o.text = "foo"; |
| 941 o.thumbnail = buildItemScope(); | 941 o.thumbnail = buildItemScope(); |
| 942 o.thumbnailUrl = "foo"; | 942 o.thumbnailUrl = "foo"; |
| 943 o.tickerSymbol = "foo"; | 943 o.tickerSymbol = "foo"; |
| 944 o.type = "foo"; | 944 o.type = "foo"; |
| 945 o.url = "foo"; | 945 o.url = "foo"; |
| 946 o.width = "foo"; | 946 o.width = "foo"; |
| 947 o.worstRating = "foo"; | 947 o.worstRating = "foo"; |
| 948 } | 948 } |
| 949 buildCounterItemScope--; | 949 buildCounterItemScope--; |
| 950 return o; | 950 return o; |
| 951 } | 951 } |
| 952 | 952 |
| 953 checkItemScope(api.ItemScope o) { | 953 checkItemScope(api.ItemScope o) { |
| 954 buildCounterItemScope++; | 954 buildCounterItemScope++; |
| 955 if (buildCounterItemScope < 3) { | 955 if (buildCounterItemScope < 3) { |
| 956 checkItemScope(o.about); | 956 checkItemScope(o.about); |
| 957 checkUnnamed123(o.additionalName); | 957 checkUnnamed1992(o.additionalName); |
| 958 checkItemScope(o.address); | 958 checkItemScope(o.address); |
| 959 unittest.expect(o.addressCountry, unittest.equals('foo')); | 959 unittest.expect(o.addressCountry, unittest.equals('foo')); |
| 960 unittest.expect(o.addressLocality, unittest.equals('foo')); | 960 unittest.expect(o.addressLocality, unittest.equals('foo')); |
| 961 unittest.expect(o.addressRegion, unittest.equals('foo')); | 961 unittest.expect(o.addressRegion, unittest.equals('foo')); |
| 962 checkUnnamed124(o.associatedMedia); | 962 checkUnnamed1993(o.associatedMedia); |
| 963 unittest.expect(o.attendeeCount, unittest.equals(42)); | 963 unittest.expect(o.attendeeCount, unittest.equals(42)); |
| 964 checkUnnamed125(o.attendees); | 964 checkUnnamed1994(o.attendees); |
| 965 checkItemScope(o.audio); | 965 checkItemScope(o.audio); |
| 966 checkUnnamed126(o.author); | 966 checkUnnamed1995(o.author); |
| 967 unittest.expect(o.bestRating, unittest.equals('foo')); | 967 unittest.expect(o.bestRating, unittest.equals('foo')); |
| 968 unittest.expect(o.birthDate, unittest.equals('foo')); | 968 unittest.expect(o.birthDate, unittest.equals('foo')); |
| 969 checkItemScope(o.byArtist); | 969 checkItemScope(o.byArtist); |
| 970 unittest.expect(o.caption, unittest.equals('foo')); | 970 unittest.expect(o.caption, unittest.equals('foo')); |
| 971 unittest.expect(o.contentSize, unittest.equals('foo')); | 971 unittest.expect(o.contentSize, unittest.equals('foo')); |
| 972 unittest.expect(o.contentUrl, unittest.equals('foo')); | 972 unittest.expect(o.contentUrl, unittest.equals('foo')); |
| 973 checkUnnamed127(o.contributor); | 973 checkUnnamed1996(o.contributor); |
| 974 unittest.expect(o.dateCreated, unittest.equals('foo')); | 974 unittest.expect(o.dateCreated, unittest.equals('foo')); |
| 975 unittest.expect(o.dateModified, unittest.equals('foo')); | 975 unittest.expect(o.dateModified, unittest.equals('foo')); |
| 976 unittest.expect(o.datePublished, unittest.equals('foo')); | 976 unittest.expect(o.datePublished, unittest.equals('foo')); |
| 977 unittest.expect(o.description, unittest.equals('foo')); | 977 unittest.expect(o.description, unittest.equals('foo')); |
| 978 unittest.expect(o.duration, unittest.equals('foo')); | 978 unittest.expect(o.duration, unittest.equals('foo')); |
| 979 unittest.expect(o.embedUrl, unittest.equals('foo')); | 979 unittest.expect(o.embedUrl, unittest.equals('foo')); |
| 980 unittest.expect(o.endDate, unittest.equals('foo')); | 980 unittest.expect(o.endDate, unittest.equals('foo')); |
| 981 unittest.expect(o.familyName, unittest.equals('foo')); | 981 unittest.expect(o.familyName, unittest.equals('foo')); |
| 982 unittest.expect(o.gender, unittest.equals('foo')); | 982 unittest.expect(o.gender, unittest.equals('foo')); |
| 983 checkItemScope(o.geo); | 983 checkItemScope(o.geo); |
| 984 unittest.expect(o.givenName, unittest.equals('foo')); | 984 unittest.expect(o.givenName, unittest.equals('foo')); |
| 985 unittest.expect(o.height, unittest.equals('foo')); | 985 unittest.expect(o.height, unittest.equals('foo')); |
| 986 unittest.expect(o.id, unittest.equals('foo')); | 986 unittest.expect(o.id, unittest.equals('foo')); |
| 987 unittest.expect(o.image, unittest.equals('foo')); | 987 unittest.expect(o.image, unittest.equals('foo')); |
| 988 checkItemScope(o.inAlbum); | 988 checkItemScope(o.inAlbum); |
| 989 unittest.expect(o.kind, unittest.equals('foo')); | 989 unittest.expect(o.kind, unittest.equals('foo')); |
| 990 unittest.expect(o.latitude, unittest.equals(42.0)); | 990 unittest.expect(o.latitude, unittest.equals(42.0)); |
| 991 checkItemScope(o.location); | 991 checkItemScope(o.location); |
| 992 unittest.expect(o.longitude, unittest.equals(42.0)); | 992 unittest.expect(o.longitude, unittest.equals(42.0)); |
| 993 unittest.expect(o.name, unittest.equals('foo')); | 993 unittest.expect(o.name, unittest.equals('foo')); |
| 994 checkItemScope(o.partOfTVSeries); | 994 checkItemScope(o.partOfTVSeries); |
| 995 checkUnnamed128(o.performers); | 995 checkUnnamed1997(o.performers); |
| 996 unittest.expect(o.playerType, unittest.equals('foo')); | 996 unittest.expect(o.playerType, unittest.equals('foo')); |
| 997 unittest.expect(o.postOfficeBoxNumber, unittest.equals('foo')); | 997 unittest.expect(o.postOfficeBoxNumber, unittest.equals('foo')); |
| 998 unittest.expect(o.postalCode, unittest.equals('foo')); | 998 unittest.expect(o.postalCode, unittest.equals('foo')); |
| 999 unittest.expect(o.ratingValue, unittest.equals('foo')); | 999 unittest.expect(o.ratingValue, unittest.equals('foo')); |
| 1000 checkItemScope(o.reviewRating); | 1000 checkItemScope(o.reviewRating); |
| 1001 unittest.expect(o.startDate, unittest.equals('foo')); | 1001 unittest.expect(o.startDate, unittest.equals('foo')); |
| 1002 unittest.expect(o.streetAddress, unittest.equals('foo')); | 1002 unittest.expect(o.streetAddress, unittest.equals('foo')); |
| 1003 unittest.expect(o.text, unittest.equals('foo')); | 1003 unittest.expect(o.text, unittest.equals('foo')); |
| 1004 checkItemScope(o.thumbnail); | 1004 checkItemScope(o.thumbnail); |
| 1005 unittest.expect(o.thumbnailUrl, unittest.equals('foo')); | 1005 unittest.expect(o.thumbnailUrl, unittest.equals('foo')); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1036 unittest.expect(o.kind, unittest.equals('foo')); | 1036 unittest.expect(o.kind, unittest.equals('foo')); |
| 1037 checkItemScope(o.object); | 1037 checkItemScope(o.object); |
| 1038 checkItemScope(o.result); | 1038 checkItemScope(o.result); |
| 1039 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1039 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 1040 checkItemScope(o.target); | 1040 checkItemScope(o.target); |
| 1041 unittest.expect(o.type, unittest.equals('foo')); | 1041 unittest.expect(o.type, unittest.equals('foo')); |
| 1042 } | 1042 } |
| 1043 buildCounterMoment--; | 1043 buildCounterMoment--; |
| 1044 } | 1044 } |
| 1045 | 1045 |
| 1046 buildUnnamed129() { | 1046 buildUnnamed1998() { |
| 1047 var o = new core.List<api.Moment>(); | 1047 var o = new core.List<api.Moment>(); |
| 1048 o.add(buildMoment()); | 1048 o.add(buildMoment()); |
| 1049 o.add(buildMoment()); | 1049 o.add(buildMoment()); |
| 1050 return o; | 1050 return o; |
| 1051 } | 1051 } |
| 1052 | 1052 |
| 1053 checkUnnamed129(core.List<api.Moment> o) { | 1053 checkUnnamed1998(core.List<api.Moment> o) { |
| 1054 unittest.expect(o, unittest.hasLength(2)); | 1054 unittest.expect(o, unittest.hasLength(2)); |
| 1055 checkMoment(o[0]); | 1055 checkMoment(o[0]); |
| 1056 checkMoment(o[1]); | 1056 checkMoment(o[1]); |
| 1057 } | 1057 } |
| 1058 | 1058 |
| 1059 core.int buildCounterMomentsFeed = 0; | 1059 core.int buildCounterMomentsFeed = 0; |
| 1060 buildMomentsFeed() { | 1060 buildMomentsFeed() { |
| 1061 var o = new api.MomentsFeed(); | 1061 var o = new api.MomentsFeed(); |
| 1062 buildCounterMomentsFeed++; | 1062 buildCounterMomentsFeed++; |
| 1063 if (buildCounterMomentsFeed < 3) { | 1063 if (buildCounterMomentsFeed < 3) { |
| 1064 o.etag = "foo"; | 1064 o.etag = "foo"; |
| 1065 o.items = buildUnnamed129(); | 1065 o.items = buildUnnamed1998(); |
| 1066 o.kind = "foo"; | 1066 o.kind = "foo"; |
| 1067 o.nextLink = "foo"; | 1067 o.nextLink = "foo"; |
| 1068 o.nextPageToken = "foo"; | 1068 o.nextPageToken = "foo"; |
| 1069 o.selfLink = "foo"; | 1069 o.selfLink = "foo"; |
| 1070 o.title = "foo"; | 1070 o.title = "foo"; |
| 1071 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1071 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1072 } | 1072 } |
| 1073 buildCounterMomentsFeed--; | 1073 buildCounterMomentsFeed--; |
| 1074 return o; | 1074 return o; |
| 1075 } | 1075 } |
| 1076 | 1076 |
| 1077 checkMomentsFeed(api.MomentsFeed o) { | 1077 checkMomentsFeed(api.MomentsFeed o) { |
| 1078 buildCounterMomentsFeed++; | 1078 buildCounterMomentsFeed++; |
| 1079 if (buildCounterMomentsFeed < 3) { | 1079 if (buildCounterMomentsFeed < 3) { |
| 1080 unittest.expect(o.etag, unittest.equals('foo')); | 1080 unittest.expect(o.etag, unittest.equals('foo')); |
| 1081 checkUnnamed129(o.items); | 1081 checkUnnamed1998(o.items); |
| 1082 unittest.expect(o.kind, unittest.equals('foo')); | 1082 unittest.expect(o.kind, unittest.equals('foo')); |
| 1083 unittest.expect(o.nextLink, unittest.equals('foo')); | 1083 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 1084 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1084 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1085 unittest.expect(o.selfLink, unittest.equals('foo')); | 1085 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1086 unittest.expect(o.title, unittest.equals('foo')); | 1086 unittest.expect(o.title, unittest.equals('foo')); |
| 1087 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1087 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1088 } | 1088 } |
| 1089 buildCounterMomentsFeed--; | 1089 buildCounterMomentsFeed--; |
| 1090 } | 1090 } |
| 1091 | 1091 |
| 1092 buildUnnamed130() { | 1092 buildUnnamed1999() { |
| 1093 var o = new core.List<api.Person>(); | 1093 var o = new core.List<api.Person>(); |
| 1094 o.add(buildPerson()); | 1094 o.add(buildPerson()); |
| 1095 o.add(buildPerson()); | 1095 o.add(buildPerson()); |
| 1096 return o; | 1096 return o; |
| 1097 } | 1097 } |
| 1098 | 1098 |
| 1099 checkUnnamed130(core.List<api.Person> o) { | 1099 checkUnnamed1999(core.List<api.Person> o) { |
| 1100 unittest.expect(o, unittest.hasLength(2)); | 1100 unittest.expect(o, unittest.hasLength(2)); |
| 1101 checkPerson(o[0]); | 1101 checkPerson(o[0]); |
| 1102 checkPerson(o[1]); | 1102 checkPerson(o[1]); |
| 1103 } | 1103 } |
| 1104 | 1104 |
| 1105 core.int buildCounterPeopleFeed = 0; | 1105 core.int buildCounterPeopleFeed = 0; |
| 1106 buildPeopleFeed() { | 1106 buildPeopleFeed() { |
| 1107 var o = new api.PeopleFeed(); | 1107 var o = new api.PeopleFeed(); |
| 1108 buildCounterPeopleFeed++; | 1108 buildCounterPeopleFeed++; |
| 1109 if (buildCounterPeopleFeed < 3) { | 1109 if (buildCounterPeopleFeed < 3) { |
| 1110 o.etag = "foo"; | 1110 o.etag = "foo"; |
| 1111 o.items = buildUnnamed130(); | 1111 o.items = buildUnnamed1999(); |
| 1112 o.kind = "foo"; | 1112 o.kind = "foo"; |
| 1113 o.nextPageToken = "foo"; | 1113 o.nextPageToken = "foo"; |
| 1114 o.selfLink = "foo"; | 1114 o.selfLink = "foo"; |
| 1115 o.title = "foo"; | 1115 o.title = "foo"; |
| 1116 o.totalItems = 42; | 1116 o.totalItems = 42; |
| 1117 } | 1117 } |
| 1118 buildCounterPeopleFeed--; | 1118 buildCounterPeopleFeed--; |
| 1119 return o; | 1119 return o; |
| 1120 } | 1120 } |
| 1121 | 1121 |
| 1122 checkPeopleFeed(api.PeopleFeed o) { | 1122 checkPeopleFeed(api.PeopleFeed o) { |
| 1123 buildCounterPeopleFeed++; | 1123 buildCounterPeopleFeed++; |
| 1124 if (buildCounterPeopleFeed < 3) { | 1124 if (buildCounterPeopleFeed < 3) { |
| 1125 unittest.expect(o.etag, unittest.equals('foo')); | 1125 unittest.expect(o.etag, unittest.equals('foo')); |
| 1126 checkUnnamed130(o.items); | 1126 checkUnnamed1999(o.items); |
| 1127 unittest.expect(o.kind, unittest.equals('foo')); | 1127 unittest.expect(o.kind, unittest.equals('foo')); |
| 1128 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1128 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1129 unittest.expect(o.selfLink, unittest.equals('foo')); | 1129 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1130 unittest.expect(o.title, unittest.equals('foo')); | 1130 unittest.expect(o.title, unittest.equals('foo')); |
| 1131 unittest.expect(o.totalItems, unittest.equals(42)); | 1131 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1132 } | 1132 } |
| 1133 buildCounterPeopleFeed--; | 1133 buildCounterPeopleFeed--; |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 core.int buildCounterPersonAgeRange = 0; | 1136 core.int buildCounterPersonAgeRange = 0; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1235 | 1235 |
| 1236 checkPersonEmails(api.PersonEmails o) { | 1236 checkPersonEmails(api.PersonEmails o) { |
| 1237 buildCounterPersonEmails++; | 1237 buildCounterPersonEmails++; |
| 1238 if (buildCounterPersonEmails < 3) { | 1238 if (buildCounterPersonEmails < 3) { |
| 1239 unittest.expect(o.type, unittest.equals('foo')); | 1239 unittest.expect(o.type, unittest.equals('foo')); |
| 1240 unittest.expect(o.value, unittest.equals('foo')); | 1240 unittest.expect(o.value, unittest.equals('foo')); |
| 1241 } | 1241 } |
| 1242 buildCounterPersonEmails--; | 1242 buildCounterPersonEmails--; |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 buildUnnamed131() { | 1245 buildUnnamed2000() { |
| 1246 var o = new core.List<api.PersonEmails>(); | 1246 var o = new core.List<api.PersonEmails>(); |
| 1247 o.add(buildPersonEmails()); | 1247 o.add(buildPersonEmails()); |
| 1248 o.add(buildPersonEmails()); | 1248 o.add(buildPersonEmails()); |
| 1249 return o; | 1249 return o; |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 checkUnnamed131(core.List<api.PersonEmails> o) { | 1252 checkUnnamed2000(core.List<api.PersonEmails> o) { |
| 1253 unittest.expect(o, unittest.hasLength(2)); | 1253 unittest.expect(o, unittest.hasLength(2)); |
| 1254 checkPersonEmails(o[0]); | 1254 checkPersonEmails(o[0]); |
| 1255 checkPersonEmails(o[1]); | 1255 checkPersonEmails(o[1]); |
| 1256 } | 1256 } |
| 1257 | 1257 |
| 1258 core.int buildCounterPersonImage = 0; | 1258 core.int buildCounterPersonImage = 0; |
| 1259 buildPersonImage() { | 1259 buildPersonImage() { |
| 1260 var o = new api.PersonImage(); | 1260 var o = new api.PersonImage(); |
| 1261 buildCounterPersonImage++; | 1261 buildCounterPersonImage++; |
| 1262 if (buildCounterPersonImage < 3) { | 1262 if (buildCounterPersonImage < 3) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1333 unittest.expect(o.location, unittest.equals('foo')); | 1333 unittest.expect(o.location, unittest.equals('foo')); |
| 1334 unittest.expect(o.name, unittest.equals('foo')); | 1334 unittest.expect(o.name, unittest.equals('foo')); |
| 1335 unittest.expect(o.primary, unittest.isTrue); | 1335 unittest.expect(o.primary, unittest.isTrue); |
| 1336 unittest.expect(o.startDate, unittest.equals('foo')); | 1336 unittest.expect(o.startDate, unittest.equals('foo')); |
| 1337 unittest.expect(o.title, unittest.equals('foo')); | 1337 unittest.expect(o.title, unittest.equals('foo')); |
| 1338 unittest.expect(o.type, unittest.equals('foo')); | 1338 unittest.expect(o.type, unittest.equals('foo')); |
| 1339 } | 1339 } |
| 1340 buildCounterPersonOrganizations--; | 1340 buildCounterPersonOrganizations--; |
| 1341 } | 1341 } |
| 1342 | 1342 |
| 1343 buildUnnamed132() { | 1343 buildUnnamed2001() { |
| 1344 var o = new core.List<api.PersonOrganizations>(); | 1344 var o = new core.List<api.PersonOrganizations>(); |
| 1345 o.add(buildPersonOrganizations()); | 1345 o.add(buildPersonOrganizations()); |
| 1346 o.add(buildPersonOrganizations()); | 1346 o.add(buildPersonOrganizations()); |
| 1347 return o; | 1347 return o; |
| 1348 } | 1348 } |
| 1349 | 1349 |
| 1350 checkUnnamed132(core.List<api.PersonOrganizations> o) { | 1350 checkUnnamed2001(core.List<api.PersonOrganizations> o) { |
| 1351 unittest.expect(o, unittest.hasLength(2)); | 1351 unittest.expect(o, unittest.hasLength(2)); |
| 1352 checkPersonOrganizations(o[0]); | 1352 checkPersonOrganizations(o[0]); |
| 1353 checkPersonOrganizations(o[1]); | 1353 checkPersonOrganizations(o[1]); |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 core.int buildCounterPersonPlacesLived = 0; | 1356 core.int buildCounterPersonPlacesLived = 0; |
| 1357 buildPersonPlacesLived() { | 1357 buildPersonPlacesLived() { |
| 1358 var o = new api.PersonPlacesLived(); | 1358 var o = new api.PersonPlacesLived(); |
| 1359 buildCounterPersonPlacesLived++; | 1359 buildCounterPersonPlacesLived++; |
| 1360 if (buildCounterPersonPlacesLived < 3) { | 1360 if (buildCounterPersonPlacesLived < 3) { |
| 1361 o.primary = true; | 1361 o.primary = true; |
| 1362 o.value = "foo"; | 1362 o.value = "foo"; |
| 1363 } | 1363 } |
| 1364 buildCounterPersonPlacesLived--; | 1364 buildCounterPersonPlacesLived--; |
| 1365 return o; | 1365 return o; |
| 1366 } | 1366 } |
| 1367 | 1367 |
| 1368 checkPersonPlacesLived(api.PersonPlacesLived o) { | 1368 checkPersonPlacesLived(api.PersonPlacesLived o) { |
| 1369 buildCounterPersonPlacesLived++; | 1369 buildCounterPersonPlacesLived++; |
| 1370 if (buildCounterPersonPlacesLived < 3) { | 1370 if (buildCounterPersonPlacesLived < 3) { |
| 1371 unittest.expect(o.primary, unittest.isTrue); | 1371 unittest.expect(o.primary, unittest.isTrue); |
| 1372 unittest.expect(o.value, unittest.equals('foo')); | 1372 unittest.expect(o.value, unittest.equals('foo')); |
| 1373 } | 1373 } |
| 1374 buildCounterPersonPlacesLived--; | 1374 buildCounterPersonPlacesLived--; |
| 1375 } | 1375 } |
| 1376 | 1376 |
| 1377 buildUnnamed133() { | 1377 buildUnnamed2002() { |
| 1378 var o = new core.List<api.PersonPlacesLived>(); | 1378 var o = new core.List<api.PersonPlacesLived>(); |
| 1379 o.add(buildPersonPlacesLived()); | 1379 o.add(buildPersonPlacesLived()); |
| 1380 o.add(buildPersonPlacesLived()); | 1380 o.add(buildPersonPlacesLived()); |
| 1381 return o; | 1381 return o; |
| 1382 } | 1382 } |
| 1383 | 1383 |
| 1384 checkUnnamed133(core.List<api.PersonPlacesLived> o) { | 1384 checkUnnamed2002(core.List<api.PersonPlacesLived> o) { |
| 1385 unittest.expect(o, unittest.hasLength(2)); | 1385 unittest.expect(o, unittest.hasLength(2)); |
| 1386 checkPersonPlacesLived(o[0]); | 1386 checkPersonPlacesLived(o[0]); |
| 1387 checkPersonPlacesLived(o[1]); | 1387 checkPersonPlacesLived(o[1]); |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 core.int buildCounterPersonUrls = 0; | 1390 core.int buildCounterPersonUrls = 0; |
| 1391 buildPersonUrls() { | 1391 buildPersonUrls() { |
| 1392 var o = new api.PersonUrls(); | 1392 var o = new api.PersonUrls(); |
| 1393 buildCounterPersonUrls++; | 1393 buildCounterPersonUrls++; |
| 1394 if (buildCounterPersonUrls < 3) { | 1394 if (buildCounterPersonUrls < 3) { |
| 1395 o.label = "foo"; | 1395 o.label = "foo"; |
| 1396 o.type = "foo"; | 1396 o.type = "foo"; |
| 1397 o.value = "foo"; | 1397 o.value = "foo"; |
| 1398 } | 1398 } |
| 1399 buildCounterPersonUrls--; | 1399 buildCounterPersonUrls--; |
| 1400 return o; | 1400 return o; |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 checkPersonUrls(api.PersonUrls o) { | 1403 checkPersonUrls(api.PersonUrls o) { |
| 1404 buildCounterPersonUrls++; | 1404 buildCounterPersonUrls++; |
| 1405 if (buildCounterPersonUrls < 3) { | 1405 if (buildCounterPersonUrls < 3) { |
| 1406 unittest.expect(o.label, unittest.equals('foo')); | 1406 unittest.expect(o.label, unittest.equals('foo')); |
| 1407 unittest.expect(o.type, unittest.equals('foo')); | 1407 unittest.expect(o.type, unittest.equals('foo')); |
| 1408 unittest.expect(o.value, unittest.equals('foo')); | 1408 unittest.expect(o.value, unittest.equals('foo')); |
| 1409 } | 1409 } |
| 1410 buildCounterPersonUrls--; | 1410 buildCounterPersonUrls--; |
| 1411 } | 1411 } |
| 1412 | 1412 |
| 1413 buildUnnamed134() { | 1413 buildUnnamed2003() { |
| 1414 var o = new core.List<api.PersonUrls>(); | 1414 var o = new core.List<api.PersonUrls>(); |
| 1415 o.add(buildPersonUrls()); | 1415 o.add(buildPersonUrls()); |
| 1416 o.add(buildPersonUrls()); | 1416 o.add(buildPersonUrls()); |
| 1417 return o; | 1417 return o; |
| 1418 } | 1418 } |
| 1419 | 1419 |
| 1420 checkUnnamed134(core.List<api.PersonUrls> o) { | 1420 checkUnnamed2003(core.List<api.PersonUrls> o) { |
| 1421 unittest.expect(o, unittest.hasLength(2)); | 1421 unittest.expect(o, unittest.hasLength(2)); |
| 1422 checkPersonUrls(o[0]); | 1422 checkPersonUrls(o[0]); |
| 1423 checkPersonUrls(o[1]); | 1423 checkPersonUrls(o[1]); |
| 1424 } | 1424 } |
| 1425 | 1425 |
| 1426 core.int buildCounterPerson = 0; | 1426 core.int buildCounterPerson = 0; |
| 1427 buildPerson() { | 1427 buildPerson() { |
| 1428 var o = new api.Person(); | 1428 var o = new api.Person(); |
| 1429 buildCounterPerson++; | 1429 buildCounterPerson++; |
| 1430 if (buildCounterPerson < 3) { | 1430 if (buildCounterPerson < 3) { |
| 1431 o.aboutMe = "foo"; | 1431 o.aboutMe = "foo"; |
| 1432 o.ageRange = buildPersonAgeRange(); | 1432 o.ageRange = buildPersonAgeRange(); |
| 1433 o.birthday = "foo"; | 1433 o.birthday = "foo"; |
| 1434 o.braggingRights = "foo"; | 1434 o.braggingRights = "foo"; |
| 1435 o.circledByCount = 42; | 1435 o.circledByCount = 42; |
| 1436 o.cover = buildPersonCover(); | 1436 o.cover = buildPersonCover(); |
| 1437 o.currentLocation = "foo"; | 1437 o.currentLocation = "foo"; |
| 1438 o.displayName = "foo"; | 1438 o.displayName = "foo"; |
| 1439 o.domain = "foo"; | 1439 o.domain = "foo"; |
| 1440 o.emails = buildUnnamed131(); | 1440 o.emails = buildUnnamed2000(); |
| 1441 o.etag = "foo"; | 1441 o.etag = "foo"; |
| 1442 o.gender = "foo"; | 1442 o.gender = "foo"; |
| 1443 o.id = "foo"; | 1443 o.id = "foo"; |
| 1444 o.image = buildPersonImage(); | 1444 o.image = buildPersonImage(); |
| 1445 o.isPlusUser = true; | 1445 o.isPlusUser = true; |
| 1446 o.kind = "foo"; | 1446 o.kind = "foo"; |
| 1447 o.language = "foo"; | 1447 o.language = "foo"; |
| 1448 o.name = buildPersonName(); | 1448 o.name = buildPersonName(); |
| 1449 o.nickname = "foo"; | 1449 o.nickname = "foo"; |
| 1450 o.objectType = "foo"; | 1450 o.objectType = "foo"; |
| 1451 o.occupation = "foo"; | 1451 o.occupation = "foo"; |
| 1452 o.organizations = buildUnnamed132(); | 1452 o.organizations = buildUnnamed2001(); |
| 1453 o.placesLived = buildUnnamed133(); | 1453 o.placesLived = buildUnnamed2002(); |
| 1454 o.plusOneCount = 42; | 1454 o.plusOneCount = 42; |
| 1455 o.relationshipStatus = "foo"; | 1455 o.relationshipStatus = "foo"; |
| 1456 o.skills = "foo"; | 1456 o.skills = "foo"; |
| 1457 o.tagline = "foo"; | 1457 o.tagline = "foo"; |
| 1458 o.url = "foo"; | 1458 o.url = "foo"; |
| 1459 o.urls = buildUnnamed134(); | 1459 o.urls = buildUnnamed2003(); |
| 1460 o.verified = true; | 1460 o.verified = true; |
| 1461 } | 1461 } |
| 1462 buildCounterPerson--; | 1462 buildCounterPerson--; |
| 1463 return o; | 1463 return o; |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 checkPerson(api.Person o) { | 1466 checkPerson(api.Person o) { |
| 1467 buildCounterPerson++; | 1467 buildCounterPerson++; |
| 1468 if (buildCounterPerson < 3) { | 1468 if (buildCounterPerson < 3) { |
| 1469 unittest.expect(o.aboutMe, unittest.equals('foo')); | 1469 unittest.expect(o.aboutMe, unittest.equals('foo')); |
| 1470 checkPersonAgeRange(o.ageRange); | 1470 checkPersonAgeRange(o.ageRange); |
| 1471 unittest.expect(o.birthday, unittest.equals('foo')); | 1471 unittest.expect(o.birthday, unittest.equals('foo')); |
| 1472 unittest.expect(o.braggingRights, unittest.equals('foo')); | 1472 unittest.expect(o.braggingRights, unittest.equals('foo')); |
| 1473 unittest.expect(o.circledByCount, unittest.equals(42)); | 1473 unittest.expect(o.circledByCount, unittest.equals(42)); |
| 1474 checkPersonCover(o.cover); | 1474 checkPersonCover(o.cover); |
| 1475 unittest.expect(o.currentLocation, unittest.equals('foo')); | 1475 unittest.expect(o.currentLocation, unittest.equals('foo')); |
| 1476 unittest.expect(o.displayName, unittest.equals('foo')); | 1476 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1477 unittest.expect(o.domain, unittest.equals('foo')); | 1477 unittest.expect(o.domain, unittest.equals('foo')); |
| 1478 checkUnnamed131(o.emails); | 1478 checkUnnamed2000(o.emails); |
| 1479 unittest.expect(o.etag, unittest.equals('foo')); | 1479 unittest.expect(o.etag, unittest.equals('foo')); |
| 1480 unittest.expect(o.gender, unittest.equals('foo')); | 1480 unittest.expect(o.gender, unittest.equals('foo')); |
| 1481 unittest.expect(o.id, unittest.equals('foo')); | 1481 unittest.expect(o.id, unittest.equals('foo')); |
| 1482 checkPersonImage(o.image); | 1482 checkPersonImage(o.image); |
| 1483 unittest.expect(o.isPlusUser, unittest.isTrue); | 1483 unittest.expect(o.isPlusUser, unittest.isTrue); |
| 1484 unittest.expect(o.kind, unittest.equals('foo')); | 1484 unittest.expect(o.kind, unittest.equals('foo')); |
| 1485 unittest.expect(o.language, unittest.equals('foo')); | 1485 unittest.expect(o.language, unittest.equals('foo')); |
| 1486 checkPersonName(o.name); | 1486 checkPersonName(o.name); |
| 1487 unittest.expect(o.nickname, unittest.equals('foo')); | 1487 unittest.expect(o.nickname, unittest.equals('foo')); |
| 1488 unittest.expect(o.objectType, unittest.equals('foo')); | 1488 unittest.expect(o.objectType, unittest.equals('foo')); |
| 1489 unittest.expect(o.occupation, unittest.equals('foo')); | 1489 unittest.expect(o.occupation, unittest.equals('foo')); |
| 1490 checkUnnamed132(o.organizations); | 1490 checkUnnamed2001(o.organizations); |
| 1491 checkUnnamed133(o.placesLived); | 1491 checkUnnamed2002(o.placesLived); |
| 1492 unittest.expect(o.plusOneCount, unittest.equals(42)); | 1492 unittest.expect(o.plusOneCount, unittest.equals(42)); |
| 1493 unittest.expect(o.relationshipStatus, unittest.equals('foo')); | 1493 unittest.expect(o.relationshipStatus, unittest.equals('foo')); |
| 1494 unittest.expect(o.skills, unittest.equals('foo')); | 1494 unittest.expect(o.skills, unittest.equals('foo')); |
| 1495 unittest.expect(o.tagline, unittest.equals('foo')); | 1495 unittest.expect(o.tagline, unittest.equals('foo')); |
| 1496 unittest.expect(o.url, unittest.equals('foo')); | 1496 unittest.expect(o.url, unittest.equals('foo')); |
| 1497 checkUnnamed134(o.urls); | 1497 checkUnnamed2003(o.urls); |
| 1498 unittest.expect(o.verified, unittest.isTrue); | 1498 unittest.expect(o.verified, unittest.isTrue); |
| 1499 } | 1499 } |
| 1500 buildCounterPerson--; | 1500 buildCounterPerson--; |
| 1501 } | 1501 } |
| 1502 | 1502 |
| 1503 core.int buildCounterPlaceAddress = 0; | 1503 core.int buildCounterPlaceAddress = 0; |
| 1504 buildPlaceAddress() { | 1504 buildPlaceAddress() { |
| 1505 var o = new api.PlaceAddress(); | 1505 var o = new api.PlaceAddress(); |
| 1506 buildCounterPlaceAddress++; | 1506 buildCounterPlaceAddress++; |
| 1507 if (buildCounterPlaceAddress < 3) { | 1507 if (buildCounterPlaceAddress < 3) { |
| (...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2682 res.search(arg_query, language: arg_language, maxResults: arg_maxResults,
pageToken: arg_pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { | 2682 res.search(arg_query, language: arg_language, maxResults: arg_maxResults,
pageToken: arg_pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { |
| 2683 checkPeopleFeed(response); | 2683 checkPeopleFeed(response); |
| 2684 }))); | 2684 }))); |
| 2685 }); | 2685 }); |
| 2686 | 2686 |
| 2687 }); | 2687 }); |
| 2688 | 2688 |
| 2689 | 2689 |
| 2690 } | 2690 } |
| 2691 | 2691 |
| OLD | NEW |