OLD | NEW |
1 library googleapis.dataproc.v1.test; | 1 library googleapis.dataproc.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 return o; | 61 return o; |
62 } | 62 } |
63 | 63 |
64 checkCancelJobRequest(api.CancelJobRequest o) { | 64 checkCancelJobRequest(api.CancelJobRequest o) { |
65 buildCounterCancelJobRequest++; | 65 buildCounterCancelJobRequest++; |
66 if (buildCounterCancelJobRequest < 3) { | 66 if (buildCounterCancelJobRequest < 3) { |
67 } | 67 } |
68 buildCounterCancelJobRequest--; | 68 buildCounterCancelJobRequest--; |
69 } | 69 } |
70 | 70 |
71 buildUnnamed687() { | 71 buildUnnamed427() { |
72 var o = new core.Map<core.String, core.String>(); | 72 var o = new core.Map<core.String, core.String>(); |
73 o["x"] = "foo"; | 73 o["x"] = "foo"; |
74 o["y"] = "foo"; | 74 o["y"] = "foo"; |
75 return o; | 75 return o; |
76 } | 76 } |
77 | 77 |
78 checkUnnamed687(core.Map<core.String, core.String> o) { | 78 checkUnnamed427(core.Map<core.String, core.String> o) { |
79 unittest.expect(o, unittest.hasLength(2)); | 79 unittest.expect(o, unittest.hasLength(2)); |
80 unittest.expect(o["x"], unittest.equals('foo')); | 80 unittest.expect(o["x"], unittest.equals('foo')); |
81 unittest.expect(o["y"], unittest.equals('foo')); | 81 unittest.expect(o["y"], unittest.equals('foo')); |
82 } | 82 } |
83 | 83 |
84 buildUnnamed688() { | 84 buildUnnamed428() { |
85 var o = new core.List<api.ClusterStatus>(); | 85 var o = new core.List<api.ClusterStatus>(); |
86 o.add(buildClusterStatus()); | 86 o.add(buildClusterStatus()); |
87 o.add(buildClusterStatus()); | 87 o.add(buildClusterStatus()); |
88 return o; | 88 return o; |
89 } | 89 } |
90 | 90 |
91 checkUnnamed688(core.List<api.ClusterStatus> o) { | 91 checkUnnamed428(core.List<api.ClusterStatus> o) { |
92 unittest.expect(o, unittest.hasLength(2)); | 92 unittest.expect(o, unittest.hasLength(2)); |
93 checkClusterStatus(o[0]); | 93 checkClusterStatus(o[0]); |
94 checkClusterStatus(o[1]); | 94 checkClusterStatus(o[1]); |
95 } | 95 } |
96 | 96 |
97 core.int buildCounterCluster = 0; | 97 core.int buildCounterCluster = 0; |
98 buildCluster() { | 98 buildCluster() { |
99 var o = new api.Cluster(); | 99 var o = new api.Cluster(); |
100 buildCounterCluster++; | 100 buildCounterCluster++; |
101 if (buildCounterCluster < 3) { | 101 if (buildCounterCluster < 3) { |
102 o.clusterName = "foo"; | 102 o.clusterName = "foo"; |
103 o.clusterUuid = "foo"; | 103 o.clusterUuid = "foo"; |
104 o.config = buildClusterConfig(); | 104 o.config = buildClusterConfig(); |
105 o.labels = buildUnnamed687(); | 105 o.labels = buildUnnamed427(); |
106 o.metrics = buildClusterMetrics(); | 106 o.metrics = buildClusterMetrics(); |
107 o.projectId = "foo"; | 107 o.projectId = "foo"; |
108 o.status = buildClusterStatus(); | 108 o.status = buildClusterStatus(); |
109 o.statusHistory = buildUnnamed688(); | 109 o.statusHistory = buildUnnamed428(); |
110 } | 110 } |
111 buildCounterCluster--; | 111 buildCounterCluster--; |
112 return o; | 112 return o; |
113 } | 113 } |
114 | 114 |
115 checkCluster(api.Cluster o) { | 115 checkCluster(api.Cluster o) { |
116 buildCounterCluster++; | 116 buildCounterCluster++; |
117 if (buildCounterCluster < 3) { | 117 if (buildCounterCluster < 3) { |
118 unittest.expect(o.clusterName, unittest.equals('foo')); | 118 unittest.expect(o.clusterName, unittest.equals('foo')); |
119 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 119 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
120 checkClusterConfig(o.config); | 120 checkClusterConfig(o.config); |
121 checkUnnamed687(o.labels); | 121 checkUnnamed427(o.labels); |
122 checkClusterMetrics(o.metrics); | 122 checkClusterMetrics(o.metrics); |
123 unittest.expect(o.projectId, unittest.equals('foo')); | 123 unittest.expect(o.projectId, unittest.equals('foo')); |
124 checkClusterStatus(o.status); | 124 checkClusterStatus(o.status); |
125 checkUnnamed688(o.statusHistory); | 125 checkUnnamed428(o.statusHistory); |
126 } | 126 } |
127 buildCounterCluster--; | 127 buildCounterCluster--; |
128 } | 128 } |
129 | 129 |
130 buildUnnamed689() { | 130 buildUnnamed429() { |
131 var o = new core.List<api.NodeInitializationAction>(); | 131 var o = new core.List<api.NodeInitializationAction>(); |
132 o.add(buildNodeInitializationAction()); | 132 o.add(buildNodeInitializationAction()); |
133 o.add(buildNodeInitializationAction()); | 133 o.add(buildNodeInitializationAction()); |
134 return o; | 134 return o; |
135 } | 135 } |
136 | 136 |
137 checkUnnamed689(core.List<api.NodeInitializationAction> o) { | 137 checkUnnamed429(core.List<api.NodeInitializationAction> o) { |
138 unittest.expect(o, unittest.hasLength(2)); | 138 unittest.expect(o, unittest.hasLength(2)); |
139 checkNodeInitializationAction(o[0]); | 139 checkNodeInitializationAction(o[0]); |
140 checkNodeInitializationAction(o[1]); | 140 checkNodeInitializationAction(o[1]); |
141 } | 141 } |
142 | 142 |
143 core.int buildCounterClusterConfig = 0; | 143 core.int buildCounterClusterConfig = 0; |
144 buildClusterConfig() { | 144 buildClusterConfig() { |
145 var o = new api.ClusterConfig(); | 145 var o = new api.ClusterConfig(); |
146 buildCounterClusterConfig++; | 146 buildCounterClusterConfig++; |
147 if (buildCounterClusterConfig < 3) { | 147 if (buildCounterClusterConfig < 3) { |
148 o.configBucket = "foo"; | 148 o.configBucket = "foo"; |
149 o.gceClusterConfig = buildGceClusterConfig(); | 149 o.gceClusterConfig = buildGceClusterConfig(); |
150 o.initializationActions = buildUnnamed689(); | 150 o.initializationActions = buildUnnamed429(); |
151 o.masterConfig = buildInstanceGroupConfig(); | 151 o.masterConfig = buildInstanceGroupConfig(); |
152 o.secondaryWorkerConfig = buildInstanceGroupConfig(); | 152 o.secondaryWorkerConfig = buildInstanceGroupConfig(); |
153 o.softwareConfig = buildSoftwareConfig(); | 153 o.softwareConfig = buildSoftwareConfig(); |
154 o.workerConfig = buildInstanceGroupConfig(); | 154 o.workerConfig = buildInstanceGroupConfig(); |
155 } | 155 } |
156 buildCounterClusterConfig--; | 156 buildCounterClusterConfig--; |
157 return o; | 157 return o; |
158 } | 158 } |
159 | 159 |
160 checkClusterConfig(api.ClusterConfig o) { | 160 checkClusterConfig(api.ClusterConfig o) { |
161 buildCounterClusterConfig++; | 161 buildCounterClusterConfig++; |
162 if (buildCounterClusterConfig < 3) { | 162 if (buildCounterClusterConfig < 3) { |
163 unittest.expect(o.configBucket, unittest.equals('foo')); | 163 unittest.expect(o.configBucket, unittest.equals('foo')); |
164 checkGceClusterConfig(o.gceClusterConfig); | 164 checkGceClusterConfig(o.gceClusterConfig); |
165 checkUnnamed689(o.initializationActions); | 165 checkUnnamed429(o.initializationActions); |
166 checkInstanceGroupConfig(o.masterConfig); | 166 checkInstanceGroupConfig(o.masterConfig); |
167 checkInstanceGroupConfig(o.secondaryWorkerConfig); | 167 checkInstanceGroupConfig(o.secondaryWorkerConfig); |
168 checkSoftwareConfig(o.softwareConfig); | 168 checkSoftwareConfig(o.softwareConfig); |
169 checkInstanceGroupConfig(o.workerConfig); | 169 checkInstanceGroupConfig(o.workerConfig); |
170 } | 170 } |
171 buildCounterClusterConfig--; | 171 buildCounterClusterConfig--; |
172 } | 172 } |
173 | 173 |
174 buildUnnamed690() { | 174 buildUnnamed430() { |
175 var o = new core.Map<core.String, core.String>(); | 175 var o = new core.Map<core.String, core.String>(); |
176 o["x"] = "foo"; | 176 o["x"] = "foo"; |
177 o["y"] = "foo"; | 177 o["y"] = "foo"; |
178 return o; | 178 return o; |
179 } | 179 } |
180 | 180 |
181 checkUnnamed690(core.Map<core.String, core.String> o) { | 181 checkUnnamed430(core.Map<core.String, core.String> o) { |
182 unittest.expect(o, unittest.hasLength(2)); | 182 unittest.expect(o, unittest.hasLength(2)); |
183 unittest.expect(o["x"], unittest.equals('foo')); | 183 unittest.expect(o["x"], unittest.equals('foo')); |
184 unittest.expect(o["y"], unittest.equals('foo')); | 184 unittest.expect(o["y"], unittest.equals('foo')); |
185 } | 185 } |
186 | 186 |
187 buildUnnamed691() { | 187 buildUnnamed431() { |
188 var o = new core.Map<core.String, core.String>(); | 188 var o = new core.Map<core.String, core.String>(); |
189 o["x"] = "foo"; | 189 o["x"] = "foo"; |
190 o["y"] = "foo"; | 190 o["y"] = "foo"; |
191 return o; | 191 return o; |
192 } | 192 } |
193 | 193 |
194 checkUnnamed691(core.Map<core.String, core.String> o) { | 194 checkUnnamed431(core.Map<core.String, core.String> o) { |
195 unittest.expect(o, unittest.hasLength(2)); | 195 unittest.expect(o, unittest.hasLength(2)); |
196 unittest.expect(o["x"], unittest.equals('foo')); | 196 unittest.expect(o["x"], unittest.equals('foo')); |
197 unittest.expect(o["y"], unittest.equals('foo')); | 197 unittest.expect(o["y"], unittest.equals('foo')); |
198 } | 198 } |
199 | 199 |
200 core.int buildCounterClusterMetrics = 0; | 200 core.int buildCounterClusterMetrics = 0; |
201 buildClusterMetrics() { | 201 buildClusterMetrics() { |
202 var o = new api.ClusterMetrics(); | 202 var o = new api.ClusterMetrics(); |
203 buildCounterClusterMetrics++; | 203 buildCounterClusterMetrics++; |
204 if (buildCounterClusterMetrics < 3) { | 204 if (buildCounterClusterMetrics < 3) { |
205 o.hdfsMetrics = buildUnnamed690(); | 205 o.hdfsMetrics = buildUnnamed430(); |
206 o.yarnMetrics = buildUnnamed691(); | 206 o.yarnMetrics = buildUnnamed431(); |
207 } | 207 } |
208 buildCounterClusterMetrics--; | 208 buildCounterClusterMetrics--; |
209 return o; | 209 return o; |
210 } | 210 } |
211 | 211 |
212 checkClusterMetrics(api.ClusterMetrics o) { | 212 checkClusterMetrics(api.ClusterMetrics o) { |
213 buildCounterClusterMetrics++; | 213 buildCounterClusterMetrics++; |
214 if (buildCounterClusterMetrics < 3) { | 214 if (buildCounterClusterMetrics < 3) { |
215 checkUnnamed690(o.hdfsMetrics); | 215 checkUnnamed430(o.hdfsMetrics); |
216 checkUnnamed691(o.yarnMetrics); | 216 checkUnnamed431(o.yarnMetrics); |
217 } | 217 } |
218 buildCounterClusterMetrics--; | 218 buildCounterClusterMetrics--; |
219 } | 219 } |
220 | 220 |
221 buildUnnamed692() { | 221 buildUnnamed432() { |
222 var o = new core.Map<core.String, core.String>(); | 222 var o = new core.Map<core.String, core.String>(); |
223 o["x"] = "foo"; | 223 o["x"] = "foo"; |
224 o["y"] = "foo"; | 224 o["y"] = "foo"; |
225 return o; | 225 return o; |
226 } | 226 } |
227 | 227 |
228 checkUnnamed692(core.Map<core.String, core.String> o) { | 228 checkUnnamed432(core.Map<core.String, core.String> o) { |
229 unittest.expect(o, unittest.hasLength(2)); | 229 unittest.expect(o, unittest.hasLength(2)); |
230 unittest.expect(o["x"], unittest.equals('foo')); | 230 unittest.expect(o["x"], unittest.equals('foo')); |
231 unittest.expect(o["y"], unittest.equals('foo')); | 231 unittest.expect(o["y"], unittest.equals('foo')); |
232 } | 232 } |
233 | 233 |
234 buildUnnamed693() { | 234 buildUnnamed433() { |
235 var o = new core.List<api.ClusterOperationStatus>(); | 235 var o = new core.List<api.ClusterOperationStatus>(); |
236 o.add(buildClusterOperationStatus()); | 236 o.add(buildClusterOperationStatus()); |
237 o.add(buildClusterOperationStatus()); | 237 o.add(buildClusterOperationStatus()); |
238 return o; | 238 return o; |
239 } | 239 } |
240 | 240 |
241 checkUnnamed693(core.List<api.ClusterOperationStatus> o) { | 241 checkUnnamed433(core.List<api.ClusterOperationStatus> o) { |
242 unittest.expect(o, unittest.hasLength(2)); | 242 unittest.expect(o, unittest.hasLength(2)); |
243 checkClusterOperationStatus(o[0]); | 243 checkClusterOperationStatus(o[0]); |
244 checkClusterOperationStatus(o[1]); | 244 checkClusterOperationStatus(o[1]); |
245 } | 245 } |
246 | 246 |
247 core.int buildCounterClusterOperationMetadata = 0; | 247 core.int buildCounterClusterOperationMetadata = 0; |
248 buildClusterOperationMetadata() { | 248 buildClusterOperationMetadata() { |
249 var o = new api.ClusterOperationMetadata(); | 249 var o = new api.ClusterOperationMetadata(); |
250 buildCounterClusterOperationMetadata++; | 250 buildCounterClusterOperationMetadata++; |
251 if (buildCounterClusterOperationMetadata < 3) { | 251 if (buildCounterClusterOperationMetadata < 3) { |
252 o.clusterName = "foo"; | 252 o.clusterName = "foo"; |
253 o.clusterUuid = "foo"; | 253 o.clusterUuid = "foo"; |
254 o.description = "foo"; | 254 o.description = "foo"; |
255 o.labels = buildUnnamed692(); | 255 o.labels = buildUnnamed432(); |
256 o.operationType = "foo"; | 256 o.operationType = "foo"; |
257 o.status = buildClusterOperationStatus(); | 257 o.status = buildClusterOperationStatus(); |
258 o.statusHistory = buildUnnamed693(); | 258 o.statusHistory = buildUnnamed433(); |
259 } | 259 } |
260 buildCounterClusterOperationMetadata--; | 260 buildCounterClusterOperationMetadata--; |
261 return o; | 261 return o; |
262 } | 262 } |
263 | 263 |
264 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { | 264 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { |
265 buildCounterClusterOperationMetadata++; | 265 buildCounterClusterOperationMetadata++; |
266 if (buildCounterClusterOperationMetadata < 3) { | 266 if (buildCounterClusterOperationMetadata < 3) { |
267 unittest.expect(o.clusterName, unittest.equals('foo')); | 267 unittest.expect(o.clusterName, unittest.equals('foo')); |
268 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 268 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
269 unittest.expect(o.description, unittest.equals('foo')); | 269 unittest.expect(o.description, unittest.equals('foo')); |
270 checkUnnamed692(o.labels); | 270 checkUnnamed432(o.labels); |
271 unittest.expect(o.operationType, unittest.equals('foo')); | 271 unittest.expect(o.operationType, unittest.equals('foo')); |
272 checkClusterOperationStatus(o.status); | 272 checkClusterOperationStatus(o.status); |
273 checkUnnamed693(o.statusHistory); | 273 checkUnnamed433(o.statusHistory); |
274 } | 274 } |
275 buildCounterClusterOperationMetadata--; | 275 buildCounterClusterOperationMetadata--; |
276 } | 276 } |
277 | 277 |
278 core.int buildCounterClusterOperationStatus = 0; | 278 core.int buildCounterClusterOperationStatus = 0; |
279 buildClusterOperationStatus() { | 279 buildClusterOperationStatus() { |
280 var o = new api.ClusterOperationStatus(); | 280 var o = new api.ClusterOperationStatus(); |
281 buildCounterClusterOperationStatus++; | 281 buildCounterClusterOperationStatus++; |
282 if (buildCounterClusterOperationStatus < 3) { | 282 if (buildCounterClusterOperationStatus < 3) { |
283 o.details = "foo"; | 283 o.details = "foo"; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 return o; | 409 return o; |
410 } | 410 } |
411 | 411 |
412 checkEmpty(api.Empty o) { | 412 checkEmpty(api.Empty o) { |
413 buildCounterEmpty++; | 413 buildCounterEmpty++; |
414 if (buildCounterEmpty < 3) { | 414 if (buildCounterEmpty < 3) { |
415 } | 415 } |
416 buildCounterEmpty--; | 416 buildCounterEmpty--; |
417 } | 417 } |
418 | 418 |
419 buildUnnamed694() { | 419 buildUnnamed434() { |
420 var o = new core.Map<core.String, core.String>(); | 420 var o = new core.Map<core.String, core.String>(); |
421 o["x"] = "foo"; | 421 o["x"] = "foo"; |
422 o["y"] = "foo"; | 422 o["y"] = "foo"; |
423 return o; | 423 return o; |
424 } | 424 } |
425 | 425 |
426 checkUnnamed694(core.Map<core.String, core.String> o) { | 426 checkUnnamed434(core.Map<core.String, core.String> o) { |
427 unittest.expect(o, unittest.hasLength(2)); | 427 unittest.expect(o, unittest.hasLength(2)); |
428 unittest.expect(o["x"], unittest.equals('foo')); | 428 unittest.expect(o["x"], unittest.equals('foo')); |
429 unittest.expect(o["y"], unittest.equals('foo')); | 429 unittest.expect(o["y"], unittest.equals('foo')); |
430 } | 430 } |
431 | 431 |
432 buildUnnamed695() { | 432 buildUnnamed435() { |
433 var o = new core.List<core.String>(); | 433 var o = new core.List<core.String>(); |
434 o.add("foo"); | 434 o.add("foo"); |
435 o.add("foo"); | 435 o.add("foo"); |
436 return o; | 436 return o; |
437 } | 437 } |
438 | 438 |
439 checkUnnamed695(core.List<core.String> o) { | 439 checkUnnamed435(core.List<core.String> o) { |
440 unittest.expect(o, unittest.hasLength(2)); | 440 unittest.expect(o, unittest.hasLength(2)); |
441 unittest.expect(o[0], unittest.equals('foo')); | 441 unittest.expect(o[0], unittest.equals('foo')); |
442 unittest.expect(o[1], unittest.equals('foo')); | 442 unittest.expect(o[1], unittest.equals('foo')); |
443 } | 443 } |
444 | 444 |
445 buildUnnamed696() { | 445 buildUnnamed436() { |
446 var o = new core.List<core.String>(); | 446 var o = new core.List<core.String>(); |
447 o.add("foo"); | 447 o.add("foo"); |
448 o.add("foo"); | 448 o.add("foo"); |
449 return o; | 449 return o; |
450 } | 450 } |
451 | 451 |
452 checkUnnamed696(core.List<core.String> o) { | 452 checkUnnamed436(core.List<core.String> o) { |
453 unittest.expect(o, unittest.hasLength(2)); | 453 unittest.expect(o, unittest.hasLength(2)); |
454 unittest.expect(o[0], unittest.equals('foo')); | 454 unittest.expect(o[0], unittest.equals('foo')); |
455 unittest.expect(o[1], unittest.equals('foo')); | 455 unittest.expect(o[1], unittest.equals('foo')); |
456 } | 456 } |
457 | 457 |
458 core.int buildCounterGceClusterConfig = 0; | 458 core.int buildCounterGceClusterConfig = 0; |
459 buildGceClusterConfig() { | 459 buildGceClusterConfig() { |
460 var o = new api.GceClusterConfig(); | 460 var o = new api.GceClusterConfig(); |
461 buildCounterGceClusterConfig++; | 461 buildCounterGceClusterConfig++; |
462 if (buildCounterGceClusterConfig < 3) { | 462 if (buildCounterGceClusterConfig < 3) { |
463 o.internalIpOnly = true; | 463 o.internalIpOnly = true; |
464 o.metadata = buildUnnamed694(); | 464 o.metadata = buildUnnamed434(); |
465 o.networkUri = "foo"; | 465 o.networkUri = "foo"; |
466 o.serviceAccountScopes = buildUnnamed695(); | 466 o.serviceAccountScopes = buildUnnamed435(); |
467 o.subnetworkUri = "foo"; | 467 o.subnetworkUri = "foo"; |
468 o.tags = buildUnnamed696(); | 468 o.tags = buildUnnamed436(); |
469 o.zoneUri = "foo"; | 469 o.zoneUri = "foo"; |
470 } | 470 } |
471 buildCounterGceClusterConfig--; | 471 buildCounterGceClusterConfig--; |
472 return o; | 472 return o; |
473 } | 473 } |
474 | 474 |
475 checkGceClusterConfig(api.GceClusterConfig o) { | 475 checkGceClusterConfig(api.GceClusterConfig o) { |
476 buildCounterGceClusterConfig++; | 476 buildCounterGceClusterConfig++; |
477 if (buildCounterGceClusterConfig < 3) { | 477 if (buildCounterGceClusterConfig < 3) { |
478 unittest.expect(o.internalIpOnly, unittest.isTrue); | 478 unittest.expect(o.internalIpOnly, unittest.isTrue); |
479 checkUnnamed694(o.metadata); | 479 checkUnnamed434(o.metadata); |
480 unittest.expect(o.networkUri, unittest.equals('foo')); | 480 unittest.expect(o.networkUri, unittest.equals('foo')); |
481 checkUnnamed695(o.serviceAccountScopes); | 481 checkUnnamed435(o.serviceAccountScopes); |
482 unittest.expect(o.subnetworkUri, unittest.equals('foo')); | 482 unittest.expect(o.subnetworkUri, unittest.equals('foo')); |
483 checkUnnamed696(o.tags); | 483 checkUnnamed436(o.tags); |
484 unittest.expect(o.zoneUri, unittest.equals('foo')); | 484 unittest.expect(o.zoneUri, unittest.equals('foo')); |
485 } | 485 } |
486 buildCounterGceClusterConfig--; | 486 buildCounterGceClusterConfig--; |
487 } | 487 } |
488 | 488 |
489 buildUnnamed697() { | 489 buildUnnamed437() { |
490 var o = new core.List<core.String>(); | 490 var o = new core.List<core.String>(); |
491 o.add("foo"); | 491 o.add("foo"); |
492 o.add("foo"); | 492 o.add("foo"); |
493 return o; | 493 return o; |
494 } | 494 } |
495 | 495 |
496 checkUnnamed697(core.List<core.String> o) { | 496 checkUnnamed437(core.List<core.String> o) { |
497 unittest.expect(o, unittest.hasLength(2)); | 497 unittest.expect(o, unittest.hasLength(2)); |
498 unittest.expect(o[0], unittest.equals('foo')); | 498 unittest.expect(o[0], unittest.equals('foo')); |
499 unittest.expect(o[1], unittest.equals('foo')); | 499 unittest.expect(o[1], unittest.equals('foo')); |
500 } | 500 } |
501 | 501 |
502 buildUnnamed698() { | 502 buildUnnamed438() { |
503 var o = new core.List<core.String>(); | 503 var o = new core.List<core.String>(); |
504 o.add("foo"); | 504 o.add("foo"); |
505 o.add("foo"); | 505 o.add("foo"); |
506 return o; | 506 return o; |
507 } | 507 } |
508 | 508 |
509 checkUnnamed698(core.List<core.String> o) { | 509 checkUnnamed438(core.List<core.String> o) { |
510 unittest.expect(o, unittest.hasLength(2)); | 510 unittest.expect(o, unittest.hasLength(2)); |
511 unittest.expect(o[0], unittest.equals('foo')); | 511 unittest.expect(o[0], unittest.equals('foo')); |
512 unittest.expect(o[1], unittest.equals('foo')); | 512 unittest.expect(o[1], unittest.equals('foo')); |
513 } | 513 } |
514 | 514 |
515 buildUnnamed699() { | 515 buildUnnamed439() { |
516 var o = new core.List<core.String>(); | 516 var o = new core.List<core.String>(); |
517 o.add("foo"); | 517 o.add("foo"); |
518 o.add("foo"); | 518 o.add("foo"); |
519 return o; | 519 return o; |
520 } | 520 } |
521 | 521 |
522 checkUnnamed699(core.List<core.String> o) { | 522 checkUnnamed439(core.List<core.String> o) { |
523 unittest.expect(o, unittest.hasLength(2)); | 523 unittest.expect(o, unittest.hasLength(2)); |
524 unittest.expect(o[0], unittest.equals('foo')); | 524 unittest.expect(o[0], unittest.equals('foo')); |
525 unittest.expect(o[1], unittest.equals('foo')); | 525 unittest.expect(o[1], unittest.equals('foo')); |
526 } | 526 } |
527 | 527 |
528 buildUnnamed700() { | 528 buildUnnamed440() { |
529 var o = new core.List<core.String>(); | 529 var o = new core.List<core.String>(); |
530 o.add("foo"); | 530 o.add("foo"); |
531 o.add("foo"); | 531 o.add("foo"); |
532 return o; | 532 return o; |
533 } | 533 } |
534 | 534 |
535 checkUnnamed700(core.List<core.String> o) { | 535 checkUnnamed440(core.List<core.String> o) { |
536 unittest.expect(o, unittest.hasLength(2)); | 536 unittest.expect(o, unittest.hasLength(2)); |
537 unittest.expect(o[0], unittest.equals('foo')); | 537 unittest.expect(o[0], unittest.equals('foo')); |
538 unittest.expect(o[1], unittest.equals('foo')); | 538 unittest.expect(o[1], unittest.equals('foo')); |
539 } | 539 } |
540 | 540 |
541 buildUnnamed701() { | 541 buildUnnamed441() { |
542 var o = new core.Map<core.String, core.String>(); | 542 var o = new core.Map<core.String, core.String>(); |
543 o["x"] = "foo"; | 543 o["x"] = "foo"; |
544 o["y"] = "foo"; | 544 o["y"] = "foo"; |
545 return o; | 545 return o; |
546 } | 546 } |
547 | 547 |
548 checkUnnamed701(core.Map<core.String, core.String> o) { | 548 checkUnnamed441(core.Map<core.String, core.String> o) { |
549 unittest.expect(o, unittest.hasLength(2)); | 549 unittest.expect(o, unittest.hasLength(2)); |
550 unittest.expect(o["x"], unittest.equals('foo')); | 550 unittest.expect(o["x"], unittest.equals('foo')); |
551 unittest.expect(o["y"], unittest.equals('foo')); | 551 unittest.expect(o["y"], unittest.equals('foo')); |
552 } | 552 } |
553 | 553 |
554 core.int buildCounterHadoopJob = 0; | 554 core.int buildCounterHadoopJob = 0; |
555 buildHadoopJob() { | 555 buildHadoopJob() { |
556 var o = new api.HadoopJob(); | 556 var o = new api.HadoopJob(); |
557 buildCounterHadoopJob++; | 557 buildCounterHadoopJob++; |
558 if (buildCounterHadoopJob < 3) { | 558 if (buildCounterHadoopJob < 3) { |
559 o.archiveUris = buildUnnamed697(); | 559 o.archiveUris = buildUnnamed437(); |
560 o.args = buildUnnamed698(); | 560 o.args = buildUnnamed438(); |
561 o.fileUris = buildUnnamed699(); | 561 o.fileUris = buildUnnamed439(); |
562 o.jarFileUris = buildUnnamed700(); | 562 o.jarFileUris = buildUnnamed440(); |
563 o.loggingConfig = buildLoggingConfig(); | 563 o.loggingConfig = buildLoggingConfig(); |
564 o.mainClass = "foo"; | 564 o.mainClass = "foo"; |
565 o.mainJarFileUri = "foo"; | 565 o.mainJarFileUri = "foo"; |
566 o.properties = buildUnnamed701(); | 566 o.properties = buildUnnamed441(); |
567 } | 567 } |
568 buildCounterHadoopJob--; | 568 buildCounterHadoopJob--; |
569 return o; | 569 return o; |
570 } | 570 } |
571 | 571 |
572 checkHadoopJob(api.HadoopJob o) { | 572 checkHadoopJob(api.HadoopJob o) { |
573 buildCounterHadoopJob++; | 573 buildCounterHadoopJob++; |
574 if (buildCounterHadoopJob < 3) { | 574 if (buildCounterHadoopJob < 3) { |
575 checkUnnamed697(o.archiveUris); | 575 checkUnnamed437(o.archiveUris); |
576 checkUnnamed698(o.args); | 576 checkUnnamed438(o.args); |
577 checkUnnamed699(o.fileUris); | 577 checkUnnamed439(o.fileUris); |
578 checkUnnamed700(o.jarFileUris); | 578 checkUnnamed440(o.jarFileUris); |
579 checkLoggingConfig(o.loggingConfig); | 579 checkLoggingConfig(o.loggingConfig); |
580 unittest.expect(o.mainClass, unittest.equals('foo')); | 580 unittest.expect(o.mainClass, unittest.equals('foo')); |
581 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 581 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
582 checkUnnamed701(o.properties); | 582 checkUnnamed441(o.properties); |
583 } | 583 } |
584 buildCounterHadoopJob--; | 584 buildCounterHadoopJob--; |
585 } | 585 } |
586 | 586 |
587 buildUnnamed702() { | 587 buildUnnamed442() { |
588 var o = new core.List<core.String>(); | 588 var o = new core.List<core.String>(); |
589 o.add("foo"); | 589 o.add("foo"); |
590 o.add("foo"); | 590 o.add("foo"); |
591 return o; | 591 return o; |
592 } | 592 } |
593 | 593 |
594 checkUnnamed702(core.List<core.String> o) { | 594 checkUnnamed442(core.List<core.String> o) { |
595 unittest.expect(o, unittest.hasLength(2)); | 595 unittest.expect(o, unittest.hasLength(2)); |
596 unittest.expect(o[0], unittest.equals('foo')); | 596 unittest.expect(o[0], unittest.equals('foo')); |
597 unittest.expect(o[1], unittest.equals('foo')); | 597 unittest.expect(o[1], unittest.equals('foo')); |
598 } | 598 } |
599 | 599 |
600 buildUnnamed703() { | 600 buildUnnamed443() { |
601 var o = new core.Map<core.String, core.String>(); | 601 var o = new core.Map<core.String, core.String>(); |
602 o["x"] = "foo"; | 602 o["x"] = "foo"; |
603 o["y"] = "foo"; | 603 o["y"] = "foo"; |
604 return o; | 604 return o; |
605 } | 605 } |
606 | 606 |
607 checkUnnamed703(core.Map<core.String, core.String> o) { | 607 checkUnnamed443(core.Map<core.String, core.String> o) { |
608 unittest.expect(o, unittest.hasLength(2)); | 608 unittest.expect(o, unittest.hasLength(2)); |
609 unittest.expect(o["x"], unittest.equals('foo')); | 609 unittest.expect(o["x"], unittest.equals('foo')); |
610 unittest.expect(o["y"], unittest.equals('foo')); | 610 unittest.expect(o["y"], unittest.equals('foo')); |
611 } | 611 } |
612 | 612 |
613 buildUnnamed704() { | 613 buildUnnamed444() { |
614 var o = new core.Map<core.String, core.String>(); | 614 var o = new core.Map<core.String, core.String>(); |
615 o["x"] = "foo"; | 615 o["x"] = "foo"; |
616 o["y"] = "foo"; | 616 o["y"] = "foo"; |
617 return o; | 617 return o; |
618 } | 618 } |
619 | 619 |
620 checkUnnamed704(core.Map<core.String, core.String> o) { | 620 checkUnnamed444(core.Map<core.String, core.String> o) { |
621 unittest.expect(o, unittest.hasLength(2)); | 621 unittest.expect(o, unittest.hasLength(2)); |
622 unittest.expect(o["x"], unittest.equals('foo')); | 622 unittest.expect(o["x"], unittest.equals('foo')); |
623 unittest.expect(o["y"], unittest.equals('foo')); | 623 unittest.expect(o["y"], unittest.equals('foo')); |
624 } | 624 } |
625 | 625 |
626 core.int buildCounterHiveJob = 0; | 626 core.int buildCounterHiveJob = 0; |
627 buildHiveJob() { | 627 buildHiveJob() { |
628 var o = new api.HiveJob(); | 628 var o = new api.HiveJob(); |
629 buildCounterHiveJob++; | 629 buildCounterHiveJob++; |
630 if (buildCounterHiveJob < 3) { | 630 if (buildCounterHiveJob < 3) { |
631 o.continueOnFailure = true; | 631 o.continueOnFailure = true; |
632 o.jarFileUris = buildUnnamed702(); | 632 o.jarFileUris = buildUnnamed442(); |
633 o.properties = buildUnnamed703(); | 633 o.properties = buildUnnamed443(); |
634 o.queryFileUri = "foo"; | 634 o.queryFileUri = "foo"; |
635 o.queryList = buildQueryList(); | 635 o.queryList = buildQueryList(); |
636 o.scriptVariables = buildUnnamed704(); | 636 o.scriptVariables = buildUnnamed444(); |
637 } | 637 } |
638 buildCounterHiveJob--; | 638 buildCounterHiveJob--; |
639 return o; | 639 return o; |
640 } | 640 } |
641 | 641 |
642 checkHiveJob(api.HiveJob o) { | 642 checkHiveJob(api.HiveJob o) { |
643 buildCounterHiveJob++; | 643 buildCounterHiveJob++; |
644 if (buildCounterHiveJob < 3) { | 644 if (buildCounterHiveJob < 3) { |
645 unittest.expect(o.continueOnFailure, unittest.isTrue); | 645 unittest.expect(o.continueOnFailure, unittest.isTrue); |
646 checkUnnamed702(o.jarFileUris); | 646 checkUnnamed442(o.jarFileUris); |
647 checkUnnamed703(o.properties); | 647 checkUnnamed443(o.properties); |
648 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 648 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
649 checkQueryList(o.queryList); | 649 checkQueryList(o.queryList); |
650 checkUnnamed704(o.scriptVariables); | 650 checkUnnamed444(o.scriptVariables); |
651 } | 651 } |
652 buildCounterHiveJob--; | 652 buildCounterHiveJob--; |
653 } | 653 } |
654 | 654 |
655 buildUnnamed705() { | 655 buildUnnamed445() { |
656 var o = new core.List<core.String>(); | 656 var o = new core.List<core.String>(); |
657 o.add("foo"); | 657 o.add("foo"); |
658 o.add("foo"); | 658 o.add("foo"); |
659 return o; | 659 return o; |
660 } | 660 } |
661 | 661 |
662 checkUnnamed705(core.List<core.String> o) { | 662 checkUnnamed445(core.List<core.String> o) { |
663 unittest.expect(o, unittest.hasLength(2)); | 663 unittest.expect(o, unittest.hasLength(2)); |
664 unittest.expect(o[0], unittest.equals('foo')); | 664 unittest.expect(o[0], unittest.equals('foo')); |
665 unittest.expect(o[1], unittest.equals('foo')); | 665 unittest.expect(o[1], unittest.equals('foo')); |
666 } | 666 } |
667 | 667 |
668 core.int buildCounterInstanceGroupConfig = 0; | 668 core.int buildCounterInstanceGroupConfig = 0; |
669 buildInstanceGroupConfig() { | 669 buildInstanceGroupConfig() { |
670 var o = new api.InstanceGroupConfig(); | 670 var o = new api.InstanceGroupConfig(); |
671 buildCounterInstanceGroupConfig++; | 671 buildCounterInstanceGroupConfig++; |
672 if (buildCounterInstanceGroupConfig < 3) { | 672 if (buildCounterInstanceGroupConfig < 3) { |
673 o.diskConfig = buildDiskConfig(); | 673 o.diskConfig = buildDiskConfig(); |
674 o.imageUri = "foo"; | 674 o.imageUri = "foo"; |
675 o.instanceNames = buildUnnamed705(); | 675 o.instanceNames = buildUnnamed445(); |
676 o.isPreemptible = true; | 676 o.isPreemptible = true; |
677 o.machineTypeUri = "foo"; | 677 o.machineTypeUri = "foo"; |
678 o.managedGroupConfig = buildManagedGroupConfig(); | 678 o.managedGroupConfig = buildManagedGroupConfig(); |
679 o.numInstances = 42; | 679 o.numInstances = 42; |
680 } | 680 } |
681 buildCounterInstanceGroupConfig--; | 681 buildCounterInstanceGroupConfig--; |
682 return o; | 682 return o; |
683 } | 683 } |
684 | 684 |
685 checkInstanceGroupConfig(api.InstanceGroupConfig o) { | 685 checkInstanceGroupConfig(api.InstanceGroupConfig o) { |
686 buildCounterInstanceGroupConfig++; | 686 buildCounterInstanceGroupConfig++; |
687 if (buildCounterInstanceGroupConfig < 3) { | 687 if (buildCounterInstanceGroupConfig < 3) { |
688 checkDiskConfig(o.diskConfig); | 688 checkDiskConfig(o.diskConfig); |
689 unittest.expect(o.imageUri, unittest.equals('foo')); | 689 unittest.expect(o.imageUri, unittest.equals('foo')); |
690 checkUnnamed705(o.instanceNames); | 690 checkUnnamed445(o.instanceNames); |
691 unittest.expect(o.isPreemptible, unittest.isTrue); | 691 unittest.expect(o.isPreemptible, unittest.isTrue); |
692 unittest.expect(o.machineTypeUri, unittest.equals('foo')); | 692 unittest.expect(o.machineTypeUri, unittest.equals('foo')); |
693 checkManagedGroupConfig(o.managedGroupConfig); | 693 checkManagedGroupConfig(o.managedGroupConfig); |
694 unittest.expect(o.numInstances, unittest.equals(42)); | 694 unittest.expect(o.numInstances, unittest.equals(42)); |
695 } | 695 } |
696 buildCounterInstanceGroupConfig--; | 696 buildCounterInstanceGroupConfig--; |
697 } | 697 } |
698 | 698 |
699 buildUnnamed706() { | 699 buildUnnamed446() { |
700 var o = new core.Map<core.String, core.String>(); | 700 var o = new core.Map<core.String, core.String>(); |
701 o["x"] = "foo"; | 701 o["x"] = "foo"; |
702 o["y"] = "foo"; | 702 o["y"] = "foo"; |
703 return o; | 703 return o; |
704 } | 704 } |
705 | 705 |
706 checkUnnamed706(core.Map<core.String, core.String> o) { | 706 checkUnnamed446(core.Map<core.String, core.String> o) { |
707 unittest.expect(o, unittest.hasLength(2)); | 707 unittest.expect(o, unittest.hasLength(2)); |
708 unittest.expect(o["x"], unittest.equals('foo')); | 708 unittest.expect(o["x"], unittest.equals('foo')); |
709 unittest.expect(o["y"], unittest.equals('foo')); | 709 unittest.expect(o["y"], unittest.equals('foo')); |
710 } | 710 } |
711 | 711 |
712 buildUnnamed707() { | 712 buildUnnamed447() { |
713 var o = new core.List<api.JobStatus>(); | 713 var o = new core.List<api.JobStatus>(); |
714 o.add(buildJobStatus()); | 714 o.add(buildJobStatus()); |
715 o.add(buildJobStatus()); | 715 o.add(buildJobStatus()); |
716 return o; | 716 return o; |
717 } | 717 } |
718 | 718 |
719 checkUnnamed707(core.List<api.JobStatus> o) { | 719 checkUnnamed447(core.List<api.JobStatus> o) { |
720 unittest.expect(o, unittest.hasLength(2)); | 720 unittest.expect(o, unittest.hasLength(2)); |
721 checkJobStatus(o[0]); | 721 checkJobStatus(o[0]); |
722 checkJobStatus(o[1]); | 722 checkJobStatus(o[1]); |
723 } | 723 } |
724 | 724 |
725 buildUnnamed708() { | 725 buildUnnamed448() { |
726 var o = new core.List<api.YarnApplication>(); | 726 var o = new core.List<api.YarnApplication>(); |
727 o.add(buildYarnApplication()); | 727 o.add(buildYarnApplication()); |
728 o.add(buildYarnApplication()); | 728 o.add(buildYarnApplication()); |
729 return o; | 729 return o; |
730 } | 730 } |
731 | 731 |
732 checkUnnamed708(core.List<api.YarnApplication> o) { | 732 checkUnnamed448(core.List<api.YarnApplication> o) { |
733 unittest.expect(o, unittest.hasLength(2)); | 733 unittest.expect(o, unittest.hasLength(2)); |
734 checkYarnApplication(o[0]); | 734 checkYarnApplication(o[0]); |
735 checkYarnApplication(o[1]); | 735 checkYarnApplication(o[1]); |
736 } | 736 } |
737 | 737 |
738 core.int buildCounterJob = 0; | 738 core.int buildCounterJob = 0; |
739 buildJob() { | 739 buildJob() { |
740 var o = new api.Job(); | 740 var o = new api.Job(); |
741 buildCounterJob++; | 741 buildCounterJob++; |
742 if (buildCounterJob < 3) { | 742 if (buildCounterJob < 3) { |
743 o.driverControlFilesUri = "foo"; | 743 o.driverControlFilesUri = "foo"; |
744 o.driverOutputResourceUri = "foo"; | 744 o.driverOutputResourceUri = "foo"; |
745 o.hadoopJob = buildHadoopJob(); | 745 o.hadoopJob = buildHadoopJob(); |
746 o.hiveJob = buildHiveJob(); | 746 o.hiveJob = buildHiveJob(); |
747 o.labels = buildUnnamed706(); | 747 o.labels = buildUnnamed446(); |
748 o.pigJob = buildPigJob(); | 748 o.pigJob = buildPigJob(); |
749 o.placement = buildJobPlacement(); | 749 o.placement = buildJobPlacement(); |
750 o.pysparkJob = buildPySparkJob(); | 750 o.pysparkJob = buildPySparkJob(); |
751 o.reference = buildJobReference(); | 751 o.reference = buildJobReference(); |
752 o.sparkJob = buildSparkJob(); | 752 o.sparkJob = buildSparkJob(); |
753 o.sparkSqlJob = buildSparkSqlJob(); | 753 o.sparkSqlJob = buildSparkSqlJob(); |
754 o.status = buildJobStatus(); | 754 o.status = buildJobStatus(); |
755 o.statusHistory = buildUnnamed707(); | 755 o.statusHistory = buildUnnamed447(); |
756 o.yarnApplications = buildUnnamed708(); | 756 o.yarnApplications = buildUnnamed448(); |
757 } | 757 } |
758 buildCounterJob--; | 758 buildCounterJob--; |
759 return o; | 759 return o; |
760 } | 760 } |
761 | 761 |
762 checkJob(api.Job o) { | 762 checkJob(api.Job o) { |
763 buildCounterJob++; | 763 buildCounterJob++; |
764 if (buildCounterJob < 3) { | 764 if (buildCounterJob < 3) { |
765 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); | 765 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); |
766 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); | 766 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); |
767 checkHadoopJob(o.hadoopJob); | 767 checkHadoopJob(o.hadoopJob); |
768 checkHiveJob(o.hiveJob); | 768 checkHiveJob(o.hiveJob); |
769 checkUnnamed706(o.labels); | 769 checkUnnamed446(o.labels); |
770 checkPigJob(o.pigJob); | 770 checkPigJob(o.pigJob); |
771 checkJobPlacement(o.placement); | 771 checkJobPlacement(o.placement); |
772 checkPySparkJob(o.pysparkJob); | 772 checkPySparkJob(o.pysparkJob); |
773 checkJobReference(o.reference); | 773 checkJobReference(o.reference); |
774 checkSparkJob(o.sparkJob); | 774 checkSparkJob(o.sparkJob); |
775 checkSparkSqlJob(o.sparkSqlJob); | 775 checkSparkSqlJob(o.sparkSqlJob); |
776 checkJobStatus(o.status); | 776 checkJobStatus(o.status); |
777 checkUnnamed707(o.statusHistory); | 777 checkUnnamed447(o.statusHistory); |
778 checkUnnamed708(o.yarnApplications); | 778 checkUnnamed448(o.yarnApplications); |
779 } | 779 } |
780 buildCounterJob--; | 780 buildCounterJob--; |
781 } | 781 } |
782 | 782 |
783 core.int buildCounterJobPlacement = 0; | 783 core.int buildCounterJobPlacement = 0; |
784 buildJobPlacement() { | 784 buildJobPlacement() { |
785 var o = new api.JobPlacement(); | 785 var o = new api.JobPlacement(); |
786 buildCounterJobPlacement++; | 786 buildCounterJobPlacement++; |
787 if (buildCounterJobPlacement < 3) { | 787 if (buildCounterJobPlacement < 3) { |
788 o.clusterName = "foo"; | 788 o.clusterName = "foo"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
838 checkJobStatus(api.JobStatus o) { | 838 checkJobStatus(api.JobStatus o) { |
839 buildCounterJobStatus++; | 839 buildCounterJobStatus++; |
840 if (buildCounterJobStatus < 3) { | 840 if (buildCounterJobStatus < 3) { |
841 unittest.expect(o.details, unittest.equals('foo')); | 841 unittest.expect(o.details, unittest.equals('foo')); |
842 unittest.expect(o.state, unittest.equals('foo')); | 842 unittest.expect(o.state, unittest.equals('foo')); |
843 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 843 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
844 } | 844 } |
845 buildCounterJobStatus--; | 845 buildCounterJobStatus--; |
846 } | 846 } |
847 | 847 |
848 buildUnnamed709() { | 848 buildUnnamed449() { |
849 var o = new core.List<api.Cluster>(); | 849 var o = new core.List<api.Cluster>(); |
850 o.add(buildCluster()); | 850 o.add(buildCluster()); |
851 o.add(buildCluster()); | 851 o.add(buildCluster()); |
852 return o; | 852 return o; |
853 } | 853 } |
854 | 854 |
855 checkUnnamed709(core.List<api.Cluster> o) { | 855 checkUnnamed449(core.List<api.Cluster> o) { |
856 unittest.expect(o, unittest.hasLength(2)); | 856 unittest.expect(o, unittest.hasLength(2)); |
857 checkCluster(o[0]); | 857 checkCluster(o[0]); |
858 checkCluster(o[1]); | 858 checkCluster(o[1]); |
859 } | 859 } |
860 | 860 |
861 core.int buildCounterListClustersResponse = 0; | 861 core.int buildCounterListClustersResponse = 0; |
862 buildListClustersResponse() { | 862 buildListClustersResponse() { |
863 var o = new api.ListClustersResponse(); | 863 var o = new api.ListClustersResponse(); |
864 buildCounterListClustersResponse++; | 864 buildCounterListClustersResponse++; |
865 if (buildCounterListClustersResponse < 3) { | 865 if (buildCounterListClustersResponse < 3) { |
866 o.clusters = buildUnnamed709(); | 866 o.clusters = buildUnnamed449(); |
867 o.nextPageToken = "foo"; | 867 o.nextPageToken = "foo"; |
868 } | 868 } |
869 buildCounterListClustersResponse--; | 869 buildCounterListClustersResponse--; |
870 return o; | 870 return o; |
871 } | 871 } |
872 | 872 |
873 checkListClustersResponse(api.ListClustersResponse o) { | 873 checkListClustersResponse(api.ListClustersResponse o) { |
874 buildCounterListClustersResponse++; | 874 buildCounterListClustersResponse++; |
875 if (buildCounterListClustersResponse < 3) { | 875 if (buildCounterListClustersResponse < 3) { |
876 checkUnnamed709(o.clusters); | 876 checkUnnamed449(o.clusters); |
877 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 877 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
878 } | 878 } |
879 buildCounterListClustersResponse--; | 879 buildCounterListClustersResponse--; |
880 } | 880 } |
881 | 881 |
882 buildUnnamed710() { | 882 buildUnnamed450() { |
883 var o = new core.List<api.Job>(); | 883 var o = new core.List<api.Job>(); |
884 o.add(buildJob()); | 884 o.add(buildJob()); |
885 o.add(buildJob()); | 885 o.add(buildJob()); |
886 return o; | 886 return o; |
887 } | 887 } |
888 | 888 |
889 checkUnnamed710(core.List<api.Job> o) { | 889 checkUnnamed450(core.List<api.Job> o) { |
890 unittest.expect(o, unittest.hasLength(2)); | 890 unittest.expect(o, unittest.hasLength(2)); |
891 checkJob(o[0]); | 891 checkJob(o[0]); |
892 checkJob(o[1]); | 892 checkJob(o[1]); |
893 } | 893 } |
894 | 894 |
895 core.int buildCounterListJobsResponse = 0; | 895 core.int buildCounterListJobsResponse = 0; |
896 buildListJobsResponse() { | 896 buildListJobsResponse() { |
897 var o = new api.ListJobsResponse(); | 897 var o = new api.ListJobsResponse(); |
898 buildCounterListJobsResponse++; | 898 buildCounterListJobsResponse++; |
899 if (buildCounterListJobsResponse < 3) { | 899 if (buildCounterListJobsResponse < 3) { |
900 o.jobs = buildUnnamed710(); | 900 o.jobs = buildUnnamed450(); |
901 o.nextPageToken = "foo"; | 901 o.nextPageToken = "foo"; |
902 } | 902 } |
903 buildCounterListJobsResponse--; | 903 buildCounterListJobsResponse--; |
904 return o; | 904 return o; |
905 } | 905 } |
906 | 906 |
907 checkListJobsResponse(api.ListJobsResponse o) { | 907 checkListJobsResponse(api.ListJobsResponse o) { |
908 buildCounterListJobsResponse++; | 908 buildCounterListJobsResponse++; |
909 if (buildCounterListJobsResponse < 3) { | 909 if (buildCounterListJobsResponse < 3) { |
910 checkUnnamed710(o.jobs); | 910 checkUnnamed450(o.jobs); |
911 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 911 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
912 } | 912 } |
913 buildCounterListJobsResponse--; | 913 buildCounterListJobsResponse--; |
914 } | 914 } |
915 | 915 |
916 buildUnnamed711() { | 916 buildUnnamed451() { |
917 var o = new core.List<api.Operation>(); | 917 var o = new core.List<api.Operation>(); |
918 o.add(buildOperation()); | 918 o.add(buildOperation()); |
919 o.add(buildOperation()); | 919 o.add(buildOperation()); |
920 return o; | 920 return o; |
921 } | 921 } |
922 | 922 |
923 checkUnnamed711(core.List<api.Operation> o) { | 923 checkUnnamed451(core.List<api.Operation> o) { |
924 unittest.expect(o, unittest.hasLength(2)); | 924 unittest.expect(o, unittest.hasLength(2)); |
925 checkOperation(o[0]); | 925 checkOperation(o[0]); |
926 checkOperation(o[1]); | 926 checkOperation(o[1]); |
927 } | 927 } |
928 | 928 |
929 core.int buildCounterListOperationsResponse = 0; | 929 core.int buildCounterListOperationsResponse = 0; |
930 buildListOperationsResponse() { | 930 buildListOperationsResponse() { |
931 var o = new api.ListOperationsResponse(); | 931 var o = new api.ListOperationsResponse(); |
932 buildCounterListOperationsResponse++; | 932 buildCounterListOperationsResponse++; |
933 if (buildCounterListOperationsResponse < 3) { | 933 if (buildCounterListOperationsResponse < 3) { |
934 o.nextPageToken = "foo"; | 934 o.nextPageToken = "foo"; |
935 o.operations = buildUnnamed711(); | 935 o.operations = buildUnnamed451(); |
936 } | 936 } |
937 buildCounterListOperationsResponse--; | 937 buildCounterListOperationsResponse--; |
938 return o; | 938 return o; |
939 } | 939 } |
940 | 940 |
941 checkListOperationsResponse(api.ListOperationsResponse o) { | 941 checkListOperationsResponse(api.ListOperationsResponse o) { |
942 buildCounterListOperationsResponse++; | 942 buildCounterListOperationsResponse++; |
943 if (buildCounterListOperationsResponse < 3) { | 943 if (buildCounterListOperationsResponse < 3) { |
944 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 944 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
945 checkUnnamed711(o.operations); | 945 checkUnnamed451(o.operations); |
946 } | 946 } |
947 buildCounterListOperationsResponse--; | 947 buildCounterListOperationsResponse--; |
948 } | 948 } |
949 | 949 |
950 buildUnnamed712() { | 950 buildUnnamed452() { |
951 var o = new core.Map<core.String, core.String>(); | 951 var o = new core.Map<core.String, core.String>(); |
952 o["x"] = "foo"; | 952 o["x"] = "foo"; |
953 o["y"] = "foo"; | 953 o["y"] = "foo"; |
954 return o; | 954 return o; |
955 } | 955 } |
956 | 956 |
957 checkUnnamed712(core.Map<core.String, core.String> o) { | 957 checkUnnamed452(core.Map<core.String, core.String> o) { |
958 unittest.expect(o, unittest.hasLength(2)); | 958 unittest.expect(o, unittest.hasLength(2)); |
959 unittest.expect(o["x"], unittest.equals('foo')); | 959 unittest.expect(o["x"], unittest.equals('foo')); |
960 unittest.expect(o["y"], unittest.equals('foo')); | 960 unittest.expect(o["y"], unittest.equals('foo')); |
961 } | 961 } |
962 | 962 |
963 core.int buildCounterLoggingConfig = 0; | 963 core.int buildCounterLoggingConfig = 0; |
964 buildLoggingConfig() { | 964 buildLoggingConfig() { |
965 var o = new api.LoggingConfig(); | 965 var o = new api.LoggingConfig(); |
966 buildCounterLoggingConfig++; | 966 buildCounterLoggingConfig++; |
967 if (buildCounterLoggingConfig < 3) { | 967 if (buildCounterLoggingConfig < 3) { |
968 o.driverLogLevels = buildUnnamed712(); | 968 o.driverLogLevels = buildUnnamed452(); |
969 } | 969 } |
970 buildCounterLoggingConfig--; | 970 buildCounterLoggingConfig--; |
971 return o; | 971 return o; |
972 } | 972 } |
973 | 973 |
974 checkLoggingConfig(api.LoggingConfig o) { | 974 checkLoggingConfig(api.LoggingConfig o) { |
975 buildCounterLoggingConfig++; | 975 buildCounterLoggingConfig++; |
976 if (buildCounterLoggingConfig < 3) { | 976 if (buildCounterLoggingConfig < 3) { |
977 checkUnnamed712(o.driverLogLevels); | 977 checkUnnamed452(o.driverLogLevels); |
978 } | 978 } |
979 buildCounterLoggingConfig--; | 979 buildCounterLoggingConfig--; |
980 } | 980 } |
981 | 981 |
982 core.int buildCounterManagedGroupConfig = 0; | 982 core.int buildCounterManagedGroupConfig = 0; |
983 buildManagedGroupConfig() { | 983 buildManagedGroupConfig() { |
984 var o = new api.ManagedGroupConfig(); | 984 var o = new api.ManagedGroupConfig(); |
985 buildCounterManagedGroupConfig++; | 985 buildCounterManagedGroupConfig++; |
986 if (buildCounterManagedGroupConfig < 3) { | 986 if (buildCounterManagedGroupConfig < 3) { |
987 o.instanceGroupManagerName = "foo"; | 987 o.instanceGroupManagerName = "foo"; |
(...skipping 26 matching lines...) Expand all Loading... |
1014 | 1014 |
1015 checkNodeInitializationAction(api.NodeInitializationAction o) { | 1015 checkNodeInitializationAction(api.NodeInitializationAction o) { |
1016 buildCounterNodeInitializationAction++; | 1016 buildCounterNodeInitializationAction++; |
1017 if (buildCounterNodeInitializationAction < 3) { | 1017 if (buildCounterNodeInitializationAction < 3) { |
1018 unittest.expect(o.executableFile, unittest.equals('foo')); | 1018 unittest.expect(o.executableFile, unittest.equals('foo')); |
1019 unittest.expect(o.executionTimeout, unittest.equals('foo')); | 1019 unittest.expect(o.executionTimeout, unittest.equals('foo')); |
1020 } | 1020 } |
1021 buildCounterNodeInitializationAction--; | 1021 buildCounterNodeInitializationAction--; |
1022 } | 1022 } |
1023 | 1023 |
1024 buildUnnamed713() { | 1024 buildUnnamed453() { |
1025 var o = new core.Map<core.String, core.Object>(); | 1025 var o = new core.Map<core.String, core.Object>(); |
1026 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1026 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1027 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1027 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1028 return o; | 1028 return o; |
1029 } | 1029 } |
1030 | 1030 |
1031 checkUnnamed713(core.Map<core.String, core.Object> o) { | 1031 checkUnnamed453(core.Map<core.String, core.Object> o) { |
1032 unittest.expect(o, unittest.hasLength(2)); | 1032 unittest.expect(o, unittest.hasLength(2)); |
1033 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')); | 1033 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')); |
1034 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')); | 1034 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')); |
1035 } | 1035 } |
1036 | 1036 |
1037 buildUnnamed714() { | 1037 buildUnnamed454() { |
1038 var o = new core.Map<core.String, core.Object>(); | 1038 var o = new core.Map<core.String, core.Object>(); |
1039 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1039 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1040 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1040 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1041 return o; | 1041 return o; |
1042 } | 1042 } |
1043 | 1043 |
1044 checkUnnamed714(core.Map<core.String, core.Object> o) { | 1044 checkUnnamed454(core.Map<core.String, core.Object> o) { |
1045 unittest.expect(o, unittest.hasLength(2)); | 1045 unittest.expect(o, unittest.hasLength(2)); |
1046 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')); | 1046 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')); |
1047 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')); | 1047 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')); |
1048 } | 1048 } |
1049 | 1049 |
1050 core.int buildCounterOperation = 0; | 1050 core.int buildCounterOperation = 0; |
1051 buildOperation() { | 1051 buildOperation() { |
1052 var o = new api.Operation(); | 1052 var o = new api.Operation(); |
1053 buildCounterOperation++; | 1053 buildCounterOperation++; |
1054 if (buildCounterOperation < 3) { | 1054 if (buildCounterOperation < 3) { |
1055 o.done = true; | 1055 o.done = true; |
1056 o.error = buildStatus(); | 1056 o.error = buildStatus(); |
1057 o.metadata = buildUnnamed713(); | 1057 o.metadata = buildUnnamed453(); |
1058 o.name = "foo"; | 1058 o.name = "foo"; |
1059 o.response = buildUnnamed714(); | 1059 o.response = buildUnnamed454(); |
1060 } | 1060 } |
1061 buildCounterOperation--; | 1061 buildCounterOperation--; |
1062 return o; | 1062 return o; |
1063 } | 1063 } |
1064 | 1064 |
1065 checkOperation(api.Operation o) { | 1065 checkOperation(api.Operation o) { |
1066 buildCounterOperation++; | 1066 buildCounterOperation++; |
1067 if (buildCounterOperation < 3) { | 1067 if (buildCounterOperation < 3) { |
1068 unittest.expect(o.done, unittest.isTrue); | 1068 unittest.expect(o.done, unittest.isTrue); |
1069 checkStatus(o.error); | 1069 checkStatus(o.error); |
1070 checkUnnamed713(o.metadata); | 1070 checkUnnamed453(o.metadata); |
1071 unittest.expect(o.name, unittest.equals('foo')); | 1071 unittest.expect(o.name, unittest.equals('foo')); |
1072 checkUnnamed714(o.response); | 1072 checkUnnamed454(o.response); |
1073 } | 1073 } |
1074 buildCounterOperation--; | 1074 buildCounterOperation--; |
1075 } | 1075 } |
1076 | 1076 |
1077 buildUnnamed715() { | 1077 buildUnnamed455() { |
1078 var o = new core.List<api.OperationStatus>(); | 1078 var o = new core.List<api.OperationStatus>(); |
1079 o.add(buildOperationStatus()); | 1079 o.add(buildOperationStatus()); |
1080 o.add(buildOperationStatus()); | 1080 o.add(buildOperationStatus()); |
1081 return o; | 1081 return o; |
1082 } | 1082 } |
1083 | 1083 |
1084 checkUnnamed715(core.List<api.OperationStatus> o) { | 1084 checkUnnamed455(core.List<api.OperationStatus> o) { |
1085 unittest.expect(o, unittest.hasLength(2)); | 1085 unittest.expect(o, unittest.hasLength(2)); |
1086 checkOperationStatus(o[0]); | 1086 checkOperationStatus(o[0]); |
1087 checkOperationStatus(o[1]); | 1087 checkOperationStatus(o[1]); |
1088 } | 1088 } |
1089 | 1089 |
1090 core.int buildCounterOperationMetadata = 0; | 1090 core.int buildCounterOperationMetadata = 0; |
1091 buildOperationMetadata() { | 1091 buildOperationMetadata() { |
1092 var o = new api.OperationMetadata(); | 1092 var o = new api.OperationMetadata(); |
1093 buildCounterOperationMetadata++; | 1093 buildCounterOperationMetadata++; |
1094 if (buildCounterOperationMetadata < 3) { | 1094 if (buildCounterOperationMetadata < 3) { |
1095 o.clusterName = "foo"; | 1095 o.clusterName = "foo"; |
1096 o.clusterUuid = "foo"; | 1096 o.clusterUuid = "foo"; |
1097 o.description = "foo"; | 1097 o.description = "foo"; |
1098 o.details = "foo"; | 1098 o.details = "foo"; |
1099 o.endTime = "foo"; | 1099 o.endTime = "foo"; |
1100 o.innerState = "foo"; | 1100 o.innerState = "foo"; |
1101 o.insertTime = "foo"; | 1101 o.insertTime = "foo"; |
1102 o.operationType = "foo"; | 1102 o.operationType = "foo"; |
1103 o.startTime = "foo"; | 1103 o.startTime = "foo"; |
1104 o.state = "foo"; | 1104 o.state = "foo"; |
1105 o.status = buildOperationStatus(); | 1105 o.status = buildOperationStatus(); |
1106 o.statusHistory = buildUnnamed715(); | 1106 o.statusHistory = buildUnnamed455(); |
1107 } | 1107 } |
1108 buildCounterOperationMetadata--; | 1108 buildCounterOperationMetadata--; |
1109 return o; | 1109 return o; |
1110 } | 1110 } |
1111 | 1111 |
1112 checkOperationMetadata(api.OperationMetadata o) { | 1112 checkOperationMetadata(api.OperationMetadata o) { |
1113 buildCounterOperationMetadata++; | 1113 buildCounterOperationMetadata++; |
1114 if (buildCounterOperationMetadata < 3) { | 1114 if (buildCounterOperationMetadata < 3) { |
1115 unittest.expect(o.clusterName, unittest.equals('foo')); | 1115 unittest.expect(o.clusterName, unittest.equals('foo')); |
1116 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 1116 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
1117 unittest.expect(o.description, unittest.equals('foo')); | 1117 unittest.expect(o.description, unittest.equals('foo')); |
1118 unittest.expect(o.details, unittest.equals('foo')); | 1118 unittest.expect(o.details, unittest.equals('foo')); |
1119 unittest.expect(o.endTime, unittest.equals('foo')); | 1119 unittest.expect(o.endTime, unittest.equals('foo')); |
1120 unittest.expect(o.innerState, unittest.equals('foo')); | 1120 unittest.expect(o.innerState, unittest.equals('foo')); |
1121 unittest.expect(o.insertTime, unittest.equals('foo')); | 1121 unittest.expect(o.insertTime, unittest.equals('foo')); |
1122 unittest.expect(o.operationType, unittest.equals('foo')); | 1122 unittest.expect(o.operationType, unittest.equals('foo')); |
1123 unittest.expect(o.startTime, unittest.equals('foo')); | 1123 unittest.expect(o.startTime, unittest.equals('foo')); |
1124 unittest.expect(o.state, unittest.equals('foo')); | 1124 unittest.expect(o.state, unittest.equals('foo')); |
1125 checkOperationStatus(o.status); | 1125 checkOperationStatus(o.status); |
1126 checkUnnamed715(o.statusHistory); | 1126 checkUnnamed455(o.statusHistory); |
1127 } | 1127 } |
1128 buildCounterOperationMetadata--; | 1128 buildCounterOperationMetadata--; |
1129 } | 1129 } |
1130 | 1130 |
1131 core.int buildCounterOperationStatus = 0; | 1131 core.int buildCounterOperationStatus = 0; |
1132 buildOperationStatus() { | 1132 buildOperationStatus() { |
1133 var o = new api.OperationStatus(); | 1133 var o = new api.OperationStatus(); |
1134 buildCounterOperationStatus++; | 1134 buildCounterOperationStatus++; |
1135 if (buildCounterOperationStatus < 3) { | 1135 if (buildCounterOperationStatus < 3) { |
1136 o.details = "foo"; | 1136 o.details = "foo"; |
1137 o.innerState = "foo"; | 1137 o.innerState = "foo"; |
1138 o.state = "foo"; | 1138 o.state = "foo"; |
1139 o.stateStartTime = "foo"; | 1139 o.stateStartTime = "foo"; |
1140 } | 1140 } |
1141 buildCounterOperationStatus--; | 1141 buildCounterOperationStatus--; |
1142 return o; | 1142 return o; |
1143 } | 1143 } |
1144 | 1144 |
1145 checkOperationStatus(api.OperationStatus o) { | 1145 checkOperationStatus(api.OperationStatus o) { |
1146 buildCounterOperationStatus++; | 1146 buildCounterOperationStatus++; |
1147 if (buildCounterOperationStatus < 3) { | 1147 if (buildCounterOperationStatus < 3) { |
1148 unittest.expect(o.details, unittest.equals('foo')); | 1148 unittest.expect(o.details, unittest.equals('foo')); |
1149 unittest.expect(o.innerState, unittest.equals('foo')); | 1149 unittest.expect(o.innerState, unittest.equals('foo')); |
1150 unittest.expect(o.state, unittest.equals('foo')); | 1150 unittest.expect(o.state, unittest.equals('foo')); |
1151 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 1151 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
1152 } | 1152 } |
1153 buildCounterOperationStatus--; | 1153 buildCounterOperationStatus--; |
1154 } | 1154 } |
1155 | 1155 |
1156 buildUnnamed716() { | 1156 buildUnnamed456() { |
1157 var o = new core.List<core.String>(); | 1157 var o = new core.List<core.String>(); |
1158 o.add("foo"); | 1158 o.add("foo"); |
1159 o.add("foo"); | 1159 o.add("foo"); |
1160 return o; | 1160 return o; |
1161 } | 1161 } |
1162 | 1162 |
1163 checkUnnamed716(core.List<core.String> o) { | 1163 checkUnnamed456(core.List<core.String> o) { |
1164 unittest.expect(o, unittest.hasLength(2)); | 1164 unittest.expect(o, unittest.hasLength(2)); |
1165 unittest.expect(o[0], unittest.equals('foo')); | 1165 unittest.expect(o[0], unittest.equals('foo')); |
1166 unittest.expect(o[1], unittest.equals('foo')); | 1166 unittest.expect(o[1], unittest.equals('foo')); |
1167 } | 1167 } |
1168 | 1168 |
1169 buildUnnamed717() { | 1169 buildUnnamed457() { |
1170 var o = new core.Map<core.String, core.String>(); | 1170 var o = new core.Map<core.String, core.String>(); |
1171 o["x"] = "foo"; | 1171 o["x"] = "foo"; |
1172 o["y"] = "foo"; | 1172 o["y"] = "foo"; |
1173 return o; | 1173 return o; |
1174 } | 1174 } |
1175 | 1175 |
1176 checkUnnamed717(core.Map<core.String, core.String> o) { | 1176 checkUnnamed457(core.Map<core.String, core.String> o) { |
1177 unittest.expect(o, unittest.hasLength(2)); | 1177 unittest.expect(o, unittest.hasLength(2)); |
1178 unittest.expect(o["x"], unittest.equals('foo')); | 1178 unittest.expect(o["x"], unittest.equals('foo')); |
1179 unittest.expect(o["y"], unittest.equals('foo')); | 1179 unittest.expect(o["y"], unittest.equals('foo')); |
1180 } | 1180 } |
1181 | 1181 |
1182 buildUnnamed718() { | 1182 buildUnnamed458() { |
1183 var o = new core.Map<core.String, core.String>(); | 1183 var o = new core.Map<core.String, core.String>(); |
1184 o["x"] = "foo"; | 1184 o["x"] = "foo"; |
1185 o["y"] = "foo"; | 1185 o["y"] = "foo"; |
1186 return o; | 1186 return o; |
1187 } | 1187 } |
1188 | 1188 |
1189 checkUnnamed718(core.Map<core.String, core.String> o) { | 1189 checkUnnamed458(core.Map<core.String, core.String> o) { |
1190 unittest.expect(o, unittest.hasLength(2)); | 1190 unittest.expect(o, unittest.hasLength(2)); |
1191 unittest.expect(o["x"], unittest.equals('foo')); | 1191 unittest.expect(o["x"], unittest.equals('foo')); |
1192 unittest.expect(o["y"], unittest.equals('foo')); | 1192 unittest.expect(o["y"], unittest.equals('foo')); |
1193 } | 1193 } |
1194 | 1194 |
1195 core.int buildCounterPigJob = 0; | 1195 core.int buildCounterPigJob = 0; |
1196 buildPigJob() { | 1196 buildPigJob() { |
1197 var o = new api.PigJob(); | 1197 var o = new api.PigJob(); |
1198 buildCounterPigJob++; | 1198 buildCounterPigJob++; |
1199 if (buildCounterPigJob < 3) { | 1199 if (buildCounterPigJob < 3) { |
1200 o.continueOnFailure = true; | 1200 o.continueOnFailure = true; |
1201 o.jarFileUris = buildUnnamed716(); | 1201 o.jarFileUris = buildUnnamed456(); |
1202 o.loggingConfig = buildLoggingConfig(); | 1202 o.loggingConfig = buildLoggingConfig(); |
1203 o.properties = buildUnnamed717(); | 1203 o.properties = buildUnnamed457(); |
1204 o.queryFileUri = "foo"; | 1204 o.queryFileUri = "foo"; |
1205 o.queryList = buildQueryList(); | 1205 o.queryList = buildQueryList(); |
1206 o.scriptVariables = buildUnnamed718(); | 1206 o.scriptVariables = buildUnnamed458(); |
1207 } | 1207 } |
1208 buildCounterPigJob--; | 1208 buildCounterPigJob--; |
1209 return o; | 1209 return o; |
1210 } | 1210 } |
1211 | 1211 |
1212 checkPigJob(api.PigJob o) { | 1212 checkPigJob(api.PigJob o) { |
1213 buildCounterPigJob++; | 1213 buildCounterPigJob++; |
1214 if (buildCounterPigJob < 3) { | 1214 if (buildCounterPigJob < 3) { |
1215 unittest.expect(o.continueOnFailure, unittest.isTrue); | 1215 unittest.expect(o.continueOnFailure, unittest.isTrue); |
1216 checkUnnamed716(o.jarFileUris); | 1216 checkUnnamed456(o.jarFileUris); |
1217 checkLoggingConfig(o.loggingConfig); | 1217 checkLoggingConfig(o.loggingConfig); |
1218 checkUnnamed717(o.properties); | 1218 checkUnnamed457(o.properties); |
1219 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1219 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
1220 checkQueryList(o.queryList); | 1220 checkQueryList(o.queryList); |
1221 checkUnnamed718(o.scriptVariables); | 1221 checkUnnamed458(o.scriptVariables); |
1222 } | 1222 } |
1223 buildCounterPigJob--; | 1223 buildCounterPigJob--; |
1224 } | 1224 } |
1225 | 1225 |
1226 buildUnnamed719() { | 1226 buildUnnamed459() { |
1227 var o = new core.List<core.String>(); | 1227 var o = new core.List<core.String>(); |
1228 o.add("foo"); | 1228 o.add("foo"); |
1229 o.add("foo"); | 1229 o.add("foo"); |
1230 return o; | 1230 return o; |
1231 } | 1231 } |
1232 | 1232 |
1233 checkUnnamed719(core.List<core.String> o) { | 1233 checkUnnamed459(core.List<core.String> o) { |
1234 unittest.expect(o, unittest.hasLength(2)); | 1234 unittest.expect(o, unittest.hasLength(2)); |
1235 unittest.expect(o[0], unittest.equals('foo')); | 1235 unittest.expect(o[0], unittest.equals('foo')); |
1236 unittest.expect(o[1], unittest.equals('foo')); | 1236 unittest.expect(o[1], unittest.equals('foo')); |
1237 } | 1237 } |
1238 | 1238 |
1239 buildUnnamed720() { | 1239 buildUnnamed460() { |
1240 var o = new core.List<core.String>(); | 1240 var o = new core.List<core.String>(); |
1241 o.add("foo"); | 1241 o.add("foo"); |
1242 o.add("foo"); | 1242 o.add("foo"); |
1243 return o; | 1243 return o; |
1244 } | 1244 } |
1245 | 1245 |
1246 checkUnnamed720(core.List<core.String> o) { | 1246 checkUnnamed460(core.List<core.String> o) { |
1247 unittest.expect(o, unittest.hasLength(2)); | 1247 unittest.expect(o, unittest.hasLength(2)); |
1248 unittest.expect(o[0], unittest.equals('foo')); | 1248 unittest.expect(o[0], unittest.equals('foo')); |
1249 unittest.expect(o[1], unittest.equals('foo')); | 1249 unittest.expect(o[1], unittest.equals('foo')); |
1250 } | 1250 } |
1251 | 1251 |
1252 buildUnnamed721() { | 1252 buildUnnamed461() { |
1253 var o = new core.List<core.String>(); | 1253 var o = new core.List<core.String>(); |
1254 o.add("foo"); | 1254 o.add("foo"); |
1255 o.add("foo"); | 1255 o.add("foo"); |
1256 return o; | 1256 return o; |
1257 } | 1257 } |
1258 | 1258 |
1259 checkUnnamed721(core.List<core.String> o) { | 1259 checkUnnamed461(core.List<core.String> o) { |
1260 unittest.expect(o, unittest.hasLength(2)); | 1260 unittest.expect(o, unittest.hasLength(2)); |
1261 unittest.expect(o[0], unittest.equals('foo')); | 1261 unittest.expect(o[0], unittest.equals('foo')); |
1262 unittest.expect(o[1], unittest.equals('foo')); | 1262 unittest.expect(o[1], unittest.equals('foo')); |
1263 } | 1263 } |
1264 | 1264 |
1265 buildUnnamed722() { | 1265 buildUnnamed462() { |
1266 var o = new core.List<core.String>(); | 1266 var o = new core.List<core.String>(); |
1267 o.add("foo"); | 1267 o.add("foo"); |
1268 o.add("foo"); | 1268 o.add("foo"); |
1269 return o; | 1269 return o; |
1270 } | 1270 } |
1271 | 1271 |
1272 checkUnnamed722(core.List<core.String> o) { | 1272 checkUnnamed462(core.List<core.String> o) { |
1273 unittest.expect(o, unittest.hasLength(2)); | 1273 unittest.expect(o, unittest.hasLength(2)); |
1274 unittest.expect(o[0], unittest.equals('foo')); | 1274 unittest.expect(o[0], unittest.equals('foo')); |
1275 unittest.expect(o[1], unittest.equals('foo')); | 1275 unittest.expect(o[1], unittest.equals('foo')); |
1276 } | 1276 } |
1277 | 1277 |
1278 buildUnnamed723() { | 1278 buildUnnamed463() { |
1279 var o = new core.Map<core.String, core.String>(); | 1279 var o = new core.Map<core.String, core.String>(); |
1280 o["x"] = "foo"; | 1280 o["x"] = "foo"; |
1281 o["y"] = "foo"; | 1281 o["y"] = "foo"; |
1282 return o; | 1282 return o; |
1283 } | 1283 } |
1284 | 1284 |
1285 checkUnnamed723(core.Map<core.String, core.String> o) { | 1285 checkUnnamed463(core.Map<core.String, core.String> o) { |
1286 unittest.expect(o, unittest.hasLength(2)); | 1286 unittest.expect(o, unittest.hasLength(2)); |
1287 unittest.expect(o["x"], unittest.equals('foo')); | 1287 unittest.expect(o["x"], unittest.equals('foo')); |
1288 unittest.expect(o["y"], unittest.equals('foo')); | 1288 unittest.expect(o["y"], unittest.equals('foo')); |
1289 } | 1289 } |
1290 | 1290 |
1291 buildUnnamed724() { | 1291 buildUnnamed464() { |
1292 var o = new core.List<core.String>(); | 1292 var o = new core.List<core.String>(); |
1293 o.add("foo"); | 1293 o.add("foo"); |
1294 o.add("foo"); | 1294 o.add("foo"); |
1295 return o; | 1295 return o; |
1296 } | 1296 } |
1297 | 1297 |
1298 checkUnnamed724(core.List<core.String> o) { | 1298 checkUnnamed464(core.List<core.String> o) { |
1299 unittest.expect(o, unittest.hasLength(2)); | 1299 unittest.expect(o, unittest.hasLength(2)); |
1300 unittest.expect(o[0], unittest.equals('foo')); | 1300 unittest.expect(o[0], unittest.equals('foo')); |
1301 unittest.expect(o[1], unittest.equals('foo')); | 1301 unittest.expect(o[1], unittest.equals('foo')); |
1302 } | 1302 } |
1303 | 1303 |
1304 core.int buildCounterPySparkJob = 0; | 1304 core.int buildCounterPySparkJob = 0; |
1305 buildPySparkJob() { | 1305 buildPySparkJob() { |
1306 var o = new api.PySparkJob(); | 1306 var o = new api.PySparkJob(); |
1307 buildCounterPySparkJob++; | 1307 buildCounterPySparkJob++; |
1308 if (buildCounterPySparkJob < 3) { | 1308 if (buildCounterPySparkJob < 3) { |
1309 o.archiveUris = buildUnnamed719(); | 1309 o.archiveUris = buildUnnamed459(); |
1310 o.args = buildUnnamed720(); | 1310 o.args = buildUnnamed460(); |
1311 o.fileUris = buildUnnamed721(); | 1311 o.fileUris = buildUnnamed461(); |
1312 o.jarFileUris = buildUnnamed722(); | 1312 o.jarFileUris = buildUnnamed462(); |
1313 o.loggingConfig = buildLoggingConfig(); | 1313 o.loggingConfig = buildLoggingConfig(); |
1314 o.mainPythonFileUri = "foo"; | 1314 o.mainPythonFileUri = "foo"; |
1315 o.properties = buildUnnamed723(); | 1315 o.properties = buildUnnamed463(); |
1316 o.pythonFileUris = buildUnnamed724(); | 1316 o.pythonFileUris = buildUnnamed464(); |
1317 } | 1317 } |
1318 buildCounterPySparkJob--; | 1318 buildCounterPySparkJob--; |
1319 return o; | 1319 return o; |
1320 } | 1320 } |
1321 | 1321 |
1322 checkPySparkJob(api.PySparkJob o) { | 1322 checkPySparkJob(api.PySparkJob o) { |
1323 buildCounterPySparkJob++; | 1323 buildCounterPySparkJob++; |
1324 if (buildCounterPySparkJob < 3) { | 1324 if (buildCounterPySparkJob < 3) { |
1325 checkUnnamed719(o.archiveUris); | 1325 checkUnnamed459(o.archiveUris); |
1326 checkUnnamed720(o.args); | 1326 checkUnnamed460(o.args); |
1327 checkUnnamed721(o.fileUris); | 1327 checkUnnamed461(o.fileUris); |
1328 checkUnnamed722(o.jarFileUris); | 1328 checkUnnamed462(o.jarFileUris); |
1329 checkLoggingConfig(o.loggingConfig); | 1329 checkLoggingConfig(o.loggingConfig); |
1330 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); | 1330 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); |
1331 checkUnnamed723(o.properties); | 1331 checkUnnamed463(o.properties); |
1332 checkUnnamed724(o.pythonFileUris); | 1332 checkUnnamed464(o.pythonFileUris); |
1333 } | 1333 } |
1334 buildCounterPySparkJob--; | 1334 buildCounterPySparkJob--; |
1335 } | 1335 } |
1336 | 1336 |
1337 buildUnnamed725() { | 1337 buildUnnamed465() { |
1338 var o = new core.List<core.String>(); | 1338 var o = new core.List<core.String>(); |
1339 o.add("foo"); | 1339 o.add("foo"); |
1340 o.add("foo"); | 1340 o.add("foo"); |
1341 return o; | 1341 return o; |
1342 } | 1342 } |
1343 | 1343 |
1344 checkUnnamed725(core.List<core.String> o) { | 1344 checkUnnamed465(core.List<core.String> o) { |
1345 unittest.expect(o, unittest.hasLength(2)); | 1345 unittest.expect(o, unittest.hasLength(2)); |
1346 unittest.expect(o[0], unittest.equals('foo')); | 1346 unittest.expect(o[0], unittest.equals('foo')); |
1347 unittest.expect(o[1], unittest.equals('foo')); | 1347 unittest.expect(o[1], unittest.equals('foo')); |
1348 } | 1348 } |
1349 | 1349 |
1350 core.int buildCounterQueryList = 0; | 1350 core.int buildCounterQueryList = 0; |
1351 buildQueryList() { | 1351 buildQueryList() { |
1352 var o = new api.QueryList(); | 1352 var o = new api.QueryList(); |
1353 buildCounterQueryList++; | 1353 buildCounterQueryList++; |
1354 if (buildCounterQueryList < 3) { | 1354 if (buildCounterQueryList < 3) { |
1355 o.queries = buildUnnamed725(); | 1355 o.queries = buildUnnamed465(); |
1356 } | 1356 } |
1357 buildCounterQueryList--; | 1357 buildCounterQueryList--; |
1358 return o; | 1358 return o; |
1359 } | 1359 } |
1360 | 1360 |
1361 checkQueryList(api.QueryList o) { | 1361 checkQueryList(api.QueryList o) { |
1362 buildCounterQueryList++; | 1362 buildCounterQueryList++; |
1363 if (buildCounterQueryList < 3) { | 1363 if (buildCounterQueryList < 3) { |
1364 checkUnnamed725(o.queries); | 1364 checkUnnamed465(o.queries); |
1365 } | 1365 } |
1366 buildCounterQueryList--; | 1366 buildCounterQueryList--; |
1367 } | 1367 } |
1368 | 1368 |
1369 buildUnnamed726() { | 1369 buildUnnamed466() { |
1370 var o = new core.Map<core.String, core.String>(); | 1370 var o = new core.Map<core.String, core.String>(); |
1371 o["x"] = "foo"; | 1371 o["x"] = "foo"; |
1372 o["y"] = "foo"; | 1372 o["y"] = "foo"; |
1373 return o; | 1373 return o; |
1374 } | 1374 } |
1375 | 1375 |
1376 checkUnnamed726(core.Map<core.String, core.String> o) { | 1376 checkUnnamed466(core.Map<core.String, core.String> o) { |
1377 unittest.expect(o, unittest.hasLength(2)); | 1377 unittest.expect(o, unittest.hasLength(2)); |
1378 unittest.expect(o["x"], unittest.equals('foo')); | 1378 unittest.expect(o["x"], unittest.equals('foo')); |
1379 unittest.expect(o["y"], unittest.equals('foo')); | 1379 unittest.expect(o["y"], unittest.equals('foo')); |
1380 } | 1380 } |
1381 | 1381 |
1382 core.int buildCounterSoftwareConfig = 0; | 1382 core.int buildCounterSoftwareConfig = 0; |
1383 buildSoftwareConfig() { | 1383 buildSoftwareConfig() { |
1384 var o = new api.SoftwareConfig(); | 1384 var o = new api.SoftwareConfig(); |
1385 buildCounterSoftwareConfig++; | 1385 buildCounterSoftwareConfig++; |
1386 if (buildCounterSoftwareConfig < 3) { | 1386 if (buildCounterSoftwareConfig < 3) { |
1387 o.imageVersion = "foo"; | 1387 o.imageVersion = "foo"; |
1388 o.properties = buildUnnamed726(); | 1388 o.properties = buildUnnamed466(); |
1389 } | 1389 } |
1390 buildCounterSoftwareConfig--; | 1390 buildCounterSoftwareConfig--; |
1391 return o; | 1391 return o; |
1392 } | 1392 } |
1393 | 1393 |
1394 checkSoftwareConfig(api.SoftwareConfig o) { | 1394 checkSoftwareConfig(api.SoftwareConfig o) { |
1395 buildCounterSoftwareConfig++; | 1395 buildCounterSoftwareConfig++; |
1396 if (buildCounterSoftwareConfig < 3) { | 1396 if (buildCounterSoftwareConfig < 3) { |
1397 unittest.expect(o.imageVersion, unittest.equals('foo')); | 1397 unittest.expect(o.imageVersion, unittest.equals('foo')); |
1398 checkUnnamed726(o.properties); | 1398 checkUnnamed466(o.properties); |
1399 } | 1399 } |
1400 buildCounterSoftwareConfig--; | 1400 buildCounterSoftwareConfig--; |
1401 } | 1401 } |
1402 | 1402 |
1403 buildUnnamed727() { | 1403 buildUnnamed467() { |
1404 var o = new core.List<core.String>(); | 1404 var o = new core.List<core.String>(); |
1405 o.add("foo"); | 1405 o.add("foo"); |
1406 o.add("foo"); | 1406 o.add("foo"); |
1407 return o; | 1407 return o; |
1408 } | 1408 } |
1409 | 1409 |
1410 checkUnnamed727(core.List<core.String> o) { | 1410 checkUnnamed467(core.List<core.String> o) { |
1411 unittest.expect(o, unittest.hasLength(2)); | 1411 unittest.expect(o, unittest.hasLength(2)); |
1412 unittest.expect(o[0], unittest.equals('foo')); | 1412 unittest.expect(o[0], unittest.equals('foo')); |
1413 unittest.expect(o[1], unittest.equals('foo')); | 1413 unittest.expect(o[1], unittest.equals('foo')); |
1414 } | 1414 } |
1415 | 1415 |
1416 buildUnnamed728() { | 1416 buildUnnamed468() { |
1417 var o = new core.List<core.String>(); | 1417 var o = new core.List<core.String>(); |
1418 o.add("foo"); | 1418 o.add("foo"); |
1419 o.add("foo"); | 1419 o.add("foo"); |
1420 return o; | 1420 return o; |
1421 } | 1421 } |
1422 | 1422 |
1423 checkUnnamed728(core.List<core.String> o) { | 1423 checkUnnamed468(core.List<core.String> o) { |
1424 unittest.expect(o, unittest.hasLength(2)); | 1424 unittest.expect(o, unittest.hasLength(2)); |
1425 unittest.expect(o[0], unittest.equals('foo')); | 1425 unittest.expect(o[0], unittest.equals('foo')); |
1426 unittest.expect(o[1], unittest.equals('foo')); | 1426 unittest.expect(o[1], unittest.equals('foo')); |
1427 } | 1427 } |
1428 | 1428 |
1429 buildUnnamed729() { | 1429 buildUnnamed469() { |
1430 var o = new core.List<core.String>(); | 1430 var o = new core.List<core.String>(); |
1431 o.add("foo"); | 1431 o.add("foo"); |
1432 o.add("foo"); | 1432 o.add("foo"); |
1433 return o; | 1433 return o; |
1434 } | 1434 } |
1435 | 1435 |
1436 checkUnnamed729(core.List<core.String> o) { | 1436 checkUnnamed469(core.List<core.String> o) { |
1437 unittest.expect(o, unittest.hasLength(2)); | 1437 unittest.expect(o, unittest.hasLength(2)); |
1438 unittest.expect(o[0], unittest.equals('foo')); | 1438 unittest.expect(o[0], unittest.equals('foo')); |
1439 unittest.expect(o[1], unittest.equals('foo')); | 1439 unittest.expect(o[1], unittest.equals('foo')); |
1440 } | 1440 } |
1441 | 1441 |
1442 buildUnnamed730() { | 1442 buildUnnamed470() { |
1443 var o = new core.List<core.String>(); | 1443 var o = new core.List<core.String>(); |
1444 o.add("foo"); | 1444 o.add("foo"); |
1445 o.add("foo"); | 1445 o.add("foo"); |
1446 return o; | 1446 return o; |
1447 } | 1447 } |
1448 | 1448 |
1449 checkUnnamed730(core.List<core.String> o) { | 1449 checkUnnamed470(core.List<core.String> o) { |
1450 unittest.expect(o, unittest.hasLength(2)); | 1450 unittest.expect(o, unittest.hasLength(2)); |
1451 unittest.expect(o[0], unittest.equals('foo')); | 1451 unittest.expect(o[0], unittest.equals('foo')); |
1452 unittest.expect(o[1], unittest.equals('foo')); | 1452 unittest.expect(o[1], unittest.equals('foo')); |
1453 } | 1453 } |
1454 | 1454 |
1455 buildUnnamed731() { | 1455 buildUnnamed471() { |
1456 var o = new core.Map<core.String, core.String>(); | 1456 var o = new core.Map<core.String, core.String>(); |
1457 o["x"] = "foo"; | 1457 o["x"] = "foo"; |
1458 o["y"] = "foo"; | 1458 o["y"] = "foo"; |
1459 return o; | 1459 return o; |
1460 } | 1460 } |
1461 | 1461 |
1462 checkUnnamed731(core.Map<core.String, core.String> o) { | 1462 checkUnnamed471(core.Map<core.String, core.String> o) { |
1463 unittest.expect(o, unittest.hasLength(2)); | 1463 unittest.expect(o, unittest.hasLength(2)); |
1464 unittest.expect(o["x"], unittest.equals('foo')); | 1464 unittest.expect(o["x"], unittest.equals('foo')); |
1465 unittest.expect(o["y"], unittest.equals('foo')); | 1465 unittest.expect(o["y"], unittest.equals('foo')); |
1466 } | 1466 } |
1467 | 1467 |
1468 core.int buildCounterSparkJob = 0; | 1468 core.int buildCounterSparkJob = 0; |
1469 buildSparkJob() { | 1469 buildSparkJob() { |
1470 var o = new api.SparkJob(); | 1470 var o = new api.SparkJob(); |
1471 buildCounterSparkJob++; | 1471 buildCounterSparkJob++; |
1472 if (buildCounterSparkJob < 3) { | 1472 if (buildCounterSparkJob < 3) { |
1473 o.archiveUris = buildUnnamed727(); | 1473 o.archiveUris = buildUnnamed467(); |
1474 o.args = buildUnnamed728(); | 1474 o.args = buildUnnamed468(); |
1475 o.fileUris = buildUnnamed729(); | 1475 o.fileUris = buildUnnamed469(); |
1476 o.jarFileUris = buildUnnamed730(); | 1476 o.jarFileUris = buildUnnamed470(); |
1477 o.loggingConfig = buildLoggingConfig(); | 1477 o.loggingConfig = buildLoggingConfig(); |
1478 o.mainClass = "foo"; | 1478 o.mainClass = "foo"; |
1479 o.mainJarFileUri = "foo"; | 1479 o.mainJarFileUri = "foo"; |
1480 o.properties = buildUnnamed731(); | 1480 o.properties = buildUnnamed471(); |
1481 } | 1481 } |
1482 buildCounterSparkJob--; | 1482 buildCounterSparkJob--; |
1483 return o; | 1483 return o; |
1484 } | 1484 } |
1485 | 1485 |
1486 checkSparkJob(api.SparkJob o) { | 1486 checkSparkJob(api.SparkJob o) { |
1487 buildCounterSparkJob++; | 1487 buildCounterSparkJob++; |
1488 if (buildCounterSparkJob < 3) { | 1488 if (buildCounterSparkJob < 3) { |
1489 checkUnnamed727(o.archiveUris); | 1489 checkUnnamed467(o.archiveUris); |
1490 checkUnnamed728(o.args); | 1490 checkUnnamed468(o.args); |
1491 checkUnnamed729(o.fileUris); | 1491 checkUnnamed469(o.fileUris); |
1492 checkUnnamed730(o.jarFileUris); | 1492 checkUnnamed470(o.jarFileUris); |
1493 checkLoggingConfig(o.loggingConfig); | 1493 checkLoggingConfig(o.loggingConfig); |
1494 unittest.expect(o.mainClass, unittest.equals('foo')); | 1494 unittest.expect(o.mainClass, unittest.equals('foo')); |
1495 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 1495 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
1496 checkUnnamed731(o.properties); | 1496 checkUnnamed471(o.properties); |
1497 } | 1497 } |
1498 buildCounterSparkJob--; | 1498 buildCounterSparkJob--; |
1499 } | 1499 } |
1500 | 1500 |
1501 buildUnnamed732() { | 1501 buildUnnamed472() { |
1502 var o = new core.List<core.String>(); | 1502 var o = new core.List<core.String>(); |
1503 o.add("foo"); | 1503 o.add("foo"); |
1504 o.add("foo"); | 1504 o.add("foo"); |
1505 return o; | 1505 return o; |
1506 } | 1506 } |
1507 | 1507 |
1508 checkUnnamed732(core.List<core.String> o) { | 1508 checkUnnamed472(core.List<core.String> o) { |
1509 unittest.expect(o, unittest.hasLength(2)); | 1509 unittest.expect(o, unittest.hasLength(2)); |
1510 unittest.expect(o[0], unittest.equals('foo')); | 1510 unittest.expect(o[0], unittest.equals('foo')); |
1511 unittest.expect(o[1], unittest.equals('foo')); | 1511 unittest.expect(o[1], unittest.equals('foo')); |
1512 } | 1512 } |
1513 | 1513 |
1514 buildUnnamed733() { | 1514 buildUnnamed473() { |
1515 var o = new core.Map<core.String, core.String>(); | 1515 var o = new core.Map<core.String, core.String>(); |
1516 o["x"] = "foo"; | 1516 o["x"] = "foo"; |
1517 o["y"] = "foo"; | 1517 o["y"] = "foo"; |
1518 return o; | 1518 return o; |
1519 } | 1519 } |
1520 | 1520 |
1521 checkUnnamed733(core.Map<core.String, core.String> o) { | 1521 checkUnnamed473(core.Map<core.String, core.String> o) { |
1522 unittest.expect(o, unittest.hasLength(2)); | 1522 unittest.expect(o, unittest.hasLength(2)); |
1523 unittest.expect(o["x"], unittest.equals('foo')); | 1523 unittest.expect(o["x"], unittest.equals('foo')); |
1524 unittest.expect(o["y"], unittest.equals('foo')); | 1524 unittest.expect(o["y"], unittest.equals('foo')); |
1525 } | 1525 } |
1526 | 1526 |
1527 buildUnnamed734() { | 1527 buildUnnamed474() { |
1528 var o = new core.Map<core.String, core.String>(); | 1528 var o = new core.Map<core.String, core.String>(); |
1529 o["x"] = "foo"; | 1529 o["x"] = "foo"; |
1530 o["y"] = "foo"; | 1530 o["y"] = "foo"; |
1531 return o; | 1531 return o; |
1532 } | 1532 } |
1533 | 1533 |
1534 checkUnnamed734(core.Map<core.String, core.String> o) { | 1534 checkUnnamed474(core.Map<core.String, core.String> o) { |
1535 unittest.expect(o, unittest.hasLength(2)); | 1535 unittest.expect(o, unittest.hasLength(2)); |
1536 unittest.expect(o["x"], unittest.equals('foo')); | 1536 unittest.expect(o["x"], unittest.equals('foo')); |
1537 unittest.expect(o["y"], unittest.equals('foo')); | 1537 unittest.expect(o["y"], unittest.equals('foo')); |
1538 } | 1538 } |
1539 | 1539 |
1540 core.int buildCounterSparkSqlJob = 0; | 1540 core.int buildCounterSparkSqlJob = 0; |
1541 buildSparkSqlJob() { | 1541 buildSparkSqlJob() { |
1542 var o = new api.SparkSqlJob(); | 1542 var o = new api.SparkSqlJob(); |
1543 buildCounterSparkSqlJob++; | 1543 buildCounterSparkSqlJob++; |
1544 if (buildCounterSparkSqlJob < 3) { | 1544 if (buildCounterSparkSqlJob < 3) { |
1545 o.jarFileUris = buildUnnamed732(); | 1545 o.jarFileUris = buildUnnamed472(); |
1546 o.loggingConfig = buildLoggingConfig(); | 1546 o.loggingConfig = buildLoggingConfig(); |
1547 o.properties = buildUnnamed733(); | 1547 o.properties = buildUnnamed473(); |
1548 o.queryFileUri = "foo"; | 1548 o.queryFileUri = "foo"; |
1549 o.queryList = buildQueryList(); | 1549 o.queryList = buildQueryList(); |
1550 o.scriptVariables = buildUnnamed734(); | 1550 o.scriptVariables = buildUnnamed474(); |
1551 } | 1551 } |
1552 buildCounterSparkSqlJob--; | 1552 buildCounterSparkSqlJob--; |
1553 return o; | 1553 return o; |
1554 } | 1554 } |
1555 | 1555 |
1556 checkSparkSqlJob(api.SparkSqlJob o) { | 1556 checkSparkSqlJob(api.SparkSqlJob o) { |
1557 buildCounterSparkSqlJob++; | 1557 buildCounterSparkSqlJob++; |
1558 if (buildCounterSparkSqlJob < 3) { | 1558 if (buildCounterSparkSqlJob < 3) { |
1559 checkUnnamed732(o.jarFileUris); | 1559 checkUnnamed472(o.jarFileUris); |
1560 checkLoggingConfig(o.loggingConfig); | 1560 checkLoggingConfig(o.loggingConfig); |
1561 checkUnnamed733(o.properties); | 1561 checkUnnamed473(o.properties); |
1562 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1562 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
1563 checkQueryList(o.queryList); | 1563 checkQueryList(o.queryList); |
1564 checkUnnamed734(o.scriptVariables); | 1564 checkUnnamed474(o.scriptVariables); |
1565 } | 1565 } |
1566 buildCounterSparkSqlJob--; | 1566 buildCounterSparkSqlJob--; |
1567 } | 1567 } |
1568 | 1568 |
1569 buildUnnamed735() { | 1569 buildUnnamed475() { |
1570 var o = new core.Map<core.String, core.Object>(); | 1570 var o = new core.Map<core.String, core.Object>(); |
1571 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1571 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1572 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1572 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1573 return o; | 1573 return o; |
1574 } | 1574 } |
1575 | 1575 |
1576 checkUnnamed735(core.Map<core.String, core.Object> o) { | 1576 checkUnnamed475(core.Map<core.String, core.Object> o) { |
1577 unittest.expect(o, unittest.hasLength(2)); | 1577 unittest.expect(o, unittest.hasLength(2)); |
1578 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')); | 1578 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')); |
1579 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')); | 1579 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')); |
1580 } | 1580 } |
1581 | 1581 |
1582 buildUnnamed736() { | 1582 buildUnnamed476() { |
1583 var o = new core.List<core.Map<core.String, core.Object>>(); | 1583 var o = new core.List<core.Map<core.String, core.Object>>(); |
1584 o.add(buildUnnamed735()); | 1584 o.add(buildUnnamed475()); |
1585 o.add(buildUnnamed735()); | 1585 o.add(buildUnnamed475()); |
1586 return o; | 1586 return o; |
1587 } | 1587 } |
1588 | 1588 |
1589 checkUnnamed736(core.List<core.Map<core.String, core.Object>> o) { | 1589 checkUnnamed476(core.List<core.Map<core.String, core.Object>> o) { |
1590 unittest.expect(o, unittest.hasLength(2)); | 1590 unittest.expect(o, unittest.hasLength(2)); |
1591 checkUnnamed735(o[0]); | 1591 checkUnnamed475(o[0]); |
1592 checkUnnamed735(o[1]); | 1592 checkUnnamed475(o[1]); |
1593 } | 1593 } |
1594 | 1594 |
1595 core.int buildCounterStatus = 0; | 1595 core.int buildCounterStatus = 0; |
1596 buildStatus() { | 1596 buildStatus() { |
1597 var o = new api.Status(); | 1597 var o = new api.Status(); |
1598 buildCounterStatus++; | 1598 buildCounterStatus++; |
1599 if (buildCounterStatus < 3) { | 1599 if (buildCounterStatus < 3) { |
1600 o.code = 42; | 1600 o.code = 42; |
1601 o.details = buildUnnamed736(); | 1601 o.details = buildUnnamed476(); |
1602 o.message = "foo"; | 1602 o.message = "foo"; |
1603 } | 1603 } |
1604 buildCounterStatus--; | 1604 buildCounterStatus--; |
1605 return o; | 1605 return o; |
1606 } | 1606 } |
1607 | 1607 |
1608 checkStatus(api.Status o) { | 1608 checkStatus(api.Status o) { |
1609 buildCounterStatus++; | 1609 buildCounterStatus++; |
1610 if (buildCounterStatus < 3) { | 1610 if (buildCounterStatus < 3) { |
1611 unittest.expect(o.code, unittest.equals(42)); | 1611 unittest.expect(o.code, unittest.equals(42)); |
1612 checkUnnamed736(o.details); | 1612 checkUnnamed476(o.details); |
1613 unittest.expect(o.message, unittest.equals('foo')); | 1613 unittest.expect(o.message, unittest.equals('foo')); |
1614 } | 1614 } |
1615 buildCounterStatus--; | 1615 buildCounterStatus--; |
1616 } | 1616 } |
1617 | 1617 |
1618 core.int buildCounterSubmitJobRequest = 0; | 1618 core.int buildCounterSubmitJobRequest = 0; |
1619 buildSubmitJobRequest() { | 1619 buildSubmitJobRequest() { |
1620 var o = new api.SubmitJobRequest(); | 1620 var o = new api.SubmitJobRequest(); |
1621 buildCounterSubmitJobRequest++; | 1621 buildCounterSubmitJobRequest++; |
1622 if (buildCounterSubmitJobRequest < 3) { | 1622 if (buildCounterSubmitJobRequest < 3) { |
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2919 res.list(arg_name, filter: arg_filter, pageSize: arg_pageSize, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ | 2919 res.list(arg_name, filter: arg_filter, pageSize: arg_pageSize, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ |
2920 checkListOperationsResponse(response); | 2920 checkListOperationsResponse(response); |
2921 }))); | 2921 }))); |
2922 }); | 2922 }); |
2923 | 2923 |
2924 }); | 2924 }); |
2925 | 2925 |
2926 | 2926 |
2927 } | 2927 } |
2928 | 2928 |
OLD | NEW |