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

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

Issue 635343003: Api roll 3: 2014-10-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Updated CHANGELOG.md for the googleapis package 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/civicinfo/v1_test.dart ('k') | generated/googleapis/test/compute/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/v2_test.dart
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
index 31e775cb020a72002876391870fd843fc612de34..fc2ce77b038502719e1e3365ee8a84957af810e9 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;
-buildUnnamed208() {
+buildUnnamed182() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed208(core.List<api.Source> o) {
+checkUnnamed182(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 = buildUnnamed208();
+ o.sources = buildUnnamed182();
}
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'));
- checkUnnamed208(o.sources);
+ checkUnnamed182(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed209() {
+buildUnnamed183() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed209(core.List<api.ElectionOfficial> o) {
+checkUnnamed183(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed210() {
+buildUnnamed184() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed210(core.List<core.String> o) {
+checkUnnamed184(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 = buildUnnamed209();
+ o.electionOfficials = buildUnnamed183();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed210();
+ o.voterServices = buildUnnamed184();
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'));
- checkUnnamed209(o.electionOfficials);
+ checkUnnamed183(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);
- checkUnnamed210(o.voterServices);
+ checkUnnamed184(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed211() {
+buildUnnamed185() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed211(core.List<api.Channel> o) {
+checkUnnamed185(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 = buildUnnamed211();
+ o.channels = buildUnnamed185();
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'));
- checkUnnamed211(o.channels);
+ checkUnnamed185(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--;
}
-buildUnnamed212() {
+buildUnnamed186() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed212(core.List<api.Candidate> o) {
+checkUnnamed186(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed213() {
+buildUnnamed187() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed213(core.List<core.String> o) {
+checkUnnamed187(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'));
}
-buildUnnamed214() {
+buildUnnamed188() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed214(core.List<core.String> o) {
+checkUnnamed188(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'));
}
-buildUnnamed215() {
+buildUnnamed189() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed215(core.List<api.Source> o) {
+checkUnnamed189(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 = buildUnnamed212();
+ o.candidates = buildUnnamed186();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed213();
+ o.level = buildUnnamed187();
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 = buildUnnamed214();
- o.sources = buildUnnamed215();
+ o.roles = buildUnnamed188();
+ o.sources = buildUnnamed189();
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'));
- checkUnnamed212(o.candidates);
+ checkUnnamed186(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed213(o.level);
+ checkUnnamed187(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'));
- checkUnnamed214(o.roles);
- checkUnnamed215(o.sources);
+ checkUnnamed188(o.roles);
+ checkUnnamed189(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterContest--;
}
-buildUnnamed216() {
+buildUnnamed190() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed216(core.List<api.DivisionSearchResult> o) {
+checkUnnamed190(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 = buildUnnamed216();
+ o.results = buildUnnamed190();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -324,19 +324,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed216(o.results);
+ checkUnnamed190(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed217() {
+buildUnnamed191() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed217(core.List<core.String> o) {
+checkUnnamed191(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 = buildUnnamed217();
+ o.aliases = buildUnnamed191();
o.name = "foo";
o.ocdId = "foo";
}
@@ -358,7 +358,7 @@ buildDivisionSearchResult() {
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed217(o.aliases);
+ checkUnnamed191(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--;
}
-buildUnnamed218() {
+buildUnnamed192() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed218(core.List<api.Election> o) {
+checkUnnamed192(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 = buildUnnamed218();
+ o.elections = buildUnnamed192();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -443,7 +443,7 @@ buildElectionsQueryResponse() {
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed218(o.elections);
+ checkUnnamed192(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -472,27 +472,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
buildCounterElectoralDistrict--;
}
-buildUnnamed219() {
+buildUnnamed193() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed219(core.List<core.String> o) {
+checkUnnamed193(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'));
}
-buildUnnamed220() {
+buildUnnamed194() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed220(core.List<core.int> o) {
+checkUnnamed194(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 = buildUnnamed219();
+ o.alsoKnownAs = buildUnnamed193();
o.name = "foo";
- o.officeIndices = buildUnnamed220();
+ o.officeIndices = buildUnnamed194();
}
buildCounterGeographicDivision--;
return o;
@@ -514,60 +514,60 @@ buildGeographicDivision() {
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed219(o.alsoKnownAs);
+ checkUnnamed193(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed220(o.officeIndices);
+ checkUnnamed194(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed221() {
+buildUnnamed195() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed221(core.List<core.String> o) {
+checkUnnamed195(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'));
}
-buildUnnamed222() {
+buildUnnamed196() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed222(core.List<core.int> o) {
+checkUnnamed196(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));
}
-buildUnnamed223() {
+buildUnnamed197() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed223(core.List<core.String> o) {
+checkUnnamed197(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'));
}
-buildUnnamed224() {
+buildUnnamed198() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed224(core.List<api.Source> o) {
+checkUnnamed198(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 = buildUnnamed221();
+ o.levels = buildUnnamed195();
o.name = "foo";
- o.officialIndices = buildUnnamed222();
- o.roles = buildUnnamed223();
- o.sources = buildUnnamed224();
+ o.officialIndices = buildUnnamed196();
+ o.roles = buildUnnamed197();
+ o.sources = buildUnnamed198();
}
buildCounterOffice--;
return o;
@@ -593,75 +593,75 @@ checkOffice(api.Office o) {
buildCounterOffice++;
if (buildCounterOffice < 3) {
unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed221(o.levels);
+ checkUnnamed195(o.levels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed222(o.officialIndices);
- checkUnnamed223(o.roles);
- checkUnnamed224(o.sources);
+ checkUnnamed196(o.officialIndices);
+ checkUnnamed197(o.roles);
+ checkUnnamed198(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed225() {
+buildUnnamed199() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed225(core.List<api.SimpleAddressType> o) {
+checkUnnamed199(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed226() {
+buildUnnamed200() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed226(core.List<api.Channel> o) {
+checkUnnamed200(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed227() {
+buildUnnamed201() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed227(core.List<core.String> o) {
+checkUnnamed201(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'));
}
-buildUnnamed228() {
+buildUnnamed202() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed228(core.List<core.String> o) {
+checkUnnamed202(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'));
}
-buildUnnamed229() {
+buildUnnamed203() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed229(core.List<core.String> o) {
+checkUnnamed203(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 = buildUnnamed225();
- o.channels = buildUnnamed226();
- o.emails = buildUnnamed227();
+ o.address = buildUnnamed199();
+ o.channels = buildUnnamed200();
+ o.emails = buildUnnamed201();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed228();
+ o.phones = buildUnnamed202();
o.photoUrl = "foo";
- o.urls = buildUnnamed229();
+ o.urls = buildUnnamed203();
}
buildCounterOfficial--;
return o;
@@ -688,26 +688,26 @@ buildOfficial() {
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed225(o.address);
- checkUnnamed226(o.channels);
- checkUnnamed227(o.emails);
+ checkUnnamed199(o.address);
+ checkUnnamed200(o.channels);
+ checkUnnamed201(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed228(o.phones);
+ checkUnnamed202(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed229(o.urls);
+ checkUnnamed203(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed230() {
+buildUnnamed204() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed230(core.List<api.Source> o) {
+checkUnnamed204(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 = buildUnnamed230();
+ o.sources = buildUnnamed204();
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'));
- checkUnnamed230(o.sources);
+ checkUnnamed204(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed231() {
+buildUnnamed205() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed231(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed205(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed232() {
+buildUnnamed206() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed232(core.List<api.Office> o) {
+checkUnnamed206(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed233() {
+buildUnnamed207() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed233(core.List<api.Official> o) {
+checkUnnamed207(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 = buildUnnamed231();
- o.offices = buildUnnamed232();
- o.officials = buildUnnamed233();
+ o.divisions = buildUnnamed205();
+ o.offices = buildUnnamed206();
+ o.officials = buildUnnamed207();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -803,47 +803,47 @@ buildRepresentativeInfoData() {
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed231(o.divisions);
- checkUnnamed232(o.offices);
- checkUnnamed233(o.officials);
+ checkUnnamed205(o.divisions);
+ checkUnnamed206(o.offices);
+ checkUnnamed207(o.officials);
}
buildCounterRepresentativeInfoData--;
}
-buildUnnamed234() {
+buildUnnamed208() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed234(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed208(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed235() {
+buildUnnamed209() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed235(core.List<api.Office> o) {
+checkUnnamed209(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed236() {
+buildUnnamed210() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed236(core.List<api.Official> o) {
+checkUnnamed210(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 = buildUnnamed234();
+ o.divisions = buildUnnamed208();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed235();
- o.officials = buildUnnamed236();
+ o.offices = buildUnnamed209();
+ o.officials = buildUnnamed210();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -867,11 +867,11 @@ buildRepresentativeInfoResponse() {
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed234(o.divisions);
+ checkUnnamed208(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed235(o.offices);
- checkUnnamed236(o.officials);
+ checkUnnamed209(o.offices);
+ checkUnnamed210(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -928,66 +928,66 @@ checkSource(api.Source o) {
buildCounterSource--;
}
-buildUnnamed237() {
+buildUnnamed211() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed237(core.List<api.Contest> o) {
+checkUnnamed211(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed238() {
+buildUnnamed212() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed238(core.List<api.PollingLocation> o) {
+checkUnnamed212(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed239() {
+buildUnnamed213() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed239(core.List<api.Election> o) {
+checkUnnamed213(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed240() {
+buildUnnamed214() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed240(core.List<api.PollingLocation> o) {
+checkUnnamed214(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed241() {
+buildUnnamed215() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed241(core.List<api.AdministrationRegion> o) {
+checkUnnamed215(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 = buildUnnamed237();
- o.earlyVoteSites = buildUnnamed238();
+ o.contests = buildUnnamed211();
+ o.earlyVoteSites = buildUnnamed212();
o.election = buildElection();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed239();
- o.pollingLocations = buildUnnamed240();
+ o.otherElections = buildUnnamed213();
+ o.pollingLocations = buildUnnamed214();
o.precinctId = "foo";
- o.state = buildUnnamed241();
+ o.state = buildUnnamed215();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1015,66 +1015,66 @@ buildVoterInfoResponse() {
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed237(o.contests);
- checkUnnamed238(o.earlyVoteSites);
+ checkUnnamed211(o.contests);
+ checkUnnamed212(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed239(o.otherElections);
- checkUnnamed240(o.pollingLocations);
+ checkUnnamed213(o.otherElections);
+ checkUnnamed214(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed241(o.state);
+ checkUnnamed215(o.state);
}
buildCounterVoterInfoResponse--;
}
-buildUnnamed242() {
+buildUnnamed216() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed242(core.List<core.String> o) {
+checkUnnamed216(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'));
}
-buildUnnamed243() {
+buildUnnamed217() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed243(core.List<core.String> o) {
+checkUnnamed217(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'));
}
-buildUnnamed244() {
+buildUnnamed218() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed244(core.List<core.String> o) {
+checkUnnamed218(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'));
}
-buildUnnamed245() {
+buildUnnamed219() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed245(core.List<core.String> o) {
+checkUnnamed219(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 = buildUnnamed242();
- var arg_roles = buildUnnamed243();
+ var arg_levels = buildUnnamed216();
+ var arg_roles = buildUnnamed217();
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 = buildUnnamed244();
+ var arg_levels = buildUnnamed218();
var arg_recursive = true;
- var arg_roles = buildUnnamed245();
+ var arg_roles = buildUnnamed219();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
« no previous file with comments | « generated/googleapis/test/civicinfo/v1_test.dart ('k') | generated/googleapis/test/compute/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698