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 21 matching lines...) Loading... |
32 checkAcquisitionTime(api.AcquisitionTime o) { | 32 checkAcquisitionTime(api.AcquisitionTime o) { |
33 buildCounterAcquisitionTime++; | 33 buildCounterAcquisitionTime++; |
34 if (buildCounterAcquisitionTime < 3) { | 34 if (buildCounterAcquisitionTime < 3) { |
35 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01
:02"))); | 35 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01
:02"))); |
36 unittest.expect(o.precision, unittest.equals('foo')); | 36 unittest.expect(o.precision, unittest.equals('foo')); |
37 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14:
01:02"))); | 37 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14:
01:02"))); |
38 } | 38 } |
39 buildCounterAcquisitionTime--; | 39 buildCounterAcquisitionTime--; |
40 } | 40 } |
41 | 41 |
42 buildUnnamed333() { | 42 buildUnnamed91() { |
43 var o = new core.List<core.double>(); | 43 var o = new core.List<core.double>(); |
44 o.add(42.0); | 44 o.add(42.0); |
45 o.add(42.0); | 45 o.add(42.0); |
46 return o; | 46 return o; |
47 } | 47 } |
48 | 48 |
49 checkUnnamed333(core.List<core.double> o) { | 49 checkUnnamed91(core.List<core.double> o) { |
50 unittest.expect(o, unittest.hasLength(2)); | 50 unittest.expect(o, unittest.hasLength(2)); |
51 unittest.expect(o[0], unittest.equals(42.0)); | 51 unittest.expect(o[0], unittest.equals(42.0)); |
52 unittest.expect(o[1], unittest.equals(42.0)); | 52 unittest.expect(o[1], unittest.equals(42.0)); |
53 } | 53 } |
54 | 54 |
55 buildUnnamed334() { | 55 buildUnnamed92() { |
56 var o = new core.List<core.String>(); | 56 var o = new core.List<core.String>(); |
57 o.add("foo"); | 57 o.add("foo"); |
58 o.add("foo"); | 58 o.add("foo"); |
59 return o; | 59 return o; |
60 } | 60 } |
61 | 61 |
62 checkUnnamed334(core.List<core.String> o) { | 62 checkUnnamed92(core.List<core.String> o) { |
63 unittest.expect(o, unittest.hasLength(2)); | 63 unittest.expect(o, unittest.hasLength(2)); |
64 unittest.expect(o[0], unittest.equals('foo')); | 64 unittest.expect(o[0], unittest.equals('foo')); |
65 unittest.expect(o[1], unittest.equals('foo')); | 65 unittest.expect(o[1], unittest.equals('foo')); |
66 } | 66 } |
67 | 67 |
68 core.int buildCounterAsset = 0; | 68 core.int buildCounterAsset = 0; |
69 buildAsset() { | 69 buildAsset() { |
70 var o = new api.Asset(); | 70 var o = new api.Asset(); |
71 buildCounterAsset++; | 71 buildCounterAsset++; |
72 if (buildCounterAsset < 3) { | 72 if (buildCounterAsset < 3) { |
73 o.bbox = buildUnnamed333(); | 73 o.bbox = buildUnnamed91(); |
74 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 74 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
75 o.creatorEmail = "foo"; | 75 o.creatorEmail = "foo"; |
76 o.description = "foo"; | 76 o.description = "foo"; |
77 o.etag = "foo"; | 77 o.etag = "foo"; |
78 o.id = "foo"; | 78 o.id = "foo"; |
79 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 79 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
80 o.lastModifierEmail = "foo"; | 80 o.lastModifierEmail = "foo"; |
81 o.name = "foo"; | 81 o.name = "foo"; |
82 o.projectId = "foo"; | 82 o.projectId = "foo"; |
83 o.resource = "foo"; | 83 o.resource = "foo"; |
84 o.tags = buildUnnamed334(); | 84 o.tags = buildUnnamed92(); |
85 o.type = "foo"; | 85 o.type = "foo"; |
86 o.writersCanEditPermissions = true; | 86 o.writersCanEditPermissions = true; |
87 } | 87 } |
88 buildCounterAsset--; | 88 buildCounterAsset--; |
89 return o; | 89 return o; |
90 } | 90 } |
91 | 91 |
92 checkAsset(api.Asset o) { | 92 checkAsset(api.Asset o) { |
93 buildCounterAsset++; | 93 buildCounterAsset++; |
94 if (buildCounterAsset < 3) { | 94 if (buildCounterAsset < 3) { |
95 checkUnnamed333(o.bbox); | 95 checkUnnamed91(o.bbox); |
96 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 96 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
97 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 97 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
98 unittest.expect(o.description, unittest.equals('foo')); | 98 unittest.expect(o.description, unittest.equals('foo')); |
99 unittest.expect(o.etag, unittest.equals('foo')); | 99 unittest.expect(o.etag, unittest.equals('foo')); |
100 unittest.expect(o.id, unittest.equals('foo')); | 100 unittest.expect(o.id, unittest.equals('foo')); |
101 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 101 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
102 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 102 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
103 unittest.expect(o.name, unittest.equals('foo')); | 103 unittest.expect(o.name, unittest.equals('foo')); |
104 unittest.expect(o.projectId, unittest.equals('foo')); | 104 unittest.expect(o.projectId, unittest.equals('foo')); |
105 unittest.expect(o.resource, unittest.equals('foo')); | 105 unittest.expect(o.resource, unittest.equals('foo')); |
106 checkUnnamed334(o.tags); | 106 checkUnnamed92(o.tags); |
107 unittest.expect(o.type, unittest.equals('foo')); | 107 unittest.expect(o.type, unittest.equals('foo')); |
108 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 108 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
109 } | 109 } |
110 buildCounterAsset--; | 110 buildCounterAsset--; |
111 } | 111 } |
112 | 112 |
113 buildUnnamed335() { | 113 buildUnnamed93() { |
114 var o = new core.List<api.Asset>(); | 114 var o = new core.List<api.Asset>(); |
115 o.add(buildAsset()); | 115 o.add(buildAsset()); |
116 o.add(buildAsset()); | 116 o.add(buildAsset()); |
117 return o; | 117 return o; |
118 } | 118 } |
119 | 119 |
120 checkUnnamed335(core.List<api.Asset> o) { | 120 checkUnnamed93(core.List<api.Asset> o) { |
121 unittest.expect(o, unittest.hasLength(2)); | 121 unittest.expect(o, unittest.hasLength(2)); |
122 checkAsset(o[0]); | 122 checkAsset(o[0]); |
123 checkAsset(o[1]); | 123 checkAsset(o[1]); |
124 } | 124 } |
125 | 125 |
126 core.int buildCounterAssetsListResponse = 0; | 126 core.int buildCounterAssetsListResponse = 0; |
127 buildAssetsListResponse() { | 127 buildAssetsListResponse() { |
128 var o = new api.AssetsListResponse(); | 128 var o = new api.AssetsListResponse(); |
129 buildCounterAssetsListResponse++; | 129 buildCounterAssetsListResponse++; |
130 if (buildCounterAssetsListResponse < 3) { | 130 if (buildCounterAssetsListResponse < 3) { |
131 o.assets = buildUnnamed335(); | 131 o.assets = buildUnnamed93(); |
132 o.nextPageToken = "foo"; | 132 o.nextPageToken = "foo"; |
133 } | 133 } |
134 buildCounterAssetsListResponse--; | 134 buildCounterAssetsListResponse--; |
135 return o; | 135 return o; |
136 } | 136 } |
137 | 137 |
138 checkAssetsListResponse(api.AssetsListResponse o) { | 138 checkAssetsListResponse(api.AssetsListResponse o) { |
139 buildCounterAssetsListResponse++; | 139 buildCounterAssetsListResponse++; |
140 if (buildCounterAssetsListResponse < 3) { | 140 if (buildCounterAssetsListResponse < 3) { |
141 checkUnnamed335(o.assets); | 141 checkUnnamed93(o.assets); |
142 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 142 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
143 } | 143 } |
144 buildCounterAssetsListResponse--; | 144 buildCounterAssetsListResponse--; |
145 } | 145 } |
146 | 146 |
147 core.int buildCounterBorder = 0; | 147 core.int buildCounterBorder = 0; |
148 buildBorder() { | 148 buildBorder() { |
149 var o = new api.Border(); | 149 var o = new api.Border(); |
150 buildCounterBorder++; | 150 buildCounterBorder++; |
151 if (buildCounterBorder < 3) { | 151 if (buildCounterBorder < 3) { |
(...skipping 61 matching lines...) Loading... |
213 o.add(buildDatasource()); | 213 o.add(buildDatasource()); |
214 return o; | 214 return o; |
215 } | 215 } |
216 | 216 |
217 checkDatasources(api.Datasources o) { | 217 checkDatasources(api.Datasources o) { |
218 unittest.expect(o, unittest.hasLength(2)); | 218 unittest.expect(o, unittest.hasLength(2)); |
219 checkDatasource(o[0]); | 219 checkDatasource(o[0]); |
220 checkDatasource(o[1]); | 220 checkDatasource(o[1]); |
221 } | 221 } |
222 | 222 |
223 buildUnnamed336() { | 223 buildUnnamed94() { |
224 var o = new core.List<api.Filter>(); | 224 var o = new core.List<api.Filter>(); |
225 o.add(buildFilter()); | 225 o.add(buildFilter()); |
226 o.add(buildFilter()); | 226 o.add(buildFilter()); |
227 return o; | 227 return o; |
228 } | 228 } |
229 | 229 |
230 checkUnnamed336(core.List<api.Filter> o) { | 230 checkUnnamed94(core.List<api.Filter> o) { |
231 unittest.expect(o, unittest.hasLength(2)); | 231 unittest.expect(o, unittest.hasLength(2)); |
232 checkFilter(o[0]); | 232 checkFilter(o[0]); |
233 checkFilter(o[1]); | 233 checkFilter(o[1]); |
234 } | 234 } |
235 | 235 |
236 core.int buildCounterDisplayRule = 0; | 236 core.int buildCounterDisplayRule = 0; |
237 buildDisplayRule() { | 237 buildDisplayRule() { |
238 var o = new api.DisplayRule(); | 238 var o = new api.DisplayRule(); |
239 buildCounterDisplayRule++; | 239 buildCounterDisplayRule++; |
240 if (buildCounterDisplayRule < 3) { | 240 if (buildCounterDisplayRule < 3) { |
241 o.filters = buildUnnamed336(); | 241 o.filters = buildUnnamed94(); |
242 o.lineOptions = buildLineStyle(); | 242 o.lineOptions = buildLineStyle(); |
243 o.name = "foo"; | 243 o.name = "foo"; |
244 o.pointOptions = buildPointStyle(); | 244 o.pointOptions = buildPointStyle(); |
245 o.polygonOptions = buildPolygonStyle(); | 245 o.polygonOptions = buildPolygonStyle(); |
246 o.zoomLevels = buildZoomLevels(); | 246 o.zoomLevels = buildZoomLevels(); |
247 } | 247 } |
248 buildCounterDisplayRule--; | 248 buildCounterDisplayRule--; |
249 return o; | 249 return o; |
250 } | 250 } |
251 | 251 |
252 checkDisplayRule(api.DisplayRule o) { | 252 checkDisplayRule(api.DisplayRule o) { |
253 buildCounterDisplayRule++; | 253 buildCounterDisplayRule++; |
254 if (buildCounterDisplayRule < 3) { | 254 if (buildCounterDisplayRule < 3) { |
255 checkUnnamed336(o.filters); | 255 checkUnnamed94(o.filters); |
256 checkLineStyle(o.lineOptions); | 256 checkLineStyle(o.lineOptions); |
257 unittest.expect(o.name, unittest.equals('foo')); | 257 unittest.expect(o.name, unittest.equals('foo')); |
258 checkPointStyle(o.pointOptions); | 258 checkPointStyle(o.pointOptions); |
259 checkPolygonStyle(o.polygonOptions); | 259 checkPolygonStyle(o.polygonOptions); |
260 checkZoomLevels(o.zoomLevels); | 260 checkZoomLevels(o.zoomLevels); |
261 } | 261 } |
262 buildCounterDisplayRule--; | 262 buildCounterDisplayRule--; |
263 } | 263 } |
264 | 264 |
265 core.int buildCounterFeature = 0; | 265 core.int buildCounterFeature = 0; |
(...skipping 31 matching lines...) Loading... |
297 } | 297 } |
298 | 298 |
299 checkFeatureInfo(api.FeatureInfo o) { | 299 checkFeatureInfo(api.FeatureInfo o) { |
300 buildCounterFeatureInfo++; | 300 buildCounterFeatureInfo++; |
301 if (buildCounterFeatureInfo < 3) { | 301 if (buildCounterFeatureInfo < 3) { |
302 unittest.expect(o.content, unittest.equals('foo')); | 302 unittest.expect(o.content, unittest.equals('foo')); |
303 } | 303 } |
304 buildCounterFeatureInfo--; | 304 buildCounterFeatureInfo--; |
305 } | 305 } |
306 | 306 |
307 buildUnnamed337() { | 307 buildUnnamed95() { |
308 var o = new core.List<core.String>(); | 308 var o = new core.List<core.String>(); |
309 o.add("foo"); | 309 o.add("foo"); |
310 o.add("foo"); | 310 o.add("foo"); |
311 return o; | 311 return o; |
312 } | 312 } |
313 | 313 |
314 checkUnnamed337(core.List<core.String> o) { | 314 checkUnnamed95(core.List<core.String> o) { |
315 unittest.expect(o, unittest.hasLength(2)); | 315 unittest.expect(o, unittest.hasLength(2)); |
316 unittest.expect(o[0], unittest.equals('foo')); | 316 unittest.expect(o[0], unittest.equals('foo')); |
317 unittest.expect(o[1], unittest.equals('foo')); | 317 unittest.expect(o[1], unittest.equals('foo')); |
318 } | 318 } |
319 | 319 |
320 buildUnnamed338() { | 320 buildUnnamed96() { |
321 var o = new core.List<core.String>(); | 321 var o = new core.List<core.String>(); |
322 o.add("foo"); | 322 o.add("foo"); |
323 o.add("foo"); | 323 o.add("foo"); |
324 return o; | 324 return o; |
325 } | 325 } |
326 | 326 |
327 checkUnnamed338(core.List<core.String> o) { | 327 checkUnnamed96(core.List<core.String> o) { |
328 unittest.expect(o, unittest.hasLength(2)); | 328 unittest.expect(o, unittest.hasLength(2)); |
329 unittest.expect(o[0], unittest.equals('foo')); | 329 unittest.expect(o[0], unittest.equals('foo')); |
330 unittest.expect(o[1], unittest.equals('foo')); | 330 unittest.expect(o[1], unittest.equals('foo')); |
331 } | 331 } |
332 | 332 |
333 core.int buildCounterFeaturesBatchDeleteRequest = 0; | 333 core.int buildCounterFeaturesBatchDeleteRequest = 0; |
334 buildFeaturesBatchDeleteRequest() { | 334 buildFeaturesBatchDeleteRequest() { |
335 var o = new api.FeaturesBatchDeleteRequest(); | 335 var o = new api.FeaturesBatchDeleteRequest(); |
336 buildCounterFeaturesBatchDeleteRequest++; | 336 buildCounterFeaturesBatchDeleteRequest++; |
337 if (buildCounterFeaturesBatchDeleteRequest < 3) { | 337 if (buildCounterFeaturesBatchDeleteRequest < 3) { |
338 o.gxIds = buildUnnamed337(); | 338 o.gxIds = buildUnnamed95(); |
339 o.primaryKeys = buildUnnamed338(); | 339 o.primaryKeys = buildUnnamed96(); |
340 } | 340 } |
341 buildCounterFeaturesBatchDeleteRequest--; | 341 buildCounterFeaturesBatchDeleteRequest--; |
342 return o; | 342 return o; |
343 } | 343 } |
344 | 344 |
345 checkFeaturesBatchDeleteRequest(api.FeaturesBatchDeleteRequest o) { | 345 checkFeaturesBatchDeleteRequest(api.FeaturesBatchDeleteRequest o) { |
346 buildCounterFeaturesBatchDeleteRequest++; | 346 buildCounterFeaturesBatchDeleteRequest++; |
347 if (buildCounterFeaturesBatchDeleteRequest < 3) { | 347 if (buildCounterFeaturesBatchDeleteRequest < 3) { |
348 checkUnnamed337(o.gxIds); | 348 checkUnnamed95(o.gxIds); |
349 checkUnnamed338(o.primaryKeys); | 349 checkUnnamed96(o.primaryKeys); |
350 } | 350 } |
351 buildCounterFeaturesBatchDeleteRequest--; | 351 buildCounterFeaturesBatchDeleteRequest--; |
352 } | 352 } |
353 | 353 |
354 buildUnnamed339() { | 354 buildUnnamed97() { |
355 var o = new core.List<api.Feature>(); | 355 var o = new core.List<api.Feature>(); |
356 o.add(buildFeature()); | 356 o.add(buildFeature()); |
357 o.add(buildFeature()); | 357 o.add(buildFeature()); |
358 return o; | 358 return o; |
359 } | 359 } |
360 | 360 |
361 checkUnnamed339(core.List<api.Feature> o) { | 361 checkUnnamed97(core.List<api.Feature> o) { |
362 unittest.expect(o, unittest.hasLength(2)); | 362 unittest.expect(o, unittest.hasLength(2)); |
363 checkFeature(o[0]); | 363 checkFeature(o[0]); |
364 checkFeature(o[1]); | 364 checkFeature(o[1]); |
365 } | 365 } |
366 | 366 |
367 core.int buildCounterFeaturesBatchInsertRequest = 0; | 367 core.int buildCounterFeaturesBatchInsertRequest = 0; |
368 buildFeaturesBatchInsertRequest() { | 368 buildFeaturesBatchInsertRequest() { |
369 var o = new api.FeaturesBatchInsertRequest(); | 369 var o = new api.FeaturesBatchInsertRequest(); |
370 buildCounterFeaturesBatchInsertRequest++; | 370 buildCounterFeaturesBatchInsertRequest++; |
371 if (buildCounterFeaturesBatchInsertRequest < 3) { | 371 if (buildCounterFeaturesBatchInsertRequest < 3) { |
372 o.features = buildUnnamed339(); | 372 o.features = buildUnnamed97(); |
373 o.normalizeGeometries = true; | 373 o.normalizeGeometries = true; |
374 } | 374 } |
375 buildCounterFeaturesBatchInsertRequest--; | 375 buildCounterFeaturesBatchInsertRequest--; |
376 return o; | 376 return o; |
377 } | 377 } |
378 | 378 |
379 checkFeaturesBatchInsertRequest(api.FeaturesBatchInsertRequest o) { | 379 checkFeaturesBatchInsertRequest(api.FeaturesBatchInsertRequest o) { |
380 buildCounterFeaturesBatchInsertRequest++; | 380 buildCounterFeaturesBatchInsertRequest++; |
381 if (buildCounterFeaturesBatchInsertRequest < 3) { | 381 if (buildCounterFeaturesBatchInsertRequest < 3) { |
382 checkUnnamed339(o.features); | 382 checkUnnamed97(o.features); |
383 unittest.expect(o.normalizeGeometries, unittest.isTrue); | 383 unittest.expect(o.normalizeGeometries, unittest.isTrue); |
384 } | 384 } |
385 buildCounterFeaturesBatchInsertRequest--; | 385 buildCounterFeaturesBatchInsertRequest--; |
386 } | 386 } |
387 | 387 |
388 buildUnnamed340() { | 388 buildUnnamed98() { |
389 var o = new core.List<api.Feature>(); | 389 var o = new core.List<api.Feature>(); |
390 o.add(buildFeature()); | 390 o.add(buildFeature()); |
391 o.add(buildFeature()); | 391 o.add(buildFeature()); |
392 return o; | 392 return o; |
393 } | 393 } |
394 | 394 |
395 checkUnnamed340(core.List<api.Feature> o) { | 395 checkUnnamed98(core.List<api.Feature> o) { |
396 unittest.expect(o, unittest.hasLength(2)); | 396 unittest.expect(o, unittest.hasLength(2)); |
397 checkFeature(o[0]); | 397 checkFeature(o[0]); |
398 checkFeature(o[1]); | 398 checkFeature(o[1]); |
399 } | 399 } |
400 | 400 |
401 core.int buildCounterFeaturesBatchPatchRequest = 0; | 401 core.int buildCounterFeaturesBatchPatchRequest = 0; |
402 buildFeaturesBatchPatchRequest() { | 402 buildFeaturesBatchPatchRequest() { |
403 var o = new api.FeaturesBatchPatchRequest(); | 403 var o = new api.FeaturesBatchPatchRequest(); |
404 buildCounterFeaturesBatchPatchRequest++; | 404 buildCounterFeaturesBatchPatchRequest++; |
405 if (buildCounterFeaturesBatchPatchRequest < 3) { | 405 if (buildCounterFeaturesBatchPatchRequest < 3) { |
406 o.features = buildUnnamed340(); | 406 o.features = buildUnnamed98(); |
407 o.normalizeGeometries = true; | 407 o.normalizeGeometries = true; |
408 } | 408 } |
409 buildCounterFeaturesBatchPatchRequest--; | 409 buildCounterFeaturesBatchPatchRequest--; |
410 return o; | 410 return o; |
411 } | 411 } |
412 | 412 |
413 checkFeaturesBatchPatchRequest(api.FeaturesBatchPatchRequest o) { | 413 checkFeaturesBatchPatchRequest(api.FeaturesBatchPatchRequest o) { |
414 buildCounterFeaturesBatchPatchRequest++; | 414 buildCounterFeaturesBatchPatchRequest++; |
415 if (buildCounterFeaturesBatchPatchRequest < 3) { | 415 if (buildCounterFeaturesBatchPatchRequest < 3) { |
416 checkUnnamed340(o.features); | 416 checkUnnamed98(o.features); |
417 unittest.expect(o.normalizeGeometries, unittest.isTrue); | 417 unittest.expect(o.normalizeGeometries, unittest.isTrue); |
418 } | 418 } |
419 buildCounterFeaturesBatchPatchRequest--; | 419 buildCounterFeaturesBatchPatchRequest--; |
420 } | 420 } |
421 | 421 |
422 buildUnnamed341() { | 422 buildUnnamed99() { |
423 var o = new core.List<api.Feature>(); | 423 var o = new core.List<api.Feature>(); |
424 o.add(buildFeature()); | 424 o.add(buildFeature()); |
425 o.add(buildFeature()); | 425 o.add(buildFeature()); |
426 return o; | 426 return o; |
427 } | 427 } |
428 | 428 |
429 checkUnnamed341(core.List<api.Feature> o) { | 429 checkUnnamed99(core.List<api.Feature> o) { |
430 unittest.expect(o, unittest.hasLength(2)); | 430 unittest.expect(o, unittest.hasLength(2)); |
431 checkFeature(o[0]); | 431 checkFeature(o[0]); |
432 checkFeature(o[1]); | 432 checkFeature(o[1]); |
433 } | 433 } |
434 | 434 |
435 core.int buildCounterFeaturesListResponse = 0; | 435 core.int buildCounterFeaturesListResponse = 0; |
436 buildFeaturesListResponse() { | 436 buildFeaturesListResponse() { |
437 var o = new api.FeaturesListResponse(); | 437 var o = new api.FeaturesListResponse(); |
438 buildCounterFeaturesListResponse++; | 438 buildCounterFeaturesListResponse++; |
439 if (buildCounterFeaturesListResponse < 3) { | 439 if (buildCounterFeaturesListResponse < 3) { |
440 o.allowedQueriesPerSecond = 42.0; | 440 o.allowedQueriesPerSecond = 42.0; |
441 o.features = buildUnnamed341(); | 441 o.features = buildUnnamed99(); |
442 o.nextPageToken = "foo"; | 442 o.nextPageToken = "foo"; |
443 o.schema = buildSchema(); | 443 o.schema = buildSchema(); |
444 o.type = "foo"; | 444 o.type = "foo"; |
445 } | 445 } |
446 buildCounterFeaturesListResponse--; | 446 buildCounterFeaturesListResponse--; |
447 return o; | 447 return o; |
448 } | 448 } |
449 | 449 |
450 checkFeaturesListResponse(api.FeaturesListResponse o) { | 450 checkFeaturesListResponse(api.FeaturesListResponse o) { |
451 buildCounterFeaturesListResponse++; | 451 buildCounterFeaturesListResponse++; |
452 if (buildCounterFeaturesListResponse < 3) { | 452 if (buildCounterFeaturesListResponse < 3) { |
453 unittest.expect(o.allowedQueriesPerSecond, unittest.equals(42.0)); | 453 unittest.expect(o.allowedQueriesPerSecond, unittest.equals(42.0)); |
454 checkUnnamed341(o.features); | 454 checkUnnamed99(o.features); |
455 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 455 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
456 checkSchema(o.schema); | 456 checkSchema(o.schema); |
457 unittest.expect(o.type, unittest.equals('foo')); | 457 unittest.expect(o.type, unittest.equals('foo')); |
458 } | 458 } |
459 buildCounterFeaturesListResponse--; | 459 buildCounterFeaturesListResponse--; |
460 } | 460 } |
461 | 461 |
462 core.int buildCounterFile = 0; | 462 core.int buildCounterFile = 0; |
463 buildFile() { | 463 buildFile() { |
464 var o = new api.File(); | 464 var o = new api.File(); |
(...skipping 41 matching lines...) Loading... |
506 } | 506 } |
507 | 507 |
508 buildGeoJsonGeometry() { | 508 buildGeoJsonGeometry() { |
509 return buildGeoJsonGeometryCollection(); | 509 return buildGeoJsonGeometryCollection(); |
510 } | 510 } |
511 | 511 |
512 checkGeoJsonGeometry(api.GeoJsonGeometry o) { | 512 checkGeoJsonGeometry(api.GeoJsonGeometry o) { |
513 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { | 513 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { |
514 buildCounterGeoJsonGeometryCollection++; | 514 buildCounterGeoJsonGeometryCollection++; |
515 if (buildCounterGeoJsonGeometryCollection < 3) { | 515 if (buildCounterGeoJsonGeometryCollection < 3) { |
516 checkUnnamed342(o.geometries); | 516 checkUnnamed100(o.geometries); |
517 } | 517 } |
518 buildCounterGeoJsonGeometryCollection--; | 518 buildCounterGeoJsonGeometryCollection--; |
519 } | 519 } |
520 | 520 |
521 (o); | 521 (o); |
522 } | 522 } |
523 | 523 |
524 buildUnnamed342() { | 524 buildUnnamed100() { |
525 var o = new core.List<api.GeoJsonGeometry>(); | 525 var o = new core.List<api.GeoJsonGeometry>(); |
526 o.add(buildGeoJsonGeometry()); | 526 o.add(buildGeoJsonGeometry()); |
527 o.add(buildGeoJsonGeometry()); | 527 o.add(buildGeoJsonGeometry()); |
528 return o; | 528 return o; |
529 } | 529 } |
530 | 530 |
531 checkUnnamed342(core.List<api.GeoJsonGeometry> o) { | 531 checkUnnamed100(core.List<api.GeoJsonGeometry> o) { |
532 unittest.expect(o, unittest.hasLength(2)); | 532 unittest.expect(o, unittest.hasLength(2)); |
533 checkGeoJsonGeometry(o[0]); | 533 checkGeoJsonGeometry(o[0]); |
534 checkGeoJsonGeometry(o[1]); | 534 checkGeoJsonGeometry(o[1]); |
535 } | 535 } |
536 | 536 |
537 core.int buildCounterGeoJsonGeometryCollection = 0; | 537 core.int buildCounterGeoJsonGeometryCollection = 0; |
538 buildGeoJsonGeometryCollection() { | 538 buildGeoJsonGeometryCollection() { |
539 var o = new api.GeoJsonGeometryCollection(); | 539 var o = new api.GeoJsonGeometryCollection(); |
540 buildCounterGeoJsonGeometryCollection++; | 540 buildCounterGeoJsonGeometryCollection++; |
541 if (buildCounterGeoJsonGeometryCollection < 3) { | 541 if (buildCounterGeoJsonGeometryCollection < 3) { |
542 o.geometries = buildUnnamed342(); | 542 o.geometries = buildUnnamed100(); |
543 } | 543 } |
544 buildCounterGeoJsonGeometryCollection--; | 544 buildCounterGeoJsonGeometryCollection--; |
545 return o; | 545 return o; |
546 } | 546 } |
547 | 547 |
548 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { | 548 checkGeoJsonGeometryCollection(api.GeoJsonGeometryCollection o) { |
549 buildCounterGeoJsonGeometryCollection++; | 549 buildCounterGeoJsonGeometryCollection++; |
550 if (buildCounterGeoJsonGeometryCollection < 3) { | 550 if (buildCounterGeoJsonGeometryCollection < 3) { |
551 checkUnnamed342(o.geometries); | 551 checkUnnamed100(o.geometries); |
552 } | 552 } |
553 buildCounterGeoJsonGeometryCollection--; | 553 buildCounterGeoJsonGeometryCollection--; |
554 } | 554 } |
555 | 555 |
556 buildUnnamed343() { | 556 buildUnnamed101() { |
557 var o = new core.List<api.GeoJsonPosition>(); | 557 var o = new core.List<api.GeoJsonPosition>(); |
558 o.add(buildGeoJsonPosition()); | 558 o.add(buildGeoJsonPosition()); |
559 o.add(buildGeoJsonPosition()); | 559 o.add(buildGeoJsonPosition()); |
560 return o; | 560 return o; |
561 } | 561 } |
562 | 562 |
563 checkUnnamed343(core.List<api.GeoJsonPosition> o) { | 563 checkUnnamed101(core.List<api.GeoJsonPosition> o) { |
564 unittest.expect(o, unittest.hasLength(2)); | 564 unittest.expect(o, unittest.hasLength(2)); |
565 checkGeoJsonPosition(o[0]); | 565 checkGeoJsonPosition(o[0]); |
566 checkGeoJsonPosition(o[1]); | 566 checkGeoJsonPosition(o[1]); |
567 } | 567 } |
568 | 568 |
569 core.int buildCounterGeoJsonLineString = 0; | 569 core.int buildCounterGeoJsonLineString = 0; |
570 buildGeoJsonLineString() { | 570 buildGeoJsonLineString() { |
571 var o = new api.GeoJsonLineString(); | 571 var o = new api.GeoJsonLineString(); |
572 buildCounterGeoJsonLineString++; | 572 buildCounterGeoJsonLineString++; |
573 if (buildCounterGeoJsonLineString < 3) { | 573 if (buildCounterGeoJsonLineString < 3) { |
574 o.coordinates = buildUnnamed343(); | 574 o.coordinates = buildUnnamed101(); |
575 } | 575 } |
576 buildCounterGeoJsonLineString--; | 576 buildCounterGeoJsonLineString--; |
577 return o; | 577 return o; |
578 } | 578 } |
579 | 579 |
580 checkGeoJsonLineString(api.GeoJsonLineString o) { | 580 checkGeoJsonLineString(api.GeoJsonLineString o) { |
581 buildCounterGeoJsonLineString++; | 581 buildCounterGeoJsonLineString++; |
582 if (buildCounterGeoJsonLineString < 3) { | 582 if (buildCounterGeoJsonLineString < 3) { |
583 checkUnnamed343(o.coordinates); | 583 checkUnnamed101(o.coordinates); |
584 } | 584 } |
585 buildCounterGeoJsonLineString--; | 585 buildCounterGeoJsonLineString--; |
586 } | 586 } |
587 | 587 |
588 buildUnnamed344() { | 588 buildUnnamed102() { |
589 var o = new core.List<api.GeoJsonPosition>(); | 589 var o = new core.List<api.GeoJsonPosition>(); |
590 o.add(buildGeoJsonPosition()); | 590 o.add(buildGeoJsonPosition()); |
591 o.add(buildGeoJsonPosition()); | 591 o.add(buildGeoJsonPosition()); |
592 return o; | 592 return o; |
593 } | 593 } |
594 | 594 |
595 checkUnnamed344(core.List<api.GeoJsonPosition> o) { | 595 checkUnnamed102(core.List<api.GeoJsonPosition> o) { |
596 unittest.expect(o, unittest.hasLength(2)); | 596 unittest.expect(o, unittest.hasLength(2)); |
597 checkGeoJsonPosition(o[0]); | 597 checkGeoJsonPosition(o[0]); |
598 checkGeoJsonPosition(o[1]); | 598 checkGeoJsonPosition(o[1]); |
599 } | 599 } |
600 | 600 |
601 buildUnnamed345() { | 601 buildUnnamed103() { |
602 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 602 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
603 o.add(buildUnnamed344()); | 603 o.add(buildUnnamed102()); |
604 o.add(buildUnnamed344()); | 604 o.add(buildUnnamed102()); |
605 return o; | 605 return o; |
606 } | 606 } |
607 | 607 |
608 checkUnnamed345(core.List<core.List<api.GeoJsonPosition>> o) { | 608 checkUnnamed103(core.List<core.List<api.GeoJsonPosition>> o) { |
609 unittest.expect(o, unittest.hasLength(2)); | 609 unittest.expect(o, unittest.hasLength(2)); |
610 checkUnnamed344(o[0]); | 610 checkUnnamed102(o[0]); |
611 checkUnnamed344(o[1]); | 611 checkUnnamed102(o[1]); |
612 } | 612 } |
613 | 613 |
614 core.int buildCounterGeoJsonMultiLineString = 0; | 614 core.int buildCounterGeoJsonMultiLineString = 0; |
615 buildGeoJsonMultiLineString() { | 615 buildGeoJsonMultiLineString() { |
616 var o = new api.GeoJsonMultiLineString(); | 616 var o = new api.GeoJsonMultiLineString(); |
617 buildCounterGeoJsonMultiLineString++; | 617 buildCounterGeoJsonMultiLineString++; |
618 if (buildCounterGeoJsonMultiLineString < 3) { | 618 if (buildCounterGeoJsonMultiLineString < 3) { |
619 o.coordinates = buildUnnamed345(); | 619 o.coordinates = buildUnnamed103(); |
620 } | 620 } |
621 buildCounterGeoJsonMultiLineString--; | 621 buildCounterGeoJsonMultiLineString--; |
622 return o; | 622 return o; |
623 } | 623 } |
624 | 624 |
625 checkGeoJsonMultiLineString(api.GeoJsonMultiLineString o) { | 625 checkGeoJsonMultiLineString(api.GeoJsonMultiLineString o) { |
626 buildCounterGeoJsonMultiLineString++; | 626 buildCounterGeoJsonMultiLineString++; |
627 if (buildCounterGeoJsonMultiLineString < 3) { | 627 if (buildCounterGeoJsonMultiLineString < 3) { |
628 checkUnnamed345(o.coordinates); | 628 checkUnnamed103(o.coordinates); |
629 } | 629 } |
630 buildCounterGeoJsonMultiLineString--; | 630 buildCounterGeoJsonMultiLineString--; |
631 } | 631 } |
632 | 632 |
633 buildUnnamed346() { | 633 buildUnnamed104() { |
634 var o = new core.List<api.GeoJsonPosition>(); | 634 var o = new core.List<api.GeoJsonPosition>(); |
635 o.add(buildGeoJsonPosition()); | 635 o.add(buildGeoJsonPosition()); |
636 o.add(buildGeoJsonPosition()); | 636 o.add(buildGeoJsonPosition()); |
637 return o; | 637 return o; |
638 } | 638 } |
639 | 639 |
640 checkUnnamed346(core.List<api.GeoJsonPosition> o) { | 640 checkUnnamed104(core.List<api.GeoJsonPosition> o) { |
641 unittest.expect(o, unittest.hasLength(2)); | 641 unittest.expect(o, unittest.hasLength(2)); |
642 checkGeoJsonPosition(o[0]); | 642 checkGeoJsonPosition(o[0]); |
643 checkGeoJsonPosition(o[1]); | 643 checkGeoJsonPosition(o[1]); |
644 } | 644 } |
645 | 645 |
646 core.int buildCounterGeoJsonMultiPoint = 0; | 646 core.int buildCounterGeoJsonMultiPoint = 0; |
647 buildGeoJsonMultiPoint() { | 647 buildGeoJsonMultiPoint() { |
648 var o = new api.GeoJsonMultiPoint(); | 648 var o = new api.GeoJsonMultiPoint(); |
649 buildCounterGeoJsonMultiPoint++; | 649 buildCounterGeoJsonMultiPoint++; |
650 if (buildCounterGeoJsonMultiPoint < 3) { | 650 if (buildCounterGeoJsonMultiPoint < 3) { |
651 o.coordinates = buildUnnamed346(); | 651 o.coordinates = buildUnnamed104(); |
652 } | 652 } |
653 buildCounterGeoJsonMultiPoint--; | 653 buildCounterGeoJsonMultiPoint--; |
654 return o; | 654 return o; |
655 } | 655 } |
656 | 656 |
657 checkGeoJsonMultiPoint(api.GeoJsonMultiPoint o) { | 657 checkGeoJsonMultiPoint(api.GeoJsonMultiPoint o) { |
658 buildCounterGeoJsonMultiPoint++; | 658 buildCounterGeoJsonMultiPoint++; |
659 if (buildCounterGeoJsonMultiPoint < 3) { | 659 if (buildCounterGeoJsonMultiPoint < 3) { |
660 checkUnnamed346(o.coordinates); | 660 checkUnnamed104(o.coordinates); |
661 } | 661 } |
662 buildCounterGeoJsonMultiPoint--; | 662 buildCounterGeoJsonMultiPoint--; |
663 } | 663 } |
664 | 664 |
665 buildUnnamed347() { | 665 buildUnnamed105() { |
666 var o = new core.List<api.GeoJsonPosition>(); | 666 var o = new core.List<api.GeoJsonPosition>(); |
667 o.add(buildGeoJsonPosition()); | 667 o.add(buildGeoJsonPosition()); |
668 o.add(buildGeoJsonPosition()); | 668 o.add(buildGeoJsonPosition()); |
669 return o; | 669 return o; |
670 } | 670 } |
671 | 671 |
672 checkUnnamed347(core.List<api.GeoJsonPosition> o) { | 672 checkUnnamed105(core.List<api.GeoJsonPosition> o) { |
673 unittest.expect(o, unittest.hasLength(2)); | 673 unittest.expect(o, unittest.hasLength(2)); |
674 checkGeoJsonPosition(o[0]); | 674 checkGeoJsonPosition(o[0]); |
675 checkGeoJsonPosition(o[1]); | 675 checkGeoJsonPosition(o[1]); |
676 } | 676 } |
677 | 677 |
678 buildUnnamed348() { | 678 buildUnnamed106() { |
679 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 679 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
680 o.add(buildUnnamed347()); | 680 o.add(buildUnnamed105()); |
681 o.add(buildUnnamed347()); | 681 o.add(buildUnnamed105()); |
682 return o; | 682 return o; |
683 } | 683 } |
684 | 684 |
685 checkUnnamed348(core.List<core.List<api.GeoJsonPosition>> o) { | 685 checkUnnamed106(core.List<core.List<api.GeoJsonPosition>> o) { |
686 unittest.expect(o, unittest.hasLength(2)); | 686 unittest.expect(o, unittest.hasLength(2)); |
687 checkUnnamed347(o[0]); | 687 checkUnnamed105(o[0]); |
688 checkUnnamed347(o[1]); | 688 checkUnnamed105(o[1]); |
689 } | 689 } |
690 | 690 |
691 buildUnnamed349() { | 691 buildUnnamed107() { |
692 var o = new core.List<core.List<core.List<api.GeoJsonPosition>>>(); | 692 var o = new core.List<core.List<core.List<api.GeoJsonPosition>>>(); |
693 o.add(buildUnnamed348()); | 693 o.add(buildUnnamed106()); |
694 o.add(buildUnnamed348()); | 694 o.add(buildUnnamed106()); |
695 return o; | 695 return o; |
696 } | 696 } |
697 | 697 |
698 checkUnnamed349(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { | 698 checkUnnamed107(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { |
699 unittest.expect(o, unittest.hasLength(2)); | 699 unittest.expect(o, unittest.hasLength(2)); |
700 checkUnnamed348(o[0]); | 700 checkUnnamed106(o[0]); |
701 checkUnnamed348(o[1]); | 701 checkUnnamed106(o[1]); |
702 } | 702 } |
703 | 703 |
704 core.int buildCounterGeoJsonMultiPolygon = 0; | 704 core.int buildCounterGeoJsonMultiPolygon = 0; |
705 buildGeoJsonMultiPolygon() { | 705 buildGeoJsonMultiPolygon() { |
706 var o = new api.GeoJsonMultiPolygon(); | 706 var o = new api.GeoJsonMultiPolygon(); |
707 buildCounterGeoJsonMultiPolygon++; | 707 buildCounterGeoJsonMultiPolygon++; |
708 if (buildCounterGeoJsonMultiPolygon < 3) { | 708 if (buildCounterGeoJsonMultiPolygon < 3) { |
709 o.coordinates = buildUnnamed349(); | 709 o.coordinates = buildUnnamed107(); |
710 } | 710 } |
711 buildCounterGeoJsonMultiPolygon--; | 711 buildCounterGeoJsonMultiPolygon--; |
712 return o; | 712 return o; |
713 } | 713 } |
714 | 714 |
715 checkGeoJsonMultiPolygon(api.GeoJsonMultiPolygon o) { | 715 checkGeoJsonMultiPolygon(api.GeoJsonMultiPolygon o) { |
716 buildCounterGeoJsonMultiPolygon++; | 716 buildCounterGeoJsonMultiPolygon++; |
717 if (buildCounterGeoJsonMultiPolygon < 3) { | 717 if (buildCounterGeoJsonMultiPolygon < 3) { |
718 checkUnnamed349(o.coordinates); | 718 checkUnnamed107(o.coordinates); |
719 } | 719 } |
720 buildCounterGeoJsonMultiPolygon--; | 720 buildCounterGeoJsonMultiPolygon--; |
721 } | 721 } |
722 | 722 |
723 core.int buildCounterGeoJsonPoint = 0; | 723 core.int buildCounterGeoJsonPoint = 0; |
724 buildGeoJsonPoint() { | 724 buildGeoJsonPoint() { |
725 var o = new api.GeoJsonPoint(); | 725 var o = new api.GeoJsonPoint(); |
726 buildCounterGeoJsonPoint++; | 726 buildCounterGeoJsonPoint++; |
727 if (buildCounterGeoJsonPoint < 3) { | 727 if (buildCounterGeoJsonPoint < 3) { |
728 o.coordinates = buildGeoJsonPosition(); | 728 o.coordinates = buildGeoJsonPosition(); |
729 } | 729 } |
730 buildCounterGeoJsonPoint--; | 730 buildCounterGeoJsonPoint--; |
731 return o; | 731 return o; |
732 } | 732 } |
733 | 733 |
734 checkGeoJsonPoint(api.GeoJsonPoint o) { | 734 checkGeoJsonPoint(api.GeoJsonPoint o) { |
735 buildCounterGeoJsonPoint++; | 735 buildCounterGeoJsonPoint++; |
736 if (buildCounterGeoJsonPoint < 3) { | 736 if (buildCounterGeoJsonPoint < 3) { |
737 checkGeoJsonPosition(o.coordinates); | 737 checkGeoJsonPosition(o.coordinates); |
738 } | 738 } |
739 buildCounterGeoJsonPoint--; | 739 buildCounterGeoJsonPoint--; |
740 } | 740 } |
741 | 741 |
742 buildUnnamed350() { | 742 buildUnnamed108() { |
743 var o = new core.List<api.GeoJsonPosition>(); | 743 var o = new core.List<api.GeoJsonPosition>(); |
744 o.add(buildGeoJsonPosition()); | 744 o.add(buildGeoJsonPosition()); |
745 o.add(buildGeoJsonPosition()); | 745 o.add(buildGeoJsonPosition()); |
746 return o; | 746 return o; |
747 } | 747 } |
748 | 748 |
749 checkUnnamed350(core.List<api.GeoJsonPosition> o) { | 749 checkUnnamed108(core.List<api.GeoJsonPosition> o) { |
750 unittest.expect(o, unittest.hasLength(2)); | 750 unittest.expect(o, unittest.hasLength(2)); |
751 checkGeoJsonPosition(o[0]); | 751 checkGeoJsonPosition(o[0]); |
752 checkGeoJsonPosition(o[1]); | 752 checkGeoJsonPosition(o[1]); |
753 } | 753 } |
754 | 754 |
755 buildUnnamed351() { | 755 buildUnnamed109() { |
756 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 756 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
757 o.add(buildUnnamed350()); | 757 o.add(buildUnnamed108()); |
758 o.add(buildUnnamed350()); | 758 o.add(buildUnnamed108()); |
759 return o; | 759 return o; |
760 } | 760 } |
761 | 761 |
762 checkUnnamed351(core.List<core.List<api.GeoJsonPosition>> o) { | 762 checkUnnamed109(core.List<core.List<api.GeoJsonPosition>> o) { |
763 unittest.expect(o, unittest.hasLength(2)); | 763 unittest.expect(o, unittest.hasLength(2)); |
764 checkUnnamed350(o[0]); | 764 checkUnnamed108(o[0]); |
765 checkUnnamed350(o[1]); | 765 checkUnnamed108(o[1]); |
766 } | 766 } |
767 | 767 |
768 core.int buildCounterGeoJsonPolygon = 0; | 768 core.int buildCounterGeoJsonPolygon = 0; |
769 buildGeoJsonPolygon() { | 769 buildGeoJsonPolygon() { |
770 var o = new api.GeoJsonPolygon(); | 770 var o = new api.GeoJsonPolygon(); |
771 buildCounterGeoJsonPolygon++; | 771 buildCounterGeoJsonPolygon++; |
772 if (buildCounterGeoJsonPolygon < 3) { | 772 if (buildCounterGeoJsonPolygon < 3) { |
773 o.coordinates = buildUnnamed351(); | 773 o.coordinates = buildUnnamed109(); |
774 } | 774 } |
775 buildCounterGeoJsonPolygon--; | 775 buildCounterGeoJsonPolygon--; |
776 return o; | 776 return o; |
777 } | 777 } |
778 | 778 |
779 checkGeoJsonPolygon(api.GeoJsonPolygon o) { | 779 checkGeoJsonPolygon(api.GeoJsonPolygon o) { |
780 buildCounterGeoJsonPolygon++; | 780 buildCounterGeoJsonPolygon++; |
781 if (buildCounterGeoJsonPolygon < 3) { | 781 if (buildCounterGeoJsonPolygon < 3) { |
782 checkUnnamed351(o.coordinates); | 782 checkUnnamed109(o.coordinates); |
783 } | 783 } |
784 buildCounterGeoJsonPolygon--; | 784 buildCounterGeoJsonPolygon--; |
785 } | 785 } |
786 | 786 |
787 buildGeoJsonPosition() { | 787 buildGeoJsonPosition() { |
788 var o = new api.GeoJsonPosition(); | 788 var o = new api.GeoJsonPosition(); |
789 o.add(42.0); | 789 o.add(42.0); |
790 o.add(42.0); | 790 o.add(42.0); |
791 return o; | 791 return o; |
792 } | 792 } |
(...skipping 58 matching lines...) Loading... |
851 buildCounterIconStyle++; | 851 buildCounterIconStyle++; |
852 if (buildCounterIconStyle < 3) { | 852 if (buildCounterIconStyle < 3) { |
853 unittest.expect(o.id, unittest.equals('foo')); | 853 unittest.expect(o.id, unittest.equals('foo')); |
854 unittest.expect(o.name, unittest.equals('foo')); | 854 unittest.expect(o.name, unittest.equals('foo')); |
855 checkScaledShape(o.scaledShape); | 855 checkScaledShape(o.scaledShape); |
856 checkScalingFunction(o.scalingFunction); | 856 checkScalingFunction(o.scalingFunction); |
857 } | 857 } |
858 buildCounterIconStyle--; | 858 buildCounterIconStyle--; |
859 } | 859 } |
860 | 860 |
861 buildUnnamed352() { | 861 buildUnnamed110() { |
862 var o = new core.List<api.Icon>(); | 862 var o = new core.List<api.Icon>(); |
863 o.add(buildIcon()); | 863 o.add(buildIcon()); |
864 o.add(buildIcon()); | 864 o.add(buildIcon()); |
865 return o; | 865 return o; |
866 } | 866 } |
867 | 867 |
868 checkUnnamed352(core.List<api.Icon> o) { | 868 checkUnnamed110(core.List<api.Icon> o) { |
869 unittest.expect(o, unittest.hasLength(2)); | 869 unittest.expect(o, unittest.hasLength(2)); |
870 checkIcon(o[0]); | 870 checkIcon(o[0]); |
871 checkIcon(o[1]); | 871 checkIcon(o[1]); |
872 } | 872 } |
873 | 873 |
874 core.int buildCounterIconsListResponse = 0; | 874 core.int buildCounterIconsListResponse = 0; |
875 buildIconsListResponse() { | 875 buildIconsListResponse() { |
876 var o = new api.IconsListResponse(); | 876 var o = new api.IconsListResponse(); |
877 buildCounterIconsListResponse++; | 877 buildCounterIconsListResponse++; |
878 if (buildCounterIconsListResponse < 3) { | 878 if (buildCounterIconsListResponse < 3) { |
879 o.icons = buildUnnamed352(); | 879 o.icons = buildUnnamed110(); |
880 o.nextPageToken = "foo"; | 880 o.nextPageToken = "foo"; |
881 } | 881 } |
882 buildCounterIconsListResponse--; | 882 buildCounterIconsListResponse--; |
883 return o; | 883 return o; |
884 } | 884 } |
885 | 885 |
886 checkIconsListResponse(api.IconsListResponse o) { | 886 checkIconsListResponse(api.IconsListResponse o) { |
887 buildCounterIconsListResponse++; | 887 buildCounterIconsListResponse++; |
888 if (buildCounterIconsListResponse < 3) { | 888 if (buildCounterIconsListResponse < 3) { |
889 checkUnnamed352(o.icons); | 889 checkUnnamed110(o.icons); |
890 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 890 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
891 } | 891 } |
892 buildCounterIconsListResponse--; | 892 buildCounterIconsListResponse--; |
893 } | 893 } |
894 | 894 |
895 core.int buildCounterLabelStyle = 0; | 895 core.int buildCounterLabelStyle = 0; |
896 buildLabelStyle() { | 896 buildLabelStyle() { |
897 var o = new api.LabelStyle(); | 897 var o = new api.LabelStyle(); |
898 buildCounterLabelStyle++; | 898 buildCounterLabelStyle++; |
899 if (buildCounterLabelStyle < 3) { | 899 if (buildCounterLabelStyle < 3) { |
(...skipping 29 matching lines...) Loading... |
929 o.add(42.0); | 929 o.add(42.0); |
930 return o; | 930 return o; |
931 } | 931 } |
932 | 932 |
933 checkLatLngBox(api.LatLngBox o) { | 933 checkLatLngBox(api.LatLngBox o) { |
934 unittest.expect(o, unittest.hasLength(2)); | 934 unittest.expect(o, unittest.hasLength(2)); |
935 unittest.expect(o[0], unittest.equals(42.0)); | 935 unittest.expect(o[0], unittest.equals(42.0)); |
936 unittest.expect(o[1], unittest.equals(42.0)); | 936 unittest.expect(o[1], unittest.equals(42.0)); |
937 } | 937 } |
938 | 938 |
939 buildUnnamed353() { | 939 buildUnnamed111() { |
940 var o = new core.List<core.double>(); | 940 var o = new core.List<core.double>(); |
941 o.add(42.0); | 941 o.add(42.0); |
942 o.add(42.0); | 942 o.add(42.0); |
943 return o; | 943 return o; |
944 } | 944 } |
945 | 945 |
946 checkUnnamed353(core.List<core.double> o) { | 946 checkUnnamed111(core.List<core.double> o) { |
947 unittest.expect(o, unittest.hasLength(2)); | 947 unittest.expect(o, unittest.hasLength(2)); |
948 unittest.expect(o[0], unittest.equals(42.0)); | 948 unittest.expect(o[0], unittest.equals(42.0)); |
949 unittest.expect(o[1], unittest.equals(42.0)); | 949 unittest.expect(o[1], unittest.equals(42.0)); |
950 } | 950 } |
951 | 951 |
952 core.int buildCounterLayer = 0; | 952 core.int buildCounterLayer = 0; |
953 buildLayer() { | 953 buildLayer() { |
954 var o = new api.Layer(); | 954 var o = new api.Layer(); |
955 buildCounterLayer++; | 955 buildCounterLayer++; |
956 if (buildCounterLayer < 3) { | 956 if (buildCounterLayer < 3) { |
957 o.bbox = buildUnnamed353(); | 957 o.bbox = buildUnnamed111(); |
958 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 958 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
959 o.creatorEmail = "foo"; | 959 o.creatorEmail = "foo"; |
960 o.datasourceType = "foo"; | 960 o.datasourceType = "foo"; |
961 o.datasources = buildDatasources(); | 961 o.datasources = buildDatasources(); |
962 o.description = "foo"; | 962 o.description = "foo"; |
963 o.draftAccessList = "foo"; | 963 o.draftAccessList = "foo"; |
964 o.etag = "foo"; | 964 o.etag = "foo"; |
965 o.id = "foo"; | 965 o.id = "foo"; |
966 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 966 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
967 o.lastModifierEmail = "foo"; | 967 o.lastModifierEmail = "foo"; |
968 o.layerType = "foo"; | 968 o.layerType = "foo"; |
969 o.name = "foo"; | 969 o.name = "foo"; |
970 o.processingStatus = "foo"; | 970 o.processingStatus = "foo"; |
971 o.projectId = "foo"; | 971 o.projectId = "foo"; |
972 o.publishedAccessList = "foo"; | 972 o.publishedAccessList = "foo"; |
973 o.publishingStatus = "foo"; | 973 o.publishingStatus = "foo"; |
974 o.style = buildVectorStyle(); | 974 o.style = buildVectorStyle(); |
975 o.tags = buildTags(); | 975 o.tags = buildTags(); |
976 o.writersCanEditPermissions = true; | 976 o.writersCanEditPermissions = true; |
977 } | 977 } |
978 buildCounterLayer--; | 978 buildCounterLayer--; |
979 return o; | 979 return o; |
980 } | 980 } |
981 | 981 |
982 checkLayer(api.Layer o) { | 982 checkLayer(api.Layer o) { |
983 buildCounterLayer++; | 983 buildCounterLayer++; |
984 if (buildCounterLayer < 3) { | 984 if (buildCounterLayer < 3) { |
985 checkUnnamed353(o.bbox); | 985 checkUnnamed111(o.bbox); |
986 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 986 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
987 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 987 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
988 unittest.expect(o.datasourceType, unittest.equals('foo')); | 988 unittest.expect(o.datasourceType, unittest.equals('foo')); |
989 checkDatasources(o.datasources); | 989 checkDatasources(o.datasources); |
990 unittest.expect(o.description, unittest.equals('foo')); | 990 unittest.expect(o.description, unittest.equals('foo')); |
991 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 991 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
992 unittest.expect(o.etag, unittest.equals('foo')); | 992 unittest.expect(o.etag, unittest.equals('foo')); |
993 unittest.expect(o.id, unittest.equals('foo')); | 993 unittest.expect(o.id, unittest.equals('foo')); |
994 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 994 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
995 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 995 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
996 unittest.expect(o.layerType, unittest.equals('foo')); | 996 unittest.expect(o.layerType, unittest.equals('foo')); |
997 unittest.expect(o.name, unittest.equals('foo')); | 997 unittest.expect(o.name, unittest.equals('foo')); |
998 unittest.expect(o.processingStatus, unittest.equals('foo')); | 998 unittest.expect(o.processingStatus, unittest.equals('foo')); |
999 unittest.expect(o.projectId, unittest.equals('foo')); | 999 unittest.expect(o.projectId, unittest.equals('foo')); |
1000 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 1000 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
1001 unittest.expect(o.publishingStatus, unittest.equals('foo')); | 1001 unittest.expect(o.publishingStatus, unittest.equals('foo')); |
1002 checkVectorStyle(o.style); | 1002 checkVectorStyle(o.style); |
1003 checkTags(o.tags); | 1003 checkTags(o.tags); |
1004 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1004 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1005 } | 1005 } |
1006 buildCounterLayer--; | 1006 buildCounterLayer--; |
1007 } | 1007 } |
1008 | 1008 |
1009 buildUnnamed354() { | 1009 buildUnnamed112() { |
1010 var o = new core.List<api.Layer>(); | 1010 var o = new core.List<api.Layer>(); |
1011 o.add(buildLayer()); | 1011 o.add(buildLayer()); |
1012 o.add(buildLayer()); | 1012 o.add(buildLayer()); |
1013 return o; | 1013 return o; |
1014 } | 1014 } |
1015 | 1015 |
1016 checkUnnamed354(core.List<api.Layer> o) { | 1016 checkUnnamed112(core.List<api.Layer> o) { |
1017 unittest.expect(o, unittest.hasLength(2)); | 1017 unittest.expect(o, unittest.hasLength(2)); |
1018 checkLayer(o[0]); | 1018 checkLayer(o[0]); |
1019 checkLayer(o[1]); | 1019 checkLayer(o[1]); |
1020 } | 1020 } |
1021 | 1021 |
1022 core.int buildCounterLayersListResponse = 0; | 1022 core.int buildCounterLayersListResponse = 0; |
1023 buildLayersListResponse() { | 1023 buildLayersListResponse() { |
1024 var o = new api.LayersListResponse(); | 1024 var o = new api.LayersListResponse(); |
1025 buildCounterLayersListResponse++; | 1025 buildCounterLayersListResponse++; |
1026 if (buildCounterLayersListResponse < 3) { | 1026 if (buildCounterLayersListResponse < 3) { |
1027 o.layers = buildUnnamed354(); | 1027 o.layers = buildUnnamed112(); |
1028 o.nextPageToken = "foo"; | 1028 o.nextPageToken = "foo"; |
1029 } | 1029 } |
1030 buildCounterLayersListResponse--; | 1030 buildCounterLayersListResponse--; |
1031 return o; | 1031 return o; |
1032 } | 1032 } |
1033 | 1033 |
1034 checkLayersListResponse(api.LayersListResponse o) { | 1034 checkLayersListResponse(api.LayersListResponse o) { |
1035 buildCounterLayersListResponse++; | 1035 buildCounterLayersListResponse++; |
1036 if (buildCounterLayersListResponse < 3) { | 1036 if (buildCounterLayersListResponse < 3) { |
1037 checkUnnamed354(o.layers); | 1037 checkUnnamed112(o.layers); |
1038 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1038 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1039 } | 1039 } |
1040 buildCounterLayersListResponse--; | 1040 buildCounterLayersListResponse--; |
1041 } | 1041 } |
1042 | 1042 |
1043 buildUnnamed355() { | 1043 buildUnnamed113() { |
1044 var o = new core.List<core.double>(); | 1044 var o = new core.List<core.double>(); |
1045 o.add(42.0); | 1045 o.add(42.0); |
1046 o.add(42.0); | 1046 o.add(42.0); |
1047 return o; | 1047 return o; |
1048 } | 1048 } |
1049 | 1049 |
1050 checkUnnamed355(core.List<core.double> o) { | 1050 checkUnnamed113(core.List<core.double> o) { |
1051 unittest.expect(o, unittest.hasLength(2)); | 1051 unittest.expect(o, unittest.hasLength(2)); |
1052 unittest.expect(o[0], unittest.equals(42.0)); | 1052 unittest.expect(o[0], unittest.equals(42.0)); |
1053 unittest.expect(o[1], unittest.equals(42.0)); | 1053 unittest.expect(o[1], unittest.equals(42.0)); |
1054 } | 1054 } |
1055 | 1055 |
1056 core.int buildCounterLineStyleStroke = 0; | 1056 core.int buildCounterLineStyleStroke = 0; |
1057 buildLineStyleStroke() { | 1057 buildLineStyleStroke() { |
1058 var o = new api.LineStyleStroke(); | 1058 var o = new api.LineStyleStroke(); |
1059 buildCounterLineStyleStroke++; | 1059 buildCounterLineStyleStroke++; |
1060 if (buildCounterLineStyleStroke < 3) { | 1060 if (buildCounterLineStyleStroke < 3) { |
(...skipping 14 matching lines...) Loading... |
1075 } | 1075 } |
1076 buildCounterLineStyleStroke--; | 1076 buildCounterLineStyleStroke--; |
1077 } | 1077 } |
1078 | 1078 |
1079 core.int buildCounterLineStyle = 0; | 1079 core.int buildCounterLineStyle = 0; |
1080 buildLineStyle() { | 1080 buildLineStyle() { |
1081 var o = new api.LineStyle(); | 1081 var o = new api.LineStyle(); |
1082 buildCounterLineStyle++; | 1082 buildCounterLineStyle++; |
1083 if (buildCounterLineStyle < 3) { | 1083 if (buildCounterLineStyle < 3) { |
1084 o.border = buildBorder(); | 1084 o.border = buildBorder(); |
1085 o.dash = buildUnnamed355(); | 1085 o.dash = buildUnnamed113(); |
1086 o.label = buildLabelStyle(); | 1086 o.label = buildLabelStyle(); |
1087 o.stroke = buildLineStyleStroke(); | 1087 o.stroke = buildLineStyleStroke(); |
1088 } | 1088 } |
1089 buildCounterLineStyle--; | 1089 buildCounterLineStyle--; |
1090 return o; | 1090 return o; |
1091 } | 1091 } |
1092 | 1092 |
1093 checkLineStyle(api.LineStyle o) { | 1093 checkLineStyle(api.LineStyle o) { |
1094 buildCounterLineStyle++; | 1094 buildCounterLineStyle++; |
1095 if (buildCounterLineStyle < 3) { | 1095 if (buildCounterLineStyle < 3) { |
1096 checkBorder(o.border); | 1096 checkBorder(o.border); |
1097 checkUnnamed355(o.dash); | 1097 checkUnnamed113(o.dash); |
1098 checkLabelStyle(o.label); | 1098 checkLabelStyle(o.label); |
1099 checkLineStyleStroke(o.stroke); | 1099 checkLineStyleStroke(o.stroke); |
1100 } | 1100 } |
1101 buildCounterLineStyle--; | 1101 buildCounterLineStyle--; |
1102 } | 1102 } |
1103 | 1103 |
1104 buildUnnamed356() { | 1104 buildUnnamed114() { |
1105 var o = new core.List<core.double>(); | 1105 var o = new core.List<core.double>(); |
1106 o.add(42.0); | 1106 o.add(42.0); |
1107 o.add(42.0); | 1107 o.add(42.0); |
1108 return o; | 1108 return o; |
1109 } | 1109 } |
1110 | 1110 |
1111 checkUnnamed356(core.List<core.double> o) { | 1111 checkUnnamed114(core.List<core.double> o) { |
1112 unittest.expect(o, unittest.hasLength(2)); | 1112 unittest.expect(o, unittest.hasLength(2)); |
1113 unittest.expect(o[0], unittest.equals(42.0)); | 1113 unittest.expect(o[0], unittest.equals(42.0)); |
1114 unittest.expect(o[1], unittest.equals(42.0)); | 1114 unittest.expect(o[1], unittest.equals(42.0)); |
1115 } | 1115 } |
1116 | 1116 |
1117 buildUnnamed357() { | 1117 buildUnnamed115() { |
1118 var o = new core.List<core.String>(); | 1118 var o = new core.List<core.String>(); |
1119 o.add("foo"); | 1119 o.add("foo"); |
1120 o.add("foo"); | 1120 o.add("foo"); |
1121 return o; | 1121 return o; |
1122 } | 1122 } |
1123 | 1123 |
1124 checkUnnamed357(core.List<core.String> o) { | 1124 checkUnnamed115(core.List<core.String> o) { |
1125 unittest.expect(o, unittest.hasLength(2)); | 1125 unittest.expect(o, unittest.hasLength(2)); |
1126 unittest.expect(o[0], unittest.equals('foo')); | 1126 unittest.expect(o[0], unittest.equals('foo')); |
1127 unittest.expect(o[1], unittest.equals('foo')); | 1127 unittest.expect(o[1], unittest.equals('foo')); |
1128 } | 1128 } |
1129 | 1129 |
1130 core.int buildCounterMap = 0; | 1130 core.int buildCounterMap = 0; |
1131 buildMap() { | 1131 buildMap() { |
1132 var o = new api.Map(); | 1132 var o = new api.Map(); |
1133 buildCounterMap++; | 1133 buildCounterMap++; |
1134 if (buildCounterMap < 3) { | 1134 if (buildCounterMap < 3) { |
1135 o.bbox = buildUnnamed356(); | 1135 o.bbox = buildUnnamed114(); |
1136 o.contents = buildMapContents(); | 1136 o.contents = buildMapContents(); |
1137 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1137 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1138 o.creatorEmail = "foo"; | 1138 o.creatorEmail = "foo"; |
1139 o.defaultViewport = buildLatLngBox(); | 1139 o.defaultViewport = buildLatLngBox(); |
1140 o.description = "foo"; | 1140 o.description = "foo"; |
1141 o.draftAccessList = "foo"; | 1141 o.draftAccessList = "foo"; |
1142 o.etag = "foo"; | 1142 o.etag = "foo"; |
1143 o.id = "foo"; | 1143 o.id = "foo"; |
1144 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1144 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1145 o.lastModifierEmail = "foo"; | 1145 o.lastModifierEmail = "foo"; |
1146 o.name = "foo"; | 1146 o.name = "foo"; |
1147 o.processingStatus = "foo"; | 1147 o.processingStatus = "foo"; |
1148 o.projectId = "foo"; | 1148 o.projectId = "foo"; |
1149 o.publishedAccessList = "foo"; | 1149 o.publishedAccessList = "foo"; |
1150 o.publishingStatus = "foo"; | 1150 o.publishingStatus = "foo"; |
1151 o.tags = buildTags(); | 1151 o.tags = buildTags(); |
1152 o.versions = buildUnnamed357(); | 1152 o.versions = buildUnnamed115(); |
1153 o.writersCanEditPermissions = true; | 1153 o.writersCanEditPermissions = true; |
1154 } | 1154 } |
1155 buildCounterMap--; | 1155 buildCounterMap--; |
1156 return o; | 1156 return o; |
1157 } | 1157 } |
1158 | 1158 |
1159 checkMap(api.Map o) { | 1159 checkMap(api.Map o) { |
1160 buildCounterMap++; | 1160 buildCounterMap++; |
1161 if (buildCounterMap < 3) { | 1161 if (buildCounterMap < 3) { |
1162 checkUnnamed356(o.bbox); | 1162 checkUnnamed114(o.bbox); |
1163 checkMapContents(o.contents); | 1163 checkMapContents(o.contents); |
1164 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1164 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1165 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1165 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1166 checkLatLngBox(o.defaultViewport); | 1166 checkLatLngBox(o.defaultViewport); |
1167 unittest.expect(o.description, unittest.equals('foo')); | 1167 unittest.expect(o.description, unittest.equals('foo')); |
1168 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1168 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1169 unittest.expect(o.etag, unittest.equals('foo')); | 1169 unittest.expect(o.etag, unittest.equals('foo')); |
1170 unittest.expect(o.id, unittest.equals('foo')); | 1170 unittest.expect(o.id, unittest.equals('foo')); |
1171 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1171 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1172 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1172 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1173 unittest.expect(o.name, unittest.equals('foo')); | 1173 unittest.expect(o.name, unittest.equals('foo')); |
1174 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1174 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1175 unittest.expect(o.projectId, unittest.equals('foo')); | 1175 unittest.expect(o.projectId, unittest.equals('foo')); |
1176 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 1176 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
1177 unittest.expect(o.publishingStatus, unittest.equals('foo')); | 1177 unittest.expect(o.publishingStatus, unittest.equals('foo')); |
1178 checkTags(o.tags); | 1178 checkTags(o.tags); |
1179 checkUnnamed357(o.versions); | 1179 checkUnnamed115(o.versions); |
1180 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1180 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1181 } | 1181 } |
1182 buildCounterMap--; | 1182 buildCounterMap--; |
1183 } | 1183 } |
1184 | 1184 |
1185 buildMapContents() { | 1185 buildMapContents() { |
1186 var o = new api.MapContents(); | 1186 var o = new api.MapContents(); |
1187 o.add(buildMapItem()); | 1187 o.add(buildMapItem()); |
1188 o.add(buildMapItem()); | 1188 o.add(buildMapItem()); |
1189 return o; | 1189 return o; |
1190 } | 1190 } |
1191 | 1191 |
1192 checkMapContents(api.MapContents o) { | 1192 checkMapContents(api.MapContents o) { |
1193 unittest.expect(o, unittest.hasLength(2)); | 1193 unittest.expect(o, unittest.hasLength(2)); |
1194 checkMapItem(o[0]); | 1194 checkMapItem(o[0]); |
1195 checkMapItem(o[1]); | 1195 checkMapItem(o[1]); |
1196 } | 1196 } |
1197 | 1197 |
1198 buildUnnamed358() { | 1198 buildUnnamed116() { |
1199 var o = new core.List<api.MapItem>(); | 1199 var o = new core.List<api.MapItem>(); |
1200 o.add(buildMapItem()); | 1200 o.add(buildMapItem()); |
1201 o.add(buildMapItem()); | 1201 o.add(buildMapItem()); |
1202 return o; | 1202 return o; |
1203 } | 1203 } |
1204 | 1204 |
1205 checkUnnamed358(core.List<api.MapItem> o) { | 1205 checkUnnamed116(core.List<api.MapItem> o) { |
1206 unittest.expect(o, unittest.hasLength(2)); | 1206 unittest.expect(o, unittest.hasLength(2)); |
1207 checkMapItem(o[0]); | 1207 checkMapItem(o[0]); |
1208 checkMapItem(o[1]); | 1208 checkMapItem(o[1]); |
1209 } | 1209 } |
1210 | 1210 |
1211 buildUnnamed359() { | 1211 buildUnnamed117() { |
1212 var o = new core.List<core.double>(); | 1212 var o = new core.List<core.double>(); |
1213 o.add(42.0); | 1213 o.add(42.0); |
1214 o.add(42.0); | 1214 o.add(42.0); |
1215 return o; | 1215 return o; |
1216 } | 1216 } |
1217 | 1217 |
1218 checkUnnamed359(core.List<core.double> o) { | 1218 checkUnnamed117(core.List<core.double> o) { |
1219 unittest.expect(o, unittest.hasLength(2)); | 1219 unittest.expect(o, unittest.hasLength(2)); |
1220 unittest.expect(o[0], unittest.equals(42.0)); | 1220 unittest.expect(o[0], unittest.equals(42.0)); |
1221 unittest.expect(o[1], unittest.equals(42.0)); | 1221 unittest.expect(o[1], unittest.equals(42.0)); |
1222 } | 1222 } |
1223 | 1223 |
1224 core.int buildCounterMapFolder = 0; | 1224 core.int buildCounterMapFolder = 0; |
1225 buildMapFolder() { | 1225 buildMapFolder() { |
1226 var o = new api.MapFolder(); | 1226 var o = new api.MapFolder(); |
1227 buildCounterMapFolder++; | 1227 buildCounterMapFolder++; |
1228 if (buildCounterMapFolder < 3) { | 1228 if (buildCounterMapFolder < 3) { |
1229 o.contents = buildUnnamed358(); | 1229 o.contents = buildUnnamed116(); |
1230 o.defaultViewport = buildUnnamed359(); | 1230 o.defaultViewport = buildUnnamed117(); |
1231 o.expandable = true; | 1231 o.expandable = true; |
1232 o.key = "foo"; | 1232 o.key = "foo"; |
1233 o.name = "foo"; | 1233 o.name = "foo"; |
1234 o.visibility = "foo"; | 1234 o.visibility = "foo"; |
1235 } | 1235 } |
1236 buildCounterMapFolder--; | 1236 buildCounterMapFolder--; |
1237 return o; | 1237 return o; |
1238 } | 1238 } |
1239 | 1239 |
1240 checkMapFolder(api.MapFolder o) { | 1240 checkMapFolder(api.MapFolder o) { |
1241 buildCounterMapFolder++; | 1241 buildCounterMapFolder++; |
1242 if (buildCounterMapFolder < 3) { | 1242 if (buildCounterMapFolder < 3) { |
1243 checkUnnamed358(o.contents); | 1243 checkUnnamed116(o.contents); |
1244 checkUnnamed359(o.defaultViewport); | 1244 checkUnnamed117(o.defaultViewport); |
1245 unittest.expect(o.expandable, unittest.isTrue); | 1245 unittest.expect(o.expandable, unittest.isTrue); |
1246 unittest.expect(o.key, unittest.equals('foo')); | 1246 unittest.expect(o.key, unittest.equals('foo')); |
1247 unittest.expect(o.name, unittest.equals('foo')); | 1247 unittest.expect(o.name, unittest.equals('foo')); |
1248 unittest.expect(o.visibility, unittest.equals('foo')); | 1248 unittest.expect(o.visibility, unittest.equals('foo')); |
1249 } | 1249 } |
1250 buildCounterMapFolder--; | 1250 buildCounterMapFolder--; |
1251 } | 1251 } |
1252 | 1252 |
1253 buildMapItem() { | 1253 buildMapItem() { |
1254 return buildMapFolder(); | 1254 return buildMapFolder(); |
1255 } | 1255 } |
1256 | 1256 |
1257 checkMapItem(api.MapItem o) { | 1257 checkMapItem(api.MapItem o) { |
1258 checkMapFolder(api.MapFolder o) { | 1258 checkMapFolder(api.MapFolder o) { |
1259 buildCounterMapFolder++; | 1259 buildCounterMapFolder++; |
1260 if (buildCounterMapFolder < 3) { | 1260 if (buildCounterMapFolder < 3) { |
1261 checkUnnamed358(o.contents); | 1261 checkUnnamed116(o.contents); |
1262 checkUnnamed359(o.defaultViewport); | 1262 checkUnnamed117(o.defaultViewport); |
1263 unittest.expect(o.expandable, unittest.isTrue); | 1263 unittest.expect(o.expandable, unittest.isTrue); |
1264 unittest.expect(o.key, unittest.equals('foo')); | 1264 unittest.expect(o.key, unittest.equals('foo')); |
1265 unittest.expect(o.name, unittest.equals('foo')); | 1265 unittest.expect(o.name, unittest.equals('foo')); |
1266 unittest.expect(o.visibility, unittest.equals('foo')); | 1266 unittest.expect(o.visibility, unittest.equals('foo')); |
1267 } | 1267 } |
1268 buildCounterMapFolder--; | 1268 buildCounterMapFolder--; |
1269 } | 1269 } |
1270 | 1270 |
1271 (o); | 1271 (o); |
1272 } | 1272 } |
1273 | 1273 |
1274 buildUnnamed360() { | 1274 buildUnnamed118() { |
1275 var o = new core.List<core.double>(); | 1275 var o = new core.List<core.double>(); |
1276 o.add(42.0); | 1276 o.add(42.0); |
1277 o.add(42.0); | 1277 o.add(42.0); |
1278 return o; | 1278 return o; |
1279 } | 1279 } |
1280 | 1280 |
1281 checkUnnamed360(core.List<core.double> o) { | 1281 checkUnnamed118(core.List<core.double> o) { |
1282 unittest.expect(o, unittest.hasLength(2)); | 1282 unittest.expect(o, unittest.hasLength(2)); |
1283 unittest.expect(o[0], unittest.equals(42.0)); | 1283 unittest.expect(o[0], unittest.equals(42.0)); |
1284 unittest.expect(o[1], unittest.equals(42.0)); | 1284 unittest.expect(o[1], unittest.equals(42.0)); |
1285 } | 1285 } |
1286 | 1286 |
1287 core.int buildCounterMapKmlLink = 0; | 1287 core.int buildCounterMapKmlLink = 0; |
1288 buildMapKmlLink() { | 1288 buildMapKmlLink() { |
1289 var o = new api.MapKmlLink(); | 1289 var o = new api.MapKmlLink(); |
1290 buildCounterMapKmlLink++; | 1290 buildCounterMapKmlLink++; |
1291 if (buildCounterMapKmlLink < 3) { | 1291 if (buildCounterMapKmlLink < 3) { |
1292 o.defaultViewport = buildUnnamed360(); | 1292 o.defaultViewport = buildUnnamed118(); |
1293 o.kmlUrl = "foo"; | 1293 o.kmlUrl = "foo"; |
1294 o.name = "foo"; | 1294 o.name = "foo"; |
1295 o.visibility = "foo"; | 1295 o.visibility = "foo"; |
1296 } | 1296 } |
1297 buildCounterMapKmlLink--; | 1297 buildCounterMapKmlLink--; |
1298 return o; | 1298 return o; |
1299 } | 1299 } |
1300 | 1300 |
1301 checkMapKmlLink(api.MapKmlLink o) { | 1301 checkMapKmlLink(api.MapKmlLink o) { |
1302 buildCounterMapKmlLink++; | 1302 buildCounterMapKmlLink++; |
1303 if (buildCounterMapKmlLink < 3) { | 1303 if (buildCounterMapKmlLink < 3) { |
1304 checkUnnamed360(o.defaultViewport); | 1304 checkUnnamed118(o.defaultViewport); |
1305 unittest.expect(o.kmlUrl, unittest.equals('foo')); | 1305 unittest.expect(o.kmlUrl, unittest.equals('foo')); |
1306 unittest.expect(o.name, unittest.equals('foo')); | 1306 unittest.expect(o.name, unittest.equals('foo')); |
1307 unittest.expect(o.visibility, unittest.equals('foo')); | 1307 unittest.expect(o.visibility, unittest.equals('foo')); |
1308 } | 1308 } |
1309 buildCounterMapKmlLink--; | 1309 buildCounterMapKmlLink--; |
1310 } | 1310 } |
1311 | 1311 |
1312 buildUnnamed361() { | 1312 buildUnnamed119() { |
1313 var o = new core.List<core.double>(); | 1313 var o = new core.List<core.double>(); |
1314 o.add(42.0); | 1314 o.add(42.0); |
1315 o.add(42.0); | 1315 o.add(42.0); |
1316 return o; | 1316 return o; |
1317 } | 1317 } |
1318 | 1318 |
1319 checkUnnamed361(core.List<core.double> o) { | 1319 checkUnnamed119(core.List<core.double> o) { |
1320 unittest.expect(o, unittest.hasLength(2)); | 1320 unittest.expect(o, unittest.hasLength(2)); |
1321 unittest.expect(o[0], unittest.equals(42.0)); | 1321 unittest.expect(o[0], unittest.equals(42.0)); |
1322 unittest.expect(o[1], unittest.equals(42.0)); | 1322 unittest.expect(o[1], unittest.equals(42.0)); |
1323 } | 1323 } |
1324 | 1324 |
1325 core.int buildCounterMapLayer = 0; | 1325 core.int buildCounterMapLayer = 0; |
1326 buildMapLayer() { | 1326 buildMapLayer() { |
1327 var o = new api.MapLayer(); | 1327 var o = new api.MapLayer(); |
1328 buildCounterMapLayer++; | 1328 buildCounterMapLayer++; |
1329 if (buildCounterMapLayer < 3) { | 1329 if (buildCounterMapLayer < 3) { |
1330 o.defaultViewport = buildUnnamed361(); | 1330 o.defaultViewport = buildUnnamed119(); |
1331 o.id = "foo"; | 1331 o.id = "foo"; |
1332 o.key = "foo"; | 1332 o.key = "foo"; |
1333 o.name = "foo"; | 1333 o.name = "foo"; |
1334 o.visibility = "foo"; | 1334 o.visibility = "foo"; |
1335 } | 1335 } |
1336 buildCounterMapLayer--; | 1336 buildCounterMapLayer--; |
1337 return o; | 1337 return o; |
1338 } | 1338 } |
1339 | 1339 |
1340 checkMapLayer(api.MapLayer o) { | 1340 checkMapLayer(api.MapLayer o) { |
1341 buildCounterMapLayer++; | 1341 buildCounterMapLayer++; |
1342 if (buildCounterMapLayer < 3) { | 1342 if (buildCounterMapLayer < 3) { |
1343 checkUnnamed361(o.defaultViewport); | 1343 checkUnnamed119(o.defaultViewport); |
1344 unittest.expect(o.id, unittest.equals('foo')); | 1344 unittest.expect(o.id, unittest.equals('foo')); |
1345 unittest.expect(o.key, unittest.equals('foo')); | 1345 unittest.expect(o.key, unittest.equals('foo')); |
1346 unittest.expect(o.name, unittest.equals('foo')); | 1346 unittest.expect(o.name, unittest.equals('foo')); |
1347 unittest.expect(o.visibility, unittest.equals('foo')); | 1347 unittest.expect(o.visibility, unittest.equals('foo')); |
1348 } | 1348 } |
1349 buildCounterMapLayer--; | 1349 buildCounterMapLayer--; |
1350 } | 1350 } |
1351 | 1351 |
1352 buildUnnamed362() { | 1352 buildUnnamed120() { |
1353 var o = new core.List<api.Map>(); | 1353 var o = new core.List<api.Map>(); |
1354 o.add(buildMap()); | 1354 o.add(buildMap()); |
1355 o.add(buildMap()); | 1355 o.add(buildMap()); |
1356 return o; | 1356 return o; |
1357 } | 1357 } |
1358 | 1358 |
1359 checkUnnamed362(core.List<api.Map> o) { | 1359 checkUnnamed120(core.List<api.Map> o) { |
1360 unittest.expect(o, unittest.hasLength(2)); | 1360 unittest.expect(o, unittest.hasLength(2)); |
1361 checkMap(o[0]); | 1361 checkMap(o[0]); |
1362 checkMap(o[1]); | 1362 checkMap(o[1]); |
1363 } | 1363 } |
1364 | 1364 |
1365 core.int buildCounterMapsListResponse = 0; | 1365 core.int buildCounterMapsListResponse = 0; |
1366 buildMapsListResponse() { | 1366 buildMapsListResponse() { |
1367 var o = new api.MapsListResponse(); | 1367 var o = new api.MapsListResponse(); |
1368 buildCounterMapsListResponse++; | 1368 buildCounterMapsListResponse++; |
1369 if (buildCounterMapsListResponse < 3) { | 1369 if (buildCounterMapsListResponse < 3) { |
1370 o.maps = buildUnnamed362(); | 1370 o.maps = buildUnnamed120(); |
1371 o.nextPageToken = "foo"; | 1371 o.nextPageToken = "foo"; |
1372 } | 1372 } |
1373 buildCounterMapsListResponse--; | 1373 buildCounterMapsListResponse--; |
1374 return o; | 1374 return o; |
1375 } | 1375 } |
1376 | 1376 |
1377 checkMapsListResponse(api.MapsListResponse o) { | 1377 checkMapsListResponse(api.MapsListResponse o) { |
1378 buildCounterMapsListResponse++; | 1378 buildCounterMapsListResponse++; |
1379 if (buildCounterMapsListResponse < 3) { | 1379 if (buildCounterMapsListResponse < 3) { |
1380 checkUnnamed362(o.maps); | 1380 checkUnnamed120(o.maps); |
1381 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1381 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1382 } | 1382 } |
1383 buildCounterMapsListResponse--; | 1383 buildCounterMapsListResponse--; |
1384 } | 1384 } |
1385 | 1385 |
1386 core.int buildCounterParent = 0; | 1386 core.int buildCounterParent = 0; |
1387 buildParent() { | 1387 buildParent() { |
1388 var o = new api.Parent(); | 1388 var o = new api.Parent(); |
1389 buildCounterParent++; | 1389 buildCounterParent++; |
1390 if (buildCounterParent < 3) { | 1390 if (buildCounterParent < 3) { |
1391 o.id = "foo"; | 1391 o.id = "foo"; |
1392 } | 1392 } |
1393 buildCounterParent--; | 1393 buildCounterParent--; |
1394 return o; | 1394 return o; |
1395 } | 1395 } |
1396 | 1396 |
1397 checkParent(api.Parent o) { | 1397 checkParent(api.Parent o) { |
1398 buildCounterParent++; | 1398 buildCounterParent++; |
1399 if (buildCounterParent < 3) { | 1399 if (buildCounterParent < 3) { |
1400 unittest.expect(o.id, unittest.equals('foo')); | 1400 unittest.expect(o.id, unittest.equals('foo')); |
1401 } | 1401 } |
1402 buildCounterParent--; | 1402 buildCounterParent--; |
1403 } | 1403 } |
1404 | 1404 |
1405 buildUnnamed363() { | 1405 buildUnnamed121() { |
1406 var o = new core.List<api.Parent>(); | 1406 var o = new core.List<api.Parent>(); |
1407 o.add(buildParent()); | 1407 o.add(buildParent()); |
1408 o.add(buildParent()); | 1408 o.add(buildParent()); |
1409 return o; | 1409 return o; |
1410 } | 1410 } |
1411 | 1411 |
1412 checkUnnamed363(core.List<api.Parent> o) { | 1412 checkUnnamed121(core.List<api.Parent> o) { |
1413 unittest.expect(o, unittest.hasLength(2)); | 1413 unittest.expect(o, unittest.hasLength(2)); |
1414 checkParent(o[0]); | 1414 checkParent(o[0]); |
1415 checkParent(o[1]); | 1415 checkParent(o[1]); |
1416 } | 1416 } |
1417 | 1417 |
1418 core.int buildCounterParentsListResponse = 0; | 1418 core.int buildCounterParentsListResponse = 0; |
1419 buildParentsListResponse() { | 1419 buildParentsListResponse() { |
1420 var o = new api.ParentsListResponse(); | 1420 var o = new api.ParentsListResponse(); |
1421 buildCounterParentsListResponse++; | 1421 buildCounterParentsListResponse++; |
1422 if (buildCounterParentsListResponse < 3) { | 1422 if (buildCounterParentsListResponse < 3) { |
1423 o.nextPageToken = "foo"; | 1423 o.nextPageToken = "foo"; |
1424 o.parents = buildUnnamed363(); | 1424 o.parents = buildUnnamed121(); |
1425 } | 1425 } |
1426 buildCounterParentsListResponse--; | 1426 buildCounterParentsListResponse--; |
1427 return o; | 1427 return o; |
1428 } | 1428 } |
1429 | 1429 |
1430 checkParentsListResponse(api.ParentsListResponse o) { | 1430 checkParentsListResponse(api.ParentsListResponse o) { |
1431 buildCounterParentsListResponse++; | 1431 buildCounterParentsListResponse++; |
1432 if (buildCounterParentsListResponse < 3) { | 1432 if (buildCounterParentsListResponse < 3) { |
1433 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1433 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1434 checkUnnamed363(o.parents); | 1434 checkUnnamed121(o.parents); |
1435 } | 1435 } |
1436 buildCounterParentsListResponse--; | 1436 buildCounterParentsListResponse--; |
1437 } | 1437 } |
1438 | 1438 |
1439 core.int buildCounterPermission = 0; | 1439 core.int buildCounterPermission = 0; |
1440 buildPermission() { | 1440 buildPermission() { |
1441 var o = new api.Permission(); | 1441 var o = new api.Permission(); |
1442 buildCounterPermission++; | 1442 buildCounterPermission++; |
1443 if (buildCounterPermission < 3) { | 1443 if (buildCounterPermission < 3) { |
1444 o.discoverable = true; | 1444 o.discoverable = true; |
1445 o.id = "foo"; | 1445 o.id = "foo"; |
1446 o.role = "foo"; | 1446 o.role = "foo"; |
1447 o.type = "foo"; | 1447 o.type = "foo"; |
1448 } | 1448 } |
1449 buildCounterPermission--; | 1449 buildCounterPermission--; |
1450 return o; | 1450 return o; |
1451 } | 1451 } |
1452 | 1452 |
1453 checkPermission(api.Permission o) { | 1453 checkPermission(api.Permission o) { |
1454 buildCounterPermission++; | 1454 buildCounterPermission++; |
1455 if (buildCounterPermission < 3) { | 1455 if (buildCounterPermission < 3) { |
1456 unittest.expect(o.discoverable, unittest.isTrue); | 1456 unittest.expect(o.discoverable, unittest.isTrue); |
1457 unittest.expect(o.id, unittest.equals('foo')); | 1457 unittest.expect(o.id, unittest.equals('foo')); |
1458 unittest.expect(o.role, unittest.equals('foo')); | 1458 unittest.expect(o.role, unittest.equals('foo')); |
1459 unittest.expect(o.type, unittest.equals('foo')); | 1459 unittest.expect(o.type, unittest.equals('foo')); |
1460 } | 1460 } |
1461 buildCounterPermission--; | 1461 buildCounterPermission--; |
1462 } | 1462 } |
1463 | 1463 |
1464 buildUnnamed364() { | 1464 buildUnnamed122() { |
1465 var o = new core.List<core.String>(); | 1465 var o = new core.List<core.String>(); |
1466 o.add("foo"); | 1466 o.add("foo"); |
1467 o.add("foo"); | 1467 o.add("foo"); |
1468 return o; | 1468 return o; |
1469 } | 1469 } |
1470 | 1470 |
1471 checkUnnamed364(core.List<core.String> o) { | 1471 checkUnnamed122(core.List<core.String> o) { |
1472 unittest.expect(o, unittest.hasLength(2)); | 1472 unittest.expect(o, unittest.hasLength(2)); |
1473 unittest.expect(o[0], unittest.equals('foo')); | 1473 unittest.expect(o[0], unittest.equals('foo')); |
1474 unittest.expect(o[1], unittest.equals('foo')); | 1474 unittest.expect(o[1], unittest.equals('foo')); |
1475 } | 1475 } |
1476 | 1476 |
1477 core.int buildCounterPermissionsBatchDeleteRequest = 0; | 1477 core.int buildCounterPermissionsBatchDeleteRequest = 0; |
1478 buildPermissionsBatchDeleteRequest() { | 1478 buildPermissionsBatchDeleteRequest() { |
1479 var o = new api.PermissionsBatchDeleteRequest(); | 1479 var o = new api.PermissionsBatchDeleteRequest(); |
1480 buildCounterPermissionsBatchDeleteRequest++; | 1480 buildCounterPermissionsBatchDeleteRequest++; |
1481 if (buildCounterPermissionsBatchDeleteRequest < 3) { | 1481 if (buildCounterPermissionsBatchDeleteRequest < 3) { |
1482 o.ids = buildUnnamed364(); | 1482 o.ids = buildUnnamed122(); |
1483 } | 1483 } |
1484 buildCounterPermissionsBatchDeleteRequest--; | 1484 buildCounterPermissionsBatchDeleteRequest--; |
1485 return o; | 1485 return o; |
1486 } | 1486 } |
1487 | 1487 |
1488 checkPermissionsBatchDeleteRequest(api.PermissionsBatchDeleteRequest o) { | 1488 checkPermissionsBatchDeleteRequest(api.PermissionsBatchDeleteRequest o) { |
1489 buildCounterPermissionsBatchDeleteRequest++; | 1489 buildCounterPermissionsBatchDeleteRequest++; |
1490 if (buildCounterPermissionsBatchDeleteRequest < 3) { | 1490 if (buildCounterPermissionsBatchDeleteRequest < 3) { |
1491 checkUnnamed364(o.ids); | 1491 checkUnnamed122(o.ids); |
1492 } | 1492 } |
1493 buildCounterPermissionsBatchDeleteRequest--; | 1493 buildCounterPermissionsBatchDeleteRequest--; |
1494 } | 1494 } |
1495 | 1495 |
1496 core.int buildCounterPermissionsBatchDeleteResponse = 0; | 1496 core.int buildCounterPermissionsBatchDeleteResponse = 0; |
1497 buildPermissionsBatchDeleteResponse() { | 1497 buildPermissionsBatchDeleteResponse() { |
1498 var o = new api.PermissionsBatchDeleteResponse(); | 1498 var o = new api.PermissionsBatchDeleteResponse(); |
1499 buildCounterPermissionsBatchDeleteResponse++; | 1499 buildCounterPermissionsBatchDeleteResponse++; |
1500 if (buildCounterPermissionsBatchDeleteResponse < 3) { | 1500 if (buildCounterPermissionsBatchDeleteResponse < 3) { |
1501 } | 1501 } |
1502 buildCounterPermissionsBatchDeleteResponse--; | 1502 buildCounterPermissionsBatchDeleteResponse--; |
1503 return o; | 1503 return o; |
1504 } | 1504 } |
1505 | 1505 |
1506 checkPermissionsBatchDeleteResponse(api.PermissionsBatchDeleteResponse o) { | 1506 checkPermissionsBatchDeleteResponse(api.PermissionsBatchDeleteResponse o) { |
1507 buildCounterPermissionsBatchDeleteResponse++; | 1507 buildCounterPermissionsBatchDeleteResponse++; |
1508 if (buildCounterPermissionsBatchDeleteResponse < 3) { | 1508 if (buildCounterPermissionsBatchDeleteResponse < 3) { |
1509 } | 1509 } |
1510 buildCounterPermissionsBatchDeleteResponse--; | 1510 buildCounterPermissionsBatchDeleteResponse--; |
1511 } | 1511 } |
1512 | 1512 |
1513 buildUnnamed365() { | 1513 buildUnnamed123() { |
1514 var o = new core.List<api.Permission>(); | 1514 var o = new core.List<api.Permission>(); |
1515 o.add(buildPermission()); | 1515 o.add(buildPermission()); |
1516 o.add(buildPermission()); | 1516 o.add(buildPermission()); |
1517 return o; | 1517 return o; |
1518 } | 1518 } |
1519 | 1519 |
1520 checkUnnamed365(core.List<api.Permission> o) { | 1520 checkUnnamed123(core.List<api.Permission> o) { |
1521 unittest.expect(o, unittest.hasLength(2)); | 1521 unittest.expect(o, unittest.hasLength(2)); |
1522 checkPermission(o[0]); | 1522 checkPermission(o[0]); |
1523 checkPermission(o[1]); | 1523 checkPermission(o[1]); |
1524 } | 1524 } |
1525 | 1525 |
1526 core.int buildCounterPermissionsBatchUpdateRequest = 0; | 1526 core.int buildCounterPermissionsBatchUpdateRequest = 0; |
1527 buildPermissionsBatchUpdateRequest() { | 1527 buildPermissionsBatchUpdateRequest() { |
1528 var o = new api.PermissionsBatchUpdateRequest(); | 1528 var o = new api.PermissionsBatchUpdateRequest(); |
1529 buildCounterPermissionsBatchUpdateRequest++; | 1529 buildCounterPermissionsBatchUpdateRequest++; |
1530 if (buildCounterPermissionsBatchUpdateRequest < 3) { | 1530 if (buildCounterPermissionsBatchUpdateRequest < 3) { |
1531 o.permissions = buildUnnamed365(); | 1531 o.permissions = buildUnnamed123(); |
1532 } | 1532 } |
1533 buildCounterPermissionsBatchUpdateRequest--; | 1533 buildCounterPermissionsBatchUpdateRequest--; |
1534 return o; | 1534 return o; |
1535 } | 1535 } |
1536 | 1536 |
1537 checkPermissionsBatchUpdateRequest(api.PermissionsBatchUpdateRequest o) { | 1537 checkPermissionsBatchUpdateRequest(api.PermissionsBatchUpdateRequest o) { |
1538 buildCounterPermissionsBatchUpdateRequest++; | 1538 buildCounterPermissionsBatchUpdateRequest++; |
1539 if (buildCounterPermissionsBatchUpdateRequest < 3) { | 1539 if (buildCounterPermissionsBatchUpdateRequest < 3) { |
1540 checkUnnamed365(o.permissions); | 1540 checkUnnamed123(o.permissions); |
1541 } | 1541 } |
1542 buildCounterPermissionsBatchUpdateRequest--; | 1542 buildCounterPermissionsBatchUpdateRequest--; |
1543 } | 1543 } |
1544 | 1544 |
1545 core.int buildCounterPermissionsBatchUpdateResponse = 0; | 1545 core.int buildCounterPermissionsBatchUpdateResponse = 0; |
1546 buildPermissionsBatchUpdateResponse() { | 1546 buildPermissionsBatchUpdateResponse() { |
1547 var o = new api.PermissionsBatchUpdateResponse(); | 1547 var o = new api.PermissionsBatchUpdateResponse(); |
1548 buildCounterPermissionsBatchUpdateResponse++; | 1548 buildCounterPermissionsBatchUpdateResponse++; |
1549 if (buildCounterPermissionsBatchUpdateResponse < 3) { | 1549 if (buildCounterPermissionsBatchUpdateResponse < 3) { |
1550 } | 1550 } |
1551 buildCounterPermissionsBatchUpdateResponse--; | 1551 buildCounterPermissionsBatchUpdateResponse--; |
1552 return o; | 1552 return o; |
1553 } | 1553 } |
1554 | 1554 |
1555 checkPermissionsBatchUpdateResponse(api.PermissionsBatchUpdateResponse o) { | 1555 checkPermissionsBatchUpdateResponse(api.PermissionsBatchUpdateResponse o) { |
1556 buildCounterPermissionsBatchUpdateResponse++; | 1556 buildCounterPermissionsBatchUpdateResponse++; |
1557 if (buildCounterPermissionsBatchUpdateResponse < 3) { | 1557 if (buildCounterPermissionsBatchUpdateResponse < 3) { |
1558 } | 1558 } |
1559 buildCounterPermissionsBatchUpdateResponse--; | 1559 buildCounterPermissionsBatchUpdateResponse--; |
1560 } | 1560 } |
1561 | 1561 |
1562 buildUnnamed366() { | 1562 buildUnnamed124() { |
1563 var o = new core.List<api.Permission>(); | 1563 var o = new core.List<api.Permission>(); |
1564 o.add(buildPermission()); | 1564 o.add(buildPermission()); |
1565 o.add(buildPermission()); | 1565 o.add(buildPermission()); |
1566 return o; | 1566 return o; |
1567 } | 1567 } |
1568 | 1568 |
1569 checkUnnamed366(core.List<api.Permission> o) { | 1569 checkUnnamed124(core.List<api.Permission> o) { |
1570 unittest.expect(o, unittest.hasLength(2)); | 1570 unittest.expect(o, unittest.hasLength(2)); |
1571 checkPermission(o[0]); | 1571 checkPermission(o[0]); |
1572 checkPermission(o[1]); | 1572 checkPermission(o[1]); |
1573 } | 1573 } |
1574 | 1574 |
1575 core.int buildCounterPermissionsListResponse = 0; | 1575 core.int buildCounterPermissionsListResponse = 0; |
1576 buildPermissionsListResponse() { | 1576 buildPermissionsListResponse() { |
1577 var o = new api.PermissionsListResponse(); | 1577 var o = new api.PermissionsListResponse(); |
1578 buildCounterPermissionsListResponse++; | 1578 buildCounterPermissionsListResponse++; |
1579 if (buildCounterPermissionsListResponse < 3) { | 1579 if (buildCounterPermissionsListResponse < 3) { |
1580 o.permissions = buildUnnamed366(); | 1580 o.permissions = buildUnnamed124(); |
1581 } | 1581 } |
1582 buildCounterPermissionsListResponse--; | 1582 buildCounterPermissionsListResponse--; |
1583 return o; | 1583 return o; |
1584 } | 1584 } |
1585 | 1585 |
1586 checkPermissionsListResponse(api.PermissionsListResponse o) { | 1586 checkPermissionsListResponse(api.PermissionsListResponse o) { |
1587 buildCounterPermissionsListResponse++; | 1587 buildCounterPermissionsListResponse++; |
1588 if (buildCounterPermissionsListResponse < 3) { | 1588 if (buildCounterPermissionsListResponse < 3) { |
1589 checkUnnamed366(o.permissions); | 1589 checkUnnamed124(o.permissions); |
1590 } | 1590 } |
1591 buildCounterPermissionsListResponse--; | 1591 buildCounterPermissionsListResponse--; |
1592 } | 1592 } |
1593 | 1593 |
1594 core.int buildCounterPointStyle = 0; | 1594 core.int buildCounterPointStyle = 0; |
1595 buildPointStyle() { | 1595 buildPointStyle() { |
1596 var o = new api.PointStyle(); | 1596 var o = new api.PointStyle(); |
1597 buildCounterPointStyle++; | 1597 buildCounterPointStyle++; |
1598 if (buildCounterPointStyle < 3) { | 1598 if (buildCounterPointStyle < 3) { |
1599 o.icon = buildIconStyle(); | 1599 o.icon = buildIconStyle(); |
(...skipping 64 matching lines...) Loading... |
1664 | 1664 |
1665 checkProject(api.Project o) { | 1665 checkProject(api.Project o) { |
1666 buildCounterProject++; | 1666 buildCounterProject++; |
1667 if (buildCounterProject < 3) { | 1667 if (buildCounterProject < 3) { |
1668 unittest.expect(o.id, unittest.equals('foo')); | 1668 unittest.expect(o.id, unittest.equals('foo')); |
1669 unittest.expect(o.name, unittest.equals('foo')); | 1669 unittest.expect(o.name, unittest.equals('foo')); |
1670 } | 1670 } |
1671 buildCounterProject--; | 1671 buildCounterProject--; |
1672 } | 1672 } |
1673 | 1673 |
1674 buildUnnamed367() { | 1674 buildUnnamed125() { |
1675 var o = new core.List<api.Project>(); | 1675 var o = new core.List<api.Project>(); |
1676 o.add(buildProject()); | 1676 o.add(buildProject()); |
1677 o.add(buildProject()); | 1677 o.add(buildProject()); |
1678 return o; | 1678 return o; |
1679 } | 1679 } |
1680 | 1680 |
1681 checkUnnamed367(core.List<api.Project> o) { | 1681 checkUnnamed125(core.List<api.Project> o) { |
1682 unittest.expect(o, unittest.hasLength(2)); | 1682 unittest.expect(o, unittest.hasLength(2)); |
1683 checkProject(o[0]); | 1683 checkProject(o[0]); |
1684 checkProject(o[1]); | 1684 checkProject(o[1]); |
1685 } | 1685 } |
1686 | 1686 |
1687 core.int buildCounterProjectsListResponse = 0; | 1687 core.int buildCounterProjectsListResponse = 0; |
1688 buildProjectsListResponse() { | 1688 buildProjectsListResponse() { |
1689 var o = new api.ProjectsListResponse(); | 1689 var o = new api.ProjectsListResponse(); |
1690 buildCounterProjectsListResponse++; | 1690 buildCounterProjectsListResponse++; |
1691 if (buildCounterProjectsListResponse < 3) { | 1691 if (buildCounterProjectsListResponse < 3) { |
1692 o.projects = buildUnnamed367(); | 1692 o.projects = buildUnnamed125(); |
1693 } | 1693 } |
1694 buildCounterProjectsListResponse--; | 1694 buildCounterProjectsListResponse--; |
1695 return o; | 1695 return o; |
1696 } | 1696 } |
1697 | 1697 |
1698 checkProjectsListResponse(api.ProjectsListResponse o) { | 1698 checkProjectsListResponse(api.ProjectsListResponse o) { |
1699 buildCounterProjectsListResponse++; | 1699 buildCounterProjectsListResponse++; |
1700 if (buildCounterProjectsListResponse < 3) { | 1700 if (buildCounterProjectsListResponse < 3) { |
1701 checkUnnamed367(o.projects); | 1701 checkUnnamed125(o.projects); |
1702 } | 1702 } |
1703 buildCounterProjectsListResponse--; | 1703 buildCounterProjectsListResponse--; |
1704 } | 1704 } |
1705 | 1705 |
1706 core.int buildCounterPublishResponse = 0; | 1706 core.int buildCounterPublishResponse = 0; |
1707 buildPublishResponse() { | 1707 buildPublishResponse() { |
1708 var o = new api.PublishResponse(); | 1708 var o = new api.PublishResponse(); |
1709 buildCounterPublishResponse++; | 1709 buildCounterPublishResponse++; |
1710 if (buildCounterPublishResponse < 3) { | 1710 if (buildCounterPublishResponse < 3) { |
1711 } | 1711 } |
(...skipping 28 matching lines...) Loading... |
1740 if (buildCounterPublishedLayer < 3) { | 1740 if (buildCounterPublishedLayer < 3) { |
1741 unittest.expect(o.description, unittest.equals('foo')); | 1741 unittest.expect(o.description, unittest.equals('foo')); |
1742 unittest.expect(o.id, unittest.equals('foo')); | 1742 unittest.expect(o.id, unittest.equals('foo')); |
1743 unittest.expect(o.layerType, unittest.equals('foo')); | 1743 unittest.expect(o.layerType, unittest.equals('foo')); |
1744 unittest.expect(o.name, unittest.equals('foo')); | 1744 unittest.expect(o.name, unittest.equals('foo')); |
1745 unittest.expect(o.projectId, unittest.equals('foo')); | 1745 unittest.expect(o.projectId, unittest.equals('foo')); |
1746 } | 1746 } |
1747 buildCounterPublishedLayer--; | 1747 buildCounterPublishedLayer--; |
1748 } | 1748 } |
1749 | 1749 |
1750 buildUnnamed368() { | 1750 buildUnnamed126() { |
1751 var o = new core.List<api.PublishedLayer>(); | 1751 var o = new core.List<api.PublishedLayer>(); |
1752 o.add(buildPublishedLayer()); | 1752 o.add(buildPublishedLayer()); |
1753 o.add(buildPublishedLayer()); | 1753 o.add(buildPublishedLayer()); |
1754 return o; | 1754 return o; |
1755 } | 1755 } |
1756 | 1756 |
1757 checkUnnamed368(core.List<api.PublishedLayer> o) { | 1757 checkUnnamed126(core.List<api.PublishedLayer> o) { |
1758 unittest.expect(o, unittest.hasLength(2)); | 1758 unittest.expect(o, unittest.hasLength(2)); |
1759 checkPublishedLayer(o[0]); | 1759 checkPublishedLayer(o[0]); |
1760 checkPublishedLayer(o[1]); | 1760 checkPublishedLayer(o[1]); |
1761 } | 1761 } |
1762 | 1762 |
1763 core.int buildCounterPublishedLayersListResponse = 0; | 1763 core.int buildCounterPublishedLayersListResponse = 0; |
1764 buildPublishedLayersListResponse() { | 1764 buildPublishedLayersListResponse() { |
1765 var o = new api.PublishedLayersListResponse(); | 1765 var o = new api.PublishedLayersListResponse(); |
1766 buildCounterPublishedLayersListResponse++; | 1766 buildCounterPublishedLayersListResponse++; |
1767 if (buildCounterPublishedLayersListResponse < 3) { | 1767 if (buildCounterPublishedLayersListResponse < 3) { |
1768 o.layers = buildUnnamed368(); | 1768 o.layers = buildUnnamed126(); |
1769 o.nextPageToken = "foo"; | 1769 o.nextPageToken = "foo"; |
1770 } | 1770 } |
1771 buildCounterPublishedLayersListResponse--; | 1771 buildCounterPublishedLayersListResponse--; |
1772 return o; | 1772 return o; |
1773 } | 1773 } |
1774 | 1774 |
1775 checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { | 1775 checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { |
1776 buildCounterPublishedLayersListResponse++; | 1776 buildCounterPublishedLayersListResponse++; |
1777 if (buildCounterPublishedLayersListResponse < 3) { | 1777 if (buildCounterPublishedLayersListResponse < 3) { |
1778 checkUnnamed368(o.layers); | 1778 checkUnnamed126(o.layers); |
1779 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1779 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1780 } | 1780 } |
1781 buildCounterPublishedLayersListResponse--; | 1781 buildCounterPublishedLayersListResponse--; |
1782 } | 1782 } |
1783 | 1783 |
1784 core.int buildCounterPublishedMap = 0; | 1784 core.int buildCounterPublishedMap = 0; |
1785 buildPublishedMap() { | 1785 buildPublishedMap() { |
1786 var o = new api.PublishedMap(); | 1786 var o = new api.PublishedMap(); |
1787 buildCounterPublishedMap++; | 1787 buildCounterPublishedMap++; |
1788 if (buildCounterPublishedMap < 3) { | 1788 if (buildCounterPublishedMap < 3) { |
(...skipping 14 matching lines...) Loading... |
1803 checkMapContents(o.contents); | 1803 checkMapContents(o.contents); |
1804 checkLatLngBox(o.defaultViewport); | 1804 checkLatLngBox(o.defaultViewport); |
1805 unittest.expect(o.description, unittest.equals('foo')); | 1805 unittest.expect(o.description, unittest.equals('foo')); |
1806 unittest.expect(o.id, unittest.equals('foo')); | 1806 unittest.expect(o.id, unittest.equals('foo')); |
1807 unittest.expect(o.name, unittest.equals('foo')); | 1807 unittest.expect(o.name, unittest.equals('foo')); |
1808 unittest.expect(o.projectId, unittest.equals('foo')); | 1808 unittest.expect(o.projectId, unittest.equals('foo')); |
1809 } | 1809 } |
1810 buildCounterPublishedMap--; | 1810 buildCounterPublishedMap--; |
1811 } | 1811 } |
1812 | 1812 |
1813 buildUnnamed369() { | 1813 buildUnnamed127() { |
1814 var o = new core.List<api.PublishedMap>(); | 1814 var o = new core.List<api.PublishedMap>(); |
1815 o.add(buildPublishedMap()); | 1815 o.add(buildPublishedMap()); |
1816 o.add(buildPublishedMap()); | 1816 o.add(buildPublishedMap()); |
1817 return o; | 1817 return o; |
1818 } | 1818 } |
1819 | 1819 |
1820 checkUnnamed369(core.List<api.PublishedMap> o) { | 1820 checkUnnamed127(core.List<api.PublishedMap> o) { |
1821 unittest.expect(o, unittest.hasLength(2)); | 1821 unittest.expect(o, unittest.hasLength(2)); |
1822 checkPublishedMap(o[0]); | 1822 checkPublishedMap(o[0]); |
1823 checkPublishedMap(o[1]); | 1823 checkPublishedMap(o[1]); |
1824 } | 1824 } |
1825 | 1825 |
1826 core.int buildCounterPublishedMapsListResponse = 0; | 1826 core.int buildCounterPublishedMapsListResponse = 0; |
1827 buildPublishedMapsListResponse() { | 1827 buildPublishedMapsListResponse() { |
1828 var o = new api.PublishedMapsListResponse(); | 1828 var o = new api.PublishedMapsListResponse(); |
1829 buildCounterPublishedMapsListResponse++; | 1829 buildCounterPublishedMapsListResponse++; |
1830 if (buildCounterPublishedMapsListResponse < 3) { | 1830 if (buildCounterPublishedMapsListResponse < 3) { |
1831 o.maps = buildUnnamed369(); | 1831 o.maps = buildUnnamed127(); |
1832 o.nextPageToken = "foo"; | 1832 o.nextPageToken = "foo"; |
1833 } | 1833 } |
1834 buildCounterPublishedMapsListResponse--; | 1834 buildCounterPublishedMapsListResponse--; |
1835 return o; | 1835 return o; |
1836 } | 1836 } |
1837 | 1837 |
1838 checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { | 1838 checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { |
1839 buildCounterPublishedMapsListResponse++; | 1839 buildCounterPublishedMapsListResponse++; |
1840 if (buildCounterPublishedMapsListResponse < 3) { | 1840 if (buildCounterPublishedMapsListResponse < 3) { |
1841 checkUnnamed369(o.maps); | 1841 checkUnnamed127(o.maps); |
1842 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1842 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1843 } | 1843 } |
1844 buildCounterPublishedMapsListResponse--; | 1844 buildCounterPublishedMapsListResponse--; |
1845 } | 1845 } |
1846 | 1846 |
1847 buildUnnamed370() { | 1847 buildUnnamed128() { |
1848 var o = new core.List<core.double>(); | 1848 var o = new core.List<core.double>(); |
1849 o.add(42.0); | 1849 o.add(42.0); |
1850 o.add(42.0); | 1850 o.add(42.0); |
1851 return o; | 1851 return o; |
1852 } | 1852 } |
1853 | 1853 |
1854 checkUnnamed370(core.List<core.double> o) { | 1854 checkUnnamed128(core.List<core.double> o) { |
1855 unittest.expect(o, unittest.hasLength(2)); | 1855 unittest.expect(o, unittest.hasLength(2)); |
1856 unittest.expect(o[0], unittest.equals(42.0)); | 1856 unittest.expect(o[0], unittest.equals(42.0)); |
1857 unittest.expect(o[1], unittest.equals(42.0)); | 1857 unittest.expect(o[1], unittest.equals(42.0)); |
1858 } | 1858 } |
1859 | 1859 |
1860 buildUnnamed371() { | 1860 buildUnnamed129() { |
1861 var o = new core.List<api.File>(); | 1861 var o = new core.List<api.File>(); |
1862 o.add(buildFile()); | 1862 o.add(buildFile()); |
1863 o.add(buildFile()); | 1863 o.add(buildFile()); |
1864 return o; | 1864 return o; |
1865 } | 1865 } |
1866 | 1866 |
1867 checkUnnamed371(core.List<api.File> o) { | 1867 checkUnnamed129(core.List<api.File> o) { |
1868 unittest.expect(o, unittest.hasLength(2)); | 1868 unittest.expect(o, unittest.hasLength(2)); |
1869 checkFile(o[0]); | 1869 checkFile(o[0]); |
1870 checkFile(o[1]); | 1870 checkFile(o[1]); |
1871 } | 1871 } |
1872 | 1872 |
1873 core.int buildCounterRaster = 0; | 1873 core.int buildCounterRaster = 0; |
1874 buildRaster() { | 1874 buildRaster() { |
1875 var o = new api.Raster(); | 1875 var o = new api.Raster(); |
1876 buildCounterRaster++; | 1876 buildCounterRaster++; |
1877 if (buildCounterRaster < 3) { | 1877 if (buildCounterRaster < 3) { |
1878 o.acquisitionTime = buildAcquisitionTime(); | 1878 o.acquisitionTime = buildAcquisitionTime(); |
1879 o.attribution = "foo"; | 1879 o.attribution = "foo"; |
1880 o.bbox = buildUnnamed370(); | 1880 o.bbox = buildUnnamed128(); |
1881 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1881 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1882 o.creatorEmail = "foo"; | 1882 o.creatorEmail = "foo"; |
1883 o.description = "foo"; | 1883 o.description = "foo"; |
1884 o.draftAccessList = "foo"; | 1884 o.draftAccessList = "foo"; |
1885 o.etag = "foo"; | 1885 o.etag = "foo"; |
1886 o.files = buildUnnamed371(); | 1886 o.files = buildUnnamed129(); |
1887 o.id = "foo"; | 1887 o.id = "foo"; |
1888 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1888 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1889 o.lastModifierEmail = "foo"; | 1889 o.lastModifierEmail = "foo"; |
1890 o.maskType = "foo"; | 1890 o.maskType = "foo"; |
1891 o.name = "foo"; | 1891 o.name = "foo"; |
1892 o.processingStatus = "foo"; | 1892 o.processingStatus = "foo"; |
1893 o.projectId = "foo"; | 1893 o.projectId = "foo"; |
1894 o.rasterType = "foo"; | 1894 o.rasterType = "foo"; |
1895 o.tags = buildTags(); | 1895 o.tags = buildTags(); |
1896 o.writersCanEditPermissions = true; | 1896 o.writersCanEditPermissions = true; |
1897 } | 1897 } |
1898 buildCounterRaster--; | 1898 buildCounterRaster--; |
1899 return o; | 1899 return o; |
1900 } | 1900 } |
1901 | 1901 |
1902 checkRaster(api.Raster o) { | 1902 checkRaster(api.Raster o) { |
1903 buildCounterRaster++; | 1903 buildCounterRaster++; |
1904 if (buildCounterRaster < 3) { | 1904 if (buildCounterRaster < 3) { |
1905 checkAcquisitionTime(o.acquisitionTime); | 1905 checkAcquisitionTime(o.acquisitionTime); |
1906 unittest.expect(o.attribution, unittest.equals('foo')); | 1906 unittest.expect(o.attribution, unittest.equals('foo')); |
1907 checkUnnamed370(o.bbox); | 1907 checkUnnamed128(o.bbox); |
1908 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1908 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1909 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1909 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1910 unittest.expect(o.description, unittest.equals('foo')); | 1910 unittest.expect(o.description, unittest.equals('foo')); |
1911 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1911 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1912 unittest.expect(o.etag, unittest.equals('foo')); | 1912 unittest.expect(o.etag, unittest.equals('foo')); |
1913 checkUnnamed371(o.files); | 1913 checkUnnamed129(o.files); |
1914 unittest.expect(o.id, unittest.equals('foo')); | 1914 unittest.expect(o.id, unittest.equals('foo')); |
1915 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1915 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1916 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1916 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1917 unittest.expect(o.maskType, unittest.equals('foo')); | 1917 unittest.expect(o.maskType, unittest.equals('foo')); |
1918 unittest.expect(o.name, unittest.equals('foo')); | 1918 unittest.expect(o.name, unittest.equals('foo')); |
1919 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1919 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1920 unittest.expect(o.projectId, unittest.equals('foo')); | 1920 unittest.expect(o.projectId, unittest.equals('foo')); |
1921 unittest.expect(o.rasterType, unittest.equals('foo')); | 1921 unittest.expect(o.rasterType, unittest.equals('foo')); |
1922 checkTags(o.tags); | 1922 checkTags(o.tags); |
1923 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1923 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1924 } | 1924 } |
1925 buildCounterRaster--; | 1925 buildCounterRaster--; |
1926 } | 1926 } |
1927 | 1927 |
1928 buildUnnamed372() { | 1928 buildUnnamed130() { |
1929 var o = new core.List<core.double>(); | 1929 var o = new core.List<core.double>(); |
1930 o.add(42.0); | 1930 o.add(42.0); |
1931 o.add(42.0); | 1931 o.add(42.0); |
1932 return o; | 1932 return o; |
1933 } | 1933 } |
1934 | 1934 |
1935 checkUnnamed372(core.List<core.double> o) { | 1935 checkUnnamed130(core.List<core.double> o) { |
1936 unittest.expect(o, unittest.hasLength(2)); | 1936 unittest.expect(o, unittest.hasLength(2)); |
1937 unittest.expect(o[0], unittest.equals(42.0)); | 1937 unittest.expect(o[0], unittest.equals(42.0)); |
1938 unittest.expect(o[1], unittest.equals(42.0)); | 1938 unittest.expect(o[1], unittest.equals(42.0)); |
1939 } | 1939 } |
1940 | 1940 |
1941 core.int buildCounterRasterCollection = 0; | 1941 core.int buildCounterRasterCollection = 0; |
1942 buildRasterCollection() { | 1942 buildRasterCollection() { |
1943 var o = new api.RasterCollection(); | 1943 var o = new api.RasterCollection(); |
1944 buildCounterRasterCollection++; | 1944 buildCounterRasterCollection++; |
1945 if (buildCounterRasterCollection < 3) { | 1945 if (buildCounterRasterCollection < 3) { |
1946 o.attribution = "foo"; | 1946 o.attribution = "foo"; |
1947 o.bbox = buildUnnamed372(); | 1947 o.bbox = buildUnnamed130(); |
1948 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1948 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1949 o.creatorEmail = "foo"; | 1949 o.creatorEmail = "foo"; |
1950 o.description = "foo"; | 1950 o.description = "foo"; |
1951 o.draftAccessList = "foo"; | 1951 o.draftAccessList = "foo"; |
1952 o.etag = "foo"; | 1952 o.etag = "foo"; |
1953 o.id = "foo"; | 1953 o.id = "foo"; |
1954 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1954 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1955 o.lastModifierEmail = "foo"; | 1955 o.lastModifierEmail = "foo"; |
1956 o.mosaic = true; | 1956 o.mosaic = true; |
1957 o.name = "foo"; | 1957 o.name = "foo"; |
1958 o.processingStatus = "foo"; | 1958 o.processingStatus = "foo"; |
1959 o.projectId = "foo"; | 1959 o.projectId = "foo"; |
1960 o.rasterType = "foo"; | 1960 o.rasterType = "foo"; |
1961 o.tags = buildTags(); | 1961 o.tags = buildTags(); |
1962 o.writersCanEditPermissions = true; | 1962 o.writersCanEditPermissions = true; |
1963 } | 1963 } |
1964 buildCounterRasterCollection--; | 1964 buildCounterRasterCollection--; |
1965 return o; | 1965 return o; |
1966 } | 1966 } |
1967 | 1967 |
1968 checkRasterCollection(api.RasterCollection o) { | 1968 checkRasterCollection(api.RasterCollection o) { |
1969 buildCounterRasterCollection++; | 1969 buildCounterRasterCollection++; |
1970 if (buildCounterRasterCollection < 3) { | 1970 if (buildCounterRasterCollection < 3) { |
1971 unittest.expect(o.attribution, unittest.equals('foo')); | 1971 unittest.expect(o.attribution, unittest.equals('foo')); |
1972 checkUnnamed372(o.bbox); | 1972 checkUnnamed130(o.bbox); |
1973 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1973 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1974 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1974 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1975 unittest.expect(o.description, unittest.equals('foo')); | 1975 unittest.expect(o.description, unittest.equals('foo')); |
1976 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1976 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1977 unittest.expect(o.etag, unittest.equals('foo')); | 1977 unittest.expect(o.etag, unittest.equals('foo')); |
1978 unittest.expect(o.id, unittest.equals('foo')); | 1978 unittest.expect(o.id, unittest.equals('foo')); |
1979 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1979 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1980 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1980 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1981 unittest.expect(o.mosaic, unittest.isTrue); | 1981 unittest.expect(o.mosaic, unittest.isTrue); |
1982 unittest.expect(o.name, unittest.equals('foo')); | 1982 unittest.expect(o.name, unittest.equals('foo')); |
1983 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1983 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1984 unittest.expect(o.projectId, unittest.equals('foo')); | 1984 unittest.expect(o.projectId, unittest.equals('foo')); |
1985 unittest.expect(o.rasterType, unittest.equals('foo')); | 1985 unittest.expect(o.rasterType, unittest.equals('foo')); |
1986 checkTags(o.tags); | 1986 checkTags(o.tags); |
1987 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1987 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1988 } | 1988 } |
1989 buildCounterRasterCollection--; | 1989 buildCounterRasterCollection--; |
1990 } | 1990 } |
1991 | 1991 |
1992 buildUnnamed373() { | 1992 buildUnnamed131() { |
1993 var o = new core.List<api.RasterCollection>(); | 1993 var o = new core.List<api.RasterCollection>(); |
1994 o.add(buildRasterCollection()); | 1994 o.add(buildRasterCollection()); |
1995 o.add(buildRasterCollection()); | 1995 o.add(buildRasterCollection()); |
1996 return o; | 1996 return o; |
1997 } | 1997 } |
1998 | 1998 |
1999 checkUnnamed373(core.List<api.RasterCollection> o) { | 1999 checkUnnamed131(core.List<api.RasterCollection> o) { |
2000 unittest.expect(o, unittest.hasLength(2)); | 2000 unittest.expect(o, unittest.hasLength(2)); |
2001 checkRasterCollection(o[0]); | 2001 checkRasterCollection(o[0]); |
2002 checkRasterCollection(o[1]); | 2002 checkRasterCollection(o[1]); |
2003 } | 2003 } |
2004 | 2004 |
2005 core.int buildCounterRasterCollectionsListResponse = 0; | 2005 core.int buildCounterRasterCollectionsListResponse = 0; |
2006 buildRasterCollectionsListResponse() { | 2006 buildRasterCollectionsListResponse() { |
2007 var o = new api.RasterCollectionsListResponse(); | 2007 var o = new api.RasterCollectionsListResponse(); |
2008 buildCounterRasterCollectionsListResponse++; | 2008 buildCounterRasterCollectionsListResponse++; |
2009 if (buildCounterRasterCollectionsListResponse < 3) { | 2009 if (buildCounterRasterCollectionsListResponse < 3) { |
2010 o.nextPageToken = "foo"; | 2010 o.nextPageToken = "foo"; |
2011 o.rasterCollections = buildUnnamed373(); | 2011 o.rasterCollections = buildUnnamed131(); |
2012 } | 2012 } |
2013 buildCounterRasterCollectionsListResponse--; | 2013 buildCounterRasterCollectionsListResponse--; |
2014 return o; | 2014 return o; |
2015 } | 2015 } |
2016 | 2016 |
2017 checkRasterCollectionsListResponse(api.RasterCollectionsListResponse o) { | 2017 checkRasterCollectionsListResponse(api.RasterCollectionsListResponse o) { |
2018 buildCounterRasterCollectionsListResponse++; | 2018 buildCounterRasterCollectionsListResponse++; |
2019 if (buildCounterRasterCollectionsListResponse < 3) { | 2019 if (buildCounterRasterCollectionsListResponse < 3) { |
2020 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2020 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2021 checkUnnamed373(o.rasterCollections); | 2021 checkUnnamed131(o.rasterCollections); |
2022 } | 2022 } |
2023 buildCounterRasterCollectionsListResponse--; | 2023 buildCounterRasterCollectionsListResponse--; |
2024 } | 2024 } |
2025 | 2025 |
2026 buildUnnamed374() { | 2026 buildUnnamed132() { |
2027 var o = new core.List<core.double>(); | 2027 var o = new core.List<core.double>(); |
2028 o.add(42.0); | 2028 o.add(42.0); |
2029 o.add(42.0); | 2029 o.add(42.0); |
2030 return o; | 2030 return o; |
2031 } | 2031 } |
2032 | 2032 |
2033 checkUnnamed374(core.List<core.double> o) { | 2033 checkUnnamed132(core.List<core.double> o) { |
2034 unittest.expect(o, unittest.hasLength(2)); | 2034 unittest.expect(o, unittest.hasLength(2)); |
2035 unittest.expect(o[0], unittest.equals(42.0)); | 2035 unittest.expect(o[0], unittest.equals(42.0)); |
2036 unittest.expect(o[1], unittest.equals(42.0)); | 2036 unittest.expect(o[1], unittest.equals(42.0)); |
2037 } | 2037 } |
2038 | 2038 |
2039 buildUnnamed375() { | 2039 buildUnnamed133() { |
2040 var o = new core.List<core.String>(); | 2040 var o = new core.List<core.String>(); |
2041 o.add("foo"); | 2041 o.add("foo"); |
2042 o.add("foo"); | 2042 o.add("foo"); |
2043 return o; | 2043 return o; |
2044 } | 2044 } |
2045 | 2045 |
2046 checkUnnamed375(core.List<core.String> o) { | 2046 checkUnnamed133(core.List<core.String> o) { |
2047 unittest.expect(o, unittest.hasLength(2)); | 2047 unittest.expect(o, unittest.hasLength(2)); |
2048 unittest.expect(o[0], unittest.equals('foo')); | 2048 unittest.expect(o[0], unittest.equals('foo')); |
2049 unittest.expect(o[1], unittest.equals('foo')); | 2049 unittest.expect(o[1], unittest.equals('foo')); |
2050 } | 2050 } |
2051 | 2051 |
2052 core.int buildCounterRasterCollectionsRaster = 0; | 2052 core.int buildCounterRasterCollectionsRaster = 0; |
2053 buildRasterCollectionsRaster() { | 2053 buildRasterCollectionsRaster() { |
2054 var o = new api.RasterCollectionsRaster(); | 2054 var o = new api.RasterCollectionsRaster(); |
2055 buildCounterRasterCollectionsRaster++; | 2055 buildCounterRasterCollectionsRaster++; |
2056 if (buildCounterRasterCollectionsRaster < 3) { | 2056 if (buildCounterRasterCollectionsRaster < 3) { |
2057 o.bbox = buildUnnamed374(); | 2057 o.bbox = buildUnnamed132(); |
2058 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2058 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2059 o.description = "foo"; | 2059 o.description = "foo"; |
2060 o.id = "foo"; | 2060 o.id = "foo"; |
2061 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2061 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2062 o.name = "foo"; | 2062 o.name = "foo"; |
2063 o.projectId = "foo"; | 2063 o.projectId = "foo"; |
2064 o.rasterType = "foo"; | 2064 o.rasterType = "foo"; |
2065 o.tags = buildUnnamed375(); | 2065 o.tags = buildUnnamed133(); |
2066 } | 2066 } |
2067 buildCounterRasterCollectionsRaster--; | 2067 buildCounterRasterCollectionsRaster--; |
2068 return o; | 2068 return o; |
2069 } | 2069 } |
2070 | 2070 |
2071 checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { | 2071 checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { |
2072 buildCounterRasterCollectionsRaster++; | 2072 buildCounterRasterCollectionsRaster++; |
2073 if (buildCounterRasterCollectionsRaster < 3) { | 2073 if (buildCounterRasterCollectionsRaster < 3) { |
2074 checkUnnamed374(o.bbox); | 2074 checkUnnamed132(o.bbox); |
2075 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2075 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2076 unittest.expect(o.description, unittest.equals('foo')); | 2076 unittest.expect(o.description, unittest.equals('foo')); |
2077 unittest.expect(o.id, unittest.equals('foo')); | 2077 unittest.expect(o.id, unittest.equals('foo')); |
2078 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2078 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2079 unittest.expect(o.name, unittest.equals('foo')); | 2079 unittest.expect(o.name, unittest.equals('foo')); |
2080 unittest.expect(o.projectId, unittest.equals('foo')); | 2080 unittest.expect(o.projectId, unittest.equals('foo')); |
2081 unittest.expect(o.rasterType, unittest.equals('foo')); | 2081 unittest.expect(o.rasterType, unittest.equals('foo')); |
2082 checkUnnamed375(o.tags); | 2082 checkUnnamed133(o.tags); |
2083 } | 2083 } |
2084 buildCounterRasterCollectionsRaster--; | 2084 buildCounterRasterCollectionsRaster--; |
2085 } | 2085 } |
2086 | 2086 |
2087 buildUnnamed376() { | 2087 buildUnnamed134() { |
2088 var o = new core.List<core.String>(); | 2088 var o = new core.List<core.String>(); |
2089 o.add("foo"); | 2089 o.add("foo"); |
2090 o.add("foo"); | 2090 o.add("foo"); |
2091 return o; | 2091 return o; |
2092 } | 2092 } |
2093 | 2093 |
2094 checkUnnamed376(core.List<core.String> o) { | 2094 checkUnnamed134(core.List<core.String> o) { |
2095 unittest.expect(o, unittest.hasLength(2)); | 2095 unittest.expect(o, unittest.hasLength(2)); |
2096 unittest.expect(o[0], unittest.equals('foo')); | 2096 unittest.expect(o[0], unittest.equals('foo')); |
2097 unittest.expect(o[1], unittest.equals('foo')); | 2097 unittest.expect(o[1], unittest.equals('foo')); |
2098 } | 2098 } |
2099 | 2099 |
2100 core.int buildCounterRasterCollectionsRasterBatchDeleteRequest = 0; | 2100 core.int buildCounterRasterCollectionsRasterBatchDeleteRequest = 0; |
2101 buildRasterCollectionsRasterBatchDeleteRequest() { | 2101 buildRasterCollectionsRasterBatchDeleteRequest() { |
2102 var o = new api.RasterCollectionsRasterBatchDeleteRequest(); | 2102 var o = new api.RasterCollectionsRasterBatchDeleteRequest(); |
2103 buildCounterRasterCollectionsRasterBatchDeleteRequest++; | 2103 buildCounterRasterCollectionsRasterBatchDeleteRequest++; |
2104 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { | 2104 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { |
2105 o.ids = buildUnnamed376(); | 2105 o.ids = buildUnnamed134(); |
2106 } | 2106 } |
2107 buildCounterRasterCollectionsRasterBatchDeleteRequest--; | 2107 buildCounterRasterCollectionsRasterBatchDeleteRequest--; |
2108 return o; | 2108 return o; |
2109 } | 2109 } |
2110 | 2110 |
2111 checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchD
eleteRequest o) { | 2111 checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchD
eleteRequest o) { |
2112 buildCounterRasterCollectionsRasterBatchDeleteRequest++; | 2112 buildCounterRasterCollectionsRasterBatchDeleteRequest++; |
2113 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { | 2113 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { |
2114 checkUnnamed376(o.ids); | 2114 checkUnnamed134(o.ids); |
2115 } | 2115 } |
2116 buildCounterRasterCollectionsRasterBatchDeleteRequest--; | 2116 buildCounterRasterCollectionsRasterBatchDeleteRequest--; |
2117 } | 2117 } |
2118 | 2118 |
2119 core.int buildCounterRasterCollectionsRastersBatchDeleteResponse = 0; | 2119 core.int buildCounterRasterCollectionsRastersBatchDeleteResponse = 0; |
2120 buildRasterCollectionsRastersBatchDeleteResponse() { | 2120 buildRasterCollectionsRastersBatchDeleteResponse() { |
2121 var o = new api.RasterCollectionsRastersBatchDeleteResponse(); | 2121 var o = new api.RasterCollectionsRastersBatchDeleteResponse(); |
2122 buildCounterRasterCollectionsRastersBatchDeleteResponse++; | 2122 buildCounterRasterCollectionsRastersBatchDeleteResponse++; |
2123 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { | 2123 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { |
2124 } | 2124 } |
2125 buildCounterRasterCollectionsRastersBatchDeleteResponse--; | 2125 buildCounterRasterCollectionsRastersBatchDeleteResponse--; |
2126 return o; | 2126 return o; |
2127 } | 2127 } |
2128 | 2128 |
2129 checkRasterCollectionsRastersBatchDeleteResponse(api.RasterCollectionsRastersBat
chDeleteResponse o) { | 2129 checkRasterCollectionsRastersBatchDeleteResponse(api.RasterCollectionsRastersBat
chDeleteResponse o) { |
2130 buildCounterRasterCollectionsRastersBatchDeleteResponse++; | 2130 buildCounterRasterCollectionsRastersBatchDeleteResponse++; |
2131 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { | 2131 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { |
2132 } | 2132 } |
2133 buildCounterRasterCollectionsRastersBatchDeleteResponse--; | 2133 buildCounterRasterCollectionsRastersBatchDeleteResponse--; |
2134 } | 2134 } |
2135 | 2135 |
2136 buildUnnamed377() { | 2136 buildUnnamed135() { |
2137 var o = new core.List<core.String>(); | 2137 var o = new core.List<core.String>(); |
2138 o.add("foo"); | 2138 o.add("foo"); |
2139 o.add("foo"); | 2139 o.add("foo"); |
2140 return o; | 2140 return o; |
2141 } | 2141 } |
2142 | 2142 |
2143 checkUnnamed377(core.List<core.String> o) { | 2143 checkUnnamed135(core.List<core.String> o) { |
2144 unittest.expect(o, unittest.hasLength(2)); | 2144 unittest.expect(o, unittest.hasLength(2)); |
2145 unittest.expect(o[0], unittest.equals('foo')); | 2145 unittest.expect(o[0], unittest.equals('foo')); |
2146 unittest.expect(o[1], unittest.equals('foo')); | 2146 unittest.expect(o[1], unittest.equals('foo')); |
2147 } | 2147 } |
2148 | 2148 |
2149 core.int buildCounterRasterCollectionsRastersBatchInsertRequest = 0; | 2149 core.int buildCounterRasterCollectionsRastersBatchInsertRequest = 0; |
2150 buildRasterCollectionsRastersBatchInsertRequest() { | 2150 buildRasterCollectionsRastersBatchInsertRequest() { |
2151 var o = new api.RasterCollectionsRastersBatchInsertRequest(); | 2151 var o = new api.RasterCollectionsRastersBatchInsertRequest(); |
2152 buildCounterRasterCollectionsRastersBatchInsertRequest++; | 2152 buildCounterRasterCollectionsRastersBatchInsertRequest++; |
2153 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { | 2153 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { |
2154 o.ids = buildUnnamed377(); | 2154 o.ids = buildUnnamed135(); |
2155 } | 2155 } |
2156 buildCounterRasterCollectionsRastersBatchInsertRequest--; | 2156 buildCounterRasterCollectionsRastersBatchInsertRequest--; |
2157 return o; | 2157 return o; |
2158 } | 2158 } |
2159 | 2159 |
2160 checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatc
hInsertRequest o) { | 2160 checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatc
hInsertRequest o) { |
2161 buildCounterRasterCollectionsRastersBatchInsertRequest++; | 2161 buildCounterRasterCollectionsRastersBatchInsertRequest++; |
2162 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { | 2162 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { |
2163 checkUnnamed377(o.ids); | 2163 checkUnnamed135(o.ids); |
2164 } | 2164 } |
2165 buildCounterRasterCollectionsRastersBatchInsertRequest--; | 2165 buildCounterRasterCollectionsRastersBatchInsertRequest--; |
2166 } | 2166 } |
2167 | 2167 |
2168 core.int buildCounterRasterCollectionsRastersBatchInsertResponse = 0; | 2168 core.int buildCounterRasterCollectionsRastersBatchInsertResponse = 0; |
2169 buildRasterCollectionsRastersBatchInsertResponse() { | 2169 buildRasterCollectionsRastersBatchInsertResponse() { |
2170 var o = new api.RasterCollectionsRastersBatchInsertResponse(); | 2170 var o = new api.RasterCollectionsRastersBatchInsertResponse(); |
2171 buildCounterRasterCollectionsRastersBatchInsertResponse++; | 2171 buildCounterRasterCollectionsRastersBatchInsertResponse++; |
2172 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { | 2172 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { |
2173 } | 2173 } |
2174 buildCounterRasterCollectionsRastersBatchInsertResponse--; | 2174 buildCounterRasterCollectionsRastersBatchInsertResponse--; |
2175 return o; | 2175 return o; |
2176 } | 2176 } |
2177 | 2177 |
2178 checkRasterCollectionsRastersBatchInsertResponse(api.RasterCollectionsRastersBat
chInsertResponse o) { | 2178 checkRasterCollectionsRastersBatchInsertResponse(api.RasterCollectionsRastersBat
chInsertResponse o) { |
2179 buildCounterRasterCollectionsRastersBatchInsertResponse++; | 2179 buildCounterRasterCollectionsRastersBatchInsertResponse++; |
2180 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { | 2180 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { |
2181 } | 2181 } |
2182 buildCounterRasterCollectionsRastersBatchInsertResponse--; | 2182 buildCounterRasterCollectionsRastersBatchInsertResponse--; |
2183 } | 2183 } |
2184 | 2184 |
2185 buildUnnamed378() { | 2185 buildUnnamed136() { |
2186 var o = new core.List<api.RasterCollectionsRaster>(); | 2186 var o = new core.List<api.RasterCollectionsRaster>(); |
2187 o.add(buildRasterCollectionsRaster()); | 2187 o.add(buildRasterCollectionsRaster()); |
2188 o.add(buildRasterCollectionsRaster()); | 2188 o.add(buildRasterCollectionsRaster()); |
2189 return o; | 2189 return o; |
2190 } | 2190 } |
2191 | 2191 |
2192 checkUnnamed378(core.List<api.RasterCollectionsRaster> o) { | 2192 checkUnnamed136(core.List<api.RasterCollectionsRaster> o) { |
2193 unittest.expect(o, unittest.hasLength(2)); | 2193 unittest.expect(o, unittest.hasLength(2)); |
2194 checkRasterCollectionsRaster(o[0]); | 2194 checkRasterCollectionsRaster(o[0]); |
2195 checkRasterCollectionsRaster(o[1]); | 2195 checkRasterCollectionsRaster(o[1]); |
2196 } | 2196 } |
2197 | 2197 |
2198 core.int buildCounterRasterCollectionsRastersListResponse = 0; | 2198 core.int buildCounterRasterCollectionsRastersListResponse = 0; |
2199 buildRasterCollectionsRastersListResponse() { | 2199 buildRasterCollectionsRastersListResponse() { |
2200 var o = new api.RasterCollectionsRastersListResponse(); | 2200 var o = new api.RasterCollectionsRastersListResponse(); |
2201 buildCounterRasterCollectionsRastersListResponse++; | 2201 buildCounterRasterCollectionsRastersListResponse++; |
2202 if (buildCounterRasterCollectionsRastersListResponse < 3) { | 2202 if (buildCounterRasterCollectionsRastersListResponse < 3) { |
2203 o.nextPageToken = "foo"; | 2203 o.nextPageToken = "foo"; |
2204 o.rasters = buildUnnamed378(); | 2204 o.rasters = buildUnnamed136(); |
2205 } | 2205 } |
2206 buildCounterRasterCollectionsRastersListResponse--; | 2206 buildCounterRasterCollectionsRastersListResponse--; |
2207 return o; | 2207 return o; |
2208 } | 2208 } |
2209 | 2209 |
2210 checkRasterCollectionsRastersListResponse(api.RasterCollectionsRastersListRespon
se o) { | 2210 checkRasterCollectionsRastersListResponse(api.RasterCollectionsRastersListRespon
se o) { |
2211 buildCounterRasterCollectionsRastersListResponse++; | 2211 buildCounterRasterCollectionsRastersListResponse++; |
2212 if (buildCounterRasterCollectionsRastersListResponse < 3) { | 2212 if (buildCounterRasterCollectionsRastersListResponse < 3) { |
2213 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2213 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2214 checkUnnamed378(o.rasters); | 2214 checkUnnamed136(o.rasters); |
2215 } | 2215 } |
2216 buildCounterRasterCollectionsRastersListResponse--; | 2216 buildCounterRasterCollectionsRastersListResponse--; |
2217 } | 2217 } |
2218 | 2218 |
2219 buildUnnamed379() { | 2219 buildUnnamed137() { |
2220 var o = new core.List<api.Raster>(); | 2220 var o = new core.List<api.Raster>(); |
2221 o.add(buildRaster()); | 2221 o.add(buildRaster()); |
2222 o.add(buildRaster()); | 2222 o.add(buildRaster()); |
2223 return o; | 2223 return o; |
2224 } | 2224 } |
2225 | 2225 |
2226 checkUnnamed379(core.List<api.Raster> o) { | 2226 checkUnnamed137(core.List<api.Raster> o) { |
2227 unittest.expect(o, unittest.hasLength(2)); | 2227 unittest.expect(o, unittest.hasLength(2)); |
2228 checkRaster(o[0]); | 2228 checkRaster(o[0]); |
2229 checkRaster(o[1]); | 2229 checkRaster(o[1]); |
2230 } | 2230 } |
2231 | 2231 |
2232 core.int buildCounterRastersListResponse = 0; | 2232 core.int buildCounterRastersListResponse = 0; |
2233 buildRastersListResponse() { | 2233 buildRastersListResponse() { |
2234 var o = new api.RastersListResponse(); | 2234 var o = new api.RastersListResponse(); |
2235 buildCounterRastersListResponse++; | 2235 buildCounterRastersListResponse++; |
2236 if (buildCounterRastersListResponse < 3) { | 2236 if (buildCounterRastersListResponse < 3) { |
2237 o.nextPageToken = "foo"; | 2237 o.nextPageToken = "foo"; |
2238 o.rasters = buildUnnamed379(); | 2238 o.rasters = buildUnnamed137(); |
2239 } | 2239 } |
2240 buildCounterRastersListResponse--; | 2240 buildCounterRastersListResponse--; |
2241 return o; | 2241 return o; |
2242 } | 2242 } |
2243 | 2243 |
2244 checkRastersListResponse(api.RastersListResponse o) { | 2244 checkRastersListResponse(api.RastersListResponse o) { |
2245 buildCounterRastersListResponse++; | 2245 buildCounterRastersListResponse++; |
2246 if (buildCounterRastersListResponse < 3) { | 2246 if (buildCounterRastersListResponse < 3) { |
2247 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2247 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2248 checkUnnamed379(o.rasters); | 2248 checkUnnamed137(o.rasters); |
2249 } | 2249 } |
2250 buildCounterRastersListResponse--; | 2250 buildCounterRastersListResponse--; |
2251 } | 2251 } |
2252 | 2252 |
2253 core.int buildCounterScaledShape = 0; | 2253 core.int buildCounterScaledShape = 0; |
2254 buildScaledShape() { | 2254 buildScaledShape() { |
2255 var o = new api.ScaledShape(); | 2255 var o = new api.ScaledShape(); |
2256 buildCounterScaledShape++; | 2256 buildCounterScaledShape++; |
2257 if (buildCounterScaledShape < 3) { | 2257 if (buildCounterScaledShape < 3) { |
2258 o.border = buildBorder(); | 2258 o.border = buildBorder(); |
(...skipping 32 matching lines...) Loading... |
2291 buildCounterScalingFunction++; | 2291 buildCounterScalingFunction++; |
2292 if (buildCounterScalingFunction < 3) { | 2292 if (buildCounterScalingFunction < 3) { |
2293 unittest.expect(o.column, unittest.equals('foo')); | 2293 unittest.expect(o.column, unittest.equals('foo')); |
2294 unittest.expect(o.scalingType, unittest.equals('foo')); | 2294 unittest.expect(o.scalingType, unittest.equals('foo')); |
2295 checkSizeRange(o.sizeRange); | 2295 checkSizeRange(o.sizeRange); |
2296 checkValueRange(o.valueRange); | 2296 checkValueRange(o.valueRange); |
2297 } | 2297 } |
2298 buildCounterScalingFunction--; | 2298 buildCounterScalingFunction--; |
2299 } | 2299 } |
2300 | 2300 |
2301 buildUnnamed380() { | 2301 buildUnnamed138() { |
2302 var o = new core.List<api.TableColumn>(); | 2302 var o = new core.List<api.TableColumn>(); |
2303 o.add(buildTableColumn()); | 2303 o.add(buildTableColumn()); |
2304 o.add(buildTableColumn()); | 2304 o.add(buildTableColumn()); |
2305 return o; | 2305 return o; |
2306 } | 2306 } |
2307 | 2307 |
2308 checkUnnamed380(core.List<api.TableColumn> o) { | 2308 checkUnnamed138(core.List<api.TableColumn> o) { |
2309 unittest.expect(o, unittest.hasLength(2)); | 2309 unittest.expect(o, unittest.hasLength(2)); |
2310 checkTableColumn(o[0]); | 2310 checkTableColumn(o[0]); |
2311 checkTableColumn(o[1]); | 2311 checkTableColumn(o[1]); |
2312 } | 2312 } |
2313 | 2313 |
2314 core.int buildCounterSchema = 0; | 2314 core.int buildCounterSchema = 0; |
2315 buildSchema() { | 2315 buildSchema() { |
2316 var o = new api.Schema(); | 2316 var o = new api.Schema(); |
2317 buildCounterSchema++; | 2317 buildCounterSchema++; |
2318 if (buildCounterSchema < 3) { | 2318 if (buildCounterSchema < 3) { |
2319 o.columns = buildUnnamed380(); | 2319 o.columns = buildUnnamed138(); |
2320 o.primaryGeometry = "foo"; | 2320 o.primaryGeometry = "foo"; |
2321 o.primaryKey = "foo"; | 2321 o.primaryKey = "foo"; |
2322 } | 2322 } |
2323 buildCounterSchema--; | 2323 buildCounterSchema--; |
2324 return o; | 2324 return o; |
2325 } | 2325 } |
2326 | 2326 |
2327 checkSchema(api.Schema o) { | 2327 checkSchema(api.Schema o) { |
2328 buildCounterSchema++; | 2328 buildCounterSchema++; |
2329 if (buildCounterSchema < 3) { | 2329 if (buildCounterSchema < 3) { |
2330 checkUnnamed380(o.columns); | 2330 checkUnnamed138(o.columns); |
2331 unittest.expect(o.primaryGeometry, unittest.equals('foo')); | 2331 unittest.expect(o.primaryGeometry, unittest.equals('foo')); |
2332 unittest.expect(o.primaryKey, unittest.equals('foo')); | 2332 unittest.expect(o.primaryKey, unittest.equals('foo')); |
2333 } | 2333 } |
2334 buildCounterSchema--; | 2334 buildCounterSchema--; |
2335 } | 2335 } |
2336 | 2336 |
2337 core.int buildCounterSizeRange = 0; | 2337 core.int buildCounterSizeRange = 0; |
2338 buildSizeRange() { | 2338 buildSizeRange() { |
2339 var o = new api.SizeRange(); | 2339 var o = new api.SizeRange(); |
2340 buildCounterSizeRange++; | 2340 buildCounterSizeRange++; |
2341 if (buildCounterSizeRange < 3) { | 2341 if (buildCounterSizeRange < 3) { |
2342 o.max = 42.0; | 2342 o.max = 42.0; |
2343 o.min = 42.0; | 2343 o.min = 42.0; |
2344 } | 2344 } |
2345 buildCounterSizeRange--; | 2345 buildCounterSizeRange--; |
2346 return o; | 2346 return o; |
2347 } | 2347 } |
2348 | 2348 |
2349 checkSizeRange(api.SizeRange o) { | 2349 checkSizeRange(api.SizeRange o) { |
2350 buildCounterSizeRange++; | 2350 buildCounterSizeRange++; |
2351 if (buildCounterSizeRange < 3) { | 2351 if (buildCounterSizeRange < 3) { |
2352 unittest.expect(o.max, unittest.equals(42.0)); | 2352 unittest.expect(o.max, unittest.equals(42.0)); |
2353 unittest.expect(o.min, unittest.equals(42.0)); | 2353 unittest.expect(o.min, unittest.equals(42.0)); |
2354 } | 2354 } |
2355 buildCounterSizeRange--; | 2355 buildCounterSizeRange--; |
2356 } | 2356 } |
2357 | 2357 |
2358 buildUnnamed381() { | 2358 buildUnnamed139() { |
2359 var o = new core.List<core.double>(); | 2359 var o = new core.List<core.double>(); |
2360 o.add(42.0); | 2360 o.add(42.0); |
2361 o.add(42.0); | 2361 o.add(42.0); |
2362 return o; | 2362 return o; |
2363 } | 2363 } |
2364 | 2364 |
2365 checkUnnamed381(core.List<core.double> o) { | 2365 checkUnnamed139(core.List<core.double> o) { |
2366 unittest.expect(o, unittest.hasLength(2)); | 2366 unittest.expect(o, unittest.hasLength(2)); |
2367 unittest.expect(o[0], unittest.equals(42.0)); | 2367 unittest.expect(o[0], unittest.equals(42.0)); |
2368 unittest.expect(o[1], unittest.equals(42.0)); | 2368 unittest.expect(o[1], unittest.equals(42.0)); |
2369 } | 2369 } |
2370 | 2370 |
2371 buildUnnamed382() { | 2371 buildUnnamed140() { |
2372 var o = new core.List<api.File>(); | 2372 var o = new core.List<api.File>(); |
2373 o.add(buildFile()); | 2373 o.add(buildFile()); |
2374 o.add(buildFile()); | 2374 o.add(buildFile()); |
2375 return o; | 2375 return o; |
2376 } | 2376 } |
2377 | 2377 |
2378 checkUnnamed382(core.List<api.File> o) { | 2378 checkUnnamed140(core.List<api.File> o) { |
2379 unittest.expect(o, unittest.hasLength(2)); | 2379 unittest.expect(o, unittest.hasLength(2)); |
2380 checkFile(o[0]); | 2380 checkFile(o[0]); |
2381 checkFile(o[1]); | 2381 checkFile(o[1]); |
2382 } | 2382 } |
2383 | 2383 |
2384 core.int buildCounterTable = 0; | 2384 core.int buildCounterTable = 0; |
2385 buildTable() { | 2385 buildTable() { |
2386 var o = new api.Table(); | 2386 var o = new api.Table(); |
2387 buildCounterTable++; | 2387 buildCounterTable++; |
2388 if (buildCounterTable < 3) { | 2388 if (buildCounterTable < 3) { |
2389 o.bbox = buildUnnamed381(); | 2389 o.bbox = buildUnnamed139(); |
2390 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2390 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2391 o.creatorEmail = "foo"; | 2391 o.creatorEmail = "foo"; |
2392 o.description = "foo"; | 2392 o.description = "foo"; |
2393 o.draftAccessList = "foo"; | 2393 o.draftAccessList = "foo"; |
2394 o.etag = "foo"; | 2394 o.etag = "foo"; |
2395 o.files = buildUnnamed382(); | 2395 o.files = buildUnnamed140(); |
2396 o.id = "foo"; | 2396 o.id = "foo"; |
2397 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2397 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2398 o.lastModifierEmail = "foo"; | 2398 o.lastModifierEmail = "foo"; |
2399 o.name = "foo"; | 2399 o.name = "foo"; |
2400 o.processingStatus = "foo"; | 2400 o.processingStatus = "foo"; |
2401 o.projectId = "foo"; | 2401 o.projectId = "foo"; |
2402 o.publishedAccessList = "foo"; | 2402 o.publishedAccessList = "foo"; |
2403 o.schema = buildSchema(); | 2403 o.schema = buildSchema(); |
2404 o.sourceEncoding = "foo"; | 2404 o.sourceEncoding = "foo"; |
2405 o.tags = buildTags(); | 2405 o.tags = buildTags(); |
2406 o.writersCanEditPermissions = true; | 2406 o.writersCanEditPermissions = true; |
2407 } | 2407 } |
2408 buildCounterTable--; | 2408 buildCounterTable--; |
2409 return o; | 2409 return o; |
2410 } | 2410 } |
2411 | 2411 |
2412 checkTable(api.Table o) { | 2412 checkTable(api.Table o) { |
2413 buildCounterTable++; | 2413 buildCounterTable++; |
2414 if (buildCounterTable < 3) { | 2414 if (buildCounterTable < 3) { |
2415 checkUnnamed381(o.bbox); | 2415 checkUnnamed139(o.bbox); |
2416 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2416 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2417 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 2417 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
2418 unittest.expect(o.description, unittest.equals('foo')); | 2418 unittest.expect(o.description, unittest.equals('foo')); |
2419 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 2419 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
2420 unittest.expect(o.etag, unittest.equals('foo')); | 2420 unittest.expect(o.etag, unittest.equals('foo')); |
2421 checkUnnamed382(o.files); | 2421 checkUnnamed140(o.files); |
2422 unittest.expect(o.id, unittest.equals('foo')); | 2422 unittest.expect(o.id, unittest.equals('foo')); |
2423 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2423 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2424 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 2424 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
2425 unittest.expect(o.name, unittest.equals('foo')); | 2425 unittest.expect(o.name, unittest.equals('foo')); |
2426 unittest.expect(o.processingStatus, unittest.equals('foo')); | 2426 unittest.expect(o.processingStatus, unittest.equals('foo')); |
2427 unittest.expect(o.projectId, unittest.equals('foo')); | 2427 unittest.expect(o.projectId, unittest.equals('foo')); |
2428 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 2428 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
2429 checkSchema(o.schema); | 2429 checkSchema(o.schema); |
2430 unittest.expect(o.sourceEncoding, unittest.equals('foo')); | 2430 unittest.expect(o.sourceEncoding, unittest.equals('foo')); |
2431 checkTags(o.tags); | 2431 checkTags(o.tags); |
(...skipping 16 matching lines...) Loading... |
2448 | 2448 |
2449 checkTableColumn(api.TableColumn o) { | 2449 checkTableColumn(api.TableColumn o) { |
2450 buildCounterTableColumn++; | 2450 buildCounterTableColumn++; |
2451 if (buildCounterTableColumn < 3) { | 2451 if (buildCounterTableColumn < 3) { |
2452 unittest.expect(o.name, unittest.equals('foo')); | 2452 unittest.expect(o.name, unittest.equals('foo')); |
2453 unittest.expect(o.type, unittest.equals('foo')); | 2453 unittest.expect(o.type, unittest.equals('foo')); |
2454 } | 2454 } |
2455 buildCounterTableColumn--; | 2455 buildCounterTableColumn--; |
2456 } | 2456 } |
2457 | 2457 |
2458 buildUnnamed383() { | 2458 buildUnnamed141() { |
2459 var o = new core.List<api.Table>(); | 2459 var o = new core.List<api.Table>(); |
2460 o.add(buildTable()); | 2460 o.add(buildTable()); |
2461 o.add(buildTable()); | 2461 o.add(buildTable()); |
2462 return o; | 2462 return o; |
2463 } | 2463 } |
2464 | 2464 |
2465 checkUnnamed383(core.List<api.Table> o) { | 2465 checkUnnamed141(core.List<api.Table> o) { |
2466 unittest.expect(o, unittest.hasLength(2)); | 2466 unittest.expect(o, unittest.hasLength(2)); |
2467 checkTable(o[0]); | 2467 checkTable(o[0]); |
2468 checkTable(o[1]); | 2468 checkTable(o[1]); |
2469 } | 2469 } |
2470 | 2470 |
2471 core.int buildCounterTablesListResponse = 0; | 2471 core.int buildCounterTablesListResponse = 0; |
2472 buildTablesListResponse() { | 2472 buildTablesListResponse() { |
2473 var o = new api.TablesListResponse(); | 2473 var o = new api.TablesListResponse(); |
2474 buildCounterTablesListResponse++; | 2474 buildCounterTablesListResponse++; |
2475 if (buildCounterTablesListResponse < 3) { | 2475 if (buildCounterTablesListResponse < 3) { |
2476 o.nextPageToken = "foo"; | 2476 o.nextPageToken = "foo"; |
2477 o.tables = buildUnnamed383(); | 2477 o.tables = buildUnnamed141(); |
2478 } | 2478 } |
2479 buildCounterTablesListResponse--; | 2479 buildCounterTablesListResponse--; |
2480 return o; | 2480 return o; |
2481 } | 2481 } |
2482 | 2482 |
2483 checkTablesListResponse(api.TablesListResponse o) { | 2483 checkTablesListResponse(api.TablesListResponse o) { |
2484 buildCounterTablesListResponse++; | 2484 buildCounterTablesListResponse++; |
2485 if (buildCounterTablesListResponse < 3) { | 2485 if (buildCounterTablesListResponse < 3) { |
2486 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2486 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2487 checkUnnamed383(o.tables); | 2487 checkUnnamed141(o.tables); |
2488 } | 2488 } |
2489 buildCounterTablesListResponse--; | 2489 buildCounterTablesListResponse--; |
2490 } | 2490 } |
2491 | 2491 |
2492 buildTags() { | 2492 buildTags() { |
2493 var o = new api.Tags(); | 2493 var o = new api.Tags(); |
2494 o.add("foo"); | 2494 o.add("foo"); |
2495 o.add("foo"); | 2495 o.add("foo"); |
2496 return o; | 2496 return o; |
2497 } | 2497 } |
(...skipping 18 matching lines...) Loading... |
2516 | 2516 |
2517 checkValueRange(api.ValueRange o) { | 2517 checkValueRange(api.ValueRange o) { |
2518 buildCounterValueRange++; | 2518 buildCounterValueRange++; |
2519 if (buildCounterValueRange < 3) { | 2519 if (buildCounterValueRange < 3) { |
2520 unittest.expect(o.max, unittest.equals(42.0)); | 2520 unittest.expect(o.max, unittest.equals(42.0)); |
2521 unittest.expect(o.min, unittest.equals(42.0)); | 2521 unittest.expect(o.min, unittest.equals(42.0)); |
2522 } | 2522 } |
2523 buildCounterValueRange--; | 2523 buildCounterValueRange--; |
2524 } | 2524 } |
2525 | 2525 |
2526 buildUnnamed384() { | 2526 buildUnnamed142() { |
2527 var o = new core.List<api.DisplayRule>(); | 2527 var o = new core.List<api.DisplayRule>(); |
2528 o.add(buildDisplayRule()); | 2528 o.add(buildDisplayRule()); |
2529 o.add(buildDisplayRule()); | 2529 o.add(buildDisplayRule()); |
2530 return o; | 2530 return o; |
2531 } | 2531 } |
2532 | 2532 |
2533 checkUnnamed384(core.List<api.DisplayRule> o) { | 2533 checkUnnamed142(core.List<api.DisplayRule> o) { |
2534 unittest.expect(o, unittest.hasLength(2)); | 2534 unittest.expect(o, unittest.hasLength(2)); |
2535 checkDisplayRule(o[0]); | 2535 checkDisplayRule(o[0]); |
2536 checkDisplayRule(o[1]); | 2536 checkDisplayRule(o[1]); |
2537 } | 2537 } |
2538 | 2538 |
2539 core.int buildCounterVectorStyle = 0; | 2539 core.int buildCounterVectorStyle = 0; |
2540 buildVectorStyle() { | 2540 buildVectorStyle() { |
2541 var o = new api.VectorStyle(); | 2541 var o = new api.VectorStyle(); |
2542 buildCounterVectorStyle++; | 2542 buildCounterVectorStyle++; |
2543 if (buildCounterVectorStyle < 3) { | 2543 if (buildCounterVectorStyle < 3) { |
2544 o.displayRules = buildUnnamed384(); | 2544 o.displayRules = buildUnnamed142(); |
2545 o.featureInfo = buildFeatureInfo(); | 2545 o.featureInfo = buildFeatureInfo(); |
2546 o.type = "foo"; | 2546 o.type = "foo"; |
2547 } | 2547 } |
2548 buildCounterVectorStyle--; | 2548 buildCounterVectorStyle--; |
2549 return o; | 2549 return o; |
2550 } | 2550 } |
2551 | 2551 |
2552 checkVectorStyle(api.VectorStyle o) { | 2552 checkVectorStyle(api.VectorStyle o) { |
2553 buildCounterVectorStyle++; | 2553 buildCounterVectorStyle++; |
2554 if (buildCounterVectorStyle < 3) { | 2554 if (buildCounterVectorStyle < 3) { |
2555 checkUnnamed384(o.displayRules); | 2555 checkUnnamed142(o.displayRules); |
2556 checkFeatureInfo(o.featureInfo); | 2556 checkFeatureInfo(o.featureInfo); |
2557 unittest.expect(o.type, unittest.equals('foo')); | 2557 unittest.expect(o.type, unittest.equals('foo')); |
2558 } | 2558 } |
2559 buildCounterVectorStyle--; | 2559 buildCounterVectorStyle--; |
2560 } | 2560 } |
2561 | 2561 |
2562 core.int buildCounterZoomLevels = 0; | 2562 core.int buildCounterZoomLevels = 0; |
2563 buildZoomLevels() { | 2563 buildZoomLevels() { |
2564 var o = new api.ZoomLevels(); | 2564 var o = new api.ZoomLevels(); |
2565 buildCounterZoomLevels++; | 2565 buildCounterZoomLevels++; |
(...skipping 5075 matching lines...) Loading... |
7641 res.list(arg_id).then(unittest.expectAsync(((api.PermissionsListResponse r
esponse) { | 7641 res.list(arg_id).then(unittest.expectAsync(((api.PermissionsListResponse r
esponse) { |
7642 checkPermissionsListResponse(response); | 7642 checkPermissionsListResponse(response); |
7643 }))); | 7643 }))); |
7644 }); | 7644 }); |
7645 | 7645 |
7646 }); | 7646 }); |
7647 | 7647 |
7648 | 7648 |
7649 } | 7649 } |
7650 | 7650 |
OLD | NEW |