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 f691544ad700abb2a058cde8401f504511ab2b6a..c9b2115ba883cdf412227341f0672644fe89610d 100644 |
--- a/generated/googleapis/test/civicinfo/v2_test.dart |
+++ b/generated/googleapis/test/civicinfo/v2_test.dart |
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse( |
return new http.StreamedResponse(stream, status, headers: headers); |
} |
-buildUnnamed2555() { |
+buildUnnamed2379() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed2555(core.List<api.Source> o) { |
+checkUnnamed2379(core.List<api.Source> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSource(o[0]); |
checkSource(o[1]); |
@@ -73,7 +73,7 @@ buildAdministrationRegion() { |
o.id = "foo"; |
o.localJurisdiction = buildAdministrationRegion(); |
o.name = "foo"; |
- o.sources = buildUnnamed2555(); |
+ o.sources = buildUnnamed2379(); |
} |
buildCounterAdministrationRegion--; |
return o; |
@@ -86,45 +86,45 @@ checkAdministrationRegion(api.AdministrationRegion o) { |
unittest.expect(o.id, unittest.equals('foo')); |
checkAdministrationRegion(o.localJurisdiction); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed2555(o.sources); |
+ checkUnnamed2379(o.sources); |
} |
buildCounterAdministrationRegion--; |
} |
-buildUnnamed2556() { |
+buildUnnamed2380() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2556(core.List<core.String> o) { |
+checkUnnamed2380(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')); |
} |
-buildUnnamed2557() { |
+buildUnnamed2381() { |
var o = new core.List<api.ElectionOfficial>(); |
o.add(buildElectionOfficial()); |
o.add(buildElectionOfficial()); |
return o; |
} |
-checkUnnamed2557(core.List<api.ElectionOfficial> o) { |
+checkUnnamed2381(core.List<api.ElectionOfficial> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkElectionOfficial(o[0]); |
checkElectionOfficial(o[1]); |
} |
-buildUnnamed2558() { |
+buildUnnamed2382() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2558(core.List<core.String> o) { |
+checkUnnamed2382(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -136,18 +136,18 @@ buildAdministrativeBody() { |
buildCounterAdministrativeBody++; |
if (buildCounterAdministrativeBody < 3) { |
o.absenteeVotingInfoUrl = "foo"; |
- o.addressLines = buildUnnamed2556(); |
+ o.addressLines = buildUnnamed2380(); |
o.ballotInfoUrl = "foo"; |
o.correspondenceAddress = buildSimpleAddressType(); |
o.electionInfoUrl = "foo"; |
- o.electionOfficials = buildUnnamed2557(); |
+ o.electionOfficials = buildUnnamed2381(); |
o.electionRegistrationConfirmationUrl = "foo"; |
o.electionRegistrationUrl = "foo"; |
o.electionRulesUrl = "foo"; |
o.hoursOfOperation = "foo"; |
o.name = "foo"; |
o.physicalAddress = buildSimpleAddressType(); |
- o.voterServices = buildUnnamed2558(); |
+ o.voterServices = buildUnnamed2382(); |
o.votingLocationFinderUrl = "foo"; |
} |
buildCounterAdministrativeBody--; |
@@ -158,31 +158,31 @@ checkAdministrativeBody(api.AdministrativeBody o) { |
buildCounterAdministrativeBody++; |
if (buildCounterAdministrativeBody < 3) { |
unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo')); |
- checkUnnamed2556(o.addressLines); |
+ checkUnnamed2380(o.addressLines); |
unittest.expect(o.ballotInfoUrl, unittest.equals('foo')); |
checkSimpleAddressType(o.correspondenceAddress); |
unittest.expect(o.electionInfoUrl, unittest.equals('foo')); |
- checkUnnamed2557(o.electionOfficials); |
+ checkUnnamed2381(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); |
- checkUnnamed2558(o.voterServices); |
+ checkUnnamed2382(o.voterServices); |
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); |
} |
buildCounterAdministrativeBody--; |
} |
-buildUnnamed2559() { |
+buildUnnamed2383() { |
var o = new core.List<api.Channel>(); |
o.add(buildChannel()); |
o.add(buildChannel()); |
return o; |
} |
-checkUnnamed2559(core.List<api.Channel> o) { |
+checkUnnamed2383(core.List<api.Channel> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChannel(o[0]); |
checkChannel(o[1]); |
@@ -194,7 +194,7 @@ buildCandidate() { |
buildCounterCandidate++; |
if (buildCounterCandidate < 3) { |
o.candidateUrl = "foo"; |
- o.channels = buildUnnamed2559(); |
+ o.channels = buildUnnamed2383(); |
o.email = "foo"; |
o.name = "foo"; |
o.orderOnBallot = "foo"; |
@@ -210,7 +210,7 @@ checkCandidate(api.Candidate o) { |
buildCounterCandidate++; |
if (buildCounterCandidate < 3) { |
unittest.expect(o.candidateUrl, unittest.equals('foo')); |
- checkUnnamed2559(o.channels); |
+ checkUnnamed2383(o.channels); |
unittest.expect(o.email, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.orderOnBallot, unittest.equals('foo')); |
@@ -242,66 +242,66 @@ checkChannel(api.Channel o) { |
buildCounterChannel--; |
} |
-buildUnnamed2560() { |
+buildUnnamed2384() { |
var o = new core.List<api.Candidate>(); |
o.add(buildCandidate()); |
o.add(buildCandidate()); |
return o; |
} |
-checkUnnamed2560(core.List<api.Candidate> o) { |
+checkUnnamed2384(core.List<api.Candidate> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCandidate(o[0]); |
checkCandidate(o[1]); |
} |
-buildUnnamed2561() { |
+buildUnnamed2385() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2561(core.List<core.String> o) { |
+checkUnnamed2385(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')); |
} |
-buildUnnamed2562() { |
+buildUnnamed2386() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2562(core.List<core.String> o) { |
+checkUnnamed2386(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')); |
} |
-buildUnnamed2563() { |
+buildUnnamed2387() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2563(core.List<core.String> o) { |
+checkUnnamed2387(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')); |
} |
-buildUnnamed2564() { |
+buildUnnamed2388() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed2564(core.List<api.Source> o) { |
+checkUnnamed2388(core.List<api.Source> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSource(o[0]); |
checkSource(o[1]); |
@@ -313,16 +313,16 @@ buildContest() { |
buildCounterContest++; |
if (buildCounterContest < 3) { |
o.ballotPlacement = "foo"; |
- o.candidates = buildUnnamed2560(); |
+ o.candidates = buildUnnamed2384(); |
o.district = buildElectoralDistrict(); |
o.electorateSpecifications = "foo"; |
o.id = "foo"; |
- o.level = buildUnnamed2561(); |
+ o.level = buildUnnamed2385(); |
o.numberElected = "foo"; |
o.numberVotingFor = "foo"; |
o.office = "foo"; |
o.primaryParty = "foo"; |
- o.referendumBallotResponses = buildUnnamed2562(); |
+ o.referendumBallotResponses = buildUnnamed2386(); |
o.referendumBrief = "foo"; |
o.referendumConStatement = "foo"; |
o.referendumEffectOfAbstain = "foo"; |
@@ -332,8 +332,8 @@ buildContest() { |
o.referendumText = "foo"; |
o.referendumTitle = "foo"; |
o.referendumUrl = "foo"; |
- o.roles = buildUnnamed2563(); |
- o.sources = buildUnnamed2564(); |
+ o.roles = buildUnnamed2387(); |
+ o.sources = buildUnnamed2388(); |
o.special = "foo"; |
o.type = "foo"; |
} |
@@ -345,16 +345,16 @@ checkContest(api.Contest o) { |
buildCounterContest++; |
if (buildCounterContest < 3) { |
unittest.expect(o.ballotPlacement, unittest.equals('foo')); |
- checkUnnamed2560(o.candidates); |
+ checkUnnamed2384(o.candidates); |
checkElectoralDistrict(o.district); |
unittest.expect(o.electorateSpecifications, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
- checkUnnamed2561(o.level); |
+ checkUnnamed2385(o.level); |
unittest.expect(o.numberElected, unittest.equals('foo')); |
unittest.expect(o.numberVotingFor, unittest.equals('foo')); |
unittest.expect(o.office, unittest.equals('foo')); |
unittest.expect(o.primaryParty, unittest.equals('foo')); |
- checkUnnamed2562(o.referendumBallotResponses); |
+ checkUnnamed2386(o.referendumBallotResponses); |
unittest.expect(o.referendumBrief, unittest.equals('foo')); |
unittest.expect(o.referendumConStatement, unittest.equals('foo')); |
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo')); |
@@ -364,8 +364,8 @@ checkContest(api.Contest o) { |
unittest.expect(o.referendumText, unittest.equals('foo')); |
unittest.expect(o.referendumTitle, unittest.equals('foo')); |
unittest.expect(o.referendumUrl, unittest.equals('foo')); |
- checkUnnamed2563(o.roles); |
- checkUnnamed2564(o.sources); |
+ checkUnnamed2387(o.roles); |
+ checkUnnamed2388(o.sources); |
unittest.expect(o.special, unittest.equals('foo')); |
unittest.expect(o.type, unittest.equals('foo')); |
} |
@@ -429,14 +429,14 @@ checkDivisionSearchRequest(api.DivisionSearchRequest o) { |
buildCounterDivisionSearchRequest--; |
} |
-buildUnnamed2565() { |
+buildUnnamed2389() { |
var o = new core.List<api.DivisionSearchResult>(); |
o.add(buildDivisionSearchResult()); |
o.add(buildDivisionSearchResult()); |
return o; |
} |
-checkUnnamed2565(core.List<api.DivisionSearchResult> o) { |
+checkUnnamed2389(core.List<api.DivisionSearchResult> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDivisionSearchResult(o[0]); |
checkDivisionSearchResult(o[1]); |
@@ -448,7 +448,7 @@ buildDivisionSearchResponse() { |
buildCounterDivisionSearchResponse++; |
if (buildCounterDivisionSearchResponse < 3) { |
o.kind = "foo"; |
- o.results = buildUnnamed2565(); |
+ o.results = buildUnnamed2389(); |
} |
buildCounterDivisionSearchResponse--; |
return o; |
@@ -458,19 +458,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) { |
buildCounterDivisionSearchResponse++; |
if (buildCounterDivisionSearchResponse < 3) { |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed2565(o.results); |
+ checkUnnamed2389(o.results); |
} |
buildCounterDivisionSearchResponse--; |
} |
-buildUnnamed2566() { |
+buildUnnamed2390() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2566(core.List<core.String> o) { |
+checkUnnamed2390(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -481,7 +481,7 @@ buildDivisionSearchResult() { |
var o = new api.DivisionSearchResult(); |
buildCounterDivisionSearchResult++; |
if (buildCounterDivisionSearchResult < 3) { |
- o.aliases = buildUnnamed2566(); |
+ o.aliases = buildUnnamed2390(); |
o.name = "foo"; |
o.ocdId = "foo"; |
} |
@@ -492,7 +492,7 @@ buildDivisionSearchResult() { |
checkDivisionSearchResult(api.DivisionSearchResult o) { |
buildCounterDivisionSearchResult++; |
if (buildCounterDivisionSearchResult < 3) { |
- checkUnnamed2566(o.aliases); |
+ checkUnnamed2390(o.aliases); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.ocdId, unittest.equals('foo')); |
} |
@@ -570,14 +570,14 @@ checkElectionsQueryRequest(api.ElectionsQueryRequest o) { |
buildCounterElectionsQueryRequest--; |
} |
-buildUnnamed2567() { |
+buildUnnamed2391() { |
var o = new core.List<api.Election>(); |
o.add(buildElection()); |
o.add(buildElection()); |
return o; |
} |
-checkUnnamed2567(core.List<api.Election> o) { |
+checkUnnamed2391(core.List<api.Election> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkElection(o[0]); |
checkElection(o[1]); |
@@ -588,7 +588,7 @@ buildElectionsQueryResponse() { |
var o = new api.ElectionsQueryResponse(); |
buildCounterElectionsQueryResponse++; |
if (buildCounterElectionsQueryResponse < 3) { |
- o.elections = buildUnnamed2567(); |
+ o.elections = buildUnnamed2391(); |
o.kind = "foo"; |
} |
buildCounterElectionsQueryResponse--; |
@@ -598,7 +598,7 @@ buildElectionsQueryResponse() { |
checkElectionsQueryResponse(api.ElectionsQueryResponse o) { |
buildCounterElectionsQueryResponse++; |
if (buildCounterElectionsQueryResponse < 3) { |
- checkUnnamed2567(o.elections); |
+ checkUnnamed2391(o.elections); |
unittest.expect(o.kind, unittest.equals('foo')); |
} |
buildCounterElectionsQueryResponse--; |
@@ -629,27 +629,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) { |
buildCounterElectoralDistrict--; |
} |
-buildUnnamed2568() { |
+buildUnnamed2392() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2568(core.List<core.String> o) { |
+checkUnnamed2392(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')); |
} |
-buildUnnamed2569() { |
+buildUnnamed2393() { |
var o = new core.List<core.int>(); |
o.add(42); |
o.add(42); |
return o; |
} |
-checkUnnamed2569(core.List<core.int> o) { |
+checkUnnamed2393(core.List<core.int> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals(42)); |
unittest.expect(o[1], unittest.equals(42)); |
@@ -660,9 +660,9 @@ buildGeographicDivision() { |
var o = new api.GeographicDivision(); |
buildCounterGeographicDivision++; |
if (buildCounterGeographicDivision < 3) { |
- o.alsoKnownAs = buildUnnamed2568(); |
+ o.alsoKnownAs = buildUnnamed2392(); |
o.name = "foo"; |
- o.officeIndices = buildUnnamed2569(); |
+ o.officeIndices = buildUnnamed2393(); |
} |
buildCounterGeographicDivision--; |
return o; |
@@ -671,60 +671,60 @@ buildGeographicDivision() { |
checkGeographicDivision(api.GeographicDivision o) { |
buildCounterGeographicDivision++; |
if (buildCounterGeographicDivision < 3) { |
- checkUnnamed2568(o.alsoKnownAs); |
+ checkUnnamed2392(o.alsoKnownAs); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed2569(o.officeIndices); |
+ checkUnnamed2393(o.officeIndices); |
} |
buildCounterGeographicDivision--; |
} |
-buildUnnamed2570() { |
+buildUnnamed2394() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2570(core.List<core.String> o) { |
+checkUnnamed2394(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')); |
} |
-buildUnnamed2571() { |
+buildUnnamed2395() { |
var o = new core.List<core.int>(); |
o.add(42); |
o.add(42); |
return o; |
} |
-checkUnnamed2571(core.List<core.int> o) { |
+checkUnnamed2395(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)); |
} |
-buildUnnamed2572() { |
+buildUnnamed2396() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2572(core.List<core.String> o) { |
+checkUnnamed2396(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')); |
} |
-buildUnnamed2573() { |
+buildUnnamed2397() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed2573(core.List<api.Source> o) { |
+checkUnnamed2397(core.List<api.Source> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSource(o[0]); |
checkSource(o[1]); |
@@ -736,11 +736,11 @@ buildOffice() { |
buildCounterOffice++; |
if (buildCounterOffice < 3) { |
o.divisionId = "foo"; |
- o.levels = buildUnnamed2570(); |
+ o.levels = buildUnnamed2394(); |
o.name = "foo"; |
- o.officialIndices = buildUnnamed2571(); |
- o.roles = buildUnnamed2572(); |
- o.sources = buildUnnamed2573(); |
+ o.officialIndices = buildUnnamed2395(); |
+ o.roles = buildUnnamed2396(); |
+ o.sources = buildUnnamed2397(); |
} |
buildCounterOffice--; |
return o; |
@@ -750,75 +750,75 @@ checkOffice(api.Office o) { |
buildCounterOffice++; |
if (buildCounterOffice < 3) { |
unittest.expect(o.divisionId, unittest.equals('foo')); |
- checkUnnamed2570(o.levels); |
+ checkUnnamed2394(o.levels); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed2571(o.officialIndices); |
- checkUnnamed2572(o.roles); |
- checkUnnamed2573(o.sources); |
+ checkUnnamed2395(o.officialIndices); |
+ checkUnnamed2396(o.roles); |
+ checkUnnamed2397(o.sources); |
} |
buildCounterOffice--; |
} |
-buildUnnamed2574() { |
+buildUnnamed2398() { |
var o = new core.List<api.SimpleAddressType>(); |
o.add(buildSimpleAddressType()); |
o.add(buildSimpleAddressType()); |
return o; |
} |
-checkUnnamed2574(core.List<api.SimpleAddressType> o) { |
+checkUnnamed2398(core.List<api.SimpleAddressType> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSimpleAddressType(o[0]); |
checkSimpleAddressType(o[1]); |
} |
-buildUnnamed2575() { |
+buildUnnamed2399() { |
var o = new core.List<api.Channel>(); |
o.add(buildChannel()); |
o.add(buildChannel()); |
return o; |
} |
-checkUnnamed2575(core.List<api.Channel> o) { |
+checkUnnamed2399(core.List<api.Channel> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChannel(o[0]); |
checkChannel(o[1]); |
} |
-buildUnnamed2576() { |
+buildUnnamed2400() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2576(core.List<core.String> o) { |
+checkUnnamed2400(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')); |
} |
-buildUnnamed2577() { |
+buildUnnamed2401() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2577(core.List<core.String> o) { |
+checkUnnamed2401(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')); |
} |
-buildUnnamed2578() { |
+buildUnnamed2402() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2578(core.List<core.String> o) { |
+checkUnnamed2402(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -829,14 +829,14 @@ buildOfficial() { |
var o = new api.Official(); |
buildCounterOfficial++; |
if (buildCounterOfficial < 3) { |
- o.address = buildUnnamed2574(); |
- o.channels = buildUnnamed2575(); |
- o.emails = buildUnnamed2576(); |
+ o.address = buildUnnamed2398(); |
+ o.channels = buildUnnamed2399(); |
+ o.emails = buildUnnamed2400(); |
o.name = "foo"; |
o.party = "foo"; |
- o.phones = buildUnnamed2577(); |
+ o.phones = buildUnnamed2401(); |
o.photoUrl = "foo"; |
- o.urls = buildUnnamed2578(); |
+ o.urls = buildUnnamed2402(); |
} |
buildCounterOfficial--; |
return o; |
@@ -845,26 +845,26 @@ buildOfficial() { |
checkOfficial(api.Official o) { |
buildCounterOfficial++; |
if (buildCounterOfficial < 3) { |
- checkUnnamed2574(o.address); |
- checkUnnamed2575(o.channels); |
- checkUnnamed2576(o.emails); |
+ checkUnnamed2398(o.address); |
+ checkUnnamed2399(o.channels); |
+ checkUnnamed2400(o.emails); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.party, unittest.equals('foo')); |
- checkUnnamed2577(o.phones); |
+ checkUnnamed2401(o.phones); |
unittest.expect(o.photoUrl, unittest.equals('foo')); |
- checkUnnamed2578(o.urls); |
+ checkUnnamed2402(o.urls); |
} |
buildCounterOfficial--; |
} |
-buildUnnamed2579() { |
+buildUnnamed2403() { |
var o = new core.List<api.Source>(); |
o.add(buildSource()); |
o.add(buildSource()); |
return o; |
} |
-checkUnnamed2579(core.List<api.Source> o) { |
+checkUnnamed2403(core.List<api.Source> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSource(o[0]); |
checkSource(o[1]); |
@@ -881,7 +881,7 @@ buildPollingLocation() { |
o.name = "foo"; |
o.notes = "foo"; |
o.pollingHours = "foo"; |
- o.sources = buildUnnamed2579(); |
+ o.sources = buildUnnamed2403(); |
o.startDate = "foo"; |
o.voterServices = "foo"; |
} |
@@ -898,21 +898,21 @@ checkPollingLocation(api.PollingLocation o) { |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.notes, unittest.equals('foo')); |
unittest.expect(o.pollingHours, unittest.equals('foo')); |
- checkUnnamed2579(o.sources); |
+ checkUnnamed2403(o.sources); |
unittest.expect(o.startDate, unittest.equals('foo')); |
unittest.expect(o.voterServices, unittest.equals('foo')); |
} |
buildCounterPollingLocation--; |
} |
-buildUnnamed2580() { |
+buildUnnamed2404() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2580(core.List<core.String> o) { |
+checkUnnamed2404(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -923,7 +923,7 @@ buildPostalAddress() { |
var o = new api.PostalAddress(); |
buildCounterPostalAddress++; |
if (buildCounterPostalAddress < 3) { |
- o.addressLines = buildUnnamed2580(); |
+ o.addressLines = buildUnnamed2404(); |
o.administrativeAreaName = "foo"; |
o.countryName = "foo"; |
o.countryNameCode = "foo"; |
@@ -962,7 +962,7 @@ buildPostalAddress() { |
checkPostalAddress(api.PostalAddress o) { |
buildCounterPostalAddress++; |
if (buildCounterPostalAddress < 3) { |
- checkUnnamed2580(o.addressLines); |
+ checkUnnamed2404(o.addressLines); |
unittest.expect(o.administrativeAreaName, unittest.equals('foo')); |
unittest.expect(o.countryName, unittest.equals('foo')); |
unittest.expect(o.countryNameCode, unittest.equals('foo')); |
@@ -997,40 +997,40 @@ checkPostalAddress(api.PostalAddress o) { |
buildCounterPostalAddress--; |
} |
-buildUnnamed2581() { |
+buildUnnamed2405() { |
var o = new core.Map<core.String, api.GeographicDivision>(); |
o["x"] = buildGeographicDivision(); |
o["y"] = buildGeographicDivision(); |
return o; |
} |
-checkUnnamed2581(core.Map<core.String, api.GeographicDivision> o) { |
+checkUnnamed2405(core.Map<core.String, api.GeographicDivision> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGeographicDivision(o["x"]); |
checkGeographicDivision(o["y"]); |
} |
-buildUnnamed2582() { |
+buildUnnamed2406() { |
var o = new core.List<api.Office>(); |
o.add(buildOffice()); |
o.add(buildOffice()); |
return o; |
} |
-checkUnnamed2582(core.List<api.Office> o) { |
+checkUnnamed2406(core.List<api.Office> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOffice(o[0]); |
checkOffice(o[1]); |
} |
-buildUnnamed2583() { |
+buildUnnamed2407() { |
var o = new core.List<api.Official>(); |
o.add(buildOfficial()); |
o.add(buildOfficial()); |
return o; |
} |
-checkUnnamed2583(core.List<api.Official> o) { |
+checkUnnamed2407(core.List<api.Official> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOfficial(o[0]); |
checkOfficial(o[1]); |
@@ -1041,9 +1041,9 @@ buildRepresentativeInfoData() { |
var o = new api.RepresentativeInfoData(); |
buildCounterRepresentativeInfoData++; |
if (buildCounterRepresentativeInfoData < 3) { |
- o.divisions = buildUnnamed2581(); |
- o.offices = buildUnnamed2582(); |
- o.officials = buildUnnamed2583(); |
+ o.divisions = buildUnnamed2405(); |
+ o.offices = buildUnnamed2406(); |
+ o.officials = buildUnnamed2407(); |
} |
buildCounterRepresentativeInfoData--; |
return o; |
@@ -1052,9 +1052,9 @@ buildRepresentativeInfoData() { |
checkRepresentativeInfoData(api.RepresentativeInfoData o) { |
buildCounterRepresentativeInfoData++; |
if (buildCounterRepresentativeInfoData < 3) { |
- checkUnnamed2581(o.divisions); |
- checkUnnamed2582(o.offices); |
- checkUnnamed2583(o.officials); |
+ checkUnnamed2405(o.divisions); |
+ checkUnnamed2406(o.offices); |
+ checkUnnamed2407(o.officials); |
} |
buildCounterRepresentativeInfoData--; |
} |
@@ -1078,40 +1078,40 @@ checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) { |
buildCounterRepresentativeInfoRequest--; |
} |
-buildUnnamed2584() { |
+buildUnnamed2408() { |
var o = new core.Map<core.String, api.GeographicDivision>(); |
o["x"] = buildGeographicDivision(); |
o["y"] = buildGeographicDivision(); |
return o; |
} |
-checkUnnamed2584(core.Map<core.String, api.GeographicDivision> o) { |
+checkUnnamed2408(core.Map<core.String, api.GeographicDivision> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGeographicDivision(o["x"]); |
checkGeographicDivision(o["y"]); |
} |
-buildUnnamed2585() { |
+buildUnnamed2409() { |
var o = new core.List<api.Office>(); |
o.add(buildOffice()); |
o.add(buildOffice()); |
return o; |
} |
-checkUnnamed2585(core.List<api.Office> o) { |
+checkUnnamed2409(core.List<api.Office> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOffice(o[0]); |
checkOffice(o[1]); |
} |
-buildUnnamed2586() { |
+buildUnnamed2410() { |
var o = new core.List<api.Official>(); |
o.add(buildOfficial()); |
o.add(buildOfficial()); |
return o; |
} |
-checkUnnamed2586(core.List<api.Official> o) { |
+checkUnnamed2410(core.List<api.Official> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOfficial(o[0]); |
checkOfficial(o[1]); |
@@ -1122,11 +1122,11 @@ buildRepresentativeInfoResponse() { |
var o = new api.RepresentativeInfoResponse(); |
buildCounterRepresentativeInfoResponse++; |
if (buildCounterRepresentativeInfoResponse < 3) { |
- o.divisions = buildUnnamed2584(); |
+ o.divisions = buildUnnamed2408(); |
o.kind = "foo"; |
o.normalizedInput = buildSimpleAddressType(); |
- o.offices = buildUnnamed2585(); |
- o.officials = buildUnnamed2586(); |
+ o.offices = buildUnnamed2409(); |
+ o.officials = buildUnnamed2410(); |
} |
buildCounterRepresentativeInfoResponse--; |
return o; |
@@ -1135,11 +1135,11 @@ buildRepresentativeInfoResponse() { |
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { |
buildCounterRepresentativeInfoResponse++; |
if (buildCounterRepresentativeInfoResponse < 3) { |
- checkUnnamed2584(o.divisions); |
+ checkUnnamed2408(o.divisions); |
unittest.expect(o.kind, unittest.equals('foo')); |
checkSimpleAddressType(o.normalizedInput); |
- checkUnnamed2585(o.offices); |
- checkUnnamed2586(o.officials); |
+ checkUnnamed2409(o.offices); |
+ checkUnnamed2410(o.officials); |
} |
buildCounterRepresentativeInfoResponse--; |
} |
@@ -1217,79 +1217,79 @@ checkVoterInfoRequest(api.VoterInfoRequest o) { |
buildCounterVoterInfoRequest--; |
} |
-buildUnnamed2587() { |
+buildUnnamed2411() { |
var o = new core.List<api.Contest>(); |
o.add(buildContest()); |
o.add(buildContest()); |
return o; |
} |
-checkUnnamed2587(core.List<api.Contest> o) { |
+checkUnnamed2411(core.List<api.Contest> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkContest(o[0]); |
checkContest(o[1]); |
} |
-buildUnnamed2588() { |
+buildUnnamed2412() { |
var o = new core.List<api.PollingLocation>(); |
o.add(buildPollingLocation()); |
o.add(buildPollingLocation()); |
return o; |
} |
-checkUnnamed2588(core.List<api.PollingLocation> o) { |
+checkUnnamed2412(core.List<api.PollingLocation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPollingLocation(o[0]); |
checkPollingLocation(o[1]); |
} |
-buildUnnamed2589() { |
+buildUnnamed2413() { |
var o = new core.List<api.PollingLocation>(); |
o.add(buildPollingLocation()); |
o.add(buildPollingLocation()); |
return o; |
} |
-checkUnnamed2589(core.List<api.PollingLocation> o) { |
+checkUnnamed2413(core.List<api.PollingLocation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPollingLocation(o[0]); |
checkPollingLocation(o[1]); |
} |
-buildUnnamed2590() { |
+buildUnnamed2414() { |
var o = new core.List<api.Election>(); |
o.add(buildElection()); |
o.add(buildElection()); |
return o; |
} |
-checkUnnamed2590(core.List<api.Election> o) { |
+checkUnnamed2414(core.List<api.Election> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkElection(o[0]); |
checkElection(o[1]); |
} |
-buildUnnamed2591() { |
+buildUnnamed2415() { |
var o = new core.List<api.PollingLocation>(); |
o.add(buildPollingLocation()); |
o.add(buildPollingLocation()); |
return o; |
} |
-checkUnnamed2591(core.List<api.PollingLocation> o) { |
+checkUnnamed2415(core.List<api.PollingLocation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPollingLocation(o[0]); |
checkPollingLocation(o[1]); |
} |
-buildUnnamed2592() { |
+buildUnnamed2416() { |
var o = new core.List<api.AdministrationRegion>(); |
o.add(buildAdministrationRegion()); |
o.add(buildAdministrationRegion()); |
return o; |
} |
-checkUnnamed2592(core.List<api.AdministrationRegion> o) { |
+checkUnnamed2416(core.List<api.AdministrationRegion> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAdministrationRegion(o[0]); |
checkAdministrationRegion(o[1]); |
@@ -1300,17 +1300,17 @@ buildVoterInfoResponse() { |
var o = new api.VoterInfoResponse(); |
buildCounterVoterInfoResponse++; |
if (buildCounterVoterInfoResponse < 3) { |
- o.contests = buildUnnamed2587(); |
- o.dropOffLocations = buildUnnamed2588(); |
- o.earlyVoteSites = buildUnnamed2589(); |
+ o.contests = buildUnnamed2411(); |
+ o.dropOffLocations = buildUnnamed2412(); |
+ o.earlyVoteSites = buildUnnamed2413(); |
o.election = buildElection(); |
o.kind = "foo"; |
o.mailOnly = true; |
o.normalizedInput = buildSimpleAddressType(); |
- o.otherElections = buildUnnamed2590(); |
- o.pollingLocations = buildUnnamed2591(); |
+ o.otherElections = buildUnnamed2414(); |
+ o.pollingLocations = buildUnnamed2415(); |
o.precinctId = "foo"; |
- o.state = buildUnnamed2592(); |
+ o.state = buildUnnamed2416(); |
} |
buildCounterVoterInfoResponse--; |
return o; |
@@ -1319,17 +1319,17 @@ buildVoterInfoResponse() { |
checkVoterInfoResponse(api.VoterInfoResponse o) { |
buildCounterVoterInfoResponse++; |
if (buildCounterVoterInfoResponse < 3) { |
- checkUnnamed2587(o.contests); |
- checkUnnamed2588(o.dropOffLocations); |
- checkUnnamed2589(o.earlyVoteSites); |
+ checkUnnamed2411(o.contests); |
+ checkUnnamed2412(o.dropOffLocations); |
+ checkUnnamed2413(o.earlyVoteSites); |
checkElection(o.election); |
unittest.expect(o.kind, unittest.equals('foo')); |
unittest.expect(o.mailOnly, unittest.isTrue); |
checkSimpleAddressType(o.normalizedInput); |
- checkUnnamed2590(o.otherElections); |
- checkUnnamed2591(o.pollingLocations); |
+ checkUnnamed2414(o.otherElections); |
+ checkUnnamed2415(o.pollingLocations); |
unittest.expect(o.precinctId, unittest.equals('foo')); |
- checkUnnamed2592(o.state); |
+ checkUnnamed2416(o.state); |
} |
buildCounterVoterInfoResponse--; |
} |
@@ -1359,53 +1359,53 @@ checkVoterInfoSegmentResult(api.VoterInfoSegmentResult o) { |
buildCounterVoterInfoSegmentResult--; |
} |
-buildUnnamed2593() { |
+buildUnnamed2417() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2593(core.List<core.String> o) { |
+checkUnnamed2417(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')); |
} |
-buildUnnamed2594() { |
+buildUnnamed2418() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2594(core.List<core.String> o) { |
+checkUnnamed2418(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')); |
} |
-buildUnnamed2595() { |
+buildUnnamed2419() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2595(core.List<core.String> o) { |
+checkUnnamed2419(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')); |
} |
-buildUnnamed2596() { |
+buildUnnamed2420() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2596(core.List<core.String> o) { |
+checkUnnamed2420(core.List<core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o[0], unittest.equals('foo')); |
unittest.expect(o[1], unittest.equals('foo')); |
@@ -1838,8 +1838,8 @@ main() { |
var arg_request = buildRepresentativeInfoRequest(); |
var arg_address = "foo"; |
var arg_includeOffices = true; |
- var arg_levels = buildUnnamed2593(); |
- var arg_roles = buildUnnamed2594(); |
+ var arg_levels = buildUnnamed2417(); |
+ var arg_roles = buildUnnamed2418(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var obj = new api.RepresentativeInfoRequest.fromJson(json); |
checkRepresentativeInfoRequest(obj); |
@@ -1894,9 +1894,9 @@ main() { |
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives; |
var arg_request = buildDivisionRepresentativeInfoRequest(); |
var arg_ocdId = "foo"; |
- var arg_levels = buildUnnamed2595(); |
+ var arg_levels = buildUnnamed2419(); |
var arg_recursive = true; |
- var arg_roles = buildUnnamed2596(); |
+ var arg_roles = buildUnnamed2420(); |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json); |
checkDivisionRepresentativeInfoRequest(obj); |