| 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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 unittest.expect(o.instance, unittest.equals('foo')); | 131 unittest.expect(o.instance, unittest.equals('foo')); |
| 132 unittest.expect(o.kind, unittest.equals('foo')); | 132 unittest.expect(o.kind, unittest.equals('foo')); |
| 133 unittest.expect(o.selfLink, unittest.equals('foo')); | 133 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 134 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); | 134 unittest.expect(o.startTime, unittest.equals(core.DateTime.parse("2002-02-27
T14:01:02"))); |
| 135 unittest.expect(o.status, unittest.equals('foo')); | 135 unittest.expect(o.status, unittest.equals('foo')); |
| 136 unittest.expect(o.windowStartTime, unittest.equals(core.DateTime.parse("2002
-02-27T14:01:02"))); | 136 unittest.expect(o.windowStartTime, unittest.equals(core.DateTime.parse("2002
-02-27T14:01:02"))); |
| 137 } | 137 } |
| 138 buildCounterBackupRun--; | 138 buildCounterBackupRun--; |
| 139 } | 139 } |
| 140 | 140 |
| 141 buildUnnamed2996() { | 141 buildUnnamed3341() { |
| 142 var o = new core.List<api.BackupRun>(); | 142 var o = new core.List<api.BackupRun>(); |
| 143 o.add(buildBackupRun()); | 143 o.add(buildBackupRun()); |
| 144 o.add(buildBackupRun()); | 144 o.add(buildBackupRun()); |
| 145 return o; | 145 return o; |
| 146 } | 146 } |
| 147 | 147 |
| 148 checkUnnamed2996(core.List<api.BackupRun> o) { | 148 checkUnnamed3341(core.List<api.BackupRun> o) { |
| 149 unittest.expect(o, unittest.hasLength(2)); | 149 unittest.expect(o, unittest.hasLength(2)); |
| 150 checkBackupRun(o[0]); | 150 checkBackupRun(o[0]); |
| 151 checkBackupRun(o[1]); | 151 checkBackupRun(o[1]); |
| 152 } | 152 } |
| 153 | 153 |
| 154 core.int buildCounterBackupRunsListResponse = 0; | 154 core.int buildCounterBackupRunsListResponse = 0; |
| 155 buildBackupRunsListResponse() { | 155 buildBackupRunsListResponse() { |
| 156 var o = new api.BackupRunsListResponse(); | 156 var o = new api.BackupRunsListResponse(); |
| 157 buildCounterBackupRunsListResponse++; | 157 buildCounterBackupRunsListResponse++; |
| 158 if (buildCounterBackupRunsListResponse < 3) { | 158 if (buildCounterBackupRunsListResponse < 3) { |
| 159 o.items = buildUnnamed2996(); | 159 o.items = buildUnnamed3341(); |
| 160 o.kind = "foo"; | 160 o.kind = "foo"; |
| 161 o.nextPageToken = "foo"; | 161 o.nextPageToken = "foo"; |
| 162 } | 162 } |
| 163 buildCounterBackupRunsListResponse--; | 163 buildCounterBackupRunsListResponse--; |
| 164 return o; | 164 return o; |
| 165 } | 165 } |
| 166 | 166 |
| 167 checkBackupRunsListResponse(api.BackupRunsListResponse o) { | 167 checkBackupRunsListResponse(api.BackupRunsListResponse o) { |
| 168 buildCounterBackupRunsListResponse++; | 168 buildCounterBackupRunsListResponse++; |
| 169 if (buildCounterBackupRunsListResponse < 3) { | 169 if (buildCounterBackupRunsListResponse < 3) { |
| 170 checkUnnamed2996(o.items); | 170 checkUnnamed3341(o.items); |
| 171 unittest.expect(o.kind, unittest.equals('foo')); | 171 unittest.expect(o.kind, unittest.equals('foo')); |
| 172 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 172 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 173 } | 173 } |
| 174 buildCounterBackupRunsListResponse--; | 174 buildCounterBackupRunsListResponse--; |
| 175 } | 175 } |
| 176 | 176 |
| 177 core.int buildCounterBinLogCoordinates = 0; | 177 core.int buildCounterBinLogCoordinates = 0; |
| 178 buildBinLogCoordinates() { | 178 buildBinLogCoordinates() { |
| 179 var o = new api.BinLogCoordinates(); | 179 var o = new api.BinLogCoordinates(); |
| 180 buildCounterBinLogCoordinates++; | 180 buildCounterBinLogCoordinates++; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 288 |
| 289 checkDatabaseInstanceFailoverReplica(api.DatabaseInstanceFailoverReplica o) { | 289 checkDatabaseInstanceFailoverReplica(api.DatabaseInstanceFailoverReplica o) { |
| 290 buildCounterDatabaseInstanceFailoverReplica++; | 290 buildCounterDatabaseInstanceFailoverReplica++; |
| 291 if (buildCounterDatabaseInstanceFailoverReplica < 3) { | 291 if (buildCounterDatabaseInstanceFailoverReplica < 3) { |
| 292 unittest.expect(o.available, unittest.isTrue); | 292 unittest.expect(o.available, unittest.isTrue); |
| 293 unittest.expect(o.name, unittest.equals('foo')); | 293 unittest.expect(o.name, unittest.equals('foo')); |
| 294 } | 294 } |
| 295 buildCounterDatabaseInstanceFailoverReplica--; | 295 buildCounterDatabaseInstanceFailoverReplica--; |
| 296 } | 296 } |
| 297 | 297 |
| 298 buildUnnamed2997() { | 298 buildUnnamed3342() { |
| 299 var o = new core.List<api.IpMapping>(); | 299 var o = new core.List<api.IpMapping>(); |
| 300 o.add(buildIpMapping()); | 300 o.add(buildIpMapping()); |
| 301 o.add(buildIpMapping()); | 301 o.add(buildIpMapping()); |
| 302 return o; | 302 return o; |
| 303 } | 303 } |
| 304 | 304 |
| 305 checkUnnamed2997(core.List<api.IpMapping> o) { | 305 checkUnnamed3342(core.List<api.IpMapping> o) { |
| 306 unittest.expect(o, unittest.hasLength(2)); | 306 unittest.expect(o, unittest.hasLength(2)); |
| 307 checkIpMapping(o[0]); | 307 checkIpMapping(o[0]); |
| 308 checkIpMapping(o[1]); | 308 checkIpMapping(o[1]); |
| 309 } | 309 } |
| 310 | 310 |
| 311 buildUnnamed2998() { | 311 buildUnnamed3343() { |
| 312 var o = new core.List<core.String>(); | 312 var o = new core.List<core.String>(); |
| 313 o.add("foo"); | 313 o.add("foo"); |
| 314 o.add("foo"); | 314 o.add("foo"); |
| 315 return o; | 315 return o; |
| 316 } | 316 } |
| 317 | 317 |
| 318 checkUnnamed2998(core.List<core.String> o) { | 318 checkUnnamed3343(core.List<core.String> o) { |
| 319 unittest.expect(o, unittest.hasLength(2)); | 319 unittest.expect(o, unittest.hasLength(2)); |
| 320 unittest.expect(o[0], unittest.equals('foo')); | 320 unittest.expect(o[0], unittest.equals('foo')); |
| 321 unittest.expect(o[1], unittest.equals('foo')); | 321 unittest.expect(o[1], unittest.equals('foo')); |
| 322 } |
| 323 |
| 324 buildUnnamed3344() { |
| 325 var o = new core.List<core.String>(); |
| 326 o.add("foo"); |
| 327 o.add("foo"); |
| 328 return o; |
| 329 } |
| 330 |
| 331 checkUnnamed3344(core.List<core.String> o) { |
| 332 unittest.expect(o, unittest.hasLength(2)); |
| 333 unittest.expect(o[0], unittest.equals('foo')); |
| 334 unittest.expect(o[1], unittest.equals('foo')); |
| 322 } | 335 } |
| 323 | 336 |
| 324 core.int buildCounterDatabaseInstance = 0; | 337 core.int buildCounterDatabaseInstance = 0; |
| 325 buildDatabaseInstance() { | 338 buildDatabaseInstance() { |
| 326 var o = new api.DatabaseInstance(); | 339 var o = new api.DatabaseInstance(); |
| 327 buildCounterDatabaseInstance++; | 340 buildCounterDatabaseInstance++; |
| 328 if (buildCounterDatabaseInstance < 3) { | 341 if (buildCounterDatabaseInstance < 3) { |
| 342 o.backendType = "foo"; |
| 329 o.currentDiskSize = "foo"; | 343 o.currentDiskSize = "foo"; |
| 330 o.databaseVersion = "foo"; | 344 o.databaseVersion = "foo"; |
| 331 o.etag = "foo"; | 345 o.etag = "foo"; |
| 332 o.failoverReplica = buildDatabaseInstanceFailoverReplica(); | 346 o.failoverReplica = buildDatabaseInstanceFailoverReplica(); |
| 333 o.instanceType = "foo"; | 347 o.instanceType = "foo"; |
| 334 o.ipAddresses = buildUnnamed2997(); | 348 o.ipAddresses = buildUnnamed3342(); |
| 335 o.ipv6Address = "foo"; | 349 o.ipv6Address = "foo"; |
| 336 o.kind = "foo"; | 350 o.kind = "foo"; |
| 337 o.masterInstanceName = "foo"; | 351 o.masterInstanceName = "foo"; |
| 338 o.maxDiskSize = "foo"; | 352 o.maxDiskSize = "foo"; |
| 339 o.name = "foo"; | 353 o.name = "foo"; |
| 340 o.onPremisesConfiguration = buildOnPremisesConfiguration(); | 354 o.onPremisesConfiguration = buildOnPremisesConfiguration(); |
| 341 o.project = "foo"; | 355 o.project = "foo"; |
| 342 o.region = "foo"; | 356 o.region = "foo"; |
| 343 o.replicaConfiguration = buildReplicaConfiguration(); | 357 o.replicaConfiguration = buildReplicaConfiguration(); |
| 344 o.replicaNames = buildUnnamed2998(); | 358 o.replicaNames = buildUnnamed3343(); |
| 345 o.selfLink = "foo"; | 359 o.selfLink = "foo"; |
| 346 o.serverCaCert = buildSslCert(); | 360 o.serverCaCert = buildSslCert(); |
| 347 o.serviceAccountEmailAddress = "foo"; | 361 o.serviceAccountEmailAddress = "foo"; |
| 348 o.settings = buildSettings(); | 362 o.settings = buildSettings(); |
| 349 o.state = "foo"; | 363 o.state = "foo"; |
| 364 o.suspensionReason = buildUnnamed3344(); |
| 350 } | 365 } |
| 351 buildCounterDatabaseInstance--; | 366 buildCounterDatabaseInstance--; |
| 352 return o; | 367 return o; |
| 353 } | 368 } |
| 354 | 369 |
| 355 checkDatabaseInstance(api.DatabaseInstance o) { | 370 checkDatabaseInstance(api.DatabaseInstance o) { |
| 356 buildCounterDatabaseInstance++; | 371 buildCounterDatabaseInstance++; |
| 357 if (buildCounterDatabaseInstance < 3) { | 372 if (buildCounterDatabaseInstance < 3) { |
| 373 unittest.expect(o.backendType, unittest.equals('foo')); |
| 358 unittest.expect(o.currentDiskSize, unittest.equals('foo')); | 374 unittest.expect(o.currentDiskSize, unittest.equals('foo')); |
| 359 unittest.expect(o.databaseVersion, unittest.equals('foo')); | 375 unittest.expect(o.databaseVersion, unittest.equals('foo')); |
| 360 unittest.expect(o.etag, unittest.equals('foo')); | 376 unittest.expect(o.etag, unittest.equals('foo')); |
| 361 checkDatabaseInstanceFailoverReplica(o.failoverReplica); | 377 checkDatabaseInstanceFailoverReplica(o.failoverReplica); |
| 362 unittest.expect(o.instanceType, unittest.equals('foo')); | 378 unittest.expect(o.instanceType, unittest.equals('foo')); |
| 363 checkUnnamed2997(o.ipAddresses); | 379 checkUnnamed3342(o.ipAddresses); |
| 364 unittest.expect(o.ipv6Address, unittest.equals('foo')); | 380 unittest.expect(o.ipv6Address, unittest.equals('foo')); |
| 365 unittest.expect(o.kind, unittest.equals('foo')); | 381 unittest.expect(o.kind, unittest.equals('foo')); |
| 366 unittest.expect(o.masterInstanceName, unittest.equals('foo')); | 382 unittest.expect(o.masterInstanceName, unittest.equals('foo')); |
| 367 unittest.expect(o.maxDiskSize, unittest.equals('foo')); | 383 unittest.expect(o.maxDiskSize, unittest.equals('foo')); |
| 368 unittest.expect(o.name, unittest.equals('foo')); | 384 unittest.expect(o.name, unittest.equals('foo')); |
| 369 checkOnPremisesConfiguration(o.onPremisesConfiguration); | 385 checkOnPremisesConfiguration(o.onPremisesConfiguration); |
| 370 unittest.expect(o.project, unittest.equals('foo')); | 386 unittest.expect(o.project, unittest.equals('foo')); |
| 371 unittest.expect(o.region, unittest.equals('foo')); | 387 unittest.expect(o.region, unittest.equals('foo')); |
| 372 checkReplicaConfiguration(o.replicaConfiguration); | 388 checkReplicaConfiguration(o.replicaConfiguration); |
| 373 checkUnnamed2998(o.replicaNames); | 389 checkUnnamed3343(o.replicaNames); |
| 374 unittest.expect(o.selfLink, unittest.equals('foo')); | 390 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 375 checkSslCert(o.serverCaCert); | 391 checkSslCert(o.serverCaCert); |
| 376 unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo')); | 392 unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo')); |
| 377 checkSettings(o.settings); | 393 checkSettings(o.settings); |
| 378 unittest.expect(o.state, unittest.equals('foo')); | 394 unittest.expect(o.state, unittest.equals('foo')); |
| 395 checkUnnamed3344(o.suspensionReason); |
| 379 } | 396 } |
| 380 buildCounterDatabaseInstance--; | 397 buildCounterDatabaseInstance--; |
| 381 } | 398 } |
| 382 | 399 |
| 383 buildUnnamed2999() { | 400 buildUnnamed3345() { |
| 384 var o = new core.List<api.Database>(); | 401 var o = new core.List<api.Database>(); |
| 385 o.add(buildDatabase()); | 402 o.add(buildDatabase()); |
| 386 o.add(buildDatabase()); | 403 o.add(buildDatabase()); |
| 387 return o; | 404 return o; |
| 388 } | 405 } |
| 389 | 406 |
| 390 checkUnnamed2999(core.List<api.Database> o) { | 407 checkUnnamed3345(core.List<api.Database> o) { |
| 391 unittest.expect(o, unittest.hasLength(2)); | 408 unittest.expect(o, unittest.hasLength(2)); |
| 392 checkDatabase(o[0]); | 409 checkDatabase(o[0]); |
| 393 checkDatabase(o[1]); | 410 checkDatabase(o[1]); |
| 394 } | 411 } |
| 395 | 412 |
| 396 core.int buildCounterDatabasesListResponse = 0; | 413 core.int buildCounterDatabasesListResponse = 0; |
| 397 buildDatabasesListResponse() { | 414 buildDatabasesListResponse() { |
| 398 var o = new api.DatabasesListResponse(); | 415 var o = new api.DatabasesListResponse(); |
| 399 buildCounterDatabasesListResponse++; | 416 buildCounterDatabasesListResponse++; |
| 400 if (buildCounterDatabasesListResponse < 3) { | 417 if (buildCounterDatabasesListResponse < 3) { |
| 401 o.items = buildUnnamed2999(); | 418 o.items = buildUnnamed3345(); |
| 402 o.kind = "foo"; | 419 o.kind = "foo"; |
| 403 } | 420 } |
| 404 buildCounterDatabasesListResponse--; | 421 buildCounterDatabasesListResponse--; |
| 405 return o; | 422 return o; |
| 406 } | 423 } |
| 407 | 424 |
| 408 checkDatabasesListResponse(api.DatabasesListResponse o) { | 425 checkDatabasesListResponse(api.DatabasesListResponse o) { |
| 409 buildCounterDatabasesListResponse++; | 426 buildCounterDatabasesListResponse++; |
| 410 if (buildCounterDatabasesListResponse < 3) { | 427 if (buildCounterDatabasesListResponse < 3) { |
| 411 checkUnnamed2999(o.items); | 428 checkUnnamed3345(o.items); |
| 412 unittest.expect(o.kind, unittest.equals('foo')); | 429 unittest.expect(o.kind, unittest.equals('foo')); |
| 413 } | 430 } |
| 414 buildCounterDatabasesListResponse--; | 431 buildCounterDatabasesListResponse--; |
| 415 } | 432 } |
| 416 | 433 |
| 417 core.int buildCounterExportContextCsvExportOptions = 0; | 434 core.int buildCounterExportContextCsvExportOptions = 0; |
| 418 buildExportContextCsvExportOptions() { | 435 buildExportContextCsvExportOptions() { |
| 419 var o = new api.ExportContextCsvExportOptions(); | 436 var o = new api.ExportContextCsvExportOptions(); |
| 420 buildCounterExportContextCsvExportOptions++; | 437 buildCounterExportContextCsvExportOptions++; |
| 421 if (buildCounterExportContextCsvExportOptions < 3) { | 438 if (buildCounterExportContextCsvExportOptions < 3) { |
| 422 o.selectQuery = "foo"; | 439 o.selectQuery = "foo"; |
| 423 } | 440 } |
| 424 buildCounterExportContextCsvExportOptions--; | 441 buildCounterExportContextCsvExportOptions--; |
| 425 return o; | 442 return o; |
| 426 } | 443 } |
| 427 | 444 |
| 428 checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { | 445 checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { |
| 429 buildCounterExportContextCsvExportOptions++; | 446 buildCounterExportContextCsvExportOptions++; |
| 430 if (buildCounterExportContextCsvExportOptions < 3) { | 447 if (buildCounterExportContextCsvExportOptions < 3) { |
| 431 unittest.expect(o.selectQuery, unittest.equals('foo')); | 448 unittest.expect(o.selectQuery, unittest.equals('foo')); |
| 432 } | 449 } |
| 433 buildCounterExportContextCsvExportOptions--; | 450 buildCounterExportContextCsvExportOptions--; |
| 434 } | 451 } |
| 435 | 452 |
| 436 buildUnnamed3000() { | 453 buildUnnamed3346() { |
| 437 var o = new core.List<core.String>(); | 454 var o = new core.List<core.String>(); |
| 438 o.add("foo"); | 455 o.add("foo"); |
| 439 o.add("foo"); | 456 o.add("foo"); |
| 440 return o; | 457 return o; |
| 441 } | 458 } |
| 442 | 459 |
| 443 checkUnnamed3000(core.List<core.String> o) { | 460 checkUnnamed3346(core.List<core.String> o) { |
| 444 unittest.expect(o, unittest.hasLength(2)); | 461 unittest.expect(o, unittest.hasLength(2)); |
| 445 unittest.expect(o[0], unittest.equals('foo')); | 462 unittest.expect(o[0], unittest.equals('foo')); |
| 446 unittest.expect(o[1], unittest.equals('foo')); | 463 unittest.expect(o[1], unittest.equals('foo')); |
| 447 } | 464 } |
| 448 | 465 |
| 449 buildUnnamed3001() { | 466 buildUnnamed3347() { |
| 450 var o = new core.List<core.String>(); | 467 var o = new core.List<core.String>(); |
| 451 o.add("foo"); | 468 o.add("foo"); |
| 452 o.add("foo"); | 469 o.add("foo"); |
| 453 return o; | 470 return o; |
| 454 } | 471 } |
| 455 | 472 |
| 456 checkUnnamed3001(core.List<core.String> o) { | 473 checkUnnamed3347(core.List<core.String> o) { |
| 457 unittest.expect(o, unittest.hasLength(2)); | 474 unittest.expect(o, unittest.hasLength(2)); |
| 458 unittest.expect(o[0], unittest.equals('foo')); | 475 unittest.expect(o[0], unittest.equals('foo')); |
| 459 unittest.expect(o[1], unittest.equals('foo')); | 476 unittest.expect(o[1], unittest.equals('foo')); |
| 460 } | 477 } |
| 461 | 478 |
| 462 core.int buildCounterExportContextSqlExportOptions = 0; | 479 core.int buildCounterExportContextSqlExportOptions = 0; |
| 463 buildExportContextSqlExportOptions() { | 480 buildExportContextSqlExportOptions() { |
| 464 var o = new api.ExportContextSqlExportOptions(); | 481 var o = new api.ExportContextSqlExportOptions(); |
| 465 buildCounterExportContextSqlExportOptions++; | 482 buildCounterExportContextSqlExportOptions++; |
| 466 if (buildCounterExportContextSqlExportOptions < 3) { | 483 if (buildCounterExportContextSqlExportOptions < 3) { |
| 467 o.schemaOnly = true; | 484 o.schemaOnly = true; |
| 468 o.tables = buildUnnamed3001(); | 485 o.tables = buildUnnamed3347(); |
| 469 } | 486 } |
| 470 buildCounterExportContextSqlExportOptions--; | 487 buildCounterExportContextSqlExportOptions--; |
| 471 return o; | 488 return o; |
| 472 } | 489 } |
| 473 | 490 |
| 474 checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { | 491 checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { |
| 475 buildCounterExportContextSqlExportOptions++; | 492 buildCounterExportContextSqlExportOptions++; |
| 476 if (buildCounterExportContextSqlExportOptions < 3) { | 493 if (buildCounterExportContextSqlExportOptions < 3) { |
| 477 unittest.expect(o.schemaOnly, unittest.isTrue); | 494 unittest.expect(o.schemaOnly, unittest.isTrue); |
| 478 checkUnnamed3001(o.tables); | 495 checkUnnamed3347(o.tables); |
| 479 } | 496 } |
| 480 buildCounterExportContextSqlExportOptions--; | 497 buildCounterExportContextSqlExportOptions--; |
| 481 } | 498 } |
| 482 | 499 |
| 483 core.int buildCounterExportContext = 0; | 500 core.int buildCounterExportContext = 0; |
| 484 buildExportContext() { | 501 buildExportContext() { |
| 485 var o = new api.ExportContext(); | 502 var o = new api.ExportContext(); |
| 486 buildCounterExportContext++; | 503 buildCounterExportContext++; |
| 487 if (buildCounterExportContext < 3) { | 504 if (buildCounterExportContext < 3) { |
| 488 o.csvExportOptions = buildExportContextCsvExportOptions(); | 505 o.csvExportOptions = buildExportContextCsvExportOptions(); |
| 489 o.databases = buildUnnamed3000(); | 506 o.databases = buildUnnamed3346(); |
| 490 o.fileType = "foo"; | 507 o.fileType = "foo"; |
| 491 o.kind = "foo"; | 508 o.kind = "foo"; |
| 492 o.sqlExportOptions = buildExportContextSqlExportOptions(); | 509 o.sqlExportOptions = buildExportContextSqlExportOptions(); |
| 493 o.uri = "foo"; | 510 o.uri = "foo"; |
| 494 } | 511 } |
| 495 buildCounterExportContext--; | 512 buildCounterExportContext--; |
| 496 return o; | 513 return o; |
| 497 } | 514 } |
| 498 | 515 |
| 499 checkExportContext(api.ExportContext o) { | 516 checkExportContext(api.ExportContext o) { |
| 500 buildCounterExportContext++; | 517 buildCounterExportContext++; |
| 501 if (buildCounterExportContext < 3) { | 518 if (buildCounterExportContext < 3) { |
| 502 checkExportContextCsvExportOptions(o.csvExportOptions); | 519 checkExportContextCsvExportOptions(o.csvExportOptions); |
| 503 checkUnnamed3000(o.databases); | 520 checkUnnamed3346(o.databases); |
| 504 unittest.expect(o.fileType, unittest.equals('foo')); | 521 unittest.expect(o.fileType, unittest.equals('foo')); |
| 505 unittest.expect(o.kind, unittest.equals('foo')); | 522 unittest.expect(o.kind, unittest.equals('foo')); |
| 506 checkExportContextSqlExportOptions(o.sqlExportOptions); | 523 checkExportContextSqlExportOptions(o.sqlExportOptions); |
| 507 unittest.expect(o.uri, unittest.equals('foo')); | 524 unittest.expect(o.uri, unittest.equals('foo')); |
| 508 } | 525 } |
| 509 buildCounterExportContext--; | 526 buildCounterExportContext--; |
| 510 } | 527 } |
| 511 | 528 |
| 512 core.int buildCounterFailoverContext = 0; | 529 core.int buildCounterFailoverContext = 0; |
| 513 buildFailoverContext() { | 530 buildFailoverContext() { |
| 514 var o = new api.FailoverContext(); | 531 var o = new api.FailoverContext(); |
| 515 buildCounterFailoverContext++; | 532 buildCounterFailoverContext++; |
| 516 if (buildCounterFailoverContext < 3) { | 533 if (buildCounterFailoverContext < 3) { |
| 517 o.kind = "foo"; | 534 o.kind = "foo"; |
| 518 o.settingsVersion = "foo"; | 535 o.settingsVersion = "foo"; |
| 519 } | 536 } |
| 520 buildCounterFailoverContext--; | 537 buildCounterFailoverContext--; |
| 521 return o; | 538 return o; |
| 522 } | 539 } |
| 523 | 540 |
| 524 checkFailoverContext(api.FailoverContext o) { | 541 checkFailoverContext(api.FailoverContext o) { |
| 525 buildCounterFailoverContext++; | 542 buildCounterFailoverContext++; |
| 526 if (buildCounterFailoverContext < 3) { | 543 if (buildCounterFailoverContext < 3) { |
| 527 unittest.expect(o.kind, unittest.equals('foo')); | 544 unittest.expect(o.kind, unittest.equals('foo')); |
| 528 unittest.expect(o.settingsVersion, unittest.equals('foo')); | 545 unittest.expect(o.settingsVersion, unittest.equals('foo')); |
| 529 } | 546 } |
| 530 buildCounterFailoverContext--; | 547 buildCounterFailoverContext--; |
| 531 } | 548 } |
| 532 | 549 |
| 533 buildUnnamed3002() { | 550 buildUnnamed3348() { |
| 534 var o = new core.List<core.String>(); | 551 var o = new core.List<core.String>(); |
| 535 o.add("foo"); | 552 o.add("foo"); |
| 536 o.add("foo"); | 553 o.add("foo"); |
| 537 return o; | 554 return o; |
| 538 } | 555 } |
| 539 | 556 |
| 540 checkUnnamed3002(core.List<core.String> o) { | 557 checkUnnamed3348(core.List<core.String> o) { |
| 541 unittest.expect(o, unittest.hasLength(2)); | 558 unittest.expect(o, unittest.hasLength(2)); |
| 542 unittest.expect(o[0], unittest.equals('foo')); | 559 unittest.expect(o[0], unittest.equals('foo')); |
| 543 unittest.expect(o[1], unittest.equals('foo')); | 560 unittest.expect(o[1], unittest.equals('foo')); |
| 544 } | 561 } |
| 545 | 562 |
| 546 buildUnnamed3003() { | 563 buildUnnamed3349() { |
| 547 var o = new core.List<core.String>(); | 564 var o = new core.List<core.String>(); |
| 548 o.add("foo"); | 565 o.add("foo"); |
| 549 o.add("foo"); | 566 o.add("foo"); |
| 550 return o; | 567 return o; |
| 551 } | 568 } |
| 552 | 569 |
| 553 checkUnnamed3003(core.List<core.String> o) { | 570 checkUnnamed3349(core.List<core.String> o) { |
| 554 unittest.expect(o, unittest.hasLength(2)); | 571 unittest.expect(o, unittest.hasLength(2)); |
| 555 unittest.expect(o[0], unittest.equals('foo')); | 572 unittest.expect(o[0], unittest.equals('foo')); |
| 556 unittest.expect(o[1], unittest.equals('foo')); | 573 unittest.expect(o[1], unittest.equals('foo')); |
| 557 } | 574 } |
| 558 | 575 |
| 559 core.int buildCounterFlag = 0; | 576 core.int buildCounterFlag = 0; |
| 560 buildFlag() { | 577 buildFlag() { |
| 561 var o = new api.Flag(); | 578 var o = new api.Flag(); |
| 562 buildCounterFlag++; | 579 buildCounterFlag++; |
| 563 if (buildCounterFlag < 3) { | 580 if (buildCounterFlag < 3) { |
| 564 o.allowedStringValues = buildUnnamed3002(); | 581 o.allowedStringValues = buildUnnamed3348(); |
| 565 o.appliesTo = buildUnnamed3003(); | 582 o.appliesTo = buildUnnamed3349(); |
| 566 o.kind = "foo"; | 583 o.kind = "foo"; |
| 567 o.maxValue = "foo"; | 584 o.maxValue = "foo"; |
| 568 o.minValue = "foo"; | 585 o.minValue = "foo"; |
| 569 o.name = "foo"; | 586 o.name = "foo"; |
| 570 o.requiresRestart = true; | 587 o.requiresRestart = true; |
| 571 o.type = "foo"; | 588 o.type = "foo"; |
| 572 } | 589 } |
| 573 buildCounterFlag--; | 590 buildCounterFlag--; |
| 574 return o; | 591 return o; |
| 575 } | 592 } |
| 576 | 593 |
| 577 checkFlag(api.Flag o) { | 594 checkFlag(api.Flag o) { |
| 578 buildCounterFlag++; | 595 buildCounterFlag++; |
| 579 if (buildCounterFlag < 3) { | 596 if (buildCounterFlag < 3) { |
| 580 checkUnnamed3002(o.allowedStringValues); | 597 checkUnnamed3348(o.allowedStringValues); |
| 581 checkUnnamed3003(o.appliesTo); | 598 checkUnnamed3349(o.appliesTo); |
| 582 unittest.expect(o.kind, unittest.equals('foo')); | 599 unittest.expect(o.kind, unittest.equals('foo')); |
| 583 unittest.expect(o.maxValue, unittest.equals('foo')); | 600 unittest.expect(o.maxValue, unittest.equals('foo')); |
| 584 unittest.expect(o.minValue, unittest.equals('foo')); | 601 unittest.expect(o.minValue, unittest.equals('foo')); |
| 585 unittest.expect(o.name, unittest.equals('foo')); | 602 unittest.expect(o.name, unittest.equals('foo')); |
| 586 unittest.expect(o.requiresRestart, unittest.isTrue); | 603 unittest.expect(o.requiresRestart, unittest.isTrue); |
| 587 unittest.expect(o.type, unittest.equals('foo')); | 604 unittest.expect(o.type, unittest.equals('foo')); |
| 588 } | 605 } |
| 589 buildCounterFlag--; | 606 buildCounterFlag--; |
| 590 } | 607 } |
| 591 | 608 |
| 592 buildUnnamed3004() { | 609 buildUnnamed3350() { |
| 593 var o = new core.List<api.Flag>(); | 610 var o = new core.List<api.Flag>(); |
| 594 o.add(buildFlag()); | 611 o.add(buildFlag()); |
| 595 o.add(buildFlag()); | 612 o.add(buildFlag()); |
| 596 return o; | 613 return o; |
| 597 } | 614 } |
| 598 | 615 |
| 599 checkUnnamed3004(core.List<api.Flag> o) { | 616 checkUnnamed3350(core.List<api.Flag> o) { |
| 600 unittest.expect(o, unittest.hasLength(2)); | 617 unittest.expect(o, unittest.hasLength(2)); |
| 601 checkFlag(o[0]); | 618 checkFlag(o[0]); |
| 602 checkFlag(o[1]); | 619 checkFlag(o[1]); |
| 603 } | 620 } |
| 604 | 621 |
| 605 core.int buildCounterFlagsListResponse = 0; | 622 core.int buildCounterFlagsListResponse = 0; |
| 606 buildFlagsListResponse() { | 623 buildFlagsListResponse() { |
| 607 var o = new api.FlagsListResponse(); | 624 var o = new api.FlagsListResponse(); |
| 608 buildCounterFlagsListResponse++; | 625 buildCounterFlagsListResponse++; |
| 609 if (buildCounterFlagsListResponse < 3) { | 626 if (buildCounterFlagsListResponse < 3) { |
| 610 o.items = buildUnnamed3004(); | 627 o.items = buildUnnamed3350(); |
| 611 o.kind = "foo"; | 628 o.kind = "foo"; |
| 612 } | 629 } |
| 613 buildCounterFlagsListResponse--; | 630 buildCounterFlagsListResponse--; |
| 614 return o; | 631 return o; |
| 615 } | 632 } |
| 616 | 633 |
| 617 checkFlagsListResponse(api.FlagsListResponse o) { | 634 checkFlagsListResponse(api.FlagsListResponse o) { |
| 618 buildCounterFlagsListResponse++; | 635 buildCounterFlagsListResponse++; |
| 619 if (buildCounterFlagsListResponse < 3) { | 636 if (buildCounterFlagsListResponse < 3) { |
| 620 checkUnnamed3004(o.items); | 637 checkUnnamed3350(o.items); |
| 621 unittest.expect(o.kind, unittest.equals('foo')); | 638 unittest.expect(o.kind, unittest.equals('foo')); |
| 622 } | 639 } |
| 623 buildCounterFlagsListResponse--; | 640 buildCounterFlagsListResponse--; |
| 624 } | 641 } |
| 625 | 642 |
| 626 buildUnnamed3005() { | 643 buildUnnamed3351() { |
| 627 var o = new core.List<core.String>(); | 644 var o = new core.List<core.String>(); |
| 628 o.add("foo"); | 645 o.add("foo"); |
| 629 o.add("foo"); | 646 o.add("foo"); |
| 630 return o; | 647 return o; |
| 631 } | 648 } |
| 632 | 649 |
| 633 checkUnnamed3005(core.List<core.String> o) { | 650 checkUnnamed3351(core.List<core.String> o) { |
| 634 unittest.expect(o, unittest.hasLength(2)); | 651 unittest.expect(o, unittest.hasLength(2)); |
| 635 unittest.expect(o[0], unittest.equals('foo')); | 652 unittest.expect(o[0], unittest.equals('foo')); |
| 636 unittest.expect(o[1], unittest.equals('foo')); | 653 unittest.expect(o[1], unittest.equals('foo')); |
| 637 } | 654 } |
| 638 | 655 |
| 639 core.int buildCounterImportContextCsvImportOptions = 0; | 656 core.int buildCounterImportContextCsvImportOptions = 0; |
| 640 buildImportContextCsvImportOptions() { | 657 buildImportContextCsvImportOptions() { |
| 641 var o = new api.ImportContextCsvImportOptions(); | 658 var o = new api.ImportContextCsvImportOptions(); |
| 642 buildCounterImportContextCsvImportOptions++; | 659 buildCounterImportContextCsvImportOptions++; |
| 643 if (buildCounterImportContextCsvImportOptions < 3) { | 660 if (buildCounterImportContextCsvImportOptions < 3) { |
| 644 o.columns = buildUnnamed3005(); | 661 o.columns = buildUnnamed3351(); |
| 645 o.table = "foo"; | 662 o.table = "foo"; |
| 646 } | 663 } |
| 647 buildCounterImportContextCsvImportOptions--; | 664 buildCounterImportContextCsvImportOptions--; |
| 648 return o; | 665 return o; |
| 649 } | 666 } |
| 650 | 667 |
| 651 checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { | 668 checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { |
| 652 buildCounterImportContextCsvImportOptions++; | 669 buildCounterImportContextCsvImportOptions++; |
| 653 if (buildCounterImportContextCsvImportOptions < 3) { | 670 if (buildCounterImportContextCsvImportOptions < 3) { |
| 654 checkUnnamed3005(o.columns); | 671 checkUnnamed3351(o.columns); |
| 655 unittest.expect(o.table, unittest.equals('foo')); | 672 unittest.expect(o.table, unittest.equals('foo')); |
| 656 } | 673 } |
| 657 buildCounterImportContextCsvImportOptions--; | 674 buildCounterImportContextCsvImportOptions--; |
| 658 } | 675 } |
| 659 | 676 |
| 660 core.int buildCounterImportContext = 0; | 677 core.int buildCounterImportContext = 0; |
| 661 buildImportContext() { | 678 buildImportContext() { |
| 662 var o = new api.ImportContext(); | 679 var o = new api.ImportContext(); |
| 663 buildCounterImportContext++; | 680 buildCounterImportContext++; |
| 664 if (buildCounterImportContext < 3) { | 681 if (buildCounterImportContext < 3) { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 } | 770 } |
| 754 | 771 |
| 755 checkInstancesImportRequest(api.InstancesImportRequest o) { | 772 checkInstancesImportRequest(api.InstancesImportRequest o) { |
| 756 buildCounterInstancesImportRequest++; | 773 buildCounterInstancesImportRequest++; |
| 757 if (buildCounterInstancesImportRequest < 3) { | 774 if (buildCounterInstancesImportRequest < 3) { |
| 758 checkImportContext(o.importContext); | 775 checkImportContext(o.importContext); |
| 759 } | 776 } |
| 760 buildCounterInstancesImportRequest--; | 777 buildCounterInstancesImportRequest--; |
| 761 } | 778 } |
| 762 | 779 |
| 763 buildUnnamed3006() { | 780 buildUnnamed3352() { |
| 764 var o = new core.List<api.DatabaseInstance>(); | 781 var o = new core.List<api.DatabaseInstance>(); |
| 765 o.add(buildDatabaseInstance()); | 782 o.add(buildDatabaseInstance()); |
| 766 o.add(buildDatabaseInstance()); | 783 o.add(buildDatabaseInstance()); |
| 767 return o; | 784 return o; |
| 768 } | 785 } |
| 769 | 786 |
| 770 checkUnnamed3006(core.List<api.DatabaseInstance> o) { | 787 checkUnnamed3352(core.List<api.DatabaseInstance> o) { |
| 771 unittest.expect(o, unittest.hasLength(2)); | 788 unittest.expect(o, unittest.hasLength(2)); |
| 772 checkDatabaseInstance(o[0]); | 789 checkDatabaseInstance(o[0]); |
| 773 checkDatabaseInstance(o[1]); | 790 checkDatabaseInstance(o[1]); |
| 774 } | 791 } |
| 775 | 792 |
| 776 core.int buildCounterInstancesListResponse = 0; | 793 core.int buildCounterInstancesListResponse = 0; |
| 777 buildInstancesListResponse() { | 794 buildInstancesListResponse() { |
| 778 var o = new api.InstancesListResponse(); | 795 var o = new api.InstancesListResponse(); |
| 779 buildCounterInstancesListResponse++; | 796 buildCounterInstancesListResponse++; |
| 780 if (buildCounterInstancesListResponse < 3) { | 797 if (buildCounterInstancesListResponse < 3) { |
| 781 o.items = buildUnnamed3006(); | 798 o.items = buildUnnamed3352(); |
| 782 o.kind = "foo"; | 799 o.kind = "foo"; |
| 783 o.nextPageToken = "foo"; | 800 o.nextPageToken = "foo"; |
| 784 } | 801 } |
| 785 buildCounterInstancesListResponse--; | 802 buildCounterInstancesListResponse--; |
| 786 return o; | 803 return o; |
| 787 } | 804 } |
| 788 | 805 |
| 789 checkInstancesListResponse(api.InstancesListResponse o) { | 806 checkInstancesListResponse(api.InstancesListResponse o) { |
| 790 buildCounterInstancesListResponse++; | 807 buildCounterInstancesListResponse++; |
| 791 if (buildCounterInstancesListResponse < 3) { | 808 if (buildCounterInstancesListResponse < 3) { |
| 792 checkUnnamed3006(o.items); | 809 checkUnnamed3352(o.items); |
| 793 unittest.expect(o.kind, unittest.equals('foo')); | 810 unittest.expect(o.kind, unittest.equals('foo')); |
| 794 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 811 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 795 } | 812 } |
| 796 buildCounterInstancesListResponse--; | 813 buildCounterInstancesListResponse--; |
| 797 } | 814 } |
| 798 | 815 |
| 799 core.int buildCounterInstancesRestoreBackupRequest = 0; | 816 core.int buildCounterInstancesRestoreBackupRequest = 0; |
| 800 buildInstancesRestoreBackupRequest() { | 817 buildInstancesRestoreBackupRequest() { |
| 801 var o = new api.InstancesRestoreBackupRequest(); | 818 var o = new api.InstancesRestoreBackupRequest(); |
| 802 buildCounterInstancesRestoreBackupRequest++; | 819 buildCounterInstancesRestoreBackupRequest++; |
| 803 if (buildCounterInstancesRestoreBackupRequest < 3) { | 820 if (buildCounterInstancesRestoreBackupRequest < 3) { |
| 804 o.restoreBackupContext = buildRestoreBackupContext(); | 821 o.restoreBackupContext = buildRestoreBackupContext(); |
| 805 } | 822 } |
| 806 buildCounterInstancesRestoreBackupRequest--; | 823 buildCounterInstancesRestoreBackupRequest--; |
| 807 return o; | 824 return o; |
| 808 } | 825 } |
| 809 | 826 |
| 810 checkInstancesRestoreBackupRequest(api.InstancesRestoreBackupRequest o) { | 827 checkInstancesRestoreBackupRequest(api.InstancesRestoreBackupRequest o) { |
| 811 buildCounterInstancesRestoreBackupRequest++; | 828 buildCounterInstancesRestoreBackupRequest++; |
| 812 if (buildCounterInstancesRestoreBackupRequest < 3) { | 829 if (buildCounterInstancesRestoreBackupRequest < 3) { |
| 813 checkRestoreBackupContext(o.restoreBackupContext); | 830 checkRestoreBackupContext(o.restoreBackupContext); |
| 814 } | 831 } |
| 815 buildCounterInstancesRestoreBackupRequest--; | 832 buildCounterInstancesRestoreBackupRequest--; |
| 816 } | 833 } |
| 817 | 834 |
| 818 buildUnnamed3007() { | 835 buildUnnamed3353() { |
| 819 var o = new core.List<api.AclEntry>(); | 836 var o = new core.List<api.AclEntry>(); |
| 820 o.add(buildAclEntry()); | 837 o.add(buildAclEntry()); |
| 821 o.add(buildAclEntry()); | 838 o.add(buildAclEntry()); |
| 822 return o; | 839 return o; |
| 823 } | 840 } |
| 824 | 841 |
| 825 checkUnnamed3007(core.List<api.AclEntry> o) { | 842 checkUnnamed3353(core.List<api.AclEntry> o) { |
| 826 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
| 827 checkAclEntry(o[0]); | 844 checkAclEntry(o[0]); |
| 828 checkAclEntry(o[1]); | 845 checkAclEntry(o[1]); |
| 829 } | 846 } |
| 830 | 847 |
| 831 core.int buildCounterIpConfiguration = 0; | 848 core.int buildCounterIpConfiguration = 0; |
| 832 buildIpConfiguration() { | 849 buildIpConfiguration() { |
| 833 var o = new api.IpConfiguration(); | 850 var o = new api.IpConfiguration(); |
| 834 buildCounterIpConfiguration++; | 851 buildCounterIpConfiguration++; |
| 835 if (buildCounterIpConfiguration < 3) { | 852 if (buildCounterIpConfiguration < 3) { |
| 836 o.authorizedNetworks = buildUnnamed3007(); | 853 o.authorizedNetworks = buildUnnamed3353(); |
| 837 o.ipv4Enabled = true; | 854 o.ipv4Enabled = true; |
| 838 o.requireSsl = true; | 855 o.requireSsl = true; |
| 839 } | 856 } |
| 840 buildCounterIpConfiguration--; | 857 buildCounterIpConfiguration--; |
| 841 return o; | 858 return o; |
| 842 } | 859 } |
| 843 | 860 |
| 844 checkIpConfiguration(api.IpConfiguration o) { | 861 checkIpConfiguration(api.IpConfiguration o) { |
| 845 buildCounterIpConfiguration++; | 862 buildCounterIpConfiguration++; |
| 846 if (buildCounterIpConfiguration < 3) { | 863 if (buildCounterIpConfiguration < 3) { |
| 847 checkUnnamed3007(o.authorizedNetworks); | 864 checkUnnamed3353(o.authorizedNetworks); |
| 848 unittest.expect(o.ipv4Enabled, unittest.isTrue); | 865 unittest.expect(o.ipv4Enabled, unittest.isTrue); |
| 849 unittest.expect(o.requireSsl, unittest.isTrue); | 866 unittest.expect(o.requireSsl, unittest.isTrue); |
| 850 } | 867 } |
| 851 buildCounterIpConfiguration--; | 868 buildCounterIpConfiguration--; |
| 852 } | 869 } |
| 853 | 870 |
| 854 core.int buildCounterIpMapping = 0; | 871 core.int buildCounterIpMapping = 0; |
| 855 buildIpMapping() { | 872 buildIpMapping() { |
| 856 var o = new api.IpMapping(); | 873 var o = new api.IpMapping(); |
| 857 buildCounterIpMapping++; | 874 buildCounterIpMapping++; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 checkOperationError(api.OperationError o) { | 1060 checkOperationError(api.OperationError o) { |
| 1044 buildCounterOperationError++; | 1061 buildCounterOperationError++; |
| 1045 if (buildCounterOperationError < 3) { | 1062 if (buildCounterOperationError < 3) { |
| 1046 unittest.expect(o.code, unittest.equals('foo')); | 1063 unittest.expect(o.code, unittest.equals('foo')); |
| 1047 unittest.expect(o.kind, unittest.equals('foo')); | 1064 unittest.expect(o.kind, unittest.equals('foo')); |
| 1048 unittest.expect(o.message, unittest.equals('foo')); | 1065 unittest.expect(o.message, unittest.equals('foo')); |
| 1049 } | 1066 } |
| 1050 buildCounterOperationError--; | 1067 buildCounterOperationError--; |
| 1051 } | 1068 } |
| 1052 | 1069 |
| 1053 buildUnnamed3008() { | 1070 buildUnnamed3354() { |
| 1054 var o = new core.List<api.OperationError>(); | 1071 var o = new core.List<api.OperationError>(); |
| 1055 o.add(buildOperationError()); | 1072 o.add(buildOperationError()); |
| 1056 o.add(buildOperationError()); | 1073 o.add(buildOperationError()); |
| 1057 return o; | 1074 return o; |
| 1058 } | 1075 } |
| 1059 | 1076 |
| 1060 checkUnnamed3008(core.List<api.OperationError> o) { | 1077 checkUnnamed3354(core.List<api.OperationError> o) { |
| 1061 unittest.expect(o, unittest.hasLength(2)); | 1078 unittest.expect(o, unittest.hasLength(2)); |
| 1062 checkOperationError(o[0]); | 1079 checkOperationError(o[0]); |
| 1063 checkOperationError(o[1]); | 1080 checkOperationError(o[1]); |
| 1064 } | 1081 } |
| 1065 | 1082 |
| 1066 core.int buildCounterOperationErrors = 0; | 1083 core.int buildCounterOperationErrors = 0; |
| 1067 buildOperationErrors() { | 1084 buildOperationErrors() { |
| 1068 var o = new api.OperationErrors(); | 1085 var o = new api.OperationErrors(); |
| 1069 buildCounterOperationErrors++; | 1086 buildCounterOperationErrors++; |
| 1070 if (buildCounterOperationErrors < 3) { | 1087 if (buildCounterOperationErrors < 3) { |
| 1071 o.errors = buildUnnamed3008(); | 1088 o.errors = buildUnnamed3354(); |
| 1072 o.kind = "foo"; | 1089 o.kind = "foo"; |
| 1073 } | 1090 } |
| 1074 buildCounterOperationErrors--; | 1091 buildCounterOperationErrors--; |
| 1075 return o; | 1092 return o; |
| 1076 } | 1093 } |
| 1077 | 1094 |
| 1078 checkOperationErrors(api.OperationErrors o) { | 1095 checkOperationErrors(api.OperationErrors o) { |
| 1079 buildCounterOperationErrors++; | 1096 buildCounterOperationErrors++; |
| 1080 if (buildCounterOperationErrors < 3) { | 1097 if (buildCounterOperationErrors < 3) { |
| 1081 checkUnnamed3008(o.errors); | 1098 checkUnnamed3354(o.errors); |
| 1082 unittest.expect(o.kind, unittest.equals('foo')); | 1099 unittest.expect(o.kind, unittest.equals('foo')); |
| 1083 } | 1100 } |
| 1084 buildCounterOperationErrors--; | 1101 buildCounterOperationErrors--; |
| 1085 } | 1102 } |
| 1086 | 1103 |
| 1087 buildUnnamed3009() { | 1104 buildUnnamed3355() { |
| 1088 var o = new core.List<api.Operation>(); | 1105 var o = new core.List<api.Operation>(); |
| 1089 o.add(buildOperation()); | 1106 o.add(buildOperation()); |
| 1090 o.add(buildOperation()); | 1107 o.add(buildOperation()); |
| 1091 return o; | 1108 return o; |
| 1092 } | 1109 } |
| 1093 | 1110 |
| 1094 checkUnnamed3009(core.List<api.Operation> o) { | 1111 checkUnnamed3355(core.List<api.Operation> o) { |
| 1095 unittest.expect(o, unittest.hasLength(2)); | 1112 unittest.expect(o, unittest.hasLength(2)); |
| 1096 checkOperation(o[0]); | 1113 checkOperation(o[0]); |
| 1097 checkOperation(o[1]); | 1114 checkOperation(o[1]); |
| 1098 } | 1115 } |
| 1099 | 1116 |
| 1100 core.int buildCounterOperationsListResponse = 0; | 1117 core.int buildCounterOperationsListResponse = 0; |
| 1101 buildOperationsListResponse() { | 1118 buildOperationsListResponse() { |
| 1102 var o = new api.OperationsListResponse(); | 1119 var o = new api.OperationsListResponse(); |
| 1103 buildCounterOperationsListResponse++; | 1120 buildCounterOperationsListResponse++; |
| 1104 if (buildCounterOperationsListResponse < 3) { | 1121 if (buildCounterOperationsListResponse < 3) { |
| 1105 o.items = buildUnnamed3009(); | 1122 o.items = buildUnnamed3355(); |
| 1106 o.kind = "foo"; | 1123 o.kind = "foo"; |
| 1107 o.nextPageToken = "foo"; | 1124 o.nextPageToken = "foo"; |
| 1108 } | 1125 } |
| 1109 buildCounterOperationsListResponse--; | 1126 buildCounterOperationsListResponse--; |
| 1110 return o; | 1127 return o; |
| 1111 } | 1128 } |
| 1112 | 1129 |
| 1113 checkOperationsListResponse(api.OperationsListResponse o) { | 1130 checkOperationsListResponse(api.OperationsListResponse o) { |
| 1114 buildCounterOperationsListResponse++; | 1131 buildCounterOperationsListResponse++; |
| 1115 if (buildCounterOperationsListResponse < 3) { | 1132 if (buildCounterOperationsListResponse < 3) { |
| 1116 checkUnnamed3009(o.items); | 1133 checkUnnamed3355(o.items); |
| 1117 unittest.expect(o.kind, unittest.equals('foo')); | 1134 unittest.expect(o.kind, unittest.equals('foo')); |
| 1118 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1135 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1119 } | 1136 } |
| 1120 buildCounterOperationsListResponse--; | 1137 buildCounterOperationsListResponse--; |
| 1121 } | 1138 } |
| 1122 | 1139 |
| 1123 core.int buildCounterReplicaConfiguration = 0; | 1140 core.int buildCounterReplicaConfiguration = 0; |
| 1124 buildReplicaConfiguration() { | 1141 buildReplicaConfiguration() { |
| 1125 var o = new api.ReplicaConfiguration(); | 1142 var o = new api.ReplicaConfiguration(); |
| 1126 buildCounterReplicaConfiguration++; | 1143 buildCounterReplicaConfiguration++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 checkRestoreBackupContext(api.RestoreBackupContext o) { | 1176 checkRestoreBackupContext(api.RestoreBackupContext o) { |
| 1160 buildCounterRestoreBackupContext++; | 1177 buildCounterRestoreBackupContext++; |
| 1161 if (buildCounterRestoreBackupContext < 3) { | 1178 if (buildCounterRestoreBackupContext < 3) { |
| 1162 unittest.expect(o.backupRunId, unittest.equals('foo')); | 1179 unittest.expect(o.backupRunId, unittest.equals('foo')); |
| 1163 unittest.expect(o.instanceId, unittest.equals('foo')); | 1180 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 1164 unittest.expect(o.kind, unittest.equals('foo')); | 1181 unittest.expect(o.kind, unittest.equals('foo')); |
| 1165 } | 1182 } |
| 1166 buildCounterRestoreBackupContext--; | 1183 buildCounterRestoreBackupContext--; |
| 1167 } | 1184 } |
| 1168 | 1185 |
| 1169 buildUnnamed3010() { | 1186 buildUnnamed3356() { |
| 1170 var o = new core.List<core.String>(); | 1187 var o = new core.List<core.String>(); |
| 1171 o.add("foo"); | 1188 o.add("foo"); |
| 1172 o.add("foo"); | 1189 o.add("foo"); |
| 1173 return o; | 1190 return o; |
| 1174 } | 1191 } |
| 1175 | 1192 |
| 1176 checkUnnamed3010(core.List<core.String> o) { | 1193 checkUnnamed3356(core.List<core.String> o) { |
| 1177 unittest.expect(o, unittest.hasLength(2)); | 1194 unittest.expect(o, unittest.hasLength(2)); |
| 1178 unittest.expect(o[0], unittest.equals('foo')); | 1195 unittest.expect(o[0], unittest.equals('foo')); |
| 1179 unittest.expect(o[1], unittest.equals('foo')); | 1196 unittest.expect(o[1], unittest.equals('foo')); |
| 1180 } | 1197 } |
| 1181 | 1198 |
| 1182 buildUnnamed3011() { | 1199 buildUnnamed3357() { |
| 1183 var o = new core.List<api.DatabaseFlags>(); | 1200 var o = new core.List<api.DatabaseFlags>(); |
| 1184 o.add(buildDatabaseFlags()); | 1201 o.add(buildDatabaseFlags()); |
| 1185 o.add(buildDatabaseFlags()); | 1202 o.add(buildDatabaseFlags()); |
| 1186 return o; | 1203 return o; |
| 1187 } | 1204 } |
| 1188 | 1205 |
| 1189 checkUnnamed3011(core.List<api.DatabaseFlags> o) { | 1206 checkUnnamed3357(core.List<api.DatabaseFlags> o) { |
| 1190 unittest.expect(o, unittest.hasLength(2)); | 1207 unittest.expect(o, unittest.hasLength(2)); |
| 1191 checkDatabaseFlags(o[0]); | 1208 checkDatabaseFlags(o[0]); |
| 1192 checkDatabaseFlags(o[1]); | 1209 checkDatabaseFlags(o[1]); |
| 1193 } | 1210 } |
| 1194 | 1211 |
| 1195 core.int buildCounterSettings = 0; | 1212 core.int buildCounterSettings = 0; |
| 1196 buildSettings() { | 1213 buildSettings() { |
| 1197 var o = new api.Settings(); | 1214 var o = new api.Settings(); |
| 1198 buildCounterSettings++; | 1215 buildCounterSettings++; |
| 1199 if (buildCounterSettings < 3) { | 1216 if (buildCounterSettings < 3) { |
| 1200 o.activationPolicy = "foo"; | 1217 o.activationPolicy = "foo"; |
| 1201 o.authorizedGaeApplications = buildUnnamed3010(); | 1218 o.authorizedGaeApplications = buildUnnamed3356(); |
| 1202 o.backupConfiguration = buildBackupConfiguration(); | 1219 o.backupConfiguration = buildBackupConfiguration(); |
| 1203 o.crashSafeReplicationEnabled = true; | 1220 o.crashSafeReplicationEnabled = true; |
| 1204 o.dataDiskSizeGb = "foo"; | 1221 o.dataDiskSizeGb = "foo"; |
| 1205 o.dataDiskType = "foo"; | 1222 o.dataDiskType = "foo"; |
| 1206 o.databaseFlags = buildUnnamed3011(); | 1223 o.databaseFlags = buildUnnamed3357(); |
| 1207 o.databaseReplicationEnabled = true; | 1224 o.databaseReplicationEnabled = true; |
| 1208 o.ipConfiguration = buildIpConfiguration(); | 1225 o.ipConfiguration = buildIpConfiguration(); |
| 1209 o.kind = "foo"; | 1226 o.kind = "foo"; |
| 1210 o.locationPreference = buildLocationPreference(); | 1227 o.locationPreference = buildLocationPreference(); |
| 1211 o.maintenanceWindow = buildMaintenanceWindow(); | 1228 o.maintenanceWindow = buildMaintenanceWindow(); |
| 1212 o.pricingPlan = "foo"; | 1229 o.pricingPlan = "foo"; |
| 1213 o.replicationType = "foo"; | 1230 o.replicationType = "foo"; |
| 1214 o.settingsVersion = "foo"; | 1231 o.settingsVersion = "foo"; |
| 1215 o.tier = "foo"; | 1232 o.tier = "foo"; |
| 1216 } | 1233 } |
| 1217 buildCounterSettings--; | 1234 buildCounterSettings--; |
| 1218 return o; | 1235 return o; |
| 1219 } | 1236 } |
| 1220 | 1237 |
| 1221 checkSettings(api.Settings o) { | 1238 checkSettings(api.Settings o) { |
| 1222 buildCounterSettings++; | 1239 buildCounterSettings++; |
| 1223 if (buildCounterSettings < 3) { | 1240 if (buildCounterSettings < 3) { |
| 1224 unittest.expect(o.activationPolicy, unittest.equals('foo')); | 1241 unittest.expect(o.activationPolicy, unittest.equals('foo')); |
| 1225 checkUnnamed3010(o.authorizedGaeApplications); | 1242 checkUnnamed3356(o.authorizedGaeApplications); |
| 1226 checkBackupConfiguration(o.backupConfiguration); | 1243 checkBackupConfiguration(o.backupConfiguration); |
| 1227 unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue); | 1244 unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue); |
| 1228 unittest.expect(o.dataDiskSizeGb, unittest.equals('foo')); | 1245 unittest.expect(o.dataDiskSizeGb, unittest.equals('foo')); |
| 1229 unittest.expect(o.dataDiskType, unittest.equals('foo')); | 1246 unittest.expect(o.dataDiskType, unittest.equals('foo')); |
| 1230 checkUnnamed3011(o.databaseFlags); | 1247 checkUnnamed3357(o.databaseFlags); |
| 1231 unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); | 1248 unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); |
| 1232 checkIpConfiguration(o.ipConfiguration); | 1249 checkIpConfiguration(o.ipConfiguration); |
| 1233 unittest.expect(o.kind, unittest.equals('foo')); | 1250 unittest.expect(o.kind, unittest.equals('foo')); |
| 1234 checkLocationPreference(o.locationPreference); | 1251 checkLocationPreference(o.locationPreference); |
| 1235 checkMaintenanceWindow(o.maintenanceWindow); | 1252 checkMaintenanceWindow(o.maintenanceWindow); |
| 1236 unittest.expect(o.pricingPlan, unittest.equals('foo')); | 1253 unittest.expect(o.pricingPlan, unittest.equals('foo')); |
| 1237 unittest.expect(o.replicationType, unittest.equals('foo')); | 1254 unittest.expect(o.replicationType, unittest.equals('foo')); |
| 1238 unittest.expect(o.settingsVersion, unittest.equals('foo')); | 1255 unittest.expect(o.settingsVersion, unittest.equals('foo')); |
| 1239 unittest.expect(o.tier, unittest.equals('foo')); | 1256 unittest.expect(o.tier, unittest.equals('foo')); |
| 1240 } | 1257 } |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1351 checkSslCertsInsertResponse(api.SslCertsInsertResponse o) { | 1368 checkSslCertsInsertResponse(api.SslCertsInsertResponse o) { |
| 1352 buildCounterSslCertsInsertResponse++; | 1369 buildCounterSslCertsInsertResponse++; |
| 1353 if (buildCounterSslCertsInsertResponse < 3) { | 1370 if (buildCounterSslCertsInsertResponse < 3) { |
| 1354 checkSslCertDetail(o.clientCert); | 1371 checkSslCertDetail(o.clientCert); |
| 1355 unittest.expect(o.kind, unittest.equals('foo')); | 1372 unittest.expect(o.kind, unittest.equals('foo')); |
| 1356 checkSslCert(o.serverCaCert); | 1373 checkSslCert(o.serverCaCert); |
| 1357 } | 1374 } |
| 1358 buildCounterSslCertsInsertResponse--; | 1375 buildCounterSslCertsInsertResponse--; |
| 1359 } | 1376 } |
| 1360 | 1377 |
| 1361 buildUnnamed3012() { | 1378 buildUnnamed3358() { |
| 1362 var o = new core.List<api.SslCert>(); | 1379 var o = new core.List<api.SslCert>(); |
| 1363 o.add(buildSslCert()); | 1380 o.add(buildSslCert()); |
| 1364 o.add(buildSslCert()); | 1381 o.add(buildSslCert()); |
| 1365 return o; | 1382 return o; |
| 1366 } | 1383 } |
| 1367 | 1384 |
| 1368 checkUnnamed3012(core.List<api.SslCert> o) { | 1385 checkUnnamed3358(core.List<api.SslCert> o) { |
| 1369 unittest.expect(o, unittest.hasLength(2)); | 1386 unittest.expect(o, unittest.hasLength(2)); |
| 1370 checkSslCert(o[0]); | 1387 checkSslCert(o[0]); |
| 1371 checkSslCert(o[1]); | 1388 checkSslCert(o[1]); |
| 1372 } | 1389 } |
| 1373 | 1390 |
| 1374 core.int buildCounterSslCertsListResponse = 0; | 1391 core.int buildCounterSslCertsListResponse = 0; |
| 1375 buildSslCertsListResponse() { | 1392 buildSslCertsListResponse() { |
| 1376 var o = new api.SslCertsListResponse(); | 1393 var o = new api.SslCertsListResponse(); |
| 1377 buildCounterSslCertsListResponse++; | 1394 buildCounterSslCertsListResponse++; |
| 1378 if (buildCounterSslCertsListResponse < 3) { | 1395 if (buildCounterSslCertsListResponse < 3) { |
| 1379 o.items = buildUnnamed3012(); | 1396 o.items = buildUnnamed3358(); |
| 1380 o.kind = "foo"; | 1397 o.kind = "foo"; |
| 1381 } | 1398 } |
| 1382 buildCounterSslCertsListResponse--; | 1399 buildCounterSslCertsListResponse--; |
| 1383 return o; | 1400 return o; |
| 1384 } | 1401 } |
| 1385 | 1402 |
| 1386 checkSslCertsListResponse(api.SslCertsListResponse o) { | 1403 checkSslCertsListResponse(api.SslCertsListResponse o) { |
| 1387 buildCounterSslCertsListResponse++; | 1404 buildCounterSslCertsListResponse++; |
| 1388 if (buildCounterSslCertsListResponse < 3) { | 1405 if (buildCounterSslCertsListResponse < 3) { |
| 1389 checkUnnamed3012(o.items); | 1406 checkUnnamed3358(o.items); |
| 1390 unittest.expect(o.kind, unittest.equals('foo')); | 1407 unittest.expect(o.kind, unittest.equals('foo')); |
| 1391 } | 1408 } |
| 1392 buildCounterSslCertsListResponse--; | 1409 buildCounterSslCertsListResponse--; |
| 1393 } | 1410 } |
| 1394 | 1411 |
| 1395 buildUnnamed3013() { | 1412 buildUnnamed3359() { |
| 1396 var o = new core.List<core.String>(); | 1413 var o = new core.List<core.String>(); |
| 1397 o.add("foo"); | 1414 o.add("foo"); |
| 1398 o.add("foo"); | 1415 o.add("foo"); |
| 1399 return o; | 1416 return o; |
| 1400 } | 1417 } |
| 1401 | 1418 |
| 1402 checkUnnamed3013(core.List<core.String> o) { | 1419 checkUnnamed3359(core.List<core.String> o) { |
| 1403 unittest.expect(o, unittest.hasLength(2)); | 1420 unittest.expect(o, unittest.hasLength(2)); |
| 1404 unittest.expect(o[0], unittest.equals('foo')); | 1421 unittest.expect(o[0], unittest.equals('foo')); |
| 1405 unittest.expect(o[1], unittest.equals('foo')); | 1422 unittest.expect(o[1], unittest.equals('foo')); |
| 1406 } | 1423 } |
| 1407 | 1424 |
| 1408 core.int buildCounterTier = 0; | 1425 core.int buildCounterTier = 0; |
| 1409 buildTier() { | 1426 buildTier() { |
| 1410 var o = new api.Tier(); | 1427 var o = new api.Tier(); |
| 1411 buildCounterTier++; | 1428 buildCounterTier++; |
| 1412 if (buildCounterTier < 3) { | 1429 if (buildCounterTier < 3) { |
| 1413 o.DiskQuota = "foo"; | 1430 o.DiskQuota = "foo"; |
| 1414 o.RAM = "foo"; | 1431 o.RAM = "foo"; |
| 1415 o.kind = "foo"; | 1432 o.kind = "foo"; |
| 1416 o.region = buildUnnamed3013(); | 1433 o.region = buildUnnamed3359(); |
| 1417 o.tier = "foo"; | 1434 o.tier = "foo"; |
| 1418 } | 1435 } |
| 1419 buildCounterTier--; | 1436 buildCounterTier--; |
| 1420 return o; | 1437 return o; |
| 1421 } | 1438 } |
| 1422 | 1439 |
| 1423 checkTier(api.Tier o) { | 1440 checkTier(api.Tier o) { |
| 1424 buildCounterTier++; | 1441 buildCounterTier++; |
| 1425 if (buildCounterTier < 3) { | 1442 if (buildCounterTier < 3) { |
| 1426 unittest.expect(o.DiskQuota, unittest.equals('foo')); | 1443 unittest.expect(o.DiskQuota, unittest.equals('foo')); |
| 1427 unittest.expect(o.RAM, unittest.equals('foo')); | 1444 unittest.expect(o.RAM, unittest.equals('foo')); |
| 1428 unittest.expect(o.kind, unittest.equals('foo')); | 1445 unittest.expect(o.kind, unittest.equals('foo')); |
| 1429 checkUnnamed3013(o.region); | 1446 checkUnnamed3359(o.region); |
| 1430 unittest.expect(o.tier, unittest.equals('foo')); | 1447 unittest.expect(o.tier, unittest.equals('foo')); |
| 1431 } | 1448 } |
| 1432 buildCounterTier--; | 1449 buildCounterTier--; |
| 1433 } | 1450 } |
| 1434 | 1451 |
| 1435 buildUnnamed3014() { | 1452 buildUnnamed3360() { |
| 1436 var o = new core.List<api.Tier>(); | 1453 var o = new core.List<api.Tier>(); |
| 1437 o.add(buildTier()); | 1454 o.add(buildTier()); |
| 1438 o.add(buildTier()); | 1455 o.add(buildTier()); |
| 1439 return o; | 1456 return o; |
| 1440 } | 1457 } |
| 1441 | 1458 |
| 1442 checkUnnamed3014(core.List<api.Tier> o) { | 1459 checkUnnamed3360(core.List<api.Tier> o) { |
| 1443 unittest.expect(o, unittest.hasLength(2)); | 1460 unittest.expect(o, unittest.hasLength(2)); |
| 1444 checkTier(o[0]); | 1461 checkTier(o[0]); |
| 1445 checkTier(o[1]); | 1462 checkTier(o[1]); |
| 1446 } | 1463 } |
| 1447 | 1464 |
| 1448 core.int buildCounterTiersListResponse = 0; | 1465 core.int buildCounterTiersListResponse = 0; |
| 1449 buildTiersListResponse() { | 1466 buildTiersListResponse() { |
| 1450 var o = new api.TiersListResponse(); | 1467 var o = new api.TiersListResponse(); |
| 1451 buildCounterTiersListResponse++; | 1468 buildCounterTiersListResponse++; |
| 1452 if (buildCounterTiersListResponse < 3) { | 1469 if (buildCounterTiersListResponse < 3) { |
| 1453 o.items = buildUnnamed3014(); | 1470 o.items = buildUnnamed3360(); |
| 1454 o.kind = "foo"; | 1471 o.kind = "foo"; |
| 1455 } | 1472 } |
| 1456 buildCounterTiersListResponse--; | 1473 buildCounterTiersListResponse--; |
| 1457 return o; | 1474 return o; |
| 1458 } | 1475 } |
| 1459 | 1476 |
| 1460 checkTiersListResponse(api.TiersListResponse o) { | 1477 checkTiersListResponse(api.TiersListResponse o) { |
| 1461 buildCounterTiersListResponse++; | 1478 buildCounterTiersListResponse++; |
| 1462 if (buildCounterTiersListResponse < 3) { | 1479 if (buildCounterTiersListResponse < 3) { |
| 1463 checkUnnamed3014(o.items); | 1480 checkUnnamed3360(o.items); |
| 1464 unittest.expect(o.kind, unittest.equals('foo')); | 1481 unittest.expect(o.kind, unittest.equals('foo')); |
| 1465 } | 1482 } |
| 1466 buildCounterTiersListResponse--; | 1483 buildCounterTiersListResponse--; |
| 1467 } | 1484 } |
| 1468 | 1485 |
| 1469 core.int buildCounterUser = 0; | 1486 core.int buildCounterUser = 0; |
| 1470 buildUser() { | 1487 buildUser() { |
| 1471 var o = new api.User(); | 1488 var o = new api.User(); |
| 1472 buildCounterUser++; | 1489 buildCounterUser++; |
| 1473 if (buildCounterUser < 3) { | 1490 if (buildCounterUser < 3) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1490 unittest.expect(o.host, unittest.equals('foo')); | 1507 unittest.expect(o.host, unittest.equals('foo')); |
| 1491 unittest.expect(o.instance, unittest.equals('foo')); | 1508 unittest.expect(o.instance, unittest.equals('foo')); |
| 1492 unittest.expect(o.kind, unittest.equals('foo')); | 1509 unittest.expect(o.kind, unittest.equals('foo')); |
| 1493 unittest.expect(o.name, unittest.equals('foo')); | 1510 unittest.expect(o.name, unittest.equals('foo')); |
| 1494 unittest.expect(o.password, unittest.equals('foo')); | 1511 unittest.expect(o.password, unittest.equals('foo')); |
| 1495 unittest.expect(o.project, unittest.equals('foo')); | 1512 unittest.expect(o.project, unittest.equals('foo')); |
| 1496 } | 1513 } |
| 1497 buildCounterUser--; | 1514 buildCounterUser--; |
| 1498 } | 1515 } |
| 1499 | 1516 |
| 1500 buildUnnamed3015() { | 1517 buildUnnamed3361() { |
| 1501 var o = new core.List<api.User>(); | 1518 var o = new core.List<api.User>(); |
| 1502 o.add(buildUser()); | 1519 o.add(buildUser()); |
| 1503 o.add(buildUser()); | 1520 o.add(buildUser()); |
| 1504 return o; | 1521 return o; |
| 1505 } | 1522 } |
| 1506 | 1523 |
| 1507 checkUnnamed3015(core.List<api.User> o) { | 1524 checkUnnamed3361(core.List<api.User> o) { |
| 1508 unittest.expect(o, unittest.hasLength(2)); | 1525 unittest.expect(o, unittest.hasLength(2)); |
| 1509 checkUser(o[0]); | 1526 checkUser(o[0]); |
| 1510 checkUser(o[1]); | 1527 checkUser(o[1]); |
| 1511 } | 1528 } |
| 1512 | 1529 |
| 1513 core.int buildCounterUsersListResponse = 0; | 1530 core.int buildCounterUsersListResponse = 0; |
| 1514 buildUsersListResponse() { | 1531 buildUsersListResponse() { |
| 1515 var o = new api.UsersListResponse(); | 1532 var o = new api.UsersListResponse(); |
| 1516 buildCounterUsersListResponse++; | 1533 buildCounterUsersListResponse++; |
| 1517 if (buildCounterUsersListResponse < 3) { | 1534 if (buildCounterUsersListResponse < 3) { |
| 1518 o.items = buildUnnamed3015(); | 1535 o.items = buildUnnamed3361(); |
| 1519 o.kind = "foo"; | 1536 o.kind = "foo"; |
| 1520 o.nextPageToken = "foo"; | 1537 o.nextPageToken = "foo"; |
| 1521 } | 1538 } |
| 1522 buildCounterUsersListResponse--; | 1539 buildCounterUsersListResponse--; |
| 1523 return o; | 1540 return o; |
| 1524 } | 1541 } |
| 1525 | 1542 |
| 1526 checkUsersListResponse(api.UsersListResponse o) { | 1543 checkUsersListResponse(api.UsersListResponse o) { |
| 1527 buildCounterUsersListResponse++; | 1544 buildCounterUsersListResponse++; |
| 1528 if (buildCounterUsersListResponse < 3) { | 1545 if (buildCounterUsersListResponse < 3) { |
| 1529 checkUnnamed3015(o.items); | 1546 checkUnnamed3361(o.items); |
| 1530 unittest.expect(o.kind, unittest.equals('foo')); | 1547 unittest.expect(o.kind, unittest.equals('foo')); |
| 1531 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1548 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1532 } | 1549 } |
| 1533 buildCounterUsersListResponse--; | 1550 buildCounterUsersListResponse--; |
| 1534 } | 1551 } |
| 1535 | 1552 |
| 1536 | 1553 |
| 1537 main() { | 1554 main() { |
| 1538 unittest.group("obj-schema-AclEntry", () { | 1555 unittest.group("obj-schema-AclEntry", () { |
| 1539 unittest.test("to-json--from-json", () { | 1556 unittest.test("to-json--from-json", () { |
| (...skipping 2818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4358 res.update(arg_request, arg_project, arg_instance, arg_host, arg_name).the
n(unittest.expectAsync(((api.Operation response) { | 4375 res.update(arg_request, arg_project, arg_instance, arg_host, arg_name).the
n(unittest.expectAsync(((api.Operation response) { |
| 4359 checkOperation(response); | 4376 checkOperation(response); |
| 4360 }))); | 4377 }))); |
| 4361 }); | 4378 }); |
| 4362 | 4379 |
| 4363 }); | 4380 }); |
| 4364 | 4381 |
| 4365 | 4382 |
| 4366 } | 4383 } |
| 4367 | 4384 |
| OLD | NEW |