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 buildUnnamed3481() { | 88 buildUnnamed3192() { |
89 var o = new core.Map<core.String, core.String>(); | 89 var o = new core.Map<core.String, core.String>(); |
90 o["x"] = "foo"; | 90 o["x"] = "foo"; |
91 o["y"] = "foo"; | 91 o["y"] = "foo"; |
92 return o; | 92 return o; |
93 } | 93 } |
94 | 94 |
95 checkUnnamed3481(core.Map<core.String, core.String> o) { | 95 checkUnnamed3192(core.Map<core.String, core.String> o) { |
96 unittest.expect(o, unittest.hasLength(2)); | 96 unittest.expect(o, unittest.hasLength(2)); |
97 unittest.expect(o["x"], unittest.equals('foo')); | 97 unittest.expect(o["x"], unittest.equals('foo')); |
98 unittest.expect(o["y"], unittest.equals('foo')); | 98 unittest.expect(o["y"], unittest.equals('foo')); |
99 } | 99 } |
100 | 100 |
101 buildUnnamed3482() { | 101 buildUnnamed3193() { |
102 var o = new core.List<api.ClusterStatus>(); | 102 var o = new core.List<api.ClusterStatus>(); |
103 o.add(buildClusterStatus()); | 103 o.add(buildClusterStatus()); |
104 o.add(buildClusterStatus()); | 104 o.add(buildClusterStatus()); |
105 return o; | 105 return o; |
106 } | 106 } |
107 | 107 |
108 checkUnnamed3482(core.List<api.ClusterStatus> o) { | 108 checkUnnamed3193(core.List<api.ClusterStatus> o) { |
109 unittest.expect(o, unittest.hasLength(2)); | 109 unittest.expect(o, unittest.hasLength(2)); |
110 checkClusterStatus(o[0]); | 110 checkClusterStatus(o[0]); |
111 checkClusterStatus(o[1]); | 111 checkClusterStatus(o[1]); |
112 } | 112 } |
113 | 113 |
114 core.int buildCounterCluster = 0; | 114 core.int buildCounterCluster = 0; |
115 buildCluster() { | 115 buildCluster() { |
116 var o = new api.Cluster(); | 116 var o = new api.Cluster(); |
117 buildCounterCluster++; | 117 buildCounterCluster++; |
118 if (buildCounterCluster < 3) { | 118 if (buildCounterCluster < 3) { |
119 o.clusterName = "foo"; | 119 o.clusterName = "foo"; |
120 o.clusterUuid = "foo"; | 120 o.clusterUuid = "foo"; |
121 o.configuration = buildClusterConfiguration(); | 121 o.configuration = buildClusterConfiguration(); |
122 o.labels = buildUnnamed3481(); | 122 o.labels = buildUnnamed3192(); |
123 o.metrics = buildClusterMetrics(); | 123 o.metrics = buildClusterMetrics(); |
124 o.projectId = "foo"; | 124 o.projectId = "foo"; |
125 o.status = buildClusterStatus(); | 125 o.status = buildClusterStatus(); |
126 o.statusHistory = buildUnnamed3482(); | 126 o.statusHistory = buildUnnamed3193(); |
127 } | 127 } |
128 buildCounterCluster--; | 128 buildCounterCluster--; |
129 return o; | 129 return o; |
130 } | 130 } |
131 | 131 |
132 checkCluster(api.Cluster o) { | 132 checkCluster(api.Cluster o) { |
133 buildCounterCluster++; | 133 buildCounterCluster++; |
134 if (buildCounterCluster < 3) { | 134 if (buildCounterCluster < 3) { |
135 unittest.expect(o.clusterName, unittest.equals('foo')); | 135 unittest.expect(o.clusterName, unittest.equals('foo')); |
136 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 136 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
137 checkClusterConfiguration(o.configuration); | 137 checkClusterConfiguration(o.configuration); |
138 checkUnnamed3481(o.labels); | 138 checkUnnamed3192(o.labels); |
139 checkClusterMetrics(o.metrics); | 139 checkClusterMetrics(o.metrics); |
140 unittest.expect(o.projectId, unittest.equals('foo')); | 140 unittest.expect(o.projectId, unittest.equals('foo')); |
141 checkClusterStatus(o.status); | 141 checkClusterStatus(o.status); |
142 checkUnnamed3482(o.statusHistory); | 142 checkUnnamed3193(o.statusHistory); |
143 } | 143 } |
144 buildCounterCluster--; | 144 buildCounterCluster--; |
145 } | 145 } |
146 | 146 |
147 buildUnnamed3483() { | 147 buildUnnamed3194() { |
148 var o = new core.List<api.NodeInitializationAction>(); | 148 var o = new core.List<api.NodeInitializationAction>(); |
149 o.add(buildNodeInitializationAction()); | 149 o.add(buildNodeInitializationAction()); |
150 o.add(buildNodeInitializationAction()); | 150 o.add(buildNodeInitializationAction()); |
151 return o; | 151 return o; |
152 } | 152 } |
153 | 153 |
154 checkUnnamed3483(core.List<api.NodeInitializationAction> o) { | 154 checkUnnamed3194(core.List<api.NodeInitializationAction> o) { |
155 unittest.expect(o, unittest.hasLength(2)); | 155 unittest.expect(o, unittest.hasLength(2)); |
156 checkNodeInitializationAction(o[0]); | 156 checkNodeInitializationAction(o[0]); |
157 checkNodeInitializationAction(o[1]); | 157 checkNodeInitializationAction(o[1]); |
158 } | 158 } |
159 | 159 |
160 core.int buildCounterClusterConfiguration = 0; | 160 core.int buildCounterClusterConfiguration = 0; |
161 buildClusterConfiguration() { | 161 buildClusterConfiguration() { |
162 var o = new api.ClusterConfiguration(); | 162 var o = new api.ClusterConfiguration(); |
163 buildCounterClusterConfiguration++; | 163 buildCounterClusterConfiguration++; |
164 if (buildCounterClusterConfiguration < 3) { | 164 if (buildCounterClusterConfiguration < 3) { |
165 o.configurationBucket = "foo"; | 165 o.configurationBucket = "foo"; |
166 o.gceClusterConfiguration = buildGceClusterConfiguration(); | 166 o.gceClusterConfiguration = buildGceClusterConfiguration(); |
167 o.initializationActions = buildUnnamed3483(); | 167 o.initializationActions = buildUnnamed3194(); |
168 o.masterConfiguration = buildInstanceGroupConfiguration(); | 168 o.masterConfiguration = buildInstanceGroupConfiguration(); |
169 o.secondaryWorkerConfiguration = buildInstanceGroupConfiguration(); | 169 o.secondaryWorkerConfiguration = buildInstanceGroupConfiguration(); |
170 o.softwareConfiguration = buildSoftwareConfiguration(); | 170 o.softwareConfiguration = buildSoftwareConfiguration(); |
171 o.workerConfiguration = buildInstanceGroupConfiguration(); | 171 o.workerConfiguration = buildInstanceGroupConfiguration(); |
172 } | 172 } |
173 buildCounterClusterConfiguration--; | 173 buildCounterClusterConfiguration--; |
174 return o; | 174 return o; |
175 } | 175 } |
176 | 176 |
177 checkClusterConfiguration(api.ClusterConfiguration o) { | 177 checkClusterConfiguration(api.ClusterConfiguration o) { |
178 buildCounterClusterConfiguration++; | 178 buildCounterClusterConfiguration++; |
179 if (buildCounterClusterConfiguration < 3) { | 179 if (buildCounterClusterConfiguration < 3) { |
180 unittest.expect(o.configurationBucket, unittest.equals('foo')); | 180 unittest.expect(o.configurationBucket, unittest.equals('foo')); |
181 checkGceClusterConfiguration(o.gceClusterConfiguration); | 181 checkGceClusterConfiguration(o.gceClusterConfiguration); |
182 checkUnnamed3483(o.initializationActions); | 182 checkUnnamed3194(o.initializationActions); |
183 checkInstanceGroupConfiguration(o.masterConfiguration); | 183 checkInstanceGroupConfiguration(o.masterConfiguration); |
184 checkInstanceGroupConfiguration(o.secondaryWorkerConfiguration); | 184 checkInstanceGroupConfiguration(o.secondaryWorkerConfiguration); |
185 checkSoftwareConfiguration(o.softwareConfiguration); | 185 checkSoftwareConfiguration(o.softwareConfiguration); |
186 checkInstanceGroupConfiguration(o.workerConfiguration); | 186 checkInstanceGroupConfiguration(o.workerConfiguration); |
187 } | 187 } |
188 buildCounterClusterConfiguration--; | 188 buildCounterClusterConfiguration--; |
189 } | 189 } |
190 | 190 |
191 buildUnnamed3484() { | 191 buildUnnamed3195() { |
192 var o = new core.Map<core.String, core.String>(); | 192 var o = new core.Map<core.String, core.String>(); |
193 o["x"] = "foo"; | 193 o["x"] = "foo"; |
194 o["y"] = "foo"; | 194 o["y"] = "foo"; |
195 return o; | 195 return o; |
196 } | 196 } |
197 | 197 |
198 checkUnnamed3484(core.Map<core.String, core.String> o) { | 198 checkUnnamed3195(core.Map<core.String, core.String> o) { |
199 unittest.expect(o, unittest.hasLength(2)); | 199 unittest.expect(o, unittest.hasLength(2)); |
200 unittest.expect(o["x"], unittest.equals('foo')); | 200 unittest.expect(o["x"], unittest.equals('foo')); |
201 unittest.expect(o["y"], unittest.equals('foo')); | 201 unittest.expect(o["y"], unittest.equals('foo')); |
202 } | 202 } |
203 | 203 |
204 buildUnnamed3485() { | 204 buildUnnamed3196() { |
205 var o = new core.Map<core.String, core.String>(); | 205 var o = new core.Map<core.String, core.String>(); |
206 o["x"] = "foo"; | 206 o["x"] = "foo"; |
207 o["y"] = "foo"; | 207 o["y"] = "foo"; |
208 return o; | 208 return o; |
209 } | 209 } |
210 | 210 |
211 checkUnnamed3485(core.Map<core.String, core.String> o) { | 211 checkUnnamed3196(core.Map<core.String, core.String> o) { |
212 unittest.expect(o, unittest.hasLength(2)); | 212 unittest.expect(o, unittest.hasLength(2)); |
213 unittest.expect(o["x"], unittest.equals('foo')); | 213 unittest.expect(o["x"], unittest.equals('foo')); |
214 unittest.expect(o["y"], unittest.equals('foo')); | 214 unittest.expect(o["y"], unittest.equals('foo')); |
215 } | 215 } |
216 | 216 |
217 core.int buildCounterClusterMetrics = 0; | 217 core.int buildCounterClusterMetrics = 0; |
218 buildClusterMetrics() { | 218 buildClusterMetrics() { |
219 var o = new api.ClusterMetrics(); | 219 var o = new api.ClusterMetrics(); |
220 buildCounterClusterMetrics++; | 220 buildCounterClusterMetrics++; |
221 if (buildCounterClusterMetrics < 3) { | 221 if (buildCounterClusterMetrics < 3) { |
222 o.hdfsMetrics = buildUnnamed3484(); | 222 o.hdfsMetrics = buildUnnamed3195(); |
223 o.yarnMetrics = buildUnnamed3485(); | 223 o.yarnMetrics = buildUnnamed3196(); |
224 } | 224 } |
225 buildCounterClusterMetrics--; | 225 buildCounterClusterMetrics--; |
226 return o; | 226 return o; |
227 } | 227 } |
228 | 228 |
229 checkClusterMetrics(api.ClusterMetrics o) { | 229 checkClusterMetrics(api.ClusterMetrics o) { |
230 buildCounterClusterMetrics++; | 230 buildCounterClusterMetrics++; |
231 if (buildCounterClusterMetrics < 3) { | 231 if (buildCounterClusterMetrics < 3) { |
232 checkUnnamed3484(o.hdfsMetrics); | 232 checkUnnamed3195(o.hdfsMetrics); |
233 checkUnnamed3485(o.yarnMetrics); | 233 checkUnnamed3196(o.yarnMetrics); |
234 } | 234 } |
235 buildCounterClusterMetrics--; | 235 buildCounterClusterMetrics--; |
236 } | 236 } |
237 | 237 |
238 buildUnnamed3486() { | 238 buildUnnamed3197() { |
239 var o = new core.Map<core.String, core.String>(); | 239 var o = new core.Map<core.String, core.String>(); |
240 o["x"] = "foo"; | 240 o["x"] = "foo"; |
241 o["y"] = "foo"; | 241 o["y"] = "foo"; |
242 return o; | 242 return o; |
243 } | 243 } |
244 | 244 |
245 checkUnnamed3486(core.Map<core.String, core.String> o) { | 245 checkUnnamed3197(core.Map<core.String, core.String> o) { |
246 unittest.expect(o, unittest.hasLength(2)); | 246 unittest.expect(o, unittest.hasLength(2)); |
247 unittest.expect(o["x"], unittest.equals('foo')); | 247 unittest.expect(o["x"], unittest.equals('foo')); |
248 unittest.expect(o["y"], unittest.equals('foo')); | 248 unittest.expect(o["y"], unittest.equals('foo')); |
249 } | 249 } |
250 | 250 |
251 buildUnnamed3487() { | 251 buildUnnamed3198() { |
252 var o = new core.List<api.ClusterOperationStatus>(); | 252 var o = new core.List<api.ClusterOperationStatus>(); |
253 o.add(buildClusterOperationStatus()); | 253 o.add(buildClusterOperationStatus()); |
254 o.add(buildClusterOperationStatus()); | 254 o.add(buildClusterOperationStatus()); |
255 return o; | 255 return o; |
256 } | 256 } |
257 | 257 |
258 checkUnnamed3487(core.List<api.ClusterOperationStatus> o) { | 258 checkUnnamed3198(core.List<api.ClusterOperationStatus> o) { |
259 unittest.expect(o, unittest.hasLength(2)); | 259 unittest.expect(o, unittest.hasLength(2)); |
260 checkClusterOperationStatus(o[0]); | 260 checkClusterOperationStatus(o[0]); |
261 checkClusterOperationStatus(o[1]); | 261 checkClusterOperationStatus(o[1]); |
262 } | 262 } |
263 | 263 |
264 core.int buildCounterClusterOperationMetadata = 0; | 264 core.int buildCounterClusterOperationMetadata = 0; |
265 buildClusterOperationMetadata() { | 265 buildClusterOperationMetadata() { |
266 var o = new api.ClusterOperationMetadata(); | 266 var o = new api.ClusterOperationMetadata(); |
267 buildCounterClusterOperationMetadata++; | 267 buildCounterClusterOperationMetadata++; |
268 if (buildCounterClusterOperationMetadata < 3) { | 268 if (buildCounterClusterOperationMetadata < 3) { |
269 o.clusterName = "foo"; | 269 o.clusterName = "foo"; |
270 o.clusterUuid = "foo"; | 270 o.clusterUuid = "foo"; |
271 o.description = "foo"; | 271 o.description = "foo"; |
272 o.labels = buildUnnamed3486(); | 272 o.labels = buildUnnamed3197(); |
273 o.operationType = "foo"; | 273 o.operationType = "foo"; |
274 o.status = buildClusterOperationStatus(); | 274 o.status = buildClusterOperationStatus(); |
275 o.statusHistory = buildUnnamed3487(); | 275 o.statusHistory = buildUnnamed3198(); |
276 } | 276 } |
277 buildCounterClusterOperationMetadata--; | 277 buildCounterClusterOperationMetadata--; |
278 return o; | 278 return o; |
279 } | 279 } |
280 | 280 |
281 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { | 281 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { |
282 buildCounterClusterOperationMetadata++; | 282 buildCounterClusterOperationMetadata++; |
283 if (buildCounterClusterOperationMetadata < 3) { | 283 if (buildCounterClusterOperationMetadata < 3) { |
284 unittest.expect(o.clusterName, unittest.equals('foo')); | 284 unittest.expect(o.clusterName, unittest.equals('foo')); |
285 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 285 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
286 unittest.expect(o.description, unittest.equals('foo')); | 286 unittest.expect(o.description, unittest.equals('foo')); |
287 checkUnnamed3486(o.labels); | 287 checkUnnamed3197(o.labels); |
288 unittest.expect(o.operationType, unittest.equals('foo')); | 288 unittest.expect(o.operationType, unittest.equals('foo')); |
289 checkClusterOperationStatus(o.status); | 289 checkClusterOperationStatus(o.status); |
290 checkUnnamed3487(o.statusHistory); | 290 checkUnnamed3198(o.statusHistory); |
291 } | 291 } |
292 buildCounterClusterOperationMetadata--; | 292 buildCounterClusterOperationMetadata--; |
293 } | 293 } |
294 | 294 |
295 core.int buildCounterClusterOperationStatus = 0; | 295 core.int buildCounterClusterOperationStatus = 0; |
296 buildClusterOperationStatus() { | 296 buildClusterOperationStatus() { |
297 var o = new api.ClusterOperationStatus(); | 297 var o = new api.ClusterOperationStatus(); |
298 buildCounterClusterOperationStatus++; | 298 buildCounterClusterOperationStatus++; |
299 if (buildCounterClusterOperationStatus < 3) { | 299 if (buildCounterClusterOperationStatus < 3) { |
300 o.details = "foo"; | 300 o.details = "foo"; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 return o; | 426 return o; |
427 } | 427 } |
428 | 428 |
429 checkEmpty(api.Empty o) { | 429 checkEmpty(api.Empty o) { |
430 buildCounterEmpty++; | 430 buildCounterEmpty++; |
431 if (buildCounterEmpty < 3) { | 431 if (buildCounterEmpty < 3) { |
432 } | 432 } |
433 buildCounterEmpty--; | 433 buildCounterEmpty--; |
434 } | 434 } |
435 | 435 |
436 buildUnnamed3488() { | 436 buildUnnamed3199() { |
437 var o = new core.Map<core.String, core.String>(); | 437 var o = new core.Map<core.String, core.String>(); |
438 o["x"] = "foo"; | 438 o["x"] = "foo"; |
439 o["y"] = "foo"; | 439 o["y"] = "foo"; |
440 return o; | 440 return o; |
441 } | 441 } |
442 | 442 |
443 checkUnnamed3488(core.Map<core.String, core.String> o) { | 443 checkUnnamed3199(core.Map<core.String, core.String> o) { |
444 unittest.expect(o, unittest.hasLength(2)); | 444 unittest.expect(o, unittest.hasLength(2)); |
445 unittest.expect(o["x"], unittest.equals('foo')); | 445 unittest.expect(o["x"], unittest.equals('foo')); |
446 unittest.expect(o["y"], unittest.equals('foo')); | 446 unittest.expect(o["y"], unittest.equals('foo')); |
447 } | 447 } |
448 | 448 |
449 buildUnnamed3489() { | 449 buildUnnamed3200() { |
450 var o = new core.List<core.String>(); | 450 var o = new core.List<core.String>(); |
451 o.add("foo"); | 451 o.add("foo"); |
452 o.add("foo"); | 452 o.add("foo"); |
453 return o; | 453 return o; |
454 } | 454 } |
455 | 455 |
456 checkUnnamed3489(core.List<core.String> o) { | 456 checkUnnamed3200(core.List<core.String> o) { |
457 unittest.expect(o, unittest.hasLength(2)); | 457 unittest.expect(o, unittest.hasLength(2)); |
458 unittest.expect(o[0], unittest.equals('foo')); | 458 unittest.expect(o[0], unittest.equals('foo')); |
459 unittest.expect(o[1], unittest.equals('foo')); | 459 unittest.expect(o[1], unittest.equals('foo')); |
460 } | 460 } |
461 | 461 |
462 buildUnnamed3490() { | 462 buildUnnamed3201() { |
463 var o = new core.List<core.String>(); | 463 var o = new core.List<core.String>(); |
464 o.add("foo"); | 464 o.add("foo"); |
465 o.add("foo"); | 465 o.add("foo"); |
466 return o; | 466 return o; |
467 } | 467 } |
468 | 468 |
469 checkUnnamed3490(core.List<core.String> o) { | 469 checkUnnamed3201(core.List<core.String> o) { |
470 unittest.expect(o, unittest.hasLength(2)); | 470 unittest.expect(o, unittest.hasLength(2)); |
471 unittest.expect(o[0], unittest.equals('foo')); | 471 unittest.expect(o[0], unittest.equals('foo')); |
472 unittest.expect(o[1], unittest.equals('foo')); | 472 unittest.expect(o[1], unittest.equals('foo')); |
473 } | 473 } |
474 | 474 |
475 core.int buildCounterGceClusterConfiguration = 0; | 475 core.int buildCounterGceClusterConfiguration = 0; |
476 buildGceClusterConfiguration() { | 476 buildGceClusterConfiguration() { |
477 var o = new api.GceClusterConfiguration(); | 477 var o = new api.GceClusterConfiguration(); |
478 buildCounterGceClusterConfiguration++; | 478 buildCounterGceClusterConfiguration++; |
479 if (buildCounterGceClusterConfiguration < 3) { | 479 if (buildCounterGceClusterConfiguration < 3) { |
480 o.internalIpOnly = true; | 480 o.internalIpOnly = true; |
481 o.metadata = buildUnnamed3488(); | 481 o.metadata = buildUnnamed3199(); |
482 o.networkUri = "foo"; | 482 o.networkUri = "foo"; |
483 o.serviceAccountScopes = buildUnnamed3489(); | 483 o.serviceAccountScopes = buildUnnamed3200(); |
484 o.subnetworkUri = "foo"; | 484 o.subnetworkUri = "foo"; |
485 o.tags = buildUnnamed3490(); | 485 o.tags = buildUnnamed3201(); |
486 o.zoneUri = "foo"; | 486 o.zoneUri = "foo"; |
487 } | 487 } |
488 buildCounterGceClusterConfiguration--; | 488 buildCounterGceClusterConfiguration--; |
489 return o; | 489 return o; |
490 } | 490 } |
491 | 491 |
492 checkGceClusterConfiguration(api.GceClusterConfiguration o) { | 492 checkGceClusterConfiguration(api.GceClusterConfiguration o) { |
493 buildCounterGceClusterConfiguration++; | 493 buildCounterGceClusterConfiguration++; |
494 if (buildCounterGceClusterConfiguration < 3) { | 494 if (buildCounterGceClusterConfiguration < 3) { |
495 unittest.expect(o.internalIpOnly, unittest.isTrue); | 495 unittest.expect(o.internalIpOnly, unittest.isTrue); |
496 checkUnnamed3488(o.metadata); | 496 checkUnnamed3199(o.metadata); |
497 unittest.expect(o.networkUri, unittest.equals('foo')); | 497 unittest.expect(o.networkUri, unittest.equals('foo')); |
498 checkUnnamed3489(o.serviceAccountScopes); | 498 checkUnnamed3200(o.serviceAccountScopes); |
499 unittest.expect(o.subnetworkUri, unittest.equals('foo')); | 499 unittest.expect(o.subnetworkUri, unittest.equals('foo')); |
500 checkUnnamed3490(o.tags); | 500 checkUnnamed3201(o.tags); |
501 unittest.expect(o.zoneUri, unittest.equals('foo')); | 501 unittest.expect(o.zoneUri, unittest.equals('foo')); |
502 } | 502 } |
503 buildCounterGceClusterConfiguration--; | 503 buildCounterGceClusterConfiguration--; |
504 } | 504 } |
505 | 505 |
506 buildUnnamed3491() { | 506 buildUnnamed3202() { |
507 var o = new core.List<core.String>(); | 507 var o = new core.List<core.String>(); |
508 o.add("foo"); | 508 o.add("foo"); |
509 o.add("foo"); | 509 o.add("foo"); |
510 return o; | 510 return o; |
511 } | 511 } |
512 | 512 |
513 checkUnnamed3491(core.List<core.String> o) { | 513 checkUnnamed3202(core.List<core.String> o) { |
514 unittest.expect(o, unittest.hasLength(2)); | 514 unittest.expect(o, unittest.hasLength(2)); |
515 unittest.expect(o[0], unittest.equals('foo')); | 515 unittest.expect(o[0], unittest.equals('foo')); |
516 unittest.expect(o[1], unittest.equals('foo')); | 516 unittest.expect(o[1], unittest.equals('foo')); |
517 } | 517 } |
518 | 518 |
519 buildUnnamed3492() { | 519 buildUnnamed3203() { |
520 var o = new core.List<core.String>(); | 520 var o = new core.List<core.String>(); |
521 o.add("foo"); | 521 o.add("foo"); |
522 o.add("foo"); | 522 o.add("foo"); |
523 return o; | 523 return o; |
524 } | 524 } |
525 | 525 |
526 checkUnnamed3492(core.List<core.String> o) { | 526 checkUnnamed3203(core.List<core.String> o) { |
527 unittest.expect(o, unittest.hasLength(2)); | 527 unittest.expect(o, unittest.hasLength(2)); |
528 unittest.expect(o[0], unittest.equals('foo')); | 528 unittest.expect(o[0], unittest.equals('foo')); |
529 unittest.expect(o[1], unittest.equals('foo')); | 529 unittest.expect(o[1], unittest.equals('foo')); |
530 } | 530 } |
531 | 531 |
532 buildUnnamed3493() { | 532 buildUnnamed3204() { |
533 var o = new core.List<core.String>(); | 533 var o = new core.List<core.String>(); |
534 o.add("foo"); | 534 o.add("foo"); |
535 o.add("foo"); | 535 o.add("foo"); |
536 return o; | 536 return o; |
537 } | 537 } |
538 | 538 |
539 checkUnnamed3493(core.List<core.String> o) { | 539 checkUnnamed3204(core.List<core.String> o) { |
540 unittest.expect(o, unittest.hasLength(2)); | 540 unittest.expect(o, unittest.hasLength(2)); |
541 unittest.expect(o[0], unittest.equals('foo')); | 541 unittest.expect(o[0], unittest.equals('foo')); |
542 unittest.expect(o[1], unittest.equals('foo')); | 542 unittest.expect(o[1], unittest.equals('foo')); |
543 } | 543 } |
544 | 544 |
545 buildUnnamed3494() { | 545 buildUnnamed3205() { |
546 var o = new core.List<core.String>(); | 546 var o = new core.List<core.String>(); |
547 o.add("foo"); | 547 o.add("foo"); |
548 o.add("foo"); | 548 o.add("foo"); |
549 return o; | 549 return o; |
550 } | 550 } |
551 | 551 |
552 checkUnnamed3494(core.List<core.String> o) { | 552 checkUnnamed3205(core.List<core.String> o) { |
553 unittest.expect(o, unittest.hasLength(2)); | 553 unittest.expect(o, unittest.hasLength(2)); |
554 unittest.expect(o[0], unittest.equals('foo')); | 554 unittest.expect(o[0], unittest.equals('foo')); |
555 unittest.expect(o[1], unittest.equals('foo')); | 555 unittest.expect(o[1], unittest.equals('foo')); |
556 } | 556 } |
557 | 557 |
558 buildUnnamed3495() { | 558 buildUnnamed3206() { |
559 var o = new core.Map<core.String, core.String>(); | 559 var o = new core.Map<core.String, core.String>(); |
560 o["x"] = "foo"; | 560 o["x"] = "foo"; |
561 o["y"] = "foo"; | 561 o["y"] = "foo"; |
562 return o; | 562 return o; |
563 } | 563 } |
564 | 564 |
565 checkUnnamed3495(core.Map<core.String, core.String> o) { | 565 checkUnnamed3206(core.Map<core.String, core.String> o) { |
566 unittest.expect(o, unittest.hasLength(2)); | 566 unittest.expect(o, unittest.hasLength(2)); |
567 unittest.expect(o["x"], unittest.equals('foo')); | 567 unittest.expect(o["x"], unittest.equals('foo')); |
568 unittest.expect(o["y"], unittest.equals('foo')); | 568 unittest.expect(o["y"], unittest.equals('foo')); |
569 } | 569 } |
570 | 570 |
571 core.int buildCounterHadoopJob = 0; | 571 core.int buildCounterHadoopJob = 0; |
572 buildHadoopJob() { | 572 buildHadoopJob() { |
573 var o = new api.HadoopJob(); | 573 var o = new api.HadoopJob(); |
574 buildCounterHadoopJob++; | 574 buildCounterHadoopJob++; |
575 if (buildCounterHadoopJob < 3) { | 575 if (buildCounterHadoopJob < 3) { |
576 o.archiveUris = buildUnnamed3491(); | 576 o.archiveUris = buildUnnamed3202(); |
577 o.args = buildUnnamed3492(); | 577 o.args = buildUnnamed3203(); |
578 o.fileUris = buildUnnamed3493(); | 578 o.fileUris = buildUnnamed3204(); |
579 o.jarFileUris = buildUnnamed3494(); | 579 o.jarFileUris = buildUnnamed3205(); |
580 o.loggingConfiguration = buildLoggingConfiguration(); | 580 o.loggingConfiguration = buildLoggingConfiguration(); |
581 o.mainClass = "foo"; | 581 o.mainClass = "foo"; |
582 o.mainJarFileUri = "foo"; | 582 o.mainJarFileUri = "foo"; |
583 o.properties = buildUnnamed3495(); | 583 o.properties = buildUnnamed3206(); |
584 } | 584 } |
585 buildCounterHadoopJob--; | 585 buildCounterHadoopJob--; |
586 return o; | 586 return o; |
587 } | 587 } |
588 | 588 |
589 checkHadoopJob(api.HadoopJob o) { | 589 checkHadoopJob(api.HadoopJob o) { |
590 buildCounterHadoopJob++; | 590 buildCounterHadoopJob++; |
591 if (buildCounterHadoopJob < 3) { | 591 if (buildCounterHadoopJob < 3) { |
592 checkUnnamed3491(o.archiveUris); | 592 checkUnnamed3202(o.archiveUris); |
593 checkUnnamed3492(o.args); | 593 checkUnnamed3203(o.args); |
594 checkUnnamed3493(o.fileUris); | 594 checkUnnamed3204(o.fileUris); |
595 checkUnnamed3494(o.jarFileUris); | 595 checkUnnamed3205(o.jarFileUris); |
596 checkLoggingConfiguration(o.loggingConfiguration); | 596 checkLoggingConfiguration(o.loggingConfiguration); |
597 unittest.expect(o.mainClass, unittest.equals('foo')); | 597 unittest.expect(o.mainClass, unittest.equals('foo')); |
598 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 598 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
599 checkUnnamed3495(o.properties); | 599 checkUnnamed3206(o.properties); |
600 } | 600 } |
601 buildCounterHadoopJob--; | 601 buildCounterHadoopJob--; |
602 } | 602 } |
603 | 603 |
604 buildUnnamed3496() { | 604 buildUnnamed3207() { |
605 var o = new core.List<core.String>(); | 605 var o = new core.List<core.String>(); |
606 o.add("foo"); | 606 o.add("foo"); |
607 o.add("foo"); | 607 o.add("foo"); |
608 return o; | 608 return o; |
609 } | 609 } |
610 | 610 |
611 checkUnnamed3496(core.List<core.String> o) { | 611 checkUnnamed3207(core.List<core.String> o) { |
612 unittest.expect(o, unittest.hasLength(2)); | 612 unittest.expect(o, unittest.hasLength(2)); |
613 unittest.expect(o[0], unittest.equals('foo')); | 613 unittest.expect(o[0], unittest.equals('foo')); |
614 unittest.expect(o[1], unittest.equals('foo')); | 614 unittest.expect(o[1], unittest.equals('foo')); |
615 } | 615 } |
616 | 616 |
617 buildUnnamed3497() { | 617 buildUnnamed3208() { |
618 var o = new core.Map<core.String, core.String>(); | 618 var o = new core.Map<core.String, core.String>(); |
619 o["x"] = "foo"; | 619 o["x"] = "foo"; |
620 o["y"] = "foo"; | 620 o["y"] = "foo"; |
621 return o; | 621 return o; |
622 } | 622 } |
623 | 623 |
624 checkUnnamed3497(core.Map<core.String, core.String> o) { | 624 checkUnnamed3208(core.Map<core.String, core.String> o) { |
625 unittest.expect(o, unittest.hasLength(2)); | 625 unittest.expect(o, unittest.hasLength(2)); |
626 unittest.expect(o["x"], unittest.equals('foo')); | 626 unittest.expect(o["x"], unittest.equals('foo')); |
627 unittest.expect(o["y"], unittest.equals('foo')); | 627 unittest.expect(o["y"], unittest.equals('foo')); |
628 } | 628 } |
629 | 629 |
630 buildUnnamed3498() { | 630 buildUnnamed3209() { |
631 var o = new core.Map<core.String, core.String>(); | 631 var o = new core.Map<core.String, core.String>(); |
632 o["x"] = "foo"; | 632 o["x"] = "foo"; |
633 o["y"] = "foo"; | 633 o["y"] = "foo"; |
634 return o; | 634 return o; |
635 } | 635 } |
636 | 636 |
637 checkUnnamed3498(core.Map<core.String, core.String> o) { | 637 checkUnnamed3209(core.Map<core.String, core.String> o) { |
638 unittest.expect(o, unittest.hasLength(2)); | 638 unittest.expect(o, unittest.hasLength(2)); |
639 unittest.expect(o["x"], unittest.equals('foo')); | 639 unittest.expect(o["x"], unittest.equals('foo')); |
640 unittest.expect(o["y"], unittest.equals('foo')); | 640 unittest.expect(o["y"], unittest.equals('foo')); |
641 } | 641 } |
642 | 642 |
643 core.int buildCounterHiveJob = 0; | 643 core.int buildCounterHiveJob = 0; |
644 buildHiveJob() { | 644 buildHiveJob() { |
645 var o = new api.HiveJob(); | 645 var o = new api.HiveJob(); |
646 buildCounterHiveJob++; | 646 buildCounterHiveJob++; |
647 if (buildCounterHiveJob < 3) { | 647 if (buildCounterHiveJob < 3) { |
648 o.continueOnFailure = true; | 648 o.continueOnFailure = true; |
649 o.jarFileUris = buildUnnamed3496(); | 649 o.jarFileUris = buildUnnamed3207(); |
650 o.properties = buildUnnamed3497(); | 650 o.properties = buildUnnamed3208(); |
651 o.queryFileUri = "foo"; | 651 o.queryFileUri = "foo"; |
652 o.queryList = buildQueryList(); | 652 o.queryList = buildQueryList(); |
653 o.scriptVariables = buildUnnamed3498(); | 653 o.scriptVariables = buildUnnamed3209(); |
654 } | 654 } |
655 buildCounterHiveJob--; | 655 buildCounterHiveJob--; |
656 return o; | 656 return o; |
657 } | 657 } |
658 | 658 |
659 checkHiveJob(api.HiveJob o) { | 659 checkHiveJob(api.HiveJob o) { |
660 buildCounterHiveJob++; | 660 buildCounterHiveJob++; |
661 if (buildCounterHiveJob < 3) { | 661 if (buildCounterHiveJob < 3) { |
662 unittest.expect(o.continueOnFailure, unittest.isTrue); | 662 unittest.expect(o.continueOnFailure, unittest.isTrue); |
663 checkUnnamed3496(o.jarFileUris); | 663 checkUnnamed3207(o.jarFileUris); |
664 checkUnnamed3497(o.properties); | 664 checkUnnamed3208(o.properties); |
665 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 665 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
666 checkQueryList(o.queryList); | 666 checkQueryList(o.queryList); |
667 checkUnnamed3498(o.scriptVariables); | 667 checkUnnamed3209(o.scriptVariables); |
668 } | 668 } |
669 buildCounterHiveJob--; | 669 buildCounterHiveJob--; |
670 } | 670 } |
671 | 671 |
672 buildUnnamed3499() { | 672 buildUnnamed3210() { |
673 var o = new core.List<core.String>(); | 673 var o = new core.List<core.String>(); |
674 o.add("foo"); | 674 o.add("foo"); |
675 o.add("foo"); | 675 o.add("foo"); |
676 return o; | 676 return o; |
677 } | 677 } |
678 | 678 |
679 checkUnnamed3499(core.List<core.String> o) { | 679 checkUnnamed3210(core.List<core.String> o) { |
680 unittest.expect(o, unittest.hasLength(2)); | 680 unittest.expect(o, unittest.hasLength(2)); |
681 unittest.expect(o[0], unittest.equals('foo')); | 681 unittest.expect(o[0], unittest.equals('foo')); |
682 unittest.expect(o[1], unittest.equals('foo')); | 682 unittest.expect(o[1], unittest.equals('foo')); |
683 } | 683 } |
684 | 684 |
685 core.int buildCounterInstanceGroupConfiguration = 0; | 685 core.int buildCounterInstanceGroupConfiguration = 0; |
686 buildInstanceGroupConfiguration() { | 686 buildInstanceGroupConfiguration() { |
687 var o = new api.InstanceGroupConfiguration(); | 687 var o = new api.InstanceGroupConfiguration(); |
688 buildCounterInstanceGroupConfiguration++; | 688 buildCounterInstanceGroupConfiguration++; |
689 if (buildCounterInstanceGroupConfiguration < 3) { | 689 if (buildCounterInstanceGroupConfiguration < 3) { |
690 o.diskConfiguration = buildDiskConfiguration(); | 690 o.diskConfiguration = buildDiskConfiguration(); |
691 o.imageUri = "foo"; | 691 o.imageUri = "foo"; |
692 o.instanceNames = buildUnnamed3499(); | 692 o.instanceNames = buildUnnamed3210(); |
693 o.isPreemptible = true; | 693 o.isPreemptible = true; |
694 o.machineTypeUri = "foo"; | 694 o.machineTypeUri = "foo"; |
695 o.managedGroupConfiguration = buildManagedGroupConfiguration(); | 695 o.managedGroupConfiguration = buildManagedGroupConfiguration(); |
696 o.numInstances = 42; | 696 o.numInstances = 42; |
697 } | 697 } |
698 buildCounterInstanceGroupConfiguration--; | 698 buildCounterInstanceGroupConfiguration--; |
699 return o; | 699 return o; |
700 } | 700 } |
701 | 701 |
702 checkInstanceGroupConfiguration(api.InstanceGroupConfiguration o) { | 702 checkInstanceGroupConfiguration(api.InstanceGroupConfiguration o) { |
703 buildCounterInstanceGroupConfiguration++; | 703 buildCounterInstanceGroupConfiguration++; |
704 if (buildCounterInstanceGroupConfiguration < 3) { | 704 if (buildCounterInstanceGroupConfiguration < 3) { |
705 checkDiskConfiguration(o.diskConfiguration); | 705 checkDiskConfiguration(o.diskConfiguration); |
706 unittest.expect(o.imageUri, unittest.equals('foo')); | 706 unittest.expect(o.imageUri, unittest.equals('foo')); |
707 checkUnnamed3499(o.instanceNames); | 707 checkUnnamed3210(o.instanceNames); |
708 unittest.expect(o.isPreemptible, unittest.isTrue); | 708 unittest.expect(o.isPreemptible, unittest.isTrue); |
709 unittest.expect(o.machineTypeUri, unittest.equals('foo')); | 709 unittest.expect(o.machineTypeUri, unittest.equals('foo')); |
710 checkManagedGroupConfiguration(o.managedGroupConfiguration); | 710 checkManagedGroupConfiguration(o.managedGroupConfiguration); |
711 unittest.expect(o.numInstances, unittest.equals(42)); | 711 unittest.expect(o.numInstances, unittest.equals(42)); |
712 } | 712 } |
713 buildCounterInstanceGroupConfiguration--; | 713 buildCounterInstanceGroupConfiguration--; |
714 } | 714 } |
715 | 715 |
716 buildUnnamed3500() { | 716 buildUnnamed3211() { |
717 var o = new core.Map<core.String, core.String>(); | 717 var o = new core.Map<core.String, core.String>(); |
718 o["x"] = "foo"; | 718 o["x"] = "foo"; |
719 o["y"] = "foo"; | 719 o["y"] = "foo"; |
720 return o; | 720 return o; |
721 } | 721 } |
722 | 722 |
723 checkUnnamed3500(core.Map<core.String, core.String> o) { | 723 checkUnnamed3211(core.Map<core.String, core.String> o) { |
724 unittest.expect(o, unittest.hasLength(2)); | 724 unittest.expect(o, unittest.hasLength(2)); |
725 unittest.expect(o["x"], unittest.equals('foo')); | 725 unittest.expect(o["x"], unittest.equals('foo')); |
726 unittest.expect(o["y"], unittest.equals('foo')); | 726 unittest.expect(o["y"], unittest.equals('foo')); |
727 } | 727 } |
728 | 728 |
729 buildUnnamed3501() { | 729 buildUnnamed3212() { |
730 var o = new core.List<api.JobStatus>(); | 730 var o = new core.List<api.JobStatus>(); |
731 o.add(buildJobStatus()); | 731 o.add(buildJobStatus()); |
732 o.add(buildJobStatus()); | 732 o.add(buildJobStatus()); |
733 return o; | 733 return o; |
734 } | 734 } |
735 | 735 |
736 checkUnnamed3501(core.List<api.JobStatus> o) { | 736 checkUnnamed3212(core.List<api.JobStatus> o) { |
737 unittest.expect(o, unittest.hasLength(2)); | 737 unittest.expect(o, unittest.hasLength(2)); |
738 checkJobStatus(o[0]); | 738 checkJobStatus(o[0]); |
739 checkJobStatus(o[1]); | 739 checkJobStatus(o[1]); |
740 } | 740 } |
741 | 741 |
742 buildUnnamed3502() { | 742 buildUnnamed3213() { |
743 var o = new core.List<api.YarnApplication>(); | 743 var o = new core.List<api.YarnApplication>(); |
744 o.add(buildYarnApplication()); | 744 o.add(buildYarnApplication()); |
745 o.add(buildYarnApplication()); | 745 o.add(buildYarnApplication()); |
746 return o; | 746 return o; |
747 } | 747 } |
748 | 748 |
749 checkUnnamed3502(core.List<api.YarnApplication> o) { | 749 checkUnnamed3213(core.List<api.YarnApplication> o) { |
750 unittest.expect(o, unittest.hasLength(2)); | 750 unittest.expect(o, unittest.hasLength(2)); |
751 checkYarnApplication(o[0]); | 751 checkYarnApplication(o[0]); |
752 checkYarnApplication(o[1]); | 752 checkYarnApplication(o[1]); |
753 } | 753 } |
754 | 754 |
755 core.int buildCounterJob = 0; | 755 core.int buildCounterJob = 0; |
756 buildJob() { | 756 buildJob() { |
757 var o = new api.Job(); | 757 var o = new api.Job(); |
758 buildCounterJob++; | 758 buildCounterJob++; |
759 if (buildCounterJob < 3) { | 759 if (buildCounterJob < 3) { |
760 o.driverControlFilesUri = "foo"; | 760 o.driverControlFilesUri = "foo"; |
761 o.driverInputResourceUri = "foo"; | 761 o.driverInputResourceUri = "foo"; |
762 o.driverOutputResourceUri = "foo"; | 762 o.driverOutputResourceUri = "foo"; |
763 o.hadoopJob = buildHadoopJob(); | 763 o.hadoopJob = buildHadoopJob(); |
764 o.hiveJob = buildHiveJob(); | 764 o.hiveJob = buildHiveJob(); |
765 o.interactive = true; | 765 o.interactive = true; |
766 o.labels = buildUnnamed3500(); | 766 o.labels = buildUnnamed3211(); |
767 o.pigJob = buildPigJob(); | 767 o.pigJob = buildPigJob(); |
768 o.placement = buildJobPlacement(); | 768 o.placement = buildJobPlacement(); |
769 o.pysparkJob = buildPySparkJob(); | 769 o.pysparkJob = buildPySparkJob(); |
770 o.reference = buildJobReference(); | 770 o.reference = buildJobReference(); |
771 o.sparkJob = buildSparkJob(); | 771 o.sparkJob = buildSparkJob(); |
772 o.sparkSqlJob = buildSparkSqlJob(); | 772 o.sparkSqlJob = buildSparkSqlJob(); |
773 o.status = buildJobStatus(); | 773 o.status = buildJobStatus(); |
774 o.statusHistory = buildUnnamed3501(); | 774 o.statusHistory = buildUnnamed3212(); |
775 o.submittedBy = "foo"; | 775 o.submittedBy = "foo"; |
776 o.yarnApplications = buildUnnamed3502(); | 776 o.yarnApplications = buildUnnamed3213(); |
777 } | 777 } |
778 buildCounterJob--; | 778 buildCounterJob--; |
779 return o; | 779 return o; |
780 } | 780 } |
781 | 781 |
782 checkJob(api.Job o) { | 782 checkJob(api.Job o) { |
783 buildCounterJob++; | 783 buildCounterJob++; |
784 if (buildCounterJob < 3) { | 784 if (buildCounterJob < 3) { |
785 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); | 785 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); |
786 unittest.expect(o.driverInputResourceUri, unittest.equals('foo')); | 786 unittest.expect(o.driverInputResourceUri, unittest.equals('foo')); |
787 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); | 787 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); |
788 checkHadoopJob(o.hadoopJob); | 788 checkHadoopJob(o.hadoopJob); |
789 checkHiveJob(o.hiveJob); | 789 checkHiveJob(o.hiveJob); |
790 unittest.expect(o.interactive, unittest.isTrue); | 790 unittest.expect(o.interactive, unittest.isTrue); |
791 checkUnnamed3500(o.labels); | 791 checkUnnamed3211(o.labels); |
792 checkPigJob(o.pigJob); | 792 checkPigJob(o.pigJob); |
793 checkJobPlacement(o.placement); | 793 checkJobPlacement(o.placement); |
794 checkPySparkJob(o.pysparkJob); | 794 checkPySparkJob(o.pysparkJob); |
795 checkJobReference(o.reference); | 795 checkJobReference(o.reference); |
796 checkSparkJob(o.sparkJob); | 796 checkSparkJob(o.sparkJob); |
797 checkSparkSqlJob(o.sparkSqlJob); | 797 checkSparkSqlJob(o.sparkSqlJob); |
798 checkJobStatus(o.status); | 798 checkJobStatus(o.status); |
799 checkUnnamed3501(o.statusHistory); | 799 checkUnnamed3212(o.statusHistory); |
800 unittest.expect(o.submittedBy, unittest.equals('foo')); | 800 unittest.expect(o.submittedBy, unittest.equals('foo')); |
801 checkUnnamed3502(o.yarnApplications); | 801 checkUnnamed3213(o.yarnApplications); |
802 } | 802 } |
803 buildCounterJob--; | 803 buildCounterJob--; |
804 } | 804 } |
805 | 805 |
806 core.int buildCounterJobPlacement = 0; | 806 core.int buildCounterJobPlacement = 0; |
807 buildJobPlacement() { | 807 buildJobPlacement() { |
808 var o = new api.JobPlacement(); | 808 var o = new api.JobPlacement(); |
809 buildCounterJobPlacement++; | 809 buildCounterJobPlacement++; |
810 if (buildCounterJobPlacement < 3) { | 810 if (buildCounterJobPlacement < 3) { |
811 o.clusterName = "foo"; | 811 o.clusterName = "foo"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 checkJobStatus(api.JobStatus o) { | 861 checkJobStatus(api.JobStatus o) { |
862 buildCounterJobStatus++; | 862 buildCounterJobStatus++; |
863 if (buildCounterJobStatus < 3) { | 863 if (buildCounterJobStatus < 3) { |
864 unittest.expect(o.details, unittest.equals('foo')); | 864 unittest.expect(o.details, unittest.equals('foo')); |
865 unittest.expect(o.state, unittest.equals('foo')); | 865 unittest.expect(o.state, unittest.equals('foo')); |
866 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 866 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
867 } | 867 } |
868 buildCounterJobStatus--; | 868 buildCounterJobStatus--; |
869 } | 869 } |
870 | 870 |
871 buildUnnamed3503() { | 871 buildUnnamed3214() { |
872 var o = new core.List<api.Cluster>(); | 872 var o = new core.List<api.Cluster>(); |
873 o.add(buildCluster()); | 873 o.add(buildCluster()); |
874 o.add(buildCluster()); | 874 o.add(buildCluster()); |
875 return o; | 875 return o; |
876 } | 876 } |
877 | 877 |
878 checkUnnamed3503(core.List<api.Cluster> o) { | 878 checkUnnamed3214(core.List<api.Cluster> o) { |
879 unittest.expect(o, unittest.hasLength(2)); | 879 unittest.expect(o, unittest.hasLength(2)); |
880 checkCluster(o[0]); | 880 checkCluster(o[0]); |
881 checkCluster(o[1]); | 881 checkCluster(o[1]); |
882 } | 882 } |
883 | 883 |
884 core.int buildCounterListClustersResponse = 0; | 884 core.int buildCounterListClustersResponse = 0; |
885 buildListClustersResponse() { | 885 buildListClustersResponse() { |
886 var o = new api.ListClustersResponse(); | 886 var o = new api.ListClustersResponse(); |
887 buildCounterListClustersResponse++; | 887 buildCounterListClustersResponse++; |
888 if (buildCounterListClustersResponse < 3) { | 888 if (buildCounterListClustersResponse < 3) { |
889 o.clusters = buildUnnamed3503(); | 889 o.clusters = buildUnnamed3214(); |
890 o.nextPageToken = "foo"; | 890 o.nextPageToken = "foo"; |
891 } | 891 } |
892 buildCounterListClustersResponse--; | 892 buildCounterListClustersResponse--; |
893 return o; | 893 return o; |
894 } | 894 } |
895 | 895 |
896 checkListClustersResponse(api.ListClustersResponse o) { | 896 checkListClustersResponse(api.ListClustersResponse o) { |
897 buildCounterListClustersResponse++; | 897 buildCounterListClustersResponse++; |
898 if (buildCounterListClustersResponse < 3) { | 898 if (buildCounterListClustersResponse < 3) { |
899 checkUnnamed3503(o.clusters); | 899 checkUnnamed3214(o.clusters); |
900 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 900 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
901 } | 901 } |
902 buildCounterListClustersResponse--; | 902 buildCounterListClustersResponse--; |
903 } | 903 } |
904 | 904 |
905 buildUnnamed3504() { | 905 buildUnnamed3215() { |
906 var o = new core.List<api.Job>(); | 906 var o = new core.List<api.Job>(); |
907 o.add(buildJob()); | 907 o.add(buildJob()); |
908 o.add(buildJob()); | 908 o.add(buildJob()); |
909 return o; | 909 return o; |
910 } | 910 } |
911 | 911 |
912 checkUnnamed3504(core.List<api.Job> o) { | 912 checkUnnamed3215(core.List<api.Job> o) { |
913 unittest.expect(o, unittest.hasLength(2)); | 913 unittest.expect(o, unittest.hasLength(2)); |
914 checkJob(o[0]); | 914 checkJob(o[0]); |
915 checkJob(o[1]); | 915 checkJob(o[1]); |
916 } | 916 } |
917 | 917 |
918 core.int buildCounterListJobsResponse = 0; | 918 core.int buildCounterListJobsResponse = 0; |
919 buildListJobsResponse() { | 919 buildListJobsResponse() { |
920 var o = new api.ListJobsResponse(); | 920 var o = new api.ListJobsResponse(); |
921 buildCounterListJobsResponse++; | 921 buildCounterListJobsResponse++; |
922 if (buildCounterListJobsResponse < 3) { | 922 if (buildCounterListJobsResponse < 3) { |
923 o.jobs = buildUnnamed3504(); | 923 o.jobs = buildUnnamed3215(); |
924 o.nextPageToken = "foo"; | 924 o.nextPageToken = "foo"; |
925 } | 925 } |
926 buildCounterListJobsResponse--; | 926 buildCounterListJobsResponse--; |
927 return o; | 927 return o; |
928 } | 928 } |
929 | 929 |
930 checkListJobsResponse(api.ListJobsResponse o) { | 930 checkListJobsResponse(api.ListJobsResponse o) { |
931 buildCounterListJobsResponse++; | 931 buildCounterListJobsResponse++; |
932 if (buildCounterListJobsResponse < 3) { | 932 if (buildCounterListJobsResponse < 3) { |
933 checkUnnamed3504(o.jobs); | 933 checkUnnamed3215(o.jobs); |
934 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 934 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
935 } | 935 } |
936 buildCounterListJobsResponse--; | 936 buildCounterListJobsResponse--; |
937 } | 937 } |
938 | 938 |
939 buildUnnamed3505() { | 939 buildUnnamed3216() { |
940 var o = new core.List<api.Operation>(); | 940 var o = new core.List<api.Operation>(); |
941 o.add(buildOperation()); | 941 o.add(buildOperation()); |
942 o.add(buildOperation()); | 942 o.add(buildOperation()); |
943 return o; | 943 return o; |
944 } | 944 } |
945 | 945 |
946 checkUnnamed3505(core.List<api.Operation> o) { | 946 checkUnnamed3216(core.List<api.Operation> o) { |
947 unittest.expect(o, unittest.hasLength(2)); | 947 unittest.expect(o, unittest.hasLength(2)); |
948 checkOperation(o[0]); | 948 checkOperation(o[0]); |
949 checkOperation(o[1]); | 949 checkOperation(o[1]); |
950 } | 950 } |
951 | 951 |
952 core.int buildCounterListOperationsResponse = 0; | 952 core.int buildCounterListOperationsResponse = 0; |
953 buildListOperationsResponse() { | 953 buildListOperationsResponse() { |
954 var o = new api.ListOperationsResponse(); | 954 var o = new api.ListOperationsResponse(); |
955 buildCounterListOperationsResponse++; | 955 buildCounterListOperationsResponse++; |
956 if (buildCounterListOperationsResponse < 3) { | 956 if (buildCounterListOperationsResponse < 3) { |
957 o.nextPageToken = "foo"; | 957 o.nextPageToken = "foo"; |
958 o.operations = buildUnnamed3505(); | 958 o.operations = buildUnnamed3216(); |
959 } | 959 } |
960 buildCounterListOperationsResponse--; | 960 buildCounterListOperationsResponse--; |
961 return o; | 961 return o; |
962 } | 962 } |
963 | 963 |
964 checkListOperationsResponse(api.ListOperationsResponse o) { | 964 checkListOperationsResponse(api.ListOperationsResponse o) { |
965 buildCounterListOperationsResponse++; | 965 buildCounterListOperationsResponse++; |
966 if (buildCounterListOperationsResponse < 3) { | 966 if (buildCounterListOperationsResponse < 3) { |
967 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 967 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
968 checkUnnamed3505(o.operations); | 968 checkUnnamed3216(o.operations); |
969 } | 969 } |
970 buildCounterListOperationsResponse--; | 970 buildCounterListOperationsResponse--; |
971 } | 971 } |
972 | 972 |
973 buildUnnamed3506() { | 973 buildUnnamed3217() { |
974 var o = new core.Map<core.String, core.String>(); | 974 var o = new core.Map<core.String, core.String>(); |
975 o["x"] = "foo"; | 975 o["x"] = "foo"; |
976 o["y"] = "foo"; | 976 o["y"] = "foo"; |
977 return o; | 977 return o; |
978 } | 978 } |
979 | 979 |
980 checkUnnamed3506(core.Map<core.String, core.String> o) { | 980 checkUnnamed3217(core.Map<core.String, core.String> o) { |
981 unittest.expect(o, unittest.hasLength(2)); | 981 unittest.expect(o, unittest.hasLength(2)); |
982 unittest.expect(o["x"], unittest.equals('foo')); | 982 unittest.expect(o["x"], unittest.equals('foo')); |
983 unittest.expect(o["y"], unittest.equals('foo')); | 983 unittest.expect(o["y"], unittest.equals('foo')); |
984 } | 984 } |
985 | 985 |
986 core.int buildCounterLoggingConfiguration = 0; | 986 core.int buildCounterLoggingConfiguration = 0; |
987 buildLoggingConfiguration() { | 987 buildLoggingConfiguration() { |
988 var o = new api.LoggingConfiguration(); | 988 var o = new api.LoggingConfiguration(); |
989 buildCounterLoggingConfiguration++; | 989 buildCounterLoggingConfiguration++; |
990 if (buildCounterLoggingConfiguration < 3) { | 990 if (buildCounterLoggingConfiguration < 3) { |
991 o.driverLogLevels = buildUnnamed3506(); | 991 o.driverLogLevels = buildUnnamed3217(); |
992 } | 992 } |
993 buildCounterLoggingConfiguration--; | 993 buildCounterLoggingConfiguration--; |
994 return o; | 994 return o; |
995 } | 995 } |
996 | 996 |
997 checkLoggingConfiguration(api.LoggingConfiguration o) { | 997 checkLoggingConfiguration(api.LoggingConfiguration o) { |
998 buildCounterLoggingConfiguration++; | 998 buildCounterLoggingConfiguration++; |
999 if (buildCounterLoggingConfiguration < 3) { | 999 if (buildCounterLoggingConfiguration < 3) { |
1000 checkUnnamed3506(o.driverLogLevels); | 1000 checkUnnamed3217(o.driverLogLevels); |
1001 } | 1001 } |
1002 buildCounterLoggingConfiguration--; | 1002 buildCounterLoggingConfiguration--; |
1003 } | 1003 } |
1004 | 1004 |
1005 core.int buildCounterManagedGroupConfiguration = 0; | 1005 core.int buildCounterManagedGroupConfiguration = 0; |
1006 buildManagedGroupConfiguration() { | 1006 buildManagedGroupConfiguration() { |
1007 var o = new api.ManagedGroupConfiguration(); | 1007 var o = new api.ManagedGroupConfiguration(); |
1008 buildCounterManagedGroupConfiguration++; | 1008 buildCounterManagedGroupConfiguration++; |
1009 if (buildCounterManagedGroupConfiguration < 3) { | 1009 if (buildCounterManagedGroupConfiguration < 3) { |
1010 o.instanceGroupManagerName = "foo"; | 1010 o.instanceGroupManagerName = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
1037 | 1037 |
1038 checkNodeInitializationAction(api.NodeInitializationAction o) { | 1038 checkNodeInitializationAction(api.NodeInitializationAction o) { |
1039 buildCounterNodeInitializationAction++; | 1039 buildCounterNodeInitializationAction++; |
1040 if (buildCounterNodeInitializationAction < 3) { | 1040 if (buildCounterNodeInitializationAction < 3) { |
1041 unittest.expect(o.executableFile, unittest.equals('foo')); | 1041 unittest.expect(o.executableFile, unittest.equals('foo')); |
1042 unittest.expect(o.executionTimeout, unittest.equals('foo')); | 1042 unittest.expect(o.executionTimeout, unittest.equals('foo')); |
1043 } | 1043 } |
1044 buildCounterNodeInitializationAction--; | 1044 buildCounterNodeInitializationAction--; |
1045 } | 1045 } |
1046 | 1046 |
1047 buildUnnamed3507() { | 1047 buildUnnamed3218() { |
1048 var o = new core.Map<core.String, core.Object>(); | 1048 var o = new core.Map<core.String, core.Object>(); |
1049 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1049 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1050 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1050 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1051 return o; | 1051 return o; |
1052 } | 1052 } |
1053 | 1053 |
1054 checkUnnamed3507(core.Map<core.String, core.Object> o) { | 1054 checkUnnamed3218(core.Map<core.String, core.Object> o) { |
1055 unittest.expect(o, unittest.hasLength(2)); | 1055 unittest.expect(o, unittest.hasLength(2)); |
1056 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')); | 1056 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')); |
1057 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')); | 1057 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')); |
1058 } | 1058 } |
1059 | 1059 |
1060 buildUnnamed3508() { | 1060 buildUnnamed3219() { |
1061 var o = new core.Map<core.String, core.Object>(); | 1061 var o = new core.Map<core.String, core.Object>(); |
1062 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1062 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1063 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1063 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1064 return o; | 1064 return o; |
1065 } | 1065 } |
1066 | 1066 |
1067 checkUnnamed3508(core.Map<core.String, core.Object> o) { | 1067 checkUnnamed3219(core.Map<core.String, core.Object> o) { |
1068 unittest.expect(o, unittest.hasLength(2)); | 1068 unittest.expect(o, unittest.hasLength(2)); |
1069 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')); | 1069 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')); |
1070 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')); | 1070 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')); |
1071 } | 1071 } |
1072 | 1072 |
1073 core.int buildCounterOperation = 0; | 1073 core.int buildCounterOperation = 0; |
1074 buildOperation() { | 1074 buildOperation() { |
1075 var o = new api.Operation(); | 1075 var o = new api.Operation(); |
1076 buildCounterOperation++; | 1076 buildCounterOperation++; |
1077 if (buildCounterOperation < 3) { | 1077 if (buildCounterOperation < 3) { |
1078 o.done = true; | 1078 o.done = true; |
1079 o.error = buildStatus(); | 1079 o.error = buildStatus(); |
1080 o.metadata = buildUnnamed3507(); | 1080 o.metadata = buildUnnamed3218(); |
1081 o.name = "foo"; | 1081 o.name = "foo"; |
1082 o.response = buildUnnamed3508(); | 1082 o.response = buildUnnamed3219(); |
1083 } | 1083 } |
1084 buildCounterOperation--; | 1084 buildCounterOperation--; |
1085 return o; | 1085 return o; |
1086 } | 1086 } |
1087 | 1087 |
1088 checkOperation(api.Operation o) { | 1088 checkOperation(api.Operation o) { |
1089 buildCounterOperation++; | 1089 buildCounterOperation++; |
1090 if (buildCounterOperation < 3) { | 1090 if (buildCounterOperation < 3) { |
1091 unittest.expect(o.done, unittest.isTrue); | 1091 unittest.expect(o.done, unittest.isTrue); |
1092 checkStatus(o.error); | 1092 checkStatus(o.error); |
1093 checkUnnamed3507(o.metadata); | 1093 checkUnnamed3218(o.metadata); |
1094 unittest.expect(o.name, unittest.equals('foo')); | 1094 unittest.expect(o.name, unittest.equals('foo')); |
1095 checkUnnamed3508(o.response); | 1095 checkUnnamed3219(o.response); |
1096 } | 1096 } |
1097 buildCounterOperation--; | 1097 buildCounterOperation--; |
1098 } | 1098 } |
1099 | 1099 |
1100 buildUnnamed3509() { | 1100 buildUnnamed3220() { |
1101 var o = new core.List<api.OperationStatus>(); | 1101 var o = new core.List<api.OperationStatus>(); |
1102 o.add(buildOperationStatus()); | 1102 o.add(buildOperationStatus()); |
1103 o.add(buildOperationStatus()); | 1103 o.add(buildOperationStatus()); |
1104 return o; | 1104 return o; |
1105 } | 1105 } |
1106 | 1106 |
1107 checkUnnamed3509(core.List<api.OperationStatus> o) { | 1107 checkUnnamed3220(core.List<api.OperationStatus> o) { |
1108 unittest.expect(o, unittest.hasLength(2)); | 1108 unittest.expect(o, unittest.hasLength(2)); |
1109 checkOperationStatus(o[0]); | 1109 checkOperationStatus(o[0]); |
1110 checkOperationStatus(o[1]); | 1110 checkOperationStatus(o[1]); |
1111 } | 1111 } |
1112 | 1112 |
1113 core.int buildCounterOperationMetadata = 0; | 1113 core.int buildCounterOperationMetadata = 0; |
1114 buildOperationMetadata() { | 1114 buildOperationMetadata() { |
1115 var o = new api.OperationMetadata(); | 1115 var o = new api.OperationMetadata(); |
1116 buildCounterOperationMetadata++; | 1116 buildCounterOperationMetadata++; |
1117 if (buildCounterOperationMetadata < 3) { | 1117 if (buildCounterOperationMetadata < 3) { |
1118 o.clusterName = "foo"; | 1118 o.clusterName = "foo"; |
1119 o.clusterUuid = "foo"; | 1119 o.clusterUuid = "foo"; |
1120 o.description = "foo"; | 1120 o.description = "foo"; |
1121 o.details = "foo"; | 1121 o.details = "foo"; |
1122 o.endTime = "foo"; | 1122 o.endTime = "foo"; |
1123 o.innerState = "foo"; | 1123 o.innerState = "foo"; |
1124 o.insertTime = "foo"; | 1124 o.insertTime = "foo"; |
1125 o.operationType = "foo"; | 1125 o.operationType = "foo"; |
1126 o.startTime = "foo"; | 1126 o.startTime = "foo"; |
1127 o.state = "foo"; | 1127 o.state = "foo"; |
1128 o.status = buildOperationStatus(); | 1128 o.status = buildOperationStatus(); |
1129 o.statusHistory = buildUnnamed3509(); | 1129 o.statusHistory = buildUnnamed3220(); |
1130 } | 1130 } |
1131 buildCounterOperationMetadata--; | 1131 buildCounterOperationMetadata--; |
1132 return o; | 1132 return o; |
1133 } | 1133 } |
1134 | 1134 |
1135 checkOperationMetadata(api.OperationMetadata o) { | 1135 checkOperationMetadata(api.OperationMetadata o) { |
1136 buildCounterOperationMetadata++; | 1136 buildCounterOperationMetadata++; |
1137 if (buildCounterOperationMetadata < 3) { | 1137 if (buildCounterOperationMetadata < 3) { |
1138 unittest.expect(o.clusterName, unittest.equals('foo')); | 1138 unittest.expect(o.clusterName, unittest.equals('foo')); |
1139 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 1139 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
1140 unittest.expect(o.description, unittest.equals('foo')); | 1140 unittest.expect(o.description, unittest.equals('foo')); |
1141 unittest.expect(o.details, unittest.equals('foo')); | 1141 unittest.expect(o.details, unittest.equals('foo')); |
1142 unittest.expect(o.endTime, unittest.equals('foo')); | 1142 unittest.expect(o.endTime, unittest.equals('foo')); |
1143 unittest.expect(o.innerState, unittest.equals('foo')); | 1143 unittest.expect(o.innerState, unittest.equals('foo')); |
1144 unittest.expect(o.insertTime, unittest.equals('foo')); | 1144 unittest.expect(o.insertTime, unittest.equals('foo')); |
1145 unittest.expect(o.operationType, unittest.equals('foo')); | 1145 unittest.expect(o.operationType, unittest.equals('foo')); |
1146 unittest.expect(o.startTime, unittest.equals('foo')); | 1146 unittest.expect(o.startTime, unittest.equals('foo')); |
1147 unittest.expect(o.state, unittest.equals('foo')); | 1147 unittest.expect(o.state, unittest.equals('foo')); |
1148 checkOperationStatus(o.status); | 1148 checkOperationStatus(o.status); |
1149 checkUnnamed3509(o.statusHistory); | 1149 checkUnnamed3220(o.statusHistory); |
1150 } | 1150 } |
1151 buildCounterOperationMetadata--; | 1151 buildCounterOperationMetadata--; |
1152 } | 1152 } |
1153 | 1153 |
1154 core.int buildCounterOperationStatus = 0; | 1154 core.int buildCounterOperationStatus = 0; |
1155 buildOperationStatus() { | 1155 buildOperationStatus() { |
1156 var o = new api.OperationStatus(); | 1156 var o = new api.OperationStatus(); |
1157 buildCounterOperationStatus++; | 1157 buildCounterOperationStatus++; |
1158 if (buildCounterOperationStatus < 3) { | 1158 if (buildCounterOperationStatus < 3) { |
1159 o.details = "foo"; | 1159 o.details = "foo"; |
1160 o.innerState = "foo"; | 1160 o.innerState = "foo"; |
1161 o.state = "foo"; | 1161 o.state = "foo"; |
1162 o.stateStartTime = "foo"; | 1162 o.stateStartTime = "foo"; |
1163 } | 1163 } |
1164 buildCounterOperationStatus--; | 1164 buildCounterOperationStatus--; |
1165 return o; | 1165 return o; |
1166 } | 1166 } |
1167 | 1167 |
1168 checkOperationStatus(api.OperationStatus o) { | 1168 checkOperationStatus(api.OperationStatus o) { |
1169 buildCounterOperationStatus++; | 1169 buildCounterOperationStatus++; |
1170 if (buildCounterOperationStatus < 3) { | 1170 if (buildCounterOperationStatus < 3) { |
1171 unittest.expect(o.details, unittest.equals('foo')); | 1171 unittest.expect(o.details, unittest.equals('foo')); |
1172 unittest.expect(o.innerState, unittest.equals('foo')); | 1172 unittest.expect(o.innerState, unittest.equals('foo')); |
1173 unittest.expect(o.state, unittest.equals('foo')); | 1173 unittest.expect(o.state, unittest.equals('foo')); |
1174 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 1174 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
1175 } | 1175 } |
1176 buildCounterOperationStatus--; | 1176 buildCounterOperationStatus--; |
1177 } | 1177 } |
1178 | 1178 |
1179 buildUnnamed3510() { | 1179 buildUnnamed3221() { |
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 checkUnnamed3510(core.List<core.String> o) { | 1186 checkUnnamed3221(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 buildUnnamed3511() { | 1192 buildUnnamed3222() { |
1193 var o = new core.Map<core.String, core.String>(); | 1193 var o = new core.Map<core.String, core.String>(); |
1194 o["x"] = "foo"; | 1194 o["x"] = "foo"; |
1195 o["y"] = "foo"; | 1195 o["y"] = "foo"; |
1196 return o; | 1196 return o; |
1197 } | 1197 } |
1198 | 1198 |
1199 checkUnnamed3511(core.Map<core.String, core.String> o) { | 1199 checkUnnamed3222(core.Map<core.String, core.String> o) { |
1200 unittest.expect(o, unittest.hasLength(2)); | 1200 unittest.expect(o, unittest.hasLength(2)); |
1201 unittest.expect(o["x"], unittest.equals('foo')); | 1201 unittest.expect(o["x"], unittest.equals('foo')); |
1202 unittest.expect(o["y"], unittest.equals('foo')); | 1202 unittest.expect(o["y"], unittest.equals('foo')); |
1203 } | 1203 } |
1204 | 1204 |
1205 buildUnnamed3512() { | 1205 buildUnnamed3223() { |
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 checkUnnamed3512(core.Map<core.String, core.String> o) { | 1212 checkUnnamed3223(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 core.int buildCounterPigJob = 0; | 1218 core.int buildCounterPigJob = 0; |
1219 buildPigJob() { | 1219 buildPigJob() { |
1220 var o = new api.PigJob(); | 1220 var o = new api.PigJob(); |
1221 buildCounterPigJob++; | 1221 buildCounterPigJob++; |
1222 if (buildCounterPigJob < 3) { | 1222 if (buildCounterPigJob < 3) { |
1223 o.continueOnFailure = true; | 1223 o.continueOnFailure = true; |
1224 o.jarFileUris = buildUnnamed3510(); | 1224 o.jarFileUris = buildUnnamed3221(); |
1225 o.loggingConfiguration = buildLoggingConfiguration(); | 1225 o.loggingConfiguration = buildLoggingConfiguration(); |
1226 o.properties = buildUnnamed3511(); | 1226 o.properties = buildUnnamed3222(); |
1227 o.queryFileUri = "foo"; | 1227 o.queryFileUri = "foo"; |
1228 o.queryList = buildQueryList(); | 1228 o.queryList = buildQueryList(); |
1229 o.scriptVariables = buildUnnamed3512(); | 1229 o.scriptVariables = buildUnnamed3223(); |
1230 } | 1230 } |
1231 buildCounterPigJob--; | 1231 buildCounterPigJob--; |
1232 return o; | 1232 return o; |
1233 } | 1233 } |
1234 | 1234 |
1235 checkPigJob(api.PigJob o) { | 1235 checkPigJob(api.PigJob o) { |
1236 buildCounterPigJob++; | 1236 buildCounterPigJob++; |
1237 if (buildCounterPigJob < 3) { | 1237 if (buildCounterPigJob < 3) { |
1238 unittest.expect(o.continueOnFailure, unittest.isTrue); | 1238 unittest.expect(o.continueOnFailure, unittest.isTrue); |
1239 checkUnnamed3510(o.jarFileUris); | 1239 checkUnnamed3221(o.jarFileUris); |
1240 checkLoggingConfiguration(o.loggingConfiguration); | 1240 checkLoggingConfiguration(o.loggingConfiguration); |
1241 checkUnnamed3511(o.properties); | 1241 checkUnnamed3222(o.properties); |
1242 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1242 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
1243 checkQueryList(o.queryList); | 1243 checkQueryList(o.queryList); |
1244 checkUnnamed3512(o.scriptVariables); | 1244 checkUnnamed3223(o.scriptVariables); |
1245 } | 1245 } |
1246 buildCounterPigJob--; | 1246 buildCounterPigJob--; |
1247 } | 1247 } |
1248 | 1248 |
1249 buildUnnamed3513() { | 1249 buildUnnamed3224() { |
1250 var o = new core.List<core.String>(); | 1250 var o = new core.List<core.String>(); |
1251 o.add("foo"); | 1251 o.add("foo"); |
1252 o.add("foo"); | 1252 o.add("foo"); |
1253 return o; | 1253 return o; |
1254 } | 1254 } |
1255 | 1255 |
1256 checkUnnamed3513(core.List<core.String> o) { | 1256 checkUnnamed3224(core.List<core.String> o) { |
1257 unittest.expect(o, unittest.hasLength(2)); | 1257 unittest.expect(o, unittest.hasLength(2)); |
1258 unittest.expect(o[0], unittest.equals('foo')); | 1258 unittest.expect(o[0], unittest.equals('foo')); |
1259 unittest.expect(o[1], unittest.equals('foo')); | 1259 unittest.expect(o[1], unittest.equals('foo')); |
1260 } | 1260 } |
1261 | 1261 |
1262 buildUnnamed3514() { | 1262 buildUnnamed3225() { |
1263 var o = new core.List<core.String>(); | 1263 var o = new core.List<core.String>(); |
1264 o.add("foo"); | 1264 o.add("foo"); |
1265 o.add("foo"); | 1265 o.add("foo"); |
1266 return o; | 1266 return o; |
1267 } | 1267 } |
1268 | 1268 |
1269 checkUnnamed3514(core.List<core.String> o) { | 1269 checkUnnamed3225(core.List<core.String> o) { |
1270 unittest.expect(o, unittest.hasLength(2)); | 1270 unittest.expect(o, unittest.hasLength(2)); |
1271 unittest.expect(o[0], unittest.equals('foo')); | 1271 unittest.expect(o[0], unittest.equals('foo')); |
1272 unittest.expect(o[1], unittest.equals('foo')); | 1272 unittest.expect(o[1], unittest.equals('foo')); |
1273 } | 1273 } |
1274 | 1274 |
1275 buildUnnamed3515() { | 1275 buildUnnamed3226() { |
1276 var o = new core.List<core.String>(); | 1276 var o = new core.List<core.String>(); |
1277 o.add("foo"); | 1277 o.add("foo"); |
1278 o.add("foo"); | 1278 o.add("foo"); |
1279 return o; | 1279 return o; |
1280 } | 1280 } |
1281 | 1281 |
1282 checkUnnamed3515(core.List<core.String> o) { | 1282 checkUnnamed3226(core.List<core.String> o) { |
1283 unittest.expect(o, unittest.hasLength(2)); | 1283 unittest.expect(o, unittest.hasLength(2)); |
1284 unittest.expect(o[0], unittest.equals('foo')); | 1284 unittest.expect(o[0], unittest.equals('foo')); |
1285 unittest.expect(o[1], unittest.equals('foo')); | 1285 unittest.expect(o[1], unittest.equals('foo')); |
1286 } | 1286 } |
1287 | 1287 |
1288 buildUnnamed3516() { | 1288 buildUnnamed3227() { |
1289 var o = new core.List<core.String>(); | 1289 var o = new core.List<core.String>(); |
1290 o.add("foo"); | 1290 o.add("foo"); |
1291 o.add("foo"); | 1291 o.add("foo"); |
1292 return o; | 1292 return o; |
1293 } | 1293 } |
1294 | 1294 |
1295 checkUnnamed3516(core.List<core.String> o) { | 1295 checkUnnamed3227(core.List<core.String> o) { |
1296 unittest.expect(o, unittest.hasLength(2)); | 1296 unittest.expect(o, unittest.hasLength(2)); |
1297 unittest.expect(o[0], unittest.equals('foo')); | 1297 unittest.expect(o[0], unittest.equals('foo')); |
1298 unittest.expect(o[1], unittest.equals('foo')); | 1298 unittest.expect(o[1], unittest.equals('foo')); |
1299 } | 1299 } |
1300 | 1300 |
1301 buildUnnamed3517() { | 1301 buildUnnamed3228() { |
1302 var o = new core.Map<core.String, core.String>(); | 1302 var o = new core.Map<core.String, core.String>(); |
1303 o["x"] = "foo"; | 1303 o["x"] = "foo"; |
1304 o["y"] = "foo"; | 1304 o["y"] = "foo"; |
1305 return o; | 1305 return o; |
1306 } | 1306 } |
1307 | 1307 |
1308 checkUnnamed3517(core.Map<core.String, core.String> o) { | 1308 checkUnnamed3228(core.Map<core.String, core.String> o) { |
1309 unittest.expect(o, unittest.hasLength(2)); | 1309 unittest.expect(o, unittest.hasLength(2)); |
1310 unittest.expect(o["x"], unittest.equals('foo')); | 1310 unittest.expect(o["x"], unittest.equals('foo')); |
1311 unittest.expect(o["y"], unittest.equals('foo')); | 1311 unittest.expect(o["y"], unittest.equals('foo')); |
1312 } | 1312 } |
1313 | 1313 |
1314 buildUnnamed3518() { | 1314 buildUnnamed3229() { |
1315 var o = new core.List<core.String>(); | 1315 var o = new core.List<core.String>(); |
1316 o.add("foo"); | 1316 o.add("foo"); |
1317 o.add("foo"); | 1317 o.add("foo"); |
1318 return o; | 1318 return o; |
1319 } | 1319 } |
1320 | 1320 |
1321 checkUnnamed3518(core.List<core.String> o) { | 1321 checkUnnamed3229(core.List<core.String> o) { |
1322 unittest.expect(o, unittest.hasLength(2)); | 1322 unittest.expect(o, unittest.hasLength(2)); |
1323 unittest.expect(o[0], unittest.equals('foo')); | 1323 unittest.expect(o[0], unittest.equals('foo')); |
1324 unittest.expect(o[1], unittest.equals('foo')); | 1324 unittest.expect(o[1], unittest.equals('foo')); |
1325 } | 1325 } |
1326 | 1326 |
1327 core.int buildCounterPySparkJob = 0; | 1327 core.int buildCounterPySparkJob = 0; |
1328 buildPySparkJob() { | 1328 buildPySparkJob() { |
1329 var o = new api.PySparkJob(); | 1329 var o = new api.PySparkJob(); |
1330 buildCounterPySparkJob++; | 1330 buildCounterPySparkJob++; |
1331 if (buildCounterPySparkJob < 3) { | 1331 if (buildCounterPySparkJob < 3) { |
1332 o.archiveUris = buildUnnamed3513(); | 1332 o.archiveUris = buildUnnamed3224(); |
1333 o.args = buildUnnamed3514(); | 1333 o.args = buildUnnamed3225(); |
1334 o.fileUris = buildUnnamed3515(); | 1334 o.fileUris = buildUnnamed3226(); |
1335 o.jarFileUris = buildUnnamed3516(); | 1335 o.jarFileUris = buildUnnamed3227(); |
1336 o.loggingConfiguration = buildLoggingConfiguration(); | 1336 o.loggingConfiguration = buildLoggingConfiguration(); |
1337 o.mainPythonFileUri = "foo"; | 1337 o.mainPythonFileUri = "foo"; |
1338 o.properties = buildUnnamed3517(); | 1338 o.properties = buildUnnamed3228(); |
1339 o.pythonFileUris = buildUnnamed3518(); | 1339 o.pythonFileUris = buildUnnamed3229(); |
1340 } | 1340 } |
1341 buildCounterPySparkJob--; | 1341 buildCounterPySparkJob--; |
1342 return o; | 1342 return o; |
1343 } | 1343 } |
1344 | 1344 |
1345 checkPySparkJob(api.PySparkJob o) { | 1345 checkPySparkJob(api.PySparkJob o) { |
1346 buildCounterPySparkJob++; | 1346 buildCounterPySparkJob++; |
1347 if (buildCounterPySparkJob < 3) { | 1347 if (buildCounterPySparkJob < 3) { |
1348 checkUnnamed3513(o.archiveUris); | 1348 checkUnnamed3224(o.archiveUris); |
1349 checkUnnamed3514(o.args); | 1349 checkUnnamed3225(o.args); |
1350 checkUnnamed3515(o.fileUris); | 1350 checkUnnamed3226(o.fileUris); |
1351 checkUnnamed3516(o.jarFileUris); | 1351 checkUnnamed3227(o.jarFileUris); |
1352 checkLoggingConfiguration(o.loggingConfiguration); | 1352 checkLoggingConfiguration(o.loggingConfiguration); |
1353 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); | 1353 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); |
1354 checkUnnamed3517(o.properties); | 1354 checkUnnamed3228(o.properties); |
1355 checkUnnamed3518(o.pythonFileUris); | 1355 checkUnnamed3229(o.pythonFileUris); |
1356 } | 1356 } |
1357 buildCounterPySparkJob--; | 1357 buildCounterPySparkJob--; |
1358 } | 1358 } |
1359 | 1359 |
1360 buildUnnamed3519() { | 1360 buildUnnamed3230() { |
1361 var o = new core.List<core.String>(); | 1361 var o = new core.List<core.String>(); |
1362 o.add("foo"); | 1362 o.add("foo"); |
1363 o.add("foo"); | 1363 o.add("foo"); |
1364 return o; | 1364 return o; |
1365 } | 1365 } |
1366 | 1366 |
1367 checkUnnamed3519(core.List<core.String> o) { | 1367 checkUnnamed3230(core.List<core.String> o) { |
1368 unittest.expect(o, unittest.hasLength(2)); | 1368 unittest.expect(o, unittest.hasLength(2)); |
1369 unittest.expect(o[0], unittest.equals('foo')); | 1369 unittest.expect(o[0], unittest.equals('foo')); |
1370 unittest.expect(o[1], unittest.equals('foo')); | 1370 unittest.expect(o[1], unittest.equals('foo')); |
1371 } | 1371 } |
1372 | 1372 |
1373 core.int buildCounterQueryList = 0; | 1373 core.int buildCounterQueryList = 0; |
1374 buildQueryList() { | 1374 buildQueryList() { |
1375 var o = new api.QueryList(); | 1375 var o = new api.QueryList(); |
1376 buildCounterQueryList++; | 1376 buildCounterQueryList++; |
1377 if (buildCounterQueryList < 3) { | 1377 if (buildCounterQueryList < 3) { |
1378 o.queries = buildUnnamed3519(); | 1378 o.queries = buildUnnamed3230(); |
1379 } | 1379 } |
1380 buildCounterQueryList--; | 1380 buildCounterQueryList--; |
1381 return o; | 1381 return o; |
1382 } | 1382 } |
1383 | 1383 |
1384 checkQueryList(api.QueryList o) { | 1384 checkQueryList(api.QueryList o) { |
1385 buildCounterQueryList++; | 1385 buildCounterQueryList++; |
1386 if (buildCounterQueryList < 3) { | 1386 if (buildCounterQueryList < 3) { |
1387 checkUnnamed3519(o.queries); | 1387 checkUnnamed3230(o.queries); |
1388 } | 1388 } |
1389 buildCounterQueryList--; | 1389 buildCounterQueryList--; |
1390 } | 1390 } |
1391 | 1391 |
1392 buildUnnamed3520() { | 1392 buildUnnamed3231() { |
1393 var o = new core.Map<core.String, core.String>(); | 1393 var o = new core.Map<core.String, core.String>(); |
1394 o["x"] = "foo"; | 1394 o["x"] = "foo"; |
1395 o["y"] = "foo"; | 1395 o["y"] = "foo"; |
1396 return o; | 1396 return o; |
1397 } | 1397 } |
1398 | 1398 |
1399 checkUnnamed3520(core.Map<core.String, core.String> o) { | 1399 checkUnnamed3231(core.Map<core.String, core.String> o) { |
1400 unittest.expect(o, unittest.hasLength(2)); | 1400 unittest.expect(o, unittest.hasLength(2)); |
1401 unittest.expect(o["x"], unittest.equals('foo')); | 1401 unittest.expect(o["x"], unittest.equals('foo')); |
1402 unittest.expect(o["y"], unittest.equals('foo')); | 1402 unittest.expect(o["y"], unittest.equals('foo')); |
1403 } | 1403 } |
1404 | 1404 |
1405 core.int buildCounterSoftwareConfiguration = 0; | 1405 core.int buildCounterSoftwareConfiguration = 0; |
1406 buildSoftwareConfiguration() { | 1406 buildSoftwareConfiguration() { |
1407 var o = new api.SoftwareConfiguration(); | 1407 var o = new api.SoftwareConfiguration(); |
1408 buildCounterSoftwareConfiguration++; | 1408 buildCounterSoftwareConfiguration++; |
1409 if (buildCounterSoftwareConfiguration < 3) { | 1409 if (buildCounterSoftwareConfiguration < 3) { |
1410 o.imageVersion = "foo"; | 1410 o.imageVersion = "foo"; |
1411 o.properties = buildUnnamed3520(); | 1411 o.properties = buildUnnamed3231(); |
1412 } | 1412 } |
1413 buildCounterSoftwareConfiguration--; | 1413 buildCounterSoftwareConfiguration--; |
1414 return o; | 1414 return o; |
1415 } | 1415 } |
1416 | 1416 |
1417 checkSoftwareConfiguration(api.SoftwareConfiguration o) { | 1417 checkSoftwareConfiguration(api.SoftwareConfiguration o) { |
1418 buildCounterSoftwareConfiguration++; | 1418 buildCounterSoftwareConfiguration++; |
1419 if (buildCounterSoftwareConfiguration < 3) { | 1419 if (buildCounterSoftwareConfiguration < 3) { |
1420 unittest.expect(o.imageVersion, unittest.equals('foo')); | 1420 unittest.expect(o.imageVersion, unittest.equals('foo')); |
1421 checkUnnamed3520(o.properties); | 1421 checkUnnamed3231(o.properties); |
1422 } | 1422 } |
1423 buildCounterSoftwareConfiguration--; | 1423 buildCounterSoftwareConfiguration--; |
1424 } | 1424 } |
1425 | 1425 |
1426 buildUnnamed3521() { | 1426 buildUnnamed3232() { |
1427 var o = new core.List<core.String>(); | 1427 var o = new core.List<core.String>(); |
1428 o.add("foo"); | 1428 o.add("foo"); |
1429 o.add("foo"); | 1429 o.add("foo"); |
1430 return o; | 1430 return o; |
1431 } | 1431 } |
1432 | 1432 |
1433 checkUnnamed3521(core.List<core.String> o) { | 1433 checkUnnamed3232(core.List<core.String> o) { |
1434 unittest.expect(o, unittest.hasLength(2)); | 1434 unittest.expect(o, unittest.hasLength(2)); |
1435 unittest.expect(o[0], unittest.equals('foo')); | 1435 unittest.expect(o[0], unittest.equals('foo')); |
1436 unittest.expect(o[1], unittest.equals('foo')); | 1436 unittest.expect(o[1], unittest.equals('foo')); |
1437 } | 1437 } |
1438 | 1438 |
1439 buildUnnamed3522() { | 1439 buildUnnamed3233() { |
1440 var o = new core.List<core.String>(); | 1440 var o = new core.List<core.String>(); |
1441 o.add("foo"); | 1441 o.add("foo"); |
1442 o.add("foo"); | 1442 o.add("foo"); |
1443 return o; | 1443 return o; |
1444 } | 1444 } |
1445 | 1445 |
1446 checkUnnamed3522(core.List<core.String> o) { | 1446 checkUnnamed3233(core.List<core.String> o) { |
1447 unittest.expect(o, unittest.hasLength(2)); | 1447 unittest.expect(o, unittest.hasLength(2)); |
1448 unittest.expect(o[0], unittest.equals('foo')); | 1448 unittest.expect(o[0], unittest.equals('foo')); |
1449 unittest.expect(o[1], unittest.equals('foo')); | 1449 unittest.expect(o[1], unittest.equals('foo')); |
1450 } | 1450 } |
1451 | 1451 |
1452 buildUnnamed3523() { | 1452 buildUnnamed3234() { |
1453 var o = new core.List<core.String>(); | 1453 var o = new core.List<core.String>(); |
1454 o.add("foo"); | 1454 o.add("foo"); |
1455 o.add("foo"); | 1455 o.add("foo"); |
1456 return o; | 1456 return o; |
1457 } | 1457 } |
1458 | 1458 |
1459 checkUnnamed3523(core.List<core.String> o) { | 1459 checkUnnamed3234(core.List<core.String> o) { |
1460 unittest.expect(o, unittest.hasLength(2)); | 1460 unittest.expect(o, unittest.hasLength(2)); |
1461 unittest.expect(o[0], unittest.equals('foo')); | 1461 unittest.expect(o[0], unittest.equals('foo')); |
1462 unittest.expect(o[1], unittest.equals('foo')); | 1462 unittest.expect(o[1], unittest.equals('foo')); |
1463 } | 1463 } |
1464 | 1464 |
1465 buildUnnamed3524() { | 1465 buildUnnamed3235() { |
1466 var o = new core.List<core.String>(); | 1466 var o = new core.List<core.String>(); |
1467 o.add("foo"); | 1467 o.add("foo"); |
1468 o.add("foo"); | 1468 o.add("foo"); |
1469 return o; | 1469 return o; |
1470 } | 1470 } |
1471 | 1471 |
1472 checkUnnamed3524(core.List<core.String> o) { | 1472 checkUnnamed3235(core.List<core.String> o) { |
1473 unittest.expect(o, unittest.hasLength(2)); | 1473 unittest.expect(o, unittest.hasLength(2)); |
1474 unittest.expect(o[0], unittest.equals('foo')); | 1474 unittest.expect(o[0], unittest.equals('foo')); |
1475 unittest.expect(o[1], unittest.equals('foo')); | 1475 unittest.expect(o[1], unittest.equals('foo')); |
1476 } | 1476 } |
1477 | 1477 |
1478 buildUnnamed3525() { | 1478 buildUnnamed3236() { |
1479 var o = new core.Map<core.String, core.String>(); | 1479 var o = new core.Map<core.String, core.String>(); |
1480 o["x"] = "foo"; | 1480 o["x"] = "foo"; |
1481 o["y"] = "foo"; | 1481 o["y"] = "foo"; |
1482 return o; | 1482 return o; |
1483 } | 1483 } |
1484 | 1484 |
1485 checkUnnamed3525(core.Map<core.String, core.String> o) { | 1485 checkUnnamed3236(core.Map<core.String, core.String> o) { |
1486 unittest.expect(o, unittest.hasLength(2)); | 1486 unittest.expect(o, unittest.hasLength(2)); |
1487 unittest.expect(o["x"], unittest.equals('foo')); | 1487 unittest.expect(o["x"], unittest.equals('foo')); |
1488 unittest.expect(o["y"], unittest.equals('foo')); | 1488 unittest.expect(o["y"], unittest.equals('foo')); |
1489 } | 1489 } |
1490 | 1490 |
1491 core.int buildCounterSparkJob = 0; | 1491 core.int buildCounterSparkJob = 0; |
1492 buildSparkJob() { | 1492 buildSparkJob() { |
1493 var o = new api.SparkJob(); | 1493 var o = new api.SparkJob(); |
1494 buildCounterSparkJob++; | 1494 buildCounterSparkJob++; |
1495 if (buildCounterSparkJob < 3) { | 1495 if (buildCounterSparkJob < 3) { |
1496 o.archiveUris = buildUnnamed3521(); | 1496 o.archiveUris = buildUnnamed3232(); |
1497 o.args = buildUnnamed3522(); | 1497 o.args = buildUnnamed3233(); |
1498 o.fileUris = buildUnnamed3523(); | 1498 o.fileUris = buildUnnamed3234(); |
1499 o.jarFileUris = buildUnnamed3524(); | 1499 o.jarFileUris = buildUnnamed3235(); |
1500 o.loggingConfiguration = buildLoggingConfiguration(); | 1500 o.loggingConfiguration = buildLoggingConfiguration(); |
1501 o.mainClass = "foo"; | 1501 o.mainClass = "foo"; |
1502 o.mainJarFileUri = "foo"; | 1502 o.mainJarFileUri = "foo"; |
1503 o.properties = buildUnnamed3525(); | 1503 o.properties = buildUnnamed3236(); |
1504 } | 1504 } |
1505 buildCounterSparkJob--; | 1505 buildCounterSparkJob--; |
1506 return o; | 1506 return o; |
1507 } | 1507 } |
1508 | 1508 |
1509 checkSparkJob(api.SparkJob o) { | 1509 checkSparkJob(api.SparkJob o) { |
1510 buildCounterSparkJob++; | 1510 buildCounterSparkJob++; |
1511 if (buildCounterSparkJob < 3) { | 1511 if (buildCounterSparkJob < 3) { |
1512 checkUnnamed3521(o.archiveUris); | 1512 checkUnnamed3232(o.archiveUris); |
1513 checkUnnamed3522(o.args); | 1513 checkUnnamed3233(o.args); |
1514 checkUnnamed3523(o.fileUris); | 1514 checkUnnamed3234(o.fileUris); |
1515 checkUnnamed3524(o.jarFileUris); | 1515 checkUnnamed3235(o.jarFileUris); |
1516 checkLoggingConfiguration(o.loggingConfiguration); | 1516 checkLoggingConfiguration(o.loggingConfiguration); |
1517 unittest.expect(o.mainClass, unittest.equals('foo')); | 1517 unittest.expect(o.mainClass, unittest.equals('foo')); |
1518 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 1518 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
1519 checkUnnamed3525(o.properties); | 1519 checkUnnamed3236(o.properties); |
1520 } | 1520 } |
1521 buildCounterSparkJob--; | 1521 buildCounterSparkJob--; |
1522 } | 1522 } |
1523 | 1523 |
1524 buildUnnamed3526() { | 1524 buildUnnamed3237() { |
1525 var o = new core.List<core.String>(); | 1525 var o = new core.List<core.String>(); |
1526 o.add("foo"); | 1526 o.add("foo"); |
1527 o.add("foo"); | 1527 o.add("foo"); |
1528 return o; | 1528 return o; |
1529 } | 1529 } |
1530 | 1530 |
1531 checkUnnamed3526(core.List<core.String> o) { | 1531 checkUnnamed3237(core.List<core.String> o) { |
1532 unittest.expect(o, unittest.hasLength(2)); | 1532 unittest.expect(o, unittest.hasLength(2)); |
1533 unittest.expect(o[0], unittest.equals('foo')); | 1533 unittest.expect(o[0], unittest.equals('foo')); |
1534 unittest.expect(o[1], unittest.equals('foo')); | 1534 unittest.expect(o[1], unittest.equals('foo')); |
1535 } | 1535 } |
1536 | 1536 |
1537 buildUnnamed3527() { | 1537 buildUnnamed3238() { |
1538 var o = new core.Map<core.String, core.String>(); | 1538 var o = new core.Map<core.String, core.String>(); |
1539 o["x"] = "foo"; | 1539 o["x"] = "foo"; |
1540 o["y"] = "foo"; | 1540 o["y"] = "foo"; |
1541 return o; | 1541 return o; |
1542 } | 1542 } |
1543 | 1543 |
1544 checkUnnamed3527(core.Map<core.String, core.String> o) { | 1544 checkUnnamed3238(core.Map<core.String, core.String> o) { |
1545 unittest.expect(o, unittest.hasLength(2)); | 1545 unittest.expect(o, unittest.hasLength(2)); |
1546 unittest.expect(o["x"], unittest.equals('foo')); | 1546 unittest.expect(o["x"], unittest.equals('foo')); |
1547 unittest.expect(o["y"], unittest.equals('foo')); | 1547 unittest.expect(o["y"], unittest.equals('foo')); |
1548 } | 1548 } |
1549 | 1549 |
1550 buildUnnamed3528() { | 1550 buildUnnamed3239() { |
1551 var o = new core.Map<core.String, core.String>(); | 1551 var o = new core.Map<core.String, core.String>(); |
1552 o["x"] = "foo"; | 1552 o["x"] = "foo"; |
1553 o["y"] = "foo"; | 1553 o["y"] = "foo"; |
1554 return o; | 1554 return o; |
1555 } | 1555 } |
1556 | 1556 |
1557 checkUnnamed3528(core.Map<core.String, core.String> o) { | 1557 checkUnnamed3239(core.Map<core.String, core.String> o) { |
1558 unittest.expect(o, unittest.hasLength(2)); | 1558 unittest.expect(o, unittest.hasLength(2)); |
1559 unittest.expect(o["x"], unittest.equals('foo')); | 1559 unittest.expect(o["x"], unittest.equals('foo')); |
1560 unittest.expect(o["y"], unittest.equals('foo')); | 1560 unittest.expect(o["y"], unittest.equals('foo')); |
1561 } | 1561 } |
1562 | 1562 |
1563 core.int buildCounterSparkSqlJob = 0; | 1563 core.int buildCounterSparkSqlJob = 0; |
1564 buildSparkSqlJob() { | 1564 buildSparkSqlJob() { |
1565 var o = new api.SparkSqlJob(); | 1565 var o = new api.SparkSqlJob(); |
1566 buildCounterSparkSqlJob++; | 1566 buildCounterSparkSqlJob++; |
1567 if (buildCounterSparkSqlJob < 3) { | 1567 if (buildCounterSparkSqlJob < 3) { |
1568 o.jarFileUris = buildUnnamed3526(); | 1568 o.jarFileUris = buildUnnamed3237(); |
1569 o.loggingConfiguration = buildLoggingConfiguration(); | 1569 o.loggingConfiguration = buildLoggingConfiguration(); |
1570 o.properties = buildUnnamed3527(); | 1570 o.properties = buildUnnamed3238(); |
1571 o.queryFileUri = "foo"; | 1571 o.queryFileUri = "foo"; |
1572 o.queryList = buildQueryList(); | 1572 o.queryList = buildQueryList(); |
1573 o.scriptVariables = buildUnnamed3528(); | 1573 o.scriptVariables = buildUnnamed3239(); |
1574 } | 1574 } |
1575 buildCounterSparkSqlJob--; | 1575 buildCounterSparkSqlJob--; |
1576 return o; | 1576 return o; |
1577 } | 1577 } |
1578 | 1578 |
1579 checkSparkSqlJob(api.SparkSqlJob o) { | 1579 checkSparkSqlJob(api.SparkSqlJob o) { |
1580 buildCounterSparkSqlJob++; | 1580 buildCounterSparkSqlJob++; |
1581 if (buildCounterSparkSqlJob < 3) { | 1581 if (buildCounterSparkSqlJob < 3) { |
1582 checkUnnamed3526(o.jarFileUris); | 1582 checkUnnamed3237(o.jarFileUris); |
1583 checkLoggingConfiguration(o.loggingConfiguration); | 1583 checkLoggingConfiguration(o.loggingConfiguration); |
1584 checkUnnamed3527(o.properties); | 1584 checkUnnamed3238(o.properties); |
1585 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1585 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
1586 checkQueryList(o.queryList); | 1586 checkQueryList(o.queryList); |
1587 checkUnnamed3528(o.scriptVariables); | 1587 checkUnnamed3239(o.scriptVariables); |
1588 } | 1588 } |
1589 buildCounterSparkSqlJob--; | 1589 buildCounterSparkSqlJob--; |
1590 } | 1590 } |
1591 | 1591 |
1592 buildUnnamed3529() { | 1592 buildUnnamed3240() { |
1593 var o = new core.Map<core.String, core.Object>(); | 1593 var o = new core.Map<core.String, core.Object>(); |
1594 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1594 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1595 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1595 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1596 return o; | 1596 return o; |
1597 } | 1597 } |
1598 | 1598 |
1599 checkUnnamed3529(core.Map<core.String, core.Object> o) { | 1599 checkUnnamed3240(core.Map<core.String, core.Object> o) { |
1600 unittest.expect(o, unittest.hasLength(2)); | 1600 unittest.expect(o, unittest.hasLength(2)); |
1601 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')); | 1601 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')); |
1602 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')); | 1602 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')); |
1603 } | 1603 } |
1604 | 1604 |
1605 buildUnnamed3530() { | 1605 buildUnnamed3241() { |
1606 var o = new core.List<core.Map<core.String, core.Object>>(); | 1606 var o = new core.List<core.Map<core.String, core.Object>>(); |
1607 o.add(buildUnnamed3529()); | 1607 o.add(buildUnnamed3240()); |
1608 o.add(buildUnnamed3529()); | 1608 o.add(buildUnnamed3240()); |
1609 return o; | 1609 return o; |
1610 } | 1610 } |
1611 | 1611 |
1612 checkUnnamed3530(core.List<core.Map<core.String, core.Object>> o) { | 1612 checkUnnamed3241(core.List<core.Map<core.String, core.Object>> o) { |
1613 unittest.expect(o, unittest.hasLength(2)); | 1613 unittest.expect(o, unittest.hasLength(2)); |
1614 checkUnnamed3529(o[0]); | 1614 checkUnnamed3240(o[0]); |
1615 checkUnnamed3529(o[1]); | 1615 checkUnnamed3240(o[1]); |
1616 } | 1616 } |
1617 | 1617 |
1618 core.int buildCounterStatus = 0; | 1618 core.int buildCounterStatus = 0; |
1619 buildStatus() { | 1619 buildStatus() { |
1620 var o = new api.Status(); | 1620 var o = new api.Status(); |
1621 buildCounterStatus++; | 1621 buildCounterStatus++; |
1622 if (buildCounterStatus < 3) { | 1622 if (buildCounterStatus < 3) { |
1623 o.code = 42; | 1623 o.code = 42; |
1624 o.details = buildUnnamed3530(); | 1624 o.details = buildUnnamed3241(); |
1625 o.message = "foo"; | 1625 o.message = "foo"; |
1626 } | 1626 } |
1627 buildCounterStatus--; | 1627 buildCounterStatus--; |
1628 return o; | 1628 return o; |
1629 } | 1629 } |
1630 | 1630 |
1631 checkStatus(api.Status o) { | 1631 checkStatus(api.Status o) { |
1632 buildCounterStatus++; | 1632 buildCounterStatus++; |
1633 if (buildCounterStatus < 3) { | 1633 if (buildCounterStatus < 3) { |
1634 unittest.expect(o.code, unittest.equals(42)); | 1634 unittest.expect(o.code, unittest.equals(42)); |
1635 checkUnnamed3530(o.details); | 1635 checkUnnamed3241(o.details); |
1636 unittest.expect(o.message, unittest.equals('foo')); | 1636 unittest.expect(o.message, unittest.equals('foo')); |
1637 } | 1637 } |
1638 buildCounterStatus--; | 1638 buildCounterStatus--; |
1639 } | 1639 } |
1640 | 1640 |
1641 core.int buildCounterSubmitJobRequest = 0; | 1641 core.int buildCounterSubmitJobRequest = 0; |
1642 buildSubmitJobRequest() { | 1642 buildSubmitJobRequest() { |
1643 var o = new api.SubmitJobRequest(); | 1643 var o = new api.SubmitJobRequest(); |
1644 buildCounterSubmitJobRequest++; | 1644 buildCounterSubmitJobRequest++; |
1645 if (buildCounterSubmitJobRequest < 3) { | 1645 if (buildCounterSubmitJobRequest < 3) { |
(...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2867 res.submit(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { | 2867 res.submit(arg_request, arg_projectId).then(unittest.expectAsync(((api.Job
response) { |
2868 checkJob(response); | 2868 checkJob(response); |
2869 }))); | 2869 }))); |
2870 }); | 2870 }); |
2871 | 2871 |
2872 }); | 2872 }); |
2873 | 2873 |
2874 | 2874 |
2875 } | 2875 } |
2876 | 2876 |
OLD | NEW |