| 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 446f7a84c1fdfcd16241ba2a0a244813c43b50a7..18f549b9633d6543a7ec26a06781d047ebb70d00 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--;
|
| }
|
|
|
| -buildUnnamed1065() {
|
| +buildUnnamed1149() {
|
| var o = new core.List<api.Method>();
|
| o.add(buildMethod());
|
| o.add(buildMethod());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1065(core.List<api.Method> o) {
|
| +checkUnnamed1149(core.List<api.Method> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMethod(o[0]);
|
| checkMethod(o[1]);
|
| }
|
|
|
| -buildUnnamed1066() {
|
| +buildUnnamed1150() {
|
| var o = new core.List<api.Mixin>();
|
| o.add(buildMixin());
|
| o.add(buildMixin());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1066(core.List<api.Mixin> o) {
|
| +checkUnnamed1150(core.List<api.Mixin> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMixin(o[0]);
|
| checkMixin(o[1]);
|
| }
|
|
|
| -buildUnnamed1067() {
|
| +buildUnnamed1151() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1067(core.List<api.Option> o) {
|
| +checkUnnamed1151(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 = buildUnnamed1065();
|
| - o.mixins = buildUnnamed1066();
|
| + o.methods = buildUnnamed1149();
|
| + o.mixins = buildUnnamed1150();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1067();
|
| + o.options = buildUnnamed1151();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| o.version = "foo";
|
| @@ -129,10 +129,10 @@ buildApi() {
|
| checkApi(api.Api o) {
|
| buildCounterApi++;
|
| if (buildCounterApi < 3) {
|
| - checkUnnamed1065(o.methods);
|
| - checkUnnamed1066(o.mixins);
|
| + checkUnnamed1149(o.methods);
|
| + checkUnnamed1150(o.mixins);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1067(o.options);
|
| + checkUnnamed1151(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--;
|
| }
|
|
|
| -buildUnnamed1068() {
|
| +buildUnnamed1152() {
|
| var o = new core.List<api.AuditLogConfig>();
|
| o.add(buildAuditLogConfig());
|
| o.add(buildAuditLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1068(core.List<api.AuditLogConfig> o) {
|
| +checkUnnamed1152(core.List<api.AuditLogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuditLogConfig(o[0]);
|
| checkAuditLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1069() {
|
| +buildUnnamed1153() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1069(core.List<core.String> o) {
|
| +checkUnnamed1153(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 = buildUnnamed1068();
|
| - o.exemptedMembers = buildUnnamed1069();
|
| + o.auditLogConfigs = buildUnnamed1152();
|
| + o.exemptedMembers = buildUnnamed1153();
|
| o.service = "foo";
|
| }
|
| buildCounterAuditConfig--;
|
| @@ -182,21 +182,21 @@ buildAuditConfig() {
|
| checkAuditConfig(api.AuditConfig o) {
|
| buildCounterAuditConfig++;
|
| if (buildCounterAuditConfig < 3) {
|
| - checkUnnamed1068(o.auditLogConfigs);
|
| - checkUnnamed1069(o.exemptedMembers);
|
| + checkUnnamed1152(o.auditLogConfigs);
|
| + checkUnnamed1153(o.exemptedMembers);
|
| unittest.expect(o.service, unittest.equals('foo'));
|
| }
|
| buildCounterAuditConfig--;
|
| }
|
|
|
| -buildUnnamed1070() {
|
| +buildUnnamed1154() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1070(core.List<core.String> o) {
|
| +checkUnnamed1154(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 = buildUnnamed1070();
|
| + o.exemptedMembers = buildUnnamed1154();
|
| o.logType = "foo";
|
| }
|
| buildCounterAuditLogConfig--;
|
| @@ -217,7 +217,7 @@ buildAuditLogConfig() {
|
| checkAuditLogConfig(api.AuditLogConfig o) {
|
| buildCounterAuditLogConfig++;
|
| if (buildCounterAuditLogConfig < 3) {
|
| - checkUnnamed1070(o.exemptedMembers);
|
| + checkUnnamed1154(o.exemptedMembers);
|
| unittest.expect(o.logType, unittest.equals('foo'));
|
| }
|
| buildCounterAuditLogConfig--;
|
| @@ -269,27 +269,27 @@ checkAuthRequirement(api.AuthRequirement o) {
|
| buildCounterAuthRequirement--;
|
| }
|
|
|
| -buildUnnamed1071() {
|
| +buildUnnamed1155() {
|
| var o = new core.List<api.AuthProvider>();
|
| o.add(buildAuthProvider());
|
| o.add(buildAuthProvider());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1071(core.List<api.AuthProvider> o) {
|
| +checkUnnamed1155(core.List<api.AuthProvider> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthProvider(o[0]);
|
| checkAuthProvider(o[1]);
|
| }
|
|
|
| -buildUnnamed1072() {
|
| +buildUnnamed1156() {
|
| var o = new core.List<api.AuthenticationRule>();
|
| o.add(buildAuthenticationRule());
|
| o.add(buildAuthenticationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1072(core.List<api.AuthenticationRule> o) {
|
| +checkUnnamed1156(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 = buildUnnamed1071();
|
| - o.rules = buildUnnamed1072();
|
| + o.providers = buildUnnamed1155();
|
| + o.rules = buildUnnamed1156();
|
| }
|
| buildCounterAuthentication--;
|
| return o;
|
| @@ -310,20 +310,20 @@ buildAuthentication() {
|
| checkAuthentication(api.Authentication o) {
|
| buildCounterAuthentication++;
|
| if (buildCounterAuthentication < 3) {
|
| - checkUnnamed1071(o.providers);
|
| - checkUnnamed1072(o.rules);
|
| + checkUnnamed1155(o.providers);
|
| + checkUnnamed1156(o.rules);
|
| }
|
| buildCounterAuthentication--;
|
| }
|
|
|
| -buildUnnamed1073() {
|
| +buildUnnamed1157() {
|
| var o = new core.List<api.AuthRequirement>();
|
| o.add(buildAuthRequirement());
|
| o.add(buildAuthRequirement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1073(core.List<api.AuthRequirement> o) {
|
| +checkUnnamed1157(core.List<api.AuthRequirement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthRequirement(o[0]);
|
| checkAuthRequirement(o[1]);
|
| @@ -337,7 +337,7 @@ buildAuthenticationRule() {
|
| o.allowWithoutCredential = true;
|
| o.customAuth = buildCustomAuthRequirements();
|
| o.oauth = buildOAuthRequirements();
|
| - o.requirements = buildUnnamed1073();
|
| + o.requirements = buildUnnamed1157();
|
| o.selector = "foo";
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -350,7 +350,7 @@ checkAuthenticationRule(api.AuthenticationRule o) {
|
| unittest.expect(o.allowWithoutCredential, unittest.isTrue);
|
| checkCustomAuthRequirements(o.customAuth);
|
| checkOAuthRequirements(o.oauth);
|
| - checkUnnamed1073(o.requirements);
|
| + checkUnnamed1157(o.requirements);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterAuthenticationRule--;
|
| @@ -375,14 +375,14 @@ checkAuthorizationConfig(api.AuthorizationConfig o) {
|
| buildCounterAuthorizationConfig--;
|
| }
|
|
|
| -buildUnnamed1074() {
|
| +buildUnnamed1158() {
|
| var o = new core.List<api.BackendRule>();
|
| o.add(buildBackendRule());
|
| o.add(buildBackendRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1074(core.List<api.BackendRule> o) {
|
| +checkUnnamed1158(core.List<api.BackendRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBackendRule(o[0]);
|
| checkBackendRule(o[1]);
|
| @@ -393,7 +393,7 @@ buildBackend() {
|
| var o = new api.Backend();
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - o.rules = buildUnnamed1074();
|
| + o.rules = buildUnnamed1158();
|
| }
|
| buildCounterBackend--;
|
| return o;
|
| @@ -402,7 +402,7 @@ buildBackend() {
|
| checkBackend(api.Backend o) {
|
| buildCounterBackend++;
|
| if (buildCounterBackend < 3) {
|
| - checkUnnamed1074(o.rules);
|
| + checkUnnamed1158(o.rules);
|
| }
|
| buildCounterBackend--;
|
| }
|
| @@ -432,14 +432,14 @@ checkBackendRule(api.BackendRule o) {
|
| buildCounterBackendRule--;
|
| }
|
|
|
| -buildUnnamed1075() {
|
| +buildUnnamed1159() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1075(core.List<core.String> o) {
|
| +checkUnnamed1159(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'));
|
| @@ -451,7 +451,7 @@ buildBinding() {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| o.condition = buildExpr();
|
| - o.members = buildUnnamed1075();
|
| + o.members = buildUnnamed1159();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -462,20 +462,20 @@ checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| checkExpr(o.condition);
|
| - checkUnnamed1075(o.members);
|
| + checkUnnamed1159(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| }
|
|
|
| -buildUnnamed1076() {
|
| +buildUnnamed1160() {
|
| var o = new core.List<api.ConfigChange>();
|
| o.add(buildConfigChange());
|
| o.add(buildConfigChange());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1076(core.List<api.ConfigChange> o) {
|
| +checkUnnamed1160(core.List<api.ConfigChange> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConfigChange(o[0]);
|
| checkConfigChange(o[1]);
|
| @@ -486,7 +486,7 @@ buildChangeReport() {
|
| var o = new api.ChangeReport();
|
| buildCounterChangeReport++;
|
| if (buildCounterChangeReport < 3) {
|
| - o.configChanges = buildUnnamed1076();
|
| + o.configChanges = buildUnnamed1160();
|
| }
|
| buildCounterChangeReport--;
|
| return o;
|
| @@ -495,7 +495,7 @@ buildChangeReport() {
|
| checkChangeReport(api.ChangeReport o) {
|
| buildCounterChangeReport++;
|
| if (buildCounterChangeReport < 3) {
|
| - checkUnnamed1076(o.configChanges);
|
| + checkUnnamed1160(o.configChanges);
|
| }
|
| buildCounterChangeReport--;
|
| }
|
| @@ -519,14 +519,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) {
|
| buildCounterCloudAuditOptions--;
|
| }
|
|
|
| -buildUnnamed1077() {
|
| +buildUnnamed1161() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1077(core.List<core.String> o) {
|
| +checkUnnamed1161(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'));
|
| @@ -542,7 +542,7 @@ buildCondition() {
|
| o.svc = "foo";
|
| o.sys = "foo";
|
| o.value = "foo";
|
| - o.values = buildUnnamed1077();
|
| + o.values = buildUnnamed1161();
|
| }
|
| buildCounterCondition--;
|
| return o;
|
| @@ -556,19 +556,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'));
|
| - checkUnnamed1077(o.values);
|
| + checkUnnamed1161(o.values);
|
| }
|
| buildCounterCondition--;
|
| }
|
|
|
| -buildUnnamed1078() {
|
| +buildUnnamed1162() {
|
| var o = new core.List<api.Advice>();
|
| o.add(buildAdvice());
|
| o.add(buildAdvice());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1078(core.List<api.Advice> o) {
|
| +checkUnnamed1162(core.List<api.Advice> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAdvice(o[0]);
|
| checkAdvice(o[1]);
|
| @@ -579,7 +579,7 @@ buildConfigChange() {
|
| var o = new api.ConfigChange();
|
| buildCounterConfigChange++;
|
| if (buildCounterConfigChange < 3) {
|
| - o.advices = buildUnnamed1078();
|
| + o.advices = buildUnnamed1162();
|
| o.changeType = "foo";
|
| o.element = "foo";
|
| o.newValue = "foo";
|
| @@ -592,7 +592,7 @@ buildConfigChange() {
|
| checkConfigChange(api.ConfigChange o) {
|
| buildCounterConfigChange++;
|
| if (buildCounterConfigChange < 3) {
|
| - checkUnnamed1078(o.advices);
|
| + checkUnnamed1162(o.advices);
|
| unittest.expect(o.changeType, unittest.equals('foo'));
|
| unittest.expect(o.element, unittest.equals('foo'));
|
| unittest.expect(o.newValue, unittest.equals('foo'));
|
| @@ -643,14 +643,14 @@ checkConfigRef(api.ConfigRef o) {
|
| buildCounterConfigRef--;
|
| }
|
|
|
| -buildUnnamed1079() {
|
| +buildUnnamed1163() {
|
| var o = new core.List<api.ConfigFile>();
|
| o.add(buildConfigFile());
|
| o.add(buildConfigFile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1079(core.List<api.ConfigFile> o) {
|
| +checkUnnamed1163(core.List<api.ConfigFile> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkConfigFile(o[0]);
|
| checkConfigFile(o[1]);
|
| @@ -661,7 +661,7 @@ buildConfigSource() {
|
| var o = new api.ConfigSource();
|
| buildCounterConfigSource++;
|
| if (buildCounterConfigSource < 3) {
|
| - o.files = buildUnnamed1079();
|
| + o.files = buildUnnamed1163();
|
| o.id = "foo";
|
| }
|
| buildCounterConfigSource--;
|
| @@ -671,20 +671,20 @@ buildConfigSource() {
|
| checkConfigSource(api.ConfigSource o) {
|
| buildCounterConfigSource++;
|
| if (buildCounterConfigSource < 3) {
|
| - checkUnnamed1079(o.files);
|
| + checkUnnamed1163(o.files);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| }
|
| buildCounterConfigSource--;
|
| }
|
|
|
| -buildUnnamed1080() {
|
| +buildUnnamed1164() {
|
| var o = new core.List<api.ContextRule>();
|
| o.add(buildContextRule());
|
| o.add(buildContextRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1080(core.List<api.ContextRule> o) {
|
| +checkUnnamed1164(core.List<api.ContextRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkContextRule(o[0]);
|
| checkContextRule(o[1]);
|
| @@ -695,7 +695,7 @@ buildContext() {
|
| var o = new api.Context();
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - o.rules = buildUnnamed1080();
|
| + o.rules = buildUnnamed1164();
|
| }
|
| buildCounterContext--;
|
| return o;
|
| @@ -704,32 +704,32 @@ buildContext() {
|
| checkContext(api.Context o) {
|
| buildCounterContext++;
|
| if (buildCounterContext < 3) {
|
| - checkUnnamed1080(o.rules);
|
| + checkUnnamed1164(o.rules);
|
| }
|
| buildCounterContext--;
|
| }
|
|
|
| -buildUnnamed1081() {
|
| +buildUnnamed1165() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1081(core.List<core.String> o) {
|
| +checkUnnamed1165(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'));
|
| }
|
|
|
| -buildUnnamed1082() {
|
| +buildUnnamed1166() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1082(core.List<core.String> o) {
|
| +checkUnnamed1166(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -740,8 +740,8 @@ buildContextRule() {
|
| var o = new api.ContextRule();
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - o.provided = buildUnnamed1081();
|
| - o.requested = buildUnnamed1082();
|
| + o.provided = buildUnnamed1165();
|
| + o.requested = buildUnnamed1166();
|
| o.selector = "foo";
|
| }
|
| buildCounterContextRule--;
|
| @@ -751,8 +751,8 @@ buildContextRule() {
|
| checkContextRule(api.ContextRule o) {
|
| buildCounterContextRule++;
|
| if (buildCounterContextRule < 3) {
|
| - checkUnnamed1081(o.provided);
|
| - checkUnnamed1082(o.requested);
|
| + checkUnnamed1165(o.provided);
|
| + checkUnnamed1166(o.requested);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterContextRule--;
|
| @@ -817,27 +817,27 @@ checkCustomAuthRequirements(api.CustomAuthRequirements o) {
|
| buildCounterCustomAuthRequirements--;
|
| }
|
|
|
| -buildUnnamed1083() {
|
| +buildUnnamed1167() {
|
| var o = new core.List<api.CustomErrorRule>();
|
| o.add(buildCustomErrorRule());
|
| o.add(buildCustomErrorRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1083(core.List<api.CustomErrorRule> o) {
|
| +checkUnnamed1167(core.List<api.CustomErrorRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCustomErrorRule(o[0]);
|
| checkCustomErrorRule(o[1]);
|
| }
|
|
|
| -buildUnnamed1084() {
|
| +buildUnnamed1168() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1084(core.List<core.String> o) {
|
| +checkUnnamed1168(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'));
|
| @@ -848,8 +848,8 @@ buildCustomError() {
|
| var o = new api.CustomError();
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - o.rules = buildUnnamed1083();
|
| - o.types = buildUnnamed1084();
|
| + o.rules = buildUnnamed1167();
|
| + o.types = buildUnnamed1168();
|
| }
|
| buildCounterCustomError--;
|
| return o;
|
| @@ -858,8 +858,8 @@ buildCustomError() {
|
| checkCustomError(api.CustomError o) {
|
| buildCounterCustomError++;
|
| if (buildCounterCustomError < 3) {
|
| - checkUnnamed1083(o.rules);
|
| - checkUnnamed1084(o.types);
|
| + checkUnnamed1167(o.rules);
|
| + checkUnnamed1168(o.types);
|
| }
|
| buildCounterCustomError--;
|
| }
|
| @@ -982,27 +982,27 @@ checkDisableServiceRequest(api.DisableServiceRequest o) {
|
| buildCounterDisableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1085() {
|
| +buildUnnamed1169() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1085(core.List<api.Page> o) {
|
| +checkUnnamed1169(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| }
|
|
|
| -buildUnnamed1086() {
|
| +buildUnnamed1170() {
|
| var o = new core.List<api.DocumentationRule>();
|
| o.add(buildDocumentationRule());
|
| o.add(buildDocumentationRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1086(core.List<api.DocumentationRule> o) {
|
| +checkUnnamed1170(core.List<api.DocumentationRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDocumentationRule(o[0]);
|
| checkDocumentationRule(o[1]);
|
| @@ -1015,8 +1015,8 @@ buildDocumentation() {
|
| if (buildCounterDocumentation < 3) {
|
| o.documentationRootUrl = "foo";
|
| o.overview = "foo";
|
| - o.pages = buildUnnamed1085();
|
| - o.rules = buildUnnamed1086();
|
| + o.pages = buildUnnamed1169();
|
| + o.rules = buildUnnamed1170();
|
| o.summary = "foo";
|
| }
|
| buildCounterDocumentation--;
|
| @@ -1028,8 +1028,8 @@ checkDocumentation(api.Documentation o) {
|
| if (buildCounterDocumentation < 3) {
|
| unittest.expect(o.documentationRootUrl, unittest.equals('foo'));
|
| unittest.expect(o.overview, unittest.equals('foo'));
|
| - checkUnnamed1085(o.pages);
|
| - checkUnnamed1086(o.rules);
|
| + checkUnnamed1169(o.pages);
|
| + checkUnnamed1170(o.rules);
|
| unittest.expect(o.summary, unittest.equals('foo'));
|
| }
|
| buildCounterDocumentation--;
|
| @@ -1077,40 +1077,40 @@ checkEnableServiceRequest(api.EnableServiceRequest o) {
|
| buildCounterEnableServiceRequest--;
|
| }
|
|
|
| -buildUnnamed1087() {
|
| +buildUnnamed1171() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1087(core.List<core.String> o) {
|
| +checkUnnamed1171(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'));
|
| }
|
|
|
| -buildUnnamed1088() {
|
| +buildUnnamed1172() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1088(core.List<core.String> o) {
|
| +checkUnnamed1172(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'));
|
| }
|
|
|
| -buildUnnamed1089() {
|
| +buildUnnamed1173() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1089(core.List<core.String> o) {
|
| +checkUnnamed1173(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'));
|
| @@ -1121,10 +1121,10 @@ buildEndpoint() {
|
| var o = new api.Endpoint();
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - o.aliases = buildUnnamed1087();
|
| + o.aliases = buildUnnamed1171();
|
| o.allowCors = true;
|
| - o.apis = buildUnnamed1088();
|
| - o.features = buildUnnamed1089();
|
| + o.apis = buildUnnamed1172();
|
| + o.features = buildUnnamed1173();
|
| o.name = "foo";
|
| o.target = "foo";
|
| }
|
| @@ -1135,37 +1135,37 @@ buildEndpoint() {
|
| checkEndpoint(api.Endpoint o) {
|
| buildCounterEndpoint++;
|
| if (buildCounterEndpoint < 3) {
|
| - checkUnnamed1087(o.aliases);
|
| + checkUnnamed1171(o.aliases);
|
| unittest.expect(o.allowCors, unittest.isTrue);
|
| - checkUnnamed1088(o.apis);
|
| - checkUnnamed1089(o.features);
|
| + checkUnnamed1172(o.apis);
|
| + checkUnnamed1173(o.features);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.target, unittest.equals('foo'));
|
| }
|
| buildCounterEndpoint--;
|
| }
|
|
|
| -buildUnnamed1090() {
|
| +buildUnnamed1174() {
|
| var o = new core.List<api.EnumValue>();
|
| o.add(buildEnumValue());
|
| o.add(buildEnumValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1090(core.List<api.EnumValue> o) {
|
| +checkUnnamed1174(core.List<api.EnumValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnumValue(o[0]);
|
| checkEnumValue(o[1]);
|
| }
|
|
|
| -buildUnnamed1091() {
|
| +buildUnnamed1175() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1091(core.List<api.Option> o) {
|
| +checkUnnamed1175(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1176,9 +1176,9 @@ buildEnum() {
|
| var o = new api.Enum();
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - o.enumvalue = buildUnnamed1090();
|
| + o.enumvalue = buildUnnamed1174();
|
| o.name = "foo";
|
| - o.options = buildUnnamed1091();
|
| + o.options = buildUnnamed1175();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -1189,23 +1189,23 @@ buildEnum() {
|
| checkEnum(api.Enum o) {
|
| buildCounterEnum++;
|
| if (buildCounterEnum < 3) {
|
| - checkUnnamed1090(o.enumvalue);
|
| + checkUnnamed1174(o.enumvalue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1091(o.options);
|
| + checkUnnamed1175(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| buildCounterEnum--;
|
| }
|
|
|
| -buildUnnamed1092() {
|
| +buildUnnamed1176() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1092(core.List<api.Option> o) {
|
| +checkUnnamed1176(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1218,7 +1218,7 @@ buildEnumValue() {
|
| if (buildCounterEnumValue < 3) {
|
| o.name = "foo";
|
| o.number = 42;
|
| - o.options = buildUnnamed1092();
|
| + o.options = buildUnnamed1176();
|
| }
|
| buildCounterEnumValue--;
|
| return o;
|
| @@ -1229,7 +1229,7 @@ checkEnumValue(api.EnumValue o) {
|
| if (buildCounterEnumValue < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.number, unittest.equals(42));
|
| - checkUnnamed1092(o.options);
|
| + checkUnnamed1176(o.options);
|
| }
|
| buildCounterEnumValue--;
|
| }
|
| @@ -1278,14 +1278,14 @@ checkExpr(api.Expr o) {
|
| buildCounterExpr--;
|
| }
|
|
|
| -buildUnnamed1093() {
|
| +buildUnnamed1177() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1093(core.List<api.Option> o) {
|
| +checkUnnamed1177(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1303,7 +1303,7 @@ buildField() {
|
| o.name = "foo";
|
| o.number = 42;
|
| o.oneofIndex = 42;
|
| - o.options = buildUnnamed1093();
|
| + o.options = buildUnnamed1177();
|
| o.packed = true;
|
| o.typeUrl = "foo";
|
| }
|
| @@ -1321,21 +1321,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));
|
| - checkUnnamed1093(o.options);
|
| + checkUnnamed1177(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| buildCounterField--;
|
| }
|
|
|
| -buildUnnamed1094() {
|
| +buildUnnamed1178() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1094(core.List<core.String> o) {
|
| +checkUnnamed1178(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'));
|
| @@ -1349,7 +1349,7 @@ buildFlowOperationMetadata() {
|
| o.cancelState = "foo";
|
| o.deadline = "foo";
|
| o.flowName = "foo";
|
| - o.resourceNames = buildUnnamed1094();
|
| + o.resourceNames = buildUnnamed1178();
|
| o.startTime = "foo";
|
| }
|
| buildCounterFlowOperationMetadata--;
|
| @@ -1362,33 +1362,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'));
|
| - checkUnnamed1094(o.resourceNames);
|
| + checkUnnamed1178(o.resourceNames);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| }
|
| buildCounterFlowOperationMetadata--;
|
| }
|
|
|
| -buildUnnamed1095() {
|
| +buildUnnamed1179() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1095(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1179(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'));
|
| }
|
|
|
| -buildUnnamed1096() {
|
| +buildUnnamed1180() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1096(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1180(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'));
|
| @@ -1399,8 +1399,8 @@ buildGenerateConfigReportRequest() {
|
| var o = new api.GenerateConfigReportRequest();
|
| buildCounterGenerateConfigReportRequest++;
|
| if (buildCounterGenerateConfigReportRequest < 3) {
|
| - o.newConfig = buildUnnamed1095();
|
| - o.oldConfig = buildUnnamed1096();
|
| + o.newConfig = buildUnnamed1179();
|
| + o.oldConfig = buildUnnamed1180();
|
| }
|
| buildCounterGenerateConfigReportRequest--;
|
| return o;
|
| @@ -1409,33 +1409,33 @@ buildGenerateConfigReportRequest() {
|
| checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) {
|
| buildCounterGenerateConfigReportRequest++;
|
| if (buildCounterGenerateConfigReportRequest < 3) {
|
| - checkUnnamed1095(o.newConfig);
|
| - checkUnnamed1096(o.oldConfig);
|
| + checkUnnamed1179(o.newConfig);
|
| + checkUnnamed1180(o.oldConfig);
|
| }
|
| buildCounterGenerateConfigReportRequest--;
|
| }
|
|
|
| -buildUnnamed1097() {
|
| +buildUnnamed1181() {
|
| var o = new core.List<api.ChangeReport>();
|
| o.add(buildChangeReport());
|
| o.add(buildChangeReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1097(core.List<api.ChangeReport> o) {
|
| +checkUnnamed1181(core.List<api.ChangeReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkChangeReport(o[0]);
|
| checkChangeReport(o[1]);
|
| }
|
|
|
| -buildUnnamed1098() {
|
| +buildUnnamed1182() {
|
| var o = new core.List<api.Diagnostic>();
|
| o.add(buildDiagnostic());
|
| o.add(buildDiagnostic());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1098(core.List<api.Diagnostic> o) {
|
| +checkUnnamed1182(core.List<api.Diagnostic> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiagnostic(o[0]);
|
| checkDiagnostic(o[1]);
|
| @@ -1446,8 +1446,8 @@ buildGenerateConfigReportResponse() {
|
| var o = new api.GenerateConfigReportResponse();
|
| buildCounterGenerateConfigReportResponse++;
|
| if (buildCounterGenerateConfigReportResponse < 3) {
|
| - o.changeReports = buildUnnamed1097();
|
| - o.diagnostics = buildUnnamed1098();
|
| + o.changeReports = buildUnnamed1181();
|
| + o.diagnostics = buildUnnamed1182();
|
| o.id = "foo";
|
| o.serviceName = "foo";
|
| }
|
| @@ -1458,8 +1458,8 @@ buildGenerateConfigReportResponse() {
|
| checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) {
|
| buildCounterGenerateConfigReportResponse++;
|
| if (buildCounterGenerateConfigReportResponse < 3) {
|
| - checkUnnamed1097(o.changeReports);
|
| - checkUnnamed1098(o.diagnostics);
|
| + checkUnnamed1181(o.changeReports);
|
| + checkUnnamed1182(o.diagnostics);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.serviceName, unittest.equals('foo'));
|
| }
|
| @@ -1483,14 +1483,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
|
| buildCounterGetIamPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed1099() {
|
| +buildUnnamed1183() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1099(core.List<api.HttpRule> o) {
|
| +checkUnnamed1183(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -1502,7 +1502,7 @@ buildHttp() {
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| o.fullyDecodeReservedExpansion = true;
|
| - o.rules = buildUnnamed1099();
|
| + o.rules = buildUnnamed1183();
|
| }
|
| buildCounterHttp--;
|
| return o;
|
| @@ -1512,19 +1512,19 @@ checkHttp(api.Http o) {
|
| buildCounterHttp++;
|
| if (buildCounterHttp < 3) {
|
| unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue);
|
| - checkUnnamed1099(o.rules);
|
| + checkUnnamed1183(o.rules);
|
| }
|
| buildCounterHttp--;
|
| }
|
|
|
| -buildUnnamed1100() {
|
| +buildUnnamed1184() {
|
| var o = new core.List<api.HttpRule>();
|
| o.add(buildHttpRule());
|
| o.add(buildHttpRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1100(core.List<api.HttpRule> o) {
|
| +checkUnnamed1184(core.List<api.HttpRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpRule(o[0]);
|
| checkHttpRule(o[1]);
|
| @@ -1535,7 +1535,7 @@ buildHttpRule() {
|
| var o = new api.HttpRule();
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - o.additionalBindings = buildUnnamed1100();
|
| + o.additionalBindings = buildUnnamed1184();
|
| o.body = "foo";
|
| o.custom = buildCustomHttpPattern();
|
| o.delete = "foo";
|
| @@ -1557,7 +1557,7 @@ buildHttpRule() {
|
| checkHttpRule(api.HttpRule o) {
|
| buildCounterHttpRule++;
|
| if (buildCounterHttpRule < 3) {
|
| - checkUnnamed1100(o.additionalBindings);
|
| + checkUnnamed1184(o.additionalBindings);
|
| unittest.expect(o.body, unittest.equals('foo'));
|
| checkCustomHttpPattern(o.custom);
|
| unittest.expect(o.delete, unittest.equals('foo'));
|
| @@ -1598,14 +1598,14 @@ checkLabelDescriptor(api.LabelDescriptor o) {
|
| buildCounterLabelDescriptor--;
|
| }
|
|
|
| -buildUnnamed1101() {
|
| +buildUnnamed1185() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1101(core.List<api.Operation> o) {
|
| +checkUnnamed1185(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -1617,7 +1617,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed1101();
|
| + o.operations = buildUnnamed1185();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -1627,19 +1627,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1101(o.operations);
|
| + checkUnnamed1185(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed1102() {
|
| +buildUnnamed1186() {
|
| var o = new core.List<api.Service>();
|
| o.add(buildService());
|
| o.add(buildService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1102(core.List<api.Service> o) {
|
| +checkUnnamed1186(core.List<api.Service> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkService(o[0]);
|
| checkService(o[1]);
|
| @@ -1651,7 +1651,7 @@ buildListServiceConfigsResponse() {
|
| buildCounterListServiceConfigsResponse++;
|
| if (buildCounterListServiceConfigsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.serviceConfigs = buildUnnamed1102();
|
| + o.serviceConfigs = buildUnnamed1186();
|
| }
|
| buildCounterListServiceConfigsResponse--;
|
| return o;
|
| @@ -1661,19 +1661,19 @@ checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) {
|
| buildCounterListServiceConfigsResponse++;
|
| if (buildCounterListServiceConfigsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1102(o.serviceConfigs);
|
| + checkUnnamed1186(o.serviceConfigs);
|
| }
|
| buildCounterListServiceConfigsResponse--;
|
| }
|
|
|
| -buildUnnamed1103() {
|
| +buildUnnamed1187() {
|
| var o = new core.List<api.Rollout>();
|
| o.add(buildRollout());
|
| o.add(buildRollout());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1103(core.List<api.Rollout> o) {
|
| +checkUnnamed1187(core.List<api.Rollout> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRollout(o[0]);
|
| checkRollout(o[1]);
|
| @@ -1685,7 +1685,7 @@ buildListServiceRolloutsResponse() {
|
| buildCounterListServiceRolloutsResponse++;
|
| if (buildCounterListServiceRolloutsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.rollouts = buildUnnamed1103();
|
| + o.rollouts = buildUnnamed1187();
|
| }
|
| buildCounterListServiceRolloutsResponse--;
|
| return o;
|
| @@ -1695,19 +1695,19 @@ checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) {
|
| buildCounterListServiceRolloutsResponse++;
|
| if (buildCounterListServiceRolloutsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1103(o.rollouts);
|
| + checkUnnamed1187(o.rollouts);
|
| }
|
| buildCounterListServiceRolloutsResponse--;
|
| }
|
|
|
| -buildUnnamed1104() {
|
| +buildUnnamed1188() {
|
| var o = new core.List<api.ManagedService>();
|
| o.add(buildManagedService());
|
| o.add(buildManagedService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1104(core.List<api.ManagedService> o) {
|
| +checkUnnamed1188(core.List<api.ManagedService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedService(o[0]);
|
| checkManagedService(o[1]);
|
| @@ -1719,7 +1719,7 @@ buildListServicesResponse() {
|
| buildCounterListServicesResponse++;
|
| if (buildCounterListServicesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.services = buildUnnamed1104();
|
| + o.services = buildUnnamed1188();
|
| }
|
| buildCounterListServicesResponse--;
|
| return o;
|
| @@ -1729,7 +1729,7 @@ checkListServicesResponse(api.ListServicesResponse o) {
|
| buildCounterListServicesResponse++;
|
| if (buildCounterListServicesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1104(o.services);
|
| + checkUnnamed1188(o.services);
|
| }
|
| buildCounterListServicesResponse--;
|
| }
|
| @@ -1757,14 +1757,14 @@ checkLogConfig(api.LogConfig o) {
|
| buildCounterLogConfig--;
|
| }
|
|
|
| -buildUnnamed1105() {
|
| +buildUnnamed1189() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1105(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1189(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -1777,7 +1777,7 @@ buildLogDescriptor() {
|
| if (buildCounterLogDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1105();
|
| + o.labels = buildUnnamed1189();
|
| o.name = "foo";
|
| }
|
| buildCounterLogDescriptor--;
|
| @@ -1789,33 +1789,33 @@ checkLogDescriptor(api.LogDescriptor o) {
|
| if (buildCounterLogDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1105(o.labels);
|
| + checkUnnamed1189(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterLogDescriptor--;
|
| }
|
|
|
| -buildUnnamed1106() {
|
| +buildUnnamed1190() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1106(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1190(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1107() {
|
| +buildUnnamed1191() {
|
| var o = new core.List<api.LoggingDestination>();
|
| o.add(buildLoggingDestination());
|
| o.add(buildLoggingDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1107(core.List<api.LoggingDestination> o) {
|
| +checkUnnamed1191(core.List<api.LoggingDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLoggingDestination(o[0]);
|
| checkLoggingDestination(o[1]);
|
| @@ -1826,8 +1826,8 @@ buildLogging() {
|
| var o = new api.Logging();
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - o.consumerDestinations = buildUnnamed1106();
|
| - o.producerDestinations = buildUnnamed1107();
|
| + o.consumerDestinations = buildUnnamed1190();
|
| + o.producerDestinations = buildUnnamed1191();
|
| }
|
| buildCounterLogging--;
|
| return o;
|
| @@ -1836,20 +1836,20 @@ buildLogging() {
|
| checkLogging(api.Logging o) {
|
| buildCounterLogging++;
|
| if (buildCounterLogging < 3) {
|
| - checkUnnamed1106(o.consumerDestinations);
|
| - checkUnnamed1107(o.producerDestinations);
|
| + checkUnnamed1190(o.consumerDestinations);
|
| + checkUnnamed1191(o.producerDestinations);
|
| }
|
| buildCounterLogging--;
|
| }
|
|
|
| -buildUnnamed1108() {
|
| +buildUnnamed1192() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1108(core.List<core.String> o) {
|
| +checkUnnamed1192(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'));
|
| @@ -1860,7 +1860,7 @@ buildLoggingDestination() {
|
| var o = new api.LoggingDestination();
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - o.logs = buildUnnamed1108();
|
| + o.logs = buildUnnamed1192();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1870,7 +1870,7 @@ buildLoggingDestination() {
|
| checkLoggingDestination(api.LoggingDestination o) {
|
| buildCounterLoggingDestination++;
|
| if (buildCounterLoggingDestination < 3) {
|
| - checkUnnamed1108(o.logs);
|
| + checkUnnamed1192(o.logs);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterLoggingDestination--;
|
| @@ -1926,14 +1926,14 @@ checkMediaDownload(api.MediaDownload o) {
|
| buildCounterMediaDownload--;
|
| }
|
|
|
| -buildUnnamed1109() {
|
| +buildUnnamed1193() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1109(core.List<core.String> o) {
|
| +checkUnnamed1193(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'));
|
| @@ -1948,7 +1948,7 @@ buildMediaUpload() {
|
| o.dropzone = "foo";
|
| o.enabled = true;
|
| o.maxSize = "foo";
|
| - o.mimeTypes = buildUnnamed1109();
|
| + o.mimeTypes = buildUnnamed1193();
|
| o.progressNotification = true;
|
| o.startNotification = true;
|
| o.uploadService = "foo";
|
| @@ -1964,7 +1964,7 @@ checkMediaUpload(api.MediaUpload o) {
|
| unittest.expect(o.dropzone, unittest.equals('foo'));
|
| unittest.expect(o.enabled, unittest.isTrue);
|
| unittest.expect(o.maxSize, unittest.equals('foo'));
|
| - checkUnnamed1109(o.mimeTypes);
|
| + checkUnnamed1193(o.mimeTypes);
|
| unittest.expect(o.progressNotification, unittest.isTrue);
|
| unittest.expect(o.startNotification, unittest.isTrue);
|
| unittest.expect(o.uploadService, unittest.equals('foo'));
|
| @@ -1972,14 +1972,14 @@ checkMediaUpload(api.MediaUpload o) {
|
| buildCounterMediaUpload--;
|
| }
|
|
|
| -buildUnnamed1110() {
|
| +buildUnnamed1194() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1110(core.List<api.Option> o) {
|
| +checkUnnamed1194(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -1991,7 +1991,7 @@ buildMethod() {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| o.name = "foo";
|
| - o.options = buildUnnamed1110();
|
| + o.options = buildUnnamed1194();
|
| o.requestStreaming = true;
|
| o.requestTypeUrl = "foo";
|
| o.responseStreaming = true;
|
| @@ -2006,7 +2006,7 @@ checkMethod(api.Method o) {
|
| buildCounterMethod++;
|
| if (buildCounterMethod < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1110(o.options);
|
| + checkUnnamed1194(o.options);
|
| unittest.expect(o.requestStreaming, unittest.isTrue);
|
| unittest.expect(o.requestTypeUrl, unittest.equals('foo'));
|
| unittest.expect(o.responseStreaming, unittest.isTrue);
|
| @@ -2016,14 +2016,14 @@ checkMethod(api.Method o) {
|
| buildCounterMethod--;
|
| }
|
|
|
| -buildUnnamed1111() {
|
| +buildUnnamed1195() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1111(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1195(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -2036,7 +2036,7 @@ buildMetricDescriptor() {
|
| if (buildCounterMetricDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1111();
|
| + o.labels = buildUnnamed1195();
|
| o.metricKind = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -2052,7 +2052,7 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| if (buildCounterMetricDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1111(o.labels);
|
| + checkUnnamed1195(o.labels);
|
| unittest.expect(o.metricKind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -2062,14 +2062,14 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| buildCounterMetricDescriptor--;
|
| }
|
|
|
| -buildUnnamed1112() {
|
| +buildUnnamed1196() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1112(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1196(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'));
|
| @@ -2080,7 +2080,7 @@ buildMetricRule() {
|
| var o = new api.MetricRule();
|
| buildCounterMetricRule++;
|
| if (buildCounterMetricRule < 3) {
|
| - o.metricCosts = buildUnnamed1112();
|
| + o.metricCosts = buildUnnamed1196();
|
| o.selector = "foo";
|
| }
|
| buildCounterMetricRule--;
|
| @@ -2090,7 +2090,7 @@ buildMetricRule() {
|
| checkMetricRule(api.MetricRule o) {
|
| buildCounterMetricRule++;
|
| if (buildCounterMetricRule < 3) {
|
| - checkUnnamed1112(o.metricCosts);
|
| + checkUnnamed1196(o.metricCosts);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterMetricRule--;
|
| @@ -2117,14 +2117,14 @@ checkMixin(api.Mixin o) {
|
| buildCounterMixin--;
|
| }
|
|
|
| -buildUnnamed1113() {
|
| +buildUnnamed1197() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1113(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1197(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -2137,7 +2137,7 @@ buildMonitoredResourceDescriptor() {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1113();
|
| + o.labels = buildUnnamed1197();
|
| o.name = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -2150,34 +2150,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1113(o.labels);
|
| + checkUnnamed1197(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed1114() {
|
| +buildUnnamed1198() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1114(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1198(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| }
|
|
|
| -buildUnnamed1115() {
|
| +buildUnnamed1199() {
|
| var o = new core.List<api.MonitoringDestination>();
|
| o.add(buildMonitoringDestination());
|
| o.add(buildMonitoringDestination());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1115(core.List<api.MonitoringDestination> o) {
|
| +checkUnnamed1199(core.List<api.MonitoringDestination> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoringDestination(o[0]);
|
| checkMonitoringDestination(o[1]);
|
| @@ -2188,8 +2188,8 @@ buildMonitoring() {
|
| var o = new api.Monitoring();
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - o.consumerDestinations = buildUnnamed1114();
|
| - o.producerDestinations = buildUnnamed1115();
|
| + o.consumerDestinations = buildUnnamed1198();
|
| + o.producerDestinations = buildUnnamed1199();
|
| }
|
| buildCounterMonitoring--;
|
| return o;
|
| @@ -2198,20 +2198,20 @@ buildMonitoring() {
|
| checkMonitoring(api.Monitoring o) {
|
| buildCounterMonitoring++;
|
| if (buildCounterMonitoring < 3) {
|
| - checkUnnamed1114(o.consumerDestinations);
|
| - checkUnnamed1115(o.producerDestinations);
|
| + checkUnnamed1198(o.consumerDestinations);
|
| + checkUnnamed1199(o.producerDestinations);
|
| }
|
| buildCounterMonitoring--;
|
| }
|
|
|
| -buildUnnamed1116() {
|
| +buildUnnamed1200() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1116(core.List<core.String> o) {
|
| +checkUnnamed1200(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'));
|
| @@ -2222,7 +2222,7 @@ buildMonitoringDestination() {
|
| var o = new api.MonitoringDestination();
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - o.metrics = buildUnnamed1116();
|
| + o.metrics = buildUnnamed1200();
|
| o.monitoredResource = "foo";
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -2232,7 +2232,7 @@ buildMonitoringDestination() {
|
| checkMonitoringDestination(api.MonitoringDestination o) {
|
| buildCounterMonitoringDestination++;
|
| if (buildCounterMonitoringDestination < 3) {
|
| - checkUnnamed1116(o.metrics);
|
| + checkUnnamed1200(o.metrics);
|
| unittest.expect(o.monitoredResource, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoringDestination--;
|
| @@ -2257,27 +2257,27 @@ checkOAuthRequirements(api.OAuthRequirements o) {
|
| buildCounterOAuthRequirements--;
|
| }
|
|
|
| -buildUnnamed1117() {
|
| +buildUnnamed1201() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1117(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1201(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'));
|
| }
|
|
|
| -buildUnnamed1118() {
|
| +buildUnnamed1202() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1118(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1202(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'));
|
| @@ -2290,9 +2290,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed1117();
|
| + o.metadata = buildUnnamed1201();
|
| o.name = "foo";
|
| - o.response = buildUnnamed1118();
|
| + o.response = buildUnnamed1202();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -2303,34 +2303,34 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed1117(o.metadata);
|
| + checkUnnamed1201(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1118(o.response);
|
| + checkUnnamed1202(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed1119() {
|
| +buildUnnamed1203() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1119(core.List<core.String> o) {
|
| +checkUnnamed1203(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'));
|
| }
|
|
|
| -buildUnnamed1120() {
|
| +buildUnnamed1204() {
|
| var o = new core.List<api.Step>();
|
| o.add(buildStep());
|
| o.add(buildStep());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1120(core.List<api.Step> o) {
|
| +checkUnnamed1204(core.List<api.Step> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStep(o[0]);
|
| checkStep(o[1]);
|
| @@ -2342,9 +2342,9 @@ buildOperationMetadata() {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| o.progressPercentage = 42;
|
| - o.resourceNames = buildUnnamed1119();
|
| + o.resourceNames = buildUnnamed1203();
|
| o.startTime = "foo";
|
| - o.steps = buildUnnamed1120();
|
| + o.steps = buildUnnamed1204();
|
| }
|
| buildCounterOperationMetadata--;
|
| return o;
|
| @@ -2354,21 +2354,21 @@ checkOperationMetadata(api.OperationMetadata o) {
|
| buildCounterOperationMetadata++;
|
| if (buildCounterOperationMetadata < 3) {
|
| unittest.expect(o.progressPercentage, unittest.equals(42));
|
| - checkUnnamed1119(o.resourceNames);
|
| + checkUnnamed1203(o.resourceNames);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| - checkUnnamed1120(o.steps);
|
| + checkUnnamed1204(o.steps);
|
| }
|
| buildCounterOperationMetadata--;
|
| }
|
|
|
| -buildUnnamed1121() {
|
| +buildUnnamed1205() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1121(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1205(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'));
|
| @@ -2380,7 +2380,7 @@ buildOption() {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| o.name = "foo";
|
| - o.value = buildUnnamed1121();
|
| + o.value = buildUnnamed1205();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -2390,19 +2390,19 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1121(o.value);
|
| + checkUnnamed1205(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
|
|
| -buildUnnamed1122() {
|
| +buildUnnamed1206() {
|
| var o = new core.List<api.Page>();
|
| o.add(buildPage());
|
| o.add(buildPage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1122(core.List<api.Page> o) {
|
| +checkUnnamed1206(core.List<api.Page> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPage(o[0]);
|
| checkPage(o[1]);
|
| @@ -2415,7 +2415,7 @@ buildPage() {
|
| if (buildCounterPage < 3) {
|
| o.content = "foo";
|
| o.name = "foo";
|
| - o.subpages = buildUnnamed1122();
|
| + o.subpages = buildUnnamed1206();
|
| }
|
| buildCounterPage--;
|
| return o;
|
| @@ -2426,45 +2426,45 @@ checkPage(api.Page o) {
|
| if (buildCounterPage < 3) {
|
| unittest.expect(o.content, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1122(o.subpages);
|
| + checkUnnamed1206(o.subpages);
|
| }
|
| buildCounterPage--;
|
| }
|
|
|
| -buildUnnamed1123() {
|
| +buildUnnamed1207() {
|
| var o = new core.List<api.AuditConfig>();
|
| o.add(buildAuditConfig());
|
| o.add(buildAuditConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1123(core.List<api.AuditConfig> o) {
|
| +checkUnnamed1207(core.List<api.AuditConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuditConfig(o[0]);
|
| checkAuditConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1124() {
|
| +buildUnnamed1208() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1124(core.List<api.Binding> o) {
|
| +checkUnnamed1208(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| }
|
|
|
| -buildUnnamed1125() {
|
| +buildUnnamed1209() {
|
| var o = new core.List<api.Rule>();
|
| o.add(buildRule());
|
| o.add(buildRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1125(core.List<api.Rule> o) {
|
| +checkUnnamed1209(core.List<api.Rule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRule(o[0]);
|
| checkRule(o[1]);
|
| @@ -2475,11 +2475,11 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.auditConfigs = buildUnnamed1123();
|
| - o.bindings = buildUnnamed1124();
|
| + o.auditConfigs = buildUnnamed1207();
|
| + o.bindings = buildUnnamed1208();
|
| o.etag = "foo";
|
| o.iamOwned = true;
|
| - o.rules = buildUnnamed1125();
|
| + o.rules = buildUnnamed1209();
|
| o.version = 42;
|
| }
|
| buildCounterPolicy--;
|
| @@ -2489,37 +2489,37 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed1123(o.auditConfigs);
|
| - checkUnnamed1124(o.bindings);
|
| + checkUnnamed1207(o.auditConfigs);
|
| + checkUnnamed1208(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.iamOwned, unittest.isTrue);
|
| - checkUnnamed1125(o.rules);
|
| + checkUnnamed1209(o.rules);
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| buildCounterPolicy--;
|
| }
|
|
|
| -buildUnnamed1126() {
|
| +buildUnnamed1210() {
|
| var o = new core.List<api.QuotaLimit>();
|
| o.add(buildQuotaLimit());
|
| o.add(buildQuotaLimit());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1126(core.List<api.QuotaLimit> o) {
|
| +checkUnnamed1210(core.List<api.QuotaLimit> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaLimit(o[0]);
|
| checkQuotaLimit(o[1]);
|
| }
|
|
|
| -buildUnnamed1127() {
|
| +buildUnnamed1211() {
|
| var o = new core.List<api.MetricRule>();
|
| o.add(buildMetricRule());
|
| o.add(buildMetricRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1127(core.List<api.MetricRule> o) {
|
| +checkUnnamed1211(core.List<api.MetricRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricRule(o[0]);
|
| checkMetricRule(o[1]);
|
| @@ -2530,8 +2530,8 @@ buildQuota() {
|
| var o = new api.Quota();
|
| buildCounterQuota++;
|
| if (buildCounterQuota < 3) {
|
| - o.limits = buildUnnamed1126();
|
| - o.metricRules = buildUnnamed1127();
|
| + o.limits = buildUnnamed1210();
|
| + o.metricRules = buildUnnamed1211();
|
| }
|
| buildCounterQuota--;
|
| return o;
|
| @@ -2540,20 +2540,20 @@ buildQuota() {
|
| checkQuota(api.Quota o) {
|
| buildCounterQuota++;
|
| if (buildCounterQuota < 3) {
|
| - checkUnnamed1126(o.limits);
|
| - checkUnnamed1127(o.metricRules);
|
| + checkUnnamed1210(o.limits);
|
| + checkUnnamed1211(o.metricRules);
|
| }
|
| buildCounterQuota--;
|
| }
|
|
|
| -buildUnnamed1128() {
|
| +buildUnnamed1212() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1128(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1212(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'));
|
| @@ -2573,7 +2573,7 @@ buildQuotaLimit() {
|
| o.metric = "foo";
|
| o.name = "foo";
|
| o.unit = "foo";
|
| - o.values = buildUnnamed1128();
|
| + o.values = buildUnnamed1212();
|
| }
|
| buildCounterQuotaLimit--;
|
| return o;
|
| @@ -2591,7 +2591,7 @@ checkQuotaLimit(api.QuotaLimit o) {
|
| unittest.expect(o.metric, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.unit, unittest.equals('foo'));
|
| - checkUnnamed1128(o.values);
|
| + checkUnnamed1212(o.values);
|
| }
|
| buildCounterQuotaLimit--;
|
| }
|
| @@ -2627,66 +2627,66 @@ checkRollout(api.Rollout o) {
|
| buildCounterRollout--;
|
| }
|
|
|
| -buildUnnamed1129() {
|
| +buildUnnamed1213() {
|
| var o = new core.List<api.Condition>();
|
| o.add(buildCondition());
|
| o.add(buildCondition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1129(core.List<api.Condition> o) {
|
| +checkUnnamed1213(core.List<api.Condition> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCondition(o[0]);
|
| checkCondition(o[1]);
|
| }
|
|
|
| -buildUnnamed1130() {
|
| +buildUnnamed1214() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1130(core.List<core.String> o) {
|
| +checkUnnamed1214(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'));
|
| }
|
|
|
| -buildUnnamed1131() {
|
| +buildUnnamed1215() {
|
| var o = new core.List<api.LogConfig>();
|
| o.add(buildLogConfig());
|
| o.add(buildLogConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1131(core.List<api.LogConfig> o) {
|
| +checkUnnamed1215(core.List<api.LogConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogConfig(o[0]);
|
| checkLogConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed1132() {
|
| +buildUnnamed1216() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1132(core.List<core.String> o) {
|
| +checkUnnamed1216(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'));
|
| }
|
|
|
| -buildUnnamed1133() {
|
| +buildUnnamed1217() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1133(core.List<core.String> o) {
|
| +checkUnnamed1217(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'));
|
| @@ -2698,12 +2698,12 @@ buildRule() {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| o.action = "foo";
|
| - o.conditions = buildUnnamed1129();
|
| + o.conditions = buildUnnamed1213();
|
| o.description = "foo";
|
| - o.in_ = buildUnnamed1130();
|
| - o.logConfig = buildUnnamed1131();
|
| - o.notIn = buildUnnamed1132();
|
| - o.permissions = buildUnnamed1133();
|
| + o.in_ = buildUnnamed1214();
|
| + o.logConfig = buildUnnamed1215();
|
| + o.notIn = buildUnnamed1216();
|
| + o.permissions = buildUnnamed1217();
|
| }
|
| buildCounterRule--;
|
| return o;
|
| @@ -2713,115 +2713,115 @@ checkRule(api.Rule o) {
|
| buildCounterRule++;
|
| if (buildCounterRule < 3) {
|
| unittest.expect(o.action, unittest.equals('foo'));
|
| - checkUnnamed1129(o.conditions);
|
| + checkUnnamed1213(o.conditions);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1130(o.in_);
|
| - checkUnnamed1131(o.logConfig);
|
| - checkUnnamed1132(o.notIn);
|
| - checkUnnamed1133(o.permissions);
|
| + checkUnnamed1214(o.in_);
|
| + checkUnnamed1215(o.logConfig);
|
| + checkUnnamed1216(o.notIn);
|
| + checkUnnamed1217(o.permissions);
|
| }
|
| buildCounterRule--;
|
| }
|
|
|
| -buildUnnamed1134() {
|
| +buildUnnamed1218() {
|
| var o = new core.List<api.Api>();
|
| o.add(buildApi());
|
| o.add(buildApi());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1134(core.List<api.Api> o) {
|
| +checkUnnamed1218(core.List<api.Api> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkApi(o[0]);
|
| checkApi(o[1]);
|
| }
|
|
|
| -buildUnnamed1135() {
|
| +buildUnnamed1219() {
|
| var o = new core.List<api.Endpoint>();
|
| o.add(buildEndpoint());
|
| o.add(buildEndpoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1135(core.List<api.Endpoint> o) {
|
| +checkUnnamed1219(core.List<api.Endpoint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEndpoint(o[0]);
|
| checkEndpoint(o[1]);
|
| }
|
|
|
| -buildUnnamed1136() {
|
| +buildUnnamed1220() {
|
| var o = new core.List<api.Enum>();
|
| o.add(buildEnum());
|
| o.add(buildEnum());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1136(core.List<api.Enum> o) {
|
| +checkUnnamed1220(core.List<api.Enum> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnum(o[0]);
|
| checkEnum(o[1]);
|
| }
|
|
|
| -buildUnnamed1137() {
|
| +buildUnnamed1221() {
|
| var o = new core.List<api.LogDescriptor>();
|
| o.add(buildLogDescriptor());
|
| o.add(buildLogDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1137(core.List<api.LogDescriptor> o) {
|
| +checkUnnamed1221(core.List<api.LogDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogDescriptor(o[0]);
|
| checkLogDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1138() {
|
| +buildUnnamed1222() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1138(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed1222(core.List<api.MetricDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricDescriptor(o[0]);
|
| checkMetricDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1139() {
|
| +buildUnnamed1223() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1139(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed1223(core.List<api.MonitoredResourceDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoredResourceDescriptor(o[0]);
|
| checkMonitoredResourceDescriptor(o[1]);
|
| }
|
|
|
| -buildUnnamed1140() {
|
| +buildUnnamed1224() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1140(core.List<api.Type> o) {
|
| +checkUnnamed1224(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| }
|
|
|
| -buildUnnamed1141() {
|
| +buildUnnamed1225() {
|
| var o = new core.List<api.Type>();
|
| o.add(buildType());
|
| o.add(buildType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1141(core.List<api.Type> o) {
|
| +checkUnnamed1225(core.List<api.Type> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkType(o[0]);
|
| checkType(o[1]);
|
| @@ -2832,7 +2832,7 @@ buildService() {
|
| var o = new api.Service();
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - o.apis = buildUnnamed1134();
|
| + o.apis = buildUnnamed1218();
|
| o.authentication = buildAuthentication();
|
| o.backend = buildBackend();
|
| o.configVersion = 42;
|
| @@ -2840,24 +2840,24 @@ buildService() {
|
| o.control = buildControl();
|
| o.customError = buildCustomError();
|
| o.documentation = buildDocumentation();
|
| - o.endpoints = buildUnnamed1135();
|
| - o.enums = buildUnnamed1136();
|
| + o.endpoints = buildUnnamed1219();
|
| + o.enums = buildUnnamed1220();
|
| o.experimental = buildExperimental();
|
| o.http = buildHttp();
|
| o.id = "foo";
|
| o.logging = buildLogging();
|
| - o.logs = buildUnnamed1137();
|
| - o.metrics = buildUnnamed1138();
|
| - o.monitoredResources = buildUnnamed1139();
|
| + o.logs = buildUnnamed1221();
|
| + o.metrics = buildUnnamed1222();
|
| + o.monitoredResources = buildUnnamed1223();
|
| o.monitoring = buildMonitoring();
|
| o.name = "foo";
|
| o.producerProjectId = "foo";
|
| o.quota = buildQuota();
|
| o.sourceInfo = buildSourceInfo();
|
| o.systemParameters = buildSystemParameters();
|
| - o.systemTypes = buildUnnamed1140();
|
| + o.systemTypes = buildUnnamed1224();
|
| o.title = "foo";
|
| - o.types = buildUnnamed1141();
|
| + o.types = buildUnnamed1225();
|
| o.usage = buildUsage();
|
| o.visibility = buildVisibility();
|
| }
|
| @@ -2868,7 +2868,7 @@ buildService() {
|
| checkService(api.Service o) {
|
| buildCounterService++;
|
| if (buildCounterService < 3) {
|
| - checkUnnamed1134(o.apis);
|
| + checkUnnamed1218(o.apis);
|
| checkAuthentication(o.authentication);
|
| checkBackend(o.backend);
|
| unittest.expect(o.configVersion, unittest.equals(42));
|
| @@ -2876,24 +2876,24 @@ checkService(api.Service o) {
|
| checkControl(o.control);
|
| checkCustomError(o.customError);
|
| checkDocumentation(o.documentation);
|
| - checkUnnamed1135(o.endpoints);
|
| - checkUnnamed1136(o.enums);
|
| + checkUnnamed1219(o.endpoints);
|
| + checkUnnamed1220(o.enums);
|
| checkExperimental(o.experimental);
|
| checkHttp(o.http);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| checkLogging(o.logging);
|
| - checkUnnamed1137(o.logs);
|
| - checkUnnamed1138(o.metrics);
|
| - checkUnnamed1139(o.monitoredResources);
|
| + checkUnnamed1221(o.logs);
|
| + checkUnnamed1222(o.metrics);
|
| + checkUnnamed1223(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);
|
| - checkUnnamed1140(o.systemTypes);
|
| + checkUnnamed1224(o.systemTypes);
|
| unittest.expect(o.title, unittest.equals('foo'));
|
| - checkUnnamed1141(o.types);
|
| + checkUnnamed1225(o.types);
|
| checkUsage(o.usage);
|
| checkVisibility(o.visibility);
|
| }
|
| @@ -2940,30 +2940,30 @@ checkSourceContext(api.SourceContext o) {
|
| buildCounterSourceContext--;
|
| }
|
|
|
| -buildUnnamed1142() {
|
| +buildUnnamed1226() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1142(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1226(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'));
|
| }
|
|
|
| -buildUnnamed1143() {
|
| +buildUnnamed1227() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1142());
|
| - o.add(buildUnnamed1142());
|
| + o.add(buildUnnamed1226());
|
| + o.add(buildUnnamed1226());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1143(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1227(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1142(o[0]);
|
| - checkUnnamed1142(o[1]);
|
| + checkUnnamed1226(o[0]);
|
| + checkUnnamed1226(o[1]);
|
| }
|
|
|
| core.int buildCounterSourceInfo = 0;
|
| @@ -2971,7 +2971,7 @@ buildSourceInfo() {
|
| var o = new api.SourceInfo();
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - o.sourceFiles = buildUnnamed1143();
|
| + o.sourceFiles = buildUnnamed1227();
|
| }
|
| buildCounterSourceInfo--;
|
| return o;
|
| @@ -2980,35 +2980,35 @@ buildSourceInfo() {
|
| checkSourceInfo(api.SourceInfo o) {
|
| buildCounterSourceInfo++;
|
| if (buildCounterSourceInfo < 3) {
|
| - checkUnnamed1143(o.sourceFiles);
|
| + checkUnnamed1227(o.sourceFiles);
|
| }
|
| buildCounterSourceInfo--;
|
| }
|
|
|
| -buildUnnamed1144() {
|
| +buildUnnamed1228() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1144(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1228(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'));
|
| }
|
|
|
| -buildUnnamed1145() {
|
| +buildUnnamed1229() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1144());
|
| - o.add(buildUnnamed1144());
|
| + o.add(buildUnnamed1228());
|
| + o.add(buildUnnamed1228());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1145(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1229(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1144(o[0]);
|
| - checkUnnamed1144(o[1]);
|
| + checkUnnamed1228(o[0]);
|
| + checkUnnamed1228(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -3017,7 +3017,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1145();
|
| + o.details = buildUnnamed1229();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -3028,7 +3028,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1145(o.details);
|
| + checkUnnamed1229(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -3118,14 +3118,14 @@ checkSystemParameter(api.SystemParameter o) {
|
| buildCounterSystemParameter--;
|
| }
|
|
|
| -buildUnnamed1146() {
|
| +buildUnnamed1230() {
|
| var o = new core.List<api.SystemParameter>();
|
| o.add(buildSystemParameter());
|
| o.add(buildSystemParameter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1146(core.List<api.SystemParameter> o) {
|
| +checkUnnamed1230(core.List<api.SystemParameter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameter(o[0]);
|
| checkSystemParameter(o[1]);
|
| @@ -3136,7 +3136,7 @@ buildSystemParameterRule() {
|
| var o = new api.SystemParameterRule();
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - o.parameters = buildUnnamed1146();
|
| + o.parameters = buildUnnamed1230();
|
| o.selector = "foo";
|
| }
|
| buildCounterSystemParameterRule--;
|
| @@ -3146,20 +3146,20 @@ buildSystemParameterRule() {
|
| checkSystemParameterRule(api.SystemParameterRule o) {
|
| buildCounterSystemParameterRule++;
|
| if (buildCounterSystemParameterRule < 3) {
|
| - checkUnnamed1146(o.parameters);
|
| + checkUnnamed1230(o.parameters);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| }
|
| buildCounterSystemParameterRule--;
|
| }
|
|
|
| -buildUnnamed1147() {
|
| +buildUnnamed1231() {
|
| var o = new core.List<api.SystemParameterRule>();
|
| o.add(buildSystemParameterRule());
|
| o.add(buildSystemParameterRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1147(core.List<api.SystemParameterRule> o) {
|
| +checkUnnamed1231(core.List<api.SystemParameterRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSystemParameterRule(o[0]);
|
| checkSystemParameterRule(o[1]);
|
| @@ -3170,7 +3170,7 @@ buildSystemParameters() {
|
| var o = new api.SystemParameters();
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - o.rules = buildUnnamed1147();
|
| + o.rules = buildUnnamed1231();
|
| }
|
| buildCounterSystemParameters--;
|
| return o;
|
| @@ -3179,19 +3179,19 @@ buildSystemParameters() {
|
| checkSystemParameters(api.SystemParameters o) {
|
| buildCounterSystemParameters++;
|
| if (buildCounterSystemParameters < 3) {
|
| - checkUnnamed1147(o.rules);
|
| + checkUnnamed1231(o.rules);
|
| }
|
| buildCounterSystemParameters--;
|
| }
|
|
|
| -buildUnnamed1148() {
|
| +buildUnnamed1232() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1148(core.List<core.String> o) {
|
| +checkUnnamed1232(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'));
|
| @@ -3202,7 +3202,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed1148();
|
| + o.permissions = buildUnnamed1232();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -3211,19 +3211,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed1148(o.permissions);
|
| + checkUnnamed1232(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed1149() {
|
| +buildUnnamed1233() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1149(core.List<core.String> o) {
|
| +checkUnnamed1233(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'));
|
| @@ -3234,7 +3234,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed1149();
|
| + o.permissions = buildUnnamed1233();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -3243,19 +3243,19 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed1149(o.permissions);
|
| + checkUnnamed1233(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
|
|
| -buildUnnamed1150() {
|
| +buildUnnamed1234() {
|
| var o = new core.Map<core.String, core.double>();
|
| o["x"] = 42.0;
|
| o["y"] = 42.0;
|
| return o;
|
| }
|
|
|
| -checkUnnamed1150(core.Map<core.String, core.double> o) {
|
| +checkUnnamed1234(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));
|
| @@ -3266,7 +3266,7 @@ buildTrafficPercentStrategy() {
|
| var o = new api.TrafficPercentStrategy();
|
| buildCounterTrafficPercentStrategy++;
|
| if (buildCounterTrafficPercentStrategy < 3) {
|
| - o.percentages = buildUnnamed1150();
|
| + o.percentages = buildUnnamed1234();
|
| }
|
| buildCounterTrafficPercentStrategy--;
|
| return o;
|
| @@ -3275,45 +3275,45 @@ buildTrafficPercentStrategy() {
|
| checkTrafficPercentStrategy(api.TrafficPercentStrategy o) {
|
| buildCounterTrafficPercentStrategy++;
|
| if (buildCounterTrafficPercentStrategy < 3) {
|
| - checkUnnamed1150(o.percentages);
|
| + checkUnnamed1234(o.percentages);
|
| }
|
| buildCounterTrafficPercentStrategy--;
|
| }
|
|
|
| -buildUnnamed1151() {
|
| +buildUnnamed1235() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1151(core.List<api.Field> o) {
|
| +checkUnnamed1235(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed1152() {
|
| +buildUnnamed1236() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1152(core.List<core.String> o) {
|
| +checkUnnamed1236(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'));
|
| }
|
|
|
| -buildUnnamed1153() {
|
| +buildUnnamed1237() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1153(core.List<api.Option> o) {
|
| +checkUnnamed1237(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -3324,10 +3324,10 @@ buildType() {
|
| var o = new api.Type();
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - o.fields = buildUnnamed1151();
|
| + o.fields = buildUnnamed1235();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed1152();
|
| - o.options = buildUnnamed1153();
|
| + o.oneofs = buildUnnamed1236();
|
| + o.options = buildUnnamed1237();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -3338,10 +3338,10 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed1151(o.fields);
|
| + checkUnnamed1235(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1152(o.oneofs);
|
| - checkUnnamed1153(o.options);
|
| + checkUnnamed1236(o.oneofs);
|
| + checkUnnamed1237(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| @@ -3367,27 +3367,27 @@ checkUndeleteServiceResponse(api.UndeleteServiceResponse o) {
|
| buildCounterUndeleteServiceResponse--;
|
| }
|
|
|
| -buildUnnamed1154() {
|
| +buildUnnamed1238() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1154(core.List<core.String> o) {
|
| +checkUnnamed1238(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'));
|
| }
|
|
|
| -buildUnnamed1155() {
|
| +buildUnnamed1239() {
|
| var o = new core.List<api.UsageRule>();
|
| o.add(buildUsageRule());
|
| o.add(buildUsageRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1155(core.List<api.UsageRule> o) {
|
| +checkUnnamed1239(core.List<api.UsageRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageRule(o[0]);
|
| checkUsageRule(o[1]);
|
| @@ -3399,8 +3399,8 @@ buildUsage() {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| o.producerNotificationChannel = "foo";
|
| - o.requirements = buildUnnamed1154();
|
| - o.rules = buildUnnamed1155();
|
| + o.requirements = buildUnnamed1238();
|
| + o.rules = buildUnnamed1239();
|
| }
|
| buildCounterUsage--;
|
| return o;
|
| @@ -3410,8 +3410,8 @@ checkUsage(api.Usage o) {
|
| buildCounterUsage++;
|
| if (buildCounterUsage < 3) {
|
| unittest.expect(o.producerNotificationChannel, unittest.equals('foo'));
|
| - checkUnnamed1154(o.requirements);
|
| - checkUnnamed1155(o.rules);
|
| + checkUnnamed1238(o.requirements);
|
| + checkUnnamed1239(o.rules);
|
| }
|
| buildCounterUsage--;
|
| }
|
| @@ -3423,6 +3423,7 @@ buildUsageRule() {
|
| if (buildCounterUsageRule < 3) {
|
| o.allowUnregisteredCalls = true;
|
| o.selector = "foo";
|
| + o.skipServiceControl = true;
|
| }
|
| buildCounterUsageRule--;
|
| return o;
|
| @@ -3433,18 +3434,19 @@ checkUsageRule(api.UsageRule o) {
|
| if (buildCounterUsageRule < 3) {
|
| unittest.expect(o.allowUnregisteredCalls, unittest.isTrue);
|
| unittest.expect(o.selector, unittest.equals('foo'));
|
| + unittest.expect(o.skipServiceControl, unittest.isTrue);
|
| }
|
| buildCounterUsageRule--;
|
| }
|
|
|
| -buildUnnamed1156() {
|
| +buildUnnamed1240() {
|
| var o = new core.List<api.VisibilityRule>();
|
| o.add(buildVisibilityRule());
|
| o.add(buildVisibilityRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1156(core.List<api.VisibilityRule> o) {
|
| +checkUnnamed1240(core.List<api.VisibilityRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVisibilityRule(o[0]);
|
| checkVisibilityRule(o[1]);
|
| @@ -3455,7 +3457,7 @@ buildVisibility() {
|
| var o = new api.Visibility();
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - o.rules = buildUnnamed1156();
|
| + o.rules = buildUnnamed1240();
|
| }
|
| buildCounterVisibility--;
|
| return o;
|
| @@ -3464,7 +3466,7 @@ buildVisibility() {
|
| checkVisibility(api.Visibility o) {
|
| buildCounterVisibility++;
|
| if (buildCounterVisibility < 3) {
|
| - checkUnnamed1156(o.rules);
|
| + checkUnnamed1240(o.rules);
|
| }
|
| buildCounterVisibility--;
|
| }
|
| @@ -4397,8 +4399,8 @@ main() {
|
|
|
| var mock = new HttpServerMock();
|
| api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operations;
|
| - var arg_name = "foo";
|
| var arg_pageToken = "foo";
|
| + var arg_name = "foo";
|
| var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| @@ -4427,8 +4429,8 @@ 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(queryMap["name"].first, unittest.equals(arg_name));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
|
|
| @@ -4439,7 +4441,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.expectAsync1(((api.ListOperationsResponse response) {
|
| + res.list(pageToken: arg_pageToken, name: arg_name, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse response) {
|
| checkListOperationsResponse(response);
|
| })));
|
| });
|
| @@ -4751,8 +4753,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services;
|
| var arg_serviceName = "foo";
|
| - var arg_configId = "foo";
|
| var arg_view = "foo";
|
| + var arg_configId = "foo";
|
| mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -4786,8 +4788,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId));
|
| unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
|
| + unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId));
|
|
|
|
|
| var h = {
|
| @@ -4796,7 +4798,7 @@ main() {
|
| var resp = convert.JSON.encode(buildService());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.getConfig(arg_serviceName, configId: arg_configId, view: arg_view).then(unittest.expectAsync1(((api.Service response) {
|
| + res.getConfig(arg_serviceName, view: arg_view, configId: arg_configId).then(unittest.expectAsync1(((api.Service response) {
|
| checkService(response);
|
| })));
|
| });
|
|
|