OLD | NEW |
1 library googleapis.mapsengine.v1.test; | 1 library googleapis.mapsengine.v1.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 checkAcquisitionTime(api.AcquisitionTime o) { | 67 checkAcquisitionTime(api.AcquisitionTime o) { |
68 buildCounterAcquisitionTime++; | 68 buildCounterAcquisitionTime++; |
69 if (buildCounterAcquisitionTime < 3) { | 69 if (buildCounterAcquisitionTime < 3) { |
70 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01
:02"))); | 70 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01
:02"))); |
71 unittest.expect(o.precision, unittest.equals('foo')); | 71 unittest.expect(o.precision, unittest.equals('foo')); |
72 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14:
01:02"))); | 72 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14:
01:02"))); |
73 } | 73 } |
74 buildCounterAcquisitionTime--; | 74 buildCounterAcquisitionTime--; |
75 } | 75 } |
76 | 76 |
77 buildUnnamed65() { | 77 buildUnnamed1873() { |
78 var o = new core.List<core.double>(); | 78 var o = new core.List<core.double>(); |
79 o.add(42.0); | 79 o.add(42.0); |
80 o.add(42.0); | 80 o.add(42.0); |
81 return o; | 81 return o; |
82 } | 82 } |
83 | 83 |
84 checkUnnamed65(core.List<core.double> o) { | 84 checkUnnamed1873(core.List<core.double> o) { |
85 unittest.expect(o, unittest.hasLength(2)); | 85 unittest.expect(o, unittest.hasLength(2)); |
86 unittest.expect(o[0], unittest.equals(42.0)); | 86 unittest.expect(o[0], unittest.equals(42.0)); |
87 unittest.expect(o[1], unittest.equals(42.0)); | 87 unittest.expect(o[1], unittest.equals(42.0)); |
88 } | 88 } |
89 | 89 |
90 buildUnnamed66() { | 90 buildUnnamed1874() { |
91 var o = new core.List<core.String>(); | 91 var o = new core.List<core.String>(); |
92 o.add("foo"); | 92 o.add("foo"); |
93 o.add("foo"); | 93 o.add("foo"); |
94 return o; | 94 return o; |
95 } | 95 } |
96 | 96 |
97 checkUnnamed66(core.List<core.String> o) { | 97 checkUnnamed1874(core.List<core.String> o) { |
98 unittest.expect(o, unittest.hasLength(2)); | 98 unittest.expect(o, unittest.hasLength(2)); |
99 unittest.expect(o[0], unittest.equals('foo')); | 99 unittest.expect(o[0], unittest.equals('foo')); |
100 unittest.expect(o[1], unittest.equals('foo')); | 100 unittest.expect(o[1], unittest.equals('foo')); |
101 } | 101 } |
102 | 102 |
103 core.int buildCounterAsset = 0; | 103 core.int buildCounterAsset = 0; |
104 buildAsset() { | 104 buildAsset() { |
105 var o = new api.Asset(); | 105 var o = new api.Asset(); |
106 buildCounterAsset++; | 106 buildCounterAsset++; |
107 if (buildCounterAsset < 3) { | 107 if (buildCounterAsset < 3) { |
108 o.bbox = buildUnnamed65(); | 108 o.bbox = buildUnnamed1873(); |
109 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 109 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
110 o.creatorEmail = "foo"; | 110 o.creatorEmail = "foo"; |
111 o.description = "foo"; | 111 o.description = "foo"; |
112 o.etag = "foo"; | 112 o.etag = "foo"; |
113 o.id = "foo"; | 113 o.id = "foo"; |
114 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 114 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
115 o.lastModifierEmail = "foo"; | 115 o.lastModifierEmail = "foo"; |
116 o.name = "foo"; | 116 o.name = "foo"; |
117 o.projectId = "foo"; | 117 o.projectId = "foo"; |
118 o.resource = "foo"; | 118 o.resource = "foo"; |
119 o.tags = buildUnnamed66(); | 119 o.tags = buildUnnamed1874(); |
120 o.type = "foo"; | 120 o.type = "foo"; |
121 o.writersCanEditPermissions = true; | 121 o.writersCanEditPermissions = true; |
122 } | 122 } |
123 buildCounterAsset--; | 123 buildCounterAsset--; |
124 return o; | 124 return o; |
125 } | 125 } |
126 | 126 |
127 checkAsset(api.Asset o) { | 127 checkAsset(api.Asset o) { |
128 buildCounterAsset++; | 128 buildCounterAsset++; |
129 if (buildCounterAsset < 3) { | 129 if (buildCounterAsset < 3) { |
130 checkUnnamed65(o.bbox); | 130 checkUnnamed1873(o.bbox); |
131 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 131 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
132 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 132 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
133 unittest.expect(o.description, unittest.equals('foo')); | 133 unittest.expect(o.description, unittest.equals('foo')); |
134 unittest.expect(o.etag, unittest.equals('foo')); | 134 unittest.expect(o.etag, unittest.equals('foo')); |
135 unittest.expect(o.id, unittest.equals('foo')); | 135 unittest.expect(o.id, unittest.equals('foo')); |
136 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 136 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
137 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 137 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
138 unittest.expect(o.name, unittest.equals('foo')); | 138 unittest.expect(o.name, unittest.equals('foo')); |
139 unittest.expect(o.projectId, unittest.equals('foo')); | 139 unittest.expect(o.projectId, unittest.equals('foo')); |
140 unittest.expect(o.resource, unittest.equals('foo')); | 140 unittest.expect(o.resource, unittest.equals('foo')); |
141 checkUnnamed66(o.tags); | 141 checkUnnamed1874(o.tags); |
142 unittest.expect(o.type, unittest.equals('foo')); | 142 unittest.expect(o.type, unittest.equals('foo')); |
143 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 143 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
144 } | 144 } |
145 buildCounterAsset--; | 145 buildCounterAsset--; |
146 } | 146 } |
147 | 147 |
148 buildUnnamed67() { | 148 buildUnnamed1875() { |
149 var o = new core.List<api.Asset>(); | 149 var o = new core.List<api.Asset>(); |
150 o.add(buildAsset()); | 150 o.add(buildAsset()); |
151 o.add(buildAsset()); | 151 o.add(buildAsset()); |
152 return o; | 152 return o; |
153 } | 153 } |
154 | 154 |
155 checkUnnamed67(core.List<api.Asset> o) { | 155 checkUnnamed1875(core.List<api.Asset> o) { |
156 unittest.expect(o, unittest.hasLength(2)); | 156 unittest.expect(o, unittest.hasLength(2)); |
157 checkAsset(o[0]); | 157 checkAsset(o[0]); |
158 checkAsset(o[1]); | 158 checkAsset(o[1]); |
159 } | 159 } |
160 | 160 |
161 core.int buildCounterAssetsListResponse = 0; | 161 core.int buildCounterAssetsListResponse = 0; |
162 buildAssetsListResponse() { | 162 buildAssetsListResponse() { |
163 var o = new api.AssetsListResponse(); | 163 var o = new api.AssetsListResponse(); |
164 buildCounterAssetsListResponse++; | 164 buildCounterAssetsListResponse++; |
165 if (buildCounterAssetsListResponse < 3) { | 165 if (buildCounterAssetsListResponse < 3) { |
166 o.assets = buildUnnamed67(); | 166 o.assets = buildUnnamed1875(); |
167 o.nextPageToken = "foo"; | 167 o.nextPageToken = "foo"; |
168 } | 168 } |
169 buildCounterAssetsListResponse--; | 169 buildCounterAssetsListResponse--; |
170 return o; | 170 return o; |
171 } | 171 } |
172 | 172 |
173 checkAssetsListResponse(api.AssetsListResponse o) { | 173 checkAssetsListResponse(api.AssetsListResponse o) { |
174 buildCounterAssetsListResponse++; | 174 buildCounterAssetsListResponse++; |
175 if (buildCounterAssetsListResponse < 3) { | 175 if (buildCounterAssetsListResponse < 3) { |
176 checkUnnamed67(o.assets); | 176 checkUnnamed1875(o.assets); |
177 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 177 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
178 } | 178 } |
179 buildCounterAssetsListResponse--; | 179 buildCounterAssetsListResponse--; |
180 } | 180 } |
181 | 181 |
182 core.int buildCounterBorder = 0; | 182 core.int buildCounterBorder = 0; |
183 buildBorder() { | 183 buildBorder() { |
184 var o = new api.Border(); | 184 var o = new api.Border(); |
185 buildCounterBorder++; | 185 buildCounterBorder++; |
186 if (buildCounterBorder < 3) { | 186 if (buildCounterBorder < 3) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 o.add(buildDatasource()); | 248 o.add(buildDatasource()); |
249 return o; | 249 return o; |
250 } | 250 } |
251 | 251 |
252 checkDatasources(api.Datasources o) { | 252 checkDatasources(api.Datasources o) { |
253 unittest.expect(o, unittest.hasLength(2)); | 253 unittest.expect(o, unittest.hasLength(2)); |
254 checkDatasource(o[0]); | 254 checkDatasource(o[0]); |
255 checkDatasource(o[1]); | 255 checkDatasource(o[1]); |
256 } | 256 } |
257 | 257 |
258 buildUnnamed68() { | 258 buildUnnamed1876() { |
259 var o = new core.List<api.Filter>(); | 259 var o = new core.List<api.Filter>(); |
260 o.add(buildFilter()); | 260 o.add(buildFilter()); |
261 o.add(buildFilter()); | 261 o.add(buildFilter()); |
262 return o; | 262 return o; |
263 } | 263 } |
264 | 264 |
265 checkUnnamed68(core.List<api.Filter> o) { | 265 checkUnnamed1876(core.List<api.Filter> o) { |
266 unittest.expect(o, unittest.hasLength(2)); | 266 unittest.expect(o, unittest.hasLength(2)); |
267 checkFilter(o[0]); | 267 checkFilter(o[0]); |
268 checkFilter(o[1]); | 268 checkFilter(o[1]); |
269 } | 269 } |
270 | 270 |
271 core.int buildCounterDisplayRule = 0; | 271 core.int buildCounterDisplayRule = 0; |
272 buildDisplayRule() { | 272 buildDisplayRule() { |
273 var o = new api.DisplayRule(); | 273 var o = new api.DisplayRule(); |
274 buildCounterDisplayRule++; | 274 buildCounterDisplayRule++; |
275 if (buildCounterDisplayRule < 3) { | 275 if (buildCounterDisplayRule < 3) { |
276 o.filters = buildUnnamed68(); | 276 o.filters = buildUnnamed1876(); |
277 o.lineOptions = buildLineStyle(); | 277 o.lineOptions = buildLineStyle(); |
278 o.name = "foo"; | 278 o.name = "foo"; |
279 o.pointOptions = buildPointStyle(); | 279 o.pointOptions = buildPointStyle(); |
280 o.polygonOptions = buildPolygonStyle(); | 280 o.polygonOptions = buildPolygonStyle(); |
281 o.zoomLevels = buildZoomLevels(); | 281 o.zoomLevels = buildZoomLevels(); |
282 } | 282 } |
283 buildCounterDisplayRule--; | 283 buildCounterDisplayRule--; |
284 return o; | 284 return o; |
285 } | 285 } |
286 | 286 |
287 checkDisplayRule(api.DisplayRule o) { | 287 checkDisplayRule(api.DisplayRule o) { |
288 buildCounterDisplayRule++; | 288 buildCounterDisplayRule++; |
289 if (buildCounterDisplayRule < 3) { | 289 if (buildCounterDisplayRule < 3) { |
290 checkUnnamed68(o.filters); | 290 checkUnnamed1876(o.filters); |
291 checkLineStyle(o.lineOptions); | 291 checkLineStyle(o.lineOptions); |
292 unittest.expect(o.name, unittest.equals('foo')); | 292 unittest.expect(o.name, unittest.equals('foo')); |
293 checkPointStyle(o.pointOptions); | 293 checkPointStyle(o.pointOptions); |
294 checkPolygonStyle(o.polygonOptions); | 294 checkPolygonStyle(o.polygonOptions); |
295 checkZoomLevels(o.zoomLevels); | 295 checkZoomLevels(o.zoomLevels); |
296 } | 296 } |
297 buildCounterDisplayRule--; | 297 buildCounterDisplayRule--; |
298 } | 298 } |
299 | 299 |
300 core.int buildCounterFeature = 0; | 300 core.int buildCounterFeature = 0; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 } | 332 } |
333 | 333 |
334 checkFeatureInfo(api.FeatureInfo o) { | 334 checkFeatureInfo(api.FeatureInfo o) { |
335 buildCounterFeatureInfo++; | 335 buildCounterFeatureInfo++; |
336 if (buildCounterFeatureInfo < 3) { | 336 if (buildCounterFeatureInfo < 3) { |
337 unittest.expect(o.content, unittest.equals('foo')); | 337 unittest.expect(o.content, unittest.equals('foo')); |
338 } | 338 } |
339 buildCounterFeatureInfo--; | 339 buildCounterFeatureInfo--; |
340 } | 340 } |
341 | 341 |
342 buildUnnamed69() { | 342 buildUnnamed1877() { |
343 var o = new core.List<core.String>(); | 343 var o = new core.List<core.String>(); |
344 o.add("foo"); | 344 o.add("foo"); |
345 o.add("foo"); | 345 o.add("foo"); |
346 return o; | 346 return o; |
347 } | 347 } |
348 | 348 |
349 checkUnnamed69(core.List<core.String> o) { | 349 checkUnnamed1877(core.List<core.String> o) { |
350 unittest.expect(o, unittest.hasLength(2)); | 350 unittest.expect(o, unittest.hasLength(2)); |
351 unittest.expect(o[0], unittest.equals('foo')); | 351 unittest.expect(o[0], unittest.equals('foo')); |
352 unittest.expect(o[1], unittest.equals('foo')); | 352 unittest.expect(o[1], unittest.equals('foo')); |
353 } | 353 } |
354 | 354 |
355 buildUnnamed70() { | 355 buildUnnamed1878() { |
356 var o = new core.List<core.String>(); | 356 var o = new core.List<core.String>(); |
357 o.add("foo"); | 357 o.add("foo"); |
358 o.add("foo"); | 358 o.add("foo"); |
359 return o; | 359 return o; |
360 } | 360 } |
361 | 361 |
362 checkUnnamed70(core.List<core.String> o) { | 362 checkUnnamed1878(core.List<core.String> o) { |
363 unittest.expect(o, unittest.hasLength(2)); | 363 unittest.expect(o, unittest.hasLength(2)); |
364 unittest.expect(o[0], unittest.equals('foo')); | 364 unittest.expect(o[0], unittest.equals('foo')); |
365 unittest.expect(o[1], unittest.equals('foo')); | 365 unittest.expect(o[1], unittest.equals('foo')); |
366 } | 366 } |
367 | 367 |
368 core.int buildCounterFeaturesBatchDeleteRequest = 0; | 368 core.int buildCounterFeaturesBatchDeleteRequest = 0; |
369 buildFeaturesBatchDeleteRequest() { | 369 buildFeaturesBatchDeleteRequest() { |
370 var o = new api.FeaturesBatchDeleteRequest(); | 370 var o = new api.FeaturesBatchDeleteRequest(); |
371 buildCounterFeaturesBatchDeleteRequest++; | 371 buildCounterFeaturesBatchDeleteRequest++; |
372 if (buildCounterFeaturesBatchDeleteRequest < 3) { | 372 if (buildCounterFeaturesBatchDeleteRequest < 3) { |
373 o.gxIds = buildUnnamed69(); | 373 o.gxIds = buildUnnamed1877(); |
374 o.primaryKeys = buildUnnamed70(); | 374 o.primaryKeys = buildUnnamed1878(); |
375 } | 375 } |
376 buildCounterFeaturesBatchDeleteRequest--; | 376 buildCounterFeaturesBatchDeleteRequest--; |
377 return o; | 377 return o; |
378 } | 378 } |
379 | 379 |
380 checkFeaturesBatchDeleteRequest(api.FeaturesBatchDeleteRequest o) { | 380 checkFeaturesBatchDeleteRequest(api.FeaturesBatchDeleteRequest o) { |
381 buildCounterFeaturesBatchDeleteRequest++; | 381 buildCounterFeaturesBatchDeleteRequest++; |
382 if (buildCounterFeaturesBatchDeleteRequest < 3) { | 382 if (buildCounterFeaturesBatchDeleteRequest < 3) { |
383 checkUnnamed69(o.gxIds); | 383 checkUnnamed1877(o.gxIds); |
384 checkUnnamed70(o.primaryKeys); | 384 checkUnnamed1878(o.primaryKeys); |
385 } | 385 } |
386 buildCounterFeaturesBatchDeleteRequest--; | 386 buildCounterFeaturesBatchDeleteRequest--; |
387 } | 387 } |
388 | 388 |
389 buildUnnamed71() { | 389 buildUnnamed1879() { |
390 var o = new core.List<api.Feature>(); | 390 var o = new core.List<api.Feature>(); |
391 o.add(buildFeature()); | 391 o.add(buildFeature()); |
392 o.add(buildFeature()); | 392 o.add(buildFeature()); |
393 return o; | 393 return o; |
394 } | 394 } |
395 | 395 |
396 checkUnnamed71(core.List<api.Feature> o) { | 396 checkUnnamed1879(core.List<api.Feature> o) { |
397 unittest.expect(o, unittest.hasLength(2)); | 397 unittest.expect(o, unittest.hasLength(2)); |
398 checkFeature(o[0]); | 398 checkFeature(o[0]); |
399 checkFeature(o[1]); | 399 checkFeature(o[1]); |
400 } | 400 } |
401 | 401 |
402 core.int buildCounterFeaturesBatchInsertRequest = 0; | 402 core.int buildCounterFeaturesBatchInsertRequest = 0; |
403 buildFeaturesBatchInsertRequest() { | 403 buildFeaturesBatchInsertRequest() { |
404 var o = new api.FeaturesBatchInsertRequest(); | 404 var o = new api.FeaturesBatchInsertRequest(); |
405 buildCounterFeaturesBatchInsertRequest++; | 405 buildCounterFeaturesBatchInsertRequest++; |
406 if (buildCounterFeaturesBatchInsertRequest < 3) { | 406 if (buildCounterFeaturesBatchInsertRequest < 3) { |
407 o.features = buildUnnamed71(); | 407 o.features = buildUnnamed1879(); |
408 o.normalizeGeometries = true; | 408 o.normalizeGeometries = true; |
409 } | 409 } |
410 buildCounterFeaturesBatchInsertRequest--; | 410 buildCounterFeaturesBatchInsertRequest--; |
411 return o; | 411 return o; |
412 } | 412 } |
413 | 413 |
414 checkFeaturesBatchInsertRequest(api.FeaturesBatchInsertRequest o) { | 414 checkFeaturesBatchInsertRequest(api.FeaturesBatchInsertRequest o) { |
415 buildCounterFeaturesBatchInsertRequest++; | 415 buildCounterFeaturesBatchInsertRequest++; |
416 if (buildCounterFeaturesBatchInsertRequest < 3) { | 416 if (buildCounterFeaturesBatchInsertRequest < 3) { |
417 checkUnnamed71(o.features); | 417 checkUnnamed1879(o.features); |
418 unittest.expect(o.normalizeGeometries, unittest.isTrue); | 418 unittest.expect(o.normalizeGeometries, unittest.isTrue); |
419 } | 419 } |
420 buildCounterFeaturesBatchInsertRequest--; | 420 buildCounterFeaturesBatchInsertRequest--; |
421 } | 421 } |
422 | 422 |
423 buildUnnamed72() { | 423 buildUnnamed1880() { |
424 var o = new core.List<api.Feature>(); | 424 var o = new core.List<api.Feature>(); |
425 o.add(buildFeature()); | 425 o.add(buildFeature()); |
426 o.add(buildFeature()); | 426 o.add(buildFeature()); |
427 return o; | 427 return o; |
428 } | 428 } |
429 | 429 |
430 checkUnnamed72(core.List<api.Feature> o) { | 430 checkUnnamed1880(core.List<api.Feature> o) { |
431 unittest.expect(o, unittest.hasLength(2)); | 431 unittest.expect(o, unittest.hasLength(2)); |
432 checkFeature(o[0]); | 432 checkFeature(o[0]); |
433 checkFeature(o[1]); | 433 checkFeature(o[1]); |
434 } | 434 } |
435 | 435 |
436 core.int buildCounterFeaturesBatchPatchRequest = 0; | 436 core.int buildCounterFeaturesBatchPatchRequest = 0; |
437 buildFeaturesBatchPatchRequest() { | 437 buildFeaturesBatchPatchRequest() { |
438 var o = new api.FeaturesBatchPatchRequest(); | 438 var o = new api.FeaturesBatchPatchRequest(); |
439 buildCounterFeaturesBatchPatchRequest++; | 439 buildCounterFeaturesBatchPatchRequest++; |
440 if (buildCounterFeaturesBatchPatchRequest < 3) { | 440 if (buildCounterFeaturesBatchPatchRequest < 3) { |
441 o.features = buildUnnamed72(); | 441 o.features = buildUnnamed1880(); |
442 o.normalizeGeometries = true; | 442 o.normalizeGeometries = true; |
443 } | 443 } |
444 buildCounterFeaturesBatchPatchRequest--; | 444 buildCounterFeaturesBatchPatchRequest--; |
445 return o; | 445 return o; |
446 } | 446 } |
447 | 447 |
448 checkFeaturesBatchPatchRequest(api.FeaturesBatchPatchRequest o) { | 448 checkFeaturesBatchPatchRequest(api.FeaturesBatchPatchRequest o) { |
449 buildCounterFeaturesBatchPatchRequest++; | 449 buildCounterFeaturesBatchPatchRequest++; |
450 if (buildCounterFeaturesBatchPatchRequest < 3) { | 450 if (buildCounterFeaturesBatchPatchRequest < 3) { |
451 checkUnnamed72(o.features); | 451 checkUnnamed1880(o.features); |
452 unittest.expect(o.normalizeGeometries, unittest.isTrue); | 452 unittest.expect(o.normalizeGeometries, unittest.isTrue); |
453 } | 453 } |
454 buildCounterFeaturesBatchPatchRequest--; | 454 buildCounterFeaturesBatchPatchRequest--; |
455 } | 455 } |
456 | 456 |
457 buildUnnamed73() { | 457 buildUnnamed1881() { |
458 var o = new core.List<api.Feature>(); | 458 var o = new core.List<api.Feature>(); |
459 o.add(buildFeature()); | 459 o.add(buildFeature()); |
460 o.add(buildFeature()); | 460 o.add(buildFeature()); |
461 return o; | 461 return o; |
462 } | 462 } |
463 | 463 |
464 checkUnnamed73(core.List<api.Feature> o) { | 464 checkUnnamed1881(core.List<api.Feature> o) { |
465 unittest.expect(o, unittest.hasLength(2)); | 465 unittest.expect(o, unittest.hasLength(2)); |
466 checkFeature(o[0]); | 466 checkFeature(o[0]); |
467 checkFeature(o[1]); | 467 checkFeature(o[1]); |
468 } | 468 } |
469 | 469 |
470 core.int buildCounterFeaturesListResponse = 0; | 470 core.int buildCounterFeaturesListResponse = 0; |
471 buildFeaturesListResponse() { | 471 buildFeaturesListResponse() { |
472 var o = new api.FeaturesListResponse(); | 472 var o = new api.FeaturesListResponse(); |
473 buildCounterFeaturesListResponse++; | 473 buildCounterFeaturesListResponse++; |
474 if (buildCounterFeaturesListResponse < 3) { | 474 if (buildCounterFeaturesListResponse < 3) { |
475 o.allowedQueriesPerSecond = 42.0; | 475 o.allowedQueriesPerSecond = 42.0; |
476 o.features = buildUnnamed73(); | 476 o.features = buildUnnamed1881(); |
477 o.nextPageToken = "foo"; | 477 o.nextPageToken = "foo"; |
478 o.schema = buildSchema(); | 478 o.schema = buildSchema(); |
479 o.type = "foo"; | 479 o.type = "foo"; |
480 } | 480 } |
481 buildCounterFeaturesListResponse--; | 481 buildCounterFeaturesListResponse--; |
482 return o; | 482 return o; |
483 } | 483 } |
484 | 484 |
485 checkFeaturesListResponse(api.FeaturesListResponse o) { | 485 checkFeaturesListResponse(api.FeaturesListResponse o) { |
486 buildCounterFeaturesListResponse++; | 486 buildCounterFeaturesListResponse++; |
487 if (buildCounterFeaturesListResponse < 3) { | 487 if (buildCounterFeaturesListResponse < 3) { |
488 unittest.expect(o.allowedQueriesPerSecond, unittest.equals(42.0)); | 488 unittest.expect(o.allowedQueriesPerSecond, unittest.equals(42.0)); |
489 checkUnnamed73(o.features); | 489 checkUnnamed1881(o.features); |
490 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 490 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
491 checkSchema(o.schema); | 491 checkSchema(o.schema); |
492 unittest.expect(o.type, unittest.equals('foo')); | 492 unittest.expect(o.type, unittest.equals('foo')); |
493 } | 493 } |
494 buildCounterFeaturesListResponse--; | 494 buildCounterFeaturesListResponse--; |
495 } | 495 } |
496 | 496 |
497 core.int buildCounterFile = 0; | 497 core.int buildCounterFile = 0; |
498 buildFile() { | 498 buildFile() { |
499 var o = new api.File(); | 499 var o = new api.File(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 } | 541 } |
542 | 542 |
543 buildGeoJsonGeometry() { | 543 buildGeoJsonGeometry() { |
544 return buildGeoJsonGeometryCollection(); | 544 return buildGeoJsonGeometryCollection(); |
545 } | 545 } |
546 | 546 |
547 checkGeoJsonGeometry(api.GeoJsonGeometry o) { | 547 checkGeoJsonGeometry(api.GeoJsonGeometry o) { |
548 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { | 548 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { |
549 buildCounterGeoJsonGeometryCollection++; | 549 buildCounterGeoJsonGeometryCollection++; |
550 if (buildCounterGeoJsonGeometryCollection < 3) { | 550 if (buildCounterGeoJsonGeometryCollection < 3) { |
551 checkUnnamed74(o.geometries); | 551 checkUnnamed1882(o.geometries); |
552 } | 552 } |
553 buildCounterGeoJsonGeometryCollection--; | 553 buildCounterGeoJsonGeometryCollection--; |
554 } | 554 } |
555 | 555 |
556 (o); | 556 (o); |
557 } | 557 } |
558 | 558 |
559 buildUnnamed74() { | 559 buildUnnamed1882() { |
560 var o = new core.List<api.GeoJsonGeometry>(); | 560 var o = new core.List<api.GeoJsonGeometry>(); |
561 o.add(buildGeoJsonGeometry()); | 561 o.add(buildGeoJsonGeometry()); |
562 o.add(buildGeoJsonGeometry()); | 562 o.add(buildGeoJsonGeometry()); |
563 return o; | 563 return o; |
564 } | 564 } |
565 | 565 |
566 checkUnnamed74(core.List<api.GeoJsonGeometry> o) { | 566 checkUnnamed1882(core.List<api.GeoJsonGeometry> o) { |
567 unittest.expect(o, unittest.hasLength(2)); | 567 unittest.expect(o, unittest.hasLength(2)); |
568 checkGeoJsonGeometry(o[0]); | 568 checkGeoJsonGeometry(o[0]); |
569 checkGeoJsonGeometry(o[1]); | 569 checkGeoJsonGeometry(o[1]); |
570 } | 570 } |
571 | 571 |
572 core.int buildCounterGeoJsonGeometryCollection = 0; | 572 core.int buildCounterGeoJsonGeometryCollection = 0; |
573 buildGeoJsonGeometryCollection() { | 573 buildGeoJsonGeometryCollection() { |
574 var o = new api.GeoJsonGeometryCollection(); | 574 var o = new api.GeoJsonGeometryCollection(); |
575 buildCounterGeoJsonGeometryCollection++; | 575 buildCounterGeoJsonGeometryCollection++; |
576 if (buildCounterGeoJsonGeometryCollection < 3) { | 576 if (buildCounterGeoJsonGeometryCollection < 3) { |
577 o.geometries = buildUnnamed74(); | 577 o.geometries = buildUnnamed1882(); |
578 } | 578 } |
579 buildCounterGeoJsonGeometryCollection--; | 579 buildCounterGeoJsonGeometryCollection--; |
580 return o; | 580 return o; |
581 } | 581 } |
582 | 582 |
583 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { | 583 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { |
584 buildCounterGeoJsonGeometryCollection++; | 584 buildCounterGeoJsonGeometryCollection++; |
585 if (buildCounterGeoJsonGeometryCollection < 3) { | 585 if (buildCounterGeoJsonGeometryCollection < 3) { |
586 checkUnnamed74(o.geometries); | 586 checkUnnamed1882(o.geometries); |
587 } | 587 } |
588 buildCounterGeoJsonGeometryCollection--; | 588 buildCounterGeoJsonGeometryCollection--; |
589 } | 589 } |
590 | 590 |
591 buildUnnamed75() { | 591 buildUnnamed1883() { |
592 var o = new core.List<api.GeoJsonPosition>(); | 592 var o = new core.List<api.GeoJsonPosition>(); |
593 o.add(buildGeoJsonPosition()); | 593 o.add(buildGeoJsonPosition()); |
594 o.add(buildGeoJsonPosition()); | 594 o.add(buildGeoJsonPosition()); |
595 return o; | 595 return o; |
596 } | 596 } |
597 | 597 |
598 checkUnnamed75(core.List<api.GeoJsonPosition> o) { | 598 checkUnnamed1883(core.List<api.GeoJsonPosition> o) { |
599 unittest.expect(o, unittest.hasLength(2)); | 599 unittest.expect(o, unittest.hasLength(2)); |
600 checkGeoJsonPosition(o[0]); | 600 checkGeoJsonPosition(o[0]); |
601 checkGeoJsonPosition(o[1]); | 601 checkGeoJsonPosition(o[1]); |
602 } | 602 } |
603 | 603 |
604 core.int buildCounterGeoJsonLineString = 0; | 604 core.int buildCounterGeoJsonLineString = 0; |
605 buildGeoJsonLineString() { | 605 buildGeoJsonLineString() { |
606 var o = new api.GeoJsonLineString(); | 606 var o = new api.GeoJsonLineString(); |
607 buildCounterGeoJsonLineString++; | 607 buildCounterGeoJsonLineString++; |
608 if (buildCounterGeoJsonLineString < 3) { | 608 if (buildCounterGeoJsonLineString < 3) { |
609 o.coordinates = buildUnnamed75(); | 609 o.coordinates = buildUnnamed1883(); |
610 } | 610 } |
611 buildCounterGeoJsonLineString--; | 611 buildCounterGeoJsonLineString--; |
612 return o; | 612 return o; |
613 } | 613 } |
614 | 614 |
615 checkGeoJsonLineString(api.GeoJsonLineString o) { | 615 checkGeoJsonLineString(api.GeoJsonLineString o) { |
616 buildCounterGeoJsonLineString++; | 616 buildCounterGeoJsonLineString++; |
617 if (buildCounterGeoJsonLineString < 3) { | 617 if (buildCounterGeoJsonLineString < 3) { |
618 checkUnnamed75(o.coordinates); | 618 checkUnnamed1883(o.coordinates); |
619 } | 619 } |
620 buildCounterGeoJsonLineString--; | 620 buildCounterGeoJsonLineString--; |
621 } | 621 } |
622 | 622 |
623 buildUnnamed76() { | 623 buildUnnamed1884() { |
624 var o = new core.List<api.GeoJsonPosition>(); | 624 var o = new core.List<api.GeoJsonPosition>(); |
625 o.add(buildGeoJsonPosition()); | 625 o.add(buildGeoJsonPosition()); |
626 o.add(buildGeoJsonPosition()); | 626 o.add(buildGeoJsonPosition()); |
627 return o; | 627 return o; |
628 } | 628 } |
629 | 629 |
630 checkUnnamed76(core.List<api.GeoJsonPosition> o) { | 630 checkUnnamed1884(core.List<api.GeoJsonPosition> o) { |
631 unittest.expect(o, unittest.hasLength(2)); | 631 unittest.expect(o, unittest.hasLength(2)); |
632 checkGeoJsonPosition(o[0]); | 632 checkGeoJsonPosition(o[0]); |
633 checkGeoJsonPosition(o[1]); | 633 checkGeoJsonPosition(o[1]); |
634 } | 634 } |
635 | 635 |
636 buildUnnamed77() { | 636 buildUnnamed1885() { |
637 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 637 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
638 o.add(buildUnnamed76()); | 638 o.add(buildUnnamed1884()); |
639 o.add(buildUnnamed76()); | 639 o.add(buildUnnamed1884()); |
640 return o; | 640 return o; |
641 } | 641 } |
642 | 642 |
643 checkUnnamed77(core.List<core.List<api.GeoJsonPosition>> o) { | 643 checkUnnamed1885(core.List<core.List<api.GeoJsonPosition>> o) { |
644 unittest.expect(o, unittest.hasLength(2)); | 644 unittest.expect(o, unittest.hasLength(2)); |
645 checkUnnamed76(o[0]); | 645 checkUnnamed1884(o[0]); |
646 checkUnnamed76(o[1]); | 646 checkUnnamed1884(o[1]); |
647 } | 647 } |
648 | 648 |
649 core.int buildCounterGeoJsonMultiLineString = 0; | 649 core.int buildCounterGeoJsonMultiLineString = 0; |
650 buildGeoJsonMultiLineString() { | 650 buildGeoJsonMultiLineString() { |
651 var o = new api.GeoJsonMultiLineString(); | 651 var o = new api.GeoJsonMultiLineString(); |
652 buildCounterGeoJsonMultiLineString++; | 652 buildCounterGeoJsonMultiLineString++; |
653 if (buildCounterGeoJsonMultiLineString < 3) { | 653 if (buildCounterGeoJsonMultiLineString < 3) { |
654 o.coordinates = buildUnnamed77(); | 654 o.coordinates = buildUnnamed1885(); |
655 } | 655 } |
656 buildCounterGeoJsonMultiLineString--; | 656 buildCounterGeoJsonMultiLineString--; |
657 return o; | 657 return o; |
658 } | 658 } |
659 | 659 |
660 checkGeoJsonMultiLineString(api.GeoJsonMultiLineString o) { | 660 checkGeoJsonMultiLineString(api.GeoJsonMultiLineString o) { |
661 buildCounterGeoJsonMultiLineString++; | 661 buildCounterGeoJsonMultiLineString++; |
662 if (buildCounterGeoJsonMultiLineString < 3) { | 662 if (buildCounterGeoJsonMultiLineString < 3) { |
663 checkUnnamed77(o.coordinates); | 663 checkUnnamed1885(o.coordinates); |
664 } | 664 } |
665 buildCounterGeoJsonMultiLineString--; | 665 buildCounterGeoJsonMultiLineString--; |
666 } | 666 } |
667 | 667 |
668 buildUnnamed78() { | 668 buildUnnamed1886() { |
669 var o = new core.List<api.GeoJsonPosition>(); | 669 var o = new core.List<api.GeoJsonPosition>(); |
670 o.add(buildGeoJsonPosition()); | 670 o.add(buildGeoJsonPosition()); |
671 o.add(buildGeoJsonPosition()); | 671 o.add(buildGeoJsonPosition()); |
672 return o; | 672 return o; |
673 } | 673 } |
674 | 674 |
675 checkUnnamed78(core.List<api.GeoJsonPosition> o) { | 675 checkUnnamed1886(core.List<api.GeoJsonPosition> o) { |
676 unittest.expect(o, unittest.hasLength(2)); | 676 unittest.expect(o, unittest.hasLength(2)); |
677 checkGeoJsonPosition(o[0]); | 677 checkGeoJsonPosition(o[0]); |
678 checkGeoJsonPosition(o[1]); | 678 checkGeoJsonPosition(o[1]); |
679 } | 679 } |
680 | 680 |
681 core.int buildCounterGeoJsonMultiPoint = 0; | 681 core.int buildCounterGeoJsonMultiPoint = 0; |
682 buildGeoJsonMultiPoint() { | 682 buildGeoJsonMultiPoint() { |
683 var o = new api.GeoJsonMultiPoint(); | 683 var o = new api.GeoJsonMultiPoint(); |
684 buildCounterGeoJsonMultiPoint++; | 684 buildCounterGeoJsonMultiPoint++; |
685 if (buildCounterGeoJsonMultiPoint < 3) { | 685 if (buildCounterGeoJsonMultiPoint < 3) { |
686 o.coordinates = buildUnnamed78(); | 686 o.coordinates = buildUnnamed1886(); |
687 } | 687 } |
688 buildCounterGeoJsonMultiPoint--; | 688 buildCounterGeoJsonMultiPoint--; |
689 return o; | 689 return o; |
690 } | 690 } |
691 | 691 |
692 checkGeoJsonMultiPoint(api.GeoJsonMultiPoint o) { | 692 checkGeoJsonMultiPoint(api.GeoJsonMultiPoint o) { |
693 buildCounterGeoJsonMultiPoint++; | 693 buildCounterGeoJsonMultiPoint++; |
694 if (buildCounterGeoJsonMultiPoint < 3) { | 694 if (buildCounterGeoJsonMultiPoint < 3) { |
695 checkUnnamed78(o.coordinates); | 695 checkUnnamed1886(o.coordinates); |
696 } | 696 } |
697 buildCounterGeoJsonMultiPoint--; | 697 buildCounterGeoJsonMultiPoint--; |
698 } | 698 } |
699 | 699 |
700 buildUnnamed79() { | 700 buildUnnamed1887() { |
701 var o = new core.List<api.GeoJsonPosition>(); | 701 var o = new core.List<api.GeoJsonPosition>(); |
702 o.add(buildGeoJsonPosition()); | 702 o.add(buildGeoJsonPosition()); |
703 o.add(buildGeoJsonPosition()); | 703 o.add(buildGeoJsonPosition()); |
704 return o; | 704 return o; |
705 } | 705 } |
706 | 706 |
707 checkUnnamed79(core.List<api.GeoJsonPosition> o) { | 707 checkUnnamed1887(core.List<api.GeoJsonPosition> o) { |
708 unittest.expect(o, unittest.hasLength(2)); | 708 unittest.expect(o, unittest.hasLength(2)); |
709 checkGeoJsonPosition(o[0]); | 709 checkGeoJsonPosition(o[0]); |
710 checkGeoJsonPosition(o[1]); | 710 checkGeoJsonPosition(o[1]); |
711 } | 711 } |
712 | 712 |
713 buildUnnamed80() { | 713 buildUnnamed1888() { |
714 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 714 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
715 o.add(buildUnnamed79()); | 715 o.add(buildUnnamed1887()); |
716 o.add(buildUnnamed79()); | 716 o.add(buildUnnamed1887()); |
717 return o; | 717 return o; |
718 } | 718 } |
719 | 719 |
720 checkUnnamed80(core.List<core.List<api.GeoJsonPosition>> o) { | 720 checkUnnamed1888(core.List<core.List<api.GeoJsonPosition>> o) { |
721 unittest.expect(o, unittest.hasLength(2)); | 721 unittest.expect(o, unittest.hasLength(2)); |
722 checkUnnamed79(o[0]); | 722 checkUnnamed1887(o[0]); |
723 checkUnnamed79(o[1]); | 723 checkUnnamed1887(o[1]); |
724 } | 724 } |
725 | 725 |
726 buildUnnamed81() { | 726 buildUnnamed1889() { |
727 var o = new core.List<core.List<core.List<api.GeoJsonPosition>>>(); | 727 var o = new core.List<core.List<core.List<api.GeoJsonPosition>>>(); |
728 o.add(buildUnnamed80()); | 728 o.add(buildUnnamed1888()); |
729 o.add(buildUnnamed80()); | 729 o.add(buildUnnamed1888()); |
730 return o; | 730 return o; |
731 } | 731 } |
732 | 732 |
733 checkUnnamed81(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { | 733 checkUnnamed1889(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { |
734 unittest.expect(o, unittest.hasLength(2)); | 734 unittest.expect(o, unittest.hasLength(2)); |
735 checkUnnamed80(o[0]); | 735 checkUnnamed1888(o[0]); |
736 checkUnnamed80(o[1]); | 736 checkUnnamed1888(o[1]); |
737 } | 737 } |
738 | 738 |
739 core.int buildCounterGeoJsonMultiPolygon = 0; | 739 core.int buildCounterGeoJsonMultiPolygon = 0; |
740 buildGeoJsonMultiPolygon() { | 740 buildGeoJsonMultiPolygon() { |
741 var o = new api.GeoJsonMultiPolygon(); | 741 var o = new api.GeoJsonMultiPolygon(); |
742 buildCounterGeoJsonMultiPolygon++; | 742 buildCounterGeoJsonMultiPolygon++; |
743 if (buildCounterGeoJsonMultiPolygon < 3) { | 743 if (buildCounterGeoJsonMultiPolygon < 3) { |
744 o.coordinates = buildUnnamed81(); | 744 o.coordinates = buildUnnamed1889(); |
745 } | 745 } |
746 buildCounterGeoJsonMultiPolygon--; | 746 buildCounterGeoJsonMultiPolygon--; |
747 return o; | 747 return o; |
748 } | 748 } |
749 | 749 |
750 checkGeoJsonMultiPolygon(api.GeoJsonMultiPolygon o) { | 750 checkGeoJsonMultiPolygon(api.GeoJsonMultiPolygon o) { |
751 buildCounterGeoJsonMultiPolygon++; | 751 buildCounterGeoJsonMultiPolygon++; |
752 if (buildCounterGeoJsonMultiPolygon < 3) { | 752 if (buildCounterGeoJsonMultiPolygon < 3) { |
753 checkUnnamed81(o.coordinates); | 753 checkUnnamed1889(o.coordinates); |
754 } | 754 } |
755 buildCounterGeoJsonMultiPolygon--; | 755 buildCounterGeoJsonMultiPolygon--; |
756 } | 756 } |
757 | 757 |
758 core.int buildCounterGeoJsonPoint = 0; | 758 core.int buildCounterGeoJsonPoint = 0; |
759 buildGeoJsonPoint() { | 759 buildGeoJsonPoint() { |
760 var o = new api.GeoJsonPoint(); | 760 var o = new api.GeoJsonPoint(); |
761 buildCounterGeoJsonPoint++; | 761 buildCounterGeoJsonPoint++; |
762 if (buildCounterGeoJsonPoint < 3) { | 762 if (buildCounterGeoJsonPoint < 3) { |
763 o.coordinates = buildGeoJsonPosition(); | 763 o.coordinates = buildGeoJsonPosition(); |
764 } | 764 } |
765 buildCounterGeoJsonPoint--; | 765 buildCounterGeoJsonPoint--; |
766 return o; | 766 return o; |
767 } | 767 } |
768 | 768 |
769 checkGeoJsonPoint(api.GeoJsonPoint o) { | 769 checkGeoJsonPoint(api.GeoJsonPoint o) { |
770 buildCounterGeoJsonPoint++; | 770 buildCounterGeoJsonPoint++; |
771 if (buildCounterGeoJsonPoint < 3) { | 771 if (buildCounterGeoJsonPoint < 3) { |
772 checkGeoJsonPosition(o.coordinates); | 772 checkGeoJsonPosition(o.coordinates); |
773 } | 773 } |
774 buildCounterGeoJsonPoint--; | 774 buildCounterGeoJsonPoint--; |
775 } | 775 } |
776 | 776 |
777 buildUnnamed82() { | 777 buildUnnamed1890() { |
778 var o = new core.List<api.GeoJsonPosition>(); | 778 var o = new core.List<api.GeoJsonPosition>(); |
779 o.add(buildGeoJsonPosition()); | 779 o.add(buildGeoJsonPosition()); |
780 o.add(buildGeoJsonPosition()); | 780 o.add(buildGeoJsonPosition()); |
781 return o; | 781 return o; |
782 } | 782 } |
783 | 783 |
784 checkUnnamed82(core.List<api.GeoJsonPosition> o) { | 784 checkUnnamed1890(core.List<api.GeoJsonPosition> o) { |
785 unittest.expect(o, unittest.hasLength(2)); | 785 unittest.expect(o, unittest.hasLength(2)); |
786 checkGeoJsonPosition(o[0]); | 786 checkGeoJsonPosition(o[0]); |
787 checkGeoJsonPosition(o[1]); | 787 checkGeoJsonPosition(o[1]); |
788 } | 788 } |
789 | 789 |
790 buildUnnamed83() { | 790 buildUnnamed1891() { |
791 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 791 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
792 o.add(buildUnnamed82()); | 792 o.add(buildUnnamed1890()); |
793 o.add(buildUnnamed82()); | 793 o.add(buildUnnamed1890()); |
794 return o; | 794 return o; |
795 } | 795 } |
796 | 796 |
797 checkUnnamed83(core.List<core.List<api.GeoJsonPosition>> o) { | 797 checkUnnamed1891(core.List<core.List<api.GeoJsonPosition>> o) { |
798 unittest.expect(o, unittest.hasLength(2)); | 798 unittest.expect(o, unittest.hasLength(2)); |
799 checkUnnamed82(o[0]); | 799 checkUnnamed1890(o[0]); |
800 checkUnnamed82(o[1]); | 800 checkUnnamed1890(o[1]); |
801 } | 801 } |
802 | 802 |
803 core.int buildCounterGeoJsonPolygon = 0; | 803 core.int buildCounterGeoJsonPolygon = 0; |
804 buildGeoJsonPolygon() { | 804 buildGeoJsonPolygon() { |
805 var o = new api.GeoJsonPolygon(); | 805 var o = new api.GeoJsonPolygon(); |
806 buildCounterGeoJsonPolygon++; | 806 buildCounterGeoJsonPolygon++; |
807 if (buildCounterGeoJsonPolygon < 3) { | 807 if (buildCounterGeoJsonPolygon < 3) { |
808 o.coordinates = buildUnnamed83(); | 808 o.coordinates = buildUnnamed1891(); |
809 } | 809 } |
810 buildCounterGeoJsonPolygon--; | 810 buildCounterGeoJsonPolygon--; |
811 return o; | 811 return o; |
812 } | 812 } |
813 | 813 |
814 checkGeoJsonPolygon(api.GeoJsonPolygon o) { | 814 checkGeoJsonPolygon(api.GeoJsonPolygon o) { |
815 buildCounterGeoJsonPolygon++; | 815 buildCounterGeoJsonPolygon++; |
816 if (buildCounterGeoJsonPolygon < 3) { | 816 if (buildCounterGeoJsonPolygon < 3) { |
817 checkUnnamed83(o.coordinates); | 817 checkUnnamed1891(o.coordinates); |
818 } | 818 } |
819 buildCounterGeoJsonPolygon--; | 819 buildCounterGeoJsonPolygon--; |
820 } | 820 } |
821 | 821 |
822 buildGeoJsonPosition() { | 822 buildGeoJsonPosition() { |
823 var o = new api.GeoJsonPosition(); | 823 var o = new api.GeoJsonPosition(); |
824 o.add(42.0); | 824 o.add(42.0); |
825 o.add(42.0); | 825 o.add(42.0); |
826 return o; | 826 return o; |
827 } | 827 } |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 buildCounterIconStyle++; | 886 buildCounterIconStyle++; |
887 if (buildCounterIconStyle < 3) { | 887 if (buildCounterIconStyle < 3) { |
888 unittest.expect(o.id, unittest.equals('foo')); | 888 unittest.expect(o.id, unittest.equals('foo')); |
889 unittest.expect(o.name, unittest.equals('foo')); | 889 unittest.expect(o.name, unittest.equals('foo')); |
890 checkScaledShape(o.scaledShape); | 890 checkScaledShape(o.scaledShape); |
891 checkScalingFunction(o.scalingFunction); | 891 checkScalingFunction(o.scalingFunction); |
892 } | 892 } |
893 buildCounterIconStyle--; | 893 buildCounterIconStyle--; |
894 } | 894 } |
895 | 895 |
896 buildUnnamed84() { | 896 buildUnnamed1892() { |
897 var o = new core.List<api.Icon>(); | 897 var o = new core.List<api.Icon>(); |
898 o.add(buildIcon()); | 898 o.add(buildIcon()); |
899 o.add(buildIcon()); | 899 o.add(buildIcon()); |
900 return o; | 900 return o; |
901 } | 901 } |
902 | 902 |
903 checkUnnamed84(core.List<api.Icon> o) { | 903 checkUnnamed1892(core.List<api.Icon> o) { |
904 unittest.expect(o, unittest.hasLength(2)); | 904 unittest.expect(o, unittest.hasLength(2)); |
905 checkIcon(o[0]); | 905 checkIcon(o[0]); |
906 checkIcon(o[1]); | 906 checkIcon(o[1]); |
907 } | 907 } |
908 | 908 |
909 core.int buildCounterIconsListResponse = 0; | 909 core.int buildCounterIconsListResponse = 0; |
910 buildIconsListResponse() { | 910 buildIconsListResponse() { |
911 var o = new api.IconsListResponse(); | 911 var o = new api.IconsListResponse(); |
912 buildCounterIconsListResponse++; | 912 buildCounterIconsListResponse++; |
913 if (buildCounterIconsListResponse < 3) { | 913 if (buildCounterIconsListResponse < 3) { |
914 o.icons = buildUnnamed84(); | 914 o.icons = buildUnnamed1892(); |
915 o.nextPageToken = "foo"; | 915 o.nextPageToken = "foo"; |
916 } | 916 } |
917 buildCounterIconsListResponse--; | 917 buildCounterIconsListResponse--; |
918 return o; | 918 return o; |
919 } | 919 } |
920 | 920 |
921 checkIconsListResponse(api.IconsListResponse o) { | 921 checkIconsListResponse(api.IconsListResponse o) { |
922 buildCounterIconsListResponse++; | 922 buildCounterIconsListResponse++; |
923 if (buildCounterIconsListResponse < 3) { | 923 if (buildCounterIconsListResponse < 3) { |
924 checkUnnamed84(o.icons); | 924 checkUnnamed1892(o.icons); |
925 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 925 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
926 } | 926 } |
927 buildCounterIconsListResponse--; | 927 buildCounterIconsListResponse--; |
928 } | 928 } |
929 | 929 |
930 core.int buildCounterLabelStyle = 0; | 930 core.int buildCounterLabelStyle = 0; |
931 buildLabelStyle() { | 931 buildLabelStyle() { |
932 var o = new api.LabelStyle(); | 932 var o = new api.LabelStyle(); |
933 buildCounterLabelStyle++; | 933 buildCounterLabelStyle++; |
934 if (buildCounterLabelStyle < 3) { | 934 if (buildCounterLabelStyle < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
964 o.add(42.0); | 964 o.add(42.0); |
965 return o; | 965 return o; |
966 } | 966 } |
967 | 967 |
968 checkLatLngBox(api.LatLngBox o) { | 968 checkLatLngBox(api.LatLngBox o) { |
969 unittest.expect(o, unittest.hasLength(2)); | 969 unittest.expect(o, unittest.hasLength(2)); |
970 unittest.expect(o[0], unittest.equals(42.0)); | 970 unittest.expect(o[0], unittest.equals(42.0)); |
971 unittest.expect(o[1], unittest.equals(42.0)); | 971 unittest.expect(o[1], unittest.equals(42.0)); |
972 } | 972 } |
973 | 973 |
974 buildUnnamed85() { | 974 buildUnnamed1893() { |
975 var o = new core.List<core.double>(); | 975 var o = new core.List<core.double>(); |
976 o.add(42.0); | 976 o.add(42.0); |
977 o.add(42.0); | 977 o.add(42.0); |
978 return o; | 978 return o; |
979 } | 979 } |
980 | 980 |
981 checkUnnamed85(core.List<core.double> o) { | 981 checkUnnamed1893(core.List<core.double> o) { |
982 unittest.expect(o, unittest.hasLength(2)); | 982 unittest.expect(o, unittest.hasLength(2)); |
983 unittest.expect(o[0], unittest.equals(42.0)); | 983 unittest.expect(o[0], unittest.equals(42.0)); |
984 unittest.expect(o[1], unittest.equals(42.0)); | 984 unittest.expect(o[1], unittest.equals(42.0)); |
985 } | 985 } |
986 | 986 |
987 core.int buildCounterLayer = 0; | 987 core.int buildCounterLayer = 0; |
988 buildLayer() { | 988 buildLayer() { |
989 var o = new api.Layer(); | 989 var o = new api.Layer(); |
990 buildCounterLayer++; | 990 buildCounterLayer++; |
991 if (buildCounterLayer < 3) { | 991 if (buildCounterLayer < 3) { |
992 o.bbox = buildUnnamed85(); | 992 o.bbox = buildUnnamed1893(); |
993 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 993 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
994 o.creatorEmail = "foo"; | 994 o.creatorEmail = "foo"; |
995 o.datasourceType = "foo"; | 995 o.datasourceType = "foo"; |
996 o.datasources = buildDatasources(); | 996 o.datasources = buildDatasources(); |
997 o.description = "foo"; | 997 o.description = "foo"; |
998 o.draftAccessList = "foo"; | 998 o.draftAccessList = "foo"; |
999 o.etag = "foo"; | 999 o.etag = "foo"; |
1000 o.id = "foo"; | 1000 o.id = "foo"; |
1001 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1001 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1002 o.lastModifierEmail = "foo"; | 1002 o.lastModifierEmail = "foo"; |
1003 o.layerType = "foo"; | 1003 o.layerType = "foo"; |
1004 o.name = "foo"; | 1004 o.name = "foo"; |
1005 o.processingStatus = "foo"; | 1005 o.processingStatus = "foo"; |
1006 o.projectId = "foo"; | 1006 o.projectId = "foo"; |
1007 o.publishedAccessList = "foo"; | 1007 o.publishedAccessList = "foo"; |
1008 o.publishingStatus = "foo"; | 1008 o.publishingStatus = "foo"; |
1009 o.style = buildVectorStyle(); | 1009 o.style = buildVectorStyle(); |
1010 o.tags = buildTags(); | 1010 o.tags = buildTags(); |
1011 o.writersCanEditPermissions = true; | 1011 o.writersCanEditPermissions = true; |
1012 } | 1012 } |
1013 buildCounterLayer--; | 1013 buildCounterLayer--; |
1014 return o; | 1014 return o; |
1015 } | 1015 } |
1016 | 1016 |
1017 checkLayer(api.Layer o) { | 1017 checkLayer(api.Layer o) { |
1018 buildCounterLayer++; | 1018 buildCounterLayer++; |
1019 if (buildCounterLayer < 3) { | 1019 if (buildCounterLayer < 3) { |
1020 checkUnnamed85(o.bbox); | 1020 checkUnnamed1893(o.bbox); |
1021 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1021 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1022 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1022 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1023 unittest.expect(o.datasourceType, unittest.equals('foo')); | 1023 unittest.expect(o.datasourceType, unittest.equals('foo')); |
1024 checkDatasources(o.datasources); | 1024 checkDatasources(o.datasources); |
1025 unittest.expect(o.description, unittest.equals('foo')); | 1025 unittest.expect(o.description, unittest.equals('foo')); |
1026 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1026 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1027 unittest.expect(o.etag, unittest.equals('foo')); | 1027 unittest.expect(o.etag, unittest.equals('foo')); |
1028 unittest.expect(o.id, unittest.equals('foo')); | 1028 unittest.expect(o.id, unittest.equals('foo')); |
1029 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1029 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1030 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1030 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1031 unittest.expect(o.layerType, unittest.equals('foo')); | 1031 unittest.expect(o.layerType, unittest.equals('foo')); |
1032 unittest.expect(o.name, unittest.equals('foo')); | 1032 unittest.expect(o.name, unittest.equals('foo')); |
1033 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1033 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1034 unittest.expect(o.projectId, unittest.equals('foo')); | 1034 unittest.expect(o.projectId, unittest.equals('foo')); |
1035 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 1035 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
1036 unittest.expect(o.publishingStatus, unittest.equals('foo')); | 1036 unittest.expect(o.publishingStatus, unittest.equals('foo')); |
1037 checkVectorStyle(o.style); | 1037 checkVectorStyle(o.style); |
1038 checkTags(o.tags); | 1038 checkTags(o.tags); |
1039 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1039 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1040 } | 1040 } |
1041 buildCounterLayer--; | 1041 buildCounterLayer--; |
1042 } | 1042 } |
1043 | 1043 |
1044 buildUnnamed86() { | 1044 buildUnnamed1894() { |
1045 var o = new core.List<api.Layer>(); | 1045 var o = new core.List<api.Layer>(); |
1046 o.add(buildLayer()); | 1046 o.add(buildLayer()); |
1047 o.add(buildLayer()); | 1047 o.add(buildLayer()); |
1048 return o; | 1048 return o; |
1049 } | 1049 } |
1050 | 1050 |
1051 checkUnnamed86(core.List<api.Layer> o) { | 1051 checkUnnamed1894(core.List<api.Layer> o) { |
1052 unittest.expect(o, unittest.hasLength(2)); | 1052 unittest.expect(o, unittest.hasLength(2)); |
1053 checkLayer(o[0]); | 1053 checkLayer(o[0]); |
1054 checkLayer(o[1]); | 1054 checkLayer(o[1]); |
1055 } | 1055 } |
1056 | 1056 |
1057 core.int buildCounterLayersListResponse = 0; | 1057 core.int buildCounterLayersListResponse = 0; |
1058 buildLayersListResponse() { | 1058 buildLayersListResponse() { |
1059 var o = new api.LayersListResponse(); | 1059 var o = new api.LayersListResponse(); |
1060 buildCounterLayersListResponse++; | 1060 buildCounterLayersListResponse++; |
1061 if (buildCounterLayersListResponse < 3) { | 1061 if (buildCounterLayersListResponse < 3) { |
1062 o.layers = buildUnnamed86(); | 1062 o.layers = buildUnnamed1894(); |
1063 o.nextPageToken = "foo"; | 1063 o.nextPageToken = "foo"; |
1064 } | 1064 } |
1065 buildCounterLayersListResponse--; | 1065 buildCounterLayersListResponse--; |
1066 return o; | 1066 return o; |
1067 } | 1067 } |
1068 | 1068 |
1069 checkLayersListResponse(api.LayersListResponse o) { | 1069 checkLayersListResponse(api.LayersListResponse o) { |
1070 buildCounterLayersListResponse++; | 1070 buildCounterLayersListResponse++; |
1071 if (buildCounterLayersListResponse < 3) { | 1071 if (buildCounterLayersListResponse < 3) { |
1072 checkUnnamed86(o.layers); | 1072 checkUnnamed1894(o.layers); |
1073 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1073 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1074 } | 1074 } |
1075 buildCounterLayersListResponse--; | 1075 buildCounterLayersListResponse--; |
1076 } | 1076 } |
1077 | 1077 |
1078 buildUnnamed87() { | 1078 buildUnnamed1895() { |
1079 var o = new core.List<core.double>(); | 1079 var o = new core.List<core.double>(); |
1080 o.add(42.0); | 1080 o.add(42.0); |
1081 o.add(42.0); | 1081 o.add(42.0); |
1082 return o; | 1082 return o; |
1083 } | 1083 } |
1084 | 1084 |
1085 checkUnnamed87(core.List<core.double> o) { | 1085 checkUnnamed1895(core.List<core.double> o) { |
1086 unittest.expect(o, unittest.hasLength(2)); | 1086 unittest.expect(o, unittest.hasLength(2)); |
1087 unittest.expect(o[0], unittest.equals(42.0)); | 1087 unittest.expect(o[0], unittest.equals(42.0)); |
1088 unittest.expect(o[1], unittest.equals(42.0)); | 1088 unittest.expect(o[1], unittest.equals(42.0)); |
1089 } | 1089 } |
1090 | 1090 |
1091 core.int buildCounterLineStyleStroke = 0; | 1091 core.int buildCounterLineStyleStroke = 0; |
1092 buildLineStyleStroke() { | 1092 buildLineStyleStroke() { |
1093 var o = new api.LineStyleStroke(); | 1093 var o = new api.LineStyleStroke(); |
1094 buildCounterLineStyleStroke++; | 1094 buildCounterLineStyleStroke++; |
1095 if (buildCounterLineStyleStroke < 3) { | 1095 if (buildCounterLineStyleStroke < 3) { |
(...skipping 14 matching lines...) Expand all Loading... |
1110 } | 1110 } |
1111 buildCounterLineStyleStroke--; | 1111 buildCounterLineStyleStroke--; |
1112 } | 1112 } |
1113 | 1113 |
1114 core.int buildCounterLineStyle = 0; | 1114 core.int buildCounterLineStyle = 0; |
1115 buildLineStyle() { | 1115 buildLineStyle() { |
1116 var o = new api.LineStyle(); | 1116 var o = new api.LineStyle(); |
1117 buildCounterLineStyle++; | 1117 buildCounterLineStyle++; |
1118 if (buildCounterLineStyle < 3) { | 1118 if (buildCounterLineStyle < 3) { |
1119 o.border = buildBorder(); | 1119 o.border = buildBorder(); |
1120 o.dash = buildUnnamed87(); | 1120 o.dash = buildUnnamed1895(); |
1121 o.label = buildLabelStyle(); | 1121 o.label = buildLabelStyle(); |
1122 o.stroke = buildLineStyleStroke(); | 1122 o.stroke = buildLineStyleStroke(); |
1123 } | 1123 } |
1124 buildCounterLineStyle--; | 1124 buildCounterLineStyle--; |
1125 return o; | 1125 return o; |
1126 } | 1126 } |
1127 | 1127 |
1128 checkLineStyle(api.LineStyle o) { | 1128 checkLineStyle(api.LineStyle o) { |
1129 buildCounterLineStyle++; | 1129 buildCounterLineStyle++; |
1130 if (buildCounterLineStyle < 3) { | 1130 if (buildCounterLineStyle < 3) { |
1131 checkBorder(o.border); | 1131 checkBorder(o.border); |
1132 checkUnnamed87(o.dash); | 1132 checkUnnamed1895(o.dash); |
1133 checkLabelStyle(o.label); | 1133 checkLabelStyle(o.label); |
1134 checkLineStyleStroke(o.stroke); | 1134 checkLineStyleStroke(o.stroke); |
1135 } | 1135 } |
1136 buildCounterLineStyle--; | 1136 buildCounterLineStyle--; |
1137 } | 1137 } |
1138 | 1138 |
1139 buildUnnamed88() { | 1139 buildUnnamed1896() { |
1140 var o = new core.List<core.double>(); | 1140 var o = new core.List<core.double>(); |
1141 o.add(42.0); | 1141 o.add(42.0); |
1142 o.add(42.0); | 1142 o.add(42.0); |
1143 return o; | 1143 return o; |
1144 } | 1144 } |
1145 | 1145 |
1146 checkUnnamed88(core.List<core.double> o) { | 1146 checkUnnamed1896(core.List<core.double> o) { |
1147 unittest.expect(o, unittest.hasLength(2)); | 1147 unittest.expect(o, unittest.hasLength(2)); |
1148 unittest.expect(o[0], unittest.equals(42.0)); | 1148 unittest.expect(o[0], unittest.equals(42.0)); |
1149 unittest.expect(o[1], unittest.equals(42.0)); | 1149 unittest.expect(o[1], unittest.equals(42.0)); |
1150 } | 1150 } |
1151 | 1151 |
1152 buildUnnamed89() { | 1152 buildUnnamed1897() { |
1153 var o = new core.List<core.String>(); | 1153 var o = new core.List<core.String>(); |
1154 o.add("foo"); | 1154 o.add("foo"); |
1155 o.add("foo"); | 1155 o.add("foo"); |
1156 return o; | 1156 return o; |
1157 } | 1157 } |
1158 | 1158 |
1159 checkUnnamed89(core.List<core.String> o) { | 1159 checkUnnamed1897(core.List<core.String> o) { |
1160 unittest.expect(o, unittest.hasLength(2)); | 1160 unittest.expect(o, unittest.hasLength(2)); |
1161 unittest.expect(o[0], unittest.equals('foo')); | 1161 unittest.expect(o[0], unittest.equals('foo')); |
1162 unittest.expect(o[1], unittest.equals('foo')); | 1162 unittest.expect(o[1], unittest.equals('foo')); |
1163 } | 1163 } |
1164 | 1164 |
1165 core.int buildCounterMap = 0; | 1165 core.int buildCounterMap = 0; |
1166 buildMap() { | 1166 buildMap() { |
1167 var o = new api.Map(); | 1167 var o = new api.Map(); |
1168 buildCounterMap++; | 1168 buildCounterMap++; |
1169 if (buildCounterMap < 3) { | 1169 if (buildCounterMap < 3) { |
1170 o.bbox = buildUnnamed88(); | 1170 o.bbox = buildUnnamed1896(); |
1171 o.contents = buildMapContents(); | 1171 o.contents = buildMapContents(); |
1172 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1172 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1173 o.creatorEmail = "foo"; | 1173 o.creatorEmail = "foo"; |
1174 o.defaultViewport = buildLatLngBox(); | 1174 o.defaultViewport = buildLatLngBox(); |
1175 o.description = "foo"; | 1175 o.description = "foo"; |
1176 o.draftAccessList = "foo"; | 1176 o.draftAccessList = "foo"; |
1177 o.etag = "foo"; | 1177 o.etag = "foo"; |
1178 o.id = "foo"; | 1178 o.id = "foo"; |
1179 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1179 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1180 o.lastModifierEmail = "foo"; | 1180 o.lastModifierEmail = "foo"; |
1181 o.name = "foo"; | 1181 o.name = "foo"; |
1182 o.processingStatus = "foo"; | 1182 o.processingStatus = "foo"; |
1183 o.projectId = "foo"; | 1183 o.projectId = "foo"; |
1184 o.publishedAccessList = "foo"; | 1184 o.publishedAccessList = "foo"; |
1185 o.publishingStatus = "foo"; | 1185 o.publishingStatus = "foo"; |
1186 o.tags = buildTags(); | 1186 o.tags = buildTags(); |
1187 o.versions = buildUnnamed89(); | 1187 o.versions = buildUnnamed1897(); |
1188 o.writersCanEditPermissions = true; | 1188 o.writersCanEditPermissions = true; |
1189 } | 1189 } |
1190 buildCounterMap--; | 1190 buildCounterMap--; |
1191 return o; | 1191 return o; |
1192 } | 1192 } |
1193 | 1193 |
1194 checkMap(api.Map o) { | 1194 checkMap(api.Map o) { |
1195 buildCounterMap++; | 1195 buildCounterMap++; |
1196 if (buildCounterMap < 3) { | 1196 if (buildCounterMap < 3) { |
1197 checkUnnamed88(o.bbox); | 1197 checkUnnamed1896(o.bbox); |
1198 checkMapContents(o.contents); | 1198 checkMapContents(o.contents); |
1199 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1199 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1200 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1200 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1201 checkLatLngBox(o.defaultViewport); | 1201 checkLatLngBox(o.defaultViewport); |
1202 unittest.expect(o.description, unittest.equals('foo')); | 1202 unittest.expect(o.description, unittest.equals('foo')); |
1203 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1203 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1204 unittest.expect(o.etag, unittest.equals('foo')); | 1204 unittest.expect(o.etag, unittest.equals('foo')); |
1205 unittest.expect(o.id, unittest.equals('foo')); | 1205 unittest.expect(o.id, unittest.equals('foo')); |
1206 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1206 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1207 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1207 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1208 unittest.expect(o.name, unittest.equals('foo')); | 1208 unittest.expect(o.name, unittest.equals('foo')); |
1209 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1209 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1210 unittest.expect(o.projectId, unittest.equals('foo')); | 1210 unittest.expect(o.projectId, unittest.equals('foo')); |
1211 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 1211 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
1212 unittest.expect(o.publishingStatus, unittest.equals('foo')); | 1212 unittest.expect(o.publishingStatus, unittest.equals('foo')); |
1213 checkTags(o.tags); | 1213 checkTags(o.tags); |
1214 checkUnnamed89(o.versions); | 1214 checkUnnamed1897(o.versions); |
1215 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1215 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1216 } | 1216 } |
1217 buildCounterMap--; | 1217 buildCounterMap--; |
1218 } | 1218 } |
1219 | 1219 |
1220 buildMapContents() { | 1220 buildMapContents() { |
1221 var o = new api.MapContents(); | 1221 var o = new api.MapContents(); |
1222 o.add(buildMapItem()); | 1222 o.add(buildMapItem()); |
1223 o.add(buildMapItem()); | 1223 o.add(buildMapItem()); |
1224 return o; | 1224 return o; |
1225 } | 1225 } |
1226 | 1226 |
1227 checkMapContents(api.MapContents o) { | 1227 checkMapContents(api.MapContents o) { |
1228 unittest.expect(o, unittest.hasLength(2)); | 1228 unittest.expect(o, unittest.hasLength(2)); |
1229 checkMapItem(o[0]); | 1229 checkMapItem(o[0]); |
1230 checkMapItem(o[1]); | 1230 checkMapItem(o[1]); |
1231 } | 1231 } |
1232 | 1232 |
1233 buildUnnamed90() { | 1233 buildUnnamed1898() { |
1234 var o = new core.List<api.MapItem>(); | 1234 var o = new core.List<api.MapItem>(); |
1235 o.add(buildMapItem()); | 1235 o.add(buildMapItem()); |
1236 o.add(buildMapItem()); | 1236 o.add(buildMapItem()); |
1237 return o; | 1237 return o; |
1238 } | 1238 } |
1239 | 1239 |
1240 checkUnnamed90(core.List<api.MapItem> o) { | 1240 checkUnnamed1898(core.List<api.MapItem> o) { |
1241 unittest.expect(o, unittest.hasLength(2)); | 1241 unittest.expect(o, unittest.hasLength(2)); |
1242 checkMapItem(o[0]); | 1242 checkMapItem(o[0]); |
1243 checkMapItem(o[1]); | 1243 checkMapItem(o[1]); |
1244 } | 1244 } |
1245 | 1245 |
1246 buildUnnamed91() { | 1246 buildUnnamed1899() { |
1247 var o = new core.List<core.double>(); | 1247 var o = new core.List<core.double>(); |
1248 o.add(42.0); | 1248 o.add(42.0); |
1249 o.add(42.0); | 1249 o.add(42.0); |
1250 return o; | 1250 return o; |
1251 } | 1251 } |
1252 | 1252 |
1253 checkUnnamed91(core.List<core.double> o) { | 1253 checkUnnamed1899(core.List<core.double> o) { |
1254 unittest.expect(o, unittest.hasLength(2)); | 1254 unittest.expect(o, unittest.hasLength(2)); |
1255 unittest.expect(o[0], unittest.equals(42.0)); | 1255 unittest.expect(o[0], unittest.equals(42.0)); |
1256 unittest.expect(o[1], unittest.equals(42.0)); | 1256 unittest.expect(o[1], unittest.equals(42.0)); |
1257 } | 1257 } |
1258 | 1258 |
1259 core.int buildCounterMapFolder = 0; | 1259 core.int buildCounterMapFolder = 0; |
1260 buildMapFolder() { | 1260 buildMapFolder() { |
1261 var o = new api.MapFolder(); | 1261 var o = new api.MapFolder(); |
1262 buildCounterMapFolder++; | 1262 buildCounterMapFolder++; |
1263 if (buildCounterMapFolder < 3) { | 1263 if (buildCounterMapFolder < 3) { |
1264 o.contents = buildUnnamed90(); | 1264 o.contents = buildUnnamed1898(); |
1265 o.defaultViewport = buildUnnamed91(); | 1265 o.defaultViewport = buildUnnamed1899(); |
1266 o.expandable = true; | 1266 o.expandable = true; |
1267 o.key = "foo"; | 1267 o.key = "foo"; |
1268 o.name = "foo"; | 1268 o.name = "foo"; |
1269 o.visibility = "foo"; | 1269 o.visibility = "foo"; |
1270 } | 1270 } |
1271 buildCounterMapFolder--; | 1271 buildCounterMapFolder--; |
1272 return o; | 1272 return o; |
1273 } | 1273 } |
1274 | 1274 |
1275 checkMapFolder(api.MapFolder o) { | 1275 checkMapFolder(api.MapFolder o) { |
1276 buildCounterMapFolder++; | 1276 buildCounterMapFolder++; |
1277 if (buildCounterMapFolder < 3) { | 1277 if (buildCounterMapFolder < 3) { |
1278 checkUnnamed90(o.contents); | 1278 checkUnnamed1898(o.contents); |
1279 checkUnnamed91(o.defaultViewport); | 1279 checkUnnamed1899(o.defaultViewport); |
1280 unittest.expect(o.expandable, unittest.isTrue); | 1280 unittest.expect(o.expandable, unittest.isTrue); |
1281 unittest.expect(o.key, unittest.equals('foo')); | 1281 unittest.expect(o.key, unittest.equals('foo')); |
1282 unittest.expect(o.name, unittest.equals('foo')); | 1282 unittest.expect(o.name, unittest.equals('foo')); |
1283 unittest.expect(o.visibility, unittest.equals('foo')); | 1283 unittest.expect(o.visibility, unittest.equals('foo')); |
1284 } | 1284 } |
1285 buildCounterMapFolder--; | 1285 buildCounterMapFolder--; |
1286 } | 1286 } |
1287 | 1287 |
1288 buildMapItem() { | 1288 buildMapItem() { |
1289 return buildMapFolder(); | 1289 return buildMapFolder(); |
1290 } | 1290 } |
1291 | 1291 |
1292 checkMapItem(api.MapItem o) { | 1292 checkMapItem(api.MapItem o) { |
1293 checkMapFolder(api.MapFolder o) { | 1293 checkMapFolder(api.MapFolder o) { |
1294 buildCounterMapFolder++; | 1294 buildCounterMapFolder++; |
1295 if (buildCounterMapFolder < 3) { | 1295 if (buildCounterMapFolder < 3) { |
1296 checkUnnamed90(o.contents); | 1296 checkUnnamed1898(o.contents); |
1297 checkUnnamed91(o.defaultViewport); | 1297 checkUnnamed1899(o.defaultViewport); |
1298 unittest.expect(o.expandable, unittest.isTrue); | 1298 unittest.expect(o.expandable, unittest.isTrue); |
1299 unittest.expect(o.key, unittest.equals('foo')); | 1299 unittest.expect(o.key, unittest.equals('foo')); |
1300 unittest.expect(o.name, unittest.equals('foo')); | 1300 unittest.expect(o.name, unittest.equals('foo')); |
1301 unittest.expect(o.visibility, unittest.equals('foo')); | 1301 unittest.expect(o.visibility, unittest.equals('foo')); |
1302 } | 1302 } |
1303 buildCounterMapFolder--; | 1303 buildCounterMapFolder--; |
1304 } | 1304 } |
1305 | 1305 |
1306 (o); | 1306 (o); |
1307 } | 1307 } |
1308 | 1308 |
1309 buildUnnamed92() { | 1309 buildUnnamed1900() { |
1310 var o = new core.List<core.double>(); | 1310 var o = new core.List<core.double>(); |
1311 o.add(42.0); | 1311 o.add(42.0); |
1312 o.add(42.0); | 1312 o.add(42.0); |
1313 return o; | 1313 return o; |
1314 } | 1314 } |
1315 | 1315 |
1316 checkUnnamed92(core.List<core.double> o) { | 1316 checkUnnamed1900(core.List<core.double> o) { |
1317 unittest.expect(o, unittest.hasLength(2)); | 1317 unittest.expect(o, unittest.hasLength(2)); |
1318 unittest.expect(o[0], unittest.equals(42.0)); | 1318 unittest.expect(o[0], unittest.equals(42.0)); |
1319 unittest.expect(o[1], unittest.equals(42.0)); | 1319 unittest.expect(o[1], unittest.equals(42.0)); |
1320 } | 1320 } |
1321 | 1321 |
1322 core.int buildCounterMapKmlLink = 0; | 1322 core.int buildCounterMapKmlLink = 0; |
1323 buildMapKmlLink() { | 1323 buildMapKmlLink() { |
1324 var o = new api.MapKmlLink(); | 1324 var o = new api.MapKmlLink(); |
1325 buildCounterMapKmlLink++; | 1325 buildCounterMapKmlLink++; |
1326 if (buildCounterMapKmlLink < 3) { | 1326 if (buildCounterMapKmlLink < 3) { |
1327 o.defaultViewport = buildUnnamed92(); | 1327 o.defaultViewport = buildUnnamed1900(); |
1328 o.kmlUrl = "foo"; | 1328 o.kmlUrl = "foo"; |
1329 o.name = "foo"; | 1329 o.name = "foo"; |
1330 o.visibility = "foo"; | 1330 o.visibility = "foo"; |
1331 } | 1331 } |
1332 buildCounterMapKmlLink--; | 1332 buildCounterMapKmlLink--; |
1333 return o; | 1333 return o; |
1334 } | 1334 } |
1335 | 1335 |
1336 checkMapKmlLink(api.MapKmlLink o) { | 1336 checkMapKmlLink(api.MapKmlLink o) { |
1337 buildCounterMapKmlLink++; | 1337 buildCounterMapKmlLink++; |
1338 if (buildCounterMapKmlLink < 3) { | 1338 if (buildCounterMapKmlLink < 3) { |
1339 checkUnnamed92(o.defaultViewport); | 1339 checkUnnamed1900(o.defaultViewport); |
1340 unittest.expect(o.kmlUrl, unittest.equals('foo')); | 1340 unittest.expect(o.kmlUrl, unittest.equals('foo')); |
1341 unittest.expect(o.name, unittest.equals('foo')); | 1341 unittest.expect(o.name, unittest.equals('foo')); |
1342 unittest.expect(o.visibility, unittest.equals('foo')); | 1342 unittest.expect(o.visibility, unittest.equals('foo')); |
1343 } | 1343 } |
1344 buildCounterMapKmlLink--; | 1344 buildCounterMapKmlLink--; |
1345 } | 1345 } |
1346 | 1346 |
1347 buildUnnamed93() { | 1347 buildUnnamed1901() { |
1348 var o = new core.List<core.double>(); | 1348 var o = new core.List<core.double>(); |
1349 o.add(42.0); | 1349 o.add(42.0); |
1350 o.add(42.0); | 1350 o.add(42.0); |
1351 return o; | 1351 return o; |
1352 } | 1352 } |
1353 | 1353 |
1354 checkUnnamed93(core.List<core.double> o) { | 1354 checkUnnamed1901(core.List<core.double> o) { |
1355 unittest.expect(o, unittest.hasLength(2)); | 1355 unittest.expect(o, unittest.hasLength(2)); |
1356 unittest.expect(o[0], unittest.equals(42.0)); | 1356 unittest.expect(o[0], unittest.equals(42.0)); |
1357 unittest.expect(o[1], unittest.equals(42.0)); | 1357 unittest.expect(o[1], unittest.equals(42.0)); |
1358 } | 1358 } |
1359 | 1359 |
1360 core.int buildCounterMapLayer = 0; | 1360 core.int buildCounterMapLayer = 0; |
1361 buildMapLayer() { | 1361 buildMapLayer() { |
1362 var o = new api.MapLayer(); | 1362 var o = new api.MapLayer(); |
1363 buildCounterMapLayer++; | 1363 buildCounterMapLayer++; |
1364 if (buildCounterMapLayer < 3) { | 1364 if (buildCounterMapLayer < 3) { |
1365 o.defaultViewport = buildUnnamed93(); | 1365 o.defaultViewport = buildUnnamed1901(); |
1366 o.id = "foo"; | 1366 o.id = "foo"; |
1367 o.key = "foo"; | 1367 o.key = "foo"; |
1368 o.name = "foo"; | 1368 o.name = "foo"; |
1369 o.visibility = "foo"; | 1369 o.visibility = "foo"; |
1370 } | 1370 } |
1371 buildCounterMapLayer--; | 1371 buildCounterMapLayer--; |
1372 return o; | 1372 return o; |
1373 } | 1373 } |
1374 | 1374 |
1375 checkMapLayer(api.MapLayer o) { | 1375 checkMapLayer(api.MapLayer o) { |
1376 buildCounterMapLayer++; | 1376 buildCounterMapLayer++; |
1377 if (buildCounterMapLayer < 3) { | 1377 if (buildCounterMapLayer < 3) { |
1378 checkUnnamed93(o.defaultViewport); | 1378 checkUnnamed1901(o.defaultViewport); |
1379 unittest.expect(o.id, unittest.equals('foo')); | 1379 unittest.expect(o.id, unittest.equals('foo')); |
1380 unittest.expect(o.key, unittest.equals('foo')); | 1380 unittest.expect(o.key, unittest.equals('foo')); |
1381 unittest.expect(o.name, unittest.equals('foo')); | 1381 unittest.expect(o.name, unittest.equals('foo')); |
1382 unittest.expect(o.visibility, unittest.equals('foo')); | 1382 unittest.expect(o.visibility, unittest.equals('foo')); |
1383 } | 1383 } |
1384 buildCounterMapLayer--; | 1384 buildCounterMapLayer--; |
1385 } | 1385 } |
1386 | 1386 |
1387 buildUnnamed94() { | 1387 buildUnnamed1902() { |
1388 var o = new core.List<api.Map>(); | 1388 var o = new core.List<api.Map>(); |
1389 o.add(buildMap()); | 1389 o.add(buildMap()); |
1390 o.add(buildMap()); | 1390 o.add(buildMap()); |
1391 return o; | 1391 return o; |
1392 } | 1392 } |
1393 | 1393 |
1394 checkUnnamed94(core.List<api.Map> o) { | 1394 checkUnnamed1902(core.List<api.Map> o) { |
1395 unittest.expect(o, unittest.hasLength(2)); | 1395 unittest.expect(o, unittest.hasLength(2)); |
1396 checkMap(o[0]); | 1396 checkMap(o[0]); |
1397 checkMap(o[1]); | 1397 checkMap(o[1]); |
1398 } | 1398 } |
1399 | 1399 |
1400 core.int buildCounterMapsListResponse = 0; | 1400 core.int buildCounterMapsListResponse = 0; |
1401 buildMapsListResponse() { | 1401 buildMapsListResponse() { |
1402 var o = new api.MapsListResponse(); | 1402 var o = new api.MapsListResponse(); |
1403 buildCounterMapsListResponse++; | 1403 buildCounterMapsListResponse++; |
1404 if (buildCounterMapsListResponse < 3) { | 1404 if (buildCounterMapsListResponse < 3) { |
1405 o.maps = buildUnnamed94(); | 1405 o.maps = buildUnnamed1902(); |
1406 o.nextPageToken = "foo"; | 1406 o.nextPageToken = "foo"; |
1407 } | 1407 } |
1408 buildCounterMapsListResponse--; | 1408 buildCounterMapsListResponse--; |
1409 return o; | 1409 return o; |
1410 } | 1410 } |
1411 | 1411 |
1412 checkMapsListResponse(api.MapsListResponse o) { | 1412 checkMapsListResponse(api.MapsListResponse o) { |
1413 buildCounterMapsListResponse++; | 1413 buildCounterMapsListResponse++; |
1414 if (buildCounterMapsListResponse < 3) { | 1414 if (buildCounterMapsListResponse < 3) { |
1415 checkUnnamed94(o.maps); | 1415 checkUnnamed1902(o.maps); |
1416 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1416 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1417 } | 1417 } |
1418 buildCounterMapsListResponse--; | 1418 buildCounterMapsListResponse--; |
1419 } | 1419 } |
1420 | 1420 |
1421 core.int buildCounterParent = 0; | 1421 core.int buildCounterParent = 0; |
1422 buildParent() { | 1422 buildParent() { |
1423 var o = new api.Parent(); | 1423 var o = new api.Parent(); |
1424 buildCounterParent++; | 1424 buildCounterParent++; |
1425 if (buildCounterParent < 3) { | 1425 if (buildCounterParent < 3) { |
1426 o.id = "foo"; | 1426 o.id = "foo"; |
1427 } | 1427 } |
1428 buildCounterParent--; | 1428 buildCounterParent--; |
1429 return o; | 1429 return o; |
1430 } | 1430 } |
1431 | 1431 |
1432 checkParent(api.Parent o) { | 1432 checkParent(api.Parent o) { |
1433 buildCounterParent++; | 1433 buildCounterParent++; |
1434 if (buildCounterParent < 3) { | 1434 if (buildCounterParent < 3) { |
1435 unittest.expect(o.id, unittest.equals('foo')); | 1435 unittest.expect(o.id, unittest.equals('foo')); |
1436 } | 1436 } |
1437 buildCounterParent--; | 1437 buildCounterParent--; |
1438 } | 1438 } |
1439 | 1439 |
1440 buildUnnamed95() { | 1440 buildUnnamed1903() { |
1441 var o = new core.List<api.Parent>(); | 1441 var o = new core.List<api.Parent>(); |
1442 o.add(buildParent()); | 1442 o.add(buildParent()); |
1443 o.add(buildParent()); | 1443 o.add(buildParent()); |
1444 return o; | 1444 return o; |
1445 } | 1445 } |
1446 | 1446 |
1447 checkUnnamed95(core.List<api.Parent> o) { | 1447 checkUnnamed1903(core.List<api.Parent> o) { |
1448 unittest.expect(o, unittest.hasLength(2)); | 1448 unittest.expect(o, unittest.hasLength(2)); |
1449 checkParent(o[0]); | 1449 checkParent(o[0]); |
1450 checkParent(o[1]); | 1450 checkParent(o[1]); |
1451 } | 1451 } |
1452 | 1452 |
1453 core.int buildCounterParentsListResponse = 0; | 1453 core.int buildCounterParentsListResponse = 0; |
1454 buildParentsListResponse() { | 1454 buildParentsListResponse() { |
1455 var o = new api.ParentsListResponse(); | 1455 var o = new api.ParentsListResponse(); |
1456 buildCounterParentsListResponse++; | 1456 buildCounterParentsListResponse++; |
1457 if (buildCounterParentsListResponse < 3) { | 1457 if (buildCounterParentsListResponse < 3) { |
1458 o.nextPageToken = "foo"; | 1458 o.nextPageToken = "foo"; |
1459 o.parents = buildUnnamed95(); | 1459 o.parents = buildUnnamed1903(); |
1460 } | 1460 } |
1461 buildCounterParentsListResponse--; | 1461 buildCounterParentsListResponse--; |
1462 return o; | 1462 return o; |
1463 } | 1463 } |
1464 | 1464 |
1465 checkParentsListResponse(api.ParentsListResponse o) { | 1465 checkParentsListResponse(api.ParentsListResponse o) { |
1466 buildCounterParentsListResponse++; | 1466 buildCounterParentsListResponse++; |
1467 if (buildCounterParentsListResponse < 3) { | 1467 if (buildCounterParentsListResponse < 3) { |
1468 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1468 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1469 checkUnnamed95(o.parents); | 1469 checkUnnamed1903(o.parents); |
1470 } | 1470 } |
1471 buildCounterParentsListResponse--; | 1471 buildCounterParentsListResponse--; |
1472 } | 1472 } |
1473 | 1473 |
1474 core.int buildCounterPermission = 0; | 1474 core.int buildCounterPermission = 0; |
1475 buildPermission() { | 1475 buildPermission() { |
1476 var o = new api.Permission(); | 1476 var o = new api.Permission(); |
1477 buildCounterPermission++; | 1477 buildCounterPermission++; |
1478 if (buildCounterPermission < 3) { | 1478 if (buildCounterPermission < 3) { |
1479 o.discoverable = true; | 1479 o.discoverable = true; |
1480 o.id = "foo"; | 1480 o.id = "foo"; |
1481 o.role = "foo"; | 1481 o.role = "foo"; |
1482 o.type = "foo"; | 1482 o.type = "foo"; |
1483 } | 1483 } |
1484 buildCounterPermission--; | 1484 buildCounterPermission--; |
1485 return o; | 1485 return o; |
1486 } | 1486 } |
1487 | 1487 |
1488 checkPermission(api.Permission o) { | 1488 checkPermission(api.Permission o) { |
1489 buildCounterPermission++; | 1489 buildCounterPermission++; |
1490 if (buildCounterPermission < 3) { | 1490 if (buildCounterPermission < 3) { |
1491 unittest.expect(o.discoverable, unittest.isTrue); | 1491 unittest.expect(o.discoverable, unittest.isTrue); |
1492 unittest.expect(o.id, unittest.equals('foo')); | 1492 unittest.expect(o.id, unittest.equals('foo')); |
1493 unittest.expect(o.role, unittest.equals('foo')); | 1493 unittest.expect(o.role, unittest.equals('foo')); |
1494 unittest.expect(o.type, unittest.equals('foo')); | 1494 unittest.expect(o.type, unittest.equals('foo')); |
1495 } | 1495 } |
1496 buildCounterPermission--; | 1496 buildCounterPermission--; |
1497 } | 1497 } |
1498 | 1498 |
1499 buildUnnamed96() { | 1499 buildUnnamed1904() { |
1500 var o = new core.List<core.String>(); | 1500 var o = new core.List<core.String>(); |
1501 o.add("foo"); | 1501 o.add("foo"); |
1502 o.add("foo"); | 1502 o.add("foo"); |
1503 return o; | 1503 return o; |
1504 } | 1504 } |
1505 | 1505 |
1506 checkUnnamed96(core.List<core.String> o) { | 1506 checkUnnamed1904(core.List<core.String> o) { |
1507 unittest.expect(o, unittest.hasLength(2)); | 1507 unittest.expect(o, unittest.hasLength(2)); |
1508 unittest.expect(o[0], unittest.equals('foo')); | 1508 unittest.expect(o[0], unittest.equals('foo')); |
1509 unittest.expect(o[1], unittest.equals('foo')); | 1509 unittest.expect(o[1], unittest.equals('foo')); |
1510 } | 1510 } |
1511 | 1511 |
1512 core.int buildCounterPermissionsBatchDeleteRequest = 0; | 1512 core.int buildCounterPermissionsBatchDeleteRequest = 0; |
1513 buildPermissionsBatchDeleteRequest() { | 1513 buildPermissionsBatchDeleteRequest() { |
1514 var o = new api.PermissionsBatchDeleteRequest(); | 1514 var o = new api.PermissionsBatchDeleteRequest(); |
1515 buildCounterPermissionsBatchDeleteRequest++; | 1515 buildCounterPermissionsBatchDeleteRequest++; |
1516 if (buildCounterPermissionsBatchDeleteRequest < 3) { | 1516 if (buildCounterPermissionsBatchDeleteRequest < 3) { |
1517 o.ids = buildUnnamed96(); | 1517 o.ids = buildUnnamed1904(); |
1518 } | 1518 } |
1519 buildCounterPermissionsBatchDeleteRequest--; | 1519 buildCounterPermissionsBatchDeleteRequest--; |
1520 return o; | 1520 return o; |
1521 } | 1521 } |
1522 | 1522 |
1523 checkPermissionsBatchDeleteRequest(api.PermissionsBatchDeleteRequest o) { | 1523 checkPermissionsBatchDeleteRequest(api.PermissionsBatchDeleteRequest o) { |
1524 buildCounterPermissionsBatchDeleteRequest++; | 1524 buildCounterPermissionsBatchDeleteRequest++; |
1525 if (buildCounterPermissionsBatchDeleteRequest < 3) { | 1525 if (buildCounterPermissionsBatchDeleteRequest < 3) { |
1526 checkUnnamed96(o.ids); | 1526 checkUnnamed1904(o.ids); |
1527 } | 1527 } |
1528 buildCounterPermissionsBatchDeleteRequest--; | 1528 buildCounterPermissionsBatchDeleteRequest--; |
1529 } | 1529 } |
1530 | 1530 |
1531 core.int buildCounterPermissionsBatchDeleteResponse = 0; | 1531 core.int buildCounterPermissionsBatchDeleteResponse = 0; |
1532 buildPermissionsBatchDeleteResponse() { | 1532 buildPermissionsBatchDeleteResponse() { |
1533 var o = new api.PermissionsBatchDeleteResponse(); | 1533 var o = new api.PermissionsBatchDeleteResponse(); |
1534 buildCounterPermissionsBatchDeleteResponse++; | 1534 buildCounterPermissionsBatchDeleteResponse++; |
1535 if (buildCounterPermissionsBatchDeleteResponse < 3) { | 1535 if (buildCounterPermissionsBatchDeleteResponse < 3) { |
1536 } | 1536 } |
1537 buildCounterPermissionsBatchDeleteResponse--; | 1537 buildCounterPermissionsBatchDeleteResponse--; |
1538 return o; | 1538 return o; |
1539 } | 1539 } |
1540 | 1540 |
1541 checkPermissionsBatchDeleteResponse(api.PermissionsBatchDeleteResponse o) { | 1541 checkPermissionsBatchDeleteResponse(api.PermissionsBatchDeleteResponse o) { |
1542 buildCounterPermissionsBatchDeleteResponse++; | 1542 buildCounterPermissionsBatchDeleteResponse++; |
1543 if (buildCounterPermissionsBatchDeleteResponse < 3) { | 1543 if (buildCounterPermissionsBatchDeleteResponse < 3) { |
1544 } | 1544 } |
1545 buildCounterPermissionsBatchDeleteResponse--; | 1545 buildCounterPermissionsBatchDeleteResponse--; |
1546 } | 1546 } |
1547 | 1547 |
1548 buildUnnamed97() { | 1548 buildUnnamed1905() { |
1549 var o = new core.List<api.Permission>(); | 1549 var o = new core.List<api.Permission>(); |
1550 o.add(buildPermission()); | 1550 o.add(buildPermission()); |
1551 o.add(buildPermission()); | 1551 o.add(buildPermission()); |
1552 return o; | 1552 return o; |
1553 } | 1553 } |
1554 | 1554 |
1555 checkUnnamed97(core.List<api.Permission> o) { | 1555 checkUnnamed1905(core.List<api.Permission> o) { |
1556 unittest.expect(o, unittest.hasLength(2)); | 1556 unittest.expect(o, unittest.hasLength(2)); |
1557 checkPermission(o[0]); | 1557 checkPermission(o[0]); |
1558 checkPermission(o[1]); | 1558 checkPermission(o[1]); |
1559 } | 1559 } |
1560 | 1560 |
1561 core.int buildCounterPermissionsBatchUpdateRequest = 0; | 1561 core.int buildCounterPermissionsBatchUpdateRequest = 0; |
1562 buildPermissionsBatchUpdateRequest() { | 1562 buildPermissionsBatchUpdateRequest() { |
1563 var o = new api.PermissionsBatchUpdateRequest(); | 1563 var o = new api.PermissionsBatchUpdateRequest(); |
1564 buildCounterPermissionsBatchUpdateRequest++; | 1564 buildCounterPermissionsBatchUpdateRequest++; |
1565 if (buildCounterPermissionsBatchUpdateRequest < 3) { | 1565 if (buildCounterPermissionsBatchUpdateRequest < 3) { |
1566 o.permissions = buildUnnamed97(); | 1566 o.permissions = buildUnnamed1905(); |
1567 } | 1567 } |
1568 buildCounterPermissionsBatchUpdateRequest--; | 1568 buildCounterPermissionsBatchUpdateRequest--; |
1569 return o; | 1569 return o; |
1570 } | 1570 } |
1571 | 1571 |
1572 checkPermissionsBatchUpdateRequest(api.PermissionsBatchUpdateRequest o) { | 1572 checkPermissionsBatchUpdateRequest(api.PermissionsBatchUpdateRequest o) { |
1573 buildCounterPermissionsBatchUpdateRequest++; | 1573 buildCounterPermissionsBatchUpdateRequest++; |
1574 if (buildCounterPermissionsBatchUpdateRequest < 3) { | 1574 if (buildCounterPermissionsBatchUpdateRequest < 3) { |
1575 checkUnnamed97(o.permissions); | 1575 checkUnnamed1905(o.permissions); |
1576 } | 1576 } |
1577 buildCounterPermissionsBatchUpdateRequest--; | 1577 buildCounterPermissionsBatchUpdateRequest--; |
1578 } | 1578 } |
1579 | 1579 |
1580 core.int buildCounterPermissionsBatchUpdateResponse = 0; | 1580 core.int buildCounterPermissionsBatchUpdateResponse = 0; |
1581 buildPermissionsBatchUpdateResponse() { | 1581 buildPermissionsBatchUpdateResponse() { |
1582 var o = new api.PermissionsBatchUpdateResponse(); | 1582 var o = new api.PermissionsBatchUpdateResponse(); |
1583 buildCounterPermissionsBatchUpdateResponse++; | 1583 buildCounterPermissionsBatchUpdateResponse++; |
1584 if (buildCounterPermissionsBatchUpdateResponse < 3) { | 1584 if (buildCounterPermissionsBatchUpdateResponse < 3) { |
1585 } | 1585 } |
1586 buildCounterPermissionsBatchUpdateResponse--; | 1586 buildCounterPermissionsBatchUpdateResponse--; |
1587 return o; | 1587 return o; |
1588 } | 1588 } |
1589 | 1589 |
1590 checkPermissionsBatchUpdateResponse(api.PermissionsBatchUpdateResponse o) { | 1590 checkPermissionsBatchUpdateResponse(api.PermissionsBatchUpdateResponse o) { |
1591 buildCounterPermissionsBatchUpdateResponse++; | 1591 buildCounterPermissionsBatchUpdateResponse++; |
1592 if (buildCounterPermissionsBatchUpdateResponse < 3) { | 1592 if (buildCounterPermissionsBatchUpdateResponse < 3) { |
1593 } | 1593 } |
1594 buildCounterPermissionsBatchUpdateResponse--; | 1594 buildCounterPermissionsBatchUpdateResponse--; |
1595 } | 1595 } |
1596 | 1596 |
1597 buildUnnamed98() { | 1597 buildUnnamed1906() { |
1598 var o = new core.List<api.Permission>(); | 1598 var o = new core.List<api.Permission>(); |
1599 o.add(buildPermission()); | 1599 o.add(buildPermission()); |
1600 o.add(buildPermission()); | 1600 o.add(buildPermission()); |
1601 return o; | 1601 return o; |
1602 } | 1602 } |
1603 | 1603 |
1604 checkUnnamed98(core.List<api.Permission> o) { | 1604 checkUnnamed1906(core.List<api.Permission> o) { |
1605 unittest.expect(o, unittest.hasLength(2)); | 1605 unittest.expect(o, unittest.hasLength(2)); |
1606 checkPermission(o[0]); | 1606 checkPermission(o[0]); |
1607 checkPermission(o[1]); | 1607 checkPermission(o[1]); |
1608 } | 1608 } |
1609 | 1609 |
1610 core.int buildCounterPermissionsListResponse = 0; | 1610 core.int buildCounterPermissionsListResponse = 0; |
1611 buildPermissionsListResponse() { | 1611 buildPermissionsListResponse() { |
1612 var o = new api.PermissionsListResponse(); | 1612 var o = new api.PermissionsListResponse(); |
1613 buildCounterPermissionsListResponse++; | 1613 buildCounterPermissionsListResponse++; |
1614 if (buildCounterPermissionsListResponse < 3) { | 1614 if (buildCounterPermissionsListResponse < 3) { |
1615 o.permissions = buildUnnamed98(); | 1615 o.permissions = buildUnnamed1906(); |
1616 } | 1616 } |
1617 buildCounterPermissionsListResponse--; | 1617 buildCounterPermissionsListResponse--; |
1618 return o; | 1618 return o; |
1619 } | 1619 } |
1620 | 1620 |
1621 checkPermissionsListResponse(api.PermissionsListResponse o) { | 1621 checkPermissionsListResponse(api.PermissionsListResponse o) { |
1622 buildCounterPermissionsListResponse++; | 1622 buildCounterPermissionsListResponse++; |
1623 if (buildCounterPermissionsListResponse < 3) { | 1623 if (buildCounterPermissionsListResponse < 3) { |
1624 checkUnnamed98(o.permissions); | 1624 checkUnnamed1906(o.permissions); |
1625 } | 1625 } |
1626 buildCounterPermissionsListResponse--; | 1626 buildCounterPermissionsListResponse--; |
1627 } | 1627 } |
1628 | 1628 |
1629 core.int buildCounterPointStyle = 0; | 1629 core.int buildCounterPointStyle = 0; |
1630 buildPointStyle() { | 1630 buildPointStyle() { |
1631 var o = new api.PointStyle(); | 1631 var o = new api.PointStyle(); |
1632 buildCounterPointStyle++; | 1632 buildCounterPointStyle++; |
1633 if (buildCounterPointStyle < 3) { | 1633 if (buildCounterPointStyle < 3) { |
1634 o.icon = buildIconStyle(); | 1634 o.icon = buildIconStyle(); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1701 | 1701 |
1702 checkProject(api.Project o) { | 1702 checkProject(api.Project o) { |
1703 buildCounterProject++; | 1703 buildCounterProject++; |
1704 if (buildCounterProject < 3) { | 1704 if (buildCounterProject < 3) { |
1705 unittest.expect(o.id, unittest.equals('foo')); | 1705 unittest.expect(o.id, unittest.equals('foo')); |
1706 unittest.expect(o.name, unittest.equals('foo')); | 1706 unittest.expect(o.name, unittest.equals('foo')); |
1707 } | 1707 } |
1708 buildCounterProject--; | 1708 buildCounterProject--; |
1709 } | 1709 } |
1710 | 1710 |
1711 buildUnnamed99() { | 1711 buildUnnamed1907() { |
1712 var o = new core.List<api.Project>(); | 1712 var o = new core.List<api.Project>(); |
1713 o.add(buildProject()); | 1713 o.add(buildProject()); |
1714 o.add(buildProject()); | 1714 o.add(buildProject()); |
1715 return o; | 1715 return o; |
1716 } | 1716 } |
1717 | 1717 |
1718 checkUnnamed99(core.List<api.Project> o) { | 1718 checkUnnamed1907(core.List<api.Project> o) { |
1719 unittest.expect(o, unittest.hasLength(2)); | 1719 unittest.expect(o, unittest.hasLength(2)); |
1720 checkProject(o[0]); | 1720 checkProject(o[0]); |
1721 checkProject(o[1]); | 1721 checkProject(o[1]); |
1722 } | 1722 } |
1723 | 1723 |
1724 core.int buildCounterProjectsListResponse = 0; | 1724 core.int buildCounterProjectsListResponse = 0; |
1725 buildProjectsListResponse() { | 1725 buildProjectsListResponse() { |
1726 var o = new api.ProjectsListResponse(); | 1726 var o = new api.ProjectsListResponse(); |
1727 buildCounterProjectsListResponse++; | 1727 buildCounterProjectsListResponse++; |
1728 if (buildCounterProjectsListResponse < 3) { | 1728 if (buildCounterProjectsListResponse < 3) { |
1729 o.projects = buildUnnamed99(); | 1729 o.projects = buildUnnamed1907(); |
1730 } | 1730 } |
1731 buildCounterProjectsListResponse--; | 1731 buildCounterProjectsListResponse--; |
1732 return o; | 1732 return o; |
1733 } | 1733 } |
1734 | 1734 |
1735 checkProjectsListResponse(api.ProjectsListResponse o) { | 1735 checkProjectsListResponse(api.ProjectsListResponse o) { |
1736 buildCounterProjectsListResponse++; | 1736 buildCounterProjectsListResponse++; |
1737 if (buildCounterProjectsListResponse < 3) { | 1737 if (buildCounterProjectsListResponse < 3) { |
1738 checkUnnamed99(o.projects); | 1738 checkUnnamed1907(o.projects); |
1739 } | 1739 } |
1740 buildCounterProjectsListResponse--; | 1740 buildCounterProjectsListResponse--; |
1741 } | 1741 } |
1742 | 1742 |
1743 core.int buildCounterPublishResponse = 0; | 1743 core.int buildCounterPublishResponse = 0; |
1744 buildPublishResponse() { | 1744 buildPublishResponse() { |
1745 var o = new api.PublishResponse(); | 1745 var o = new api.PublishResponse(); |
1746 buildCounterPublishResponse++; | 1746 buildCounterPublishResponse++; |
1747 if (buildCounterPublishResponse < 3) { | 1747 if (buildCounterPublishResponse < 3) { |
1748 } | 1748 } |
(...skipping 28 matching lines...) Expand all Loading... |
1777 if (buildCounterPublishedLayer < 3) { | 1777 if (buildCounterPublishedLayer < 3) { |
1778 unittest.expect(o.description, unittest.equals('foo')); | 1778 unittest.expect(o.description, unittest.equals('foo')); |
1779 unittest.expect(o.id, unittest.equals('foo')); | 1779 unittest.expect(o.id, unittest.equals('foo')); |
1780 unittest.expect(o.layerType, unittest.equals('foo')); | 1780 unittest.expect(o.layerType, unittest.equals('foo')); |
1781 unittest.expect(o.name, unittest.equals('foo')); | 1781 unittest.expect(o.name, unittest.equals('foo')); |
1782 unittest.expect(o.projectId, unittest.equals('foo')); | 1782 unittest.expect(o.projectId, unittest.equals('foo')); |
1783 } | 1783 } |
1784 buildCounterPublishedLayer--; | 1784 buildCounterPublishedLayer--; |
1785 } | 1785 } |
1786 | 1786 |
1787 buildUnnamed100() { | 1787 buildUnnamed1908() { |
1788 var o = new core.List<api.PublishedLayer>(); | 1788 var o = new core.List<api.PublishedLayer>(); |
1789 o.add(buildPublishedLayer()); | 1789 o.add(buildPublishedLayer()); |
1790 o.add(buildPublishedLayer()); | 1790 o.add(buildPublishedLayer()); |
1791 return o; | 1791 return o; |
1792 } | 1792 } |
1793 | 1793 |
1794 checkUnnamed100(core.List<api.PublishedLayer> o) { | 1794 checkUnnamed1908(core.List<api.PublishedLayer> o) { |
1795 unittest.expect(o, unittest.hasLength(2)); | 1795 unittest.expect(o, unittest.hasLength(2)); |
1796 checkPublishedLayer(o[0]); | 1796 checkPublishedLayer(o[0]); |
1797 checkPublishedLayer(o[1]); | 1797 checkPublishedLayer(o[1]); |
1798 } | 1798 } |
1799 | 1799 |
1800 core.int buildCounterPublishedLayersListResponse = 0; | 1800 core.int buildCounterPublishedLayersListResponse = 0; |
1801 buildPublishedLayersListResponse() { | 1801 buildPublishedLayersListResponse() { |
1802 var o = new api.PublishedLayersListResponse(); | 1802 var o = new api.PublishedLayersListResponse(); |
1803 buildCounterPublishedLayersListResponse++; | 1803 buildCounterPublishedLayersListResponse++; |
1804 if (buildCounterPublishedLayersListResponse < 3) { | 1804 if (buildCounterPublishedLayersListResponse < 3) { |
1805 o.layers = buildUnnamed100(); | 1805 o.layers = buildUnnamed1908(); |
1806 o.nextPageToken = "foo"; | 1806 o.nextPageToken = "foo"; |
1807 } | 1807 } |
1808 buildCounterPublishedLayersListResponse--; | 1808 buildCounterPublishedLayersListResponse--; |
1809 return o; | 1809 return o; |
1810 } | 1810 } |
1811 | 1811 |
1812 checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { | 1812 checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { |
1813 buildCounterPublishedLayersListResponse++; | 1813 buildCounterPublishedLayersListResponse++; |
1814 if (buildCounterPublishedLayersListResponse < 3) { | 1814 if (buildCounterPublishedLayersListResponse < 3) { |
1815 checkUnnamed100(o.layers); | 1815 checkUnnamed1908(o.layers); |
1816 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1816 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1817 } | 1817 } |
1818 buildCounterPublishedLayersListResponse--; | 1818 buildCounterPublishedLayersListResponse--; |
1819 } | 1819 } |
1820 | 1820 |
1821 core.int buildCounterPublishedMap = 0; | 1821 core.int buildCounterPublishedMap = 0; |
1822 buildPublishedMap() { | 1822 buildPublishedMap() { |
1823 var o = new api.PublishedMap(); | 1823 var o = new api.PublishedMap(); |
1824 buildCounterPublishedMap++; | 1824 buildCounterPublishedMap++; |
1825 if (buildCounterPublishedMap < 3) { | 1825 if (buildCounterPublishedMap < 3) { |
(...skipping 14 matching lines...) Expand all Loading... |
1840 checkMapContents(o.contents); | 1840 checkMapContents(o.contents); |
1841 checkLatLngBox(o.defaultViewport); | 1841 checkLatLngBox(o.defaultViewport); |
1842 unittest.expect(o.description, unittest.equals('foo')); | 1842 unittest.expect(o.description, unittest.equals('foo')); |
1843 unittest.expect(o.id, unittest.equals('foo')); | 1843 unittest.expect(o.id, unittest.equals('foo')); |
1844 unittest.expect(o.name, unittest.equals('foo')); | 1844 unittest.expect(o.name, unittest.equals('foo')); |
1845 unittest.expect(o.projectId, unittest.equals('foo')); | 1845 unittest.expect(o.projectId, unittest.equals('foo')); |
1846 } | 1846 } |
1847 buildCounterPublishedMap--; | 1847 buildCounterPublishedMap--; |
1848 } | 1848 } |
1849 | 1849 |
1850 buildUnnamed101() { | 1850 buildUnnamed1909() { |
1851 var o = new core.List<api.PublishedMap>(); | 1851 var o = new core.List<api.PublishedMap>(); |
1852 o.add(buildPublishedMap()); | 1852 o.add(buildPublishedMap()); |
1853 o.add(buildPublishedMap()); | 1853 o.add(buildPublishedMap()); |
1854 return o; | 1854 return o; |
1855 } | 1855 } |
1856 | 1856 |
1857 checkUnnamed101(core.List<api.PublishedMap> o) { | 1857 checkUnnamed1909(core.List<api.PublishedMap> o) { |
1858 unittest.expect(o, unittest.hasLength(2)); | 1858 unittest.expect(o, unittest.hasLength(2)); |
1859 checkPublishedMap(o[0]); | 1859 checkPublishedMap(o[0]); |
1860 checkPublishedMap(o[1]); | 1860 checkPublishedMap(o[1]); |
1861 } | 1861 } |
1862 | 1862 |
1863 core.int buildCounterPublishedMapsListResponse = 0; | 1863 core.int buildCounterPublishedMapsListResponse = 0; |
1864 buildPublishedMapsListResponse() { | 1864 buildPublishedMapsListResponse() { |
1865 var o = new api.PublishedMapsListResponse(); | 1865 var o = new api.PublishedMapsListResponse(); |
1866 buildCounterPublishedMapsListResponse++; | 1866 buildCounterPublishedMapsListResponse++; |
1867 if (buildCounterPublishedMapsListResponse < 3) { | 1867 if (buildCounterPublishedMapsListResponse < 3) { |
1868 o.maps = buildUnnamed101(); | 1868 o.maps = buildUnnamed1909(); |
1869 o.nextPageToken = "foo"; | 1869 o.nextPageToken = "foo"; |
1870 } | 1870 } |
1871 buildCounterPublishedMapsListResponse--; | 1871 buildCounterPublishedMapsListResponse--; |
1872 return o; | 1872 return o; |
1873 } | 1873 } |
1874 | 1874 |
1875 checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { | 1875 checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { |
1876 buildCounterPublishedMapsListResponse++; | 1876 buildCounterPublishedMapsListResponse++; |
1877 if (buildCounterPublishedMapsListResponse < 3) { | 1877 if (buildCounterPublishedMapsListResponse < 3) { |
1878 checkUnnamed101(o.maps); | 1878 checkUnnamed1909(o.maps); |
1879 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1879 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1880 } | 1880 } |
1881 buildCounterPublishedMapsListResponse--; | 1881 buildCounterPublishedMapsListResponse--; |
1882 } | 1882 } |
1883 | 1883 |
1884 buildUnnamed102() { | 1884 buildUnnamed1910() { |
1885 var o = new core.List<core.double>(); | 1885 var o = new core.List<core.double>(); |
1886 o.add(42.0); | 1886 o.add(42.0); |
1887 o.add(42.0); | 1887 o.add(42.0); |
1888 return o; | 1888 return o; |
1889 } | 1889 } |
1890 | 1890 |
1891 checkUnnamed102(core.List<core.double> o) { | 1891 checkUnnamed1910(core.List<core.double> o) { |
1892 unittest.expect(o, unittest.hasLength(2)); | 1892 unittest.expect(o, unittest.hasLength(2)); |
1893 unittest.expect(o[0], unittest.equals(42.0)); | 1893 unittest.expect(o[0], unittest.equals(42.0)); |
1894 unittest.expect(o[1], unittest.equals(42.0)); | 1894 unittest.expect(o[1], unittest.equals(42.0)); |
1895 } | 1895 } |
1896 | 1896 |
1897 buildUnnamed103() { | 1897 buildUnnamed1911() { |
1898 var o = new core.List<api.File>(); | 1898 var o = new core.List<api.File>(); |
1899 o.add(buildFile()); | 1899 o.add(buildFile()); |
1900 o.add(buildFile()); | 1900 o.add(buildFile()); |
1901 return o; | 1901 return o; |
1902 } | 1902 } |
1903 | 1903 |
1904 checkUnnamed103(core.List<api.File> o) { | 1904 checkUnnamed1911(core.List<api.File> o) { |
1905 unittest.expect(o, unittest.hasLength(2)); | 1905 unittest.expect(o, unittest.hasLength(2)); |
1906 checkFile(o[0]); | 1906 checkFile(o[0]); |
1907 checkFile(o[1]); | 1907 checkFile(o[1]); |
1908 } | 1908 } |
1909 | 1909 |
1910 core.int buildCounterRaster = 0; | 1910 core.int buildCounterRaster = 0; |
1911 buildRaster() { | 1911 buildRaster() { |
1912 var o = new api.Raster(); | 1912 var o = new api.Raster(); |
1913 buildCounterRaster++; | 1913 buildCounterRaster++; |
1914 if (buildCounterRaster < 3) { | 1914 if (buildCounterRaster < 3) { |
1915 o.acquisitionTime = buildAcquisitionTime(); | 1915 o.acquisitionTime = buildAcquisitionTime(); |
1916 o.attribution = "foo"; | 1916 o.attribution = "foo"; |
1917 o.bbox = buildUnnamed102(); | 1917 o.bbox = buildUnnamed1910(); |
1918 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1918 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1919 o.creatorEmail = "foo"; | 1919 o.creatorEmail = "foo"; |
1920 o.description = "foo"; | 1920 o.description = "foo"; |
1921 o.draftAccessList = "foo"; | 1921 o.draftAccessList = "foo"; |
1922 o.etag = "foo"; | 1922 o.etag = "foo"; |
1923 o.files = buildUnnamed103(); | 1923 o.files = buildUnnamed1911(); |
1924 o.id = "foo"; | 1924 o.id = "foo"; |
1925 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1925 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1926 o.lastModifierEmail = "foo"; | 1926 o.lastModifierEmail = "foo"; |
1927 o.maskType = "foo"; | 1927 o.maskType = "foo"; |
1928 o.name = "foo"; | 1928 o.name = "foo"; |
1929 o.processingStatus = "foo"; | 1929 o.processingStatus = "foo"; |
1930 o.projectId = "foo"; | 1930 o.projectId = "foo"; |
1931 o.rasterType = "foo"; | 1931 o.rasterType = "foo"; |
1932 o.tags = buildTags(); | 1932 o.tags = buildTags(); |
1933 o.writersCanEditPermissions = true; | 1933 o.writersCanEditPermissions = true; |
1934 } | 1934 } |
1935 buildCounterRaster--; | 1935 buildCounterRaster--; |
1936 return o; | 1936 return o; |
1937 } | 1937 } |
1938 | 1938 |
1939 checkRaster(api.Raster o) { | 1939 checkRaster(api.Raster o) { |
1940 buildCounterRaster++; | 1940 buildCounterRaster++; |
1941 if (buildCounterRaster < 3) { | 1941 if (buildCounterRaster < 3) { |
1942 checkAcquisitionTime(o.acquisitionTime); | 1942 checkAcquisitionTime(o.acquisitionTime); |
1943 unittest.expect(o.attribution, unittest.equals('foo')); | 1943 unittest.expect(o.attribution, unittest.equals('foo')); |
1944 checkUnnamed102(o.bbox); | 1944 checkUnnamed1910(o.bbox); |
1945 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1945 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1946 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1946 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1947 unittest.expect(o.description, unittest.equals('foo')); | 1947 unittest.expect(o.description, unittest.equals('foo')); |
1948 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1948 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1949 unittest.expect(o.etag, unittest.equals('foo')); | 1949 unittest.expect(o.etag, unittest.equals('foo')); |
1950 checkUnnamed103(o.files); | 1950 checkUnnamed1911(o.files); |
1951 unittest.expect(o.id, unittest.equals('foo')); | 1951 unittest.expect(o.id, unittest.equals('foo')); |
1952 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1952 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1953 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1953 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1954 unittest.expect(o.maskType, unittest.equals('foo')); | 1954 unittest.expect(o.maskType, unittest.equals('foo')); |
1955 unittest.expect(o.name, unittest.equals('foo')); | 1955 unittest.expect(o.name, unittest.equals('foo')); |
1956 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1956 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1957 unittest.expect(o.projectId, unittest.equals('foo')); | 1957 unittest.expect(o.projectId, unittest.equals('foo')); |
1958 unittest.expect(o.rasterType, unittest.equals('foo')); | 1958 unittest.expect(o.rasterType, unittest.equals('foo')); |
1959 checkTags(o.tags); | 1959 checkTags(o.tags); |
1960 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1960 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1961 } | 1961 } |
1962 buildCounterRaster--; | 1962 buildCounterRaster--; |
1963 } | 1963 } |
1964 | 1964 |
1965 buildUnnamed104() { | 1965 buildUnnamed1912() { |
1966 var o = new core.List<core.double>(); | 1966 var o = new core.List<core.double>(); |
1967 o.add(42.0); | 1967 o.add(42.0); |
1968 o.add(42.0); | 1968 o.add(42.0); |
1969 return o; | 1969 return o; |
1970 } | 1970 } |
1971 | 1971 |
1972 checkUnnamed104(core.List<core.double> o) { | 1972 checkUnnamed1912(core.List<core.double> o) { |
1973 unittest.expect(o, unittest.hasLength(2)); | 1973 unittest.expect(o, unittest.hasLength(2)); |
1974 unittest.expect(o[0], unittest.equals(42.0)); | 1974 unittest.expect(o[0], unittest.equals(42.0)); |
1975 unittest.expect(o[1], unittest.equals(42.0)); | 1975 unittest.expect(o[1], unittest.equals(42.0)); |
1976 } | 1976 } |
1977 | 1977 |
1978 core.int buildCounterRasterCollection = 0; | 1978 core.int buildCounterRasterCollection = 0; |
1979 buildRasterCollection() { | 1979 buildRasterCollection() { |
1980 var o = new api.RasterCollection(); | 1980 var o = new api.RasterCollection(); |
1981 buildCounterRasterCollection++; | 1981 buildCounterRasterCollection++; |
1982 if (buildCounterRasterCollection < 3) { | 1982 if (buildCounterRasterCollection < 3) { |
1983 o.attribution = "foo"; | 1983 o.attribution = "foo"; |
1984 o.bbox = buildUnnamed104(); | 1984 o.bbox = buildUnnamed1912(); |
1985 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1985 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1986 o.creatorEmail = "foo"; | 1986 o.creatorEmail = "foo"; |
1987 o.description = "foo"; | 1987 o.description = "foo"; |
1988 o.draftAccessList = "foo"; | 1988 o.draftAccessList = "foo"; |
1989 o.etag = "foo"; | 1989 o.etag = "foo"; |
1990 o.id = "foo"; | 1990 o.id = "foo"; |
1991 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1991 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1992 o.lastModifierEmail = "foo"; | 1992 o.lastModifierEmail = "foo"; |
1993 o.mosaic = true; | 1993 o.mosaic = true; |
1994 o.name = "foo"; | 1994 o.name = "foo"; |
1995 o.processingStatus = "foo"; | 1995 o.processingStatus = "foo"; |
1996 o.projectId = "foo"; | 1996 o.projectId = "foo"; |
1997 o.rasterType = "foo"; | 1997 o.rasterType = "foo"; |
1998 o.tags = buildTags(); | 1998 o.tags = buildTags(); |
1999 o.writersCanEditPermissions = true; | 1999 o.writersCanEditPermissions = true; |
2000 } | 2000 } |
2001 buildCounterRasterCollection--; | 2001 buildCounterRasterCollection--; |
2002 return o; | 2002 return o; |
2003 } | 2003 } |
2004 | 2004 |
2005 checkRasterCollection(api.RasterCollection o) { | 2005 checkRasterCollection(api.RasterCollection o) { |
2006 buildCounterRasterCollection++; | 2006 buildCounterRasterCollection++; |
2007 if (buildCounterRasterCollection < 3) { | 2007 if (buildCounterRasterCollection < 3) { |
2008 unittest.expect(o.attribution, unittest.equals('foo')); | 2008 unittest.expect(o.attribution, unittest.equals('foo')); |
2009 checkUnnamed104(o.bbox); | 2009 checkUnnamed1912(o.bbox); |
2010 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2010 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2011 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 2011 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
2012 unittest.expect(o.description, unittest.equals('foo')); | 2012 unittest.expect(o.description, unittest.equals('foo')); |
2013 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 2013 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
2014 unittest.expect(o.etag, unittest.equals('foo')); | 2014 unittest.expect(o.etag, unittest.equals('foo')); |
2015 unittest.expect(o.id, unittest.equals('foo')); | 2015 unittest.expect(o.id, unittest.equals('foo')); |
2016 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2016 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2017 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 2017 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
2018 unittest.expect(o.mosaic, unittest.isTrue); | 2018 unittest.expect(o.mosaic, unittest.isTrue); |
2019 unittest.expect(o.name, unittest.equals('foo')); | 2019 unittest.expect(o.name, unittest.equals('foo')); |
2020 unittest.expect(o.processingStatus, unittest.equals('foo')); | 2020 unittest.expect(o.processingStatus, unittest.equals('foo')); |
2021 unittest.expect(o.projectId, unittest.equals('foo')); | 2021 unittest.expect(o.projectId, unittest.equals('foo')); |
2022 unittest.expect(o.rasterType, unittest.equals('foo')); | 2022 unittest.expect(o.rasterType, unittest.equals('foo')); |
2023 checkTags(o.tags); | 2023 checkTags(o.tags); |
2024 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 2024 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
2025 } | 2025 } |
2026 buildCounterRasterCollection--; | 2026 buildCounterRasterCollection--; |
2027 } | 2027 } |
2028 | 2028 |
2029 buildUnnamed105() { | 2029 buildUnnamed1913() { |
2030 var o = new core.List<api.RasterCollection>(); | 2030 var o = new core.List<api.RasterCollection>(); |
2031 o.add(buildRasterCollection()); | 2031 o.add(buildRasterCollection()); |
2032 o.add(buildRasterCollection()); | 2032 o.add(buildRasterCollection()); |
2033 return o; | 2033 return o; |
2034 } | 2034 } |
2035 | 2035 |
2036 checkUnnamed105(core.List<api.RasterCollection> o) { | 2036 checkUnnamed1913(core.List<api.RasterCollection> o) { |
2037 unittest.expect(o, unittest.hasLength(2)); | 2037 unittest.expect(o, unittest.hasLength(2)); |
2038 checkRasterCollection(o[0]); | 2038 checkRasterCollection(o[0]); |
2039 checkRasterCollection(o[1]); | 2039 checkRasterCollection(o[1]); |
2040 } | 2040 } |
2041 | 2041 |
2042 core.int buildCounterRasterCollectionsListResponse = 0; | 2042 core.int buildCounterRasterCollectionsListResponse = 0; |
2043 buildRasterCollectionsListResponse() { | 2043 buildRasterCollectionsListResponse() { |
2044 var o = new api.RasterCollectionsListResponse(); | 2044 var o = new api.RasterCollectionsListResponse(); |
2045 buildCounterRasterCollectionsListResponse++; | 2045 buildCounterRasterCollectionsListResponse++; |
2046 if (buildCounterRasterCollectionsListResponse < 3) { | 2046 if (buildCounterRasterCollectionsListResponse < 3) { |
2047 o.nextPageToken = "foo"; | 2047 o.nextPageToken = "foo"; |
2048 o.rasterCollections = buildUnnamed105(); | 2048 o.rasterCollections = buildUnnamed1913(); |
2049 } | 2049 } |
2050 buildCounterRasterCollectionsListResponse--; | 2050 buildCounterRasterCollectionsListResponse--; |
2051 return o; | 2051 return o; |
2052 } | 2052 } |
2053 | 2053 |
2054 checkRasterCollectionsListResponse(api.RasterCollectionsListResponse o) { | 2054 checkRasterCollectionsListResponse(api.RasterCollectionsListResponse o) { |
2055 buildCounterRasterCollectionsListResponse++; | 2055 buildCounterRasterCollectionsListResponse++; |
2056 if (buildCounterRasterCollectionsListResponse < 3) { | 2056 if (buildCounterRasterCollectionsListResponse < 3) { |
2057 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2057 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2058 checkUnnamed105(o.rasterCollections); | 2058 checkUnnamed1913(o.rasterCollections); |
2059 } | 2059 } |
2060 buildCounterRasterCollectionsListResponse--; | 2060 buildCounterRasterCollectionsListResponse--; |
2061 } | 2061 } |
2062 | 2062 |
2063 buildUnnamed106() { | 2063 buildUnnamed1914() { |
2064 var o = new core.List<core.double>(); | 2064 var o = new core.List<core.double>(); |
2065 o.add(42.0); | 2065 o.add(42.0); |
2066 o.add(42.0); | 2066 o.add(42.0); |
2067 return o; | 2067 return o; |
2068 } | 2068 } |
2069 | 2069 |
2070 checkUnnamed106(core.List<core.double> o) { | 2070 checkUnnamed1914(core.List<core.double> o) { |
2071 unittest.expect(o, unittest.hasLength(2)); | 2071 unittest.expect(o, unittest.hasLength(2)); |
2072 unittest.expect(o[0], unittest.equals(42.0)); | 2072 unittest.expect(o[0], unittest.equals(42.0)); |
2073 unittest.expect(o[1], unittest.equals(42.0)); | 2073 unittest.expect(o[1], unittest.equals(42.0)); |
2074 } | 2074 } |
2075 | 2075 |
2076 buildUnnamed107() { | 2076 buildUnnamed1915() { |
2077 var o = new core.List<core.String>(); | 2077 var o = new core.List<core.String>(); |
2078 o.add("foo"); | 2078 o.add("foo"); |
2079 o.add("foo"); | 2079 o.add("foo"); |
2080 return o; | 2080 return o; |
2081 } | 2081 } |
2082 | 2082 |
2083 checkUnnamed107(core.List<core.String> o) { | 2083 checkUnnamed1915(core.List<core.String> o) { |
2084 unittest.expect(o, unittest.hasLength(2)); | 2084 unittest.expect(o, unittest.hasLength(2)); |
2085 unittest.expect(o[0], unittest.equals('foo')); | 2085 unittest.expect(o[0], unittest.equals('foo')); |
2086 unittest.expect(o[1], unittest.equals('foo')); | 2086 unittest.expect(o[1], unittest.equals('foo')); |
2087 } | 2087 } |
2088 | 2088 |
2089 core.int buildCounterRasterCollectionsRaster = 0; | 2089 core.int buildCounterRasterCollectionsRaster = 0; |
2090 buildRasterCollectionsRaster() { | 2090 buildRasterCollectionsRaster() { |
2091 var o = new api.RasterCollectionsRaster(); | 2091 var o = new api.RasterCollectionsRaster(); |
2092 buildCounterRasterCollectionsRaster++; | 2092 buildCounterRasterCollectionsRaster++; |
2093 if (buildCounterRasterCollectionsRaster < 3) { | 2093 if (buildCounterRasterCollectionsRaster < 3) { |
2094 o.bbox = buildUnnamed106(); | 2094 o.bbox = buildUnnamed1914(); |
2095 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2095 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2096 o.description = "foo"; | 2096 o.description = "foo"; |
2097 o.id = "foo"; | 2097 o.id = "foo"; |
2098 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2098 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2099 o.name = "foo"; | 2099 o.name = "foo"; |
2100 o.projectId = "foo"; | 2100 o.projectId = "foo"; |
2101 o.rasterType = "foo"; | 2101 o.rasterType = "foo"; |
2102 o.tags = buildUnnamed107(); | 2102 o.tags = buildUnnamed1915(); |
2103 } | 2103 } |
2104 buildCounterRasterCollectionsRaster--; | 2104 buildCounterRasterCollectionsRaster--; |
2105 return o; | 2105 return o; |
2106 } | 2106 } |
2107 | 2107 |
2108 checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { | 2108 checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { |
2109 buildCounterRasterCollectionsRaster++; | 2109 buildCounterRasterCollectionsRaster++; |
2110 if (buildCounterRasterCollectionsRaster < 3) { | 2110 if (buildCounterRasterCollectionsRaster < 3) { |
2111 checkUnnamed106(o.bbox); | 2111 checkUnnamed1914(o.bbox); |
2112 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2112 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2113 unittest.expect(o.description, unittest.equals('foo')); | 2113 unittest.expect(o.description, unittest.equals('foo')); |
2114 unittest.expect(o.id, unittest.equals('foo')); | 2114 unittest.expect(o.id, unittest.equals('foo')); |
2115 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2115 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2116 unittest.expect(o.name, unittest.equals('foo')); | 2116 unittest.expect(o.name, unittest.equals('foo')); |
2117 unittest.expect(o.projectId, unittest.equals('foo')); | 2117 unittest.expect(o.projectId, unittest.equals('foo')); |
2118 unittest.expect(o.rasterType, unittest.equals('foo')); | 2118 unittest.expect(o.rasterType, unittest.equals('foo')); |
2119 checkUnnamed107(o.tags); | 2119 checkUnnamed1915(o.tags); |
2120 } | 2120 } |
2121 buildCounterRasterCollectionsRaster--; | 2121 buildCounterRasterCollectionsRaster--; |
2122 } | 2122 } |
2123 | 2123 |
2124 buildUnnamed108() { | 2124 buildUnnamed1916() { |
2125 var o = new core.List<core.String>(); | 2125 var o = new core.List<core.String>(); |
2126 o.add("foo"); | 2126 o.add("foo"); |
2127 o.add("foo"); | 2127 o.add("foo"); |
2128 return o; | 2128 return o; |
2129 } | 2129 } |
2130 | 2130 |
2131 checkUnnamed108(core.List<core.String> o) { | 2131 checkUnnamed1916(core.List<core.String> o) { |
2132 unittest.expect(o, unittest.hasLength(2)); | 2132 unittest.expect(o, unittest.hasLength(2)); |
2133 unittest.expect(o[0], unittest.equals('foo')); | 2133 unittest.expect(o[0], unittest.equals('foo')); |
2134 unittest.expect(o[1], unittest.equals('foo')); | 2134 unittest.expect(o[1], unittest.equals('foo')); |
2135 } | 2135 } |
2136 | 2136 |
2137 core.int buildCounterRasterCollectionsRasterBatchDeleteRequest = 0; | 2137 core.int buildCounterRasterCollectionsRasterBatchDeleteRequest = 0; |
2138 buildRasterCollectionsRasterBatchDeleteRequest() { | 2138 buildRasterCollectionsRasterBatchDeleteRequest() { |
2139 var o = new api.RasterCollectionsRasterBatchDeleteRequest(); | 2139 var o = new api.RasterCollectionsRasterBatchDeleteRequest(); |
2140 buildCounterRasterCollectionsRasterBatchDeleteRequest++; | 2140 buildCounterRasterCollectionsRasterBatchDeleteRequest++; |
2141 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { | 2141 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { |
2142 o.ids = buildUnnamed108(); | 2142 o.ids = buildUnnamed1916(); |
2143 } | 2143 } |
2144 buildCounterRasterCollectionsRasterBatchDeleteRequest--; | 2144 buildCounterRasterCollectionsRasterBatchDeleteRequest--; |
2145 return o; | 2145 return o; |
2146 } | 2146 } |
2147 | 2147 |
2148 checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchD
eleteRequest o) { | 2148 checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchD
eleteRequest o) { |
2149 buildCounterRasterCollectionsRasterBatchDeleteRequest++; | 2149 buildCounterRasterCollectionsRasterBatchDeleteRequest++; |
2150 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { | 2150 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { |
2151 checkUnnamed108(o.ids); | 2151 checkUnnamed1916(o.ids); |
2152 } | 2152 } |
2153 buildCounterRasterCollectionsRasterBatchDeleteRequest--; | 2153 buildCounterRasterCollectionsRasterBatchDeleteRequest--; |
2154 } | 2154 } |
2155 | 2155 |
2156 core.int buildCounterRasterCollectionsRastersBatchDeleteResponse = 0; | 2156 core.int buildCounterRasterCollectionsRastersBatchDeleteResponse = 0; |
2157 buildRasterCollectionsRastersBatchDeleteResponse() { | 2157 buildRasterCollectionsRastersBatchDeleteResponse() { |
2158 var o = new api.RasterCollectionsRastersBatchDeleteResponse(); | 2158 var o = new api.RasterCollectionsRastersBatchDeleteResponse(); |
2159 buildCounterRasterCollectionsRastersBatchDeleteResponse++; | 2159 buildCounterRasterCollectionsRastersBatchDeleteResponse++; |
2160 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { | 2160 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { |
2161 } | 2161 } |
2162 buildCounterRasterCollectionsRastersBatchDeleteResponse--; | 2162 buildCounterRasterCollectionsRastersBatchDeleteResponse--; |
2163 return o; | 2163 return o; |
2164 } | 2164 } |
2165 | 2165 |
2166 checkRasterCollectionsRastersBatchDeleteResponse(api.RasterCollectionsRastersBat
chDeleteResponse o) { | 2166 checkRasterCollectionsRastersBatchDeleteResponse(api.RasterCollectionsRastersBat
chDeleteResponse o) { |
2167 buildCounterRasterCollectionsRastersBatchDeleteResponse++; | 2167 buildCounterRasterCollectionsRastersBatchDeleteResponse++; |
2168 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { | 2168 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { |
2169 } | 2169 } |
2170 buildCounterRasterCollectionsRastersBatchDeleteResponse--; | 2170 buildCounterRasterCollectionsRastersBatchDeleteResponse--; |
2171 } | 2171 } |
2172 | 2172 |
2173 buildUnnamed109() { | 2173 buildUnnamed1917() { |
2174 var o = new core.List<core.String>(); | 2174 var o = new core.List<core.String>(); |
2175 o.add("foo"); | 2175 o.add("foo"); |
2176 o.add("foo"); | 2176 o.add("foo"); |
2177 return o; | 2177 return o; |
2178 } | 2178 } |
2179 | 2179 |
2180 checkUnnamed109(core.List<core.String> o) { | 2180 checkUnnamed1917(core.List<core.String> o) { |
2181 unittest.expect(o, unittest.hasLength(2)); | 2181 unittest.expect(o, unittest.hasLength(2)); |
2182 unittest.expect(o[0], unittest.equals('foo')); | 2182 unittest.expect(o[0], unittest.equals('foo')); |
2183 unittest.expect(o[1], unittest.equals('foo')); | 2183 unittest.expect(o[1], unittest.equals('foo')); |
2184 } | 2184 } |
2185 | 2185 |
2186 core.int buildCounterRasterCollectionsRastersBatchInsertRequest = 0; | 2186 core.int buildCounterRasterCollectionsRastersBatchInsertRequest = 0; |
2187 buildRasterCollectionsRastersBatchInsertRequest() { | 2187 buildRasterCollectionsRastersBatchInsertRequest() { |
2188 var o = new api.RasterCollectionsRastersBatchInsertRequest(); | 2188 var o = new api.RasterCollectionsRastersBatchInsertRequest(); |
2189 buildCounterRasterCollectionsRastersBatchInsertRequest++; | 2189 buildCounterRasterCollectionsRastersBatchInsertRequest++; |
2190 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { | 2190 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { |
2191 o.ids = buildUnnamed109(); | 2191 o.ids = buildUnnamed1917(); |
2192 } | 2192 } |
2193 buildCounterRasterCollectionsRastersBatchInsertRequest--; | 2193 buildCounterRasterCollectionsRastersBatchInsertRequest--; |
2194 return o; | 2194 return o; |
2195 } | 2195 } |
2196 | 2196 |
2197 checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatc
hInsertRequest o) { | 2197 checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatc
hInsertRequest o) { |
2198 buildCounterRasterCollectionsRastersBatchInsertRequest++; | 2198 buildCounterRasterCollectionsRastersBatchInsertRequest++; |
2199 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { | 2199 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { |
2200 checkUnnamed109(o.ids); | 2200 checkUnnamed1917(o.ids); |
2201 } | 2201 } |
2202 buildCounterRasterCollectionsRastersBatchInsertRequest--; | 2202 buildCounterRasterCollectionsRastersBatchInsertRequest--; |
2203 } | 2203 } |
2204 | 2204 |
2205 core.int buildCounterRasterCollectionsRastersBatchInsertResponse = 0; | 2205 core.int buildCounterRasterCollectionsRastersBatchInsertResponse = 0; |
2206 buildRasterCollectionsRastersBatchInsertResponse() { | 2206 buildRasterCollectionsRastersBatchInsertResponse() { |
2207 var o = new api.RasterCollectionsRastersBatchInsertResponse(); | 2207 var o = new api.RasterCollectionsRastersBatchInsertResponse(); |
2208 buildCounterRasterCollectionsRastersBatchInsertResponse++; | 2208 buildCounterRasterCollectionsRastersBatchInsertResponse++; |
2209 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { | 2209 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { |
2210 } | 2210 } |
2211 buildCounterRasterCollectionsRastersBatchInsertResponse--; | 2211 buildCounterRasterCollectionsRastersBatchInsertResponse--; |
2212 return o; | 2212 return o; |
2213 } | 2213 } |
2214 | 2214 |
2215 checkRasterCollectionsRastersBatchInsertResponse(api.RasterCollectionsRastersBat
chInsertResponse o) { | 2215 checkRasterCollectionsRastersBatchInsertResponse(api.RasterCollectionsRastersBat
chInsertResponse o) { |
2216 buildCounterRasterCollectionsRastersBatchInsertResponse++; | 2216 buildCounterRasterCollectionsRastersBatchInsertResponse++; |
2217 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { | 2217 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { |
2218 } | 2218 } |
2219 buildCounterRasterCollectionsRastersBatchInsertResponse--; | 2219 buildCounterRasterCollectionsRastersBatchInsertResponse--; |
2220 } | 2220 } |
2221 | 2221 |
2222 buildUnnamed110() { | 2222 buildUnnamed1918() { |
2223 var o = new core.List<api.RasterCollectionsRaster>(); | 2223 var o = new core.List<api.RasterCollectionsRaster>(); |
2224 o.add(buildRasterCollectionsRaster()); | 2224 o.add(buildRasterCollectionsRaster()); |
2225 o.add(buildRasterCollectionsRaster()); | 2225 o.add(buildRasterCollectionsRaster()); |
2226 return o; | 2226 return o; |
2227 } | 2227 } |
2228 | 2228 |
2229 checkUnnamed110(core.List<api.RasterCollectionsRaster> o) { | 2229 checkUnnamed1918(core.List<api.RasterCollectionsRaster> o) { |
2230 unittest.expect(o, unittest.hasLength(2)); | 2230 unittest.expect(o, unittest.hasLength(2)); |
2231 checkRasterCollectionsRaster(o[0]); | 2231 checkRasterCollectionsRaster(o[0]); |
2232 checkRasterCollectionsRaster(o[1]); | 2232 checkRasterCollectionsRaster(o[1]); |
2233 } | 2233 } |
2234 | 2234 |
2235 core.int buildCounterRasterCollectionsRastersListResponse = 0; | 2235 core.int buildCounterRasterCollectionsRastersListResponse = 0; |
2236 buildRasterCollectionsRastersListResponse() { | 2236 buildRasterCollectionsRastersListResponse() { |
2237 var o = new api.RasterCollectionsRastersListResponse(); | 2237 var o = new api.RasterCollectionsRastersListResponse(); |
2238 buildCounterRasterCollectionsRastersListResponse++; | 2238 buildCounterRasterCollectionsRastersListResponse++; |
2239 if (buildCounterRasterCollectionsRastersListResponse < 3) { | 2239 if (buildCounterRasterCollectionsRastersListResponse < 3) { |
2240 o.nextPageToken = "foo"; | 2240 o.nextPageToken = "foo"; |
2241 o.rasters = buildUnnamed110(); | 2241 o.rasters = buildUnnamed1918(); |
2242 } | 2242 } |
2243 buildCounterRasterCollectionsRastersListResponse--; | 2243 buildCounterRasterCollectionsRastersListResponse--; |
2244 return o; | 2244 return o; |
2245 } | 2245 } |
2246 | 2246 |
2247 checkRasterCollectionsRastersListResponse(api.RasterCollectionsRastersListRespon
se o) { | 2247 checkRasterCollectionsRastersListResponse(api.RasterCollectionsRastersListRespon
se o) { |
2248 buildCounterRasterCollectionsRastersListResponse++; | 2248 buildCounterRasterCollectionsRastersListResponse++; |
2249 if (buildCounterRasterCollectionsRastersListResponse < 3) { | 2249 if (buildCounterRasterCollectionsRastersListResponse < 3) { |
2250 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2250 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2251 checkUnnamed110(o.rasters); | 2251 checkUnnamed1918(o.rasters); |
2252 } | 2252 } |
2253 buildCounterRasterCollectionsRastersListResponse--; | 2253 buildCounterRasterCollectionsRastersListResponse--; |
2254 } | 2254 } |
2255 | 2255 |
2256 buildUnnamed111() { | 2256 buildUnnamed1919() { |
2257 var o = new core.List<api.Raster>(); | 2257 var o = new core.List<api.Raster>(); |
2258 o.add(buildRaster()); | 2258 o.add(buildRaster()); |
2259 o.add(buildRaster()); | 2259 o.add(buildRaster()); |
2260 return o; | 2260 return o; |
2261 } | 2261 } |
2262 | 2262 |
2263 checkUnnamed111(core.List<api.Raster> o) { | 2263 checkUnnamed1919(core.List<api.Raster> o) { |
2264 unittest.expect(o, unittest.hasLength(2)); | 2264 unittest.expect(o, unittest.hasLength(2)); |
2265 checkRaster(o[0]); | 2265 checkRaster(o[0]); |
2266 checkRaster(o[1]); | 2266 checkRaster(o[1]); |
2267 } | 2267 } |
2268 | 2268 |
2269 core.int buildCounterRastersListResponse = 0; | 2269 core.int buildCounterRastersListResponse = 0; |
2270 buildRastersListResponse() { | 2270 buildRastersListResponse() { |
2271 var o = new api.RastersListResponse(); | 2271 var o = new api.RastersListResponse(); |
2272 buildCounterRastersListResponse++; | 2272 buildCounterRastersListResponse++; |
2273 if (buildCounterRastersListResponse < 3) { | 2273 if (buildCounterRastersListResponse < 3) { |
2274 o.nextPageToken = "foo"; | 2274 o.nextPageToken = "foo"; |
2275 o.rasters = buildUnnamed111(); | 2275 o.rasters = buildUnnamed1919(); |
2276 } | 2276 } |
2277 buildCounterRastersListResponse--; | 2277 buildCounterRastersListResponse--; |
2278 return o; | 2278 return o; |
2279 } | 2279 } |
2280 | 2280 |
2281 checkRastersListResponse(api.RastersListResponse o) { | 2281 checkRastersListResponse(api.RastersListResponse o) { |
2282 buildCounterRastersListResponse++; | 2282 buildCounterRastersListResponse++; |
2283 if (buildCounterRastersListResponse < 3) { | 2283 if (buildCounterRastersListResponse < 3) { |
2284 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2284 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2285 checkUnnamed111(o.rasters); | 2285 checkUnnamed1919(o.rasters); |
2286 } | 2286 } |
2287 buildCounterRastersListResponse--; | 2287 buildCounterRastersListResponse--; |
2288 } | 2288 } |
2289 | 2289 |
2290 core.int buildCounterScaledShape = 0; | 2290 core.int buildCounterScaledShape = 0; |
2291 buildScaledShape() { | 2291 buildScaledShape() { |
2292 var o = new api.ScaledShape(); | 2292 var o = new api.ScaledShape(); |
2293 buildCounterScaledShape++; | 2293 buildCounterScaledShape++; |
2294 if (buildCounterScaledShape < 3) { | 2294 if (buildCounterScaledShape < 3) { |
2295 o.border = buildBorder(); | 2295 o.border = buildBorder(); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2328 buildCounterScalingFunction++; | 2328 buildCounterScalingFunction++; |
2329 if (buildCounterScalingFunction < 3) { | 2329 if (buildCounterScalingFunction < 3) { |
2330 unittest.expect(o.column, unittest.equals('foo')); | 2330 unittest.expect(o.column, unittest.equals('foo')); |
2331 unittest.expect(o.scalingType, unittest.equals('foo')); | 2331 unittest.expect(o.scalingType, unittest.equals('foo')); |
2332 checkSizeRange(o.sizeRange); | 2332 checkSizeRange(o.sizeRange); |
2333 checkValueRange(o.valueRange); | 2333 checkValueRange(o.valueRange); |
2334 } | 2334 } |
2335 buildCounterScalingFunction--; | 2335 buildCounterScalingFunction--; |
2336 } | 2336 } |
2337 | 2337 |
2338 buildUnnamed112() { | 2338 buildUnnamed1920() { |
2339 var o = new core.List<api.TableColumn>(); | 2339 var o = new core.List<api.TableColumn>(); |
2340 o.add(buildTableColumn()); | 2340 o.add(buildTableColumn()); |
2341 o.add(buildTableColumn()); | 2341 o.add(buildTableColumn()); |
2342 return o; | 2342 return o; |
2343 } | 2343 } |
2344 | 2344 |
2345 checkUnnamed112(core.List<api.TableColumn> o) { | 2345 checkUnnamed1920(core.List<api.TableColumn> o) { |
2346 unittest.expect(o, unittest.hasLength(2)); | 2346 unittest.expect(o, unittest.hasLength(2)); |
2347 checkTableColumn(o[0]); | 2347 checkTableColumn(o[0]); |
2348 checkTableColumn(o[1]); | 2348 checkTableColumn(o[1]); |
2349 } | 2349 } |
2350 | 2350 |
2351 core.int buildCounterSchema = 0; | 2351 core.int buildCounterSchema = 0; |
2352 buildSchema() { | 2352 buildSchema() { |
2353 var o = new api.Schema(); | 2353 var o = new api.Schema(); |
2354 buildCounterSchema++; | 2354 buildCounterSchema++; |
2355 if (buildCounterSchema < 3) { | 2355 if (buildCounterSchema < 3) { |
2356 o.columns = buildUnnamed112(); | 2356 o.columns = buildUnnamed1920(); |
2357 o.primaryGeometry = "foo"; | 2357 o.primaryGeometry = "foo"; |
2358 o.primaryKey = "foo"; | 2358 o.primaryKey = "foo"; |
2359 } | 2359 } |
2360 buildCounterSchema--; | 2360 buildCounterSchema--; |
2361 return o; | 2361 return o; |
2362 } | 2362 } |
2363 | 2363 |
2364 checkSchema(api.Schema o) { | 2364 checkSchema(api.Schema o) { |
2365 buildCounterSchema++; | 2365 buildCounterSchema++; |
2366 if (buildCounterSchema < 3) { | 2366 if (buildCounterSchema < 3) { |
2367 checkUnnamed112(o.columns); | 2367 checkUnnamed1920(o.columns); |
2368 unittest.expect(o.primaryGeometry, unittest.equals('foo')); | 2368 unittest.expect(o.primaryGeometry, unittest.equals('foo')); |
2369 unittest.expect(o.primaryKey, unittest.equals('foo')); | 2369 unittest.expect(o.primaryKey, unittest.equals('foo')); |
2370 } | 2370 } |
2371 buildCounterSchema--; | 2371 buildCounterSchema--; |
2372 } | 2372 } |
2373 | 2373 |
2374 core.int buildCounterSizeRange = 0; | 2374 core.int buildCounterSizeRange = 0; |
2375 buildSizeRange() { | 2375 buildSizeRange() { |
2376 var o = new api.SizeRange(); | 2376 var o = new api.SizeRange(); |
2377 buildCounterSizeRange++; | 2377 buildCounterSizeRange++; |
2378 if (buildCounterSizeRange < 3) { | 2378 if (buildCounterSizeRange < 3) { |
2379 o.max = 42.0; | 2379 o.max = 42.0; |
2380 o.min = 42.0; | 2380 o.min = 42.0; |
2381 } | 2381 } |
2382 buildCounterSizeRange--; | 2382 buildCounterSizeRange--; |
2383 return o; | 2383 return o; |
2384 } | 2384 } |
2385 | 2385 |
2386 checkSizeRange(api.SizeRange o) { | 2386 checkSizeRange(api.SizeRange o) { |
2387 buildCounterSizeRange++; | 2387 buildCounterSizeRange++; |
2388 if (buildCounterSizeRange < 3) { | 2388 if (buildCounterSizeRange < 3) { |
2389 unittest.expect(o.max, unittest.equals(42.0)); | 2389 unittest.expect(o.max, unittest.equals(42.0)); |
2390 unittest.expect(o.min, unittest.equals(42.0)); | 2390 unittest.expect(o.min, unittest.equals(42.0)); |
2391 } | 2391 } |
2392 buildCounterSizeRange--; | 2392 buildCounterSizeRange--; |
2393 } | 2393 } |
2394 | 2394 |
2395 buildUnnamed113() { | 2395 buildUnnamed1921() { |
2396 var o = new core.List<core.double>(); | 2396 var o = new core.List<core.double>(); |
2397 o.add(42.0); | 2397 o.add(42.0); |
2398 o.add(42.0); | 2398 o.add(42.0); |
2399 return o; | 2399 return o; |
2400 } | 2400 } |
2401 | 2401 |
2402 checkUnnamed113(core.List<core.double> o) { | 2402 checkUnnamed1921(core.List<core.double> o) { |
2403 unittest.expect(o, unittest.hasLength(2)); | 2403 unittest.expect(o, unittest.hasLength(2)); |
2404 unittest.expect(o[0], unittest.equals(42.0)); | 2404 unittest.expect(o[0], unittest.equals(42.0)); |
2405 unittest.expect(o[1], unittest.equals(42.0)); | 2405 unittest.expect(o[1], unittest.equals(42.0)); |
2406 } | 2406 } |
2407 | 2407 |
2408 buildUnnamed114() { | 2408 buildUnnamed1922() { |
2409 var o = new core.List<api.File>(); | 2409 var o = new core.List<api.File>(); |
2410 o.add(buildFile()); | 2410 o.add(buildFile()); |
2411 o.add(buildFile()); | 2411 o.add(buildFile()); |
2412 return o; | 2412 return o; |
2413 } | 2413 } |
2414 | 2414 |
2415 checkUnnamed114(core.List<api.File> o) { | 2415 checkUnnamed1922(core.List<api.File> o) { |
2416 unittest.expect(o, unittest.hasLength(2)); | 2416 unittest.expect(o, unittest.hasLength(2)); |
2417 checkFile(o[0]); | 2417 checkFile(o[0]); |
2418 checkFile(o[1]); | 2418 checkFile(o[1]); |
2419 } | 2419 } |
2420 | 2420 |
2421 core.int buildCounterTable = 0; | 2421 core.int buildCounterTable = 0; |
2422 buildTable() { | 2422 buildTable() { |
2423 var o = new api.Table(); | 2423 var o = new api.Table(); |
2424 buildCounterTable++; | 2424 buildCounterTable++; |
2425 if (buildCounterTable < 3) { | 2425 if (buildCounterTable < 3) { |
2426 o.bbox = buildUnnamed113(); | 2426 o.bbox = buildUnnamed1921(); |
2427 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2427 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2428 o.creatorEmail = "foo"; | 2428 o.creatorEmail = "foo"; |
2429 o.description = "foo"; | 2429 o.description = "foo"; |
2430 o.draftAccessList = "foo"; | 2430 o.draftAccessList = "foo"; |
2431 o.etag = "foo"; | 2431 o.etag = "foo"; |
2432 o.files = buildUnnamed114(); | 2432 o.files = buildUnnamed1922(); |
2433 o.id = "foo"; | 2433 o.id = "foo"; |
2434 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2434 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2435 o.lastModifierEmail = "foo"; | 2435 o.lastModifierEmail = "foo"; |
2436 o.name = "foo"; | 2436 o.name = "foo"; |
2437 o.processingStatus = "foo"; | 2437 o.processingStatus = "foo"; |
2438 o.projectId = "foo"; | 2438 o.projectId = "foo"; |
2439 o.publishedAccessList = "foo"; | 2439 o.publishedAccessList = "foo"; |
2440 o.schema = buildSchema(); | 2440 o.schema = buildSchema(); |
2441 o.sourceEncoding = "foo"; | 2441 o.sourceEncoding = "foo"; |
2442 o.tags = buildTags(); | 2442 o.tags = buildTags(); |
2443 o.writersCanEditPermissions = true; | 2443 o.writersCanEditPermissions = true; |
2444 } | 2444 } |
2445 buildCounterTable--; | 2445 buildCounterTable--; |
2446 return o; | 2446 return o; |
2447 } | 2447 } |
2448 | 2448 |
2449 checkTable(api.Table o) { | 2449 checkTable(api.Table o) { |
2450 buildCounterTable++; | 2450 buildCounterTable++; |
2451 if (buildCounterTable < 3) { | 2451 if (buildCounterTable < 3) { |
2452 checkUnnamed113(o.bbox); | 2452 checkUnnamed1921(o.bbox); |
2453 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2453 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2454 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 2454 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
2455 unittest.expect(o.description, unittest.equals('foo')); | 2455 unittest.expect(o.description, unittest.equals('foo')); |
2456 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 2456 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
2457 unittest.expect(o.etag, unittest.equals('foo')); | 2457 unittest.expect(o.etag, unittest.equals('foo')); |
2458 checkUnnamed114(o.files); | 2458 checkUnnamed1922(o.files); |
2459 unittest.expect(o.id, unittest.equals('foo')); | 2459 unittest.expect(o.id, unittest.equals('foo')); |
2460 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2460 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2461 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 2461 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
2462 unittest.expect(o.name, unittest.equals('foo')); | 2462 unittest.expect(o.name, unittest.equals('foo')); |
2463 unittest.expect(o.processingStatus, unittest.equals('foo')); | 2463 unittest.expect(o.processingStatus, unittest.equals('foo')); |
2464 unittest.expect(o.projectId, unittest.equals('foo')); | 2464 unittest.expect(o.projectId, unittest.equals('foo')); |
2465 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 2465 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
2466 checkSchema(o.schema); | 2466 checkSchema(o.schema); |
2467 unittest.expect(o.sourceEncoding, unittest.equals('foo')); | 2467 unittest.expect(o.sourceEncoding, unittest.equals('foo')); |
2468 checkTags(o.tags); | 2468 checkTags(o.tags); |
(...skipping 16 matching lines...) Expand all Loading... |
2485 | 2485 |
2486 checkTableColumn(api.TableColumn o) { | 2486 checkTableColumn(api.TableColumn o) { |
2487 buildCounterTableColumn++; | 2487 buildCounterTableColumn++; |
2488 if (buildCounterTableColumn < 3) { | 2488 if (buildCounterTableColumn < 3) { |
2489 unittest.expect(o.name, unittest.equals('foo')); | 2489 unittest.expect(o.name, unittest.equals('foo')); |
2490 unittest.expect(o.type, unittest.equals('foo')); | 2490 unittest.expect(o.type, unittest.equals('foo')); |
2491 } | 2491 } |
2492 buildCounterTableColumn--; | 2492 buildCounterTableColumn--; |
2493 } | 2493 } |
2494 | 2494 |
2495 buildUnnamed115() { | 2495 buildUnnamed1923() { |
2496 var o = new core.List<api.Table>(); | 2496 var o = new core.List<api.Table>(); |
2497 o.add(buildTable()); | 2497 o.add(buildTable()); |
2498 o.add(buildTable()); | 2498 o.add(buildTable()); |
2499 return o; | 2499 return o; |
2500 } | 2500 } |
2501 | 2501 |
2502 checkUnnamed115(core.List<api.Table> o) { | 2502 checkUnnamed1923(core.List<api.Table> o) { |
2503 unittest.expect(o, unittest.hasLength(2)); | 2503 unittest.expect(o, unittest.hasLength(2)); |
2504 checkTable(o[0]); | 2504 checkTable(o[0]); |
2505 checkTable(o[1]); | 2505 checkTable(o[1]); |
2506 } | 2506 } |
2507 | 2507 |
2508 core.int buildCounterTablesListResponse = 0; | 2508 core.int buildCounterTablesListResponse = 0; |
2509 buildTablesListResponse() { | 2509 buildTablesListResponse() { |
2510 var o = new api.TablesListResponse(); | 2510 var o = new api.TablesListResponse(); |
2511 buildCounterTablesListResponse++; | 2511 buildCounterTablesListResponse++; |
2512 if (buildCounterTablesListResponse < 3) { | 2512 if (buildCounterTablesListResponse < 3) { |
2513 o.nextPageToken = "foo"; | 2513 o.nextPageToken = "foo"; |
2514 o.tables = buildUnnamed115(); | 2514 o.tables = buildUnnamed1923(); |
2515 } | 2515 } |
2516 buildCounterTablesListResponse--; | 2516 buildCounterTablesListResponse--; |
2517 return o; | 2517 return o; |
2518 } | 2518 } |
2519 | 2519 |
2520 checkTablesListResponse(api.TablesListResponse o) { | 2520 checkTablesListResponse(api.TablesListResponse o) { |
2521 buildCounterTablesListResponse++; | 2521 buildCounterTablesListResponse++; |
2522 if (buildCounterTablesListResponse < 3) { | 2522 if (buildCounterTablesListResponse < 3) { |
2523 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2523 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2524 checkUnnamed115(o.tables); | 2524 checkUnnamed1923(o.tables); |
2525 } | 2525 } |
2526 buildCounterTablesListResponse--; | 2526 buildCounterTablesListResponse--; |
2527 } | 2527 } |
2528 | 2528 |
2529 buildTags() { | 2529 buildTags() { |
2530 var o = new api.Tags(); | 2530 var o = new api.Tags(); |
2531 o.add("foo"); | 2531 o.add("foo"); |
2532 o.add("foo"); | 2532 o.add("foo"); |
2533 return o; | 2533 return o; |
2534 } | 2534 } |
(...skipping 18 matching lines...) Expand all Loading... |
2553 | 2553 |
2554 checkValueRange(api.ValueRange o) { | 2554 checkValueRange(api.ValueRange o) { |
2555 buildCounterValueRange++; | 2555 buildCounterValueRange++; |
2556 if (buildCounterValueRange < 3) { | 2556 if (buildCounterValueRange < 3) { |
2557 unittest.expect(o.max, unittest.equals(42.0)); | 2557 unittest.expect(o.max, unittest.equals(42.0)); |
2558 unittest.expect(o.min, unittest.equals(42.0)); | 2558 unittest.expect(o.min, unittest.equals(42.0)); |
2559 } | 2559 } |
2560 buildCounterValueRange--; | 2560 buildCounterValueRange--; |
2561 } | 2561 } |
2562 | 2562 |
2563 buildUnnamed116() { | 2563 buildUnnamed1924() { |
2564 var o = new core.List<api.DisplayRule>(); | 2564 var o = new core.List<api.DisplayRule>(); |
2565 o.add(buildDisplayRule()); | 2565 o.add(buildDisplayRule()); |
2566 o.add(buildDisplayRule()); | 2566 o.add(buildDisplayRule()); |
2567 return o; | 2567 return o; |
2568 } | 2568 } |
2569 | 2569 |
2570 checkUnnamed116(core.List<api.DisplayRule> o) { | 2570 checkUnnamed1924(core.List<api.DisplayRule> o) { |
2571 unittest.expect(o, unittest.hasLength(2)); | 2571 unittest.expect(o, unittest.hasLength(2)); |
2572 checkDisplayRule(o[0]); | 2572 checkDisplayRule(o[0]); |
2573 checkDisplayRule(o[1]); | 2573 checkDisplayRule(o[1]); |
2574 } | 2574 } |
2575 | 2575 |
2576 core.int buildCounterVectorStyle = 0; | 2576 core.int buildCounterVectorStyle = 0; |
2577 buildVectorStyle() { | 2577 buildVectorStyle() { |
2578 var o = new api.VectorStyle(); | 2578 var o = new api.VectorStyle(); |
2579 buildCounterVectorStyle++; | 2579 buildCounterVectorStyle++; |
2580 if (buildCounterVectorStyle < 3) { | 2580 if (buildCounterVectorStyle < 3) { |
2581 o.displayRules = buildUnnamed116(); | 2581 o.displayRules = buildUnnamed1924(); |
2582 o.featureInfo = buildFeatureInfo(); | 2582 o.featureInfo = buildFeatureInfo(); |
2583 o.type = "foo"; | 2583 o.type = "foo"; |
2584 } | 2584 } |
2585 buildCounterVectorStyle--; | 2585 buildCounterVectorStyle--; |
2586 return o; | 2586 return o; |
2587 } | 2587 } |
2588 | 2588 |
2589 checkVectorStyle(api.VectorStyle o) { | 2589 checkVectorStyle(api.VectorStyle o) { |
2590 buildCounterVectorStyle++; | 2590 buildCounterVectorStyle++; |
2591 if (buildCounterVectorStyle < 3) { | 2591 if (buildCounterVectorStyle < 3) { |
2592 checkUnnamed116(o.displayRules); | 2592 checkUnnamed1924(o.displayRules); |
2593 checkFeatureInfo(o.featureInfo); | 2593 checkFeatureInfo(o.featureInfo); |
2594 unittest.expect(o.type, unittest.equals('foo')); | 2594 unittest.expect(o.type, unittest.equals('foo')); |
2595 } | 2595 } |
2596 buildCounterVectorStyle--; | 2596 buildCounterVectorStyle--; |
2597 } | 2597 } |
2598 | 2598 |
2599 core.int buildCounterZoomLevels = 0; | 2599 core.int buildCounterZoomLevels = 0; |
2600 buildZoomLevels() { | 2600 buildZoomLevels() { |
2601 var o = new api.ZoomLevels(); | 2601 var o = new api.ZoomLevels(); |
2602 buildCounterZoomLevels++; | 2602 buildCounterZoomLevels++; |
(...skipping 5075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7678 res.list(arg_id).then(unittest.expectAsync(((api.PermissionsListResponse r
esponse) { | 7678 res.list(arg_id).then(unittest.expectAsync(((api.PermissionsListResponse r
esponse) { |
7679 checkPermissionsListResponse(response); | 7679 checkPermissionsListResponse(response); |
7680 }))); | 7680 }))); |
7681 }); | 7681 }); |
7682 | 7682 |
7683 }); | 7683 }); |
7684 | 7684 |
7685 | 7685 |
7686 } | 7686 } |
7687 | 7687 |
OLD | NEW |