| Index: generated/googleapis/test/serviceuser/v1_test.dart
|
| diff --git a/generated/googleapis/test/serviceuser/v1_test.dart b/generated/googleapis/test/serviceuser/v1_test.dart
|
| index 5612ca38a28461d3d3dabb533a0b2bbbd0851d1d..457c219d11c2b23f04cb209fdab7f36d747bfe77 100644
|
| --- a/generated/googleapis/test/serviceuser/v1_test.dart
|
| +++ b/generated/googleapis/test/serviceuser/v1_test.dart
|
| @@ -7,7 +7,7 @@ import "dart:convert" as convert;
|
|
|
| import 'package:http/http.dart' as http;
|
| import 'package:http/testing.dart' as http_testing;
|
| -import 'package:unittest/unittest.dart' as unittest;
|
| +import 'package:test/test.dart' as unittest;
|
|
|
| import 'package:googleapis/serviceuser/v1.dart' as api;
|
|
|
| @@ -46,45 +46,45 @@ class HttpServerMock extends http.BaseClient {
|
| }
|
|
|
| http.StreamedResponse stringResponse(
|
| - core.int status, core.Map headers, core.String body) {
|
| + core.int status, core.Map<core.String, core.String> headers, core.String body) {
|
| var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed1623() {
|
| +buildUnnamed1633() {
|
| var o = new core.List<api.Method>();
|
| o.add(buildMethod());
|
| o.add(buildMethod());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1623(core.List<api.Method> o) {
|
| +checkUnnamed1633(core.List<api.Method> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMethod(o[0]);
|
| checkMethod(o[1]);
|
| }
|
|
|
| -buildUnnamed1624() {
|
| +buildUnnamed1634() {
|
| var o = new core.List<api.Mixin>();
|
| o.add(buildMixin());
|
| o.add(buildMixin());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1624(core.List<api.Mixin> o) {
|
| +checkUnnamed1634(core.List<api.Mixin> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMixin(o[0]);
|
| checkMixin(o[1]);
|
| }
|
|
|
| -buildUnnamed1625() {
|
| +buildUnnamed1635() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1625(core.List<api.Option> o) {
|
| +checkUnnamed1635(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -95,10 +95,10 @@ buildApi() {
|
| var o = new api.Api();
|
| buildCounterApi++;
|
| if (buildCounterApi < 3) {
|
| - o.methods = buildUnnamed1623();
|
| - o.mixins = buildUnnamed1624();
|
| + o.methods = buildUnnamed1633();
|
| + o.mixins = buildUnnamed1634();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1625();
|
| + o.options = buildUnnamed1635();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| o.version = "foo";
|
| @@ -110,10 +110,10 @@ buildApi() {
|
| checkApi(api.Api o) {
|
| buildCounterApi++;
|
| if (buildCounterApi < 3) {
|
| - checkUnnamed1623(o.methods);
|
| - checkUnnamed1624(o.mixins);
|
| + checkUnnamed1633(o.methods);
|
| + checkUnnamed1634(o.mixins);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1625(o.options);
|
| + checkUnnamed1635(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals('foo'));
|
| @@ -167,27 +167,27 @@ checkAuthRequirement(api.AuthRequirement o) {
|
| buildCounterAuthRequirement--;
|
| }
|
|
|
| -buildUnnamed1626() {
|
| +buildUnnamed1636() {
|
| var o = new core.List<api.AuthProvider>();
|
| o.add(buildAuthProvider());
|
| o.add(buildAuthProvider());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1626(core.List<api.AuthProvider> o) {
|
| +checkUnnamed1636(core.List<api.AuthProvider> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthProvider(o[0]);
|
| checkAuthProvider(o[1]);
|
| }
|
|
|
| -buildUnnamed1627() {
|
| +buildUnnamed1637() {
|
| var o = new core.List<api.AuthenticationRule>();
|
| o.add(buildAuthenticationRule());
|
| o.add(buildAuthenticationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1627(core.List<api.AuthenticationRule> o) {
|
| +checkUnnamed1637(core.List<api.AuthenticationRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthenticationRule(o[0]);
|
| checkAuthenticationRule(o[1]);
|
| @@ -198,8 +198,8 @@ buildAuthentication() {
|
| var o = new api.Authentication();
|
| buildCounterAuthentication++;
|
| if (buildCounterAuthentication < 3) {
|
| - o.providers = buildUnnamed1626();
|
| - o.rules = buildUnnamed1627();
|
| + o.providers = buildUnnamed1636();
|
| + o.rules = buildUnnamed1637();
|
| }
|
| buildCounterAuthentication--;
|
| return o;
|
| @@ -208,20 +208,20 @@ buildAuthentication() {
|
| checkAuthentication(api.Authentication o) {
|
| buildCounterAuthentication++;
|
| if (buildCounterAuthentication < 3) {
|
| - checkUnnamed1626(o.providers);
|
| - checkUnnamed1627(o.rules);
|
| + checkUnnamed1636(o.providers);
|
| + checkUnnamed1637(o.rules);
|
| }
|
| buildCounterAuthentication--;
|
| }
|
|
|
| -buildUnnamed1628() {
|
| +buildUnnamed1638() {
|
| var o = new core.List<api.AuthRequirement>();
|
| o.add(buildAuthRequirement());
|
| o.add(buildAuthRequirement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1628(core.List<api.AuthRequirement> o) {
|
| +checkUnnamed1638(core.List<api.AuthRequirement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthRequirement(o[0]);
|
| checkAuthRequirement(o[1]);
|
| @@ -235,7 +235,7 @@ buildAuthenticationRule() {
|
| o.allowWithoutCredential = true;
|
| o.customAuth = buildCustomAuthRequirements();
|
| o.oauth = buildOAuthRequirements();
|
| - o.requirements = buildUnnamed1628();
|
| + o.requirements = buildUnnamed1638();
|
| o.selector = "foo";
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -248,7 +248,7 @@ checkAuthenticationRule(api.AuthenticationRule o) {
|
| unittest.expect(o.allowWithoutCredential, unittest.isTrue);
|
| checkCustomAuthRequirements(o.customAuth);
|
| checkOAuthRequirements(o.oauth);
|
| - checkUnnamed1628(o.requirements);
|
| + checkUnnamed1638(o.requirements);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -273,14 +273,14 @@ checkAuthorizationConfig(api.AuthorizationConfig o) {
|
| buildCounterAuthorizationConfig--;
|
| }
|
|
|
| -buildUnnamed1629() {
|
| +buildUnnamed1639() {
|
| var o = new core.List<api.BackendRule>();
|
| o.add(buildBackendRule());
|
| o.add(buildBackendRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1629(core.List<api.BackendRule> o) {
|
| +checkUnnamed1639(core.List<api.BackendRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBackendRule(o[0]);
|
| checkBackendRule(o[1]);
|
| @@ -291,7 +291,7 @@ buildBackend() {
|
| var o = new api.Backend();
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - o.rules = buildUnnamed1629();
|
| + o.rules = buildUnnamed1639();
|
| }
|
| buildCounterBackend--;
|
| return o;
|
| @@ -300,7 +300,7 @@ buildBackend() {
|
| checkBackend(api.Backend o) {
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - checkUnnamed1629(o.rules);
|
| + checkUnnamed1639(o.rules);
|
| }
|
| buildCounterBackend--;
|
| }
|
| @@ -330,14 +330,14 @@ checkBackendRule(api.BackendRule o) {
|
| buildCounterBackendRule--;
|
| }
|
|
|
| -buildUnnamed1630() {
|
| +buildUnnamed1640() {
|
| var o = new core.List<api.ContextRule>();
|
| o.add(buildContextRule());
|
| o.add(buildContextRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1630(core.List<api.ContextRule> o) {
|
| +checkUnnamed1640(core.List<api.ContextRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContextRule(o[0]);
|
| checkContextRule(o[1]);
|
| @@ -348,7 +348,7 @@ buildContext() {
|
| var o = new api.Context();
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - o.rules = buildUnnamed1630();
|
| + o.rules = buildUnnamed1640();
|
| }
|
| buildCounterContext--;
|
| return o;
|
| @@ -357,32 +357,32 @@ buildContext() {
|
| checkContext(api.Context o) {
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - checkUnnamed1630(o.rules);
|
| + checkUnnamed1640(o.rules);
|
| }
|
| buildCounterContext--;
|
| }
|
|
|
| -buildUnnamed1631() {
|
| +buildUnnamed1641() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1631(core.List<core.String> o) {
|
| +checkUnnamed1641(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'));
|
| }
|
|
|
| -buildUnnamed1632() {
|
| +buildUnnamed1642() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1632(core.List<core.String> o) {
|
| +checkUnnamed1642(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'));
|
| @@ -393,8 +393,8 @@ buildContextRule() {
|
| var o = new api.ContextRule();
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - o.provided = buildUnnamed1631();
|
| - o.requested = buildUnnamed1632();
|
| + o.provided = buildUnnamed1641();
|
| + o.requested = buildUnnamed1642();
|
| o.selector = "foo";
|
| }
|
| buildCounterContextRule--;
|
| @@ -404,8 +404,8 @@ buildContextRule() {
|
| checkContextRule(api.ContextRule o) {
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - checkUnnamed1631(o.provided);
|
| - checkUnnamed1632(o.requested);
|
| + checkUnnamed1641(o.provided);
|
| + checkUnnamed1642(o.requested);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterContextRule--;
|
| @@ -449,27 +449,27 @@ checkCustomAuthRequirements(api.CustomAuthRequirements o) {
|
| buildCounterCustomAuthRequirements--;
|
| }
|
|
|
| -buildUnnamed1633() {
|
| +buildUnnamed1643() {
|
| var o = new core.List<api.CustomErrorRule>();
|
| o.add(buildCustomErrorRule());
|
| o.add(buildCustomErrorRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1633(core.List<api.CustomErrorRule> o) {
|
| +checkUnnamed1643(core.List<api.CustomErrorRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCustomErrorRule(o[0]);
|
| checkCustomErrorRule(o[1]);
|
| }
|
|
|
| -buildUnnamed1634() {
|
| +buildUnnamed1644() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1634(core.List<core.String> o) {
|
| +checkUnnamed1644(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'));
|
| @@ -480,8 +480,8 @@ buildCustomError() {
|
| var o = new api.CustomError();
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - o.rules = buildUnnamed1633();
|
| - o.types = buildUnnamed1634();
|
| + o.rules = buildUnnamed1643();
|
| + o.types = buildUnnamed1644();
|
| }
|
| buildCounterCustomError--;
|
| return o;
|
| @@ -490,8 +490,8 @@ buildCustomError() {
|
| checkCustomError(api.CustomError o) {
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - checkUnnamed1633(o.rules);
|
| - checkUnnamed1634(o.types);
|
| + checkUnnamed1643(o.rules);
|
| + checkUnnamed1644(o.types);
|
| }
|
| buildCounterCustomError--;
|
| }
|
| @@ -555,27 +555,27 @@ checkDisableServiceRequest(api.DisableServiceRequest o) {
|
| buildCounterDisableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1635() {
|
| +buildUnnamed1645() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1635(core.List<api.Page> o) {
|
| +checkUnnamed1645(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| }
|
|
|
| -buildUnnamed1636() {
|
| +buildUnnamed1646() {
|
| var o = new core.List<api.DocumentationRule>();
|
| o.add(buildDocumentationRule());
|
| o.add(buildDocumentationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1636(core.List<api.DocumentationRule> o) {
|
| +checkUnnamed1646(core.List<api.DocumentationRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDocumentationRule(o[0]);
|
| checkDocumentationRule(o[1]);
|
| @@ -588,8 +588,8 @@ buildDocumentation() {
|
| if (buildCounterDocumentation < 3) {
|
| o.documentationRootUrl = "foo";
|
| o.overview = "foo";
|
| - o.pages = buildUnnamed1635();
|
| - o.rules = buildUnnamed1636();
|
| + o.pages = buildUnnamed1645();
|
| + o.rules = buildUnnamed1646();
|
| o.summary = "foo";
|
| }
|
| buildCounterDocumentation--;
|
| @@ -601,8 +601,8 @@ checkDocumentation(api.Documentation o) {
|
| if (buildCounterDocumentation < 3) {
|
| unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
|
| unittest.expect(o.overview, unittest.equals('foo'));
|
| - checkUnnamed1635(o.pages);
|
| - checkUnnamed1636(o.rules);
|
| + checkUnnamed1645(o.pages);
|
| + checkUnnamed1646(o.rules);
|
| unittest.expect(o.summary, unittest.equals('foo'));
|
| }
|
| buildCounterDocumentation--;
|
| @@ -648,40 +648,40 @@ checkEnableServiceRequest(api.EnableServiceRequest o) {
|
| buildCounterEnableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1637() {
|
| +buildUnnamed1647() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1637(core.List<core.String> o) {
|
| +checkUnnamed1647(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'));
|
| }
|
|
|
| -buildUnnamed1638() {
|
| +buildUnnamed1648() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1638(core.List<core.String> o) {
|
| +checkUnnamed1648(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'));
|
| }
|
|
|
| -buildUnnamed1639() {
|
| +buildUnnamed1649() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1639(core.List<core.String> o) {
|
| +checkUnnamed1649(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'));
|
| @@ -692,10 +692,10 @@ buildEndpoint() {
|
| var o = new api.Endpoint();
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - o.aliases = buildUnnamed1637();
|
| + o.aliases = buildUnnamed1647();
|
| o.allowCors = true;
|
| - o.apis = buildUnnamed1638();
|
| - o.features = buildUnnamed1639();
|
| + o.apis = buildUnnamed1648();
|
| + o.features = buildUnnamed1649();
|
| o.name = "foo";
|
| o.target = "foo";
|
| }
|
| @@ -706,37 +706,37 @@ buildEndpoint() {
|
| checkEndpoint(api.Endpoint o) {
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - checkUnnamed1637(o.aliases);
|
| + checkUnnamed1647(o.aliases);
|
| unittest.expect(o.allowCors, unittest.isTrue);
|
| - checkUnnamed1638(o.apis);
|
| - checkUnnamed1639(o.features);
|
| + checkUnnamed1648(o.apis);
|
| + checkUnnamed1649(o.features);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.target, unittest.equals('foo'));
|
| }
|
| buildCounterEndpoint--;
|
| }
|
|
|
| -buildUnnamed1640() {
|
| +buildUnnamed1650() {
|
| var o = new core.List<api.EnumValue>();
|
| o.add(buildEnumValue());
|
| o.add(buildEnumValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1640(core.List<api.EnumValue> o) {
|
| +checkUnnamed1650(core.List<api.EnumValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnumValue(o[0]);
|
| checkEnumValue(o[1]);
|
| }
|
|
|
| -buildUnnamed1641() {
|
| +buildUnnamed1651() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1641(core.List<api.Option> o) {
|
| +checkUnnamed1651(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -747,9 +747,9 @@ buildEnum() {
|
| var o = new api.Enum();
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - o.enumvalue = buildUnnamed1640();
|
| + o.enumvalue = buildUnnamed1650();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1641();
|
| + o.options = buildUnnamed1651();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -760,23 +760,23 @@ buildEnum() {
|
| checkEnum(api.Enum o) {
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - checkUnnamed1640(o.enumvalue);
|
| + checkUnnamed1650(o.enumvalue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1641(o.options);
|
| + checkUnnamed1651(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| buildCounterEnum--;
|
| }
|
|
|
| -buildUnnamed1642() {
|
| +buildUnnamed1652() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1642(core.List<api.Option> o) {
|
| +checkUnnamed1652(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -789,7 +789,7 @@ buildEnumValue() {
|
| if (buildCounterEnumValue < 3) {
|
| o.name = "foo";
|
| o.number = 42;
|
| - o.options = buildUnnamed1642();
|
| + o.options = buildUnnamed1652();
|
| }
|
| buildCounterEnumValue--;
|
| return o;
|
| @@ -800,7 +800,7 @@ checkEnumValue(api.EnumValue o) {
|
| if (buildCounterEnumValue < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.number, unittest.equals(42));
|
| - checkUnnamed1642(o.options);
|
| + checkUnnamed1652(o.options);
|
| }
|
| buildCounterEnumValue--;
|
| }
|
| @@ -824,14 +824,14 @@ checkExperimental(api.Experimental o) {
|
| buildCounterExperimental--;
|
| }
|
|
|
| -buildUnnamed1643() {
|
| +buildUnnamed1653() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1643(core.List<api.Option> o) {
|
| +checkUnnamed1653(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -849,7 +849,7 @@ buildField() {
|
| o.name = "foo";
|
| o.number = 42;
|
| o.oneofIndex = 42;
|
| - o.options = buildUnnamed1643();
|
| + o.options = buildUnnamed1653();
|
| o.packed = true;
|
| o.typeUrl = "foo";
|
| }
|
| @@ -867,21 +867,21 @@ checkField(api.Field o) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.number, unittest.equals(42));
|
| unittest.expect(o.oneofIndex, unittest.equals(42));
|
| - checkUnnamed1643(o.options);
|
| + checkUnnamed1653(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| buildCounterField--;
|
| }
|
|
|
| -buildUnnamed1644() {
|
| +buildUnnamed1654() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1644(core.List<api.HttpRule> o) {
|
| +checkUnnamed1654(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -893,7 +893,7 @@ buildHttp() {
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| o.fullyDecodeReservedExpansion = true;
|
| - o.rules = buildUnnamed1644();
|
| + o.rules = buildUnnamed1654();
|
| }
|
| buildCounterHttp--;
|
| return o;
|
| @@ -903,19 +903,19 @@ checkHttp(api.Http o) {
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
|
| - checkUnnamed1644(o.rules);
|
| + checkUnnamed1654(o.rules);
|
| }
|
| buildCounterHttp--;
|
| }
|
|
|
| -buildUnnamed1645() {
|
| +buildUnnamed1655() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1645(core.List<api.HttpRule> o) {
|
| +checkUnnamed1655(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -926,7 +926,7 @@ buildHttpRule() {
|
| var o = new api.HttpRule();
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - o.additionalBindings = buildUnnamed1645();
|
| + o.additionalBindings = buildUnnamed1655();
|
| o.body = "foo";
|
| o.custom = buildCustomHttpPattern();
|
| o.delete = "foo";
|
| @@ -938,6 +938,7 @@ buildHttpRule() {
|
| o.put = "foo";
|
| o.responseBody = "foo";
|
| o.restCollection = "foo";
|
| + o.restMethodName = "foo";
|
| o.selector = "foo";
|
| }
|
| buildCounterHttpRule--;
|
| @@ -947,7 +948,7 @@ buildHttpRule() {
|
| checkHttpRule(api.HttpRule o) {
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - checkUnnamed1645(o.additionalBindings);
|
| + checkUnnamed1655(o.additionalBindings);
|
| unittest.expect(o.body, unittest.equals('foo'));
|
| checkCustomHttpPattern(o.custom);
|
| unittest.expect(o.delete, unittest.equals('foo'));
|
| @@ -959,6 +960,7 @@ checkHttpRule(api.HttpRule o) {
|
| unittest.expect(o.put, unittest.equals('foo'));
|
| unittest.expect(o.responseBody, unittest.equals('foo'));
|
| unittest.expect(o.restCollection, unittest.equals('foo'));
|
| + unittest.expect(o.restMethodName, unittest.equals('foo'));
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterHttpRule--;
|
| @@ -987,14 +989,14 @@ checkLabelDescriptor(api.LabelDescriptor o) {
|
| buildCounterLabelDescriptor--;
|
| }
|
|
|
| -buildUnnamed1646() {
|
| +buildUnnamed1656() {
|
| var o = new core.List<api.PublishedService>();
|
| o.add(buildPublishedService());
|
| o.add(buildPublishedService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1646(core.List<api.PublishedService> o) {
|
| +checkUnnamed1656(core.List<api.PublishedService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPublishedService(o[0]);
|
| checkPublishedService(o[1]);
|
| @@ -1006,7 +1008,7 @@ buildListEnabledServicesResponse() {
|
| buildCounterListEnabledServicesResponse++;
|
| if (buildCounterListEnabledServicesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.services = buildUnnamed1646();
|
| + o.services = buildUnnamed1656();
|
| }
|
| buildCounterListEnabledServicesResponse--;
|
| return o;
|
| @@ -1016,19 +1018,19 @@ checkListEnabledServicesResponse(api.ListEnabledServicesResponse o) {
|
| buildCounterListEnabledServicesResponse++;
|
| if (buildCounterListEnabledServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1646(o.services);
|
| + checkUnnamed1656(o.services);
|
| }
|
| buildCounterListEnabledServicesResponse--;
|
| }
|
|
|
| -buildUnnamed1647() {
|
| +buildUnnamed1657() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1647(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1657(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1041,7 +1043,7 @@ buildLogDescriptor() {
|
| if (buildCounterLogDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1647();
|
| + o.labels = buildUnnamed1657();
|
| o.name = "foo";
|
| }
|
| buildCounterLogDescriptor--;
|
| @@ -1053,33 +1055,33 @@ checkLogDescriptor(api.LogDescriptor o) {
|
| if (buildCounterLogDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1647(o.labels);
|
| + checkUnnamed1657(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLogDescriptor--;
|
| }
|
|
|
| -buildUnnamed1648() {
|
| +buildUnnamed1658() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1648(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1658(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1649() {
|
| +buildUnnamed1659() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1649(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1659(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| @@ -1090,8 +1092,8 @@ buildLogging() {
|
| var o = new api.Logging();
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - o.consumerDestinations = buildUnnamed1648();
|
| - o.producerDestinations = buildUnnamed1649();
|
| + o.consumerDestinations = buildUnnamed1658();
|
| + o.producerDestinations = buildUnnamed1659();
|
| }
|
| buildCounterLogging--;
|
| return o;
|
| @@ -1100,20 +1102,20 @@ buildLogging() {
|
| checkLogging(api.Logging o) {
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - checkUnnamed1648(o.consumerDestinations);
|
| - checkUnnamed1649(o.producerDestinations);
|
| + checkUnnamed1658(o.consumerDestinations);
|
| + checkUnnamed1659(o.producerDestinations);
|
| }
|
| buildCounterLogging--;
|
| }
|
|
|
| -buildUnnamed1650() {
|
| +buildUnnamed1660() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1650(core.List<core.String> o) {
|
| +checkUnnamed1660(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'));
|
| @@ -1124,7 +1126,7 @@ buildLoggingDestination() {
|
| var o = new api.LoggingDestination();
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - o.logs = buildUnnamed1650();
|
| + o.logs = buildUnnamed1660();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1134,7 +1136,7 @@ buildLoggingDestination() {
|
| checkLoggingDestination(api.LoggingDestination o) {
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - checkUnnamed1650(o.logs);
|
| + checkUnnamed1660(o.logs);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1169,14 +1171,14 @@ checkMediaDownload(api.MediaDownload o) {
|
| buildCounterMediaDownload--;
|
| }
|
|
|
| -buildUnnamed1651() {
|
| +buildUnnamed1661() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1651(core.List<core.String> o) {
|
| +checkUnnamed1661(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'));
|
| @@ -1191,7 +1193,7 @@ buildMediaUpload() {
|
| o.dropzone = "foo";
|
| o.enabled = true;
|
| o.maxSize = "foo";
|
| - o.mimeTypes = buildUnnamed1651();
|
| + o.mimeTypes = buildUnnamed1661();
|
| o.progressNotification = true;
|
| o.startNotification = true;
|
| o.uploadService = "foo";
|
| @@ -1207,7 +1209,7 @@ checkMediaUpload(api.MediaUpload o) {
|
| unittest.expect(o.dropzone, unittest.equals('foo'));
|
| unittest.expect(o.enabled, unittest.isTrue);
|
| unittest.expect(o.maxSize, unittest.equals('foo'));
|
| - checkUnnamed1651(o.mimeTypes);
|
| + checkUnnamed1661(o.mimeTypes);
|
| unittest.expect(o.progressNotification, unittest.isTrue);
|
| unittest.expect(o.startNotification, unittest.isTrue);
|
| unittest.expect(o.uploadService, unittest.equals('foo'));
|
| @@ -1215,14 +1217,14 @@ checkMediaUpload(api.MediaUpload o) {
|
| buildCounterMediaUpload--;
|
| }
|
|
|
| -buildUnnamed1652() {
|
| +buildUnnamed1662() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1652(core.List<api.Option> o) {
|
| +checkUnnamed1662(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1234,7 +1236,7 @@ buildMethod() {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| o.name = "foo";
|
| - o.options = buildUnnamed1652();
|
| + o.options = buildUnnamed1662();
|
| o.requestStreaming = true;
|
| o.requestTypeUrl = "foo";
|
| o.responseStreaming = true;
|
| @@ -1249,7 +1251,7 @@ checkMethod(api.Method o) {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1652(o.options);
|
| + checkUnnamed1662(o.options);
|
| unittest.expect(o.requestStreaming, unittest.isTrue);
|
| unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
|
| unittest.expect(o.responseStreaming, unittest.isTrue);
|
| @@ -1259,14 +1261,14 @@ checkMethod(api.Method o) {
|
| buildCounterMethod--;
|
| }
|
|
|
| -buildUnnamed1653() {
|
| +buildUnnamed1663() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1653(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1663(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1279,7 +1281,7 @@ buildMetricDescriptor() {
|
| if (buildCounterMetricDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1653();
|
| + o.labels = buildUnnamed1663();
|
| o.metricKind = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -1295,7 +1297,7 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| if (buildCounterMetricDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1653(o.labels);
|
| + checkUnnamed1663(o.labels);
|
| unittest.expect(o.metricKind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -1305,14 +1307,14 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| buildCounterMetricDescriptor--;
|
| }
|
|
|
| -buildUnnamed1654() {
|
| +buildUnnamed1664() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1654(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1664(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'));
|
| @@ -1323,7 +1325,7 @@ buildMetricRule() {
|
| var o = new api.MetricRule();
|
| buildCounterMetricRule++;
|
| if (buildCounterMetricRule < 3) {
|
| - o.metricCosts = buildUnnamed1654();
|
| + o.metricCosts = buildUnnamed1664();
|
| o.selector = "foo";
|
| }
|
| buildCounterMetricRule--;
|
| @@ -1333,7 +1335,7 @@ buildMetricRule() {
|
| checkMetricRule(api.MetricRule o) {
|
| buildCounterMetricRule++;
|
| if (buildCounterMetricRule < 3) {
|
| - checkUnnamed1654(o.metricCosts);
|
| + checkUnnamed1664(o.metricCosts);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterMetricRule--;
|
| @@ -1360,14 +1362,14 @@ checkMixin(api.Mixin o) {
|
| buildCounterMixin--;
|
| }
|
|
|
| -buildUnnamed1655() {
|
| +buildUnnamed1665() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1655(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1665(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1380,7 +1382,7 @@ buildMonitoredResourceDescriptor() {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1655();
|
| + o.labels = buildUnnamed1665();
|
| o.name = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -1393,34 +1395,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1655(o.labels);
|
| + checkUnnamed1665(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed1656() {
|
| +buildUnnamed1666() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1656(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1666(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1657() {
|
| +buildUnnamed1667() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1657(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1667(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| @@ -1431,8 +1433,8 @@ buildMonitoring() {
|
| var o = new api.Monitoring();
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - o.consumerDestinations = buildUnnamed1656();
|
| - o.producerDestinations = buildUnnamed1657();
|
| + o.consumerDestinations = buildUnnamed1666();
|
| + o.producerDestinations = buildUnnamed1667();
|
| }
|
| buildCounterMonitoring--;
|
| return o;
|
| @@ -1441,20 +1443,20 @@ buildMonitoring() {
|
| checkMonitoring(api.Monitoring o) {
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - checkUnnamed1656(o.consumerDestinations);
|
| - checkUnnamed1657(o.producerDestinations);
|
| + checkUnnamed1666(o.consumerDestinations);
|
| + checkUnnamed1667(o.producerDestinations);
|
| }
|
| buildCounterMonitoring--;
|
| }
|
|
|
| -buildUnnamed1658() {
|
| +buildUnnamed1668() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1658(core.List<core.String> o) {
|
| +checkUnnamed1668(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'));
|
| @@ -1465,7 +1467,7 @@ buildMonitoringDestination() {
|
| var o = new api.MonitoringDestination();
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - o.metrics = buildUnnamed1658();
|
| + o.metrics = buildUnnamed1668();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -1475,7 +1477,7 @@ buildMonitoringDestination() {
|
| checkMonitoringDestination(api.MonitoringDestination o) {
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - checkUnnamed1658(o.metrics);
|
| + checkUnnamed1668(o.metrics);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -1500,27 +1502,27 @@ checkOAuthRequirements(api.OAuthRequirements o) {
|
| buildCounterOAuthRequirements--;
|
| }
|
|
|
| -buildUnnamed1659() {
|
| +buildUnnamed1669() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1659(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1669(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'));
|
| }
|
|
|
| -buildUnnamed1660() {
|
| +buildUnnamed1670() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1660(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1670(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'));
|
| @@ -1533,9 +1535,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed1659();
|
| + o.metadata = buildUnnamed1669();
|
| o.name = "foo";
|
| - o.response = buildUnnamed1660();
|
| + o.response = buildUnnamed1670();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -1546,34 +1548,34 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed1659(o.metadata);
|
| + checkUnnamed1669(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1660(o.response);
|
| + checkUnnamed1670(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed1661() {
|
| +buildUnnamed1671() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1661(core.List<core.String> o) {
|
| +checkUnnamed1671(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'));
|
| }
|
|
|
| -buildUnnamed1662() {
|
| +buildUnnamed1672() {
|
| var o = new core.List<api.Step>();
|
| o.add(buildStep());
|
| o.add(buildStep());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1662(core.List<api.Step> o) {
|
| +checkUnnamed1672(core.List<api.Step> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStep(o[0]);
|
| checkStep(o[1]);
|
| @@ -1585,9 +1587,9 @@ buildOperationMetadata() {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| o.progressPercentage = 42;
|
| - o.resourceNames = buildUnnamed1661();
|
| + o.resourceNames = buildUnnamed1671();
|
| o.startTime = "foo";
|
| - o.steps = buildUnnamed1662();
|
| + o.steps = buildUnnamed1672();
|
| }
|
| buildCounterOperationMetadata--;
|
| return o;
|
| @@ -1597,21 +1599,21 @@ checkOperationMetadata(api.OperationMetadata o) {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| unittest.expect(o.progressPercentage, unittest.equals(42));
|
| - checkUnnamed1661(o.resourceNames);
|
| + checkUnnamed1671(o.resourceNames);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| - checkUnnamed1662(o.steps);
|
| + checkUnnamed1672(o.steps);
|
| }
|
| buildCounterOperationMetadata--;
|
| }
|
|
|
| -buildUnnamed1663() {
|
| +buildUnnamed1673() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1663(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1673(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'));
|
| @@ -1623,7 +1625,7 @@ buildOption() {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| o.name = "foo";
|
| - o.value = buildUnnamed1663();
|
| + o.value = buildUnnamed1673();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -1633,19 +1635,19 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1663(o.value);
|
| + checkUnnamed1673(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
|
|
| -buildUnnamed1664() {
|
| +buildUnnamed1674() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1664(core.List<api.Page> o) {
|
| +checkUnnamed1674(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| @@ -1658,7 +1660,7 @@ buildPage() {
|
| if (buildCounterPage < 3) {
|
| o.content = "foo";
|
| o.name = "foo";
|
| - o.subpages = buildUnnamed1664();
|
| + o.subpages = buildUnnamed1674();
|
| }
|
| buildCounterPage--;
|
| return o;
|
| @@ -1669,7 +1671,7 @@ checkPage(api.Page o) {
|
| if (buildCounterPage < 3) {
|
| unittest.expect(o.content, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1664(o.subpages);
|
| + checkUnnamed1674(o.subpages);
|
| }
|
| buildCounterPage--;
|
| }
|
| @@ -1695,27 +1697,27 @@ checkPublishedService(api.PublishedService o) {
|
| buildCounterPublishedService--;
|
| }
|
|
|
| -buildUnnamed1665() {
|
| +buildUnnamed1675() {
|
| var o = new core.List<api.QuotaLimit>();
|
| o.add(buildQuotaLimit());
|
| o.add(buildQuotaLimit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1665(core.List<api.QuotaLimit> o) {
|
| +checkUnnamed1675(core.List<api.QuotaLimit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaLimit(o[0]);
|
| checkQuotaLimit(o[1]);
|
| }
|
|
|
| -buildUnnamed1666() {
|
| +buildUnnamed1676() {
|
| var o = new core.List<api.MetricRule>();
|
| o.add(buildMetricRule());
|
| o.add(buildMetricRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1666(core.List<api.MetricRule> o) {
|
| +checkUnnamed1676(core.List<api.MetricRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricRule(o[0]);
|
| checkMetricRule(o[1]);
|
| @@ -1726,8 +1728,8 @@ buildQuota() {
|
| var o = new api.Quota();
|
| buildCounterQuota++;
|
| if (buildCounterQuota < 3) {
|
| - o.limits = buildUnnamed1665();
|
| - o.metricRules = buildUnnamed1666();
|
| + o.limits = buildUnnamed1675();
|
| + o.metricRules = buildUnnamed1676();
|
| }
|
| buildCounterQuota--;
|
| return o;
|
| @@ -1736,20 +1738,20 @@ buildQuota() {
|
| checkQuota(api.Quota o) {
|
| buildCounterQuota++;
|
| if (buildCounterQuota < 3) {
|
| - checkUnnamed1665(o.limits);
|
| - checkUnnamed1666(o.metricRules);
|
| + checkUnnamed1675(o.limits);
|
| + checkUnnamed1676(o.metricRules);
|
| }
|
| buildCounterQuota--;
|
| }
|
|
|
| -buildUnnamed1667() {
|
| +buildUnnamed1677() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1667(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1677(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'));
|
| @@ -1769,7 +1771,7 @@ buildQuotaLimit() {
|
| o.metric = "foo";
|
| o.name = "foo";
|
| o.unit = "foo";
|
| - o.values = buildUnnamed1667();
|
| + o.values = buildUnnamed1677();
|
| }
|
| buildCounterQuotaLimit--;
|
| return o;
|
| @@ -1787,19 +1789,19 @@ checkQuotaLimit(api.QuotaLimit o) {
|
| unittest.expect(o.metric, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.unit, unittest.equals('foo'));
|
| - checkUnnamed1667(o.values);
|
| + checkUnnamed1677(o.values);
|
| }
|
| buildCounterQuotaLimit--;
|
| }
|
|
|
| -buildUnnamed1668() {
|
| +buildUnnamed1678() {
|
| var o = new core.List<api.PublishedService>();
|
| o.add(buildPublishedService());
|
| o.add(buildPublishedService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1668(core.List<api.PublishedService> o) {
|
| +checkUnnamed1678(core.List<api.PublishedService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPublishedService(o[0]);
|
| checkPublishedService(o[1]);
|
| @@ -1811,7 +1813,7 @@ buildSearchServicesResponse() {
|
| buildCounterSearchServicesResponse++;
|
| if (buildCounterSearchServicesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.services = buildUnnamed1668();
|
| + o.services = buildUnnamed1678();
|
| }
|
| buildCounterSearchServicesResponse--;
|
| return o;
|
| @@ -1821,110 +1823,110 @@ checkSearchServicesResponse(api.SearchServicesResponse o) {
|
| buildCounterSearchServicesResponse++;
|
| if (buildCounterSearchServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1668(o.services);
|
| + checkUnnamed1678(o.services);
|
| }
|
| buildCounterSearchServicesResponse--;
|
| }
|
|
|
| -buildUnnamed1669() {
|
| +buildUnnamed1679() {
|
| var o = new core.List<api.Api>();
|
| o.add(buildApi());
|
| o.add(buildApi());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1669(core.List<api.Api> o) {
|
| +checkUnnamed1679(core.List<api.Api> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkApi(o[0]);
|
| checkApi(o[1]);
|
| }
|
|
|
| -buildUnnamed1670() {
|
| +buildUnnamed1680() {
|
| var o = new core.List<api.Endpoint>();
|
| o.add(buildEndpoint());
|
| o.add(buildEndpoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1670(core.List<api.Endpoint> o) {
|
| +checkUnnamed1680(core.List<api.Endpoint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEndpoint(o[0]);
|
| checkEndpoint(o[1]);
|
| }
|
|
|
| -buildUnnamed1671() {
|
| +buildUnnamed1681() {
|
| var o = new core.List<api.Enum>();
|
| o.add(buildEnum());
|
| o.add(buildEnum());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1671(core.List<api.Enum> o) {
|
| +checkUnnamed1681(core.List<api.Enum> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnum(o[0]);
|
| checkEnum(o[1]);
|
| }
|
|
|
| -buildUnnamed1672() {
|
| +buildUnnamed1682() {
|
| var o = new core.List<api.LogDescriptor>();
|
| o.add(buildLogDescriptor());
|
| o.add(buildLogDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1672(core.List<api.LogDescriptor> o) {
|
| +checkUnnamed1682(core.List<api.LogDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogDescriptor(o[0]);
|
| checkLogDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1673() {
|
| +buildUnnamed1683() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1673(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed1683(core.List<api.MetricDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricDescriptor(o[0]);
|
| checkMetricDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1674() {
|
| +buildUnnamed1684() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1674(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed1684(core.List<api.MonitoredResourceDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoredResourceDescriptor(o[0]);
|
| checkMonitoredResourceDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1675() {
|
| +buildUnnamed1685() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1675(core.List<api.Type> o) {
|
| +checkUnnamed1685(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| }
|
|
|
| -buildUnnamed1676() {
|
| +buildUnnamed1686() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1676(core.List<api.Type> o) {
|
| +checkUnnamed1686(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| @@ -1935,7 +1937,7 @@ buildService() {
|
| var o = new api.Service();
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - o.apis = buildUnnamed1669();
|
| + o.apis = buildUnnamed1679();
|
| o.authentication = buildAuthentication();
|
| o.backend = buildBackend();
|
| o.configVersion = 42;
|
| @@ -1943,24 +1945,24 @@ buildService() {
|
| o.control = buildControl();
|
| o.customError = buildCustomError();
|
| o.documentation = buildDocumentation();
|
| - o.endpoints = buildUnnamed1670();
|
| - o.enums = buildUnnamed1671();
|
| + o.endpoints = buildUnnamed1680();
|
| + o.enums = buildUnnamed1681();
|
| o.experimental = buildExperimental();
|
| o.http = buildHttp();
|
| o.id = "foo";
|
| o.logging = buildLogging();
|
| - o.logs = buildUnnamed1672();
|
| - o.metrics = buildUnnamed1673();
|
| - o.monitoredResources = buildUnnamed1674();
|
| + o.logs = buildUnnamed1682();
|
| + o.metrics = buildUnnamed1683();
|
| + o.monitoredResources = buildUnnamed1684();
|
| o.monitoring = buildMonitoring();
|
| o.name = "foo";
|
| o.producerProjectId = "foo";
|
| o.quota = buildQuota();
|
| o.sourceInfo = buildSourceInfo();
|
| o.systemParameters = buildSystemParameters();
|
| - o.systemTypes = buildUnnamed1675();
|
| + o.systemTypes = buildUnnamed1685();
|
| o.title = "foo";
|
| - o.types = buildUnnamed1676();
|
| + o.types = buildUnnamed1686();
|
| o.usage = buildUsage();
|
| o.visibility = buildVisibility();
|
| }
|
| @@ -1971,7 +1973,7 @@ buildService() {
|
| checkService(api.Service o) {
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - checkUnnamed1669(o.apis);
|
| + checkUnnamed1679(o.apis);
|
| checkAuthentication(o.authentication);
|
| checkBackend(o.backend);
|
| unittest.expect(o.configVersion, unittest.equals(42));
|
| @@ -1979,24 +1981,24 @@ checkService(api.Service o) {
|
| checkControl(o.control);
|
| checkCustomError(o.customError);
|
| checkDocumentation(o.documentation);
|
| - checkUnnamed1670(o.endpoints);
|
| - checkUnnamed1671(o.enums);
|
| + checkUnnamed1680(o.endpoints);
|
| + checkUnnamed1681(o.enums);
|
| checkExperimental(o.experimental);
|
| checkHttp(o.http);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkLogging(o.logging);
|
| - checkUnnamed1672(o.logs);
|
| - checkUnnamed1673(o.metrics);
|
| - checkUnnamed1674(o.monitoredResources);
|
| + checkUnnamed1682(o.logs);
|
| + checkUnnamed1683(o.metrics);
|
| + checkUnnamed1684(o.monitoredResources);
|
| checkMonitoring(o.monitoring);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.producerProjectId, unittest.equals('foo'));
|
| checkQuota(o.quota);
|
| checkSourceInfo(o.sourceInfo);
|
| checkSystemParameters(o.systemParameters);
|
| - checkUnnamed1675(o.systemTypes);
|
| + checkUnnamed1685(o.systemTypes);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1676(o.types);
|
| + checkUnnamed1686(o.types);
|
| checkUsage(o.usage);
|
| checkVisibility(o.visibility);
|
| }
|
| @@ -2022,30 +2024,30 @@ checkSourceContext(api.SourceContext o) {
|
| buildCounterSourceContext--;
|
| }
|
|
|
| -buildUnnamed1677() {
|
| +buildUnnamed1687() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1677(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1687(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'));
|
| }
|
|
|
| -buildUnnamed1678() {
|
| +buildUnnamed1688() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1677());
|
| - o.add(buildUnnamed1677());
|
| + o.add(buildUnnamed1687());
|
| + o.add(buildUnnamed1687());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1678(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1688(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1677(o[0]);
|
| - checkUnnamed1677(o[1]);
|
| + checkUnnamed1687(o[0]);
|
| + checkUnnamed1687(o[1]);
|
| }
|
|
|
| core.int buildCounterSourceInfo = 0;
|
| @@ -2053,7 +2055,7 @@ buildSourceInfo() {
|
| var o = new api.SourceInfo();
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - o.sourceFiles = buildUnnamed1678();
|
| + o.sourceFiles = buildUnnamed1688();
|
| }
|
| buildCounterSourceInfo--;
|
| return o;
|
| @@ -2062,35 +2064,35 @@ buildSourceInfo() {
|
| checkSourceInfo(api.SourceInfo o) {
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - checkUnnamed1678(o.sourceFiles);
|
| + checkUnnamed1688(o.sourceFiles);
|
| }
|
| buildCounterSourceInfo--;
|
| }
|
|
|
| -buildUnnamed1679() {
|
| +buildUnnamed1689() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1679(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1689(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
|
| var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1680() {
|
| +buildUnnamed1690() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1679());
|
| - o.add(buildUnnamed1679());
|
| + o.add(buildUnnamed1689());
|
| + o.add(buildUnnamed1689());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1680(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1690(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1679(o[0]);
|
| - checkUnnamed1679(o[1]);
|
| + checkUnnamed1689(o[0]);
|
| + checkUnnamed1689(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -2099,7 +2101,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1680();
|
| + o.details = buildUnnamed1690();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -2110,7 +2112,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1680(o.details);
|
| + checkUnnamed1690(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -2160,14 +2162,14 @@ checkSystemParameter(api.SystemParameter o) {
|
| buildCounterSystemParameter--;
|
| }
|
|
|
| -buildUnnamed1681() {
|
| +buildUnnamed1691() {
|
| var o = new core.List<api.SystemParameter>();
|
| o.add(buildSystemParameter());
|
| o.add(buildSystemParameter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1681(core.List<api.SystemParameter> o) {
|
| +checkUnnamed1691(core.List<api.SystemParameter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameter(o[0]);
|
| checkSystemParameter(o[1]);
|
| @@ -2178,7 +2180,7 @@ buildSystemParameterRule() {
|
| var o = new api.SystemParameterRule();
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - o.parameters = buildUnnamed1681();
|
| + o.parameters = buildUnnamed1691();
|
| o.selector = "foo";
|
| }
|
| buildCounterSystemParameterRule--;
|
| @@ -2188,20 +2190,20 @@ buildSystemParameterRule() {
|
| checkSystemParameterRule(api.SystemParameterRule o) {
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - checkUnnamed1681(o.parameters);
|
| + checkUnnamed1691(o.parameters);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterSystemParameterRule--;
|
| }
|
|
|
| -buildUnnamed1682() {
|
| +buildUnnamed1692() {
|
| var o = new core.List<api.SystemParameterRule>();
|
| o.add(buildSystemParameterRule());
|
| o.add(buildSystemParameterRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1682(core.List<api.SystemParameterRule> o) {
|
| +checkUnnamed1692(core.List<api.SystemParameterRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameterRule(o[0]);
|
| checkSystemParameterRule(o[1]);
|
| @@ -2212,7 +2214,7 @@ buildSystemParameters() {
|
| var o = new api.SystemParameters();
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - o.rules = buildUnnamed1682();
|
| + o.rules = buildUnnamed1692();
|
| }
|
| buildCounterSystemParameters--;
|
| return o;
|
| @@ -2221,45 +2223,45 @@ buildSystemParameters() {
|
| checkSystemParameters(api.SystemParameters o) {
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - checkUnnamed1682(o.rules);
|
| + checkUnnamed1692(o.rules);
|
| }
|
| buildCounterSystemParameters--;
|
| }
|
|
|
| -buildUnnamed1683() {
|
| +buildUnnamed1693() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1683(core.List<api.Field> o) {
|
| +checkUnnamed1693(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed1684() {
|
| +buildUnnamed1694() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1684(core.List<core.String> o) {
|
| +checkUnnamed1694(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'));
|
| }
|
|
|
| -buildUnnamed1685() {
|
| +buildUnnamed1695() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1685(core.List<api.Option> o) {
|
| +checkUnnamed1695(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -2270,10 +2272,10 @@ buildType() {
|
| var o = new api.Type();
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - o.fields = buildUnnamed1683();
|
| + o.fields = buildUnnamed1693();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed1684();
|
| - o.options = buildUnnamed1685();
|
| + o.oneofs = buildUnnamed1694();
|
| + o.options = buildUnnamed1695();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -2284,37 +2286,37 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed1683(o.fields);
|
| + checkUnnamed1693(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1684(o.oneofs);
|
| - checkUnnamed1685(o.options);
|
| + checkUnnamed1694(o.oneofs);
|
| + checkUnnamed1695(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| buildCounterType--;
|
| }
|
|
|
| -buildUnnamed1686() {
|
| +buildUnnamed1696() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1686(core.List<core.String> o) {
|
| +checkUnnamed1696(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'));
|
| }
|
|
|
| -buildUnnamed1687() {
|
| +buildUnnamed1697() {
|
| var o = new core.List<api.UsageRule>();
|
| o.add(buildUsageRule());
|
| o.add(buildUsageRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1687(core.List<api.UsageRule> o) {
|
| +checkUnnamed1697(core.List<api.UsageRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageRule(o[0]);
|
| checkUsageRule(o[1]);
|
| @@ -2326,8 +2328,8 @@ buildUsage() {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| o.producerNotificationChannel = "foo";
|
| - o.requirements = buildUnnamed1686();
|
| - o.rules = buildUnnamed1687();
|
| + o.requirements = buildUnnamed1696();
|
| + o.rules = buildUnnamed1697();
|
| }
|
| buildCounterUsage--;
|
| return o;
|
| @@ -2337,8 +2339,8 @@ checkUsage(api.Usage o) {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
|
| - checkUnnamed1686(o.requirements);
|
| - checkUnnamed1687(o.rules);
|
| + checkUnnamed1696(o.requirements);
|
| + checkUnnamed1697(o.rules);
|
| }
|
| buildCounterUsage--;
|
| }
|
| @@ -2364,14 +2366,14 @@ checkUsageRule(api.UsageRule o) {
|
| buildCounterUsageRule--;
|
| }
|
|
|
| -buildUnnamed1688() {
|
| +buildUnnamed1698() {
|
| var o = new core.List<api.VisibilityRule>();
|
| o.add(buildVisibilityRule());
|
| o.add(buildVisibilityRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1688(core.List<api.VisibilityRule> o) {
|
| +checkUnnamed1698(core.List<api.VisibilityRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVisibilityRule(o[0]);
|
| checkVisibilityRule(o[1]);
|
| @@ -2382,7 +2384,7 @@ buildVisibility() {
|
| var o = new api.Visibility();
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - o.rules = buildUnnamed1688();
|
| + o.rules = buildUnnamed1698();
|
| }
|
| buildCounterVisibility--;
|
| return o;
|
| @@ -2391,7 +2393,7 @@ buildVisibility() {
|
| checkVisibility(api.Visibility o) {
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - checkUnnamed1688(o.rules);
|
| + checkUnnamed1698(o.rules);
|
| }
|
| buildCounterVisibility--;
|
| }
|
| @@ -2984,7 +2986,7 @@ main() {
|
| api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).projects.services;
|
| var arg_request = buildDisableServiceRequest();
|
| var arg_name = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.DisableServiceRequest.fromJson(json);
|
| checkDisableServiceRequest(obj);
|
|
|
| @@ -3022,7 +3024,7 @@ main() {
|
| var resp = convert.JSON.encode(buildOperation());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.disable(arg_request, arg_name).then(unittest.expectAsync(((api.Operation response) {
|
| + res.disable(arg_request, arg_name).then(unittest.expectAsync1(((api.Operation response) {
|
| checkOperation(response);
|
| })));
|
| });
|
| @@ -3033,7 +3035,7 @@ main() {
|
| api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).projects.services;
|
| var arg_request = buildEnableServiceRequest();
|
| var arg_name = "foo";
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.EnableServiceRequest.fromJson(json);
|
| checkEnableServiceRequest(obj);
|
|
|
| @@ -3071,7 +3073,7 @@ main() {
|
| var resp = convert.JSON.encode(buildOperation());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.enable(arg_request, arg_name).then(unittest.expectAsync(((api.Operation response) {
|
| + res.enable(arg_request, arg_name).then(unittest.expectAsync1(((api.Operation response) {
|
| checkOperation(response);
|
| })));
|
| });
|
| @@ -3083,7 +3085,7 @@ main() {
|
| var arg_parent = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -3120,7 +3122,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListEnabledServicesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListEnabledServicesResponse response) {
|
| + res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListEnabledServicesResponse response) {
|
| checkListEnabledServicesResponse(response);
|
| })));
|
| });
|
| @@ -3135,7 +3137,7 @@ main() {
|
| api.ServicesResourceApi res = new api.ServiceuserApi(mock).services;
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| var index;
|
| @@ -3171,7 +3173,7 @@ main() {
|
| var resp = convert.JSON.encode(buildSearchServicesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.search(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.SearchServicesResponse response) {
|
| + res.search(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.SearchServicesResponse response) {
|
| checkSearchServicesResponse(response);
|
| })));
|
| });
|
|
|