| Index: generated/googleapis/test/civicinfo/us_v1_test.dart
|
| diff --git a/generated/googleapis/test/civicinfo/us_v1_test.dart b/generated/googleapis/test/civicinfo/us_v1_test.dart
|
| index d48afc30f954c7e29e19ece8b7dfc4793f252e6e..e3dd67caf649bfe56a8128ab075f3b0a4347d96d 100644
|
| --- a/generated/googleapis/test/civicinfo/us_v1_test.dart
|
| +++ b/generated/googleapis/test/civicinfo/us_v1_test.dart
|
| @@ -16,14 +16,14 @@ import 'package:googleapis/civicinfo/us_v1.dart' as api;
|
|
|
|
|
|
|
| -buildUnnamed860() {
|
| +buildUnnamed372() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed860(core.List<api.Source> o) {
|
| +checkUnnamed372(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 = buildUnnamed860();
|
| + o.sources = buildUnnamed372();
|
| }
|
| 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'));
|
| - checkUnnamed860(o.sources);
|
| + checkUnnamed372(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed861() {
|
| +buildUnnamed373() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed861(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed373(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed862() {
|
| +buildUnnamed374() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed862(core.List<core.String> o) {
|
| +checkUnnamed374(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 = buildUnnamed861();
|
| + o.electionOfficials = buildUnnamed373();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed862();
|
| + o.voterServices = buildUnnamed374();
|
| 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'));
|
| - checkUnnamed861(o.electionOfficials);
|
| + checkUnnamed373(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);
|
| - checkUnnamed862(o.voterServices);
|
| + checkUnnamed374(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed863() {
|
| +buildUnnamed375() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed863(core.List<api.Channel> o) {
|
| +checkUnnamed375(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 = buildUnnamed863();
|
| + o.channels = buildUnnamed375();
|
| 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'));
|
| - checkUnnamed863(o.channels);
|
| + checkUnnamed375(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--;
|
| }
|
|
|
| -buildUnnamed864() {
|
| +buildUnnamed376() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed864(core.List<api.Candidate> o) {
|
| +checkUnnamed376(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed865() {
|
| +buildUnnamed377() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed865(core.List<api.Source> o) {
|
| +checkUnnamed377(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 = buildUnnamed864();
|
| + o.candidates = buildUnnamed376();
|
| 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 = buildUnnamed865();
|
| + o.sources = buildUnnamed377();
|
| 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'));
|
| - checkUnnamed864(o.candidates);
|
| + checkUnnamed376(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'));
|
| - checkUnnamed865(o.sources);
|
| + checkUnnamed377(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed866() {
|
| +buildUnnamed378() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed866(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed378(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 = buildUnnamed866();
|
| + o.results = buildUnnamed378();
|
| o.status = "foo";
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| @@ -297,20 +297,20 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed866(o.results);
|
| + checkUnnamed378(o.results);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed867() {
|
| +buildUnnamed379() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed867(core.List<core.String> o) {
|
| +checkUnnamed379(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 = buildUnnamed867();
|
| + o.aliases = buildUnnamed379();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -332,7 +332,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed867(o.aliases);
|
| + checkUnnamed379(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--;
|
| }
|
|
|
| -buildUnnamed868() {
|
| +buildUnnamed380() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed868(core.List<api.Election> o) {
|
| +checkUnnamed380(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 = buildUnnamed868();
|
| + o.elections = buildUnnamed380();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -417,7 +417,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed868(o.elections);
|
| + checkUnnamed380(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -446,27 +446,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed869() {
|
| +buildUnnamed381() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed869(core.List<core.String> o) {
|
| +checkUnnamed381(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'));
|
| }
|
|
|
| -buildUnnamed870() {
|
| +buildUnnamed382() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed870(core.List<core.String> o) {
|
| +checkUnnamed382(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 = buildUnnamed869();
|
| + o.alsoKnownAs = buildUnnamed381();
|
| o.name = "foo";
|
| - o.officeIds = buildUnnamed870();
|
| + o.officeIds = buildUnnamed382();
|
| o.scope = "foo";
|
| }
|
| buildCounterGeographicDivision--;
|
| @@ -489,35 +489,35 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed869(o.alsoKnownAs);
|
| + checkUnnamed381(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed870(o.officeIds);
|
| + checkUnnamed382(o.officeIds);
|
| unittest.expect(o.scope, unittest.equals('foo'));
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed871() {
|
| +buildUnnamed383() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed871(core.List<core.String> o) {
|
| +checkUnnamed383(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'));
|
| }
|
|
|
| -buildUnnamed872() {
|
| +buildUnnamed384() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed872(core.List<api.Source> o) {
|
| +checkUnnamed384(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 = buildUnnamed871();
|
| - o.sources = buildUnnamed872();
|
| + o.officialIds = buildUnnamed383();
|
| + o.sources = buildUnnamed384();
|
| }
|
| 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'));
|
| - checkUnnamed871(o.officialIds);
|
| - checkUnnamed872(o.sources);
|
| + checkUnnamed383(o.officialIds);
|
| + checkUnnamed384(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed873() {
|
| +buildUnnamed385() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed873(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed385(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed874() {
|
| +buildUnnamed386() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed874(core.List<api.Channel> o) {
|
| +checkUnnamed386(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed875() {
|
| +buildUnnamed387() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed875(core.List<core.String> o) {
|
| +checkUnnamed387(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'));
|
| }
|
|
|
| -buildUnnamed876() {
|
| +buildUnnamed388() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed876(core.List<core.String> o) {
|
| +checkUnnamed388(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'));
|
| }
|
|
|
| -buildUnnamed877() {
|
| +buildUnnamed389() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed877(core.List<core.String> o) {
|
| +checkUnnamed389(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 = buildUnnamed873();
|
| - o.channels = buildUnnamed874();
|
| - o.emails = buildUnnamed875();
|
| + o.address = buildUnnamed385();
|
| + o.channels = buildUnnamed386();
|
| + o.emails = buildUnnamed387();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed876();
|
| + o.phones = buildUnnamed388();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed877();
|
| + o.urls = buildUnnamed389();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -636,26 +636,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed873(o.address);
|
| - checkUnnamed874(o.channels);
|
| - checkUnnamed875(o.emails);
|
| + checkUnnamed385(o.address);
|
| + checkUnnamed386(o.channels);
|
| + checkUnnamed387(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed876(o.phones);
|
| + checkUnnamed388(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed877(o.urls);
|
| + checkUnnamed389(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed878() {
|
| +buildUnnamed390() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed878(core.List<api.Source> o) {
|
| +checkUnnamed390(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 = buildUnnamed878();
|
| + o.sources = buildUnnamed390();
|
| 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'));
|
| - checkUnnamed878(o.sources);
|
| + checkUnnamed390(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--;
|
| }
|
|
|
| -buildUnnamed879() {
|
| +buildUnnamed391() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed879(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed391(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed880() {
|
| +buildUnnamed392() {
|
| var o = new core.Map<core.String, api.Office>();
|
| o["x"] = buildOffice();
|
| o["y"] = buildOffice();
|
| return o;
|
| }
|
|
|
| -checkUnnamed880(core.Map<core.String, api.Office> o) {
|
| +checkUnnamed392(core.Map<core.String, api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o["x"]);
|
| checkOffice(o["y"]);
|
| }
|
|
|
| -buildUnnamed881() {
|
| +buildUnnamed393() {
|
| var o = new core.Map<core.String, api.Official>();
|
| o["x"] = buildOfficial();
|
| o["y"] = buildOfficial();
|
| return o;
|
| }
|
|
|
| -checkUnnamed881(core.Map<core.String, api.Official> o) {
|
| +checkUnnamed393(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 = buildUnnamed879();
|
| + o.divisions = buildUnnamed391();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed880();
|
| - o.officials = buildUnnamed881();
|
| + o.offices = buildUnnamed392();
|
| + o.officials = buildUnnamed393();
|
| o.status = "foo";
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| @@ -773,11 +773,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed879(o.divisions);
|
| + checkUnnamed391(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed880(o.offices);
|
| - checkUnnamed881(o.officials);
|
| + checkUnnamed392(o.offices);
|
| + checkUnnamed393(o.officials);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| @@ -854,66 +854,66 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
|
| buildCounterVoterInfoRequest--;
|
| }
|
|
|
| -buildUnnamed882() {
|
| +buildUnnamed394() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed882(core.List<api.Contest> o) {
|
| +checkUnnamed394(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed883() {
|
| +buildUnnamed395() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed883(core.List<api.PollingLocation> o) {
|
| +checkUnnamed395(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed884() {
|
| +buildUnnamed396() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed884(core.List<api.PollingLocation> o) {
|
| +checkUnnamed396(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed885() {
|
| +buildUnnamed397() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed885(core.List<api.PollingLocation> o) {
|
| +checkUnnamed397(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed886() {
|
| +buildUnnamed398() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed886(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed398(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -924,15 +924,15 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed882();
|
| - o.dropOffLocations = buildUnnamed883();
|
| - o.earlyVoteSites = buildUnnamed884();
|
| + o.contests = buildUnnamed394();
|
| + o.dropOffLocations = buildUnnamed395();
|
| + o.earlyVoteSites = buildUnnamed396();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.pollingLocations = buildUnnamed885();
|
| + o.pollingLocations = buildUnnamed397();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed886();
|
| + o.state = buildUnnamed398();
|
| o.status = "foo";
|
| }
|
| buildCounterVoterInfoResponse--;
|
| @@ -942,15 +942,15 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed882(o.contests);
|
| - checkUnnamed883(o.dropOffLocations);
|
| - checkUnnamed884(o.earlyVoteSites);
|
| + checkUnnamed394(o.contests);
|
| + checkUnnamed395(o.dropOffLocations);
|
| + checkUnnamed396(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed885(o.pollingLocations);
|
| + checkUnnamed397(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed886(o.state);
|
| + checkUnnamed398(o.state);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterVoterInfoResponse--;
|
|
|