| OLD | NEW |
| 1 library googleapis_beta.dataproc.v1beta1.test; | 1 library googleapis_beta.dataproc.v1beta1.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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 return o; | 78 return o; |
| 79 } | 79 } |
| 80 | 80 |
| 81 checkCancelOperationRequest(api.CancelOperationRequest o) { | 81 checkCancelOperationRequest(api.CancelOperationRequest o) { |
| 82 buildCounterCancelOperationRequest++; | 82 buildCounterCancelOperationRequest++; |
| 83 if (buildCounterCancelOperationRequest < 3) { | 83 if (buildCounterCancelOperationRequest < 3) { |
| 84 } | 84 } |
| 85 buildCounterCancelOperationRequest--; | 85 buildCounterCancelOperationRequest--; |
| 86 } | 86 } |
| 87 | 87 |
| 88 buildUnnamed3131() { | 88 buildUnnamed3146() { |
| 89 var o = new core.List<api.ClusterStatus>(); | 89 var o = new core.List<api.ClusterStatus>(); |
| 90 o.add(buildClusterStatus()); | 90 o.add(buildClusterStatus()); |
| 91 o.add(buildClusterStatus()); | 91 o.add(buildClusterStatus()); |
| 92 return o; | 92 return o; |
| 93 } | 93 } |
| 94 | 94 |
| 95 checkUnnamed3131(core.List<api.ClusterStatus> o) { | 95 checkUnnamed3146(core.List<api.ClusterStatus> o) { |
| 96 unittest.expect(o, unittest.hasLength(2)); | 96 unittest.expect(o, unittest.hasLength(2)); |
| 97 checkClusterStatus(o[0]); | 97 checkClusterStatus(o[0]); |
| 98 checkClusterStatus(o[1]); | 98 checkClusterStatus(o[1]); |
| 99 } | 99 } |
| 100 | 100 |
| 101 core.int buildCounterCluster = 0; | 101 core.int buildCounterCluster = 0; |
| 102 buildCluster() { | 102 buildCluster() { |
| 103 var o = new api.Cluster(); | 103 var o = new api.Cluster(); |
| 104 buildCounterCluster++; | 104 buildCounterCluster++; |
| 105 if (buildCounterCluster < 3) { | 105 if (buildCounterCluster < 3) { |
| 106 o.clusterName = "foo"; | 106 o.clusterName = "foo"; |
| 107 o.clusterUuid = "foo"; | 107 o.clusterUuid = "foo"; |
| 108 o.configuration = buildClusterConfiguration(); | 108 o.configuration = buildClusterConfiguration(); |
| 109 o.projectId = "foo"; | 109 o.projectId = "foo"; |
| 110 o.status = buildClusterStatus(); | 110 o.status = buildClusterStatus(); |
| 111 o.statusHistory = buildUnnamed3131(); | 111 o.statusHistory = buildUnnamed3146(); |
| 112 } | 112 } |
| 113 buildCounterCluster--; | 113 buildCounterCluster--; |
| 114 return o; | 114 return o; |
| 115 } | 115 } |
| 116 | 116 |
| 117 checkCluster(api.Cluster o) { | 117 checkCluster(api.Cluster o) { |
| 118 buildCounterCluster++; | 118 buildCounterCluster++; |
| 119 if (buildCounterCluster < 3) { | 119 if (buildCounterCluster < 3) { |
| 120 unittest.expect(o.clusterName, unittest.equals('foo')); | 120 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 121 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 121 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 122 checkClusterConfiguration(o.configuration); | 122 checkClusterConfiguration(o.configuration); |
| 123 unittest.expect(o.projectId, unittest.equals('foo')); | 123 unittest.expect(o.projectId, unittest.equals('foo')); |
| 124 checkClusterStatus(o.status); | 124 checkClusterStatus(o.status); |
| 125 checkUnnamed3131(o.statusHistory); | 125 checkUnnamed3146(o.statusHistory); |
| 126 } | 126 } |
| 127 buildCounterCluster--; | 127 buildCounterCluster--; |
| 128 } | 128 } |
| 129 | 129 |
| 130 buildUnnamed3132() { | 130 buildUnnamed3147() { |
| 131 var o = new core.List<api.NodeInitializationAction>(); | 131 var o = new core.List<api.NodeInitializationAction>(); |
| 132 o.add(buildNodeInitializationAction()); | 132 o.add(buildNodeInitializationAction()); |
| 133 o.add(buildNodeInitializationAction()); | 133 o.add(buildNodeInitializationAction()); |
| 134 return o; | 134 return o; |
| 135 } | 135 } |
| 136 | 136 |
| 137 checkUnnamed3132(core.List<api.NodeInitializationAction> o) { | 137 checkUnnamed3147(core.List<api.NodeInitializationAction> o) { |
| 138 unittest.expect(o, unittest.hasLength(2)); | 138 unittest.expect(o, unittest.hasLength(2)); |
| 139 checkNodeInitializationAction(o[0]); | 139 checkNodeInitializationAction(o[0]); |
| 140 checkNodeInitializationAction(o[1]); | 140 checkNodeInitializationAction(o[1]); |
| 141 } | 141 } |
| 142 | 142 |
| 143 core.int buildCounterClusterConfiguration = 0; | 143 core.int buildCounterClusterConfiguration = 0; |
| 144 buildClusterConfiguration() { | 144 buildClusterConfiguration() { |
| 145 var o = new api.ClusterConfiguration(); | 145 var o = new api.ClusterConfiguration(); |
| 146 buildCounterClusterConfiguration++; | 146 buildCounterClusterConfiguration++; |
| 147 if (buildCounterClusterConfiguration < 3) { | 147 if (buildCounterClusterConfiguration < 3) { |
| 148 o.configurationBucket = "foo"; | 148 o.configurationBucket = "foo"; |
| 149 o.gceClusterConfiguration = buildGceClusterConfiguration(); | 149 o.gceClusterConfiguration = buildGceClusterConfiguration(); |
| 150 o.initializationActions = buildUnnamed3132(); | 150 o.initializationActions = buildUnnamed3147(); |
| 151 o.masterConfiguration = buildInstanceGroupConfiguration(); | 151 o.masterConfiguration = buildInstanceGroupConfiguration(); |
| 152 o.secondaryWorkerConfiguration = buildInstanceGroupConfiguration(); | 152 o.secondaryWorkerConfiguration = buildInstanceGroupConfiguration(); |
| 153 o.softwareConfiguration = buildSoftwareConfiguration(); | 153 o.softwareConfiguration = buildSoftwareConfiguration(); |
| 154 o.workerConfiguration = buildInstanceGroupConfiguration(); | 154 o.workerConfiguration = buildInstanceGroupConfiguration(); |
| 155 } | 155 } |
| 156 buildCounterClusterConfiguration--; | 156 buildCounterClusterConfiguration--; |
| 157 return o; | 157 return o; |
| 158 } | 158 } |
| 159 | 159 |
| 160 checkClusterConfiguration(api.ClusterConfiguration o) { | 160 checkClusterConfiguration(api.ClusterConfiguration o) { |
| 161 buildCounterClusterConfiguration++; | 161 buildCounterClusterConfiguration++; |
| 162 if (buildCounterClusterConfiguration < 3) { | 162 if (buildCounterClusterConfiguration < 3) { |
| 163 unittest.expect(o.configurationBucket, unittest.equals('foo')); | 163 unittest.expect(o.configurationBucket, unittest.equals('foo')); |
| 164 checkGceClusterConfiguration(o.gceClusterConfiguration); | 164 checkGceClusterConfiguration(o.gceClusterConfiguration); |
| 165 checkUnnamed3132(o.initializationActions); | 165 checkUnnamed3147(o.initializationActions); |
| 166 checkInstanceGroupConfiguration(o.masterConfiguration); | 166 checkInstanceGroupConfiguration(o.masterConfiguration); |
| 167 checkInstanceGroupConfiguration(o.secondaryWorkerConfiguration); | 167 checkInstanceGroupConfiguration(o.secondaryWorkerConfiguration); |
| 168 checkSoftwareConfiguration(o.softwareConfiguration); | 168 checkSoftwareConfiguration(o.softwareConfiguration); |
| 169 checkInstanceGroupConfiguration(o.workerConfiguration); | 169 checkInstanceGroupConfiguration(o.workerConfiguration); |
| 170 } | 170 } |
| 171 buildCounterClusterConfiguration--; | 171 buildCounterClusterConfiguration--; |
| 172 } | 172 } |
| 173 | 173 |
| 174 buildUnnamed3133() { | 174 buildUnnamed3148() { |
| 175 var o = new core.List<api.ClusterOperationStatus>(); | 175 var o = new core.List<api.ClusterOperationStatus>(); |
| 176 o.add(buildClusterOperationStatus()); | 176 o.add(buildClusterOperationStatus()); |
| 177 o.add(buildClusterOperationStatus()); | 177 o.add(buildClusterOperationStatus()); |
| 178 return o; | 178 return o; |
| 179 } | 179 } |
| 180 | 180 |
| 181 checkUnnamed3133(core.List<api.ClusterOperationStatus> o) { | 181 checkUnnamed3148(core.List<api.ClusterOperationStatus> o) { |
| 182 unittest.expect(o, unittest.hasLength(2)); | 182 unittest.expect(o, unittest.hasLength(2)); |
| 183 checkClusterOperationStatus(o[0]); | 183 checkClusterOperationStatus(o[0]); |
| 184 checkClusterOperationStatus(o[1]); | 184 checkClusterOperationStatus(o[1]); |
| 185 } | 185 } |
| 186 | 186 |
| 187 core.int buildCounterClusterOperationMetadata = 0; | 187 core.int buildCounterClusterOperationMetadata = 0; |
| 188 buildClusterOperationMetadata() { | 188 buildClusterOperationMetadata() { |
| 189 var o = new api.ClusterOperationMetadata(); | 189 var o = new api.ClusterOperationMetadata(); |
| 190 buildCounterClusterOperationMetadata++; | 190 buildCounterClusterOperationMetadata++; |
| 191 if (buildCounterClusterOperationMetadata < 3) { | 191 if (buildCounterClusterOperationMetadata < 3) { |
| 192 o.clusterName = "foo"; | 192 o.clusterName = "foo"; |
| 193 o.clusterUuid = "foo"; | 193 o.clusterUuid = "foo"; |
| 194 o.description = "foo"; | 194 o.description = "foo"; |
| 195 o.operationType = "foo"; | 195 o.operationType = "foo"; |
| 196 o.status = buildClusterOperationStatus(); | 196 o.status = buildClusterOperationStatus(); |
| 197 o.statusHistory = buildUnnamed3133(); | 197 o.statusHistory = buildUnnamed3148(); |
| 198 } | 198 } |
| 199 buildCounterClusterOperationMetadata--; | 199 buildCounterClusterOperationMetadata--; |
| 200 return o; | 200 return o; |
| 201 } | 201 } |
| 202 | 202 |
| 203 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { | 203 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { |
| 204 buildCounterClusterOperationMetadata++; | 204 buildCounterClusterOperationMetadata++; |
| 205 if (buildCounterClusterOperationMetadata < 3) { | 205 if (buildCounterClusterOperationMetadata < 3) { |
| 206 unittest.expect(o.clusterName, unittest.equals('foo')); | 206 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 207 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 207 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 208 unittest.expect(o.description, unittest.equals('foo')); | 208 unittest.expect(o.description, unittest.equals('foo')); |
| 209 unittest.expect(o.operationType, unittest.equals('foo')); | 209 unittest.expect(o.operationType, unittest.equals('foo')); |
| 210 checkClusterOperationStatus(o.status); | 210 checkClusterOperationStatus(o.status); |
| 211 checkUnnamed3133(o.statusHistory); | 211 checkUnnamed3148(o.statusHistory); |
| 212 } | 212 } |
| 213 buildCounterClusterOperationMetadata--; | 213 buildCounterClusterOperationMetadata--; |
| 214 } | 214 } |
| 215 | 215 |
| 216 core.int buildCounterClusterOperationStatus = 0; | 216 core.int buildCounterClusterOperationStatus = 0; |
| 217 buildClusterOperationStatus() { | 217 buildClusterOperationStatus() { |
| 218 var o = new api.ClusterOperationStatus(); | 218 var o = new api.ClusterOperationStatus(); |
| 219 buildCounterClusterOperationStatus++; | 219 buildCounterClusterOperationStatus++; |
| 220 if (buildCounterClusterOperationStatus < 3) { | 220 if (buildCounterClusterOperationStatus < 3) { |
| 221 o.details = "foo"; | 221 o.details = "foo"; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 return o; | 347 return o; |
| 348 } | 348 } |
| 349 | 349 |
| 350 checkEmpty(api.Empty o) { | 350 checkEmpty(api.Empty o) { |
| 351 buildCounterEmpty++; | 351 buildCounterEmpty++; |
| 352 if (buildCounterEmpty < 3) { | 352 if (buildCounterEmpty < 3) { |
| 353 } | 353 } |
| 354 buildCounterEmpty--; | 354 buildCounterEmpty--; |
| 355 } | 355 } |
| 356 | 356 |
| 357 buildUnnamed3134() { | 357 buildUnnamed3149() { |
| 358 var o = new core.Map<core.String, core.String>(); | 358 var o = new core.Map<core.String, core.String>(); |
| 359 o["x"] = "foo"; | 359 o["x"] = "foo"; |
| 360 o["y"] = "foo"; | 360 o["y"] = "foo"; |
| 361 return o; | 361 return o; |
| 362 } | 362 } |
| 363 | 363 |
| 364 checkUnnamed3134(core.Map<core.String, core.String> o) { | 364 checkUnnamed3149(core.Map<core.String, core.String> o) { |
| 365 unittest.expect(o, unittest.hasLength(2)); | 365 unittest.expect(o, unittest.hasLength(2)); |
| 366 unittest.expect(o["x"], unittest.equals('foo')); | 366 unittest.expect(o["x"], unittest.equals('foo')); |
| 367 unittest.expect(o["y"], unittest.equals('foo')); | 367 unittest.expect(o["y"], unittest.equals('foo')); |
| 368 } | 368 } |
| 369 | 369 |
| 370 buildUnnamed3135() { | 370 buildUnnamed3150() { |
| 371 var o = new core.List<core.String>(); | 371 var o = new core.List<core.String>(); |
| 372 o.add("foo"); | 372 o.add("foo"); |
| 373 o.add("foo"); | 373 o.add("foo"); |
| 374 return o; | 374 return o; |
| 375 } | 375 } |
| 376 | 376 |
| 377 checkUnnamed3135(core.List<core.String> o) { | 377 checkUnnamed3150(core.List<core.String> o) { |
| 378 unittest.expect(o, unittest.hasLength(2)); | 378 unittest.expect(o, unittest.hasLength(2)); |
| 379 unittest.expect(o[0], unittest.equals('foo')); | 379 unittest.expect(o[0], unittest.equals('foo')); |
| 380 unittest.expect(o[1], unittest.equals('foo')); | 380 unittest.expect(o[1], unittest.equals('foo')); |
| 381 } | 381 } |
| 382 | 382 |
| 383 buildUnnamed3136() { | 383 buildUnnamed3151() { |
| 384 var o = new core.List<core.String>(); | 384 var o = new core.List<core.String>(); |
| 385 o.add("foo"); | 385 o.add("foo"); |
| 386 o.add("foo"); | 386 o.add("foo"); |
| 387 return o; | 387 return o; |
| 388 } | 388 } |
| 389 | 389 |
| 390 checkUnnamed3136(core.List<core.String> o) { | 390 checkUnnamed3151(core.List<core.String> o) { |
| 391 unittest.expect(o, unittest.hasLength(2)); | 391 unittest.expect(o, unittest.hasLength(2)); |
| 392 unittest.expect(o[0], unittest.equals('foo')); | 392 unittest.expect(o[0], unittest.equals('foo')); |
| 393 unittest.expect(o[1], unittest.equals('foo')); | 393 unittest.expect(o[1], unittest.equals('foo')); |
| 394 } | 394 } |
| 395 | 395 |
| 396 core.int buildCounterGceClusterConfiguration = 0; | 396 core.int buildCounterGceClusterConfiguration = 0; |
| 397 buildGceClusterConfiguration() { | 397 buildGceClusterConfiguration() { |
| 398 var o = new api.GceClusterConfiguration(); | 398 var o = new api.GceClusterConfiguration(); |
| 399 buildCounterGceClusterConfiguration++; | 399 buildCounterGceClusterConfiguration++; |
| 400 if (buildCounterGceClusterConfiguration < 3) { | 400 if (buildCounterGceClusterConfiguration < 3) { |
| 401 o.metadata = buildUnnamed3134(); | 401 o.metadata = buildUnnamed3149(); |
| 402 o.networkUri = "foo"; | 402 o.networkUri = "foo"; |
| 403 o.serviceAccountScopes = buildUnnamed3135(); | 403 o.serviceAccountScopes = buildUnnamed3150(); |
| 404 o.subnetworkUri = "foo"; | 404 o.subnetworkUri = "foo"; |
| 405 o.tags = buildUnnamed3136(); | 405 o.tags = buildUnnamed3151(); |
| 406 o.zoneUri = "foo"; | 406 o.zoneUri = "foo"; |
| 407 } | 407 } |
| 408 buildCounterGceClusterConfiguration--; | 408 buildCounterGceClusterConfiguration--; |
| 409 return o; | 409 return o; |
| 410 } | 410 } |
| 411 | 411 |
| 412 checkGceClusterConfiguration(api.GceClusterConfiguration o) { | 412 checkGceClusterConfiguration(api.GceClusterConfiguration o) { |
| 413 buildCounterGceClusterConfiguration++; | 413 buildCounterGceClusterConfiguration++; |
| 414 if (buildCounterGceClusterConfiguration < 3) { | 414 if (buildCounterGceClusterConfiguration < 3) { |
| 415 checkUnnamed3134(o.metadata); | 415 checkUnnamed3149(o.metadata); |
| 416 unittest.expect(o.networkUri, unittest.equals('foo')); | 416 unittest.expect(o.networkUri, unittest.equals('foo')); |
| 417 checkUnnamed3135(o.serviceAccountScopes); | 417 checkUnnamed3150(o.serviceAccountScopes); |
| 418 unittest.expect(o.subnetworkUri, unittest.equals('foo')); | 418 unittest.expect(o.subnetworkUri, unittest.equals('foo')); |
| 419 checkUnnamed3136(o.tags); | 419 checkUnnamed3151(o.tags); |
| 420 unittest.expect(o.zoneUri, unittest.equals('foo')); | 420 unittest.expect(o.zoneUri, unittest.equals('foo')); |
| 421 } | 421 } |
| 422 buildCounterGceClusterConfiguration--; | 422 buildCounterGceClusterConfiguration--; |
| 423 } | 423 } |
| 424 | 424 |
| 425 buildUnnamed3137() { | 425 buildUnnamed3152() { |
| 426 var o = new core.List<core.String>(); | 426 var o = new core.List<core.String>(); |
| 427 o.add("foo"); | 427 o.add("foo"); |
| 428 o.add("foo"); | 428 o.add("foo"); |
| 429 return o; | 429 return o; |
| 430 } | 430 } |
| 431 | 431 |
| 432 checkUnnamed3137(core.List<core.String> o) { | 432 checkUnnamed3152(core.List<core.String> o) { |
| 433 unittest.expect(o, unittest.hasLength(2)); | 433 unittest.expect(o, unittest.hasLength(2)); |
| 434 unittest.expect(o[0], unittest.equals('foo')); | 434 unittest.expect(o[0], unittest.equals('foo')); |
| 435 unittest.expect(o[1], unittest.equals('foo')); | 435 unittest.expect(o[1], unittest.equals('foo')); |
| 436 } | 436 } |
| 437 | 437 |
| 438 buildUnnamed3138() { | 438 buildUnnamed3153() { |
| 439 var o = new core.List<core.String>(); | 439 var o = new core.List<core.String>(); |
| 440 o.add("foo"); | 440 o.add("foo"); |
| 441 o.add("foo"); | 441 o.add("foo"); |
| 442 return o; | 442 return o; |
| 443 } | 443 } |
| 444 | 444 |
| 445 checkUnnamed3138(core.List<core.String> o) { | 445 checkUnnamed3153(core.List<core.String> o) { |
| 446 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
| 447 unittest.expect(o[0], unittest.equals('foo')); | 447 unittest.expect(o[0], unittest.equals('foo')); |
| 448 unittest.expect(o[1], unittest.equals('foo')); | 448 unittest.expect(o[1], unittest.equals('foo')); |
| 449 } | 449 } |
| 450 | 450 |
| 451 buildUnnamed3139() { | 451 buildUnnamed3154() { |
| 452 var o = new core.List<core.String>(); | 452 var o = new core.List<core.String>(); |
| 453 o.add("foo"); | 453 o.add("foo"); |
| 454 o.add("foo"); | 454 o.add("foo"); |
| 455 return o; | 455 return o; |
| 456 } | 456 } |
| 457 | 457 |
| 458 checkUnnamed3139(core.List<core.String> o) { | 458 checkUnnamed3154(core.List<core.String> o) { |
| 459 unittest.expect(o, unittest.hasLength(2)); | 459 unittest.expect(o, unittest.hasLength(2)); |
| 460 unittest.expect(o[0], unittest.equals('foo')); | 460 unittest.expect(o[0], unittest.equals('foo')); |
| 461 unittest.expect(o[1], unittest.equals('foo')); | 461 unittest.expect(o[1], unittest.equals('foo')); |
| 462 } | 462 } |
| 463 | 463 |
| 464 buildUnnamed3140() { | 464 buildUnnamed3155() { |
| 465 var o = new core.List<core.String>(); | 465 var o = new core.List<core.String>(); |
| 466 o.add("foo"); | 466 o.add("foo"); |
| 467 o.add("foo"); | 467 o.add("foo"); |
| 468 return o; | 468 return o; |
| 469 } | 469 } |
| 470 | 470 |
| 471 checkUnnamed3140(core.List<core.String> o) { | 471 checkUnnamed3155(core.List<core.String> o) { |
| 472 unittest.expect(o, unittest.hasLength(2)); | 472 unittest.expect(o, unittest.hasLength(2)); |
| 473 unittest.expect(o[0], unittest.equals('foo')); | 473 unittest.expect(o[0], unittest.equals('foo')); |
| 474 unittest.expect(o[1], unittest.equals('foo')); | 474 unittest.expect(o[1], unittest.equals('foo')); |
| 475 } | 475 } |
| 476 | 476 |
| 477 buildUnnamed3141() { | 477 buildUnnamed3156() { |
| 478 var o = new core.Map<core.String, core.String>(); | 478 var o = new core.Map<core.String, core.String>(); |
| 479 o["x"] = "foo"; | 479 o["x"] = "foo"; |
| 480 o["y"] = "foo"; | 480 o["y"] = "foo"; |
| 481 return o; | 481 return o; |
| 482 } | 482 } |
| 483 | 483 |
| 484 checkUnnamed3141(core.Map<core.String, core.String> o) { | 484 checkUnnamed3156(core.Map<core.String, core.String> o) { |
| 485 unittest.expect(o, unittest.hasLength(2)); | 485 unittest.expect(o, unittest.hasLength(2)); |
| 486 unittest.expect(o["x"], unittest.equals('foo')); | 486 unittest.expect(o["x"], unittest.equals('foo')); |
| 487 unittest.expect(o["y"], unittest.equals('foo')); | 487 unittest.expect(o["y"], unittest.equals('foo')); |
| 488 } | 488 } |
| 489 | 489 |
| 490 core.int buildCounterHadoopJob = 0; | 490 core.int buildCounterHadoopJob = 0; |
| 491 buildHadoopJob() { | 491 buildHadoopJob() { |
| 492 var o = new api.HadoopJob(); | 492 var o = new api.HadoopJob(); |
| 493 buildCounterHadoopJob++; | 493 buildCounterHadoopJob++; |
| 494 if (buildCounterHadoopJob < 3) { | 494 if (buildCounterHadoopJob < 3) { |
| 495 o.archiveUris = buildUnnamed3137(); | 495 o.archiveUris = buildUnnamed3152(); |
| 496 o.args = buildUnnamed3138(); | 496 o.args = buildUnnamed3153(); |
| 497 o.fileUris = buildUnnamed3139(); | 497 o.fileUris = buildUnnamed3154(); |
| 498 o.jarFileUris = buildUnnamed3140(); | 498 o.jarFileUris = buildUnnamed3155(); |
| 499 o.loggingConfiguration = buildLoggingConfiguration(); | 499 o.loggingConfiguration = buildLoggingConfiguration(); |
| 500 o.mainClass = "foo"; | 500 o.mainClass = "foo"; |
| 501 o.mainJarFileUri = "foo"; | 501 o.mainJarFileUri = "foo"; |
| 502 o.properties = buildUnnamed3141(); | 502 o.properties = buildUnnamed3156(); |
| 503 } | 503 } |
| 504 buildCounterHadoopJob--; | 504 buildCounterHadoopJob--; |
| 505 return o; | 505 return o; |
| 506 } | 506 } |
| 507 | 507 |
| 508 checkHadoopJob(api.HadoopJob o) { | 508 checkHadoopJob(api.HadoopJob o) { |
| 509 buildCounterHadoopJob++; | 509 buildCounterHadoopJob++; |
| 510 if (buildCounterHadoopJob < 3) { | 510 if (buildCounterHadoopJob < 3) { |
| 511 checkUnnamed3137(o.archiveUris); | 511 checkUnnamed3152(o.archiveUris); |
| 512 checkUnnamed3138(o.args); | 512 checkUnnamed3153(o.args); |
| 513 checkUnnamed3139(o.fileUris); | 513 checkUnnamed3154(o.fileUris); |
| 514 checkUnnamed3140(o.jarFileUris); | 514 checkUnnamed3155(o.jarFileUris); |
| 515 checkLoggingConfiguration(o.loggingConfiguration); | 515 checkLoggingConfiguration(o.loggingConfiguration); |
| 516 unittest.expect(o.mainClass, unittest.equals('foo')); | 516 unittest.expect(o.mainClass, unittest.equals('foo')); |
| 517 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 517 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
| 518 checkUnnamed3141(o.properties); | 518 checkUnnamed3156(o.properties); |
| 519 } | 519 } |
| 520 buildCounterHadoopJob--; | 520 buildCounterHadoopJob--; |
| 521 } | 521 } |
| 522 | 522 |
| 523 buildUnnamed3142() { | 523 buildUnnamed3157() { |
| 524 var o = new core.List<core.String>(); | 524 var o = new core.List<core.String>(); |
| 525 o.add("foo"); | 525 o.add("foo"); |
| 526 o.add("foo"); | 526 o.add("foo"); |
| 527 return o; | 527 return o; |
| 528 } | 528 } |
| 529 | 529 |
| 530 checkUnnamed3142(core.List<core.String> o) { | 530 checkUnnamed3157(core.List<core.String> o) { |
| 531 unittest.expect(o, unittest.hasLength(2)); | 531 unittest.expect(o, unittest.hasLength(2)); |
| 532 unittest.expect(o[0], unittest.equals('foo')); | 532 unittest.expect(o[0], unittest.equals('foo')); |
| 533 unittest.expect(o[1], unittest.equals('foo')); | 533 unittest.expect(o[1], unittest.equals('foo')); |
| 534 } | 534 } |
| 535 | 535 |
| 536 buildUnnamed3143() { | 536 buildUnnamed3158() { |
| 537 var o = new core.Map<core.String, core.String>(); | 537 var o = new core.Map<core.String, core.String>(); |
| 538 o["x"] = "foo"; | 538 o["x"] = "foo"; |
| 539 o["y"] = "foo"; | 539 o["y"] = "foo"; |
| 540 return o; | 540 return o; |
| 541 } | 541 } |
| 542 | 542 |
| 543 checkUnnamed3143(core.Map<core.String, core.String> o) { | 543 checkUnnamed3158(core.Map<core.String, core.String> o) { |
| 544 unittest.expect(o, unittest.hasLength(2)); | 544 unittest.expect(o, unittest.hasLength(2)); |
| 545 unittest.expect(o["x"], unittest.equals('foo')); | 545 unittest.expect(o["x"], unittest.equals('foo')); |
| 546 unittest.expect(o["y"], unittest.equals('foo')); | 546 unittest.expect(o["y"], unittest.equals('foo')); |
| 547 } | 547 } |
| 548 | 548 |
| 549 buildUnnamed3144() { | 549 buildUnnamed3159() { |
| 550 var o = new core.Map<core.String, core.String>(); | 550 var o = new core.Map<core.String, core.String>(); |
| 551 o["x"] = "foo"; | 551 o["x"] = "foo"; |
| 552 o["y"] = "foo"; | 552 o["y"] = "foo"; |
| 553 return o; | 553 return o; |
| 554 } | 554 } |
| 555 | 555 |
| 556 checkUnnamed3144(core.Map<core.String, core.String> o) { | 556 checkUnnamed3159(core.Map<core.String, core.String> o) { |
| 557 unittest.expect(o, unittest.hasLength(2)); | 557 unittest.expect(o, unittest.hasLength(2)); |
| 558 unittest.expect(o["x"], unittest.equals('foo')); | 558 unittest.expect(o["x"], unittest.equals('foo')); |
| 559 unittest.expect(o["y"], unittest.equals('foo')); | 559 unittest.expect(o["y"], unittest.equals('foo')); |
| 560 } | 560 } |
| 561 | 561 |
| 562 core.int buildCounterHiveJob = 0; | 562 core.int buildCounterHiveJob = 0; |
| 563 buildHiveJob() { | 563 buildHiveJob() { |
| 564 var o = new api.HiveJob(); | 564 var o = new api.HiveJob(); |
| 565 buildCounterHiveJob++; | 565 buildCounterHiveJob++; |
| 566 if (buildCounterHiveJob < 3) { | 566 if (buildCounterHiveJob < 3) { |
| 567 o.continueOnFailure = true; | 567 o.continueOnFailure = true; |
| 568 o.jarFileUris = buildUnnamed3142(); | 568 o.jarFileUris = buildUnnamed3157(); |
| 569 o.properties = buildUnnamed3143(); | 569 o.properties = buildUnnamed3158(); |
| 570 o.queryFileUri = "foo"; | 570 o.queryFileUri = "foo"; |
| 571 o.queryList = buildQueryList(); | 571 o.queryList = buildQueryList(); |
| 572 o.scriptVariables = buildUnnamed3144(); | 572 o.scriptVariables = buildUnnamed3159(); |
| 573 } | 573 } |
| 574 buildCounterHiveJob--; | 574 buildCounterHiveJob--; |
| 575 return o; | 575 return o; |
| 576 } | 576 } |
| 577 | 577 |
| 578 checkHiveJob(api.HiveJob o) { | 578 checkHiveJob(api.HiveJob o) { |
| 579 buildCounterHiveJob++; | 579 buildCounterHiveJob++; |
| 580 if (buildCounterHiveJob < 3) { | 580 if (buildCounterHiveJob < 3) { |
| 581 unittest.expect(o.continueOnFailure, unittest.isTrue); | 581 unittest.expect(o.continueOnFailure, unittest.isTrue); |
| 582 checkUnnamed3142(o.jarFileUris); | 582 checkUnnamed3157(o.jarFileUris); |
| 583 checkUnnamed3143(o.properties); | 583 checkUnnamed3158(o.properties); |
| 584 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 584 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 585 checkQueryList(o.queryList); | 585 checkQueryList(o.queryList); |
| 586 checkUnnamed3144(o.scriptVariables); | 586 checkUnnamed3159(o.scriptVariables); |
| 587 } | 587 } |
| 588 buildCounterHiveJob--; | 588 buildCounterHiveJob--; |
| 589 } | 589 } |
| 590 | 590 |
| 591 buildUnnamed3145() { | 591 buildUnnamed3160() { |
| 592 var o = new core.List<core.String>(); | 592 var o = new core.List<core.String>(); |
| 593 o.add("foo"); | 593 o.add("foo"); |
| 594 o.add("foo"); | 594 o.add("foo"); |
| 595 return o; | 595 return o; |
| 596 } | 596 } |
| 597 | 597 |
| 598 checkUnnamed3145(core.List<core.String> o) { | 598 checkUnnamed3160(core.List<core.String> o) { |
| 599 unittest.expect(o, unittest.hasLength(2)); | 599 unittest.expect(o, unittest.hasLength(2)); |
| 600 unittest.expect(o[0], unittest.equals('foo')); | 600 unittest.expect(o[0], unittest.equals('foo')); |
| 601 unittest.expect(o[1], unittest.equals('foo')); | 601 unittest.expect(o[1], unittest.equals('foo')); |
| 602 } | 602 } |
| 603 | 603 |
| 604 core.int buildCounterInstanceGroupConfiguration = 0; | 604 core.int buildCounterInstanceGroupConfiguration = 0; |
| 605 buildInstanceGroupConfiguration() { | 605 buildInstanceGroupConfiguration() { |
| 606 var o = new api.InstanceGroupConfiguration(); | 606 var o = new api.InstanceGroupConfiguration(); |
| 607 buildCounterInstanceGroupConfiguration++; | 607 buildCounterInstanceGroupConfiguration++; |
| 608 if (buildCounterInstanceGroupConfiguration < 3) { | 608 if (buildCounterInstanceGroupConfiguration < 3) { |
| 609 o.diskConfiguration = buildDiskConfiguration(); | 609 o.diskConfiguration = buildDiskConfiguration(); |
| 610 o.imageUri = "foo"; | 610 o.imageUri = "foo"; |
| 611 o.instanceNames = buildUnnamed3145(); | 611 o.instanceNames = buildUnnamed3160(); |
| 612 o.isPreemptible = true; | 612 o.isPreemptible = true; |
| 613 o.machineTypeUri = "foo"; | 613 o.machineTypeUri = "foo"; |
| 614 o.managedGroupConfiguration = buildManagedGroupConfiguration(); | 614 o.managedGroupConfiguration = buildManagedGroupConfiguration(); |
| 615 o.numInstances = 42; | 615 o.numInstances = 42; |
| 616 } | 616 } |
| 617 buildCounterInstanceGroupConfiguration--; | 617 buildCounterInstanceGroupConfiguration--; |
| 618 return o; | 618 return o; |
| 619 } | 619 } |
| 620 | 620 |
| 621 checkInstanceGroupConfiguration(api.InstanceGroupConfiguration o) { | 621 checkInstanceGroupConfiguration(api.InstanceGroupConfiguration o) { |
| 622 buildCounterInstanceGroupConfiguration++; | 622 buildCounterInstanceGroupConfiguration++; |
| 623 if (buildCounterInstanceGroupConfiguration < 3) { | 623 if (buildCounterInstanceGroupConfiguration < 3) { |
| 624 checkDiskConfiguration(o.diskConfiguration); | 624 checkDiskConfiguration(o.diskConfiguration); |
| 625 unittest.expect(o.imageUri, unittest.equals('foo')); | 625 unittest.expect(o.imageUri, unittest.equals('foo')); |
| 626 checkUnnamed3145(o.instanceNames); | 626 checkUnnamed3160(o.instanceNames); |
| 627 unittest.expect(o.isPreemptible, unittest.isTrue); | 627 unittest.expect(o.isPreemptible, unittest.isTrue); |
| 628 unittest.expect(o.machineTypeUri, unittest.equals('foo')); | 628 unittest.expect(o.machineTypeUri, unittest.equals('foo')); |
| 629 checkManagedGroupConfiguration(o.managedGroupConfiguration); | 629 checkManagedGroupConfiguration(o.managedGroupConfiguration); |
| 630 unittest.expect(o.numInstances, unittest.equals(42)); | 630 unittest.expect(o.numInstances, unittest.equals(42)); |
| 631 } | 631 } |
| 632 buildCounterInstanceGroupConfiguration--; | 632 buildCounterInstanceGroupConfiguration--; |
| 633 } | 633 } |
| 634 | 634 |
| 635 buildUnnamed3146() { | 635 buildUnnamed3161() { |
| 636 var o = new core.List<api.JobStatus>(); | 636 var o = new core.List<api.JobStatus>(); |
| 637 o.add(buildJobStatus()); | 637 o.add(buildJobStatus()); |
| 638 o.add(buildJobStatus()); | 638 o.add(buildJobStatus()); |
| 639 return o; | 639 return o; |
| 640 } | 640 } |
| 641 | 641 |
| 642 checkUnnamed3146(core.List<api.JobStatus> o) { | 642 checkUnnamed3161(core.List<api.JobStatus> o) { |
| 643 unittest.expect(o, unittest.hasLength(2)); | 643 unittest.expect(o, unittest.hasLength(2)); |
| 644 checkJobStatus(o[0]); | 644 checkJobStatus(o[0]); |
| 645 checkJobStatus(o[1]); | 645 checkJobStatus(o[1]); |
| 646 } | 646 } |
| 647 | 647 |
| 648 buildUnnamed3147() { | 648 buildUnnamed3162() { |
| 649 var o = new core.List<api.YarnApplication>(); | 649 var o = new core.List<api.YarnApplication>(); |
| 650 o.add(buildYarnApplication()); | 650 o.add(buildYarnApplication()); |
| 651 o.add(buildYarnApplication()); | 651 o.add(buildYarnApplication()); |
| 652 return o; | 652 return o; |
| 653 } | 653 } |
| 654 | 654 |
| 655 checkUnnamed3147(core.List<api.YarnApplication> o) { | 655 checkUnnamed3162(core.List<api.YarnApplication> o) { |
| 656 unittest.expect(o, unittest.hasLength(2)); | 656 unittest.expect(o, unittest.hasLength(2)); |
| 657 checkYarnApplication(o[0]); | 657 checkYarnApplication(o[0]); |
| 658 checkYarnApplication(o[1]); | 658 checkYarnApplication(o[1]); |
| 659 } | 659 } |
| 660 | 660 |
| 661 core.int buildCounterJob = 0; | 661 core.int buildCounterJob = 0; |
| 662 buildJob() { | 662 buildJob() { |
| 663 var o = new api.Job(); | 663 var o = new api.Job(); |
| 664 buildCounterJob++; | 664 buildCounterJob++; |
| 665 if (buildCounterJob < 3) { | 665 if (buildCounterJob < 3) { |
| 666 o.driverControlFilesUri = "foo"; | 666 o.driverControlFilesUri = "foo"; |
| 667 o.driverInputResourceUri = "foo"; | 667 o.driverInputResourceUri = "foo"; |
| 668 o.driverOutputResourceUri = "foo"; | 668 o.driverOutputResourceUri = "foo"; |
| 669 o.hadoopJob = buildHadoopJob(); | 669 o.hadoopJob = buildHadoopJob(); |
| 670 o.hiveJob = buildHiveJob(); | 670 o.hiveJob = buildHiveJob(); |
| 671 o.interactive = true; | 671 o.interactive = true; |
| 672 o.pigJob = buildPigJob(); | 672 o.pigJob = buildPigJob(); |
| 673 o.placement = buildJobPlacement(); | 673 o.placement = buildJobPlacement(); |
| 674 o.pysparkJob = buildPySparkJob(); | 674 o.pysparkJob = buildPySparkJob(); |
| 675 o.reference = buildJobReference(); | 675 o.reference = buildJobReference(); |
| 676 o.sparkJob = buildSparkJob(); | 676 o.sparkJob = buildSparkJob(); |
| 677 o.sparkSqlJob = buildSparkSqlJob(); | 677 o.sparkSqlJob = buildSparkSqlJob(); |
| 678 o.status = buildJobStatus(); | 678 o.status = buildJobStatus(); |
| 679 o.statusHistory = buildUnnamed3146(); | 679 o.statusHistory = buildUnnamed3161(); |
| 680 o.submittedBy = "foo"; | 680 o.submittedBy = "foo"; |
| 681 o.yarnApplications = buildUnnamed3147(); | 681 o.yarnApplications = buildUnnamed3162(); |
| 682 } | 682 } |
| 683 buildCounterJob--; | 683 buildCounterJob--; |
| 684 return o; | 684 return o; |
| 685 } | 685 } |
| 686 | 686 |
| 687 checkJob(api.Job o) { | 687 checkJob(api.Job o) { |
| 688 buildCounterJob++; | 688 buildCounterJob++; |
| 689 if (buildCounterJob < 3) { | 689 if (buildCounterJob < 3) { |
| 690 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); | 690 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); |
| 691 unittest.expect(o.driverInputResourceUri, unittest.equals('foo')); | 691 unittest.expect(o.driverInputResourceUri, unittest.equals('foo')); |
| 692 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); | 692 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); |
| 693 checkHadoopJob(o.hadoopJob); | 693 checkHadoopJob(o.hadoopJob); |
| 694 checkHiveJob(o.hiveJob); | 694 checkHiveJob(o.hiveJob); |
| 695 unittest.expect(o.interactive, unittest.isTrue); | 695 unittest.expect(o.interactive, unittest.isTrue); |
| 696 checkPigJob(o.pigJob); | 696 checkPigJob(o.pigJob); |
| 697 checkJobPlacement(o.placement); | 697 checkJobPlacement(o.placement); |
| 698 checkPySparkJob(o.pysparkJob); | 698 checkPySparkJob(o.pysparkJob); |
| 699 checkJobReference(o.reference); | 699 checkJobReference(o.reference); |
| 700 checkSparkJob(o.sparkJob); | 700 checkSparkJob(o.sparkJob); |
| 701 checkSparkSqlJob(o.sparkSqlJob); | 701 checkSparkSqlJob(o.sparkSqlJob); |
| 702 checkJobStatus(o.status); | 702 checkJobStatus(o.status); |
| 703 checkUnnamed3146(o.statusHistory); | 703 checkUnnamed3161(o.statusHistory); |
| 704 unittest.expect(o.submittedBy, unittest.equals('foo')); | 704 unittest.expect(o.submittedBy, unittest.equals('foo')); |
| 705 checkUnnamed3147(o.yarnApplications); | 705 checkUnnamed3162(o.yarnApplications); |
| 706 } | 706 } |
| 707 buildCounterJob--; | 707 buildCounterJob--; |
| 708 } | 708 } |
| 709 | 709 |
| 710 core.int buildCounterJobPlacement = 0; | 710 core.int buildCounterJobPlacement = 0; |
| 711 buildJobPlacement() { | 711 buildJobPlacement() { |
| 712 var o = new api.JobPlacement(); | 712 var o = new api.JobPlacement(); |
| 713 buildCounterJobPlacement++; | 713 buildCounterJobPlacement++; |
| 714 if (buildCounterJobPlacement < 3) { | 714 if (buildCounterJobPlacement < 3) { |
| 715 o.clusterName = "foo"; | 715 o.clusterName = "foo"; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 checkJobStatus(api.JobStatus o) { | 765 checkJobStatus(api.JobStatus o) { |
| 766 buildCounterJobStatus++; | 766 buildCounterJobStatus++; |
| 767 if (buildCounterJobStatus < 3) { | 767 if (buildCounterJobStatus < 3) { |
| 768 unittest.expect(o.details, unittest.equals('foo')); | 768 unittest.expect(o.details, unittest.equals('foo')); |
| 769 unittest.expect(o.state, unittest.equals('foo')); | 769 unittest.expect(o.state, unittest.equals('foo')); |
| 770 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 770 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
| 771 } | 771 } |
| 772 buildCounterJobStatus--; | 772 buildCounterJobStatus--; |
| 773 } | 773 } |
| 774 | 774 |
| 775 buildUnnamed3148() { | 775 buildUnnamed3163() { |
| 776 var o = new core.List<api.Cluster>(); | 776 var o = new core.List<api.Cluster>(); |
| 777 o.add(buildCluster()); | 777 o.add(buildCluster()); |
| 778 o.add(buildCluster()); | 778 o.add(buildCluster()); |
| 779 return o; | 779 return o; |
| 780 } | 780 } |
| 781 | 781 |
| 782 checkUnnamed3148(core.List<api.Cluster> o) { | 782 checkUnnamed3163(core.List<api.Cluster> o) { |
| 783 unittest.expect(o, unittest.hasLength(2)); | 783 unittest.expect(o, unittest.hasLength(2)); |
| 784 checkCluster(o[0]); | 784 checkCluster(o[0]); |
| 785 checkCluster(o[1]); | 785 checkCluster(o[1]); |
| 786 } | 786 } |
| 787 | 787 |
| 788 core.int buildCounterListClustersResponse = 0; | 788 core.int buildCounterListClustersResponse = 0; |
| 789 buildListClustersResponse() { | 789 buildListClustersResponse() { |
| 790 var o = new api.ListClustersResponse(); | 790 var o = new api.ListClustersResponse(); |
| 791 buildCounterListClustersResponse++; | 791 buildCounterListClustersResponse++; |
| 792 if (buildCounterListClustersResponse < 3) { | 792 if (buildCounterListClustersResponse < 3) { |
| 793 o.clusters = buildUnnamed3148(); | 793 o.clusters = buildUnnamed3163(); |
| 794 o.nextPageToken = "foo"; | 794 o.nextPageToken = "foo"; |
| 795 } | 795 } |
| 796 buildCounterListClustersResponse--; | 796 buildCounterListClustersResponse--; |
| 797 return o; | 797 return o; |
| 798 } | 798 } |
| 799 | 799 |
| 800 checkListClustersResponse(api.ListClustersResponse o) { | 800 checkListClustersResponse(api.ListClustersResponse o) { |
| 801 buildCounterListClustersResponse++; | 801 buildCounterListClustersResponse++; |
| 802 if (buildCounterListClustersResponse < 3) { | 802 if (buildCounterListClustersResponse < 3) { |
| 803 checkUnnamed3148(o.clusters); | 803 checkUnnamed3163(o.clusters); |
| 804 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 804 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 805 } | 805 } |
| 806 buildCounterListClustersResponse--; | 806 buildCounterListClustersResponse--; |
| 807 } | 807 } |
| 808 | 808 |
| 809 buildUnnamed3149() { | 809 buildUnnamed3164() { |
| 810 var o = new core.List<api.Job>(); | 810 var o = new core.List<api.Job>(); |
| 811 o.add(buildJob()); | 811 o.add(buildJob()); |
| 812 o.add(buildJob()); | 812 o.add(buildJob()); |
| 813 return o; | 813 return o; |
| 814 } | 814 } |
| 815 | 815 |
| 816 checkUnnamed3149(core.List<api.Job> o) { | 816 checkUnnamed3164(core.List<api.Job> o) { |
| 817 unittest.expect(o, unittest.hasLength(2)); | 817 unittest.expect(o, unittest.hasLength(2)); |
| 818 checkJob(o[0]); | 818 checkJob(o[0]); |
| 819 checkJob(o[1]); | 819 checkJob(o[1]); |
| 820 } | 820 } |
| 821 | 821 |
| 822 core.int buildCounterListJobsResponse = 0; | 822 core.int buildCounterListJobsResponse = 0; |
| 823 buildListJobsResponse() { | 823 buildListJobsResponse() { |
| 824 var o = new api.ListJobsResponse(); | 824 var o = new api.ListJobsResponse(); |
| 825 buildCounterListJobsResponse++; | 825 buildCounterListJobsResponse++; |
| 826 if (buildCounterListJobsResponse < 3) { | 826 if (buildCounterListJobsResponse < 3) { |
| 827 o.jobs = buildUnnamed3149(); | 827 o.jobs = buildUnnamed3164(); |
| 828 o.nextPageToken = "foo"; | 828 o.nextPageToken = "foo"; |
| 829 } | 829 } |
| 830 buildCounterListJobsResponse--; | 830 buildCounterListJobsResponse--; |
| 831 return o; | 831 return o; |
| 832 } | 832 } |
| 833 | 833 |
| 834 checkListJobsResponse(api.ListJobsResponse o) { | 834 checkListJobsResponse(api.ListJobsResponse o) { |
| 835 buildCounterListJobsResponse++; | 835 buildCounterListJobsResponse++; |
| 836 if (buildCounterListJobsResponse < 3) { | 836 if (buildCounterListJobsResponse < 3) { |
| 837 checkUnnamed3149(o.jobs); | 837 checkUnnamed3164(o.jobs); |
| 838 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 838 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 839 } | 839 } |
| 840 buildCounterListJobsResponse--; | 840 buildCounterListJobsResponse--; |
| 841 } | 841 } |
| 842 | 842 |
| 843 buildUnnamed3150() { | 843 buildUnnamed3165() { |
| 844 var o = new core.List<api.Operation>(); | 844 var o = new core.List<api.Operation>(); |
| 845 o.add(buildOperation()); | 845 o.add(buildOperation()); |
| 846 o.add(buildOperation()); | 846 o.add(buildOperation()); |
| 847 return o; | 847 return o; |
| 848 } | 848 } |
| 849 | 849 |
| 850 checkUnnamed3150(core.List<api.Operation> o) { | 850 checkUnnamed3165(core.List<api.Operation> o) { |
| 851 unittest.expect(o, unittest.hasLength(2)); | 851 unittest.expect(o, unittest.hasLength(2)); |
| 852 checkOperation(o[0]); | 852 checkOperation(o[0]); |
| 853 checkOperation(o[1]); | 853 checkOperation(o[1]); |
| 854 } | 854 } |
| 855 | 855 |
| 856 core.int buildCounterListOperationsResponse = 0; | 856 core.int buildCounterListOperationsResponse = 0; |
| 857 buildListOperationsResponse() { | 857 buildListOperationsResponse() { |
| 858 var o = new api.ListOperationsResponse(); | 858 var o = new api.ListOperationsResponse(); |
| 859 buildCounterListOperationsResponse++; | 859 buildCounterListOperationsResponse++; |
| 860 if (buildCounterListOperationsResponse < 3) { | 860 if (buildCounterListOperationsResponse < 3) { |
| 861 o.nextPageToken = "foo"; | 861 o.nextPageToken = "foo"; |
| 862 o.operations = buildUnnamed3150(); | 862 o.operations = buildUnnamed3165(); |
| 863 } | 863 } |
| 864 buildCounterListOperationsResponse--; | 864 buildCounterListOperationsResponse--; |
| 865 return o; | 865 return o; |
| 866 } | 866 } |
| 867 | 867 |
| 868 checkListOperationsResponse(api.ListOperationsResponse o) { | 868 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 869 buildCounterListOperationsResponse++; | 869 buildCounterListOperationsResponse++; |
| 870 if (buildCounterListOperationsResponse < 3) { | 870 if (buildCounterListOperationsResponse < 3) { |
| 871 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 871 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 872 checkUnnamed3150(o.operations); | 872 checkUnnamed3165(o.operations); |
| 873 } | 873 } |
| 874 buildCounterListOperationsResponse--; | 874 buildCounterListOperationsResponse--; |
| 875 } | 875 } |
| 876 | 876 |
| 877 buildUnnamed3151() { | 877 buildUnnamed3166() { |
| 878 var o = new core.Map<core.String, core.String>(); | 878 var o = new core.Map<core.String, core.String>(); |
| 879 o["x"] = "foo"; | 879 o["x"] = "foo"; |
| 880 o["y"] = "foo"; | 880 o["y"] = "foo"; |
| 881 return o; | 881 return o; |
| 882 } | 882 } |
| 883 | 883 |
| 884 checkUnnamed3151(core.Map<core.String, core.String> o) { | 884 checkUnnamed3166(core.Map<core.String, core.String> o) { |
| 885 unittest.expect(o, unittest.hasLength(2)); | 885 unittest.expect(o, unittest.hasLength(2)); |
| 886 unittest.expect(o["x"], unittest.equals('foo')); | 886 unittest.expect(o["x"], unittest.equals('foo')); |
| 887 unittest.expect(o["y"], unittest.equals('foo')); | 887 unittest.expect(o["y"], unittest.equals('foo')); |
| 888 } | 888 } |
| 889 | 889 |
| 890 core.int buildCounterLoggingConfiguration = 0; | 890 core.int buildCounterLoggingConfiguration = 0; |
| 891 buildLoggingConfiguration() { | 891 buildLoggingConfiguration() { |
| 892 var o = new api.LoggingConfiguration(); | 892 var o = new api.LoggingConfiguration(); |
| 893 buildCounterLoggingConfiguration++; | 893 buildCounterLoggingConfiguration++; |
| 894 if (buildCounterLoggingConfiguration < 3) { | 894 if (buildCounterLoggingConfiguration < 3) { |
| 895 o.driverLogLevels = buildUnnamed3151(); | 895 o.driverLogLevels = buildUnnamed3166(); |
| 896 } | 896 } |
| 897 buildCounterLoggingConfiguration--; | 897 buildCounterLoggingConfiguration--; |
| 898 return o; | 898 return o; |
| 899 } | 899 } |
| 900 | 900 |
| 901 checkLoggingConfiguration(api.LoggingConfiguration o) { | 901 checkLoggingConfiguration(api.LoggingConfiguration o) { |
| 902 buildCounterLoggingConfiguration++; | 902 buildCounterLoggingConfiguration++; |
| 903 if (buildCounterLoggingConfiguration < 3) { | 903 if (buildCounterLoggingConfiguration < 3) { |
| 904 checkUnnamed3151(o.driverLogLevels); | 904 checkUnnamed3166(o.driverLogLevels); |
| 905 } | 905 } |
| 906 buildCounterLoggingConfiguration--; | 906 buildCounterLoggingConfiguration--; |
| 907 } | 907 } |
| 908 | 908 |
| 909 core.int buildCounterManagedGroupConfiguration = 0; | 909 core.int buildCounterManagedGroupConfiguration = 0; |
| 910 buildManagedGroupConfiguration() { | 910 buildManagedGroupConfiguration() { |
| 911 var o = new api.ManagedGroupConfiguration(); | 911 var o = new api.ManagedGroupConfiguration(); |
| 912 buildCounterManagedGroupConfiguration++; | 912 buildCounterManagedGroupConfiguration++; |
| 913 if (buildCounterManagedGroupConfiguration < 3) { | 913 if (buildCounterManagedGroupConfiguration < 3) { |
| 914 o.instanceGroupManagerName = "foo"; | 914 o.instanceGroupManagerName = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 941 | 941 |
| 942 checkNodeInitializationAction(api.NodeInitializationAction o) { | 942 checkNodeInitializationAction(api.NodeInitializationAction o) { |
| 943 buildCounterNodeInitializationAction++; | 943 buildCounterNodeInitializationAction++; |
| 944 if (buildCounterNodeInitializationAction < 3) { | 944 if (buildCounterNodeInitializationAction < 3) { |
| 945 unittest.expect(o.executableFile, unittest.equals('foo')); | 945 unittest.expect(o.executableFile, unittest.equals('foo')); |
| 946 unittest.expect(o.executionTimeout, unittest.equals('foo')); | 946 unittest.expect(o.executionTimeout, unittest.equals('foo')); |
| 947 } | 947 } |
| 948 buildCounterNodeInitializationAction--; | 948 buildCounterNodeInitializationAction--; |
| 949 } | 949 } |
| 950 | 950 |
| 951 buildUnnamed3152() { | 951 buildUnnamed3167() { |
| 952 var o = new core.Map<core.String, core.Object>(); | 952 var o = new core.Map<core.String, core.Object>(); |
| 953 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 953 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 954 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 954 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 955 return o; | 955 return o; |
| 956 } | 956 } |
| 957 | 957 |
| 958 checkUnnamed3152(core.Map<core.String, core.Object> o) { | 958 checkUnnamed3167(core.Map<core.String, core.Object> o) { |
| 959 unittest.expect(o, unittest.hasLength(2)); | 959 unittest.expect(o, unittest.hasLength(2)); |
| 960 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')); | 960 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')); |
| 961 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')); | 961 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')); |
| 962 } | 962 } |
| 963 | 963 |
| 964 buildUnnamed3153() { | 964 buildUnnamed3168() { |
| 965 var o = new core.Map<core.String, core.Object>(); | 965 var o = new core.Map<core.String, core.Object>(); |
| 966 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 966 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 967 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 967 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 968 return o; | 968 return o; |
| 969 } | 969 } |
| 970 | 970 |
| 971 checkUnnamed3153(core.Map<core.String, core.Object> o) { | 971 checkUnnamed3168(core.Map<core.String, core.Object> o) { |
| 972 unittest.expect(o, unittest.hasLength(2)); | 972 unittest.expect(o, unittest.hasLength(2)); |
| 973 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')); | 973 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')); |
| 974 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')); | 974 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')); |
| 975 } | 975 } |
| 976 | 976 |
| 977 core.int buildCounterOperation = 0; | 977 core.int buildCounterOperation = 0; |
| 978 buildOperation() { | 978 buildOperation() { |
| 979 var o = new api.Operation(); | 979 var o = new api.Operation(); |
| 980 buildCounterOperation++; | 980 buildCounterOperation++; |
| 981 if (buildCounterOperation < 3) { | 981 if (buildCounterOperation < 3) { |
| 982 o.done = true; | 982 o.done = true; |
| 983 o.error = buildStatus(); | 983 o.error = buildStatus(); |
| 984 o.metadata = buildUnnamed3152(); | 984 o.metadata = buildUnnamed3167(); |
| 985 o.name = "foo"; | 985 o.name = "foo"; |
| 986 o.response = buildUnnamed3153(); | 986 o.response = buildUnnamed3168(); |
| 987 } | 987 } |
| 988 buildCounterOperation--; | 988 buildCounterOperation--; |
| 989 return o; | 989 return o; |
| 990 } | 990 } |
| 991 | 991 |
| 992 checkOperation(api.Operation o) { | 992 checkOperation(api.Operation o) { |
| 993 buildCounterOperation++; | 993 buildCounterOperation++; |
| 994 if (buildCounterOperation < 3) { | 994 if (buildCounterOperation < 3) { |
| 995 unittest.expect(o.done, unittest.isTrue); | 995 unittest.expect(o.done, unittest.isTrue); |
| 996 checkStatus(o.error); | 996 checkStatus(o.error); |
| 997 checkUnnamed3152(o.metadata); | 997 checkUnnamed3167(o.metadata); |
| 998 unittest.expect(o.name, unittest.equals('foo')); | 998 unittest.expect(o.name, unittest.equals('foo')); |
| 999 checkUnnamed3153(o.response); | 999 checkUnnamed3168(o.response); |
| 1000 } | 1000 } |
| 1001 buildCounterOperation--; | 1001 buildCounterOperation--; |
| 1002 } | 1002 } |
| 1003 | 1003 |
| 1004 buildUnnamed3154() { | 1004 buildUnnamed3169() { |
| 1005 var o = new core.List<api.OperationStatus>(); | 1005 var o = new core.List<api.OperationStatus>(); |
| 1006 o.add(buildOperationStatus()); | 1006 o.add(buildOperationStatus()); |
| 1007 o.add(buildOperationStatus()); | 1007 o.add(buildOperationStatus()); |
| 1008 return o; | 1008 return o; |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 checkUnnamed3154(core.List<api.OperationStatus> o) { | 1011 checkUnnamed3169(core.List<api.OperationStatus> o) { |
| 1012 unittest.expect(o, unittest.hasLength(2)); | 1012 unittest.expect(o, unittest.hasLength(2)); |
| 1013 checkOperationStatus(o[0]); | 1013 checkOperationStatus(o[0]); |
| 1014 checkOperationStatus(o[1]); | 1014 checkOperationStatus(o[1]); |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 core.int buildCounterOperationMetadata = 0; | 1017 core.int buildCounterOperationMetadata = 0; |
| 1018 buildOperationMetadata() { | 1018 buildOperationMetadata() { |
| 1019 var o = new api.OperationMetadata(); | 1019 var o = new api.OperationMetadata(); |
| 1020 buildCounterOperationMetadata++; | 1020 buildCounterOperationMetadata++; |
| 1021 if (buildCounterOperationMetadata < 3) { | 1021 if (buildCounterOperationMetadata < 3) { |
| 1022 o.clusterName = "foo"; | 1022 o.clusterName = "foo"; |
| 1023 o.clusterUuid = "foo"; | 1023 o.clusterUuid = "foo"; |
| 1024 o.description = "foo"; | 1024 o.description = "foo"; |
| 1025 o.details = "foo"; | 1025 o.details = "foo"; |
| 1026 o.endTime = "foo"; | 1026 o.endTime = "foo"; |
| 1027 o.innerState = "foo"; | 1027 o.innerState = "foo"; |
| 1028 o.insertTime = "foo"; | 1028 o.insertTime = "foo"; |
| 1029 o.operationType = "foo"; | 1029 o.operationType = "foo"; |
| 1030 o.startTime = "foo"; | 1030 o.startTime = "foo"; |
| 1031 o.state = "foo"; | 1031 o.state = "foo"; |
| 1032 o.status = buildOperationStatus(); | 1032 o.status = buildOperationStatus(); |
| 1033 o.statusHistory = buildUnnamed3154(); | 1033 o.statusHistory = buildUnnamed3169(); |
| 1034 } | 1034 } |
| 1035 buildCounterOperationMetadata--; | 1035 buildCounterOperationMetadata--; |
| 1036 return o; | 1036 return o; |
| 1037 } | 1037 } |
| 1038 | 1038 |
| 1039 checkOperationMetadata(api.OperationMetadata o) { | 1039 checkOperationMetadata(api.OperationMetadata o) { |
| 1040 buildCounterOperationMetadata++; | 1040 buildCounterOperationMetadata++; |
| 1041 if (buildCounterOperationMetadata < 3) { | 1041 if (buildCounterOperationMetadata < 3) { |
| 1042 unittest.expect(o.clusterName, unittest.equals('foo')); | 1042 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 1043 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 1043 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 1044 unittest.expect(o.description, unittest.equals('foo')); | 1044 unittest.expect(o.description, unittest.equals('foo')); |
| 1045 unittest.expect(o.details, unittest.equals('foo')); | 1045 unittest.expect(o.details, unittest.equals('foo')); |
| 1046 unittest.expect(o.endTime, unittest.equals('foo')); | 1046 unittest.expect(o.endTime, unittest.equals('foo')); |
| 1047 unittest.expect(o.innerState, unittest.equals('foo')); | 1047 unittest.expect(o.innerState, unittest.equals('foo')); |
| 1048 unittest.expect(o.insertTime, unittest.equals('foo')); | 1048 unittest.expect(o.insertTime, unittest.equals('foo')); |
| 1049 unittest.expect(o.operationType, unittest.equals('foo')); | 1049 unittest.expect(o.operationType, unittest.equals('foo')); |
| 1050 unittest.expect(o.startTime, unittest.equals('foo')); | 1050 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1051 unittest.expect(o.state, unittest.equals('foo')); | 1051 unittest.expect(o.state, unittest.equals('foo')); |
| 1052 checkOperationStatus(o.status); | 1052 checkOperationStatus(o.status); |
| 1053 checkUnnamed3154(o.statusHistory); | 1053 checkUnnamed3169(o.statusHistory); |
| 1054 } | 1054 } |
| 1055 buildCounterOperationMetadata--; | 1055 buildCounterOperationMetadata--; |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 core.int buildCounterOperationStatus = 0; | 1058 core.int buildCounterOperationStatus = 0; |
| 1059 buildOperationStatus() { | 1059 buildOperationStatus() { |
| 1060 var o = new api.OperationStatus(); | 1060 var o = new api.OperationStatus(); |
| 1061 buildCounterOperationStatus++; | 1061 buildCounterOperationStatus++; |
| 1062 if (buildCounterOperationStatus < 3) { | 1062 if (buildCounterOperationStatus < 3) { |
| 1063 o.details = "foo"; | 1063 o.details = "foo"; |
| 1064 o.innerState = "foo"; | 1064 o.innerState = "foo"; |
| 1065 o.state = "foo"; | 1065 o.state = "foo"; |
| 1066 o.stateStartTime = "foo"; | 1066 o.stateStartTime = "foo"; |
| 1067 } | 1067 } |
| 1068 buildCounterOperationStatus--; | 1068 buildCounterOperationStatus--; |
| 1069 return o; | 1069 return o; |
| 1070 } | 1070 } |
| 1071 | 1071 |
| 1072 checkOperationStatus(api.OperationStatus o) { | 1072 checkOperationStatus(api.OperationStatus o) { |
| 1073 buildCounterOperationStatus++; | 1073 buildCounterOperationStatus++; |
| 1074 if (buildCounterOperationStatus < 3) { | 1074 if (buildCounterOperationStatus < 3) { |
| 1075 unittest.expect(o.details, unittest.equals('foo')); | 1075 unittest.expect(o.details, unittest.equals('foo')); |
| 1076 unittest.expect(o.innerState, unittest.equals('foo')); | 1076 unittest.expect(o.innerState, unittest.equals('foo')); |
| 1077 unittest.expect(o.state, unittest.equals('foo')); | 1077 unittest.expect(o.state, unittest.equals('foo')); |
| 1078 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 1078 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
| 1079 } | 1079 } |
| 1080 buildCounterOperationStatus--; | 1080 buildCounterOperationStatus--; |
| 1081 } | 1081 } |
| 1082 | 1082 |
| 1083 buildUnnamed3155() { | 1083 buildUnnamed3170() { |
| 1084 var o = new core.List<core.String>(); | 1084 var o = new core.List<core.String>(); |
| 1085 o.add("foo"); | 1085 o.add("foo"); |
| 1086 o.add("foo"); | 1086 o.add("foo"); |
| 1087 return o; | 1087 return o; |
| 1088 } | 1088 } |
| 1089 | 1089 |
| 1090 checkUnnamed3155(core.List<core.String> o) { | 1090 checkUnnamed3170(core.List<core.String> o) { |
| 1091 unittest.expect(o, unittest.hasLength(2)); | 1091 unittest.expect(o, unittest.hasLength(2)); |
| 1092 unittest.expect(o[0], unittest.equals('foo')); | 1092 unittest.expect(o[0], unittest.equals('foo')); |
| 1093 unittest.expect(o[1], unittest.equals('foo')); | 1093 unittest.expect(o[1], unittest.equals('foo')); |
| 1094 } | 1094 } |
| 1095 | 1095 |
| 1096 buildUnnamed3156() { | 1096 buildUnnamed3171() { |
| 1097 var o = new core.Map<core.String, core.String>(); | 1097 var o = new core.Map<core.String, core.String>(); |
| 1098 o["x"] = "foo"; | 1098 o["x"] = "foo"; |
| 1099 o["y"] = "foo"; | 1099 o["y"] = "foo"; |
| 1100 return o; | 1100 return o; |
| 1101 } | 1101 } |
| 1102 | 1102 |
| 1103 checkUnnamed3156(core.Map<core.String, core.String> o) { | 1103 checkUnnamed3171(core.Map<core.String, core.String> o) { |
| 1104 unittest.expect(o, unittest.hasLength(2)); | 1104 unittest.expect(o, unittest.hasLength(2)); |
| 1105 unittest.expect(o["x"], unittest.equals('foo')); | 1105 unittest.expect(o["x"], unittest.equals('foo')); |
| 1106 unittest.expect(o["y"], unittest.equals('foo')); | 1106 unittest.expect(o["y"], unittest.equals('foo')); |
| 1107 } | 1107 } |
| 1108 | 1108 |
| 1109 buildUnnamed3157() { | 1109 buildUnnamed3172() { |
| 1110 var o = new core.Map<core.String, core.String>(); | 1110 var o = new core.Map<core.String, core.String>(); |
| 1111 o["x"] = "foo"; | 1111 o["x"] = "foo"; |
| 1112 o["y"] = "foo"; | 1112 o["y"] = "foo"; |
| 1113 return o; | 1113 return o; |
| 1114 } | 1114 } |
| 1115 | 1115 |
| 1116 checkUnnamed3157(core.Map<core.String, core.String> o) { | 1116 checkUnnamed3172(core.Map<core.String, core.String> o) { |
| 1117 unittest.expect(o, unittest.hasLength(2)); | 1117 unittest.expect(o, unittest.hasLength(2)); |
| 1118 unittest.expect(o["x"], unittest.equals('foo')); | 1118 unittest.expect(o["x"], unittest.equals('foo')); |
| 1119 unittest.expect(o["y"], unittest.equals('foo')); | 1119 unittest.expect(o["y"], unittest.equals('foo')); |
| 1120 } | 1120 } |
| 1121 | 1121 |
| 1122 core.int buildCounterPigJob = 0; | 1122 core.int buildCounterPigJob = 0; |
| 1123 buildPigJob() { | 1123 buildPigJob() { |
| 1124 var o = new api.PigJob(); | 1124 var o = new api.PigJob(); |
| 1125 buildCounterPigJob++; | 1125 buildCounterPigJob++; |
| 1126 if (buildCounterPigJob < 3) { | 1126 if (buildCounterPigJob < 3) { |
| 1127 o.continueOnFailure = true; | 1127 o.continueOnFailure = true; |
| 1128 o.jarFileUris = buildUnnamed3155(); | 1128 o.jarFileUris = buildUnnamed3170(); |
| 1129 o.loggingConfiguration = buildLoggingConfiguration(); | 1129 o.loggingConfiguration = buildLoggingConfiguration(); |
| 1130 o.properties = buildUnnamed3156(); | 1130 o.properties = buildUnnamed3171(); |
| 1131 o.queryFileUri = "foo"; | 1131 o.queryFileUri = "foo"; |
| 1132 o.queryList = buildQueryList(); | 1132 o.queryList = buildQueryList(); |
| 1133 o.scriptVariables = buildUnnamed3157(); | 1133 o.scriptVariables = buildUnnamed3172(); |
| 1134 } | 1134 } |
| 1135 buildCounterPigJob--; | 1135 buildCounterPigJob--; |
| 1136 return o; | 1136 return o; |
| 1137 } | 1137 } |
| 1138 | 1138 |
| 1139 checkPigJob(api.PigJob o) { | 1139 checkPigJob(api.PigJob o) { |
| 1140 buildCounterPigJob++; | 1140 buildCounterPigJob++; |
| 1141 if (buildCounterPigJob < 3) { | 1141 if (buildCounterPigJob < 3) { |
| 1142 unittest.expect(o.continueOnFailure, unittest.isTrue); | 1142 unittest.expect(o.continueOnFailure, unittest.isTrue); |
| 1143 checkUnnamed3155(o.jarFileUris); | 1143 checkUnnamed3170(o.jarFileUris); |
| 1144 checkLoggingConfiguration(o.loggingConfiguration); | 1144 checkLoggingConfiguration(o.loggingConfiguration); |
| 1145 checkUnnamed3156(o.properties); | 1145 checkUnnamed3171(o.properties); |
| 1146 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1146 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 1147 checkQueryList(o.queryList); | 1147 checkQueryList(o.queryList); |
| 1148 checkUnnamed3157(o.scriptVariables); | 1148 checkUnnamed3172(o.scriptVariables); |
| 1149 } | 1149 } |
| 1150 buildCounterPigJob--; | 1150 buildCounterPigJob--; |
| 1151 } | 1151 } |
| 1152 | 1152 |
| 1153 buildUnnamed3158() { | 1153 buildUnnamed3173() { |
| 1154 var o = new core.List<core.String>(); | 1154 var o = new core.List<core.String>(); |
| 1155 o.add("foo"); | 1155 o.add("foo"); |
| 1156 o.add("foo"); | 1156 o.add("foo"); |
| 1157 return o; | 1157 return o; |
| 1158 } | 1158 } |
| 1159 | 1159 |
| 1160 checkUnnamed3158(core.List<core.String> o) { | 1160 checkUnnamed3173(core.List<core.String> o) { |
| 1161 unittest.expect(o, unittest.hasLength(2)); | 1161 unittest.expect(o, unittest.hasLength(2)); |
| 1162 unittest.expect(o[0], unittest.equals('foo')); | 1162 unittest.expect(o[0], unittest.equals('foo')); |
| 1163 unittest.expect(o[1], unittest.equals('foo')); | 1163 unittest.expect(o[1], unittest.equals('foo')); |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 buildUnnamed3159() { | 1166 buildUnnamed3174() { |
| 1167 var o = new core.List<core.String>(); | 1167 var o = new core.List<core.String>(); |
| 1168 o.add("foo"); | 1168 o.add("foo"); |
| 1169 o.add("foo"); | 1169 o.add("foo"); |
| 1170 return o; | 1170 return o; |
| 1171 } | 1171 } |
| 1172 | 1172 |
| 1173 checkUnnamed3159(core.List<core.String> o) { | 1173 checkUnnamed3174(core.List<core.String> o) { |
| 1174 unittest.expect(o, unittest.hasLength(2)); | 1174 unittest.expect(o, unittest.hasLength(2)); |
| 1175 unittest.expect(o[0], unittest.equals('foo')); | 1175 unittest.expect(o[0], unittest.equals('foo')); |
| 1176 unittest.expect(o[1], unittest.equals('foo')); | 1176 unittest.expect(o[1], unittest.equals('foo')); |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 buildUnnamed3160() { | 1179 buildUnnamed3175() { |
| 1180 var o = new core.List<core.String>(); | 1180 var o = new core.List<core.String>(); |
| 1181 o.add("foo"); | 1181 o.add("foo"); |
| 1182 o.add("foo"); | 1182 o.add("foo"); |
| 1183 return o; | 1183 return o; |
| 1184 } | 1184 } |
| 1185 | 1185 |
| 1186 checkUnnamed3160(core.List<core.String> o) { | 1186 checkUnnamed3175(core.List<core.String> o) { |
| 1187 unittest.expect(o, unittest.hasLength(2)); | 1187 unittest.expect(o, unittest.hasLength(2)); |
| 1188 unittest.expect(o[0], unittest.equals('foo')); | 1188 unittest.expect(o[0], unittest.equals('foo')); |
| 1189 unittest.expect(o[1], unittest.equals('foo')); | 1189 unittest.expect(o[1], unittest.equals('foo')); |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 buildUnnamed3161() { | 1192 buildUnnamed3176() { |
| 1193 var o = new core.List<core.String>(); | 1193 var o = new core.List<core.String>(); |
| 1194 o.add("foo"); | 1194 o.add("foo"); |
| 1195 o.add("foo"); | 1195 o.add("foo"); |
| 1196 return o; | 1196 return o; |
| 1197 } | 1197 } |
| 1198 | 1198 |
| 1199 checkUnnamed3161(core.List<core.String> o) { | 1199 checkUnnamed3176(core.List<core.String> o) { |
| 1200 unittest.expect(o, unittest.hasLength(2)); | 1200 unittest.expect(o, unittest.hasLength(2)); |
| 1201 unittest.expect(o[0], unittest.equals('foo')); | 1201 unittest.expect(o[0], unittest.equals('foo')); |
| 1202 unittest.expect(o[1], unittest.equals('foo')); | 1202 unittest.expect(o[1], unittest.equals('foo')); |
| 1203 } | 1203 } |
| 1204 | 1204 |
| 1205 buildUnnamed3162() { | 1205 buildUnnamed3177() { |
| 1206 var o = new core.Map<core.String, core.String>(); | 1206 var o = new core.Map<core.String, core.String>(); |
| 1207 o["x"] = "foo"; | 1207 o["x"] = "foo"; |
| 1208 o["y"] = "foo"; | 1208 o["y"] = "foo"; |
| 1209 return o; | 1209 return o; |
| 1210 } | 1210 } |
| 1211 | 1211 |
| 1212 checkUnnamed3162(core.Map<core.String, core.String> o) { | 1212 checkUnnamed3177(core.Map<core.String, core.String> o) { |
| 1213 unittest.expect(o, unittest.hasLength(2)); | 1213 unittest.expect(o, unittest.hasLength(2)); |
| 1214 unittest.expect(o["x"], unittest.equals('foo')); | 1214 unittest.expect(o["x"], unittest.equals('foo')); |
| 1215 unittest.expect(o["y"], unittest.equals('foo')); | 1215 unittest.expect(o["y"], unittest.equals('foo')); |
| 1216 } | 1216 } |
| 1217 | 1217 |
| 1218 buildUnnamed3163() { | 1218 buildUnnamed3178() { |
| 1219 var o = new core.List<core.String>(); | 1219 var o = new core.List<core.String>(); |
| 1220 o.add("foo"); | 1220 o.add("foo"); |
| 1221 o.add("foo"); | 1221 o.add("foo"); |
| 1222 return o; | 1222 return o; |
| 1223 } | 1223 } |
| 1224 | 1224 |
| 1225 checkUnnamed3163(core.List<core.String> o) { | 1225 checkUnnamed3178(core.List<core.String> o) { |
| 1226 unittest.expect(o, unittest.hasLength(2)); | 1226 unittest.expect(o, unittest.hasLength(2)); |
| 1227 unittest.expect(o[0], unittest.equals('foo')); | 1227 unittest.expect(o[0], unittest.equals('foo')); |
| 1228 unittest.expect(o[1], unittest.equals('foo')); | 1228 unittest.expect(o[1], unittest.equals('foo')); |
| 1229 } | 1229 } |
| 1230 | 1230 |
| 1231 core.int buildCounterPySparkJob = 0; | 1231 core.int buildCounterPySparkJob = 0; |
| 1232 buildPySparkJob() { | 1232 buildPySparkJob() { |
| 1233 var o = new api.PySparkJob(); | 1233 var o = new api.PySparkJob(); |
| 1234 buildCounterPySparkJob++; | 1234 buildCounterPySparkJob++; |
| 1235 if (buildCounterPySparkJob < 3) { | 1235 if (buildCounterPySparkJob < 3) { |
| 1236 o.archiveUris = buildUnnamed3158(); | 1236 o.archiveUris = buildUnnamed3173(); |
| 1237 o.args = buildUnnamed3159(); | 1237 o.args = buildUnnamed3174(); |
| 1238 o.fileUris = buildUnnamed3160(); | 1238 o.fileUris = buildUnnamed3175(); |
| 1239 o.jarFileUris = buildUnnamed3161(); | 1239 o.jarFileUris = buildUnnamed3176(); |
| 1240 o.loggingConfiguration = buildLoggingConfiguration(); | 1240 o.loggingConfiguration = buildLoggingConfiguration(); |
| 1241 o.mainPythonFileUri = "foo"; | 1241 o.mainPythonFileUri = "foo"; |
| 1242 o.properties = buildUnnamed3162(); | 1242 o.properties = buildUnnamed3177(); |
| 1243 o.pythonFileUris = buildUnnamed3163(); | 1243 o.pythonFileUris = buildUnnamed3178(); |
| 1244 } | 1244 } |
| 1245 buildCounterPySparkJob--; | 1245 buildCounterPySparkJob--; |
| 1246 return o; | 1246 return o; |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 checkPySparkJob(api.PySparkJob o) { | 1249 checkPySparkJob(api.PySparkJob o) { |
| 1250 buildCounterPySparkJob++; | 1250 buildCounterPySparkJob++; |
| 1251 if (buildCounterPySparkJob < 3) { | 1251 if (buildCounterPySparkJob < 3) { |
| 1252 checkUnnamed3158(o.archiveUris); | 1252 checkUnnamed3173(o.archiveUris); |
| 1253 checkUnnamed3159(o.args); | 1253 checkUnnamed3174(o.args); |
| 1254 checkUnnamed3160(o.fileUris); | 1254 checkUnnamed3175(o.fileUris); |
| 1255 checkUnnamed3161(o.jarFileUris); | 1255 checkUnnamed3176(o.jarFileUris); |
| 1256 checkLoggingConfiguration(o.loggingConfiguration); | 1256 checkLoggingConfiguration(o.loggingConfiguration); |
| 1257 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); | 1257 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); |
| 1258 checkUnnamed3162(o.properties); | 1258 checkUnnamed3177(o.properties); |
| 1259 checkUnnamed3163(o.pythonFileUris); | 1259 checkUnnamed3178(o.pythonFileUris); |
| 1260 } | 1260 } |
| 1261 buildCounterPySparkJob--; | 1261 buildCounterPySparkJob--; |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 buildUnnamed3164() { | 1264 buildUnnamed3179() { |
| 1265 var o = new core.List<core.String>(); | 1265 var o = new core.List<core.String>(); |
| 1266 o.add("foo"); | 1266 o.add("foo"); |
| 1267 o.add("foo"); | 1267 o.add("foo"); |
| 1268 return o; | 1268 return o; |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 checkUnnamed3164(core.List<core.String> o) { | 1271 checkUnnamed3179(core.List<core.String> o) { |
| 1272 unittest.expect(o, unittest.hasLength(2)); | 1272 unittest.expect(o, unittest.hasLength(2)); |
| 1273 unittest.expect(o[0], unittest.equals('foo')); | 1273 unittest.expect(o[0], unittest.equals('foo')); |
| 1274 unittest.expect(o[1], unittest.equals('foo')); | 1274 unittest.expect(o[1], unittest.equals('foo')); |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 core.int buildCounterQueryList = 0; | 1277 core.int buildCounterQueryList = 0; |
| 1278 buildQueryList() { | 1278 buildQueryList() { |
| 1279 var o = new api.QueryList(); | 1279 var o = new api.QueryList(); |
| 1280 buildCounterQueryList++; | 1280 buildCounterQueryList++; |
| 1281 if (buildCounterQueryList < 3) { | 1281 if (buildCounterQueryList < 3) { |
| 1282 o.queries = buildUnnamed3164(); | 1282 o.queries = buildUnnamed3179(); |
| 1283 } | 1283 } |
| 1284 buildCounterQueryList--; | 1284 buildCounterQueryList--; |
| 1285 return o; | 1285 return o; |
| 1286 } | 1286 } |
| 1287 | 1287 |
| 1288 checkQueryList(api.QueryList o) { | 1288 checkQueryList(api.QueryList o) { |
| 1289 buildCounterQueryList++; | 1289 buildCounterQueryList++; |
| 1290 if (buildCounterQueryList < 3) { | 1290 if (buildCounterQueryList < 3) { |
| 1291 checkUnnamed3164(o.queries); | 1291 checkUnnamed3179(o.queries); |
| 1292 } | 1292 } |
| 1293 buildCounterQueryList--; | 1293 buildCounterQueryList--; |
| 1294 } | 1294 } |
| 1295 | 1295 |
| 1296 buildUnnamed3165() { | 1296 buildUnnamed3180() { |
| 1297 var o = new core.Map<core.String, core.String>(); | 1297 var o = new core.Map<core.String, core.String>(); |
| 1298 o["x"] = "foo"; | 1298 o["x"] = "foo"; |
| 1299 o["y"] = "foo"; | 1299 o["y"] = "foo"; |
| 1300 return o; | 1300 return o; |
| 1301 } | 1301 } |
| 1302 | 1302 |
| 1303 checkUnnamed3165(core.Map<core.String, core.String> o) { | 1303 checkUnnamed3180(core.Map<core.String, core.String> o) { |
| 1304 unittest.expect(o, unittest.hasLength(2)); | 1304 unittest.expect(o, unittest.hasLength(2)); |
| 1305 unittest.expect(o["x"], unittest.equals('foo')); | 1305 unittest.expect(o["x"], unittest.equals('foo')); |
| 1306 unittest.expect(o["y"], unittest.equals('foo')); | 1306 unittest.expect(o["y"], unittest.equals('foo')); |
| 1307 } | 1307 } |
| 1308 | 1308 |
| 1309 core.int buildCounterSoftwareConfiguration = 0; | 1309 core.int buildCounterSoftwareConfiguration = 0; |
| 1310 buildSoftwareConfiguration() { | 1310 buildSoftwareConfiguration() { |
| 1311 var o = new api.SoftwareConfiguration(); | 1311 var o = new api.SoftwareConfiguration(); |
| 1312 buildCounterSoftwareConfiguration++; | 1312 buildCounterSoftwareConfiguration++; |
| 1313 if (buildCounterSoftwareConfiguration < 3) { | 1313 if (buildCounterSoftwareConfiguration < 3) { |
| 1314 o.imageVersion = "foo"; | 1314 o.imageVersion = "foo"; |
| 1315 o.properties = buildUnnamed3165(); | 1315 o.properties = buildUnnamed3180(); |
| 1316 } | 1316 } |
| 1317 buildCounterSoftwareConfiguration--; | 1317 buildCounterSoftwareConfiguration--; |
| 1318 return o; | 1318 return o; |
| 1319 } | 1319 } |
| 1320 | 1320 |
| 1321 checkSoftwareConfiguration(api.SoftwareConfiguration o) { | 1321 checkSoftwareConfiguration(api.SoftwareConfiguration o) { |
| 1322 buildCounterSoftwareConfiguration++; | 1322 buildCounterSoftwareConfiguration++; |
| 1323 if (buildCounterSoftwareConfiguration < 3) { | 1323 if (buildCounterSoftwareConfiguration < 3) { |
| 1324 unittest.expect(o.imageVersion, unittest.equals('foo')); | 1324 unittest.expect(o.imageVersion, unittest.equals('foo')); |
| 1325 checkUnnamed3165(o.properties); | 1325 checkUnnamed3180(o.properties); |
| 1326 } | 1326 } |
| 1327 buildCounterSoftwareConfiguration--; | 1327 buildCounterSoftwareConfiguration--; |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 buildUnnamed3166() { | 1330 buildUnnamed3181() { |
| 1331 var o = new core.List<core.String>(); | 1331 var o = new core.List<core.String>(); |
| 1332 o.add("foo"); | 1332 o.add("foo"); |
| 1333 o.add("foo"); | 1333 o.add("foo"); |
| 1334 return o; | 1334 return o; |
| 1335 } | 1335 } |
| 1336 | 1336 |
| 1337 checkUnnamed3166(core.List<core.String> o) { | 1337 checkUnnamed3181(core.List<core.String> o) { |
| 1338 unittest.expect(o, unittest.hasLength(2)); | 1338 unittest.expect(o, unittest.hasLength(2)); |
| 1339 unittest.expect(o[0], unittest.equals('foo')); | 1339 unittest.expect(o[0], unittest.equals('foo')); |
| 1340 unittest.expect(o[1], unittest.equals('foo')); | 1340 unittest.expect(o[1], unittest.equals('foo')); |
| 1341 } | 1341 } |
| 1342 | 1342 |
| 1343 buildUnnamed3167() { | 1343 buildUnnamed3182() { |
| 1344 var o = new core.List<core.String>(); | 1344 var o = new core.List<core.String>(); |
| 1345 o.add("foo"); | 1345 o.add("foo"); |
| 1346 o.add("foo"); | 1346 o.add("foo"); |
| 1347 return o; | 1347 return o; |
| 1348 } | 1348 } |
| 1349 | 1349 |
| 1350 checkUnnamed3167(core.List<core.String> o) { | 1350 checkUnnamed3182(core.List<core.String> o) { |
| 1351 unittest.expect(o, unittest.hasLength(2)); | 1351 unittest.expect(o, unittest.hasLength(2)); |
| 1352 unittest.expect(o[0], unittest.equals('foo')); | 1352 unittest.expect(o[0], unittest.equals('foo')); |
| 1353 unittest.expect(o[1], unittest.equals('foo')); | 1353 unittest.expect(o[1], unittest.equals('foo')); |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 buildUnnamed3168() { | 1356 buildUnnamed3183() { |
| 1357 var o = new core.List<core.String>(); | 1357 var o = new core.List<core.String>(); |
| 1358 o.add("foo"); | 1358 o.add("foo"); |
| 1359 o.add("foo"); | 1359 o.add("foo"); |
| 1360 return o; | 1360 return o; |
| 1361 } | 1361 } |
| 1362 | 1362 |
| 1363 checkUnnamed3168(core.List<core.String> o) { | 1363 checkUnnamed3183(core.List<core.String> o) { |
| 1364 unittest.expect(o, unittest.hasLength(2)); | 1364 unittest.expect(o, unittest.hasLength(2)); |
| 1365 unittest.expect(o[0], unittest.equals('foo')); | 1365 unittest.expect(o[0], unittest.equals('foo')); |
| 1366 unittest.expect(o[1], unittest.equals('foo')); | 1366 unittest.expect(o[1], unittest.equals('foo')); |
| 1367 } | 1367 } |
| 1368 | 1368 |
| 1369 buildUnnamed3169() { | 1369 buildUnnamed3184() { |
| 1370 var o = new core.List<core.String>(); | 1370 var o = new core.List<core.String>(); |
| 1371 o.add("foo"); | 1371 o.add("foo"); |
| 1372 o.add("foo"); | 1372 o.add("foo"); |
| 1373 return o; | 1373 return o; |
| 1374 } | 1374 } |
| 1375 | 1375 |
| 1376 checkUnnamed3169(core.List<core.String> o) { | 1376 checkUnnamed3184(core.List<core.String> o) { |
| 1377 unittest.expect(o, unittest.hasLength(2)); | 1377 unittest.expect(o, unittest.hasLength(2)); |
| 1378 unittest.expect(o[0], unittest.equals('foo')); | 1378 unittest.expect(o[0], unittest.equals('foo')); |
| 1379 unittest.expect(o[1], unittest.equals('foo')); | 1379 unittest.expect(o[1], unittest.equals('foo')); |
| 1380 } | 1380 } |
| 1381 | 1381 |
| 1382 buildUnnamed3170() { | 1382 buildUnnamed3185() { |
| 1383 var o = new core.Map<core.String, core.String>(); | 1383 var o = new core.Map<core.String, core.String>(); |
| 1384 o["x"] = "foo"; | 1384 o["x"] = "foo"; |
| 1385 o["y"] = "foo"; | 1385 o["y"] = "foo"; |
| 1386 return o; | 1386 return o; |
| 1387 } | 1387 } |
| 1388 | 1388 |
| 1389 checkUnnamed3170(core.Map<core.String, core.String> o) { | 1389 checkUnnamed3185(core.Map<core.String, core.String> o) { |
| 1390 unittest.expect(o, unittest.hasLength(2)); | 1390 unittest.expect(o, unittest.hasLength(2)); |
| 1391 unittest.expect(o["x"], unittest.equals('foo')); | 1391 unittest.expect(o["x"], unittest.equals('foo')); |
| 1392 unittest.expect(o["y"], unittest.equals('foo')); | 1392 unittest.expect(o["y"], unittest.equals('foo')); |
| 1393 } | 1393 } |
| 1394 | 1394 |
| 1395 core.int buildCounterSparkJob = 0; | 1395 core.int buildCounterSparkJob = 0; |
| 1396 buildSparkJob() { | 1396 buildSparkJob() { |
| 1397 var o = new api.SparkJob(); | 1397 var o = new api.SparkJob(); |
| 1398 buildCounterSparkJob++; | 1398 buildCounterSparkJob++; |
| 1399 if (buildCounterSparkJob < 3) { | 1399 if (buildCounterSparkJob < 3) { |
| 1400 o.archiveUris = buildUnnamed3166(); | 1400 o.archiveUris = buildUnnamed3181(); |
| 1401 o.args = buildUnnamed3167(); | 1401 o.args = buildUnnamed3182(); |
| 1402 o.fileUris = buildUnnamed3168(); | 1402 o.fileUris = buildUnnamed3183(); |
| 1403 o.jarFileUris = buildUnnamed3169(); | 1403 o.jarFileUris = buildUnnamed3184(); |
| 1404 o.loggingConfiguration = buildLoggingConfiguration(); | 1404 o.loggingConfiguration = buildLoggingConfiguration(); |
| 1405 o.mainClass = "foo"; | 1405 o.mainClass = "foo"; |
| 1406 o.mainJarFileUri = "foo"; | 1406 o.mainJarFileUri = "foo"; |
| 1407 o.properties = buildUnnamed3170(); | 1407 o.properties = buildUnnamed3185(); |
| 1408 } | 1408 } |
| 1409 buildCounterSparkJob--; | 1409 buildCounterSparkJob--; |
| 1410 return o; | 1410 return o; |
| 1411 } | 1411 } |
| 1412 | 1412 |
| 1413 checkSparkJob(api.SparkJob o) { | 1413 checkSparkJob(api.SparkJob o) { |
| 1414 buildCounterSparkJob++; | 1414 buildCounterSparkJob++; |
| 1415 if (buildCounterSparkJob < 3) { | 1415 if (buildCounterSparkJob < 3) { |
| 1416 checkUnnamed3166(o.archiveUris); | 1416 checkUnnamed3181(o.archiveUris); |
| 1417 checkUnnamed3167(o.args); | 1417 checkUnnamed3182(o.args); |
| 1418 checkUnnamed3168(o.fileUris); | 1418 checkUnnamed3183(o.fileUris); |
| 1419 checkUnnamed3169(o.jarFileUris); | 1419 checkUnnamed3184(o.jarFileUris); |
| 1420 checkLoggingConfiguration(o.loggingConfiguration); | 1420 checkLoggingConfiguration(o.loggingConfiguration); |
| 1421 unittest.expect(o.mainClass, unittest.equals('foo')); | 1421 unittest.expect(o.mainClass, unittest.equals('foo')); |
| 1422 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 1422 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
| 1423 checkUnnamed3170(o.properties); | 1423 checkUnnamed3185(o.properties); |
| 1424 } | 1424 } |
| 1425 buildCounterSparkJob--; | 1425 buildCounterSparkJob--; |
| 1426 } | 1426 } |
| 1427 | 1427 |
| 1428 buildUnnamed3171() { | 1428 buildUnnamed3186() { |
| 1429 var o = new core.List<core.String>(); | 1429 var o = new core.List<core.String>(); |
| 1430 o.add("foo"); | 1430 o.add("foo"); |
| 1431 o.add("foo"); | 1431 o.add("foo"); |
| 1432 return o; | 1432 return o; |
| 1433 } | 1433 } |
| 1434 | 1434 |
| 1435 checkUnnamed3171(core.List<core.String> o) { | 1435 checkUnnamed3186(core.List<core.String> o) { |
| 1436 unittest.expect(o, unittest.hasLength(2)); | 1436 unittest.expect(o, unittest.hasLength(2)); |
| 1437 unittest.expect(o[0], unittest.equals('foo')); | 1437 unittest.expect(o[0], unittest.equals('foo')); |
| 1438 unittest.expect(o[1], unittest.equals('foo')); | 1438 unittest.expect(o[1], unittest.equals('foo')); |
| 1439 } | 1439 } |
| 1440 | 1440 |
| 1441 buildUnnamed3172() { | 1441 buildUnnamed3187() { |
| 1442 var o = new core.Map<core.String, core.String>(); | 1442 var o = new core.Map<core.String, core.String>(); |
| 1443 o["x"] = "foo"; | 1443 o["x"] = "foo"; |
| 1444 o["y"] = "foo"; | 1444 o["y"] = "foo"; |
| 1445 return o; | 1445 return o; |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 checkUnnamed3172(core.Map<core.String, core.String> o) { | 1448 checkUnnamed3187(core.Map<core.String, core.String> o) { |
| 1449 unittest.expect(o, unittest.hasLength(2)); | 1449 unittest.expect(o, unittest.hasLength(2)); |
| 1450 unittest.expect(o["x"], unittest.equals('foo')); | 1450 unittest.expect(o["x"], unittest.equals('foo')); |
| 1451 unittest.expect(o["y"], unittest.equals('foo')); | 1451 unittest.expect(o["y"], unittest.equals('foo')); |
| 1452 } | 1452 } |
| 1453 | 1453 |
| 1454 buildUnnamed3173() { | 1454 buildUnnamed3188() { |
| 1455 var o = new core.Map<core.String, core.String>(); | 1455 var o = new core.Map<core.String, core.String>(); |
| 1456 o["x"] = "foo"; | 1456 o["x"] = "foo"; |
| 1457 o["y"] = "foo"; | 1457 o["y"] = "foo"; |
| 1458 return o; | 1458 return o; |
| 1459 } | 1459 } |
| 1460 | 1460 |
| 1461 checkUnnamed3173(core.Map<core.String, core.String> o) { | 1461 checkUnnamed3188(core.Map<core.String, core.String> o) { |
| 1462 unittest.expect(o, unittest.hasLength(2)); | 1462 unittest.expect(o, unittest.hasLength(2)); |
| 1463 unittest.expect(o["x"], unittest.equals('foo')); | 1463 unittest.expect(o["x"], unittest.equals('foo')); |
| 1464 unittest.expect(o["y"], unittest.equals('foo')); | 1464 unittest.expect(o["y"], unittest.equals('foo')); |
| 1465 } | 1465 } |
| 1466 | 1466 |
| 1467 core.int buildCounterSparkSqlJob = 0; | 1467 core.int buildCounterSparkSqlJob = 0; |
| 1468 buildSparkSqlJob() { | 1468 buildSparkSqlJob() { |
| 1469 var o = new api.SparkSqlJob(); | 1469 var o = new api.SparkSqlJob(); |
| 1470 buildCounterSparkSqlJob++; | 1470 buildCounterSparkSqlJob++; |
| 1471 if (buildCounterSparkSqlJob < 3) { | 1471 if (buildCounterSparkSqlJob < 3) { |
| 1472 o.jarFileUris = buildUnnamed3171(); | 1472 o.jarFileUris = buildUnnamed3186(); |
| 1473 o.loggingConfiguration = buildLoggingConfiguration(); | 1473 o.loggingConfiguration = buildLoggingConfiguration(); |
| 1474 o.properties = buildUnnamed3172(); | 1474 o.properties = buildUnnamed3187(); |
| 1475 o.queryFileUri = "foo"; | 1475 o.queryFileUri = "foo"; |
| 1476 o.queryList = buildQueryList(); | 1476 o.queryList = buildQueryList(); |
| 1477 o.scriptVariables = buildUnnamed3173(); | 1477 o.scriptVariables = buildUnnamed3188(); |
| 1478 } | 1478 } |
| 1479 buildCounterSparkSqlJob--; | 1479 buildCounterSparkSqlJob--; |
| 1480 return o; | 1480 return o; |
| 1481 } | 1481 } |
| 1482 | 1482 |
| 1483 checkSparkSqlJob(api.SparkSqlJob o) { | 1483 checkSparkSqlJob(api.SparkSqlJob o) { |
| 1484 buildCounterSparkSqlJob++; | 1484 buildCounterSparkSqlJob++; |
| 1485 if (buildCounterSparkSqlJob < 3) { | 1485 if (buildCounterSparkSqlJob < 3) { |
| 1486 checkUnnamed3171(o.jarFileUris); | 1486 checkUnnamed3186(o.jarFileUris); |
| 1487 checkLoggingConfiguration(o.loggingConfiguration); | 1487 checkLoggingConfiguration(o.loggingConfiguration); |
| 1488 checkUnnamed3172(o.properties); | 1488 checkUnnamed3187(o.properties); |
| 1489 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1489 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 1490 checkQueryList(o.queryList); | 1490 checkQueryList(o.queryList); |
| 1491 checkUnnamed3173(o.scriptVariables); | 1491 checkUnnamed3188(o.scriptVariables); |
| 1492 } | 1492 } |
| 1493 buildCounterSparkSqlJob--; | 1493 buildCounterSparkSqlJob--; |
| 1494 } | 1494 } |
| 1495 | 1495 |
| 1496 buildUnnamed3174() { | 1496 buildUnnamed3189() { |
| 1497 var o = new core.Map<core.String, core.Object>(); | 1497 var o = new core.Map<core.String, core.Object>(); |
| 1498 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1498 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1499 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1499 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1500 return o; | 1500 return o; |
| 1501 } | 1501 } |
| 1502 | 1502 |
| 1503 checkUnnamed3174(core.Map<core.String, core.Object> o) { | 1503 checkUnnamed3189(core.Map<core.String, core.Object> o) { |
| 1504 unittest.expect(o, unittest.hasLength(2)); | 1504 unittest.expect(o, unittest.hasLength(2)); |
| 1505 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')); | 1505 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')); |
| 1506 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')); | 1506 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')); |
| 1507 } | 1507 } |
| 1508 | 1508 |
| 1509 buildUnnamed3175() { | 1509 buildUnnamed3190() { |
| 1510 var o = new core.List<core.Map<core.String, core.Object>>(); | 1510 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 1511 o.add(buildUnnamed3174()); | 1511 o.add(buildUnnamed3189()); |
| 1512 o.add(buildUnnamed3174()); | 1512 o.add(buildUnnamed3189()); |
| 1513 return o; | 1513 return o; |
| 1514 } | 1514 } |
| 1515 | 1515 |
| 1516 checkUnnamed3175(core.List<core.Map<core.String, core.Object>> o) { | 1516 checkUnnamed3190(core.List<core.Map<core.String, core.Object>> o) { |
| 1517 unittest.expect(o, unittest.hasLength(2)); | 1517 unittest.expect(o, unittest.hasLength(2)); |
| 1518 checkUnnamed3174(o[0]); | 1518 checkUnnamed3189(o[0]); |
| 1519 checkUnnamed3174(o[1]); | 1519 checkUnnamed3189(o[1]); |
| 1520 } | 1520 } |
| 1521 | 1521 |
| 1522 core.int buildCounterStatus = 0; | 1522 core.int buildCounterStatus = 0; |
| 1523 buildStatus() { | 1523 buildStatus() { |
| 1524 var o = new api.Status(); | 1524 var o = new api.Status(); |
| 1525 buildCounterStatus++; | 1525 buildCounterStatus++; |
| 1526 if (buildCounterStatus < 3) { | 1526 if (buildCounterStatus < 3) { |
| 1527 o.code = 42; | 1527 o.code = 42; |
| 1528 o.details = buildUnnamed3175(); | 1528 o.details = buildUnnamed3190(); |
| 1529 o.message = "foo"; | 1529 o.message = "foo"; |
| 1530 } | 1530 } |
| 1531 buildCounterStatus--; | 1531 buildCounterStatus--; |
| 1532 return o; | 1532 return o; |
| 1533 } | 1533 } |
| 1534 | 1534 |
| 1535 checkStatus(api.Status o) { | 1535 checkStatus(api.Status o) { |
| 1536 buildCounterStatus++; | 1536 buildCounterStatus++; |
| 1537 if (buildCounterStatus < 3) { | 1537 if (buildCounterStatus < 3) { |
| 1538 unittest.expect(o.code, unittest.equals(42)); | 1538 unittest.expect(o.code, unittest.equals(42)); |
| 1539 checkUnnamed3175(o.details); | 1539 checkUnnamed3190(o.details); |
| 1540 unittest.expect(o.message, unittest.equals('foo')); | 1540 unittest.expect(o.message, unittest.equals('foo')); |
| 1541 } | 1541 } |
| 1542 buildCounterStatus--; | 1542 buildCounterStatus--; |
| 1543 } | 1543 } |
| 1544 | 1544 |
| 1545 core.int buildCounterSubmitJobRequest = 0; | 1545 core.int buildCounterSubmitJobRequest = 0; |
| 1546 buildSubmitJobRequest() { | 1546 buildSubmitJobRequest() { |
| 1547 var o = new api.SubmitJobRequest(); | 1547 var o = new api.SubmitJobRequest(); |
| 1548 buildCounterSubmitJobRequest++; | 1548 buildCounterSubmitJobRequest++; |
| 1549 if (buildCounterSubmitJobRequest < 3) { | 1549 if (buildCounterSubmitJobRequest < 3) { |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2758 res.submit(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { | 2758 res.submit(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { |
| 2759 checkJob(response); | 2759 checkJob(response); |
| 2760 }))); | 2760 }))); |
| 2761 }); | 2761 }); |
| 2762 | 2762 |
| 2763 }); | 2763 }); |
| 2764 | 2764 |
| 2765 | 2765 |
| 2766 } | 2766 } |
| 2767 | 2767 |
| OLD | NEW |