| Index: generated/googleapis/test/civicinfo/v1_test.dart
|
| diff --git a/generated/googleapis/test/civicinfo/v1_test.dart b/generated/googleapis/test/civicinfo/v1_test.dart
|
| index 3eca67c6875a7bbe2f22720a6bea4f978e4b7abb..609c2401253b30d98ccd1246bc60a4aa972b4771 100644
|
| --- a/generated/googleapis/test/civicinfo/v1_test.dart
|
| +++ b/generated/googleapis/test/civicinfo/v1_test.dart
|
| @@ -16,14 +16,14 @@ import 'package:googleapis/civicinfo/v1.dart' as api;
|
|
|
|
|
|
|
| -buildUnnamed65() {
|
| +buildUnnamed397() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed65(core.List<api.Source> o) {
|
| +checkUnnamed397(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 = buildUnnamed65();
|
| + o.sources = buildUnnamed397();
|
| }
|
| 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'));
|
| - checkUnnamed65(o.sources);
|
| + checkUnnamed397(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed66() {
|
| +buildUnnamed398() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed66(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed398(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed67() {
|
| +buildUnnamed399() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed67(core.List<core.String> o) {
|
| +checkUnnamed399(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 = buildUnnamed66();
|
| + o.electionOfficials = buildUnnamed398();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed67();
|
| + o.voterServices = buildUnnamed399();
|
| 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'));
|
| - checkUnnamed66(o.electionOfficials);
|
| + checkUnnamed398(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);
|
| - checkUnnamed67(o.voterServices);
|
| + checkUnnamed399(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed68() {
|
| +buildUnnamed400() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed68(core.List<api.Channel> o) {
|
| +checkUnnamed400(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 = buildUnnamed68();
|
| + o.channels = buildUnnamed400();
|
| 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'));
|
| - checkUnnamed68(o.channels);
|
| + checkUnnamed400(o.channels);
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.orderOnBallot, unittest.equals('foo'));
|
| @@ -192,27 +192,27 @@ checkChannel(api.Channel o) {
|
| buildCounterChannel--;
|
| }
|
|
|
| -buildUnnamed69() {
|
| +buildUnnamed401() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed69(core.List<api.Candidate> o) {
|
| +checkUnnamed401(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed70() {
|
| +buildUnnamed402() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed70(core.List<api.Source> o) {
|
| +checkUnnamed402(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -224,7 +224,7 @@ buildContest() {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| o.ballotPlacement = "foo";
|
| - o.candidates = buildUnnamed69();
|
| + o.candidates = buildUnnamed401();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| @@ -236,7 +236,7 @@ buildContest() {
|
| o.referendumSubtitle = "foo";
|
| o.referendumTitle = "foo";
|
| o.referendumUrl = "foo";
|
| - o.sources = buildUnnamed70();
|
| + o.sources = buildUnnamed402();
|
| o.special = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -248,7 +248,7 @@ checkContest(api.Contest o) {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| unittest.expect(o.ballotPlacement, unittest.equals('foo'));
|
| - checkUnnamed69(o.candidates);
|
| + checkUnnamed401(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| @@ -260,21 +260,21 @@ 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'));
|
| - checkUnnamed70(o.sources);
|
| + checkUnnamed402(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed71() {
|
| +buildUnnamed403() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed71(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed403(core.List<api.DivisionSearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDivisionSearchResult(o[0]);
|
| checkDivisionSearchResult(o[1]);
|
| @@ -286,7 +286,7 @@ buildDivisionSearchResponse() {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| o.kind = "foo";
|
| - o.results = buildUnnamed71();
|
| + o.results = buildUnnamed403();
|
| o.status = "foo";
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| @@ -297,20 +297,20 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed71(o.results);
|
| + checkUnnamed403(o.results);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed72() {
|
| +buildUnnamed404() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed72(core.List<core.String> o) {
|
| +checkUnnamed404(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'));
|
| @@ -321,7 +321,7 @@ buildDivisionSearchResult() {
|
| var o = new api.DivisionSearchResult();
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - o.aliases = buildUnnamed72();
|
| + o.aliases = buildUnnamed404();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -332,7 +332,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed72(o.aliases);
|
| + checkUnnamed404(o.aliases);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ocdId, unittest.equals('foo'));
|
| }
|
| @@ -389,14 +389,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
|
| buildCounterElectionOfficial--;
|
| }
|
|
|
| -buildUnnamed73() {
|
| +buildUnnamed405() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed73(core.List<api.Election> o) {
|
| +checkUnnamed405(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| @@ -407,7 +407,7 @@ buildElectionsQueryResponse() {
|
| var o = new api.ElectionsQueryResponse();
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - o.elections = buildUnnamed73();
|
| + o.elections = buildUnnamed405();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -417,7 +417,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed73(o.elections);
|
| + checkUnnamed405(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -446,27 +446,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed74() {
|
| +buildUnnamed406() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed74(core.List<core.String> o) {
|
| +checkUnnamed406(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'));
|
| }
|
|
|
| -buildUnnamed75() {
|
| +buildUnnamed407() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed75(core.List<core.String> o) {
|
| +checkUnnamed407(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'));
|
| @@ -477,9 +477,9 @@ buildGeographicDivision() {
|
| var o = new api.GeographicDivision();
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - o.alsoKnownAs = buildUnnamed74();
|
| + o.alsoKnownAs = buildUnnamed406();
|
| o.name = "foo";
|
| - o.officeIds = buildUnnamed75();
|
| + o.officeIds = buildUnnamed407();
|
| o.scope = "foo";
|
| }
|
| buildCounterGeographicDivision--;
|
| @@ -489,35 +489,35 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed74(o.alsoKnownAs);
|
| + checkUnnamed406(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed75(o.officeIds);
|
| + checkUnnamed407(o.officeIds);
|
| unittest.expect(o.scope, unittest.equals('foo'));
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed76() {
|
| +buildUnnamed408() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed76(core.List<core.String> o) {
|
| +checkUnnamed408(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'));
|
| }
|
|
|
| -buildUnnamed77() {
|
| +buildUnnamed409() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed77(core.List<api.Source> o) {
|
| +checkUnnamed409(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -531,8 +531,8 @@ buildOffice() {
|
| o.divisionId = "foo";
|
| o.level = "foo";
|
| o.name = "foo";
|
| - o.officialIds = buildUnnamed76();
|
| - o.sources = buildUnnamed77();
|
| + o.officialIds = buildUnnamed408();
|
| + o.sources = buildUnnamed409();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -544,72 +544,72 @@ checkOffice(api.Office o) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| unittest.expect(o.level, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed76(o.officialIds);
|
| - checkUnnamed77(o.sources);
|
| + checkUnnamed408(o.officialIds);
|
| + checkUnnamed409(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed78() {
|
| +buildUnnamed410() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed78(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed410(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed79() {
|
| +buildUnnamed411() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed79(core.List<api.Channel> o) {
|
| +checkUnnamed411(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed80() {
|
| +buildUnnamed412() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed80(core.List<core.String> o) {
|
| +checkUnnamed412(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'));
|
| }
|
|
|
| -buildUnnamed81() {
|
| +buildUnnamed413() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed81(core.List<core.String> o) {
|
| +checkUnnamed413(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'));
|
| }
|
|
|
| -buildUnnamed82() {
|
| +buildUnnamed414() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed82(core.List<core.String> o) {
|
| +checkUnnamed414(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'));
|
| @@ -620,14 +620,14 @@ buildOfficial() {
|
| var o = new api.Official();
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - o.address = buildUnnamed78();
|
| - o.channels = buildUnnamed79();
|
| - o.emails = buildUnnamed80();
|
| + o.address = buildUnnamed410();
|
| + o.channels = buildUnnamed411();
|
| + o.emails = buildUnnamed412();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed81();
|
| + o.phones = buildUnnamed413();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed82();
|
| + o.urls = buildUnnamed414();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -636,26 +636,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed78(o.address);
|
| - checkUnnamed79(o.channels);
|
| - checkUnnamed80(o.emails);
|
| + checkUnnamed410(o.address);
|
| + checkUnnamed411(o.channels);
|
| + checkUnnamed412(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed81(o.phones);
|
| + checkUnnamed413(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed82(o.urls);
|
| + checkUnnamed414(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed83() {
|
| +buildUnnamed415() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed83(core.List<api.Source> o) {
|
| +checkUnnamed415(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -672,7 +672,7 @@ buildPollingLocation() {
|
| o.name = "foo";
|
| o.notes = "foo";
|
| o.pollingHours = "foo";
|
| - o.sources = buildUnnamed83();
|
| + o.sources = buildUnnamed415();
|
| o.startDate = "foo";
|
| o.voterServices = "foo";
|
| }
|
| @@ -689,7 +689,7 @@ 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'));
|
| - checkUnnamed83(o.sources);
|
| + checkUnnamed415(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| @@ -715,40 +715,40 @@ checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) {
|
| buildCounterRepresentativeInfoRequest--;
|
| }
|
|
|
| -buildUnnamed84() {
|
| +buildUnnamed416() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed84(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed416(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed85() {
|
| +buildUnnamed417() {
|
| var o = new core.Map<core.String, api.Office>();
|
| o["x"] = buildOffice();
|
| o["y"] = buildOffice();
|
| return o;
|
| }
|
|
|
| -checkUnnamed85(core.Map<core.String, api.Office> o) {
|
| +checkUnnamed417(core.Map<core.String, api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o["x"]);
|
| checkOffice(o["y"]);
|
| }
|
|
|
| -buildUnnamed86() {
|
| +buildUnnamed418() {
|
| var o = new core.Map<core.String, api.Official>();
|
| o["x"] = buildOfficial();
|
| o["y"] = buildOfficial();
|
| return o;
|
| }
|
|
|
| -checkUnnamed86(core.Map<core.String, api.Official> o) {
|
| +checkUnnamed418(core.Map<core.String, api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o["x"]);
|
| checkOfficial(o["y"]);
|
| @@ -759,11 +759,11 @@ buildRepresentativeInfoResponse() {
|
| var o = new api.RepresentativeInfoResponse();
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - o.divisions = buildUnnamed84();
|
| + o.divisions = buildUnnamed416();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed85();
|
| - o.officials = buildUnnamed86();
|
| + o.offices = buildUnnamed417();
|
| + o.officials = buildUnnamed418();
|
| o.status = "foo";
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| @@ -773,11 +773,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed84(o.divisions);
|
| + checkUnnamed416(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed85(o.offices);
|
| - checkUnnamed86(o.officials);
|
| + checkUnnamed417(o.offices);
|
| + checkUnnamed418(o.officials);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| @@ -854,53 +854,66 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
|
| buildCounterVoterInfoRequest--;
|
| }
|
|
|
| -buildUnnamed87() {
|
| +buildUnnamed419() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed87(core.List<api.Contest> o) {
|
| +checkUnnamed419(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed88() {
|
| +buildUnnamed420() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed88(core.List<api.PollingLocation> o) {
|
| +checkUnnamed420(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed89() {
|
| +buildUnnamed421() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed89(core.List<api.PollingLocation> o) {
|
| +checkUnnamed421(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed90() {
|
| +buildUnnamed422() {
|
| + var o = new core.List<api.PollingLocation>();
|
| + o.add(buildPollingLocation());
|
| + o.add(buildPollingLocation());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed422(core.List<api.PollingLocation> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkPollingLocation(o[0]);
|
| + checkPollingLocation(o[1]);
|
| +}
|
| +
|
| +buildUnnamed423() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed90(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed423(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -911,14 +924,15 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed87();
|
| - o.earlyVoteSites = buildUnnamed88();
|
| + o.contests = buildUnnamed419();
|
| + o.dropOffLocations = buildUnnamed420();
|
| + o.earlyVoteSites = buildUnnamed421();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.pollingLocations = buildUnnamed89();
|
| + o.pollingLocations = buildUnnamed422();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed90();
|
| + o.state = buildUnnamed423();
|
| o.status = "foo";
|
| }
|
| buildCounterVoterInfoResponse--;
|
| @@ -928,14 +942,15 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed87(o.contests);
|
| - checkUnnamed88(o.earlyVoteSites);
|
| + checkUnnamed419(o.contests);
|
| + checkUnnamed420(o.dropOffLocations);
|
| + checkUnnamed421(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed89(o.pollingLocations);
|
| + checkUnnamed422(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed90(o.state);
|
| + checkUnnamed423(o.state);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterVoterInfoResponse--;
|
|
|