Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: generated/googleapis/test/cloudresourcemanager/v1_test.dart

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6c2da20197b69ec13f79227f055be63b6e56eba9..e85866583682d257a9fc1bb46f6b7a955c38966e 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--;
}
-buildUnnamed1793() {
+buildUnnamed1825() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed1793(core.List<api.AuditLogConfig> o) {
+checkUnnamed1825(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 = buildUnnamed1793();
+ o.auditLogConfigs = buildUnnamed1825();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -98,20 +98,20 @@ buildAuditConfig() {
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed1793(o.auditLogConfigs);
+ checkUnnamed1825(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed1794() {
+buildUnnamed1826() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1794(core.List<core.String> o) {
+checkUnnamed1826(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 = buildUnnamed1794();
+ o.exemptedMembers = buildUnnamed1826();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -132,20 +132,20 @@ buildAuditLogConfig() {
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed1794(o.exemptedMembers);
+ checkUnnamed1826(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed1795() {
+buildUnnamed1827() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1795(core.List<core.String> o) {
+checkUnnamed1827(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 = buildUnnamed1795();
+ o.members = buildUnnamed1827();
o.role = "foo";
}
buildCounterBinding--;
@@ -166,7 +166,7 @@ buildBinding() {
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed1795(o.members);
+ checkUnnamed1827(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -338,14 +338,14 @@ checkGetAncestryRequest(api.GetAncestryRequest o) {
buildCounterGetAncestryRequest--;
}
-buildUnnamed1796() {
+buildUnnamed1828() {
var o = new core.List<api.Ancestor>();
o.add(buildAncestor());
o.add(buildAncestor());
return o;
}
-checkUnnamed1796(core.List<api.Ancestor> o) {
+checkUnnamed1828(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 = buildUnnamed1796();
+ o.ancestor = buildUnnamed1828();
}
buildCounterGetAncestryResponse--;
return o;
@@ -365,7 +365,7 @@ buildGetAncestryResponse() {
checkGetAncestryResponse(api.GetAncestryResponse o) {
buildCounterGetAncestryResponse++;
if (buildCounterGetAncestryResponse < 3) {
- checkUnnamed1796(o.ancestor);
+ checkUnnamed1828(o.ancestor);
}
buildCounterGetAncestryResponse--;
}
@@ -425,14 +425,14 @@ checkGetOrgPolicyRequest(api.GetOrgPolicyRequest o) {
buildCounterGetOrgPolicyRequest--;
}
-buildUnnamed1797() {
+buildUnnamed1829() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1797(core.List<core.String> o) {
+checkUnnamed1829(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 = buildUnnamed1797();
+ o.restrictions = buildUnnamed1829();
}
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'));
- checkUnnamed1797(o.restrictions);
+ checkUnnamed1829(o.restrictions);
}
buildCounterLien--;
}
@@ -488,14 +488,14 @@ checkListAvailableOrgPolicyConstraintsRequest(api.ListAvailableOrgPolicyConstrai
buildCounterListAvailableOrgPolicyConstraintsRequest--;
}
-buildUnnamed1798() {
+buildUnnamed1830() {
var o = new core.List<api.Constraint>();
o.add(buildConstraint());
o.add(buildConstraint());
return o;
}
-checkUnnamed1798(core.List<api.Constraint> o) {
+checkUnnamed1830(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 = buildUnnamed1798();
+ o.constraints = buildUnnamed1830();
o.nextPageToken = "foo";
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -516,7 +516,7 @@ buildListAvailableOrgPolicyConstraintsResponse() {
checkListAvailableOrgPolicyConstraintsResponse(api.ListAvailableOrgPolicyConstraintsResponse o) {
buildCounterListAvailableOrgPolicyConstraintsResponse++;
if (buildCounterListAvailableOrgPolicyConstraintsResponse < 3) {
- checkUnnamed1798(o.constraints);
+ checkUnnamed1830(o.constraints);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAvailableOrgPolicyConstraintsResponse--;
@@ -541,14 +541,14 @@ checkListConstraint(api.ListConstraint o) {
buildCounterListConstraint--;
}
-buildUnnamed1799() {
+buildUnnamed1831() {
var o = new core.List<api.Lien>();
o.add(buildLien());
o.add(buildLien());
return o;
}
-checkUnnamed1799(core.List<api.Lien> o) {
+checkUnnamed1831(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 = buildUnnamed1799();
+ o.liens = buildUnnamed1831();
o.nextPageToken = "foo";
}
buildCounterListLiensResponse--;
@@ -569,7 +569,7 @@ buildListLiensResponse() {
checkListLiensResponse(api.ListLiensResponse o) {
buildCounterListLiensResponse++;
if (buildCounterListLiensResponse < 3) {
- checkUnnamed1799(o.liens);
+ checkUnnamed1831(o.liens);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLiensResponse--;
@@ -596,14 +596,14 @@ checkListOrgPoliciesRequest(api.ListOrgPoliciesRequest o) {
buildCounterListOrgPoliciesRequest--;
}
-buildUnnamed1800() {
+buildUnnamed1832() {
var o = new core.List<api.OrgPolicy>();
o.add(buildOrgPolicy());
o.add(buildOrgPolicy());
return o;
}
-checkUnnamed1800(core.List<api.OrgPolicy> o) {
+checkUnnamed1832(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 = buildUnnamed1800();
+ o.policies = buildUnnamed1832();
}
buildCounterListOrgPoliciesResponse--;
return o;
@@ -625,32 +625,32 @@ checkListOrgPoliciesResponse(api.ListOrgPoliciesResponse o) {
buildCounterListOrgPoliciesResponse++;
if (buildCounterListOrgPoliciesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1800(o.policies);
+ checkUnnamed1832(o.policies);
}
buildCounterListOrgPoliciesResponse--;
}
-buildUnnamed1801() {
+buildUnnamed1833() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1801(core.List<core.String> o) {
+checkUnnamed1833(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'));
}
-buildUnnamed1802() {
+buildUnnamed1834() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1802(core.List<core.String> o) {
+checkUnnamed1834(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 = buildUnnamed1801();
- o.deniedValues = buildUnnamed1802();
+ o.allowedValues = buildUnnamed1833();
+ o.deniedValues = buildUnnamed1834();
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'));
- checkUnnamed1801(o.allowedValues);
- checkUnnamed1802(o.deniedValues);
+ checkUnnamed1833(o.allowedValues);
+ checkUnnamed1834(o.deniedValues);
unittest.expect(o.inheritFromParent, unittest.isTrue);
unittest.expect(o.suggestedValue, unittest.equals('foo'));
}
buildCounterListPolicy--;
}
-buildUnnamed1803() {
+buildUnnamed1835() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed1803(core.List<api.Project> o) {
+checkUnnamed1835(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 = buildUnnamed1803();
+ o.projects = buildUnnamed1835();
}
buildCounterListProjectsResponse--;
return o;
@@ -712,32 +712,32 @@ checkListProjectsResponse(api.ListProjectsResponse o) {
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1803(o.projects);
+ checkUnnamed1835(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed1804() {
+buildUnnamed1836() {
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;
}
-checkUnnamed1804(core.Map<core.String, core.Object> o) {
+checkUnnamed1836(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'));
}
-buildUnnamed1805() {
+buildUnnamed1837() {
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;
}
-checkUnnamed1805(core.Map<core.String, core.Object> o) {
+checkUnnamed1837(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 = buildUnnamed1804();
+ o.metadata = buildUnnamed1836();
o.name = "foo";
- o.response = buildUnnamed1805();
+ o.response = buildUnnamed1837();
}
buildCounterOperation--;
return o;
@@ -763,9 +763,9 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed1804(o.metadata);
+ checkUnnamed1836(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed1805(o.response);
+ checkUnnamed1837(o.response);
}
buildCounterOperation--;
}
@@ -847,27 +847,27 @@ checkOrganizationOwner(api.OrganizationOwner o) {
buildCounterOrganizationOwner--;
}
-buildUnnamed1806() {
+buildUnnamed1838() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed1806(core.List<api.AuditConfig> o) {
+checkUnnamed1838(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed1807() {
+buildUnnamed1839() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed1807(core.List<api.Binding> o) {
+checkUnnamed1839(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 = buildUnnamed1806();
- o.bindings = buildUnnamed1807();
+ o.auditConfigs = buildUnnamed1838();
+ o.bindings = buildUnnamed1839();
o.etag = "foo";
o.version = 42;
}
@@ -890,22 +890,22 @@ buildPolicy() {
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed1806(o.auditConfigs);
- checkUnnamed1807(o.bindings);
+ checkUnnamed1838(o.auditConfigs);
+ checkUnnamed1839(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed1808() {
+buildUnnamed1840() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed1808(core.Map<core.String, core.String> o) {
+checkUnnamed1840(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 = buildUnnamed1808();
+ o.labels = buildUnnamed1840();
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'));
- checkUnnamed1808(o.labels);
+ checkUnnamed1840(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--;
}
-buildUnnamed1809() {
+buildUnnamed1841() {
var o = new core.List<api.Organization>();
o.add(buildOrganization());
o.add(buildOrganization());
return o;
}
-checkUnnamed1809(core.List<api.Organization> o) {
+checkUnnamed1841(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 = buildUnnamed1809();
+ o.organizations = buildUnnamed1841();
}
buildCounterSearchOrganizationsResponse--;
return o;
@@ -1055,7 +1055,7 @@ checkSearchOrganizationsResponse(api.SearchOrganizationsResponse o) {
buildCounterSearchOrganizationsResponse++;
if (buildCounterSearchOrganizationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1809(o.organizations);
+ checkUnnamed1841(o.organizations);
}
buildCounterSearchOrganizationsResponse--;
}
@@ -1100,30 +1100,30 @@ checkSetOrgPolicyRequest(api.SetOrgPolicyRequest o) {
buildCounterSetOrgPolicyRequest--;
}
-buildUnnamed1810() {
+buildUnnamed1842() {
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;
}
-checkUnnamed1810(core.Map<core.String, core.Object> o) {
+checkUnnamed1842(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'));
}
-buildUnnamed1811() {
+buildUnnamed1843() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed1810());
- o.add(buildUnnamed1810());
+ o.add(buildUnnamed1842());
+ o.add(buildUnnamed1842());
return o;
}
-checkUnnamed1811(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1843(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed1810(o[0]);
- checkUnnamed1810(o[1]);
+ checkUnnamed1842(o[0]);
+ checkUnnamed1842(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1132,7 +1132,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed1811();
+ o.details = buildUnnamed1843();
o.message = "foo";
}
buildCounterStatus--;
@@ -1143,20 +1143,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed1811(o.details);
+ checkUnnamed1843(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed1812() {
+buildUnnamed1844() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1812(core.List<core.String> o) {
+checkUnnamed1844(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 = buildUnnamed1812();
+ o.permissions = buildUnnamed1844();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -1176,19 +1176,19 @@ buildTestIamPermissionsRequest() {
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed1812(o.permissions);
+ checkUnnamed1844(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed1813() {
+buildUnnamed1845() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1813(core.List<core.String> o) {
+checkUnnamed1845(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 = buildUnnamed1813();
+ o.permissions = buildUnnamed1845();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -1208,7 +1208,7 @@ buildTestIamPermissionsResponse() {
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed1813(o.permissions);
+ checkUnnamed1845(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(pageSize: arg_pageSize, parent: arg_parent, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLiensResponse response) {
+ res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, parent: arg_parent).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_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
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(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));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
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(pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
+ res.list(filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListProjectsResponse response) {
checkListProjectsResponse(response);
})));
});
« no previous file with comments | « generated/googleapis/test/cloudkms/v1_test.dart ('k') | generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698