OLD | NEW |
1 library googleapis.civicinfo.v2.test; | 1 library googleapis.civicinfo.v2.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed2461() { | 54 buildUnnamed2555() { |
55 var o = new core.List<api.Source>(); | 55 var o = new core.List<api.Source>(); |
56 o.add(buildSource()); | 56 o.add(buildSource()); |
57 o.add(buildSource()); | 57 o.add(buildSource()); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed2461(core.List<api.Source> o) { | 61 checkUnnamed2555(core.List<api.Source> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 checkSource(o[0]); | 63 checkSource(o[0]); |
64 checkSource(o[1]); | 64 checkSource(o[1]); |
65 } | 65 } |
66 | 66 |
67 core.int buildCounterAdministrationRegion = 0; | 67 core.int buildCounterAdministrationRegion = 0; |
68 buildAdministrationRegion() { | 68 buildAdministrationRegion() { |
69 var o = new api.AdministrationRegion(); | 69 var o = new api.AdministrationRegion(); |
70 buildCounterAdministrationRegion++; | 70 buildCounterAdministrationRegion++; |
71 if (buildCounterAdministrationRegion < 3) { | 71 if (buildCounterAdministrationRegion < 3) { |
72 o.electionAdministrationBody = buildAdministrativeBody(); | 72 o.electionAdministrationBody = buildAdministrativeBody(); |
73 o.id = "foo"; | 73 o.id = "foo"; |
74 o.localJurisdiction = buildAdministrationRegion(); | 74 o.localJurisdiction = buildAdministrationRegion(); |
75 o.name = "foo"; | 75 o.name = "foo"; |
76 o.sources = buildUnnamed2461(); | 76 o.sources = buildUnnamed2555(); |
77 } | 77 } |
78 buildCounterAdministrationRegion--; | 78 buildCounterAdministrationRegion--; |
79 return o; | 79 return o; |
80 } | 80 } |
81 | 81 |
82 checkAdministrationRegion(api.AdministrationRegion o) { | 82 checkAdministrationRegion(api.AdministrationRegion o) { |
83 buildCounterAdministrationRegion++; | 83 buildCounterAdministrationRegion++; |
84 if (buildCounterAdministrationRegion < 3) { | 84 if (buildCounterAdministrationRegion < 3) { |
85 checkAdministrativeBody(o.electionAdministrationBody); | 85 checkAdministrativeBody(o.electionAdministrationBody); |
86 unittest.expect(o.id, unittest.equals('foo')); | 86 unittest.expect(o.id, unittest.equals('foo')); |
87 checkAdministrationRegion(o.localJurisdiction); | 87 checkAdministrationRegion(o.localJurisdiction); |
88 unittest.expect(o.name, unittest.equals('foo')); | 88 unittest.expect(o.name, unittest.equals('foo')); |
89 checkUnnamed2461(o.sources); | 89 checkUnnamed2555(o.sources); |
90 } | 90 } |
91 buildCounterAdministrationRegion--; | 91 buildCounterAdministrationRegion--; |
92 } | 92 } |
93 | 93 |
94 buildUnnamed2462() { | 94 buildUnnamed2556() { |
95 var o = new core.List<core.String>(); | 95 var o = new core.List<core.String>(); |
96 o.add("foo"); | 96 o.add("foo"); |
97 o.add("foo"); | 97 o.add("foo"); |
98 return o; | 98 return o; |
99 } | 99 } |
100 | 100 |
101 checkUnnamed2462(core.List<core.String> o) { | 101 checkUnnamed2556(core.List<core.String> o) { |
102 unittest.expect(o, unittest.hasLength(2)); | 102 unittest.expect(o, unittest.hasLength(2)); |
103 unittest.expect(o[0], unittest.equals('foo')); | 103 unittest.expect(o[0], unittest.equals('foo')); |
104 unittest.expect(o[1], unittest.equals('foo')); | 104 unittest.expect(o[1], unittest.equals('foo')); |
105 } | 105 } |
106 | 106 |
107 buildUnnamed2463() { | 107 buildUnnamed2557() { |
108 var o = new core.List<api.ElectionOfficial>(); | 108 var o = new core.List<api.ElectionOfficial>(); |
109 o.add(buildElectionOfficial()); | 109 o.add(buildElectionOfficial()); |
110 o.add(buildElectionOfficial()); | 110 o.add(buildElectionOfficial()); |
111 return o; | 111 return o; |
112 } | 112 } |
113 | 113 |
114 checkUnnamed2463(core.List<api.ElectionOfficial> o) { | 114 checkUnnamed2557(core.List<api.ElectionOfficial> o) { |
115 unittest.expect(o, unittest.hasLength(2)); | 115 unittest.expect(o, unittest.hasLength(2)); |
116 checkElectionOfficial(o[0]); | 116 checkElectionOfficial(o[0]); |
117 checkElectionOfficial(o[1]); | 117 checkElectionOfficial(o[1]); |
118 } | 118 } |
119 | 119 |
120 buildUnnamed2464() { | 120 buildUnnamed2558() { |
121 var o = new core.List<core.String>(); | 121 var o = new core.List<core.String>(); |
122 o.add("foo"); | 122 o.add("foo"); |
123 o.add("foo"); | 123 o.add("foo"); |
124 return o; | 124 return o; |
125 } | 125 } |
126 | 126 |
127 checkUnnamed2464(core.List<core.String> o) { | 127 checkUnnamed2558(core.List<core.String> o) { |
128 unittest.expect(o, unittest.hasLength(2)); | 128 unittest.expect(o, unittest.hasLength(2)); |
129 unittest.expect(o[0], unittest.equals('foo')); | 129 unittest.expect(o[0], unittest.equals('foo')); |
130 unittest.expect(o[1], unittest.equals('foo')); | 130 unittest.expect(o[1], unittest.equals('foo')); |
131 } | 131 } |
132 | 132 |
133 core.int buildCounterAdministrativeBody = 0; | 133 core.int buildCounterAdministrativeBody = 0; |
134 buildAdministrativeBody() { | 134 buildAdministrativeBody() { |
135 var o = new api.AdministrativeBody(); | 135 var o = new api.AdministrativeBody(); |
136 buildCounterAdministrativeBody++; | 136 buildCounterAdministrativeBody++; |
137 if (buildCounterAdministrativeBody < 3) { | 137 if (buildCounterAdministrativeBody < 3) { |
138 o.absenteeVotingInfoUrl = "foo"; | 138 o.absenteeVotingInfoUrl = "foo"; |
139 o.addressLines = buildUnnamed2462(); | 139 o.addressLines = buildUnnamed2556(); |
140 o.ballotInfoUrl = "foo"; | 140 o.ballotInfoUrl = "foo"; |
141 o.correspondenceAddress = buildSimpleAddressType(); | 141 o.correspondenceAddress = buildSimpleAddressType(); |
142 o.electionInfoUrl = "foo"; | 142 o.electionInfoUrl = "foo"; |
143 o.electionOfficials = buildUnnamed2463(); | 143 o.electionOfficials = buildUnnamed2557(); |
144 o.electionRegistrationConfirmationUrl = "foo"; | 144 o.electionRegistrationConfirmationUrl = "foo"; |
145 o.electionRegistrationUrl = "foo"; | 145 o.electionRegistrationUrl = "foo"; |
146 o.electionRulesUrl = "foo"; | 146 o.electionRulesUrl = "foo"; |
147 o.hoursOfOperation = "foo"; | 147 o.hoursOfOperation = "foo"; |
148 o.name = "foo"; | 148 o.name = "foo"; |
149 o.physicalAddress = buildSimpleAddressType(); | 149 o.physicalAddress = buildSimpleAddressType(); |
150 o.voterServices = buildUnnamed2464(); | 150 o.voterServices = buildUnnamed2558(); |
151 o.votingLocationFinderUrl = "foo"; | 151 o.votingLocationFinderUrl = "foo"; |
152 } | 152 } |
153 buildCounterAdministrativeBody--; | 153 buildCounterAdministrativeBody--; |
154 return o; | 154 return o; |
155 } | 155 } |
156 | 156 |
157 checkAdministrativeBody(api.AdministrativeBody o) { | 157 checkAdministrativeBody(api.AdministrativeBody o) { |
158 buildCounterAdministrativeBody++; | 158 buildCounterAdministrativeBody++; |
159 if (buildCounterAdministrativeBody < 3) { | 159 if (buildCounterAdministrativeBody < 3) { |
160 unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo')); | 160 unittest.expect(o.absenteeVotingInfoUrl, unittest.equals('foo')); |
161 checkUnnamed2462(o.addressLines); | 161 checkUnnamed2556(o.addressLines); |
162 unittest.expect(o.ballotInfoUrl, unittest.equals('foo')); | 162 unittest.expect(o.ballotInfoUrl, unittest.equals('foo')); |
163 checkSimpleAddressType(o.correspondenceAddress); | 163 checkSimpleAddressType(o.correspondenceAddress); |
164 unittest.expect(o.electionInfoUrl, unittest.equals('foo')); | 164 unittest.expect(o.electionInfoUrl, unittest.equals('foo')); |
165 checkUnnamed2463(o.electionOfficials); | 165 checkUnnamed2557(o.electionOfficials); |
166 unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo'
)); | 166 unittest.expect(o.electionRegistrationConfirmationUrl, unittest.equals('foo'
)); |
167 unittest.expect(o.electionRegistrationUrl, unittest.equals('foo')); | 167 unittest.expect(o.electionRegistrationUrl, unittest.equals('foo')); |
168 unittest.expect(o.electionRulesUrl, unittest.equals('foo')); | 168 unittest.expect(o.electionRulesUrl, unittest.equals('foo')); |
169 unittest.expect(o.hoursOfOperation, unittest.equals('foo')); | 169 unittest.expect(o.hoursOfOperation, unittest.equals('foo')); |
170 unittest.expect(o.name, unittest.equals('foo')); | 170 unittest.expect(o.name, unittest.equals('foo')); |
171 checkSimpleAddressType(o.physicalAddress); | 171 checkSimpleAddressType(o.physicalAddress); |
172 checkUnnamed2464(o.voterServices); | 172 checkUnnamed2558(o.voterServices); |
173 unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); | 173 unittest.expect(o.votingLocationFinderUrl, unittest.equals('foo')); |
174 } | 174 } |
175 buildCounterAdministrativeBody--; | 175 buildCounterAdministrativeBody--; |
176 } | 176 } |
177 | 177 |
178 buildUnnamed2465() { | 178 buildUnnamed2559() { |
179 var o = new core.List<api.Channel>(); | 179 var o = new core.List<api.Channel>(); |
180 o.add(buildChannel()); | 180 o.add(buildChannel()); |
181 o.add(buildChannel()); | 181 o.add(buildChannel()); |
182 return o; | 182 return o; |
183 } | 183 } |
184 | 184 |
185 checkUnnamed2465(core.List<api.Channel> o) { | 185 checkUnnamed2559(core.List<api.Channel> o) { |
186 unittest.expect(o, unittest.hasLength(2)); | 186 unittest.expect(o, unittest.hasLength(2)); |
187 checkChannel(o[0]); | 187 checkChannel(o[0]); |
188 checkChannel(o[1]); | 188 checkChannel(o[1]); |
189 } | 189 } |
190 | 190 |
191 core.int buildCounterCandidate = 0; | 191 core.int buildCounterCandidate = 0; |
192 buildCandidate() { | 192 buildCandidate() { |
193 var o = new api.Candidate(); | 193 var o = new api.Candidate(); |
194 buildCounterCandidate++; | 194 buildCounterCandidate++; |
195 if (buildCounterCandidate < 3) { | 195 if (buildCounterCandidate < 3) { |
196 o.candidateUrl = "foo"; | 196 o.candidateUrl = "foo"; |
197 o.channels = buildUnnamed2465(); | 197 o.channels = buildUnnamed2559(); |
198 o.email = "foo"; | 198 o.email = "foo"; |
199 o.name = "foo"; | 199 o.name = "foo"; |
200 o.orderOnBallot = "foo"; | 200 o.orderOnBallot = "foo"; |
201 o.party = "foo"; | 201 o.party = "foo"; |
202 o.phone = "foo"; | 202 o.phone = "foo"; |
203 o.photoUrl = "foo"; | 203 o.photoUrl = "foo"; |
204 } | 204 } |
205 buildCounterCandidate--; | 205 buildCounterCandidate--; |
206 return o; | 206 return o; |
207 } | 207 } |
208 | 208 |
209 checkCandidate(api.Candidate o) { | 209 checkCandidate(api.Candidate o) { |
210 buildCounterCandidate++; | 210 buildCounterCandidate++; |
211 if (buildCounterCandidate < 3) { | 211 if (buildCounterCandidate < 3) { |
212 unittest.expect(o.candidateUrl, unittest.equals('foo')); | 212 unittest.expect(o.candidateUrl, unittest.equals('foo')); |
213 checkUnnamed2465(o.channels); | 213 checkUnnamed2559(o.channels); |
214 unittest.expect(o.email, unittest.equals('foo')); | 214 unittest.expect(o.email, unittest.equals('foo')); |
215 unittest.expect(o.name, unittest.equals('foo')); | 215 unittest.expect(o.name, unittest.equals('foo')); |
216 unittest.expect(o.orderOnBallot, unittest.equals('foo')); | 216 unittest.expect(o.orderOnBallot, unittest.equals('foo')); |
217 unittest.expect(o.party, unittest.equals('foo')); | 217 unittest.expect(o.party, unittest.equals('foo')); |
218 unittest.expect(o.phone, unittest.equals('foo')); | 218 unittest.expect(o.phone, unittest.equals('foo')); |
219 unittest.expect(o.photoUrl, unittest.equals('foo')); | 219 unittest.expect(o.photoUrl, unittest.equals('foo')); |
220 } | 220 } |
221 buildCounterCandidate--; | 221 buildCounterCandidate--; |
222 } | 222 } |
223 | 223 |
(...skipping 11 matching lines...) Expand all Loading... |
235 | 235 |
236 checkChannel(api.Channel o) { | 236 checkChannel(api.Channel o) { |
237 buildCounterChannel++; | 237 buildCounterChannel++; |
238 if (buildCounterChannel < 3) { | 238 if (buildCounterChannel < 3) { |
239 unittest.expect(o.id, unittest.equals('foo')); | 239 unittest.expect(o.id, unittest.equals('foo')); |
240 unittest.expect(o.type, unittest.equals('foo')); | 240 unittest.expect(o.type, unittest.equals('foo')); |
241 } | 241 } |
242 buildCounterChannel--; | 242 buildCounterChannel--; |
243 } | 243 } |
244 | 244 |
245 buildUnnamed2466() { | 245 buildUnnamed2560() { |
246 var o = new core.List<api.Candidate>(); | 246 var o = new core.List<api.Candidate>(); |
247 o.add(buildCandidate()); | 247 o.add(buildCandidate()); |
248 o.add(buildCandidate()); | 248 o.add(buildCandidate()); |
249 return o; | 249 return o; |
250 } | 250 } |
251 | 251 |
252 checkUnnamed2466(core.List<api.Candidate> o) { | 252 checkUnnamed2560(core.List<api.Candidate> o) { |
253 unittest.expect(o, unittest.hasLength(2)); | 253 unittest.expect(o, unittest.hasLength(2)); |
254 checkCandidate(o[0]); | 254 checkCandidate(o[0]); |
255 checkCandidate(o[1]); | 255 checkCandidate(o[1]); |
256 } | 256 } |
257 | 257 |
258 buildUnnamed2467() { | 258 buildUnnamed2561() { |
259 var o = new core.List<core.String>(); | 259 var o = new core.List<core.String>(); |
260 o.add("foo"); | 260 o.add("foo"); |
261 o.add("foo"); | 261 o.add("foo"); |
262 return o; | 262 return o; |
263 } | 263 } |
264 | 264 |
265 checkUnnamed2467(core.List<core.String> o) { | 265 checkUnnamed2561(core.List<core.String> o) { |
266 unittest.expect(o, unittest.hasLength(2)); | 266 unittest.expect(o, unittest.hasLength(2)); |
267 unittest.expect(o[0], unittest.equals('foo')); | 267 unittest.expect(o[0], unittest.equals('foo')); |
268 unittest.expect(o[1], unittest.equals('foo')); | 268 unittest.expect(o[1], unittest.equals('foo')); |
269 } | 269 } |
270 | 270 |
271 buildUnnamed2468() { | 271 buildUnnamed2562() { |
272 var o = new core.List<core.String>(); | 272 var o = new core.List<core.String>(); |
273 o.add("foo"); | 273 o.add("foo"); |
274 o.add("foo"); | 274 o.add("foo"); |
275 return o; | 275 return o; |
276 } | 276 } |
277 | 277 |
278 checkUnnamed2468(core.List<core.String> o) { | 278 checkUnnamed2562(core.List<core.String> o) { |
279 unittest.expect(o, unittest.hasLength(2)); | 279 unittest.expect(o, unittest.hasLength(2)); |
280 unittest.expect(o[0], unittest.equals('foo')); | 280 unittest.expect(o[0], unittest.equals('foo')); |
281 unittest.expect(o[1], unittest.equals('foo')); | 281 unittest.expect(o[1], unittest.equals('foo')); |
282 } | 282 } |
283 | 283 |
284 buildUnnamed2469() { | 284 buildUnnamed2563() { |
285 var o = new core.List<core.String>(); | 285 var o = new core.List<core.String>(); |
286 o.add("foo"); | 286 o.add("foo"); |
287 o.add("foo"); | 287 o.add("foo"); |
288 return o; | 288 return o; |
289 } | 289 } |
290 | 290 |
291 checkUnnamed2469(core.List<core.String> o) { | 291 checkUnnamed2563(core.List<core.String> o) { |
292 unittest.expect(o, unittest.hasLength(2)); | 292 unittest.expect(o, unittest.hasLength(2)); |
293 unittest.expect(o[0], unittest.equals('foo')); | 293 unittest.expect(o[0], unittest.equals('foo')); |
294 unittest.expect(o[1], unittest.equals('foo')); | 294 unittest.expect(o[1], unittest.equals('foo')); |
295 } | 295 } |
296 | 296 |
297 buildUnnamed2470() { | 297 buildUnnamed2564() { |
298 var o = new core.List<api.Source>(); | 298 var o = new core.List<api.Source>(); |
299 o.add(buildSource()); | 299 o.add(buildSource()); |
300 o.add(buildSource()); | 300 o.add(buildSource()); |
301 return o; | 301 return o; |
302 } | 302 } |
303 | 303 |
304 checkUnnamed2470(core.List<api.Source> o) { | 304 checkUnnamed2564(core.List<api.Source> o) { |
305 unittest.expect(o, unittest.hasLength(2)); | 305 unittest.expect(o, unittest.hasLength(2)); |
306 checkSource(o[0]); | 306 checkSource(o[0]); |
307 checkSource(o[1]); | 307 checkSource(o[1]); |
308 } | 308 } |
309 | 309 |
310 core.int buildCounterContest = 0; | 310 core.int buildCounterContest = 0; |
311 buildContest() { | 311 buildContest() { |
312 var o = new api.Contest(); | 312 var o = new api.Contest(); |
313 buildCounterContest++; | 313 buildCounterContest++; |
314 if (buildCounterContest < 3) { | 314 if (buildCounterContest < 3) { |
315 o.ballotPlacement = "foo"; | 315 o.ballotPlacement = "foo"; |
316 o.candidates = buildUnnamed2466(); | 316 o.candidates = buildUnnamed2560(); |
317 o.district = buildElectoralDistrict(); | 317 o.district = buildElectoralDistrict(); |
318 o.electorateSpecifications = "foo"; | 318 o.electorateSpecifications = "foo"; |
319 o.id = "foo"; | 319 o.id = "foo"; |
320 o.level = buildUnnamed2467(); | 320 o.level = buildUnnamed2561(); |
321 o.numberElected = "foo"; | 321 o.numberElected = "foo"; |
322 o.numberVotingFor = "foo"; | 322 o.numberVotingFor = "foo"; |
323 o.office = "foo"; | 323 o.office = "foo"; |
324 o.primaryParty = "foo"; | 324 o.primaryParty = "foo"; |
325 o.referendumBallotResponses = buildUnnamed2468(); | 325 o.referendumBallotResponses = buildUnnamed2562(); |
326 o.referendumBrief = "foo"; | 326 o.referendumBrief = "foo"; |
327 o.referendumConStatement = "foo"; | 327 o.referendumConStatement = "foo"; |
328 o.referendumEffectOfAbstain = "foo"; | 328 o.referendumEffectOfAbstain = "foo"; |
329 o.referendumPassageThreshold = "foo"; | 329 o.referendumPassageThreshold = "foo"; |
330 o.referendumProStatement = "foo"; | 330 o.referendumProStatement = "foo"; |
331 o.referendumSubtitle = "foo"; | 331 o.referendumSubtitle = "foo"; |
332 o.referendumText = "foo"; | 332 o.referendumText = "foo"; |
333 o.referendumTitle = "foo"; | 333 o.referendumTitle = "foo"; |
334 o.referendumUrl = "foo"; | 334 o.referendumUrl = "foo"; |
335 o.roles = buildUnnamed2469(); | 335 o.roles = buildUnnamed2563(); |
336 o.sources = buildUnnamed2470(); | 336 o.sources = buildUnnamed2564(); |
337 o.special = "foo"; | 337 o.special = "foo"; |
338 o.type = "foo"; | 338 o.type = "foo"; |
339 } | 339 } |
340 buildCounterContest--; | 340 buildCounterContest--; |
341 return o; | 341 return o; |
342 } | 342 } |
343 | 343 |
344 checkContest(api.Contest o) { | 344 checkContest(api.Contest o) { |
345 buildCounterContest++; | 345 buildCounterContest++; |
346 if (buildCounterContest < 3) { | 346 if (buildCounterContest < 3) { |
347 unittest.expect(o.ballotPlacement, unittest.equals('foo')); | 347 unittest.expect(o.ballotPlacement, unittest.equals('foo')); |
348 checkUnnamed2466(o.candidates); | 348 checkUnnamed2560(o.candidates); |
349 checkElectoralDistrict(o.district); | 349 checkElectoralDistrict(o.district); |
350 unittest.expect(o.electorateSpecifications, unittest.equals('foo')); | 350 unittest.expect(o.electorateSpecifications, unittest.equals('foo')); |
351 unittest.expect(o.id, unittest.equals('foo')); | 351 unittest.expect(o.id, unittest.equals('foo')); |
352 checkUnnamed2467(o.level); | 352 checkUnnamed2561(o.level); |
353 unittest.expect(o.numberElected, unittest.equals('foo')); | 353 unittest.expect(o.numberElected, unittest.equals('foo')); |
354 unittest.expect(o.numberVotingFor, unittest.equals('foo')); | 354 unittest.expect(o.numberVotingFor, unittest.equals('foo')); |
355 unittest.expect(o.office, unittest.equals('foo')); | 355 unittest.expect(o.office, unittest.equals('foo')); |
356 unittest.expect(o.primaryParty, unittest.equals('foo')); | 356 unittest.expect(o.primaryParty, unittest.equals('foo')); |
357 checkUnnamed2468(o.referendumBallotResponses); | 357 checkUnnamed2562(o.referendumBallotResponses); |
358 unittest.expect(o.referendumBrief, unittest.equals('foo')); | 358 unittest.expect(o.referendumBrief, unittest.equals('foo')); |
359 unittest.expect(o.referendumConStatement, unittest.equals('foo')); | 359 unittest.expect(o.referendumConStatement, unittest.equals('foo')); |
360 unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo')); | 360 unittest.expect(o.referendumEffectOfAbstain, unittest.equals('foo')); |
361 unittest.expect(o.referendumPassageThreshold, unittest.equals('foo')); | 361 unittest.expect(o.referendumPassageThreshold, unittest.equals('foo')); |
362 unittest.expect(o.referendumProStatement, unittest.equals('foo')); | 362 unittest.expect(o.referendumProStatement, unittest.equals('foo')); |
363 unittest.expect(o.referendumSubtitle, unittest.equals('foo')); | 363 unittest.expect(o.referendumSubtitle, unittest.equals('foo')); |
364 unittest.expect(o.referendumText, unittest.equals('foo')); | 364 unittest.expect(o.referendumText, unittest.equals('foo')); |
365 unittest.expect(o.referendumTitle, unittest.equals('foo')); | 365 unittest.expect(o.referendumTitle, unittest.equals('foo')); |
366 unittest.expect(o.referendumUrl, unittest.equals('foo')); | 366 unittest.expect(o.referendumUrl, unittest.equals('foo')); |
367 checkUnnamed2469(o.roles); | 367 checkUnnamed2563(o.roles); |
368 checkUnnamed2470(o.sources); | 368 checkUnnamed2564(o.sources); |
369 unittest.expect(o.special, unittest.equals('foo')); | 369 unittest.expect(o.special, unittest.equals('foo')); |
370 unittest.expect(o.type, unittest.equals('foo')); | 370 unittest.expect(o.type, unittest.equals('foo')); |
371 } | 371 } |
372 buildCounterContest--; | 372 buildCounterContest--; |
373 } | 373 } |
374 | 374 |
375 core.int buildCounterContextParams = 0; | 375 core.int buildCounterContextParams = 0; |
376 buildContextParams() { | 376 buildContextParams() { |
377 var o = new api.ContextParams(); | 377 var o = new api.ContextParams(); |
378 buildCounterContextParams++; | 378 buildCounterContextParams++; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 } | 422 } |
423 | 423 |
424 checkDivisionSearchRequest(api.DivisionSearchRequest o) { | 424 checkDivisionSearchRequest(api.DivisionSearchRequest o) { |
425 buildCounterDivisionSearchRequest++; | 425 buildCounterDivisionSearchRequest++; |
426 if (buildCounterDivisionSearchRequest < 3) { | 426 if (buildCounterDivisionSearchRequest < 3) { |
427 checkContextParams(o.contextParams); | 427 checkContextParams(o.contextParams); |
428 } | 428 } |
429 buildCounterDivisionSearchRequest--; | 429 buildCounterDivisionSearchRequest--; |
430 } | 430 } |
431 | 431 |
432 buildUnnamed2471() { | 432 buildUnnamed2565() { |
433 var o = new core.List<api.DivisionSearchResult>(); | 433 var o = new core.List<api.DivisionSearchResult>(); |
434 o.add(buildDivisionSearchResult()); | 434 o.add(buildDivisionSearchResult()); |
435 o.add(buildDivisionSearchResult()); | 435 o.add(buildDivisionSearchResult()); |
436 return o; | 436 return o; |
437 } | 437 } |
438 | 438 |
439 checkUnnamed2471(core.List<api.DivisionSearchResult> o) { | 439 checkUnnamed2565(core.List<api.DivisionSearchResult> o) { |
440 unittest.expect(o, unittest.hasLength(2)); | 440 unittest.expect(o, unittest.hasLength(2)); |
441 checkDivisionSearchResult(o[0]); | 441 checkDivisionSearchResult(o[0]); |
442 checkDivisionSearchResult(o[1]); | 442 checkDivisionSearchResult(o[1]); |
443 } | 443 } |
444 | 444 |
445 core.int buildCounterDivisionSearchResponse = 0; | 445 core.int buildCounterDivisionSearchResponse = 0; |
446 buildDivisionSearchResponse() { | 446 buildDivisionSearchResponse() { |
447 var o = new api.DivisionSearchResponse(); | 447 var o = new api.DivisionSearchResponse(); |
448 buildCounterDivisionSearchResponse++; | 448 buildCounterDivisionSearchResponse++; |
449 if (buildCounterDivisionSearchResponse < 3) { | 449 if (buildCounterDivisionSearchResponse < 3) { |
450 o.kind = "foo"; | 450 o.kind = "foo"; |
451 o.results = buildUnnamed2471(); | 451 o.results = buildUnnamed2565(); |
452 } | 452 } |
453 buildCounterDivisionSearchResponse--; | 453 buildCounterDivisionSearchResponse--; |
454 return o; | 454 return o; |
455 } | 455 } |
456 | 456 |
457 checkDivisionSearchResponse(api.DivisionSearchResponse o) { | 457 checkDivisionSearchResponse(api.DivisionSearchResponse o) { |
458 buildCounterDivisionSearchResponse++; | 458 buildCounterDivisionSearchResponse++; |
459 if (buildCounterDivisionSearchResponse < 3) { | 459 if (buildCounterDivisionSearchResponse < 3) { |
460 unittest.expect(o.kind, unittest.equals('foo')); | 460 unittest.expect(o.kind, unittest.equals('foo')); |
461 checkUnnamed2471(o.results); | 461 checkUnnamed2565(o.results); |
462 } | 462 } |
463 buildCounterDivisionSearchResponse--; | 463 buildCounterDivisionSearchResponse--; |
464 } | 464 } |
465 | 465 |
466 buildUnnamed2472() { | 466 buildUnnamed2566() { |
467 var o = new core.List<core.String>(); | 467 var o = new core.List<core.String>(); |
468 o.add("foo"); | 468 o.add("foo"); |
469 o.add("foo"); | 469 o.add("foo"); |
470 return o; | 470 return o; |
471 } | 471 } |
472 | 472 |
473 checkUnnamed2472(core.List<core.String> o) { | 473 checkUnnamed2566(core.List<core.String> o) { |
474 unittest.expect(o, unittest.hasLength(2)); | 474 unittest.expect(o, unittest.hasLength(2)); |
475 unittest.expect(o[0], unittest.equals('foo')); | 475 unittest.expect(o[0], unittest.equals('foo')); |
476 unittest.expect(o[1], unittest.equals('foo')); | 476 unittest.expect(o[1], unittest.equals('foo')); |
477 } | 477 } |
478 | 478 |
479 core.int buildCounterDivisionSearchResult = 0; | 479 core.int buildCounterDivisionSearchResult = 0; |
480 buildDivisionSearchResult() { | 480 buildDivisionSearchResult() { |
481 var o = new api.DivisionSearchResult(); | 481 var o = new api.DivisionSearchResult(); |
482 buildCounterDivisionSearchResult++; | 482 buildCounterDivisionSearchResult++; |
483 if (buildCounterDivisionSearchResult < 3) { | 483 if (buildCounterDivisionSearchResult < 3) { |
484 o.aliases = buildUnnamed2472(); | 484 o.aliases = buildUnnamed2566(); |
485 o.name = "foo"; | 485 o.name = "foo"; |
486 o.ocdId = "foo"; | 486 o.ocdId = "foo"; |
487 } | 487 } |
488 buildCounterDivisionSearchResult--; | 488 buildCounterDivisionSearchResult--; |
489 return o; | 489 return o; |
490 } | 490 } |
491 | 491 |
492 checkDivisionSearchResult(api.DivisionSearchResult o) { | 492 checkDivisionSearchResult(api.DivisionSearchResult o) { |
493 buildCounterDivisionSearchResult++; | 493 buildCounterDivisionSearchResult++; |
494 if (buildCounterDivisionSearchResult < 3) { | 494 if (buildCounterDivisionSearchResult < 3) { |
495 checkUnnamed2472(o.aliases); | 495 checkUnnamed2566(o.aliases); |
496 unittest.expect(o.name, unittest.equals('foo')); | 496 unittest.expect(o.name, unittest.equals('foo')); |
497 unittest.expect(o.ocdId, unittest.equals('foo')); | 497 unittest.expect(o.ocdId, unittest.equals('foo')); |
498 } | 498 } |
499 buildCounterDivisionSearchResult--; | 499 buildCounterDivisionSearchResult--; |
500 } | 500 } |
501 | 501 |
502 core.int buildCounterElection = 0; | 502 core.int buildCounterElection = 0; |
503 buildElection() { | 503 buildElection() { |
504 var o = new api.Election(); | 504 var o = new api.Election(); |
505 buildCounterElection++; | 505 buildCounterElection++; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 } | 563 } |
564 | 564 |
565 checkElectionsQueryRequest(api.ElectionsQueryRequest o) { | 565 checkElectionsQueryRequest(api.ElectionsQueryRequest o) { |
566 buildCounterElectionsQueryRequest++; | 566 buildCounterElectionsQueryRequest++; |
567 if (buildCounterElectionsQueryRequest < 3) { | 567 if (buildCounterElectionsQueryRequest < 3) { |
568 checkContextParams(o.contextParams); | 568 checkContextParams(o.contextParams); |
569 } | 569 } |
570 buildCounterElectionsQueryRequest--; | 570 buildCounterElectionsQueryRequest--; |
571 } | 571 } |
572 | 572 |
573 buildUnnamed2473() { | 573 buildUnnamed2567() { |
574 var o = new core.List<api.Election>(); | 574 var o = new core.List<api.Election>(); |
575 o.add(buildElection()); | 575 o.add(buildElection()); |
576 o.add(buildElection()); | 576 o.add(buildElection()); |
577 return o; | 577 return o; |
578 } | 578 } |
579 | 579 |
580 checkUnnamed2473(core.List<api.Election> o) { | 580 checkUnnamed2567(core.List<api.Election> o) { |
581 unittest.expect(o, unittest.hasLength(2)); | 581 unittest.expect(o, unittest.hasLength(2)); |
582 checkElection(o[0]); | 582 checkElection(o[0]); |
583 checkElection(o[1]); | 583 checkElection(o[1]); |
584 } | 584 } |
585 | 585 |
586 core.int buildCounterElectionsQueryResponse = 0; | 586 core.int buildCounterElectionsQueryResponse = 0; |
587 buildElectionsQueryResponse() { | 587 buildElectionsQueryResponse() { |
588 var o = new api.ElectionsQueryResponse(); | 588 var o = new api.ElectionsQueryResponse(); |
589 buildCounterElectionsQueryResponse++; | 589 buildCounterElectionsQueryResponse++; |
590 if (buildCounterElectionsQueryResponse < 3) { | 590 if (buildCounterElectionsQueryResponse < 3) { |
591 o.elections = buildUnnamed2473(); | 591 o.elections = buildUnnamed2567(); |
592 o.kind = "foo"; | 592 o.kind = "foo"; |
593 } | 593 } |
594 buildCounterElectionsQueryResponse--; | 594 buildCounterElectionsQueryResponse--; |
595 return o; | 595 return o; |
596 } | 596 } |
597 | 597 |
598 checkElectionsQueryResponse(api.ElectionsQueryResponse o) { | 598 checkElectionsQueryResponse(api.ElectionsQueryResponse o) { |
599 buildCounterElectionsQueryResponse++; | 599 buildCounterElectionsQueryResponse++; |
600 if (buildCounterElectionsQueryResponse < 3) { | 600 if (buildCounterElectionsQueryResponse < 3) { |
601 checkUnnamed2473(o.elections); | 601 checkUnnamed2567(o.elections); |
602 unittest.expect(o.kind, unittest.equals('foo')); | 602 unittest.expect(o.kind, unittest.equals('foo')); |
603 } | 603 } |
604 buildCounterElectionsQueryResponse--; | 604 buildCounterElectionsQueryResponse--; |
605 } | 605 } |
606 | 606 |
607 core.int buildCounterElectoralDistrict = 0; | 607 core.int buildCounterElectoralDistrict = 0; |
608 buildElectoralDistrict() { | 608 buildElectoralDistrict() { |
609 var o = new api.ElectoralDistrict(); | 609 var o = new api.ElectoralDistrict(); |
610 buildCounterElectoralDistrict++; | 610 buildCounterElectoralDistrict++; |
611 if (buildCounterElectoralDistrict < 3) { | 611 if (buildCounterElectoralDistrict < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
622 buildCounterElectoralDistrict++; | 622 buildCounterElectoralDistrict++; |
623 if (buildCounterElectoralDistrict < 3) { | 623 if (buildCounterElectoralDistrict < 3) { |
624 unittest.expect(o.id, unittest.equals('foo')); | 624 unittest.expect(o.id, unittest.equals('foo')); |
625 unittest.expect(o.kgForeignKey, unittest.equals('foo')); | 625 unittest.expect(o.kgForeignKey, unittest.equals('foo')); |
626 unittest.expect(o.name, unittest.equals('foo')); | 626 unittest.expect(o.name, unittest.equals('foo')); |
627 unittest.expect(o.scope, unittest.equals('foo')); | 627 unittest.expect(o.scope, unittest.equals('foo')); |
628 } | 628 } |
629 buildCounterElectoralDistrict--; | 629 buildCounterElectoralDistrict--; |
630 } | 630 } |
631 | 631 |
632 buildUnnamed2474() { | 632 buildUnnamed2568() { |
633 var o = new core.List<core.String>(); | 633 var o = new core.List<core.String>(); |
634 o.add("foo"); | 634 o.add("foo"); |
635 o.add("foo"); | 635 o.add("foo"); |
636 return o; | 636 return o; |
637 } | 637 } |
638 | 638 |
639 checkUnnamed2474(core.List<core.String> o) { | 639 checkUnnamed2568(core.List<core.String> o) { |
640 unittest.expect(o, unittest.hasLength(2)); | 640 unittest.expect(o, unittest.hasLength(2)); |
641 unittest.expect(o[0], unittest.equals('foo')); | 641 unittest.expect(o[0], unittest.equals('foo')); |
642 unittest.expect(o[1], unittest.equals('foo')); | 642 unittest.expect(o[1], unittest.equals('foo')); |
643 } | 643 } |
644 | 644 |
645 buildUnnamed2475() { | 645 buildUnnamed2569() { |
646 var o = new core.List<core.int>(); | 646 var o = new core.List<core.int>(); |
647 o.add(42); | 647 o.add(42); |
648 o.add(42); | 648 o.add(42); |
649 return o; | 649 return o; |
650 } | 650 } |
651 | 651 |
652 checkUnnamed2475(core.List<core.int> o) { | 652 checkUnnamed2569(core.List<core.int> o) { |
653 unittest.expect(o, unittest.hasLength(2)); | 653 unittest.expect(o, unittest.hasLength(2)); |
654 unittest.expect(o[0], unittest.equals(42)); | 654 unittest.expect(o[0], unittest.equals(42)); |
655 unittest.expect(o[1], unittest.equals(42)); | 655 unittest.expect(o[1], unittest.equals(42)); |
656 } | 656 } |
657 | 657 |
658 core.int buildCounterGeographicDivision = 0; | 658 core.int buildCounterGeographicDivision = 0; |
659 buildGeographicDivision() { | 659 buildGeographicDivision() { |
660 var o = new api.GeographicDivision(); | 660 var o = new api.GeographicDivision(); |
661 buildCounterGeographicDivision++; | 661 buildCounterGeographicDivision++; |
662 if (buildCounterGeographicDivision < 3) { | 662 if (buildCounterGeographicDivision < 3) { |
663 o.alsoKnownAs = buildUnnamed2474(); | 663 o.alsoKnownAs = buildUnnamed2568(); |
664 o.name = "foo"; | 664 o.name = "foo"; |
665 o.officeIndices = buildUnnamed2475(); | 665 o.officeIndices = buildUnnamed2569(); |
666 } | 666 } |
667 buildCounterGeographicDivision--; | 667 buildCounterGeographicDivision--; |
668 return o; | 668 return o; |
669 } | 669 } |
670 | 670 |
671 checkGeographicDivision(api.GeographicDivision o) { | 671 checkGeographicDivision(api.GeographicDivision o) { |
672 buildCounterGeographicDivision++; | 672 buildCounterGeographicDivision++; |
673 if (buildCounterGeographicDivision < 3) { | 673 if (buildCounterGeographicDivision < 3) { |
674 checkUnnamed2474(o.alsoKnownAs); | 674 checkUnnamed2568(o.alsoKnownAs); |
675 unittest.expect(o.name, unittest.equals('foo')); | 675 unittest.expect(o.name, unittest.equals('foo')); |
676 checkUnnamed2475(o.officeIndices); | 676 checkUnnamed2569(o.officeIndices); |
677 } | 677 } |
678 buildCounterGeographicDivision--; | 678 buildCounterGeographicDivision--; |
679 } | 679 } |
680 | 680 |
681 buildUnnamed2476() { | 681 buildUnnamed2570() { |
682 var o = new core.List<core.String>(); | 682 var o = new core.List<core.String>(); |
683 o.add("foo"); | 683 o.add("foo"); |
684 o.add("foo"); | 684 o.add("foo"); |
685 return o; | 685 return o; |
686 } | 686 } |
687 | 687 |
688 checkUnnamed2476(core.List<core.String> o) { | 688 checkUnnamed2570(core.List<core.String> o) { |
689 unittest.expect(o, unittest.hasLength(2)); | 689 unittest.expect(o, unittest.hasLength(2)); |
690 unittest.expect(o[0], unittest.equals('foo')); | 690 unittest.expect(o[0], unittest.equals('foo')); |
691 unittest.expect(o[1], unittest.equals('foo')); | 691 unittest.expect(o[1], unittest.equals('foo')); |
692 } | 692 } |
693 | 693 |
694 buildUnnamed2477() { | 694 buildUnnamed2571() { |
695 var o = new core.List<core.int>(); | 695 var o = new core.List<core.int>(); |
696 o.add(42); | 696 o.add(42); |
697 o.add(42); | 697 o.add(42); |
698 return o; | 698 return o; |
699 } | 699 } |
700 | 700 |
701 checkUnnamed2477(core.List<core.int> o) { | 701 checkUnnamed2571(core.List<core.int> o) { |
702 unittest.expect(o, unittest.hasLength(2)); | 702 unittest.expect(o, unittest.hasLength(2)); |
703 unittest.expect(o[0], unittest.equals(42)); | 703 unittest.expect(o[0], unittest.equals(42)); |
704 unittest.expect(o[1], unittest.equals(42)); | 704 unittest.expect(o[1], unittest.equals(42)); |
705 } | 705 } |
706 | 706 |
707 buildUnnamed2478() { | 707 buildUnnamed2572() { |
708 var o = new core.List<core.String>(); | 708 var o = new core.List<core.String>(); |
709 o.add("foo"); | 709 o.add("foo"); |
710 o.add("foo"); | 710 o.add("foo"); |
711 return o; | 711 return o; |
712 } | 712 } |
713 | 713 |
714 checkUnnamed2478(core.List<core.String> o) { | 714 checkUnnamed2572(core.List<core.String> o) { |
715 unittest.expect(o, unittest.hasLength(2)); | 715 unittest.expect(o, unittest.hasLength(2)); |
716 unittest.expect(o[0], unittest.equals('foo')); | 716 unittest.expect(o[0], unittest.equals('foo')); |
717 unittest.expect(o[1], unittest.equals('foo')); | 717 unittest.expect(o[1], unittest.equals('foo')); |
718 } | 718 } |
719 | 719 |
720 buildUnnamed2479() { | 720 buildUnnamed2573() { |
721 var o = new core.List<api.Source>(); | 721 var o = new core.List<api.Source>(); |
722 o.add(buildSource()); | 722 o.add(buildSource()); |
723 o.add(buildSource()); | 723 o.add(buildSource()); |
724 return o; | 724 return o; |
725 } | 725 } |
726 | 726 |
727 checkUnnamed2479(core.List<api.Source> o) { | 727 checkUnnamed2573(core.List<api.Source> o) { |
728 unittest.expect(o, unittest.hasLength(2)); | 728 unittest.expect(o, unittest.hasLength(2)); |
729 checkSource(o[0]); | 729 checkSource(o[0]); |
730 checkSource(o[1]); | 730 checkSource(o[1]); |
731 } | 731 } |
732 | 732 |
733 core.int buildCounterOffice = 0; | 733 core.int buildCounterOffice = 0; |
734 buildOffice() { | 734 buildOffice() { |
735 var o = new api.Office(); | 735 var o = new api.Office(); |
736 buildCounterOffice++; | 736 buildCounterOffice++; |
737 if (buildCounterOffice < 3) { | 737 if (buildCounterOffice < 3) { |
738 o.divisionId = "foo"; | 738 o.divisionId = "foo"; |
739 o.levels = buildUnnamed2476(); | 739 o.levels = buildUnnamed2570(); |
740 o.name = "foo"; | 740 o.name = "foo"; |
741 o.officialIndices = buildUnnamed2477(); | 741 o.officialIndices = buildUnnamed2571(); |
742 o.roles = buildUnnamed2478(); | 742 o.roles = buildUnnamed2572(); |
743 o.sources = buildUnnamed2479(); | 743 o.sources = buildUnnamed2573(); |
744 } | 744 } |
745 buildCounterOffice--; | 745 buildCounterOffice--; |
746 return o; | 746 return o; |
747 } | 747 } |
748 | 748 |
749 checkOffice(api.Office o) { | 749 checkOffice(api.Office o) { |
750 buildCounterOffice++; | 750 buildCounterOffice++; |
751 if (buildCounterOffice < 3) { | 751 if (buildCounterOffice < 3) { |
752 unittest.expect(o.divisionId, unittest.equals('foo')); | 752 unittest.expect(o.divisionId, unittest.equals('foo')); |
753 checkUnnamed2476(o.levels); | 753 checkUnnamed2570(o.levels); |
754 unittest.expect(o.name, unittest.equals('foo')); | 754 unittest.expect(o.name, unittest.equals('foo')); |
755 checkUnnamed2477(o.officialIndices); | 755 checkUnnamed2571(o.officialIndices); |
756 checkUnnamed2478(o.roles); | 756 checkUnnamed2572(o.roles); |
757 checkUnnamed2479(o.sources); | 757 checkUnnamed2573(o.sources); |
758 } | 758 } |
759 buildCounterOffice--; | 759 buildCounterOffice--; |
760 } | 760 } |
761 | 761 |
762 buildUnnamed2480() { | 762 buildUnnamed2574() { |
763 var o = new core.List<api.SimpleAddressType>(); | 763 var o = new core.List<api.SimpleAddressType>(); |
764 o.add(buildSimpleAddressType()); | 764 o.add(buildSimpleAddressType()); |
765 o.add(buildSimpleAddressType()); | 765 o.add(buildSimpleAddressType()); |
766 return o; | 766 return o; |
767 } | 767 } |
768 | 768 |
769 checkUnnamed2480(core.List<api.SimpleAddressType> o) { | 769 checkUnnamed2574(core.List<api.SimpleAddressType> o) { |
770 unittest.expect(o, unittest.hasLength(2)); | 770 unittest.expect(o, unittest.hasLength(2)); |
771 checkSimpleAddressType(o[0]); | 771 checkSimpleAddressType(o[0]); |
772 checkSimpleAddressType(o[1]); | 772 checkSimpleAddressType(o[1]); |
773 } | 773 } |
774 | 774 |
775 buildUnnamed2481() { | 775 buildUnnamed2575() { |
776 var o = new core.List<api.Channel>(); | 776 var o = new core.List<api.Channel>(); |
777 o.add(buildChannel()); | 777 o.add(buildChannel()); |
778 o.add(buildChannel()); | 778 o.add(buildChannel()); |
779 return o; | 779 return o; |
780 } | 780 } |
781 | 781 |
782 checkUnnamed2481(core.List<api.Channel> o) { | 782 checkUnnamed2575(core.List<api.Channel> o) { |
783 unittest.expect(o, unittest.hasLength(2)); | 783 unittest.expect(o, unittest.hasLength(2)); |
784 checkChannel(o[0]); | 784 checkChannel(o[0]); |
785 checkChannel(o[1]); | 785 checkChannel(o[1]); |
786 } | 786 } |
787 | 787 |
788 buildUnnamed2482() { | 788 buildUnnamed2576() { |
789 var o = new core.List<core.String>(); | 789 var o = new core.List<core.String>(); |
790 o.add("foo"); | 790 o.add("foo"); |
791 o.add("foo"); | 791 o.add("foo"); |
792 return o; | 792 return o; |
793 } | 793 } |
794 | 794 |
795 checkUnnamed2482(core.List<core.String> o) { | 795 checkUnnamed2576(core.List<core.String> o) { |
796 unittest.expect(o, unittest.hasLength(2)); | 796 unittest.expect(o, unittest.hasLength(2)); |
797 unittest.expect(o[0], unittest.equals('foo')); | 797 unittest.expect(o[0], unittest.equals('foo')); |
798 unittest.expect(o[1], unittest.equals('foo')); | 798 unittest.expect(o[1], unittest.equals('foo')); |
799 } | 799 } |
800 | 800 |
801 buildUnnamed2483() { | 801 buildUnnamed2577() { |
802 var o = new core.List<core.String>(); | 802 var o = new core.List<core.String>(); |
803 o.add("foo"); | 803 o.add("foo"); |
804 o.add("foo"); | 804 o.add("foo"); |
805 return o; | 805 return o; |
806 } | 806 } |
807 | 807 |
808 checkUnnamed2483(core.List<core.String> o) { | 808 checkUnnamed2577(core.List<core.String> o) { |
809 unittest.expect(o, unittest.hasLength(2)); | 809 unittest.expect(o, unittest.hasLength(2)); |
810 unittest.expect(o[0], unittest.equals('foo')); | 810 unittest.expect(o[0], unittest.equals('foo')); |
811 unittest.expect(o[1], unittest.equals('foo')); | 811 unittest.expect(o[1], unittest.equals('foo')); |
812 } | 812 } |
813 | 813 |
814 buildUnnamed2484() { | 814 buildUnnamed2578() { |
815 var o = new core.List<core.String>(); | 815 var o = new core.List<core.String>(); |
816 o.add("foo"); | 816 o.add("foo"); |
817 o.add("foo"); | 817 o.add("foo"); |
818 return o; | 818 return o; |
819 } | 819 } |
820 | 820 |
821 checkUnnamed2484(core.List<core.String> o) { | 821 checkUnnamed2578(core.List<core.String> o) { |
822 unittest.expect(o, unittest.hasLength(2)); | 822 unittest.expect(o, unittest.hasLength(2)); |
823 unittest.expect(o[0], unittest.equals('foo')); | 823 unittest.expect(o[0], unittest.equals('foo')); |
824 unittest.expect(o[1], unittest.equals('foo')); | 824 unittest.expect(o[1], unittest.equals('foo')); |
825 } | 825 } |
826 | 826 |
827 core.int buildCounterOfficial = 0; | 827 core.int buildCounterOfficial = 0; |
828 buildOfficial() { | 828 buildOfficial() { |
829 var o = new api.Official(); | 829 var o = new api.Official(); |
830 buildCounterOfficial++; | 830 buildCounterOfficial++; |
831 if (buildCounterOfficial < 3) { | 831 if (buildCounterOfficial < 3) { |
832 o.address = buildUnnamed2480(); | 832 o.address = buildUnnamed2574(); |
833 o.channels = buildUnnamed2481(); | 833 o.channels = buildUnnamed2575(); |
834 o.emails = buildUnnamed2482(); | 834 o.emails = buildUnnamed2576(); |
835 o.name = "foo"; | 835 o.name = "foo"; |
836 o.party = "foo"; | 836 o.party = "foo"; |
837 o.phones = buildUnnamed2483(); | 837 o.phones = buildUnnamed2577(); |
838 o.photoUrl = "foo"; | 838 o.photoUrl = "foo"; |
839 o.urls = buildUnnamed2484(); | 839 o.urls = buildUnnamed2578(); |
840 } | 840 } |
841 buildCounterOfficial--; | 841 buildCounterOfficial--; |
842 return o; | 842 return o; |
843 } | 843 } |
844 | 844 |
845 checkOfficial(api.Official o) { | 845 checkOfficial(api.Official o) { |
846 buildCounterOfficial++; | 846 buildCounterOfficial++; |
847 if (buildCounterOfficial < 3) { | 847 if (buildCounterOfficial < 3) { |
848 checkUnnamed2480(o.address); | 848 checkUnnamed2574(o.address); |
849 checkUnnamed2481(o.channels); | 849 checkUnnamed2575(o.channels); |
850 checkUnnamed2482(o.emails); | 850 checkUnnamed2576(o.emails); |
851 unittest.expect(o.name, unittest.equals('foo')); | 851 unittest.expect(o.name, unittest.equals('foo')); |
852 unittest.expect(o.party, unittest.equals('foo')); | 852 unittest.expect(o.party, unittest.equals('foo')); |
853 checkUnnamed2483(o.phones); | 853 checkUnnamed2577(o.phones); |
854 unittest.expect(o.photoUrl, unittest.equals('foo')); | 854 unittest.expect(o.photoUrl, unittest.equals('foo')); |
855 checkUnnamed2484(o.urls); | 855 checkUnnamed2578(o.urls); |
856 } | 856 } |
857 buildCounterOfficial--; | 857 buildCounterOfficial--; |
858 } | 858 } |
859 | 859 |
860 buildUnnamed2485() { | 860 buildUnnamed2579() { |
861 var o = new core.List<api.Source>(); | 861 var o = new core.List<api.Source>(); |
862 o.add(buildSource()); | 862 o.add(buildSource()); |
863 o.add(buildSource()); | 863 o.add(buildSource()); |
864 return o; | 864 return o; |
865 } | 865 } |
866 | 866 |
867 checkUnnamed2485(core.List<api.Source> o) { | 867 checkUnnamed2579(core.List<api.Source> o) { |
868 unittest.expect(o, unittest.hasLength(2)); | 868 unittest.expect(o, unittest.hasLength(2)); |
869 checkSource(o[0]); | 869 checkSource(o[0]); |
870 checkSource(o[1]); | 870 checkSource(o[1]); |
871 } | 871 } |
872 | 872 |
873 core.int buildCounterPollingLocation = 0; | 873 core.int buildCounterPollingLocation = 0; |
874 buildPollingLocation() { | 874 buildPollingLocation() { |
875 var o = new api.PollingLocation(); | 875 var o = new api.PollingLocation(); |
876 buildCounterPollingLocation++; | 876 buildCounterPollingLocation++; |
877 if (buildCounterPollingLocation < 3) { | 877 if (buildCounterPollingLocation < 3) { |
878 o.address = buildSimpleAddressType(); | 878 o.address = buildSimpleAddressType(); |
879 o.endDate = "foo"; | 879 o.endDate = "foo"; |
880 o.id = "foo"; | 880 o.id = "foo"; |
881 o.name = "foo"; | 881 o.name = "foo"; |
882 o.notes = "foo"; | 882 o.notes = "foo"; |
883 o.pollingHours = "foo"; | 883 o.pollingHours = "foo"; |
884 o.sources = buildUnnamed2485(); | 884 o.sources = buildUnnamed2579(); |
885 o.startDate = "foo"; | 885 o.startDate = "foo"; |
886 o.voterServices = "foo"; | 886 o.voterServices = "foo"; |
887 } | 887 } |
888 buildCounterPollingLocation--; | 888 buildCounterPollingLocation--; |
889 return o; | 889 return o; |
890 } | 890 } |
891 | 891 |
892 checkPollingLocation(api.PollingLocation o) { | 892 checkPollingLocation(api.PollingLocation o) { |
893 buildCounterPollingLocation++; | 893 buildCounterPollingLocation++; |
894 if (buildCounterPollingLocation < 3) { | 894 if (buildCounterPollingLocation < 3) { |
895 checkSimpleAddressType(o.address); | 895 checkSimpleAddressType(o.address); |
896 unittest.expect(o.endDate, unittest.equals('foo')); | 896 unittest.expect(o.endDate, unittest.equals('foo')); |
897 unittest.expect(o.id, unittest.equals('foo')); | 897 unittest.expect(o.id, unittest.equals('foo')); |
898 unittest.expect(o.name, unittest.equals('foo')); | 898 unittest.expect(o.name, unittest.equals('foo')); |
899 unittest.expect(o.notes, unittest.equals('foo')); | 899 unittest.expect(o.notes, unittest.equals('foo')); |
900 unittest.expect(o.pollingHours, unittest.equals('foo')); | 900 unittest.expect(o.pollingHours, unittest.equals('foo')); |
901 checkUnnamed2485(o.sources); | 901 checkUnnamed2579(o.sources); |
902 unittest.expect(o.startDate, unittest.equals('foo')); | 902 unittest.expect(o.startDate, unittest.equals('foo')); |
903 unittest.expect(o.voterServices, unittest.equals('foo')); | 903 unittest.expect(o.voterServices, unittest.equals('foo')); |
904 } | 904 } |
905 buildCounterPollingLocation--; | 905 buildCounterPollingLocation--; |
906 } | 906 } |
907 | 907 |
908 buildUnnamed2486() { | 908 buildUnnamed2580() { |
909 var o = new core.List<core.String>(); | 909 var o = new core.List<core.String>(); |
910 o.add("foo"); | 910 o.add("foo"); |
911 o.add("foo"); | 911 o.add("foo"); |
912 return o; | 912 return o; |
913 } | 913 } |
914 | 914 |
915 checkUnnamed2486(core.List<core.String> o) { | 915 checkUnnamed2580(core.List<core.String> o) { |
916 unittest.expect(o, unittest.hasLength(2)); | 916 unittest.expect(o, unittest.hasLength(2)); |
917 unittest.expect(o[0], unittest.equals('foo')); | 917 unittest.expect(o[0], unittest.equals('foo')); |
918 unittest.expect(o[1], unittest.equals('foo')); | 918 unittest.expect(o[1], unittest.equals('foo')); |
919 } | 919 } |
920 | 920 |
921 core.int buildCounterPostalAddress = 0; | 921 core.int buildCounterPostalAddress = 0; |
922 buildPostalAddress() { | 922 buildPostalAddress() { |
923 var o = new api.PostalAddress(); | 923 var o = new api.PostalAddress(); |
924 buildCounterPostalAddress++; | 924 buildCounterPostalAddress++; |
925 if (buildCounterPostalAddress < 3) { | 925 if (buildCounterPostalAddress < 3) { |
926 o.addressLines = buildUnnamed2486(); | 926 o.addressLines = buildUnnamed2580(); |
927 o.administrativeAreaName = "foo"; | 927 o.administrativeAreaName = "foo"; |
928 o.countryName = "foo"; | 928 o.countryName = "foo"; |
929 o.countryNameCode = "foo"; | 929 o.countryNameCode = "foo"; |
930 o.dependentLocalityName = "foo"; | 930 o.dependentLocalityName = "foo"; |
931 o.dependentThoroughfareLeadingType = "foo"; | 931 o.dependentThoroughfareLeadingType = "foo"; |
932 o.dependentThoroughfareName = "foo"; | 932 o.dependentThoroughfareName = "foo"; |
933 o.dependentThoroughfarePostDirection = "foo"; | 933 o.dependentThoroughfarePostDirection = "foo"; |
934 o.dependentThoroughfarePreDirection = "foo"; | 934 o.dependentThoroughfarePreDirection = "foo"; |
935 o.dependentThoroughfareTrailingType = "foo"; | 935 o.dependentThoroughfareTrailingType = "foo"; |
936 o.dependentThoroughfaresConnector = "foo"; | 936 o.dependentThoroughfaresConnector = "foo"; |
(...skipping 18 matching lines...) Expand all Loading... |
955 o.thoroughfarePreDirection = "foo"; | 955 o.thoroughfarePreDirection = "foo"; |
956 o.thoroughfareTrailingType = "foo"; | 956 o.thoroughfareTrailingType = "foo"; |
957 } | 957 } |
958 buildCounterPostalAddress--; | 958 buildCounterPostalAddress--; |
959 return o; | 959 return o; |
960 } | 960 } |
961 | 961 |
962 checkPostalAddress(api.PostalAddress o) { | 962 checkPostalAddress(api.PostalAddress o) { |
963 buildCounterPostalAddress++; | 963 buildCounterPostalAddress++; |
964 if (buildCounterPostalAddress < 3) { | 964 if (buildCounterPostalAddress < 3) { |
965 checkUnnamed2486(o.addressLines); | 965 checkUnnamed2580(o.addressLines); |
966 unittest.expect(o.administrativeAreaName, unittest.equals('foo')); | 966 unittest.expect(o.administrativeAreaName, unittest.equals('foo')); |
967 unittest.expect(o.countryName, unittest.equals('foo')); | 967 unittest.expect(o.countryName, unittest.equals('foo')); |
968 unittest.expect(o.countryNameCode, unittest.equals('foo')); | 968 unittest.expect(o.countryNameCode, unittest.equals('foo')); |
969 unittest.expect(o.dependentLocalityName, unittest.equals('foo')); | 969 unittest.expect(o.dependentLocalityName, unittest.equals('foo')); |
970 unittest.expect(o.dependentThoroughfareLeadingType, unittest.equals('foo')); | 970 unittest.expect(o.dependentThoroughfareLeadingType, unittest.equals('foo')); |
971 unittest.expect(o.dependentThoroughfareName, unittest.equals('foo')); | 971 unittest.expect(o.dependentThoroughfareName, unittest.equals('foo')); |
972 unittest.expect(o.dependentThoroughfarePostDirection, unittest.equals('foo')
); | 972 unittest.expect(o.dependentThoroughfarePostDirection, unittest.equals('foo')
); |
973 unittest.expect(o.dependentThoroughfarePreDirection, unittest.equals('foo'))
; | 973 unittest.expect(o.dependentThoroughfarePreDirection, unittest.equals('foo'))
; |
974 unittest.expect(o.dependentThoroughfareTrailingType, unittest.equals('foo'))
; | 974 unittest.expect(o.dependentThoroughfareTrailingType, unittest.equals('foo'))
; |
975 unittest.expect(o.dependentThoroughfaresConnector, unittest.equals('foo')); | 975 unittest.expect(o.dependentThoroughfaresConnector, unittest.equals('foo')); |
(...skipping 14 matching lines...) Expand all Loading... |
990 unittest.expect(o.thoroughfareLeadingType, unittest.equals('foo')); | 990 unittest.expect(o.thoroughfareLeadingType, unittest.equals('foo')); |
991 unittest.expect(o.thoroughfareName, unittest.equals('foo')); | 991 unittest.expect(o.thoroughfareName, unittest.equals('foo')); |
992 unittest.expect(o.thoroughfareNumber, unittest.equals('foo')); | 992 unittest.expect(o.thoroughfareNumber, unittest.equals('foo')); |
993 unittest.expect(o.thoroughfarePostDirection, unittest.equals('foo')); | 993 unittest.expect(o.thoroughfarePostDirection, unittest.equals('foo')); |
994 unittest.expect(o.thoroughfarePreDirection, unittest.equals('foo')); | 994 unittest.expect(o.thoroughfarePreDirection, unittest.equals('foo')); |
995 unittest.expect(o.thoroughfareTrailingType, unittest.equals('foo')); | 995 unittest.expect(o.thoroughfareTrailingType, unittest.equals('foo')); |
996 } | 996 } |
997 buildCounterPostalAddress--; | 997 buildCounterPostalAddress--; |
998 } | 998 } |
999 | 999 |
1000 buildUnnamed2487() { | 1000 buildUnnamed2581() { |
1001 var o = new core.Map<core.String, api.GeographicDivision>(); | 1001 var o = new core.Map<core.String, api.GeographicDivision>(); |
1002 o["x"] = buildGeographicDivision(); | 1002 o["x"] = buildGeographicDivision(); |
1003 o["y"] = buildGeographicDivision(); | 1003 o["y"] = buildGeographicDivision(); |
1004 return o; | 1004 return o; |
1005 } | 1005 } |
1006 | 1006 |
1007 checkUnnamed2487(core.Map<core.String, api.GeographicDivision> o) { | 1007 checkUnnamed2581(core.Map<core.String, api.GeographicDivision> o) { |
1008 unittest.expect(o, unittest.hasLength(2)); | 1008 unittest.expect(o, unittest.hasLength(2)); |
1009 checkGeographicDivision(o["x"]); | 1009 checkGeographicDivision(o["x"]); |
1010 checkGeographicDivision(o["y"]); | 1010 checkGeographicDivision(o["y"]); |
1011 } | 1011 } |
1012 | 1012 |
1013 buildUnnamed2488() { | 1013 buildUnnamed2582() { |
1014 var o = new core.List<api.Office>(); | 1014 var o = new core.List<api.Office>(); |
1015 o.add(buildOffice()); | 1015 o.add(buildOffice()); |
1016 o.add(buildOffice()); | 1016 o.add(buildOffice()); |
1017 return o; | 1017 return o; |
1018 } | 1018 } |
1019 | 1019 |
1020 checkUnnamed2488(core.List<api.Office> o) { | 1020 checkUnnamed2582(core.List<api.Office> o) { |
1021 unittest.expect(o, unittest.hasLength(2)); | 1021 unittest.expect(o, unittest.hasLength(2)); |
1022 checkOffice(o[0]); | 1022 checkOffice(o[0]); |
1023 checkOffice(o[1]); | 1023 checkOffice(o[1]); |
1024 } | 1024 } |
1025 | 1025 |
1026 buildUnnamed2489() { | 1026 buildUnnamed2583() { |
1027 var o = new core.List<api.Official>(); | 1027 var o = new core.List<api.Official>(); |
1028 o.add(buildOfficial()); | 1028 o.add(buildOfficial()); |
1029 o.add(buildOfficial()); | 1029 o.add(buildOfficial()); |
1030 return o; | 1030 return o; |
1031 } | 1031 } |
1032 | 1032 |
1033 checkUnnamed2489(core.List<api.Official> o) { | 1033 checkUnnamed2583(core.List<api.Official> o) { |
1034 unittest.expect(o, unittest.hasLength(2)); | 1034 unittest.expect(o, unittest.hasLength(2)); |
1035 checkOfficial(o[0]); | 1035 checkOfficial(o[0]); |
1036 checkOfficial(o[1]); | 1036 checkOfficial(o[1]); |
1037 } | 1037 } |
1038 | 1038 |
1039 core.int buildCounterRepresentativeInfoData = 0; | 1039 core.int buildCounterRepresentativeInfoData = 0; |
1040 buildRepresentativeInfoData() { | 1040 buildRepresentativeInfoData() { |
1041 var o = new api.RepresentativeInfoData(); | 1041 var o = new api.RepresentativeInfoData(); |
1042 buildCounterRepresentativeInfoData++; | 1042 buildCounterRepresentativeInfoData++; |
1043 if (buildCounterRepresentativeInfoData < 3) { | 1043 if (buildCounterRepresentativeInfoData < 3) { |
1044 o.divisions = buildUnnamed2487(); | 1044 o.divisions = buildUnnamed2581(); |
1045 o.offices = buildUnnamed2488(); | 1045 o.offices = buildUnnamed2582(); |
1046 o.officials = buildUnnamed2489(); | 1046 o.officials = buildUnnamed2583(); |
1047 } | 1047 } |
1048 buildCounterRepresentativeInfoData--; | 1048 buildCounterRepresentativeInfoData--; |
1049 return o; | 1049 return o; |
1050 } | 1050 } |
1051 | 1051 |
1052 checkRepresentativeInfoData(api.RepresentativeInfoData o) { | 1052 checkRepresentativeInfoData(api.RepresentativeInfoData o) { |
1053 buildCounterRepresentativeInfoData++; | 1053 buildCounterRepresentativeInfoData++; |
1054 if (buildCounterRepresentativeInfoData < 3) { | 1054 if (buildCounterRepresentativeInfoData < 3) { |
1055 checkUnnamed2487(o.divisions); | 1055 checkUnnamed2581(o.divisions); |
1056 checkUnnamed2488(o.offices); | 1056 checkUnnamed2582(o.offices); |
1057 checkUnnamed2489(o.officials); | 1057 checkUnnamed2583(o.officials); |
1058 } | 1058 } |
1059 buildCounterRepresentativeInfoData--; | 1059 buildCounterRepresentativeInfoData--; |
1060 } | 1060 } |
1061 | 1061 |
1062 core.int buildCounterRepresentativeInfoRequest = 0; | 1062 core.int buildCounterRepresentativeInfoRequest = 0; |
1063 buildRepresentativeInfoRequest() { | 1063 buildRepresentativeInfoRequest() { |
1064 var o = new api.RepresentativeInfoRequest(); | 1064 var o = new api.RepresentativeInfoRequest(); |
1065 buildCounterRepresentativeInfoRequest++; | 1065 buildCounterRepresentativeInfoRequest++; |
1066 if (buildCounterRepresentativeInfoRequest < 3) { | 1066 if (buildCounterRepresentativeInfoRequest < 3) { |
1067 o.contextParams = buildContextParams(); | 1067 o.contextParams = buildContextParams(); |
1068 } | 1068 } |
1069 buildCounterRepresentativeInfoRequest--; | 1069 buildCounterRepresentativeInfoRequest--; |
1070 return o; | 1070 return o; |
1071 } | 1071 } |
1072 | 1072 |
1073 checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) { | 1073 checkRepresentativeInfoRequest(api.RepresentativeInfoRequest o) { |
1074 buildCounterRepresentativeInfoRequest++; | 1074 buildCounterRepresentativeInfoRequest++; |
1075 if (buildCounterRepresentativeInfoRequest < 3) { | 1075 if (buildCounterRepresentativeInfoRequest < 3) { |
1076 checkContextParams(o.contextParams); | 1076 checkContextParams(o.contextParams); |
1077 } | 1077 } |
1078 buildCounterRepresentativeInfoRequest--; | 1078 buildCounterRepresentativeInfoRequest--; |
1079 } | 1079 } |
1080 | 1080 |
1081 buildUnnamed2490() { | 1081 buildUnnamed2584() { |
1082 var o = new core.Map<core.String, api.GeographicDivision>(); | 1082 var o = new core.Map<core.String, api.GeographicDivision>(); |
1083 o["x"] = buildGeographicDivision(); | 1083 o["x"] = buildGeographicDivision(); |
1084 o["y"] = buildGeographicDivision(); | 1084 o["y"] = buildGeographicDivision(); |
1085 return o; | 1085 return o; |
1086 } | 1086 } |
1087 | 1087 |
1088 checkUnnamed2490(core.Map<core.String, api.GeographicDivision> o) { | 1088 checkUnnamed2584(core.Map<core.String, api.GeographicDivision> o) { |
1089 unittest.expect(o, unittest.hasLength(2)); | 1089 unittest.expect(o, unittest.hasLength(2)); |
1090 checkGeographicDivision(o["x"]); | 1090 checkGeographicDivision(o["x"]); |
1091 checkGeographicDivision(o["y"]); | 1091 checkGeographicDivision(o["y"]); |
1092 } | 1092 } |
1093 | 1093 |
1094 buildUnnamed2491() { | 1094 buildUnnamed2585() { |
1095 var o = new core.List<api.Office>(); | 1095 var o = new core.List<api.Office>(); |
1096 o.add(buildOffice()); | 1096 o.add(buildOffice()); |
1097 o.add(buildOffice()); | 1097 o.add(buildOffice()); |
1098 return o; | 1098 return o; |
1099 } | 1099 } |
1100 | 1100 |
1101 checkUnnamed2491(core.List<api.Office> o) { | 1101 checkUnnamed2585(core.List<api.Office> o) { |
1102 unittest.expect(o, unittest.hasLength(2)); | 1102 unittest.expect(o, unittest.hasLength(2)); |
1103 checkOffice(o[0]); | 1103 checkOffice(o[0]); |
1104 checkOffice(o[1]); | 1104 checkOffice(o[1]); |
1105 } | 1105 } |
1106 | 1106 |
1107 buildUnnamed2492() { | 1107 buildUnnamed2586() { |
1108 var o = new core.List<api.Official>(); | 1108 var o = new core.List<api.Official>(); |
1109 o.add(buildOfficial()); | 1109 o.add(buildOfficial()); |
1110 o.add(buildOfficial()); | 1110 o.add(buildOfficial()); |
1111 return o; | 1111 return o; |
1112 } | 1112 } |
1113 | 1113 |
1114 checkUnnamed2492(core.List<api.Official> o) { | 1114 checkUnnamed2586(core.List<api.Official> o) { |
1115 unittest.expect(o, unittest.hasLength(2)); | 1115 unittest.expect(o, unittest.hasLength(2)); |
1116 checkOfficial(o[0]); | 1116 checkOfficial(o[0]); |
1117 checkOfficial(o[1]); | 1117 checkOfficial(o[1]); |
1118 } | 1118 } |
1119 | 1119 |
1120 core.int buildCounterRepresentativeInfoResponse = 0; | 1120 core.int buildCounterRepresentativeInfoResponse = 0; |
1121 buildRepresentativeInfoResponse() { | 1121 buildRepresentativeInfoResponse() { |
1122 var o = new api.RepresentativeInfoResponse(); | 1122 var o = new api.RepresentativeInfoResponse(); |
1123 buildCounterRepresentativeInfoResponse++; | 1123 buildCounterRepresentativeInfoResponse++; |
1124 if (buildCounterRepresentativeInfoResponse < 3) { | 1124 if (buildCounterRepresentativeInfoResponse < 3) { |
1125 o.divisions = buildUnnamed2490(); | 1125 o.divisions = buildUnnamed2584(); |
1126 o.kind = "foo"; | 1126 o.kind = "foo"; |
1127 o.normalizedInput = buildSimpleAddressType(); | 1127 o.normalizedInput = buildSimpleAddressType(); |
1128 o.offices = buildUnnamed2491(); | 1128 o.offices = buildUnnamed2585(); |
1129 o.officials = buildUnnamed2492(); | 1129 o.officials = buildUnnamed2586(); |
1130 } | 1130 } |
1131 buildCounterRepresentativeInfoResponse--; | 1131 buildCounterRepresentativeInfoResponse--; |
1132 return o; | 1132 return o; |
1133 } | 1133 } |
1134 | 1134 |
1135 checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { | 1135 checkRepresentativeInfoResponse(api.RepresentativeInfoResponse o) { |
1136 buildCounterRepresentativeInfoResponse++; | 1136 buildCounterRepresentativeInfoResponse++; |
1137 if (buildCounterRepresentativeInfoResponse < 3) { | 1137 if (buildCounterRepresentativeInfoResponse < 3) { |
1138 checkUnnamed2490(o.divisions); | 1138 checkUnnamed2584(o.divisions); |
1139 unittest.expect(o.kind, unittest.equals('foo')); | 1139 unittest.expect(o.kind, unittest.equals('foo')); |
1140 checkSimpleAddressType(o.normalizedInput); | 1140 checkSimpleAddressType(o.normalizedInput); |
1141 checkUnnamed2491(o.offices); | 1141 checkUnnamed2585(o.offices); |
1142 checkUnnamed2492(o.officials); | 1142 checkUnnamed2586(o.officials); |
1143 } | 1143 } |
1144 buildCounterRepresentativeInfoResponse--; | 1144 buildCounterRepresentativeInfoResponse--; |
1145 } | 1145 } |
1146 | 1146 |
1147 core.int buildCounterSimpleAddressType = 0; | 1147 core.int buildCounterSimpleAddressType = 0; |
1148 buildSimpleAddressType() { | 1148 buildSimpleAddressType() { |
1149 var o = new api.SimpleAddressType(); | 1149 var o = new api.SimpleAddressType(); |
1150 buildCounterSimpleAddressType++; | 1150 buildCounterSimpleAddressType++; |
1151 if (buildCounterSimpleAddressType < 3) { | 1151 if (buildCounterSimpleAddressType < 3) { |
1152 o.city = "foo"; | 1152 o.city = "foo"; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 | 1210 |
1211 checkVoterInfoRequest(api.VoterInfoRequest o) { | 1211 checkVoterInfoRequest(api.VoterInfoRequest o) { |
1212 buildCounterVoterInfoRequest++; | 1212 buildCounterVoterInfoRequest++; |
1213 if (buildCounterVoterInfoRequest < 3) { | 1213 if (buildCounterVoterInfoRequest < 3) { |
1214 checkContextParams(o.contextParams); | 1214 checkContextParams(o.contextParams); |
1215 checkVoterInfoSegmentResult(o.voterInfoSegmentResult); | 1215 checkVoterInfoSegmentResult(o.voterInfoSegmentResult); |
1216 } | 1216 } |
1217 buildCounterVoterInfoRequest--; | 1217 buildCounterVoterInfoRequest--; |
1218 } | 1218 } |
1219 | 1219 |
1220 buildUnnamed2493() { | 1220 buildUnnamed2587() { |
1221 var o = new core.List<api.Contest>(); | 1221 var o = new core.List<api.Contest>(); |
1222 o.add(buildContest()); | 1222 o.add(buildContest()); |
1223 o.add(buildContest()); | 1223 o.add(buildContest()); |
1224 return o; | 1224 return o; |
1225 } | 1225 } |
1226 | 1226 |
1227 checkUnnamed2493(core.List<api.Contest> o) { | 1227 checkUnnamed2587(core.List<api.Contest> o) { |
1228 unittest.expect(o, unittest.hasLength(2)); | 1228 unittest.expect(o, unittest.hasLength(2)); |
1229 checkContest(o[0]); | 1229 checkContest(o[0]); |
1230 checkContest(o[1]); | 1230 checkContest(o[1]); |
1231 } | 1231 } |
1232 | 1232 |
1233 buildUnnamed2494() { | 1233 buildUnnamed2588() { |
1234 var o = new core.List<api.PollingLocation>(); | 1234 var o = new core.List<api.PollingLocation>(); |
1235 o.add(buildPollingLocation()); | 1235 o.add(buildPollingLocation()); |
1236 o.add(buildPollingLocation()); | 1236 o.add(buildPollingLocation()); |
1237 return o; | 1237 return o; |
1238 } | 1238 } |
1239 | 1239 |
1240 checkUnnamed2494(core.List<api.PollingLocation> o) { | 1240 checkUnnamed2588(core.List<api.PollingLocation> o) { |
1241 unittest.expect(o, unittest.hasLength(2)); | 1241 unittest.expect(o, unittest.hasLength(2)); |
1242 checkPollingLocation(o[0]); | 1242 checkPollingLocation(o[0]); |
1243 checkPollingLocation(o[1]); | 1243 checkPollingLocation(o[1]); |
1244 } | 1244 } |
1245 | 1245 |
1246 buildUnnamed2495() { | 1246 buildUnnamed2589() { |
1247 var o = new core.List<api.PollingLocation>(); | 1247 var o = new core.List<api.PollingLocation>(); |
1248 o.add(buildPollingLocation()); | 1248 o.add(buildPollingLocation()); |
1249 o.add(buildPollingLocation()); | 1249 o.add(buildPollingLocation()); |
1250 return o; | 1250 return o; |
1251 } | 1251 } |
1252 | 1252 |
1253 checkUnnamed2495(core.List<api.PollingLocation> o) { | 1253 checkUnnamed2589(core.List<api.PollingLocation> o) { |
1254 unittest.expect(o, unittest.hasLength(2)); | 1254 unittest.expect(o, unittest.hasLength(2)); |
1255 checkPollingLocation(o[0]); | 1255 checkPollingLocation(o[0]); |
1256 checkPollingLocation(o[1]); | 1256 checkPollingLocation(o[1]); |
1257 } | 1257 } |
1258 | 1258 |
1259 buildUnnamed2496() { | 1259 buildUnnamed2590() { |
1260 var o = new core.List<api.Election>(); | 1260 var o = new core.List<api.Election>(); |
1261 o.add(buildElection()); | 1261 o.add(buildElection()); |
1262 o.add(buildElection()); | 1262 o.add(buildElection()); |
1263 return o; | 1263 return o; |
1264 } | 1264 } |
1265 | 1265 |
1266 checkUnnamed2496(core.List<api.Election> o) { | 1266 checkUnnamed2590(core.List<api.Election> o) { |
1267 unittest.expect(o, unittest.hasLength(2)); | 1267 unittest.expect(o, unittest.hasLength(2)); |
1268 checkElection(o[0]); | 1268 checkElection(o[0]); |
1269 checkElection(o[1]); | 1269 checkElection(o[1]); |
1270 } | 1270 } |
1271 | 1271 |
1272 buildUnnamed2497() { | 1272 buildUnnamed2591() { |
1273 var o = new core.List<api.PollingLocation>(); | 1273 var o = new core.List<api.PollingLocation>(); |
1274 o.add(buildPollingLocation()); | 1274 o.add(buildPollingLocation()); |
1275 o.add(buildPollingLocation()); | 1275 o.add(buildPollingLocation()); |
1276 return o; | 1276 return o; |
1277 } | 1277 } |
1278 | 1278 |
1279 checkUnnamed2497(core.List<api.PollingLocation> o) { | 1279 checkUnnamed2591(core.List<api.PollingLocation> o) { |
1280 unittest.expect(o, unittest.hasLength(2)); | 1280 unittest.expect(o, unittest.hasLength(2)); |
1281 checkPollingLocation(o[0]); | 1281 checkPollingLocation(o[0]); |
1282 checkPollingLocation(o[1]); | 1282 checkPollingLocation(o[1]); |
1283 } | 1283 } |
1284 | 1284 |
1285 buildUnnamed2498() { | 1285 buildUnnamed2592() { |
1286 var o = new core.List<api.AdministrationRegion>(); | 1286 var o = new core.List<api.AdministrationRegion>(); |
1287 o.add(buildAdministrationRegion()); | 1287 o.add(buildAdministrationRegion()); |
1288 o.add(buildAdministrationRegion()); | 1288 o.add(buildAdministrationRegion()); |
1289 return o; | 1289 return o; |
1290 } | 1290 } |
1291 | 1291 |
1292 checkUnnamed2498(core.List<api.AdministrationRegion> o) { | 1292 checkUnnamed2592(core.List<api.AdministrationRegion> o) { |
1293 unittest.expect(o, unittest.hasLength(2)); | 1293 unittest.expect(o, unittest.hasLength(2)); |
1294 checkAdministrationRegion(o[0]); | 1294 checkAdministrationRegion(o[0]); |
1295 checkAdministrationRegion(o[1]); | 1295 checkAdministrationRegion(o[1]); |
1296 } | 1296 } |
1297 | 1297 |
1298 core.int buildCounterVoterInfoResponse = 0; | 1298 core.int buildCounterVoterInfoResponse = 0; |
1299 buildVoterInfoResponse() { | 1299 buildVoterInfoResponse() { |
1300 var o = new api.VoterInfoResponse(); | 1300 var o = new api.VoterInfoResponse(); |
1301 buildCounterVoterInfoResponse++; | 1301 buildCounterVoterInfoResponse++; |
1302 if (buildCounterVoterInfoResponse < 3) { | 1302 if (buildCounterVoterInfoResponse < 3) { |
1303 o.contests = buildUnnamed2493(); | 1303 o.contests = buildUnnamed2587(); |
1304 o.dropOffLocations = buildUnnamed2494(); | 1304 o.dropOffLocations = buildUnnamed2588(); |
1305 o.earlyVoteSites = buildUnnamed2495(); | 1305 o.earlyVoteSites = buildUnnamed2589(); |
1306 o.election = buildElection(); | 1306 o.election = buildElection(); |
1307 o.kind = "foo"; | 1307 o.kind = "foo"; |
1308 o.mailOnly = true; | 1308 o.mailOnly = true; |
1309 o.normalizedInput = buildSimpleAddressType(); | 1309 o.normalizedInput = buildSimpleAddressType(); |
1310 o.otherElections = buildUnnamed2496(); | 1310 o.otherElections = buildUnnamed2590(); |
1311 o.pollingLocations = buildUnnamed2497(); | 1311 o.pollingLocations = buildUnnamed2591(); |
1312 o.precinctId = "foo"; | 1312 o.precinctId = "foo"; |
1313 o.state = buildUnnamed2498(); | 1313 o.state = buildUnnamed2592(); |
1314 } | 1314 } |
1315 buildCounterVoterInfoResponse--; | 1315 buildCounterVoterInfoResponse--; |
1316 return o; | 1316 return o; |
1317 } | 1317 } |
1318 | 1318 |
1319 checkVoterInfoResponse(api.VoterInfoResponse o) { | 1319 checkVoterInfoResponse(api.VoterInfoResponse o) { |
1320 buildCounterVoterInfoResponse++; | 1320 buildCounterVoterInfoResponse++; |
1321 if (buildCounterVoterInfoResponse < 3) { | 1321 if (buildCounterVoterInfoResponse < 3) { |
1322 checkUnnamed2493(o.contests); | 1322 checkUnnamed2587(o.contests); |
1323 checkUnnamed2494(o.dropOffLocations); | 1323 checkUnnamed2588(o.dropOffLocations); |
1324 checkUnnamed2495(o.earlyVoteSites); | 1324 checkUnnamed2589(o.earlyVoteSites); |
1325 checkElection(o.election); | 1325 checkElection(o.election); |
1326 unittest.expect(o.kind, unittest.equals('foo')); | 1326 unittest.expect(o.kind, unittest.equals('foo')); |
1327 unittest.expect(o.mailOnly, unittest.isTrue); | 1327 unittest.expect(o.mailOnly, unittest.isTrue); |
1328 checkSimpleAddressType(o.normalizedInput); | 1328 checkSimpleAddressType(o.normalizedInput); |
1329 checkUnnamed2496(o.otherElections); | 1329 checkUnnamed2590(o.otherElections); |
1330 checkUnnamed2497(o.pollingLocations); | 1330 checkUnnamed2591(o.pollingLocations); |
1331 unittest.expect(o.precinctId, unittest.equals('foo')); | 1331 unittest.expect(o.precinctId, unittest.equals('foo')); |
1332 checkUnnamed2498(o.state); | 1332 checkUnnamed2592(o.state); |
1333 } | 1333 } |
1334 buildCounterVoterInfoResponse--; | 1334 buildCounterVoterInfoResponse--; |
1335 } | 1335 } |
1336 | 1336 |
1337 core.int buildCounterVoterInfoSegmentResult = 0; | 1337 core.int buildCounterVoterInfoSegmentResult = 0; |
1338 buildVoterInfoSegmentResult() { | 1338 buildVoterInfoSegmentResult() { |
1339 var o = new api.VoterInfoSegmentResult(); | 1339 var o = new api.VoterInfoSegmentResult(); |
1340 buildCounterVoterInfoSegmentResult++; | 1340 buildCounterVoterInfoSegmentResult++; |
1341 if (buildCounterVoterInfoSegmentResult < 3) { | 1341 if (buildCounterVoterInfoSegmentResult < 3) { |
1342 o.generatedMillis = "foo"; | 1342 o.generatedMillis = "foo"; |
1343 o.postalAddress = buildPostalAddress(); | 1343 o.postalAddress = buildPostalAddress(); |
1344 o.request = buildVoterInfoRequest(); | 1344 o.request = buildVoterInfoRequest(); |
1345 o.response = buildVoterInfoResponse(); | 1345 o.response = buildVoterInfoResponse(); |
1346 } | 1346 } |
1347 buildCounterVoterInfoSegmentResult--; | 1347 buildCounterVoterInfoSegmentResult--; |
1348 return o; | 1348 return o; |
1349 } | 1349 } |
1350 | 1350 |
1351 checkVoterInfoSegmentResult(api.VoterInfoSegmentResult o) { | 1351 checkVoterInfoSegmentResult(api.VoterInfoSegmentResult o) { |
1352 buildCounterVoterInfoSegmentResult++; | 1352 buildCounterVoterInfoSegmentResult++; |
1353 if (buildCounterVoterInfoSegmentResult < 3) { | 1353 if (buildCounterVoterInfoSegmentResult < 3) { |
1354 unittest.expect(o.generatedMillis, unittest.equals('foo')); | 1354 unittest.expect(o.generatedMillis, unittest.equals('foo')); |
1355 checkPostalAddress(o.postalAddress); | 1355 checkPostalAddress(o.postalAddress); |
1356 checkVoterInfoRequest(o.request); | 1356 checkVoterInfoRequest(o.request); |
1357 checkVoterInfoResponse(o.response); | 1357 checkVoterInfoResponse(o.response); |
1358 } | 1358 } |
1359 buildCounterVoterInfoSegmentResult--; | 1359 buildCounterVoterInfoSegmentResult--; |
1360 } | 1360 } |
1361 | 1361 |
1362 buildUnnamed2499() { | 1362 buildUnnamed2593() { |
1363 var o = new core.List<core.String>(); | 1363 var o = new core.List<core.String>(); |
1364 o.add("foo"); | 1364 o.add("foo"); |
1365 o.add("foo"); | 1365 o.add("foo"); |
1366 return o; | 1366 return o; |
1367 } | 1367 } |
1368 | 1368 |
1369 checkUnnamed2499(core.List<core.String> o) { | 1369 checkUnnamed2593(core.List<core.String> o) { |
1370 unittest.expect(o, unittest.hasLength(2)); | 1370 unittest.expect(o, unittest.hasLength(2)); |
1371 unittest.expect(o[0], unittest.equals('foo')); | 1371 unittest.expect(o[0], unittest.equals('foo')); |
1372 unittest.expect(o[1], unittest.equals('foo')); | 1372 unittest.expect(o[1], unittest.equals('foo')); |
1373 } | 1373 } |
1374 | 1374 |
1375 buildUnnamed2500() { | 1375 buildUnnamed2594() { |
1376 var o = new core.List<core.String>(); | 1376 var o = new core.List<core.String>(); |
1377 o.add("foo"); | 1377 o.add("foo"); |
1378 o.add("foo"); | 1378 o.add("foo"); |
1379 return o; | 1379 return o; |
1380 } | 1380 } |
1381 | 1381 |
1382 checkUnnamed2500(core.List<core.String> o) { | 1382 checkUnnamed2594(core.List<core.String> o) { |
1383 unittest.expect(o, unittest.hasLength(2)); | 1383 unittest.expect(o, unittest.hasLength(2)); |
1384 unittest.expect(o[0], unittest.equals('foo')); | 1384 unittest.expect(o[0], unittest.equals('foo')); |
1385 unittest.expect(o[1], unittest.equals('foo')); | 1385 unittest.expect(o[1], unittest.equals('foo')); |
1386 } | 1386 } |
1387 | 1387 |
1388 buildUnnamed2501() { | 1388 buildUnnamed2595() { |
1389 var o = new core.List<core.String>(); | 1389 var o = new core.List<core.String>(); |
1390 o.add("foo"); | 1390 o.add("foo"); |
1391 o.add("foo"); | 1391 o.add("foo"); |
1392 return o; | 1392 return o; |
1393 } | 1393 } |
1394 | 1394 |
1395 checkUnnamed2501(core.List<core.String> o) { | 1395 checkUnnamed2595(core.List<core.String> o) { |
1396 unittest.expect(o, unittest.hasLength(2)); | 1396 unittest.expect(o, unittest.hasLength(2)); |
1397 unittest.expect(o[0], unittest.equals('foo')); | 1397 unittest.expect(o[0], unittest.equals('foo')); |
1398 unittest.expect(o[1], unittest.equals('foo')); | 1398 unittest.expect(o[1], unittest.equals('foo')); |
1399 } | 1399 } |
1400 | 1400 |
1401 buildUnnamed2502() { | 1401 buildUnnamed2596() { |
1402 var o = new core.List<core.String>(); | 1402 var o = new core.List<core.String>(); |
1403 o.add("foo"); | 1403 o.add("foo"); |
1404 o.add("foo"); | 1404 o.add("foo"); |
1405 return o; | 1405 return o; |
1406 } | 1406 } |
1407 | 1407 |
1408 checkUnnamed2502(core.List<core.String> o) { | 1408 checkUnnamed2596(core.List<core.String> o) { |
1409 unittest.expect(o, unittest.hasLength(2)); | 1409 unittest.expect(o, unittest.hasLength(2)); |
1410 unittest.expect(o[0], unittest.equals('foo')); | 1410 unittest.expect(o[0], unittest.equals('foo')); |
1411 unittest.expect(o[1], unittest.equals('foo')); | 1411 unittest.expect(o[1], unittest.equals('foo')); |
1412 } | 1412 } |
1413 | 1413 |
1414 | 1414 |
1415 main() { | 1415 main() { |
1416 unittest.group("obj-schema-AdministrationRegion", () { | 1416 unittest.group("obj-schema-AdministrationRegion", () { |
1417 unittest.test("to-json--from-json", () { | 1417 unittest.test("to-json--from-json", () { |
1418 var o = buildAdministrationRegion(); | 1418 var o = buildAdministrationRegion(); |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1831 | 1831 |
1832 | 1832 |
1833 unittest.group("resource-RepresentativesResourceApi", () { | 1833 unittest.group("resource-RepresentativesResourceApi", () { |
1834 unittest.test("method--representativeInfoByAddress", () { | 1834 unittest.test("method--representativeInfoByAddress", () { |
1835 | 1835 |
1836 var mock = new HttpServerMock(); | 1836 var mock = new HttpServerMock(); |
1837 api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representa
tives; | 1837 api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representa
tives; |
1838 var arg_request = buildRepresentativeInfoRequest(); | 1838 var arg_request = buildRepresentativeInfoRequest(); |
1839 var arg_address = "foo"; | 1839 var arg_address = "foo"; |
1840 var arg_includeOffices = true; | 1840 var arg_includeOffices = true; |
1841 var arg_levels = buildUnnamed2499(); | 1841 var arg_levels = buildUnnamed2593(); |
1842 var arg_roles = buildUnnamed2500(); | 1842 var arg_roles = buildUnnamed2594(); |
1843 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1843 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
1844 var obj = new api.RepresentativeInfoRequest.fromJson(json); | 1844 var obj = new api.RepresentativeInfoRequest.fromJson(json); |
1845 checkRepresentativeInfoRequest(obj); | 1845 checkRepresentativeInfoRequest(obj); |
1846 | 1846 |
1847 var path = (req.url).path; | 1847 var path = (req.url).path; |
1848 var pathOffset = 0; | 1848 var pathOffset = 0; |
1849 var index; | 1849 var index; |
1850 var subPart; | 1850 var subPart; |
1851 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1851 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
1852 pathOffset += 1; | 1852 pathOffset += 1; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1887 checkRepresentativeInfoResponse(response); | 1887 checkRepresentativeInfoResponse(response); |
1888 }))); | 1888 }))); |
1889 }); | 1889 }); |
1890 | 1890 |
1891 unittest.test("method--representativeInfoByDivision", () { | 1891 unittest.test("method--representativeInfoByDivision", () { |
1892 | 1892 |
1893 var mock = new HttpServerMock(); | 1893 var mock = new HttpServerMock(); |
1894 api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representa
tives; | 1894 api.RepresentativesResourceApi res = new api.CivicinfoApi(mock).representa
tives; |
1895 var arg_request = buildDivisionRepresentativeInfoRequest(); | 1895 var arg_request = buildDivisionRepresentativeInfoRequest(); |
1896 var arg_ocdId = "foo"; | 1896 var arg_ocdId = "foo"; |
1897 var arg_levels = buildUnnamed2501(); | 1897 var arg_levels = buildUnnamed2595(); |
1898 var arg_recursive = true; | 1898 var arg_recursive = true; |
1899 var arg_roles = buildUnnamed2502(); | 1899 var arg_roles = buildUnnamed2596(); |
1900 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1900 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
1901 var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json); | 1901 var obj = new api.DivisionRepresentativeInfoRequest.fromJson(json); |
1902 checkDivisionRepresentativeInfoRequest(obj); | 1902 checkDivisionRepresentativeInfoRequest(obj); |
1903 | 1903 |
1904 var path = (req.url).path; | 1904 var path = (req.url).path; |
1905 var pathOffset = 0; | 1905 var pathOffset = 0; |
1906 var index; | 1906 var index; |
1907 var subPart; | 1907 var subPart; |
1908 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 1908 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
1909 pathOffset += 1; | 1909 pathOffset += 1; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1945 res.representativeInfoByDivision(arg_request, arg_ocdId, levels: arg_level
s, recursive: arg_recursive, roles: arg_roles).then(unittest.expectAsync(((api.R
epresentativeInfoData response) { | 1945 res.representativeInfoByDivision(arg_request, arg_ocdId, levels: arg_level
s, recursive: arg_recursive, roles: arg_roles).then(unittest.expectAsync(((api.R
epresentativeInfoData response) { |
1946 checkRepresentativeInfoData(response); | 1946 checkRepresentativeInfoData(response); |
1947 }))); | 1947 }))); |
1948 }); | 1948 }); |
1949 | 1949 |
1950 }); | 1950 }); |
1951 | 1951 |
1952 | 1952 |
1953 } | 1953 } |
1954 | 1954 |
OLD | NEW |