| 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 eb5fa0e1bb5e44fde01759dc0f06ef1b4931f4df..66ca87f1b0ac077f0870cc32a2bcb687a7fe2e17 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);
|
| }
|
|
|
| -buildUnnamed2484() {
|
| +buildUnnamed2498() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2484(core.List<api.Source> o) {
|
| +checkUnnamed2498(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 = buildUnnamed2484();
|
| + o.sources = buildUnnamed2498();
|
| }
|
| 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'));
|
| - checkUnnamed2484(o.sources);
|
| + checkUnnamed2498(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed2485() {
|
| +buildUnnamed2499() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2485(core.List<core.String> o) {
|
| +checkUnnamed2499(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'));
|
| }
|
|
|
| -buildUnnamed2486() {
|
| +buildUnnamed2500() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2486(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed2500(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed2487() {
|
| +buildUnnamed2501() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2487(core.List<core.String> o) {
|
| +checkUnnamed2501(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 = buildUnnamed2485();
|
| + o.addressLines = buildUnnamed2499();
|
| o.ballotInfoUrl = "foo";
|
| o.correspondenceAddress = buildSimpleAddressType();
|
| o.electionInfoUrl = "foo";
|
| - o.electionOfficials = buildUnnamed2486();
|
| + o.electionOfficials = buildUnnamed2500();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed2487();
|
| + o.voterServices = buildUnnamed2501();
|
| o.votingLocationFinderUrl = "foo";
|
| }
|
| buildCounterAdministrativeBody--;
|
| @@ -158,31 +158,31 @@ checkAdministrativeBody(api.AdministrativeBody o) {
|
| buildCounterAdministrativeBody++;
|
| if (buildCounterAdministrativeBody < 3) {
|
| unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed2485(o.addressLines);
|
| + checkUnnamed2499(o.addressLines);
|
| unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
|
| checkSimpleAddressType(o.correspondenceAddress);
|
| unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed2486(o.electionOfficials);
|
| + checkUnnamed2500(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);
|
| - checkUnnamed2487(o.voterServices);
|
| + checkUnnamed2501(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed2488() {
|
| +buildUnnamed2502() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2488(core.List<api.Channel> o) {
|
| +checkUnnamed2502(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 = buildUnnamed2488();
|
| + o.channels = buildUnnamed2502();
|
| 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'));
|
| - checkUnnamed2488(o.channels);
|
| + checkUnnamed2502(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--;
|
| }
|
|
|
| -buildUnnamed2489() {
|
| +buildUnnamed2503() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2489(core.List<api.Candidate> o) {
|
| +checkUnnamed2503(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed2490() {
|
| +buildUnnamed2504() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2490(core.List<core.String> o) {
|
| +checkUnnamed2504(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'));
|
| }
|
|
|
| -buildUnnamed2491() {
|
| +buildUnnamed2505() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2491(core.List<core.String> o) {
|
| +checkUnnamed2505(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'));
|
| }
|
|
|
| -buildUnnamed2492() {
|
| +buildUnnamed2506() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2492(core.List<core.String> o) {
|
| +checkUnnamed2506(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'));
|
| }
|
|
|
| -buildUnnamed2493() {
|
| +buildUnnamed2507() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2493(core.List<api.Source> o) {
|
| +checkUnnamed2507(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 = buildUnnamed2489();
|
| + o.candidates = buildUnnamed2503();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| - o.level = buildUnnamed2490();
|
| + o.level = buildUnnamed2504();
|
| o.numberElected = "foo";
|
| o.numberVotingFor = "foo";
|
| o.office = "foo";
|
| o.primaryParty = "foo";
|
| - o.referendumBallotResponses = buildUnnamed2491();
|
| + o.referendumBallotResponses = buildUnnamed2505();
|
| 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 = buildUnnamed2492();
|
| - o.sources = buildUnnamed2493();
|
| + o.roles = buildUnnamed2506();
|
| + o.sources = buildUnnamed2507();
|
| 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'));
|
| - checkUnnamed2489(o.candidates);
|
| + checkUnnamed2503(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed2490(o.level);
|
| + checkUnnamed2504(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'));
|
| - checkUnnamed2491(o.referendumBallotResponses);
|
| + checkUnnamed2505(o.referendumBallotResponses);
|
| unittest.expect(o.referendumBrief, unittest.equals('foo'));
|
| unittest.expect(o.referendumConStatement, unittest.equals('foo'));
|
| unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
|
| @@ -364,8 +364,8 @@ 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'));
|
| - checkUnnamed2492(o.roles);
|
| - checkUnnamed2493(o.sources);
|
| + checkUnnamed2506(o.roles);
|
| + checkUnnamed2507(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| @@ -429,14 +429,14 @@ checkDivisionSearchRequest(api.DivisionSearchRequest o) {
|
| buildCounterDivisionSearchRequest--;
|
| }
|
|
|
| -buildUnnamed2494() {
|
| +buildUnnamed2508() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2494(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed2508(core.List<api.DivisionSearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDivisionSearchResult(o[0]);
|
| checkDivisionSearchResult(o[1]);
|
| @@ -448,7 +448,7 @@ buildDivisionSearchResponse() {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| o.kind = "foo";
|
| - o.results = buildUnnamed2494();
|
| + o.results = buildUnnamed2508();
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| return o;
|
| @@ -458,19 +458,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2494(o.results);
|
| + checkUnnamed2508(o.results);
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed2495() {
|
| +buildUnnamed2509() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2495(core.List<core.String> o) {
|
| +checkUnnamed2509(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'));
|
| @@ -481,7 +481,7 @@ buildDivisionSearchResult() {
|
| var o = new api.DivisionSearchResult();
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - o.aliases = buildUnnamed2495();
|
| + o.aliases = buildUnnamed2509();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -492,7 +492,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed2495(o.aliases);
|
| + checkUnnamed2509(o.aliases);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ocdId, unittest.equals('foo'));
|
| }
|
| @@ -570,14 +570,14 @@ checkElectionsQueryRequest(api.ElectionsQueryRequest o) {
|
| buildCounterElectionsQueryRequest--;
|
| }
|
|
|
| -buildUnnamed2496() {
|
| +buildUnnamed2510() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2496(core.List<api.Election> o) {
|
| +checkUnnamed2510(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| @@ -588,7 +588,7 @@ buildElectionsQueryResponse() {
|
| var o = new api.ElectionsQueryResponse();
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - o.elections = buildUnnamed2496();
|
| + o.elections = buildUnnamed2510();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -598,7 +598,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed2496(o.elections);
|
| + checkUnnamed2510(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -629,27 +629,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed2497() {
|
| +buildUnnamed2511() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2497(core.List<core.String> o) {
|
| +checkUnnamed2511(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'));
|
| }
|
|
|
| -buildUnnamed2498() {
|
| +buildUnnamed2512() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2498(core.List<core.int> o) {
|
| +checkUnnamed2512(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));
|
| @@ -660,9 +660,9 @@ buildGeographicDivision() {
|
| var o = new api.GeographicDivision();
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - o.alsoKnownAs = buildUnnamed2497();
|
| + o.alsoKnownAs = buildUnnamed2511();
|
| o.name = "foo";
|
| - o.officeIndices = buildUnnamed2498();
|
| + o.officeIndices = buildUnnamed2512();
|
| }
|
| buildCounterGeographicDivision--;
|
| return o;
|
| @@ -671,60 +671,60 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed2497(o.alsoKnownAs);
|
| + checkUnnamed2511(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2498(o.officeIndices);
|
| + checkUnnamed2512(o.officeIndices);
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed2499() {
|
| +buildUnnamed2513() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2499(core.List<core.String> o) {
|
| +checkUnnamed2513(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'));
|
| }
|
|
|
| -buildUnnamed2500() {
|
| +buildUnnamed2514() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2500(core.List<core.int> o) {
|
| +checkUnnamed2514(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));
|
| }
|
|
|
| -buildUnnamed2501() {
|
| +buildUnnamed2515() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2501(core.List<core.String> o) {
|
| +checkUnnamed2515(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'));
|
| }
|
|
|
| -buildUnnamed2502() {
|
| +buildUnnamed2516() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2502(core.List<api.Source> o) {
|
| +checkUnnamed2516(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -736,11 +736,11 @@ buildOffice() {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| o.divisionId = "foo";
|
| - o.levels = buildUnnamed2499();
|
| + o.levels = buildUnnamed2513();
|
| o.name = "foo";
|
| - o.officialIndices = buildUnnamed2500();
|
| - o.roles = buildUnnamed2501();
|
| - o.sources = buildUnnamed2502();
|
| + o.officialIndices = buildUnnamed2514();
|
| + o.roles = buildUnnamed2515();
|
| + o.sources = buildUnnamed2516();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -750,75 +750,75 @@ checkOffice(api.Office o) {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| - checkUnnamed2499(o.levels);
|
| + checkUnnamed2513(o.levels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2500(o.officialIndices);
|
| - checkUnnamed2501(o.roles);
|
| - checkUnnamed2502(o.sources);
|
| + checkUnnamed2514(o.officialIndices);
|
| + checkUnnamed2515(o.roles);
|
| + checkUnnamed2516(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed2503() {
|
| +buildUnnamed2517() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2503(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed2517(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed2504() {
|
| +buildUnnamed2518() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2504(core.List<api.Channel> o) {
|
| +checkUnnamed2518(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed2505() {
|
| +buildUnnamed2519() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2505(core.List<core.String> o) {
|
| +checkUnnamed2519(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'));
|
| }
|
|
|
| -buildUnnamed2506() {
|
| +buildUnnamed2520() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2506(core.List<core.String> o) {
|
| +checkUnnamed2520(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'));
|
| }
|
|
|
| -buildUnnamed2507() {
|
| +buildUnnamed2521() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2507(core.List<core.String> o) {
|
| +checkUnnamed2521(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'));
|
| @@ -829,14 +829,14 @@ buildOfficial() {
|
| var o = new api.Official();
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - o.address = buildUnnamed2503();
|
| - o.channels = buildUnnamed2504();
|
| - o.emails = buildUnnamed2505();
|
| + o.address = buildUnnamed2517();
|
| + o.channels = buildUnnamed2518();
|
| + o.emails = buildUnnamed2519();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed2506();
|
| + o.phones = buildUnnamed2520();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed2507();
|
| + o.urls = buildUnnamed2521();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -845,26 +845,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed2503(o.address);
|
| - checkUnnamed2504(o.channels);
|
| - checkUnnamed2505(o.emails);
|
| + checkUnnamed2517(o.address);
|
| + checkUnnamed2518(o.channels);
|
| + checkUnnamed2519(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed2506(o.phones);
|
| + checkUnnamed2520(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed2507(o.urls);
|
| + checkUnnamed2521(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed2508() {
|
| +buildUnnamed2522() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2508(core.List<api.Source> o) {
|
| +checkUnnamed2522(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -881,7 +881,7 @@ buildPollingLocation() {
|
| o.name = "foo";
|
| o.notes = "foo";
|
| o.pollingHours = "foo";
|
| - o.sources = buildUnnamed2508();
|
| + o.sources = buildUnnamed2522();
|
| o.startDate = "foo";
|
| o.voterServices = "foo";
|
| }
|
| @@ -898,21 +898,21 @@ 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'));
|
| - checkUnnamed2508(o.sources);
|
| + checkUnnamed2522(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| buildCounterPollingLocation--;
|
| }
|
|
|
| -buildUnnamed2509() {
|
| +buildUnnamed2523() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2509(core.List<core.String> o) {
|
| +checkUnnamed2523(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'));
|
| @@ -923,7 +923,7 @@ buildPostalAddress() {
|
| var o = new api.PostalAddress();
|
| buildCounterPostalAddress++;
|
| if (buildCounterPostalAddress < 3) {
|
| - o.addressLines = buildUnnamed2509();
|
| + o.addressLines = buildUnnamed2523();
|
| o.administrativeAreaName = "foo";
|
| o.countryName = "foo";
|
| o.countryNameCode = "foo";
|
| @@ -962,7 +962,7 @@ buildPostalAddress() {
|
| checkPostalAddress(api.PostalAddress o) {
|
| buildCounterPostalAddress++;
|
| if (buildCounterPostalAddress < 3) {
|
| - checkUnnamed2509(o.addressLines);
|
| + checkUnnamed2523(o.addressLines);
|
| unittest.expect(o.administrativeAreaName, unittest.equals('foo'));
|
| unittest.expect(o.countryName, unittest.equals('foo'));
|
| unittest.expect(o.countryNameCode, unittest.equals('foo'));
|
| @@ -997,40 +997,40 @@ checkPostalAddress(api.PostalAddress o) {
|
| buildCounterPostalAddress--;
|
| }
|
|
|
| -buildUnnamed2510() {
|
| +buildUnnamed2524() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2510(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed2524(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed2511() {
|
| +buildUnnamed2525() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2511(core.List<api.Office> o) {
|
| +checkUnnamed2525(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed2512() {
|
| +buildUnnamed2526() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2512(core.List<api.Official> o) {
|
| +checkUnnamed2526(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -1041,9 +1041,9 @@ buildRepresentativeInfoData() {
|
| var o = new api.RepresentativeInfoData();
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - o.divisions = buildUnnamed2510();
|
| - o.offices = buildUnnamed2511();
|
| - o.officials = buildUnnamed2512();
|
| + o.divisions = buildUnnamed2524();
|
| + o.offices = buildUnnamed2525();
|
| + o.officials = buildUnnamed2526();
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| return o;
|
| @@ -1052,9 +1052,9 @@ buildRepresentativeInfoData() {
|
| checkRepresentativeInfoData(api.RepresentativeInfoData o) {
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - checkUnnamed2510(o.divisions);
|
| - checkUnnamed2511(o.offices);
|
| - checkUnnamed2512(o.officials);
|
| + checkUnnamed2524(o.divisions);
|
| + checkUnnamed2525(o.offices);
|
| + checkUnnamed2526(o.officials);
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| }
|
| @@ -1078,40 +1078,40 @@ checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) {
|
| buildCounterRepresentativeInfoRequest--;
|
| }
|
|
|
| -buildUnnamed2513() {
|
| +buildUnnamed2527() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2513(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed2527(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed2514() {
|
| +buildUnnamed2528() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2514(core.List<api.Office> o) {
|
| +checkUnnamed2528(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed2515() {
|
| +buildUnnamed2529() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2515(core.List<api.Official> o) {
|
| +checkUnnamed2529(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -1122,11 +1122,11 @@ buildRepresentativeInfoResponse() {
|
| var o = new api.RepresentativeInfoResponse();
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - o.divisions = buildUnnamed2513();
|
| + o.divisions = buildUnnamed2527();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed2514();
|
| - o.officials = buildUnnamed2515();
|
| + o.offices = buildUnnamed2528();
|
| + o.officials = buildUnnamed2529();
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| return o;
|
| @@ -1135,11 +1135,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed2513(o.divisions);
|
| + checkUnnamed2527(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed2514(o.offices);
|
| - checkUnnamed2515(o.officials);
|
| + checkUnnamed2528(o.offices);
|
| + checkUnnamed2529(o.officials);
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| }
|
| @@ -1217,79 +1217,79 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
|
| buildCounterVoterInfoRequest--;
|
| }
|
|
|
| -buildUnnamed2516() {
|
| +buildUnnamed2530() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2516(core.List<api.Contest> o) {
|
| +checkUnnamed2530(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed2517() {
|
| +buildUnnamed2531() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2517(core.List<api.PollingLocation> o) {
|
| +checkUnnamed2531(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2518() {
|
| +buildUnnamed2532() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2518(core.List<api.PollingLocation> o) {
|
| +checkUnnamed2532(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2519() {
|
| +buildUnnamed2533() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2519(core.List<api.Election> o) {
|
| +checkUnnamed2533(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| }
|
|
|
| -buildUnnamed2520() {
|
| +buildUnnamed2534() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2520(core.List<api.PollingLocation> o) {
|
| +checkUnnamed2534(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2521() {
|
| +buildUnnamed2535() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2521(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed2535(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -1300,17 +1300,17 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed2516();
|
| - o.dropOffLocations = buildUnnamed2517();
|
| - o.earlyVoteSites = buildUnnamed2518();
|
| + o.contests = buildUnnamed2530();
|
| + o.dropOffLocations = buildUnnamed2531();
|
| + o.earlyVoteSites = buildUnnamed2532();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.mailOnly = true;
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.otherElections = buildUnnamed2519();
|
| - o.pollingLocations = buildUnnamed2520();
|
| + o.otherElections = buildUnnamed2533();
|
| + o.pollingLocations = buildUnnamed2534();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed2521();
|
| + o.state = buildUnnamed2535();
|
| }
|
| buildCounterVoterInfoResponse--;
|
| return o;
|
| @@ -1319,17 +1319,17 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed2516(o.contests);
|
| - checkUnnamed2517(o.dropOffLocations);
|
| - checkUnnamed2518(o.earlyVoteSites);
|
| + checkUnnamed2530(o.contests);
|
| + checkUnnamed2531(o.dropOffLocations);
|
| + checkUnnamed2532(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.mailOnly, unittest.isTrue);
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed2519(o.otherElections);
|
| - checkUnnamed2520(o.pollingLocations);
|
| + checkUnnamed2533(o.otherElections);
|
| + checkUnnamed2534(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed2521(o.state);
|
| + checkUnnamed2535(o.state);
|
| }
|
| buildCounterVoterInfoResponse--;
|
| }
|
| @@ -1359,53 +1359,53 @@ checkVoterInfoSegmentResult(api.VoterInfoSegmentResult o) {
|
| buildCounterVoterInfoSegmentResult--;
|
| }
|
|
|
| -buildUnnamed2522() {
|
| +buildUnnamed2536() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2522(core.List<core.String> o) {
|
| +checkUnnamed2536(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'));
|
| }
|
|
|
| -buildUnnamed2523() {
|
| +buildUnnamed2537() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2523(core.List<core.String> o) {
|
| +checkUnnamed2537(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'));
|
| }
|
|
|
| -buildUnnamed2524() {
|
| +buildUnnamed2538() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2524(core.List<core.String> o) {
|
| +checkUnnamed2538(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'));
|
| }
|
|
|
| -buildUnnamed2525() {
|
| +buildUnnamed2539() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2525(core.List<core.String> o) {
|
| +checkUnnamed2539(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'));
|
| @@ -1838,8 +1838,8 @@ main() {
|
| var arg_request = buildRepresentativeInfoRequest();
|
| var arg_address = "foo";
|
| var arg_includeOffices = true;
|
| - var arg_levels = buildUnnamed2522();
|
| - var arg_roles = buildUnnamed2523();
|
| + var arg_levels = buildUnnamed2536();
|
| + var arg_roles = buildUnnamed2537();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.RepresentativeInfoRequest.fromJson(json);
|
| checkRepresentativeInfoRequest(obj);
|
| @@ -1894,9 +1894,9 @@ main() {
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_request = buildDivisionRepresentativeInfoRequest();
|
| var arg_ocdId = "foo";
|
| - var arg_levels = buildUnnamed2524();
|
| + var arg_levels = buildUnnamed2538();
|
| var arg_recursive = true;
|
| - var arg_roles = buildUnnamed2525();
|
| + var arg_roles = buildUnnamed2539();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
|
| checkDivisionRepresentativeInfoRequest(obj);
|
|
|