| 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 75ddf3b9e201a56dfa509a47bf24b4c4ff9972eb..908e259d9be645a450df7f3fde27f8a0d0dbb3e6 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--;
|
| }
|
|
|
| -buildUnnamed570() {
|
| +buildUnnamed275() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed570(core.List<core.String> o) {
|
| +checkUnnamed275(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 = buildUnnamed570();
|
| + o.labels = buildUnnamed275();
|
| 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'));
|
| - checkUnnamed570(o.labels);
|
| + checkUnnamed275(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--;
|
| }
|
|
|
| -buildUnnamed571() {
|
| +buildUnnamed276() {
|
| var o = new core.List<api.DirectoryListItems>();
|
| o.add(buildDirectoryListItems());
|
| o.add(buildDirectoryListItems());
|
| return o;
|
| }
|
|
|
| -checkUnnamed571(core.List<api.DirectoryListItems> o) {
|
| +checkUnnamed276(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 = buildUnnamed571();
|
| + o.items = buildUnnamed276();
|
| o.kind = "foo";
|
| }
|
| buildCounterDirectoryList--;
|
| @@ -121,20 +121,20 @@ checkDirectoryList(api.DirectoryList o) {
|
| buildCounterDirectoryList++;
|
| if (buildCounterDirectoryList < 3) {
|
| unittest.expect(o.discoveryVersion, unittest.equals('foo'));
|
| - checkUnnamed571(o.items);
|
| + checkUnnamed276(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDirectoryList--;
|
| }
|
|
|
| -buildUnnamed572() {
|
| +buildUnnamed277() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed572(core.List<core.String> o) {
|
| +checkUnnamed277(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 = buildUnnamed572();
|
| + o.required = buildUnnamed277();
|
| }
|
| buildCounterJsonSchemaAnnotations--;
|
| return o;
|
| @@ -154,45 +154,45 @@ buildJsonSchemaAnnotations() {
|
| checkJsonSchemaAnnotations(api.JsonSchemaAnnotations o) {
|
| buildCounterJsonSchemaAnnotations++;
|
| if (buildCounterJsonSchemaAnnotations < 3) {
|
| - checkUnnamed572(o.required);
|
| + checkUnnamed277(o.required);
|
| }
|
| buildCounterJsonSchemaAnnotations--;
|
| }
|
|
|
| -buildUnnamed573() {
|
| +buildUnnamed278() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed573(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'));
|
| }
|
|
|
| -buildUnnamed574() {
|
| +buildUnnamed279() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed574(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'));
|
| }
|
|
|
| -buildUnnamed575() {
|
| +buildUnnamed280() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed575(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed280(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--;
|
| }
|
|
|
| -buildUnnamed576() {
|
| +buildUnnamed281() {
|
| var o = new core.List<api.JsonSchemaVariantMap>();
|
| o.add(buildJsonSchemaVariantMap());
|
| o.add(buildJsonSchemaVariantMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed576(core.List<api.JsonSchemaVariantMap> o) {
|
| +checkUnnamed281(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 = buildUnnamed576();
|
| + o.map = buildUnnamed281();
|
| }
|
| buildCounterJsonSchemaVariant--;
|
| return o;
|
| @@ -248,7 +248,7 @@ checkJsonSchemaVariant(api.JsonSchemaVariant o) {
|
| buildCounterJsonSchemaVariant++;
|
| if (buildCounterJsonSchemaVariant < 3) {
|
| unittest.expect(o.discriminant, unittest.equals('foo'));
|
| - checkUnnamed576(o.map);
|
| + checkUnnamed281(o.map);
|
| }
|
| buildCounterJsonSchemaVariant--;
|
| }
|
| @@ -263,8 +263,8 @@ buildJsonSchema() {
|
| o.annotations = buildJsonSchemaAnnotations();
|
| o.default_ = "foo";
|
| o.description = "foo";
|
| - o.enum_ = buildUnnamed573();
|
| - o.enumDescriptions = buildUnnamed574();
|
| + o.enum_ = buildUnnamed278();
|
| + o.enumDescriptions = buildUnnamed279();
|
| 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 = buildUnnamed575();
|
| + o.properties = buildUnnamed280();
|
| 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'));
|
| - checkUnnamed573(o.enum_);
|
| - checkUnnamed574(o.enumDescriptions);
|
| + checkUnnamed278(o.enum_);
|
| + checkUnnamed279(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'));
|
| - checkUnnamed575(o.properties);
|
| + checkUnnamed280(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--;
|
| }
|
|
|
| -buildUnnamed577() {
|
| +buildUnnamed282() {
|
| var o = new core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue>();
|
| o["x"] = buildRestDescriptionAuthOauth2ScopesValue();
|
| o["y"] = buildRestDescriptionAuthOauth2ScopesValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed577(core.Map<core.String, api.RestDescriptionAuthOauth2ScopesValue> o) {
|
| +checkUnnamed282(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 = buildUnnamed577();
|
| + o.scopes = buildUnnamed282();
|
| }
|
| buildCounterRestDescriptionAuthOauth2--;
|
| return o;
|
| @@ -356,7 +356,7 @@ buildRestDescriptionAuthOauth2() {
|
| checkRestDescriptionAuthOauth2(api.RestDescriptionAuthOauth2 o) {
|
| buildCounterRestDescriptionAuthOauth2++;
|
| if (buildCounterRestDescriptionAuthOauth2 < 3) {
|
| - checkUnnamed577(o.scopes);
|
| + checkUnnamed282(o.scopes);
|
| }
|
| buildCounterRestDescriptionAuthOauth2--;
|
| }
|
| @@ -380,14 +380,14 @@ checkRestDescriptionAuth(api.RestDescriptionAuth o) {
|
| buildCounterRestDescriptionAuth--;
|
| }
|
|
|
| -buildUnnamed578() {
|
| +buildUnnamed283() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed578(core.List<core.String> o) {
|
| +checkUnnamed283(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--;
|
| }
|
|
|
| -buildUnnamed579() {
|
| +buildUnnamed284() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed579(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'));
|
| }
|
|
|
| -buildUnnamed580() {
|
| +buildUnnamed285() {
|
| var o = new core.Map<core.String, api.RestMethod>();
|
| o["x"] = buildRestMethod();
|
| o["y"] = buildRestMethod();
|
| return o;
|
| }
|
|
|
| -checkUnnamed580(core.Map<core.String, api.RestMethod> o) {
|
| +checkUnnamed285(core.Map<core.String, api.RestMethod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestMethod(o["x"]);
|
| checkRestMethod(o["y"]);
|
| }
|
|
|
| -buildUnnamed581() {
|
| +buildUnnamed286() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed581(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed286(core.Map<core.String, api.JsonSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJsonSchema(o["x"]);
|
| checkJsonSchema(o["y"]);
|
| }
|
|
|
| -buildUnnamed582() {
|
| +buildUnnamed287() {
|
| var o = new core.Map<core.String, api.RestResource>();
|
| o["x"] = buildRestResource();
|
| o["y"] = buildRestResource();
|
| return o;
|
| }
|
|
|
| -checkUnnamed582(core.Map<core.String, api.RestResource> o) {
|
| +checkUnnamed287(core.Map<core.String, api.RestResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestResource(o["x"]);
|
| checkRestResource(o["y"]);
|
| }
|
|
|
| -buildUnnamed583() {
|
| +buildUnnamed288() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed583(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed288(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 = buildUnnamed578();
|
| + o.features = buildUnnamed283();
|
| o.icons = buildRestDescriptionIcons();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed579();
|
| - o.methods = buildUnnamed580();
|
| + o.labels = buildUnnamed284();
|
| + o.methods = buildUnnamed285();
|
| o.name = "foo";
|
| o.ownerDomain = "foo";
|
| o.ownerName = "foo";
|
| o.packagePath = "foo";
|
| - o.parameters = buildUnnamed581();
|
| + o.parameters = buildUnnamed286();
|
| o.protocol = "foo";
|
| - o.resources = buildUnnamed582();
|
| + o.resources = buildUnnamed287();
|
| o.revision = "foo";
|
| o.rootUrl = "foo";
|
| - o.schemas = buildUnnamed583();
|
| + o.schemas = buildUnnamed288();
|
| 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'));
|
| - checkUnnamed578(o.features);
|
| + checkUnnamed283(o.features);
|
| checkRestDescriptionIcons(o.icons);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed579(o.labels);
|
| - checkUnnamed580(o.methods);
|
| + checkUnnamed284(o.labels);
|
| + checkUnnamed285(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'));
|
| - checkUnnamed581(o.parameters);
|
| + checkUnnamed286(o.parameters);
|
| unittest.expect(o.protocol, unittest.equals('foo'));
|
| - checkUnnamed582(o.resources);
|
| + checkUnnamed287(o.resources);
|
| unittest.expect(o.revision, unittest.equals('foo'));
|
| unittest.expect(o.rootUrl, unittest.equals('foo'));
|
| - checkUnnamed583(o.schemas);
|
| + checkUnnamed288(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--;
|
| }
|
|
|
| -buildUnnamed584() {
|
| +buildUnnamed289() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed584(core.List<core.String> o) {
|
| +checkUnnamed289(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 = buildUnnamed584();
|
| + o.accept = buildUnnamed289();
|
| o.maxSize = "foo";
|
| o.protocols = buildRestMethodMediaUploadProtocols();
|
| }
|
| @@ -644,34 +644,34 @@ buildRestMethodMediaUpload() {
|
| checkRestMethodMediaUpload(api.RestMethodMediaUpload o) {
|
| buildCounterRestMethodMediaUpload++;
|
| if (buildCounterRestMethodMediaUpload < 3) {
|
| - checkUnnamed584(o.accept);
|
| + checkUnnamed289(o.accept);
|
| unittest.expect(o.maxSize, unittest.equals('foo'));
|
| checkRestMethodMediaUploadProtocols(o.protocols);
|
| }
|
| buildCounterRestMethodMediaUpload--;
|
| }
|
|
|
| -buildUnnamed585() {
|
| +buildUnnamed290() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed585(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'));
|
| }
|
|
|
| -buildUnnamed586() {
|
| +buildUnnamed291() {
|
| var o = new core.Map<core.String, api.JsonSchema>();
|
| o["x"] = buildJsonSchema();
|
| o["y"] = buildJsonSchema();
|
| return o;
|
| }
|
|
|
| -checkUnnamed586(core.Map<core.String, api.JsonSchema> o) {
|
| +checkUnnamed291(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--;
|
| }
|
|
|
| -buildUnnamed587() {
|
| +buildUnnamed292() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed587(core.List<core.String> o) {
|
| +checkUnnamed292(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 = buildUnnamed585();
|
| - o.parameters = buildUnnamed586();
|
| + o.parameterOrder = buildUnnamed290();
|
| + o.parameters = buildUnnamed291();
|
| o.path = "foo";
|
| o.request = buildRestMethodRequest();
|
| o.response = buildRestMethodResponse();
|
| - o.scopes = buildUnnamed587();
|
| + o.scopes = buildUnnamed292();
|
| 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);
|
| - checkUnnamed585(o.parameterOrder);
|
| - checkUnnamed586(o.parameters);
|
| + checkUnnamed290(o.parameterOrder);
|
| + checkUnnamed291(o.parameters);
|
| unittest.expect(o.path, unittest.equals('foo'));
|
| checkRestMethodRequest(o.request);
|
| checkRestMethodResponse(o.response);
|
| - checkUnnamed587(o.scopes);
|
| + checkUnnamed292(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--;
|
| }
|
|
|
| -buildUnnamed588() {
|
| +buildUnnamed293() {
|
| var o = new core.Map<core.String, api.RestMethod>();
|
| o["x"] = buildRestMethod();
|
| o["y"] = buildRestMethod();
|
| return o;
|
| }
|
|
|
| -checkUnnamed588(core.Map<core.String, api.RestMethod> o) {
|
| +checkUnnamed293(core.Map<core.String, api.RestMethod> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRestMethod(o["x"]);
|
| checkRestMethod(o["y"]);
|
| }
|
|
|
| -buildUnnamed589() {
|
| +buildUnnamed294() {
|
| var o = new core.Map<core.String, api.RestResource>();
|
| o["x"] = buildRestResource();
|
| o["y"] = buildRestResource();
|
| return o;
|
| }
|
|
|
| -checkUnnamed589(core.Map<core.String, api.RestResource> o) {
|
| +checkUnnamed294(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 = buildUnnamed588();
|
| - o.resources = buildUnnamed589();
|
| + o.methods = buildUnnamed293();
|
| + o.resources = buildUnnamed294();
|
| }
|
| buildCounterRestResource--;
|
| return o;
|
| @@ -816,8 +816,8 @@ buildRestResource() {
|
| checkRestResource(api.RestResource o) {
|
| buildCounterRestResource++;
|
| if (buildCounterRestResource < 3) {
|
| - checkUnnamed588(o.methods);
|
| - checkUnnamed589(o.resources);
|
| + checkUnnamed293(o.methods);
|
| + checkUnnamed294(o.resources);
|
| }
|
| buildCounterRestResource--;
|
| }
|
|
|