Index: generated/googleapis_beta/test/appengine/v1beta_test.dart |
diff --git a/generated/googleapis_beta/test/appengine/v1beta_test.dart b/generated/googleapis_beta/test/appengine/v1beta_test.dart |
index a3cb3824df563c9716decd5bd9c341e42b59237d..e6513f17d25231b71ddd4d6a1cf41821899a803b 100644 |
--- a/generated/googleapis_beta/test/appengine/v1beta_test.dart |
+++ b/generated/googleapis_beta/test/appengine/v1beta_test.dart |
@@ -97,14 +97,14 @@ checkApiEndpointHandler(api.ApiEndpointHandler o) { |
buildCounterApiEndpointHandler--; |
} |
-buildUnnamed3617() { |
+buildUnnamed3573() { |
var o = new core.List<api.UrlDispatchRule>(); |
o.add(buildUrlDispatchRule()); |
o.add(buildUrlDispatchRule()); |
return o; |
} |
-checkUnnamed3617(core.List<api.UrlDispatchRule> o) { |
+checkUnnamed3573(core.List<api.UrlDispatchRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUrlDispatchRule(o[0]); |
checkUrlDispatchRule(o[1]); |
@@ -120,7 +120,7 @@ buildApplication() { |
o.defaultBucket = "foo"; |
o.defaultCookieExpiration = "foo"; |
o.defaultHostname = "foo"; |
- o.dispatchRules = buildUnnamed3617(); |
+ o.dispatchRules = buildUnnamed3573(); |
o.gcrDomain = "foo"; |
o.iap = buildIdentityAwareProxy(); |
o.id = "foo"; |
@@ -140,7 +140,7 @@ checkApplication(api.Application o) { |
unittest.expect(o.defaultBucket, unittest.equals('foo')); |
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo')); |
unittest.expect(o.defaultHostname, unittest.equals('foo')); |
- checkUnnamed3617(o.dispatchRules); |
+ checkUnnamed3573(o.dispatchRules); |
unittest.expect(o.gcrDomain, unittest.equals('foo')); |
checkIdentityAwareProxy(o.iap); |
unittest.expect(o.id, unittest.equals('foo')); |
@@ -151,27 +151,27 @@ checkApplication(api.Application o) { |
buildCounterApplication--; |
} |
-buildUnnamed3618() { |
+buildUnnamed3574() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3618(core.List<core.String> o) { |
+checkUnnamed3574(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')); |
} |
-buildUnnamed3619() { |
+buildUnnamed3575() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3619(core.List<core.String> o) { |
+checkUnnamed3575(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')); |
@@ -185,11 +185,11 @@ buildAuthorizedCertificate() { |
o.certificateRawData = buildCertificateRawData(); |
o.displayName = "foo"; |
o.domainMappingsCount = 42; |
- o.domainNames = buildUnnamed3618(); |
+ o.domainNames = buildUnnamed3574(); |
o.expireTime = "foo"; |
o.id = "foo"; |
o.name = "foo"; |
- o.visibleDomainMappings = buildUnnamed3619(); |
+ o.visibleDomainMappings = buildUnnamed3575(); |
} |
buildCounterAuthorizedCertificate--; |
return o; |
@@ -201,11 +201,11 @@ checkAuthorizedCertificate(api.AuthorizedCertificate o) { |
checkCertificateRawData(o.certificateRawData); |
unittest.expect(o.displayName, unittest.equals('foo')); |
unittest.expect(o.domainMappingsCount, unittest.equals(42)); |
- checkUnnamed3618(o.domainNames); |
+ checkUnnamed3574(o.domainNames); |
unittest.expect(o.expireTime, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed3619(o.visibleDomainMappings); |
+ checkUnnamed3575(o.visibleDomainMappings); |
} |
buildCounterAuthorizedCertificate--; |
} |
@@ -373,14 +373,14 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) { |
buildCounterDebugInstanceRequest--; |
} |
-buildUnnamed3620() { |
+buildUnnamed3576() { |
var o = new core.Map<core.String, api.FileInfo>(); |
o["x"] = buildFileInfo(); |
o["y"] = buildFileInfo(); |
return o; |
} |
-checkUnnamed3620(core.Map<core.String, api.FileInfo> o) { |
+checkUnnamed3576(core.Map<core.String, api.FileInfo> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFileInfo(o["x"]); |
checkFileInfo(o["y"]); |
@@ -392,7 +392,7 @@ buildDeployment() { |
buildCounterDeployment++; |
if (buildCounterDeployment < 3) { |
o.container = buildContainerInfo(); |
- o.files = buildUnnamed3620(); |
+ o.files = buildUnnamed3576(); |
o.zip = buildZipInfo(); |
} |
buildCounterDeployment--; |
@@ -403,7 +403,7 @@ checkDeployment(api.Deployment o) { |
buildCounterDeployment++; |
if (buildCounterDeployment < 3) { |
checkContainerInfo(o.container); |
- checkUnnamed3620(o.files); |
+ checkUnnamed3576(o.files); |
checkZipInfo(o.zip); |
} |
buildCounterDeployment--; |
@@ -434,14 +434,14 @@ checkDiskUtilization(api.DiskUtilization o) { |
buildCounterDiskUtilization--; |
} |
-buildUnnamed3621() { |
+buildUnnamed3577() { |
var o = new core.List<api.ResourceRecord>(); |
o.add(buildResourceRecord()); |
o.add(buildResourceRecord()); |
return o; |
} |
-checkUnnamed3621(core.List<api.ResourceRecord> o) { |
+checkUnnamed3577(core.List<api.ResourceRecord> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkResourceRecord(o[0]); |
checkResourceRecord(o[1]); |
@@ -454,7 +454,7 @@ buildDomainMapping() { |
if (buildCounterDomainMapping < 3) { |
o.id = "foo"; |
o.name = "foo"; |
- o.resourceRecords = buildUnnamed3621(); |
+ o.resourceRecords = buildUnnamed3577(); |
o.sslSettings = buildSslSettings(); |
} |
buildCounterDomainMapping--; |
@@ -466,7 +466,7 @@ checkDomainMapping(api.DomainMapping o) { |
if (buildCounterDomainMapping < 3) { |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed3621(o.resourceRecords); |
+ checkUnnamed3577(o.resourceRecords); |
checkSslSettings(o.sslSettings); |
} |
buildCounterDomainMapping--; |
@@ -682,14 +682,14 @@ checkLibrary(api.Library o) { |
buildCounterLibrary--; |
} |
-buildUnnamed3622() { |
+buildUnnamed3578() { |
var o = new core.List<api.AuthorizedCertificate>(); |
o.add(buildAuthorizedCertificate()); |
o.add(buildAuthorizedCertificate()); |
return o; |
} |
-checkUnnamed3622(core.List<api.AuthorizedCertificate> o) { |
+checkUnnamed3578(core.List<api.AuthorizedCertificate> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuthorizedCertificate(o[0]); |
checkAuthorizedCertificate(o[1]); |
@@ -700,7 +700,7 @@ buildListAuthorizedCertificatesResponse() { |
var o = new api.ListAuthorizedCertificatesResponse(); |
buildCounterListAuthorizedCertificatesResponse++; |
if (buildCounterListAuthorizedCertificatesResponse < 3) { |
- o.certificates = buildUnnamed3622(); |
+ o.certificates = buildUnnamed3578(); |
o.nextPageToken = "foo"; |
} |
buildCounterListAuthorizedCertificatesResponse--; |
@@ -710,20 +710,20 @@ buildListAuthorizedCertificatesResponse() { |
checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o) { |
buildCounterListAuthorizedCertificatesResponse++; |
if (buildCounterListAuthorizedCertificatesResponse < 3) { |
- checkUnnamed3622(o.certificates); |
+ checkUnnamed3578(o.certificates); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListAuthorizedCertificatesResponse--; |
} |
-buildUnnamed3623() { |
+buildUnnamed3579() { |
var o = new core.List<api.AuthorizedDomain>(); |
o.add(buildAuthorizedDomain()); |
o.add(buildAuthorizedDomain()); |
return o; |
} |
-checkUnnamed3623(core.List<api.AuthorizedDomain> o) { |
+checkUnnamed3579(core.List<api.AuthorizedDomain> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuthorizedDomain(o[0]); |
checkAuthorizedDomain(o[1]); |
@@ -734,7 +734,7 @@ buildListAuthorizedDomainsResponse() { |
var o = new api.ListAuthorizedDomainsResponse(); |
buildCounterListAuthorizedDomainsResponse++; |
if (buildCounterListAuthorizedDomainsResponse < 3) { |
- o.domains = buildUnnamed3623(); |
+ o.domains = buildUnnamed3579(); |
o.nextPageToken = "foo"; |
} |
buildCounterListAuthorizedDomainsResponse--; |
@@ -744,20 +744,20 @@ buildListAuthorizedDomainsResponse() { |
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) { |
buildCounterListAuthorizedDomainsResponse++; |
if (buildCounterListAuthorizedDomainsResponse < 3) { |
- checkUnnamed3623(o.domains); |
+ checkUnnamed3579(o.domains); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListAuthorizedDomainsResponse--; |
} |
-buildUnnamed3624() { |
+buildUnnamed3580() { |
var o = new core.List<api.DomainMapping>(); |
o.add(buildDomainMapping()); |
o.add(buildDomainMapping()); |
return o; |
} |
-checkUnnamed3624(core.List<api.DomainMapping> o) { |
+checkUnnamed3580(core.List<api.DomainMapping> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDomainMapping(o[0]); |
checkDomainMapping(o[1]); |
@@ -768,7 +768,7 @@ buildListDomainMappingsResponse() { |
var o = new api.ListDomainMappingsResponse(); |
buildCounterListDomainMappingsResponse++; |
if (buildCounterListDomainMappingsResponse < 3) { |
- o.domainMappings = buildUnnamed3624(); |
+ o.domainMappings = buildUnnamed3580(); |
o.nextPageToken = "foo"; |
} |
buildCounterListDomainMappingsResponse--; |
@@ -778,20 +778,20 @@ buildListDomainMappingsResponse() { |
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) { |
buildCounterListDomainMappingsResponse++; |
if (buildCounterListDomainMappingsResponse < 3) { |
- checkUnnamed3624(o.domainMappings); |
+ checkUnnamed3580(o.domainMappings); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListDomainMappingsResponse--; |
} |
-buildUnnamed3625() { |
+buildUnnamed3581() { |
var o = new core.List<api.Instance>(); |
o.add(buildInstance()); |
o.add(buildInstance()); |
return o; |
} |
-checkUnnamed3625(core.List<api.Instance> o) { |
+checkUnnamed3581(core.List<api.Instance> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkInstance(o[0]); |
checkInstance(o[1]); |
@@ -802,7 +802,7 @@ buildListInstancesResponse() { |
var o = new api.ListInstancesResponse(); |
buildCounterListInstancesResponse++; |
if (buildCounterListInstancesResponse < 3) { |
- o.instances = buildUnnamed3625(); |
+ o.instances = buildUnnamed3581(); |
o.nextPageToken = "foo"; |
} |
buildCounterListInstancesResponse--; |
@@ -812,20 +812,20 @@ buildListInstancesResponse() { |
checkListInstancesResponse(api.ListInstancesResponse o) { |
buildCounterListInstancesResponse++; |
if (buildCounterListInstancesResponse < 3) { |
- checkUnnamed3625(o.instances); |
+ checkUnnamed3581(o.instances); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListInstancesResponse--; |
} |
-buildUnnamed3626() { |
+buildUnnamed3582() { |
var o = new core.List<api.Location>(); |
o.add(buildLocation()); |
o.add(buildLocation()); |
return o; |
} |
-checkUnnamed3626(core.List<api.Location> o) { |
+checkUnnamed3582(core.List<api.Location> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLocation(o[0]); |
checkLocation(o[1]); |
@@ -836,7 +836,7 @@ buildListLocationsResponse() { |
var o = new api.ListLocationsResponse(); |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- o.locations = buildUnnamed3626(); |
+ o.locations = buildUnnamed3582(); |
o.nextPageToken = "foo"; |
} |
buildCounterListLocationsResponse--; |
@@ -846,20 +846,20 @@ buildListLocationsResponse() { |
checkListLocationsResponse(api.ListLocationsResponse o) { |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- checkUnnamed3626(o.locations); |
+ checkUnnamed3582(o.locations); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListLocationsResponse--; |
} |
-buildUnnamed3627() { |
+buildUnnamed3583() { |
var o = new core.List<api.Operation>(); |
o.add(buildOperation()); |
o.add(buildOperation()); |
return o; |
} |
-checkUnnamed3627(core.List<api.Operation> o) { |
+checkUnnamed3583(core.List<api.Operation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOperation(o[0]); |
checkOperation(o[1]); |
@@ -871,7 +871,7 @@ buildListOperationsResponse() { |
buildCounterListOperationsResponse++; |
if (buildCounterListOperationsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.operations = buildUnnamed3627(); |
+ o.operations = buildUnnamed3583(); |
} |
buildCounterListOperationsResponse--; |
return o; |
@@ -881,19 +881,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) { |
buildCounterListOperationsResponse++; |
if (buildCounterListOperationsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3627(o.operations); |
+ checkUnnamed3583(o.operations); |
} |
buildCounterListOperationsResponse--; |
} |
-buildUnnamed3628() { |
+buildUnnamed3584() { |
var o = new core.List<api.Service>(); |
o.add(buildService()); |
o.add(buildService()); |
return o; |
} |
-checkUnnamed3628(core.List<api.Service> o) { |
+checkUnnamed3584(core.List<api.Service> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkService(o[0]); |
checkService(o[1]); |
@@ -905,7 +905,7 @@ buildListServicesResponse() { |
buildCounterListServicesResponse++; |
if (buildCounterListServicesResponse < 3) { |
o.nextPageToken = "foo"; |
- o.services = buildUnnamed3628(); |
+ o.services = buildUnnamed3584(); |
} |
buildCounterListServicesResponse--; |
return o; |
@@ -915,19 +915,19 @@ checkListServicesResponse(api.ListServicesResponse o) { |
buildCounterListServicesResponse++; |
if (buildCounterListServicesResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3628(o.services); |
+ checkUnnamed3584(o.services); |
} |
buildCounterListServicesResponse--; |
} |
-buildUnnamed3629() { |
+buildUnnamed3585() { |
var o = new core.List<api.Version>(); |
o.add(buildVersion()); |
o.add(buildVersion()); |
return o; |
} |
-checkUnnamed3629(core.List<api.Version> o) { |
+checkUnnamed3585(core.List<api.Version> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVersion(o[0]); |
checkVersion(o[1]); |
@@ -939,7 +939,7 @@ buildListVersionsResponse() { |
buildCounterListVersionsResponse++; |
if (buildCounterListVersionsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.versions = buildUnnamed3629(); |
+ o.versions = buildUnnamed3585(); |
} |
buildCounterListVersionsResponse--; |
return o; |
@@ -949,7 +949,7 @@ checkListVersionsResponse(api.ListVersionsResponse o) { |
buildCounterListVersionsResponse++; |
if (buildCounterListVersionsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3629(o.versions); |
+ checkUnnamed3585(o.versions); |
} |
buildCounterListVersionsResponse--; |
} |
@@ -985,27 +985,27 @@ checkLivenessCheck(api.LivenessCheck o) { |
buildCounterLivenessCheck--; |
} |
-buildUnnamed3630() { |
+buildUnnamed3586() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3630(core.Map<core.String, core.String> o) { |
+checkUnnamed3586(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')); |
} |
-buildUnnamed3631() { |
+buildUnnamed3587() { |
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; |
} |
-checkUnnamed3631(core.Map<core.String, core.Object> o) { |
+checkUnnamed3587(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')); |
@@ -1016,9 +1016,9 @@ buildLocation() { |
var o = new api.Location(); |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- o.labels = buildUnnamed3630(); |
+ o.labels = buildUnnamed3586(); |
o.locationId = "foo"; |
- o.metadata = buildUnnamed3631(); |
+ o.metadata = buildUnnamed3587(); |
o.name = "foo"; |
} |
buildCounterLocation--; |
@@ -1028,9 +1028,9 @@ buildLocation() { |
checkLocation(api.Location o) { |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- checkUnnamed3630(o.labels); |
+ checkUnnamed3586(o.labels); |
unittest.expect(o.locationId, unittest.equals('foo')); |
- checkUnnamed3631(o.metadata); |
+ checkUnnamed3587(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
buildCounterLocation--; |
@@ -1076,14 +1076,14 @@ checkManualScaling(api.ManualScaling o) { |
buildCounterManualScaling--; |
} |
-buildUnnamed3632() { |
+buildUnnamed3588() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3632(core.List<core.String> o) { |
+checkUnnamed3588(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')); |
@@ -1094,7 +1094,7 @@ buildNetwork() { |
var o = new api.Network(); |
buildCounterNetwork++; |
if (buildCounterNetwork < 3) { |
- o.forwardedPorts = buildUnnamed3632(); |
+ o.forwardedPorts = buildUnnamed3588(); |
o.instanceTag = "foo"; |
o.name = "foo"; |
o.subnetworkName = "foo"; |
@@ -1106,7 +1106,7 @@ buildNetwork() { |
checkNetwork(api.Network o) { |
buildCounterNetwork++; |
if (buildCounterNetwork < 3) { |
- checkUnnamed3632(o.forwardedPorts); |
+ checkUnnamed3588(o.forwardedPorts); |
unittest.expect(o.instanceTag, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.subnetworkName, unittest.equals('foo')); |
@@ -1139,27 +1139,27 @@ checkNetworkUtilization(api.NetworkUtilization o) { |
buildCounterNetworkUtilization--; |
} |
-buildUnnamed3633() { |
+buildUnnamed3589() { |
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; |
} |
-checkUnnamed3633(core.Map<core.String, core.Object> o) { |
+checkUnnamed3589(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')); |
} |
-buildUnnamed3634() { |
+buildUnnamed3590() { |
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; |
} |
-checkUnnamed3634(core.Map<core.String, core.Object> o) { |
+checkUnnamed3590(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')); |
@@ -1172,9 +1172,9 @@ buildOperation() { |
if (buildCounterOperation < 3) { |
o.done = true; |
o.error = buildStatus(); |
- o.metadata = buildUnnamed3633(); |
+ o.metadata = buildUnnamed3589(); |
o.name = "foo"; |
- o.response = buildUnnamed3634(); |
+ o.response = buildUnnamed3590(); |
} |
buildCounterOperation--; |
return o; |
@@ -1185,9 +1185,9 @@ checkOperation(api.Operation o) { |
if (buildCounterOperation < 3) { |
unittest.expect(o.done, unittest.isTrue); |
checkStatus(o.error); |
- checkUnnamed3633(o.metadata); |
+ checkUnnamed3589(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed3634(o.response); |
+ checkUnnamed3590(o.response); |
} |
buildCounterOperation--; |
} |
@@ -1248,14 +1248,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) { |
buildCounterOperationMetadataExperimental--; |
} |
-buildUnnamed3635() { |
+buildUnnamed3591() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3635(core.List<core.String> o) { |
+checkUnnamed3591(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')); |
@@ -1272,7 +1272,7 @@ buildOperationMetadataV1() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed3635(); |
+ o.warning = buildUnnamed3591(); |
} |
buildCounterOperationMetadataV1--; |
return o; |
@@ -1287,19 +1287,19 @@ checkOperationMetadataV1(api.OperationMetadataV1 o) { |
unittest.expect(o.method, unittest.equals('foo')); |
unittest.expect(o.target, unittest.equals('foo')); |
unittest.expect(o.user, unittest.equals('foo')); |
- checkUnnamed3635(o.warning); |
+ checkUnnamed3591(o.warning); |
} |
buildCounterOperationMetadataV1--; |
} |
-buildUnnamed3636() { |
+buildUnnamed3592() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3636(core.List<core.String> o) { |
+checkUnnamed3592(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')); |
@@ -1316,7 +1316,7 @@ buildOperationMetadataV1Beta() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed3636(); |
+ o.warning = buildUnnamed3592(); |
} |
buildCounterOperationMetadataV1Beta--; |
return o; |
@@ -1331,7 +1331,7 @@ checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) { |
unittest.expect(o.method, unittest.equals('foo')); |
unittest.expect(o.target, unittest.equals('foo')); |
unittest.expect(o.user, unittest.equals('foo')); |
- checkUnnamed3636(o.warning); |
+ checkUnnamed3592(o.warning); |
} |
buildCounterOperationMetadataV1Beta--; |
} |
@@ -1453,14 +1453,14 @@ checkResourceRecord(api.ResourceRecord o) { |
buildCounterResourceRecord--; |
} |
-buildUnnamed3637() { |
+buildUnnamed3593() { |
var o = new core.List<api.Volume>(); |
o.add(buildVolume()); |
o.add(buildVolume()); |
return o; |
} |
-checkUnnamed3637(core.List<api.Volume> o) { |
+checkUnnamed3593(core.List<api.Volume> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVolume(o[0]); |
checkVolume(o[1]); |
@@ -1474,7 +1474,7 @@ buildResources() { |
o.cpu = 42.0; |
o.diskGb = 42.0; |
o.memoryGb = 42.0; |
- o.volumes = buildUnnamed3637(); |
+ o.volumes = buildUnnamed3593(); |
} |
buildCounterResources--; |
return o; |
@@ -1486,7 +1486,7 @@ checkResources(api.Resources o) { |
unittest.expect(o.cpu, unittest.equals(42.0)); |
unittest.expect(o.diskGb, unittest.equals(42.0)); |
unittest.expect(o.memoryGb, unittest.equals(42.0)); |
- checkUnnamed3637(o.volumes); |
+ checkUnnamed3593(o.volumes); |
} |
buildCounterResources--; |
} |
@@ -1552,14 +1552,14 @@ checkSslSettings(api.SslSettings o) { |
buildCounterSslSettings--; |
} |
-buildUnnamed3638() { |
+buildUnnamed3594() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3638(core.Map<core.String, core.String> o) { |
+checkUnnamed3594(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')); |
@@ -1572,7 +1572,7 @@ buildStaticFilesHandler() { |
if (buildCounterStaticFilesHandler < 3) { |
o.applicationReadable = true; |
o.expiration = "foo"; |
- o.httpHeaders = buildUnnamed3638(); |
+ o.httpHeaders = buildUnnamed3594(); |
o.mimeType = "foo"; |
o.path = "foo"; |
o.requireMatchingFile = true; |
@@ -1587,7 +1587,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) { |
if (buildCounterStaticFilesHandler < 3) { |
unittest.expect(o.applicationReadable, unittest.isTrue); |
unittest.expect(o.expiration, unittest.equals('foo')); |
- checkUnnamed3638(o.httpHeaders); |
+ checkUnnamed3594(o.httpHeaders); |
unittest.expect(o.mimeType, unittest.equals('foo')); |
unittest.expect(o.path, unittest.equals('foo')); |
unittest.expect(o.requireMatchingFile, unittest.isTrue); |
@@ -1596,30 +1596,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) { |
buildCounterStaticFilesHandler--; |
} |
-buildUnnamed3639() { |
+buildUnnamed3595() { |
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; |
} |
-checkUnnamed3639(core.Map<core.String, core.Object> o) { |
+checkUnnamed3595(core.Map<core.String, core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); |
var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); |
} |
-buildUnnamed3640() { |
+buildUnnamed3596() { |
var o = new core.List<core.Map<core.String, core.Object>>(); |
- o.add(buildUnnamed3639()); |
- o.add(buildUnnamed3639()); |
+ o.add(buildUnnamed3595()); |
+ o.add(buildUnnamed3595()); |
return o; |
} |
-checkUnnamed3640(core.List<core.Map<core.String, core.Object>> o) { |
+checkUnnamed3596(core.List<core.Map<core.String, core.Object>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed3639(o[0]); |
- checkUnnamed3639(o[1]); |
+ checkUnnamed3595(o[0]); |
+ checkUnnamed3595(o[1]); |
} |
core.int buildCounterStatus = 0; |
@@ -1628,7 +1628,7 @@ buildStatus() { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
o.code = 42; |
- o.details = buildUnnamed3640(); |
+ o.details = buildUnnamed3596(); |
o.message = "foo"; |
} |
buildCounterStatus--; |
@@ -1639,20 +1639,20 @@ checkStatus(api.Status o) { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
unittest.expect(o.code, unittest.equals(42)); |
- checkUnnamed3640(o.details); |
+ checkUnnamed3596(o.details); |
unittest.expect(o.message, unittest.equals('foo')); |
} |
buildCounterStatus--; |
} |
-buildUnnamed3641() { |
+buildUnnamed3597() { |
var o = new core.Map<core.String, core.double>(); |
o["x"] = 42.0; |
o["y"] = 42.0; |
return o; |
} |
-checkUnnamed3641(core.Map<core.String, core.double> o) { |
+checkUnnamed3597(core.Map<core.String, core.double> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals(42.0)); |
unittest.expect(o["y"], unittest.equals(42.0)); |
@@ -1663,7 +1663,7 @@ buildTrafficSplit() { |
var o = new api.TrafficSplit(); |
buildCounterTrafficSplit++; |
if (buildCounterTrafficSplit < 3) { |
- o.allocations = buildUnnamed3641(); |
+ o.allocations = buildUnnamed3597(); |
o.shardBy = "foo"; |
} |
buildCounterTrafficSplit--; |
@@ -1673,7 +1673,7 @@ buildTrafficSplit() { |
checkTrafficSplit(api.TrafficSplit o) { |
buildCounterTrafficSplit++; |
if (buildCounterTrafficSplit < 3) { |
- checkUnnamed3641(o.allocations); |
+ checkUnnamed3597(o.allocations); |
unittest.expect(o.shardBy, unittest.equals('foo')); |
} |
buildCounterTrafficSplit--; |
@@ -1735,79 +1735,79 @@ checkUrlMap(api.UrlMap o) { |
buildCounterUrlMap--; |
} |
-buildUnnamed3642() { |
+buildUnnamed3598() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3642(core.Map<core.String, core.String> o) { |
+checkUnnamed3598(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')); |
} |
-buildUnnamed3643() { |
+buildUnnamed3599() { |
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) { |
+checkUnnamed3599(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')); |
} |
-buildUnnamed3644() { |
+buildUnnamed3600() { |
var o = new core.List<api.ErrorHandler>(); |
o.add(buildErrorHandler()); |
o.add(buildErrorHandler()); |
return o; |
} |
-checkUnnamed3644(core.List<api.ErrorHandler> o) { |
+checkUnnamed3600(core.List<api.ErrorHandler> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkErrorHandler(o[0]); |
checkErrorHandler(o[1]); |
} |
-buildUnnamed3645() { |
+buildUnnamed3601() { |
var o = new core.List<api.UrlMap>(); |
o.add(buildUrlMap()); |
o.add(buildUrlMap()); |
return o; |
} |
-checkUnnamed3645(core.List<api.UrlMap> o) { |
+checkUnnamed3601(core.List<api.UrlMap> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUrlMap(o[0]); |
checkUrlMap(o[1]); |
} |
-buildUnnamed3646() { |
+buildUnnamed3602() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3646(core.List<core.String> o) { |
+checkUnnamed3602(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')); |
} |
-buildUnnamed3647() { |
+buildUnnamed3603() { |
var o = new core.List<api.Library>(); |
o.add(buildLibrary()); |
o.add(buildLibrary()); |
return o; |
} |
-checkUnnamed3647(core.List<api.Library> o) { |
+checkUnnamed3603(core.List<api.Library> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLibrary(o[0]); |
checkLibrary(o[1]); |
@@ -1821,7 +1821,7 @@ buildVersion() { |
o.apiConfig = buildApiConfigHandler(); |
o.automaticScaling = buildAutomaticScaling(); |
o.basicScaling = buildBasicScaling(); |
- o.betaSettings = buildUnnamed3642(); |
+ o.betaSettings = buildUnnamed3598(); |
o.createTime = "foo"; |
o.createdBy = "foo"; |
o.defaultExpiration = "foo"; |
@@ -1829,14 +1829,14 @@ buildVersion() { |
o.diskUsageBytes = "foo"; |
o.endpointsApiService = buildEndpointsApiService(); |
o.env = "foo"; |
- o.envVariables = buildUnnamed3643(); |
- o.errorHandlers = buildUnnamed3644(); |
- o.handlers = buildUnnamed3645(); |
+ o.envVariables = buildUnnamed3599(); |
+ o.errorHandlers = buildUnnamed3600(); |
+ o.handlers = buildUnnamed3601(); |
o.healthCheck = buildHealthCheck(); |
o.id = "foo"; |
- o.inboundServices = buildUnnamed3646(); |
+ o.inboundServices = buildUnnamed3602(); |
o.instanceClass = "foo"; |
- o.libraries = buildUnnamed3647(); |
+ o.libraries = buildUnnamed3603(); |
o.livenessCheck = buildLivenessCheck(); |
o.manualScaling = buildManualScaling(); |
o.name = "foo"; |
@@ -1860,7 +1860,7 @@ checkVersion(api.Version o) { |
checkApiConfigHandler(o.apiConfig); |
checkAutomaticScaling(o.automaticScaling); |
checkBasicScaling(o.basicScaling); |
- checkUnnamed3642(o.betaSettings); |
+ checkUnnamed3598(o.betaSettings); |
unittest.expect(o.createTime, unittest.equals('foo')); |
unittest.expect(o.createdBy, unittest.equals('foo')); |
unittest.expect(o.defaultExpiration, unittest.equals('foo')); |
@@ -1868,14 +1868,14 @@ checkVersion(api.Version o) { |
unittest.expect(o.diskUsageBytes, unittest.equals('foo')); |
checkEndpointsApiService(o.endpointsApiService); |
unittest.expect(o.env, unittest.equals('foo')); |
- checkUnnamed3643(o.envVariables); |
- checkUnnamed3644(o.errorHandlers); |
- checkUnnamed3645(o.handlers); |
+ checkUnnamed3599(o.envVariables); |
+ checkUnnamed3600(o.errorHandlers); |
+ checkUnnamed3601(o.handlers); |
checkHealthCheck(o.healthCheck); |
unittest.expect(o.id, unittest.equals('foo')); |
- checkUnnamed3646(o.inboundServices); |
+ checkUnnamed3602(o.inboundServices); |
unittest.expect(o.instanceClass, unittest.equals('foo')); |
- checkUnnamed3647(o.libraries); |
+ checkUnnamed3603(o.libraries); |
checkLivenessCheck(o.livenessCheck); |
checkManualScaling(o.manualScaling); |
unittest.expect(o.name, unittest.equals('foo')); |
@@ -2839,8 +2839,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates; |
var arg_appsId = "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; |
@@ -2874,8 +2874,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 = { |
@@ -2884,7 +2884,7 @@ main() { |
var resp = convert.JSON.encode(buildListAuthorizedCertificatesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListAuthorizedCertificatesResponse response) { |
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListAuthorizedCertificatesResponse response) { |
checkListAuthorizedCertificatesResponse(response); |
}))); |
}); |
@@ -2959,8 +2959,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsAuthorizedDomainsResourceApi res = new api.AppengineApi(mock).apps.authorizedDomains; |
var arg_appsId = "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; |
@@ -2994,8 +2994,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 = { |
@@ -3004,7 +3004,7 @@ main() { |
var resp = convert.JSON.encode(buildListAuthorizedDomainsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListAuthorizedDomainsResponse response) { |
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListAuthorizedDomainsResponse response) { |
checkListAuthorizedDomainsResponse(response); |
}))); |
}); |
@@ -3183,8 +3183,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsDomainMappingsResourceApi res = new api.AppengineApi(mock).apps.domainMappings; |
var arg_appsId = "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; |
@@ -3218,8 +3218,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 = { |
@@ -3228,7 +3228,7 @@ main() { |
var resp = convert.JSON.encode(buildListDomainMappingsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListDomainMappingsResponse response) { |
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListDomainMappingsResponse response) { |
checkListDomainMappingsResponse(response); |
}))); |
}); |
@@ -3358,8 +3358,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations; |
var arg_appsId = "foo"; |
- var arg_filter = "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; |
@@ -3394,8 +3394,8 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
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)); |
@@ -3405,7 +3405,7 @@ main() { |
var resp = convert.JSON.encode(buildListLocationsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLocationsResponse response) { |
+ res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListLocationsResponse response) { |
checkListLocationsResponse(response); |
}))); |
}); |
@@ -3474,8 +3474,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations; |
var arg_appsId = "foo"; |
- var arg_filter = "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; |
@@ -3510,8 +3510,8 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
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)); |
@@ -3521,7 +3521,7 @@ main() { |
var resp = convert.JSON.encode(buildListOperationsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) { |
+ res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) { |
checkListOperationsResponse(response); |
}))); |
}); |
@@ -3645,8 +3645,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsServicesResourceApi res = new api.AppengineApi(mock).apps.services; |
var arg_appsId = "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; |
@@ -3680,8 +3680,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 = { |
@@ -3690,7 +3690,7 @@ main() { |
var resp = convert.JSON.encode(buildListServicesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServicesResponse response) { |
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServicesResponse response) { |
checkListServicesResponse(response); |
}))); |
}); |
@@ -3702,8 +3702,8 @@ main() { |
var arg_request = buildService(); |
var arg_appsId = "foo"; |
var arg_servicesId = "foo"; |
- var arg_updateMask = "foo"; |
var arg_migrateTraffic = true; |
+ var arg_updateMask = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var obj = new api.Service.fromJson(json); |
checkService(obj); |
@@ -3743,8 +3743,8 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
- unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask)); |
unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_migrateTraffic")); |
+ unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask)); |
var h = { |
@@ -3753,7 +3753,7 @@ main() { |
var resp = convert.JSON.encode(buildOperation()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.patch(arg_request, arg_appsId, arg_servicesId, updateMask: arg_updateMask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync(((api.Operation response) { |
+ res.patch(arg_request, arg_appsId, arg_servicesId, migrateTraffic: arg_migrateTraffic, updateMask: arg_updateMask).then(unittest.expectAsync(((api.Operation response) { |
checkOperation(response); |
}))); |
}); |
@@ -3959,8 +3959,8 @@ main() { |
api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps.services.versions; |
var arg_appsId = "foo"; |
var arg_servicesId = "foo"; |
- var arg_view = "foo"; |
var arg_pageSize = 42; |
+ var arg_view = "foo"; |
var arg_pageToken = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
@@ -4002,8 +4002,8 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize)); |
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); |
@@ -4013,7 +4013,7 @@ main() { |
var resp = convert.JSON.encode(buildListVersionsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, arg_servicesId, view: arg_view, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListVersionsResponse response) { |
+ res.list(arg_appsId, arg_servicesId, pageSize: arg_pageSize, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListVersionsResponse response) { |
checkListVersionsResponse(response); |
}))); |
}); |
@@ -4319,8 +4319,8 @@ main() { |
var arg_appsId = "foo"; |
var arg_servicesId = "foo"; |
var arg_versionsId = "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; |
@@ -4368,8 +4368,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 = { |
@@ -4378,7 +4378,7 @@ main() { |
var resp = convert.JSON.encode(buildListInstancesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesResponse response) { |
+ res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstancesResponse response) { |
checkListInstancesResponse(response); |
}))); |
}); |