Index: generated/googleapis_beta/test/appengine/v1beta4_test.dart |
diff --git a/generated/googleapis_beta/test/appengine/v1beta4_test.dart b/generated/googleapis_beta/test/appengine/v1beta4_test.dart |
index cb457b075ac27c81abfb9ca4322e631b8d2c8915..c44b2c88d942a73588e94fb93425db6bb8d7f606 100644 |
--- a/generated/googleapis_beta/test/appengine/v1beta4_test.dart |
+++ b/generated/googleapis_beta/test/appengine/v1beta4_test.dart |
@@ -97,14 +97,14 @@ checkApiEndpointHandler(api.ApiEndpointHandler o) { |
buildCounterApiEndpointHandler--; |
} |
-buildUnnamed3524() { |
+buildUnnamed3507() { |
var o = new core.List<api.UrlDispatchRule>(); |
o.add(buildUrlDispatchRule()); |
o.add(buildUrlDispatchRule()); |
return o; |
} |
-checkUnnamed3524(core.List<api.UrlDispatchRule> o) { |
+checkUnnamed3507(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 = buildUnnamed3524(); |
+ o.dispatchRules = buildUnnamed3507(); |
o.iap = buildIdentityAwareProxy(); |
o.id = "foo"; |
o.location = "foo"; |
@@ -138,7 +138,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')); |
- checkUnnamed3524(o.dispatchRules); |
+ checkUnnamed3507(o.dispatchRules); |
checkIdentityAwareProxy(o.iap); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.location, unittest.equals('foo')); |
@@ -268,27 +268,27 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) { |
buildCounterDebugInstanceRequest--; |
} |
-buildUnnamed3525() { |
+buildUnnamed3508() { |
var o = new core.Map<core.String, api.FileInfo>(); |
o["x"] = buildFileInfo(); |
o["y"] = buildFileInfo(); |
return o; |
} |
-checkUnnamed3525(core.Map<core.String, api.FileInfo> o) { |
+checkUnnamed3508(core.Map<core.String, api.FileInfo> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFileInfo(o["x"]); |
checkFileInfo(o["y"]); |
} |
-buildUnnamed3526() { |
+buildUnnamed3509() { |
var o = new core.List<api.SourceReference>(); |
o.add(buildSourceReference()); |
o.add(buildSourceReference()); |
return o; |
} |
-checkUnnamed3526(core.List<api.SourceReference> o) { |
+checkUnnamed3509(core.List<api.SourceReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSourceReference(o[0]); |
checkSourceReference(o[1]); |
@@ -300,8 +300,8 @@ buildDeployment() { |
buildCounterDeployment++; |
if (buildCounterDeployment < 3) { |
o.container = buildContainerInfo(); |
- o.files = buildUnnamed3525(); |
- o.sourceReferences = buildUnnamed3526(); |
+ o.files = buildUnnamed3508(); |
+ o.sourceReferences = buildUnnamed3509(); |
} |
buildCounterDeployment--; |
return o; |
@@ -311,8 +311,8 @@ checkDeployment(api.Deployment o) { |
buildCounterDeployment++; |
if (buildCounterDeployment < 3) { |
checkContainerInfo(o.container); |
- checkUnnamed3525(o.files); |
- checkUnnamed3526(o.sourceReferences); |
+ checkUnnamed3508(o.files); |
+ checkUnnamed3509(o.sourceReferences); |
} |
buildCounterDeployment--; |
} |
@@ -514,14 +514,14 @@ checkLibrary(api.Library o) { |
buildCounterLibrary--; |
} |
-buildUnnamed3527() { |
+buildUnnamed3510() { |
var o = new core.List<api.Instance>(); |
o.add(buildInstance()); |
o.add(buildInstance()); |
return o; |
} |
-checkUnnamed3527(core.List<api.Instance> o) { |
+checkUnnamed3510(core.List<api.Instance> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkInstance(o[0]); |
checkInstance(o[1]); |
@@ -532,7 +532,7 @@ buildListInstancesResponse() { |
var o = new api.ListInstancesResponse(); |
buildCounterListInstancesResponse++; |
if (buildCounterListInstancesResponse < 3) { |
- o.instances = buildUnnamed3527(); |
+ o.instances = buildUnnamed3510(); |
o.nextPageToken = "foo"; |
} |
buildCounterListInstancesResponse--; |
@@ -542,20 +542,20 @@ buildListInstancesResponse() { |
checkListInstancesResponse(api.ListInstancesResponse o) { |
buildCounterListInstancesResponse++; |
if (buildCounterListInstancesResponse < 3) { |
- checkUnnamed3527(o.instances); |
+ checkUnnamed3510(o.instances); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListInstancesResponse--; |
} |
-buildUnnamed3528() { |
+buildUnnamed3511() { |
var o = new core.List<api.Location>(); |
o.add(buildLocation()); |
o.add(buildLocation()); |
return o; |
} |
-checkUnnamed3528(core.List<api.Location> o) { |
+checkUnnamed3511(core.List<api.Location> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLocation(o[0]); |
checkLocation(o[1]); |
@@ -566,7 +566,7 @@ buildListLocationsResponse() { |
var o = new api.ListLocationsResponse(); |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- o.locations = buildUnnamed3528(); |
+ o.locations = buildUnnamed3511(); |
o.nextPageToken = "foo"; |
} |
buildCounterListLocationsResponse--; |
@@ -576,20 +576,20 @@ buildListLocationsResponse() { |
checkListLocationsResponse(api.ListLocationsResponse o) { |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- checkUnnamed3528(o.locations); |
+ checkUnnamed3511(o.locations); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListLocationsResponse--; |
} |
-buildUnnamed3529() { |
+buildUnnamed3512() { |
var o = new core.List<api.Module>(); |
o.add(buildModule()); |
o.add(buildModule()); |
return o; |
} |
-checkUnnamed3529(core.List<api.Module> o) { |
+checkUnnamed3512(core.List<api.Module> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkModule(o[0]); |
checkModule(o[1]); |
@@ -600,7 +600,7 @@ buildListModulesResponse() { |
var o = new api.ListModulesResponse(); |
buildCounterListModulesResponse++; |
if (buildCounterListModulesResponse < 3) { |
- o.modules = buildUnnamed3529(); |
+ o.modules = buildUnnamed3512(); |
o.nextPageToken = "foo"; |
} |
buildCounterListModulesResponse--; |
@@ -610,20 +610,20 @@ buildListModulesResponse() { |
checkListModulesResponse(api.ListModulesResponse o) { |
buildCounterListModulesResponse++; |
if (buildCounterListModulesResponse < 3) { |
- checkUnnamed3529(o.modules); |
+ checkUnnamed3512(o.modules); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListModulesResponse--; |
} |
-buildUnnamed3530() { |
+buildUnnamed3513() { |
var o = new core.List<api.Operation>(); |
o.add(buildOperation()); |
o.add(buildOperation()); |
return o; |
} |
-checkUnnamed3530(core.List<api.Operation> o) { |
+checkUnnamed3513(core.List<api.Operation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOperation(o[0]); |
checkOperation(o[1]); |
@@ -635,7 +635,7 @@ buildListOperationsResponse() { |
buildCounterListOperationsResponse++; |
if (buildCounterListOperationsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.operations = buildUnnamed3530(); |
+ o.operations = buildUnnamed3513(); |
} |
buildCounterListOperationsResponse--; |
return o; |
@@ -645,19 +645,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) { |
buildCounterListOperationsResponse++; |
if (buildCounterListOperationsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3530(o.operations); |
+ checkUnnamed3513(o.operations); |
} |
buildCounterListOperationsResponse--; |
} |
-buildUnnamed3531() { |
+buildUnnamed3514() { |
var o = new core.List<api.Version>(); |
o.add(buildVersion()); |
o.add(buildVersion()); |
return o; |
} |
-checkUnnamed3531(core.List<api.Version> o) { |
+checkUnnamed3514(core.List<api.Version> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVersion(o[0]); |
checkVersion(o[1]); |
@@ -669,7 +669,7 @@ buildListVersionsResponse() { |
buildCounterListVersionsResponse++; |
if (buildCounterListVersionsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.versions = buildUnnamed3531(); |
+ o.versions = buildUnnamed3514(); |
} |
buildCounterListVersionsResponse--; |
return o; |
@@ -679,32 +679,32 @@ checkListVersionsResponse(api.ListVersionsResponse o) { |
buildCounterListVersionsResponse++; |
if (buildCounterListVersionsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3531(o.versions); |
+ checkUnnamed3514(o.versions); |
} |
buildCounterListVersionsResponse--; |
} |
-buildUnnamed3532() { |
+buildUnnamed3515() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3532(core.Map<core.String, core.String> o) { |
+checkUnnamed3515(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')); |
} |
-buildUnnamed3533() { |
+buildUnnamed3516() { |
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; |
} |
-checkUnnamed3533(core.Map<core.String, core.Object> o) { |
+checkUnnamed3516(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')); |
@@ -715,9 +715,9 @@ buildLocation() { |
var o = new api.Location(); |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- o.labels = buildUnnamed3532(); |
+ o.labels = buildUnnamed3515(); |
o.locationId = "foo"; |
- o.metadata = buildUnnamed3533(); |
+ o.metadata = buildUnnamed3516(); |
o.name = "foo"; |
} |
buildCounterLocation--; |
@@ -727,9 +727,9 @@ buildLocation() { |
checkLocation(api.Location o) { |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- checkUnnamed3532(o.labels); |
+ checkUnnamed3515(o.labels); |
unittest.expect(o.locationId, unittest.equals('foo')); |
- checkUnnamed3533(o.metadata); |
+ checkUnnamed3516(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
buildCounterLocation--; |
@@ -798,14 +798,14 @@ checkModule(api.Module o) { |
buildCounterModule--; |
} |
-buildUnnamed3534() { |
+buildUnnamed3517() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3534(core.List<core.String> o) { |
+checkUnnamed3517(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')); |
@@ -816,7 +816,7 @@ buildNetwork() { |
var o = new api.Network(); |
buildCounterNetwork++; |
if (buildCounterNetwork < 3) { |
- o.forwardedPorts = buildUnnamed3534(); |
+ o.forwardedPorts = buildUnnamed3517(); |
o.instanceTag = "foo"; |
o.name = "foo"; |
} |
@@ -827,7 +827,7 @@ buildNetwork() { |
checkNetwork(api.Network o) { |
buildCounterNetwork++; |
if (buildCounterNetwork < 3) { |
- checkUnnamed3534(o.forwardedPorts); |
+ checkUnnamed3517(o.forwardedPorts); |
unittest.expect(o.instanceTag, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
@@ -859,27 +859,27 @@ checkNetworkUtilization(api.NetworkUtilization o) { |
buildCounterNetworkUtilization--; |
} |
-buildUnnamed3535() { |
+buildUnnamed3518() { |
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; |
} |
-checkUnnamed3535(core.Map<core.String, core.Object> o) { |
+checkUnnamed3518(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')); |
} |
-buildUnnamed3536() { |
+buildUnnamed3519() { |
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; |
} |
-checkUnnamed3536(core.Map<core.String, core.Object> o) { |
+checkUnnamed3519(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')); |
@@ -892,9 +892,9 @@ buildOperation() { |
if (buildCounterOperation < 3) { |
o.done = true; |
o.error = buildStatus(); |
- o.metadata = buildUnnamed3535(); |
+ o.metadata = buildUnnamed3518(); |
o.name = "foo"; |
- o.response = buildUnnamed3536(); |
+ o.response = buildUnnamed3519(); |
} |
buildCounterOperation--; |
return o; |
@@ -905,9 +905,9 @@ checkOperation(api.Operation o) { |
if (buildCounterOperation < 3) { |
unittest.expect(o.done, unittest.isTrue); |
checkStatus(o.error); |
- checkUnnamed3535(o.metadata); |
+ checkUnnamed3518(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed3536(o.response); |
+ checkUnnamed3519(o.response); |
} |
buildCounterOperation--; |
} |
@@ -968,14 +968,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) { |
buildCounterOperationMetadataExperimental--; |
} |
-buildUnnamed3537() { |
+buildUnnamed3520() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3537(core.List<core.String> o) { |
+checkUnnamed3520(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')); |
@@ -992,7 +992,7 @@ buildOperationMetadataV1() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed3537(); |
+ o.warning = buildUnnamed3520(); |
} |
buildCounterOperationMetadataV1--; |
return o; |
@@ -1007,19 +1007,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')); |
- checkUnnamed3537(o.warning); |
+ checkUnnamed3520(o.warning); |
} |
buildCounterOperationMetadataV1--; |
} |
-buildUnnamed3538() { |
+buildUnnamed3521() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3538(core.List<core.String> o) { |
+checkUnnamed3521(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')); |
@@ -1036,7 +1036,7 @@ buildOperationMetadataV1Beta() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed3538(); |
+ o.warning = buildUnnamed3521(); |
} |
buildCounterOperationMetadataV1Beta--; |
return o; |
@@ -1051,7 +1051,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')); |
- checkUnnamed3538(o.warning); |
+ checkUnnamed3521(o.warning); |
} |
buildCounterOperationMetadataV1Beta--; |
} |
@@ -1104,14 +1104,14 @@ checkRequestUtilization(api.RequestUtilization o) { |
buildCounterRequestUtilization--; |
} |
-buildUnnamed3539() { |
+buildUnnamed3522() { |
var o = new core.List<api.Volume>(); |
o.add(buildVolume()); |
o.add(buildVolume()); |
return o; |
} |
-checkUnnamed3539(core.List<api.Volume> o) { |
+checkUnnamed3522(core.List<api.Volume> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVolume(o[0]); |
checkVolume(o[1]); |
@@ -1125,7 +1125,7 @@ buildResources() { |
o.cpu = 42.0; |
o.diskGb = 42.0; |
o.memoryGb = 42.0; |
- o.volumes = buildUnnamed3539(); |
+ o.volumes = buildUnnamed3522(); |
} |
buildCounterResources--; |
return o; |
@@ -1137,7 +1137,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)); |
- checkUnnamed3539(o.volumes); |
+ checkUnnamed3522(o.volumes); |
} |
buildCounterResources--; |
} |
@@ -1182,14 +1182,14 @@ checkSourceReference(api.SourceReference o) { |
buildCounterSourceReference--; |
} |
-buildUnnamed3540() { |
+buildUnnamed3523() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3540(core.Map<core.String, core.String> o) { |
+checkUnnamed3523(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')); |
@@ -1203,7 +1203,7 @@ buildStaticDirectoryHandler() { |
o.applicationReadable = true; |
o.directory = "foo"; |
o.expiration = "foo"; |
- o.httpHeaders = buildUnnamed3540(); |
+ o.httpHeaders = buildUnnamed3523(); |
o.mimeType = "foo"; |
o.requireMatchingFile = true; |
} |
@@ -1217,21 +1217,21 @@ checkStaticDirectoryHandler(api.StaticDirectoryHandler o) { |
unittest.expect(o.applicationReadable, unittest.isTrue); |
unittest.expect(o.directory, unittest.equals('foo')); |
unittest.expect(o.expiration, unittest.equals('foo')); |
- checkUnnamed3540(o.httpHeaders); |
+ checkUnnamed3523(o.httpHeaders); |
unittest.expect(o.mimeType, unittest.equals('foo')); |
unittest.expect(o.requireMatchingFile, unittest.isTrue); |
} |
buildCounterStaticDirectoryHandler--; |
} |
-buildUnnamed3541() { |
+buildUnnamed3524() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3541(core.Map<core.String, core.String> o) { |
+checkUnnamed3524(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')); |
@@ -1244,7 +1244,7 @@ buildStaticFilesHandler() { |
if (buildCounterStaticFilesHandler < 3) { |
o.applicationReadable = true; |
o.expiration = "foo"; |
- o.httpHeaders = buildUnnamed3541(); |
+ o.httpHeaders = buildUnnamed3524(); |
o.mimeType = "foo"; |
o.path = "foo"; |
o.requireMatchingFile = true; |
@@ -1259,7 +1259,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) { |
if (buildCounterStaticFilesHandler < 3) { |
unittest.expect(o.applicationReadable, unittest.isTrue); |
unittest.expect(o.expiration, unittest.equals('foo')); |
- checkUnnamed3541(o.httpHeaders); |
+ checkUnnamed3524(o.httpHeaders); |
unittest.expect(o.mimeType, unittest.equals('foo')); |
unittest.expect(o.path, unittest.equals('foo')); |
unittest.expect(o.requireMatchingFile, unittest.isTrue); |
@@ -1268,30 +1268,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) { |
buildCounterStaticFilesHandler--; |
} |
-buildUnnamed3542() { |
+buildUnnamed3525() { |
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; |
} |
-checkUnnamed3542(core.Map<core.String, core.Object> o) { |
+checkUnnamed3525(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')); |
} |
-buildUnnamed3543() { |
+buildUnnamed3526() { |
var o = new core.List<core.Map<core.String, core.Object>>(); |
- o.add(buildUnnamed3542()); |
- o.add(buildUnnamed3542()); |
+ o.add(buildUnnamed3525()); |
+ o.add(buildUnnamed3525()); |
return o; |
} |
-checkUnnamed3543(core.List<core.Map<core.String, core.Object>> o) { |
+checkUnnamed3526(core.List<core.Map<core.String, core.Object>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed3542(o[0]); |
- checkUnnamed3542(o[1]); |
+ checkUnnamed3525(o[0]); |
+ checkUnnamed3525(o[1]); |
} |
core.int buildCounterStatus = 0; |
@@ -1300,7 +1300,7 @@ buildStatus() { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
o.code = 42; |
- o.details = buildUnnamed3543(); |
+ o.details = buildUnnamed3526(); |
o.message = "foo"; |
} |
buildCounterStatus--; |
@@ -1311,20 +1311,20 @@ checkStatus(api.Status o) { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
unittest.expect(o.code, unittest.equals(42)); |
- checkUnnamed3543(o.details); |
+ checkUnnamed3526(o.details); |
unittest.expect(o.message, unittest.equals('foo')); |
} |
buildCounterStatus--; |
} |
-buildUnnamed3544() { |
+buildUnnamed3527() { |
var o = new core.Map<core.String, core.double>(); |
o["x"] = 42.0; |
o["y"] = 42.0; |
return o; |
} |
-checkUnnamed3544(core.Map<core.String, core.double> o) { |
+checkUnnamed3527(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)); |
@@ -1335,7 +1335,7 @@ buildTrafficSplit() { |
var o = new api.TrafficSplit(); |
buildCounterTrafficSplit++; |
if (buildCounterTrafficSplit < 3) { |
- o.allocations = buildUnnamed3544(); |
+ o.allocations = buildUnnamed3527(); |
o.shardBy = "foo"; |
} |
buildCounterTrafficSplit--; |
@@ -1345,7 +1345,7 @@ buildTrafficSplit() { |
checkTrafficSplit(api.TrafficSplit o) { |
buildCounterTrafficSplit++; |
if (buildCounterTrafficSplit < 3) { |
- checkUnnamed3544(o.allocations); |
+ checkUnnamed3527(o.allocations); |
unittest.expect(o.shardBy, unittest.equals('foo')); |
} |
buildCounterTrafficSplit--; |
@@ -1409,79 +1409,79 @@ checkUrlMap(api.UrlMap o) { |
buildCounterUrlMap--; |
} |
-buildUnnamed3545() { |
+buildUnnamed3528() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3545(core.Map<core.String, core.String> o) { |
+checkUnnamed3528(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')); |
} |
-buildUnnamed3546() { |
+buildUnnamed3529() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed3546(core.Map<core.String, core.String> o) { |
+checkUnnamed3529(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')); |
} |
-buildUnnamed3547() { |
+buildUnnamed3530() { |
var o = new core.List<api.ErrorHandler>(); |
o.add(buildErrorHandler()); |
o.add(buildErrorHandler()); |
return o; |
} |
-checkUnnamed3547(core.List<api.ErrorHandler> o) { |
+checkUnnamed3530(core.List<api.ErrorHandler> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkErrorHandler(o[0]); |
checkErrorHandler(o[1]); |
} |
-buildUnnamed3548() { |
+buildUnnamed3531() { |
var o = new core.List<api.UrlMap>(); |
o.add(buildUrlMap()); |
o.add(buildUrlMap()); |
return o; |
} |
-checkUnnamed3548(core.List<api.UrlMap> o) { |
+checkUnnamed3531(core.List<api.UrlMap> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUrlMap(o[0]); |
checkUrlMap(o[1]); |
} |
-buildUnnamed3549() { |
+buildUnnamed3532() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3549(core.List<core.String> o) { |
+checkUnnamed3532(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')); |
} |
-buildUnnamed3550() { |
+buildUnnamed3533() { |
var o = new core.List<api.Library>(); |
o.add(buildLibrary()); |
o.add(buildLibrary()); |
return o; |
} |
-checkUnnamed3550(core.List<api.Library> o) { |
+checkUnnamed3533(core.List<api.Library> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLibrary(o[0]); |
checkLibrary(o[1]); |
@@ -1495,20 +1495,20 @@ buildVersion() { |
o.apiConfig = buildApiConfigHandler(); |
o.automaticScaling = buildAutomaticScaling(); |
o.basicScaling = buildBasicScaling(); |
- o.betaSettings = buildUnnamed3545(); |
+ o.betaSettings = buildUnnamed3528(); |
o.creationTime = "foo"; |
o.defaultExpiration = "foo"; |
o.deployer = "foo"; |
o.deployment = buildDeployment(); |
o.env = "foo"; |
- o.envVariables = buildUnnamed3546(); |
- o.errorHandlers = buildUnnamed3547(); |
- o.handlers = buildUnnamed3548(); |
+ o.envVariables = buildUnnamed3529(); |
+ o.errorHandlers = buildUnnamed3530(); |
+ o.handlers = buildUnnamed3531(); |
o.healthCheck = buildHealthCheck(); |
o.id = "foo"; |
- o.inboundServices = buildUnnamed3549(); |
+ o.inboundServices = buildUnnamed3532(); |
o.instanceClass = "foo"; |
- o.libraries = buildUnnamed3550(); |
+ o.libraries = buildUnnamed3533(); |
o.manualScaling = buildManualScaling(); |
o.name = "foo"; |
o.network = buildNetwork(); |
@@ -1529,20 +1529,20 @@ checkVersion(api.Version o) { |
checkApiConfigHandler(o.apiConfig); |
checkAutomaticScaling(o.automaticScaling); |
checkBasicScaling(o.basicScaling); |
- checkUnnamed3545(o.betaSettings); |
+ checkUnnamed3528(o.betaSettings); |
unittest.expect(o.creationTime, unittest.equals('foo')); |
unittest.expect(o.defaultExpiration, unittest.equals('foo')); |
unittest.expect(o.deployer, unittest.equals('foo')); |
checkDeployment(o.deployment); |
unittest.expect(o.env, unittest.equals('foo')); |
- checkUnnamed3546(o.envVariables); |
- checkUnnamed3547(o.errorHandlers); |
- checkUnnamed3548(o.handlers); |
+ checkUnnamed3529(o.envVariables); |
+ checkUnnamed3530(o.errorHandlers); |
+ checkUnnamed3531(o.handlers); |
checkHealthCheck(o.healthCheck); |
unittest.expect(o.id, unittest.equals('foo')); |
- checkUnnamed3549(o.inboundServices); |
+ checkUnnamed3532(o.inboundServices); |
unittest.expect(o.instanceClass, unittest.equals('foo')); |
- checkUnnamed3550(o.libraries); |
+ checkUnnamed3533(o.libraries); |
checkManualScaling(o.manualScaling); |
unittest.expect(o.name, unittest.equals('foo')); |
checkNetwork(o.network); |
@@ -2200,9 +2200,9 @@ 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_pageToken = "foo"; |
+ var arg_pageSize = 42; |
+ var arg_filter = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -2236,9 +2236,9 @@ 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["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 = { |
@@ -2247,7 +2247,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, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListLocationsResponse response) { |
checkListLocationsResponse(response); |
}))); |
}); |
@@ -2371,8 +2371,8 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsModulesResourceApi res = new api.AppengineApi(mock).apps.modules; |
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; |
@@ -2406,8 +2406,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 = { |
@@ -2416,7 +2416,7 @@ main() { |
var resp = convert.JSON.encode(buildListModulesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListModulesResponse response) { |
+ res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListModulesResponse response) { |
checkListModulesResponse(response); |
}))); |
}); |
@@ -2428,8 +2428,8 @@ main() { |
var arg_request = buildModule(); |
var arg_appsId = "foo"; |
var arg_modulesId = "foo"; |
- var arg_mask = "foo"; |
var arg_migrateTraffic = true; |
+ var arg_mask = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var obj = new api.Module.fromJson(json); |
checkModule(obj); |
@@ -2469,8 +2469,8 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
- unittest.expect(queryMap["mask"].first, unittest.equals(arg_mask)); |
unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_migrateTraffic")); |
+ unittest.expect(queryMap["mask"].first, unittest.equals(arg_mask)); |
var h = { |
@@ -2479,7 +2479,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_modulesId, mask: arg_mask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync(((api.Operation response) { |
+ res.patch(arg_request, arg_appsId, arg_modulesId, migrateTraffic: arg_migrateTraffic, mask: arg_mask).then(unittest.expectAsync(((api.Operation response) { |
checkOperation(response); |
}))); |
}); |
@@ -2685,9 +2685,9 @@ main() { |
api.AppsModulesVersionsResourceApi res = new api.AppengineApi(mock).apps.modules.versions; |
var arg_appsId = "foo"; |
var arg_modulesId = "foo"; |
- var arg_view = "foo"; |
- var arg_pageSize = 42; |
var arg_pageToken = "foo"; |
+ var arg_pageSize = 42; |
+ var arg_view = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -2728,9 +2728,9 @@ 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["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)); |
var h = { |
@@ -2739,7 +2739,7 @@ main() { |
var resp = convert.JSON.encode(buildListVersionsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, arg_modulesId, view: arg_view, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListVersionsResponse response) { |
+ res.list(arg_appsId, arg_modulesId, pageToken: arg_pageToken, pageSize: arg_pageSize, view: arg_view).then(unittest.expectAsync(((api.ListVersionsResponse response) { |
checkListVersionsResponse(response); |
}))); |
}); |
@@ -3045,8 +3045,8 @@ main() { |
var arg_appsId = "foo"; |
var arg_modulesId = "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; |
@@ -3094,8 +3094,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 = { |
@@ -3104,7 +3104,7 @@ main() { |
var resp = convert.JSON.encode(buildListInstancesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_appsId, arg_modulesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesResponse response) { |
+ res.list(arg_appsId, arg_modulesId, arg_versionsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListInstancesResponse response) { |
checkListInstancesResponse(response); |
}))); |
}); |
@@ -3174,8 +3174,8 @@ main() { |
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations; |
var arg_appsId = "foo"; |
var arg_filter = "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; |
@@ -3210,8 +3210,8 @@ main() { |
} |
} |
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
- 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 = { |
@@ -3220,7 +3220,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, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListOperationsResponse response) { |
checkListOperationsResponse(response); |
}))); |
}); |