| 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 e3dd67caf649bfe56a8128ab075f3b0a4347d96d..ef541e9a60c4f85f438ae252df4f255c11bc1145 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;
|
|
|
|
|
|
|
| -buildUnnamed372() {
|
| +buildUnnamed886() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed372(core.List<api.Source> o) {
|
| +checkUnnamed886(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 = buildUnnamed372();
|
| + o.sources = buildUnnamed886();
|
| }
|
| 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'));
|
| - checkUnnamed372(o.sources);
|
| + checkUnnamed886(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed373() {
|
| +buildUnnamed887() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed373(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed887(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed374() {
|
| +buildUnnamed888() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed374(core.List<core.String> o) {
|
| +checkUnnamed888(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 = buildUnnamed373();
|
| + o.electionOfficials = buildUnnamed887();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed374();
|
| + o.voterServices = buildUnnamed888();
|
| 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'));
|
| - checkUnnamed373(o.electionOfficials);
|
| + checkUnnamed887(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);
|
| - checkUnnamed374(o.voterServices);
|
| + checkUnnamed888(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed375() {
|
| +buildUnnamed889() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed375(core.List<api.Channel> o) {
|
| +checkUnnamed889(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 = buildUnnamed375();
|
| + o.channels = buildUnnamed889();
|
| 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'));
|
| - checkUnnamed375(o.channels);
|
| + checkUnnamed889(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--;
|
| }
|
|
|
| -buildUnnamed376() {
|
| +buildUnnamed890() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed376(core.List<api.Candidate> o) {
|
| +checkUnnamed890(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed377() {
|
| +buildUnnamed891() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed377(core.List<api.Source> o) {
|
| +checkUnnamed891(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 = buildUnnamed376();
|
| + o.candidates = buildUnnamed890();
|
| 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 = buildUnnamed377();
|
| + o.sources = buildUnnamed891();
|
| 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'));
|
| - checkUnnamed376(o.candidates);
|
| + checkUnnamed890(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'));
|
| - checkUnnamed377(o.sources);
|
| + checkUnnamed891(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed378() {
|
| +buildUnnamed892() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed378(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed892(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 = buildUnnamed378();
|
| + o.results = buildUnnamed892();
|
| o.status = "foo";
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| @@ -297,20 +297,20 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed378(o.results);
|
| + checkUnnamed892(o.results);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed379() {
|
| +buildUnnamed893() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed379(core.List<core.String> o) {
|
| +checkUnnamed893(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 = buildUnnamed379();
|
| + o.aliases = buildUnnamed893();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -332,7 +332,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed379(o.aliases);
|
| + checkUnnamed893(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--;
|
| }
|
|
|
| -buildUnnamed380() {
|
| +buildUnnamed894() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed380(core.List<api.Election> o) {
|
| +checkUnnamed894(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 = buildUnnamed380();
|
| + o.elections = buildUnnamed894();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -417,7 +417,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed380(o.elections);
|
| + checkUnnamed894(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -446,27 +446,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed381() {
|
| +buildUnnamed895() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed381(core.List<core.String> o) {
|
| +checkUnnamed895(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'));
|
| }
|
|
|
| -buildUnnamed382() {
|
| +buildUnnamed896() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed382(core.List<core.String> o) {
|
| +checkUnnamed896(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 = buildUnnamed381();
|
| + o.alsoKnownAs = buildUnnamed895();
|
| o.name = "foo";
|
| - o.officeIds = buildUnnamed382();
|
| + o.officeIds = buildUnnamed896();
|
| o.scope = "foo";
|
| }
|
| buildCounterGeographicDivision--;
|
| @@ -489,35 +489,35 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed381(o.alsoKnownAs);
|
| + checkUnnamed895(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed382(o.officeIds);
|
| + checkUnnamed896(o.officeIds);
|
| unittest.expect(o.scope, unittest.equals('foo'));
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed383() {
|
| +buildUnnamed897() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed383(core.List<core.String> o) {
|
| +checkUnnamed897(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'));
|
| }
|
|
|
| -buildUnnamed384() {
|
| +buildUnnamed898() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed384(core.List<api.Source> o) {
|
| +checkUnnamed898(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 = buildUnnamed383();
|
| - o.sources = buildUnnamed384();
|
| + o.officialIds = buildUnnamed897();
|
| + o.sources = buildUnnamed898();
|
| }
|
| 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'));
|
| - checkUnnamed383(o.officialIds);
|
| - checkUnnamed384(o.sources);
|
| + checkUnnamed897(o.officialIds);
|
| + checkUnnamed898(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed385() {
|
| +buildUnnamed899() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed385(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed899(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed386() {
|
| +buildUnnamed900() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed386(core.List<api.Channel> o) {
|
| +checkUnnamed900(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed387() {
|
| +buildUnnamed901() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed387(core.List<core.String> o) {
|
| +checkUnnamed901(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'));
|
| }
|
|
|
| -buildUnnamed388() {
|
| +buildUnnamed902() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed388(core.List<core.String> o) {
|
| +checkUnnamed902(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'));
|
| }
|
|
|
| -buildUnnamed389() {
|
| +buildUnnamed903() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed389(core.List<core.String> o) {
|
| +checkUnnamed903(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 = buildUnnamed385();
|
| - o.channels = buildUnnamed386();
|
| - o.emails = buildUnnamed387();
|
| + o.address = buildUnnamed899();
|
| + o.channels = buildUnnamed900();
|
| + o.emails = buildUnnamed901();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed388();
|
| + o.phones = buildUnnamed902();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed389();
|
| + o.urls = buildUnnamed903();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -636,26 +636,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed385(o.address);
|
| - checkUnnamed386(o.channels);
|
| - checkUnnamed387(o.emails);
|
| + checkUnnamed899(o.address);
|
| + checkUnnamed900(o.channels);
|
| + checkUnnamed901(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed388(o.phones);
|
| + checkUnnamed902(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed389(o.urls);
|
| + checkUnnamed903(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed390() {
|
| +buildUnnamed904() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed390(core.List<api.Source> o) {
|
| +checkUnnamed904(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 = buildUnnamed390();
|
| + o.sources = buildUnnamed904();
|
| 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'));
|
| - checkUnnamed390(o.sources);
|
| + checkUnnamed904(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--;
|
| }
|
|
|
| -buildUnnamed391() {
|
| +buildUnnamed905() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed391(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed905(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed392() {
|
| +buildUnnamed906() {
|
| var o = new core.Map<core.String, api.Office>();
|
| o["x"] = buildOffice();
|
| o["y"] = buildOffice();
|
| return o;
|
| }
|
|
|
| -checkUnnamed392(core.Map<core.String, api.Office> o) {
|
| +checkUnnamed906(core.Map<core.String, api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o["x"]);
|
| checkOffice(o["y"]);
|
| }
|
|
|
| -buildUnnamed393() {
|
| +buildUnnamed907() {
|
| var o = new core.Map<core.String, api.Official>();
|
| o["x"] = buildOfficial();
|
| o["y"] = buildOfficial();
|
| return o;
|
| }
|
|
|
| -checkUnnamed393(core.Map<core.String, api.Official> o) {
|
| +checkUnnamed907(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 = buildUnnamed391();
|
| + o.divisions = buildUnnamed905();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed392();
|
| - o.officials = buildUnnamed393();
|
| + o.offices = buildUnnamed906();
|
| + o.officials = buildUnnamed907();
|
| o.status = "foo";
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| @@ -773,11 +773,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed391(o.divisions);
|
| + checkUnnamed905(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed392(o.offices);
|
| - checkUnnamed393(o.officials);
|
| + checkUnnamed906(o.offices);
|
| + checkUnnamed907(o.officials);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| @@ -854,66 +854,66 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
|
| buildCounterVoterInfoRequest--;
|
| }
|
|
|
| -buildUnnamed394() {
|
| +buildUnnamed908() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed394(core.List<api.Contest> o) {
|
| +checkUnnamed908(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed395() {
|
| +buildUnnamed909() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed395(core.List<api.PollingLocation> o) {
|
| +checkUnnamed909(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed396() {
|
| +buildUnnamed910() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed396(core.List<api.PollingLocation> o) {
|
| +checkUnnamed910(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed397() {
|
| +buildUnnamed911() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed397(core.List<api.PollingLocation> o) {
|
| +checkUnnamed911(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed398() {
|
| +buildUnnamed912() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed398(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed912(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 = buildUnnamed394();
|
| - o.dropOffLocations = buildUnnamed395();
|
| - o.earlyVoteSites = buildUnnamed396();
|
| + o.contests = buildUnnamed908();
|
| + o.dropOffLocations = buildUnnamed909();
|
| + o.earlyVoteSites = buildUnnamed910();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.pollingLocations = buildUnnamed397();
|
| + o.pollingLocations = buildUnnamed911();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed398();
|
| + o.state = buildUnnamed912();
|
| o.status = "foo";
|
| }
|
| buildCounterVoterInfoResponse--;
|
| @@ -942,15 +942,15 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed394(o.contests);
|
| - checkUnnamed395(o.dropOffLocations);
|
| - checkUnnamed396(o.earlyVoteSites);
|
| + checkUnnamed908(o.contests);
|
| + checkUnnamed909(o.dropOffLocations);
|
| + checkUnnamed910(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed397(o.pollingLocations);
|
| + checkUnnamed911(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed398(o.state);
|
| + checkUnnamed912(o.state);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterVoterInfoResponse--;
|
|
|