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

Unified Diff: generated/googleapis_beta/test/appengine/v1beta_test.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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_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 dbb8e9b53a42b8827f8f1e2888ed56fbe081415b..648ba04bfe37bbf65e329bca6e9e7aa508ddc063 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--;
}
-buildUnnamed3573() {
+buildUnnamed3605() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3573(core.List<api.UrlDispatchRule> o) {
+checkUnnamed3605(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 = buildUnnamed3573();
+ o.dispatchRules = buildUnnamed3605();
o.featureSettings = buildFeatureSettings();
o.gcrDomain = "foo";
o.iap = buildIdentityAwareProxy();
@@ -141,7 +141,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'));
- checkUnnamed3573(o.dispatchRules);
+ checkUnnamed3605(o.dispatchRules);
checkFeatureSettings(o.featureSettings);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
@@ -153,27 +153,27 @@ checkApplication(api.Application o) {
buildCounterApplication--;
}
-buildUnnamed3574() {
+buildUnnamed3606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3574(core.List<core.String> o) {
+checkUnnamed3606(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'));
}
-buildUnnamed3575() {
+buildUnnamed3607() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3575(core.List<core.String> o) {
+checkUnnamed3607(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'));
@@ -187,11 +187,11 @@ buildAuthorizedCertificate() {
o.certificateRawData = buildCertificateRawData();
o.displayName = "foo";
o.domainMappingsCount = 42;
- o.domainNames = buildUnnamed3574();
+ o.domainNames = buildUnnamed3606();
o.expireTime = "foo";
o.id = "foo";
o.name = "foo";
- o.visibleDomainMappings = buildUnnamed3575();
+ o.visibleDomainMappings = buildUnnamed3607();
}
buildCounterAuthorizedCertificate--;
return o;
@@ -203,11 +203,11 @@ checkAuthorizedCertificate(api.AuthorizedCertificate o) {
checkCertificateRawData(o.certificateRawData);
unittest.expect(o.displayName, unittest.equals('foo'));
unittest.expect(o.domainMappingsCount, unittest.equals(42));
- checkUnnamed3574(o.domainNames);
+ checkUnnamed3606(o.domainNames);
unittest.expect(o.expireTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3575(o.visibleDomainMappings);
+ checkUnnamed3607(o.visibleDomainMappings);
}
buildCounterAuthorizedCertificate--;
}
@@ -297,14 +297,14 @@ checkBasicScaling(api.BasicScaling o) {
buildCounterBasicScaling--;
}
-buildUnnamed3576() {
+buildUnnamed3608() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3576(core.List<api.FirewallRule> o) {
+checkUnnamed3608(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -315,7 +315,7 @@ buildBatchUpdateIngressRulesRequest() {
var o = new api.BatchUpdateIngressRulesRequest();
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- o.ingressRules = buildUnnamed3576();
+ o.ingressRules = buildUnnamed3608();
}
buildCounterBatchUpdateIngressRulesRequest--;
return o;
@@ -324,19 +324,19 @@ buildBatchUpdateIngressRulesRequest() {
checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- checkUnnamed3576(o.ingressRules);
+ checkUnnamed3608(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesRequest--;
}
-buildUnnamed3577() {
+buildUnnamed3609() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3577(core.List<api.FirewallRule> o) {
+checkUnnamed3609(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -347,7 +347,7 @@ buildBatchUpdateIngressRulesResponse() {
var o = new api.BatchUpdateIngressRulesResponse();
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed3577();
+ o.ingressRules = buildUnnamed3609();
}
buildCounterBatchUpdateIngressRulesResponse--;
return o;
@@ -356,7 +356,7 @@ buildBatchUpdateIngressRulesResponse() {
checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- checkUnnamed3577(o.ingressRules);
+ checkUnnamed3609(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesResponse--;
}
@@ -460,14 +460,14 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) {
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3578() {
+buildUnnamed3610() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3578(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3610(core.Map<core.String, api.FileInfo> o) {
unittest.expect(o, unittest.hasLength(2));
checkFileInfo(o["x"]);
checkFileInfo(o["y"]);
@@ -480,7 +480,7 @@ buildDeployment() {
if (buildCounterDeployment < 3) {
o.build = buildBuildInfo();
o.container = buildContainerInfo();
- o.files = buildUnnamed3578();
+ o.files = buildUnnamed3610();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -492,7 +492,7 @@ checkDeployment(api.Deployment o) {
if (buildCounterDeployment < 3) {
checkBuildInfo(o.build);
checkContainerInfo(o.container);
- checkUnnamed3578(o.files);
+ checkUnnamed3610(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -523,14 +523,14 @@ checkDiskUtilization(api.DiskUtilization o) {
buildCounterDiskUtilization--;
}
-buildUnnamed3579() {
+buildUnnamed3611() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed3579(core.List<api.ResourceRecord> o) {
+checkUnnamed3611(core.List<api.ResourceRecord> o) {
unittest.expect(o, unittest.hasLength(2));
checkResourceRecord(o[0]);
checkResourceRecord(o[1]);
@@ -543,7 +543,7 @@ buildDomainMapping() {
if (buildCounterDomainMapping < 3) {
o.id = "foo";
o.name = "foo";
- o.resourceRecords = buildUnnamed3579();
+ o.resourceRecords = buildUnnamed3611();
o.sslSettings = buildSslSettings();
}
buildCounterDomainMapping--;
@@ -555,7 +555,7 @@ checkDomainMapping(api.DomainMapping o) {
if (buildCounterDomainMapping < 3) {
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3579(o.resourceRecords);
+ checkUnnamed3611(o.resourceRecords);
checkSslSettings(o.sslSettings);
}
buildCounterDomainMapping--;
@@ -815,14 +815,14 @@ checkLibrary(api.Library o) {
buildCounterLibrary--;
}
-buildUnnamed3580() {
+buildUnnamed3612() {
var o = new core.List<api.AuthorizedCertificate>();
o.add(buildAuthorizedCertificate());
o.add(buildAuthorizedCertificate());
return o;
}
-checkUnnamed3580(core.List<api.AuthorizedCertificate> o) {
+checkUnnamed3612(core.List<api.AuthorizedCertificate> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedCertificate(o[0]);
checkAuthorizedCertificate(o[1]);
@@ -833,7 +833,7 @@ buildListAuthorizedCertificatesResponse() {
var o = new api.ListAuthorizedCertificatesResponse();
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- o.certificates = buildUnnamed3580();
+ o.certificates = buildUnnamed3612();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedCertificatesResponse--;
@@ -843,20 +843,20 @@ buildListAuthorizedCertificatesResponse() {
checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o) {
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- checkUnnamed3580(o.certificates);
+ checkUnnamed3612(o.certificates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedCertificatesResponse--;
}
-buildUnnamed3581() {
+buildUnnamed3613() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed3581(core.List<api.AuthorizedDomain> o) {
+checkUnnamed3613(core.List<api.AuthorizedDomain> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuthorizedDomain(o[0]);
checkAuthorizedDomain(o[1]);
@@ -867,7 +867,7 @@ buildListAuthorizedDomainsResponse() {
var o = new api.ListAuthorizedDomainsResponse();
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- o.domains = buildUnnamed3581();
+ o.domains = buildUnnamed3613();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -877,20 +877,20 @@ buildListAuthorizedDomainsResponse() {
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed3581(o.domains);
+ checkUnnamed3613(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed3582() {
+buildUnnamed3614() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed3582(core.List<api.DomainMapping> o) {
+checkUnnamed3614(core.List<api.DomainMapping> o) {
unittest.expect(o, unittest.hasLength(2));
checkDomainMapping(o[0]);
checkDomainMapping(o[1]);
@@ -901,7 +901,7 @@ buildListDomainMappingsResponse() {
var o = new api.ListDomainMappingsResponse();
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- o.domainMappings = buildUnnamed3582();
+ o.domainMappings = buildUnnamed3614();
o.nextPageToken = "foo";
}
buildCounterListDomainMappingsResponse--;
@@ -911,20 +911,20 @@ buildListDomainMappingsResponse() {
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- checkUnnamed3582(o.domainMappings);
+ checkUnnamed3614(o.domainMappings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed3583() {
+buildUnnamed3615() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3583(core.List<api.FirewallRule> o) {
+checkUnnamed3615(core.List<api.FirewallRule> o) {
unittest.expect(o, unittest.hasLength(2));
checkFirewallRule(o[0]);
checkFirewallRule(o[1]);
@@ -935,7 +935,7 @@ buildListIngressRulesResponse() {
var o = new api.ListIngressRulesResponse();
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- o.ingressRules = buildUnnamed3583();
+ o.ingressRules = buildUnnamed3615();
o.nextPageToken = "foo";
}
buildCounterListIngressRulesResponse--;
@@ -945,20 +945,20 @@ buildListIngressRulesResponse() {
checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- checkUnnamed3583(o.ingressRules);
+ checkUnnamed3615(o.ingressRules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIngressRulesResponse--;
}
-buildUnnamed3584() {
+buildUnnamed3616() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3584(core.List<api.Instance> o) {
+checkUnnamed3616(core.List<api.Instance> o) {
unittest.expect(o, unittest.hasLength(2));
checkInstance(o[0]);
checkInstance(o[1]);
@@ -969,7 +969,7 @@ buildListInstancesResponse() {
var o = new api.ListInstancesResponse();
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- o.instances = buildUnnamed3584();
+ o.instances = buildUnnamed3616();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -979,20 +979,20 @@ buildListInstancesResponse() {
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3584(o.instances);
+ checkUnnamed3616(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3585() {
+buildUnnamed3617() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3585(core.List<api.Location> o) {
+checkUnnamed3617(core.List<api.Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkLocation(o[0]);
checkLocation(o[1]);
@@ -1003,7 +1003,7 @@ buildListLocationsResponse() {
var o = new api.ListLocationsResponse();
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- o.locations = buildUnnamed3585();
+ o.locations = buildUnnamed3617();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1013,20 +1013,20 @@ buildListLocationsResponse() {
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3585(o.locations);
+ checkUnnamed3617(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3586() {
+buildUnnamed3618() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3586(core.List<api.Operation> o) {
+checkUnnamed3618(core.List<api.Operation> o) {
unittest.expect(o, unittest.hasLength(2));
checkOperation(o[0]);
checkOperation(o[1]);
@@ -1038,7 +1038,7 @@ buildListOperationsResponse() {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3586();
+ o.operations = buildUnnamed3618();
}
buildCounterListOperationsResponse--;
return o;
@@ -1048,19 +1048,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3586(o.operations);
+ checkUnnamed3618(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3587() {
+buildUnnamed3619() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3587(core.List<api.Service> o) {
+checkUnnamed3619(core.List<api.Service> o) {
unittest.expect(o, unittest.hasLength(2));
checkService(o[0]);
checkService(o[1]);
@@ -1072,7 +1072,7 @@ buildListServicesResponse() {
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
o.nextPageToken = "foo";
- o.services = buildUnnamed3587();
+ o.services = buildUnnamed3619();
}
buildCounterListServicesResponse--;
return o;
@@ -1082,19 +1082,19 @@ checkListServicesResponse(api.ListServicesResponse o) {
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3587(o.services);
+ checkUnnamed3619(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3588() {
+buildUnnamed3620() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3588(core.List<api.Version> o) {
+checkUnnamed3620(core.List<api.Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkVersion(o[0]);
checkVersion(o[1]);
@@ -1106,7 +1106,7 @@ buildListVersionsResponse() {
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3588();
+ o.versions = buildUnnamed3620();
}
buildCounterListVersionsResponse--;
return o;
@@ -1116,7 +1116,7 @@ checkListVersionsResponse(api.ListVersionsResponse o) {
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3588(o.versions);
+ checkUnnamed3620(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -1152,27 +1152,27 @@ checkLivenessCheck(api.LivenessCheck o) {
buildCounterLivenessCheck--;
}
-buildUnnamed3589() {
+buildUnnamed3621() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3589(core.Map<core.String, core.String> o) {
+checkUnnamed3621(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'));
}
-buildUnnamed3590() {
+buildUnnamed3622() {
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;
}
-checkUnnamed3590(core.Map<core.String, core.Object> o) {
+checkUnnamed3622(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'));
@@ -1183,9 +1183,9 @@ buildLocation() {
var o = new api.Location();
buildCounterLocation++;
if (buildCounterLocation < 3) {
- o.labels = buildUnnamed3589();
+ o.labels = buildUnnamed3621();
o.locationId = "foo";
- o.metadata = buildUnnamed3590();
+ o.metadata = buildUnnamed3622();
o.name = "foo";
}
buildCounterLocation--;
@@ -1195,9 +1195,9 @@ buildLocation() {
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3589(o.labels);
+ checkUnnamed3621(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3590(o.metadata);
+ checkUnnamed3622(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1243,14 +1243,14 @@ checkManualScaling(api.ManualScaling o) {
buildCounterManualScaling--;
}
-buildUnnamed3591() {
+buildUnnamed3623() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3591(core.List<core.String> o) {
+checkUnnamed3623(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'));
@@ -1261,7 +1261,7 @@ buildNetwork() {
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3591();
+ o.forwardedPorts = buildUnnamed3623();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -1273,7 +1273,7 @@ buildNetwork() {
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3591(o.forwardedPorts);
+ checkUnnamed3623(o.forwardedPorts);
unittest.expect(o.instanceTag, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.subnetworkName, unittest.equals('foo'));
@@ -1306,27 +1306,27 @@ checkNetworkUtilization(api.NetworkUtilization o) {
buildCounterNetworkUtilization--;
}
-buildUnnamed3592() {
+buildUnnamed3624() {
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;
}
-checkUnnamed3592(core.Map<core.String, core.Object> o) {
+checkUnnamed3624(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'));
}
-buildUnnamed3593() {
+buildUnnamed3625() {
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;
}
-checkUnnamed3593(core.Map<core.String, core.Object> o) {
+checkUnnamed3625(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'));
@@ -1339,9 +1339,9 @@ buildOperation() {
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed3592();
+ o.metadata = buildUnnamed3624();
o.name = "foo";
- o.response = buildUnnamed3593();
+ o.response = buildUnnamed3625();
}
buildCounterOperation--;
return o;
@@ -1352,9 +1352,9 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3592(o.metadata);
+ checkUnnamed3624(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3593(o.response);
+ checkUnnamed3625(o.response);
}
buildCounterOperation--;
}
@@ -1415,14 +1415,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) {
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3594() {
+buildUnnamed3626() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3594(core.List<core.String> o) {
+checkUnnamed3626(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'));
@@ -1439,7 +1439,7 @@ buildOperationMetadataV1() {
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3594();
+ o.warning = buildUnnamed3626();
}
buildCounterOperationMetadataV1--;
return o;
@@ -1454,19 +1454,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'));
- checkUnnamed3594(o.warning);
+ checkUnnamed3626(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3595() {
+buildUnnamed3627() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3595(core.List<core.String> o) {
+checkUnnamed3627(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'));
@@ -1483,7 +1483,7 @@ buildOperationMetadataV1Alpha() {
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3595();
+ o.warning = buildUnnamed3627();
}
buildCounterOperationMetadataV1Alpha--;
return o;
@@ -1498,19 +1498,19 @@ checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) {
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.target, unittest.equals('foo'));
unittest.expect(o.user, unittest.equals('foo'));
- checkUnnamed3595(o.warning);
+ checkUnnamed3627(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed3596() {
+buildUnnamed3628() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3596(core.List<core.String> o) {
+checkUnnamed3628(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'));
@@ -1527,7 +1527,7 @@ buildOperationMetadataV1Beta() {
o.method = "foo";
o.target = "foo";
o.user = "foo";
- o.warning = buildUnnamed3596();
+ o.warning = buildUnnamed3628();
}
buildCounterOperationMetadataV1Beta--;
return o;
@@ -1542,7 +1542,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'));
- checkUnnamed3596(o.warning);
+ checkUnnamed3628(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1666,14 +1666,14 @@ checkResourceRecord(api.ResourceRecord o) {
buildCounterResourceRecord--;
}
-buildUnnamed3597() {
+buildUnnamed3629() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3597(core.List<api.Volume> o) {
+checkUnnamed3629(core.List<api.Volume> o) {
unittest.expect(o, unittest.hasLength(2));
checkVolume(o[0]);
checkVolume(o[1]);
@@ -1687,7 +1687,7 @@ buildResources() {
o.cpu = 42.0;
o.diskGb = 42.0;
o.memoryGb = 42.0;
- o.volumes = buildUnnamed3597();
+ o.volumes = buildUnnamed3629();
}
buildCounterResources--;
return o;
@@ -1699,7 +1699,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));
- checkUnnamed3597(o.volumes);
+ checkUnnamed3629(o.volumes);
}
buildCounterResources--;
}
@@ -1790,14 +1790,14 @@ checkStandardSchedulerSettings(api.StandardSchedulerSettings o) {
buildCounterStandardSchedulerSettings--;
}
-buildUnnamed3598() {
+buildUnnamed3630() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3598(core.Map<core.String, core.String> o) {
+checkUnnamed3630(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'));
@@ -1810,7 +1810,7 @@ buildStaticFilesHandler() {
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3598();
+ o.httpHeaders = buildUnnamed3630();
o.mimeType = "foo";
o.path = "foo";
o.requireMatchingFile = true;
@@ -1825,7 +1825,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
if (buildCounterStaticFilesHandler < 3) {
unittest.expect(o.applicationReadable, unittest.isTrue);
unittest.expect(o.expiration, unittest.equals('foo'));
- checkUnnamed3598(o.httpHeaders);
+ checkUnnamed3630(o.httpHeaders);
unittest.expect(o.mimeType, unittest.equals('foo'));
unittest.expect(o.path, unittest.equals('foo'));
unittest.expect(o.requireMatchingFile, unittest.isTrue);
@@ -1834,30 +1834,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
buildCounterStaticFilesHandler--;
}
-buildUnnamed3599() {
+buildUnnamed3631() {
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;
}
-checkUnnamed3599(core.Map<core.String, core.Object> o) {
+checkUnnamed3631(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'));
}
-buildUnnamed3600() {
+buildUnnamed3632() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3599());
- o.add(buildUnnamed3599());
+ o.add(buildUnnamed3631());
+ o.add(buildUnnamed3631());
return o;
}
-checkUnnamed3600(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3632(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3599(o[0]);
- checkUnnamed3599(o[1]);
+ checkUnnamed3631(o[0]);
+ checkUnnamed3631(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1866,7 +1866,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3600();
+ o.details = buildUnnamed3632();
o.message = "foo";
}
buildCounterStatus--;
@@ -1877,20 +1877,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3600(o.details);
+ checkUnnamed3632(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3601() {
+buildUnnamed3633() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3601(core.Map<core.String, core.double> o) {
+checkUnnamed3633(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));
@@ -1901,7 +1901,7 @@ buildTrafficSplit() {
var o = new api.TrafficSplit();
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- o.allocations = buildUnnamed3601();
+ o.allocations = buildUnnamed3633();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1911,7 +1911,7 @@ buildTrafficSplit() {
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3601(o.allocations);
+ checkUnnamed3633(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1973,79 +1973,79 @@ checkUrlMap(api.UrlMap o) {
buildCounterUrlMap--;
}
-buildUnnamed3602() {
+buildUnnamed3634() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3602(core.Map<core.String, core.String> o) {
+checkUnnamed3634(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'));
}
-buildUnnamed3603() {
+buildUnnamed3635() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3603(core.Map<core.String, core.String> o) {
+checkUnnamed3635(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'));
}
-buildUnnamed3604() {
+buildUnnamed3636() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3604(core.List<api.ErrorHandler> o) {
+checkUnnamed3636(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3605() {
+buildUnnamed3637() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3605(core.List<api.UrlMap> o) {
+checkUnnamed3637(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3606() {
+buildUnnamed3638() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3606(core.List<core.String> o) {
+checkUnnamed3638(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'));
}
-buildUnnamed3607() {
+buildUnnamed3639() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3607(core.List<api.Library> o) {
+checkUnnamed3639(core.List<api.Library> o) {
unittest.expect(o, unittest.hasLength(2));
checkLibrary(o[0]);
checkLibrary(o[1]);
@@ -2059,7 +2059,7 @@ buildVersion() {
o.apiConfig = buildApiConfigHandler();
o.automaticScaling = buildAutomaticScaling();
o.basicScaling = buildBasicScaling();
- o.betaSettings = buildUnnamed3602();
+ o.betaSettings = buildUnnamed3634();
o.createTime = "foo";
o.createdBy = "foo";
o.defaultExpiration = "foo";
@@ -2067,14 +2067,14 @@ buildVersion() {
o.diskUsageBytes = "foo";
o.endpointsApiService = buildEndpointsApiService();
o.env = "foo";
- o.envVariables = buildUnnamed3603();
- o.errorHandlers = buildUnnamed3604();
- o.handlers = buildUnnamed3605();
+ o.envVariables = buildUnnamed3635();
+ o.errorHandlers = buildUnnamed3636();
+ o.handlers = buildUnnamed3637();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3606();
+ o.inboundServices = buildUnnamed3638();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3607();
+ o.libraries = buildUnnamed3639();
o.livenessCheck = buildLivenessCheck();
o.manualScaling = buildManualScaling();
o.name = "foo";
@@ -2099,7 +2099,7 @@ checkVersion(api.Version o) {
checkApiConfigHandler(o.apiConfig);
checkAutomaticScaling(o.automaticScaling);
checkBasicScaling(o.basicScaling);
- checkUnnamed3602(o.betaSettings);
+ checkUnnamed3634(o.betaSettings);
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.createdBy, unittest.equals('foo'));
unittest.expect(o.defaultExpiration, unittest.equals('foo'));
@@ -2107,14 +2107,14 @@ checkVersion(api.Version o) {
unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
checkEndpointsApiService(o.endpointsApiService);
unittest.expect(o.env, unittest.equals('foo'));
- checkUnnamed3603(o.envVariables);
- checkUnnamed3604(o.errorHandlers);
- checkUnnamed3605(o.handlers);
+ checkUnnamed3635(o.envVariables);
+ checkUnnamed3636(o.errorHandlers);
+ checkUnnamed3637(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3606(o.inboundServices);
+ checkUnnamed3638(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3607(o.libraries);
+ checkUnnamed3639(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -3151,9 +3151,9 @@ main() {
var mock = new HttpServerMock();
api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock).apps.authorizedCertificates;
var arg_appsId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -3187,9 +3187,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["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -3198,7 +3198,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, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
checkListAuthorizedCertificatesResponse(response);
})));
});
@@ -4014,9 +4014,9 @@ main() {
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- 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;
@@ -4050,9 +4050,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 = {
@@ -4061,7 +4061,7 @@ main() {
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -4130,9 +4130,9 @@ main() {
var mock = new HttpServerMock();
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
var arg_appsId = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4166,9 +4166,9 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- 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));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
var h = {
@@ -4177,7 +4177,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, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -4615,9 +4615,9 @@ main() {
api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps.services.versions;
var arg_appsId = "foo";
var arg_servicesId = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_view = "foo";
- var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4658,9 +4658,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["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -4669,7 +4669,7 @@ main() {
var resp = convert.JSON.encode(buildListVersionsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, arg_servicesId, pageSize: arg_pageSize, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListVersionsResponse response) {
+ res.list(arg_appsId, arg_servicesId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListVersionsResponse response) {
checkListVersionsResponse(response);
})));
});

Powered by Google App Engine
This is Rietveld 408576698