| 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 0dd4b1219f18119a31d19926f38424629ff5a0b2..db404cd4d1c3a028c1647071ae9ee2d7826d9b2e 100644
|
| --- a/generated/googleapis/test/civicinfo/v2_test.dart
|
| +++ b/generated/googleapis/test/civicinfo/v2_test.dart
|
| @@ -16,14 +16,14 @@ import 'package:googleapis/civicinfo/v2.dart' as api;
|
|
|
|
|
|
|
| -buildUnnamed424() {
|
| +buildUnnamed1034() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed424(core.List<api.Source> o) {
|
| +checkUnnamed1034(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 = buildUnnamed424();
|
| + o.sources = buildUnnamed1034();
|
| }
|
| 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'));
|
| - checkUnnamed424(o.sources);
|
| + checkUnnamed1034(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed425() {
|
| +buildUnnamed1035() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed425(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed1035(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed426() {
|
| +buildUnnamed1036() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed426(core.List<core.String> o) {
|
| +checkUnnamed1036(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 = buildUnnamed425();
|
| + o.electionOfficials = buildUnnamed1035();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed426();
|
| + o.voterServices = buildUnnamed1036();
|
| 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'));
|
| - checkUnnamed425(o.electionOfficials);
|
| + checkUnnamed1035(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);
|
| - checkUnnamed426(o.voterServices);
|
| + checkUnnamed1036(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed427() {
|
| +buildUnnamed1037() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed427(core.List<api.Channel> o) {
|
| +checkUnnamed1037(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 = buildUnnamed427();
|
| + o.channels = buildUnnamed1037();
|
| 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'));
|
| - checkUnnamed427(o.channels);
|
| + checkUnnamed1037(o.channels);
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.orderOnBallot, unittest.equals('foo'));
|
| @@ -192,53 +192,53 @@ checkChannel(api.Channel o) {
|
| buildCounterChannel--;
|
| }
|
|
|
| -buildUnnamed428() {
|
| +buildUnnamed1038() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed428(core.List<api.Candidate> o) {
|
| +checkUnnamed1038(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed429() {
|
| +buildUnnamed1039() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed429(core.List<core.String> o) {
|
| +checkUnnamed1039(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'));
|
| }
|
|
|
| -buildUnnamed430() {
|
| +buildUnnamed1040() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed430(core.List<core.String> o) {
|
| +checkUnnamed1040(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'));
|
| }
|
|
|
| -buildUnnamed431() {
|
| +buildUnnamed1041() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed431(core.List<api.Source> o) {
|
| +checkUnnamed1041(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -250,11 +250,11 @@ buildContest() {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| o.ballotPlacement = "foo";
|
| - o.candidates = buildUnnamed428();
|
| + o.candidates = buildUnnamed1038();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| - o.level = buildUnnamed429();
|
| + o.level = buildUnnamed1039();
|
| o.numberElected = "foo";
|
| o.numberVotingFor = "foo";
|
| o.office = "foo";
|
| @@ -262,8 +262,8 @@ buildContest() {
|
| o.referendumSubtitle = "foo";
|
| o.referendumTitle = "foo";
|
| o.referendumUrl = "foo";
|
| - o.roles = buildUnnamed430();
|
| - o.sources = buildUnnamed431();
|
| + o.roles = buildUnnamed1040();
|
| + o.sources = buildUnnamed1041();
|
| o.special = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -275,11 +275,11 @@ checkContest(api.Contest o) {
|
| buildCounterContest++;
|
| if (buildCounterContest < 3) {
|
| unittest.expect(o.ballotPlacement, unittest.equals('foo'));
|
| - checkUnnamed428(o.candidates);
|
| + checkUnnamed1038(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed429(o.level);
|
| + checkUnnamed1039(o.level);
|
| unittest.expect(o.numberElected, unittest.equals('foo'));
|
| unittest.expect(o.numberVotingFor, unittest.equals('foo'));
|
| unittest.expect(o.office, unittest.equals('foo'));
|
| @@ -287,22 +287,22 @@ 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'));
|
| - checkUnnamed430(o.roles);
|
| - checkUnnamed431(o.sources);
|
| + checkUnnamed1040(o.roles);
|
| + checkUnnamed1041(o.sources);
|
| unittest.expect(o.special, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterContest--;
|
| }
|
|
|
| -buildUnnamed432() {
|
| +buildUnnamed1042() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed432(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed1042(core.List<api.DivisionSearchResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDivisionSearchResult(o[0]);
|
| checkDivisionSearchResult(o[1]);
|
| @@ -314,7 +314,7 @@ buildDivisionSearchResponse() {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| o.kind = "foo";
|
| - o.results = buildUnnamed432();
|
| + o.results = buildUnnamed1042();
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| return o;
|
| @@ -324,19 +324,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed432(o.results);
|
| + checkUnnamed1042(o.results);
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed433() {
|
| +buildUnnamed1043() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed433(core.List<core.String> o) {
|
| +checkUnnamed1043(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'));
|
| @@ -347,7 +347,7 @@ buildDivisionSearchResult() {
|
| var o = new api.DivisionSearchResult();
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - o.aliases = buildUnnamed433();
|
| + o.aliases = buildUnnamed1043();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -358,7 +358,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed433(o.aliases);
|
| + checkUnnamed1043(o.aliases);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ocdId, unittest.equals('foo'));
|
| }
|
| @@ -415,14 +415,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
|
| buildCounterElectionOfficial--;
|
| }
|
|
|
| -buildUnnamed434() {
|
| +buildUnnamed1044() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed434(core.List<api.Election> o) {
|
| +checkUnnamed1044(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| @@ -433,7 +433,7 @@ buildElectionsQueryResponse() {
|
| var o = new api.ElectionsQueryResponse();
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - o.elections = buildUnnamed434();
|
| + o.elections = buildUnnamed1044();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -443,7 +443,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed434(o.elections);
|
| + checkUnnamed1044(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -472,27 +472,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed435() {
|
| +buildUnnamed1045() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed435(core.List<core.String> o) {
|
| +checkUnnamed1045(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'));
|
| }
|
|
|
| -buildUnnamed436() {
|
| +buildUnnamed1046() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed436(core.List<core.int> o) {
|
| +checkUnnamed1046(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));
|
| @@ -503,9 +503,9 @@ buildGeographicDivision() {
|
| var o = new api.GeographicDivision();
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - o.alsoKnownAs = buildUnnamed435();
|
| + o.alsoKnownAs = buildUnnamed1045();
|
| o.name = "foo";
|
| - o.officeIndices = buildUnnamed436();
|
| + o.officeIndices = buildUnnamed1046();
|
| }
|
| buildCounterGeographicDivision--;
|
| return o;
|
| @@ -514,60 +514,60 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed435(o.alsoKnownAs);
|
| + checkUnnamed1045(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed436(o.officeIndices);
|
| + checkUnnamed1046(o.officeIndices);
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed437() {
|
| +buildUnnamed1047() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed437(core.List<core.String> o) {
|
| +checkUnnamed1047(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'));
|
| }
|
|
|
| -buildUnnamed438() {
|
| +buildUnnamed1048() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed438(core.List<core.int> o) {
|
| +checkUnnamed1048(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));
|
| }
|
|
|
| -buildUnnamed439() {
|
| +buildUnnamed1049() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed439(core.List<core.String> o) {
|
| +checkUnnamed1049(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'));
|
| }
|
|
|
| -buildUnnamed440() {
|
| +buildUnnamed1050() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed440(core.List<api.Source> o) {
|
| +checkUnnamed1050(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -579,11 +579,11 @@ buildOffice() {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| o.divisionId = "foo";
|
| - o.levels = buildUnnamed437();
|
| + o.levels = buildUnnamed1047();
|
| o.name = "foo";
|
| - o.officialIndices = buildUnnamed438();
|
| - o.roles = buildUnnamed439();
|
| - o.sources = buildUnnamed440();
|
| + o.officialIndices = buildUnnamed1048();
|
| + o.roles = buildUnnamed1049();
|
| + o.sources = buildUnnamed1050();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -593,75 +593,75 @@ checkOffice(api.Office o) {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| - checkUnnamed437(o.levels);
|
| + checkUnnamed1047(o.levels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed438(o.officialIndices);
|
| - checkUnnamed439(o.roles);
|
| - checkUnnamed440(o.sources);
|
| + checkUnnamed1048(o.officialIndices);
|
| + checkUnnamed1049(o.roles);
|
| + checkUnnamed1050(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed441() {
|
| +buildUnnamed1051() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed441(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed1051(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed442() {
|
| +buildUnnamed1052() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed442(core.List<api.Channel> o) {
|
| +checkUnnamed1052(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed443() {
|
| +buildUnnamed1053() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed443(core.List<core.String> o) {
|
| +checkUnnamed1053(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'));
|
| }
|
|
|
| -buildUnnamed444() {
|
| +buildUnnamed1054() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed444(core.List<core.String> o) {
|
| +checkUnnamed1054(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'));
|
| }
|
|
|
| -buildUnnamed445() {
|
| +buildUnnamed1055() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed445(core.List<core.String> o) {
|
| +checkUnnamed1055(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'));
|
| @@ -672,14 +672,14 @@ buildOfficial() {
|
| var o = new api.Official();
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - o.address = buildUnnamed441();
|
| - o.channels = buildUnnamed442();
|
| - o.emails = buildUnnamed443();
|
| + o.address = buildUnnamed1051();
|
| + o.channels = buildUnnamed1052();
|
| + o.emails = buildUnnamed1053();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed444();
|
| + o.phones = buildUnnamed1054();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed445();
|
| + o.urls = buildUnnamed1055();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -688,26 +688,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed441(o.address);
|
| - checkUnnamed442(o.channels);
|
| - checkUnnamed443(o.emails);
|
| + checkUnnamed1051(o.address);
|
| + checkUnnamed1052(o.channels);
|
| + checkUnnamed1053(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed444(o.phones);
|
| + checkUnnamed1054(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed445(o.urls);
|
| + checkUnnamed1055(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed446() {
|
| +buildUnnamed1056() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed446(core.List<api.Source> o) {
|
| +checkUnnamed1056(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -724,7 +724,7 @@ buildPollingLocation() {
|
| o.name = "foo";
|
| o.notes = "foo";
|
| o.pollingHours = "foo";
|
| - o.sources = buildUnnamed446();
|
| + o.sources = buildUnnamed1056();
|
| o.startDate = "foo";
|
| o.voterServices = "foo";
|
| }
|
| @@ -741,47 +741,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'));
|
| - checkUnnamed446(o.sources);
|
| + checkUnnamed1056(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| buildCounterPollingLocation--;
|
| }
|
|
|
| -buildUnnamed447() {
|
| +buildUnnamed1057() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed447(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed1057(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed448() {
|
| +buildUnnamed1058() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed448(core.List<api.Office> o) {
|
| +checkUnnamed1058(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed449() {
|
| +buildUnnamed1059() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed449(core.List<api.Official> o) {
|
| +checkUnnamed1059(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -792,9 +792,9 @@ buildRepresentativeInfoData() {
|
| var o = new api.RepresentativeInfoData();
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - o.divisions = buildUnnamed447();
|
| - o.offices = buildUnnamed448();
|
| - o.officials = buildUnnamed449();
|
| + o.divisions = buildUnnamed1057();
|
| + o.offices = buildUnnamed1058();
|
| + o.officials = buildUnnamed1059();
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| return o;
|
| @@ -803,47 +803,47 @@ buildRepresentativeInfoData() {
|
| checkRepresentativeInfoData(api.RepresentativeInfoData o) {
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - checkUnnamed447(o.divisions);
|
| - checkUnnamed448(o.offices);
|
| - checkUnnamed449(o.officials);
|
| + checkUnnamed1057(o.divisions);
|
| + checkUnnamed1058(o.offices);
|
| + checkUnnamed1059(o.officials);
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| }
|
|
|
| -buildUnnamed450() {
|
| +buildUnnamed1060() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed450(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed1060(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed451() {
|
| +buildUnnamed1061() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed451(core.List<api.Office> o) {
|
| +checkUnnamed1061(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed452() {
|
| +buildUnnamed1062() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed452(core.List<api.Official> o) {
|
| +checkUnnamed1062(core.List<api.Official> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOfficial(o[0]);
|
| checkOfficial(o[1]);
|
| @@ -854,11 +854,11 @@ buildRepresentativeInfoResponse() {
|
| var o = new api.RepresentativeInfoResponse();
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - o.divisions = buildUnnamed450();
|
| + o.divisions = buildUnnamed1060();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed451();
|
| - o.officials = buildUnnamed452();
|
| + o.offices = buildUnnamed1061();
|
| + o.officials = buildUnnamed1062();
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| return o;
|
| @@ -867,11 +867,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed450(o.divisions);
|
| + checkUnnamed1060(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed451(o.offices);
|
| - checkUnnamed452(o.officials);
|
| + checkUnnamed1061(o.offices);
|
| + checkUnnamed1062(o.officials);
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| }
|
| @@ -928,79 +928,79 @@ checkSource(api.Source o) {
|
| buildCounterSource--;
|
| }
|
|
|
| -buildUnnamed453() {
|
| +buildUnnamed1063() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed453(core.List<api.Contest> o) {
|
| +checkUnnamed1063(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed454() {
|
| +buildUnnamed1064() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed454(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1064(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed455() {
|
| +buildUnnamed1065() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed455(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1065(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed456() {
|
| +buildUnnamed1066() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed456(core.List<api.Election> o) {
|
| +checkUnnamed1066(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| }
|
|
|
| -buildUnnamed457() {
|
| +buildUnnamed1067() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed457(core.List<api.PollingLocation> o) {
|
| +checkUnnamed1067(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed458() {
|
| +buildUnnamed1068() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed458(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed1068(core.List<api.AdministrationRegion> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdministrationRegion(o[0]);
|
| checkAdministrationRegion(o[1]);
|
| @@ -1011,16 +1011,16 @@ buildVoterInfoResponse() {
|
| var o = new api.VoterInfoResponse();
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - o.contests = buildUnnamed453();
|
| - o.dropOffLocations = buildUnnamed454();
|
| - o.earlyVoteSites = buildUnnamed455();
|
| + o.contests = buildUnnamed1063();
|
| + o.dropOffLocations = buildUnnamed1064();
|
| + o.earlyVoteSites = buildUnnamed1065();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.otherElections = buildUnnamed456();
|
| - o.pollingLocations = buildUnnamed457();
|
| + o.otherElections = buildUnnamed1066();
|
| + o.pollingLocations = buildUnnamed1067();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed458();
|
| + o.state = buildUnnamed1068();
|
| }
|
| buildCounterVoterInfoResponse--;
|
| return o;
|
| @@ -1029,67 +1029,67 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed453(o.contests);
|
| - checkUnnamed454(o.dropOffLocations);
|
| - checkUnnamed455(o.earlyVoteSites);
|
| + checkUnnamed1063(o.contests);
|
| + checkUnnamed1064(o.dropOffLocations);
|
| + checkUnnamed1065(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed456(o.otherElections);
|
| - checkUnnamed457(o.pollingLocations);
|
| + checkUnnamed1066(o.otherElections);
|
| + checkUnnamed1067(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed458(o.state);
|
| + checkUnnamed1068(o.state);
|
| }
|
| buildCounterVoterInfoResponse--;
|
| }
|
|
|
| -buildUnnamed459() {
|
| +buildUnnamed1069() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed459(core.List<core.String> o) {
|
| +checkUnnamed1069(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'));
|
| }
|
|
|
| -buildUnnamed460() {
|
| +buildUnnamed1070() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed460(core.List<core.String> o) {
|
| +checkUnnamed1070(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'));
|
| }
|
|
|
| -buildUnnamed461() {
|
| +buildUnnamed1071() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed461(core.List<core.String> o) {
|
| +checkUnnamed1071(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'));
|
| }
|
|
|
| -buildUnnamed462() {
|
| +buildUnnamed1072() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed462(core.List<core.String> o) {
|
| +checkUnnamed1072(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'));
|
| @@ -1435,8 +1435,8 @@ main() {
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_address = "foo";
|
| var arg_includeOffices = true;
|
| - var arg_levels = buildUnnamed459();
|
| - var arg_roles = buildUnnamed460();
|
| + var arg_levels = buildUnnamed1069();
|
| + var arg_roles = buildUnnamed1070();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1487,9 +1487,9 @@ main() {
|
| var mock = new common_test.HttpServerMock();
|
| api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
|
| var arg_ocdId = "foo";
|
| - var arg_levels = buildUnnamed461();
|
| + var arg_levels = buildUnnamed1071();
|
| var arg_recursive = true;
|
| - var arg_roles = buildUnnamed462();
|
| + var arg_roles = buildUnnamed1072();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|