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...) Expand all 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 buildUnnamed92() { | 42 buildUnnamed901() { |
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 checkUnnamed92(core.List<core.double> o) { | 49 checkUnnamed901(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 buildUnnamed93() { | 55 buildUnnamed902() { |
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 checkUnnamed93(core.List<core.String> o) { | 62 checkUnnamed902(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 = buildUnnamed92(); | 73 o.bbox = buildUnnamed901(); |
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 = buildUnnamed93(); | 84 o.tags = buildUnnamed902(); |
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 checkUnnamed92(o.bbox); | 95 checkUnnamed901(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 checkUnnamed93(o.tags); | 106 checkUnnamed902(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 buildUnnamed94() { | 113 buildUnnamed903() { |
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 checkUnnamed94(core.List<api.Asset> o) { | 120 checkUnnamed903(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 = buildUnnamed94(); | 131 o.assets = buildUnnamed903(); |
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 checkUnnamed94(o.assets); | 141 checkUnnamed903(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...) Expand 10 before | Expand all | Expand 10 after 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 buildUnnamed95() { | 223 buildUnnamed904() { |
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 checkUnnamed95(core.List<api.Filter> o) { | 230 checkUnnamed904(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 = buildUnnamed95(); | 241 o.filters = buildUnnamed904(); |
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 checkUnnamed95(o.filters); | 255 checkUnnamed904(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...) Expand 10 before | Expand all | Expand 10 after 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 buildUnnamed96() { | 307 buildUnnamed905() { |
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 checkUnnamed96(core.List<core.String> o) { | 314 checkUnnamed905(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 buildUnnamed97() { | 320 buildUnnamed906() { |
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 checkUnnamed97(core.List<core.String> o) { | 327 checkUnnamed906(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 = buildUnnamed96(); | 338 o.gxIds = buildUnnamed905(); |
339 o.primaryKeys = buildUnnamed97(); | 339 o.primaryKeys = buildUnnamed906(); |
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 checkUnnamed96(o.gxIds); | 348 checkUnnamed905(o.gxIds); |
349 checkUnnamed97(o.primaryKeys); | 349 checkUnnamed906(o.primaryKeys); |
350 } | 350 } |
351 buildCounterFeaturesBatchDeleteRequest--; | 351 buildCounterFeaturesBatchDeleteRequest--; |
352 } | 352 } |
353 | 353 |
354 buildUnnamed98() { | 354 buildUnnamed907() { |
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 checkUnnamed98(core.List<api.Feature> o) { | 361 checkUnnamed907(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 = buildUnnamed98(); | 372 o.features = buildUnnamed907(); |
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 checkUnnamed98(o.features); | 382 checkUnnamed907(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 buildUnnamed99() { | 388 buildUnnamed908() { |
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 checkUnnamed99(core.List<api.Feature> o) { | 395 checkUnnamed908(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 = buildUnnamed99(); | 406 o.features = buildUnnamed908(); |
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 checkUnnamed99(o.features); | 416 checkUnnamed908(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 buildUnnamed100() { | 422 buildUnnamed909() { |
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 checkUnnamed100(core.List<api.Feature> o) { | 429 checkUnnamed909(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 = buildUnnamed100(); | 441 o.features = buildUnnamed909(); |
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 checkUnnamed100(o.features); | 454 checkUnnamed909(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...) Expand 10 before | Expand all | Expand 10 after 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 checkUnnamed101(o.geometries); | 516 checkUnnamed910(o.geometries); |
517 } | 517 } |
518 buildCounterGeoJsonGeometryCollection--; | 518 buildCounterGeoJsonGeometryCollection--; |
519 } | 519 } |
520 | 520 |
521 (o); | 521 (o); |
522 } | 522 } |
523 | 523 |
524 buildUnnamed101() { | 524 buildUnnamed910() { |
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 checkUnnamed101(core.List<api.GeoJsonGeometry> o) { | 531 checkUnnamed910(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 = buildUnnamed101(); | 542 o.geometries = buildUnnamed910(); |
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 checkUnnamed101(o.geometries); | 551 checkUnnamed910(o.geometries); |
552 } | 552 } |
553 buildCounterGeoJsonGeometryCollection--; | 553 buildCounterGeoJsonGeometryCollection--; |
554 } | 554 } |
555 | 555 |
556 buildUnnamed102() { | 556 buildUnnamed911() { |
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 checkUnnamed102(core.List<api.GeoJsonPosition> o) { | 563 checkUnnamed911(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 = buildUnnamed102(); | 574 o.coordinates = buildUnnamed911(); |
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 checkUnnamed102(o.coordinates); | 583 checkUnnamed911(o.coordinates); |
584 } | 584 } |
585 buildCounterGeoJsonLineString--; | 585 buildCounterGeoJsonLineString--; |
586 } | 586 } |
587 | 587 |
588 buildUnnamed103() { | 588 buildUnnamed912() { |
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 checkUnnamed103(core.List<api.GeoJsonPosition> o) { | 595 checkUnnamed912(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 buildUnnamed104() { | 601 buildUnnamed913() { |
602 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 602 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
603 o.add(buildUnnamed103()); | 603 o.add(buildUnnamed912()); |
604 o.add(buildUnnamed103()); | 604 o.add(buildUnnamed912()); |
605 return o; | 605 return o; |
606 } | 606 } |
607 | 607 |
608 checkUnnamed104(core.List<core.List<api.GeoJsonPosition>> o) { | 608 checkUnnamed913(core.List<core.List<api.GeoJsonPosition>> o) { |
609 unittest.expect(o, unittest.hasLength(2)); | 609 unittest.expect(o, unittest.hasLength(2)); |
610 checkUnnamed103(o[0]); | 610 checkUnnamed912(o[0]); |
611 checkUnnamed103(o[1]); | 611 checkUnnamed912(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 = buildUnnamed104(); | 619 o.coordinates = buildUnnamed913(); |
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 checkUnnamed104(o.coordinates); | 628 checkUnnamed913(o.coordinates); |
629 } | 629 } |
630 buildCounterGeoJsonMultiLineString--; | 630 buildCounterGeoJsonMultiLineString--; |
631 } | 631 } |
632 | 632 |
633 buildUnnamed105() { | 633 buildUnnamed914() { |
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 checkUnnamed105(core.List<api.GeoJsonPosition> o) { | 640 checkUnnamed914(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 = buildUnnamed105(); | 651 o.coordinates = buildUnnamed914(); |
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 checkUnnamed105(o.coordinates); | 660 checkUnnamed914(o.coordinates); |
661 } | 661 } |
662 buildCounterGeoJsonMultiPoint--; | 662 buildCounterGeoJsonMultiPoint--; |
663 } | 663 } |
664 | 664 |
665 buildUnnamed106() { | 665 buildUnnamed915() { |
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 checkUnnamed106(core.List<api.GeoJsonPosition> o) { | 672 checkUnnamed915(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 buildUnnamed107() { | 678 buildUnnamed916() { |
679 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 679 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
680 o.add(buildUnnamed106()); | 680 o.add(buildUnnamed915()); |
681 o.add(buildUnnamed106()); | 681 o.add(buildUnnamed915()); |
682 return o; | 682 return o; |
683 } | 683 } |
684 | 684 |
685 checkUnnamed107(core.List<core.List<api.GeoJsonPosition>> o) { | 685 checkUnnamed916(core.List<core.List<api.GeoJsonPosition>> o) { |
686 unittest.expect(o, unittest.hasLength(2)); | 686 unittest.expect(o, unittest.hasLength(2)); |
687 checkUnnamed106(o[0]); | 687 checkUnnamed915(o[0]); |
688 checkUnnamed106(o[1]); | 688 checkUnnamed915(o[1]); |
689 } | 689 } |
690 | 690 |
691 buildUnnamed108() { | 691 buildUnnamed917() { |
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(buildUnnamed107()); | 693 o.add(buildUnnamed916()); |
694 o.add(buildUnnamed107()); | 694 o.add(buildUnnamed916()); |
695 return o; | 695 return o; |
696 } | 696 } |
697 | 697 |
698 checkUnnamed108(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { | 698 checkUnnamed917(core.List<core.List<core.List<api.GeoJsonPosition>>> o) { |
699 unittest.expect(o, unittest.hasLength(2)); | 699 unittest.expect(o, unittest.hasLength(2)); |
700 checkUnnamed107(o[0]); | 700 checkUnnamed916(o[0]); |
701 checkUnnamed107(o[1]); | 701 checkUnnamed916(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 = buildUnnamed108(); | 709 o.coordinates = buildUnnamed917(); |
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 checkUnnamed108(o.coordinates); | 718 checkUnnamed917(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 buildUnnamed109() { | 742 buildUnnamed918() { |
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 checkUnnamed109(core.List<api.GeoJsonPosition> o) { | 749 checkUnnamed918(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 buildUnnamed110() { | 755 buildUnnamed919() { |
756 var o = new core.List<core.List<api.GeoJsonPosition>>(); | 756 var o = new core.List<core.List<api.GeoJsonPosition>>(); |
757 o.add(buildUnnamed109()); | 757 o.add(buildUnnamed918()); |
758 o.add(buildUnnamed109()); | 758 o.add(buildUnnamed918()); |
759 return o; | 759 return o; |
760 } | 760 } |
761 | 761 |
762 checkUnnamed110(core.List<core.List<api.GeoJsonPosition>> o) { | 762 checkUnnamed919(core.List<core.List<api.GeoJsonPosition>> o) { |
763 unittest.expect(o, unittest.hasLength(2)); | 763 unittest.expect(o, unittest.hasLength(2)); |
764 checkUnnamed109(o[0]); | 764 checkUnnamed918(o[0]); |
765 checkUnnamed109(o[1]); | 765 checkUnnamed918(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 = buildUnnamed110(); | 773 o.coordinates = buildUnnamed919(); |
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 checkUnnamed110(o.coordinates); | 782 checkUnnamed919(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...) Expand 10 before | Expand all | Expand 10 after 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 buildUnnamed111() { | 861 buildUnnamed920() { |
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 checkUnnamed111(core.List<api.Icon> o) { | 868 checkUnnamed920(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 = buildUnnamed111(); | 879 o.icons = buildUnnamed920(); |
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 checkUnnamed111(o.icons); | 889 checkUnnamed920(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...) Expand all 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 buildUnnamed112() { | 939 buildUnnamed921() { |
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 checkUnnamed112(core.List<core.double> o) { | 946 checkUnnamed921(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 = buildUnnamed112(); | 957 o.bbox = buildUnnamed921(); |
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 checkUnnamed112(o.bbox); | 985 checkUnnamed921(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 buildUnnamed113() { | 1009 buildUnnamed922() { |
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 checkUnnamed113(core.List<api.Layer> o) { | 1016 checkUnnamed922(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 = buildUnnamed113(); | 1027 o.layers = buildUnnamed922(); |
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 checkUnnamed113(o.layers); | 1037 checkUnnamed922(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 buildUnnamed114() { | 1043 buildUnnamed923() { |
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 checkUnnamed114(core.List<core.double> o) { | 1050 checkUnnamed923(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...) Expand all 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 = buildUnnamed114(); | 1085 o.dash = buildUnnamed923(); |
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 checkUnnamed114(o.dash); | 1097 checkUnnamed923(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 buildUnnamed115() { | 1104 buildUnnamed924() { |
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 checkUnnamed115(core.List<core.double> o) { | 1111 checkUnnamed924(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 buildUnnamed116() { | 1117 buildUnnamed925() { |
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 checkUnnamed116(core.List<core.String> o) { | 1124 checkUnnamed925(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 = buildUnnamed115(); | 1135 o.bbox = buildUnnamed924(); |
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 = buildUnnamed116(); | 1152 o.versions = buildUnnamed925(); |
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 checkUnnamed115(o.bbox); | 1162 checkUnnamed924(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 checkUnnamed116(o.versions); | 1179 checkUnnamed925(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 buildUnnamed117() { | 1198 buildUnnamed926() { |
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 checkUnnamed117(core.List<api.MapItem> o) { | 1205 checkUnnamed926(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 buildUnnamed118() { | 1211 buildUnnamed927() { |
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 checkUnnamed118(core.List<core.double> o) { | 1218 checkUnnamed927(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 = buildUnnamed117(); | 1229 o.contents = buildUnnamed926(); |
1230 o.defaultViewport = buildUnnamed118(); | 1230 o.defaultViewport = buildUnnamed927(); |
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 checkUnnamed117(o.contents); | 1243 checkUnnamed926(o.contents); |
1244 checkUnnamed118(o.defaultViewport); | 1244 checkUnnamed927(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 checkUnnamed117(o.contents); | 1261 checkUnnamed926(o.contents); |
1262 checkUnnamed118(o.defaultViewport); | 1262 checkUnnamed927(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 buildUnnamed119() { | 1274 buildUnnamed928() { |
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 checkUnnamed119(core.List<core.double> o) { | 1281 checkUnnamed928(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 = buildUnnamed119(); | 1292 o.defaultViewport = buildUnnamed928(); |
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 checkUnnamed119(o.defaultViewport); | 1304 checkUnnamed928(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 buildUnnamed120() { | 1312 buildUnnamed929() { |
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 checkUnnamed120(core.List<core.double> o) { | 1319 checkUnnamed929(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 = buildUnnamed120(); | 1330 o.defaultViewport = buildUnnamed929(); |
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 checkUnnamed120(o.defaultViewport); | 1343 checkUnnamed929(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 buildUnnamed121() { | 1352 buildUnnamed930() { |
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 checkUnnamed121(core.List<api.Map> o) { | 1359 checkUnnamed930(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 = buildUnnamed121(); | 1370 o.maps = buildUnnamed930(); |
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 checkUnnamed121(o.maps); | 1380 checkUnnamed930(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 buildUnnamed122() { | 1405 buildUnnamed931() { |
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 checkUnnamed122(core.List<api.Parent> o) { | 1412 checkUnnamed931(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 = buildUnnamed122(); | 1424 o.parents = buildUnnamed931(); |
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 checkUnnamed122(o.parents); | 1434 checkUnnamed931(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 buildUnnamed123() { | 1464 buildUnnamed932() { |
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 checkUnnamed123(core.List<core.String> o) { | 1471 checkUnnamed932(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 = buildUnnamed123(); | 1482 o.ids = buildUnnamed932(); |
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 checkUnnamed123(o.ids); | 1491 checkUnnamed932(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 buildUnnamed124() { | 1513 buildUnnamed933() { |
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 checkUnnamed124(core.List<api.Permission> o) { | 1520 checkUnnamed933(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 = buildUnnamed124(); | 1531 o.permissions = buildUnnamed933(); |
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 checkUnnamed124(o.permissions); | 1540 checkUnnamed933(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 buildUnnamed125() { | 1562 buildUnnamed934() { |
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 checkUnnamed125(core.List<api.Permission> o) { | 1569 checkUnnamed934(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 = buildUnnamed125(); | 1580 o.permissions = buildUnnamed934(); |
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 checkUnnamed125(o.permissions); | 1589 checkUnnamed934(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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 | 1666 |
1667 checkProject(api.Project o) { | 1667 checkProject(api.Project o) { |
1668 buildCounterProject++; | 1668 buildCounterProject++; |
1669 if (buildCounterProject < 3) { | 1669 if (buildCounterProject < 3) { |
1670 unittest.expect(o.id, unittest.equals('foo')); | 1670 unittest.expect(o.id, unittest.equals('foo')); |
1671 unittest.expect(o.name, unittest.equals('foo')); | 1671 unittest.expect(o.name, unittest.equals('foo')); |
1672 } | 1672 } |
1673 buildCounterProject--; | 1673 buildCounterProject--; |
1674 } | 1674 } |
1675 | 1675 |
1676 buildUnnamed126() { | 1676 buildUnnamed935() { |
1677 var o = new core.List<api.Project>(); | 1677 var o = new core.List<api.Project>(); |
1678 o.add(buildProject()); | 1678 o.add(buildProject()); |
1679 o.add(buildProject()); | 1679 o.add(buildProject()); |
1680 return o; | 1680 return o; |
1681 } | 1681 } |
1682 | 1682 |
1683 checkUnnamed126(core.List<api.Project> o) { | 1683 checkUnnamed935(core.List<api.Project> o) { |
1684 unittest.expect(o, unittest.hasLength(2)); | 1684 unittest.expect(o, unittest.hasLength(2)); |
1685 checkProject(o[0]); | 1685 checkProject(o[0]); |
1686 checkProject(o[1]); | 1686 checkProject(o[1]); |
1687 } | 1687 } |
1688 | 1688 |
1689 core.int buildCounterProjectsListResponse = 0; | 1689 core.int buildCounterProjectsListResponse = 0; |
1690 buildProjectsListResponse() { | 1690 buildProjectsListResponse() { |
1691 var o = new api.ProjectsListResponse(); | 1691 var o = new api.ProjectsListResponse(); |
1692 buildCounterProjectsListResponse++; | 1692 buildCounterProjectsListResponse++; |
1693 if (buildCounterProjectsListResponse < 3) { | 1693 if (buildCounterProjectsListResponse < 3) { |
1694 o.projects = buildUnnamed126(); | 1694 o.projects = buildUnnamed935(); |
1695 } | 1695 } |
1696 buildCounterProjectsListResponse--; | 1696 buildCounterProjectsListResponse--; |
1697 return o; | 1697 return o; |
1698 } | 1698 } |
1699 | 1699 |
1700 checkProjectsListResponse(api.ProjectsListResponse o) { | 1700 checkProjectsListResponse(api.ProjectsListResponse o) { |
1701 buildCounterProjectsListResponse++; | 1701 buildCounterProjectsListResponse++; |
1702 if (buildCounterProjectsListResponse < 3) { | 1702 if (buildCounterProjectsListResponse < 3) { |
1703 checkUnnamed126(o.projects); | 1703 checkUnnamed935(o.projects); |
1704 } | 1704 } |
1705 buildCounterProjectsListResponse--; | 1705 buildCounterProjectsListResponse--; |
1706 } | 1706 } |
1707 | 1707 |
1708 core.int buildCounterPublishResponse = 0; | 1708 core.int buildCounterPublishResponse = 0; |
1709 buildPublishResponse() { | 1709 buildPublishResponse() { |
1710 var o = new api.PublishResponse(); | 1710 var o = new api.PublishResponse(); |
1711 buildCounterPublishResponse++; | 1711 buildCounterPublishResponse++; |
1712 if (buildCounterPublishResponse < 3) { | 1712 if (buildCounterPublishResponse < 3) { |
1713 } | 1713 } |
(...skipping 28 matching lines...) Expand all Loading... |
1742 if (buildCounterPublishedLayer < 3) { | 1742 if (buildCounterPublishedLayer < 3) { |
1743 unittest.expect(o.description, unittest.equals('foo')); | 1743 unittest.expect(o.description, unittest.equals('foo')); |
1744 unittest.expect(o.id, unittest.equals('foo')); | 1744 unittest.expect(o.id, unittest.equals('foo')); |
1745 unittest.expect(o.layerType, unittest.equals('foo')); | 1745 unittest.expect(o.layerType, unittest.equals('foo')); |
1746 unittest.expect(o.name, unittest.equals('foo')); | 1746 unittest.expect(o.name, unittest.equals('foo')); |
1747 unittest.expect(o.projectId, unittest.equals('foo')); | 1747 unittest.expect(o.projectId, unittest.equals('foo')); |
1748 } | 1748 } |
1749 buildCounterPublishedLayer--; | 1749 buildCounterPublishedLayer--; |
1750 } | 1750 } |
1751 | 1751 |
1752 buildUnnamed127() { | 1752 buildUnnamed936() { |
1753 var o = new core.List<api.PublishedLayer>(); | 1753 var o = new core.List<api.PublishedLayer>(); |
1754 o.add(buildPublishedLayer()); | 1754 o.add(buildPublishedLayer()); |
1755 o.add(buildPublishedLayer()); | 1755 o.add(buildPublishedLayer()); |
1756 return o; | 1756 return o; |
1757 } | 1757 } |
1758 | 1758 |
1759 checkUnnamed127(core.List<api.PublishedLayer> o) { | 1759 checkUnnamed936(core.List<api.PublishedLayer> o) { |
1760 unittest.expect(o, unittest.hasLength(2)); | 1760 unittest.expect(o, unittest.hasLength(2)); |
1761 checkPublishedLayer(o[0]); | 1761 checkPublishedLayer(o[0]); |
1762 checkPublishedLayer(o[1]); | 1762 checkPublishedLayer(o[1]); |
1763 } | 1763 } |
1764 | 1764 |
1765 core.int buildCounterPublishedLayersListResponse = 0; | 1765 core.int buildCounterPublishedLayersListResponse = 0; |
1766 buildPublishedLayersListResponse() { | 1766 buildPublishedLayersListResponse() { |
1767 var o = new api.PublishedLayersListResponse(); | 1767 var o = new api.PublishedLayersListResponse(); |
1768 buildCounterPublishedLayersListResponse++; | 1768 buildCounterPublishedLayersListResponse++; |
1769 if (buildCounterPublishedLayersListResponse < 3) { | 1769 if (buildCounterPublishedLayersListResponse < 3) { |
1770 o.layers = buildUnnamed127(); | 1770 o.layers = buildUnnamed936(); |
1771 o.nextPageToken = "foo"; | 1771 o.nextPageToken = "foo"; |
1772 } | 1772 } |
1773 buildCounterPublishedLayersListResponse--; | 1773 buildCounterPublishedLayersListResponse--; |
1774 return o; | 1774 return o; |
1775 } | 1775 } |
1776 | 1776 |
1777 checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { | 1777 checkPublishedLayersListResponse(api.PublishedLayersListResponse o) { |
1778 buildCounterPublishedLayersListResponse++; | 1778 buildCounterPublishedLayersListResponse++; |
1779 if (buildCounterPublishedLayersListResponse < 3) { | 1779 if (buildCounterPublishedLayersListResponse < 3) { |
1780 checkUnnamed127(o.layers); | 1780 checkUnnamed936(o.layers); |
1781 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1781 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1782 } | 1782 } |
1783 buildCounterPublishedLayersListResponse--; | 1783 buildCounterPublishedLayersListResponse--; |
1784 } | 1784 } |
1785 | 1785 |
1786 core.int buildCounterPublishedMap = 0; | 1786 core.int buildCounterPublishedMap = 0; |
1787 buildPublishedMap() { | 1787 buildPublishedMap() { |
1788 var o = new api.PublishedMap(); | 1788 var o = new api.PublishedMap(); |
1789 buildCounterPublishedMap++; | 1789 buildCounterPublishedMap++; |
1790 if (buildCounterPublishedMap < 3) { | 1790 if (buildCounterPublishedMap < 3) { |
(...skipping 14 matching lines...) Expand all Loading... |
1805 checkMapContents(o.contents); | 1805 checkMapContents(o.contents); |
1806 checkLatLngBox(o.defaultViewport); | 1806 checkLatLngBox(o.defaultViewport); |
1807 unittest.expect(o.description, unittest.equals('foo')); | 1807 unittest.expect(o.description, unittest.equals('foo')); |
1808 unittest.expect(o.id, unittest.equals('foo')); | 1808 unittest.expect(o.id, unittest.equals('foo')); |
1809 unittest.expect(o.name, unittest.equals('foo')); | 1809 unittest.expect(o.name, unittest.equals('foo')); |
1810 unittest.expect(o.projectId, unittest.equals('foo')); | 1810 unittest.expect(o.projectId, unittest.equals('foo')); |
1811 } | 1811 } |
1812 buildCounterPublishedMap--; | 1812 buildCounterPublishedMap--; |
1813 } | 1813 } |
1814 | 1814 |
1815 buildUnnamed128() { | 1815 buildUnnamed937() { |
1816 var o = new core.List<api.PublishedMap>(); | 1816 var o = new core.List<api.PublishedMap>(); |
1817 o.add(buildPublishedMap()); | 1817 o.add(buildPublishedMap()); |
1818 o.add(buildPublishedMap()); | 1818 o.add(buildPublishedMap()); |
1819 return o; | 1819 return o; |
1820 } | 1820 } |
1821 | 1821 |
1822 checkUnnamed128(core.List<api.PublishedMap> o) { | 1822 checkUnnamed937(core.List<api.PublishedMap> o) { |
1823 unittest.expect(o, unittest.hasLength(2)); | 1823 unittest.expect(o, unittest.hasLength(2)); |
1824 checkPublishedMap(o[0]); | 1824 checkPublishedMap(o[0]); |
1825 checkPublishedMap(o[1]); | 1825 checkPublishedMap(o[1]); |
1826 } | 1826 } |
1827 | 1827 |
1828 core.int buildCounterPublishedMapsListResponse = 0; | 1828 core.int buildCounterPublishedMapsListResponse = 0; |
1829 buildPublishedMapsListResponse() { | 1829 buildPublishedMapsListResponse() { |
1830 var o = new api.PublishedMapsListResponse(); | 1830 var o = new api.PublishedMapsListResponse(); |
1831 buildCounterPublishedMapsListResponse++; | 1831 buildCounterPublishedMapsListResponse++; |
1832 if (buildCounterPublishedMapsListResponse < 3) { | 1832 if (buildCounterPublishedMapsListResponse < 3) { |
1833 o.maps = buildUnnamed128(); | 1833 o.maps = buildUnnamed937(); |
1834 o.nextPageToken = "foo"; | 1834 o.nextPageToken = "foo"; |
1835 } | 1835 } |
1836 buildCounterPublishedMapsListResponse--; | 1836 buildCounterPublishedMapsListResponse--; |
1837 return o; | 1837 return o; |
1838 } | 1838 } |
1839 | 1839 |
1840 checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { | 1840 checkPublishedMapsListResponse(api.PublishedMapsListResponse o) { |
1841 buildCounterPublishedMapsListResponse++; | 1841 buildCounterPublishedMapsListResponse++; |
1842 if (buildCounterPublishedMapsListResponse < 3) { | 1842 if (buildCounterPublishedMapsListResponse < 3) { |
1843 checkUnnamed128(o.maps); | 1843 checkUnnamed937(o.maps); |
1844 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1844 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1845 } | 1845 } |
1846 buildCounterPublishedMapsListResponse--; | 1846 buildCounterPublishedMapsListResponse--; |
1847 } | 1847 } |
1848 | 1848 |
1849 buildUnnamed129() { | 1849 buildUnnamed938() { |
1850 var o = new core.List<core.double>(); | 1850 var o = new core.List<core.double>(); |
1851 o.add(42.0); | 1851 o.add(42.0); |
1852 o.add(42.0); | 1852 o.add(42.0); |
1853 return o; | 1853 return o; |
1854 } | 1854 } |
1855 | 1855 |
1856 checkUnnamed129(core.List<core.double> o) { | 1856 checkUnnamed938(core.List<core.double> o) { |
1857 unittest.expect(o, unittest.hasLength(2)); | 1857 unittest.expect(o, unittest.hasLength(2)); |
1858 unittest.expect(o[0], unittest.equals(42.0)); | 1858 unittest.expect(o[0], unittest.equals(42.0)); |
1859 unittest.expect(o[1], unittest.equals(42.0)); | 1859 unittest.expect(o[1], unittest.equals(42.0)); |
1860 } | 1860 } |
1861 | 1861 |
1862 buildUnnamed130() { | 1862 buildUnnamed939() { |
1863 var o = new core.List<api.File>(); | 1863 var o = new core.List<api.File>(); |
1864 o.add(buildFile()); | 1864 o.add(buildFile()); |
1865 o.add(buildFile()); | 1865 o.add(buildFile()); |
1866 return o; | 1866 return o; |
1867 } | 1867 } |
1868 | 1868 |
1869 checkUnnamed130(core.List<api.File> o) { | 1869 checkUnnamed939(core.List<api.File> o) { |
1870 unittest.expect(o, unittest.hasLength(2)); | 1870 unittest.expect(o, unittest.hasLength(2)); |
1871 checkFile(o[0]); | 1871 checkFile(o[0]); |
1872 checkFile(o[1]); | 1872 checkFile(o[1]); |
1873 } | 1873 } |
1874 | 1874 |
1875 core.int buildCounterRaster = 0; | 1875 core.int buildCounterRaster = 0; |
1876 buildRaster() { | 1876 buildRaster() { |
1877 var o = new api.Raster(); | 1877 var o = new api.Raster(); |
1878 buildCounterRaster++; | 1878 buildCounterRaster++; |
1879 if (buildCounterRaster < 3) { | 1879 if (buildCounterRaster < 3) { |
1880 o.acquisitionTime = buildAcquisitionTime(); | 1880 o.acquisitionTime = buildAcquisitionTime(); |
1881 o.attribution = "foo"; | 1881 o.attribution = "foo"; |
1882 o.bbox = buildUnnamed129(); | 1882 o.bbox = buildUnnamed938(); |
1883 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1883 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1884 o.creatorEmail = "foo"; | 1884 o.creatorEmail = "foo"; |
1885 o.description = "foo"; | 1885 o.description = "foo"; |
1886 o.draftAccessList = "foo"; | 1886 o.draftAccessList = "foo"; |
1887 o.etag = "foo"; | 1887 o.etag = "foo"; |
1888 o.files = buildUnnamed130(); | 1888 o.files = buildUnnamed939(); |
1889 o.id = "foo"; | 1889 o.id = "foo"; |
1890 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1890 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1891 o.lastModifierEmail = "foo"; | 1891 o.lastModifierEmail = "foo"; |
1892 o.maskType = "foo"; | 1892 o.maskType = "foo"; |
1893 o.name = "foo"; | 1893 o.name = "foo"; |
1894 o.processingStatus = "foo"; | 1894 o.processingStatus = "foo"; |
1895 o.projectId = "foo"; | 1895 o.projectId = "foo"; |
1896 o.rasterType = "foo"; | 1896 o.rasterType = "foo"; |
1897 o.tags = buildTags(); | 1897 o.tags = buildTags(); |
1898 o.writersCanEditPermissions = true; | 1898 o.writersCanEditPermissions = true; |
1899 } | 1899 } |
1900 buildCounterRaster--; | 1900 buildCounterRaster--; |
1901 return o; | 1901 return o; |
1902 } | 1902 } |
1903 | 1903 |
1904 checkRaster(api.Raster o) { | 1904 checkRaster(api.Raster o) { |
1905 buildCounterRaster++; | 1905 buildCounterRaster++; |
1906 if (buildCounterRaster < 3) { | 1906 if (buildCounterRaster < 3) { |
1907 checkAcquisitionTime(o.acquisitionTime); | 1907 checkAcquisitionTime(o.acquisitionTime); |
1908 unittest.expect(o.attribution, unittest.equals('foo')); | 1908 unittest.expect(o.attribution, unittest.equals('foo')); |
1909 checkUnnamed129(o.bbox); | 1909 checkUnnamed938(o.bbox); |
1910 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1910 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1911 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1911 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1912 unittest.expect(o.description, unittest.equals('foo')); | 1912 unittest.expect(o.description, unittest.equals('foo')); |
1913 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1913 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1914 unittest.expect(o.etag, unittest.equals('foo')); | 1914 unittest.expect(o.etag, unittest.equals('foo')); |
1915 checkUnnamed130(o.files); | 1915 checkUnnamed939(o.files); |
1916 unittest.expect(o.id, unittest.equals('foo')); | 1916 unittest.expect(o.id, unittest.equals('foo')); |
1917 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1917 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1918 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1918 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1919 unittest.expect(o.maskType, unittest.equals('foo')); | 1919 unittest.expect(o.maskType, unittest.equals('foo')); |
1920 unittest.expect(o.name, unittest.equals('foo')); | 1920 unittest.expect(o.name, unittest.equals('foo')); |
1921 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1921 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1922 unittest.expect(o.projectId, unittest.equals('foo')); | 1922 unittest.expect(o.projectId, unittest.equals('foo')); |
1923 unittest.expect(o.rasterType, unittest.equals('foo')); | 1923 unittest.expect(o.rasterType, unittest.equals('foo')); |
1924 checkTags(o.tags); | 1924 checkTags(o.tags); |
1925 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1925 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1926 } | 1926 } |
1927 buildCounterRaster--; | 1927 buildCounterRaster--; |
1928 } | 1928 } |
1929 | 1929 |
1930 buildUnnamed131() { | 1930 buildUnnamed940() { |
1931 var o = new core.List<core.double>(); | 1931 var o = new core.List<core.double>(); |
1932 o.add(42.0); | 1932 o.add(42.0); |
1933 o.add(42.0); | 1933 o.add(42.0); |
1934 return o; | 1934 return o; |
1935 } | 1935 } |
1936 | 1936 |
1937 checkUnnamed131(core.List<core.double> o) { | 1937 checkUnnamed940(core.List<core.double> o) { |
1938 unittest.expect(o, unittest.hasLength(2)); | 1938 unittest.expect(o, unittest.hasLength(2)); |
1939 unittest.expect(o[0], unittest.equals(42.0)); | 1939 unittest.expect(o[0], unittest.equals(42.0)); |
1940 unittest.expect(o[1], unittest.equals(42.0)); | 1940 unittest.expect(o[1], unittest.equals(42.0)); |
1941 } | 1941 } |
1942 | 1942 |
1943 core.int buildCounterRasterCollection = 0; | 1943 core.int buildCounterRasterCollection = 0; |
1944 buildRasterCollection() { | 1944 buildRasterCollection() { |
1945 var o = new api.RasterCollection(); | 1945 var o = new api.RasterCollection(); |
1946 buildCounterRasterCollection++; | 1946 buildCounterRasterCollection++; |
1947 if (buildCounterRasterCollection < 3) { | 1947 if (buildCounterRasterCollection < 3) { |
1948 o.attribution = "foo"; | 1948 o.attribution = "foo"; |
1949 o.bbox = buildUnnamed131(); | 1949 o.bbox = buildUnnamed940(); |
1950 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1950 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1951 o.creatorEmail = "foo"; | 1951 o.creatorEmail = "foo"; |
1952 o.description = "foo"; | 1952 o.description = "foo"; |
1953 o.draftAccessList = "foo"; | 1953 o.draftAccessList = "foo"; |
1954 o.etag = "foo"; | 1954 o.etag = "foo"; |
1955 o.id = "foo"; | 1955 o.id = "foo"; |
1956 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 1956 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
1957 o.lastModifierEmail = "foo"; | 1957 o.lastModifierEmail = "foo"; |
1958 o.mosaic = true; | 1958 o.mosaic = true; |
1959 o.name = "foo"; | 1959 o.name = "foo"; |
1960 o.processingStatus = "foo"; | 1960 o.processingStatus = "foo"; |
1961 o.projectId = "foo"; | 1961 o.projectId = "foo"; |
1962 o.rasterType = "foo"; | 1962 o.rasterType = "foo"; |
1963 o.tags = buildTags(); | 1963 o.tags = buildTags(); |
1964 o.writersCanEditPermissions = true; | 1964 o.writersCanEditPermissions = true; |
1965 } | 1965 } |
1966 buildCounterRasterCollection--; | 1966 buildCounterRasterCollection--; |
1967 return o; | 1967 return o; |
1968 } | 1968 } |
1969 | 1969 |
1970 checkRasterCollection(api.RasterCollection o) { | 1970 checkRasterCollection(api.RasterCollection o) { |
1971 buildCounterRasterCollection++; | 1971 buildCounterRasterCollection++; |
1972 if (buildCounterRasterCollection < 3) { | 1972 if (buildCounterRasterCollection < 3) { |
1973 unittest.expect(o.attribution, unittest.equals('foo')); | 1973 unittest.expect(o.attribution, unittest.equals('foo')); |
1974 checkUnnamed131(o.bbox); | 1974 checkUnnamed940(o.bbox); |
1975 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1975 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1976 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 1976 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
1977 unittest.expect(o.description, unittest.equals('foo')); | 1977 unittest.expect(o.description, unittest.equals('foo')); |
1978 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 1978 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
1979 unittest.expect(o.etag, unittest.equals('foo')); | 1979 unittest.expect(o.etag, unittest.equals('foo')); |
1980 unittest.expect(o.id, unittest.equals('foo')); | 1980 unittest.expect(o.id, unittest.equals('foo')); |
1981 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1981 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1982 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 1982 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
1983 unittest.expect(o.mosaic, unittest.isTrue); | 1983 unittest.expect(o.mosaic, unittest.isTrue); |
1984 unittest.expect(o.name, unittest.equals('foo')); | 1984 unittest.expect(o.name, unittest.equals('foo')); |
1985 unittest.expect(o.processingStatus, unittest.equals('foo')); | 1985 unittest.expect(o.processingStatus, unittest.equals('foo')); |
1986 unittest.expect(o.projectId, unittest.equals('foo')); | 1986 unittest.expect(o.projectId, unittest.equals('foo')); |
1987 unittest.expect(o.rasterType, unittest.equals('foo')); | 1987 unittest.expect(o.rasterType, unittest.equals('foo')); |
1988 checkTags(o.tags); | 1988 checkTags(o.tags); |
1989 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); | 1989 unittest.expect(o.writersCanEditPermissions, unittest.isTrue); |
1990 } | 1990 } |
1991 buildCounterRasterCollection--; | 1991 buildCounterRasterCollection--; |
1992 } | 1992 } |
1993 | 1993 |
1994 buildUnnamed132() { | 1994 buildUnnamed941() { |
1995 var o = new core.List<api.RasterCollection>(); | 1995 var o = new core.List<api.RasterCollection>(); |
1996 o.add(buildRasterCollection()); | 1996 o.add(buildRasterCollection()); |
1997 o.add(buildRasterCollection()); | 1997 o.add(buildRasterCollection()); |
1998 return o; | 1998 return o; |
1999 } | 1999 } |
2000 | 2000 |
2001 checkUnnamed132(core.List<api.RasterCollection> o) { | 2001 checkUnnamed941(core.List<api.RasterCollection> o) { |
2002 unittest.expect(o, unittest.hasLength(2)); | 2002 unittest.expect(o, unittest.hasLength(2)); |
2003 checkRasterCollection(o[0]); | 2003 checkRasterCollection(o[0]); |
2004 checkRasterCollection(o[1]); | 2004 checkRasterCollection(o[1]); |
2005 } | 2005 } |
2006 | 2006 |
2007 core.int buildCounterRasterCollectionsListResponse = 0; | 2007 core.int buildCounterRasterCollectionsListResponse = 0; |
2008 buildRasterCollectionsListResponse() { | 2008 buildRasterCollectionsListResponse() { |
2009 var o = new api.RasterCollectionsListResponse(); | 2009 var o = new api.RasterCollectionsListResponse(); |
2010 buildCounterRasterCollectionsListResponse++; | 2010 buildCounterRasterCollectionsListResponse++; |
2011 if (buildCounterRasterCollectionsListResponse < 3) { | 2011 if (buildCounterRasterCollectionsListResponse < 3) { |
2012 o.nextPageToken = "foo"; | 2012 o.nextPageToken = "foo"; |
2013 o.rasterCollections = buildUnnamed132(); | 2013 o.rasterCollections = buildUnnamed941(); |
2014 } | 2014 } |
2015 buildCounterRasterCollectionsListResponse--; | 2015 buildCounterRasterCollectionsListResponse--; |
2016 return o; | 2016 return o; |
2017 } | 2017 } |
2018 | 2018 |
2019 checkRasterCollectionsListResponse(api.RasterCollectionsListResponse o) { | 2019 checkRasterCollectionsListResponse(api.RasterCollectionsListResponse o) { |
2020 buildCounterRasterCollectionsListResponse++; | 2020 buildCounterRasterCollectionsListResponse++; |
2021 if (buildCounterRasterCollectionsListResponse < 3) { | 2021 if (buildCounterRasterCollectionsListResponse < 3) { |
2022 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2022 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2023 checkUnnamed132(o.rasterCollections); | 2023 checkUnnamed941(o.rasterCollections); |
2024 } | 2024 } |
2025 buildCounterRasterCollectionsListResponse--; | 2025 buildCounterRasterCollectionsListResponse--; |
2026 } | 2026 } |
2027 | 2027 |
2028 buildUnnamed133() { | 2028 buildUnnamed942() { |
2029 var o = new core.List<core.double>(); | 2029 var o = new core.List<core.double>(); |
2030 o.add(42.0); | 2030 o.add(42.0); |
2031 o.add(42.0); | 2031 o.add(42.0); |
2032 return o; | 2032 return o; |
2033 } | 2033 } |
2034 | 2034 |
2035 checkUnnamed133(core.List<core.double> o) { | 2035 checkUnnamed942(core.List<core.double> o) { |
2036 unittest.expect(o, unittest.hasLength(2)); | 2036 unittest.expect(o, unittest.hasLength(2)); |
2037 unittest.expect(o[0], unittest.equals(42.0)); | 2037 unittest.expect(o[0], unittest.equals(42.0)); |
2038 unittest.expect(o[1], unittest.equals(42.0)); | 2038 unittest.expect(o[1], unittest.equals(42.0)); |
2039 } | 2039 } |
2040 | 2040 |
2041 buildUnnamed134() { | 2041 buildUnnamed943() { |
2042 var o = new core.List<core.String>(); | 2042 var o = new core.List<core.String>(); |
2043 o.add("foo"); | 2043 o.add("foo"); |
2044 o.add("foo"); | 2044 o.add("foo"); |
2045 return o; | 2045 return o; |
2046 } | 2046 } |
2047 | 2047 |
2048 checkUnnamed134(core.List<core.String> o) { | 2048 checkUnnamed943(core.List<core.String> o) { |
2049 unittest.expect(o, unittest.hasLength(2)); | 2049 unittest.expect(o, unittest.hasLength(2)); |
2050 unittest.expect(o[0], unittest.equals('foo')); | 2050 unittest.expect(o[0], unittest.equals('foo')); |
2051 unittest.expect(o[1], unittest.equals('foo')); | 2051 unittest.expect(o[1], unittest.equals('foo')); |
2052 } | 2052 } |
2053 | 2053 |
2054 core.int buildCounterRasterCollectionsRaster = 0; | 2054 core.int buildCounterRasterCollectionsRaster = 0; |
2055 buildRasterCollectionsRaster() { | 2055 buildRasterCollectionsRaster() { |
2056 var o = new api.RasterCollectionsRaster(); | 2056 var o = new api.RasterCollectionsRaster(); |
2057 buildCounterRasterCollectionsRaster++; | 2057 buildCounterRasterCollectionsRaster++; |
2058 if (buildCounterRasterCollectionsRaster < 3) { | 2058 if (buildCounterRasterCollectionsRaster < 3) { |
2059 o.bbox = buildUnnamed133(); | 2059 o.bbox = buildUnnamed942(); |
2060 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2060 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2061 o.description = "foo"; | 2061 o.description = "foo"; |
2062 o.id = "foo"; | 2062 o.id = "foo"; |
2063 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2063 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2064 o.name = "foo"; | 2064 o.name = "foo"; |
2065 o.projectId = "foo"; | 2065 o.projectId = "foo"; |
2066 o.rasterType = "foo"; | 2066 o.rasterType = "foo"; |
2067 o.tags = buildUnnamed134(); | 2067 o.tags = buildUnnamed943(); |
2068 } | 2068 } |
2069 buildCounterRasterCollectionsRaster--; | 2069 buildCounterRasterCollectionsRaster--; |
2070 return o; | 2070 return o; |
2071 } | 2071 } |
2072 | 2072 |
2073 checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { | 2073 checkRasterCollectionsRaster(api.RasterCollectionsRaster o) { |
2074 buildCounterRasterCollectionsRaster++; | 2074 buildCounterRasterCollectionsRaster++; |
2075 if (buildCounterRasterCollectionsRaster < 3) { | 2075 if (buildCounterRasterCollectionsRaster < 3) { |
2076 checkUnnamed133(o.bbox); | 2076 checkUnnamed942(o.bbox); |
2077 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2077 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2078 unittest.expect(o.description, unittest.equals('foo')); | 2078 unittest.expect(o.description, unittest.equals('foo')); |
2079 unittest.expect(o.id, unittest.equals('foo')); | 2079 unittest.expect(o.id, unittest.equals('foo')); |
2080 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2080 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2081 unittest.expect(o.name, unittest.equals('foo')); | 2081 unittest.expect(o.name, unittest.equals('foo')); |
2082 unittest.expect(o.projectId, unittest.equals('foo')); | 2082 unittest.expect(o.projectId, unittest.equals('foo')); |
2083 unittest.expect(o.rasterType, unittest.equals('foo')); | 2083 unittest.expect(o.rasterType, unittest.equals('foo')); |
2084 checkUnnamed134(o.tags); | 2084 checkUnnamed943(o.tags); |
2085 } | 2085 } |
2086 buildCounterRasterCollectionsRaster--; | 2086 buildCounterRasterCollectionsRaster--; |
2087 } | 2087 } |
2088 | 2088 |
2089 buildUnnamed135() { | 2089 buildUnnamed944() { |
2090 var o = new core.List<core.String>(); | 2090 var o = new core.List<core.String>(); |
2091 o.add("foo"); | 2091 o.add("foo"); |
2092 o.add("foo"); | 2092 o.add("foo"); |
2093 return o; | 2093 return o; |
2094 } | 2094 } |
2095 | 2095 |
2096 checkUnnamed135(core.List<core.String> o) { | 2096 checkUnnamed944(core.List<core.String> o) { |
2097 unittest.expect(o, unittest.hasLength(2)); | 2097 unittest.expect(o, unittest.hasLength(2)); |
2098 unittest.expect(o[0], unittest.equals('foo')); | 2098 unittest.expect(o[0], unittest.equals('foo')); |
2099 unittest.expect(o[1], unittest.equals('foo')); | 2099 unittest.expect(o[1], unittest.equals('foo')); |
2100 } | 2100 } |
2101 | 2101 |
2102 core.int buildCounterRasterCollectionsRasterBatchDeleteRequest = 0; | 2102 core.int buildCounterRasterCollectionsRasterBatchDeleteRequest = 0; |
2103 buildRasterCollectionsRasterBatchDeleteRequest() { | 2103 buildRasterCollectionsRasterBatchDeleteRequest() { |
2104 var o = new api.RasterCollectionsRasterBatchDeleteRequest(); | 2104 var o = new api.RasterCollectionsRasterBatchDeleteRequest(); |
2105 buildCounterRasterCollectionsRasterBatchDeleteRequest++; | 2105 buildCounterRasterCollectionsRasterBatchDeleteRequest++; |
2106 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { | 2106 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { |
2107 o.ids = buildUnnamed135(); | 2107 o.ids = buildUnnamed944(); |
2108 } | 2108 } |
2109 buildCounterRasterCollectionsRasterBatchDeleteRequest--; | 2109 buildCounterRasterCollectionsRasterBatchDeleteRequest--; |
2110 return o; | 2110 return o; |
2111 } | 2111 } |
2112 | 2112 |
2113 checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchD
eleteRequest o) { | 2113 checkRasterCollectionsRasterBatchDeleteRequest(api.RasterCollectionsRasterBatchD
eleteRequest o) { |
2114 buildCounterRasterCollectionsRasterBatchDeleteRequest++; | 2114 buildCounterRasterCollectionsRasterBatchDeleteRequest++; |
2115 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { | 2115 if (buildCounterRasterCollectionsRasterBatchDeleteRequest < 3) { |
2116 checkUnnamed135(o.ids); | 2116 checkUnnamed944(o.ids); |
2117 } | 2117 } |
2118 buildCounterRasterCollectionsRasterBatchDeleteRequest--; | 2118 buildCounterRasterCollectionsRasterBatchDeleteRequest--; |
2119 } | 2119 } |
2120 | 2120 |
2121 core.int buildCounterRasterCollectionsRastersBatchDeleteResponse = 0; | 2121 core.int buildCounterRasterCollectionsRastersBatchDeleteResponse = 0; |
2122 buildRasterCollectionsRastersBatchDeleteResponse() { | 2122 buildRasterCollectionsRastersBatchDeleteResponse() { |
2123 var o = new api.RasterCollectionsRastersBatchDeleteResponse(); | 2123 var o = new api.RasterCollectionsRastersBatchDeleteResponse(); |
2124 buildCounterRasterCollectionsRastersBatchDeleteResponse++; | 2124 buildCounterRasterCollectionsRastersBatchDeleteResponse++; |
2125 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { | 2125 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { |
2126 } | 2126 } |
2127 buildCounterRasterCollectionsRastersBatchDeleteResponse--; | 2127 buildCounterRasterCollectionsRastersBatchDeleteResponse--; |
2128 return o; | 2128 return o; |
2129 } | 2129 } |
2130 | 2130 |
2131 checkRasterCollectionsRastersBatchDeleteResponse(api.RasterCollectionsRastersBat
chDeleteResponse o) { | 2131 checkRasterCollectionsRastersBatchDeleteResponse(api.RasterCollectionsRastersBat
chDeleteResponse o) { |
2132 buildCounterRasterCollectionsRastersBatchDeleteResponse++; | 2132 buildCounterRasterCollectionsRastersBatchDeleteResponse++; |
2133 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { | 2133 if (buildCounterRasterCollectionsRastersBatchDeleteResponse < 3) { |
2134 } | 2134 } |
2135 buildCounterRasterCollectionsRastersBatchDeleteResponse--; | 2135 buildCounterRasterCollectionsRastersBatchDeleteResponse--; |
2136 } | 2136 } |
2137 | 2137 |
2138 buildUnnamed136() { | 2138 buildUnnamed945() { |
2139 var o = new core.List<core.String>(); | 2139 var o = new core.List<core.String>(); |
2140 o.add("foo"); | 2140 o.add("foo"); |
2141 o.add("foo"); | 2141 o.add("foo"); |
2142 return o; | 2142 return o; |
2143 } | 2143 } |
2144 | 2144 |
2145 checkUnnamed136(core.List<core.String> o) { | 2145 checkUnnamed945(core.List<core.String> o) { |
2146 unittest.expect(o, unittest.hasLength(2)); | 2146 unittest.expect(o, unittest.hasLength(2)); |
2147 unittest.expect(o[0], unittest.equals('foo')); | 2147 unittest.expect(o[0], unittest.equals('foo')); |
2148 unittest.expect(o[1], unittest.equals('foo')); | 2148 unittest.expect(o[1], unittest.equals('foo')); |
2149 } | 2149 } |
2150 | 2150 |
2151 core.int buildCounterRasterCollectionsRastersBatchInsertRequest = 0; | 2151 core.int buildCounterRasterCollectionsRastersBatchInsertRequest = 0; |
2152 buildRasterCollectionsRastersBatchInsertRequest() { | 2152 buildRasterCollectionsRastersBatchInsertRequest() { |
2153 var o = new api.RasterCollectionsRastersBatchInsertRequest(); | 2153 var o = new api.RasterCollectionsRastersBatchInsertRequest(); |
2154 buildCounterRasterCollectionsRastersBatchInsertRequest++; | 2154 buildCounterRasterCollectionsRastersBatchInsertRequest++; |
2155 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { | 2155 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { |
2156 o.ids = buildUnnamed136(); | 2156 o.ids = buildUnnamed945(); |
2157 } | 2157 } |
2158 buildCounterRasterCollectionsRastersBatchInsertRequest--; | 2158 buildCounterRasterCollectionsRastersBatchInsertRequest--; |
2159 return o; | 2159 return o; |
2160 } | 2160 } |
2161 | 2161 |
2162 checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatc
hInsertRequest o) { | 2162 checkRasterCollectionsRastersBatchInsertRequest(api.RasterCollectionsRastersBatc
hInsertRequest o) { |
2163 buildCounterRasterCollectionsRastersBatchInsertRequest++; | 2163 buildCounterRasterCollectionsRastersBatchInsertRequest++; |
2164 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { | 2164 if (buildCounterRasterCollectionsRastersBatchInsertRequest < 3) { |
2165 checkUnnamed136(o.ids); | 2165 checkUnnamed945(o.ids); |
2166 } | 2166 } |
2167 buildCounterRasterCollectionsRastersBatchInsertRequest--; | 2167 buildCounterRasterCollectionsRastersBatchInsertRequest--; |
2168 } | 2168 } |
2169 | 2169 |
2170 core.int buildCounterRasterCollectionsRastersBatchInsertResponse = 0; | 2170 core.int buildCounterRasterCollectionsRastersBatchInsertResponse = 0; |
2171 buildRasterCollectionsRastersBatchInsertResponse() { | 2171 buildRasterCollectionsRastersBatchInsertResponse() { |
2172 var o = new api.RasterCollectionsRastersBatchInsertResponse(); | 2172 var o = new api.RasterCollectionsRastersBatchInsertResponse(); |
2173 buildCounterRasterCollectionsRastersBatchInsertResponse++; | 2173 buildCounterRasterCollectionsRastersBatchInsertResponse++; |
2174 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { | 2174 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { |
2175 } | 2175 } |
2176 buildCounterRasterCollectionsRastersBatchInsertResponse--; | 2176 buildCounterRasterCollectionsRastersBatchInsertResponse--; |
2177 return o; | 2177 return o; |
2178 } | 2178 } |
2179 | 2179 |
2180 checkRasterCollectionsRastersBatchInsertResponse(api.RasterCollectionsRastersBat
chInsertResponse o) { | 2180 checkRasterCollectionsRastersBatchInsertResponse(api.RasterCollectionsRastersBat
chInsertResponse o) { |
2181 buildCounterRasterCollectionsRastersBatchInsertResponse++; | 2181 buildCounterRasterCollectionsRastersBatchInsertResponse++; |
2182 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { | 2182 if (buildCounterRasterCollectionsRastersBatchInsertResponse < 3) { |
2183 } | 2183 } |
2184 buildCounterRasterCollectionsRastersBatchInsertResponse--; | 2184 buildCounterRasterCollectionsRastersBatchInsertResponse--; |
2185 } | 2185 } |
2186 | 2186 |
2187 buildUnnamed137() { | 2187 buildUnnamed946() { |
2188 var o = new core.List<api.RasterCollectionsRaster>(); | 2188 var o = new core.List<api.RasterCollectionsRaster>(); |
2189 o.add(buildRasterCollectionsRaster()); | 2189 o.add(buildRasterCollectionsRaster()); |
2190 o.add(buildRasterCollectionsRaster()); | 2190 o.add(buildRasterCollectionsRaster()); |
2191 return o; | 2191 return o; |
2192 } | 2192 } |
2193 | 2193 |
2194 checkUnnamed137(core.List<api.RasterCollectionsRaster> o) { | 2194 checkUnnamed946(core.List<api.RasterCollectionsRaster> o) { |
2195 unittest.expect(o, unittest.hasLength(2)); | 2195 unittest.expect(o, unittest.hasLength(2)); |
2196 checkRasterCollectionsRaster(o[0]); | 2196 checkRasterCollectionsRaster(o[0]); |
2197 checkRasterCollectionsRaster(o[1]); | 2197 checkRasterCollectionsRaster(o[1]); |
2198 } | 2198 } |
2199 | 2199 |
2200 core.int buildCounterRasterCollectionsRastersListResponse = 0; | 2200 core.int buildCounterRasterCollectionsRastersListResponse = 0; |
2201 buildRasterCollectionsRastersListResponse() { | 2201 buildRasterCollectionsRastersListResponse() { |
2202 var o = new api.RasterCollectionsRastersListResponse(); | 2202 var o = new api.RasterCollectionsRastersListResponse(); |
2203 buildCounterRasterCollectionsRastersListResponse++; | 2203 buildCounterRasterCollectionsRastersListResponse++; |
2204 if (buildCounterRasterCollectionsRastersListResponse < 3) { | 2204 if (buildCounterRasterCollectionsRastersListResponse < 3) { |
2205 o.nextPageToken = "foo"; | 2205 o.nextPageToken = "foo"; |
2206 o.rasters = buildUnnamed137(); | 2206 o.rasters = buildUnnamed946(); |
2207 } | 2207 } |
2208 buildCounterRasterCollectionsRastersListResponse--; | 2208 buildCounterRasterCollectionsRastersListResponse--; |
2209 return o; | 2209 return o; |
2210 } | 2210 } |
2211 | 2211 |
2212 checkRasterCollectionsRastersListResponse(api.RasterCollectionsRastersListRespon
se o) { | 2212 checkRasterCollectionsRastersListResponse(api.RasterCollectionsRastersListRespon
se o) { |
2213 buildCounterRasterCollectionsRastersListResponse++; | 2213 buildCounterRasterCollectionsRastersListResponse++; |
2214 if (buildCounterRasterCollectionsRastersListResponse < 3) { | 2214 if (buildCounterRasterCollectionsRastersListResponse < 3) { |
2215 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2215 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2216 checkUnnamed137(o.rasters); | 2216 checkUnnamed946(o.rasters); |
2217 } | 2217 } |
2218 buildCounterRasterCollectionsRastersListResponse--; | 2218 buildCounterRasterCollectionsRastersListResponse--; |
2219 } | 2219 } |
2220 | 2220 |
2221 buildUnnamed138() { | 2221 buildUnnamed947() { |
2222 var o = new core.List<api.Raster>(); | 2222 var o = new core.List<api.Raster>(); |
2223 o.add(buildRaster()); | 2223 o.add(buildRaster()); |
2224 o.add(buildRaster()); | 2224 o.add(buildRaster()); |
2225 return o; | 2225 return o; |
2226 } | 2226 } |
2227 | 2227 |
2228 checkUnnamed138(core.List<api.Raster> o) { | 2228 checkUnnamed947(core.List<api.Raster> o) { |
2229 unittest.expect(o, unittest.hasLength(2)); | 2229 unittest.expect(o, unittest.hasLength(2)); |
2230 checkRaster(o[0]); | 2230 checkRaster(o[0]); |
2231 checkRaster(o[1]); | 2231 checkRaster(o[1]); |
2232 } | 2232 } |
2233 | 2233 |
2234 core.int buildCounterRastersListResponse = 0; | 2234 core.int buildCounterRastersListResponse = 0; |
2235 buildRastersListResponse() { | 2235 buildRastersListResponse() { |
2236 var o = new api.RastersListResponse(); | 2236 var o = new api.RastersListResponse(); |
2237 buildCounterRastersListResponse++; | 2237 buildCounterRastersListResponse++; |
2238 if (buildCounterRastersListResponse < 3) { | 2238 if (buildCounterRastersListResponse < 3) { |
2239 o.nextPageToken = "foo"; | 2239 o.nextPageToken = "foo"; |
2240 o.rasters = buildUnnamed138(); | 2240 o.rasters = buildUnnamed947(); |
2241 } | 2241 } |
2242 buildCounterRastersListResponse--; | 2242 buildCounterRastersListResponse--; |
2243 return o; | 2243 return o; |
2244 } | 2244 } |
2245 | 2245 |
2246 checkRastersListResponse(api.RastersListResponse o) { | 2246 checkRastersListResponse(api.RastersListResponse o) { |
2247 buildCounterRastersListResponse++; | 2247 buildCounterRastersListResponse++; |
2248 if (buildCounterRastersListResponse < 3) { | 2248 if (buildCounterRastersListResponse < 3) { |
2249 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2249 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2250 checkUnnamed138(o.rasters); | 2250 checkUnnamed947(o.rasters); |
2251 } | 2251 } |
2252 buildCounterRastersListResponse--; | 2252 buildCounterRastersListResponse--; |
2253 } | 2253 } |
2254 | 2254 |
2255 core.int buildCounterScaledShape = 0; | 2255 core.int buildCounterScaledShape = 0; |
2256 buildScaledShape() { | 2256 buildScaledShape() { |
2257 var o = new api.ScaledShape(); | 2257 var o = new api.ScaledShape(); |
2258 buildCounterScaledShape++; | 2258 buildCounterScaledShape++; |
2259 if (buildCounterScaledShape < 3) { | 2259 if (buildCounterScaledShape < 3) { |
2260 o.border = buildBorder(); | 2260 o.border = buildBorder(); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2293 buildCounterScalingFunction++; | 2293 buildCounterScalingFunction++; |
2294 if (buildCounterScalingFunction < 3) { | 2294 if (buildCounterScalingFunction < 3) { |
2295 unittest.expect(o.column, unittest.equals('foo')); | 2295 unittest.expect(o.column, unittest.equals('foo')); |
2296 unittest.expect(o.scalingType, unittest.equals('foo')); | 2296 unittest.expect(o.scalingType, unittest.equals('foo')); |
2297 checkSizeRange(o.sizeRange); | 2297 checkSizeRange(o.sizeRange); |
2298 checkValueRange(o.valueRange); | 2298 checkValueRange(o.valueRange); |
2299 } | 2299 } |
2300 buildCounterScalingFunction--; | 2300 buildCounterScalingFunction--; |
2301 } | 2301 } |
2302 | 2302 |
2303 buildUnnamed139() { | 2303 buildUnnamed948() { |
2304 var o = new core.List<api.TableColumn>(); | 2304 var o = new core.List<api.TableColumn>(); |
2305 o.add(buildTableColumn()); | 2305 o.add(buildTableColumn()); |
2306 o.add(buildTableColumn()); | 2306 o.add(buildTableColumn()); |
2307 return o; | 2307 return o; |
2308 } | 2308 } |
2309 | 2309 |
2310 checkUnnamed139(core.List<api.TableColumn> o) { | 2310 checkUnnamed948(core.List<api.TableColumn> o) { |
2311 unittest.expect(o, unittest.hasLength(2)); | 2311 unittest.expect(o, unittest.hasLength(2)); |
2312 checkTableColumn(o[0]); | 2312 checkTableColumn(o[0]); |
2313 checkTableColumn(o[1]); | 2313 checkTableColumn(o[1]); |
2314 } | 2314 } |
2315 | 2315 |
2316 core.int buildCounterSchema = 0; | 2316 core.int buildCounterSchema = 0; |
2317 buildSchema() { | 2317 buildSchema() { |
2318 var o = new api.Schema(); | 2318 var o = new api.Schema(); |
2319 buildCounterSchema++; | 2319 buildCounterSchema++; |
2320 if (buildCounterSchema < 3) { | 2320 if (buildCounterSchema < 3) { |
2321 o.columns = buildUnnamed139(); | 2321 o.columns = buildUnnamed948(); |
2322 o.primaryGeometry = "foo"; | 2322 o.primaryGeometry = "foo"; |
2323 o.primaryKey = "foo"; | 2323 o.primaryKey = "foo"; |
2324 } | 2324 } |
2325 buildCounterSchema--; | 2325 buildCounterSchema--; |
2326 return o; | 2326 return o; |
2327 } | 2327 } |
2328 | 2328 |
2329 checkSchema(api.Schema o) { | 2329 checkSchema(api.Schema o) { |
2330 buildCounterSchema++; | 2330 buildCounterSchema++; |
2331 if (buildCounterSchema < 3) { | 2331 if (buildCounterSchema < 3) { |
2332 checkUnnamed139(o.columns); | 2332 checkUnnamed948(o.columns); |
2333 unittest.expect(o.primaryGeometry, unittest.equals('foo')); | 2333 unittest.expect(o.primaryGeometry, unittest.equals('foo')); |
2334 unittest.expect(o.primaryKey, unittest.equals('foo')); | 2334 unittest.expect(o.primaryKey, unittest.equals('foo')); |
2335 } | 2335 } |
2336 buildCounterSchema--; | 2336 buildCounterSchema--; |
2337 } | 2337 } |
2338 | 2338 |
2339 core.int buildCounterSizeRange = 0; | 2339 core.int buildCounterSizeRange = 0; |
2340 buildSizeRange() { | 2340 buildSizeRange() { |
2341 var o = new api.SizeRange(); | 2341 var o = new api.SizeRange(); |
2342 buildCounterSizeRange++; | 2342 buildCounterSizeRange++; |
2343 if (buildCounterSizeRange < 3) { | 2343 if (buildCounterSizeRange < 3) { |
2344 o.max = 42.0; | 2344 o.max = 42.0; |
2345 o.min = 42.0; | 2345 o.min = 42.0; |
2346 } | 2346 } |
2347 buildCounterSizeRange--; | 2347 buildCounterSizeRange--; |
2348 return o; | 2348 return o; |
2349 } | 2349 } |
2350 | 2350 |
2351 checkSizeRange(api.SizeRange o) { | 2351 checkSizeRange(api.SizeRange o) { |
2352 buildCounterSizeRange++; | 2352 buildCounterSizeRange++; |
2353 if (buildCounterSizeRange < 3) { | 2353 if (buildCounterSizeRange < 3) { |
2354 unittest.expect(o.max, unittest.equals(42.0)); | 2354 unittest.expect(o.max, unittest.equals(42.0)); |
2355 unittest.expect(o.min, unittest.equals(42.0)); | 2355 unittest.expect(o.min, unittest.equals(42.0)); |
2356 } | 2356 } |
2357 buildCounterSizeRange--; | 2357 buildCounterSizeRange--; |
2358 } | 2358 } |
2359 | 2359 |
2360 buildUnnamed140() { | 2360 buildUnnamed949() { |
2361 var o = new core.List<core.double>(); | 2361 var o = new core.List<core.double>(); |
2362 o.add(42.0); | 2362 o.add(42.0); |
2363 o.add(42.0); | 2363 o.add(42.0); |
2364 return o; | 2364 return o; |
2365 } | 2365 } |
2366 | 2366 |
2367 checkUnnamed140(core.List<core.double> o) { | 2367 checkUnnamed949(core.List<core.double> o) { |
2368 unittest.expect(o, unittest.hasLength(2)); | 2368 unittest.expect(o, unittest.hasLength(2)); |
2369 unittest.expect(o[0], unittest.equals(42.0)); | 2369 unittest.expect(o[0], unittest.equals(42.0)); |
2370 unittest.expect(o[1], unittest.equals(42.0)); | 2370 unittest.expect(o[1], unittest.equals(42.0)); |
2371 } | 2371 } |
2372 | 2372 |
2373 buildUnnamed141() { | 2373 buildUnnamed950() { |
2374 var o = new core.List<api.File>(); | 2374 var o = new core.List<api.File>(); |
2375 o.add(buildFile()); | 2375 o.add(buildFile()); |
2376 o.add(buildFile()); | 2376 o.add(buildFile()); |
2377 return o; | 2377 return o; |
2378 } | 2378 } |
2379 | 2379 |
2380 checkUnnamed141(core.List<api.File> o) { | 2380 checkUnnamed950(core.List<api.File> o) { |
2381 unittest.expect(o, unittest.hasLength(2)); | 2381 unittest.expect(o, unittest.hasLength(2)); |
2382 checkFile(o[0]); | 2382 checkFile(o[0]); |
2383 checkFile(o[1]); | 2383 checkFile(o[1]); |
2384 } | 2384 } |
2385 | 2385 |
2386 core.int buildCounterTable = 0; | 2386 core.int buildCounterTable = 0; |
2387 buildTable() { | 2387 buildTable() { |
2388 var o = new api.Table(); | 2388 var o = new api.Table(); |
2389 buildCounterTable++; | 2389 buildCounterTable++; |
2390 if (buildCounterTable < 3) { | 2390 if (buildCounterTable < 3) { |
2391 o.bbox = buildUnnamed140(); | 2391 o.bbox = buildUnnamed949(); |
2392 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2392 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2393 o.creatorEmail = "foo"; | 2393 o.creatorEmail = "foo"; |
2394 o.description = "foo"; | 2394 o.description = "foo"; |
2395 o.draftAccessList = "foo"; | 2395 o.draftAccessList = "foo"; |
2396 o.etag = "foo"; | 2396 o.etag = "foo"; |
2397 o.files = buildUnnamed141(); | 2397 o.files = buildUnnamed950(); |
2398 o.id = "foo"; | 2398 o.id = "foo"; |
2399 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 2399 o.lastModifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
2400 o.lastModifierEmail = "foo"; | 2400 o.lastModifierEmail = "foo"; |
2401 o.name = "foo"; | 2401 o.name = "foo"; |
2402 o.processingStatus = "foo"; | 2402 o.processingStatus = "foo"; |
2403 o.projectId = "foo"; | 2403 o.projectId = "foo"; |
2404 o.publishedAccessList = "foo"; | 2404 o.publishedAccessList = "foo"; |
2405 o.schema = buildSchema(); | 2405 o.schema = buildSchema(); |
2406 o.sourceEncoding = "foo"; | 2406 o.sourceEncoding = "foo"; |
2407 o.tags = buildTags(); | 2407 o.tags = buildTags(); |
2408 o.writersCanEditPermissions = true; | 2408 o.writersCanEditPermissions = true; |
2409 } | 2409 } |
2410 buildCounterTable--; | 2410 buildCounterTable--; |
2411 return o; | 2411 return o; |
2412 } | 2412 } |
2413 | 2413 |
2414 checkTable(api.Table o) { | 2414 checkTable(api.Table o) { |
2415 buildCounterTable++; | 2415 buildCounterTable++; |
2416 if (buildCounterTable < 3) { | 2416 if (buildCounterTable < 3) { |
2417 checkUnnamed140(o.bbox); | 2417 checkUnnamed949(o.bbox); |
2418 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 2418 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
2419 unittest.expect(o.creatorEmail, unittest.equals('foo')); | 2419 unittest.expect(o.creatorEmail, unittest.equals('foo')); |
2420 unittest.expect(o.description, unittest.equals('foo')); | 2420 unittest.expect(o.description, unittest.equals('foo')); |
2421 unittest.expect(o.draftAccessList, unittest.equals('foo')); | 2421 unittest.expect(o.draftAccessList, unittest.equals('foo')); |
2422 unittest.expect(o.etag, unittest.equals('foo')); | 2422 unittest.expect(o.etag, unittest.equals('foo')); |
2423 checkUnnamed141(o.files); | 2423 checkUnnamed950(o.files); |
2424 unittest.expect(o.id, unittest.equals('foo')); | 2424 unittest.expect(o.id, unittest.equals('foo')); |
2425 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 2425 unittest.expect(o.lastModifiedTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
2426 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); | 2426 unittest.expect(o.lastModifierEmail, unittest.equals('foo')); |
2427 unittest.expect(o.name, unittest.equals('foo')); | 2427 unittest.expect(o.name, unittest.equals('foo')); |
2428 unittest.expect(o.processingStatus, unittest.equals('foo')); | 2428 unittest.expect(o.processingStatus, unittest.equals('foo')); |
2429 unittest.expect(o.projectId, unittest.equals('foo')); | 2429 unittest.expect(o.projectId, unittest.equals('foo')); |
2430 unittest.expect(o.publishedAccessList, unittest.equals('foo')); | 2430 unittest.expect(o.publishedAccessList, unittest.equals('foo')); |
2431 checkSchema(o.schema); | 2431 checkSchema(o.schema); |
2432 unittest.expect(o.sourceEncoding, unittest.equals('foo')); | 2432 unittest.expect(o.sourceEncoding, unittest.equals('foo')); |
2433 checkTags(o.tags); | 2433 checkTags(o.tags); |
(...skipping 16 matching lines...) Expand all Loading... |
2450 | 2450 |
2451 checkTableColumn(api.TableColumn o) { | 2451 checkTableColumn(api.TableColumn o) { |
2452 buildCounterTableColumn++; | 2452 buildCounterTableColumn++; |
2453 if (buildCounterTableColumn < 3) { | 2453 if (buildCounterTableColumn < 3) { |
2454 unittest.expect(o.name, unittest.equals('foo')); | 2454 unittest.expect(o.name, unittest.equals('foo')); |
2455 unittest.expect(o.type, unittest.equals('foo')); | 2455 unittest.expect(o.type, unittest.equals('foo')); |
2456 } | 2456 } |
2457 buildCounterTableColumn--; | 2457 buildCounterTableColumn--; |
2458 } | 2458 } |
2459 | 2459 |
2460 buildUnnamed142() { | 2460 buildUnnamed951() { |
2461 var o = new core.List<api.Table>(); | 2461 var o = new core.List<api.Table>(); |
2462 o.add(buildTable()); | 2462 o.add(buildTable()); |
2463 o.add(buildTable()); | 2463 o.add(buildTable()); |
2464 return o; | 2464 return o; |
2465 } | 2465 } |
2466 | 2466 |
2467 checkUnnamed142(core.List<api.Table> o) { | 2467 checkUnnamed951(core.List<api.Table> o) { |
2468 unittest.expect(o, unittest.hasLength(2)); | 2468 unittest.expect(o, unittest.hasLength(2)); |
2469 checkTable(o[0]); | 2469 checkTable(o[0]); |
2470 checkTable(o[1]); | 2470 checkTable(o[1]); |
2471 } | 2471 } |
2472 | 2472 |
2473 core.int buildCounterTablesListResponse = 0; | 2473 core.int buildCounterTablesListResponse = 0; |
2474 buildTablesListResponse() { | 2474 buildTablesListResponse() { |
2475 var o = new api.TablesListResponse(); | 2475 var o = new api.TablesListResponse(); |
2476 buildCounterTablesListResponse++; | 2476 buildCounterTablesListResponse++; |
2477 if (buildCounterTablesListResponse < 3) { | 2477 if (buildCounterTablesListResponse < 3) { |
2478 o.nextPageToken = "foo"; | 2478 o.nextPageToken = "foo"; |
2479 o.tables = buildUnnamed142(); | 2479 o.tables = buildUnnamed951(); |
2480 } | 2480 } |
2481 buildCounterTablesListResponse--; | 2481 buildCounterTablesListResponse--; |
2482 return o; | 2482 return o; |
2483 } | 2483 } |
2484 | 2484 |
2485 checkTablesListResponse(api.TablesListResponse o) { | 2485 checkTablesListResponse(api.TablesListResponse o) { |
2486 buildCounterTablesListResponse++; | 2486 buildCounterTablesListResponse++; |
2487 if (buildCounterTablesListResponse < 3) { | 2487 if (buildCounterTablesListResponse < 3) { |
2488 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2488 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2489 checkUnnamed142(o.tables); | 2489 checkUnnamed951(o.tables); |
2490 } | 2490 } |
2491 buildCounterTablesListResponse--; | 2491 buildCounterTablesListResponse--; |
2492 } | 2492 } |
2493 | 2493 |
2494 buildTags() { | 2494 buildTags() { |
2495 var o = new api.Tags(); | 2495 var o = new api.Tags(); |
2496 o.add("foo"); | 2496 o.add("foo"); |
2497 o.add("foo"); | 2497 o.add("foo"); |
2498 return o; | 2498 return o; |
2499 } | 2499 } |
(...skipping 18 matching lines...) Expand all Loading... |
2518 | 2518 |
2519 checkValueRange(api.ValueRange o) { | 2519 checkValueRange(api.ValueRange o) { |
2520 buildCounterValueRange++; | 2520 buildCounterValueRange++; |
2521 if (buildCounterValueRange < 3) { | 2521 if (buildCounterValueRange < 3) { |
2522 unittest.expect(o.max, unittest.equals(42.0)); | 2522 unittest.expect(o.max, unittest.equals(42.0)); |
2523 unittest.expect(o.min, unittest.equals(42.0)); | 2523 unittest.expect(o.min, unittest.equals(42.0)); |
2524 } | 2524 } |
2525 buildCounterValueRange--; | 2525 buildCounterValueRange--; |
2526 } | 2526 } |
2527 | 2527 |
2528 buildUnnamed143() { | 2528 buildUnnamed952() { |
2529 var o = new core.List<api.DisplayRule>(); | 2529 var o = new core.List<api.DisplayRule>(); |
2530 o.add(buildDisplayRule()); | 2530 o.add(buildDisplayRule()); |
2531 o.add(buildDisplayRule()); | 2531 o.add(buildDisplayRule()); |
2532 return o; | 2532 return o; |
2533 } | 2533 } |
2534 | 2534 |
2535 checkUnnamed143(core.List<api.DisplayRule> o) { | 2535 checkUnnamed952(core.List<api.DisplayRule> o) { |
2536 unittest.expect(o, unittest.hasLength(2)); | 2536 unittest.expect(o, unittest.hasLength(2)); |
2537 checkDisplayRule(o[0]); | 2537 checkDisplayRule(o[0]); |
2538 checkDisplayRule(o[1]); | 2538 checkDisplayRule(o[1]); |
2539 } | 2539 } |
2540 | 2540 |
2541 core.int buildCounterVectorStyle = 0; | 2541 core.int buildCounterVectorStyle = 0; |
2542 buildVectorStyle() { | 2542 buildVectorStyle() { |
2543 var o = new api.VectorStyle(); | 2543 var o = new api.VectorStyle(); |
2544 buildCounterVectorStyle++; | 2544 buildCounterVectorStyle++; |
2545 if (buildCounterVectorStyle < 3) { | 2545 if (buildCounterVectorStyle < 3) { |
2546 o.displayRules = buildUnnamed143(); | 2546 o.displayRules = buildUnnamed952(); |
2547 o.featureInfo = buildFeatureInfo(); | 2547 o.featureInfo = buildFeatureInfo(); |
2548 o.type = "foo"; | 2548 o.type = "foo"; |
2549 } | 2549 } |
2550 buildCounterVectorStyle--; | 2550 buildCounterVectorStyle--; |
2551 return o; | 2551 return o; |
2552 } | 2552 } |
2553 | 2553 |
2554 checkVectorStyle(api.VectorStyle o) { | 2554 checkVectorStyle(api.VectorStyle o) { |
2555 buildCounterVectorStyle++; | 2555 buildCounterVectorStyle++; |
2556 if (buildCounterVectorStyle < 3) { | 2556 if (buildCounterVectorStyle < 3) { |
2557 checkUnnamed143(o.displayRules); | 2557 checkUnnamed952(o.displayRules); |
2558 checkFeatureInfo(o.featureInfo); | 2558 checkFeatureInfo(o.featureInfo); |
2559 unittest.expect(o.type, unittest.equals('foo')); | 2559 unittest.expect(o.type, unittest.equals('foo')); |
2560 } | 2560 } |
2561 buildCounterVectorStyle--; | 2561 buildCounterVectorStyle--; |
2562 } | 2562 } |
2563 | 2563 |
2564 core.int buildCounterZoomLevels = 0; | 2564 core.int buildCounterZoomLevels = 0; |
2565 buildZoomLevels() { | 2565 buildZoomLevels() { |
2566 var o = new api.ZoomLevels(); | 2566 var o = new api.ZoomLevels(); |
2567 buildCounterZoomLevels++; | 2567 buildCounterZoomLevels++; |
(...skipping 5075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7643 res.list(arg_id).then(unittest.expectAsync(((api.PermissionsListResponse r
esponse) { | 7643 res.list(arg_id).then(unittest.expectAsync(((api.PermissionsListResponse r
esponse) { |
7644 checkPermissionsListResponse(response); | 7644 checkPermissionsListResponse(response); |
7645 }))); | 7645 }))); |
7646 }); | 7646 }); |
7647 | 7647 |
7648 }); | 7648 }); |
7649 | 7649 |
7650 | 7650 |
7651 } | 7651 } |
7652 | 7652 |
OLD | NEW |