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