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

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

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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/classroom/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 0f92982f0fe2579d67dca84cc2ea752b680dfef4..01cdeaf265982bba9bb6ff54a86ccc2930f5409e 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);
}
-buildUnnamed572() {
+buildUnnamed2427() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed572(core.List<api.Source> o) {
+checkUnnamed2427(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 = buildUnnamed572();
+ o.sources = buildUnnamed2427();
}
buildCounterAdministrationRegion--;
return o;
@@ -86,32 +86,32 @@ checkAdministrationRegion(api.AdministrationRegion o) {
unittest.expect(o.id, unittest.equals('foo'));
checkAdministrationRegion(o.localJurisdiction);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed572(o.sources);
+ checkUnnamed2427(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed573() {
+buildUnnamed2428() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed573(core.List<api.ElectionOfficial> o) {
+checkUnnamed2428(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed574() {
+buildUnnamed2429() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed574(core.List<core.String> o) {
+checkUnnamed2429(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'));
@@ -126,14 +126,14 @@ buildAdministrativeBody() {
o.ballotInfoUrl = "foo";
o.correspondenceAddress = buildSimpleAddressType();
o.electionInfoUrl = "foo";
- o.electionOfficials = buildUnnamed573();
+ o.electionOfficials = buildUnnamed2428();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed574();
+ o.voterServices = buildUnnamed2429();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -147,27 +147,27 @@ checkAdministrativeBody(api.AdministrativeBody o) {
unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
checkSimpleAddressType(o.correspondenceAddress);
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
- checkUnnamed573(o.electionOfficials);
+ checkUnnamed2428(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);
- checkUnnamed574(o.voterServices);
+ checkUnnamed2429(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed575() {
+buildUnnamed2430() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed575(core.List<api.Channel> o) {
+checkUnnamed2430(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
@@ -179,7 +179,7 @@ buildCandidate() {
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
o.candidateUrl = "foo";
- o.channels = buildUnnamed575();
+ o.channels = buildUnnamed2430();
o.email = "foo";
o.name = "foo";
o.orderOnBallot = "foo";
@@ -195,7 +195,7 @@ checkCandidate(api.Candidate o) {
buildCounterCandidate++;
if (buildCounterCandidate < 3) {
unittest.expect(o.candidateUrl, unittest.equals('foo'));
- checkUnnamed575(o.channels);
+ checkUnnamed2430(o.channels);
unittest.expect(o.email, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.orderOnBallot, unittest.equals('foo'));
@@ -227,66 +227,66 @@ checkChannel(api.Channel o) {
buildCounterChannel--;
}
-buildUnnamed576() {
+buildUnnamed2431() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed576(core.List<api.Candidate> o) {
+checkUnnamed2431(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed577() {
+buildUnnamed2432() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed577(core.List<core.String> o) {
+checkUnnamed2432(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'));
}
-buildUnnamed578() {
+buildUnnamed2433() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed578(core.List<core.String> o) {
+checkUnnamed2433(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'));
}
-buildUnnamed579() {
+buildUnnamed2434() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed579(core.List<core.String> o) {
+checkUnnamed2434(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'));
}
-buildUnnamed580() {
+buildUnnamed2435() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed580(core.List<api.Source> o) {
+checkUnnamed2435(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -298,16 +298,16 @@ buildContest() {
buildCounterContest++;
if (buildCounterContest < 3) {
o.ballotPlacement = "foo";
- o.candidates = buildUnnamed576();
+ o.candidates = buildUnnamed2431();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed577();
+ o.level = buildUnnamed2432();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed578();
+ o.referendumBallotResponses = buildUnnamed2433();
o.referendumBrief = "foo";
o.referendumConStatement = "foo";
o.referendumEffectOfAbstain = "foo";
@@ -317,8 +317,8 @@ buildContest() {
o.referendumText = "foo";
o.referendumTitle = "foo";
o.referendumUrl = "foo";
- o.roles = buildUnnamed579();
- o.sources = buildUnnamed580();
+ o.roles = buildUnnamed2434();
+ o.sources = buildUnnamed2435();
o.special = "foo";
o.type = "foo";
}
@@ -330,16 +330,16 @@ checkContest(api.Contest o) {
buildCounterContest++;
if (buildCounterContest < 3) {
unittest.expect(o.ballotPlacement, unittest.equals('foo'));
- checkUnnamed576(o.candidates);
+ checkUnnamed2431(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed577(o.level);
+ checkUnnamed2432(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'));
- checkUnnamed578(o.referendumBallotResponses);
+ checkUnnamed2433(o.referendumBallotResponses);
unittest.expect(o.referendumBrief, unittest.equals('foo'));
unittest.expect(o.referendumConStatement, unittest.equals('foo'));
unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo'));
@@ -349,22 +349,22 @@ 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'));
- checkUnnamed579(o.roles);
- checkUnnamed580(o.sources);
+ checkUnnamed2434(o.roles);
+ checkUnnamed2435(o.sources);
unittest.expect(o.special, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterContest--;
}
-buildUnnamed581() {
+buildUnnamed2436() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed581(core.List<api.DivisionSearchResult> o) {
+checkUnnamed2436(core.List<api.DivisionSearchResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkDivisionSearchResult(o[0]);
checkDivisionSearchResult(o[1]);
@@ -376,7 +376,7 @@ buildDivisionSearchResponse() {
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
o.kind = "foo";
- o.results = buildUnnamed581();
+ o.results = buildUnnamed2436();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -386,19 +386,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed581(o.results);
+ checkUnnamed2436(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed582() {
+buildUnnamed2437() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed582(core.List<core.String> o) {
+checkUnnamed2437(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'));
@@ -409,7 +409,7 @@ buildDivisionSearchResult() {
var o = new api.DivisionSearchResult();
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- o.aliases = buildUnnamed582();
+ o.aliases = buildUnnamed2437();
o.name = "foo";
o.ocdId = "foo";
}
@@ -420,7 +420,7 @@ buildDivisionSearchResult() {
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed582(o.aliases);
+ checkUnnamed2437(o.aliases);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.ocdId, unittest.equals('foo'));
}
@@ -479,14 +479,14 @@ checkElectionOfficial(api.ElectionOfficial o) {
buildCounterElectionOfficial--;
}
-buildUnnamed583() {
+buildUnnamed2438() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed583(core.List<api.Election> o) {
+checkUnnamed2438(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
@@ -497,7 +497,7 @@ buildElectionsQueryResponse() {
var o = new api.ElectionsQueryResponse();
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- o.elections = buildUnnamed583();
+ o.elections = buildUnnamed2438();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -507,7 +507,7 @@ buildElectionsQueryResponse() {
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed583(o.elections);
+ checkUnnamed2438(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -536,27 +536,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
buildCounterElectoralDistrict--;
}
-buildUnnamed584() {
+buildUnnamed2439() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed584(core.List<core.String> o) {
+checkUnnamed2439(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'));
}
-buildUnnamed585() {
+buildUnnamed2440() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed585(core.List<core.int> o) {
+checkUnnamed2440(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));
@@ -567,9 +567,9 @@ buildGeographicDivision() {
var o = new api.GeographicDivision();
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- o.alsoKnownAs = buildUnnamed584();
+ o.alsoKnownAs = buildUnnamed2439();
o.name = "foo";
- o.officeIndices = buildUnnamed585();
+ o.officeIndices = buildUnnamed2440();
}
buildCounterGeographicDivision--;
return o;
@@ -578,60 +578,60 @@ buildGeographicDivision() {
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed584(o.alsoKnownAs);
+ checkUnnamed2439(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed585(o.officeIndices);
+ checkUnnamed2440(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed586() {
+buildUnnamed2441() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed586(core.List<core.String> o) {
+checkUnnamed2441(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'));
}
-buildUnnamed587() {
+buildUnnamed2442() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed587(core.List<core.int> o) {
+checkUnnamed2442(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));
}
-buildUnnamed588() {
+buildUnnamed2443() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed588(core.List<core.String> o) {
+checkUnnamed2443(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'));
}
-buildUnnamed589() {
+buildUnnamed2444() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed589(core.List<api.Source> o) {
+checkUnnamed2444(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -643,11 +643,11 @@ buildOffice() {
buildCounterOffice++;
if (buildCounterOffice < 3) {
o.divisionId = "foo";
- o.levels = buildUnnamed586();
+ o.levels = buildUnnamed2441();
o.name = "foo";
- o.officialIndices = buildUnnamed587();
- o.roles = buildUnnamed588();
- o.sources = buildUnnamed589();
+ o.officialIndices = buildUnnamed2442();
+ o.roles = buildUnnamed2443();
+ o.sources = buildUnnamed2444();
}
buildCounterOffice--;
return o;
@@ -657,75 +657,75 @@ checkOffice(api.Office o) {
buildCounterOffice++;
if (buildCounterOffice < 3) {
unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed586(o.levels);
+ checkUnnamed2441(o.levels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed587(o.officialIndices);
- checkUnnamed588(o.roles);
- checkUnnamed589(o.sources);
+ checkUnnamed2442(o.officialIndices);
+ checkUnnamed2443(o.roles);
+ checkUnnamed2444(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed590() {
+buildUnnamed2445() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed590(core.List<api.SimpleAddressType> o) {
+checkUnnamed2445(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed591() {
+buildUnnamed2446() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed591(core.List<api.Channel> o) {
+checkUnnamed2446(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed592() {
+buildUnnamed2447() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed592(core.List<core.String> o) {
+checkUnnamed2447(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'));
}
-buildUnnamed593() {
+buildUnnamed2448() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed593(core.List<core.String> o) {
+checkUnnamed2448(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'));
}
-buildUnnamed594() {
+buildUnnamed2449() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed594(core.List<core.String> o) {
+checkUnnamed2449(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'));
@@ -736,14 +736,14 @@ buildOfficial() {
var o = new api.Official();
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- o.address = buildUnnamed590();
- o.channels = buildUnnamed591();
- o.emails = buildUnnamed592();
+ o.address = buildUnnamed2445();
+ o.channels = buildUnnamed2446();
+ o.emails = buildUnnamed2447();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed593();
+ o.phones = buildUnnamed2448();
o.photoUrl = "foo";
- o.urls = buildUnnamed594();
+ o.urls = buildUnnamed2449();
}
buildCounterOfficial--;
return o;
@@ -752,26 +752,26 @@ buildOfficial() {
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed590(o.address);
- checkUnnamed591(o.channels);
- checkUnnamed592(o.emails);
+ checkUnnamed2445(o.address);
+ checkUnnamed2446(o.channels);
+ checkUnnamed2447(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed593(o.phones);
+ checkUnnamed2448(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed594(o.urls);
+ checkUnnamed2449(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed595() {
+buildUnnamed2450() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed595(core.List<api.Source> o) {
+checkUnnamed2450(core.List<api.Source> o) {
unittest.expect(o, unittest.hasLength(2));
checkSource(o[0]);
checkSource(o[1]);
@@ -788,7 +788,7 @@ buildPollingLocation() {
o.name = "foo";
o.notes = "foo";
o.pollingHours = "foo";
- o.sources = buildUnnamed595();
+ o.sources = buildUnnamed2450();
o.startDate = "foo";
o.voterServices = "foo";
}
@@ -805,47 +805,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'));
- checkUnnamed595(o.sources);
+ checkUnnamed2450(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed596() {
+buildUnnamed2451() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed596(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2451(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed597() {
+buildUnnamed2452() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed597(core.List<api.Office> o) {
+checkUnnamed2452(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed598() {
+buildUnnamed2453() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed598(core.List<api.Official> o) {
+checkUnnamed2453(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -856,9 +856,9 @@ buildRepresentativeInfoData() {
var o = new api.RepresentativeInfoData();
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- o.divisions = buildUnnamed596();
- o.offices = buildUnnamed597();
- o.officials = buildUnnamed598();
+ o.divisions = buildUnnamed2451();
+ o.offices = buildUnnamed2452();
+ o.officials = buildUnnamed2453();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -867,47 +867,47 @@ buildRepresentativeInfoData() {
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed596(o.divisions);
- checkUnnamed597(o.offices);
- checkUnnamed598(o.officials);
+ checkUnnamed2451(o.divisions);
+ checkUnnamed2452(o.offices);
+ checkUnnamed2453(o.officials);
}
buildCounterRepresentativeInfoData--;
}
-buildUnnamed599() {
+buildUnnamed2454() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed599(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2454(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed600() {
+buildUnnamed2455() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed600(core.List<api.Office> o) {
+checkUnnamed2455(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed601() {
+buildUnnamed2456() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed601(core.List<api.Official> o) {
+checkUnnamed2456(core.List<api.Official> o) {
unittest.expect(o, unittest.hasLength(2));
checkOfficial(o[0]);
checkOfficial(o[1]);
@@ -918,11 +918,11 @@ buildRepresentativeInfoResponse() {
var o = new api.RepresentativeInfoResponse();
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- o.divisions = buildUnnamed599();
+ o.divisions = buildUnnamed2454();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed600();
- o.officials = buildUnnamed601();
+ o.offices = buildUnnamed2455();
+ o.officials = buildUnnamed2456();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -931,11 +931,11 @@ buildRepresentativeInfoResponse() {
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed599(o.divisions);
+ checkUnnamed2454(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed600(o.offices);
- checkUnnamed601(o.officials);
+ checkUnnamed2455(o.offices);
+ checkUnnamed2456(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -992,79 +992,79 @@ checkSource(api.Source o) {
buildCounterSource--;
}
-buildUnnamed602() {
+buildUnnamed2457() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed602(core.List<api.Contest> o) {
+checkUnnamed2457(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed603() {
+buildUnnamed2458() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed603(core.List<api.PollingLocation> o) {
+checkUnnamed2458(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed604() {
+buildUnnamed2459() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed604(core.List<api.PollingLocation> o) {
+checkUnnamed2459(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed605() {
+buildUnnamed2460() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed605(core.List<api.Election> o) {
+checkUnnamed2460(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed606() {
+buildUnnamed2461() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed606(core.List<api.PollingLocation> o) {
+checkUnnamed2461(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed607() {
+buildUnnamed2462() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed607(core.List<api.AdministrationRegion> o) {
+checkUnnamed2462(core.List<api.AdministrationRegion> o) {
unittest.expect(o, unittest.hasLength(2));
checkAdministrationRegion(o[0]);
checkAdministrationRegion(o[1]);
@@ -1075,17 +1075,17 @@ buildVoterInfoResponse() {
var o = new api.VoterInfoResponse();
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- o.contests = buildUnnamed602();
- o.dropOffLocations = buildUnnamed603();
- o.earlyVoteSites = buildUnnamed604();
+ o.contests = buildUnnamed2457();
+ o.dropOffLocations = buildUnnamed2458();
+ o.earlyVoteSites = buildUnnamed2459();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed605();
- o.pollingLocations = buildUnnamed606();
+ o.otherElections = buildUnnamed2460();
+ o.pollingLocations = buildUnnamed2461();
o.precinctId = "foo";
- o.state = buildUnnamed607();
+ o.state = buildUnnamed2462();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1094,68 +1094,68 @@ buildVoterInfoResponse() {
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed602(o.contests);
- checkUnnamed603(o.dropOffLocations);
- checkUnnamed604(o.earlyVoteSites);
+ checkUnnamed2457(o.contests);
+ checkUnnamed2458(o.dropOffLocations);
+ checkUnnamed2459(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed605(o.otherElections);
- checkUnnamed606(o.pollingLocations);
+ checkUnnamed2460(o.otherElections);
+ checkUnnamed2461(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed607(o.state);
+ checkUnnamed2462(o.state);
}
buildCounterVoterInfoResponse--;
}
-buildUnnamed608() {
+buildUnnamed2463() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed608(core.List<core.String> o) {
+checkUnnamed2463(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'));
}
-buildUnnamed609() {
+buildUnnamed2464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed609(core.List<core.String> o) {
+checkUnnamed2464(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'));
}
-buildUnnamed610() {
+buildUnnamed2465() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed610(core.List<core.String> o) {
+checkUnnamed2465(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'));
}
-buildUnnamed611() {
+buildUnnamed2466() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed611(core.List<core.String> o) {
+checkUnnamed2466(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'));
@@ -1501,8 +1501,8 @@ main() {
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
var arg_address = "foo";
var arg_includeOffices = true;
- var arg_levels = buildUnnamed608();
- var arg_roles = buildUnnamed609();
+ var arg_levels = buildUnnamed2463();
+ var arg_roles = buildUnnamed2464();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -1553,9 +1553,9 @@ main() {
var mock = new HttpServerMock();
api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representatives;
var arg_ocdId = "foo";
- var arg_levels = buildUnnamed610();
+ var arg_levels = buildUnnamed2465();
var arg_recursive = true;
- var arg_roles = buildUnnamed611();
+ var arg_roles = buildUnnamed2466();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
« no previous file with comments | « generated/googleapis/test/calendar/v3_test.dart ('k') | generated/googleapis/test/classroom/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698