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

Unified Diff: generated/googleapis/test/plusdomains/v1_test.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: generated/googleapis/test/plusdomains/v1_test.dart
diff --git a/generated/googleapis/test/plusdomains/v1_test.dart b/generated/googleapis/test/plusdomains/v1_test.dart
index 0fe69bb1c7ba126721759e8e3d920962cdce0527..c4cafcb731143097b6710c1954038beeaa3cfdc7 100644
--- a/generated/googleapis/test/plusdomains/v1_test.dart
+++ b/generated/googleapis/test/plusdomains/v1_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed941() {
+buildUnnamed2004() {
var o = new core.List<api.PlusDomainsAclentryResource>();
o.add(buildPlusDomainsAclentryResource());
o.add(buildPlusDomainsAclentryResource());
return o;
}
-checkUnnamed941(core.List<api.PlusDomainsAclentryResource> o) {
+checkUnnamed2004(core.List<api.PlusDomainsAclentryResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkPlusDomainsAclentryResource(o[0]);
checkPlusDomainsAclentryResource(o[1]);
@@ -71,7 +71,7 @@ buildAcl() {
if (buildCounterAcl < 3) {
o.description = "foo";
o.domainRestricted = true;
- o.items = buildUnnamed941();
+ o.items = buildUnnamed2004();
o.kind = "foo";
}
buildCounterAcl--;
@@ -83,7 +83,7 @@ checkAcl(api.Acl o) {
if (buildCounterAcl < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.domainRestricted, unittest.isTrue);
- checkUnnamed941(o.items);
+ checkUnnamed2004(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterAcl--;
@@ -290,14 +290,14 @@ checkActivityObjectAttachmentsPreviewThumbnails(api.ActivityObjectAttachmentsPre
buildCounterActivityObjectAttachmentsPreviewThumbnails--;
}
-buildUnnamed942() {
+buildUnnamed2005() {
var o = new core.List<api.ActivityObjectAttachmentsPreviewThumbnails>();
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
o.add(buildActivityObjectAttachmentsPreviewThumbnails());
return o;
}
-checkUnnamed942(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
+checkUnnamed2005(core.List<api.ActivityObjectAttachmentsPreviewThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsPreviewThumbnails(o[0]);
checkActivityObjectAttachmentsPreviewThumbnails(o[1]);
@@ -351,14 +351,14 @@ checkActivityObjectAttachmentsThumbnails(api.ActivityObjectAttachmentsThumbnails
buildCounterActivityObjectAttachmentsThumbnails--;
}
-buildUnnamed943() {
+buildUnnamed2006() {
var o = new core.List<api.ActivityObjectAttachmentsThumbnails>();
o.add(buildActivityObjectAttachmentsThumbnails());
o.add(buildActivityObjectAttachmentsThumbnails());
return o;
}
-checkUnnamed943(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
+checkUnnamed2006(core.List<api.ActivityObjectAttachmentsThumbnails> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachmentsThumbnails(o[0]);
checkActivityObjectAttachmentsThumbnails(o[1]);
@@ -376,8 +376,8 @@ buildActivityObjectAttachments() {
o.id = "foo";
o.image = buildActivityObjectAttachmentsImage();
o.objectType = "foo";
- o.previewThumbnails = buildUnnamed942();
- o.thumbnails = buildUnnamed943();
+ o.previewThumbnails = buildUnnamed2005();
+ o.thumbnails = buildUnnamed2006();
o.url = "foo";
}
buildCounterActivityObjectAttachments--;
@@ -394,21 +394,21 @@ checkActivityObjectAttachments(api.ActivityObjectAttachments o) {
unittest.expect(o.id, unittest.equals('foo'));
checkActivityObjectAttachmentsImage(o.image);
unittest.expect(o.objectType, unittest.equals('foo'));
- checkUnnamed942(o.previewThumbnails);
- checkUnnamed943(o.thumbnails);
+ checkUnnamed2005(o.previewThumbnails);
+ checkUnnamed2006(o.thumbnails);
unittest.expect(o.url, unittest.equals('foo'));
}
buildCounterActivityObjectAttachments--;
}
-buildUnnamed944() {
+buildUnnamed2007() {
var o = new core.List<api.ActivityObjectAttachments>();
o.add(buildActivityObjectAttachments());
o.add(buildActivityObjectAttachments());
return o;
}
-checkUnnamed944(core.List<api.ActivityObjectAttachments> o) {
+checkUnnamed2007(core.List<api.ActivityObjectAttachments> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivityObjectAttachments(o[0]);
checkActivityObjectAttachments(o[1]);
@@ -510,7 +510,7 @@ buildActivityObject() {
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
o.actor = buildActivityObjectActor();
- o.attachments = buildUnnamed944();
+ o.attachments = buildUnnamed2007();
o.content = "foo";
o.id = "foo";
o.objectType = "foo";
@@ -529,7 +529,7 @@ checkActivityObject(api.ActivityObject o) {
buildCounterActivityObject++;
if (buildCounterActivityObject < 3) {
checkActivityObjectActor(o.actor);
- checkUnnamed944(o.attachments);
+ checkUnnamed2007(o.attachments);
unittest.expect(o.content, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
@@ -619,14 +619,14 @@ checkActivity(api.Activity o) {
buildCounterActivity--;
}
-buildUnnamed945() {
+buildUnnamed2008() {
var o = new core.List<api.Activity>();
o.add(buildActivity());
o.add(buildActivity());
return o;
}
-checkUnnamed945(core.List<api.Activity> o) {
+checkUnnamed2008(core.List<api.Activity> o) {
unittest.expect(o, unittest.hasLength(2));
checkActivity(o[0]);
checkActivity(o[1]);
@@ -639,7 +639,7 @@ buildActivityFeed() {
if (buildCounterActivityFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed945();
+ o.items = buildUnnamed2008();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -656,7 +656,7 @@ checkActivityFeed(api.ActivityFeed o) {
if (buildCounterActivityFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed945(o.items);
+ checkUnnamed2008(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -694,14 +694,14 @@ checkAudience(api.Audience o) {
buildCounterAudience--;
}
-buildUnnamed946() {
+buildUnnamed2009() {
var o = new core.List<api.Audience>();
o.add(buildAudience());
o.add(buildAudience());
return o;
}
-checkUnnamed946(core.List<api.Audience> o) {
+checkUnnamed2009(core.List<api.Audience> o) {
unittest.expect(o, unittest.hasLength(2));
checkAudience(o[0]);
checkAudience(o[1]);
@@ -713,7 +713,7 @@ buildAudiencesFeed() {
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed946();
+ o.items = buildUnnamed2009();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -726,7 +726,7 @@ checkAudiencesFeed(api.AudiencesFeed o) {
buildCounterAudiencesFeed++;
if (buildCounterAudiencesFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed946(o.items);
+ checkUnnamed2009(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -784,14 +784,14 @@ checkCircle(api.Circle o) {
buildCounterCircle--;
}
-buildUnnamed947() {
+buildUnnamed2010() {
var o = new core.List<api.Circle>();
o.add(buildCircle());
o.add(buildCircle());
return o;
}
-checkUnnamed947(core.List<api.Circle> o) {
+checkUnnamed2010(core.List<api.Circle> o) {
unittest.expect(o, unittest.hasLength(2));
checkCircle(o[0]);
checkCircle(o[1]);
@@ -803,7 +803,7 @@ buildCircleFeed() {
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed947();
+ o.items = buildUnnamed2010();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -819,7 +819,7 @@ checkCircleFeed(api.CircleFeed o) {
buildCounterCircleFeed++;
if (buildCounterCircleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed947(o.items);
+ checkUnnamed2010(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -895,14 +895,14 @@ checkCommentInReplyTo(api.CommentInReplyTo o) {
buildCounterCommentInReplyTo--;
}
-buildUnnamed948() {
+buildUnnamed2011() {
var o = new core.List<api.CommentInReplyTo>();
o.add(buildCommentInReplyTo());
o.add(buildCommentInReplyTo());
return o;
}
-checkUnnamed948(core.List<api.CommentInReplyTo> o) {
+checkUnnamed2011(core.List<api.CommentInReplyTo> o) {
unittest.expect(o, unittest.hasLength(2));
checkCommentInReplyTo(o[0]);
checkCommentInReplyTo(o[1]);
@@ -958,7 +958,7 @@ buildComment() {
o.actor = buildCommentActor();
o.etag = "foo";
o.id = "foo";
- o.inReplyTo = buildUnnamed948();
+ o.inReplyTo = buildUnnamed2011();
o.kind = "foo";
o.object = buildCommentObject();
o.plusoners = buildCommentPlusoners();
@@ -977,7 +977,7 @@ checkComment(api.Comment o) {
checkCommentActor(o.actor);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed948(o.inReplyTo);
+ checkUnnamed2011(o.inReplyTo);
unittest.expect(o.kind, unittest.equals('foo'));
checkCommentObject(o.object);
checkCommentPlusoners(o.plusoners);
@@ -989,14 +989,14 @@ checkComment(api.Comment o) {
buildCounterComment--;
}
-buildUnnamed949() {
+buildUnnamed2012() {
var o = new core.List<api.Comment>();
o.add(buildComment());
o.add(buildComment());
return o;
}
-checkUnnamed949(core.List<api.Comment> o) {
+checkUnnamed2012(core.List<api.Comment> o) {
unittest.expect(o, unittest.hasLength(2));
checkComment(o[0]);
checkComment(o[1]);
@@ -1009,7 +1009,7 @@ buildCommentFeed() {
if (buildCounterCommentFeed < 3) {
o.etag = "foo";
o.id = "foo";
- o.items = buildUnnamed949();
+ o.items = buildUnnamed2012();
o.kind = "foo";
o.nextLink = "foo";
o.nextPageToken = "foo";
@@ -1025,7 +1025,7 @@ checkCommentFeed(api.CommentFeed o) {
if (buildCounterCommentFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed949(o.items);
+ checkUnnamed2012(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextLink, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -1098,14 +1098,14 @@ checkMediaExif(api.MediaExif o) {
buildCounterMediaExif--;
}
-buildUnnamed950() {
+buildUnnamed2013() {
var o = new core.List<api.Videostream>();
o.add(buildVideostream());
o.add(buildVideostream());
return o;
}
-checkUnnamed950(core.List<api.Videostream> o) {
+checkUnnamed2013(core.List<api.Videostream> o) {
unittest.expect(o, unittest.hasLength(2));
checkVideostream(o[0]);
checkVideostream(o[1]);
@@ -1127,7 +1127,7 @@ buildMedia() {
o.mediaUrl = "foo";
o.published = core.DateTime.parse("2002-02-27T14:01:02");
o.sizeBytes = "foo";
- o.streams = buildUnnamed950();
+ o.streams = buildUnnamed2013();
o.summary = "foo";
o.updated = core.DateTime.parse("2002-02-27T14:01:02");
o.url = "foo";
@@ -1153,7 +1153,7 @@ checkMedia(api.Media o) {
unittest.expect(o.mediaUrl, unittest.equals('foo'));
unittest.expect(o.published, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.sizeBytes, unittest.equals('foo'));
- checkUnnamed950(o.streams);
+ checkUnnamed2013(o.streams);
unittest.expect(o.summary, unittest.equals('foo'));
unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
unittest.expect(o.url, unittest.equals('foo'));
@@ -1164,14 +1164,14 @@ checkMedia(api.Media o) {
buildCounterMedia--;
}
-buildUnnamed951() {
+buildUnnamed2014() {
var o = new core.List<api.Person>();
o.add(buildPerson());
o.add(buildPerson());
return o;
}
-checkUnnamed951(core.List<api.Person> o) {
+checkUnnamed2014(core.List<api.Person> o) {
unittest.expect(o, unittest.hasLength(2));
checkPerson(o[0]);
checkPerson(o[1]);
@@ -1183,7 +1183,7 @@ buildPeopleFeed() {
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
o.etag = "foo";
- o.items = buildUnnamed951();
+ o.items = buildUnnamed2014();
o.kind = "foo";
o.nextPageToken = "foo";
o.selfLink = "foo";
@@ -1198,7 +1198,7 @@ checkPeopleFeed(api.PeopleFeed o) {
buildCounterPeopleFeed++;
if (buildCounterPeopleFeed < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed951(o.items);
+ checkUnnamed2014(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -1296,14 +1296,14 @@ checkPersonEmails(api.PersonEmails o) {
buildCounterPersonEmails--;
}
-buildUnnamed952() {
+buildUnnamed2015() {
var o = new core.List<api.PersonEmails>();
o.add(buildPersonEmails());
o.add(buildPersonEmails());
return o;
}
-checkUnnamed952(core.List<api.PersonEmails> o) {
+checkUnnamed2015(core.List<api.PersonEmails> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonEmails(o[0]);
checkPersonEmails(o[1]);
@@ -1394,14 +1394,14 @@ checkPersonOrganizations(api.PersonOrganizations o) {
buildCounterPersonOrganizations--;
}
-buildUnnamed953() {
+buildUnnamed2016() {
var o = new core.List<api.PersonOrganizations>();
o.add(buildPersonOrganizations());
o.add(buildPersonOrganizations());
return o;
}
-checkUnnamed953(core.List<api.PersonOrganizations> o) {
+checkUnnamed2016(core.List<api.PersonOrganizations> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonOrganizations(o[0]);
checkPersonOrganizations(o[1]);
@@ -1428,14 +1428,14 @@ checkPersonPlacesLived(api.PersonPlacesLived o) {
buildCounterPersonPlacesLived--;
}
-buildUnnamed954() {
+buildUnnamed2017() {
var o = new core.List<api.PersonPlacesLived>();
o.add(buildPersonPlacesLived());
o.add(buildPersonPlacesLived());
return o;
}
-checkUnnamed954(core.List<api.PersonPlacesLived> o) {
+checkUnnamed2017(core.List<api.PersonPlacesLived> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonPlacesLived(o[0]);
checkPersonPlacesLived(o[1]);
@@ -1464,14 +1464,14 @@ checkPersonUrls(api.PersonUrls o) {
buildCounterPersonUrls--;
}
-buildUnnamed955() {
+buildUnnamed2018() {
var o = new core.List<api.PersonUrls>();
o.add(buildPersonUrls());
o.add(buildPersonUrls());
return o;
}
-checkUnnamed955(core.List<api.PersonUrls> o) {
+checkUnnamed2018(core.List<api.PersonUrls> o) {
unittest.expect(o, unittest.hasLength(2));
checkPersonUrls(o[0]);
checkPersonUrls(o[1]);
@@ -1490,7 +1490,7 @@ buildPerson() {
o.currentLocation = "foo";
o.displayName = "foo";
o.domain = "foo";
- o.emails = buildUnnamed952();
+ o.emails = buildUnnamed2015();
o.etag = "foo";
o.gender = "foo";
o.id = "foo";
@@ -1501,14 +1501,14 @@ buildPerson() {
o.nickname = "foo";
o.objectType = "foo";
o.occupation = "foo";
- o.organizations = buildUnnamed953();
- o.placesLived = buildUnnamed954();
+ o.organizations = buildUnnamed2016();
+ o.placesLived = buildUnnamed2017();
o.plusOneCount = 42;
o.relationshipStatus = "foo";
o.skills = "foo";
o.tagline = "foo";
o.url = "foo";
- o.urls = buildUnnamed955();
+ o.urls = buildUnnamed2018();
o.verified = true;
}
buildCounterPerson--;
@@ -1526,7 +1526,7 @@ checkPerson(api.Person o) {
unittest.expect(o.currentLocation, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domain, unittest.equals('foo'));
- checkUnnamed952(o.emails);
+ checkUnnamed2015(o.emails);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.gender, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -1537,14 +1537,14 @@ checkPerson(api.Person o) {
unittest.expect(o.nickname, unittest.equals('foo'));
unittest.expect(o.objectType, unittest.equals('foo'));
unittest.expect(o.occupation, unittest.equals('foo'));
- checkUnnamed953(o.organizations);
- checkUnnamed954(o.placesLived);
+ checkUnnamed2016(o.organizations);
+ checkUnnamed2017(o.placesLived);
unittest.expect(o.plusOneCount, unittest.equals(42));
unittest.expect(o.relationshipStatus, unittest.equals('foo'));
unittest.expect(o.skills, unittest.equals('foo'));
unittest.expect(o.tagline, unittest.equals('foo'));
unittest.expect(o.url, unittest.equals('foo'));
- checkUnnamed955(o.urls);
+ checkUnnamed2018(o.urls);
unittest.expect(o.verified, unittest.isTrue);
}
buildCounterPerson--;
@@ -1665,53 +1665,53 @@ checkVideostream(api.Videostream o) {
buildCounterVideostream--;
}
-buildUnnamed956() {
+buildUnnamed2019() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed956(core.List<core.String> o) {
+checkUnnamed2019(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed957() {
+buildUnnamed2020() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed957(core.List<core.String> o) {
+checkUnnamed2020(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed958() {
+buildUnnamed2021() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed958(core.List<core.String> o) {
+checkUnnamed2021(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
}
-buildUnnamed959() {
+buildUnnamed2022() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed959(core.List<core.String> o) {
+checkUnnamed2022(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo'));
unittest.expect(o[1], unittest.equals('foo'));
@@ -2436,8 +2436,8 @@ main() {
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed956();
- var arg_userId = buildUnnamed957();
+ var arg_email = buildUnnamed2019();
+ var arg_userId = buildUnnamed2020();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -2756,8 +2756,8 @@ main() {
var mock = new HttpServerMock();
api.CirclesResourceApi res = new api.PlusDomainsApi(mock).circles;
var arg_circleId = "foo";
- var arg_email = buildUnnamed958();
- var arg_userId = buildUnnamed959();
+ var arg_email = buildUnnamed2021();
+ var arg_userId = buildUnnamed2022();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;

Powered by Google App Engine
This is Rietveld 408576698