OLD | NEW |
1 library googleapis.storage.v1.test; | 1 library googleapis.storage.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; |
11 import 'package:googleapis/common/common.dart' as common; | 11 import 'package:googleapis/common/common.dart' as common; |
12 import 'package:googleapis/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis/src/common_internal.dart' as common_internal; |
13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
14 | 14 |
15 import 'package:googleapis/storage/v1.dart' as api; | 15 import 'package:googleapis/storage/v1.dart' as api; |
16 | 16 |
17 | 17 |
18 | 18 |
19 buildUnnamed500() { | 19 buildUnnamed1055() { |
20 var o = new core.List<api.BucketAccessControl>(); | 20 var o = new core.List<api.BucketAccessControl>(); |
21 o.add(buildBucketAccessControl()); | 21 o.add(buildBucketAccessControl()); |
22 o.add(buildBucketAccessControl()); | 22 o.add(buildBucketAccessControl()); |
23 return o; | 23 return o; |
24 } | 24 } |
25 | 25 |
26 checkUnnamed500(core.List<api.BucketAccessControl> o) { | 26 checkUnnamed1055(core.List<api.BucketAccessControl> o) { |
27 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
28 checkBucketAccessControl(o[0]); | 28 checkBucketAccessControl(o[0]); |
29 checkBucketAccessControl(o[1]); | 29 checkBucketAccessControl(o[1]); |
30 } | 30 } |
31 | 31 |
32 buildUnnamed501() { | 32 buildUnnamed1056() { |
33 var o = new core.List<core.String>(); | 33 var o = new core.List<core.String>(); |
34 o.add("foo"); | 34 o.add("foo"); |
35 o.add("foo"); | 35 o.add("foo"); |
36 return o; | 36 return o; |
37 } | 37 } |
38 | 38 |
39 checkUnnamed501(core.List<core.String> o) { | 39 checkUnnamed1056(core.List<core.String> o) { |
40 unittest.expect(o, unittest.hasLength(2)); | 40 unittest.expect(o, unittest.hasLength(2)); |
41 unittest.expect(o[0], unittest.equals('foo')); | 41 unittest.expect(o[0], unittest.equals('foo')); |
42 unittest.expect(o[1], unittest.equals('foo')); | 42 unittest.expect(o[1], unittest.equals('foo')); |
43 } | 43 } |
44 | 44 |
45 buildUnnamed502() { | 45 buildUnnamed1057() { |
46 var o = new core.List<core.String>(); | 46 var o = new core.List<core.String>(); |
47 o.add("foo"); | 47 o.add("foo"); |
48 o.add("foo"); | 48 o.add("foo"); |
49 return o; | 49 return o; |
50 } | 50 } |
51 | 51 |
52 checkUnnamed502(core.List<core.String> o) { | 52 checkUnnamed1057(core.List<core.String> o) { |
53 unittest.expect(o, unittest.hasLength(2)); | 53 unittest.expect(o, unittest.hasLength(2)); |
54 unittest.expect(o[0], unittest.equals('foo')); | 54 unittest.expect(o[0], unittest.equals('foo')); |
55 unittest.expect(o[1], unittest.equals('foo')); | 55 unittest.expect(o[1], unittest.equals('foo')); |
56 } | 56 } |
57 | 57 |
58 buildUnnamed503() { | 58 buildUnnamed1058() { |
59 var o = new core.List<core.String>(); | 59 var o = new core.List<core.String>(); |
60 o.add("foo"); | 60 o.add("foo"); |
61 o.add("foo"); | 61 o.add("foo"); |
62 return o; | 62 return o; |
63 } | 63 } |
64 | 64 |
65 checkUnnamed503(core.List<core.String> o) { | 65 checkUnnamed1058(core.List<core.String> o) { |
66 unittest.expect(o, unittest.hasLength(2)); | 66 unittest.expect(o, unittest.hasLength(2)); |
67 unittest.expect(o[0], unittest.equals('foo')); | 67 unittest.expect(o[0], unittest.equals('foo')); |
68 unittest.expect(o[1], unittest.equals('foo')); | 68 unittest.expect(o[1], unittest.equals('foo')); |
69 } | 69 } |
70 | 70 |
71 core.int buildCounterBucketCors = 0; | 71 core.int buildCounterBucketCors = 0; |
72 buildBucketCors() { | 72 buildBucketCors() { |
73 var o = new api.BucketCors(); | 73 var o = new api.BucketCors(); |
74 buildCounterBucketCors++; | 74 buildCounterBucketCors++; |
75 if (buildCounterBucketCors < 3) { | 75 if (buildCounterBucketCors < 3) { |
76 o.maxAgeSeconds = 42; | 76 o.maxAgeSeconds = 42; |
77 o.method = buildUnnamed501(); | 77 o.method = buildUnnamed1056(); |
78 o.origin = buildUnnamed502(); | 78 o.origin = buildUnnamed1057(); |
79 o.responseHeader = buildUnnamed503(); | 79 o.responseHeader = buildUnnamed1058(); |
80 } | 80 } |
81 buildCounterBucketCors--; | 81 buildCounterBucketCors--; |
82 return o; | 82 return o; |
83 } | 83 } |
84 | 84 |
85 checkBucketCors(api.BucketCors o) { | 85 checkBucketCors(api.BucketCors o) { |
86 buildCounterBucketCors++; | 86 buildCounterBucketCors++; |
87 if (buildCounterBucketCors < 3) { | 87 if (buildCounterBucketCors < 3) { |
88 unittest.expect(o.maxAgeSeconds, unittest.equals(42)); | 88 unittest.expect(o.maxAgeSeconds, unittest.equals(42)); |
89 checkUnnamed501(o.method); | 89 checkUnnamed1056(o.method); |
90 checkUnnamed502(o.origin); | 90 checkUnnamed1057(o.origin); |
91 checkUnnamed503(o.responseHeader); | 91 checkUnnamed1058(o.responseHeader); |
92 } | 92 } |
93 buildCounterBucketCors--; | 93 buildCounterBucketCors--; |
94 } | 94 } |
95 | 95 |
96 buildUnnamed504() { | 96 buildUnnamed1059() { |
97 var o = new core.List<api.BucketCors>(); | 97 var o = new core.List<api.BucketCors>(); |
98 o.add(buildBucketCors()); | 98 o.add(buildBucketCors()); |
99 o.add(buildBucketCors()); | 99 o.add(buildBucketCors()); |
100 return o; | 100 return o; |
101 } | 101 } |
102 | 102 |
103 checkUnnamed504(core.List<api.BucketCors> o) { | 103 checkUnnamed1059(core.List<api.BucketCors> o) { |
104 unittest.expect(o, unittest.hasLength(2)); | 104 unittest.expect(o, unittest.hasLength(2)); |
105 checkBucketCors(o[0]); | 105 checkBucketCors(o[0]); |
106 checkBucketCors(o[1]); | 106 checkBucketCors(o[1]); |
107 } | 107 } |
108 | 108 |
109 buildUnnamed505() { | 109 buildUnnamed1060() { |
110 var o = new core.List<api.ObjectAccessControl>(); | 110 var o = new core.List<api.ObjectAccessControl>(); |
111 o.add(buildObjectAccessControl()); | 111 o.add(buildObjectAccessControl()); |
112 o.add(buildObjectAccessControl()); | 112 o.add(buildObjectAccessControl()); |
113 return o; | 113 return o; |
114 } | 114 } |
115 | 115 |
116 checkUnnamed505(core.List<api.ObjectAccessControl> o) { | 116 checkUnnamed1060(core.List<api.ObjectAccessControl> o) { |
117 unittest.expect(o, unittest.hasLength(2)); | 117 unittest.expect(o, unittest.hasLength(2)); |
118 checkObjectAccessControl(o[0]); | 118 checkObjectAccessControl(o[0]); |
119 checkObjectAccessControl(o[1]); | 119 checkObjectAccessControl(o[1]); |
120 } | 120 } |
121 | 121 |
122 core.int buildCounterBucketLifecycleRuleAction = 0; | 122 core.int buildCounterBucketLifecycleRuleAction = 0; |
123 buildBucketLifecycleRuleAction() { | 123 buildBucketLifecycleRuleAction() { |
124 var o = new api.BucketLifecycleRuleAction(); | 124 var o = new api.BucketLifecycleRuleAction(); |
125 buildCounterBucketLifecycleRuleAction++; | 125 buildCounterBucketLifecycleRuleAction++; |
126 if (buildCounterBucketLifecycleRuleAction < 3) { | 126 if (buildCounterBucketLifecycleRuleAction < 3) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 checkBucketLifecycleRule(api.BucketLifecycleRule o) { | 178 checkBucketLifecycleRule(api.BucketLifecycleRule o) { |
179 buildCounterBucketLifecycleRule++; | 179 buildCounterBucketLifecycleRule++; |
180 if (buildCounterBucketLifecycleRule < 3) { | 180 if (buildCounterBucketLifecycleRule < 3) { |
181 checkBucketLifecycleRuleAction(o.action); | 181 checkBucketLifecycleRuleAction(o.action); |
182 checkBucketLifecycleRuleCondition(o.condition); | 182 checkBucketLifecycleRuleCondition(o.condition); |
183 } | 183 } |
184 buildCounterBucketLifecycleRule--; | 184 buildCounterBucketLifecycleRule--; |
185 } | 185 } |
186 | 186 |
187 buildUnnamed506() { | 187 buildUnnamed1061() { |
188 var o = new core.List<api.BucketLifecycleRule>(); | 188 var o = new core.List<api.BucketLifecycleRule>(); |
189 o.add(buildBucketLifecycleRule()); | 189 o.add(buildBucketLifecycleRule()); |
190 o.add(buildBucketLifecycleRule()); | 190 o.add(buildBucketLifecycleRule()); |
191 return o; | 191 return o; |
192 } | 192 } |
193 | 193 |
194 checkUnnamed506(core.List<api.BucketLifecycleRule> o) { | 194 checkUnnamed1061(core.List<api.BucketLifecycleRule> o) { |
195 unittest.expect(o, unittest.hasLength(2)); | 195 unittest.expect(o, unittest.hasLength(2)); |
196 checkBucketLifecycleRule(o[0]); | 196 checkBucketLifecycleRule(o[0]); |
197 checkBucketLifecycleRule(o[1]); | 197 checkBucketLifecycleRule(o[1]); |
198 } | 198 } |
199 | 199 |
200 core.int buildCounterBucketLifecycle = 0; | 200 core.int buildCounterBucketLifecycle = 0; |
201 buildBucketLifecycle() { | 201 buildBucketLifecycle() { |
202 var o = new api.BucketLifecycle(); | 202 var o = new api.BucketLifecycle(); |
203 buildCounterBucketLifecycle++; | 203 buildCounterBucketLifecycle++; |
204 if (buildCounterBucketLifecycle < 3) { | 204 if (buildCounterBucketLifecycle < 3) { |
205 o.rule = buildUnnamed506(); | 205 o.rule = buildUnnamed1061(); |
206 } | 206 } |
207 buildCounterBucketLifecycle--; | 207 buildCounterBucketLifecycle--; |
208 return o; | 208 return o; |
209 } | 209 } |
210 | 210 |
211 checkBucketLifecycle(api.BucketLifecycle o) { | 211 checkBucketLifecycle(api.BucketLifecycle o) { |
212 buildCounterBucketLifecycle++; | 212 buildCounterBucketLifecycle++; |
213 if (buildCounterBucketLifecycle < 3) { | 213 if (buildCounterBucketLifecycle < 3) { |
214 checkUnnamed506(o.rule); | 214 checkUnnamed1061(o.rule); |
215 } | 215 } |
216 buildCounterBucketLifecycle--; | 216 buildCounterBucketLifecycle--; |
217 } | 217 } |
218 | 218 |
219 core.int buildCounterBucketLogging = 0; | 219 core.int buildCounterBucketLogging = 0; |
220 buildBucketLogging() { | 220 buildBucketLogging() { |
221 var o = new api.BucketLogging(); | 221 var o = new api.BucketLogging(); |
222 buildCounterBucketLogging++; | 222 buildCounterBucketLogging++; |
223 if (buildCounterBucketLogging < 3) { | 223 if (buildCounterBucketLogging < 3) { |
224 o.logBucket = "foo"; | 224 o.logBucket = "foo"; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 unittest.expect(o.notFoundPage, unittest.equals('foo')); | 296 unittest.expect(o.notFoundPage, unittest.equals('foo')); |
297 } | 297 } |
298 buildCounterBucketWebsite--; | 298 buildCounterBucketWebsite--; |
299 } | 299 } |
300 | 300 |
301 core.int buildCounterBucket = 0; | 301 core.int buildCounterBucket = 0; |
302 buildBucket() { | 302 buildBucket() { |
303 var o = new api.Bucket(); | 303 var o = new api.Bucket(); |
304 buildCounterBucket++; | 304 buildCounterBucket++; |
305 if (buildCounterBucket < 3) { | 305 if (buildCounterBucket < 3) { |
306 o.acl = buildUnnamed500(); | 306 o.acl = buildUnnamed1055(); |
307 o.cors = buildUnnamed504(); | 307 o.cors = buildUnnamed1059(); |
308 o.defaultObjectAcl = buildUnnamed505(); | 308 o.defaultObjectAcl = buildUnnamed1060(); |
309 o.etag = "foo"; | 309 o.etag = "foo"; |
310 o.id = "foo"; | 310 o.id = "foo"; |
311 o.kind = "foo"; | 311 o.kind = "foo"; |
312 o.lifecycle = buildBucketLifecycle(); | 312 o.lifecycle = buildBucketLifecycle(); |
313 o.location = "foo"; | 313 o.location = "foo"; |
314 o.logging = buildBucketLogging(); | 314 o.logging = buildBucketLogging(); |
315 o.metageneration = "foo"; | 315 o.metageneration = "foo"; |
316 o.name = "foo"; | 316 o.name = "foo"; |
317 o.owner = buildBucketOwner(); | 317 o.owner = buildBucketOwner(); |
318 o.projectNumber = "foo"; | 318 o.projectNumber = "foo"; |
319 o.selfLink = "foo"; | 319 o.selfLink = "foo"; |
320 o.storageClass = "foo"; | 320 o.storageClass = "foo"; |
321 o.timeCreated = core.DateTime.parse("2002-02-27T14:01:02"); | 321 o.timeCreated = core.DateTime.parse("2002-02-27T14:01:02"); |
322 o.versioning = buildBucketVersioning(); | 322 o.versioning = buildBucketVersioning(); |
323 o.website = buildBucketWebsite(); | 323 o.website = buildBucketWebsite(); |
324 } | 324 } |
325 buildCounterBucket--; | 325 buildCounterBucket--; |
326 return o; | 326 return o; |
327 } | 327 } |
328 | 328 |
329 checkBucket(api.Bucket o) { | 329 checkBucket(api.Bucket o) { |
330 buildCounterBucket++; | 330 buildCounterBucket++; |
331 if (buildCounterBucket < 3) { | 331 if (buildCounterBucket < 3) { |
332 checkUnnamed500(o.acl); | 332 checkUnnamed1055(o.acl); |
333 checkUnnamed504(o.cors); | 333 checkUnnamed1059(o.cors); |
334 checkUnnamed505(o.defaultObjectAcl); | 334 checkUnnamed1060(o.defaultObjectAcl); |
335 unittest.expect(o.etag, unittest.equals('foo')); | 335 unittest.expect(o.etag, unittest.equals('foo')); |
336 unittest.expect(o.id, unittest.equals('foo')); | 336 unittest.expect(o.id, unittest.equals('foo')); |
337 unittest.expect(o.kind, unittest.equals('foo')); | 337 unittest.expect(o.kind, unittest.equals('foo')); |
338 checkBucketLifecycle(o.lifecycle); | 338 checkBucketLifecycle(o.lifecycle); |
339 unittest.expect(o.location, unittest.equals('foo')); | 339 unittest.expect(o.location, unittest.equals('foo')); |
340 checkBucketLogging(o.logging); | 340 checkBucketLogging(o.logging); |
341 unittest.expect(o.metageneration, unittest.equals('foo')); | 341 unittest.expect(o.metageneration, unittest.equals('foo')); |
342 unittest.expect(o.name, unittest.equals('foo')); | 342 unittest.expect(o.name, unittest.equals('foo')); |
343 checkBucketOwner(o.owner); | 343 checkBucketOwner(o.owner); |
344 unittest.expect(o.projectNumber, unittest.equals('foo')); | 344 unittest.expect(o.projectNumber, unittest.equals('foo')); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 unittest.expect(o.etag, unittest.equals('foo')); | 404 unittest.expect(o.etag, unittest.equals('foo')); |
405 unittest.expect(o.id, unittest.equals('foo')); | 405 unittest.expect(o.id, unittest.equals('foo')); |
406 unittest.expect(o.kind, unittest.equals('foo')); | 406 unittest.expect(o.kind, unittest.equals('foo')); |
407 checkBucketAccessControlProjectTeam(o.projectTeam); | 407 checkBucketAccessControlProjectTeam(o.projectTeam); |
408 unittest.expect(o.role, unittest.equals('foo')); | 408 unittest.expect(o.role, unittest.equals('foo')); |
409 unittest.expect(o.selfLink, unittest.equals('foo')); | 409 unittest.expect(o.selfLink, unittest.equals('foo')); |
410 } | 410 } |
411 buildCounterBucketAccessControl--; | 411 buildCounterBucketAccessControl--; |
412 } | 412 } |
413 | 413 |
414 buildUnnamed507() { | 414 buildUnnamed1062() { |
415 var o = new core.List<api.BucketAccessControl>(); | 415 var o = new core.List<api.BucketAccessControl>(); |
416 o.add(buildBucketAccessControl()); | 416 o.add(buildBucketAccessControl()); |
417 o.add(buildBucketAccessControl()); | 417 o.add(buildBucketAccessControl()); |
418 return o; | 418 return o; |
419 } | 419 } |
420 | 420 |
421 checkUnnamed507(core.List<api.BucketAccessControl> o) { | 421 checkUnnamed1062(core.List<api.BucketAccessControl> o) { |
422 unittest.expect(o, unittest.hasLength(2)); | 422 unittest.expect(o, unittest.hasLength(2)); |
423 checkBucketAccessControl(o[0]); | 423 checkBucketAccessControl(o[0]); |
424 checkBucketAccessControl(o[1]); | 424 checkBucketAccessControl(o[1]); |
425 } | 425 } |
426 | 426 |
427 core.int buildCounterBucketAccessControls = 0; | 427 core.int buildCounterBucketAccessControls = 0; |
428 buildBucketAccessControls() { | 428 buildBucketAccessControls() { |
429 var o = new api.BucketAccessControls(); | 429 var o = new api.BucketAccessControls(); |
430 buildCounterBucketAccessControls++; | 430 buildCounterBucketAccessControls++; |
431 if (buildCounterBucketAccessControls < 3) { | 431 if (buildCounterBucketAccessControls < 3) { |
432 o.items = buildUnnamed507(); | 432 o.items = buildUnnamed1062(); |
433 o.kind = "foo"; | 433 o.kind = "foo"; |
434 } | 434 } |
435 buildCounterBucketAccessControls--; | 435 buildCounterBucketAccessControls--; |
436 return o; | 436 return o; |
437 } | 437 } |
438 | 438 |
439 checkBucketAccessControls(api.BucketAccessControls o) { | 439 checkBucketAccessControls(api.BucketAccessControls o) { |
440 buildCounterBucketAccessControls++; | 440 buildCounterBucketAccessControls++; |
441 if (buildCounterBucketAccessControls < 3) { | 441 if (buildCounterBucketAccessControls < 3) { |
442 checkUnnamed507(o.items); | 442 checkUnnamed1062(o.items); |
443 unittest.expect(o.kind, unittest.equals('foo')); | 443 unittest.expect(o.kind, unittest.equals('foo')); |
444 } | 444 } |
445 buildCounterBucketAccessControls--; | 445 buildCounterBucketAccessControls--; |
446 } | 446 } |
447 | 447 |
448 buildUnnamed508() { | 448 buildUnnamed1063() { |
449 var o = new core.List<api.Bucket>(); | 449 var o = new core.List<api.Bucket>(); |
450 o.add(buildBucket()); | 450 o.add(buildBucket()); |
451 o.add(buildBucket()); | 451 o.add(buildBucket()); |
452 return o; | 452 return o; |
453 } | 453 } |
454 | 454 |
455 checkUnnamed508(core.List<api.Bucket> o) { | 455 checkUnnamed1063(core.List<api.Bucket> o) { |
456 unittest.expect(o, unittest.hasLength(2)); | 456 unittest.expect(o, unittest.hasLength(2)); |
457 checkBucket(o[0]); | 457 checkBucket(o[0]); |
458 checkBucket(o[1]); | 458 checkBucket(o[1]); |
459 } | 459 } |
460 | 460 |
461 core.int buildCounterBuckets = 0; | 461 core.int buildCounterBuckets = 0; |
462 buildBuckets() { | 462 buildBuckets() { |
463 var o = new api.Buckets(); | 463 var o = new api.Buckets(); |
464 buildCounterBuckets++; | 464 buildCounterBuckets++; |
465 if (buildCounterBuckets < 3) { | 465 if (buildCounterBuckets < 3) { |
466 o.items = buildUnnamed508(); | 466 o.items = buildUnnamed1063(); |
467 o.kind = "foo"; | 467 o.kind = "foo"; |
468 o.nextPageToken = "foo"; | 468 o.nextPageToken = "foo"; |
469 } | 469 } |
470 buildCounterBuckets--; | 470 buildCounterBuckets--; |
471 return o; | 471 return o; |
472 } | 472 } |
473 | 473 |
474 checkBuckets(api.Buckets o) { | 474 checkBuckets(api.Buckets o) { |
475 buildCounterBuckets++; | 475 buildCounterBuckets++; |
476 if (buildCounterBuckets < 3) { | 476 if (buildCounterBuckets < 3) { |
477 checkUnnamed508(o.items); | 477 checkUnnamed1063(o.items); |
478 unittest.expect(o.kind, unittest.equals('foo')); | 478 unittest.expect(o.kind, unittest.equals('foo')); |
479 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 479 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
480 } | 480 } |
481 buildCounterBuckets--; | 481 buildCounterBuckets--; |
482 } | 482 } |
483 | 483 |
484 buildUnnamed509() { | 484 buildUnnamed1064() { |
485 var o = new core.Map<core.String, core.String>(); | 485 var o = new core.Map<core.String, core.String>(); |
486 o["x"] = "foo"; | 486 o["x"] = "foo"; |
487 o["y"] = "foo"; | 487 o["y"] = "foo"; |
488 return o; | 488 return o; |
489 } | 489 } |
490 | 490 |
491 checkUnnamed509(core.Map<core.String, core.String> o) { | 491 checkUnnamed1064(core.Map<core.String, core.String> o) { |
492 unittest.expect(o, unittest.hasLength(2)); | 492 unittest.expect(o, unittest.hasLength(2)); |
493 unittest.expect(o["x"], unittest.equals('foo')); | 493 unittest.expect(o["x"], unittest.equals('foo')); |
494 unittest.expect(o["y"], unittest.equals('foo')); | 494 unittest.expect(o["y"], unittest.equals('foo')); |
495 } | 495 } |
496 | 496 |
497 core.int buildCounterChannel = 0; | 497 core.int buildCounterChannel = 0; |
498 buildChannel() { | 498 buildChannel() { |
499 var o = new api.Channel(); | 499 var o = new api.Channel(); |
500 buildCounterChannel++; | 500 buildCounterChannel++; |
501 if (buildCounterChannel < 3) { | 501 if (buildCounterChannel < 3) { |
502 o.address = "foo"; | 502 o.address = "foo"; |
503 o.expiration = "foo"; | 503 o.expiration = "foo"; |
504 o.id = "foo"; | 504 o.id = "foo"; |
505 o.kind = "foo"; | 505 o.kind = "foo"; |
506 o.params = buildUnnamed509(); | 506 o.params = buildUnnamed1064(); |
507 o.payload = true; | 507 o.payload = true; |
508 o.resourceId = "foo"; | 508 o.resourceId = "foo"; |
509 o.resourceUri = "foo"; | 509 o.resourceUri = "foo"; |
510 o.token = "foo"; | 510 o.token = "foo"; |
511 o.type = "foo"; | 511 o.type = "foo"; |
512 } | 512 } |
513 buildCounterChannel--; | 513 buildCounterChannel--; |
514 return o; | 514 return o; |
515 } | 515 } |
516 | 516 |
517 checkChannel(api.Channel o) { | 517 checkChannel(api.Channel o) { |
518 buildCounterChannel++; | 518 buildCounterChannel++; |
519 if (buildCounterChannel < 3) { | 519 if (buildCounterChannel < 3) { |
520 unittest.expect(o.address, unittest.equals('foo')); | 520 unittest.expect(o.address, unittest.equals('foo')); |
521 unittest.expect(o.expiration, unittest.equals('foo')); | 521 unittest.expect(o.expiration, unittest.equals('foo')); |
522 unittest.expect(o.id, unittest.equals('foo')); | 522 unittest.expect(o.id, unittest.equals('foo')); |
523 unittest.expect(o.kind, unittest.equals('foo')); | 523 unittest.expect(o.kind, unittest.equals('foo')); |
524 checkUnnamed509(o.params); | 524 checkUnnamed1064(o.params); |
525 unittest.expect(o.payload, unittest.isTrue); | 525 unittest.expect(o.payload, unittest.isTrue); |
526 unittest.expect(o.resourceId, unittest.equals('foo')); | 526 unittest.expect(o.resourceId, unittest.equals('foo')); |
527 unittest.expect(o.resourceUri, unittest.equals('foo')); | 527 unittest.expect(o.resourceUri, unittest.equals('foo')); |
528 unittest.expect(o.token, unittest.equals('foo')); | 528 unittest.expect(o.token, unittest.equals('foo')); |
529 unittest.expect(o.type, unittest.equals('foo')); | 529 unittest.expect(o.type, unittest.equals('foo')); |
530 } | 530 } |
531 buildCounterChannel--; | 531 buildCounterChannel--; |
532 } | 532 } |
533 | 533 |
534 core.int buildCounterComposeRequestSourceObjectsObjectPreconditions = 0; | 534 core.int buildCounterComposeRequestSourceObjectsObjectPreconditions = 0; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 checkComposeRequestSourceObjects(api.ComposeRequestSourceObjects o) { | 566 checkComposeRequestSourceObjects(api.ComposeRequestSourceObjects o) { |
567 buildCounterComposeRequestSourceObjects++; | 567 buildCounterComposeRequestSourceObjects++; |
568 if (buildCounterComposeRequestSourceObjects < 3) { | 568 if (buildCounterComposeRequestSourceObjects < 3) { |
569 unittest.expect(o.generation, unittest.equals('foo')); | 569 unittest.expect(o.generation, unittest.equals('foo')); |
570 unittest.expect(o.name, unittest.equals('foo')); | 570 unittest.expect(o.name, unittest.equals('foo')); |
571 checkComposeRequestSourceObjectsObjectPreconditions(o.objectPreconditions); | 571 checkComposeRequestSourceObjectsObjectPreconditions(o.objectPreconditions); |
572 } | 572 } |
573 buildCounterComposeRequestSourceObjects--; | 573 buildCounterComposeRequestSourceObjects--; |
574 } | 574 } |
575 | 575 |
576 buildUnnamed510() { | 576 buildUnnamed1065() { |
577 var o = new core.List<api.ComposeRequestSourceObjects>(); | 577 var o = new core.List<api.ComposeRequestSourceObjects>(); |
578 o.add(buildComposeRequestSourceObjects()); | 578 o.add(buildComposeRequestSourceObjects()); |
579 o.add(buildComposeRequestSourceObjects()); | 579 o.add(buildComposeRequestSourceObjects()); |
580 return o; | 580 return o; |
581 } | 581 } |
582 | 582 |
583 checkUnnamed510(core.List<api.ComposeRequestSourceObjects> o) { | 583 checkUnnamed1065(core.List<api.ComposeRequestSourceObjects> o) { |
584 unittest.expect(o, unittest.hasLength(2)); | 584 unittest.expect(o, unittest.hasLength(2)); |
585 checkComposeRequestSourceObjects(o[0]); | 585 checkComposeRequestSourceObjects(o[0]); |
586 checkComposeRequestSourceObjects(o[1]); | 586 checkComposeRequestSourceObjects(o[1]); |
587 } | 587 } |
588 | 588 |
589 core.int buildCounterComposeRequest = 0; | 589 core.int buildCounterComposeRequest = 0; |
590 buildComposeRequest() { | 590 buildComposeRequest() { |
591 var o = new api.ComposeRequest(); | 591 var o = new api.ComposeRequest(); |
592 buildCounterComposeRequest++; | 592 buildCounterComposeRequest++; |
593 if (buildCounterComposeRequest < 3) { | 593 if (buildCounterComposeRequest < 3) { |
594 o.destination = buildObject(); | 594 o.destination = buildObject(); |
595 o.kind = "foo"; | 595 o.kind = "foo"; |
596 o.sourceObjects = buildUnnamed510(); | 596 o.sourceObjects = buildUnnamed1065(); |
597 } | 597 } |
598 buildCounterComposeRequest--; | 598 buildCounterComposeRequest--; |
599 return o; | 599 return o; |
600 } | 600 } |
601 | 601 |
602 checkComposeRequest(api.ComposeRequest o) { | 602 checkComposeRequest(api.ComposeRequest o) { |
603 buildCounterComposeRequest++; | 603 buildCounterComposeRequest++; |
604 if (buildCounterComposeRequest < 3) { | 604 if (buildCounterComposeRequest < 3) { |
605 checkObject(o.destination); | 605 checkObject(o.destination); |
606 unittest.expect(o.kind, unittest.equals('foo')); | 606 unittest.expect(o.kind, unittest.equals('foo')); |
607 checkUnnamed510(o.sourceObjects); | 607 checkUnnamed1065(o.sourceObjects); |
608 } | 608 } |
609 buildCounterComposeRequest--; | 609 buildCounterComposeRequest--; |
610 } | 610 } |
611 | 611 |
612 buildUnnamed511() { | 612 buildUnnamed1066() { |
613 var o = new core.List<api.ObjectAccessControl>(); | 613 var o = new core.List<api.ObjectAccessControl>(); |
614 o.add(buildObjectAccessControl()); | 614 o.add(buildObjectAccessControl()); |
615 o.add(buildObjectAccessControl()); | 615 o.add(buildObjectAccessControl()); |
616 return o; | 616 return o; |
617 } | 617 } |
618 | 618 |
619 checkUnnamed511(core.List<api.ObjectAccessControl> o) { | 619 checkUnnamed1066(core.List<api.ObjectAccessControl> o) { |
620 unittest.expect(o, unittest.hasLength(2)); | 620 unittest.expect(o, unittest.hasLength(2)); |
621 checkObjectAccessControl(o[0]); | 621 checkObjectAccessControl(o[0]); |
622 checkObjectAccessControl(o[1]); | 622 checkObjectAccessControl(o[1]); |
623 } | 623 } |
624 | 624 |
625 buildUnnamed512() { | 625 buildUnnamed1067() { |
626 var o = new core.Map<core.String, core.String>(); | 626 var o = new core.Map<core.String, core.String>(); |
627 o["x"] = "foo"; | 627 o["x"] = "foo"; |
628 o["y"] = "foo"; | 628 o["y"] = "foo"; |
629 return o; | 629 return o; |
630 } | 630 } |
631 | 631 |
632 checkUnnamed512(core.Map<core.String, core.String> o) { | 632 checkUnnamed1067(core.Map<core.String, core.String> o) { |
633 unittest.expect(o, unittest.hasLength(2)); | 633 unittest.expect(o, unittest.hasLength(2)); |
634 unittest.expect(o["x"], unittest.equals('foo')); | 634 unittest.expect(o["x"], unittest.equals('foo')); |
635 unittest.expect(o["y"], unittest.equals('foo')); | 635 unittest.expect(o["y"], unittest.equals('foo')); |
636 } | 636 } |
637 | 637 |
638 core.int buildCounterObjectOwner = 0; | 638 core.int buildCounterObjectOwner = 0; |
639 buildObjectOwner() { | 639 buildObjectOwner() { |
640 var o = new api.ObjectOwner(); | 640 var o = new api.ObjectOwner(); |
641 buildCounterObjectOwner++; | 641 buildCounterObjectOwner++; |
642 if (buildCounterObjectOwner < 3) { | 642 if (buildCounterObjectOwner < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
654 unittest.expect(o.entityId, unittest.equals('foo')); | 654 unittest.expect(o.entityId, unittest.equals('foo')); |
655 } | 655 } |
656 buildCounterObjectOwner--; | 656 buildCounterObjectOwner--; |
657 } | 657 } |
658 | 658 |
659 core.int buildCounterObject = 0; | 659 core.int buildCounterObject = 0; |
660 buildObject() { | 660 buildObject() { |
661 var o = new api.Object(); | 661 var o = new api.Object(); |
662 buildCounterObject++; | 662 buildCounterObject++; |
663 if (buildCounterObject < 3) { | 663 if (buildCounterObject < 3) { |
664 o.acl = buildUnnamed511(); | 664 o.acl = buildUnnamed1066(); |
665 o.bucket = "foo"; | 665 o.bucket = "foo"; |
666 o.cacheControl = "foo"; | 666 o.cacheControl = "foo"; |
667 o.componentCount = 42; | 667 o.componentCount = 42; |
668 o.contentDisposition = "foo"; | 668 o.contentDisposition = "foo"; |
669 o.contentEncoding = "foo"; | 669 o.contentEncoding = "foo"; |
670 o.contentLanguage = "foo"; | 670 o.contentLanguage = "foo"; |
671 o.contentType = "foo"; | 671 o.contentType = "foo"; |
672 o.crc32c = "foo"; | 672 o.crc32c = "foo"; |
673 o.etag = "foo"; | 673 o.etag = "foo"; |
674 o.generation = "foo"; | 674 o.generation = "foo"; |
675 o.id = "foo"; | 675 o.id = "foo"; |
676 o.kind = "foo"; | 676 o.kind = "foo"; |
677 o.md5Hash = "foo"; | 677 o.md5Hash = "foo"; |
678 o.mediaLink = "foo"; | 678 o.mediaLink = "foo"; |
679 o.metadata = buildUnnamed512(); | 679 o.metadata = buildUnnamed1067(); |
680 o.metageneration = "foo"; | 680 o.metageneration = "foo"; |
681 o.name = "foo"; | 681 o.name = "foo"; |
682 o.owner = buildObjectOwner(); | 682 o.owner = buildObjectOwner(); |
683 o.selfLink = "foo"; | 683 o.selfLink = "foo"; |
684 o.size = "foo"; | 684 o.size = "foo"; |
685 o.storageClass = "foo"; | 685 o.storageClass = "foo"; |
686 o.timeDeleted = core.DateTime.parse("2002-02-27T14:01:02"); | 686 o.timeDeleted = core.DateTime.parse("2002-02-27T14:01:02"); |
687 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 687 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
688 } | 688 } |
689 buildCounterObject--; | 689 buildCounterObject--; |
690 return o; | 690 return o; |
691 } | 691 } |
692 | 692 |
693 checkObject(api.Object o) { | 693 checkObject(api.Object o) { |
694 buildCounterObject++; | 694 buildCounterObject++; |
695 if (buildCounterObject < 3) { | 695 if (buildCounterObject < 3) { |
696 checkUnnamed511(o.acl); | 696 checkUnnamed1066(o.acl); |
697 unittest.expect(o.bucket, unittest.equals('foo')); | 697 unittest.expect(o.bucket, unittest.equals('foo')); |
698 unittest.expect(o.cacheControl, unittest.equals('foo')); | 698 unittest.expect(o.cacheControl, unittest.equals('foo')); |
699 unittest.expect(o.componentCount, unittest.equals(42)); | 699 unittest.expect(o.componentCount, unittest.equals(42)); |
700 unittest.expect(o.contentDisposition, unittest.equals('foo')); | 700 unittest.expect(o.contentDisposition, unittest.equals('foo')); |
701 unittest.expect(o.contentEncoding, unittest.equals('foo')); | 701 unittest.expect(o.contentEncoding, unittest.equals('foo')); |
702 unittest.expect(o.contentLanguage, unittest.equals('foo')); | 702 unittest.expect(o.contentLanguage, unittest.equals('foo')); |
703 unittest.expect(o.contentType, unittest.equals('foo')); | 703 unittest.expect(o.contentType, unittest.equals('foo')); |
704 unittest.expect(o.crc32c, unittest.equals('foo')); | 704 unittest.expect(o.crc32c, unittest.equals('foo')); |
705 unittest.expect(o.etag, unittest.equals('foo')); | 705 unittest.expect(o.etag, unittest.equals('foo')); |
706 unittest.expect(o.generation, unittest.equals('foo')); | 706 unittest.expect(o.generation, unittest.equals('foo')); |
707 unittest.expect(o.id, unittest.equals('foo')); | 707 unittest.expect(o.id, unittest.equals('foo')); |
708 unittest.expect(o.kind, unittest.equals('foo')); | 708 unittest.expect(o.kind, unittest.equals('foo')); |
709 unittest.expect(o.md5Hash, unittest.equals('foo')); | 709 unittest.expect(o.md5Hash, unittest.equals('foo')); |
710 unittest.expect(o.mediaLink, unittest.equals('foo')); | 710 unittest.expect(o.mediaLink, unittest.equals('foo')); |
711 checkUnnamed512(o.metadata); | 711 checkUnnamed1067(o.metadata); |
712 unittest.expect(o.metageneration, unittest.equals('foo')); | 712 unittest.expect(o.metageneration, unittest.equals('foo')); |
713 unittest.expect(o.name, unittest.equals('foo')); | 713 unittest.expect(o.name, unittest.equals('foo')); |
714 checkObjectOwner(o.owner); | 714 checkObjectOwner(o.owner); |
715 unittest.expect(o.selfLink, unittest.equals('foo')); | 715 unittest.expect(o.selfLink, unittest.equals('foo')); |
716 unittest.expect(o.size, unittest.equals('foo')); | 716 unittest.expect(o.size, unittest.equals('foo')); |
717 unittest.expect(o.storageClass, unittest.equals('foo')); | 717 unittest.expect(o.storageClass, unittest.equals('foo')); |
718 unittest.expect(o.timeDeleted, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 718 unittest.expect(o.timeDeleted, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
719 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 719 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
720 } | 720 } |
721 buildCounterObject--; | 721 buildCounterObject--; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 unittest.expect(o.id, unittest.equals('foo')); | 778 unittest.expect(o.id, unittest.equals('foo')); |
779 unittest.expect(o.kind, unittest.equals('foo')); | 779 unittest.expect(o.kind, unittest.equals('foo')); |
780 unittest.expect(o.object, unittest.equals('foo')); | 780 unittest.expect(o.object, unittest.equals('foo')); |
781 checkObjectAccessControlProjectTeam(o.projectTeam); | 781 checkObjectAccessControlProjectTeam(o.projectTeam); |
782 unittest.expect(o.role, unittest.equals('foo')); | 782 unittest.expect(o.role, unittest.equals('foo')); |
783 unittest.expect(o.selfLink, unittest.equals('foo')); | 783 unittest.expect(o.selfLink, unittest.equals('foo')); |
784 } | 784 } |
785 buildCounterObjectAccessControl--; | 785 buildCounterObjectAccessControl--; |
786 } | 786 } |
787 | 787 |
788 buildUnnamed513() { | 788 buildUnnamed1068() { |
789 var o = new core.List<core.Object>(); | 789 var o = new core.List<core.Object>(); |
790 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 790 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
791 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 791 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
792 return o; | 792 return o; |
793 } | 793 } |
794 | 794 |
795 checkUnnamed513(core.List<core.Object> o) { | 795 checkUnnamed1068(core.List<core.Object> o) { |
796 unittest.expect(o, unittest.hasLength(2)); | 796 unittest.expect(o, unittest.hasLength(2)); |
797 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 797 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
798 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 798 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
799 } | 799 } |
800 | 800 |
801 core.int buildCounterObjectAccessControls = 0; | 801 core.int buildCounterObjectAccessControls = 0; |
802 buildObjectAccessControls() { | 802 buildObjectAccessControls() { |
803 var o = new api.ObjectAccessControls(); | 803 var o = new api.ObjectAccessControls(); |
804 buildCounterObjectAccessControls++; | 804 buildCounterObjectAccessControls++; |
805 if (buildCounterObjectAccessControls < 3) { | 805 if (buildCounterObjectAccessControls < 3) { |
806 o.items = buildUnnamed513(); | 806 o.items = buildUnnamed1068(); |
807 o.kind = "foo"; | 807 o.kind = "foo"; |
808 } | 808 } |
809 buildCounterObjectAccessControls--; | 809 buildCounterObjectAccessControls--; |
810 return o; | 810 return o; |
811 } | 811 } |
812 | 812 |
813 checkObjectAccessControls(api.ObjectAccessControls o) { | 813 checkObjectAccessControls(api.ObjectAccessControls o) { |
814 buildCounterObjectAccessControls++; | 814 buildCounterObjectAccessControls++; |
815 if (buildCounterObjectAccessControls < 3) { | 815 if (buildCounterObjectAccessControls < 3) { |
816 checkUnnamed513(o.items); | 816 checkUnnamed1068(o.items); |
817 unittest.expect(o.kind, unittest.equals('foo')); | 817 unittest.expect(o.kind, unittest.equals('foo')); |
818 } | 818 } |
819 buildCounterObjectAccessControls--; | 819 buildCounterObjectAccessControls--; |
820 } | 820 } |
821 | 821 |
822 buildUnnamed514() { | 822 buildUnnamed1069() { |
823 var o = new core.List<api.Object>(); | 823 var o = new core.List<api.Object>(); |
824 o.add(buildObject()); | 824 o.add(buildObject()); |
825 o.add(buildObject()); | 825 o.add(buildObject()); |
826 return o; | 826 return o; |
827 } | 827 } |
828 | 828 |
829 checkUnnamed514(core.List<api.Object> o) { | 829 checkUnnamed1069(core.List<api.Object> o) { |
830 unittest.expect(o, unittest.hasLength(2)); | 830 unittest.expect(o, unittest.hasLength(2)); |
831 checkObject(o[0]); | 831 checkObject(o[0]); |
832 checkObject(o[1]); | 832 checkObject(o[1]); |
833 } | 833 } |
834 | 834 |
835 buildUnnamed515() { | 835 buildUnnamed1070() { |
836 var o = new core.List<core.String>(); | 836 var o = new core.List<core.String>(); |
837 o.add("foo"); | 837 o.add("foo"); |
838 o.add("foo"); | 838 o.add("foo"); |
839 return o; | 839 return o; |
840 } | 840 } |
841 | 841 |
842 checkUnnamed515(core.List<core.String> o) { | 842 checkUnnamed1070(core.List<core.String> o) { |
843 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
844 unittest.expect(o[0], unittest.equals('foo')); | 844 unittest.expect(o[0], unittest.equals('foo')); |
845 unittest.expect(o[1], unittest.equals('foo')); | 845 unittest.expect(o[1], unittest.equals('foo')); |
846 } | 846 } |
847 | 847 |
848 core.int buildCounterObjects = 0; | 848 core.int buildCounterObjects = 0; |
849 buildObjects() { | 849 buildObjects() { |
850 var o = new api.Objects(); | 850 var o = new api.Objects(); |
851 buildCounterObjects++; | 851 buildCounterObjects++; |
852 if (buildCounterObjects < 3) { | 852 if (buildCounterObjects < 3) { |
853 o.items = buildUnnamed514(); | 853 o.items = buildUnnamed1069(); |
854 o.kind = "foo"; | 854 o.kind = "foo"; |
855 o.nextPageToken = "foo"; | 855 o.nextPageToken = "foo"; |
856 o.prefixes = buildUnnamed515(); | 856 o.prefixes = buildUnnamed1070(); |
857 } | 857 } |
858 buildCounterObjects--; | 858 buildCounterObjects--; |
859 return o; | 859 return o; |
860 } | 860 } |
861 | 861 |
862 checkObjects(api.Objects o) { | 862 checkObjects(api.Objects o) { |
863 buildCounterObjects++; | 863 buildCounterObjects++; |
864 if (buildCounterObjects < 3) { | 864 if (buildCounterObjects < 3) { |
865 checkUnnamed514(o.items); | 865 checkUnnamed1069(o.items); |
866 unittest.expect(o.kind, unittest.equals('foo')); | 866 unittest.expect(o.kind, unittest.equals('foo')); |
867 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 867 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
868 checkUnnamed515(o.prefixes); | 868 checkUnnamed1070(o.prefixes); |
869 } | 869 } |
870 buildCounterObjects--; | 870 buildCounterObjects--; |
871 } | 871 } |
872 | 872 |
873 | 873 |
874 main() { | 874 main() { |
875 unittest.group("obj-schema-BucketCors", () { | 875 unittest.group("obj-schema-BucketCors", () { |
876 unittest.test("to-json--from-json", () { | 876 unittest.test("to-json--from-json", () { |
877 var o = buildBucketCors(); | 877 var o = buildBucketCors(); |
878 var od = new api.BucketCors.fromJson(o.toJson()); | 878 var od = new api.BucketCors.fromJson(o.toJson()); |
(...skipping 2378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3257 res.watchAll(arg_request, arg_bucket, delimiter: arg_delimiter, maxResults
: arg_maxResults, pageToken: arg_pageToken, prefix: arg_prefix, projection: arg_
projection, versions: arg_versions).then(unittest.expectAsync(((api.Channel resp
onse) { | 3257 res.watchAll(arg_request, arg_bucket, delimiter: arg_delimiter, maxResults
: arg_maxResults, pageToken: arg_pageToken, prefix: arg_prefix, projection: arg_
projection, versions: arg_versions).then(unittest.expectAsync(((api.Channel resp
onse) { |
3258 checkChannel(response); | 3258 checkChannel(response); |
3259 }))); | 3259 }))); |
3260 }); | 3260 }); |
3261 | 3261 |
3262 }); | 3262 }); |
3263 | 3263 |
3264 | 3264 |
3265 } | 3265 } |
3266 | 3266 |
OLD | NEW |