| OLD | NEW |
| 1 library googleapis.serviceuser.v1.test; | 1 library googleapis.serviceuser.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:unittest/unittest.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| 11 | 11 |
| 12 import 'package:googleapis/serviceuser/v1.dart' as api; | 12 import 'package:googleapis/serviceuser/v1.dart' as api; |
| 13 | 13 |
| 14 class HttpServerMock extends http.BaseClient { | 14 class HttpServerMock extends http.BaseClient { |
| 15 core.Function _callback; | 15 core.Function _callback; |
| 16 core.bool _expectJson; | 16 core.bool _expectJson; |
| 17 | 17 |
| 18 void register(core.Function callback, core.bool expectJson) { | 18 void register(core.Function callback, core.bool expectJson) { |
| 19 _callback = callback; | 19 _callback = callback; |
| 20 _expectJson = expectJson; | 20 _expectJson = expectJson; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 } else { | 39 } else { |
| 40 return stream.toBytes().then((data) { | 40 return stream.toBytes().then((data) { |
| 41 return _callback(request, data); | 41 return _callback(request, data); |
| 42 }); | 42 }); |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed1623() { | 54 buildUnnamed1633() { |
| 55 var o = new core.List<api.Method>(); | 55 var o = new core.List<api.Method>(); |
| 56 o.add(buildMethod()); | 56 o.add(buildMethod()); |
| 57 o.add(buildMethod()); | 57 o.add(buildMethod()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed1623(core.List<api.Method> o) { | 61 checkUnnamed1633(core.List<api.Method> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkMethod(o[0]); | 63 checkMethod(o[0]); |
| 64 checkMethod(o[1]); | 64 checkMethod(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed1624() { | 67 buildUnnamed1634() { |
| 68 var o = new core.List<api.Mixin>(); | 68 var o = new core.List<api.Mixin>(); |
| 69 o.add(buildMixin()); | 69 o.add(buildMixin()); |
| 70 o.add(buildMixin()); | 70 o.add(buildMixin()); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed1624(core.List<api.Mixin> o) { | 74 checkUnnamed1634(core.List<api.Mixin> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 checkMixin(o[0]); | 76 checkMixin(o[0]); |
| 77 checkMixin(o[1]); | 77 checkMixin(o[1]); |
| 78 } | 78 } |
| 79 | 79 |
| 80 buildUnnamed1625() { | 80 buildUnnamed1635() { |
| 81 var o = new core.List<api.Option>(); | 81 var o = new core.List<api.Option>(); |
| 82 o.add(buildOption()); | 82 o.add(buildOption()); |
| 83 o.add(buildOption()); | 83 o.add(buildOption()); |
| 84 return o; | 84 return o; |
| 85 } | 85 } |
| 86 | 86 |
| 87 checkUnnamed1625(core.List<api.Option> o) { | 87 checkUnnamed1635(core.List<api.Option> o) { |
| 88 unittest.expect(o, unittest.hasLength(2)); | 88 unittest.expect(o, unittest.hasLength(2)); |
| 89 checkOption(o[0]); | 89 checkOption(o[0]); |
| 90 checkOption(o[1]); | 90 checkOption(o[1]); |
| 91 } | 91 } |
| 92 | 92 |
| 93 core.int buildCounterApi = 0; | 93 core.int buildCounterApi = 0; |
| 94 buildApi() { | 94 buildApi() { |
| 95 var o = new api.Api(); | 95 var o = new api.Api(); |
| 96 buildCounterApi++; | 96 buildCounterApi++; |
| 97 if (buildCounterApi < 3) { | 97 if (buildCounterApi < 3) { |
| 98 o.methods = buildUnnamed1623(); | 98 o.methods = buildUnnamed1633(); |
| 99 o.mixins = buildUnnamed1624(); | 99 o.mixins = buildUnnamed1634(); |
| 100 o.name = "foo"; | 100 o.name = "foo"; |
| 101 o.options = buildUnnamed1625(); | 101 o.options = buildUnnamed1635(); |
| 102 o.sourceContext = buildSourceContext(); | 102 o.sourceContext = buildSourceContext(); |
| 103 o.syntax = "foo"; | 103 o.syntax = "foo"; |
| 104 o.version = "foo"; | 104 o.version = "foo"; |
| 105 } | 105 } |
| 106 buildCounterApi--; | 106 buildCounterApi--; |
| 107 return o; | 107 return o; |
| 108 } | 108 } |
| 109 | 109 |
| 110 checkApi(api.Api o) { | 110 checkApi(api.Api o) { |
| 111 buildCounterApi++; | 111 buildCounterApi++; |
| 112 if (buildCounterApi < 3) { | 112 if (buildCounterApi < 3) { |
| 113 checkUnnamed1623(o.methods); | 113 checkUnnamed1633(o.methods); |
| 114 checkUnnamed1624(o.mixins); | 114 checkUnnamed1634(o.mixins); |
| 115 unittest.expect(o.name, unittest.equals('foo')); | 115 unittest.expect(o.name, unittest.equals('foo')); |
| 116 checkUnnamed1625(o.options); | 116 checkUnnamed1635(o.options); |
| 117 checkSourceContext(o.sourceContext); | 117 checkSourceContext(o.sourceContext); |
| 118 unittest.expect(o.syntax, unittest.equals('foo')); | 118 unittest.expect(o.syntax, unittest.equals('foo')); |
| 119 unittest.expect(o.version, unittest.equals('foo')); | 119 unittest.expect(o.version, unittest.equals('foo')); |
| 120 } | 120 } |
| 121 buildCounterApi--; | 121 buildCounterApi--; |
| 122 } | 122 } |
| 123 | 123 |
| 124 core.int buildCounterAuthProvider = 0; | 124 core.int buildCounterAuthProvider = 0; |
| 125 buildAuthProvider() { | 125 buildAuthProvider() { |
| 126 var o = new api.AuthProvider(); | 126 var o = new api.AuthProvider(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 checkAuthRequirement(api.AuthRequirement o) { | 161 checkAuthRequirement(api.AuthRequirement o) { |
| 162 buildCounterAuthRequirement++; | 162 buildCounterAuthRequirement++; |
| 163 if (buildCounterAuthRequirement < 3) { | 163 if (buildCounterAuthRequirement < 3) { |
| 164 unittest.expect(o.audiences, unittest.equals('foo')); | 164 unittest.expect(o.audiences, unittest.equals('foo')); |
| 165 unittest.expect(o.providerId, unittest.equals('foo')); | 165 unittest.expect(o.providerId, unittest.equals('foo')); |
| 166 } | 166 } |
| 167 buildCounterAuthRequirement--; | 167 buildCounterAuthRequirement--; |
| 168 } | 168 } |
| 169 | 169 |
| 170 buildUnnamed1626() { | 170 buildUnnamed1636() { |
| 171 var o = new core.List<api.AuthProvider>(); | 171 var o = new core.List<api.AuthProvider>(); |
| 172 o.add(buildAuthProvider()); | 172 o.add(buildAuthProvider()); |
| 173 o.add(buildAuthProvider()); | 173 o.add(buildAuthProvider()); |
| 174 return o; | 174 return o; |
| 175 } | 175 } |
| 176 | 176 |
| 177 checkUnnamed1626(core.List<api.AuthProvider> o) { | 177 checkUnnamed1636(core.List<api.AuthProvider> o) { |
| 178 unittest.expect(o, unittest.hasLength(2)); | 178 unittest.expect(o, unittest.hasLength(2)); |
| 179 checkAuthProvider(o[0]); | 179 checkAuthProvider(o[0]); |
| 180 checkAuthProvider(o[1]); | 180 checkAuthProvider(o[1]); |
| 181 } | 181 } |
| 182 | 182 |
| 183 buildUnnamed1627() { | 183 buildUnnamed1637() { |
| 184 var o = new core.List<api.AuthenticationRule>(); | 184 var o = new core.List<api.AuthenticationRule>(); |
| 185 o.add(buildAuthenticationRule()); | 185 o.add(buildAuthenticationRule()); |
| 186 o.add(buildAuthenticationRule()); | 186 o.add(buildAuthenticationRule()); |
| 187 return o; | 187 return o; |
| 188 } | 188 } |
| 189 | 189 |
| 190 checkUnnamed1627(core.List<api.AuthenticationRule> o) { | 190 checkUnnamed1637(core.List<api.AuthenticationRule> o) { |
| 191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
| 192 checkAuthenticationRule(o[0]); | 192 checkAuthenticationRule(o[0]); |
| 193 checkAuthenticationRule(o[1]); | 193 checkAuthenticationRule(o[1]); |
| 194 } | 194 } |
| 195 | 195 |
| 196 core.int buildCounterAuthentication = 0; | 196 core.int buildCounterAuthentication = 0; |
| 197 buildAuthentication() { | 197 buildAuthentication() { |
| 198 var o = new api.Authentication(); | 198 var o = new api.Authentication(); |
| 199 buildCounterAuthentication++; | 199 buildCounterAuthentication++; |
| 200 if (buildCounterAuthentication < 3) { | 200 if (buildCounterAuthentication < 3) { |
| 201 o.providers = buildUnnamed1626(); | 201 o.providers = buildUnnamed1636(); |
| 202 o.rules = buildUnnamed1627(); | 202 o.rules = buildUnnamed1637(); |
| 203 } | 203 } |
| 204 buildCounterAuthentication--; | 204 buildCounterAuthentication--; |
| 205 return o; | 205 return o; |
| 206 } | 206 } |
| 207 | 207 |
| 208 checkAuthentication(api.Authentication o) { | 208 checkAuthentication(api.Authentication o) { |
| 209 buildCounterAuthentication++; | 209 buildCounterAuthentication++; |
| 210 if (buildCounterAuthentication < 3) { | 210 if (buildCounterAuthentication < 3) { |
| 211 checkUnnamed1626(o.providers); | 211 checkUnnamed1636(o.providers); |
| 212 checkUnnamed1627(o.rules); | 212 checkUnnamed1637(o.rules); |
| 213 } | 213 } |
| 214 buildCounterAuthentication--; | 214 buildCounterAuthentication--; |
| 215 } | 215 } |
| 216 | 216 |
| 217 buildUnnamed1628() { | 217 buildUnnamed1638() { |
| 218 var o = new core.List<api.AuthRequirement>(); | 218 var o = new core.List<api.AuthRequirement>(); |
| 219 o.add(buildAuthRequirement()); | 219 o.add(buildAuthRequirement()); |
| 220 o.add(buildAuthRequirement()); | 220 o.add(buildAuthRequirement()); |
| 221 return o; | 221 return o; |
| 222 } | 222 } |
| 223 | 223 |
| 224 checkUnnamed1628(core.List<api.AuthRequirement> o) { | 224 checkUnnamed1638(core.List<api.AuthRequirement> o) { |
| 225 unittest.expect(o, unittest.hasLength(2)); | 225 unittest.expect(o, unittest.hasLength(2)); |
| 226 checkAuthRequirement(o[0]); | 226 checkAuthRequirement(o[0]); |
| 227 checkAuthRequirement(o[1]); | 227 checkAuthRequirement(o[1]); |
| 228 } | 228 } |
| 229 | 229 |
| 230 core.int buildCounterAuthenticationRule = 0; | 230 core.int buildCounterAuthenticationRule = 0; |
| 231 buildAuthenticationRule() { | 231 buildAuthenticationRule() { |
| 232 var o = new api.AuthenticationRule(); | 232 var o = new api.AuthenticationRule(); |
| 233 buildCounterAuthenticationRule++; | 233 buildCounterAuthenticationRule++; |
| 234 if (buildCounterAuthenticationRule < 3) { | 234 if (buildCounterAuthenticationRule < 3) { |
| 235 o.allowWithoutCredential = true; | 235 o.allowWithoutCredential = true; |
| 236 o.customAuth = buildCustomAuthRequirements(); | 236 o.customAuth = buildCustomAuthRequirements(); |
| 237 o.oauth = buildOAuthRequirements(); | 237 o.oauth = buildOAuthRequirements(); |
| 238 o.requirements = buildUnnamed1628(); | 238 o.requirements = buildUnnamed1638(); |
| 239 o.selector = "foo"; | 239 o.selector = "foo"; |
| 240 } | 240 } |
| 241 buildCounterAuthenticationRule--; | 241 buildCounterAuthenticationRule--; |
| 242 return o; | 242 return o; |
| 243 } | 243 } |
| 244 | 244 |
| 245 checkAuthenticationRule(api.AuthenticationRule o) { | 245 checkAuthenticationRule(api.AuthenticationRule o) { |
| 246 buildCounterAuthenticationRule++; | 246 buildCounterAuthenticationRule++; |
| 247 if (buildCounterAuthenticationRule < 3) { | 247 if (buildCounterAuthenticationRule < 3) { |
| 248 unittest.expect(o.allowWithoutCredential, unittest.isTrue); | 248 unittest.expect(o.allowWithoutCredential, unittest.isTrue); |
| 249 checkCustomAuthRequirements(o.customAuth); | 249 checkCustomAuthRequirements(o.customAuth); |
| 250 checkOAuthRequirements(o.oauth); | 250 checkOAuthRequirements(o.oauth); |
| 251 checkUnnamed1628(o.requirements); | 251 checkUnnamed1638(o.requirements); |
| 252 unittest.expect(o.selector, unittest.equals('foo')); | 252 unittest.expect(o.selector, unittest.equals('foo')); |
| 253 } | 253 } |
| 254 buildCounterAuthenticationRule--; | 254 buildCounterAuthenticationRule--; |
| 255 } | 255 } |
| 256 | 256 |
| 257 core.int buildCounterAuthorizationConfig = 0; | 257 core.int buildCounterAuthorizationConfig = 0; |
| 258 buildAuthorizationConfig() { | 258 buildAuthorizationConfig() { |
| 259 var o = new api.AuthorizationConfig(); | 259 var o = new api.AuthorizationConfig(); |
| 260 buildCounterAuthorizationConfig++; | 260 buildCounterAuthorizationConfig++; |
| 261 if (buildCounterAuthorizationConfig < 3) { | 261 if (buildCounterAuthorizationConfig < 3) { |
| 262 o.provider = "foo"; | 262 o.provider = "foo"; |
| 263 } | 263 } |
| 264 buildCounterAuthorizationConfig--; | 264 buildCounterAuthorizationConfig--; |
| 265 return o; | 265 return o; |
| 266 } | 266 } |
| 267 | 267 |
| 268 checkAuthorizationConfig(api.AuthorizationConfig o) { | 268 checkAuthorizationConfig(api.AuthorizationConfig o) { |
| 269 buildCounterAuthorizationConfig++; | 269 buildCounterAuthorizationConfig++; |
| 270 if (buildCounterAuthorizationConfig < 3) { | 270 if (buildCounterAuthorizationConfig < 3) { |
| 271 unittest.expect(o.provider, unittest.equals('foo')); | 271 unittest.expect(o.provider, unittest.equals('foo')); |
| 272 } | 272 } |
| 273 buildCounterAuthorizationConfig--; | 273 buildCounterAuthorizationConfig--; |
| 274 } | 274 } |
| 275 | 275 |
| 276 buildUnnamed1629() { | 276 buildUnnamed1639() { |
| 277 var o = new core.List<api.BackendRule>(); | 277 var o = new core.List<api.BackendRule>(); |
| 278 o.add(buildBackendRule()); | 278 o.add(buildBackendRule()); |
| 279 o.add(buildBackendRule()); | 279 o.add(buildBackendRule()); |
| 280 return o; | 280 return o; |
| 281 } | 281 } |
| 282 | 282 |
| 283 checkUnnamed1629(core.List<api.BackendRule> o) { | 283 checkUnnamed1639(core.List<api.BackendRule> o) { |
| 284 unittest.expect(o, unittest.hasLength(2)); | 284 unittest.expect(o, unittest.hasLength(2)); |
| 285 checkBackendRule(o[0]); | 285 checkBackendRule(o[0]); |
| 286 checkBackendRule(o[1]); | 286 checkBackendRule(o[1]); |
| 287 } | 287 } |
| 288 | 288 |
| 289 core.int buildCounterBackend = 0; | 289 core.int buildCounterBackend = 0; |
| 290 buildBackend() { | 290 buildBackend() { |
| 291 var o = new api.Backend(); | 291 var o = new api.Backend(); |
| 292 buildCounterBackend++; | 292 buildCounterBackend++; |
| 293 if (buildCounterBackend < 3) { | 293 if (buildCounterBackend < 3) { |
| 294 o.rules = buildUnnamed1629(); | 294 o.rules = buildUnnamed1639(); |
| 295 } | 295 } |
| 296 buildCounterBackend--; | 296 buildCounterBackend--; |
| 297 return o; | 297 return o; |
| 298 } | 298 } |
| 299 | 299 |
| 300 checkBackend(api.Backend o) { | 300 checkBackend(api.Backend o) { |
| 301 buildCounterBackend++; | 301 buildCounterBackend++; |
| 302 if (buildCounterBackend < 3) { | 302 if (buildCounterBackend < 3) { |
| 303 checkUnnamed1629(o.rules); | 303 checkUnnamed1639(o.rules); |
| 304 } | 304 } |
| 305 buildCounterBackend--; | 305 buildCounterBackend--; |
| 306 } | 306 } |
| 307 | 307 |
| 308 core.int buildCounterBackendRule = 0; | 308 core.int buildCounterBackendRule = 0; |
| 309 buildBackendRule() { | 309 buildBackendRule() { |
| 310 var o = new api.BackendRule(); | 310 var o = new api.BackendRule(); |
| 311 buildCounterBackendRule++; | 311 buildCounterBackendRule++; |
| 312 if (buildCounterBackendRule < 3) { | 312 if (buildCounterBackendRule < 3) { |
| 313 o.address = "foo"; | 313 o.address = "foo"; |
| 314 o.deadline = 42.0; | 314 o.deadline = 42.0; |
| 315 o.minDeadline = 42.0; | 315 o.minDeadline = 42.0; |
| 316 o.selector = "foo"; | 316 o.selector = "foo"; |
| 317 } | 317 } |
| 318 buildCounterBackendRule--; | 318 buildCounterBackendRule--; |
| 319 return o; | 319 return o; |
| 320 } | 320 } |
| 321 | 321 |
| 322 checkBackendRule(api.BackendRule o) { | 322 checkBackendRule(api.BackendRule o) { |
| 323 buildCounterBackendRule++; | 323 buildCounterBackendRule++; |
| 324 if (buildCounterBackendRule < 3) { | 324 if (buildCounterBackendRule < 3) { |
| 325 unittest.expect(o.address, unittest.equals('foo')); | 325 unittest.expect(o.address, unittest.equals('foo')); |
| 326 unittest.expect(o.deadline, unittest.equals(42.0)); | 326 unittest.expect(o.deadline, unittest.equals(42.0)); |
| 327 unittest.expect(o.minDeadline, unittest.equals(42.0)); | 327 unittest.expect(o.minDeadline, unittest.equals(42.0)); |
| 328 unittest.expect(o.selector, unittest.equals('foo')); | 328 unittest.expect(o.selector, unittest.equals('foo')); |
| 329 } | 329 } |
| 330 buildCounterBackendRule--; | 330 buildCounterBackendRule--; |
| 331 } | 331 } |
| 332 | 332 |
| 333 buildUnnamed1630() { | 333 buildUnnamed1640() { |
| 334 var o = new core.List<api.ContextRule>(); | 334 var o = new core.List<api.ContextRule>(); |
| 335 o.add(buildContextRule()); | 335 o.add(buildContextRule()); |
| 336 o.add(buildContextRule()); | 336 o.add(buildContextRule()); |
| 337 return o; | 337 return o; |
| 338 } | 338 } |
| 339 | 339 |
| 340 checkUnnamed1630(core.List<api.ContextRule> o) { | 340 checkUnnamed1640(core.List<api.ContextRule> o) { |
| 341 unittest.expect(o, unittest.hasLength(2)); | 341 unittest.expect(o, unittest.hasLength(2)); |
| 342 checkContextRule(o[0]); | 342 checkContextRule(o[0]); |
| 343 checkContextRule(o[1]); | 343 checkContextRule(o[1]); |
| 344 } | 344 } |
| 345 | 345 |
| 346 core.int buildCounterContext = 0; | 346 core.int buildCounterContext = 0; |
| 347 buildContext() { | 347 buildContext() { |
| 348 var o = new api.Context(); | 348 var o = new api.Context(); |
| 349 buildCounterContext++; | 349 buildCounterContext++; |
| 350 if (buildCounterContext < 3) { | 350 if (buildCounterContext < 3) { |
| 351 o.rules = buildUnnamed1630(); | 351 o.rules = buildUnnamed1640(); |
| 352 } | 352 } |
| 353 buildCounterContext--; | 353 buildCounterContext--; |
| 354 return o; | 354 return o; |
| 355 } | 355 } |
| 356 | 356 |
| 357 checkContext(api.Context o) { | 357 checkContext(api.Context o) { |
| 358 buildCounterContext++; | 358 buildCounterContext++; |
| 359 if (buildCounterContext < 3) { | 359 if (buildCounterContext < 3) { |
| 360 checkUnnamed1630(o.rules); | 360 checkUnnamed1640(o.rules); |
| 361 } | 361 } |
| 362 buildCounterContext--; | 362 buildCounterContext--; |
| 363 } | 363 } |
| 364 | 364 |
| 365 buildUnnamed1631() { | 365 buildUnnamed1641() { |
| 366 var o = new core.List<core.String>(); | 366 var o = new core.List<core.String>(); |
| 367 o.add("foo"); | 367 o.add("foo"); |
| 368 o.add("foo"); | 368 o.add("foo"); |
| 369 return o; | 369 return o; |
| 370 } | 370 } |
| 371 | 371 |
| 372 checkUnnamed1631(core.List<core.String> o) { | 372 checkUnnamed1641(core.List<core.String> o) { |
| 373 unittest.expect(o, unittest.hasLength(2)); | 373 unittest.expect(o, unittest.hasLength(2)); |
| 374 unittest.expect(o[0], unittest.equals('foo')); | 374 unittest.expect(o[0], unittest.equals('foo')); |
| 375 unittest.expect(o[1], unittest.equals('foo')); | 375 unittest.expect(o[1], unittest.equals('foo')); |
| 376 } | 376 } |
| 377 | 377 |
| 378 buildUnnamed1632() { | 378 buildUnnamed1642() { |
| 379 var o = new core.List<core.String>(); | 379 var o = new core.List<core.String>(); |
| 380 o.add("foo"); | 380 o.add("foo"); |
| 381 o.add("foo"); | 381 o.add("foo"); |
| 382 return o; | 382 return o; |
| 383 } | 383 } |
| 384 | 384 |
| 385 checkUnnamed1632(core.List<core.String> o) { | 385 checkUnnamed1642(core.List<core.String> o) { |
| 386 unittest.expect(o, unittest.hasLength(2)); | 386 unittest.expect(o, unittest.hasLength(2)); |
| 387 unittest.expect(o[0], unittest.equals('foo')); | 387 unittest.expect(o[0], unittest.equals('foo')); |
| 388 unittest.expect(o[1], unittest.equals('foo')); | 388 unittest.expect(o[1], unittest.equals('foo')); |
| 389 } | 389 } |
| 390 | 390 |
| 391 core.int buildCounterContextRule = 0; | 391 core.int buildCounterContextRule = 0; |
| 392 buildContextRule() { | 392 buildContextRule() { |
| 393 var o = new api.ContextRule(); | 393 var o = new api.ContextRule(); |
| 394 buildCounterContextRule++; | 394 buildCounterContextRule++; |
| 395 if (buildCounterContextRule < 3) { | 395 if (buildCounterContextRule < 3) { |
| 396 o.provided = buildUnnamed1631(); | 396 o.provided = buildUnnamed1641(); |
| 397 o.requested = buildUnnamed1632(); | 397 o.requested = buildUnnamed1642(); |
| 398 o.selector = "foo"; | 398 o.selector = "foo"; |
| 399 } | 399 } |
| 400 buildCounterContextRule--; | 400 buildCounterContextRule--; |
| 401 return o; | 401 return o; |
| 402 } | 402 } |
| 403 | 403 |
| 404 checkContextRule(api.ContextRule o) { | 404 checkContextRule(api.ContextRule o) { |
| 405 buildCounterContextRule++; | 405 buildCounterContextRule++; |
| 406 if (buildCounterContextRule < 3) { | 406 if (buildCounterContextRule < 3) { |
| 407 checkUnnamed1631(o.provided); | 407 checkUnnamed1641(o.provided); |
| 408 checkUnnamed1632(o.requested); | 408 checkUnnamed1642(o.requested); |
| 409 unittest.expect(o.selector, unittest.equals('foo')); | 409 unittest.expect(o.selector, unittest.equals('foo')); |
| 410 } | 410 } |
| 411 buildCounterContextRule--; | 411 buildCounterContextRule--; |
| 412 } | 412 } |
| 413 | 413 |
| 414 core.int buildCounterControl = 0; | 414 core.int buildCounterControl = 0; |
| 415 buildControl() { | 415 buildControl() { |
| 416 var o = new api.Control(); | 416 var o = new api.Control(); |
| 417 buildCounterControl++; | 417 buildCounterControl++; |
| 418 if (buildCounterControl < 3) { | 418 if (buildCounterControl < 3) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 442 } | 442 } |
| 443 | 443 |
| 444 checkCustomAuthRequirements(api.CustomAuthRequirements o) { | 444 checkCustomAuthRequirements(api.CustomAuthRequirements o) { |
| 445 buildCounterCustomAuthRequirements++; | 445 buildCounterCustomAuthRequirements++; |
| 446 if (buildCounterCustomAuthRequirements < 3) { | 446 if (buildCounterCustomAuthRequirements < 3) { |
| 447 unittest.expect(o.provider, unittest.equals('foo')); | 447 unittest.expect(o.provider, unittest.equals('foo')); |
| 448 } | 448 } |
| 449 buildCounterCustomAuthRequirements--; | 449 buildCounterCustomAuthRequirements--; |
| 450 } | 450 } |
| 451 | 451 |
| 452 buildUnnamed1633() { | 452 buildUnnamed1643() { |
| 453 var o = new core.List<api.CustomErrorRule>(); | 453 var o = new core.List<api.CustomErrorRule>(); |
| 454 o.add(buildCustomErrorRule()); | 454 o.add(buildCustomErrorRule()); |
| 455 o.add(buildCustomErrorRule()); | 455 o.add(buildCustomErrorRule()); |
| 456 return o; | 456 return o; |
| 457 } | 457 } |
| 458 | 458 |
| 459 checkUnnamed1633(core.List<api.CustomErrorRule> o) { | 459 checkUnnamed1643(core.List<api.CustomErrorRule> o) { |
| 460 unittest.expect(o, unittest.hasLength(2)); | 460 unittest.expect(o, unittest.hasLength(2)); |
| 461 checkCustomErrorRule(o[0]); | 461 checkCustomErrorRule(o[0]); |
| 462 checkCustomErrorRule(o[1]); | 462 checkCustomErrorRule(o[1]); |
| 463 } | 463 } |
| 464 | 464 |
| 465 buildUnnamed1634() { | 465 buildUnnamed1644() { |
| 466 var o = new core.List<core.String>(); | 466 var o = new core.List<core.String>(); |
| 467 o.add("foo"); | 467 o.add("foo"); |
| 468 o.add("foo"); | 468 o.add("foo"); |
| 469 return o; | 469 return o; |
| 470 } | 470 } |
| 471 | 471 |
| 472 checkUnnamed1634(core.List<core.String> o) { | 472 checkUnnamed1644(core.List<core.String> o) { |
| 473 unittest.expect(o, unittest.hasLength(2)); | 473 unittest.expect(o, unittest.hasLength(2)); |
| 474 unittest.expect(o[0], unittest.equals('foo')); | 474 unittest.expect(o[0], unittest.equals('foo')); |
| 475 unittest.expect(o[1], unittest.equals('foo')); | 475 unittest.expect(o[1], unittest.equals('foo')); |
| 476 } | 476 } |
| 477 | 477 |
| 478 core.int buildCounterCustomError = 0; | 478 core.int buildCounterCustomError = 0; |
| 479 buildCustomError() { | 479 buildCustomError() { |
| 480 var o = new api.CustomError(); | 480 var o = new api.CustomError(); |
| 481 buildCounterCustomError++; | 481 buildCounterCustomError++; |
| 482 if (buildCounterCustomError < 3) { | 482 if (buildCounterCustomError < 3) { |
| 483 o.rules = buildUnnamed1633(); | 483 o.rules = buildUnnamed1643(); |
| 484 o.types = buildUnnamed1634(); | 484 o.types = buildUnnamed1644(); |
| 485 } | 485 } |
| 486 buildCounterCustomError--; | 486 buildCounterCustomError--; |
| 487 return o; | 487 return o; |
| 488 } | 488 } |
| 489 | 489 |
| 490 checkCustomError(api.CustomError o) { | 490 checkCustomError(api.CustomError o) { |
| 491 buildCounterCustomError++; | 491 buildCounterCustomError++; |
| 492 if (buildCounterCustomError < 3) { | 492 if (buildCounterCustomError < 3) { |
| 493 checkUnnamed1633(o.rules); | 493 checkUnnamed1643(o.rules); |
| 494 checkUnnamed1634(o.types); | 494 checkUnnamed1644(o.types); |
| 495 } | 495 } |
| 496 buildCounterCustomError--; | 496 buildCounterCustomError--; |
| 497 } | 497 } |
| 498 | 498 |
| 499 core.int buildCounterCustomErrorRule = 0; | 499 core.int buildCounterCustomErrorRule = 0; |
| 500 buildCustomErrorRule() { | 500 buildCustomErrorRule() { |
| 501 var o = new api.CustomErrorRule(); | 501 var o = new api.CustomErrorRule(); |
| 502 buildCounterCustomErrorRule++; | 502 buildCounterCustomErrorRule++; |
| 503 if (buildCounterCustomErrorRule < 3) { | 503 if (buildCounterCustomErrorRule < 3) { |
| 504 o.isErrorType = true; | 504 o.isErrorType = true; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 return o; | 548 return o; |
| 549 } | 549 } |
| 550 | 550 |
| 551 checkDisableServiceRequest(api.DisableServiceRequest o) { | 551 checkDisableServiceRequest(api.DisableServiceRequest o) { |
| 552 buildCounterDisableServiceRequest++; | 552 buildCounterDisableServiceRequest++; |
| 553 if (buildCounterDisableServiceRequest < 3) { | 553 if (buildCounterDisableServiceRequest < 3) { |
| 554 } | 554 } |
| 555 buildCounterDisableServiceRequest--; | 555 buildCounterDisableServiceRequest--; |
| 556 } | 556 } |
| 557 | 557 |
| 558 buildUnnamed1635() { | 558 buildUnnamed1645() { |
| 559 var o = new core.List<api.Page>(); | 559 var o = new core.List<api.Page>(); |
| 560 o.add(buildPage()); | 560 o.add(buildPage()); |
| 561 o.add(buildPage()); | 561 o.add(buildPage()); |
| 562 return o; | 562 return o; |
| 563 } | 563 } |
| 564 | 564 |
| 565 checkUnnamed1635(core.List<api.Page> o) { | 565 checkUnnamed1645(core.List<api.Page> o) { |
| 566 unittest.expect(o, unittest.hasLength(2)); | 566 unittest.expect(o, unittest.hasLength(2)); |
| 567 checkPage(o[0]); | 567 checkPage(o[0]); |
| 568 checkPage(o[1]); | 568 checkPage(o[1]); |
| 569 } | 569 } |
| 570 | 570 |
| 571 buildUnnamed1636() { | 571 buildUnnamed1646() { |
| 572 var o = new core.List<api.DocumentationRule>(); | 572 var o = new core.List<api.DocumentationRule>(); |
| 573 o.add(buildDocumentationRule()); | 573 o.add(buildDocumentationRule()); |
| 574 o.add(buildDocumentationRule()); | 574 o.add(buildDocumentationRule()); |
| 575 return o; | 575 return o; |
| 576 } | 576 } |
| 577 | 577 |
| 578 checkUnnamed1636(core.List<api.DocumentationRule> o) { | 578 checkUnnamed1646(core.List<api.DocumentationRule> o) { |
| 579 unittest.expect(o, unittest.hasLength(2)); | 579 unittest.expect(o, unittest.hasLength(2)); |
| 580 checkDocumentationRule(o[0]); | 580 checkDocumentationRule(o[0]); |
| 581 checkDocumentationRule(o[1]); | 581 checkDocumentationRule(o[1]); |
| 582 } | 582 } |
| 583 | 583 |
| 584 core.int buildCounterDocumentation = 0; | 584 core.int buildCounterDocumentation = 0; |
| 585 buildDocumentation() { | 585 buildDocumentation() { |
| 586 var o = new api.Documentation(); | 586 var o = new api.Documentation(); |
| 587 buildCounterDocumentation++; | 587 buildCounterDocumentation++; |
| 588 if (buildCounterDocumentation < 3) { | 588 if (buildCounterDocumentation < 3) { |
| 589 o.documentationRootUrl = "foo"; | 589 o.documentationRootUrl = "foo"; |
| 590 o.overview = "foo"; | 590 o.overview = "foo"; |
| 591 o.pages = buildUnnamed1635(); | 591 o.pages = buildUnnamed1645(); |
| 592 o.rules = buildUnnamed1636(); | 592 o.rules = buildUnnamed1646(); |
| 593 o.summary = "foo"; | 593 o.summary = "foo"; |
| 594 } | 594 } |
| 595 buildCounterDocumentation--; | 595 buildCounterDocumentation--; |
| 596 return o; | 596 return o; |
| 597 } | 597 } |
| 598 | 598 |
| 599 checkDocumentation(api.Documentation o) { | 599 checkDocumentation(api.Documentation o) { |
| 600 buildCounterDocumentation++; | 600 buildCounterDocumentation++; |
| 601 if (buildCounterDocumentation < 3) { | 601 if (buildCounterDocumentation < 3) { |
| 602 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); | 602 unittest.expect(o.documentationRootUrl, unittest.equals('foo')); |
| 603 unittest.expect(o.overview, unittest.equals('foo')); | 603 unittest.expect(o.overview, unittest.equals('foo')); |
| 604 checkUnnamed1635(o.pages); | 604 checkUnnamed1645(o.pages); |
| 605 checkUnnamed1636(o.rules); | 605 checkUnnamed1646(o.rules); |
| 606 unittest.expect(o.summary, unittest.equals('foo')); | 606 unittest.expect(o.summary, unittest.equals('foo')); |
| 607 } | 607 } |
| 608 buildCounterDocumentation--; | 608 buildCounterDocumentation--; |
| 609 } | 609 } |
| 610 | 610 |
| 611 core.int buildCounterDocumentationRule = 0; | 611 core.int buildCounterDocumentationRule = 0; |
| 612 buildDocumentationRule() { | 612 buildDocumentationRule() { |
| 613 var o = new api.DocumentationRule(); | 613 var o = new api.DocumentationRule(); |
| 614 buildCounterDocumentationRule++; | 614 buildCounterDocumentationRule++; |
| 615 if (buildCounterDocumentationRule < 3) { | 615 if (buildCounterDocumentationRule < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 641 return o; | 641 return o; |
| 642 } | 642 } |
| 643 | 643 |
| 644 checkEnableServiceRequest(api.EnableServiceRequest o) { | 644 checkEnableServiceRequest(api.EnableServiceRequest o) { |
| 645 buildCounterEnableServiceRequest++; | 645 buildCounterEnableServiceRequest++; |
| 646 if (buildCounterEnableServiceRequest < 3) { | 646 if (buildCounterEnableServiceRequest < 3) { |
| 647 } | 647 } |
| 648 buildCounterEnableServiceRequest--; | 648 buildCounterEnableServiceRequest--; |
| 649 } | 649 } |
| 650 | 650 |
| 651 buildUnnamed1637() { | 651 buildUnnamed1647() { |
| 652 var o = new core.List<core.String>(); | 652 var o = new core.List<core.String>(); |
| 653 o.add("foo"); | 653 o.add("foo"); |
| 654 o.add("foo"); | 654 o.add("foo"); |
| 655 return o; | 655 return o; |
| 656 } | 656 } |
| 657 | 657 |
| 658 checkUnnamed1637(core.List<core.String> o) { | 658 checkUnnamed1647(core.List<core.String> o) { |
| 659 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
| 660 unittest.expect(o[0], unittest.equals('foo')); | 660 unittest.expect(o[0], unittest.equals('foo')); |
| 661 unittest.expect(o[1], unittest.equals('foo')); | 661 unittest.expect(o[1], unittest.equals('foo')); |
| 662 } | 662 } |
| 663 | 663 |
| 664 buildUnnamed1638() { | 664 buildUnnamed1648() { |
| 665 var o = new core.List<core.String>(); | 665 var o = new core.List<core.String>(); |
| 666 o.add("foo"); | 666 o.add("foo"); |
| 667 o.add("foo"); | 667 o.add("foo"); |
| 668 return o; | 668 return o; |
| 669 } | 669 } |
| 670 | 670 |
| 671 checkUnnamed1638(core.List<core.String> o) { | 671 checkUnnamed1648(core.List<core.String> o) { |
| 672 unittest.expect(o, unittest.hasLength(2)); | 672 unittest.expect(o, unittest.hasLength(2)); |
| 673 unittest.expect(o[0], unittest.equals('foo')); | 673 unittest.expect(o[0], unittest.equals('foo')); |
| 674 unittest.expect(o[1], unittest.equals('foo')); | 674 unittest.expect(o[1], unittest.equals('foo')); |
| 675 } | 675 } |
| 676 | 676 |
| 677 buildUnnamed1639() { | 677 buildUnnamed1649() { |
| 678 var o = new core.List<core.String>(); | 678 var o = new core.List<core.String>(); |
| 679 o.add("foo"); | 679 o.add("foo"); |
| 680 o.add("foo"); | 680 o.add("foo"); |
| 681 return o; | 681 return o; |
| 682 } | 682 } |
| 683 | 683 |
| 684 checkUnnamed1639(core.List<core.String> o) { | 684 checkUnnamed1649(core.List<core.String> o) { |
| 685 unittest.expect(o, unittest.hasLength(2)); | 685 unittest.expect(o, unittest.hasLength(2)); |
| 686 unittest.expect(o[0], unittest.equals('foo')); | 686 unittest.expect(o[0], unittest.equals('foo')); |
| 687 unittest.expect(o[1], unittest.equals('foo')); | 687 unittest.expect(o[1], unittest.equals('foo')); |
| 688 } | 688 } |
| 689 | 689 |
| 690 core.int buildCounterEndpoint = 0; | 690 core.int buildCounterEndpoint = 0; |
| 691 buildEndpoint() { | 691 buildEndpoint() { |
| 692 var o = new api.Endpoint(); | 692 var o = new api.Endpoint(); |
| 693 buildCounterEndpoint++; | 693 buildCounterEndpoint++; |
| 694 if (buildCounterEndpoint < 3) { | 694 if (buildCounterEndpoint < 3) { |
| 695 o.aliases = buildUnnamed1637(); | 695 o.aliases = buildUnnamed1647(); |
| 696 o.allowCors = true; | 696 o.allowCors = true; |
| 697 o.apis = buildUnnamed1638(); | 697 o.apis = buildUnnamed1648(); |
| 698 o.features = buildUnnamed1639(); | 698 o.features = buildUnnamed1649(); |
| 699 o.name = "foo"; | 699 o.name = "foo"; |
| 700 o.target = "foo"; | 700 o.target = "foo"; |
| 701 } | 701 } |
| 702 buildCounterEndpoint--; | 702 buildCounterEndpoint--; |
| 703 return o; | 703 return o; |
| 704 } | 704 } |
| 705 | 705 |
| 706 checkEndpoint(api.Endpoint o) { | 706 checkEndpoint(api.Endpoint o) { |
| 707 buildCounterEndpoint++; | 707 buildCounterEndpoint++; |
| 708 if (buildCounterEndpoint < 3) { | 708 if (buildCounterEndpoint < 3) { |
| 709 checkUnnamed1637(o.aliases); | 709 checkUnnamed1647(o.aliases); |
| 710 unittest.expect(o.allowCors, unittest.isTrue); | 710 unittest.expect(o.allowCors, unittest.isTrue); |
| 711 checkUnnamed1638(o.apis); | 711 checkUnnamed1648(o.apis); |
| 712 checkUnnamed1639(o.features); | 712 checkUnnamed1649(o.features); |
| 713 unittest.expect(o.name, unittest.equals('foo')); | 713 unittest.expect(o.name, unittest.equals('foo')); |
| 714 unittest.expect(o.target, unittest.equals('foo')); | 714 unittest.expect(o.target, unittest.equals('foo')); |
| 715 } | 715 } |
| 716 buildCounterEndpoint--; | 716 buildCounterEndpoint--; |
| 717 } | 717 } |
| 718 | 718 |
| 719 buildUnnamed1640() { | 719 buildUnnamed1650() { |
| 720 var o = new core.List<api.EnumValue>(); | 720 var o = new core.List<api.EnumValue>(); |
| 721 o.add(buildEnumValue()); | 721 o.add(buildEnumValue()); |
| 722 o.add(buildEnumValue()); | 722 o.add(buildEnumValue()); |
| 723 return o; | 723 return o; |
| 724 } | 724 } |
| 725 | 725 |
| 726 checkUnnamed1640(core.List<api.EnumValue> o) { | 726 checkUnnamed1650(core.List<api.EnumValue> o) { |
| 727 unittest.expect(o, unittest.hasLength(2)); | 727 unittest.expect(o, unittest.hasLength(2)); |
| 728 checkEnumValue(o[0]); | 728 checkEnumValue(o[0]); |
| 729 checkEnumValue(o[1]); | 729 checkEnumValue(o[1]); |
| 730 } | 730 } |
| 731 | 731 |
| 732 buildUnnamed1641() { | 732 buildUnnamed1651() { |
| 733 var o = new core.List<api.Option>(); | 733 var o = new core.List<api.Option>(); |
| 734 o.add(buildOption()); | 734 o.add(buildOption()); |
| 735 o.add(buildOption()); | 735 o.add(buildOption()); |
| 736 return o; | 736 return o; |
| 737 } | 737 } |
| 738 | 738 |
| 739 checkUnnamed1641(core.List<api.Option> o) { | 739 checkUnnamed1651(core.List<api.Option> o) { |
| 740 unittest.expect(o, unittest.hasLength(2)); | 740 unittest.expect(o, unittest.hasLength(2)); |
| 741 checkOption(o[0]); | 741 checkOption(o[0]); |
| 742 checkOption(o[1]); | 742 checkOption(o[1]); |
| 743 } | 743 } |
| 744 | 744 |
| 745 core.int buildCounterEnum = 0; | 745 core.int buildCounterEnum = 0; |
| 746 buildEnum() { | 746 buildEnum() { |
| 747 var o = new api.Enum(); | 747 var o = new api.Enum(); |
| 748 buildCounterEnum++; | 748 buildCounterEnum++; |
| 749 if (buildCounterEnum < 3) { | 749 if (buildCounterEnum < 3) { |
| 750 o.enumvalue = buildUnnamed1640(); | 750 o.enumvalue = buildUnnamed1650(); |
| 751 o.name = "foo"; | 751 o.name = "foo"; |
| 752 o.options = buildUnnamed1641(); | 752 o.options = buildUnnamed1651(); |
| 753 o.sourceContext = buildSourceContext(); | 753 o.sourceContext = buildSourceContext(); |
| 754 o.syntax = "foo"; | 754 o.syntax = "foo"; |
| 755 } | 755 } |
| 756 buildCounterEnum--; | 756 buildCounterEnum--; |
| 757 return o; | 757 return o; |
| 758 } | 758 } |
| 759 | 759 |
| 760 checkEnum(api.Enum o) { | 760 checkEnum(api.Enum o) { |
| 761 buildCounterEnum++; | 761 buildCounterEnum++; |
| 762 if (buildCounterEnum < 3) { | 762 if (buildCounterEnum < 3) { |
| 763 checkUnnamed1640(o.enumvalue); | 763 checkUnnamed1650(o.enumvalue); |
| 764 unittest.expect(o.name, unittest.equals('foo')); | 764 unittest.expect(o.name, unittest.equals('foo')); |
| 765 checkUnnamed1641(o.options); | 765 checkUnnamed1651(o.options); |
| 766 checkSourceContext(o.sourceContext); | 766 checkSourceContext(o.sourceContext); |
| 767 unittest.expect(o.syntax, unittest.equals('foo')); | 767 unittest.expect(o.syntax, unittest.equals('foo')); |
| 768 } | 768 } |
| 769 buildCounterEnum--; | 769 buildCounterEnum--; |
| 770 } | 770 } |
| 771 | 771 |
| 772 buildUnnamed1642() { | 772 buildUnnamed1652() { |
| 773 var o = new core.List<api.Option>(); | 773 var o = new core.List<api.Option>(); |
| 774 o.add(buildOption()); | 774 o.add(buildOption()); |
| 775 o.add(buildOption()); | 775 o.add(buildOption()); |
| 776 return o; | 776 return o; |
| 777 } | 777 } |
| 778 | 778 |
| 779 checkUnnamed1642(core.List<api.Option> o) { | 779 checkUnnamed1652(core.List<api.Option> o) { |
| 780 unittest.expect(o, unittest.hasLength(2)); | 780 unittest.expect(o, unittest.hasLength(2)); |
| 781 checkOption(o[0]); | 781 checkOption(o[0]); |
| 782 checkOption(o[1]); | 782 checkOption(o[1]); |
| 783 } | 783 } |
| 784 | 784 |
| 785 core.int buildCounterEnumValue = 0; | 785 core.int buildCounterEnumValue = 0; |
| 786 buildEnumValue() { | 786 buildEnumValue() { |
| 787 var o = new api.EnumValue(); | 787 var o = new api.EnumValue(); |
| 788 buildCounterEnumValue++; | 788 buildCounterEnumValue++; |
| 789 if (buildCounterEnumValue < 3) { | 789 if (buildCounterEnumValue < 3) { |
| 790 o.name = "foo"; | 790 o.name = "foo"; |
| 791 o.number = 42; | 791 o.number = 42; |
| 792 o.options = buildUnnamed1642(); | 792 o.options = buildUnnamed1652(); |
| 793 } | 793 } |
| 794 buildCounterEnumValue--; | 794 buildCounterEnumValue--; |
| 795 return o; | 795 return o; |
| 796 } | 796 } |
| 797 | 797 |
| 798 checkEnumValue(api.EnumValue o) { | 798 checkEnumValue(api.EnumValue o) { |
| 799 buildCounterEnumValue++; | 799 buildCounterEnumValue++; |
| 800 if (buildCounterEnumValue < 3) { | 800 if (buildCounterEnumValue < 3) { |
| 801 unittest.expect(o.name, unittest.equals('foo')); | 801 unittest.expect(o.name, unittest.equals('foo')); |
| 802 unittest.expect(o.number, unittest.equals(42)); | 802 unittest.expect(o.number, unittest.equals(42)); |
| 803 checkUnnamed1642(o.options); | 803 checkUnnamed1652(o.options); |
| 804 } | 804 } |
| 805 buildCounterEnumValue--; | 805 buildCounterEnumValue--; |
| 806 } | 806 } |
| 807 | 807 |
| 808 core.int buildCounterExperimental = 0; | 808 core.int buildCounterExperimental = 0; |
| 809 buildExperimental() { | 809 buildExperimental() { |
| 810 var o = new api.Experimental(); | 810 var o = new api.Experimental(); |
| 811 buildCounterExperimental++; | 811 buildCounterExperimental++; |
| 812 if (buildCounterExperimental < 3) { | 812 if (buildCounterExperimental < 3) { |
| 813 o.authorization = buildAuthorizationConfig(); | 813 o.authorization = buildAuthorizationConfig(); |
| 814 } | 814 } |
| 815 buildCounterExperimental--; | 815 buildCounterExperimental--; |
| 816 return o; | 816 return o; |
| 817 } | 817 } |
| 818 | 818 |
| 819 checkExperimental(api.Experimental o) { | 819 checkExperimental(api.Experimental o) { |
| 820 buildCounterExperimental++; | 820 buildCounterExperimental++; |
| 821 if (buildCounterExperimental < 3) { | 821 if (buildCounterExperimental < 3) { |
| 822 checkAuthorizationConfig(o.authorization); | 822 checkAuthorizationConfig(o.authorization); |
| 823 } | 823 } |
| 824 buildCounterExperimental--; | 824 buildCounterExperimental--; |
| 825 } | 825 } |
| 826 | 826 |
| 827 buildUnnamed1643() { | 827 buildUnnamed1653() { |
| 828 var o = new core.List<api.Option>(); | 828 var o = new core.List<api.Option>(); |
| 829 o.add(buildOption()); | 829 o.add(buildOption()); |
| 830 o.add(buildOption()); | 830 o.add(buildOption()); |
| 831 return o; | 831 return o; |
| 832 } | 832 } |
| 833 | 833 |
| 834 checkUnnamed1643(core.List<api.Option> o) { | 834 checkUnnamed1653(core.List<api.Option> o) { |
| 835 unittest.expect(o, unittest.hasLength(2)); | 835 unittest.expect(o, unittest.hasLength(2)); |
| 836 checkOption(o[0]); | 836 checkOption(o[0]); |
| 837 checkOption(o[1]); | 837 checkOption(o[1]); |
| 838 } | 838 } |
| 839 | 839 |
| 840 core.int buildCounterField = 0; | 840 core.int buildCounterField = 0; |
| 841 buildField() { | 841 buildField() { |
| 842 var o = new api.Field(); | 842 var o = new api.Field(); |
| 843 buildCounterField++; | 843 buildCounterField++; |
| 844 if (buildCounterField < 3) { | 844 if (buildCounterField < 3) { |
| 845 o.cardinality = "foo"; | 845 o.cardinality = "foo"; |
| 846 o.defaultValue = "foo"; | 846 o.defaultValue = "foo"; |
| 847 o.jsonName = "foo"; | 847 o.jsonName = "foo"; |
| 848 o.kind = "foo"; | 848 o.kind = "foo"; |
| 849 o.name = "foo"; | 849 o.name = "foo"; |
| 850 o.number = 42; | 850 o.number = 42; |
| 851 o.oneofIndex = 42; | 851 o.oneofIndex = 42; |
| 852 o.options = buildUnnamed1643(); | 852 o.options = buildUnnamed1653(); |
| 853 o.packed = true; | 853 o.packed = true; |
| 854 o.typeUrl = "foo"; | 854 o.typeUrl = "foo"; |
| 855 } | 855 } |
| 856 buildCounterField--; | 856 buildCounterField--; |
| 857 return o; | 857 return o; |
| 858 } | 858 } |
| 859 | 859 |
| 860 checkField(api.Field o) { | 860 checkField(api.Field o) { |
| 861 buildCounterField++; | 861 buildCounterField++; |
| 862 if (buildCounterField < 3) { | 862 if (buildCounterField < 3) { |
| 863 unittest.expect(o.cardinality, unittest.equals('foo')); | 863 unittest.expect(o.cardinality, unittest.equals('foo')); |
| 864 unittest.expect(o.defaultValue, unittest.equals('foo')); | 864 unittest.expect(o.defaultValue, unittest.equals('foo')); |
| 865 unittest.expect(o.jsonName, unittest.equals('foo')); | 865 unittest.expect(o.jsonName, unittest.equals('foo')); |
| 866 unittest.expect(o.kind, unittest.equals('foo')); | 866 unittest.expect(o.kind, unittest.equals('foo')); |
| 867 unittest.expect(o.name, unittest.equals('foo')); | 867 unittest.expect(o.name, unittest.equals('foo')); |
| 868 unittest.expect(o.number, unittest.equals(42)); | 868 unittest.expect(o.number, unittest.equals(42)); |
| 869 unittest.expect(o.oneofIndex, unittest.equals(42)); | 869 unittest.expect(o.oneofIndex, unittest.equals(42)); |
| 870 checkUnnamed1643(o.options); | 870 checkUnnamed1653(o.options); |
| 871 unittest.expect(o.packed, unittest.isTrue); | 871 unittest.expect(o.packed, unittest.isTrue); |
| 872 unittest.expect(o.typeUrl, unittest.equals('foo')); | 872 unittest.expect(o.typeUrl, unittest.equals('foo')); |
| 873 } | 873 } |
| 874 buildCounterField--; | 874 buildCounterField--; |
| 875 } | 875 } |
| 876 | 876 |
| 877 buildUnnamed1644() { | 877 buildUnnamed1654() { |
| 878 var o = new core.List<api.HttpRule>(); | 878 var o = new core.List<api.HttpRule>(); |
| 879 o.add(buildHttpRule()); | 879 o.add(buildHttpRule()); |
| 880 o.add(buildHttpRule()); | 880 o.add(buildHttpRule()); |
| 881 return o; | 881 return o; |
| 882 } | 882 } |
| 883 | 883 |
| 884 checkUnnamed1644(core.List<api.HttpRule> o) { | 884 checkUnnamed1654(core.List<api.HttpRule> o) { |
| 885 unittest.expect(o, unittest.hasLength(2)); | 885 unittest.expect(o, unittest.hasLength(2)); |
| 886 checkHttpRule(o[0]); | 886 checkHttpRule(o[0]); |
| 887 checkHttpRule(o[1]); | 887 checkHttpRule(o[1]); |
| 888 } | 888 } |
| 889 | 889 |
| 890 core.int buildCounterHttp = 0; | 890 core.int buildCounterHttp = 0; |
| 891 buildHttp() { | 891 buildHttp() { |
| 892 var o = new api.Http(); | 892 var o = new api.Http(); |
| 893 buildCounterHttp++; | 893 buildCounterHttp++; |
| 894 if (buildCounterHttp < 3) { | 894 if (buildCounterHttp < 3) { |
| 895 o.fullyDecodeReservedExpansion = true; | 895 o.fullyDecodeReservedExpansion = true; |
| 896 o.rules = buildUnnamed1644(); | 896 o.rules = buildUnnamed1654(); |
| 897 } | 897 } |
| 898 buildCounterHttp--; | 898 buildCounterHttp--; |
| 899 return o; | 899 return o; |
| 900 } | 900 } |
| 901 | 901 |
| 902 checkHttp(api.Http o) { | 902 checkHttp(api.Http o) { |
| 903 buildCounterHttp++; | 903 buildCounterHttp++; |
| 904 if (buildCounterHttp < 3) { | 904 if (buildCounterHttp < 3) { |
| 905 unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue); | 905 unittest.expect(o.fullyDecodeReservedExpansion, unittest.isTrue); |
| 906 checkUnnamed1644(o.rules); | 906 checkUnnamed1654(o.rules); |
| 907 } | 907 } |
| 908 buildCounterHttp--; | 908 buildCounterHttp--; |
| 909 } | 909 } |
| 910 | 910 |
| 911 buildUnnamed1645() { | 911 buildUnnamed1655() { |
| 912 var o = new core.List<api.HttpRule>(); | 912 var o = new core.List<api.HttpRule>(); |
| 913 o.add(buildHttpRule()); | 913 o.add(buildHttpRule()); |
| 914 o.add(buildHttpRule()); | 914 o.add(buildHttpRule()); |
| 915 return o; | 915 return o; |
| 916 } | 916 } |
| 917 | 917 |
| 918 checkUnnamed1645(core.List<api.HttpRule> o) { | 918 checkUnnamed1655(core.List<api.HttpRule> o) { |
| 919 unittest.expect(o, unittest.hasLength(2)); | 919 unittest.expect(o, unittest.hasLength(2)); |
| 920 checkHttpRule(o[0]); | 920 checkHttpRule(o[0]); |
| 921 checkHttpRule(o[1]); | 921 checkHttpRule(o[1]); |
| 922 } | 922 } |
| 923 | 923 |
| 924 core.int buildCounterHttpRule = 0; | 924 core.int buildCounterHttpRule = 0; |
| 925 buildHttpRule() { | 925 buildHttpRule() { |
| 926 var o = new api.HttpRule(); | 926 var o = new api.HttpRule(); |
| 927 buildCounterHttpRule++; | 927 buildCounterHttpRule++; |
| 928 if (buildCounterHttpRule < 3) { | 928 if (buildCounterHttpRule < 3) { |
| 929 o.additionalBindings = buildUnnamed1645(); | 929 o.additionalBindings = buildUnnamed1655(); |
| 930 o.body = "foo"; | 930 o.body = "foo"; |
| 931 o.custom = buildCustomHttpPattern(); | 931 o.custom = buildCustomHttpPattern(); |
| 932 o.delete = "foo"; | 932 o.delete = "foo"; |
| 933 o.get = "foo"; | 933 o.get = "foo"; |
| 934 o.mediaDownload = buildMediaDownload(); | 934 o.mediaDownload = buildMediaDownload(); |
| 935 o.mediaUpload = buildMediaUpload(); | 935 o.mediaUpload = buildMediaUpload(); |
| 936 o.patch = "foo"; | 936 o.patch = "foo"; |
| 937 o.post = "foo"; | 937 o.post = "foo"; |
| 938 o.put = "foo"; | 938 o.put = "foo"; |
| 939 o.responseBody = "foo"; | 939 o.responseBody = "foo"; |
| 940 o.restCollection = "foo"; | 940 o.restCollection = "foo"; |
| 941 o.restMethodName = "foo"; |
| 941 o.selector = "foo"; | 942 o.selector = "foo"; |
| 942 } | 943 } |
| 943 buildCounterHttpRule--; | 944 buildCounterHttpRule--; |
| 944 return o; | 945 return o; |
| 945 } | 946 } |
| 946 | 947 |
| 947 checkHttpRule(api.HttpRule o) { | 948 checkHttpRule(api.HttpRule o) { |
| 948 buildCounterHttpRule++; | 949 buildCounterHttpRule++; |
| 949 if (buildCounterHttpRule < 3) { | 950 if (buildCounterHttpRule < 3) { |
| 950 checkUnnamed1645(o.additionalBindings); | 951 checkUnnamed1655(o.additionalBindings); |
| 951 unittest.expect(o.body, unittest.equals('foo')); | 952 unittest.expect(o.body, unittest.equals('foo')); |
| 952 checkCustomHttpPattern(o.custom); | 953 checkCustomHttpPattern(o.custom); |
| 953 unittest.expect(o.delete, unittest.equals('foo')); | 954 unittest.expect(o.delete, unittest.equals('foo')); |
| 954 unittest.expect(o.get, unittest.equals('foo')); | 955 unittest.expect(o.get, unittest.equals('foo')); |
| 955 checkMediaDownload(o.mediaDownload); | 956 checkMediaDownload(o.mediaDownload); |
| 956 checkMediaUpload(o.mediaUpload); | 957 checkMediaUpload(o.mediaUpload); |
| 957 unittest.expect(o.patch, unittest.equals('foo')); | 958 unittest.expect(o.patch, unittest.equals('foo')); |
| 958 unittest.expect(o.post, unittest.equals('foo')); | 959 unittest.expect(o.post, unittest.equals('foo')); |
| 959 unittest.expect(o.put, unittest.equals('foo')); | 960 unittest.expect(o.put, unittest.equals('foo')); |
| 960 unittest.expect(o.responseBody, unittest.equals('foo')); | 961 unittest.expect(o.responseBody, unittest.equals('foo')); |
| 961 unittest.expect(o.restCollection, unittest.equals('foo')); | 962 unittest.expect(o.restCollection, unittest.equals('foo')); |
| 963 unittest.expect(o.restMethodName, unittest.equals('foo')); |
| 962 unittest.expect(o.selector, unittest.equals('foo')); | 964 unittest.expect(o.selector, unittest.equals('foo')); |
| 963 } | 965 } |
| 964 buildCounterHttpRule--; | 966 buildCounterHttpRule--; |
| 965 } | 967 } |
| 966 | 968 |
| 967 core.int buildCounterLabelDescriptor = 0; | 969 core.int buildCounterLabelDescriptor = 0; |
| 968 buildLabelDescriptor() { | 970 buildLabelDescriptor() { |
| 969 var o = new api.LabelDescriptor(); | 971 var o = new api.LabelDescriptor(); |
| 970 buildCounterLabelDescriptor++; | 972 buildCounterLabelDescriptor++; |
| 971 if (buildCounterLabelDescriptor < 3) { | 973 if (buildCounterLabelDescriptor < 3) { |
| 972 o.description = "foo"; | 974 o.description = "foo"; |
| 973 o.key = "foo"; | 975 o.key = "foo"; |
| 974 o.valueType = "foo"; | 976 o.valueType = "foo"; |
| 975 } | 977 } |
| 976 buildCounterLabelDescriptor--; | 978 buildCounterLabelDescriptor--; |
| 977 return o; | 979 return o; |
| 978 } | 980 } |
| 979 | 981 |
| 980 checkLabelDescriptor(api.LabelDescriptor o) { | 982 checkLabelDescriptor(api.LabelDescriptor o) { |
| 981 buildCounterLabelDescriptor++; | 983 buildCounterLabelDescriptor++; |
| 982 if (buildCounterLabelDescriptor < 3) { | 984 if (buildCounterLabelDescriptor < 3) { |
| 983 unittest.expect(o.description, unittest.equals('foo')); | 985 unittest.expect(o.description, unittest.equals('foo')); |
| 984 unittest.expect(o.key, unittest.equals('foo')); | 986 unittest.expect(o.key, unittest.equals('foo')); |
| 985 unittest.expect(o.valueType, unittest.equals('foo')); | 987 unittest.expect(o.valueType, unittest.equals('foo')); |
| 986 } | 988 } |
| 987 buildCounterLabelDescriptor--; | 989 buildCounterLabelDescriptor--; |
| 988 } | 990 } |
| 989 | 991 |
| 990 buildUnnamed1646() { | 992 buildUnnamed1656() { |
| 991 var o = new core.List<api.PublishedService>(); | 993 var o = new core.List<api.PublishedService>(); |
| 992 o.add(buildPublishedService()); | 994 o.add(buildPublishedService()); |
| 993 o.add(buildPublishedService()); | 995 o.add(buildPublishedService()); |
| 994 return o; | 996 return o; |
| 995 } | 997 } |
| 996 | 998 |
| 997 checkUnnamed1646(core.List<api.PublishedService> o) { | 999 checkUnnamed1656(core.List<api.PublishedService> o) { |
| 998 unittest.expect(o, unittest.hasLength(2)); | 1000 unittest.expect(o, unittest.hasLength(2)); |
| 999 checkPublishedService(o[0]); | 1001 checkPublishedService(o[0]); |
| 1000 checkPublishedService(o[1]); | 1002 checkPublishedService(o[1]); |
| 1001 } | 1003 } |
| 1002 | 1004 |
| 1003 core.int buildCounterListEnabledServicesResponse = 0; | 1005 core.int buildCounterListEnabledServicesResponse = 0; |
| 1004 buildListEnabledServicesResponse() { | 1006 buildListEnabledServicesResponse() { |
| 1005 var o = new api.ListEnabledServicesResponse(); | 1007 var o = new api.ListEnabledServicesResponse(); |
| 1006 buildCounterListEnabledServicesResponse++; | 1008 buildCounterListEnabledServicesResponse++; |
| 1007 if (buildCounterListEnabledServicesResponse < 3) { | 1009 if (buildCounterListEnabledServicesResponse < 3) { |
| 1008 o.nextPageToken = "foo"; | 1010 o.nextPageToken = "foo"; |
| 1009 o.services = buildUnnamed1646(); | 1011 o.services = buildUnnamed1656(); |
| 1010 } | 1012 } |
| 1011 buildCounterListEnabledServicesResponse--; | 1013 buildCounterListEnabledServicesResponse--; |
| 1012 return o; | 1014 return o; |
| 1013 } | 1015 } |
| 1014 | 1016 |
| 1015 checkListEnabledServicesResponse(api.ListEnabledServicesResponse o) { | 1017 checkListEnabledServicesResponse(api.ListEnabledServicesResponse o) { |
| 1016 buildCounterListEnabledServicesResponse++; | 1018 buildCounterListEnabledServicesResponse++; |
| 1017 if (buildCounterListEnabledServicesResponse < 3) { | 1019 if (buildCounterListEnabledServicesResponse < 3) { |
| 1018 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1020 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1019 checkUnnamed1646(o.services); | 1021 checkUnnamed1656(o.services); |
| 1020 } | 1022 } |
| 1021 buildCounterListEnabledServicesResponse--; | 1023 buildCounterListEnabledServicesResponse--; |
| 1022 } | 1024 } |
| 1023 | 1025 |
| 1024 buildUnnamed1647() { | 1026 buildUnnamed1657() { |
| 1025 var o = new core.List<api.LabelDescriptor>(); | 1027 var o = new core.List<api.LabelDescriptor>(); |
| 1026 o.add(buildLabelDescriptor()); | 1028 o.add(buildLabelDescriptor()); |
| 1027 o.add(buildLabelDescriptor()); | 1029 o.add(buildLabelDescriptor()); |
| 1028 return o; | 1030 return o; |
| 1029 } | 1031 } |
| 1030 | 1032 |
| 1031 checkUnnamed1647(core.List<api.LabelDescriptor> o) { | 1033 checkUnnamed1657(core.List<api.LabelDescriptor> o) { |
| 1032 unittest.expect(o, unittest.hasLength(2)); | 1034 unittest.expect(o, unittest.hasLength(2)); |
| 1033 checkLabelDescriptor(o[0]); | 1035 checkLabelDescriptor(o[0]); |
| 1034 checkLabelDescriptor(o[1]); | 1036 checkLabelDescriptor(o[1]); |
| 1035 } | 1037 } |
| 1036 | 1038 |
| 1037 core.int buildCounterLogDescriptor = 0; | 1039 core.int buildCounterLogDescriptor = 0; |
| 1038 buildLogDescriptor() { | 1040 buildLogDescriptor() { |
| 1039 var o = new api.LogDescriptor(); | 1041 var o = new api.LogDescriptor(); |
| 1040 buildCounterLogDescriptor++; | 1042 buildCounterLogDescriptor++; |
| 1041 if (buildCounterLogDescriptor < 3) { | 1043 if (buildCounterLogDescriptor < 3) { |
| 1042 o.description = "foo"; | 1044 o.description = "foo"; |
| 1043 o.displayName = "foo"; | 1045 o.displayName = "foo"; |
| 1044 o.labels = buildUnnamed1647(); | 1046 o.labels = buildUnnamed1657(); |
| 1045 o.name = "foo"; | 1047 o.name = "foo"; |
| 1046 } | 1048 } |
| 1047 buildCounterLogDescriptor--; | 1049 buildCounterLogDescriptor--; |
| 1048 return o; | 1050 return o; |
| 1049 } | 1051 } |
| 1050 | 1052 |
| 1051 checkLogDescriptor(api.LogDescriptor o) { | 1053 checkLogDescriptor(api.LogDescriptor o) { |
| 1052 buildCounterLogDescriptor++; | 1054 buildCounterLogDescriptor++; |
| 1053 if (buildCounterLogDescriptor < 3) { | 1055 if (buildCounterLogDescriptor < 3) { |
| 1054 unittest.expect(o.description, unittest.equals('foo')); | 1056 unittest.expect(o.description, unittest.equals('foo')); |
| 1055 unittest.expect(o.displayName, unittest.equals('foo')); | 1057 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1056 checkUnnamed1647(o.labels); | 1058 checkUnnamed1657(o.labels); |
| 1057 unittest.expect(o.name, unittest.equals('foo')); | 1059 unittest.expect(o.name, unittest.equals('foo')); |
| 1058 } | 1060 } |
| 1059 buildCounterLogDescriptor--; | 1061 buildCounterLogDescriptor--; |
| 1060 } | 1062 } |
| 1061 | 1063 |
| 1062 buildUnnamed1648() { | 1064 buildUnnamed1658() { |
| 1063 var o = new core.List<api.LoggingDestination>(); | 1065 var o = new core.List<api.LoggingDestination>(); |
| 1064 o.add(buildLoggingDestination()); | 1066 o.add(buildLoggingDestination()); |
| 1065 o.add(buildLoggingDestination()); | 1067 o.add(buildLoggingDestination()); |
| 1066 return o; | 1068 return o; |
| 1067 } | 1069 } |
| 1068 | 1070 |
| 1069 checkUnnamed1648(core.List<api.LoggingDestination> o) { | 1071 checkUnnamed1658(core.List<api.LoggingDestination> o) { |
| 1070 unittest.expect(o, unittest.hasLength(2)); | 1072 unittest.expect(o, unittest.hasLength(2)); |
| 1071 checkLoggingDestination(o[0]); | 1073 checkLoggingDestination(o[0]); |
| 1072 checkLoggingDestination(o[1]); | 1074 checkLoggingDestination(o[1]); |
| 1073 } | 1075 } |
| 1074 | 1076 |
| 1075 buildUnnamed1649() { | 1077 buildUnnamed1659() { |
| 1076 var o = new core.List<api.LoggingDestination>(); | 1078 var o = new core.List<api.LoggingDestination>(); |
| 1077 o.add(buildLoggingDestination()); | 1079 o.add(buildLoggingDestination()); |
| 1078 o.add(buildLoggingDestination()); | 1080 o.add(buildLoggingDestination()); |
| 1079 return o; | 1081 return o; |
| 1080 } | 1082 } |
| 1081 | 1083 |
| 1082 checkUnnamed1649(core.List<api.LoggingDestination> o) { | 1084 checkUnnamed1659(core.List<api.LoggingDestination> o) { |
| 1083 unittest.expect(o, unittest.hasLength(2)); | 1085 unittest.expect(o, unittest.hasLength(2)); |
| 1084 checkLoggingDestination(o[0]); | 1086 checkLoggingDestination(o[0]); |
| 1085 checkLoggingDestination(o[1]); | 1087 checkLoggingDestination(o[1]); |
| 1086 } | 1088 } |
| 1087 | 1089 |
| 1088 core.int buildCounterLogging = 0; | 1090 core.int buildCounterLogging = 0; |
| 1089 buildLogging() { | 1091 buildLogging() { |
| 1090 var o = new api.Logging(); | 1092 var o = new api.Logging(); |
| 1091 buildCounterLogging++; | 1093 buildCounterLogging++; |
| 1092 if (buildCounterLogging < 3) { | 1094 if (buildCounterLogging < 3) { |
| 1093 o.consumerDestinations = buildUnnamed1648(); | 1095 o.consumerDestinations = buildUnnamed1658(); |
| 1094 o.producerDestinations = buildUnnamed1649(); | 1096 o.producerDestinations = buildUnnamed1659(); |
| 1095 } | 1097 } |
| 1096 buildCounterLogging--; | 1098 buildCounterLogging--; |
| 1097 return o; | 1099 return o; |
| 1098 } | 1100 } |
| 1099 | 1101 |
| 1100 checkLogging(api.Logging o) { | 1102 checkLogging(api.Logging o) { |
| 1101 buildCounterLogging++; | 1103 buildCounterLogging++; |
| 1102 if (buildCounterLogging < 3) { | 1104 if (buildCounterLogging < 3) { |
| 1103 checkUnnamed1648(o.consumerDestinations); | 1105 checkUnnamed1658(o.consumerDestinations); |
| 1104 checkUnnamed1649(o.producerDestinations); | 1106 checkUnnamed1659(o.producerDestinations); |
| 1105 } | 1107 } |
| 1106 buildCounterLogging--; | 1108 buildCounterLogging--; |
| 1107 } | 1109 } |
| 1108 | 1110 |
| 1109 buildUnnamed1650() { | 1111 buildUnnamed1660() { |
| 1110 var o = new core.List<core.String>(); | 1112 var o = new core.List<core.String>(); |
| 1111 o.add("foo"); | 1113 o.add("foo"); |
| 1112 o.add("foo"); | 1114 o.add("foo"); |
| 1113 return o; | 1115 return o; |
| 1114 } | 1116 } |
| 1115 | 1117 |
| 1116 checkUnnamed1650(core.List<core.String> o) { | 1118 checkUnnamed1660(core.List<core.String> o) { |
| 1117 unittest.expect(o, unittest.hasLength(2)); | 1119 unittest.expect(o, unittest.hasLength(2)); |
| 1118 unittest.expect(o[0], unittest.equals('foo')); | 1120 unittest.expect(o[0], unittest.equals('foo')); |
| 1119 unittest.expect(o[1], unittest.equals('foo')); | 1121 unittest.expect(o[1], unittest.equals('foo')); |
| 1120 } | 1122 } |
| 1121 | 1123 |
| 1122 core.int buildCounterLoggingDestination = 0; | 1124 core.int buildCounterLoggingDestination = 0; |
| 1123 buildLoggingDestination() { | 1125 buildLoggingDestination() { |
| 1124 var o = new api.LoggingDestination(); | 1126 var o = new api.LoggingDestination(); |
| 1125 buildCounterLoggingDestination++; | 1127 buildCounterLoggingDestination++; |
| 1126 if (buildCounterLoggingDestination < 3) { | 1128 if (buildCounterLoggingDestination < 3) { |
| 1127 o.logs = buildUnnamed1650(); | 1129 o.logs = buildUnnamed1660(); |
| 1128 o.monitoredResource = "foo"; | 1130 o.monitoredResource = "foo"; |
| 1129 } | 1131 } |
| 1130 buildCounterLoggingDestination--; | 1132 buildCounterLoggingDestination--; |
| 1131 return o; | 1133 return o; |
| 1132 } | 1134 } |
| 1133 | 1135 |
| 1134 checkLoggingDestination(api.LoggingDestination o) { | 1136 checkLoggingDestination(api.LoggingDestination o) { |
| 1135 buildCounterLoggingDestination++; | 1137 buildCounterLoggingDestination++; |
| 1136 if (buildCounterLoggingDestination < 3) { | 1138 if (buildCounterLoggingDestination < 3) { |
| 1137 checkUnnamed1650(o.logs); | 1139 checkUnnamed1660(o.logs); |
| 1138 unittest.expect(o.monitoredResource, unittest.equals('foo')); | 1140 unittest.expect(o.monitoredResource, unittest.equals('foo')); |
| 1139 } | 1141 } |
| 1140 buildCounterLoggingDestination--; | 1142 buildCounterLoggingDestination--; |
| 1141 } | 1143 } |
| 1142 | 1144 |
| 1143 core.int buildCounterMediaDownload = 0; | 1145 core.int buildCounterMediaDownload = 0; |
| 1144 buildMediaDownload() { | 1146 buildMediaDownload() { |
| 1145 var o = new api.MediaDownload(); | 1147 var o = new api.MediaDownload(); |
| 1146 buildCounterMediaDownload++; | 1148 buildCounterMediaDownload++; |
| 1147 if (buildCounterMediaDownload < 3) { | 1149 if (buildCounterMediaDownload < 3) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1162 unittest.expect(o.completeNotification, unittest.isTrue); | 1164 unittest.expect(o.completeNotification, unittest.isTrue); |
| 1163 unittest.expect(o.downloadService, unittest.equals('foo')); | 1165 unittest.expect(o.downloadService, unittest.equals('foo')); |
| 1164 unittest.expect(o.dropzone, unittest.equals('foo')); | 1166 unittest.expect(o.dropzone, unittest.equals('foo')); |
| 1165 unittest.expect(o.enabled, unittest.isTrue); | 1167 unittest.expect(o.enabled, unittest.isTrue); |
| 1166 unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo')); | 1168 unittest.expect(o.maxDirectDownloadSize, unittest.equals('foo')); |
| 1167 unittest.expect(o.useDirectDownload, unittest.isTrue); | 1169 unittest.expect(o.useDirectDownload, unittest.isTrue); |
| 1168 } | 1170 } |
| 1169 buildCounterMediaDownload--; | 1171 buildCounterMediaDownload--; |
| 1170 } | 1172 } |
| 1171 | 1173 |
| 1172 buildUnnamed1651() { | 1174 buildUnnamed1661() { |
| 1173 var o = new core.List<core.String>(); | 1175 var o = new core.List<core.String>(); |
| 1174 o.add("foo"); | 1176 o.add("foo"); |
| 1175 o.add("foo"); | 1177 o.add("foo"); |
| 1176 return o; | 1178 return o; |
| 1177 } | 1179 } |
| 1178 | 1180 |
| 1179 checkUnnamed1651(core.List<core.String> o) { | 1181 checkUnnamed1661(core.List<core.String> o) { |
| 1180 unittest.expect(o, unittest.hasLength(2)); | 1182 unittest.expect(o, unittest.hasLength(2)); |
| 1181 unittest.expect(o[0], unittest.equals('foo')); | 1183 unittest.expect(o[0], unittest.equals('foo')); |
| 1182 unittest.expect(o[1], unittest.equals('foo')); | 1184 unittest.expect(o[1], unittest.equals('foo')); |
| 1183 } | 1185 } |
| 1184 | 1186 |
| 1185 core.int buildCounterMediaUpload = 0; | 1187 core.int buildCounterMediaUpload = 0; |
| 1186 buildMediaUpload() { | 1188 buildMediaUpload() { |
| 1187 var o = new api.MediaUpload(); | 1189 var o = new api.MediaUpload(); |
| 1188 buildCounterMediaUpload++; | 1190 buildCounterMediaUpload++; |
| 1189 if (buildCounterMediaUpload < 3) { | 1191 if (buildCounterMediaUpload < 3) { |
| 1190 o.completeNotification = true; | 1192 o.completeNotification = true; |
| 1191 o.dropzone = "foo"; | 1193 o.dropzone = "foo"; |
| 1192 o.enabled = true; | 1194 o.enabled = true; |
| 1193 o.maxSize = "foo"; | 1195 o.maxSize = "foo"; |
| 1194 o.mimeTypes = buildUnnamed1651(); | 1196 o.mimeTypes = buildUnnamed1661(); |
| 1195 o.progressNotification = true; | 1197 o.progressNotification = true; |
| 1196 o.startNotification = true; | 1198 o.startNotification = true; |
| 1197 o.uploadService = "foo"; | 1199 o.uploadService = "foo"; |
| 1198 } | 1200 } |
| 1199 buildCounterMediaUpload--; | 1201 buildCounterMediaUpload--; |
| 1200 return o; | 1202 return o; |
| 1201 } | 1203 } |
| 1202 | 1204 |
| 1203 checkMediaUpload(api.MediaUpload o) { | 1205 checkMediaUpload(api.MediaUpload o) { |
| 1204 buildCounterMediaUpload++; | 1206 buildCounterMediaUpload++; |
| 1205 if (buildCounterMediaUpload < 3) { | 1207 if (buildCounterMediaUpload < 3) { |
| 1206 unittest.expect(o.completeNotification, unittest.isTrue); | 1208 unittest.expect(o.completeNotification, unittest.isTrue); |
| 1207 unittest.expect(o.dropzone, unittest.equals('foo')); | 1209 unittest.expect(o.dropzone, unittest.equals('foo')); |
| 1208 unittest.expect(o.enabled, unittest.isTrue); | 1210 unittest.expect(o.enabled, unittest.isTrue); |
| 1209 unittest.expect(o.maxSize, unittest.equals('foo')); | 1211 unittest.expect(o.maxSize, unittest.equals('foo')); |
| 1210 checkUnnamed1651(o.mimeTypes); | 1212 checkUnnamed1661(o.mimeTypes); |
| 1211 unittest.expect(o.progressNotification, unittest.isTrue); | 1213 unittest.expect(o.progressNotification, unittest.isTrue); |
| 1212 unittest.expect(o.startNotification, unittest.isTrue); | 1214 unittest.expect(o.startNotification, unittest.isTrue); |
| 1213 unittest.expect(o.uploadService, unittest.equals('foo')); | 1215 unittest.expect(o.uploadService, unittest.equals('foo')); |
| 1214 } | 1216 } |
| 1215 buildCounterMediaUpload--; | 1217 buildCounterMediaUpload--; |
| 1216 } | 1218 } |
| 1217 | 1219 |
| 1218 buildUnnamed1652() { | 1220 buildUnnamed1662() { |
| 1219 var o = new core.List<api.Option>(); | 1221 var o = new core.List<api.Option>(); |
| 1220 o.add(buildOption()); | 1222 o.add(buildOption()); |
| 1221 o.add(buildOption()); | 1223 o.add(buildOption()); |
| 1222 return o; | 1224 return o; |
| 1223 } | 1225 } |
| 1224 | 1226 |
| 1225 checkUnnamed1652(core.List<api.Option> o) { | 1227 checkUnnamed1662(core.List<api.Option> o) { |
| 1226 unittest.expect(o, unittest.hasLength(2)); | 1228 unittest.expect(o, unittest.hasLength(2)); |
| 1227 checkOption(o[0]); | 1229 checkOption(o[0]); |
| 1228 checkOption(o[1]); | 1230 checkOption(o[1]); |
| 1229 } | 1231 } |
| 1230 | 1232 |
| 1231 core.int buildCounterMethod = 0; | 1233 core.int buildCounterMethod = 0; |
| 1232 buildMethod() { | 1234 buildMethod() { |
| 1233 var o = new api.Method(); | 1235 var o = new api.Method(); |
| 1234 buildCounterMethod++; | 1236 buildCounterMethod++; |
| 1235 if (buildCounterMethod < 3) { | 1237 if (buildCounterMethod < 3) { |
| 1236 o.name = "foo"; | 1238 o.name = "foo"; |
| 1237 o.options = buildUnnamed1652(); | 1239 o.options = buildUnnamed1662(); |
| 1238 o.requestStreaming = true; | 1240 o.requestStreaming = true; |
| 1239 o.requestTypeUrl = "foo"; | 1241 o.requestTypeUrl = "foo"; |
| 1240 o.responseStreaming = true; | 1242 o.responseStreaming = true; |
| 1241 o.responseTypeUrl = "foo"; | 1243 o.responseTypeUrl = "foo"; |
| 1242 o.syntax = "foo"; | 1244 o.syntax = "foo"; |
| 1243 } | 1245 } |
| 1244 buildCounterMethod--; | 1246 buildCounterMethod--; |
| 1245 return o; | 1247 return o; |
| 1246 } | 1248 } |
| 1247 | 1249 |
| 1248 checkMethod(api.Method o) { | 1250 checkMethod(api.Method o) { |
| 1249 buildCounterMethod++; | 1251 buildCounterMethod++; |
| 1250 if (buildCounterMethod < 3) { | 1252 if (buildCounterMethod < 3) { |
| 1251 unittest.expect(o.name, unittest.equals('foo')); | 1253 unittest.expect(o.name, unittest.equals('foo')); |
| 1252 checkUnnamed1652(o.options); | 1254 checkUnnamed1662(o.options); |
| 1253 unittest.expect(o.requestStreaming, unittest.isTrue); | 1255 unittest.expect(o.requestStreaming, unittest.isTrue); |
| 1254 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); | 1256 unittest.expect(o.requestTypeUrl, unittest.equals('foo')); |
| 1255 unittest.expect(o.responseStreaming, unittest.isTrue); | 1257 unittest.expect(o.responseStreaming, unittest.isTrue); |
| 1256 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); | 1258 unittest.expect(o.responseTypeUrl, unittest.equals('foo')); |
| 1257 unittest.expect(o.syntax, unittest.equals('foo')); | 1259 unittest.expect(o.syntax, unittest.equals('foo')); |
| 1258 } | 1260 } |
| 1259 buildCounterMethod--; | 1261 buildCounterMethod--; |
| 1260 } | 1262 } |
| 1261 | 1263 |
| 1262 buildUnnamed1653() { | 1264 buildUnnamed1663() { |
| 1263 var o = new core.List<api.LabelDescriptor>(); | 1265 var o = new core.List<api.LabelDescriptor>(); |
| 1264 o.add(buildLabelDescriptor()); | 1266 o.add(buildLabelDescriptor()); |
| 1265 o.add(buildLabelDescriptor()); | 1267 o.add(buildLabelDescriptor()); |
| 1266 return o; | 1268 return o; |
| 1267 } | 1269 } |
| 1268 | 1270 |
| 1269 checkUnnamed1653(core.List<api.LabelDescriptor> o) { | 1271 checkUnnamed1663(core.List<api.LabelDescriptor> o) { |
| 1270 unittest.expect(o, unittest.hasLength(2)); | 1272 unittest.expect(o, unittest.hasLength(2)); |
| 1271 checkLabelDescriptor(o[0]); | 1273 checkLabelDescriptor(o[0]); |
| 1272 checkLabelDescriptor(o[1]); | 1274 checkLabelDescriptor(o[1]); |
| 1273 } | 1275 } |
| 1274 | 1276 |
| 1275 core.int buildCounterMetricDescriptor = 0; | 1277 core.int buildCounterMetricDescriptor = 0; |
| 1276 buildMetricDescriptor() { | 1278 buildMetricDescriptor() { |
| 1277 var o = new api.MetricDescriptor(); | 1279 var o = new api.MetricDescriptor(); |
| 1278 buildCounterMetricDescriptor++; | 1280 buildCounterMetricDescriptor++; |
| 1279 if (buildCounterMetricDescriptor < 3) { | 1281 if (buildCounterMetricDescriptor < 3) { |
| 1280 o.description = "foo"; | 1282 o.description = "foo"; |
| 1281 o.displayName = "foo"; | 1283 o.displayName = "foo"; |
| 1282 o.labels = buildUnnamed1653(); | 1284 o.labels = buildUnnamed1663(); |
| 1283 o.metricKind = "foo"; | 1285 o.metricKind = "foo"; |
| 1284 o.name = "foo"; | 1286 o.name = "foo"; |
| 1285 o.type = "foo"; | 1287 o.type = "foo"; |
| 1286 o.unit = "foo"; | 1288 o.unit = "foo"; |
| 1287 o.valueType = "foo"; | 1289 o.valueType = "foo"; |
| 1288 } | 1290 } |
| 1289 buildCounterMetricDescriptor--; | 1291 buildCounterMetricDescriptor--; |
| 1290 return o; | 1292 return o; |
| 1291 } | 1293 } |
| 1292 | 1294 |
| 1293 checkMetricDescriptor(api.MetricDescriptor o) { | 1295 checkMetricDescriptor(api.MetricDescriptor o) { |
| 1294 buildCounterMetricDescriptor++; | 1296 buildCounterMetricDescriptor++; |
| 1295 if (buildCounterMetricDescriptor < 3) { | 1297 if (buildCounterMetricDescriptor < 3) { |
| 1296 unittest.expect(o.description, unittest.equals('foo')); | 1298 unittest.expect(o.description, unittest.equals('foo')); |
| 1297 unittest.expect(o.displayName, unittest.equals('foo')); | 1299 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1298 checkUnnamed1653(o.labels); | 1300 checkUnnamed1663(o.labels); |
| 1299 unittest.expect(o.metricKind, unittest.equals('foo')); | 1301 unittest.expect(o.metricKind, unittest.equals('foo')); |
| 1300 unittest.expect(o.name, unittest.equals('foo')); | 1302 unittest.expect(o.name, unittest.equals('foo')); |
| 1301 unittest.expect(o.type, unittest.equals('foo')); | 1303 unittest.expect(o.type, unittest.equals('foo')); |
| 1302 unittest.expect(o.unit, unittest.equals('foo')); | 1304 unittest.expect(o.unit, unittest.equals('foo')); |
| 1303 unittest.expect(o.valueType, unittest.equals('foo')); | 1305 unittest.expect(o.valueType, unittest.equals('foo')); |
| 1304 } | 1306 } |
| 1305 buildCounterMetricDescriptor--; | 1307 buildCounterMetricDescriptor--; |
| 1306 } | 1308 } |
| 1307 | 1309 |
| 1308 buildUnnamed1654() { | 1310 buildUnnamed1664() { |
| 1309 var o = new core.Map<core.String, core.String>(); | 1311 var o = new core.Map<core.String, core.String>(); |
| 1310 o["x"] = "foo"; | 1312 o["x"] = "foo"; |
| 1311 o["y"] = "foo"; | 1313 o["y"] = "foo"; |
| 1312 return o; | 1314 return o; |
| 1313 } | 1315 } |
| 1314 | 1316 |
| 1315 checkUnnamed1654(core.Map<core.String, core.String> o) { | 1317 checkUnnamed1664(core.Map<core.String, core.String> o) { |
| 1316 unittest.expect(o, unittest.hasLength(2)); | 1318 unittest.expect(o, unittest.hasLength(2)); |
| 1317 unittest.expect(o["x"], unittest.equals('foo')); | 1319 unittest.expect(o["x"], unittest.equals('foo')); |
| 1318 unittest.expect(o["y"], unittest.equals('foo')); | 1320 unittest.expect(o["y"], unittest.equals('foo')); |
| 1319 } | 1321 } |
| 1320 | 1322 |
| 1321 core.int buildCounterMetricRule = 0; | 1323 core.int buildCounterMetricRule = 0; |
| 1322 buildMetricRule() { | 1324 buildMetricRule() { |
| 1323 var o = new api.MetricRule(); | 1325 var o = new api.MetricRule(); |
| 1324 buildCounterMetricRule++; | 1326 buildCounterMetricRule++; |
| 1325 if (buildCounterMetricRule < 3) { | 1327 if (buildCounterMetricRule < 3) { |
| 1326 o.metricCosts = buildUnnamed1654(); | 1328 o.metricCosts = buildUnnamed1664(); |
| 1327 o.selector = "foo"; | 1329 o.selector = "foo"; |
| 1328 } | 1330 } |
| 1329 buildCounterMetricRule--; | 1331 buildCounterMetricRule--; |
| 1330 return o; | 1332 return o; |
| 1331 } | 1333 } |
| 1332 | 1334 |
| 1333 checkMetricRule(api.MetricRule o) { | 1335 checkMetricRule(api.MetricRule o) { |
| 1334 buildCounterMetricRule++; | 1336 buildCounterMetricRule++; |
| 1335 if (buildCounterMetricRule < 3) { | 1337 if (buildCounterMetricRule < 3) { |
| 1336 checkUnnamed1654(o.metricCosts); | 1338 checkUnnamed1664(o.metricCosts); |
| 1337 unittest.expect(o.selector, unittest.equals('foo')); | 1339 unittest.expect(o.selector, unittest.equals('foo')); |
| 1338 } | 1340 } |
| 1339 buildCounterMetricRule--; | 1341 buildCounterMetricRule--; |
| 1340 } | 1342 } |
| 1341 | 1343 |
| 1342 core.int buildCounterMixin = 0; | 1344 core.int buildCounterMixin = 0; |
| 1343 buildMixin() { | 1345 buildMixin() { |
| 1344 var o = new api.Mixin(); | 1346 var o = new api.Mixin(); |
| 1345 buildCounterMixin++; | 1347 buildCounterMixin++; |
| 1346 if (buildCounterMixin < 3) { | 1348 if (buildCounterMixin < 3) { |
| 1347 o.name = "foo"; | 1349 o.name = "foo"; |
| 1348 o.root = "foo"; | 1350 o.root = "foo"; |
| 1349 } | 1351 } |
| 1350 buildCounterMixin--; | 1352 buildCounterMixin--; |
| 1351 return o; | 1353 return o; |
| 1352 } | 1354 } |
| 1353 | 1355 |
| 1354 checkMixin(api.Mixin o) { | 1356 checkMixin(api.Mixin o) { |
| 1355 buildCounterMixin++; | 1357 buildCounterMixin++; |
| 1356 if (buildCounterMixin < 3) { | 1358 if (buildCounterMixin < 3) { |
| 1357 unittest.expect(o.name, unittest.equals('foo')); | 1359 unittest.expect(o.name, unittest.equals('foo')); |
| 1358 unittest.expect(o.root, unittest.equals('foo')); | 1360 unittest.expect(o.root, unittest.equals('foo')); |
| 1359 } | 1361 } |
| 1360 buildCounterMixin--; | 1362 buildCounterMixin--; |
| 1361 } | 1363 } |
| 1362 | 1364 |
| 1363 buildUnnamed1655() { | 1365 buildUnnamed1665() { |
| 1364 var o = new core.List<api.LabelDescriptor>(); | 1366 var o = new core.List<api.LabelDescriptor>(); |
| 1365 o.add(buildLabelDescriptor()); | 1367 o.add(buildLabelDescriptor()); |
| 1366 o.add(buildLabelDescriptor()); | 1368 o.add(buildLabelDescriptor()); |
| 1367 return o; | 1369 return o; |
| 1368 } | 1370 } |
| 1369 | 1371 |
| 1370 checkUnnamed1655(core.List<api.LabelDescriptor> o) { | 1372 checkUnnamed1665(core.List<api.LabelDescriptor> o) { |
| 1371 unittest.expect(o, unittest.hasLength(2)); | 1373 unittest.expect(o, unittest.hasLength(2)); |
| 1372 checkLabelDescriptor(o[0]); | 1374 checkLabelDescriptor(o[0]); |
| 1373 checkLabelDescriptor(o[1]); | 1375 checkLabelDescriptor(o[1]); |
| 1374 } | 1376 } |
| 1375 | 1377 |
| 1376 core.int buildCounterMonitoredResourceDescriptor = 0; | 1378 core.int buildCounterMonitoredResourceDescriptor = 0; |
| 1377 buildMonitoredResourceDescriptor() { | 1379 buildMonitoredResourceDescriptor() { |
| 1378 var o = new api.MonitoredResourceDescriptor(); | 1380 var o = new api.MonitoredResourceDescriptor(); |
| 1379 buildCounterMonitoredResourceDescriptor++; | 1381 buildCounterMonitoredResourceDescriptor++; |
| 1380 if (buildCounterMonitoredResourceDescriptor < 3) { | 1382 if (buildCounterMonitoredResourceDescriptor < 3) { |
| 1381 o.description = "foo"; | 1383 o.description = "foo"; |
| 1382 o.displayName = "foo"; | 1384 o.displayName = "foo"; |
| 1383 o.labels = buildUnnamed1655(); | 1385 o.labels = buildUnnamed1665(); |
| 1384 o.name = "foo"; | 1386 o.name = "foo"; |
| 1385 o.type = "foo"; | 1387 o.type = "foo"; |
| 1386 } | 1388 } |
| 1387 buildCounterMonitoredResourceDescriptor--; | 1389 buildCounterMonitoredResourceDescriptor--; |
| 1388 return o; | 1390 return o; |
| 1389 } | 1391 } |
| 1390 | 1392 |
| 1391 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { | 1393 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { |
| 1392 buildCounterMonitoredResourceDescriptor++; | 1394 buildCounterMonitoredResourceDescriptor++; |
| 1393 if (buildCounterMonitoredResourceDescriptor < 3) { | 1395 if (buildCounterMonitoredResourceDescriptor < 3) { |
| 1394 unittest.expect(o.description, unittest.equals('foo')); | 1396 unittest.expect(o.description, unittest.equals('foo')); |
| 1395 unittest.expect(o.displayName, unittest.equals('foo')); | 1397 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1396 checkUnnamed1655(o.labels); | 1398 checkUnnamed1665(o.labels); |
| 1397 unittest.expect(o.name, unittest.equals('foo')); | 1399 unittest.expect(o.name, unittest.equals('foo')); |
| 1398 unittest.expect(o.type, unittest.equals('foo')); | 1400 unittest.expect(o.type, unittest.equals('foo')); |
| 1399 } | 1401 } |
| 1400 buildCounterMonitoredResourceDescriptor--; | 1402 buildCounterMonitoredResourceDescriptor--; |
| 1401 } | 1403 } |
| 1402 | 1404 |
| 1403 buildUnnamed1656() { | 1405 buildUnnamed1666() { |
| 1404 var o = new core.List<api.MonitoringDestination>(); | 1406 var o = new core.List<api.MonitoringDestination>(); |
| 1405 o.add(buildMonitoringDestination()); | 1407 o.add(buildMonitoringDestination()); |
| 1406 o.add(buildMonitoringDestination()); | 1408 o.add(buildMonitoringDestination()); |
| 1407 return o; | 1409 return o; |
| 1408 } | 1410 } |
| 1409 | 1411 |
| 1410 checkUnnamed1656(core.List<api.MonitoringDestination> o) { | 1412 checkUnnamed1666(core.List<api.MonitoringDestination> o) { |
| 1411 unittest.expect(o, unittest.hasLength(2)); | 1413 unittest.expect(o, unittest.hasLength(2)); |
| 1412 checkMonitoringDestination(o[0]); | 1414 checkMonitoringDestination(o[0]); |
| 1413 checkMonitoringDestination(o[1]); | 1415 checkMonitoringDestination(o[1]); |
| 1414 } | 1416 } |
| 1415 | 1417 |
| 1416 buildUnnamed1657() { | 1418 buildUnnamed1667() { |
| 1417 var o = new core.List<api.MonitoringDestination>(); | 1419 var o = new core.List<api.MonitoringDestination>(); |
| 1418 o.add(buildMonitoringDestination()); | 1420 o.add(buildMonitoringDestination()); |
| 1419 o.add(buildMonitoringDestination()); | 1421 o.add(buildMonitoringDestination()); |
| 1420 return o; | 1422 return o; |
| 1421 } | 1423 } |
| 1422 | 1424 |
| 1423 checkUnnamed1657(core.List<api.MonitoringDestination> o) { | 1425 checkUnnamed1667(core.List<api.MonitoringDestination> o) { |
| 1424 unittest.expect(o, unittest.hasLength(2)); | 1426 unittest.expect(o, unittest.hasLength(2)); |
| 1425 checkMonitoringDestination(o[0]); | 1427 checkMonitoringDestination(o[0]); |
| 1426 checkMonitoringDestination(o[1]); | 1428 checkMonitoringDestination(o[1]); |
| 1427 } | 1429 } |
| 1428 | 1430 |
| 1429 core.int buildCounterMonitoring = 0; | 1431 core.int buildCounterMonitoring = 0; |
| 1430 buildMonitoring() { | 1432 buildMonitoring() { |
| 1431 var o = new api.Monitoring(); | 1433 var o = new api.Monitoring(); |
| 1432 buildCounterMonitoring++; | 1434 buildCounterMonitoring++; |
| 1433 if (buildCounterMonitoring < 3) { | 1435 if (buildCounterMonitoring < 3) { |
| 1434 o.consumerDestinations = buildUnnamed1656(); | 1436 o.consumerDestinations = buildUnnamed1666(); |
| 1435 o.producerDestinations = buildUnnamed1657(); | 1437 o.producerDestinations = buildUnnamed1667(); |
| 1436 } | 1438 } |
| 1437 buildCounterMonitoring--; | 1439 buildCounterMonitoring--; |
| 1438 return o; | 1440 return o; |
| 1439 } | 1441 } |
| 1440 | 1442 |
| 1441 checkMonitoring(api.Monitoring o) { | 1443 checkMonitoring(api.Monitoring o) { |
| 1442 buildCounterMonitoring++; | 1444 buildCounterMonitoring++; |
| 1443 if (buildCounterMonitoring < 3) { | 1445 if (buildCounterMonitoring < 3) { |
| 1444 checkUnnamed1656(o.consumerDestinations); | 1446 checkUnnamed1666(o.consumerDestinations); |
| 1445 checkUnnamed1657(o.producerDestinations); | 1447 checkUnnamed1667(o.producerDestinations); |
| 1446 } | 1448 } |
| 1447 buildCounterMonitoring--; | 1449 buildCounterMonitoring--; |
| 1448 } | 1450 } |
| 1449 | 1451 |
| 1450 buildUnnamed1658() { | 1452 buildUnnamed1668() { |
| 1451 var o = new core.List<core.String>(); | 1453 var o = new core.List<core.String>(); |
| 1452 o.add("foo"); | 1454 o.add("foo"); |
| 1453 o.add("foo"); | 1455 o.add("foo"); |
| 1454 return o; | 1456 return o; |
| 1455 } | 1457 } |
| 1456 | 1458 |
| 1457 checkUnnamed1658(core.List<core.String> o) { | 1459 checkUnnamed1668(core.List<core.String> o) { |
| 1458 unittest.expect(o, unittest.hasLength(2)); | 1460 unittest.expect(o, unittest.hasLength(2)); |
| 1459 unittest.expect(o[0], unittest.equals('foo')); | 1461 unittest.expect(o[0], unittest.equals('foo')); |
| 1460 unittest.expect(o[1], unittest.equals('foo')); | 1462 unittest.expect(o[1], unittest.equals('foo')); |
| 1461 } | 1463 } |
| 1462 | 1464 |
| 1463 core.int buildCounterMonitoringDestination = 0; | 1465 core.int buildCounterMonitoringDestination = 0; |
| 1464 buildMonitoringDestination() { | 1466 buildMonitoringDestination() { |
| 1465 var o = new api.MonitoringDestination(); | 1467 var o = new api.MonitoringDestination(); |
| 1466 buildCounterMonitoringDestination++; | 1468 buildCounterMonitoringDestination++; |
| 1467 if (buildCounterMonitoringDestination < 3) { | 1469 if (buildCounterMonitoringDestination < 3) { |
| 1468 o.metrics = buildUnnamed1658(); | 1470 o.metrics = buildUnnamed1668(); |
| 1469 o.monitoredResource = "foo"; | 1471 o.monitoredResource = "foo"; |
| 1470 } | 1472 } |
| 1471 buildCounterMonitoringDestination--; | 1473 buildCounterMonitoringDestination--; |
| 1472 return o; | 1474 return o; |
| 1473 } | 1475 } |
| 1474 | 1476 |
| 1475 checkMonitoringDestination(api.MonitoringDestination o) { | 1477 checkMonitoringDestination(api.MonitoringDestination o) { |
| 1476 buildCounterMonitoringDestination++; | 1478 buildCounterMonitoringDestination++; |
| 1477 if (buildCounterMonitoringDestination < 3) { | 1479 if (buildCounterMonitoringDestination < 3) { |
| 1478 checkUnnamed1658(o.metrics); | 1480 checkUnnamed1668(o.metrics); |
| 1479 unittest.expect(o.monitoredResource, unittest.equals('foo')); | 1481 unittest.expect(o.monitoredResource, unittest.equals('foo')); |
| 1480 } | 1482 } |
| 1481 buildCounterMonitoringDestination--; | 1483 buildCounterMonitoringDestination--; |
| 1482 } | 1484 } |
| 1483 | 1485 |
| 1484 core.int buildCounterOAuthRequirements = 0; | 1486 core.int buildCounterOAuthRequirements = 0; |
| 1485 buildOAuthRequirements() { | 1487 buildOAuthRequirements() { |
| 1486 var o = new api.OAuthRequirements(); | 1488 var o = new api.OAuthRequirements(); |
| 1487 buildCounterOAuthRequirements++; | 1489 buildCounterOAuthRequirements++; |
| 1488 if (buildCounterOAuthRequirements < 3) { | 1490 if (buildCounterOAuthRequirements < 3) { |
| 1489 o.canonicalScopes = "foo"; | 1491 o.canonicalScopes = "foo"; |
| 1490 } | 1492 } |
| 1491 buildCounterOAuthRequirements--; | 1493 buildCounterOAuthRequirements--; |
| 1492 return o; | 1494 return o; |
| 1493 } | 1495 } |
| 1494 | 1496 |
| 1495 checkOAuthRequirements(api.OAuthRequirements o) { | 1497 checkOAuthRequirements(api.OAuthRequirements o) { |
| 1496 buildCounterOAuthRequirements++; | 1498 buildCounterOAuthRequirements++; |
| 1497 if (buildCounterOAuthRequirements < 3) { | 1499 if (buildCounterOAuthRequirements < 3) { |
| 1498 unittest.expect(o.canonicalScopes, unittest.equals('foo')); | 1500 unittest.expect(o.canonicalScopes, unittest.equals('foo')); |
| 1499 } | 1501 } |
| 1500 buildCounterOAuthRequirements--; | 1502 buildCounterOAuthRequirements--; |
| 1501 } | 1503 } |
| 1502 | 1504 |
| 1503 buildUnnamed1659() { | 1505 buildUnnamed1669() { |
| 1504 var o = new core.Map<core.String, core.Object>(); | 1506 var o = new core.Map<core.String, core.Object>(); |
| 1505 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1507 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1506 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1508 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1507 return o; | 1509 return o; |
| 1508 } | 1510 } |
| 1509 | 1511 |
| 1510 checkUnnamed1659(core.Map<core.String, core.Object> o) { | 1512 checkUnnamed1669(core.Map<core.String, core.Object> o) { |
| 1511 unittest.expect(o, unittest.hasLength(2)); | 1513 unittest.expect(o, unittest.hasLength(2)); |
| 1512 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')); | 1514 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')); |
| 1513 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')); | 1515 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')); |
| 1514 } | 1516 } |
| 1515 | 1517 |
| 1516 buildUnnamed1660() { | 1518 buildUnnamed1670() { |
| 1517 var o = new core.Map<core.String, core.Object>(); | 1519 var o = new core.Map<core.String, core.Object>(); |
| 1518 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1520 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1519 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1521 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1520 return o; | 1522 return o; |
| 1521 } | 1523 } |
| 1522 | 1524 |
| 1523 checkUnnamed1660(core.Map<core.String, core.Object> o) { | 1525 checkUnnamed1670(core.Map<core.String, core.Object> o) { |
| 1524 unittest.expect(o, unittest.hasLength(2)); | 1526 unittest.expect(o, unittest.hasLength(2)); |
| 1525 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')); | 1527 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')); |
| 1526 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')); | 1528 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')); |
| 1527 } | 1529 } |
| 1528 | 1530 |
| 1529 core.int buildCounterOperation = 0; | 1531 core.int buildCounterOperation = 0; |
| 1530 buildOperation() { | 1532 buildOperation() { |
| 1531 var o = new api.Operation(); | 1533 var o = new api.Operation(); |
| 1532 buildCounterOperation++; | 1534 buildCounterOperation++; |
| 1533 if (buildCounterOperation < 3) { | 1535 if (buildCounterOperation < 3) { |
| 1534 o.done = true; | 1536 o.done = true; |
| 1535 o.error = buildStatus(); | 1537 o.error = buildStatus(); |
| 1536 o.metadata = buildUnnamed1659(); | 1538 o.metadata = buildUnnamed1669(); |
| 1537 o.name = "foo"; | 1539 o.name = "foo"; |
| 1538 o.response = buildUnnamed1660(); | 1540 o.response = buildUnnamed1670(); |
| 1539 } | 1541 } |
| 1540 buildCounterOperation--; | 1542 buildCounterOperation--; |
| 1541 return o; | 1543 return o; |
| 1542 } | 1544 } |
| 1543 | 1545 |
| 1544 checkOperation(api.Operation o) { | 1546 checkOperation(api.Operation o) { |
| 1545 buildCounterOperation++; | 1547 buildCounterOperation++; |
| 1546 if (buildCounterOperation < 3) { | 1548 if (buildCounterOperation < 3) { |
| 1547 unittest.expect(o.done, unittest.isTrue); | 1549 unittest.expect(o.done, unittest.isTrue); |
| 1548 checkStatus(o.error); | 1550 checkStatus(o.error); |
| 1549 checkUnnamed1659(o.metadata); | 1551 checkUnnamed1669(o.metadata); |
| 1550 unittest.expect(o.name, unittest.equals('foo')); | 1552 unittest.expect(o.name, unittest.equals('foo')); |
| 1551 checkUnnamed1660(o.response); | 1553 checkUnnamed1670(o.response); |
| 1552 } | 1554 } |
| 1553 buildCounterOperation--; | 1555 buildCounterOperation--; |
| 1554 } | 1556 } |
| 1555 | 1557 |
| 1556 buildUnnamed1661() { | 1558 buildUnnamed1671() { |
| 1557 var o = new core.List<core.String>(); | 1559 var o = new core.List<core.String>(); |
| 1558 o.add("foo"); | 1560 o.add("foo"); |
| 1559 o.add("foo"); | 1561 o.add("foo"); |
| 1560 return o; | 1562 return o; |
| 1561 } | 1563 } |
| 1562 | 1564 |
| 1563 checkUnnamed1661(core.List<core.String> o) { | 1565 checkUnnamed1671(core.List<core.String> o) { |
| 1564 unittest.expect(o, unittest.hasLength(2)); | 1566 unittest.expect(o, unittest.hasLength(2)); |
| 1565 unittest.expect(o[0], unittest.equals('foo')); | 1567 unittest.expect(o[0], unittest.equals('foo')); |
| 1566 unittest.expect(o[1], unittest.equals('foo')); | 1568 unittest.expect(o[1], unittest.equals('foo')); |
| 1567 } | 1569 } |
| 1568 | 1570 |
| 1569 buildUnnamed1662() { | 1571 buildUnnamed1672() { |
| 1570 var o = new core.List<api.Step>(); | 1572 var o = new core.List<api.Step>(); |
| 1571 o.add(buildStep()); | 1573 o.add(buildStep()); |
| 1572 o.add(buildStep()); | 1574 o.add(buildStep()); |
| 1573 return o; | 1575 return o; |
| 1574 } | 1576 } |
| 1575 | 1577 |
| 1576 checkUnnamed1662(core.List<api.Step> o) { | 1578 checkUnnamed1672(core.List<api.Step> o) { |
| 1577 unittest.expect(o, unittest.hasLength(2)); | 1579 unittest.expect(o, unittest.hasLength(2)); |
| 1578 checkStep(o[0]); | 1580 checkStep(o[0]); |
| 1579 checkStep(o[1]); | 1581 checkStep(o[1]); |
| 1580 } | 1582 } |
| 1581 | 1583 |
| 1582 core.int buildCounterOperationMetadata = 0; | 1584 core.int buildCounterOperationMetadata = 0; |
| 1583 buildOperationMetadata() { | 1585 buildOperationMetadata() { |
| 1584 var o = new api.OperationMetadata(); | 1586 var o = new api.OperationMetadata(); |
| 1585 buildCounterOperationMetadata++; | 1587 buildCounterOperationMetadata++; |
| 1586 if (buildCounterOperationMetadata < 3) { | 1588 if (buildCounterOperationMetadata < 3) { |
| 1587 o.progressPercentage = 42; | 1589 o.progressPercentage = 42; |
| 1588 o.resourceNames = buildUnnamed1661(); | 1590 o.resourceNames = buildUnnamed1671(); |
| 1589 o.startTime = "foo"; | 1591 o.startTime = "foo"; |
| 1590 o.steps = buildUnnamed1662(); | 1592 o.steps = buildUnnamed1672(); |
| 1591 } | 1593 } |
| 1592 buildCounterOperationMetadata--; | 1594 buildCounterOperationMetadata--; |
| 1593 return o; | 1595 return o; |
| 1594 } | 1596 } |
| 1595 | 1597 |
| 1596 checkOperationMetadata(api.OperationMetadata o) { | 1598 checkOperationMetadata(api.OperationMetadata o) { |
| 1597 buildCounterOperationMetadata++; | 1599 buildCounterOperationMetadata++; |
| 1598 if (buildCounterOperationMetadata < 3) { | 1600 if (buildCounterOperationMetadata < 3) { |
| 1599 unittest.expect(o.progressPercentage, unittest.equals(42)); | 1601 unittest.expect(o.progressPercentage, unittest.equals(42)); |
| 1600 checkUnnamed1661(o.resourceNames); | 1602 checkUnnamed1671(o.resourceNames); |
| 1601 unittest.expect(o.startTime, unittest.equals('foo')); | 1603 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1602 checkUnnamed1662(o.steps); | 1604 checkUnnamed1672(o.steps); |
| 1603 } | 1605 } |
| 1604 buildCounterOperationMetadata--; | 1606 buildCounterOperationMetadata--; |
| 1605 } | 1607 } |
| 1606 | 1608 |
| 1607 buildUnnamed1663() { | 1609 buildUnnamed1673() { |
| 1608 var o = new core.Map<core.String, core.Object>(); | 1610 var o = new core.Map<core.String, core.Object>(); |
| 1609 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1611 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1610 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1612 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1611 return o; | 1613 return o; |
| 1612 } | 1614 } |
| 1613 | 1615 |
| 1614 checkUnnamed1663(core.Map<core.String, core.Object> o) { | 1616 checkUnnamed1673(core.Map<core.String, core.Object> o) { |
| 1615 unittest.expect(o, unittest.hasLength(2)); | 1617 unittest.expect(o, unittest.hasLength(2)); |
| 1616 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')); | 1618 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')); |
| 1617 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')); | 1619 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')); |
| 1618 } | 1620 } |
| 1619 | 1621 |
| 1620 core.int buildCounterOption = 0; | 1622 core.int buildCounterOption = 0; |
| 1621 buildOption() { | 1623 buildOption() { |
| 1622 var o = new api.Option(); | 1624 var o = new api.Option(); |
| 1623 buildCounterOption++; | 1625 buildCounterOption++; |
| 1624 if (buildCounterOption < 3) { | 1626 if (buildCounterOption < 3) { |
| 1625 o.name = "foo"; | 1627 o.name = "foo"; |
| 1626 o.value = buildUnnamed1663(); | 1628 o.value = buildUnnamed1673(); |
| 1627 } | 1629 } |
| 1628 buildCounterOption--; | 1630 buildCounterOption--; |
| 1629 return o; | 1631 return o; |
| 1630 } | 1632 } |
| 1631 | 1633 |
| 1632 checkOption(api.Option o) { | 1634 checkOption(api.Option o) { |
| 1633 buildCounterOption++; | 1635 buildCounterOption++; |
| 1634 if (buildCounterOption < 3) { | 1636 if (buildCounterOption < 3) { |
| 1635 unittest.expect(o.name, unittest.equals('foo')); | 1637 unittest.expect(o.name, unittest.equals('foo')); |
| 1636 checkUnnamed1663(o.value); | 1638 checkUnnamed1673(o.value); |
| 1637 } | 1639 } |
| 1638 buildCounterOption--; | 1640 buildCounterOption--; |
| 1639 } | 1641 } |
| 1640 | 1642 |
| 1641 buildUnnamed1664() { | 1643 buildUnnamed1674() { |
| 1642 var o = new core.List<api.Page>(); | 1644 var o = new core.List<api.Page>(); |
| 1643 o.add(buildPage()); | 1645 o.add(buildPage()); |
| 1644 o.add(buildPage()); | 1646 o.add(buildPage()); |
| 1645 return o; | 1647 return o; |
| 1646 } | 1648 } |
| 1647 | 1649 |
| 1648 checkUnnamed1664(core.List<api.Page> o) { | 1650 checkUnnamed1674(core.List<api.Page> o) { |
| 1649 unittest.expect(o, unittest.hasLength(2)); | 1651 unittest.expect(o, unittest.hasLength(2)); |
| 1650 checkPage(o[0]); | 1652 checkPage(o[0]); |
| 1651 checkPage(o[1]); | 1653 checkPage(o[1]); |
| 1652 } | 1654 } |
| 1653 | 1655 |
| 1654 core.int buildCounterPage = 0; | 1656 core.int buildCounterPage = 0; |
| 1655 buildPage() { | 1657 buildPage() { |
| 1656 var o = new api.Page(); | 1658 var o = new api.Page(); |
| 1657 buildCounterPage++; | 1659 buildCounterPage++; |
| 1658 if (buildCounterPage < 3) { | 1660 if (buildCounterPage < 3) { |
| 1659 o.content = "foo"; | 1661 o.content = "foo"; |
| 1660 o.name = "foo"; | 1662 o.name = "foo"; |
| 1661 o.subpages = buildUnnamed1664(); | 1663 o.subpages = buildUnnamed1674(); |
| 1662 } | 1664 } |
| 1663 buildCounterPage--; | 1665 buildCounterPage--; |
| 1664 return o; | 1666 return o; |
| 1665 } | 1667 } |
| 1666 | 1668 |
| 1667 checkPage(api.Page o) { | 1669 checkPage(api.Page o) { |
| 1668 buildCounterPage++; | 1670 buildCounterPage++; |
| 1669 if (buildCounterPage < 3) { | 1671 if (buildCounterPage < 3) { |
| 1670 unittest.expect(o.content, unittest.equals('foo')); | 1672 unittest.expect(o.content, unittest.equals('foo')); |
| 1671 unittest.expect(o.name, unittest.equals('foo')); | 1673 unittest.expect(o.name, unittest.equals('foo')); |
| 1672 checkUnnamed1664(o.subpages); | 1674 checkUnnamed1674(o.subpages); |
| 1673 } | 1675 } |
| 1674 buildCounterPage--; | 1676 buildCounterPage--; |
| 1675 } | 1677 } |
| 1676 | 1678 |
| 1677 core.int buildCounterPublishedService = 0; | 1679 core.int buildCounterPublishedService = 0; |
| 1678 buildPublishedService() { | 1680 buildPublishedService() { |
| 1679 var o = new api.PublishedService(); | 1681 var o = new api.PublishedService(); |
| 1680 buildCounterPublishedService++; | 1682 buildCounterPublishedService++; |
| 1681 if (buildCounterPublishedService < 3) { | 1683 if (buildCounterPublishedService < 3) { |
| 1682 o.name = "foo"; | 1684 o.name = "foo"; |
| 1683 o.service = buildService(); | 1685 o.service = buildService(); |
| 1684 } | 1686 } |
| 1685 buildCounterPublishedService--; | 1687 buildCounterPublishedService--; |
| 1686 return o; | 1688 return o; |
| 1687 } | 1689 } |
| 1688 | 1690 |
| 1689 checkPublishedService(api.PublishedService o) { | 1691 checkPublishedService(api.PublishedService o) { |
| 1690 buildCounterPublishedService++; | 1692 buildCounterPublishedService++; |
| 1691 if (buildCounterPublishedService < 3) { | 1693 if (buildCounterPublishedService < 3) { |
| 1692 unittest.expect(o.name, unittest.equals('foo')); | 1694 unittest.expect(o.name, unittest.equals('foo')); |
| 1693 checkService(o.service); | 1695 checkService(o.service); |
| 1694 } | 1696 } |
| 1695 buildCounterPublishedService--; | 1697 buildCounterPublishedService--; |
| 1696 } | 1698 } |
| 1697 | 1699 |
| 1698 buildUnnamed1665() { | 1700 buildUnnamed1675() { |
| 1699 var o = new core.List<api.QuotaLimit>(); | 1701 var o = new core.List<api.QuotaLimit>(); |
| 1700 o.add(buildQuotaLimit()); | 1702 o.add(buildQuotaLimit()); |
| 1701 o.add(buildQuotaLimit()); | 1703 o.add(buildQuotaLimit()); |
| 1702 return o; | 1704 return o; |
| 1703 } | 1705 } |
| 1704 | 1706 |
| 1705 checkUnnamed1665(core.List<api.QuotaLimit> o) { | 1707 checkUnnamed1675(core.List<api.QuotaLimit> o) { |
| 1706 unittest.expect(o, unittest.hasLength(2)); | 1708 unittest.expect(o, unittest.hasLength(2)); |
| 1707 checkQuotaLimit(o[0]); | 1709 checkQuotaLimit(o[0]); |
| 1708 checkQuotaLimit(o[1]); | 1710 checkQuotaLimit(o[1]); |
| 1709 } | 1711 } |
| 1710 | 1712 |
| 1711 buildUnnamed1666() { | 1713 buildUnnamed1676() { |
| 1712 var o = new core.List<api.MetricRule>(); | 1714 var o = new core.List<api.MetricRule>(); |
| 1713 o.add(buildMetricRule()); | 1715 o.add(buildMetricRule()); |
| 1714 o.add(buildMetricRule()); | 1716 o.add(buildMetricRule()); |
| 1715 return o; | 1717 return o; |
| 1716 } | 1718 } |
| 1717 | 1719 |
| 1718 checkUnnamed1666(core.List<api.MetricRule> o) { | 1720 checkUnnamed1676(core.List<api.MetricRule> o) { |
| 1719 unittest.expect(o, unittest.hasLength(2)); | 1721 unittest.expect(o, unittest.hasLength(2)); |
| 1720 checkMetricRule(o[0]); | 1722 checkMetricRule(o[0]); |
| 1721 checkMetricRule(o[1]); | 1723 checkMetricRule(o[1]); |
| 1722 } | 1724 } |
| 1723 | 1725 |
| 1724 core.int buildCounterQuota = 0; | 1726 core.int buildCounterQuota = 0; |
| 1725 buildQuota() { | 1727 buildQuota() { |
| 1726 var o = new api.Quota(); | 1728 var o = new api.Quota(); |
| 1727 buildCounterQuota++; | 1729 buildCounterQuota++; |
| 1728 if (buildCounterQuota < 3) { | 1730 if (buildCounterQuota < 3) { |
| 1729 o.limits = buildUnnamed1665(); | 1731 o.limits = buildUnnamed1675(); |
| 1730 o.metricRules = buildUnnamed1666(); | 1732 o.metricRules = buildUnnamed1676(); |
| 1731 } | 1733 } |
| 1732 buildCounterQuota--; | 1734 buildCounterQuota--; |
| 1733 return o; | 1735 return o; |
| 1734 } | 1736 } |
| 1735 | 1737 |
| 1736 checkQuota(api.Quota o) { | 1738 checkQuota(api.Quota o) { |
| 1737 buildCounterQuota++; | 1739 buildCounterQuota++; |
| 1738 if (buildCounterQuota < 3) { | 1740 if (buildCounterQuota < 3) { |
| 1739 checkUnnamed1665(o.limits); | 1741 checkUnnamed1675(o.limits); |
| 1740 checkUnnamed1666(o.metricRules); | 1742 checkUnnamed1676(o.metricRules); |
| 1741 } | 1743 } |
| 1742 buildCounterQuota--; | 1744 buildCounterQuota--; |
| 1743 } | 1745 } |
| 1744 | 1746 |
| 1745 buildUnnamed1667() { | 1747 buildUnnamed1677() { |
| 1746 var o = new core.Map<core.String, core.String>(); | 1748 var o = new core.Map<core.String, core.String>(); |
| 1747 o["x"] = "foo"; | 1749 o["x"] = "foo"; |
| 1748 o["y"] = "foo"; | 1750 o["y"] = "foo"; |
| 1749 return o; | 1751 return o; |
| 1750 } | 1752 } |
| 1751 | 1753 |
| 1752 checkUnnamed1667(core.Map<core.String, core.String> o) { | 1754 checkUnnamed1677(core.Map<core.String, core.String> o) { |
| 1753 unittest.expect(o, unittest.hasLength(2)); | 1755 unittest.expect(o, unittest.hasLength(2)); |
| 1754 unittest.expect(o["x"], unittest.equals('foo')); | 1756 unittest.expect(o["x"], unittest.equals('foo')); |
| 1755 unittest.expect(o["y"], unittest.equals('foo')); | 1757 unittest.expect(o["y"], unittest.equals('foo')); |
| 1756 } | 1758 } |
| 1757 | 1759 |
| 1758 core.int buildCounterQuotaLimit = 0; | 1760 core.int buildCounterQuotaLimit = 0; |
| 1759 buildQuotaLimit() { | 1761 buildQuotaLimit() { |
| 1760 var o = new api.QuotaLimit(); | 1762 var o = new api.QuotaLimit(); |
| 1761 buildCounterQuotaLimit++; | 1763 buildCounterQuotaLimit++; |
| 1762 if (buildCounterQuotaLimit < 3) { | 1764 if (buildCounterQuotaLimit < 3) { |
| 1763 o.defaultLimit = "foo"; | 1765 o.defaultLimit = "foo"; |
| 1764 o.description = "foo"; | 1766 o.description = "foo"; |
| 1765 o.displayName = "foo"; | 1767 o.displayName = "foo"; |
| 1766 o.duration = "foo"; | 1768 o.duration = "foo"; |
| 1767 o.freeTier = "foo"; | 1769 o.freeTier = "foo"; |
| 1768 o.maxLimit = "foo"; | 1770 o.maxLimit = "foo"; |
| 1769 o.metric = "foo"; | 1771 o.metric = "foo"; |
| 1770 o.name = "foo"; | 1772 o.name = "foo"; |
| 1771 o.unit = "foo"; | 1773 o.unit = "foo"; |
| 1772 o.values = buildUnnamed1667(); | 1774 o.values = buildUnnamed1677(); |
| 1773 } | 1775 } |
| 1774 buildCounterQuotaLimit--; | 1776 buildCounterQuotaLimit--; |
| 1775 return o; | 1777 return o; |
| 1776 } | 1778 } |
| 1777 | 1779 |
| 1778 checkQuotaLimit(api.QuotaLimit o) { | 1780 checkQuotaLimit(api.QuotaLimit o) { |
| 1779 buildCounterQuotaLimit++; | 1781 buildCounterQuotaLimit++; |
| 1780 if (buildCounterQuotaLimit < 3) { | 1782 if (buildCounterQuotaLimit < 3) { |
| 1781 unittest.expect(o.defaultLimit, unittest.equals('foo')); | 1783 unittest.expect(o.defaultLimit, unittest.equals('foo')); |
| 1782 unittest.expect(o.description, unittest.equals('foo')); | 1784 unittest.expect(o.description, unittest.equals('foo')); |
| 1783 unittest.expect(o.displayName, unittest.equals('foo')); | 1785 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1784 unittest.expect(o.duration, unittest.equals('foo')); | 1786 unittest.expect(o.duration, unittest.equals('foo')); |
| 1785 unittest.expect(o.freeTier, unittest.equals('foo')); | 1787 unittest.expect(o.freeTier, unittest.equals('foo')); |
| 1786 unittest.expect(o.maxLimit, unittest.equals('foo')); | 1788 unittest.expect(o.maxLimit, unittest.equals('foo')); |
| 1787 unittest.expect(o.metric, unittest.equals('foo')); | 1789 unittest.expect(o.metric, unittest.equals('foo')); |
| 1788 unittest.expect(o.name, unittest.equals('foo')); | 1790 unittest.expect(o.name, unittest.equals('foo')); |
| 1789 unittest.expect(o.unit, unittest.equals('foo')); | 1791 unittest.expect(o.unit, unittest.equals('foo')); |
| 1790 checkUnnamed1667(o.values); | 1792 checkUnnamed1677(o.values); |
| 1791 } | 1793 } |
| 1792 buildCounterQuotaLimit--; | 1794 buildCounterQuotaLimit--; |
| 1793 } | 1795 } |
| 1794 | 1796 |
| 1795 buildUnnamed1668() { | 1797 buildUnnamed1678() { |
| 1796 var o = new core.List<api.PublishedService>(); | 1798 var o = new core.List<api.PublishedService>(); |
| 1797 o.add(buildPublishedService()); | 1799 o.add(buildPublishedService()); |
| 1798 o.add(buildPublishedService()); | 1800 o.add(buildPublishedService()); |
| 1799 return o; | 1801 return o; |
| 1800 } | 1802 } |
| 1801 | 1803 |
| 1802 checkUnnamed1668(core.List<api.PublishedService> o) { | 1804 checkUnnamed1678(core.List<api.PublishedService> o) { |
| 1803 unittest.expect(o, unittest.hasLength(2)); | 1805 unittest.expect(o, unittest.hasLength(2)); |
| 1804 checkPublishedService(o[0]); | 1806 checkPublishedService(o[0]); |
| 1805 checkPublishedService(o[1]); | 1807 checkPublishedService(o[1]); |
| 1806 } | 1808 } |
| 1807 | 1809 |
| 1808 core.int buildCounterSearchServicesResponse = 0; | 1810 core.int buildCounterSearchServicesResponse = 0; |
| 1809 buildSearchServicesResponse() { | 1811 buildSearchServicesResponse() { |
| 1810 var o = new api.SearchServicesResponse(); | 1812 var o = new api.SearchServicesResponse(); |
| 1811 buildCounterSearchServicesResponse++; | 1813 buildCounterSearchServicesResponse++; |
| 1812 if (buildCounterSearchServicesResponse < 3) { | 1814 if (buildCounterSearchServicesResponse < 3) { |
| 1813 o.nextPageToken = "foo"; | 1815 o.nextPageToken = "foo"; |
| 1814 o.services = buildUnnamed1668(); | 1816 o.services = buildUnnamed1678(); |
| 1815 } | 1817 } |
| 1816 buildCounterSearchServicesResponse--; | 1818 buildCounterSearchServicesResponse--; |
| 1817 return o; | 1819 return o; |
| 1818 } | 1820 } |
| 1819 | 1821 |
| 1820 checkSearchServicesResponse(api.SearchServicesResponse o) { | 1822 checkSearchServicesResponse(api.SearchServicesResponse o) { |
| 1821 buildCounterSearchServicesResponse++; | 1823 buildCounterSearchServicesResponse++; |
| 1822 if (buildCounterSearchServicesResponse < 3) { | 1824 if (buildCounterSearchServicesResponse < 3) { |
| 1823 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1825 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1824 checkUnnamed1668(o.services); | 1826 checkUnnamed1678(o.services); |
| 1825 } | 1827 } |
| 1826 buildCounterSearchServicesResponse--; | 1828 buildCounterSearchServicesResponse--; |
| 1827 } | 1829 } |
| 1828 | 1830 |
| 1829 buildUnnamed1669() { | 1831 buildUnnamed1679() { |
| 1830 var o = new core.List<api.Api>(); | 1832 var o = new core.List<api.Api>(); |
| 1831 o.add(buildApi()); | 1833 o.add(buildApi()); |
| 1832 o.add(buildApi()); | 1834 o.add(buildApi()); |
| 1833 return o; | 1835 return o; |
| 1834 } | 1836 } |
| 1835 | 1837 |
| 1836 checkUnnamed1669(core.List<api.Api> o) { | 1838 checkUnnamed1679(core.List<api.Api> o) { |
| 1837 unittest.expect(o, unittest.hasLength(2)); | 1839 unittest.expect(o, unittest.hasLength(2)); |
| 1838 checkApi(o[0]); | 1840 checkApi(o[0]); |
| 1839 checkApi(o[1]); | 1841 checkApi(o[1]); |
| 1840 } | 1842 } |
| 1841 | 1843 |
| 1842 buildUnnamed1670() { | 1844 buildUnnamed1680() { |
| 1843 var o = new core.List<api.Endpoint>(); | 1845 var o = new core.List<api.Endpoint>(); |
| 1844 o.add(buildEndpoint()); | 1846 o.add(buildEndpoint()); |
| 1845 o.add(buildEndpoint()); | 1847 o.add(buildEndpoint()); |
| 1846 return o; | 1848 return o; |
| 1847 } | 1849 } |
| 1848 | 1850 |
| 1849 checkUnnamed1670(core.List<api.Endpoint> o) { | 1851 checkUnnamed1680(core.List<api.Endpoint> o) { |
| 1850 unittest.expect(o, unittest.hasLength(2)); | 1852 unittest.expect(o, unittest.hasLength(2)); |
| 1851 checkEndpoint(o[0]); | 1853 checkEndpoint(o[0]); |
| 1852 checkEndpoint(o[1]); | 1854 checkEndpoint(o[1]); |
| 1853 } | 1855 } |
| 1854 | 1856 |
| 1855 buildUnnamed1671() { | 1857 buildUnnamed1681() { |
| 1856 var o = new core.List<api.Enum>(); | 1858 var o = new core.List<api.Enum>(); |
| 1857 o.add(buildEnum()); | 1859 o.add(buildEnum()); |
| 1858 o.add(buildEnum()); | 1860 o.add(buildEnum()); |
| 1859 return o; | 1861 return o; |
| 1860 } | 1862 } |
| 1861 | 1863 |
| 1862 checkUnnamed1671(core.List<api.Enum> o) { | 1864 checkUnnamed1681(core.List<api.Enum> o) { |
| 1863 unittest.expect(o, unittest.hasLength(2)); | 1865 unittest.expect(o, unittest.hasLength(2)); |
| 1864 checkEnum(o[0]); | 1866 checkEnum(o[0]); |
| 1865 checkEnum(o[1]); | 1867 checkEnum(o[1]); |
| 1866 } | 1868 } |
| 1867 | 1869 |
| 1868 buildUnnamed1672() { | 1870 buildUnnamed1682() { |
| 1869 var o = new core.List<api.LogDescriptor>(); | 1871 var o = new core.List<api.LogDescriptor>(); |
| 1870 o.add(buildLogDescriptor()); | 1872 o.add(buildLogDescriptor()); |
| 1871 o.add(buildLogDescriptor()); | 1873 o.add(buildLogDescriptor()); |
| 1872 return o; | 1874 return o; |
| 1873 } | 1875 } |
| 1874 | 1876 |
| 1875 checkUnnamed1672(core.List<api.LogDescriptor> o) { | 1877 checkUnnamed1682(core.List<api.LogDescriptor> o) { |
| 1876 unittest.expect(o, unittest.hasLength(2)); | 1878 unittest.expect(o, unittest.hasLength(2)); |
| 1877 checkLogDescriptor(o[0]); | 1879 checkLogDescriptor(o[0]); |
| 1878 checkLogDescriptor(o[1]); | 1880 checkLogDescriptor(o[1]); |
| 1879 } | 1881 } |
| 1880 | 1882 |
| 1881 buildUnnamed1673() { | 1883 buildUnnamed1683() { |
| 1882 var o = new core.List<api.MetricDescriptor>(); | 1884 var o = new core.List<api.MetricDescriptor>(); |
| 1883 o.add(buildMetricDescriptor()); | 1885 o.add(buildMetricDescriptor()); |
| 1884 o.add(buildMetricDescriptor()); | 1886 o.add(buildMetricDescriptor()); |
| 1885 return o; | 1887 return o; |
| 1886 } | 1888 } |
| 1887 | 1889 |
| 1888 checkUnnamed1673(core.List<api.MetricDescriptor> o) { | 1890 checkUnnamed1683(core.List<api.MetricDescriptor> o) { |
| 1889 unittest.expect(o, unittest.hasLength(2)); | 1891 unittest.expect(o, unittest.hasLength(2)); |
| 1890 checkMetricDescriptor(o[0]); | 1892 checkMetricDescriptor(o[0]); |
| 1891 checkMetricDescriptor(o[1]); | 1893 checkMetricDescriptor(o[1]); |
| 1892 } | 1894 } |
| 1893 | 1895 |
| 1894 buildUnnamed1674() { | 1896 buildUnnamed1684() { |
| 1895 var o = new core.List<api.MonitoredResourceDescriptor>(); | 1897 var o = new core.List<api.MonitoredResourceDescriptor>(); |
| 1896 o.add(buildMonitoredResourceDescriptor()); | 1898 o.add(buildMonitoredResourceDescriptor()); |
| 1897 o.add(buildMonitoredResourceDescriptor()); | 1899 o.add(buildMonitoredResourceDescriptor()); |
| 1898 return o; | 1900 return o; |
| 1899 } | 1901 } |
| 1900 | 1902 |
| 1901 checkUnnamed1674(core.List<api.MonitoredResourceDescriptor> o) { | 1903 checkUnnamed1684(core.List<api.MonitoredResourceDescriptor> o) { |
| 1902 unittest.expect(o, unittest.hasLength(2)); | 1904 unittest.expect(o, unittest.hasLength(2)); |
| 1903 checkMonitoredResourceDescriptor(o[0]); | 1905 checkMonitoredResourceDescriptor(o[0]); |
| 1904 checkMonitoredResourceDescriptor(o[1]); | 1906 checkMonitoredResourceDescriptor(o[1]); |
| 1905 } | 1907 } |
| 1906 | 1908 |
| 1907 buildUnnamed1675() { | 1909 buildUnnamed1685() { |
| 1908 var o = new core.List<api.Type>(); | 1910 var o = new core.List<api.Type>(); |
| 1909 o.add(buildType()); | 1911 o.add(buildType()); |
| 1910 o.add(buildType()); | 1912 o.add(buildType()); |
| 1911 return o; | 1913 return o; |
| 1912 } | 1914 } |
| 1913 | 1915 |
| 1914 checkUnnamed1675(core.List<api.Type> o) { | 1916 checkUnnamed1685(core.List<api.Type> o) { |
| 1915 unittest.expect(o, unittest.hasLength(2)); | 1917 unittest.expect(o, unittest.hasLength(2)); |
| 1916 checkType(o[0]); | 1918 checkType(o[0]); |
| 1917 checkType(o[1]); | 1919 checkType(o[1]); |
| 1918 } | 1920 } |
| 1919 | 1921 |
| 1920 buildUnnamed1676() { | 1922 buildUnnamed1686() { |
| 1921 var o = new core.List<api.Type>(); | 1923 var o = new core.List<api.Type>(); |
| 1922 o.add(buildType()); | 1924 o.add(buildType()); |
| 1923 o.add(buildType()); | 1925 o.add(buildType()); |
| 1924 return o; | 1926 return o; |
| 1925 } | 1927 } |
| 1926 | 1928 |
| 1927 checkUnnamed1676(core.List<api.Type> o) { | 1929 checkUnnamed1686(core.List<api.Type> o) { |
| 1928 unittest.expect(o, unittest.hasLength(2)); | 1930 unittest.expect(o, unittest.hasLength(2)); |
| 1929 checkType(o[0]); | 1931 checkType(o[0]); |
| 1930 checkType(o[1]); | 1932 checkType(o[1]); |
| 1931 } | 1933 } |
| 1932 | 1934 |
| 1933 core.int buildCounterService = 0; | 1935 core.int buildCounterService = 0; |
| 1934 buildService() { | 1936 buildService() { |
| 1935 var o = new api.Service(); | 1937 var o = new api.Service(); |
| 1936 buildCounterService++; | 1938 buildCounterService++; |
| 1937 if (buildCounterService < 3) { | 1939 if (buildCounterService < 3) { |
| 1938 o.apis = buildUnnamed1669(); | 1940 o.apis = buildUnnamed1679(); |
| 1939 o.authentication = buildAuthentication(); | 1941 o.authentication = buildAuthentication(); |
| 1940 o.backend = buildBackend(); | 1942 o.backend = buildBackend(); |
| 1941 o.configVersion = 42; | 1943 o.configVersion = 42; |
| 1942 o.context = buildContext(); | 1944 o.context = buildContext(); |
| 1943 o.control = buildControl(); | 1945 o.control = buildControl(); |
| 1944 o.customError = buildCustomError(); | 1946 o.customError = buildCustomError(); |
| 1945 o.documentation = buildDocumentation(); | 1947 o.documentation = buildDocumentation(); |
| 1946 o.endpoints = buildUnnamed1670(); | 1948 o.endpoints = buildUnnamed1680(); |
| 1947 o.enums = buildUnnamed1671(); | 1949 o.enums = buildUnnamed1681(); |
| 1948 o.experimental = buildExperimental(); | 1950 o.experimental = buildExperimental(); |
| 1949 o.http = buildHttp(); | 1951 o.http = buildHttp(); |
| 1950 o.id = "foo"; | 1952 o.id = "foo"; |
| 1951 o.logging = buildLogging(); | 1953 o.logging = buildLogging(); |
| 1952 o.logs = buildUnnamed1672(); | 1954 o.logs = buildUnnamed1682(); |
| 1953 o.metrics = buildUnnamed1673(); | 1955 o.metrics = buildUnnamed1683(); |
| 1954 o.monitoredResources = buildUnnamed1674(); | 1956 o.monitoredResources = buildUnnamed1684(); |
| 1955 o.monitoring = buildMonitoring(); | 1957 o.monitoring = buildMonitoring(); |
| 1956 o.name = "foo"; | 1958 o.name = "foo"; |
| 1957 o.producerProjectId = "foo"; | 1959 o.producerProjectId = "foo"; |
| 1958 o.quota = buildQuota(); | 1960 o.quota = buildQuota(); |
| 1959 o.sourceInfo = buildSourceInfo(); | 1961 o.sourceInfo = buildSourceInfo(); |
| 1960 o.systemParameters = buildSystemParameters(); | 1962 o.systemParameters = buildSystemParameters(); |
| 1961 o.systemTypes = buildUnnamed1675(); | 1963 o.systemTypes = buildUnnamed1685(); |
| 1962 o.title = "foo"; | 1964 o.title = "foo"; |
| 1963 o.types = buildUnnamed1676(); | 1965 o.types = buildUnnamed1686(); |
| 1964 o.usage = buildUsage(); | 1966 o.usage = buildUsage(); |
| 1965 o.visibility = buildVisibility(); | 1967 o.visibility = buildVisibility(); |
| 1966 } | 1968 } |
| 1967 buildCounterService--; | 1969 buildCounterService--; |
| 1968 return o; | 1970 return o; |
| 1969 } | 1971 } |
| 1970 | 1972 |
| 1971 checkService(api.Service o) { | 1973 checkService(api.Service o) { |
| 1972 buildCounterService++; | 1974 buildCounterService++; |
| 1973 if (buildCounterService < 3) { | 1975 if (buildCounterService < 3) { |
| 1974 checkUnnamed1669(o.apis); | 1976 checkUnnamed1679(o.apis); |
| 1975 checkAuthentication(o.authentication); | 1977 checkAuthentication(o.authentication); |
| 1976 checkBackend(o.backend); | 1978 checkBackend(o.backend); |
| 1977 unittest.expect(o.configVersion, unittest.equals(42)); | 1979 unittest.expect(o.configVersion, unittest.equals(42)); |
| 1978 checkContext(o.context); | 1980 checkContext(o.context); |
| 1979 checkControl(o.control); | 1981 checkControl(o.control); |
| 1980 checkCustomError(o.customError); | 1982 checkCustomError(o.customError); |
| 1981 checkDocumentation(o.documentation); | 1983 checkDocumentation(o.documentation); |
| 1982 checkUnnamed1670(o.endpoints); | 1984 checkUnnamed1680(o.endpoints); |
| 1983 checkUnnamed1671(o.enums); | 1985 checkUnnamed1681(o.enums); |
| 1984 checkExperimental(o.experimental); | 1986 checkExperimental(o.experimental); |
| 1985 checkHttp(o.http); | 1987 checkHttp(o.http); |
| 1986 unittest.expect(o.id, unittest.equals('foo')); | 1988 unittest.expect(o.id, unittest.equals('foo')); |
| 1987 checkLogging(o.logging); | 1989 checkLogging(o.logging); |
| 1988 checkUnnamed1672(o.logs); | 1990 checkUnnamed1682(o.logs); |
| 1989 checkUnnamed1673(o.metrics); | 1991 checkUnnamed1683(o.metrics); |
| 1990 checkUnnamed1674(o.monitoredResources); | 1992 checkUnnamed1684(o.monitoredResources); |
| 1991 checkMonitoring(o.monitoring); | 1993 checkMonitoring(o.monitoring); |
| 1992 unittest.expect(o.name, unittest.equals('foo')); | 1994 unittest.expect(o.name, unittest.equals('foo')); |
| 1993 unittest.expect(o.producerProjectId, unittest.equals('foo')); | 1995 unittest.expect(o.producerProjectId, unittest.equals('foo')); |
| 1994 checkQuota(o.quota); | 1996 checkQuota(o.quota); |
| 1995 checkSourceInfo(o.sourceInfo); | 1997 checkSourceInfo(o.sourceInfo); |
| 1996 checkSystemParameters(o.systemParameters); | 1998 checkSystemParameters(o.systemParameters); |
| 1997 checkUnnamed1675(o.systemTypes); | 1999 checkUnnamed1685(o.systemTypes); |
| 1998 unittest.expect(o.title, unittest.equals('foo')); | 2000 unittest.expect(o.title, unittest.equals('foo')); |
| 1999 checkUnnamed1676(o.types); | 2001 checkUnnamed1686(o.types); |
| 2000 checkUsage(o.usage); | 2002 checkUsage(o.usage); |
| 2001 checkVisibility(o.visibility); | 2003 checkVisibility(o.visibility); |
| 2002 } | 2004 } |
| 2003 buildCounterService--; | 2005 buildCounterService--; |
| 2004 } | 2006 } |
| 2005 | 2007 |
| 2006 core.int buildCounterSourceContext = 0; | 2008 core.int buildCounterSourceContext = 0; |
| 2007 buildSourceContext() { | 2009 buildSourceContext() { |
| 2008 var o = new api.SourceContext(); | 2010 var o = new api.SourceContext(); |
| 2009 buildCounterSourceContext++; | 2011 buildCounterSourceContext++; |
| 2010 if (buildCounterSourceContext < 3) { | 2012 if (buildCounterSourceContext < 3) { |
| 2011 o.fileName = "foo"; | 2013 o.fileName = "foo"; |
| 2012 } | 2014 } |
| 2013 buildCounterSourceContext--; | 2015 buildCounterSourceContext--; |
| 2014 return o; | 2016 return o; |
| 2015 } | 2017 } |
| 2016 | 2018 |
| 2017 checkSourceContext(api.SourceContext o) { | 2019 checkSourceContext(api.SourceContext o) { |
| 2018 buildCounterSourceContext++; | 2020 buildCounterSourceContext++; |
| 2019 if (buildCounterSourceContext < 3) { | 2021 if (buildCounterSourceContext < 3) { |
| 2020 unittest.expect(o.fileName, unittest.equals('foo')); | 2022 unittest.expect(o.fileName, unittest.equals('foo')); |
| 2021 } | 2023 } |
| 2022 buildCounterSourceContext--; | 2024 buildCounterSourceContext--; |
| 2023 } | 2025 } |
| 2024 | 2026 |
| 2025 buildUnnamed1677() { | 2027 buildUnnamed1687() { |
| 2026 var o = new core.Map<core.String, core.Object>(); | 2028 var o = new core.Map<core.String, core.Object>(); |
| 2027 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2029 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2028 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2030 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2029 return o; | 2031 return o; |
| 2030 } | 2032 } |
| 2031 | 2033 |
| 2032 checkUnnamed1677(core.Map<core.String, core.Object> o) { | 2034 checkUnnamed1687(core.Map<core.String, core.Object> o) { |
| 2033 unittest.expect(o, unittest.hasLength(2)); | 2035 unittest.expect(o, unittest.hasLength(2)); |
| 2034 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')); | 2036 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')); |
| 2035 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')); | 2037 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')); |
| 2036 } | 2038 } |
| 2037 | 2039 |
| 2038 buildUnnamed1678() { | 2040 buildUnnamed1688() { |
| 2039 var o = new core.List<core.Map<core.String, core.Object>>(); | 2041 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2040 o.add(buildUnnamed1677()); | 2042 o.add(buildUnnamed1687()); |
| 2041 o.add(buildUnnamed1677()); | 2043 o.add(buildUnnamed1687()); |
| 2042 return o; | 2044 return o; |
| 2043 } | 2045 } |
| 2044 | 2046 |
| 2045 checkUnnamed1678(core.List<core.Map<core.String, core.Object>> o) { | 2047 checkUnnamed1688(core.List<core.Map<core.String, core.Object>> o) { |
| 2046 unittest.expect(o, unittest.hasLength(2)); | 2048 unittest.expect(o, unittest.hasLength(2)); |
| 2047 checkUnnamed1677(o[0]); | 2049 checkUnnamed1687(o[0]); |
| 2048 checkUnnamed1677(o[1]); | 2050 checkUnnamed1687(o[1]); |
| 2049 } | 2051 } |
| 2050 | 2052 |
| 2051 core.int buildCounterSourceInfo = 0; | 2053 core.int buildCounterSourceInfo = 0; |
| 2052 buildSourceInfo() { | 2054 buildSourceInfo() { |
| 2053 var o = new api.SourceInfo(); | 2055 var o = new api.SourceInfo(); |
| 2054 buildCounterSourceInfo++; | 2056 buildCounterSourceInfo++; |
| 2055 if (buildCounterSourceInfo < 3) { | 2057 if (buildCounterSourceInfo < 3) { |
| 2056 o.sourceFiles = buildUnnamed1678(); | 2058 o.sourceFiles = buildUnnamed1688(); |
| 2057 } | 2059 } |
| 2058 buildCounterSourceInfo--; | 2060 buildCounterSourceInfo--; |
| 2059 return o; | 2061 return o; |
| 2060 } | 2062 } |
| 2061 | 2063 |
| 2062 checkSourceInfo(api.SourceInfo o) { | 2064 checkSourceInfo(api.SourceInfo o) { |
| 2063 buildCounterSourceInfo++; | 2065 buildCounterSourceInfo++; |
| 2064 if (buildCounterSourceInfo < 3) { | 2066 if (buildCounterSourceInfo < 3) { |
| 2065 checkUnnamed1678(o.sourceFiles); | 2067 checkUnnamed1688(o.sourceFiles); |
| 2066 } | 2068 } |
| 2067 buildCounterSourceInfo--; | 2069 buildCounterSourceInfo--; |
| 2068 } | 2070 } |
| 2069 | 2071 |
| 2070 buildUnnamed1679() { | 2072 buildUnnamed1689() { |
| 2071 var o = new core.Map<core.String, core.Object>(); | 2073 var o = new core.Map<core.String, core.Object>(); |
| 2072 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2074 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2073 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2075 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2074 return o; | 2076 return o; |
| 2075 } | 2077 } |
| 2076 | 2078 |
| 2077 checkUnnamed1679(core.Map<core.String, core.Object> o) { | 2079 checkUnnamed1689(core.Map<core.String, core.Object> o) { |
| 2078 unittest.expect(o, unittest.hasLength(2)); | 2080 unittest.expect(o, unittest.hasLength(2)); |
| 2079 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')); | 2081 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')); |
| 2080 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')); | 2082 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')); |
| 2081 } | 2083 } |
| 2082 | 2084 |
| 2083 buildUnnamed1680() { | 2085 buildUnnamed1690() { |
| 2084 var o = new core.List<core.Map<core.String, core.Object>>(); | 2086 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2085 o.add(buildUnnamed1679()); | 2087 o.add(buildUnnamed1689()); |
| 2086 o.add(buildUnnamed1679()); | 2088 o.add(buildUnnamed1689()); |
| 2087 return o; | 2089 return o; |
| 2088 } | 2090 } |
| 2089 | 2091 |
| 2090 checkUnnamed1680(core.List<core.Map<core.String, core.Object>> o) { | 2092 checkUnnamed1690(core.List<core.Map<core.String, core.Object>> o) { |
| 2091 unittest.expect(o, unittest.hasLength(2)); | 2093 unittest.expect(o, unittest.hasLength(2)); |
| 2092 checkUnnamed1679(o[0]); | 2094 checkUnnamed1689(o[0]); |
| 2093 checkUnnamed1679(o[1]); | 2095 checkUnnamed1689(o[1]); |
| 2094 } | 2096 } |
| 2095 | 2097 |
| 2096 core.int buildCounterStatus = 0; | 2098 core.int buildCounterStatus = 0; |
| 2097 buildStatus() { | 2099 buildStatus() { |
| 2098 var o = new api.Status(); | 2100 var o = new api.Status(); |
| 2099 buildCounterStatus++; | 2101 buildCounterStatus++; |
| 2100 if (buildCounterStatus < 3) { | 2102 if (buildCounterStatus < 3) { |
| 2101 o.code = 42; | 2103 o.code = 42; |
| 2102 o.details = buildUnnamed1680(); | 2104 o.details = buildUnnamed1690(); |
| 2103 o.message = "foo"; | 2105 o.message = "foo"; |
| 2104 } | 2106 } |
| 2105 buildCounterStatus--; | 2107 buildCounterStatus--; |
| 2106 return o; | 2108 return o; |
| 2107 } | 2109 } |
| 2108 | 2110 |
| 2109 checkStatus(api.Status o) { | 2111 checkStatus(api.Status o) { |
| 2110 buildCounterStatus++; | 2112 buildCounterStatus++; |
| 2111 if (buildCounterStatus < 3) { | 2113 if (buildCounterStatus < 3) { |
| 2112 unittest.expect(o.code, unittest.equals(42)); | 2114 unittest.expect(o.code, unittest.equals(42)); |
| 2113 checkUnnamed1680(o.details); | 2115 checkUnnamed1690(o.details); |
| 2114 unittest.expect(o.message, unittest.equals('foo')); | 2116 unittest.expect(o.message, unittest.equals('foo')); |
| 2115 } | 2117 } |
| 2116 buildCounterStatus--; | 2118 buildCounterStatus--; |
| 2117 } | 2119 } |
| 2118 | 2120 |
| 2119 core.int buildCounterStep = 0; | 2121 core.int buildCounterStep = 0; |
| 2120 buildStep() { | 2122 buildStep() { |
| 2121 var o = new api.Step(); | 2123 var o = new api.Step(); |
| 2122 buildCounterStep++; | 2124 buildCounterStep++; |
| 2123 if (buildCounterStep < 3) { | 2125 if (buildCounterStep < 3) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 2153 checkSystemParameter(api.SystemParameter o) { | 2155 checkSystemParameter(api.SystemParameter o) { |
| 2154 buildCounterSystemParameter++; | 2156 buildCounterSystemParameter++; |
| 2155 if (buildCounterSystemParameter < 3) { | 2157 if (buildCounterSystemParameter < 3) { |
| 2156 unittest.expect(o.httpHeader, unittest.equals('foo')); | 2158 unittest.expect(o.httpHeader, unittest.equals('foo')); |
| 2157 unittest.expect(o.name, unittest.equals('foo')); | 2159 unittest.expect(o.name, unittest.equals('foo')); |
| 2158 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); | 2160 unittest.expect(o.urlQueryParameter, unittest.equals('foo')); |
| 2159 } | 2161 } |
| 2160 buildCounterSystemParameter--; | 2162 buildCounterSystemParameter--; |
| 2161 } | 2163 } |
| 2162 | 2164 |
| 2163 buildUnnamed1681() { | 2165 buildUnnamed1691() { |
| 2164 var o = new core.List<api.SystemParameter>(); | 2166 var o = new core.List<api.SystemParameter>(); |
| 2165 o.add(buildSystemParameter()); | 2167 o.add(buildSystemParameter()); |
| 2166 o.add(buildSystemParameter()); | 2168 o.add(buildSystemParameter()); |
| 2167 return o; | 2169 return o; |
| 2168 } | 2170 } |
| 2169 | 2171 |
| 2170 checkUnnamed1681(core.List<api.SystemParameter> o) { | 2172 checkUnnamed1691(core.List<api.SystemParameter> o) { |
| 2171 unittest.expect(o, unittest.hasLength(2)); | 2173 unittest.expect(o, unittest.hasLength(2)); |
| 2172 checkSystemParameter(o[0]); | 2174 checkSystemParameter(o[0]); |
| 2173 checkSystemParameter(o[1]); | 2175 checkSystemParameter(o[1]); |
| 2174 } | 2176 } |
| 2175 | 2177 |
| 2176 core.int buildCounterSystemParameterRule = 0; | 2178 core.int buildCounterSystemParameterRule = 0; |
| 2177 buildSystemParameterRule() { | 2179 buildSystemParameterRule() { |
| 2178 var o = new api.SystemParameterRule(); | 2180 var o = new api.SystemParameterRule(); |
| 2179 buildCounterSystemParameterRule++; | 2181 buildCounterSystemParameterRule++; |
| 2180 if (buildCounterSystemParameterRule < 3) { | 2182 if (buildCounterSystemParameterRule < 3) { |
| 2181 o.parameters = buildUnnamed1681(); | 2183 o.parameters = buildUnnamed1691(); |
| 2182 o.selector = "foo"; | 2184 o.selector = "foo"; |
| 2183 } | 2185 } |
| 2184 buildCounterSystemParameterRule--; | 2186 buildCounterSystemParameterRule--; |
| 2185 return o; | 2187 return o; |
| 2186 } | 2188 } |
| 2187 | 2189 |
| 2188 checkSystemParameterRule(api.SystemParameterRule o) { | 2190 checkSystemParameterRule(api.SystemParameterRule o) { |
| 2189 buildCounterSystemParameterRule++; | 2191 buildCounterSystemParameterRule++; |
| 2190 if (buildCounterSystemParameterRule < 3) { | 2192 if (buildCounterSystemParameterRule < 3) { |
| 2191 checkUnnamed1681(o.parameters); | 2193 checkUnnamed1691(o.parameters); |
| 2192 unittest.expect(o.selector, unittest.equals('foo')); | 2194 unittest.expect(o.selector, unittest.equals('foo')); |
| 2193 } | 2195 } |
| 2194 buildCounterSystemParameterRule--; | 2196 buildCounterSystemParameterRule--; |
| 2195 } | 2197 } |
| 2196 | 2198 |
| 2197 buildUnnamed1682() { | 2199 buildUnnamed1692() { |
| 2198 var o = new core.List<api.SystemParameterRule>(); | 2200 var o = new core.List<api.SystemParameterRule>(); |
| 2199 o.add(buildSystemParameterRule()); | 2201 o.add(buildSystemParameterRule()); |
| 2200 o.add(buildSystemParameterRule()); | 2202 o.add(buildSystemParameterRule()); |
| 2201 return o; | 2203 return o; |
| 2202 } | 2204 } |
| 2203 | 2205 |
| 2204 checkUnnamed1682(core.List<api.SystemParameterRule> o) { | 2206 checkUnnamed1692(core.List<api.SystemParameterRule> o) { |
| 2205 unittest.expect(o, unittest.hasLength(2)); | 2207 unittest.expect(o, unittest.hasLength(2)); |
| 2206 checkSystemParameterRule(o[0]); | 2208 checkSystemParameterRule(o[0]); |
| 2207 checkSystemParameterRule(o[1]); | 2209 checkSystemParameterRule(o[1]); |
| 2208 } | 2210 } |
| 2209 | 2211 |
| 2210 core.int buildCounterSystemParameters = 0; | 2212 core.int buildCounterSystemParameters = 0; |
| 2211 buildSystemParameters() { | 2213 buildSystemParameters() { |
| 2212 var o = new api.SystemParameters(); | 2214 var o = new api.SystemParameters(); |
| 2213 buildCounterSystemParameters++; | 2215 buildCounterSystemParameters++; |
| 2214 if (buildCounterSystemParameters < 3) { | 2216 if (buildCounterSystemParameters < 3) { |
| 2215 o.rules = buildUnnamed1682(); | 2217 o.rules = buildUnnamed1692(); |
| 2216 } | 2218 } |
| 2217 buildCounterSystemParameters--; | 2219 buildCounterSystemParameters--; |
| 2218 return o; | 2220 return o; |
| 2219 } | 2221 } |
| 2220 | 2222 |
| 2221 checkSystemParameters(api.SystemParameters o) { | 2223 checkSystemParameters(api.SystemParameters o) { |
| 2222 buildCounterSystemParameters++; | 2224 buildCounterSystemParameters++; |
| 2223 if (buildCounterSystemParameters < 3) { | 2225 if (buildCounterSystemParameters < 3) { |
| 2224 checkUnnamed1682(o.rules); | 2226 checkUnnamed1692(o.rules); |
| 2225 } | 2227 } |
| 2226 buildCounterSystemParameters--; | 2228 buildCounterSystemParameters--; |
| 2227 } | 2229 } |
| 2228 | 2230 |
| 2229 buildUnnamed1683() { | 2231 buildUnnamed1693() { |
| 2230 var o = new core.List<api.Field>(); | 2232 var o = new core.List<api.Field>(); |
| 2231 o.add(buildField()); | 2233 o.add(buildField()); |
| 2232 o.add(buildField()); | 2234 o.add(buildField()); |
| 2233 return o; | 2235 return o; |
| 2234 } | 2236 } |
| 2235 | 2237 |
| 2236 checkUnnamed1683(core.List<api.Field> o) { | 2238 checkUnnamed1693(core.List<api.Field> o) { |
| 2237 unittest.expect(o, unittest.hasLength(2)); | 2239 unittest.expect(o, unittest.hasLength(2)); |
| 2238 checkField(o[0]); | 2240 checkField(o[0]); |
| 2239 checkField(o[1]); | 2241 checkField(o[1]); |
| 2240 } | 2242 } |
| 2241 | 2243 |
| 2242 buildUnnamed1684() { | 2244 buildUnnamed1694() { |
| 2243 var o = new core.List<core.String>(); | 2245 var o = new core.List<core.String>(); |
| 2244 o.add("foo"); | 2246 o.add("foo"); |
| 2245 o.add("foo"); | 2247 o.add("foo"); |
| 2246 return o; | 2248 return o; |
| 2247 } | 2249 } |
| 2248 | 2250 |
| 2249 checkUnnamed1684(core.List<core.String> o) { | 2251 checkUnnamed1694(core.List<core.String> o) { |
| 2250 unittest.expect(o, unittest.hasLength(2)); | 2252 unittest.expect(o, unittest.hasLength(2)); |
| 2251 unittest.expect(o[0], unittest.equals('foo')); | 2253 unittest.expect(o[0], unittest.equals('foo')); |
| 2252 unittest.expect(o[1], unittest.equals('foo')); | 2254 unittest.expect(o[1], unittest.equals('foo')); |
| 2253 } | 2255 } |
| 2254 | 2256 |
| 2255 buildUnnamed1685() { | 2257 buildUnnamed1695() { |
| 2256 var o = new core.List<api.Option>(); | 2258 var o = new core.List<api.Option>(); |
| 2257 o.add(buildOption()); | 2259 o.add(buildOption()); |
| 2258 o.add(buildOption()); | 2260 o.add(buildOption()); |
| 2259 return o; | 2261 return o; |
| 2260 } | 2262 } |
| 2261 | 2263 |
| 2262 checkUnnamed1685(core.List<api.Option> o) { | 2264 checkUnnamed1695(core.List<api.Option> o) { |
| 2263 unittest.expect(o, unittest.hasLength(2)); | 2265 unittest.expect(o, unittest.hasLength(2)); |
| 2264 checkOption(o[0]); | 2266 checkOption(o[0]); |
| 2265 checkOption(o[1]); | 2267 checkOption(o[1]); |
| 2266 } | 2268 } |
| 2267 | 2269 |
| 2268 core.int buildCounterType = 0; | 2270 core.int buildCounterType = 0; |
| 2269 buildType() { | 2271 buildType() { |
| 2270 var o = new api.Type(); | 2272 var o = new api.Type(); |
| 2271 buildCounterType++; | 2273 buildCounterType++; |
| 2272 if (buildCounterType < 3) { | 2274 if (buildCounterType < 3) { |
| 2273 o.fields = buildUnnamed1683(); | 2275 o.fields = buildUnnamed1693(); |
| 2274 o.name = "foo"; | 2276 o.name = "foo"; |
| 2275 o.oneofs = buildUnnamed1684(); | 2277 o.oneofs = buildUnnamed1694(); |
| 2276 o.options = buildUnnamed1685(); | 2278 o.options = buildUnnamed1695(); |
| 2277 o.sourceContext = buildSourceContext(); | 2279 o.sourceContext = buildSourceContext(); |
| 2278 o.syntax = "foo"; | 2280 o.syntax = "foo"; |
| 2279 } | 2281 } |
| 2280 buildCounterType--; | 2282 buildCounterType--; |
| 2281 return o; | 2283 return o; |
| 2282 } | 2284 } |
| 2283 | 2285 |
| 2284 checkType(api.Type o) { | 2286 checkType(api.Type o) { |
| 2285 buildCounterType++; | 2287 buildCounterType++; |
| 2286 if (buildCounterType < 3) { | 2288 if (buildCounterType < 3) { |
| 2287 checkUnnamed1683(o.fields); | 2289 checkUnnamed1693(o.fields); |
| 2288 unittest.expect(o.name, unittest.equals('foo')); | 2290 unittest.expect(o.name, unittest.equals('foo')); |
| 2289 checkUnnamed1684(o.oneofs); | 2291 checkUnnamed1694(o.oneofs); |
| 2290 checkUnnamed1685(o.options); | 2292 checkUnnamed1695(o.options); |
| 2291 checkSourceContext(o.sourceContext); | 2293 checkSourceContext(o.sourceContext); |
| 2292 unittest.expect(o.syntax, unittest.equals('foo')); | 2294 unittest.expect(o.syntax, unittest.equals('foo')); |
| 2293 } | 2295 } |
| 2294 buildCounterType--; | 2296 buildCounterType--; |
| 2295 } | 2297 } |
| 2296 | 2298 |
| 2297 buildUnnamed1686() { | 2299 buildUnnamed1696() { |
| 2298 var o = new core.List<core.String>(); | 2300 var o = new core.List<core.String>(); |
| 2299 o.add("foo"); | 2301 o.add("foo"); |
| 2300 o.add("foo"); | 2302 o.add("foo"); |
| 2301 return o; | 2303 return o; |
| 2302 } | 2304 } |
| 2303 | 2305 |
| 2304 checkUnnamed1686(core.List<core.String> o) { | 2306 checkUnnamed1696(core.List<core.String> o) { |
| 2305 unittest.expect(o, unittest.hasLength(2)); | 2307 unittest.expect(o, unittest.hasLength(2)); |
| 2306 unittest.expect(o[0], unittest.equals('foo')); | 2308 unittest.expect(o[0], unittest.equals('foo')); |
| 2307 unittest.expect(o[1], unittest.equals('foo')); | 2309 unittest.expect(o[1], unittest.equals('foo')); |
| 2308 } | 2310 } |
| 2309 | 2311 |
| 2310 buildUnnamed1687() { | 2312 buildUnnamed1697() { |
| 2311 var o = new core.List<api.UsageRule>(); | 2313 var o = new core.List<api.UsageRule>(); |
| 2312 o.add(buildUsageRule()); | 2314 o.add(buildUsageRule()); |
| 2313 o.add(buildUsageRule()); | 2315 o.add(buildUsageRule()); |
| 2314 return o; | 2316 return o; |
| 2315 } | 2317 } |
| 2316 | 2318 |
| 2317 checkUnnamed1687(core.List<api.UsageRule> o) { | 2319 checkUnnamed1697(core.List<api.UsageRule> o) { |
| 2318 unittest.expect(o, unittest.hasLength(2)); | 2320 unittest.expect(o, unittest.hasLength(2)); |
| 2319 checkUsageRule(o[0]); | 2321 checkUsageRule(o[0]); |
| 2320 checkUsageRule(o[1]); | 2322 checkUsageRule(o[1]); |
| 2321 } | 2323 } |
| 2322 | 2324 |
| 2323 core.int buildCounterUsage = 0; | 2325 core.int buildCounterUsage = 0; |
| 2324 buildUsage() { | 2326 buildUsage() { |
| 2325 var o = new api.Usage(); | 2327 var o = new api.Usage(); |
| 2326 buildCounterUsage++; | 2328 buildCounterUsage++; |
| 2327 if (buildCounterUsage < 3) { | 2329 if (buildCounterUsage < 3) { |
| 2328 o.producerNotificationChannel = "foo"; | 2330 o.producerNotificationChannel = "foo"; |
| 2329 o.requirements = buildUnnamed1686(); | 2331 o.requirements = buildUnnamed1696(); |
| 2330 o.rules = buildUnnamed1687(); | 2332 o.rules = buildUnnamed1697(); |
| 2331 } | 2333 } |
| 2332 buildCounterUsage--; | 2334 buildCounterUsage--; |
| 2333 return o; | 2335 return o; |
| 2334 } | 2336 } |
| 2335 | 2337 |
| 2336 checkUsage(api.Usage o) { | 2338 checkUsage(api.Usage o) { |
| 2337 buildCounterUsage++; | 2339 buildCounterUsage++; |
| 2338 if (buildCounterUsage < 3) { | 2340 if (buildCounterUsage < 3) { |
| 2339 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); | 2341 unittest.expect(o.producerNotificationChannel, unittest.equals('foo')); |
| 2340 checkUnnamed1686(o.requirements); | 2342 checkUnnamed1696(o.requirements); |
| 2341 checkUnnamed1687(o.rules); | 2343 checkUnnamed1697(o.rules); |
| 2342 } | 2344 } |
| 2343 buildCounterUsage--; | 2345 buildCounterUsage--; |
| 2344 } | 2346 } |
| 2345 | 2347 |
| 2346 core.int buildCounterUsageRule = 0; | 2348 core.int buildCounterUsageRule = 0; |
| 2347 buildUsageRule() { | 2349 buildUsageRule() { |
| 2348 var o = new api.UsageRule(); | 2350 var o = new api.UsageRule(); |
| 2349 buildCounterUsageRule++; | 2351 buildCounterUsageRule++; |
| 2350 if (buildCounterUsageRule < 3) { | 2352 if (buildCounterUsageRule < 3) { |
| 2351 o.allowUnregisteredCalls = true; | 2353 o.allowUnregisteredCalls = true; |
| 2352 o.selector = "foo"; | 2354 o.selector = "foo"; |
| 2353 } | 2355 } |
| 2354 buildCounterUsageRule--; | 2356 buildCounterUsageRule--; |
| 2355 return o; | 2357 return o; |
| 2356 } | 2358 } |
| 2357 | 2359 |
| 2358 checkUsageRule(api.UsageRule o) { | 2360 checkUsageRule(api.UsageRule o) { |
| 2359 buildCounterUsageRule++; | 2361 buildCounterUsageRule++; |
| 2360 if (buildCounterUsageRule < 3) { | 2362 if (buildCounterUsageRule < 3) { |
| 2361 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); | 2363 unittest.expect(o.allowUnregisteredCalls, unittest.isTrue); |
| 2362 unittest.expect(o.selector, unittest.equals('foo')); | 2364 unittest.expect(o.selector, unittest.equals('foo')); |
| 2363 } | 2365 } |
| 2364 buildCounterUsageRule--; | 2366 buildCounterUsageRule--; |
| 2365 } | 2367 } |
| 2366 | 2368 |
| 2367 buildUnnamed1688() { | 2369 buildUnnamed1698() { |
| 2368 var o = new core.List<api.VisibilityRule>(); | 2370 var o = new core.List<api.VisibilityRule>(); |
| 2369 o.add(buildVisibilityRule()); | 2371 o.add(buildVisibilityRule()); |
| 2370 o.add(buildVisibilityRule()); | 2372 o.add(buildVisibilityRule()); |
| 2371 return o; | 2373 return o; |
| 2372 } | 2374 } |
| 2373 | 2375 |
| 2374 checkUnnamed1688(core.List<api.VisibilityRule> o) { | 2376 checkUnnamed1698(core.List<api.VisibilityRule> o) { |
| 2375 unittest.expect(o, unittest.hasLength(2)); | 2377 unittest.expect(o, unittest.hasLength(2)); |
| 2376 checkVisibilityRule(o[0]); | 2378 checkVisibilityRule(o[0]); |
| 2377 checkVisibilityRule(o[1]); | 2379 checkVisibilityRule(o[1]); |
| 2378 } | 2380 } |
| 2379 | 2381 |
| 2380 core.int buildCounterVisibility = 0; | 2382 core.int buildCounterVisibility = 0; |
| 2381 buildVisibility() { | 2383 buildVisibility() { |
| 2382 var o = new api.Visibility(); | 2384 var o = new api.Visibility(); |
| 2383 buildCounterVisibility++; | 2385 buildCounterVisibility++; |
| 2384 if (buildCounterVisibility < 3) { | 2386 if (buildCounterVisibility < 3) { |
| 2385 o.rules = buildUnnamed1688(); | 2387 o.rules = buildUnnamed1698(); |
| 2386 } | 2388 } |
| 2387 buildCounterVisibility--; | 2389 buildCounterVisibility--; |
| 2388 return o; | 2390 return o; |
| 2389 } | 2391 } |
| 2390 | 2392 |
| 2391 checkVisibility(api.Visibility o) { | 2393 checkVisibility(api.Visibility o) { |
| 2392 buildCounterVisibility++; | 2394 buildCounterVisibility++; |
| 2393 if (buildCounterVisibility < 3) { | 2395 if (buildCounterVisibility < 3) { |
| 2394 checkUnnamed1688(o.rules); | 2396 checkUnnamed1698(o.rules); |
| 2395 } | 2397 } |
| 2396 buildCounterVisibility--; | 2398 buildCounterVisibility--; |
| 2397 } | 2399 } |
| 2398 | 2400 |
| 2399 core.int buildCounterVisibilityRule = 0; | 2401 core.int buildCounterVisibilityRule = 0; |
| 2400 buildVisibilityRule() { | 2402 buildVisibilityRule() { |
| 2401 var o = new api.VisibilityRule(); | 2403 var o = new api.VisibilityRule(); |
| 2402 buildCounterVisibilityRule++; | 2404 buildCounterVisibilityRule++; |
| 2403 if (buildCounterVisibilityRule < 3) { | 2405 if (buildCounterVisibilityRule < 3) { |
| 2404 o.restriction = "foo"; | 2406 o.restriction = "foo"; |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2977 }); | 2979 }); |
| 2978 | 2980 |
| 2979 | 2981 |
| 2980 unittest.group("resource-ProjectsServicesResourceApi", () { | 2982 unittest.group("resource-ProjectsServicesResourceApi", () { |
| 2981 unittest.test("method--disable", () { | 2983 unittest.test("method--disable", () { |
| 2982 | 2984 |
| 2983 var mock = new HttpServerMock(); | 2985 var mock = new HttpServerMock(); |
| 2984 api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).project
s.services; | 2986 api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).project
s.services; |
| 2985 var arg_request = buildDisableServiceRequest(); | 2987 var arg_request = buildDisableServiceRequest(); |
| 2986 var arg_name = "foo"; | 2988 var arg_name = "foo"; |
| 2987 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2989 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 2988 var obj = new api.DisableServiceRequest.fromJson(json); | 2990 var obj = new api.DisableServiceRequest.fromJson(json); |
| 2989 checkDisableServiceRequest(obj); | 2991 checkDisableServiceRequest(obj); |
| 2990 | 2992 |
| 2991 var path = (req.url).path; | 2993 var path = (req.url).path; |
| 2992 var pathOffset = 0; | 2994 var pathOffset = 0; |
| 2993 var index; | 2995 var index; |
| 2994 var subPart; | 2996 var subPart; |
| 2995 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2997 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 2996 pathOffset += 1; | 2998 pathOffset += 1; |
| 2997 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); | 2999 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3015 } | 3017 } |
| 3016 } | 3018 } |
| 3017 | 3019 |
| 3018 | 3020 |
| 3019 var h = { | 3021 var h = { |
| 3020 "content-type" : "application/json; charset=utf-8", | 3022 "content-type" : "application/json; charset=utf-8", |
| 3021 }; | 3023 }; |
| 3022 var resp = convert.JSON.encode(buildOperation()); | 3024 var resp = convert.JSON.encode(buildOperation()); |
| 3023 return new async.Future.value(stringResponse(200, h, resp)); | 3025 return new async.Future.value(stringResponse(200, h, resp)); |
| 3024 }), true); | 3026 }), true); |
| 3025 res.disable(arg_request, arg_name).then(unittest.expectAsync(((api.Operati
on response) { | 3027 res.disable(arg_request, arg_name).then(unittest.expectAsync1(((api.Operat
ion response) { |
| 3026 checkOperation(response); | 3028 checkOperation(response); |
| 3027 }))); | 3029 }))); |
| 3028 }); | 3030 }); |
| 3029 | 3031 |
| 3030 unittest.test("method--enable", () { | 3032 unittest.test("method--enable", () { |
| 3031 | 3033 |
| 3032 var mock = new HttpServerMock(); | 3034 var mock = new HttpServerMock(); |
| 3033 api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).project
s.services; | 3035 api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).project
s.services; |
| 3034 var arg_request = buildEnableServiceRequest(); | 3036 var arg_request = buildEnableServiceRequest(); |
| 3035 var arg_name = "foo"; | 3037 var arg_name = "foo"; |
| 3036 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3038 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 3037 var obj = new api.EnableServiceRequest.fromJson(json); | 3039 var obj = new api.EnableServiceRequest.fromJson(json); |
| 3038 checkEnableServiceRequest(obj); | 3040 checkEnableServiceRequest(obj); |
| 3039 | 3041 |
| 3040 var path = (req.url).path; | 3042 var path = (req.url).path; |
| 3041 var pathOffset = 0; | 3043 var pathOffset = 0; |
| 3042 var index; | 3044 var index; |
| 3043 var subPart; | 3045 var subPart; |
| 3044 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3046 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 3045 pathOffset += 1; | 3047 pathOffset += 1; |
| 3046 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); | 3048 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3064 } | 3066 } |
| 3065 } | 3067 } |
| 3066 | 3068 |
| 3067 | 3069 |
| 3068 var h = { | 3070 var h = { |
| 3069 "content-type" : "application/json; charset=utf-8", | 3071 "content-type" : "application/json; charset=utf-8", |
| 3070 }; | 3072 }; |
| 3071 var resp = convert.JSON.encode(buildOperation()); | 3073 var resp = convert.JSON.encode(buildOperation()); |
| 3072 return new async.Future.value(stringResponse(200, h, resp)); | 3074 return new async.Future.value(stringResponse(200, h, resp)); |
| 3073 }), true); | 3075 }), true); |
| 3074 res.enable(arg_request, arg_name).then(unittest.expectAsync(((api.Operatio
n response) { | 3076 res.enable(arg_request, arg_name).then(unittest.expectAsync1(((api.Operati
on response) { |
| 3075 checkOperation(response); | 3077 checkOperation(response); |
| 3076 }))); | 3078 }))); |
| 3077 }); | 3079 }); |
| 3078 | 3080 |
| 3079 unittest.test("method--list", () { | 3081 unittest.test("method--list", () { |
| 3080 | 3082 |
| 3081 var mock = new HttpServerMock(); | 3083 var mock = new HttpServerMock(); |
| 3082 api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).project
s.services; | 3084 api.ProjectsServicesResourceApi res = new api.ServiceuserApi(mock).project
s.services; |
| 3083 var arg_parent = "foo"; | 3085 var arg_parent = "foo"; |
| 3084 var arg_pageToken = "foo"; | 3086 var arg_pageToken = "foo"; |
| 3085 var arg_pageSize = 42; | 3087 var arg_pageSize = 42; |
| 3086 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3088 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 3087 var path = (req.url).path; | 3089 var path = (req.url).path; |
| 3088 var pathOffset = 0; | 3090 var pathOffset = 0; |
| 3089 var index; | 3091 var index; |
| 3090 var subPart; | 3092 var subPart; |
| 3091 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3093 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 3092 pathOffset += 1; | 3094 pathOffset += 1; |
| 3093 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); | 3095 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); |
| 3094 pathOffset += 3; | 3096 pathOffset += 3; |
| 3095 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; | 3097 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; |
| 3096 | 3098 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 3113 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 3115 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 3114 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 3116 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 3115 | 3117 |
| 3116 | 3118 |
| 3117 var h = { | 3119 var h = { |
| 3118 "content-type" : "application/json; charset=utf-8", | 3120 "content-type" : "application/json; charset=utf-8", |
| 3119 }; | 3121 }; |
| 3120 var resp = convert.JSON.encode(buildListEnabledServicesResponse()); | 3122 var resp = convert.JSON.encode(buildListEnabledServicesResponse()); |
| 3121 return new async.Future.value(stringResponse(200, h, resp)); | 3123 return new async.Future.value(stringResponse(200, h, resp)); |
| 3122 }), true); | 3124 }), true); |
| 3123 res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).the
n(unittest.expectAsync(((api.ListEnabledServicesResponse response) { | 3125 res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize).the
n(unittest.expectAsync1(((api.ListEnabledServicesResponse response) { |
| 3124 checkListEnabledServicesResponse(response); | 3126 checkListEnabledServicesResponse(response); |
| 3125 }))); | 3127 }))); |
| 3126 }); | 3128 }); |
| 3127 | 3129 |
| 3128 }); | 3130 }); |
| 3129 | 3131 |
| 3130 | 3132 |
| 3131 unittest.group("resource-ServicesResourceApi", () { | 3133 unittest.group("resource-ServicesResourceApi", () { |
| 3132 unittest.test("method--search", () { | 3134 unittest.test("method--search", () { |
| 3133 | 3135 |
| 3134 var mock = new HttpServerMock(); | 3136 var mock = new HttpServerMock(); |
| 3135 api.ServicesResourceApi res = new api.ServiceuserApi(mock).services; | 3137 api.ServicesResourceApi res = new api.ServiceuserApi(mock).services; |
| 3136 var arg_pageToken = "foo"; | 3138 var arg_pageToken = "foo"; |
| 3137 var arg_pageSize = 42; | 3139 var arg_pageSize = 42; |
| 3138 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3140 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 3139 var path = (req.url).path; | 3141 var path = (req.url).path; |
| 3140 var pathOffset = 0; | 3142 var pathOffset = 0; |
| 3141 var index; | 3143 var index; |
| 3142 var subPart; | 3144 var subPart; |
| 3143 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 3145 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 3144 pathOffset += 1; | 3146 pathOffset += 1; |
| 3145 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("v1/services:search")); | 3147 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("v1/services:search")); |
| 3146 pathOffset += 18; | 3148 pathOffset += 18; |
| 3147 | 3149 |
| 3148 var query = (req.url).query; | 3150 var query = (req.url).query; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 3164 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 3166 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 3165 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 3167 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 3166 | 3168 |
| 3167 | 3169 |
| 3168 var h = { | 3170 var h = { |
| 3169 "content-type" : "application/json; charset=utf-8", | 3171 "content-type" : "application/json; charset=utf-8", |
| 3170 }; | 3172 }; |
| 3171 var resp = convert.JSON.encode(buildSearchServicesResponse()); | 3173 var resp = convert.JSON.encode(buildSearchServicesResponse()); |
| 3172 return new async.Future.value(stringResponse(200, h, resp)); | 3174 return new async.Future.value(stringResponse(200, h, resp)); |
| 3173 }), true); | 3175 }), true); |
| 3174 res.search(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest
.expectAsync(((api.SearchServicesResponse response) { | 3176 res.search(pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest
.expectAsync1(((api.SearchServicesResponse response) { |
| 3175 checkSearchServicesResponse(response); | 3177 checkSearchServicesResponse(response); |
| 3176 }))); | 3178 }))); |
| 3177 }); | 3179 }); |
| 3178 | 3180 |
| 3179 }); | 3181 }); |
| 3180 | 3182 |
| 3181 | 3183 |
| 3182 } | 3184 } |
| 3183 | 3185 |
| OLD | NEW |