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

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

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 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/bigquery/v2_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 302b995edc770a208c929a203a0b2af261a33b7a..cb38e29c40b5c55815e6f38c37fa87e636394ad8 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);
}
-buildUnnamed2463() {
+buildUnnamed2461() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2463(core.List<api.Source> o) {
+checkUnnamed2461(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 = buildUnnamed2463();
+ o.sources = buildUnnamed2461();
}
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'));
- checkUnnamed2463(o.sources);
+ checkUnnamed2461(o.sources);
}
buildCounterAdministrationRegion--;
}
-buildUnnamed2464() {
+buildUnnamed2462() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2464(core.List<core.String> o) {
+checkUnnamed2462(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'));
}
-buildUnnamed2465() {
+buildUnnamed2463() {
var o = new core.List<api.ElectionOfficial>();
o.add(buildElectionOfficial());
o.add(buildElectionOfficial());
return o;
}
-checkUnnamed2465(core.List<api.ElectionOfficial> o) {
+checkUnnamed2463(core.List<api.ElectionOfficial> o) {
unittest.expect(o, unittest.hasLength(2));
checkElectionOfficial(o[0]);
checkElectionOfficial(o[1]);
}
-buildUnnamed2466() {
+buildUnnamed2464() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2466(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'));
@@ -136,18 +136,18 @@ buildAdministrativeBody() {
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
o.absenteeVotingInfoUrl = "foo";
- o.addressLines = buildUnnamed2464();
+ o.addressLines = buildUnnamed2462();
o.ballotInfoUrl = "foo";
o.correspondenceAddress = buildSimpleAddressType();
o.electionInfoUrl = "foo";
- o.electionOfficials = buildUnnamed2465();
+ o.electionOfficials = buildUnnamed2463();
o.electionRegistrationConfirmationUrl = "foo";
o.electionRegistrationUrl = "foo";
o.electionRulesUrl = "foo";
o.hoursOfOperation = "foo";
o.name = "foo";
o.physicalAddress = buildSimpleAddressType();
- o.voterServices = buildUnnamed2466();
+ o.voterServices = buildUnnamed2464();
o.votingLocationFinderUrl = "foo";
}
buildCounterAdministrativeBody--;
@@ -158,31 +158,31 @@ checkAdministrativeBody(api.AdministrativeBody o) {
buildCounterAdministrativeBody++;
if (buildCounterAdministrativeBody < 3) {
unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
- checkUnnamed2464(o.addressLines);
+ checkUnnamed2462(o.addressLines);
unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
checkSimpleAddressType(o.correspondenceAddress);
unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
- checkUnnamed2465(o.electionOfficials);
+ checkUnnamed2463(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);
- checkUnnamed2466(o.voterServices);
+ checkUnnamed2464(o.voterServices);
unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
}
buildCounterAdministrativeBody--;
}
-buildUnnamed2467() {
+buildUnnamed2465() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2467(core.List<api.Channel> o) {
+checkUnnamed2465(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 = buildUnnamed2467();
+ o.channels = buildUnnamed2465();
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'));
- checkUnnamed2467(o.channels);
+ checkUnnamed2465(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--;
}
-buildUnnamed2468() {
+buildUnnamed2466() {
var o = new core.List<api.Candidate>();
o.add(buildCandidate());
o.add(buildCandidate());
return o;
}
-checkUnnamed2468(core.List<api.Candidate> o) {
+checkUnnamed2466(core.List<api.Candidate> o) {
unittest.expect(o, unittest.hasLength(2));
checkCandidate(o[0]);
checkCandidate(o[1]);
}
-buildUnnamed2469() {
+buildUnnamed2467() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2469(core.List<core.String> o) {
+checkUnnamed2467(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'));
}
-buildUnnamed2470() {
+buildUnnamed2468() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2470(core.List<core.String> o) {
+checkUnnamed2468(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'));
}
-buildUnnamed2471() {
+buildUnnamed2469() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2471(core.List<core.String> o) {
+checkUnnamed2469(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'));
}
-buildUnnamed2472() {
+buildUnnamed2470() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2472(core.List<api.Source> o) {
+checkUnnamed2470(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 = buildUnnamed2468();
+ o.candidates = buildUnnamed2466();
o.district = buildElectoralDistrict();
o.electorateSpecifications = "foo";
o.id = "foo";
- o.level = buildUnnamed2469();
+ o.level = buildUnnamed2467();
o.numberElected = "foo";
o.numberVotingFor = "foo";
o.office = "foo";
o.primaryParty = "foo";
- o.referendumBallotResponses = buildUnnamed2470();
+ o.referendumBallotResponses = buildUnnamed2468();
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 = buildUnnamed2471();
- o.sources = buildUnnamed2472();
+ o.roles = buildUnnamed2469();
+ o.sources = buildUnnamed2470();
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'));
- checkUnnamed2468(o.candidates);
+ checkUnnamed2466(o.candidates);
checkElectoralDistrict(o.district);
unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed2469(o.level);
+ checkUnnamed2467(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'));
- checkUnnamed2470(o.referendumBallotResponses);
+ checkUnnamed2468(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'));
- checkUnnamed2471(o.roles);
- checkUnnamed2472(o.sources);
+ checkUnnamed2469(o.roles);
+ checkUnnamed2470(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--;
}
-buildUnnamed2473() {
+buildUnnamed2471() {
var o = new core.List<api.DivisionSearchResult>();
o.add(buildDivisionSearchResult());
o.add(buildDivisionSearchResult());
return o;
}
-checkUnnamed2473(core.List<api.DivisionSearchResult> o) {
+checkUnnamed2471(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 = buildUnnamed2473();
+ o.results = buildUnnamed2471();
}
buildCounterDivisionSearchResponse--;
return o;
@@ -458,19 +458,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
buildCounterDivisionSearchResponse++;
if (buildCounterDivisionSearchResponse < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed2473(o.results);
+ checkUnnamed2471(o.results);
}
buildCounterDivisionSearchResponse--;
}
-buildUnnamed2474() {
+buildUnnamed2472() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2474(core.List<core.String> o) {
+checkUnnamed2472(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 = buildUnnamed2474();
+ o.aliases = buildUnnamed2472();
o.name = "foo";
o.ocdId = "foo";
}
@@ -492,7 +492,7 @@ buildDivisionSearchResult() {
checkDivisionSearchResult(api.DivisionSearchResult o) {
buildCounterDivisionSearchResult++;
if (buildCounterDivisionSearchResult < 3) {
- checkUnnamed2474(o.aliases);
+ checkUnnamed2472(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--;
}
-buildUnnamed2475() {
+buildUnnamed2473() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2475(core.List<api.Election> o) {
+checkUnnamed2473(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 = buildUnnamed2475();
+ o.elections = buildUnnamed2473();
o.kind = "foo";
}
buildCounterElectionsQueryResponse--;
@@ -598,7 +598,7 @@ buildElectionsQueryResponse() {
checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
buildCounterElectionsQueryResponse++;
if (buildCounterElectionsQueryResponse < 3) {
- checkUnnamed2475(o.elections);
+ checkUnnamed2473(o.elections);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterElectionsQueryResponse--;
@@ -629,27 +629,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
buildCounterElectoralDistrict--;
}
-buildUnnamed2476() {
+buildUnnamed2474() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2476(core.List<core.String> o) {
+checkUnnamed2474(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'));
}
-buildUnnamed2477() {
+buildUnnamed2475() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2477(core.List<core.int> o) {
+checkUnnamed2475(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 = buildUnnamed2476();
+ o.alsoKnownAs = buildUnnamed2474();
o.name = "foo";
- o.officeIndices = buildUnnamed2477();
+ o.officeIndices = buildUnnamed2475();
}
buildCounterGeographicDivision--;
return o;
@@ -671,60 +671,60 @@ buildGeographicDivision() {
checkGeographicDivision(api.GeographicDivision o) {
buildCounterGeographicDivision++;
if (buildCounterGeographicDivision < 3) {
- checkUnnamed2476(o.alsoKnownAs);
+ checkUnnamed2474(o.alsoKnownAs);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2477(o.officeIndices);
+ checkUnnamed2475(o.officeIndices);
}
buildCounterGeographicDivision--;
}
-buildUnnamed2478() {
+buildUnnamed2476() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2478(core.List<core.String> o) {
+checkUnnamed2476(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'));
}
-buildUnnamed2479() {
+buildUnnamed2477() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2479(core.List<core.int> o) {
+checkUnnamed2477(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));
}
-buildUnnamed2480() {
+buildUnnamed2478() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2480(core.List<core.String> o) {
+checkUnnamed2478(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'));
}
-buildUnnamed2481() {
+buildUnnamed2479() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2481(core.List<api.Source> o) {
+checkUnnamed2479(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 = buildUnnamed2478();
+ o.levels = buildUnnamed2476();
o.name = "foo";
- o.officialIndices = buildUnnamed2479();
- o.roles = buildUnnamed2480();
- o.sources = buildUnnamed2481();
+ o.officialIndices = buildUnnamed2477();
+ o.roles = buildUnnamed2478();
+ o.sources = buildUnnamed2479();
}
buildCounterOffice--;
return o;
@@ -750,75 +750,75 @@ checkOffice(api.Office o) {
buildCounterOffice++;
if (buildCounterOffice < 3) {
unittest.expect(o.divisionId, unittest.equals('foo'));
- checkUnnamed2478(o.levels);
+ checkUnnamed2476(o.levels);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed2479(o.officialIndices);
- checkUnnamed2480(o.roles);
- checkUnnamed2481(o.sources);
+ checkUnnamed2477(o.officialIndices);
+ checkUnnamed2478(o.roles);
+ checkUnnamed2479(o.sources);
}
buildCounterOffice--;
}
-buildUnnamed2482() {
+buildUnnamed2480() {
var o = new core.List<api.SimpleAddressType>();
o.add(buildSimpleAddressType());
o.add(buildSimpleAddressType());
return o;
}
-checkUnnamed2482(core.List<api.SimpleAddressType> o) {
+checkUnnamed2480(core.List<api.SimpleAddressType> o) {
unittest.expect(o, unittest.hasLength(2));
checkSimpleAddressType(o[0]);
checkSimpleAddressType(o[1]);
}
-buildUnnamed2483() {
+buildUnnamed2481() {
var o = new core.List<api.Channel>();
o.add(buildChannel());
o.add(buildChannel());
return o;
}
-checkUnnamed2483(core.List<api.Channel> o) {
+checkUnnamed2481(core.List<api.Channel> o) {
unittest.expect(o, unittest.hasLength(2));
checkChannel(o[0]);
checkChannel(o[1]);
}
-buildUnnamed2484() {
+buildUnnamed2482() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2484(core.List<core.String> o) {
+checkUnnamed2482(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'));
}
-buildUnnamed2485() {
+buildUnnamed2483() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2485(core.List<core.String> o) {
+checkUnnamed2483(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'));
}
-buildUnnamed2486() {
+buildUnnamed2484() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2486(core.List<core.String> o) {
+checkUnnamed2484(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 = buildUnnamed2482();
- o.channels = buildUnnamed2483();
- o.emails = buildUnnamed2484();
+ o.address = buildUnnamed2480();
+ o.channels = buildUnnamed2481();
+ o.emails = buildUnnamed2482();
o.name = "foo";
o.party = "foo";
- o.phones = buildUnnamed2485();
+ o.phones = buildUnnamed2483();
o.photoUrl = "foo";
- o.urls = buildUnnamed2486();
+ o.urls = buildUnnamed2484();
}
buildCounterOfficial--;
return o;
@@ -845,26 +845,26 @@ buildOfficial() {
checkOfficial(api.Official o) {
buildCounterOfficial++;
if (buildCounterOfficial < 3) {
- checkUnnamed2482(o.address);
- checkUnnamed2483(o.channels);
- checkUnnamed2484(o.emails);
+ checkUnnamed2480(o.address);
+ checkUnnamed2481(o.channels);
+ checkUnnamed2482(o.emails);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.party, unittest.equals('foo'));
- checkUnnamed2485(o.phones);
+ checkUnnamed2483(o.phones);
unittest.expect(o.photoUrl, unittest.equals('foo'));
- checkUnnamed2486(o.urls);
+ checkUnnamed2484(o.urls);
}
buildCounterOfficial--;
}
-buildUnnamed2487() {
+buildUnnamed2485() {
var o = new core.List<api.Source>();
o.add(buildSource());
o.add(buildSource());
return o;
}
-checkUnnamed2487(core.List<api.Source> o) {
+checkUnnamed2485(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 = buildUnnamed2487();
+ o.sources = buildUnnamed2485();
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'));
- checkUnnamed2487(o.sources);
+ checkUnnamed2485(o.sources);
unittest.expect(o.startDate, unittest.equals('foo'));
unittest.expect(o.voterServices, unittest.equals('foo'));
}
buildCounterPollingLocation--;
}
-buildUnnamed2488() {
+buildUnnamed2486() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2488(core.List<core.String> o) {
+checkUnnamed2486(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 = buildUnnamed2488();
+ o.addressLines = buildUnnamed2486();
o.administrativeAreaName = "foo";
o.countryName = "foo";
o.countryNameCode = "foo";
@@ -962,7 +962,7 @@ buildPostalAddress() {
checkPostalAddress(api.PostalAddress o) {
buildCounterPostalAddress++;
if (buildCounterPostalAddress < 3) {
- checkUnnamed2488(o.addressLines);
+ checkUnnamed2486(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--;
}
-buildUnnamed2489() {
+buildUnnamed2487() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2489(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2487(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2490() {
+buildUnnamed2488() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2490(core.List<api.Office> o) {
+checkUnnamed2488(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2491() {
+buildUnnamed2489() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2491(core.List<api.Official> o) {
+checkUnnamed2489(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 = buildUnnamed2489();
- o.offices = buildUnnamed2490();
- o.officials = buildUnnamed2491();
+ o.divisions = buildUnnamed2487();
+ o.offices = buildUnnamed2488();
+ o.officials = buildUnnamed2489();
}
buildCounterRepresentativeInfoData--;
return o;
@@ -1052,9 +1052,9 @@ buildRepresentativeInfoData() {
checkRepresentativeInfoData(api.RepresentativeInfoData o) {
buildCounterRepresentativeInfoData++;
if (buildCounterRepresentativeInfoData < 3) {
- checkUnnamed2489(o.divisions);
- checkUnnamed2490(o.offices);
- checkUnnamed2491(o.officials);
+ checkUnnamed2487(o.divisions);
+ checkUnnamed2488(o.offices);
+ checkUnnamed2489(o.officials);
}
buildCounterRepresentativeInfoData--;
}
@@ -1078,40 +1078,40 @@ checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) {
buildCounterRepresentativeInfoRequest--;
}
-buildUnnamed2492() {
+buildUnnamed2490() {
var o = new core.Map<core.String, api.GeographicDivision>();
o["x"] = buildGeographicDivision();
o["y"] = buildGeographicDivision();
return o;
}
-checkUnnamed2492(core.Map<core.String, api.GeographicDivision> o) {
+checkUnnamed2490(core.Map<core.String, api.GeographicDivision> o) {
unittest.expect(o, unittest.hasLength(2));
checkGeographicDivision(o["x"]);
checkGeographicDivision(o["y"]);
}
-buildUnnamed2493() {
+buildUnnamed2491() {
var o = new core.List<api.Office>();
o.add(buildOffice());
o.add(buildOffice());
return o;
}
-checkUnnamed2493(core.List<api.Office> o) {
+checkUnnamed2491(core.List<api.Office> o) {
unittest.expect(o, unittest.hasLength(2));
checkOffice(o[0]);
checkOffice(o[1]);
}
-buildUnnamed2494() {
+buildUnnamed2492() {
var o = new core.List<api.Official>();
o.add(buildOfficial());
o.add(buildOfficial());
return o;
}
-checkUnnamed2494(core.List<api.Official> o) {
+checkUnnamed2492(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 = buildUnnamed2492();
+ o.divisions = buildUnnamed2490();
o.kind = "foo";
o.normalizedInput = buildSimpleAddressType();
- o.offices = buildUnnamed2493();
- o.officials = buildUnnamed2494();
+ o.offices = buildUnnamed2491();
+ o.officials = buildUnnamed2492();
}
buildCounterRepresentativeInfoResponse--;
return o;
@@ -1135,11 +1135,11 @@ buildRepresentativeInfoResponse() {
checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
buildCounterRepresentativeInfoResponse++;
if (buildCounterRepresentativeInfoResponse < 3) {
- checkUnnamed2492(o.divisions);
+ checkUnnamed2490(o.divisions);
unittest.expect(o.kind, unittest.equals('foo'));
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2493(o.offices);
- checkUnnamed2494(o.officials);
+ checkUnnamed2491(o.offices);
+ checkUnnamed2492(o.officials);
}
buildCounterRepresentativeInfoResponse--;
}
@@ -1217,79 +1217,79 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
buildCounterVoterInfoRequest--;
}
-buildUnnamed2495() {
+buildUnnamed2493() {
var o = new core.List<api.Contest>();
o.add(buildContest());
o.add(buildContest());
return o;
}
-checkUnnamed2495(core.List<api.Contest> o) {
+checkUnnamed2493(core.List<api.Contest> o) {
unittest.expect(o, unittest.hasLength(2));
checkContest(o[0]);
checkContest(o[1]);
}
-buildUnnamed2496() {
+buildUnnamed2494() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2496(core.List<api.PollingLocation> o) {
+checkUnnamed2494(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2497() {
+buildUnnamed2495() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2497(core.List<api.PollingLocation> o) {
+checkUnnamed2495(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2498() {
+buildUnnamed2496() {
var o = new core.List<api.Election>();
o.add(buildElection());
o.add(buildElection());
return o;
}
-checkUnnamed2498(core.List<api.Election> o) {
+checkUnnamed2496(core.List<api.Election> o) {
unittest.expect(o, unittest.hasLength(2));
checkElection(o[0]);
checkElection(o[1]);
}
-buildUnnamed2499() {
+buildUnnamed2497() {
var o = new core.List<api.PollingLocation>();
o.add(buildPollingLocation());
o.add(buildPollingLocation());
return o;
}
-checkUnnamed2499(core.List<api.PollingLocation> o) {
+checkUnnamed2497(core.List<api.PollingLocation> o) {
unittest.expect(o, unittest.hasLength(2));
checkPollingLocation(o[0]);
checkPollingLocation(o[1]);
}
-buildUnnamed2500() {
+buildUnnamed2498() {
var o = new core.List<api.AdministrationRegion>();
o.add(buildAdministrationRegion());
o.add(buildAdministrationRegion());
return o;
}
-checkUnnamed2500(core.List<api.AdministrationRegion> o) {
+checkUnnamed2498(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 = buildUnnamed2495();
- o.dropOffLocations = buildUnnamed2496();
- o.earlyVoteSites = buildUnnamed2497();
+ o.contests = buildUnnamed2493();
+ o.dropOffLocations = buildUnnamed2494();
+ o.earlyVoteSites = buildUnnamed2495();
o.election = buildElection();
o.kind = "foo";
o.mailOnly = true;
o.normalizedInput = buildSimpleAddressType();
- o.otherElections = buildUnnamed2498();
- o.pollingLocations = buildUnnamed2499();
+ o.otherElections = buildUnnamed2496();
+ o.pollingLocations = buildUnnamed2497();
o.precinctId = "foo";
- o.state = buildUnnamed2500();
+ o.state = buildUnnamed2498();
}
buildCounterVoterInfoResponse--;
return o;
@@ -1319,17 +1319,17 @@ buildVoterInfoResponse() {
checkVoterInfoResponse(api.VoterInfoResponse o) {
buildCounterVoterInfoResponse++;
if (buildCounterVoterInfoResponse < 3) {
- checkUnnamed2495(o.contests);
- checkUnnamed2496(o.dropOffLocations);
- checkUnnamed2497(o.earlyVoteSites);
+ checkUnnamed2493(o.contests);
+ checkUnnamed2494(o.dropOffLocations);
+ checkUnnamed2495(o.earlyVoteSites);
checkElection(o.election);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.mailOnly, unittest.isTrue);
checkSimpleAddressType(o.normalizedInput);
- checkUnnamed2498(o.otherElections);
- checkUnnamed2499(o.pollingLocations);
+ checkUnnamed2496(o.otherElections);
+ checkUnnamed2497(o.pollingLocations);
unittest.expect(o.precinctId, unittest.equals('foo'));
- checkUnnamed2500(o.state);
+ checkUnnamed2498(o.state);
}
buildCounterVoterInfoResponse--;
}
@@ -1359,53 +1359,53 @@ checkVoterInfoSegmentResult(api.VoterInfoSegmentResult o) {
buildCounterVoterInfoSegmentResult--;
}
-buildUnnamed2501() {
+buildUnnamed2499() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2501(core.List<core.String> o) {
+checkUnnamed2499(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'));
}
-buildUnnamed2502() {
+buildUnnamed2500() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2502(core.List<core.String> o) {
+checkUnnamed2500(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'));
}
-buildUnnamed2503() {
+buildUnnamed2501() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2503(core.List<core.String> o) {
+checkUnnamed2501(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'));
}
-buildUnnamed2504() {
+buildUnnamed2502() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2504(core.List<core.String> o) {
+checkUnnamed2502(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 = buildUnnamed2501();
- var arg_roles = buildUnnamed2502();
+ var arg_levels = buildUnnamed2499();
+ var arg_roles = buildUnnamed2500();
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 = buildUnnamed2503();
+ var arg_levels = buildUnnamed2501();
var arg_recursive = true;
- var arg_roles = buildUnnamed2504();
+ var arg_roles = buildUnnamed2502();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
checkDivisionRepresentativeInfoRequest(obj);
« no previous file with comments | « generated/googleapis/test/bigquery/v2_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