| 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 245b4d52085a3d335ef993c5317b6cca89c628b6..038a8c890b3af832f6985004d62596ad3a126086 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--;
|
| }
|
|
|
| -buildUnnamed2524() {
|
| +buildUnnamed2623() {
|
| var o = new core.List<api.UrlDispatchRule>();
|
| o.add(buildUrlDispatchRule());
|
| o.add(buildUrlDispatchRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2524(core.List<api.UrlDispatchRule> o) {
|
| +checkUnnamed2623(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 = buildUnnamed2524();
|
| + o.dispatchRules = buildUnnamed2623();
|
| 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'));
|
| - checkUnnamed2524(o.dispatchRules);
|
| + checkUnnamed2623(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--;
|
| }
|
|
|
| -buildUnnamed2525() {
|
| +buildUnnamed2624() {
|
| var o = new core.Map<core.String, api.FileInfo>();
|
| o["x"] = buildFileInfo();
|
| o["y"] = buildFileInfo();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2525(core.Map<core.String, api.FileInfo> o) {
|
| +checkUnnamed2624(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 = buildUnnamed2525();
|
| + o.files = buildUnnamed2624();
|
| o.zip = buildZipInfo();
|
| }
|
| buildCounterDeployment--;
|
| @@ -302,7 +302,7 @@ checkDeployment(api.Deployment o) {
|
| buildCounterDeployment++;
|
| if (buildCounterDeployment < 3) {
|
| checkContainerInfo(o.container);
|
| - checkUnnamed2525(o.files);
|
| + checkUnnamed2624(o.files);
|
| checkZipInfo(o.zip);
|
| }
|
| buildCounterDeployment--;
|
| @@ -526,14 +526,14 @@ checkLibrary(api.Library o) {
|
| buildCounterLibrary--;
|
| }
|
|
|
| -buildUnnamed2526() {
|
| +buildUnnamed2625() {
|
| var o = new core.List<api.Instance>();
|
| o.add(buildInstance());
|
| o.add(buildInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2526(core.List<api.Instance> o) {
|
| +checkUnnamed2625(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 = buildUnnamed2526();
|
| + o.instances = buildUnnamed2625();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListInstancesResponse--;
|
| @@ -554,20 +554,20 @@ buildListInstancesResponse() {
|
| checkListInstancesResponse(api.ListInstancesResponse o) {
|
| buildCounterListInstancesResponse++;
|
| if (buildCounterListInstancesResponse < 3) {
|
| - checkUnnamed2526(o.instances);
|
| + checkUnnamed2625(o.instances);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListInstancesResponse--;
|
| }
|
|
|
| -buildUnnamed2527() {
|
| +buildUnnamed2626() {
|
| var o = new core.List<api.Location>();
|
| o.add(buildLocation());
|
| o.add(buildLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2527(core.List<api.Location> o) {
|
| +checkUnnamed2626(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 = buildUnnamed2527();
|
| + o.locations = buildUnnamed2626();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListLocationsResponse--;
|
| @@ -588,20 +588,20 @@ buildListLocationsResponse() {
|
| checkListLocationsResponse(api.ListLocationsResponse o) {
|
| buildCounterListLocationsResponse++;
|
| if (buildCounterListLocationsResponse < 3) {
|
| - checkUnnamed2527(o.locations);
|
| + checkUnnamed2626(o.locations);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListLocationsResponse--;
|
| }
|
|
|
| -buildUnnamed2528() {
|
| +buildUnnamed2627() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2528(core.List<api.Operation> o) {
|
| +checkUnnamed2627(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 = buildUnnamed2528();
|
| + o.operations = buildUnnamed2627();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -623,19 +623,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2528(o.operations);
|
| + checkUnnamed2627(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed2529() {
|
| +buildUnnamed2628() {
|
| var o = new core.List<api.Service>();
|
| o.add(buildService());
|
| o.add(buildService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2529(core.List<api.Service> o) {
|
| +checkUnnamed2628(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 = buildUnnamed2529();
|
| + o.services = buildUnnamed2628();
|
| }
|
| buildCounterListServicesResponse--;
|
| return o;
|
| @@ -657,19 +657,19 @@ checkListServicesResponse(api.ListServicesResponse o) {
|
| buildCounterListServicesResponse++;
|
| if (buildCounterListServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2529(o.services);
|
| + checkUnnamed2628(o.services);
|
| }
|
| buildCounterListServicesResponse--;
|
| }
|
|
|
| -buildUnnamed2530() {
|
| +buildUnnamed2629() {
|
| var o = new core.List<api.Version>();
|
| o.add(buildVersion());
|
| o.add(buildVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2530(core.List<api.Version> o) {
|
| +checkUnnamed2629(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 = buildUnnamed2530();
|
| + o.versions = buildUnnamed2629();
|
| }
|
| buildCounterListVersionsResponse--;
|
| return o;
|
| @@ -691,7 +691,7 @@ checkListVersionsResponse(api.ListVersionsResponse o) {
|
| buildCounterListVersionsResponse++;
|
| if (buildCounterListVersionsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2530(o.versions);
|
| + checkUnnamed2629(o.versions);
|
| }
|
| buildCounterListVersionsResponse--;
|
| }
|
| @@ -727,27 +727,27 @@ checkLivenessCheck(api.LivenessCheck o) {
|
| buildCounterLivenessCheck--;
|
| }
|
|
|
| -buildUnnamed2531() {
|
| +buildUnnamed2630() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2531(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2630(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'));
|
| }
|
|
|
| -buildUnnamed2532() {
|
| +buildUnnamed2631() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2532(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2631(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 = buildUnnamed2531();
|
| + o.labels = buildUnnamed2630();
|
| o.locationId = "foo";
|
| - o.metadata = buildUnnamed2532();
|
| + o.metadata = buildUnnamed2631();
|
| o.name = "foo";
|
| }
|
| buildCounterLocation--;
|
| @@ -770,9 +770,9 @@ buildLocation() {
|
| checkLocation(api.Location o) {
|
| buildCounterLocation++;
|
| if (buildCounterLocation < 3) {
|
| - checkUnnamed2531(o.labels);
|
| + checkUnnamed2630(o.labels);
|
| unittest.expect(o.locationId, unittest.equals('foo'));
|
| - checkUnnamed2532(o.metadata);
|
| + checkUnnamed2631(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLocation--;
|
| @@ -818,14 +818,14 @@ checkManualScaling(api.ManualScaling o) {
|
| buildCounterManualScaling--;
|
| }
|
|
|
| -buildUnnamed2533() {
|
| +buildUnnamed2632() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2533(core.List<core.String> o) {
|
| +checkUnnamed2632(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 = buildUnnamed2533();
|
| + o.forwardedPorts = buildUnnamed2632();
|
| o.instanceTag = "foo";
|
| o.name = "foo";
|
| o.subnetworkName = "foo";
|
| @@ -848,7 +848,7 @@ buildNetwork() {
|
| checkNetwork(api.Network o) {
|
| buildCounterNetwork++;
|
| if (buildCounterNetwork < 3) {
|
| - checkUnnamed2533(o.forwardedPorts);
|
| + checkUnnamed2632(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--;
|
| }
|
|
|
| -buildUnnamed2534() {
|
| +buildUnnamed2633() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2534(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2633(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'));
|
| }
|
|
|
| -buildUnnamed2535() {
|
| +buildUnnamed2634() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2535(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2634(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 = buildUnnamed2534();
|
| + o.metadata = buildUnnamed2633();
|
| o.name = "foo";
|
| - o.response = buildUnnamed2535();
|
| + o.response = buildUnnamed2634();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -927,9 +927,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed2534(o.metadata);
|
| + checkUnnamed2633(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2535(o.response);
|
| + checkUnnamed2634(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -990,14 +990,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) {
|
| buildCounterOperationMetadataExperimental--;
|
| }
|
|
|
| -buildUnnamed2536() {
|
| +buildUnnamed2635() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2536(core.List<core.String> o) {
|
| +checkUnnamed2635(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 = buildUnnamed2536();
|
| + o.warning = buildUnnamed2635();
|
| }
|
| 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'));
|
| - checkUnnamed2536(o.warning);
|
| + checkUnnamed2635(o.warning);
|
| }
|
| buildCounterOperationMetadataV1--;
|
| }
|
|
|
| -buildUnnamed2537() {
|
| +buildUnnamed2636() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2537(core.List<core.String> o) {
|
| +checkUnnamed2636(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 = buildUnnamed2537();
|
| + o.warning = buildUnnamed2636();
|
| }
|
| 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'));
|
| - checkUnnamed2537(o.warning);
|
| + checkUnnamed2636(o.warning);
|
| }
|
| buildCounterOperationMetadataV1Alpha--;
|
| }
|
|
|
| -buildUnnamed2538() {
|
| +buildUnnamed2637() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2538(core.List<core.String> o) {
|
| +checkUnnamed2637(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 = buildUnnamed2538();
|
| + o.warning = buildUnnamed2637();
|
| }
|
| 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'));
|
| - checkUnnamed2538(o.warning);
|
| + checkUnnamed2637(o.warning);
|
| }
|
| buildCounterOperationMetadataV1Beta--;
|
| }
|
| @@ -1216,14 +1216,14 @@ checkRequestUtilization(api.RequestUtilization o) {
|
| buildCounterRequestUtilization--;
|
| }
|
|
|
| -buildUnnamed2539() {
|
| +buildUnnamed2638() {
|
| var o = new core.List<api.Volume>();
|
| o.add(buildVolume());
|
| o.add(buildVolume());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2539(core.List<api.Volume> o) {
|
| +checkUnnamed2638(core.List<api.Volume> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolume(o[0]);
|
| checkVolume(o[1]);
|
| @@ -1237,7 +1237,7 @@ buildResources() {
|
| o.cpu = 42.0;
|
| o.diskGb = 42.0;
|
| o.memoryGb = 42.0;
|
| - o.volumes = buildUnnamed2539();
|
| + o.volumes = buildUnnamed2638();
|
| }
|
| buildCounterResources--;
|
| return o;
|
| @@ -1249,7 +1249,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));
|
| - checkUnnamed2539(o.volumes);
|
| + checkUnnamed2638(o.volumes);
|
| }
|
| buildCounterResources--;
|
| }
|
| @@ -1296,14 +1296,14 @@ checkService(api.Service o) {
|
| buildCounterService--;
|
| }
|
|
|
| -buildUnnamed2540() {
|
| +buildUnnamed2639() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2540(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2639(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 +1316,7 @@ buildStaticFilesHandler() {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| o.applicationReadable = true;
|
| o.expiration = "foo";
|
| - o.httpHeaders = buildUnnamed2540();
|
| + o.httpHeaders = buildUnnamed2639();
|
| o.mimeType = "foo";
|
| o.path = "foo";
|
| o.requireMatchingFile = true;
|
| @@ -1331,7 +1331,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| unittest.expect(o.applicationReadable, unittest.isTrue);
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| - checkUnnamed2540(o.httpHeaders);
|
| + checkUnnamed2639(o.httpHeaders);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| unittest.expect(o.requireMatchingFile, unittest.isTrue);
|
| @@ -1340,30 +1340,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| buildCounterStaticFilesHandler--;
|
| }
|
|
|
| -buildUnnamed2541() {
|
| +buildUnnamed2640() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2541(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2640(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'));
|
| }
|
|
|
| -buildUnnamed2542() {
|
| +buildUnnamed2641() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed2541());
|
| - o.add(buildUnnamed2541());
|
| + o.add(buildUnnamed2640());
|
| + o.add(buildUnnamed2640());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2542(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed2641(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed2541(o[0]);
|
| - checkUnnamed2541(o[1]);
|
| + checkUnnamed2640(o[0]);
|
| + checkUnnamed2640(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1372,7 +1372,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed2542();
|
| + o.details = buildUnnamed2641();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1383,20 +1383,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed2542(o.details);
|
| + checkUnnamed2641(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed2543() {
|
| +buildUnnamed2642() {
|
| var o = new core.Map<core.String, core.double>();
|
| o["x"] = 42.0;
|
| o["y"] = 42.0;
|
| return o;
|
| }
|
|
|
| -checkUnnamed2543(core.Map<core.String, core.double> o) {
|
| +checkUnnamed2642(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 +1407,7 @@ buildTrafficSplit() {
|
| var o = new api.TrafficSplit();
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - o.allocations = buildUnnamed2543();
|
| + o.allocations = buildUnnamed2642();
|
| o.shardBy = "foo";
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1417,7 +1417,7 @@ buildTrafficSplit() {
|
| checkTrafficSplit(api.TrafficSplit o) {
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - checkUnnamed2543(o.allocations);
|
| + checkUnnamed2642(o.allocations);
|
| unittest.expect(o.shardBy, unittest.equals('foo'));
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1479,79 +1479,79 @@ checkUrlMap(api.UrlMap o) {
|
| buildCounterUrlMap--;
|
| }
|
|
|
| -buildUnnamed2544() {
|
| +buildUnnamed2643() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2544(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2643(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'));
|
| }
|
|
|
| -buildUnnamed2545() {
|
| +buildUnnamed2644() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2545(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2644(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'));
|
| }
|
|
|
| -buildUnnamed2546() {
|
| +buildUnnamed2645() {
|
| var o = new core.List<api.ErrorHandler>();
|
| o.add(buildErrorHandler());
|
| o.add(buildErrorHandler());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2546(core.List<api.ErrorHandler> o) {
|
| +checkUnnamed2645(core.List<api.ErrorHandler> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorHandler(o[0]);
|
| checkErrorHandler(o[1]);
|
| }
|
|
|
| -buildUnnamed2547() {
|
| +buildUnnamed2646() {
|
| var o = new core.List<api.UrlMap>();
|
| o.add(buildUrlMap());
|
| o.add(buildUrlMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2547(core.List<api.UrlMap> o) {
|
| +checkUnnamed2646(core.List<api.UrlMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlMap(o[0]);
|
| checkUrlMap(o[1]);
|
| }
|
|
|
| -buildUnnamed2548() {
|
| +buildUnnamed2647() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2548(core.List<core.String> o) {
|
| +checkUnnamed2647(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'));
|
| }
|
|
|
| -buildUnnamed2549() {
|
| +buildUnnamed2648() {
|
| var o = new core.List<api.Library>();
|
| o.add(buildLibrary());
|
| o.add(buildLibrary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2549(core.List<api.Library> o) {
|
| +checkUnnamed2648(core.List<api.Library> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLibrary(o[0]);
|
| checkLibrary(o[1]);
|
| @@ -1565,7 +1565,7 @@ buildVersion() {
|
| o.apiConfig = buildApiConfigHandler();
|
| o.automaticScaling = buildAutomaticScaling();
|
| o.basicScaling = buildBasicScaling();
|
| - o.betaSettings = buildUnnamed2544();
|
| + o.betaSettings = buildUnnamed2643();
|
| o.createTime = "foo";
|
| o.createdBy = "foo";
|
| o.defaultExpiration = "foo";
|
| @@ -1573,14 +1573,14 @@ buildVersion() {
|
| o.diskUsageBytes = "foo";
|
| o.endpointsApiService = buildEndpointsApiService();
|
| o.env = "foo";
|
| - o.envVariables = buildUnnamed2545();
|
| - o.errorHandlers = buildUnnamed2546();
|
| - o.handlers = buildUnnamed2547();
|
| + o.envVariables = buildUnnamed2644();
|
| + o.errorHandlers = buildUnnamed2645();
|
| + o.handlers = buildUnnamed2646();
|
| o.healthCheck = buildHealthCheck();
|
| o.id = "foo";
|
| - o.inboundServices = buildUnnamed2548();
|
| + o.inboundServices = buildUnnamed2647();
|
| o.instanceClass = "foo";
|
| - o.libraries = buildUnnamed2549();
|
| + o.libraries = buildUnnamed2648();
|
| o.livenessCheck = buildLivenessCheck();
|
| o.manualScaling = buildManualScaling();
|
| o.name = "foo";
|
| @@ -1605,7 +1605,7 @@ checkVersion(api.Version o) {
|
| checkApiConfigHandler(o.apiConfig);
|
| checkAutomaticScaling(o.automaticScaling);
|
| checkBasicScaling(o.basicScaling);
|
| - checkUnnamed2544(o.betaSettings);
|
| + checkUnnamed2643(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 +1613,14 @@ checkVersion(api.Version o) {
|
| unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
|
| checkEndpointsApiService(o.endpointsApiService);
|
| unittest.expect(o.env, unittest.equals('foo'));
|
| - checkUnnamed2545(o.envVariables);
|
| - checkUnnamed2546(o.errorHandlers);
|
| - checkUnnamed2547(o.handlers);
|
| + checkUnnamed2644(o.envVariables);
|
| + checkUnnamed2645(o.errorHandlers);
|
| + checkUnnamed2646(o.handlers);
|
| checkHealthCheck(o.healthCheck);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed2548(o.inboundServices);
|
| + checkUnnamed2647(o.inboundServices);
|
| unittest.expect(o.instanceClass, unittest.equals('foo'));
|
| - checkUnnamed2549(o.libraries);
|
| + checkUnnamed2648(o.libraries);
|
| checkLivenessCheck(o.livenessCheck);
|
| checkManualScaling(o.manualScaling);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -2736,8 +2736,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);
|
| @@ -2777,8 +2777,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 = {
|
| @@ -2787,7 +2787,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);
|
| })));
|
| });
|
| @@ -3353,8 +3353,8 @@ main() {
|
| var arg_appsId = "foo";
|
| var arg_servicesId = "foo";
|
| var arg_versionsId = "foo";
|
| - var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| + var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -3402,8 +3402,8 @@ 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["pageToken"].first, unittest.equals(arg_pageToken));
|
|
|
|
|
| var h = {
|
| @@ -3412,7 +3412,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, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
|
| + res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListInstancesResponse response) {
|
| checkListInstancesResponse(response);
|
| })));
|
| });
|
|
|