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 06a8d969c74e1f9328b1891b1d71655a3f567992..0dacc06adcb4a3294766464d74c5f4a7876fa3be 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--; |
} |
-buildUnnamed1246() { |
+buildUnnamed997() { |
var o = new core.List<api.Method>(); |
o.add(buildMethod()); |
o.add(buildMethod()); |
return o; |
} |
-checkUnnamed1246(core.List<api.Method> o) { |
+checkUnnamed997(core.List<api.Method> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMethod(o[0]); |
checkMethod(o[1]); |
} |
-buildUnnamed1247() { |
+buildUnnamed998() { |
var o = new core.List<api.Mixin>(); |
o.add(buildMixin()); |
o.add(buildMixin()); |
return o; |
} |
-checkUnnamed1247(core.List<api.Mixin> o) { |
+checkUnnamed998(core.List<api.Mixin> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMixin(o[0]); |
checkMixin(o[1]); |
} |
-buildUnnamed1248() { |
+buildUnnamed999() { |
var o = new core.List<api.Option>(); |
o.add(buildOption()); |
o.add(buildOption()); |
return o; |
} |
-checkUnnamed1248(core.List<api.Option> o) { |
+checkUnnamed999(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 = buildUnnamed1246(); |
- o.mixins = buildUnnamed1247(); |
+ o.methods = buildUnnamed997(); |
+ o.mixins = buildUnnamed998(); |
o.name = "foo"; |
- o.options = buildUnnamed1248(); |
+ o.options = buildUnnamed999(); |
o.sourceContext = buildSourceContext(); |
o.syntax = "foo"; |
o.version = "foo"; |
@@ -129,10 +129,10 @@ buildApi() { |
checkApi(api.Api o) { |
buildCounterApi++; |
if (buildCounterApi < 3) { |
- checkUnnamed1246(o.methods); |
- checkUnnamed1247(o.mixins); |
+ checkUnnamed997(o.methods); |
+ checkUnnamed998(o.mixins); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1248(o.options); |
+ checkUnnamed999(o.options); |
checkSourceContext(o.sourceContext); |
unittest.expect(o.syntax, unittest.equals('foo')); |
unittest.expect(o.version, unittest.equals('foo')); |
@@ -140,14 +140,27 @@ checkApi(api.Api o) { |
buildCounterApi--; |
} |
-buildUnnamed1249() { |
+buildUnnamed1000() { |
+ var o = new core.List<api.AuditLogConfig>(); |
+ o.add(buildAuditLogConfig()); |
+ o.add(buildAuditLogConfig()); |
+ return o; |
+} |
+ |
+checkUnnamed1000(core.List<api.AuditLogConfig> o) { |
+ unittest.expect(o, unittest.hasLength(2)); |
+ checkAuditLogConfig(o[0]); |
+ checkAuditLogConfig(o[1]); |
+} |
+ |
+buildUnnamed1001() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1249(core.List<core.String> o) { |
+checkUnnamed1001(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')); |
@@ -158,7 +171,8 @@ buildAuditConfig() { |
var o = new api.AuditConfig(); |
buildCounterAuditConfig++; |
if (buildCounterAuditConfig < 3) { |
- o.exemptedMembers = buildUnnamed1249(); |
+ o.auditLogConfigs = buildUnnamed1000(); |
+ o.exemptedMembers = buildUnnamed1001(); |
o.service = "foo"; |
} |
buildCounterAuditConfig--; |
@@ -168,12 +182,47 @@ buildAuditConfig() { |
checkAuditConfig(api.AuditConfig o) { |
buildCounterAuditConfig++; |
if (buildCounterAuditConfig < 3) { |
- checkUnnamed1249(o.exemptedMembers); |
+ checkUnnamed1000(o.auditLogConfigs); |
+ checkUnnamed1001(o.exemptedMembers); |
unittest.expect(o.service, unittest.equals('foo')); |
} |
buildCounterAuditConfig--; |
} |
+buildUnnamed1002() { |
+ var o = new core.List<core.String>(); |
+ o.add("foo"); |
+ o.add("foo"); |
+ return o; |
+} |
+ |
+checkUnnamed1002(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')); |
+} |
+ |
+core.int buildCounterAuditLogConfig = 0; |
+buildAuditLogConfig() { |
+ var o = new api.AuditLogConfig(); |
+ buildCounterAuditLogConfig++; |
+ if (buildCounterAuditLogConfig < 3) { |
+ o.exemptedMembers = buildUnnamed1002(); |
+ o.logType = "foo"; |
+ } |
+ buildCounterAuditLogConfig--; |
+ return o; |
+} |
+ |
+checkAuditLogConfig(api.AuditLogConfig o) { |
+ buildCounterAuditLogConfig++; |
+ if (buildCounterAuditLogConfig < 3) { |
+ checkUnnamed1002(o.exemptedMembers); |
+ unittest.expect(o.logType, unittest.equals('foo')); |
+ } |
+ buildCounterAuditLogConfig--; |
+} |
+ |
core.int buildCounterAuthProvider = 0; |
buildAuthProvider() { |
var o = new api.AuthProvider(); |
@@ -220,27 +269,27 @@ checkAuthRequirement(api.AuthRequirement o) { |
buildCounterAuthRequirement--; |
} |
-buildUnnamed1250() { |
+buildUnnamed1003() { |
var o = new core.List<api.AuthProvider>(); |
o.add(buildAuthProvider()); |
o.add(buildAuthProvider()); |
return o; |
} |
-checkUnnamed1250(core.List<api.AuthProvider> o) { |
+checkUnnamed1003(core.List<api.AuthProvider> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuthProvider(o[0]); |
checkAuthProvider(o[1]); |
} |
-buildUnnamed1251() { |
+buildUnnamed1004() { |
var o = new core.List<api.AuthenticationRule>(); |
o.add(buildAuthenticationRule()); |
o.add(buildAuthenticationRule()); |
return o; |
} |
-checkUnnamed1251(core.List<api.AuthenticationRule> o) { |
+checkUnnamed1004(core.List<api.AuthenticationRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuthenticationRule(o[0]); |
checkAuthenticationRule(o[1]); |
@@ -251,8 +300,8 @@ buildAuthentication() { |
var o = new api.Authentication(); |
buildCounterAuthentication++; |
if (buildCounterAuthentication < 3) { |
- o.providers = buildUnnamed1250(); |
- o.rules = buildUnnamed1251(); |
+ o.providers = buildUnnamed1003(); |
+ o.rules = buildUnnamed1004(); |
} |
buildCounterAuthentication--; |
return o; |
@@ -261,20 +310,20 @@ buildAuthentication() { |
checkAuthentication(api.Authentication o) { |
buildCounterAuthentication++; |
if (buildCounterAuthentication < 3) { |
- checkUnnamed1250(o.providers); |
- checkUnnamed1251(o.rules); |
+ checkUnnamed1003(o.providers); |
+ checkUnnamed1004(o.rules); |
} |
buildCounterAuthentication--; |
} |
-buildUnnamed1252() { |
+buildUnnamed1005() { |
var o = new core.List<api.AuthRequirement>(); |
o.add(buildAuthRequirement()); |
o.add(buildAuthRequirement()); |
return o; |
} |
-checkUnnamed1252(core.List<api.AuthRequirement> o) { |
+checkUnnamed1005(core.List<api.AuthRequirement> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuthRequirement(o[0]); |
checkAuthRequirement(o[1]); |
@@ -287,7 +336,7 @@ buildAuthenticationRule() { |
if (buildCounterAuthenticationRule < 3) { |
o.allowWithoutCredential = true; |
o.oauth = buildOAuthRequirements(); |
- o.requirements = buildUnnamed1252(); |
+ o.requirements = buildUnnamed1005(); |
o.selector = "foo"; |
} |
buildCounterAuthenticationRule--; |
@@ -299,20 +348,20 @@ checkAuthenticationRule(api.AuthenticationRule o) { |
if (buildCounterAuthenticationRule < 3) { |
unittest.expect(o.allowWithoutCredential, unittest.isTrue); |
checkOAuthRequirements(o.oauth); |
- checkUnnamed1252(o.requirements); |
+ checkUnnamed1005(o.requirements); |
unittest.expect(o.selector, unittest.equals('foo')); |
} |
buildCounterAuthenticationRule--; |
} |
-buildUnnamed1253() { |
+buildUnnamed1006() { |
var o = new core.List<api.BackendRule>(); |
o.add(buildBackendRule()); |
o.add(buildBackendRule()); |
return o; |
} |
-checkUnnamed1253(core.List<api.BackendRule> o) { |
+checkUnnamed1006(core.List<api.BackendRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkBackendRule(o[0]); |
checkBackendRule(o[1]); |
@@ -323,7 +372,7 @@ buildBackend() { |
var o = new api.Backend(); |
buildCounterBackend++; |
if (buildCounterBackend < 3) { |
- o.rules = buildUnnamed1253(); |
+ o.rules = buildUnnamed1006(); |
} |
buildCounterBackend--; |
return o; |
@@ -332,7 +381,7 @@ buildBackend() { |
checkBackend(api.Backend o) { |
buildCounterBackend++; |
if (buildCounterBackend < 3) { |
- checkUnnamed1253(o.rules); |
+ checkUnnamed1006(o.rules); |
} |
buildCounterBackend--; |
} |
@@ -360,14 +409,14 @@ checkBackendRule(api.BackendRule o) { |
buildCounterBackendRule--; |
} |
-buildUnnamed1254() { |
+buildUnnamed1007() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1254(core.List<core.String> o) { |
+checkUnnamed1007(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')); |
@@ -378,7 +427,7 @@ buildBinding() { |
var o = new api.Binding(); |
buildCounterBinding++; |
if (buildCounterBinding < 3) { |
- o.members = buildUnnamed1254(); |
+ o.members = buildUnnamed1007(); |
o.role = "foo"; |
} |
buildCounterBinding--; |
@@ -388,20 +437,20 @@ buildBinding() { |
checkBinding(api.Binding o) { |
buildCounterBinding++; |
if (buildCounterBinding < 3) { |
- checkUnnamed1254(o.members); |
+ checkUnnamed1007(o.members); |
unittest.expect(o.role, unittest.equals('foo')); |
} |
buildCounterBinding--; |
} |
-buildUnnamed1255() { |
+buildUnnamed1008() { |
var o = new core.List<api.ConfigChange>(); |
o.add(buildConfigChange()); |
o.add(buildConfigChange()); |
return o; |
} |
-checkUnnamed1255(core.List<api.ConfigChange> o) { |
+checkUnnamed1008(core.List<api.ConfigChange> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkConfigChange(o[0]); |
checkConfigChange(o[1]); |
@@ -412,7 +461,7 @@ buildChangeReport() { |
var o = new api.ChangeReport(); |
buildCounterChangeReport++; |
if (buildCounterChangeReport < 3) { |
- o.configChanges = buildUnnamed1255(); |
+ o.configChanges = buildUnnamed1008(); |
} |
buildCounterChangeReport--; |
return o; |
@@ -421,7 +470,7 @@ buildChangeReport() { |
checkChangeReport(api.ChangeReport o) { |
buildCounterChangeReport++; |
if (buildCounterChangeReport < 3) { |
- checkUnnamed1255(o.configChanges); |
+ checkUnnamed1008(o.configChanges); |
} |
buildCounterChangeReport--; |
} |
@@ -443,14 +492,14 @@ checkCloudAuditOptions(api.CloudAuditOptions o) { |
buildCounterCloudAuditOptions--; |
} |
-buildUnnamed1256() { |
+buildUnnamed1009() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1256(core.List<core.String> o) { |
+checkUnnamed1009(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')); |
@@ -466,7 +515,7 @@ buildCondition() { |
o.svc = "foo"; |
o.sys = "foo"; |
o.value = "foo"; |
- o.values = buildUnnamed1256(); |
+ o.values = buildUnnamed1009(); |
} |
buildCounterCondition--; |
return o; |
@@ -480,19 +529,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')); |
- checkUnnamed1256(o.values); |
+ checkUnnamed1009(o.values); |
} |
buildCounterCondition--; |
} |
-buildUnnamed1257() { |
+buildUnnamed1010() { |
var o = new core.List<api.Advice>(); |
o.add(buildAdvice()); |
o.add(buildAdvice()); |
return o; |
} |
-checkUnnamed1257(core.List<api.Advice> o) { |
+checkUnnamed1010(core.List<api.Advice> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAdvice(o[0]); |
checkAdvice(o[1]); |
@@ -503,7 +552,7 @@ buildConfigChange() { |
var o = new api.ConfigChange(); |
buildCounterConfigChange++; |
if (buildCounterConfigChange < 3) { |
- o.advices = buildUnnamed1257(); |
+ o.advices = buildUnnamed1010(); |
o.changeType = "foo"; |
o.element = "foo"; |
o.newValue = "foo"; |
@@ -516,7 +565,7 @@ buildConfigChange() { |
checkConfigChange(api.ConfigChange o) { |
buildCounterConfigChange++; |
if (buildCounterConfigChange < 3) { |
- checkUnnamed1257(o.advices); |
+ checkUnnamed1010(o.advices); |
unittest.expect(o.changeType, unittest.equals('foo')); |
unittest.expect(o.element, unittest.equals('foo')); |
unittest.expect(o.newValue, unittest.equals('foo')); |
@@ -567,14 +616,14 @@ checkConfigRef(api.ConfigRef o) { |
buildCounterConfigRef--; |
} |
-buildUnnamed1258() { |
+buildUnnamed1011() { |
var o = new core.List<api.ConfigFile>(); |
o.add(buildConfigFile()); |
o.add(buildConfigFile()); |
return o; |
} |
-checkUnnamed1258(core.List<api.ConfigFile> o) { |
+checkUnnamed1011(core.List<api.ConfigFile> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkConfigFile(o[0]); |
checkConfigFile(o[1]); |
@@ -585,7 +634,7 @@ buildConfigSource() { |
var o = new api.ConfigSource(); |
buildCounterConfigSource++; |
if (buildCounterConfigSource < 3) { |
- o.files = buildUnnamed1258(); |
+ o.files = buildUnnamed1011(); |
o.id = "foo"; |
} |
buildCounterConfigSource--; |
@@ -595,20 +644,20 @@ buildConfigSource() { |
checkConfigSource(api.ConfigSource o) { |
buildCounterConfigSource++; |
if (buildCounterConfigSource < 3) { |
- checkUnnamed1258(o.files); |
+ checkUnnamed1011(o.files); |
unittest.expect(o.id, unittest.equals('foo')); |
} |
buildCounterConfigSource--; |
} |
-buildUnnamed1259() { |
+buildUnnamed1012() { |
var o = new core.List<api.ContextRule>(); |
o.add(buildContextRule()); |
o.add(buildContextRule()); |
return o; |
} |
-checkUnnamed1259(core.List<api.ContextRule> o) { |
+checkUnnamed1012(core.List<api.ContextRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkContextRule(o[0]); |
checkContextRule(o[1]); |
@@ -619,7 +668,7 @@ buildContext() { |
var o = new api.Context(); |
buildCounterContext++; |
if (buildCounterContext < 3) { |
- o.rules = buildUnnamed1259(); |
+ o.rules = buildUnnamed1012(); |
} |
buildCounterContext--; |
return o; |
@@ -628,32 +677,32 @@ buildContext() { |
checkContext(api.Context o) { |
buildCounterContext++; |
if (buildCounterContext < 3) { |
- checkUnnamed1259(o.rules); |
+ checkUnnamed1012(o.rules); |
} |
buildCounterContext--; |
} |
-buildUnnamed1260() { |
+buildUnnamed1013() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1260(core.List<core.String> o) { |
+checkUnnamed1013(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')); |
} |
-buildUnnamed1261() { |
+buildUnnamed1014() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1261(core.List<core.String> o) { |
+checkUnnamed1014(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')); |
@@ -664,8 +713,8 @@ buildContextRule() { |
var o = new api.ContextRule(); |
buildCounterContextRule++; |
if (buildCounterContextRule < 3) { |
- o.provided = buildUnnamed1260(); |
- o.requested = buildUnnamed1261(); |
+ o.provided = buildUnnamed1013(); |
+ o.requested = buildUnnamed1014(); |
o.selector = "foo"; |
} |
buildCounterContextRule--; |
@@ -675,8 +724,8 @@ buildContextRule() { |
checkContextRule(api.ContextRule o) { |
buildCounterContextRule++; |
if (buildCounterContextRule < 3) { |
- checkUnnamed1260(o.provided); |
- checkUnnamed1261(o.requested); |
+ checkUnnamed1013(o.provided); |
+ checkUnnamed1014(o.requested); |
unittest.expect(o.selector, unittest.equals('foo')); |
} |
buildCounterContextRule--; |
@@ -722,27 +771,27 @@ checkCounterOptions(api.CounterOptions o) { |
buildCounterCounterOptions--; |
} |
-buildUnnamed1262() { |
+buildUnnamed1015() { |
var o = new core.List<api.CustomErrorRule>(); |
o.add(buildCustomErrorRule()); |
o.add(buildCustomErrorRule()); |
return o; |
} |
-checkUnnamed1262(core.List<api.CustomErrorRule> o) { |
+checkUnnamed1015(core.List<api.CustomErrorRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCustomErrorRule(o[0]); |
checkCustomErrorRule(o[1]); |
} |
-buildUnnamed1263() { |
+buildUnnamed1016() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1263(core.List<core.String> o) { |
+checkUnnamed1016(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')); |
@@ -753,8 +802,8 @@ buildCustomError() { |
var o = new api.CustomError(); |
buildCounterCustomError++; |
if (buildCounterCustomError < 3) { |
- o.rules = buildUnnamed1262(); |
- o.types = buildUnnamed1263(); |
+ o.rules = buildUnnamed1015(); |
+ o.types = buildUnnamed1016(); |
} |
buildCounterCustomError--; |
return o; |
@@ -763,8 +812,8 @@ buildCustomError() { |
checkCustomError(api.CustomError o) { |
buildCounterCustomError++; |
if (buildCounterCustomError < 3) { |
- checkUnnamed1262(o.rules); |
- checkUnnamed1263(o.types); |
+ checkUnnamed1015(o.rules); |
+ checkUnnamed1016(o.types); |
} |
buildCounterCustomError--; |
} |
@@ -887,27 +936,27 @@ checkDisableServiceRequest(api.DisableServiceRequest o) { |
buildCounterDisableServiceRequest--; |
} |
-buildUnnamed1264() { |
+buildUnnamed1017() { |
var o = new core.List<api.Page>(); |
o.add(buildPage()); |
o.add(buildPage()); |
return o; |
} |
-checkUnnamed1264(core.List<api.Page> o) { |
+checkUnnamed1017(core.List<api.Page> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPage(o[0]); |
checkPage(o[1]); |
} |
-buildUnnamed1265() { |
+buildUnnamed1018() { |
var o = new core.List<api.DocumentationRule>(); |
o.add(buildDocumentationRule()); |
o.add(buildDocumentationRule()); |
return o; |
} |
-checkUnnamed1265(core.List<api.DocumentationRule> o) { |
+checkUnnamed1018(core.List<api.DocumentationRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDocumentationRule(o[0]); |
checkDocumentationRule(o[1]); |
@@ -920,8 +969,8 @@ buildDocumentation() { |
if (buildCounterDocumentation < 3) { |
o.documentationRootUrl = "foo"; |
o.overview = "foo"; |
- o.pages = buildUnnamed1264(); |
- o.rules = buildUnnamed1265(); |
+ o.pages = buildUnnamed1017(); |
+ o.rules = buildUnnamed1018(); |
o.summary = "foo"; |
} |
buildCounterDocumentation--; |
@@ -933,8 +982,8 @@ checkDocumentation(api.Documentation o) { |
if (buildCounterDocumentation < 3) { |
unittest.expect(o.documentationRootUrl, unittest.equals('foo')); |
unittest.expect(o.overview, unittest.equals('foo')); |
- checkUnnamed1264(o.pages); |
- checkUnnamed1265(o.rules); |
+ checkUnnamed1017(o.pages); |
+ checkUnnamed1018(o.rules); |
unittest.expect(o.summary, unittest.equals('foo')); |
} |
buildCounterDocumentation--; |
@@ -982,40 +1031,40 @@ checkEnableServiceRequest(api.EnableServiceRequest o) { |
buildCounterEnableServiceRequest--; |
} |
-buildUnnamed1266() { |
+buildUnnamed1019() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1266(core.List<core.String> o) { |
+checkUnnamed1019(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')); |
} |
-buildUnnamed1267() { |
+buildUnnamed1020() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1267(core.List<core.String> o) { |
+checkUnnamed1020(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')); |
} |
-buildUnnamed1268() { |
+buildUnnamed1021() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1268(core.List<core.String> o) { |
+checkUnnamed1021(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')); |
@@ -1026,10 +1075,10 @@ buildEndpoint() { |
var o = new api.Endpoint(); |
buildCounterEndpoint++; |
if (buildCounterEndpoint < 3) { |
- o.aliases = buildUnnamed1266(); |
+ o.aliases = buildUnnamed1019(); |
o.allowCors = true; |
- o.apis = buildUnnamed1267(); |
- o.features = buildUnnamed1268(); |
+ o.apis = buildUnnamed1020(); |
+ o.features = buildUnnamed1021(); |
o.name = "foo"; |
} |
buildCounterEndpoint--; |
@@ -1039,36 +1088,36 @@ buildEndpoint() { |
checkEndpoint(api.Endpoint o) { |
buildCounterEndpoint++; |
if (buildCounterEndpoint < 3) { |
- checkUnnamed1266(o.aliases); |
+ checkUnnamed1019(o.aliases); |
unittest.expect(o.allowCors, unittest.isTrue); |
- checkUnnamed1267(o.apis); |
- checkUnnamed1268(o.features); |
+ checkUnnamed1020(o.apis); |
+ checkUnnamed1021(o.features); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
buildCounterEndpoint--; |
} |
-buildUnnamed1269() { |
+buildUnnamed1022() { |
var o = new core.List<api.EnumValue>(); |
o.add(buildEnumValue()); |
o.add(buildEnumValue()); |
return o; |
} |
-checkUnnamed1269(core.List<api.EnumValue> o) { |
+checkUnnamed1022(core.List<api.EnumValue> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEnumValue(o[0]); |
checkEnumValue(o[1]); |
} |
-buildUnnamed1270() { |
+buildUnnamed1023() { |
var o = new core.List<api.Option>(); |
o.add(buildOption()); |
o.add(buildOption()); |
return o; |
} |
-checkUnnamed1270(core.List<api.Option> o) { |
+checkUnnamed1023(core.List<api.Option> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOption(o[0]); |
checkOption(o[1]); |
@@ -1079,9 +1128,9 @@ buildEnum() { |
var o = new api.Enum(); |
buildCounterEnum++; |
if (buildCounterEnum < 3) { |
- o.enumvalue = buildUnnamed1269(); |
+ o.enumvalue = buildUnnamed1022(); |
o.name = "foo"; |
- o.options = buildUnnamed1270(); |
+ o.options = buildUnnamed1023(); |
o.sourceContext = buildSourceContext(); |
o.syntax = "foo"; |
} |
@@ -1092,23 +1141,23 @@ buildEnum() { |
checkEnum(api.Enum o) { |
buildCounterEnum++; |
if (buildCounterEnum < 3) { |
- checkUnnamed1269(o.enumvalue); |
+ checkUnnamed1022(o.enumvalue); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1270(o.options); |
+ checkUnnamed1023(o.options); |
checkSourceContext(o.sourceContext); |
unittest.expect(o.syntax, unittest.equals('foo')); |
} |
buildCounterEnum--; |
} |
-buildUnnamed1271() { |
+buildUnnamed1024() { |
var o = new core.List<api.Option>(); |
o.add(buildOption()); |
o.add(buildOption()); |
return o; |
} |
-checkUnnamed1271(core.List<api.Option> o) { |
+checkUnnamed1024(core.List<api.Option> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOption(o[0]); |
checkOption(o[1]); |
@@ -1121,7 +1170,7 @@ buildEnumValue() { |
if (buildCounterEnumValue < 3) { |
o.name = "foo"; |
o.number = 42; |
- o.options = buildUnnamed1271(); |
+ o.options = buildUnnamed1024(); |
} |
buildCounterEnumValue--; |
return o; |
@@ -1132,19 +1181,19 @@ checkEnumValue(api.EnumValue o) { |
if (buildCounterEnumValue < 3) { |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.number, unittest.equals(42)); |
- checkUnnamed1271(o.options); |
+ checkUnnamed1024(o.options); |
} |
buildCounterEnumValue--; |
} |
-buildUnnamed1272() { |
+buildUnnamed1025() { |
var o = new core.List<api.Option>(); |
o.add(buildOption()); |
o.add(buildOption()); |
return o; |
} |
-checkUnnamed1272(core.List<api.Option> o) { |
+checkUnnamed1025(core.List<api.Option> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOption(o[0]); |
checkOption(o[1]); |
@@ -1162,7 +1211,7 @@ buildField() { |
o.name = "foo"; |
o.number = 42; |
o.oneofIndex = 42; |
- o.options = buildUnnamed1272(); |
+ o.options = buildUnnamed1025(); |
o.packed = true; |
o.typeUrl = "foo"; |
} |
@@ -1180,34 +1229,34 @@ 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)); |
- checkUnnamed1272(o.options); |
+ checkUnnamed1025(o.options); |
unittest.expect(o.packed, unittest.isTrue); |
unittest.expect(o.typeUrl, unittest.equals('foo')); |
} |
buildCounterField--; |
} |
-buildUnnamed1273() { |
+buildUnnamed1026() { |
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; |
} |
-checkUnnamed1273(core.Map<core.String, core.Object> o) { |
+checkUnnamed1026(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')); |
} |
-buildUnnamed1274() { |
+buildUnnamed1027() { |
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; |
} |
-checkUnnamed1274(core.Map<core.String, core.Object> o) { |
+checkUnnamed1027(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')); |
@@ -1218,8 +1267,8 @@ buildGenerateConfigReportRequest() { |
var o = new api.GenerateConfigReportRequest(); |
buildCounterGenerateConfigReportRequest++; |
if (buildCounterGenerateConfigReportRequest < 3) { |
- o.newConfig = buildUnnamed1273(); |
- o.oldConfig = buildUnnamed1274(); |
+ o.newConfig = buildUnnamed1026(); |
+ o.oldConfig = buildUnnamed1027(); |
} |
buildCounterGenerateConfigReportRequest--; |
return o; |
@@ -1228,33 +1277,33 @@ buildGenerateConfigReportRequest() { |
checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { |
buildCounterGenerateConfigReportRequest++; |
if (buildCounterGenerateConfigReportRequest < 3) { |
- checkUnnamed1273(o.newConfig); |
- checkUnnamed1274(o.oldConfig); |
+ checkUnnamed1026(o.newConfig); |
+ checkUnnamed1027(o.oldConfig); |
} |
buildCounterGenerateConfigReportRequest--; |
} |
-buildUnnamed1275() { |
+buildUnnamed1028() { |
var o = new core.List<api.ChangeReport>(); |
o.add(buildChangeReport()); |
o.add(buildChangeReport()); |
return o; |
} |
-checkUnnamed1275(core.List<api.ChangeReport> o) { |
+checkUnnamed1028(core.List<api.ChangeReport> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkChangeReport(o[0]); |
checkChangeReport(o[1]); |
} |
-buildUnnamed1276() { |
+buildUnnamed1029() { |
var o = new core.List<api.Diagnostic>(); |
o.add(buildDiagnostic()); |
o.add(buildDiagnostic()); |
return o; |
} |
-checkUnnamed1276(core.List<api.Diagnostic> o) { |
+checkUnnamed1029(core.List<api.Diagnostic> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDiagnostic(o[0]); |
checkDiagnostic(o[1]); |
@@ -1265,8 +1314,8 @@ buildGenerateConfigReportResponse() { |
var o = new api.GenerateConfigReportResponse(); |
buildCounterGenerateConfigReportResponse++; |
if (buildCounterGenerateConfigReportResponse < 3) { |
- o.changeReports = buildUnnamed1275(); |
- o.diagnostics = buildUnnamed1276(); |
+ o.changeReports = buildUnnamed1028(); |
+ o.diagnostics = buildUnnamed1029(); |
o.id = "foo"; |
o.serviceName = "foo"; |
} |
@@ -1277,8 +1326,8 @@ buildGenerateConfigReportResponse() { |
checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { |
buildCounterGenerateConfigReportResponse++; |
if (buildCounterGenerateConfigReportResponse < 3) { |
- checkUnnamed1275(o.changeReports); |
- checkUnnamed1276(o.diagnostics); |
+ checkUnnamed1028(o.changeReports); |
+ checkUnnamed1029(o.diagnostics); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.serviceName, unittest.equals('foo')); |
} |
@@ -1302,14 +1351,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
buildCounterGetIamPolicyRequest--; |
} |
-buildUnnamed1277() { |
+buildUnnamed1030() { |
var o = new core.List<api.HttpRule>(); |
o.add(buildHttpRule()); |
o.add(buildHttpRule()); |
return o; |
} |
-checkUnnamed1277(core.List<api.HttpRule> o) { |
+checkUnnamed1030(core.List<api.HttpRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkHttpRule(o[0]); |
checkHttpRule(o[1]); |
@@ -1320,7 +1369,7 @@ buildHttp() { |
var o = new api.Http(); |
buildCounterHttp++; |
if (buildCounterHttp < 3) { |
- o.rules = buildUnnamed1277(); |
+ o.rules = buildUnnamed1030(); |
} |
buildCounterHttp--; |
return o; |
@@ -1329,19 +1378,19 @@ buildHttp() { |
checkHttp(api.Http o) { |
buildCounterHttp++; |
if (buildCounterHttp < 3) { |
- checkUnnamed1277(o.rules); |
+ checkUnnamed1030(o.rules); |
} |
buildCounterHttp--; |
} |
-buildUnnamed1278() { |
+buildUnnamed1031() { |
var o = new core.List<api.HttpRule>(); |
o.add(buildHttpRule()); |
o.add(buildHttpRule()); |
return o; |
} |
-checkUnnamed1278(core.List<api.HttpRule> o) { |
+checkUnnamed1031(core.List<api.HttpRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkHttpRule(o[0]); |
checkHttpRule(o[1]); |
@@ -1352,7 +1401,7 @@ buildHttpRule() { |
var o = new api.HttpRule(); |
buildCounterHttpRule++; |
if (buildCounterHttpRule < 3) { |
- o.additionalBindings = buildUnnamed1278(); |
+ o.additionalBindings = buildUnnamed1031(); |
o.body = "foo"; |
o.custom = buildCustomHttpPattern(); |
o.delete = "foo"; |
@@ -1372,7 +1421,7 @@ buildHttpRule() { |
checkHttpRule(api.HttpRule o) { |
buildCounterHttpRule++; |
if (buildCounterHttpRule < 3) { |
- checkUnnamed1278(o.additionalBindings); |
+ checkUnnamed1031(o.additionalBindings); |
unittest.expect(o.body, unittest.equals('foo')); |
checkCustomHttpPattern(o.custom); |
unittest.expect(o.delete, unittest.equals('foo')); |
@@ -1411,14 +1460,14 @@ checkLabelDescriptor(api.LabelDescriptor o) { |
buildCounterLabelDescriptor--; |
} |
-buildUnnamed1279() { |
+buildUnnamed1032() { |
var o = new core.List<api.Service>(); |
o.add(buildService()); |
o.add(buildService()); |
return o; |
} |
-checkUnnamed1279(core.List<api.Service> o) { |
+checkUnnamed1032(core.List<api.Service> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkService(o[0]); |
checkService(o[1]); |
@@ -1430,7 +1479,7 @@ buildListServiceConfigsResponse() { |
buildCounterListServiceConfigsResponse++; |
if (buildCounterListServiceConfigsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.serviceConfigs = buildUnnamed1279(); |
+ o.serviceConfigs = buildUnnamed1032(); |
} |
buildCounterListServiceConfigsResponse--; |
return o; |
@@ -1440,19 +1489,19 @@ checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { |
buildCounterListServiceConfigsResponse++; |
if (buildCounterListServiceConfigsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed1279(o.serviceConfigs); |
+ checkUnnamed1032(o.serviceConfigs); |
} |
buildCounterListServiceConfigsResponse--; |
} |
-buildUnnamed1280() { |
+buildUnnamed1033() { |
var o = new core.List<api.Rollout>(); |
o.add(buildRollout()); |
o.add(buildRollout()); |
return o; |
} |
-checkUnnamed1280(core.List<api.Rollout> o) { |
+checkUnnamed1033(core.List<api.Rollout> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRollout(o[0]); |
checkRollout(o[1]); |
@@ -1464,7 +1513,7 @@ buildListServiceRolloutsResponse() { |
buildCounterListServiceRolloutsResponse++; |
if (buildCounterListServiceRolloutsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.rollouts = buildUnnamed1280(); |
+ o.rollouts = buildUnnamed1033(); |
} |
buildCounterListServiceRolloutsResponse--; |
return o; |
@@ -1474,19 +1523,19 @@ checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { |
buildCounterListServiceRolloutsResponse++; |
if (buildCounterListServiceRolloutsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed1280(o.rollouts); |
+ checkUnnamed1033(o.rollouts); |
} |
buildCounterListServiceRolloutsResponse--; |
} |
-buildUnnamed1281() { |
+buildUnnamed1034() { |
var o = new core.List<api.ManagedService>(); |
o.add(buildManagedService()); |
o.add(buildManagedService()); |
return o; |
} |
-checkUnnamed1281(core.List<api.ManagedService> o) { |
+checkUnnamed1034(core.List<api.ManagedService> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkManagedService(o[0]); |
checkManagedService(o[1]); |
@@ -1498,7 +1547,7 @@ buildListServicesResponse() { |
buildCounterListServicesResponse++; |
if (buildCounterListServicesResponse < 3) { |
o.nextPageToken = "foo"; |
- o.services = buildUnnamed1281(); |
+ o.services = buildUnnamed1034(); |
} |
buildCounterListServicesResponse--; |
return o; |
@@ -1508,7 +1557,7 @@ checkListServicesResponse(api.ListServicesResponse o) { |
buildCounterListServicesResponse++; |
if (buildCounterListServicesResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed1281(o.services); |
+ checkUnnamed1034(o.services); |
} |
buildCounterListServicesResponse--; |
} |
@@ -1536,14 +1585,14 @@ checkLogConfig(api.LogConfig o) { |
buildCounterLogConfig--; |
} |
-buildUnnamed1282() { |
+buildUnnamed1035() { |
var o = new core.List<api.LabelDescriptor>(); |
o.add(buildLabelDescriptor()); |
o.add(buildLabelDescriptor()); |
return o; |
} |
-checkUnnamed1282(core.List<api.LabelDescriptor> o) { |
+checkUnnamed1035(core.List<api.LabelDescriptor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLabelDescriptor(o[0]); |
checkLabelDescriptor(o[1]); |
@@ -1556,7 +1605,7 @@ buildLogDescriptor() { |
if (buildCounterLogDescriptor < 3) { |
o.description = "foo"; |
o.displayName = "foo"; |
- o.labels = buildUnnamed1282(); |
+ o.labels = buildUnnamed1035(); |
o.name = "foo"; |
} |
buildCounterLogDescriptor--; |
@@ -1568,33 +1617,33 @@ checkLogDescriptor(api.LogDescriptor o) { |
if (buildCounterLogDescriptor < 3) { |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.displayName, unittest.equals('foo')); |
- checkUnnamed1282(o.labels); |
+ checkUnnamed1035(o.labels); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
buildCounterLogDescriptor--; |
} |
-buildUnnamed1283() { |
+buildUnnamed1036() { |
var o = new core.List<api.LoggingDestination>(); |
o.add(buildLoggingDestination()); |
o.add(buildLoggingDestination()); |
return o; |
} |
-checkUnnamed1283(core.List<api.LoggingDestination> o) { |
+checkUnnamed1036(core.List<api.LoggingDestination> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLoggingDestination(o[0]); |
checkLoggingDestination(o[1]); |
} |
-buildUnnamed1284() { |
+buildUnnamed1037() { |
var o = new core.List<api.LoggingDestination>(); |
o.add(buildLoggingDestination()); |
o.add(buildLoggingDestination()); |
return o; |
} |
-checkUnnamed1284(core.List<api.LoggingDestination> o) { |
+checkUnnamed1037(core.List<api.LoggingDestination> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLoggingDestination(o[0]); |
checkLoggingDestination(o[1]); |
@@ -1605,8 +1654,8 @@ buildLogging() { |
var o = new api.Logging(); |
buildCounterLogging++; |
if (buildCounterLogging < 3) { |
- o.consumerDestinations = buildUnnamed1283(); |
- o.producerDestinations = buildUnnamed1284(); |
+ o.consumerDestinations = buildUnnamed1036(); |
+ o.producerDestinations = buildUnnamed1037(); |
} |
buildCounterLogging--; |
return o; |
@@ -1615,20 +1664,20 @@ buildLogging() { |
checkLogging(api.Logging o) { |
buildCounterLogging++; |
if (buildCounterLogging < 3) { |
- checkUnnamed1283(o.consumerDestinations); |
- checkUnnamed1284(o.producerDestinations); |
+ checkUnnamed1036(o.consumerDestinations); |
+ checkUnnamed1037(o.producerDestinations); |
} |
buildCounterLogging--; |
} |
-buildUnnamed1285() { |
+buildUnnamed1038() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1285(core.List<core.String> o) { |
+checkUnnamed1038(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')); |
@@ -1639,7 +1688,7 @@ buildLoggingDestination() { |
var o = new api.LoggingDestination(); |
buildCounterLoggingDestination++; |
if (buildCounterLoggingDestination < 3) { |
- o.logs = buildUnnamed1285(); |
+ o.logs = buildUnnamed1038(); |
o.monitoredResource = "foo"; |
} |
buildCounterLoggingDestination--; |
@@ -1649,7 +1698,7 @@ buildLoggingDestination() { |
checkLoggingDestination(api.LoggingDestination o) { |
buildCounterLoggingDestination++; |
if (buildCounterLoggingDestination < 3) { |
- checkUnnamed1285(o.logs); |
+ checkUnnamed1038(o.logs); |
unittest.expect(o.monitoredResource, unittest.equals('foo')); |
} |
buildCounterLoggingDestination--; |
@@ -1714,14 +1763,14 @@ checkMediaUpload(api.MediaUpload o) { |
buildCounterMediaUpload--; |
} |
-buildUnnamed1286() { |
+buildUnnamed1039() { |
var o = new core.List<api.Option>(); |
o.add(buildOption()); |
o.add(buildOption()); |
return o; |
} |
-checkUnnamed1286(core.List<api.Option> o) { |
+checkUnnamed1039(core.List<api.Option> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOption(o[0]); |
checkOption(o[1]); |
@@ -1733,7 +1782,7 @@ buildMethod() { |
buildCounterMethod++; |
if (buildCounterMethod < 3) { |
o.name = "foo"; |
- o.options = buildUnnamed1286(); |
+ o.options = buildUnnamed1039(); |
o.requestStreaming = true; |
o.requestTypeUrl = "foo"; |
o.responseStreaming = true; |
@@ -1748,7 +1797,7 @@ checkMethod(api.Method o) { |
buildCounterMethod++; |
if (buildCounterMethod < 3) { |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1286(o.options); |
+ checkUnnamed1039(o.options); |
unittest.expect(o.requestStreaming, unittest.isTrue); |
unittest.expect(o.requestTypeUrl, unittest.equals('foo')); |
unittest.expect(o.responseStreaming, unittest.isTrue); |
@@ -1758,14 +1807,14 @@ checkMethod(api.Method o) { |
buildCounterMethod--; |
} |
-buildUnnamed1287() { |
+buildUnnamed1040() { |
var o = new core.List<api.LabelDescriptor>(); |
o.add(buildLabelDescriptor()); |
o.add(buildLabelDescriptor()); |
return o; |
} |
-checkUnnamed1287(core.List<api.LabelDescriptor> o) { |
+checkUnnamed1040(core.List<api.LabelDescriptor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLabelDescriptor(o[0]); |
checkLabelDescriptor(o[1]); |
@@ -1778,7 +1827,7 @@ buildMetricDescriptor() { |
if (buildCounterMetricDescriptor < 3) { |
o.description = "foo"; |
o.displayName = "foo"; |
- o.labels = buildUnnamed1287(); |
+ o.labels = buildUnnamed1040(); |
o.metricKind = "foo"; |
o.name = "foo"; |
o.type = "foo"; |
@@ -1794,7 +1843,7 @@ checkMetricDescriptor(api.MetricDescriptor o) { |
if (buildCounterMetricDescriptor < 3) { |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.displayName, unittest.equals('foo')); |
- checkUnnamed1287(o.labels); |
+ checkUnnamed1040(o.labels); |
unittest.expect(o.metricKind, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.type, unittest.equals('foo')); |
@@ -1825,14 +1874,14 @@ checkMixin(api.Mixin o) { |
buildCounterMixin--; |
} |
-buildUnnamed1288() { |
+buildUnnamed1041() { |
var o = new core.List<api.LabelDescriptor>(); |
o.add(buildLabelDescriptor()); |
o.add(buildLabelDescriptor()); |
return o; |
} |
-checkUnnamed1288(core.List<api.LabelDescriptor> o) { |
+checkUnnamed1041(core.List<api.LabelDescriptor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLabelDescriptor(o[0]); |
checkLabelDescriptor(o[1]); |
@@ -1845,7 +1894,7 @@ buildMonitoredResourceDescriptor() { |
if (buildCounterMonitoredResourceDescriptor < 3) { |
o.description = "foo"; |
o.displayName = "foo"; |
- o.labels = buildUnnamed1288(); |
+ o.labels = buildUnnamed1041(); |
o.name = "foo"; |
o.type = "foo"; |
} |
@@ -1858,34 +1907,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { |
if (buildCounterMonitoredResourceDescriptor < 3) { |
unittest.expect(o.description, unittest.equals('foo')); |
unittest.expect(o.displayName, unittest.equals('foo')); |
- checkUnnamed1288(o.labels); |
+ checkUnnamed1041(o.labels); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.type, unittest.equals('foo')); |
} |
buildCounterMonitoredResourceDescriptor--; |
} |
-buildUnnamed1289() { |
+buildUnnamed1042() { |
var o = new core.List<api.MonitoringDestination>(); |
o.add(buildMonitoringDestination()); |
o.add(buildMonitoringDestination()); |
return o; |
} |
-checkUnnamed1289(core.List<api.MonitoringDestination> o) { |
+checkUnnamed1042(core.List<api.MonitoringDestination> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMonitoringDestination(o[0]); |
checkMonitoringDestination(o[1]); |
} |
-buildUnnamed1290() { |
+buildUnnamed1043() { |
var o = new core.List<api.MonitoringDestination>(); |
o.add(buildMonitoringDestination()); |
o.add(buildMonitoringDestination()); |
return o; |
} |
-checkUnnamed1290(core.List<api.MonitoringDestination> o) { |
+checkUnnamed1043(core.List<api.MonitoringDestination> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMonitoringDestination(o[0]); |
checkMonitoringDestination(o[1]); |
@@ -1896,8 +1945,8 @@ buildMonitoring() { |
var o = new api.Monitoring(); |
buildCounterMonitoring++; |
if (buildCounterMonitoring < 3) { |
- o.consumerDestinations = buildUnnamed1289(); |
- o.producerDestinations = buildUnnamed1290(); |
+ o.consumerDestinations = buildUnnamed1042(); |
+ o.producerDestinations = buildUnnamed1043(); |
} |
buildCounterMonitoring--; |
return o; |
@@ -1906,20 +1955,20 @@ buildMonitoring() { |
checkMonitoring(api.Monitoring o) { |
buildCounterMonitoring++; |
if (buildCounterMonitoring < 3) { |
- checkUnnamed1289(o.consumerDestinations); |
- checkUnnamed1290(o.producerDestinations); |
+ checkUnnamed1042(o.consumerDestinations); |
+ checkUnnamed1043(o.producerDestinations); |
} |
buildCounterMonitoring--; |
} |
-buildUnnamed1291() { |
+buildUnnamed1044() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1291(core.List<core.String> o) { |
+checkUnnamed1044(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')); |
@@ -1930,7 +1979,7 @@ buildMonitoringDestination() { |
var o = new api.MonitoringDestination(); |
buildCounterMonitoringDestination++; |
if (buildCounterMonitoringDestination < 3) { |
- o.metrics = buildUnnamed1291(); |
+ o.metrics = buildUnnamed1044(); |
o.monitoredResource = "foo"; |
} |
buildCounterMonitoringDestination--; |
@@ -1940,7 +1989,7 @@ buildMonitoringDestination() { |
checkMonitoringDestination(api.MonitoringDestination o) { |
buildCounterMonitoringDestination++; |
if (buildCounterMonitoringDestination < 3) { |
- checkUnnamed1291(o.metrics); |
+ checkUnnamed1044(o.metrics); |
unittest.expect(o.monitoredResource, unittest.equals('foo')); |
} |
buildCounterMonitoringDestination--; |
@@ -1965,27 +2014,27 @@ checkOAuthRequirements(api.OAuthRequirements o) { |
buildCounterOAuthRequirements--; |
} |
-buildUnnamed1292() { |
+buildUnnamed1045() { |
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; |
} |
-checkUnnamed1292(core.Map<core.String, core.Object> o) { |
+checkUnnamed1045(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')); |
} |
-buildUnnamed1293() { |
+buildUnnamed1046() { |
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; |
} |
-checkUnnamed1293(core.Map<core.String, core.Object> o) { |
+checkUnnamed1046(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')); |
@@ -1998,9 +2047,9 @@ buildOperation() { |
if (buildCounterOperation < 3) { |
o.done = true; |
o.error = buildStatus(); |
- o.metadata = buildUnnamed1292(); |
+ o.metadata = buildUnnamed1045(); |
o.name = "foo"; |
- o.response = buildUnnamed1293(); |
+ o.response = buildUnnamed1046(); |
} |
buildCounterOperation--; |
return o; |
@@ -2011,34 +2060,34 @@ checkOperation(api.Operation o) { |
if (buildCounterOperation < 3) { |
unittest.expect(o.done, unittest.isTrue); |
checkStatus(o.error); |
- checkUnnamed1292(o.metadata); |
+ checkUnnamed1045(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1293(o.response); |
+ checkUnnamed1046(o.response); |
} |
buildCounterOperation--; |
} |
-buildUnnamed1294() { |
+buildUnnamed1047() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1294(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')); |
} |
-buildUnnamed1295() { |
+buildUnnamed1048() { |
var o = new core.List<api.Step>(); |
o.add(buildStep()); |
o.add(buildStep()); |
return o; |
} |
-checkUnnamed1295(core.List<api.Step> o) { |
+checkUnnamed1048(core.List<api.Step> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkStep(o[0]); |
checkStep(o[1]); |
@@ -2050,9 +2099,9 @@ buildOperationMetadata() { |
buildCounterOperationMetadata++; |
if (buildCounterOperationMetadata < 3) { |
o.progressPercentage = 42; |
- o.resourceNames = buildUnnamed1294(); |
+ o.resourceNames = buildUnnamed1047(); |
o.startTime = "foo"; |
- o.steps = buildUnnamed1295(); |
+ o.steps = buildUnnamed1048(); |
} |
buildCounterOperationMetadata--; |
return o; |
@@ -2062,21 +2111,21 @@ checkOperationMetadata(api.OperationMetadata o) { |
buildCounterOperationMetadata++; |
if (buildCounterOperationMetadata < 3) { |
unittest.expect(o.progressPercentage, unittest.equals(42)); |
- checkUnnamed1294(o.resourceNames); |
+ checkUnnamed1047(o.resourceNames); |
unittest.expect(o.startTime, unittest.equals('foo')); |
- checkUnnamed1295(o.steps); |
+ checkUnnamed1048(o.steps); |
} |
buildCounterOperationMetadata--; |
} |
-buildUnnamed1296() { |
+buildUnnamed1049() { |
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; |
} |
-checkUnnamed1296(core.Map<core.String, core.Object> o) { |
+checkUnnamed1049(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')); |
@@ -2088,7 +2137,7 @@ buildOption() { |
buildCounterOption++; |
if (buildCounterOption < 3) { |
o.name = "foo"; |
- o.value = buildUnnamed1296(); |
+ o.value = buildUnnamed1049(); |
} |
buildCounterOption--; |
return o; |
@@ -2098,19 +2147,19 @@ checkOption(api.Option o) { |
buildCounterOption++; |
if (buildCounterOption < 3) { |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1296(o.value); |
+ checkUnnamed1049(o.value); |
} |
buildCounterOption--; |
} |
-buildUnnamed1297() { |
+buildUnnamed1050() { |
var o = new core.List<api.Page>(); |
o.add(buildPage()); |
o.add(buildPage()); |
return o; |
} |
-checkUnnamed1297(core.List<api.Page> o) { |
+checkUnnamed1050(core.List<api.Page> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPage(o[0]); |
checkPage(o[1]); |
@@ -2123,7 +2172,7 @@ buildPage() { |
if (buildCounterPage < 3) { |
o.content = "foo"; |
o.name = "foo"; |
- o.subpages = buildUnnamed1297(); |
+ o.subpages = buildUnnamed1050(); |
} |
buildCounterPage--; |
return o; |
@@ -2134,45 +2183,45 @@ checkPage(api.Page o) { |
if (buildCounterPage < 3) { |
unittest.expect(o.content, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1297(o.subpages); |
+ checkUnnamed1050(o.subpages); |
} |
buildCounterPage--; |
} |
-buildUnnamed1298() { |
+buildUnnamed1051() { |
var o = new core.List<api.AuditConfig>(); |
o.add(buildAuditConfig()); |
o.add(buildAuditConfig()); |
return o; |
} |
-checkUnnamed1298(core.List<api.AuditConfig> o) { |
+checkUnnamed1051(core.List<api.AuditConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkAuditConfig(o[0]); |
checkAuditConfig(o[1]); |
} |
-buildUnnamed1299() { |
+buildUnnamed1052() { |
var o = new core.List<api.Binding>(); |
o.add(buildBinding()); |
o.add(buildBinding()); |
return o; |
} |
-checkUnnamed1299(core.List<api.Binding> o) { |
+checkUnnamed1052(core.List<api.Binding> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkBinding(o[0]); |
checkBinding(o[1]); |
} |
-buildUnnamed1300() { |
+buildUnnamed1053() { |
var o = new core.List<api.Rule>(); |
o.add(buildRule()); |
o.add(buildRule()); |
return o; |
} |
-checkUnnamed1300(core.List<api.Rule> o) { |
+checkUnnamed1053(core.List<api.Rule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRule(o[0]); |
checkRule(o[1]); |
@@ -2183,11 +2232,11 @@ buildPolicy() { |
var o = new api.Policy(); |
buildCounterPolicy++; |
if (buildCounterPolicy < 3) { |
- o.auditConfigs = buildUnnamed1298(); |
- o.bindings = buildUnnamed1299(); |
+ o.auditConfigs = buildUnnamed1051(); |
+ o.bindings = buildUnnamed1052(); |
o.etag = "foo"; |
o.iamOwned = true; |
- o.rules = buildUnnamed1300(); |
+ o.rules = buildUnnamed1053(); |
o.version = 42; |
} |
buildCounterPolicy--; |
@@ -2197,11 +2246,11 @@ buildPolicy() { |
checkPolicy(api.Policy o) { |
buildCounterPolicy++; |
if (buildCounterPolicy < 3) { |
- checkUnnamed1298(o.auditConfigs); |
- checkUnnamed1299(o.bindings); |
+ checkUnnamed1051(o.auditConfigs); |
+ checkUnnamed1052(o.bindings); |
unittest.expect(o.etag, unittest.equals('foo')); |
unittest.expect(o.iamOwned, unittest.isTrue); |
- checkUnnamed1300(o.rules); |
+ checkUnnamed1053(o.rules); |
unittest.expect(o.version, unittest.equals(42)); |
} |
buildCounterPolicy--; |
@@ -2238,66 +2287,66 @@ checkRollout(api.Rollout o) { |
buildCounterRollout--; |
} |
-buildUnnamed1301() { |
+buildUnnamed1054() { |
var o = new core.List<api.Condition>(); |
o.add(buildCondition()); |
o.add(buildCondition()); |
return o; |
} |
-checkUnnamed1301(core.List<api.Condition> o) { |
+checkUnnamed1054(core.List<api.Condition> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkCondition(o[0]); |
checkCondition(o[1]); |
} |
-buildUnnamed1302() { |
+buildUnnamed1055() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1302(core.List<core.String> o) { |
+checkUnnamed1055(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')); |
} |
-buildUnnamed1303() { |
+buildUnnamed1056() { |
var o = new core.List<api.LogConfig>(); |
o.add(buildLogConfig()); |
o.add(buildLogConfig()); |
return o; |
} |
-checkUnnamed1303(core.List<api.LogConfig> o) { |
+checkUnnamed1056(core.List<api.LogConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLogConfig(o[0]); |
checkLogConfig(o[1]); |
} |
-buildUnnamed1304() { |
+buildUnnamed1057() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1304(core.List<core.String> o) { |
+checkUnnamed1057(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')); |
} |
-buildUnnamed1305() { |
+buildUnnamed1058() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1305(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')); |
@@ -2309,12 +2358,12 @@ buildRule() { |
buildCounterRule++; |
if (buildCounterRule < 3) { |
o.action = "foo"; |
- o.conditions = buildUnnamed1301(); |
+ o.conditions = buildUnnamed1054(); |
o.description = "foo"; |
- o.in_ = buildUnnamed1302(); |
- o.logConfig = buildUnnamed1303(); |
- o.notIn = buildUnnamed1304(); |
- o.permissions = buildUnnamed1305(); |
+ o.in_ = buildUnnamed1055(); |
+ o.logConfig = buildUnnamed1056(); |
+ o.notIn = buildUnnamed1057(); |
+ o.permissions = buildUnnamed1058(); |
} |
buildCounterRule--; |
return o; |
@@ -2324,115 +2373,115 @@ checkRule(api.Rule o) { |
buildCounterRule++; |
if (buildCounterRule < 3) { |
unittest.expect(o.action, unittest.equals('foo')); |
- checkUnnamed1301(o.conditions); |
+ checkUnnamed1054(o.conditions); |
unittest.expect(o.description, unittest.equals('foo')); |
- checkUnnamed1302(o.in_); |
- checkUnnamed1303(o.logConfig); |
- checkUnnamed1304(o.notIn); |
- checkUnnamed1305(o.permissions); |
+ checkUnnamed1055(o.in_); |
+ checkUnnamed1056(o.logConfig); |
+ checkUnnamed1057(o.notIn); |
+ checkUnnamed1058(o.permissions); |
} |
buildCounterRule--; |
} |
-buildUnnamed1306() { |
+buildUnnamed1059() { |
var o = new core.List<api.Api>(); |
o.add(buildApi()); |
o.add(buildApi()); |
return o; |
} |
-checkUnnamed1306(core.List<api.Api> o) { |
+checkUnnamed1059(core.List<api.Api> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkApi(o[0]); |
checkApi(o[1]); |
} |
-buildUnnamed1307() { |
+buildUnnamed1060() { |
var o = new core.List<api.Endpoint>(); |
o.add(buildEndpoint()); |
o.add(buildEndpoint()); |
return o; |
} |
-checkUnnamed1307(core.List<api.Endpoint> o) { |
+checkUnnamed1060(core.List<api.Endpoint> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEndpoint(o[0]); |
checkEndpoint(o[1]); |
} |
-buildUnnamed1308() { |
+buildUnnamed1061() { |
var o = new core.List<api.Enum>(); |
o.add(buildEnum()); |
o.add(buildEnum()); |
return o; |
} |
-checkUnnamed1308(core.List<api.Enum> o) { |
+checkUnnamed1061(core.List<api.Enum> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEnum(o[0]); |
checkEnum(o[1]); |
} |
-buildUnnamed1309() { |
+buildUnnamed1062() { |
var o = new core.List<api.LogDescriptor>(); |
o.add(buildLogDescriptor()); |
o.add(buildLogDescriptor()); |
return o; |
} |
-checkUnnamed1309(core.List<api.LogDescriptor> o) { |
+checkUnnamed1062(core.List<api.LogDescriptor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkLogDescriptor(o[0]); |
checkLogDescriptor(o[1]); |
} |
-buildUnnamed1310() { |
+buildUnnamed1063() { |
var o = new core.List<api.MetricDescriptor>(); |
o.add(buildMetricDescriptor()); |
o.add(buildMetricDescriptor()); |
return o; |
} |
-checkUnnamed1310(core.List<api.MetricDescriptor> o) { |
+checkUnnamed1063(core.List<api.MetricDescriptor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMetricDescriptor(o[0]); |
checkMetricDescriptor(o[1]); |
} |
-buildUnnamed1311() { |
+buildUnnamed1064() { |
var o = new core.List<api.MonitoredResourceDescriptor>(); |
o.add(buildMonitoredResourceDescriptor()); |
o.add(buildMonitoredResourceDescriptor()); |
return o; |
} |
-checkUnnamed1311(core.List<api.MonitoredResourceDescriptor> o) { |
+checkUnnamed1064(core.List<api.MonitoredResourceDescriptor> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMonitoredResourceDescriptor(o[0]); |
checkMonitoredResourceDescriptor(o[1]); |
} |
-buildUnnamed1312() { |
+buildUnnamed1065() { |
var o = new core.List<api.Type>(); |
o.add(buildType()); |
o.add(buildType()); |
return o; |
} |
-checkUnnamed1312(core.List<api.Type> o) { |
+checkUnnamed1065(core.List<api.Type> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkType(o[0]); |
checkType(o[1]); |
} |
-buildUnnamed1313() { |
+buildUnnamed1066() { |
var o = new core.List<api.Type>(); |
o.add(buildType()); |
o.add(buildType()); |
return o; |
} |
-checkUnnamed1313(core.List<api.Type> o) { |
+checkUnnamed1066(core.List<api.Type> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkType(o[0]); |
checkType(o[1]); |
@@ -2443,7 +2492,7 @@ buildService() { |
var o = new api.Service(); |
buildCounterService++; |
if (buildCounterService < 3) { |
- o.apis = buildUnnamed1306(); |
+ o.apis = buildUnnamed1059(); |
o.authentication = buildAuthentication(); |
o.backend = buildBackend(); |
o.configVersion = 42; |
@@ -2451,21 +2500,21 @@ buildService() { |
o.control = buildControl(); |
o.customError = buildCustomError(); |
o.documentation = buildDocumentation(); |
- o.endpoints = buildUnnamed1307(); |
- o.enums = buildUnnamed1308(); |
+ o.endpoints = buildUnnamed1060(); |
+ o.enums = buildUnnamed1061(); |
o.http = buildHttp(); |
o.id = "foo"; |
o.logging = buildLogging(); |
- o.logs = buildUnnamed1309(); |
- o.metrics = buildUnnamed1310(); |
- o.monitoredResources = buildUnnamed1311(); |
+ o.logs = buildUnnamed1062(); |
+ o.metrics = buildUnnamed1063(); |
+ o.monitoredResources = buildUnnamed1064(); |
o.monitoring = buildMonitoring(); |
o.name = "foo"; |
o.producerProjectId = "foo"; |
o.systemParameters = buildSystemParameters(); |
- o.systemTypes = buildUnnamed1312(); |
+ o.systemTypes = buildUnnamed1065(); |
o.title = "foo"; |
- o.types = buildUnnamed1313(); |
+ o.types = buildUnnamed1066(); |
o.usage = buildUsage(); |
o.visibility = buildVisibility(); |
} |
@@ -2476,7 +2525,7 @@ buildService() { |
checkService(api.Service o) { |
buildCounterService++; |
if (buildCounterService < 3) { |
- checkUnnamed1306(o.apis); |
+ checkUnnamed1059(o.apis); |
checkAuthentication(o.authentication); |
checkBackend(o.backend); |
unittest.expect(o.configVersion, unittest.equals(42)); |
@@ -2484,21 +2533,21 @@ checkService(api.Service o) { |
checkControl(o.control); |
checkCustomError(o.customError); |
checkDocumentation(o.documentation); |
- checkUnnamed1307(o.endpoints); |
- checkUnnamed1308(o.enums); |
+ checkUnnamed1060(o.endpoints); |
+ checkUnnamed1061(o.enums); |
checkHttp(o.http); |
unittest.expect(o.id, unittest.equals('foo')); |
checkLogging(o.logging); |
- checkUnnamed1309(o.logs); |
- checkUnnamed1310(o.metrics); |
- checkUnnamed1311(o.monitoredResources); |
+ checkUnnamed1062(o.logs); |
+ checkUnnamed1063(o.metrics); |
+ checkUnnamed1064(o.monitoredResources); |
checkMonitoring(o.monitoring); |
unittest.expect(o.name, unittest.equals('foo')); |
unittest.expect(o.producerProjectId, unittest.equals('foo')); |
checkSystemParameters(o.systemParameters); |
- checkUnnamed1312(o.systemTypes); |
+ checkUnnamed1065(o.systemTypes); |
unittest.expect(o.title, unittest.equals('foo')); |
- checkUnnamed1313(o.types); |
+ checkUnnamed1066(o.types); |
checkUsage(o.usage); |
checkVisibility(o.visibility); |
} |
@@ -2543,30 +2592,30 @@ checkSourceContext(api.SourceContext o) { |
buildCounterSourceContext--; |
} |
-buildUnnamed1314() { |
+buildUnnamed1067() { |
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; |
} |
-checkUnnamed1314(core.Map<core.String, core.Object> o) { |
+checkUnnamed1067(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')); |
} |
-buildUnnamed1315() { |
+buildUnnamed1068() { |
var o = new core.List<core.Map<core.String, core.Object>>(); |
- o.add(buildUnnamed1314()); |
- o.add(buildUnnamed1314()); |
+ o.add(buildUnnamed1067()); |
+ o.add(buildUnnamed1067()); |
return o; |
} |
-checkUnnamed1315(core.List<core.Map<core.String, core.Object>> o) { |
+checkUnnamed1068(core.List<core.Map<core.String, core.Object>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed1314(o[0]); |
- checkUnnamed1314(o[1]); |
+ checkUnnamed1067(o[0]); |
+ checkUnnamed1067(o[1]); |
} |
core.int buildCounterStatus = 0; |
@@ -2575,7 +2624,7 @@ buildStatus() { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
o.code = 42; |
- o.details = buildUnnamed1315(); |
+ o.details = buildUnnamed1068(); |
o.message = "foo"; |
} |
buildCounterStatus--; |
@@ -2586,7 +2635,7 @@ checkStatus(api.Status o) { |
buildCounterStatus++; |
if (buildCounterStatus < 3) { |
unittest.expect(o.code, unittest.equals(42)); |
- checkUnnamed1315(o.details); |
+ checkUnnamed1068(o.details); |
unittest.expect(o.message, unittest.equals('foo')); |
} |
buildCounterStatus--; |
@@ -2676,14 +2725,14 @@ checkSystemParameter(api.SystemParameter o) { |
buildCounterSystemParameter--; |
} |
-buildUnnamed1316() { |
+buildUnnamed1069() { |
var o = new core.List<api.SystemParameter>(); |
o.add(buildSystemParameter()); |
o.add(buildSystemParameter()); |
return o; |
} |
-checkUnnamed1316(core.List<api.SystemParameter> o) { |
+checkUnnamed1069(core.List<api.SystemParameter> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSystemParameter(o[0]); |
checkSystemParameter(o[1]); |
@@ -2694,7 +2743,7 @@ buildSystemParameterRule() { |
var o = new api.SystemParameterRule(); |
buildCounterSystemParameterRule++; |
if (buildCounterSystemParameterRule < 3) { |
- o.parameters = buildUnnamed1316(); |
+ o.parameters = buildUnnamed1069(); |
o.selector = "foo"; |
} |
buildCounterSystemParameterRule--; |
@@ -2704,20 +2753,20 @@ buildSystemParameterRule() { |
checkSystemParameterRule(api.SystemParameterRule o) { |
buildCounterSystemParameterRule++; |
if (buildCounterSystemParameterRule < 3) { |
- checkUnnamed1316(o.parameters); |
+ checkUnnamed1069(o.parameters); |
unittest.expect(o.selector, unittest.equals('foo')); |
} |
buildCounterSystemParameterRule--; |
} |
-buildUnnamed1317() { |
+buildUnnamed1070() { |
var o = new core.List<api.SystemParameterRule>(); |
o.add(buildSystemParameterRule()); |
o.add(buildSystemParameterRule()); |
return o; |
} |
-checkUnnamed1317(core.List<api.SystemParameterRule> o) { |
+checkUnnamed1070(core.List<api.SystemParameterRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSystemParameterRule(o[0]); |
checkSystemParameterRule(o[1]); |
@@ -2728,7 +2777,7 @@ buildSystemParameters() { |
var o = new api.SystemParameters(); |
buildCounterSystemParameters++; |
if (buildCounterSystemParameters < 3) { |
- o.rules = buildUnnamed1317(); |
+ o.rules = buildUnnamed1070(); |
} |
buildCounterSystemParameters--; |
return o; |
@@ -2737,19 +2786,19 @@ buildSystemParameters() { |
checkSystemParameters(api.SystemParameters o) { |
buildCounterSystemParameters++; |
if (buildCounterSystemParameters < 3) { |
- checkUnnamed1317(o.rules); |
+ checkUnnamed1070(o.rules); |
} |
buildCounterSystemParameters--; |
} |
-buildUnnamed1318() { |
+buildUnnamed1071() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1318(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')); |
@@ -2760,7 +2809,7 @@ buildTestIamPermissionsRequest() { |
var o = new api.TestIamPermissionsRequest(); |
buildCounterTestIamPermissionsRequest++; |
if (buildCounterTestIamPermissionsRequest < 3) { |
- o.permissions = buildUnnamed1318(); |
+ o.permissions = buildUnnamed1071(); |
} |
buildCounterTestIamPermissionsRequest--; |
return o; |
@@ -2769,19 +2818,19 @@ buildTestIamPermissionsRequest() { |
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
buildCounterTestIamPermissionsRequest++; |
if (buildCounterTestIamPermissionsRequest < 3) { |
- checkUnnamed1318(o.permissions); |
+ checkUnnamed1071(o.permissions); |
} |
buildCounterTestIamPermissionsRequest--; |
} |
-buildUnnamed1319() { |
+buildUnnamed1072() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1319(core.List<core.String> o) { |
+checkUnnamed1072(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')); |
@@ -2792,7 +2841,7 @@ buildTestIamPermissionsResponse() { |
var o = new api.TestIamPermissionsResponse(); |
buildCounterTestIamPermissionsResponse++; |
if (buildCounterTestIamPermissionsResponse < 3) { |
- o.permissions = buildUnnamed1319(); |
+ o.permissions = buildUnnamed1072(); |
} |
buildCounterTestIamPermissionsResponse--; |
return o; |
@@ -2801,19 +2850,19 @@ buildTestIamPermissionsResponse() { |
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
buildCounterTestIamPermissionsResponse++; |
if (buildCounterTestIamPermissionsResponse < 3) { |
- checkUnnamed1319(o.permissions); |
+ checkUnnamed1072(o.permissions); |
} |
buildCounterTestIamPermissionsResponse--; |
} |
-buildUnnamed1320() { |
+buildUnnamed1073() { |
var o = new core.Map<core.String, core.double>(); |
o["x"] = 42.0; |
o["y"] = 42.0; |
return o; |
} |
-checkUnnamed1320(core.Map<core.String, core.double> o) { |
+checkUnnamed1073(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)); |
@@ -2824,7 +2873,7 @@ buildTrafficPercentStrategy() { |
var o = new api.TrafficPercentStrategy(); |
buildCounterTrafficPercentStrategy++; |
if (buildCounterTrafficPercentStrategy < 3) { |
- o.percentages = buildUnnamed1320(); |
+ o.percentages = buildUnnamed1073(); |
} |
buildCounterTrafficPercentStrategy--; |
return o; |
@@ -2833,45 +2882,45 @@ buildTrafficPercentStrategy() { |
checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { |
buildCounterTrafficPercentStrategy++; |
if (buildCounterTrafficPercentStrategy < 3) { |
- checkUnnamed1320(o.percentages); |
+ checkUnnamed1073(o.percentages); |
} |
buildCounterTrafficPercentStrategy--; |
} |
-buildUnnamed1321() { |
+buildUnnamed1074() { |
var o = new core.List<api.Field>(); |
o.add(buildField()); |
o.add(buildField()); |
return o; |
} |
-checkUnnamed1321(core.List<api.Field> o) { |
+checkUnnamed1074(core.List<api.Field> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkField(o[0]); |
checkField(o[1]); |
} |
-buildUnnamed1322() { |
+buildUnnamed1075() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1322(core.List<core.String> o) { |
+checkUnnamed1075(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')); |
} |
-buildUnnamed1323() { |
+buildUnnamed1076() { |
var o = new core.List<api.Option>(); |
o.add(buildOption()); |
o.add(buildOption()); |
return o; |
} |
-checkUnnamed1323(core.List<api.Option> o) { |
+checkUnnamed1076(core.List<api.Option> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkOption(o[0]); |
checkOption(o[1]); |
@@ -2882,10 +2931,10 @@ buildType() { |
var o = new api.Type(); |
buildCounterType++; |
if (buildCounterType < 3) { |
- o.fields = buildUnnamed1321(); |
+ o.fields = buildUnnamed1074(); |
o.name = "foo"; |
- o.oneofs = buildUnnamed1322(); |
- o.options = buildUnnamed1323(); |
+ o.oneofs = buildUnnamed1075(); |
+ o.options = buildUnnamed1076(); |
o.sourceContext = buildSourceContext(); |
o.syntax = "foo"; |
} |
@@ -2896,10 +2945,10 @@ buildType() { |
checkType(api.Type o) { |
buildCounterType++; |
if (buildCounterType < 3) { |
- checkUnnamed1321(o.fields); |
+ checkUnnamed1074(o.fields); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed1322(o.oneofs); |
- checkUnnamed1323(o.options); |
+ checkUnnamed1075(o.oneofs); |
+ checkUnnamed1076(o.options); |
checkSourceContext(o.sourceContext); |
unittest.expect(o.syntax, unittest.equals('foo')); |
} |
@@ -2925,27 +2974,27 @@ checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { |
buildCounterUndeleteServiceResponse--; |
} |
-buildUnnamed1324() { |
+buildUnnamed1077() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed1324(core.List<core.String> o) { |
+checkUnnamed1077(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')); |
} |
-buildUnnamed1325() { |
+buildUnnamed1078() { |
var o = new core.List<api.UsageRule>(); |
o.add(buildUsageRule()); |
o.add(buildUsageRule()); |
return o; |
} |
-checkUnnamed1325(core.List<api.UsageRule> o) { |
+checkUnnamed1078(core.List<api.UsageRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkUsageRule(o[0]); |
checkUsageRule(o[1]); |
@@ -2956,8 +3005,9 @@ buildUsage() { |
var o = new api.Usage(); |
buildCounterUsage++; |
if (buildCounterUsage < 3) { |
- o.requirements = buildUnnamed1324(); |
- o.rules = buildUnnamed1325(); |
+ o.producerNotificationChannel = "foo"; |
+ o.requirements = buildUnnamed1077(); |
+ o.rules = buildUnnamed1078(); |
} |
buildCounterUsage--; |
return o; |
@@ -2966,8 +3016,9 @@ buildUsage() { |
checkUsage(api.Usage o) { |
buildCounterUsage++; |
if (buildCounterUsage < 3) { |
- checkUnnamed1324(o.requirements); |
- checkUnnamed1325(o.rules); |
+ unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); |
+ checkUnnamed1077(o.requirements); |
+ checkUnnamed1078(o.rules); |
} |
buildCounterUsage--; |
} |
@@ -2993,14 +3044,14 @@ checkUsageRule(api.UsageRule o) { |
buildCounterUsageRule--; |
} |
-buildUnnamed1326() { |
+buildUnnamed1079() { |
var o = new core.List<api.VisibilityRule>(); |
o.add(buildVisibilityRule()); |
o.add(buildVisibilityRule()); |
return o; |
} |
-checkUnnamed1326(core.List<api.VisibilityRule> o) { |
+checkUnnamed1079(core.List<api.VisibilityRule> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVisibilityRule(o[0]); |
checkVisibilityRule(o[1]); |
@@ -3011,7 +3062,7 @@ buildVisibility() { |
var o = new api.Visibility(); |
buildCounterVisibility++; |
if (buildCounterVisibility < 3) { |
- o.rules = buildUnnamed1326(); |
+ o.rules = buildUnnamed1079(); |
} |
buildCounterVisibility--; |
return o; |
@@ -3020,7 +3071,7 @@ buildVisibility() { |
checkVisibility(api.Visibility o) { |
buildCounterVisibility++; |
if (buildCounterVisibility < 3) { |
- checkUnnamed1326(o.rules); |
+ checkUnnamed1079(o.rules); |
} |
buildCounterVisibility--; |
} |
@@ -3075,6 +3126,15 @@ main() { |
}); |
+ unittest.group("obj-schema-AuditLogConfig", () { |
+ unittest.test("to-json--from-json", () { |
+ var o = buildAuditLogConfig(); |
+ var od = new api.AuditLogConfig.fromJson(o.toJson()); |
+ checkAuditLogConfig(od); |
+ }); |
+ }); |
+ |
+ |
unittest.group("obj-schema-AuthProvider", () { |
unittest.test("to-json--from-json", () { |
var o = buildAuthProvider(); |
@@ -4261,6 +4321,7 @@ main() { |
var arg_pageSize = 42; |
var arg_producerProjectId = "foo"; |
var arg_pageToken = "foo"; |
+ var arg_consumerId = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -4290,6 +4351,7 @@ main() { |
unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize)); |
unittest.expect(queryMap["producerProjectId"].first, unittest.equals(arg_producerProjectId)); |
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken)); |
+ unittest.expect(queryMap["consumerId"].first, unittest.equals(arg_consumerId)); |
var h = { |
@@ -4298,7 +4360,7 @@ main() { |
var resp = convert.JSON.encode(buildListServicesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(pageSize: arg_pageSize, producerProjectId: arg_producerProjectId, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListServicesResponse response) { |
+ res.list(pageSize: arg_pageSize, producerProjectId: arg_producerProjectId, pageToken: arg_pageToken, consumerId: arg_consumerId).then(unittest.expectAsync(((api.ListServicesResponse response) { |
checkListServicesResponse(response); |
}))); |
}); |