| Index: generated/googleapis/test/people/v1_test.dart
|
| diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart
|
| index 1cb56d0d3dfd95bb5af2643e908646ffcd7c4a31..127a6b8a15c016594ee4b05d5d862f2dbe11a8d1 100644
|
| --- a/generated/googleapis/test/people/v1_test.dart
|
| +++ b/generated/googleapis/test/people/v1_test.dart
|
| @@ -362,14 +362,14 @@ checkGender(api.Gender o) {
|
| buildCounterGender--;
|
| }
|
|
|
| -buildUnnamed1247() {
|
| +buildUnnamed1300() {
|
| var o = new core.List<api.PersonResponse>();
|
| o.add(buildPersonResponse());
|
| o.add(buildPersonResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1247(core.List<api.PersonResponse> o) {
|
| +checkUnnamed1300(core.List<api.PersonResponse> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPersonResponse(o[0]);
|
| checkPersonResponse(o[1]);
|
| @@ -380,7 +380,7 @@ buildGetPeopleResponse() {
|
| var o = new api.GetPeopleResponse();
|
| buildCounterGetPeopleResponse++;
|
| if (buildCounterGetPeopleResponse < 3) {
|
| - o.responses = buildUnnamed1247();
|
| + o.responses = buildUnnamed1300();
|
| }
|
| buildCounterGetPeopleResponse--;
|
| return o;
|
| @@ -389,7 +389,7 @@ buildGetPeopleResponse() {
|
| checkGetPeopleResponse(api.GetPeopleResponse o) {
|
| buildCounterGetPeopleResponse++;
|
| if (buildCounterGetPeopleResponse < 3) {
|
| - checkUnnamed1247(o.responses);
|
| + checkUnnamed1300(o.responses);
|
| }
|
| buildCounterGetPeopleResponse--;
|
| }
|
| @@ -444,14 +444,14 @@ checkInterest(api.Interest o) {
|
| buildCounterInterest--;
|
| }
|
|
|
| -buildUnnamed1248() {
|
| +buildUnnamed1301() {
|
| var o = new core.List<api.Person>();
|
| o.add(buildPerson());
|
| o.add(buildPerson());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1248(core.List<api.Person> o) {
|
| +checkUnnamed1301(core.List<api.Person> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPerson(o[0]);
|
| checkPerson(o[1]);
|
| @@ -462,9 +462,10 @@ buildListConnectionsResponse() {
|
| var o = new api.ListConnectionsResponse();
|
| buildCounterListConnectionsResponse++;
|
| if (buildCounterListConnectionsResponse < 3) {
|
| - o.connections = buildUnnamed1248();
|
| + o.connections = buildUnnamed1301();
|
| o.nextPageToken = "foo";
|
| o.nextSyncToken = "foo";
|
| + o.totalPeople = 42;
|
| }
|
| buildCounterListConnectionsResponse--;
|
| return o;
|
| @@ -473,9 +474,10 @@ buildListConnectionsResponse() {
|
| checkListConnectionsResponse(api.ListConnectionsResponse o) {
|
| buildCounterListConnectionsResponse++;
|
| if (buildCounterListConnectionsResponse < 3) {
|
| - checkUnnamed1248(o.connections);
|
| + checkUnnamed1301(o.connections);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.nextSyncToken, unittest.equals('foo'));
|
| + unittest.expect(o.totalPeople, unittest.equals(42));
|
| }
|
| buildCounterListConnectionsResponse--;
|
| }
|
| @@ -658,339 +660,339 @@ checkOrganization(api.Organization o) {
|
| buildCounterOrganization--;
|
| }
|
|
|
| -buildUnnamed1249() {
|
| +buildUnnamed1302() {
|
| var o = new core.List<api.Address>();
|
| o.add(buildAddress());
|
| o.add(buildAddress());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1249(core.List<api.Address> o) {
|
| +checkUnnamed1302(core.List<api.Address> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAddress(o[0]);
|
| checkAddress(o[1]);
|
| }
|
|
|
| -buildUnnamed1250() {
|
| +buildUnnamed1303() {
|
| var o = new core.List<api.AgeRangeType>();
|
| o.add(buildAgeRangeType());
|
| o.add(buildAgeRangeType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1250(core.List<api.AgeRangeType> o) {
|
| +checkUnnamed1303(core.List<api.AgeRangeType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAgeRangeType(o[0]);
|
| checkAgeRangeType(o[1]);
|
| }
|
|
|
| -buildUnnamed1251() {
|
| +buildUnnamed1304() {
|
| var o = new core.List<api.Biography>();
|
| o.add(buildBiography());
|
| o.add(buildBiography());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1251(core.List<api.Biography> o) {
|
| +checkUnnamed1304(core.List<api.Biography> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBiography(o[0]);
|
| checkBiography(o[1]);
|
| }
|
|
|
| -buildUnnamed1252() {
|
| +buildUnnamed1305() {
|
| var o = new core.List<api.Birthday>();
|
| o.add(buildBirthday());
|
| o.add(buildBirthday());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1252(core.List<api.Birthday> o) {
|
| +checkUnnamed1305(core.List<api.Birthday> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBirthday(o[0]);
|
| checkBirthday(o[1]);
|
| }
|
|
|
| -buildUnnamed1253() {
|
| +buildUnnamed1306() {
|
| var o = new core.List<api.BraggingRights>();
|
| o.add(buildBraggingRights());
|
| o.add(buildBraggingRights());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1253(core.List<api.BraggingRights> o) {
|
| +checkUnnamed1306(core.List<api.BraggingRights> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBraggingRights(o[0]);
|
| checkBraggingRights(o[1]);
|
| }
|
|
|
| -buildUnnamed1254() {
|
| +buildUnnamed1307() {
|
| var o = new core.List<api.CoverPhoto>();
|
| o.add(buildCoverPhoto());
|
| o.add(buildCoverPhoto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1254(core.List<api.CoverPhoto> o) {
|
| +checkUnnamed1307(core.List<api.CoverPhoto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCoverPhoto(o[0]);
|
| checkCoverPhoto(o[1]);
|
| }
|
|
|
| -buildUnnamed1255() {
|
| +buildUnnamed1308() {
|
| var o = new core.List<api.EmailAddress>();
|
| o.add(buildEmailAddress());
|
| o.add(buildEmailAddress());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1255(core.List<api.EmailAddress> o) {
|
| +checkUnnamed1308(core.List<api.EmailAddress> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEmailAddress(o[0]);
|
| checkEmailAddress(o[1]);
|
| }
|
|
|
| -buildUnnamed1256() {
|
| +buildUnnamed1309() {
|
| var o = new core.List<api.Event>();
|
| o.add(buildEvent());
|
| o.add(buildEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1256(core.List<api.Event> o) {
|
| +checkUnnamed1309(core.List<api.Event> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEvent(o[0]);
|
| checkEvent(o[1]);
|
| }
|
|
|
| -buildUnnamed1257() {
|
| +buildUnnamed1310() {
|
| var o = new core.List<api.Gender>();
|
| o.add(buildGender());
|
| o.add(buildGender());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1257(core.List<api.Gender> o) {
|
| +checkUnnamed1310(core.List<api.Gender> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGender(o[0]);
|
| checkGender(o[1]);
|
| }
|
|
|
| -buildUnnamed1258() {
|
| +buildUnnamed1311() {
|
| var o = new core.List<api.ImClient>();
|
| o.add(buildImClient());
|
| o.add(buildImClient());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1258(core.List<api.ImClient> o) {
|
| +checkUnnamed1311(core.List<api.ImClient> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkImClient(o[0]);
|
| checkImClient(o[1]);
|
| }
|
|
|
| -buildUnnamed1259() {
|
| +buildUnnamed1312() {
|
| var o = new core.List<api.Interest>();
|
| o.add(buildInterest());
|
| o.add(buildInterest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1259(core.List<api.Interest> o) {
|
| +checkUnnamed1312(core.List<api.Interest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInterest(o[0]);
|
| checkInterest(o[1]);
|
| }
|
|
|
| -buildUnnamed1260() {
|
| +buildUnnamed1313() {
|
| var o = new core.List<api.Locale>();
|
| o.add(buildLocale());
|
| o.add(buildLocale());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1260(core.List<api.Locale> o) {
|
| +checkUnnamed1313(core.List<api.Locale> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocale(o[0]);
|
| checkLocale(o[1]);
|
| }
|
|
|
| -buildUnnamed1261() {
|
| +buildUnnamed1314() {
|
| var o = new core.List<api.Membership>();
|
| o.add(buildMembership());
|
| o.add(buildMembership());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1261(core.List<api.Membership> o) {
|
| +checkUnnamed1314(core.List<api.Membership> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMembership(o[0]);
|
| checkMembership(o[1]);
|
| }
|
|
|
| -buildUnnamed1262() {
|
| +buildUnnamed1315() {
|
| var o = new core.List<api.Name>();
|
| o.add(buildName());
|
| o.add(buildName());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1262(core.List<api.Name> o) {
|
| +checkUnnamed1315(core.List<api.Name> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkName(o[0]);
|
| checkName(o[1]);
|
| }
|
|
|
| -buildUnnamed1263() {
|
| +buildUnnamed1316() {
|
| var o = new core.List<api.Nickname>();
|
| o.add(buildNickname());
|
| o.add(buildNickname());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1263(core.List<api.Nickname> o) {
|
| +checkUnnamed1316(core.List<api.Nickname> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNickname(o[0]);
|
| checkNickname(o[1]);
|
| }
|
|
|
| -buildUnnamed1264() {
|
| +buildUnnamed1317() {
|
| var o = new core.List<api.Occupation>();
|
| o.add(buildOccupation());
|
| o.add(buildOccupation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1264(core.List<api.Occupation> o) {
|
| +checkUnnamed1317(core.List<api.Occupation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOccupation(o[0]);
|
| checkOccupation(o[1]);
|
| }
|
|
|
| -buildUnnamed1265() {
|
| +buildUnnamed1318() {
|
| var o = new core.List<api.Organization>();
|
| o.add(buildOrganization());
|
| o.add(buildOrganization());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1265(core.List<api.Organization> o) {
|
| +checkUnnamed1318(core.List<api.Organization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrganization(o[0]);
|
| checkOrganization(o[1]);
|
| }
|
|
|
| -buildUnnamed1266() {
|
| +buildUnnamed1319() {
|
| var o = new core.List<api.PhoneNumber>();
|
| o.add(buildPhoneNumber());
|
| o.add(buildPhoneNumber());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1266(core.List<api.PhoneNumber> o) {
|
| +checkUnnamed1319(core.List<api.PhoneNumber> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPhoneNumber(o[0]);
|
| checkPhoneNumber(o[1]);
|
| }
|
|
|
| -buildUnnamed1267() {
|
| +buildUnnamed1320() {
|
| var o = new core.List<api.Photo>();
|
| o.add(buildPhoto());
|
| o.add(buildPhoto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1267(core.List<api.Photo> o) {
|
| +checkUnnamed1320(core.List<api.Photo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPhoto(o[0]);
|
| checkPhoto(o[1]);
|
| }
|
|
|
| -buildUnnamed1268() {
|
| +buildUnnamed1321() {
|
| var o = new core.List<api.Relation>();
|
| o.add(buildRelation());
|
| o.add(buildRelation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1268(core.List<api.Relation> o) {
|
| +checkUnnamed1321(core.List<api.Relation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRelation(o[0]);
|
| checkRelation(o[1]);
|
| }
|
|
|
| -buildUnnamed1269() {
|
| +buildUnnamed1322() {
|
| var o = new core.List<api.RelationshipInterest>();
|
| o.add(buildRelationshipInterest());
|
| o.add(buildRelationshipInterest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1269(core.List<api.RelationshipInterest> o) {
|
| +checkUnnamed1322(core.List<api.RelationshipInterest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRelationshipInterest(o[0]);
|
| checkRelationshipInterest(o[1]);
|
| }
|
|
|
| -buildUnnamed1270() {
|
| +buildUnnamed1323() {
|
| var o = new core.List<api.RelationshipStatus>();
|
| o.add(buildRelationshipStatus());
|
| o.add(buildRelationshipStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1270(core.List<api.RelationshipStatus> o) {
|
| +checkUnnamed1323(core.List<api.RelationshipStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRelationshipStatus(o[0]);
|
| checkRelationshipStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed1271() {
|
| +buildUnnamed1324() {
|
| var o = new core.List<api.Residence>();
|
| o.add(buildResidence());
|
| o.add(buildResidence());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1271(core.List<api.Residence> o) {
|
| +checkUnnamed1324(core.List<api.Residence> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkResidence(o[0]);
|
| checkResidence(o[1]);
|
| }
|
|
|
| -buildUnnamed1272() {
|
| +buildUnnamed1325() {
|
| var o = new core.List<api.Skill>();
|
| o.add(buildSkill());
|
| o.add(buildSkill());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1272(core.List<api.Skill> o) {
|
| +checkUnnamed1325(core.List<api.Skill> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSkill(o[0]);
|
| checkSkill(o[1]);
|
| }
|
|
|
| -buildUnnamed1273() {
|
| +buildUnnamed1326() {
|
| var o = new core.List<api.Tagline>();
|
| o.add(buildTagline());
|
| o.add(buildTagline());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1273(core.List<api.Tagline> o) {
|
| +checkUnnamed1326(core.List<api.Tagline> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTagline(o[0]);
|
| checkTagline(o[1]);
|
| }
|
|
|
| -buildUnnamed1274() {
|
| +buildUnnamed1327() {
|
| var o = new core.List<api.Url>();
|
| o.add(buildUrl());
|
| o.add(buildUrl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1274(core.List<api.Url> o) {
|
| +checkUnnamed1327(core.List<api.Url> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrl(o[0]);
|
| checkUrl(o[1]);
|
| @@ -1001,36 +1003,36 @@ buildPerson() {
|
| var o = new api.Person();
|
| buildCounterPerson++;
|
| if (buildCounterPerson < 3) {
|
| - o.addresses = buildUnnamed1249();
|
| + o.addresses = buildUnnamed1302();
|
| o.ageRange = "foo";
|
| - o.ageRanges = buildUnnamed1250();
|
| - o.biographies = buildUnnamed1251();
|
| - o.birthdays = buildUnnamed1252();
|
| - o.braggingRights = buildUnnamed1253();
|
| - o.coverPhotos = buildUnnamed1254();
|
| - o.emailAddresses = buildUnnamed1255();
|
| + o.ageRanges = buildUnnamed1303();
|
| + o.biographies = buildUnnamed1304();
|
| + o.birthdays = buildUnnamed1305();
|
| + o.braggingRights = buildUnnamed1306();
|
| + o.coverPhotos = buildUnnamed1307();
|
| + o.emailAddresses = buildUnnamed1308();
|
| o.etag = "foo";
|
| - o.events = buildUnnamed1256();
|
| - o.genders = buildUnnamed1257();
|
| - o.imClients = buildUnnamed1258();
|
| - o.interests = buildUnnamed1259();
|
| - o.locales = buildUnnamed1260();
|
| - o.memberships = buildUnnamed1261();
|
| + o.events = buildUnnamed1309();
|
| + o.genders = buildUnnamed1310();
|
| + o.imClients = buildUnnamed1311();
|
| + o.interests = buildUnnamed1312();
|
| + o.locales = buildUnnamed1313();
|
| + o.memberships = buildUnnamed1314();
|
| o.metadata = buildPersonMetadata();
|
| - o.names = buildUnnamed1262();
|
| - o.nicknames = buildUnnamed1263();
|
| - o.occupations = buildUnnamed1264();
|
| - o.organizations = buildUnnamed1265();
|
| - o.phoneNumbers = buildUnnamed1266();
|
| - o.photos = buildUnnamed1267();
|
| - o.relations = buildUnnamed1268();
|
| - o.relationshipInterests = buildUnnamed1269();
|
| - o.relationshipStatuses = buildUnnamed1270();
|
| - o.residences = buildUnnamed1271();
|
| + o.names = buildUnnamed1315();
|
| + o.nicknames = buildUnnamed1316();
|
| + o.occupations = buildUnnamed1317();
|
| + o.organizations = buildUnnamed1318();
|
| + o.phoneNumbers = buildUnnamed1319();
|
| + o.photos = buildUnnamed1320();
|
| + o.relations = buildUnnamed1321();
|
| + o.relationshipInterests = buildUnnamed1322();
|
| + o.relationshipStatuses = buildUnnamed1323();
|
| + o.residences = buildUnnamed1324();
|
| o.resourceName = "foo";
|
| - o.skills = buildUnnamed1272();
|
| - o.taglines = buildUnnamed1273();
|
| - o.urls = buildUnnamed1274();
|
| + o.skills = buildUnnamed1325();
|
| + o.taglines = buildUnnamed1326();
|
| + o.urls = buildUnnamed1327();
|
| }
|
| buildCounterPerson--;
|
| return o;
|
| @@ -1039,74 +1041,74 @@ buildPerson() {
|
| checkPerson(api.Person o) {
|
| buildCounterPerson++;
|
| if (buildCounterPerson < 3) {
|
| - checkUnnamed1249(o.addresses);
|
| + checkUnnamed1302(o.addresses);
|
| unittest.expect(o.ageRange, unittest.equals('foo'));
|
| - checkUnnamed1250(o.ageRanges);
|
| - checkUnnamed1251(o.biographies);
|
| - checkUnnamed1252(o.birthdays);
|
| - checkUnnamed1253(o.braggingRights);
|
| - checkUnnamed1254(o.coverPhotos);
|
| - checkUnnamed1255(o.emailAddresses);
|
| + checkUnnamed1303(o.ageRanges);
|
| + checkUnnamed1304(o.biographies);
|
| + checkUnnamed1305(o.birthdays);
|
| + checkUnnamed1306(o.braggingRights);
|
| + checkUnnamed1307(o.coverPhotos);
|
| + checkUnnamed1308(o.emailAddresses);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed1256(o.events);
|
| - checkUnnamed1257(o.genders);
|
| - checkUnnamed1258(o.imClients);
|
| - checkUnnamed1259(o.interests);
|
| - checkUnnamed1260(o.locales);
|
| - checkUnnamed1261(o.memberships);
|
| + checkUnnamed1309(o.events);
|
| + checkUnnamed1310(o.genders);
|
| + checkUnnamed1311(o.imClients);
|
| + checkUnnamed1312(o.interests);
|
| + checkUnnamed1313(o.locales);
|
| + checkUnnamed1314(o.memberships);
|
| checkPersonMetadata(o.metadata);
|
| - checkUnnamed1262(o.names);
|
| - checkUnnamed1263(o.nicknames);
|
| - checkUnnamed1264(o.occupations);
|
| - checkUnnamed1265(o.organizations);
|
| - checkUnnamed1266(o.phoneNumbers);
|
| - checkUnnamed1267(o.photos);
|
| - checkUnnamed1268(o.relations);
|
| - checkUnnamed1269(o.relationshipInterests);
|
| - checkUnnamed1270(o.relationshipStatuses);
|
| - checkUnnamed1271(o.residences);
|
| + checkUnnamed1315(o.names);
|
| + checkUnnamed1316(o.nicknames);
|
| + checkUnnamed1317(o.occupations);
|
| + checkUnnamed1318(o.organizations);
|
| + checkUnnamed1319(o.phoneNumbers);
|
| + checkUnnamed1320(o.photos);
|
| + checkUnnamed1321(o.relations);
|
| + checkUnnamed1322(o.relationshipInterests);
|
| + checkUnnamed1323(o.relationshipStatuses);
|
| + checkUnnamed1324(o.residences);
|
| unittest.expect(o.resourceName, unittest.equals('foo'));
|
| - checkUnnamed1272(o.skills);
|
| - checkUnnamed1273(o.taglines);
|
| - checkUnnamed1274(o.urls);
|
| + checkUnnamed1325(o.skills);
|
| + checkUnnamed1326(o.taglines);
|
| + checkUnnamed1327(o.urls);
|
| }
|
| buildCounterPerson--;
|
| }
|
|
|
| -buildUnnamed1275() {
|
| +buildUnnamed1328() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1275(core.List<core.String> o) {
|
| +checkUnnamed1328(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'));
|
| }
|
|
|
| -buildUnnamed1276() {
|
| +buildUnnamed1329() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1276(core.List<core.String> o) {
|
| +checkUnnamed1329(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'));
|
| }
|
|
|
| -buildUnnamed1277() {
|
| +buildUnnamed1330() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1277(core.List<api.Source> o) {
|
| +checkUnnamed1330(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -1118,10 +1120,10 @@ buildPersonMetadata() {
|
| buildCounterPersonMetadata++;
|
| if (buildCounterPersonMetadata < 3) {
|
| o.deleted = true;
|
| - o.linkedPeopleResourceNames = buildUnnamed1275();
|
| + o.linkedPeopleResourceNames = buildUnnamed1328();
|
| o.objectType = "foo";
|
| - o.previousResourceNames = buildUnnamed1276();
|
| - o.sources = buildUnnamed1277();
|
| + o.previousResourceNames = buildUnnamed1329();
|
| + o.sources = buildUnnamed1330();
|
| }
|
| buildCounterPersonMetadata--;
|
| return o;
|
| @@ -1131,10 +1133,10 @@ checkPersonMetadata(api.PersonMetadata o) {
|
| buildCounterPersonMetadata++;
|
| if (buildCounterPersonMetadata < 3) {
|
| unittest.expect(o.deleted, unittest.isTrue);
|
| - checkUnnamed1275(o.linkedPeopleResourceNames);
|
| + checkUnnamed1328(o.linkedPeopleResourceNames);
|
| unittest.expect(o.objectType, unittest.equals('foo'));
|
| - checkUnnamed1276(o.previousResourceNames);
|
| - checkUnnamed1277(o.sources);
|
| + checkUnnamed1329(o.previousResourceNames);
|
| + checkUnnamed1330(o.sources);
|
| }
|
| buildCounterPersonMetadata--;
|
| }
|
| @@ -1415,14 +1417,14 @@ checkUrl(api.Url o) {
|
| buildCounterUrl--;
|
| }
|
|
|
| -buildUnnamed1278() {
|
| +buildUnnamed1331() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1278(core.List<core.String> o) {
|
| +checkUnnamed1331(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'));
|
| @@ -1816,7 +1818,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.PeopleResourceApi res = new api.PeopleApi(mock).people;
|
| var arg_requestMask_includeField = "foo";
|
| - var arg_resourceNames = buildUnnamed1278();
|
| + var arg_resourceNames = buildUnnamed1331();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1867,12 +1869,12 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.PeopleConnectionsResourceApi res = new api.PeopleApi(mock).people.connections;
|
| var arg_resourceName = "foo";
|
| - var arg_requestSyncToken = true;
|
| var arg_pageToken = "foo";
|
| var arg_requestMask_includeField = "foo";
|
| var arg_pageSize = 42;
|
| var arg_syncToken = "foo";
|
| var arg_sortOrder = "foo";
|
| + var arg_requestSyncToken = true;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1900,12 +1902,12 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["requestSyncToken"].first, unittest.equals("$arg_requestSyncToken"));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(queryMap["requestMask.includeField"].first, unittest.equals(arg_requestMask_includeField));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["syncToken"].first, unittest.equals(arg_syncToken));
|
| unittest.expect(queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
|
| + unittest.expect(queryMap["requestSyncToken"].first, unittest.equals("$arg_requestSyncToken"));
|
|
|
|
|
| var h = {
|
| @@ -1914,7 +1916,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListConnectionsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_resourceName, requestSyncToken: arg_requestSyncToken, pageToken: arg_pageToken, requestMask_includeField: arg_requestMask_includeField, pageSize: arg_pageSize, syncToken: arg_syncToken, sortOrder: arg_sortOrder).then(unittest.expectAsync(((api.ListConnectionsResponse response) {
|
| + res.list(arg_resourceName, pageToken: arg_pageToken, requestMask_includeField: arg_requestMask_includeField, pageSize: arg_pageSize, syncToken: arg_syncToken, sortOrder: arg_sortOrder, requestSyncToken: arg_requestSyncToken).then(unittest.expectAsync(((api.ListConnectionsResponse response) {
|
| checkListConnectionsResponse(response);
|
| })));
|
| });
|
|
|