| Index: generated/googleapis/test/storage/v1_test.dart
|
| diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
|
| index db84f8ad54a9bfd693e4f325f635bd9f07bdca2a..260e827577def3b5e889b9c04cdb17b57fde5675 100644
|
| --- a/generated/googleapis/test/storage/v1_test.dart
|
| +++ b/generated/googleapis/test/storage/v1_test.dart
|
| @@ -51,53 +51,53 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed914() {
|
| +buildUnnamed3202() {
|
| var o = new core.List<api.BucketAccessControl>();
|
| o.add(buildBucketAccessControl());
|
| o.add(buildBucketAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed914(core.List<api.BucketAccessControl> o) {
|
| +checkUnnamed3202(core.List<api.BucketAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketAccessControl(o[0]);
|
| checkBucketAccessControl(o[1]);
|
| }
|
|
|
| -buildUnnamed915() {
|
| +buildUnnamed3203() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed915(core.List<core.String> o) {
|
| +checkUnnamed3203(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed916() {
|
| +buildUnnamed3204() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed916(core.List<core.String> o) {
|
| +checkUnnamed3204(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed917() {
|
| +buildUnnamed3205() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed917(core.List<core.String> o) {
|
| +checkUnnamed3205(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -109,9 +109,9 @@ buildBucketCors() {
|
| buildCounterBucketCors++;
|
| if (buildCounterBucketCors < 3) {
|
| o.maxAgeSeconds = 42;
|
| - o.method = buildUnnamed915();
|
| - o.origin = buildUnnamed916();
|
| - o.responseHeader = buildUnnamed917();
|
| + o.method = buildUnnamed3203();
|
| + o.origin = buildUnnamed3204();
|
| + o.responseHeader = buildUnnamed3205();
|
| }
|
| buildCounterBucketCors--;
|
| return o;
|
| @@ -121,34 +121,34 @@ checkBucketCors(api.BucketCors o) {
|
| buildCounterBucketCors++;
|
| if (buildCounterBucketCors < 3) {
|
| unittest.expect(o.maxAgeSeconds, unittest.equals(42));
|
| - checkUnnamed915(o.method);
|
| - checkUnnamed916(o.origin);
|
| - checkUnnamed917(o.responseHeader);
|
| + checkUnnamed3203(o.method);
|
| + checkUnnamed3204(o.origin);
|
| + checkUnnamed3205(o.responseHeader);
|
| }
|
| buildCounterBucketCors--;
|
| }
|
|
|
| -buildUnnamed918() {
|
| +buildUnnamed3206() {
|
| var o = new core.List<api.BucketCors>();
|
| o.add(buildBucketCors());
|
| o.add(buildBucketCors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed918(core.List<api.BucketCors> o) {
|
| +checkUnnamed3206(core.List<api.BucketCors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketCors(o[0]);
|
| checkBucketCors(o[1]);
|
| }
|
|
|
| -buildUnnamed919() {
|
| +buildUnnamed3207() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed919(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed3207(core.List<api.ObjectAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObjectAccessControl(o[0]);
|
| checkObjectAccessControl(o[1]);
|
| @@ -219,14 +219,14 @@ checkBucketLifecycleRule(api.BucketLifecycleRule o) {
|
| buildCounterBucketLifecycleRule--;
|
| }
|
|
|
| -buildUnnamed920() {
|
| +buildUnnamed3208() {
|
| var o = new core.List<api.BucketLifecycleRule>();
|
| o.add(buildBucketLifecycleRule());
|
| o.add(buildBucketLifecycleRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed920(core.List<api.BucketLifecycleRule> o) {
|
| +checkUnnamed3208(core.List<api.BucketLifecycleRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketLifecycleRule(o[0]);
|
| checkBucketLifecycleRule(o[1]);
|
| @@ -237,7 +237,7 @@ buildBucketLifecycle() {
|
| var o = new api.BucketLifecycle();
|
| buildCounterBucketLifecycle++;
|
| if (buildCounterBucketLifecycle < 3) {
|
| - o.rule = buildUnnamed920();
|
| + o.rule = buildUnnamed3208();
|
| }
|
| buildCounterBucketLifecycle--;
|
| return o;
|
| @@ -246,7 +246,7 @@ buildBucketLifecycle() {
|
| checkBucketLifecycle(api.BucketLifecycle o) {
|
| buildCounterBucketLifecycle++;
|
| if (buildCounterBucketLifecycle < 3) {
|
| - checkUnnamed920(o.rule);
|
| + checkUnnamed3208(o.rule);
|
| }
|
| buildCounterBucketLifecycle--;
|
| }
|
| @@ -338,9 +338,9 @@ buildBucket() {
|
| var o = new api.Bucket();
|
| buildCounterBucket++;
|
| if (buildCounterBucket < 3) {
|
| - o.acl = buildUnnamed914();
|
| - o.cors = buildUnnamed918();
|
| - o.defaultObjectAcl = buildUnnamed919();
|
| + o.acl = buildUnnamed3202();
|
| + o.cors = buildUnnamed3206();
|
| + o.defaultObjectAcl = buildUnnamed3207();
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| @@ -365,9 +365,9 @@ buildBucket() {
|
| checkBucket(api.Bucket o) {
|
| buildCounterBucket++;
|
| if (buildCounterBucket < 3) {
|
| - checkUnnamed914(o.acl);
|
| - checkUnnamed918(o.cors);
|
| - checkUnnamed919(o.defaultObjectAcl);
|
| + checkUnnamed3202(o.acl);
|
| + checkUnnamed3206(o.cors);
|
| + checkUnnamed3207(o.defaultObjectAcl);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -448,14 +448,14 @@ checkBucketAccessControl(api.BucketAccessControl o) {
|
| buildCounterBucketAccessControl--;
|
| }
|
|
|
| -buildUnnamed921() {
|
| +buildUnnamed3209() {
|
| var o = new core.List<api.BucketAccessControl>();
|
| o.add(buildBucketAccessControl());
|
| o.add(buildBucketAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed921(core.List<api.BucketAccessControl> o) {
|
| +checkUnnamed3209(core.List<api.BucketAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketAccessControl(o[0]);
|
| checkBucketAccessControl(o[1]);
|
| @@ -466,7 +466,7 @@ buildBucketAccessControls() {
|
| var o = new api.BucketAccessControls();
|
| buildCounterBucketAccessControls++;
|
| if (buildCounterBucketAccessControls < 3) {
|
| - o.items = buildUnnamed921();
|
| + o.items = buildUnnamed3209();
|
| o.kind = "foo";
|
| }
|
| buildCounterBucketAccessControls--;
|
| @@ -476,20 +476,20 @@ buildBucketAccessControls() {
|
| checkBucketAccessControls(api.BucketAccessControls o) {
|
| buildCounterBucketAccessControls++;
|
| if (buildCounterBucketAccessControls < 3) {
|
| - checkUnnamed921(o.items);
|
| + checkUnnamed3209(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBucketAccessControls--;
|
| }
|
|
|
| -buildUnnamed922() {
|
| +buildUnnamed3210() {
|
| var o = new core.List<api.Bucket>();
|
| o.add(buildBucket());
|
| o.add(buildBucket());
|
| return o;
|
| }
|
|
|
| -checkUnnamed922(core.List<api.Bucket> o) {
|
| +checkUnnamed3210(core.List<api.Bucket> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucket(o[0]);
|
| checkBucket(o[1]);
|
| @@ -500,7 +500,7 @@ buildBuckets() {
|
| var o = new api.Buckets();
|
| buildCounterBuckets++;
|
| if (buildCounterBuckets < 3) {
|
| - o.items = buildUnnamed922();
|
| + o.items = buildUnnamed3210();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -511,21 +511,21 @@ buildBuckets() {
|
| checkBuckets(api.Buckets o) {
|
| buildCounterBuckets++;
|
| if (buildCounterBuckets < 3) {
|
| - checkUnnamed922(o.items);
|
| + checkUnnamed3210(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterBuckets--;
|
| }
|
|
|
| -buildUnnamed923() {
|
| +buildUnnamed3211() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed923(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3211(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -540,7 +540,7 @@ buildChannel() {
|
| o.expiration = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.params = buildUnnamed923();
|
| + o.params = buildUnnamed3211();
|
| o.payload = true;
|
| o.resourceId = "foo";
|
| o.resourceUri = "foo";
|
| @@ -558,7 +558,7 @@ checkChannel(api.Channel o) {
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed923(o.params);
|
| + checkUnnamed3211(o.params);
|
| unittest.expect(o.payload, unittest.isTrue);
|
| unittest.expect(o.resourceId, unittest.equals('foo'));
|
| unittest.expect(o.resourceUri, unittest.equals('foo'));
|
| @@ -610,14 +610,14 @@ checkComposeRequestSourceObjects(api.ComposeRequestSourceObjects o) {
|
| buildCounterComposeRequestSourceObjects--;
|
| }
|
|
|
| -buildUnnamed924() {
|
| +buildUnnamed3212() {
|
| var o = new core.List<api.ComposeRequestSourceObjects>();
|
| o.add(buildComposeRequestSourceObjects());
|
| o.add(buildComposeRequestSourceObjects());
|
| return o;
|
| }
|
|
|
| -checkUnnamed924(core.List<api.ComposeRequestSourceObjects> o) {
|
| +checkUnnamed3212(core.List<api.ComposeRequestSourceObjects> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComposeRequestSourceObjects(o[0]);
|
| checkComposeRequestSourceObjects(o[1]);
|
| @@ -630,7 +630,7 @@ buildComposeRequest() {
|
| if (buildCounterComposeRequest < 3) {
|
| o.destination = buildObject();
|
| o.kind = "foo";
|
| - o.sourceObjects = buildUnnamed924();
|
| + o.sourceObjects = buildUnnamed3212();
|
| }
|
| buildCounterComposeRequest--;
|
| return o;
|
| @@ -641,19 +641,19 @@ checkComposeRequest(api.ComposeRequest o) {
|
| if (buildCounterComposeRequest < 3) {
|
| checkObject(o.destination);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed924(o.sourceObjects);
|
| + checkUnnamed3212(o.sourceObjects);
|
| }
|
| buildCounterComposeRequest--;
|
| }
|
|
|
| -buildUnnamed925() {
|
| +buildUnnamed3213() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed925(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed3213(core.List<api.ObjectAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObjectAccessControl(o[0]);
|
| checkObjectAccessControl(o[1]);
|
| @@ -680,14 +680,14 @@ checkObjectCustomerEncryption(api.ObjectCustomerEncryption o) {
|
| buildCounterObjectCustomerEncryption--;
|
| }
|
|
|
| -buildUnnamed926() {
|
| +buildUnnamed3214() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed926(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3214(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -719,7 +719,7 @@ buildObject() {
|
| var o = new api.Object();
|
| buildCounterObject++;
|
| if (buildCounterObject < 3) {
|
| - o.acl = buildUnnamed925();
|
| + o.acl = buildUnnamed3213();
|
| o.bucket = "foo";
|
| o.cacheControl = "foo";
|
| o.componentCount = 42;
|
| @@ -735,7 +735,7 @@ buildObject() {
|
| o.kind = "foo";
|
| o.md5Hash = "foo";
|
| o.mediaLink = "foo";
|
| - o.metadata = buildUnnamed926();
|
| + o.metadata = buildUnnamed3214();
|
| o.metageneration = "foo";
|
| o.name = "foo";
|
| o.owner = buildObjectOwner();
|
| @@ -753,7 +753,7 @@ buildObject() {
|
| checkObject(api.Object o) {
|
| buildCounterObject++;
|
| if (buildCounterObject < 3) {
|
| - checkUnnamed925(o.acl);
|
| + checkUnnamed3213(o.acl);
|
| unittest.expect(o.bucket, unittest.equals('foo'));
|
| unittest.expect(o.cacheControl, unittest.equals('foo'));
|
| unittest.expect(o.componentCount, unittest.equals(42));
|
| @@ -769,7 +769,7 @@ checkObject(api.Object o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.md5Hash, unittest.equals('foo'));
|
| unittest.expect(o.mediaLink, unittest.equals('foo'));
|
| - checkUnnamed926(o.metadata);
|
| + checkUnnamed3214(o.metadata);
|
| unittest.expect(o.metageneration, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkObjectOwner(o.owner);
|
| @@ -847,14 +847,14 @@ checkObjectAccessControl(api.ObjectAccessControl o) {
|
| buildCounterObjectAccessControl--;
|
| }
|
|
|
| -buildUnnamed927() {
|
| +buildUnnamed3215() {
|
| var o = new core.List<core.Object>();
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| return o;
|
| }
|
|
|
| -checkUnnamed927(core.List<core.Object> o) {
|
| +checkUnnamed3215(core.List<core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
|
| var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
|
| @@ -865,7 +865,7 @@ buildObjectAccessControls() {
|
| var o = new api.ObjectAccessControls();
|
| buildCounterObjectAccessControls++;
|
| if (buildCounterObjectAccessControls < 3) {
|
| - o.items = buildUnnamed927();
|
| + o.items = buildUnnamed3215();
|
| o.kind = "foo";
|
| }
|
| buildCounterObjectAccessControls--;
|
| @@ -875,33 +875,33 @@ buildObjectAccessControls() {
|
| checkObjectAccessControls(api.ObjectAccessControls o) {
|
| buildCounterObjectAccessControls++;
|
| if (buildCounterObjectAccessControls < 3) {
|
| - checkUnnamed927(o.items);
|
| + checkUnnamed3215(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterObjectAccessControls--;
|
| }
|
|
|
| -buildUnnamed928() {
|
| +buildUnnamed3216() {
|
| var o = new core.List<api.Object>();
|
| o.add(buildObject());
|
| o.add(buildObject());
|
| return o;
|
| }
|
|
|
| -checkUnnamed928(core.List<api.Object> o) {
|
| +checkUnnamed3216(core.List<api.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObject(o[0]);
|
| checkObject(o[1]);
|
| }
|
|
|
| -buildUnnamed929() {
|
| +buildUnnamed3217() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed929(core.List<core.String> o) {
|
| +checkUnnamed3217(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -912,10 +912,10 @@ buildObjects() {
|
| var o = new api.Objects();
|
| buildCounterObjects++;
|
| if (buildCounterObjects < 3) {
|
| - o.items = buildUnnamed928();
|
| + o.items = buildUnnamed3216();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.prefixes = buildUnnamed929();
|
| + o.prefixes = buildUnnamed3217();
|
| }
|
| buildCounterObjects--;
|
| return o;
|
| @@ -924,10 +924,10 @@ buildObjects() {
|
| checkObjects(api.Objects o) {
|
| buildCounterObjects++;
|
| if (buildCounterObjects < 3) {
|
| - checkUnnamed928(o.items);
|
| + checkUnnamed3216(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed929(o.prefixes);
|
| + checkUnnamed3217(o.prefixes);
|
| }
|
| buildCounterObjects--;
|
| }
|
|
|