| Index: generated/googleapis/test/servicemanagement/v1_test.dart
|
| diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
|
| index dab9d05dbf87c76dda134ca56663b23e02d96345..a7798b484c38b0351bc5bbaafeb6ceacc7aea870 100644
|
| --- a/generated/googleapis/test/servicemanagement/v1_test.dart
|
| +++ b/generated/googleapis/test/servicemanagement/v1_test.dart
|
| @@ -70,40 +70,40 @@ checkAdvice(api.Advice o) {
|
| buildCounterAdvice--;
|
| }
|
|
|
| -buildUnnamed1051() {
|
| +buildUnnamed1042() {
|
| var o = new core.List<api.Method>();
|
| o.add(buildMethod());
|
| o.add(buildMethod());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1051(core.List<api.Method> o) {
|
| +checkUnnamed1042(core.List<api.Method> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMethod(o[0]);
|
| checkMethod(o[1]);
|
| }
|
|
|
| -buildUnnamed1052() {
|
| +buildUnnamed1043() {
|
| var o = new core.List<api.Mixin>();
|
| o.add(buildMixin());
|
| o.add(buildMixin());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1052(core.List<api.Mixin> o) {
|
| +checkUnnamed1043(core.List<api.Mixin> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMixin(o[0]);
|
| checkMixin(o[1]);
|
| }
|
|
|
| -buildUnnamed1053() {
|
| +buildUnnamed1044() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1053(core.List<api.Option> o) {
|
| +checkUnnamed1044(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -114,10 +114,10 @@ buildApi() {
|
| var o = new api.Api();
|
| buildCounterApi++;
|
| if (buildCounterApi < 3) {
|
| - o.methods = buildUnnamed1051();
|
| - o.mixins = buildUnnamed1052();
|
| + o.methods = buildUnnamed1042();
|
| + o.mixins = buildUnnamed1043();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1053();
|
| + o.options = buildUnnamed1044();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| o.version = "foo";
|
| @@ -129,10 +129,10 @@ buildApi() {
|
| checkApi(api.Api o) {
|
| buildCounterApi++;
|
| if (buildCounterApi < 3) {
|
| - checkUnnamed1051(o.methods);
|
| - checkUnnamed1052(o.mixins);
|
| + checkUnnamed1042(o.methods);
|
| + checkUnnamed1043(o.mixins);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1053(o.options);
|
| + checkUnnamed1044(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals('foo'));
|
| @@ -140,27 +140,27 @@ checkApi(api.Api o) {
|
| buildCounterApi--;
|
| }
|
|
|
| -buildUnnamed1054() {
|
| +buildUnnamed1045() {
|
| var o = new core.List<api.AuditLogConfig>();
|
| o.add(buildAuditLogConfig());
|
| o.add(buildAuditLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1054(core.List<api.AuditLogConfig> o) {
|
| +checkUnnamed1045(core.List<api.AuditLogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuditLogConfig(o[0]);
|
| checkAuditLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1055() {
|
| +buildUnnamed1046() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1055(core.List<core.String> o) {
|
| +checkUnnamed1046(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'));
|
| @@ -171,8 +171,8 @@ buildAuditConfig() {
|
| var o = new api.AuditConfig();
|
| buildCounterAuditConfig++;
|
| if (buildCounterAuditConfig < 3) {
|
| - o.auditLogConfigs = buildUnnamed1054();
|
| - o.exemptedMembers = buildUnnamed1055();
|
| + o.auditLogConfigs = buildUnnamed1045();
|
| + o.exemptedMembers = buildUnnamed1046();
|
| o.service = "foo";
|
| }
|
| buildCounterAuditConfig--;
|
| @@ -182,21 +182,21 @@ buildAuditConfig() {
|
| checkAuditConfig(api.AuditConfig o) {
|
| buildCounterAuditConfig++;
|
| if (buildCounterAuditConfig < 3) {
|
| - checkUnnamed1054(o.auditLogConfigs);
|
| - checkUnnamed1055(o.exemptedMembers);
|
| + checkUnnamed1045(o.auditLogConfigs);
|
| + checkUnnamed1046(o.exemptedMembers);
|
| unittest.expect(o.service, unittest.equals('foo'));
|
| }
|
| buildCounterAuditConfig--;
|
| }
|
|
|
| -buildUnnamed1056() {
|
| +buildUnnamed1047() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1056(core.List<core.String> o) {
|
| +checkUnnamed1047(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'));
|
| @@ -207,7 +207,7 @@ buildAuditLogConfig() {
|
| var o = new api.AuditLogConfig();
|
| buildCounterAuditLogConfig++;
|
| if (buildCounterAuditLogConfig < 3) {
|
| - o.exemptedMembers = buildUnnamed1056();
|
| + o.exemptedMembers = buildUnnamed1047();
|
| o.logType = "foo";
|
| }
|
| buildCounterAuditLogConfig--;
|
| @@ -217,7 +217,7 @@ buildAuditLogConfig() {
|
| checkAuditLogConfig(api.AuditLogConfig o) {
|
| buildCounterAuditLogConfig++;
|
| if (buildCounterAuditLogConfig < 3) {
|
| - checkUnnamed1056(o.exemptedMembers);
|
| + checkUnnamed1047(o.exemptedMembers);
|
| unittest.expect(o.logType, unittest.equals('foo'));
|
| }
|
| buildCounterAuditLogConfig--;
|
| @@ -269,27 +269,27 @@ checkAuthRequirement(api.AuthRequirement o) {
|
| buildCounterAuthRequirement--;
|
| }
|
|
|
| -buildUnnamed1057() {
|
| +buildUnnamed1048() {
|
| var o = new core.List<api.AuthProvider>();
|
| o.add(buildAuthProvider());
|
| o.add(buildAuthProvider());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1057(core.List<api.AuthProvider> o) {
|
| +checkUnnamed1048(core.List<api.AuthProvider> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthProvider(o[0]);
|
| checkAuthProvider(o[1]);
|
| }
|
|
|
| -buildUnnamed1058() {
|
| +buildUnnamed1049() {
|
| var o = new core.List<api.AuthenticationRule>();
|
| o.add(buildAuthenticationRule());
|
| o.add(buildAuthenticationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1058(core.List<api.AuthenticationRule> o) {
|
| +checkUnnamed1049(core.List<api.AuthenticationRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthenticationRule(o[0]);
|
| checkAuthenticationRule(o[1]);
|
| @@ -300,8 +300,8 @@ buildAuthentication() {
|
| var o = new api.Authentication();
|
| buildCounterAuthentication++;
|
| if (buildCounterAuthentication < 3) {
|
| - o.providers = buildUnnamed1057();
|
| - o.rules = buildUnnamed1058();
|
| + o.providers = buildUnnamed1048();
|
| + o.rules = buildUnnamed1049();
|
| }
|
| buildCounterAuthentication--;
|
| return o;
|
| @@ -310,20 +310,20 @@ buildAuthentication() {
|
| checkAuthentication(api.Authentication o) {
|
| buildCounterAuthentication++;
|
| if (buildCounterAuthentication < 3) {
|
| - checkUnnamed1057(o.providers);
|
| - checkUnnamed1058(o.rules);
|
| + checkUnnamed1048(o.providers);
|
| + checkUnnamed1049(o.rules);
|
| }
|
| buildCounterAuthentication--;
|
| }
|
|
|
| -buildUnnamed1059() {
|
| +buildUnnamed1050() {
|
| var o = new core.List<api.AuthRequirement>();
|
| o.add(buildAuthRequirement());
|
| o.add(buildAuthRequirement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1059(core.List<api.AuthRequirement> o) {
|
| +checkUnnamed1050(core.List<api.AuthRequirement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthRequirement(o[0]);
|
| checkAuthRequirement(o[1]);
|
| @@ -336,7 +336,7 @@ buildAuthenticationRule() {
|
| if (buildCounterAuthenticationRule < 3) {
|
| o.allowWithoutCredential = true;
|
| o.oauth = buildOAuthRequirements();
|
| - o.requirements = buildUnnamed1059();
|
| + o.requirements = buildUnnamed1050();
|
| o.selector = "foo";
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -348,7 +348,7 @@ checkAuthenticationRule(api.AuthenticationRule o) {
|
| if (buildCounterAuthenticationRule < 3) {
|
| unittest.expect(o.allowWithoutCredential, unittest.isTrue);
|
| checkOAuthRequirements(o.oauth);
|
| - checkUnnamed1059(o.requirements);
|
| + checkUnnamed1050(o.requirements);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -373,14 +373,14 @@ checkAuthorizationConfig(api.AuthorizationConfig o) {
|
| buildCounterAuthorizationConfig--;
|
| }
|
|
|
| -buildUnnamed1060() {
|
| +buildUnnamed1051() {
|
| var o = new core.List<api.BackendRule>();
|
| o.add(buildBackendRule());
|
| o.add(buildBackendRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1060(core.List<api.BackendRule> o) {
|
| +checkUnnamed1051(core.List<api.BackendRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBackendRule(o[0]);
|
| checkBackendRule(o[1]);
|
| @@ -391,7 +391,7 @@ buildBackend() {
|
| var o = new api.Backend();
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - o.rules = buildUnnamed1060();
|
| + o.rules = buildUnnamed1051();
|
| }
|
| buildCounterBackend--;
|
| return o;
|
| @@ -400,7 +400,7 @@ buildBackend() {
|
| checkBackend(api.Backend o) {
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - checkUnnamed1060(o.rules);
|
| + checkUnnamed1051(o.rules);
|
| }
|
| buildCounterBackend--;
|
| }
|
| @@ -428,14 +428,14 @@ checkBackendRule(api.BackendRule o) {
|
| buildCounterBackendRule--;
|
| }
|
|
|
| -buildUnnamed1061() {
|
| +buildUnnamed1052() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1061(core.List<core.String> o) {
|
| +checkUnnamed1052(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'));
|
| @@ -446,7 +446,7 @@ buildBinding() {
|
| var o = new api.Binding();
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - o.members = buildUnnamed1061();
|
| + o.members = buildUnnamed1052();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -456,20 +456,20 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed1061(o.members);
|
| + checkUnnamed1052(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| }
|
|
|
| -buildUnnamed1062() {
|
| +buildUnnamed1053() {
|
| var o = new core.List<api.ConfigChange>();
|
| o.add(buildConfigChange());
|
| o.add(buildConfigChange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1062(core.List<api.ConfigChange> o) {
|
| +checkUnnamed1053(core.List<api.ConfigChange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConfigChange(o[0]);
|
| checkConfigChange(o[1]);
|
| @@ -480,7 +480,7 @@ buildChangeReport() {
|
| var o = new api.ChangeReport();
|
| buildCounterChangeReport++;
|
| if (buildCounterChangeReport < 3) {
|
| - o.configChanges = buildUnnamed1062();
|
| + o.configChanges = buildUnnamed1053();
|
| }
|
| buildCounterChangeReport--;
|
| return o;
|
| @@ -489,7 +489,7 @@ buildChangeReport() {
|
| checkChangeReport(api.ChangeReport o) {
|
| buildCounterChangeReport++;
|
| if (buildCounterChangeReport < 3) {
|
| - checkUnnamed1062(o.configChanges);
|
| + checkUnnamed1053(o.configChanges);
|
| }
|
| buildCounterChangeReport--;
|
| }
|
| @@ -511,14 +511,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) {
|
| buildCounterCloudAuditOptions--;
|
| }
|
|
|
| -buildUnnamed1063() {
|
| +buildUnnamed1054() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1063(core.List<core.String> o) {
|
| +checkUnnamed1054(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'));
|
| @@ -534,7 +534,7 @@ buildCondition() {
|
| o.svc = "foo";
|
| o.sys = "foo";
|
| o.value = "foo";
|
| - o.values = buildUnnamed1063();
|
| + o.values = buildUnnamed1054();
|
| }
|
| buildCounterCondition--;
|
| return o;
|
| @@ -548,19 +548,19 @@ checkCondition(api.Condition o) {
|
| unittest.expect(o.svc, unittest.equals('foo'));
|
| unittest.expect(o.sys, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| - checkUnnamed1063(o.values);
|
| + checkUnnamed1054(o.values);
|
| }
|
| buildCounterCondition--;
|
| }
|
|
|
| -buildUnnamed1064() {
|
| +buildUnnamed1055() {
|
| var o = new core.List<api.Advice>();
|
| o.add(buildAdvice());
|
| o.add(buildAdvice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1064(core.List<api.Advice> o) {
|
| +checkUnnamed1055(core.List<api.Advice> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdvice(o[0]);
|
| checkAdvice(o[1]);
|
| @@ -571,7 +571,7 @@ buildConfigChange() {
|
| var o = new api.ConfigChange();
|
| buildCounterConfigChange++;
|
| if (buildCounterConfigChange < 3) {
|
| - o.advices = buildUnnamed1064();
|
| + o.advices = buildUnnamed1055();
|
| o.changeType = "foo";
|
| o.element = "foo";
|
| o.newValue = "foo";
|
| @@ -584,7 +584,7 @@ buildConfigChange() {
|
| checkConfigChange(api.ConfigChange o) {
|
| buildCounterConfigChange++;
|
| if (buildCounterConfigChange < 3) {
|
| - checkUnnamed1064(o.advices);
|
| + checkUnnamed1055(o.advices);
|
| unittest.expect(o.changeType, unittest.equals('foo'));
|
| unittest.expect(o.element, unittest.equals('foo'));
|
| unittest.expect(o.newValue, unittest.equals('foo'));
|
| @@ -635,14 +635,14 @@ checkConfigRef(api.ConfigRef o) {
|
| buildCounterConfigRef--;
|
| }
|
|
|
| -buildUnnamed1065() {
|
| +buildUnnamed1056() {
|
| var o = new core.List<api.ConfigFile>();
|
| o.add(buildConfigFile());
|
| o.add(buildConfigFile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1065(core.List<api.ConfigFile> o) {
|
| +checkUnnamed1056(core.List<api.ConfigFile> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConfigFile(o[0]);
|
| checkConfigFile(o[1]);
|
| @@ -653,7 +653,7 @@ buildConfigSource() {
|
| var o = new api.ConfigSource();
|
| buildCounterConfigSource++;
|
| if (buildCounterConfigSource < 3) {
|
| - o.files = buildUnnamed1065();
|
| + o.files = buildUnnamed1056();
|
| o.id = "foo";
|
| }
|
| buildCounterConfigSource--;
|
| @@ -663,20 +663,20 @@ buildConfigSource() {
|
| checkConfigSource(api.ConfigSource o) {
|
| buildCounterConfigSource++;
|
| if (buildCounterConfigSource < 3) {
|
| - checkUnnamed1065(o.files);
|
| + checkUnnamed1056(o.files);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| }
|
| buildCounterConfigSource--;
|
| }
|
|
|
| -buildUnnamed1066() {
|
| +buildUnnamed1057() {
|
| var o = new core.List<api.ContextRule>();
|
| o.add(buildContextRule());
|
| o.add(buildContextRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1066(core.List<api.ContextRule> o) {
|
| +checkUnnamed1057(core.List<api.ContextRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContextRule(o[0]);
|
| checkContextRule(o[1]);
|
| @@ -687,7 +687,7 @@ buildContext() {
|
| var o = new api.Context();
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - o.rules = buildUnnamed1066();
|
| + o.rules = buildUnnamed1057();
|
| }
|
| buildCounterContext--;
|
| return o;
|
| @@ -696,32 +696,32 @@ buildContext() {
|
| checkContext(api.Context o) {
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - checkUnnamed1066(o.rules);
|
| + checkUnnamed1057(o.rules);
|
| }
|
| buildCounterContext--;
|
| }
|
|
|
| -buildUnnamed1067() {
|
| +buildUnnamed1058() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1067(core.List<core.String> o) {
|
| +checkUnnamed1058(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'));
|
| }
|
|
|
| -buildUnnamed1068() {
|
| +buildUnnamed1059() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1068(core.List<core.String> o) {
|
| +checkUnnamed1059(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'));
|
| @@ -732,8 +732,8 @@ buildContextRule() {
|
| var o = new api.ContextRule();
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - o.provided = buildUnnamed1067();
|
| - o.requested = buildUnnamed1068();
|
| + o.provided = buildUnnamed1058();
|
| + o.requested = buildUnnamed1059();
|
| o.selector = "foo";
|
| }
|
| buildCounterContextRule--;
|
| @@ -743,8 +743,8 @@ buildContextRule() {
|
| checkContextRule(api.ContextRule o) {
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - checkUnnamed1067(o.provided);
|
| - checkUnnamed1068(o.requested);
|
| + checkUnnamed1058(o.provided);
|
| + checkUnnamed1059(o.requested);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterContextRule--;
|
| @@ -790,27 +790,27 @@ checkCounterOptions(api.CounterOptions o) {
|
| buildCounterCounterOptions--;
|
| }
|
|
|
| -buildUnnamed1069() {
|
| +buildUnnamed1060() {
|
| var o = new core.List<api.CustomErrorRule>();
|
| o.add(buildCustomErrorRule());
|
| o.add(buildCustomErrorRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1069(core.List<api.CustomErrorRule> o) {
|
| +checkUnnamed1060(core.List<api.CustomErrorRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCustomErrorRule(o[0]);
|
| checkCustomErrorRule(o[1]);
|
| }
|
|
|
| -buildUnnamed1070() {
|
| +buildUnnamed1061() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1070(core.List<core.String> o) {
|
| +checkUnnamed1061(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'));
|
| @@ -821,8 +821,8 @@ buildCustomError() {
|
| var o = new api.CustomError();
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - o.rules = buildUnnamed1069();
|
| - o.types = buildUnnamed1070();
|
| + o.rules = buildUnnamed1060();
|
| + o.types = buildUnnamed1061();
|
| }
|
| buildCounterCustomError--;
|
| return o;
|
| @@ -831,8 +831,8 @@ buildCustomError() {
|
| checkCustomError(api.CustomError o) {
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - checkUnnamed1069(o.rules);
|
| - checkUnnamed1070(o.types);
|
| + checkUnnamed1060(o.rules);
|
| + checkUnnamed1061(o.types);
|
| }
|
| buildCounterCustomError--;
|
| }
|
| @@ -955,27 +955,27 @@ checkDisableServiceRequest(api.DisableServiceRequest o) {
|
| buildCounterDisableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1071() {
|
| +buildUnnamed1062() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1071(core.List<api.Page> o) {
|
| +checkUnnamed1062(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| }
|
|
|
| -buildUnnamed1072() {
|
| +buildUnnamed1063() {
|
| var o = new core.List<api.DocumentationRule>();
|
| o.add(buildDocumentationRule());
|
| o.add(buildDocumentationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1072(core.List<api.DocumentationRule> o) {
|
| +checkUnnamed1063(core.List<api.DocumentationRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDocumentationRule(o[0]);
|
| checkDocumentationRule(o[1]);
|
| @@ -988,8 +988,8 @@ buildDocumentation() {
|
| if (buildCounterDocumentation < 3) {
|
| o.documentationRootUrl = "foo";
|
| o.overview = "foo";
|
| - o.pages = buildUnnamed1071();
|
| - o.rules = buildUnnamed1072();
|
| + o.pages = buildUnnamed1062();
|
| + o.rules = buildUnnamed1063();
|
| o.summary = "foo";
|
| }
|
| buildCounterDocumentation--;
|
| @@ -1001,8 +1001,8 @@ checkDocumentation(api.Documentation o) {
|
| if (buildCounterDocumentation < 3) {
|
| unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
|
| unittest.expect(o.overview, unittest.equals('foo'));
|
| - checkUnnamed1071(o.pages);
|
| - checkUnnamed1072(o.rules);
|
| + checkUnnamed1062(o.pages);
|
| + checkUnnamed1063(o.rules);
|
| unittest.expect(o.summary, unittest.equals('foo'));
|
| }
|
| buildCounterDocumentation--;
|
| @@ -1050,40 +1050,40 @@ checkEnableServiceRequest(api.EnableServiceRequest o) {
|
| buildCounterEnableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1073() {
|
| +buildUnnamed1064() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1073(core.List<core.String> o) {
|
| +checkUnnamed1064(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'));
|
| }
|
|
|
| -buildUnnamed1074() {
|
| +buildUnnamed1065() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1074(core.List<core.String> o) {
|
| +checkUnnamed1065(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'));
|
| }
|
|
|
| -buildUnnamed1075() {
|
| +buildUnnamed1066() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1075(core.List<core.String> o) {
|
| +checkUnnamed1066(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'));
|
| @@ -1094,11 +1094,12 @@ buildEndpoint() {
|
| var o = new api.Endpoint();
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - o.aliases = buildUnnamed1073();
|
| + o.aliases = buildUnnamed1064();
|
| o.allowCors = true;
|
| - o.apis = buildUnnamed1074();
|
| - o.features = buildUnnamed1075();
|
| + o.apis = buildUnnamed1065();
|
| + o.features = buildUnnamed1066();
|
| o.name = "foo";
|
| + o.target = "foo";
|
| }
|
| buildCounterEndpoint--;
|
| return o;
|
| @@ -1107,36 +1108,37 @@ buildEndpoint() {
|
| checkEndpoint(api.Endpoint o) {
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - checkUnnamed1073(o.aliases);
|
| + checkUnnamed1064(o.aliases);
|
| unittest.expect(o.allowCors, unittest.isTrue);
|
| - checkUnnamed1074(o.apis);
|
| - checkUnnamed1075(o.features);
|
| + checkUnnamed1065(o.apis);
|
| + checkUnnamed1066(o.features);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.target, unittest.equals('foo'));
|
| }
|
| buildCounterEndpoint--;
|
| }
|
|
|
| -buildUnnamed1076() {
|
| +buildUnnamed1067() {
|
| var o = new core.List<api.EnumValue>();
|
| o.add(buildEnumValue());
|
| o.add(buildEnumValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1076(core.List<api.EnumValue> o) {
|
| +checkUnnamed1067(core.List<api.EnumValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnumValue(o[0]);
|
| checkEnumValue(o[1]);
|
| }
|
|
|
| -buildUnnamed1077() {
|
| +buildUnnamed1068() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1077(core.List<api.Option> o) {
|
| +checkUnnamed1068(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1147,9 +1149,9 @@ buildEnum() {
|
| var o = new api.Enum();
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - o.enumvalue = buildUnnamed1076();
|
| + o.enumvalue = buildUnnamed1067();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1077();
|
| + o.options = buildUnnamed1068();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -1160,23 +1162,23 @@ buildEnum() {
|
| checkEnum(api.Enum o) {
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - checkUnnamed1076(o.enumvalue);
|
| + checkUnnamed1067(o.enumvalue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1077(o.options);
|
| + checkUnnamed1068(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| buildCounterEnum--;
|
| }
|
|
|
| -buildUnnamed1078() {
|
| +buildUnnamed1069() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1078(core.List<api.Option> o) {
|
| +checkUnnamed1069(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1189,7 +1191,7 @@ buildEnumValue() {
|
| if (buildCounterEnumValue < 3) {
|
| o.name = "foo";
|
| o.number = 42;
|
| - o.options = buildUnnamed1078();
|
| + o.options = buildUnnamed1069();
|
| }
|
| buildCounterEnumValue--;
|
| return o;
|
| @@ -1200,7 +1202,7 @@ checkEnumValue(api.EnumValue o) {
|
| if (buildCounterEnumValue < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.number, unittest.equals(42));
|
| - checkUnnamed1078(o.options);
|
| + checkUnnamed1069(o.options);
|
| }
|
| buildCounterEnumValue--;
|
| }
|
| @@ -1224,14 +1226,14 @@ checkExperimental(api.Experimental o) {
|
| buildCounterExperimental--;
|
| }
|
|
|
| -buildUnnamed1079() {
|
| +buildUnnamed1070() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1079(core.List<api.Option> o) {
|
| +checkUnnamed1070(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1249,7 +1251,7 @@ buildField() {
|
| o.name = "foo";
|
| o.number = 42;
|
| o.oneofIndex = 42;
|
| - o.options = buildUnnamed1079();
|
| + o.options = buildUnnamed1070();
|
| o.packed = true;
|
| o.typeUrl = "foo";
|
| }
|
| @@ -1267,21 +1269,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));
|
| - checkUnnamed1079(o.options);
|
| + checkUnnamed1070(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| buildCounterField--;
|
| }
|
|
|
| -buildUnnamed1080() {
|
| +buildUnnamed1071() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1080(core.List<core.String> o) {
|
| +checkUnnamed1071(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'));
|
| @@ -1295,8 +1297,7 @@ buildFlowOperationMetadata() {
|
| o.cancelState = "foo";
|
| o.deadline = "foo";
|
| o.flowName = "foo";
|
| - o.isPersisted = true;
|
| - o.resourceNames = buildUnnamed1080();
|
| + o.resourceNames = buildUnnamed1071();
|
| o.startTime = "foo";
|
| }
|
| buildCounterFlowOperationMetadata--;
|
| @@ -1309,34 +1310,33 @@ checkFlowOperationMetadata(api.FlowOperationMetadata o) {
|
| unittest.expect(o.cancelState, unittest.equals('foo'));
|
| unittest.expect(o.deadline, unittest.equals('foo'));
|
| unittest.expect(o.flowName, unittest.equals('foo'));
|
| - unittest.expect(o.isPersisted, unittest.isTrue);
|
| - checkUnnamed1080(o.resourceNames);
|
| + checkUnnamed1071(o.resourceNames);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| }
|
| buildCounterFlowOperationMetadata--;
|
| }
|
|
|
| -buildUnnamed1081() {
|
| +buildUnnamed1072() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1081(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1072(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'));
|
| }
|
|
|
| -buildUnnamed1082() {
|
| +buildUnnamed1073() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1082(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1073(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'));
|
| @@ -1347,8 +1347,8 @@ buildGenerateConfigReportRequest() {
|
| var o = new api.GenerateConfigReportRequest();
|
| buildCounterGenerateConfigReportRequest++;
|
| if (buildCounterGenerateConfigReportRequest < 3) {
|
| - o.newConfig = buildUnnamed1081();
|
| - o.oldConfig = buildUnnamed1082();
|
| + o.newConfig = buildUnnamed1072();
|
| + o.oldConfig = buildUnnamed1073();
|
| }
|
| buildCounterGenerateConfigReportRequest--;
|
| return o;
|
| @@ -1357,33 +1357,33 @@ buildGenerateConfigReportRequest() {
|
| checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
|
| buildCounterGenerateConfigReportRequest++;
|
| if (buildCounterGenerateConfigReportRequest < 3) {
|
| - checkUnnamed1081(o.newConfig);
|
| - checkUnnamed1082(o.oldConfig);
|
| + checkUnnamed1072(o.newConfig);
|
| + checkUnnamed1073(o.oldConfig);
|
| }
|
| buildCounterGenerateConfigReportRequest--;
|
| }
|
|
|
| -buildUnnamed1083() {
|
| +buildUnnamed1074() {
|
| var o = new core.List<api.ChangeReport>();
|
| o.add(buildChangeReport());
|
| o.add(buildChangeReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1083(core.List<api.ChangeReport> o) {
|
| +checkUnnamed1074(core.List<api.ChangeReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChangeReport(o[0]);
|
| checkChangeReport(o[1]);
|
| }
|
|
|
| -buildUnnamed1084() {
|
| +buildUnnamed1075() {
|
| var o = new core.List<api.Diagnostic>();
|
| o.add(buildDiagnostic());
|
| o.add(buildDiagnostic());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1084(core.List<api.Diagnostic> o) {
|
| +checkUnnamed1075(core.List<api.Diagnostic> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiagnostic(o[0]);
|
| checkDiagnostic(o[1]);
|
| @@ -1394,8 +1394,8 @@ buildGenerateConfigReportResponse() {
|
| var o = new api.GenerateConfigReportResponse();
|
| buildCounterGenerateConfigReportResponse++;
|
| if (buildCounterGenerateConfigReportResponse < 3) {
|
| - o.changeReports = buildUnnamed1083();
|
| - o.diagnostics = buildUnnamed1084();
|
| + o.changeReports = buildUnnamed1074();
|
| + o.diagnostics = buildUnnamed1075();
|
| o.id = "foo";
|
| o.serviceName = "foo";
|
| }
|
| @@ -1406,8 +1406,8 @@ buildGenerateConfigReportResponse() {
|
| checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
|
| buildCounterGenerateConfigReportResponse++;
|
| if (buildCounterGenerateConfigReportResponse < 3) {
|
| - checkUnnamed1083(o.changeReports);
|
| - checkUnnamed1084(o.diagnostics);
|
| + checkUnnamed1074(o.changeReports);
|
| + checkUnnamed1075(o.diagnostics);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.serviceName, unittest.equals('foo'));
|
| }
|
| @@ -1431,14 +1431,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
|
| buildCounterGetIamPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed1085() {
|
| +buildUnnamed1076() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1085(core.List<api.HttpRule> o) {
|
| +checkUnnamed1076(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -1449,7 +1449,8 @@ buildHttp() {
|
| var o = new api.Http();
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| - o.rules = buildUnnamed1085();
|
| + o.fullyDecodeReservedExpansion = true;
|
| + o.rules = buildUnnamed1076();
|
| }
|
| buildCounterHttp--;
|
| return o;
|
| @@ -1458,19 +1459,20 @@ buildHttp() {
|
| checkHttp(api.Http o) {
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| - checkUnnamed1085(o.rules);
|
| + unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
|
| + checkUnnamed1076(o.rules);
|
| }
|
| buildCounterHttp--;
|
| }
|
|
|
| -buildUnnamed1086() {
|
| +buildUnnamed1077() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1086(core.List<api.HttpRule> o) {
|
| +checkUnnamed1077(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -1481,7 +1483,7 @@ buildHttpRule() {
|
| var o = new api.HttpRule();
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - o.additionalBindings = buildUnnamed1086();
|
| + o.additionalBindings = buildUnnamed1077();
|
| o.body = "foo";
|
| o.custom = buildCustomHttpPattern();
|
| o.delete = "foo";
|
| @@ -1501,7 +1503,7 @@ buildHttpRule() {
|
| checkHttpRule(api.HttpRule o) {
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - checkUnnamed1086(o.additionalBindings);
|
| + checkUnnamed1077(o.additionalBindings);
|
| unittest.expect(o.body, unittest.equals('foo'));
|
| checkCustomHttpPattern(o.custom);
|
| unittest.expect(o.delete, unittest.equals('foo'));
|
| @@ -1540,14 +1542,14 @@ checkLabelDescriptor(api.LabelDescriptor o) {
|
| buildCounterLabelDescriptor--;
|
| }
|
|
|
| -buildUnnamed1087() {
|
| +buildUnnamed1078() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1087(core.List<api.Operation> o) {
|
| +checkUnnamed1078(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -1559,7 +1561,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed1087();
|
| + o.operations = buildUnnamed1078();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -1569,19 +1571,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1087(o.operations);
|
| + checkUnnamed1078(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed1088() {
|
| +buildUnnamed1079() {
|
| var o = new core.List<api.Service>();
|
| o.add(buildService());
|
| o.add(buildService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1088(core.List<api.Service> o) {
|
| +checkUnnamed1079(core.List<api.Service> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkService(o[0]);
|
| checkService(o[1]);
|
| @@ -1593,7 +1595,7 @@ buildListServiceConfigsResponse() {
|
| buildCounterListServiceConfigsResponse++;
|
| if (buildCounterListServiceConfigsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.serviceConfigs = buildUnnamed1088();
|
| + o.serviceConfigs = buildUnnamed1079();
|
| }
|
| buildCounterListServiceConfigsResponse--;
|
| return o;
|
| @@ -1603,19 +1605,19 @@ checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) {
|
| buildCounterListServiceConfigsResponse++;
|
| if (buildCounterListServiceConfigsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1088(o.serviceConfigs);
|
| + checkUnnamed1079(o.serviceConfigs);
|
| }
|
| buildCounterListServiceConfigsResponse--;
|
| }
|
|
|
| -buildUnnamed1089() {
|
| +buildUnnamed1080() {
|
| var o = new core.List<api.Rollout>();
|
| o.add(buildRollout());
|
| o.add(buildRollout());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1089(core.List<api.Rollout> o) {
|
| +checkUnnamed1080(core.List<api.Rollout> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRollout(o[0]);
|
| checkRollout(o[1]);
|
| @@ -1627,7 +1629,7 @@ buildListServiceRolloutsResponse() {
|
| buildCounterListServiceRolloutsResponse++;
|
| if (buildCounterListServiceRolloutsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.rollouts = buildUnnamed1089();
|
| + o.rollouts = buildUnnamed1080();
|
| }
|
| buildCounterListServiceRolloutsResponse--;
|
| return o;
|
| @@ -1637,19 +1639,19 @@ checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) {
|
| buildCounterListServiceRolloutsResponse++;
|
| if (buildCounterListServiceRolloutsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1089(o.rollouts);
|
| + checkUnnamed1080(o.rollouts);
|
| }
|
| buildCounterListServiceRolloutsResponse--;
|
| }
|
|
|
| -buildUnnamed1090() {
|
| +buildUnnamed1081() {
|
| var o = new core.List<api.ManagedService>();
|
| o.add(buildManagedService());
|
| o.add(buildManagedService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1090(core.List<api.ManagedService> o) {
|
| +checkUnnamed1081(core.List<api.ManagedService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedService(o[0]);
|
| checkManagedService(o[1]);
|
| @@ -1661,7 +1663,7 @@ buildListServicesResponse() {
|
| buildCounterListServicesResponse++;
|
| if (buildCounterListServicesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.services = buildUnnamed1090();
|
| + o.services = buildUnnamed1081();
|
| }
|
| buildCounterListServicesResponse--;
|
| return o;
|
| @@ -1671,7 +1673,7 @@ checkListServicesResponse(api.ListServicesResponse o) {
|
| buildCounterListServicesResponse++;
|
| if (buildCounterListServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1090(o.services);
|
| + checkUnnamed1081(o.services);
|
| }
|
| buildCounterListServicesResponse--;
|
| }
|
| @@ -1699,14 +1701,14 @@ checkLogConfig(api.LogConfig o) {
|
| buildCounterLogConfig--;
|
| }
|
|
|
| -buildUnnamed1091() {
|
| +buildUnnamed1082() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1091(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1082(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1719,7 +1721,7 @@ buildLogDescriptor() {
|
| if (buildCounterLogDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1091();
|
| + o.labels = buildUnnamed1082();
|
| o.name = "foo";
|
| }
|
| buildCounterLogDescriptor--;
|
| @@ -1731,33 +1733,33 @@ checkLogDescriptor(api.LogDescriptor o) {
|
| if (buildCounterLogDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1091(o.labels);
|
| + checkUnnamed1082(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLogDescriptor--;
|
| }
|
|
|
| -buildUnnamed1092() {
|
| +buildUnnamed1083() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1092(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1083(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1093() {
|
| +buildUnnamed1084() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1093(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1084(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| @@ -1768,8 +1770,8 @@ buildLogging() {
|
| var o = new api.Logging();
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - o.consumerDestinations = buildUnnamed1092();
|
| - o.producerDestinations = buildUnnamed1093();
|
| + o.consumerDestinations = buildUnnamed1083();
|
| + o.producerDestinations = buildUnnamed1084();
|
| }
|
| buildCounterLogging--;
|
| return o;
|
| @@ -1778,20 +1780,20 @@ buildLogging() {
|
| checkLogging(api.Logging o) {
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - checkUnnamed1092(o.consumerDestinations);
|
| - checkUnnamed1093(o.producerDestinations);
|
| + checkUnnamed1083(o.consumerDestinations);
|
| + checkUnnamed1084(o.producerDestinations);
|
| }
|
| buildCounterLogging--;
|
| }
|
|
|
| -buildUnnamed1094() {
|
| +buildUnnamed1085() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1094(core.List<core.String> o) {
|
| +checkUnnamed1085(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'));
|
| @@ -1802,7 +1804,7 @@ buildLoggingDestination() {
|
| var o = new api.LoggingDestination();
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - o.logs = buildUnnamed1094();
|
| + o.logs = buildUnnamed1085();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1812,7 +1814,7 @@ buildLoggingDestination() {
|
| checkLoggingDestination(api.LoggingDestination o) {
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - checkUnnamed1094(o.logs);
|
| + checkUnnamed1085(o.logs);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1881,14 +1883,14 @@ checkMediaUpload(api.MediaUpload o) {
|
| buildCounterMediaUpload--;
|
| }
|
|
|
| -buildUnnamed1095() {
|
| +buildUnnamed1086() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1095(core.List<api.Option> o) {
|
| +checkUnnamed1086(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1900,7 +1902,7 @@ buildMethod() {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| o.name = "foo";
|
| - o.options = buildUnnamed1095();
|
| + o.options = buildUnnamed1086();
|
| o.requestStreaming = true;
|
| o.requestTypeUrl = "foo";
|
| o.responseStreaming = true;
|
| @@ -1915,7 +1917,7 @@ checkMethod(api.Method o) {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1095(o.options);
|
| + checkUnnamed1086(o.options);
|
| unittest.expect(o.requestStreaming, unittest.isTrue);
|
| unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
|
| unittest.expect(o.responseStreaming, unittest.isTrue);
|
| @@ -1925,14 +1927,14 @@ checkMethod(api.Method o) {
|
| buildCounterMethod--;
|
| }
|
|
|
| -buildUnnamed1096() {
|
| +buildUnnamed1087() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1096(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1087(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1945,7 +1947,7 @@ buildMetricDescriptor() {
|
| if (buildCounterMetricDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1096();
|
| + o.labels = buildUnnamed1087();
|
| o.metricKind = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -1961,7 +1963,7 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| if (buildCounterMetricDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1096(o.labels);
|
| + checkUnnamed1087(o.labels);
|
| unittest.expect(o.metricKind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -1971,6 +1973,40 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| buildCounterMetricDescriptor--;
|
| }
|
|
|
| +buildUnnamed1088() {
|
| + var o = new core.Map<core.String, core.String>();
|
| + o["x"] = "foo";
|
| + o["y"] = "foo";
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1088(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 = buildUnnamed1088();
|
| + o.selector = "foo";
|
| + }
|
| + buildCounterMetricRule--;
|
| + return o;
|
| +}
|
| +
|
| +checkMetricRule(api.MetricRule o) {
|
| + buildCounterMetricRule++;
|
| + if (buildCounterMetricRule < 3) {
|
| + checkUnnamed1088(o.metricCosts);
|
| + unittest.expect(o.selector, unittest.equals('foo'));
|
| + }
|
| + buildCounterMetricRule--;
|
| +}
|
| +
|
| core.int buildCounterMixin = 0;
|
| buildMixin() {
|
| var o = new api.Mixin();
|
| @@ -1992,14 +2028,14 @@ checkMixin(api.Mixin o) {
|
| buildCounterMixin--;
|
| }
|
|
|
| -buildUnnamed1097() {
|
| +buildUnnamed1089() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1097(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1089(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -2012,7 +2048,7 @@ buildMonitoredResourceDescriptor() {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1097();
|
| + o.labels = buildUnnamed1089();
|
| o.name = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -2025,34 +2061,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1097(o.labels);
|
| + checkUnnamed1089(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed1098() {
|
| +buildUnnamed1090() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1098(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1090(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1099() {
|
| +buildUnnamed1091() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1099(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1091(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| @@ -2063,8 +2099,8 @@ buildMonitoring() {
|
| var o = new api.Monitoring();
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - o.consumerDestinations = buildUnnamed1098();
|
| - o.producerDestinations = buildUnnamed1099();
|
| + o.consumerDestinations = buildUnnamed1090();
|
| + o.producerDestinations = buildUnnamed1091();
|
| }
|
| buildCounterMonitoring--;
|
| return o;
|
| @@ -2073,20 +2109,20 @@ buildMonitoring() {
|
| checkMonitoring(api.Monitoring o) {
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - checkUnnamed1098(o.consumerDestinations);
|
| - checkUnnamed1099(o.producerDestinations);
|
| + checkUnnamed1090(o.consumerDestinations);
|
| + checkUnnamed1091(o.producerDestinations);
|
| }
|
| buildCounterMonitoring--;
|
| }
|
|
|
| -buildUnnamed1100() {
|
| +buildUnnamed1092() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1100(core.List<core.String> o) {
|
| +checkUnnamed1092(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'));
|
| @@ -2097,7 +2133,7 @@ buildMonitoringDestination() {
|
| var o = new api.MonitoringDestination();
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - o.metrics = buildUnnamed1100();
|
| + o.metrics = buildUnnamed1092();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -2107,7 +2143,7 @@ buildMonitoringDestination() {
|
| checkMonitoringDestination(api.MonitoringDestination o) {
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - checkUnnamed1100(o.metrics);
|
| + checkUnnamed1092(o.metrics);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -2132,27 +2168,27 @@ checkOAuthRequirements(api.OAuthRequirements o) {
|
| buildCounterOAuthRequirements--;
|
| }
|
|
|
| -buildUnnamed1101() {
|
| +buildUnnamed1093() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1101(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1093(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'));
|
| }
|
|
|
| -buildUnnamed1102() {
|
| +buildUnnamed1094() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1102(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1094(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'));
|
| @@ -2165,9 +2201,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed1101();
|
| + o.metadata = buildUnnamed1093();
|
| o.name = "foo";
|
| - o.response = buildUnnamed1102();
|
| + o.response = buildUnnamed1094();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -2178,34 +2214,34 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed1101(o.metadata);
|
| + checkUnnamed1093(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1102(o.response);
|
| + checkUnnamed1094(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed1103() {
|
| +buildUnnamed1095() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1103(core.List<core.String> o) {
|
| +checkUnnamed1095(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'));
|
| }
|
|
|
| -buildUnnamed1104() {
|
| +buildUnnamed1096() {
|
| var o = new core.List<api.Step>();
|
| o.add(buildStep());
|
| o.add(buildStep());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1104(core.List<api.Step> o) {
|
| +checkUnnamed1096(core.List<api.Step> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStep(o[0]);
|
| checkStep(o[1]);
|
| @@ -2217,9 +2253,9 @@ buildOperationMetadata() {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| o.progressPercentage = 42;
|
| - o.resourceNames = buildUnnamed1103();
|
| + o.resourceNames = buildUnnamed1095();
|
| o.startTime = "foo";
|
| - o.steps = buildUnnamed1104();
|
| + o.steps = buildUnnamed1096();
|
| }
|
| buildCounterOperationMetadata--;
|
| return o;
|
| @@ -2229,21 +2265,21 @@ checkOperationMetadata(api.OperationMetadata o) {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| unittest.expect(o.progressPercentage, unittest.equals(42));
|
| - checkUnnamed1103(o.resourceNames);
|
| + checkUnnamed1095(o.resourceNames);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| - checkUnnamed1104(o.steps);
|
| + checkUnnamed1096(o.steps);
|
| }
|
| buildCounterOperationMetadata--;
|
| }
|
|
|
| -buildUnnamed1105() {
|
| +buildUnnamed1097() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1105(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1097(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'));
|
| @@ -2255,7 +2291,7 @@ buildOption() {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| o.name = "foo";
|
| - o.value = buildUnnamed1105();
|
| + o.value = buildUnnamed1097();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -2265,19 +2301,19 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1105(o.value);
|
| + checkUnnamed1097(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
|
|
| -buildUnnamed1106() {
|
| +buildUnnamed1098() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1106(core.List<api.Page> o) {
|
| +checkUnnamed1098(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| @@ -2290,7 +2326,7 @@ buildPage() {
|
| if (buildCounterPage < 3) {
|
| o.content = "foo";
|
| o.name = "foo";
|
| - o.subpages = buildUnnamed1106();
|
| + o.subpages = buildUnnamed1098();
|
| }
|
| buildCounterPage--;
|
| return o;
|
| @@ -2301,45 +2337,45 @@ checkPage(api.Page o) {
|
| if (buildCounterPage < 3) {
|
| unittest.expect(o.content, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1106(o.subpages);
|
| + checkUnnamed1098(o.subpages);
|
| }
|
| buildCounterPage--;
|
| }
|
|
|
| -buildUnnamed1107() {
|
| +buildUnnamed1099() {
|
| var o = new core.List<api.AuditConfig>();
|
| o.add(buildAuditConfig());
|
| o.add(buildAuditConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1107(core.List<api.AuditConfig> o) {
|
| +checkUnnamed1099(core.List<api.AuditConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuditConfig(o[0]);
|
| checkAuditConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1108() {
|
| +buildUnnamed1100() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1108(core.List<api.Binding> o) {
|
| +checkUnnamed1100(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| }
|
|
|
| -buildUnnamed1109() {
|
| +buildUnnamed1101() {
|
| var o = new core.List<api.Rule>();
|
| o.add(buildRule());
|
| o.add(buildRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1109(core.List<api.Rule> o) {
|
| +checkUnnamed1101(core.List<api.Rule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRule(o[0]);
|
| checkRule(o[1]);
|
| @@ -2350,11 +2386,11 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.auditConfigs = buildUnnamed1107();
|
| - o.bindings = buildUnnamed1108();
|
| + o.auditConfigs = buildUnnamed1099();
|
| + o.bindings = buildUnnamed1100();
|
| o.etag = "foo";
|
| o.iamOwned = true;
|
| - o.rules = buildUnnamed1109();
|
| + o.rules = buildUnnamed1101();
|
| o.version = 42;
|
| }
|
| buildCounterPolicy--;
|
| @@ -2364,16 +2400,113 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed1107(o.auditConfigs);
|
| - checkUnnamed1108(o.bindings);
|
| + checkUnnamed1099(o.auditConfigs);
|
| + checkUnnamed1100(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.iamOwned, unittest.isTrue);
|
| - checkUnnamed1109(o.rules);
|
| + checkUnnamed1101(o.rules);
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| +buildUnnamed1102() {
|
| + var o = new core.List<api.QuotaLimit>();
|
| + o.add(buildQuotaLimit());
|
| + o.add(buildQuotaLimit());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1102(core.List<api.QuotaLimit> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQuotaLimit(o[0]);
|
| + checkQuotaLimit(o[1]);
|
| +}
|
| +
|
| +buildUnnamed1103() {
|
| + var o = new core.List<api.MetricRule>();
|
| + o.add(buildMetricRule());
|
| + o.add(buildMetricRule());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1103(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 = buildUnnamed1102();
|
| + o.metricRules = buildUnnamed1103();
|
| + }
|
| + buildCounterQuota--;
|
| + return o;
|
| +}
|
| +
|
| +checkQuota(api.Quota o) {
|
| + buildCounterQuota++;
|
| + if (buildCounterQuota < 3) {
|
| + checkUnnamed1102(o.limits);
|
| + checkUnnamed1103(o.metricRules);
|
| + }
|
| + buildCounterQuota--;
|
| +}
|
| +
|
| +buildUnnamed1104() {
|
| + var o = new core.Map<core.String, core.String>();
|
| + o["x"] = "foo";
|
| + o["y"] = "foo";
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed1104(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 = buildUnnamed1104();
|
| + }
|
| + 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'));
|
| + checkUnnamed1104(o.values);
|
| + }
|
| + buildCounterQuotaLimit--;
|
| +}
|
| +
|
| core.int buildCounterRollout = 0;
|
| buildRollout() {
|
| var o = new api.Rollout();
|
| @@ -2405,66 +2538,66 @@ checkRollout(api.Rollout o) {
|
| buildCounterRollout--;
|
| }
|
|
|
| -buildUnnamed1110() {
|
| +buildUnnamed1105() {
|
| var o = new core.List<api.Condition>();
|
| o.add(buildCondition());
|
| o.add(buildCondition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1110(core.List<api.Condition> o) {
|
| +checkUnnamed1105(core.List<api.Condition> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCondition(o[0]);
|
| checkCondition(o[1]);
|
| }
|
|
|
| -buildUnnamed1111() {
|
| +buildUnnamed1106() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1111(core.List<core.String> o) {
|
| +checkUnnamed1106(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'));
|
| }
|
|
|
| -buildUnnamed1112() {
|
| +buildUnnamed1107() {
|
| var o = new core.List<api.LogConfig>();
|
| o.add(buildLogConfig());
|
| o.add(buildLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1112(core.List<api.LogConfig> o) {
|
| +checkUnnamed1107(core.List<api.LogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogConfig(o[0]);
|
| checkLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1113() {
|
| +buildUnnamed1108() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1113(core.List<core.String> o) {
|
| +checkUnnamed1108(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'));
|
| }
|
|
|
| -buildUnnamed1114() {
|
| +buildUnnamed1109() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1114(core.List<core.String> o) {
|
| +checkUnnamed1109(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'));
|
| @@ -2476,12 +2609,12 @@ buildRule() {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| o.action = "foo";
|
| - o.conditions = buildUnnamed1110();
|
| + o.conditions = buildUnnamed1105();
|
| o.description = "foo";
|
| - o.in_ = buildUnnamed1111();
|
| - o.logConfig = buildUnnamed1112();
|
| - o.notIn = buildUnnamed1113();
|
| - o.permissions = buildUnnamed1114();
|
| + o.in_ = buildUnnamed1106();
|
| + o.logConfig = buildUnnamed1107();
|
| + o.notIn = buildUnnamed1108();
|
| + o.permissions = buildUnnamed1109();
|
| }
|
| buildCounterRule--;
|
| return o;
|
| @@ -2491,115 +2624,115 @@ checkRule(api.Rule o) {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| unittest.expect(o.action, unittest.equals('foo'));
|
| - checkUnnamed1110(o.conditions);
|
| + checkUnnamed1105(o.conditions);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1111(o.in_);
|
| - checkUnnamed1112(o.logConfig);
|
| - checkUnnamed1113(o.notIn);
|
| - checkUnnamed1114(o.permissions);
|
| + checkUnnamed1106(o.in_);
|
| + checkUnnamed1107(o.logConfig);
|
| + checkUnnamed1108(o.notIn);
|
| + checkUnnamed1109(o.permissions);
|
| }
|
| buildCounterRule--;
|
| }
|
|
|
| -buildUnnamed1115() {
|
| +buildUnnamed1110() {
|
| var o = new core.List<api.Api>();
|
| o.add(buildApi());
|
| o.add(buildApi());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1115(core.List<api.Api> o) {
|
| +checkUnnamed1110(core.List<api.Api> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkApi(o[0]);
|
| checkApi(o[1]);
|
| }
|
|
|
| -buildUnnamed1116() {
|
| +buildUnnamed1111() {
|
| var o = new core.List<api.Endpoint>();
|
| o.add(buildEndpoint());
|
| o.add(buildEndpoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1116(core.List<api.Endpoint> o) {
|
| +checkUnnamed1111(core.List<api.Endpoint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEndpoint(o[0]);
|
| checkEndpoint(o[1]);
|
| }
|
|
|
| -buildUnnamed1117() {
|
| +buildUnnamed1112() {
|
| var o = new core.List<api.Enum>();
|
| o.add(buildEnum());
|
| o.add(buildEnum());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1117(core.List<api.Enum> o) {
|
| +checkUnnamed1112(core.List<api.Enum> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnum(o[0]);
|
| checkEnum(o[1]);
|
| }
|
|
|
| -buildUnnamed1118() {
|
| +buildUnnamed1113() {
|
| var o = new core.List<api.LogDescriptor>();
|
| o.add(buildLogDescriptor());
|
| o.add(buildLogDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1118(core.List<api.LogDescriptor> o) {
|
| +checkUnnamed1113(core.List<api.LogDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogDescriptor(o[0]);
|
| checkLogDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1119() {
|
| +buildUnnamed1114() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1119(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed1114(core.List<api.MetricDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricDescriptor(o[0]);
|
| checkMetricDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1120() {
|
| +buildUnnamed1115() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1120(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed1115(core.List<api.MonitoredResourceDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoredResourceDescriptor(o[0]);
|
| checkMonitoredResourceDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1121() {
|
| +buildUnnamed1116() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1121(core.List<api.Type> o) {
|
| +checkUnnamed1116(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| }
|
|
|
| -buildUnnamed1122() {
|
| +buildUnnamed1117() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1122(core.List<api.Type> o) {
|
| +checkUnnamed1117(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| @@ -2610,7 +2743,7 @@ buildService() {
|
| var o = new api.Service();
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - o.apis = buildUnnamed1115();
|
| + o.apis = buildUnnamed1110();
|
| o.authentication = buildAuthentication();
|
| o.backend = buildBackend();
|
| o.configVersion = 42;
|
| @@ -2618,23 +2751,24 @@ buildService() {
|
| o.control = buildControl();
|
| o.customError = buildCustomError();
|
| o.documentation = buildDocumentation();
|
| - o.endpoints = buildUnnamed1116();
|
| - o.enums = buildUnnamed1117();
|
| + o.endpoints = buildUnnamed1111();
|
| + o.enums = buildUnnamed1112();
|
| o.experimental = buildExperimental();
|
| o.http = buildHttp();
|
| o.id = "foo";
|
| o.logging = buildLogging();
|
| - o.logs = buildUnnamed1118();
|
| - o.metrics = buildUnnamed1119();
|
| - o.monitoredResources = buildUnnamed1120();
|
| + o.logs = buildUnnamed1113();
|
| + o.metrics = buildUnnamed1114();
|
| + o.monitoredResources = buildUnnamed1115();
|
| o.monitoring = buildMonitoring();
|
| o.name = "foo";
|
| o.producerProjectId = "foo";
|
| + o.quota = buildQuota();
|
| o.sourceInfo = buildSourceInfo();
|
| o.systemParameters = buildSystemParameters();
|
| - o.systemTypes = buildUnnamed1121();
|
| + o.systemTypes = buildUnnamed1116();
|
| o.title = "foo";
|
| - o.types = buildUnnamed1122();
|
| + o.types = buildUnnamed1117();
|
| o.usage = buildUsage();
|
| o.visibility = buildVisibility();
|
| }
|
| @@ -2645,7 +2779,7 @@ buildService() {
|
| checkService(api.Service o) {
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - checkUnnamed1115(o.apis);
|
| + checkUnnamed1110(o.apis);
|
| checkAuthentication(o.authentication);
|
| checkBackend(o.backend);
|
| unittest.expect(o.configVersion, unittest.equals(42));
|
| @@ -2653,23 +2787,24 @@ checkService(api.Service o) {
|
| checkControl(o.control);
|
| checkCustomError(o.customError);
|
| checkDocumentation(o.documentation);
|
| - checkUnnamed1116(o.endpoints);
|
| - checkUnnamed1117(o.enums);
|
| + checkUnnamed1111(o.endpoints);
|
| + checkUnnamed1112(o.enums);
|
| checkExperimental(o.experimental);
|
| checkHttp(o.http);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkLogging(o.logging);
|
| - checkUnnamed1118(o.logs);
|
| - checkUnnamed1119(o.metrics);
|
| - checkUnnamed1120(o.monitoredResources);
|
| + checkUnnamed1113(o.logs);
|
| + checkUnnamed1114(o.metrics);
|
| + checkUnnamed1115(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);
|
| - checkUnnamed1121(o.systemTypes);
|
| + checkUnnamed1116(o.systemTypes);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1122(o.types);
|
| + checkUnnamed1117(o.types);
|
| checkUsage(o.usage);
|
| checkVisibility(o.visibility);
|
| }
|
| @@ -2716,30 +2851,30 @@ checkSourceContext(api.SourceContext o) {
|
| buildCounterSourceContext--;
|
| }
|
|
|
| -buildUnnamed1123() {
|
| +buildUnnamed1118() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1123(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1118(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
|
| var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1124() {
|
| +buildUnnamed1119() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1123());
|
| - o.add(buildUnnamed1123());
|
| + o.add(buildUnnamed1118());
|
| + o.add(buildUnnamed1118());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1124(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1119(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1123(o[0]);
|
| - checkUnnamed1123(o[1]);
|
| + checkUnnamed1118(o[0]);
|
| + checkUnnamed1118(o[1]);
|
| }
|
|
|
| core.int buildCounterSourceInfo = 0;
|
| @@ -2747,7 +2882,7 @@ buildSourceInfo() {
|
| var o = new api.SourceInfo();
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - o.sourceFiles = buildUnnamed1124();
|
| + o.sourceFiles = buildUnnamed1119();
|
| }
|
| buildCounterSourceInfo--;
|
| return o;
|
| @@ -2756,35 +2891,35 @@ buildSourceInfo() {
|
| checkSourceInfo(api.SourceInfo o) {
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - checkUnnamed1124(o.sourceFiles);
|
| + checkUnnamed1119(o.sourceFiles);
|
| }
|
| buildCounterSourceInfo--;
|
| }
|
|
|
| -buildUnnamed1125() {
|
| +buildUnnamed1120() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1125(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1120(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["string"], unittest.equals('foo'));
|
| var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1126() {
|
| +buildUnnamed1121() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1125());
|
| - o.add(buildUnnamed1125());
|
| + o.add(buildUnnamed1120());
|
| + o.add(buildUnnamed1120());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1126(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1121(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1125(o[0]);
|
| - checkUnnamed1125(o[1]);
|
| + checkUnnamed1120(o[0]);
|
| + checkUnnamed1120(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -2793,7 +2928,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1126();
|
| + o.details = buildUnnamed1121();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -2804,7 +2939,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1126(o.details);
|
| + checkUnnamed1121(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -2894,14 +3029,14 @@ checkSystemParameter(api.SystemParameter o) {
|
| buildCounterSystemParameter--;
|
| }
|
|
|
| -buildUnnamed1127() {
|
| +buildUnnamed1122() {
|
| var o = new core.List<api.SystemParameter>();
|
| o.add(buildSystemParameter());
|
| o.add(buildSystemParameter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1127(core.List<api.SystemParameter> o) {
|
| +checkUnnamed1122(core.List<api.SystemParameter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameter(o[0]);
|
| checkSystemParameter(o[1]);
|
| @@ -2912,7 +3047,7 @@ buildSystemParameterRule() {
|
| var o = new api.SystemParameterRule();
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - o.parameters = buildUnnamed1127();
|
| + o.parameters = buildUnnamed1122();
|
| o.selector = "foo";
|
| }
|
| buildCounterSystemParameterRule--;
|
| @@ -2922,20 +3057,20 @@ buildSystemParameterRule() {
|
| checkSystemParameterRule(api.SystemParameterRule o) {
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - checkUnnamed1127(o.parameters);
|
| + checkUnnamed1122(o.parameters);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterSystemParameterRule--;
|
| }
|
|
|
| -buildUnnamed1128() {
|
| +buildUnnamed1123() {
|
| var o = new core.List<api.SystemParameterRule>();
|
| o.add(buildSystemParameterRule());
|
| o.add(buildSystemParameterRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1128(core.List<api.SystemParameterRule> o) {
|
| +checkUnnamed1123(core.List<api.SystemParameterRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameterRule(o[0]);
|
| checkSystemParameterRule(o[1]);
|
| @@ -2946,7 +3081,7 @@ buildSystemParameters() {
|
| var o = new api.SystemParameters();
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - o.rules = buildUnnamed1128();
|
| + o.rules = buildUnnamed1123();
|
| }
|
| buildCounterSystemParameters--;
|
| return o;
|
| @@ -2955,19 +3090,19 @@ buildSystemParameters() {
|
| checkSystemParameters(api.SystemParameters o) {
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - checkUnnamed1128(o.rules);
|
| + checkUnnamed1123(o.rules);
|
| }
|
| buildCounterSystemParameters--;
|
| }
|
|
|
| -buildUnnamed1129() {
|
| +buildUnnamed1124() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1129(core.List<core.String> o) {
|
| +checkUnnamed1124(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'));
|
| @@ -2978,7 +3113,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed1129();
|
| + o.permissions = buildUnnamed1124();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -2987,19 +3122,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed1129(o.permissions);
|
| + checkUnnamed1124(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed1130() {
|
| +buildUnnamed1125() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1130(core.List<core.String> o) {
|
| +checkUnnamed1125(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'));
|
| @@ -3010,7 +3145,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed1130();
|
| + o.permissions = buildUnnamed1125();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -3019,19 +3154,19 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed1130(o.permissions);
|
| + checkUnnamed1125(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|
| -buildUnnamed1131() {
|
| +buildUnnamed1126() {
|
| var o = new core.Map<core.String, core.double>();
|
| o["x"] = 42.0;
|
| o["y"] = 42.0;
|
| return o;
|
| }
|
|
|
| -checkUnnamed1131(core.Map<core.String, core.double> o) {
|
| +checkUnnamed1126(core.Map<core.String, core.double> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals(42.0));
|
| unittest.expect(o["y"], unittest.equals(42.0));
|
| @@ -3042,7 +3177,7 @@ buildTrafficPercentStrategy() {
|
| var o = new api.TrafficPercentStrategy();
|
| buildCounterTrafficPercentStrategy++;
|
| if (buildCounterTrafficPercentStrategy < 3) {
|
| - o.percentages = buildUnnamed1131();
|
| + o.percentages = buildUnnamed1126();
|
| }
|
| buildCounterTrafficPercentStrategy--;
|
| return o;
|
| @@ -3051,45 +3186,45 @@ buildTrafficPercentStrategy() {
|
| checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
|
| buildCounterTrafficPercentStrategy++;
|
| if (buildCounterTrafficPercentStrategy < 3) {
|
| - checkUnnamed1131(o.percentages);
|
| + checkUnnamed1126(o.percentages);
|
| }
|
| buildCounterTrafficPercentStrategy--;
|
| }
|
|
|
| -buildUnnamed1132() {
|
| +buildUnnamed1127() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1132(core.List<api.Field> o) {
|
| +checkUnnamed1127(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed1133() {
|
| +buildUnnamed1128() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1133(core.List<core.String> o) {
|
| +checkUnnamed1128(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'));
|
| }
|
|
|
| -buildUnnamed1134() {
|
| +buildUnnamed1129() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1134(core.List<api.Option> o) {
|
| +checkUnnamed1129(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -3100,10 +3235,10 @@ buildType() {
|
| var o = new api.Type();
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - o.fields = buildUnnamed1132();
|
| + o.fields = buildUnnamed1127();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed1133();
|
| - o.options = buildUnnamed1134();
|
| + o.oneofs = buildUnnamed1128();
|
| + o.options = buildUnnamed1129();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -3114,10 +3249,10 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed1132(o.fields);
|
| + checkUnnamed1127(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1133(o.oneofs);
|
| - checkUnnamed1134(o.options);
|
| + checkUnnamed1128(o.oneofs);
|
| + checkUnnamed1129(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| @@ -3143,27 +3278,27 @@ checkUndeleteServiceResponse(api.UndeleteServiceResponse o) {
|
| buildCounterUndeleteServiceResponse--;
|
| }
|
|
|
| -buildUnnamed1135() {
|
| +buildUnnamed1130() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1135(core.List<core.String> o) {
|
| +checkUnnamed1130(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'));
|
| }
|
|
|
| -buildUnnamed1136() {
|
| +buildUnnamed1131() {
|
| var o = new core.List<api.UsageRule>();
|
| o.add(buildUsageRule());
|
| o.add(buildUsageRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1136(core.List<api.UsageRule> o) {
|
| +checkUnnamed1131(core.List<api.UsageRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageRule(o[0]);
|
| checkUsageRule(o[1]);
|
| @@ -3175,8 +3310,8 @@ buildUsage() {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| o.producerNotificationChannel = "foo";
|
| - o.requirements = buildUnnamed1135();
|
| - o.rules = buildUnnamed1136();
|
| + o.requirements = buildUnnamed1130();
|
| + o.rules = buildUnnamed1131();
|
| }
|
| buildCounterUsage--;
|
| return o;
|
| @@ -3186,8 +3321,8 @@ checkUsage(api.Usage o) {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
|
| - checkUnnamed1135(o.requirements);
|
| - checkUnnamed1136(o.rules);
|
| + checkUnnamed1130(o.requirements);
|
| + checkUnnamed1131(o.rules);
|
| }
|
| buildCounterUsage--;
|
| }
|
| @@ -3213,14 +3348,14 @@ checkUsageRule(api.UsageRule o) {
|
| buildCounterUsageRule--;
|
| }
|
|
|
| -buildUnnamed1137() {
|
| +buildUnnamed1132() {
|
| var o = new core.List<api.VisibilityRule>();
|
| o.add(buildVisibilityRule());
|
| o.add(buildVisibilityRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1137(core.List<api.VisibilityRule> o) {
|
| +checkUnnamed1132(core.List<api.VisibilityRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVisibilityRule(o[0]);
|
| checkVisibilityRule(o[1]);
|
| @@ -3231,7 +3366,7 @@ buildVisibility() {
|
| var o = new api.Visibility();
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - o.rules = buildUnnamed1137();
|
| + o.rules = buildUnnamed1132();
|
| }
|
| buildCounterVisibility--;
|
| return o;
|
| @@ -3240,7 +3375,7 @@ buildVisibility() {
|
| checkVisibility(api.Visibility o) {
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - checkUnnamed1137(o.rules);
|
| + checkUnnamed1132(o.rules);
|
| }
|
| buildCounterVisibility--;
|
| }
|
| @@ -3790,6 +3925,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();
|
| @@ -3880,6 +4024,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-Rollout", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildRollout();
|
| @@ -4128,10 +4290,10 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operations;
|
| - var arg_name = "foo";
|
| - var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| + var arg_name = "foo";
|
| + var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -4158,10 +4320,10 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| + unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
|
|
|
|
| var h = {
|
| @@ -4170,7 +4332,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListOperationsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(name: arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListOperationsResponse response) {
|
| + res.list(pageSize: arg_pageSize, filter: arg_filter, name: arg_name, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response) {
|
| checkListOperationsResponse(response);
|
| })));
|
| });
|
| @@ -4585,10 +4747,10 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
|
| - var arg_producerProjectId = "foo";
|
| var arg_consumerId = "foo";
|
| var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| + var arg_producerProjectId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -4615,10 +4777,10 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId));
|
| unittest.expect(queryMap["consumerId"].first, unittest.equals(arg_consumerId));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| + unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId));
|
|
|
|
|
| var h = {
|
| @@ -4627,7 +4789,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListServicesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(producerProjectId: arg_producerProjectId, consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServicesResponse response) {
|
| + res.list(consumerId: arg_consumerId, pageToken: arg_pageToken, pageSize: arg_pageSize, producerProjectId: arg_producerProjectId).then(unittest.expectAsync(((api.ListServicesResponse response) {
|
| checkListServicesResponse(response);
|
| })));
|
| });
|
| @@ -5126,8 +5288,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ServicesRolloutsResourceApi res = new api.ServicemanagementApi(mock).services.rollouts;
|
| var arg_serviceName = "foo";
|
| - var arg_pageSize = 42;
|
| var arg_pageToken = "foo";
|
| + var arg_pageSize = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -5161,8 +5323,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
|
|
|
|
| var h = {
|
| @@ -5171,7 +5333,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListServiceRolloutsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_serviceName, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
|
| + res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListServiceRolloutsResponse response) {
|
| checkListServiceRolloutsResponse(response);
|
| })));
|
| });
|
|
|