| 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 b29a948948a44014f69b9ae2cc100ca0e8fd5acb..aac9cbf14dd5b8974f1507eafc88eb2cf2f4782f 100644
|
| --- a/generated/googleapis/test/discovery/v1_test.dart
|
| +++ b/generated/googleapis/test/discovery/v1_test.dart
|
| @@ -37,14 +37,14 @@ checkDirectoryListItemsIcons(api.DirectoryListItemsIcons o) {
|
| buildCounterDirectoryListItemsIcons--;
|
| }
|
|
|
| -buildUnnamed680() {
|
| +buildUnnamed276() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed680(core.List<core.String> o) {
|
| +checkUnnamed276(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'));
|
| @@ -62,7 +62,7 @@ buildDirectoryListItems() {
|
| o.icons = buildDirectoryListItemsIcons();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed680();
|
| + o.labels = buildUnnamed276();
|
| o.name = "foo";
|
| o.preferred = true;
|
| o.title = "foo";
|
| @@ -82,7 +82,7 @@ checkDirectoryListItems(api.DirectoryListItems o) {
|
| checkDirectoryListItemsIcons(o.icons);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed680(o.labels);
|
| + checkUnnamed276(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.preferred, unittest.isTrue);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| @@ -91,14 +91,14 @@ checkDirectoryListItems(api.DirectoryListItems o) {
|
| buildCounterDirectoryListItems--;
|
| }
|
|
|
| -buildUnnamed681() {
|
| +buildUnnamed277() {
|
| var o = new core.List<api.DirectoryListItems>();
|
| o.add(buildDirectoryListItems());
|
| o.add(buildDirectoryListItems());
|
| return o;
|
| }
|
|
|
| -checkUnnamed681(core.List<api.DirectoryListItems> o) {
|
| +checkUnnamed277(core.List<api.DirectoryListItems> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDirectoryListItems(o[0]);
|
| checkDirectoryListItems(o[1]);
|
| @@ -110,7 +110,7 @@ buildDirectoryList() {
|
| buildCounterDirectoryList++;
|
| if (buildCounterDirectoryList < 3) {
|
| o.discoveryVersion = "foo";
|
| - o.items = buildUnnamed681();
|
| + o.items = buildUnnamed277();
|
| o.kind = "foo";
|
| }
|
| buildCounterDirectoryList--;
|
| @@ -121,20 +121,20 @@ checkDirectoryList(api.DirectoryList o) {
|
| buildCounterDirectoryList++;
|
| if (buildCounterDirectoryList < 3) {
|
| unittest.expect(o.discoveryVersion, unittest.equals('foo'));
|
| - checkUnnamed681(o.items);
|
| + checkUnnamed277(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDirectoryList--;
|
| }
|
|
|
| -buildUnnamed682() {
|
| +buildUnnamed278() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed682(core.List<core.String> o) {
|
| +checkUnnamed278(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'));
|
| @@ -145,7 +145,7 @@ buildJsonSchemaAnnotations() {
|
| var o = new api.JsonSchemaAnnotations();
|
| buildCounterJsonSchemaAnnotations++;
|
| if (buildCounterJsonSchemaAnnotations < 3) {
|
| - o.required = buildUnnamed682();
|
| + o.required = buildUnnamed278();
|
| }
|
| buildCounterJsonSchemaAnnotations--;
|
| return o;
|
| @@ -154,45 +154,45 @@ buildJsonSchemaAnnotations() {
|
| checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
|
| buildCounterJsonSchemaAnnotations++;
|
| if (buildCounterJsonSchemaAnnotations < 3) {
|
| - checkUnnamed682(o.required);
|
| + checkUnnamed278(o.required);
|
| }
|
| buildCounterJsonSchemaAnnotations--;
|
| }
|
|
|
| -buildUnnamed683() {
|
| +buildUnnamed279() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed683(core.List<core.String> o) {
|
| +checkUnnamed279(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'));
|
| }
|
|
|
| -buildUnnamed684() {
|
| +buildUnnamed280() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed684(core.List<core.String> o) {
|
| +checkUnnamed280(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'));
|
| }
|
|
|
| -buildUnnamed685() {
|
| +buildUnnamed281() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed685(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed281(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| @@ -219,14 +219,14 @@ checkJsonSchemaVariantMap(api.JsonSchemaVariantMap o) {
|
| buildCounterJsonSchemaVariantMap--;
|
| }
|
|
|
| -buildUnnamed686() {
|
| +buildUnnamed282() {
|
| var o = new core.List<api.JsonSchemaVariantMap>();
|
| o.add(buildJsonSchemaVariantMap());
|
| o.add(buildJsonSchemaVariantMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed686(core.List<api.JsonSchemaVariantMap> o) {
|
| +checkUnnamed282(core.List<api.JsonSchemaVariantMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchemaVariantMap(o[0]);
|
| checkJsonSchemaVariantMap(o[1]);
|
| @@ -238,7 +238,7 @@ buildJsonSchemaVariant() {
|
| buildCounterJsonSchemaVariant++;
|
| if (buildCounterJsonSchemaVariant < 3) {
|
| o.discriminant = "foo";
|
| - o.map = buildUnnamed686();
|
| + o.map = buildUnnamed282();
|
| }
|
| buildCounterJsonSchemaVariant--;
|
| return o;
|
| @@ -248,7 +248,7 @@ checkJsonSchemaVariant(api.JsonSchemaVariant o) {
|
| buildCounterJsonSchemaVariant++;
|
| if (buildCounterJsonSchemaVariant < 3) {
|
| unittest.expect(o.discriminant, unittest.equals('foo'));
|
| - checkUnnamed686(o.map);
|
| + checkUnnamed282(o.map);
|
| }
|
| buildCounterJsonSchemaVariant--;
|
| }
|
| @@ -263,8 +263,8 @@ buildJsonSchema() {
|
| o.annotations = buildJsonSchemaAnnotations();
|
| o.default_ = "foo";
|
| o.description = "foo";
|
| - o.enum_ = buildUnnamed683();
|
| - o.enumDescriptions = buildUnnamed684();
|
| + o.enum_ = buildUnnamed279();
|
| + o.enumDescriptions = buildUnnamed280();
|
| o.format = "foo";
|
| o.id = "foo";
|
| o.items = buildJsonSchema();
|
| @@ -272,7 +272,7 @@ buildJsonSchema() {
|
| o.maximum = "foo";
|
| o.minimum = "foo";
|
| o.pattern = "foo";
|
| - o.properties = buildUnnamed685();
|
| + o.properties = buildUnnamed281();
|
| o.readOnly = true;
|
| o.repeated = true;
|
| o.required = true;
|
| @@ -291,8 +291,8 @@ checkJsonSchema(api.JsonSchema o) {
|
| checkJsonSchemaAnnotations(o.annotations);
|
| unittest.expect(o.default_, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed683(o.enum_);
|
| - checkUnnamed684(o.enumDescriptions);
|
| + checkUnnamed279(o.enum_);
|
| + checkUnnamed280(o.enumDescriptions);
|
| unittest.expect(o.format, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkJsonSchema(o.items);
|
| @@ -300,7 +300,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'));
|
| - checkUnnamed685(o.properties);
|
| + checkUnnamed281(o.properties);
|
| unittest.expect(o.readOnly, unittest.isTrue);
|
| unittest.expect(o.repeated, unittest.isTrue);
|
| unittest.expect(o.required, unittest.isTrue);
|
| @@ -329,14 +329,14 @@ checkRestDescriptionAuthOauth2ScopesValue(api.RestDescriptionAuthOauth2ScopesVal
|
| buildCounterRestDescriptionAuthOauth2ScopesValue--;
|
| }
|
|
|
| -buildUnnamed687() {
|
| +buildUnnamed283() {
|
| var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
|
| o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
|
| o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed687(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
|
| +checkUnnamed283(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestDescriptionAuthOauth2ScopesValue(o["x"]);
|
| checkRestDescriptionAuthOauth2ScopesValue(o["y"]);
|
| @@ -347,7 +347,7 @@ buildRestDescriptionAuthOauth2() {
|
| var o = new api.RestDescriptionAuthOauth2();
|
| buildCounterRestDescriptionAuthOauth2++;
|
| if (buildCounterRestDescriptionAuthOauth2 < 3) {
|
| - o.scopes = buildUnnamed687();
|
| + o.scopes = buildUnnamed283();
|
| }
|
| buildCounterRestDescriptionAuthOauth2--;
|
| return o;
|
| @@ -356,7 +356,7 @@ buildRestDescriptionAuthOauth2() {
|
| checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
|
| buildCounterRestDescriptionAuthOauth2++;
|
| if (buildCounterRestDescriptionAuthOauth2 < 3) {
|
| - checkUnnamed687(o.scopes);
|
| + checkUnnamed283(o.scopes);
|
| }
|
| buildCounterRestDescriptionAuthOauth2--;
|
| }
|
| @@ -380,14 +380,14 @@ checkRestDescriptionAuth(api.RestDescriptionAuth o) {
|
| buildCounterRestDescriptionAuth--;
|
| }
|
|
|
| -buildUnnamed688() {
|
| +buildUnnamed284() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed688(core.List<core.String> o) {
|
| +checkUnnamed284(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'));
|
| @@ -414,66 +414,66 @@ checkRestDescriptionIcons(api.RestDescriptionIcons o) {
|
| buildCounterRestDescriptionIcons--;
|
| }
|
|
|
| -buildUnnamed689() {
|
| +buildUnnamed285() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed689(core.List<core.String> o) {
|
| +checkUnnamed285(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'));
|
| }
|
|
|
| -buildUnnamed690() {
|
| +buildUnnamed286() {
|
| var o = new core.Map<core.String, api.RestMethod>();
|
| o["x"] = buildRestMethod();
|
| o["y"] = buildRestMethod();
|
| return o;
|
| }
|
|
|
| -checkUnnamed690(core.Map<core.String, api.RestMethod> o) {
|
| +checkUnnamed286(core.Map<core.String, api.RestMethod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestMethod(o["x"]);
|
| checkRestMethod(o["y"]);
|
| }
|
|
|
| -buildUnnamed691() {
|
| +buildUnnamed287() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed691(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed287(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| }
|
|
|
| -buildUnnamed692() {
|
| +buildUnnamed288() {
|
| var o = new core.Map<core.String, api.RestResource>();
|
| o["x"] = buildRestResource();
|
| o["y"] = buildRestResource();
|
| return o;
|
| }
|
|
|
| -checkUnnamed692(core.Map<core.String, api.RestResource> o) {
|
| +checkUnnamed288(core.Map<core.String, api.RestResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestResource(o["x"]);
|
| checkRestResource(o["y"]);
|
| }
|
|
|
| -buildUnnamed693() {
|
| +buildUnnamed289() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed693(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed289(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| @@ -493,22 +493,22 @@ buildRestDescription() {
|
| o.discoveryVersion = "foo";
|
| o.documentationLink = "foo";
|
| o.etag = "foo";
|
| - o.features = buildUnnamed688();
|
| + o.features = buildUnnamed284();
|
| o.icons = buildRestDescriptionIcons();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed689();
|
| - o.methods = buildUnnamed690();
|
| + o.labels = buildUnnamed285();
|
| + o.methods = buildUnnamed286();
|
| o.name = "foo";
|
| o.ownerDomain = "foo";
|
| o.ownerName = "foo";
|
| o.packagePath = "foo";
|
| - o.parameters = buildUnnamed691();
|
| + o.parameters = buildUnnamed287();
|
| o.protocol = "foo";
|
| - o.resources = buildUnnamed692();
|
| + o.resources = buildUnnamed288();
|
| o.revision = "foo";
|
| o.rootUrl = "foo";
|
| - o.schemas = buildUnnamed693();
|
| + o.schemas = buildUnnamed289();
|
| o.servicePath = "foo";
|
| o.title = "foo";
|
| o.version = "foo";
|
| @@ -529,22 +529,22 @@ checkRestDescription(api.RestDescription o) {
|
| unittest.expect(o.discoveryVersion, unittest.equals('foo'));
|
| unittest.expect(o.documentationLink, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed688(o.features);
|
| + checkUnnamed284(o.features);
|
| checkRestDescriptionIcons(o.icons);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed689(o.labels);
|
| - checkUnnamed690(o.methods);
|
| + checkUnnamed285(o.labels);
|
| + checkUnnamed286(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'));
|
| - checkUnnamed691(o.parameters);
|
| + checkUnnamed287(o.parameters);
|
| unittest.expect(o.protocol, unittest.equals('foo'));
|
| - checkUnnamed692(o.resources);
|
| + checkUnnamed288(o.resources);
|
| unittest.expect(o.revision, unittest.equals('foo'));
|
| unittest.expect(o.rootUrl, unittest.equals('foo'));
|
| - checkUnnamed693(o.schemas);
|
| + checkUnnamed289(o.schemas);
|
| unittest.expect(o.servicePath, unittest.equals('foo'));
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals('foo'));
|
| @@ -552,14 +552,14 @@ checkRestDescription(api.RestDescription o) {
|
| buildCounterRestDescription--;
|
| }
|
|
|
| -buildUnnamed694() {
|
| +buildUnnamed290() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed694(core.List<core.String> o) {
|
| +checkUnnamed290(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'));
|
| @@ -633,7 +633,7 @@ buildRestMethodMediaUpload() {
|
| var o = new api.RestMethodMediaUpload();
|
| buildCounterRestMethodMediaUpload++;
|
| if (buildCounterRestMethodMediaUpload < 3) {
|
| - o.accept = buildUnnamed694();
|
| + o.accept = buildUnnamed290();
|
| o.maxSize = "foo";
|
| o.protocols = buildRestMethodMediaUploadProtocols();
|
| }
|
| @@ -644,34 +644,34 @@ buildRestMethodMediaUpload() {
|
| checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
|
| buildCounterRestMethodMediaUpload++;
|
| if (buildCounterRestMethodMediaUpload < 3) {
|
| - checkUnnamed694(o.accept);
|
| + checkUnnamed290(o.accept);
|
| unittest.expect(o.maxSize, unittest.equals('foo'));
|
| checkRestMethodMediaUploadProtocols(o.protocols);
|
| }
|
| buildCounterRestMethodMediaUpload--;
|
| }
|
|
|
| -buildUnnamed695() {
|
| +buildUnnamed291() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed695(core.List<core.String> o) {
|
| +checkUnnamed291(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'));
|
| }
|
|
|
| -buildUnnamed696() {
|
| +buildUnnamed292() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed696(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed292(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| @@ -717,14 +717,14 @@ checkRestMethodResponse(api.RestMethodResponse o) {
|
| buildCounterRestMethodResponse--;
|
| }
|
|
|
| -buildUnnamed697() {
|
| +buildUnnamed293() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed697(core.List<core.String> o) {
|
| +checkUnnamed293(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'));
|
| @@ -740,12 +740,12 @@ buildRestMethod() {
|
| o.httpMethod = "foo";
|
| o.id = "foo";
|
| o.mediaUpload = buildRestMethodMediaUpload();
|
| - o.parameterOrder = buildUnnamed695();
|
| - o.parameters = buildUnnamed696();
|
| + o.parameterOrder = buildUnnamed291();
|
| + o.parameters = buildUnnamed292();
|
| o.path = "foo";
|
| o.request = buildRestMethodRequest();
|
| o.response = buildRestMethodResponse();
|
| - o.scopes = buildUnnamed697();
|
| + o.scopes = buildUnnamed293();
|
| o.supportsMediaDownload = true;
|
| o.supportsMediaUpload = true;
|
| o.supportsSubscription = true;
|
| @@ -762,12 +762,12 @@ checkRestMethod(api.RestMethod o) {
|
| unittest.expect(o.httpMethod, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkRestMethodMediaUpload(o.mediaUpload);
|
| - checkUnnamed695(o.parameterOrder);
|
| - checkUnnamed696(o.parameters);
|
| + checkUnnamed291(o.parameterOrder);
|
| + checkUnnamed292(o.parameters);
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| checkRestMethodRequest(o.request);
|
| checkRestMethodResponse(o.response);
|
| - checkUnnamed697(o.scopes);
|
| + checkUnnamed293(o.scopes);
|
| unittest.expect(o.supportsMediaDownload, unittest.isTrue);
|
| unittest.expect(o.supportsMediaUpload, unittest.isTrue);
|
| unittest.expect(o.supportsSubscription, unittest.isTrue);
|
| @@ -775,27 +775,27 @@ checkRestMethod(api.RestMethod o) {
|
| buildCounterRestMethod--;
|
| }
|
|
|
| -buildUnnamed698() {
|
| +buildUnnamed294() {
|
| var o = new core.Map<core.String, api.RestMethod>();
|
| o["x"] = buildRestMethod();
|
| o["y"] = buildRestMethod();
|
| return o;
|
| }
|
|
|
| -checkUnnamed698(core.Map<core.String, api.RestMethod> o) {
|
| +checkUnnamed294(core.Map<core.String, api.RestMethod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestMethod(o["x"]);
|
| checkRestMethod(o["y"]);
|
| }
|
|
|
| -buildUnnamed699() {
|
| +buildUnnamed295() {
|
| var o = new core.Map<core.String, api.RestResource>();
|
| o["x"] = buildRestResource();
|
| o["y"] = buildRestResource();
|
| return o;
|
| }
|
|
|
| -checkUnnamed699(core.Map<core.String, api.RestResource> o) {
|
| +checkUnnamed295(core.Map<core.String, api.RestResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestResource(o["x"]);
|
| checkRestResource(o["y"]);
|
| @@ -806,8 +806,8 @@ buildRestResource() {
|
| var o = new api.RestResource();
|
| buildCounterRestResource++;
|
| if (buildCounterRestResource < 3) {
|
| - o.methods = buildUnnamed698();
|
| - o.resources = buildUnnamed699();
|
| + o.methods = buildUnnamed294();
|
| + o.resources = buildUnnamed295();
|
| }
|
| buildCounterRestResource--;
|
| return o;
|
| @@ -816,8 +816,8 @@ buildRestResource() {
|
| checkRestResource(api.RestResource o) {
|
| buildCounterRestResource++;
|
| if (buildCounterRestResource < 3) {
|
| - checkUnnamed698(o.methods);
|
| - checkUnnamed699(o.resources);
|
| + checkUnnamed294(o.methods);
|
| + checkUnnamed295(o.resources);
|
| }
|
| buildCounterRestResource--;
|
| }
|
|
|