Index: generated/googleapis_beta/test/cloudkms/v1beta1_test.dart |
diff --git a/generated/googleapis_beta/test/cloudkms/v1beta1_test.dart b/generated/googleapis_beta/test/cloudkms/v1beta1_test.dart |
index 32de332797dfe2f281971692f1701117a26a6b78..86a30b4961f4bbe605e5836699737f387395eca4 100644 |
--- a/generated/googleapis_beta/test/cloudkms/v1beta1_test.dart |
+++ b/generated/googleapis_beta/test/cloudkms/v1beta1_test.dart |
@@ -51,27 +51,27 @@ http.StreamedResponse stringResponse( |
return new http.StreamedResponse(stream, status, headers: headers); |
} |
-buildUnnamed3646() { |
+buildUnnamed3738() { |
var o = new core.List<api.AuditLogConfig>(); |
o.add(buildAuditLogConfig()); |
o.add(buildAuditLogConfig()); |
return o; |
} |
-checkUnnamed3646(core.List<api.AuditLogConfig> o) { |
+checkUnnamed3738(core.List<api.AuditLogConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuditLogConfig(o[0]); |
checkAuditLogConfig(o[1]); |
} |
-buildUnnamed3647() { |
+buildUnnamed3739() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3647(core.List<core.String> o) { |
+checkUnnamed3739(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')); |
@@ -82,8 +82,8 @@ buildAuditConfig() { |
var o = new api.AuditConfig(); |
buildCounterAuditConfig++; |
if (buildCounterAuditConfig < 3) { |
- o.auditLogConfigs = buildUnnamed3646(); |
- o.exemptedMembers = buildUnnamed3647(); |
+ o.auditLogConfigs = buildUnnamed3738(); |
+ o.exemptedMembers = buildUnnamed3739(); |
o.service = "foo"; |
} |
buildCounterAuditConfig--; |
@@ -93,21 +93,21 @@ buildAuditConfig() { |
checkAuditConfig(api.AuditConfig o) { |
buildCounterAuditConfig++; |
if (buildCounterAuditConfig < 3) { |
- checkUnnamed3646(o.auditLogConfigs); |
- checkUnnamed3647(o.exemptedMembers); |
+ checkUnnamed3738(o.auditLogConfigs); |
+ checkUnnamed3739(o.exemptedMembers); |
unittest.expect(o.service, unittest.equals('foo')); |
} |
buildCounterAuditConfig--; |
} |
-buildUnnamed3648() { |
+buildUnnamed3740() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3648(core.List<core.String> o) { |
+checkUnnamed3740(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')); |
@@ -118,7 +118,7 @@ buildAuditLogConfig() { |
var o = new api.AuditLogConfig(); |
buildCounterAuditLogConfig++; |
if (buildCounterAuditLogConfig < 3) { |
- o.exemptedMembers = buildUnnamed3648(); |
+ o.exemptedMembers = buildUnnamed3740(); |
o.logType = "foo"; |
} |
buildCounterAuditLogConfig--; |
@@ -128,20 +128,20 @@ buildAuditLogConfig() { |
checkAuditLogConfig(api.AuditLogConfig o) { |
buildCounterAuditLogConfig++; |
if (buildCounterAuditLogConfig < 3) { |
- checkUnnamed3648(o.exemptedMembers); |
+ checkUnnamed3740(o.exemptedMembers); |
unittest.expect(o.logType, unittest.equals('foo')); |
} |
buildCounterAuditLogConfig--; |
} |
-buildUnnamed3649() { |
+buildUnnamed3741() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3649(core.List<core.String> o) { |
+checkUnnamed3741(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')); |
@@ -152,7 +152,7 @@ buildBinding() { |
var o = new api.Binding(); |
buildCounterBinding++; |
if (buildCounterBinding < 3) { |
- o.members = buildUnnamed3649(); |
+ o.members = buildUnnamed3741(); |
o.role = "foo"; |
} |
buildCounterBinding--; |
@@ -162,7 +162,7 @@ buildBinding() { |
checkBinding(api.Binding o) { |
buildCounterBinding++; |
if (buildCounterBinding < 3) { |
- checkUnnamed3649(o.members); |
+ checkUnnamed3741(o.members); |
unittest.expect(o.role, unittest.equals('foo')); |
} |
buildCounterBinding--; |
@@ -185,14 +185,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) { |
buildCounterCloudAuditOptions--; |
} |
-buildUnnamed3650() { |
+buildUnnamed3742() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3650(core.List<core.String> o) { |
+checkUnnamed3742(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')); |
@@ -208,7 +208,7 @@ buildCondition() { |
o.svc = "foo"; |
o.sys = "foo"; |
o.value = "foo"; |
- o.values = buildUnnamed3650(); |
+ o.values = buildUnnamed3742(); |
} |
buildCounterCondition--; |
return o; |
@@ -222,7 +222,7 @@ checkCondition(api.Condition o) { |
unittest.expect(o.svc, unittest.equals('foo')); |
unittest.expect(o.sys, unittest.equals('foo')); |
unittest.expect(o.value, unittest.equals('foo')); |
- checkUnnamed3650(o.values); |
+ checkUnnamed3742(o.values); |
} |
buildCounterCondition--; |
} |
@@ -441,14 +441,14 @@ checkKeyRing(api.KeyRing o) { |
buildCounterKeyRing--; |
} |
-buildUnnamed3651() { |
+buildUnnamed3743() { |
var o = new core.List<api.CryptoKeyVersion>(); |
o.add(buildCryptoKeyVersion()); |
o.add(buildCryptoKeyVersion()); |
return o; |
} |
-checkUnnamed3651(core.List<api.CryptoKeyVersion> o) { |
+checkUnnamed3743(core.List<api.CryptoKeyVersion> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCryptoKeyVersion(o[0]); |
checkCryptoKeyVersion(o[1]); |
@@ -459,7 +459,7 @@ buildListCryptoKeyVersionsResponse() { |
var o = new api.ListCryptoKeyVersionsResponse(); |
buildCounterListCryptoKeyVersionsResponse++; |
if (buildCounterListCryptoKeyVersionsResponse < 3) { |
- o.cryptoKeyVersions = buildUnnamed3651(); |
+ o.cryptoKeyVersions = buildUnnamed3743(); |
o.nextPageToken = "foo"; |
o.totalSize = 42; |
} |
@@ -470,21 +470,21 @@ buildListCryptoKeyVersionsResponse() { |
checkListCryptoKeyVersionsResponse(api.ListCryptoKeyVersionsResponse o) { |
buildCounterListCryptoKeyVersionsResponse++; |
if (buildCounterListCryptoKeyVersionsResponse < 3) { |
- checkUnnamed3651(o.cryptoKeyVersions); |
+ checkUnnamed3743(o.cryptoKeyVersions); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.totalSize, unittest.equals(42)); |
} |
buildCounterListCryptoKeyVersionsResponse--; |
} |
-buildUnnamed3652() { |
+buildUnnamed3744() { |
var o = new core.List<api.CryptoKey>(); |
o.add(buildCryptoKey()); |
o.add(buildCryptoKey()); |
return o; |
} |
-checkUnnamed3652(core.List<api.CryptoKey> o) { |
+checkUnnamed3744(core.List<api.CryptoKey> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCryptoKey(o[0]); |
checkCryptoKey(o[1]); |
@@ -495,7 +495,7 @@ buildListCryptoKeysResponse() { |
var o = new api.ListCryptoKeysResponse(); |
buildCounterListCryptoKeysResponse++; |
if (buildCounterListCryptoKeysResponse < 3) { |
- o.cryptoKeys = buildUnnamed3652(); |
+ o.cryptoKeys = buildUnnamed3744(); |
o.nextPageToken = "foo"; |
o.totalSize = 42; |
} |
@@ -506,21 +506,21 @@ buildListCryptoKeysResponse() { |
checkListCryptoKeysResponse(api.ListCryptoKeysResponse o) { |
buildCounterListCryptoKeysResponse++; |
if (buildCounterListCryptoKeysResponse < 3) { |
- checkUnnamed3652(o.cryptoKeys); |
+ checkUnnamed3744(o.cryptoKeys); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.totalSize, unittest.equals(42)); |
} |
buildCounterListCryptoKeysResponse--; |
} |
-buildUnnamed3653() { |
+buildUnnamed3745() { |
var o = new core.List<api.KeyRing>(); |
o.add(buildKeyRing()); |
o.add(buildKeyRing()); |
return o; |
} |
-checkUnnamed3653(core.List<api.KeyRing> o) { |
+checkUnnamed3745(core.List<api.KeyRing> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKeyRing(o[0]); |
checkKeyRing(o[1]); |
@@ -531,7 +531,7 @@ buildListKeyRingsResponse() { |
var o = new api.ListKeyRingsResponse(); |
buildCounterListKeyRingsResponse++; |
if (buildCounterListKeyRingsResponse < 3) { |
- o.keyRings = buildUnnamed3653(); |
+ o.keyRings = buildUnnamed3745(); |
o.nextPageToken = "foo"; |
o.totalSize = 42; |
} |
@@ -542,21 +542,21 @@ buildListKeyRingsResponse() { |
checkListKeyRingsResponse(api.ListKeyRingsResponse o) { |
buildCounterListKeyRingsResponse++; |
if (buildCounterListKeyRingsResponse < 3) { |
- checkUnnamed3653(o.keyRings); |
+ checkUnnamed3745(o.keyRings); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
unittest.expect(o.totalSize, unittest.equals(42)); |
} |
buildCounterListKeyRingsResponse--; |
} |
-buildUnnamed3654() { |
+buildUnnamed3746() { |
var o = new core.List<api.Location>(); |
o.add(buildLocation()); |
o.add(buildLocation()); |
return o; |
} |
-checkUnnamed3654(core.List<api.Location> o) { |
+checkUnnamed3746(core.List<api.Location> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLocation(o[0]); |
checkLocation(o[1]); |
@@ -567,7 +567,7 @@ buildListLocationsResponse() { |
var o = new api.ListLocationsResponse(); |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- o.locations = buildUnnamed3654(); |
+ o.locations = buildUnnamed3746(); |
o.nextPageToken = "foo"; |
} |
buildCounterListLocationsResponse--; |
@@ -577,33 +577,33 @@ buildListLocationsResponse() { |
checkListLocationsResponse(api.ListLocationsResponse o) { |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- checkUnnamed3654(o.locations); |
+ checkUnnamed3746(o.locations); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListLocationsResponse--; |
} |
-buildUnnamed3655() { |
+buildUnnamed3747() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3655(core.Map<core.String, core.String> o) { |
+checkUnnamed3747(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')); |
} |
-buildUnnamed3656() { |
+buildUnnamed3748() { |
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; |
} |
-checkUnnamed3656(core.Map<core.String, core.Object> o) { |
+checkUnnamed3748(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')); |
@@ -614,9 +614,9 @@ buildLocation() { |
var o = new api.Location(); |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- o.labels = buildUnnamed3655(); |
+ o.labels = buildUnnamed3747(); |
o.locationId = "foo"; |
- o.metadata = buildUnnamed3656(); |
+ o.metadata = buildUnnamed3748(); |
o.name = "foo"; |
} |
buildCounterLocation--; |
@@ -626,9 +626,9 @@ buildLocation() { |
checkLocation(api.Location o) { |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- checkUnnamed3655(o.labels); |
+ checkUnnamed3747(o.labels); |
unittest.expect(o.locationId, unittest.equals('foo')); |
- checkUnnamed3656(o.metadata); |
+ checkUnnamed3748(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
buildCounterLocation--; |
@@ -657,40 +657,40 @@ checkLogConfig(api.LogConfig o) { |
buildCounterLogConfig--; |
} |
-buildUnnamed3657() { |
+buildUnnamed3749() { |
var o = new core.List<api.AuditConfig>(); |
o.add(buildAuditConfig()); |
o.add(buildAuditConfig()); |
return o; |
} |
-checkUnnamed3657(core.List<api.AuditConfig> o) { |
+checkUnnamed3749(core.List<api.AuditConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuditConfig(o[0]); |
checkAuditConfig(o[1]); |
} |
-buildUnnamed3658() { |
+buildUnnamed3750() { |
var o = new core.List<api.Binding>(); |
o.add(buildBinding()); |
o.add(buildBinding()); |
return o; |
} |
-checkUnnamed3658(core.List<api.Binding> o) { |
+checkUnnamed3750(core.List<api.Binding> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkBinding(o[0]); |
checkBinding(o[1]); |
} |
-buildUnnamed3659() { |
+buildUnnamed3751() { |
var o = new core.List<api.Rule>(); |
o.add(buildRule()); |
o.add(buildRule()); |
return o; |
} |
-checkUnnamed3659(core.List<api.Rule> o) { |
+checkUnnamed3751(core.List<api.Rule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRule(o[0]); |
checkRule(o[1]); |
@@ -701,11 +701,11 @@ buildPolicy() { |
var o = new api.Policy(); |
buildCounterPolicy++; |
if (buildCounterPolicy < 3) { |
- o.auditConfigs = buildUnnamed3657(); |
- o.bindings = buildUnnamed3658(); |
+ o.auditConfigs = buildUnnamed3749(); |
+ o.bindings = buildUnnamed3750(); |
o.etag = "foo"; |
o.iamOwned = true; |
- o.rules = buildUnnamed3659(); |
+ o.rules = buildUnnamed3751(); |
o.version = 42; |
} |
buildCounterPolicy--; |
@@ -715,11 +715,11 @@ buildPolicy() { |
checkPolicy(api.Policy o) { |
buildCounterPolicy++; |
if (buildCounterPolicy < 3) { |
- checkUnnamed3657(o.auditConfigs); |
- checkUnnamed3658(o.bindings); |
+ checkUnnamed3749(o.auditConfigs); |
+ checkUnnamed3750(o.bindings); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.iamOwned, unittest.isTrue); |
- checkUnnamed3659(o.rules); |
+ checkUnnamed3751(o.rules); |
unittest.expect(o.version, unittest.equals(42)); |
} |
buildCounterPolicy--; |
@@ -742,66 +742,66 @@ checkRestoreCryptoKeyVersionRequest(api.RestoreCryptoKeyVersionRequest o) { |
buildCounterRestoreCryptoKeyVersionRequest--; |
} |
-buildUnnamed3660() { |
+buildUnnamed3752() { |
var o = new core.List<api.Condition>(); |
o.add(buildCondition()); |
o.add(buildCondition()); |
return o; |
} |
-checkUnnamed3660(core.List<api.Condition> o) { |
+checkUnnamed3752(core.List<api.Condition> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCondition(o[0]); |
checkCondition(o[1]); |
} |
-buildUnnamed3661() { |
+buildUnnamed3753() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3661(core.List<core.String> o) { |
+checkUnnamed3753(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')); |
} |
-buildUnnamed3662() { |
+buildUnnamed3754() { |
var o = new core.List<api.LogConfig>(); |
o.add(buildLogConfig()); |
o.add(buildLogConfig()); |
return o; |
} |
-checkUnnamed3662(core.List<api.LogConfig> o) { |
+checkUnnamed3754(core.List<api.LogConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLogConfig(o[0]); |
checkLogConfig(o[1]); |
} |
-buildUnnamed3663() { |
+buildUnnamed3755() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3663(core.List<core.String> o) { |
+checkUnnamed3755(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')); |
} |
-buildUnnamed3664() { |
+buildUnnamed3756() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3664(core.List<core.String> o) { |
+checkUnnamed3756(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')); |
@@ -813,12 +813,12 @@ buildRule() { |
buildCounterRule++; |
if (buildCounterRule < 3) { |
o.action = "foo"; |
- o.conditions = buildUnnamed3660(); |
+ o.conditions = buildUnnamed3752(); |
o.description = "foo"; |
- o.in_ = buildUnnamed3661(); |
- o.logConfig = buildUnnamed3662(); |
- o.notIn = buildUnnamed3663(); |
- o.permissions = buildUnnamed3664(); |
+ o.in_ = buildUnnamed3753(); |
+ o.logConfig = buildUnnamed3754(); |
+ o.notIn = buildUnnamed3755(); |
+ o.permissions = buildUnnamed3756(); |
} |
buildCounterRule--; |
return o; |
@@ -828,12 +828,12 @@ checkRule(api.Rule o) { |
buildCounterRule++; |
if (buildCounterRule < 3) { |
unittest.expect(o.action, unittest.equals('foo')); |
- checkUnnamed3660(o.conditions); |
+ checkUnnamed3752(o.conditions); |
unittest.expect(o.description, unittest.equals('foo')); |
- checkUnnamed3661(o.in_); |
- checkUnnamed3662(o.logConfig); |
- checkUnnamed3663(o.notIn); |
- checkUnnamed3664(o.permissions); |
+ checkUnnamed3753(o.in_); |
+ checkUnnamed3754(o.logConfig); |
+ checkUnnamed3755(o.notIn); |
+ checkUnnamed3756(o.permissions); |
} |
buildCounterRule--; |
} |
@@ -859,14 +859,14 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
buildCounterSetIamPolicyRequest--; |
} |
-buildUnnamed3665() { |
+buildUnnamed3757() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3665(core.List<core.String> o) { |
+checkUnnamed3757(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')); |
@@ -877,7 +877,7 @@ buildTestIamPermissionsRequest() { |
var o = new api.TestIamPermissionsRequest(); |
buildCounterTestIamPermissionsRequest++; |
if (buildCounterTestIamPermissionsRequest < 3) { |
- o.permissions = buildUnnamed3665(); |
+ o.permissions = buildUnnamed3757(); |
} |
buildCounterTestIamPermissionsRequest--; |
return o; |
@@ -886,19 +886,19 @@ buildTestIamPermissionsRequest() { |
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
buildCounterTestIamPermissionsRequest++; |
if (buildCounterTestIamPermissionsRequest < 3) { |
- checkUnnamed3665(o.permissions); |
+ checkUnnamed3757(o.permissions); |
} |
buildCounterTestIamPermissionsRequest--; |
} |
-buildUnnamed3666() { |
+buildUnnamed3758() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3666(core.List<core.String> o) { |
+checkUnnamed3758(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')); |
@@ -909,7 +909,7 @@ buildTestIamPermissionsResponse() { |
var o = new api.TestIamPermissionsResponse(); |
buildCounterTestIamPermissionsResponse++; |
if (buildCounterTestIamPermissionsResponse < 3) { |
- o.permissions = buildUnnamed3666(); |
+ o.permissions = buildUnnamed3758(); |
} |
buildCounterTestIamPermissionsResponse--; |
return o; |
@@ -918,7 +918,7 @@ buildTestIamPermissionsResponse() { |
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
buildCounterTestIamPermissionsResponse++; |
if (buildCounterTestIamPermissionsResponse < 3) { |
- checkUnnamed3666(o.permissions); |
+ checkUnnamed3758(o.permissions); |
} |
buildCounterTestIamPermissionsResponse--; |
} |
@@ -1247,9 +1247,9 @@ main() { |
var mock = new HttpServerMock(); |
api.ProjectsLocationsResourceApi res = new api.CloudkmsApi(mock).projects.locations; |
var arg_name = "foo"; |
- 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; |
@@ -1277,9 +1277,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 = { |
@@ -1288,7 +1288,7 @@ main() { |
var resp = convert.JSON.encode(buildListLocationsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLocationsResponse response) { |
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListLocationsResponse response) { |
checkListLocationsResponse(response); |
}))); |
}); |
@@ -1833,8 +1833,8 @@ main() { |
var mock = new HttpServerMock(); |
api.ProjectsLocationsKeyRingsCryptoKeysResourceApi res = new api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys; |
var arg_parent = "foo"; |
- var arg_pageSize = 42; |
var arg_pageToken = "foo"; |
+ var arg_pageSize = 42; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -1862,8 +1862,8 @@ 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["pageToken"].first, unittest.equals(arg_pageToken)); |
+ unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize)); |
var h = { |
@@ -1872,7 +1872,7 @@ main() { |
var resp = convert.JSON.encode(buildListCryptoKeysResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_parent, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCryptoKeysResponse response) { |
+ res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListCryptoKeysResponse response) { |
checkListCryptoKeysResponse(response); |
}))); |
}); |