| 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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 return o; | 82 return o; |
| 83 } | 83 } |
| 84 | 84 |
| 85 checkCancelJobRequest(api.CancelJobRequest o) { | 85 checkCancelJobRequest(api.CancelJobRequest o) { |
| 86 buildCounterCancelJobRequest++; | 86 buildCounterCancelJobRequest++; |
| 87 if (buildCounterCancelJobRequest < 3) { | 87 if (buildCounterCancelJobRequest < 3) { |
| 88 } | 88 } |
| 89 buildCounterCancelJobRequest--; | 89 buildCounterCancelJobRequest--; |
| 90 } | 90 } |
| 91 | 91 |
| 92 buildUnnamed531() { | 92 buildUnnamed506() { |
| 93 var o = new core.Map<core.String, core.String>(); | 93 var o = new core.Map<core.String, core.String>(); |
| 94 o["x"] = "foo"; | 94 o["x"] = "foo"; |
| 95 o["y"] = "foo"; | 95 o["y"] = "foo"; |
| 96 return o; | 96 return o; |
| 97 } | 97 } |
| 98 | 98 |
| 99 checkUnnamed531(core.Map<core.String, core.String> o) { | 99 checkUnnamed506(core.Map<core.String, core.String> o) { |
| 100 unittest.expect(o, unittest.hasLength(2)); | 100 unittest.expect(o, unittest.hasLength(2)); |
| 101 unittest.expect(o["x"], unittest.equals('foo')); | 101 unittest.expect(o["x"], unittest.equals('foo')); |
| 102 unittest.expect(o["y"], unittest.equals('foo')); | 102 unittest.expect(o["y"], unittest.equals('foo')); |
| 103 } | 103 } |
| 104 | 104 |
| 105 buildUnnamed532() { | 105 buildUnnamed507() { |
| 106 var o = new core.List<api.ClusterStatus>(); | 106 var o = new core.List<api.ClusterStatus>(); |
| 107 o.add(buildClusterStatus()); | 107 o.add(buildClusterStatus()); |
| 108 o.add(buildClusterStatus()); | 108 o.add(buildClusterStatus()); |
| 109 return o; | 109 return o; |
| 110 } | 110 } |
| 111 | 111 |
| 112 checkUnnamed532(core.List<api.ClusterStatus> o) { | 112 checkUnnamed507(core.List<api.ClusterStatus> o) { |
| 113 unittest.expect(o, unittest.hasLength(2)); | 113 unittest.expect(o, unittest.hasLength(2)); |
| 114 checkClusterStatus(o[0]); | 114 checkClusterStatus(o[0]); |
| 115 checkClusterStatus(o[1]); | 115 checkClusterStatus(o[1]); |
| 116 } | 116 } |
| 117 | 117 |
| 118 core.int buildCounterCluster = 0; | 118 core.int buildCounterCluster = 0; |
| 119 buildCluster() { | 119 buildCluster() { |
| 120 var o = new api.Cluster(); | 120 var o = new api.Cluster(); |
| 121 buildCounterCluster++; | 121 buildCounterCluster++; |
| 122 if (buildCounterCluster < 3) { | 122 if (buildCounterCluster < 3) { |
| 123 o.clusterName = "foo"; | 123 o.clusterName = "foo"; |
| 124 o.clusterUuid = "foo"; | 124 o.clusterUuid = "foo"; |
| 125 o.config = buildClusterConfig(); | 125 o.config = buildClusterConfig(); |
| 126 o.labels = buildUnnamed531(); | 126 o.labels = buildUnnamed506(); |
| 127 o.metrics = buildClusterMetrics(); | 127 o.metrics = buildClusterMetrics(); |
| 128 o.projectId = "foo"; | 128 o.projectId = "foo"; |
| 129 o.status = buildClusterStatus(); | 129 o.status = buildClusterStatus(); |
| 130 o.statusHistory = buildUnnamed532(); | 130 o.statusHistory = buildUnnamed507(); |
| 131 } | 131 } |
| 132 buildCounterCluster--; | 132 buildCounterCluster--; |
| 133 return o; | 133 return o; |
| 134 } | 134 } |
| 135 | 135 |
| 136 checkCluster(api.Cluster o) { | 136 checkCluster(api.Cluster o) { |
| 137 buildCounterCluster++; | 137 buildCounterCluster++; |
| 138 if (buildCounterCluster < 3) { | 138 if (buildCounterCluster < 3) { |
| 139 unittest.expect(o.clusterName, unittest.equals('foo')); | 139 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 140 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 140 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 141 checkClusterConfig(o.config); | 141 checkClusterConfig(o.config); |
| 142 checkUnnamed531(o.labels); | 142 checkUnnamed506(o.labels); |
| 143 checkClusterMetrics(o.metrics); | 143 checkClusterMetrics(o.metrics); |
| 144 unittest.expect(o.projectId, unittest.equals('foo')); | 144 unittest.expect(o.projectId, unittest.equals('foo')); |
| 145 checkClusterStatus(o.status); | 145 checkClusterStatus(o.status); |
| 146 checkUnnamed532(o.statusHistory); | 146 checkUnnamed507(o.statusHistory); |
| 147 } | 147 } |
| 148 buildCounterCluster--; | 148 buildCounterCluster--; |
| 149 } | 149 } |
| 150 | 150 |
| 151 buildUnnamed533() { | 151 buildUnnamed508() { |
| 152 var o = new core.List<api.NodeInitializationAction>(); | 152 var o = new core.List<api.NodeInitializationAction>(); |
| 153 o.add(buildNodeInitializationAction()); | 153 o.add(buildNodeInitializationAction()); |
| 154 o.add(buildNodeInitializationAction()); | 154 o.add(buildNodeInitializationAction()); |
| 155 return o; | 155 return o; |
| 156 } | 156 } |
| 157 | 157 |
| 158 checkUnnamed533(core.List<api.NodeInitializationAction> o) { | 158 checkUnnamed508(core.List<api.NodeInitializationAction> o) { |
| 159 unittest.expect(o, unittest.hasLength(2)); | 159 unittest.expect(o, unittest.hasLength(2)); |
| 160 checkNodeInitializationAction(o[0]); | 160 checkNodeInitializationAction(o[0]); |
| 161 checkNodeInitializationAction(o[1]); | 161 checkNodeInitializationAction(o[1]); |
| 162 } | 162 } |
| 163 | 163 |
| 164 core.int buildCounterClusterConfig = 0; | 164 core.int buildCounterClusterConfig = 0; |
| 165 buildClusterConfig() { | 165 buildClusterConfig() { |
| 166 var o = new api.ClusterConfig(); | 166 var o = new api.ClusterConfig(); |
| 167 buildCounterClusterConfig++; | 167 buildCounterClusterConfig++; |
| 168 if (buildCounterClusterConfig < 3) { | 168 if (buildCounterClusterConfig < 3) { |
| 169 o.configBucket = "foo"; | 169 o.configBucket = "foo"; |
| 170 o.gceClusterConfig = buildGceClusterConfig(); | 170 o.gceClusterConfig = buildGceClusterConfig(); |
| 171 o.initializationActions = buildUnnamed533(); | 171 o.initializationActions = buildUnnamed508(); |
| 172 o.masterConfig = buildInstanceGroupConfig(); | 172 o.masterConfig = buildInstanceGroupConfig(); |
| 173 o.secondaryWorkerConfig = buildInstanceGroupConfig(); | 173 o.secondaryWorkerConfig = buildInstanceGroupConfig(); |
| 174 o.softwareConfig = buildSoftwareConfig(); | 174 o.softwareConfig = buildSoftwareConfig(); |
| 175 o.workerConfig = buildInstanceGroupConfig(); | 175 o.workerConfig = buildInstanceGroupConfig(); |
| 176 } | 176 } |
| 177 buildCounterClusterConfig--; | 177 buildCounterClusterConfig--; |
| 178 return o; | 178 return o; |
| 179 } | 179 } |
| 180 | 180 |
| 181 checkClusterConfig(api.ClusterConfig o) { | 181 checkClusterConfig(api.ClusterConfig o) { |
| 182 buildCounterClusterConfig++; | 182 buildCounterClusterConfig++; |
| 183 if (buildCounterClusterConfig < 3) { | 183 if (buildCounterClusterConfig < 3) { |
| 184 unittest.expect(o.configBucket, unittest.equals('foo')); | 184 unittest.expect(o.configBucket, unittest.equals('foo')); |
| 185 checkGceClusterConfig(o.gceClusterConfig); | 185 checkGceClusterConfig(o.gceClusterConfig); |
| 186 checkUnnamed533(o.initializationActions); | 186 checkUnnamed508(o.initializationActions); |
| 187 checkInstanceGroupConfig(o.masterConfig); | 187 checkInstanceGroupConfig(o.masterConfig); |
| 188 checkInstanceGroupConfig(o.secondaryWorkerConfig); | 188 checkInstanceGroupConfig(o.secondaryWorkerConfig); |
| 189 checkSoftwareConfig(o.softwareConfig); | 189 checkSoftwareConfig(o.softwareConfig); |
| 190 checkInstanceGroupConfig(o.workerConfig); | 190 checkInstanceGroupConfig(o.workerConfig); |
| 191 } | 191 } |
| 192 buildCounterClusterConfig--; | 192 buildCounterClusterConfig--; |
| 193 } | 193 } |
| 194 | 194 |
| 195 buildUnnamed534() { | 195 buildUnnamed509() { |
| 196 var o = new core.Map<core.String, core.String>(); | 196 var o = new core.Map<core.String, core.String>(); |
| 197 o["x"] = "foo"; | 197 o["x"] = "foo"; |
| 198 o["y"] = "foo"; | 198 o["y"] = "foo"; |
| 199 return o; | 199 return o; |
| 200 } | 200 } |
| 201 | 201 |
| 202 checkUnnamed534(core.Map<core.String, core.String> o) { | 202 checkUnnamed509(core.Map<core.String, core.String> o) { |
| 203 unittest.expect(o, unittest.hasLength(2)); | 203 unittest.expect(o, unittest.hasLength(2)); |
| 204 unittest.expect(o["x"], unittest.equals('foo')); | 204 unittest.expect(o["x"], unittest.equals('foo')); |
| 205 unittest.expect(o["y"], unittest.equals('foo')); | 205 unittest.expect(o["y"], unittest.equals('foo')); |
| 206 } | 206 } |
| 207 | 207 |
| 208 buildUnnamed535() { | 208 buildUnnamed510() { |
| 209 var o = new core.Map<core.String, core.String>(); | 209 var o = new core.Map<core.String, core.String>(); |
| 210 o["x"] = "foo"; | 210 o["x"] = "foo"; |
| 211 o["y"] = "foo"; | 211 o["y"] = "foo"; |
| 212 return o; | 212 return o; |
| 213 } | 213 } |
| 214 | 214 |
| 215 checkUnnamed535(core.Map<core.String, core.String> o) { | 215 checkUnnamed510(core.Map<core.String, core.String> o) { |
| 216 unittest.expect(o, unittest.hasLength(2)); | 216 unittest.expect(o, unittest.hasLength(2)); |
| 217 unittest.expect(o["x"], unittest.equals('foo')); | 217 unittest.expect(o["x"], unittest.equals('foo')); |
| 218 unittest.expect(o["y"], unittest.equals('foo')); | 218 unittest.expect(o["y"], unittest.equals('foo')); |
| 219 } | 219 } |
| 220 | 220 |
| 221 core.int buildCounterClusterMetrics = 0; | 221 core.int buildCounterClusterMetrics = 0; |
| 222 buildClusterMetrics() { | 222 buildClusterMetrics() { |
| 223 var o = new api.ClusterMetrics(); | 223 var o = new api.ClusterMetrics(); |
| 224 buildCounterClusterMetrics++; | 224 buildCounterClusterMetrics++; |
| 225 if (buildCounterClusterMetrics < 3) { | 225 if (buildCounterClusterMetrics < 3) { |
| 226 o.hdfsMetrics = buildUnnamed534(); | 226 o.hdfsMetrics = buildUnnamed509(); |
| 227 o.yarnMetrics = buildUnnamed535(); | 227 o.yarnMetrics = buildUnnamed510(); |
| 228 } | 228 } |
| 229 buildCounterClusterMetrics--; | 229 buildCounterClusterMetrics--; |
| 230 return o; | 230 return o; |
| 231 } | 231 } |
| 232 | 232 |
| 233 checkClusterMetrics(api.ClusterMetrics o) { | 233 checkClusterMetrics(api.ClusterMetrics o) { |
| 234 buildCounterClusterMetrics++; | 234 buildCounterClusterMetrics++; |
| 235 if (buildCounterClusterMetrics < 3) { | 235 if (buildCounterClusterMetrics < 3) { |
| 236 checkUnnamed534(o.hdfsMetrics); | 236 checkUnnamed509(o.hdfsMetrics); |
| 237 checkUnnamed535(o.yarnMetrics); | 237 checkUnnamed510(o.yarnMetrics); |
| 238 } | 238 } |
| 239 buildCounterClusterMetrics--; | 239 buildCounterClusterMetrics--; |
| 240 } | 240 } |
| 241 | 241 |
| 242 buildUnnamed536() { | 242 buildUnnamed511() { |
| 243 var o = new core.Map<core.String, core.String>(); | 243 var o = new core.Map<core.String, core.String>(); |
| 244 o["x"] = "foo"; | 244 o["x"] = "foo"; |
| 245 o["y"] = "foo"; | 245 o["y"] = "foo"; |
| 246 return o; | 246 return o; |
| 247 } | 247 } |
| 248 | 248 |
| 249 checkUnnamed536(core.Map<core.String, core.String> o) { | 249 checkUnnamed511(core.Map<core.String, core.String> o) { |
| 250 unittest.expect(o, unittest.hasLength(2)); | 250 unittest.expect(o, unittest.hasLength(2)); |
| 251 unittest.expect(o["x"], unittest.equals('foo')); | 251 unittest.expect(o["x"], unittest.equals('foo')); |
| 252 unittest.expect(o["y"], unittest.equals('foo')); | 252 unittest.expect(o["y"], unittest.equals('foo')); |
| 253 } | 253 } |
| 254 | 254 |
| 255 buildUnnamed537() { | 255 buildUnnamed512() { |
| 256 var o = new core.List<api.ClusterOperationStatus>(); | 256 var o = new core.List<api.ClusterOperationStatus>(); |
| 257 o.add(buildClusterOperationStatus()); | 257 o.add(buildClusterOperationStatus()); |
| 258 o.add(buildClusterOperationStatus()); | 258 o.add(buildClusterOperationStatus()); |
| 259 return o; | 259 return o; |
| 260 } | 260 } |
| 261 | 261 |
| 262 checkUnnamed537(core.List<api.ClusterOperationStatus> o) { | 262 checkUnnamed512(core.List<api.ClusterOperationStatus> o) { |
| 263 unittest.expect(o, unittest.hasLength(2)); | 263 unittest.expect(o, unittest.hasLength(2)); |
| 264 checkClusterOperationStatus(o[0]); | 264 checkClusterOperationStatus(o[0]); |
| 265 checkClusterOperationStatus(o[1]); | 265 checkClusterOperationStatus(o[1]); |
| 266 } | 266 } |
| 267 | 267 |
| 268 buildUnnamed538() { | 268 buildUnnamed513() { |
| 269 var o = new core.List<core.String>(); | 269 var o = new core.List<core.String>(); |
| 270 o.add("foo"); | 270 o.add("foo"); |
| 271 o.add("foo"); | 271 o.add("foo"); |
| 272 return o; | 272 return o; |
| 273 } | 273 } |
| 274 | 274 |
| 275 checkUnnamed538(core.List<core.String> o) { | 275 checkUnnamed513(core.List<core.String> o) { |
| 276 unittest.expect(o, unittest.hasLength(2)); | 276 unittest.expect(o, unittest.hasLength(2)); |
| 277 unittest.expect(o[0], unittest.equals('foo')); | 277 unittest.expect(o[0], unittest.equals('foo')); |
| 278 unittest.expect(o[1], unittest.equals('foo')); | 278 unittest.expect(o[1], unittest.equals('foo')); |
| 279 } | 279 } |
| 280 | 280 |
| 281 core.int buildCounterClusterOperationMetadata = 0; | 281 core.int buildCounterClusterOperationMetadata = 0; |
| 282 buildClusterOperationMetadata() { | 282 buildClusterOperationMetadata() { |
| 283 var o = new api.ClusterOperationMetadata(); | 283 var o = new api.ClusterOperationMetadata(); |
| 284 buildCounterClusterOperationMetadata++; | 284 buildCounterClusterOperationMetadata++; |
| 285 if (buildCounterClusterOperationMetadata < 3) { | 285 if (buildCounterClusterOperationMetadata < 3) { |
| 286 o.clusterName = "foo"; | 286 o.clusterName = "foo"; |
| 287 o.clusterUuid = "foo"; | 287 o.clusterUuid = "foo"; |
| 288 o.description = "foo"; | 288 o.description = "foo"; |
| 289 o.labels = buildUnnamed536(); | 289 o.labels = buildUnnamed511(); |
| 290 o.operationType = "foo"; | 290 o.operationType = "foo"; |
| 291 o.status = buildClusterOperationStatus(); | 291 o.status = buildClusterOperationStatus(); |
| 292 o.statusHistory = buildUnnamed537(); | 292 o.statusHistory = buildUnnamed512(); |
| 293 o.warnings = buildUnnamed538(); | 293 o.warnings = buildUnnamed513(); |
| 294 } | 294 } |
| 295 buildCounterClusterOperationMetadata--; | 295 buildCounterClusterOperationMetadata--; |
| 296 return o; | 296 return o; |
| 297 } | 297 } |
| 298 | 298 |
| 299 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { | 299 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { |
| 300 buildCounterClusterOperationMetadata++; | 300 buildCounterClusterOperationMetadata++; |
| 301 if (buildCounterClusterOperationMetadata < 3) { | 301 if (buildCounterClusterOperationMetadata < 3) { |
| 302 unittest.expect(o.clusterName, unittest.equals('foo')); | 302 unittest.expect(o.clusterName, unittest.equals('foo')); |
| 303 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 303 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
| 304 unittest.expect(o.description, unittest.equals('foo')); | 304 unittest.expect(o.description, unittest.equals('foo')); |
| 305 checkUnnamed536(o.labels); | 305 checkUnnamed511(o.labels); |
| 306 unittest.expect(o.operationType, unittest.equals('foo')); | 306 unittest.expect(o.operationType, unittest.equals('foo')); |
| 307 checkClusterOperationStatus(o.status); | 307 checkClusterOperationStatus(o.status); |
| 308 checkUnnamed537(o.statusHistory); | 308 checkUnnamed512(o.statusHistory); |
| 309 checkUnnamed538(o.warnings); | 309 checkUnnamed513(o.warnings); |
| 310 } | 310 } |
| 311 buildCounterClusterOperationMetadata--; | 311 buildCounterClusterOperationMetadata--; |
| 312 } | 312 } |
| 313 | 313 |
| 314 core.int buildCounterClusterOperationStatus = 0; | 314 core.int buildCounterClusterOperationStatus = 0; |
| 315 buildClusterOperationStatus() { | 315 buildClusterOperationStatus() { |
| 316 var o = new api.ClusterOperationStatus(); | 316 var o = new api.ClusterOperationStatus(); |
| 317 buildCounterClusterOperationStatus++; | 317 buildCounterClusterOperationStatus++; |
| 318 if (buildCounterClusterOperationStatus < 3) { | 318 if (buildCounterClusterOperationStatus < 3) { |
| 319 o.details = "foo"; | 319 o.details = "foo"; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 return o; | 428 return o; |
| 429 } | 429 } |
| 430 | 430 |
| 431 checkEmpty(api.Empty o) { | 431 checkEmpty(api.Empty o) { |
| 432 buildCounterEmpty++; | 432 buildCounterEmpty++; |
| 433 if (buildCounterEmpty < 3) { | 433 if (buildCounterEmpty < 3) { |
| 434 } | 434 } |
| 435 buildCounterEmpty--; | 435 buildCounterEmpty--; |
| 436 } | 436 } |
| 437 | 437 |
| 438 buildUnnamed539() { | 438 buildUnnamed514() { |
| 439 var o = new core.Map<core.String, core.String>(); | 439 var o = new core.Map<core.String, core.String>(); |
| 440 o["x"] = "foo"; | 440 o["x"] = "foo"; |
| 441 o["y"] = "foo"; | 441 o["y"] = "foo"; |
| 442 return o; | 442 return o; |
| 443 } | 443 } |
| 444 | 444 |
| 445 checkUnnamed539(core.Map<core.String, core.String> o) { | 445 checkUnnamed514(core.Map<core.String, core.String> o) { |
| 446 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
| 447 unittest.expect(o["x"], unittest.equals('foo')); | 447 unittest.expect(o["x"], unittest.equals('foo')); |
| 448 unittest.expect(o["y"], unittest.equals('foo')); | 448 unittest.expect(o["y"], unittest.equals('foo')); |
| 449 } | 449 } |
| 450 | 450 |
| 451 buildUnnamed540() { | 451 buildUnnamed515() { |
| 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 checkUnnamed540(core.List<core.String> o) { | 458 checkUnnamed515(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 buildUnnamed541() { | 464 buildUnnamed516() { |
| 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 checkUnnamed541(core.List<core.String> o) { | 471 checkUnnamed516(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 core.int buildCounterGceClusterConfig = 0; | 477 core.int buildCounterGceClusterConfig = 0; |
| 478 buildGceClusterConfig() { | 478 buildGceClusterConfig() { |
| 479 var o = new api.GceClusterConfig(); | 479 var o = new api.GceClusterConfig(); |
| 480 buildCounterGceClusterConfig++; | 480 buildCounterGceClusterConfig++; |
| 481 if (buildCounterGceClusterConfig < 3) { | 481 if (buildCounterGceClusterConfig < 3) { |
| 482 o.internalIpOnly = true; | 482 o.internalIpOnly = true; |
| 483 o.metadata = buildUnnamed539(); | 483 o.metadata = buildUnnamed514(); |
| 484 o.networkUri = "foo"; | 484 o.networkUri = "foo"; |
| 485 o.serviceAccount = "foo"; | 485 o.serviceAccount = "foo"; |
| 486 o.serviceAccountScopes = buildUnnamed540(); | 486 o.serviceAccountScopes = buildUnnamed515(); |
| 487 o.subnetworkUri = "foo"; | 487 o.subnetworkUri = "foo"; |
| 488 o.tags = buildUnnamed541(); | 488 o.tags = buildUnnamed516(); |
| 489 o.zoneUri = "foo"; | 489 o.zoneUri = "foo"; |
| 490 } | 490 } |
| 491 buildCounterGceClusterConfig--; | 491 buildCounterGceClusterConfig--; |
| 492 return o; | 492 return o; |
| 493 } | 493 } |
| 494 | 494 |
| 495 checkGceClusterConfig(api.GceClusterConfig o) { | 495 checkGceClusterConfig(api.GceClusterConfig o) { |
| 496 buildCounterGceClusterConfig++; | 496 buildCounterGceClusterConfig++; |
| 497 if (buildCounterGceClusterConfig < 3) { | 497 if (buildCounterGceClusterConfig < 3) { |
| 498 unittest.expect(o.internalIpOnly, unittest.isTrue); | 498 unittest.expect(o.internalIpOnly, unittest.isTrue); |
| 499 checkUnnamed539(o.metadata); | 499 checkUnnamed514(o.metadata); |
| 500 unittest.expect(o.networkUri, unittest.equals('foo')); | 500 unittest.expect(o.networkUri, unittest.equals('foo')); |
| 501 unittest.expect(o.serviceAccount, unittest.equals('foo')); | 501 unittest.expect(o.serviceAccount, unittest.equals('foo')); |
| 502 checkUnnamed540(o.serviceAccountScopes); | 502 checkUnnamed515(o.serviceAccountScopes); |
| 503 unittest.expect(o.subnetworkUri, unittest.equals('foo')); | 503 unittest.expect(o.subnetworkUri, unittest.equals('foo')); |
| 504 checkUnnamed541(o.tags); | 504 checkUnnamed516(o.tags); |
| 505 unittest.expect(o.zoneUri, unittest.equals('foo')); | 505 unittest.expect(o.zoneUri, unittest.equals('foo')); |
| 506 } | 506 } |
| 507 buildCounterGceClusterConfig--; | 507 buildCounterGceClusterConfig--; |
| 508 } | 508 } |
| 509 | 509 |
| 510 buildUnnamed542() { | 510 buildUnnamed517() { |
| 511 var o = new core.List<core.String>(); | 511 var o = new core.List<core.String>(); |
| 512 o.add("foo"); | 512 o.add("foo"); |
| 513 o.add("foo"); | 513 o.add("foo"); |
| 514 return o; | 514 return o; |
| 515 } | 515 } |
| 516 | 516 |
| 517 checkUnnamed542(core.List<core.String> o) { | 517 checkUnnamed517(core.List<core.String> o) { |
| 518 unittest.expect(o, unittest.hasLength(2)); | 518 unittest.expect(o, unittest.hasLength(2)); |
| 519 unittest.expect(o[0], unittest.equals('foo')); | 519 unittest.expect(o[0], unittest.equals('foo')); |
| 520 unittest.expect(o[1], unittest.equals('foo')); | 520 unittest.expect(o[1], unittest.equals('foo')); |
| 521 } | 521 } |
| 522 | 522 |
| 523 buildUnnamed543() { | 523 buildUnnamed518() { |
| 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 checkUnnamed543(core.List<core.String> o) { | 530 checkUnnamed518(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 buildUnnamed544() { | 536 buildUnnamed519() { |
| 537 var o = new core.List<core.String>(); | 537 var o = new core.List<core.String>(); |
| 538 o.add("foo"); | 538 o.add("foo"); |
| 539 o.add("foo"); | 539 o.add("foo"); |
| 540 return o; | 540 return o; |
| 541 } | 541 } |
| 542 | 542 |
| 543 checkUnnamed544(core.List<core.String> o) { | 543 checkUnnamed519(core.List<core.String> o) { |
| 544 unittest.expect(o, unittest.hasLength(2)); | 544 unittest.expect(o, unittest.hasLength(2)); |
| 545 unittest.expect(o[0], unittest.equals('foo')); | 545 unittest.expect(o[0], unittest.equals('foo')); |
| 546 unittest.expect(o[1], unittest.equals('foo')); | 546 unittest.expect(o[1], unittest.equals('foo')); |
| 547 } | 547 } |
| 548 | 548 |
| 549 buildUnnamed545() { | 549 buildUnnamed520() { |
| 550 var o = new core.List<core.String>(); | 550 var o = new core.List<core.String>(); |
| 551 o.add("foo"); | 551 o.add("foo"); |
| 552 o.add("foo"); | 552 o.add("foo"); |
| 553 return o; | 553 return o; |
| 554 } | 554 } |
| 555 | 555 |
| 556 checkUnnamed545(core.List<core.String> o) { | 556 checkUnnamed520(core.List<core.String> o) { |
| 557 unittest.expect(o, unittest.hasLength(2)); | 557 unittest.expect(o, unittest.hasLength(2)); |
| 558 unittest.expect(o[0], unittest.equals('foo')); | 558 unittest.expect(o[0], unittest.equals('foo')); |
| 559 unittest.expect(o[1], unittest.equals('foo')); | 559 unittest.expect(o[1], unittest.equals('foo')); |
| 560 } | 560 } |
| 561 | 561 |
| 562 buildUnnamed546() { | 562 buildUnnamed521() { |
| 563 var o = new core.Map<core.String, core.String>(); | 563 var o = new core.Map<core.String, core.String>(); |
| 564 o["x"] = "foo"; | 564 o["x"] = "foo"; |
| 565 o["y"] = "foo"; | 565 o["y"] = "foo"; |
| 566 return o; | 566 return o; |
| 567 } | 567 } |
| 568 | 568 |
| 569 checkUnnamed546(core.Map<core.String, core.String> o) { | 569 checkUnnamed521(core.Map<core.String, core.String> o) { |
| 570 unittest.expect(o, unittest.hasLength(2)); | 570 unittest.expect(o, unittest.hasLength(2)); |
| 571 unittest.expect(o["x"], unittest.equals('foo')); | 571 unittest.expect(o["x"], unittest.equals('foo')); |
| 572 unittest.expect(o["y"], unittest.equals('foo')); | 572 unittest.expect(o["y"], unittest.equals('foo')); |
| 573 } | 573 } |
| 574 | 574 |
| 575 core.int buildCounterHadoopJob = 0; | 575 core.int buildCounterHadoopJob = 0; |
| 576 buildHadoopJob() { | 576 buildHadoopJob() { |
| 577 var o = new api.HadoopJob(); | 577 var o = new api.HadoopJob(); |
| 578 buildCounterHadoopJob++; | 578 buildCounterHadoopJob++; |
| 579 if (buildCounterHadoopJob < 3) { | 579 if (buildCounterHadoopJob < 3) { |
| 580 o.archiveUris = buildUnnamed542(); | 580 o.archiveUris = buildUnnamed517(); |
| 581 o.args = buildUnnamed543(); | 581 o.args = buildUnnamed518(); |
| 582 o.fileUris = buildUnnamed544(); | 582 o.fileUris = buildUnnamed519(); |
| 583 o.jarFileUris = buildUnnamed545(); | 583 o.jarFileUris = buildUnnamed520(); |
| 584 o.loggingConfig = buildLoggingConfig(); | 584 o.loggingConfig = buildLoggingConfig(); |
| 585 o.mainClass = "foo"; | 585 o.mainClass = "foo"; |
| 586 o.mainJarFileUri = "foo"; | 586 o.mainJarFileUri = "foo"; |
| 587 o.properties = buildUnnamed546(); | 587 o.properties = buildUnnamed521(); |
| 588 } | 588 } |
| 589 buildCounterHadoopJob--; | 589 buildCounterHadoopJob--; |
| 590 return o; | 590 return o; |
| 591 } | 591 } |
| 592 | 592 |
| 593 checkHadoopJob(api.HadoopJob o) { | 593 checkHadoopJob(api.HadoopJob o) { |
| 594 buildCounterHadoopJob++; | 594 buildCounterHadoopJob++; |
| 595 if (buildCounterHadoopJob < 3) { | 595 if (buildCounterHadoopJob < 3) { |
| 596 checkUnnamed542(o.archiveUris); | 596 checkUnnamed517(o.archiveUris); |
| 597 checkUnnamed543(o.args); | 597 checkUnnamed518(o.args); |
| 598 checkUnnamed544(o.fileUris); | 598 checkUnnamed519(o.fileUris); |
| 599 checkUnnamed545(o.jarFileUris); | 599 checkUnnamed520(o.jarFileUris); |
| 600 checkLoggingConfig(o.loggingConfig); | 600 checkLoggingConfig(o.loggingConfig); |
| 601 unittest.expect(o.mainClass, unittest.equals('foo')); | 601 unittest.expect(o.mainClass, unittest.equals('foo')); |
| 602 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 602 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
| 603 checkUnnamed546(o.properties); | 603 checkUnnamed521(o.properties); |
| 604 } | 604 } |
| 605 buildCounterHadoopJob--; | 605 buildCounterHadoopJob--; |
| 606 } | 606 } |
| 607 | 607 |
| 608 buildUnnamed547() { | 608 buildUnnamed522() { |
| 609 var o = new core.List<core.String>(); | 609 var o = new core.List<core.String>(); |
| 610 o.add("foo"); | 610 o.add("foo"); |
| 611 o.add("foo"); | 611 o.add("foo"); |
| 612 return o; | 612 return o; |
| 613 } | 613 } |
| 614 | 614 |
| 615 checkUnnamed547(core.List<core.String> o) { | 615 checkUnnamed522(core.List<core.String> o) { |
| 616 unittest.expect(o, unittest.hasLength(2)); | 616 unittest.expect(o, unittest.hasLength(2)); |
| 617 unittest.expect(o[0], unittest.equals('foo')); | 617 unittest.expect(o[0], unittest.equals('foo')); |
| 618 unittest.expect(o[1], unittest.equals('foo')); | 618 unittest.expect(o[1], unittest.equals('foo')); |
| 619 } | 619 } |
| 620 | 620 |
| 621 buildUnnamed548() { | 621 buildUnnamed523() { |
| 622 var o = new core.Map<core.String, core.String>(); | 622 var o = new core.Map<core.String, core.String>(); |
| 623 o["x"] = "foo"; | 623 o["x"] = "foo"; |
| 624 o["y"] = "foo"; | 624 o["y"] = "foo"; |
| 625 return o; | 625 return o; |
| 626 } | 626 } |
| 627 | 627 |
| 628 checkUnnamed548(core.Map<core.String, core.String> o) { | 628 checkUnnamed523(core.Map<core.String, core.String> o) { |
| 629 unittest.expect(o, unittest.hasLength(2)); | 629 unittest.expect(o, unittest.hasLength(2)); |
| 630 unittest.expect(o["x"], unittest.equals('foo')); | 630 unittest.expect(o["x"], unittest.equals('foo')); |
| 631 unittest.expect(o["y"], unittest.equals('foo')); | 631 unittest.expect(o["y"], unittest.equals('foo')); |
| 632 } | 632 } |
| 633 | 633 |
| 634 buildUnnamed549() { | 634 buildUnnamed524() { |
| 635 var o = new core.Map<core.String, core.String>(); | 635 var o = new core.Map<core.String, core.String>(); |
| 636 o["x"] = "foo"; | 636 o["x"] = "foo"; |
| 637 o["y"] = "foo"; | 637 o["y"] = "foo"; |
| 638 return o; | 638 return o; |
| 639 } | 639 } |
| 640 | 640 |
| 641 checkUnnamed549(core.Map<core.String, core.String> o) { | 641 checkUnnamed524(core.Map<core.String, core.String> o) { |
| 642 unittest.expect(o, unittest.hasLength(2)); | 642 unittest.expect(o, unittest.hasLength(2)); |
| 643 unittest.expect(o["x"], unittest.equals('foo')); | 643 unittest.expect(o["x"], unittest.equals('foo')); |
| 644 unittest.expect(o["y"], unittest.equals('foo')); | 644 unittest.expect(o["y"], unittest.equals('foo')); |
| 645 } | 645 } |
| 646 | 646 |
| 647 core.int buildCounterHiveJob = 0; | 647 core.int buildCounterHiveJob = 0; |
| 648 buildHiveJob() { | 648 buildHiveJob() { |
| 649 var o = new api.HiveJob(); | 649 var o = new api.HiveJob(); |
| 650 buildCounterHiveJob++; | 650 buildCounterHiveJob++; |
| 651 if (buildCounterHiveJob < 3) { | 651 if (buildCounterHiveJob < 3) { |
| 652 o.continueOnFailure = true; | 652 o.continueOnFailure = true; |
| 653 o.jarFileUris = buildUnnamed547(); | 653 o.jarFileUris = buildUnnamed522(); |
| 654 o.properties = buildUnnamed548(); | 654 o.properties = buildUnnamed523(); |
| 655 o.queryFileUri = "foo"; | 655 o.queryFileUri = "foo"; |
| 656 o.queryList = buildQueryList(); | 656 o.queryList = buildQueryList(); |
| 657 o.scriptVariables = buildUnnamed549(); | 657 o.scriptVariables = buildUnnamed524(); |
| 658 } | 658 } |
| 659 buildCounterHiveJob--; | 659 buildCounterHiveJob--; |
| 660 return o; | 660 return o; |
| 661 } | 661 } |
| 662 | 662 |
| 663 checkHiveJob(api.HiveJob o) { | 663 checkHiveJob(api.HiveJob o) { |
| 664 buildCounterHiveJob++; | 664 buildCounterHiveJob++; |
| 665 if (buildCounterHiveJob < 3) { | 665 if (buildCounterHiveJob < 3) { |
| 666 unittest.expect(o.continueOnFailure, unittest.isTrue); | 666 unittest.expect(o.continueOnFailure, unittest.isTrue); |
| 667 checkUnnamed547(o.jarFileUris); | 667 checkUnnamed522(o.jarFileUris); |
| 668 checkUnnamed548(o.properties); | 668 checkUnnamed523(o.properties); |
| 669 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 669 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 670 checkQueryList(o.queryList); | 670 checkQueryList(o.queryList); |
| 671 checkUnnamed549(o.scriptVariables); | 671 checkUnnamed524(o.scriptVariables); |
| 672 } | 672 } |
| 673 buildCounterHiveJob--; | 673 buildCounterHiveJob--; |
| 674 } | 674 } |
| 675 | 675 |
| 676 buildUnnamed550() { | 676 buildUnnamed525() { |
| 677 var o = new core.List<api.AcceleratorConfig>(); | 677 var o = new core.List<api.AcceleratorConfig>(); |
| 678 o.add(buildAcceleratorConfig()); | 678 o.add(buildAcceleratorConfig()); |
| 679 o.add(buildAcceleratorConfig()); | 679 o.add(buildAcceleratorConfig()); |
| 680 return o; | 680 return o; |
| 681 } | 681 } |
| 682 | 682 |
| 683 checkUnnamed550(core.List<api.AcceleratorConfig> o) { | 683 checkUnnamed525(core.List<api.AcceleratorConfig> o) { |
| 684 unittest.expect(o, unittest.hasLength(2)); | 684 unittest.expect(o, unittest.hasLength(2)); |
| 685 checkAcceleratorConfig(o[0]); | 685 checkAcceleratorConfig(o[0]); |
| 686 checkAcceleratorConfig(o[1]); | 686 checkAcceleratorConfig(o[1]); |
| 687 } | 687 } |
| 688 | 688 |
| 689 buildUnnamed551() { | 689 buildUnnamed526() { |
| 690 var o = new core.List<core.String>(); | 690 var o = new core.List<core.String>(); |
| 691 o.add("foo"); | 691 o.add("foo"); |
| 692 o.add("foo"); | 692 o.add("foo"); |
| 693 return o; | 693 return o; |
| 694 } | 694 } |
| 695 | 695 |
| 696 checkUnnamed551(core.List<core.String> o) { | 696 checkUnnamed526(core.List<core.String> o) { |
| 697 unittest.expect(o, unittest.hasLength(2)); | 697 unittest.expect(o, unittest.hasLength(2)); |
| 698 unittest.expect(o[0], unittest.equals('foo')); | 698 unittest.expect(o[0], unittest.equals('foo')); |
| 699 unittest.expect(o[1], unittest.equals('foo')); | 699 unittest.expect(o[1], unittest.equals('foo')); |
| 700 } | 700 } |
| 701 | 701 |
| 702 core.int buildCounterInstanceGroupConfig = 0; | 702 core.int buildCounterInstanceGroupConfig = 0; |
| 703 buildInstanceGroupConfig() { | 703 buildInstanceGroupConfig() { |
| 704 var o = new api.InstanceGroupConfig(); | 704 var o = new api.InstanceGroupConfig(); |
| 705 buildCounterInstanceGroupConfig++; | 705 buildCounterInstanceGroupConfig++; |
| 706 if (buildCounterInstanceGroupConfig < 3) { | 706 if (buildCounterInstanceGroupConfig < 3) { |
| 707 o.accelerators = buildUnnamed550(); | 707 o.accelerators = buildUnnamed525(); |
| 708 o.diskConfig = buildDiskConfig(); | 708 o.diskConfig = buildDiskConfig(); |
| 709 o.imageUri = "foo"; | 709 o.imageUri = "foo"; |
| 710 o.instanceNames = buildUnnamed551(); | 710 o.instanceNames = buildUnnamed526(); |
| 711 o.isPreemptible = true; | 711 o.isPreemptible = true; |
| 712 o.machineTypeUri = "foo"; | 712 o.machineTypeUri = "foo"; |
| 713 o.managedGroupConfig = buildManagedGroupConfig(); | 713 o.managedGroupConfig = buildManagedGroupConfig(); |
| 714 o.numInstances = 42; | 714 o.numInstances = 42; |
| 715 } | 715 } |
| 716 buildCounterInstanceGroupConfig--; | 716 buildCounterInstanceGroupConfig--; |
| 717 return o; | 717 return o; |
| 718 } | 718 } |
| 719 | 719 |
| 720 checkInstanceGroupConfig(api.InstanceGroupConfig o) { | 720 checkInstanceGroupConfig(api.InstanceGroupConfig o) { |
| 721 buildCounterInstanceGroupConfig++; | 721 buildCounterInstanceGroupConfig++; |
| 722 if (buildCounterInstanceGroupConfig < 3) { | 722 if (buildCounterInstanceGroupConfig < 3) { |
| 723 checkUnnamed550(o.accelerators); | 723 checkUnnamed525(o.accelerators); |
| 724 checkDiskConfig(o.diskConfig); | 724 checkDiskConfig(o.diskConfig); |
| 725 unittest.expect(o.imageUri, unittest.equals('foo')); | 725 unittest.expect(o.imageUri, unittest.equals('foo')); |
| 726 checkUnnamed551(o.instanceNames); | 726 checkUnnamed526(o.instanceNames); |
| 727 unittest.expect(o.isPreemptible, unittest.isTrue); | 727 unittest.expect(o.isPreemptible, unittest.isTrue); |
| 728 unittest.expect(o.machineTypeUri, unittest.equals('foo')); | 728 unittest.expect(o.machineTypeUri, unittest.equals('foo')); |
| 729 checkManagedGroupConfig(o.managedGroupConfig); | 729 checkManagedGroupConfig(o.managedGroupConfig); |
| 730 unittest.expect(o.numInstances, unittest.equals(42)); | 730 unittest.expect(o.numInstances, unittest.equals(42)); |
| 731 } | 731 } |
| 732 buildCounterInstanceGroupConfig--; | 732 buildCounterInstanceGroupConfig--; |
| 733 } | 733 } |
| 734 | 734 |
| 735 buildUnnamed552() { | 735 buildUnnamed527() { |
| 736 var o = new core.Map<core.String, core.String>(); | 736 var o = new core.Map<core.String, core.String>(); |
| 737 o["x"] = "foo"; | 737 o["x"] = "foo"; |
| 738 o["y"] = "foo"; | 738 o["y"] = "foo"; |
| 739 return o; | 739 return o; |
| 740 } | 740 } |
| 741 | 741 |
| 742 checkUnnamed552(core.Map<core.String, core.String> o) { | 742 checkUnnamed527(core.Map<core.String, core.String> o) { |
| 743 unittest.expect(o, unittest.hasLength(2)); | 743 unittest.expect(o, unittest.hasLength(2)); |
| 744 unittest.expect(o["x"], unittest.equals('foo')); | 744 unittest.expect(o["x"], unittest.equals('foo')); |
| 745 unittest.expect(o["y"], unittest.equals('foo')); | 745 unittest.expect(o["y"], unittest.equals('foo')); |
| 746 } | 746 } |
| 747 | 747 |
| 748 buildUnnamed553() { | 748 buildUnnamed528() { |
| 749 var o = new core.List<api.JobStatus>(); | 749 var o = new core.List<api.JobStatus>(); |
| 750 o.add(buildJobStatus()); | 750 o.add(buildJobStatus()); |
| 751 o.add(buildJobStatus()); | 751 o.add(buildJobStatus()); |
| 752 return o; | 752 return o; |
| 753 } | 753 } |
| 754 | 754 |
| 755 checkUnnamed553(core.List<api.JobStatus> o) { | 755 checkUnnamed528(core.List<api.JobStatus> o) { |
| 756 unittest.expect(o, unittest.hasLength(2)); | 756 unittest.expect(o, unittest.hasLength(2)); |
| 757 checkJobStatus(o[0]); | 757 checkJobStatus(o[0]); |
| 758 checkJobStatus(o[1]); | 758 checkJobStatus(o[1]); |
| 759 } | 759 } |
| 760 | 760 |
| 761 buildUnnamed554() { | 761 buildUnnamed529() { |
| 762 var o = new core.List<api.YarnApplication>(); | 762 var o = new core.List<api.YarnApplication>(); |
| 763 o.add(buildYarnApplication()); | 763 o.add(buildYarnApplication()); |
| 764 o.add(buildYarnApplication()); | 764 o.add(buildYarnApplication()); |
| 765 return o; | 765 return o; |
| 766 } | 766 } |
| 767 | 767 |
| 768 checkUnnamed554(core.List<api.YarnApplication> o) { | 768 checkUnnamed529(core.List<api.YarnApplication> o) { |
| 769 unittest.expect(o, unittest.hasLength(2)); | 769 unittest.expect(o, unittest.hasLength(2)); |
| 770 checkYarnApplication(o[0]); | 770 checkYarnApplication(o[0]); |
| 771 checkYarnApplication(o[1]); | 771 checkYarnApplication(o[1]); |
| 772 } | 772 } |
| 773 | 773 |
| 774 core.int buildCounterJob = 0; | 774 core.int buildCounterJob = 0; |
| 775 buildJob() { | 775 buildJob() { |
| 776 var o = new api.Job(); | 776 var o = new api.Job(); |
| 777 buildCounterJob++; | 777 buildCounterJob++; |
| 778 if (buildCounterJob < 3) { | 778 if (buildCounterJob < 3) { |
| 779 o.driverControlFilesUri = "foo"; | 779 o.driverControlFilesUri = "foo"; |
| 780 o.driverOutputResourceUri = "foo"; | 780 o.driverOutputResourceUri = "foo"; |
| 781 o.hadoopJob = buildHadoopJob(); | 781 o.hadoopJob = buildHadoopJob(); |
| 782 o.hiveJob = buildHiveJob(); | 782 o.hiveJob = buildHiveJob(); |
| 783 o.labels = buildUnnamed552(); | 783 o.labels = buildUnnamed527(); |
| 784 o.pigJob = buildPigJob(); | 784 o.pigJob = buildPigJob(); |
| 785 o.placement = buildJobPlacement(); | 785 o.placement = buildJobPlacement(); |
| 786 o.pysparkJob = buildPySparkJob(); | 786 o.pysparkJob = buildPySparkJob(); |
| 787 o.reference = buildJobReference(); | 787 o.reference = buildJobReference(); |
| 788 o.scheduling = buildJobScheduling(); | 788 o.scheduling = buildJobScheduling(); |
| 789 o.sparkJob = buildSparkJob(); | 789 o.sparkJob = buildSparkJob(); |
| 790 o.sparkSqlJob = buildSparkSqlJob(); | 790 o.sparkSqlJob = buildSparkSqlJob(); |
| 791 o.status = buildJobStatus(); | 791 o.status = buildJobStatus(); |
| 792 o.statusHistory = buildUnnamed553(); | 792 o.statusHistory = buildUnnamed528(); |
| 793 o.yarnApplications = buildUnnamed554(); | 793 o.yarnApplications = buildUnnamed529(); |
| 794 } | 794 } |
| 795 buildCounterJob--; | 795 buildCounterJob--; |
| 796 return o; | 796 return o; |
| 797 } | 797 } |
| 798 | 798 |
| 799 checkJob(api.Job o) { | 799 checkJob(api.Job o) { |
| 800 buildCounterJob++; | 800 buildCounterJob++; |
| 801 if (buildCounterJob < 3) { | 801 if (buildCounterJob < 3) { |
| 802 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); | 802 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); |
| 803 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); | 803 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); |
| 804 checkHadoopJob(o.hadoopJob); | 804 checkHadoopJob(o.hadoopJob); |
| 805 checkHiveJob(o.hiveJob); | 805 checkHiveJob(o.hiveJob); |
| 806 checkUnnamed552(o.labels); | 806 checkUnnamed527(o.labels); |
| 807 checkPigJob(o.pigJob); | 807 checkPigJob(o.pigJob); |
| 808 checkJobPlacement(o.placement); | 808 checkJobPlacement(o.placement); |
| 809 checkPySparkJob(o.pysparkJob); | 809 checkPySparkJob(o.pysparkJob); |
| 810 checkJobReference(o.reference); | 810 checkJobReference(o.reference); |
| 811 checkJobScheduling(o.scheduling); | 811 checkJobScheduling(o.scheduling); |
| 812 checkSparkJob(o.sparkJob); | 812 checkSparkJob(o.sparkJob); |
| 813 checkSparkSqlJob(o.sparkSqlJob); | 813 checkSparkSqlJob(o.sparkSqlJob); |
| 814 checkJobStatus(o.status); | 814 checkJobStatus(o.status); |
| 815 checkUnnamed553(o.statusHistory); | 815 checkUnnamed528(o.statusHistory); |
| 816 checkUnnamed554(o.yarnApplications); | 816 checkUnnamed529(o.yarnApplications); |
| 817 } | 817 } |
| 818 buildCounterJob--; | 818 buildCounterJob--; |
| 819 } | 819 } |
| 820 | 820 |
| 821 core.int buildCounterJobPlacement = 0; | 821 core.int buildCounterJobPlacement = 0; |
| 822 buildJobPlacement() { | 822 buildJobPlacement() { |
| 823 var o = new api.JobPlacement(); | 823 var o = new api.JobPlacement(); |
| 824 buildCounterJobPlacement++; | 824 buildCounterJobPlacement++; |
| 825 if (buildCounterJobPlacement < 3) { | 825 if (buildCounterJobPlacement < 3) { |
| 826 o.clusterName = "foo"; | 826 o.clusterName = "foo"; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 buildCounterJobStatus++; | 897 buildCounterJobStatus++; |
| 898 if (buildCounterJobStatus < 3) { | 898 if (buildCounterJobStatus < 3) { |
| 899 unittest.expect(o.details, unittest.equals('foo')); | 899 unittest.expect(o.details, unittest.equals('foo')); |
| 900 unittest.expect(o.state, unittest.equals('foo')); | 900 unittest.expect(o.state, unittest.equals('foo')); |
| 901 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 901 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
| 902 unittest.expect(o.substate, unittest.equals('foo')); | 902 unittest.expect(o.substate, unittest.equals('foo')); |
| 903 } | 903 } |
| 904 buildCounterJobStatus--; | 904 buildCounterJobStatus--; |
| 905 } | 905 } |
| 906 | 906 |
| 907 buildUnnamed555() { | 907 buildUnnamed530() { |
| 908 var o = new core.List<api.Cluster>(); | 908 var o = new core.List<api.Cluster>(); |
| 909 o.add(buildCluster()); | 909 o.add(buildCluster()); |
| 910 o.add(buildCluster()); | 910 o.add(buildCluster()); |
| 911 return o; | 911 return o; |
| 912 } | 912 } |
| 913 | 913 |
| 914 checkUnnamed555(core.List<api.Cluster> o) { | 914 checkUnnamed530(core.List<api.Cluster> o) { |
| 915 unittest.expect(o, unittest.hasLength(2)); | 915 unittest.expect(o, unittest.hasLength(2)); |
| 916 checkCluster(o[0]); | 916 checkCluster(o[0]); |
| 917 checkCluster(o[1]); | 917 checkCluster(o[1]); |
| 918 } | 918 } |
| 919 | 919 |
| 920 core.int buildCounterListClustersResponse = 0; | 920 core.int buildCounterListClustersResponse = 0; |
| 921 buildListClustersResponse() { | 921 buildListClustersResponse() { |
| 922 var o = new api.ListClustersResponse(); | 922 var o = new api.ListClustersResponse(); |
| 923 buildCounterListClustersResponse++; | 923 buildCounterListClustersResponse++; |
| 924 if (buildCounterListClustersResponse < 3) { | 924 if (buildCounterListClustersResponse < 3) { |
| 925 o.clusters = buildUnnamed555(); | 925 o.clusters = buildUnnamed530(); |
| 926 o.nextPageToken = "foo"; | 926 o.nextPageToken = "foo"; |
| 927 } | 927 } |
| 928 buildCounterListClustersResponse--; | 928 buildCounterListClustersResponse--; |
| 929 return o; | 929 return o; |
| 930 } | 930 } |
| 931 | 931 |
| 932 checkListClustersResponse(api.ListClustersResponse o) { | 932 checkListClustersResponse(api.ListClustersResponse o) { |
| 933 buildCounterListClustersResponse++; | 933 buildCounterListClustersResponse++; |
| 934 if (buildCounterListClustersResponse < 3) { | 934 if (buildCounterListClustersResponse < 3) { |
| 935 checkUnnamed555(o.clusters); | 935 checkUnnamed530(o.clusters); |
| 936 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 936 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 937 } | 937 } |
| 938 buildCounterListClustersResponse--; | 938 buildCounterListClustersResponse--; |
| 939 } | 939 } |
| 940 | 940 |
| 941 buildUnnamed556() { | 941 buildUnnamed531() { |
| 942 var o = new core.List<api.Job>(); | 942 var o = new core.List<api.Job>(); |
| 943 o.add(buildJob()); | 943 o.add(buildJob()); |
| 944 o.add(buildJob()); | 944 o.add(buildJob()); |
| 945 return o; | 945 return o; |
| 946 } | 946 } |
| 947 | 947 |
| 948 checkUnnamed556(core.List<api.Job> o) { | 948 checkUnnamed531(core.List<api.Job> o) { |
| 949 unittest.expect(o, unittest.hasLength(2)); | 949 unittest.expect(o, unittest.hasLength(2)); |
| 950 checkJob(o[0]); | 950 checkJob(o[0]); |
| 951 checkJob(o[1]); | 951 checkJob(o[1]); |
| 952 } | 952 } |
| 953 | 953 |
| 954 core.int buildCounterListJobsResponse = 0; | 954 core.int buildCounterListJobsResponse = 0; |
| 955 buildListJobsResponse() { | 955 buildListJobsResponse() { |
| 956 var o = new api.ListJobsResponse(); | 956 var o = new api.ListJobsResponse(); |
| 957 buildCounterListJobsResponse++; | 957 buildCounterListJobsResponse++; |
| 958 if (buildCounterListJobsResponse < 3) { | 958 if (buildCounterListJobsResponse < 3) { |
| 959 o.jobs = buildUnnamed556(); | 959 o.jobs = buildUnnamed531(); |
| 960 o.nextPageToken = "foo"; | 960 o.nextPageToken = "foo"; |
| 961 } | 961 } |
| 962 buildCounterListJobsResponse--; | 962 buildCounterListJobsResponse--; |
| 963 return o; | 963 return o; |
| 964 } | 964 } |
| 965 | 965 |
| 966 checkListJobsResponse(api.ListJobsResponse o) { | 966 checkListJobsResponse(api.ListJobsResponse o) { |
| 967 buildCounterListJobsResponse++; | 967 buildCounterListJobsResponse++; |
| 968 if (buildCounterListJobsResponse < 3) { | 968 if (buildCounterListJobsResponse < 3) { |
| 969 checkUnnamed556(o.jobs); | 969 checkUnnamed531(o.jobs); |
| 970 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 970 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 971 } | 971 } |
| 972 buildCounterListJobsResponse--; | 972 buildCounterListJobsResponse--; |
| 973 } | 973 } |
| 974 | 974 |
| 975 buildUnnamed557() { | 975 buildUnnamed532() { |
| 976 var o = new core.List<api.Operation>(); | 976 var o = new core.List<api.Operation>(); |
| 977 o.add(buildOperation()); | 977 o.add(buildOperation()); |
| 978 o.add(buildOperation()); | 978 o.add(buildOperation()); |
| 979 return o; | 979 return o; |
| 980 } | 980 } |
| 981 | 981 |
| 982 checkUnnamed557(core.List<api.Operation> o) { | 982 checkUnnamed532(core.List<api.Operation> o) { |
| 983 unittest.expect(o, unittest.hasLength(2)); | 983 unittest.expect(o, unittest.hasLength(2)); |
| 984 checkOperation(o[0]); | 984 checkOperation(o[0]); |
| 985 checkOperation(o[1]); | 985 checkOperation(o[1]); |
| 986 } | 986 } |
| 987 | 987 |
| 988 core.int buildCounterListOperationsResponse = 0; | 988 core.int buildCounterListOperationsResponse = 0; |
| 989 buildListOperationsResponse() { | 989 buildListOperationsResponse() { |
| 990 var o = new api.ListOperationsResponse(); | 990 var o = new api.ListOperationsResponse(); |
| 991 buildCounterListOperationsResponse++; | 991 buildCounterListOperationsResponse++; |
| 992 if (buildCounterListOperationsResponse < 3) { | 992 if (buildCounterListOperationsResponse < 3) { |
| 993 o.nextPageToken = "foo"; | 993 o.nextPageToken = "foo"; |
| 994 o.operations = buildUnnamed557(); | 994 o.operations = buildUnnamed532(); |
| 995 } | 995 } |
| 996 buildCounterListOperationsResponse--; | 996 buildCounterListOperationsResponse--; |
| 997 return o; | 997 return o; |
| 998 } | 998 } |
| 999 | 999 |
| 1000 checkListOperationsResponse(api.ListOperationsResponse o) { | 1000 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 1001 buildCounterListOperationsResponse++; | 1001 buildCounterListOperationsResponse++; |
| 1002 if (buildCounterListOperationsResponse < 3) { | 1002 if (buildCounterListOperationsResponse < 3) { |
| 1003 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1003 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1004 checkUnnamed557(o.operations); | 1004 checkUnnamed532(o.operations); |
| 1005 } | 1005 } |
| 1006 buildCounterListOperationsResponse--; | 1006 buildCounterListOperationsResponse--; |
| 1007 } | 1007 } |
| 1008 | 1008 |
| 1009 buildUnnamed558() { | 1009 buildUnnamed533() { |
| 1010 var o = new core.Map<core.String, core.String>(); | 1010 var o = new core.Map<core.String, core.String>(); |
| 1011 o["x"] = "foo"; | 1011 o["x"] = "foo"; |
| 1012 o["y"] = "foo"; | 1012 o["y"] = "foo"; |
| 1013 return o; | 1013 return o; |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 checkUnnamed558(core.Map<core.String, core.String> o) { | 1016 checkUnnamed533(core.Map<core.String, core.String> o) { |
| 1017 unittest.expect(o, unittest.hasLength(2)); | 1017 unittest.expect(o, unittest.hasLength(2)); |
| 1018 unittest.expect(o["x"], unittest.equals('foo')); | 1018 unittest.expect(o["x"], unittest.equals('foo')); |
| 1019 unittest.expect(o["y"], unittest.equals('foo')); | 1019 unittest.expect(o["y"], unittest.equals('foo')); |
| 1020 } | 1020 } |
| 1021 | 1021 |
| 1022 core.int buildCounterLoggingConfig = 0; | 1022 core.int buildCounterLoggingConfig = 0; |
| 1023 buildLoggingConfig() { | 1023 buildLoggingConfig() { |
| 1024 var o = new api.LoggingConfig(); | 1024 var o = new api.LoggingConfig(); |
| 1025 buildCounterLoggingConfig++; | 1025 buildCounterLoggingConfig++; |
| 1026 if (buildCounterLoggingConfig < 3) { | 1026 if (buildCounterLoggingConfig < 3) { |
| 1027 o.driverLogLevels = buildUnnamed558(); | 1027 o.driverLogLevels = buildUnnamed533(); |
| 1028 } | 1028 } |
| 1029 buildCounterLoggingConfig--; | 1029 buildCounterLoggingConfig--; |
| 1030 return o; | 1030 return o; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 checkLoggingConfig(api.LoggingConfig o) { | 1033 checkLoggingConfig(api.LoggingConfig o) { |
| 1034 buildCounterLoggingConfig++; | 1034 buildCounterLoggingConfig++; |
| 1035 if (buildCounterLoggingConfig < 3) { | 1035 if (buildCounterLoggingConfig < 3) { |
| 1036 checkUnnamed558(o.driverLogLevels); | 1036 checkUnnamed533(o.driverLogLevels); |
| 1037 } | 1037 } |
| 1038 buildCounterLoggingConfig--; | 1038 buildCounterLoggingConfig--; |
| 1039 } | 1039 } |
| 1040 | 1040 |
| 1041 core.int buildCounterManagedGroupConfig = 0; | 1041 core.int buildCounterManagedGroupConfig = 0; |
| 1042 buildManagedGroupConfig() { | 1042 buildManagedGroupConfig() { |
| 1043 var o = new api.ManagedGroupConfig(); | 1043 var o = new api.ManagedGroupConfig(); |
| 1044 buildCounterManagedGroupConfig++; | 1044 buildCounterManagedGroupConfig++; |
| 1045 if (buildCounterManagedGroupConfig < 3) { | 1045 if (buildCounterManagedGroupConfig < 3) { |
| 1046 o.instanceGroupManagerName = "foo"; | 1046 o.instanceGroupManagerName = "foo"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1073 | 1073 |
| 1074 checkNodeInitializationAction(api.NodeInitializationAction o) { | 1074 checkNodeInitializationAction(api.NodeInitializationAction o) { |
| 1075 buildCounterNodeInitializationAction++; | 1075 buildCounterNodeInitializationAction++; |
| 1076 if (buildCounterNodeInitializationAction < 3) { | 1076 if (buildCounterNodeInitializationAction < 3) { |
| 1077 unittest.expect(o.executableFile, unittest.equals('foo')); | 1077 unittest.expect(o.executableFile, unittest.equals('foo')); |
| 1078 unittest.expect(o.executionTimeout, unittest.equals('foo')); | 1078 unittest.expect(o.executionTimeout, unittest.equals('foo')); |
| 1079 } | 1079 } |
| 1080 buildCounterNodeInitializationAction--; | 1080 buildCounterNodeInitializationAction--; |
| 1081 } | 1081 } |
| 1082 | 1082 |
| 1083 buildUnnamed559() { | 1083 buildUnnamed534() { |
| 1084 var o = new core.Map<core.String, core.Object>(); | 1084 var o = new core.Map<core.String, core.Object>(); |
| 1085 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1085 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1086 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1086 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1087 return o; | 1087 return o; |
| 1088 } | 1088 } |
| 1089 | 1089 |
| 1090 checkUnnamed559(core.Map<core.String, core.Object> o) { | 1090 checkUnnamed534(core.Map<core.String, core.Object> o) { |
| 1091 unittest.expect(o, unittest.hasLength(2)); | 1091 unittest.expect(o, unittest.hasLength(2)); |
| 1092 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')); | 1092 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')); |
| 1093 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')); | 1093 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')); |
| 1094 } | 1094 } |
| 1095 | 1095 |
| 1096 buildUnnamed560() { | 1096 buildUnnamed535() { |
| 1097 var o = new core.Map<core.String, core.Object>(); | 1097 var o = new core.Map<core.String, core.Object>(); |
| 1098 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1098 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1099 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1099 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1100 return o; | 1100 return o; |
| 1101 } | 1101 } |
| 1102 | 1102 |
| 1103 checkUnnamed560(core.Map<core.String, core.Object> o) { | 1103 checkUnnamed535(core.Map<core.String, core.Object> o) { |
| 1104 unittest.expect(o, unittest.hasLength(2)); | 1104 unittest.expect(o, unittest.hasLength(2)); |
| 1105 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')); | 1105 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')); |
| 1106 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')); | 1106 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')); |
| 1107 } | 1107 } |
| 1108 | 1108 |
| 1109 core.int buildCounterOperation = 0; | 1109 core.int buildCounterOperation = 0; |
| 1110 buildOperation() { | 1110 buildOperation() { |
| 1111 var o = new api.Operation(); | 1111 var o = new api.Operation(); |
| 1112 buildCounterOperation++; | 1112 buildCounterOperation++; |
| 1113 if (buildCounterOperation < 3) { | 1113 if (buildCounterOperation < 3) { |
| 1114 o.done = true; | 1114 o.done = true; |
| 1115 o.error = buildStatus(); | 1115 o.error = buildStatus(); |
| 1116 o.metadata = buildUnnamed559(); | 1116 o.metadata = buildUnnamed534(); |
| 1117 o.name = "foo"; | 1117 o.name = "foo"; |
| 1118 o.response = buildUnnamed560(); | 1118 o.response = buildUnnamed535(); |
| 1119 } | 1119 } |
| 1120 buildCounterOperation--; | 1120 buildCounterOperation--; |
| 1121 return o; | 1121 return o; |
| 1122 } | 1122 } |
| 1123 | 1123 |
| 1124 checkOperation(api.Operation o) { | 1124 checkOperation(api.Operation o) { |
| 1125 buildCounterOperation++; | 1125 buildCounterOperation++; |
| 1126 if (buildCounterOperation < 3) { | 1126 if (buildCounterOperation < 3) { |
| 1127 unittest.expect(o.done, unittest.isTrue); | 1127 unittest.expect(o.done, unittest.isTrue); |
| 1128 checkStatus(o.error); | 1128 checkStatus(o.error); |
| 1129 checkUnnamed559(o.metadata); | 1129 checkUnnamed534(o.metadata); |
| 1130 unittest.expect(o.name, unittest.equals('foo')); | 1130 unittest.expect(o.name, unittest.equals('foo')); |
| 1131 checkUnnamed560(o.response); | 1131 checkUnnamed535(o.response); |
| 1132 } | 1132 } |
| 1133 buildCounterOperation--; | 1133 buildCounterOperation--; |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 buildUnnamed561() { | 1136 buildUnnamed536() { |
| 1137 var o = new core.List<core.String>(); | 1137 var o = new core.List<core.String>(); |
| 1138 o.add("foo"); | 1138 o.add("foo"); |
| 1139 o.add("foo"); | 1139 o.add("foo"); |
| 1140 return o; | 1140 return o; |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 checkUnnamed561(core.List<core.String> o) { | 1143 checkUnnamed536(core.List<core.String> o) { |
| 1144 unittest.expect(o, unittest.hasLength(2)); | 1144 unittest.expect(o, unittest.hasLength(2)); |
| 1145 unittest.expect(o[0], unittest.equals('foo')); | 1145 unittest.expect(o[0], unittest.equals('foo')); |
| 1146 unittest.expect(o[1], unittest.equals('foo')); | 1146 unittest.expect(o[1], unittest.equals('foo')); |
| 1147 } | 1147 } |
| 1148 | 1148 |
| 1149 buildUnnamed562() { | 1149 buildUnnamed537() { |
| 1150 var o = new core.Map<core.String, core.String>(); | 1150 var o = new core.Map<core.String, core.String>(); |
| 1151 o["x"] = "foo"; | 1151 o["x"] = "foo"; |
| 1152 o["y"] = "foo"; | 1152 o["y"] = "foo"; |
| 1153 return o; | 1153 return o; |
| 1154 } | 1154 } |
| 1155 | 1155 |
| 1156 checkUnnamed562(core.Map<core.String, core.String> o) { | 1156 checkUnnamed537(core.Map<core.String, core.String> o) { |
| 1157 unittest.expect(o, unittest.hasLength(2)); | 1157 unittest.expect(o, unittest.hasLength(2)); |
| 1158 unittest.expect(o["x"], unittest.equals('foo')); | 1158 unittest.expect(o["x"], unittest.equals('foo')); |
| 1159 unittest.expect(o["y"], unittest.equals('foo')); | 1159 unittest.expect(o["y"], unittest.equals('foo')); |
| 1160 } | 1160 } |
| 1161 | 1161 |
| 1162 buildUnnamed563() { | 1162 buildUnnamed538() { |
| 1163 var o = new core.Map<core.String, core.String>(); | 1163 var o = new core.Map<core.String, core.String>(); |
| 1164 o["x"] = "foo"; | 1164 o["x"] = "foo"; |
| 1165 o["y"] = "foo"; | 1165 o["y"] = "foo"; |
| 1166 return o; | 1166 return o; |
| 1167 } | 1167 } |
| 1168 | 1168 |
| 1169 checkUnnamed563(core.Map<core.String, core.String> o) { | 1169 checkUnnamed538(core.Map<core.String, core.String> o) { |
| 1170 unittest.expect(o, unittest.hasLength(2)); | 1170 unittest.expect(o, unittest.hasLength(2)); |
| 1171 unittest.expect(o["x"], unittest.equals('foo')); | 1171 unittest.expect(o["x"], unittest.equals('foo')); |
| 1172 unittest.expect(o["y"], unittest.equals('foo')); | 1172 unittest.expect(o["y"], unittest.equals('foo')); |
| 1173 } | 1173 } |
| 1174 | 1174 |
| 1175 core.int buildCounterPigJob = 0; | 1175 core.int buildCounterPigJob = 0; |
| 1176 buildPigJob() { | 1176 buildPigJob() { |
| 1177 var o = new api.PigJob(); | 1177 var o = new api.PigJob(); |
| 1178 buildCounterPigJob++; | 1178 buildCounterPigJob++; |
| 1179 if (buildCounterPigJob < 3) { | 1179 if (buildCounterPigJob < 3) { |
| 1180 o.continueOnFailure = true; | 1180 o.continueOnFailure = true; |
| 1181 o.jarFileUris = buildUnnamed561(); | 1181 o.jarFileUris = buildUnnamed536(); |
| 1182 o.loggingConfig = buildLoggingConfig(); | 1182 o.loggingConfig = buildLoggingConfig(); |
| 1183 o.properties = buildUnnamed562(); | 1183 o.properties = buildUnnamed537(); |
| 1184 o.queryFileUri = "foo"; | 1184 o.queryFileUri = "foo"; |
| 1185 o.queryList = buildQueryList(); | 1185 o.queryList = buildQueryList(); |
| 1186 o.scriptVariables = buildUnnamed563(); | 1186 o.scriptVariables = buildUnnamed538(); |
| 1187 } | 1187 } |
| 1188 buildCounterPigJob--; | 1188 buildCounterPigJob--; |
| 1189 return o; | 1189 return o; |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 checkPigJob(api.PigJob o) { | 1192 checkPigJob(api.PigJob o) { |
| 1193 buildCounterPigJob++; | 1193 buildCounterPigJob++; |
| 1194 if (buildCounterPigJob < 3) { | 1194 if (buildCounterPigJob < 3) { |
| 1195 unittest.expect(o.continueOnFailure, unittest.isTrue); | 1195 unittest.expect(o.continueOnFailure, unittest.isTrue); |
| 1196 checkUnnamed561(o.jarFileUris); | 1196 checkUnnamed536(o.jarFileUris); |
| 1197 checkLoggingConfig(o.loggingConfig); | 1197 checkLoggingConfig(o.loggingConfig); |
| 1198 checkUnnamed562(o.properties); | 1198 checkUnnamed537(o.properties); |
| 1199 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1199 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 1200 checkQueryList(o.queryList); | 1200 checkQueryList(o.queryList); |
| 1201 checkUnnamed563(o.scriptVariables); | 1201 checkUnnamed538(o.scriptVariables); |
| 1202 } | 1202 } |
| 1203 buildCounterPigJob--; | 1203 buildCounterPigJob--; |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 buildUnnamed564() { | 1206 buildUnnamed539() { |
| 1207 var o = new core.List<core.String>(); | 1207 var o = new core.List<core.String>(); |
| 1208 o.add("foo"); | 1208 o.add("foo"); |
| 1209 o.add("foo"); | 1209 o.add("foo"); |
| 1210 return o; | 1210 return o; |
| 1211 } | 1211 } |
| 1212 | 1212 |
| 1213 checkUnnamed564(core.List<core.String> o) { | 1213 checkUnnamed539(core.List<core.String> o) { |
| 1214 unittest.expect(o, unittest.hasLength(2)); | 1214 unittest.expect(o, unittest.hasLength(2)); |
| 1215 unittest.expect(o[0], unittest.equals('foo')); | 1215 unittest.expect(o[0], unittest.equals('foo')); |
| 1216 unittest.expect(o[1], unittest.equals('foo')); | 1216 unittest.expect(o[1], unittest.equals('foo')); |
| 1217 } | 1217 } |
| 1218 | 1218 |
| 1219 buildUnnamed565() { | 1219 buildUnnamed540() { |
| 1220 var o = new core.List<core.String>(); | 1220 var o = new core.List<core.String>(); |
| 1221 o.add("foo"); | 1221 o.add("foo"); |
| 1222 o.add("foo"); | 1222 o.add("foo"); |
| 1223 return o; | 1223 return o; |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 checkUnnamed565(core.List<core.String> o) { | 1226 checkUnnamed540(core.List<core.String> o) { |
| 1227 unittest.expect(o, unittest.hasLength(2)); | 1227 unittest.expect(o, unittest.hasLength(2)); |
| 1228 unittest.expect(o[0], unittest.equals('foo')); | 1228 unittest.expect(o[0], unittest.equals('foo')); |
| 1229 unittest.expect(o[1], unittest.equals('foo')); | 1229 unittest.expect(o[1], unittest.equals('foo')); |
| 1230 } | 1230 } |
| 1231 | 1231 |
| 1232 buildUnnamed566() { | 1232 buildUnnamed541() { |
| 1233 var o = new core.List<core.String>(); | 1233 var o = new core.List<core.String>(); |
| 1234 o.add("foo"); | 1234 o.add("foo"); |
| 1235 o.add("foo"); | 1235 o.add("foo"); |
| 1236 return o; | 1236 return o; |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 checkUnnamed566(core.List<core.String> o) { | 1239 checkUnnamed541(core.List<core.String> o) { |
| 1240 unittest.expect(o, unittest.hasLength(2)); | 1240 unittest.expect(o, unittest.hasLength(2)); |
| 1241 unittest.expect(o[0], unittest.equals('foo')); | 1241 unittest.expect(o[0], unittest.equals('foo')); |
| 1242 unittest.expect(o[1], unittest.equals('foo')); | 1242 unittest.expect(o[1], unittest.equals('foo')); |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 buildUnnamed567() { | 1245 buildUnnamed542() { |
| 1246 var o = new core.List<core.String>(); | 1246 var o = new core.List<core.String>(); |
| 1247 o.add("foo"); | 1247 o.add("foo"); |
| 1248 o.add("foo"); | 1248 o.add("foo"); |
| 1249 return o; | 1249 return o; |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 checkUnnamed567(core.List<core.String> o) { | 1252 checkUnnamed542(core.List<core.String> o) { |
| 1253 unittest.expect(o, unittest.hasLength(2)); | 1253 unittest.expect(o, unittest.hasLength(2)); |
| 1254 unittest.expect(o[0], unittest.equals('foo')); | 1254 unittest.expect(o[0], unittest.equals('foo')); |
| 1255 unittest.expect(o[1], unittest.equals('foo')); | 1255 unittest.expect(o[1], unittest.equals('foo')); |
| 1256 } | 1256 } |
| 1257 | 1257 |
| 1258 buildUnnamed568() { | 1258 buildUnnamed543() { |
| 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 checkUnnamed568(core.Map<core.String, core.String> o) { | 1265 checkUnnamed543(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 buildUnnamed569() { | 1271 buildUnnamed544() { |
| 1272 var o = new core.List<core.String>(); | 1272 var o = new core.List<core.String>(); |
| 1273 o.add("foo"); | 1273 o.add("foo"); |
| 1274 o.add("foo"); | 1274 o.add("foo"); |
| 1275 return o; | 1275 return o; |
| 1276 } | 1276 } |
| 1277 | 1277 |
| 1278 checkUnnamed569(core.List<core.String> o) { | 1278 checkUnnamed544(core.List<core.String> o) { |
| 1279 unittest.expect(o, unittest.hasLength(2)); | 1279 unittest.expect(o, unittest.hasLength(2)); |
| 1280 unittest.expect(o[0], unittest.equals('foo')); | 1280 unittest.expect(o[0], unittest.equals('foo')); |
| 1281 unittest.expect(o[1], unittest.equals('foo')); | 1281 unittest.expect(o[1], unittest.equals('foo')); |
| 1282 } | 1282 } |
| 1283 | 1283 |
| 1284 core.int buildCounterPySparkJob = 0; | 1284 core.int buildCounterPySparkJob = 0; |
| 1285 buildPySparkJob() { | 1285 buildPySparkJob() { |
| 1286 var o = new api.PySparkJob(); | 1286 var o = new api.PySparkJob(); |
| 1287 buildCounterPySparkJob++; | 1287 buildCounterPySparkJob++; |
| 1288 if (buildCounterPySparkJob < 3) { | 1288 if (buildCounterPySparkJob < 3) { |
| 1289 o.archiveUris = buildUnnamed564(); | 1289 o.archiveUris = buildUnnamed539(); |
| 1290 o.args = buildUnnamed565(); | 1290 o.args = buildUnnamed540(); |
| 1291 o.fileUris = buildUnnamed566(); | 1291 o.fileUris = buildUnnamed541(); |
| 1292 o.jarFileUris = buildUnnamed567(); | 1292 o.jarFileUris = buildUnnamed542(); |
| 1293 o.loggingConfig = buildLoggingConfig(); | 1293 o.loggingConfig = buildLoggingConfig(); |
| 1294 o.mainPythonFileUri = "foo"; | 1294 o.mainPythonFileUri = "foo"; |
| 1295 o.properties = buildUnnamed568(); | 1295 o.properties = buildUnnamed543(); |
| 1296 o.pythonFileUris = buildUnnamed569(); | 1296 o.pythonFileUris = buildUnnamed544(); |
| 1297 } | 1297 } |
| 1298 buildCounterPySparkJob--; | 1298 buildCounterPySparkJob--; |
| 1299 return o; | 1299 return o; |
| 1300 } | 1300 } |
| 1301 | 1301 |
| 1302 checkPySparkJob(api.PySparkJob o) { | 1302 checkPySparkJob(api.PySparkJob o) { |
| 1303 buildCounterPySparkJob++; | 1303 buildCounterPySparkJob++; |
| 1304 if (buildCounterPySparkJob < 3) { | 1304 if (buildCounterPySparkJob < 3) { |
| 1305 checkUnnamed564(o.archiveUris); | 1305 checkUnnamed539(o.archiveUris); |
| 1306 checkUnnamed565(o.args); | 1306 checkUnnamed540(o.args); |
| 1307 checkUnnamed566(o.fileUris); | 1307 checkUnnamed541(o.fileUris); |
| 1308 checkUnnamed567(o.jarFileUris); | 1308 checkUnnamed542(o.jarFileUris); |
| 1309 checkLoggingConfig(o.loggingConfig); | 1309 checkLoggingConfig(o.loggingConfig); |
| 1310 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); | 1310 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); |
| 1311 checkUnnamed568(o.properties); | 1311 checkUnnamed543(o.properties); |
| 1312 checkUnnamed569(o.pythonFileUris); | 1312 checkUnnamed544(o.pythonFileUris); |
| 1313 } | 1313 } |
| 1314 buildCounterPySparkJob--; | 1314 buildCounterPySparkJob--; |
| 1315 } | 1315 } |
| 1316 | 1316 |
| 1317 buildUnnamed570() { | 1317 buildUnnamed545() { |
| 1318 var o = new core.List<core.String>(); | 1318 var o = new core.List<core.String>(); |
| 1319 o.add("foo"); | 1319 o.add("foo"); |
| 1320 o.add("foo"); | 1320 o.add("foo"); |
| 1321 return o; | 1321 return o; |
| 1322 } | 1322 } |
| 1323 | 1323 |
| 1324 checkUnnamed570(core.List<core.String> o) { | 1324 checkUnnamed545(core.List<core.String> o) { |
| 1325 unittest.expect(o, unittest.hasLength(2)); | 1325 unittest.expect(o, unittest.hasLength(2)); |
| 1326 unittest.expect(o[0], unittest.equals('foo')); | 1326 unittest.expect(o[0], unittest.equals('foo')); |
| 1327 unittest.expect(o[1], unittest.equals('foo')); | 1327 unittest.expect(o[1], unittest.equals('foo')); |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 core.int buildCounterQueryList = 0; | 1330 core.int buildCounterQueryList = 0; |
| 1331 buildQueryList() { | 1331 buildQueryList() { |
| 1332 var o = new api.QueryList(); | 1332 var o = new api.QueryList(); |
| 1333 buildCounterQueryList++; | 1333 buildCounterQueryList++; |
| 1334 if (buildCounterQueryList < 3) { | 1334 if (buildCounterQueryList < 3) { |
| 1335 o.queries = buildUnnamed570(); | 1335 o.queries = buildUnnamed545(); |
| 1336 } | 1336 } |
| 1337 buildCounterQueryList--; | 1337 buildCounterQueryList--; |
| 1338 return o; | 1338 return o; |
| 1339 } | 1339 } |
| 1340 | 1340 |
| 1341 checkQueryList(api.QueryList o) { | 1341 checkQueryList(api.QueryList o) { |
| 1342 buildCounterQueryList++; | 1342 buildCounterQueryList++; |
| 1343 if (buildCounterQueryList < 3) { | 1343 if (buildCounterQueryList < 3) { |
| 1344 checkUnnamed570(o.queries); | 1344 checkUnnamed545(o.queries); |
| 1345 } | 1345 } |
| 1346 buildCounterQueryList--; | 1346 buildCounterQueryList--; |
| 1347 } | 1347 } |
| 1348 | 1348 |
| 1349 buildUnnamed571() { | 1349 buildUnnamed546() { |
| 1350 var o = new core.Map<core.String, core.String>(); | 1350 var o = new core.Map<core.String, core.String>(); |
| 1351 o["x"] = "foo"; | 1351 o["x"] = "foo"; |
| 1352 o["y"] = "foo"; | 1352 o["y"] = "foo"; |
| 1353 return o; | 1353 return o; |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 checkUnnamed571(core.Map<core.String, core.String> o) { | 1356 checkUnnamed546(core.Map<core.String, core.String> o) { |
| 1357 unittest.expect(o, unittest.hasLength(2)); | 1357 unittest.expect(o, unittest.hasLength(2)); |
| 1358 unittest.expect(o["x"], unittest.equals('foo')); | 1358 unittest.expect(o["x"], unittest.equals('foo')); |
| 1359 unittest.expect(o["y"], unittest.equals('foo')); | 1359 unittest.expect(o["y"], unittest.equals('foo')); |
| 1360 } | 1360 } |
| 1361 | 1361 |
| 1362 core.int buildCounterSoftwareConfig = 0; | 1362 core.int buildCounterSoftwareConfig = 0; |
| 1363 buildSoftwareConfig() { | 1363 buildSoftwareConfig() { |
| 1364 var o = new api.SoftwareConfig(); | 1364 var o = new api.SoftwareConfig(); |
| 1365 buildCounterSoftwareConfig++; | 1365 buildCounterSoftwareConfig++; |
| 1366 if (buildCounterSoftwareConfig < 3) { | 1366 if (buildCounterSoftwareConfig < 3) { |
| 1367 o.imageVersion = "foo"; | 1367 o.imageVersion = "foo"; |
| 1368 o.properties = buildUnnamed571(); | 1368 o.properties = buildUnnamed546(); |
| 1369 } | 1369 } |
| 1370 buildCounterSoftwareConfig--; | 1370 buildCounterSoftwareConfig--; |
| 1371 return o; | 1371 return o; |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 checkSoftwareConfig(api.SoftwareConfig o) { | 1374 checkSoftwareConfig(api.SoftwareConfig o) { |
| 1375 buildCounterSoftwareConfig++; | 1375 buildCounterSoftwareConfig++; |
| 1376 if (buildCounterSoftwareConfig < 3) { | 1376 if (buildCounterSoftwareConfig < 3) { |
| 1377 unittest.expect(o.imageVersion, unittest.equals('foo')); | 1377 unittest.expect(o.imageVersion, unittest.equals('foo')); |
| 1378 checkUnnamed571(o.properties); | 1378 checkUnnamed546(o.properties); |
| 1379 } | 1379 } |
| 1380 buildCounterSoftwareConfig--; | 1380 buildCounterSoftwareConfig--; |
| 1381 } | 1381 } |
| 1382 | 1382 |
| 1383 buildUnnamed572() { | 1383 buildUnnamed547() { |
| 1384 var o = new core.List<core.String>(); | 1384 var o = new core.List<core.String>(); |
| 1385 o.add("foo"); | 1385 o.add("foo"); |
| 1386 o.add("foo"); | 1386 o.add("foo"); |
| 1387 return o; | 1387 return o; |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 checkUnnamed572(core.List<core.String> o) { | 1390 checkUnnamed547(core.List<core.String> o) { |
| 1391 unittest.expect(o, unittest.hasLength(2)); | 1391 unittest.expect(o, unittest.hasLength(2)); |
| 1392 unittest.expect(o[0], unittest.equals('foo')); | 1392 unittest.expect(o[0], unittest.equals('foo')); |
| 1393 unittest.expect(o[1], unittest.equals('foo')); | 1393 unittest.expect(o[1], unittest.equals('foo')); |
| 1394 } | 1394 } |
| 1395 | 1395 |
| 1396 buildUnnamed573() { | 1396 buildUnnamed548() { |
| 1397 var o = new core.List<core.String>(); | 1397 var o = new core.List<core.String>(); |
| 1398 o.add("foo"); | 1398 o.add("foo"); |
| 1399 o.add("foo"); | 1399 o.add("foo"); |
| 1400 return o; | 1400 return o; |
| 1401 } | 1401 } |
| 1402 | 1402 |
| 1403 checkUnnamed573(core.List<core.String> o) { | 1403 checkUnnamed548(core.List<core.String> o) { |
| 1404 unittest.expect(o, unittest.hasLength(2)); | 1404 unittest.expect(o, unittest.hasLength(2)); |
| 1405 unittest.expect(o[0], unittest.equals('foo')); | 1405 unittest.expect(o[0], unittest.equals('foo')); |
| 1406 unittest.expect(o[1], unittest.equals('foo')); | 1406 unittest.expect(o[1], unittest.equals('foo')); |
| 1407 } | 1407 } |
| 1408 | 1408 |
| 1409 buildUnnamed574() { | 1409 buildUnnamed549() { |
| 1410 var o = new core.List<core.String>(); | 1410 var o = new core.List<core.String>(); |
| 1411 o.add("foo"); | 1411 o.add("foo"); |
| 1412 o.add("foo"); | 1412 o.add("foo"); |
| 1413 return o; | 1413 return o; |
| 1414 } | 1414 } |
| 1415 | 1415 |
| 1416 checkUnnamed574(core.List<core.String> o) { | 1416 checkUnnamed549(core.List<core.String> o) { |
| 1417 unittest.expect(o, unittest.hasLength(2)); | 1417 unittest.expect(o, unittest.hasLength(2)); |
| 1418 unittest.expect(o[0], unittest.equals('foo')); | 1418 unittest.expect(o[0], unittest.equals('foo')); |
| 1419 unittest.expect(o[1], unittest.equals('foo')); | 1419 unittest.expect(o[1], unittest.equals('foo')); |
| 1420 } | 1420 } |
| 1421 | 1421 |
| 1422 buildUnnamed575() { | 1422 buildUnnamed550() { |
| 1423 var o = new core.List<core.String>(); | 1423 var o = new core.List<core.String>(); |
| 1424 o.add("foo"); | 1424 o.add("foo"); |
| 1425 o.add("foo"); | 1425 o.add("foo"); |
| 1426 return o; | 1426 return o; |
| 1427 } | 1427 } |
| 1428 | 1428 |
| 1429 checkUnnamed575(core.List<core.String> o) { | 1429 checkUnnamed550(core.List<core.String> o) { |
| 1430 unittest.expect(o, unittest.hasLength(2)); | 1430 unittest.expect(o, unittest.hasLength(2)); |
| 1431 unittest.expect(o[0], unittest.equals('foo')); | 1431 unittest.expect(o[0], unittest.equals('foo')); |
| 1432 unittest.expect(o[1], unittest.equals('foo')); | 1432 unittest.expect(o[1], unittest.equals('foo')); |
| 1433 } | 1433 } |
| 1434 | 1434 |
| 1435 buildUnnamed576() { | 1435 buildUnnamed551() { |
| 1436 var o = new core.Map<core.String, core.String>(); | 1436 var o = new core.Map<core.String, core.String>(); |
| 1437 o["x"] = "foo"; | 1437 o["x"] = "foo"; |
| 1438 o["y"] = "foo"; | 1438 o["y"] = "foo"; |
| 1439 return o; | 1439 return o; |
| 1440 } | 1440 } |
| 1441 | 1441 |
| 1442 checkUnnamed576(core.Map<core.String, core.String> o) { | 1442 checkUnnamed551(core.Map<core.String, core.String> o) { |
| 1443 unittest.expect(o, unittest.hasLength(2)); | 1443 unittest.expect(o, unittest.hasLength(2)); |
| 1444 unittest.expect(o["x"], unittest.equals('foo')); | 1444 unittest.expect(o["x"], unittest.equals('foo')); |
| 1445 unittest.expect(o["y"], unittest.equals('foo')); | 1445 unittest.expect(o["y"], unittest.equals('foo')); |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 core.int buildCounterSparkJob = 0; | 1448 core.int buildCounterSparkJob = 0; |
| 1449 buildSparkJob() { | 1449 buildSparkJob() { |
| 1450 var o = new api.SparkJob(); | 1450 var o = new api.SparkJob(); |
| 1451 buildCounterSparkJob++; | 1451 buildCounterSparkJob++; |
| 1452 if (buildCounterSparkJob < 3) { | 1452 if (buildCounterSparkJob < 3) { |
| 1453 o.archiveUris = buildUnnamed572(); | 1453 o.archiveUris = buildUnnamed547(); |
| 1454 o.args = buildUnnamed573(); | 1454 o.args = buildUnnamed548(); |
| 1455 o.fileUris = buildUnnamed574(); | 1455 o.fileUris = buildUnnamed549(); |
| 1456 o.jarFileUris = buildUnnamed575(); | 1456 o.jarFileUris = buildUnnamed550(); |
| 1457 o.loggingConfig = buildLoggingConfig(); | 1457 o.loggingConfig = buildLoggingConfig(); |
| 1458 o.mainClass = "foo"; | 1458 o.mainClass = "foo"; |
| 1459 o.mainJarFileUri = "foo"; | 1459 o.mainJarFileUri = "foo"; |
| 1460 o.properties = buildUnnamed576(); | 1460 o.properties = buildUnnamed551(); |
| 1461 } | 1461 } |
| 1462 buildCounterSparkJob--; | 1462 buildCounterSparkJob--; |
| 1463 return o; | 1463 return o; |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 checkSparkJob(api.SparkJob o) { | 1466 checkSparkJob(api.SparkJob o) { |
| 1467 buildCounterSparkJob++; | 1467 buildCounterSparkJob++; |
| 1468 if (buildCounterSparkJob < 3) { | 1468 if (buildCounterSparkJob < 3) { |
| 1469 checkUnnamed572(o.archiveUris); | 1469 checkUnnamed547(o.archiveUris); |
| 1470 checkUnnamed573(o.args); | 1470 checkUnnamed548(o.args); |
| 1471 checkUnnamed574(o.fileUris); | 1471 checkUnnamed549(o.fileUris); |
| 1472 checkUnnamed575(o.jarFileUris); | 1472 checkUnnamed550(o.jarFileUris); |
| 1473 checkLoggingConfig(o.loggingConfig); | 1473 checkLoggingConfig(o.loggingConfig); |
| 1474 unittest.expect(o.mainClass, unittest.equals('foo')); | 1474 unittest.expect(o.mainClass, unittest.equals('foo')); |
| 1475 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 1475 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
| 1476 checkUnnamed576(o.properties); | 1476 checkUnnamed551(o.properties); |
| 1477 } | 1477 } |
| 1478 buildCounterSparkJob--; | 1478 buildCounterSparkJob--; |
| 1479 } | 1479 } |
| 1480 | 1480 |
| 1481 buildUnnamed577() { | 1481 buildUnnamed552() { |
| 1482 var o = new core.List<core.String>(); | 1482 var o = new core.List<core.String>(); |
| 1483 o.add("foo"); | 1483 o.add("foo"); |
| 1484 o.add("foo"); | 1484 o.add("foo"); |
| 1485 return o; | 1485 return o; |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 checkUnnamed577(core.List<core.String> o) { | 1488 checkUnnamed552(core.List<core.String> o) { |
| 1489 unittest.expect(o, unittest.hasLength(2)); | 1489 unittest.expect(o, unittest.hasLength(2)); |
| 1490 unittest.expect(o[0], unittest.equals('foo')); | 1490 unittest.expect(o[0], unittest.equals('foo')); |
| 1491 unittest.expect(o[1], unittest.equals('foo')); | 1491 unittest.expect(o[1], unittest.equals('foo')); |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 buildUnnamed578() { | 1494 buildUnnamed553() { |
| 1495 var o = new core.Map<core.String, core.String>(); | 1495 var o = new core.Map<core.String, core.String>(); |
| 1496 o["x"] = "foo"; | 1496 o["x"] = "foo"; |
| 1497 o["y"] = "foo"; | 1497 o["y"] = "foo"; |
| 1498 return o; | 1498 return o; |
| 1499 } | 1499 } |
| 1500 | 1500 |
| 1501 checkUnnamed578(core.Map<core.String, core.String> o) { | 1501 checkUnnamed553(core.Map<core.String, core.String> o) { |
| 1502 unittest.expect(o, unittest.hasLength(2)); | 1502 unittest.expect(o, unittest.hasLength(2)); |
| 1503 unittest.expect(o["x"], unittest.equals('foo')); | 1503 unittest.expect(o["x"], unittest.equals('foo')); |
| 1504 unittest.expect(o["y"], unittest.equals('foo')); | 1504 unittest.expect(o["y"], unittest.equals('foo')); |
| 1505 } | 1505 } |
| 1506 | 1506 |
| 1507 buildUnnamed579() { | 1507 buildUnnamed554() { |
| 1508 var o = new core.Map<core.String, core.String>(); | 1508 var o = new core.Map<core.String, core.String>(); |
| 1509 o["x"] = "foo"; | 1509 o["x"] = "foo"; |
| 1510 o["y"] = "foo"; | 1510 o["y"] = "foo"; |
| 1511 return o; | 1511 return o; |
| 1512 } | 1512 } |
| 1513 | 1513 |
| 1514 checkUnnamed579(core.Map<core.String, core.String> o) { | 1514 checkUnnamed554(core.Map<core.String, core.String> o) { |
| 1515 unittest.expect(o, unittest.hasLength(2)); | 1515 unittest.expect(o, unittest.hasLength(2)); |
| 1516 unittest.expect(o["x"], unittest.equals('foo')); | 1516 unittest.expect(o["x"], unittest.equals('foo')); |
| 1517 unittest.expect(o["y"], unittest.equals('foo')); | 1517 unittest.expect(o["y"], unittest.equals('foo')); |
| 1518 } | 1518 } |
| 1519 | 1519 |
| 1520 core.int buildCounterSparkSqlJob = 0; | 1520 core.int buildCounterSparkSqlJob = 0; |
| 1521 buildSparkSqlJob() { | 1521 buildSparkSqlJob() { |
| 1522 var o = new api.SparkSqlJob(); | 1522 var o = new api.SparkSqlJob(); |
| 1523 buildCounterSparkSqlJob++; | 1523 buildCounterSparkSqlJob++; |
| 1524 if (buildCounterSparkSqlJob < 3) { | 1524 if (buildCounterSparkSqlJob < 3) { |
| 1525 o.jarFileUris = buildUnnamed577(); | 1525 o.jarFileUris = buildUnnamed552(); |
| 1526 o.loggingConfig = buildLoggingConfig(); | 1526 o.loggingConfig = buildLoggingConfig(); |
| 1527 o.properties = buildUnnamed578(); | 1527 o.properties = buildUnnamed553(); |
| 1528 o.queryFileUri = "foo"; | 1528 o.queryFileUri = "foo"; |
| 1529 o.queryList = buildQueryList(); | 1529 o.queryList = buildQueryList(); |
| 1530 o.scriptVariables = buildUnnamed579(); | 1530 o.scriptVariables = buildUnnamed554(); |
| 1531 } | 1531 } |
| 1532 buildCounterSparkSqlJob--; | 1532 buildCounterSparkSqlJob--; |
| 1533 return o; | 1533 return o; |
| 1534 } | 1534 } |
| 1535 | 1535 |
| 1536 checkSparkSqlJob(api.SparkSqlJob o) { | 1536 checkSparkSqlJob(api.SparkSqlJob o) { |
| 1537 buildCounterSparkSqlJob++; | 1537 buildCounterSparkSqlJob++; |
| 1538 if (buildCounterSparkSqlJob < 3) { | 1538 if (buildCounterSparkSqlJob < 3) { |
| 1539 checkUnnamed577(o.jarFileUris); | 1539 checkUnnamed552(o.jarFileUris); |
| 1540 checkLoggingConfig(o.loggingConfig); | 1540 checkLoggingConfig(o.loggingConfig); |
| 1541 checkUnnamed578(o.properties); | 1541 checkUnnamed553(o.properties); |
| 1542 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1542 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
| 1543 checkQueryList(o.queryList); | 1543 checkQueryList(o.queryList); |
| 1544 checkUnnamed579(o.scriptVariables); | 1544 checkUnnamed554(o.scriptVariables); |
| 1545 } | 1545 } |
| 1546 buildCounterSparkSqlJob--; | 1546 buildCounterSparkSqlJob--; |
| 1547 } | 1547 } |
| 1548 | 1548 |
| 1549 buildUnnamed580() { | 1549 buildUnnamed555() { |
| 1550 var o = new core.Map<core.String, core.Object>(); | 1550 var o = new core.Map<core.String, core.Object>(); |
| 1551 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1551 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1552 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1552 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1553 return o; | 1553 return o; |
| 1554 } | 1554 } |
| 1555 | 1555 |
| 1556 checkUnnamed580(core.Map<core.String, core.Object> o) { | 1556 checkUnnamed555(core.Map<core.String, core.Object> o) { |
| 1557 unittest.expect(o, unittest.hasLength(2)); | 1557 unittest.expect(o, unittest.hasLength(2)); |
| 1558 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')); | 1558 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')); |
| 1559 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')); | 1559 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')); |
| 1560 } | 1560 } |
| 1561 | 1561 |
| 1562 buildUnnamed581() { | 1562 buildUnnamed556() { |
| 1563 var o = new core.List<core.Map<core.String, core.Object>>(); | 1563 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 1564 o.add(buildUnnamed580()); | 1564 o.add(buildUnnamed555()); |
| 1565 o.add(buildUnnamed580()); | 1565 o.add(buildUnnamed555()); |
| 1566 return o; | 1566 return o; |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 checkUnnamed581(core.List<core.Map<core.String, core.Object>> o) { | 1569 checkUnnamed556(core.List<core.Map<core.String, core.Object>> o) { |
| 1570 unittest.expect(o, unittest.hasLength(2)); | 1570 unittest.expect(o, unittest.hasLength(2)); |
| 1571 checkUnnamed580(o[0]); | 1571 checkUnnamed555(o[0]); |
| 1572 checkUnnamed580(o[1]); | 1572 checkUnnamed555(o[1]); |
| 1573 } | 1573 } |
| 1574 | 1574 |
| 1575 core.int buildCounterStatus = 0; | 1575 core.int buildCounterStatus = 0; |
| 1576 buildStatus() { | 1576 buildStatus() { |
| 1577 var o = new api.Status(); | 1577 var o = new api.Status(); |
| 1578 buildCounterStatus++; | 1578 buildCounterStatus++; |
| 1579 if (buildCounterStatus < 3) { | 1579 if (buildCounterStatus < 3) { |
| 1580 o.code = 42; | 1580 o.code = 42; |
| 1581 o.details = buildUnnamed581(); | 1581 o.details = buildUnnamed556(); |
| 1582 o.message = "foo"; | 1582 o.message = "foo"; |
| 1583 } | 1583 } |
| 1584 buildCounterStatus--; | 1584 buildCounterStatus--; |
| 1585 return o; | 1585 return o; |
| 1586 } | 1586 } |
| 1587 | 1587 |
| 1588 checkStatus(api.Status o) { | 1588 checkStatus(api.Status o) { |
| 1589 buildCounterStatus++; | 1589 buildCounterStatus++; |
| 1590 if (buildCounterStatus < 3) { | 1590 if (buildCounterStatus < 3) { |
| 1591 unittest.expect(o.code, unittest.equals(42)); | 1591 unittest.expect(o.code, unittest.equals(42)); |
| 1592 checkUnnamed581(o.details); | 1592 checkUnnamed556(o.details); |
| 1593 unittest.expect(o.message, unittest.equals('foo')); | 1593 unittest.expect(o.message, unittest.equals('foo')); |
| 1594 } | 1594 } |
| 1595 buildCounterStatus--; | 1595 buildCounterStatus--; |
| 1596 } | 1596 } |
| 1597 | 1597 |
| 1598 core.int buildCounterSubmitJobRequest = 0; | 1598 core.int buildCounterSubmitJobRequest = 0; |
| 1599 buildSubmitJobRequest() { | 1599 buildSubmitJobRequest() { |
| 1600 var o = new api.SubmitJobRequest(); | 1600 var o = new api.SubmitJobRequest(); |
| 1601 buildCounterSubmitJobRequest++; | 1601 buildCounterSubmitJobRequest++; |
| 1602 if (buildCounterSubmitJobRequest < 3) { | 1602 if (buildCounterSubmitJobRequest < 3) { |
| (...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2959 res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize:
arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response)
{ | 2959 res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize:
arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse response)
{ |
| 2960 checkListOperationsResponse(response); | 2960 checkListOperationsResponse(response); |
| 2961 }))); | 2961 }))); |
| 2962 }); | 2962 }); |
| 2963 | 2963 |
| 2964 }); | 2964 }); |
| 2965 | 2965 |
| 2966 | 2966 |
| 2967 } | 2967 } |
| 2968 | 2968 |
| OLD | NEW |