| 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 93e87ab624773eb5460c61b05862316fcb2b72bf..aca1ae9dbd7476f5a1f1a2532bcc5092dcd5628c 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);
|
| }
|
|
|
| -buildUnnamed1100() {
|
| +buildUnnamed1359() {
|
| var o = new core.List<api.BucketAccessControl>();
|
| o.add(buildBucketAccessControl());
|
| o.add(buildBucketAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1100(core.List<api.BucketAccessControl> o) {
|
| +checkUnnamed1359(core.List<api.BucketAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketAccessControl(o[0]);
|
| checkBucketAccessControl(o[1]);
|
| }
|
|
|
| -buildUnnamed1101() {
|
| +buildUnnamed1360() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1101(core.List<core.String> o) {
|
| +checkUnnamed1360(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'));
|
| }
|
|
|
| -buildUnnamed1102() {
|
| +buildUnnamed1361() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1102(core.List<core.String> o) {
|
| +checkUnnamed1361(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'));
|
| }
|
|
|
| -buildUnnamed1103() {
|
| +buildUnnamed1362() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1103(core.List<core.String> o) {
|
| +checkUnnamed1362(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 = buildUnnamed1101();
|
| - o.origin = buildUnnamed1102();
|
| - o.responseHeader = buildUnnamed1103();
|
| + o.method = buildUnnamed1360();
|
| + o.origin = buildUnnamed1361();
|
| + o.responseHeader = buildUnnamed1362();
|
| }
|
| buildCounterBucketCors--;
|
| return o;
|
| @@ -121,34 +121,34 @@ checkBucketCors(api.BucketCors o) {
|
| buildCounterBucketCors++;
|
| if (buildCounterBucketCors < 3) {
|
| unittest.expect(o.maxAgeSeconds, unittest.equals(42));
|
| - checkUnnamed1101(o.method);
|
| - checkUnnamed1102(o.origin);
|
| - checkUnnamed1103(o.responseHeader);
|
| + checkUnnamed1360(o.method);
|
| + checkUnnamed1361(o.origin);
|
| + checkUnnamed1362(o.responseHeader);
|
| }
|
| buildCounterBucketCors--;
|
| }
|
|
|
| -buildUnnamed1104() {
|
| +buildUnnamed1363() {
|
| var o = new core.List<api.BucketCors>();
|
| o.add(buildBucketCors());
|
| o.add(buildBucketCors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1104(core.List<api.BucketCors> o) {
|
| +checkUnnamed1363(core.List<api.BucketCors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketCors(o[0]);
|
| checkBucketCors(o[1]);
|
| }
|
|
|
| -buildUnnamed1105() {
|
| +buildUnnamed1364() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1105(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed1364(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--;
|
| }
|
|
|
| -buildUnnamed1106() {
|
| +buildUnnamed1365() {
|
| var o = new core.List<api.BucketLifecycleRule>();
|
| o.add(buildBucketLifecycleRule());
|
| o.add(buildBucketLifecycleRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1106(core.List<api.BucketLifecycleRule> o) {
|
| +checkUnnamed1365(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 = buildUnnamed1106();
|
| + o.rule = buildUnnamed1365();
|
| }
|
| buildCounterBucketLifecycle--;
|
| return o;
|
| @@ -246,7 +246,7 @@ buildBucketLifecycle() {
|
| checkBucketLifecycle(api.BucketLifecycle o) {
|
| buildCounterBucketLifecycle++;
|
| if (buildCounterBucketLifecycle < 3) {
|
| - checkUnnamed1106(o.rule);
|
| + checkUnnamed1365(o.rule);
|
| }
|
| buildCounterBucketLifecycle--;
|
| }
|
| @@ -338,9 +338,9 @@ buildBucket() {
|
| var o = new api.Bucket();
|
| buildCounterBucket++;
|
| if (buildCounterBucket < 3) {
|
| - o.acl = buildUnnamed1100();
|
| - o.cors = buildUnnamed1104();
|
| - o.defaultObjectAcl = buildUnnamed1105();
|
| + o.acl = buildUnnamed1359();
|
| + o.cors = buildUnnamed1363();
|
| + o.defaultObjectAcl = buildUnnamed1364();
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| @@ -365,9 +365,9 @@ buildBucket() {
|
| checkBucket(api.Bucket o) {
|
| buildCounterBucket++;
|
| if (buildCounterBucket < 3) {
|
| - checkUnnamed1100(o.acl);
|
| - checkUnnamed1104(o.cors);
|
| - checkUnnamed1105(o.defaultObjectAcl);
|
| + checkUnnamed1359(o.acl);
|
| + checkUnnamed1363(o.cors);
|
| + checkUnnamed1364(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--;
|
| }
|
|
|
| -buildUnnamed1107() {
|
| +buildUnnamed1366() {
|
| var o = new core.List<api.BucketAccessControl>();
|
| o.add(buildBucketAccessControl());
|
| o.add(buildBucketAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1107(core.List<api.BucketAccessControl> o) {
|
| +checkUnnamed1366(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 = buildUnnamed1107();
|
| + o.items = buildUnnamed1366();
|
| o.kind = "foo";
|
| }
|
| buildCounterBucketAccessControls--;
|
| @@ -476,20 +476,20 @@ buildBucketAccessControls() {
|
| checkBucketAccessControls(api.BucketAccessControls o) {
|
| buildCounterBucketAccessControls++;
|
| if (buildCounterBucketAccessControls < 3) {
|
| - checkUnnamed1107(o.items);
|
| + checkUnnamed1366(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBucketAccessControls--;
|
| }
|
|
|
| -buildUnnamed1108() {
|
| +buildUnnamed1367() {
|
| var o = new core.List<api.Bucket>();
|
| o.add(buildBucket());
|
| o.add(buildBucket());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1108(core.List<api.Bucket> o) {
|
| +checkUnnamed1367(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 = buildUnnamed1108();
|
| + o.items = buildUnnamed1367();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -511,21 +511,21 @@ buildBuckets() {
|
| checkBuckets(api.Buckets o) {
|
| buildCounterBuckets++;
|
| if (buildCounterBuckets < 3) {
|
| - checkUnnamed1108(o.items);
|
| + checkUnnamed1367(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterBuckets--;
|
| }
|
|
|
| -buildUnnamed1109() {
|
| +buildUnnamed1368() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1109(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1368(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 = buildUnnamed1109();
|
| + o.params = buildUnnamed1368();
|
| 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'));
|
| - checkUnnamed1109(o.params);
|
| + checkUnnamed1368(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--;
|
| }
|
|
|
| -buildUnnamed1110() {
|
| +buildUnnamed1369() {
|
| var o = new core.List<api.ComposeRequestSourceObjects>();
|
| o.add(buildComposeRequestSourceObjects());
|
| o.add(buildComposeRequestSourceObjects());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1110(core.List<api.ComposeRequestSourceObjects> o) {
|
| +checkUnnamed1369(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 = buildUnnamed1110();
|
| + o.sourceObjects = buildUnnamed1369();
|
| }
|
| buildCounterComposeRequest--;
|
| return o;
|
| @@ -641,19 +641,19 @@ checkComposeRequest(api.ComposeRequest o) {
|
| if (buildCounterComposeRequest < 3) {
|
| checkObject(o.destination);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1110(o.sourceObjects);
|
| + checkUnnamed1369(o.sourceObjects);
|
| }
|
| buildCounterComposeRequest--;
|
| }
|
|
|
| -buildUnnamed1111() {
|
| +buildUnnamed1370() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1111(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed1370(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--;
|
| }
|
|
|
| -buildUnnamed1112() {
|
| +buildUnnamed1371() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1112(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1371(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 = buildUnnamed1111();
|
| + o.acl = buildUnnamed1370();
|
| 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 = buildUnnamed1112();
|
| + o.metadata = buildUnnamed1371();
|
| o.metageneration = "foo";
|
| o.name = "foo";
|
| o.owner = buildObjectOwner();
|
| @@ -753,7 +753,7 @@ buildObject() {
|
| checkObject(api.Object o) {
|
| buildCounterObject++;
|
| if (buildCounterObject < 3) {
|
| - checkUnnamed1111(o.acl);
|
| + checkUnnamed1370(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'));
|
| - checkUnnamed1112(o.metadata);
|
| + checkUnnamed1371(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--;
|
| }
|
|
|
| -buildUnnamed1113() {
|
| +buildUnnamed1372() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1113(core.List<core.Object> o) {
|
| +checkUnnamed1372(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 = buildUnnamed1113();
|
| + o.items = buildUnnamed1372();
|
| o.kind = "foo";
|
| }
|
| buildCounterObjectAccessControls--;
|
| @@ -875,33 +875,33 @@ buildObjectAccessControls() {
|
| checkObjectAccessControls(api.ObjectAccessControls o) {
|
| buildCounterObjectAccessControls++;
|
| if (buildCounterObjectAccessControls < 3) {
|
| - checkUnnamed1113(o.items);
|
| + checkUnnamed1372(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterObjectAccessControls--;
|
| }
|
|
|
| -buildUnnamed1114() {
|
| +buildUnnamed1373() {
|
| var o = new core.List<api.Object>();
|
| o.add(buildObject());
|
| o.add(buildObject());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1114(core.List<api.Object> o) {
|
| +checkUnnamed1373(core.List<api.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObject(o[0]);
|
| checkObject(o[1]);
|
| }
|
|
|
| -buildUnnamed1115() {
|
| +buildUnnamed1374() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1115(core.List<core.String> o) {
|
| +checkUnnamed1374(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 = buildUnnamed1114();
|
| + o.items = buildUnnamed1373();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.prefixes = buildUnnamed1115();
|
| + o.prefixes = buildUnnamed1374();
|
| }
|
| buildCounterObjects--;
|
| return o;
|
| @@ -924,10 +924,10 @@ buildObjects() {
|
| checkObjects(api.Objects o) {
|
| buildCounterObjects++;
|
| if (buildCounterObjects < 3) {
|
| - checkUnnamed1114(o.items);
|
| + checkUnnamed1373(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1115(o.prefixes);
|
| + checkUnnamed1374(o.prefixes);
|
| }
|
| buildCounterObjects--;
|
| }
|
|
|