| Index: generated/googleapis/test/discovery/v1_test.dart
|
| diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart
|
| index f0ba505bccab2bf2f7d68f9d9b36c920aeda9684..e97f3d65a59aebbb44e88c247523421bc5832f3b 100644
|
| --- a/generated/googleapis/test/discovery/v1_test.dart
|
| +++ b/generated/googleapis/test/discovery/v1_test.dart
|
| @@ -72,14 +72,14 @@ checkDirectoryListItemsIcons(api.DirectoryListItemsIcons o) {
|
| buildCounterDirectoryListItemsIcons--;
|
| }
|
|
|
| -buildUnnamed255() {
|
| +buildUnnamed330() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed255(core.List<core.String> o) {
|
| +checkUnnamed330(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'));
|
| @@ -97,7 +97,7 @@ buildDirectoryListItems() {
|
| o.icons = buildDirectoryListItemsIcons();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed255();
|
| + o.labels = buildUnnamed330();
|
| o.name = "foo";
|
| o.preferred = true;
|
| o.title = "foo";
|
| @@ -117,7 +117,7 @@ checkDirectoryListItems(api.DirectoryListItems o) {
|
| checkDirectoryListItemsIcons(o.icons);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed255(o.labels);
|
| + checkUnnamed330(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.preferred, unittest.isTrue);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| @@ -126,14 +126,14 @@ checkDirectoryListItems(api.DirectoryListItems o) {
|
| buildCounterDirectoryListItems--;
|
| }
|
|
|
| -buildUnnamed256() {
|
| +buildUnnamed331() {
|
| var o = new core.List<api.DirectoryListItems>();
|
| o.add(buildDirectoryListItems());
|
| o.add(buildDirectoryListItems());
|
| return o;
|
| }
|
|
|
| -checkUnnamed256(core.List<api.DirectoryListItems> o) {
|
| +checkUnnamed331(core.List<api.DirectoryListItems> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectoryListItems(o[0]);
|
| checkDirectoryListItems(o[1]);
|
| @@ -145,7 +145,7 @@ buildDirectoryList() {
|
| buildCounterDirectoryList++;
|
| if (buildCounterDirectoryList < 3) {
|
| o.discoveryVersion = "foo";
|
| - o.items = buildUnnamed256();
|
| + o.items = buildUnnamed331();
|
| o.kind = "foo";
|
| }
|
| buildCounterDirectoryList--;
|
| @@ -156,20 +156,20 @@ checkDirectoryList(api.DirectoryList o) {
|
| buildCounterDirectoryList++;
|
| if (buildCounterDirectoryList < 3) {
|
| unittest.expect(o.discoveryVersion, unittest.equals('foo'));
|
| - checkUnnamed256(o.items);
|
| + checkUnnamed331(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDirectoryList--;
|
| }
|
|
|
| -buildUnnamed257() {
|
| +buildUnnamed332() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed257(core.List<core.String> o) {
|
| +checkUnnamed332(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'));
|
| @@ -180,7 +180,7 @@ buildJsonSchemaAnnotations() {
|
| var o = new api.JsonSchemaAnnotations();
|
| buildCounterJsonSchemaAnnotations++;
|
| if (buildCounterJsonSchemaAnnotations < 3) {
|
| - o.required = buildUnnamed257();
|
| + o.required = buildUnnamed332();
|
| }
|
| buildCounterJsonSchemaAnnotations--;
|
| return o;
|
| @@ -189,45 +189,45 @@ buildJsonSchemaAnnotations() {
|
| checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
|
| buildCounterJsonSchemaAnnotations++;
|
| if (buildCounterJsonSchemaAnnotations < 3) {
|
| - checkUnnamed257(o.required);
|
| + checkUnnamed332(o.required);
|
| }
|
| buildCounterJsonSchemaAnnotations--;
|
| }
|
|
|
| -buildUnnamed258() {
|
| +buildUnnamed333() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed258(core.List<core.String> o) {
|
| +checkUnnamed333(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'));
|
| }
|
|
|
| -buildUnnamed259() {
|
| +buildUnnamed334() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed259(core.List<core.String> o) {
|
| +checkUnnamed334(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'));
|
| }
|
|
|
| -buildUnnamed260() {
|
| +buildUnnamed335() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed260(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed335(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| @@ -254,14 +254,14 @@ checkJsonSchemaVariantMap(api.JsonSchemaVariantMap o) {
|
| buildCounterJsonSchemaVariantMap--;
|
| }
|
|
|
| -buildUnnamed261() {
|
| +buildUnnamed336() {
|
| var o = new core.List<api.JsonSchemaVariantMap>();
|
| o.add(buildJsonSchemaVariantMap());
|
| o.add(buildJsonSchemaVariantMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed261(core.List<api.JsonSchemaVariantMap> o) {
|
| +checkUnnamed336(core.List<api.JsonSchemaVariantMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchemaVariantMap(o[0]);
|
| checkJsonSchemaVariantMap(o[1]);
|
| @@ -273,7 +273,7 @@ buildJsonSchemaVariant() {
|
| buildCounterJsonSchemaVariant++;
|
| if (buildCounterJsonSchemaVariant < 3) {
|
| o.discriminant = "foo";
|
| - o.map = buildUnnamed261();
|
| + o.map = buildUnnamed336();
|
| }
|
| buildCounterJsonSchemaVariant--;
|
| return o;
|
| @@ -283,7 +283,7 @@ checkJsonSchemaVariant(api.JsonSchemaVariant o) {
|
| buildCounterJsonSchemaVariant++;
|
| if (buildCounterJsonSchemaVariant < 3) {
|
| unittest.expect(o.discriminant, unittest.equals('foo'));
|
| - checkUnnamed261(o.map);
|
| + checkUnnamed336(o.map);
|
| }
|
| buildCounterJsonSchemaVariant--;
|
| }
|
| @@ -298,8 +298,8 @@ buildJsonSchema() {
|
| o.annotations = buildJsonSchemaAnnotations();
|
| o.default_ = "foo";
|
| o.description = "foo";
|
| - o.enum_ = buildUnnamed258();
|
| - o.enumDescriptions = buildUnnamed259();
|
| + o.enum_ = buildUnnamed333();
|
| + o.enumDescriptions = buildUnnamed334();
|
| o.format = "foo";
|
| o.id = "foo";
|
| o.items = buildJsonSchema();
|
| @@ -307,7 +307,7 @@ buildJsonSchema() {
|
| o.maximum = "foo";
|
| o.minimum = "foo";
|
| o.pattern = "foo";
|
| - o.properties = buildUnnamed260();
|
| + o.properties = buildUnnamed335();
|
| o.readOnly = true;
|
| o.repeated = true;
|
| o.required = true;
|
| @@ -326,8 +326,8 @@ checkJsonSchema(api.JsonSchema o) {
|
| checkJsonSchemaAnnotations(o.annotations);
|
| unittest.expect(o.default_, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed258(o.enum_);
|
| - checkUnnamed259(o.enumDescriptions);
|
| + checkUnnamed333(o.enum_);
|
| + checkUnnamed334(o.enumDescriptions);
|
| unittest.expect(o.format, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkJsonSchema(o.items);
|
| @@ -335,7 +335,7 @@ checkJsonSchema(api.JsonSchema o) {
|
| unittest.expect(o.maximum, unittest.equals('foo'));
|
| unittest.expect(o.minimum, unittest.equals('foo'));
|
| unittest.expect(o.pattern, unittest.equals('foo'));
|
| - checkUnnamed260(o.properties);
|
| + checkUnnamed335(o.properties);
|
| unittest.expect(o.readOnly, unittest.isTrue);
|
| unittest.expect(o.repeated, unittest.isTrue);
|
| unittest.expect(o.required, unittest.isTrue);
|
| @@ -364,14 +364,14 @@ checkRestDescriptionAuthOauth2ScopesValue(api.RestDescriptionAuthOauth2ScopesVal
|
| buildCounterRestDescriptionAuthOauth2ScopesValue--;
|
| }
|
|
|
| -buildUnnamed262() {
|
| +buildUnnamed337() {
|
| var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
|
| o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
|
| o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed262(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
|
| +checkUnnamed337(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
|
| checkRestDescriptionAuthOauth2ScopesValue(o["y"]);
|
| @@ -382,7 +382,7 @@ buildRestDescriptionAuthOauth2() {
|
| var o = new api.RestDescriptionAuthOauth2();
|
| buildCounterRestDescriptionAuthOauth2++;
|
| if (buildCounterRestDescriptionAuthOauth2 < 3) {
|
| - o.scopes = buildUnnamed262();
|
| + o.scopes = buildUnnamed337();
|
| }
|
| buildCounterRestDescriptionAuthOauth2--;
|
| return o;
|
| @@ -391,7 +391,7 @@ buildRestDescriptionAuthOauth2() {
|
| checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
|
| buildCounterRestDescriptionAuthOauth2++;
|
| if (buildCounterRestDescriptionAuthOauth2 < 3) {
|
| - checkUnnamed262(o.scopes);
|
| + checkUnnamed337(o.scopes);
|
| }
|
| buildCounterRestDescriptionAuthOauth2--;
|
| }
|
| @@ -415,14 +415,14 @@ checkRestDescriptionAuth(api.RestDescriptionAuth o) {
|
| buildCounterRestDescriptionAuth--;
|
| }
|
|
|
| -buildUnnamed263() {
|
| +buildUnnamed338() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed263(core.List<core.String> o) {
|
| +checkUnnamed338(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'));
|
| @@ -449,66 +449,66 @@ checkRestDescriptionIcons(api.RestDescriptionIcons o) {
|
| buildCounterRestDescriptionIcons--;
|
| }
|
|
|
| -buildUnnamed264() {
|
| +buildUnnamed339() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed264(core.List<core.String> o) {
|
| +checkUnnamed339(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'));
|
| }
|
|
|
| -buildUnnamed265() {
|
| +buildUnnamed340() {
|
| var o = new core.Map<core.String, api.RestMethod>();
|
| o["x"] = buildRestMethod();
|
| o["y"] = buildRestMethod();
|
| return o;
|
| }
|
|
|
| -checkUnnamed265(core.Map<core.String, api.RestMethod> o) {
|
| +checkUnnamed340(core.Map<core.String, api.RestMethod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestMethod(o["x"]);
|
| checkRestMethod(o["y"]);
|
| }
|
|
|
| -buildUnnamed266() {
|
| +buildUnnamed341() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed266(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed341(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| }
|
|
|
| -buildUnnamed267() {
|
| +buildUnnamed342() {
|
| var o = new core.Map<core.String, api.RestResource>();
|
| o["x"] = buildRestResource();
|
| o["y"] = buildRestResource();
|
| return o;
|
| }
|
|
|
| -checkUnnamed267(core.Map<core.String, api.RestResource> o) {
|
| +checkUnnamed342(core.Map<core.String, api.RestResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestResource(o["x"]);
|
| checkRestResource(o["y"]);
|
| }
|
|
|
| -buildUnnamed268() {
|
| +buildUnnamed343() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed268(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed343(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| @@ -529,22 +529,22 @@ buildRestDescription() {
|
| o.documentationLink = "foo";
|
| o.etag = "foo";
|
| o.exponentialBackoffDefault = true;
|
| - o.features = buildUnnamed263();
|
| + o.features = buildUnnamed338();
|
| o.icons = buildRestDescriptionIcons();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed264();
|
| - o.methods = buildUnnamed265();
|
| + o.labels = buildUnnamed339();
|
| + o.methods = buildUnnamed340();
|
| o.name = "foo";
|
| o.ownerDomain = "foo";
|
| o.ownerName = "foo";
|
| o.packagePath = "foo";
|
| - o.parameters = buildUnnamed266();
|
| + o.parameters = buildUnnamed341();
|
| o.protocol = "foo";
|
| - o.resources = buildUnnamed267();
|
| + o.resources = buildUnnamed342();
|
| o.revision = "foo";
|
| o.rootUrl = "foo";
|
| - o.schemas = buildUnnamed268();
|
| + o.schemas = buildUnnamed343();
|
| o.servicePath = "foo";
|
| o.title = "foo";
|
| o.version = "foo";
|
| @@ -567,22 +567,22 @@ checkRestDescription(api.RestDescription o) {
|
| unittest.expect(o.documentationLink, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.exponentialBackoffDefault, unittest.isTrue);
|
| - checkUnnamed263(o.features);
|
| + checkUnnamed338(o.features);
|
| checkRestDescriptionIcons(o.icons);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed264(o.labels);
|
| - checkUnnamed265(o.methods);
|
| + checkUnnamed339(o.labels);
|
| + checkUnnamed340(o.methods);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.ownerDomain, unittest.equals('foo'));
|
| unittest.expect(o.ownerName, unittest.equals('foo'));
|
| unittest.expect(o.packagePath, unittest.equals('foo'));
|
| - checkUnnamed266(o.parameters);
|
| + checkUnnamed341(o.parameters);
|
| unittest.expect(o.protocol, unittest.equals('foo'));
|
| - checkUnnamed267(o.resources);
|
| + checkUnnamed342(o.resources);
|
| unittest.expect(o.revision, unittest.equals('foo'));
|
| unittest.expect(o.rootUrl, unittest.equals('foo'));
|
| - checkUnnamed268(o.schemas);
|
| + checkUnnamed343(o.schemas);
|
| unittest.expect(o.servicePath, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals('foo'));
|
| @@ -591,14 +591,14 @@ checkRestDescription(api.RestDescription o) {
|
| buildCounterRestDescription--;
|
| }
|
|
|
| -buildUnnamed269() {
|
| +buildUnnamed344() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed269(core.List<core.String> o) {
|
| +checkUnnamed344(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'));
|
| @@ -672,7 +672,7 @@ buildRestMethodMediaUpload() {
|
| var o = new api.RestMethodMediaUpload();
|
| buildCounterRestMethodMediaUpload++;
|
| if (buildCounterRestMethodMediaUpload < 3) {
|
| - o.accept = buildUnnamed269();
|
| + o.accept = buildUnnamed344();
|
| o.maxSize = "foo";
|
| o.protocols = buildRestMethodMediaUploadProtocols();
|
| }
|
| @@ -683,34 +683,34 @@ buildRestMethodMediaUpload() {
|
| checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
|
| buildCounterRestMethodMediaUpload++;
|
| if (buildCounterRestMethodMediaUpload < 3) {
|
| - checkUnnamed269(o.accept);
|
| + checkUnnamed344(o.accept);
|
| unittest.expect(o.maxSize, unittest.equals('foo'));
|
| checkRestMethodMediaUploadProtocols(o.protocols);
|
| }
|
| buildCounterRestMethodMediaUpload--;
|
| }
|
|
|
| -buildUnnamed270() {
|
| +buildUnnamed345() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed270(core.List<core.String> o) {
|
| +checkUnnamed345(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'));
|
| }
|
|
|
| -buildUnnamed271() {
|
| +buildUnnamed346() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed271(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed346(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| @@ -756,14 +756,14 @@ checkRestMethodResponse(api.RestMethodResponse o) {
|
| buildCounterRestMethodResponse--;
|
| }
|
|
|
| -buildUnnamed272() {
|
| +buildUnnamed347() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed272(core.List<core.String> o) {
|
| +checkUnnamed347(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,12 +779,12 @@ buildRestMethod() {
|
| o.httpMethod = "foo";
|
| o.id = "foo";
|
| o.mediaUpload = buildRestMethodMediaUpload();
|
| - o.parameterOrder = buildUnnamed270();
|
| - o.parameters = buildUnnamed271();
|
| + o.parameterOrder = buildUnnamed345();
|
| + o.parameters = buildUnnamed346();
|
| o.path = "foo";
|
| o.request = buildRestMethodRequest();
|
| o.response = buildRestMethodResponse();
|
| - o.scopes = buildUnnamed272();
|
| + o.scopes = buildUnnamed347();
|
| o.supportsMediaDownload = true;
|
| o.supportsMediaUpload = true;
|
| o.supportsSubscription = true;
|
| @@ -802,12 +802,12 @@ checkRestMethod(api.RestMethod o) {
|
| unittest.expect(o.httpMethod, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkRestMethodMediaUpload(o.mediaUpload);
|
| - checkUnnamed270(o.parameterOrder);
|
| - checkUnnamed271(o.parameters);
|
| + checkUnnamed345(o.parameterOrder);
|
| + checkUnnamed346(o.parameters);
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| checkRestMethodRequest(o.request);
|
| checkRestMethodResponse(o.response);
|
| - checkUnnamed272(o.scopes);
|
| + checkUnnamed347(o.scopes);
|
| unittest.expect(o.supportsMediaDownload, unittest.isTrue);
|
| unittest.expect(o.supportsMediaUpload, unittest.isTrue);
|
| unittest.expect(o.supportsSubscription, unittest.isTrue);
|
| @@ -816,27 +816,27 @@ checkRestMethod(api.RestMethod o) {
|
| buildCounterRestMethod--;
|
| }
|
|
|
| -buildUnnamed273() {
|
| +buildUnnamed348() {
|
| var o = new core.Map<core.String, api.RestMethod>();
|
| o["x"] = buildRestMethod();
|
| o["y"] = buildRestMethod();
|
| return o;
|
| }
|
|
|
| -checkUnnamed273(core.Map<core.String, api.RestMethod> o) {
|
| +checkUnnamed348(core.Map<core.String, api.RestMethod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestMethod(o["x"]);
|
| checkRestMethod(o["y"]);
|
| }
|
|
|
| -buildUnnamed274() {
|
| +buildUnnamed349() {
|
| var o = new core.Map<core.String, api.RestResource>();
|
| o["x"] = buildRestResource();
|
| o["y"] = buildRestResource();
|
| return o;
|
| }
|
|
|
| -checkUnnamed274(core.Map<core.String, api.RestResource> o) {
|
| +checkUnnamed349(core.Map<core.String, api.RestResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestResource(o["x"]);
|
| checkRestResource(o["y"]);
|
| @@ -847,8 +847,8 @@ buildRestResource() {
|
| var o = new api.RestResource();
|
| buildCounterRestResource++;
|
| if (buildCounterRestResource < 3) {
|
| - o.methods = buildUnnamed273();
|
| - o.resources = buildUnnamed274();
|
| + o.methods = buildUnnamed348();
|
| + o.resources = buildUnnamed349();
|
| }
|
| buildCounterRestResource--;
|
| return o;
|
| @@ -857,8 +857,8 @@ buildRestResource() {
|
| checkRestResource(api.RestResource o) {
|
| buildCounterRestResource++;
|
| if (buildCounterRestResource < 3) {
|
| - checkUnnamed273(o.methods);
|
| - checkUnnamed274(o.resources);
|
| + checkUnnamed348(o.methods);
|
| + checkUnnamed349(o.resources);
|
| }
|
| buildCounterRestResource--;
|
| }
|
|
|