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 33 matching lines...) Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
| 54 core.int buildCounterAcceleratorConfig = 0; |
| 55 buildAcceleratorConfig() { |
| 56 var o = new api.AcceleratorConfig(); |
| 57 buildCounterAcceleratorConfig++; |
| 58 if (buildCounterAcceleratorConfig < 3) { |
| 59 o.acceleratorCount = 42; |
| 60 o.acceleratorTypeUri = "foo"; |
| 61 } |
| 62 buildCounterAcceleratorConfig--; |
| 63 return o; |
| 64 } |
| 65 |
| 66 checkAcceleratorConfig(api.AcceleratorConfig o) { |
| 67 buildCounterAcceleratorConfig++; |
| 68 if (buildCounterAcceleratorConfig < 3) { |
| 69 unittest.expect(o.acceleratorCount, unittest.equals(42)); |
| 70 unittest.expect(o.acceleratorTypeUri, unittest.equals('foo')); |
| 71 } |
| 72 buildCounterAcceleratorConfig--; |
| 73 } |
| 74 |
54 core.int buildCounterCancelJobRequest = 0; | 75 core.int buildCounterCancelJobRequest = 0; |
55 buildCancelJobRequest() { | 76 buildCancelJobRequest() { |
56 var o = new api.CancelJobRequest(); | 77 var o = new api.CancelJobRequest(); |
57 buildCounterCancelJobRequest++; | 78 buildCounterCancelJobRequest++; |
58 if (buildCounterCancelJobRequest < 3) { | 79 if (buildCounterCancelJobRequest < 3) { |
59 } | 80 } |
60 buildCounterCancelJobRequest--; | 81 buildCounterCancelJobRequest--; |
61 return o; | 82 return o; |
62 } | 83 } |
63 | 84 |
64 checkCancelJobRequest(api.CancelJobRequest o) { | 85 checkCancelJobRequest(api.CancelJobRequest o) { |
65 buildCounterCancelJobRequest++; | 86 buildCounterCancelJobRequest++; |
66 if (buildCounterCancelJobRequest < 3) { | 87 if (buildCounterCancelJobRequest < 3) { |
67 } | 88 } |
68 buildCounterCancelJobRequest--; | 89 buildCounterCancelJobRequest--; |
69 } | 90 } |
70 | 91 |
71 buildUnnamed429() { | 92 buildUnnamed445() { |
72 var o = new core.Map<core.String, core.String>(); | 93 var o = new core.Map<core.String, core.String>(); |
73 o["x"] = "foo"; | 94 o["x"] = "foo"; |
74 o["y"] = "foo"; | 95 o["y"] = "foo"; |
75 return o; | 96 return o; |
76 } | 97 } |
77 | 98 |
78 checkUnnamed429(core.Map<core.String, core.String> o) { | 99 checkUnnamed445(core.Map<core.String, core.String> o) { |
79 unittest.expect(o, unittest.hasLength(2)); | 100 unittest.expect(o, unittest.hasLength(2)); |
80 unittest.expect(o["x"], unittest.equals('foo')); | 101 unittest.expect(o["x"], unittest.equals('foo')); |
81 unittest.expect(o["y"], unittest.equals('foo')); | 102 unittest.expect(o["y"], unittest.equals('foo')); |
82 } | 103 } |
83 | 104 |
84 buildUnnamed430() { | 105 buildUnnamed446() { |
85 var o = new core.List<api.ClusterStatus>(); | 106 var o = new core.List<api.ClusterStatus>(); |
86 o.add(buildClusterStatus()); | 107 o.add(buildClusterStatus()); |
87 o.add(buildClusterStatus()); | 108 o.add(buildClusterStatus()); |
88 return o; | 109 return o; |
89 } | 110 } |
90 | 111 |
91 checkUnnamed430(core.List<api.ClusterStatus> o) { | 112 checkUnnamed446(core.List<api.ClusterStatus> o) { |
92 unittest.expect(o, unittest.hasLength(2)); | 113 unittest.expect(o, unittest.hasLength(2)); |
93 checkClusterStatus(o[0]); | 114 checkClusterStatus(o[0]); |
94 checkClusterStatus(o[1]); | 115 checkClusterStatus(o[1]); |
95 } | 116 } |
96 | 117 |
97 core.int buildCounterCluster = 0; | 118 core.int buildCounterCluster = 0; |
98 buildCluster() { | 119 buildCluster() { |
99 var o = new api.Cluster(); | 120 var o = new api.Cluster(); |
100 buildCounterCluster++; | 121 buildCounterCluster++; |
101 if (buildCounterCluster < 3) { | 122 if (buildCounterCluster < 3) { |
102 o.clusterName = "foo"; | 123 o.clusterName = "foo"; |
103 o.clusterUuid = "foo"; | 124 o.clusterUuid = "foo"; |
104 o.config = buildClusterConfig(); | 125 o.config = buildClusterConfig(); |
105 o.labels = buildUnnamed429(); | 126 o.labels = buildUnnamed445(); |
106 o.metrics = buildClusterMetrics(); | 127 o.metrics = buildClusterMetrics(); |
107 o.projectId = "foo"; | 128 o.projectId = "foo"; |
108 o.status = buildClusterStatus(); | 129 o.status = buildClusterStatus(); |
109 o.statusHistory = buildUnnamed430(); | 130 o.statusHistory = buildUnnamed446(); |
110 } | 131 } |
111 buildCounterCluster--; | 132 buildCounterCluster--; |
112 return o; | 133 return o; |
113 } | 134 } |
114 | 135 |
115 checkCluster(api.Cluster o) { | 136 checkCluster(api.Cluster o) { |
116 buildCounterCluster++; | 137 buildCounterCluster++; |
117 if (buildCounterCluster < 3) { | 138 if (buildCounterCluster < 3) { |
118 unittest.expect(o.clusterName, unittest.equals('foo')); | 139 unittest.expect(o.clusterName, unittest.equals('foo')); |
119 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 140 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
120 checkClusterConfig(o.config); | 141 checkClusterConfig(o.config); |
121 checkUnnamed429(o.labels); | 142 checkUnnamed445(o.labels); |
122 checkClusterMetrics(o.metrics); | 143 checkClusterMetrics(o.metrics); |
123 unittest.expect(o.projectId, unittest.equals('foo')); | 144 unittest.expect(o.projectId, unittest.equals('foo')); |
124 checkClusterStatus(o.status); | 145 checkClusterStatus(o.status); |
125 checkUnnamed430(o.statusHistory); | 146 checkUnnamed446(o.statusHistory); |
126 } | 147 } |
127 buildCounterCluster--; | 148 buildCounterCluster--; |
128 } | 149 } |
129 | 150 |
130 buildUnnamed431() { | 151 buildUnnamed447() { |
131 var o = new core.List<api.NodeInitializationAction>(); | 152 var o = new core.List<api.NodeInitializationAction>(); |
132 o.add(buildNodeInitializationAction()); | 153 o.add(buildNodeInitializationAction()); |
133 o.add(buildNodeInitializationAction()); | 154 o.add(buildNodeInitializationAction()); |
134 return o; | 155 return o; |
135 } | 156 } |
136 | 157 |
137 checkUnnamed431(core.List<api.NodeInitializationAction> o) { | 158 checkUnnamed447(core.List<api.NodeInitializationAction> o) { |
138 unittest.expect(o, unittest.hasLength(2)); | 159 unittest.expect(o, unittest.hasLength(2)); |
139 checkNodeInitializationAction(o[0]); | 160 checkNodeInitializationAction(o[0]); |
140 checkNodeInitializationAction(o[1]); | 161 checkNodeInitializationAction(o[1]); |
141 } | 162 } |
142 | 163 |
143 core.int buildCounterClusterConfig = 0; | 164 core.int buildCounterClusterConfig = 0; |
144 buildClusterConfig() { | 165 buildClusterConfig() { |
145 var o = new api.ClusterConfig(); | 166 var o = new api.ClusterConfig(); |
146 buildCounterClusterConfig++; | 167 buildCounterClusterConfig++; |
147 if (buildCounterClusterConfig < 3) { | 168 if (buildCounterClusterConfig < 3) { |
148 o.configBucket = "foo"; | 169 o.configBucket = "foo"; |
149 o.gceClusterConfig = buildGceClusterConfig(); | 170 o.gceClusterConfig = buildGceClusterConfig(); |
150 o.initializationActions = buildUnnamed431(); | 171 o.initializationActions = buildUnnamed447(); |
151 o.masterConfig = buildInstanceGroupConfig(); | 172 o.masterConfig = buildInstanceGroupConfig(); |
152 o.secondaryWorkerConfig = buildInstanceGroupConfig(); | 173 o.secondaryWorkerConfig = buildInstanceGroupConfig(); |
153 o.softwareConfig = buildSoftwareConfig(); | 174 o.softwareConfig = buildSoftwareConfig(); |
154 o.workerConfig = buildInstanceGroupConfig(); | 175 o.workerConfig = buildInstanceGroupConfig(); |
155 } | 176 } |
156 buildCounterClusterConfig--; | 177 buildCounterClusterConfig--; |
157 return o; | 178 return o; |
158 } | 179 } |
159 | 180 |
160 checkClusterConfig(api.ClusterConfig o) { | 181 checkClusterConfig(api.ClusterConfig o) { |
161 buildCounterClusterConfig++; | 182 buildCounterClusterConfig++; |
162 if (buildCounterClusterConfig < 3) { | 183 if (buildCounterClusterConfig < 3) { |
163 unittest.expect(o.configBucket, unittest.equals('foo')); | 184 unittest.expect(o.configBucket, unittest.equals('foo')); |
164 checkGceClusterConfig(o.gceClusterConfig); | 185 checkGceClusterConfig(o.gceClusterConfig); |
165 checkUnnamed431(o.initializationActions); | 186 checkUnnamed447(o.initializationActions); |
166 checkInstanceGroupConfig(o.masterConfig); | 187 checkInstanceGroupConfig(o.masterConfig); |
167 checkInstanceGroupConfig(o.secondaryWorkerConfig); | 188 checkInstanceGroupConfig(o.secondaryWorkerConfig); |
168 checkSoftwareConfig(o.softwareConfig); | 189 checkSoftwareConfig(o.softwareConfig); |
169 checkInstanceGroupConfig(o.workerConfig); | 190 checkInstanceGroupConfig(o.workerConfig); |
170 } | 191 } |
171 buildCounterClusterConfig--; | 192 buildCounterClusterConfig--; |
172 } | 193 } |
173 | 194 |
174 buildUnnamed432() { | 195 buildUnnamed448() { |
175 var o = new core.Map<core.String, core.String>(); | 196 var o = new core.Map<core.String, core.String>(); |
176 o["x"] = "foo"; | 197 o["x"] = "foo"; |
177 o["y"] = "foo"; | 198 o["y"] = "foo"; |
178 return o; | 199 return o; |
179 } | 200 } |
180 | 201 |
181 checkUnnamed432(core.Map<core.String, core.String> o) { | 202 checkUnnamed448(core.Map<core.String, core.String> o) { |
182 unittest.expect(o, unittest.hasLength(2)); | 203 unittest.expect(o, unittest.hasLength(2)); |
183 unittest.expect(o["x"], unittest.equals('foo')); | 204 unittest.expect(o["x"], unittest.equals('foo')); |
184 unittest.expect(o["y"], unittest.equals('foo')); | 205 unittest.expect(o["y"], unittest.equals('foo')); |
185 } | 206 } |
186 | 207 |
187 buildUnnamed433() { | 208 buildUnnamed449() { |
188 var o = new core.Map<core.String, core.String>(); | 209 var o = new core.Map<core.String, core.String>(); |
189 o["x"] = "foo"; | 210 o["x"] = "foo"; |
190 o["y"] = "foo"; | 211 o["y"] = "foo"; |
191 return o; | 212 return o; |
192 } | 213 } |
193 | 214 |
194 checkUnnamed433(core.Map<core.String, core.String> o) { | 215 checkUnnamed449(core.Map<core.String, core.String> o) { |
195 unittest.expect(o, unittest.hasLength(2)); | 216 unittest.expect(o, unittest.hasLength(2)); |
196 unittest.expect(o["x"], unittest.equals('foo')); | 217 unittest.expect(o["x"], unittest.equals('foo')); |
197 unittest.expect(o["y"], unittest.equals('foo')); | 218 unittest.expect(o["y"], unittest.equals('foo')); |
198 } | 219 } |
199 | 220 |
200 core.int buildCounterClusterMetrics = 0; | 221 core.int buildCounterClusterMetrics = 0; |
201 buildClusterMetrics() { | 222 buildClusterMetrics() { |
202 var o = new api.ClusterMetrics(); | 223 var o = new api.ClusterMetrics(); |
203 buildCounterClusterMetrics++; | 224 buildCounterClusterMetrics++; |
204 if (buildCounterClusterMetrics < 3) { | 225 if (buildCounterClusterMetrics < 3) { |
205 o.hdfsMetrics = buildUnnamed432(); | 226 o.hdfsMetrics = buildUnnamed448(); |
206 o.yarnMetrics = buildUnnamed433(); | 227 o.yarnMetrics = buildUnnamed449(); |
207 } | 228 } |
208 buildCounterClusterMetrics--; | 229 buildCounterClusterMetrics--; |
209 return o; | 230 return o; |
210 } | 231 } |
211 | 232 |
212 checkClusterMetrics(api.ClusterMetrics o) { | 233 checkClusterMetrics(api.ClusterMetrics o) { |
213 buildCounterClusterMetrics++; | 234 buildCounterClusterMetrics++; |
214 if (buildCounterClusterMetrics < 3) { | 235 if (buildCounterClusterMetrics < 3) { |
215 checkUnnamed432(o.hdfsMetrics); | 236 checkUnnamed448(o.hdfsMetrics); |
216 checkUnnamed433(o.yarnMetrics); | 237 checkUnnamed449(o.yarnMetrics); |
217 } | 238 } |
218 buildCounterClusterMetrics--; | 239 buildCounterClusterMetrics--; |
219 } | 240 } |
220 | 241 |
221 buildUnnamed434() { | 242 buildUnnamed450() { |
222 var o = new core.Map<core.String, core.String>(); | 243 var o = new core.Map<core.String, core.String>(); |
223 o["x"] = "foo"; | 244 o["x"] = "foo"; |
224 o["y"] = "foo"; | 245 o["y"] = "foo"; |
225 return o; | 246 return o; |
226 } | 247 } |
227 | 248 |
228 checkUnnamed434(core.Map<core.String, core.String> o) { | 249 checkUnnamed450(core.Map<core.String, core.String> o) { |
229 unittest.expect(o, unittest.hasLength(2)); | 250 unittest.expect(o, unittest.hasLength(2)); |
230 unittest.expect(o["x"], unittest.equals('foo')); | 251 unittest.expect(o["x"], unittest.equals('foo')); |
231 unittest.expect(o["y"], unittest.equals('foo')); | 252 unittest.expect(o["y"], unittest.equals('foo')); |
232 } | 253 } |
233 | 254 |
234 buildUnnamed435() { | 255 buildUnnamed451() { |
235 var o = new core.List<api.ClusterOperationStatus>(); | 256 var o = new core.List<api.ClusterOperationStatus>(); |
236 o.add(buildClusterOperationStatus()); | 257 o.add(buildClusterOperationStatus()); |
237 o.add(buildClusterOperationStatus()); | 258 o.add(buildClusterOperationStatus()); |
238 return o; | 259 return o; |
239 } | 260 } |
240 | 261 |
241 checkUnnamed435(core.List<api.ClusterOperationStatus> o) { | 262 checkUnnamed451(core.List<api.ClusterOperationStatus> o) { |
242 unittest.expect(o, unittest.hasLength(2)); | 263 unittest.expect(o, unittest.hasLength(2)); |
243 checkClusterOperationStatus(o[0]); | 264 checkClusterOperationStatus(o[0]); |
244 checkClusterOperationStatus(o[1]); | 265 checkClusterOperationStatus(o[1]); |
245 } | 266 } |
246 | 267 |
247 buildUnnamed436() { | 268 buildUnnamed452() { |
248 var o = new core.List<core.String>(); | 269 var o = new core.List<core.String>(); |
249 o.add("foo"); | 270 o.add("foo"); |
250 o.add("foo"); | 271 o.add("foo"); |
251 return o; | 272 return o; |
252 } | 273 } |
253 | 274 |
254 checkUnnamed436(core.List<core.String> o) { | 275 checkUnnamed452(core.List<core.String> o) { |
255 unittest.expect(o, unittest.hasLength(2)); | 276 unittest.expect(o, unittest.hasLength(2)); |
256 unittest.expect(o[0], unittest.equals('foo')); | 277 unittest.expect(o[0], unittest.equals('foo')); |
257 unittest.expect(o[1], unittest.equals('foo')); | 278 unittest.expect(o[1], unittest.equals('foo')); |
258 } | 279 } |
259 | 280 |
260 core.int buildCounterClusterOperationMetadata = 0; | 281 core.int buildCounterClusterOperationMetadata = 0; |
261 buildClusterOperationMetadata() { | 282 buildClusterOperationMetadata() { |
262 var o = new api.ClusterOperationMetadata(); | 283 var o = new api.ClusterOperationMetadata(); |
263 buildCounterClusterOperationMetadata++; | 284 buildCounterClusterOperationMetadata++; |
264 if (buildCounterClusterOperationMetadata < 3) { | 285 if (buildCounterClusterOperationMetadata < 3) { |
265 o.clusterName = "foo"; | 286 o.clusterName = "foo"; |
266 o.clusterUuid = "foo"; | 287 o.clusterUuid = "foo"; |
267 o.description = "foo"; | 288 o.description = "foo"; |
268 o.labels = buildUnnamed434(); | 289 o.labels = buildUnnamed450(); |
269 o.operationType = "foo"; | 290 o.operationType = "foo"; |
270 o.status = buildClusterOperationStatus(); | 291 o.status = buildClusterOperationStatus(); |
271 o.statusHistory = buildUnnamed435(); | 292 o.statusHistory = buildUnnamed451(); |
272 o.warnings = buildUnnamed436(); | 293 o.warnings = buildUnnamed452(); |
273 } | 294 } |
274 buildCounterClusterOperationMetadata--; | 295 buildCounterClusterOperationMetadata--; |
275 return o; | 296 return o; |
276 } | 297 } |
277 | 298 |
278 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { | 299 checkClusterOperationMetadata(api.ClusterOperationMetadata o) { |
279 buildCounterClusterOperationMetadata++; | 300 buildCounterClusterOperationMetadata++; |
280 if (buildCounterClusterOperationMetadata < 3) { | 301 if (buildCounterClusterOperationMetadata < 3) { |
281 unittest.expect(o.clusterName, unittest.equals('foo')); | 302 unittest.expect(o.clusterName, unittest.equals('foo')); |
282 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 303 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
283 unittest.expect(o.description, unittest.equals('foo')); | 304 unittest.expect(o.description, unittest.equals('foo')); |
284 checkUnnamed434(o.labels); | 305 checkUnnamed450(o.labels); |
285 unittest.expect(o.operationType, unittest.equals('foo')); | 306 unittest.expect(o.operationType, unittest.equals('foo')); |
286 checkClusterOperationStatus(o.status); | 307 checkClusterOperationStatus(o.status); |
287 checkUnnamed435(o.statusHistory); | 308 checkUnnamed451(o.statusHistory); |
288 checkUnnamed436(o.warnings); | 309 checkUnnamed452(o.warnings); |
289 } | 310 } |
290 buildCounterClusterOperationMetadata--; | 311 buildCounterClusterOperationMetadata--; |
291 } | 312 } |
292 | 313 |
293 core.int buildCounterClusterOperationStatus = 0; | 314 core.int buildCounterClusterOperationStatus = 0; |
294 buildClusterOperationStatus() { | 315 buildClusterOperationStatus() { |
295 var o = new api.ClusterOperationStatus(); | 316 var o = new api.ClusterOperationStatus(); |
296 buildCounterClusterOperationStatus++; | 317 buildCounterClusterOperationStatus++; |
297 if (buildCounterClusterOperationStatus < 3) { | 318 if (buildCounterClusterOperationStatus < 3) { |
298 o.details = "foo"; | 319 o.details = "foo"; |
(...skipping 125 matching lines...) Loading... |
424 return o; | 445 return o; |
425 } | 446 } |
426 | 447 |
427 checkEmpty(api.Empty o) { | 448 checkEmpty(api.Empty o) { |
428 buildCounterEmpty++; | 449 buildCounterEmpty++; |
429 if (buildCounterEmpty < 3) { | 450 if (buildCounterEmpty < 3) { |
430 } | 451 } |
431 buildCounterEmpty--; | 452 buildCounterEmpty--; |
432 } | 453 } |
433 | 454 |
434 buildUnnamed437() { | 455 buildUnnamed453() { |
435 var o = new core.Map<core.String, core.String>(); | 456 var o = new core.Map<core.String, core.String>(); |
436 o["x"] = "foo"; | 457 o["x"] = "foo"; |
437 o["y"] = "foo"; | 458 o["y"] = "foo"; |
438 return o; | 459 return o; |
439 } | 460 } |
440 | 461 |
441 checkUnnamed437(core.Map<core.String, core.String> o) { | 462 checkUnnamed453(core.Map<core.String, core.String> o) { |
442 unittest.expect(o, unittest.hasLength(2)); | 463 unittest.expect(o, unittest.hasLength(2)); |
443 unittest.expect(o["x"], unittest.equals('foo')); | 464 unittest.expect(o["x"], unittest.equals('foo')); |
444 unittest.expect(o["y"], unittest.equals('foo')); | 465 unittest.expect(o["y"], unittest.equals('foo')); |
445 } | 466 } |
446 | 467 |
447 buildUnnamed438() { | 468 buildUnnamed454() { |
448 var o = new core.List<core.String>(); | 469 var o = new core.List<core.String>(); |
449 o.add("foo"); | 470 o.add("foo"); |
450 o.add("foo"); | 471 o.add("foo"); |
451 return o; | 472 return o; |
452 } | 473 } |
453 | 474 |
454 checkUnnamed438(core.List<core.String> o) { | 475 checkUnnamed454(core.List<core.String> o) { |
455 unittest.expect(o, unittest.hasLength(2)); | 476 unittest.expect(o, unittest.hasLength(2)); |
456 unittest.expect(o[0], unittest.equals('foo')); | 477 unittest.expect(o[0], unittest.equals('foo')); |
457 unittest.expect(o[1], unittest.equals('foo')); | 478 unittest.expect(o[1], unittest.equals('foo')); |
458 } | 479 } |
459 | 480 |
460 buildUnnamed439() { | 481 buildUnnamed455() { |
461 var o = new core.List<core.String>(); | 482 var o = new core.List<core.String>(); |
462 o.add("foo"); | 483 o.add("foo"); |
463 o.add("foo"); | 484 o.add("foo"); |
464 return o; | 485 return o; |
465 } | 486 } |
466 | 487 |
467 checkUnnamed439(core.List<core.String> o) { | 488 checkUnnamed455(core.List<core.String> o) { |
468 unittest.expect(o, unittest.hasLength(2)); | 489 unittest.expect(o, unittest.hasLength(2)); |
469 unittest.expect(o[0], unittest.equals('foo')); | 490 unittest.expect(o[0], unittest.equals('foo')); |
470 unittest.expect(o[1], unittest.equals('foo')); | 491 unittest.expect(o[1], unittest.equals('foo')); |
471 } | 492 } |
472 | 493 |
473 core.int buildCounterGceClusterConfig = 0; | 494 core.int buildCounterGceClusterConfig = 0; |
474 buildGceClusterConfig() { | 495 buildGceClusterConfig() { |
475 var o = new api.GceClusterConfig(); | 496 var o = new api.GceClusterConfig(); |
476 buildCounterGceClusterConfig++; | 497 buildCounterGceClusterConfig++; |
477 if (buildCounterGceClusterConfig < 3) { | 498 if (buildCounterGceClusterConfig < 3) { |
478 o.internalIpOnly = true; | 499 o.internalIpOnly = true; |
479 o.metadata = buildUnnamed437(); | 500 o.metadata = buildUnnamed453(); |
480 o.networkUri = "foo"; | 501 o.networkUri = "foo"; |
481 o.serviceAccount = "foo"; | 502 o.serviceAccount = "foo"; |
482 o.serviceAccountScopes = buildUnnamed438(); | 503 o.serviceAccountScopes = buildUnnamed454(); |
483 o.subnetworkUri = "foo"; | 504 o.subnetworkUri = "foo"; |
484 o.tags = buildUnnamed439(); | 505 o.tags = buildUnnamed455(); |
485 o.zoneUri = "foo"; | 506 o.zoneUri = "foo"; |
486 } | 507 } |
487 buildCounterGceClusterConfig--; | 508 buildCounterGceClusterConfig--; |
488 return o; | 509 return o; |
489 } | 510 } |
490 | 511 |
491 checkGceClusterConfig(api.GceClusterConfig o) { | 512 checkGceClusterConfig(api.GceClusterConfig o) { |
492 buildCounterGceClusterConfig++; | 513 buildCounterGceClusterConfig++; |
493 if (buildCounterGceClusterConfig < 3) { | 514 if (buildCounterGceClusterConfig < 3) { |
494 unittest.expect(o.internalIpOnly, unittest.isTrue); | 515 unittest.expect(o.internalIpOnly, unittest.isTrue); |
495 checkUnnamed437(o.metadata); | 516 checkUnnamed453(o.metadata); |
496 unittest.expect(o.networkUri, unittest.equals('foo')); | 517 unittest.expect(o.networkUri, unittest.equals('foo')); |
497 unittest.expect(o.serviceAccount, unittest.equals('foo')); | 518 unittest.expect(o.serviceAccount, unittest.equals('foo')); |
498 checkUnnamed438(o.serviceAccountScopes); | 519 checkUnnamed454(o.serviceAccountScopes); |
499 unittest.expect(o.subnetworkUri, unittest.equals('foo')); | 520 unittest.expect(o.subnetworkUri, unittest.equals('foo')); |
500 checkUnnamed439(o.tags); | 521 checkUnnamed455(o.tags); |
501 unittest.expect(o.zoneUri, unittest.equals('foo')); | 522 unittest.expect(o.zoneUri, unittest.equals('foo')); |
502 } | 523 } |
503 buildCounterGceClusterConfig--; | 524 buildCounterGceClusterConfig--; |
504 } | 525 } |
505 | 526 |
506 buildUnnamed440() { | 527 buildUnnamed456() { |
507 var o = new core.List<core.String>(); | 528 var o = new core.List<core.String>(); |
508 o.add("foo"); | 529 o.add("foo"); |
509 o.add("foo"); | 530 o.add("foo"); |
510 return o; | 531 return o; |
511 } | 532 } |
512 | 533 |
513 checkUnnamed440(core.List<core.String> o) { | 534 checkUnnamed456(core.List<core.String> o) { |
514 unittest.expect(o, unittest.hasLength(2)); | 535 unittest.expect(o, unittest.hasLength(2)); |
515 unittest.expect(o[0], unittest.equals('foo')); | 536 unittest.expect(o[0], unittest.equals('foo')); |
516 unittest.expect(o[1], unittest.equals('foo')); | 537 unittest.expect(o[1], unittest.equals('foo')); |
517 } | 538 } |
518 | 539 |
519 buildUnnamed441() { | 540 buildUnnamed457() { |
520 var o = new core.List<core.String>(); | 541 var o = new core.List<core.String>(); |
521 o.add("foo"); | 542 o.add("foo"); |
522 o.add("foo"); | 543 o.add("foo"); |
523 return o; | 544 return o; |
524 } | 545 } |
525 | 546 |
526 checkUnnamed441(core.List<core.String> o) { | 547 checkUnnamed457(core.List<core.String> o) { |
527 unittest.expect(o, unittest.hasLength(2)); | 548 unittest.expect(o, unittest.hasLength(2)); |
528 unittest.expect(o[0], unittest.equals('foo')); | 549 unittest.expect(o[0], unittest.equals('foo')); |
529 unittest.expect(o[1], unittest.equals('foo')); | 550 unittest.expect(o[1], unittest.equals('foo')); |
530 } | 551 } |
531 | 552 |
532 buildUnnamed442() { | 553 buildUnnamed458() { |
533 var o = new core.List<core.String>(); | 554 var o = new core.List<core.String>(); |
534 o.add("foo"); | 555 o.add("foo"); |
535 o.add("foo"); | 556 o.add("foo"); |
536 return o; | 557 return o; |
537 } | 558 } |
538 | 559 |
539 checkUnnamed442(core.List<core.String> o) { | 560 checkUnnamed458(core.List<core.String> o) { |
540 unittest.expect(o, unittest.hasLength(2)); | 561 unittest.expect(o, unittest.hasLength(2)); |
541 unittest.expect(o[0], unittest.equals('foo')); | 562 unittest.expect(o[0], unittest.equals('foo')); |
542 unittest.expect(o[1], unittest.equals('foo')); | 563 unittest.expect(o[1], unittest.equals('foo')); |
543 } | 564 } |
544 | 565 |
545 buildUnnamed443() { | 566 buildUnnamed459() { |
546 var o = new core.List<core.String>(); | 567 var o = new core.List<core.String>(); |
547 o.add("foo"); | 568 o.add("foo"); |
548 o.add("foo"); | 569 o.add("foo"); |
549 return o; | 570 return o; |
550 } | 571 } |
551 | 572 |
552 checkUnnamed443(core.List<core.String> o) { | 573 checkUnnamed459(core.List<core.String> o) { |
553 unittest.expect(o, unittest.hasLength(2)); | 574 unittest.expect(o, unittest.hasLength(2)); |
554 unittest.expect(o[0], unittest.equals('foo')); | 575 unittest.expect(o[0], unittest.equals('foo')); |
555 unittest.expect(o[1], unittest.equals('foo')); | 576 unittest.expect(o[1], unittest.equals('foo')); |
556 } | 577 } |
557 | 578 |
558 buildUnnamed444() { | 579 buildUnnamed460() { |
559 var o = new core.Map<core.String, core.String>(); | 580 var o = new core.Map<core.String, core.String>(); |
560 o["x"] = "foo"; | 581 o["x"] = "foo"; |
561 o["y"] = "foo"; | 582 o["y"] = "foo"; |
562 return o; | 583 return o; |
563 } | 584 } |
564 | 585 |
565 checkUnnamed444(core.Map<core.String, core.String> o) { | 586 checkUnnamed460(core.Map<core.String, core.String> o) { |
566 unittest.expect(o, unittest.hasLength(2)); | 587 unittest.expect(o, unittest.hasLength(2)); |
567 unittest.expect(o["x"], unittest.equals('foo')); | 588 unittest.expect(o["x"], unittest.equals('foo')); |
568 unittest.expect(o["y"], unittest.equals('foo')); | 589 unittest.expect(o["y"], unittest.equals('foo')); |
569 } | 590 } |
570 | 591 |
571 core.int buildCounterHadoopJob = 0; | 592 core.int buildCounterHadoopJob = 0; |
572 buildHadoopJob() { | 593 buildHadoopJob() { |
573 var o = new api.HadoopJob(); | 594 var o = new api.HadoopJob(); |
574 buildCounterHadoopJob++; | 595 buildCounterHadoopJob++; |
575 if (buildCounterHadoopJob < 3) { | 596 if (buildCounterHadoopJob < 3) { |
576 o.archiveUris = buildUnnamed440(); | 597 o.archiveUris = buildUnnamed456(); |
577 o.args = buildUnnamed441(); | 598 o.args = buildUnnamed457(); |
578 o.fileUris = buildUnnamed442(); | 599 o.fileUris = buildUnnamed458(); |
579 o.jarFileUris = buildUnnamed443(); | 600 o.jarFileUris = buildUnnamed459(); |
580 o.loggingConfig = buildLoggingConfig(); | 601 o.loggingConfig = buildLoggingConfig(); |
581 o.mainClass = "foo"; | 602 o.mainClass = "foo"; |
582 o.mainJarFileUri = "foo"; | 603 o.mainJarFileUri = "foo"; |
583 o.properties = buildUnnamed444(); | 604 o.properties = buildUnnamed460(); |
584 } | 605 } |
585 buildCounterHadoopJob--; | 606 buildCounterHadoopJob--; |
586 return o; | 607 return o; |
587 } | 608 } |
588 | 609 |
589 checkHadoopJob(api.HadoopJob o) { | 610 checkHadoopJob(api.HadoopJob o) { |
590 buildCounterHadoopJob++; | 611 buildCounterHadoopJob++; |
591 if (buildCounterHadoopJob < 3) { | 612 if (buildCounterHadoopJob < 3) { |
592 checkUnnamed440(o.archiveUris); | 613 checkUnnamed456(o.archiveUris); |
593 checkUnnamed441(o.args); | 614 checkUnnamed457(o.args); |
594 checkUnnamed442(o.fileUris); | 615 checkUnnamed458(o.fileUris); |
595 checkUnnamed443(o.jarFileUris); | 616 checkUnnamed459(o.jarFileUris); |
596 checkLoggingConfig(o.loggingConfig); | 617 checkLoggingConfig(o.loggingConfig); |
597 unittest.expect(o.mainClass, unittest.equals('foo')); | 618 unittest.expect(o.mainClass, unittest.equals('foo')); |
598 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 619 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
599 checkUnnamed444(o.properties); | 620 checkUnnamed460(o.properties); |
600 } | 621 } |
601 buildCounterHadoopJob--; | 622 buildCounterHadoopJob--; |
602 } | 623 } |
603 | 624 |
604 buildUnnamed445() { | 625 buildUnnamed461() { |
605 var o = new core.List<core.String>(); | 626 var o = new core.List<core.String>(); |
606 o.add("foo"); | 627 o.add("foo"); |
607 o.add("foo"); | 628 o.add("foo"); |
608 return o; | 629 return o; |
609 } | 630 } |
610 | 631 |
611 checkUnnamed445(core.List<core.String> o) { | 632 checkUnnamed461(core.List<core.String> o) { |
612 unittest.expect(o, unittest.hasLength(2)); | 633 unittest.expect(o, unittest.hasLength(2)); |
613 unittest.expect(o[0], unittest.equals('foo')); | 634 unittest.expect(o[0], unittest.equals('foo')); |
614 unittest.expect(o[1], unittest.equals('foo')); | 635 unittest.expect(o[1], unittest.equals('foo')); |
615 } | 636 } |
616 | 637 |
617 buildUnnamed446() { | 638 buildUnnamed462() { |
618 var o = new core.Map<core.String, core.String>(); | 639 var o = new core.Map<core.String, core.String>(); |
619 o["x"] = "foo"; | 640 o["x"] = "foo"; |
620 o["y"] = "foo"; | 641 o["y"] = "foo"; |
621 return o; | 642 return o; |
622 } | 643 } |
623 | 644 |
624 checkUnnamed446(core.Map<core.String, core.String> o) { | 645 checkUnnamed462(core.Map<core.String, core.String> o) { |
625 unittest.expect(o, unittest.hasLength(2)); | 646 unittest.expect(o, unittest.hasLength(2)); |
626 unittest.expect(o["x"], unittest.equals('foo')); | 647 unittest.expect(o["x"], unittest.equals('foo')); |
627 unittest.expect(o["y"], unittest.equals('foo')); | 648 unittest.expect(o["y"], unittest.equals('foo')); |
628 } | 649 } |
629 | 650 |
630 buildUnnamed447() { | 651 buildUnnamed463() { |
631 var o = new core.Map<core.String, core.String>(); | 652 var o = new core.Map<core.String, core.String>(); |
632 o["x"] = "foo"; | 653 o["x"] = "foo"; |
633 o["y"] = "foo"; | 654 o["y"] = "foo"; |
634 return o; | 655 return o; |
635 } | 656 } |
636 | 657 |
637 checkUnnamed447(core.Map<core.String, core.String> o) { | 658 checkUnnamed463(core.Map<core.String, core.String> o) { |
638 unittest.expect(o, unittest.hasLength(2)); | 659 unittest.expect(o, unittest.hasLength(2)); |
639 unittest.expect(o["x"], unittest.equals('foo')); | 660 unittest.expect(o["x"], unittest.equals('foo')); |
640 unittest.expect(o["y"], unittest.equals('foo')); | 661 unittest.expect(o["y"], unittest.equals('foo')); |
641 } | 662 } |
642 | 663 |
643 core.int buildCounterHiveJob = 0; | 664 core.int buildCounterHiveJob = 0; |
644 buildHiveJob() { | 665 buildHiveJob() { |
645 var o = new api.HiveJob(); | 666 var o = new api.HiveJob(); |
646 buildCounterHiveJob++; | 667 buildCounterHiveJob++; |
647 if (buildCounterHiveJob < 3) { | 668 if (buildCounterHiveJob < 3) { |
648 o.continueOnFailure = true; | 669 o.continueOnFailure = true; |
649 o.jarFileUris = buildUnnamed445(); | 670 o.jarFileUris = buildUnnamed461(); |
650 o.properties = buildUnnamed446(); | 671 o.properties = buildUnnamed462(); |
651 o.queryFileUri = "foo"; | 672 o.queryFileUri = "foo"; |
652 o.queryList = buildQueryList(); | 673 o.queryList = buildQueryList(); |
653 o.scriptVariables = buildUnnamed447(); | 674 o.scriptVariables = buildUnnamed463(); |
654 } | 675 } |
655 buildCounterHiveJob--; | 676 buildCounterHiveJob--; |
656 return o; | 677 return o; |
657 } | 678 } |
658 | 679 |
659 checkHiveJob(api.HiveJob o) { | 680 checkHiveJob(api.HiveJob o) { |
660 buildCounterHiveJob++; | 681 buildCounterHiveJob++; |
661 if (buildCounterHiveJob < 3) { | 682 if (buildCounterHiveJob < 3) { |
662 unittest.expect(o.continueOnFailure, unittest.isTrue); | 683 unittest.expect(o.continueOnFailure, unittest.isTrue); |
663 checkUnnamed445(o.jarFileUris); | 684 checkUnnamed461(o.jarFileUris); |
664 checkUnnamed446(o.properties); | 685 checkUnnamed462(o.properties); |
665 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 686 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
666 checkQueryList(o.queryList); | 687 checkQueryList(o.queryList); |
667 checkUnnamed447(o.scriptVariables); | 688 checkUnnamed463(o.scriptVariables); |
668 } | 689 } |
669 buildCounterHiveJob--; | 690 buildCounterHiveJob--; |
670 } | 691 } |
671 | 692 |
672 buildUnnamed448() { | 693 buildUnnamed464() { |
| 694 var o = new core.List<api.AcceleratorConfig>(); |
| 695 o.add(buildAcceleratorConfig()); |
| 696 o.add(buildAcceleratorConfig()); |
| 697 return o; |
| 698 } |
| 699 |
| 700 checkUnnamed464(core.List<api.AcceleratorConfig> o) { |
| 701 unittest.expect(o, unittest.hasLength(2)); |
| 702 checkAcceleratorConfig(o[0]); |
| 703 checkAcceleratorConfig(o[1]); |
| 704 } |
| 705 |
| 706 buildUnnamed465() { |
673 var o = new core.List<core.String>(); | 707 var o = new core.List<core.String>(); |
674 o.add("foo"); | 708 o.add("foo"); |
675 o.add("foo"); | 709 o.add("foo"); |
676 return o; | 710 return o; |
677 } | 711 } |
678 | 712 |
679 checkUnnamed448(core.List<core.String> o) { | 713 checkUnnamed465(core.List<core.String> o) { |
680 unittest.expect(o, unittest.hasLength(2)); | 714 unittest.expect(o, unittest.hasLength(2)); |
681 unittest.expect(o[0], unittest.equals('foo')); | 715 unittest.expect(o[0], unittest.equals('foo')); |
682 unittest.expect(o[1], unittest.equals('foo')); | 716 unittest.expect(o[1], unittest.equals('foo')); |
683 } | 717 } |
684 | 718 |
685 core.int buildCounterInstanceGroupConfig = 0; | 719 core.int buildCounterInstanceGroupConfig = 0; |
686 buildInstanceGroupConfig() { | 720 buildInstanceGroupConfig() { |
687 var o = new api.InstanceGroupConfig(); | 721 var o = new api.InstanceGroupConfig(); |
688 buildCounterInstanceGroupConfig++; | 722 buildCounterInstanceGroupConfig++; |
689 if (buildCounterInstanceGroupConfig < 3) { | 723 if (buildCounterInstanceGroupConfig < 3) { |
| 724 o.accelerators = buildUnnamed464(); |
690 o.diskConfig = buildDiskConfig(); | 725 o.diskConfig = buildDiskConfig(); |
691 o.imageUri = "foo"; | 726 o.imageUri = "foo"; |
692 o.instanceNames = buildUnnamed448(); | 727 o.instanceNames = buildUnnamed465(); |
693 o.isPreemptible = true; | 728 o.isPreemptible = true; |
694 o.machineTypeUri = "foo"; | 729 o.machineTypeUri = "foo"; |
695 o.managedGroupConfig = buildManagedGroupConfig(); | 730 o.managedGroupConfig = buildManagedGroupConfig(); |
696 o.numInstances = 42; | 731 o.numInstances = 42; |
697 } | 732 } |
698 buildCounterInstanceGroupConfig--; | 733 buildCounterInstanceGroupConfig--; |
699 return o; | 734 return o; |
700 } | 735 } |
701 | 736 |
702 checkInstanceGroupConfig(api.InstanceGroupConfig o) { | 737 checkInstanceGroupConfig(api.InstanceGroupConfig o) { |
703 buildCounterInstanceGroupConfig++; | 738 buildCounterInstanceGroupConfig++; |
704 if (buildCounterInstanceGroupConfig < 3) { | 739 if (buildCounterInstanceGroupConfig < 3) { |
| 740 checkUnnamed464(o.accelerators); |
705 checkDiskConfig(o.diskConfig); | 741 checkDiskConfig(o.diskConfig); |
706 unittest.expect(o.imageUri, unittest.equals('foo')); | 742 unittest.expect(o.imageUri, unittest.equals('foo')); |
707 checkUnnamed448(o.instanceNames); | 743 checkUnnamed465(o.instanceNames); |
708 unittest.expect(o.isPreemptible, unittest.isTrue); | 744 unittest.expect(o.isPreemptible, unittest.isTrue); |
709 unittest.expect(o.machineTypeUri, unittest.equals('foo')); | 745 unittest.expect(o.machineTypeUri, unittest.equals('foo')); |
710 checkManagedGroupConfig(o.managedGroupConfig); | 746 checkManagedGroupConfig(o.managedGroupConfig); |
711 unittest.expect(o.numInstances, unittest.equals(42)); | 747 unittest.expect(o.numInstances, unittest.equals(42)); |
712 } | 748 } |
713 buildCounterInstanceGroupConfig--; | 749 buildCounterInstanceGroupConfig--; |
714 } | 750 } |
715 | 751 |
716 buildUnnamed449() { | 752 buildUnnamed466() { |
717 var o = new core.Map<core.String, core.String>(); | 753 var o = new core.Map<core.String, core.String>(); |
718 o["x"] = "foo"; | 754 o["x"] = "foo"; |
719 o["y"] = "foo"; | 755 o["y"] = "foo"; |
720 return o; | 756 return o; |
721 } | 757 } |
722 | 758 |
723 checkUnnamed449(core.Map<core.String, core.String> o) { | 759 checkUnnamed466(core.Map<core.String, core.String> o) { |
724 unittest.expect(o, unittest.hasLength(2)); | 760 unittest.expect(o, unittest.hasLength(2)); |
725 unittest.expect(o["x"], unittest.equals('foo')); | 761 unittest.expect(o["x"], unittest.equals('foo')); |
726 unittest.expect(o["y"], unittest.equals('foo')); | 762 unittest.expect(o["y"], unittest.equals('foo')); |
727 } | 763 } |
728 | 764 |
729 buildUnnamed450() { | 765 buildUnnamed467() { |
730 var o = new core.List<api.JobStatus>(); | 766 var o = new core.List<api.JobStatus>(); |
731 o.add(buildJobStatus()); | 767 o.add(buildJobStatus()); |
732 o.add(buildJobStatus()); | 768 o.add(buildJobStatus()); |
733 return o; | 769 return o; |
734 } | 770 } |
735 | 771 |
736 checkUnnamed450(core.List<api.JobStatus> o) { | 772 checkUnnamed467(core.List<api.JobStatus> o) { |
737 unittest.expect(o, unittest.hasLength(2)); | 773 unittest.expect(o, unittest.hasLength(2)); |
738 checkJobStatus(o[0]); | 774 checkJobStatus(o[0]); |
739 checkJobStatus(o[1]); | 775 checkJobStatus(o[1]); |
740 } | 776 } |
741 | 777 |
742 buildUnnamed451() { | 778 buildUnnamed468() { |
743 var o = new core.List<api.YarnApplication>(); | 779 var o = new core.List<api.YarnApplication>(); |
744 o.add(buildYarnApplication()); | 780 o.add(buildYarnApplication()); |
745 o.add(buildYarnApplication()); | 781 o.add(buildYarnApplication()); |
746 return o; | 782 return o; |
747 } | 783 } |
748 | 784 |
749 checkUnnamed451(core.List<api.YarnApplication> o) { | 785 checkUnnamed468(core.List<api.YarnApplication> o) { |
750 unittest.expect(o, unittest.hasLength(2)); | 786 unittest.expect(o, unittest.hasLength(2)); |
751 checkYarnApplication(o[0]); | 787 checkYarnApplication(o[0]); |
752 checkYarnApplication(o[1]); | 788 checkYarnApplication(o[1]); |
753 } | 789 } |
754 | 790 |
755 core.int buildCounterJob = 0; | 791 core.int buildCounterJob = 0; |
756 buildJob() { | 792 buildJob() { |
757 var o = new api.Job(); | 793 var o = new api.Job(); |
758 buildCounterJob++; | 794 buildCounterJob++; |
759 if (buildCounterJob < 3) { | 795 if (buildCounterJob < 3) { |
760 o.driverControlFilesUri = "foo"; | 796 o.driverControlFilesUri = "foo"; |
761 o.driverOutputResourceUri = "foo"; | 797 o.driverOutputResourceUri = "foo"; |
762 o.hadoopJob = buildHadoopJob(); | 798 o.hadoopJob = buildHadoopJob(); |
763 o.hiveJob = buildHiveJob(); | 799 o.hiveJob = buildHiveJob(); |
764 o.labels = buildUnnamed449(); | 800 o.labels = buildUnnamed466(); |
765 o.pigJob = buildPigJob(); | 801 o.pigJob = buildPigJob(); |
766 o.placement = buildJobPlacement(); | 802 o.placement = buildJobPlacement(); |
767 o.pysparkJob = buildPySparkJob(); | 803 o.pysparkJob = buildPySparkJob(); |
768 o.reference = buildJobReference(); | 804 o.reference = buildJobReference(); |
769 o.scheduling = buildJobScheduling(); | 805 o.scheduling = buildJobScheduling(); |
770 o.sparkJob = buildSparkJob(); | 806 o.sparkJob = buildSparkJob(); |
771 o.sparkSqlJob = buildSparkSqlJob(); | 807 o.sparkSqlJob = buildSparkSqlJob(); |
772 o.status = buildJobStatus(); | 808 o.status = buildJobStatus(); |
773 o.statusHistory = buildUnnamed450(); | 809 o.statusHistory = buildUnnamed467(); |
774 o.yarnApplications = buildUnnamed451(); | 810 o.yarnApplications = buildUnnamed468(); |
775 } | 811 } |
776 buildCounterJob--; | 812 buildCounterJob--; |
777 return o; | 813 return o; |
778 } | 814 } |
779 | 815 |
780 checkJob(api.Job o) { | 816 checkJob(api.Job o) { |
781 buildCounterJob++; | 817 buildCounterJob++; |
782 if (buildCounterJob < 3) { | 818 if (buildCounterJob < 3) { |
783 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); | 819 unittest.expect(o.driverControlFilesUri, unittest.equals('foo')); |
784 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); | 820 unittest.expect(o.driverOutputResourceUri, unittest.equals('foo')); |
785 checkHadoopJob(o.hadoopJob); | 821 checkHadoopJob(o.hadoopJob); |
786 checkHiveJob(o.hiveJob); | 822 checkHiveJob(o.hiveJob); |
787 checkUnnamed449(o.labels); | 823 checkUnnamed466(o.labels); |
788 checkPigJob(o.pigJob); | 824 checkPigJob(o.pigJob); |
789 checkJobPlacement(o.placement); | 825 checkJobPlacement(o.placement); |
790 checkPySparkJob(o.pysparkJob); | 826 checkPySparkJob(o.pysparkJob); |
791 checkJobReference(o.reference); | 827 checkJobReference(o.reference); |
792 checkJobScheduling(o.scheduling); | 828 checkJobScheduling(o.scheduling); |
793 checkSparkJob(o.sparkJob); | 829 checkSparkJob(o.sparkJob); |
794 checkSparkSqlJob(o.sparkSqlJob); | 830 checkSparkSqlJob(o.sparkSqlJob); |
795 checkJobStatus(o.status); | 831 checkJobStatus(o.status); |
796 checkUnnamed450(o.statusHistory); | 832 checkUnnamed467(o.statusHistory); |
797 checkUnnamed451(o.yarnApplications); | 833 checkUnnamed468(o.yarnApplications); |
798 } | 834 } |
799 buildCounterJob--; | 835 buildCounterJob--; |
800 } | 836 } |
801 | 837 |
802 core.int buildCounterJobPlacement = 0; | 838 core.int buildCounterJobPlacement = 0; |
803 buildJobPlacement() { | 839 buildJobPlacement() { |
804 var o = new api.JobPlacement(); | 840 var o = new api.JobPlacement(); |
805 buildCounterJobPlacement++; | 841 buildCounterJobPlacement++; |
806 if (buildCounterJobPlacement < 3) { | 842 if (buildCounterJobPlacement < 3) { |
807 o.clusterName = "foo"; | 843 o.clusterName = "foo"; |
(...skipping 68 matching lines...) Loading... |
876 checkJobStatus(api.JobStatus o) { | 912 checkJobStatus(api.JobStatus o) { |
877 buildCounterJobStatus++; | 913 buildCounterJobStatus++; |
878 if (buildCounterJobStatus < 3) { | 914 if (buildCounterJobStatus < 3) { |
879 unittest.expect(o.details, unittest.equals('foo')); | 915 unittest.expect(o.details, unittest.equals('foo')); |
880 unittest.expect(o.state, unittest.equals('foo')); | 916 unittest.expect(o.state, unittest.equals('foo')); |
881 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 917 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
882 } | 918 } |
883 buildCounterJobStatus--; | 919 buildCounterJobStatus--; |
884 } | 920 } |
885 | 921 |
886 buildUnnamed452() { | 922 buildUnnamed469() { |
887 var o = new core.List<api.Cluster>(); | 923 var o = new core.List<api.Cluster>(); |
888 o.add(buildCluster()); | 924 o.add(buildCluster()); |
889 o.add(buildCluster()); | 925 o.add(buildCluster()); |
890 return o; | 926 return o; |
891 } | 927 } |
892 | 928 |
893 checkUnnamed452(core.List<api.Cluster> o) { | 929 checkUnnamed469(core.List<api.Cluster> o) { |
894 unittest.expect(o, unittest.hasLength(2)); | 930 unittest.expect(o, unittest.hasLength(2)); |
895 checkCluster(o[0]); | 931 checkCluster(o[0]); |
896 checkCluster(o[1]); | 932 checkCluster(o[1]); |
897 } | 933 } |
898 | 934 |
899 core.int buildCounterListClustersResponse = 0; | 935 core.int buildCounterListClustersResponse = 0; |
900 buildListClustersResponse() { | 936 buildListClustersResponse() { |
901 var o = new api.ListClustersResponse(); | 937 var o = new api.ListClustersResponse(); |
902 buildCounterListClustersResponse++; | 938 buildCounterListClustersResponse++; |
903 if (buildCounterListClustersResponse < 3) { | 939 if (buildCounterListClustersResponse < 3) { |
904 o.clusters = buildUnnamed452(); | 940 o.clusters = buildUnnamed469(); |
905 o.nextPageToken = "foo"; | 941 o.nextPageToken = "foo"; |
906 } | 942 } |
907 buildCounterListClustersResponse--; | 943 buildCounterListClustersResponse--; |
908 return o; | 944 return o; |
909 } | 945 } |
910 | 946 |
911 checkListClustersResponse(api.ListClustersResponse o) { | 947 checkListClustersResponse(api.ListClustersResponse o) { |
912 buildCounterListClustersResponse++; | 948 buildCounterListClustersResponse++; |
913 if (buildCounterListClustersResponse < 3) { | 949 if (buildCounterListClustersResponse < 3) { |
914 checkUnnamed452(o.clusters); | 950 checkUnnamed469(o.clusters); |
915 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 951 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
916 } | 952 } |
917 buildCounterListClustersResponse--; | 953 buildCounterListClustersResponse--; |
918 } | 954 } |
919 | 955 |
920 buildUnnamed453() { | 956 buildUnnamed470() { |
921 var o = new core.List<api.Job>(); | 957 var o = new core.List<api.Job>(); |
922 o.add(buildJob()); | 958 o.add(buildJob()); |
923 o.add(buildJob()); | 959 o.add(buildJob()); |
924 return o; | 960 return o; |
925 } | 961 } |
926 | 962 |
927 checkUnnamed453(core.List<api.Job> o) { | 963 checkUnnamed470(core.List<api.Job> o) { |
928 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
929 checkJob(o[0]); | 965 checkJob(o[0]); |
930 checkJob(o[1]); | 966 checkJob(o[1]); |
931 } | 967 } |
932 | 968 |
933 core.int buildCounterListJobsResponse = 0; | 969 core.int buildCounterListJobsResponse = 0; |
934 buildListJobsResponse() { | 970 buildListJobsResponse() { |
935 var o = new api.ListJobsResponse(); | 971 var o = new api.ListJobsResponse(); |
936 buildCounterListJobsResponse++; | 972 buildCounterListJobsResponse++; |
937 if (buildCounterListJobsResponse < 3) { | 973 if (buildCounterListJobsResponse < 3) { |
938 o.jobs = buildUnnamed453(); | 974 o.jobs = buildUnnamed470(); |
939 o.nextPageToken = "foo"; | 975 o.nextPageToken = "foo"; |
940 } | 976 } |
941 buildCounterListJobsResponse--; | 977 buildCounterListJobsResponse--; |
942 return o; | 978 return o; |
943 } | 979 } |
944 | 980 |
945 checkListJobsResponse(api.ListJobsResponse o) { | 981 checkListJobsResponse(api.ListJobsResponse o) { |
946 buildCounterListJobsResponse++; | 982 buildCounterListJobsResponse++; |
947 if (buildCounterListJobsResponse < 3) { | 983 if (buildCounterListJobsResponse < 3) { |
948 checkUnnamed453(o.jobs); | 984 checkUnnamed470(o.jobs); |
949 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 985 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
950 } | 986 } |
951 buildCounterListJobsResponse--; | 987 buildCounterListJobsResponse--; |
952 } | 988 } |
953 | 989 |
954 buildUnnamed454() { | 990 buildUnnamed471() { |
955 var o = new core.List<api.Operation>(); | 991 var o = new core.List<api.Operation>(); |
956 o.add(buildOperation()); | 992 o.add(buildOperation()); |
957 o.add(buildOperation()); | 993 o.add(buildOperation()); |
958 return o; | 994 return o; |
959 } | 995 } |
960 | 996 |
961 checkUnnamed454(core.List<api.Operation> o) { | 997 checkUnnamed471(core.List<api.Operation> o) { |
962 unittest.expect(o, unittest.hasLength(2)); | 998 unittest.expect(o, unittest.hasLength(2)); |
963 checkOperation(o[0]); | 999 checkOperation(o[0]); |
964 checkOperation(o[1]); | 1000 checkOperation(o[1]); |
965 } | 1001 } |
966 | 1002 |
967 core.int buildCounterListOperationsResponse = 0; | 1003 core.int buildCounterListOperationsResponse = 0; |
968 buildListOperationsResponse() { | 1004 buildListOperationsResponse() { |
969 var o = new api.ListOperationsResponse(); | 1005 var o = new api.ListOperationsResponse(); |
970 buildCounterListOperationsResponse++; | 1006 buildCounterListOperationsResponse++; |
971 if (buildCounterListOperationsResponse < 3) { | 1007 if (buildCounterListOperationsResponse < 3) { |
972 o.nextPageToken = "foo"; | 1008 o.nextPageToken = "foo"; |
973 o.operations = buildUnnamed454(); | 1009 o.operations = buildUnnamed471(); |
974 } | 1010 } |
975 buildCounterListOperationsResponse--; | 1011 buildCounterListOperationsResponse--; |
976 return o; | 1012 return o; |
977 } | 1013 } |
978 | 1014 |
979 checkListOperationsResponse(api.ListOperationsResponse o) { | 1015 checkListOperationsResponse(api.ListOperationsResponse o) { |
980 buildCounterListOperationsResponse++; | 1016 buildCounterListOperationsResponse++; |
981 if (buildCounterListOperationsResponse < 3) { | 1017 if (buildCounterListOperationsResponse < 3) { |
982 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1018 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
983 checkUnnamed454(o.operations); | 1019 checkUnnamed471(o.operations); |
984 } | 1020 } |
985 buildCounterListOperationsResponse--; | 1021 buildCounterListOperationsResponse--; |
986 } | 1022 } |
987 | 1023 |
988 buildUnnamed455() { | 1024 buildUnnamed472() { |
989 var o = new core.Map<core.String, core.String>(); | 1025 var o = new core.Map<core.String, core.String>(); |
990 o["x"] = "foo"; | 1026 o["x"] = "foo"; |
991 o["y"] = "foo"; | 1027 o["y"] = "foo"; |
992 return o; | 1028 return o; |
993 } | 1029 } |
994 | 1030 |
995 checkUnnamed455(core.Map<core.String, core.String> o) { | 1031 checkUnnamed472(core.Map<core.String, core.String> o) { |
996 unittest.expect(o, unittest.hasLength(2)); | 1032 unittest.expect(o, unittest.hasLength(2)); |
997 unittest.expect(o["x"], unittest.equals('foo')); | 1033 unittest.expect(o["x"], unittest.equals('foo')); |
998 unittest.expect(o["y"], unittest.equals('foo')); | 1034 unittest.expect(o["y"], unittest.equals('foo')); |
999 } | 1035 } |
1000 | 1036 |
1001 core.int buildCounterLoggingConfig = 0; | 1037 core.int buildCounterLoggingConfig = 0; |
1002 buildLoggingConfig() { | 1038 buildLoggingConfig() { |
1003 var o = new api.LoggingConfig(); | 1039 var o = new api.LoggingConfig(); |
1004 buildCounterLoggingConfig++; | 1040 buildCounterLoggingConfig++; |
1005 if (buildCounterLoggingConfig < 3) { | 1041 if (buildCounterLoggingConfig < 3) { |
1006 o.driverLogLevels = buildUnnamed455(); | 1042 o.driverLogLevels = buildUnnamed472(); |
1007 } | 1043 } |
1008 buildCounterLoggingConfig--; | 1044 buildCounterLoggingConfig--; |
1009 return o; | 1045 return o; |
1010 } | 1046 } |
1011 | 1047 |
1012 checkLoggingConfig(api.LoggingConfig o) { | 1048 checkLoggingConfig(api.LoggingConfig o) { |
1013 buildCounterLoggingConfig++; | 1049 buildCounterLoggingConfig++; |
1014 if (buildCounterLoggingConfig < 3) { | 1050 if (buildCounterLoggingConfig < 3) { |
1015 checkUnnamed455(o.driverLogLevels); | 1051 checkUnnamed472(o.driverLogLevels); |
1016 } | 1052 } |
1017 buildCounterLoggingConfig--; | 1053 buildCounterLoggingConfig--; |
1018 } | 1054 } |
1019 | 1055 |
1020 core.int buildCounterManagedGroupConfig = 0; | 1056 core.int buildCounterManagedGroupConfig = 0; |
1021 buildManagedGroupConfig() { | 1057 buildManagedGroupConfig() { |
1022 var o = new api.ManagedGroupConfig(); | 1058 var o = new api.ManagedGroupConfig(); |
1023 buildCounterManagedGroupConfig++; | 1059 buildCounterManagedGroupConfig++; |
1024 if (buildCounterManagedGroupConfig < 3) { | 1060 if (buildCounterManagedGroupConfig < 3) { |
1025 o.instanceGroupManagerName = "foo"; | 1061 o.instanceGroupManagerName = "foo"; |
(...skipping 26 matching lines...) Loading... |
1052 | 1088 |
1053 checkNodeInitializationAction(api.NodeInitializationAction o) { | 1089 checkNodeInitializationAction(api.NodeInitializationAction o) { |
1054 buildCounterNodeInitializationAction++; | 1090 buildCounterNodeInitializationAction++; |
1055 if (buildCounterNodeInitializationAction < 3) { | 1091 if (buildCounterNodeInitializationAction < 3) { |
1056 unittest.expect(o.executableFile, unittest.equals('foo')); | 1092 unittest.expect(o.executableFile, unittest.equals('foo')); |
1057 unittest.expect(o.executionTimeout, unittest.equals('foo')); | 1093 unittest.expect(o.executionTimeout, unittest.equals('foo')); |
1058 } | 1094 } |
1059 buildCounterNodeInitializationAction--; | 1095 buildCounterNodeInitializationAction--; |
1060 } | 1096 } |
1061 | 1097 |
1062 buildUnnamed456() { | 1098 buildUnnamed473() { |
1063 var o = new core.Map<core.String, core.Object>(); | 1099 var o = new core.Map<core.String, core.Object>(); |
1064 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1100 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1065 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1101 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1066 return o; | 1102 return o; |
1067 } | 1103 } |
1068 | 1104 |
1069 checkUnnamed456(core.Map<core.String, core.Object> o) { | 1105 checkUnnamed473(core.Map<core.String, core.Object> o) { |
1070 unittest.expect(o, unittest.hasLength(2)); | 1106 unittest.expect(o, unittest.hasLength(2)); |
1071 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')); | 1107 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')); |
1072 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')); | 1108 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')); |
1073 } | 1109 } |
1074 | 1110 |
1075 buildUnnamed457() { | 1111 buildUnnamed474() { |
1076 var o = new core.Map<core.String, core.Object>(); | 1112 var o = new core.Map<core.String, core.Object>(); |
1077 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1113 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1078 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1114 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1079 return o; | 1115 return o; |
1080 } | 1116 } |
1081 | 1117 |
1082 checkUnnamed457(core.Map<core.String, core.Object> o) { | 1118 checkUnnamed474(core.Map<core.String, core.Object> o) { |
1083 unittest.expect(o, unittest.hasLength(2)); | 1119 unittest.expect(o, unittest.hasLength(2)); |
1084 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')); | 1120 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')); |
1085 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')); | 1121 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')); |
1086 } | 1122 } |
1087 | 1123 |
1088 core.int buildCounterOperation = 0; | 1124 core.int buildCounterOperation = 0; |
1089 buildOperation() { | 1125 buildOperation() { |
1090 var o = new api.Operation(); | 1126 var o = new api.Operation(); |
1091 buildCounterOperation++; | 1127 buildCounterOperation++; |
1092 if (buildCounterOperation < 3) { | 1128 if (buildCounterOperation < 3) { |
1093 o.done = true; | 1129 o.done = true; |
1094 o.error = buildStatus(); | 1130 o.error = buildStatus(); |
1095 o.metadata = buildUnnamed456(); | 1131 o.metadata = buildUnnamed473(); |
1096 o.name = "foo"; | 1132 o.name = "foo"; |
1097 o.response = buildUnnamed457(); | 1133 o.response = buildUnnamed474(); |
1098 } | 1134 } |
1099 buildCounterOperation--; | 1135 buildCounterOperation--; |
1100 return o; | 1136 return o; |
1101 } | 1137 } |
1102 | 1138 |
1103 checkOperation(api.Operation o) { | 1139 checkOperation(api.Operation o) { |
1104 buildCounterOperation++; | 1140 buildCounterOperation++; |
1105 if (buildCounterOperation < 3) { | 1141 if (buildCounterOperation < 3) { |
1106 unittest.expect(o.done, unittest.isTrue); | 1142 unittest.expect(o.done, unittest.isTrue); |
1107 checkStatus(o.error); | 1143 checkStatus(o.error); |
1108 checkUnnamed456(o.metadata); | 1144 checkUnnamed473(o.metadata); |
1109 unittest.expect(o.name, unittest.equals('foo')); | 1145 unittest.expect(o.name, unittest.equals('foo')); |
1110 checkUnnamed457(o.response); | 1146 checkUnnamed474(o.response); |
1111 } | 1147 } |
1112 buildCounterOperation--; | 1148 buildCounterOperation--; |
1113 } | 1149 } |
1114 | 1150 |
1115 buildUnnamed458() { | 1151 buildUnnamed475() { |
1116 var o = new core.List<api.OperationStatus>(); | 1152 var o = new core.List<api.OperationStatus>(); |
1117 o.add(buildOperationStatus()); | 1153 o.add(buildOperationStatus()); |
1118 o.add(buildOperationStatus()); | 1154 o.add(buildOperationStatus()); |
1119 return o; | 1155 return o; |
1120 } | 1156 } |
1121 | 1157 |
1122 checkUnnamed458(core.List<api.OperationStatus> o) { | 1158 checkUnnamed475(core.List<api.OperationStatus> o) { |
1123 unittest.expect(o, unittest.hasLength(2)); | 1159 unittest.expect(o, unittest.hasLength(2)); |
1124 checkOperationStatus(o[0]); | 1160 checkOperationStatus(o[0]); |
1125 checkOperationStatus(o[1]); | 1161 checkOperationStatus(o[1]); |
1126 } | 1162 } |
1127 | 1163 |
1128 buildUnnamed459() { | 1164 buildUnnamed476() { |
1129 var o = new core.List<core.String>(); | 1165 var o = new core.List<core.String>(); |
1130 o.add("foo"); | 1166 o.add("foo"); |
1131 o.add("foo"); | 1167 o.add("foo"); |
1132 return o; | 1168 return o; |
1133 } | 1169 } |
1134 | 1170 |
1135 checkUnnamed459(core.List<core.String> o) { | 1171 checkUnnamed476(core.List<core.String> o) { |
1136 unittest.expect(o, unittest.hasLength(2)); | 1172 unittest.expect(o, unittest.hasLength(2)); |
1137 unittest.expect(o[0], unittest.equals('foo')); | 1173 unittest.expect(o[0], unittest.equals('foo')); |
1138 unittest.expect(o[1], unittest.equals('foo')); | 1174 unittest.expect(o[1], unittest.equals('foo')); |
1139 } | 1175 } |
1140 | 1176 |
1141 core.int buildCounterOperationMetadata = 0; | 1177 core.int buildCounterOperationMetadata = 0; |
1142 buildOperationMetadata() { | 1178 buildOperationMetadata() { |
1143 var o = new api.OperationMetadata(); | 1179 var o = new api.OperationMetadata(); |
1144 buildCounterOperationMetadata++; | 1180 buildCounterOperationMetadata++; |
1145 if (buildCounterOperationMetadata < 3) { | 1181 if (buildCounterOperationMetadata < 3) { |
1146 o.clusterName = "foo"; | 1182 o.clusterName = "foo"; |
1147 o.clusterUuid = "foo"; | 1183 o.clusterUuid = "foo"; |
1148 o.description = "foo"; | 1184 o.description = "foo"; |
1149 o.details = "foo"; | 1185 o.details = "foo"; |
1150 o.endTime = "foo"; | 1186 o.endTime = "foo"; |
1151 o.innerState = "foo"; | 1187 o.innerState = "foo"; |
1152 o.insertTime = "foo"; | 1188 o.insertTime = "foo"; |
1153 o.operationType = "foo"; | 1189 o.operationType = "foo"; |
1154 o.startTime = "foo"; | 1190 o.startTime = "foo"; |
1155 o.state = "foo"; | 1191 o.state = "foo"; |
1156 o.status = buildOperationStatus(); | 1192 o.status = buildOperationStatus(); |
1157 o.statusHistory = buildUnnamed458(); | 1193 o.statusHistory = buildUnnamed475(); |
1158 o.warnings = buildUnnamed459(); | 1194 o.warnings = buildUnnamed476(); |
1159 } | 1195 } |
1160 buildCounterOperationMetadata--; | 1196 buildCounterOperationMetadata--; |
1161 return o; | 1197 return o; |
1162 } | 1198 } |
1163 | 1199 |
1164 checkOperationMetadata(api.OperationMetadata o) { | 1200 checkOperationMetadata(api.OperationMetadata o) { |
1165 buildCounterOperationMetadata++; | 1201 buildCounterOperationMetadata++; |
1166 if (buildCounterOperationMetadata < 3) { | 1202 if (buildCounterOperationMetadata < 3) { |
1167 unittest.expect(o.clusterName, unittest.equals('foo')); | 1203 unittest.expect(o.clusterName, unittest.equals('foo')); |
1168 unittest.expect(o.clusterUuid, unittest.equals('foo')); | 1204 unittest.expect(o.clusterUuid, unittest.equals('foo')); |
1169 unittest.expect(o.description, unittest.equals('foo')); | 1205 unittest.expect(o.description, unittest.equals('foo')); |
1170 unittest.expect(o.details, unittest.equals('foo')); | 1206 unittest.expect(o.details, unittest.equals('foo')); |
1171 unittest.expect(o.endTime, unittest.equals('foo')); | 1207 unittest.expect(o.endTime, unittest.equals('foo')); |
1172 unittest.expect(o.innerState, unittest.equals('foo')); | 1208 unittest.expect(o.innerState, unittest.equals('foo')); |
1173 unittest.expect(o.insertTime, unittest.equals('foo')); | 1209 unittest.expect(o.insertTime, unittest.equals('foo')); |
1174 unittest.expect(o.operationType, unittest.equals('foo')); | 1210 unittest.expect(o.operationType, unittest.equals('foo')); |
1175 unittest.expect(o.startTime, unittest.equals('foo')); | 1211 unittest.expect(o.startTime, unittest.equals('foo')); |
1176 unittest.expect(o.state, unittest.equals('foo')); | 1212 unittest.expect(o.state, unittest.equals('foo')); |
1177 checkOperationStatus(o.status); | 1213 checkOperationStatus(o.status); |
1178 checkUnnamed458(o.statusHistory); | 1214 checkUnnamed475(o.statusHistory); |
1179 checkUnnamed459(o.warnings); | 1215 checkUnnamed476(o.warnings); |
1180 } | 1216 } |
1181 buildCounterOperationMetadata--; | 1217 buildCounterOperationMetadata--; |
1182 } | 1218 } |
1183 | 1219 |
1184 core.int buildCounterOperationStatus = 0; | 1220 core.int buildCounterOperationStatus = 0; |
1185 buildOperationStatus() { | 1221 buildOperationStatus() { |
1186 var o = new api.OperationStatus(); | 1222 var o = new api.OperationStatus(); |
1187 buildCounterOperationStatus++; | 1223 buildCounterOperationStatus++; |
1188 if (buildCounterOperationStatus < 3) { | 1224 if (buildCounterOperationStatus < 3) { |
1189 o.details = "foo"; | 1225 o.details = "foo"; |
1190 o.innerState = "foo"; | 1226 o.innerState = "foo"; |
1191 o.state = "foo"; | 1227 o.state = "foo"; |
1192 o.stateStartTime = "foo"; | 1228 o.stateStartTime = "foo"; |
1193 } | 1229 } |
1194 buildCounterOperationStatus--; | 1230 buildCounterOperationStatus--; |
1195 return o; | 1231 return o; |
1196 } | 1232 } |
1197 | 1233 |
1198 checkOperationStatus(api.OperationStatus o) { | 1234 checkOperationStatus(api.OperationStatus o) { |
1199 buildCounterOperationStatus++; | 1235 buildCounterOperationStatus++; |
1200 if (buildCounterOperationStatus < 3) { | 1236 if (buildCounterOperationStatus < 3) { |
1201 unittest.expect(o.details, unittest.equals('foo')); | 1237 unittest.expect(o.details, unittest.equals('foo')); |
1202 unittest.expect(o.innerState, unittest.equals('foo')); | 1238 unittest.expect(o.innerState, unittest.equals('foo')); |
1203 unittest.expect(o.state, unittest.equals('foo')); | 1239 unittest.expect(o.state, unittest.equals('foo')); |
1204 unittest.expect(o.stateStartTime, unittest.equals('foo')); | 1240 unittest.expect(o.stateStartTime, unittest.equals('foo')); |
1205 } | 1241 } |
1206 buildCounterOperationStatus--; | 1242 buildCounterOperationStatus--; |
1207 } | 1243 } |
1208 | 1244 |
1209 buildUnnamed460() { | 1245 buildUnnamed477() { |
1210 var o = new core.List<core.String>(); | 1246 var o = new core.List<core.String>(); |
1211 o.add("foo"); | 1247 o.add("foo"); |
1212 o.add("foo"); | 1248 o.add("foo"); |
1213 return o; | 1249 return o; |
1214 } | 1250 } |
1215 | 1251 |
1216 checkUnnamed460(core.List<core.String> o) { | 1252 checkUnnamed477(core.List<core.String> o) { |
1217 unittest.expect(o, unittest.hasLength(2)); | 1253 unittest.expect(o, unittest.hasLength(2)); |
1218 unittest.expect(o[0], unittest.equals('foo')); | 1254 unittest.expect(o[0], unittest.equals('foo')); |
1219 unittest.expect(o[1], unittest.equals('foo')); | 1255 unittest.expect(o[1], unittest.equals('foo')); |
1220 } | 1256 } |
1221 | 1257 |
1222 buildUnnamed461() { | 1258 buildUnnamed478() { |
1223 var o = new core.Map<core.String, core.String>(); | 1259 var o = new core.Map<core.String, core.String>(); |
1224 o["x"] = "foo"; | 1260 o["x"] = "foo"; |
1225 o["y"] = "foo"; | 1261 o["y"] = "foo"; |
1226 return o; | 1262 return o; |
1227 } | 1263 } |
1228 | 1264 |
1229 checkUnnamed461(core.Map<core.String, core.String> o) { | 1265 checkUnnamed478(core.Map<core.String, core.String> o) { |
1230 unittest.expect(o, unittest.hasLength(2)); | 1266 unittest.expect(o, unittest.hasLength(2)); |
1231 unittest.expect(o["x"], unittest.equals('foo')); | 1267 unittest.expect(o["x"], unittest.equals('foo')); |
1232 unittest.expect(o["y"], unittest.equals('foo')); | 1268 unittest.expect(o["y"], unittest.equals('foo')); |
1233 } | 1269 } |
1234 | 1270 |
1235 buildUnnamed462() { | 1271 buildUnnamed479() { |
1236 var o = new core.Map<core.String, core.String>(); | 1272 var o = new core.Map<core.String, core.String>(); |
1237 o["x"] = "foo"; | 1273 o["x"] = "foo"; |
1238 o["y"] = "foo"; | 1274 o["y"] = "foo"; |
1239 return o; | 1275 return o; |
1240 } | 1276 } |
1241 | 1277 |
1242 checkUnnamed462(core.Map<core.String, core.String> o) { | 1278 checkUnnamed479(core.Map<core.String, core.String> o) { |
1243 unittest.expect(o, unittest.hasLength(2)); | 1279 unittest.expect(o, unittest.hasLength(2)); |
1244 unittest.expect(o["x"], unittest.equals('foo')); | 1280 unittest.expect(o["x"], unittest.equals('foo')); |
1245 unittest.expect(o["y"], unittest.equals('foo')); | 1281 unittest.expect(o["y"], unittest.equals('foo')); |
1246 } | 1282 } |
1247 | 1283 |
1248 core.int buildCounterPigJob = 0; | 1284 core.int buildCounterPigJob = 0; |
1249 buildPigJob() { | 1285 buildPigJob() { |
1250 var o = new api.PigJob(); | 1286 var o = new api.PigJob(); |
1251 buildCounterPigJob++; | 1287 buildCounterPigJob++; |
1252 if (buildCounterPigJob < 3) { | 1288 if (buildCounterPigJob < 3) { |
1253 o.continueOnFailure = true; | 1289 o.continueOnFailure = true; |
1254 o.jarFileUris = buildUnnamed460(); | 1290 o.jarFileUris = buildUnnamed477(); |
1255 o.loggingConfig = buildLoggingConfig(); | 1291 o.loggingConfig = buildLoggingConfig(); |
1256 o.properties = buildUnnamed461(); | 1292 o.properties = buildUnnamed478(); |
1257 o.queryFileUri = "foo"; | 1293 o.queryFileUri = "foo"; |
1258 o.queryList = buildQueryList(); | 1294 o.queryList = buildQueryList(); |
1259 o.scriptVariables = buildUnnamed462(); | 1295 o.scriptVariables = buildUnnamed479(); |
1260 } | 1296 } |
1261 buildCounterPigJob--; | 1297 buildCounterPigJob--; |
1262 return o; | 1298 return o; |
1263 } | 1299 } |
1264 | 1300 |
1265 checkPigJob(api.PigJob o) { | 1301 checkPigJob(api.PigJob o) { |
1266 buildCounterPigJob++; | 1302 buildCounterPigJob++; |
1267 if (buildCounterPigJob < 3) { | 1303 if (buildCounterPigJob < 3) { |
1268 unittest.expect(o.continueOnFailure, unittest.isTrue); | 1304 unittest.expect(o.continueOnFailure, unittest.isTrue); |
1269 checkUnnamed460(o.jarFileUris); | 1305 checkUnnamed477(o.jarFileUris); |
1270 checkLoggingConfig(o.loggingConfig); | 1306 checkLoggingConfig(o.loggingConfig); |
1271 checkUnnamed461(o.properties); | 1307 checkUnnamed478(o.properties); |
1272 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1308 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
1273 checkQueryList(o.queryList); | 1309 checkQueryList(o.queryList); |
1274 checkUnnamed462(o.scriptVariables); | 1310 checkUnnamed479(o.scriptVariables); |
1275 } | 1311 } |
1276 buildCounterPigJob--; | 1312 buildCounterPigJob--; |
1277 } | 1313 } |
1278 | 1314 |
1279 buildUnnamed463() { | 1315 buildUnnamed480() { |
1280 var o = new core.List<core.String>(); | 1316 var o = new core.List<core.String>(); |
1281 o.add("foo"); | 1317 o.add("foo"); |
1282 o.add("foo"); | 1318 o.add("foo"); |
1283 return o; | 1319 return o; |
1284 } | 1320 } |
1285 | 1321 |
1286 checkUnnamed463(core.List<core.String> o) { | 1322 checkUnnamed480(core.List<core.String> o) { |
1287 unittest.expect(o, unittest.hasLength(2)); | 1323 unittest.expect(o, unittest.hasLength(2)); |
1288 unittest.expect(o[0], unittest.equals('foo')); | 1324 unittest.expect(o[0], unittest.equals('foo')); |
1289 unittest.expect(o[1], unittest.equals('foo')); | 1325 unittest.expect(o[1], unittest.equals('foo')); |
1290 } | 1326 } |
1291 | 1327 |
1292 buildUnnamed464() { | 1328 buildUnnamed481() { |
1293 var o = new core.List<core.String>(); | 1329 var o = new core.List<core.String>(); |
1294 o.add("foo"); | 1330 o.add("foo"); |
1295 o.add("foo"); | 1331 o.add("foo"); |
1296 return o; | 1332 return o; |
1297 } | 1333 } |
1298 | 1334 |
1299 checkUnnamed464(core.List<core.String> o) { | 1335 checkUnnamed481(core.List<core.String> o) { |
1300 unittest.expect(o, unittest.hasLength(2)); | 1336 unittest.expect(o, unittest.hasLength(2)); |
1301 unittest.expect(o[0], unittest.equals('foo')); | 1337 unittest.expect(o[0], unittest.equals('foo')); |
1302 unittest.expect(o[1], unittest.equals('foo')); | 1338 unittest.expect(o[1], unittest.equals('foo')); |
1303 } | 1339 } |
1304 | 1340 |
1305 buildUnnamed465() { | 1341 buildUnnamed482() { |
1306 var o = new core.List<core.String>(); | 1342 var o = new core.List<core.String>(); |
1307 o.add("foo"); | 1343 o.add("foo"); |
1308 o.add("foo"); | 1344 o.add("foo"); |
1309 return o; | 1345 return o; |
1310 } | 1346 } |
1311 | 1347 |
1312 checkUnnamed465(core.List<core.String> o) { | 1348 checkUnnamed482(core.List<core.String> o) { |
1313 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
1314 unittest.expect(o[0], unittest.equals('foo')); | 1350 unittest.expect(o[0], unittest.equals('foo')); |
1315 unittest.expect(o[1], unittest.equals('foo')); | 1351 unittest.expect(o[1], unittest.equals('foo')); |
1316 } | 1352 } |
1317 | 1353 |
1318 buildUnnamed466() { | 1354 buildUnnamed483() { |
1319 var o = new core.List<core.String>(); | 1355 var o = new core.List<core.String>(); |
1320 o.add("foo"); | 1356 o.add("foo"); |
1321 o.add("foo"); | 1357 o.add("foo"); |
1322 return o; | 1358 return o; |
1323 } | 1359 } |
1324 | 1360 |
1325 checkUnnamed466(core.List<core.String> o) { | 1361 checkUnnamed483(core.List<core.String> o) { |
1326 unittest.expect(o, unittest.hasLength(2)); | 1362 unittest.expect(o, unittest.hasLength(2)); |
1327 unittest.expect(o[0], unittest.equals('foo')); | 1363 unittest.expect(o[0], unittest.equals('foo')); |
1328 unittest.expect(o[1], unittest.equals('foo')); | 1364 unittest.expect(o[1], unittest.equals('foo')); |
1329 } | 1365 } |
1330 | 1366 |
1331 buildUnnamed467() { | 1367 buildUnnamed484() { |
1332 var o = new core.Map<core.String, core.String>(); | 1368 var o = new core.Map<core.String, core.String>(); |
1333 o["x"] = "foo"; | 1369 o["x"] = "foo"; |
1334 o["y"] = "foo"; | 1370 o["y"] = "foo"; |
1335 return o; | 1371 return o; |
1336 } | 1372 } |
1337 | 1373 |
1338 checkUnnamed467(core.Map<core.String, core.String> o) { | 1374 checkUnnamed484(core.Map<core.String, core.String> o) { |
1339 unittest.expect(o, unittest.hasLength(2)); | 1375 unittest.expect(o, unittest.hasLength(2)); |
1340 unittest.expect(o["x"], unittest.equals('foo')); | 1376 unittest.expect(o["x"], unittest.equals('foo')); |
1341 unittest.expect(o["y"], unittest.equals('foo')); | 1377 unittest.expect(o["y"], unittest.equals('foo')); |
1342 } | 1378 } |
1343 | 1379 |
1344 buildUnnamed468() { | 1380 buildUnnamed485() { |
1345 var o = new core.List<core.String>(); | 1381 var o = new core.List<core.String>(); |
1346 o.add("foo"); | 1382 o.add("foo"); |
1347 o.add("foo"); | 1383 o.add("foo"); |
1348 return o; | 1384 return o; |
1349 } | 1385 } |
1350 | 1386 |
1351 checkUnnamed468(core.List<core.String> o) { | 1387 checkUnnamed485(core.List<core.String> o) { |
1352 unittest.expect(o, unittest.hasLength(2)); | 1388 unittest.expect(o, unittest.hasLength(2)); |
1353 unittest.expect(o[0], unittest.equals('foo')); | 1389 unittest.expect(o[0], unittest.equals('foo')); |
1354 unittest.expect(o[1], unittest.equals('foo')); | 1390 unittest.expect(o[1], unittest.equals('foo')); |
1355 } | 1391 } |
1356 | 1392 |
1357 core.int buildCounterPySparkJob = 0; | 1393 core.int buildCounterPySparkJob = 0; |
1358 buildPySparkJob() { | 1394 buildPySparkJob() { |
1359 var o = new api.PySparkJob(); | 1395 var o = new api.PySparkJob(); |
1360 buildCounterPySparkJob++; | 1396 buildCounterPySparkJob++; |
1361 if (buildCounterPySparkJob < 3) { | 1397 if (buildCounterPySparkJob < 3) { |
1362 o.archiveUris = buildUnnamed463(); | 1398 o.archiveUris = buildUnnamed480(); |
1363 o.args = buildUnnamed464(); | 1399 o.args = buildUnnamed481(); |
1364 o.fileUris = buildUnnamed465(); | 1400 o.fileUris = buildUnnamed482(); |
1365 o.jarFileUris = buildUnnamed466(); | 1401 o.jarFileUris = buildUnnamed483(); |
1366 o.loggingConfig = buildLoggingConfig(); | 1402 o.loggingConfig = buildLoggingConfig(); |
1367 o.mainPythonFileUri = "foo"; | 1403 o.mainPythonFileUri = "foo"; |
1368 o.properties = buildUnnamed467(); | 1404 o.properties = buildUnnamed484(); |
1369 o.pythonFileUris = buildUnnamed468(); | 1405 o.pythonFileUris = buildUnnamed485(); |
1370 } | 1406 } |
1371 buildCounterPySparkJob--; | 1407 buildCounterPySparkJob--; |
1372 return o; | 1408 return o; |
1373 } | 1409 } |
1374 | 1410 |
1375 checkPySparkJob(api.PySparkJob o) { | 1411 checkPySparkJob(api.PySparkJob o) { |
1376 buildCounterPySparkJob++; | 1412 buildCounterPySparkJob++; |
1377 if (buildCounterPySparkJob < 3) { | 1413 if (buildCounterPySparkJob < 3) { |
1378 checkUnnamed463(o.archiveUris); | 1414 checkUnnamed480(o.archiveUris); |
1379 checkUnnamed464(o.args); | 1415 checkUnnamed481(o.args); |
1380 checkUnnamed465(o.fileUris); | 1416 checkUnnamed482(o.fileUris); |
1381 checkUnnamed466(o.jarFileUris); | 1417 checkUnnamed483(o.jarFileUris); |
1382 checkLoggingConfig(o.loggingConfig); | 1418 checkLoggingConfig(o.loggingConfig); |
1383 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); | 1419 unittest.expect(o.mainPythonFileUri, unittest.equals('foo')); |
1384 checkUnnamed467(o.properties); | 1420 checkUnnamed484(o.properties); |
1385 checkUnnamed468(o.pythonFileUris); | 1421 checkUnnamed485(o.pythonFileUris); |
1386 } | 1422 } |
1387 buildCounterPySparkJob--; | 1423 buildCounterPySparkJob--; |
1388 } | 1424 } |
1389 | 1425 |
1390 buildUnnamed469() { | 1426 buildUnnamed486() { |
1391 var o = new core.List<core.String>(); | 1427 var o = new core.List<core.String>(); |
1392 o.add("foo"); | 1428 o.add("foo"); |
1393 o.add("foo"); | 1429 o.add("foo"); |
1394 return o; | 1430 return o; |
1395 } | 1431 } |
1396 | 1432 |
1397 checkUnnamed469(core.List<core.String> o) { | 1433 checkUnnamed486(core.List<core.String> o) { |
1398 unittest.expect(o, unittest.hasLength(2)); | 1434 unittest.expect(o, unittest.hasLength(2)); |
1399 unittest.expect(o[0], unittest.equals('foo')); | 1435 unittest.expect(o[0], unittest.equals('foo')); |
1400 unittest.expect(o[1], unittest.equals('foo')); | 1436 unittest.expect(o[1], unittest.equals('foo')); |
1401 } | 1437 } |
1402 | 1438 |
1403 core.int buildCounterQueryList = 0; | 1439 core.int buildCounterQueryList = 0; |
1404 buildQueryList() { | 1440 buildQueryList() { |
1405 var o = new api.QueryList(); | 1441 var o = new api.QueryList(); |
1406 buildCounterQueryList++; | 1442 buildCounterQueryList++; |
1407 if (buildCounterQueryList < 3) { | 1443 if (buildCounterQueryList < 3) { |
1408 o.queries = buildUnnamed469(); | 1444 o.queries = buildUnnamed486(); |
1409 } | 1445 } |
1410 buildCounterQueryList--; | 1446 buildCounterQueryList--; |
1411 return o; | 1447 return o; |
1412 } | 1448 } |
1413 | 1449 |
1414 checkQueryList(api.QueryList o) { | 1450 checkQueryList(api.QueryList o) { |
1415 buildCounterQueryList++; | 1451 buildCounterQueryList++; |
1416 if (buildCounterQueryList < 3) { | 1452 if (buildCounterQueryList < 3) { |
1417 checkUnnamed469(o.queries); | 1453 checkUnnamed486(o.queries); |
1418 } | 1454 } |
1419 buildCounterQueryList--; | 1455 buildCounterQueryList--; |
1420 } | 1456 } |
1421 | 1457 |
1422 buildUnnamed470() { | 1458 buildUnnamed487() { |
1423 var o = new core.Map<core.String, core.String>(); | 1459 var o = new core.Map<core.String, core.String>(); |
1424 o["x"] = "foo"; | 1460 o["x"] = "foo"; |
1425 o["y"] = "foo"; | 1461 o["y"] = "foo"; |
1426 return o; | 1462 return o; |
1427 } | 1463 } |
1428 | 1464 |
1429 checkUnnamed470(core.Map<core.String, core.String> o) { | 1465 checkUnnamed487(core.Map<core.String, core.String> o) { |
1430 unittest.expect(o, unittest.hasLength(2)); | 1466 unittest.expect(o, unittest.hasLength(2)); |
1431 unittest.expect(o["x"], unittest.equals('foo')); | 1467 unittest.expect(o["x"], unittest.equals('foo')); |
1432 unittest.expect(o["y"], unittest.equals('foo')); | 1468 unittest.expect(o["y"], unittest.equals('foo')); |
1433 } | 1469 } |
1434 | 1470 |
1435 core.int buildCounterSoftwareConfig = 0; | 1471 core.int buildCounterSoftwareConfig = 0; |
1436 buildSoftwareConfig() { | 1472 buildSoftwareConfig() { |
1437 var o = new api.SoftwareConfig(); | 1473 var o = new api.SoftwareConfig(); |
1438 buildCounterSoftwareConfig++; | 1474 buildCounterSoftwareConfig++; |
1439 if (buildCounterSoftwareConfig < 3) { | 1475 if (buildCounterSoftwareConfig < 3) { |
1440 o.imageVersion = "foo"; | 1476 o.imageVersion = "foo"; |
1441 o.properties = buildUnnamed470(); | 1477 o.properties = buildUnnamed487(); |
1442 } | 1478 } |
1443 buildCounterSoftwareConfig--; | 1479 buildCounterSoftwareConfig--; |
1444 return o; | 1480 return o; |
1445 } | 1481 } |
1446 | 1482 |
1447 checkSoftwareConfig(api.SoftwareConfig o) { | 1483 checkSoftwareConfig(api.SoftwareConfig o) { |
1448 buildCounterSoftwareConfig++; | 1484 buildCounterSoftwareConfig++; |
1449 if (buildCounterSoftwareConfig < 3) { | 1485 if (buildCounterSoftwareConfig < 3) { |
1450 unittest.expect(o.imageVersion, unittest.equals('foo')); | 1486 unittest.expect(o.imageVersion, unittest.equals('foo')); |
1451 checkUnnamed470(o.properties); | 1487 checkUnnamed487(o.properties); |
1452 } | 1488 } |
1453 buildCounterSoftwareConfig--; | 1489 buildCounterSoftwareConfig--; |
1454 } | 1490 } |
1455 | 1491 |
1456 buildUnnamed471() { | 1492 buildUnnamed488() { |
1457 var o = new core.List<core.String>(); | 1493 var o = new core.List<core.String>(); |
1458 o.add("foo"); | 1494 o.add("foo"); |
1459 o.add("foo"); | 1495 o.add("foo"); |
1460 return o; | 1496 return o; |
1461 } | 1497 } |
1462 | 1498 |
1463 checkUnnamed471(core.List<core.String> o) { | 1499 checkUnnamed488(core.List<core.String> o) { |
1464 unittest.expect(o, unittest.hasLength(2)); | 1500 unittest.expect(o, unittest.hasLength(2)); |
1465 unittest.expect(o[0], unittest.equals('foo')); | 1501 unittest.expect(o[0], unittest.equals('foo')); |
1466 unittest.expect(o[1], unittest.equals('foo')); | 1502 unittest.expect(o[1], unittest.equals('foo')); |
1467 } | 1503 } |
1468 | 1504 |
1469 buildUnnamed472() { | 1505 buildUnnamed489() { |
1470 var o = new core.List<core.String>(); | 1506 var o = new core.List<core.String>(); |
1471 o.add("foo"); | 1507 o.add("foo"); |
1472 o.add("foo"); | 1508 o.add("foo"); |
1473 return o; | 1509 return o; |
1474 } | 1510 } |
1475 | 1511 |
1476 checkUnnamed472(core.List<core.String> o) { | 1512 checkUnnamed489(core.List<core.String> o) { |
1477 unittest.expect(o, unittest.hasLength(2)); | 1513 unittest.expect(o, unittest.hasLength(2)); |
1478 unittest.expect(o[0], unittest.equals('foo')); | 1514 unittest.expect(o[0], unittest.equals('foo')); |
1479 unittest.expect(o[1], unittest.equals('foo')); | 1515 unittest.expect(o[1], unittest.equals('foo')); |
1480 } | 1516 } |
1481 | 1517 |
1482 buildUnnamed473() { | 1518 buildUnnamed490() { |
1483 var o = new core.List<core.String>(); | 1519 var o = new core.List<core.String>(); |
1484 o.add("foo"); | 1520 o.add("foo"); |
1485 o.add("foo"); | 1521 o.add("foo"); |
1486 return o; | 1522 return o; |
1487 } | 1523 } |
1488 | 1524 |
1489 checkUnnamed473(core.List<core.String> o) { | 1525 checkUnnamed490(core.List<core.String> o) { |
1490 unittest.expect(o, unittest.hasLength(2)); | 1526 unittest.expect(o, unittest.hasLength(2)); |
1491 unittest.expect(o[0], unittest.equals('foo')); | 1527 unittest.expect(o[0], unittest.equals('foo')); |
1492 unittest.expect(o[1], unittest.equals('foo')); | 1528 unittest.expect(o[1], unittest.equals('foo')); |
1493 } | 1529 } |
1494 | 1530 |
1495 buildUnnamed474() { | 1531 buildUnnamed491() { |
1496 var o = new core.List<core.String>(); | 1532 var o = new core.List<core.String>(); |
1497 o.add("foo"); | 1533 o.add("foo"); |
1498 o.add("foo"); | 1534 o.add("foo"); |
1499 return o; | 1535 return o; |
1500 } | 1536 } |
1501 | 1537 |
1502 checkUnnamed474(core.List<core.String> o) { | 1538 checkUnnamed491(core.List<core.String> o) { |
1503 unittest.expect(o, unittest.hasLength(2)); | 1539 unittest.expect(o, unittest.hasLength(2)); |
1504 unittest.expect(o[0], unittest.equals('foo')); | 1540 unittest.expect(o[0], unittest.equals('foo')); |
1505 unittest.expect(o[1], unittest.equals('foo')); | 1541 unittest.expect(o[1], unittest.equals('foo')); |
1506 } | 1542 } |
1507 | 1543 |
1508 buildUnnamed475() { | 1544 buildUnnamed492() { |
1509 var o = new core.Map<core.String, core.String>(); | 1545 var o = new core.Map<core.String, core.String>(); |
1510 o["x"] = "foo"; | 1546 o["x"] = "foo"; |
1511 o["y"] = "foo"; | 1547 o["y"] = "foo"; |
1512 return o; | 1548 return o; |
1513 } | 1549 } |
1514 | 1550 |
1515 checkUnnamed475(core.Map<core.String, core.String> o) { | 1551 checkUnnamed492(core.Map<core.String, core.String> o) { |
1516 unittest.expect(o, unittest.hasLength(2)); | 1552 unittest.expect(o, unittest.hasLength(2)); |
1517 unittest.expect(o["x"], unittest.equals('foo')); | 1553 unittest.expect(o["x"], unittest.equals('foo')); |
1518 unittest.expect(o["y"], unittest.equals('foo')); | 1554 unittest.expect(o["y"], unittest.equals('foo')); |
1519 } | 1555 } |
1520 | 1556 |
1521 core.int buildCounterSparkJob = 0; | 1557 core.int buildCounterSparkJob = 0; |
1522 buildSparkJob() { | 1558 buildSparkJob() { |
1523 var o = new api.SparkJob(); | 1559 var o = new api.SparkJob(); |
1524 buildCounterSparkJob++; | 1560 buildCounterSparkJob++; |
1525 if (buildCounterSparkJob < 3) { | 1561 if (buildCounterSparkJob < 3) { |
1526 o.archiveUris = buildUnnamed471(); | 1562 o.archiveUris = buildUnnamed488(); |
1527 o.args = buildUnnamed472(); | 1563 o.args = buildUnnamed489(); |
1528 o.fileUris = buildUnnamed473(); | 1564 o.fileUris = buildUnnamed490(); |
1529 o.jarFileUris = buildUnnamed474(); | 1565 o.jarFileUris = buildUnnamed491(); |
1530 o.loggingConfig = buildLoggingConfig(); | 1566 o.loggingConfig = buildLoggingConfig(); |
1531 o.mainClass = "foo"; | 1567 o.mainClass = "foo"; |
1532 o.mainJarFileUri = "foo"; | 1568 o.mainJarFileUri = "foo"; |
1533 o.properties = buildUnnamed475(); | 1569 o.properties = buildUnnamed492(); |
1534 } | 1570 } |
1535 buildCounterSparkJob--; | 1571 buildCounterSparkJob--; |
1536 return o; | 1572 return o; |
1537 } | 1573 } |
1538 | 1574 |
1539 checkSparkJob(api.SparkJob o) { | 1575 checkSparkJob(api.SparkJob o) { |
1540 buildCounterSparkJob++; | 1576 buildCounterSparkJob++; |
1541 if (buildCounterSparkJob < 3) { | 1577 if (buildCounterSparkJob < 3) { |
1542 checkUnnamed471(o.archiveUris); | 1578 checkUnnamed488(o.archiveUris); |
1543 checkUnnamed472(o.args); | 1579 checkUnnamed489(o.args); |
1544 checkUnnamed473(o.fileUris); | 1580 checkUnnamed490(o.fileUris); |
1545 checkUnnamed474(o.jarFileUris); | 1581 checkUnnamed491(o.jarFileUris); |
1546 checkLoggingConfig(o.loggingConfig); | 1582 checkLoggingConfig(o.loggingConfig); |
1547 unittest.expect(o.mainClass, unittest.equals('foo')); | 1583 unittest.expect(o.mainClass, unittest.equals('foo')); |
1548 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); | 1584 unittest.expect(o.mainJarFileUri, unittest.equals('foo')); |
1549 checkUnnamed475(o.properties); | 1585 checkUnnamed492(o.properties); |
1550 } | 1586 } |
1551 buildCounterSparkJob--; | 1587 buildCounterSparkJob--; |
1552 } | 1588 } |
1553 | 1589 |
1554 buildUnnamed476() { | 1590 buildUnnamed493() { |
1555 var o = new core.List<core.String>(); | 1591 var o = new core.List<core.String>(); |
1556 o.add("foo"); | 1592 o.add("foo"); |
1557 o.add("foo"); | 1593 o.add("foo"); |
1558 return o; | 1594 return o; |
1559 } | 1595 } |
1560 | 1596 |
1561 checkUnnamed476(core.List<core.String> o) { | 1597 checkUnnamed493(core.List<core.String> o) { |
1562 unittest.expect(o, unittest.hasLength(2)); | 1598 unittest.expect(o, unittest.hasLength(2)); |
1563 unittest.expect(o[0], unittest.equals('foo')); | 1599 unittest.expect(o[0], unittest.equals('foo')); |
1564 unittest.expect(o[1], unittest.equals('foo')); | 1600 unittest.expect(o[1], unittest.equals('foo')); |
1565 } | 1601 } |
1566 | 1602 |
1567 buildUnnamed477() { | 1603 buildUnnamed494() { |
1568 var o = new core.Map<core.String, core.String>(); | 1604 var o = new core.Map<core.String, core.String>(); |
1569 o["x"] = "foo"; | 1605 o["x"] = "foo"; |
1570 o["y"] = "foo"; | 1606 o["y"] = "foo"; |
1571 return o; | 1607 return o; |
1572 } | 1608 } |
1573 | 1609 |
1574 checkUnnamed477(core.Map<core.String, core.String> o) { | 1610 checkUnnamed494(core.Map<core.String, core.String> o) { |
1575 unittest.expect(o, unittest.hasLength(2)); | 1611 unittest.expect(o, unittest.hasLength(2)); |
1576 unittest.expect(o["x"], unittest.equals('foo')); | 1612 unittest.expect(o["x"], unittest.equals('foo')); |
1577 unittest.expect(o["y"], unittest.equals('foo')); | 1613 unittest.expect(o["y"], unittest.equals('foo')); |
1578 } | 1614 } |
1579 | 1615 |
1580 buildUnnamed478() { | 1616 buildUnnamed495() { |
1581 var o = new core.Map<core.String, core.String>(); | 1617 var o = new core.Map<core.String, core.String>(); |
1582 o["x"] = "foo"; | 1618 o["x"] = "foo"; |
1583 o["y"] = "foo"; | 1619 o["y"] = "foo"; |
1584 return o; | 1620 return o; |
1585 } | 1621 } |
1586 | 1622 |
1587 checkUnnamed478(core.Map<core.String, core.String> o) { | 1623 checkUnnamed495(core.Map<core.String, core.String> o) { |
1588 unittest.expect(o, unittest.hasLength(2)); | 1624 unittest.expect(o, unittest.hasLength(2)); |
1589 unittest.expect(o["x"], unittest.equals('foo')); | 1625 unittest.expect(o["x"], unittest.equals('foo')); |
1590 unittest.expect(o["y"], unittest.equals('foo')); | 1626 unittest.expect(o["y"], unittest.equals('foo')); |
1591 } | 1627 } |
1592 | 1628 |
1593 core.int buildCounterSparkSqlJob = 0; | 1629 core.int buildCounterSparkSqlJob = 0; |
1594 buildSparkSqlJob() { | 1630 buildSparkSqlJob() { |
1595 var o = new api.SparkSqlJob(); | 1631 var o = new api.SparkSqlJob(); |
1596 buildCounterSparkSqlJob++; | 1632 buildCounterSparkSqlJob++; |
1597 if (buildCounterSparkSqlJob < 3) { | 1633 if (buildCounterSparkSqlJob < 3) { |
1598 o.jarFileUris = buildUnnamed476(); | 1634 o.jarFileUris = buildUnnamed493(); |
1599 o.loggingConfig = buildLoggingConfig(); | 1635 o.loggingConfig = buildLoggingConfig(); |
1600 o.properties = buildUnnamed477(); | 1636 o.properties = buildUnnamed494(); |
1601 o.queryFileUri = "foo"; | 1637 o.queryFileUri = "foo"; |
1602 o.queryList = buildQueryList(); | 1638 o.queryList = buildQueryList(); |
1603 o.scriptVariables = buildUnnamed478(); | 1639 o.scriptVariables = buildUnnamed495(); |
1604 } | 1640 } |
1605 buildCounterSparkSqlJob--; | 1641 buildCounterSparkSqlJob--; |
1606 return o; | 1642 return o; |
1607 } | 1643 } |
1608 | 1644 |
1609 checkSparkSqlJob(api.SparkSqlJob o) { | 1645 checkSparkSqlJob(api.SparkSqlJob o) { |
1610 buildCounterSparkSqlJob++; | 1646 buildCounterSparkSqlJob++; |
1611 if (buildCounterSparkSqlJob < 3) { | 1647 if (buildCounterSparkSqlJob < 3) { |
1612 checkUnnamed476(o.jarFileUris); | 1648 checkUnnamed493(o.jarFileUris); |
1613 checkLoggingConfig(o.loggingConfig); | 1649 checkLoggingConfig(o.loggingConfig); |
1614 checkUnnamed477(o.properties); | 1650 checkUnnamed494(o.properties); |
1615 unittest.expect(o.queryFileUri, unittest.equals('foo')); | 1651 unittest.expect(o.queryFileUri, unittest.equals('foo')); |
1616 checkQueryList(o.queryList); | 1652 checkQueryList(o.queryList); |
1617 checkUnnamed478(o.scriptVariables); | 1653 checkUnnamed495(o.scriptVariables); |
1618 } | 1654 } |
1619 buildCounterSparkSqlJob--; | 1655 buildCounterSparkSqlJob--; |
1620 } | 1656 } |
1621 | 1657 |
1622 buildUnnamed479() { | 1658 buildUnnamed496() { |
1623 var o = new core.Map<core.String, core.Object>(); | 1659 var o = new core.Map<core.String, core.Object>(); |
1624 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1660 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1625 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1661 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1626 return o; | 1662 return o; |
1627 } | 1663 } |
1628 | 1664 |
1629 checkUnnamed479(core.Map<core.String, core.Object> o) { | 1665 checkUnnamed496(core.Map<core.String, core.Object> o) { |
1630 unittest.expect(o, unittest.hasLength(2)); | 1666 unittest.expect(o, unittest.hasLength(2)); |
1631 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')); | 1667 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')); |
1632 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')); | 1668 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')); |
1633 } | 1669 } |
1634 | 1670 |
1635 buildUnnamed480() { | 1671 buildUnnamed497() { |
1636 var o = new core.List<core.Map<core.String, core.Object>>(); | 1672 var o = new core.List<core.Map<core.String, core.Object>>(); |
1637 o.add(buildUnnamed479()); | 1673 o.add(buildUnnamed496()); |
1638 o.add(buildUnnamed479()); | 1674 o.add(buildUnnamed496()); |
1639 return o; | 1675 return o; |
1640 } | 1676 } |
1641 | 1677 |
1642 checkUnnamed480(core.List<core.Map<core.String, core.Object>> o) { | 1678 checkUnnamed497(core.List<core.Map<core.String, core.Object>> o) { |
1643 unittest.expect(o, unittest.hasLength(2)); | 1679 unittest.expect(o, unittest.hasLength(2)); |
1644 checkUnnamed479(o[0]); | 1680 checkUnnamed496(o[0]); |
1645 checkUnnamed479(o[1]); | 1681 checkUnnamed496(o[1]); |
1646 } | 1682 } |
1647 | 1683 |
1648 core.int buildCounterStatus = 0; | 1684 core.int buildCounterStatus = 0; |
1649 buildStatus() { | 1685 buildStatus() { |
1650 var o = new api.Status(); | 1686 var o = new api.Status(); |
1651 buildCounterStatus++; | 1687 buildCounterStatus++; |
1652 if (buildCounterStatus < 3) { | 1688 if (buildCounterStatus < 3) { |
1653 o.code = 42; | 1689 o.code = 42; |
1654 o.details = buildUnnamed480(); | 1690 o.details = buildUnnamed497(); |
1655 o.message = "foo"; | 1691 o.message = "foo"; |
1656 } | 1692 } |
1657 buildCounterStatus--; | 1693 buildCounterStatus--; |
1658 return o; | 1694 return o; |
1659 } | 1695 } |
1660 | 1696 |
1661 checkStatus(api.Status o) { | 1697 checkStatus(api.Status o) { |
1662 buildCounterStatus++; | 1698 buildCounterStatus++; |
1663 if (buildCounterStatus < 3) { | 1699 if (buildCounterStatus < 3) { |
1664 unittest.expect(o.code, unittest.equals(42)); | 1700 unittest.expect(o.code, unittest.equals(42)); |
1665 checkUnnamed480(o.details); | 1701 checkUnnamed497(o.details); |
1666 unittest.expect(o.message, unittest.equals('foo')); | 1702 unittest.expect(o.message, unittest.equals('foo')); |
1667 } | 1703 } |
1668 buildCounterStatus--; | 1704 buildCounterStatus--; |
1669 } | 1705 } |
1670 | 1706 |
1671 core.int buildCounterSubmitJobRequest = 0; | 1707 core.int buildCounterSubmitJobRequest = 0; |
1672 buildSubmitJobRequest() { | 1708 buildSubmitJobRequest() { |
1673 var o = new api.SubmitJobRequest(); | 1709 var o = new api.SubmitJobRequest(); |
1674 buildCounterSubmitJobRequest++; | 1710 buildCounterSubmitJobRequest++; |
1675 if (buildCounterSubmitJobRequest < 3) { | 1711 if (buildCounterSubmitJobRequest < 3) { |
(...skipping 31 matching lines...) Loading... |
1707 unittest.expect(o.name, unittest.equals('foo')); | 1743 unittest.expect(o.name, unittest.equals('foo')); |
1708 unittest.expect(o.progress, unittest.equals(42.0)); | 1744 unittest.expect(o.progress, unittest.equals(42.0)); |
1709 unittest.expect(o.state, unittest.equals('foo')); | 1745 unittest.expect(o.state, unittest.equals('foo')); |
1710 unittest.expect(o.trackingUrl, unittest.equals('foo')); | 1746 unittest.expect(o.trackingUrl, unittest.equals('foo')); |
1711 } | 1747 } |
1712 buildCounterYarnApplication--; | 1748 buildCounterYarnApplication--; |
1713 } | 1749 } |
1714 | 1750 |
1715 | 1751 |
1716 main() { | 1752 main() { |
| 1753 unittest.group("obj-schema-AcceleratorConfig", () { |
| 1754 unittest.test("to-json--from-json", () { |
| 1755 var o = buildAcceleratorConfig(); |
| 1756 var od = new api.AcceleratorConfig.fromJson(o.toJson()); |
| 1757 checkAcceleratorConfig(od); |
| 1758 }); |
| 1759 }); |
| 1760 |
| 1761 |
1717 unittest.group("obj-schema-CancelJobRequest", () { | 1762 unittest.group("obj-schema-CancelJobRequest", () { |
1718 unittest.test("to-json--from-json", () { | 1763 unittest.test("to-json--from-json", () { |
1719 var o = buildCancelJobRequest(); | 1764 var o = buildCancelJobRequest(); |
1720 var od = new api.CancelJobRequest.fromJson(o.toJson()); | 1765 var od = new api.CancelJobRequest.fromJson(o.toJson()); |
1721 checkCancelJobRequest(od); | 1766 checkCancelJobRequest(od); |
1722 }); | 1767 }); |
1723 }); | 1768 }); |
1724 | 1769 |
1725 | 1770 |
1726 unittest.group("obj-schema-Cluster", () { | 1771 unittest.group("obj-schema-Cluster", () { |
(...skipping 598 matching lines...) Loading... |
2325 checkCluster(response); | 2370 checkCluster(response); |
2326 }))); | 2371 }))); |
2327 }); | 2372 }); |
2328 | 2373 |
2329 unittest.test("method--list", () { | 2374 unittest.test("method--list", () { |
2330 | 2375 |
2331 var mock = new HttpServerMock(); | 2376 var mock = new HttpServerMock(); |
2332 api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).pro
jects.regions.clusters; | 2377 api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).pro
jects.regions.clusters; |
2333 var arg_projectId = "foo"; | 2378 var arg_projectId = "foo"; |
2334 var arg_region = "foo"; | 2379 var arg_region = "foo"; |
| 2380 var arg_filter = "foo"; |
2335 var arg_pageToken = "foo"; | 2381 var arg_pageToken = "foo"; |
2336 var arg_pageSize = 42; | 2382 var arg_pageSize = 42; |
2337 var arg_filter = "foo"; | |
2338 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 2383 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
2339 var path = (req.url).path; | 2384 var path = (req.url).path; |
2340 var pathOffset = 0; | 2385 var pathOffset = 0; |
2341 var index; | 2386 var index; |
2342 var subPart; | 2387 var subPart; |
2343 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 2388 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
2344 pathOffset += 1; | 2389 pathOffset += 1; |
2345 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/projects/")); | 2390 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq
uals("v1/projects/")); |
2346 pathOffset += 12; | 2391 pathOffset += 12; |
2347 index = path.indexOf("/regions/", pathOffset); | 2392 index = path.indexOf("/regions/", pathOffset); |
(...skipping 20 matching lines...) Loading... |
2368 if (n == "false") return false; | 2413 if (n == "false") return false; |
2369 if (n == null) return null; | 2414 if (n == null) return null; |
2370 throw new core.ArgumentError("Invalid boolean: $n"); | 2415 throw new core.ArgumentError("Invalid boolean: $n"); |
2371 } | 2416 } |
2372 if (query.length > 0) { | 2417 if (query.length > 0) { |
2373 for (var part in query.split("&")) { | 2418 for (var part in query.split("&")) { |
2374 var keyvalue = part.split("="); | 2419 var keyvalue = part.split("="); |
2375 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 2420 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
2376 } | 2421 } |
2377 } | 2422 } |
| 2423 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
2378 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 2424 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
2379 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | 2425 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
2380 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | |
2381 | 2426 |
2382 | 2427 |
2383 var h = { | 2428 var h = { |
2384 "content-type" : "application/json; charset=utf-8", | 2429 "content-type" : "application/json; charset=utf-8", |
2385 }; | 2430 }; |
2386 var resp = convert.JSON.encode(buildListClustersResponse()); | 2431 var resp = convert.JSON.encode(buildListClustersResponse()); |
2387 return new async.Future.value(stringResponse(200, h, resp)); | 2432 return new async.Future.value(stringResponse(200, h, resp)); |
2388 }), true); | 2433 }), true); |
2389 res.list(arg_projectId, arg_region, pageToken: arg_pageToken, pageSize: ar
g_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListClustersResp
onse response) { | 2434 res.list(arg_projectId, arg_region, filter: arg_filter, pageToken: arg_pag
eToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListClustersResp
onse response) { |
2390 checkListClustersResponse(response); | 2435 checkListClustersResponse(response); |
2391 }))); | 2436 }))); |
2392 }); | 2437 }); |
2393 | 2438 |
2394 unittest.test("method--patch", () { | 2439 unittest.test("method--patch", () { |
2395 | 2440 |
2396 var mock = new HttpServerMock(); | 2441 var mock = new HttpServerMock(); |
2397 api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).pro
jects.regions.clusters; | 2442 api.ProjectsRegionsClustersResourceApi res = new api.DataprocApi(mock).pro
jects.regions.clusters; |
2398 var arg_request = buildCluster(); | 2443 var arg_request = buildCluster(); |
2399 var arg_projectId = "foo"; | 2444 var arg_projectId = "foo"; |
(...skipping 650 matching lines...) Loading... |
3050 res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ | 3095 res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ |
3051 checkListOperationsResponse(response); | 3096 checkListOperationsResponse(response); |
3052 }))); | 3097 }))); |
3053 }); | 3098 }); |
3054 | 3099 |
3055 }); | 3100 }); |
3056 | 3101 |
3057 | 3102 |
3058 } | 3103 } |
3059 | 3104 |
OLD | NEW |