Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: generated/googleapis/test/civicinfo/us_v1_test.dart

Issue 663113002: Api roll 4: 2014-10-20 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/test/calendar/v3_test.dart ('k') | generated/googleapis/test/civicinfo/v1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/test/civicinfo/us_v1_test.dart
diff --git a/generated/googleapis/test/civicinfo/us_v1_test.dart b/generated/googleapis/test/civicinfo/us_v1_test.dart
index 5fc329e18b06ce898587442797db10f1da3fe3ea..6da838b797db6b9a162cbba2876a29ca92abf126 100644
--- a/generated/googleapis/test/civicinfo/us_v1_test.dart
+++ b/generated/googleapis/test/civicinfo/us_v1_test.dart
@@ -16,14 +16,14 @@ import 'package:googleapis/civicinfo/us_v1.dart' as api;
-buildUnnamed690() {
+buildUnnamed815() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed690(core.List<api.Source> o) {
+checkUnnamed815(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 = buildUnnamed690();
+ o.sources = buildUnnamed815();
}
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'));
- checkUnnamed690(o.sources);
+ checkUnnamed815(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed691() {
+buildUnnamed816() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed691(core.List<api.ElectionOfficial> o) {
+checkUnnamed816(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed692() {
+buildUnnamed817() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed692(core.List<core.String> o) {
+checkUnnamed817(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 = buildUnnamed691();
+ o.electionOfficials = buildUnnamed816();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed692();
+ o.voterServices = buildUnnamed817();
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'));
- checkUnnamed691(o.electionOfficials);
+ checkUnnamed816(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);
- checkUnnamed692(o.voterServices);
+ checkUnnamed817(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed693() {
+buildUnnamed818() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed693(core.List<api.Channel> o) {
+checkUnnamed818(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 = buildUnnamed693();
+ o.channels = buildUnnamed818();
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'));
- checkUnnamed693(o.channels);
+ checkUnnamed818(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -192,27 +192,27 @@ checkChannel(api.Channel o) {
buildCounterChannel--;
}
-buildUnnamed694() {
+buildUnnamed819() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed694(core.List<api.Candidate> o) {
+checkUnnamed819(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed695() {
+buildUnnamed820() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed695(core.List<api.Source> o) {
+checkUnnamed820(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -224,7 +224,7 @@ buildContest() {
buildCounterContest++;
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
- o.candidates = buildUnnamed694();
+ o.candidates = buildUnnamed819();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
@@ -236,7 +236,7 @@ buildContest() {
o.referendumSubtitle = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.sources = buildUnnamed695();
+ o.sources = buildUnnamed820();
o.special = "foo";
o.type = "foo";
}
@@ -248,7 +248,7 @@ checkContest(api.Contest o) {
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed694(o.candidates);
+ checkUnnamed819(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
@@ -260,21 +260,21 @@ 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'));
- checkUnnamed695(o.sources);
+ checkUnnamed820(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterContest--;
}
-buildUnnamed696() {
+buildUnnamed821() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed696(core.List<api.DivisionSearchResult> o) {
+checkUnnamed821(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -286,7 +286,7 @@ buildDivisionSearchResponse() {
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed696();
+ o.results = buildUnnamed821();
o.status = "foo";
}
buildCounterDivisionSearchResponse--;
@@ -297,20 +297,20 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed696(o.results);
+ checkUnnamed821(o.results);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed697() {
+buildUnnamed822() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed697(core.List<core.String> o) {
+checkUnnamed822(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'));
@@ -321,7 +321,7 @@ buildDivisionSearchResult() {
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed697();
+ o.aliases = buildUnnamed822();
o.name = "foo";
o.ocdId = "foo";
}
@@ -332,7 +332,7 @@ buildDivisionSearchResult() {
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed697(o.aliases);
+ checkUnnamed822(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -389,14 +389,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
buildCounterElectionOfficial--;
}
-buildUnnamed698() {
+buildUnnamed823() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed698(core.List<api.Election> o) {
+checkUnnamed823(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -407,7 +407,7 @@ buildElectionsQueryResponse() {
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed698();
+ o.elections = buildUnnamed823();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -417,7 +417,7 @@ buildElectionsQueryResponse() {
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed698(o.elections);
+ checkUnnamed823(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -446,27 +446,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
buildCounterElectoralDistrict--;
}
-buildUnnamed699() {
+buildUnnamed824() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed699(core.List<core.String> o) {
+checkUnnamed824(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'));
}
-buildUnnamed700() {
+buildUnnamed825() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed700(core.List<core.String> o) {
+checkUnnamed825(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'));
@@ -477,9 +477,9 @@ buildGeographicDivision() {
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed699();
+ o.alsoKnownAs = buildUnnamed824();
o.name = "foo";
- o.officeIds = buildUnnamed700();
+ o.officeIds = buildUnnamed825();
o.scope = "foo";
}
buildCounterGeographicDivision--;
@@ -489,35 +489,35 @@ buildGeographicDivision() {
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed699(o.alsoKnownAs);
+ checkUnnamed824(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed700(o.officeIds);
+ checkUnnamed825(o.officeIds);
unittest.expect(o.scope, unittest.equals('foo'));
}
buildCounterGeographicDivision--;
}
-buildUnnamed701() {
+buildUnnamed826() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed701(core.List<core.String> o) {
+checkUnnamed826(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'));
}
-buildUnnamed702() {
+buildUnnamed827() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed702(core.List<api.Source> o) {
+checkUnnamed827(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -531,8 +531,8 @@ buildOffice() {
o.divisionId = "foo";
o.level = "foo";
o.name = "foo";
- o.officialIds = buildUnnamed701();
- o.sources = buildUnnamed702();
+ o.officialIds = buildUnnamed826();
+ o.sources = buildUnnamed827();
}
buildCounterOffice--;
return o;
@@ -544,72 +544,72 @@ checkOffice(api.Office o) {
unittest.expect(o.divisionId, unittest.equals('foo'));
unittest.expect(o.level, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed701(o.officialIds);
- checkUnnamed702(o.sources);
+ checkUnnamed826(o.officialIds);
+ checkUnnamed827(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed703() {
+buildUnnamed828() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed703(core.List<api.SimpleAddressType> o) {
+checkUnnamed828(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed704() {
+buildUnnamed829() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed704(core.List<api.Channel> o) {
+checkUnnamed829(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed705() {
+buildUnnamed830() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed705(core.List<core.String> o) {
+checkUnnamed830(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'));
}
-buildUnnamed706() {
+buildUnnamed831() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed706(core.List<core.String> o) {
+checkUnnamed831(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'));
}
-buildUnnamed707() {
+buildUnnamed832() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed707(core.List<core.String> o) {
+checkUnnamed832(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'));
@@ -620,14 +620,14 @@ buildOfficial() {
var o = new api.Official();
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- o.address = buildUnnamed703();
- o.channels = buildUnnamed704();
- o.emails = buildUnnamed705();
+ o.address = buildUnnamed828();
+ o.channels = buildUnnamed829();
+ o.emails = buildUnnamed830();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed706();
+ o.phones = buildUnnamed831();
o.photoUrl = "foo";
- o.urls = buildUnnamed707();
+ o.urls = buildUnnamed832();
}
buildCounterOfficial--;
return o;
@@ -636,26 +636,26 @@ buildOfficial() {
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed703(o.address);
- checkUnnamed704(o.channels);
- checkUnnamed705(o.emails);
+ checkUnnamed828(o.address);
+ checkUnnamed829(o.channels);
+ checkUnnamed830(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed706(o.phones);
+ checkUnnamed831(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed707(o.urls);
+ checkUnnamed832(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed708() {
+buildUnnamed833() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed708(core.List<api.Source> o) {
+checkUnnamed833(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -672,7 +672,7 @@ buildPollingLocation() {
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed708();
+ o.sources = buildUnnamed833();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -689,7 +689,7 @@ 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'));
- checkUnnamed708(o.sources);
+ checkUnnamed833(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
@@ -715,40 +715,40 @@ checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) {
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed709() {
+buildUnnamed834() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed709(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed834(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed710() {
+buildUnnamed835() {
var o = new core.Map<core.String, api.Office>();
o["x"] = buildOffice();
o["y"] = buildOffice();
return o;
}
-checkUnnamed710(core.Map<core.String, api.Office> o) {
+checkUnnamed835(core.Map<core.String, api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o["x"]);
checkOffice(o["y"]);
}
-buildUnnamed711() {
+buildUnnamed836() {
var o = new core.Map<core.String, api.Official>();
o["x"] = buildOfficial();
o["y"] = buildOfficial();
return o;
}
-checkUnnamed711(core.Map<core.String, api.Official> o) {
+checkUnnamed836(core.Map<core.String, api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o["x"]);
checkOfficial(o["y"]);
@@ -759,11 +759,11 @@ buildRepresentativeInfoResponse() {
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed709();
+ o.divisions = buildUnnamed834();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed710();
- o.officials = buildUnnamed711();
+ o.offices = buildUnnamed835();
+ o.officials = buildUnnamed836();
o.status = "foo";
}
buildCounterRepresentativeInfoResponse--;
@@ -773,11 +773,11 @@ buildRepresentativeInfoResponse() {
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed709(o.divisions);
+ checkUnnamed834(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed710(o.offices);
- checkUnnamed711(o.officials);
+ checkUnnamed835(o.offices);
+ checkUnnamed836(o.officials);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterRepresentativeInfoResponse--;
@@ -854,53 +854,53 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
buildCounterVoterInfoRequest--;
}
-buildUnnamed712() {
+buildUnnamed837() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed712(core.List<api.Contest> o) {
+checkUnnamed837(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed713() {
+buildUnnamed838() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed713(core.List<api.PollingLocation> o) {
+checkUnnamed838(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed714() {
+buildUnnamed839() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed714(core.List<api.PollingLocation> o) {
+checkUnnamed839(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed715() {
+buildUnnamed840() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed715(core.List<api.AdministrationRegion> o) {
+checkUnnamed840(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -911,14 +911,14 @@ buildVoterInfoResponse() {
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed712();
- o.earlyVoteSites = buildUnnamed713();
+ o.contests = buildUnnamed837();
+ o.earlyVoteSites = buildUnnamed838();
o.election = buildElection();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.pollingLocations = buildUnnamed714();
+ o.pollingLocations = buildUnnamed839();
o.precinctId = "foo";
- o.state = buildUnnamed715();
+ o.state = buildUnnamed840();
o.status = "foo";
}
buildCounterVoterInfoResponse--;
@@ -928,14 +928,14 @@ buildVoterInfoResponse() {
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed712(o.contests);
- checkUnnamed713(o.earlyVoteSites);
+ checkUnnamed837(o.contests);
+ checkUnnamed838(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed714(o.pollingLocations);
+ checkUnnamed839(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed715(o.state);
+ checkUnnamed840(o.state);
unittest.expect(o.status, unittest.equals('foo'));
}
buildCounterVoterInfoResponse--;
« no previous file with comments | « generated/googleapis/test/calendar/v3_test.dart ('k') | generated/googleapis/test/civicinfo/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698