| OLD | NEW |
| 1 library googleapis.servicemanagement.v1.test; | 1 library googleapis.servicemanagement.v1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 } | 63 } |
| 64 | 64 |
| 65 checkAdvice(api.Advice o) { | 65 checkAdvice(api.Advice o) { |
| 66 buildCounterAdvice++; | 66 buildCounterAdvice++; |
| 67 if (buildCounterAdvice < 3) { | 67 if (buildCounterAdvice < 3) { |
| 68 unittest.expect(o.description, unittest.equals('foo')); | 68 unittest.expect(o.description, unittest.equals('foo')); |
| 69 } | 69 } |
| 70 buildCounterAdvice--; | 70 buildCounterAdvice--; |
| 71 } | 71 } |
| 72 | 72 |
| 73 buildUnnamed1149() { | 73 buildUnnamed1124() { |
| 74 var o = new core.List<api.Method>(); | 74 var o = new core.List<api.Method>(); |
| 75 o.add(buildMethod()); | 75 o.add(buildMethod()); |
| 76 o.add(buildMethod()); | 76 o.add(buildMethod()); |
| 77 return o; | 77 return o; |
| 78 } | 78 } |
| 79 | 79 |
| 80 checkUnnamed1149(core.List<api.Method> o) { | 80 checkUnnamed1124(core.List<api.Method> o) { |
| 81 unittest.expect(o, unittest.hasLength(2)); | 81 unittest.expect(o, unittest.hasLength(2)); |
| 82 checkMethod(o[0]); | 82 checkMethod(o[0]); |
| 83 checkMethod(o[1]); | 83 checkMethod(o[1]); |
| 84 } | 84 } |
| 85 | 85 |
| 86 buildUnnamed1150() { | 86 buildUnnamed1125() { |
| 87 var o = new core.List<api.Mixin>(); | 87 var o = new core.List<api.Mixin>(); |
| 88 o.add(buildMixin()); | 88 o.add(buildMixin()); |
| 89 o.add(buildMixin()); | 89 o.add(buildMixin()); |
| 90 return o; | 90 return o; |
| 91 } | 91 } |
| 92 | 92 |
| 93 checkUnnamed1150(core.List<api.Mixin> o) { | 93 checkUnnamed1125(core.List<api.Mixin> o) { |
| 94 unittest.expect(o, unittest.hasLength(2)); | 94 unittest.expect(o, unittest.hasLength(2)); |
| 95 checkMixin(o[0]); | 95 checkMixin(o[0]); |
| 96 checkMixin(o[1]); | 96 checkMixin(o[1]); |
| 97 } | 97 } |
| 98 | 98 |
| 99 buildUnnamed1151() { | 99 buildUnnamed1126() { |
| 100 var o = new core.List<api.Option>(); | 100 var o = new core.List<api.Option>(); |
| 101 o.add(buildOption()); | 101 o.add(buildOption()); |
| 102 o.add(buildOption()); | 102 o.add(buildOption()); |
| 103 return o; | 103 return o; |
| 104 } | 104 } |
| 105 | 105 |
| 106 checkUnnamed1151(core.List<api.Option> o) { | 106 checkUnnamed1126(core.List<api.Option> o) { |
| 107 unittest.expect(o, unittest.hasLength(2)); | 107 unittest.expect(o, unittest.hasLength(2)); |
| 108 checkOption(o[0]); | 108 checkOption(o[0]); |
| 109 checkOption(o[1]); | 109 checkOption(o[1]); |
| 110 } | 110 } |
| 111 | 111 |
| 112 core.int buildCounterApi = 0; | 112 core.int buildCounterApi = 0; |
| 113 buildApi() { | 113 buildApi() { |
| 114 var o = new api.Api(); | 114 var o = new api.Api(); |
| 115 buildCounterApi++; | 115 buildCounterApi++; |
| 116 if (buildCounterApi < 3) { | 116 if (buildCounterApi < 3) { |
| 117 o.methods = buildUnnamed1149(); | 117 o.methods = buildUnnamed1124(); |
| 118 o.mixins = buildUnnamed1150(); | 118 o.mixins = buildUnnamed1125(); |
| 119 o.name = "foo"; | 119 o.name = "foo"; |
| 120 o.options = buildUnnamed1151(); | 120 o.options = buildUnnamed1126(); |
| 121 o.sourceContext = buildSourceContext(); | 121 o.sourceContext = buildSourceContext(); |
| 122 o.syntax = "foo"; | 122 o.syntax = "foo"; |
| 123 o.version = "foo"; | 123 o.version = "foo"; |
| 124 } | 124 } |
| 125 buildCounterApi--; | 125 buildCounterApi--; |
| 126 return o; | 126 return o; |
| 127 } | 127 } |
| 128 | 128 |
| 129 checkApi(api.Api o) { | 129 checkApi(api.Api o) { |
| 130 buildCounterApi++; | 130 buildCounterApi++; |
| 131 if (buildCounterApi < 3) { | 131 if (buildCounterApi < 3) { |
| 132 checkUnnamed1149(o.methods); | 132 checkUnnamed1124(o.methods); |
| 133 checkUnnamed1150(o.mixins); | 133 checkUnnamed1125(o.mixins); |
| 134 unittest.expect(o.name, unittest.equals('foo')); | 134 unittest.expect(o.name, unittest.equals('foo')); |
| 135 checkUnnamed1151(o.options); | 135 checkUnnamed1126(o.options); |
| 136 checkSourceContext(o.sourceContext); | 136 checkSourceContext(o.sourceContext); |
| 137 unittest.expect(o.syntax, unittest.equals('foo')); | 137 unittest.expect(o.syntax, unittest.equals('foo')); |
| 138 unittest.expect(o.version, unittest.equals('foo')); | 138 unittest.expect(o.version, unittest.equals('foo')); |
| 139 } | 139 } |
| 140 buildCounterApi--; | 140 buildCounterApi--; |
| 141 } | 141 } |
| 142 | 142 |
| 143 buildUnnamed1152() { | 143 buildUnnamed1127() { |
| 144 var o = new core.List<api.AuditLogConfig>(); | 144 var o = new core.List<api.AuditLogConfig>(); |
| 145 o.add(buildAuditLogConfig()); | 145 o.add(buildAuditLogConfig()); |
| 146 o.add(buildAuditLogConfig()); | 146 o.add(buildAuditLogConfig()); |
| 147 return o; | 147 return o; |
| 148 } | 148 } |
| 149 | 149 |
| 150 checkUnnamed1152(core.List<api.AuditLogConfig> o) { | 150 checkUnnamed1127(core.List<api.AuditLogConfig> o) { |
| 151 unittest.expect(o, unittest.hasLength(2)); | 151 unittest.expect(o, unittest.hasLength(2)); |
| 152 checkAuditLogConfig(o[0]); | 152 checkAuditLogConfig(o[0]); |
| 153 checkAuditLogConfig(o[1]); | 153 checkAuditLogConfig(o[1]); |
| 154 } | 154 } |
| 155 | 155 |
| 156 buildUnnamed1153() { | 156 buildUnnamed1128() { |
| 157 var o = new core.List<core.String>(); | 157 var o = new core.List<core.String>(); |
| 158 o.add("foo"); | 158 o.add("foo"); |
| 159 o.add("foo"); | 159 o.add("foo"); |
| 160 return o; | 160 return o; |
| 161 } | 161 } |
| 162 | 162 |
| 163 checkUnnamed1153(core.List<core.String> o) { | 163 checkUnnamed1128(core.List<core.String> o) { |
| 164 unittest.expect(o, unittest.hasLength(2)); | 164 unittest.expect(o, unittest.hasLength(2)); |
| 165 unittest.expect(o[0], unittest.equals('foo')); | 165 unittest.expect(o[0], unittest.equals('foo')); |
| 166 unittest.expect(o[1], unittest.equals('foo')); | 166 unittest.expect(o[1], unittest.equals('foo')); |
| 167 } | 167 } |
| 168 | 168 |
| 169 core.int buildCounterAuditConfig = 0; | 169 core.int buildCounterAuditConfig = 0; |
| 170 buildAuditConfig() { | 170 buildAuditConfig() { |
| 171 var o = new api.AuditConfig(); | 171 var o = new api.AuditConfig(); |
| 172 buildCounterAuditConfig++; | 172 buildCounterAuditConfig++; |
| 173 if (buildCounterAuditConfig < 3) { | 173 if (buildCounterAuditConfig < 3) { |
| 174 o.auditLogConfigs = buildUnnamed1152(); | 174 o.auditLogConfigs = buildUnnamed1127(); |
| 175 o.exemptedMembers = buildUnnamed1153(); | 175 o.exemptedMembers = buildUnnamed1128(); |
| 176 o.service = "foo"; | 176 o.service = "foo"; |
| 177 } | 177 } |
| 178 buildCounterAuditConfig--; | 178 buildCounterAuditConfig--; |
| 179 return o; | 179 return o; |
| 180 } | 180 } |
| 181 | 181 |
| 182 checkAuditConfig(api.AuditConfig o) { | 182 checkAuditConfig(api.AuditConfig o) { |
| 183 buildCounterAuditConfig++; | 183 buildCounterAuditConfig++; |
| 184 if (buildCounterAuditConfig < 3) { | 184 if (buildCounterAuditConfig < 3) { |
| 185 checkUnnamed1152(o.auditLogConfigs); | 185 checkUnnamed1127(o.auditLogConfigs); |
| 186 checkUnnamed1153(o.exemptedMembers); | 186 checkUnnamed1128(o.exemptedMembers); |
| 187 unittest.expect(o.service, unittest.equals('foo')); | 187 unittest.expect(o.service, unittest.equals('foo')); |
| 188 } | 188 } |
| 189 buildCounterAuditConfig--; | 189 buildCounterAuditConfig--; |
| 190 } | 190 } |
| 191 | 191 |
| 192 buildUnnamed1154() { | 192 buildUnnamed1129() { |
| 193 var o = new core.List<core.String>(); | 193 var o = new core.List<core.String>(); |
| 194 o.add("foo"); | 194 o.add("foo"); |
| 195 o.add("foo"); | 195 o.add("foo"); |
| 196 return o; | 196 return o; |
| 197 } | 197 } |
| 198 | 198 |
| 199 checkUnnamed1154(core.List<core.String> o) { | 199 checkUnnamed1129(core.List<core.String> o) { |
| 200 unittest.expect(o, unittest.hasLength(2)); | 200 unittest.expect(o, unittest.hasLength(2)); |
| 201 unittest.expect(o[0], unittest.equals('foo')); | 201 unittest.expect(o[0], unittest.equals('foo')); |
| 202 unittest.expect(o[1], unittest.equals('foo')); | 202 unittest.expect(o[1], unittest.equals('foo')); |
| 203 } | 203 } |
| 204 | 204 |
| 205 core.int buildCounterAuditLogConfig = 0; | 205 core.int buildCounterAuditLogConfig = 0; |
| 206 buildAuditLogConfig() { | 206 buildAuditLogConfig() { |
| 207 var o = new api.AuditLogConfig(); | 207 var o = new api.AuditLogConfig(); |
| 208 buildCounterAuditLogConfig++; | 208 buildCounterAuditLogConfig++; |
| 209 if (buildCounterAuditLogConfig < 3) { | 209 if (buildCounterAuditLogConfig < 3) { |
| 210 o.exemptedMembers = buildUnnamed1154(); | 210 o.exemptedMembers = buildUnnamed1129(); |
| 211 o.logType = "foo"; | 211 o.logType = "foo"; |
| 212 } | 212 } |
| 213 buildCounterAuditLogConfig--; | 213 buildCounterAuditLogConfig--; |
| 214 return o; | 214 return o; |
| 215 } | 215 } |
| 216 | 216 |
| 217 checkAuditLogConfig(api.AuditLogConfig o) { | 217 checkAuditLogConfig(api.AuditLogConfig o) { |
| 218 buildCounterAuditLogConfig++; | 218 buildCounterAuditLogConfig++; |
| 219 if (buildCounterAuditLogConfig < 3) { | 219 if (buildCounterAuditLogConfig < 3) { |
| 220 checkUnnamed1154(o.exemptedMembers); | 220 checkUnnamed1129(o.exemptedMembers); |
| 221 unittest.expect(o.logType, unittest.equals('foo')); | 221 unittest.expect(o.logType, unittest.equals('foo')); |
| 222 } | 222 } |
| 223 buildCounterAuditLogConfig--; | 223 buildCounterAuditLogConfig--; |
| 224 } | 224 } |
| 225 | 225 |
| 226 core.int buildCounterAuthProvider = 0; | 226 core.int buildCounterAuthProvider = 0; |
| 227 buildAuthProvider() { | 227 buildAuthProvider() { |
| 228 var o = new api.AuthProvider(); | 228 var o = new api.AuthProvider(); |
| 229 buildCounterAuthProvider++; | 229 buildCounterAuthProvider++; |
| 230 if (buildCounterAuthProvider < 3) { | 230 if (buildCounterAuthProvider < 3) { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 262 |
| 263 checkAuthRequirement(api.AuthRequirement o) { | 263 checkAuthRequirement(api.AuthRequirement o) { |
| 264 buildCounterAuthRequirement++; | 264 buildCounterAuthRequirement++; |
| 265 if (buildCounterAuthRequirement < 3) { | 265 if (buildCounterAuthRequirement < 3) { |
| 266 unittest.expect(o.audiences, unittest.equals('foo')); | 266 unittest.expect(o.audiences, unittest.equals('foo')); |
| 267 unittest.expect(o.providerId, unittest.equals('foo')); | 267 unittest.expect(o.providerId, unittest.equals('foo')); |
| 268 } | 268 } |
| 269 buildCounterAuthRequirement--; | 269 buildCounterAuthRequirement--; |
| 270 } | 270 } |
| 271 | 271 |
| 272 buildUnnamed1155() { | 272 buildUnnamed1130() { |
| 273 var o = new core.List<api.AuthProvider>(); | 273 var o = new core.List<api.AuthProvider>(); |
| 274 o.add(buildAuthProvider()); | 274 o.add(buildAuthProvider()); |
| 275 o.add(buildAuthProvider()); | 275 o.add(buildAuthProvider()); |
| 276 return o; | 276 return o; |
| 277 } | 277 } |
| 278 | 278 |
| 279 checkUnnamed1155(core.List<api.AuthProvider> o) { | 279 checkUnnamed1130(core.List<api.AuthProvider> o) { |
| 280 unittest.expect(o, unittest.hasLength(2)); | 280 unittest.expect(o, unittest.hasLength(2)); |
| 281 checkAuthProvider(o[0]); | 281 checkAuthProvider(o[0]); |
| 282 checkAuthProvider(o[1]); | 282 checkAuthProvider(o[1]); |
| 283 } | 283 } |
| 284 | 284 |
| 285 buildUnnamed1156() { | 285 buildUnnamed1131() { |
| 286 var o = new core.List<api.AuthenticationRule>(); | 286 var o = new core.List<api.AuthenticationRule>(); |
| 287 o.add(buildAuthenticationRule()); | 287 o.add(buildAuthenticationRule()); |
| 288 o.add(buildAuthenticationRule()); | 288 o.add(buildAuthenticationRule()); |
| 289 return o; | 289 return o; |
| 290 } | 290 } |
| 291 | 291 |
| 292 checkUnnamed1156(core.List<api.AuthenticationRule> o) { | 292 checkUnnamed1131(core.List<api.AuthenticationRule> o) { |
| 293 unittest.expect(o, unittest.hasLength(2)); | 293 unittest.expect(o, unittest.hasLength(2)); |
| 294 checkAuthenticationRule(o[0]); | 294 checkAuthenticationRule(o[0]); |
| 295 checkAuthenticationRule(o[1]); | 295 checkAuthenticationRule(o[1]); |
| 296 } | 296 } |
| 297 | 297 |
| 298 core.int buildCounterAuthentication = 0; | 298 core.int buildCounterAuthentication = 0; |
| 299 buildAuthentication() { | 299 buildAuthentication() { |
| 300 var o = new api.Authentication(); | 300 var o = new api.Authentication(); |
| 301 buildCounterAuthentication++; | 301 buildCounterAuthentication++; |
| 302 if (buildCounterAuthentication < 3) { | 302 if (buildCounterAuthentication < 3) { |
| 303 o.providers = buildUnnamed1155(); | 303 o.providers = buildUnnamed1130(); |
| 304 o.rules = buildUnnamed1156(); | 304 o.rules = buildUnnamed1131(); |
| 305 } | 305 } |
| 306 buildCounterAuthentication--; | 306 buildCounterAuthentication--; |
| 307 return o; | 307 return o; |
| 308 } | 308 } |
| 309 | 309 |
| 310 checkAuthentication(api.Authentication o) { | 310 checkAuthentication(api.Authentication o) { |
| 311 buildCounterAuthentication++; | 311 buildCounterAuthentication++; |
| 312 if (buildCounterAuthentication < 3) { | 312 if (buildCounterAuthentication < 3) { |
| 313 checkUnnamed1155(o.providers); | 313 checkUnnamed1130(o.providers); |
| 314 checkUnnamed1156(o.rules); | 314 checkUnnamed1131(o.rules); |
| 315 } | 315 } |
| 316 buildCounterAuthentication--; | 316 buildCounterAuthentication--; |
| 317 } | 317 } |
| 318 | 318 |
| 319 buildUnnamed1157() { | 319 buildUnnamed1132() { |
| 320 var o = new core.List<api.AuthRequirement>(); | 320 var o = new core.List<api.AuthRequirement>(); |
| 321 o.add(buildAuthRequirement()); | 321 o.add(buildAuthRequirement()); |
| 322 o.add(buildAuthRequirement()); | 322 o.add(buildAuthRequirement()); |
| 323 return o; | 323 return o; |
| 324 } | 324 } |
| 325 | 325 |
| 326 checkUnnamed1157(core.List<api.AuthRequirement> o) { | 326 checkUnnamed1132(core.List<api.AuthRequirement> o) { |
| 327 unittest.expect(o, unittest.hasLength(2)); | 327 unittest.expect(o, unittest.hasLength(2)); |
| 328 checkAuthRequirement(o[0]); | 328 checkAuthRequirement(o[0]); |
| 329 checkAuthRequirement(o[1]); | 329 checkAuthRequirement(o[1]); |
| 330 } | 330 } |
| 331 | 331 |
| 332 core.int buildCounterAuthenticationRule = 0; | 332 core.int buildCounterAuthenticationRule = 0; |
| 333 buildAuthenticationRule() { | 333 buildAuthenticationRule() { |
| 334 var o = new api.AuthenticationRule(); | 334 var o = new api.AuthenticationRule(); |
| 335 buildCounterAuthenticationRule++; | 335 buildCounterAuthenticationRule++; |
| 336 if (buildCounterAuthenticationRule < 3) { | 336 if (buildCounterAuthenticationRule < 3) { |
| 337 o.allowWithoutCredential = true; | 337 o.allowWithoutCredential = true; |
| 338 o.customAuth = buildCustomAuthRequirements(); | 338 o.customAuth = buildCustomAuthRequirements(); |
| 339 o.oauth = buildOAuthRequirements(); | 339 o.oauth = buildOAuthRequirements(); |
| 340 o.requirements = buildUnnamed1157(); | 340 o.requirements = buildUnnamed1132(); |
| 341 o.selector = "foo"; | 341 o.selector = "foo"; |
| 342 } | 342 } |
| 343 buildCounterAuthenticationRule--; | 343 buildCounterAuthenticationRule--; |
| 344 return o; | 344 return o; |
| 345 } | 345 } |
| 346 | 346 |
| 347 checkAuthenticationRule(api.AuthenticationRule o) { | 347 checkAuthenticationRule(api.AuthenticationRule o) { |
| 348 buildCounterAuthenticationRule++; | 348 buildCounterAuthenticationRule++; |
| 349 if (buildCounterAuthenticationRule < 3) { | 349 if (buildCounterAuthenticationRule < 3) { |
| 350 unittest.expect(o.allowWithoutCredential, unittest.isTrue); | 350 unittest.expect(o.allowWithoutCredential, unittest.isTrue); |
| 351 checkCustomAuthRequirements(o.customAuth); | 351 checkCustomAuthRequirements(o.customAuth); |
| 352 checkOAuthRequirements(o.oauth); | 352 checkOAuthRequirements(o.oauth); |
| 353 checkUnnamed1157(o.requirements); | 353 checkUnnamed1132(o.requirements); |
| 354 unittest.expect(o.selector, unittest.equals('foo')); | 354 unittest.expect(o.selector, unittest.equals('foo')); |
| 355 } | 355 } |
| 356 buildCounterAuthenticationRule--; | 356 buildCounterAuthenticationRule--; |
| 357 } | 357 } |
| 358 | 358 |
| 359 core.int buildCounterAuthorizationConfig = 0; | 359 core.int buildCounterAuthorizationConfig = 0; |
| 360 buildAuthorizationConfig() { | 360 buildAuthorizationConfig() { |
| 361 var o = new api.AuthorizationConfig(); | 361 var o = new api.AuthorizationConfig(); |
| 362 buildCounterAuthorizationConfig++; | 362 buildCounterAuthorizationConfig++; |
| 363 if (buildCounterAuthorizationConfig < 3) { | 363 if (buildCounterAuthorizationConfig < 3) { |
| 364 o.provider = "foo"; | 364 o.provider = "foo"; |
| 365 } | 365 } |
| 366 buildCounterAuthorizationConfig--; | 366 buildCounterAuthorizationConfig--; |
| 367 return o; | 367 return o; |
| 368 } | 368 } |
| 369 | 369 |
| 370 checkAuthorizationConfig(api.AuthorizationConfig o) { | 370 checkAuthorizationConfig(api.AuthorizationConfig o) { |
| 371 buildCounterAuthorizationConfig++; | 371 buildCounterAuthorizationConfig++; |
| 372 if (buildCounterAuthorizationConfig < 3) { | 372 if (buildCounterAuthorizationConfig < 3) { |
| 373 unittest.expect(o.provider, unittest.equals('foo')); | 373 unittest.expect(o.provider, unittest.equals('foo')); |
| 374 } | 374 } |
| 375 buildCounterAuthorizationConfig--; | 375 buildCounterAuthorizationConfig--; |
| 376 } | 376 } |
| 377 | 377 |
| 378 buildUnnamed1158() { | 378 buildUnnamed1133() { |
| 379 var o = new core.List<api.BackendRule>(); | 379 var o = new core.List<api.BackendRule>(); |
| 380 o.add(buildBackendRule()); | 380 o.add(buildBackendRule()); |
| 381 o.add(buildBackendRule()); | 381 o.add(buildBackendRule()); |
| 382 return o; | 382 return o; |
| 383 } | 383 } |
| 384 | 384 |
| 385 checkUnnamed1158(core.List<api.BackendRule> o) { | 385 checkUnnamed1133(core.List<api.BackendRule> o) { |
| 386 unittest.expect(o, unittest.hasLength(2)); | 386 unittest.expect(o, unittest.hasLength(2)); |
| 387 checkBackendRule(o[0]); | 387 checkBackendRule(o[0]); |
| 388 checkBackendRule(o[1]); | 388 checkBackendRule(o[1]); |
| 389 } | 389 } |
| 390 | 390 |
| 391 core.int buildCounterBackend = 0; | 391 core.int buildCounterBackend = 0; |
| 392 buildBackend() { | 392 buildBackend() { |
| 393 var o = new api.Backend(); | 393 var o = new api.Backend(); |
| 394 buildCounterBackend++; | 394 buildCounterBackend++; |
| 395 if (buildCounterBackend < 3) { | 395 if (buildCounterBackend < 3) { |
| 396 o.rules = buildUnnamed1158(); | 396 o.rules = buildUnnamed1133(); |
| 397 } | 397 } |
| 398 buildCounterBackend--; | 398 buildCounterBackend--; |
| 399 return o; | 399 return o; |
| 400 } | 400 } |
| 401 | 401 |
| 402 checkBackend(api.Backend o) { | 402 checkBackend(api.Backend o) { |
| 403 buildCounterBackend++; | 403 buildCounterBackend++; |
| 404 if (buildCounterBackend < 3) { | 404 if (buildCounterBackend < 3) { |
| 405 checkUnnamed1158(o.rules); | 405 checkUnnamed1133(o.rules); |
| 406 } | 406 } |
| 407 buildCounterBackend--; | 407 buildCounterBackend--; |
| 408 } | 408 } |
| 409 | 409 |
| 410 core.int buildCounterBackendRule = 0; | 410 core.int buildCounterBackendRule = 0; |
| 411 buildBackendRule() { | 411 buildBackendRule() { |
| 412 var o = new api.BackendRule(); | 412 var o = new api.BackendRule(); |
| 413 buildCounterBackendRule++; | 413 buildCounterBackendRule++; |
| 414 if (buildCounterBackendRule < 3) { | 414 if (buildCounterBackendRule < 3) { |
| 415 o.address = "foo"; | 415 o.address = "foo"; |
| 416 o.deadline = 42.0; | 416 o.deadline = 42.0; |
| 417 o.minDeadline = 42.0; | 417 o.minDeadline = 42.0; |
| 418 o.selector = "foo"; | 418 o.selector = "foo"; |
| 419 } | 419 } |
| 420 buildCounterBackendRule--; | 420 buildCounterBackendRule--; |
| 421 return o; | 421 return o; |
| 422 } | 422 } |
| 423 | 423 |
| 424 checkBackendRule(api.BackendRule o) { | 424 checkBackendRule(api.BackendRule o) { |
| 425 buildCounterBackendRule++; | 425 buildCounterBackendRule++; |
| 426 if (buildCounterBackendRule < 3) { | 426 if (buildCounterBackendRule < 3) { |
| 427 unittest.expect(o.address, unittest.equals('foo')); | 427 unittest.expect(o.address, unittest.equals('foo')); |
| 428 unittest.expect(o.deadline, unittest.equals(42.0)); | 428 unittest.expect(o.deadline, unittest.equals(42.0)); |
| 429 unittest.expect(o.minDeadline, unittest.equals(42.0)); | 429 unittest.expect(o.minDeadline, unittest.equals(42.0)); |
| 430 unittest.expect(o.selector, unittest.equals('foo')); | 430 unittest.expect(o.selector, unittest.equals('foo')); |
| 431 } | 431 } |
| 432 buildCounterBackendRule--; | 432 buildCounterBackendRule--; |
| 433 } | 433 } |
| 434 | 434 |
| 435 buildUnnamed1159() { | 435 buildUnnamed1134() { |
| 436 var o = new core.List<core.String>(); | 436 var o = new core.List<core.String>(); |
| 437 o.add("foo"); | 437 o.add("foo"); |
| 438 o.add("foo"); | 438 o.add("foo"); |
| 439 return o; | 439 return o; |
| 440 } | 440 } |
| 441 | 441 |
| 442 checkUnnamed1159(core.List<core.String> o) { | 442 checkUnnamed1134(core.List<core.String> o) { |
| 443 unittest.expect(o, unittest.hasLength(2)); | 443 unittest.expect(o, unittest.hasLength(2)); |
| 444 unittest.expect(o[0], unittest.equals('foo')); | 444 unittest.expect(o[0], unittest.equals('foo')); |
| 445 unittest.expect(o[1], unittest.equals('foo')); | 445 unittest.expect(o[1], unittest.equals('foo')); |
| 446 } | 446 } |
| 447 | 447 |
| 448 core.int buildCounterBinding = 0; | 448 core.int buildCounterBinding = 0; |
| 449 buildBinding() { | 449 buildBinding() { |
| 450 var o = new api.Binding(); | 450 var o = new api.Binding(); |
| 451 buildCounterBinding++; | 451 buildCounterBinding++; |
| 452 if (buildCounterBinding < 3) { | 452 if (buildCounterBinding < 3) { |
| 453 o.condition = buildExpr(); | 453 o.condition = buildExpr(); |
| 454 o.members = buildUnnamed1159(); | 454 o.members = buildUnnamed1134(); |
| 455 o.role = "foo"; | 455 o.role = "foo"; |
| 456 } | 456 } |
| 457 buildCounterBinding--; | 457 buildCounterBinding--; |
| 458 return o; | 458 return o; |
| 459 } | 459 } |
| 460 | 460 |
| 461 checkBinding(api.Binding o) { | 461 checkBinding(api.Binding o) { |
| 462 buildCounterBinding++; | 462 buildCounterBinding++; |
| 463 if (buildCounterBinding < 3) { | 463 if (buildCounterBinding < 3) { |
| 464 checkExpr(o.condition); | 464 checkExpr(o.condition); |
| 465 checkUnnamed1159(o.members); | 465 checkUnnamed1134(o.members); |
| 466 unittest.expect(o.role, unittest.equals('foo')); | 466 unittest.expect(o.role, unittest.equals('foo')); |
| 467 } | 467 } |
| 468 buildCounterBinding--; | 468 buildCounterBinding--; |
| 469 } | 469 } |
| 470 | 470 |
| 471 buildUnnamed1160() { | 471 buildUnnamed1135() { |
| 472 var o = new core.List<api.ConfigChange>(); | 472 var o = new core.List<api.ConfigChange>(); |
| 473 o.add(buildConfigChange()); | 473 o.add(buildConfigChange()); |
| 474 o.add(buildConfigChange()); | 474 o.add(buildConfigChange()); |
| 475 return o; | 475 return o; |
| 476 } | 476 } |
| 477 | 477 |
| 478 checkUnnamed1160(core.List<api.ConfigChange> o) { | 478 checkUnnamed1135(core.List<api.ConfigChange> o) { |
| 479 unittest.expect(o, unittest.hasLength(2)); | 479 unittest.expect(o, unittest.hasLength(2)); |
| 480 checkConfigChange(o[0]); | 480 checkConfigChange(o[0]); |
| 481 checkConfigChange(o[1]); | 481 checkConfigChange(o[1]); |
| 482 } | 482 } |
| 483 | 483 |
| 484 core.int buildCounterChangeReport = 0; | 484 core.int buildCounterChangeReport = 0; |
| 485 buildChangeReport() { | 485 buildChangeReport() { |
| 486 var o = new api.ChangeReport(); | 486 var o = new api.ChangeReport(); |
| 487 buildCounterChangeReport++; | 487 buildCounterChangeReport++; |
| 488 if (buildCounterChangeReport < 3) { | 488 if (buildCounterChangeReport < 3) { |
| 489 o.configChanges = buildUnnamed1160(); | 489 o.configChanges = buildUnnamed1135(); |
| 490 } | 490 } |
| 491 buildCounterChangeReport--; | 491 buildCounterChangeReport--; |
| 492 return o; | 492 return o; |
| 493 } | 493 } |
| 494 | 494 |
| 495 checkChangeReport(api.ChangeReport o) { | 495 checkChangeReport(api.ChangeReport o) { |
| 496 buildCounterChangeReport++; | 496 buildCounterChangeReport++; |
| 497 if (buildCounterChangeReport < 3) { | 497 if (buildCounterChangeReport < 3) { |
| 498 checkUnnamed1160(o.configChanges); | 498 checkUnnamed1135(o.configChanges); |
| 499 } | 499 } |
| 500 buildCounterChangeReport--; | 500 buildCounterChangeReport--; |
| 501 } | 501 } |
| 502 | 502 |
| 503 core.int buildCounterCloudAuditOptions = 0; | 503 core.int buildCounterCloudAuditOptions = 0; |
| 504 buildCloudAuditOptions() { | 504 buildCloudAuditOptions() { |
| 505 var o = new api.CloudAuditOptions(); | 505 var o = new api.CloudAuditOptions(); |
| 506 buildCounterCloudAuditOptions++; | 506 buildCounterCloudAuditOptions++; |
| 507 if (buildCounterCloudAuditOptions < 3) { | 507 if (buildCounterCloudAuditOptions < 3) { |
| 508 o.isReadPermissionType = true; |
| 508 o.logName = "foo"; | 509 o.logName = "foo"; |
| 509 } | 510 } |
| 510 buildCounterCloudAuditOptions--; | 511 buildCounterCloudAuditOptions--; |
| 511 return o; | 512 return o; |
| 512 } | 513 } |
| 513 | 514 |
| 514 checkCloudAuditOptions(api.CloudAuditOptions o) { | 515 checkCloudAuditOptions(api.CloudAuditOptions o) { |
| 515 buildCounterCloudAuditOptions++; | 516 buildCounterCloudAuditOptions++; |
| 516 if (buildCounterCloudAuditOptions < 3) { | 517 if (buildCounterCloudAuditOptions < 3) { |
| 518 unittest.expect(o.isReadPermissionType, unittest.isTrue); |
| 517 unittest.expect(o.logName, unittest.equals('foo')); | 519 unittest.expect(o.logName, unittest.equals('foo')); |
| 518 } | 520 } |
| 519 buildCounterCloudAuditOptions--; | 521 buildCounterCloudAuditOptions--; |
| 520 } | 522 } |
| 521 | 523 |
| 522 buildUnnamed1161() { | 524 buildUnnamed1136() { |
| 523 var o = new core.List<core.String>(); | 525 var o = new core.List<core.String>(); |
| 524 o.add("foo"); | 526 o.add("foo"); |
| 525 o.add("foo"); | 527 o.add("foo"); |
| 526 return o; | 528 return o; |
| 527 } | 529 } |
| 528 | 530 |
| 529 checkUnnamed1161(core.List<core.String> o) { | 531 checkUnnamed1136(core.List<core.String> o) { |
| 530 unittest.expect(o, unittest.hasLength(2)); | 532 unittest.expect(o, unittest.hasLength(2)); |
| 531 unittest.expect(o[0], unittest.equals('foo')); | 533 unittest.expect(o[0], unittest.equals('foo')); |
| 532 unittest.expect(o[1], unittest.equals('foo')); | 534 unittest.expect(o[1], unittest.equals('foo')); |
| 533 } | 535 } |
| 534 | 536 |
| 535 core.int buildCounterCondition = 0; | 537 core.int buildCounterCondition = 0; |
| 536 buildCondition() { | 538 buildCondition() { |
| 537 var o = new api.Condition(); | 539 var o = new api.Condition(); |
| 538 buildCounterCondition++; | 540 buildCounterCondition++; |
| 539 if (buildCounterCondition < 3) { | 541 if (buildCounterCondition < 3) { |
| 540 o.iam = "foo"; | 542 o.iam = "foo"; |
| 541 o.op = "foo"; | 543 o.op = "foo"; |
| 542 o.svc = "foo"; | 544 o.svc = "foo"; |
| 543 o.sys = "foo"; | 545 o.sys = "foo"; |
| 544 o.value = "foo"; | 546 o.value = "foo"; |
| 545 o.values = buildUnnamed1161(); | 547 o.values = buildUnnamed1136(); |
| 546 } | 548 } |
| 547 buildCounterCondition--; | 549 buildCounterCondition--; |
| 548 return o; | 550 return o; |
| 549 } | 551 } |
| 550 | 552 |
| 551 checkCondition(api.Condition o) { | 553 checkCondition(api.Condition o) { |
| 552 buildCounterCondition++; | 554 buildCounterCondition++; |
| 553 if (buildCounterCondition < 3) { | 555 if (buildCounterCondition < 3) { |
| 554 unittest.expect(o.iam, unittest.equals('foo')); | 556 unittest.expect(o.iam, unittest.equals('foo')); |
| 555 unittest.expect(o.op, unittest.equals('foo')); | 557 unittest.expect(o.op, unittest.equals('foo')); |
| 556 unittest.expect(o.svc, unittest.equals('foo')); | 558 unittest.expect(o.svc, unittest.equals('foo')); |
| 557 unittest.expect(o.sys, unittest.equals('foo')); | 559 unittest.expect(o.sys, unittest.equals('foo')); |
| 558 unittest.expect(o.value, unittest.equals('foo')); | 560 unittest.expect(o.value, unittest.equals('foo')); |
| 559 checkUnnamed1161(o.values); | 561 checkUnnamed1136(o.values); |
| 560 } | 562 } |
| 561 buildCounterCondition--; | 563 buildCounterCondition--; |
| 562 } | 564 } |
| 563 | 565 |
| 564 buildUnnamed1162() { | 566 buildUnnamed1137() { |
| 565 var o = new core.List<api.Advice>(); | 567 var o = new core.List<api.Advice>(); |
| 566 o.add(buildAdvice()); | 568 o.add(buildAdvice()); |
| 567 o.add(buildAdvice()); | 569 o.add(buildAdvice()); |
| 568 return o; | 570 return o; |
| 569 } | 571 } |
| 570 | 572 |
| 571 checkUnnamed1162(core.List<api.Advice> o) { | 573 checkUnnamed1137(core.List<api.Advice> o) { |
| 572 unittest.expect(o, unittest.hasLength(2)); | 574 unittest.expect(o, unittest.hasLength(2)); |
| 573 checkAdvice(o[0]); | 575 checkAdvice(o[0]); |
| 574 checkAdvice(o[1]); | 576 checkAdvice(o[1]); |
| 575 } | 577 } |
| 576 | 578 |
| 577 core.int buildCounterConfigChange = 0; | 579 core.int buildCounterConfigChange = 0; |
| 578 buildConfigChange() { | 580 buildConfigChange() { |
| 579 var o = new api.ConfigChange(); | 581 var o = new api.ConfigChange(); |
| 580 buildCounterConfigChange++; | 582 buildCounterConfigChange++; |
| 581 if (buildCounterConfigChange < 3) { | 583 if (buildCounterConfigChange < 3) { |
| 582 o.advices = buildUnnamed1162(); | 584 o.advices = buildUnnamed1137(); |
| 583 o.changeType = "foo"; | 585 o.changeType = "foo"; |
| 584 o.element = "foo"; | 586 o.element = "foo"; |
| 585 o.newValue = "foo"; | 587 o.newValue = "foo"; |
| 586 o.oldValue = "foo"; | 588 o.oldValue = "foo"; |
| 587 } | 589 } |
| 588 buildCounterConfigChange--; | 590 buildCounterConfigChange--; |
| 589 return o; | 591 return o; |
| 590 } | 592 } |
| 591 | 593 |
| 592 checkConfigChange(api.ConfigChange o) { | 594 checkConfigChange(api.ConfigChange o) { |
| 593 buildCounterConfigChange++; | 595 buildCounterConfigChange++; |
| 594 if (buildCounterConfigChange < 3) { | 596 if (buildCounterConfigChange < 3) { |
| 595 checkUnnamed1162(o.advices); | 597 checkUnnamed1137(o.advices); |
| 596 unittest.expect(o.changeType, unittest.equals('foo')); | 598 unittest.expect(o.changeType, unittest.equals('foo')); |
| 597 unittest.expect(o.element, unittest.equals('foo')); | 599 unittest.expect(o.element, unittest.equals('foo')); |
| 598 unittest.expect(o.newValue, unittest.equals('foo')); | 600 unittest.expect(o.newValue, unittest.equals('foo')); |
| 599 unittest.expect(o.oldValue, unittest.equals('foo')); | 601 unittest.expect(o.oldValue, unittest.equals('foo')); |
| 600 } | 602 } |
| 601 buildCounterConfigChange--; | 603 buildCounterConfigChange--; |
| 602 } | 604 } |
| 603 | 605 |
| 604 core.int buildCounterConfigFile = 0; | 606 core.int buildCounterConfigFile = 0; |
| 605 buildConfigFile() { | 607 buildConfigFile() { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 636 } | 638 } |
| 637 | 639 |
| 638 checkConfigRef(api.ConfigRef o) { | 640 checkConfigRef(api.ConfigRef o) { |
| 639 buildCounterConfigRef++; | 641 buildCounterConfigRef++; |
| 640 if (buildCounterConfigRef < 3) { | 642 if (buildCounterConfigRef < 3) { |
| 641 unittest.expect(o.name, unittest.equals('foo')); | 643 unittest.expect(o.name, unittest.equals('foo')); |
| 642 } | 644 } |
| 643 buildCounterConfigRef--; | 645 buildCounterConfigRef--; |
| 644 } | 646 } |
| 645 | 647 |
| 646 buildUnnamed1163() { | 648 buildUnnamed1138() { |
| 647 var o = new core.List<api.ConfigFile>(); | 649 var o = new core.List<api.ConfigFile>(); |
| 648 o.add(buildConfigFile()); | 650 o.add(buildConfigFile()); |
| 649 o.add(buildConfigFile()); | 651 o.add(buildConfigFile()); |
| 650 return o; | 652 return o; |
| 651 } | 653 } |
| 652 | 654 |
| 653 checkUnnamed1163(core.List<api.ConfigFile> o) { | 655 checkUnnamed1138(core.List<api.ConfigFile> o) { |
| 654 unittest.expect(o, unittest.hasLength(2)); | 656 unittest.expect(o, unittest.hasLength(2)); |
| 655 checkConfigFile(o[0]); | 657 checkConfigFile(o[0]); |
| 656 checkConfigFile(o[1]); | 658 checkConfigFile(o[1]); |
| 657 } | 659 } |
| 658 | 660 |
| 659 core.int buildCounterConfigSource = 0; | 661 core.int buildCounterConfigSource = 0; |
| 660 buildConfigSource() { | 662 buildConfigSource() { |
| 661 var o = new api.ConfigSource(); | 663 var o = new api.ConfigSource(); |
| 662 buildCounterConfigSource++; | 664 buildCounterConfigSource++; |
| 663 if (buildCounterConfigSource < 3) { | 665 if (buildCounterConfigSource < 3) { |
| 664 o.files = buildUnnamed1163(); | 666 o.files = buildUnnamed1138(); |
| 665 o.id = "foo"; | 667 o.id = "foo"; |
| 666 } | 668 } |
| 667 buildCounterConfigSource--; | 669 buildCounterConfigSource--; |
| 668 return o; | 670 return o; |
| 669 } | 671 } |
| 670 | 672 |
| 671 checkConfigSource(api.ConfigSource o) { | 673 checkConfigSource(api.ConfigSource o) { |
| 672 buildCounterConfigSource++; | 674 buildCounterConfigSource++; |
| 673 if (buildCounterConfigSource < 3) { | 675 if (buildCounterConfigSource < 3) { |
| 674 checkUnnamed1163(o.files); | 676 checkUnnamed1138(o.files); |
| 675 unittest.expect(o.id, unittest.equals('foo')); | 677 unittest.expect(o.id, unittest.equals('foo')); |
| 676 } | 678 } |
| 677 buildCounterConfigSource--; | 679 buildCounterConfigSource--; |
| 678 } | 680 } |
| 679 | 681 |
| 680 buildUnnamed1164() { | 682 buildUnnamed1139() { |
| 681 var o = new core.List<api.ContextRule>(); | 683 var o = new core.List<api.ContextRule>(); |
| 682 o.add(buildContextRule()); | 684 o.add(buildContextRule()); |
| 683 o.add(buildContextRule()); | 685 o.add(buildContextRule()); |
| 684 return o; | 686 return o; |
| 685 } | 687 } |
| 686 | 688 |
| 687 checkUnnamed1164(core.List<api.ContextRule> o) { | 689 checkUnnamed1139(core.List<api.ContextRule> o) { |
| 688 unittest.expect(o, unittest.hasLength(2)); | 690 unittest.expect(o, unittest.hasLength(2)); |
| 689 checkContextRule(o[0]); | 691 checkContextRule(o[0]); |
| 690 checkContextRule(o[1]); | 692 checkContextRule(o[1]); |
| 691 } | 693 } |
| 692 | 694 |
| 693 core.int buildCounterContext = 0; | 695 core.int buildCounterContext = 0; |
| 694 buildContext() { | 696 buildContext() { |
| 695 var o = new api.Context(); | 697 var o = new api.Context(); |
| 696 buildCounterContext++; | 698 buildCounterContext++; |
| 697 if (buildCounterContext < 3) { | 699 if (buildCounterContext < 3) { |
| 698 o.rules = buildUnnamed1164(); | 700 o.rules = buildUnnamed1139(); |
| 699 } | 701 } |
| 700 buildCounterContext--; | 702 buildCounterContext--; |
| 701 return o; | 703 return o; |
| 702 } | 704 } |
| 703 | 705 |
| 704 checkContext(api.Context o) { | 706 checkContext(api.Context o) { |
| 705 buildCounterContext++; | 707 buildCounterContext++; |
| 706 if (buildCounterContext < 3) { | 708 if (buildCounterContext < 3) { |
| 707 checkUnnamed1164(o.rules); | 709 checkUnnamed1139(o.rules); |
| 708 } | 710 } |
| 709 buildCounterContext--; | 711 buildCounterContext--; |
| 710 } | 712 } |
| 711 | 713 |
| 712 buildUnnamed1165() { | 714 buildUnnamed1140() { |
| 713 var o = new core.List<core.String>(); | 715 var o = new core.List<core.String>(); |
| 714 o.add("foo"); | 716 o.add("foo"); |
| 715 o.add("foo"); | 717 o.add("foo"); |
| 716 return o; | 718 return o; |
| 717 } | 719 } |
| 718 | 720 |
| 719 checkUnnamed1165(core.List<core.String> o) { | 721 checkUnnamed1140(core.List<core.String> o) { |
| 720 unittest.expect(o, unittest.hasLength(2)); | 722 unittest.expect(o, unittest.hasLength(2)); |
| 721 unittest.expect(o[0], unittest.equals('foo')); | 723 unittest.expect(o[0], unittest.equals('foo')); |
| 722 unittest.expect(o[1], unittest.equals('foo')); | 724 unittest.expect(o[1], unittest.equals('foo')); |
| 723 } | 725 } |
| 724 | 726 |
| 725 buildUnnamed1166() { | 727 buildUnnamed1141() { |
| 726 var o = new core.List<core.String>(); | 728 var o = new core.List<core.String>(); |
| 727 o.add("foo"); | 729 o.add("foo"); |
| 728 o.add("foo"); | 730 o.add("foo"); |
| 729 return o; | 731 return o; |
| 730 } | 732 } |
| 731 | 733 |
| 732 checkUnnamed1166(core.List<core.String> o) { | 734 checkUnnamed1141(core.List<core.String> o) { |
| 733 unittest.expect(o, unittest.hasLength(2)); | 735 unittest.expect(o, unittest.hasLength(2)); |
| 734 unittest.expect(o[0], unittest.equals('foo')); | 736 unittest.expect(o[0], unittest.equals('foo')); |
| 735 unittest.expect(o[1], unittest.equals('foo')); | 737 unittest.expect(o[1], unittest.equals('foo')); |
| 736 } | 738 } |
| 737 | 739 |
| 738 core.int buildCounterContextRule = 0; | 740 core.int buildCounterContextRule = 0; |
| 739 buildContextRule() { | 741 buildContextRule() { |
| 740 var o = new api.ContextRule(); | 742 var o = new api.ContextRule(); |
| 741 buildCounterContextRule++; | 743 buildCounterContextRule++; |
| 742 if (buildCounterContextRule < 3) { | 744 if (buildCounterContextRule < 3) { |
| 743 o.provided = buildUnnamed1165(); | 745 o.provided = buildUnnamed1140(); |
| 744 o.requested = buildUnnamed1166(); | 746 o.requested = buildUnnamed1141(); |
| 745 o.selector = "foo"; | 747 o.selector = "foo"; |
| 746 } | 748 } |
| 747 buildCounterContextRule--; | 749 buildCounterContextRule--; |
| 748 return o; | 750 return o; |
| 749 } | 751 } |
| 750 | 752 |
| 751 checkContextRule(api.ContextRule o) { | 753 checkContextRule(api.ContextRule o) { |
| 752 buildCounterContextRule++; | 754 buildCounterContextRule++; |
| 753 if (buildCounterContextRule < 3) { | 755 if (buildCounterContextRule < 3) { |
| 754 checkUnnamed1165(o.provided); | 756 checkUnnamed1140(o.provided); |
| 755 checkUnnamed1166(o.requested); | 757 checkUnnamed1141(o.requested); |
| 756 unittest.expect(o.selector, unittest.equals('foo')); | 758 unittest.expect(o.selector, unittest.equals('foo')); |
| 757 } | 759 } |
| 758 buildCounterContextRule--; | 760 buildCounterContextRule--; |
| 759 } | 761 } |
| 760 | 762 |
| 761 core.int buildCounterControl = 0; | 763 core.int buildCounterControl = 0; |
| 762 buildControl() { | 764 buildControl() { |
| 763 var o = new api.Control(); | 765 var o = new api.Control(); |
| 764 buildCounterControl++; | 766 buildCounterControl++; |
| 765 if (buildCounterControl < 3) { | 767 if (buildCounterControl < 3) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 } | 812 } |
| 811 | 813 |
| 812 checkCustomAuthRequirements(api.CustomAuthRequirements o) { | 814 checkCustomAuthRequirements(api.CustomAuthRequirements o) { |
| 813 buildCounterCustomAuthRequirements++; | 815 buildCounterCustomAuthRequirements++; |
| 814 if (buildCounterCustomAuthRequirements < 3) { | 816 if (buildCounterCustomAuthRequirements < 3) { |
| 815 unittest.expect(o.provider, unittest.equals('foo')); | 817 unittest.expect(o.provider, unittest.equals('foo')); |
| 816 } | 818 } |
| 817 buildCounterCustomAuthRequirements--; | 819 buildCounterCustomAuthRequirements--; |
| 818 } | 820 } |
| 819 | 821 |
| 820 buildUnnamed1167() { | 822 buildUnnamed1142() { |
| 821 var o = new core.List<api.CustomErrorRule>(); | 823 var o = new core.List<api.CustomErrorRule>(); |
| 822 o.add(buildCustomErrorRule()); | 824 o.add(buildCustomErrorRule()); |
| 823 o.add(buildCustomErrorRule()); | 825 o.add(buildCustomErrorRule()); |
| 824 return o; | 826 return o; |
| 825 } | 827 } |
| 826 | 828 |
| 827 checkUnnamed1167(core.List<api.CustomErrorRule> o) { | 829 checkUnnamed1142(core.List<api.CustomErrorRule> o) { |
| 828 unittest.expect(o, unittest.hasLength(2)); | 830 unittest.expect(o, unittest.hasLength(2)); |
| 829 checkCustomErrorRule(o[0]); | 831 checkCustomErrorRule(o[0]); |
| 830 checkCustomErrorRule(o[1]); | 832 checkCustomErrorRule(o[1]); |
| 831 } | 833 } |
| 832 | 834 |
| 833 buildUnnamed1168() { | 835 buildUnnamed1143() { |
| 834 var o = new core.List<core.String>(); | 836 var o = new core.List<core.String>(); |
| 835 o.add("foo"); | 837 o.add("foo"); |
| 836 o.add("foo"); | 838 o.add("foo"); |
| 837 return o; | 839 return o; |
| 838 } | 840 } |
| 839 | 841 |
| 840 checkUnnamed1168(core.List<core.String> o) { | 842 checkUnnamed1143(core.List<core.String> o) { |
| 841 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
| 842 unittest.expect(o[0], unittest.equals('foo')); | 844 unittest.expect(o[0], unittest.equals('foo')); |
| 843 unittest.expect(o[1], unittest.equals('foo')); | 845 unittest.expect(o[1], unittest.equals('foo')); |
| 844 } | 846 } |
| 845 | 847 |
| 846 core.int buildCounterCustomError = 0; | 848 core.int buildCounterCustomError = 0; |
| 847 buildCustomError() { | 849 buildCustomError() { |
| 848 var o = new api.CustomError(); | 850 var o = new api.CustomError(); |
| 849 buildCounterCustomError++; | 851 buildCounterCustomError++; |
| 850 if (buildCounterCustomError < 3) { | 852 if (buildCounterCustomError < 3) { |
| 851 o.rules = buildUnnamed1167(); | 853 o.rules = buildUnnamed1142(); |
| 852 o.types = buildUnnamed1168(); | 854 o.types = buildUnnamed1143(); |
| 853 } | 855 } |
| 854 buildCounterCustomError--; | 856 buildCounterCustomError--; |
| 855 return o; | 857 return o; |
| 856 } | 858 } |
| 857 | 859 |
| 858 checkCustomError(api.CustomError o) { | 860 checkCustomError(api.CustomError o) { |
| 859 buildCounterCustomError++; | 861 buildCounterCustomError++; |
| 860 if (buildCounterCustomError < 3) { | 862 if (buildCounterCustomError < 3) { |
| 861 checkUnnamed1167(o.rules); | 863 checkUnnamed1142(o.rules); |
| 862 checkUnnamed1168(o.types); | 864 checkUnnamed1143(o.types); |
| 863 } | 865 } |
| 864 buildCounterCustomError--; | 866 buildCounterCustomError--; |
| 865 } | 867 } |
| 866 | 868 |
| 867 core.int buildCounterCustomErrorRule = 0; | 869 core.int buildCounterCustomErrorRule = 0; |
| 868 buildCustomErrorRule() { | 870 buildCustomErrorRule() { |
| 869 var o = new api.CustomErrorRule(); | 871 var o = new api.CustomErrorRule(); |
| 870 buildCounterCustomErrorRule++; | 872 buildCounterCustomErrorRule++; |
| 871 if (buildCounterCustomErrorRule < 3) { | 873 if (buildCounterCustomErrorRule < 3) { |
| 872 o.isErrorType = true; | 874 o.isErrorType = true; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 } | 977 } |
| 976 | 978 |
| 977 checkDisableServiceRequest(api.DisableServiceRequest o) { | 979 checkDisableServiceRequest(api.DisableServiceRequest o) { |
| 978 buildCounterDisableServiceRequest++; | 980 buildCounterDisableServiceRequest++; |
| 979 if (buildCounterDisableServiceRequest < 3) { | 981 if (buildCounterDisableServiceRequest < 3) { |
| 980 unittest.expect(o.consumerId, unittest.equals('foo')); | 982 unittest.expect(o.consumerId, unittest.equals('foo')); |
| 981 } | 983 } |
| 982 buildCounterDisableServiceRequest--; | 984 buildCounterDisableServiceRequest--; |
| 983 } | 985 } |
| 984 | 986 |
| 985 buildUnnamed1169() { | 987 buildUnnamed1144() { |
| 986 var o = new core.List<api.Page>(); | 988 var o = new core.List<api.Page>(); |
| 987 o.add(buildPage()); | 989 o.add(buildPage()); |
| 988 o.add(buildPage()); | 990 o.add(buildPage()); |
| 989 return o; | 991 return o; |
| 990 } | 992 } |
| 991 | 993 |
| 992 checkUnnamed1169(core.List<api.Page> o) { | 994 checkUnnamed1144(core.List<api.Page> o) { |
| 993 unittest.expect(o, unittest.hasLength(2)); | 995 unittest.expect(o, unittest.hasLength(2)); |
| 994 checkPage(o[0]); | 996 checkPage(o[0]); |
| 995 checkPage(o[1]); | 997 checkPage(o[1]); |
| 996 } | 998 } |
| 997 | 999 |
| 998 buildUnnamed1170() { | 1000 buildUnnamed1145() { |
| 999 var o = new core.List<api.DocumentationRule>(); | 1001 var o = new core.List<api.DocumentationRule>(); |
| 1000 o.add(buildDocumentationRule()); | 1002 o.add(buildDocumentationRule()); |
| 1001 o.add(buildDocumentationRule()); | 1003 o.add(buildDocumentationRule()); |
| 1002 return o; | 1004 return o; |
| 1003 } | 1005 } |
| 1004 | 1006 |
| 1005 checkUnnamed1170(core.List<api.DocumentationRule> o) { | 1007 checkUnnamed1145(core.List<api.DocumentationRule> o) { |
| 1006 unittest.expect(o, unittest.hasLength(2)); | 1008 unittest.expect(o, unittest.hasLength(2)); |
| 1007 checkDocumentationRule(o[0]); | 1009 checkDocumentationRule(o[0]); |
| 1008 checkDocumentationRule(o[1]); | 1010 checkDocumentationRule(o[1]); |
| 1009 } | 1011 } |
| 1010 | 1012 |
| 1011 core.int buildCounterDocumentation = 0; | 1013 core.int buildCounterDocumentation = 0; |
| 1012 buildDocumentation() { | 1014 buildDocumentation() { |
| 1013 var o = new api.Documentation(); | 1015 var o = new api.Documentation(); |
| 1014 buildCounterDocumentation++; | 1016 buildCounterDocumentation++; |
| 1015 if (buildCounterDocumentation < 3) { | 1017 if (buildCounterDocumentation < 3) { |
| 1016 o.documentationRootUrl = "foo"; | 1018 o.documentationRootUrl = "foo"; |
| 1017 o.overview = "foo"; | 1019 o.overview = "foo"; |
| 1018 o.pages = buildUnnamed1169(); | 1020 o.pages = buildUnnamed1144(); |
| 1019 o.rules = buildUnnamed1170(); | 1021 o.rules = buildUnnamed1145(); |
| 1020 o.summary = "foo"; | 1022 o.summary = "foo"; |
| 1021 } | 1023 } |
| 1022 buildCounterDocumentation--; | 1024 buildCounterDocumentation--; |
| 1023 return o; | 1025 return o; |
| 1024 } | 1026 } |
| 1025 | 1027 |
| 1026 checkDocumentation(api.Documentation o) { | 1028 checkDocumentation(api.Documentation o) { |
| 1027 buildCounterDocumentation++; | 1029 buildCounterDocumentation++; |
| 1028 if (buildCounterDocumentation < 3) { | 1030 if (buildCounterDocumentation < 3) { |
| 1029 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); | 1031 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); |
| 1030 unittest.expect(o.overview, unittest.equals('foo')); | 1032 unittest.expect(o.overview, unittest.equals('foo')); |
| 1031 checkUnnamed1169(o.pages); | 1033 checkUnnamed1144(o.pages); |
| 1032 checkUnnamed1170(o.rules); | 1034 checkUnnamed1145(o.rules); |
| 1033 unittest.expect(o.summary, unittest.equals('foo')); | 1035 unittest.expect(o.summary, unittest.equals('foo')); |
| 1034 } | 1036 } |
| 1035 buildCounterDocumentation--; | 1037 buildCounterDocumentation--; |
| 1036 } | 1038 } |
| 1037 | 1039 |
| 1038 core.int buildCounterDocumentationRule = 0; | 1040 core.int buildCounterDocumentationRule = 0; |
| 1039 buildDocumentationRule() { | 1041 buildDocumentationRule() { |
| 1040 var o = new api.DocumentationRule(); | 1042 var o = new api.DocumentationRule(); |
| 1041 buildCounterDocumentationRule++; | 1043 buildCounterDocumentationRule++; |
| 1042 if (buildCounterDocumentationRule < 3) { | 1044 if (buildCounterDocumentationRule < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1070 } | 1072 } |
| 1071 | 1073 |
| 1072 checkEnableServiceRequest(api.EnableServiceRequest o) { | 1074 checkEnableServiceRequest(api.EnableServiceRequest o) { |
| 1073 buildCounterEnableServiceRequest++; | 1075 buildCounterEnableServiceRequest++; |
| 1074 if (buildCounterEnableServiceRequest < 3) { | 1076 if (buildCounterEnableServiceRequest < 3) { |
| 1075 unittest.expect(o.consumerId, unittest.equals('foo')); | 1077 unittest.expect(o.consumerId, unittest.equals('foo')); |
| 1076 } | 1078 } |
| 1077 buildCounterEnableServiceRequest--; | 1079 buildCounterEnableServiceRequest--; |
| 1078 } | 1080 } |
| 1079 | 1081 |
| 1080 buildUnnamed1171() { | 1082 buildUnnamed1146() { |
| 1081 var o = new core.List<core.String>(); | 1083 var o = new core.List<core.String>(); |
| 1082 o.add("foo"); | 1084 o.add("foo"); |
| 1083 o.add("foo"); | 1085 o.add("foo"); |
| 1084 return o; | 1086 return o; |
| 1085 } | 1087 } |
| 1086 | 1088 |
| 1087 checkUnnamed1171(core.List<core.String> o) { | 1089 checkUnnamed1146(core.List<core.String> o) { |
| 1088 unittest.expect(o, unittest.hasLength(2)); | 1090 unittest.expect(o, unittest.hasLength(2)); |
| 1089 unittest.expect(o[0], unittest.equals('foo')); | 1091 unittest.expect(o[0], unittest.equals('foo')); |
| 1090 unittest.expect(o[1], unittest.equals('foo')); | 1092 unittest.expect(o[1], unittest.equals('foo')); |
| 1091 } | 1093 } |
| 1092 | 1094 |
| 1093 buildUnnamed1172() { | 1095 buildUnnamed1147() { |
| 1094 var o = new core.List<core.String>(); | 1096 var o = new core.List<core.String>(); |
| 1095 o.add("foo"); | 1097 o.add("foo"); |
| 1096 o.add("foo"); | 1098 o.add("foo"); |
| 1097 return o; | 1099 return o; |
| 1098 } | 1100 } |
| 1099 | 1101 |
| 1100 checkUnnamed1172(core.List<core.String> o) { | 1102 checkUnnamed1147(core.List<core.String> o) { |
| 1101 unittest.expect(o, unittest.hasLength(2)); | 1103 unittest.expect(o, unittest.hasLength(2)); |
| 1102 unittest.expect(o[0], unittest.equals('foo')); | 1104 unittest.expect(o[0], unittest.equals('foo')); |
| 1103 unittest.expect(o[1], unittest.equals('foo')); | 1105 unittest.expect(o[1], unittest.equals('foo')); |
| 1104 } | 1106 } |
| 1105 | 1107 |
| 1106 buildUnnamed1173() { | 1108 buildUnnamed1148() { |
| 1107 var o = new core.List<core.String>(); | 1109 var o = new core.List<core.String>(); |
| 1108 o.add("foo"); | 1110 o.add("foo"); |
| 1109 o.add("foo"); | 1111 o.add("foo"); |
| 1110 return o; | 1112 return o; |
| 1111 } | 1113 } |
| 1112 | 1114 |
| 1113 checkUnnamed1173(core.List<core.String> o) { | 1115 checkUnnamed1148(core.List<core.String> o) { |
| 1114 unittest.expect(o, unittest.hasLength(2)); | 1116 unittest.expect(o, unittest.hasLength(2)); |
| 1115 unittest.expect(o[0], unittest.equals('foo')); | 1117 unittest.expect(o[0], unittest.equals('foo')); |
| 1116 unittest.expect(o[1], unittest.equals('foo')); | 1118 unittest.expect(o[1], unittest.equals('foo')); |
| 1117 } | 1119 } |
| 1118 | 1120 |
| 1119 core.int buildCounterEndpoint = 0; | 1121 core.int buildCounterEndpoint = 0; |
| 1120 buildEndpoint() { | 1122 buildEndpoint() { |
| 1121 var o = new api.Endpoint(); | 1123 var o = new api.Endpoint(); |
| 1122 buildCounterEndpoint++; | 1124 buildCounterEndpoint++; |
| 1123 if (buildCounterEndpoint < 3) { | 1125 if (buildCounterEndpoint < 3) { |
| 1124 o.aliases = buildUnnamed1171(); | 1126 o.aliases = buildUnnamed1146(); |
| 1125 o.allowCors = true; | 1127 o.allowCors = true; |
| 1126 o.apis = buildUnnamed1172(); | 1128 o.apis = buildUnnamed1147(); |
| 1127 o.features = buildUnnamed1173(); | 1129 o.features = buildUnnamed1148(); |
| 1128 o.name = "foo"; | 1130 o.name = "foo"; |
| 1129 o.target = "foo"; | 1131 o.target = "foo"; |
| 1130 } | 1132 } |
| 1131 buildCounterEndpoint--; | 1133 buildCounterEndpoint--; |
| 1132 return o; | 1134 return o; |
| 1133 } | 1135 } |
| 1134 | 1136 |
| 1135 checkEndpoint(api.Endpoint o) { | 1137 checkEndpoint(api.Endpoint o) { |
| 1136 buildCounterEndpoint++; | 1138 buildCounterEndpoint++; |
| 1137 if (buildCounterEndpoint < 3) { | 1139 if (buildCounterEndpoint < 3) { |
| 1138 checkUnnamed1171(o.aliases); | 1140 checkUnnamed1146(o.aliases); |
| 1139 unittest.expect(o.allowCors, unittest.isTrue); | 1141 unittest.expect(o.allowCors, unittest.isTrue); |
| 1140 checkUnnamed1172(o.apis); | 1142 checkUnnamed1147(o.apis); |
| 1141 checkUnnamed1173(o.features); | 1143 checkUnnamed1148(o.features); |
| 1142 unittest.expect(o.name, unittest.equals('foo')); | 1144 unittest.expect(o.name, unittest.equals('foo')); |
| 1143 unittest.expect(o.target, unittest.equals('foo')); | 1145 unittest.expect(o.target, unittest.equals('foo')); |
| 1144 } | 1146 } |
| 1145 buildCounterEndpoint--; | 1147 buildCounterEndpoint--; |
| 1146 } | 1148 } |
| 1147 | 1149 |
| 1148 buildUnnamed1174() { | 1150 buildUnnamed1149() { |
| 1149 var o = new core.List<api.EnumValue>(); | 1151 var o = new core.List<api.EnumValue>(); |
| 1150 o.add(buildEnumValue()); | 1152 o.add(buildEnumValue()); |
| 1151 o.add(buildEnumValue()); | 1153 o.add(buildEnumValue()); |
| 1152 return o; | 1154 return o; |
| 1153 } | 1155 } |
| 1154 | 1156 |
| 1155 checkUnnamed1174(core.List<api.EnumValue> o) { | 1157 checkUnnamed1149(core.List<api.EnumValue> o) { |
| 1156 unittest.expect(o, unittest.hasLength(2)); | 1158 unittest.expect(o, unittest.hasLength(2)); |
| 1157 checkEnumValue(o[0]); | 1159 checkEnumValue(o[0]); |
| 1158 checkEnumValue(o[1]); | 1160 checkEnumValue(o[1]); |
| 1159 } | 1161 } |
| 1160 | 1162 |
| 1161 buildUnnamed1175() { | 1163 buildUnnamed1150() { |
| 1162 var o = new core.List<api.Option>(); | 1164 var o = new core.List<api.Option>(); |
| 1163 o.add(buildOption()); | 1165 o.add(buildOption()); |
| 1164 o.add(buildOption()); | 1166 o.add(buildOption()); |
| 1165 return o; | 1167 return o; |
| 1166 } | 1168 } |
| 1167 | 1169 |
| 1168 checkUnnamed1175(core.List<api.Option> o) { | 1170 checkUnnamed1150(core.List<api.Option> o) { |
| 1169 unittest.expect(o, unittest.hasLength(2)); | 1171 unittest.expect(o, unittest.hasLength(2)); |
| 1170 checkOption(o[0]); | 1172 checkOption(o[0]); |
| 1171 checkOption(o[1]); | 1173 checkOption(o[1]); |
| 1172 } | 1174 } |
| 1173 | 1175 |
| 1174 core.int buildCounterEnum = 0; | 1176 core.int buildCounterEnum = 0; |
| 1175 buildEnum() { | 1177 buildEnum() { |
| 1176 var o = new api.Enum(); | 1178 var o = new api.Enum(); |
| 1177 buildCounterEnum++; | 1179 buildCounterEnum++; |
| 1178 if (buildCounterEnum < 3) { | 1180 if (buildCounterEnum < 3) { |
| 1179 o.enumvalue = buildUnnamed1174(); | 1181 o.enumvalue = buildUnnamed1149(); |
| 1180 o.name = "foo"; | 1182 o.name = "foo"; |
| 1181 o.options = buildUnnamed1175(); | 1183 o.options = buildUnnamed1150(); |
| 1182 o.sourceContext = buildSourceContext(); | 1184 o.sourceContext = buildSourceContext(); |
| 1183 o.syntax = "foo"; | 1185 o.syntax = "foo"; |
| 1184 } | 1186 } |
| 1185 buildCounterEnum--; | 1187 buildCounterEnum--; |
| 1186 return o; | 1188 return o; |
| 1187 } | 1189 } |
| 1188 | 1190 |
| 1189 checkEnum(api.Enum o) { | 1191 checkEnum(api.Enum o) { |
| 1190 buildCounterEnum++; | 1192 buildCounterEnum++; |
| 1191 if (buildCounterEnum < 3) { | 1193 if (buildCounterEnum < 3) { |
| 1192 checkUnnamed1174(o.enumvalue); | 1194 checkUnnamed1149(o.enumvalue); |
| 1193 unittest.expect(o.name, unittest.equals('foo')); | 1195 unittest.expect(o.name, unittest.equals('foo')); |
| 1194 checkUnnamed1175(o.options); | 1196 checkUnnamed1150(o.options); |
| 1195 checkSourceContext(o.sourceContext); | 1197 checkSourceContext(o.sourceContext); |
| 1196 unittest.expect(o.syntax, unittest.equals('foo')); | 1198 unittest.expect(o.syntax, unittest.equals('foo')); |
| 1197 } | 1199 } |
| 1198 buildCounterEnum--; | 1200 buildCounterEnum--; |
| 1199 } | 1201 } |
| 1200 | 1202 |
| 1201 buildUnnamed1176() { | 1203 buildUnnamed1151() { |
| 1202 var o = new core.List<api.Option>(); | 1204 var o = new core.List<api.Option>(); |
| 1203 o.add(buildOption()); | 1205 o.add(buildOption()); |
| 1204 o.add(buildOption()); | 1206 o.add(buildOption()); |
| 1205 return o; | 1207 return o; |
| 1206 } | 1208 } |
| 1207 | 1209 |
| 1208 checkUnnamed1176(core.List<api.Option> o) { | 1210 checkUnnamed1151(core.List<api.Option> o) { |
| 1209 unittest.expect(o, unittest.hasLength(2)); | 1211 unittest.expect(o, unittest.hasLength(2)); |
| 1210 checkOption(o[0]); | 1212 checkOption(o[0]); |
| 1211 checkOption(o[1]); | 1213 checkOption(o[1]); |
| 1212 } | 1214 } |
| 1213 | 1215 |
| 1214 core.int buildCounterEnumValue = 0; | 1216 core.int buildCounterEnumValue = 0; |
| 1215 buildEnumValue() { | 1217 buildEnumValue() { |
| 1216 var o = new api.EnumValue(); | 1218 var o = new api.EnumValue(); |
| 1217 buildCounterEnumValue++; | 1219 buildCounterEnumValue++; |
| 1218 if (buildCounterEnumValue < 3) { | 1220 if (buildCounterEnumValue < 3) { |
| 1219 o.name = "foo"; | 1221 o.name = "foo"; |
| 1220 o.number = 42; | 1222 o.number = 42; |
| 1221 o.options = buildUnnamed1176(); | 1223 o.options = buildUnnamed1151(); |
| 1222 } | 1224 } |
| 1223 buildCounterEnumValue--; | 1225 buildCounterEnumValue--; |
| 1224 return o; | 1226 return o; |
| 1225 } | 1227 } |
| 1226 | 1228 |
| 1227 checkEnumValue(api.EnumValue o) { | 1229 checkEnumValue(api.EnumValue o) { |
| 1228 buildCounterEnumValue++; | 1230 buildCounterEnumValue++; |
| 1229 if (buildCounterEnumValue < 3) { | 1231 if (buildCounterEnumValue < 3) { |
| 1230 unittest.expect(o.name, unittest.equals('foo')); | 1232 unittest.expect(o.name, unittest.equals('foo')); |
| 1231 unittest.expect(o.number, unittest.equals(42)); | 1233 unittest.expect(o.number, unittest.equals(42)); |
| 1232 checkUnnamed1176(o.options); | 1234 checkUnnamed1151(o.options); |
| 1233 } | 1235 } |
| 1234 buildCounterEnumValue--; | 1236 buildCounterEnumValue--; |
| 1235 } | 1237 } |
| 1236 | 1238 |
| 1237 core.int buildCounterExperimental = 0; | 1239 core.int buildCounterExperimental = 0; |
| 1238 buildExperimental() { | 1240 buildExperimental() { |
| 1239 var o = new api.Experimental(); | 1241 var o = new api.Experimental(); |
| 1240 buildCounterExperimental++; | 1242 buildCounterExperimental++; |
| 1241 if (buildCounterExperimental < 3) { | 1243 if (buildCounterExperimental < 3) { |
| 1242 o.authorization = buildAuthorizationConfig(); | 1244 o.authorization = buildAuthorizationConfig(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1271 buildCounterExpr++; | 1273 buildCounterExpr++; |
| 1272 if (buildCounterExpr < 3) { | 1274 if (buildCounterExpr < 3) { |
| 1273 unittest.expect(o.description, unittest.equals('foo')); | 1275 unittest.expect(o.description, unittest.equals('foo')); |
| 1274 unittest.expect(o.expression, unittest.equals('foo')); | 1276 unittest.expect(o.expression, unittest.equals('foo')); |
| 1275 unittest.expect(o.location, unittest.equals('foo')); | 1277 unittest.expect(o.location, unittest.equals('foo')); |
| 1276 unittest.expect(o.title, unittest.equals('foo')); | 1278 unittest.expect(o.title, unittest.equals('foo')); |
| 1277 } | 1279 } |
| 1278 buildCounterExpr--; | 1280 buildCounterExpr--; |
| 1279 } | 1281 } |
| 1280 | 1282 |
| 1281 buildUnnamed1177() { | 1283 buildUnnamed1152() { |
| 1282 var o = new core.List<api.Option>(); | 1284 var o = new core.List<api.Option>(); |
| 1283 o.add(buildOption()); | 1285 o.add(buildOption()); |
| 1284 o.add(buildOption()); | 1286 o.add(buildOption()); |
| 1285 return o; | 1287 return o; |
| 1286 } | 1288 } |
| 1287 | 1289 |
| 1288 checkUnnamed1177(core.List<api.Option> o) { | 1290 checkUnnamed1152(core.List<api.Option> o) { |
| 1289 unittest.expect(o, unittest.hasLength(2)); | 1291 unittest.expect(o, unittest.hasLength(2)); |
| 1290 checkOption(o[0]); | 1292 checkOption(o[0]); |
| 1291 checkOption(o[1]); | 1293 checkOption(o[1]); |
| 1292 } | 1294 } |
| 1293 | 1295 |
| 1294 core.int buildCounterField = 0; | 1296 core.int buildCounterField = 0; |
| 1295 buildField() { | 1297 buildField() { |
| 1296 var o = new api.Field(); | 1298 var o = new api.Field(); |
| 1297 buildCounterField++; | 1299 buildCounterField++; |
| 1298 if (buildCounterField < 3) { | 1300 if (buildCounterField < 3) { |
| 1299 o.cardinality = "foo"; | 1301 o.cardinality = "foo"; |
| 1300 o.defaultValue = "foo"; | 1302 o.defaultValue = "foo"; |
| 1301 o.jsonName = "foo"; | 1303 o.jsonName = "foo"; |
| 1302 o.kind = "foo"; | 1304 o.kind = "foo"; |
| 1303 o.name = "foo"; | 1305 o.name = "foo"; |
| 1304 o.number = 42; | 1306 o.number = 42; |
| 1305 o.oneofIndex = 42; | 1307 o.oneofIndex = 42; |
| 1306 o.options = buildUnnamed1177(); | 1308 o.options = buildUnnamed1152(); |
| 1307 o.packed = true; | 1309 o.packed = true; |
| 1308 o.typeUrl = "foo"; | 1310 o.typeUrl = "foo"; |
| 1309 } | 1311 } |
| 1310 buildCounterField--; | 1312 buildCounterField--; |
| 1311 return o; | 1313 return o; |
| 1312 } | 1314 } |
| 1313 | 1315 |
| 1314 checkField(api.Field o) { | 1316 checkField(api.Field o) { |
| 1315 buildCounterField++; | 1317 buildCounterField++; |
| 1316 if (buildCounterField < 3) { | 1318 if (buildCounterField < 3) { |
| 1317 unittest.expect(o.cardinality, unittest.equals('foo')); | 1319 unittest.expect(o.cardinality, unittest.equals('foo')); |
| 1318 unittest.expect(o.defaultValue, unittest.equals('foo')); | 1320 unittest.expect(o.defaultValue, unittest.equals('foo')); |
| 1319 unittest.expect(o.jsonName, unittest.equals('foo')); | 1321 unittest.expect(o.jsonName, unittest.equals('foo')); |
| 1320 unittest.expect(o.kind, unittest.equals('foo')); | 1322 unittest.expect(o.kind, unittest.equals('foo')); |
| 1321 unittest.expect(o.name, unittest.equals('foo')); | 1323 unittest.expect(o.name, unittest.equals('foo')); |
| 1322 unittest.expect(o.number, unittest.equals(42)); | 1324 unittest.expect(o.number, unittest.equals(42)); |
| 1323 unittest.expect(o.oneofIndex, unittest.equals(42)); | 1325 unittest.expect(o.oneofIndex, unittest.equals(42)); |
| 1324 checkUnnamed1177(o.options); | 1326 checkUnnamed1152(o.options); |
| 1325 unittest.expect(o.packed, unittest.isTrue); | 1327 unittest.expect(o.packed, unittest.isTrue); |
| 1326 unittest.expect(o.typeUrl, unittest.equals('foo')); | 1328 unittest.expect(o.typeUrl, unittest.equals('foo')); |
| 1327 } | 1329 } |
| 1328 buildCounterField--; | 1330 buildCounterField--; |
| 1329 } | 1331 } |
| 1330 | 1332 |
| 1331 buildUnnamed1178() { | 1333 buildUnnamed1153() { |
| 1332 var o = new core.List<core.String>(); | 1334 var o = new core.List<core.String>(); |
| 1333 o.add("foo"); | 1335 o.add("foo"); |
| 1334 o.add("foo"); | 1336 o.add("foo"); |
| 1335 return o; | 1337 return o; |
| 1336 } | 1338 } |
| 1337 | 1339 |
| 1338 checkUnnamed1178(core.List<core.String> o) { | 1340 checkUnnamed1153(core.List<core.String> o) { |
| 1339 unittest.expect(o, unittest.hasLength(2)); | 1341 unittest.expect(o, unittest.hasLength(2)); |
| 1340 unittest.expect(o[0], unittest.equals('foo')); | 1342 unittest.expect(o[0], unittest.equals('foo')); |
| 1341 unittest.expect(o[1], unittest.equals('foo')); | 1343 unittest.expect(o[1], unittest.equals('foo')); |
| 1342 } | 1344 } |
| 1343 | 1345 |
| 1344 core.int buildCounterFlowOperationMetadata = 0; | 1346 core.int buildCounterFlowOperationMetadata = 0; |
| 1345 buildFlowOperationMetadata() { | 1347 buildFlowOperationMetadata() { |
| 1346 var o = new api.FlowOperationMetadata(); | 1348 var o = new api.FlowOperationMetadata(); |
| 1347 buildCounterFlowOperationMetadata++; | 1349 buildCounterFlowOperationMetadata++; |
| 1348 if (buildCounterFlowOperationMetadata < 3) { | 1350 if (buildCounterFlowOperationMetadata < 3) { |
| 1349 o.cancelState = "foo"; | 1351 o.cancelState = "foo"; |
| 1350 o.deadline = "foo"; | 1352 o.deadline = "foo"; |
| 1351 o.flowName = "foo"; | 1353 o.flowName = "foo"; |
| 1352 o.resourceNames = buildUnnamed1178(); | 1354 o.resourceNames = buildUnnamed1153(); |
| 1353 o.startTime = "foo"; | 1355 o.startTime = "foo"; |
| 1354 } | 1356 } |
| 1355 buildCounterFlowOperationMetadata--; | 1357 buildCounterFlowOperationMetadata--; |
| 1356 return o; | 1358 return o; |
| 1357 } | 1359 } |
| 1358 | 1360 |
| 1359 checkFlowOperationMetadata(api.FlowOperationMetadata o) { | 1361 checkFlowOperationMetadata(api.FlowOperationMetadata o) { |
| 1360 buildCounterFlowOperationMetadata++; | 1362 buildCounterFlowOperationMetadata++; |
| 1361 if (buildCounterFlowOperationMetadata < 3) { | 1363 if (buildCounterFlowOperationMetadata < 3) { |
| 1362 unittest.expect(o.cancelState, unittest.equals('foo')); | 1364 unittest.expect(o.cancelState, unittest.equals('foo')); |
| 1363 unittest.expect(o.deadline, unittest.equals('foo')); | 1365 unittest.expect(o.deadline, unittest.equals('foo')); |
| 1364 unittest.expect(o.flowName, unittest.equals('foo')); | 1366 unittest.expect(o.flowName, unittest.equals('foo')); |
| 1365 checkUnnamed1178(o.resourceNames); | 1367 checkUnnamed1153(o.resourceNames); |
| 1366 unittest.expect(o.startTime, unittest.equals('foo')); | 1368 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1367 } | 1369 } |
| 1368 buildCounterFlowOperationMetadata--; | 1370 buildCounterFlowOperationMetadata--; |
| 1369 } | 1371 } |
| 1370 | 1372 |
| 1371 buildUnnamed1179() { | 1373 buildUnnamed1154() { |
| 1372 var o = new core.Map<core.String, core.Object>(); | 1374 var o = new core.Map<core.String, core.Object>(); |
| 1373 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1375 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1374 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1376 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1375 return o; | 1377 return o; |
| 1376 } | 1378 } |
| 1377 | 1379 |
| 1378 checkUnnamed1179(core.Map<core.String, core.Object> o) { | 1380 checkUnnamed1154(core.Map<core.String, core.Object> o) { |
| 1379 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
| 1380 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 1382 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
| 1381 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 1383 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
| 1382 } | 1384 } |
| 1383 | 1385 |
| 1384 buildUnnamed1180() { | 1386 buildUnnamed1155() { |
| 1385 var o = new core.Map<core.String, core.Object>(); | 1387 var o = new core.Map<core.String, core.Object>(); |
| 1386 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1388 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1387 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1389 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1388 return o; | 1390 return o; |
| 1389 } | 1391 } |
| 1390 | 1392 |
| 1391 checkUnnamed1180(core.Map<core.String, core.Object> o) { | 1393 checkUnnamed1155(core.Map<core.String, core.Object> o) { |
| 1392 unittest.expect(o, unittest.hasLength(2)); | 1394 unittest.expect(o, unittest.hasLength(2)); |
| 1393 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); | 1395 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); |
| 1394 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); | 1396 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); |
| 1395 } | 1397 } |
| 1396 | 1398 |
| 1397 core.int buildCounterGenerateConfigReportRequest = 0; | 1399 core.int buildCounterGenerateConfigReportRequest = 0; |
| 1398 buildGenerateConfigReportRequest() { | 1400 buildGenerateConfigReportRequest() { |
| 1399 var o = new api.GenerateConfigReportRequest(); | 1401 var o = new api.GenerateConfigReportRequest(); |
| 1400 buildCounterGenerateConfigReportRequest++; | 1402 buildCounterGenerateConfigReportRequest++; |
| 1401 if (buildCounterGenerateConfigReportRequest < 3) { | 1403 if (buildCounterGenerateConfigReportRequest < 3) { |
| 1402 o.newConfig = buildUnnamed1179(); | 1404 o.newConfig = buildUnnamed1154(); |
| 1403 o.oldConfig = buildUnnamed1180(); | 1405 o.oldConfig = buildUnnamed1155(); |
| 1404 } | 1406 } |
| 1405 buildCounterGenerateConfigReportRequest--; | 1407 buildCounterGenerateConfigReportRequest--; |
| 1406 return o; | 1408 return o; |
| 1407 } | 1409 } |
| 1408 | 1410 |
| 1409 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { | 1411 checkGenerateConfigReportRequest(api.GenerateConfigReportRequest o) { |
| 1410 buildCounterGenerateConfigReportRequest++; | 1412 buildCounterGenerateConfigReportRequest++; |
| 1411 if (buildCounterGenerateConfigReportRequest < 3) { | 1413 if (buildCounterGenerateConfigReportRequest < 3) { |
| 1412 checkUnnamed1179(o.newConfig); | 1414 checkUnnamed1154(o.newConfig); |
| 1413 checkUnnamed1180(o.oldConfig); | 1415 checkUnnamed1155(o.oldConfig); |
| 1414 } | 1416 } |
| 1415 buildCounterGenerateConfigReportRequest--; | 1417 buildCounterGenerateConfigReportRequest--; |
| 1416 } | 1418 } |
| 1417 | 1419 |
| 1418 buildUnnamed1181() { | 1420 buildUnnamed1156() { |
| 1419 var o = new core.List<api.ChangeReport>(); | 1421 var o = new core.List<api.ChangeReport>(); |
| 1420 o.add(buildChangeReport()); | 1422 o.add(buildChangeReport()); |
| 1421 o.add(buildChangeReport()); | 1423 o.add(buildChangeReport()); |
| 1422 return o; | 1424 return o; |
| 1423 } | 1425 } |
| 1424 | 1426 |
| 1425 checkUnnamed1181(core.List<api.ChangeReport> o) { | 1427 checkUnnamed1156(core.List<api.ChangeReport> o) { |
| 1426 unittest.expect(o, unittest.hasLength(2)); | 1428 unittest.expect(o, unittest.hasLength(2)); |
| 1427 checkChangeReport(o[0]); | 1429 checkChangeReport(o[0]); |
| 1428 checkChangeReport(o[1]); | 1430 checkChangeReport(o[1]); |
| 1429 } | 1431 } |
| 1430 | 1432 |
| 1431 buildUnnamed1182() { | 1433 buildUnnamed1157() { |
| 1432 var o = new core.List<api.Diagnostic>(); | 1434 var o = new core.List<api.Diagnostic>(); |
| 1433 o.add(buildDiagnostic()); | 1435 o.add(buildDiagnostic()); |
| 1434 o.add(buildDiagnostic()); | 1436 o.add(buildDiagnostic()); |
| 1435 return o; | 1437 return o; |
| 1436 } | 1438 } |
| 1437 | 1439 |
| 1438 checkUnnamed1182(core.List<api.Diagnostic> o) { | 1440 checkUnnamed1157(core.List<api.Diagnostic> o) { |
| 1439 unittest.expect(o, unittest.hasLength(2)); | 1441 unittest.expect(o, unittest.hasLength(2)); |
| 1440 checkDiagnostic(o[0]); | 1442 checkDiagnostic(o[0]); |
| 1441 checkDiagnostic(o[1]); | 1443 checkDiagnostic(o[1]); |
| 1442 } | 1444 } |
| 1443 | 1445 |
| 1444 core.int buildCounterGenerateConfigReportResponse = 0; | 1446 core.int buildCounterGenerateConfigReportResponse = 0; |
| 1445 buildGenerateConfigReportResponse() { | 1447 buildGenerateConfigReportResponse() { |
| 1446 var o = new api.GenerateConfigReportResponse(); | 1448 var o = new api.GenerateConfigReportResponse(); |
| 1447 buildCounterGenerateConfigReportResponse++; | 1449 buildCounterGenerateConfigReportResponse++; |
| 1448 if (buildCounterGenerateConfigReportResponse < 3) { | 1450 if (buildCounterGenerateConfigReportResponse < 3) { |
| 1449 o.changeReports = buildUnnamed1181(); | 1451 o.changeReports = buildUnnamed1156(); |
| 1450 o.diagnostics = buildUnnamed1182(); | 1452 o.diagnostics = buildUnnamed1157(); |
| 1451 o.id = "foo"; | 1453 o.id = "foo"; |
| 1452 o.serviceName = "foo"; | 1454 o.serviceName = "foo"; |
| 1453 } | 1455 } |
| 1454 buildCounterGenerateConfigReportResponse--; | 1456 buildCounterGenerateConfigReportResponse--; |
| 1455 return o; | 1457 return o; |
| 1456 } | 1458 } |
| 1457 | 1459 |
| 1458 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { | 1460 checkGenerateConfigReportResponse(api.GenerateConfigReportResponse o) { |
| 1459 buildCounterGenerateConfigReportResponse++; | 1461 buildCounterGenerateConfigReportResponse++; |
| 1460 if (buildCounterGenerateConfigReportResponse < 3) { | 1462 if (buildCounterGenerateConfigReportResponse < 3) { |
| 1461 checkUnnamed1181(o.changeReports); | 1463 checkUnnamed1156(o.changeReports); |
| 1462 checkUnnamed1182(o.diagnostics); | 1464 checkUnnamed1157(o.diagnostics); |
| 1463 unittest.expect(o.id, unittest.equals('foo')); | 1465 unittest.expect(o.id, unittest.equals('foo')); |
| 1464 unittest.expect(o.serviceName, unittest.equals('foo')); | 1466 unittest.expect(o.serviceName, unittest.equals('foo')); |
| 1465 } | 1467 } |
| 1466 buildCounterGenerateConfigReportResponse--; | 1468 buildCounterGenerateConfigReportResponse--; |
| 1467 } | 1469 } |
| 1468 | 1470 |
| 1469 core.int buildCounterGetIamPolicyRequest = 0; | 1471 core.int buildCounterGetIamPolicyRequest = 0; |
| 1470 buildGetIamPolicyRequest() { | 1472 buildGetIamPolicyRequest() { |
| 1471 var o = new api.GetIamPolicyRequest(); | 1473 var o = new api.GetIamPolicyRequest(); |
| 1472 buildCounterGetIamPolicyRequest++; | 1474 buildCounterGetIamPolicyRequest++; |
| 1473 if (buildCounterGetIamPolicyRequest < 3) { | 1475 if (buildCounterGetIamPolicyRequest < 3) { |
| 1474 } | 1476 } |
| 1475 buildCounterGetIamPolicyRequest--; | 1477 buildCounterGetIamPolicyRequest--; |
| 1476 return o; | 1478 return o; |
| 1477 } | 1479 } |
| 1478 | 1480 |
| 1479 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 1481 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
| 1480 buildCounterGetIamPolicyRequest++; | 1482 buildCounterGetIamPolicyRequest++; |
| 1481 if (buildCounterGetIamPolicyRequest < 3) { | 1483 if (buildCounterGetIamPolicyRequest < 3) { |
| 1482 } | 1484 } |
| 1483 buildCounterGetIamPolicyRequest--; | 1485 buildCounterGetIamPolicyRequest--; |
| 1484 } | 1486 } |
| 1485 | 1487 |
| 1486 buildUnnamed1183() { | 1488 buildUnnamed1158() { |
| 1487 var o = new core.List<api.HttpRule>(); | 1489 var o = new core.List<api.HttpRule>(); |
| 1488 o.add(buildHttpRule()); | 1490 o.add(buildHttpRule()); |
| 1489 o.add(buildHttpRule()); | 1491 o.add(buildHttpRule()); |
| 1490 return o; | 1492 return o; |
| 1491 } | 1493 } |
| 1492 | 1494 |
| 1493 checkUnnamed1183(core.List<api.HttpRule> o) { | 1495 checkUnnamed1158(core.List<api.HttpRule> o) { |
| 1494 unittest.expect(o, unittest.hasLength(2)); | 1496 unittest.expect(o, unittest.hasLength(2)); |
| 1495 checkHttpRule(o[0]); | 1497 checkHttpRule(o[0]); |
| 1496 checkHttpRule(o[1]); | 1498 checkHttpRule(o[1]); |
| 1497 } | 1499 } |
| 1498 | 1500 |
| 1499 core.int buildCounterHttp = 0; | 1501 core.int buildCounterHttp = 0; |
| 1500 buildHttp() { | 1502 buildHttp() { |
| 1501 var o = new api.Http(); | 1503 var o = new api.Http(); |
| 1502 buildCounterHttp++; | 1504 buildCounterHttp++; |
| 1503 if (buildCounterHttp < 3) { | 1505 if (buildCounterHttp < 3) { |
| 1504 o.fullyDecodeReservedExpansion = true; | 1506 o.fullyDecodeReservedExpansion = true; |
| 1505 o.rules = buildUnnamed1183(); | 1507 o.rules = buildUnnamed1158(); |
| 1506 } | 1508 } |
| 1507 buildCounterHttp--; | 1509 buildCounterHttp--; |
| 1508 return o; | 1510 return o; |
| 1509 } | 1511 } |
| 1510 | 1512 |
| 1511 checkHttp(api.Http o) { | 1513 checkHttp(api.Http o) { |
| 1512 buildCounterHttp++; | 1514 buildCounterHttp++; |
| 1513 if (buildCounterHttp < 3) { | 1515 if (buildCounterHttp < 3) { |
| 1514 unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue); | 1516 unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue); |
| 1515 checkUnnamed1183(o.rules); | 1517 checkUnnamed1158(o.rules); |
| 1516 } | 1518 } |
| 1517 buildCounterHttp--; | 1519 buildCounterHttp--; |
| 1518 } | 1520 } |
| 1519 | 1521 |
| 1520 buildUnnamed1184() { | 1522 buildUnnamed1159() { |
| 1521 var o = new core.List<api.HttpRule>(); | 1523 var o = new core.List<api.HttpRule>(); |
| 1522 o.add(buildHttpRule()); | 1524 o.add(buildHttpRule()); |
| 1523 o.add(buildHttpRule()); | 1525 o.add(buildHttpRule()); |
| 1524 return o; | 1526 return o; |
| 1525 } | 1527 } |
| 1526 | 1528 |
| 1527 checkUnnamed1184(core.List<api.HttpRule> o) { | 1529 checkUnnamed1159(core.List<api.HttpRule> o) { |
| 1528 unittest.expect(o, unittest.hasLength(2)); | 1530 unittest.expect(o, unittest.hasLength(2)); |
| 1529 checkHttpRule(o[0]); | 1531 checkHttpRule(o[0]); |
| 1530 checkHttpRule(o[1]); | 1532 checkHttpRule(o[1]); |
| 1531 } | 1533 } |
| 1532 | 1534 |
| 1533 core.int buildCounterHttpRule = 0; | 1535 core.int buildCounterHttpRule = 0; |
| 1534 buildHttpRule() { | 1536 buildHttpRule() { |
| 1535 var o = new api.HttpRule(); | 1537 var o = new api.HttpRule(); |
| 1536 buildCounterHttpRule++; | 1538 buildCounterHttpRule++; |
| 1537 if (buildCounterHttpRule < 3) { | 1539 if (buildCounterHttpRule < 3) { |
| 1538 o.additionalBindings = buildUnnamed1184(); | 1540 o.additionalBindings = buildUnnamed1159(); |
| 1539 o.body = "foo"; | 1541 o.body = "foo"; |
| 1540 o.custom = buildCustomHttpPattern(); | 1542 o.custom = buildCustomHttpPattern(); |
| 1541 o.delete = "foo"; | 1543 o.delete = "foo"; |
| 1542 o.get = "foo"; | 1544 o.get = "foo"; |
| 1543 o.mediaDownload = buildMediaDownload(); | 1545 o.mediaDownload = buildMediaDownload(); |
| 1544 o.mediaUpload = buildMediaUpload(); | 1546 o.mediaUpload = buildMediaUpload(); |
| 1545 o.patch = "foo"; | 1547 o.patch = "foo"; |
| 1546 o.post = "foo"; | 1548 o.post = "foo"; |
| 1547 o.put = "foo"; | 1549 o.put = "foo"; |
| 1548 o.responseBody = "foo"; | 1550 o.responseBody = "foo"; |
| 1549 o.restCollection = "foo"; | 1551 o.restCollection = "foo"; |
| 1550 o.restMethodName = "foo"; | 1552 o.restMethodName = "foo"; |
| 1551 o.selector = "foo"; | 1553 o.selector = "foo"; |
| 1552 } | 1554 } |
| 1553 buildCounterHttpRule--; | 1555 buildCounterHttpRule--; |
| 1554 return o; | 1556 return o; |
| 1555 } | 1557 } |
| 1556 | 1558 |
| 1557 checkHttpRule(api.HttpRule o) { | 1559 checkHttpRule(api.HttpRule o) { |
| 1558 buildCounterHttpRule++; | 1560 buildCounterHttpRule++; |
| 1559 if (buildCounterHttpRule < 3) { | 1561 if (buildCounterHttpRule < 3) { |
| 1560 checkUnnamed1184(o.additionalBindings); | 1562 checkUnnamed1159(o.additionalBindings); |
| 1561 unittest.expect(o.body, unittest.equals('foo')); | 1563 unittest.expect(o.body, unittest.equals('foo')); |
| 1562 checkCustomHttpPattern(o.custom); | 1564 checkCustomHttpPattern(o.custom); |
| 1563 unittest.expect(o.delete, unittest.equals('foo')); | 1565 unittest.expect(o.delete, unittest.equals('foo')); |
| 1564 unittest.expect(o.get, unittest.equals('foo')); | 1566 unittest.expect(o.get, unittest.equals('foo')); |
| 1565 checkMediaDownload(o.mediaDownload); | 1567 checkMediaDownload(o.mediaDownload); |
| 1566 checkMediaUpload(o.mediaUpload); | 1568 checkMediaUpload(o.mediaUpload); |
| 1567 unittest.expect(o.patch, unittest.equals('foo')); | 1569 unittest.expect(o.patch, unittest.equals('foo')); |
| 1568 unittest.expect(o.post, unittest.equals('foo')); | 1570 unittest.expect(o.post, unittest.equals('foo')); |
| 1569 unittest.expect(o.put, unittest.equals('foo')); | 1571 unittest.expect(o.put, unittest.equals('foo')); |
| 1570 unittest.expect(o.responseBody, unittest.equals('foo')); | 1572 unittest.expect(o.responseBody, unittest.equals('foo')); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1591 checkLabelDescriptor(api.LabelDescriptor o) { | 1593 checkLabelDescriptor(api.LabelDescriptor o) { |
| 1592 buildCounterLabelDescriptor++; | 1594 buildCounterLabelDescriptor++; |
| 1593 if (buildCounterLabelDescriptor < 3) { | 1595 if (buildCounterLabelDescriptor < 3) { |
| 1594 unittest.expect(o.description, unittest.equals('foo')); | 1596 unittest.expect(o.description, unittest.equals('foo')); |
| 1595 unittest.expect(o.key, unittest.equals('foo')); | 1597 unittest.expect(o.key, unittest.equals('foo')); |
| 1596 unittest.expect(o.valueType, unittest.equals('foo')); | 1598 unittest.expect(o.valueType, unittest.equals('foo')); |
| 1597 } | 1599 } |
| 1598 buildCounterLabelDescriptor--; | 1600 buildCounterLabelDescriptor--; |
| 1599 } | 1601 } |
| 1600 | 1602 |
| 1601 buildUnnamed1185() { | 1603 buildUnnamed1160() { |
| 1602 var o = new core.List<api.Operation>(); | 1604 var o = new core.List<api.Operation>(); |
| 1603 o.add(buildOperation()); | 1605 o.add(buildOperation()); |
| 1604 o.add(buildOperation()); | 1606 o.add(buildOperation()); |
| 1605 return o; | 1607 return o; |
| 1606 } | 1608 } |
| 1607 | 1609 |
| 1608 checkUnnamed1185(core.List<api.Operation> o) { | 1610 checkUnnamed1160(core.List<api.Operation> o) { |
| 1609 unittest.expect(o, unittest.hasLength(2)); | 1611 unittest.expect(o, unittest.hasLength(2)); |
| 1610 checkOperation(o[0]); | 1612 checkOperation(o[0]); |
| 1611 checkOperation(o[1]); | 1613 checkOperation(o[1]); |
| 1612 } | 1614 } |
| 1613 | 1615 |
| 1614 core.int buildCounterListOperationsResponse = 0; | 1616 core.int buildCounterListOperationsResponse = 0; |
| 1615 buildListOperationsResponse() { | 1617 buildListOperationsResponse() { |
| 1616 var o = new api.ListOperationsResponse(); | 1618 var o = new api.ListOperationsResponse(); |
| 1617 buildCounterListOperationsResponse++; | 1619 buildCounterListOperationsResponse++; |
| 1618 if (buildCounterListOperationsResponse < 3) { | 1620 if (buildCounterListOperationsResponse < 3) { |
| 1619 o.nextPageToken = "foo"; | 1621 o.nextPageToken = "foo"; |
| 1620 o.operations = buildUnnamed1185(); | 1622 o.operations = buildUnnamed1160(); |
| 1621 } | 1623 } |
| 1622 buildCounterListOperationsResponse--; | 1624 buildCounterListOperationsResponse--; |
| 1623 return o; | 1625 return o; |
| 1624 } | 1626 } |
| 1625 | 1627 |
| 1626 checkListOperationsResponse(api.ListOperationsResponse o) { | 1628 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 1627 buildCounterListOperationsResponse++; | 1629 buildCounterListOperationsResponse++; |
| 1628 if (buildCounterListOperationsResponse < 3) { | 1630 if (buildCounterListOperationsResponse < 3) { |
| 1629 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1631 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1630 checkUnnamed1185(o.operations); | 1632 checkUnnamed1160(o.operations); |
| 1631 } | 1633 } |
| 1632 buildCounterListOperationsResponse--; | 1634 buildCounterListOperationsResponse--; |
| 1633 } | 1635 } |
| 1634 | 1636 |
| 1635 buildUnnamed1186() { | 1637 buildUnnamed1161() { |
| 1636 var o = new core.List<api.Service>(); | 1638 var o = new core.List<api.Service>(); |
| 1637 o.add(buildService()); | 1639 o.add(buildService()); |
| 1638 o.add(buildService()); | 1640 o.add(buildService()); |
| 1639 return o; | 1641 return o; |
| 1640 } | 1642 } |
| 1641 | 1643 |
| 1642 checkUnnamed1186(core.List<api.Service> o) { | 1644 checkUnnamed1161(core.List<api.Service> o) { |
| 1643 unittest.expect(o, unittest.hasLength(2)); | 1645 unittest.expect(o, unittest.hasLength(2)); |
| 1644 checkService(o[0]); | 1646 checkService(o[0]); |
| 1645 checkService(o[1]); | 1647 checkService(o[1]); |
| 1646 } | 1648 } |
| 1647 | 1649 |
| 1648 core.int buildCounterListServiceConfigsResponse = 0; | 1650 core.int buildCounterListServiceConfigsResponse = 0; |
| 1649 buildListServiceConfigsResponse() { | 1651 buildListServiceConfigsResponse() { |
| 1650 var o = new api.ListServiceConfigsResponse(); | 1652 var o = new api.ListServiceConfigsResponse(); |
| 1651 buildCounterListServiceConfigsResponse++; | 1653 buildCounterListServiceConfigsResponse++; |
| 1652 if (buildCounterListServiceConfigsResponse < 3) { | 1654 if (buildCounterListServiceConfigsResponse < 3) { |
| 1653 o.nextPageToken = "foo"; | 1655 o.nextPageToken = "foo"; |
| 1654 o.serviceConfigs = buildUnnamed1186(); | 1656 o.serviceConfigs = buildUnnamed1161(); |
| 1655 } | 1657 } |
| 1656 buildCounterListServiceConfigsResponse--; | 1658 buildCounterListServiceConfigsResponse--; |
| 1657 return o; | 1659 return o; |
| 1658 } | 1660 } |
| 1659 | 1661 |
| 1660 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { | 1662 checkListServiceConfigsResponse(api.ListServiceConfigsResponse o) { |
| 1661 buildCounterListServiceConfigsResponse++; | 1663 buildCounterListServiceConfigsResponse++; |
| 1662 if (buildCounterListServiceConfigsResponse < 3) { | 1664 if (buildCounterListServiceConfigsResponse < 3) { |
| 1663 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1665 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1664 checkUnnamed1186(o.serviceConfigs); | 1666 checkUnnamed1161(o.serviceConfigs); |
| 1665 } | 1667 } |
| 1666 buildCounterListServiceConfigsResponse--; | 1668 buildCounterListServiceConfigsResponse--; |
| 1667 } | 1669 } |
| 1668 | 1670 |
| 1669 buildUnnamed1187() { | 1671 buildUnnamed1162() { |
| 1670 var o = new core.List<api.Rollout>(); | 1672 var o = new core.List<api.Rollout>(); |
| 1671 o.add(buildRollout()); | 1673 o.add(buildRollout()); |
| 1672 o.add(buildRollout()); | 1674 o.add(buildRollout()); |
| 1673 return o; | 1675 return o; |
| 1674 } | 1676 } |
| 1675 | 1677 |
| 1676 checkUnnamed1187(core.List<api.Rollout> o) { | 1678 checkUnnamed1162(core.List<api.Rollout> o) { |
| 1677 unittest.expect(o, unittest.hasLength(2)); | 1679 unittest.expect(o, unittest.hasLength(2)); |
| 1678 checkRollout(o[0]); | 1680 checkRollout(o[0]); |
| 1679 checkRollout(o[1]); | 1681 checkRollout(o[1]); |
| 1680 } | 1682 } |
| 1681 | 1683 |
| 1682 core.int buildCounterListServiceRolloutsResponse = 0; | 1684 core.int buildCounterListServiceRolloutsResponse = 0; |
| 1683 buildListServiceRolloutsResponse() { | 1685 buildListServiceRolloutsResponse() { |
| 1684 var o = new api.ListServiceRolloutsResponse(); | 1686 var o = new api.ListServiceRolloutsResponse(); |
| 1685 buildCounterListServiceRolloutsResponse++; | 1687 buildCounterListServiceRolloutsResponse++; |
| 1686 if (buildCounterListServiceRolloutsResponse < 3) { | 1688 if (buildCounterListServiceRolloutsResponse < 3) { |
| 1687 o.nextPageToken = "foo"; | 1689 o.nextPageToken = "foo"; |
| 1688 o.rollouts = buildUnnamed1187(); | 1690 o.rollouts = buildUnnamed1162(); |
| 1689 } | 1691 } |
| 1690 buildCounterListServiceRolloutsResponse--; | 1692 buildCounterListServiceRolloutsResponse--; |
| 1691 return o; | 1693 return o; |
| 1692 } | 1694 } |
| 1693 | 1695 |
| 1694 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { | 1696 checkListServiceRolloutsResponse(api.ListServiceRolloutsResponse o) { |
| 1695 buildCounterListServiceRolloutsResponse++; | 1697 buildCounterListServiceRolloutsResponse++; |
| 1696 if (buildCounterListServiceRolloutsResponse < 3) { | 1698 if (buildCounterListServiceRolloutsResponse < 3) { |
| 1697 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1699 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1698 checkUnnamed1187(o.rollouts); | 1700 checkUnnamed1162(o.rollouts); |
| 1699 } | 1701 } |
| 1700 buildCounterListServiceRolloutsResponse--; | 1702 buildCounterListServiceRolloutsResponse--; |
| 1701 } | 1703 } |
| 1702 | 1704 |
| 1703 buildUnnamed1188() { | 1705 buildUnnamed1163() { |
| 1704 var o = new core.List<api.ManagedService>(); | 1706 var o = new core.List<api.ManagedService>(); |
| 1705 o.add(buildManagedService()); | 1707 o.add(buildManagedService()); |
| 1706 o.add(buildManagedService()); | 1708 o.add(buildManagedService()); |
| 1707 return o; | 1709 return o; |
| 1708 } | 1710 } |
| 1709 | 1711 |
| 1710 checkUnnamed1188(core.List<api.ManagedService> o) { | 1712 checkUnnamed1163(core.List<api.ManagedService> o) { |
| 1711 unittest.expect(o, unittest.hasLength(2)); | 1713 unittest.expect(o, unittest.hasLength(2)); |
| 1712 checkManagedService(o[0]); | 1714 checkManagedService(o[0]); |
| 1713 checkManagedService(o[1]); | 1715 checkManagedService(o[1]); |
| 1714 } | 1716 } |
| 1715 | 1717 |
| 1716 core.int buildCounterListServicesResponse = 0; | 1718 core.int buildCounterListServicesResponse = 0; |
| 1717 buildListServicesResponse() { | 1719 buildListServicesResponse() { |
| 1718 var o = new api.ListServicesResponse(); | 1720 var o = new api.ListServicesResponse(); |
| 1719 buildCounterListServicesResponse++; | 1721 buildCounterListServicesResponse++; |
| 1720 if (buildCounterListServicesResponse < 3) { | 1722 if (buildCounterListServicesResponse < 3) { |
| 1721 o.nextPageToken = "foo"; | 1723 o.nextPageToken = "foo"; |
| 1722 o.services = buildUnnamed1188(); | 1724 o.services = buildUnnamed1163(); |
| 1723 } | 1725 } |
| 1724 buildCounterListServicesResponse--; | 1726 buildCounterListServicesResponse--; |
| 1725 return o; | 1727 return o; |
| 1726 } | 1728 } |
| 1727 | 1729 |
| 1728 checkListServicesResponse(api.ListServicesResponse o) { | 1730 checkListServicesResponse(api.ListServicesResponse o) { |
| 1729 buildCounterListServicesResponse++; | 1731 buildCounterListServicesResponse++; |
| 1730 if (buildCounterListServicesResponse < 3) { | 1732 if (buildCounterListServicesResponse < 3) { |
| 1731 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1733 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1732 checkUnnamed1188(o.services); | 1734 checkUnnamed1163(o.services); |
| 1733 } | 1735 } |
| 1734 buildCounterListServicesResponse--; | 1736 buildCounterListServicesResponse--; |
| 1735 } | 1737 } |
| 1736 | 1738 |
| 1737 core.int buildCounterLogConfig = 0; | 1739 core.int buildCounterLogConfig = 0; |
| 1738 buildLogConfig() { | 1740 buildLogConfig() { |
| 1739 var o = new api.LogConfig(); | 1741 var o = new api.LogConfig(); |
| 1740 buildCounterLogConfig++; | 1742 buildCounterLogConfig++; |
| 1741 if (buildCounterLogConfig < 3) { | 1743 if (buildCounterLogConfig < 3) { |
| 1742 o.cloudAudit = buildCloudAuditOptions(); | 1744 o.cloudAudit = buildCloudAuditOptions(); |
| 1743 o.counter = buildCounterOptions(); | 1745 o.counter = buildCounterOptions(); |
| 1744 o.dataAccess = buildDataAccessOptions(); | 1746 o.dataAccess = buildDataAccessOptions(); |
| 1745 } | 1747 } |
| 1746 buildCounterLogConfig--; | 1748 buildCounterLogConfig--; |
| 1747 return o; | 1749 return o; |
| 1748 } | 1750 } |
| 1749 | 1751 |
| 1750 checkLogConfig(api.LogConfig o) { | 1752 checkLogConfig(api.LogConfig o) { |
| 1751 buildCounterLogConfig++; | 1753 buildCounterLogConfig++; |
| 1752 if (buildCounterLogConfig < 3) { | 1754 if (buildCounterLogConfig < 3) { |
| 1753 checkCloudAuditOptions(o.cloudAudit); | 1755 checkCloudAuditOptions(o.cloudAudit); |
| 1754 checkCounterOptions(o.counter); | 1756 checkCounterOptions(o.counter); |
| 1755 checkDataAccessOptions(o.dataAccess); | 1757 checkDataAccessOptions(o.dataAccess); |
| 1756 } | 1758 } |
| 1757 buildCounterLogConfig--; | 1759 buildCounterLogConfig--; |
| 1758 } | 1760 } |
| 1759 | 1761 |
| 1760 buildUnnamed1189() { | 1762 buildUnnamed1164() { |
| 1761 var o = new core.List<api.LabelDescriptor>(); | 1763 var o = new core.List<api.LabelDescriptor>(); |
| 1762 o.add(buildLabelDescriptor()); | 1764 o.add(buildLabelDescriptor()); |
| 1763 o.add(buildLabelDescriptor()); | 1765 o.add(buildLabelDescriptor()); |
| 1764 return o; | 1766 return o; |
| 1765 } | 1767 } |
| 1766 | 1768 |
| 1767 checkUnnamed1189(core.List<api.LabelDescriptor> o) { | 1769 checkUnnamed1164(core.List<api.LabelDescriptor> o) { |
| 1768 unittest.expect(o, unittest.hasLength(2)); | 1770 unittest.expect(o, unittest.hasLength(2)); |
| 1769 checkLabelDescriptor(o[0]); | 1771 checkLabelDescriptor(o[0]); |
| 1770 checkLabelDescriptor(o[1]); | 1772 checkLabelDescriptor(o[1]); |
| 1771 } | 1773 } |
| 1772 | 1774 |
| 1773 core.int buildCounterLogDescriptor = 0; | 1775 core.int buildCounterLogDescriptor = 0; |
| 1774 buildLogDescriptor() { | 1776 buildLogDescriptor() { |
| 1775 var o = new api.LogDescriptor(); | 1777 var o = new api.LogDescriptor(); |
| 1776 buildCounterLogDescriptor++; | 1778 buildCounterLogDescriptor++; |
| 1777 if (buildCounterLogDescriptor < 3) { | 1779 if (buildCounterLogDescriptor < 3) { |
| 1778 o.description = "foo"; | 1780 o.description = "foo"; |
| 1779 o.displayName = "foo"; | 1781 o.displayName = "foo"; |
| 1780 o.labels = buildUnnamed1189(); | 1782 o.labels = buildUnnamed1164(); |
| 1781 o.name = "foo"; | 1783 o.name = "foo"; |
| 1782 } | 1784 } |
| 1783 buildCounterLogDescriptor--; | 1785 buildCounterLogDescriptor--; |
| 1784 return o; | 1786 return o; |
| 1785 } | 1787 } |
| 1786 | 1788 |
| 1787 checkLogDescriptor(api.LogDescriptor o) { | 1789 checkLogDescriptor(api.LogDescriptor o) { |
| 1788 buildCounterLogDescriptor++; | 1790 buildCounterLogDescriptor++; |
| 1789 if (buildCounterLogDescriptor < 3) { | 1791 if (buildCounterLogDescriptor < 3) { |
| 1790 unittest.expect(o.description, unittest.equals('foo')); | 1792 unittest.expect(o.description, unittest.equals('foo')); |
| 1791 unittest.expect(o.displayName, unittest.equals('foo')); | 1793 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1792 checkUnnamed1189(o.labels); | 1794 checkUnnamed1164(o.labels); |
| 1793 unittest.expect(o.name, unittest.equals('foo')); | 1795 unittest.expect(o.name, unittest.equals('foo')); |
| 1794 } | 1796 } |
| 1795 buildCounterLogDescriptor--; | 1797 buildCounterLogDescriptor--; |
| 1796 } | 1798 } |
| 1797 | 1799 |
| 1798 buildUnnamed1190() { | 1800 buildUnnamed1165() { |
| 1799 var o = new core.List<api.LoggingDestination>(); | 1801 var o = new core.List<api.LoggingDestination>(); |
| 1800 o.add(buildLoggingDestination()); | 1802 o.add(buildLoggingDestination()); |
| 1801 o.add(buildLoggingDestination()); | 1803 o.add(buildLoggingDestination()); |
| 1802 return o; | 1804 return o; |
| 1803 } | 1805 } |
| 1804 | 1806 |
| 1805 checkUnnamed1190(core.List<api.LoggingDestination> o) { | 1807 checkUnnamed1165(core.List<api.LoggingDestination> o) { |
| 1806 unittest.expect(o, unittest.hasLength(2)); | 1808 unittest.expect(o, unittest.hasLength(2)); |
| 1807 checkLoggingDestination(o[0]); | 1809 checkLoggingDestination(o[0]); |
| 1808 checkLoggingDestination(o[1]); | 1810 checkLoggingDestination(o[1]); |
| 1809 } | 1811 } |
| 1810 | 1812 |
| 1811 buildUnnamed1191() { | 1813 buildUnnamed1166() { |
| 1812 var o = new core.List<api.LoggingDestination>(); | 1814 var o = new core.List<api.LoggingDestination>(); |
| 1813 o.add(buildLoggingDestination()); | 1815 o.add(buildLoggingDestination()); |
| 1814 o.add(buildLoggingDestination()); | 1816 o.add(buildLoggingDestination()); |
| 1815 return o; | 1817 return o; |
| 1816 } | 1818 } |
| 1817 | 1819 |
| 1818 checkUnnamed1191(core.List<api.LoggingDestination> o) { | 1820 checkUnnamed1166(core.List<api.LoggingDestination> o) { |
| 1819 unittest.expect(o, unittest.hasLength(2)); | 1821 unittest.expect(o, unittest.hasLength(2)); |
| 1820 checkLoggingDestination(o[0]); | 1822 checkLoggingDestination(o[0]); |
| 1821 checkLoggingDestination(o[1]); | 1823 checkLoggingDestination(o[1]); |
| 1822 } | 1824 } |
| 1823 | 1825 |
| 1824 core.int buildCounterLogging = 0; | 1826 core.int buildCounterLogging = 0; |
| 1825 buildLogging() { | 1827 buildLogging() { |
| 1826 var o = new api.Logging(); | 1828 var o = new api.Logging(); |
| 1827 buildCounterLogging++; | 1829 buildCounterLogging++; |
| 1828 if (buildCounterLogging < 3) { | 1830 if (buildCounterLogging < 3) { |
| 1829 o.consumerDestinations = buildUnnamed1190(); | 1831 o.consumerDestinations = buildUnnamed1165(); |
| 1830 o.producerDestinations = buildUnnamed1191(); | 1832 o.producerDestinations = buildUnnamed1166(); |
| 1831 } | 1833 } |
| 1832 buildCounterLogging--; | 1834 buildCounterLogging--; |
| 1833 return o; | 1835 return o; |
| 1834 } | 1836 } |
| 1835 | 1837 |
| 1836 checkLogging(api.Logging o) { | 1838 checkLogging(api.Logging o) { |
| 1837 buildCounterLogging++; | 1839 buildCounterLogging++; |
| 1838 if (buildCounterLogging < 3) { | 1840 if (buildCounterLogging < 3) { |
| 1839 checkUnnamed1190(o.consumerDestinations); | 1841 checkUnnamed1165(o.consumerDestinations); |
| 1840 checkUnnamed1191(o.producerDestinations); | 1842 checkUnnamed1166(o.producerDestinations); |
| 1841 } | 1843 } |
| 1842 buildCounterLogging--; | 1844 buildCounterLogging--; |
| 1843 } | 1845 } |
| 1844 | 1846 |
| 1845 buildUnnamed1192() { | 1847 buildUnnamed1167() { |
| 1846 var o = new core.List<core.String>(); | 1848 var o = new core.List<core.String>(); |
| 1847 o.add("foo"); | 1849 o.add("foo"); |
| 1848 o.add("foo"); | 1850 o.add("foo"); |
| 1849 return o; | 1851 return o; |
| 1850 } | 1852 } |
| 1851 | 1853 |
| 1852 checkUnnamed1192(core.List<core.String> o) { | 1854 checkUnnamed1167(core.List<core.String> o) { |
| 1853 unittest.expect(o, unittest.hasLength(2)); | 1855 unittest.expect(o, unittest.hasLength(2)); |
| 1854 unittest.expect(o[0], unittest.equals('foo')); | 1856 unittest.expect(o[0], unittest.equals('foo')); |
| 1855 unittest.expect(o[1], unittest.equals('foo')); | 1857 unittest.expect(o[1], unittest.equals('foo')); |
| 1856 } | 1858 } |
| 1857 | 1859 |
| 1858 core.int buildCounterLoggingDestination = 0; | 1860 core.int buildCounterLoggingDestination = 0; |
| 1859 buildLoggingDestination() { | 1861 buildLoggingDestination() { |
| 1860 var o = new api.LoggingDestination(); | 1862 var o = new api.LoggingDestination(); |
| 1861 buildCounterLoggingDestination++; | 1863 buildCounterLoggingDestination++; |
| 1862 if (buildCounterLoggingDestination < 3) { | 1864 if (buildCounterLoggingDestination < 3) { |
| 1863 o.logs = buildUnnamed1192(); | 1865 o.logs = buildUnnamed1167(); |
| 1864 o.monitoredResource = "foo"; | 1866 o.monitoredResource = "foo"; |
| 1865 } | 1867 } |
| 1866 buildCounterLoggingDestination--; | 1868 buildCounterLoggingDestination--; |
| 1867 return o; | 1869 return o; |
| 1868 } | 1870 } |
| 1869 | 1871 |
| 1870 checkLoggingDestination(api.LoggingDestination o) { | 1872 checkLoggingDestination(api.LoggingDestination o) { |
| 1871 buildCounterLoggingDestination++; | 1873 buildCounterLoggingDestination++; |
| 1872 if (buildCounterLoggingDestination < 3) { | 1874 if (buildCounterLoggingDestination < 3) { |
| 1873 checkUnnamed1192(o.logs); | 1875 checkUnnamed1167(o.logs); |
| 1874 unittest.expect(o.monitoredResource, unittest.equals('foo')); | 1876 unittest.expect(o.monitoredResource, unittest.equals('foo')); |
| 1875 } | 1877 } |
| 1876 buildCounterLoggingDestination--; | 1878 buildCounterLoggingDestination--; |
| 1877 } | 1879 } |
| 1878 | 1880 |
| 1879 core.int buildCounterManagedService = 0; | 1881 core.int buildCounterManagedService = 0; |
| 1880 buildManagedService() { | 1882 buildManagedService() { |
| 1881 var o = new api.ManagedService(); | 1883 var o = new api.ManagedService(); |
| 1882 buildCounterManagedService++; | 1884 buildCounterManagedService++; |
| 1883 if (buildCounterManagedService < 3) { | 1885 if (buildCounterManagedService < 3) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1919 unittest.expect(o.completeNotification, unittest.isTrue); | 1921 unittest.expect(o.completeNotification, unittest.isTrue); |
| 1920 unittest.expect(o.downloadService, unittest.equals('foo')); | 1922 unittest.expect(o.downloadService, unittest.equals('foo')); |
| 1921 unittest.expect(o.dropzone, unittest.equals('foo')); | 1923 unittest.expect(o.dropzone, unittest.equals('foo')); |
| 1922 unittest.expect(o.enabled, unittest.isTrue); | 1924 unittest.expect(o.enabled, unittest.isTrue); |
| 1923 unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo')); | 1925 unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo')); |
| 1924 unittest.expect(o.useDirectDownload, unittest.isTrue); | 1926 unittest.expect(o.useDirectDownload, unittest.isTrue); |
| 1925 } | 1927 } |
| 1926 buildCounterMediaDownload--; | 1928 buildCounterMediaDownload--; |
| 1927 } | 1929 } |
| 1928 | 1930 |
| 1929 buildUnnamed1193() { | 1931 buildUnnamed1168() { |
| 1930 var o = new core.List<core.String>(); | 1932 var o = new core.List<core.String>(); |
| 1931 o.add("foo"); | 1933 o.add("foo"); |
| 1932 o.add("foo"); | 1934 o.add("foo"); |
| 1933 return o; | 1935 return o; |
| 1934 } | 1936 } |
| 1935 | 1937 |
| 1936 checkUnnamed1193(core.List<core.String> o) { | 1938 checkUnnamed1168(core.List<core.String> o) { |
| 1937 unittest.expect(o, unittest.hasLength(2)); | 1939 unittest.expect(o, unittest.hasLength(2)); |
| 1938 unittest.expect(o[0], unittest.equals('foo')); | 1940 unittest.expect(o[0], unittest.equals('foo')); |
| 1939 unittest.expect(o[1], unittest.equals('foo')); | 1941 unittest.expect(o[1], unittest.equals('foo')); |
| 1940 } | 1942 } |
| 1941 | 1943 |
| 1942 core.int buildCounterMediaUpload = 0; | 1944 core.int buildCounterMediaUpload = 0; |
| 1943 buildMediaUpload() { | 1945 buildMediaUpload() { |
| 1944 var o = new api.MediaUpload(); | 1946 var o = new api.MediaUpload(); |
| 1945 buildCounterMediaUpload++; | 1947 buildCounterMediaUpload++; |
| 1946 if (buildCounterMediaUpload < 3) { | 1948 if (buildCounterMediaUpload < 3) { |
| 1947 o.completeNotification = true; | 1949 o.completeNotification = true; |
| 1948 o.dropzone = "foo"; | 1950 o.dropzone = "foo"; |
| 1949 o.enabled = true; | 1951 o.enabled = true; |
| 1950 o.maxSize = "foo"; | 1952 o.maxSize = "foo"; |
| 1951 o.mimeTypes = buildUnnamed1193(); | 1953 o.mimeTypes = buildUnnamed1168(); |
| 1952 o.progressNotification = true; | 1954 o.progressNotification = true; |
| 1953 o.startNotification = true; | 1955 o.startNotification = true; |
| 1954 o.uploadService = "foo"; | 1956 o.uploadService = "foo"; |
| 1955 } | 1957 } |
| 1956 buildCounterMediaUpload--; | 1958 buildCounterMediaUpload--; |
| 1957 return o; | 1959 return o; |
| 1958 } | 1960 } |
| 1959 | 1961 |
| 1960 checkMediaUpload(api.MediaUpload o) { | 1962 checkMediaUpload(api.MediaUpload o) { |
| 1961 buildCounterMediaUpload++; | 1963 buildCounterMediaUpload++; |
| 1962 if (buildCounterMediaUpload < 3) { | 1964 if (buildCounterMediaUpload < 3) { |
| 1963 unittest.expect(o.completeNotification, unittest.isTrue); | 1965 unittest.expect(o.completeNotification, unittest.isTrue); |
| 1964 unittest.expect(o.dropzone, unittest.equals('foo')); | 1966 unittest.expect(o.dropzone, unittest.equals('foo')); |
| 1965 unittest.expect(o.enabled, unittest.isTrue); | 1967 unittest.expect(o.enabled, unittest.isTrue); |
| 1966 unittest.expect(o.maxSize, unittest.equals('foo')); | 1968 unittest.expect(o.maxSize, unittest.equals('foo')); |
| 1967 checkUnnamed1193(o.mimeTypes); | 1969 checkUnnamed1168(o.mimeTypes); |
| 1968 unittest.expect(o.progressNotification, unittest.isTrue); | 1970 unittest.expect(o.progressNotification, unittest.isTrue); |
| 1969 unittest.expect(o.startNotification, unittest.isTrue); | 1971 unittest.expect(o.startNotification, unittest.isTrue); |
| 1970 unittest.expect(o.uploadService, unittest.equals('foo')); | 1972 unittest.expect(o.uploadService, unittest.equals('foo')); |
| 1971 } | 1973 } |
| 1972 buildCounterMediaUpload--; | 1974 buildCounterMediaUpload--; |
| 1973 } | 1975 } |
| 1974 | 1976 |
| 1975 buildUnnamed1194() { | 1977 buildUnnamed1169() { |
| 1976 var o = new core.List<api.Option>(); | 1978 var o = new core.List<api.Option>(); |
| 1977 o.add(buildOption()); | 1979 o.add(buildOption()); |
| 1978 o.add(buildOption()); | 1980 o.add(buildOption()); |
| 1979 return o; | 1981 return o; |
| 1980 } | 1982 } |
| 1981 | 1983 |
| 1982 checkUnnamed1194(core.List<api.Option> o) { | 1984 checkUnnamed1169(core.List<api.Option> o) { |
| 1983 unittest.expect(o, unittest.hasLength(2)); | 1985 unittest.expect(o, unittest.hasLength(2)); |
| 1984 checkOption(o[0]); | 1986 checkOption(o[0]); |
| 1985 checkOption(o[1]); | 1987 checkOption(o[1]); |
| 1986 } | 1988 } |
| 1987 | 1989 |
| 1988 core.int buildCounterMethod = 0; | 1990 core.int buildCounterMethod = 0; |
| 1989 buildMethod() { | 1991 buildMethod() { |
| 1990 var o = new api.Method(); | 1992 var o = new api.Method(); |
| 1991 buildCounterMethod++; | 1993 buildCounterMethod++; |
| 1992 if (buildCounterMethod < 3) { | 1994 if (buildCounterMethod < 3) { |
| 1993 o.name = "foo"; | 1995 o.name = "foo"; |
| 1994 o.options = buildUnnamed1194(); | 1996 o.options = buildUnnamed1169(); |
| 1995 o.requestStreaming = true; | 1997 o.requestStreaming = true; |
| 1996 o.requestTypeUrl = "foo"; | 1998 o.requestTypeUrl = "foo"; |
| 1997 o.responseStreaming = true; | 1999 o.responseStreaming = true; |
| 1998 o.responseTypeUrl = "foo"; | 2000 o.responseTypeUrl = "foo"; |
| 1999 o.syntax = "foo"; | 2001 o.syntax = "foo"; |
| 2000 } | 2002 } |
| 2001 buildCounterMethod--; | 2003 buildCounterMethod--; |
| 2002 return o; | 2004 return o; |
| 2003 } | 2005 } |
| 2004 | 2006 |
| 2005 checkMethod(api.Method o) { | 2007 checkMethod(api.Method o) { |
| 2006 buildCounterMethod++; | 2008 buildCounterMethod++; |
| 2007 if (buildCounterMethod < 3) { | 2009 if (buildCounterMethod < 3) { |
| 2008 unittest.expect(o.name, unittest.equals('foo')); | 2010 unittest.expect(o.name, unittest.equals('foo')); |
| 2009 checkUnnamed1194(o.options); | 2011 checkUnnamed1169(o.options); |
| 2010 unittest.expect(o.requestStreaming, unittest.isTrue); | 2012 unittest.expect(o.requestStreaming, unittest.isTrue); |
| 2011 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); | 2013 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); |
| 2012 unittest.expect(o.responseStreaming, unittest.isTrue); | 2014 unittest.expect(o.responseStreaming, unittest.isTrue); |
| 2013 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); | 2015 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); |
| 2014 unittest.expect(o.syntax, unittest.equals('foo')); | 2016 unittest.expect(o.syntax, unittest.equals('foo')); |
| 2015 } | 2017 } |
| 2016 buildCounterMethod--; | 2018 buildCounterMethod--; |
| 2017 } | 2019 } |
| 2018 | 2020 |
| 2019 buildUnnamed1195() { | 2021 buildUnnamed1170() { |
| 2020 var o = new core.List<api.LabelDescriptor>(); | 2022 var o = new core.List<api.LabelDescriptor>(); |
| 2021 o.add(buildLabelDescriptor()); | 2023 o.add(buildLabelDescriptor()); |
| 2022 o.add(buildLabelDescriptor()); | 2024 o.add(buildLabelDescriptor()); |
| 2023 return o; | 2025 return o; |
| 2024 } | 2026 } |
| 2025 | 2027 |
| 2026 checkUnnamed1195(core.List<api.LabelDescriptor> o) { | 2028 checkUnnamed1170(core.List<api.LabelDescriptor> o) { |
| 2027 unittest.expect(o, unittest.hasLength(2)); | 2029 unittest.expect(o, unittest.hasLength(2)); |
| 2028 checkLabelDescriptor(o[0]); | 2030 checkLabelDescriptor(o[0]); |
| 2029 checkLabelDescriptor(o[1]); | 2031 checkLabelDescriptor(o[1]); |
| 2030 } | 2032 } |
| 2031 | 2033 |
| 2032 core.int buildCounterMetricDescriptor = 0; | 2034 core.int buildCounterMetricDescriptor = 0; |
| 2033 buildMetricDescriptor() { | 2035 buildMetricDescriptor() { |
| 2034 var o = new api.MetricDescriptor(); | 2036 var o = new api.MetricDescriptor(); |
| 2035 buildCounterMetricDescriptor++; | 2037 buildCounterMetricDescriptor++; |
| 2036 if (buildCounterMetricDescriptor < 3) { | 2038 if (buildCounterMetricDescriptor < 3) { |
| 2037 o.description = "foo"; | 2039 o.description = "foo"; |
| 2038 o.displayName = "foo"; | 2040 o.displayName = "foo"; |
| 2039 o.labels = buildUnnamed1195(); | 2041 o.labels = buildUnnamed1170(); |
| 2040 o.metricKind = "foo"; | 2042 o.metricKind = "foo"; |
| 2041 o.name = "foo"; | 2043 o.name = "foo"; |
| 2042 o.type = "foo"; | 2044 o.type = "foo"; |
| 2043 o.unit = "foo"; | 2045 o.unit = "foo"; |
| 2044 o.valueType = "foo"; | 2046 o.valueType = "foo"; |
| 2045 } | 2047 } |
| 2046 buildCounterMetricDescriptor--; | 2048 buildCounterMetricDescriptor--; |
| 2047 return o; | 2049 return o; |
| 2048 } | 2050 } |
| 2049 | 2051 |
| 2050 checkMetricDescriptor(api.MetricDescriptor o) { | 2052 checkMetricDescriptor(api.MetricDescriptor o) { |
| 2051 buildCounterMetricDescriptor++; | 2053 buildCounterMetricDescriptor++; |
| 2052 if (buildCounterMetricDescriptor < 3) { | 2054 if (buildCounterMetricDescriptor < 3) { |
| 2053 unittest.expect(o.description, unittest.equals('foo')); | 2055 unittest.expect(o.description, unittest.equals('foo')); |
| 2054 unittest.expect(o.displayName, unittest.equals('foo')); | 2056 unittest.expect(o.displayName, unittest.equals('foo')); |
| 2055 checkUnnamed1195(o.labels); | 2057 checkUnnamed1170(o.labels); |
| 2056 unittest.expect(o.metricKind, unittest.equals('foo')); | 2058 unittest.expect(o.metricKind, unittest.equals('foo')); |
| 2057 unittest.expect(o.name, unittest.equals('foo')); | 2059 unittest.expect(o.name, unittest.equals('foo')); |
| 2058 unittest.expect(o.type, unittest.equals('foo')); | 2060 unittest.expect(o.type, unittest.equals('foo')); |
| 2059 unittest.expect(o.unit, unittest.equals('foo')); | 2061 unittest.expect(o.unit, unittest.equals('foo')); |
| 2060 unittest.expect(o.valueType, unittest.equals('foo')); | 2062 unittest.expect(o.valueType, unittest.equals('foo')); |
| 2061 } | 2063 } |
| 2062 buildCounterMetricDescriptor--; | 2064 buildCounterMetricDescriptor--; |
| 2063 } | 2065 } |
| 2064 | 2066 |
| 2065 buildUnnamed1196() { | 2067 buildUnnamed1171() { |
| 2066 var o = new core.Map<core.String, core.String>(); | 2068 var o = new core.Map<core.String, core.String>(); |
| 2067 o["x"] = "foo"; | 2069 o["x"] = "foo"; |
| 2068 o["y"] = "foo"; | 2070 o["y"] = "foo"; |
| 2069 return o; | 2071 return o; |
| 2070 } | 2072 } |
| 2071 | 2073 |
| 2072 checkUnnamed1196(core.Map<core.String, core.String> o) { | 2074 checkUnnamed1171(core.Map<core.String, core.String> o) { |
| 2073 unittest.expect(o, unittest.hasLength(2)); | 2075 unittest.expect(o, unittest.hasLength(2)); |
| 2074 unittest.expect(o["x"], unittest.equals('foo')); | 2076 unittest.expect(o["x"], unittest.equals('foo')); |
| 2075 unittest.expect(o["y"], unittest.equals('foo')); | 2077 unittest.expect(o["y"], unittest.equals('foo')); |
| 2076 } | 2078 } |
| 2077 | 2079 |
| 2078 core.int buildCounterMetricRule = 0; | 2080 core.int buildCounterMetricRule = 0; |
| 2079 buildMetricRule() { | 2081 buildMetricRule() { |
| 2080 var o = new api.MetricRule(); | 2082 var o = new api.MetricRule(); |
| 2081 buildCounterMetricRule++; | 2083 buildCounterMetricRule++; |
| 2082 if (buildCounterMetricRule < 3) { | 2084 if (buildCounterMetricRule < 3) { |
| 2083 o.metricCosts = buildUnnamed1196(); | 2085 o.metricCosts = buildUnnamed1171(); |
| 2084 o.selector = "foo"; | 2086 o.selector = "foo"; |
| 2085 } | 2087 } |
| 2086 buildCounterMetricRule--; | 2088 buildCounterMetricRule--; |
| 2087 return o; | 2089 return o; |
| 2088 } | 2090 } |
| 2089 | 2091 |
| 2090 checkMetricRule(api.MetricRule o) { | 2092 checkMetricRule(api.MetricRule o) { |
| 2091 buildCounterMetricRule++; | 2093 buildCounterMetricRule++; |
| 2092 if (buildCounterMetricRule < 3) { | 2094 if (buildCounterMetricRule < 3) { |
| 2093 checkUnnamed1196(o.metricCosts); | 2095 checkUnnamed1171(o.metricCosts); |
| 2094 unittest.expect(o.selector, unittest.equals('foo')); | 2096 unittest.expect(o.selector, unittest.equals('foo')); |
| 2095 } | 2097 } |
| 2096 buildCounterMetricRule--; | 2098 buildCounterMetricRule--; |
| 2097 } | 2099 } |
| 2098 | 2100 |
| 2099 core.int buildCounterMixin = 0; | 2101 core.int buildCounterMixin = 0; |
| 2100 buildMixin() { | 2102 buildMixin() { |
| 2101 var o = new api.Mixin(); | 2103 var o = new api.Mixin(); |
| 2102 buildCounterMixin++; | 2104 buildCounterMixin++; |
| 2103 if (buildCounterMixin < 3) { | 2105 if (buildCounterMixin < 3) { |
| 2104 o.name = "foo"; | 2106 o.name = "foo"; |
| 2105 o.root = "foo"; | 2107 o.root = "foo"; |
| 2106 } | 2108 } |
| 2107 buildCounterMixin--; | 2109 buildCounterMixin--; |
| 2108 return o; | 2110 return o; |
| 2109 } | 2111 } |
| 2110 | 2112 |
| 2111 checkMixin(api.Mixin o) { | 2113 checkMixin(api.Mixin o) { |
| 2112 buildCounterMixin++; | 2114 buildCounterMixin++; |
| 2113 if (buildCounterMixin < 3) { | 2115 if (buildCounterMixin < 3) { |
| 2114 unittest.expect(o.name, unittest.equals('foo')); | 2116 unittest.expect(o.name, unittest.equals('foo')); |
| 2115 unittest.expect(o.root, unittest.equals('foo')); | 2117 unittest.expect(o.root, unittest.equals('foo')); |
| 2116 } | 2118 } |
| 2117 buildCounterMixin--; | 2119 buildCounterMixin--; |
| 2118 } | 2120 } |
| 2119 | 2121 |
| 2120 buildUnnamed1197() { | 2122 buildUnnamed1172() { |
| 2121 var o = new core.List<api.LabelDescriptor>(); | 2123 var o = new core.List<api.LabelDescriptor>(); |
| 2122 o.add(buildLabelDescriptor()); | 2124 o.add(buildLabelDescriptor()); |
| 2123 o.add(buildLabelDescriptor()); | 2125 o.add(buildLabelDescriptor()); |
| 2124 return o; | 2126 return o; |
| 2125 } | 2127 } |
| 2126 | 2128 |
| 2127 checkUnnamed1197(core.List<api.LabelDescriptor> o) { | 2129 checkUnnamed1172(core.List<api.LabelDescriptor> o) { |
| 2128 unittest.expect(o, unittest.hasLength(2)); | 2130 unittest.expect(o, unittest.hasLength(2)); |
| 2129 checkLabelDescriptor(o[0]); | 2131 checkLabelDescriptor(o[0]); |
| 2130 checkLabelDescriptor(o[1]); | 2132 checkLabelDescriptor(o[1]); |
| 2131 } | 2133 } |
| 2132 | 2134 |
| 2133 core.int buildCounterMonitoredResourceDescriptor = 0; | 2135 core.int buildCounterMonitoredResourceDescriptor = 0; |
| 2134 buildMonitoredResourceDescriptor() { | 2136 buildMonitoredResourceDescriptor() { |
| 2135 var o = new api.MonitoredResourceDescriptor(); | 2137 var o = new api.MonitoredResourceDescriptor(); |
| 2136 buildCounterMonitoredResourceDescriptor++; | 2138 buildCounterMonitoredResourceDescriptor++; |
| 2137 if (buildCounterMonitoredResourceDescriptor < 3) { | 2139 if (buildCounterMonitoredResourceDescriptor < 3) { |
| 2138 o.description = "foo"; | 2140 o.description = "foo"; |
| 2139 o.displayName = "foo"; | 2141 o.displayName = "foo"; |
| 2140 o.labels = buildUnnamed1197(); | 2142 o.labels = buildUnnamed1172(); |
| 2141 o.name = "foo"; | 2143 o.name = "foo"; |
| 2142 o.type = "foo"; | 2144 o.type = "foo"; |
| 2143 } | 2145 } |
| 2144 buildCounterMonitoredResourceDescriptor--; | 2146 buildCounterMonitoredResourceDescriptor--; |
| 2145 return o; | 2147 return o; |
| 2146 } | 2148 } |
| 2147 | 2149 |
| 2148 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { | 2150 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { |
| 2149 buildCounterMonitoredResourceDescriptor++; | 2151 buildCounterMonitoredResourceDescriptor++; |
| 2150 if (buildCounterMonitoredResourceDescriptor < 3) { | 2152 if (buildCounterMonitoredResourceDescriptor < 3) { |
| 2151 unittest.expect(o.description, unittest.equals('foo')); | 2153 unittest.expect(o.description, unittest.equals('foo')); |
| 2152 unittest.expect(o.displayName, unittest.equals('foo')); | 2154 unittest.expect(o.displayName, unittest.equals('foo')); |
| 2153 checkUnnamed1197(o.labels); | 2155 checkUnnamed1172(o.labels); |
| 2154 unittest.expect(o.name, unittest.equals('foo')); | 2156 unittest.expect(o.name, unittest.equals('foo')); |
| 2155 unittest.expect(o.type, unittest.equals('foo')); | 2157 unittest.expect(o.type, unittest.equals('foo')); |
| 2156 } | 2158 } |
| 2157 buildCounterMonitoredResourceDescriptor--; | 2159 buildCounterMonitoredResourceDescriptor--; |
| 2158 } | 2160 } |
| 2159 | 2161 |
| 2160 buildUnnamed1198() { | 2162 buildUnnamed1173() { |
| 2161 var o = new core.List<api.MonitoringDestination>(); | 2163 var o = new core.List<api.MonitoringDestination>(); |
| 2162 o.add(buildMonitoringDestination()); | 2164 o.add(buildMonitoringDestination()); |
| 2163 o.add(buildMonitoringDestination()); | 2165 o.add(buildMonitoringDestination()); |
| 2164 return o; | 2166 return o; |
| 2165 } | 2167 } |
| 2166 | 2168 |
| 2167 checkUnnamed1198(core.List<api.MonitoringDestination> o) { | 2169 checkUnnamed1173(core.List<api.MonitoringDestination> o) { |
| 2168 unittest.expect(o, unittest.hasLength(2)); | 2170 unittest.expect(o, unittest.hasLength(2)); |
| 2169 checkMonitoringDestination(o[0]); | 2171 checkMonitoringDestination(o[0]); |
| 2170 checkMonitoringDestination(o[1]); | 2172 checkMonitoringDestination(o[1]); |
| 2171 } | 2173 } |
| 2172 | 2174 |
| 2173 buildUnnamed1199() { | 2175 buildUnnamed1174() { |
| 2174 var o = new core.List<api.MonitoringDestination>(); | 2176 var o = new core.List<api.MonitoringDestination>(); |
| 2175 o.add(buildMonitoringDestination()); | 2177 o.add(buildMonitoringDestination()); |
| 2176 o.add(buildMonitoringDestination()); | 2178 o.add(buildMonitoringDestination()); |
| 2177 return o; | 2179 return o; |
| 2178 } | 2180 } |
| 2179 | 2181 |
| 2180 checkUnnamed1199(core.List<api.MonitoringDestination> o) { | 2182 checkUnnamed1174(core.List<api.MonitoringDestination> o) { |
| 2181 unittest.expect(o, unittest.hasLength(2)); | 2183 unittest.expect(o, unittest.hasLength(2)); |
| 2182 checkMonitoringDestination(o[0]); | 2184 checkMonitoringDestination(o[0]); |
| 2183 checkMonitoringDestination(o[1]); | 2185 checkMonitoringDestination(o[1]); |
| 2184 } | 2186 } |
| 2185 | 2187 |
| 2186 core.int buildCounterMonitoring = 0; | 2188 core.int buildCounterMonitoring = 0; |
| 2187 buildMonitoring() { | 2189 buildMonitoring() { |
| 2188 var o = new api.Monitoring(); | 2190 var o = new api.Monitoring(); |
| 2189 buildCounterMonitoring++; | 2191 buildCounterMonitoring++; |
| 2190 if (buildCounterMonitoring < 3) { | 2192 if (buildCounterMonitoring < 3) { |
| 2191 o.consumerDestinations = buildUnnamed1198(); | 2193 o.consumerDestinations = buildUnnamed1173(); |
| 2192 o.producerDestinations = buildUnnamed1199(); | 2194 o.producerDestinations = buildUnnamed1174(); |
| 2193 } | 2195 } |
| 2194 buildCounterMonitoring--; | 2196 buildCounterMonitoring--; |
| 2195 return o; | 2197 return o; |
| 2196 } | 2198 } |
| 2197 | 2199 |
| 2198 checkMonitoring(api.Monitoring o) { | 2200 checkMonitoring(api.Monitoring o) { |
| 2199 buildCounterMonitoring++; | 2201 buildCounterMonitoring++; |
| 2200 if (buildCounterMonitoring < 3) { | 2202 if (buildCounterMonitoring < 3) { |
| 2201 checkUnnamed1198(o.consumerDestinations); | 2203 checkUnnamed1173(o.consumerDestinations); |
| 2202 checkUnnamed1199(o.producerDestinations); | 2204 checkUnnamed1174(o.producerDestinations); |
| 2203 } | 2205 } |
| 2204 buildCounterMonitoring--; | 2206 buildCounterMonitoring--; |
| 2205 } | 2207 } |
| 2206 | 2208 |
| 2207 buildUnnamed1200() { | 2209 buildUnnamed1175() { |
| 2208 var o = new core.List<core.String>(); | 2210 var o = new core.List<core.String>(); |
| 2209 o.add("foo"); | 2211 o.add("foo"); |
| 2210 o.add("foo"); | 2212 o.add("foo"); |
| 2211 return o; | 2213 return o; |
| 2212 } | 2214 } |
| 2213 | 2215 |
| 2214 checkUnnamed1200(core.List<core.String> o) { | 2216 checkUnnamed1175(core.List<core.String> o) { |
| 2215 unittest.expect(o, unittest.hasLength(2)); | 2217 unittest.expect(o, unittest.hasLength(2)); |
| 2216 unittest.expect(o[0], unittest.equals('foo')); | 2218 unittest.expect(o[0], unittest.equals('foo')); |
| 2217 unittest.expect(o[1], unittest.equals('foo')); | 2219 unittest.expect(o[1], unittest.equals('foo')); |
| 2218 } | 2220 } |
| 2219 | 2221 |
| 2220 core.int buildCounterMonitoringDestination = 0; | 2222 core.int buildCounterMonitoringDestination = 0; |
| 2221 buildMonitoringDestination() { | 2223 buildMonitoringDestination() { |
| 2222 var o = new api.MonitoringDestination(); | 2224 var o = new api.MonitoringDestination(); |
| 2223 buildCounterMonitoringDestination++; | 2225 buildCounterMonitoringDestination++; |
| 2224 if (buildCounterMonitoringDestination < 3) { | 2226 if (buildCounterMonitoringDestination < 3) { |
| 2225 o.metrics = buildUnnamed1200(); | 2227 o.metrics = buildUnnamed1175(); |
| 2226 o.monitoredResource = "foo"; | 2228 o.monitoredResource = "foo"; |
| 2227 } | 2229 } |
| 2228 buildCounterMonitoringDestination--; | 2230 buildCounterMonitoringDestination--; |
| 2229 return o; | 2231 return o; |
| 2230 } | 2232 } |
| 2231 | 2233 |
| 2232 checkMonitoringDestination(api.MonitoringDestination o) { | 2234 checkMonitoringDestination(api.MonitoringDestination o) { |
| 2233 buildCounterMonitoringDestination++; | 2235 buildCounterMonitoringDestination++; |
| 2234 if (buildCounterMonitoringDestination < 3) { | 2236 if (buildCounterMonitoringDestination < 3) { |
| 2235 checkUnnamed1200(o.metrics); | 2237 checkUnnamed1175(o.metrics); |
| 2236 unittest.expect(o.monitoredResource, unittest.equals('foo')); | 2238 unittest.expect(o.monitoredResource, unittest.equals('foo')); |
| 2237 } | 2239 } |
| 2238 buildCounterMonitoringDestination--; | 2240 buildCounterMonitoringDestination--; |
| 2239 } | 2241 } |
| 2240 | 2242 |
| 2241 core.int buildCounterOAuthRequirements = 0; | 2243 core.int buildCounterOAuthRequirements = 0; |
| 2242 buildOAuthRequirements() { | 2244 buildOAuthRequirements() { |
| 2243 var o = new api.OAuthRequirements(); | 2245 var o = new api.OAuthRequirements(); |
| 2244 buildCounterOAuthRequirements++; | 2246 buildCounterOAuthRequirements++; |
| 2245 if (buildCounterOAuthRequirements < 3) { | 2247 if (buildCounterOAuthRequirements < 3) { |
| 2246 o.canonicalScopes = "foo"; | 2248 o.canonicalScopes = "foo"; |
| 2247 } | 2249 } |
| 2248 buildCounterOAuthRequirements--; | 2250 buildCounterOAuthRequirements--; |
| 2249 return o; | 2251 return o; |
| 2250 } | 2252 } |
| 2251 | 2253 |
| 2252 checkOAuthRequirements(api.OAuthRequirements o) { | 2254 checkOAuthRequirements(api.OAuthRequirements o) { |
| 2253 buildCounterOAuthRequirements++; | 2255 buildCounterOAuthRequirements++; |
| 2254 if (buildCounterOAuthRequirements < 3) { | 2256 if (buildCounterOAuthRequirements < 3) { |
| 2255 unittest.expect(o.canonicalScopes, unittest.equals('foo')); | 2257 unittest.expect(o.canonicalScopes, unittest.equals('foo')); |
| 2256 } | 2258 } |
| 2257 buildCounterOAuthRequirements--; | 2259 buildCounterOAuthRequirements--; |
| 2258 } | 2260 } |
| 2259 | 2261 |
| 2260 buildUnnamed1201() { | 2262 buildUnnamed1176() { |
| 2261 var o = new core.Map<core.String, core.Object>(); | 2263 var o = new core.Map<core.String, core.Object>(); |
| 2262 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2264 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2263 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2265 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2264 return o; | 2266 return o; |
| 2265 } | 2267 } |
| 2266 | 2268 |
| 2267 checkUnnamed1201(core.Map<core.String, core.Object> o) { | 2269 checkUnnamed1176(core.Map<core.String, core.Object> o) { |
| 2268 unittest.expect(o, unittest.hasLength(2)); | 2270 unittest.expect(o, unittest.hasLength(2)); |
| 2269 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); | 2271 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); |
| 2270 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); | 2272 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); |
| 2271 } | 2273 } |
| 2272 | 2274 |
| 2273 buildUnnamed1202() { | 2275 buildUnnamed1177() { |
| 2274 var o = new core.Map<core.String, core.Object>(); | 2276 var o = new core.Map<core.String, core.Object>(); |
| 2275 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2277 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2276 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2278 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2277 return o; | 2279 return o; |
| 2278 } | 2280 } |
| 2279 | 2281 |
| 2280 checkUnnamed1202(core.Map<core.String, core.Object> o) { | 2282 checkUnnamed1177(core.Map<core.String, core.Object> o) { |
| 2281 unittest.expect(o, unittest.hasLength(2)); | 2283 unittest.expect(o, unittest.hasLength(2)); |
| 2282 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); | 2284 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); |
| 2283 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); | 2285 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); |
| 2284 } | 2286 } |
| 2285 | 2287 |
| 2286 core.int buildCounterOperation = 0; | 2288 core.int buildCounterOperation = 0; |
| 2287 buildOperation() { | 2289 buildOperation() { |
| 2288 var o = new api.Operation(); | 2290 var o = new api.Operation(); |
| 2289 buildCounterOperation++; | 2291 buildCounterOperation++; |
| 2290 if (buildCounterOperation < 3) { | 2292 if (buildCounterOperation < 3) { |
| 2291 o.done = true; | 2293 o.done = true; |
| 2292 o.error = buildStatus(); | 2294 o.error = buildStatus(); |
| 2293 o.metadata = buildUnnamed1201(); | 2295 o.metadata = buildUnnamed1176(); |
| 2294 o.name = "foo"; | 2296 o.name = "foo"; |
| 2295 o.response = buildUnnamed1202(); | 2297 o.response = buildUnnamed1177(); |
| 2296 } | 2298 } |
| 2297 buildCounterOperation--; | 2299 buildCounterOperation--; |
| 2298 return o; | 2300 return o; |
| 2299 } | 2301 } |
| 2300 | 2302 |
| 2301 checkOperation(api.Operation o) { | 2303 checkOperation(api.Operation o) { |
| 2302 buildCounterOperation++; | 2304 buildCounterOperation++; |
| 2303 if (buildCounterOperation < 3) { | 2305 if (buildCounterOperation < 3) { |
| 2304 unittest.expect(o.done, unittest.isTrue); | 2306 unittest.expect(o.done, unittest.isTrue); |
| 2305 checkStatus(o.error); | 2307 checkStatus(o.error); |
| 2306 checkUnnamed1201(o.metadata); | 2308 checkUnnamed1176(o.metadata); |
| 2307 unittest.expect(o.name, unittest.equals('foo')); | 2309 unittest.expect(o.name, unittest.equals('foo')); |
| 2308 checkUnnamed1202(o.response); | 2310 checkUnnamed1177(o.response); |
| 2309 } | 2311 } |
| 2310 buildCounterOperation--; | 2312 buildCounterOperation--; |
| 2311 } | 2313 } |
| 2312 | 2314 |
| 2313 buildUnnamed1203() { | 2315 buildUnnamed1178() { |
| 2314 var o = new core.List<core.String>(); | 2316 var o = new core.List<core.String>(); |
| 2315 o.add("foo"); | 2317 o.add("foo"); |
| 2316 o.add("foo"); | 2318 o.add("foo"); |
| 2317 return o; | 2319 return o; |
| 2318 } | 2320 } |
| 2319 | 2321 |
| 2320 checkUnnamed1203(core.List<core.String> o) { | 2322 checkUnnamed1178(core.List<core.String> o) { |
| 2321 unittest.expect(o, unittest.hasLength(2)); | 2323 unittest.expect(o, unittest.hasLength(2)); |
| 2322 unittest.expect(o[0], unittest.equals('foo')); | 2324 unittest.expect(o[0], unittest.equals('foo')); |
| 2323 unittest.expect(o[1], unittest.equals('foo')); | 2325 unittest.expect(o[1], unittest.equals('foo')); |
| 2324 } | 2326 } |
| 2325 | 2327 |
| 2326 buildUnnamed1204() { | 2328 buildUnnamed1179() { |
| 2327 var o = new core.List<api.Step>(); | 2329 var o = new core.List<api.Step>(); |
| 2328 o.add(buildStep()); | 2330 o.add(buildStep()); |
| 2329 o.add(buildStep()); | 2331 o.add(buildStep()); |
| 2330 return o; | 2332 return o; |
| 2331 } | 2333 } |
| 2332 | 2334 |
| 2333 checkUnnamed1204(core.List<api.Step> o) { | 2335 checkUnnamed1179(core.List<api.Step> o) { |
| 2334 unittest.expect(o, unittest.hasLength(2)); | 2336 unittest.expect(o, unittest.hasLength(2)); |
| 2335 checkStep(o[0]); | 2337 checkStep(o[0]); |
| 2336 checkStep(o[1]); | 2338 checkStep(o[1]); |
| 2337 } | 2339 } |
| 2338 | 2340 |
| 2339 core.int buildCounterOperationMetadata = 0; | 2341 core.int buildCounterOperationMetadata = 0; |
| 2340 buildOperationMetadata() { | 2342 buildOperationMetadata() { |
| 2341 var o = new api.OperationMetadata(); | 2343 var o = new api.OperationMetadata(); |
| 2342 buildCounterOperationMetadata++; | 2344 buildCounterOperationMetadata++; |
| 2343 if (buildCounterOperationMetadata < 3) { | 2345 if (buildCounterOperationMetadata < 3) { |
| 2344 o.progressPercentage = 42; | 2346 o.progressPercentage = 42; |
| 2345 o.resourceNames = buildUnnamed1203(); | 2347 o.resourceNames = buildUnnamed1178(); |
| 2346 o.startTime = "foo"; | 2348 o.startTime = "foo"; |
| 2347 o.steps = buildUnnamed1204(); | 2349 o.steps = buildUnnamed1179(); |
| 2348 } | 2350 } |
| 2349 buildCounterOperationMetadata--; | 2351 buildCounterOperationMetadata--; |
| 2350 return o; | 2352 return o; |
| 2351 } | 2353 } |
| 2352 | 2354 |
| 2353 checkOperationMetadata(api.OperationMetadata o) { | 2355 checkOperationMetadata(api.OperationMetadata o) { |
| 2354 buildCounterOperationMetadata++; | 2356 buildCounterOperationMetadata++; |
| 2355 if (buildCounterOperationMetadata < 3) { | 2357 if (buildCounterOperationMetadata < 3) { |
| 2356 unittest.expect(o.progressPercentage, unittest.equals(42)); | 2358 unittest.expect(o.progressPercentage, unittest.equals(42)); |
| 2357 checkUnnamed1203(o.resourceNames); | 2359 checkUnnamed1178(o.resourceNames); |
| 2358 unittest.expect(o.startTime, unittest.equals('foo')); | 2360 unittest.expect(o.startTime, unittest.equals('foo')); |
| 2359 checkUnnamed1204(o.steps); | 2361 checkUnnamed1179(o.steps); |
| 2360 } | 2362 } |
| 2361 buildCounterOperationMetadata--; | 2363 buildCounterOperationMetadata--; |
| 2362 } | 2364 } |
| 2363 | 2365 |
| 2364 buildUnnamed1205() { | 2366 buildUnnamed1180() { |
| 2365 var o = new core.Map<core.String, core.Object>(); | 2367 var o = new core.Map<core.String, core.Object>(); |
| 2366 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2368 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2367 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2369 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2368 return o; | 2370 return o; |
| 2369 } | 2371 } |
| 2370 | 2372 |
| 2371 checkUnnamed1205(core.Map<core.String, core.Object> o) { | 2373 checkUnnamed1180(core.Map<core.String, core.Object> o) { |
| 2372 unittest.expect(o, unittest.hasLength(2)); | 2374 unittest.expect(o, unittest.hasLength(2)); |
| 2373 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); | 2375 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); |
| 2374 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); | 2376 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); |
| 2375 } | 2377 } |
| 2376 | 2378 |
| 2377 core.int buildCounterOption = 0; | 2379 core.int buildCounterOption = 0; |
| 2378 buildOption() { | 2380 buildOption() { |
| 2379 var o = new api.Option(); | 2381 var o = new api.Option(); |
| 2380 buildCounterOption++; | 2382 buildCounterOption++; |
| 2381 if (buildCounterOption < 3) { | 2383 if (buildCounterOption < 3) { |
| 2382 o.name = "foo"; | 2384 o.name = "foo"; |
| 2383 o.value = buildUnnamed1205(); | 2385 o.value = buildUnnamed1180(); |
| 2384 } | 2386 } |
| 2385 buildCounterOption--; | 2387 buildCounterOption--; |
| 2386 return o; | 2388 return o; |
| 2387 } | 2389 } |
| 2388 | 2390 |
| 2389 checkOption(api.Option o) { | 2391 checkOption(api.Option o) { |
| 2390 buildCounterOption++; | 2392 buildCounterOption++; |
| 2391 if (buildCounterOption < 3) { | 2393 if (buildCounterOption < 3) { |
| 2392 unittest.expect(o.name, unittest.equals('foo')); | 2394 unittest.expect(o.name, unittest.equals('foo')); |
| 2393 checkUnnamed1205(o.value); | 2395 checkUnnamed1180(o.value); |
| 2394 } | 2396 } |
| 2395 buildCounterOption--; | 2397 buildCounterOption--; |
| 2396 } | 2398 } |
| 2397 | 2399 |
| 2398 buildUnnamed1206() { | 2400 buildUnnamed1181() { |
| 2399 var o = new core.List<api.Page>(); | 2401 var o = new core.List<api.Page>(); |
| 2400 o.add(buildPage()); | 2402 o.add(buildPage()); |
| 2401 o.add(buildPage()); | 2403 o.add(buildPage()); |
| 2402 return o; | 2404 return o; |
| 2403 } | 2405 } |
| 2404 | 2406 |
| 2405 checkUnnamed1206(core.List<api.Page> o) { | 2407 checkUnnamed1181(core.List<api.Page> o) { |
| 2406 unittest.expect(o, unittest.hasLength(2)); | 2408 unittest.expect(o, unittest.hasLength(2)); |
| 2407 checkPage(o[0]); | 2409 checkPage(o[0]); |
| 2408 checkPage(o[1]); | 2410 checkPage(o[1]); |
| 2409 } | 2411 } |
| 2410 | 2412 |
| 2411 core.int buildCounterPage = 0; | 2413 core.int buildCounterPage = 0; |
| 2412 buildPage() { | 2414 buildPage() { |
| 2413 var o = new api.Page(); | 2415 var o = new api.Page(); |
| 2414 buildCounterPage++; | 2416 buildCounterPage++; |
| 2415 if (buildCounterPage < 3) { | 2417 if (buildCounterPage < 3) { |
| 2416 o.content = "foo"; | 2418 o.content = "foo"; |
| 2417 o.name = "foo"; | 2419 o.name = "foo"; |
| 2418 o.subpages = buildUnnamed1206(); | 2420 o.subpages = buildUnnamed1181(); |
| 2419 } | 2421 } |
| 2420 buildCounterPage--; | 2422 buildCounterPage--; |
| 2421 return o; | 2423 return o; |
| 2422 } | 2424 } |
| 2423 | 2425 |
| 2424 checkPage(api.Page o) { | 2426 checkPage(api.Page o) { |
| 2425 buildCounterPage++; | 2427 buildCounterPage++; |
| 2426 if (buildCounterPage < 3) { | 2428 if (buildCounterPage < 3) { |
| 2427 unittest.expect(o.content, unittest.equals('foo')); | 2429 unittest.expect(o.content, unittest.equals('foo')); |
| 2428 unittest.expect(o.name, unittest.equals('foo')); | 2430 unittest.expect(o.name, unittest.equals('foo')); |
| 2429 checkUnnamed1206(o.subpages); | 2431 checkUnnamed1181(o.subpages); |
| 2430 } | 2432 } |
| 2431 buildCounterPage--; | 2433 buildCounterPage--; |
| 2432 } | 2434 } |
| 2433 | 2435 |
| 2434 buildUnnamed1207() { | 2436 buildUnnamed1182() { |
| 2435 var o = new core.List<api.AuditConfig>(); | 2437 var o = new core.List<api.AuditConfig>(); |
| 2436 o.add(buildAuditConfig()); | 2438 o.add(buildAuditConfig()); |
| 2437 o.add(buildAuditConfig()); | 2439 o.add(buildAuditConfig()); |
| 2438 return o; | 2440 return o; |
| 2439 } | 2441 } |
| 2440 | 2442 |
| 2441 checkUnnamed1207(core.List<api.AuditConfig> o) { | 2443 checkUnnamed1182(core.List<api.AuditConfig> o) { |
| 2442 unittest.expect(o, unittest.hasLength(2)); | 2444 unittest.expect(o, unittest.hasLength(2)); |
| 2443 checkAuditConfig(o[0]); | 2445 checkAuditConfig(o[0]); |
| 2444 checkAuditConfig(o[1]); | 2446 checkAuditConfig(o[1]); |
| 2445 } | 2447 } |
| 2446 | 2448 |
| 2447 buildUnnamed1208() { | 2449 buildUnnamed1183() { |
| 2448 var o = new core.List<api.Binding>(); | 2450 var o = new core.List<api.Binding>(); |
| 2449 o.add(buildBinding()); | 2451 o.add(buildBinding()); |
| 2450 o.add(buildBinding()); | 2452 o.add(buildBinding()); |
| 2451 return o; | 2453 return o; |
| 2452 } | 2454 } |
| 2453 | 2455 |
| 2454 checkUnnamed1208(core.List<api.Binding> o) { | 2456 checkUnnamed1183(core.List<api.Binding> o) { |
| 2455 unittest.expect(o, unittest.hasLength(2)); | 2457 unittest.expect(o, unittest.hasLength(2)); |
| 2456 checkBinding(o[0]); | 2458 checkBinding(o[0]); |
| 2457 checkBinding(o[1]); | 2459 checkBinding(o[1]); |
| 2458 } | 2460 } |
| 2459 | 2461 |
| 2460 buildUnnamed1209() { | 2462 buildUnnamed1184() { |
| 2461 var o = new core.List<api.Rule>(); | 2463 var o = new core.List<api.Rule>(); |
| 2462 o.add(buildRule()); | 2464 o.add(buildRule()); |
| 2463 o.add(buildRule()); | 2465 o.add(buildRule()); |
| 2464 return o; | 2466 return o; |
| 2465 } | 2467 } |
| 2466 | 2468 |
| 2467 checkUnnamed1209(core.List<api.Rule> o) { | 2469 checkUnnamed1184(core.List<api.Rule> o) { |
| 2468 unittest.expect(o, unittest.hasLength(2)); | 2470 unittest.expect(o, unittest.hasLength(2)); |
| 2469 checkRule(o[0]); | 2471 checkRule(o[0]); |
| 2470 checkRule(o[1]); | 2472 checkRule(o[1]); |
| 2471 } | 2473 } |
| 2472 | 2474 |
| 2473 core.int buildCounterPolicy = 0; | 2475 core.int buildCounterPolicy = 0; |
| 2474 buildPolicy() { | 2476 buildPolicy() { |
| 2475 var o = new api.Policy(); | 2477 var o = new api.Policy(); |
| 2476 buildCounterPolicy++; | 2478 buildCounterPolicy++; |
| 2477 if (buildCounterPolicy < 3) { | 2479 if (buildCounterPolicy < 3) { |
| 2478 o.auditConfigs = buildUnnamed1207(); | 2480 o.auditConfigs = buildUnnamed1182(); |
| 2479 o.bindings = buildUnnamed1208(); | 2481 o.bindings = buildUnnamed1183(); |
| 2480 o.etag = "foo"; | 2482 o.etag = "foo"; |
| 2481 o.iamOwned = true; | 2483 o.iamOwned = true; |
| 2482 o.rules = buildUnnamed1209(); | 2484 o.rules = buildUnnamed1184(); |
| 2483 o.version = 42; | 2485 o.version = 42; |
| 2484 } | 2486 } |
| 2485 buildCounterPolicy--; | 2487 buildCounterPolicy--; |
| 2486 return o; | 2488 return o; |
| 2487 } | 2489 } |
| 2488 | 2490 |
| 2489 checkPolicy(api.Policy o) { | 2491 checkPolicy(api.Policy o) { |
| 2490 buildCounterPolicy++; | 2492 buildCounterPolicy++; |
| 2491 if (buildCounterPolicy < 3) { | 2493 if (buildCounterPolicy < 3) { |
| 2492 checkUnnamed1207(o.auditConfigs); | 2494 checkUnnamed1182(o.auditConfigs); |
| 2493 checkUnnamed1208(o.bindings); | 2495 checkUnnamed1183(o.bindings); |
| 2494 unittest.expect(o.etag, unittest.equals('foo')); | 2496 unittest.expect(o.etag, unittest.equals('foo')); |
| 2495 unittest.expect(o.iamOwned, unittest.isTrue); | 2497 unittest.expect(o.iamOwned, unittest.isTrue); |
| 2496 checkUnnamed1209(o.rules); | 2498 checkUnnamed1184(o.rules); |
| 2497 unittest.expect(o.version, unittest.equals(42)); | 2499 unittest.expect(o.version, unittest.equals(42)); |
| 2498 } | 2500 } |
| 2499 buildCounterPolicy--; | 2501 buildCounterPolicy--; |
| 2500 } | 2502 } |
| 2501 | 2503 |
| 2502 buildUnnamed1210() { | 2504 buildUnnamed1185() { |
| 2503 var o = new core.List<api.QuotaLimit>(); | 2505 var o = new core.List<api.QuotaLimit>(); |
| 2504 o.add(buildQuotaLimit()); | 2506 o.add(buildQuotaLimit()); |
| 2505 o.add(buildQuotaLimit()); | 2507 o.add(buildQuotaLimit()); |
| 2506 return o; | 2508 return o; |
| 2507 } | 2509 } |
| 2508 | 2510 |
| 2509 checkUnnamed1210(core.List<api.QuotaLimit> o) { | 2511 checkUnnamed1185(core.List<api.QuotaLimit> o) { |
| 2510 unittest.expect(o, unittest.hasLength(2)); | 2512 unittest.expect(o, unittest.hasLength(2)); |
| 2511 checkQuotaLimit(o[0]); | 2513 checkQuotaLimit(o[0]); |
| 2512 checkQuotaLimit(o[1]); | 2514 checkQuotaLimit(o[1]); |
| 2513 } | 2515 } |
| 2514 | 2516 |
| 2515 buildUnnamed1211() { | 2517 buildUnnamed1186() { |
| 2516 var o = new core.List<api.MetricRule>(); | 2518 var o = new core.List<api.MetricRule>(); |
| 2517 o.add(buildMetricRule()); | 2519 o.add(buildMetricRule()); |
| 2518 o.add(buildMetricRule()); | 2520 o.add(buildMetricRule()); |
| 2519 return o; | 2521 return o; |
| 2520 } | 2522 } |
| 2521 | 2523 |
| 2522 checkUnnamed1211(core.List<api.MetricRule> o) { | 2524 checkUnnamed1186(core.List<api.MetricRule> o) { |
| 2523 unittest.expect(o, unittest.hasLength(2)); | 2525 unittest.expect(o, unittest.hasLength(2)); |
| 2524 checkMetricRule(o[0]); | 2526 checkMetricRule(o[0]); |
| 2525 checkMetricRule(o[1]); | 2527 checkMetricRule(o[1]); |
| 2526 } | 2528 } |
| 2527 | 2529 |
| 2528 core.int buildCounterQuota = 0; | 2530 core.int buildCounterQuota = 0; |
| 2529 buildQuota() { | 2531 buildQuota() { |
| 2530 var o = new api.Quota(); | 2532 var o = new api.Quota(); |
| 2531 buildCounterQuota++; | 2533 buildCounterQuota++; |
| 2532 if (buildCounterQuota < 3) { | 2534 if (buildCounterQuota < 3) { |
| 2533 o.limits = buildUnnamed1210(); | 2535 o.limits = buildUnnamed1185(); |
| 2534 o.metricRules = buildUnnamed1211(); | 2536 o.metricRules = buildUnnamed1186(); |
| 2535 } | 2537 } |
| 2536 buildCounterQuota--; | 2538 buildCounterQuota--; |
| 2537 return o; | 2539 return o; |
| 2538 } | 2540 } |
| 2539 | 2541 |
| 2540 checkQuota(api.Quota o) { | 2542 checkQuota(api.Quota o) { |
| 2541 buildCounterQuota++; | 2543 buildCounterQuota++; |
| 2542 if (buildCounterQuota < 3) { | 2544 if (buildCounterQuota < 3) { |
| 2543 checkUnnamed1210(o.limits); | 2545 checkUnnamed1185(o.limits); |
| 2544 checkUnnamed1211(o.metricRules); | 2546 checkUnnamed1186(o.metricRules); |
| 2545 } | 2547 } |
| 2546 buildCounterQuota--; | 2548 buildCounterQuota--; |
| 2547 } | 2549 } |
| 2548 | 2550 |
| 2549 buildUnnamed1212() { | 2551 buildUnnamed1187() { |
| 2550 var o = new core.Map<core.String, core.String>(); | 2552 var o = new core.Map<core.String, core.String>(); |
| 2551 o["x"] = "foo"; | 2553 o["x"] = "foo"; |
| 2552 o["y"] = "foo"; | 2554 o["y"] = "foo"; |
| 2553 return o; | 2555 return o; |
| 2554 } | 2556 } |
| 2555 | 2557 |
| 2556 checkUnnamed1212(core.Map<core.String, core.String> o) { | 2558 checkUnnamed1187(core.Map<core.String, core.String> o) { |
| 2557 unittest.expect(o, unittest.hasLength(2)); | 2559 unittest.expect(o, unittest.hasLength(2)); |
| 2558 unittest.expect(o["x"], unittest.equals('foo')); | 2560 unittest.expect(o["x"], unittest.equals('foo')); |
| 2559 unittest.expect(o["y"], unittest.equals('foo')); | 2561 unittest.expect(o["y"], unittest.equals('foo')); |
| 2560 } | 2562 } |
| 2561 | 2563 |
| 2562 core.int buildCounterQuotaLimit = 0; | 2564 core.int buildCounterQuotaLimit = 0; |
| 2563 buildQuotaLimit() { | 2565 buildQuotaLimit() { |
| 2564 var o = new api.QuotaLimit(); | 2566 var o = new api.QuotaLimit(); |
| 2565 buildCounterQuotaLimit++; | 2567 buildCounterQuotaLimit++; |
| 2566 if (buildCounterQuotaLimit < 3) { | 2568 if (buildCounterQuotaLimit < 3) { |
| 2567 o.defaultLimit = "foo"; | 2569 o.defaultLimit = "foo"; |
| 2568 o.description = "foo"; | 2570 o.description = "foo"; |
| 2569 o.displayName = "foo"; | 2571 o.displayName = "foo"; |
| 2570 o.duration = "foo"; | 2572 o.duration = "foo"; |
| 2571 o.freeTier = "foo"; | 2573 o.freeTier = "foo"; |
| 2572 o.maxLimit = "foo"; | 2574 o.maxLimit = "foo"; |
| 2573 o.metric = "foo"; | 2575 o.metric = "foo"; |
| 2574 o.name = "foo"; | 2576 o.name = "foo"; |
| 2575 o.unit = "foo"; | 2577 o.unit = "foo"; |
| 2576 o.values = buildUnnamed1212(); | 2578 o.values = buildUnnamed1187(); |
| 2577 } | 2579 } |
| 2578 buildCounterQuotaLimit--; | 2580 buildCounterQuotaLimit--; |
| 2579 return o; | 2581 return o; |
| 2580 } | 2582 } |
| 2581 | 2583 |
| 2582 checkQuotaLimit(api.QuotaLimit o) { | 2584 checkQuotaLimit(api.QuotaLimit o) { |
| 2583 buildCounterQuotaLimit++; | 2585 buildCounterQuotaLimit++; |
| 2584 if (buildCounterQuotaLimit < 3) { | 2586 if (buildCounterQuotaLimit < 3) { |
| 2585 unittest.expect(o.defaultLimit, unittest.equals('foo')); | 2587 unittest.expect(o.defaultLimit, unittest.equals('foo')); |
| 2586 unittest.expect(o.description, unittest.equals('foo')); | 2588 unittest.expect(o.description, unittest.equals('foo')); |
| 2587 unittest.expect(o.displayName, unittest.equals('foo')); | 2589 unittest.expect(o.displayName, unittest.equals('foo')); |
| 2588 unittest.expect(o.duration, unittest.equals('foo')); | 2590 unittest.expect(o.duration, unittest.equals('foo')); |
| 2589 unittest.expect(o.freeTier, unittest.equals('foo')); | 2591 unittest.expect(o.freeTier, unittest.equals('foo')); |
| 2590 unittest.expect(o.maxLimit, unittest.equals('foo')); | 2592 unittest.expect(o.maxLimit, unittest.equals('foo')); |
| 2591 unittest.expect(o.metric, unittest.equals('foo')); | 2593 unittest.expect(o.metric, unittest.equals('foo')); |
| 2592 unittest.expect(o.name, unittest.equals('foo')); | 2594 unittest.expect(o.name, unittest.equals('foo')); |
| 2593 unittest.expect(o.unit, unittest.equals('foo')); | 2595 unittest.expect(o.unit, unittest.equals('foo')); |
| 2594 checkUnnamed1212(o.values); | 2596 checkUnnamed1187(o.values); |
| 2595 } | 2597 } |
| 2596 buildCounterQuotaLimit--; | 2598 buildCounterQuotaLimit--; |
| 2597 } | 2599 } |
| 2598 | 2600 |
| 2599 core.int buildCounterRollout = 0; | 2601 core.int buildCounterRollout = 0; |
| 2600 buildRollout() { | 2602 buildRollout() { |
| 2601 var o = new api.Rollout(); | 2603 var o = new api.Rollout(); |
| 2602 buildCounterRollout++; | 2604 buildCounterRollout++; |
| 2603 if (buildCounterRollout < 3) { | 2605 if (buildCounterRollout < 3) { |
| 2604 o.createTime = "foo"; | 2606 o.createTime = "foo"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2620 unittest.expect(o.createdBy, unittest.equals('foo')); | 2622 unittest.expect(o.createdBy, unittest.equals('foo')); |
| 2621 checkDeleteServiceStrategy(o.deleteServiceStrategy); | 2623 checkDeleteServiceStrategy(o.deleteServiceStrategy); |
| 2622 unittest.expect(o.rolloutId, unittest.equals('foo')); | 2624 unittest.expect(o.rolloutId, unittest.equals('foo')); |
| 2623 unittest.expect(o.serviceName, unittest.equals('foo')); | 2625 unittest.expect(o.serviceName, unittest.equals('foo')); |
| 2624 unittest.expect(o.status, unittest.equals('foo')); | 2626 unittest.expect(o.status, unittest.equals('foo')); |
| 2625 checkTrafficPercentStrategy(o.trafficPercentStrategy); | 2627 checkTrafficPercentStrategy(o.trafficPercentStrategy); |
| 2626 } | 2628 } |
| 2627 buildCounterRollout--; | 2629 buildCounterRollout--; |
| 2628 } | 2630 } |
| 2629 | 2631 |
| 2630 buildUnnamed1213() { | 2632 buildUnnamed1188() { |
| 2631 var o = new core.List<api.Condition>(); | 2633 var o = new core.List<api.Condition>(); |
| 2632 o.add(buildCondition()); | 2634 o.add(buildCondition()); |
| 2633 o.add(buildCondition()); | 2635 o.add(buildCondition()); |
| 2634 return o; | 2636 return o; |
| 2635 } | 2637 } |
| 2636 | 2638 |
| 2637 checkUnnamed1213(core.List<api.Condition> o) { | 2639 checkUnnamed1188(core.List<api.Condition> o) { |
| 2638 unittest.expect(o, unittest.hasLength(2)); | 2640 unittest.expect(o, unittest.hasLength(2)); |
| 2639 checkCondition(o[0]); | 2641 checkCondition(o[0]); |
| 2640 checkCondition(o[1]); | 2642 checkCondition(o[1]); |
| 2641 } | 2643 } |
| 2642 | 2644 |
| 2643 buildUnnamed1214() { | 2645 buildUnnamed1189() { |
| 2644 var o = new core.List<core.String>(); | 2646 var o = new core.List<core.String>(); |
| 2645 o.add("foo"); | 2647 o.add("foo"); |
| 2646 o.add("foo"); | 2648 o.add("foo"); |
| 2647 return o; | 2649 return o; |
| 2648 } | 2650 } |
| 2649 | 2651 |
| 2650 checkUnnamed1214(core.List<core.String> o) { | 2652 checkUnnamed1189(core.List<core.String> o) { |
| 2651 unittest.expect(o, unittest.hasLength(2)); | 2653 unittest.expect(o, unittest.hasLength(2)); |
| 2652 unittest.expect(o[0], unittest.equals('foo')); | 2654 unittest.expect(o[0], unittest.equals('foo')); |
| 2653 unittest.expect(o[1], unittest.equals('foo')); | 2655 unittest.expect(o[1], unittest.equals('foo')); |
| 2654 } | 2656 } |
| 2655 | 2657 |
| 2656 buildUnnamed1215() { | 2658 buildUnnamed1190() { |
| 2657 var o = new core.List<api.LogConfig>(); | 2659 var o = new core.List<api.LogConfig>(); |
| 2658 o.add(buildLogConfig()); | 2660 o.add(buildLogConfig()); |
| 2659 o.add(buildLogConfig()); | 2661 o.add(buildLogConfig()); |
| 2660 return o; | 2662 return o; |
| 2661 } | 2663 } |
| 2662 | 2664 |
| 2663 checkUnnamed1215(core.List<api.LogConfig> o) { | 2665 checkUnnamed1190(core.List<api.LogConfig> o) { |
| 2664 unittest.expect(o, unittest.hasLength(2)); | 2666 unittest.expect(o, unittest.hasLength(2)); |
| 2665 checkLogConfig(o[0]); | 2667 checkLogConfig(o[0]); |
| 2666 checkLogConfig(o[1]); | 2668 checkLogConfig(o[1]); |
| 2667 } | 2669 } |
| 2668 | 2670 |
| 2669 buildUnnamed1216() { | 2671 buildUnnamed1191() { |
| 2670 var o = new core.List<core.String>(); | 2672 var o = new core.List<core.String>(); |
| 2671 o.add("foo"); | 2673 o.add("foo"); |
| 2672 o.add("foo"); | 2674 o.add("foo"); |
| 2673 return o; | 2675 return o; |
| 2674 } | 2676 } |
| 2675 | 2677 |
| 2676 checkUnnamed1216(core.List<core.String> o) { | 2678 checkUnnamed1191(core.List<core.String> o) { |
| 2677 unittest.expect(o, unittest.hasLength(2)); | 2679 unittest.expect(o, unittest.hasLength(2)); |
| 2678 unittest.expect(o[0], unittest.equals('foo')); | 2680 unittest.expect(o[0], unittest.equals('foo')); |
| 2679 unittest.expect(o[1], unittest.equals('foo')); | 2681 unittest.expect(o[1], unittest.equals('foo')); |
| 2680 } | 2682 } |
| 2681 | 2683 |
| 2682 buildUnnamed1217() { | 2684 buildUnnamed1192() { |
| 2683 var o = new core.List<core.String>(); | 2685 var o = new core.List<core.String>(); |
| 2684 o.add("foo"); | 2686 o.add("foo"); |
| 2685 o.add("foo"); | 2687 o.add("foo"); |
| 2686 return o; | 2688 return o; |
| 2687 } | 2689 } |
| 2688 | 2690 |
| 2689 checkUnnamed1217(core.List<core.String> o) { | 2691 checkUnnamed1192(core.List<core.String> o) { |
| 2690 unittest.expect(o, unittest.hasLength(2)); | 2692 unittest.expect(o, unittest.hasLength(2)); |
| 2691 unittest.expect(o[0], unittest.equals('foo')); | 2693 unittest.expect(o[0], unittest.equals('foo')); |
| 2692 unittest.expect(o[1], unittest.equals('foo')); | 2694 unittest.expect(o[1], unittest.equals('foo')); |
| 2693 } | 2695 } |
| 2694 | 2696 |
| 2695 core.int buildCounterRule = 0; | 2697 core.int buildCounterRule = 0; |
| 2696 buildRule() { | 2698 buildRule() { |
| 2697 var o = new api.Rule(); | 2699 var o = new api.Rule(); |
| 2698 buildCounterRule++; | 2700 buildCounterRule++; |
| 2699 if (buildCounterRule < 3) { | 2701 if (buildCounterRule < 3) { |
| 2700 o.action = "foo"; | 2702 o.action = "foo"; |
| 2701 o.conditions = buildUnnamed1213(); | 2703 o.conditions = buildUnnamed1188(); |
| 2702 o.description = "foo"; | 2704 o.description = "foo"; |
| 2703 o.in_ = buildUnnamed1214(); | 2705 o.in_ = buildUnnamed1189(); |
| 2704 o.logConfig = buildUnnamed1215(); | 2706 o.logConfig = buildUnnamed1190(); |
| 2705 o.notIn = buildUnnamed1216(); | 2707 o.notIn = buildUnnamed1191(); |
| 2706 o.permissions = buildUnnamed1217(); | 2708 o.permissions = buildUnnamed1192(); |
| 2707 } | 2709 } |
| 2708 buildCounterRule--; | 2710 buildCounterRule--; |
| 2709 return o; | 2711 return o; |
| 2710 } | 2712 } |
| 2711 | 2713 |
| 2712 checkRule(api.Rule o) { | 2714 checkRule(api.Rule o) { |
| 2713 buildCounterRule++; | 2715 buildCounterRule++; |
| 2714 if (buildCounterRule < 3) { | 2716 if (buildCounterRule < 3) { |
| 2715 unittest.expect(o.action, unittest.equals('foo')); | 2717 unittest.expect(o.action, unittest.equals('foo')); |
| 2716 checkUnnamed1213(o.conditions); | 2718 checkUnnamed1188(o.conditions); |
| 2717 unittest.expect(o.description, unittest.equals('foo')); | 2719 unittest.expect(o.description, unittest.equals('foo')); |
| 2718 checkUnnamed1214(o.in_); | 2720 checkUnnamed1189(o.in_); |
| 2719 checkUnnamed1215(o.logConfig); | 2721 checkUnnamed1190(o.logConfig); |
| 2720 checkUnnamed1216(o.notIn); | 2722 checkUnnamed1191(o.notIn); |
| 2721 checkUnnamed1217(o.permissions); | 2723 checkUnnamed1192(o.permissions); |
| 2722 } | 2724 } |
| 2723 buildCounterRule--; | 2725 buildCounterRule--; |
| 2724 } | 2726 } |
| 2725 | 2727 |
| 2726 buildUnnamed1218() { | 2728 buildUnnamed1193() { |
| 2727 var o = new core.List<api.Api>(); | 2729 var o = new core.List<api.Api>(); |
| 2728 o.add(buildApi()); | 2730 o.add(buildApi()); |
| 2729 o.add(buildApi()); | 2731 o.add(buildApi()); |
| 2730 return o; | 2732 return o; |
| 2731 } | 2733 } |
| 2732 | 2734 |
| 2733 checkUnnamed1218(core.List<api.Api> o) { | 2735 checkUnnamed1193(core.List<api.Api> o) { |
| 2734 unittest.expect(o, unittest.hasLength(2)); | 2736 unittest.expect(o, unittest.hasLength(2)); |
| 2735 checkApi(o[0]); | 2737 checkApi(o[0]); |
| 2736 checkApi(o[1]); | 2738 checkApi(o[1]); |
| 2737 } | 2739 } |
| 2738 | 2740 |
| 2739 buildUnnamed1219() { | 2741 buildUnnamed1194() { |
| 2740 var o = new core.List<api.Endpoint>(); | 2742 var o = new core.List<api.Endpoint>(); |
| 2741 o.add(buildEndpoint()); | 2743 o.add(buildEndpoint()); |
| 2742 o.add(buildEndpoint()); | 2744 o.add(buildEndpoint()); |
| 2743 return o; | 2745 return o; |
| 2744 } | 2746 } |
| 2745 | 2747 |
| 2746 checkUnnamed1219(core.List<api.Endpoint> o) { | 2748 checkUnnamed1194(core.List<api.Endpoint> o) { |
| 2747 unittest.expect(o, unittest.hasLength(2)); | 2749 unittest.expect(o, unittest.hasLength(2)); |
| 2748 checkEndpoint(o[0]); | 2750 checkEndpoint(o[0]); |
| 2749 checkEndpoint(o[1]); | 2751 checkEndpoint(o[1]); |
| 2750 } | 2752 } |
| 2751 | 2753 |
| 2752 buildUnnamed1220() { | 2754 buildUnnamed1195() { |
| 2753 var o = new core.List<api.Enum>(); | 2755 var o = new core.List<api.Enum>(); |
| 2754 o.add(buildEnum()); | 2756 o.add(buildEnum()); |
| 2755 o.add(buildEnum()); | 2757 o.add(buildEnum()); |
| 2756 return o; | 2758 return o; |
| 2757 } | 2759 } |
| 2758 | 2760 |
| 2759 checkUnnamed1220(core.List<api.Enum> o) { | 2761 checkUnnamed1195(core.List<api.Enum> o) { |
| 2760 unittest.expect(o, unittest.hasLength(2)); | 2762 unittest.expect(o, unittest.hasLength(2)); |
| 2761 checkEnum(o[0]); | 2763 checkEnum(o[0]); |
| 2762 checkEnum(o[1]); | 2764 checkEnum(o[1]); |
| 2763 } | 2765 } |
| 2764 | 2766 |
| 2765 buildUnnamed1221() { | 2767 buildUnnamed1196() { |
| 2766 var o = new core.List<api.LogDescriptor>(); | 2768 var o = new core.List<api.LogDescriptor>(); |
| 2767 o.add(buildLogDescriptor()); | 2769 o.add(buildLogDescriptor()); |
| 2768 o.add(buildLogDescriptor()); | 2770 o.add(buildLogDescriptor()); |
| 2769 return o; | 2771 return o; |
| 2770 } | 2772 } |
| 2771 | 2773 |
| 2772 checkUnnamed1221(core.List<api.LogDescriptor> o) { | 2774 checkUnnamed1196(core.List<api.LogDescriptor> o) { |
| 2773 unittest.expect(o, unittest.hasLength(2)); | 2775 unittest.expect(o, unittest.hasLength(2)); |
| 2774 checkLogDescriptor(o[0]); | 2776 checkLogDescriptor(o[0]); |
| 2775 checkLogDescriptor(o[1]); | 2777 checkLogDescriptor(o[1]); |
| 2776 } | 2778 } |
| 2777 | 2779 |
| 2778 buildUnnamed1222() { | 2780 buildUnnamed1197() { |
| 2779 var o = new core.List<api.MetricDescriptor>(); | 2781 var o = new core.List<api.MetricDescriptor>(); |
| 2780 o.add(buildMetricDescriptor()); | 2782 o.add(buildMetricDescriptor()); |
| 2781 o.add(buildMetricDescriptor()); | 2783 o.add(buildMetricDescriptor()); |
| 2782 return o; | 2784 return o; |
| 2783 } | 2785 } |
| 2784 | 2786 |
| 2785 checkUnnamed1222(core.List<api.MetricDescriptor> o) { | 2787 checkUnnamed1197(core.List<api.MetricDescriptor> o) { |
| 2786 unittest.expect(o, unittest.hasLength(2)); | 2788 unittest.expect(o, unittest.hasLength(2)); |
| 2787 checkMetricDescriptor(o[0]); | 2789 checkMetricDescriptor(o[0]); |
| 2788 checkMetricDescriptor(o[1]); | 2790 checkMetricDescriptor(o[1]); |
| 2789 } | 2791 } |
| 2790 | 2792 |
| 2791 buildUnnamed1223() { | 2793 buildUnnamed1198() { |
| 2792 var o = new core.List<api.MonitoredResourceDescriptor>(); | 2794 var o = new core.List<api.MonitoredResourceDescriptor>(); |
| 2793 o.add(buildMonitoredResourceDescriptor()); | 2795 o.add(buildMonitoredResourceDescriptor()); |
| 2794 o.add(buildMonitoredResourceDescriptor()); | 2796 o.add(buildMonitoredResourceDescriptor()); |
| 2795 return o; | 2797 return o; |
| 2796 } | 2798 } |
| 2797 | 2799 |
| 2798 checkUnnamed1223(core.List<api.MonitoredResourceDescriptor> o) { | 2800 checkUnnamed1198(core.List<api.MonitoredResourceDescriptor> o) { |
| 2799 unittest.expect(o, unittest.hasLength(2)); | 2801 unittest.expect(o, unittest.hasLength(2)); |
| 2800 checkMonitoredResourceDescriptor(o[0]); | 2802 checkMonitoredResourceDescriptor(o[0]); |
| 2801 checkMonitoredResourceDescriptor(o[1]); | 2803 checkMonitoredResourceDescriptor(o[1]); |
| 2802 } | 2804 } |
| 2803 | 2805 |
| 2804 buildUnnamed1224() { | 2806 buildUnnamed1199() { |
| 2805 var o = new core.List<api.Type>(); | 2807 var o = new core.List<api.Type>(); |
| 2806 o.add(buildType()); | 2808 o.add(buildType()); |
| 2807 o.add(buildType()); | 2809 o.add(buildType()); |
| 2808 return o; | 2810 return o; |
| 2809 } | 2811 } |
| 2810 | 2812 |
| 2811 checkUnnamed1224(core.List<api.Type> o) { | 2813 checkUnnamed1199(core.List<api.Type> o) { |
| 2812 unittest.expect(o, unittest.hasLength(2)); | 2814 unittest.expect(o, unittest.hasLength(2)); |
| 2813 checkType(o[0]); | 2815 checkType(o[0]); |
| 2814 checkType(o[1]); | 2816 checkType(o[1]); |
| 2815 } | 2817 } |
| 2816 | 2818 |
| 2817 buildUnnamed1225() { | 2819 buildUnnamed1200() { |
| 2818 var o = new core.List<api.Type>(); | 2820 var o = new core.List<api.Type>(); |
| 2819 o.add(buildType()); | 2821 o.add(buildType()); |
| 2820 o.add(buildType()); | 2822 o.add(buildType()); |
| 2821 return o; | 2823 return o; |
| 2822 } | 2824 } |
| 2823 | 2825 |
| 2824 checkUnnamed1225(core.List<api.Type> o) { | 2826 checkUnnamed1200(core.List<api.Type> o) { |
| 2825 unittest.expect(o, unittest.hasLength(2)); | 2827 unittest.expect(o, unittest.hasLength(2)); |
| 2826 checkType(o[0]); | 2828 checkType(o[0]); |
| 2827 checkType(o[1]); | 2829 checkType(o[1]); |
| 2828 } | 2830 } |
| 2829 | 2831 |
| 2830 core.int buildCounterService = 0; | 2832 core.int buildCounterService = 0; |
| 2831 buildService() { | 2833 buildService() { |
| 2832 var o = new api.Service(); | 2834 var o = new api.Service(); |
| 2833 buildCounterService++; | 2835 buildCounterService++; |
| 2834 if (buildCounterService < 3) { | 2836 if (buildCounterService < 3) { |
| 2835 o.apis = buildUnnamed1218(); | 2837 o.apis = buildUnnamed1193(); |
| 2836 o.authentication = buildAuthentication(); | 2838 o.authentication = buildAuthentication(); |
| 2837 o.backend = buildBackend(); | 2839 o.backend = buildBackend(); |
| 2838 o.configVersion = 42; | 2840 o.configVersion = 42; |
| 2839 o.context = buildContext(); | 2841 o.context = buildContext(); |
| 2840 o.control = buildControl(); | 2842 o.control = buildControl(); |
| 2841 o.customError = buildCustomError(); | 2843 o.customError = buildCustomError(); |
| 2842 o.documentation = buildDocumentation(); | 2844 o.documentation = buildDocumentation(); |
| 2843 o.endpoints = buildUnnamed1219(); | 2845 o.endpoints = buildUnnamed1194(); |
| 2844 o.enums = buildUnnamed1220(); | 2846 o.enums = buildUnnamed1195(); |
| 2845 o.experimental = buildExperimental(); | 2847 o.experimental = buildExperimental(); |
| 2846 o.http = buildHttp(); | 2848 o.http = buildHttp(); |
| 2847 o.id = "foo"; | 2849 o.id = "foo"; |
| 2848 o.logging = buildLogging(); | 2850 o.logging = buildLogging(); |
| 2849 o.logs = buildUnnamed1221(); | 2851 o.logs = buildUnnamed1196(); |
| 2850 o.metrics = buildUnnamed1222(); | 2852 o.metrics = buildUnnamed1197(); |
| 2851 o.monitoredResources = buildUnnamed1223(); | 2853 o.monitoredResources = buildUnnamed1198(); |
| 2852 o.monitoring = buildMonitoring(); | 2854 o.monitoring = buildMonitoring(); |
| 2853 o.name = "foo"; | 2855 o.name = "foo"; |
| 2854 o.producerProjectId = "foo"; | 2856 o.producerProjectId = "foo"; |
| 2855 o.quota = buildQuota(); | 2857 o.quota = buildQuota(); |
| 2856 o.sourceInfo = buildSourceInfo(); | 2858 o.sourceInfo = buildSourceInfo(); |
| 2857 o.systemParameters = buildSystemParameters(); | 2859 o.systemParameters = buildSystemParameters(); |
| 2858 o.systemTypes = buildUnnamed1224(); | 2860 o.systemTypes = buildUnnamed1199(); |
| 2859 o.title = "foo"; | 2861 o.title = "foo"; |
| 2860 o.types = buildUnnamed1225(); | 2862 o.types = buildUnnamed1200(); |
| 2861 o.usage = buildUsage(); | 2863 o.usage = buildUsage(); |
| 2862 o.visibility = buildVisibility(); | 2864 o.visibility = buildVisibility(); |
| 2863 } | 2865 } |
| 2864 buildCounterService--; | 2866 buildCounterService--; |
| 2865 return o; | 2867 return o; |
| 2866 } | 2868 } |
| 2867 | 2869 |
| 2868 checkService(api.Service o) { | 2870 checkService(api.Service o) { |
| 2869 buildCounterService++; | 2871 buildCounterService++; |
| 2870 if (buildCounterService < 3) { | 2872 if (buildCounterService < 3) { |
| 2871 checkUnnamed1218(o.apis); | 2873 checkUnnamed1193(o.apis); |
| 2872 checkAuthentication(o.authentication); | 2874 checkAuthentication(o.authentication); |
| 2873 checkBackend(o.backend); | 2875 checkBackend(o.backend); |
| 2874 unittest.expect(o.configVersion, unittest.equals(42)); | 2876 unittest.expect(o.configVersion, unittest.equals(42)); |
| 2875 checkContext(o.context); | 2877 checkContext(o.context); |
| 2876 checkControl(o.control); | 2878 checkControl(o.control); |
| 2877 checkCustomError(o.customError); | 2879 checkCustomError(o.customError); |
| 2878 checkDocumentation(o.documentation); | 2880 checkDocumentation(o.documentation); |
| 2879 checkUnnamed1219(o.endpoints); | 2881 checkUnnamed1194(o.endpoints); |
| 2880 checkUnnamed1220(o.enums); | 2882 checkUnnamed1195(o.enums); |
| 2881 checkExperimental(o.experimental); | 2883 checkExperimental(o.experimental); |
| 2882 checkHttp(o.http); | 2884 checkHttp(o.http); |
| 2883 unittest.expect(o.id, unittest.equals('foo')); | 2885 unittest.expect(o.id, unittest.equals('foo')); |
| 2884 checkLogging(o.logging); | 2886 checkLogging(o.logging); |
| 2885 checkUnnamed1221(o.logs); | 2887 checkUnnamed1196(o.logs); |
| 2886 checkUnnamed1222(o.metrics); | 2888 checkUnnamed1197(o.metrics); |
| 2887 checkUnnamed1223(o.monitoredResources); | 2889 checkUnnamed1198(o.monitoredResources); |
| 2888 checkMonitoring(o.monitoring); | 2890 checkMonitoring(o.monitoring); |
| 2889 unittest.expect(o.name, unittest.equals('foo')); | 2891 unittest.expect(o.name, unittest.equals('foo')); |
| 2890 unittest.expect(o.producerProjectId, unittest.equals('foo')); | 2892 unittest.expect(o.producerProjectId, unittest.equals('foo')); |
| 2891 checkQuota(o.quota); | 2893 checkQuota(o.quota); |
| 2892 checkSourceInfo(o.sourceInfo); | 2894 checkSourceInfo(o.sourceInfo); |
| 2893 checkSystemParameters(o.systemParameters); | 2895 checkSystemParameters(o.systemParameters); |
| 2894 checkUnnamed1224(o.systemTypes); | 2896 checkUnnamed1199(o.systemTypes); |
| 2895 unittest.expect(o.title, unittest.equals('foo')); | 2897 unittest.expect(o.title, unittest.equals('foo')); |
| 2896 checkUnnamed1225(o.types); | 2898 checkUnnamed1200(o.types); |
| 2897 checkUsage(o.usage); | 2899 checkUsage(o.usage); |
| 2898 checkVisibility(o.visibility); | 2900 checkVisibility(o.visibility); |
| 2899 } | 2901 } |
| 2900 buildCounterService--; | 2902 buildCounterService--; |
| 2901 } | 2903 } |
| 2902 | 2904 |
| 2903 core.int buildCounterSetIamPolicyRequest = 0; | 2905 core.int buildCounterSetIamPolicyRequest = 0; |
| 2904 buildSetIamPolicyRequest() { | 2906 buildSetIamPolicyRequest() { |
| 2905 var o = new api.SetIamPolicyRequest(); | 2907 var o = new api.SetIamPolicyRequest(); |
| 2906 buildCounterSetIamPolicyRequest++; | 2908 buildCounterSetIamPolicyRequest++; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2933 } | 2935 } |
| 2934 | 2936 |
| 2935 checkSourceContext(api.SourceContext o) { | 2937 checkSourceContext(api.SourceContext o) { |
| 2936 buildCounterSourceContext++; | 2938 buildCounterSourceContext++; |
| 2937 if (buildCounterSourceContext < 3) { | 2939 if (buildCounterSourceContext < 3) { |
| 2938 unittest.expect(o.fileName, unittest.equals('foo')); | 2940 unittest.expect(o.fileName, unittest.equals('foo')); |
| 2939 } | 2941 } |
| 2940 buildCounterSourceContext--; | 2942 buildCounterSourceContext--; |
| 2941 } | 2943 } |
| 2942 | 2944 |
| 2943 buildUnnamed1226() { | 2945 buildUnnamed1201() { |
| 2944 var o = new core.Map<core.String, core.Object>(); | 2946 var o = new core.Map<core.String, core.Object>(); |
| 2945 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2947 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2946 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2948 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2947 return o; | 2949 return o; |
| 2948 } | 2950 } |
| 2949 | 2951 |
| 2950 checkUnnamed1226(core.Map<core.String, core.Object> o) { | 2952 checkUnnamed1201(core.Map<core.String, core.Object> o) { |
| 2951 unittest.expect(o, unittest.hasLength(2)); | 2953 unittest.expect(o, unittest.hasLength(2)); |
| 2952 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); | 2954 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); |
| 2953 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); | 2955 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); |
| 2954 } | 2956 } |
| 2955 | 2957 |
| 2956 buildUnnamed1227() { | 2958 buildUnnamed1202() { |
| 2957 var o = new core.List<core.Map<core.String, core.Object>>(); | 2959 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2958 o.add(buildUnnamed1226()); | 2960 o.add(buildUnnamed1201()); |
| 2959 o.add(buildUnnamed1226()); | 2961 o.add(buildUnnamed1201()); |
| 2960 return o; | 2962 return o; |
| 2961 } | 2963 } |
| 2962 | 2964 |
| 2963 checkUnnamed1227(core.List<core.Map<core.String, core.Object>> o) { | 2965 checkUnnamed1202(core.List<core.Map<core.String, core.Object>> o) { |
| 2964 unittest.expect(o, unittest.hasLength(2)); | 2966 unittest.expect(o, unittest.hasLength(2)); |
| 2965 checkUnnamed1226(o[0]); | 2967 checkUnnamed1201(o[0]); |
| 2966 checkUnnamed1226(o[1]); | 2968 checkUnnamed1201(o[1]); |
| 2967 } | 2969 } |
| 2968 | 2970 |
| 2969 core.int buildCounterSourceInfo = 0; | 2971 core.int buildCounterSourceInfo = 0; |
| 2970 buildSourceInfo() { | 2972 buildSourceInfo() { |
| 2971 var o = new api.SourceInfo(); | 2973 var o = new api.SourceInfo(); |
| 2972 buildCounterSourceInfo++; | 2974 buildCounterSourceInfo++; |
| 2973 if (buildCounterSourceInfo < 3) { | 2975 if (buildCounterSourceInfo < 3) { |
| 2974 o.sourceFiles = buildUnnamed1227(); | 2976 o.sourceFiles = buildUnnamed1202(); |
| 2975 } | 2977 } |
| 2976 buildCounterSourceInfo--; | 2978 buildCounterSourceInfo--; |
| 2977 return o; | 2979 return o; |
| 2978 } | 2980 } |
| 2979 | 2981 |
| 2980 checkSourceInfo(api.SourceInfo o) { | 2982 checkSourceInfo(api.SourceInfo o) { |
| 2981 buildCounterSourceInfo++; | 2983 buildCounterSourceInfo++; |
| 2982 if (buildCounterSourceInfo < 3) { | 2984 if (buildCounterSourceInfo < 3) { |
| 2983 checkUnnamed1227(o.sourceFiles); | 2985 checkUnnamed1202(o.sourceFiles); |
| 2984 } | 2986 } |
| 2985 buildCounterSourceInfo--; | 2987 buildCounterSourceInfo--; |
| 2986 } | 2988 } |
| 2987 | 2989 |
| 2988 buildUnnamed1228() { | 2990 buildUnnamed1203() { |
| 2989 var o = new core.Map<core.String, core.Object>(); | 2991 var o = new core.Map<core.String, core.Object>(); |
| 2990 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2992 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2991 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2993 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2992 return o; | 2994 return o; |
| 2993 } | 2995 } |
| 2994 | 2996 |
| 2995 checkUnnamed1228(core.Map<core.String, core.Object> o) { | 2997 checkUnnamed1203(core.Map<core.String, core.Object> o) { |
| 2996 unittest.expect(o, unittest.hasLength(2)); | 2998 unittest.expect(o, unittest.hasLength(2)); |
| 2997 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); | 2999 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); |
| 2998 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); | 3000 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); |
| 2999 } | 3001 } |
| 3000 | 3002 |
| 3001 buildUnnamed1229() { | 3003 buildUnnamed1204() { |
| 3002 var o = new core.List<core.Map<core.String, core.Object>>(); | 3004 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 3003 o.add(buildUnnamed1228()); | 3005 o.add(buildUnnamed1203()); |
| 3004 o.add(buildUnnamed1228()); | 3006 o.add(buildUnnamed1203()); |
| 3005 return o; | 3007 return o; |
| 3006 } | 3008 } |
| 3007 | 3009 |
| 3008 checkUnnamed1229(core.List<core.Map<core.String, core.Object>> o) { | 3010 checkUnnamed1204(core.List<core.Map<core.String, core.Object>> o) { |
| 3009 unittest.expect(o, unittest.hasLength(2)); | 3011 unittest.expect(o, unittest.hasLength(2)); |
| 3010 checkUnnamed1228(o[0]); | 3012 checkUnnamed1203(o[0]); |
| 3011 checkUnnamed1228(o[1]); | 3013 checkUnnamed1203(o[1]); |
| 3012 } | 3014 } |
| 3013 | 3015 |
| 3014 core.int buildCounterStatus = 0; | 3016 core.int buildCounterStatus = 0; |
| 3015 buildStatus() { | 3017 buildStatus() { |
| 3016 var o = new api.Status(); | 3018 var o = new api.Status(); |
| 3017 buildCounterStatus++; | 3019 buildCounterStatus++; |
| 3018 if (buildCounterStatus < 3) { | 3020 if (buildCounterStatus < 3) { |
| 3019 o.code = 42; | 3021 o.code = 42; |
| 3020 o.details = buildUnnamed1229(); | 3022 o.details = buildUnnamed1204(); |
| 3021 o.message = "foo"; | 3023 o.message = "foo"; |
| 3022 } | 3024 } |
| 3023 buildCounterStatus--; | 3025 buildCounterStatus--; |
| 3024 return o; | 3026 return o; |
| 3025 } | 3027 } |
| 3026 | 3028 |
| 3027 checkStatus(api.Status o) { | 3029 checkStatus(api.Status o) { |
| 3028 buildCounterStatus++; | 3030 buildCounterStatus++; |
| 3029 if (buildCounterStatus < 3) { | 3031 if (buildCounterStatus < 3) { |
| 3030 unittest.expect(o.code, unittest.equals(42)); | 3032 unittest.expect(o.code, unittest.equals(42)); |
| 3031 checkUnnamed1229(o.details); | 3033 checkUnnamed1204(o.details); |
| 3032 unittest.expect(o.message, unittest.equals('foo')); | 3034 unittest.expect(o.message, unittest.equals('foo')); |
| 3033 } | 3035 } |
| 3034 buildCounterStatus--; | 3036 buildCounterStatus--; |
| 3035 } | 3037 } |
| 3036 | 3038 |
| 3037 core.int buildCounterStep = 0; | 3039 core.int buildCounterStep = 0; |
| 3038 buildStep() { | 3040 buildStep() { |
| 3039 var o = new api.Step(); | 3041 var o = new api.Step(); |
| 3040 buildCounterStep++; | 3042 buildCounterStep++; |
| 3041 if (buildCounterStep < 3) { | 3043 if (buildCounterStep < 3) { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3111 checkSystemParameter(api.SystemParameter o) { | 3113 checkSystemParameter(api.SystemParameter o) { |
| 3112 buildCounterSystemParameter++; | 3114 buildCounterSystemParameter++; |
| 3113 if (buildCounterSystemParameter < 3) { | 3115 if (buildCounterSystemParameter < 3) { |
| 3114 unittest.expect(o.httpHeader, unittest.equals('foo')); | 3116 unittest.expect(o.httpHeader, unittest.equals('foo')); |
| 3115 unittest.expect(o.name, unittest.equals('foo')); | 3117 unittest.expect(o.name, unittest.equals('foo')); |
| 3116 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); | 3118 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); |
| 3117 } | 3119 } |
| 3118 buildCounterSystemParameter--; | 3120 buildCounterSystemParameter--; |
| 3119 } | 3121 } |
| 3120 | 3122 |
| 3121 buildUnnamed1230() { | 3123 buildUnnamed1205() { |
| 3122 var o = new core.List<api.SystemParameter>(); | 3124 var o = new core.List<api.SystemParameter>(); |
| 3123 o.add(buildSystemParameter()); | 3125 o.add(buildSystemParameter()); |
| 3124 o.add(buildSystemParameter()); | 3126 o.add(buildSystemParameter()); |
| 3125 return o; | 3127 return o; |
| 3126 } | 3128 } |
| 3127 | 3129 |
| 3128 checkUnnamed1230(core.List<api.SystemParameter> o) { | 3130 checkUnnamed1205(core.List<api.SystemParameter> o) { |
| 3129 unittest.expect(o, unittest.hasLength(2)); | 3131 unittest.expect(o, unittest.hasLength(2)); |
| 3130 checkSystemParameter(o[0]); | 3132 checkSystemParameter(o[0]); |
| 3131 checkSystemParameter(o[1]); | 3133 checkSystemParameter(o[1]); |
| 3132 } | 3134 } |
| 3133 | 3135 |
| 3134 core.int buildCounterSystemParameterRule = 0; | 3136 core.int buildCounterSystemParameterRule = 0; |
| 3135 buildSystemParameterRule() { | 3137 buildSystemParameterRule() { |
| 3136 var o = new api.SystemParameterRule(); | 3138 var o = new api.SystemParameterRule(); |
| 3137 buildCounterSystemParameterRule++; | 3139 buildCounterSystemParameterRule++; |
| 3138 if (buildCounterSystemParameterRule < 3) { | 3140 if (buildCounterSystemParameterRule < 3) { |
| 3139 o.parameters = buildUnnamed1230(); | 3141 o.parameters = buildUnnamed1205(); |
| 3140 o.selector = "foo"; | 3142 o.selector = "foo"; |
| 3141 } | 3143 } |
| 3142 buildCounterSystemParameterRule--; | 3144 buildCounterSystemParameterRule--; |
| 3143 return o; | 3145 return o; |
| 3144 } | 3146 } |
| 3145 | 3147 |
| 3146 checkSystemParameterRule(api.SystemParameterRule o) { | 3148 checkSystemParameterRule(api.SystemParameterRule o) { |
| 3147 buildCounterSystemParameterRule++; | 3149 buildCounterSystemParameterRule++; |
| 3148 if (buildCounterSystemParameterRule < 3) { | 3150 if (buildCounterSystemParameterRule < 3) { |
| 3149 checkUnnamed1230(o.parameters); | 3151 checkUnnamed1205(o.parameters); |
| 3150 unittest.expect(o.selector, unittest.equals('foo')); | 3152 unittest.expect(o.selector, unittest.equals('foo')); |
| 3151 } | 3153 } |
| 3152 buildCounterSystemParameterRule--; | 3154 buildCounterSystemParameterRule--; |
| 3153 } | 3155 } |
| 3154 | 3156 |
| 3155 buildUnnamed1231() { | 3157 buildUnnamed1206() { |
| 3156 var o = new core.List<api.SystemParameterRule>(); | 3158 var o = new core.List<api.SystemParameterRule>(); |
| 3157 o.add(buildSystemParameterRule()); | 3159 o.add(buildSystemParameterRule()); |
| 3158 o.add(buildSystemParameterRule()); | 3160 o.add(buildSystemParameterRule()); |
| 3159 return o; | 3161 return o; |
| 3160 } | 3162 } |
| 3161 | 3163 |
| 3162 checkUnnamed1231(core.List<api.SystemParameterRule> o) { | 3164 checkUnnamed1206(core.List<api.SystemParameterRule> o) { |
| 3163 unittest.expect(o, unittest.hasLength(2)); | 3165 unittest.expect(o, unittest.hasLength(2)); |
| 3164 checkSystemParameterRule(o[0]); | 3166 checkSystemParameterRule(o[0]); |
| 3165 checkSystemParameterRule(o[1]); | 3167 checkSystemParameterRule(o[1]); |
| 3166 } | 3168 } |
| 3167 | 3169 |
| 3168 core.int buildCounterSystemParameters = 0; | 3170 core.int buildCounterSystemParameters = 0; |
| 3169 buildSystemParameters() { | 3171 buildSystemParameters() { |
| 3170 var o = new api.SystemParameters(); | 3172 var o = new api.SystemParameters(); |
| 3171 buildCounterSystemParameters++; | 3173 buildCounterSystemParameters++; |
| 3172 if (buildCounterSystemParameters < 3) { | 3174 if (buildCounterSystemParameters < 3) { |
| 3173 o.rules = buildUnnamed1231(); | 3175 o.rules = buildUnnamed1206(); |
| 3174 } | 3176 } |
| 3175 buildCounterSystemParameters--; | 3177 buildCounterSystemParameters--; |
| 3176 return o; | 3178 return o; |
| 3177 } | 3179 } |
| 3178 | 3180 |
| 3179 checkSystemParameters(api.SystemParameters o) { | 3181 checkSystemParameters(api.SystemParameters o) { |
| 3180 buildCounterSystemParameters++; | 3182 buildCounterSystemParameters++; |
| 3181 if (buildCounterSystemParameters < 3) { | 3183 if (buildCounterSystemParameters < 3) { |
| 3182 checkUnnamed1231(o.rules); | 3184 checkUnnamed1206(o.rules); |
| 3183 } | 3185 } |
| 3184 buildCounterSystemParameters--; | 3186 buildCounterSystemParameters--; |
| 3185 } | 3187 } |
| 3186 | 3188 |
| 3187 buildUnnamed1232() { | 3189 buildUnnamed1207() { |
| 3188 var o = new core.List<core.String>(); | 3190 var o = new core.List<core.String>(); |
| 3189 o.add("foo"); | 3191 o.add("foo"); |
| 3190 o.add("foo"); | 3192 o.add("foo"); |
| 3191 return o; | 3193 return o; |
| 3192 } | 3194 } |
| 3193 | 3195 |
| 3194 checkUnnamed1232(core.List<core.String> o) { | 3196 checkUnnamed1207(core.List<core.String> o) { |
| 3195 unittest.expect(o, unittest.hasLength(2)); | 3197 unittest.expect(o, unittest.hasLength(2)); |
| 3196 unittest.expect(o[0], unittest.equals('foo')); | 3198 unittest.expect(o[0], unittest.equals('foo')); |
| 3197 unittest.expect(o[1], unittest.equals('foo')); | 3199 unittest.expect(o[1], unittest.equals('foo')); |
| 3198 } | 3200 } |
| 3199 | 3201 |
| 3200 core.int buildCounterTestIamPermissionsRequest = 0; | 3202 core.int buildCounterTestIamPermissionsRequest = 0; |
| 3201 buildTestIamPermissionsRequest() { | 3203 buildTestIamPermissionsRequest() { |
| 3202 var o = new api.TestIamPermissionsRequest(); | 3204 var o = new api.TestIamPermissionsRequest(); |
| 3203 buildCounterTestIamPermissionsRequest++; | 3205 buildCounterTestIamPermissionsRequest++; |
| 3204 if (buildCounterTestIamPermissionsRequest < 3) { | 3206 if (buildCounterTestIamPermissionsRequest < 3) { |
| 3205 o.permissions = buildUnnamed1232(); | 3207 o.permissions = buildUnnamed1207(); |
| 3206 } | 3208 } |
| 3207 buildCounterTestIamPermissionsRequest--; | 3209 buildCounterTestIamPermissionsRequest--; |
| 3208 return o; | 3210 return o; |
| 3209 } | 3211 } |
| 3210 | 3212 |
| 3211 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 3213 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
| 3212 buildCounterTestIamPermissionsRequest++; | 3214 buildCounterTestIamPermissionsRequest++; |
| 3213 if (buildCounterTestIamPermissionsRequest < 3) { | 3215 if (buildCounterTestIamPermissionsRequest < 3) { |
| 3214 checkUnnamed1232(o.permissions); | 3216 checkUnnamed1207(o.permissions); |
| 3215 } | 3217 } |
| 3216 buildCounterTestIamPermissionsRequest--; | 3218 buildCounterTestIamPermissionsRequest--; |
| 3217 } | 3219 } |
| 3218 | 3220 |
| 3219 buildUnnamed1233() { | 3221 buildUnnamed1208() { |
| 3220 var o = new core.List<core.String>(); | 3222 var o = new core.List<core.String>(); |
| 3221 o.add("foo"); | 3223 o.add("foo"); |
| 3222 o.add("foo"); | 3224 o.add("foo"); |
| 3223 return o; | 3225 return o; |
| 3224 } | 3226 } |
| 3225 | 3227 |
| 3226 checkUnnamed1233(core.List<core.String> o) { | 3228 checkUnnamed1208(core.List<core.String> o) { |
| 3227 unittest.expect(o, unittest.hasLength(2)); | 3229 unittest.expect(o, unittest.hasLength(2)); |
| 3228 unittest.expect(o[0], unittest.equals('foo')); | 3230 unittest.expect(o[0], unittest.equals('foo')); |
| 3229 unittest.expect(o[1], unittest.equals('foo')); | 3231 unittest.expect(o[1], unittest.equals('foo')); |
| 3230 } | 3232 } |
| 3231 | 3233 |
| 3232 core.int buildCounterTestIamPermissionsResponse = 0; | 3234 core.int buildCounterTestIamPermissionsResponse = 0; |
| 3233 buildTestIamPermissionsResponse() { | 3235 buildTestIamPermissionsResponse() { |
| 3234 var o = new api.TestIamPermissionsResponse(); | 3236 var o = new api.TestIamPermissionsResponse(); |
| 3235 buildCounterTestIamPermissionsResponse++; | 3237 buildCounterTestIamPermissionsResponse++; |
| 3236 if (buildCounterTestIamPermissionsResponse < 3) { | 3238 if (buildCounterTestIamPermissionsResponse < 3) { |
| 3237 o.permissions = buildUnnamed1233(); | 3239 o.permissions = buildUnnamed1208(); |
| 3238 } | 3240 } |
| 3239 buildCounterTestIamPermissionsResponse--; | 3241 buildCounterTestIamPermissionsResponse--; |
| 3240 return o; | 3242 return o; |
| 3241 } | 3243 } |
| 3242 | 3244 |
| 3243 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 3245 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
| 3244 buildCounterTestIamPermissionsResponse++; | 3246 buildCounterTestIamPermissionsResponse++; |
| 3245 if (buildCounterTestIamPermissionsResponse < 3) { | 3247 if (buildCounterTestIamPermissionsResponse < 3) { |
| 3246 checkUnnamed1233(o.permissions); | 3248 checkUnnamed1208(o.permissions); |
| 3247 } | 3249 } |
| 3248 buildCounterTestIamPermissionsResponse--; | 3250 buildCounterTestIamPermissionsResponse--; |
| 3249 } | 3251 } |
| 3250 | 3252 |
| 3251 buildUnnamed1234() { | 3253 buildUnnamed1209() { |
| 3252 var o = new core.Map<core.String, core.double>(); | 3254 var o = new core.Map<core.String, core.double>(); |
| 3253 o["x"] = 42.0; | 3255 o["x"] = 42.0; |
| 3254 o["y"] = 42.0; | 3256 o["y"] = 42.0; |
| 3255 return o; | 3257 return o; |
| 3256 } | 3258 } |
| 3257 | 3259 |
| 3258 checkUnnamed1234(core.Map<core.String, core.double> o) { | 3260 checkUnnamed1209(core.Map<core.String, core.double> o) { |
| 3259 unittest.expect(o, unittest.hasLength(2)); | 3261 unittest.expect(o, unittest.hasLength(2)); |
| 3260 unittest.expect(o["x"], unittest.equals(42.0)); | 3262 unittest.expect(o["x"], unittest.equals(42.0)); |
| 3261 unittest.expect(o["y"], unittest.equals(42.0)); | 3263 unittest.expect(o["y"], unittest.equals(42.0)); |
| 3262 } | 3264 } |
| 3263 | 3265 |
| 3264 core.int buildCounterTrafficPercentStrategy = 0; | 3266 core.int buildCounterTrafficPercentStrategy = 0; |
| 3265 buildTrafficPercentStrategy() { | 3267 buildTrafficPercentStrategy() { |
| 3266 var o = new api.TrafficPercentStrategy(); | 3268 var o = new api.TrafficPercentStrategy(); |
| 3267 buildCounterTrafficPercentStrategy++; | 3269 buildCounterTrafficPercentStrategy++; |
| 3268 if (buildCounterTrafficPercentStrategy < 3) { | 3270 if (buildCounterTrafficPercentStrategy < 3) { |
| 3269 o.percentages = buildUnnamed1234(); | 3271 o.percentages = buildUnnamed1209(); |
| 3270 } | 3272 } |
| 3271 buildCounterTrafficPercentStrategy--; | 3273 buildCounterTrafficPercentStrategy--; |
| 3272 return o; | 3274 return o; |
| 3273 } | 3275 } |
| 3274 | 3276 |
| 3275 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { | 3277 checkTrafficPercentStrategy(api.TrafficPercentStrategy o) { |
| 3276 buildCounterTrafficPercentStrategy++; | 3278 buildCounterTrafficPercentStrategy++; |
| 3277 if (buildCounterTrafficPercentStrategy < 3) { | 3279 if (buildCounterTrafficPercentStrategy < 3) { |
| 3278 checkUnnamed1234(o.percentages); | 3280 checkUnnamed1209(o.percentages); |
| 3279 } | 3281 } |
| 3280 buildCounterTrafficPercentStrategy--; | 3282 buildCounterTrafficPercentStrategy--; |
| 3281 } | 3283 } |
| 3282 | 3284 |
| 3283 buildUnnamed1235() { | 3285 buildUnnamed1210() { |
| 3284 var o = new core.List<api.Field>(); | 3286 var o = new core.List<api.Field>(); |
| 3285 o.add(buildField()); | 3287 o.add(buildField()); |
| 3286 o.add(buildField()); | 3288 o.add(buildField()); |
| 3287 return o; | 3289 return o; |
| 3288 } | 3290 } |
| 3289 | 3291 |
| 3290 checkUnnamed1235(core.List<api.Field> o) { | 3292 checkUnnamed1210(core.List<api.Field> o) { |
| 3291 unittest.expect(o, unittest.hasLength(2)); | 3293 unittest.expect(o, unittest.hasLength(2)); |
| 3292 checkField(o[0]); | 3294 checkField(o[0]); |
| 3293 checkField(o[1]); | 3295 checkField(o[1]); |
| 3294 } | 3296 } |
| 3295 | 3297 |
| 3296 buildUnnamed1236() { | 3298 buildUnnamed1211() { |
| 3297 var o = new core.List<core.String>(); | 3299 var o = new core.List<core.String>(); |
| 3298 o.add("foo"); | 3300 o.add("foo"); |
| 3299 o.add("foo"); | 3301 o.add("foo"); |
| 3300 return o; | 3302 return o; |
| 3301 } | 3303 } |
| 3302 | 3304 |
| 3303 checkUnnamed1236(core.List<core.String> o) { | 3305 checkUnnamed1211(core.List<core.String> o) { |
| 3304 unittest.expect(o, unittest.hasLength(2)); | 3306 unittest.expect(o, unittest.hasLength(2)); |
| 3305 unittest.expect(o[0], unittest.equals('foo')); | 3307 unittest.expect(o[0], unittest.equals('foo')); |
| 3306 unittest.expect(o[1], unittest.equals('foo')); | 3308 unittest.expect(o[1], unittest.equals('foo')); |
| 3307 } | 3309 } |
| 3308 | 3310 |
| 3309 buildUnnamed1237() { | 3311 buildUnnamed1212() { |
| 3310 var o = new core.List<api.Option>(); | 3312 var o = new core.List<api.Option>(); |
| 3311 o.add(buildOption()); | 3313 o.add(buildOption()); |
| 3312 o.add(buildOption()); | 3314 o.add(buildOption()); |
| 3313 return o; | 3315 return o; |
| 3314 } | 3316 } |
| 3315 | 3317 |
| 3316 checkUnnamed1237(core.List<api.Option> o) { | 3318 checkUnnamed1212(core.List<api.Option> o) { |
| 3317 unittest.expect(o, unittest.hasLength(2)); | 3319 unittest.expect(o, unittest.hasLength(2)); |
| 3318 checkOption(o[0]); | 3320 checkOption(o[0]); |
| 3319 checkOption(o[1]); | 3321 checkOption(o[1]); |
| 3320 } | 3322 } |
| 3321 | 3323 |
| 3322 core.int buildCounterType = 0; | 3324 core.int buildCounterType = 0; |
| 3323 buildType() { | 3325 buildType() { |
| 3324 var o = new api.Type(); | 3326 var o = new api.Type(); |
| 3325 buildCounterType++; | 3327 buildCounterType++; |
| 3326 if (buildCounterType < 3) { | 3328 if (buildCounterType < 3) { |
| 3327 o.fields = buildUnnamed1235(); | 3329 o.fields = buildUnnamed1210(); |
| 3328 o.name = "foo"; | 3330 o.name = "foo"; |
| 3329 o.oneofs = buildUnnamed1236(); | 3331 o.oneofs = buildUnnamed1211(); |
| 3330 o.options = buildUnnamed1237(); | 3332 o.options = buildUnnamed1212(); |
| 3331 o.sourceContext = buildSourceContext(); | 3333 o.sourceContext = buildSourceContext(); |
| 3332 o.syntax = "foo"; | 3334 o.syntax = "foo"; |
| 3333 } | 3335 } |
| 3334 buildCounterType--; | 3336 buildCounterType--; |
| 3335 return o; | 3337 return o; |
| 3336 } | 3338 } |
| 3337 | 3339 |
| 3338 checkType(api.Type o) { | 3340 checkType(api.Type o) { |
| 3339 buildCounterType++; | 3341 buildCounterType++; |
| 3340 if (buildCounterType < 3) { | 3342 if (buildCounterType < 3) { |
| 3341 checkUnnamed1235(o.fields); | 3343 checkUnnamed1210(o.fields); |
| 3342 unittest.expect(o.name, unittest.equals('foo')); | 3344 unittest.expect(o.name, unittest.equals('foo')); |
| 3343 checkUnnamed1236(o.oneofs); | 3345 checkUnnamed1211(o.oneofs); |
| 3344 checkUnnamed1237(o.options); | 3346 checkUnnamed1212(o.options); |
| 3345 checkSourceContext(o.sourceContext); | 3347 checkSourceContext(o.sourceContext); |
| 3346 unittest.expect(o.syntax, unittest.equals('foo')); | 3348 unittest.expect(o.syntax, unittest.equals('foo')); |
| 3347 } | 3349 } |
| 3348 buildCounterType--; | 3350 buildCounterType--; |
| 3349 } | 3351 } |
| 3350 | 3352 |
| 3351 core.int buildCounterUndeleteServiceResponse = 0; | 3353 core.int buildCounterUndeleteServiceResponse = 0; |
| 3352 buildUndeleteServiceResponse() { | 3354 buildUndeleteServiceResponse() { |
| 3353 var o = new api.UndeleteServiceResponse(); | 3355 var o = new api.UndeleteServiceResponse(); |
| 3354 buildCounterUndeleteServiceResponse++; | 3356 buildCounterUndeleteServiceResponse++; |
| 3355 if (buildCounterUndeleteServiceResponse < 3) { | 3357 if (buildCounterUndeleteServiceResponse < 3) { |
| 3356 o.service = buildManagedService(); | 3358 o.service = buildManagedService(); |
| 3357 } | 3359 } |
| 3358 buildCounterUndeleteServiceResponse--; | 3360 buildCounterUndeleteServiceResponse--; |
| 3359 return o; | 3361 return o; |
| 3360 } | 3362 } |
| 3361 | 3363 |
| 3362 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { | 3364 checkUndeleteServiceResponse(api.UndeleteServiceResponse o) { |
| 3363 buildCounterUndeleteServiceResponse++; | 3365 buildCounterUndeleteServiceResponse++; |
| 3364 if (buildCounterUndeleteServiceResponse < 3) { | 3366 if (buildCounterUndeleteServiceResponse < 3) { |
| 3365 checkManagedService(o.service); | 3367 checkManagedService(o.service); |
| 3366 } | 3368 } |
| 3367 buildCounterUndeleteServiceResponse--; | 3369 buildCounterUndeleteServiceResponse--; |
| 3368 } | 3370 } |
| 3369 | 3371 |
| 3370 buildUnnamed1238() { | 3372 buildUnnamed1213() { |
| 3371 var o = new core.List<core.String>(); | 3373 var o = new core.List<core.String>(); |
| 3372 o.add("foo"); | 3374 o.add("foo"); |
| 3373 o.add("foo"); | 3375 o.add("foo"); |
| 3374 return o; | 3376 return o; |
| 3375 } | 3377 } |
| 3376 | 3378 |
| 3377 checkUnnamed1238(core.List<core.String> o) { | 3379 checkUnnamed1213(core.List<core.String> o) { |
| 3378 unittest.expect(o, unittest.hasLength(2)); | 3380 unittest.expect(o, unittest.hasLength(2)); |
| 3379 unittest.expect(o[0], unittest.equals('foo')); | 3381 unittest.expect(o[0], unittest.equals('foo')); |
| 3380 unittest.expect(o[1], unittest.equals('foo')); | 3382 unittest.expect(o[1], unittest.equals('foo')); |
| 3381 } | 3383 } |
| 3382 | 3384 |
| 3383 buildUnnamed1239() { | 3385 buildUnnamed1214() { |
| 3384 var o = new core.List<api.UsageRule>(); | 3386 var o = new core.List<api.UsageRule>(); |
| 3385 o.add(buildUsageRule()); | 3387 o.add(buildUsageRule()); |
| 3386 o.add(buildUsageRule()); | 3388 o.add(buildUsageRule()); |
| 3387 return o; | 3389 return o; |
| 3388 } | 3390 } |
| 3389 | 3391 |
| 3390 checkUnnamed1239(core.List<api.UsageRule> o) { | 3392 checkUnnamed1214(core.List<api.UsageRule> o) { |
| 3391 unittest.expect(o, unittest.hasLength(2)); | 3393 unittest.expect(o, unittest.hasLength(2)); |
| 3392 checkUsageRule(o[0]); | 3394 checkUsageRule(o[0]); |
| 3393 checkUsageRule(o[1]); | 3395 checkUsageRule(o[1]); |
| 3394 } | 3396 } |
| 3395 | 3397 |
| 3396 core.int buildCounterUsage = 0; | 3398 core.int buildCounterUsage = 0; |
| 3397 buildUsage() { | 3399 buildUsage() { |
| 3398 var o = new api.Usage(); | 3400 var o = new api.Usage(); |
| 3399 buildCounterUsage++; | 3401 buildCounterUsage++; |
| 3400 if (buildCounterUsage < 3) { | 3402 if (buildCounterUsage < 3) { |
| 3401 o.producerNotificationChannel = "foo"; | 3403 o.producerNotificationChannel = "foo"; |
| 3402 o.requirements = buildUnnamed1238(); | 3404 o.requirements = buildUnnamed1213(); |
| 3403 o.rules = buildUnnamed1239(); | 3405 o.rules = buildUnnamed1214(); |
| 3404 } | 3406 } |
| 3405 buildCounterUsage--; | 3407 buildCounterUsage--; |
| 3406 return o; | 3408 return o; |
| 3407 } | 3409 } |
| 3408 | 3410 |
| 3409 checkUsage(api.Usage o) { | 3411 checkUsage(api.Usage o) { |
| 3410 buildCounterUsage++; | 3412 buildCounterUsage++; |
| 3411 if (buildCounterUsage < 3) { | 3413 if (buildCounterUsage < 3) { |
| 3412 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); | 3414 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); |
| 3413 checkUnnamed1238(o.requirements); | 3415 checkUnnamed1213(o.requirements); |
| 3414 checkUnnamed1239(o.rules); | 3416 checkUnnamed1214(o.rules); |
| 3415 } | 3417 } |
| 3416 buildCounterUsage--; | 3418 buildCounterUsage--; |
| 3417 } | 3419 } |
| 3418 | 3420 |
| 3419 core.int buildCounterUsageRule = 0; | 3421 core.int buildCounterUsageRule = 0; |
| 3420 buildUsageRule() { | 3422 buildUsageRule() { |
| 3421 var o = new api.UsageRule(); | 3423 var o = new api.UsageRule(); |
| 3422 buildCounterUsageRule++; | 3424 buildCounterUsageRule++; |
| 3423 if (buildCounterUsageRule < 3) { | 3425 if (buildCounterUsageRule < 3) { |
| 3424 o.allowUnregisteredCalls = true; | 3426 o.allowUnregisteredCalls = true; |
| 3425 o.selector = "foo"; | 3427 o.selector = "foo"; |
| 3426 o.skipServiceControl = true; | 3428 o.skipServiceControl = true; |
| 3427 } | 3429 } |
| 3428 buildCounterUsageRule--; | 3430 buildCounterUsageRule--; |
| 3429 return o; | 3431 return o; |
| 3430 } | 3432 } |
| 3431 | 3433 |
| 3432 checkUsageRule(api.UsageRule o) { | 3434 checkUsageRule(api.UsageRule o) { |
| 3433 buildCounterUsageRule++; | 3435 buildCounterUsageRule++; |
| 3434 if (buildCounterUsageRule < 3) { | 3436 if (buildCounterUsageRule < 3) { |
| 3435 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); | 3437 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); |
| 3436 unittest.expect(o.selector, unittest.equals('foo')); | 3438 unittest.expect(o.selector, unittest.equals('foo')); |
| 3437 unittest.expect(o.skipServiceControl, unittest.isTrue); | 3439 unittest.expect(o.skipServiceControl, unittest.isTrue); |
| 3438 } | 3440 } |
| 3439 buildCounterUsageRule--; | 3441 buildCounterUsageRule--; |
| 3440 } | 3442 } |
| 3441 | 3443 |
| 3442 buildUnnamed1240() { | 3444 buildUnnamed1215() { |
| 3443 var o = new core.List<api.VisibilityRule>(); | 3445 var o = new core.List<api.VisibilityRule>(); |
| 3444 o.add(buildVisibilityRule()); | 3446 o.add(buildVisibilityRule()); |
| 3445 o.add(buildVisibilityRule()); | 3447 o.add(buildVisibilityRule()); |
| 3446 return o; | 3448 return o; |
| 3447 } | 3449 } |
| 3448 | 3450 |
| 3449 checkUnnamed1240(core.List<api.VisibilityRule> o) { | 3451 checkUnnamed1215(core.List<api.VisibilityRule> o) { |
| 3450 unittest.expect(o, unittest.hasLength(2)); | 3452 unittest.expect(o, unittest.hasLength(2)); |
| 3451 checkVisibilityRule(o[0]); | 3453 checkVisibilityRule(o[0]); |
| 3452 checkVisibilityRule(o[1]); | 3454 checkVisibilityRule(o[1]); |
| 3453 } | 3455 } |
| 3454 | 3456 |
| 3455 core.int buildCounterVisibility = 0; | 3457 core.int buildCounterVisibility = 0; |
| 3456 buildVisibility() { | 3458 buildVisibility() { |
| 3457 var o = new api.Visibility(); | 3459 var o = new api.Visibility(); |
| 3458 buildCounterVisibility++; | 3460 buildCounterVisibility++; |
| 3459 if (buildCounterVisibility < 3) { | 3461 if (buildCounterVisibility < 3) { |
| 3460 o.rules = buildUnnamed1240(); | 3462 o.rules = buildUnnamed1215(); |
| 3461 } | 3463 } |
| 3462 buildCounterVisibility--; | 3464 buildCounterVisibility--; |
| 3463 return o; | 3465 return o; |
| 3464 } | 3466 } |
| 3465 | 3467 |
| 3466 checkVisibility(api.Visibility o) { | 3468 checkVisibility(api.Visibility o) { |
| 3467 buildCounterVisibility++; | 3469 buildCounterVisibility++; |
| 3468 if (buildCounterVisibility < 3) { | 3470 if (buildCounterVisibility < 3) { |
| 3469 checkUnnamed1240(o.rules); | 3471 checkUnnamed1215(o.rules); |
| 3470 } | 3472 } |
| 3471 buildCounterVisibility--; | 3473 buildCounterVisibility--; |
| 3472 } | 3474 } |
| 3473 | 3475 |
| 3474 core.int buildCounterVisibilityRule = 0; | 3476 core.int buildCounterVisibilityRule = 0; |
| 3475 buildVisibilityRule() { | 3477 buildVisibilityRule() { |
| 3476 var o = new api.VisibilityRule(); | 3478 var o = new api.VisibilityRule(); |
| 3477 buildCounterVisibilityRule++; | 3479 buildCounterVisibilityRule++; |
| 3478 if (buildCounterVisibilityRule < 3) { | 3480 if (buildCounterVisibilityRule < 3) { |
| 3479 o.restriction = "foo"; | 3481 o.restriction = "foo"; |
| (...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4392 }), true); | 4394 }), true); |
| 4393 res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) { | 4395 res.get(arg_name).then(unittest.expectAsync1(((api.Operation response) { |
| 4394 checkOperation(response); | 4396 checkOperation(response); |
| 4395 }))); | 4397 }))); |
| 4396 }); | 4398 }); |
| 4397 | 4399 |
| 4398 unittest.test("method--list", () { | 4400 unittest.test("method--list", () { |
| 4399 | 4401 |
| 4400 var mock = new HttpServerMock(); | 4402 var mock = new HttpServerMock(); |
| 4401 api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operati
ons; | 4403 api.OperationsResourceApi res = new api.ServicemanagementApi(mock).operati
ons; |
| 4404 var arg_filter = "foo"; |
| 4402 var arg_pageToken = "foo"; | 4405 var arg_pageToken = "foo"; |
| 4403 var arg_name = "foo"; | 4406 var arg_name = "foo"; |
| 4404 var arg_pageSize = 42; | 4407 var arg_pageSize = 42; |
| 4405 var arg_filter = "foo"; | |
| 4406 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 4408 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 4407 var path = (req.url).path; | 4409 var path = (req.url).path; |
| 4408 var pathOffset = 0; | 4410 var pathOffset = 0; |
| 4409 var index; | 4411 var index; |
| 4410 var subPart; | 4412 var subPart; |
| 4411 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4412 pathOffset += 1; | 4414 pathOffset += 1; |
| 4413 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("v1/operations")); | 4415 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("v1/operations")); |
| 4414 pathOffset += 13; | 4416 pathOffset += 13; |
| 4415 | 4417 |
| 4416 var query = (req.url).query; | 4418 var query = (req.url).query; |
| 4417 var queryOffset = 0; | 4419 var queryOffset = 0; |
| 4418 var queryMap = {}; | 4420 var queryMap = {}; |
| 4419 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 4421 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4420 parseBool(n) { | 4422 parseBool(n) { |
| 4421 if (n == "true") return true; | 4423 if (n == "true") return true; |
| 4422 if (n == "false") return false; | 4424 if (n == "false") return false; |
| 4423 if (n == null) return null; | 4425 if (n == null) return null; |
| 4424 throw new core.ArgumentError("Invalid boolean: $n"); | 4426 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4425 } | 4427 } |
| 4426 if (query.length > 0) { | 4428 if (query.length > 0) { |
| 4427 for (var part in query.split("&")) { | 4429 for (var part in query.split("&")) { |
| 4428 var keyvalue = part.split("="); | 4430 var keyvalue = part.split("="); |
| 4429 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4431 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4430 } | 4432 } |
| 4431 } | 4433 } |
| 4434 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 4432 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 4435 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 4433 unittest.expect(queryMap["name"].first, unittest.equals(arg_name)); | 4436 unittest.expect(queryMap["name"].first, unittest.equals(arg_name)); |
| 4434 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 4437 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 4435 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | |
| 4436 | 4438 |
| 4437 | 4439 |
| 4438 var h = { | 4440 var h = { |
| 4439 "content-type" : "application/json; charset=utf-8", | 4441 "content-type" : "application/json; charset=utf-8", |
| 4440 }; | 4442 }; |
| 4441 var resp = convert.JSON.encode(buildListOperationsResponse()); | 4443 var resp = convert.JSON.encode(buildListOperationsResponse()); |
| 4442 return new async.Future.value(stringResponse(200, h, resp)); | 4444 return new async.Future.value(stringResponse(200, h, resp)); |
| 4443 }), true); | 4445 }), true); |
| 4444 res.list(pageToken: arg_pageToken, name: arg_name, pageSize: arg_pageSize,
filter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse res
ponse) { | 4446 res.list(filter: arg_filter, pageToken: arg_pageToken, name: arg_name, pag
eSize: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse res
ponse) { |
| 4445 checkListOperationsResponse(response); | 4447 checkListOperationsResponse(response); |
| 4446 }))); | 4448 }))); |
| 4447 }); | 4449 }); |
| 4448 | 4450 |
| 4449 }); | 4451 }); |
| 4450 | 4452 |
| 4451 | 4453 |
| 4452 unittest.group("resource-ServicesResourceApi", () { | 4454 unittest.group("resource-ServicesResourceApi", () { |
| 4453 unittest.test("method--create", () { | 4455 unittest.test("method--create", () { |
| 4454 | 4456 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4746 res.get(arg_serviceName).then(unittest.expectAsync1(((api.ManagedService r
esponse) { | 4748 res.get(arg_serviceName).then(unittest.expectAsync1(((api.ManagedService r
esponse) { |
| 4747 checkManagedService(response); | 4749 checkManagedService(response); |
| 4748 }))); | 4750 }))); |
| 4749 }); | 4751 }); |
| 4750 | 4752 |
| 4751 unittest.test("method--getConfig", () { | 4753 unittest.test("method--getConfig", () { |
| 4752 | 4754 |
| 4753 var mock = new HttpServerMock(); | 4755 var mock = new HttpServerMock(); |
| 4754 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; | 4756 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; |
| 4755 var arg_serviceName = "foo"; | 4757 var arg_serviceName = "foo"; |
| 4758 var arg_configId = "foo"; |
| 4756 var arg_view = "foo"; | 4759 var arg_view = "foo"; |
| 4757 var arg_configId = "foo"; | |
| 4758 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 4760 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 4759 var path = (req.url).path; | 4761 var path = (req.url).path; |
| 4760 var pathOffset = 0; | 4762 var pathOffset = 0; |
| 4761 var index; | 4763 var index; |
| 4762 var subPart; | 4764 var subPart; |
| 4763 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4765 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4764 pathOffset += 1; | 4766 pathOffset += 1; |
| 4765 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/services/")); | 4767 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/services/")); |
| 4766 pathOffset += 12; | 4768 pathOffset += 12; |
| 4767 index = path.indexOf("/config", pathOffset); | 4769 index = path.indexOf("/config", pathOffset); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4781 if (n == "false") return false; | 4783 if (n == "false") return false; |
| 4782 if (n == null) return null; | 4784 if (n == null) return null; |
| 4783 throw new core.ArgumentError("Invalid boolean: $n"); | 4785 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4784 } | 4786 } |
| 4785 if (query.length > 0) { | 4787 if (query.length > 0) { |
| 4786 for (var part in query.split("&")) { | 4788 for (var part in query.split("&")) { |
| 4787 var keyvalue = part.split("="); | 4789 var keyvalue = part.split("="); |
| 4788 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4790 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4789 } | 4791 } |
| 4790 } | 4792 } |
| 4793 unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId
)); |
| 4791 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); | 4794 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); |
| 4792 unittest.expect(queryMap["configId"].first, unittest.equals(arg_configId
)); | |
| 4793 | 4795 |
| 4794 | 4796 |
| 4795 var h = { | 4797 var h = { |
| 4796 "content-type" : "application/json; charset=utf-8", | 4798 "content-type" : "application/json; charset=utf-8", |
| 4797 }; | 4799 }; |
| 4798 var resp = convert.JSON.encode(buildService()); | 4800 var resp = convert.JSON.encode(buildService()); |
| 4799 return new async.Future.value(stringResponse(200, h, resp)); | 4801 return new async.Future.value(stringResponse(200, h, resp)); |
| 4800 }), true); | 4802 }), true); |
| 4801 res.getConfig(arg_serviceName, view: arg_view, configId: arg_configId).the
n(unittest.expectAsync1(((api.Service response) { | 4803 res.getConfig(arg_serviceName, configId: arg_configId, view: arg_view).the
n(unittest.expectAsync1(((api.Service response) { |
| 4802 checkService(response); | 4804 checkService(response); |
| 4803 }))); | 4805 }))); |
| 4804 }); | 4806 }); |
| 4805 | 4807 |
| 4806 unittest.test("method--getIamPolicy", () { | 4808 unittest.test("method--getIamPolicy", () { |
| 4807 | 4809 |
| 4808 var mock = new HttpServerMock(); | 4810 var mock = new HttpServerMock(); |
| 4809 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; | 4811 api.ServicesResourceApi res = new api.ServicemanagementApi(mock).services; |
| 4810 var arg_request = buildGetIamPolicyRequest(); | 4812 var arg_request = buildGetIamPolicyRequest(); |
| 4811 var arg_resource = "foo"; | 4813 var arg_resource = "foo"; |
| (...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5541 res.get(arg_serviceName, arg_rolloutId).then(unittest.expectAsync1(((api.R
ollout response) { | 5543 res.get(arg_serviceName, arg_rolloutId).then(unittest.expectAsync1(((api.R
ollout response) { |
| 5542 checkRollout(response); | 5544 checkRollout(response); |
| 5543 }))); | 5545 }))); |
| 5544 }); | 5546 }); |
| 5545 | 5547 |
| 5546 unittest.test("method--list", () { | 5548 unittest.test("method--list", () { |
| 5547 | 5549 |
| 5548 var mock = new HttpServerMock(); | 5550 var mock = new HttpServerMock(); |
| 5549 api.ServicesRolloutsResourceApi res = new api.ServicemanagementApi(mock).s
ervices.rollouts; | 5551 api.ServicesRolloutsResourceApi res = new api.ServicemanagementApi(mock).s
ervices.rollouts; |
| 5550 var arg_serviceName = "foo"; | 5552 var arg_serviceName = "foo"; |
| 5553 var arg_filter = "foo"; |
| 5551 var arg_pageToken = "foo"; | 5554 var arg_pageToken = "foo"; |
| 5552 var arg_pageSize = 42; | 5555 var arg_pageSize = 42; |
| 5553 var arg_filter = "foo"; | |
| 5554 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { | 5556 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 5555 var path = (req.url).path; | 5557 var path = (req.url).path; |
| 5556 var pathOffset = 0; | 5558 var pathOffset = 0; |
| 5557 var index; | 5559 var index; |
| 5558 var subPart; | 5560 var subPart; |
| 5559 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5561 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5560 pathOffset += 1; | 5562 pathOffset += 1; |
| 5561 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/services/")); | 5563 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/services/")); |
| 5562 pathOffset += 12; | 5564 pathOffset += 12; |
| 5563 index = path.indexOf("/rollouts", pathOffset); | 5565 index = path.indexOf("/rollouts", pathOffset); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5577 if (n == "false") return false; | 5579 if (n == "false") return false; |
| 5578 if (n == null) return null; | 5580 if (n == null) return null; |
| 5579 throw new core.ArgumentError("Invalid boolean: $n"); | 5581 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5580 } | 5582 } |
| 5581 if (query.length > 0) { | 5583 if (query.length > 0) { |
| 5582 for (var part in query.split("&")) { | 5584 for (var part in query.split("&")) { |
| 5583 var keyvalue = part.split("="); | 5585 var keyvalue = part.split("="); |
| 5584 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5586 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5585 } | 5587 } |
| 5586 } | 5588 } |
| 5589 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 5587 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5590 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5588 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 5591 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5589 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | |
| 5590 | 5592 |
| 5591 | 5593 |
| 5592 var h = { | 5594 var h = { |
| 5593 "content-type" : "application/json; charset=utf-8", | 5595 "content-type" : "application/json; charset=utf-8", |
| 5594 }; | 5596 }; |
| 5595 var resp = convert.JSON.encode(buildListServiceRolloutsResponse()); | 5597 var resp = convert.JSON.encode(buildListServiceRolloutsResponse()); |
| 5596 return new async.Future.value(stringResponse(200, h, resp)); | 5598 return new async.Future.value(stringResponse(200, h, resp)); |
| 5597 }), true); | 5599 }), true); |
| 5598 res.list(arg_serviceName, pageToken: arg_pageToken, pageSize: arg_pageSize
, filter: arg_filter).then(unittest.expectAsync1(((api.ListServiceRolloutsRespon
se response) { | 5600 res.list(arg_serviceName, filter: arg_filter, pageToken: arg_pageToken, pa
geSize: arg_pageSize).then(unittest.expectAsync1(((api.ListServiceRolloutsRespon
se response) { |
| 5599 checkListServiceRolloutsResponse(response); | 5601 checkListServiceRolloutsResponse(response); |
| 5600 }))); | 5602 }))); |
| 5601 }); | 5603 }); |
| 5602 | 5604 |
| 5603 }); | 5605 }); |
| 5604 | 5606 |
| 5605 | 5607 |
| 5606 } | 5608 } |
| 5607 | 5609 |
| OLD | NEW |