| 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 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 buildUnnamed4150() { | 145 buildUnnamed4048() { |
| 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 checkUnnamed4150(core.List<api.BackupRun> o) { | 152 checkUnnamed4048(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 = buildUnnamed4150(); | 163 o.items = buildUnnamed4048(); |
| 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 checkUnnamed4150(o.items); | 174 checkUnnamed4048(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 buildUnnamed4151() { | 302 buildUnnamed4049() { |
| 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 checkUnnamed4151(core.List<api.IpMapping> o) { | 309 checkUnnamed4049(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 buildUnnamed4152() { | 315 buildUnnamed4050() { |
| 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 checkUnnamed4152(core.List<core.String> o) { | 322 checkUnnamed4050(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 buildUnnamed4153() { | 328 buildUnnamed4051() { |
| 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 checkUnnamed4153(core.List<core.String> o) { | 335 checkUnnamed4051(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.currentDiskSize = "foo"; | 347 o.currentDiskSize = "foo"; |
| 348 o.databaseVersion = "foo"; | 348 o.databaseVersion = "foo"; |
| 349 o.etag = "foo"; | 349 o.etag = "foo"; |
| 350 o.failoverReplica = buildDatabaseInstanceFailoverReplica(); | 350 o.failoverReplica = buildDatabaseInstanceFailoverReplica(); |
| 351 o.instanceType = "foo"; | 351 o.instanceType = "foo"; |
| 352 o.ipAddresses = buildUnnamed4151(); | 352 o.ipAddresses = buildUnnamed4049(); |
| 353 o.ipv6Address = "foo"; | 353 o.ipv6Address = "foo"; |
| 354 o.kind = "foo"; | 354 o.kind = "foo"; |
| 355 o.masterInstanceName = "foo"; | 355 o.masterInstanceName = "foo"; |
| 356 o.maxDiskSize = "foo"; | 356 o.maxDiskSize = "foo"; |
| 357 o.name = "foo"; | 357 o.name = "foo"; |
| 358 o.onPremisesConfiguration = buildOnPremisesConfiguration(); | 358 o.onPremisesConfiguration = buildOnPremisesConfiguration(); |
| 359 o.project = "foo"; | 359 o.project = "foo"; |
| 360 o.region = "foo"; | 360 o.region = "foo"; |
| 361 o.replicaConfiguration = buildReplicaConfiguration(); | 361 o.replicaConfiguration = buildReplicaConfiguration(); |
| 362 o.replicaNames = buildUnnamed4152(); | 362 o.replicaNames = buildUnnamed4050(); |
| 363 o.selfLink = "foo"; | 363 o.selfLink = "foo"; |
| 364 o.serverCaCert = buildSslCert(); | 364 o.serverCaCert = buildSslCert(); |
| 365 o.serviceAccountEmailAddress = "foo"; | 365 o.serviceAccountEmailAddress = "foo"; |
| 366 o.settings = buildSettings(); | 366 o.settings = buildSettings(); |
| 367 o.state = "foo"; | 367 o.state = "foo"; |
| 368 o.suspensionReason = buildUnnamed4153(); | 368 o.suspensionReason = buildUnnamed4051(); |
| 369 } | 369 } |
| 370 buildCounterDatabaseInstance--; | 370 buildCounterDatabaseInstance--; |
| 371 return o; | 371 return o; |
| 372 } | 372 } |
| 373 | 373 |
| 374 checkDatabaseInstance(api.DatabaseInstance o) { | 374 checkDatabaseInstance(api.DatabaseInstance o) { |
| 375 buildCounterDatabaseInstance++; | 375 buildCounterDatabaseInstance++; |
| 376 if (buildCounterDatabaseInstance < 3) { | 376 if (buildCounterDatabaseInstance < 3) { |
| 377 unittest.expect(o.backendType, unittest.equals('foo')); | 377 unittest.expect(o.backendType, unittest.equals('foo')); |
| 378 unittest.expect(o.currentDiskSize, unittest.equals('foo')); | 378 unittest.expect(o.currentDiskSize, unittest.equals('foo')); |
| 379 unittest.expect(o.databaseVersion, unittest.equals('foo')); | 379 unittest.expect(o.databaseVersion, unittest.equals('foo')); |
| 380 unittest.expect(o.etag, unittest.equals('foo')); | 380 unittest.expect(o.etag, unittest.equals('foo')); |
| 381 checkDatabaseInstanceFailoverReplica(o.failoverReplica); | 381 checkDatabaseInstanceFailoverReplica(o.failoverReplica); |
| 382 unittest.expect(o.instanceType, unittest.equals('foo')); | 382 unittest.expect(o.instanceType, unittest.equals('foo')); |
| 383 checkUnnamed4151(o.ipAddresses); | 383 checkUnnamed4049(o.ipAddresses); |
| 384 unittest.expect(o.ipv6Address, unittest.equals('foo')); | 384 unittest.expect(o.ipv6Address, unittest.equals('foo')); |
| 385 unittest.expect(o.kind, unittest.equals('foo')); | 385 unittest.expect(o.kind, unittest.equals('foo')); |
| 386 unittest.expect(o.masterInstanceName, unittest.equals('foo')); | 386 unittest.expect(o.masterInstanceName, unittest.equals('foo')); |
| 387 unittest.expect(o.maxDiskSize, unittest.equals('foo')); | 387 unittest.expect(o.maxDiskSize, unittest.equals('foo')); |
| 388 unittest.expect(o.name, unittest.equals('foo')); | 388 unittest.expect(o.name, unittest.equals('foo')); |
| 389 checkOnPremisesConfiguration(o.onPremisesConfiguration); | 389 checkOnPremisesConfiguration(o.onPremisesConfiguration); |
| 390 unittest.expect(o.project, unittest.equals('foo')); | 390 unittest.expect(o.project, unittest.equals('foo')); |
| 391 unittest.expect(o.region, unittest.equals('foo')); | 391 unittest.expect(o.region, unittest.equals('foo')); |
| 392 checkReplicaConfiguration(o.replicaConfiguration); | 392 checkReplicaConfiguration(o.replicaConfiguration); |
| 393 checkUnnamed4152(o.replicaNames); | 393 checkUnnamed4050(o.replicaNames); |
| 394 unittest.expect(o.selfLink, unittest.equals('foo')); | 394 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 395 checkSslCert(o.serverCaCert); | 395 checkSslCert(o.serverCaCert); |
| 396 unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo')); | 396 unittest.expect(o.serviceAccountEmailAddress, unittest.equals('foo')); |
| 397 checkSettings(o.settings); | 397 checkSettings(o.settings); |
| 398 unittest.expect(o.state, unittest.equals('foo')); | 398 unittest.expect(o.state, unittest.equals('foo')); |
| 399 checkUnnamed4153(o.suspensionReason); | 399 checkUnnamed4051(o.suspensionReason); |
| 400 } | 400 } |
| 401 buildCounterDatabaseInstance--; | 401 buildCounterDatabaseInstance--; |
| 402 } | 402 } |
| 403 | 403 |
| 404 buildUnnamed4154() { | 404 buildUnnamed4052() { |
| 405 var o = new core.List<api.Database>(); | 405 var o = new core.List<api.Database>(); |
| 406 o.add(buildDatabase()); | 406 o.add(buildDatabase()); |
| 407 o.add(buildDatabase()); | 407 o.add(buildDatabase()); |
| 408 return o; | 408 return o; |
| 409 } | 409 } |
| 410 | 410 |
| 411 checkUnnamed4154(core.List<api.Database> o) { | 411 checkUnnamed4052(core.List<api.Database> o) { |
| 412 unittest.expect(o, unittest.hasLength(2)); | 412 unittest.expect(o, unittest.hasLength(2)); |
| 413 checkDatabase(o[0]); | 413 checkDatabase(o[0]); |
| 414 checkDatabase(o[1]); | 414 checkDatabase(o[1]); |
| 415 } | 415 } |
| 416 | 416 |
| 417 core.int buildCounterDatabasesListResponse = 0; | 417 core.int buildCounterDatabasesListResponse = 0; |
| 418 buildDatabasesListResponse() { | 418 buildDatabasesListResponse() { |
| 419 var o = new api.DatabasesListResponse(); | 419 var o = new api.DatabasesListResponse(); |
| 420 buildCounterDatabasesListResponse++; | 420 buildCounterDatabasesListResponse++; |
| 421 if (buildCounterDatabasesListResponse < 3) { | 421 if (buildCounterDatabasesListResponse < 3) { |
| 422 o.items = buildUnnamed4154(); | 422 o.items = buildUnnamed4052(); |
| 423 o.kind = "foo"; | 423 o.kind = "foo"; |
| 424 } | 424 } |
| 425 buildCounterDatabasesListResponse--; | 425 buildCounterDatabasesListResponse--; |
| 426 return o; | 426 return o; |
| 427 } | 427 } |
| 428 | 428 |
| 429 checkDatabasesListResponse(api.DatabasesListResponse o) { | 429 checkDatabasesListResponse(api.DatabasesListResponse o) { |
| 430 buildCounterDatabasesListResponse++; | 430 buildCounterDatabasesListResponse++; |
| 431 if (buildCounterDatabasesListResponse < 3) { | 431 if (buildCounterDatabasesListResponse < 3) { |
| 432 checkUnnamed4154(o.items); | 432 checkUnnamed4052(o.items); |
| 433 unittest.expect(o.kind, unittest.equals('foo')); | 433 unittest.expect(o.kind, unittest.equals('foo')); |
| 434 } | 434 } |
| 435 buildCounterDatabasesListResponse--; | 435 buildCounterDatabasesListResponse--; |
| 436 } | 436 } |
| 437 | 437 |
| 438 core.int buildCounterExportContextCsvExportOptions = 0; | 438 core.int buildCounterExportContextCsvExportOptions = 0; |
| 439 buildExportContextCsvExportOptions() { | 439 buildExportContextCsvExportOptions() { |
| 440 var o = new api.ExportContextCsvExportOptions(); | 440 var o = new api.ExportContextCsvExportOptions(); |
| 441 buildCounterExportContextCsvExportOptions++; | 441 buildCounterExportContextCsvExportOptions++; |
| 442 if (buildCounterExportContextCsvExportOptions < 3) { | 442 if (buildCounterExportContextCsvExportOptions < 3) { |
| 443 o.selectQuery = "foo"; | 443 o.selectQuery = "foo"; |
| 444 } | 444 } |
| 445 buildCounterExportContextCsvExportOptions--; | 445 buildCounterExportContextCsvExportOptions--; |
| 446 return o; | 446 return o; |
| 447 } | 447 } |
| 448 | 448 |
| 449 checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { | 449 checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { |
| 450 buildCounterExportContextCsvExportOptions++; | 450 buildCounterExportContextCsvExportOptions++; |
| 451 if (buildCounterExportContextCsvExportOptions < 3) { | 451 if (buildCounterExportContextCsvExportOptions < 3) { |
| 452 unittest.expect(o.selectQuery, unittest.equals('foo')); | 452 unittest.expect(o.selectQuery, unittest.equals('foo')); |
| 453 } | 453 } |
| 454 buildCounterExportContextCsvExportOptions--; | 454 buildCounterExportContextCsvExportOptions--; |
| 455 } | 455 } |
| 456 | 456 |
| 457 buildUnnamed4155() { | 457 buildUnnamed4053() { |
| 458 var o = new core.List<core.String>(); | 458 var o = new core.List<core.String>(); |
| 459 o.add("foo"); | 459 o.add("foo"); |
| 460 o.add("foo"); | 460 o.add("foo"); |
| 461 return o; | 461 return o; |
| 462 } | 462 } |
| 463 | 463 |
| 464 checkUnnamed4155(core.List<core.String> o) { | 464 checkUnnamed4053(core.List<core.String> o) { |
| 465 unittest.expect(o, unittest.hasLength(2)); | 465 unittest.expect(o, unittest.hasLength(2)); |
| 466 unittest.expect(o[0], unittest.equals('foo')); | 466 unittest.expect(o[0], unittest.equals('foo')); |
| 467 unittest.expect(o[1], unittest.equals('foo')); | 467 unittest.expect(o[1], unittest.equals('foo')); |
| 468 } | 468 } |
| 469 | 469 |
| 470 buildUnnamed4156() { | 470 buildUnnamed4054() { |
| 471 var o = new core.List<core.String>(); | 471 var o = new core.List<core.String>(); |
| 472 o.add("foo"); | 472 o.add("foo"); |
| 473 o.add("foo"); | 473 o.add("foo"); |
| 474 return o; | 474 return o; |
| 475 } | 475 } |
| 476 | 476 |
| 477 checkUnnamed4156(core.List<core.String> o) { | 477 checkUnnamed4054(core.List<core.String> o) { |
| 478 unittest.expect(o, unittest.hasLength(2)); | 478 unittest.expect(o, unittest.hasLength(2)); |
| 479 unittest.expect(o[0], unittest.equals('foo')); | 479 unittest.expect(o[0], unittest.equals('foo')); |
| 480 unittest.expect(o[1], unittest.equals('foo')); | 480 unittest.expect(o[1], unittest.equals('foo')); |
| 481 } | 481 } |
| 482 | 482 |
| 483 core.int buildCounterExportContextSqlExportOptions = 0; | 483 core.int buildCounterExportContextSqlExportOptions = 0; |
| 484 buildExportContextSqlExportOptions() { | 484 buildExportContextSqlExportOptions() { |
| 485 var o = new api.ExportContextSqlExportOptions(); | 485 var o = new api.ExportContextSqlExportOptions(); |
| 486 buildCounterExportContextSqlExportOptions++; | 486 buildCounterExportContextSqlExportOptions++; |
| 487 if (buildCounterExportContextSqlExportOptions < 3) { | 487 if (buildCounterExportContextSqlExportOptions < 3) { |
| 488 o.schemaOnly = true; | 488 o.schemaOnly = true; |
| 489 o.tables = buildUnnamed4156(); | 489 o.tables = buildUnnamed4054(); |
| 490 } | 490 } |
| 491 buildCounterExportContextSqlExportOptions--; | 491 buildCounterExportContextSqlExportOptions--; |
| 492 return o; | 492 return o; |
| 493 } | 493 } |
| 494 | 494 |
| 495 checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { | 495 checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { |
| 496 buildCounterExportContextSqlExportOptions++; | 496 buildCounterExportContextSqlExportOptions++; |
| 497 if (buildCounterExportContextSqlExportOptions < 3) { | 497 if (buildCounterExportContextSqlExportOptions < 3) { |
| 498 unittest.expect(o.schemaOnly, unittest.isTrue); | 498 unittest.expect(o.schemaOnly, unittest.isTrue); |
| 499 checkUnnamed4156(o.tables); | 499 checkUnnamed4054(o.tables); |
| 500 } | 500 } |
| 501 buildCounterExportContextSqlExportOptions--; | 501 buildCounterExportContextSqlExportOptions--; |
| 502 } | 502 } |
| 503 | 503 |
| 504 core.int buildCounterExportContext = 0; | 504 core.int buildCounterExportContext = 0; |
| 505 buildExportContext() { | 505 buildExportContext() { |
| 506 var o = new api.ExportContext(); | 506 var o = new api.ExportContext(); |
| 507 buildCounterExportContext++; | 507 buildCounterExportContext++; |
| 508 if (buildCounterExportContext < 3) { | 508 if (buildCounterExportContext < 3) { |
| 509 o.csvExportOptions = buildExportContextCsvExportOptions(); | 509 o.csvExportOptions = buildExportContextCsvExportOptions(); |
| 510 o.databases = buildUnnamed4155(); | 510 o.databases = buildUnnamed4053(); |
| 511 o.fileType = "foo"; | 511 o.fileType = "foo"; |
| 512 o.kind = "foo"; | 512 o.kind = "foo"; |
| 513 o.sqlExportOptions = buildExportContextSqlExportOptions(); | 513 o.sqlExportOptions = buildExportContextSqlExportOptions(); |
| 514 o.uri = "foo"; | 514 o.uri = "foo"; |
| 515 } | 515 } |
| 516 buildCounterExportContext--; | 516 buildCounterExportContext--; |
| 517 return o; | 517 return o; |
| 518 } | 518 } |
| 519 | 519 |
| 520 checkExportContext(api.ExportContext o) { | 520 checkExportContext(api.ExportContext o) { |
| 521 buildCounterExportContext++; | 521 buildCounterExportContext++; |
| 522 if (buildCounterExportContext < 3) { | 522 if (buildCounterExportContext < 3) { |
| 523 checkExportContextCsvExportOptions(o.csvExportOptions); | 523 checkExportContextCsvExportOptions(o.csvExportOptions); |
| 524 checkUnnamed4155(o.databases); | 524 checkUnnamed4053(o.databases); |
| 525 unittest.expect(o.fileType, unittest.equals('foo')); | 525 unittest.expect(o.fileType, unittest.equals('foo')); |
| 526 unittest.expect(o.kind, unittest.equals('foo')); | 526 unittest.expect(o.kind, unittest.equals('foo')); |
| 527 checkExportContextSqlExportOptions(o.sqlExportOptions); | 527 checkExportContextSqlExportOptions(o.sqlExportOptions); |
| 528 unittest.expect(o.uri, unittest.equals('foo')); | 528 unittest.expect(o.uri, unittest.equals('foo')); |
| 529 } | 529 } |
| 530 buildCounterExportContext--; | 530 buildCounterExportContext--; |
| 531 } | 531 } |
| 532 | 532 |
| 533 core.int buildCounterFailoverContext = 0; | 533 core.int buildCounterFailoverContext = 0; |
| 534 buildFailoverContext() { | 534 buildFailoverContext() { |
| 535 var o = new api.FailoverContext(); | 535 var o = new api.FailoverContext(); |
| 536 buildCounterFailoverContext++; | 536 buildCounterFailoverContext++; |
| 537 if (buildCounterFailoverContext < 3) { | 537 if (buildCounterFailoverContext < 3) { |
| 538 o.kind = "foo"; | 538 o.kind = "foo"; |
| 539 o.settingsVersion = "foo"; | 539 o.settingsVersion = "foo"; |
| 540 } | 540 } |
| 541 buildCounterFailoverContext--; | 541 buildCounterFailoverContext--; |
| 542 return o; | 542 return o; |
| 543 } | 543 } |
| 544 | 544 |
| 545 checkFailoverContext(api.FailoverContext o) { | 545 checkFailoverContext(api.FailoverContext o) { |
| 546 buildCounterFailoverContext++; | 546 buildCounterFailoverContext++; |
| 547 if (buildCounterFailoverContext < 3) { | 547 if (buildCounterFailoverContext < 3) { |
| 548 unittest.expect(o.kind, unittest.equals('foo')); | 548 unittest.expect(o.kind, unittest.equals('foo')); |
| 549 unittest.expect(o.settingsVersion, unittest.equals('foo')); | 549 unittest.expect(o.settingsVersion, unittest.equals('foo')); |
| 550 } | 550 } |
| 551 buildCounterFailoverContext--; | 551 buildCounterFailoverContext--; |
| 552 } | 552 } |
| 553 | 553 |
| 554 buildUnnamed4157() { | 554 buildUnnamed4055() { |
| 555 var o = new core.List<core.String>(); | 555 var o = new core.List<core.String>(); |
| 556 o.add("foo"); | 556 o.add("foo"); |
| 557 o.add("foo"); | 557 o.add("foo"); |
| 558 return o; | 558 return o; |
| 559 } | 559 } |
| 560 | 560 |
| 561 checkUnnamed4157(core.List<core.String> o) { | 561 checkUnnamed4055(core.List<core.String> o) { |
| 562 unittest.expect(o, unittest.hasLength(2)); | 562 unittest.expect(o, unittest.hasLength(2)); |
| 563 unittest.expect(o[0], unittest.equals('foo')); | 563 unittest.expect(o[0], unittest.equals('foo')); |
| 564 unittest.expect(o[1], unittest.equals('foo')); | 564 unittest.expect(o[1], unittest.equals('foo')); |
| 565 } | 565 } |
| 566 | 566 |
| 567 buildUnnamed4158() { | 567 buildUnnamed4056() { |
| 568 var o = new core.List<core.String>(); | 568 var o = new core.List<core.String>(); |
| 569 o.add("foo"); | 569 o.add("foo"); |
| 570 o.add("foo"); | 570 o.add("foo"); |
| 571 return o; | 571 return o; |
| 572 } | 572 } |
| 573 | 573 |
| 574 checkUnnamed4158(core.List<core.String> o) { | 574 checkUnnamed4056(core.List<core.String> o) { |
| 575 unittest.expect(o, unittest.hasLength(2)); | 575 unittest.expect(o, unittest.hasLength(2)); |
| 576 unittest.expect(o[0], unittest.equals('foo')); | 576 unittest.expect(o[0], unittest.equals('foo')); |
| 577 unittest.expect(o[1], unittest.equals('foo')); | 577 unittest.expect(o[1], unittest.equals('foo')); |
| 578 } | 578 } |
| 579 | 579 |
| 580 core.int buildCounterFlag = 0; | 580 core.int buildCounterFlag = 0; |
| 581 buildFlag() { | 581 buildFlag() { |
| 582 var o = new api.Flag(); | 582 var o = new api.Flag(); |
| 583 buildCounterFlag++; | 583 buildCounterFlag++; |
| 584 if (buildCounterFlag < 3) { | 584 if (buildCounterFlag < 3) { |
| 585 o.allowedStringValues = buildUnnamed4157(); | 585 o.allowedStringValues = buildUnnamed4055(); |
| 586 o.appliesTo = buildUnnamed4158(); | 586 o.appliesTo = buildUnnamed4056(); |
| 587 o.kind = "foo"; | 587 o.kind = "foo"; |
| 588 o.maxValue = "foo"; | 588 o.maxValue = "foo"; |
| 589 o.minValue = "foo"; | 589 o.minValue = "foo"; |
| 590 o.name = "foo"; | 590 o.name = "foo"; |
| 591 o.requiresRestart = true; | 591 o.requiresRestart = true; |
| 592 o.type = "foo"; | 592 o.type = "foo"; |
| 593 } | 593 } |
| 594 buildCounterFlag--; | 594 buildCounterFlag--; |
| 595 return o; | 595 return o; |
| 596 } | 596 } |
| 597 | 597 |
| 598 checkFlag(api.Flag o) { | 598 checkFlag(api.Flag o) { |
| 599 buildCounterFlag++; | 599 buildCounterFlag++; |
| 600 if (buildCounterFlag < 3) { | 600 if (buildCounterFlag < 3) { |
| 601 checkUnnamed4157(o.allowedStringValues); | 601 checkUnnamed4055(o.allowedStringValues); |
| 602 checkUnnamed4158(o.appliesTo); | 602 checkUnnamed4056(o.appliesTo); |
| 603 unittest.expect(o.kind, unittest.equals('foo')); | 603 unittest.expect(o.kind, unittest.equals('foo')); |
| 604 unittest.expect(o.maxValue, unittest.equals('foo')); | 604 unittest.expect(o.maxValue, unittest.equals('foo')); |
| 605 unittest.expect(o.minValue, unittest.equals('foo')); | 605 unittest.expect(o.minValue, unittest.equals('foo')); |
| 606 unittest.expect(o.name, unittest.equals('foo')); | 606 unittest.expect(o.name, unittest.equals('foo')); |
| 607 unittest.expect(o.requiresRestart, unittest.isTrue); | 607 unittest.expect(o.requiresRestart, unittest.isTrue); |
| 608 unittest.expect(o.type, unittest.equals('foo')); | 608 unittest.expect(o.type, unittest.equals('foo')); |
| 609 } | 609 } |
| 610 buildCounterFlag--; | 610 buildCounterFlag--; |
| 611 } | 611 } |
| 612 | 612 |
| 613 buildUnnamed4159() { | 613 buildUnnamed4057() { |
| 614 var o = new core.List<api.Flag>(); | 614 var o = new core.List<api.Flag>(); |
| 615 o.add(buildFlag()); | 615 o.add(buildFlag()); |
| 616 o.add(buildFlag()); | 616 o.add(buildFlag()); |
| 617 return o; | 617 return o; |
| 618 } | 618 } |
| 619 | 619 |
| 620 checkUnnamed4159(core.List<api.Flag> o) { | 620 checkUnnamed4057(core.List<api.Flag> o) { |
| 621 unittest.expect(o, unittest.hasLength(2)); | 621 unittest.expect(o, unittest.hasLength(2)); |
| 622 checkFlag(o[0]); | 622 checkFlag(o[0]); |
| 623 checkFlag(o[1]); | 623 checkFlag(o[1]); |
| 624 } | 624 } |
| 625 | 625 |
| 626 core.int buildCounterFlagsListResponse = 0; | 626 core.int buildCounterFlagsListResponse = 0; |
| 627 buildFlagsListResponse() { | 627 buildFlagsListResponse() { |
| 628 var o = new api.FlagsListResponse(); | 628 var o = new api.FlagsListResponse(); |
| 629 buildCounterFlagsListResponse++; | 629 buildCounterFlagsListResponse++; |
| 630 if (buildCounterFlagsListResponse < 3) { | 630 if (buildCounterFlagsListResponse < 3) { |
| 631 o.items = buildUnnamed4159(); | 631 o.items = buildUnnamed4057(); |
| 632 o.kind = "foo"; | 632 o.kind = "foo"; |
| 633 } | 633 } |
| 634 buildCounterFlagsListResponse--; | 634 buildCounterFlagsListResponse--; |
| 635 return o; | 635 return o; |
| 636 } | 636 } |
| 637 | 637 |
| 638 checkFlagsListResponse(api.FlagsListResponse o) { | 638 checkFlagsListResponse(api.FlagsListResponse o) { |
| 639 buildCounterFlagsListResponse++; | 639 buildCounterFlagsListResponse++; |
| 640 if (buildCounterFlagsListResponse < 3) { | 640 if (buildCounterFlagsListResponse < 3) { |
| 641 checkUnnamed4159(o.items); | 641 checkUnnamed4057(o.items); |
| 642 unittest.expect(o.kind, unittest.equals('foo')); | 642 unittest.expect(o.kind, unittest.equals('foo')); |
| 643 } | 643 } |
| 644 buildCounterFlagsListResponse--; | 644 buildCounterFlagsListResponse--; |
| 645 } | 645 } |
| 646 | 646 |
| 647 buildUnnamed4160() { | 647 buildUnnamed4058() { |
| 648 var o = new core.List<core.String>(); | 648 var o = new core.List<core.String>(); |
| 649 o.add("foo"); | 649 o.add("foo"); |
| 650 o.add("foo"); | 650 o.add("foo"); |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkUnnamed4160(core.List<core.String> o) { | 654 checkUnnamed4058(core.List<core.String> o) { |
| 655 unittest.expect(o, unittest.hasLength(2)); | 655 unittest.expect(o, unittest.hasLength(2)); |
| 656 unittest.expect(o[0], unittest.equals('foo')); | 656 unittest.expect(o[0], unittest.equals('foo')); |
| 657 unittest.expect(o[1], unittest.equals('foo')); | 657 unittest.expect(o[1], unittest.equals('foo')); |
| 658 } | 658 } |
| 659 | 659 |
| 660 core.int buildCounterImportContextCsvImportOptions = 0; | 660 core.int buildCounterImportContextCsvImportOptions = 0; |
| 661 buildImportContextCsvImportOptions() { | 661 buildImportContextCsvImportOptions() { |
| 662 var o = new api.ImportContextCsvImportOptions(); | 662 var o = new api.ImportContextCsvImportOptions(); |
| 663 buildCounterImportContextCsvImportOptions++; | 663 buildCounterImportContextCsvImportOptions++; |
| 664 if (buildCounterImportContextCsvImportOptions < 3) { | 664 if (buildCounterImportContextCsvImportOptions < 3) { |
| 665 o.columns = buildUnnamed4160(); | 665 o.columns = buildUnnamed4058(); |
| 666 o.table = "foo"; | 666 o.table = "foo"; |
| 667 } | 667 } |
| 668 buildCounterImportContextCsvImportOptions--; | 668 buildCounterImportContextCsvImportOptions--; |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { | 672 checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { |
| 673 buildCounterImportContextCsvImportOptions++; | 673 buildCounterImportContextCsvImportOptions++; |
| 674 if (buildCounterImportContextCsvImportOptions < 3) { | 674 if (buildCounterImportContextCsvImportOptions < 3) { |
| 675 checkUnnamed4160(o.columns); | 675 checkUnnamed4058(o.columns); |
| 676 unittest.expect(o.table, unittest.equals('foo')); | 676 unittest.expect(o.table, unittest.equals('foo')); |
| 677 } | 677 } |
| 678 buildCounterImportContextCsvImportOptions--; | 678 buildCounterImportContextCsvImportOptions--; |
| 679 } | 679 } |
| 680 | 680 |
| 681 core.int buildCounterImportContext = 0; | 681 core.int buildCounterImportContext = 0; |
| 682 buildImportContext() { | 682 buildImportContext() { |
| 683 var o = new api.ImportContext(); | 683 var o = new api.ImportContext(); |
| 684 buildCounterImportContext++; | 684 buildCounterImportContext++; |
| 685 if (buildCounterImportContext < 3) { | 685 if (buildCounterImportContext < 3) { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 } | 774 } |
| 775 | 775 |
| 776 checkInstancesImportRequest(api.InstancesImportRequest o) { | 776 checkInstancesImportRequest(api.InstancesImportRequest o) { |
| 777 buildCounterInstancesImportRequest++; | 777 buildCounterInstancesImportRequest++; |
| 778 if (buildCounterInstancesImportRequest < 3) { | 778 if (buildCounterInstancesImportRequest < 3) { |
| 779 checkImportContext(o.importContext); | 779 checkImportContext(o.importContext); |
| 780 } | 780 } |
| 781 buildCounterInstancesImportRequest--; | 781 buildCounterInstancesImportRequest--; |
| 782 } | 782 } |
| 783 | 783 |
| 784 buildUnnamed4161() { | 784 buildUnnamed4059() { |
| 785 var o = new core.List<api.DatabaseInstance>(); | 785 var o = new core.List<api.DatabaseInstance>(); |
| 786 o.add(buildDatabaseInstance()); | 786 o.add(buildDatabaseInstance()); |
| 787 o.add(buildDatabaseInstance()); | 787 o.add(buildDatabaseInstance()); |
| 788 return o; | 788 return o; |
| 789 } | 789 } |
| 790 | 790 |
| 791 checkUnnamed4161(core.List<api.DatabaseInstance> o) { | 791 checkUnnamed4059(core.List<api.DatabaseInstance> o) { |
| 792 unittest.expect(o, unittest.hasLength(2)); | 792 unittest.expect(o, unittest.hasLength(2)); |
| 793 checkDatabaseInstance(o[0]); | 793 checkDatabaseInstance(o[0]); |
| 794 checkDatabaseInstance(o[1]); | 794 checkDatabaseInstance(o[1]); |
| 795 } | 795 } |
| 796 | 796 |
| 797 core.int buildCounterInstancesListResponse = 0; | 797 core.int buildCounterInstancesListResponse = 0; |
| 798 buildInstancesListResponse() { | 798 buildInstancesListResponse() { |
| 799 var o = new api.InstancesListResponse(); | 799 var o = new api.InstancesListResponse(); |
| 800 buildCounterInstancesListResponse++; | 800 buildCounterInstancesListResponse++; |
| 801 if (buildCounterInstancesListResponse < 3) { | 801 if (buildCounterInstancesListResponse < 3) { |
| 802 o.items = buildUnnamed4161(); | 802 o.items = buildUnnamed4059(); |
| 803 o.kind = "foo"; | 803 o.kind = "foo"; |
| 804 o.nextPageToken = "foo"; | 804 o.nextPageToken = "foo"; |
| 805 } | 805 } |
| 806 buildCounterInstancesListResponse--; | 806 buildCounterInstancesListResponse--; |
| 807 return o; | 807 return o; |
| 808 } | 808 } |
| 809 | 809 |
| 810 checkInstancesListResponse(api.InstancesListResponse o) { | 810 checkInstancesListResponse(api.InstancesListResponse o) { |
| 811 buildCounterInstancesListResponse++; | 811 buildCounterInstancesListResponse++; |
| 812 if (buildCounterInstancesListResponse < 3) { | 812 if (buildCounterInstancesListResponse < 3) { |
| 813 checkUnnamed4161(o.items); | 813 checkUnnamed4059(o.items); |
| 814 unittest.expect(o.kind, unittest.equals('foo')); | 814 unittest.expect(o.kind, unittest.equals('foo')); |
| 815 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 815 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 816 } | 816 } |
| 817 buildCounterInstancesListResponse--; | 817 buildCounterInstancesListResponse--; |
| 818 } | 818 } |
| 819 | 819 |
| 820 core.int buildCounterInstancesRestoreBackupRequest = 0; | 820 core.int buildCounterInstancesRestoreBackupRequest = 0; |
| 821 buildInstancesRestoreBackupRequest() { | 821 buildInstancesRestoreBackupRequest() { |
| 822 var o = new api.InstancesRestoreBackupRequest(); | 822 var o = new api.InstancesRestoreBackupRequest(); |
| 823 buildCounterInstancesRestoreBackupRequest++; | 823 buildCounterInstancesRestoreBackupRequest++; |
| 824 if (buildCounterInstancesRestoreBackupRequest < 3) { | 824 if (buildCounterInstancesRestoreBackupRequest < 3) { |
| 825 o.restoreBackupContext = buildRestoreBackupContext(); | 825 o.restoreBackupContext = buildRestoreBackupContext(); |
| 826 } | 826 } |
| 827 buildCounterInstancesRestoreBackupRequest--; | 827 buildCounterInstancesRestoreBackupRequest--; |
| 828 return o; | 828 return o; |
| 829 } | 829 } |
| 830 | 830 |
| 831 checkInstancesRestoreBackupRequest(api.InstancesRestoreBackupRequest o) { | 831 checkInstancesRestoreBackupRequest(api.InstancesRestoreBackupRequest o) { |
| 832 buildCounterInstancesRestoreBackupRequest++; | 832 buildCounterInstancesRestoreBackupRequest++; |
| 833 if (buildCounterInstancesRestoreBackupRequest < 3) { | 833 if (buildCounterInstancesRestoreBackupRequest < 3) { |
| 834 checkRestoreBackupContext(o.restoreBackupContext); | 834 checkRestoreBackupContext(o.restoreBackupContext); |
| 835 } | 835 } |
| 836 buildCounterInstancesRestoreBackupRequest--; | 836 buildCounterInstancesRestoreBackupRequest--; |
| 837 } | 837 } |
| 838 | 838 |
| 839 buildUnnamed4162() { | 839 buildUnnamed4060() { |
| 840 var o = new core.List<api.AclEntry>(); | 840 var o = new core.List<api.AclEntry>(); |
| 841 o.add(buildAclEntry()); | 841 o.add(buildAclEntry()); |
| 842 o.add(buildAclEntry()); | 842 o.add(buildAclEntry()); |
| 843 return o; | 843 return o; |
| 844 } | 844 } |
| 845 | 845 |
| 846 checkUnnamed4162(core.List<api.AclEntry> o) { | 846 checkUnnamed4060(core.List<api.AclEntry> o) { |
| 847 unittest.expect(o, unittest.hasLength(2)); | 847 unittest.expect(o, unittest.hasLength(2)); |
| 848 checkAclEntry(o[0]); | 848 checkAclEntry(o[0]); |
| 849 checkAclEntry(o[1]); | 849 checkAclEntry(o[1]); |
| 850 } | 850 } |
| 851 | 851 |
| 852 core.int buildCounterIpConfiguration = 0; | 852 core.int buildCounterIpConfiguration = 0; |
| 853 buildIpConfiguration() { | 853 buildIpConfiguration() { |
| 854 var o = new api.IpConfiguration(); | 854 var o = new api.IpConfiguration(); |
| 855 buildCounterIpConfiguration++; | 855 buildCounterIpConfiguration++; |
| 856 if (buildCounterIpConfiguration < 3) { | 856 if (buildCounterIpConfiguration < 3) { |
| 857 o.authorizedNetworks = buildUnnamed4162(); | 857 o.authorizedNetworks = buildUnnamed4060(); |
| 858 o.ipv4Enabled = true; | 858 o.ipv4Enabled = true; |
| 859 o.requireSsl = true; | 859 o.requireSsl = true; |
| 860 } | 860 } |
| 861 buildCounterIpConfiguration--; | 861 buildCounterIpConfiguration--; |
| 862 return o; | 862 return o; |
| 863 } | 863 } |
| 864 | 864 |
| 865 checkIpConfiguration(api.IpConfiguration o) { | 865 checkIpConfiguration(api.IpConfiguration o) { |
| 866 buildCounterIpConfiguration++; | 866 buildCounterIpConfiguration++; |
| 867 if (buildCounterIpConfiguration < 3) { | 867 if (buildCounterIpConfiguration < 3) { |
| 868 checkUnnamed4162(o.authorizedNetworks); | 868 checkUnnamed4060(o.authorizedNetworks); |
| 869 unittest.expect(o.ipv4Enabled, unittest.isTrue); | 869 unittest.expect(o.ipv4Enabled, unittest.isTrue); |
| 870 unittest.expect(o.requireSsl, unittest.isTrue); | 870 unittest.expect(o.requireSsl, unittest.isTrue); |
| 871 } | 871 } |
| 872 buildCounterIpConfiguration--; | 872 buildCounterIpConfiguration--; |
| 873 } | 873 } |
| 874 | 874 |
| 875 core.int buildCounterIpMapping = 0; | 875 core.int buildCounterIpMapping = 0; |
| 876 buildIpMapping() { | 876 buildIpMapping() { |
| 877 var o = new api.IpMapping(); | 877 var o = new api.IpMapping(); |
| 878 buildCounterIpMapping++; | 878 buildCounterIpMapping++; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1064 checkOperationError(api.OperationError o) { | 1064 checkOperationError(api.OperationError o) { |
| 1065 buildCounterOperationError++; | 1065 buildCounterOperationError++; |
| 1066 if (buildCounterOperationError < 3) { | 1066 if (buildCounterOperationError < 3) { |
| 1067 unittest.expect(o.code, unittest.equals('foo')); | 1067 unittest.expect(o.code, unittest.equals('foo')); |
| 1068 unittest.expect(o.kind, unittest.equals('foo')); | 1068 unittest.expect(o.kind, unittest.equals('foo')); |
| 1069 unittest.expect(o.message, unittest.equals('foo')); | 1069 unittest.expect(o.message, unittest.equals('foo')); |
| 1070 } | 1070 } |
| 1071 buildCounterOperationError--; | 1071 buildCounterOperationError--; |
| 1072 } | 1072 } |
| 1073 | 1073 |
| 1074 buildUnnamed4163() { | 1074 buildUnnamed4061() { |
| 1075 var o = new core.List<api.OperationError>(); | 1075 var o = new core.List<api.OperationError>(); |
| 1076 o.add(buildOperationError()); | 1076 o.add(buildOperationError()); |
| 1077 o.add(buildOperationError()); | 1077 o.add(buildOperationError()); |
| 1078 return o; | 1078 return o; |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 checkUnnamed4163(core.List<api.OperationError> o) { | 1081 checkUnnamed4061(core.List<api.OperationError> o) { |
| 1082 unittest.expect(o, unittest.hasLength(2)); | 1082 unittest.expect(o, unittest.hasLength(2)); |
| 1083 checkOperationError(o[0]); | 1083 checkOperationError(o[0]); |
| 1084 checkOperationError(o[1]); | 1084 checkOperationError(o[1]); |
| 1085 } | 1085 } |
| 1086 | 1086 |
| 1087 core.int buildCounterOperationErrors = 0; | 1087 core.int buildCounterOperationErrors = 0; |
| 1088 buildOperationErrors() { | 1088 buildOperationErrors() { |
| 1089 var o = new api.OperationErrors(); | 1089 var o = new api.OperationErrors(); |
| 1090 buildCounterOperationErrors++; | 1090 buildCounterOperationErrors++; |
| 1091 if (buildCounterOperationErrors < 3) { | 1091 if (buildCounterOperationErrors < 3) { |
| 1092 o.errors = buildUnnamed4163(); | 1092 o.errors = buildUnnamed4061(); |
| 1093 o.kind = "foo"; | 1093 o.kind = "foo"; |
| 1094 } | 1094 } |
| 1095 buildCounterOperationErrors--; | 1095 buildCounterOperationErrors--; |
| 1096 return o; | 1096 return o; |
| 1097 } | 1097 } |
| 1098 | 1098 |
| 1099 checkOperationErrors(api.OperationErrors o) { | 1099 checkOperationErrors(api.OperationErrors o) { |
| 1100 buildCounterOperationErrors++; | 1100 buildCounterOperationErrors++; |
| 1101 if (buildCounterOperationErrors < 3) { | 1101 if (buildCounterOperationErrors < 3) { |
| 1102 checkUnnamed4163(o.errors); | 1102 checkUnnamed4061(o.errors); |
| 1103 unittest.expect(o.kind, unittest.equals('foo')); | 1103 unittest.expect(o.kind, unittest.equals('foo')); |
| 1104 } | 1104 } |
| 1105 buildCounterOperationErrors--; | 1105 buildCounterOperationErrors--; |
| 1106 } | 1106 } |
| 1107 | 1107 |
| 1108 buildUnnamed4164() { | 1108 buildUnnamed4062() { |
| 1109 var o = new core.List<api.Operation>(); | 1109 var o = new core.List<api.Operation>(); |
| 1110 o.add(buildOperation()); | 1110 o.add(buildOperation()); |
| 1111 o.add(buildOperation()); | 1111 o.add(buildOperation()); |
| 1112 return o; | 1112 return o; |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 checkUnnamed4164(core.List<api.Operation> o) { | 1115 checkUnnamed4062(core.List<api.Operation> o) { |
| 1116 unittest.expect(o, unittest.hasLength(2)); | 1116 unittest.expect(o, unittest.hasLength(2)); |
| 1117 checkOperation(o[0]); | 1117 checkOperation(o[0]); |
| 1118 checkOperation(o[1]); | 1118 checkOperation(o[1]); |
| 1119 } | 1119 } |
| 1120 | 1120 |
| 1121 core.int buildCounterOperationsListResponse = 0; | 1121 core.int buildCounterOperationsListResponse = 0; |
| 1122 buildOperationsListResponse() { | 1122 buildOperationsListResponse() { |
| 1123 var o = new api.OperationsListResponse(); | 1123 var o = new api.OperationsListResponse(); |
| 1124 buildCounterOperationsListResponse++; | 1124 buildCounterOperationsListResponse++; |
| 1125 if (buildCounterOperationsListResponse < 3) { | 1125 if (buildCounterOperationsListResponse < 3) { |
| 1126 o.items = buildUnnamed4164(); | 1126 o.items = buildUnnamed4062(); |
| 1127 o.kind = "foo"; | 1127 o.kind = "foo"; |
| 1128 o.nextPageToken = "foo"; | 1128 o.nextPageToken = "foo"; |
| 1129 } | 1129 } |
| 1130 buildCounterOperationsListResponse--; | 1130 buildCounterOperationsListResponse--; |
| 1131 return o; | 1131 return o; |
| 1132 } | 1132 } |
| 1133 | 1133 |
| 1134 checkOperationsListResponse(api.OperationsListResponse o) { | 1134 checkOperationsListResponse(api.OperationsListResponse o) { |
| 1135 buildCounterOperationsListResponse++; | 1135 buildCounterOperationsListResponse++; |
| 1136 if (buildCounterOperationsListResponse < 3) { | 1136 if (buildCounterOperationsListResponse < 3) { |
| 1137 checkUnnamed4164(o.items); | 1137 checkUnnamed4062(o.items); |
| 1138 unittest.expect(o.kind, unittest.equals('foo')); | 1138 unittest.expect(o.kind, unittest.equals('foo')); |
| 1139 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1139 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1140 } | 1140 } |
| 1141 buildCounterOperationsListResponse--; | 1141 buildCounterOperationsListResponse--; |
| 1142 } | 1142 } |
| 1143 | 1143 |
| 1144 core.int buildCounterReplicaConfiguration = 0; | 1144 core.int buildCounterReplicaConfiguration = 0; |
| 1145 buildReplicaConfiguration() { | 1145 buildReplicaConfiguration() { |
| 1146 var o = new api.ReplicaConfiguration(); | 1146 var o = new api.ReplicaConfiguration(); |
| 1147 buildCounterReplicaConfiguration++; | 1147 buildCounterReplicaConfiguration++; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1180 checkRestoreBackupContext(api.RestoreBackupContext o) { | 1180 checkRestoreBackupContext(api.RestoreBackupContext o) { |
| 1181 buildCounterRestoreBackupContext++; | 1181 buildCounterRestoreBackupContext++; |
| 1182 if (buildCounterRestoreBackupContext < 3) { | 1182 if (buildCounterRestoreBackupContext < 3) { |
| 1183 unittest.expect(o.backupRunId, unittest.equals('foo')); | 1183 unittest.expect(o.backupRunId, unittest.equals('foo')); |
| 1184 unittest.expect(o.instanceId, unittest.equals('foo')); | 1184 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 1185 unittest.expect(o.kind, unittest.equals('foo')); | 1185 unittest.expect(o.kind, unittest.equals('foo')); |
| 1186 } | 1186 } |
| 1187 buildCounterRestoreBackupContext--; | 1187 buildCounterRestoreBackupContext--; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 buildUnnamed4165() { | 1190 buildUnnamed4063() { |
| 1191 var o = new core.List<core.String>(); | 1191 var o = new core.List<core.String>(); |
| 1192 o.add("foo"); | 1192 o.add("foo"); |
| 1193 o.add("foo"); | 1193 o.add("foo"); |
| 1194 return o; | 1194 return o; |
| 1195 } | 1195 } |
| 1196 | 1196 |
| 1197 checkUnnamed4165(core.List<core.String> o) { | 1197 checkUnnamed4063(core.List<core.String> o) { |
| 1198 unittest.expect(o, unittest.hasLength(2)); | 1198 unittest.expect(o, unittest.hasLength(2)); |
| 1199 unittest.expect(o[0], unittest.equals('foo')); | 1199 unittest.expect(o[0], unittest.equals('foo')); |
| 1200 unittest.expect(o[1], unittest.equals('foo')); | 1200 unittest.expect(o[1], unittest.equals('foo')); |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 buildUnnamed4166() { | 1203 buildUnnamed4064() { |
| 1204 var o = new core.List<api.DatabaseFlags>(); | 1204 var o = new core.List<api.DatabaseFlags>(); |
| 1205 o.add(buildDatabaseFlags()); | 1205 o.add(buildDatabaseFlags()); |
| 1206 o.add(buildDatabaseFlags()); | 1206 o.add(buildDatabaseFlags()); |
| 1207 return o; | 1207 return o; |
| 1208 } | 1208 } |
| 1209 | 1209 |
| 1210 checkUnnamed4166(core.List<api.DatabaseFlags> o) { | 1210 checkUnnamed4064(core.List<api.DatabaseFlags> o) { |
| 1211 unittest.expect(o, unittest.hasLength(2)); | 1211 unittest.expect(o, unittest.hasLength(2)); |
| 1212 checkDatabaseFlags(o[0]); | 1212 checkDatabaseFlags(o[0]); |
| 1213 checkDatabaseFlags(o[1]); | 1213 checkDatabaseFlags(o[1]); |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 core.int buildCounterSettings = 0; | 1216 core.int buildCounterSettings = 0; |
| 1217 buildSettings() { | 1217 buildSettings() { |
| 1218 var o = new api.Settings(); | 1218 var o = new api.Settings(); |
| 1219 buildCounterSettings++; | 1219 buildCounterSettings++; |
| 1220 if (buildCounterSettings < 3) { | 1220 if (buildCounterSettings < 3) { |
| 1221 o.activationPolicy = "foo"; | 1221 o.activationPolicy = "foo"; |
| 1222 o.authorizedGaeApplications = buildUnnamed4165(); | 1222 o.authorizedGaeApplications = buildUnnamed4063(); |
| 1223 o.backupConfiguration = buildBackupConfiguration(); | 1223 o.backupConfiguration = buildBackupConfiguration(); |
| 1224 o.crashSafeReplicationEnabled = true; | 1224 o.crashSafeReplicationEnabled = true; |
| 1225 o.dataDiskSizeGb = "foo"; | 1225 o.dataDiskSizeGb = "foo"; |
| 1226 o.dataDiskType = "foo"; | 1226 o.dataDiskType = "foo"; |
| 1227 o.databaseFlags = buildUnnamed4166(); | 1227 o.databaseFlags = buildUnnamed4064(); |
| 1228 o.databaseReplicationEnabled = true; | 1228 o.databaseReplicationEnabled = true; |
| 1229 o.ipConfiguration = buildIpConfiguration(); | 1229 o.ipConfiguration = buildIpConfiguration(); |
| 1230 o.kind = "foo"; | 1230 o.kind = "foo"; |
| 1231 o.locationPreference = buildLocationPreference(); | 1231 o.locationPreference = buildLocationPreference(); |
| 1232 o.maintenanceWindow = buildMaintenanceWindow(); | 1232 o.maintenanceWindow = buildMaintenanceWindow(); |
| 1233 o.pricingPlan = "foo"; | 1233 o.pricingPlan = "foo"; |
| 1234 o.replicationType = "foo"; | 1234 o.replicationType = "foo"; |
| 1235 o.settingsVersion = "foo"; | 1235 o.settingsVersion = "foo"; |
| 1236 o.storageAutoResize = true; | 1236 o.storageAutoResize = true; |
| 1237 o.tier = "foo"; | 1237 o.tier = "foo"; |
| 1238 } | 1238 } |
| 1239 buildCounterSettings--; | 1239 buildCounterSettings--; |
| 1240 return o; | 1240 return o; |
| 1241 } | 1241 } |
| 1242 | 1242 |
| 1243 checkSettings(api.Settings o) { | 1243 checkSettings(api.Settings o) { |
| 1244 buildCounterSettings++; | 1244 buildCounterSettings++; |
| 1245 if (buildCounterSettings < 3) { | 1245 if (buildCounterSettings < 3) { |
| 1246 unittest.expect(o.activationPolicy, unittest.equals('foo')); | 1246 unittest.expect(o.activationPolicy, unittest.equals('foo')); |
| 1247 checkUnnamed4165(o.authorizedGaeApplications); | 1247 checkUnnamed4063(o.authorizedGaeApplications); |
| 1248 checkBackupConfiguration(o.backupConfiguration); | 1248 checkBackupConfiguration(o.backupConfiguration); |
| 1249 unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue); | 1249 unittest.expect(o.crashSafeReplicationEnabled, unittest.isTrue); |
| 1250 unittest.expect(o.dataDiskSizeGb, unittest.equals('foo')); | 1250 unittest.expect(o.dataDiskSizeGb, unittest.equals('foo')); |
| 1251 unittest.expect(o.dataDiskType, unittest.equals('foo')); | 1251 unittest.expect(o.dataDiskType, unittest.equals('foo')); |
| 1252 checkUnnamed4166(o.databaseFlags); | 1252 checkUnnamed4064(o.databaseFlags); |
| 1253 unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); | 1253 unittest.expect(o.databaseReplicationEnabled, unittest.isTrue); |
| 1254 checkIpConfiguration(o.ipConfiguration); | 1254 checkIpConfiguration(o.ipConfiguration); |
| 1255 unittest.expect(o.kind, unittest.equals('foo')); | 1255 unittest.expect(o.kind, unittest.equals('foo')); |
| 1256 checkLocationPreference(o.locationPreference); | 1256 checkLocationPreference(o.locationPreference); |
| 1257 checkMaintenanceWindow(o.maintenanceWindow); | 1257 checkMaintenanceWindow(o.maintenanceWindow); |
| 1258 unittest.expect(o.pricingPlan, unittest.equals('foo')); | 1258 unittest.expect(o.pricingPlan, unittest.equals('foo')); |
| 1259 unittest.expect(o.replicationType, unittest.equals('foo')); | 1259 unittest.expect(o.replicationType, unittest.equals('foo')); |
| 1260 unittest.expect(o.settingsVersion, unittest.equals('foo')); | 1260 unittest.expect(o.settingsVersion, unittest.equals('foo')); |
| 1261 unittest.expect(o.storageAutoResize, unittest.isTrue); | 1261 unittest.expect(o.storageAutoResize, unittest.isTrue); |
| 1262 unittest.expect(o.tier, unittest.equals('foo')); | 1262 unittest.expect(o.tier, unittest.equals('foo')); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 buildCounterSslCertsInsertResponse++; | 1376 buildCounterSslCertsInsertResponse++; |
| 1377 if (buildCounterSslCertsInsertResponse < 3) { | 1377 if (buildCounterSslCertsInsertResponse < 3) { |
| 1378 checkSslCertDetail(o.clientCert); | 1378 checkSslCertDetail(o.clientCert); |
| 1379 unittest.expect(o.kind, unittest.equals('foo')); | 1379 unittest.expect(o.kind, unittest.equals('foo')); |
| 1380 checkOperation(o.operation); | 1380 checkOperation(o.operation); |
| 1381 checkSslCert(o.serverCaCert); | 1381 checkSslCert(o.serverCaCert); |
| 1382 } | 1382 } |
| 1383 buildCounterSslCertsInsertResponse--; | 1383 buildCounterSslCertsInsertResponse--; |
| 1384 } | 1384 } |
| 1385 | 1385 |
| 1386 buildUnnamed4167() { | 1386 buildUnnamed4065() { |
| 1387 var o = new core.List<api.SslCert>(); | 1387 var o = new core.List<api.SslCert>(); |
| 1388 o.add(buildSslCert()); | 1388 o.add(buildSslCert()); |
| 1389 o.add(buildSslCert()); | 1389 o.add(buildSslCert()); |
| 1390 return o; | 1390 return o; |
| 1391 } | 1391 } |
| 1392 | 1392 |
| 1393 checkUnnamed4167(core.List<api.SslCert> o) { | 1393 checkUnnamed4065(core.List<api.SslCert> o) { |
| 1394 unittest.expect(o, unittest.hasLength(2)); | 1394 unittest.expect(o, unittest.hasLength(2)); |
| 1395 checkSslCert(o[0]); | 1395 checkSslCert(o[0]); |
| 1396 checkSslCert(o[1]); | 1396 checkSslCert(o[1]); |
| 1397 } | 1397 } |
| 1398 | 1398 |
| 1399 core.int buildCounterSslCertsListResponse = 0; | 1399 core.int buildCounterSslCertsListResponse = 0; |
| 1400 buildSslCertsListResponse() { | 1400 buildSslCertsListResponse() { |
| 1401 var o = new api.SslCertsListResponse(); | 1401 var o = new api.SslCertsListResponse(); |
| 1402 buildCounterSslCertsListResponse++; | 1402 buildCounterSslCertsListResponse++; |
| 1403 if (buildCounterSslCertsListResponse < 3) { | 1403 if (buildCounterSslCertsListResponse < 3) { |
| 1404 o.items = buildUnnamed4167(); | 1404 o.items = buildUnnamed4065(); |
| 1405 o.kind = "foo"; | 1405 o.kind = "foo"; |
| 1406 } | 1406 } |
| 1407 buildCounterSslCertsListResponse--; | 1407 buildCounterSslCertsListResponse--; |
| 1408 return o; | 1408 return o; |
| 1409 } | 1409 } |
| 1410 | 1410 |
| 1411 checkSslCertsListResponse(api.SslCertsListResponse o) { | 1411 checkSslCertsListResponse(api.SslCertsListResponse o) { |
| 1412 buildCounterSslCertsListResponse++; | 1412 buildCounterSslCertsListResponse++; |
| 1413 if (buildCounterSslCertsListResponse < 3) { | 1413 if (buildCounterSslCertsListResponse < 3) { |
| 1414 checkUnnamed4167(o.items); | 1414 checkUnnamed4065(o.items); |
| 1415 unittest.expect(o.kind, unittest.equals('foo')); | 1415 unittest.expect(o.kind, unittest.equals('foo')); |
| 1416 } | 1416 } |
| 1417 buildCounterSslCertsListResponse--; | 1417 buildCounterSslCertsListResponse--; |
| 1418 } | 1418 } |
| 1419 | 1419 |
| 1420 buildUnnamed4168() { | 1420 buildUnnamed4066() { |
| 1421 var o = new core.List<core.String>(); | 1421 var o = new core.List<core.String>(); |
| 1422 o.add("foo"); | 1422 o.add("foo"); |
| 1423 o.add("foo"); | 1423 o.add("foo"); |
| 1424 return o; | 1424 return o; |
| 1425 } | 1425 } |
| 1426 | 1426 |
| 1427 checkUnnamed4168(core.List<core.String> o) { | 1427 checkUnnamed4066(core.List<core.String> o) { |
| 1428 unittest.expect(o, unittest.hasLength(2)); | 1428 unittest.expect(o, unittest.hasLength(2)); |
| 1429 unittest.expect(o[0], unittest.equals('foo')); | 1429 unittest.expect(o[0], unittest.equals('foo')); |
| 1430 unittest.expect(o[1], unittest.equals('foo')); | 1430 unittest.expect(o[1], unittest.equals('foo')); |
| 1431 } | 1431 } |
| 1432 | 1432 |
| 1433 core.int buildCounterTier = 0; | 1433 core.int buildCounterTier = 0; |
| 1434 buildTier() { | 1434 buildTier() { |
| 1435 var o = new api.Tier(); | 1435 var o = new api.Tier(); |
| 1436 buildCounterTier++; | 1436 buildCounterTier++; |
| 1437 if (buildCounterTier < 3) { | 1437 if (buildCounterTier < 3) { |
| 1438 o.DiskQuota = "foo"; | 1438 o.DiskQuota = "foo"; |
| 1439 o.RAM = "foo"; | 1439 o.RAM = "foo"; |
| 1440 o.kind = "foo"; | 1440 o.kind = "foo"; |
| 1441 o.region = buildUnnamed4168(); | 1441 o.region = buildUnnamed4066(); |
| 1442 o.tier = "foo"; | 1442 o.tier = "foo"; |
| 1443 } | 1443 } |
| 1444 buildCounterTier--; | 1444 buildCounterTier--; |
| 1445 return o; | 1445 return o; |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 checkTier(api.Tier o) { | 1448 checkTier(api.Tier o) { |
| 1449 buildCounterTier++; | 1449 buildCounterTier++; |
| 1450 if (buildCounterTier < 3) { | 1450 if (buildCounterTier < 3) { |
| 1451 unittest.expect(o.DiskQuota, unittest.equals('foo')); | 1451 unittest.expect(o.DiskQuota, unittest.equals('foo')); |
| 1452 unittest.expect(o.RAM, unittest.equals('foo')); | 1452 unittest.expect(o.RAM, unittest.equals('foo')); |
| 1453 unittest.expect(o.kind, unittest.equals('foo')); | 1453 unittest.expect(o.kind, unittest.equals('foo')); |
| 1454 checkUnnamed4168(o.region); | 1454 checkUnnamed4066(o.region); |
| 1455 unittest.expect(o.tier, unittest.equals('foo')); | 1455 unittest.expect(o.tier, unittest.equals('foo')); |
| 1456 } | 1456 } |
| 1457 buildCounterTier--; | 1457 buildCounterTier--; |
| 1458 } | 1458 } |
| 1459 | 1459 |
| 1460 buildUnnamed4169() { | 1460 buildUnnamed4067() { |
| 1461 var o = new core.List<api.Tier>(); | 1461 var o = new core.List<api.Tier>(); |
| 1462 o.add(buildTier()); | 1462 o.add(buildTier()); |
| 1463 o.add(buildTier()); | 1463 o.add(buildTier()); |
| 1464 return o; | 1464 return o; |
| 1465 } | 1465 } |
| 1466 | 1466 |
| 1467 checkUnnamed4169(core.List<api.Tier> o) { | 1467 checkUnnamed4067(core.List<api.Tier> o) { |
| 1468 unittest.expect(o, unittest.hasLength(2)); | 1468 unittest.expect(o, unittest.hasLength(2)); |
| 1469 checkTier(o[0]); | 1469 checkTier(o[0]); |
| 1470 checkTier(o[1]); | 1470 checkTier(o[1]); |
| 1471 } | 1471 } |
| 1472 | 1472 |
| 1473 core.int buildCounterTiersListResponse = 0; | 1473 core.int buildCounterTiersListResponse = 0; |
| 1474 buildTiersListResponse() { | 1474 buildTiersListResponse() { |
| 1475 var o = new api.TiersListResponse(); | 1475 var o = new api.TiersListResponse(); |
| 1476 buildCounterTiersListResponse++; | 1476 buildCounterTiersListResponse++; |
| 1477 if (buildCounterTiersListResponse < 3) { | 1477 if (buildCounterTiersListResponse < 3) { |
| 1478 o.items = buildUnnamed4169(); | 1478 o.items = buildUnnamed4067(); |
| 1479 o.kind = "foo"; | 1479 o.kind = "foo"; |
| 1480 } | 1480 } |
| 1481 buildCounterTiersListResponse--; | 1481 buildCounterTiersListResponse--; |
| 1482 return o; | 1482 return o; |
| 1483 } | 1483 } |
| 1484 | 1484 |
| 1485 checkTiersListResponse(api.TiersListResponse o) { | 1485 checkTiersListResponse(api.TiersListResponse o) { |
| 1486 buildCounterTiersListResponse++; | 1486 buildCounterTiersListResponse++; |
| 1487 if (buildCounterTiersListResponse < 3) { | 1487 if (buildCounterTiersListResponse < 3) { |
| 1488 checkUnnamed4169(o.items); | 1488 checkUnnamed4067(o.items); |
| 1489 unittest.expect(o.kind, unittest.equals('foo')); | 1489 unittest.expect(o.kind, unittest.equals('foo')); |
| 1490 } | 1490 } |
| 1491 buildCounterTiersListResponse--; | 1491 buildCounterTiersListResponse--; |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 core.int buildCounterUser = 0; | 1494 core.int buildCounterUser = 0; |
| 1495 buildUser() { | 1495 buildUser() { |
| 1496 var o = new api.User(); | 1496 var o = new api.User(); |
| 1497 buildCounterUser++; | 1497 buildCounterUser++; |
| 1498 if (buildCounterUser < 3) { | 1498 if (buildCounterUser < 3) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1515 unittest.expect(o.host, unittest.equals('foo')); | 1515 unittest.expect(o.host, unittest.equals('foo')); |
| 1516 unittest.expect(o.instance, unittest.equals('foo')); | 1516 unittest.expect(o.instance, unittest.equals('foo')); |
| 1517 unittest.expect(o.kind, unittest.equals('foo')); | 1517 unittest.expect(o.kind, unittest.equals('foo')); |
| 1518 unittest.expect(o.name, unittest.equals('foo')); | 1518 unittest.expect(o.name, unittest.equals('foo')); |
| 1519 unittest.expect(o.password, unittest.equals('foo')); | 1519 unittest.expect(o.password, unittest.equals('foo')); |
| 1520 unittest.expect(o.project, unittest.equals('foo')); | 1520 unittest.expect(o.project, unittest.equals('foo')); |
| 1521 } | 1521 } |
| 1522 buildCounterUser--; | 1522 buildCounterUser--; |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 buildUnnamed4170() { | 1525 buildUnnamed4068() { |
| 1526 var o = new core.List<api.User>(); | 1526 var o = new core.List<api.User>(); |
| 1527 o.add(buildUser()); | 1527 o.add(buildUser()); |
| 1528 o.add(buildUser()); | 1528 o.add(buildUser()); |
| 1529 return o; | 1529 return o; |
| 1530 } | 1530 } |
| 1531 | 1531 |
| 1532 checkUnnamed4170(core.List<api.User> o) { | 1532 checkUnnamed4068(core.List<api.User> o) { |
| 1533 unittest.expect(o, unittest.hasLength(2)); | 1533 unittest.expect(o, unittest.hasLength(2)); |
| 1534 checkUser(o[0]); | 1534 checkUser(o[0]); |
| 1535 checkUser(o[1]); | 1535 checkUser(o[1]); |
| 1536 } | 1536 } |
| 1537 | 1537 |
| 1538 core.int buildCounterUsersListResponse = 0; | 1538 core.int buildCounterUsersListResponse = 0; |
| 1539 buildUsersListResponse() { | 1539 buildUsersListResponse() { |
| 1540 var o = new api.UsersListResponse(); | 1540 var o = new api.UsersListResponse(); |
| 1541 buildCounterUsersListResponse++; | 1541 buildCounterUsersListResponse++; |
| 1542 if (buildCounterUsersListResponse < 3) { | 1542 if (buildCounterUsersListResponse < 3) { |
| 1543 o.items = buildUnnamed4170(); | 1543 o.items = buildUnnamed4068(); |
| 1544 o.kind = "foo"; | 1544 o.kind = "foo"; |
| 1545 o.nextPageToken = "foo"; | 1545 o.nextPageToken = "foo"; |
| 1546 } | 1546 } |
| 1547 buildCounterUsersListResponse--; | 1547 buildCounterUsersListResponse--; |
| 1548 return o; | 1548 return o; |
| 1549 } | 1549 } |
| 1550 | 1550 |
| 1551 checkUsersListResponse(api.UsersListResponse o) { | 1551 checkUsersListResponse(api.UsersListResponse o) { |
| 1552 buildCounterUsersListResponse++; | 1552 buildCounterUsersListResponse++; |
| 1553 if (buildCounterUsersListResponse < 3) { | 1553 if (buildCounterUsersListResponse < 3) { |
| 1554 checkUnnamed4170(o.items); | 1554 checkUnnamed4068(o.items); |
| 1555 unittest.expect(o.kind, unittest.equals('foo')); | 1555 unittest.expect(o.kind, unittest.equals('foo')); |
| 1556 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1556 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1557 } | 1557 } |
| 1558 buildCounterUsersListResponse--; | 1558 buildCounterUsersListResponse--; |
| 1559 } | 1559 } |
| 1560 | 1560 |
| 1561 | 1561 |
| 1562 main() { | 1562 main() { |
| 1563 unittest.group("obj-schema-AclEntry", () { | 1563 unittest.group("obj-schema-AclEntry", () { |
| 1564 unittest.test("to-json--from-json", () { | 1564 unittest.test("to-json--from-json", () { |
| (...skipping 2883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4448 res.update(arg_request, arg_project, arg_instance, arg_host, arg_name).the
n(unittest.expectAsync(((api.Operation response) { | 4448 res.update(arg_request, arg_project, arg_instance, arg_host, arg_name).the
n(unittest.expectAsync(((api.Operation response) { |
| 4449 checkOperation(response); | 4449 checkOperation(response); |
| 4450 }))); | 4450 }))); |
| 4451 }); | 4451 }); |
| 4452 | 4452 |
| 4453 }); | 4453 }); |
| 4454 | 4454 |
| 4455 | 4455 |
| 4456 } | 4456 } |
| 4457 | 4457 |
| OLD | NEW |