| OLD | NEW |
| 1 library googleapis.plusDomains.v1.test; | 1 library googleapis.plusDomains.v1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...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 buildUnnamed941() { | 54 buildUnnamed2004() { |
| 55 var o = new core.List<api.PlusDomainsAclentryResource>(); | 55 var o = new core.List<api.PlusDomainsAclentryResource>(); |
| 56 o.add(buildPlusDomainsAclentryResource()); | 56 o.add(buildPlusDomainsAclentryResource()); |
| 57 o.add(buildPlusDomainsAclentryResource()); | 57 o.add(buildPlusDomainsAclentryResource()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed941(core.List<api.PlusDomainsAclentryResource> o) { | 61 checkUnnamed2004(core.List<api.PlusDomainsAclentryResource> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkPlusDomainsAclentryResource(o[0]); | 63 checkPlusDomainsAclentryResource(o[0]); |
| 64 checkPlusDomainsAclentryResource(o[1]); | 64 checkPlusDomainsAclentryResource(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.domainRestricted = true; | 73 o.domainRestricted = true; |
| 74 o.items = buildUnnamed941(); | 74 o.items = buildUnnamed2004(); |
| 75 o.kind = "foo"; | 75 o.kind = "foo"; |
| 76 } | 76 } |
| 77 buildCounterAcl--; | 77 buildCounterAcl--; |
| 78 return o; | 78 return o; |
| 79 } | 79 } |
| 80 | 80 |
| 81 checkAcl(api.Acl o) { | 81 checkAcl(api.Acl o) { |
| 82 buildCounterAcl++; | 82 buildCounterAcl++; |
| 83 if (buildCounterAcl < 3) { | 83 if (buildCounterAcl < 3) { |
| 84 unittest.expect(o.description, unittest.equals('foo')); | 84 unittest.expect(o.description, unittest.equals('foo')); |
| 85 unittest.expect(o.domainRestricted, unittest.isTrue); | 85 unittest.expect(o.domainRestricted, unittest.isTrue); |
| 86 checkUnnamed941(o.items); | 86 checkUnnamed2004(o.items); |
| 87 unittest.expect(o.kind, unittest.equals('foo')); | 87 unittest.expect(o.kind, unittest.equals('foo')); |
| 88 } | 88 } |
| 89 buildCounterAcl--; | 89 buildCounterAcl--; |
| 90 } | 90 } |
| 91 | 91 |
| 92 core.int buildCounterActivityActorImage = 0; | 92 core.int buildCounterActivityActorImage = 0; |
| 93 buildActivityActorImage() { | 93 buildActivityActorImage() { |
| 94 var o = new api.ActivityActorImage(); | 94 var o = new api.ActivityActorImage(); |
| 95 buildCounterActivityActorImage++; | 95 buildCounterActivityActorImage++; |
| 96 if (buildCounterActivityActorImage < 3) { | 96 if (buildCounterActivityActorImage < 3) { |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 } | 283 } |
| 284 | 284 |
| 285 checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
viewThumbnails o) { | 285 checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
viewThumbnails o) { |
| 286 buildCounterActivityObjectAttachmentsPreviewThumbnails++; | 286 buildCounterActivityObjectAttachmentsPreviewThumbnails++; |
| 287 if (buildCounterActivityObjectAttachmentsPreviewThumbnails < 3) { | 287 if (buildCounterActivityObjectAttachmentsPreviewThumbnails < 3) { |
| 288 unittest.expect(o.url, unittest.equals('foo')); | 288 unittest.expect(o.url, unittest.equals('foo')); |
| 289 } | 289 } |
| 290 buildCounterActivityObjectAttachmentsPreviewThumbnails--; | 290 buildCounterActivityObjectAttachmentsPreviewThumbnails--; |
| 291 } | 291 } |
| 292 | 292 |
| 293 buildUnnamed942() { | 293 buildUnnamed2005() { |
| 294 var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); | 294 var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>(); |
| 295 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); | 295 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); |
| 296 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); | 296 o.add(buildActivityObjectAttachmentsPreviewThumbnails()); |
| 297 return o; | 297 return o; |
| 298 } | 298 } |
| 299 | 299 |
| 300 checkUnnamed942(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { | 300 checkUnnamed2005(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) { |
| 301 unittest.expect(o, unittest.hasLength(2)); | 301 unittest.expect(o, unittest.hasLength(2)); |
| 302 checkActivityObjectAttachmentsPreviewThumbnails(o[0]); | 302 checkActivityObjectAttachmentsPreviewThumbnails(o[0]); |
| 303 checkActivityObjectAttachmentsPreviewThumbnails(o[1]); | 303 checkActivityObjectAttachmentsPreviewThumbnails(o[1]); |
| 304 } | 304 } |
| 305 | 305 |
| 306 core.int buildCounterActivityObjectAttachmentsThumbnailsImage = 0; | 306 core.int buildCounterActivityObjectAttachmentsThumbnailsImage = 0; |
| 307 buildActivityObjectAttachmentsThumbnailsImage() { | 307 buildActivityObjectAttachmentsThumbnailsImage() { |
| 308 var o = new api.ActivityObjectAttachmentsThumbnailsImage(); | 308 var o = new api.ActivityObjectAttachmentsThumbnailsImage(); |
| 309 buildCounterActivityObjectAttachmentsThumbnailsImage++; | 309 buildCounterActivityObjectAttachmentsThumbnailsImage++; |
| 310 if (buildCounterActivityObjectAttachmentsThumbnailsImage < 3) { | 310 if (buildCounterActivityObjectAttachmentsThumbnailsImage < 3) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { | 344 checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
o) { |
| 345 buildCounterActivityObjectAttachmentsThumbnails++; | 345 buildCounterActivityObjectAttachmentsThumbnails++; |
| 346 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { | 346 if (buildCounterActivityObjectAttachmentsThumbnails < 3) { |
| 347 unittest.expect(o.description, unittest.equals('foo')); | 347 unittest.expect(o.description, unittest.equals('foo')); |
| 348 checkActivityObjectAttachmentsThumbnailsImage(o.image); | 348 checkActivityObjectAttachmentsThumbnailsImage(o.image); |
| 349 unittest.expect(o.url, unittest.equals('foo')); | 349 unittest.expect(o.url, unittest.equals('foo')); |
| 350 } | 350 } |
| 351 buildCounterActivityObjectAttachmentsThumbnails--; | 351 buildCounterActivityObjectAttachmentsThumbnails--; |
| 352 } | 352 } |
| 353 | 353 |
| 354 buildUnnamed943() { | 354 buildUnnamed2006() { |
| 355 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); | 355 var o = new core.List<api.ActivityObjectAttachmentsThumbnails>(); |
| 356 o.add(buildActivityObjectAttachmentsThumbnails()); | 356 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 357 o.add(buildActivityObjectAttachmentsThumbnails()); | 357 o.add(buildActivityObjectAttachmentsThumbnails()); |
| 358 return o; | 358 return o; |
| 359 } | 359 } |
| 360 | 360 |
| 361 checkUnnamed943(core.List<api.ActivityObjectAttachmentsThumbnails> o) { | 361 checkUnnamed2006(core.List<api.ActivityObjectAttachmentsThumbnails> o) { |
| 362 unittest.expect(o, unittest.hasLength(2)); | 362 unittest.expect(o, unittest.hasLength(2)); |
| 363 checkActivityObjectAttachmentsThumbnails(o[0]); | 363 checkActivityObjectAttachmentsThumbnails(o[0]); |
| 364 checkActivityObjectAttachmentsThumbnails(o[1]); | 364 checkActivityObjectAttachmentsThumbnails(o[1]); |
| 365 } | 365 } |
| 366 | 366 |
| 367 core.int buildCounterActivityObjectAttachments = 0; | 367 core.int buildCounterActivityObjectAttachments = 0; |
| 368 buildActivityObjectAttachments() { | 368 buildActivityObjectAttachments() { |
| 369 var o = new api.ActivityObjectAttachments(); | 369 var o = new api.ActivityObjectAttachments(); |
| 370 buildCounterActivityObjectAttachments++; | 370 buildCounterActivityObjectAttachments++; |
| 371 if (buildCounterActivityObjectAttachments < 3) { | 371 if (buildCounterActivityObjectAttachments < 3) { |
| 372 o.content = "foo"; | 372 o.content = "foo"; |
| 373 o.displayName = "foo"; | 373 o.displayName = "foo"; |
| 374 o.embed = buildActivityObjectAttachmentsEmbed(); | 374 o.embed = buildActivityObjectAttachmentsEmbed(); |
| 375 o.fullImage = buildActivityObjectAttachmentsFullImage(); | 375 o.fullImage = buildActivityObjectAttachmentsFullImage(); |
| 376 o.id = "foo"; | 376 o.id = "foo"; |
| 377 o.image = buildActivityObjectAttachmentsImage(); | 377 o.image = buildActivityObjectAttachmentsImage(); |
| 378 o.objectType = "foo"; | 378 o.objectType = "foo"; |
| 379 o.previewThumbnails = buildUnnamed942(); | 379 o.previewThumbnails = buildUnnamed2005(); |
| 380 o.thumbnails = buildUnnamed943(); | 380 o.thumbnails = buildUnnamed2006(); |
| 381 o.url = "foo"; | 381 o.url = "foo"; |
| 382 } | 382 } |
| 383 buildCounterActivityObjectAttachments--; | 383 buildCounterActivityObjectAttachments--; |
| 384 return o; | 384 return o; |
| 385 } | 385 } |
| 386 | 386 |
| 387 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { | 387 checkActivityObjectAttachments(api.ActivityObjectAttachments o) { |
| 388 buildCounterActivityObjectAttachments++; | 388 buildCounterActivityObjectAttachments++; |
| 389 if (buildCounterActivityObjectAttachments < 3) { | 389 if (buildCounterActivityObjectAttachments < 3) { |
| 390 unittest.expect(o.content, unittest.equals('foo')); | 390 unittest.expect(o.content, unittest.equals('foo')); |
| 391 unittest.expect(o.displayName, unittest.equals('foo')); | 391 unittest.expect(o.displayName, unittest.equals('foo')); |
| 392 checkActivityObjectAttachmentsEmbed(o.embed); | 392 checkActivityObjectAttachmentsEmbed(o.embed); |
| 393 checkActivityObjectAttachmentsFullImage(o.fullImage); | 393 checkActivityObjectAttachmentsFullImage(o.fullImage); |
| 394 unittest.expect(o.id, unittest.equals('foo')); | 394 unittest.expect(o.id, unittest.equals('foo')); |
| 395 checkActivityObjectAttachmentsImage(o.image); | 395 checkActivityObjectAttachmentsImage(o.image); |
| 396 unittest.expect(o.objectType, unittest.equals('foo')); | 396 unittest.expect(o.objectType, unittest.equals('foo')); |
| 397 checkUnnamed942(o.previewThumbnails); | 397 checkUnnamed2005(o.previewThumbnails); |
| 398 checkUnnamed943(o.thumbnails); | 398 checkUnnamed2006(o.thumbnails); |
| 399 unittest.expect(o.url, unittest.equals('foo')); | 399 unittest.expect(o.url, unittest.equals('foo')); |
| 400 } | 400 } |
| 401 buildCounterActivityObjectAttachments--; | 401 buildCounterActivityObjectAttachments--; |
| 402 } | 402 } |
| 403 | 403 |
| 404 buildUnnamed944() { | 404 buildUnnamed2007() { |
| 405 var o = new core.List<api.ActivityObjectAttachments>(); | 405 var o = new core.List<api.ActivityObjectAttachments>(); |
| 406 o.add(buildActivityObjectAttachments()); | 406 o.add(buildActivityObjectAttachments()); |
| 407 o.add(buildActivityObjectAttachments()); | 407 o.add(buildActivityObjectAttachments()); |
| 408 return o; | 408 return o; |
| 409 } | 409 } |
| 410 | 410 |
| 411 checkUnnamed944(core.List<api.ActivityObjectAttachments> o) { | 411 checkUnnamed2007(core.List<api.ActivityObjectAttachments> o) { |
| 412 unittest.expect(o, unittest.hasLength(2)); | 412 unittest.expect(o, unittest.hasLength(2)); |
| 413 checkActivityObjectAttachments(o[0]); | 413 checkActivityObjectAttachments(o[0]); |
| 414 checkActivityObjectAttachments(o[1]); | 414 checkActivityObjectAttachments(o[1]); |
| 415 } | 415 } |
| 416 | 416 |
| 417 core.int buildCounterActivityObjectPlusoners = 0; | 417 core.int buildCounterActivityObjectPlusoners = 0; |
| 418 buildActivityObjectPlusoners() { | 418 buildActivityObjectPlusoners() { |
| 419 var o = new api.ActivityObjectPlusoners(); | 419 var o = new api.ActivityObjectPlusoners(); |
| 420 buildCounterActivityObjectPlusoners++; | 420 buildCounterActivityObjectPlusoners++; |
| 421 if (buildCounterActivityObjectPlusoners < 3) { | 421 if (buildCounterActivityObjectPlusoners < 3) { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 } | 503 } |
| 504 buildCounterActivityObjectStatusForViewer--; | 504 buildCounterActivityObjectStatusForViewer--; |
| 505 } | 505 } |
| 506 | 506 |
| 507 core.int buildCounterActivityObject = 0; | 507 core.int buildCounterActivityObject = 0; |
| 508 buildActivityObject() { | 508 buildActivityObject() { |
| 509 var o = new api.ActivityObject(); | 509 var o = new api.ActivityObject(); |
| 510 buildCounterActivityObject++; | 510 buildCounterActivityObject++; |
| 511 if (buildCounterActivityObject < 3) { | 511 if (buildCounterActivityObject < 3) { |
| 512 o.actor = buildActivityObjectActor(); | 512 o.actor = buildActivityObjectActor(); |
| 513 o.attachments = buildUnnamed944(); | 513 o.attachments = buildUnnamed2007(); |
| 514 o.content = "foo"; | 514 o.content = "foo"; |
| 515 o.id = "foo"; | 515 o.id = "foo"; |
| 516 o.objectType = "foo"; | 516 o.objectType = "foo"; |
| 517 o.originalContent = "foo"; | 517 o.originalContent = "foo"; |
| 518 o.plusoners = buildActivityObjectPlusoners(); | 518 o.plusoners = buildActivityObjectPlusoners(); |
| 519 o.replies = buildActivityObjectReplies(); | 519 o.replies = buildActivityObjectReplies(); |
| 520 o.resharers = buildActivityObjectResharers(); | 520 o.resharers = buildActivityObjectResharers(); |
| 521 o.statusForViewer = buildActivityObjectStatusForViewer(); | 521 o.statusForViewer = buildActivityObjectStatusForViewer(); |
| 522 o.url = "foo"; | 522 o.url = "foo"; |
| 523 } | 523 } |
| 524 buildCounterActivityObject--; | 524 buildCounterActivityObject--; |
| 525 return o; | 525 return o; |
| 526 } | 526 } |
| 527 | 527 |
| 528 checkActivityObject(api.ActivityObject o) { | 528 checkActivityObject(api.ActivityObject o) { |
| 529 buildCounterActivityObject++; | 529 buildCounterActivityObject++; |
| 530 if (buildCounterActivityObject < 3) { | 530 if (buildCounterActivityObject < 3) { |
| 531 checkActivityObjectActor(o.actor); | 531 checkActivityObjectActor(o.actor); |
| 532 checkUnnamed944(o.attachments); | 532 checkUnnamed2007(o.attachments); |
| 533 unittest.expect(o.content, unittest.equals('foo')); | 533 unittest.expect(o.content, unittest.equals('foo')); |
| 534 unittest.expect(o.id, unittest.equals('foo')); | 534 unittest.expect(o.id, unittest.equals('foo')); |
| 535 unittest.expect(o.objectType, unittest.equals('foo')); | 535 unittest.expect(o.objectType, unittest.equals('foo')); |
| 536 unittest.expect(o.originalContent, unittest.equals('foo')); | 536 unittest.expect(o.originalContent, unittest.equals('foo')); |
| 537 checkActivityObjectPlusoners(o.plusoners); | 537 checkActivityObjectPlusoners(o.plusoners); |
| 538 checkActivityObjectReplies(o.replies); | 538 checkActivityObjectReplies(o.replies); |
| 539 checkActivityObjectResharers(o.resharers); | 539 checkActivityObjectResharers(o.resharers); |
| 540 checkActivityObjectStatusForViewer(o.statusForViewer); | 540 checkActivityObjectStatusForViewer(o.statusForViewer); |
| 541 unittest.expect(o.url, unittest.equals('foo')); | 541 unittest.expect(o.url, unittest.equals('foo')); |
| 542 } | 542 } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 612 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 613 unittest.expect(o.radius, unittest.equals('foo')); | 613 unittest.expect(o.radius, unittest.equals('foo')); |
| 614 unittest.expect(o.title, unittest.equals('foo')); | 614 unittest.expect(o.title, unittest.equals('foo')); |
| 615 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 615 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 616 unittest.expect(o.url, unittest.equals('foo')); | 616 unittest.expect(o.url, unittest.equals('foo')); |
| 617 unittest.expect(o.verb, unittest.equals('foo')); | 617 unittest.expect(o.verb, unittest.equals('foo')); |
| 618 } | 618 } |
| 619 buildCounterActivity--; | 619 buildCounterActivity--; |
| 620 } | 620 } |
| 621 | 621 |
| 622 buildUnnamed945() { | 622 buildUnnamed2008() { |
| 623 var o = new core.List<api.Activity>(); | 623 var o = new core.List<api.Activity>(); |
| 624 o.add(buildActivity()); | 624 o.add(buildActivity()); |
| 625 o.add(buildActivity()); | 625 o.add(buildActivity()); |
| 626 return o; | 626 return o; |
| 627 } | 627 } |
| 628 | 628 |
| 629 checkUnnamed945(core.List<api.Activity> o) { | 629 checkUnnamed2008(core.List<api.Activity> o) { |
| 630 unittest.expect(o, unittest.hasLength(2)); | 630 unittest.expect(o, unittest.hasLength(2)); |
| 631 checkActivity(o[0]); | 631 checkActivity(o[0]); |
| 632 checkActivity(o[1]); | 632 checkActivity(o[1]); |
| 633 } | 633 } |
| 634 | 634 |
| 635 core.int buildCounterActivityFeed = 0; | 635 core.int buildCounterActivityFeed = 0; |
| 636 buildActivityFeed() { | 636 buildActivityFeed() { |
| 637 var o = new api.ActivityFeed(); | 637 var o = new api.ActivityFeed(); |
| 638 buildCounterActivityFeed++; | 638 buildCounterActivityFeed++; |
| 639 if (buildCounterActivityFeed < 3) { | 639 if (buildCounterActivityFeed < 3) { |
| 640 o.etag = "foo"; | 640 o.etag = "foo"; |
| 641 o.id = "foo"; | 641 o.id = "foo"; |
| 642 o.items = buildUnnamed945(); | 642 o.items = buildUnnamed2008(); |
| 643 o.kind = "foo"; | 643 o.kind = "foo"; |
| 644 o.nextLink = "foo"; | 644 o.nextLink = "foo"; |
| 645 o.nextPageToken = "foo"; | 645 o.nextPageToken = "foo"; |
| 646 o.selfLink = "foo"; | 646 o.selfLink = "foo"; |
| 647 o.title = "foo"; | 647 o.title = "foo"; |
| 648 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 648 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 649 } | 649 } |
| 650 buildCounterActivityFeed--; | 650 buildCounterActivityFeed--; |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkActivityFeed(api.ActivityFeed o) { | 654 checkActivityFeed(api.ActivityFeed o) { |
| 655 buildCounterActivityFeed++; | 655 buildCounterActivityFeed++; |
| 656 if (buildCounterActivityFeed < 3) { | 656 if (buildCounterActivityFeed < 3) { |
| 657 unittest.expect(o.etag, unittest.equals('foo')); | 657 unittest.expect(o.etag, unittest.equals('foo')); |
| 658 unittest.expect(o.id, unittest.equals('foo')); | 658 unittest.expect(o.id, unittest.equals('foo')); |
| 659 checkUnnamed945(o.items); | 659 checkUnnamed2008(o.items); |
| 660 unittest.expect(o.kind, unittest.equals('foo')); | 660 unittest.expect(o.kind, unittest.equals('foo')); |
| 661 unittest.expect(o.nextLink, unittest.equals('foo')); | 661 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 662 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 662 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 663 unittest.expect(o.selfLink, unittest.equals('foo')); | 663 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 664 unittest.expect(o.title, unittest.equals('foo')); | 664 unittest.expect(o.title, unittest.equals('foo')); |
| 665 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 665 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 666 } | 666 } |
| 667 buildCounterActivityFeed--; | 667 buildCounterActivityFeed--; |
| 668 } | 668 } |
| 669 | 669 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 687 if (buildCounterAudience < 3) { | 687 if (buildCounterAudience < 3) { |
| 688 unittest.expect(o.etag, unittest.equals('foo')); | 688 unittest.expect(o.etag, unittest.equals('foo')); |
| 689 checkPlusDomainsAclentryResource(o.item); | 689 checkPlusDomainsAclentryResource(o.item); |
| 690 unittest.expect(o.kind, unittest.equals('foo')); | 690 unittest.expect(o.kind, unittest.equals('foo')); |
| 691 unittest.expect(o.memberCount, unittest.equals(42)); | 691 unittest.expect(o.memberCount, unittest.equals(42)); |
| 692 unittest.expect(o.visibility, unittest.equals('foo')); | 692 unittest.expect(o.visibility, unittest.equals('foo')); |
| 693 } | 693 } |
| 694 buildCounterAudience--; | 694 buildCounterAudience--; |
| 695 } | 695 } |
| 696 | 696 |
| 697 buildUnnamed946() { | 697 buildUnnamed2009() { |
| 698 var o = new core.List<api.Audience>(); | 698 var o = new core.List<api.Audience>(); |
| 699 o.add(buildAudience()); | 699 o.add(buildAudience()); |
| 700 o.add(buildAudience()); | 700 o.add(buildAudience()); |
| 701 return o; | 701 return o; |
| 702 } | 702 } |
| 703 | 703 |
| 704 checkUnnamed946(core.List<api.Audience> o) { | 704 checkUnnamed2009(core.List<api.Audience> o) { |
| 705 unittest.expect(o, unittest.hasLength(2)); | 705 unittest.expect(o, unittest.hasLength(2)); |
| 706 checkAudience(o[0]); | 706 checkAudience(o[0]); |
| 707 checkAudience(o[1]); | 707 checkAudience(o[1]); |
| 708 } | 708 } |
| 709 | 709 |
| 710 core.int buildCounterAudiencesFeed = 0; | 710 core.int buildCounterAudiencesFeed = 0; |
| 711 buildAudiencesFeed() { | 711 buildAudiencesFeed() { |
| 712 var o = new api.AudiencesFeed(); | 712 var o = new api.AudiencesFeed(); |
| 713 buildCounterAudiencesFeed++; | 713 buildCounterAudiencesFeed++; |
| 714 if (buildCounterAudiencesFeed < 3) { | 714 if (buildCounterAudiencesFeed < 3) { |
| 715 o.etag = "foo"; | 715 o.etag = "foo"; |
| 716 o.items = buildUnnamed946(); | 716 o.items = buildUnnamed2009(); |
| 717 o.kind = "foo"; | 717 o.kind = "foo"; |
| 718 o.nextPageToken = "foo"; | 718 o.nextPageToken = "foo"; |
| 719 o.totalItems = 42; | 719 o.totalItems = 42; |
| 720 } | 720 } |
| 721 buildCounterAudiencesFeed--; | 721 buildCounterAudiencesFeed--; |
| 722 return o; | 722 return o; |
| 723 } | 723 } |
| 724 | 724 |
| 725 checkAudiencesFeed(api.AudiencesFeed o) { | 725 checkAudiencesFeed(api.AudiencesFeed o) { |
| 726 buildCounterAudiencesFeed++; | 726 buildCounterAudiencesFeed++; |
| 727 if (buildCounterAudiencesFeed < 3) { | 727 if (buildCounterAudiencesFeed < 3) { |
| 728 unittest.expect(o.etag, unittest.equals('foo')); | 728 unittest.expect(o.etag, unittest.equals('foo')); |
| 729 checkUnnamed946(o.items); | 729 checkUnnamed2009(o.items); |
| 730 unittest.expect(o.kind, unittest.equals('foo')); | 730 unittest.expect(o.kind, unittest.equals('foo')); |
| 731 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 731 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 732 unittest.expect(o.totalItems, unittest.equals(42)); | 732 unittest.expect(o.totalItems, unittest.equals(42)); |
| 733 } | 733 } |
| 734 buildCounterAudiencesFeed--; | 734 buildCounterAudiencesFeed--; |
| 735 } | 735 } |
| 736 | 736 |
| 737 core.int buildCounterCirclePeople = 0; | 737 core.int buildCounterCirclePeople = 0; |
| 738 buildCirclePeople() { | 738 buildCirclePeople() { |
| 739 var o = new api.CirclePeople(); | 739 var o = new api.CirclePeople(); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 unittest.expect(o.displayName, unittest.equals('foo')); | 777 unittest.expect(o.displayName, unittest.equals('foo')); |
| 778 unittest.expect(o.etag, unittest.equals('foo')); | 778 unittest.expect(o.etag, unittest.equals('foo')); |
| 779 unittest.expect(o.id, unittest.equals('foo')); | 779 unittest.expect(o.id, unittest.equals('foo')); |
| 780 unittest.expect(o.kind, unittest.equals('foo')); | 780 unittest.expect(o.kind, unittest.equals('foo')); |
| 781 checkCirclePeople(o.people); | 781 checkCirclePeople(o.people); |
| 782 unittest.expect(o.selfLink, unittest.equals('foo')); | 782 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 783 } | 783 } |
| 784 buildCounterCircle--; | 784 buildCounterCircle--; |
| 785 } | 785 } |
| 786 | 786 |
| 787 buildUnnamed947() { | 787 buildUnnamed2010() { |
| 788 var o = new core.List<api.Circle>(); | 788 var o = new core.List<api.Circle>(); |
| 789 o.add(buildCircle()); | 789 o.add(buildCircle()); |
| 790 o.add(buildCircle()); | 790 o.add(buildCircle()); |
| 791 return o; | 791 return o; |
| 792 } | 792 } |
| 793 | 793 |
| 794 checkUnnamed947(core.List<api.Circle> o) { | 794 checkUnnamed2010(core.List<api.Circle> o) { |
| 795 unittest.expect(o, unittest.hasLength(2)); | 795 unittest.expect(o, unittest.hasLength(2)); |
| 796 checkCircle(o[0]); | 796 checkCircle(o[0]); |
| 797 checkCircle(o[1]); | 797 checkCircle(o[1]); |
| 798 } | 798 } |
| 799 | 799 |
| 800 core.int buildCounterCircleFeed = 0; | 800 core.int buildCounterCircleFeed = 0; |
| 801 buildCircleFeed() { | 801 buildCircleFeed() { |
| 802 var o = new api.CircleFeed(); | 802 var o = new api.CircleFeed(); |
| 803 buildCounterCircleFeed++; | 803 buildCounterCircleFeed++; |
| 804 if (buildCounterCircleFeed < 3) { | 804 if (buildCounterCircleFeed < 3) { |
| 805 o.etag = "foo"; | 805 o.etag = "foo"; |
| 806 o.items = buildUnnamed947(); | 806 o.items = buildUnnamed2010(); |
| 807 o.kind = "foo"; | 807 o.kind = "foo"; |
| 808 o.nextLink = "foo"; | 808 o.nextLink = "foo"; |
| 809 o.nextPageToken = "foo"; | 809 o.nextPageToken = "foo"; |
| 810 o.selfLink = "foo"; | 810 o.selfLink = "foo"; |
| 811 o.title = "foo"; | 811 o.title = "foo"; |
| 812 o.totalItems = 42; | 812 o.totalItems = 42; |
| 813 } | 813 } |
| 814 buildCounterCircleFeed--; | 814 buildCounterCircleFeed--; |
| 815 return o; | 815 return o; |
| 816 } | 816 } |
| 817 | 817 |
| 818 checkCircleFeed(api.CircleFeed o) { | 818 checkCircleFeed(api.CircleFeed o) { |
| 819 buildCounterCircleFeed++; | 819 buildCounterCircleFeed++; |
| 820 if (buildCounterCircleFeed < 3) { | 820 if (buildCounterCircleFeed < 3) { |
| 821 unittest.expect(o.etag, unittest.equals('foo')); | 821 unittest.expect(o.etag, unittest.equals('foo')); |
| 822 checkUnnamed947(o.items); | 822 checkUnnamed2010(o.items); |
| 823 unittest.expect(o.kind, unittest.equals('foo')); | 823 unittest.expect(o.kind, unittest.equals('foo')); |
| 824 unittest.expect(o.nextLink, unittest.equals('foo')); | 824 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 825 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 825 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 826 unittest.expect(o.selfLink, unittest.equals('foo')); | 826 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 827 unittest.expect(o.title, unittest.equals('foo')); | 827 unittest.expect(o.title, unittest.equals('foo')); |
| 828 unittest.expect(o.totalItems, unittest.equals(42)); | 828 unittest.expect(o.totalItems, unittest.equals(42)); |
| 829 } | 829 } |
| 830 buildCounterCircleFeed--; | 830 buildCounterCircleFeed--; |
| 831 } | 831 } |
| 832 | 832 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 | 888 |
| 889 checkCommentInReplyTo(api.CommentInReplyTo o) { | 889 checkCommentInReplyTo(api.CommentInReplyTo o) { |
| 890 buildCounterCommentInReplyTo++; | 890 buildCounterCommentInReplyTo++; |
| 891 if (buildCounterCommentInReplyTo < 3) { | 891 if (buildCounterCommentInReplyTo < 3) { |
| 892 unittest.expect(o.id, unittest.equals('foo')); | 892 unittest.expect(o.id, unittest.equals('foo')); |
| 893 unittest.expect(o.url, unittest.equals('foo')); | 893 unittest.expect(o.url, unittest.equals('foo')); |
| 894 } | 894 } |
| 895 buildCounterCommentInReplyTo--; | 895 buildCounterCommentInReplyTo--; |
| 896 } | 896 } |
| 897 | 897 |
| 898 buildUnnamed948() { | 898 buildUnnamed2011() { |
| 899 var o = new core.List<api.CommentInReplyTo>(); | 899 var o = new core.List<api.CommentInReplyTo>(); |
| 900 o.add(buildCommentInReplyTo()); | 900 o.add(buildCommentInReplyTo()); |
| 901 o.add(buildCommentInReplyTo()); | 901 o.add(buildCommentInReplyTo()); |
| 902 return o; | 902 return o; |
| 903 } | 903 } |
| 904 | 904 |
| 905 checkUnnamed948(core.List<api.CommentInReplyTo> o) { | 905 checkUnnamed2011(core.List<api.CommentInReplyTo> o) { |
| 906 unittest.expect(o, unittest.hasLength(2)); | 906 unittest.expect(o, unittest.hasLength(2)); |
| 907 checkCommentInReplyTo(o[0]); | 907 checkCommentInReplyTo(o[0]); |
| 908 checkCommentInReplyTo(o[1]); | 908 checkCommentInReplyTo(o[1]); |
| 909 } | 909 } |
| 910 | 910 |
| 911 core.int buildCounterCommentObject = 0; | 911 core.int buildCounterCommentObject = 0; |
| 912 buildCommentObject() { | 912 buildCommentObject() { |
| 913 var o = new api.CommentObject(); | 913 var o = new api.CommentObject(); |
| 914 buildCounterCommentObject++; | 914 buildCounterCommentObject++; |
| 915 if (buildCounterCommentObject < 3) { | 915 if (buildCounterCommentObject < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 } | 951 } |
| 952 | 952 |
| 953 core.int buildCounterComment = 0; | 953 core.int buildCounterComment = 0; |
| 954 buildComment() { | 954 buildComment() { |
| 955 var o = new api.Comment(); | 955 var o = new api.Comment(); |
| 956 buildCounterComment++; | 956 buildCounterComment++; |
| 957 if (buildCounterComment < 3) { | 957 if (buildCounterComment < 3) { |
| 958 o.actor = buildCommentActor(); | 958 o.actor = buildCommentActor(); |
| 959 o.etag = "foo"; | 959 o.etag = "foo"; |
| 960 o.id = "foo"; | 960 o.id = "foo"; |
| 961 o.inReplyTo = buildUnnamed948(); | 961 o.inReplyTo = buildUnnamed2011(); |
| 962 o.kind = "foo"; | 962 o.kind = "foo"; |
| 963 o.object = buildCommentObject(); | 963 o.object = buildCommentObject(); |
| 964 o.plusoners = buildCommentPlusoners(); | 964 o.plusoners = buildCommentPlusoners(); |
| 965 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 965 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 966 o.selfLink = "foo"; | 966 o.selfLink = "foo"; |
| 967 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 967 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 968 o.verb = "foo"; | 968 o.verb = "foo"; |
| 969 } | 969 } |
| 970 buildCounterComment--; | 970 buildCounterComment--; |
| 971 return o; | 971 return o; |
| 972 } | 972 } |
| 973 | 973 |
| 974 checkComment(api.Comment o) { | 974 checkComment(api.Comment o) { |
| 975 buildCounterComment++; | 975 buildCounterComment++; |
| 976 if (buildCounterComment < 3) { | 976 if (buildCounterComment < 3) { |
| 977 checkCommentActor(o.actor); | 977 checkCommentActor(o.actor); |
| 978 unittest.expect(o.etag, unittest.equals('foo')); | 978 unittest.expect(o.etag, unittest.equals('foo')); |
| 979 unittest.expect(o.id, unittest.equals('foo')); | 979 unittest.expect(o.id, unittest.equals('foo')); |
| 980 checkUnnamed948(o.inReplyTo); | 980 checkUnnamed2011(o.inReplyTo); |
| 981 unittest.expect(o.kind, unittest.equals('foo')); | 981 unittest.expect(o.kind, unittest.equals('foo')); |
| 982 checkCommentObject(o.object); | 982 checkCommentObject(o.object); |
| 983 checkCommentPlusoners(o.plusoners); | 983 checkCommentPlusoners(o.plusoners); |
| 984 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 984 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 985 unittest.expect(o.selfLink, unittest.equals('foo')); | 985 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 986 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 986 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 987 unittest.expect(o.verb, unittest.equals('foo')); | 987 unittest.expect(o.verb, unittest.equals('foo')); |
| 988 } | 988 } |
| 989 buildCounterComment--; | 989 buildCounterComment--; |
| 990 } | 990 } |
| 991 | 991 |
| 992 buildUnnamed949() { | 992 buildUnnamed2012() { |
| 993 var o = new core.List<api.Comment>(); | 993 var o = new core.List<api.Comment>(); |
| 994 o.add(buildComment()); | 994 o.add(buildComment()); |
| 995 o.add(buildComment()); | 995 o.add(buildComment()); |
| 996 return o; | 996 return o; |
| 997 } | 997 } |
| 998 | 998 |
| 999 checkUnnamed949(core.List<api.Comment> o) { | 999 checkUnnamed2012(core.List<api.Comment> o) { |
| 1000 unittest.expect(o, unittest.hasLength(2)); | 1000 unittest.expect(o, unittest.hasLength(2)); |
| 1001 checkComment(o[0]); | 1001 checkComment(o[0]); |
| 1002 checkComment(o[1]); | 1002 checkComment(o[1]); |
| 1003 } | 1003 } |
| 1004 | 1004 |
| 1005 core.int buildCounterCommentFeed = 0; | 1005 core.int buildCounterCommentFeed = 0; |
| 1006 buildCommentFeed() { | 1006 buildCommentFeed() { |
| 1007 var o = new api.CommentFeed(); | 1007 var o = new api.CommentFeed(); |
| 1008 buildCounterCommentFeed++; | 1008 buildCounterCommentFeed++; |
| 1009 if (buildCounterCommentFeed < 3) { | 1009 if (buildCounterCommentFeed < 3) { |
| 1010 o.etag = "foo"; | 1010 o.etag = "foo"; |
| 1011 o.id = "foo"; | 1011 o.id = "foo"; |
| 1012 o.items = buildUnnamed949(); | 1012 o.items = buildUnnamed2012(); |
| 1013 o.kind = "foo"; | 1013 o.kind = "foo"; |
| 1014 o.nextLink = "foo"; | 1014 o.nextLink = "foo"; |
| 1015 o.nextPageToken = "foo"; | 1015 o.nextPageToken = "foo"; |
| 1016 o.title = "foo"; | 1016 o.title = "foo"; |
| 1017 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1017 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1018 } | 1018 } |
| 1019 buildCounterCommentFeed--; | 1019 buildCounterCommentFeed--; |
| 1020 return o; | 1020 return o; |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 checkCommentFeed(api.CommentFeed o) { | 1023 checkCommentFeed(api.CommentFeed o) { |
| 1024 buildCounterCommentFeed++; | 1024 buildCounterCommentFeed++; |
| 1025 if (buildCounterCommentFeed < 3) { | 1025 if (buildCounterCommentFeed < 3) { |
| 1026 unittest.expect(o.etag, unittest.equals('foo')); | 1026 unittest.expect(o.etag, unittest.equals('foo')); |
| 1027 unittest.expect(o.id, unittest.equals('foo')); | 1027 unittest.expect(o.id, unittest.equals('foo')); |
| 1028 checkUnnamed949(o.items); | 1028 checkUnnamed2012(o.items); |
| 1029 unittest.expect(o.kind, unittest.equals('foo')); | 1029 unittest.expect(o.kind, unittest.equals('foo')); |
| 1030 unittest.expect(o.nextLink, unittest.equals('foo')); | 1030 unittest.expect(o.nextLink, unittest.equals('foo')); |
| 1031 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1031 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1032 unittest.expect(o.title, unittest.equals('foo')); | 1032 unittest.expect(o.title, unittest.equals('foo')); |
| 1033 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1033 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1034 } | 1034 } |
| 1035 buildCounterCommentFeed--; | 1035 buildCounterCommentFeed--; |
| 1036 } | 1036 } |
| 1037 | 1037 |
| 1038 core.int buildCounterMediaAuthorImage = 0; | 1038 core.int buildCounterMediaAuthorImage = 0; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1091 } | 1091 } |
| 1092 | 1092 |
| 1093 checkMediaExif(api.MediaExif o) { | 1093 checkMediaExif(api.MediaExif o) { |
| 1094 buildCounterMediaExif++; | 1094 buildCounterMediaExif++; |
| 1095 if (buildCounterMediaExif < 3) { | 1095 if (buildCounterMediaExif < 3) { |
| 1096 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); | 1096 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); |
| 1097 } | 1097 } |
| 1098 buildCounterMediaExif--; | 1098 buildCounterMediaExif--; |
| 1099 } | 1099 } |
| 1100 | 1100 |
| 1101 buildUnnamed950() { | 1101 buildUnnamed2013() { |
| 1102 var o = new core.List<api.Videostream>(); | 1102 var o = new core.List<api.Videostream>(); |
| 1103 o.add(buildVideostream()); | 1103 o.add(buildVideostream()); |
| 1104 o.add(buildVideostream()); | 1104 o.add(buildVideostream()); |
| 1105 return o; | 1105 return o; |
| 1106 } | 1106 } |
| 1107 | 1107 |
| 1108 checkUnnamed950(core.List<api.Videostream> o) { | 1108 checkUnnamed2013(core.List<api.Videostream> o) { |
| 1109 unittest.expect(o, unittest.hasLength(2)); | 1109 unittest.expect(o, unittest.hasLength(2)); |
| 1110 checkVideostream(o[0]); | 1110 checkVideostream(o[0]); |
| 1111 checkVideostream(o[1]); | 1111 checkVideostream(o[1]); |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 core.int buildCounterMedia = 0; | 1114 core.int buildCounterMedia = 0; |
| 1115 buildMedia() { | 1115 buildMedia() { |
| 1116 var o = new api.Media(); | 1116 var o = new api.Media(); |
| 1117 buildCounterMedia++; | 1117 buildCounterMedia++; |
| 1118 if (buildCounterMedia < 3) { | 1118 if (buildCounterMedia < 3) { |
| 1119 o.author = buildMediaAuthor(); | 1119 o.author = buildMediaAuthor(); |
| 1120 o.displayName = "foo"; | 1120 o.displayName = "foo"; |
| 1121 o.etag = "foo"; | 1121 o.etag = "foo"; |
| 1122 o.exif = buildMediaExif(); | 1122 o.exif = buildMediaExif(); |
| 1123 o.height = 42; | 1123 o.height = 42; |
| 1124 o.id = "foo"; | 1124 o.id = "foo"; |
| 1125 o.kind = "foo"; | 1125 o.kind = "foo"; |
| 1126 o.mediaCreatedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1126 o.mediaCreatedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1127 o.mediaUrl = "foo"; | 1127 o.mediaUrl = "foo"; |
| 1128 o.published = core.DateTime.parse("2002-02-27T14:01:02"); | 1128 o.published = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1129 o.sizeBytes = "foo"; | 1129 o.sizeBytes = "foo"; |
| 1130 o.streams = buildUnnamed950(); | 1130 o.streams = buildUnnamed2013(); |
| 1131 o.summary = "foo"; | 1131 o.summary = "foo"; |
| 1132 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1132 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1133 o.url = "foo"; | 1133 o.url = "foo"; |
| 1134 o.videoDuration = "foo"; | 1134 o.videoDuration = "foo"; |
| 1135 o.videoStatus = "foo"; | 1135 o.videoStatus = "foo"; |
| 1136 o.width = 42; | 1136 o.width = 42; |
| 1137 } | 1137 } |
| 1138 buildCounterMedia--; | 1138 buildCounterMedia--; |
| 1139 return o; | 1139 return o; |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 checkMedia(api.Media o) { | 1142 checkMedia(api.Media o) { |
| 1143 buildCounterMedia++; | 1143 buildCounterMedia++; |
| 1144 if (buildCounterMedia < 3) { | 1144 if (buildCounterMedia < 3) { |
| 1145 checkMediaAuthor(o.author); | 1145 checkMediaAuthor(o.author); |
| 1146 unittest.expect(o.displayName, unittest.equals('foo')); | 1146 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1147 unittest.expect(o.etag, unittest.equals('foo')); | 1147 unittest.expect(o.etag, unittest.equals('foo')); |
| 1148 checkMediaExif(o.exif); | 1148 checkMediaExif(o.exif); |
| 1149 unittest.expect(o.height, unittest.equals(42)); | 1149 unittest.expect(o.height, unittest.equals(42)); |
| 1150 unittest.expect(o.id, unittest.equals('foo')); | 1150 unittest.expect(o.id, unittest.equals('foo')); |
| 1151 unittest.expect(o.kind, unittest.equals('foo')); | 1151 unittest.expect(o.kind, unittest.equals('foo')); |
| 1152 unittest.expect(o.mediaCreatedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1152 unittest.expect(o.mediaCreatedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 1153 unittest.expect(o.mediaUrl, unittest.equals('foo')); | 1153 unittest.expect(o.mediaUrl, unittest.equals('foo')); |
| 1154 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 1154 unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 1155 unittest.expect(o.sizeBytes, unittest.equals('foo')); | 1155 unittest.expect(o.sizeBytes, unittest.equals('foo')); |
| 1156 checkUnnamed950(o.streams); | 1156 checkUnnamed2013(o.streams); |
| 1157 unittest.expect(o.summary, unittest.equals('foo')); | 1157 unittest.expect(o.summary, unittest.equals('foo')); |
| 1158 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1158 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1159 unittest.expect(o.url, unittest.equals('foo')); | 1159 unittest.expect(o.url, unittest.equals('foo')); |
| 1160 unittest.expect(o.videoDuration, unittest.equals('foo')); | 1160 unittest.expect(o.videoDuration, unittest.equals('foo')); |
| 1161 unittest.expect(o.videoStatus, unittest.equals('foo')); | 1161 unittest.expect(o.videoStatus, unittest.equals('foo')); |
| 1162 unittest.expect(o.width, unittest.equals(42)); | 1162 unittest.expect(o.width, unittest.equals(42)); |
| 1163 } | 1163 } |
| 1164 buildCounterMedia--; | 1164 buildCounterMedia--; |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 buildUnnamed951() { | 1167 buildUnnamed2014() { |
| 1168 var o = new core.List<api.Person>(); | 1168 var o = new core.List<api.Person>(); |
| 1169 o.add(buildPerson()); | 1169 o.add(buildPerson()); |
| 1170 o.add(buildPerson()); | 1170 o.add(buildPerson()); |
| 1171 return o; | 1171 return o; |
| 1172 } | 1172 } |
| 1173 | 1173 |
| 1174 checkUnnamed951(core.List<api.Person> o) { | 1174 checkUnnamed2014(core.List<api.Person> o) { |
| 1175 unittest.expect(o, unittest.hasLength(2)); | 1175 unittest.expect(o, unittest.hasLength(2)); |
| 1176 checkPerson(o[0]); | 1176 checkPerson(o[0]); |
| 1177 checkPerson(o[1]); | 1177 checkPerson(o[1]); |
| 1178 } | 1178 } |
| 1179 | 1179 |
| 1180 core.int buildCounterPeopleFeed = 0; | 1180 core.int buildCounterPeopleFeed = 0; |
| 1181 buildPeopleFeed() { | 1181 buildPeopleFeed() { |
| 1182 var o = new api.PeopleFeed(); | 1182 var o = new api.PeopleFeed(); |
| 1183 buildCounterPeopleFeed++; | 1183 buildCounterPeopleFeed++; |
| 1184 if (buildCounterPeopleFeed < 3) { | 1184 if (buildCounterPeopleFeed < 3) { |
| 1185 o.etag = "foo"; | 1185 o.etag = "foo"; |
| 1186 o.items = buildUnnamed951(); | 1186 o.items = buildUnnamed2014(); |
| 1187 o.kind = "foo"; | 1187 o.kind = "foo"; |
| 1188 o.nextPageToken = "foo"; | 1188 o.nextPageToken = "foo"; |
| 1189 o.selfLink = "foo"; | 1189 o.selfLink = "foo"; |
| 1190 o.title = "foo"; | 1190 o.title = "foo"; |
| 1191 o.totalItems = 42; | 1191 o.totalItems = 42; |
| 1192 } | 1192 } |
| 1193 buildCounterPeopleFeed--; | 1193 buildCounterPeopleFeed--; |
| 1194 return o; | 1194 return o; |
| 1195 } | 1195 } |
| 1196 | 1196 |
| 1197 checkPeopleFeed(api.PeopleFeed o) { | 1197 checkPeopleFeed(api.PeopleFeed o) { |
| 1198 buildCounterPeopleFeed++; | 1198 buildCounterPeopleFeed++; |
| 1199 if (buildCounterPeopleFeed < 3) { | 1199 if (buildCounterPeopleFeed < 3) { |
| 1200 unittest.expect(o.etag, unittest.equals('foo')); | 1200 unittest.expect(o.etag, unittest.equals('foo')); |
| 1201 checkUnnamed951(o.items); | 1201 checkUnnamed2014(o.items); |
| 1202 unittest.expect(o.kind, unittest.equals('foo')); | 1202 unittest.expect(o.kind, unittest.equals('foo')); |
| 1203 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1203 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1204 unittest.expect(o.selfLink, unittest.equals('foo')); | 1204 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1205 unittest.expect(o.title, unittest.equals('foo')); | 1205 unittest.expect(o.title, unittest.equals('foo')); |
| 1206 unittest.expect(o.totalItems, unittest.equals(42)); | 1206 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1207 } | 1207 } |
| 1208 buildCounterPeopleFeed--; | 1208 buildCounterPeopleFeed--; |
| 1209 } | 1209 } |
| 1210 | 1210 |
| 1211 core.int buildCounterPersonCoverCoverInfo = 0; | 1211 core.int buildCounterPersonCoverCoverInfo = 0; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 | 1289 |
| 1290 checkPersonEmails(api.PersonEmails o) { | 1290 checkPersonEmails(api.PersonEmails o) { |
| 1291 buildCounterPersonEmails++; | 1291 buildCounterPersonEmails++; |
| 1292 if (buildCounterPersonEmails < 3) { | 1292 if (buildCounterPersonEmails < 3) { |
| 1293 unittest.expect(o.type, unittest.equals('foo')); | 1293 unittest.expect(o.type, unittest.equals('foo')); |
| 1294 unittest.expect(o.value, unittest.equals('foo')); | 1294 unittest.expect(o.value, unittest.equals('foo')); |
| 1295 } | 1295 } |
| 1296 buildCounterPersonEmails--; | 1296 buildCounterPersonEmails--; |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 buildUnnamed952() { | 1299 buildUnnamed2015() { |
| 1300 var o = new core.List<api.PersonEmails>(); | 1300 var o = new core.List<api.PersonEmails>(); |
| 1301 o.add(buildPersonEmails()); | 1301 o.add(buildPersonEmails()); |
| 1302 o.add(buildPersonEmails()); | 1302 o.add(buildPersonEmails()); |
| 1303 return o; | 1303 return o; |
| 1304 } | 1304 } |
| 1305 | 1305 |
| 1306 checkUnnamed952(core.List<api.PersonEmails> o) { | 1306 checkUnnamed2015(core.List<api.PersonEmails> o) { |
| 1307 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
| 1308 checkPersonEmails(o[0]); | 1308 checkPersonEmails(o[0]); |
| 1309 checkPersonEmails(o[1]); | 1309 checkPersonEmails(o[1]); |
| 1310 } | 1310 } |
| 1311 | 1311 |
| 1312 core.int buildCounterPersonImage = 0; | 1312 core.int buildCounterPersonImage = 0; |
| 1313 buildPersonImage() { | 1313 buildPersonImage() { |
| 1314 var o = new api.PersonImage(); | 1314 var o = new api.PersonImage(); |
| 1315 buildCounterPersonImage++; | 1315 buildCounterPersonImage++; |
| 1316 if (buildCounterPersonImage < 3) { | 1316 if (buildCounterPersonImage < 3) { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 unittest.expect(o.location, unittest.equals('foo')); | 1387 unittest.expect(o.location, unittest.equals('foo')); |
| 1388 unittest.expect(o.name, unittest.equals('foo')); | 1388 unittest.expect(o.name, unittest.equals('foo')); |
| 1389 unittest.expect(o.primary, unittest.isTrue); | 1389 unittest.expect(o.primary, unittest.isTrue); |
| 1390 unittest.expect(o.startDate, unittest.equals('foo')); | 1390 unittest.expect(o.startDate, unittest.equals('foo')); |
| 1391 unittest.expect(o.title, unittest.equals('foo')); | 1391 unittest.expect(o.title, unittest.equals('foo')); |
| 1392 unittest.expect(o.type, unittest.equals('foo')); | 1392 unittest.expect(o.type, unittest.equals('foo')); |
| 1393 } | 1393 } |
| 1394 buildCounterPersonOrganizations--; | 1394 buildCounterPersonOrganizations--; |
| 1395 } | 1395 } |
| 1396 | 1396 |
| 1397 buildUnnamed953() { | 1397 buildUnnamed2016() { |
| 1398 var o = new core.List<api.PersonOrganizations>(); | 1398 var o = new core.List<api.PersonOrganizations>(); |
| 1399 o.add(buildPersonOrganizations()); | 1399 o.add(buildPersonOrganizations()); |
| 1400 o.add(buildPersonOrganizations()); | 1400 o.add(buildPersonOrganizations()); |
| 1401 return o; | 1401 return o; |
| 1402 } | 1402 } |
| 1403 | 1403 |
| 1404 checkUnnamed953(core.List<api.PersonOrganizations> o) { | 1404 checkUnnamed2016(core.List<api.PersonOrganizations> o) { |
| 1405 unittest.expect(o, unittest.hasLength(2)); | 1405 unittest.expect(o, unittest.hasLength(2)); |
| 1406 checkPersonOrganizations(o[0]); | 1406 checkPersonOrganizations(o[0]); |
| 1407 checkPersonOrganizations(o[1]); | 1407 checkPersonOrganizations(o[1]); |
| 1408 } | 1408 } |
| 1409 | 1409 |
| 1410 core.int buildCounterPersonPlacesLived = 0; | 1410 core.int buildCounterPersonPlacesLived = 0; |
| 1411 buildPersonPlacesLived() { | 1411 buildPersonPlacesLived() { |
| 1412 var o = new api.PersonPlacesLived(); | 1412 var o = new api.PersonPlacesLived(); |
| 1413 buildCounterPersonPlacesLived++; | 1413 buildCounterPersonPlacesLived++; |
| 1414 if (buildCounterPersonPlacesLived < 3) { | 1414 if (buildCounterPersonPlacesLived < 3) { |
| 1415 o.primary = true; | 1415 o.primary = true; |
| 1416 o.value = "foo"; | 1416 o.value = "foo"; |
| 1417 } | 1417 } |
| 1418 buildCounterPersonPlacesLived--; | 1418 buildCounterPersonPlacesLived--; |
| 1419 return o; | 1419 return o; |
| 1420 } | 1420 } |
| 1421 | 1421 |
| 1422 checkPersonPlacesLived(api.PersonPlacesLived o) { | 1422 checkPersonPlacesLived(api.PersonPlacesLived o) { |
| 1423 buildCounterPersonPlacesLived++; | 1423 buildCounterPersonPlacesLived++; |
| 1424 if (buildCounterPersonPlacesLived < 3) { | 1424 if (buildCounterPersonPlacesLived < 3) { |
| 1425 unittest.expect(o.primary, unittest.isTrue); | 1425 unittest.expect(o.primary, unittest.isTrue); |
| 1426 unittest.expect(o.value, unittest.equals('foo')); | 1426 unittest.expect(o.value, unittest.equals('foo')); |
| 1427 } | 1427 } |
| 1428 buildCounterPersonPlacesLived--; | 1428 buildCounterPersonPlacesLived--; |
| 1429 } | 1429 } |
| 1430 | 1430 |
| 1431 buildUnnamed954() { | 1431 buildUnnamed2017() { |
| 1432 var o = new core.List<api.PersonPlacesLived>(); | 1432 var o = new core.List<api.PersonPlacesLived>(); |
| 1433 o.add(buildPersonPlacesLived()); | 1433 o.add(buildPersonPlacesLived()); |
| 1434 o.add(buildPersonPlacesLived()); | 1434 o.add(buildPersonPlacesLived()); |
| 1435 return o; | 1435 return o; |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 checkUnnamed954(core.List<api.PersonPlacesLived> o) { | 1438 checkUnnamed2017(core.List<api.PersonPlacesLived> o) { |
| 1439 unittest.expect(o, unittest.hasLength(2)); | 1439 unittest.expect(o, unittest.hasLength(2)); |
| 1440 checkPersonPlacesLived(o[0]); | 1440 checkPersonPlacesLived(o[0]); |
| 1441 checkPersonPlacesLived(o[1]); | 1441 checkPersonPlacesLived(o[1]); |
| 1442 } | 1442 } |
| 1443 | 1443 |
| 1444 core.int buildCounterPersonUrls = 0; | 1444 core.int buildCounterPersonUrls = 0; |
| 1445 buildPersonUrls() { | 1445 buildPersonUrls() { |
| 1446 var o = new api.PersonUrls(); | 1446 var o = new api.PersonUrls(); |
| 1447 buildCounterPersonUrls++; | 1447 buildCounterPersonUrls++; |
| 1448 if (buildCounterPersonUrls < 3) { | 1448 if (buildCounterPersonUrls < 3) { |
| 1449 o.label = "foo"; | 1449 o.label = "foo"; |
| 1450 o.type = "foo"; | 1450 o.type = "foo"; |
| 1451 o.value = "foo"; | 1451 o.value = "foo"; |
| 1452 } | 1452 } |
| 1453 buildCounterPersonUrls--; | 1453 buildCounterPersonUrls--; |
| 1454 return o; | 1454 return o; |
| 1455 } | 1455 } |
| 1456 | 1456 |
| 1457 checkPersonUrls(api.PersonUrls o) { | 1457 checkPersonUrls(api.PersonUrls o) { |
| 1458 buildCounterPersonUrls++; | 1458 buildCounterPersonUrls++; |
| 1459 if (buildCounterPersonUrls < 3) { | 1459 if (buildCounterPersonUrls < 3) { |
| 1460 unittest.expect(o.label, unittest.equals('foo')); | 1460 unittest.expect(o.label, unittest.equals('foo')); |
| 1461 unittest.expect(o.type, unittest.equals('foo')); | 1461 unittest.expect(o.type, unittest.equals('foo')); |
| 1462 unittest.expect(o.value, unittest.equals('foo')); | 1462 unittest.expect(o.value, unittest.equals('foo')); |
| 1463 } | 1463 } |
| 1464 buildCounterPersonUrls--; | 1464 buildCounterPersonUrls--; |
| 1465 } | 1465 } |
| 1466 | 1466 |
| 1467 buildUnnamed955() { | 1467 buildUnnamed2018() { |
| 1468 var o = new core.List<api.PersonUrls>(); | 1468 var o = new core.List<api.PersonUrls>(); |
| 1469 o.add(buildPersonUrls()); | 1469 o.add(buildPersonUrls()); |
| 1470 o.add(buildPersonUrls()); | 1470 o.add(buildPersonUrls()); |
| 1471 return o; | 1471 return o; |
| 1472 } | 1472 } |
| 1473 | 1473 |
| 1474 checkUnnamed955(core.List<api.PersonUrls> o) { | 1474 checkUnnamed2018(core.List<api.PersonUrls> o) { |
| 1475 unittest.expect(o, unittest.hasLength(2)); | 1475 unittest.expect(o, unittest.hasLength(2)); |
| 1476 checkPersonUrls(o[0]); | 1476 checkPersonUrls(o[0]); |
| 1477 checkPersonUrls(o[1]); | 1477 checkPersonUrls(o[1]); |
| 1478 } | 1478 } |
| 1479 | 1479 |
| 1480 core.int buildCounterPerson = 0; | 1480 core.int buildCounterPerson = 0; |
| 1481 buildPerson() { | 1481 buildPerson() { |
| 1482 var o = new api.Person(); | 1482 var o = new api.Person(); |
| 1483 buildCounterPerson++; | 1483 buildCounterPerson++; |
| 1484 if (buildCounterPerson < 3) { | 1484 if (buildCounterPerson < 3) { |
| 1485 o.aboutMe = "foo"; | 1485 o.aboutMe = "foo"; |
| 1486 o.birthday = "foo"; | 1486 o.birthday = "foo"; |
| 1487 o.braggingRights = "foo"; | 1487 o.braggingRights = "foo"; |
| 1488 o.circledByCount = 42; | 1488 o.circledByCount = 42; |
| 1489 o.cover = buildPersonCover(); | 1489 o.cover = buildPersonCover(); |
| 1490 o.currentLocation = "foo"; | 1490 o.currentLocation = "foo"; |
| 1491 o.displayName = "foo"; | 1491 o.displayName = "foo"; |
| 1492 o.domain = "foo"; | 1492 o.domain = "foo"; |
| 1493 o.emails = buildUnnamed952(); | 1493 o.emails = buildUnnamed2015(); |
| 1494 o.etag = "foo"; | 1494 o.etag = "foo"; |
| 1495 o.gender = "foo"; | 1495 o.gender = "foo"; |
| 1496 o.id = "foo"; | 1496 o.id = "foo"; |
| 1497 o.image = buildPersonImage(); | 1497 o.image = buildPersonImage(); |
| 1498 o.isPlusUser = true; | 1498 o.isPlusUser = true; |
| 1499 o.kind = "foo"; | 1499 o.kind = "foo"; |
| 1500 o.name = buildPersonName(); | 1500 o.name = buildPersonName(); |
| 1501 o.nickname = "foo"; | 1501 o.nickname = "foo"; |
| 1502 o.objectType = "foo"; | 1502 o.objectType = "foo"; |
| 1503 o.occupation = "foo"; | 1503 o.occupation = "foo"; |
| 1504 o.organizations = buildUnnamed953(); | 1504 o.organizations = buildUnnamed2016(); |
| 1505 o.placesLived = buildUnnamed954(); | 1505 o.placesLived = buildUnnamed2017(); |
| 1506 o.plusOneCount = 42; | 1506 o.plusOneCount = 42; |
| 1507 o.relationshipStatus = "foo"; | 1507 o.relationshipStatus = "foo"; |
| 1508 o.skills = "foo"; | 1508 o.skills = "foo"; |
| 1509 o.tagline = "foo"; | 1509 o.tagline = "foo"; |
| 1510 o.url = "foo"; | 1510 o.url = "foo"; |
| 1511 o.urls = buildUnnamed955(); | 1511 o.urls = buildUnnamed2018(); |
| 1512 o.verified = true; | 1512 o.verified = true; |
| 1513 } | 1513 } |
| 1514 buildCounterPerson--; | 1514 buildCounterPerson--; |
| 1515 return o; | 1515 return o; |
| 1516 } | 1516 } |
| 1517 | 1517 |
| 1518 checkPerson(api.Person o) { | 1518 checkPerson(api.Person o) { |
| 1519 buildCounterPerson++; | 1519 buildCounterPerson++; |
| 1520 if (buildCounterPerson < 3) { | 1520 if (buildCounterPerson < 3) { |
| 1521 unittest.expect(o.aboutMe, unittest.equals('foo')); | 1521 unittest.expect(o.aboutMe, unittest.equals('foo')); |
| 1522 unittest.expect(o.birthday, unittest.equals('foo')); | 1522 unittest.expect(o.birthday, unittest.equals('foo')); |
| 1523 unittest.expect(o.braggingRights, unittest.equals('foo')); | 1523 unittest.expect(o.braggingRights, unittest.equals('foo')); |
| 1524 unittest.expect(o.circledByCount, unittest.equals(42)); | 1524 unittest.expect(o.circledByCount, unittest.equals(42)); |
| 1525 checkPersonCover(o.cover); | 1525 checkPersonCover(o.cover); |
| 1526 unittest.expect(o.currentLocation, unittest.equals('foo')); | 1526 unittest.expect(o.currentLocation, unittest.equals('foo')); |
| 1527 unittest.expect(o.displayName, unittest.equals('foo')); | 1527 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1528 unittest.expect(o.domain, unittest.equals('foo')); | 1528 unittest.expect(o.domain, unittest.equals('foo')); |
| 1529 checkUnnamed952(o.emails); | 1529 checkUnnamed2015(o.emails); |
| 1530 unittest.expect(o.etag, unittest.equals('foo')); | 1530 unittest.expect(o.etag, unittest.equals('foo')); |
| 1531 unittest.expect(o.gender, unittest.equals('foo')); | 1531 unittest.expect(o.gender, unittest.equals('foo')); |
| 1532 unittest.expect(o.id, unittest.equals('foo')); | 1532 unittest.expect(o.id, unittest.equals('foo')); |
| 1533 checkPersonImage(o.image); | 1533 checkPersonImage(o.image); |
| 1534 unittest.expect(o.isPlusUser, unittest.isTrue); | 1534 unittest.expect(o.isPlusUser, unittest.isTrue); |
| 1535 unittest.expect(o.kind, unittest.equals('foo')); | 1535 unittest.expect(o.kind, unittest.equals('foo')); |
| 1536 checkPersonName(o.name); | 1536 checkPersonName(o.name); |
| 1537 unittest.expect(o.nickname, unittest.equals('foo')); | 1537 unittest.expect(o.nickname, unittest.equals('foo')); |
| 1538 unittest.expect(o.objectType, unittest.equals('foo')); | 1538 unittest.expect(o.objectType, unittest.equals('foo')); |
| 1539 unittest.expect(o.occupation, unittest.equals('foo')); | 1539 unittest.expect(o.occupation, unittest.equals('foo')); |
| 1540 checkUnnamed953(o.organizations); | 1540 checkUnnamed2016(o.organizations); |
| 1541 checkUnnamed954(o.placesLived); | 1541 checkUnnamed2017(o.placesLived); |
| 1542 unittest.expect(o.plusOneCount, unittest.equals(42)); | 1542 unittest.expect(o.plusOneCount, unittest.equals(42)); |
| 1543 unittest.expect(o.relationshipStatus, unittest.equals('foo')); | 1543 unittest.expect(o.relationshipStatus, unittest.equals('foo')); |
| 1544 unittest.expect(o.skills, unittest.equals('foo')); | 1544 unittest.expect(o.skills, unittest.equals('foo')); |
| 1545 unittest.expect(o.tagline, unittest.equals('foo')); | 1545 unittest.expect(o.tagline, unittest.equals('foo')); |
| 1546 unittest.expect(o.url, unittest.equals('foo')); | 1546 unittest.expect(o.url, unittest.equals('foo')); |
| 1547 checkUnnamed955(o.urls); | 1547 checkUnnamed2018(o.urls); |
| 1548 unittest.expect(o.verified, unittest.isTrue); | 1548 unittest.expect(o.verified, unittest.isTrue); |
| 1549 } | 1549 } |
| 1550 buildCounterPerson--; | 1550 buildCounterPerson--; |
| 1551 } | 1551 } |
| 1552 | 1552 |
| 1553 core.int buildCounterPlaceAddress = 0; | 1553 core.int buildCounterPlaceAddress = 0; |
| 1554 buildPlaceAddress() { | 1554 buildPlaceAddress() { |
| 1555 var o = new api.PlaceAddress(); | 1555 var o = new api.PlaceAddress(); |
| 1556 buildCounterPlaceAddress++; | 1556 buildCounterPlaceAddress++; |
| 1557 if (buildCounterPlaceAddress < 3) { | 1557 if (buildCounterPlaceAddress < 3) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 buildCounterVideostream++; | 1658 buildCounterVideostream++; |
| 1659 if (buildCounterVideostream < 3) { | 1659 if (buildCounterVideostream < 3) { |
| 1660 unittest.expect(o.height, unittest.equals(42)); | 1660 unittest.expect(o.height, unittest.equals(42)); |
| 1661 unittest.expect(o.type, unittest.equals('foo')); | 1661 unittest.expect(o.type, unittest.equals('foo')); |
| 1662 unittest.expect(o.url, unittest.equals('foo')); | 1662 unittest.expect(o.url, unittest.equals('foo')); |
| 1663 unittest.expect(o.width, unittest.equals(42)); | 1663 unittest.expect(o.width, unittest.equals(42)); |
| 1664 } | 1664 } |
| 1665 buildCounterVideostream--; | 1665 buildCounterVideostream--; |
| 1666 } | 1666 } |
| 1667 | 1667 |
| 1668 buildUnnamed956() { | 1668 buildUnnamed2019() { |
| 1669 var o = new core.List<core.String>(); | 1669 var o = new core.List<core.String>(); |
| 1670 o.add("foo"); | 1670 o.add("foo"); |
| 1671 o.add("foo"); | 1671 o.add("foo"); |
| 1672 return o; | 1672 return o; |
| 1673 } | 1673 } |
| 1674 | 1674 |
| 1675 checkUnnamed956(core.List<core.String> o) { | 1675 checkUnnamed2019(core.List<core.String> o) { |
| 1676 unittest.expect(o, unittest.hasLength(2)); | 1676 unittest.expect(o, unittest.hasLength(2)); |
| 1677 unittest.expect(o[0], unittest.equals('foo')); | 1677 unittest.expect(o[0], unittest.equals('foo')); |
| 1678 unittest.expect(o[1], unittest.equals('foo')); | 1678 unittest.expect(o[1], unittest.equals('foo')); |
| 1679 } | 1679 } |
| 1680 | 1680 |
| 1681 buildUnnamed957() { | 1681 buildUnnamed2020() { |
| 1682 var o = new core.List<core.String>(); | 1682 var o = new core.List<core.String>(); |
| 1683 o.add("foo"); | 1683 o.add("foo"); |
| 1684 o.add("foo"); | 1684 o.add("foo"); |
| 1685 return o; | 1685 return o; |
| 1686 } | 1686 } |
| 1687 | 1687 |
| 1688 checkUnnamed957(core.List<core.String> o) { | 1688 checkUnnamed2020(core.List<core.String> o) { |
| 1689 unittest.expect(o, unittest.hasLength(2)); | 1689 unittest.expect(o, unittest.hasLength(2)); |
| 1690 unittest.expect(o[0], unittest.equals('foo')); | 1690 unittest.expect(o[0], unittest.equals('foo')); |
| 1691 unittest.expect(o[1], unittest.equals('foo')); | 1691 unittest.expect(o[1], unittest.equals('foo')); |
| 1692 } | 1692 } |
| 1693 | 1693 |
| 1694 buildUnnamed958() { | 1694 buildUnnamed2021() { |
| 1695 var o = new core.List<core.String>(); | 1695 var o = new core.List<core.String>(); |
| 1696 o.add("foo"); | 1696 o.add("foo"); |
| 1697 o.add("foo"); | 1697 o.add("foo"); |
| 1698 return o; | 1698 return o; |
| 1699 } | 1699 } |
| 1700 | 1700 |
| 1701 checkUnnamed958(core.List<core.String> o) { | 1701 checkUnnamed2021(core.List<core.String> o) { |
| 1702 unittest.expect(o, unittest.hasLength(2)); | 1702 unittest.expect(o, unittest.hasLength(2)); |
| 1703 unittest.expect(o[0], unittest.equals('foo')); | 1703 unittest.expect(o[0], unittest.equals('foo')); |
| 1704 unittest.expect(o[1], unittest.equals('foo')); | 1704 unittest.expect(o[1], unittest.equals('foo')); |
| 1705 } | 1705 } |
| 1706 | 1706 |
| 1707 buildUnnamed959() { | 1707 buildUnnamed2022() { |
| 1708 var o = new core.List<core.String>(); | 1708 var o = new core.List<core.String>(); |
| 1709 o.add("foo"); | 1709 o.add("foo"); |
| 1710 o.add("foo"); | 1710 o.add("foo"); |
| 1711 return o; | 1711 return o; |
| 1712 } | 1712 } |
| 1713 | 1713 |
| 1714 checkUnnamed959(core.List<core.String> o) { | 1714 checkUnnamed2022(core.List<core.String> o) { |
| 1715 unittest.expect(o, unittest.hasLength(2)); | 1715 unittest.expect(o, unittest.hasLength(2)); |
| 1716 unittest.expect(o[0], unittest.equals('foo')); | 1716 unittest.expect(o[0], unittest.equals('foo')); |
| 1717 unittest.expect(o[1], unittest.equals('foo')); | 1717 unittest.expect(o[1], unittest.equals('foo')); |
| 1718 } | 1718 } |
| 1719 | 1719 |
| 1720 | 1720 |
| 1721 main() { | 1721 main() { |
| 1722 unittest.group("obj-schema-Acl", () { | 1722 unittest.group("obj-schema-Acl", () { |
| 1723 unittest.test("to-json--from-json", () { | 1723 unittest.test("to-json--from-json", () { |
| 1724 var o = buildAcl(); | 1724 var o = buildAcl(); |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2429 | 2429 |
| 2430 }); | 2430 }); |
| 2431 | 2431 |
| 2432 | 2432 |
| 2433 unittest.group("resource-CirclesResourceApi", () { | 2433 unittest.group("resource-CirclesResourceApi", () { |
| 2434 unittest.test("method--addPeople", () { | 2434 unittest.test("method--addPeople", () { |
| 2435 | 2435 |
| 2436 var mock = new HttpServerMock(); | 2436 var mock = new HttpServerMock(); |
| 2437 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; | 2437 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; |
| 2438 var arg_circleId = "foo"; | 2438 var arg_circleId = "foo"; |
| 2439 var arg_email = buildUnnamed956(); | 2439 var arg_email = buildUnnamed2019(); |
| 2440 var arg_userId = buildUnnamed957(); | 2440 var arg_userId = buildUnnamed2020(); |
| 2441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2441 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2442 var path = (req.url).path; | 2442 var path = (req.url).path; |
| 2443 var pathOffset = 0; | 2443 var pathOffset = 0; |
| 2444 var index; | 2444 var index; |
| 2445 var subPart; | 2445 var subPart; |
| 2446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2446 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2447 pathOffset += 1; | 2447 pathOffset += 1; |
| 2448 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); | 2448 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); |
| 2449 pathOffset += 15; | 2449 pathOffset += 15; |
| 2450 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); | 2450 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2749 return new async.Future.value(stringResponse(200, h, resp)); | 2749 return new async.Future.value(stringResponse(200, h, resp)); |
| 2750 }), true); | 2750 }), true); |
| 2751 res.remove(arg_circleId).then(unittest.expectAsync((_) {})); | 2751 res.remove(arg_circleId).then(unittest.expectAsync((_) {})); |
| 2752 }); | 2752 }); |
| 2753 | 2753 |
| 2754 unittest.test("method--removePeople", () { | 2754 unittest.test("method--removePeople", () { |
| 2755 | 2755 |
| 2756 var mock = new HttpServerMock(); | 2756 var mock = new HttpServerMock(); |
| 2757 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; | 2757 api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles; |
| 2758 var arg_circleId = "foo"; | 2758 var arg_circleId = "foo"; |
| 2759 var arg_email = buildUnnamed958(); | 2759 var arg_email = buildUnnamed2021(); |
| 2760 var arg_userId = buildUnnamed959(); | 2760 var arg_userId = buildUnnamed2022(); |
| 2761 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2761 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 2762 var path = (req.url).path; | 2762 var path = (req.url).path; |
| 2763 var pathOffset = 0; | 2763 var pathOffset = 0; |
| 2764 var index; | 2764 var index; |
| 2765 var subPart; | 2765 var subPart; |
| 2766 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2766 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2767 pathOffset += 1; | 2767 pathOffset += 1; |
| 2768 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); | 2768 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("plusDomains/v1/")); |
| 2769 pathOffset += 15; | 2769 pathOffset += 15; |
| 2770 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); | 2770 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ
als("circles/")); |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3327 res.listByCircle(arg_circleId, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { | 3327 res.listByCircle(arg_circleId, maxResults: arg_maxResults, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.PeopleFeed response) { |
| 3328 checkPeopleFeed(response); | 3328 checkPeopleFeed(response); |
| 3329 }))); | 3329 }))); |
| 3330 }); | 3330 }); |
| 3331 | 3331 |
| 3332 }); | 3332 }); |
| 3333 | 3333 |
| 3334 | 3334 |
| 3335 } | 3335 } |
| 3336 | 3336 |
| OLD | NEW |