Index: generated/googleapis/test/appengine/v1_test.dart |
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart |
index 038a8c890b3af832f6985004d62596ad3a126086..a5b5fe5bd8db13ede9d116c40abaa081f274aa57 100644 |
--- a/generated/googleapis/test/appengine/v1_test.dart |
+++ b/generated/googleapis/test/appengine/v1_test.dart |
@@ -97,14 +97,14 @@ checkApiEndpointHandler(api.ApiEndpointHandler o) { |
buildCounterApiEndpointHandler--; |
} |
-buildUnnamed2623() { |
+buildUnnamed2660() { |
var o = new core.List<api.UrlDispatchRule>(); |
o.add(buildUrlDispatchRule()); |
o.add(buildUrlDispatchRule()); |
return o; |
} |
-checkUnnamed2623(core.List<api.UrlDispatchRule> o) { |
+checkUnnamed2660(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 = buildUnnamed2623(); |
+ o.dispatchRules = buildUnnamed2660(); |
o.gcrDomain = "foo"; |
o.iap = buildIdentityAwareProxy(); |
o.id = "foo"; |
@@ -140,7 +140,7 @@ checkApplication(api.Application o) { |
unittest.expect(o.defaultBucket, unittest.equals('foo')); |
unittest.expect(o.defaultCookieExpiration, unittest.equals('foo')); |
unittest.expect(o.defaultHostname, unittest.equals('foo')); |
- checkUnnamed2623(o.dispatchRules); |
+ checkUnnamed2660(o.dispatchRules); |
unittest.expect(o.gcrDomain, unittest.equals('foo')); |
checkIdentityAwareProxy(o.iap); |
unittest.expect(o.id, unittest.equals('foo')); |
@@ -272,14 +272,14 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) { |
buildCounterDebugInstanceRequest--; |
} |
-buildUnnamed2624() { |
+buildUnnamed2661() { |
var o = new core.Map<core.String, api.FileInfo>(); |
o["x"] = buildFileInfo(); |
o["y"] = buildFileInfo(); |
return o; |
} |
-checkUnnamed2624(core.Map<core.String, api.FileInfo> o) { |
+checkUnnamed2661(core.Map<core.String, api.FileInfo> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFileInfo(o["x"]); |
checkFileInfo(o["y"]); |
@@ -291,7 +291,7 @@ buildDeployment() { |
buildCounterDeployment++; |
if (buildCounterDeployment < 3) { |
o.container = buildContainerInfo(); |
- o.files = buildUnnamed2624(); |
+ o.files = buildUnnamed2661(); |
o.zip = buildZipInfo(); |
} |
buildCounterDeployment--; |
@@ -302,7 +302,7 @@ checkDeployment(api.Deployment o) { |
buildCounterDeployment++; |
if (buildCounterDeployment < 3) { |
checkContainerInfo(o.container); |
- checkUnnamed2624(o.files); |
+ checkUnnamed2661(o.files); |
checkZipInfo(o.zip); |
} |
buildCounterDeployment--; |
@@ -526,14 +526,14 @@ checkLibrary(api.Library o) { |
buildCounterLibrary--; |
} |
-buildUnnamed2625() { |
+buildUnnamed2662() { |
var o = new core.List<api.Instance>(); |
o.add(buildInstance()); |
o.add(buildInstance()); |
return o; |
} |
-checkUnnamed2625(core.List<api.Instance> o) { |
+checkUnnamed2662(core.List<api.Instance> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkInstance(o[0]); |
checkInstance(o[1]); |
@@ -544,7 +544,7 @@ buildListInstancesResponse() { |
var o = new api.ListInstancesResponse(); |
buildCounterListInstancesResponse++; |
if (buildCounterListInstancesResponse < 3) { |
- o.instances = buildUnnamed2625(); |
+ o.instances = buildUnnamed2662(); |
o.nextPageToken = "foo"; |
} |
buildCounterListInstancesResponse--; |
@@ -554,20 +554,20 @@ buildListInstancesResponse() { |
checkListInstancesResponse(api.ListInstancesResponse o) { |
buildCounterListInstancesResponse++; |
if (buildCounterListInstancesResponse < 3) { |
- checkUnnamed2625(o.instances); |
+ checkUnnamed2662(o.instances); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListInstancesResponse--; |
} |
-buildUnnamed2626() { |
+buildUnnamed2663() { |
var o = new core.List<api.Location>(); |
o.add(buildLocation()); |
o.add(buildLocation()); |
return o; |
} |
-checkUnnamed2626(core.List<api.Location> o) { |
+checkUnnamed2663(core.List<api.Location> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLocation(o[0]); |
checkLocation(o[1]); |
@@ -578,7 +578,7 @@ buildListLocationsResponse() { |
var o = new api.ListLocationsResponse(); |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- o.locations = buildUnnamed2626(); |
+ o.locations = buildUnnamed2663(); |
o.nextPageToken = "foo"; |
} |
buildCounterListLocationsResponse--; |
@@ -588,20 +588,20 @@ buildListLocationsResponse() { |
checkListLocationsResponse(api.ListLocationsResponse o) { |
buildCounterListLocationsResponse++; |
if (buildCounterListLocationsResponse < 3) { |
- checkUnnamed2626(o.locations); |
+ checkUnnamed2663(o.locations); |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
} |
buildCounterListLocationsResponse--; |
} |
-buildUnnamed2627() { |
+buildUnnamed2664() { |
var o = new core.List<api.Operation>(); |
o.add(buildOperation()); |
o.add(buildOperation()); |
return o; |
} |
-checkUnnamed2627(core.List<api.Operation> o) { |
+checkUnnamed2664(core.List<api.Operation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOperation(o[0]); |
checkOperation(o[1]); |
@@ -613,7 +613,7 @@ buildListOperationsResponse() { |
buildCounterListOperationsResponse++; |
if (buildCounterListOperationsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.operations = buildUnnamed2627(); |
+ o.operations = buildUnnamed2664(); |
} |
buildCounterListOperationsResponse--; |
return o; |
@@ -623,19 +623,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) { |
buildCounterListOperationsResponse++; |
if (buildCounterListOperationsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed2627(o.operations); |
+ checkUnnamed2664(o.operations); |
} |
buildCounterListOperationsResponse--; |
} |
-buildUnnamed2628() { |
+buildUnnamed2665() { |
var o = new core.List<api.Service>(); |
o.add(buildService()); |
o.add(buildService()); |
return o; |
} |
-checkUnnamed2628(core.List<api.Service> o) { |
+checkUnnamed2665(core.List<api.Service> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkService(o[0]); |
checkService(o[1]); |
@@ -647,7 +647,7 @@ buildListServicesResponse() { |
buildCounterListServicesResponse++; |
if (buildCounterListServicesResponse < 3) { |
o.nextPageToken = "foo"; |
- o.services = buildUnnamed2628(); |
+ o.services = buildUnnamed2665(); |
} |
buildCounterListServicesResponse--; |
return o; |
@@ -657,19 +657,19 @@ checkListServicesResponse(api.ListServicesResponse o) { |
buildCounterListServicesResponse++; |
if (buildCounterListServicesResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed2628(o.services); |
+ checkUnnamed2665(o.services); |
} |
buildCounterListServicesResponse--; |
} |
-buildUnnamed2629() { |
+buildUnnamed2666() { |
var o = new core.List<api.Version>(); |
o.add(buildVersion()); |
o.add(buildVersion()); |
return o; |
} |
-checkUnnamed2629(core.List<api.Version> o) { |
+checkUnnamed2666(core.List<api.Version> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVersion(o[0]); |
checkVersion(o[1]); |
@@ -681,7 +681,7 @@ buildListVersionsResponse() { |
buildCounterListVersionsResponse++; |
if (buildCounterListVersionsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.versions = buildUnnamed2629(); |
+ o.versions = buildUnnamed2666(); |
} |
buildCounterListVersionsResponse--; |
return o; |
@@ -691,7 +691,7 @@ checkListVersionsResponse(api.ListVersionsResponse o) { |
buildCounterListVersionsResponse++; |
if (buildCounterListVersionsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed2629(o.versions); |
+ checkUnnamed2666(o.versions); |
} |
buildCounterListVersionsResponse--; |
} |
@@ -727,27 +727,27 @@ checkLivenessCheck(api.LivenessCheck o) { |
buildCounterLivenessCheck--; |
} |
-buildUnnamed2630() { |
+buildUnnamed2667() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed2630(core.Map<core.String, core.String> o) { |
+checkUnnamed2667(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')); |
} |
-buildUnnamed2631() { |
+buildUnnamed2668() { |
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; |
} |
-checkUnnamed2631(core.Map<core.String, core.Object> o) { |
+checkUnnamed2668(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')); |
@@ -758,9 +758,9 @@ buildLocation() { |
var o = new api.Location(); |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- o.labels = buildUnnamed2630(); |
+ o.labels = buildUnnamed2667(); |
o.locationId = "foo"; |
- o.metadata = buildUnnamed2631(); |
+ o.metadata = buildUnnamed2668(); |
o.name = "foo"; |
} |
buildCounterLocation--; |
@@ -770,9 +770,9 @@ buildLocation() { |
checkLocation(api.Location o) { |
buildCounterLocation++; |
if (buildCounterLocation < 3) { |
- checkUnnamed2630(o.labels); |
+ checkUnnamed2667(o.labels); |
unittest.expect(o.locationId, unittest.equals('foo')); |
- checkUnnamed2631(o.metadata); |
+ checkUnnamed2668(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
buildCounterLocation--; |
@@ -818,14 +818,14 @@ checkManualScaling(api.ManualScaling o) { |
buildCounterManualScaling--; |
} |
-buildUnnamed2632() { |
+buildUnnamed2669() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2632(core.List<core.String> o) { |
+checkUnnamed2669(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')); |
@@ -836,7 +836,7 @@ buildNetwork() { |
var o = new api.Network(); |
buildCounterNetwork++; |
if (buildCounterNetwork < 3) { |
- o.forwardedPorts = buildUnnamed2632(); |
+ o.forwardedPorts = buildUnnamed2669(); |
o.instanceTag = "foo"; |
o.name = "foo"; |
o.subnetworkName = "foo"; |
@@ -848,7 +848,7 @@ buildNetwork() { |
checkNetwork(api.Network o) { |
buildCounterNetwork++; |
if (buildCounterNetwork < 3) { |
- checkUnnamed2632(o.forwardedPorts); |
+ checkUnnamed2669(o.forwardedPorts); |
unittest.expect(o.instanceTag, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.subnetworkName, unittest.equals('foo')); |
@@ -881,27 +881,27 @@ checkNetworkUtilization(api.NetworkUtilization o) { |
buildCounterNetworkUtilization--; |
} |
-buildUnnamed2633() { |
+buildUnnamed2670() { |
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; |
} |
-checkUnnamed2633(core.Map<core.String, core.Object> o) { |
+checkUnnamed2670(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')); |
} |
-buildUnnamed2634() { |
+buildUnnamed2671() { |
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; |
} |
-checkUnnamed2634(core.Map<core.String, core.Object> o) { |
+checkUnnamed2671(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')); |
@@ -914,9 +914,9 @@ buildOperation() { |
if (buildCounterOperation < 3) { |
o.done = true; |
o.error = buildStatus(); |
- o.metadata = buildUnnamed2633(); |
+ o.metadata = buildUnnamed2670(); |
o.name = "foo"; |
- o.response = buildUnnamed2634(); |
+ o.response = buildUnnamed2671(); |
} |
buildCounterOperation--; |
return o; |
@@ -927,9 +927,9 @@ checkOperation(api.Operation o) { |
if (buildCounterOperation < 3) { |
unittest.expect(o.done, unittest.isTrue); |
checkStatus(o.error); |
- checkUnnamed2633(o.metadata); |
+ checkUnnamed2670(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed2634(o.response); |
+ checkUnnamed2671(o.response); |
} |
buildCounterOperation--; |
} |
@@ -990,14 +990,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) { |
buildCounterOperationMetadataExperimental--; |
} |
-buildUnnamed2635() { |
+buildUnnamed2672() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2635(core.List<core.String> o) { |
+checkUnnamed2672(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')); |
@@ -1014,7 +1014,7 @@ buildOperationMetadataV1() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed2635(); |
+ o.warning = buildUnnamed2672(); |
} |
buildCounterOperationMetadataV1--; |
return o; |
@@ -1029,19 +1029,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')); |
- checkUnnamed2635(o.warning); |
+ checkUnnamed2672(o.warning); |
} |
buildCounterOperationMetadataV1--; |
} |
-buildUnnamed2636() { |
+buildUnnamed2673() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2636(core.List<core.String> o) { |
+checkUnnamed2673(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')); |
@@ -1058,7 +1058,7 @@ buildOperationMetadataV1Alpha() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed2636(); |
+ o.warning = buildUnnamed2673(); |
} |
buildCounterOperationMetadataV1Alpha--; |
return o; |
@@ -1073,19 +1073,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')); |
- checkUnnamed2636(o.warning); |
+ checkUnnamed2673(o.warning); |
} |
buildCounterOperationMetadataV1Alpha--; |
} |
-buildUnnamed2637() { |
+buildUnnamed2674() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2637(core.List<core.String> o) { |
+checkUnnamed2674(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')); |
@@ -1102,7 +1102,7 @@ buildOperationMetadataV1Beta() { |
o.method = "foo"; |
o.target = "foo"; |
o.user = "foo"; |
- o.warning = buildUnnamed2637(); |
+ o.warning = buildUnnamed2674(); |
} |
buildCounterOperationMetadataV1Beta--; |
return o; |
@@ -1117,7 +1117,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')); |
- checkUnnamed2637(o.warning); |
+ checkUnnamed2674(o.warning); |
} |
buildCounterOperationMetadataV1Beta--; |
} |
@@ -1154,6 +1154,7 @@ buildReadinessCheck() { |
var o = new api.ReadinessCheck(); |
buildCounterReadinessCheck++; |
if (buildCounterReadinessCheck < 3) { |
+ o.appStartTimeout = "foo"; |
o.checkInterval = "foo"; |
o.failureThreshold = 42; |
o.host = "foo"; |
@@ -1168,6 +1169,7 @@ buildReadinessCheck() { |
checkReadinessCheck(api.ReadinessCheck o) { |
buildCounterReadinessCheck++; |
if (buildCounterReadinessCheck < 3) { |
+ unittest.expect(o.appStartTimeout, unittest.equals('foo')); |
unittest.expect(o.checkInterval, unittest.equals('foo')); |
unittest.expect(o.failureThreshold, unittest.equals(42)); |
unittest.expect(o.host, unittest.equals('foo')); |
@@ -1216,14 +1218,14 @@ checkRequestUtilization(api.RequestUtilization o) { |
buildCounterRequestUtilization--; |
} |
-buildUnnamed2638() { |
+buildUnnamed2675() { |
var o = new core.List<api.Volume>(); |
o.add(buildVolume()); |
o.add(buildVolume()); |
return o; |
} |
-checkUnnamed2638(core.List<api.Volume> o) { |
+checkUnnamed2675(core.List<api.Volume> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVolume(o[0]); |
checkVolume(o[1]); |
@@ -1237,7 +1239,7 @@ buildResources() { |
o.cpu = 42.0; |
o.diskGb = 42.0; |
o.memoryGb = 42.0; |
- o.volumes = buildUnnamed2638(); |
+ o.volumes = buildUnnamed2675(); |
} |
buildCounterResources--; |
return o; |
@@ -1249,7 +1251,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)); |
- checkUnnamed2638(o.volumes); |
+ checkUnnamed2675(o.volumes); |
} |
buildCounterResources--; |
} |
@@ -1296,14 +1298,14 @@ checkService(api.Service o) { |
buildCounterService--; |
} |
-buildUnnamed2639() { |
+buildUnnamed2676() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed2639(core.Map<core.String, core.String> o) { |
+checkUnnamed2676(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')); |
@@ -1316,7 +1318,7 @@ buildStaticFilesHandler() { |
if (buildCounterStaticFilesHandler < 3) { |
o.applicationReadable = true; |
o.expiration = "foo"; |
- o.httpHeaders = buildUnnamed2639(); |
+ o.httpHeaders = buildUnnamed2676(); |
o.mimeType = "foo"; |
o.path = "foo"; |
o.requireMatchingFile = true; |
@@ -1331,7 +1333,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) { |
if (buildCounterStaticFilesHandler < 3) { |
unittest.expect(o.applicationReadable, unittest.isTrue); |
unittest.expect(o.expiration, unittest.equals('foo')); |
- checkUnnamed2639(o.httpHeaders); |
+ checkUnnamed2676(o.httpHeaders); |
unittest.expect(o.mimeType, unittest.equals('foo')); |
unittest.expect(o.path, unittest.equals('foo')); |
unittest.expect(o.requireMatchingFile, unittest.isTrue); |
@@ -1340,30 +1342,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) { |
buildCounterStaticFilesHandler--; |
} |
-buildUnnamed2640() { |
+buildUnnamed2677() { |
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; |
} |
-checkUnnamed2640(core.Map<core.String, core.Object> o) { |
+checkUnnamed2677(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')); |
} |
-buildUnnamed2641() { |
+buildUnnamed2678() { |
var o = new core.List<core.Map<core.String, core.Object>>(); |
- o.add(buildUnnamed2640()); |
- o.add(buildUnnamed2640()); |
+ o.add(buildUnnamed2677()); |
+ o.add(buildUnnamed2677()); |
return o; |
} |
-checkUnnamed2641(core.List<core.Map<core.String, core.Object>> o) { |
+checkUnnamed2678(core.List<core.Map<core.String, core.Object>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed2640(o[0]); |
- checkUnnamed2640(o[1]); |
+ checkUnnamed2677(o[0]); |
+ checkUnnamed2677(o[1]); |
} |
core.int buildCounterStatus = 0; |
@@ -1372,7 +1374,7 @@ buildStatus() { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
o.code = 42; |
- o.details = buildUnnamed2641(); |
+ o.details = buildUnnamed2678(); |
o.message = "foo"; |
} |
buildCounterStatus--; |
@@ -1383,20 +1385,20 @@ checkStatus(api.Status o) { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
unittest.expect(o.code, unittest.equals(42)); |
- checkUnnamed2641(o.details); |
+ checkUnnamed2678(o.details); |
unittest.expect(o.message, unittest.equals('foo')); |
} |
buildCounterStatus--; |
} |
-buildUnnamed2642() { |
+buildUnnamed2679() { |
var o = new core.Map<core.String, core.double>(); |
o["x"] = 42.0; |
o["y"] = 42.0; |
return o; |
} |
-checkUnnamed2642(core.Map<core.String, core.double> o) { |
+checkUnnamed2679(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)); |
@@ -1407,7 +1409,7 @@ buildTrafficSplit() { |
var o = new api.TrafficSplit(); |
buildCounterTrafficSplit++; |
if (buildCounterTrafficSplit < 3) { |
- o.allocations = buildUnnamed2642(); |
+ o.allocations = buildUnnamed2679(); |
o.shardBy = "foo"; |
} |
buildCounterTrafficSplit--; |
@@ -1417,7 +1419,7 @@ buildTrafficSplit() { |
checkTrafficSplit(api.TrafficSplit o) { |
buildCounterTrafficSplit++; |
if (buildCounterTrafficSplit < 3) { |
- checkUnnamed2642(o.allocations); |
+ checkUnnamed2679(o.allocations); |
unittest.expect(o.shardBy, unittest.equals('foo')); |
} |
buildCounterTrafficSplit--; |
@@ -1479,79 +1481,79 @@ checkUrlMap(api.UrlMap o) { |
buildCounterUrlMap--; |
} |
-buildUnnamed2643() { |
+buildUnnamed2680() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed2643(core.Map<core.String, core.String> o) { |
+checkUnnamed2680(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')); |
} |
-buildUnnamed2644() { |
+buildUnnamed2681() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed2644(core.Map<core.String, core.String> o) { |
+checkUnnamed2681(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')); |
} |
-buildUnnamed2645() { |
+buildUnnamed2682() { |
var o = new core.List<api.ErrorHandler>(); |
o.add(buildErrorHandler()); |
o.add(buildErrorHandler()); |
return o; |
} |
-checkUnnamed2645(core.List<api.ErrorHandler> o) { |
+checkUnnamed2682(core.List<api.ErrorHandler> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkErrorHandler(o[0]); |
checkErrorHandler(o[1]); |
} |
-buildUnnamed2646() { |
+buildUnnamed2683() { |
var o = new core.List<api.UrlMap>(); |
o.add(buildUrlMap()); |
o.add(buildUrlMap()); |
return o; |
} |
-checkUnnamed2646(core.List<api.UrlMap> o) { |
+checkUnnamed2683(core.List<api.UrlMap> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUrlMap(o[0]); |
checkUrlMap(o[1]); |
} |
-buildUnnamed2647() { |
+buildUnnamed2684() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2647(core.List<core.String> o) { |
+checkUnnamed2684(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')); |
} |
-buildUnnamed2648() { |
+buildUnnamed2685() { |
var o = new core.List<api.Library>(); |
o.add(buildLibrary()); |
o.add(buildLibrary()); |
return o; |
} |
-checkUnnamed2648(core.List<api.Library> o) { |
+checkUnnamed2685(core.List<api.Library> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLibrary(o[0]); |
checkLibrary(o[1]); |
@@ -1565,7 +1567,7 @@ buildVersion() { |
o.apiConfig = buildApiConfigHandler(); |
o.automaticScaling = buildAutomaticScaling(); |
o.basicScaling = buildBasicScaling(); |
- o.betaSettings = buildUnnamed2643(); |
+ o.betaSettings = buildUnnamed2680(); |
o.createTime = "foo"; |
o.createdBy = "foo"; |
o.defaultExpiration = "foo"; |
@@ -1573,14 +1575,14 @@ buildVersion() { |
o.diskUsageBytes = "foo"; |
o.endpointsApiService = buildEndpointsApiService(); |
o.env = "foo"; |
- o.envVariables = buildUnnamed2644(); |
- o.errorHandlers = buildUnnamed2645(); |
- o.handlers = buildUnnamed2646(); |
+ o.envVariables = buildUnnamed2681(); |
+ o.errorHandlers = buildUnnamed2682(); |
+ o.handlers = buildUnnamed2683(); |
o.healthCheck = buildHealthCheck(); |
o.id = "foo"; |
- o.inboundServices = buildUnnamed2647(); |
+ o.inboundServices = buildUnnamed2684(); |
o.instanceClass = "foo"; |
- o.libraries = buildUnnamed2648(); |
+ o.libraries = buildUnnamed2685(); |
o.livenessCheck = buildLivenessCheck(); |
o.manualScaling = buildManualScaling(); |
o.name = "foo"; |
@@ -1605,7 +1607,7 @@ checkVersion(api.Version o) { |
checkApiConfigHandler(o.apiConfig); |
checkAutomaticScaling(o.automaticScaling); |
checkBasicScaling(o.basicScaling); |
- checkUnnamed2643(o.betaSettings); |
+ checkUnnamed2680(o.betaSettings); |
unittest.expect(o.createTime, unittest.equals('foo')); |
unittest.expect(o.createdBy, unittest.equals('foo')); |
unittest.expect(o.defaultExpiration, unittest.equals('foo')); |
@@ -1613,14 +1615,14 @@ checkVersion(api.Version o) { |
unittest.expect(o.diskUsageBytes, unittest.equals('foo')); |
checkEndpointsApiService(o.endpointsApiService); |
unittest.expect(o.env, unittest.equals('foo')); |
- checkUnnamed2644(o.envVariables); |
- checkUnnamed2645(o.errorHandlers); |
- checkUnnamed2646(o.handlers); |
+ checkUnnamed2681(o.envVariables); |
+ checkUnnamed2682(o.errorHandlers); |
+ checkUnnamed2683(o.handlers); |
checkHealthCheck(o.healthCheck); |
unittest.expect(o.id, unittest.equals('foo')); |
- checkUnnamed2647(o.inboundServices); |
+ checkUnnamed2684(o.inboundServices); |
unittest.expect(o.instanceClass, unittest.equals('foo')); |
- checkUnnamed2648(o.libraries); |
+ checkUnnamed2685(o.libraries); |
checkLivenessCheck(o.livenessCheck); |
checkManualScaling(o.manualScaling); |
unittest.expect(o.name, unittest.equals('foo')); |
@@ -2508,9 +2510,9 @@ main() { |
var mock = new HttpServerMock(); |
api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations; |
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; |
@@ -2544,9 +2546,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 = { |
@@ -2555,7 +2557,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, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) { |
checkListOperationsResponse(response); |
}))); |
}); |
@@ -2736,8 +2738,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); |
@@ -2777,8 +2779,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 = { |
@@ -2787,7 +2789,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); |
}))); |
}); |
@@ -2993,9 +2995,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; |
@@ -3036,9 +3038,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 = { |
@@ -3047,7 +3049,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); |
}))); |
}); |