| Index: generated/googleapis/test/civicinfo/v2_test.dart
|
| diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
|
| index 913db9e48e141db9a5fad3a40a87a3d63b1b7a4a..f3b1fa5564cba3e842d0bad89eeae0f074f7d6c9 100644
|
| --- a/generated/googleapis/test/civicinfo/v2_test.dart
|
| +++ b/generated/googleapis/test/civicinfo/v2_test.dart
|
| @@ -16,14 +16,14 @@ import 'package:googleapis/civicinfo/v2.dart' as api;
|
|
|
|
|
|
|
| -buildUnnamed426() {
|
| +buildUnnamed1060() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed426(core.List<api.Source> o) {
|
| +checkUnnamed1060(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -38,7 +38,7 @@ buildAdministrationRegion() {
|
| o.id = "foo";
|
| o.localJurisdiction = buildAdministrationRegion();
|
| o.name = "foo";
|
| - o.sources = buildUnnamed426();
|
| + o.sources = buildUnnamed1060();
|
| }
|
| buildCounterAdministrationRegion--;
|
| return o;
|
| @@ -51,32 +51,32 @@ checkAdministrationRegion(api.AdministrationRegion o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkAdministrationRegion(o.localJurisdiction);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed426(o.sources);
|
| + checkUnnamed1060(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed427() {
|
| +buildUnnamed1061() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed427(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed1061(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed428() {
|
| +buildUnnamed1062() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed428(core.List<core.String> o) {
|
| +checkUnnamed1062(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'));
|
| @@ -91,14 +91,14 @@ buildAdministrativeBody() {
|
| o.ballotInfoUrl = "foo";
|
| o.correspondenceAddress = buildSimpleAddressType();
|
| o.electionInfoUrl = "foo";
|
| - o.electionOfficials = buildUnnamed427();
|
| + o.electionOfficials = buildUnnamed1061();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed428();
|
| + o.voterServices = buildUnnamed1062();
|
| o.votingLocationFinderUrl = "foo";
|
| }
|
| buildCounterAdministrativeBody--;
|
| @@ -112,27 +112,27 @@ checkAdministrativeBody(api.AdministrativeBody o) {
|
| unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
|
| checkSimpleAddressType(o.correspondenceAddress);
|
| unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed427(o.electionOfficials);
|
| + checkUnnamed1061(o.electionOfficials);
|
| unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo'));
|
| unittest.expect(o.electionRegistrationUrl, unittest.equals('foo'));
|
| unittest.expect(o.electionRulesUrl, unittest.equals('foo'));
|
| unittest.expect(o.hoursOfOperation, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkSimpleAddressType(o.physicalAddress);
|
| - checkUnnamed428(o.voterServices);
|
| + checkUnnamed1062(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed429() {
|
| +buildUnnamed1063() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed429(core.List<api.Channel> o) {
|
| +checkUnnamed1063(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -144,7 +144,7 @@ buildCandidate() {
|
| buildCounterCandidate++;
|
| if (buildCounterCandidate < 3) {
|
| o.candidateUrl = "foo";
|
| - o.channels = buildUnnamed429();
|
| + o.channels = buildUnnamed1063();
|
| o.email = "foo";
|
| o.name = "foo";
|
| o.orderOnBallot = "foo";
|
| @@ -160,7 +160,7 @@ checkCandidate(api.Candidate o) {
|
| buildCounterCandidate++;
|
| if (buildCounterCandidate < 3) {
|
| unittest.expect(o.candidateUrl, unittest.equals('foo'));
|
| - checkUnnamed429(o.channels);
|
| + checkUnnamed1063(o.channels);
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.orderOnBallot, unittest.equals('foo'));
|
| @@ -192,53 +192,53 @@ checkChannel(api.Channel o) {
|
| buildCounterChannel--;
|
| }
|
|
|
| -buildUnnamed430() {
|
| +buildUnnamed1064() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed430(core.List<api.Candidate> o) {
|
| +checkUnnamed1064(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed431() {
|
| +buildUnnamed1065() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed431(core.List<core.String> o) {
|
| +checkUnnamed1065(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'));
|
| }
|
|
|
| -buildUnnamed432() {
|
| +buildUnnamed1066() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed432(core.List<core.String> o) {
|
| +checkUnnamed1066(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'));
|
| }
|
|
|
| -buildUnnamed433() {
|
| +buildUnnamed1067() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed433(core.List<api.Source> o) {
|
| +checkUnnamed1067(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -250,11 +250,11 @@ buildContest() {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| o.ballotPlacement = "foo";
|
| - o.candidates = buildUnnamed430();
|
| + o.candidates = buildUnnamed1064();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| - o.level = buildUnnamed431();
|
| + o.level = buildUnnamed1065();
|
| o.numberElected = "foo";
|
| o.numberVotingFor = "foo";
|
| o.office = "foo";
|
| @@ -262,8 +262,8 @@ buildContest() {
|
| o.referendumSubtitle = "foo";
|
| o.referendumTitle = "foo";
|
| o.referendumUrl = "foo";
|
| - o.roles = buildUnnamed432();
|
| - o.sources = buildUnnamed433();
|
| + o.roles = buildUnnamed1066();
|
| + o.sources = buildUnnamed1067();
|
| o.special = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -275,11 +275,11 @@ checkContest(api.Contest o) {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| unittest.expect(o.ballotPlacement, unittest.equals('foo'));
|
| - checkUnnamed430(o.candidates);
|
| + checkUnnamed1064(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed431(o.level);
|
| + checkUnnamed1065(o.level);
|
| unittest.expect(o.numberElected, unittest.equals('foo'));
|
| unittest.expect(o.numberVotingFor, unittest.equals('foo'));
|
| unittest.expect(o.office, unittest.equals('foo'));
|
| @@ -287,22 +287,22 @@ checkContest(api.Contest o) {
|
| unittest.expect(o.referendumSubtitle, unittest.equals('foo'));
|
| unittest.expect(o.referendumTitle, unittest.equals('foo'));
|
| unittest.expect(o.referendumUrl, unittest.equals('foo'));
|
| - checkUnnamed432(o.roles);
|
| - checkUnnamed433(o.sources);
|
| + checkUnnamed1066(o.roles);
|
| + checkUnnamed1067(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed434() {
|
| +buildUnnamed1068() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed434(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed1068(core.List<api.DivisionSearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDivisionSearchResult(o[0]);
|
| checkDivisionSearchResult(o[1]);
|
| @@ -314,7 +314,7 @@ buildDivisionSearchResponse() {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| o.kind = "foo";
|
| - o.results = buildUnnamed434();
|
| + o.results = buildUnnamed1068();
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| return o;
|
| @@ -324,19 +324,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed434(o.results);
|
| + checkUnnamed1068(o.results);
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed435() {
|
| +buildUnnamed1069() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed435(core.List<core.String> o) {
|
| +checkUnnamed1069(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'));
|
| @@ -347,7 +347,7 @@ buildDivisionSearchResult() {
|
| var o = new api.DivisionSearchResult();
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - o.aliases = buildUnnamed435();
|
| + o.aliases = buildUnnamed1069();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -358,7 +358,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed435(o.aliases);
|
| + checkUnnamed1069(o.aliases);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ocdId, unittest.equals('foo'));
|
| }
|
| @@ -415,14 +415,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
|
| buildCounterElectionOfficial--;
|
| }
|
|
|
| -buildUnnamed436() {
|
| +buildUnnamed1070() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed436(core.List<api.Election> o) {
|
| +checkUnnamed1070(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| @@ -433,7 +433,7 @@ buildElectionsQueryResponse() {
|
| var o = new api.ElectionsQueryResponse();
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - o.elections = buildUnnamed436();
|
| + o.elections = buildUnnamed1070();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -443,7 +443,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed436(o.elections);
|
| + checkUnnamed1070(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -472,27 +472,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed437() {
|
| +buildUnnamed1071() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed437(core.List<core.String> o) {
|
| +checkUnnamed1071(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'));
|
| }
|
|
|
| -buildUnnamed438() {
|
| +buildUnnamed1072() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed438(core.List<core.int> o) {
|
| +checkUnnamed1072(core.List<core.int> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals(42));
|
| unittest.expect(o[1], unittest.equals(42));
|
| @@ -503,9 +503,9 @@ buildGeographicDivision() {
|
| var o = new api.GeographicDivision();
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - o.alsoKnownAs = buildUnnamed437();
|
| + o.alsoKnownAs = buildUnnamed1071();
|
| o.name = "foo";
|
| - o.officeIndices = buildUnnamed438();
|
| + o.officeIndices = buildUnnamed1072();
|
| }
|
| buildCounterGeographicDivision--;
|
| return o;
|
| @@ -514,60 +514,60 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed437(o.alsoKnownAs);
|
| + checkUnnamed1071(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed438(o.officeIndices);
|
| + checkUnnamed1072(o.officeIndices);
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed439() {
|
| +buildUnnamed1073() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed439(core.List<core.String> o) {
|
| +checkUnnamed1073(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'));
|
| }
|
|
|
| -buildUnnamed440() {
|
| +buildUnnamed1074() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed440(core.List<core.int> o) {
|
| +checkUnnamed1074(core.List<core.int> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals(42));
|
| unittest.expect(o[1], unittest.equals(42));
|
| }
|
|
|
| -buildUnnamed441() {
|
| +buildUnnamed1075() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed441(core.List<core.String> o) {
|
| +checkUnnamed1075(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'));
|
| }
|
|
|
| -buildUnnamed442() {
|
| +buildUnnamed1076() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed442(core.List<api.Source> o) {
|
| +checkUnnamed1076(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -579,11 +579,11 @@ buildOffice() {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| o.divisionId = "foo";
|
| - o.levels = buildUnnamed439();
|
| + o.levels = buildUnnamed1073();
|
| o.name = "foo";
|
| - o.officialIndices = buildUnnamed440();
|
| - o.roles = buildUnnamed441();
|
| - o.sources = buildUnnamed442();
|
| + o.officialIndices = buildUnnamed1074();
|
| + o.roles = buildUnnamed1075();
|
| + o.sources = buildUnnamed1076();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -593,75 +593,75 @@ checkOffice(api.Office o) {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| - checkUnnamed439(o.levels);
|
| + checkUnnamed1073(o.levels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed440(o.officialIndices);
|
| - checkUnnamed441(o.roles);
|
| - checkUnnamed442(o.sources);
|
| + checkUnnamed1074(o.officialIndices);
|
| + checkUnnamed1075(o.roles);
|
| + checkUnnamed1076(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed443() {
|
| +buildUnnamed1077() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed443(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed1077(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed444() {
|
| +buildUnnamed1078() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed444(core.List<api.Channel> o) {
|
| +checkUnnamed1078(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed445() {
|
| +buildUnnamed1079() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed445(core.List<core.String> o) {
|
| +checkUnnamed1079(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'));
|
| }
|
|
|
| -buildUnnamed446() {
|
| +buildUnnamed1080() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed446(core.List<core.String> o) {
|
| +checkUnnamed1080(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'));
|
| }
|
|
|
| -buildUnnamed447() {
|
| +buildUnnamed1081() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed447(core.List<core.String> o) {
|
| +checkUnnamed1081(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'));
|
| @@ -672,14 +672,14 @@ buildOfficial() {
|
| var o = new api.Official();
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - o.address = buildUnnamed443();
|
| - o.channels = buildUnnamed444();
|
| - o.emails = buildUnnamed445();
|
| + o.address = buildUnnamed1077();
|
| + o.channels = buildUnnamed1078();
|
| + o.emails = buildUnnamed1079();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed446();
|
| + o.phones = buildUnnamed1080();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed447();
|
| + o.urls = buildUnnamed1081();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -688,26 +688,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed443(o.address);
|
| - checkUnnamed444(o.channels);
|
| - checkUnnamed445(o.emails);
|
| + checkUnnamed1077(o.address);
|
| + checkUnnamed1078(o.channels);
|
| + checkUnnamed1079(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed446(o.phones);
|
| + checkUnnamed1080(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed447(o.urls);
|
| + checkUnnamed1081(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed448() {
|
| +buildUnnamed1082() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed448(core.List<api.Source> o) {
|
| +checkUnnamed1082(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -724,7 +724,7 @@ buildPollingLocation() {
|
| o.name = "foo";
|
| o.notes = "foo";
|
| o.pollingHours = "foo";
|
| - o.sources = buildUnnamed448();
|
| + o.sources = buildUnnamed1082();
|
| o.startDate = "foo";
|
| o.voterServices = "foo";
|
| }
|
| @@ -741,47 +741,47 @@ checkPollingLocation(api.PollingLocation o) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.notes, unittest.equals('foo'));
|
| unittest.expect(o.pollingHours, unittest.equals('foo'));
|
| - checkUnnamed448(o.sources);
|
| + checkUnnamed1082(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| buildCounterPollingLocation--;
|
| }
|
|
|
| -buildUnnamed449() {
|
| +buildUnnamed1083() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed449(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed1083(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed450() {
|
| +buildUnnamed1084() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed450(core.List<api.Office> o) {
|
| +checkUnnamed1084(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed451() {
|
| +buildUnnamed1085() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed451(core.List<api.Official> o) {
|
| +checkUnnamed1085(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -792,9 +792,9 @@ buildRepresentativeInfoData() {
|
| var o = new api.RepresentativeInfoData();
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - o.divisions = buildUnnamed449();
|
| - o.offices = buildUnnamed450();
|
| - o.officials = buildUnnamed451();
|
| + o.divisions = buildUnnamed1083();
|
| + o.offices = buildUnnamed1084();
|
| + o.officials = buildUnnamed1085();
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| return o;
|
| @@ -803,47 +803,47 @@ buildRepresentativeInfoData() {
|
| checkRepresentativeInfoData(api.RepresentativeInfoData o) {
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - checkUnnamed449(o.divisions);
|
| - checkUnnamed450(o.offices);
|
| - checkUnnamed451(o.officials);
|
| + checkUnnamed1083(o.divisions);
|
| + checkUnnamed1084(o.offices);
|
| + checkUnnamed1085(o.officials);
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| }
|
|
|
| -buildUnnamed452() {
|
| +buildUnnamed1086() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed452(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed1086(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed453() {
|
| +buildUnnamed1087() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed453(core.List<api.Office> o) {
|
| +checkUnnamed1087(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed454() {
|
| +buildUnnamed1088() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed454(core.List<api.Official> o) {
|
| +checkUnnamed1088(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -854,11 +854,11 @@ buildRepresentativeInfoResponse() {
|
| var o = new api.RepresentativeInfoResponse();
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - o.divisions = buildUnnamed452();
|
| + o.divisions = buildUnnamed1086();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed453();
|
| - o.officials = buildUnnamed454();
|
| + o.offices = buildUnnamed1087();
|
| + o.officials = buildUnnamed1088();
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| return o;
|
| @@ -867,11 +867,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed452(o.divisions);
|
| + checkUnnamed1086(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed453(o.offices);
|
| - checkUnnamed454(o.officials);
|
| + checkUnnamed1087(o.offices);
|
| + checkUnnamed1088(o.officials);
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| }
|
| @@ -928,79 +928,79 @@ checkSource(api.Source o) {
|
| buildCounterSource--;
|
| }
|
|
|
| -buildUnnamed455() {
|
| +buildUnnamed1089() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed455(core.List<api.Contest> o) {
|
| +checkUnnamed1089(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed456() {
|
| +buildUnnamed1090() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed456(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1090(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed457() {
|
| +buildUnnamed1091() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed457(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1091(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed458() {
|
| +buildUnnamed1092() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed458(core.List<api.Election> o) {
|
| +checkUnnamed1092(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| }
|
|
|
| -buildUnnamed459() {
|
| +buildUnnamed1093() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed459(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1093(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed460() {
|
| +buildUnnamed1094() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed460(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed1094(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -1011,16 +1011,16 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed455();
|
| - o.dropOffLocations = buildUnnamed456();
|
| - o.earlyVoteSites = buildUnnamed457();
|
| + o.contests = buildUnnamed1089();
|
| + o.dropOffLocations = buildUnnamed1090();
|
| + o.earlyVoteSites = buildUnnamed1091();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.otherElections = buildUnnamed458();
|
| - o.pollingLocations = buildUnnamed459();
|
| + o.otherElections = buildUnnamed1092();
|
| + o.pollingLocations = buildUnnamed1093();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed460();
|
| + o.state = buildUnnamed1094();
|
| }
|
| buildCounterVoterInfoResponse--;
|
| return o;
|
| @@ -1029,67 +1029,67 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed455(o.contests);
|
| - checkUnnamed456(o.dropOffLocations);
|
| - checkUnnamed457(o.earlyVoteSites);
|
| + checkUnnamed1089(o.contests);
|
| + checkUnnamed1090(o.dropOffLocations);
|
| + checkUnnamed1091(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed458(o.otherElections);
|
| - checkUnnamed459(o.pollingLocations);
|
| + checkUnnamed1092(o.otherElections);
|
| + checkUnnamed1093(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed460(o.state);
|
| + checkUnnamed1094(o.state);
|
| }
|
| buildCounterVoterInfoResponse--;
|
| }
|
|
|
| -buildUnnamed461() {
|
| +buildUnnamed1095() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed461(core.List<core.String> o) {
|
| +checkUnnamed1095(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'));
|
| }
|
|
|
| -buildUnnamed462() {
|
| +buildUnnamed1096() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed462(core.List<core.String> o) {
|
| +checkUnnamed1096(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'));
|
| }
|
|
|
| -buildUnnamed463() {
|
| +buildUnnamed1097() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed463(core.List<core.String> o) {
|
| +checkUnnamed1097(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'));
|
| }
|
|
|
| -buildUnnamed464() {
|
| +buildUnnamed1098() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed464(core.List<core.String> o) {
|
| +checkUnnamed1098(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'));
|
| @@ -1435,8 +1435,8 @@ main() {
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_address = "foo";
|
| var arg_includeOffices = true;
|
| - var arg_levels = buildUnnamed461();
|
| - var arg_roles = buildUnnamed462();
|
| + var arg_levels = buildUnnamed1095();
|
| + var arg_roles = buildUnnamed1096();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1487,9 +1487,9 @@ main() {
|
| var mock = new common_test.HttpServerMock();
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_ocdId = "foo";
|
| - var arg_levels = buildUnnamed463();
|
| + var arg_levels = buildUnnamed1097();
|
| var arg_recursive = true;
|
| - var arg_roles = buildUnnamed464();
|
| + var arg_roles = buildUnnamed1098();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|