Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: generated/googleapis/test/plus/v1_test.dart

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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;
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/plus/v1.dart' as api; 15 import 'package:googleapis/plus/v1.dart' as api;
16 16
17 17
18 18
19 buildUnnamed144() { 19 buildUnnamed980() {
20 var o = new core.List<api.PlusAclentryResource>(); 20 var o = new core.List<api.PlusAclentryResource>();
21 o.add(buildPlusAclentryResource()); 21 o.add(buildPlusAclentryResource());
22 o.add(buildPlusAclentryResource()); 22 o.add(buildPlusAclentryResource());
23 return o; 23 return o;
24 } 24 }
25 25
26 checkUnnamed144(core.List<api.PlusAclentryResource> o) { 26 checkUnnamed980(core.List<api.PlusAclentryResource> o) {
27 unittest.expect(o, unittest.hasLength(2)); 27 unittest.expect(o, unittest.hasLength(2));
28 checkPlusAclentryResource(o[0]); 28 checkPlusAclentryResource(o[0]);
29 checkPlusAclentryResource(o[1]); 29 checkPlusAclentryResource(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.items = buildUnnamed144(); 38 o.items = buildUnnamed980();
39 o.kind = "foo"; 39 o.kind = "foo";
40 } 40 }
41 buildCounterAcl--; 41 buildCounterAcl--;
42 return o; 42 return o;
43 } 43 }
44 44
45 checkAcl(api.Acl o) { 45 checkAcl(api.Acl o) {
46 buildCounterAcl++; 46 buildCounterAcl++;
47 if (buildCounterAcl < 3) { 47 if (buildCounterAcl < 3) {
48 unittest.expect(o.description, unittest.equals('foo')); 48 unittest.expect(o.description, unittest.equals('foo'));
49 checkUnnamed144(o.items); 49 checkUnnamed980(o.items);
50 unittest.expect(o.kind, unittest.equals('foo')); 50 unittest.expect(o.kind, unittest.equals('foo'));
51 } 51 }
52 buildCounterAcl--; 52 buildCounterAcl--;
53 } 53 }
54 54
55 core.int buildCounterActivityActorImage = 0; 55 core.int buildCounterActivityActorImage = 0;
56 buildActivityActorImage() { 56 buildActivityActorImage() {
57 var o = new api.ActivityActorImage(); 57 var o = new api.ActivityActorImage();
58 buildCounterActivityActorImage++; 58 buildCounterActivityActorImage++;
59 if (buildCounterActivityActorImage < 3) { 59 if (buildCounterActivityActorImage < 3) {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails o) { 275 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails o) {
276 buildCounterActivityObjectAttachmentsThumbnails++; 276 buildCounterActivityObjectAttachmentsThumbnails++;
277 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { 277 if (buildCounterActivityObjectAttachmentsThumbnails < 3) {
278 unittest.expect(o.description, unittest.equals('foo')); 278 unittest.expect(o.description, unittest.equals('foo'));
279 checkActivityObjectAttachmentsThumbnailsImage(o.image); 279 checkActivityObjectAttachmentsThumbnailsImage(o.image);
280 unittest.expect(o.url, unittest.equals('foo')); 280 unittest.expect(o.url, unittest.equals('foo'));
281 } 281 }
282 buildCounterActivityObjectAttachmentsThumbnails--; 282 buildCounterActivityObjectAttachmentsThumbnails--;
283 } 283 }
284 284
285 buildUnnamed145() { 285 buildUnnamed981() {
286 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); 286 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
287 o.add(buildActivityObjectAttachmentsThumbnails()); 287 o.add(buildActivityObjectAttachmentsThumbnails());
288 o.add(buildActivityObjectAttachmentsThumbnails()); 288 o.add(buildActivityObjectAttachmentsThumbnails());
289 return o; 289 return o;
290 } 290 }
291 291
292 checkUnnamed145(core.List<api.ActivityObjectAttachmentsThumbnails> o) { 292 checkUnnamed981(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
293 unittest.expect(o, unittest.hasLength(2)); 293 unittest.expect(o, unittest.hasLength(2));
294 checkActivityObjectAttachmentsThumbnails(o[0]); 294 checkActivityObjectAttachmentsThumbnails(o[0]);
295 checkActivityObjectAttachmentsThumbnails(o[1]); 295 checkActivityObjectAttachmentsThumbnails(o[1]);
296 } 296 }
297 297
298 core.int buildCounterActivityObjectAttachments = 0; 298 core.int buildCounterActivityObjectAttachments = 0;
299 buildActivityObjectAttachments() { 299 buildActivityObjectAttachments() {
300 var o = new api.ActivityObjectAttachments(); 300 var o = new api.ActivityObjectAttachments();
301 buildCounterActivityObjectAttachments++; 301 buildCounterActivityObjectAttachments++;
302 if (buildCounterActivityObjectAttachments < 3) { 302 if (buildCounterActivityObjectAttachments < 3) {
303 o.content = "foo"; 303 o.content = "foo";
304 o.displayName = "foo"; 304 o.displayName = "foo";
305 o.embed = buildActivityObjectAttachmentsEmbed(); 305 o.embed = buildActivityObjectAttachmentsEmbed();
306 o.fullImage = buildActivityObjectAttachmentsFullImage(); 306 o.fullImage = buildActivityObjectAttachmentsFullImage();
307 o.id = "foo"; 307 o.id = "foo";
308 o.image = buildActivityObjectAttachmentsImage(); 308 o.image = buildActivityObjectAttachmentsImage();
309 o.objectType = "foo"; 309 o.objectType = "foo";
310 o.thumbnails = buildUnnamed145(); 310 o.thumbnails = buildUnnamed981();
311 o.url = "foo"; 311 o.url = "foo";
312 } 312 }
313 buildCounterActivityObjectAttachments--; 313 buildCounterActivityObjectAttachments--;
314 return o; 314 return o;
315 } 315 }
316 316
317 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { 317 checkActivityObjectAttachments(api.ActivityObjectAttachments o) {
318 buildCounterActivityObjectAttachments++; 318 buildCounterActivityObjectAttachments++;
319 if (buildCounterActivityObjectAttachments < 3) { 319 if (buildCounterActivityObjectAttachments < 3) {
320 unittest.expect(o.content, unittest.equals('foo')); 320 unittest.expect(o.content, unittest.equals('foo'));
321 unittest.expect(o.displayName, unittest.equals('foo')); 321 unittest.expect(o.displayName, unittest.equals('foo'));
322 checkActivityObjectAttachmentsEmbed(o.embed); 322 checkActivityObjectAttachmentsEmbed(o.embed);
323 checkActivityObjectAttachmentsFullImage(o.fullImage); 323 checkActivityObjectAttachmentsFullImage(o.fullImage);
324 unittest.expect(o.id, unittest.equals('foo')); 324 unittest.expect(o.id, unittest.equals('foo'));
325 checkActivityObjectAttachmentsImage(o.image); 325 checkActivityObjectAttachmentsImage(o.image);
326 unittest.expect(o.objectType, unittest.equals('foo')); 326 unittest.expect(o.objectType, unittest.equals('foo'));
327 checkUnnamed145(o.thumbnails); 327 checkUnnamed981(o.thumbnails);
328 unittest.expect(o.url, unittest.equals('foo')); 328 unittest.expect(o.url, unittest.equals('foo'));
329 } 329 }
330 buildCounterActivityObjectAttachments--; 330 buildCounterActivityObjectAttachments--;
331 } 331 }
332 332
333 buildUnnamed146() { 333 buildUnnamed982() {
334 var o = new core.List<api.ActivityObjectAttachments>(); 334 var o = new core.List<api.ActivityObjectAttachments>();
335 o.add(buildActivityObjectAttachments()); 335 o.add(buildActivityObjectAttachments());
336 o.add(buildActivityObjectAttachments()); 336 o.add(buildActivityObjectAttachments());
337 return o; 337 return o;
338 } 338 }
339 339
340 checkUnnamed146(core.List<api.ActivityObjectAttachments> o) { 340 checkUnnamed982(core.List<api.ActivityObjectAttachments> o) {
341 unittest.expect(o, unittest.hasLength(2)); 341 unittest.expect(o, unittest.hasLength(2));
342 checkActivityObjectAttachments(o[0]); 342 checkActivityObjectAttachments(o[0]);
343 checkActivityObjectAttachments(o[1]); 343 checkActivityObjectAttachments(o[1]);
344 } 344 }
345 345
346 core.int buildCounterActivityObjectPlusoners = 0; 346 core.int buildCounterActivityObjectPlusoners = 0;
347 buildActivityObjectPlusoners() { 347 buildActivityObjectPlusoners() {
348 var o = new api.ActivityObjectPlusoners(); 348 var o = new api.ActivityObjectPlusoners();
349 buildCounterActivityObjectPlusoners++; 349 buildCounterActivityObjectPlusoners++;
350 if (buildCounterActivityObjectPlusoners < 3) { 350 if (buildCounterActivityObjectPlusoners < 3) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 buildCounterActivityObjectResharers--; 406 buildCounterActivityObjectResharers--;
407 } 407 }
408 408
409 core.int buildCounterActivityObject = 0; 409 core.int buildCounterActivityObject = 0;
410 buildActivityObject() { 410 buildActivityObject() {
411 var o = new api.ActivityObject(); 411 var o = new api.ActivityObject();
412 buildCounterActivityObject++; 412 buildCounterActivityObject++;
413 if (buildCounterActivityObject < 3) { 413 if (buildCounterActivityObject < 3) {
414 o.actor = buildActivityObjectActor(); 414 o.actor = buildActivityObjectActor();
415 o.attachments = buildUnnamed146(); 415 o.attachments = buildUnnamed982();
416 o.content = "foo"; 416 o.content = "foo";
417 o.id = "foo"; 417 o.id = "foo";
418 o.objectType = "foo"; 418 o.objectType = "foo";
419 o.originalContent = "foo"; 419 o.originalContent = "foo";
420 o.plusoners = buildActivityObjectPlusoners(); 420 o.plusoners = buildActivityObjectPlusoners();
421 o.replies = buildActivityObjectReplies(); 421 o.replies = buildActivityObjectReplies();
422 o.resharers = buildActivityObjectResharers(); 422 o.resharers = buildActivityObjectResharers();
423 o.url = "foo"; 423 o.url = "foo";
424 } 424 }
425 buildCounterActivityObject--; 425 buildCounterActivityObject--;
426 return o; 426 return o;
427 } 427 }
428 428
429 checkActivityObject(api.ActivityObject o) { 429 checkActivityObject(api.ActivityObject o) {
430 buildCounterActivityObject++; 430 buildCounterActivityObject++;
431 if (buildCounterActivityObject < 3) { 431 if (buildCounterActivityObject < 3) {
432 checkActivityObjectActor(o.actor); 432 checkActivityObjectActor(o.actor);
433 checkUnnamed146(o.attachments); 433 checkUnnamed982(o.attachments);
434 unittest.expect(o.content, unittest.equals('foo')); 434 unittest.expect(o.content, unittest.equals('foo'));
435 unittest.expect(o.id, unittest.equals('foo')); 435 unittest.expect(o.id, unittest.equals('foo'));
436 unittest.expect(o.objectType, unittest.equals('foo')); 436 unittest.expect(o.objectType, unittest.equals('foo'));
437 unittest.expect(o.originalContent, unittest.equals('foo')); 437 unittest.expect(o.originalContent, unittest.equals('foo'));
438 checkActivityObjectPlusoners(o.plusoners); 438 checkActivityObjectPlusoners(o.plusoners);
439 checkActivityObjectReplies(o.replies); 439 checkActivityObjectReplies(o.replies);
440 checkActivityObjectResharers(o.resharers); 440 checkActivityObjectResharers(o.resharers);
441 unittest.expect(o.url, unittest.equals('foo')); 441 unittest.expect(o.url, unittest.equals('foo'));
442 } 442 }
443 buildCounterActivityObject--; 443 buildCounterActivityObject--;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02"))); 512 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02")));
513 unittest.expect(o.radius, unittest.equals('foo')); 513 unittest.expect(o.radius, unittest.equals('foo'));
514 unittest.expect(o.title, unittest.equals('foo')); 514 unittest.expect(o.title, unittest.equals('foo'));
515 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 515 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
516 unittest.expect(o.url, unittest.equals('foo')); 516 unittest.expect(o.url, unittest.equals('foo'));
517 unittest.expect(o.verb, unittest.equals('foo')); 517 unittest.expect(o.verb, unittest.equals('foo'));
518 } 518 }
519 buildCounterActivity--; 519 buildCounterActivity--;
520 } 520 }
521 521
522 buildUnnamed147() { 522 buildUnnamed983() {
523 var o = new core.List<api.Activity>(); 523 var o = new core.List<api.Activity>();
524 o.add(buildActivity()); 524 o.add(buildActivity());
525 o.add(buildActivity()); 525 o.add(buildActivity());
526 return o; 526 return o;
527 } 527 }
528 528
529 checkUnnamed147(core.List<api.Activity> o) { 529 checkUnnamed983(core.List<api.Activity> o) {
530 unittest.expect(o, unittest.hasLength(2)); 530 unittest.expect(o, unittest.hasLength(2));
531 checkActivity(o[0]); 531 checkActivity(o[0]);
532 checkActivity(o[1]); 532 checkActivity(o[1]);
533 } 533 }
534 534
535 core.int buildCounterActivityFeed = 0; 535 core.int buildCounterActivityFeed = 0;
536 buildActivityFeed() { 536 buildActivityFeed() {
537 var o = new api.ActivityFeed(); 537 var o = new api.ActivityFeed();
538 buildCounterActivityFeed++; 538 buildCounterActivityFeed++;
539 if (buildCounterActivityFeed < 3) { 539 if (buildCounterActivityFeed < 3) {
540 o.etag = "foo"; 540 o.etag = "foo";
541 o.id = "foo"; 541 o.id = "foo";
542 o.items = buildUnnamed147(); 542 o.items = buildUnnamed983();
543 o.kind = "foo"; 543 o.kind = "foo";
544 o.nextLink = "foo"; 544 o.nextLink = "foo";
545 o.nextPageToken = "foo"; 545 o.nextPageToken = "foo";
546 o.selfLink = "foo"; 546 o.selfLink = "foo";
547 o.title = "foo"; 547 o.title = "foo";
548 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 548 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
549 } 549 }
550 buildCounterActivityFeed--; 550 buildCounterActivityFeed--;
551 return o; 551 return o;
552 } 552 }
553 553
554 checkActivityFeed(api.ActivityFeed o) { 554 checkActivityFeed(api.ActivityFeed o) {
555 buildCounterActivityFeed++; 555 buildCounterActivityFeed++;
556 if (buildCounterActivityFeed < 3) { 556 if (buildCounterActivityFeed < 3) {
557 unittest.expect(o.etag, unittest.equals('foo')); 557 unittest.expect(o.etag, unittest.equals('foo'));
558 unittest.expect(o.id, unittest.equals('foo')); 558 unittest.expect(o.id, unittest.equals('foo'));
559 checkUnnamed147(o.items); 559 checkUnnamed983(o.items);
560 unittest.expect(o.kind, unittest.equals('foo')); 560 unittest.expect(o.kind, unittest.equals('foo'));
561 unittest.expect(o.nextLink, unittest.equals('foo')); 561 unittest.expect(o.nextLink, unittest.equals('foo'));
562 unittest.expect(o.nextPageToken, unittest.equals('foo')); 562 unittest.expect(o.nextPageToken, unittest.equals('foo'));
563 unittest.expect(o.selfLink, unittest.equals('foo')); 563 unittest.expect(o.selfLink, unittest.equals('foo'));
564 unittest.expect(o.title, unittest.equals('foo')); 564 unittest.expect(o.title, unittest.equals('foo'));
565 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 565 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
566 } 566 }
567 buildCounterActivityFeed--; 567 buildCounterActivityFeed--;
568 } 568 }
569 569
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 checkCommentInReplyTo(api.CommentInReplyTo o) { 626 checkCommentInReplyTo(api.CommentInReplyTo o) {
627 buildCounterCommentInReplyTo++; 627 buildCounterCommentInReplyTo++;
628 if (buildCounterCommentInReplyTo < 3) { 628 if (buildCounterCommentInReplyTo < 3) {
629 unittest.expect(o.id, unittest.equals('foo')); 629 unittest.expect(o.id, unittest.equals('foo'));
630 unittest.expect(o.url, unittest.equals('foo')); 630 unittest.expect(o.url, unittest.equals('foo'));
631 } 631 }
632 buildCounterCommentInReplyTo--; 632 buildCounterCommentInReplyTo--;
633 } 633 }
634 634
635 buildUnnamed148() { 635 buildUnnamed984() {
636 var o = new core.List<api.CommentInReplyTo>(); 636 var o = new core.List<api.CommentInReplyTo>();
637 o.add(buildCommentInReplyTo()); 637 o.add(buildCommentInReplyTo());
638 o.add(buildCommentInReplyTo()); 638 o.add(buildCommentInReplyTo());
639 return o; 639 return o;
640 } 640 }
641 641
642 checkUnnamed148(core.List<api.CommentInReplyTo> o) { 642 checkUnnamed984(core.List<api.CommentInReplyTo> o) {
643 unittest.expect(o, unittest.hasLength(2)); 643 unittest.expect(o, unittest.hasLength(2));
644 checkCommentInReplyTo(o[0]); 644 checkCommentInReplyTo(o[0]);
645 checkCommentInReplyTo(o[1]); 645 checkCommentInReplyTo(o[1]);
646 } 646 }
647 647
648 core.int buildCounterCommentObject = 0; 648 core.int buildCounterCommentObject = 0;
649 buildCommentObject() { 649 buildCommentObject() {
650 var o = new api.CommentObject(); 650 var o = new api.CommentObject();
651 buildCounterCommentObject++; 651 buildCounterCommentObject++;
652 if (buildCounterCommentObject < 3) { 652 if (buildCounterCommentObject < 3) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 } 688 }
689 689
690 core.int buildCounterComment = 0; 690 core.int buildCounterComment = 0;
691 buildComment() { 691 buildComment() {
692 var o = new api.Comment(); 692 var o = new api.Comment();
693 buildCounterComment++; 693 buildCounterComment++;
694 if (buildCounterComment < 3) { 694 if (buildCounterComment < 3) {
695 o.actor = buildCommentActor(); 695 o.actor = buildCommentActor();
696 o.etag = "foo"; 696 o.etag = "foo";
697 o.id = "foo"; 697 o.id = "foo";
698 o.inReplyTo = buildUnnamed148(); 698 o.inReplyTo = buildUnnamed984();
699 o.kind = "foo"; 699 o.kind = "foo";
700 o.object = buildCommentObject(); 700 o.object = buildCommentObject();
701 o.plusoners = buildCommentPlusoners(); 701 o.plusoners = buildCommentPlusoners();
702 o.published = core.DateTime.parse("2002-02-27T14:01:02"); 702 o.published = core.DateTime.parse("2002-02-27T14:01:02");
703 o.selfLink = "foo"; 703 o.selfLink = "foo";
704 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 704 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
705 o.verb = "foo"; 705 o.verb = "foo";
706 } 706 }
707 buildCounterComment--; 707 buildCounterComment--;
708 return o; 708 return o;
709 } 709 }
710 710
711 checkComment(api.Comment o) { 711 checkComment(api.Comment o) {
712 buildCounterComment++; 712 buildCounterComment++;
713 if (buildCounterComment < 3) { 713 if (buildCounterComment < 3) {
714 checkCommentActor(o.actor); 714 checkCommentActor(o.actor);
715 unittest.expect(o.etag, unittest.equals('foo')); 715 unittest.expect(o.etag, unittest.equals('foo'));
716 unittest.expect(o.id, unittest.equals('foo')); 716 unittest.expect(o.id, unittest.equals('foo'));
717 checkUnnamed148(o.inReplyTo); 717 checkUnnamed984(o.inReplyTo);
718 unittest.expect(o.kind, unittest.equals('foo')); 718 unittest.expect(o.kind, unittest.equals('foo'));
719 checkCommentObject(o.object); 719 checkCommentObject(o.object);
720 checkCommentPlusoners(o.plusoners); 720 checkCommentPlusoners(o.plusoners);
721 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02"))); 721 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02")));
722 unittest.expect(o.selfLink, unittest.equals('foo')); 722 unittest.expect(o.selfLink, unittest.equals('foo'));
723 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 723 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
724 unittest.expect(o.verb, unittest.equals('foo')); 724 unittest.expect(o.verb, unittest.equals('foo'));
725 } 725 }
726 buildCounterComment--; 726 buildCounterComment--;
727 } 727 }
728 728
729 buildUnnamed149() { 729 buildUnnamed985() {
730 var o = new core.List<api.Comment>(); 730 var o = new core.List<api.Comment>();
731 o.add(buildComment()); 731 o.add(buildComment());
732 o.add(buildComment()); 732 o.add(buildComment());
733 return o; 733 return o;
734 } 734 }
735 735
736 checkUnnamed149(core.List<api.Comment> o) { 736 checkUnnamed985(core.List<api.Comment> o) {
737 unittest.expect(o, unittest.hasLength(2)); 737 unittest.expect(o, unittest.hasLength(2));
738 checkComment(o[0]); 738 checkComment(o[0]);
739 checkComment(o[1]); 739 checkComment(o[1]);
740 } 740 }
741 741
742 core.int buildCounterCommentFeed = 0; 742 core.int buildCounterCommentFeed = 0;
743 buildCommentFeed() { 743 buildCommentFeed() {
744 var o = new api.CommentFeed(); 744 var o = new api.CommentFeed();
745 buildCounterCommentFeed++; 745 buildCounterCommentFeed++;
746 if (buildCounterCommentFeed < 3) { 746 if (buildCounterCommentFeed < 3) {
747 o.etag = "foo"; 747 o.etag = "foo";
748 o.id = "foo"; 748 o.id = "foo";
749 o.items = buildUnnamed149(); 749 o.items = buildUnnamed985();
750 o.kind = "foo"; 750 o.kind = "foo";
751 o.nextLink = "foo"; 751 o.nextLink = "foo";
752 o.nextPageToken = "foo"; 752 o.nextPageToken = "foo";
753 o.title = "foo"; 753 o.title = "foo";
754 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 754 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
755 } 755 }
756 buildCounterCommentFeed--; 756 buildCounterCommentFeed--;
757 return o; 757 return o;
758 } 758 }
759 759
760 checkCommentFeed(api.CommentFeed o) { 760 checkCommentFeed(api.CommentFeed o) {
761 buildCounterCommentFeed++; 761 buildCounterCommentFeed++;
762 if (buildCounterCommentFeed < 3) { 762 if (buildCounterCommentFeed < 3) {
763 unittest.expect(o.etag, unittest.equals('foo')); 763 unittest.expect(o.etag, unittest.equals('foo'));
764 unittest.expect(o.id, unittest.equals('foo')); 764 unittest.expect(o.id, unittest.equals('foo'));
765 checkUnnamed149(o.items); 765 checkUnnamed985(o.items);
766 unittest.expect(o.kind, unittest.equals('foo')); 766 unittest.expect(o.kind, unittest.equals('foo'));
767 unittest.expect(o.nextLink, unittest.equals('foo')); 767 unittest.expect(o.nextLink, unittest.equals('foo'));
768 unittest.expect(o.nextPageToken, unittest.equals('foo')); 768 unittest.expect(o.nextPageToken, unittest.equals('foo'));
769 unittest.expect(o.title, unittest.equals('foo')); 769 unittest.expect(o.title, unittest.equals('foo'));
770 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 770 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
771 } 771 }
772 buildCounterCommentFeed--; 772 buildCounterCommentFeed--;
773 } 773 }
774 774
775 buildUnnamed150() { 775 buildUnnamed986() {
776 var o = new core.List<core.String>(); 776 var o = new core.List<core.String>();
777 o.add("foo"); 777 o.add("foo");
778 o.add("foo"); 778 o.add("foo");
779 return o; 779 return o;
780 } 780 }
781 781
782 checkUnnamed150(core.List<core.String> o) { 782 checkUnnamed986(core.List<core.String> o) {
783 unittest.expect(o, unittest.hasLength(2)); 783 unittest.expect(o, unittest.hasLength(2));
784 unittest.expect(o[0], unittest.equals('foo')); 784 unittest.expect(o[0], unittest.equals('foo'));
785 unittest.expect(o[1], unittest.equals('foo')); 785 unittest.expect(o[1], unittest.equals('foo'));
786 } 786 }
787 787
788 buildUnnamed151() { 788 buildUnnamed987() {
789 var o = new core.List<api.ItemScope>(); 789 var o = new core.List<api.ItemScope>();
790 o.add(buildItemScope()); 790 o.add(buildItemScope());
791 o.add(buildItemScope()); 791 o.add(buildItemScope());
792 return o; 792 return o;
793 } 793 }
794 794
795 checkUnnamed151(core.List<api.ItemScope> o) { 795 checkUnnamed987(core.List<api.ItemScope> o) {
796 unittest.expect(o, unittest.hasLength(2)); 796 unittest.expect(o, unittest.hasLength(2));
797 checkItemScope(o[0]); 797 checkItemScope(o[0]);
798 checkItemScope(o[1]); 798 checkItemScope(o[1]);
799 } 799 }
800 800
801 buildUnnamed152() { 801 buildUnnamed988() {
802 var o = new core.List<api.ItemScope>(); 802 var o = new core.List<api.ItemScope>();
803 o.add(buildItemScope()); 803 o.add(buildItemScope());
804 o.add(buildItemScope()); 804 o.add(buildItemScope());
805 return o; 805 return o;
806 } 806 }
807 807
808 checkUnnamed152(core.List<api.ItemScope> o) { 808 checkUnnamed988(core.List<api.ItemScope> o) {
809 unittest.expect(o, unittest.hasLength(2)); 809 unittest.expect(o, unittest.hasLength(2));
810 checkItemScope(o[0]); 810 checkItemScope(o[0]);
811 checkItemScope(o[1]); 811 checkItemScope(o[1]);
812 } 812 }
813 813
814 buildUnnamed153() { 814 buildUnnamed989() {
815 var o = new core.List<api.ItemScope>(); 815 var o = new core.List<api.ItemScope>();
816 o.add(buildItemScope()); 816 o.add(buildItemScope());
817 o.add(buildItemScope()); 817 o.add(buildItemScope());
818 return o; 818 return o;
819 } 819 }
820 820
821 checkUnnamed153(core.List<api.ItemScope> o) { 821 checkUnnamed989(core.List<api.ItemScope> o) {
822 unittest.expect(o, unittest.hasLength(2)); 822 unittest.expect(o, unittest.hasLength(2));
823 checkItemScope(o[0]); 823 checkItemScope(o[0]);
824 checkItemScope(o[1]); 824 checkItemScope(o[1]);
825 } 825 }
826 826
827 buildUnnamed154() { 827 buildUnnamed990() {
828 var o = new core.List<api.ItemScope>(); 828 var o = new core.List<api.ItemScope>();
829 o.add(buildItemScope()); 829 o.add(buildItemScope());
830 o.add(buildItemScope()); 830 o.add(buildItemScope());
831 return o; 831 return o;
832 } 832 }
833 833
834 checkUnnamed154(core.List<api.ItemScope> o) { 834 checkUnnamed990(core.List<api.ItemScope> o) {
835 unittest.expect(o, unittest.hasLength(2)); 835 unittest.expect(o, unittest.hasLength(2));
836 checkItemScope(o[0]); 836 checkItemScope(o[0]);
837 checkItemScope(o[1]); 837 checkItemScope(o[1]);
838 } 838 }
839 839
840 buildUnnamed155() { 840 buildUnnamed991() {
841 var o = new core.List<api.ItemScope>(); 841 var o = new core.List<api.ItemScope>();
842 o.add(buildItemScope()); 842 o.add(buildItemScope());
843 o.add(buildItemScope()); 843 o.add(buildItemScope());
844 return o; 844 return o;
845 } 845 }
846 846
847 checkUnnamed155(core.List<api.ItemScope> o) { 847 checkUnnamed991(core.List<api.ItemScope> o) {
848 unittest.expect(o, unittest.hasLength(2)); 848 unittest.expect(o, unittest.hasLength(2));
849 checkItemScope(o[0]); 849 checkItemScope(o[0]);
850 checkItemScope(o[1]); 850 checkItemScope(o[1]);
851 } 851 }
852 852
853 core.int buildCounterItemScope = 0; 853 core.int buildCounterItemScope = 0;
854 buildItemScope() { 854 buildItemScope() {
855 var o = new api.ItemScope(); 855 var o = new api.ItemScope();
856 buildCounterItemScope++; 856 buildCounterItemScope++;
857 if (buildCounterItemScope < 3) { 857 if (buildCounterItemScope < 3) {
858 o.about = buildItemScope(); 858 o.about = buildItemScope();
859 o.additionalName = buildUnnamed150(); 859 o.additionalName = buildUnnamed986();
860 o.address = buildItemScope(); 860 o.address = buildItemScope();
861 o.addressCountry = "foo"; 861 o.addressCountry = "foo";
862 o.addressLocality = "foo"; 862 o.addressLocality = "foo";
863 o.addressRegion = "foo"; 863 o.addressRegion = "foo";
864 o.associatedMedia = buildUnnamed151(); 864 o.associatedMedia = buildUnnamed987();
865 o.attendeeCount = 42; 865 o.attendeeCount = 42;
866 o.attendees = buildUnnamed152(); 866 o.attendees = buildUnnamed988();
867 o.audio = buildItemScope(); 867 o.audio = buildItemScope();
868 o.author = buildUnnamed153(); 868 o.author = buildUnnamed989();
869 o.bestRating = "foo"; 869 o.bestRating = "foo";
870 o.birthDate = "foo"; 870 o.birthDate = "foo";
871 o.byArtist = buildItemScope(); 871 o.byArtist = buildItemScope();
872 o.caption = "foo"; 872 o.caption = "foo";
873 o.contentSize = "foo"; 873 o.contentSize = "foo";
874 o.contentUrl = "foo"; 874 o.contentUrl = "foo";
875 o.contributor = buildUnnamed154(); 875 o.contributor = buildUnnamed990();
876 o.dateCreated = "foo"; 876 o.dateCreated = "foo";
877 o.dateModified = "foo"; 877 o.dateModified = "foo";
878 o.datePublished = "foo"; 878 o.datePublished = "foo";
879 o.description = "foo"; 879 o.description = "foo";
880 o.duration = "foo"; 880 o.duration = "foo";
881 o.embedUrl = "foo"; 881 o.embedUrl = "foo";
882 o.endDate = "foo"; 882 o.endDate = "foo";
883 o.familyName = "foo"; 883 o.familyName = "foo";
884 o.gender = "foo"; 884 o.gender = "foo";
885 o.geo = buildItemScope(); 885 o.geo = buildItemScope();
886 o.givenName = "foo"; 886 o.givenName = "foo";
887 o.height = "foo"; 887 o.height = "foo";
888 o.id = "foo"; 888 o.id = "foo";
889 o.image = "foo"; 889 o.image = "foo";
890 o.inAlbum = buildItemScope(); 890 o.inAlbum = buildItemScope();
891 o.kind = "foo"; 891 o.kind = "foo";
892 o.latitude = 42.0; 892 o.latitude = 42.0;
893 o.location = buildItemScope(); 893 o.location = buildItemScope();
894 o.longitude = 42.0; 894 o.longitude = 42.0;
895 o.name = "foo"; 895 o.name = "foo";
896 o.partOfTVSeries = buildItemScope(); 896 o.partOfTVSeries = buildItemScope();
897 o.performers = buildUnnamed155(); 897 o.performers = buildUnnamed991();
898 o.playerType = "foo"; 898 o.playerType = "foo";
899 o.postOfficeBoxNumber = "foo"; 899 o.postOfficeBoxNumber = "foo";
900 o.postalCode = "foo"; 900 o.postalCode = "foo";
901 o.ratingValue = "foo"; 901 o.ratingValue = "foo";
902 o.reviewRating = buildItemScope(); 902 o.reviewRating = buildItemScope();
903 o.startDate = "foo"; 903 o.startDate = "foo";
904 o.streetAddress = "foo"; 904 o.streetAddress = "foo";
905 o.text = "foo"; 905 o.text = "foo";
906 o.thumbnail = buildItemScope(); 906 o.thumbnail = buildItemScope();
907 o.thumbnailUrl = "foo"; 907 o.thumbnailUrl = "foo";
908 o.tickerSymbol = "foo"; 908 o.tickerSymbol = "foo";
909 o.type = "foo"; 909 o.type = "foo";
910 o.url = "foo"; 910 o.url = "foo";
911 o.width = "foo"; 911 o.width = "foo";
912 o.worstRating = "foo"; 912 o.worstRating = "foo";
913 } 913 }
914 buildCounterItemScope--; 914 buildCounterItemScope--;
915 return o; 915 return o;
916 } 916 }
917 917
918 checkItemScope(api.ItemScope o) { 918 checkItemScope(api.ItemScope o) {
919 buildCounterItemScope++; 919 buildCounterItemScope++;
920 if (buildCounterItemScope < 3) { 920 if (buildCounterItemScope < 3) {
921 checkItemScope(o.about); 921 checkItemScope(o.about);
922 checkUnnamed150(o.additionalName); 922 checkUnnamed986(o.additionalName);
923 checkItemScope(o.address); 923 checkItemScope(o.address);
924 unittest.expect(o.addressCountry, unittest.equals('foo')); 924 unittest.expect(o.addressCountry, unittest.equals('foo'));
925 unittest.expect(o.addressLocality, unittest.equals('foo')); 925 unittest.expect(o.addressLocality, unittest.equals('foo'));
926 unittest.expect(o.addressRegion, unittest.equals('foo')); 926 unittest.expect(o.addressRegion, unittest.equals('foo'));
927 checkUnnamed151(o.associatedMedia); 927 checkUnnamed987(o.associatedMedia);
928 unittest.expect(o.attendeeCount, unittest.equals(42)); 928 unittest.expect(o.attendeeCount, unittest.equals(42));
929 checkUnnamed152(o.attendees); 929 checkUnnamed988(o.attendees);
930 checkItemScope(o.audio); 930 checkItemScope(o.audio);
931 checkUnnamed153(o.author); 931 checkUnnamed989(o.author);
932 unittest.expect(o.bestRating, unittest.equals('foo')); 932 unittest.expect(o.bestRating, unittest.equals('foo'));
933 unittest.expect(o.birthDate, unittest.equals('foo')); 933 unittest.expect(o.birthDate, unittest.equals('foo'));
934 checkItemScope(o.byArtist); 934 checkItemScope(o.byArtist);
935 unittest.expect(o.caption, unittest.equals('foo')); 935 unittest.expect(o.caption, unittest.equals('foo'));
936 unittest.expect(o.contentSize, unittest.equals('foo')); 936 unittest.expect(o.contentSize, unittest.equals('foo'));
937 unittest.expect(o.contentUrl, unittest.equals('foo')); 937 unittest.expect(o.contentUrl, unittest.equals('foo'));
938 checkUnnamed154(o.contributor); 938 checkUnnamed990(o.contributor);
939 unittest.expect(o.dateCreated, unittest.equals('foo')); 939 unittest.expect(o.dateCreated, unittest.equals('foo'));
940 unittest.expect(o.dateModified, unittest.equals('foo')); 940 unittest.expect(o.dateModified, unittest.equals('foo'));
941 unittest.expect(o.datePublished, unittest.equals('foo')); 941 unittest.expect(o.datePublished, unittest.equals('foo'));
942 unittest.expect(o.description, unittest.equals('foo')); 942 unittest.expect(o.description, unittest.equals('foo'));
943 unittest.expect(o.duration, unittest.equals('foo')); 943 unittest.expect(o.duration, unittest.equals('foo'));
944 unittest.expect(o.embedUrl, unittest.equals('foo')); 944 unittest.expect(o.embedUrl, unittest.equals('foo'));
945 unittest.expect(o.endDate, unittest.equals('foo')); 945 unittest.expect(o.endDate, unittest.equals('foo'));
946 unittest.expect(o.familyName, unittest.equals('foo')); 946 unittest.expect(o.familyName, unittest.equals('foo'));
947 unittest.expect(o.gender, unittest.equals('foo')); 947 unittest.expect(o.gender, unittest.equals('foo'));
948 checkItemScope(o.geo); 948 checkItemScope(o.geo);
949 unittest.expect(o.givenName, unittest.equals('foo')); 949 unittest.expect(o.givenName, unittest.equals('foo'));
950 unittest.expect(o.height, unittest.equals('foo')); 950 unittest.expect(o.height, unittest.equals('foo'));
951 unittest.expect(o.id, unittest.equals('foo')); 951 unittest.expect(o.id, unittest.equals('foo'));
952 unittest.expect(o.image, unittest.equals('foo')); 952 unittest.expect(o.image, unittest.equals('foo'));
953 checkItemScope(o.inAlbum); 953 checkItemScope(o.inAlbum);
954 unittest.expect(o.kind, unittest.equals('foo')); 954 unittest.expect(o.kind, unittest.equals('foo'));
955 unittest.expect(o.latitude, unittest.equals(42.0)); 955 unittest.expect(o.latitude, unittest.equals(42.0));
956 checkItemScope(o.location); 956 checkItemScope(o.location);
957 unittest.expect(o.longitude, unittest.equals(42.0)); 957 unittest.expect(o.longitude, unittest.equals(42.0));
958 unittest.expect(o.name, unittest.equals('foo')); 958 unittest.expect(o.name, unittest.equals('foo'));
959 checkItemScope(o.partOfTVSeries); 959 checkItemScope(o.partOfTVSeries);
960 checkUnnamed155(o.performers); 960 checkUnnamed991(o.performers);
961 unittest.expect(o.playerType, unittest.equals('foo')); 961 unittest.expect(o.playerType, unittest.equals('foo'));
962 unittest.expect(o.postOfficeBoxNumber, unittest.equals('foo')); 962 unittest.expect(o.postOfficeBoxNumber, unittest.equals('foo'));
963 unittest.expect(o.postalCode, unittest.equals('foo')); 963 unittest.expect(o.postalCode, unittest.equals('foo'));
964 unittest.expect(o.ratingValue, unittest.equals('foo')); 964 unittest.expect(o.ratingValue, unittest.equals('foo'));
965 checkItemScope(o.reviewRating); 965 checkItemScope(o.reviewRating);
966 unittest.expect(o.startDate, unittest.equals('foo')); 966 unittest.expect(o.startDate, unittest.equals('foo'));
967 unittest.expect(o.streetAddress, unittest.equals('foo')); 967 unittest.expect(o.streetAddress, unittest.equals('foo'));
968 unittest.expect(o.text, unittest.equals('foo')); 968 unittest.expect(o.text, unittest.equals('foo'));
969 checkItemScope(o.thumbnail); 969 checkItemScope(o.thumbnail);
970 unittest.expect(o.thumbnailUrl, unittest.equals('foo')); 970 unittest.expect(o.thumbnailUrl, unittest.equals('foo'));
(...skipping 30 matching lines...) Expand all
1001 unittest.expect(o.kind, unittest.equals('foo')); 1001 unittest.expect(o.kind, unittest.equals('foo'));
1002 checkItemScope(o.object); 1002 checkItemScope(o.object);
1003 checkItemScope(o.result); 1003 checkItemScope(o.result);
1004 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02"))); 1004 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02")));
1005 checkItemScope(o.target); 1005 checkItemScope(o.target);
1006 unittest.expect(o.type, unittest.equals('foo')); 1006 unittest.expect(o.type, unittest.equals('foo'));
1007 } 1007 }
1008 buildCounterMoment--; 1008 buildCounterMoment--;
1009 } 1009 }
1010 1010
1011 buildUnnamed156() { 1011 buildUnnamed992() {
1012 var o = new core.List<api.Moment>(); 1012 var o = new core.List<api.Moment>();
1013 o.add(buildMoment()); 1013 o.add(buildMoment());
1014 o.add(buildMoment()); 1014 o.add(buildMoment());
1015 return o; 1015 return o;
1016 } 1016 }
1017 1017
1018 checkUnnamed156(core.List<api.Moment> o) { 1018 checkUnnamed992(core.List<api.Moment> o) {
1019 unittest.expect(o, unittest.hasLength(2)); 1019 unittest.expect(o, unittest.hasLength(2));
1020 checkMoment(o[0]); 1020 checkMoment(o[0]);
1021 checkMoment(o[1]); 1021 checkMoment(o[1]);
1022 } 1022 }
1023 1023
1024 core.int buildCounterMomentsFeed = 0; 1024 core.int buildCounterMomentsFeed = 0;
1025 buildMomentsFeed() { 1025 buildMomentsFeed() {
1026 var o = new api.MomentsFeed(); 1026 var o = new api.MomentsFeed();
1027 buildCounterMomentsFeed++; 1027 buildCounterMomentsFeed++;
1028 if (buildCounterMomentsFeed < 3) { 1028 if (buildCounterMomentsFeed < 3) {
1029 o.etag = "foo"; 1029 o.etag = "foo";
1030 o.items = buildUnnamed156(); 1030 o.items = buildUnnamed992();
1031 o.kind = "foo"; 1031 o.kind = "foo";
1032 o.nextLink = "foo"; 1032 o.nextLink = "foo";
1033 o.nextPageToken = "foo"; 1033 o.nextPageToken = "foo";
1034 o.selfLink = "foo"; 1034 o.selfLink = "foo";
1035 o.title = "foo"; 1035 o.title = "foo";
1036 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 1036 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
1037 } 1037 }
1038 buildCounterMomentsFeed--; 1038 buildCounterMomentsFeed--;
1039 return o; 1039 return o;
1040 } 1040 }
1041 1041
1042 checkMomentsFeed(api.MomentsFeed o) { 1042 checkMomentsFeed(api.MomentsFeed o) {
1043 buildCounterMomentsFeed++; 1043 buildCounterMomentsFeed++;
1044 if (buildCounterMomentsFeed < 3) { 1044 if (buildCounterMomentsFeed < 3) {
1045 unittest.expect(o.etag, unittest.equals('foo')); 1045 unittest.expect(o.etag, unittest.equals('foo'));
1046 checkUnnamed156(o.items); 1046 checkUnnamed992(o.items);
1047 unittest.expect(o.kind, unittest.equals('foo')); 1047 unittest.expect(o.kind, unittest.equals('foo'));
1048 unittest.expect(o.nextLink, unittest.equals('foo')); 1048 unittest.expect(o.nextLink, unittest.equals('foo'));
1049 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1049 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1050 unittest.expect(o.selfLink, unittest.equals('foo')); 1050 unittest.expect(o.selfLink, unittest.equals('foo'));
1051 unittest.expect(o.title, unittest.equals('foo')); 1051 unittest.expect(o.title, unittest.equals('foo'));
1052 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1052 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1053 } 1053 }
1054 buildCounterMomentsFeed--; 1054 buildCounterMomentsFeed--;
1055 } 1055 }
1056 1056
1057 buildUnnamed157() { 1057 buildUnnamed993() {
1058 var o = new core.List<api.Person>(); 1058 var o = new core.List<api.Person>();
1059 o.add(buildPerson()); 1059 o.add(buildPerson());
1060 o.add(buildPerson()); 1060 o.add(buildPerson());
1061 return o; 1061 return o;
1062 } 1062 }
1063 1063
1064 checkUnnamed157(core.List<api.Person> o) { 1064 checkUnnamed993(core.List<api.Person> o) {
1065 unittest.expect(o, unittest.hasLength(2)); 1065 unittest.expect(o, unittest.hasLength(2));
1066 checkPerson(o[0]); 1066 checkPerson(o[0]);
1067 checkPerson(o[1]); 1067 checkPerson(o[1]);
1068 } 1068 }
1069 1069
1070 core.int buildCounterPeopleFeed = 0; 1070 core.int buildCounterPeopleFeed = 0;
1071 buildPeopleFeed() { 1071 buildPeopleFeed() {
1072 var o = new api.PeopleFeed(); 1072 var o = new api.PeopleFeed();
1073 buildCounterPeopleFeed++; 1073 buildCounterPeopleFeed++;
1074 if (buildCounterPeopleFeed < 3) { 1074 if (buildCounterPeopleFeed < 3) {
1075 o.etag = "foo"; 1075 o.etag = "foo";
1076 o.items = buildUnnamed157(); 1076 o.items = buildUnnamed993();
1077 o.kind = "foo"; 1077 o.kind = "foo";
1078 o.nextPageToken = "foo"; 1078 o.nextPageToken = "foo";
1079 o.selfLink = "foo"; 1079 o.selfLink = "foo";
1080 o.title = "foo"; 1080 o.title = "foo";
1081 o.totalItems = 42; 1081 o.totalItems = 42;
1082 } 1082 }
1083 buildCounterPeopleFeed--; 1083 buildCounterPeopleFeed--;
1084 return o; 1084 return o;
1085 } 1085 }
1086 1086
1087 checkPeopleFeed(api.PeopleFeed o) { 1087 checkPeopleFeed(api.PeopleFeed o) {
1088 buildCounterPeopleFeed++; 1088 buildCounterPeopleFeed++;
1089 if (buildCounterPeopleFeed < 3) { 1089 if (buildCounterPeopleFeed < 3) {
1090 unittest.expect(o.etag, unittest.equals('foo')); 1090 unittest.expect(o.etag, unittest.equals('foo'));
1091 checkUnnamed157(o.items); 1091 checkUnnamed993(o.items);
1092 unittest.expect(o.kind, unittest.equals('foo')); 1092 unittest.expect(o.kind, unittest.equals('foo'));
1093 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1093 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1094 unittest.expect(o.selfLink, unittest.equals('foo')); 1094 unittest.expect(o.selfLink, unittest.equals('foo'));
1095 unittest.expect(o.title, unittest.equals('foo')); 1095 unittest.expect(o.title, unittest.equals('foo'));
1096 unittest.expect(o.totalItems, unittest.equals(42)); 1096 unittest.expect(o.totalItems, unittest.equals(42));
1097 } 1097 }
1098 buildCounterPeopleFeed--; 1098 buildCounterPeopleFeed--;
1099 } 1099 }
1100 1100
1101 core.int buildCounterPersonAgeRange = 0; 1101 core.int buildCounterPersonAgeRange = 0;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 1200
1201 checkPersonEmails(api.PersonEmails o) { 1201 checkPersonEmails(api.PersonEmails o) {
1202 buildCounterPersonEmails++; 1202 buildCounterPersonEmails++;
1203 if (buildCounterPersonEmails < 3) { 1203 if (buildCounterPersonEmails < 3) {
1204 unittest.expect(o.type, unittest.equals('foo')); 1204 unittest.expect(o.type, unittest.equals('foo'));
1205 unittest.expect(o.value, unittest.equals('foo')); 1205 unittest.expect(o.value, unittest.equals('foo'));
1206 } 1206 }
1207 buildCounterPersonEmails--; 1207 buildCounterPersonEmails--;
1208 } 1208 }
1209 1209
1210 buildUnnamed158() { 1210 buildUnnamed994() {
1211 var o = new core.List<api.PersonEmails>(); 1211 var o = new core.List<api.PersonEmails>();
1212 o.add(buildPersonEmails()); 1212 o.add(buildPersonEmails());
1213 o.add(buildPersonEmails()); 1213 o.add(buildPersonEmails());
1214 return o; 1214 return o;
1215 } 1215 }
1216 1216
1217 checkUnnamed158(core.List<api.PersonEmails> o) { 1217 checkUnnamed994(core.List<api.PersonEmails> o) {
1218 unittest.expect(o, unittest.hasLength(2)); 1218 unittest.expect(o, unittest.hasLength(2));
1219 checkPersonEmails(o[0]); 1219 checkPersonEmails(o[0]);
1220 checkPersonEmails(o[1]); 1220 checkPersonEmails(o[1]);
1221 } 1221 }
1222 1222
1223 core.int buildCounterPersonImage = 0; 1223 core.int buildCounterPersonImage = 0;
1224 buildPersonImage() { 1224 buildPersonImage() {
1225 var o = new api.PersonImage(); 1225 var o = new api.PersonImage();
1226 buildCounterPersonImage++; 1226 buildCounterPersonImage++;
1227 if (buildCounterPersonImage < 3) { 1227 if (buildCounterPersonImage < 3) {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 unittest.expect(o.location, unittest.equals('foo')); 1298 unittest.expect(o.location, unittest.equals('foo'));
1299 unittest.expect(o.name, unittest.equals('foo')); 1299 unittest.expect(o.name, unittest.equals('foo'));
1300 unittest.expect(o.primary, unittest.isTrue); 1300 unittest.expect(o.primary, unittest.isTrue);
1301 unittest.expect(o.startDate, unittest.equals('foo')); 1301 unittest.expect(o.startDate, unittest.equals('foo'));
1302 unittest.expect(o.title, unittest.equals('foo')); 1302 unittest.expect(o.title, unittest.equals('foo'));
1303 unittest.expect(o.type, unittest.equals('foo')); 1303 unittest.expect(o.type, unittest.equals('foo'));
1304 } 1304 }
1305 buildCounterPersonOrganizations--; 1305 buildCounterPersonOrganizations--;
1306 } 1306 }
1307 1307
1308 buildUnnamed159() { 1308 buildUnnamed995() {
1309 var o = new core.List<api.PersonOrganizations>(); 1309 var o = new core.List<api.PersonOrganizations>();
1310 o.add(buildPersonOrganizations()); 1310 o.add(buildPersonOrganizations());
1311 o.add(buildPersonOrganizations()); 1311 o.add(buildPersonOrganizations());
1312 return o; 1312 return o;
1313 } 1313 }
1314 1314
1315 checkUnnamed159(core.List<api.PersonOrganizations> o) { 1315 checkUnnamed995(core.List<api.PersonOrganizations> o) {
1316 unittest.expect(o, unittest.hasLength(2)); 1316 unittest.expect(o, unittest.hasLength(2));
1317 checkPersonOrganizations(o[0]); 1317 checkPersonOrganizations(o[0]);
1318 checkPersonOrganizations(o[1]); 1318 checkPersonOrganizations(o[1]);
1319 } 1319 }
1320 1320
1321 core.int buildCounterPersonPlacesLived = 0; 1321 core.int buildCounterPersonPlacesLived = 0;
1322 buildPersonPlacesLived() { 1322 buildPersonPlacesLived() {
1323 var o = new api.PersonPlacesLived(); 1323 var o = new api.PersonPlacesLived();
1324 buildCounterPersonPlacesLived++; 1324 buildCounterPersonPlacesLived++;
1325 if (buildCounterPersonPlacesLived < 3) { 1325 if (buildCounterPersonPlacesLived < 3) {
1326 o.primary = true; 1326 o.primary = true;
1327 o.value = "foo"; 1327 o.value = "foo";
1328 } 1328 }
1329 buildCounterPersonPlacesLived--; 1329 buildCounterPersonPlacesLived--;
1330 return o; 1330 return o;
1331 } 1331 }
1332 1332
1333 checkPersonPlacesLived(api.PersonPlacesLived o) { 1333 checkPersonPlacesLived(api.PersonPlacesLived o) {
1334 buildCounterPersonPlacesLived++; 1334 buildCounterPersonPlacesLived++;
1335 if (buildCounterPersonPlacesLived < 3) { 1335 if (buildCounterPersonPlacesLived < 3) {
1336 unittest.expect(o.primary, unittest.isTrue); 1336 unittest.expect(o.primary, unittest.isTrue);
1337 unittest.expect(o.value, unittest.equals('foo')); 1337 unittest.expect(o.value, unittest.equals('foo'));
1338 } 1338 }
1339 buildCounterPersonPlacesLived--; 1339 buildCounterPersonPlacesLived--;
1340 } 1340 }
1341 1341
1342 buildUnnamed160() { 1342 buildUnnamed996() {
1343 var o = new core.List<api.PersonPlacesLived>(); 1343 var o = new core.List<api.PersonPlacesLived>();
1344 o.add(buildPersonPlacesLived()); 1344 o.add(buildPersonPlacesLived());
1345 o.add(buildPersonPlacesLived()); 1345 o.add(buildPersonPlacesLived());
1346 return o; 1346 return o;
1347 } 1347 }
1348 1348
1349 checkUnnamed160(core.List<api.PersonPlacesLived> o) { 1349 checkUnnamed996(core.List<api.PersonPlacesLived> o) {
1350 unittest.expect(o, unittest.hasLength(2)); 1350 unittest.expect(o, unittest.hasLength(2));
1351 checkPersonPlacesLived(o[0]); 1351 checkPersonPlacesLived(o[0]);
1352 checkPersonPlacesLived(o[1]); 1352 checkPersonPlacesLived(o[1]);
1353 } 1353 }
1354 1354
1355 core.int buildCounterPersonUrls = 0; 1355 core.int buildCounterPersonUrls = 0;
1356 buildPersonUrls() { 1356 buildPersonUrls() {
1357 var o = new api.PersonUrls(); 1357 var o = new api.PersonUrls();
1358 buildCounterPersonUrls++; 1358 buildCounterPersonUrls++;
1359 if (buildCounterPersonUrls < 3) { 1359 if (buildCounterPersonUrls < 3) {
1360 o.label = "foo"; 1360 o.label = "foo";
1361 o.type = "foo"; 1361 o.type = "foo";
1362 o.value = "foo"; 1362 o.value = "foo";
1363 } 1363 }
1364 buildCounterPersonUrls--; 1364 buildCounterPersonUrls--;
1365 return o; 1365 return o;
1366 } 1366 }
1367 1367
1368 checkPersonUrls(api.PersonUrls o) { 1368 checkPersonUrls(api.PersonUrls o) {
1369 buildCounterPersonUrls++; 1369 buildCounterPersonUrls++;
1370 if (buildCounterPersonUrls < 3) { 1370 if (buildCounterPersonUrls < 3) {
1371 unittest.expect(o.label, unittest.equals('foo')); 1371 unittest.expect(o.label, unittest.equals('foo'));
1372 unittest.expect(o.type, unittest.equals('foo')); 1372 unittest.expect(o.type, unittest.equals('foo'));
1373 unittest.expect(o.value, unittest.equals('foo')); 1373 unittest.expect(o.value, unittest.equals('foo'));
1374 } 1374 }
1375 buildCounterPersonUrls--; 1375 buildCounterPersonUrls--;
1376 } 1376 }
1377 1377
1378 buildUnnamed161() { 1378 buildUnnamed997() {
1379 var o = new core.List<api.PersonUrls>(); 1379 var o = new core.List<api.PersonUrls>();
1380 o.add(buildPersonUrls()); 1380 o.add(buildPersonUrls());
1381 o.add(buildPersonUrls()); 1381 o.add(buildPersonUrls());
1382 return o; 1382 return o;
1383 } 1383 }
1384 1384
1385 checkUnnamed161(core.List<api.PersonUrls> o) { 1385 checkUnnamed997(core.List<api.PersonUrls> o) {
1386 unittest.expect(o, unittest.hasLength(2)); 1386 unittest.expect(o, unittest.hasLength(2));
1387 checkPersonUrls(o[0]); 1387 checkPersonUrls(o[0]);
1388 checkPersonUrls(o[1]); 1388 checkPersonUrls(o[1]);
1389 } 1389 }
1390 1390
1391 core.int buildCounterPerson = 0; 1391 core.int buildCounterPerson = 0;
1392 buildPerson() { 1392 buildPerson() {
1393 var o = new api.Person(); 1393 var o = new api.Person();
1394 buildCounterPerson++; 1394 buildCounterPerson++;
1395 if (buildCounterPerson < 3) { 1395 if (buildCounterPerson < 3) {
1396 o.aboutMe = "foo"; 1396 o.aboutMe = "foo";
1397 o.ageRange = buildPersonAgeRange(); 1397 o.ageRange = buildPersonAgeRange();
1398 o.birthday = "foo"; 1398 o.birthday = "foo";
1399 o.braggingRights = "foo"; 1399 o.braggingRights = "foo";
1400 o.circledByCount = 42; 1400 o.circledByCount = 42;
1401 o.cover = buildPersonCover(); 1401 o.cover = buildPersonCover();
1402 o.currentLocation = "foo"; 1402 o.currentLocation = "foo";
1403 o.displayName = "foo"; 1403 o.displayName = "foo";
1404 o.domain = "foo"; 1404 o.domain = "foo";
1405 o.emails = buildUnnamed158(); 1405 o.emails = buildUnnamed994();
1406 o.etag = "foo"; 1406 o.etag = "foo";
1407 o.gender = "foo"; 1407 o.gender = "foo";
1408 o.id = "foo"; 1408 o.id = "foo";
1409 o.image = buildPersonImage(); 1409 o.image = buildPersonImage();
1410 o.isPlusUser = true; 1410 o.isPlusUser = true;
1411 o.kind = "foo"; 1411 o.kind = "foo";
1412 o.language = "foo"; 1412 o.language = "foo";
1413 o.name = buildPersonName(); 1413 o.name = buildPersonName();
1414 o.nickname = "foo"; 1414 o.nickname = "foo";
1415 o.objectType = "foo"; 1415 o.objectType = "foo";
1416 o.occupation = "foo"; 1416 o.occupation = "foo";
1417 o.organizations = buildUnnamed159(); 1417 o.organizations = buildUnnamed995();
1418 o.placesLived = buildUnnamed160(); 1418 o.placesLived = buildUnnamed996();
1419 o.plusOneCount = 42; 1419 o.plusOneCount = 42;
1420 o.relationshipStatus = "foo"; 1420 o.relationshipStatus = "foo";
1421 o.skills = "foo"; 1421 o.skills = "foo";
1422 o.tagline = "foo"; 1422 o.tagline = "foo";
1423 o.url = "foo"; 1423 o.url = "foo";
1424 o.urls = buildUnnamed161(); 1424 o.urls = buildUnnamed997();
1425 o.verified = true; 1425 o.verified = true;
1426 } 1426 }
1427 buildCounterPerson--; 1427 buildCounterPerson--;
1428 return o; 1428 return o;
1429 } 1429 }
1430 1430
1431 checkPerson(api.Person o) { 1431 checkPerson(api.Person o) {
1432 buildCounterPerson++; 1432 buildCounterPerson++;
1433 if (buildCounterPerson < 3) { 1433 if (buildCounterPerson < 3) {
1434 unittest.expect(o.aboutMe, unittest.equals('foo')); 1434 unittest.expect(o.aboutMe, unittest.equals('foo'));
1435 checkPersonAgeRange(o.ageRange); 1435 checkPersonAgeRange(o.ageRange);
1436 unittest.expect(o.birthday, unittest.equals('foo')); 1436 unittest.expect(o.birthday, unittest.equals('foo'));
1437 unittest.expect(o.braggingRights, unittest.equals('foo')); 1437 unittest.expect(o.braggingRights, unittest.equals('foo'));
1438 unittest.expect(o.circledByCount, unittest.equals(42)); 1438 unittest.expect(o.circledByCount, unittest.equals(42));
1439 checkPersonCover(o.cover); 1439 checkPersonCover(o.cover);
1440 unittest.expect(o.currentLocation, unittest.equals('foo')); 1440 unittest.expect(o.currentLocation, unittest.equals('foo'));
1441 unittest.expect(o.displayName, unittest.equals('foo')); 1441 unittest.expect(o.displayName, unittest.equals('foo'));
1442 unittest.expect(o.domain, unittest.equals('foo')); 1442 unittest.expect(o.domain, unittest.equals('foo'));
1443 checkUnnamed158(o.emails); 1443 checkUnnamed994(o.emails);
1444 unittest.expect(o.etag, unittest.equals('foo')); 1444 unittest.expect(o.etag, unittest.equals('foo'));
1445 unittest.expect(o.gender, unittest.equals('foo')); 1445 unittest.expect(o.gender, unittest.equals('foo'));
1446 unittest.expect(o.id, unittest.equals('foo')); 1446 unittest.expect(o.id, unittest.equals('foo'));
1447 checkPersonImage(o.image); 1447 checkPersonImage(o.image);
1448 unittest.expect(o.isPlusUser, unittest.isTrue); 1448 unittest.expect(o.isPlusUser, unittest.isTrue);
1449 unittest.expect(o.kind, unittest.equals('foo')); 1449 unittest.expect(o.kind, unittest.equals('foo'));
1450 unittest.expect(o.language, unittest.equals('foo')); 1450 unittest.expect(o.language, unittest.equals('foo'));
1451 checkPersonName(o.name); 1451 checkPersonName(o.name);
1452 unittest.expect(o.nickname, unittest.equals('foo')); 1452 unittest.expect(o.nickname, unittest.equals('foo'));
1453 unittest.expect(o.objectType, unittest.equals('foo')); 1453 unittest.expect(o.objectType, unittest.equals('foo'));
1454 unittest.expect(o.occupation, unittest.equals('foo')); 1454 unittest.expect(o.occupation, unittest.equals('foo'));
1455 checkUnnamed159(o.organizations); 1455 checkUnnamed995(o.organizations);
1456 checkUnnamed160(o.placesLived); 1456 checkUnnamed996(o.placesLived);
1457 unittest.expect(o.plusOneCount, unittest.equals(42)); 1457 unittest.expect(o.plusOneCount, unittest.equals(42));
1458 unittest.expect(o.relationshipStatus, unittest.equals('foo')); 1458 unittest.expect(o.relationshipStatus, unittest.equals('foo'));
1459 unittest.expect(o.skills, unittest.equals('foo')); 1459 unittest.expect(o.skills, unittest.equals('foo'));
1460 unittest.expect(o.tagline, unittest.equals('foo')); 1460 unittest.expect(o.tagline, unittest.equals('foo'));
1461 unittest.expect(o.url, unittest.equals('foo')); 1461 unittest.expect(o.url, unittest.equals('foo'));
1462 checkUnnamed161(o.urls); 1462 checkUnnamed997(o.urls);
1463 unittest.expect(o.verified, unittest.isTrue); 1463 unittest.expect(o.verified, unittest.isTrue);
1464 } 1464 }
1465 buildCounterPerson--; 1465 buildCounterPerson--;
1466 } 1466 }
1467 1467
1468 core.int buildCounterPlaceAddress = 0; 1468 core.int buildCounterPlaceAddress = 0;
1469 buildPlaceAddress() { 1469 buildPlaceAddress() {
1470 var o = new api.PlaceAddress(); 1470 var o = new api.PlaceAddress();
1471 buildCounterPlaceAddress++; 1471 buildCounterPlaceAddress++;
1472 if (buildCounterPlaceAddress < 3) { 1472 if (buildCounterPlaceAddress < 3) {
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 res.search(arg_query, language: arg_language, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { 2647 res.search(arg_query, language: arg_language, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.PeopleFeed response) {
2648 checkPeopleFeed(response); 2648 checkPeopleFeed(response);
2649 }))); 2649 })));
2650 }); 2650 });
2651 2651
2652 }); 2652 });
2653 2653
2654 2654
2655 } 2655 }
2656 2656
OLDNEW
« no previous file with comments | « generated/googleapis/test/pagespeedonline/v1_test.dart ('k') | generated/googleapis/test/plusdomains/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698