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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: generated/googleapis_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 be530ad204d29df95ed059ceff54824fe6eb956e..dbb8e9b53a42b8827f8f1e2888ed56fbe081415b 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--;
}
-buildUnnamed3577() {
+buildUnnamed3573() {
var o = new core.List<api.UrlDispatchRule>();
o.add(buildUrlDispatchRule());
o.add(buildUrlDispatchRule());
return o;
}
-checkUnnamed3577(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 = buildUnnamed3577();
+ o.dispatchRules = buildUnnamed3573();
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'));
- checkUnnamed3577(o.dispatchRules);
+ checkUnnamed3573(o.dispatchRules);
checkFeatureSettings(o.featureSettings);
unittest.expect(o.gcrDomain, unittest.equals('foo'));
checkIdentityAwareProxy(o.iap);
@@ -153,27 +153,27 @@ checkApplication(api.Application o) {
buildCounterApplication--;
}
-buildUnnamed3578() {
+buildUnnamed3574() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3578(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'));
}
-buildUnnamed3579() {
+buildUnnamed3575() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3579(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'));
@@ -187,11 +187,11 @@ buildAuthorizedCertificate() {
o.certificateRawData = buildCertificateRawData();
o.displayName = "foo";
o.domainMappingsCount = 42;
- o.domainNames = buildUnnamed3578();
+ o.domainNames = buildUnnamed3574();
o.expireTime = "foo";
o.id = "foo";
o.name = "foo";
- o.visibleDomainMappings = buildUnnamed3579();
+ o.visibleDomainMappings = buildUnnamed3575();
}
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));
- checkUnnamed3578(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'));
- checkUnnamed3579(o.visibleDomainMappings);
+ checkUnnamed3575(o.visibleDomainMappings);
}
buildCounterAuthorizedCertificate--;
}
@@ -297,14 +297,14 @@ checkBasicScaling(api.BasicScaling o) {
buildCounterBasicScaling--;
}
-buildUnnamed3580() {
+buildUnnamed3576() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3580(core.List<api.FirewallRule> o) {
+checkUnnamed3576(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 = buildUnnamed3580();
+ o.ingressRules = buildUnnamed3576();
}
buildCounterBatchUpdateIngressRulesRequest--;
return o;
@@ -324,19 +324,19 @@ buildBatchUpdateIngressRulesRequest() {
checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
buildCounterBatchUpdateIngressRulesRequest++;
if (buildCounterBatchUpdateIngressRulesRequest < 3) {
- checkUnnamed3580(o.ingressRules);
+ checkUnnamed3576(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesRequest--;
}
-buildUnnamed3581() {
+buildUnnamed3577() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3581(core.List<api.FirewallRule> o) {
+checkUnnamed3577(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 = buildUnnamed3581();
+ o.ingressRules = buildUnnamed3577();
}
buildCounterBatchUpdateIngressRulesResponse--;
return o;
@@ -356,7 +356,7 @@ buildBatchUpdateIngressRulesResponse() {
checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
buildCounterBatchUpdateIngressRulesResponse++;
if (buildCounterBatchUpdateIngressRulesResponse < 3) {
- checkUnnamed3581(o.ingressRules);
+ checkUnnamed3577(o.ingressRules);
}
buildCounterBatchUpdateIngressRulesResponse--;
}
@@ -460,14 +460,14 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) {
buildCounterDebugInstanceRequest--;
}
-buildUnnamed3582() {
+buildUnnamed3578() {
var o = new core.Map<core.String, api.FileInfo>();
o["x"] = buildFileInfo();
o["y"] = buildFileInfo();
return o;
}
-checkUnnamed3582(core.Map<core.String, api.FileInfo> o) {
+checkUnnamed3578(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 = buildUnnamed3582();
+ o.files = buildUnnamed3578();
o.zip = buildZipInfo();
}
buildCounterDeployment--;
@@ -492,7 +492,7 @@ checkDeployment(api.Deployment o) {
if (buildCounterDeployment < 3) {
checkBuildInfo(o.build);
checkContainerInfo(o.container);
- checkUnnamed3582(o.files);
+ checkUnnamed3578(o.files);
checkZipInfo(o.zip);
}
buildCounterDeployment--;
@@ -523,14 +523,14 @@ checkDiskUtilization(api.DiskUtilization o) {
buildCounterDiskUtilization--;
}
-buildUnnamed3583() {
+buildUnnamed3579() {
var o = new core.List<api.ResourceRecord>();
o.add(buildResourceRecord());
o.add(buildResourceRecord());
return o;
}
-checkUnnamed3583(core.List<api.ResourceRecord> o) {
+checkUnnamed3579(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 = buildUnnamed3583();
+ o.resourceRecords = buildUnnamed3579();
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'));
- checkUnnamed3583(o.resourceRecords);
+ checkUnnamed3579(o.resourceRecords);
checkSslSettings(o.sslSettings);
}
buildCounterDomainMapping--;
@@ -815,14 +815,14 @@ checkLibrary(api.Library o) {
buildCounterLibrary--;
}
-buildUnnamed3584() {
+buildUnnamed3580() {
var o = new core.List<api.AuthorizedCertificate>();
o.add(buildAuthorizedCertificate());
o.add(buildAuthorizedCertificate());
return o;
}
-checkUnnamed3584(core.List<api.AuthorizedCertificate> o) {
+checkUnnamed3580(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 = buildUnnamed3584();
+ o.certificates = buildUnnamed3580();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedCertificatesResponse--;
@@ -843,20 +843,20 @@ buildListAuthorizedCertificatesResponse() {
checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o) {
buildCounterListAuthorizedCertificatesResponse++;
if (buildCounterListAuthorizedCertificatesResponse < 3) {
- checkUnnamed3584(o.certificates);
+ checkUnnamed3580(o.certificates);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedCertificatesResponse--;
}
-buildUnnamed3585() {
+buildUnnamed3581() {
var o = new core.List<api.AuthorizedDomain>();
o.add(buildAuthorizedDomain());
o.add(buildAuthorizedDomain());
return o;
}
-checkUnnamed3585(core.List<api.AuthorizedDomain> o) {
+checkUnnamed3581(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 = buildUnnamed3585();
+ o.domains = buildUnnamed3581();
o.nextPageToken = "foo";
}
buildCounterListAuthorizedDomainsResponse--;
@@ -877,20 +877,20 @@ buildListAuthorizedDomainsResponse() {
checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
buildCounterListAuthorizedDomainsResponse++;
if (buildCounterListAuthorizedDomainsResponse < 3) {
- checkUnnamed3585(o.domains);
+ checkUnnamed3581(o.domains);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListAuthorizedDomainsResponse--;
}
-buildUnnamed3586() {
+buildUnnamed3582() {
var o = new core.List<api.DomainMapping>();
o.add(buildDomainMapping());
o.add(buildDomainMapping());
return o;
}
-checkUnnamed3586(core.List<api.DomainMapping> o) {
+checkUnnamed3582(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 = buildUnnamed3586();
+ o.domainMappings = buildUnnamed3582();
o.nextPageToken = "foo";
}
buildCounterListDomainMappingsResponse--;
@@ -911,20 +911,20 @@ buildListDomainMappingsResponse() {
checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
buildCounterListDomainMappingsResponse++;
if (buildCounterListDomainMappingsResponse < 3) {
- checkUnnamed3586(o.domainMappings);
+ checkUnnamed3582(o.domainMappings);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListDomainMappingsResponse--;
}
-buildUnnamed3587() {
+buildUnnamed3583() {
var o = new core.List<api.FirewallRule>();
o.add(buildFirewallRule());
o.add(buildFirewallRule());
return o;
}
-checkUnnamed3587(core.List<api.FirewallRule> o) {
+checkUnnamed3583(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 = buildUnnamed3587();
+ o.ingressRules = buildUnnamed3583();
o.nextPageToken = "foo";
}
buildCounterListIngressRulesResponse--;
@@ -945,20 +945,20 @@ buildListIngressRulesResponse() {
checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
buildCounterListIngressRulesResponse++;
if (buildCounterListIngressRulesResponse < 3) {
- checkUnnamed3587(o.ingressRules);
+ checkUnnamed3583(o.ingressRules);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListIngressRulesResponse--;
}
-buildUnnamed3588() {
+buildUnnamed3584() {
var o = new core.List<api.Instance>();
o.add(buildInstance());
o.add(buildInstance());
return o;
}
-checkUnnamed3588(core.List<api.Instance> o) {
+checkUnnamed3584(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 = buildUnnamed3588();
+ o.instances = buildUnnamed3584();
o.nextPageToken = "foo";
}
buildCounterListInstancesResponse--;
@@ -979,20 +979,20 @@ buildListInstancesResponse() {
checkListInstancesResponse(api.ListInstancesResponse o) {
buildCounterListInstancesResponse++;
if (buildCounterListInstancesResponse < 3) {
- checkUnnamed3588(o.instances);
+ checkUnnamed3584(o.instances);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListInstancesResponse--;
}
-buildUnnamed3589() {
+buildUnnamed3585() {
var o = new core.List<api.Location>();
o.add(buildLocation());
o.add(buildLocation());
return o;
}
-checkUnnamed3589(core.List<api.Location> o) {
+checkUnnamed3585(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 = buildUnnamed3589();
+ o.locations = buildUnnamed3585();
o.nextPageToken = "foo";
}
buildCounterListLocationsResponse--;
@@ -1013,20 +1013,20 @@ buildListLocationsResponse() {
checkListLocationsResponse(api.ListLocationsResponse o) {
buildCounterListLocationsResponse++;
if (buildCounterListLocationsResponse < 3) {
- checkUnnamed3589(o.locations);
+ checkUnnamed3585(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLocationsResponse--;
}
-buildUnnamed3590() {
+buildUnnamed3586() {
var o = new core.List<api.Operation>();
o.add(buildOperation());
o.add(buildOperation());
return o;
}
-checkUnnamed3590(core.List<api.Operation> o) {
+checkUnnamed3586(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 = buildUnnamed3590();
+ o.operations = buildUnnamed3586();
}
buildCounterListOperationsResponse--;
return o;
@@ -1048,19 +1048,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
buildCounterListOperationsResponse++;
if (buildCounterListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3590(o.operations);
+ checkUnnamed3586(o.operations);
}
buildCounterListOperationsResponse--;
}
-buildUnnamed3591() {
+buildUnnamed3587() {
var o = new core.List<api.Service>();
o.add(buildService());
o.add(buildService());
return o;
}
-checkUnnamed3591(core.List<api.Service> o) {
+checkUnnamed3587(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 = buildUnnamed3591();
+ o.services = buildUnnamed3587();
}
buildCounterListServicesResponse--;
return o;
@@ -1082,19 +1082,19 @@ checkListServicesResponse(api.ListServicesResponse o) {
buildCounterListServicesResponse++;
if (buildCounterListServicesResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3591(o.services);
+ checkUnnamed3587(o.services);
}
buildCounterListServicesResponse--;
}
-buildUnnamed3592() {
+buildUnnamed3588() {
var o = new core.List<api.Version>();
o.add(buildVersion());
o.add(buildVersion());
return o;
}
-checkUnnamed3592(core.List<api.Version> o) {
+checkUnnamed3588(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 = buildUnnamed3592();
+ o.versions = buildUnnamed3588();
}
buildCounterListVersionsResponse--;
return o;
@@ -1116,7 +1116,7 @@ checkListVersionsResponse(api.ListVersionsResponse o) {
buildCounterListVersionsResponse++;
if (buildCounterListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3592(o.versions);
+ checkUnnamed3588(o.versions);
}
buildCounterListVersionsResponse--;
}
@@ -1152,27 +1152,27 @@ checkLivenessCheck(api.LivenessCheck o) {
buildCounterLivenessCheck--;
}
-buildUnnamed3593() {
+buildUnnamed3589() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3593(core.Map<core.String, core.String> o) {
+checkUnnamed3589(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'));
}
-buildUnnamed3594() {
+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;
}
-checkUnnamed3594(core.Map<core.String, core.Object> o) {
+checkUnnamed3590(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 = buildUnnamed3593();
+ o.labels = buildUnnamed3589();
o.locationId = "foo";
- o.metadata = buildUnnamed3594();
+ o.metadata = buildUnnamed3590();
o.name = "foo";
}
buildCounterLocation--;
@@ -1195,9 +1195,9 @@ buildLocation() {
checkLocation(api.Location o) {
buildCounterLocation++;
if (buildCounterLocation < 3) {
- checkUnnamed3593(o.labels);
+ checkUnnamed3589(o.labels);
unittest.expect(o.locationId, unittest.equals('foo'));
- checkUnnamed3594(o.metadata);
+ checkUnnamed3590(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterLocation--;
@@ -1243,14 +1243,14 @@ checkManualScaling(api.ManualScaling o) {
buildCounterManualScaling--;
}
-buildUnnamed3595() {
+buildUnnamed3591() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3595(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'));
@@ -1261,7 +1261,7 @@ buildNetwork() {
var o = new api.Network();
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- o.forwardedPorts = buildUnnamed3595();
+ o.forwardedPorts = buildUnnamed3591();
o.instanceTag = "foo";
o.name = "foo";
o.subnetworkName = "foo";
@@ -1273,7 +1273,7 @@ buildNetwork() {
checkNetwork(api.Network o) {
buildCounterNetwork++;
if (buildCounterNetwork < 3) {
- checkUnnamed3595(o.forwardedPorts);
+ checkUnnamed3591(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--;
}
-buildUnnamed3596() {
+buildUnnamed3592() {
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;
}
-checkUnnamed3596(core.Map<core.String, core.Object> o) {
+checkUnnamed3592(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'));
}
-buildUnnamed3597() {
+buildUnnamed3593() {
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;
}
-checkUnnamed3597(core.Map<core.String, core.Object> o) {
+checkUnnamed3593(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 = buildUnnamed3596();
+ o.metadata = buildUnnamed3592();
o.name = "foo";
- o.response = buildUnnamed3597();
+ o.response = buildUnnamed3593();
}
buildCounterOperation--;
return o;
@@ -1352,9 +1352,9 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed3596(o.metadata);
+ checkUnnamed3592(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3597(o.response);
+ checkUnnamed3593(o.response);
}
buildCounterOperation--;
}
@@ -1415,14 +1415,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) {
buildCounterOperationMetadataExperimental--;
}
-buildUnnamed3598() {
+buildUnnamed3594() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3598(core.List<core.String> o) {
+checkUnnamed3594(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 = buildUnnamed3598();
+ o.warning = buildUnnamed3594();
}
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'));
- checkUnnamed3598(o.warning);
+ checkUnnamed3594(o.warning);
}
buildCounterOperationMetadataV1--;
}
-buildUnnamed3599() {
+buildUnnamed3595() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3599(core.List<core.String> o) {
+checkUnnamed3595(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 = buildUnnamed3599();
+ o.warning = buildUnnamed3595();
}
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'));
- checkUnnamed3599(o.warning);
+ checkUnnamed3595(o.warning);
}
buildCounterOperationMetadataV1Alpha--;
}
-buildUnnamed3600() {
+buildUnnamed3596() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3600(core.List<core.String> o) {
+checkUnnamed3596(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 = buildUnnamed3600();
+ o.warning = buildUnnamed3596();
}
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'));
- checkUnnamed3600(o.warning);
+ checkUnnamed3596(o.warning);
}
buildCounterOperationMetadataV1Beta--;
}
@@ -1666,14 +1666,14 @@ checkResourceRecord(api.ResourceRecord o) {
buildCounterResourceRecord--;
}
-buildUnnamed3601() {
+buildUnnamed3597() {
var o = new core.List<api.Volume>();
o.add(buildVolume());
o.add(buildVolume());
return o;
}
-checkUnnamed3601(core.List<api.Volume> o) {
+checkUnnamed3597(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 = buildUnnamed3601();
+ o.volumes = buildUnnamed3597();
}
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));
- checkUnnamed3601(o.volumes);
+ checkUnnamed3597(o.volumes);
}
buildCounterResources--;
}
@@ -1790,14 +1790,14 @@ checkStandardSchedulerSettings(api.StandardSchedulerSettings o) {
buildCounterStandardSchedulerSettings--;
}
-buildUnnamed3602() {
+buildUnnamed3598() {
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) {
+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'));
@@ -1810,7 +1810,7 @@ buildStaticFilesHandler() {
if (buildCounterStaticFilesHandler < 3) {
o.applicationReadable = true;
o.expiration = "foo";
- o.httpHeaders = buildUnnamed3602();
+ o.httpHeaders = buildUnnamed3598();
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'));
- checkUnnamed3602(o.httpHeaders);
+ checkUnnamed3598(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--;
}
-buildUnnamed3603() {
+buildUnnamed3599() {
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;
}
-checkUnnamed3603(core.Map<core.String, core.Object> o) {
+checkUnnamed3599(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'));
}
-buildUnnamed3604() {
+buildUnnamed3600() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3603());
- o.add(buildUnnamed3603());
+ o.add(buildUnnamed3599());
+ o.add(buildUnnamed3599());
return o;
}
-checkUnnamed3604(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed3600(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3603(o[0]);
- checkUnnamed3603(o[1]);
+ checkUnnamed3599(o[0]);
+ checkUnnamed3599(o[1]);
}
core.int buildCounterStatus = 0;
@@ -1866,7 +1866,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3604();
+ o.details = buildUnnamed3600();
o.message = "foo";
}
buildCounterStatus--;
@@ -1877,20 +1877,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3604(o.details);
+ checkUnnamed3600(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed3605() {
+buildUnnamed3601() {
var o = new core.Map<core.String, core.double>();
o["x"] = 42.0;
o["y"] = 42.0;
return o;
}
-checkUnnamed3605(core.Map<core.String, core.double> o) {
+checkUnnamed3601(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 = buildUnnamed3605();
+ o.allocations = buildUnnamed3601();
o.shardBy = "foo";
}
buildCounterTrafficSplit--;
@@ -1911,7 +1911,7 @@ buildTrafficSplit() {
checkTrafficSplit(api.TrafficSplit o) {
buildCounterTrafficSplit++;
if (buildCounterTrafficSplit < 3) {
- checkUnnamed3605(o.allocations);
+ checkUnnamed3601(o.allocations);
unittest.expect(o.shardBy, unittest.equals('foo'));
}
buildCounterTrafficSplit--;
@@ -1973,79 +1973,79 @@ checkUrlMap(api.UrlMap o) {
buildCounterUrlMap--;
}
-buildUnnamed3606() {
+buildUnnamed3602() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3606(core.Map<core.String, core.String> o) {
+checkUnnamed3602(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'));
}
-buildUnnamed3607() {
+buildUnnamed3603() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3607(core.Map<core.String, core.String> o) {
+checkUnnamed3603(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'));
}
-buildUnnamed3608() {
+buildUnnamed3604() {
var o = new core.List<api.ErrorHandler>();
o.add(buildErrorHandler());
o.add(buildErrorHandler());
return o;
}
-checkUnnamed3608(core.List<api.ErrorHandler> o) {
+checkUnnamed3604(core.List<api.ErrorHandler> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorHandler(o[0]);
checkErrorHandler(o[1]);
}
-buildUnnamed3609() {
+buildUnnamed3605() {
var o = new core.List<api.UrlMap>();
o.add(buildUrlMap());
o.add(buildUrlMap());
return o;
}
-checkUnnamed3609(core.List<api.UrlMap> o) {
+checkUnnamed3605(core.List<api.UrlMap> o) {
unittest.expect(o, unittest.hasLength(2));
checkUrlMap(o[0]);
checkUrlMap(o[1]);
}
-buildUnnamed3610() {
+buildUnnamed3606() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3610(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'));
}
-buildUnnamed3611() {
+buildUnnamed3607() {
var o = new core.List<api.Library>();
o.add(buildLibrary());
o.add(buildLibrary());
return o;
}
-checkUnnamed3611(core.List<api.Library> o) {
+checkUnnamed3607(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 = buildUnnamed3606();
+ o.betaSettings = buildUnnamed3602();
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 = buildUnnamed3607();
- o.errorHandlers = buildUnnamed3608();
- o.handlers = buildUnnamed3609();
+ o.envVariables = buildUnnamed3603();
+ o.errorHandlers = buildUnnamed3604();
+ o.handlers = buildUnnamed3605();
o.healthCheck = buildHealthCheck();
o.id = "foo";
- o.inboundServices = buildUnnamed3610();
+ o.inboundServices = buildUnnamed3606();
o.instanceClass = "foo";
- o.libraries = buildUnnamed3611();
+ o.libraries = buildUnnamed3607();
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);
- checkUnnamed3606(o.betaSettings);
+ checkUnnamed3602(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'));
- checkUnnamed3607(o.envVariables);
- checkUnnamed3608(o.errorHandlers);
- checkUnnamed3609(o.handlers);
+ checkUnnamed3603(o.envVariables);
+ checkUnnamed3604(o.errorHandlers);
+ checkUnnamed3605(o.handlers);
checkHealthCheck(o.healthCheck);
unittest.expect(o.id, unittest.equals('foo'));
- checkUnnamed3610(o.inboundServices);
+ checkUnnamed3606(o.inboundServices);
unittest.expect(o.instanceClass, unittest.equals('foo'));
- checkUnnamed3611(o.libraries);
+ checkUnnamed3607(o.libraries);
checkLivenessCheck(o.livenessCheck);
checkManualScaling(o.manualScaling);
unittest.expect(o.name, unittest.equals('foo'));
@@ -3151,8 +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;
@@ -3186,8 +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 = {
@@ -3196,7 +3198,7 @@ main() {
var resp = convert.JSON.encode(buildListAuthorizedCertificatesResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
+ res.list(arg_appsId, pageSize: arg_pageSize, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
checkListAuthorizedCertificatesResponse(response);
})));
});
@@ -4012,9 +4014,9 @@ main() {
var mock = new HttpServerMock();
api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
var arg_appsId = "foo";
- var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
+ var arg_pageToken = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
@@ -4048,9 +4050,9 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
var h = {
@@ -4059,7 +4061,7 @@ main() {
var resp = convert.JSON.encode(buildListLocationsResponse());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
+ res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListLocationsResponse response) {
checkListLocationsResponse(response);
})));
});
@@ -4128,9 +4130,9 @@ main() {
var mock = new HttpServerMock();
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
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;
@@ -4164,9 +4166,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 = {
@@ -4175,7 +4177,7 @@ main() {
var resp = convert.JSON.encode(buildListOperationsResponse());
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.ListOperationsResponse response) {
+ res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
checkListOperationsResponse(response);
})));
});
@@ -4356,8 +4358,8 @@ main() {
var arg_request = buildService();
var arg_appsId = "foo";
var arg_servicesId = "foo";
- var arg_migrateTraffic = true;
var arg_updateMask = "foo";
+ var arg_migrateTraffic = true;
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = new api.Service.fromJson(json);
checkService(obj);
@@ -4397,8 +4399,8 @@ main() {
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_migrateTraffic"));
unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_migrateTraffic"));
var h = {
@@ -4407,7 +4409,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, migrateTraffic: arg_migrateTraffic, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Operation response) {
+ res.patch(arg_request, arg_appsId, arg_servicesId, updateMask: arg_updateMask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync1(((api.Operation response) {
checkOperation(response);
})));
});
@@ -4613,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;
@@ -4656,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 = {
@@ -4667,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, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListVersionsResponse response) {
+ res.list(arg_appsId, arg_servicesId, pageSize: arg_pageSize, view: arg_view, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListVersionsResponse response) {
checkListVersionsResponse(response);
})));
});

Powered by Google App Engine
This is Rietveld 408576698