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