| 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 7f788f71c3b524760de5c55b0be2c2728b2e67d5..95b9b4eaf5fca8b38c4ca8be6c0b472b23b68778 100644
|
| --- a/generated/googleapis/test/civicinfo/v2_test.dart
|
| +++ b/generated/googleapis/test/civicinfo/v2_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed451() {
|
| +buildUnnamed1796() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed451(core.List<api.Source> o) {
|
| +checkUnnamed1796(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -73,7 +73,7 @@ buildAdministrationRegion() {
|
| o.id = "foo";
|
| o.localJurisdiction = buildAdministrationRegion();
|
| o.name = "foo";
|
| - o.sources = buildUnnamed451();
|
| + o.sources = buildUnnamed1796();
|
| }
|
| buildCounterAdministrationRegion--;
|
| return o;
|
| @@ -86,32 +86,32 @@ checkAdministrationRegion(api.AdministrationRegion o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkAdministrationRegion(o.localJurisdiction);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed451(o.sources);
|
| + checkUnnamed1796(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed452() {
|
| +buildUnnamed1797() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed452(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed1797(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed453() {
|
| +buildUnnamed1798() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed453(core.List<core.String> o) {
|
| +checkUnnamed1798(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'));
|
| @@ -126,14 +126,14 @@ buildAdministrativeBody() {
|
| o.ballotInfoUrl = "foo";
|
| o.correspondenceAddress = buildSimpleAddressType();
|
| o.electionInfoUrl = "foo";
|
| - o.electionOfficials = buildUnnamed452();
|
| + o.electionOfficials = buildUnnamed1797();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed453();
|
| + o.voterServices = buildUnnamed1798();
|
| o.votingLocationFinderUrl = "foo";
|
| }
|
| buildCounterAdministrativeBody--;
|
| @@ -147,27 +147,27 @@ checkAdministrativeBody(api.AdministrativeBody o) {
|
| unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
|
| checkSimpleAddressType(o.correspondenceAddress);
|
| unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed452(o.electionOfficials);
|
| + checkUnnamed1797(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);
|
| - checkUnnamed453(o.voterServices);
|
| + checkUnnamed1798(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed454() {
|
| +buildUnnamed1799() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed454(core.List<api.Channel> o) {
|
| +checkUnnamed1799(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -179,7 +179,7 @@ buildCandidate() {
|
| buildCounterCandidate++;
|
| if (buildCounterCandidate < 3) {
|
| o.candidateUrl = "foo";
|
| - o.channels = buildUnnamed454();
|
| + o.channels = buildUnnamed1799();
|
| o.email = "foo";
|
| o.name = "foo";
|
| o.orderOnBallot = "foo";
|
| @@ -195,7 +195,7 @@ checkCandidate(api.Candidate o) {
|
| buildCounterCandidate++;
|
| if (buildCounterCandidate < 3) {
|
| unittest.expect(o.candidateUrl, unittest.equals('foo'));
|
| - checkUnnamed454(o.channels);
|
| + checkUnnamed1799(o.channels);
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.orderOnBallot, unittest.equals('foo'));
|
| @@ -227,66 +227,66 @@ checkChannel(api.Channel o) {
|
| buildCounterChannel--;
|
| }
|
|
|
| -buildUnnamed455() {
|
| +buildUnnamed1800() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed455(core.List<api.Candidate> o) {
|
| +checkUnnamed1800(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed456() {
|
| +buildUnnamed1801() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed456(core.List<core.String> o) {
|
| +checkUnnamed1801(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'));
|
| }
|
|
|
| -buildUnnamed457() {
|
| +buildUnnamed1802() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed457(core.List<core.String> o) {
|
| +checkUnnamed1802(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'));
|
| }
|
|
|
| -buildUnnamed458() {
|
| +buildUnnamed1803() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed458(core.List<core.String> o) {
|
| +checkUnnamed1803(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'));
|
| }
|
|
|
| -buildUnnamed459() {
|
| +buildUnnamed1804() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed459(core.List<api.Source> o) {
|
| +checkUnnamed1804(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -298,16 +298,16 @@ buildContest() {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| o.ballotPlacement = "foo";
|
| - o.candidates = buildUnnamed455();
|
| + o.candidates = buildUnnamed1800();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| - o.level = buildUnnamed456();
|
| + o.level = buildUnnamed1801();
|
| o.numberElected = "foo";
|
| o.numberVotingFor = "foo";
|
| o.office = "foo";
|
| o.primaryParty = "foo";
|
| - o.referendumBallotResponses = buildUnnamed457();
|
| + o.referendumBallotResponses = buildUnnamed1802();
|
| o.referendumBrief = "foo";
|
| o.referendumConStatement = "foo";
|
| o.referendumEffectOfAbstain = "foo";
|
| @@ -317,8 +317,8 @@ buildContest() {
|
| o.referendumText = "foo";
|
| o.referendumTitle = "foo";
|
| o.referendumUrl = "foo";
|
| - o.roles = buildUnnamed458();
|
| - o.sources = buildUnnamed459();
|
| + o.roles = buildUnnamed1803();
|
| + o.sources = buildUnnamed1804();
|
| o.special = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -330,16 +330,16 @@ checkContest(api.Contest o) {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| unittest.expect(o.ballotPlacement, unittest.equals('foo'));
|
| - checkUnnamed455(o.candidates);
|
| + checkUnnamed1800(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed456(o.level);
|
| + checkUnnamed1801(o.level);
|
| unittest.expect(o.numberElected, unittest.equals('foo'));
|
| unittest.expect(o.numberVotingFor, unittest.equals('foo'));
|
| unittest.expect(o.office, unittest.equals('foo'));
|
| unittest.expect(o.primaryParty, unittest.equals('foo'));
|
| - checkUnnamed457(o.referendumBallotResponses);
|
| + checkUnnamed1802(o.referendumBallotResponses);
|
| unittest.expect(o.referendumBrief, unittest.equals('foo'));
|
| unittest.expect(o.referendumConStatement, unittest.equals('foo'));
|
| unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
|
| @@ -349,22 +349,22 @@ checkContest(api.Contest o) {
|
| unittest.expect(o.referendumText, unittest.equals('foo'));
|
| unittest.expect(o.referendumTitle, unittest.equals('foo'));
|
| unittest.expect(o.referendumUrl, unittest.equals('foo'));
|
| - checkUnnamed458(o.roles);
|
| - checkUnnamed459(o.sources);
|
| + checkUnnamed1803(o.roles);
|
| + checkUnnamed1804(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed460() {
|
| +buildUnnamed1805() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed460(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed1805(core.List<api.DivisionSearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDivisionSearchResult(o[0]);
|
| checkDivisionSearchResult(o[1]);
|
| @@ -376,7 +376,7 @@ buildDivisionSearchResponse() {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| o.kind = "foo";
|
| - o.results = buildUnnamed460();
|
| + o.results = buildUnnamed1805();
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| return o;
|
| @@ -386,19 +386,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed460(o.results);
|
| + checkUnnamed1805(o.results);
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed461() {
|
| +buildUnnamed1806() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed461(core.List<core.String> o) {
|
| +checkUnnamed1806(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'));
|
| @@ -409,7 +409,7 @@ buildDivisionSearchResult() {
|
| var o = new api.DivisionSearchResult();
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - o.aliases = buildUnnamed461();
|
| + o.aliases = buildUnnamed1806();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -420,7 +420,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed461(o.aliases);
|
| + checkUnnamed1806(o.aliases);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ocdId, unittest.equals('foo'));
|
| }
|
| @@ -477,14 +477,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
|
| buildCounterElectionOfficial--;
|
| }
|
|
|
| -buildUnnamed462() {
|
| +buildUnnamed1807() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed462(core.List<api.Election> o) {
|
| +checkUnnamed1807(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| @@ -495,7 +495,7 @@ buildElectionsQueryResponse() {
|
| var o = new api.ElectionsQueryResponse();
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - o.elections = buildUnnamed462();
|
| + o.elections = buildUnnamed1807();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -505,7 +505,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed462(o.elections);
|
| + checkUnnamed1807(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -534,27 +534,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed463() {
|
| +buildUnnamed1808() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed463(core.List<core.String> o) {
|
| +checkUnnamed1808(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() {
|
| +buildUnnamed1809() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed464(core.List<core.int> o) {
|
| +checkUnnamed1809(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));
|
| @@ -565,9 +565,9 @@ buildGeographicDivision() {
|
| var o = new api.GeographicDivision();
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - o.alsoKnownAs = buildUnnamed463();
|
| + o.alsoKnownAs = buildUnnamed1808();
|
| o.name = "foo";
|
| - o.officeIndices = buildUnnamed464();
|
| + o.officeIndices = buildUnnamed1809();
|
| }
|
| buildCounterGeographicDivision--;
|
| return o;
|
| @@ -576,60 +576,60 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed463(o.alsoKnownAs);
|
| + checkUnnamed1808(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed464(o.officeIndices);
|
| + checkUnnamed1809(o.officeIndices);
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed465() {
|
| +buildUnnamed1810() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed465(core.List<core.String> o) {
|
| +checkUnnamed1810(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'));
|
| }
|
|
|
| -buildUnnamed466() {
|
| +buildUnnamed1811() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed466(core.List<core.int> o) {
|
| +checkUnnamed1811(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));
|
| }
|
|
|
| -buildUnnamed467() {
|
| +buildUnnamed1812() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed467(core.List<core.String> o) {
|
| +checkUnnamed1812(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'));
|
| }
|
|
|
| -buildUnnamed468() {
|
| +buildUnnamed1813() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed468(core.List<api.Source> o) {
|
| +checkUnnamed1813(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -641,11 +641,11 @@ buildOffice() {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| o.divisionId = "foo";
|
| - o.levels = buildUnnamed465();
|
| + o.levels = buildUnnamed1810();
|
| o.name = "foo";
|
| - o.officialIndices = buildUnnamed466();
|
| - o.roles = buildUnnamed467();
|
| - o.sources = buildUnnamed468();
|
| + o.officialIndices = buildUnnamed1811();
|
| + o.roles = buildUnnamed1812();
|
| + o.sources = buildUnnamed1813();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -655,75 +655,75 @@ checkOffice(api.Office o) {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| - checkUnnamed465(o.levels);
|
| + checkUnnamed1810(o.levels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed466(o.officialIndices);
|
| - checkUnnamed467(o.roles);
|
| - checkUnnamed468(o.sources);
|
| + checkUnnamed1811(o.officialIndices);
|
| + checkUnnamed1812(o.roles);
|
| + checkUnnamed1813(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed469() {
|
| +buildUnnamed1814() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed469(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed1814(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed470() {
|
| +buildUnnamed1815() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed470(core.List<api.Channel> o) {
|
| +checkUnnamed1815(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed471() {
|
| +buildUnnamed1816() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed471(core.List<core.String> o) {
|
| +checkUnnamed1816(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'));
|
| }
|
|
|
| -buildUnnamed472() {
|
| +buildUnnamed1817() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed472(core.List<core.String> o) {
|
| +checkUnnamed1817(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'));
|
| }
|
|
|
| -buildUnnamed473() {
|
| +buildUnnamed1818() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed473(core.List<core.String> o) {
|
| +checkUnnamed1818(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'));
|
| @@ -734,14 +734,14 @@ buildOfficial() {
|
| var o = new api.Official();
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - o.address = buildUnnamed469();
|
| - o.channels = buildUnnamed470();
|
| - o.emails = buildUnnamed471();
|
| + o.address = buildUnnamed1814();
|
| + o.channels = buildUnnamed1815();
|
| + o.emails = buildUnnamed1816();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed472();
|
| + o.phones = buildUnnamed1817();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed473();
|
| + o.urls = buildUnnamed1818();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -750,26 +750,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed469(o.address);
|
| - checkUnnamed470(o.channels);
|
| - checkUnnamed471(o.emails);
|
| + checkUnnamed1814(o.address);
|
| + checkUnnamed1815(o.channels);
|
| + checkUnnamed1816(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed472(o.phones);
|
| + checkUnnamed1817(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed473(o.urls);
|
| + checkUnnamed1818(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed474() {
|
| +buildUnnamed1819() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed474(core.List<api.Source> o) {
|
| +checkUnnamed1819(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -786,7 +786,7 @@ buildPollingLocation() {
|
| o.name = "foo";
|
| o.notes = "foo";
|
| o.pollingHours = "foo";
|
| - o.sources = buildUnnamed474();
|
| + o.sources = buildUnnamed1819();
|
| o.startDate = "foo";
|
| o.voterServices = "foo";
|
| }
|
| @@ -803,47 +803,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'));
|
| - checkUnnamed474(o.sources);
|
| + checkUnnamed1819(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| buildCounterPollingLocation--;
|
| }
|
|
|
| -buildUnnamed475() {
|
| +buildUnnamed1820() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed475(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed1820(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed476() {
|
| +buildUnnamed1821() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed476(core.List<api.Office> o) {
|
| +checkUnnamed1821(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed477() {
|
| +buildUnnamed1822() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed477(core.List<api.Official> o) {
|
| +checkUnnamed1822(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -854,9 +854,9 @@ buildRepresentativeInfoData() {
|
| var o = new api.RepresentativeInfoData();
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - o.divisions = buildUnnamed475();
|
| - o.offices = buildUnnamed476();
|
| - o.officials = buildUnnamed477();
|
| + o.divisions = buildUnnamed1820();
|
| + o.offices = buildUnnamed1821();
|
| + o.officials = buildUnnamed1822();
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| return o;
|
| @@ -865,47 +865,47 @@ buildRepresentativeInfoData() {
|
| checkRepresentativeInfoData(api.RepresentativeInfoData o) {
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - checkUnnamed475(o.divisions);
|
| - checkUnnamed476(o.offices);
|
| - checkUnnamed477(o.officials);
|
| + checkUnnamed1820(o.divisions);
|
| + checkUnnamed1821(o.offices);
|
| + checkUnnamed1822(o.officials);
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| }
|
|
|
| -buildUnnamed478() {
|
| +buildUnnamed1823() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed478(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed1823(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed479() {
|
| +buildUnnamed1824() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed479(core.List<api.Office> o) {
|
| +checkUnnamed1824(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed480() {
|
| +buildUnnamed1825() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed480(core.List<api.Official> o) {
|
| +checkUnnamed1825(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -916,11 +916,11 @@ buildRepresentativeInfoResponse() {
|
| var o = new api.RepresentativeInfoResponse();
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - o.divisions = buildUnnamed478();
|
| + o.divisions = buildUnnamed1823();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed479();
|
| - o.officials = buildUnnamed480();
|
| + o.offices = buildUnnamed1824();
|
| + o.officials = buildUnnamed1825();
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| return o;
|
| @@ -929,11 +929,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed478(o.divisions);
|
| + checkUnnamed1823(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed479(o.offices);
|
| - checkUnnamed480(o.officials);
|
| + checkUnnamed1824(o.offices);
|
| + checkUnnamed1825(o.officials);
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| }
|
| @@ -990,79 +990,79 @@ checkSource(api.Source o) {
|
| buildCounterSource--;
|
| }
|
|
|
| -buildUnnamed481() {
|
| +buildUnnamed1826() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed481(core.List<api.Contest> o) {
|
| +checkUnnamed1826(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed482() {
|
| +buildUnnamed1827() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed482(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1827(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed483() {
|
| +buildUnnamed1828() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed483(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1828(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed484() {
|
| +buildUnnamed1829() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed484(core.List<api.Election> o) {
|
| +checkUnnamed1829(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| }
|
|
|
| -buildUnnamed485() {
|
| +buildUnnamed1830() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed485(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1830(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed486() {
|
| +buildUnnamed1831() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed486(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed1831(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -1073,17 +1073,17 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed481();
|
| - o.dropOffLocations = buildUnnamed482();
|
| - o.earlyVoteSites = buildUnnamed483();
|
| + o.contests = buildUnnamed1826();
|
| + o.dropOffLocations = buildUnnamed1827();
|
| + o.earlyVoteSites = buildUnnamed1828();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.mailOnly = true;
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.otherElections = buildUnnamed484();
|
| - o.pollingLocations = buildUnnamed485();
|
| + o.otherElections = buildUnnamed1829();
|
| + o.pollingLocations = buildUnnamed1830();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed486();
|
| + o.state = buildUnnamed1831();
|
| }
|
| buildCounterVoterInfoResponse--;
|
| return o;
|
| @@ -1092,68 +1092,68 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed481(o.contests);
|
| - checkUnnamed482(o.dropOffLocations);
|
| - checkUnnamed483(o.earlyVoteSites);
|
| + checkUnnamed1826(o.contests);
|
| + checkUnnamed1827(o.dropOffLocations);
|
| + checkUnnamed1828(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.mailOnly, unittest.isTrue);
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed484(o.otherElections);
|
| - checkUnnamed485(o.pollingLocations);
|
| + checkUnnamed1829(o.otherElections);
|
| + checkUnnamed1830(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed486(o.state);
|
| + checkUnnamed1831(o.state);
|
| }
|
| buildCounterVoterInfoResponse--;
|
| }
|
|
|
| -buildUnnamed487() {
|
| +buildUnnamed1832() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed487(core.List<core.String> o) {
|
| +checkUnnamed1832(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'));
|
| }
|
|
|
| -buildUnnamed488() {
|
| +buildUnnamed1833() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed488(core.List<core.String> o) {
|
| +checkUnnamed1833(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'));
|
| }
|
|
|
| -buildUnnamed489() {
|
| +buildUnnamed1834() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed489(core.List<core.String> o) {
|
| +checkUnnamed1834(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'));
|
| }
|
|
|
| -buildUnnamed490() {
|
| +buildUnnamed1835() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed490(core.List<core.String> o) {
|
| +checkUnnamed1835(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'));
|
| @@ -1499,8 +1499,8 @@ main() {
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_address = "foo";
|
| var arg_includeOffices = true;
|
| - var arg_levels = buildUnnamed487();
|
| - var arg_roles = buildUnnamed488();
|
| + var arg_levels = buildUnnamed1832();
|
| + var arg_roles = buildUnnamed1833();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1551,9 +1551,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_ocdId = "foo";
|
| - var arg_levels = buildUnnamed489();
|
| + var arg_levels = buildUnnamed1834();
|
| var arg_recursive = true;
|
| - var arg_roles = buildUnnamed490();
|
| + var arg_roles = buildUnnamed1835();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|