| 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 cb38e29c40b5c55815e6f38c37fa87e636394ad8..f691544ad700abb2a058cde8401f504511ab2b6a 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);
|
| }
|
|
|
| -buildUnnamed2461() {
|
| +buildUnnamed2555() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2461(core.List<api.Source> o) {
|
| +checkUnnamed2555(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 = buildUnnamed2461();
|
| + o.sources = buildUnnamed2555();
|
| }
|
| 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'));
|
| - checkUnnamed2461(o.sources);
|
| + checkUnnamed2555(o.sources);
|
| }
|
| buildCounterAdministrationRegion--;
|
| }
|
|
|
| -buildUnnamed2462() {
|
| +buildUnnamed2556() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2462(core.List<core.String> o) {
|
| +checkUnnamed2556(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'));
|
| }
|
|
|
| -buildUnnamed2463() {
|
| +buildUnnamed2557() {
|
| var o = new core.List<api.ElectionOfficial>();
|
| o.add(buildElectionOfficial());
|
| o.add(buildElectionOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2463(core.List<api.ElectionOfficial> o) {
|
| +checkUnnamed2557(core.List<api.ElectionOfficial> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElectionOfficial(o[0]);
|
| checkElectionOfficial(o[1]);
|
| }
|
|
|
| -buildUnnamed2464() {
|
| +buildUnnamed2558() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2464(core.List<core.String> o) {
|
| +checkUnnamed2558(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 = buildUnnamed2462();
|
| + o.addressLines = buildUnnamed2556();
|
| o.ballotInfoUrl = "foo";
|
| o.correspondenceAddress = buildSimpleAddressType();
|
| o.electionInfoUrl = "foo";
|
| - o.electionOfficials = buildUnnamed2463();
|
| + o.electionOfficials = buildUnnamed2557();
|
| o.electionRegistrationConfirmationUrl = "foo";
|
| o.electionRegistrationUrl = "foo";
|
| o.electionRulesUrl = "foo";
|
| o.hoursOfOperation = "foo";
|
| o.name = "foo";
|
| o.physicalAddress = buildSimpleAddressType();
|
| - o.voterServices = buildUnnamed2464();
|
| + o.voterServices = buildUnnamed2558();
|
| o.votingLocationFinderUrl = "foo";
|
| }
|
| buildCounterAdministrativeBody--;
|
| @@ -158,31 +158,31 @@ checkAdministrativeBody(api.AdministrativeBody o) {
|
| buildCounterAdministrativeBody++;
|
| if (buildCounterAdministrativeBody < 3) {
|
| unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed2462(o.addressLines);
|
| + checkUnnamed2556(o.addressLines);
|
| unittest.expect(o.ballotInfoUrl, unittest.equals('foo'));
|
| checkSimpleAddressType(o.correspondenceAddress);
|
| unittest.expect(o.electionInfoUrl, unittest.equals('foo'));
|
| - checkUnnamed2463(o.electionOfficials);
|
| + checkUnnamed2557(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);
|
| - checkUnnamed2464(o.voterServices);
|
| + checkUnnamed2558(o.voterServices);
|
| unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo'));
|
| }
|
| buildCounterAdministrativeBody--;
|
| }
|
|
|
| -buildUnnamed2465() {
|
| +buildUnnamed2559() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2465(core.List<api.Channel> o) {
|
| +checkUnnamed2559(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 = buildUnnamed2465();
|
| + o.channels = buildUnnamed2559();
|
| 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'));
|
| - checkUnnamed2465(o.channels);
|
| + checkUnnamed2559(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--;
|
| }
|
|
|
| -buildUnnamed2466() {
|
| +buildUnnamed2560() {
|
| var o = new core.List<api.Candidate>();
|
| o.add(buildCandidate());
|
| o.add(buildCandidate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2466(core.List<api.Candidate> o) {
|
| +checkUnnamed2560(core.List<api.Candidate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCandidate(o[0]);
|
| checkCandidate(o[1]);
|
| }
|
|
|
| -buildUnnamed2467() {
|
| +buildUnnamed2561() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2467(core.List<core.String> o) {
|
| +checkUnnamed2561(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'));
|
| }
|
|
|
| -buildUnnamed2468() {
|
| +buildUnnamed2562() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2468(core.List<core.String> o) {
|
| +checkUnnamed2562(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'));
|
| }
|
|
|
| -buildUnnamed2469() {
|
| +buildUnnamed2563() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2469(core.List<core.String> o) {
|
| +checkUnnamed2563(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() {
|
| +buildUnnamed2564() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2470(core.List<api.Source> o) {
|
| +checkUnnamed2564(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 = buildUnnamed2466();
|
| + o.candidates = buildUnnamed2560();
|
| o.district = buildElectoralDistrict();
|
| o.electorateSpecifications = "foo";
|
| o.id = "foo";
|
| - o.level = buildUnnamed2467();
|
| + o.level = buildUnnamed2561();
|
| o.numberElected = "foo";
|
| o.numberVotingFor = "foo";
|
| o.office = "foo";
|
| o.primaryParty = "foo";
|
| - o.referendumBallotResponses = buildUnnamed2468();
|
| + o.referendumBallotResponses = buildUnnamed2562();
|
| 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 = buildUnnamed2469();
|
| - o.sources = buildUnnamed2470();
|
| + o.roles = buildUnnamed2563();
|
| + o.sources = buildUnnamed2564();
|
| 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'));
|
| - checkUnnamed2466(o.candidates);
|
| + checkUnnamed2560(o.candidates);
|
| checkElectoralDistrict(o.district);
|
| unittest.expect(o.electorateSpecifications, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed2467(o.level);
|
| + checkUnnamed2561(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'));
|
| - checkUnnamed2468(o.referendumBallotResponses);
|
| + checkUnnamed2562(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'));
|
| - checkUnnamed2469(o.roles);
|
| - checkUnnamed2470(o.sources);
|
| + checkUnnamed2563(o.roles);
|
| + checkUnnamed2564(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--;
|
| }
|
|
|
| -buildUnnamed2471() {
|
| +buildUnnamed2565() {
|
| var o = new core.List<api.DivisionSearchResult>();
|
| o.add(buildDivisionSearchResult());
|
| o.add(buildDivisionSearchResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2471(core.List<api.DivisionSearchResult> o) {
|
| +checkUnnamed2565(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 = buildUnnamed2471();
|
| + o.results = buildUnnamed2565();
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| return o;
|
| @@ -458,19 +458,19 @@ checkDivisionSearchResponse(api.DivisionSearchResponse o) {
|
| buildCounterDivisionSearchResponse++;
|
| if (buildCounterDivisionSearchResponse < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2471(o.results);
|
| + checkUnnamed2565(o.results);
|
| }
|
| buildCounterDivisionSearchResponse--;
|
| }
|
|
|
| -buildUnnamed2472() {
|
| +buildUnnamed2566() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2472(core.List<core.String> o) {
|
| +checkUnnamed2566(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 = buildUnnamed2472();
|
| + o.aliases = buildUnnamed2566();
|
| o.name = "foo";
|
| o.ocdId = "foo";
|
| }
|
| @@ -492,7 +492,7 @@ buildDivisionSearchResult() {
|
| checkDivisionSearchResult(api.DivisionSearchResult o) {
|
| buildCounterDivisionSearchResult++;
|
| if (buildCounterDivisionSearchResult < 3) {
|
| - checkUnnamed2472(o.aliases);
|
| + checkUnnamed2566(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--;
|
| }
|
|
|
| -buildUnnamed2473() {
|
| +buildUnnamed2567() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2473(core.List<api.Election> o) {
|
| +checkUnnamed2567(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 = buildUnnamed2473();
|
| + o.elections = buildUnnamed2567();
|
| o.kind = "foo";
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -598,7 +598,7 @@ buildElectionsQueryResponse() {
|
| checkElectionsQueryResponse(api.ElectionsQueryResponse o) {
|
| buildCounterElectionsQueryResponse++;
|
| if (buildCounterElectionsQueryResponse < 3) {
|
| - checkUnnamed2473(o.elections);
|
| + checkUnnamed2567(o.elections);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterElectionsQueryResponse--;
|
| @@ -629,27 +629,27 @@ checkElectoralDistrict(api.ElectoralDistrict o) {
|
| buildCounterElectoralDistrict--;
|
| }
|
|
|
| -buildUnnamed2474() {
|
| +buildUnnamed2568() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2474(core.List<core.String> o) {
|
| +checkUnnamed2568(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'));
|
| }
|
|
|
| -buildUnnamed2475() {
|
| +buildUnnamed2569() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2475(core.List<core.int> o) {
|
| +checkUnnamed2569(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 = buildUnnamed2474();
|
| + o.alsoKnownAs = buildUnnamed2568();
|
| o.name = "foo";
|
| - o.officeIndices = buildUnnamed2475();
|
| + o.officeIndices = buildUnnamed2569();
|
| }
|
| buildCounterGeographicDivision--;
|
| return o;
|
| @@ -671,60 +671,60 @@ buildGeographicDivision() {
|
| checkGeographicDivision(api.GeographicDivision o) {
|
| buildCounterGeographicDivision++;
|
| if (buildCounterGeographicDivision < 3) {
|
| - checkUnnamed2474(o.alsoKnownAs);
|
| + checkUnnamed2568(o.alsoKnownAs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2475(o.officeIndices);
|
| + checkUnnamed2569(o.officeIndices);
|
| }
|
| buildCounterGeographicDivision--;
|
| }
|
|
|
| -buildUnnamed2476() {
|
| +buildUnnamed2570() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2476(core.List<core.String> o) {
|
| +checkUnnamed2570(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() {
|
| +buildUnnamed2571() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2477(core.List<core.int> o) {
|
| +checkUnnamed2571(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));
|
| }
|
|
|
| -buildUnnamed2478() {
|
| +buildUnnamed2572() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2478(core.List<core.String> o) {
|
| +checkUnnamed2572(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() {
|
| +buildUnnamed2573() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2479(core.List<api.Source> o) {
|
| +checkUnnamed2573(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 = buildUnnamed2476();
|
| + o.levels = buildUnnamed2570();
|
| o.name = "foo";
|
| - o.officialIndices = buildUnnamed2477();
|
| - o.roles = buildUnnamed2478();
|
| - o.sources = buildUnnamed2479();
|
| + o.officialIndices = buildUnnamed2571();
|
| + o.roles = buildUnnamed2572();
|
| + o.sources = buildUnnamed2573();
|
| }
|
| buildCounterOffice--;
|
| return o;
|
| @@ -750,75 +750,75 @@ checkOffice(api.Office o) {
|
| buildCounterOffice++;
|
| if (buildCounterOffice < 3) {
|
| unittest.expect(o.divisionId, unittest.equals('foo'));
|
| - checkUnnamed2476(o.levels);
|
| + checkUnnamed2570(o.levels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2477(o.officialIndices);
|
| - checkUnnamed2478(o.roles);
|
| - checkUnnamed2479(o.sources);
|
| + checkUnnamed2571(o.officialIndices);
|
| + checkUnnamed2572(o.roles);
|
| + checkUnnamed2573(o.sources);
|
| }
|
| buildCounterOffice--;
|
| }
|
|
|
| -buildUnnamed2480() {
|
| +buildUnnamed2574() {
|
| var o = new core.List<api.SimpleAddressType>();
|
| o.add(buildSimpleAddressType());
|
| o.add(buildSimpleAddressType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2480(core.List<api.SimpleAddressType> o) {
|
| +checkUnnamed2574(core.List<api.SimpleAddressType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSimpleAddressType(o[0]);
|
| checkSimpleAddressType(o[1]);
|
| }
|
|
|
| -buildUnnamed2481() {
|
| +buildUnnamed2575() {
|
| var o = new core.List<api.Channel>();
|
| o.add(buildChannel());
|
| o.add(buildChannel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2481(core.List<api.Channel> o) {
|
| +checkUnnamed2575(core.List<api.Channel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChannel(o[0]);
|
| checkChannel(o[1]);
|
| }
|
|
|
| -buildUnnamed2482() {
|
| +buildUnnamed2576() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2482(core.List<core.String> o) {
|
| +checkUnnamed2576(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'));
|
| }
|
|
|
| -buildUnnamed2483() {
|
| +buildUnnamed2577() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2483(core.List<core.String> o) {
|
| +checkUnnamed2577(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'));
|
| }
|
|
|
| -buildUnnamed2484() {
|
| +buildUnnamed2578() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2484(core.List<core.String> o) {
|
| +checkUnnamed2578(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 = buildUnnamed2480();
|
| - o.channels = buildUnnamed2481();
|
| - o.emails = buildUnnamed2482();
|
| + o.address = buildUnnamed2574();
|
| + o.channels = buildUnnamed2575();
|
| + o.emails = buildUnnamed2576();
|
| o.name = "foo";
|
| o.party = "foo";
|
| - o.phones = buildUnnamed2483();
|
| + o.phones = buildUnnamed2577();
|
| o.photoUrl = "foo";
|
| - o.urls = buildUnnamed2484();
|
| + o.urls = buildUnnamed2578();
|
| }
|
| buildCounterOfficial--;
|
| return o;
|
| @@ -845,26 +845,26 @@ buildOfficial() {
|
| checkOfficial(api.Official o) {
|
| buildCounterOfficial++;
|
| if (buildCounterOfficial < 3) {
|
| - checkUnnamed2480(o.address);
|
| - checkUnnamed2481(o.channels);
|
| - checkUnnamed2482(o.emails);
|
| + checkUnnamed2574(o.address);
|
| + checkUnnamed2575(o.channels);
|
| + checkUnnamed2576(o.emails);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.party, unittest.equals('foo'));
|
| - checkUnnamed2483(o.phones);
|
| + checkUnnamed2577(o.phones);
|
| unittest.expect(o.photoUrl, unittest.equals('foo'));
|
| - checkUnnamed2484(o.urls);
|
| + checkUnnamed2578(o.urls);
|
| }
|
| buildCounterOfficial--;
|
| }
|
|
|
| -buildUnnamed2485() {
|
| +buildUnnamed2579() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2485(core.List<api.Source> o) {
|
| +checkUnnamed2579(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 = buildUnnamed2485();
|
| + o.sources = buildUnnamed2579();
|
| 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'));
|
| - checkUnnamed2485(o.sources);
|
| + checkUnnamed2579(o.sources);
|
| unittest.expect(o.startDate, unittest.equals('foo'));
|
| unittest.expect(o.voterServices, unittest.equals('foo'));
|
| }
|
| buildCounterPollingLocation--;
|
| }
|
|
|
| -buildUnnamed2486() {
|
| +buildUnnamed2580() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2486(core.List<core.String> o) {
|
| +checkUnnamed2580(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 = buildUnnamed2486();
|
| + o.addressLines = buildUnnamed2580();
|
| o.administrativeAreaName = "foo";
|
| o.countryName = "foo";
|
| o.countryNameCode = "foo";
|
| @@ -962,7 +962,7 @@ buildPostalAddress() {
|
| checkPostalAddress(api.PostalAddress o) {
|
| buildCounterPostalAddress++;
|
| if (buildCounterPostalAddress < 3) {
|
| - checkUnnamed2486(o.addressLines);
|
| + checkUnnamed2580(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--;
|
| }
|
|
|
| -buildUnnamed2487() {
|
| +buildUnnamed2581() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2487(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed2581(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed2488() {
|
| +buildUnnamed2582() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2488(core.List<api.Office> o) {
|
| +checkUnnamed2582(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed2489() {
|
| +buildUnnamed2583() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2489(core.List<api.Official> o) {
|
| +checkUnnamed2583(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 = buildUnnamed2487();
|
| - o.offices = buildUnnamed2488();
|
| - o.officials = buildUnnamed2489();
|
| + o.divisions = buildUnnamed2581();
|
| + o.offices = buildUnnamed2582();
|
| + o.officials = buildUnnamed2583();
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| return o;
|
| @@ -1052,9 +1052,9 @@ buildRepresentativeInfoData() {
|
| checkRepresentativeInfoData(api.RepresentativeInfoData o) {
|
| buildCounterRepresentativeInfoData++;
|
| if (buildCounterRepresentativeInfoData < 3) {
|
| - checkUnnamed2487(o.divisions);
|
| - checkUnnamed2488(o.offices);
|
| - checkUnnamed2489(o.officials);
|
| + checkUnnamed2581(o.divisions);
|
| + checkUnnamed2582(o.offices);
|
| + checkUnnamed2583(o.officials);
|
| }
|
| buildCounterRepresentativeInfoData--;
|
| }
|
| @@ -1078,40 +1078,40 @@ checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) {
|
| buildCounterRepresentativeInfoRequest--;
|
| }
|
|
|
| -buildUnnamed2490() {
|
| +buildUnnamed2584() {
|
| var o = new core.Map<core.String, api.GeographicDivision>();
|
| o["x"] = buildGeographicDivision();
|
| o["y"] = buildGeographicDivision();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2490(core.Map<core.String, api.GeographicDivision> o) {
|
| +checkUnnamed2584(core.Map<core.String, api.GeographicDivision> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeographicDivision(o["x"]);
|
| checkGeographicDivision(o["y"]);
|
| }
|
|
|
| -buildUnnamed2491() {
|
| +buildUnnamed2585() {
|
| var o = new core.List<api.Office>();
|
| o.add(buildOffice());
|
| o.add(buildOffice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2491(core.List<api.Office> o) {
|
| +checkUnnamed2585(core.List<api.Office> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffice(o[0]);
|
| checkOffice(o[1]);
|
| }
|
|
|
| -buildUnnamed2492() {
|
| +buildUnnamed2586() {
|
| var o = new core.List<api.Official>();
|
| o.add(buildOfficial());
|
| o.add(buildOfficial());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2492(core.List<api.Official> o) {
|
| +checkUnnamed2586(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 = buildUnnamed2490();
|
| + o.divisions = buildUnnamed2584();
|
| o.kind = "foo";
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.offices = buildUnnamed2491();
|
| - o.officials = buildUnnamed2492();
|
| + o.offices = buildUnnamed2585();
|
| + o.officials = buildUnnamed2586();
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| return o;
|
| @@ -1135,11 +1135,11 @@ buildRepresentativeInfoResponse() {
|
| checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) {
|
| buildCounterRepresentativeInfoResponse++;
|
| if (buildCounterRepresentativeInfoResponse < 3) {
|
| - checkUnnamed2490(o.divisions);
|
| + checkUnnamed2584(o.divisions);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed2491(o.offices);
|
| - checkUnnamed2492(o.officials);
|
| + checkUnnamed2585(o.offices);
|
| + checkUnnamed2586(o.officials);
|
| }
|
| buildCounterRepresentativeInfoResponse--;
|
| }
|
| @@ -1217,79 +1217,79 @@ checkVoterInfoRequest(api.VoterInfoRequest o) {
|
| buildCounterVoterInfoRequest--;
|
| }
|
|
|
| -buildUnnamed2493() {
|
| +buildUnnamed2587() {
|
| var o = new core.List<api.Contest>();
|
| o.add(buildContest());
|
| o.add(buildContest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2493(core.List<api.Contest> o) {
|
| +checkUnnamed2587(core.List<api.Contest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContest(o[0]);
|
| checkContest(o[1]);
|
| }
|
|
|
| -buildUnnamed2494() {
|
| +buildUnnamed2588() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2494(core.List<api.PollingLocation> o) {
|
| +checkUnnamed2588(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2495() {
|
| +buildUnnamed2589() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2495(core.List<api.PollingLocation> o) {
|
| +checkUnnamed2589(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2496() {
|
| +buildUnnamed2590() {
|
| var o = new core.List<api.Election>();
|
| o.add(buildElection());
|
| o.add(buildElection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2496(core.List<api.Election> o) {
|
| +checkUnnamed2590(core.List<api.Election> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkElection(o[0]);
|
| checkElection(o[1]);
|
| }
|
|
|
| -buildUnnamed2497() {
|
| +buildUnnamed2591() {
|
| var o = new core.List<api.PollingLocation>();
|
| o.add(buildPollingLocation());
|
| o.add(buildPollingLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2497(core.List<api.PollingLocation> o) {
|
| +checkUnnamed2591(core.List<api.PollingLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPollingLocation(o[0]);
|
| checkPollingLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed2498() {
|
| +buildUnnamed2592() {
|
| var o = new core.List<api.AdministrationRegion>();
|
| o.add(buildAdministrationRegion());
|
| o.add(buildAdministrationRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2498(core.List<api.AdministrationRegion> o) {
|
| +checkUnnamed2592(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 = buildUnnamed2493();
|
| - o.dropOffLocations = buildUnnamed2494();
|
| - o.earlyVoteSites = buildUnnamed2495();
|
| + o.contests = buildUnnamed2587();
|
| + o.dropOffLocations = buildUnnamed2588();
|
| + o.earlyVoteSites = buildUnnamed2589();
|
| o.election = buildElection();
|
| o.kind = "foo";
|
| o.mailOnly = true;
|
| o.normalizedInput = buildSimpleAddressType();
|
| - o.otherElections = buildUnnamed2496();
|
| - o.pollingLocations = buildUnnamed2497();
|
| + o.otherElections = buildUnnamed2590();
|
| + o.pollingLocations = buildUnnamed2591();
|
| o.precinctId = "foo";
|
| - o.state = buildUnnamed2498();
|
| + o.state = buildUnnamed2592();
|
| }
|
| buildCounterVoterInfoResponse--;
|
| return o;
|
| @@ -1319,17 +1319,17 @@ buildVoterInfoResponse() {
|
| checkVoterInfoResponse(api.VoterInfoResponse o) {
|
| buildCounterVoterInfoResponse++;
|
| if (buildCounterVoterInfoResponse < 3) {
|
| - checkUnnamed2493(o.contests);
|
| - checkUnnamed2494(o.dropOffLocations);
|
| - checkUnnamed2495(o.earlyVoteSites);
|
| + checkUnnamed2587(o.contests);
|
| + checkUnnamed2588(o.dropOffLocations);
|
| + checkUnnamed2589(o.earlyVoteSites);
|
| checkElection(o.election);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.mailOnly, unittest.isTrue);
|
| checkSimpleAddressType(o.normalizedInput);
|
| - checkUnnamed2496(o.otherElections);
|
| - checkUnnamed2497(o.pollingLocations);
|
| + checkUnnamed2590(o.otherElections);
|
| + checkUnnamed2591(o.pollingLocations);
|
| unittest.expect(o.precinctId, unittest.equals('foo'));
|
| - checkUnnamed2498(o.state);
|
| + checkUnnamed2592(o.state);
|
| }
|
| buildCounterVoterInfoResponse--;
|
| }
|
| @@ -1359,53 +1359,53 @@ checkVoterInfoSegmentResult(api.VoterInfoSegmentResult o) {
|
| buildCounterVoterInfoSegmentResult--;
|
| }
|
|
|
| -buildUnnamed2499() {
|
| +buildUnnamed2593() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2499(core.List<core.String> o) {
|
| +checkUnnamed2593(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'));
|
| }
|
|
|
| -buildUnnamed2500() {
|
| +buildUnnamed2594() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2500(core.List<core.String> o) {
|
| +checkUnnamed2594(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'));
|
| }
|
|
|
| -buildUnnamed2501() {
|
| +buildUnnamed2595() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2501(core.List<core.String> o) {
|
| +checkUnnamed2595(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() {
|
| +buildUnnamed2596() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2502(core.List<core.String> o) {
|
| +checkUnnamed2596(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 = buildUnnamed2499();
|
| - var arg_roles = buildUnnamed2500();
|
| + var arg_levels = buildUnnamed2593();
|
| + var arg_roles = buildUnnamed2594();
|
| 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 = buildUnnamed2501();
|
| + var arg_levels = buildUnnamed2595();
|
| var arg_recursive = true;
|
| - var arg_roles = buildUnnamed2502();
|
| + var arg_roles = buildUnnamed2596();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json);
|
| checkDivisionRepresentativeInfoRequest(obj);
|
|
|