| Index: generated/googleapis/test/cloudresourcemanager/v1_test.dart
|
| diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
|
| index 6e4ea00c4a9eee43b6efe55656fcb7f6f4e35676..9c0b36402d8932f3d7dd3977eb6f625ee39a68ea 100644
|
| --- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
|
| +++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed673() {
|
| +buildUnnamed2030() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed673(core.List<core.String> o) {
|
| +checkUnnamed2030(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'));
|
| @@ -69,7 +69,7 @@ buildBinding() {
|
| var o = new api.Binding();
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - o.members = buildUnnamed673();
|
| + o.members = buildUnnamed2030();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -79,7 +79,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed673(o.members);
|
| + checkUnnamed2030(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -119,14 +119,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
|
| buildCounterGetIamPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed674() {
|
| +buildUnnamed2031() {
|
| var o = new core.List<api.Project>();
|
| o.add(buildProject());
|
| o.add(buildProject());
|
| return o;
|
| }
|
|
|
| -checkUnnamed674(core.List<api.Project> o) {
|
| +checkUnnamed2031(core.List<api.Project> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProject(o[0]);
|
| checkProject(o[1]);
|
| @@ -138,7 +138,7 @@ buildListProjectsResponse() {
|
| buildCounterListProjectsResponse++;
|
| if (buildCounterListProjectsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.projects = buildUnnamed674();
|
| + o.projects = buildUnnamed2031();
|
| }
|
| buildCounterListProjectsResponse--;
|
| return o;
|
| @@ -148,32 +148,32 @@ checkListProjectsResponse(api.ListProjectsResponse o) {
|
| buildCounterListProjectsResponse++;
|
| if (buildCounterListProjectsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed674(o.projects);
|
| + checkUnnamed2031(o.projects);
|
| }
|
| buildCounterListProjectsResponse--;
|
| }
|
|
|
| -buildUnnamed675() {
|
| +buildUnnamed2032() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed675(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2032(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o["x"]) 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["y"]) 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'));
|
| }
|
|
|
| -buildUnnamed676() {
|
| +buildUnnamed2033() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed676(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2033(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
|
| var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
|
| @@ -186,9 +186,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed675();
|
| + o.metadata = buildUnnamed2032();
|
| o.name = "foo";
|
| - o.response = buildUnnamed676();
|
| + o.response = buildUnnamed2033();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -199,21 +199,21 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed675(o.metadata);
|
| + checkUnnamed2032(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed676(o.response);
|
| + checkUnnamed2033(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed677() {
|
| +buildUnnamed2034() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed677(core.List<api.Binding> o) {
|
| +checkUnnamed2034(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| @@ -224,7 +224,7 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.bindings = buildUnnamed677();
|
| + o.bindings = buildUnnamed2034();
|
| o.etag = "foo";
|
| o.version = 42;
|
| }
|
| @@ -235,21 +235,21 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed677(o.bindings);
|
| + checkUnnamed2034(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed678() {
|
| +buildUnnamed2035() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed678(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2035(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'));
|
| @@ -261,7 +261,7 @@ buildProject() {
|
| buildCounterProject++;
|
| if (buildCounterProject < 3) {
|
| o.createTime = "foo";
|
| - o.labels = buildUnnamed678();
|
| + o.labels = buildUnnamed2035();
|
| o.lifecycleState = "foo";
|
| o.name = "foo";
|
| o.parent = buildResourceId();
|
| @@ -276,7 +276,7 @@ checkProject(api.Project o) {
|
| buildCounterProject++;
|
| if (buildCounterProject < 3) {
|
| unittest.expect(o.createTime, unittest.equals('foo'));
|
| - checkUnnamed678(o.labels);
|
| + checkUnnamed2035(o.labels);
|
| unittest.expect(o.lifecycleState, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkResourceId(o.parent);
|
| @@ -326,30 +326,30 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
|
| buildCounterSetIamPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed679() {
|
| +buildUnnamed2036() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed679(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2036(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
|
| var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed680() {
|
| +buildUnnamed2037() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed679());
|
| - o.add(buildUnnamed679());
|
| + o.add(buildUnnamed2036());
|
| + o.add(buildUnnamed2036());
|
| return o;
|
| }
|
|
|
| -checkUnnamed680(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed2037(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed679(o[0]);
|
| - checkUnnamed679(o[1]);
|
| + checkUnnamed2036(o[0]);
|
| + checkUnnamed2036(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -358,7 +358,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed680();
|
| + o.details = buildUnnamed2037();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -369,20 +369,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed680(o.details);
|
| + checkUnnamed2037(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed681() {
|
| +buildUnnamed2038() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed681(core.List<core.String> o) {
|
| +checkUnnamed2038(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'));
|
| @@ -393,7 +393,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed681();
|
| + o.permissions = buildUnnamed2038();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -402,19 +402,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed681(o.permissions);
|
| + checkUnnamed2038(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed682() {
|
| +buildUnnamed2039() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed682(core.List<core.String> o) {
|
| +checkUnnamed2039(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'));
|
| @@ -425,7 +425,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed682();
|
| + o.permissions = buildUnnamed2039();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -434,7 +434,7 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed682(o.permissions);
|
| + checkUnnamed2039(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|