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 fc2ce77b038502719e1e3365ee8a84957af810e9..735c213f45de4306d0f9566ba6f432c9f407eaab 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; |
-buildUnnamed182() { |
+buildUnnamed981() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed182(core.List<api.Source> o) { |
+checkUnnamed981(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 = buildUnnamed182(); |
+ o.sources = buildUnnamed981(); |
} |
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')); |
- checkUnnamed182(o.sources); |
+ checkUnnamed981(o.sources); |
} |
buildCounterAdministrationRegion--; |
} |
-buildUnnamed183() { |
+buildUnnamed982() { |
var o = new core.List<api.ElectionOfficial>(); |
o.add(buildElectionOfficial()); |
o.add(buildElectionOfficial()); |
return o; |
} |
-checkUnnamed183(core.List<api.ElectionOfficial> o) { |
+checkUnnamed982(core.List<api.ElectionOfficial> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkElectionOfficial(o[0]); |
checkElectionOfficial(o[1]); |
} |
-buildUnnamed184() { |
+buildUnnamed983() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed184(core.List<core.String> o) { |
+checkUnnamed983(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 = buildUnnamed183(); |
+ o.electionOfficials = buildUnnamed982(); |
o.electionRegistrationConfirmationUrl = "foo"; |
o.electionRegistrationUrl = "foo"; |
o.electionRulesUrl = "foo"; |
o.hoursOfOperation = "foo"; |
o.name = "foo"; |
o.physicalAddress = buildSimpleAddressType(); |
- o.voterServices = buildUnnamed184(); |
+ o.voterServices = buildUnnamed983(); |
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')); |
- checkUnnamed183(o.electionOfficials); |
+ checkUnnamed982(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); |
- checkUnnamed184(o.voterServices); |
+ checkUnnamed983(o.voterServices); |
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); |
} |
buildCounterAdministrativeBody--; |
} |
-buildUnnamed185() { |
+buildUnnamed984() { |
var o = new core.List<api.Channel>(); |
o.add(buildChannel()); |
o.add(buildChannel()); |
return o; |
} |
-checkUnnamed185(core.List<api.Channel> o) { |
+checkUnnamed984(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 = buildUnnamed185(); |
+ o.channels = buildUnnamed984(); |
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')); |
- checkUnnamed185(o.channels); |
+ checkUnnamed984(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--; |
} |
-buildUnnamed186() { |
+buildUnnamed985() { |
var o = new core.List<api.Candidate>(); |
o.add(buildCandidate()); |
o.add(buildCandidate()); |
return o; |
} |
-checkUnnamed186(core.List<api.Candidate> o) { |
+checkUnnamed985(core.List<api.Candidate> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCandidate(o[0]); |
checkCandidate(o[1]); |
} |
-buildUnnamed187() { |
+buildUnnamed986() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed187(core.List<core.String> o) { |
+checkUnnamed986(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')); |
} |
-buildUnnamed188() { |
+buildUnnamed987() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed188(core.List<core.String> o) { |
+checkUnnamed987(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')); |
} |
-buildUnnamed189() { |
+buildUnnamed988() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed189(core.List<api.Source> o) { |
+checkUnnamed988(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 = buildUnnamed186(); |
+ o.candidates = buildUnnamed985(); |
o.district = buildElectoralDistrict(); |
o.electorateSpecifications = "foo"; |
o.id = "foo"; |
- o.level = buildUnnamed187(); |
+ o.level = buildUnnamed986(); |
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 = buildUnnamed188(); |
- o.sources = buildUnnamed189(); |
+ o.roles = buildUnnamed987(); |
+ o.sources = buildUnnamed988(); |
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')); |
- checkUnnamed186(o.candidates); |
+ checkUnnamed985(o.candidates); |
checkElectoralDistrict(o.district); |
unittest.expect(o.electorateSpecifications, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
- checkUnnamed187(o.level); |
+ checkUnnamed986(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')); |
- checkUnnamed188(o.roles); |
- checkUnnamed189(o.sources); |
+ checkUnnamed987(o.roles); |
+ checkUnnamed988(o.sources); |
unittest.expect(o.special, unittest.equals('foo')); |
unittest.expect(o.type, unittest.equals('foo')); |
} |
buildCounterContest--; |
} |
-buildUnnamed190() { |
+buildUnnamed989() { |
var o = new core.List<api.DivisionSearchResult>(); |
o.add(buildDivisionSearchResult()); |
o.add(buildDivisionSearchResult()); |
return o; |
} |
-checkUnnamed190(core.List<api.DivisionSearchResult> o) { |
+checkUnnamed989(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 = buildUnnamed190(); |
+ o.results = buildUnnamed989(); |
} |
buildCounterDivisionSearchResponse--; |
return o; |
@@ -324,19 +324,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) { |
buildCounterDivisionSearchResponse++; |
if (buildCounterDivisionSearchResponse < 3) { |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed190(o.results); |
+ checkUnnamed989(o.results); |
} |
buildCounterDivisionSearchResponse--; |
} |
-buildUnnamed191() { |
+buildUnnamed990() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed191(core.List<core.String> o) { |
+checkUnnamed990(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 = buildUnnamed191(); |
+ o.aliases = buildUnnamed990(); |
o.name = "foo"; |
o.ocdId = "foo"; |
} |
@@ -358,7 +358,7 @@ buildDivisionSearchResult() { |
checkDivisionSearchResult(api.DivisionSearchResult o) { |
buildCounterDivisionSearchResult++; |
if (buildCounterDivisionSearchResult < 3) { |
- checkUnnamed191(o.aliases); |
+ checkUnnamed990(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--; |
} |
-buildUnnamed192() { |
+buildUnnamed991() { |
var o = new core.List<api.Election>(); |
o.add(buildElection()); |
o.add(buildElection()); |
return o; |
} |
-checkUnnamed192(core.List<api.Election> o) { |
+checkUnnamed991(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 = buildUnnamed192(); |
+ o.elections = buildUnnamed991(); |
o.kind = "foo"; |
} |
buildCounterElectionsQueryResponse--; |
@@ -443,7 +443,7 @@ buildElectionsQueryResponse() { |
checkElectionsQueryResponse(api.ElectionsQueryResponse o) { |
buildCounterElectionsQueryResponse++; |
if (buildCounterElectionsQueryResponse < 3) { |
- checkUnnamed192(o.elections); |
+ checkUnnamed991(o.elections); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterElectionsQueryResponse--; |
@@ -472,27 +472,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) { |
buildCounterElectoralDistrict--; |
} |
-buildUnnamed193() { |
+buildUnnamed992() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed193(core.List<core.String> o) { |
+checkUnnamed992(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')); |
} |
-buildUnnamed194() { |
+buildUnnamed993() { |
var o = new core.List<core.int>(); |
o.add(42); |
o.add(42); |
return o; |
} |
-checkUnnamed194(core.List<core.int> o) { |
+checkUnnamed993(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 = buildUnnamed193(); |
+ o.alsoKnownAs = buildUnnamed992(); |
o.name = "foo"; |
- o.officeIndices = buildUnnamed194(); |
+ o.officeIndices = buildUnnamed993(); |
} |
buildCounterGeographicDivision--; |
return o; |
@@ -514,60 +514,60 @@ buildGeographicDivision() { |
checkGeographicDivision(api.GeographicDivision o) { |
buildCounterGeographicDivision++; |
if (buildCounterGeographicDivision < 3) { |
- checkUnnamed193(o.alsoKnownAs); |
+ checkUnnamed992(o.alsoKnownAs); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed194(o.officeIndices); |
+ checkUnnamed993(o.officeIndices); |
} |
buildCounterGeographicDivision--; |
} |
-buildUnnamed195() { |
+buildUnnamed994() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed195(core.List<core.String> o) { |
+checkUnnamed994(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')); |
} |
-buildUnnamed196() { |
+buildUnnamed995() { |
var o = new core.List<core.int>(); |
o.add(42); |
o.add(42); |
return o; |
} |
-checkUnnamed196(core.List<core.int> o) { |
+checkUnnamed995(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)); |
} |
-buildUnnamed197() { |
+buildUnnamed996() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed197(core.List<core.String> o) { |
+checkUnnamed996(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')); |
} |
-buildUnnamed198() { |
+buildUnnamed997() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed198(core.List<api.Source> o) { |
+checkUnnamed997(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 = buildUnnamed195(); |
+ o.levels = buildUnnamed994(); |
o.name = "foo"; |
- o.officialIndices = buildUnnamed196(); |
- o.roles = buildUnnamed197(); |
- o.sources = buildUnnamed198(); |
+ o.officialIndices = buildUnnamed995(); |
+ o.roles = buildUnnamed996(); |
+ o.sources = buildUnnamed997(); |
} |
buildCounterOffice--; |
return o; |
@@ -593,75 +593,75 @@ checkOffice(api.Office o) { |
buildCounterOffice++; |
if (buildCounterOffice < 3) { |
unittest.expect(o.divisionId, unittest.equals('foo')); |
- checkUnnamed195(o.levels); |
+ checkUnnamed994(o.levels); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed196(o.officialIndices); |
- checkUnnamed197(o.roles); |
- checkUnnamed198(o.sources); |
+ checkUnnamed995(o.officialIndices); |
+ checkUnnamed996(o.roles); |
+ checkUnnamed997(o.sources); |
} |
buildCounterOffice--; |
} |
-buildUnnamed199() { |
+buildUnnamed998() { |
var o = new core.List<api.SimpleAddressType>(); |
o.add(buildSimpleAddressType()); |
o.add(buildSimpleAddressType()); |
return o; |
} |
-checkUnnamed199(core.List<api.SimpleAddressType> o) { |
+checkUnnamed998(core.List<api.SimpleAddressType> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSimpleAddressType(o[0]); |
checkSimpleAddressType(o[1]); |
} |
-buildUnnamed200() { |
+buildUnnamed999() { |
var o = new core.List<api.Channel>(); |
o.add(buildChannel()); |
o.add(buildChannel()); |
return o; |
} |
-checkUnnamed200(core.List<api.Channel> o) { |
+checkUnnamed999(core.List<api.Channel> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChannel(o[0]); |
checkChannel(o[1]); |
} |
-buildUnnamed201() { |
+buildUnnamed1000() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed201(core.List<core.String> o) { |
+checkUnnamed1000(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')); |
} |
-buildUnnamed202() { |
+buildUnnamed1001() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed202(core.List<core.String> o) { |
+checkUnnamed1001(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')); |
} |
-buildUnnamed203() { |
+buildUnnamed1002() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed203(core.List<core.String> o) { |
+checkUnnamed1002(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 = buildUnnamed199(); |
- o.channels = buildUnnamed200(); |
- o.emails = buildUnnamed201(); |
+ o.address = buildUnnamed998(); |
+ o.channels = buildUnnamed999(); |
+ o.emails = buildUnnamed1000(); |
o.name = "foo"; |
o.party = "foo"; |
- o.phones = buildUnnamed202(); |
+ o.phones = buildUnnamed1001(); |
o.photoUrl = "foo"; |
- o.urls = buildUnnamed203(); |
+ o.urls = buildUnnamed1002(); |
} |
buildCounterOfficial--; |
return o; |
@@ -688,26 +688,26 @@ buildOfficial() { |
checkOfficial(api.Official o) { |
buildCounterOfficial++; |
if (buildCounterOfficial < 3) { |
- checkUnnamed199(o.address); |
- checkUnnamed200(o.channels); |
- checkUnnamed201(o.emails); |
+ checkUnnamed998(o.address); |
+ checkUnnamed999(o.channels); |
+ checkUnnamed1000(o.emails); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.party, unittest.equals('foo')); |
- checkUnnamed202(o.phones); |
+ checkUnnamed1001(o.phones); |
unittest.expect(o.photoUrl, unittest.equals('foo')); |
- checkUnnamed203(o.urls); |
+ checkUnnamed1002(o.urls); |
} |
buildCounterOfficial--; |
} |
-buildUnnamed204() { |
+buildUnnamed1003() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed204(core.List<api.Source> o) { |
+checkUnnamed1003(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 = buildUnnamed204(); |
+ o.sources = buildUnnamed1003(); |
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')); |
- checkUnnamed204(o.sources); |
+ checkUnnamed1003(o.sources); |
unittest.expect(o.startDate, unittest.equals('foo')); |
unittest.expect(o.voterServices, unittest.equals('foo')); |
} |
buildCounterPollingLocation--; |
} |
-buildUnnamed205() { |
+buildUnnamed1004() { |
var o = new core.Map<core.String, api.GeographicDivision>(); |
o["x"] = buildGeographicDivision(); |
o["y"] = buildGeographicDivision(); |
return o; |
} |
-checkUnnamed205(core.Map<core.String, api.GeographicDivision> o) { |
+checkUnnamed1004(core.Map<core.String, api.GeographicDivision> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGeographicDivision(o["x"]); |
checkGeographicDivision(o["y"]); |
} |
-buildUnnamed206() { |
+buildUnnamed1005() { |
var o = new core.List<api.Office>(); |
o.add(buildOffice()); |
o.add(buildOffice()); |
return o; |
} |
-checkUnnamed206(core.List<api.Office> o) { |
+checkUnnamed1005(core.List<api.Office> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOffice(o[0]); |
checkOffice(o[1]); |
} |
-buildUnnamed207() { |
+buildUnnamed1006() { |
var o = new core.List<api.Official>(); |
o.add(buildOfficial()); |
o.add(buildOfficial()); |
return o; |
} |
-checkUnnamed207(core.List<api.Official> o) { |
+checkUnnamed1006(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 = buildUnnamed205(); |
- o.offices = buildUnnamed206(); |
- o.officials = buildUnnamed207(); |
+ o.divisions = buildUnnamed1004(); |
+ o.offices = buildUnnamed1005(); |
+ o.officials = buildUnnamed1006(); |
} |
buildCounterRepresentativeInfoData--; |
return o; |
@@ -803,47 +803,47 @@ buildRepresentativeInfoData() { |
checkRepresentativeInfoData(api.RepresentativeInfoData o) { |
buildCounterRepresentativeInfoData++; |
if (buildCounterRepresentativeInfoData < 3) { |
- checkUnnamed205(o.divisions); |
- checkUnnamed206(o.offices); |
- checkUnnamed207(o.officials); |
+ checkUnnamed1004(o.divisions); |
+ checkUnnamed1005(o.offices); |
+ checkUnnamed1006(o.officials); |
} |
buildCounterRepresentativeInfoData--; |
} |
-buildUnnamed208() { |
+buildUnnamed1007() { |
var o = new core.Map<core.String, api.GeographicDivision>(); |
o["x"] = buildGeographicDivision(); |
o["y"] = buildGeographicDivision(); |
return o; |
} |
-checkUnnamed208(core.Map<core.String, api.GeographicDivision> o) { |
+checkUnnamed1007(core.Map<core.String, api.GeographicDivision> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGeographicDivision(o["x"]); |
checkGeographicDivision(o["y"]); |
} |
-buildUnnamed209() { |
+buildUnnamed1008() { |
var o = new core.List<api.Office>(); |
o.add(buildOffice()); |
o.add(buildOffice()); |
return o; |
} |
-checkUnnamed209(core.List<api.Office> o) { |
+checkUnnamed1008(core.List<api.Office> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOffice(o[0]); |
checkOffice(o[1]); |
} |
-buildUnnamed210() { |
+buildUnnamed1009() { |
var o = new core.List<api.Official>(); |
o.add(buildOfficial()); |
o.add(buildOfficial()); |
return o; |
} |
-checkUnnamed210(core.List<api.Official> o) { |
+checkUnnamed1009(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 = buildUnnamed208(); |
+ o.divisions = buildUnnamed1007(); |
o.kind = "foo"; |
o.normalizedInput = buildSimpleAddressType(); |
- o.offices = buildUnnamed209(); |
- o.officials = buildUnnamed210(); |
+ o.offices = buildUnnamed1008(); |
+ o.officials = buildUnnamed1009(); |
} |
buildCounterRepresentativeInfoResponse--; |
return o; |
@@ -867,11 +867,11 @@ buildRepresentativeInfoResponse() { |
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { |
buildCounterRepresentativeInfoResponse++; |
if (buildCounterRepresentativeInfoResponse < 3) { |
- checkUnnamed208(o.divisions); |
+ checkUnnamed1007(o.divisions); |
unittest.expect(o.kind, unittest.equals('foo')); |
checkSimpleAddressType(o.normalizedInput); |
- checkUnnamed209(o.offices); |
- checkUnnamed210(o.officials); |
+ checkUnnamed1008(o.offices); |
+ checkUnnamed1009(o.officials); |
} |
buildCounterRepresentativeInfoResponse--; |
} |
@@ -928,66 +928,66 @@ checkSource(api.Source o) { |
buildCounterSource--; |
} |
-buildUnnamed211() { |
+buildUnnamed1010() { |
var o = new core.List<api.Contest>(); |
o.add(buildContest()); |
o.add(buildContest()); |
return o; |
} |
-checkUnnamed211(core.List<api.Contest> o) { |
+checkUnnamed1010(core.List<api.Contest> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkContest(o[0]); |
checkContest(o[1]); |
} |
-buildUnnamed212() { |
+buildUnnamed1011() { |
var o = new core.List<api.PollingLocation>(); |
o.add(buildPollingLocation()); |
o.add(buildPollingLocation()); |
return o; |
} |
-checkUnnamed212(core.List<api.PollingLocation> o) { |
+checkUnnamed1011(core.List<api.PollingLocation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPollingLocation(o[0]); |
checkPollingLocation(o[1]); |
} |
-buildUnnamed213() { |
+buildUnnamed1012() { |
var o = new core.List<api.Election>(); |
o.add(buildElection()); |
o.add(buildElection()); |
return o; |
} |
-checkUnnamed213(core.List<api.Election> o) { |
+checkUnnamed1012(core.List<api.Election> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkElection(o[0]); |
checkElection(o[1]); |
} |
-buildUnnamed214() { |
+buildUnnamed1013() { |
var o = new core.List<api.PollingLocation>(); |
o.add(buildPollingLocation()); |
o.add(buildPollingLocation()); |
return o; |
} |
-checkUnnamed214(core.List<api.PollingLocation> o) { |
+checkUnnamed1013(core.List<api.PollingLocation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPollingLocation(o[0]); |
checkPollingLocation(o[1]); |
} |
-buildUnnamed215() { |
+buildUnnamed1014() { |
var o = new core.List<api.AdministrationRegion>(); |
o.add(buildAdministrationRegion()); |
o.add(buildAdministrationRegion()); |
return o; |
} |
-checkUnnamed215(core.List<api.AdministrationRegion> o) { |
+checkUnnamed1014(core.List<api.AdministrationRegion> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAdministrationRegion(o[0]); |
checkAdministrationRegion(o[1]); |
@@ -998,15 +998,15 @@ buildVoterInfoResponse() { |
var o = new api.VoterInfoResponse(); |
buildCounterVoterInfoResponse++; |
if (buildCounterVoterInfoResponse < 3) { |
- o.contests = buildUnnamed211(); |
- o.earlyVoteSites = buildUnnamed212(); |
+ o.contests = buildUnnamed1010(); |
+ o.earlyVoteSites = buildUnnamed1011(); |
o.election = buildElection(); |
o.kind = "foo"; |
o.normalizedInput = buildSimpleAddressType(); |
- o.otherElections = buildUnnamed213(); |
- o.pollingLocations = buildUnnamed214(); |
+ o.otherElections = buildUnnamed1012(); |
+ o.pollingLocations = buildUnnamed1013(); |
o.precinctId = "foo"; |
- o.state = buildUnnamed215(); |
+ o.state = buildUnnamed1014(); |
} |
buildCounterVoterInfoResponse--; |
return o; |
@@ -1015,66 +1015,66 @@ buildVoterInfoResponse() { |
checkVoterInfoResponse(api.VoterInfoResponse o) { |
buildCounterVoterInfoResponse++; |
if (buildCounterVoterInfoResponse < 3) { |
- checkUnnamed211(o.contests); |
- checkUnnamed212(o.earlyVoteSites); |
+ checkUnnamed1010(o.contests); |
+ checkUnnamed1011(o.earlyVoteSites); |
checkElection(o.election); |
unittest.expect(o.kind, unittest.equals('foo')); |
checkSimpleAddressType(o.normalizedInput); |
- checkUnnamed213(o.otherElections); |
- checkUnnamed214(o.pollingLocations); |
+ checkUnnamed1012(o.otherElections); |
+ checkUnnamed1013(o.pollingLocations); |
unittest.expect(o.precinctId, unittest.equals('foo')); |
- checkUnnamed215(o.state); |
+ checkUnnamed1014(o.state); |
} |
buildCounterVoterInfoResponse--; |
} |
-buildUnnamed216() { |
+buildUnnamed1015() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed216(core.List<core.String> o) { |
+checkUnnamed1015(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')); |
} |
-buildUnnamed217() { |
+buildUnnamed1016() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed217(core.List<core.String> o) { |
+checkUnnamed1016(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')); |
} |
-buildUnnamed218() { |
+buildUnnamed1017() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed218(core.List<core.String> o) { |
+checkUnnamed1017(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')); |
} |
-buildUnnamed219() { |
+buildUnnamed1018() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed219(core.List<core.String> o) { |
+checkUnnamed1018(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')); |
@@ -1420,8 +1420,8 @@ main() { |
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives; |
var arg_address = "foo"; |
var arg_includeOffices = true; |
- var arg_levels = buildUnnamed216(); |
- var arg_roles = buildUnnamed217(); |
+ var arg_levels = buildUnnamed1015(); |
+ var arg_roles = buildUnnamed1016(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -1472,9 +1472,9 @@ main() { |
var mock = new common_test.HttpServerMock(); |
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives; |
var arg_ocdId = "foo"; |
- var arg_levels = buildUnnamed218(); |
+ var arg_levels = buildUnnamed1017(); |
var arg_recursive = true; |
- var arg_roles = buildUnnamed219(); |
+ var arg_roles = buildUnnamed1018(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |