| 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 a5b5fe5bd8db13ede9d116c40abaa081f274aa57..c3ed74a71087a3856b8186dcf2d607978326f299 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--;
|
| }
|
|
|
| -buildUnnamed2660() {
|
| +buildUnnamed2681() {
|
| var o = new core.List<api.UrlDispatchRule>();
|
| o.add(buildUrlDispatchRule());
|
| o.add(buildUrlDispatchRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2660(core.List<api.UrlDispatchRule> o) {
|
| +checkUnnamed2681(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 = buildUnnamed2660();
|
| + o.dispatchRules = buildUnnamed2681();
|
| 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'));
|
| - checkUnnamed2660(o.dispatchRules);
|
| + checkUnnamed2681(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--;
|
| }
|
|
|
| -buildUnnamed2661() {
|
| +buildUnnamed2682() {
|
| var o = new core.Map<core.String, api.FileInfo>();
|
| o["x"] = buildFileInfo();
|
| o["y"] = buildFileInfo();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2661(core.Map<core.String, api.FileInfo> o) {
|
| +checkUnnamed2682(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 = buildUnnamed2661();
|
| + o.files = buildUnnamed2682();
|
| o.zip = buildZipInfo();
|
| }
|
| buildCounterDeployment--;
|
| @@ -302,7 +302,7 @@ checkDeployment(api.Deployment o) {
|
| buildCounterDeployment++;
|
| if (buildCounterDeployment < 3) {
|
| checkContainerInfo(o.container);
|
| - checkUnnamed2661(o.files);
|
| + checkUnnamed2682(o.files);
|
| checkZipInfo(o.zip);
|
| }
|
| buildCounterDeployment--;
|
| @@ -526,14 +526,14 @@ checkLibrary(api.Library o) {
|
| buildCounterLibrary--;
|
| }
|
|
|
| -buildUnnamed2662() {
|
| +buildUnnamed2683() {
|
| var o = new core.List<api.Instance>();
|
| o.add(buildInstance());
|
| o.add(buildInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2662(core.List<api.Instance> o) {
|
| +checkUnnamed2683(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 = buildUnnamed2662();
|
| + o.instances = buildUnnamed2683();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListInstancesResponse--;
|
| @@ -554,20 +554,20 @@ buildListInstancesResponse() {
|
| checkListInstancesResponse(api.ListInstancesResponse o) {
|
| buildCounterListInstancesResponse++;
|
| if (buildCounterListInstancesResponse < 3) {
|
| - checkUnnamed2662(o.instances);
|
| + checkUnnamed2683(o.instances);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListInstancesResponse--;
|
| }
|
|
|
| -buildUnnamed2663() {
|
| +buildUnnamed2684() {
|
| var o = new core.List<api.Location>();
|
| o.add(buildLocation());
|
| o.add(buildLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2663(core.List<api.Location> o) {
|
| +checkUnnamed2684(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 = buildUnnamed2663();
|
| + o.locations = buildUnnamed2684();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListLocationsResponse--;
|
| @@ -588,20 +588,20 @@ buildListLocationsResponse() {
|
| checkListLocationsResponse(api.ListLocationsResponse o) {
|
| buildCounterListLocationsResponse++;
|
| if (buildCounterListLocationsResponse < 3) {
|
| - checkUnnamed2663(o.locations);
|
| + checkUnnamed2684(o.locations);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListLocationsResponse--;
|
| }
|
|
|
| -buildUnnamed2664() {
|
| +buildUnnamed2685() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2664(core.List<api.Operation> o) {
|
| +checkUnnamed2685(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 = buildUnnamed2664();
|
| + o.operations = buildUnnamed2685();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -623,19 +623,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2664(o.operations);
|
| + checkUnnamed2685(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed2665() {
|
| +buildUnnamed2686() {
|
| var o = new core.List<api.Service>();
|
| o.add(buildService());
|
| o.add(buildService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2665(core.List<api.Service> o) {
|
| +checkUnnamed2686(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 = buildUnnamed2665();
|
| + o.services = buildUnnamed2686();
|
| }
|
| buildCounterListServicesResponse--;
|
| return o;
|
| @@ -657,19 +657,19 @@ checkListServicesResponse(api.ListServicesResponse o) {
|
| buildCounterListServicesResponse++;
|
| if (buildCounterListServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2665(o.services);
|
| + checkUnnamed2686(o.services);
|
| }
|
| buildCounterListServicesResponse--;
|
| }
|
|
|
| -buildUnnamed2666() {
|
| +buildUnnamed2687() {
|
| var o = new core.List<api.Version>();
|
| o.add(buildVersion());
|
| o.add(buildVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2666(core.List<api.Version> o) {
|
| +checkUnnamed2687(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 = buildUnnamed2666();
|
| + o.versions = buildUnnamed2687();
|
| }
|
| buildCounterListVersionsResponse--;
|
| return o;
|
| @@ -691,7 +691,7 @@ checkListVersionsResponse(api.ListVersionsResponse o) {
|
| buildCounterListVersionsResponse++;
|
| if (buildCounterListVersionsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2666(o.versions);
|
| + checkUnnamed2687(o.versions);
|
| }
|
| buildCounterListVersionsResponse--;
|
| }
|
| @@ -727,27 +727,27 @@ checkLivenessCheck(api.LivenessCheck o) {
|
| buildCounterLivenessCheck--;
|
| }
|
|
|
| -buildUnnamed2667() {
|
| +buildUnnamed2688() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2667(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2688(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'));
|
| }
|
|
|
| -buildUnnamed2668() {
|
| +buildUnnamed2689() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2668(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2689(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 = buildUnnamed2667();
|
| + o.labels = buildUnnamed2688();
|
| o.locationId = "foo";
|
| - o.metadata = buildUnnamed2668();
|
| + o.metadata = buildUnnamed2689();
|
| o.name = "foo";
|
| }
|
| buildCounterLocation--;
|
| @@ -770,9 +770,9 @@ buildLocation() {
|
| checkLocation(api.Location o) {
|
| buildCounterLocation++;
|
| if (buildCounterLocation < 3) {
|
| - checkUnnamed2667(o.labels);
|
| + checkUnnamed2688(o.labels);
|
| unittest.expect(o.locationId, unittest.equals('foo'));
|
| - checkUnnamed2668(o.metadata);
|
| + checkUnnamed2689(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLocation--;
|
| @@ -818,14 +818,14 @@ checkManualScaling(api.ManualScaling o) {
|
| buildCounterManualScaling--;
|
| }
|
|
|
| -buildUnnamed2669() {
|
| +buildUnnamed2690() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2669(core.List<core.String> o) {
|
| +checkUnnamed2690(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 = buildUnnamed2669();
|
| + o.forwardedPorts = buildUnnamed2690();
|
| o.instanceTag = "foo";
|
| o.name = "foo";
|
| o.subnetworkName = "foo";
|
| @@ -848,7 +848,7 @@ buildNetwork() {
|
| checkNetwork(api.Network o) {
|
| buildCounterNetwork++;
|
| if (buildCounterNetwork < 3) {
|
| - checkUnnamed2669(o.forwardedPorts);
|
| + checkUnnamed2690(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--;
|
| }
|
|
|
| -buildUnnamed2670() {
|
| +buildUnnamed2691() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2670(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2691(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'));
|
| }
|
|
|
| -buildUnnamed2671() {
|
| +buildUnnamed2692() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2671(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2692(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 = buildUnnamed2670();
|
| + o.metadata = buildUnnamed2691();
|
| o.name = "foo";
|
| - o.response = buildUnnamed2671();
|
| + o.response = buildUnnamed2692();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -927,9 +927,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed2670(o.metadata);
|
| + checkUnnamed2691(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2671(o.response);
|
| + checkUnnamed2692(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -990,14 +990,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) {
|
| buildCounterOperationMetadataExperimental--;
|
| }
|
|
|
| -buildUnnamed2672() {
|
| +buildUnnamed2693() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2672(core.List<core.String> o) {
|
| +checkUnnamed2693(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 = buildUnnamed2672();
|
| + o.warning = buildUnnamed2693();
|
| }
|
| 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'));
|
| - checkUnnamed2672(o.warning);
|
| + checkUnnamed2693(o.warning);
|
| }
|
| buildCounterOperationMetadataV1--;
|
| }
|
|
|
| -buildUnnamed2673() {
|
| +buildUnnamed2694() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2673(core.List<core.String> o) {
|
| +checkUnnamed2694(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 = buildUnnamed2673();
|
| + o.warning = buildUnnamed2694();
|
| }
|
| 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'));
|
| - checkUnnamed2673(o.warning);
|
| + checkUnnamed2694(o.warning);
|
| }
|
| buildCounterOperationMetadataV1Alpha--;
|
| }
|
|
|
| -buildUnnamed2674() {
|
| +buildUnnamed2695() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2674(core.List<core.String> o) {
|
| +checkUnnamed2695(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 = buildUnnamed2674();
|
| + o.warning = buildUnnamed2695();
|
| }
|
| 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'));
|
| - checkUnnamed2674(o.warning);
|
| + checkUnnamed2695(o.warning);
|
| }
|
| buildCounterOperationMetadataV1Beta--;
|
| }
|
| @@ -1218,14 +1218,14 @@ checkRequestUtilization(api.RequestUtilization o) {
|
| buildCounterRequestUtilization--;
|
| }
|
|
|
| -buildUnnamed2675() {
|
| +buildUnnamed2696() {
|
| var o = new core.List<api.Volume>();
|
| o.add(buildVolume());
|
| o.add(buildVolume());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2675(core.List<api.Volume> o) {
|
| +checkUnnamed2696(core.List<api.Volume> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolume(o[0]);
|
| checkVolume(o[1]);
|
| @@ -1239,7 +1239,7 @@ buildResources() {
|
| o.cpu = 42.0;
|
| o.diskGb = 42.0;
|
| o.memoryGb = 42.0;
|
| - o.volumes = buildUnnamed2675();
|
| + o.volumes = buildUnnamed2696();
|
| }
|
| buildCounterResources--;
|
| return o;
|
| @@ -1251,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));
|
| - checkUnnamed2675(o.volumes);
|
| + checkUnnamed2696(o.volumes);
|
| }
|
| buildCounterResources--;
|
| }
|
| @@ -1298,14 +1298,14 @@ checkService(api.Service o) {
|
| buildCounterService--;
|
| }
|
|
|
| -buildUnnamed2676() {
|
| +buildUnnamed2697() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2676(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2697(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'));
|
| @@ -1318,7 +1318,7 @@ buildStaticFilesHandler() {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| o.applicationReadable = true;
|
| o.expiration = "foo";
|
| - o.httpHeaders = buildUnnamed2676();
|
| + o.httpHeaders = buildUnnamed2697();
|
| o.mimeType = "foo";
|
| o.path = "foo";
|
| o.requireMatchingFile = true;
|
| @@ -1333,7 +1333,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| unittest.expect(o.applicationReadable, unittest.isTrue);
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| - checkUnnamed2676(o.httpHeaders);
|
| + checkUnnamed2697(o.httpHeaders);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| unittest.expect(o.requireMatchingFile, unittest.isTrue);
|
| @@ -1342,30 +1342,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| buildCounterStaticFilesHandler--;
|
| }
|
|
|
| -buildUnnamed2677() {
|
| +buildUnnamed2698() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2677(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2698(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'));
|
| }
|
|
|
| -buildUnnamed2678() {
|
| +buildUnnamed2699() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed2677());
|
| - o.add(buildUnnamed2677());
|
| + o.add(buildUnnamed2698());
|
| + o.add(buildUnnamed2698());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2678(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed2699(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed2677(o[0]);
|
| - checkUnnamed2677(o[1]);
|
| + checkUnnamed2698(o[0]);
|
| + checkUnnamed2698(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1374,7 +1374,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed2678();
|
| + o.details = buildUnnamed2699();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1385,20 +1385,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed2678(o.details);
|
| + checkUnnamed2699(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed2679() {
|
| +buildUnnamed2700() {
|
| var o = new core.Map<core.String, core.double>();
|
| o["x"] = 42.0;
|
| o["y"] = 42.0;
|
| return o;
|
| }
|
|
|
| -checkUnnamed2679(core.Map<core.String, core.double> o) {
|
| +checkUnnamed2700(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));
|
| @@ -1409,7 +1409,7 @@ buildTrafficSplit() {
|
| var o = new api.TrafficSplit();
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - o.allocations = buildUnnamed2679();
|
| + o.allocations = buildUnnamed2700();
|
| o.shardBy = "foo";
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1419,7 +1419,7 @@ buildTrafficSplit() {
|
| checkTrafficSplit(api.TrafficSplit o) {
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - checkUnnamed2679(o.allocations);
|
| + checkUnnamed2700(o.allocations);
|
| unittest.expect(o.shardBy, unittest.equals('foo'));
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1481,79 +1481,79 @@ checkUrlMap(api.UrlMap o) {
|
| buildCounterUrlMap--;
|
| }
|
|
|
| -buildUnnamed2680() {
|
| +buildUnnamed2701() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2680(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2701(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'));
|
| }
|
|
|
| -buildUnnamed2681() {
|
| +buildUnnamed2702() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2681(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2702(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'));
|
| }
|
|
|
| -buildUnnamed2682() {
|
| +buildUnnamed2703() {
|
| var o = new core.List<api.ErrorHandler>();
|
| o.add(buildErrorHandler());
|
| o.add(buildErrorHandler());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2682(core.List<api.ErrorHandler> o) {
|
| +checkUnnamed2703(core.List<api.ErrorHandler> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorHandler(o[0]);
|
| checkErrorHandler(o[1]);
|
| }
|
|
|
| -buildUnnamed2683() {
|
| +buildUnnamed2704() {
|
| var o = new core.List<api.UrlMap>();
|
| o.add(buildUrlMap());
|
| o.add(buildUrlMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2683(core.List<api.UrlMap> o) {
|
| +checkUnnamed2704(core.List<api.UrlMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlMap(o[0]);
|
| checkUrlMap(o[1]);
|
| }
|
|
|
| -buildUnnamed2684() {
|
| +buildUnnamed2705() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2684(core.List<core.String> o) {
|
| +checkUnnamed2705(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'));
|
| }
|
|
|
| -buildUnnamed2685() {
|
| +buildUnnamed2706() {
|
| var o = new core.List<api.Library>();
|
| o.add(buildLibrary());
|
| o.add(buildLibrary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2685(core.List<api.Library> o) {
|
| +checkUnnamed2706(core.List<api.Library> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLibrary(o[0]);
|
| checkLibrary(o[1]);
|
| @@ -1567,7 +1567,7 @@ buildVersion() {
|
| o.apiConfig = buildApiConfigHandler();
|
| o.automaticScaling = buildAutomaticScaling();
|
| o.basicScaling = buildBasicScaling();
|
| - o.betaSettings = buildUnnamed2680();
|
| + o.betaSettings = buildUnnamed2701();
|
| o.createTime = "foo";
|
| o.createdBy = "foo";
|
| o.defaultExpiration = "foo";
|
| @@ -1575,14 +1575,14 @@ buildVersion() {
|
| o.diskUsageBytes = "foo";
|
| o.endpointsApiService = buildEndpointsApiService();
|
| o.env = "foo";
|
| - o.envVariables = buildUnnamed2681();
|
| - o.errorHandlers = buildUnnamed2682();
|
| - o.handlers = buildUnnamed2683();
|
| + o.envVariables = buildUnnamed2702();
|
| + o.errorHandlers = buildUnnamed2703();
|
| + o.handlers = buildUnnamed2704();
|
| o.healthCheck = buildHealthCheck();
|
| o.id = "foo";
|
| - o.inboundServices = buildUnnamed2684();
|
| + o.inboundServices = buildUnnamed2705();
|
| o.instanceClass = "foo";
|
| - o.libraries = buildUnnamed2685();
|
| + o.libraries = buildUnnamed2706();
|
| o.livenessCheck = buildLivenessCheck();
|
| o.manualScaling = buildManualScaling();
|
| o.name = "foo";
|
| @@ -1607,7 +1607,7 @@ checkVersion(api.Version o) {
|
| checkApiConfigHandler(o.apiConfig);
|
| checkAutomaticScaling(o.automaticScaling);
|
| checkBasicScaling(o.basicScaling);
|
| - checkUnnamed2680(o.betaSettings);
|
| + checkUnnamed2701(o.betaSettings);
|
| unittest.expect(o.createTime, unittest.equals('foo'));
|
| unittest.expect(o.createdBy, unittest.equals('foo'));
|
| unittest.expect(o.defaultExpiration, unittest.equals('foo'));
|
| @@ -1615,14 +1615,14 @@ checkVersion(api.Version o) {
|
| unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
|
| checkEndpointsApiService(o.endpointsApiService);
|
| unittest.expect(o.env, unittest.equals('foo'));
|
| - checkUnnamed2681(o.envVariables);
|
| - checkUnnamed2682(o.errorHandlers);
|
| - checkUnnamed2683(o.handlers);
|
| + checkUnnamed2702(o.envVariables);
|
| + checkUnnamed2703(o.errorHandlers);
|
| + checkUnnamed2704(o.handlers);
|
| checkHealthCheck(o.healthCheck);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed2684(o.inboundServices);
|
| + checkUnnamed2705(o.inboundServices);
|
| unittest.expect(o.instanceClass, unittest.equals('foo'));
|
| - checkUnnamed2685(o.libraries);
|
| + checkUnnamed2706(o.libraries);
|
| checkLivenessCheck(o.livenessCheck);
|
| checkManualScaling(o.manualScaling);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -2394,9 +2394,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locations;
|
| var arg_appsId = "foo";
|
| + var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| var arg_pageToken = "foo";
|
| - var arg_pageSize = 42;
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2430,9 +2430,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 = {
|
| @@ -2441,7 +2441,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, pageToken: arg_pageToken, pageSize: arg_pageSize).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);
|
| })));
|
| });
|
| @@ -2510,9 +2510,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operations;
|
| var arg_appsId = "foo";
|
| + var arg_filter = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| - var arg_filter = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -2546,9 +2546,9 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| - unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
|
|
|
|
| var h = {
|
| @@ -2557,7 +2557,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListOperationsResponse());
|
| 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.ListOperationsResponse response) {
|
| + res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
|
| checkListOperationsResponse(response);
|
| })));
|
| });
|
| @@ -2738,8 +2738,8 @@ main() {
|
| var arg_request = buildService();
|
| var arg_appsId = "foo";
|
| var arg_servicesId = "foo";
|
| - var arg_updateMask = "foo";
|
| var arg_migrateTraffic = true;
|
| + var arg_updateMask = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.Service.fromJson(json);
|
| checkService(obj);
|
| @@ -2779,8 +2779,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
|
| unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_migrateTraffic"));
|
| + unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_updateMask));
|
|
|
|
|
| var h = {
|
| @@ -2789,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, updateMask: arg_updateMask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync1(((api.Operation response) {
|
| + res.patch(arg_request, arg_appsId, arg_servicesId, migrateTraffic: arg_migrateTraffic, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Operation response) {
|
| checkOperation(response);
|
| })));
|
| });
|
| @@ -3355,8 +3355,8 @@ main() {
|
| var arg_appsId = "foo";
|
| var arg_servicesId = "foo";
|
| var arg_versionsId = "foo";
|
| - var arg_pageSize = 42;
|
| var arg_pageToken = "foo";
|
| + var arg_pageSize = 42;
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -3404,8 +3404,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 = {
|
| @@ -3414,7 +3414,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListInstancesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
|
| + res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
|
| checkListInstancesResponse(response);
|
| })));
|
| });
|
|
|