| 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 a322f1f8b99873b28f1fb89353676f870e4af23d..148f73a6c5e85598bbdf386a5c4ba844394ec9df 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);
|
| }
|
|
|
| -buildUnnamed2449() {
|
| +buildUnnamed617() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2449(core.List<api.Source> o) {
|
| +checkUnnamed617(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 = buildUnnamed2449();
|
| + o.sources = buildUnnamed617();
|
| }
|
| buildCounterAdministrationRegion--;
|
| return o;
|
| @@ -86,45 +86,45 @@ checkAdministrationRegion(api.AdministrationRegion o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkAdministrationRegion(o.localJurisdiction);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2449(o.sources);
|
| + checkUnnamed617(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed2450() {
|
| +buildUnnamed618() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2450(core.List<core.String> o) {
|
| +checkUnnamed618(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'));
|
| }
|
|
|
| -buildUnnamed2451() {
|
| +buildUnnamed619() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2451(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed619(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed2452() {
|
| +buildUnnamed620() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2452(core.List<core.String> o) {
|
| +checkUnnamed620(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'));
|
| @@ -136,18 +136,18 @@ buildAdministrativeBody() {
|
| buildCounterAdministrativeBody++;
|
| if (buildCounterAdministrativeBody < 3) {
|
| o.absenteeVotingInfoUrl = "foo";
|
| - o.addressLines = buildUnnamed2450();
|
| + o.addressLines = buildUnnamed618();
|
| o.ballotInfoUrl = "foo";
|
| o.correspondenceAddress = buildSimpleAddressType();
|
| o.electionInfoUrl = "foo";
|
| - o.electionOfficials = buildUnnamed2451();
|
| + o.electionOfficials = buildUnnamed619();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed2452();
|
| + o.voterServices = buildUnnamed620();
|
| o.votingLocationFinderUrl = "foo";
|
| }
|
| buildCounterAdministrativeBody--;
|
| @@ -158,31 +158,31 @@ checkAdministrativeBody(api.AdministrativeBody o) {
|
| buildCounterAdministrativeBody++;
|
| if (buildCounterAdministrativeBody < 3) {
|
| unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed2450(o.addressLines);
|
| + checkUnnamed618(o.addressLines);
|
| unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
|
| checkSimpleAddressType(o.correspondenceAddress);
|
| unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed2451(o.electionOfficials);
|
| + checkUnnamed619(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);
|
| - checkUnnamed2452(o.voterServices);
|
| + checkUnnamed620(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed2453() {
|
| +buildUnnamed621() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2453(core.List<api.Channel> o) {
|
| +checkUnnamed621(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| @@ -194,7 +194,7 @@ buildCandidate() {
|
| buildCounterCandidate++;
|
| if (buildCounterCandidate < 3) {
|
| o.candidateUrl = "foo";
|
| - o.channels = buildUnnamed2453();
|
| + o.channels = buildUnnamed621();
|
| o.email = "foo";
|
| o.name = "foo";
|
| o.orderOnBallot = "foo";
|
| @@ -210,7 +210,7 @@ checkCandidate(api.Candidate o) {
|
| buildCounterCandidate++;
|
| if (buildCounterCandidate < 3) {
|
| unittest.expect(o.candidateUrl, unittest.equals('foo'));
|
| - checkUnnamed2453(o.channels);
|
| + checkUnnamed621(o.channels);
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.orderOnBallot, unittest.equals('foo'));
|
| @@ -242,66 +242,66 @@ checkChannel(api.Channel o) {
|
| buildCounterChannel--;
|
| }
|
|
|
| -buildUnnamed2454() {
|
| +buildUnnamed622() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2454(core.List<api.Candidate> o) {
|
| +checkUnnamed622(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed2455() {
|
| +buildUnnamed623() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2455(core.List<core.String> o) {
|
| +checkUnnamed623(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'));
|
| }
|
|
|
| -buildUnnamed2456() {
|
| +buildUnnamed624() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2456(core.List<core.String> o) {
|
| +checkUnnamed624(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'));
|
| }
|
|
|
| -buildUnnamed2457() {
|
| +buildUnnamed625() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2457(core.List<core.String> o) {
|
| +checkUnnamed625(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'));
|
| }
|
|
|
| -buildUnnamed2458() {
|
| +buildUnnamed626() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2458(core.List<api.Source> o) {
|
| +checkUnnamed626(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -313,16 +313,16 @@ buildContest() {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| o.ballotPlacement = "foo";
|
| - o.candidates = buildUnnamed2454();
|
| + o.candidates = buildUnnamed622();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| - o.level = buildUnnamed2455();
|
| + o.level = buildUnnamed623();
|
| o.numberElected = "foo";
|
| o.numberVotingFor = "foo";
|
| o.office = "foo";
|
| o.primaryParty = "foo";
|
| - o.referendumBallotResponses = buildUnnamed2456();
|
| + o.referendumBallotResponses = buildUnnamed624();
|
| o.referendumBrief = "foo";
|
| o.referendumConStatement = "foo";
|
| o.referendumEffectOfAbstain = "foo";
|
| @@ -332,8 +332,8 @@ buildContest() {
|
| o.referendumText = "foo";
|
| o.referendumTitle = "foo";
|
| o.referendumUrl = "foo";
|
| - o.roles = buildUnnamed2457();
|
| - o.sources = buildUnnamed2458();
|
| + o.roles = buildUnnamed625();
|
| + o.sources = buildUnnamed626();
|
| o.special = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -345,16 +345,16 @@ checkContest(api.Contest o) {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| unittest.expect(o.ballotPlacement, unittest.equals('foo'));
|
| - checkUnnamed2454(o.candidates);
|
| + checkUnnamed622(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed2455(o.level);
|
| + checkUnnamed623(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'));
|
| - checkUnnamed2456(o.referendumBallotResponses);
|
| + checkUnnamed624(o.referendumBallotResponses);
|
| unittest.expect(o.referendumBrief, unittest.equals('foo'));
|
| unittest.expect(o.referendumConStatement, unittest.equals('foo'));
|
| unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
|
| @@ -364,22 +364,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'));
|
| - checkUnnamed2457(o.roles);
|
| - checkUnnamed2458(o.sources);
|
| + checkUnnamed625(o.roles);
|
| + checkUnnamed626(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed2459() {
|
| +buildUnnamed627() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2459(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed627(core.List<api.DivisionSearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDivisionSearchResult(o[0]);
|
| checkDivisionSearchResult(o[1]);
|
| @@ -391,7 +391,7 @@ buildDivisionSearchResponse() {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| o.kind = "foo";
|
| - o.results = buildUnnamed2459();
|
| + o.results = buildUnnamed627();
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| return o;
|
| @@ -401,19 +401,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2459(o.results);
|
| + checkUnnamed627(o.results);
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed2460() {
|
| +buildUnnamed628() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2460(core.List<core.String> o) {
|
| +checkUnnamed628(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'));
|
| @@ -424,7 +424,7 @@ buildDivisionSearchResult() {
|
| var o = new api.DivisionSearchResult();
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - o.aliases = buildUnnamed2460();
|
| + o.aliases = buildUnnamed628();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -435,7 +435,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed2460(o.aliases);
|
| + checkUnnamed628(o.aliases);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ocdId, unittest.equals('foo'));
|
| }
|
| @@ -494,14 +494,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
|
| buildCounterElectionOfficial--;
|
| }
|
|
|
| -buildUnnamed2461() {
|
| +buildUnnamed629() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2461(core.List<api.Election> o) {
|
| +checkUnnamed629(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| @@ -512,7 +512,7 @@ buildElectionsQueryResponse() {
|
| var o = new api.ElectionsQueryResponse();
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - o.elections = buildUnnamed2461();
|
| + o.elections = buildUnnamed629();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -522,7 +522,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed2461(o.elections);
|
| + checkUnnamed629(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -551,27 +551,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed2462() {
|
| +buildUnnamed630() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2462(core.List<core.String> o) {
|
| +checkUnnamed630(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'));
|
| }
|
|
|
| -buildUnnamed2463() {
|
| +buildUnnamed631() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2463(core.List<core.int> o) {
|
| +checkUnnamed631(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));
|
| @@ -582,9 +582,9 @@ buildGeographicDivision() {
|
| var o = new api.GeographicDivision();
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - o.alsoKnownAs = buildUnnamed2462();
|
| + o.alsoKnownAs = buildUnnamed630();
|
| o.name = "foo";
|
| - o.officeIndices = buildUnnamed2463();
|
| + o.officeIndices = buildUnnamed631();
|
| }
|
| buildCounterGeographicDivision--;
|
| return o;
|
| @@ -593,60 +593,60 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed2462(o.alsoKnownAs);
|
| + checkUnnamed630(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2463(o.officeIndices);
|
| + checkUnnamed631(o.officeIndices);
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed2464() {
|
| +buildUnnamed632() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2464(core.List<core.String> o) {
|
| +checkUnnamed632(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'));
|
| }
|
|
|
| -buildUnnamed2465() {
|
| +buildUnnamed633() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2465(core.List<core.int> o) {
|
| +checkUnnamed633(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));
|
| }
|
|
|
| -buildUnnamed2466() {
|
| +buildUnnamed634() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2466(core.List<core.String> o) {
|
| +checkUnnamed634(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'));
|
| }
|
|
|
| -buildUnnamed2467() {
|
| +buildUnnamed635() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2467(core.List<api.Source> o) {
|
| +checkUnnamed635(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -658,11 +658,11 @@ buildOffice() {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| o.divisionId = "foo";
|
| - o.levels = buildUnnamed2464();
|
| + o.levels = buildUnnamed632();
|
| o.name = "foo";
|
| - o.officialIndices = buildUnnamed2465();
|
| - o.roles = buildUnnamed2466();
|
| - o.sources = buildUnnamed2467();
|
| + o.officialIndices = buildUnnamed633();
|
| + o.roles = buildUnnamed634();
|
| + o.sources = buildUnnamed635();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -672,75 +672,75 @@ checkOffice(api.Office o) {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| - checkUnnamed2464(o.levels);
|
| + checkUnnamed632(o.levels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2465(o.officialIndices);
|
| - checkUnnamed2466(o.roles);
|
| - checkUnnamed2467(o.sources);
|
| + checkUnnamed633(o.officialIndices);
|
| + checkUnnamed634(o.roles);
|
| + checkUnnamed635(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed2468() {
|
| +buildUnnamed636() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2468(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed636(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed2469() {
|
| +buildUnnamed637() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2469(core.List<api.Channel> o) {
|
| +checkUnnamed637(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed2470() {
|
| +buildUnnamed638() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2470(core.List<core.String> o) {
|
| +checkUnnamed638(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'));
|
| }
|
|
|
| -buildUnnamed2471() {
|
| +buildUnnamed639() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2471(core.List<core.String> o) {
|
| +checkUnnamed639(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'));
|
| }
|
|
|
| -buildUnnamed2472() {
|
| +buildUnnamed640() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2472(core.List<core.String> o) {
|
| +checkUnnamed640(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'));
|
| @@ -751,14 +751,14 @@ buildOfficial() {
|
| var o = new api.Official();
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - o.address = buildUnnamed2468();
|
| - o.channels = buildUnnamed2469();
|
| - o.emails = buildUnnamed2470();
|
| + o.address = buildUnnamed636();
|
| + o.channels = buildUnnamed637();
|
| + o.emails = buildUnnamed638();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed2471();
|
| + o.phones = buildUnnamed639();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed2472();
|
| + o.urls = buildUnnamed640();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -767,26 +767,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed2468(o.address);
|
| - checkUnnamed2469(o.channels);
|
| - checkUnnamed2470(o.emails);
|
| + checkUnnamed636(o.address);
|
| + checkUnnamed637(o.channels);
|
| + checkUnnamed638(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed2471(o.phones);
|
| + checkUnnamed639(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed2472(o.urls);
|
| + checkUnnamed640(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed2473() {
|
| +buildUnnamed641() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2473(core.List<api.Source> o) {
|
| +checkUnnamed641(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -803,7 +803,7 @@ buildPollingLocation() {
|
| o.name = "foo";
|
| o.notes = "foo";
|
| o.pollingHours = "foo";
|
| - o.sources = buildUnnamed2473();
|
| + o.sources = buildUnnamed641();
|
| o.startDate = "foo";
|
| o.voterServices = "foo";
|
| }
|
| @@ -820,47 +820,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'));
|
| - checkUnnamed2473(o.sources);
|
| + checkUnnamed641(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| buildCounterPollingLocation--;
|
| }
|
|
|
| -buildUnnamed2474() {
|
| +buildUnnamed642() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2474(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed642(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed2475() {
|
| +buildUnnamed643() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2475(core.List<api.Office> o) {
|
| +checkUnnamed643(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed2476() {
|
| +buildUnnamed644() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2476(core.List<api.Official> o) {
|
| +checkUnnamed644(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -871,9 +871,9 @@ buildRepresentativeInfoData() {
|
| var o = new api.RepresentativeInfoData();
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - o.divisions = buildUnnamed2474();
|
| - o.offices = buildUnnamed2475();
|
| - o.officials = buildUnnamed2476();
|
| + o.divisions = buildUnnamed642();
|
| + o.offices = buildUnnamed643();
|
| + o.officials = buildUnnamed644();
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| return o;
|
| @@ -882,47 +882,47 @@ buildRepresentativeInfoData() {
|
| checkRepresentativeInfoData(api.RepresentativeInfoData o) {
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - checkUnnamed2474(o.divisions);
|
| - checkUnnamed2475(o.offices);
|
| - checkUnnamed2476(o.officials);
|
| + checkUnnamed642(o.divisions);
|
| + checkUnnamed643(o.offices);
|
| + checkUnnamed644(o.officials);
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| }
|
|
|
| -buildUnnamed2477() {
|
| +buildUnnamed645() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2477(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed645(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed2478() {
|
| +buildUnnamed646() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2478(core.List<api.Office> o) {
|
| +checkUnnamed646(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed2479() {
|
| +buildUnnamed647() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2479(core.List<api.Official> o) {
|
| +checkUnnamed647(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -933,11 +933,11 @@ buildRepresentativeInfoResponse() {
|
| var o = new api.RepresentativeInfoResponse();
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - o.divisions = buildUnnamed2477();
|
| + o.divisions = buildUnnamed645();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed2478();
|
| - o.officials = buildUnnamed2479();
|
| + o.offices = buildUnnamed646();
|
| + o.officials = buildUnnamed647();
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| return o;
|
| @@ -946,11 +946,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed2477(o.divisions);
|
| + checkUnnamed645(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed2478(o.offices);
|
| - checkUnnamed2479(o.officials);
|
| + checkUnnamed646(o.offices);
|
| + checkUnnamed647(o.officials);
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| }
|
| @@ -1007,79 +1007,79 @@ checkSource(api.Source o) {
|
| buildCounterSource--;
|
| }
|
|
|
| -buildUnnamed2480() {
|
| +buildUnnamed648() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2480(core.List<api.Contest> o) {
|
| +checkUnnamed648(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed2481() {
|
| +buildUnnamed649() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2481(core.List<api.PollingLocation> o) {
|
| +checkUnnamed649(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2482() {
|
| +buildUnnamed650() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2482(core.List<api.PollingLocation> o) {
|
| +checkUnnamed650(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2483() {
|
| +buildUnnamed651() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2483(core.List<api.Election> o) {
|
| +checkUnnamed651(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| }
|
|
|
| -buildUnnamed2484() {
|
| +buildUnnamed652() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2484(core.List<api.PollingLocation> o) {
|
| +checkUnnamed652(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2485() {
|
| +buildUnnamed653() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2485(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed653(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -1090,17 +1090,17 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed2480();
|
| - o.dropOffLocations = buildUnnamed2481();
|
| - o.earlyVoteSites = buildUnnamed2482();
|
| + o.contests = buildUnnamed648();
|
| + o.dropOffLocations = buildUnnamed649();
|
| + o.earlyVoteSites = buildUnnamed650();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.mailOnly = true;
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.otherElections = buildUnnamed2483();
|
| - o.pollingLocations = buildUnnamed2484();
|
| + o.otherElections = buildUnnamed651();
|
| + o.pollingLocations = buildUnnamed652();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed2485();
|
| + o.state = buildUnnamed653();
|
| }
|
| buildCounterVoterInfoResponse--;
|
| return o;
|
| @@ -1109,68 +1109,68 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed2480(o.contests);
|
| - checkUnnamed2481(o.dropOffLocations);
|
| - checkUnnamed2482(o.earlyVoteSites);
|
| + checkUnnamed648(o.contests);
|
| + checkUnnamed649(o.dropOffLocations);
|
| + checkUnnamed650(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.mailOnly, unittest.isTrue);
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed2483(o.otherElections);
|
| - checkUnnamed2484(o.pollingLocations);
|
| + checkUnnamed651(o.otherElections);
|
| + checkUnnamed652(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed2485(o.state);
|
| + checkUnnamed653(o.state);
|
| }
|
| buildCounterVoterInfoResponse--;
|
| }
|
|
|
| -buildUnnamed2486() {
|
| +buildUnnamed654() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2486(core.List<core.String> o) {
|
| +checkUnnamed654(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'));
|
| }
|
|
|
| -buildUnnamed2487() {
|
| +buildUnnamed655() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2487(core.List<core.String> o) {
|
| +checkUnnamed655(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'));
|
| }
|
|
|
| -buildUnnamed2488() {
|
| +buildUnnamed656() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2488(core.List<core.String> o) {
|
| +checkUnnamed656(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'));
|
| }
|
|
|
| -buildUnnamed2489() {
|
| +buildUnnamed657() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2489(core.List<core.String> o) {
|
| +checkUnnamed657(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'));
|
| @@ -1516,8 +1516,8 @@ main() {
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_address = "foo";
|
| var arg_includeOffices = true;
|
| - var arg_levels = buildUnnamed2486();
|
| - var arg_roles = buildUnnamed2487();
|
| + var arg_levels = buildUnnamed654();
|
| + var arg_roles = buildUnnamed655();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1568,9 +1568,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_ocdId = "foo";
|
| - var arg_levels = buildUnnamed2488();
|
| + var arg_levels = buildUnnamed656();
|
| var arg_recursive = true;
|
| - var arg_roles = buildUnnamed2489();
|
| + var arg_roles = buildUnnamed657();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|