| 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 3b6bc001159009d947bbd8fc1a8955b1cdcdd48e..6c2da20197b69ec13f79227f055be63b6e56eba9 100644
|
| --- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
|
| +++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
|
| @@ -70,14 +70,14 @@ checkAncestor(api.Ancestor o) {
|
| buildCounterAncestor--;
|
| }
|
|
|
| -buildUnnamed1699() {
|
| +buildUnnamed1793() {
|
| var o = new core.List<api.AuditLogConfig>();
|
| o.add(buildAuditLogConfig());
|
| o.add(buildAuditLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1699(core.List<api.AuditLogConfig> o) {
|
| +checkUnnamed1793(core.List<api.AuditLogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuditLogConfig(o[0]);
|
| checkAuditLogConfig(o[1]);
|
| @@ -88,7 +88,7 @@ buildAuditConfig() {
|
| var o = new api.AuditConfig();
|
| buildCounterAuditConfig++;
|
| if (buildCounterAuditConfig < 3) {
|
| - o.auditLogConfigs = buildUnnamed1699();
|
| + o.auditLogConfigs = buildUnnamed1793();
|
| o.service = "foo";
|
| }
|
| buildCounterAuditConfig--;
|
| @@ -98,20 +98,20 @@ buildAuditConfig() {
|
| checkAuditConfig(api.AuditConfig o) {
|
| buildCounterAuditConfig++;
|
| if (buildCounterAuditConfig < 3) {
|
| - checkUnnamed1699(o.auditLogConfigs);
|
| + checkUnnamed1793(o.auditLogConfigs);
|
| unittest.expect(o.service, unittest.equals('foo'));
|
| }
|
| buildCounterAuditConfig--;
|
| }
|
|
|
| -buildUnnamed1700() {
|
| +buildUnnamed1794() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1700(core.List<core.String> o) {
|
| +checkUnnamed1794(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'));
|
| @@ -122,7 +122,7 @@ buildAuditLogConfig() {
|
| var o = new api.AuditLogConfig();
|
| buildCounterAuditLogConfig++;
|
| if (buildCounterAuditLogConfig < 3) {
|
| - o.exemptedMembers = buildUnnamed1700();
|
| + o.exemptedMembers = buildUnnamed1794();
|
| o.logType = "foo";
|
| }
|
| buildCounterAuditLogConfig--;
|
| @@ -132,20 +132,20 @@ buildAuditLogConfig() {
|
| checkAuditLogConfig(api.AuditLogConfig o) {
|
| buildCounterAuditLogConfig++;
|
| if (buildCounterAuditLogConfig < 3) {
|
| - checkUnnamed1700(o.exemptedMembers);
|
| + checkUnnamed1794(o.exemptedMembers);
|
| unittest.expect(o.logType, unittest.equals('foo'));
|
| }
|
| buildCounterAuditLogConfig--;
|
| }
|
|
|
| -buildUnnamed1701() {
|
| +buildUnnamed1795() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1701(core.List<core.String> o) {
|
| +checkUnnamed1795(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'));
|
| @@ -156,7 +156,7 @@ buildBinding() {
|
| var o = new api.Binding();
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - o.members = buildUnnamed1701();
|
| + o.members = buildUnnamed1795();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -166,7 +166,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed1701(o.members);
|
| + checkUnnamed1795(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -338,14 +338,14 @@ checkGetAncestryRequest(api.GetAncestryRequest o) {
|
| buildCounterGetAncestryRequest--;
|
| }
|
|
|
| -buildUnnamed1702() {
|
| +buildUnnamed1796() {
|
| var o = new core.List<api.Ancestor>();
|
| o.add(buildAncestor());
|
| o.add(buildAncestor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1702(core.List<api.Ancestor> o) {
|
| +checkUnnamed1796(core.List<api.Ancestor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAncestor(o[0]);
|
| checkAncestor(o[1]);
|
| @@ -356,7 +356,7 @@ buildGetAncestryResponse() {
|
| var o = new api.GetAncestryResponse();
|
| buildCounterGetAncestryResponse++;
|
| if (buildCounterGetAncestryResponse < 3) {
|
| - o.ancestor = buildUnnamed1702();
|
| + o.ancestor = buildUnnamed1796();
|
| }
|
| buildCounterGetAncestryResponse--;
|
| return o;
|
| @@ -365,7 +365,7 @@ buildGetAncestryResponse() {
|
| checkGetAncestryResponse(api.GetAncestryResponse o) {
|
| buildCounterGetAncestryResponse++;
|
| if (buildCounterGetAncestryResponse < 3) {
|
| - checkUnnamed1702(o.ancestor);
|
| + checkUnnamed1796(o.ancestor);
|
| }
|
| buildCounterGetAncestryResponse--;
|
| }
|
| @@ -425,14 +425,14 @@ checkGetOrgPolicyRequest(api.GetOrgPolicyRequest o) {
|
| buildCounterGetOrgPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed1703() {
|
| +buildUnnamed1797() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1703(core.List<core.String> o) {
|
| +checkUnnamed1797(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'));
|
| @@ -448,7 +448,7 @@ buildLien() {
|
| o.origin = "foo";
|
| o.parent = "foo";
|
| o.reason = "foo";
|
| - o.restrictions = buildUnnamed1703();
|
| + o.restrictions = buildUnnamed1797();
|
| }
|
| buildCounterLien--;
|
| return o;
|
| @@ -462,7 +462,7 @@ checkLien(api.Lien o) {
|
| unittest.expect(o.origin, unittest.equals('foo'));
|
| unittest.expect(o.parent, unittest.equals('foo'));
|
| unittest.expect(o.reason, unittest.equals('foo'));
|
| - checkUnnamed1703(o.restrictions);
|
| + checkUnnamed1797(o.restrictions);
|
| }
|
| buildCounterLien--;
|
| }
|
| @@ -488,14 +488,14 @@ checkListAvailableOrgPolicyConstraintsRequest(api.ListAvailableOrgPolicyConstrai
|
| buildCounterListAvailableOrgPolicyConstraintsRequest--;
|
| }
|
|
|
| -buildUnnamed1704() {
|
| +buildUnnamed1798() {
|
| var o = new core.List<api.Constraint>();
|
| o.add(buildConstraint());
|
| o.add(buildConstraint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1704(core.List<api.Constraint> o) {
|
| +checkUnnamed1798(core.List<api.Constraint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConstraint(o[0]);
|
| checkConstraint(o[1]);
|
| @@ -506,7 +506,7 @@ buildListAvailableOrgPolicyConstraintsResponse() {
|
| var o = new api.ListAvailableOrgPolicyConstraintsResponse();
|
| buildCounterListAvailableOrgPolicyConstraintsResponse++;
|
| if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
|
| - o.constraints = buildUnnamed1704();
|
| + o.constraints = buildUnnamed1798();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListAvailableOrgPolicyConstraintsResponse--;
|
| @@ -516,7 +516,7 @@ buildListAvailableOrgPolicyConstraintsResponse() {
|
| checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstraintsResponse o) {
|
| buildCounterListAvailableOrgPolicyConstraintsResponse++;
|
| if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
|
| - checkUnnamed1704(o.constraints);
|
| + checkUnnamed1798(o.constraints);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListAvailableOrgPolicyConstraintsResponse--;
|
| @@ -541,14 +541,14 @@ checkListConstraint(api.ListConstraint o) {
|
| buildCounterListConstraint--;
|
| }
|
|
|
| -buildUnnamed1705() {
|
| +buildUnnamed1799() {
|
| var o = new core.List<api.Lien>();
|
| o.add(buildLien());
|
| o.add(buildLien());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1705(core.List<api.Lien> o) {
|
| +checkUnnamed1799(core.List<api.Lien> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLien(o[0]);
|
| checkLien(o[1]);
|
| @@ -559,7 +559,7 @@ buildListLiensResponse() {
|
| var o = new api.ListLiensResponse();
|
| buildCounterListLiensResponse++;
|
| if (buildCounterListLiensResponse < 3) {
|
| - o.liens = buildUnnamed1705();
|
| + o.liens = buildUnnamed1799();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListLiensResponse--;
|
| @@ -569,7 +569,7 @@ buildListLiensResponse() {
|
| checkListLiensResponse(api.ListLiensResponse o) {
|
| buildCounterListLiensResponse++;
|
| if (buildCounterListLiensResponse < 3) {
|
| - checkUnnamed1705(o.liens);
|
| + checkUnnamed1799(o.liens);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListLiensResponse--;
|
| @@ -596,14 +596,14 @@ checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) {
|
| buildCounterListOrgPoliciesRequest--;
|
| }
|
|
|
| -buildUnnamed1706() {
|
| +buildUnnamed1800() {
|
| var o = new core.List<api.OrgPolicy>();
|
| o.add(buildOrgPolicy());
|
| o.add(buildOrgPolicy());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1706(core.List<api.OrgPolicy> o) {
|
| +checkUnnamed1800(core.List<api.OrgPolicy> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrgPolicy(o[0]);
|
| checkOrgPolicy(o[1]);
|
| @@ -615,7 +615,7 @@ buildListOrgPoliciesResponse() {
|
| buildCounterListOrgPoliciesResponse++;
|
| if (buildCounterListOrgPoliciesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.policies = buildUnnamed1706();
|
| + o.policies = buildUnnamed1800();
|
| }
|
| buildCounterListOrgPoliciesResponse--;
|
| return o;
|
| @@ -625,32 +625,32 @@ checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) {
|
| buildCounterListOrgPoliciesResponse++;
|
| if (buildCounterListOrgPoliciesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1706(o.policies);
|
| + checkUnnamed1800(o.policies);
|
| }
|
| buildCounterListOrgPoliciesResponse--;
|
| }
|
|
|
| -buildUnnamed1707() {
|
| +buildUnnamed1801() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1707(core.List<core.String> o) {
|
| +checkUnnamed1801(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'));
|
| }
|
|
|
| -buildUnnamed1708() {
|
| +buildUnnamed1802() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1708(core.List<core.String> o) {
|
| +checkUnnamed1802(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'));
|
| @@ -662,8 +662,8 @@ buildListPolicy() {
|
| buildCounterListPolicy++;
|
| if (buildCounterListPolicy < 3) {
|
| o.allValues = "foo";
|
| - o.allowedValues = buildUnnamed1707();
|
| - o.deniedValues = buildUnnamed1708();
|
| + o.allowedValues = buildUnnamed1801();
|
| + o.deniedValues = buildUnnamed1802();
|
| o.inheritFromParent = true;
|
| o.suggestedValue = "foo";
|
| }
|
| @@ -675,22 +675,22 @@ checkListPolicy(api.ListPolicy o) {
|
| buildCounterListPolicy++;
|
| if (buildCounterListPolicy < 3) {
|
| unittest.expect(o.allValues, unittest.equals('foo'));
|
| - checkUnnamed1707(o.allowedValues);
|
| - checkUnnamed1708(o.deniedValues);
|
| + checkUnnamed1801(o.allowedValues);
|
| + checkUnnamed1802(o.deniedValues);
|
| unittest.expect(o.inheritFromParent, unittest.isTrue);
|
| unittest.expect(o.suggestedValue, unittest.equals('foo'));
|
| }
|
| buildCounterListPolicy--;
|
| }
|
|
|
| -buildUnnamed1709() {
|
| +buildUnnamed1803() {
|
| var o = new core.List<api.Project>();
|
| o.add(buildProject());
|
| o.add(buildProject());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1709(core.List<api.Project> o) {
|
| +checkUnnamed1803(core.List<api.Project> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProject(o[0]);
|
| checkProject(o[1]);
|
| @@ -702,7 +702,7 @@ buildListProjectsResponse() {
|
| buildCounterListProjectsResponse++;
|
| if (buildCounterListProjectsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.projects = buildUnnamed1709();
|
| + o.projects = buildUnnamed1803();
|
| }
|
| buildCounterListProjectsResponse--;
|
| return o;
|
| @@ -712,32 +712,32 @@ checkListProjectsResponse(api.ListProjectsResponse o) {
|
| buildCounterListProjectsResponse++;
|
| if (buildCounterListProjectsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1709(o.projects);
|
| + checkUnnamed1803(o.projects);
|
| }
|
| buildCounterListProjectsResponse--;
|
| }
|
|
|
| -buildUnnamed1710() {
|
| +buildUnnamed1804() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1710(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1804(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'));
|
| }
|
|
|
| -buildUnnamed1711() {
|
| +buildUnnamed1805() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1711(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1805(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'));
|
| @@ -750,9 +750,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed1710();
|
| + o.metadata = buildUnnamed1804();
|
| o.name = "foo";
|
| - o.response = buildUnnamed1711();
|
| + o.response = buildUnnamed1805();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -763,9 +763,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed1710(o.metadata);
|
| + checkUnnamed1804(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1711(o.response);
|
| + checkUnnamed1805(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -847,27 +847,27 @@ checkOrganizationOwner(api.OrganizationOwner o) {
|
| buildCounterOrganizationOwner--;
|
| }
|
|
|
| -buildUnnamed1712() {
|
| +buildUnnamed1806() {
|
| var o = new core.List<api.AuditConfig>();
|
| o.add(buildAuditConfig());
|
| o.add(buildAuditConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1712(core.List<api.AuditConfig> o) {
|
| +checkUnnamed1806(core.List<api.AuditConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuditConfig(o[0]);
|
| checkAuditConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1713() {
|
| +buildUnnamed1807() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1713(core.List<api.Binding> o) {
|
| +checkUnnamed1807(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| @@ -878,8 +878,8 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.auditConfigs = buildUnnamed1712();
|
| - o.bindings = buildUnnamed1713();
|
| + o.auditConfigs = buildUnnamed1806();
|
| + o.bindings = buildUnnamed1807();
|
| o.etag = "foo";
|
| o.version = 42;
|
| }
|
| @@ -890,22 +890,22 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed1712(o.auditConfigs);
|
| - checkUnnamed1713(o.bindings);
|
| + checkUnnamed1806(o.auditConfigs);
|
| + checkUnnamed1807(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed1714() {
|
| +buildUnnamed1808() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1714(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1808(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'));
|
| @@ -917,7 +917,7 @@ buildProject() {
|
| buildCounterProject++;
|
| if (buildCounterProject < 3) {
|
| o.createTime = "foo";
|
| - o.labels = buildUnnamed1714();
|
| + o.labels = buildUnnamed1808();
|
| o.lifecycleState = "foo";
|
| o.name = "foo";
|
| o.parent = buildResourceId();
|
| @@ -932,7 +932,7 @@ checkProject(api.Project o) {
|
| buildCounterProject++;
|
| if (buildCounterProject < 3) {
|
| unittest.expect(o.createTime, unittest.equals('foo'));
|
| - checkUnnamed1714(o.labels);
|
| + checkUnnamed1808(o.labels);
|
| unittest.expect(o.lifecycleState, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkResourceId(o.parent);
|
| @@ -1026,14 +1026,14 @@ checkSearchOrganizationsRequest(api.SearchOrganizationsRequest o) {
|
| buildCounterSearchOrganizationsRequest--;
|
| }
|
|
|
| -buildUnnamed1715() {
|
| +buildUnnamed1809() {
|
| var o = new core.List<api.Organization>();
|
| o.add(buildOrganization());
|
| o.add(buildOrganization());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1715(core.List<api.Organization> o) {
|
| +checkUnnamed1809(core.List<api.Organization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOrganization(o[0]);
|
| checkOrganization(o[1]);
|
| @@ -1045,7 +1045,7 @@ buildSearchOrganizationsResponse() {
|
| buildCounterSearchOrganizationsResponse++;
|
| if (buildCounterSearchOrganizationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.organizations = buildUnnamed1715();
|
| + o.organizations = buildUnnamed1809();
|
| }
|
| buildCounterSearchOrganizationsResponse--;
|
| return o;
|
| @@ -1055,7 +1055,7 @@ checkSearchOrganizationsResponse(api.SearchOrganizationsResponse o) {
|
| buildCounterSearchOrganizationsResponse++;
|
| if (buildCounterSearchOrganizationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1715(o.organizations);
|
| + checkUnnamed1809(o.organizations);
|
| }
|
| buildCounterSearchOrganizationsResponse--;
|
| }
|
| @@ -1100,30 +1100,30 @@ checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) {
|
| buildCounterSetOrgPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed1716() {
|
| +buildUnnamed1810() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1716(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1810(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'));
|
| }
|
|
|
| -buildUnnamed1717() {
|
| +buildUnnamed1811() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1716());
|
| - o.add(buildUnnamed1716());
|
| + o.add(buildUnnamed1810());
|
| + o.add(buildUnnamed1810());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1717(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1811(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1716(o[0]);
|
| - checkUnnamed1716(o[1]);
|
| + checkUnnamed1810(o[0]);
|
| + checkUnnamed1810(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1132,7 +1132,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1717();
|
| + o.details = buildUnnamed1811();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1143,20 +1143,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1717(o.details);
|
| + checkUnnamed1811(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed1718() {
|
| +buildUnnamed1812() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1718(core.List<core.String> o) {
|
| +checkUnnamed1812(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'));
|
| @@ -1167,7 +1167,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed1718();
|
| + o.permissions = buildUnnamed1812();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -1176,19 +1176,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed1718(o.permissions);
|
| + checkUnnamed1812(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed1719() {
|
| +buildUnnamed1813() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1719(core.List<core.String> o) {
|
| +checkUnnamed1813(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'));
|
| @@ -1199,7 +1199,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed1719();
|
| + o.permissions = buildUnnamed1813();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -1208,7 +1208,7 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed1719(o.permissions);
|
| + checkUnnamed1813(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
| @@ -2005,9 +2005,9 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.LiensResourceApi res = new api.CloudresourcemanagerApi(mock).liens;
|
| - var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_parent = "foo";
|
| + var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2034,9 +2034,9 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
|
|
|
|
| var h = {
|
| @@ -2045,7 +2045,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListLiensResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, parent: arg_parent).then(unittest.expectAsync1(((api.ListLiensResponse response) {
|
| + res.list(pageSize: arg_pageSize, parent: arg_parent, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLiensResponse response) {
|
| checkListLiensResponse(response);
|
| })));
|
| });
|
| @@ -3042,9 +3042,9 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.ProjectsResourceApi res = new api.CloudresourcemanagerApi(mock).projects;
|
| - var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| + var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -3071,9 +3071,9 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
|
|
|
|
| var h = {
|
| @@ -3082,7 +3082,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListProjectsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
|
| + res.list(pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
|
| checkListProjectsResponse(response);
|
| })));
|
| });
|
|
|