| OLD | NEW |
| 1 library googleapis.dataproc.v1.test; | 1 library googleapis.dataproc.v1.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 return o; | 61 return o; |
| 62 } | 62 } |
| 63 | 63 |
| 64 checkCancelJobRequest(api.CancelJobRequest o) { | 64 checkCancelJobRequest(api.CancelJobRequest o) { |
| 65 buildCounterCancelJobRequest++; | 65 buildCounterCancelJobRequest++; |
| 66 if (buildCounterCancelJobRequest < 3) { | 66 if (buildCounterCancelJobRequest < 3) { |
| 67 } | 67 } |
| 68 buildCounterCancelJobRequest--; | 68 buildCounterCancelJobRequest--; |
| 69 } | 69 } |
| 70 | 70 |
| 71 buildUnnamed970() { | 71 buildUnnamed644() { |
| 72 var o = new core.List<api.ClusterStatus>(); | 72 var o = new core.List<api.ClusterStatus>(); |
| 73 o.add(buildClusterStatus()); | 73 o.add(buildClusterStatus()); |
| 74 o.add(buildClusterStatus()); | 74 o.add(buildClusterStatus()); |
| 75 return o; | 75 return o; |
| 76 } | 76 } |
| 77 | 77 |
| 78 checkUnnamed970(core.List<api.ClusterStatus> o) { | 78 checkUnnamed644(core.List<api.ClusterStatus> o) { |
| 79 unittest.expect(o, unittest.hasLength(2)); | 79 unittest.expect(o, unittest.hasLength(2)); |
| 80 checkClusterStatus(o[0]); | 80 checkClusterStatus(o[0]); |
| 81 checkClusterStatus(o[1]); | 81 checkClusterStatus(o[1]); |
| 82 } | 82 } |
| 83 | 83 |
| 84 core.int buildCounterCluster = 0; | 84 core.int buildCounterCluster = 0; |
| 85 buildCluster() { | 85 buildCluster() { |
| 86 var o = new api.Cluster(); | 86 var o = new api.Cluster(); |
| 87 buildCounterCluster++; | 87 buildCounterCluster++; |
| 88 if (buildCounterCluster < 3) { | 88 if (buildCounterCluster < 3) { |
| 89 o.clusterName = "foo"; | 89 o.clusterName = "foo"; |
| 90 o.clusterUuid = "foo"; | 90 o.clusterUuid = "foo"; |
| 91 o.config = buildClusterConfig(); | 91 o.config = buildClusterConfig(); |
| 92 o.projectId = "foo"; | 92 o.projectId = "foo"; |
| 93 o.status = buildClusterStatus(); | 93 o.status = buildClusterStatus(); |
| 94 o.statusHistory = buildUnnamed970(); | 94 o.statusHistory = buildUnnamed644(); |
| 95 } | 95 } |
| 96 buildCounterCluster--; | 96 buildCounterCluster--; |
| 97 return o; | 97 return o; |
| 98 } | 98 } |
| 99 | 99 |
| 100 checkCluster(api.Cluster o) { | 100 checkCluster(api.Cluster o) { |
| 101 buildCounterCluster++; | 101 buildCounterCluster++; |
| 102 if (buildCounterCluster < 3) { | 102 if (buildCounterCluster < 3) { |
| 103 unittest.expect(o.clusterName, unittest.equals('foo')); | 103 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 104 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 104 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 105 checkClusterConfig(o.config); | 105 checkClusterConfig(o.config); |
| 106 unittest.expect(o.projectId, unittest.equals('foo')); | 106 unittest.expect(o.projectId, unittest.equals('foo')); |
| 107 checkClusterStatus(o.status); | 107 checkClusterStatus(o.status); |
| 108 checkUnnamed970(o.statusHistory); | 108 checkUnnamed644(o.statusHistory); |
| 109 } | 109 } |
| 110 buildCounterCluster--; | 110 buildCounterCluster--; |
| 111 } | 111 } |
| 112 | 112 |
| 113 buildUnnamed971() { | 113 buildUnnamed645() { |
| 114 var o = new core.List<api.NodeInitializationAction>(); | 114 var o = new core.List<api.NodeInitializationAction>(); |
| 115 o.add(buildNodeInitializationAction()); | 115 o.add(buildNodeInitializationAction()); |
| 116 o.add(buildNodeInitializationAction()); | 116 o.add(buildNodeInitializationAction()); |
| 117 return o; | 117 return o; |
| 118 } | 118 } |
| 119 | 119 |
| 120 checkUnnamed971(core.List<api.NodeInitializationAction> o) { | 120 checkUnnamed645(core.List<api.NodeInitializationAction> o) { |
| 121 unittest.expect(o, unittest.hasLength(2)); | 121 unittest.expect(o, unittest.hasLength(2)); |
| 122 checkNodeInitializationAction(o[0]); | 122 checkNodeInitializationAction(o[0]); |
| 123 checkNodeInitializationAction(o[1]); | 123 checkNodeInitializationAction(o[1]); |
| 124 } | 124 } |
| 125 | 125 |
| 126 core.int buildCounterClusterConfig = 0; | 126 core.int buildCounterClusterConfig = 0; |
| 127 buildClusterConfig() { | 127 buildClusterConfig() { |
| 128 var o = new api.ClusterConfig(); | 128 var o = new api.ClusterConfig(); |
| 129 buildCounterClusterConfig++; | 129 buildCounterClusterConfig++; |
| 130 if (buildCounterClusterConfig < 3) { | 130 if (buildCounterClusterConfig < 3) { |
| 131 o.configBucket = "foo"; | 131 o.configBucket = "foo"; |
| 132 o.gceClusterConfig = buildGceClusterConfig(); | 132 o.gceClusterConfig = buildGceClusterConfig(); |
| 133 o.initializationActions = buildUnnamed971(); | 133 o.initializationActions = buildUnnamed645(); |
| 134 o.masterConfig = buildInstanceGroupConfig(); | 134 o.masterConfig = buildInstanceGroupConfig(); |
| 135 o.secondaryWorkerConfig = buildInstanceGroupConfig(); | 135 o.secondaryWorkerConfig = buildInstanceGroupConfig(); |
| 136 o.softwareConfig = buildSoftwareConfig(); | 136 o.softwareConfig = buildSoftwareConfig(); |
| 137 o.workerConfig = buildInstanceGroupConfig(); | 137 o.workerConfig = buildInstanceGroupConfig(); |
| 138 } | 138 } |
| 139 buildCounterClusterConfig--; | 139 buildCounterClusterConfig--; |
| 140 return o; | 140 return o; |
| 141 } | 141 } |
| 142 | 142 |
| 143 checkClusterConfig(api.ClusterConfig o) { | 143 checkClusterConfig(api.ClusterConfig o) { |
| 144 buildCounterClusterConfig++; | 144 buildCounterClusterConfig++; |
| 145 if (buildCounterClusterConfig < 3) { | 145 if (buildCounterClusterConfig < 3) { |
| 146 unittest.expect(o.configBucket, unittest.equals('foo')); | 146 unittest.expect(o.configBucket, unittest.equals('foo')); |
| 147 checkGceClusterConfig(o.gceClusterConfig); | 147 checkGceClusterConfig(o.gceClusterConfig); |
| 148 checkUnnamed971(o.initializationActions); | 148 checkUnnamed645(o.initializationActions); |
| 149 checkInstanceGroupConfig(o.masterConfig); | 149 checkInstanceGroupConfig(o.masterConfig); |
| 150 checkInstanceGroupConfig(o.secondaryWorkerConfig); | 150 checkInstanceGroupConfig(o.secondaryWorkerConfig); |
| 151 checkSoftwareConfig(o.softwareConfig); | 151 checkSoftwareConfig(o.softwareConfig); |
| 152 checkInstanceGroupConfig(o.workerConfig); | 152 checkInstanceGroupConfig(o.workerConfig); |
| 153 } | 153 } |
| 154 buildCounterClusterConfig--; | 154 buildCounterClusterConfig--; |
| 155 } | 155 } |
| 156 | 156 |
| 157 buildUnnamed972() { | 157 buildUnnamed646() { |
| 158 var o = new core.List<api.ClusterOperationStatus>(); | 158 var o = new core.List<api.ClusterOperationStatus>(); |
| 159 o.add(buildClusterOperationStatus()); | 159 o.add(buildClusterOperationStatus()); |
| 160 o.add(buildClusterOperationStatus()); | 160 o.add(buildClusterOperationStatus()); |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkUnnamed972(core.List<api.ClusterOperationStatus> o) { | 164 checkUnnamed646(core.List<api.ClusterOperationStatus> o) { |
| 165 unittest.expect(o, unittest.hasLength(2)); | 165 unittest.expect(o, unittest.hasLength(2)); |
| 166 checkClusterOperationStatus(o[0]); | 166 checkClusterOperationStatus(o[0]); |
| 167 checkClusterOperationStatus(o[1]); | 167 checkClusterOperationStatus(o[1]); |
| 168 } | 168 } |
| 169 | 169 |
| 170 core.int buildCounterClusterOperationMetadata = 0; | 170 core.int buildCounterClusterOperationMetadata = 0; |
| 171 buildClusterOperationMetadata() { | 171 buildClusterOperationMetadata() { |
| 172 var o = new api.ClusterOperationMetadata(); | 172 var o = new api.ClusterOperationMetadata(); |
| 173 buildCounterClusterOperationMetadata++; | 173 buildCounterClusterOperationMetadata++; |
| 174 if (buildCounterClusterOperationMetadata < 3) { | 174 if (buildCounterClusterOperationMetadata < 3) { |
| 175 o.clusterName = "foo"; | 175 o.clusterName = "foo"; |
| 176 o.clusterUuid = "foo"; | 176 o.clusterUuid = "foo"; |
| 177 o.description = "foo"; | 177 o.description = "foo"; |
| 178 o.operationType = "foo"; | 178 o.operationType = "foo"; |
| 179 o.status = buildClusterOperationStatus(); | 179 o.status = buildClusterOperationStatus(); |
| 180 o.statusHistory = buildUnnamed972(); | 180 o.statusHistory = buildUnnamed646(); |
| 181 } | 181 } |
| 182 buildCounterClusterOperationMetadata--; | 182 buildCounterClusterOperationMetadata--; |
| 183 return o; | 183 return o; |
| 184 } | 184 } |
| 185 | 185 |
| 186 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { | 186 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { |
| 187 buildCounterClusterOperationMetadata++; | 187 buildCounterClusterOperationMetadata++; |
| 188 if (buildCounterClusterOperationMetadata < 3) { | 188 if (buildCounterClusterOperationMetadata < 3) { |
| 189 unittest.expect(o.clusterName, unittest.equals('foo')); | 189 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 190 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 190 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 191 unittest.expect(o.description, unittest.equals('foo')); | 191 unittest.expect(o.description, unittest.equals('foo')); |
| 192 unittest.expect(o.operationType, unittest.equals('foo')); | 192 unittest.expect(o.operationType, unittest.equals('foo')); |
| 193 checkClusterOperationStatus(o.status); | 193 checkClusterOperationStatus(o.status); |
| 194 checkUnnamed972(o.statusHistory); | 194 checkUnnamed646(o.statusHistory); |
| 195 } | 195 } |
| 196 buildCounterClusterOperationMetadata--; | 196 buildCounterClusterOperationMetadata--; |
| 197 } | 197 } |
| 198 | 198 |
| 199 core.int buildCounterClusterOperationStatus = 0; | 199 core.int buildCounterClusterOperationStatus = 0; |
| 200 buildClusterOperationStatus() { | 200 buildClusterOperationStatus() { |
| 201 var o = new api.ClusterOperationStatus(); | 201 var o = new api.ClusterOperationStatus(); |
| 202 buildCounterClusterOperationStatus++; | 202 buildCounterClusterOperationStatus++; |
| 203 if (buildCounterClusterOperationStatus < 3) { | 203 if (buildCounterClusterOperationStatus < 3) { |
| 204 o.details = "foo"; | 204 o.details = "foo"; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 return o; | 330 return o; |
| 331 } | 331 } |
| 332 | 332 |
| 333 checkEmpty(api.Empty o) { | 333 checkEmpty(api.Empty o) { |
| 334 buildCounterEmpty++; | 334 buildCounterEmpty++; |
| 335 if (buildCounterEmpty < 3) { | 335 if (buildCounterEmpty < 3) { |
| 336 } | 336 } |
| 337 buildCounterEmpty--; | 337 buildCounterEmpty--; |
| 338 } | 338 } |
| 339 | 339 |
| 340 buildUnnamed973() { | 340 buildUnnamed647() { |
| 341 var o = new core.Map<core.String, core.String>(); | 341 var o = new core.Map<core.String, core.String>(); |
| 342 o["x"] = "foo"; | 342 o["x"] = "foo"; |
| 343 o["y"] = "foo"; | 343 o["y"] = "foo"; |
| 344 return o; | 344 return o; |
| 345 } | 345 } |
| 346 | 346 |
| 347 checkUnnamed973(core.Map<core.String, core.String> o) { | 347 checkUnnamed647(core.Map<core.String, core.String> o) { |
| 348 unittest.expect(o, unittest.hasLength(2)); | 348 unittest.expect(o, unittest.hasLength(2)); |
| 349 unittest.expect(o["x"], unittest.equals('foo')); | 349 unittest.expect(o["x"], unittest.equals('foo')); |
| 350 unittest.expect(o["y"], unittest.equals('foo')); | 350 unittest.expect(o["y"], unittest.equals('foo')); |
| 351 } | 351 } |
| 352 | 352 |
| 353 buildUnnamed974() { | 353 buildUnnamed648() { |
| 354 var o = new core.List<core.String>(); | 354 var o = new core.List<core.String>(); |
| 355 o.add("foo"); | 355 o.add("foo"); |
| 356 o.add("foo"); | 356 o.add("foo"); |
| 357 return o; | 357 return o; |
| 358 } | 358 } |
| 359 | 359 |
| 360 checkUnnamed974(core.List<core.String> o) { | 360 checkUnnamed648(core.List<core.String> o) { |
| 361 unittest.expect(o, unittest.hasLength(2)); | 361 unittest.expect(o, unittest.hasLength(2)); |
| 362 unittest.expect(o[0], unittest.equals('foo')); | 362 unittest.expect(o[0], unittest.equals('foo')); |
| 363 unittest.expect(o[1], unittest.equals('foo')); | 363 unittest.expect(o[1], unittest.equals('foo')); |
| 364 } | 364 } |
| 365 | 365 |
| 366 buildUnnamed975() { | 366 buildUnnamed649() { |
| 367 var o = new core.List<core.String>(); | 367 var o = new core.List<core.String>(); |
| 368 o.add("foo"); | 368 o.add("foo"); |
| 369 o.add("foo"); | 369 o.add("foo"); |
| 370 return o; | 370 return o; |
| 371 } | 371 } |
| 372 | 372 |
| 373 checkUnnamed975(core.List<core.String> o) { | 373 checkUnnamed649(core.List<core.String> o) { |
| 374 unittest.expect(o, unittest.hasLength(2)); | 374 unittest.expect(o, unittest.hasLength(2)); |
| 375 unittest.expect(o[0], unittest.equals('foo')); | 375 unittest.expect(o[0], unittest.equals('foo')); |
| 376 unittest.expect(o[1], unittest.equals('foo')); | 376 unittest.expect(o[1], unittest.equals('foo')); |
| 377 } | 377 } |
| 378 | 378 |
| 379 core.int buildCounterGceClusterConfig = 0; | 379 core.int buildCounterGceClusterConfig = 0; |
| 380 buildGceClusterConfig() { | 380 buildGceClusterConfig() { |
| 381 var o = new api.GceClusterConfig(); | 381 var o = new api.GceClusterConfig(); |
| 382 buildCounterGceClusterConfig++; | 382 buildCounterGceClusterConfig++; |
| 383 if (buildCounterGceClusterConfig < 3) { | 383 if (buildCounterGceClusterConfig < 3) { |
| 384 o.metadata = buildUnnamed973(); | 384 o.metadata = buildUnnamed647(); |
| 385 o.networkUri = "foo"; | 385 o.networkUri = "foo"; |
| 386 o.serviceAccountScopes = buildUnnamed974(); | 386 o.serviceAccountScopes = buildUnnamed648(); |
| 387 o.subnetworkUri = "foo"; | 387 o.subnetworkUri = "foo"; |
| 388 o.tags = buildUnnamed975(); | 388 o.tags = buildUnnamed649(); |
| 389 o.zoneUri = "foo"; | 389 o.zoneUri = "foo"; |
| 390 } | 390 } |
| 391 buildCounterGceClusterConfig--; | 391 buildCounterGceClusterConfig--; |
| 392 return o; | 392 return o; |
| 393 } | 393 } |
| 394 | 394 |
| 395 checkGceClusterConfig(api.GceClusterConfig o) { | 395 checkGceClusterConfig(api.GceClusterConfig o) { |
| 396 buildCounterGceClusterConfig++; | 396 buildCounterGceClusterConfig++; |
| 397 if (buildCounterGceClusterConfig < 3) { | 397 if (buildCounterGceClusterConfig < 3) { |
| 398 checkUnnamed973(o.metadata); | 398 checkUnnamed647(o.metadata); |
| 399 unittest.expect(o.networkUri, unittest.equals('foo')); | 399 unittest.expect(o.networkUri, unittest.equals('foo')); |
| 400 checkUnnamed974(o.serviceAccountScopes); | 400 checkUnnamed648(o.serviceAccountScopes); |
| 401 unittest.expect(o.subnetworkUri, unittest.equals('foo')); | 401 unittest.expect(o.subnetworkUri, unittest.equals('foo')); |
| 402 checkUnnamed975(o.tags); | 402 checkUnnamed649(o.tags); |
| 403 unittest.expect(o.zoneUri, unittest.equals('foo')); | 403 unittest.expect(o.zoneUri, unittest.equals('foo')); |
| 404 } | 404 } |
| 405 buildCounterGceClusterConfig--; | 405 buildCounterGceClusterConfig--; |
| 406 } | 406 } |
| 407 | 407 |
| 408 buildUnnamed976() { | 408 buildUnnamed650() { |
| 409 var o = new core.List<core.String>(); | 409 var o = new core.List<core.String>(); |
| 410 o.add("foo"); | 410 o.add("foo"); |
| 411 o.add("foo"); | 411 o.add("foo"); |
| 412 return o; | 412 return o; |
| 413 } | 413 } |
| 414 | 414 |
| 415 checkUnnamed976(core.List<core.String> o) { | 415 checkUnnamed650(core.List<core.String> o) { |
| 416 unittest.expect(o, unittest.hasLength(2)); | 416 unittest.expect(o, unittest.hasLength(2)); |
| 417 unittest.expect(o[0], unittest.equals('foo')); | 417 unittest.expect(o[0], unittest.equals('foo')); |
| 418 unittest.expect(o[1], unittest.equals('foo')); | 418 unittest.expect(o[1], unittest.equals('foo')); |
| 419 } | 419 } |
| 420 | 420 |
| 421 buildUnnamed977() { | 421 buildUnnamed651() { |
| 422 var o = new core.List<core.String>(); | 422 var o = new core.List<core.String>(); |
| 423 o.add("foo"); | 423 o.add("foo"); |
| 424 o.add("foo"); | 424 o.add("foo"); |
| 425 return o; | 425 return o; |
| 426 } | 426 } |
| 427 | 427 |
| 428 checkUnnamed977(core.List<core.String> o) { | 428 checkUnnamed651(core.List<core.String> o) { |
| 429 unittest.expect(o, unittest.hasLength(2)); | 429 unittest.expect(o, unittest.hasLength(2)); |
| 430 unittest.expect(o[0], unittest.equals('foo')); | 430 unittest.expect(o[0], unittest.equals('foo')); |
| 431 unittest.expect(o[1], unittest.equals('foo')); | 431 unittest.expect(o[1], unittest.equals('foo')); |
| 432 } | 432 } |
| 433 | 433 |
| 434 buildUnnamed978() { | 434 buildUnnamed652() { |
| 435 var o = new core.List<core.String>(); | 435 var o = new core.List<core.String>(); |
| 436 o.add("foo"); | 436 o.add("foo"); |
| 437 o.add("foo"); | 437 o.add("foo"); |
| 438 return o; | 438 return o; |
| 439 } | 439 } |
| 440 | 440 |
| 441 checkUnnamed978(core.List<core.String> o) { | 441 checkUnnamed652(core.List<core.String> o) { |
| 442 unittest.expect(o, unittest.hasLength(2)); | 442 unittest.expect(o, unittest.hasLength(2)); |
| 443 unittest.expect(o[0], unittest.equals('foo')); | 443 unittest.expect(o[0], unittest.equals('foo')); |
| 444 unittest.expect(o[1], unittest.equals('foo')); | 444 unittest.expect(o[1], unittest.equals('foo')); |
| 445 } | 445 } |
| 446 | 446 |
| 447 buildUnnamed979() { | 447 buildUnnamed653() { |
| 448 var o = new core.List<core.String>(); | 448 var o = new core.List<core.String>(); |
| 449 o.add("foo"); | 449 o.add("foo"); |
| 450 o.add("foo"); | 450 o.add("foo"); |
| 451 return o; | 451 return o; |
| 452 } | 452 } |
| 453 | 453 |
| 454 checkUnnamed979(core.List<core.String> o) { | 454 checkUnnamed653(core.List<core.String> o) { |
| 455 unittest.expect(o, unittest.hasLength(2)); | 455 unittest.expect(o, unittest.hasLength(2)); |
| 456 unittest.expect(o[0], unittest.equals('foo')); | 456 unittest.expect(o[0], unittest.equals('foo')); |
| 457 unittest.expect(o[1], unittest.equals('foo')); | 457 unittest.expect(o[1], unittest.equals('foo')); |
| 458 } | 458 } |
| 459 | 459 |
| 460 buildUnnamed980() { | 460 buildUnnamed654() { |
| 461 var o = new core.Map<core.String, core.String>(); | 461 var o = new core.Map<core.String, core.String>(); |
| 462 o["x"] = "foo"; | 462 o["x"] = "foo"; |
| 463 o["y"] = "foo"; | 463 o["y"] = "foo"; |
| 464 return o; | 464 return o; |
| 465 } | 465 } |
| 466 | 466 |
| 467 checkUnnamed980(core.Map<core.String, core.String> o) { | 467 checkUnnamed654(core.Map<core.String, core.String> o) { |
| 468 unittest.expect(o, unittest.hasLength(2)); | 468 unittest.expect(o, unittest.hasLength(2)); |
| 469 unittest.expect(o["x"], unittest.equals('foo')); | 469 unittest.expect(o["x"], unittest.equals('foo')); |
| 470 unittest.expect(o["y"], unittest.equals('foo')); | 470 unittest.expect(o["y"], unittest.equals('foo')); |
| 471 } | 471 } |
| 472 | 472 |
| 473 core.int buildCounterHadoopJob = 0; | 473 core.int buildCounterHadoopJob = 0; |
| 474 buildHadoopJob() { | 474 buildHadoopJob() { |
| 475 var o = new api.HadoopJob(); | 475 var o = new api.HadoopJob(); |
| 476 buildCounterHadoopJob++; | 476 buildCounterHadoopJob++; |
| 477 if (buildCounterHadoopJob < 3) { | 477 if (buildCounterHadoopJob < 3) { |
| 478 o.archiveUris = buildUnnamed976(); | 478 o.archiveUris = buildUnnamed650(); |
| 479 o.args = buildUnnamed977(); | 479 o.args = buildUnnamed651(); |
| 480 o.fileUris = buildUnnamed978(); | 480 o.fileUris = buildUnnamed652(); |
| 481 o.jarFileUris = buildUnnamed979(); | 481 o.jarFileUris = buildUnnamed653(); |
| 482 o.loggingConfig = buildLoggingConfig(); | 482 o.loggingConfig = buildLoggingConfig(); |
| 483 o.mainClass = "foo"; | 483 o.mainClass = "foo"; |
| 484 o.mainJarFileUri = "foo"; | 484 o.mainJarFileUri = "foo"; |
| 485 o.properties = buildUnnamed980(); | 485 o.properties = buildUnnamed654(); |
| 486 } | 486 } |
| 487 buildCounterHadoopJob--; | 487 buildCounterHadoopJob--; |
| 488 return o; | 488 return o; |
| 489 } | 489 } |
| 490 | 490 |
| 491 checkHadoopJob(api.HadoopJob o) { | 491 checkHadoopJob(api.HadoopJob o) { |
| 492 buildCounterHadoopJob++; | 492 buildCounterHadoopJob++; |
| 493 if (buildCounterHadoopJob < 3) { | 493 if (buildCounterHadoopJob < 3) { |
| 494 checkUnnamed976(o.archiveUris); | 494 checkUnnamed650(o.archiveUris); |
| 495 checkUnnamed977(o.args); | 495 checkUnnamed651(o.args); |
| 496 checkUnnamed978(o.fileUris); | 496 checkUnnamed652(o.fileUris); |
| 497 checkUnnamed979(o.jarFileUris); | 497 checkUnnamed653(o.jarFileUris); |
| 498 checkLoggingConfig(o.loggingConfig); | 498 checkLoggingConfig(o.loggingConfig); |
| 499 unittest.expect(o.mainClass, unittest.equals('foo')); | 499 unittest.expect(o.mainClass, unittest.equals('foo')); |
| 500 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 500 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
| 501 checkUnnamed980(o.properties); | 501 checkUnnamed654(o.properties); |
| 502 } | 502 } |
| 503 buildCounterHadoopJob--; | 503 buildCounterHadoopJob--; |
| 504 } | 504 } |
| 505 | 505 |
| 506 buildUnnamed981() { | 506 buildUnnamed655() { |
| 507 var o = new core.List<core.String>(); | 507 var o = new core.List<core.String>(); |
| 508 o.add("foo"); | 508 o.add("foo"); |
| 509 o.add("foo"); | 509 o.add("foo"); |
| 510 return o; | 510 return o; |
| 511 } | 511 } |
| 512 | 512 |
| 513 checkUnnamed981(core.List<core.String> o) { | 513 checkUnnamed655(core.List<core.String> o) { |
| 514 unittest.expect(o, unittest.hasLength(2)); | 514 unittest.expect(o, unittest.hasLength(2)); |
| 515 unittest.expect(o[0], unittest.equals('foo')); | 515 unittest.expect(o[0], unittest.equals('foo')); |
| 516 unittest.expect(o[1], unittest.equals('foo')); | 516 unittest.expect(o[1], unittest.equals('foo')); |
| 517 } | 517 } |
| 518 | 518 |
| 519 buildUnnamed982() { | 519 buildUnnamed656() { |
| 520 var o = new core.Map<core.String, core.String>(); | 520 var o = new core.Map<core.String, core.String>(); |
| 521 o["x"] = "foo"; | 521 o["x"] = "foo"; |
| 522 o["y"] = "foo"; | 522 o["y"] = "foo"; |
| 523 return o; | 523 return o; |
| 524 } | 524 } |
| 525 | 525 |
| 526 checkUnnamed982(core.Map<core.String, core.String> o) { | 526 checkUnnamed656(core.Map<core.String, core.String> o) { |
| 527 unittest.expect(o, unittest.hasLength(2)); | 527 unittest.expect(o, unittest.hasLength(2)); |
| 528 unittest.expect(o["x"], unittest.equals('foo')); | 528 unittest.expect(o["x"], unittest.equals('foo')); |
| 529 unittest.expect(o["y"], unittest.equals('foo')); | 529 unittest.expect(o["y"], unittest.equals('foo')); |
| 530 } | 530 } |
| 531 | 531 |
| 532 buildUnnamed983() { | 532 buildUnnamed657() { |
| 533 var o = new core.Map<core.String, core.String>(); | 533 var o = new core.Map<core.String, core.String>(); |
| 534 o["x"] = "foo"; | 534 o["x"] = "foo"; |
| 535 o["y"] = "foo"; | 535 o["y"] = "foo"; |
| 536 return o; | 536 return o; |
| 537 } | 537 } |
| 538 | 538 |
| 539 checkUnnamed983(core.Map<core.String, core.String> o) { | 539 checkUnnamed657(core.Map<core.String, core.String> o) { |
| 540 unittest.expect(o, unittest.hasLength(2)); | 540 unittest.expect(o, unittest.hasLength(2)); |
| 541 unittest.expect(o["x"], unittest.equals('foo')); | 541 unittest.expect(o["x"], unittest.equals('foo')); |
| 542 unittest.expect(o["y"], unittest.equals('foo')); | 542 unittest.expect(o["y"], unittest.equals('foo')); |
| 543 } | 543 } |
| 544 | 544 |
| 545 core.int buildCounterHiveJob = 0; | 545 core.int buildCounterHiveJob = 0; |
| 546 buildHiveJob() { | 546 buildHiveJob() { |
| 547 var o = new api.HiveJob(); | 547 var o = new api.HiveJob(); |
| 548 buildCounterHiveJob++; | 548 buildCounterHiveJob++; |
| 549 if (buildCounterHiveJob < 3) { | 549 if (buildCounterHiveJob < 3) { |
| 550 o.continueOnFailure = true; | 550 o.continueOnFailure = true; |
| 551 o.jarFileUris = buildUnnamed981(); | 551 o.jarFileUris = buildUnnamed655(); |
| 552 o.properties = buildUnnamed982(); | 552 o.properties = buildUnnamed656(); |
| 553 o.queryFileUri = "foo"; | 553 o.queryFileUri = "foo"; |
| 554 o.queryList = buildQueryList(); | 554 o.queryList = buildQueryList(); |
| 555 o.scriptVariables = buildUnnamed983(); | 555 o.scriptVariables = buildUnnamed657(); |
| 556 } | 556 } |
| 557 buildCounterHiveJob--; | 557 buildCounterHiveJob--; |
| 558 return o; | 558 return o; |
| 559 } | 559 } |
| 560 | 560 |
| 561 checkHiveJob(api.HiveJob o) { | 561 checkHiveJob(api.HiveJob o) { |
| 562 buildCounterHiveJob++; | 562 buildCounterHiveJob++; |
| 563 if (buildCounterHiveJob < 3) { | 563 if (buildCounterHiveJob < 3) { |
| 564 unittest.expect(o.continueOnFailure, unittest.isTrue); | 564 unittest.expect(o.continueOnFailure, unittest.isTrue); |
| 565 checkUnnamed981(o.jarFileUris); | 565 checkUnnamed655(o.jarFileUris); |
| 566 checkUnnamed982(o.properties); | 566 checkUnnamed656(o.properties); |
| 567 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 567 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 568 checkQueryList(o.queryList); | 568 checkQueryList(o.queryList); |
| 569 checkUnnamed983(o.scriptVariables); | 569 checkUnnamed657(o.scriptVariables); |
| 570 } | 570 } |
| 571 buildCounterHiveJob--; | 571 buildCounterHiveJob--; |
| 572 } | 572 } |
| 573 | 573 |
| 574 buildUnnamed984() { | 574 buildUnnamed658() { |
| 575 var o = new core.List<core.String>(); | 575 var o = new core.List<core.String>(); |
| 576 o.add("foo"); | 576 o.add("foo"); |
| 577 o.add("foo"); | 577 o.add("foo"); |
| 578 return o; | 578 return o; |
| 579 } | 579 } |
| 580 | 580 |
| 581 checkUnnamed984(core.List<core.String> o) { | 581 checkUnnamed658(core.List<core.String> o) { |
| 582 unittest.expect(o, unittest.hasLength(2)); | 582 unittest.expect(o, unittest.hasLength(2)); |
| 583 unittest.expect(o[0], unittest.equals('foo')); | 583 unittest.expect(o[0], unittest.equals('foo')); |
| 584 unittest.expect(o[1], unittest.equals('foo')); | 584 unittest.expect(o[1], unittest.equals('foo')); |
| 585 } | 585 } |
| 586 | 586 |
| 587 core.int buildCounterInstanceGroupConfig = 0; | 587 core.int buildCounterInstanceGroupConfig = 0; |
| 588 buildInstanceGroupConfig() { | 588 buildInstanceGroupConfig() { |
| 589 var o = new api.InstanceGroupConfig(); | 589 var o = new api.InstanceGroupConfig(); |
| 590 buildCounterInstanceGroupConfig++; | 590 buildCounterInstanceGroupConfig++; |
| 591 if (buildCounterInstanceGroupConfig < 3) { | 591 if (buildCounterInstanceGroupConfig < 3) { |
| 592 o.diskConfig = buildDiskConfig(); | 592 o.diskConfig = buildDiskConfig(); |
| 593 o.imageUri = "foo"; | 593 o.imageUri = "foo"; |
| 594 o.instanceNames = buildUnnamed984(); | 594 o.instanceNames = buildUnnamed658(); |
| 595 o.isPreemptible = true; | 595 o.isPreemptible = true; |
| 596 o.machineTypeUri = "foo"; | 596 o.machineTypeUri = "foo"; |
| 597 o.managedGroupConfig = buildManagedGroupConfig(); | 597 o.managedGroupConfig = buildManagedGroupConfig(); |
| 598 o.numInstances = 42; | 598 o.numInstances = 42; |
| 599 } | 599 } |
| 600 buildCounterInstanceGroupConfig--; | 600 buildCounterInstanceGroupConfig--; |
| 601 return o; | 601 return o; |
| 602 } | 602 } |
| 603 | 603 |
| 604 checkInstanceGroupConfig(api.InstanceGroupConfig o) { | 604 checkInstanceGroupConfig(api.InstanceGroupConfig o) { |
| 605 buildCounterInstanceGroupConfig++; | 605 buildCounterInstanceGroupConfig++; |
| 606 if (buildCounterInstanceGroupConfig < 3) { | 606 if (buildCounterInstanceGroupConfig < 3) { |
| 607 checkDiskConfig(o.diskConfig); | 607 checkDiskConfig(o.diskConfig); |
| 608 unittest.expect(o.imageUri, unittest.equals('foo')); | 608 unittest.expect(o.imageUri, unittest.equals('foo')); |
| 609 checkUnnamed984(o.instanceNames); | 609 checkUnnamed658(o.instanceNames); |
| 610 unittest.expect(o.isPreemptible, unittest.isTrue); | 610 unittest.expect(o.isPreemptible, unittest.isTrue); |
| 611 unittest.expect(o.machineTypeUri, unittest.equals('foo')); | 611 unittest.expect(o.machineTypeUri, unittest.equals('foo')); |
| 612 checkManagedGroupConfig(o.managedGroupConfig); | 612 checkManagedGroupConfig(o.managedGroupConfig); |
| 613 unittest.expect(o.numInstances, unittest.equals(42)); | 613 unittest.expect(o.numInstances, unittest.equals(42)); |
| 614 } | 614 } |
| 615 buildCounterInstanceGroupConfig--; | 615 buildCounterInstanceGroupConfig--; |
| 616 } | 616 } |
| 617 | 617 |
| 618 buildUnnamed985() { | 618 buildUnnamed659() { |
| 619 var o = new core.List<api.JobStatus>(); | 619 var o = new core.List<api.JobStatus>(); |
| 620 o.add(buildJobStatus()); | 620 o.add(buildJobStatus()); |
| 621 o.add(buildJobStatus()); | 621 o.add(buildJobStatus()); |
| 622 return o; | 622 return o; |
| 623 } | 623 } |
| 624 | 624 |
| 625 checkUnnamed985(core.List<api.JobStatus> o) { | 625 checkUnnamed659(core.List<api.JobStatus> o) { |
| 626 unittest.expect(o, unittest.hasLength(2)); | 626 unittest.expect(o, unittest.hasLength(2)); |
| 627 checkJobStatus(o[0]); | 627 checkJobStatus(o[0]); |
| 628 checkJobStatus(o[1]); | 628 checkJobStatus(o[1]); |
| 629 } | 629 } |
| 630 | 630 |
| 631 core.int buildCounterJob = 0; | 631 core.int buildCounterJob = 0; |
| 632 buildJob() { | 632 buildJob() { |
| 633 var o = new api.Job(); | 633 var o = new api.Job(); |
| 634 buildCounterJob++; | 634 buildCounterJob++; |
| 635 if (buildCounterJob < 3) { | 635 if (buildCounterJob < 3) { |
| 636 o.driverControlFilesUri = "foo"; | 636 o.driverControlFilesUri = "foo"; |
| 637 o.driverOutputResourceUri = "foo"; | 637 o.driverOutputResourceUri = "foo"; |
| 638 o.hadoopJob = buildHadoopJob(); | 638 o.hadoopJob = buildHadoopJob(); |
| 639 o.hiveJob = buildHiveJob(); | 639 o.hiveJob = buildHiveJob(); |
| 640 o.pigJob = buildPigJob(); | 640 o.pigJob = buildPigJob(); |
| 641 o.placement = buildJobPlacement(); | 641 o.placement = buildJobPlacement(); |
| 642 o.pysparkJob = buildPySparkJob(); | 642 o.pysparkJob = buildPySparkJob(); |
| 643 o.reference = buildJobReference(); | 643 o.reference = buildJobReference(); |
| 644 o.sparkJob = buildSparkJob(); | 644 o.sparkJob = buildSparkJob(); |
| 645 o.sparkSqlJob = buildSparkSqlJob(); | 645 o.sparkSqlJob = buildSparkSqlJob(); |
| 646 o.status = buildJobStatus(); | 646 o.status = buildJobStatus(); |
| 647 o.statusHistory = buildUnnamed985(); | 647 o.statusHistory = buildUnnamed659(); |
| 648 } | 648 } |
| 649 buildCounterJob--; | 649 buildCounterJob--; |
| 650 return o; | 650 return o; |
| 651 } | 651 } |
| 652 | 652 |
| 653 checkJob(api.Job o) { | 653 checkJob(api.Job o) { |
| 654 buildCounterJob++; | 654 buildCounterJob++; |
| 655 if (buildCounterJob < 3) { | 655 if (buildCounterJob < 3) { |
| 656 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); | 656 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); |
| 657 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); | 657 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); |
| 658 checkHadoopJob(o.hadoopJob); | 658 checkHadoopJob(o.hadoopJob); |
| 659 checkHiveJob(o.hiveJob); | 659 checkHiveJob(o.hiveJob); |
| 660 checkPigJob(o.pigJob); | 660 checkPigJob(o.pigJob); |
| 661 checkJobPlacement(o.placement); | 661 checkJobPlacement(o.placement); |
| 662 checkPySparkJob(o.pysparkJob); | 662 checkPySparkJob(o.pysparkJob); |
| 663 checkJobReference(o.reference); | 663 checkJobReference(o.reference); |
| 664 checkSparkJob(o.sparkJob); | 664 checkSparkJob(o.sparkJob); |
| 665 checkSparkSqlJob(o.sparkSqlJob); | 665 checkSparkSqlJob(o.sparkSqlJob); |
| 666 checkJobStatus(o.status); | 666 checkJobStatus(o.status); |
| 667 checkUnnamed985(o.statusHistory); | 667 checkUnnamed659(o.statusHistory); |
| 668 } | 668 } |
| 669 buildCounterJob--; | 669 buildCounterJob--; |
| 670 } | 670 } |
| 671 | 671 |
| 672 core.int buildCounterJobPlacement = 0; | 672 core.int buildCounterJobPlacement = 0; |
| 673 buildJobPlacement() { | 673 buildJobPlacement() { |
| 674 var o = new api.JobPlacement(); | 674 var o = new api.JobPlacement(); |
| 675 buildCounterJobPlacement++; | 675 buildCounterJobPlacement++; |
| 676 if (buildCounterJobPlacement < 3) { | 676 if (buildCounterJobPlacement < 3) { |
| 677 o.clusterName = "foo"; | 677 o.clusterName = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 checkJobStatus(api.JobStatus o) { | 727 checkJobStatus(api.JobStatus o) { |
| 728 buildCounterJobStatus++; | 728 buildCounterJobStatus++; |
| 729 if (buildCounterJobStatus < 3) { | 729 if (buildCounterJobStatus < 3) { |
| 730 unittest.expect(o.details, unittest.equals('foo')); | 730 unittest.expect(o.details, unittest.equals('foo')); |
| 731 unittest.expect(o.state, unittest.equals('foo')); | 731 unittest.expect(o.state, unittest.equals('foo')); |
| 732 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 732 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
| 733 } | 733 } |
| 734 buildCounterJobStatus--; | 734 buildCounterJobStatus--; |
| 735 } | 735 } |
| 736 | 736 |
| 737 buildUnnamed986() { | 737 buildUnnamed660() { |
| 738 var o = new core.List<api.Cluster>(); | 738 var o = new core.List<api.Cluster>(); |
| 739 o.add(buildCluster()); | 739 o.add(buildCluster()); |
| 740 o.add(buildCluster()); | 740 o.add(buildCluster()); |
| 741 return o; | 741 return o; |
| 742 } | 742 } |
| 743 | 743 |
| 744 checkUnnamed986(core.List<api.Cluster> o) { | 744 checkUnnamed660(core.List<api.Cluster> o) { |
| 745 unittest.expect(o, unittest.hasLength(2)); | 745 unittest.expect(o, unittest.hasLength(2)); |
| 746 checkCluster(o[0]); | 746 checkCluster(o[0]); |
| 747 checkCluster(o[1]); | 747 checkCluster(o[1]); |
| 748 } | 748 } |
| 749 | 749 |
| 750 core.int buildCounterListClustersResponse = 0; | 750 core.int buildCounterListClustersResponse = 0; |
| 751 buildListClustersResponse() { | 751 buildListClustersResponse() { |
| 752 var o = new api.ListClustersResponse(); | 752 var o = new api.ListClustersResponse(); |
| 753 buildCounterListClustersResponse++; | 753 buildCounterListClustersResponse++; |
| 754 if (buildCounterListClustersResponse < 3) { | 754 if (buildCounterListClustersResponse < 3) { |
| 755 o.clusters = buildUnnamed986(); | 755 o.clusters = buildUnnamed660(); |
| 756 o.nextPageToken = "foo"; | 756 o.nextPageToken = "foo"; |
| 757 } | 757 } |
| 758 buildCounterListClustersResponse--; | 758 buildCounterListClustersResponse--; |
| 759 return o; | 759 return o; |
| 760 } | 760 } |
| 761 | 761 |
| 762 checkListClustersResponse(api.ListClustersResponse o) { | 762 checkListClustersResponse(api.ListClustersResponse o) { |
| 763 buildCounterListClustersResponse++; | 763 buildCounterListClustersResponse++; |
| 764 if (buildCounterListClustersResponse < 3) { | 764 if (buildCounterListClustersResponse < 3) { |
| 765 checkUnnamed986(o.clusters); | 765 checkUnnamed660(o.clusters); |
| 766 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 766 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 767 } | 767 } |
| 768 buildCounterListClustersResponse--; | 768 buildCounterListClustersResponse--; |
| 769 } | 769 } |
| 770 | 770 |
| 771 buildUnnamed987() { | 771 buildUnnamed661() { |
| 772 var o = new core.List<api.Job>(); | 772 var o = new core.List<api.Job>(); |
| 773 o.add(buildJob()); | 773 o.add(buildJob()); |
| 774 o.add(buildJob()); | 774 o.add(buildJob()); |
| 775 return o; | 775 return o; |
| 776 } | 776 } |
| 777 | 777 |
| 778 checkUnnamed987(core.List<api.Job> o) { | 778 checkUnnamed661(core.List<api.Job> o) { |
| 779 unittest.expect(o, unittest.hasLength(2)); | 779 unittest.expect(o, unittest.hasLength(2)); |
| 780 checkJob(o[0]); | 780 checkJob(o[0]); |
| 781 checkJob(o[1]); | 781 checkJob(o[1]); |
| 782 } | 782 } |
| 783 | 783 |
| 784 core.int buildCounterListJobsResponse = 0; | 784 core.int buildCounterListJobsResponse = 0; |
| 785 buildListJobsResponse() { | 785 buildListJobsResponse() { |
| 786 var o = new api.ListJobsResponse(); | 786 var o = new api.ListJobsResponse(); |
| 787 buildCounterListJobsResponse++; | 787 buildCounterListJobsResponse++; |
| 788 if (buildCounterListJobsResponse < 3) { | 788 if (buildCounterListJobsResponse < 3) { |
| 789 o.jobs = buildUnnamed987(); | 789 o.jobs = buildUnnamed661(); |
| 790 o.nextPageToken = "foo"; | 790 o.nextPageToken = "foo"; |
| 791 } | 791 } |
| 792 buildCounterListJobsResponse--; | 792 buildCounterListJobsResponse--; |
| 793 return o; | 793 return o; |
| 794 } | 794 } |
| 795 | 795 |
| 796 checkListJobsResponse(api.ListJobsResponse o) { | 796 checkListJobsResponse(api.ListJobsResponse o) { |
| 797 buildCounterListJobsResponse++; | 797 buildCounterListJobsResponse++; |
| 798 if (buildCounterListJobsResponse < 3) { | 798 if (buildCounterListJobsResponse < 3) { |
| 799 checkUnnamed987(o.jobs); | 799 checkUnnamed661(o.jobs); |
| 800 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 800 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 801 } | 801 } |
| 802 buildCounterListJobsResponse--; | 802 buildCounterListJobsResponse--; |
| 803 } | 803 } |
| 804 | 804 |
| 805 buildUnnamed988() { | 805 buildUnnamed662() { |
| 806 var o = new core.List<api.Operation>(); | 806 var o = new core.List<api.Operation>(); |
| 807 o.add(buildOperation()); | 807 o.add(buildOperation()); |
| 808 o.add(buildOperation()); | 808 o.add(buildOperation()); |
| 809 return o; | 809 return o; |
| 810 } | 810 } |
| 811 | 811 |
| 812 checkUnnamed988(core.List<api.Operation> o) { | 812 checkUnnamed662(core.List<api.Operation> o) { |
| 813 unittest.expect(o, unittest.hasLength(2)); | 813 unittest.expect(o, unittest.hasLength(2)); |
| 814 checkOperation(o[0]); | 814 checkOperation(o[0]); |
| 815 checkOperation(o[1]); | 815 checkOperation(o[1]); |
| 816 } | 816 } |
| 817 | 817 |
| 818 core.int buildCounterListOperationsResponse = 0; | 818 core.int buildCounterListOperationsResponse = 0; |
| 819 buildListOperationsResponse() { | 819 buildListOperationsResponse() { |
| 820 var o = new api.ListOperationsResponse(); | 820 var o = new api.ListOperationsResponse(); |
| 821 buildCounterListOperationsResponse++; | 821 buildCounterListOperationsResponse++; |
| 822 if (buildCounterListOperationsResponse < 3) { | 822 if (buildCounterListOperationsResponse < 3) { |
| 823 o.nextPageToken = "foo"; | 823 o.nextPageToken = "foo"; |
| 824 o.operations = buildUnnamed988(); | 824 o.operations = buildUnnamed662(); |
| 825 } | 825 } |
| 826 buildCounterListOperationsResponse--; | 826 buildCounterListOperationsResponse--; |
| 827 return o; | 827 return o; |
| 828 } | 828 } |
| 829 | 829 |
| 830 checkListOperationsResponse(api.ListOperationsResponse o) { | 830 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 831 buildCounterListOperationsResponse++; | 831 buildCounterListOperationsResponse++; |
| 832 if (buildCounterListOperationsResponse < 3) { | 832 if (buildCounterListOperationsResponse < 3) { |
| 833 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 833 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 834 checkUnnamed988(o.operations); | 834 checkUnnamed662(o.operations); |
| 835 } | 835 } |
| 836 buildCounterListOperationsResponse--; | 836 buildCounterListOperationsResponse--; |
| 837 } | 837 } |
| 838 | 838 |
| 839 buildUnnamed989() { | 839 buildUnnamed663() { |
| 840 var o = new core.Map<core.String, core.String>(); | 840 var o = new core.Map<core.String, core.String>(); |
| 841 o["x"] = "foo"; | 841 o["x"] = "foo"; |
| 842 o["y"] = "foo"; | 842 o["y"] = "foo"; |
| 843 return o; | 843 return o; |
| 844 } | 844 } |
| 845 | 845 |
| 846 checkUnnamed989(core.Map<core.String, core.String> o) { | 846 checkUnnamed663(core.Map<core.String, core.String> o) { |
| 847 unittest.expect(o, unittest.hasLength(2)); | 847 unittest.expect(o, unittest.hasLength(2)); |
| 848 unittest.expect(o["x"], unittest.equals('foo')); | 848 unittest.expect(o["x"], unittest.equals('foo')); |
| 849 unittest.expect(o["y"], unittest.equals('foo')); | 849 unittest.expect(o["y"], unittest.equals('foo')); |
| 850 } | 850 } |
| 851 | 851 |
| 852 core.int buildCounterLoggingConfig = 0; | 852 core.int buildCounterLoggingConfig = 0; |
| 853 buildLoggingConfig() { | 853 buildLoggingConfig() { |
| 854 var o = new api.LoggingConfig(); | 854 var o = new api.LoggingConfig(); |
| 855 buildCounterLoggingConfig++; | 855 buildCounterLoggingConfig++; |
| 856 if (buildCounterLoggingConfig < 3) { | 856 if (buildCounterLoggingConfig < 3) { |
| 857 o.driverLogLevels = buildUnnamed989(); | 857 o.driverLogLevels = buildUnnamed663(); |
| 858 } | 858 } |
| 859 buildCounterLoggingConfig--; | 859 buildCounterLoggingConfig--; |
| 860 return o; | 860 return o; |
| 861 } | 861 } |
| 862 | 862 |
| 863 checkLoggingConfig(api.LoggingConfig o) { | 863 checkLoggingConfig(api.LoggingConfig o) { |
| 864 buildCounterLoggingConfig++; | 864 buildCounterLoggingConfig++; |
| 865 if (buildCounterLoggingConfig < 3) { | 865 if (buildCounterLoggingConfig < 3) { |
| 866 checkUnnamed989(o.driverLogLevels); | 866 checkUnnamed663(o.driverLogLevels); |
| 867 } | 867 } |
| 868 buildCounterLoggingConfig--; | 868 buildCounterLoggingConfig--; |
| 869 } | 869 } |
| 870 | 870 |
| 871 core.int buildCounterManagedGroupConfig = 0; | 871 core.int buildCounterManagedGroupConfig = 0; |
| 872 buildManagedGroupConfig() { | 872 buildManagedGroupConfig() { |
| 873 var o = new api.ManagedGroupConfig(); | 873 var o = new api.ManagedGroupConfig(); |
| 874 buildCounterManagedGroupConfig++; | 874 buildCounterManagedGroupConfig++; |
| 875 if (buildCounterManagedGroupConfig < 3) { | 875 if (buildCounterManagedGroupConfig < 3) { |
| 876 o.instanceGroupManagerName = "foo"; | 876 o.instanceGroupManagerName = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 903 | 903 |
| 904 checkNodeInitializationAction(api.NodeInitializationAction o) { | 904 checkNodeInitializationAction(api.NodeInitializationAction o) { |
| 905 buildCounterNodeInitializationAction++; | 905 buildCounterNodeInitializationAction++; |
| 906 if (buildCounterNodeInitializationAction < 3) { | 906 if (buildCounterNodeInitializationAction < 3) { |
| 907 unittest.expect(o.executableFile, unittest.equals('foo')); | 907 unittest.expect(o.executableFile, unittest.equals('foo')); |
| 908 unittest.expect(o.executionTimeout, unittest.equals('foo')); | 908 unittest.expect(o.executionTimeout, unittest.equals('foo')); |
| 909 } | 909 } |
| 910 buildCounterNodeInitializationAction--; | 910 buildCounterNodeInitializationAction--; |
| 911 } | 911 } |
| 912 | 912 |
| 913 buildUnnamed990() { | 913 buildUnnamed664() { |
| 914 var o = new core.Map<core.String, core.Object>(); | 914 var o = new core.Map<core.String, core.Object>(); |
| 915 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 915 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 916 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 916 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 917 return o; | 917 return o; |
| 918 } | 918 } |
| 919 | 919 |
| 920 checkUnnamed990(core.Map<core.String, core.Object> o) { | 920 checkUnnamed664(core.Map<core.String, core.Object> o) { |
| 921 unittest.expect(o, unittest.hasLength(2)); | 921 unittest.expect(o, unittest.hasLength(2)); |
| 922 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 922 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
| 923 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 923 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
| 924 } | 924 } |
| 925 | 925 |
| 926 buildUnnamed991() { | 926 buildUnnamed665() { |
| 927 var o = new core.Map<core.String, core.Object>(); | 927 var o = new core.Map<core.String, core.Object>(); |
| 928 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 928 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 929 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 929 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 930 return o; | 930 return o; |
| 931 } | 931 } |
| 932 | 932 |
| 933 checkUnnamed991(core.Map<core.String, core.Object> o) { | 933 checkUnnamed665(core.Map<core.String, core.Object> o) { |
| 934 unittest.expect(o, unittest.hasLength(2)); | 934 unittest.expect(o, unittest.hasLength(2)); |
| 935 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); | 935 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); |
| 936 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); | 936 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); |
| 937 } | 937 } |
| 938 | 938 |
| 939 core.int buildCounterOperation = 0; | 939 core.int buildCounterOperation = 0; |
| 940 buildOperation() { | 940 buildOperation() { |
| 941 var o = new api.Operation(); | 941 var o = new api.Operation(); |
| 942 buildCounterOperation++; | 942 buildCounterOperation++; |
| 943 if (buildCounterOperation < 3) { | 943 if (buildCounterOperation < 3) { |
| 944 o.done = true; | 944 o.done = true; |
| 945 o.error = buildStatus(); | 945 o.error = buildStatus(); |
| 946 o.metadata = buildUnnamed990(); | 946 o.metadata = buildUnnamed664(); |
| 947 o.name = "foo"; | 947 o.name = "foo"; |
| 948 o.response = buildUnnamed991(); | 948 o.response = buildUnnamed665(); |
| 949 } | 949 } |
| 950 buildCounterOperation--; | 950 buildCounterOperation--; |
| 951 return o; | 951 return o; |
| 952 } | 952 } |
| 953 | 953 |
| 954 checkOperation(api.Operation o) { | 954 checkOperation(api.Operation o) { |
| 955 buildCounterOperation++; | 955 buildCounterOperation++; |
| 956 if (buildCounterOperation < 3) { | 956 if (buildCounterOperation < 3) { |
| 957 unittest.expect(o.done, unittest.isTrue); | 957 unittest.expect(o.done, unittest.isTrue); |
| 958 checkStatus(o.error); | 958 checkStatus(o.error); |
| 959 checkUnnamed990(o.metadata); | 959 checkUnnamed664(o.metadata); |
| 960 unittest.expect(o.name, unittest.equals('foo')); | 960 unittest.expect(o.name, unittest.equals('foo')); |
| 961 checkUnnamed991(o.response); | 961 checkUnnamed665(o.response); |
| 962 } | 962 } |
| 963 buildCounterOperation--; | 963 buildCounterOperation--; |
| 964 } | 964 } |
| 965 | 965 |
| 966 buildUnnamed992() { | 966 buildUnnamed666() { |
| 967 var o = new core.List<api.OperationStatus>(); | 967 var o = new core.List<api.OperationStatus>(); |
| 968 o.add(buildOperationStatus()); | 968 o.add(buildOperationStatus()); |
| 969 o.add(buildOperationStatus()); | 969 o.add(buildOperationStatus()); |
| 970 return o; | 970 return o; |
| 971 } | 971 } |
| 972 | 972 |
| 973 checkUnnamed992(core.List<api.OperationStatus> o) { | 973 checkUnnamed666(core.List<api.OperationStatus> o) { |
| 974 unittest.expect(o, unittest.hasLength(2)); | 974 unittest.expect(o, unittest.hasLength(2)); |
| 975 checkOperationStatus(o[0]); | 975 checkOperationStatus(o[0]); |
| 976 checkOperationStatus(o[1]); | 976 checkOperationStatus(o[1]); |
| 977 } | 977 } |
| 978 | 978 |
| 979 core.int buildCounterOperationMetadata = 0; | 979 core.int buildCounterOperationMetadata = 0; |
| 980 buildOperationMetadata() { | 980 buildOperationMetadata() { |
| 981 var o = new api.OperationMetadata(); | 981 var o = new api.OperationMetadata(); |
| 982 buildCounterOperationMetadata++; | 982 buildCounterOperationMetadata++; |
| 983 if (buildCounterOperationMetadata < 3) { | 983 if (buildCounterOperationMetadata < 3) { |
| 984 o.clusterName = "foo"; | 984 o.clusterName = "foo"; |
| 985 o.clusterUuid = "foo"; | 985 o.clusterUuid = "foo"; |
| 986 o.description = "foo"; | 986 o.description = "foo"; |
| 987 o.details = "foo"; | 987 o.details = "foo"; |
| 988 o.endTime = "foo"; | 988 o.endTime = "foo"; |
| 989 o.innerState = "foo"; | 989 o.innerState = "foo"; |
| 990 o.insertTime = "foo"; | 990 o.insertTime = "foo"; |
| 991 o.operationType = "foo"; | 991 o.operationType = "foo"; |
| 992 o.startTime = "foo"; | 992 o.startTime = "foo"; |
| 993 o.state = "foo"; | 993 o.state = "foo"; |
| 994 o.status = buildOperationStatus(); | 994 o.status = buildOperationStatus(); |
| 995 o.statusHistory = buildUnnamed992(); | 995 o.statusHistory = buildUnnamed666(); |
| 996 } | 996 } |
| 997 buildCounterOperationMetadata--; | 997 buildCounterOperationMetadata--; |
| 998 return o; | 998 return o; |
| 999 } | 999 } |
| 1000 | 1000 |
| 1001 checkOperationMetadata(api.OperationMetadata o) { | 1001 checkOperationMetadata(api.OperationMetadata o) { |
| 1002 buildCounterOperationMetadata++; | 1002 buildCounterOperationMetadata++; |
| 1003 if (buildCounterOperationMetadata < 3) { | 1003 if (buildCounterOperationMetadata < 3) { |
| 1004 unittest.expect(o.clusterName, unittest.equals('foo')); | 1004 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 1005 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 1005 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 1006 unittest.expect(o.description, unittest.equals('foo')); | 1006 unittest.expect(o.description, unittest.equals('foo')); |
| 1007 unittest.expect(o.details, unittest.equals('foo')); | 1007 unittest.expect(o.details, unittest.equals('foo')); |
| 1008 unittest.expect(o.endTime, unittest.equals('foo')); | 1008 unittest.expect(o.endTime, unittest.equals('foo')); |
| 1009 unittest.expect(o.innerState, unittest.equals('foo')); | 1009 unittest.expect(o.innerState, unittest.equals('foo')); |
| 1010 unittest.expect(o.insertTime, unittest.equals('foo')); | 1010 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 1011 unittest.expect(o.operationType, unittest.equals('foo')); | 1011 unittest.expect(o.operationType, unittest.equals('foo')); |
| 1012 unittest.expect(o.startTime, unittest.equals('foo')); | 1012 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1013 unittest.expect(o.state, unittest.equals('foo')); | 1013 unittest.expect(o.state, unittest.equals('foo')); |
| 1014 checkOperationStatus(o.status); | 1014 checkOperationStatus(o.status); |
| 1015 checkUnnamed992(o.statusHistory); | 1015 checkUnnamed666(o.statusHistory); |
| 1016 } | 1016 } |
| 1017 buildCounterOperationMetadata--; | 1017 buildCounterOperationMetadata--; |
| 1018 } | 1018 } |
| 1019 | 1019 |
| 1020 core.int buildCounterOperationStatus = 0; | 1020 core.int buildCounterOperationStatus = 0; |
| 1021 buildOperationStatus() { | 1021 buildOperationStatus() { |
| 1022 var o = new api.OperationStatus(); | 1022 var o = new api.OperationStatus(); |
| 1023 buildCounterOperationStatus++; | 1023 buildCounterOperationStatus++; |
| 1024 if (buildCounterOperationStatus < 3) { | 1024 if (buildCounterOperationStatus < 3) { |
| 1025 o.details = "foo"; | 1025 o.details = "foo"; |
| 1026 o.innerState = "foo"; | 1026 o.innerState = "foo"; |
| 1027 o.state = "foo"; | 1027 o.state = "foo"; |
| 1028 o.stateStartTime = "foo"; | 1028 o.stateStartTime = "foo"; |
| 1029 } | 1029 } |
| 1030 buildCounterOperationStatus--; | 1030 buildCounterOperationStatus--; |
| 1031 return o; | 1031 return o; |
| 1032 } | 1032 } |
| 1033 | 1033 |
| 1034 checkOperationStatus(api.OperationStatus o) { | 1034 checkOperationStatus(api.OperationStatus o) { |
| 1035 buildCounterOperationStatus++; | 1035 buildCounterOperationStatus++; |
| 1036 if (buildCounterOperationStatus < 3) { | 1036 if (buildCounterOperationStatus < 3) { |
| 1037 unittest.expect(o.details, unittest.equals('foo')); | 1037 unittest.expect(o.details, unittest.equals('foo')); |
| 1038 unittest.expect(o.innerState, unittest.equals('foo')); | 1038 unittest.expect(o.innerState, unittest.equals('foo')); |
| 1039 unittest.expect(o.state, unittest.equals('foo')); | 1039 unittest.expect(o.state, unittest.equals('foo')); |
| 1040 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 1040 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
| 1041 } | 1041 } |
| 1042 buildCounterOperationStatus--; | 1042 buildCounterOperationStatus--; |
| 1043 } | 1043 } |
| 1044 | 1044 |
| 1045 buildUnnamed993() { | 1045 buildUnnamed667() { |
| 1046 var o = new core.List<core.String>(); | 1046 var o = new core.List<core.String>(); |
| 1047 o.add("foo"); | 1047 o.add("foo"); |
| 1048 o.add("foo"); | 1048 o.add("foo"); |
| 1049 return o; | 1049 return o; |
| 1050 } | 1050 } |
| 1051 | 1051 |
| 1052 checkUnnamed993(core.List<core.String> o) { | 1052 checkUnnamed667(core.List<core.String> o) { |
| 1053 unittest.expect(o, unittest.hasLength(2)); | 1053 unittest.expect(o, unittest.hasLength(2)); |
| 1054 unittest.expect(o[0], unittest.equals('foo')); | 1054 unittest.expect(o[0], unittest.equals('foo')); |
| 1055 unittest.expect(o[1], unittest.equals('foo')); | 1055 unittest.expect(o[1], unittest.equals('foo')); |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 buildUnnamed994() { | 1058 buildUnnamed668() { |
| 1059 var o = new core.Map<core.String, core.String>(); | 1059 var o = new core.Map<core.String, core.String>(); |
| 1060 o["x"] = "foo"; | 1060 o["x"] = "foo"; |
| 1061 o["y"] = "foo"; | 1061 o["y"] = "foo"; |
| 1062 return o; | 1062 return o; |
| 1063 } | 1063 } |
| 1064 | 1064 |
| 1065 checkUnnamed994(core.Map<core.String, core.String> o) { | 1065 checkUnnamed668(core.Map<core.String, core.String> o) { |
| 1066 unittest.expect(o, unittest.hasLength(2)); | 1066 unittest.expect(o, unittest.hasLength(2)); |
| 1067 unittest.expect(o["x"], unittest.equals('foo')); | 1067 unittest.expect(o["x"], unittest.equals('foo')); |
| 1068 unittest.expect(o["y"], unittest.equals('foo')); | 1068 unittest.expect(o["y"], unittest.equals('foo')); |
| 1069 } | 1069 } |
| 1070 | 1070 |
| 1071 buildUnnamed995() { | 1071 buildUnnamed669() { |
| 1072 var o = new core.Map<core.String, core.String>(); | 1072 var o = new core.Map<core.String, core.String>(); |
| 1073 o["x"] = "foo"; | 1073 o["x"] = "foo"; |
| 1074 o["y"] = "foo"; | 1074 o["y"] = "foo"; |
| 1075 return o; | 1075 return o; |
| 1076 } | 1076 } |
| 1077 | 1077 |
| 1078 checkUnnamed995(core.Map<core.String, core.String> o) { | 1078 checkUnnamed669(core.Map<core.String, core.String> o) { |
| 1079 unittest.expect(o, unittest.hasLength(2)); | 1079 unittest.expect(o, unittest.hasLength(2)); |
| 1080 unittest.expect(o["x"], unittest.equals('foo')); | 1080 unittest.expect(o["x"], unittest.equals('foo')); |
| 1081 unittest.expect(o["y"], unittest.equals('foo')); | 1081 unittest.expect(o["y"], unittest.equals('foo')); |
| 1082 } | 1082 } |
| 1083 | 1083 |
| 1084 core.int buildCounterPigJob = 0; | 1084 core.int buildCounterPigJob = 0; |
| 1085 buildPigJob() { | 1085 buildPigJob() { |
| 1086 var o = new api.PigJob(); | 1086 var o = new api.PigJob(); |
| 1087 buildCounterPigJob++; | 1087 buildCounterPigJob++; |
| 1088 if (buildCounterPigJob < 3) { | 1088 if (buildCounterPigJob < 3) { |
| 1089 o.continueOnFailure = true; | 1089 o.continueOnFailure = true; |
| 1090 o.jarFileUris = buildUnnamed993(); | 1090 o.jarFileUris = buildUnnamed667(); |
| 1091 o.loggingConfig = buildLoggingConfig(); | 1091 o.loggingConfig = buildLoggingConfig(); |
| 1092 o.properties = buildUnnamed994(); | 1092 o.properties = buildUnnamed668(); |
| 1093 o.queryFileUri = "foo"; | 1093 o.queryFileUri = "foo"; |
| 1094 o.queryList = buildQueryList(); | 1094 o.queryList = buildQueryList(); |
| 1095 o.scriptVariables = buildUnnamed995(); | 1095 o.scriptVariables = buildUnnamed669(); |
| 1096 } | 1096 } |
| 1097 buildCounterPigJob--; | 1097 buildCounterPigJob--; |
| 1098 return o; | 1098 return o; |
| 1099 } | 1099 } |
| 1100 | 1100 |
| 1101 checkPigJob(api.PigJob o) { | 1101 checkPigJob(api.PigJob o) { |
| 1102 buildCounterPigJob++; | 1102 buildCounterPigJob++; |
| 1103 if (buildCounterPigJob < 3) { | 1103 if (buildCounterPigJob < 3) { |
| 1104 unittest.expect(o.continueOnFailure, unittest.isTrue); | 1104 unittest.expect(o.continueOnFailure, unittest.isTrue); |
| 1105 checkUnnamed993(o.jarFileUris); | 1105 checkUnnamed667(o.jarFileUris); |
| 1106 checkLoggingConfig(o.loggingConfig); | 1106 checkLoggingConfig(o.loggingConfig); |
| 1107 checkUnnamed994(o.properties); | 1107 checkUnnamed668(o.properties); |
| 1108 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1108 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 1109 checkQueryList(o.queryList); | 1109 checkQueryList(o.queryList); |
| 1110 checkUnnamed995(o.scriptVariables); | 1110 checkUnnamed669(o.scriptVariables); |
| 1111 } | 1111 } |
| 1112 buildCounterPigJob--; | 1112 buildCounterPigJob--; |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 buildUnnamed996() { | 1115 buildUnnamed670() { |
| 1116 var o = new core.List<core.String>(); | 1116 var o = new core.List<core.String>(); |
| 1117 o.add("foo"); | 1117 o.add("foo"); |
| 1118 o.add("foo"); | 1118 o.add("foo"); |
| 1119 return o; | 1119 return o; |
| 1120 } | 1120 } |
| 1121 | 1121 |
| 1122 checkUnnamed996(core.List<core.String> o) { | 1122 checkUnnamed670(core.List<core.String> o) { |
| 1123 unittest.expect(o, unittest.hasLength(2)); | 1123 unittest.expect(o, unittest.hasLength(2)); |
| 1124 unittest.expect(o[0], unittest.equals('foo')); | 1124 unittest.expect(o[0], unittest.equals('foo')); |
| 1125 unittest.expect(o[1], unittest.equals('foo')); | 1125 unittest.expect(o[1], unittest.equals('foo')); |
| 1126 } | 1126 } |
| 1127 | 1127 |
| 1128 buildUnnamed997() { | 1128 buildUnnamed671() { |
| 1129 var o = new core.List<core.String>(); | 1129 var o = new core.List<core.String>(); |
| 1130 o.add("foo"); | 1130 o.add("foo"); |
| 1131 o.add("foo"); | 1131 o.add("foo"); |
| 1132 return o; | 1132 return o; |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 checkUnnamed997(core.List<core.String> o) { | 1135 checkUnnamed671(core.List<core.String> o) { |
| 1136 unittest.expect(o, unittest.hasLength(2)); | 1136 unittest.expect(o, unittest.hasLength(2)); |
| 1137 unittest.expect(o[0], unittest.equals('foo')); | 1137 unittest.expect(o[0], unittest.equals('foo')); |
| 1138 unittest.expect(o[1], unittest.equals('foo')); | 1138 unittest.expect(o[1], unittest.equals('foo')); |
| 1139 } | 1139 } |
| 1140 | 1140 |
| 1141 buildUnnamed998() { | 1141 buildUnnamed672() { |
| 1142 var o = new core.List<core.String>(); | 1142 var o = new core.List<core.String>(); |
| 1143 o.add("foo"); | 1143 o.add("foo"); |
| 1144 o.add("foo"); | 1144 o.add("foo"); |
| 1145 return o; | 1145 return o; |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 checkUnnamed998(core.List<core.String> o) { | 1148 checkUnnamed672(core.List<core.String> o) { |
| 1149 unittest.expect(o, unittest.hasLength(2)); | 1149 unittest.expect(o, unittest.hasLength(2)); |
| 1150 unittest.expect(o[0], unittest.equals('foo')); | 1150 unittest.expect(o[0], unittest.equals('foo')); |
| 1151 unittest.expect(o[1], unittest.equals('foo')); | 1151 unittest.expect(o[1], unittest.equals('foo')); |
| 1152 } | 1152 } |
| 1153 | 1153 |
| 1154 buildUnnamed999() { | 1154 buildUnnamed673() { |
| 1155 var o = new core.List<core.String>(); | 1155 var o = new core.List<core.String>(); |
| 1156 o.add("foo"); | 1156 o.add("foo"); |
| 1157 o.add("foo"); | 1157 o.add("foo"); |
| 1158 return o; | 1158 return o; |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 checkUnnamed999(core.List<core.String> o) { | 1161 checkUnnamed673(core.List<core.String> o) { |
| 1162 unittest.expect(o, unittest.hasLength(2)); | 1162 unittest.expect(o, unittest.hasLength(2)); |
| 1163 unittest.expect(o[0], unittest.equals('foo')); | 1163 unittest.expect(o[0], unittest.equals('foo')); |
| 1164 unittest.expect(o[1], unittest.equals('foo')); | 1164 unittest.expect(o[1], unittest.equals('foo')); |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 buildUnnamed1000() { | 1167 buildUnnamed674() { |
| 1168 var o = new core.Map<core.String, core.String>(); | 1168 var o = new core.Map<core.String, core.String>(); |
| 1169 o["x"] = "foo"; | 1169 o["x"] = "foo"; |
| 1170 o["y"] = "foo"; | 1170 o["y"] = "foo"; |
| 1171 return o; | 1171 return o; |
| 1172 } | 1172 } |
| 1173 | 1173 |
| 1174 checkUnnamed1000(core.Map<core.String, core.String> o) { | 1174 checkUnnamed674(core.Map<core.String, core.String> o) { |
| 1175 unittest.expect(o, unittest.hasLength(2)); | 1175 unittest.expect(o, unittest.hasLength(2)); |
| 1176 unittest.expect(o["x"], unittest.equals('foo')); | 1176 unittest.expect(o["x"], unittest.equals('foo')); |
| 1177 unittest.expect(o["y"], unittest.equals('foo')); | 1177 unittest.expect(o["y"], unittest.equals('foo')); |
| 1178 } | 1178 } |
| 1179 | 1179 |
| 1180 buildUnnamed1001() { | 1180 buildUnnamed675() { |
| 1181 var o = new core.List<core.String>(); | 1181 var o = new core.List<core.String>(); |
| 1182 o.add("foo"); | 1182 o.add("foo"); |
| 1183 o.add("foo"); | 1183 o.add("foo"); |
| 1184 return o; | 1184 return o; |
| 1185 } | 1185 } |
| 1186 | 1186 |
| 1187 checkUnnamed1001(core.List<core.String> o) { | 1187 checkUnnamed675(core.List<core.String> o) { |
| 1188 unittest.expect(o, unittest.hasLength(2)); | 1188 unittest.expect(o, unittest.hasLength(2)); |
| 1189 unittest.expect(o[0], unittest.equals('foo')); | 1189 unittest.expect(o[0], unittest.equals('foo')); |
| 1190 unittest.expect(o[1], unittest.equals('foo')); | 1190 unittest.expect(o[1], unittest.equals('foo')); |
| 1191 } | 1191 } |
| 1192 | 1192 |
| 1193 core.int buildCounterPySparkJob = 0; | 1193 core.int buildCounterPySparkJob = 0; |
| 1194 buildPySparkJob() { | 1194 buildPySparkJob() { |
| 1195 var o = new api.PySparkJob(); | 1195 var o = new api.PySparkJob(); |
| 1196 buildCounterPySparkJob++; | 1196 buildCounterPySparkJob++; |
| 1197 if (buildCounterPySparkJob < 3) { | 1197 if (buildCounterPySparkJob < 3) { |
| 1198 o.archiveUris = buildUnnamed996(); | 1198 o.archiveUris = buildUnnamed670(); |
| 1199 o.args = buildUnnamed997(); | 1199 o.args = buildUnnamed671(); |
| 1200 o.fileUris = buildUnnamed998(); | 1200 o.fileUris = buildUnnamed672(); |
| 1201 o.jarFileUris = buildUnnamed999(); | 1201 o.jarFileUris = buildUnnamed673(); |
| 1202 o.loggingConfig = buildLoggingConfig(); | 1202 o.loggingConfig = buildLoggingConfig(); |
| 1203 o.mainPythonFileUri = "foo"; | 1203 o.mainPythonFileUri = "foo"; |
| 1204 o.properties = buildUnnamed1000(); | 1204 o.properties = buildUnnamed674(); |
| 1205 o.pythonFileUris = buildUnnamed1001(); | 1205 o.pythonFileUris = buildUnnamed675(); |
| 1206 } | 1206 } |
| 1207 buildCounterPySparkJob--; | 1207 buildCounterPySparkJob--; |
| 1208 return o; | 1208 return o; |
| 1209 } | 1209 } |
| 1210 | 1210 |
| 1211 checkPySparkJob(api.PySparkJob o) { | 1211 checkPySparkJob(api.PySparkJob o) { |
| 1212 buildCounterPySparkJob++; | 1212 buildCounterPySparkJob++; |
| 1213 if (buildCounterPySparkJob < 3) { | 1213 if (buildCounterPySparkJob < 3) { |
| 1214 checkUnnamed996(o.archiveUris); | 1214 checkUnnamed670(o.archiveUris); |
| 1215 checkUnnamed997(o.args); | 1215 checkUnnamed671(o.args); |
| 1216 checkUnnamed998(o.fileUris); | 1216 checkUnnamed672(o.fileUris); |
| 1217 checkUnnamed999(o.jarFileUris); | 1217 checkUnnamed673(o.jarFileUris); |
| 1218 checkLoggingConfig(o.loggingConfig); | 1218 checkLoggingConfig(o.loggingConfig); |
| 1219 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); | 1219 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); |
| 1220 checkUnnamed1000(o.properties); | 1220 checkUnnamed674(o.properties); |
| 1221 checkUnnamed1001(o.pythonFileUris); | 1221 checkUnnamed675(o.pythonFileUris); |
| 1222 } | 1222 } |
| 1223 buildCounterPySparkJob--; | 1223 buildCounterPySparkJob--; |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 buildUnnamed1002() { | 1226 buildUnnamed676() { |
| 1227 var o = new core.List<core.String>(); | 1227 var o = new core.List<core.String>(); |
| 1228 o.add("foo"); | 1228 o.add("foo"); |
| 1229 o.add("foo"); | 1229 o.add("foo"); |
| 1230 return o; | 1230 return o; |
| 1231 } | 1231 } |
| 1232 | 1232 |
| 1233 checkUnnamed1002(core.List<core.String> o) { | 1233 checkUnnamed676(core.List<core.String> o) { |
| 1234 unittest.expect(o, unittest.hasLength(2)); | 1234 unittest.expect(o, unittest.hasLength(2)); |
| 1235 unittest.expect(o[0], unittest.equals('foo')); | 1235 unittest.expect(o[0], unittest.equals('foo')); |
| 1236 unittest.expect(o[1], unittest.equals('foo')); | 1236 unittest.expect(o[1], unittest.equals('foo')); |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 core.int buildCounterQueryList = 0; | 1239 core.int buildCounterQueryList = 0; |
| 1240 buildQueryList() { | 1240 buildQueryList() { |
| 1241 var o = new api.QueryList(); | 1241 var o = new api.QueryList(); |
| 1242 buildCounterQueryList++; | 1242 buildCounterQueryList++; |
| 1243 if (buildCounterQueryList < 3) { | 1243 if (buildCounterQueryList < 3) { |
| 1244 o.queries = buildUnnamed1002(); | 1244 o.queries = buildUnnamed676(); |
| 1245 } | 1245 } |
| 1246 buildCounterQueryList--; | 1246 buildCounterQueryList--; |
| 1247 return o; | 1247 return o; |
| 1248 } | 1248 } |
| 1249 | 1249 |
| 1250 checkQueryList(api.QueryList o) { | 1250 checkQueryList(api.QueryList o) { |
| 1251 buildCounterQueryList++; | 1251 buildCounterQueryList++; |
| 1252 if (buildCounterQueryList < 3) { | 1252 if (buildCounterQueryList < 3) { |
| 1253 checkUnnamed1002(o.queries); | 1253 checkUnnamed676(o.queries); |
| 1254 } | 1254 } |
| 1255 buildCounterQueryList--; | 1255 buildCounterQueryList--; |
| 1256 } | 1256 } |
| 1257 | 1257 |
| 1258 buildUnnamed1003() { | 1258 buildUnnamed677() { |
| 1259 var o = new core.Map<core.String, core.String>(); | 1259 var o = new core.Map<core.String, core.String>(); |
| 1260 o["x"] = "foo"; | 1260 o["x"] = "foo"; |
| 1261 o["y"] = "foo"; | 1261 o["y"] = "foo"; |
| 1262 return o; | 1262 return o; |
| 1263 } | 1263 } |
| 1264 | 1264 |
| 1265 checkUnnamed1003(core.Map<core.String, core.String> o) { | 1265 checkUnnamed677(core.Map<core.String, core.String> o) { |
| 1266 unittest.expect(o, unittest.hasLength(2)); | 1266 unittest.expect(o, unittest.hasLength(2)); |
| 1267 unittest.expect(o["x"], unittest.equals('foo')); | 1267 unittest.expect(o["x"], unittest.equals('foo')); |
| 1268 unittest.expect(o["y"], unittest.equals('foo')); | 1268 unittest.expect(o["y"], unittest.equals('foo')); |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 core.int buildCounterSoftwareConfig = 0; | 1271 core.int buildCounterSoftwareConfig = 0; |
| 1272 buildSoftwareConfig() { | 1272 buildSoftwareConfig() { |
| 1273 var o = new api.SoftwareConfig(); | 1273 var o = new api.SoftwareConfig(); |
| 1274 buildCounterSoftwareConfig++; | 1274 buildCounterSoftwareConfig++; |
| 1275 if (buildCounterSoftwareConfig < 3) { | 1275 if (buildCounterSoftwareConfig < 3) { |
| 1276 o.imageVersion = "foo"; | 1276 o.imageVersion = "foo"; |
| 1277 o.properties = buildUnnamed1003(); | 1277 o.properties = buildUnnamed677(); |
| 1278 } | 1278 } |
| 1279 buildCounterSoftwareConfig--; | 1279 buildCounterSoftwareConfig--; |
| 1280 return o; | 1280 return o; |
| 1281 } | 1281 } |
| 1282 | 1282 |
| 1283 checkSoftwareConfig(api.SoftwareConfig o) { | 1283 checkSoftwareConfig(api.SoftwareConfig o) { |
| 1284 buildCounterSoftwareConfig++; | 1284 buildCounterSoftwareConfig++; |
| 1285 if (buildCounterSoftwareConfig < 3) { | 1285 if (buildCounterSoftwareConfig < 3) { |
| 1286 unittest.expect(o.imageVersion, unittest.equals('foo')); | 1286 unittest.expect(o.imageVersion, unittest.equals('foo')); |
| 1287 checkUnnamed1003(o.properties); | 1287 checkUnnamed677(o.properties); |
| 1288 } | 1288 } |
| 1289 buildCounterSoftwareConfig--; | 1289 buildCounterSoftwareConfig--; |
| 1290 } | 1290 } |
| 1291 | 1291 |
| 1292 buildUnnamed1004() { | 1292 buildUnnamed678() { |
| 1293 var o = new core.List<core.String>(); | 1293 var o = new core.List<core.String>(); |
| 1294 o.add("foo"); | 1294 o.add("foo"); |
| 1295 o.add("foo"); | 1295 o.add("foo"); |
| 1296 return o; | 1296 return o; |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 checkUnnamed1004(core.List<core.String> o) { | 1299 checkUnnamed678(core.List<core.String> o) { |
| 1300 unittest.expect(o, unittest.hasLength(2)); | 1300 unittest.expect(o, unittest.hasLength(2)); |
| 1301 unittest.expect(o[0], unittest.equals('foo')); | 1301 unittest.expect(o[0], unittest.equals('foo')); |
| 1302 unittest.expect(o[1], unittest.equals('foo')); | 1302 unittest.expect(o[1], unittest.equals('foo')); |
| 1303 } | 1303 } |
| 1304 | 1304 |
| 1305 buildUnnamed1005() { | 1305 buildUnnamed679() { |
| 1306 var o = new core.List<core.String>(); | 1306 var o = new core.List<core.String>(); |
| 1307 o.add("foo"); | 1307 o.add("foo"); |
| 1308 o.add("foo"); | 1308 o.add("foo"); |
| 1309 return o; | 1309 return o; |
| 1310 } | 1310 } |
| 1311 | 1311 |
| 1312 checkUnnamed1005(core.List<core.String> o) { | 1312 checkUnnamed679(core.List<core.String> o) { |
| 1313 unittest.expect(o, unittest.hasLength(2)); | 1313 unittest.expect(o, unittest.hasLength(2)); |
| 1314 unittest.expect(o[0], unittest.equals('foo')); | 1314 unittest.expect(o[0], unittest.equals('foo')); |
| 1315 unittest.expect(o[1], unittest.equals('foo')); | 1315 unittest.expect(o[1], unittest.equals('foo')); |
| 1316 } | 1316 } |
| 1317 | 1317 |
| 1318 buildUnnamed1006() { | 1318 buildUnnamed680() { |
| 1319 var o = new core.List<core.String>(); | 1319 var o = new core.List<core.String>(); |
| 1320 o.add("foo"); | 1320 o.add("foo"); |
| 1321 o.add("foo"); | 1321 o.add("foo"); |
| 1322 return o; | 1322 return o; |
| 1323 } | 1323 } |
| 1324 | 1324 |
| 1325 checkUnnamed1006(core.List<core.String> o) { | 1325 checkUnnamed680(core.List<core.String> o) { |
| 1326 unittest.expect(o, unittest.hasLength(2)); | 1326 unittest.expect(o, unittest.hasLength(2)); |
| 1327 unittest.expect(o[0], unittest.equals('foo')); | 1327 unittest.expect(o[0], unittest.equals('foo')); |
| 1328 unittest.expect(o[1], unittest.equals('foo')); | 1328 unittest.expect(o[1], unittest.equals('foo')); |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 buildUnnamed1007() { | 1331 buildUnnamed681() { |
| 1332 var o = new core.List<core.String>(); | 1332 var o = new core.List<core.String>(); |
| 1333 o.add("foo"); | 1333 o.add("foo"); |
| 1334 o.add("foo"); | 1334 o.add("foo"); |
| 1335 return o; | 1335 return o; |
| 1336 } | 1336 } |
| 1337 | 1337 |
| 1338 checkUnnamed1007(core.List<core.String> o) { | 1338 checkUnnamed681(core.List<core.String> o) { |
| 1339 unittest.expect(o, unittest.hasLength(2)); | 1339 unittest.expect(o, unittest.hasLength(2)); |
| 1340 unittest.expect(o[0], unittest.equals('foo')); | 1340 unittest.expect(o[0], unittest.equals('foo')); |
| 1341 unittest.expect(o[1], unittest.equals('foo')); | 1341 unittest.expect(o[1], unittest.equals('foo')); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 buildUnnamed1008() { | 1344 buildUnnamed682() { |
| 1345 var o = new core.Map<core.String, core.String>(); | 1345 var o = new core.Map<core.String, core.String>(); |
| 1346 o["x"] = "foo"; | 1346 o["x"] = "foo"; |
| 1347 o["y"] = "foo"; | 1347 o["y"] = "foo"; |
| 1348 return o; | 1348 return o; |
| 1349 } | 1349 } |
| 1350 | 1350 |
| 1351 checkUnnamed1008(core.Map<core.String, core.String> o) { | 1351 checkUnnamed682(core.Map<core.String, core.String> o) { |
| 1352 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
| 1353 unittest.expect(o["x"], unittest.equals('foo')); | 1353 unittest.expect(o["x"], unittest.equals('foo')); |
| 1354 unittest.expect(o["y"], unittest.equals('foo')); | 1354 unittest.expect(o["y"], unittest.equals('foo')); |
| 1355 } | 1355 } |
| 1356 | 1356 |
| 1357 core.int buildCounterSparkJob = 0; | 1357 core.int buildCounterSparkJob = 0; |
| 1358 buildSparkJob() { | 1358 buildSparkJob() { |
| 1359 var o = new api.SparkJob(); | 1359 var o = new api.SparkJob(); |
| 1360 buildCounterSparkJob++; | 1360 buildCounterSparkJob++; |
| 1361 if (buildCounterSparkJob < 3) { | 1361 if (buildCounterSparkJob < 3) { |
| 1362 o.archiveUris = buildUnnamed1004(); | 1362 o.archiveUris = buildUnnamed678(); |
| 1363 o.args = buildUnnamed1005(); | 1363 o.args = buildUnnamed679(); |
| 1364 o.fileUris = buildUnnamed1006(); | 1364 o.fileUris = buildUnnamed680(); |
| 1365 o.jarFileUris = buildUnnamed1007(); | 1365 o.jarFileUris = buildUnnamed681(); |
| 1366 o.loggingConfig = buildLoggingConfig(); | 1366 o.loggingConfig = buildLoggingConfig(); |
| 1367 o.mainClass = "foo"; | 1367 o.mainClass = "foo"; |
| 1368 o.mainJarFileUri = "foo"; | 1368 o.mainJarFileUri = "foo"; |
| 1369 o.properties = buildUnnamed1008(); | 1369 o.properties = buildUnnamed682(); |
| 1370 } | 1370 } |
| 1371 buildCounterSparkJob--; | 1371 buildCounterSparkJob--; |
| 1372 return o; | 1372 return o; |
| 1373 } | 1373 } |
| 1374 | 1374 |
| 1375 checkSparkJob(api.SparkJob o) { | 1375 checkSparkJob(api.SparkJob o) { |
| 1376 buildCounterSparkJob++; | 1376 buildCounterSparkJob++; |
| 1377 if (buildCounterSparkJob < 3) { | 1377 if (buildCounterSparkJob < 3) { |
| 1378 checkUnnamed1004(o.archiveUris); | 1378 checkUnnamed678(o.archiveUris); |
| 1379 checkUnnamed1005(o.args); | 1379 checkUnnamed679(o.args); |
| 1380 checkUnnamed1006(o.fileUris); | 1380 checkUnnamed680(o.fileUris); |
| 1381 checkUnnamed1007(o.jarFileUris); | 1381 checkUnnamed681(o.jarFileUris); |
| 1382 checkLoggingConfig(o.loggingConfig); | 1382 checkLoggingConfig(o.loggingConfig); |
| 1383 unittest.expect(o.mainClass, unittest.equals('foo')); | 1383 unittest.expect(o.mainClass, unittest.equals('foo')); |
| 1384 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 1384 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
| 1385 checkUnnamed1008(o.properties); | 1385 checkUnnamed682(o.properties); |
| 1386 } | 1386 } |
| 1387 buildCounterSparkJob--; | 1387 buildCounterSparkJob--; |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 buildUnnamed1009() { | 1390 buildUnnamed683() { |
| 1391 var o = new core.List<core.String>(); | 1391 var o = new core.List<core.String>(); |
| 1392 o.add("foo"); | 1392 o.add("foo"); |
| 1393 o.add("foo"); | 1393 o.add("foo"); |
| 1394 return o; | 1394 return o; |
| 1395 } | 1395 } |
| 1396 | 1396 |
| 1397 checkUnnamed1009(core.List<core.String> o) { | 1397 checkUnnamed683(core.List<core.String> o) { |
| 1398 unittest.expect(o, unittest.hasLength(2)); | 1398 unittest.expect(o, unittest.hasLength(2)); |
| 1399 unittest.expect(o[0], unittest.equals('foo')); | 1399 unittest.expect(o[0], unittest.equals('foo')); |
| 1400 unittest.expect(o[1], unittest.equals('foo')); | 1400 unittest.expect(o[1], unittest.equals('foo')); |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 buildUnnamed1010() { | 1403 buildUnnamed684() { |
| 1404 var o = new core.Map<core.String, core.String>(); | 1404 var o = new core.Map<core.String, core.String>(); |
| 1405 o["x"] = "foo"; | 1405 o["x"] = "foo"; |
| 1406 o["y"] = "foo"; | 1406 o["y"] = "foo"; |
| 1407 return o; | 1407 return o; |
| 1408 } | 1408 } |
| 1409 | 1409 |
| 1410 checkUnnamed1010(core.Map<core.String, core.String> o) { | 1410 checkUnnamed684(core.Map<core.String, core.String> o) { |
| 1411 unittest.expect(o, unittest.hasLength(2)); | 1411 unittest.expect(o, unittest.hasLength(2)); |
| 1412 unittest.expect(o["x"], unittest.equals('foo')); | 1412 unittest.expect(o["x"], unittest.equals('foo')); |
| 1413 unittest.expect(o["y"], unittest.equals('foo')); | 1413 unittest.expect(o["y"], unittest.equals('foo')); |
| 1414 } | 1414 } |
| 1415 | 1415 |
| 1416 buildUnnamed1011() { | 1416 buildUnnamed685() { |
| 1417 var o = new core.Map<core.String, core.String>(); | 1417 var o = new core.Map<core.String, core.String>(); |
| 1418 o["x"] = "foo"; | 1418 o["x"] = "foo"; |
| 1419 o["y"] = "foo"; | 1419 o["y"] = "foo"; |
| 1420 return o; | 1420 return o; |
| 1421 } | 1421 } |
| 1422 | 1422 |
| 1423 checkUnnamed1011(core.Map<core.String, core.String> o) { | 1423 checkUnnamed685(core.Map<core.String, core.String> o) { |
| 1424 unittest.expect(o, unittest.hasLength(2)); | 1424 unittest.expect(o, unittest.hasLength(2)); |
| 1425 unittest.expect(o["x"], unittest.equals('foo')); | 1425 unittest.expect(o["x"], unittest.equals('foo')); |
| 1426 unittest.expect(o["y"], unittest.equals('foo')); | 1426 unittest.expect(o["y"], unittest.equals('foo')); |
| 1427 } | 1427 } |
| 1428 | 1428 |
| 1429 core.int buildCounterSparkSqlJob = 0; | 1429 core.int buildCounterSparkSqlJob = 0; |
| 1430 buildSparkSqlJob() { | 1430 buildSparkSqlJob() { |
| 1431 var o = new api.SparkSqlJob(); | 1431 var o = new api.SparkSqlJob(); |
| 1432 buildCounterSparkSqlJob++; | 1432 buildCounterSparkSqlJob++; |
| 1433 if (buildCounterSparkSqlJob < 3) { | 1433 if (buildCounterSparkSqlJob < 3) { |
| 1434 o.jarFileUris = buildUnnamed1009(); | 1434 o.jarFileUris = buildUnnamed683(); |
| 1435 o.loggingConfig = buildLoggingConfig(); | 1435 o.loggingConfig = buildLoggingConfig(); |
| 1436 o.properties = buildUnnamed1010(); | 1436 o.properties = buildUnnamed684(); |
| 1437 o.queryFileUri = "foo"; | 1437 o.queryFileUri = "foo"; |
| 1438 o.queryList = buildQueryList(); | 1438 o.queryList = buildQueryList(); |
| 1439 o.scriptVariables = buildUnnamed1011(); | 1439 o.scriptVariables = buildUnnamed685(); |
| 1440 } | 1440 } |
| 1441 buildCounterSparkSqlJob--; | 1441 buildCounterSparkSqlJob--; |
| 1442 return o; | 1442 return o; |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 checkSparkSqlJob(api.SparkSqlJob o) { | 1445 checkSparkSqlJob(api.SparkSqlJob o) { |
| 1446 buildCounterSparkSqlJob++; | 1446 buildCounterSparkSqlJob++; |
| 1447 if (buildCounterSparkSqlJob < 3) { | 1447 if (buildCounterSparkSqlJob < 3) { |
| 1448 checkUnnamed1009(o.jarFileUris); | 1448 checkUnnamed683(o.jarFileUris); |
| 1449 checkLoggingConfig(o.loggingConfig); | 1449 checkLoggingConfig(o.loggingConfig); |
| 1450 checkUnnamed1010(o.properties); | 1450 checkUnnamed684(o.properties); |
| 1451 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1451 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 1452 checkQueryList(o.queryList); | 1452 checkQueryList(o.queryList); |
| 1453 checkUnnamed1011(o.scriptVariables); | 1453 checkUnnamed685(o.scriptVariables); |
| 1454 } | 1454 } |
| 1455 buildCounterSparkSqlJob--; | 1455 buildCounterSparkSqlJob--; |
| 1456 } | 1456 } |
| 1457 | 1457 |
| 1458 buildUnnamed1012() { | 1458 buildUnnamed686() { |
| 1459 var o = new core.Map<core.String, core.Object>(); | 1459 var o = new core.Map<core.String, core.Object>(); |
| 1460 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1460 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1461 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1461 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1462 return o; | 1462 return o; |
| 1463 } | 1463 } |
| 1464 | 1464 |
| 1465 checkUnnamed1012(core.Map<core.String, core.Object> o) { | 1465 checkUnnamed686(core.Map<core.String, core.Object> o) { |
| 1466 unittest.expect(o, unittest.hasLength(2)); | 1466 unittest.expect(o, unittest.hasLength(2)); |
| 1467 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); | 1467 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); |
| 1468 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); | 1468 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); |
| 1469 } | 1469 } |
| 1470 | 1470 |
| 1471 buildUnnamed1013() { | 1471 buildUnnamed687() { |
| 1472 var o = new core.List<core.Map<core.String, core.Object>>(); | 1472 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 1473 o.add(buildUnnamed1012()); | 1473 o.add(buildUnnamed686()); |
| 1474 o.add(buildUnnamed1012()); | 1474 o.add(buildUnnamed686()); |
| 1475 return o; | 1475 return o; |
| 1476 } | 1476 } |
| 1477 | 1477 |
| 1478 checkUnnamed1013(core.List<core.Map<core.String, core.Object>> o) { | 1478 checkUnnamed687(core.List<core.Map<core.String, core.Object>> o) { |
| 1479 unittest.expect(o, unittest.hasLength(2)); | 1479 unittest.expect(o, unittest.hasLength(2)); |
| 1480 checkUnnamed1012(o[0]); | 1480 checkUnnamed686(o[0]); |
| 1481 checkUnnamed1012(o[1]); | 1481 checkUnnamed686(o[1]); |
| 1482 } | 1482 } |
| 1483 | 1483 |
| 1484 core.int buildCounterStatus = 0; | 1484 core.int buildCounterStatus = 0; |
| 1485 buildStatus() { | 1485 buildStatus() { |
| 1486 var o = new api.Status(); | 1486 var o = new api.Status(); |
| 1487 buildCounterStatus++; | 1487 buildCounterStatus++; |
| 1488 if (buildCounterStatus < 3) { | 1488 if (buildCounterStatus < 3) { |
| 1489 o.code = 42; | 1489 o.code = 42; |
| 1490 o.details = buildUnnamed1013(); | 1490 o.details = buildUnnamed687(); |
| 1491 o.message = "foo"; | 1491 o.message = "foo"; |
| 1492 } | 1492 } |
| 1493 buildCounterStatus--; | 1493 buildCounterStatus--; |
| 1494 return o; | 1494 return o; |
| 1495 } | 1495 } |
| 1496 | 1496 |
| 1497 checkStatus(api.Status o) { | 1497 checkStatus(api.Status o) { |
| 1498 buildCounterStatus++; | 1498 buildCounterStatus++; |
| 1499 if (buildCounterStatus < 3) { | 1499 if (buildCounterStatus < 3) { |
| 1500 unittest.expect(o.code, unittest.equals(42)); | 1500 unittest.expect(o.code, unittest.equals(42)); |
| 1501 checkUnnamed1013(o.details); | 1501 checkUnnamed687(o.details); |
| 1502 unittest.expect(o.message, unittest.equals('foo')); | 1502 unittest.expect(o.message, unittest.equals('foo')); |
| 1503 } | 1503 } |
| 1504 buildCounterStatus--; | 1504 buildCounterStatus--; |
| 1505 } | 1505 } |
| 1506 | 1506 |
| 1507 core.int buildCounterSubmitJobRequest = 0; | 1507 core.int buildCounterSubmitJobRequest = 0; |
| 1508 buildSubmitJobRequest() { | 1508 buildSubmitJobRequest() { |
| 1509 var o = new api.SubmitJobRequest(); | 1509 var o = new api.SubmitJobRequest(); |
| 1510 buildCounterSubmitJobRequest++; | 1510 buildCounterSubmitJobRequest++; |
| 1511 if (buildCounterSubmitJobRequest < 3) { | 1511 if (buildCounterSubmitJobRequest < 3) { |
| (...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2761 res.list(arg_name, filter: arg_filter, pageSize: arg_pageSize, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ | 2761 res.list(arg_name, filter: arg_filter, pageSize: arg_pageSize, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ |
| 2762 checkListOperationsResponse(response); | 2762 checkListOperationsResponse(response); |
| 2763 }))); | 2763 }))); |
| 2764 }); | 2764 }); |
| 2765 | 2765 |
| 2766 }); | 2766 }); |
| 2767 | 2767 |
| 2768 | 2768 |
| 2769 } | 2769 } |
| 2770 | 2770 |
| OLD | NEW |