Index: generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart |
diff --git a/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart b/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart |
index d71762108882445b5ff88516c6aa8da3b5725e7b..533828a5b8818c155a660dd12f3d83158b34ba8c 100644 |
--- a/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart |
+++ b/generated/googleapis_beta/test/cloudresourcemanager/v1beta1_test.dart |
@@ -70,14 +70,14 @@ checkAncestor(api.Ancestor o) { |
buildCounterAncestor--; |
} |
-buildUnnamed3638() { |
+buildUnnamed3730() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3638(core.List<core.String> o) { |
+checkUnnamed3730(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')); |
@@ -88,7 +88,7 @@ buildBinding() { |
var o = new api.Binding(); |
buildCounterBinding++; |
if (buildCounterBinding < 3) { |
- o.members = buildUnnamed3638(); |
+ o.members = buildUnnamed3730(); |
o.role = "foo"; |
} |
buildCounterBinding--; |
@@ -98,7 +98,7 @@ buildBinding() { |
checkBinding(api.Binding o) { |
buildCounterBinding++; |
if (buildCounterBinding < 3) { |
- checkUnnamed3638(o.members); |
+ checkUnnamed3730(o.members); |
unittest.expect(o.role, unittest.equals('foo')); |
} |
buildCounterBinding--; |
@@ -182,14 +182,14 @@ checkGetAncestryRequest(api.GetAncestryRequest o) { |
buildCounterGetAncestryRequest--; |
} |
-buildUnnamed3639() { |
+buildUnnamed3731() { |
var o = new core.List<api.Ancestor>(); |
o.add(buildAncestor()); |
o.add(buildAncestor()); |
return o; |
} |
-checkUnnamed3639(core.List<api.Ancestor> o) { |
+checkUnnamed3731(core.List<api.Ancestor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAncestor(o[0]); |
checkAncestor(o[1]); |
@@ -200,7 +200,7 @@ buildGetAncestryResponse() { |
var o = new api.GetAncestryResponse(); |
buildCounterGetAncestryResponse++; |
if (buildCounterGetAncestryResponse < 3) { |
- o.ancestor = buildUnnamed3639(); |
+ o.ancestor = buildUnnamed3731(); |
} |
buildCounterGetAncestryResponse--; |
return o; |
@@ -209,7 +209,7 @@ buildGetAncestryResponse() { |
checkGetAncestryResponse(api.GetAncestryResponse o) { |
buildCounterGetAncestryResponse++; |
if (buildCounterGetAncestryResponse < 3) { |
- checkUnnamed3639(o.ancestor); |
+ checkUnnamed3731(o.ancestor); |
} |
buildCounterGetAncestryResponse--; |
} |
@@ -231,14 +231,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
buildCounterGetIamPolicyRequest--; |
} |
-buildUnnamed3640() { |
+buildUnnamed3732() { |
var o = new core.List<api.Organization>(); |
o.add(buildOrganization()); |
o.add(buildOrganization()); |
return o; |
} |
-checkUnnamed3640(core.List<api.Organization> o) { |
+checkUnnamed3732(core.List<api.Organization> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOrganization(o[0]); |
checkOrganization(o[1]); |
@@ -250,7 +250,7 @@ buildListOrganizationsResponse() { |
buildCounterListOrganizationsResponse++; |
if (buildCounterListOrganizationsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.organizations = buildUnnamed3640(); |
+ o.organizations = buildUnnamed3732(); |
} |
buildCounterListOrganizationsResponse--; |
return o; |
@@ -260,19 +260,19 @@ checkListOrganizationsResponse(api.ListOrganizationsResponse o) { |
buildCounterListOrganizationsResponse++; |
if (buildCounterListOrganizationsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3640(o.organizations); |
+ checkUnnamed3732(o.organizations); |
} |
buildCounterListOrganizationsResponse--; |
} |
-buildUnnamed3641() { |
+buildUnnamed3733() { |
var o = new core.List<api.Project>(); |
o.add(buildProject()); |
o.add(buildProject()); |
return o; |
} |
-checkUnnamed3641(core.List<api.Project> o) { |
+checkUnnamed3733(core.List<api.Project> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkProject(o[0]); |
checkProject(o[1]); |
@@ -284,7 +284,7 @@ buildListProjectsResponse() { |
buildCounterListProjectsResponse++; |
if (buildCounterListProjectsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.projects = buildUnnamed3641(); |
+ o.projects = buildUnnamed3733(); |
} |
buildCounterListProjectsResponse--; |
return o; |
@@ -294,7 +294,7 @@ checkListProjectsResponse(api.ListProjectsResponse o) { |
buildCounterListProjectsResponse++; |
if (buildCounterListProjectsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3641(o.projects); |
+ checkUnnamed3733(o.projects); |
} |
buildCounterListProjectsResponse--; |
} |
@@ -347,14 +347,14 @@ checkOrganizationOwner(api.OrganizationOwner o) { |
buildCounterOrganizationOwner--; |
} |
-buildUnnamed3642() { |
+buildUnnamed3734() { |
var o = new core.List<api.Binding>(); |
o.add(buildBinding()); |
o.add(buildBinding()); |
return o; |
} |
-checkUnnamed3642(core.List<api.Binding> o) { |
+checkUnnamed3734(core.List<api.Binding> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkBinding(o[0]); |
checkBinding(o[1]); |
@@ -365,7 +365,7 @@ buildPolicy() { |
var o = new api.Policy(); |
buildCounterPolicy++; |
if (buildCounterPolicy < 3) { |
- o.bindings = buildUnnamed3642(); |
+ o.bindings = buildUnnamed3734(); |
o.etag = "foo"; |
o.version = 42; |
} |
@@ -376,21 +376,21 @@ buildPolicy() { |
checkPolicy(api.Policy o) { |
buildCounterPolicy++; |
if (buildCounterPolicy < 3) { |
- checkUnnamed3642(o.bindings); |
+ checkUnnamed3734(o.bindings); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.version, unittest.equals(42)); |
} |
buildCounterPolicy--; |
} |
-buildUnnamed3643() { |
+buildUnnamed3735() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3643(core.Map<core.String, core.String> o) { |
+checkUnnamed3735(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')); |
@@ -402,7 +402,7 @@ buildProject() { |
buildCounterProject++; |
if (buildCounterProject < 3) { |
o.createTime = "foo"; |
- o.labels = buildUnnamed3643(); |
+ o.labels = buildUnnamed3735(); |
o.lifecycleState = "foo"; |
o.name = "foo"; |
o.parent = buildResourceId(); |
@@ -417,7 +417,7 @@ checkProject(api.Project o) { |
buildCounterProject++; |
if (buildCounterProject < 3) { |
unittest.expect(o.createTime, unittest.equals('foo')); |
- checkUnnamed3643(o.labels); |
+ checkUnnamed3735(o.labels); |
unittest.expect(o.lifecycleState, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
checkResourceId(o.parent); |
@@ -490,14 +490,14 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
buildCounterSetIamPolicyRequest--; |
} |
-buildUnnamed3644() { |
+buildUnnamed3736() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3644(core.List<core.String> o) { |
+checkUnnamed3736(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')); |
@@ -508,7 +508,7 @@ buildTestIamPermissionsRequest() { |
var o = new api.TestIamPermissionsRequest(); |
buildCounterTestIamPermissionsRequest++; |
if (buildCounterTestIamPermissionsRequest < 3) { |
- o.permissions = buildUnnamed3644(); |
+ o.permissions = buildUnnamed3736(); |
} |
buildCounterTestIamPermissionsRequest--; |
return o; |
@@ -517,19 +517,19 @@ buildTestIamPermissionsRequest() { |
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
buildCounterTestIamPermissionsRequest++; |
if (buildCounterTestIamPermissionsRequest < 3) { |
- checkUnnamed3644(o.permissions); |
+ checkUnnamed3736(o.permissions); |
} |
buildCounterTestIamPermissionsRequest--; |
} |
-buildUnnamed3645() { |
+buildUnnamed3737() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3645(core.List<core.String> o) { |
+checkUnnamed3737(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')); |
@@ -540,7 +540,7 @@ buildTestIamPermissionsResponse() { |
var o = new api.TestIamPermissionsResponse(); |
buildCounterTestIamPermissionsResponse++; |
if (buildCounterTestIamPermissionsResponse < 3) { |
- o.permissions = buildUnnamed3645(); |
+ o.permissions = buildUnnamed3737(); |
} |
buildCounterTestIamPermissionsResponse--; |
return o; |
@@ -549,7 +549,7 @@ buildTestIamPermissionsResponse() { |
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
buildCounterTestIamPermissionsResponse++; |
if (buildCounterTestIamPermissionsResponse < 3) { |
- checkUnnamed3645(o.permissions); |
+ checkUnnamed3737(o.permissions); |
} |
buildCounterTestIamPermissionsResponse--; |
} |
@@ -854,9 +854,9 @@ main() { |
var mock = new HttpServerMock(); |
api.OrganizationsResourceApi res = new api.CloudresourcemanagerApi(mock).organizations; |
- var arg_pageSize = 42; |
var arg_filter = "foo"; |
var arg_pageToken = "foo"; |
+ var arg_pageSize = 42; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -883,9 +883,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 = { |
@@ -894,7 +894,7 @@ main() { |
var resp = convert.JSON.encode(buildListOrganizationsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOrganizationsResponse response) { |
+ res.list(filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOrganizationsResponse response) { |
checkListOrganizationsResponse(response); |
}))); |
}); |
@@ -1307,9 +1307,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.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -1336,9 +1336,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 = { |
@@ -1347,7 +1347,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.expectAsync(((api.ListProjectsResponse response) { |
+ res.list(pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListProjectsResponse response) { |
checkListProjectsResponse(response); |
}))); |
}); |