| Index: generated/googleapis_beta/test/appengine/v1beta4_test.dart
|
| diff --git a/generated/googleapis_beta/test/appengine/v1beta4_test.dart b/generated/googleapis_beta/test/appengine/v1beta4_test.dart
|
| index fda37909759647bc6637d44ad2b4f1d58b339539..d98db10d1b38b55b5c36ac6fccf7c95f24174f40 100644
|
| --- a/generated/googleapis_beta/test/appengine/v1beta4_test.dart
|
| +++ b/generated/googleapis_beta/test/appengine/v1beta4_test.dart
|
| @@ -97,14 +97,14 @@ checkApiEndpointHandler(api.ApiEndpointHandler o) {
|
| buildCounterApiEndpointHandler--;
|
| }
|
|
|
| -buildUnnamed3714() {
|
| +buildUnnamed3403() {
|
| var o = new core.List<api.UrlDispatchRule>();
|
| o.add(buildUrlDispatchRule());
|
| o.add(buildUrlDispatchRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3714(core.List<api.UrlDispatchRule> o) {
|
| +checkUnnamed3403(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 = buildUnnamed3714();
|
| + o.dispatchRules = buildUnnamed3403();
|
| o.id = "foo";
|
| o.location = "foo";
|
| o.name = "foo";
|
| @@ -137,7 +137,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'));
|
| - checkUnnamed3714(o.dispatchRules);
|
| + checkUnnamed3403(o.dispatchRules);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.location, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -264,27 +264,27 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) {
|
| buildCounterDebugInstanceRequest--;
|
| }
|
|
|
| -buildUnnamed3715() {
|
| +buildUnnamed3404() {
|
| var o = new core.Map<core.String, api.FileInfo>();
|
| o["x"] = buildFileInfo();
|
| o["y"] = buildFileInfo();
|
| return o;
|
| }
|
|
|
| -checkUnnamed3715(core.Map<core.String, api.FileInfo> o) {
|
| +checkUnnamed3404(core.Map<core.String, api.FileInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFileInfo(o["x"]);
|
| checkFileInfo(o["y"]);
|
| }
|
|
|
| -buildUnnamed3716() {
|
| +buildUnnamed3405() {
|
| var o = new core.List<api.SourceReference>();
|
| o.add(buildSourceReference());
|
| o.add(buildSourceReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3716(core.List<api.SourceReference> o) {
|
| +checkUnnamed3405(core.List<api.SourceReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSourceReference(o[0]);
|
| checkSourceReference(o[1]);
|
| @@ -296,8 +296,8 @@ buildDeployment() {
|
| buildCounterDeployment++;
|
| if (buildCounterDeployment < 3) {
|
| o.container = buildContainerInfo();
|
| - o.files = buildUnnamed3715();
|
| - o.sourceReferences = buildUnnamed3716();
|
| + o.files = buildUnnamed3404();
|
| + o.sourceReferences = buildUnnamed3405();
|
| }
|
| buildCounterDeployment--;
|
| return o;
|
| @@ -307,8 +307,8 @@ checkDeployment(api.Deployment o) {
|
| buildCounterDeployment++;
|
| if (buildCounterDeployment < 3) {
|
| checkContainerInfo(o.container);
|
| - checkUnnamed3715(o.files);
|
| - checkUnnamed3716(o.sourceReferences);
|
| + checkUnnamed3404(o.files);
|
| + checkUnnamed3405(o.sourceReferences);
|
| }
|
| buildCounterDeployment--;
|
| }
|
| @@ -483,14 +483,14 @@ checkLibrary(api.Library o) {
|
| buildCounterLibrary--;
|
| }
|
|
|
| -buildUnnamed3717() {
|
| +buildUnnamed3406() {
|
| var o = new core.List<api.Instance>();
|
| o.add(buildInstance());
|
| o.add(buildInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3717(core.List<api.Instance> o) {
|
| +checkUnnamed3406(core.List<api.Instance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstance(o[0]);
|
| checkInstance(o[1]);
|
| @@ -501,7 +501,7 @@ buildListInstancesResponse() {
|
| var o = new api.ListInstancesResponse();
|
| buildCounterListInstancesResponse++;
|
| if (buildCounterListInstancesResponse < 3) {
|
| - o.instances = buildUnnamed3717();
|
| + o.instances = buildUnnamed3406();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListInstancesResponse--;
|
| @@ -511,20 +511,20 @@ buildListInstancesResponse() {
|
| checkListInstancesResponse(api.ListInstancesResponse o) {
|
| buildCounterListInstancesResponse++;
|
| if (buildCounterListInstancesResponse < 3) {
|
| - checkUnnamed3717(o.instances);
|
| + checkUnnamed3406(o.instances);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListInstancesResponse--;
|
| }
|
|
|
| -buildUnnamed3718() {
|
| +buildUnnamed3407() {
|
| var o = new core.List<api.Location>();
|
| o.add(buildLocation());
|
| o.add(buildLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3718(core.List<api.Location> o) {
|
| +checkUnnamed3407(core.List<api.Location> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocation(o[0]);
|
| checkLocation(o[1]);
|
| @@ -535,7 +535,7 @@ buildListLocationsResponse() {
|
| var o = new api.ListLocationsResponse();
|
| buildCounterListLocationsResponse++;
|
| if (buildCounterListLocationsResponse < 3) {
|
| - o.locations = buildUnnamed3718();
|
| + o.locations = buildUnnamed3407();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListLocationsResponse--;
|
| @@ -545,20 +545,20 @@ buildListLocationsResponse() {
|
| checkListLocationsResponse(api.ListLocationsResponse o) {
|
| buildCounterListLocationsResponse++;
|
| if (buildCounterListLocationsResponse < 3) {
|
| - checkUnnamed3718(o.locations);
|
| + checkUnnamed3407(o.locations);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListLocationsResponse--;
|
| }
|
|
|
| -buildUnnamed3719() {
|
| +buildUnnamed3408() {
|
| var o = new core.List<api.Module>();
|
| o.add(buildModule());
|
| o.add(buildModule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3719(core.List<api.Module> o) {
|
| +checkUnnamed3408(core.List<api.Module> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkModule(o[0]);
|
| checkModule(o[1]);
|
| @@ -569,7 +569,7 @@ buildListModulesResponse() {
|
| var o = new api.ListModulesResponse();
|
| buildCounterListModulesResponse++;
|
| if (buildCounterListModulesResponse < 3) {
|
| - o.modules = buildUnnamed3719();
|
| + o.modules = buildUnnamed3408();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListModulesResponse--;
|
| @@ -579,20 +579,20 @@ buildListModulesResponse() {
|
| checkListModulesResponse(api.ListModulesResponse o) {
|
| buildCounterListModulesResponse++;
|
| if (buildCounterListModulesResponse < 3) {
|
| - checkUnnamed3719(o.modules);
|
| + checkUnnamed3408(o.modules);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListModulesResponse--;
|
| }
|
|
|
| -buildUnnamed3720() {
|
| +buildUnnamed3409() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3720(core.List<api.Operation> o) {
|
| +checkUnnamed3409(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -604,7 +604,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed3720();
|
| + o.operations = buildUnnamed3409();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -614,19 +614,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3720(o.operations);
|
| + checkUnnamed3409(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed3721() {
|
| +buildUnnamed3410() {
|
| var o = new core.List<api.Version>();
|
| o.add(buildVersion());
|
| o.add(buildVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3721(core.List<api.Version> o) {
|
| +checkUnnamed3410(core.List<api.Version> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVersion(o[0]);
|
| checkVersion(o[1]);
|
| @@ -638,7 +638,7 @@ buildListVersionsResponse() {
|
| buildCounterListVersionsResponse++;
|
| if (buildCounterListVersionsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.versions = buildUnnamed3721();
|
| + o.versions = buildUnnamed3410();
|
| }
|
| buildCounterListVersionsResponse--;
|
| return o;
|
| @@ -648,32 +648,32 @@ checkListVersionsResponse(api.ListVersionsResponse o) {
|
| buildCounterListVersionsResponse++;
|
| if (buildCounterListVersionsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3721(o.versions);
|
| + checkUnnamed3410(o.versions);
|
| }
|
| buildCounterListVersionsResponse--;
|
| }
|
|
|
| -buildUnnamed3722() {
|
| +buildUnnamed3411() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3722(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3411(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'));
|
| }
|
|
|
| -buildUnnamed3723() {
|
| +buildUnnamed3412() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3723(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3412(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'));
|
| @@ -684,8 +684,9 @@ buildLocation() {
|
| var o = new api.Location();
|
| buildCounterLocation++;
|
| if (buildCounterLocation < 3) {
|
| - o.labels = buildUnnamed3722();
|
| - o.metadata = buildUnnamed3723();
|
| + o.labels = buildUnnamed3411();
|
| + o.locationId = "foo";
|
| + o.metadata = buildUnnamed3412();
|
| o.name = "foo";
|
| }
|
| buildCounterLocation--;
|
| @@ -695,8 +696,9 @@ buildLocation() {
|
| checkLocation(api.Location o) {
|
| buildCounterLocation++;
|
| if (buildCounterLocation < 3) {
|
| - checkUnnamed3722(o.labels);
|
| - checkUnnamed3723(o.metadata);
|
| + checkUnnamed3411(o.labels);
|
| + unittest.expect(o.locationId, unittest.equals('foo'));
|
| + checkUnnamed3412(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLocation--;
|
| @@ -707,6 +709,8 @@ buildLocationMetadata() {
|
| var o = new api.LocationMetadata();
|
| buildCounterLocationMetadata++;
|
| if (buildCounterLocationMetadata < 3) {
|
| + o.flexibleEnvironmentAvailable = true;
|
| + o.standardEnvironmentAvailable = true;
|
| }
|
| buildCounterLocationMetadata--;
|
| return o;
|
| @@ -715,6 +719,8 @@ buildLocationMetadata() {
|
| checkLocationMetadata(api.LocationMetadata o) {
|
| buildCounterLocationMetadata++;
|
| if (buildCounterLocationMetadata < 3) {
|
| + unittest.expect(o.flexibleEnvironmentAvailable, unittest.isTrue);
|
| + unittest.expect(o.standardEnvironmentAvailable, unittest.isTrue);
|
| }
|
| buildCounterLocationMetadata--;
|
| }
|
| @@ -761,14 +767,14 @@ checkModule(api.Module o) {
|
| buildCounterModule--;
|
| }
|
|
|
| -buildUnnamed3724() {
|
| +buildUnnamed3413() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3724(core.List<core.String> o) {
|
| +checkUnnamed3413(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'));
|
| @@ -779,7 +785,7 @@ buildNetwork() {
|
| var o = new api.Network();
|
| buildCounterNetwork++;
|
| if (buildCounterNetwork < 3) {
|
| - o.forwardedPorts = buildUnnamed3724();
|
| + o.forwardedPorts = buildUnnamed3413();
|
| o.instanceTag = "foo";
|
| o.name = "foo";
|
| }
|
| @@ -790,7 +796,7 @@ buildNetwork() {
|
| checkNetwork(api.Network o) {
|
| buildCounterNetwork++;
|
| if (buildCounterNetwork < 3) {
|
| - checkUnnamed3724(o.forwardedPorts);
|
| + checkUnnamed3413(o.forwardedPorts);
|
| unittest.expect(o.instanceTag, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| @@ -822,27 +828,27 @@ checkNetworkUtilization(api.NetworkUtilization o) {
|
| buildCounterNetworkUtilization--;
|
| }
|
|
|
| -buildUnnamed3725() {
|
| +buildUnnamed3414() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3725(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3414(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'));
|
| }
|
|
|
| -buildUnnamed3726() {
|
| +buildUnnamed3415() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3726(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3415(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'));
|
| @@ -855,9 +861,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed3725();
|
| + o.metadata = buildUnnamed3414();
|
| o.name = "foo";
|
| - o.response = buildUnnamed3726();
|
| + o.response = buildUnnamed3415();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -868,9 +874,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed3725(o.metadata);
|
| + checkUnnamed3414(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3726(o.response);
|
| + checkUnnamed3415(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -1042,14 +1048,14 @@ checkSourceReference(api.SourceReference o) {
|
| buildCounterSourceReference--;
|
| }
|
|
|
| -buildUnnamed3727() {
|
| +buildUnnamed3416() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3727(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3416(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'));
|
| @@ -1063,7 +1069,7 @@ buildStaticDirectoryHandler() {
|
| o.applicationReadable = true;
|
| o.directory = "foo";
|
| o.expiration = "foo";
|
| - o.httpHeaders = buildUnnamed3727();
|
| + o.httpHeaders = buildUnnamed3416();
|
| o.mimeType = "foo";
|
| o.requireMatchingFile = true;
|
| }
|
| @@ -1077,21 +1083,21 @@ checkStaticDirectoryHandler(api.StaticDirectoryHandler o) {
|
| unittest.expect(o.applicationReadable, unittest.isTrue);
|
| unittest.expect(o.directory, unittest.equals('foo'));
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| - checkUnnamed3727(o.httpHeaders);
|
| + checkUnnamed3416(o.httpHeaders);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.requireMatchingFile, unittest.isTrue);
|
| }
|
| buildCounterStaticDirectoryHandler--;
|
| }
|
|
|
| -buildUnnamed3728() {
|
| +buildUnnamed3417() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3728(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3417(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'));
|
| @@ -1104,7 +1110,7 @@ buildStaticFilesHandler() {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| o.applicationReadable = true;
|
| o.expiration = "foo";
|
| - o.httpHeaders = buildUnnamed3728();
|
| + o.httpHeaders = buildUnnamed3417();
|
| o.mimeType = "foo";
|
| o.path = "foo";
|
| o.requireMatchingFile = true;
|
| @@ -1119,7 +1125,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| unittest.expect(o.applicationReadable, unittest.isTrue);
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| - checkUnnamed3728(o.httpHeaders);
|
| + checkUnnamed3417(o.httpHeaders);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| unittest.expect(o.requireMatchingFile, unittest.isTrue);
|
| @@ -1128,30 +1134,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| buildCounterStaticFilesHandler--;
|
| }
|
|
|
| -buildUnnamed3729() {
|
| +buildUnnamed3418() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3729(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3418(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'));
|
| }
|
|
|
| -buildUnnamed3730() {
|
| +buildUnnamed3419() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3729());
|
| - o.add(buildUnnamed3729());
|
| + o.add(buildUnnamed3418());
|
| + o.add(buildUnnamed3418());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3730(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3419(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3729(o[0]);
|
| - checkUnnamed3729(o[1]);
|
| + checkUnnamed3418(o[0]);
|
| + checkUnnamed3418(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1160,7 +1166,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed3730();
|
| + o.details = buildUnnamed3419();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1171,20 +1177,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed3730(o.details);
|
| + checkUnnamed3419(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed3731() {
|
| +buildUnnamed3420() {
|
| var o = new core.Map<core.String, core.double>();
|
| o["x"] = 42.0;
|
| o["y"] = 42.0;
|
| return o;
|
| }
|
|
|
| -checkUnnamed3731(core.Map<core.String, core.double> o) {
|
| +checkUnnamed3420(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));
|
| @@ -1195,7 +1201,7 @@ buildTrafficSplit() {
|
| var o = new api.TrafficSplit();
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - o.allocations = buildUnnamed3731();
|
| + o.allocations = buildUnnamed3420();
|
| o.shardBy = "foo";
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1205,7 +1211,7 @@ buildTrafficSplit() {
|
| checkTrafficSplit(api.TrafficSplit o) {
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - checkUnnamed3731(o.allocations);
|
| + checkUnnamed3420(o.allocations);
|
| unittest.expect(o.shardBy, unittest.equals('foo'));
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1269,79 +1275,79 @@ checkUrlMap(api.UrlMap o) {
|
| buildCounterUrlMap--;
|
| }
|
|
|
| -buildUnnamed3732() {
|
| +buildUnnamed3421() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3732(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3421(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'));
|
| }
|
|
|
| -buildUnnamed3733() {
|
| +buildUnnamed3422() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3733(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3422(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'));
|
| }
|
|
|
| -buildUnnamed3734() {
|
| +buildUnnamed3423() {
|
| var o = new core.List<api.ErrorHandler>();
|
| o.add(buildErrorHandler());
|
| o.add(buildErrorHandler());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3734(core.List<api.ErrorHandler> o) {
|
| +checkUnnamed3423(core.List<api.ErrorHandler> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorHandler(o[0]);
|
| checkErrorHandler(o[1]);
|
| }
|
|
|
| -buildUnnamed3735() {
|
| +buildUnnamed3424() {
|
| var o = new core.List<api.UrlMap>();
|
| o.add(buildUrlMap());
|
| o.add(buildUrlMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3735(core.List<api.UrlMap> o) {
|
| +checkUnnamed3424(core.List<api.UrlMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlMap(o[0]);
|
| checkUrlMap(o[1]);
|
| }
|
|
|
| -buildUnnamed3736() {
|
| +buildUnnamed3425() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3736(core.List<core.String> o) {
|
| +checkUnnamed3425(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'));
|
| }
|
|
|
| -buildUnnamed3737() {
|
| +buildUnnamed3426() {
|
| var o = new core.List<api.Library>();
|
| o.add(buildLibrary());
|
| o.add(buildLibrary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3737(core.List<api.Library> o) {
|
| +checkUnnamed3426(core.List<api.Library> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLibrary(o[0]);
|
| checkLibrary(o[1]);
|
| @@ -1355,20 +1361,20 @@ buildVersion() {
|
| o.apiConfig = buildApiConfigHandler();
|
| o.automaticScaling = buildAutomaticScaling();
|
| o.basicScaling = buildBasicScaling();
|
| - o.betaSettings = buildUnnamed3732();
|
| + o.betaSettings = buildUnnamed3421();
|
| o.creationTime = "foo";
|
| o.defaultExpiration = "foo";
|
| o.deployer = "foo";
|
| o.deployment = buildDeployment();
|
| o.env = "foo";
|
| - o.envVariables = buildUnnamed3733();
|
| - o.errorHandlers = buildUnnamed3734();
|
| - o.handlers = buildUnnamed3735();
|
| + o.envVariables = buildUnnamed3422();
|
| + o.errorHandlers = buildUnnamed3423();
|
| + o.handlers = buildUnnamed3424();
|
| o.healthCheck = buildHealthCheck();
|
| o.id = "foo";
|
| - o.inboundServices = buildUnnamed3736();
|
| + o.inboundServices = buildUnnamed3425();
|
| o.instanceClass = "foo";
|
| - o.libraries = buildUnnamed3737();
|
| + o.libraries = buildUnnamed3426();
|
| o.manualScaling = buildManualScaling();
|
| o.name = "foo";
|
| o.network = buildNetwork();
|
| @@ -1389,20 +1395,20 @@ checkVersion(api.Version o) {
|
| checkApiConfigHandler(o.apiConfig);
|
| checkAutomaticScaling(o.automaticScaling);
|
| checkBasicScaling(o.basicScaling);
|
| - checkUnnamed3732(o.betaSettings);
|
| + checkUnnamed3421(o.betaSettings);
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| unittest.expect(o.defaultExpiration, unittest.equals('foo'));
|
| unittest.expect(o.deployer, unittest.equals('foo'));
|
| checkDeployment(o.deployment);
|
| unittest.expect(o.env, unittest.equals('foo'));
|
| - checkUnnamed3733(o.envVariables);
|
| - checkUnnamed3734(o.errorHandlers);
|
| - checkUnnamed3735(o.handlers);
|
| + checkUnnamed3422(o.envVariables);
|
| + checkUnnamed3423(o.errorHandlers);
|
| + checkUnnamed3424(o.handlers);
|
| checkHealthCheck(o.healthCheck);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed3736(o.inboundServices);
|
| + checkUnnamed3425(o.inboundServices);
|
| unittest.expect(o.instanceClass, unittest.equals('foo'));
|
| - checkUnnamed3737(o.libraries);
|
| + checkUnnamed3426(o.libraries);
|
| checkManualScaling(o.manualScaling);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkNetwork(o.network);
|
|
|