| 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 e888216da056ed643ceafe00fbe5d5bbac282b07..91b4abb47f26b50afa740d0078b3dd1afe1aed66 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--;
|
| }
|
|
|
| -buildUnnamed3753() {
|
| +buildUnnamed3845() {
|
| var o = new core.List<api.UrlDispatchRule>();
|
| o.add(buildUrlDispatchRule());
|
| o.add(buildUrlDispatchRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3753(core.List<api.UrlDispatchRule> o) {
|
| +checkUnnamed3845(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 = buildUnnamed3753();
|
| + o.dispatchRules = buildUnnamed3845();
|
| 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'));
|
| - checkUnnamed3753(o.dispatchRules);
|
| + checkUnnamed3845(o.dispatchRules);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.location, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -266,27 +266,27 @@ checkDebugInstanceRequest(api.DebugInstanceRequest o) {
|
| buildCounterDebugInstanceRequest--;
|
| }
|
|
|
| -buildUnnamed3754() {
|
| +buildUnnamed3846() {
|
| var o = new core.Map<core.String, api.FileInfo>();
|
| o["x"] = buildFileInfo();
|
| o["y"] = buildFileInfo();
|
| return o;
|
| }
|
|
|
| -checkUnnamed3754(core.Map<core.String, api.FileInfo> o) {
|
| +checkUnnamed3846(core.Map<core.String, api.FileInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFileInfo(o["x"]);
|
| checkFileInfo(o["y"]);
|
| }
|
|
|
| -buildUnnamed3755() {
|
| +buildUnnamed3847() {
|
| var o = new core.List<api.SourceReference>();
|
| o.add(buildSourceReference());
|
| o.add(buildSourceReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3755(core.List<api.SourceReference> o) {
|
| +checkUnnamed3847(core.List<api.SourceReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSourceReference(o[0]);
|
| checkSourceReference(o[1]);
|
| @@ -298,8 +298,8 @@ buildDeployment() {
|
| buildCounterDeployment++;
|
| if (buildCounterDeployment < 3) {
|
| o.container = buildContainerInfo();
|
| - o.files = buildUnnamed3754();
|
| - o.sourceReferences = buildUnnamed3755();
|
| + o.files = buildUnnamed3846();
|
| + o.sourceReferences = buildUnnamed3847();
|
| }
|
| buildCounterDeployment--;
|
| return o;
|
| @@ -309,8 +309,8 @@ checkDeployment(api.Deployment o) {
|
| buildCounterDeployment++;
|
| if (buildCounterDeployment < 3) {
|
| checkContainerInfo(o.container);
|
| - checkUnnamed3754(o.files);
|
| - checkUnnamed3755(o.sourceReferences);
|
| + checkUnnamed3846(o.files);
|
| + checkUnnamed3847(o.sourceReferences);
|
| }
|
| buildCounterDeployment--;
|
| }
|
| @@ -487,14 +487,14 @@ checkLibrary(api.Library o) {
|
| buildCounterLibrary--;
|
| }
|
|
|
| -buildUnnamed3756() {
|
| +buildUnnamed3848() {
|
| var o = new core.List<api.Instance>();
|
| o.add(buildInstance());
|
| o.add(buildInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3756(core.List<api.Instance> o) {
|
| +checkUnnamed3848(core.List<api.Instance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstance(o[0]);
|
| checkInstance(o[1]);
|
| @@ -505,7 +505,7 @@ buildListInstancesResponse() {
|
| var o = new api.ListInstancesResponse();
|
| buildCounterListInstancesResponse++;
|
| if (buildCounterListInstancesResponse < 3) {
|
| - o.instances = buildUnnamed3756();
|
| + o.instances = buildUnnamed3848();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListInstancesResponse--;
|
| @@ -515,20 +515,20 @@ buildListInstancesResponse() {
|
| checkListInstancesResponse(api.ListInstancesResponse o) {
|
| buildCounterListInstancesResponse++;
|
| if (buildCounterListInstancesResponse < 3) {
|
| - checkUnnamed3756(o.instances);
|
| + checkUnnamed3848(o.instances);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListInstancesResponse--;
|
| }
|
|
|
| -buildUnnamed3757() {
|
| +buildUnnamed3849() {
|
| var o = new core.List<api.Location>();
|
| o.add(buildLocation());
|
| o.add(buildLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3757(core.List<api.Location> o) {
|
| +checkUnnamed3849(core.List<api.Location> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLocation(o[0]);
|
| checkLocation(o[1]);
|
| @@ -539,7 +539,7 @@ buildListLocationsResponse() {
|
| var o = new api.ListLocationsResponse();
|
| buildCounterListLocationsResponse++;
|
| if (buildCounterListLocationsResponse < 3) {
|
| - o.locations = buildUnnamed3757();
|
| + o.locations = buildUnnamed3849();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListLocationsResponse--;
|
| @@ -549,20 +549,20 @@ buildListLocationsResponse() {
|
| checkListLocationsResponse(api.ListLocationsResponse o) {
|
| buildCounterListLocationsResponse++;
|
| if (buildCounterListLocationsResponse < 3) {
|
| - checkUnnamed3757(o.locations);
|
| + checkUnnamed3849(o.locations);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListLocationsResponse--;
|
| }
|
|
|
| -buildUnnamed3758() {
|
| +buildUnnamed3850() {
|
| var o = new core.List<api.Module>();
|
| o.add(buildModule());
|
| o.add(buildModule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3758(core.List<api.Module> o) {
|
| +checkUnnamed3850(core.List<api.Module> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkModule(o[0]);
|
| checkModule(o[1]);
|
| @@ -573,7 +573,7 @@ buildListModulesResponse() {
|
| var o = new api.ListModulesResponse();
|
| buildCounterListModulesResponse++;
|
| if (buildCounterListModulesResponse < 3) {
|
| - o.modules = buildUnnamed3758();
|
| + o.modules = buildUnnamed3850();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListModulesResponse--;
|
| @@ -583,20 +583,20 @@ buildListModulesResponse() {
|
| checkListModulesResponse(api.ListModulesResponse o) {
|
| buildCounterListModulesResponse++;
|
| if (buildCounterListModulesResponse < 3) {
|
| - checkUnnamed3758(o.modules);
|
| + checkUnnamed3850(o.modules);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListModulesResponse--;
|
| }
|
|
|
| -buildUnnamed3759() {
|
| +buildUnnamed3851() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3759(core.List<api.Operation> o) {
|
| +checkUnnamed3851(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -608,7 +608,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed3759();
|
| + o.operations = buildUnnamed3851();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -618,19 +618,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3759(o.operations);
|
| + checkUnnamed3851(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed3760() {
|
| +buildUnnamed3852() {
|
| var o = new core.List<api.Version>();
|
| o.add(buildVersion());
|
| o.add(buildVersion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3760(core.List<api.Version> o) {
|
| +checkUnnamed3852(core.List<api.Version> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVersion(o[0]);
|
| checkVersion(o[1]);
|
| @@ -642,7 +642,7 @@ buildListVersionsResponse() {
|
| buildCounterListVersionsResponse++;
|
| if (buildCounterListVersionsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.versions = buildUnnamed3760();
|
| + o.versions = buildUnnamed3852();
|
| }
|
| buildCounterListVersionsResponse--;
|
| return o;
|
| @@ -652,32 +652,32 @@ checkListVersionsResponse(api.ListVersionsResponse o) {
|
| buildCounterListVersionsResponse++;
|
| if (buildCounterListVersionsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3760(o.versions);
|
| + checkUnnamed3852(o.versions);
|
| }
|
| buildCounterListVersionsResponse--;
|
| }
|
|
|
| -buildUnnamed3761() {
|
| +buildUnnamed3853() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3761(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3853(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'));
|
| }
|
|
|
| -buildUnnamed3762() {
|
| +buildUnnamed3854() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3762(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3854(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'));
|
| @@ -688,9 +688,9 @@ buildLocation() {
|
| var o = new api.Location();
|
| buildCounterLocation++;
|
| if (buildCounterLocation < 3) {
|
| - o.labels = buildUnnamed3761();
|
| + o.labels = buildUnnamed3853();
|
| o.locationId = "foo";
|
| - o.metadata = buildUnnamed3762();
|
| + o.metadata = buildUnnamed3854();
|
| o.name = "foo";
|
| }
|
| buildCounterLocation--;
|
| @@ -700,9 +700,9 @@ buildLocation() {
|
| checkLocation(api.Location o) {
|
| buildCounterLocation++;
|
| if (buildCounterLocation < 3) {
|
| - checkUnnamed3761(o.labels);
|
| + checkUnnamed3853(o.labels);
|
| unittest.expect(o.locationId, unittest.equals('foo'));
|
| - checkUnnamed3762(o.metadata);
|
| + checkUnnamed3854(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLocation--;
|
| @@ -771,14 +771,14 @@ checkModule(api.Module o) {
|
| buildCounterModule--;
|
| }
|
|
|
| -buildUnnamed3763() {
|
| +buildUnnamed3855() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3763(core.List<core.String> o) {
|
| +checkUnnamed3855(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'));
|
| @@ -789,7 +789,7 @@ buildNetwork() {
|
| var o = new api.Network();
|
| buildCounterNetwork++;
|
| if (buildCounterNetwork < 3) {
|
| - o.forwardedPorts = buildUnnamed3763();
|
| + o.forwardedPorts = buildUnnamed3855();
|
| o.instanceTag = "foo";
|
| o.name = "foo";
|
| }
|
| @@ -800,7 +800,7 @@ buildNetwork() {
|
| checkNetwork(api.Network o) {
|
| buildCounterNetwork++;
|
| if (buildCounterNetwork < 3) {
|
| - checkUnnamed3763(o.forwardedPorts);
|
| + checkUnnamed3855(o.forwardedPorts);
|
| unittest.expect(o.instanceTag, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| @@ -832,27 +832,27 @@ checkNetworkUtilization(api.NetworkUtilization o) {
|
| buildCounterNetworkUtilization--;
|
| }
|
|
|
| -buildUnnamed3764() {
|
| +buildUnnamed3856() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3764(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3856(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'));
|
| }
|
|
|
| -buildUnnamed3765() {
|
| +buildUnnamed3857() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3765(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3857(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'));
|
| @@ -865,9 +865,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed3764();
|
| + o.metadata = buildUnnamed3856();
|
| o.name = "foo";
|
| - o.response = buildUnnamed3765();
|
| + o.response = buildUnnamed3857();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -878,9 +878,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed3764(o.metadata);
|
| + checkUnnamed3856(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3765(o.response);
|
| + checkUnnamed3857(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -941,14 +941,14 @@ checkOperationMetadataExperimental(api.OperationMetadataExperimental o) {
|
| buildCounterOperationMetadataExperimental--;
|
| }
|
|
|
| -buildUnnamed3766() {
|
| +buildUnnamed3858() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3766(core.List<core.String> o) {
|
| +checkUnnamed3858(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'));
|
| @@ -965,7 +965,7 @@ buildOperationMetadataV1() {
|
| o.method = "foo";
|
| o.target = "foo";
|
| o.user = "foo";
|
| - o.warning = buildUnnamed3766();
|
| + o.warning = buildUnnamed3858();
|
| }
|
| buildCounterOperationMetadataV1--;
|
| return o;
|
| @@ -980,7 +980,7 @@ 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'));
|
| - checkUnnamed3766(o.warning);
|
| + checkUnnamed3858(o.warning);
|
| }
|
| buildCounterOperationMetadataV1--;
|
| }
|
| @@ -1033,14 +1033,14 @@ checkRequestUtilization(api.RequestUtilization o) {
|
| buildCounterRequestUtilization--;
|
| }
|
|
|
| -buildUnnamed3767() {
|
| +buildUnnamed3859() {
|
| var o = new core.List<api.Volume>();
|
| o.add(buildVolume());
|
| o.add(buildVolume());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3767(core.List<api.Volume> o) {
|
| +checkUnnamed3859(core.List<api.Volume> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolume(o[0]);
|
| checkVolume(o[1]);
|
| @@ -1054,7 +1054,7 @@ buildResources() {
|
| o.cpu = 42.0;
|
| o.diskGb = 42.0;
|
| o.memoryGb = 42.0;
|
| - o.volumes = buildUnnamed3767();
|
| + o.volumes = buildUnnamed3859();
|
| }
|
| buildCounterResources--;
|
| return o;
|
| @@ -1066,7 +1066,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));
|
| - checkUnnamed3767(o.volumes);
|
| + checkUnnamed3859(o.volumes);
|
| }
|
| buildCounterResources--;
|
| }
|
| @@ -1111,14 +1111,14 @@ checkSourceReference(api.SourceReference o) {
|
| buildCounterSourceReference--;
|
| }
|
|
|
| -buildUnnamed3768() {
|
| +buildUnnamed3860() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3768(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3860(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'));
|
| @@ -1132,7 +1132,7 @@ buildStaticDirectoryHandler() {
|
| o.applicationReadable = true;
|
| o.directory = "foo";
|
| o.expiration = "foo";
|
| - o.httpHeaders = buildUnnamed3768();
|
| + o.httpHeaders = buildUnnamed3860();
|
| o.mimeType = "foo";
|
| o.requireMatchingFile = true;
|
| }
|
| @@ -1146,21 +1146,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'));
|
| - checkUnnamed3768(o.httpHeaders);
|
| + checkUnnamed3860(o.httpHeaders);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.requireMatchingFile, unittest.isTrue);
|
| }
|
| buildCounterStaticDirectoryHandler--;
|
| }
|
|
|
| -buildUnnamed3769() {
|
| +buildUnnamed3861() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3769(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3861(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'));
|
| @@ -1173,7 +1173,7 @@ buildStaticFilesHandler() {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| o.applicationReadable = true;
|
| o.expiration = "foo";
|
| - o.httpHeaders = buildUnnamed3769();
|
| + o.httpHeaders = buildUnnamed3861();
|
| o.mimeType = "foo";
|
| o.path = "foo";
|
| o.requireMatchingFile = true;
|
| @@ -1188,7 +1188,7 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| if (buildCounterStaticFilesHandler < 3) {
|
| unittest.expect(o.applicationReadable, unittest.isTrue);
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| - checkUnnamed3769(o.httpHeaders);
|
| + checkUnnamed3861(o.httpHeaders);
|
| unittest.expect(o.mimeType, unittest.equals('foo'));
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| unittest.expect(o.requireMatchingFile, unittest.isTrue);
|
| @@ -1197,30 +1197,30 @@ checkStaticFilesHandler(api.StaticFilesHandler o) {
|
| buildCounterStaticFilesHandler--;
|
| }
|
|
|
| -buildUnnamed3770() {
|
| +buildUnnamed3862() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3770(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3862(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'));
|
| }
|
|
|
| -buildUnnamed3771() {
|
| +buildUnnamed3863() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3770());
|
| - o.add(buildUnnamed3770());
|
| + o.add(buildUnnamed3862());
|
| + o.add(buildUnnamed3862());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3771(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3863(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3770(o[0]);
|
| - checkUnnamed3770(o[1]);
|
| + checkUnnamed3862(o[0]);
|
| + checkUnnamed3862(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1229,7 +1229,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed3771();
|
| + o.details = buildUnnamed3863();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1240,20 +1240,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed3771(o.details);
|
| + checkUnnamed3863(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed3772() {
|
| +buildUnnamed3864() {
|
| var o = new core.Map<core.String, core.double>();
|
| o["x"] = 42.0;
|
| o["y"] = 42.0;
|
| return o;
|
| }
|
|
|
| -checkUnnamed3772(core.Map<core.String, core.double> o) {
|
| +checkUnnamed3864(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));
|
| @@ -1264,7 +1264,7 @@ buildTrafficSplit() {
|
| var o = new api.TrafficSplit();
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - o.allocations = buildUnnamed3772();
|
| + o.allocations = buildUnnamed3864();
|
| o.shardBy = "foo";
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1274,7 +1274,7 @@ buildTrafficSplit() {
|
| checkTrafficSplit(api.TrafficSplit o) {
|
| buildCounterTrafficSplit++;
|
| if (buildCounterTrafficSplit < 3) {
|
| - checkUnnamed3772(o.allocations);
|
| + checkUnnamed3864(o.allocations);
|
| unittest.expect(o.shardBy, unittest.equals('foo'));
|
| }
|
| buildCounterTrafficSplit--;
|
| @@ -1338,79 +1338,79 @@ checkUrlMap(api.UrlMap o) {
|
| buildCounterUrlMap--;
|
| }
|
|
|
| -buildUnnamed3773() {
|
| +buildUnnamed3865() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3773(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3865(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'));
|
| }
|
|
|
| -buildUnnamed3774() {
|
| +buildUnnamed3866() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3774(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3866(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'));
|
| }
|
|
|
| -buildUnnamed3775() {
|
| +buildUnnamed3867() {
|
| var o = new core.List<api.ErrorHandler>();
|
| o.add(buildErrorHandler());
|
| o.add(buildErrorHandler());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3775(core.List<api.ErrorHandler> o) {
|
| +checkUnnamed3867(core.List<api.ErrorHandler> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorHandler(o[0]);
|
| checkErrorHandler(o[1]);
|
| }
|
|
|
| -buildUnnamed3776() {
|
| +buildUnnamed3868() {
|
| var o = new core.List<api.UrlMap>();
|
| o.add(buildUrlMap());
|
| o.add(buildUrlMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3776(core.List<api.UrlMap> o) {
|
| +checkUnnamed3868(core.List<api.UrlMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlMap(o[0]);
|
| checkUrlMap(o[1]);
|
| }
|
|
|
| -buildUnnamed3777() {
|
| +buildUnnamed3869() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3777(core.List<core.String> o) {
|
| +checkUnnamed3869(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'));
|
| }
|
|
|
| -buildUnnamed3778() {
|
| +buildUnnamed3870() {
|
| var o = new core.List<api.Library>();
|
| o.add(buildLibrary());
|
| o.add(buildLibrary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3778(core.List<api.Library> o) {
|
| +checkUnnamed3870(core.List<api.Library> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLibrary(o[0]);
|
| checkLibrary(o[1]);
|
| @@ -1424,20 +1424,20 @@ buildVersion() {
|
| o.apiConfig = buildApiConfigHandler();
|
| o.automaticScaling = buildAutomaticScaling();
|
| o.basicScaling = buildBasicScaling();
|
| - o.betaSettings = buildUnnamed3773();
|
| + o.betaSettings = buildUnnamed3865();
|
| o.creationTime = "foo";
|
| o.defaultExpiration = "foo";
|
| o.deployer = "foo";
|
| o.deployment = buildDeployment();
|
| o.env = "foo";
|
| - o.envVariables = buildUnnamed3774();
|
| - o.errorHandlers = buildUnnamed3775();
|
| - o.handlers = buildUnnamed3776();
|
| + o.envVariables = buildUnnamed3866();
|
| + o.errorHandlers = buildUnnamed3867();
|
| + o.handlers = buildUnnamed3868();
|
| o.healthCheck = buildHealthCheck();
|
| o.id = "foo";
|
| - o.inboundServices = buildUnnamed3777();
|
| + o.inboundServices = buildUnnamed3869();
|
| o.instanceClass = "foo";
|
| - o.libraries = buildUnnamed3778();
|
| + o.libraries = buildUnnamed3870();
|
| o.manualScaling = buildManualScaling();
|
| o.name = "foo";
|
| o.network = buildNetwork();
|
| @@ -1458,20 +1458,20 @@ checkVersion(api.Version o) {
|
| checkApiConfigHandler(o.apiConfig);
|
| checkAutomaticScaling(o.automaticScaling);
|
| checkBasicScaling(o.basicScaling);
|
| - checkUnnamed3773(o.betaSettings);
|
| + checkUnnamed3865(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'));
|
| - checkUnnamed3774(o.envVariables);
|
| - checkUnnamed3775(o.errorHandlers);
|
| - checkUnnamed3776(o.handlers);
|
| + checkUnnamed3866(o.envVariables);
|
| + checkUnnamed3867(o.errorHandlers);
|
| + checkUnnamed3868(o.handlers);
|
| checkHealthCheck(o.healthCheck);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed3777(o.inboundServices);
|
| + checkUnnamed3869(o.inboundServices);
|
| unittest.expect(o.instanceClass, unittest.equals('foo'));
|
| - checkUnnamed3778(o.libraries);
|
| + checkUnnamed3870(o.libraries);
|
| checkManualScaling(o.manualScaling);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkNetwork(o.network);
|
|
|