OLD | NEW |
1 library googleapis_beta.sqladmin.v1beta4.test; | 1 library googleapis_beta.sqladmin.v1beta4.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 unittest.expect(o.kind, unittest.equals('foo')); | 135 unittest.expect(o.kind, unittest.equals('foo')); |
136 unittest.expect(o.selfLink, unittest.equals('foo')); | 136 unittest.expect(o.selfLink, unittest.equals('foo')); |
137 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 137 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
138 unittest.expect(o.status, unittest.equals('foo')); | 138 unittest.expect(o.status, unittest.equals('foo')); |
139 unittest.expect(o.type, unittest.equals('foo')); | 139 unittest.expect(o.type, unittest.equals('foo')); |
140 unittest.expect(o.windowStartTime, unittest.equals(core.DateTime.parse("2002
-02-27T14:01:02"))); | 140 unittest.expect(o.windowStartTime, unittest.equals(core.DateTime.parse("2002
-02-27T14:01:02"))); |
141 } | 141 } |
142 buildCounterBackupRun--; | 142 buildCounterBackupRun--; |
143 } | 143 } |
144 | 144 |
145 buildUnnamed3362() { | 145 buildUnnamed3394() { |
146 var o = new core.List<api.BackupRun>(); | 146 var o = new core.List<api.BackupRun>(); |
147 o.add(buildBackupRun()); | 147 o.add(buildBackupRun()); |
148 o.add(buildBackupRun()); | 148 o.add(buildBackupRun()); |
149 return o; | 149 return o; |
150 } | 150 } |
151 | 151 |
152 checkUnnamed3362(core.List<api.BackupRun> o) { | 152 checkUnnamed3394(core.List<api.BackupRun> o) { |
153 unittest.expect(o, unittest.hasLength(2)); | 153 unittest.expect(o, unittest.hasLength(2)); |
154 checkBackupRun(o[0]); | 154 checkBackupRun(o[0]); |
155 checkBackupRun(o[1]); | 155 checkBackupRun(o[1]); |
156 } | 156 } |
157 | 157 |
158 core.int buildCounterBackupRunsListResponse = 0; | 158 core.int buildCounterBackupRunsListResponse = 0; |
159 buildBackupRunsListResponse() { | 159 buildBackupRunsListResponse() { |
160 var o = new api.BackupRunsListResponse(); | 160 var o = new api.BackupRunsListResponse(); |
161 buildCounterBackupRunsListResponse++; | 161 buildCounterBackupRunsListResponse++; |
162 if (buildCounterBackupRunsListResponse < 3) { | 162 if (buildCounterBackupRunsListResponse < 3) { |
163 o.items = buildUnnamed3362(); | 163 o.items = buildUnnamed3394(); |
164 o.kind = "foo"; | 164 o.kind = "foo"; |
165 o.nextPageToken = "foo"; | 165 o.nextPageToken = "foo"; |
166 } | 166 } |
167 buildCounterBackupRunsListResponse--; | 167 buildCounterBackupRunsListResponse--; |
168 return o; | 168 return o; |
169 } | 169 } |
170 | 170 |
171 checkBackupRunsListResponse(api.BackupRunsListResponse o) { | 171 checkBackupRunsListResponse(api.BackupRunsListResponse o) { |
172 buildCounterBackupRunsListResponse++; | 172 buildCounterBackupRunsListResponse++; |
173 if (buildCounterBackupRunsListResponse < 3) { | 173 if (buildCounterBackupRunsListResponse < 3) { |
174 checkUnnamed3362(o.items); | 174 checkUnnamed3394(o.items); |
175 unittest.expect(o.kind, unittest.equals('foo')); | 175 unittest.expect(o.kind, unittest.equals('foo')); |
176 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 176 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
177 } | 177 } |
178 buildCounterBackupRunsListResponse--; | 178 buildCounterBackupRunsListResponse--; |
179 } | 179 } |
180 | 180 |
181 core.int buildCounterBinLogCoordinates = 0; | 181 core.int buildCounterBinLogCoordinates = 0; |
182 buildBinLogCoordinates() { | 182 buildBinLogCoordinates() { |
183 var o = new api.BinLogCoordinates(); | 183 var o = new api.BinLogCoordinates(); |
184 buildCounterBinLogCoordinates++; | 184 buildCounterBinLogCoordinates++; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 292 |
293 checkDatabaseInstanceFailoverReplica(api.DatabaseInstanceFailoverReplica o) { | 293 checkDatabaseInstanceFailoverReplica(api.DatabaseInstanceFailoverReplica o) { |
294 buildCounterDatabaseInstanceFailoverReplica++; | 294 buildCounterDatabaseInstanceFailoverReplica++; |
295 if (buildCounterDatabaseInstanceFailoverReplica < 3) { | 295 if (buildCounterDatabaseInstanceFailoverReplica < 3) { |
296 unittest.expect(o.available, unittest.isTrue); | 296 unittest.expect(o.available, unittest.isTrue); |
297 unittest.expect(o.name, unittest.equals('foo')); | 297 unittest.expect(o.name, unittest.equals('foo')); |
298 } | 298 } |
299 buildCounterDatabaseInstanceFailoverReplica--; | 299 buildCounterDatabaseInstanceFailoverReplica--; |
300 } | 300 } |
301 | 301 |
302 buildUnnamed3363() { | 302 buildUnnamed3395() { |
303 var o = new core.List<api.IpMapping>(); | 303 var o = new core.List<api.IpMapping>(); |
304 o.add(buildIpMapping()); | 304 o.add(buildIpMapping()); |
305 o.add(buildIpMapping()); | 305 o.add(buildIpMapping()); |
306 return o; | 306 return o; |
307 } | 307 } |
308 | 308 |
309 checkUnnamed3363(core.List<api.IpMapping> o) { | 309 checkUnnamed3395(core.List<api.IpMapping> o) { |
310 unittest.expect(o, unittest.hasLength(2)); | 310 unittest.expect(o, unittest.hasLength(2)); |
311 checkIpMapping(o[0]); | 311 checkIpMapping(o[0]); |
312 checkIpMapping(o[1]); | 312 checkIpMapping(o[1]); |
313 } | 313 } |
314 | 314 |
315 buildUnnamed3364() { | 315 buildUnnamed3396() { |
316 var o = new core.List<core.String>(); | 316 var o = new core.List<core.String>(); |
317 o.add("foo"); | 317 o.add("foo"); |
318 o.add("foo"); | 318 o.add("foo"); |
319 return o; | 319 return o; |
320 } | 320 } |
321 | 321 |
322 checkUnnamed3364(core.List<core.String> o) { | 322 checkUnnamed3396(core.List<core.String> o) { |
323 unittest.expect(o, unittest.hasLength(2)); | 323 unittest.expect(o, unittest.hasLength(2)); |
324 unittest.expect(o[0], unittest.equals('foo')); | 324 unittest.expect(o[0], unittest.equals('foo')); |
325 unittest.expect(o[1], unittest.equals('foo')); | 325 unittest.expect(o[1], unittest.equals('foo')); |
326 } | 326 } |
327 | 327 |
328 buildUnnamed3365() { | 328 buildUnnamed3397() { |
329 var o = new core.List<core.String>(); | 329 var o = new core.List<core.String>(); |
330 o.add("foo"); | 330 o.add("foo"); |
331 o.add("foo"); | 331 o.add("foo"); |
332 return o; | 332 return o; |
333 } | 333 } |
334 | 334 |
335 checkUnnamed3365(core.List<core.String> o) { | 335 checkUnnamed3397(core.List<core.String> o) { |
336 unittest.expect(o, unittest.hasLength(2)); | 336 unittest.expect(o, unittest.hasLength(2)); |
337 unittest.expect(o[0], unittest.equals('foo')); | 337 unittest.expect(o[0], unittest.equals('foo')); |
338 unittest.expect(o[1], unittest.equals('foo')); | 338 unittest.expect(o[1], unittest.equals('foo')); |
339 } | 339 } |
340 | 340 |
341 core.int buildCounterDatabaseInstance = 0; | 341 core.int buildCounterDatabaseInstance = 0; |
342 buildDatabaseInstance() { | 342 buildDatabaseInstance() { |
343 var o = new api.DatabaseInstance(); | 343 var o = new api.DatabaseInstance(); |
344 buildCounterDatabaseInstance++; | 344 buildCounterDatabaseInstance++; |
345 if (buildCounterDatabaseInstance < 3) { | 345 if (buildCounterDatabaseInstance < 3) { |
346 o.backendType = "foo"; | 346 o.backendType = "foo"; |
347 o.connectionName = "foo"; | 347 o.connectionName = "foo"; |
348 o.currentDiskSize = "foo"; | 348 o.currentDiskSize = "foo"; |
349 o.databaseVersion = "foo"; | 349 o.databaseVersion = "foo"; |
350 o.etag = "foo"; | 350 o.etag = "foo"; |
351 o.failoverReplica = buildDatabaseInstanceFailoverReplica(); | 351 o.failoverReplica = buildDatabaseInstanceFailoverReplica(); |
| 352 o.gceZone = "foo"; |
352 o.instanceType = "foo"; | 353 o.instanceType = "foo"; |
353 o.ipAddresses = buildUnnamed3363(); | 354 o.ipAddresses = buildUnnamed3395(); |
354 o.ipv6Address = "foo"; | 355 o.ipv6Address = "foo"; |
355 o.kind = "foo"; | 356 o.kind = "foo"; |
356 o.masterInstanceName = "foo"; | 357 o.masterInstanceName = "foo"; |
357 o.maxDiskSize = "foo"; | 358 o.maxDiskSize = "foo"; |
358 o.name = "foo"; | 359 o.name = "foo"; |
359 o.onPremisesConfiguration = buildOnPremisesConfiguration(); | 360 o.onPremisesConfiguration = buildOnPremisesConfiguration(); |
360 o.project = "foo"; | 361 o.project = "foo"; |
361 o.region = "foo"; | 362 o.region = "foo"; |
362 o.replicaConfiguration = buildReplicaConfiguration(); | 363 o.replicaConfiguration = buildReplicaConfiguration(); |
363 o.replicaNames = buildUnnamed3364(); | 364 o.replicaNames = buildUnnamed3396(); |
364 o.selfLink = "foo"; | 365 o.selfLink = "foo"; |
365 o.serverCaCert = buildSslCert(); | 366 o.serverCaCert = buildSslCert(); |
366 o.serviceAccountEmailAddress = "foo"; | 367 o.serviceAccountEmailAddress = "foo"; |
367 o.settings = buildSettings(); | 368 o.settings = buildSettings(); |
368 o.state = "foo"; | 369 o.state = "foo"; |
369 o.suspensionReason = buildUnnamed3365(); | 370 o.suspensionReason = buildUnnamed3397(); |
370 } | 371 } |
371 buildCounterDatabaseInstance--; | 372 buildCounterDatabaseInstance--; |
372 return o; | 373 return o; |
373 } | 374 } |
374 | 375 |
375 checkDatabaseInstance(api.DatabaseInstance o) { | 376 checkDatabaseInstance(api.DatabaseInstance o) { |
376 buildCounterDatabaseInstance++; | 377 buildCounterDatabaseInstance++; |
377 if (buildCounterDatabaseInstance < 3) { | 378 if (buildCounterDatabaseInstance < 3) { |
378 unittest.expect(o.backendType, unittest.equals('foo')); | 379 unittest.expect(o.backendType, unittest.equals('foo')); |
379 unittest.expect(o.connectionName, unittest.equals('foo')); | 380 unittest.expect(o.connectionName, unittest.equals('foo')); |
380 unittest.expect(o.currentDiskSize, unittest.equals('foo')); | 381 unittest.expect(o.currentDiskSize, unittest.equals('foo')); |
381 unittest.expect(o.databaseVersion, unittest.equals('foo')); | 382 unittest.expect(o.databaseVersion, unittest.equals('foo')); |
382 unittest.expect(o.etag, unittest.equals('foo')); | 383 unittest.expect(o.etag, unittest.equals('foo')); |
383 checkDatabaseInstanceFailoverReplica(o.failoverReplica); | 384 checkDatabaseInstanceFailoverReplica(o.failoverReplica); |
| 385 unittest.expect(o.gceZone, unittest.equals('foo')); |
384 unittest.expect(o.instanceType, unittest.equals('foo')); | 386 unittest.expect(o.instanceType, unittest.equals('foo')); |
385 checkUnnamed3363(o.ipAddresses); | 387 checkUnnamed3395(o.ipAddresses); |
386 unittest.expect(o.ipv6Address, unittest.equals('foo')); | 388 unittest.expect(o.ipv6Address, unittest.equals('foo')); |
387 unittest.expect(o.kind, unittest.equals('foo')); | 389 unittest.expect(o.kind, unittest.equals('foo')); |
388 unittest.expect(o.masterInstanceName, unittest.equals('foo')); | 390 unittest.expect(o.masterInstanceName, unittest.equals('foo')); |
389 unittest.expect(o.maxDiskSize, unittest.equals('foo')); | 391 unittest.expect(o.maxDiskSize, unittest.equals('foo')); |
390 unittest.expect(o.name, unittest.equals('foo')); | 392 unittest.expect(o.name, unittest.equals('foo')); |
391 checkOnPremisesConfiguration(o.onPremisesConfiguration); | 393 checkOnPremisesConfiguration(o.onPremisesConfiguration); |
392 unittest.expect(o.project, unittest.equals('foo')); | 394 unittest.expect(o.project, unittest.equals('foo')); |
393 unittest.expect(o.region, unittest.equals('foo')); | 395 unittest.expect(o.region, unittest.equals('foo')); |
394 checkReplicaConfiguration(o.replicaConfiguration); | 396 checkReplicaConfiguration(o.replicaConfiguration); |
395 checkUnnamed3364(o.replicaNames); | 397 checkUnnamed3396(o.replicaNames); |
396 unittest.expect(o.selfLink, unittest.equals('foo')); | 398 unittest.expect(o.selfLink, unittest.equals('foo')); |
397 checkSslCert(o.serverCaCert); | 399 checkSslCert(o.serverCaCert); |
398 unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo')); | 400 unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo')); |
399 checkSettings(o.settings); | 401 checkSettings(o.settings); |
400 unittest.expect(o.state, unittest.equals('foo')); | 402 unittest.expect(o.state, unittest.equals('foo')); |
401 checkUnnamed3365(o.suspensionReason); | 403 checkUnnamed3397(o.suspensionReason); |
402 } | 404 } |
403 buildCounterDatabaseInstance--; | 405 buildCounterDatabaseInstance--; |
404 } | 406 } |
405 | 407 |
406 buildUnnamed3366() { | 408 buildUnnamed3398() { |
407 var o = new core.List<api.Database>(); | 409 var o = new core.List<api.Database>(); |
408 o.add(buildDatabase()); | 410 o.add(buildDatabase()); |
409 o.add(buildDatabase()); | 411 o.add(buildDatabase()); |
410 return o; | 412 return o; |
411 } | 413 } |
412 | 414 |
413 checkUnnamed3366(core.List<api.Database> o) { | 415 checkUnnamed3398(core.List<api.Database> o) { |
414 unittest.expect(o, unittest.hasLength(2)); | 416 unittest.expect(o, unittest.hasLength(2)); |
415 checkDatabase(o[0]); | 417 checkDatabase(o[0]); |
416 checkDatabase(o[1]); | 418 checkDatabase(o[1]); |
417 } | 419 } |
418 | 420 |
419 core.int buildCounterDatabasesListResponse = 0; | 421 core.int buildCounterDatabasesListResponse = 0; |
420 buildDatabasesListResponse() { | 422 buildDatabasesListResponse() { |
421 var o = new api.DatabasesListResponse(); | 423 var o = new api.DatabasesListResponse(); |
422 buildCounterDatabasesListResponse++; | 424 buildCounterDatabasesListResponse++; |
423 if (buildCounterDatabasesListResponse < 3) { | 425 if (buildCounterDatabasesListResponse < 3) { |
424 o.items = buildUnnamed3366(); | 426 o.items = buildUnnamed3398(); |
425 o.kind = "foo"; | 427 o.kind = "foo"; |
426 } | 428 } |
427 buildCounterDatabasesListResponse--; | 429 buildCounterDatabasesListResponse--; |
428 return o; | 430 return o; |
429 } | 431 } |
430 | 432 |
431 checkDatabasesListResponse(api.DatabasesListResponse o) { | 433 checkDatabasesListResponse(api.DatabasesListResponse o) { |
432 buildCounterDatabasesListResponse++; | 434 buildCounterDatabasesListResponse++; |
433 if (buildCounterDatabasesListResponse < 3) { | 435 if (buildCounterDatabasesListResponse < 3) { |
434 checkUnnamed3366(o.items); | 436 checkUnnamed3398(o.items); |
435 unittest.expect(o.kind, unittest.equals('foo')); | 437 unittest.expect(o.kind, unittest.equals('foo')); |
436 } | 438 } |
437 buildCounterDatabasesListResponse--; | 439 buildCounterDatabasesListResponse--; |
438 } | 440 } |
439 | 441 |
440 core.int buildCounterExportContextCsvExportOptions = 0; | 442 core.int buildCounterExportContextCsvExportOptions = 0; |
441 buildExportContextCsvExportOptions() { | 443 buildExportContextCsvExportOptions() { |
442 var o = new api.ExportContextCsvExportOptions(); | 444 var o = new api.ExportContextCsvExportOptions(); |
443 buildCounterExportContextCsvExportOptions++; | 445 buildCounterExportContextCsvExportOptions++; |
444 if (buildCounterExportContextCsvExportOptions < 3) { | 446 if (buildCounterExportContextCsvExportOptions < 3) { |
445 o.selectQuery = "foo"; | 447 o.selectQuery = "foo"; |
446 } | 448 } |
447 buildCounterExportContextCsvExportOptions--; | 449 buildCounterExportContextCsvExportOptions--; |
448 return o; | 450 return o; |
449 } | 451 } |
450 | 452 |
451 checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { | 453 checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { |
452 buildCounterExportContextCsvExportOptions++; | 454 buildCounterExportContextCsvExportOptions++; |
453 if (buildCounterExportContextCsvExportOptions < 3) { | 455 if (buildCounterExportContextCsvExportOptions < 3) { |
454 unittest.expect(o.selectQuery, unittest.equals('foo')); | 456 unittest.expect(o.selectQuery, unittest.equals('foo')); |
455 } | 457 } |
456 buildCounterExportContextCsvExportOptions--; | 458 buildCounterExportContextCsvExportOptions--; |
457 } | 459 } |
458 | 460 |
459 buildUnnamed3367() { | 461 buildUnnamed3399() { |
460 var o = new core.List<core.String>(); | 462 var o = new core.List<core.String>(); |
461 o.add("foo"); | 463 o.add("foo"); |
462 o.add("foo"); | 464 o.add("foo"); |
463 return o; | 465 return o; |
464 } | 466 } |
465 | 467 |
466 checkUnnamed3367(core.List<core.String> o) { | 468 checkUnnamed3399(core.List<core.String> o) { |
467 unittest.expect(o, unittest.hasLength(2)); | 469 unittest.expect(o, unittest.hasLength(2)); |
468 unittest.expect(o[0], unittest.equals('foo')); | 470 unittest.expect(o[0], unittest.equals('foo')); |
469 unittest.expect(o[1], unittest.equals('foo')); | 471 unittest.expect(o[1], unittest.equals('foo')); |
470 } | 472 } |
471 | 473 |
472 buildUnnamed3368() { | 474 buildUnnamed3400() { |
473 var o = new core.List<core.String>(); | 475 var o = new core.List<core.String>(); |
474 o.add("foo"); | 476 o.add("foo"); |
475 o.add("foo"); | 477 o.add("foo"); |
476 return o; | 478 return o; |
477 } | 479 } |
478 | 480 |
479 checkUnnamed3368(core.List<core.String> o) { | 481 checkUnnamed3400(core.List<core.String> o) { |
480 unittest.expect(o, unittest.hasLength(2)); | 482 unittest.expect(o, unittest.hasLength(2)); |
481 unittest.expect(o[0], unittest.equals('foo')); | 483 unittest.expect(o[0], unittest.equals('foo')); |
482 unittest.expect(o[1], unittest.equals('foo')); | 484 unittest.expect(o[1], unittest.equals('foo')); |
483 } | 485 } |
484 | 486 |
485 core.int buildCounterExportContextSqlExportOptions = 0; | 487 core.int buildCounterExportContextSqlExportOptions = 0; |
486 buildExportContextSqlExportOptions() { | 488 buildExportContextSqlExportOptions() { |
487 var o = new api.ExportContextSqlExportOptions(); | 489 var o = new api.ExportContextSqlExportOptions(); |
488 buildCounterExportContextSqlExportOptions++; | 490 buildCounterExportContextSqlExportOptions++; |
489 if (buildCounterExportContextSqlExportOptions < 3) { | 491 if (buildCounterExportContextSqlExportOptions < 3) { |
490 o.schemaOnly = true; | 492 o.schemaOnly = true; |
491 o.tables = buildUnnamed3368(); | 493 o.tables = buildUnnamed3400(); |
492 } | 494 } |
493 buildCounterExportContextSqlExportOptions--; | 495 buildCounterExportContextSqlExportOptions--; |
494 return o; | 496 return o; |
495 } | 497 } |
496 | 498 |
497 checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { | 499 checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { |
498 buildCounterExportContextSqlExportOptions++; | 500 buildCounterExportContextSqlExportOptions++; |
499 if (buildCounterExportContextSqlExportOptions < 3) { | 501 if (buildCounterExportContextSqlExportOptions < 3) { |
500 unittest.expect(o.schemaOnly, unittest.isTrue); | 502 unittest.expect(o.schemaOnly, unittest.isTrue); |
501 checkUnnamed3368(o.tables); | 503 checkUnnamed3400(o.tables); |
502 } | 504 } |
503 buildCounterExportContextSqlExportOptions--; | 505 buildCounterExportContextSqlExportOptions--; |
504 } | 506 } |
505 | 507 |
506 core.int buildCounterExportContext = 0; | 508 core.int buildCounterExportContext = 0; |
507 buildExportContext() { | 509 buildExportContext() { |
508 var o = new api.ExportContext(); | 510 var o = new api.ExportContext(); |
509 buildCounterExportContext++; | 511 buildCounterExportContext++; |
510 if (buildCounterExportContext < 3) { | 512 if (buildCounterExportContext < 3) { |
511 o.csvExportOptions = buildExportContextCsvExportOptions(); | 513 o.csvExportOptions = buildExportContextCsvExportOptions(); |
512 o.databases = buildUnnamed3367(); | 514 o.databases = buildUnnamed3399(); |
513 o.fileType = "foo"; | 515 o.fileType = "foo"; |
514 o.kind = "foo"; | 516 o.kind = "foo"; |
515 o.sqlExportOptions = buildExportContextSqlExportOptions(); | 517 o.sqlExportOptions = buildExportContextSqlExportOptions(); |
516 o.uri = "foo"; | 518 o.uri = "foo"; |
517 } | 519 } |
518 buildCounterExportContext--; | 520 buildCounterExportContext--; |
519 return o; | 521 return o; |
520 } | 522 } |
521 | 523 |
522 checkExportContext(api.ExportContext o) { | 524 checkExportContext(api.ExportContext o) { |
523 buildCounterExportContext++; | 525 buildCounterExportContext++; |
524 if (buildCounterExportContext < 3) { | 526 if (buildCounterExportContext < 3) { |
525 checkExportContextCsvExportOptions(o.csvExportOptions); | 527 checkExportContextCsvExportOptions(o.csvExportOptions); |
526 checkUnnamed3367(o.databases); | 528 checkUnnamed3399(o.databases); |
527 unittest.expect(o.fileType, unittest.equals('foo')); | 529 unittest.expect(o.fileType, unittest.equals('foo')); |
528 unittest.expect(o.kind, unittest.equals('foo')); | 530 unittest.expect(o.kind, unittest.equals('foo')); |
529 checkExportContextSqlExportOptions(o.sqlExportOptions); | 531 checkExportContextSqlExportOptions(o.sqlExportOptions); |
530 unittest.expect(o.uri, unittest.equals('foo')); | 532 unittest.expect(o.uri, unittest.equals('foo')); |
531 } | 533 } |
532 buildCounterExportContext--; | 534 buildCounterExportContext--; |
533 } | 535 } |
534 | 536 |
535 core.int buildCounterFailoverContext = 0; | 537 core.int buildCounterFailoverContext = 0; |
536 buildFailoverContext() { | 538 buildFailoverContext() { |
537 var o = new api.FailoverContext(); | 539 var o = new api.FailoverContext(); |
538 buildCounterFailoverContext++; | 540 buildCounterFailoverContext++; |
539 if (buildCounterFailoverContext < 3) { | 541 if (buildCounterFailoverContext < 3) { |
540 o.kind = "foo"; | 542 o.kind = "foo"; |
541 o.settingsVersion = "foo"; | 543 o.settingsVersion = "foo"; |
542 } | 544 } |
543 buildCounterFailoverContext--; | 545 buildCounterFailoverContext--; |
544 return o; | 546 return o; |
545 } | 547 } |
546 | 548 |
547 checkFailoverContext(api.FailoverContext o) { | 549 checkFailoverContext(api.FailoverContext o) { |
548 buildCounterFailoverContext++; | 550 buildCounterFailoverContext++; |
549 if (buildCounterFailoverContext < 3) { | 551 if (buildCounterFailoverContext < 3) { |
550 unittest.expect(o.kind, unittest.equals('foo')); | 552 unittest.expect(o.kind, unittest.equals('foo')); |
551 unittest.expect(o.settingsVersion, unittest.equals('foo')); | 553 unittest.expect(o.settingsVersion, unittest.equals('foo')); |
552 } | 554 } |
553 buildCounterFailoverContext--; | 555 buildCounterFailoverContext--; |
554 } | 556 } |
555 | 557 |
556 buildUnnamed3369() { | 558 buildUnnamed3401() { |
557 var o = new core.List<core.String>(); | 559 var o = new core.List<core.String>(); |
558 o.add("foo"); | 560 o.add("foo"); |
559 o.add("foo"); | 561 o.add("foo"); |
560 return o; | 562 return o; |
561 } | 563 } |
562 | 564 |
563 checkUnnamed3369(core.List<core.String> o) { | 565 checkUnnamed3401(core.List<core.String> o) { |
564 unittest.expect(o, unittest.hasLength(2)); | 566 unittest.expect(o, unittest.hasLength(2)); |
565 unittest.expect(o[0], unittest.equals('foo')); | 567 unittest.expect(o[0], unittest.equals('foo')); |
566 unittest.expect(o[1], unittest.equals('foo')); | 568 unittest.expect(o[1], unittest.equals('foo')); |
567 } | 569 } |
568 | 570 |
569 buildUnnamed3370() { | 571 buildUnnamed3402() { |
570 var o = new core.List<core.String>(); | 572 var o = new core.List<core.String>(); |
571 o.add("foo"); | 573 o.add("foo"); |
572 o.add("foo"); | 574 o.add("foo"); |
573 return o; | 575 return o; |
574 } | 576 } |
575 | 577 |
576 checkUnnamed3370(core.List<core.String> o) { | 578 checkUnnamed3402(core.List<core.String> o) { |
577 unittest.expect(o, unittest.hasLength(2)); | 579 unittest.expect(o, unittest.hasLength(2)); |
578 unittest.expect(o[0], unittest.equals('foo')); | 580 unittest.expect(o[0], unittest.equals('foo')); |
579 unittest.expect(o[1], unittest.equals('foo')); | 581 unittest.expect(o[1], unittest.equals('foo')); |
580 } | 582 } |
581 | 583 |
582 core.int buildCounterFlag = 0; | 584 core.int buildCounterFlag = 0; |
583 buildFlag() { | 585 buildFlag() { |
584 var o = new api.Flag(); | 586 var o = new api.Flag(); |
585 buildCounterFlag++; | 587 buildCounterFlag++; |
586 if (buildCounterFlag < 3) { | 588 if (buildCounterFlag < 3) { |
587 o.allowedStringValues = buildUnnamed3369(); | 589 o.allowedStringValues = buildUnnamed3401(); |
588 o.appliesTo = buildUnnamed3370(); | 590 o.appliesTo = buildUnnamed3402(); |
589 o.kind = "foo"; | 591 o.kind = "foo"; |
590 o.maxValue = "foo"; | 592 o.maxValue = "foo"; |
591 o.minValue = "foo"; | 593 o.minValue = "foo"; |
592 o.name = "foo"; | 594 o.name = "foo"; |
593 o.requiresRestart = true; | 595 o.requiresRestart = true; |
594 o.type = "foo"; | 596 o.type = "foo"; |
595 } | 597 } |
596 buildCounterFlag--; | 598 buildCounterFlag--; |
597 return o; | 599 return o; |
598 } | 600 } |
599 | 601 |
600 checkFlag(api.Flag o) { | 602 checkFlag(api.Flag o) { |
601 buildCounterFlag++; | 603 buildCounterFlag++; |
602 if (buildCounterFlag < 3) { | 604 if (buildCounterFlag < 3) { |
603 checkUnnamed3369(o.allowedStringValues); | 605 checkUnnamed3401(o.allowedStringValues); |
604 checkUnnamed3370(o.appliesTo); | 606 checkUnnamed3402(o.appliesTo); |
605 unittest.expect(o.kind, unittest.equals('foo')); | 607 unittest.expect(o.kind, unittest.equals('foo')); |
606 unittest.expect(o.maxValue, unittest.equals('foo')); | 608 unittest.expect(o.maxValue, unittest.equals('foo')); |
607 unittest.expect(o.minValue, unittest.equals('foo')); | 609 unittest.expect(o.minValue, unittest.equals('foo')); |
608 unittest.expect(o.name, unittest.equals('foo')); | 610 unittest.expect(o.name, unittest.equals('foo')); |
609 unittest.expect(o.requiresRestart, unittest.isTrue); | 611 unittest.expect(o.requiresRestart, unittest.isTrue); |
610 unittest.expect(o.type, unittest.equals('foo')); | 612 unittest.expect(o.type, unittest.equals('foo')); |
611 } | 613 } |
612 buildCounterFlag--; | 614 buildCounterFlag--; |
613 } | 615 } |
614 | 616 |
615 buildUnnamed3371() { | 617 buildUnnamed3403() { |
616 var o = new core.List<api.Flag>(); | 618 var o = new core.List<api.Flag>(); |
617 o.add(buildFlag()); | 619 o.add(buildFlag()); |
618 o.add(buildFlag()); | 620 o.add(buildFlag()); |
619 return o; | 621 return o; |
620 } | 622 } |
621 | 623 |
622 checkUnnamed3371(core.List<api.Flag> o) { | 624 checkUnnamed3403(core.List<api.Flag> o) { |
623 unittest.expect(o, unittest.hasLength(2)); | 625 unittest.expect(o, unittest.hasLength(2)); |
624 checkFlag(o[0]); | 626 checkFlag(o[0]); |
625 checkFlag(o[1]); | 627 checkFlag(o[1]); |
626 } | 628 } |
627 | 629 |
628 core.int buildCounterFlagsListResponse = 0; | 630 core.int buildCounterFlagsListResponse = 0; |
629 buildFlagsListResponse() { | 631 buildFlagsListResponse() { |
630 var o = new api.FlagsListResponse(); | 632 var o = new api.FlagsListResponse(); |
631 buildCounterFlagsListResponse++; | 633 buildCounterFlagsListResponse++; |
632 if (buildCounterFlagsListResponse < 3) { | 634 if (buildCounterFlagsListResponse < 3) { |
633 o.items = buildUnnamed3371(); | 635 o.items = buildUnnamed3403(); |
634 o.kind = "foo"; | 636 o.kind = "foo"; |
635 } | 637 } |
636 buildCounterFlagsListResponse--; | 638 buildCounterFlagsListResponse--; |
637 return o; | 639 return o; |
638 } | 640 } |
639 | 641 |
640 checkFlagsListResponse(api.FlagsListResponse o) { | 642 checkFlagsListResponse(api.FlagsListResponse o) { |
641 buildCounterFlagsListResponse++; | 643 buildCounterFlagsListResponse++; |
642 if (buildCounterFlagsListResponse < 3) { | 644 if (buildCounterFlagsListResponse < 3) { |
643 checkUnnamed3371(o.items); | 645 checkUnnamed3403(o.items); |
644 unittest.expect(o.kind, unittest.equals('foo')); | 646 unittest.expect(o.kind, unittest.equals('foo')); |
645 } | 647 } |
646 buildCounterFlagsListResponse--; | 648 buildCounterFlagsListResponse--; |
647 } | 649 } |
648 | 650 |
649 buildUnnamed3372() { | 651 buildUnnamed3404() { |
650 var o = new core.List<core.String>(); | 652 var o = new core.List<core.String>(); |
651 o.add("foo"); | 653 o.add("foo"); |
652 o.add("foo"); | 654 o.add("foo"); |
653 return o; | 655 return o; |
654 } | 656 } |
655 | 657 |
656 checkUnnamed3372(core.List<core.String> o) { | 658 checkUnnamed3404(core.List<core.String> o) { |
657 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
658 unittest.expect(o[0], unittest.equals('foo')); | 660 unittest.expect(o[0], unittest.equals('foo')); |
659 unittest.expect(o[1], unittest.equals('foo')); | 661 unittest.expect(o[1], unittest.equals('foo')); |
660 } | 662 } |
661 | 663 |
662 core.int buildCounterImportContextCsvImportOptions = 0; | 664 core.int buildCounterImportContextCsvImportOptions = 0; |
663 buildImportContextCsvImportOptions() { | 665 buildImportContextCsvImportOptions() { |
664 var o = new api.ImportContextCsvImportOptions(); | 666 var o = new api.ImportContextCsvImportOptions(); |
665 buildCounterImportContextCsvImportOptions++; | 667 buildCounterImportContextCsvImportOptions++; |
666 if (buildCounterImportContextCsvImportOptions < 3) { | 668 if (buildCounterImportContextCsvImportOptions < 3) { |
667 o.columns = buildUnnamed3372(); | 669 o.columns = buildUnnamed3404(); |
668 o.table = "foo"; | 670 o.table = "foo"; |
669 } | 671 } |
670 buildCounterImportContextCsvImportOptions--; | 672 buildCounterImportContextCsvImportOptions--; |
671 return o; | 673 return o; |
672 } | 674 } |
673 | 675 |
674 checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { | 676 checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { |
675 buildCounterImportContextCsvImportOptions++; | 677 buildCounterImportContextCsvImportOptions++; |
676 if (buildCounterImportContextCsvImportOptions < 3) { | 678 if (buildCounterImportContextCsvImportOptions < 3) { |
677 checkUnnamed3372(o.columns); | 679 checkUnnamed3404(o.columns); |
678 unittest.expect(o.table, unittest.equals('foo')); | 680 unittest.expect(o.table, unittest.equals('foo')); |
679 } | 681 } |
680 buildCounterImportContextCsvImportOptions--; | 682 buildCounterImportContextCsvImportOptions--; |
681 } | 683 } |
682 | 684 |
683 core.int buildCounterImportContext = 0; | 685 core.int buildCounterImportContext = 0; |
684 buildImportContext() { | 686 buildImportContext() { |
685 var o = new api.ImportContext(); | 687 var o = new api.ImportContext(); |
686 buildCounterImportContext++; | 688 buildCounterImportContext++; |
687 if (buildCounterImportContext < 3) { | 689 if (buildCounterImportContext < 3) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 } | 780 } |
779 | 781 |
780 checkInstancesImportRequest(api.InstancesImportRequest o) { | 782 checkInstancesImportRequest(api.InstancesImportRequest o) { |
781 buildCounterInstancesImportRequest++; | 783 buildCounterInstancesImportRequest++; |
782 if (buildCounterInstancesImportRequest < 3) { | 784 if (buildCounterInstancesImportRequest < 3) { |
783 checkImportContext(o.importContext); | 785 checkImportContext(o.importContext); |
784 } | 786 } |
785 buildCounterInstancesImportRequest--; | 787 buildCounterInstancesImportRequest--; |
786 } | 788 } |
787 | 789 |
788 buildUnnamed3373() { | 790 buildUnnamed3405() { |
789 var o = new core.List<api.DatabaseInstance>(); | 791 var o = new core.List<api.DatabaseInstance>(); |
790 o.add(buildDatabaseInstance()); | 792 o.add(buildDatabaseInstance()); |
791 o.add(buildDatabaseInstance()); | 793 o.add(buildDatabaseInstance()); |
792 return o; | 794 return o; |
793 } | 795 } |
794 | 796 |
795 checkUnnamed3373(core.List<api.DatabaseInstance> o) { | 797 checkUnnamed3405(core.List<api.DatabaseInstance> o) { |
796 unittest.expect(o, unittest.hasLength(2)); | 798 unittest.expect(o, unittest.hasLength(2)); |
797 checkDatabaseInstance(o[0]); | 799 checkDatabaseInstance(o[0]); |
798 checkDatabaseInstance(o[1]); | 800 checkDatabaseInstance(o[1]); |
799 } | 801 } |
800 | 802 |
801 core.int buildCounterInstancesListResponse = 0; | 803 core.int buildCounterInstancesListResponse = 0; |
802 buildInstancesListResponse() { | 804 buildInstancesListResponse() { |
803 var o = new api.InstancesListResponse(); | 805 var o = new api.InstancesListResponse(); |
804 buildCounterInstancesListResponse++; | 806 buildCounterInstancesListResponse++; |
805 if (buildCounterInstancesListResponse < 3) { | 807 if (buildCounterInstancesListResponse < 3) { |
806 o.items = buildUnnamed3373(); | 808 o.items = buildUnnamed3405(); |
807 o.kind = "foo"; | 809 o.kind = "foo"; |
808 o.nextPageToken = "foo"; | 810 o.nextPageToken = "foo"; |
809 } | 811 } |
810 buildCounterInstancesListResponse--; | 812 buildCounterInstancesListResponse--; |
811 return o; | 813 return o; |
812 } | 814 } |
813 | 815 |
814 checkInstancesListResponse(api.InstancesListResponse o) { | 816 checkInstancesListResponse(api.InstancesListResponse o) { |
815 buildCounterInstancesListResponse++; | 817 buildCounterInstancesListResponse++; |
816 if (buildCounterInstancesListResponse < 3) { | 818 if (buildCounterInstancesListResponse < 3) { |
817 checkUnnamed3373(o.items); | 819 checkUnnamed3405(o.items); |
818 unittest.expect(o.kind, unittest.equals('foo')); | 820 unittest.expect(o.kind, unittest.equals('foo')); |
819 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 821 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
820 } | 822 } |
821 buildCounterInstancesListResponse--; | 823 buildCounterInstancesListResponse--; |
822 } | 824 } |
823 | 825 |
824 core.int buildCounterInstancesRestoreBackupRequest = 0; | 826 core.int buildCounterInstancesRestoreBackupRequest = 0; |
825 buildInstancesRestoreBackupRequest() { | 827 buildInstancesRestoreBackupRequest() { |
826 var o = new api.InstancesRestoreBackupRequest(); | 828 var o = new api.InstancesRestoreBackupRequest(); |
827 buildCounterInstancesRestoreBackupRequest++; | 829 buildCounterInstancesRestoreBackupRequest++; |
(...skipping 24 matching lines...) Expand all Loading... |
852 } | 854 } |
853 | 855 |
854 checkInstancesTruncateLogRequest(api.InstancesTruncateLogRequest o) { | 856 checkInstancesTruncateLogRequest(api.InstancesTruncateLogRequest o) { |
855 buildCounterInstancesTruncateLogRequest++; | 857 buildCounterInstancesTruncateLogRequest++; |
856 if (buildCounterInstancesTruncateLogRequest < 3) { | 858 if (buildCounterInstancesTruncateLogRequest < 3) { |
857 checkTruncateLogContext(o.truncateLogContext); | 859 checkTruncateLogContext(o.truncateLogContext); |
858 } | 860 } |
859 buildCounterInstancesTruncateLogRequest--; | 861 buildCounterInstancesTruncateLogRequest--; |
860 } | 862 } |
861 | 863 |
862 buildUnnamed3374() { | 864 buildUnnamed3406() { |
863 var o = new core.List<api.AclEntry>(); | 865 var o = new core.List<api.AclEntry>(); |
864 o.add(buildAclEntry()); | 866 o.add(buildAclEntry()); |
865 o.add(buildAclEntry()); | 867 o.add(buildAclEntry()); |
866 return o; | 868 return o; |
867 } | 869 } |
868 | 870 |
869 checkUnnamed3374(core.List<api.AclEntry> o) { | 871 checkUnnamed3406(core.List<api.AclEntry> o) { |
870 unittest.expect(o, unittest.hasLength(2)); | 872 unittest.expect(o, unittest.hasLength(2)); |
871 checkAclEntry(o[0]); | 873 checkAclEntry(o[0]); |
872 checkAclEntry(o[1]); | 874 checkAclEntry(o[1]); |
873 } | 875 } |
874 | 876 |
875 core.int buildCounterIpConfiguration = 0; | 877 core.int buildCounterIpConfiguration = 0; |
876 buildIpConfiguration() { | 878 buildIpConfiguration() { |
877 var o = new api.IpConfiguration(); | 879 var o = new api.IpConfiguration(); |
878 buildCounterIpConfiguration++; | 880 buildCounterIpConfiguration++; |
879 if (buildCounterIpConfiguration < 3) { | 881 if (buildCounterIpConfiguration < 3) { |
880 o.authorizedNetworks = buildUnnamed3374(); | 882 o.authorizedNetworks = buildUnnamed3406(); |
881 o.ipv4Enabled = true; | 883 o.ipv4Enabled = true; |
882 o.requireSsl = true; | 884 o.requireSsl = true; |
883 } | 885 } |
884 buildCounterIpConfiguration--; | 886 buildCounterIpConfiguration--; |
885 return o; | 887 return o; |
886 } | 888 } |
887 | 889 |
888 checkIpConfiguration(api.IpConfiguration o) { | 890 checkIpConfiguration(api.IpConfiguration o) { |
889 buildCounterIpConfiguration++; | 891 buildCounterIpConfiguration++; |
890 if (buildCounterIpConfiguration < 3) { | 892 if (buildCounterIpConfiguration < 3) { |
891 checkUnnamed3374(o.authorizedNetworks); | 893 checkUnnamed3406(o.authorizedNetworks); |
892 unittest.expect(o.ipv4Enabled, unittest.isTrue); | 894 unittest.expect(o.ipv4Enabled, unittest.isTrue); |
893 unittest.expect(o.requireSsl, unittest.isTrue); | 895 unittest.expect(o.requireSsl, unittest.isTrue); |
894 } | 896 } |
895 buildCounterIpConfiguration--; | 897 buildCounterIpConfiguration--; |
896 } | 898 } |
897 | 899 |
898 core.int buildCounterIpMapping = 0; | 900 core.int buildCounterIpMapping = 0; |
899 buildIpMapping() { | 901 buildIpMapping() { |
900 var o = new api.IpMapping(); | 902 var o = new api.IpMapping(); |
901 buildCounterIpMapping++; | 903 buildCounterIpMapping++; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 checkOperationError(api.OperationError o) { | 1091 checkOperationError(api.OperationError o) { |
1090 buildCounterOperationError++; | 1092 buildCounterOperationError++; |
1091 if (buildCounterOperationError < 3) { | 1093 if (buildCounterOperationError < 3) { |
1092 unittest.expect(o.code, unittest.equals('foo')); | 1094 unittest.expect(o.code, unittest.equals('foo')); |
1093 unittest.expect(o.kind, unittest.equals('foo')); | 1095 unittest.expect(o.kind, unittest.equals('foo')); |
1094 unittest.expect(o.message, unittest.equals('foo')); | 1096 unittest.expect(o.message, unittest.equals('foo')); |
1095 } | 1097 } |
1096 buildCounterOperationError--; | 1098 buildCounterOperationError--; |
1097 } | 1099 } |
1098 | 1100 |
1099 buildUnnamed3375() { | 1101 buildUnnamed3407() { |
1100 var o = new core.List<api.OperationError>(); | 1102 var o = new core.List<api.OperationError>(); |
1101 o.add(buildOperationError()); | 1103 o.add(buildOperationError()); |
1102 o.add(buildOperationError()); | 1104 o.add(buildOperationError()); |
1103 return o; | 1105 return o; |
1104 } | 1106 } |
1105 | 1107 |
1106 checkUnnamed3375(core.List<api.OperationError> o) { | 1108 checkUnnamed3407(core.List<api.OperationError> o) { |
1107 unittest.expect(o, unittest.hasLength(2)); | 1109 unittest.expect(o, unittest.hasLength(2)); |
1108 checkOperationError(o[0]); | 1110 checkOperationError(o[0]); |
1109 checkOperationError(o[1]); | 1111 checkOperationError(o[1]); |
1110 } | 1112 } |
1111 | 1113 |
1112 core.int buildCounterOperationErrors = 0; | 1114 core.int buildCounterOperationErrors = 0; |
1113 buildOperationErrors() { | 1115 buildOperationErrors() { |
1114 var o = new api.OperationErrors(); | 1116 var o = new api.OperationErrors(); |
1115 buildCounterOperationErrors++; | 1117 buildCounterOperationErrors++; |
1116 if (buildCounterOperationErrors < 3) { | 1118 if (buildCounterOperationErrors < 3) { |
1117 o.errors = buildUnnamed3375(); | 1119 o.errors = buildUnnamed3407(); |
1118 o.kind = "foo"; | 1120 o.kind = "foo"; |
1119 } | 1121 } |
1120 buildCounterOperationErrors--; | 1122 buildCounterOperationErrors--; |
1121 return o; | 1123 return o; |
1122 } | 1124 } |
1123 | 1125 |
1124 checkOperationErrors(api.OperationErrors o) { | 1126 checkOperationErrors(api.OperationErrors o) { |
1125 buildCounterOperationErrors++; | 1127 buildCounterOperationErrors++; |
1126 if (buildCounterOperationErrors < 3) { | 1128 if (buildCounterOperationErrors < 3) { |
1127 checkUnnamed3375(o.errors); | 1129 checkUnnamed3407(o.errors); |
1128 unittest.expect(o.kind, unittest.equals('foo')); | 1130 unittest.expect(o.kind, unittest.equals('foo')); |
1129 } | 1131 } |
1130 buildCounterOperationErrors--; | 1132 buildCounterOperationErrors--; |
1131 } | 1133 } |
1132 | 1134 |
1133 buildUnnamed3376() { | 1135 buildUnnamed3408() { |
1134 var o = new core.List<api.Operation>(); | 1136 var o = new core.List<api.Operation>(); |
1135 o.add(buildOperation()); | 1137 o.add(buildOperation()); |
1136 o.add(buildOperation()); | 1138 o.add(buildOperation()); |
1137 return o; | 1139 return o; |
1138 } | 1140 } |
1139 | 1141 |
1140 checkUnnamed3376(core.List<api.Operation> o) { | 1142 checkUnnamed3408(core.List<api.Operation> o) { |
1141 unittest.expect(o, unittest.hasLength(2)); | 1143 unittest.expect(o, unittest.hasLength(2)); |
1142 checkOperation(o[0]); | 1144 checkOperation(o[0]); |
1143 checkOperation(o[1]); | 1145 checkOperation(o[1]); |
1144 } | 1146 } |
1145 | 1147 |
1146 core.int buildCounterOperationsListResponse = 0; | 1148 core.int buildCounterOperationsListResponse = 0; |
1147 buildOperationsListResponse() { | 1149 buildOperationsListResponse() { |
1148 var o = new api.OperationsListResponse(); | 1150 var o = new api.OperationsListResponse(); |
1149 buildCounterOperationsListResponse++; | 1151 buildCounterOperationsListResponse++; |
1150 if (buildCounterOperationsListResponse < 3) { | 1152 if (buildCounterOperationsListResponse < 3) { |
1151 o.items = buildUnnamed3376(); | 1153 o.items = buildUnnamed3408(); |
1152 o.kind = "foo"; | 1154 o.kind = "foo"; |
1153 o.nextPageToken = "foo"; | 1155 o.nextPageToken = "foo"; |
1154 } | 1156 } |
1155 buildCounterOperationsListResponse--; | 1157 buildCounterOperationsListResponse--; |
1156 return o; | 1158 return o; |
1157 } | 1159 } |
1158 | 1160 |
1159 checkOperationsListResponse(api.OperationsListResponse o) { | 1161 checkOperationsListResponse(api.OperationsListResponse o) { |
1160 buildCounterOperationsListResponse++; | 1162 buildCounterOperationsListResponse++; |
1161 if (buildCounterOperationsListResponse < 3) { | 1163 if (buildCounterOperationsListResponse < 3) { |
1162 checkUnnamed3376(o.items); | 1164 checkUnnamed3408(o.items); |
1163 unittest.expect(o.kind, unittest.equals('foo')); | 1165 unittest.expect(o.kind, unittest.equals('foo')); |
1164 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1166 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1165 } | 1167 } |
1166 buildCounterOperationsListResponse--; | 1168 buildCounterOperationsListResponse--; |
1167 } | 1169 } |
1168 | 1170 |
1169 core.int buildCounterReplicaConfiguration = 0; | 1171 core.int buildCounterReplicaConfiguration = 0; |
1170 buildReplicaConfiguration() { | 1172 buildReplicaConfiguration() { |
1171 var o = new api.ReplicaConfiguration(); | 1173 var o = new api.ReplicaConfiguration(); |
1172 buildCounterReplicaConfiguration++; | 1174 buildCounterReplicaConfiguration++; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1205 checkRestoreBackupContext(api.RestoreBackupContext o) { | 1207 checkRestoreBackupContext(api.RestoreBackupContext o) { |
1206 buildCounterRestoreBackupContext++; | 1208 buildCounterRestoreBackupContext++; |
1207 if (buildCounterRestoreBackupContext < 3) { | 1209 if (buildCounterRestoreBackupContext < 3) { |
1208 unittest.expect(o.backupRunId, unittest.equals('foo')); | 1210 unittest.expect(o.backupRunId, unittest.equals('foo')); |
1209 unittest.expect(o.instanceId, unittest.equals('foo')); | 1211 unittest.expect(o.instanceId, unittest.equals('foo')); |
1210 unittest.expect(o.kind, unittest.equals('foo')); | 1212 unittest.expect(o.kind, unittest.equals('foo')); |
1211 } | 1213 } |
1212 buildCounterRestoreBackupContext--; | 1214 buildCounterRestoreBackupContext--; |
1213 } | 1215 } |
1214 | 1216 |
1215 buildUnnamed3377() { | 1217 buildUnnamed3409() { |
1216 var o = new core.List<core.String>(); | 1218 var o = new core.List<core.String>(); |
1217 o.add("foo"); | 1219 o.add("foo"); |
1218 o.add("foo"); | 1220 o.add("foo"); |
1219 return o; | 1221 return o; |
1220 } | 1222 } |
1221 | 1223 |
1222 checkUnnamed3377(core.List<core.String> o) { | 1224 checkUnnamed3409(core.List<core.String> o) { |
1223 unittest.expect(o, unittest.hasLength(2)); | 1225 unittest.expect(o, unittest.hasLength(2)); |
1224 unittest.expect(o[0], unittest.equals('foo')); | 1226 unittest.expect(o[0], unittest.equals('foo')); |
1225 unittest.expect(o[1], unittest.equals('foo')); | 1227 unittest.expect(o[1], unittest.equals('foo')); |
1226 } | 1228 } |
1227 | 1229 |
1228 buildUnnamed3378() { | 1230 buildUnnamed3410() { |
1229 var o = new core.List<api.DatabaseFlags>(); | 1231 var o = new core.List<api.DatabaseFlags>(); |
1230 o.add(buildDatabaseFlags()); | 1232 o.add(buildDatabaseFlags()); |
1231 o.add(buildDatabaseFlags()); | 1233 o.add(buildDatabaseFlags()); |
1232 return o; | 1234 return o; |
1233 } | 1235 } |
1234 | 1236 |
1235 checkUnnamed3378(core.List<api.DatabaseFlags> o) { | 1237 checkUnnamed3410(core.List<api.DatabaseFlags> o) { |
1236 unittest.expect(o, unittest.hasLength(2)); | 1238 unittest.expect(o, unittest.hasLength(2)); |
1237 checkDatabaseFlags(o[0]); | 1239 checkDatabaseFlags(o[0]); |
1238 checkDatabaseFlags(o[1]); | 1240 checkDatabaseFlags(o[1]); |
1239 } | 1241 } |
1240 | 1242 |
1241 buildUnnamed3379() { | 1243 buildUnnamed3411() { |
1242 var o = new core.Map<core.String, core.String>(); | 1244 var o = new core.Map<core.String, core.String>(); |
1243 o["x"] = "foo"; | 1245 o["x"] = "foo"; |
1244 o["y"] = "foo"; | 1246 o["y"] = "foo"; |
1245 return o; | 1247 return o; |
1246 } | 1248 } |
1247 | 1249 |
1248 checkUnnamed3379(core.Map<core.String, core.String> o) { | 1250 checkUnnamed3411(core.Map<core.String, core.String> o) { |
1249 unittest.expect(o, unittest.hasLength(2)); | 1251 unittest.expect(o, unittest.hasLength(2)); |
1250 unittest.expect(o["x"], unittest.equals('foo')); | 1252 unittest.expect(o["x"], unittest.equals('foo')); |
1251 unittest.expect(o["y"], unittest.equals('foo')); | 1253 unittest.expect(o["y"], unittest.equals('foo')); |
1252 } | 1254 } |
1253 | 1255 |
1254 core.int buildCounterSettings = 0; | 1256 core.int buildCounterSettings = 0; |
1255 buildSettings() { | 1257 buildSettings() { |
1256 var o = new api.Settings(); | 1258 var o = new api.Settings(); |
1257 buildCounterSettings++; | 1259 buildCounterSettings++; |
1258 if (buildCounterSettings < 3) { | 1260 if (buildCounterSettings < 3) { |
1259 o.activationPolicy = "foo"; | 1261 o.activationPolicy = "foo"; |
1260 o.authorizedGaeApplications = buildUnnamed3377(); | 1262 o.authorizedGaeApplications = buildUnnamed3409(); |
1261 o.availabilityType = "foo"; | 1263 o.availabilityType = "foo"; |
1262 o.backupConfiguration = buildBackupConfiguration(); | 1264 o.backupConfiguration = buildBackupConfiguration(); |
1263 o.crashSafeReplicationEnabled = true; | 1265 o.crashSafeReplicationEnabled = true; |
1264 o.dataDiskSizeGb = "foo"; | 1266 o.dataDiskSizeGb = "foo"; |
1265 o.dataDiskType = "foo"; | 1267 o.dataDiskType = "foo"; |
1266 o.databaseFlags = buildUnnamed3378(); | 1268 o.databaseFlags = buildUnnamed3410(); |
1267 o.databaseReplicationEnabled = true; | 1269 o.databaseReplicationEnabled = true; |
1268 o.ipConfiguration = buildIpConfiguration(); | 1270 o.ipConfiguration = buildIpConfiguration(); |
1269 o.kind = "foo"; | 1271 o.kind = "foo"; |
1270 o.locationPreference = buildLocationPreference(); | 1272 o.locationPreference = buildLocationPreference(); |
1271 o.maintenanceWindow = buildMaintenanceWindow(); | 1273 o.maintenanceWindow = buildMaintenanceWindow(); |
1272 o.pricingPlan = "foo"; | 1274 o.pricingPlan = "foo"; |
1273 o.replicationType = "foo"; | 1275 o.replicationType = "foo"; |
1274 o.settingsVersion = "foo"; | 1276 o.settingsVersion = "foo"; |
1275 o.storageAutoResize = true; | 1277 o.storageAutoResize = true; |
1276 o.storageAutoResizeLimit = "foo"; | 1278 o.storageAutoResizeLimit = "foo"; |
1277 o.tier = "foo"; | 1279 o.tier = "foo"; |
1278 o.userLabels = buildUnnamed3379(); | 1280 o.userLabels = buildUnnamed3411(); |
1279 } | 1281 } |
1280 buildCounterSettings--; | 1282 buildCounterSettings--; |
1281 return o; | 1283 return o; |
1282 } | 1284 } |
1283 | 1285 |
1284 checkSettings(api.Settings o) { | 1286 checkSettings(api.Settings o) { |
1285 buildCounterSettings++; | 1287 buildCounterSettings++; |
1286 if (buildCounterSettings < 3) { | 1288 if (buildCounterSettings < 3) { |
1287 unittest.expect(o.activationPolicy, unittest.equals('foo')); | 1289 unittest.expect(o.activationPolicy, unittest.equals('foo')); |
1288 checkUnnamed3377(o.authorizedGaeApplications); | 1290 checkUnnamed3409(o.authorizedGaeApplications); |
1289 unittest.expect(o.availabilityType, unittest.equals('foo')); | 1291 unittest.expect(o.availabilityType, unittest.equals('foo')); |
1290 checkBackupConfiguration(o.backupConfiguration); | 1292 checkBackupConfiguration(o.backupConfiguration); |
1291 unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue); | 1293 unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue); |
1292 unittest.expect(o.dataDiskSizeGb, unittest.equals('foo')); | 1294 unittest.expect(o.dataDiskSizeGb, unittest.equals('foo')); |
1293 unittest.expect(o.dataDiskType, unittest.equals('foo')); | 1295 unittest.expect(o.dataDiskType, unittest.equals('foo')); |
1294 checkUnnamed3378(o.databaseFlags); | 1296 checkUnnamed3410(o.databaseFlags); |
1295 unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); | 1297 unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); |
1296 checkIpConfiguration(o.ipConfiguration); | 1298 checkIpConfiguration(o.ipConfiguration); |
1297 unittest.expect(o.kind, unittest.equals('foo')); | 1299 unittest.expect(o.kind, unittest.equals('foo')); |
1298 checkLocationPreference(o.locationPreference); | 1300 checkLocationPreference(o.locationPreference); |
1299 checkMaintenanceWindow(o.maintenanceWindow); | 1301 checkMaintenanceWindow(o.maintenanceWindow); |
1300 unittest.expect(o.pricingPlan, unittest.equals('foo')); | 1302 unittest.expect(o.pricingPlan, unittest.equals('foo')); |
1301 unittest.expect(o.replicationType, unittest.equals('foo')); | 1303 unittest.expect(o.replicationType, unittest.equals('foo')); |
1302 unittest.expect(o.settingsVersion, unittest.equals('foo')); | 1304 unittest.expect(o.settingsVersion, unittest.equals('foo')); |
1303 unittest.expect(o.storageAutoResize, unittest.isTrue); | 1305 unittest.expect(o.storageAutoResize, unittest.isTrue); |
1304 unittest.expect(o.storageAutoResizeLimit, unittest.equals('foo')); | 1306 unittest.expect(o.storageAutoResizeLimit, unittest.equals('foo')); |
1305 unittest.expect(o.tier, unittest.equals('foo')); | 1307 unittest.expect(o.tier, unittest.equals('foo')); |
1306 checkUnnamed3379(o.userLabels); | 1308 checkUnnamed3411(o.userLabels); |
1307 } | 1309 } |
1308 buildCounterSettings--; | 1310 buildCounterSettings--; |
1309 } | 1311 } |
1310 | 1312 |
1311 core.int buildCounterSslCert = 0; | 1313 core.int buildCounterSslCert = 0; |
1312 buildSslCert() { | 1314 buildSslCert() { |
1313 var o = new api.SslCert(); | 1315 var o = new api.SslCert(); |
1314 buildCounterSslCert++; | 1316 buildCounterSslCert++; |
1315 if (buildCounterSslCert < 3) { | 1317 if (buildCounterSslCert < 3) { |
1316 o.cert = "foo"; | 1318 o.cert = "foo"; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 buildCounterSslCertsInsertResponse++; | 1422 buildCounterSslCertsInsertResponse++; |
1421 if (buildCounterSslCertsInsertResponse < 3) { | 1423 if (buildCounterSslCertsInsertResponse < 3) { |
1422 checkSslCertDetail(o.clientCert); | 1424 checkSslCertDetail(o.clientCert); |
1423 unittest.expect(o.kind, unittest.equals('foo')); | 1425 unittest.expect(o.kind, unittest.equals('foo')); |
1424 checkOperation(o.operation); | 1426 checkOperation(o.operation); |
1425 checkSslCert(o.serverCaCert); | 1427 checkSslCert(o.serverCaCert); |
1426 } | 1428 } |
1427 buildCounterSslCertsInsertResponse--; | 1429 buildCounterSslCertsInsertResponse--; |
1428 } | 1430 } |
1429 | 1431 |
1430 buildUnnamed3380() { | 1432 buildUnnamed3412() { |
1431 var o = new core.List<api.SslCert>(); | 1433 var o = new core.List<api.SslCert>(); |
1432 o.add(buildSslCert()); | 1434 o.add(buildSslCert()); |
1433 o.add(buildSslCert()); | 1435 o.add(buildSslCert()); |
1434 return o; | 1436 return o; |
1435 } | 1437 } |
1436 | 1438 |
1437 checkUnnamed3380(core.List<api.SslCert> o) { | 1439 checkUnnamed3412(core.List<api.SslCert> o) { |
1438 unittest.expect(o, unittest.hasLength(2)); | 1440 unittest.expect(o, unittest.hasLength(2)); |
1439 checkSslCert(o[0]); | 1441 checkSslCert(o[0]); |
1440 checkSslCert(o[1]); | 1442 checkSslCert(o[1]); |
1441 } | 1443 } |
1442 | 1444 |
1443 core.int buildCounterSslCertsListResponse = 0; | 1445 core.int buildCounterSslCertsListResponse = 0; |
1444 buildSslCertsListResponse() { | 1446 buildSslCertsListResponse() { |
1445 var o = new api.SslCertsListResponse(); | 1447 var o = new api.SslCertsListResponse(); |
1446 buildCounterSslCertsListResponse++; | 1448 buildCounterSslCertsListResponse++; |
1447 if (buildCounterSslCertsListResponse < 3) { | 1449 if (buildCounterSslCertsListResponse < 3) { |
1448 o.items = buildUnnamed3380(); | 1450 o.items = buildUnnamed3412(); |
1449 o.kind = "foo"; | 1451 o.kind = "foo"; |
1450 } | 1452 } |
1451 buildCounterSslCertsListResponse--; | 1453 buildCounterSslCertsListResponse--; |
1452 return o; | 1454 return o; |
1453 } | 1455 } |
1454 | 1456 |
1455 checkSslCertsListResponse(api.SslCertsListResponse o) { | 1457 checkSslCertsListResponse(api.SslCertsListResponse o) { |
1456 buildCounterSslCertsListResponse++; | 1458 buildCounterSslCertsListResponse++; |
1457 if (buildCounterSslCertsListResponse < 3) { | 1459 if (buildCounterSslCertsListResponse < 3) { |
1458 checkUnnamed3380(o.items); | 1460 checkUnnamed3412(o.items); |
1459 unittest.expect(o.kind, unittest.equals('foo')); | 1461 unittest.expect(o.kind, unittest.equals('foo')); |
1460 } | 1462 } |
1461 buildCounterSslCertsListResponse--; | 1463 buildCounterSslCertsListResponse--; |
1462 } | 1464 } |
1463 | 1465 |
1464 buildUnnamed3381() { | 1466 buildUnnamed3413() { |
1465 var o = new core.List<core.String>(); | 1467 var o = new core.List<core.String>(); |
1466 o.add("foo"); | 1468 o.add("foo"); |
1467 o.add("foo"); | 1469 o.add("foo"); |
1468 return o; | 1470 return o; |
1469 } | 1471 } |
1470 | 1472 |
1471 checkUnnamed3381(core.List<core.String> o) { | 1473 checkUnnamed3413(core.List<core.String> o) { |
1472 unittest.expect(o, unittest.hasLength(2)); | 1474 unittest.expect(o, unittest.hasLength(2)); |
1473 unittest.expect(o[0], unittest.equals('foo')); | 1475 unittest.expect(o[0], unittest.equals('foo')); |
1474 unittest.expect(o[1], unittest.equals('foo')); | 1476 unittest.expect(o[1], unittest.equals('foo')); |
1475 } | 1477 } |
1476 | 1478 |
1477 core.int buildCounterTier = 0; | 1479 core.int buildCounterTier = 0; |
1478 buildTier() { | 1480 buildTier() { |
1479 var o = new api.Tier(); | 1481 var o = new api.Tier(); |
1480 buildCounterTier++; | 1482 buildCounterTier++; |
1481 if (buildCounterTier < 3) { | 1483 if (buildCounterTier < 3) { |
1482 o.DiskQuota = "foo"; | 1484 o.DiskQuota = "foo"; |
1483 o.RAM = "foo"; | 1485 o.RAM = "foo"; |
1484 o.kind = "foo"; | 1486 o.kind = "foo"; |
1485 o.region = buildUnnamed3381(); | 1487 o.region = buildUnnamed3413(); |
1486 o.tier = "foo"; | 1488 o.tier = "foo"; |
1487 } | 1489 } |
1488 buildCounterTier--; | 1490 buildCounterTier--; |
1489 return o; | 1491 return o; |
1490 } | 1492 } |
1491 | 1493 |
1492 checkTier(api.Tier o) { | 1494 checkTier(api.Tier o) { |
1493 buildCounterTier++; | 1495 buildCounterTier++; |
1494 if (buildCounterTier < 3) { | 1496 if (buildCounterTier < 3) { |
1495 unittest.expect(o.DiskQuota, unittest.equals('foo')); | 1497 unittest.expect(o.DiskQuota, unittest.equals('foo')); |
1496 unittest.expect(o.RAM, unittest.equals('foo')); | 1498 unittest.expect(o.RAM, unittest.equals('foo')); |
1497 unittest.expect(o.kind, unittest.equals('foo')); | 1499 unittest.expect(o.kind, unittest.equals('foo')); |
1498 checkUnnamed3381(o.region); | 1500 checkUnnamed3413(o.region); |
1499 unittest.expect(o.tier, unittest.equals('foo')); | 1501 unittest.expect(o.tier, unittest.equals('foo')); |
1500 } | 1502 } |
1501 buildCounterTier--; | 1503 buildCounterTier--; |
1502 } | 1504 } |
1503 | 1505 |
1504 buildUnnamed3382() { | 1506 buildUnnamed3414() { |
1505 var o = new core.List<api.Tier>(); | 1507 var o = new core.List<api.Tier>(); |
1506 o.add(buildTier()); | 1508 o.add(buildTier()); |
1507 o.add(buildTier()); | 1509 o.add(buildTier()); |
1508 return o; | 1510 return o; |
1509 } | 1511 } |
1510 | 1512 |
1511 checkUnnamed3382(core.List<api.Tier> o) { | 1513 checkUnnamed3414(core.List<api.Tier> o) { |
1512 unittest.expect(o, unittest.hasLength(2)); | 1514 unittest.expect(o, unittest.hasLength(2)); |
1513 checkTier(o[0]); | 1515 checkTier(o[0]); |
1514 checkTier(o[1]); | 1516 checkTier(o[1]); |
1515 } | 1517 } |
1516 | 1518 |
1517 core.int buildCounterTiersListResponse = 0; | 1519 core.int buildCounterTiersListResponse = 0; |
1518 buildTiersListResponse() { | 1520 buildTiersListResponse() { |
1519 var o = new api.TiersListResponse(); | 1521 var o = new api.TiersListResponse(); |
1520 buildCounterTiersListResponse++; | 1522 buildCounterTiersListResponse++; |
1521 if (buildCounterTiersListResponse < 3) { | 1523 if (buildCounterTiersListResponse < 3) { |
1522 o.items = buildUnnamed3382(); | 1524 o.items = buildUnnamed3414(); |
1523 o.kind = "foo"; | 1525 o.kind = "foo"; |
1524 } | 1526 } |
1525 buildCounterTiersListResponse--; | 1527 buildCounterTiersListResponse--; |
1526 return o; | 1528 return o; |
1527 } | 1529 } |
1528 | 1530 |
1529 checkTiersListResponse(api.TiersListResponse o) { | 1531 checkTiersListResponse(api.TiersListResponse o) { |
1530 buildCounterTiersListResponse++; | 1532 buildCounterTiersListResponse++; |
1531 if (buildCounterTiersListResponse < 3) { | 1533 if (buildCounterTiersListResponse < 3) { |
1532 checkUnnamed3382(o.items); | 1534 checkUnnamed3414(o.items); |
1533 unittest.expect(o.kind, unittest.equals('foo')); | 1535 unittest.expect(o.kind, unittest.equals('foo')); |
1534 } | 1536 } |
1535 buildCounterTiersListResponse--; | 1537 buildCounterTiersListResponse--; |
1536 } | 1538 } |
1537 | 1539 |
1538 core.int buildCounterTruncateLogContext = 0; | 1540 core.int buildCounterTruncateLogContext = 0; |
1539 buildTruncateLogContext() { | 1541 buildTruncateLogContext() { |
1540 var o = new api.TruncateLogContext(); | 1542 var o = new api.TruncateLogContext(); |
1541 buildCounterTruncateLogContext++; | 1543 buildCounterTruncateLogContext++; |
1542 if (buildCounterTruncateLogContext < 3) { | 1544 if (buildCounterTruncateLogContext < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1580 unittest.expect(o.host, unittest.equals('foo')); | 1582 unittest.expect(o.host, unittest.equals('foo')); |
1581 unittest.expect(o.instance, unittest.equals('foo')); | 1583 unittest.expect(o.instance, unittest.equals('foo')); |
1582 unittest.expect(o.kind, unittest.equals('foo')); | 1584 unittest.expect(o.kind, unittest.equals('foo')); |
1583 unittest.expect(o.name, unittest.equals('foo')); | 1585 unittest.expect(o.name, unittest.equals('foo')); |
1584 unittest.expect(o.password, unittest.equals('foo')); | 1586 unittest.expect(o.password, unittest.equals('foo')); |
1585 unittest.expect(o.project, unittest.equals('foo')); | 1587 unittest.expect(o.project, unittest.equals('foo')); |
1586 } | 1588 } |
1587 buildCounterUser--; | 1589 buildCounterUser--; |
1588 } | 1590 } |
1589 | 1591 |
1590 buildUnnamed3383() { | 1592 buildUnnamed3415() { |
1591 var o = new core.List<api.User>(); | 1593 var o = new core.List<api.User>(); |
1592 o.add(buildUser()); | 1594 o.add(buildUser()); |
1593 o.add(buildUser()); | 1595 o.add(buildUser()); |
1594 return o; | 1596 return o; |
1595 } | 1597 } |
1596 | 1598 |
1597 checkUnnamed3383(core.List<api.User> o) { | 1599 checkUnnamed3415(core.List<api.User> o) { |
1598 unittest.expect(o, unittest.hasLength(2)); | 1600 unittest.expect(o, unittest.hasLength(2)); |
1599 checkUser(o[0]); | 1601 checkUser(o[0]); |
1600 checkUser(o[1]); | 1602 checkUser(o[1]); |
1601 } | 1603 } |
1602 | 1604 |
1603 core.int buildCounterUsersListResponse = 0; | 1605 core.int buildCounterUsersListResponse = 0; |
1604 buildUsersListResponse() { | 1606 buildUsersListResponse() { |
1605 var o = new api.UsersListResponse(); | 1607 var o = new api.UsersListResponse(); |
1606 buildCounterUsersListResponse++; | 1608 buildCounterUsersListResponse++; |
1607 if (buildCounterUsersListResponse < 3) { | 1609 if (buildCounterUsersListResponse < 3) { |
1608 o.items = buildUnnamed3383(); | 1610 o.items = buildUnnamed3415(); |
1609 o.kind = "foo"; | 1611 o.kind = "foo"; |
1610 o.nextPageToken = "foo"; | 1612 o.nextPageToken = "foo"; |
1611 } | 1613 } |
1612 buildCounterUsersListResponse--; | 1614 buildCounterUsersListResponse--; |
1613 return o; | 1615 return o; |
1614 } | 1616 } |
1615 | 1617 |
1616 checkUsersListResponse(api.UsersListResponse o) { | 1618 checkUsersListResponse(api.UsersListResponse o) { |
1617 buildCounterUsersListResponse++; | 1619 buildCounterUsersListResponse++; |
1618 if (buildCounterUsersListResponse < 3) { | 1620 if (buildCounterUsersListResponse < 3) { |
1619 checkUnnamed3383(o.items); | 1621 checkUnnamed3415(o.items); |
1620 unittest.expect(o.kind, unittest.equals('foo')); | 1622 unittest.expect(o.kind, unittest.equals('foo')); |
1621 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1623 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1622 } | 1624 } |
1623 buildCounterUsersListResponse--; | 1625 buildCounterUsersListResponse--; |
1624 } | 1626 } |
1625 | 1627 |
1626 | 1628 |
1627 main() { | 1629 main() { |
1628 unittest.group("obj-schema-AclEntry", () { | 1630 unittest.group("obj-schema-AclEntry", () { |
1629 unittest.test("to-json--from-json", () { | 1631 unittest.test("to-json--from-json", () { |
(...skipping 2970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4600 res.update(arg_request, arg_project, arg_instance, arg_host, arg_name).the
n(unittest.expectAsync1(((api.Operation response) { | 4602 res.update(arg_request, arg_project, arg_instance, arg_host, arg_name).the
n(unittest.expectAsync1(((api.Operation response) { |
4601 checkOperation(response); | 4603 checkOperation(response); |
4602 }))); | 4604 }))); |
4603 }); | 4605 }); |
4604 | 4606 |
4605 }); | 4607 }); |
4606 | 4608 |
4607 | 4609 |
4608 } | 4610 } |
4609 | 4611 |
OLD | NEW |