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