| 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 e2ff43d6e2a28c5128a27a94981f09bbf091b54e..9ae81d407d35edfe79885e89ef0446deaf0c5929 100644
|
| --- a/generated/googleapis/test/serviceuser/v1_test.dart
|
| +++ b/generated/googleapis/test/serviceuser/v1_test.dart
|
| @@ -51,40 +51,40 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed1555() {
|
| +buildUnnamed1552() {
|
| var o = new core.List<api.Method>();
|
| o.add(buildMethod());
|
| o.add(buildMethod());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1555(core.List<api.Method> o) {
|
| +checkUnnamed1552(core.List<api.Method> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMethod(o[0]);
|
| checkMethod(o[1]);
|
| }
|
|
|
| -buildUnnamed1556() {
|
| +buildUnnamed1553() {
|
| var o = new core.List<api.Mixin>();
|
| o.add(buildMixin());
|
| o.add(buildMixin());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1556(core.List<api.Mixin> o) {
|
| +checkUnnamed1553(core.List<api.Mixin> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMixin(o[0]);
|
| checkMixin(o[1]);
|
| }
|
|
|
| -buildUnnamed1557() {
|
| +buildUnnamed1554() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1557(core.List<api.Option> o) {
|
| +checkUnnamed1554(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 = buildUnnamed1555();
|
| - o.mixins = buildUnnamed1556();
|
| + o.methods = buildUnnamed1552();
|
| + o.mixins = buildUnnamed1553();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1557();
|
| + o.options = buildUnnamed1554();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| o.version = "foo";
|
| @@ -110,10 +110,10 @@ buildApi() {
|
| checkApi(api.Api o) {
|
| buildCounterApi++;
|
| if (buildCounterApi < 3) {
|
| - checkUnnamed1555(o.methods);
|
| - checkUnnamed1556(o.mixins);
|
| + checkUnnamed1552(o.methods);
|
| + checkUnnamed1553(o.mixins);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1557(o.options);
|
| + checkUnnamed1554(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--;
|
| }
|
|
|
| -buildUnnamed1558() {
|
| +buildUnnamed1555() {
|
| var o = new core.List<api.AuthProvider>();
|
| o.add(buildAuthProvider());
|
| o.add(buildAuthProvider());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1558(core.List<api.AuthProvider> o) {
|
| +checkUnnamed1555(core.List<api.AuthProvider> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthProvider(o[0]);
|
| checkAuthProvider(o[1]);
|
| }
|
|
|
| -buildUnnamed1559() {
|
| +buildUnnamed1556() {
|
| var o = new core.List<api.AuthenticationRule>();
|
| o.add(buildAuthenticationRule());
|
| o.add(buildAuthenticationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1559(core.List<api.AuthenticationRule> o) {
|
| +checkUnnamed1556(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 = buildUnnamed1558();
|
| - o.rules = buildUnnamed1559();
|
| + o.providers = buildUnnamed1555();
|
| + o.rules = buildUnnamed1556();
|
| }
|
| buildCounterAuthentication--;
|
| return o;
|
| @@ -208,20 +208,20 @@ buildAuthentication() {
|
| checkAuthentication(api.Authentication o) {
|
| buildCounterAuthentication++;
|
| if (buildCounterAuthentication < 3) {
|
| - checkUnnamed1558(o.providers);
|
| - checkUnnamed1559(o.rules);
|
| + checkUnnamed1555(o.providers);
|
| + checkUnnamed1556(o.rules);
|
| }
|
| buildCounterAuthentication--;
|
| }
|
|
|
| -buildUnnamed1560() {
|
| +buildUnnamed1557() {
|
| var o = new core.List<api.AuthRequirement>();
|
| o.add(buildAuthRequirement());
|
| o.add(buildAuthRequirement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1560(core.List<api.AuthRequirement> o) {
|
| +checkUnnamed1557(core.List<api.AuthRequirement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthRequirement(o[0]);
|
| checkAuthRequirement(o[1]);
|
| @@ -234,7 +234,7 @@ buildAuthenticationRule() {
|
| if (buildCounterAuthenticationRule < 3) {
|
| o.allowWithoutCredential = true;
|
| o.oauth = buildOAuthRequirements();
|
| - o.requirements = buildUnnamed1560();
|
| + o.requirements = buildUnnamed1557();
|
| o.selector = "foo";
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -246,7 +246,7 @@ checkAuthenticationRule(api.AuthenticationRule o) {
|
| if (buildCounterAuthenticationRule < 3) {
|
| unittest.expect(o.allowWithoutCredential, unittest.isTrue);
|
| checkOAuthRequirements(o.oauth);
|
| - checkUnnamed1560(o.requirements);
|
| + checkUnnamed1557(o.requirements);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -271,14 +271,14 @@ checkAuthorizationConfig(api.AuthorizationConfig o) {
|
| buildCounterAuthorizationConfig--;
|
| }
|
|
|
| -buildUnnamed1561() {
|
| +buildUnnamed1558() {
|
| var o = new core.List<api.BackendRule>();
|
| o.add(buildBackendRule());
|
| o.add(buildBackendRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1561(core.List<api.BackendRule> o) {
|
| +checkUnnamed1558(core.List<api.BackendRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBackendRule(o[0]);
|
| checkBackendRule(o[1]);
|
| @@ -289,7 +289,7 @@ buildBackend() {
|
| var o = new api.Backend();
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - o.rules = buildUnnamed1561();
|
| + o.rules = buildUnnamed1558();
|
| }
|
| buildCounterBackend--;
|
| return o;
|
| @@ -298,7 +298,7 @@ buildBackend() {
|
| checkBackend(api.Backend o) {
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - checkUnnamed1561(o.rules);
|
| + checkUnnamed1558(o.rules);
|
| }
|
| buildCounterBackend--;
|
| }
|
| @@ -326,14 +326,14 @@ checkBackendRule(api.BackendRule o) {
|
| buildCounterBackendRule--;
|
| }
|
|
|
| -buildUnnamed1562() {
|
| +buildUnnamed1559() {
|
| var o = new core.List<api.ContextRule>();
|
| o.add(buildContextRule());
|
| o.add(buildContextRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1562(core.List<api.ContextRule> o) {
|
| +checkUnnamed1559(core.List<api.ContextRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContextRule(o[0]);
|
| checkContextRule(o[1]);
|
| @@ -344,7 +344,7 @@ buildContext() {
|
| var o = new api.Context();
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - o.rules = buildUnnamed1562();
|
| + o.rules = buildUnnamed1559();
|
| }
|
| buildCounterContext--;
|
| return o;
|
| @@ -353,32 +353,32 @@ buildContext() {
|
| checkContext(api.Context o) {
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - checkUnnamed1562(o.rules);
|
| + checkUnnamed1559(o.rules);
|
| }
|
| buildCounterContext--;
|
| }
|
|
|
| -buildUnnamed1563() {
|
| +buildUnnamed1560() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1563(core.List<core.String> o) {
|
| +checkUnnamed1560(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'));
|
| }
|
|
|
| -buildUnnamed1564() {
|
| +buildUnnamed1561() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1564(core.List<core.String> o) {
|
| +checkUnnamed1561(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'));
|
| @@ -389,8 +389,8 @@ buildContextRule() {
|
| var o = new api.ContextRule();
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - o.provided = buildUnnamed1563();
|
| - o.requested = buildUnnamed1564();
|
| + o.provided = buildUnnamed1560();
|
| + o.requested = buildUnnamed1561();
|
| o.selector = "foo";
|
| }
|
| buildCounterContextRule--;
|
| @@ -400,8 +400,8 @@ buildContextRule() {
|
| checkContextRule(api.ContextRule o) {
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - checkUnnamed1563(o.provided);
|
| - checkUnnamed1564(o.requested);
|
| + checkUnnamed1560(o.provided);
|
| + checkUnnamed1561(o.requested);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterContextRule--;
|
| @@ -426,27 +426,27 @@ checkControl(api.Control o) {
|
| buildCounterControl--;
|
| }
|
|
|
| -buildUnnamed1565() {
|
| +buildUnnamed1562() {
|
| var o = new core.List<api.CustomErrorRule>();
|
| o.add(buildCustomErrorRule());
|
| o.add(buildCustomErrorRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1565(core.List<api.CustomErrorRule> o) {
|
| +checkUnnamed1562(core.List<api.CustomErrorRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCustomErrorRule(o[0]);
|
| checkCustomErrorRule(o[1]);
|
| }
|
|
|
| -buildUnnamed1566() {
|
| +buildUnnamed1563() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1566(core.List<core.String> o) {
|
| +checkUnnamed1563(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'));
|
| @@ -457,8 +457,8 @@ buildCustomError() {
|
| var o = new api.CustomError();
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - o.rules = buildUnnamed1565();
|
| - o.types = buildUnnamed1566();
|
| + o.rules = buildUnnamed1562();
|
| + o.types = buildUnnamed1563();
|
| }
|
| buildCounterCustomError--;
|
| return o;
|
| @@ -467,8 +467,8 @@ buildCustomError() {
|
| checkCustomError(api.CustomError o) {
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - checkUnnamed1565(o.rules);
|
| - checkUnnamed1566(o.types);
|
| + checkUnnamed1562(o.rules);
|
| + checkUnnamed1563(o.types);
|
| }
|
| buildCounterCustomError--;
|
| }
|
| @@ -532,27 +532,27 @@ checkDisableServiceRequest(api.DisableServiceRequest o) {
|
| buildCounterDisableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1567() {
|
| +buildUnnamed1564() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1567(core.List<api.Page> o) {
|
| +checkUnnamed1564(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| }
|
|
|
| -buildUnnamed1568() {
|
| +buildUnnamed1565() {
|
| var o = new core.List<api.DocumentationRule>();
|
| o.add(buildDocumentationRule());
|
| o.add(buildDocumentationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1568(core.List<api.DocumentationRule> o) {
|
| +checkUnnamed1565(core.List<api.DocumentationRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDocumentationRule(o[0]);
|
| checkDocumentationRule(o[1]);
|
| @@ -565,8 +565,8 @@ buildDocumentation() {
|
| if (buildCounterDocumentation < 3) {
|
| o.documentationRootUrl = "foo";
|
| o.overview = "foo";
|
| - o.pages = buildUnnamed1567();
|
| - o.rules = buildUnnamed1568();
|
| + o.pages = buildUnnamed1564();
|
| + o.rules = buildUnnamed1565();
|
| o.summary = "foo";
|
| }
|
| buildCounterDocumentation--;
|
| @@ -578,8 +578,8 @@ checkDocumentation(api.Documentation o) {
|
| if (buildCounterDocumentation < 3) {
|
| unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
|
| unittest.expect(o.overview, unittest.equals('foo'));
|
| - checkUnnamed1567(o.pages);
|
| - checkUnnamed1568(o.rules);
|
| + checkUnnamed1564(o.pages);
|
| + checkUnnamed1565(o.rules);
|
| unittest.expect(o.summary, unittest.equals('foo'));
|
| }
|
| buildCounterDocumentation--;
|
| @@ -625,40 +625,40 @@ checkEnableServiceRequest(api.EnableServiceRequest o) {
|
| buildCounterEnableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1569() {
|
| +buildUnnamed1566() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1569(core.List<core.String> o) {
|
| +checkUnnamed1566(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'));
|
| }
|
|
|
| -buildUnnamed1570() {
|
| +buildUnnamed1567() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1570(core.List<core.String> o) {
|
| +checkUnnamed1567(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'));
|
| }
|
|
|
| -buildUnnamed1571() {
|
| +buildUnnamed1568() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1571(core.List<core.String> o) {
|
| +checkUnnamed1568(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'));
|
| @@ -669,11 +669,12 @@ buildEndpoint() {
|
| var o = new api.Endpoint();
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - o.aliases = buildUnnamed1569();
|
| + o.aliases = buildUnnamed1566();
|
| o.allowCors = true;
|
| - o.apis = buildUnnamed1570();
|
| - o.features = buildUnnamed1571();
|
| + o.apis = buildUnnamed1567();
|
| + o.features = buildUnnamed1568();
|
| o.name = "foo";
|
| + o.target = "foo";
|
| }
|
| buildCounterEndpoint--;
|
| return o;
|
| @@ -682,36 +683,37 @@ buildEndpoint() {
|
| checkEndpoint(api.Endpoint o) {
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - checkUnnamed1569(o.aliases);
|
| + checkUnnamed1566(o.aliases);
|
| unittest.expect(o.allowCors, unittest.isTrue);
|
| - checkUnnamed1570(o.apis);
|
| - checkUnnamed1571(o.features);
|
| + checkUnnamed1567(o.apis);
|
| + checkUnnamed1568(o.features);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.target, unittest.equals('foo'));
|
| }
|
| buildCounterEndpoint--;
|
| }
|
|
|
| -buildUnnamed1572() {
|
| +buildUnnamed1569() {
|
| var o = new core.List<api.EnumValue>();
|
| o.add(buildEnumValue());
|
| o.add(buildEnumValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1572(core.List<api.EnumValue> o) {
|
| +checkUnnamed1569(core.List<api.EnumValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnumValue(o[0]);
|
| checkEnumValue(o[1]);
|
| }
|
|
|
| -buildUnnamed1573() {
|
| +buildUnnamed1570() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1573(core.List<api.Option> o) {
|
| +checkUnnamed1570(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -722,9 +724,9 @@ buildEnum() {
|
| var o = new api.Enum();
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - o.enumvalue = buildUnnamed1572();
|
| + o.enumvalue = buildUnnamed1569();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1573();
|
| + o.options = buildUnnamed1570();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -735,23 +737,23 @@ buildEnum() {
|
| checkEnum(api.Enum o) {
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - checkUnnamed1572(o.enumvalue);
|
| + checkUnnamed1569(o.enumvalue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1573(o.options);
|
| + checkUnnamed1570(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| buildCounterEnum--;
|
| }
|
|
|
| -buildUnnamed1574() {
|
| +buildUnnamed1571() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1574(core.List<api.Option> o) {
|
| +checkUnnamed1571(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -764,7 +766,7 @@ buildEnumValue() {
|
| if (buildCounterEnumValue < 3) {
|
| o.name = "foo";
|
| o.number = 42;
|
| - o.options = buildUnnamed1574();
|
| + o.options = buildUnnamed1571();
|
| }
|
| buildCounterEnumValue--;
|
| return o;
|
| @@ -775,7 +777,7 @@ checkEnumValue(api.EnumValue o) {
|
| if (buildCounterEnumValue < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.number, unittest.equals(42));
|
| - checkUnnamed1574(o.options);
|
| + checkUnnamed1571(o.options);
|
| }
|
| buildCounterEnumValue--;
|
| }
|
| @@ -799,14 +801,14 @@ checkExperimental(api.Experimental o) {
|
| buildCounterExperimental--;
|
| }
|
|
|
| -buildUnnamed1575() {
|
| +buildUnnamed1572() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1575(core.List<api.Option> o) {
|
| +checkUnnamed1572(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -824,7 +826,7 @@ buildField() {
|
| o.name = "foo";
|
| o.number = 42;
|
| o.oneofIndex = 42;
|
| - o.options = buildUnnamed1575();
|
| + o.options = buildUnnamed1572();
|
| o.packed = true;
|
| o.typeUrl = "foo";
|
| }
|
| @@ -842,21 +844,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));
|
| - checkUnnamed1575(o.options);
|
| + checkUnnamed1572(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| buildCounterField--;
|
| }
|
|
|
| -buildUnnamed1576() {
|
| +buildUnnamed1573() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1576(core.List<api.HttpRule> o) {
|
| +checkUnnamed1573(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -867,7 +869,8 @@ buildHttp() {
|
| var o = new api.Http();
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| - o.rules = buildUnnamed1576();
|
| + o.fullyDecodeReservedExpansion = true;
|
| + o.rules = buildUnnamed1573();
|
| }
|
| buildCounterHttp--;
|
| return o;
|
| @@ -876,19 +879,20 @@ buildHttp() {
|
| checkHttp(api.Http o) {
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| - checkUnnamed1576(o.rules);
|
| + unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
|
| + checkUnnamed1573(o.rules);
|
| }
|
| buildCounterHttp--;
|
| }
|
|
|
| -buildUnnamed1577() {
|
| +buildUnnamed1574() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1577(core.List<api.HttpRule> o) {
|
| +checkUnnamed1574(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -899,7 +903,7 @@ buildHttpRule() {
|
| var o = new api.HttpRule();
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - o.additionalBindings = buildUnnamed1577();
|
| + o.additionalBindings = buildUnnamed1574();
|
| o.body = "foo";
|
| o.custom = buildCustomHttpPattern();
|
| o.delete = "foo";
|
| @@ -919,7 +923,7 @@ buildHttpRule() {
|
| checkHttpRule(api.HttpRule o) {
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - checkUnnamed1577(o.additionalBindings);
|
| + checkUnnamed1574(o.additionalBindings);
|
| unittest.expect(o.body, unittest.equals('foo'));
|
| checkCustomHttpPattern(o.custom);
|
| unittest.expect(o.delete, unittest.equals('foo'));
|
| @@ -958,14 +962,14 @@ checkLabelDescriptor(api.LabelDescriptor o) {
|
| buildCounterLabelDescriptor--;
|
| }
|
|
|
| -buildUnnamed1578() {
|
| +buildUnnamed1575() {
|
| var o = new core.List<api.PublishedService>();
|
| o.add(buildPublishedService());
|
| o.add(buildPublishedService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1578(core.List<api.PublishedService> o) {
|
| +checkUnnamed1575(core.List<api.PublishedService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPublishedService(o[0]);
|
| checkPublishedService(o[1]);
|
| @@ -977,7 +981,7 @@ buildListEnabledServicesResponse() {
|
| buildCounterListEnabledServicesResponse++;
|
| if (buildCounterListEnabledServicesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.services = buildUnnamed1578();
|
| + o.services = buildUnnamed1575();
|
| }
|
| buildCounterListEnabledServicesResponse--;
|
| return o;
|
| @@ -987,19 +991,19 @@ checkListEnabledServicesResponse(api.ListEnabledServicesResponse o) {
|
| buildCounterListEnabledServicesResponse++;
|
| if (buildCounterListEnabledServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1578(o.services);
|
| + checkUnnamed1575(o.services);
|
| }
|
| buildCounterListEnabledServicesResponse--;
|
| }
|
|
|
| -buildUnnamed1579() {
|
| +buildUnnamed1576() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1579(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1576(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1012,7 +1016,7 @@ buildLogDescriptor() {
|
| if (buildCounterLogDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1579();
|
| + o.labels = buildUnnamed1576();
|
| o.name = "foo";
|
| }
|
| buildCounterLogDescriptor--;
|
| @@ -1024,33 +1028,33 @@ checkLogDescriptor(api.LogDescriptor o) {
|
| if (buildCounterLogDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1579(o.labels);
|
| + checkUnnamed1576(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLogDescriptor--;
|
| }
|
|
|
| -buildUnnamed1580() {
|
| +buildUnnamed1577() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1580(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1577(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1581() {
|
| +buildUnnamed1578() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1581(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1578(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| @@ -1061,8 +1065,8 @@ buildLogging() {
|
| var o = new api.Logging();
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - o.consumerDestinations = buildUnnamed1580();
|
| - o.producerDestinations = buildUnnamed1581();
|
| + o.consumerDestinations = buildUnnamed1577();
|
| + o.producerDestinations = buildUnnamed1578();
|
| }
|
| buildCounterLogging--;
|
| return o;
|
| @@ -1071,20 +1075,20 @@ buildLogging() {
|
| checkLogging(api.Logging o) {
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - checkUnnamed1580(o.consumerDestinations);
|
| - checkUnnamed1581(o.producerDestinations);
|
| + checkUnnamed1577(o.consumerDestinations);
|
| + checkUnnamed1578(o.producerDestinations);
|
| }
|
| buildCounterLogging--;
|
| }
|
|
|
| -buildUnnamed1582() {
|
| +buildUnnamed1579() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1582(core.List<core.String> o) {
|
| +checkUnnamed1579(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'));
|
| @@ -1095,7 +1099,7 @@ buildLoggingDestination() {
|
| var o = new api.LoggingDestination();
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - o.logs = buildUnnamed1582();
|
| + o.logs = buildUnnamed1579();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1105,7 +1109,7 @@ buildLoggingDestination() {
|
| checkLoggingDestination(api.LoggingDestination o) {
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - checkUnnamed1582(o.logs);
|
| + checkUnnamed1579(o.logs);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1153,14 +1157,14 @@ checkMediaUpload(api.MediaUpload o) {
|
| buildCounterMediaUpload--;
|
| }
|
|
|
| -buildUnnamed1583() {
|
| +buildUnnamed1580() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1583(core.List<api.Option> o) {
|
| +checkUnnamed1580(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1172,7 +1176,7 @@ buildMethod() {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| o.name = "foo";
|
| - o.options = buildUnnamed1583();
|
| + o.options = buildUnnamed1580();
|
| o.requestStreaming = true;
|
| o.requestTypeUrl = "foo";
|
| o.responseStreaming = true;
|
| @@ -1187,7 +1191,7 @@ checkMethod(api.Method o) {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1583(o.options);
|
| + checkUnnamed1580(o.options);
|
| unittest.expect(o.requestStreaming, unittest.isTrue);
|
| unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
|
| unittest.expect(o.responseStreaming, unittest.isTrue);
|
| @@ -1197,14 +1201,14 @@ checkMethod(api.Method o) {
|
| buildCounterMethod--;
|
| }
|
|
|
| -buildUnnamed1584() {
|
| +buildUnnamed1581() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1584(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1581(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1217,7 +1221,7 @@ buildMetricDescriptor() {
|
| if (buildCounterMetricDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1584();
|
| + o.labels = buildUnnamed1581();
|
| o.metricKind = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -1233,7 +1237,7 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| if (buildCounterMetricDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1584(o.labels);
|
| + checkUnnamed1581(o.labels);
|
| unittest.expect(o.metricKind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -1243,6 +1247,40 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| buildCounterMetricDescriptor--;
|
| }
|
|
|
| +buildUnnamed1582() {
|
| + var o = new core.Map<core.String, core.String>();
|
| + o["x"] = "foo";
|
| + o["y"] = "foo";
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1582(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'));
|
| +}
|
| +
|
| +core.int buildCounterMetricRule = 0;
|
| +buildMetricRule() {
|
| + var o = new api.MetricRule();
|
| + buildCounterMetricRule++;
|
| + if (buildCounterMetricRule < 3) {
|
| + o.metricCosts = buildUnnamed1582();
|
| + o.selector = "foo";
|
| + }
|
| + buildCounterMetricRule--;
|
| + return o;
|
| +}
|
| +
|
| +checkMetricRule(api.MetricRule o) {
|
| + buildCounterMetricRule++;
|
| + if (buildCounterMetricRule < 3) {
|
| + checkUnnamed1582(o.metricCosts);
|
| + unittest.expect(o.selector, unittest.equals('foo'));
|
| + }
|
| + buildCounterMetricRule--;
|
| +}
|
| +
|
| core.int buildCounterMixin = 0;
|
| buildMixin() {
|
| var o = new api.Mixin();
|
| @@ -1264,14 +1302,14 @@ checkMixin(api.Mixin o) {
|
| buildCounterMixin--;
|
| }
|
|
|
| -buildUnnamed1585() {
|
| +buildUnnamed1583() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1585(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1583(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1284,7 +1322,7 @@ buildMonitoredResourceDescriptor() {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1585();
|
| + o.labels = buildUnnamed1583();
|
| o.name = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -1297,34 +1335,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1585(o.labels);
|
| + checkUnnamed1583(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed1586() {
|
| +buildUnnamed1584() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1586(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1584(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1587() {
|
| +buildUnnamed1585() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1587(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1585(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| @@ -1335,8 +1373,8 @@ buildMonitoring() {
|
| var o = new api.Monitoring();
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - o.consumerDestinations = buildUnnamed1586();
|
| - o.producerDestinations = buildUnnamed1587();
|
| + o.consumerDestinations = buildUnnamed1584();
|
| + o.producerDestinations = buildUnnamed1585();
|
| }
|
| buildCounterMonitoring--;
|
| return o;
|
| @@ -1345,20 +1383,20 @@ buildMonitoring() {
|
| checkMonitoring(api.Monitoring o) {
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - checkUnnamed1586(o.consumerDestinations);
|
| - checkUnnamed1587(o.producerDestinations);
|
| + checkUnnamed1584(o.consumerDestinations);
|
| + checkUnnamed1585(o.producerDestinations);
|
| }
|
| buildCounterMonitoring--;
|
| }
|
|
|
| -buildUnnamed1588() {
|
| +buildUnnamed1586() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1588(core.List<core.String> o) {
|
| +checkUnnamed1586(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'));
|
| @@ -1369,7 +1407,7 @@ buildMonitoringDestination() {
|
| var o = new api.MonitoringDestination();
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - o.metrics = buildUnnamed1588();
|
| + o.metrics = buildUnnamed1586();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -1379,7 +1417,7 @@ buildMonitoringDestination() {
|
| checkMonitoringDestination(api.MonitoringDestination o) {
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - checkUnnamed1588(o.metrics);
|
| + checkUnnamed1586(o.metrics);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -1404,27 +1442,27 @@ checkOAuthRequirements(api.OAuthRequirements o) {
|
| buildCounterOAuthRequirements--;
|
| }
|
|
|
| -buildUnnamed1589() {
|
| +buildUnnamed1587() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1589(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1587(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'));
|
| }
|
|
|
| -buildUnnamed1590() {
|
| +buildUnnamed1588() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1590(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1588(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'));
|
| @@ -1437,9 +1475,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed1589();
|
| + o.metadata = buildUnnamed1587();
|
| o.name = "foo";
|
| - o.response = buildUnnamed1590();
|
| + o.response = buildUnnamed1588();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -1450,34 +1488,34 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed1589(o.metadata);
|
| + checkUnnamed1587(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1590(o.response);
|
| + checkUnnamed1588(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed1591() {
|
| +buildUnnamed1589() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1591(core.List<core.String> o) {
|
| +checkUnnamed1589(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'));
|
| }
|
|
|
| -buildUnnamed1592() {
|
| +buildUnnamed1590() {
|
| var o = new core.List<api.Step>();
|
| o.add(buildStep());
|
| o.add(buildStep());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1592(core.List<api.Step> o) {
|
| +checkUnnamed1590(core.List<api.Step> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStep(o[0]);
|
| checkStep(o[1]);
|
| @@ -1489,9 +1527,9 @@ buildOperationMetadata() {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| o.progressPercentage = 42;
|
| - o.resourceNames = buildUnnamed1591();
|
| + o.resourceNames = buildUnnamed1589();
|
| o.startTime = "foo";
|
| - o.steps = buildUnnamed1592();
|
| + o.steps = buildUnnamed1590();
|
| }
|
| buildCounterOperationMetadata--;
|
| return o;
|
| @@ -1501,21 +1539,21 @@ checkOperationMetadata(api.OperationMetadata o) {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| unittest.expect(o.progressPercentage, unittest.equals(42));
|
| - checkUnnamed1591(o.resourceNames);
|
| + checkUnnamed1589(o.resourceNames);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| - checkUnnamed1592(o.steps);
|
| + checkUnnamed1590(o.steps);
|
| }
|
| buildCounterOperationMetadata--;
|
| }
|
|
|
| -buildUnnamed1593() {
|
| +buildUnnamed1591() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1593(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1591(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'));
|
| @@ -1527,7 +1565,7 @@ buildOption() {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| o.name = "foo";
|
| - o.value = buildUnnamed1593();
|
| + o.value = buildUnnamed1591();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -1537,19 +1575,19 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1593(o.value);
|
| + checkUnnamed1591(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
|
|
| -buildUnnamed1594() {
|
| +buildUnnamed1592() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1594(core.List<api.Page> o) {
|
| +checkUnnamed1592(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| @@ -1562,7 +1600,7 @@ buildPage() {
|
| if (buildCounterPage < 3) {
|
| o.content = "foo";
|
| o.name = "foo";
|
| - o.subpages = buildUnnamed1594();
|
| + o.subpages = buildUnnamed1592();
|
| }
|
| buildCounterPage--;
|
| return o;
|
| @@ -1573,7 +1611,7 @@ checkPage(api.Page o) {
|
| if (buildCounterPage < 3) {
|
| unittest.expect(o.content, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1594(o.subpages);
|
| + checkUnnamed1592(o.subpages);
|
| }
|
| buildCounterPage--;
|
| }
|
| @@ -1599,14 +1637,111 @@ checkPublishedService(api.PublishedService o) {
|
| buildCounterPublishedService--;
|
| }
|
|
|
| +buildUnnamed1593() {
|
| + var o = new core.List<api.QuotaLimit>();
|
| + o.add(buildQuotaLimit());
|
| + o.add(buildQuotaLimit());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1593(core.List<api.QuotaLimit> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQuotaLimit(o[0]);
|
| + checkQuotaLimit(o[1]);
|
| +}
|
| +
|
| +buildUnnamed1594() {
|
| + var o = new core.List<api.MetricRule>();
|
| + o.add(buildMetricRule());
|
| + o.add(buildMetricRule());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1594(core.List<api.MetricRule> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkMetricRule(o[0]);
|
| + checkMetricRule(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterQuota = 0;
|
| +buildQuota() {
|
| + var o = new api.Quota();
|
| + buildCounterQuota++;
|
| + if (buildCounterQuota < 3) {
|
| + o.limits = buildUnnamed1593();
|
| + o.metricRules = buildUnnamed1594();
|
| + }
|
| + buildCounterQuota--;
|
| + return o;
|
| +}
|
| +
|
| +checkQuota(api.Quota o) {
|
| + buildCounterQuota++;
|
| + if (buildCounterQuota < 3) {
|
| + checkUnnamed1593(o.limits);
|
| + checkUnnamed1594(o.metricRules);
|
| + }
|
| + buildCounterQuota--;
|
| +}
|
| +
|
| buildUnnamed1595() {
|
| + var o = new core.Map<core.String, core.String>();
|
| + o["x"] = "foo";
|
| + o["y"] = "foo";
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1595(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'));
|
| +}
|
| +
|
| +core.int buildCounterQuotaLimit = 0;
|
| +buildQuotaLimit() {
|
| + var o = new api.QuotaLimit();
|
| + buildCounterQuotaLimit++;
|
| + if (buildCounterQuotaLimit < 3) {
|
| + o.defaultLimit = "foo";
|
| + o.description = "foo";
|
| + o.displayName = "foo";
|
| + o.duration = "foo";
|
| + o.freeTier = "foo";
|
| + o.maxLimit = "foo";
|
| + o.metric = "foo";
|
| + o.name = "foo";
|
| + o.unit = "foo";
|
| + o.values = buildUnnamed1595();
|
| + }
|
| + buildCounterQuotaLimit--;
|
| + return o;
|
| +}
|
| +
|
| +checkQuotaLimit(api.QuotaLimit o) {
|
| + buildCounterQuotaLimit++;
|
| + if (buildCounterQuotaLimit < 3) {
|
| + unittest.expect(o.defaultLimit, unittest.equals('foo'));
|
| + unittest.expect(o.description, unittest.equals('foo'));
|
| + unittest.expect(o.displayName, unittest.equals('foo'));
|
| + unittest.expect(o.duration, unittest.equals('foo'));
|
| + unittest.expect(o.freeTier, unittest.equals('foo'));
|
| + unittest.expect(o.maxLimit, unittest.equals('foo'));
|
| + unittest.expect(o.metric, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.unit, unittest.equals('foo'));
|
| + checkUnnamed1595(o.values);
|
| + }
|
| + buildCounterQuotaLimit--;
|
| +}
|
| +
|
| +buildUnnamed1596() {
|
| var o = new core.List<api.PublishedService>();
|
| o.add(buildPublishedService());
|
| o.add(buildPublishedService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1595(core.List<api.PublishedService> o) {
|
| +checkUnnamed1596(core.List<api.PublishedService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPublishedService(o[0]);
|
| checkPublishedService(o[1]);
|
| @@ -1618,7 +1753,7 @@ buildSearchServicesResponse() {
|
| buildCounterSearchServicesResponse++;
|
| if (buildCounterSearchServicesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.services = buildUnnamed1595();
|
| + o.services = buildUnnamed1596();
|
| }
|
| buildCounterSearchServicesResponse--;
|
| return o;
|
| @@ -1628,110 +1763,110 @@ checkSearchServicesResponse(api.SearchServicesResponse o) {
|
| buildCounterSearchServicesResponse++;
|
| if (buildCounterSearchServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1595(o.services);
|
| + checkUnnamed1596(o.services);
|
| }
|
| buildCounterSearchServicesResponse--;
|
| }
|
|
|
| -buildUnnamed1596() {
|
| +buildUnnamed1597() {
|
| var o = new core.List<api.Api>();
|
| o.add(buildApi());
|
| o.add(buildApi());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1596(core.List<api.Api> o) {
|
| +checkUnnamed1597(core.List<api.Api> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkApi(o[0]);
|
| checkApi(o[1]);
|
| }
|
|
|
| -buildUnnamed1597() {
|
| +buildUnnamed1598() {
|
| var o = new core.List<api.Endpoint>();
|
| o.add(buildEndpoint());
|
| o.add(buildEndpoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1597(core.List<api.Endpoint> o) {
|
| +checkUnnamed1598(core.List<api.Endpoint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEndpoint(o[0]);
|
| checkEndpoint(o[1]);
|
| }
|
|
|
| -buildUnnamed1598() {
|
| +buildUnnamed1599() {
|
| var o = new core.List<api.Enum>();
|
| o.add(buildEnum());
|
| o.add(buildEnum());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1598(core.List<api.Enum> o) {
|
| +checkUnnamed1599(core.List<api.Enum> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnum(o[0]);
|
| checkEnum(o[1]);
|
| }
|
|
|
| -buildUnnamed1599() {
|
| +buildUnnamed1600() {
|
| var o = new core.List<api.LogDescriptor>();
|
| o.add(buildLogDescriptor());
|
| o.add(buildLogDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1599(core.List<api.LogDescriptor> o) {
|
| +checkUnnamed1600(core.List<api.LogDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogDescriptor(o[0]);
|
| checkLogDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1600() {
|
| +buildUnnamed1601() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1600(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed1601(core.List<api.MetricDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricDescriptor(o[0]);
|
| checkMetricDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1601() {
|
| +buildUnnamed1602() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1601(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed1602(core.List<api.MonitoredResourceDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoredResourceDescriptor(o[0]);
|
| checkMonitoredResourceDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1602() {
|
| +buildUnnamed1603() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1602(core.List<api.Type> o) {
|
| +checkUnnamed1603(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| }
|
|
|
| -buildUnnamed1603() {
|
| +buildUnnamed1604() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1603(core.List<api.Type> o) {
|
| +checkUnnamed1604(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| @@ -1742,7 +1877,7 @@ buildService() {
|
| var o = new api.Service();
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - o.apis = buildUnnamed1596();
|
| + o.apis = buildUnnamed1597();
|
| o.authentication = buildAuthentication();
|
| o.backend = buildBackend();
|
| o.configVersion = 42;
|
| @@ -1750,23 +1885,24 @@ buildService() {
|
| o.control = buildControl();
|
| o.customError = buildCustomError();
|
| o.documentation = buildDocumentation();
|
| - o.endpoints = buildUnnamed1597();
|
| - o.enums = buildUnnamed1598();
|
| + o.endpoints = buildUnnamed1598();
|
| + o.enums = buildUnnamed1599();
|
| o.experimental = buildExperimental();
|
| o.http = buildHttp();
|
| o.id = "foo";
|
| o.logging = buildLogging();
|
| - o.logs = buildUnnamed1599();
|
| - o.metrics = buildUnnamed1600();
|
| - o.monitoredResources = buildUnnamed1601();
|
| + o.logs = buildUnnamed1600();
|
| + o.metrics = buildUnnamed1601();
|
| + o.monitoredResources = buildUnnamed1602();
|
| o.monitoring = buildMonitoring();
|
| o.name = "foo";
|
| o.producerProjectId = "foo";
|
| + o.quota = buildQuota();
|
| o.sourceInfo = buildSourceInfo();
|
| o.systemParameters = buildSystemParameters();
|
| - o.systemTypes = buildUnnamed1602();
|
| + o.systemTypes = buildUnnamed1603();
|
| o.title = "foo";
|
| - o.types = buildUnnamed1603();
|
| + o.types = buildUnnamed1604();
|
| o.usage = buildUsage();
|
| o.visibility = buildVisibility();
|
| }
|
| @@ -1777,7 +1913,7 @@ buildService() {
|
| checkService(api.Service o) {
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - checkUnnamed1596(o.apis);
|
| + checkUnnamed1597(o.apis);
|
| checkAuthentication(o.authentication);
|
| checkBackend(o.backend);
|
| unittest.expect(o.configVersion, unittest.equals(42));
|
| @@ -1785,23 +1921,24 @@ checkService(api.Service o) {
|
| checkControl(o.control);
|
| checkCustomError(o.customError);
|
| checkDocumentation(o.documentation);
|
| - checkUnnamed1597(o.endpoints);
|
| - checkUnnamed1598(o.enums);
|
| + checkUnnamed1598(o.endpoints);
|
| + checkUnnamed1599(o.enums);
|
| checkExperimental(o.experimental);
|
| checkHttp(o.http);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkLogging(o.logging);
|
| - checkUnnamed1599(o.logs);
|
| - checkUnnamed1600(o.metrics);
|
| - checkUnnamed1601(o.monitoredResources);
|
| + checkUnnamed1600(o.logs);
|
| + checkUnnamed1601(o.metrics);
|
| + checkUnnamed1602(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);
|
| - checkUnnamed1602(o.systemTypes);
|
| + checkUnnamed1603(o.systemTypes);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1603(o.types);
|
| + checkUnnamed1604(o.types);
|
| checkUsage(o.usage);
|
| checkVisibility(o.visibility);
|
| }
|
| @@ -1827,30 +1964,30 @@ checkSourceContext(api.SourceContext o) {
|
| buildCounterSourceContext--;
|
| }
|
|
|
| -buildUnnamed1604() {
|
| +buildUnnamed1605() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1604(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1605(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'));
|
| }
|
|
|
| -buildUnnamed1605() {
|
| +buildUnnamed1606() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1604());
|
| - o.add(buildUnnamed1604());
|
| + o.add(buildUnnamed1605());
|
| + o.add(buildUnnamed1605());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1605(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1606(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1604(o[0]);
|
| - checkUnnamed1604(o[1]);
|
| + checkUnnamed1605(o[0]);
|
| + checkUnnamed1605(o[1]);
|
| }
|
|
|
| core.int buildCounterSourceInfo = 0;
|
| @@ -1858,7 +1995,7 @@ buildSourceInfo() {
|
| var o = new api.SourceInfo();
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - o.sourceFiles = buildUnnamed1605();
|
| + o.sourceFiles = buildUnnamed1606();
|
| }
|
| buildCounterSourceInfo--;
|
| return o;
|
| @@ -1867,35 +2004,35 @@ buildSourceInfo() {
|
| checkSourceInfo(api.SourceInfo o) {
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - checkUnnamed1605(o.sourceFiles);
|
| + checkUnnamed1606(o.sourceFiles);
|
| }
|
| buildCounterSourceInfo--;
|
| }
|
|
|
| -buildUnnamed1606() {
|
| +buildUnnamed1607() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1606(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1607(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'));
|
| }
|
|
|
| -buildUnnamed1607() {
|
| +buildUnnamed1608() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1606());
|
| - o.add(buildUnnamed1606());
|
| + o.add(buildUnnamed1607());
|
| + o.add(buildUnnamed1607());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1607(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1608(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1606(o[0]);
|
| - checkUnnamed1606(o[1]);
|
| + checkUnnamed1607(o[0]);
|
| + checkUnnamed1607(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1904,7 +2041,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1607();
|
| + o.details = buildUnnamed1608();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1915,7 +2052,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1607(o.details);
|
| + checkUnnamed1608(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -1965,14 +2102,14 @@ checkSystemParameter(api.SystemParameter o) {
|
| buildCounterSystemParameter--;
|
| }
|
|
|
| -buildUnnamed1608() {
|
| +buildUnnamed1609() {
|
| var o = new core.List<api.SystemParameter>();
|
| o.add(buildSystemParameter());
|
| o.add(buildSystemParameter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1608(core.List<api.SystemParameter> o) {
|
| +checkUnnamed1609(core.List<api.SystemParameter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameter(o[0]);
|
| checkSystemParameter(o[1]);
|
| @@ -1983,7 +2120,7 @@ buildSystemParameterRule() {
|
| var o = new api.SystemParameterRule();
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - o.parameters = buildUnnamed1608();
|
| + o.parameters = buildUnnamed1609();
|
| o.selector = "foo";
|
| }
|
| buildCounterSystemParameterRule--;
|
| @@ -1993,20 +2130,20 @@ buildSystemParameterRule() {
|
| checkSystemParameterRule(api.SystemParameterRule o) {
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - checkUnnamed1608(o.parameters);
|
| + checkUnnamed1609(o.parameters);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterSystemParameterRule--;
|
| }
|
|
|
| -buildUnnamed1609() {
|
| +buildUnnamed1610() {
|
| var o = new core.List<api.SystemParameterRule>();
|
| o.add(buildSystemParameterRule());
|
| o.add(buildSystemParameterRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1609(core.List<api.SystemParameterRule> o) {
|
| +checkUnnamed1610(core.List<api.SystemParameterRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameterRule(o[0]);
|
| checkSystemParameterRule(o[1]);
|
| @@ -2017,7 +2154,7 @@ buildSystemParameters() {
|
| var o = new api.SystemParameters();
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - o.rules = buildUnnamed1609();
|
| + o.rules = buildUnnamed1610();
|
| }
|
| buildCounterSystemParameters--;
|
| return o;
|
| @@ -2026,45 +2163,45 @@ buildSystemParameters() {
|
| checkSystemParameters(api.SystemParameters o) {
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - checkUnnamed1609(o.rules);
|
| + checkUnnamed1610(o.rules);
|
| }
|
| buildCounterSystemParameters--;
|
| }
|
|
|
| -buildUnnamed1610() {
|
| +buildUnnamed1611() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1610(core.List<api.Field> o) {
|
| +checkUnnamed1611(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed1611() {
|
| +buildUnnamed1612() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1611(core.List<core.String> o) {
|
| +checkUnnamed1612(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'));
|
| }
|
|
|
| -buildUnnamed1612() {
|
| +buildUnnamed1613() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1612(core.List<api.Option> o) {
|
| +checkUnnamed1613(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -2075,10 +2212,10 @@ buildType() {
|
| var o = new api.Type();
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - o.fields = buildUnnamed1610();
|
| + o.fields = buildUnnamed1611();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed1611();
|
| - o.options = buildUnnamed1612();
|
| + o.oneofs = buildUnnamed1612();
|
| + o.options = buildUnnamed1613();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -2089,37 +2226,37 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed1610(o.fields);
|
| + checkUnnamed1611(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1611(o.oneofs);
|
| - checkUnnamed1612(o.options);
|
| + checkUnnamed1612(o.oneofs);
|
| + checkUnnamed1613(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| buildCounterType--;
|
| }
|
|
|
| -buildUnnamed1613() {
|
| +buildUnnamed1614() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1613(core.List<core.String> o) {
|
| +checkUnnamed1614(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'));
|
| }
|
|
|
| -buildUnnamed1614() {
|
| +buildUnnamed1615() {
|
| var o = new core.List<api.UsageRule>();
|
| o.add(buildUsageRule());
|
| o.add(buildUsageRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1614(core.List<api.UsageRule> o) {
|
| +checkUnnamed1615(core.List<api.UsageRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageRule(o[0]);
|
| checkUsageRule(o[1]);
|
| @@ -2131,8 +2268,8 @@ buildUsage() {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| o.producerNotificationChannel = "foo";
|
| - o.requirements = buildUnnamed1613();
|
| - o.rules = buildUnnamed1614();
|
| + o.requirements = buildUnnamed1614();
|
| + o.rules = buildUnnamed1615();
|
| }
|
| buildCounterUsage--;
|
| return o;
|
| @@ -2142,8 +2279,8 @@ checkUsage(api.Usage o) {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
|
| - checkUnnamed1613(o.requirements);
|
| - checkUnnamed1614(o.rules);
|
| + checkUnnamed1614(o.requirements);
|
| + checkUnnamed1615(o.rules);
|
| }
|
| buildCounterUsage--;
|
| }
|
| @@ -2169,14 +2306,14 @@ checkUsageRule(api.UsageRule o) {
|
| buildCounterUsageRule--;
|
| }
|
|
|
| -buildUnnamed1615() {
|
| +buildUnnamed1616() {
|
| var o = new core.List<api.VisibilityRule>();
|
| o.add(buildVisibilityRule());
|
| o.add(buildVisibilityRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1615(core.List<api.VisibilityRule> o) {
|
| +checkUnnamed1616(core.List<api.VisibilityRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVisibilityRule(o[0]);
|
| checkVisibilityRule(o[1]);
|
| @@ -2187,7 +2324,7 @@ buildVisibility() {
|
| var o = new api.Visibility();
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - o.rules = buildUnnamed1615();
|
| + o.rules = buildUnnamed1616();
|
| }
|
| buildCounterVisibility--;
|
| return o;
|
| @@ -2196,7 +2333,7 @@ buildVisibility() {
|
| checkVisibility(api.Visibility o) {
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - checkUnnamed1615(o.rules);
|
| + checkUnnamed1616(o.rules);
|
| }
|
| buildCounterVisibility--;
|
| }
|
| @@ -2530,6 +2667,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-MetricRule", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildMetricRule();
|
| + var od = new api.MetricRule.fromJson(o.toJson());
|
| + checkMetricRule(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-Mixin", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildMixin();
|
| @@ -2620,6 +2766,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-Quota", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildQuota();
|
| + var od = new api.Quota.fromJson(o.toJson());
|
| + checkQuota(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-QuotaLimit", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildQuotaLimit();
|
| + var od = new api.QuotaLimit.fromJson(o.toJson());
|
| + checkQuotaLimit(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-SearchServicesResponse", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildSearchServicesResponse();
|
|
|