Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: generated/googleapis_beta/test/dataflow/v1b3_test.dart

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis_beta.dataflow.v1b3.test; 1 library googleapis_beta.dataflow.v1b3.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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 checkAutoscalingSettings(api.AutoscalingSettings o) { 135 checkAutoscalingSettings(api.AutoscalingSettings o) {
136 buildCounterAutoscalingSettings++; 136 buildCounterAutoscalingSettings++;
137 if (buildCounterAutoscalingSettings < 3) { 137 if (buildCounterAutoscalingSettings < 3) {
138 unittest.expect(o.algorithm, unittest.equals('foo')); 138 unittest.expect(o.algorithm, unittest.equals('foo'));
139 unittest.expect(o.maxNumWorkers, unittest.equals(42)); 139 unittest.expect(o.maxNumWorkers, unittest.equals(42));
140 } 140 }
141 buildCounterAutoscalingSettings--; 141 buildCounterAutoscalingSettings--;
142 } 142 }
143 143
144 buildUnnamed2788() { 144 buildUnnamed3113() {
145 var o = new core.List<api.StreamLocation>(); 145 var o = new core.List<api.StreamLocation>();
146 o.add(buildStreamLocation()); 146 o.add(buildStreamLocation());
147 o.add(buildStreamLocation()); 147 o.add(buildStreamLocation());
148 return o; 148 return o;
149 } 149 }
150 150
151 checkUnnamed2788(core.List<api.StreamLocation> o) { 151 checkUnnamed3113(core.List<api.StreamLocation> o) {
152 unittest.expect(o, unittest.hasLength(2)); 152 unittest.expect(o, unittest.hasLength(2));
153 checkStreamLocation(o[0]); 153 checkStreamLocation(o[0]);
154 checkStreamLocation(o[1]); 154 checkStreamLocation(o[1]);
155 } 155 }
156 156
157 buildUnnamed2789() { 157 buildUnnamed3114() {
158 var o = new core.List<api.KeyRangeLocation>(); 158 var o = new core.List<api.KeyRangeLocation>();
159 o.add(buildKeyRangeLocation()); 159 o.add(buildKeyRangeLocation());
160 o.add(buildKeyRangeLocation()); 160 o.add(buildKeyRangeLocation());
161 return o; 161 return o;
162 } 162 }
163 163
164 checkUnnamed2789(core.List<api.KeyRangeLocation> o) { 164 checkUnnamed3114(core.List<api.KeyRangeLocation> o) {
165 unittest.expect(o, unittest.hasLength(2)); 165 unittest.expect(o, unittest.hasLength(2));
166 checkKeyRangeLocation(o[0]); 166 checkKeyRangeLocation(o[0]);
167 checkKeyRangeLocation(o[1]); 167 checkKeyRangeLocation(o[1]);
168 } 168 }
169 169
170 buildUnnamed2790() { 170 buildUnnamed3115() {
171 var o = new core.List<api.StreamLocation>(); 171 var o = new core.List<api.StreamLocation>();
172 o.add(buildStreamLocation()); 172 o.add(buildStreamLocation());
173 o.add(buildStreamLocation()); 173 o.add(buildStreamLocation());
174 return o; 174 return o;
175 } 175 }
176 176
177 checkUnnamed2790(core.List<api.StreamLocation> o) { 177 checkUnnamed3115(core.List<api.StreamLocation> o) {
178 unittest.expect(o, unittest.hasLength(2)); 178 unittest.expect(o, unittest.hasLength(2));
179 checkStreamLocation(o[0]); 179 checkStreamLocation(o[0]);
180 checkStreamLocation(o[1]); 180 checkStreamLocation(o[1]);
181 } 181 }
182 182
183 buildUnnamed2791() { 183 buildUnnamed3116() {
184 var o = new core.List<api.StateFamilyConfig>(); 184 var o = new core.List<api.StateFamilyConfig>();
185 o.add(buildStateFamilyConfig()); 185 o.add(buildStateFamilyConfig());
186 o.add(buildStateFamilyConfig()); 186 o.add(buildStateFamilyConfig());
187 return o; 187 return o;
188 } 188 }
189 189
190 checkUnnamed2791(core.List<api.StateFamilyConfig> o) { 190 checkUnnamed3116(core.List<api.StateFamilyConfig> o) {
191 unittest.expect(o, unittest.hasLength(2)); 191 unittest.expect(o, unittest.hasLength(2));
192 checkStateFamilyConfig(o[0]); 192 checkStateFamilyConfig(o[0]);
193 checkStateFamilyConfig(o[1]); 193 checkStateFamilyConfig(o[1]);
194 } 194 }
195 195
196 core.int buildCounterComputationTopology = 0; 196 core.int buildCounterComputationTopology = 0;
197 buildComputationTopology() { 197 buildComputationTopology() {
198 var o = new api.ComputationTopology(); 198 var o = new api.ComputationTopology();
199 buildCounterComputationTopology++; 199 buildCounterComputationTopology++;
200 if (buildCounterComputationTopology < 3) { 200 if (buildCounterComputationTopology < 3) {
201 o.computationId = "foo"; 201 o.computationId = "foo";
202 o.inputs = buildUnnamed2788(); 202 o.inputs = buildUnnamed3113();
203 o.keyRanges = buildUnnamed2789(); 203 o.keyRanges = buildUnnamed3114();
204 o.outputs = buildUnnamed2790(); 204 o.outputs = buildUnnamed3115();
205 o.stateFamilies = buildUnnamed2791(); 205 o.stateFamilies = buildUnnamed3116();
206 o.systemStageName = "foo"; 206 o.systemStageName = "foo";
207 o.userStageName = "foo"; 207 o.userStageName = "foo";
208 } 208 }
209 buildCounterComputationTopology--; 209 buildCounterComputationTopology--;
210 return o; 210 return o;
211 } 211 }
212 212
213 checkComputationTopology(api.ComputationTopology o) { 213 checkComputationTopology(api.ComputationTopology o) {
214 buildCounterComputationTopology++; 214 buildCounterComputationTopology++;
215 if (buildCounterComputationTopology < 3) { 215 if (buildCounterComputationTopology < 3) {
216 unittest.expect(o.computationId, unittest.equals('foo')); 216 unittest.expect(o.computationId, unittest.equals('foo'));
217 checkUnnamed2788(o.inputs); 217 checkUnnamed3113(o.inputs);
218 checkUnnamed2789(o.keyRanges); 218 checkUnnamed3114(o.keyRanges);
219 checkUnnamed2790(o.outputs); 219 checkUnnamed3115(o.outputs);
220 checkUnnamed2791(o.stateFamilies); 220 checkUnnamed3116(o.stateFamilies);
221 unittest.expect(o.systemStageName, unittest.equals('foo')); 221 unittest.expect(o.systemStageName, unittest.equals('foo'));
222 unittest.expect(o.userStageName, unittest.equals('foo')); 222 unittest.expect(o.userStageName, unittest.equals('foo'));
223 } 223 }
224 buildCounterComputationTopology--; 224 buildCounterComputationTopology--;
225 } 225 }
226 226
227 core.int buildCounterConcatPosition = 0; 227 core.int buildCounterConcatPosition = 0;
228 buildConcatPosition() { 228 buildConcatPosition() {
229 var o = new api.ConcatPosition(); 229 var o = new api.ConcatPosition();
230 buildCounterConcatPosition++; 230 buildCounterConcatPosition++;
(...skipping 26 matching lines...) Expand all
257 } 257 }
258 258
259 checkCustomSourceLocation(api.CustomSourceLocation o) { 259 checkCustomSourceLocation(api.CustomSourceLocation o) {
260 buildCounterCustomSourceLocation++; 260 buildCounterCustomSourceLocation++;
261 if (buildCounterCustomSourceLocation < 3) { 261 if (buildCounterCustomSourceLocation < 3) {
262 unittest.expect(o.stateful, unittest.isTrue); 262 unittest.expect(o.stateful, unittest.isTrue);
263 } 263 }
264 buildCounterCustomSourceLocation--; 264 buildCounterCustomSourceLocation--;
265 } 265 }
266 266
267 buildUnnamed2792() { 267 buildUnnamed3117() {
268 var o = new core.List<core.String>(); 268 var o = new core.List<core.String>();
269 o.add("foo"); 269 o.add("foo");
270 o.add("foo"); 270 o.add("foo");
271 return o; 271 return o;
272 } 272 }
273 273
274 checkUnnamed2792(core.List<core.String> o) { 274 checkUnnamed3117(core.List<core.String> o) {
275 unittest.expect(o, unittest.hasLength(2)); 275 unittest.expect(o, unittest.hasLength(2));
276 unittest.expect(o[0], unittest.equals('foo')); 276 unittest.expect(o[0], unittest.equals('foo'));
277 unittest.expect(o[1], unittest.equals('foo')); 277 unittest.expect(o[1], unittest.equals('foo'));
278 } 278 }
279 279
280 core.int buildCounterDataDiskAssignment = 0; 280 core.int buildCounterDataDiskAssignment = 0;
281 buildDataDiskAssignment() { 281 buildDataDiskAssignment() {
282 var o = new api.DataDiskAssignment(); 282 var o = new api.DataDiskAssignment();
283 buildCounterDataDiskAssignment++; 283 buildCounterDataDiskAssignment++;
284 if (buildCounterDataDiskAssignment < 3) { 284 if (buildCounterDataDiskAssignment < 3) {
285 o.dataDisks = buildUnnamed2792(); 285 o.dataDisks = buildUnnamed3117();
286 o.vmInstance = "foo"; 286 o.vmInstance = "foo";
287 } 287 }
288 buildCounterDataDiskAssignment--; 288 buildCounterDataDiskAssignment--;
289 return o; 289 return o;
290 } 290 }
291 291
292 checkDataDiskAssignment(api.DataDiskAssignment o) { 292 checkDataDiskAssignment(api.DataDiskAssignment o) {
293 buildCounterDataDiskAssignment++; 293 buildCounterDataDiskAssignment++;
294 if (buildCounterDataDiskAssignment < 3) { 294 if (buildCounterDataDiskAssignment < 3) {
295 checkUnnamed2792(o.dataDisks); 295 checkUnnamed3117(o.dataDisks);
296 unittest.expect(o.vmInstance, unittest.equals('foo')); 296 unittest.expect(o.vmInstance, unittest.equals('foo'));
297 } 297 }
298 buildCounterDataDiskAssignment--; 298 buildCounterDataDiskAssignment--;
299 } 299 }
300 300
301 core.int buildCounterDerivedSource = 0; 301 core.int buildCounterDerivedSource = 0;
302 buildDerivedSource() { 302 buildDerivedSource() {
303 var o = new api.DerivedSource(); 303 var o = new api.DerivedSource();
304 buildCounterDerivedSource++; 304 buildCounterDerivedSource++;
305 if (buildCounterDerivedSource < 3) { 305 if (buildCounterDerivedSource < 3) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 356
357 checkDynamicSourceSplit(api.DynamicSourceSplit o) { 357 checkDynamicSourceSplit(api.DynamicSourceSplit o) {
358 buildCounterDynamicSourceSplit++; 358 buildCounterDynamicSourceSplit++;
359 if (buildCounterDynamicSourceSplit < 3) { 359 if (buildCounterDynamicSourceSplit < 3) {
360 checkDerivedSource(o.primary); 360 checkDerivedSource(o.primary);
361 checkDerivedSource(o.residual); 361 checkDerivedSource(o.residual);
362 } 362 }
363 buildCounterDynamicSourceSplit--; 363 buildCounterDynamicSourceSplit--;
364 } 364 }
365 365
366 buildUnnamed2793() { 366 buildUnnamed3118() {
367 var o = new core.List<core.String>(); 367 var o = new core.List<core.String>();
368 o.add("foo"); 368 o.add("foo");
369 o.add("foo"); 369 o.add("foo");
370 return o; 370 return o;
371 } 371 }
372 372
373 checkUnnamed2793(core.List<core.String> o) { 373 checkUnnamed3118(core.List<core.String> o) {
374 unittest.expect(o, unittest.hasLength(2)); 374 unittest.expect(o, unittest.hasLength(2));
375 unittest.expect(o[0], unittest.equals('foo')); 375 unittest.expect(o[0], unittest.equals('foo'));
376 unittest.expect(o[1], unittest.equals('foo')); 376 unittest.expect(o[1], unittest.equals('foo'));
377 } 377 }
378 378
379 buildUnnamed2794() { 379 buildUnnamed3119() {
380 var o = new core.Map<core.String, core.Object>(); 380 var o = new core.Map<core.String, core.Object>();
381 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 381 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
382 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 382 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
383 return o; 383 return o;
384 } 384 }
385 385
386 checkUnnamed2794(core.Map<core.String, core.Object> o) { 386 checkUnnamed3119(core.Map<core.String, core.Object> o) {
387 unittest.expect(o, unittest.hasLength(2)); 387 unittest.expect(o, unittest.hasLength(2));
388 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')); 388 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'));
389 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')); 389 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'));
390 } 390 }
391 391
392 buildUnnamed2795() { 392 buildUnnamed3120() {
393 var o = new core.Map<core.String, core.Object>(); 393 var o = new core.Map<core.String, core.Object>();
394 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 394 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
395 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 395 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
396 return o; 396 return o;
397 } 397 }
398 398
399 checkUnnamed2795(core.Map<core.String, core.Object> o) { 399 checkUnnamed3120(core.Map<core.String, core.Object> o) {
400 unittest.expect(o, unittest.hasLength(2)); 400 unittest.expect(o, unittest.hasLength(2));
401 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')); 401 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'));
402 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')); 402 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'));
403 } 403 }
404 404
405 buildUnnamed2796() { 405 buildUnnamed3121() {
406 var o = new core.Map<core.String, core.Object>(); 406 var o = new core.Map<core.String, core.Object>();
407 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 407 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
408 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 408 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
409 return o; 409 return o;
410 } 410 }
411 411
412 checkUnnamed2796(core.Map<core.String, core.Object> o) { 412 checkUnnamed3121(core.Map<core.String, core.Object> o) {
413 unittest.expect(o, unittest.hasLength(2)); 413 unittest.expect(o, unittest.hasLength(2));
414 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')); 414 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'));
415 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')); 415 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'));
416 } 416 }
417 417
418 buildUnnamed2797() { 418 buildUnnamed3122() {
419 var o = new core.Map<core.String, core.Object>(); 419 var o = new core.Map<core.String, core.Object>();
420 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 420 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
421 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 421 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
422 return o; 422 return o;
423 } 423 }
424 424
425 checkUnnamed2797(core.Map<core.String, core.Object> o) { 425 checkUnnamed3122(core.Map<core.String, core.Object> o) {
426 unittest.expect(o, unittest.hasLength(2)); 426 unittest.expect(o, unittest.hasLength(2));
427 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); 427 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
428 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); 428 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
429 } 429 }
430 430
431 buildUnnamed2798() { 431 buildUnnamed3123() {
432 var o = new core.List<api.WorkerPool>(); 432 var o = new core.List<api.WorkerPool>();
433 o.add(buildWorkerPool()); 433 o.add(buildWorkerPool());
434 o.add(buildWorkerPool()); 434 o.add(buildWorkerPool());
435 return o; 435 return o;
436 } 436 }
437 437
438 checkUnnamed2798(core.List<api.WorkerPool> o) { 438 checkUnnamed3123(core.List<api.WorkerPool> o) {
439 unittest.expect(o, unittest.hasLength(2)); 439 unittest.expect(o, unittest.hasLength(2));
440 checkWorkerPool(o[0]); 440 checkWorkerPool(o[0]);
441 checkWorkerPool(o[1]); 441 checkWorkerPool(o[1]);
442 } 442 }
443 443
444 core.int buildCounterEnvironment = 0; 444 core.int buildCounterEnvironment = 0;
445 buildEnvironment() { 445 buildEnvironment() {
446 var o = new api.Environment(); 446 var o = new api.Environment();
447 buildCounterEnvironment++; 447 buildCounterEnvironment++;
448 if (buildCounterEnvironment < 3) { 448 if (buildCounterEnvironment < 3) {
449 o.clusterManagerApiService = "foo"; 449 o.clusterManagerApiService = "foo";
450 o.dataset = "foo"; 450 o.dataset = "foo";
451 o.experiments = buildUnnamed2793(); 451 o.experiments = buildUnnamed3118();
452 o.internalExperiments = buildUnnamed2794(); 452 o.internalExperiments = buildUnnamed3119();
453 o.sdkPipelineOptions = buildUnnamed2795(); 453 o.sdkPipelineOptions = buildUnnamed3120();
454 o.tempStoragePrefix = "foo"; 454 o.tempStoragePrefix = "foo";
455 o.userAgent = buildUnnamed2796(); 455 o.userAgent = buildUnnamed3121();
456 o.version = buildUnnamed2797(); 456 o.version = buildUnnamed3122();
457 o.workerPools = buildUnnamed2798(); 457 o.workerPools = buildUnnamed3123();
458 } 458 }
459 buildCounterEnvironment--; 459 buildCounterEnvironment--;
460 return o; 460 return o;
461 } 461 }
462 462
463 checkEnvironment(api.Environment o) { 463 checkEnvironment(api.Environment o) {
464 buildCounterEnvironment++; 464 buildCounterEnvironment++;
465 if (buildCounterEnvironment < 3) { 465 if (buildCounterEnvironment < 3) {
466 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); 466 unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
467 unittest.expect(o.dataset, unittest.equals('foo')); 467 unittest.expect(o.dataset, unittest.equals('foo'));
468 checkUnnamed2793(o.experiments); 468 checkUnnamed3118(o.experiments);
469 checkUnnamed2794(o.internalExperiments); 469 checkUnnamed3119(o.internalExperiments);
470 checkUnnamed2795(o.sdkPipelineOptions); 470 checkUnnamed3120(o.sdkPipelineOptions);
471 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 471 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
472 checkUnnamed2796(o.userAgent); 472 checkUnnamed3121(o.userAgent);
473 checkUnnamed2797(o.version); 473 checkUnnamed3122(o.version);
474 checkUnnamed2798(o.workerPools); 474 checkUnnamed3123(o.workerPools);
475 } 475 }
476 buildCounterEnvironment--; 476 buildCounterEnvironment--;
477 } 477 }
478 478
479 buildUnnamed2799() { 479 buildUnnamed3124() {
480 var o = new core.List<api.InstructionInput>(); 480 var o = new core.List<api.InstructionInput>();
481 o.add(buildInstructionInput()); 481 o.add(buildInstructionInput());
482 o.add(buildInstructionInput()); 482 o.add(buildInstructionInput());
483 return o; 483 return o;
484 } 484 }
485 485
486 checkUnnamed2799(core.List<api.InstructionInput> o) { 486 checkUnnamed3124(core.List<api.InstructionInput> o) {
487 unittest.expect(o, unittest.hasLength(2)); 487 unittest.expect(o, unittest.hasLength(2));
488 checkInstructionInput(o[0]); 488 checkInstructionInput(o[0]);
489 checkInstructionInput(o[1]); 489 checkInstructionInput(o[1]);
490 } 490 }
491 491
492 core.int buildCounterFlattenInstruction = 0; 492 core.int buildCounterFlattenInstruction = 0;
493 buildFlattenInstruction() { 493 buildFlattenInstruction() {
494 var o = new api.FlattenInstruction(); 494 var o = new api.FlattenInstruction();
495 buildCounterFlattenInstruction++; 495 buildCounterFlattenInstruction++;
496 if (buildCounterFlattenInstruction < 3) { 496 if (buildCounterFlattenInstruction < 3) {
497 o.inputs = buildUnnamed2799(); 497 o.inputs = buildUnnamed3124();
498 } 498 }
499 buildCounterFlattenInstruction--; 499 buildCounterFlattenInstruction--;
500 return o; 500 return o;
501 } 501 }
502 502
503 checkFlattenInstruction(api.FlattenInstruction o) { 503 checkFlattenInstruction(api.FlattenInstruction o) {
504 buildCounterFlattenInstruction++; 504 buildCounterFlattenInstruction++;
505 if (buildCounterFlattenInstruction < 3) { 505 if (buildCounterFlattenInstruction < 3) {
506 checkUnnamed2799(o.inputs); 506 checkUnnamed3124(o.inputs);
507 } 507 }
508 buildCounterFlattenInstruction--; 508 buildCounterFlattenInstruction--;
509 } 509 }
510 510
511 core.int buildCounterInstructionInput = 0; 511 core.int buildCounterInstructionInput = 0;
512 buildInstructionInput() { 512 buildInstructionInput() {
513 var o = new api.InstructionInput(); 513 var o = new api.InstructionInput();
514 buildCounterInstructionInput++; 514 buildCounterInstructionInput++;
515 if (buildCounterInstructionInput < 3) { 515 if (buildCounterInstructionInput < 3) {
516 o.outputNum = 42; 516 o.outputNum = 42;
517 o.producerInstructionIndex = 42; 517 o.producerInstructionIndex = 42;
518 } 518 }
519 buildCounterInstructionInput--; 519 buildCounterInstructionInput--;
520 return o; 520 return o;
521 } 521 }
522 522
523 checkInstructionInput(api.InstructionInput o) { 523 checkInstructionInput(api.InstructionInput o) {
524 buildCounterInstructionInput++; 524 buildCounterInstructionInput++;
525 if (buildCounterInstructionInput < 3) { 525 if (buildCounterInstructionInput < 3) {
526 unittest.expect(o.outputNum, unittest.equals(42)); 526 unittest.expect(o.outputNum, unittest.equals(42));
527 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); 527 unittest.expect(o.producerInstructionIndex, unittest.equals(42));
528 } 528 }
529 buildCounterInstructionInput--; 529 buildCounterInstructionInput--;
530 } 530 }
531 531
532 buildUnnamed2800() { 532 buildUnnamed3125() {
533 var o = new core.Map<core.String, core.Object>(); 533 var o = new core.Map<core.String, core.Object>();
534 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 534 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
535 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 535 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
536 return o; 536 return o;
537 } 537 }
538 538
539 checkUnnamed2800(core.Map<core.String, core.Object> o) { 539 checkUnnamed3125(core.Map<core.String, core.Object> o) {
540 unittest.expect(o, unittest.hasLength(2)); 540 unittest.expect(o, unittest.hasLength(2));
541 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo')); 541 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
542 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo')); 542 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest .expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri ng"], unittest.equals('foo'));
543 } 543 }
544 544
545 core.int buildCounterInstructionOutput = 0; 545 core.int buildCounterInstructionOutput = 0;
546 buildInstructionOutput() { 546 buildInstructionOutput() {
547 var o = new api.InstructionOutput(); 547 var o = new api.InstructionOutput();
548 buildCounterInstructionOutput++; 548 buildCounterInstructionOutput++;
549 if (buildCounterInstructionOutput < 3) { 549 if (buildCounterInstructionOutput < 3) {
550 o.codec = buildUnnamed2800(); 550 o.codec = buildUnnamed3125();
551 o.name = "foo"; 551 o.name = "foo";
552 o.systemName = "foo"; 552 o.systemName = "foo";
553 } 553 }
554 buildCounterInstructionOutput--; 554 buildCounterInstructionOutput--;
555 return o; 555 return o;
556 } 556 }
557 557
558 checkInstructionOutput(api.InstructionOutput o) { 558 checkInstructionOutput(api.InstructionOutput o) {
559 buildCounterInstructionOutput++; 559 buildCounterInstructionOutput++;
560 if (buildCounterInstructionOutput < 3) { 560 if (buildCounterInstructionOutput < 3) {
561 checkUnnamed2800(o.codec); 561 checkUnnamed3125(o.codec);
562 unittest.expect(o.name, unittest.equals('foo')); 562 unittest.expect(o.name, unittest.equals('foo'));
563 unittest.expect(o.systemName, unittest.equals('foo')); 563 unittest.expect(o.systemName, unittest.equals('foo'));
564 } 564 }
565 buildCounterInstructionOutput--; 565 buildCounterInstructionOutput--;
566 } 566 }
567 567
568 buildUnnamed2801() { 568 buildUnnamed3126() {
569 var o = new core.List<api.Step>(); 569 var o = new core.List<api.Step>();
570 o.add(buildStep()); 570 o.add(buildStep());
571 o.add(buildStep()); 571 o.add(buildStep());
572 return o; 572 return o;
573 } 573 }
574 574
575 checkUnnamed2801(core.List<api.Step> o) { 575 checkUnnamed3126(core.List<api.Step> o) {
576 unittest.expect(o, unittest.hasLength(2)); 576 unittest.expect(o, unittest.hasLength(2));
577 checkStep(o[0]); 577 checkStep(o[0]);
578 checkStep(o[1]); 578 checkStep(o[1]);
579 } 579 }
580 580
581 buildUnnamed2802() { 581 buildUnnamed3127() {
582 var o = new core.List<core.String>(); 582 var o = new core.List<core.String>();
583 o.add("foo"); 583 o.add("foo");
584 o.add("foo"); 584 o.add("foo");
585 return o; 585 return o;
586 } 586 }
587 587
588 checkUnnamed2802(core.List<core.String> o) { 588 checkUnnamed3127(core.List<core.String> o) {
589 unittest.expect(o, unittest.hasLength(2)); 589 unittest.expect(o, unittest.hasLength(2));
590 unittest.expect(o[0], unittest.equals('foo')); 590 unittest.expect(o[0], unittest.equals('foo'));
591 unittest.expect(o[1], unittest.equals('foo')); 591 unittest.expect(o[1], unittest.equals('foo'));
592 } 592 }
593 593
594 buildUnnamed2803() { 594 buildUnnamed3128() {
595 var o = new core.Map<core.String, core.String>(); 595 var o = new core.Map<core.String, core.String>();
596 o["x"] = "foo"; 596 o["x"] = "foo";
597 o["y"] = "foo"; 597 o["y"] = "foo";
598 return o; 598 return o;
599 } 599 }
600 600
601 checkUnnamed2803(core.Map<core.String, core.String> o) { 601 checkUnnamed3128(core.Map<core.String, core.String> o) {
602 unittest.expect(o, unittest.hasLength(2)); 602 unittest.expect(o, unittest.hasLength(2));
603 unittest.expect(o["x"], unittest.equals('foo')); 603 unittest.expect(o["x"], unittest.equals('foo'));
604 unittest.expect(o["y"], unittest.equals('foo')); 604 unittest.expect(o["y"], unittest.equals('foo'));
605 } 605 }
606 606
607 core.int buildCounterJob = 0; 607 core.int buildCounterJob = 0;
608 buildJob() { 608 buildJob() {
609 var o = new api.Job(); 609 var o = new api.Job();
610 buildCounterJob++; 610 buildCounterJob++;
611 if (buildCounterJob < 3) { 611 if (buildCounterJob < 3) {
612 o.clientRequestId = "foo"; 612 o.clientRequestId = "foo";
613 o.createTime = "foo"; 613 o.createTime = "foo";
614 o.currentState = "foo"; 614 o.currentState = "foo";
615 o.currentStateTime = "foo"; 615 o.currentStateTime = "foo";
616 o.environment = buildEnvironment(); 616 o.environment = buildEnvironment();
617 o.executionInfo = buildJobExecutionInfo(); 617 o.executionInfo = buildJobExecutionInfo();
618 o.id = "foo"; 618 o.id = "foo";
619 o.name = "foo"; 619 o.name = "foo";
620 o.projectId = "foo"; 620 o.projectId = "foo";
621 o.replaceJobId = "foo"; 621 o.replaceJobId = "foo";
622 o.replacedByJobId = "foo"; 622 o.replacedByJobId = "foo";
623 o.requestedState = "foo"; 623 o.requestedState = "foo";
624 o.steps = buildUnnamed2801(); 624 o.steps = buildUnnamed3126();
625 o.tempFiles = buildUnnamed2802(); 625 o.tempFiles = buildUnnamed3127();
626 o.transformNameMapping = buildUnnamed2803(); 626 o.transformNameMapping = buildUnnamed3128();
627 o.type = "foo"; 627 o.type = "foo";
628 } 628 }
629 buildCounterJob--; 629 buildCounterJob--;
630 return o; 630 return o;
631 } 631 }
632 632
633 checkJob(api.Job o) { 633 checkJob(api.Job o) {
634 buildCounterJob++; 634 buildCounterJob++;
635 if (buildCounterJob < 3) { 635 if (buildCounterJob < 3) {
636 unittest.expect(o.clientRequestId, unittest.equals('foo')); 636 unittest.expect(o.clientRequestId, unittest.equals('foo'));
637 unittest.expect(o.createTime, unittest.equals('foo')); 637 unittest.expect(o.createTime, unittest.equals('foo'));
638 unittest.expect(o.currentState, unittest.equals('foo')); 638 unittest.expect(o.currentState, unittest.equals('foo'));
639 unittest.expect(o.currentStateTime, unittest.equals('foo')); 639 unittest.expect(o.currentStateTime, unittest.equals('foo'));
640 checkEnvironment(o.environment); 640 checkEnvironment(o.environment);
641 checkJobExecutionInfo(o.executionInfo); 641 checkJobExecutionInfo(o.executionInfo);
642 unittest.expect(o.id, unittest.equals('foo')); 642 unittest.expect(o.id, unittest.equals('foo'));
643 unittest.expect(o.name, unittest.equals('foo')); 643 unittest.expect(o.name, unittest.equals('foo'));
644 unittest.expect(o.projectId, unittest.equals('foo')); 644 unittest.expect(o.projectId, unittest.equals('foo'));
645 unittest.expect(o.replaceJobId, unittest.equals('foo')); 645 unittest.expect(o.replaceJobId, unittest.equals('foo'));
646 unittest.expect(o.replacedByJobId, unittest.equals('foo')); 646 unittest.expect(o.replacedByJobId, unittest.equals('foo'));
647 unittest.expect(o.requestedState, unittest.equals('foo')); 647 unittest.expect(o.requestedState, unittest.equals('foo'));
648 checkUnnamed2801(o.steps); 648 checkUnnamed3126(o.steps);
649 checkUnnamed2802(o.tempFiles); 649 checkUnnamed3127(o.tempFiles);
650 checkUnnamed2803(o.transformNameMapping); 650 checkUnnamed3128(o.transformNameMapping);
651 unittest.expect(o.type, unittest.equals('foo')); 651 unittest.expect(o.type, unittest.equals('foo'));
652 } 652 }
653 buildCounterJob--; 653 buildCounterJob--;
654 } 654 }
655 655
656 buildUnnamed2804() { 656 buildUnnamed3129() {
657 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); 657 var o = new core.Map<core.String, api.JobExecutionStageInfo>();
658 o["x"] = buildJobExecutionStageInfo(); 658 o["x"] = buildJobExecutionStageInfo();
659 o["y"] = buildJobExecutionStageInfo(); 659 o["y"] = buildJobExecutionStageInfo();
660 return o; 660 return o;
661 } 661 }
662 662
663 checkUnnamed2804(core.Map<core.String, api.JobExecutionStageInfo> o) { 663 checkUnnamed3129(core.Map<core.String, api.JobExecutionStageInfo> o) {
664 unittest.expect(o, unittest.hasLength(2)); 664 unittest.expect(o, unittest.hasLength(2));
665 checkJobExecutionStageInfo(o["x"]); 665 checkJobExecutionStageInfo(o["x"]);
666 checkJobExecutionStageInfo(o["y"]); 666 checkJobExecutionStageInfo(o["y"]);
667 } 667 }
668 668
669 core.int buildCounterJobExecutionInfo = 0; 669 core.int buildCounterJobExecutionInfo = 0;
670 buildJobExecutionInfo() { 670 buildJobExecutionInfo() {
671 var o = new api.JobExecutionInfo(); 671 var o = new api.JobExecutionInfo();
672 buildCounterJobExecutionInfo++; 672 buildCounterJobExecutionInfo++;
673 if (buildCounterJobExecutionInfo < 3) { 673 if (buildCounterJobExecutionInfo < 3) {
674 o.stages = buildUnnamed2804(); 674 o.stages = buildUnnamed3129();
675 } 675 }
676 buildCounterJobExecutionInfo--; 676 buildCounterJobExecutionInfo--;
677 return o; 677 return o;
678 } 678 }
679 679
680 checkJobExecutionInfo(api.JobExecutionInfo o) { 680 checkJobExecutionInfo(api.JobExecutionInfo o) {
681 buildCounterJobExecutionInfo++; 681 buildCounterJobExecutionInfo++;
682 if (buildCounterJobExecutionInfo < 3) { 682 if (buildCounterJobExecutionInfo < 3) {
683 checkUnnamed2804(o.stages); 683 checkUnnamed3129(o.stages);
684 } 684 }
685 buildCounterJobExecutionInfo--; 685 buildCounterJobExecutionInfo--;
686 } 686 }
687 687
688 buildUnnamed2805() { 688 buildUnnamed3130() {
689 var o = new core.List<core.String>(); 689 var o = new core.List<core.String>();
690 o.add("foo"); 690 o.add("foo");
691 o.add("foo"); 691 o.add("foo");
692 return o; 692 return o;
693 } 693 }
694 694
695 checkUnnamed2805(core.List<core.String> o) { 695 checkUnnamed3130(core.List<core.String> o) {
696 unittest.expect(o, unittest.hasLength(2)); 696 unittest.expect(o, unittest.hasLength(2));
697 unittest.expect(o[0], unittest.equals('foo')); 697 unittest.expect(o[0], unittest.equals('foo'));
698 unittest.expect(o[1], unittest.equals('foo')); 698 unittest.expect(o[1], unittest.equals('foo'));
699 } 699 }
700 700
701 core.int buildCounterJobExecutionStageInfo = 0; 701 core.int buildCounterJobExecutionStageInfo = 0;
702 buildJobExecutionStageInfo() { 702 buildJobExecutionStageInfo() {
703 var o = new api.JobExecutionStageInfo(); 703 var o = new api.JobExecutionStageInfo();
704 buildCounterJobExecutionStageInfo++; 704 buildCounterJobExecutionStageInfo++;
705 if (buildCounterJobExecutionStageInfo < 3) { 705 if (buildCounterJobExecutionStageInfo < 3) {
706 o.stepName = buildUnnamed2805(); 706 o.stepName = buildUnnamed3130();
707 } 707 }
708 buildCounterJobExecutionStageInfo--; 708 buildCounterJobExecutionStageInfo--;
709 return o; 709 return o;
710 } 710 }
711 711
712 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { 712 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
713 buildCounterJobExecutionStageInfo++; 713 buildCounterJobExecutionStageInfo++;
714 if (buildCounterJobExecutionStageInfo < 3) { 714 if (buildCounterJobExecutionStageInfo < 3) {
715 checkUnnamed2805(o.stepName); 715 checkUnnamed3130(o.stepName);
716 } 716 }
717 buildCounterJobExecutionStageInfo--; 717 buildCounterJobExecutionStageInfo--;
718 } 718 }
719 719
720 core.int buildCounterJobMessage = 0; 720 core.int buildCounterJobMessage = 0;
721 buildJobMessage() { 721 buildJobMessage() {
722 var o = new api.JobMessage(); 722 var o = new api.JobMessage();
723 buildCounterJobMessage++; 723 buildCounterJobMessage++;
724 if (buildCounterJobMessage < 3) { 724 if (buildCounterJobMessage < 3) {
725 o.id = "foo"; 725 o.id = "foo";
726 o.messageImportance = "foo"; 726 o.messageImportance = "foo";
727 o.messageText = "foo"; 727 o.messageText = "foo";
728 o.time = "foo"; 728 o.time = "foo";
729 } 729 }
730 buildCounterJobMessage--; 730 buildCounterJobMessage--;
731 return o; 731 return o;
732 } 732 }
733 733
734 checkJobMessage(api.JobMessage o) { 734 checkJobMessage(api.JobMessage o) {
735 buildCounterJobMessage++; 735 buildCounterJobMessage++;
736 if (buildCounterJobMessage < 3) { 736 if (buildCounterJobMessage < 3) {
737 unittest.expect(o.id, unittest.equals('foo')); 737 unittest.expect(o.id, unittest.equals('foo'));
738 unittest.expect(o.messageImportance, unittest.equals('foo')); 738 unittest.expect(o.messageImportance, unittest.equals('foo'));
739 unittest.expect(o.messageText, unittest.equals('foo')); 739 unittest.expect(o.messageText, unittest.equals('foo'));
740 unittest.expect(o.time, unittest.equals('foo')); 740 unittest.expect(o.time, unittest.equals('foo'));
741 } 741 }
742 buildCounterJobMessage--; 742 buildCounterJobMessage--;
743 } 743 }
744 744
745 buildUnnamed2806() { 745 buildUnnamed3131() {
746 var o = new core.List<api.MetricUpdate>(); 746 var o = new core.List<api.MetricUpdate>();
747 o.add(buildMetricUpdate()); 747 o.add(buildMetricUpdate());
748 o.add(buildMetricUpdate()); 748 o.add(buildMetricUpdate());
749 return o; 749 return o;
750 } 750 }
751 751
752 checkUnnamed2806(core.List<api.MetricUpdate> o) { 752 checkUnnamed3131(core.List<api.MetricUpdate> o) {
753 unittest.expect(o, unittest.hasLength(2)); 753 unittest.expect(o, unittest.hasLength(2));
754 checkMetricUpdate(o[0]); 754 checkMetricUpdate(o[0]);
755 checkMetricUpdate(o[1]); 755 checkMetricUpdate(o[1]);
756 } 756 }
757 757
758 core.int buildCounterJobMetrics = 0; 758 core.int buildCounterJobMetrics = 0;
759 buildJobMetrics() { 759 buildJobMetrics() {
760 var o = new api.JobMetrics(); 760 var o = new api.JobMetrics();
761 buildCounterJobMetrics++; 761 buildCounterJobMetrics++;
762 if (buildCounterJobMetrics < 3) { 762 if (buildCounterJobMetrics < 3) {
763 o.metricTime = "foo"; 763 o.metricTime = "foo";
764 o.metrics = buildUnnamed2806(); 764 o.metrics = buildUnnamed3131();
765 } 765 }
766 buildCounterJobMetrics--; 766 buildCounterJobMetrics--;
767 return o; 767 return o;
768 } 768 }
769 769
770 checkJobMetrics(api.JobMetrics o) { 770 checkJobMetrics(api.JobMetrics o) {
771 buildCounterJobMetrics++; 771 buildCounterJobMetrics++;
772 if (buildCounterJobMetrics < 3) { 772 if (buildCounterJobMetrics < 3) {
773 unittest.expect(o.metricTime, unittest.equals('foo')); 773 unittest.expect(o.metricTime, unittest.equals('foo'));
774 checkUnnamed2806(o.metrics); 774 checkUnnamed3131(o.metrics);
775 } 775 }
776 buildCounterJobMetrics--; 776 buildCounterJobMetrics--;
777 } 777 }
778 778
779 core.int buildCounterKeyRangeDataDiskAssignment = 0; 779 core.int buildCounterKeyRangeDataDiskAssignment = 0;
780 buildKeyRangeDataDiskAssignment() { 780 buildKeyRangeDataDiskAssignment() {
781 var o = new api.KeyRangeDataDiskAssignment(); 781 var o = new api.KeyRangeDataDiskAssignment();
782 buildCounterKeyRangeDataDiskAssignment++; 782 buildCounterKeyRangeDataDiskAssignment++;
783 if (buildCounterKeyRangeDataDiskAssignment < 3) { 783 if (buildCounterKeyRangeDataDiskAssignment < 3) {
784 o.dataDisk = "foo"; 784 o.dataDisk = "foo";
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 if (buildCounterKeyRangeLocation < 3) { 819 if (buildCounterKeyRangeLocation < 3) {
820 unittest.expect(o.dataDisk, unittest.equals('foo')); 820 unittest.expect(o.dataDisk, unittest.equals('foo'));
821 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); 821 unittest.expect(o.deliveryEndpoint, unittest.equals('foo'));
822 unittest.expect(o.end, unittest.equals('foo')); 822 unittest.expect(o.end, unittest.equals('foo'));
823 unittest.expect(o.persistentDirectory, unittest.equals('foo')); 823 unittest.expect(o.persistentDirectory, unittest.equals('foo'));
824 unittest.expect(o.start, unittest.equals('foo')); 824 unittest.expect(o.start, unittest.equals('foo'));
825 } 825 }
826 buildCounterKeyRangeLocation--; 826 buildCounterKeyRangeLocation--;
827 } 827 }
828 828
829 buildUnnamed2807() { 829 buildUnnamed3132() {
830 var o = new core.List<core.String>(); 830 var o = new core.List<core.String>();
831 o.add("foo"); 831 o.add("foo");
832 o.add("foo"); 832 o.add("foo");
833 return o; 833 return o;
834 } 834 }
835 835
836 checkUnnamed2807(core.List<core.String> o) { 836 checkUnnamed3132(core.List<core.String> o) {
837 unittest.expect(o, unittest.hasLength(2)); 837 unittest.expect(o, unittest.hasLength(2));
838 unittest.expect(o[0], unittest.equals('foo')); 838 unittest.expect(o[0], unittest.equals('foo'));
839 unittest.expect(o[1], unittest.equals('foo')); 839 unittest.expect(o[1], unittest.equals('foo'));
840 } 840 }
841 841
842 buildUnnamed2808() { 842 buildUnnamed3133() {
843 var o = new core.List<core.String>(); 843 var o = new core.List<core.String>();
844 o.add("foo"); 844 o.add("foo");
845 o.add("foo"); 845 o.add("foo");
846 return o; 846 return o;
847 } 847 }
848 848
849 checkUnnamed2808(core.List<core.String> o) { 849 checkUnnamed3133(core.List<core.String> o) {
850 unittest.expect(o, unittest.hasLength(2)); 850 unittest.expect(o, unittest.hasLength(2));
851 unittest.expect(o[0], unittest.equals('foo')); 851 unittest.expect(o[0], unittest.equals('foo'));
852 unittest.expect(o[1], unittest.equals('foo')); 852 unittest.expect(o[1], unittest.equals('foo'));
853 } 853 }
854 854
855 core.int buildCounterLeaseWorkItemRequest = 0; 855 core.int buildCounterLeaseWorkItemRequest = 0;
856 buildLeaseWorkItemRequest() { 856 buildLeaseWorkItemRequest() {
857 var o = new api.LeaseWorkItemRequest(); 857 var o = new api.LeaseWorkItemRequest();
858 buildCounterLeaseWorkItemRequest++; 858 buildCounterLeaseWorkItemRequest++;
859 if (buildCounterLeaseWorkItemRequest < 3) { 859 if (buildCounterLeaseWorkItemRequest < 3) {
860 o.currentWorkerTime = "foo"; 860 o.currentWorkerTime = "foo";
861 o.requestedLeaseDuration = "foo"; 861 o.requestedLeaseDuration = "foo";
862 o.workItemTypes = buildUnnamed2807(); 862 o.workItemTypes = buildUnnamed3132();
863 o.workerCapabilities = buildUnnamed2808(); 863 o.workerCapabilities = buildUnnamed3133();
864 o.workerId = "foo"; 864 o.workerId = "foo";
865 } 865 }
866 buildCounterLeaseWorkItemRequest--; 866 buildCounterLeaseWorkItemRequest--;
867 return o; 867 return o;
868 } 868 }
869 869
870 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { 870 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) {
871 buildCounterLeaseWorkItemRequest++; 871 buildCounterLeaseWorkItemRequest++;
872 if (buildCounterLeaseWorkItemRequest < 3) { 872 if (buildCounterLeaseWorkItemRequest < 3) {
873 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 873 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
874 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 874 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
875 checkUnnamed2807(o.workItemTypes); 875 checkUnnamed3132(o.workItemTypes);
876 checkUnnamed2808(o.workerCapabilities); 876 checkUnnamed3133(o.workerCapabilities);
877 unittest.expect(o.workerId, unittest.equals('foo')); 877 unittest.expect(o.workerId, unittest.equals('foo'));
878 } 878 }
879 buildCounterLeaseWorkItemRequest--; 879 buildCounterLeaseWorkItemRequest--;
880 } 880 }
881 881
882 buildUnnamed2809() { 882 buildUnnamed3134() {
883 var o = new core.List<api.WorkItem>(); 883 var o = new core.List<api.WorkItem>();
884 o.add(buildWorkItem()); 884 o.add(buildWorkItem());
885 o.add(buildWorkItem()); 885 o.add(buildWorkItem());
886 return o; 886 return o;
887 } 887 }
888 888
889 checkUnnamed2809(core.List<api.WorkItem> o) { 889 checkUnnamed3134(core.List<api.WorkItem> o) {
890 unittest.expect(o, unittest.hasLength(2)); 890 unittest.expect(o, unittest.hasLength(2));
891 checkWorkItem(o[0]); 891 checkWorkItem(o[0]);
892 checkWorkItem(o[1]); 892 checkWorkItem(o[1]);
893 } 893 }
894 894
895 core.int buildCounterLeaseWorkItemResponse = 0; 895 core.int buildCounterLeaseWorkItemResponse = 0;
896 buildLeaseWorkItemResponse() { 896 buildLeaseWorkItemResponse() {
897 var o = new api.LeaseWorkItemResponse(); 897 var o = new api.LeaseWorkItemResponse();
898 buildCounterLeaseWorkItemResponse++; 898 buildCounterLeaseWorkItemResponse++;
899 if (buildCounterLeaseWorkItemResponse < 3) { 899 if (buildCounterLeaseWorkItemResponse < 3) {
900 o.workItems = buildUnnamed2809(); 900 o.workItems = buildUnnamed3134();
901 } 901 }
902 buildCounterLeaseWorkItemResponse--; 902 buildCounterLeaseWorkItemResponse--;
903 return o; 903 return o;
904 } 904 }
905 905
906 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { 906 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
907 buildCounterLeaseWorkItemResponse++; 907 buildCounterLeaseWorkItemResponse++;
908 if (buildCounterLeaseWorkItemResponse < 3) { 908 if (buildCounterLeaseWorkItemResponse < 3) {
909 checkUnnamed2809(o.workItems); 909 checkUnnamed3134(o.workItems);
910 } 910 }
911 buildCounterLeaseWorkItemResponse--; 911 buildCounterLeaseWorkItemResponse--;
912 } 912 }
913 913
914 buildUnnamed2810() { 914 buildUnnamed3135() {
915 var o = new core.List<api.JobMessage>(); 915 var o = new core.List<api.JobMessage>();
916 o.add(buildJobMessage()); 916 o.add(buildJobMessage());
917 o.add(buildJobMessage()); 917 o.add(buildJobMessage());
918 return o; 918 return o;
919 } 919 }
920 920
921 checkUnnamed2810(core.List<api.JobMessage> o) { 921 checkUnnamed3135(core.List<api.JobMessage> o) {
922 unittest.expect(o, unittest.hasLength(2)); 922 unittest.expect(o, unittest.hasLength(2));
923 checkJobMessage(o[0]); 923 checkJobMessage(o[0]);
924 checkJobMessage(o[1]); 924 checkJobMessage(o[1]);
925 } 925 }
926 926
927 core.int buildCounterListJobMessagesResponse = 0; 927 core.int buildCounterListJobMessagesResponse = 0;
928 buildListJobMessagesResponse() { 928 buildListJobMessagesResponse() {
929 var o = new api.ListJobMessagesResponse(); 929 var o = new api.ListJobMessagesResponse();
930 buildCounterListJobMessagesResponse++; 930 buildCounterListJobMessagesResponse++;
931 if (buildCounterListJobMessagesResponse < 3) { 931 if (buildCounterListJobMessagesResponse < 3) {
932 o.jobMessages = buildUnnamed2810(); 932 o.jobMessages = buildUnnamed3135();
933 o.nextPageToken = "foo"; 933 o.nextPageToken = "foo";
934 } 934 }
935 buildCounterListJobMessagesResponse--; 935 buildCounterListJobMessagesResponse--;
936 return o; 936 return o;
937 } 937 }
938 938
939 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { 939 checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
940 buildCounterListJobMessagesResponse++; 940 buildCounterListJobMessagesResponse++;
941 if (buildCounterListJobMessagesResponse < 3) { 941 if (buildCounterListJobMessagesResponse < 3) {
942 checkUnnamed2810(o.jobMessages); 942 checkUnnamed3135(o.jobMessages);
943 unittest.expect(o.nextPageToken, unittest.equals('foo')); 943 unittest.expect(o.nextPageToken, unittest.equals('foo'));
944 } 944 }
945 buildCounterListJobMessagesResponse--; 945 buildCounterListJobMessagesResponse--;
946 } 946 }
947 947
948 buildUnnamed2811() { 948 buildUnnamed3136() {
949 var o = new core.List<api.Job>(); 949 var o = new core.List<api.Job>();
950 o.add(buildJob()); 950 o.add(buildJob());
951 o.add(buildJob()); 951 o.add(buildJob());
952 return o; 952 return o;
953 } 953 }
954 954
955 checkUnnamed2811(core.List<api.Job> o) { 955 checkUnnamed3136(core.List<api.Job> o) {
956 unittest.expect(o, unittest.hasLength(2)); 956 unittest.expect(o, unittest.hasLength(2));
957 checkJob(o[0]); 957 checkJob(o[0]);
958 checkJob(o[1]); 958 checkJob(o[1]);
959 } 959 }
960 960
961 core.int buildCounterListJobsResponse = 0; 961 core.int buildCounterListJobsResponse = 0;
962 buildListJobsResponse() { 962 buildListJobsResponse() {
963 var o = new api.ListJobsResponse(); 963 var o = new api.ListJobsResponse();
964 buildCounterListJobsResponse++; 964 buildCounterListJobsResponse++;
965 if (buildCounterListJobsResponse < 3) { 965 if (buildCounterListJobsResponse < 3) {
966 o.jobs = buildUnnamed2811(); 966 o.jobs = buildUnnamed3136();
967 o.nextPageToken = "foo"; 967 o.nextPageToken = "foo";
968 } 968 }
969 buildCounterListJobsResponse--; 969 buildCounterListJobsResponse--;
970 return o; 970 return o;
971 } 971 }
972 972
973 checkListJobsResponse(api.ListJobsResponse o) { 973 checkListJobsResponse(api.ListJobsResponse o) {
974 buildCounterListJobsResponse++; 974 buildCounterListJobsResponse++;
975 if (buildCounterListJobsResponse < 3) { 975 if (buildCounterListJobsResponse < 3) {
976 checkUnnamed2811(o.jobs); 976 checkUnnamed3136(o.jobs);
977 unittest.expect(o.nextPageToken, unittest.equals('foo')); 977 unittest.expect(o.nextPageToken, unittest.equals('foo'));
978 } 978 }
979 buildCounterListJobsResponse--; 979 buildCounterListJobsResponse--;
980 } 980 }
981 981
982 buildUnnamed2812() { 982 buildUnnamed3137() {
983 var o = new core.List<api.ParallelInstruction>(); 983 var o = new core.List<api.ParallelInstruction>();
984 o.add(buildParallelInstruction()); 984 o.add(buildParallelInstruction());
985 o.add(buildParallelInstruction()); 985 o.add(buildParallelInstruction());
986 return o; 986 return o;
987 } 987 }
988 988
989 checkUnnamed2812(core.List<api.ParallelInstruction> o) { 989 checkUnnamed3137(core.List<api.ParallelInstruction> o) {
990 unittest.expect(o, unittest.hasLength(2)); 990 unittest.expect(o, unittest.hasLength(2));
991 checkParallelInstruction(o[0]); 991 checkParallelInstruction(o[0]);
992 checkParallelInstruction(o[1]); 992 checkParallelInstruction(o[1]);
993 } 993 }
994 994
995 core.int buildCounterMapTask = 0; 995 core.int buildCounterMapTask = 0;
996 buildMapTask() { 996 buildMapTask() {
997 var o = new api.MapTask(); 997 var o = new api.MapTask();
998 buildCounterMapTask++; 998 buildCounterMapTask++;
999 if (buildCounterMapTask < 3) { 999 if (buildCounterMapTask < 3) {
1000 o.instructions = buildUnnamed2812(); 1000 o.instructions = buildUnnamed3137();
1001 o.stageName = "foo"; 1001 o.stageName = "foo";
1002 o.systemName = "foo"; 1002 o.systemName = "foo";
1003 } 1003 }
1004 buildCounterMapTask--; 1004 buildCounterMapTask--;
1005 return o; 1005 return o;
1006 } 1006 }
1007 1007
1008 checkMapTask(api.MapTask o) { 1008 checkMapTask(api.MapTask o) {
1009 buildCounterMapTask++; 1009 buildCounterMapTask++;
1010 if (buildCounterMapTask < 3) { 1010 if (buildCounterMapTask < 3) {
1011 checkUnnamed2812(o.instructions); 1011 checkUnnamed3137(o.instructions);
1012 unittest.expect(o.stageName, unittest.equals('foo')); 1012 unittest.expect(o.stageName, unittest.equals('foo'));
1013 unittest.expect(o.systemName, unittest.equals('foo')); 1013 unittest.expect(o.systemName, unittest.equals('foo'));
1014 } 1014 }
1015 buildCounterMapTask--; 1015 buildCounterMapTask--;
1016 } 1016 }
1017 1017
1018 buildUnnamed2813() { 1018 buildUnnamed3138() {
1019 var o = new core.Map<core.String, core.String>(); 1019 var o = new core.Map<core.String, core.String>();
1020 o["x"] = "foo"; 1020 o["x"] = "foo";
1021 o["y"] = "foo"; 1021 o["y"] = "foo";
1022 return o; 1022 return o;
1023 } 1023 }
1024 1024
1025 checkUnnamed2813(core.Map<core.String, core.String> o) { 1025 checkUnnamed3138(core.Map<core.String, core.String> o) {
1026 unittest.expect(o, unittest.hasLength(2)); 1026 unittest.expect(o, unittest.hasLength(2));
1027 unittest.expect(o["x"], unittest.equals('foo')); 1027 unittest.expect(o["x"], unittest.equals('foo'));
1028 unittest.expect(o["y"], unittest.equals('foo')); 1028 unittest.expect(o["y"], unittest.equals('foo'));
1029 } 1029 }
1030 1030
1031 core.int buildCounterMetricStructuredName = 0; 1031 core.int buildCounterMetricStructuredName = 0;
1032 buildMetricStructuredName() { 1032 buildMetricStructuredName() {
1033 var o = new api.MetricStructuredName(); 1033 var o = new api.MetricStructuredName();
1034 buildCounterMetricStructuredName++; 1034 buildCounterMetricStructuredName++;
1035 if (buildCounterMetricStructuredName < 3) { 1035 if (buildCounterMetricStructuredName < 3) {
1036 o.context = buildUnnamed2813(); 1036 o.context = buildUnnamed3138();
1037 o.name = "foo"; 1037 o.name = "foo";
1038 o.origin = "foo"; 1038 o.origin = "foo";
1039 } 1039 }
1040 buildCounterMetricStructuredName--; 1040 buildCounterMetricStructuredName--;
1041 return o; 1041 return o;
1042 } 1042 }
1043 1043
1044 checkMetricStructuredName(api.MetricStructuredName o) { 1044 checkMetricStructuredName(api.MetricStructuredName o) {
1045 buildCounterMetricStructuredName++; 1045 buildCounterMetricStructuredName++;
1046 if (buildCounterMetricStructuredName < 3) { 1046 if (buildCounterMetricStructuredName < 3) {
1047 checkUnnamed2813(o.context); 1047 checkUnnamed3138(o.context);
1048 unittest.expect(o.name, unittest.equals('foo')); 1048 unittest.expect(o.name, unittest.equals('foo'));
1049 unittest.expect(o.origin, unittest.equals('foo')); 1049 unittest.expect(o.origin, unittest.equals('foo'));
1050 } 1050 }
1051 buildCounterMetricStructuredName--; 1051 buildCounterMetricStructuredName--;
1052 } 1052 }
1053 1053
1054 core.int buildCounterMetricUpdate = 0; 1054 core.int buildCounterMetricUpdate = 0;
1055 buildMetricUpdate() { 1055 buildMetricUpdate() {
1056 var o = new api.MetricUpdate(); 1056 var o = new api.MetricUpdate();
1057 buildCounterMetricUpdate++; 1057 buildCounterMetricUpdate++;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 1138
1139 checkPackage(api.Package o) { 1139 checkPackage(api.Package o) {
1140 buildCounterPackage++; 1140 buildCounterPackage++;
1141 if (buildCounterPackage < 3) { 1141 if (buildCounterPackage < 3) {
1142 unittest.expect(o.location, unittest.equals('foo')); 1142 unittest.expect(o.location, unittest.equals('foo'));
1143 unittest.expect(o.name, unittest.equals('foo')); 1143 unittest.expect(o.name, unittest.equals('foo'));
1144 } 1144 }
1145 buildCounterPackage--; 1145 buildCounterPackage--;
1146 } 1146 }
1147 1147
1148 buildUnnamed2814() { 1148 buildUnnamed3139() {
1149 var o = new core.List<api.MultiOutputInfo>(); 1149 var o = new core.List<api.MultiOutputInfo>();
1150 o.add(buildMultiOutputInfo()); 1150 o.add(buildMultiOutputInfo());
1151 o.add(buildMultiOutputInfo()); 1151 o.add(buildMultiOutputInfo());
1152 return o; 1152 return o;
1153 } 1153 }
1154 1154
1155 checkUnnamed2814(core.List<api.MultiOutputInfo> o) { 1155 checkUnnamed3139(core.List<api.MultiOutputInfo> o) {
1156 unittest.expect(o, unittest.hasLength(2)); 1156 unittest.expect(o, unittest.hasLength(2));
1157 checkMultiOutputInfo(o[0]); 1157 checkMultiOutputInfo(o[0]);
1158 checkMultiOutputInfo(o[1]); 1158 checkMultiOutputInfo(o[1]);
1159 } 1159 }
1160 1160
1161 buildUnnamed2815() { 1161 buildUnnamed3140() {
1162 var o = new core.List<api.SideInputInfo>(); 1162 var o = new core.List<api.SideInputInfo>();
1163 o.add(buildSideInputInfo()); 1163 o.add(buildSideInputInfo());
1164 o.add(buildSideInputInfo()); 1164 o.add(buildSideInputInfo());
1165 return o; 1165 return o;
1166 } 1166 }
1167 1167
1168 checkUnnamed2815(core.List<api.SideInputInfo> o) { 1168 checkUnnamed3140(core.List<api.SideInputInfo> o) {
1169 unittest.expect(o, unittest.hasLength(2)); 1169 unittest.expect(o, unittest.hasLength(2));
1170 checkSideInputInfo(o[0]); 1170 checkSideInputInfo(o[0]);
1171 checkSideInputInfo(o[1]); 1171 checkSideInputInfo(o[1]);
1172 } 1172 }
1173 1173
1174 buildUnnamed2816() { 1174 buildUnnamed3141() {
1175 var o = new core.Map<core.String, core.Object>(); 1175 var o = new core.Map<core.String, core.Object>();
1176 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1176 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1177 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1177 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1178 return o; 1178 return o;
1179 } 1179 }
1180 1180
1181 checkUnnamed2816(core.Map<core.String, core.Object> o) { 1181 checkUnnamed3141(core.Map<core.String, core.Object> o) {
1182 unittest.expect(o, unittest.hasLength(2)); 1182 unittest.expect(o, unittest.hasLength(2));
1183 var casted16 = (o["x"]) as core.Map; unittest.expect(casted16, unittest.hasLen gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest .expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri ng"], unittest.equals('foo')); 1183 var casted16 = (o["x"]) as core.Map; unittest.expect(casted16, unittest.hasLen gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest .expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri ng"], unittest.equals('foo'));
1184 var casted17 = (o["y"]) as core.Map; unittest.expect(casted17, unittest.hasLen gth(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest .expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["stri ng"], unittest.equals('foo')); 1184 var casted17 = (o["y"]) as core.Map; unittest.expect(casted17, unittest.hasLen gth(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest .expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["stri ng"], unittest.equals('foo'));
1185 } 1185 }
1186 1186
1187 core.int buildCounterParDoInstruction = 0; 1187 core.int buildCounterParDoInstruction = 0;
1188 buildParDoInstruction() { 1188 buildParDoInstruction() {
1189 var o = new api.ParDoInstruction(); 1189 var o = new api.ParDoInstruction();
1190 buildCounterParDoInstruction++; 1190 buildCounterParDoInstruction++;
1191 if (buildCounterParDoInstruction < 3) { 1191 if (buildCounterParDoInstruction < 3) {
1192 o.input = buildInstructionInput(); 1192 o.input = buildInstructionInput();
1193 o.multiOutputInfos = buildUnnamed2814(); 1193 o.multiOutputInfos = buildUnnamed3139();
1194 o.numOutputs = 42; 1194 o.numOutputs = 42;
1195 o.sideInputs = buildUnnamed2815(); 1195 o.sideInputs = buildUnnamed3140();
1196 o.userFn = buildUnnamed2816(); 1196 o.userFn = buildUnnamed3141();
1197 } 1197 }
1198 buildCounterParDoInstruction--; 1198 buildCounterParDoInstruction--;
1199 return o; 1199 return o;
1200 } 1200 }
1201 1201
1202 checkParDoInstruction(api.ParDoInstruction o) { 1202 checkParDoInstruction(api.ParDoInstruction o) {
1203 buildCounterParDoInstruction++; 1203 buildCounterParDoInstruction++;
1204 if (buildCounterParDoInstruction < 3) { 1204 if (buildCounterParDoInstruction < 3) {
1205 checkInstructionInput(o.input); 1205 checkInstructionInput(o.input);
1206 checkUnnamed2814(o.multiOutputInfos); 1206 checkUnnamed3139(o.multiOutputInfos);
1207 unittest.expect(o.numOutputs, unittest.equals(42)); 1207 unittest.expect(o.numOutputs, unittest.equals(42));
1208 checkUnnamed2815(o.sideInputs); 1208 checkUnnamed3140(o.sideInputs);
1209 checkUnnamed2816(o.userFn); 1209 checkUnnamed3141(o.userFn);
1210 } 1210 }
1211 buildCounterParDoInstruction--; 1211 buildCounterParDoInstruction--;
1212 } 1212 }
1213 1213
1214 buildUnnamed2817() { 1214 buildUnnamed3142() {
1215 var o = new core.List<api.InstructionOutput>(); 1215 var o = new core.List<api.InstructionOutput>();
1216 o.add(buildInstructionOutput()); 1216 o.add(buildInstructionOutput());
1217 o.add(buildInstructionOutput()); 1217 o.add(buildInstructionOutput());
1218 return o; 1218 return o;
1219 } 1219 }
1220 1220
1221 checkUnnamed2817(core.List<api.InstructionOutput> o) { 1221 checkUnnamed3142(core.List<api.InstructionOutput> o) {
1222 unittest.expect(o, unittest.hasLength(2)); 1222 unittest.expect(o, unittest.hasLength(2));
1223 checkInstructionOutput(o[0]); 1223 checkInstructionOutput(o[0]);
1224 checkInstructionOutput(o[1]); 1224 checkInstructionOutput(o[1]);
1225 } 1225 }
1226 1226
1227 core.int buildCounterParallelInstruction = 0; 1227 core.int buildCounterParallelInstruction = 0;
1228 buildParallelInstruction() { 1228 buildParallelInstruction() {
1229 var o = new api.ParallelInstruction(); 1229 var o = new api.ParallelInstruction();
1230 buildCounterParallelInstruction++; 1230 buildCounterParallelInstruction++;
1231 if (buildCounterParallelInstruction < 3) { 1231 if (buildCounterParallelInstruction < 3) {
1232 o.flatten = buildFlattenInstruction(); 1232 o.flatten = buildFlattenInstruction();
1233 o.name = "foo"; 1233 o.name = "foo";
1234 o.outputs = buildUnnamed2817(); 1234 o.outputs = buildUnnamed3142();
1235 o.parDo = buildParDoInstruction(); 1235 o.parDo = buildParDoInstruction();
1236 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); 1236 o.partialGroupByKey = buildPartialGroupByKeyInstruction();
1237 o.read = buildReadInstruction(); 1237 o.read = buildReadInstruction();
1238 o.systemName = "foo"; 1238 o.systemName = "foo";
1239 o.write = buildWriteInstruction(); 1239 o.write = buildWriteInstruction();
1240 } 1240 }
1241 buildCounterParallelInstruction--; 1241 buildCounterParallelInstruction--;
1242 return o; 1242 return o;
1243 } 1243 }
1244 1244
1245 checkParallelInstruction(api.ParallelInstruction o) { 1245 checkParallelInstruction(api.ParallelInstruction o) {
1246 buildCounterParallelInstruction++; 1246 buildCounterParallelInstruction++;
1247 if (buildCounterParallelInstruction < 3) { 1247 if (buildCounterParallelInstruction < 3) {
1248 checkFlattenInstruction(o.flatten); 1248 checkFlattenInstruction(o.flatten);
1249 unittest.expect(o.name, unittest.equals('foo')); 1249 unittest.expect(o.name, unittest.equals('foo'));
1250 checkUnnamed2817(o.outputs); 1250 checkUnnamed3142(o.outputs);
1251 checkParDoInstruction(o.parDo); 1251 checkParDoInstruction(o.parDo);
1252 checkPartialGroupByKeyInstruction(o.partialGroupByKey); 1252 checkPartialGroupByKeyInstruction(o.partialGroupByKey);
1253 checkReadInstruction(o.read); 1253 checkReadInstruction(o.read);
1254 unittest.expect(o.systemName, unittest.equals('foo')); 1254 unittest.expect(o.systemName, unittest.equals('foo'));
1255 checkWriteInstruction(o.write); 1255 checkWriteInstruction(o.write);
1256 } 1256 }
1257 buildCounterParallelInstruction--; 1257 buildCounterParallelInstruction--;
1258 } 1258 }
1259 1259
1260 buildUnnamed2818() { 1260 buildUnnamed3143() {
1261 var o = new core.Map<core.String, core.Object>(); 1261 var o = new core.Map<core.String, core.Object>();
1262 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1262 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1263 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1263 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1264 return o; 1264 return o;
1265 } 1265 }
1266 1266
1267 checkUnnamed2818(core.Map<core.String, core.Object> o) { 1267 checkUnnamed3143(core.Map<core.String, core.Object> o) {
1268 unittest.expect(o, unittest.hasLength(2)); 1268 unittest.expect(o, unittest.hasLength(2));
1269 var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLen gth(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest .expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["stri ng"], unittest.equals('foo')); 1269 var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLen gth(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest .expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["stri ng"], unittest.equals('foo'));
1270 var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLen gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest .expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri ng"], unittest.equals('foo')); 1270 var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLen gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest .expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri ng"], unittest.equals('foo'));
1271 } 1271 }
1272 1272
1273 buildUnnamed2819() { 1273 buildUnnamed3144() {
1274 var o = new core.List<api.SideInputInfo>(); 1274 var o = new core.List<api.SideInputInfo>();
1275 o.add(buildSideInputInfo()); 1275 o.add(buildSideInputInfo());
1276 o.add(buildSideInputInfo()); 1276 o.add(buildSideInputInfo());
1277 return o; 1277 return o;
1278 } 1278 }
1279 1279
1280 checkUnnamed2819(core.List<api.SideInputInfo> o) { 1280 checkUnnamed3144(core.List<api.SideInputInfo> o) {
1281 unittest.expect(o, unittest.hasLength(2)); 1281 unittest.expect(o, unittest.hasLength(2));
1282 checkSideInputInfo(o[0]); 1282 checkSideInputInfo(o[0]);
1283 checkSideInputInfo(o[1]); 1283 checkSideInputInfo(o[1]);
1284 } 1284 }
1285 1285
1286 buildUnnamed2820() { 1286 buildUnnamed3145() {
1287 var o = new core.Map<core.String, core.Object>(); 1287 var o = new core.Map<core.String, core.Object>();
1288 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1288 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1289 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1289 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1290 return o; 1290 return o;
1291 } 1291 }
1292 1292
1293 checkUnnamed2820(core.Map<core.String, core.Object> o) { 1293 checkUnnamed3145(core.Map<core.String, core.Object> o) {
1294 unittest.expect(o, unittest.hasLength(2)); 1294 unittest.expect(o, unittest.hasLength(2));
1295 var casted20 = (o["x"]) as core.Map; unittest.expect(casted20, unittest.hasLen gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest .expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri ng"], unittest.equals('foo')); 1295 var casted20 = (o["x"]) as core.Map; unittest.expect(casted20, unittest.hasLen gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest .expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri ng"], unittest.equals('foo'));
1296 var casted21 = (o["y"]) as core.Map; unittest.expect(casted21, unittest.hasLen gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest .expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri ng"], unittest.equals('foo')); 1296 var casted21 = (o["y"]) as core.Map; unittest.expect(casted21, unittest.hasLen gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest .expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri ng"], unittest.equals('foo'));
1297 } 1297 }
1298 1298
1299 core.int buildCounterPartialGroupByKeyInstruction = 0; 1299 core.int buildCounterPartialGroupByKeyInstruction = 0;
1300 buildPartialGroupByKeyInstruction() { 1300 buildPartialGroupByKeyInstruction() {
1301 var o = new api.PartialGroupByKeyInstruction(); 1301 var o = new api.PartialGroupByKeyInstruction();
1302 buildCounterPartialGroupByKeyInstruction++; 1302 buildCounterPartialGroupByKeyInstruction++;
1303 if (buildCounterPartialGroupByKeyInstruction < 3) { 1303 if (buildCounterPartialGroupByKeyInstruction < 3) {
1304 o.input = buildInstructionInput(); 1304 o.input = buildInstructionInput();
1305 o.inputElementCodec = buildUnnamed2818(); 1305 o.inputElementCodec = buildUnnamed3143();
1306 o.sideInputs = buildUnnamed2819(); 1306 o.sideInputs = buildUnnamed3144();
1307 o.valueCombiningFn = buildUnnamed2820(); 1307 o.valueCombiningFn = buildUnnamed3145();
1308 } 1308 }
1309 buildCounterPartialGroupByKeyInstruction--; 1309 buildCounterPartialGroupByKeyInstruction--;
1310 return o; 1310 return o;
1311 } 1311 }
1312 1312
1313 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { 1313 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) {
1314 buildCounterPartialGroupByKeyInstruction++; 1314 buildCounterPartialGroupByKeyInstruction++;
1315 if (buildCounterPartialGroupByKeyInstruction < 3) { 1315 if (buildCounterPartialGroupByKeyInstruction < 3) {
1316 checkInstructionInput(o.input); 1316 checkInstructionInput(o.input);
1317 checkUnnamed2818(o.inputElementCodec); 1317 checkUnnamed3143(o.inputElementCodec);
1318 checkUnnamed2819(o.sideInputs); 1318 checkUnnamed3144(o.sideInputs);
1319 checkUnnamed2820(o.valueCombiningFn); 1319 checkUnnamed3145(o.valueCombiningFn);
1320 } 1320 }
1321 buildCounterPartialGroupByKeyInstruction--; 1321 buildCounterPartialGroupByKeyInstruction--;
1322 } 1322 }
1323 1323
1324 core.int buildCounterPosition = 0; 1324 core.int buildCounterPosition = 0;
1325 buildPosition() { 1325 buildPosition() {
1326 var o = new api.Position(); 1326 var o = new api.Position();
1327 buildCounterPosition++; 1327 buildCounterPosition++;
1328 if (buildCounterPosition < 3) { 1328 if (buildCounterPosition < 3) {
1329 o.byteOffset = "foo"; 1329 o.byteOffset = "foo";
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 } 1391 }
1392 1392
1393 checkReadInstruction(api.ReadInstruction o) { 1393 checkReadInstruction(api.ReadInstruction o) {
1394 buildCounterReadInstruction++; 1394 buildCounterReadInstruction++;
1395 if (buildCounterReadInstruction < 3) { 1395 if (buildCounterReadInstruction < 3) {
1396 checkSource(o.source); 1396 checkSource(o.source);
1397 } 1397 }
1398 buildCounterReadInstruction--; 1398 buildCounterReadInstruction--;
1399 } 1399 }
1400 1400
1401 buildUnnamed2821() { 1401 buildUnnamed3146() {
1402 var o = new core.List<api.WorkItemStatus>(); 1402 var o = new core.List<api.WorkItemStatus>();
1403 o.add(buildWorkItemStatus()); 1403 o.add(buildWorkItemStatus());
1404 o.add(buildWorkItemStatus()); 1404 o.add(buildWorkItemStatus());
1405 return o; 1405 return o;
1406 } 1406 }
1407 1407
1408 checkUnnamed2821(core.List<api.WorkItemStatus> o) { 1408 checkUnnamed3146(core.List<api.WorkItemStatus> o) {
1409 unittest.expect(o, unittest.hasLength(2)); 1409 unittest.expect(o, unittest.hasLength(2));
1410 checkWorkItemStatus(o[0]); 1410 checkWorkItemStatus(o[0]);
1411 checkWorkItemStatus(o[1]); 1411 checkWorkItemStatus(o[1]);
1412 } 1412 }
1413 1413
1414 core.int buildCounterReportWorkItemStatusRequest = 0; 1414 core.int buildCounterReportWorkItemStatusRequest = 0;
1415 buildReportWorkItemStatusRequest() { 1415 buildReportWorkItemStatusRequest() {
1416 var o = new api.ReportWorkItemStatusRequest(); 1416 var o = new api.ReportWorkItemStatusRequest();
1417 buildCounterReportWorkItemStatusRequest++; 1417 buildCounterReportWorkItemStatusRequest++;
1418 if (buildCounterReportWorkItemStatusRequest < 3) { 1418 if (buildCounterReportWorkItemStatusRequest < 3) {
1419 o.currentWorkerTime = "foo"; 1419 o.currentWorkerTime = "foo";
1420 o.workItemStatuses = buildUnnamed2821(); 1420 o.workItemStatuses = buildUnnamed3146();
1421 o.workerId = "foo"; 1421 o.workerId = "foo";
1422 } 1422 }
1423 buildCounterReportWorkItemStatusRequest--; 1423 buildCounterReportWorkItemStatusRequest--;
1424 return o; 1424 return o;
1425 } 1425 }
1426 1426
1427 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { 1427 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) {
1428 buildCounterReportWorkItemStatusRequest++; 1428 buildCounterReportWorkItemStatusRequest++;
1429 if (buildCounterReportWorkItemStatusRequest < 3) { 1429 if (buildCounterReportWorkItemStatusRequest < 3) {
1430 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); 1430 unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
1431 checkUnnamed2821(o.workItemStatuses); 1431 checkUnnamed3146(o.workItemStatuses);
1432 unittest.expect(o.workerId, unittest.equals('foo')); 1432 unittest.expect(o.workerId, unittest.equals('foo'));
1433 } 1433 }
1434 buildCounterReportWorkItemStatusRequest--; 1434 buildCounterReportWorkItemStatusRequest--;
1435 } 1435 }
1436 1436
1437 buildUnnamed2822() { 1437 buildUnnamed3147() {
1438 var o = new core.List<api.WorkItemServiceState>(); 1438 var o = new core.List<api.WorkItemServiceState>();
1439 o.add(buildWorkItemServiceState()); 1439 o.add(buildWorkItemServiceState());
1440 o.add(buildWorkItemServiceState()); 1440 o.add(buildWorkItemServiceState());
1441 return o; 1441 return o;
1442 } 1442 }
1443 1443
1444 checkUnnamed2822(core.List<api.WorkItemServiceState> o) { 1444 checkUnnamed3147(core.List<api.WorkItemServiceState> o) {
1445 unittest.expect(o, unittest.hasLength(2)); 1445 unittest.expect(o, unittest.hasLength(2));
1446 checkWorkItemServiceState(o[0]); 1446 checkWorkItemServiceState(o[0]);
1447 checkWorkItemServiceState(o[1]); 1447 checkWorkItemServiceState(o[1]);
1448 } 1448 }
1449 1449
1450 core.int buildCounterReportWorkItemStatusResponse = 0; 1450 core.int buildCounterReportWorkItemStatusResponse = 0;
1451 buildReportWorkItemStatusResponse() { 1451 buildReportWorkItemStatusResponse() {
1452 var o = new api.ReportWorkItemStatusResponse(); 1452 var o = new api.ReportWorkItemStatusResponse();
1453 buildCounterReportWorkItemStatusResponse++; 1453 buildCounterReportWorkItemStatusResponse++;
1454 if (buildCounterReportWorkItemStatusResponse < 3) { 1454 if (buildCounterReportWorkItemStatusResponse < 3) {
1455 o.workItemServiceStates = buildUnnamed2822(); 1455 o.workItemServiceStates = buildUnnamed3147();
1456 } 1456 }
1457 buildCounterReportWorkItemStatusResponse--; 1457 buildCounterReportWorkItemStatusResponse--;
1458 return o; 1458 return o;
1459 } 1459 }
1460 1460
1461 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { 1461 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
1462 buildCounterReportWorkItemStatusResponse++; 1462 buildCounterReportWorkItemStatusResponse++;
1463 if (buildCounterReportWorkItemStatusResponse < 3) { 1463 if (buildCounterReportWorkItemStatusResponse < 3) {
1464 checkUnnamed2822(o.workItemServiceStates); 1464 checkUnnamed3147(o.workItemServiceStates);
1465 } 1465 }
1466 buildCounterReportWorkItemStatusResponse--; 1466 buildCounterReportWorkItemStatusResponse--;
1467 } 1467 }
1468 1468
1469 core.int buildCounterReportedParallelism = 0; 1469 core.int buildCounterReportedParallelism = 0;
1470 buildReportedParallelism() { 1470 buildReportedParallelism() {
1471 var o = new api.ReportedParallelism(); 1471 var o = new api.ReportedParallelism();
1472 buildCounterReportedParallelism++; 1472 buildCounterReportedParallelism++;
1473 if (buildCounterReportedParallelism < 3) { 1473 if (buildCounterReportedParallelism < 3) {
1474 o.isInfinite = true; 1474 o.isInfinite = true;
1475 o.value = 42.0; 1475 o.value = 42.0;
1476 } 1476 }
1477 buildCounterReportedParallelism--; 1477 buildCounterReportedParallelism--;
1478 return o; 1478 return o;
1479 } 1479 }
1480 1480
1481 checkReportedParallelism(api.ReportedParallelism o) { 1481 checkReportedParallelism(api.ReportedParallelism o) {
1482 buildCounterReportedParallelism++; 1482 buildCounterReportedParallelism++;
1483 if (buildCounterReportedParallelism < 3) { 1483 if (buildCounterReportedParallelism < 3) {
1484 unittest.expect(o.isInfinite, unittest.isTrue); 1484 unittest.expect(o.isInfinite, unittest.isTrue);
1485 unittest.expect(o.value, unittest.equals(42.0)); 1485 unittest.expect(o.value, unittest.equals(42.0));
1486 } 1486 }
1487 buildCounterReportedParallelism--; 1487 buildCounterReportedParallelism--;
1488 } 1488 }
1489 1489
1490 buildUnnamed2823() { 1490 buildUnnamed3148() {
1491 var o = new core.List<api.WorkerMessage>(); 1491 var o = new core.List<api.WorkerMessage>();
1492 o.add(buildWorkerMessage()); 1492 o.add(buildWorkerMessage());
1493 o.add(buildWorkerMessage()); 1493 o.add(buildWorkerMessage());
1494 return o; 1494 return o;
1495 } 1495 }
1496 1496
1497 checkUnnamed2823(core.List<api.WorkerMessage> o) { 1497 checkUnnamed3148(core.List<api.WorkerMessage> o) {
1498 unittest.expect(o, unittest.hasLength(2)); 1498 unittest.expect(o, unittest.hasLength(2));
1499 checkWorkerMessage(o[0]); 1499 checkWorkerMessage(o[0]);
1500 checkWorkerMessage(o[1]); 1500 checkWorkerMessage(o[1]);
1501 } 1501 }
1502 1502
1503 core.int buildCounterSendWorkerMessagesRequest = 0; 1503 core.int buildCounterSendWorkerMessagesRequest = 0;
1504 buildSendWorkerMessagesRequest() { 1504 buildSendWorkerMessagesRequest() {
1505 var o = new api.SendWorkerMessagesRequest(); 1505 var o = new api.SendWorkerMessagesRequest();
1506 buildCounterSendWorkerMessagesRequest++; 1506 buildCounterSendWorkerMessagesRequest++;
1507 if (buildCounterSendWorkerMessagesRequest < 3) { 1507 if (buildCounterSendWorkerMessagesRequest < 3) {
1508 o.workerMessages = buildUnnamed2823(); 1508 o.workerMessages = buildUnnamed3148();
1509 } 1509 }
1510 buildCounterSendWorkerMessagesRequest--; 1510 buildCounterSendWorkerMessagesRequest--;
1511 return o; 1511 return o;
1512 } 1512 }
1513 1513
1514 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) { 1514 checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) {
1515 buildCounterSendWorkerMessagesRequest++; 1515 buildCounterSendWorkerMessagesRequest++;
1516 if (buildCounterSendWorkerMessagesRequest < 3) { 1516 if (buildCounterSendWorkerMessagesRequest < 3) {
1517 checkUnnamed2823(o.workerMessages); 1517 checkUnnamed3148(o.workerMessages);
1518 } 1518 }
1519 buildCounterSendWorkerMessagesRequest--; 1519 buildCounterSendWorkerMessagesRequest--;
1520 } 1520 }
1521 1521
1522 buildUnnamed2824() { 1522 buildUnnamed3149() {
1523 var o = new core.List<api.WorkerMessageResponse>(); 1523 var o = new core.List<api.WorkerMessageResponse>();
1524 o.add(buildWorkerMessageResponse()); 1524 o.add(buildWorkerMessageResponse());
1525 o.add(buildWorkerMessageResponse()); 1525 o.add(buildWorkerMessageResponse());
1526 return o; 1526 return o;
1527 } 1527 }
1528 1528
1529 checkUnnamed2824(core.List<api.WorkerMessageResponse> o) { 1529 checkUnnamed3149(core.List<api.WorkerMessageResponse> o) {
1530 unittest.expect(o, unittest.hasLength(2)); 1530 unittest.expect(o, unittest.hasLength(2));
1531 checkWorkerMessageResponse(o[0]); 1531 checkWorkerMessageResponse(o[0]);
1532 checkWorkerMessageResponse(o[1]); 1532 checkWorkerMessageResponse(o[1]);
1533 } 1533 }
1534 1534
1535 core.int buildCounterSendWorkerMessagesResponse = 0; 1535 core.int buildCounterSendWorkerMessagesResponse = 0;
1536 buildSendWorkerMessagesResponse() { 1536 buildSendWorkerMessagesResponse() {
1537 var o = new api.SendWorkerMessagesResponse(); 1537 var o = new api.SendWorkerMessagesResponse();
1538 buildCounterSendWorkerMessagesResponse++; 1538 buildCounterSendWorkerMessagesResponse++;
1539 if (buildCounterSendWorkerMessagesResponse < 3) { 1539 if (buildCounterSendWorkerMessagesResponse < 3) {
1540 o.workerMessageResponses = buildUnnamed2824(); 1540 o.workerMessageResponses = buildUnnamed3149();
1541 } 1541 }
1542 buildCounterSendWorkerMessagesResponse--; 1542 buildCounterSendWorkerMessagesResponse--;
1543 return o; 1543 return o;
1544 } 1544 }
1545 1545
1546 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) { 1546 checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
1547 buildCounterSendWorkerMessagesResponse++; 1547 buildCounterSendWorkerMessagesResponse++;
1548 if (buildCounterSendWorkerMessagesResponse < 3) { 1548 if (buildCounterSendWorkerMessagesResponse < 3) {
1549 checkUnnamed2824(o.workerMessageResponses); 1549 checkUnnamed3149(o.workerMessageResponses);
1550 } 1550 }
1551 buildCounterSendWorkerMessagesResponse--; 1551 buildCounterSendWorkerMessagesResponse--;
1552 } 1552 }
1553 1553
1554 buildUnnamed2825() { 1554 buildUnnamed3150() {
1555 var o = new core.List<api.SideInputInfo>(); 1555 var o = new core.List<api.SideInputInfo>();
1556 o.add(buildSideInputInfo()); 1556 o.add(buildSideInputInfo());
1557 o.add(buildSideInputInfo()); 1557 o.add(buildSideInputInfo());
1558 return o; 1558 return o;
1559 } 1559 }
1560 1560
1561 checkUnnamed2825(core.List<api.SideInputInfo> o) { 1561 checkUnnamed3150(core.List<api.SideInputInfo> o) {
1562 unittest.expect(o, unittest.hasLength(2)); 1562 unittest.expect(o, unittest.hasLength(2));
1563 checkSideInputInfo(o[0]); 1563 checkSideInputInfo(o[0]);
1564 checkSideInputInfo(o[1]); 1564 checkSideInputInfo(o[1]);
1565 } 1565 }
1566 1566
1567 buildUnnamed2826() { 1567 buildUnnamed3151() {
1568 var o = new core.List<api.SeqMapTaskOutputInfo>(); 1568 var o = new core.List<api.SeqMapTaskOutputInfo>();
1569 o.add(buildSeqMapTaskOutputInfo()); 1569 o.add(buildSeqMapTaskOutputInfo());
1570 o.add(buildSeqMapTaskOutputInfo()); 1570 o.add(buildSeqMapTaskOutputInfo());
1571 return o; 1571 return o;
1572 } 1572 }
1573 1573
1574 checkUnnamed2826(core.List<api.SeqMapTaskOutputInfo> o) { 1574 checkUnnamed3151(core.List<api.SeqMapTaskOutputInfo> o) {
1575 unittest.expect(o, unittest.hasLength(2)); 1575 unittest.expect(o, unittest.hasLength(2));
1576 checkSeqMapTaskOutputInfo(o[0]); 1576 checkSeqMapTaskOutputInfo(o[0]);
1577 checkSeqMapTaskOutputInfo(o[1]); 1577 checkSeqMapTaskOutputInfo(o[1]);
1578 } 1578 }
1579 1579
1580 buildUnnamed2827() { 1580 buildUnnamed3152() {
1581 var o = new core.Map<core.String, core.Object>(); 1581 var o = new core.Map<core.String, core.Object>();
1582 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1582 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1583 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1583 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1584 return o; 1584 return o;
1585 } 1585 }
1586 1586
1587 checkUnnamed2827(core.Map<core.String, core.Object> o) { 1587 checkUnnamed3152(core.Map<core.String, core.Object> o) {
1588 unittest.expect(o, unittest.hasLength(2)); 1588 unittest.expect(o, unittest.hasLength(2));
1589 var casted22 = (o["x"]) as core.Map; unittest.expect(casted22, unittest.hasLen gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest .expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri ng"], unittest.equals('foo')); 1589 var casted22 = (o["x"]) as core.Map; unittest.expect(casted22, unittest.hasLen gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest .expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri ng"], unittest.equals('foo'));
1590 var casted23 = (o["y"]) as core.Map; unittest.expect(casted23, unittest.hasLen gth(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest .expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["stri ng"], unittest.equals('foo')); 1590 var casted23 = (o["y"]) as core.Map; unittest.expect(casted23, unittest.hasLen gth(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest .expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["stri ng"], unittest.equals('foo'));
1591 } 1591 }
1592 1592
1593 core.int buildCounterSeqMapTask = 0; 1593 core.int buildCounterSeqMapTask = 0;
1594 buildSeqMapTask() { 1594 buildSeqMapTask() {
1595 var o = new api.SeqMapTask(); 1595 var o = new api.SeqMapTask();
1596 buildCounterSeqMapTask++; 1596 buildCounterSeqMapTask++;
1597 if (buildCounterSeqMapTask < 3) { 1597 if (buildCounterSeqMapTask < 3) {
1598 o.inputs = buildUnnamed2825(); 1598 o.inputs = buildUnnamed3150();
1599 o.name = "foo"; 1599 o.name = "foo";
1600 o.outputInfos = buildUnnamed2826(); 1600 o.outputInfos = buildUnnamed3151();
1601 o.stageName = "foo"; 1601 o.stageName = "foo";
1602 o.systemName = "foo"; 1602 o.systemName = "foo";
1603 o.userFn = buildUnnamed2827(); 1603 o.userFn = buildUnnamed3152();
1604 } 1604 }
1605 buildCounterSeqMapTask--; 1605 buildCounterSeqMapTask--;
1606 return o; 1606 return o;
1607 } 1607 }
1608 1608
1609 checkSeqMapTask(api.SeqMapTask o) { 1609 checkSeqMapTask(api.SeqMapTask o) {
1610 buildCounterSeqMapTask++; 1610 buildCounterSeqMapTask++;
1611 if (buildCounterSeqMapTask < 3) { 1611 if (buildCounterSeqMapTask < 3) {
1612 checkUnnamed2825(o.inputs); 1612 checkUnnamed3150(o.inputs);
1613 unittest.expect(o.name, unittest.equals('foo')); 1613 unittest.expect(o.name, unittest.equals('foo'));
1614 checkUnnamed2826(o.outputInfos); 1614 checkUnnamed3151(o.outputInfos);
1615 unittest.expect(o.stageName, unittest.equals('foo')); 1615 unittest.expect(o.stageName, unittest.equals('foo'));
1616 unittest.expect(o.systemName, unittest.equals('foo')); 1616 unittest.expect(o.systemName, unittest.equals('foo'));
1617 checkUnnamed2827(o.userFn); 1617 checkUnnamed3152(o.userFn);
1618 } 1618 }
1619 buildCounterSeqMapTask--; 1619 buildCounterSeqMapTask--;
1620 } 1620 }
1621 1621
1622 core.int buildCounterSeqMapTaskOutputInfo = 0; 1622 core.int buildCounterSeqMapTaskOutputInfo = 0;
1623 buildSeqMapTaskOutputInfo() { 1623 buildSeqMapTaskOutputInfo() {
1624 var o = new api.SeqMapTaskOutputInfo(); 1624 var o = new api.SeqMapTaskOutputInfo();
1625 buildCounterSeqMapTaskOutputInfo++; 1625 buildCounterSeqMapTaskOutputInfo++;
1626 if (buildCounterSeqMapTaskOutputInfo < 3) { 1626 if (buildCounterSeqMapTaskOutputInfo < 3) {
1627 o.sink = buildSink(); 1627 o.sink = buildSink();
(...skipping 26 matching lines...) Expand all
1654 1654
1655 checkShellTask(api.ShellTask o) { 1655 checkShellTask(api.ShellTask o) {
1656 buildCounterShellTask++; 1656 buildCounterShellTask++;
1657 if (buildCounterShellTask < 3) { 1657 if (buildCounterShellTask < 3) {
1658 unittest.expect(o.command, unittest.equals('foo')); 1658 unittest.expect(o.command, unittest.equals('foo'));
1659 unittest.expect(o.exitCode, unittest.equals(42)); 1659 unittest.expect(o.exitCode, unittest.equals(42));
1660 } 1660 }
1661 buildCounterShellTask--; 1661 buildCounterShellTask--;
1662 } 1662 }
1663 1663
1664 buildUnnamed2828() { 1664 buildUnnamed3153() {
1665 var o = new core.Map<core.String, core.Object>(); 1665 var o = new core.Map<core.String, core.Object>();
1666 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1666 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1667 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1667 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1668 return o; 1668 return o;
1669 } 1669 }
1670 1670
1671 checkUnnamed2828(core.Map<core.String, core.Object> o) { 1671 checkUnnamed3153(core.Map<core.String, core.Object> o) {
1672 unittest.expect(o, unittest.hasLength(2)); 1672 unittest.expect(o, unittest.hasLength(2));
1673 var casted24 = (o["x"]) as core.Map; unittest.expect(casted24, unittest.hasLen gth(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest .expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["stri ng"], unittest.equals('foo')); 1673 var casted24 = (o["x"]) as core.Map; unittest.expect(casted24, unittest.hasLen gth(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest .expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["stri ng"], unittest.equals('foo'));
1674 var casted25 = (o["y"]) as core.Map; unittest.expect(casted25, unittest.hasLen gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest .expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri ng"], unittest.equals('foo')); 1674 var casted25 = (o["y"]) as core.Map; unittest.expect(casted25, unittest.hasLen gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest .expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri ng"], unittest.equals('foo'));
1675 } 1675 }
1676 1676
1677 buildUnnamed2829() { 1677 buildUnnamed3154() {
1678 var o = new core.List<api.Source>(); 1678 var o = new core.List<api.Source>();
1679 o.add(buildSource()); 1679 o.add(buildSource());
1680 o.add(buildSource()); 1680 o.add(buildSource());
1681 return o; 1681 return o;
1682 } 1682 }
1683 1683
1684 checkUnnamed2829(core.List<api.Source> o) { 1684 checkUnnamed3154(core.List<api.Source> o) {
1685 unittest.expect(o, unittest.hasLength(2)); 1685 unittest.expect(o, unittest.hasLength(2));
1686 checkSource(o[0]); 1686 checkSource(o[0]);
1687 checkSource(o[1]); 1687 checkSource(o[1]);
1688 } 1688 }
1689 1689
1690 core.int buildCounterSideInputInfo = 0; 1690 core.int buildCounterSideInputInfo = 0;
1691 buildSideInputInfo() { 1691 buildSideInputInfo() {
1692 var o = new api.SideInputInfo(); 1692 var o = new api.SideInputInfo();
1693 buildCounterSideInputInfo++; 1693 buildCounterSideInputInfo++;
1694 if (buildCounterSideInputInfo < 3) { 1694 if (buildCounterSideInputInfo < 3) {
1695 o.kind = buildUnnamed2828(); 1695 o.kind = buildUnnamed3153();
1696 o.sources = buildUnnamed2829(); 1696 o.sources = buildUnnamed3154();
1697 o.tag = "foo"; 1697 o.tag = "foo";
1698 } 1698 }
1699 buildCounterSideInputInfo--; 1699 buildCounterSideInputInfo--;
1700 return o; 1700 return o;
1701 } 1701 }
1702 1702
1703 checkSideInputInfo(api.SideInputInfo o) { 1703 checkSideInputInfo(api.SideInputInfo o) {
1704 buildCounterSideInputInfo++; 1704 buildCounterSideInputInfo++;
1705 if (buildCounterSideInputInfo < 3) { 1705 if (buildCounterSideInputInfo < 3) {
1706 checkUnnamed2828(o.kind); 1706 checkUnnamed3153(o.kind);
1707 checkUnnamed2829(o.sources); 1707 checkUnnamed3154(o.sources);
1708 unittest.expect(o.tag, unittest.equals('foo')); 1708 unittest.expect(o.tag, unittest.equals('foo'));
1709 } 1709 }
1710 buildCounterSideInputInfo--; 1710 buildCounterSideInputInfo--;
1711 } 1711 }
1712 1712
1713 buildUnnamed2830() { 1713 buildUnnamed3155() {
1714 var o = new core.Map<core.String, core.Object>(); 1714 var o = new core.Map<core.String, core.Object>();
1715 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1715 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1716 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1716 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1717 return o; 1717 return o;
1718 } 1718 }
1719 1719
1720 checkUnnamed2830(core.Map<core.String, core.Object> o) { 1720 checkUnnamed3155(core.Map<core.String, core.Object> o) {
1721 unittest.expect(o, unittest.hasLength(2)); 1721 unittest.expect(o, unittest.hasLength(2));
1722 var casted26 = (o["x"]) as core.Map; unittest.expect(casted26, unittest.hasLen gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest .expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri ng"], unittest.equals('foo')); 1722 var casted26 = (o["x"]) as core.Map; unittest.expect(casted26, unittest.hasLen gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest .expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri ng"], unittest.equals('foo'));
1723 var casted27 = (o["y"]) as core.Map; unittest.expect(casted27, unittest.hasLen gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest .expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri ng"], unittest.equals('foo')); 1723 var casted27 = (o["y"]) as core.Map; unittest.expect(casted27, unittest.hasLen gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest .expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri ng"], unittest.equals('foo'));
1724 } 1724 }
1725 1725
1726 buildUnnamed2831() { 1726 buildUnnamed3156() {
1727 var o = new core.Map<core.String, core.Object>(); 1727 var o = new core.Map<core.String, core.Object>();
1728 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1728 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1729 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1729 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1730 return o; 1730 return o;
1731 } 1731 }
1732 1732
1733 checkUnnamed2831(core.Map<core.String, core.Object> o) { 1733 checkUnnamed3156(core.Map<core.String, core.Object> o) {
1734 unittest.expect(o, unittest.hasLength(2)); 1734 unittest.expect(o, unittest.hasLength(2));
1735 var casted28 = (o["x"]) as core.Map; unittest.expect(casted28, unittest.hasLen gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest .expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri ng"], unittest.equals('foo')); 1735 var casted28 = (o["x"]) as core.Map; unittest.expect(casted28, unittest.hasLen gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest .expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri ng"], unittest.equals('foo'));
1736 var casted29 = (o["y"]) as core.Map; unittest.expect(casted29, unittest.hasLen gth(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest .expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["stri ng"], unittest.equals('foo')); 1736 var casted29 = (o["y"]) as core.Map; unittest.expect(casted29, unittest.hasLen gth(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest .expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["stri ng"], unittest.equals('foo'));
1737 } 1737 }
1738 1738
1739 core.int buildCounterSink = 0; 1739 core.int buildCounterSink = 0;
1740 buildSink() { 1740 buildSink() {
1741 var o = new api.Sink(); 1741 var o = new api.Sink();
1742 buildCounterSink++; 1742 buildCounterSink++;
1743 if (buildCounterSink < 3) { 1743 if (buildCounterSink < 3) {
1744 o.codec = buildUnnamed2830(); 1744 o.codec = buildUnnamed3155();
1745 o.spec = buildUnnamed2831(); 1745 o.spec = buildUnnamed3156();
1746 } 1746 }
1747 buildCounterSink--; 1747 buildCounterSink--;
1748 return o; 1748 return o;
1749 } 1749 }
1750 1750
1751 checkSink(api.Sink o) { 1751 checkSink(api.Sink o) {
1752 buildCounterSink++; 1752 buildCounterSink++;
1753 if (buildCounterSink < 3) { 1753 if (buildCounterSink < 3) {
1754 checkUnnamed2830(o.codec); 1754 checkUnnamed3155(o.codec);
1755 checkUnnamed2831(o.spec); 1755 checkUnnamed3156(o.spec);
1756 } 1756 }
1757 buildCounterSink--; 1757 buildCounterSink--;
1758 } 1758 }
1759 1759
1760 buildUnnamed2832() { 1760 buildUnnamed3157() {
1761 var o = new core.Map<core.String, core.Object>(); 1761 var o = new core.Map<core.String, core.Object>();
1762 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1762 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1763 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1763 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1764 return o; 1764 return o;
1765 } 1765 }
1766 1766
1767 checkUnnamed2832(core.Map<core.String, core.Object> o) { 1767 checkUnnamed3157(core.Map<core.String, core.Object> o) {
1768 unittest.expect(o, unittest.hasLength(2)); 1768 unittest.expect(o, unittest.hasLength(2));
1769 var casted30 = (o["x"]) as core.Map; unittest.expect(casted30, unittest.hasLen gth(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest .expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["stri ng"], unittest.equals('foo')); 1769 var casted30 = (o["x"]) as core.Map; unittest.expect(casted30, unittest.hasLen gth(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest .expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["stri ng"], unittest.equals('foo'));
1770 var casted31 = (o["y"]) as core.Map; unittest.expect(casted31, unittest.hasLen gth(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest .expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["stri ng"], unittest.equals('foo')); 1770 var casted31 = (o["y"]) as core.Map; unittest.expect(casted31, unittest.hasLen gth(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest .expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["stri ng"], unittest.equals('foo'));
1771 } 1771 }
1772 1772
1773 buildUnnamed2833() { 1773 buildUnnamed3158() {
1774 var o = new core.List<core.Map<core.String, core.Object>>(); 1774 var o = new core.List<core.Map<core.String, core.Object>>();
1775 o.add(buildUnnamed2832()); 1775 o.add(buildUnnamed3157());
1776 o.add(buildUnnamed2832()); 1776 o.add(buildUnnamed3157());
1777 return o; 1777 return o;
1778 } 1778 }
1779 1779
1780 checkUnnamed2833(core.List<core.Map<core.String, core.Object>> o) { 1780 checkUnnamed3158(core.List<core.Map<core.String, core.Object>> o) {
1781 unittest.expect(o, unittest.hasLength(2)); 1781 unittest.expect(o, unittest.hasLength(2));
1782 checkUnnamed2832(o[0]); 1782 checkUnnamed3157(o[0]);
1783 checkUnnamed2832(o[1]); 1783 checkUnnamed3157(o[1]);
1784 } 1784 }
1785 1785
1786 buildUnnamed2834() { 1786 buildUnnamed3159() {
1787 var o = new core.Map<core.String, core.Object>(); 1787 var o = new core.Map<core.String, core.Object>();
1788 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1788 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1789 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1789 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1790 return o; 1790 return o;
1791 } 1791 }
1792 1792
1793 checkUnnamed2834(core.Map<core.String, core.Object> o) { 1793 checkUnnamed3159(core.Map<core.String, core.Object> o) {
1794 unittest.expect(o, unittest.hasLength(2)); 1794 unittest.expect(o, unittest.hasLength(2));
1795 var casted32 = (o["x"]) as core.Map; unittest.expect(casted32, unittest.hasLen gth(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest .expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["stri ng"], unittest.equals('foo')); 1795 var casted32 = (o["x"]) as core.Map; unittest.expect(casted32, unittest.hasLen gth(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest .expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["stri ng"], unittest.equals('foo'));
1796 var casted33 = (o["y"]) as core.Map; unittest.expect(casted33, unittest.hasLen gth(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest .expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["stri ng"], unittest.equals('foo')); 1796 var casted33 = (o["y"]) as core.Map; unittest.expect(casted33, unittest.hasLen gth(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest .expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["stri ng"], unittest.equals('foo'));
1797 } 1797 }
1798 1798
1799 buildUnnamed2835() { 1799 buildUnnamed3160() {
1800 var o = new core.Map<core.String, core.Object>(); 1800 var o = new core.Map<core.String, core.Object>();
1801 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1801 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1802 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1802 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1803 return o; 1803 return o;
1804 } 1804 }
1805 1805
1806 checkUnnamed2835(core.Map<core.String, core.Object> o) { 1806 checkUnnamed3160(core.Map<core.String, core.Object> o) {
1807 unittest.expect(o, unittest.hasLength(2)); 1807 unittest.expect(o, unittest.hasLength(2));
1808 var casted34 = (o["x"]) as core.Map; unittest.expect(casted34, unittest.hasLen gth(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest .expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["stri ng"], unittest.equals('foo')); 1808 var casted34 = (o["x"]) as core.Map; unittest.expect(casted34, unittest.hasLen gth(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest .expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["stri ng"], unittest.equals('foo'));
1809 var casted35 = (o["y"]) as core.Map; unittest.expect(casted35, unittest.hasLen gth(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest .expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["stri ng"], unittest.equals('foo')); 1809 var casted35 = (o["y"]) as core.Map; unittest.expect(casted35, unittest.hasLen gth(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest .expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["stri ng"], unittest.equals('foo'));
1810 } 1810 }
1811 1811
1812 core.int buildCounterSource = 0; 1812 core.int buildCounterSource = 0;
1813 buildSource() { 1813 buildSource() {
1814 var o = new api.Source(); 1814 var o = new api.Source();
1815 buildCounterSource++; 1815 buildCounterSource++;
1816 if (buildCounterSource < 3) { 1816 if (buildCounterSource < 3) {
1817 o.baseSpecs = buildUnnamed2833(); 1817 o.baseSpecs = buildUnnamed3158();
1818 o.codec = buildUnnamed2834(); 1818 o.codec = buildUnnamed3159();
1819 o.doesNotNeedSplitting = true; 1819 o.doesNotNeedSplitting = true;
1820 o.metadata = buildSourceMetadata(); 1820 o.metadata = buildSourceMetadata();
1821 o.spec = buildUnnamed2835(); 1821 o.spec = buildUnnamed3160();
1822 } 1822 }
1823 buildCounterSource--; 1823 buildCounterSource--;
1824 return o; 1824 return o;
1825 } 1825 }
1826 1826
1827 checkSource(api.Source o) { 1827 checkSource(api.Source o) {
1828 buildCounterSource++; 1828 buildCounterSource++;
1829 if (buildCounterSource < 3) { 1829 if (buildCounterSource < 3) {
1830 checkUnnamed2833(o.baseSpecs); 1830 checkUnnamed3158(o.baseSpecs);
1831 checkUnnamed2834(o.codec); 1831 checkUnnamed3159(o.codec);
1832 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); 1832 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
1833 checkSourceMetadata(o.metadata); 1833 checkSourceMetadata(o.metadata);
1834 checkUnnamed2835(o.spec); 1834 checkUnnamed3160(o.spec);
1835 } 1835 }
1836 buildCounterSource--; 1836 buildCounterSource--;
1837 } 1837 }
1838 1838
1839 core.int buildCounterSourceFork = 0; 1839 core.int buildCounterSourceFork = 0;
1840 buildSourceFork() { 1840 buildSourceFork() {
1841 var o = new api.SourceFork(); 1841 var o = new api.SourceFork();
1842 buildCounterSourceFork++; 1842 buildCounterSourceFork++;
1843 if (buildCounterSourceFork < 3) { 1843 if (buildCounterSourceFork < 3) {
1844 o.primary = buildSourceSplitShard(); 1844 o.primary = buildSourceSplitShard();
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 1999
2000 checkSourceSplitRequest(api.SourceSplitRequest o) { 2000 checkSourceSplitRequest(api.SourceSplitRequest o) {
2001 buildCounterSourceSplitRequest++; 2001 buildCounterSourceSplitRequest++;
2002 if (buildCounterSourceSplitRequest < 3) { 2002 if (buildCounterSourceSplitRequest < 3) {
2003 checkSourceSplitOptions(o.options); 2003 checkSourceSplitOptions(o.options);
2004 checkSource(o.source); 2004 checkSource(o.source);
2005 } 2005 }
2006 buildCounterSourceSplitRequest--; 2006 buildCounterSourceSplitRequest--;
2007 } 2007 }
2008 2008
2009 buildUnnamed2836() { 2009 buildUnnamed3161() {
2010 var o = new core.List<api.DerivedSource>(); 2010 var o = new core.List<api.DerivedSource>();
2011 o.add(buildDerivedSource()); 2011 o.add(buildDerivedSource());
2012 o.add(buildDerivedSource()); 2012 o.add(buildDerivedSource());
2013 return o; 2013 return o;
2014 } 2014 }
2015 2015
2016 checkUnnamed2836(core.List<api.DerivedSource> o) { 2016 checkUnnamed3161(core.List<api.DerivedSource> o) {
2017 unittest.expect(o, unittest.hasLength(2)); 2017 unittest.expect(o, unittest.hasLength(2));
2018 checkDerivedSource(o[0]); 2018 checkDerivedSource(o[0]);
2019 checkDerivedSource(o[1]); 2019 checkDerivedSource(o[1]);
2020 } 2020 }
2021 2021
2022 buildUnnamed2837() { 2022 buildUnnamed3162() {
2023 var o = new core.List<api.SourceSplitShard>(); 2023 var o = new core.List<api.SourceSplitShard>();
2024 o.add(buildSourceSplitShard()); 2024 o.add(buildSourceSplitShard());
2025 o.add(buildSourceSplitShard()); 2025 o.add(buildSourceSplitShard());
2026 return o; 2026 return o;
2027 } 2027 }
2028 2028
2029 checkUnnamed2837(core.List<api.SourceSplitShard> o) { 2029 checkUnnamed3162(core.List<api.SourceSplitShard> o) {
2030 unittest.expect(o, unittest.hasLength(2)); 2030 unittest.expect(o, unittest.hasLength(2));
2031 checkSourceSplitShard(o[0]); 2031 checkSourceSplitShard(o[0]);
2032 checkSourceSplitShard(o[1]); 2032 checkSourceSplitShard(o[1]);
2033 } 2033 }
2034 2034
2035 core.int buildCounterSourceSplitResponse = 0; 2035 core.int buildCounterSourceSplitResponse = 0;
2036 buildSourceSplitResponse() { 2036 buildSourceSplitResponse() {
2037 var o = new api.SourceSplitResponse(); 2037 var o = new api.SourceSplitResponse();
2038 buildCounterSourceSplitResponse++; 2038 buildCounterSourceSplitResponse++;
2039 if (buildCounterSourceSplitResponse < 3) { 2039 if (buildCounterSourceSplitResponse < 3) {
2040 o.bundles = buildUnnamed2836(); 2040 o.bundles = buildUnnamed3161();
2041 o.outcome = "foo"; 2041 o.outcome = "foo";
2042 o.shards = buildUnnamed2837(); 2042 o.shards = buildUnnamed3162();
2043 } 2043 }
2044 buildCounterSourceSplitResponse--; 2044 buildCounterSourceSplitResponse--;
2045 return o; 2045 return o;
2046 } 2046 }
2047 2047
2048 checkSourceSplitResponse(api.SourceSplitResponse o) { 2048 checkSourceSplitResponse(api.SourceSplitResponse o) {
2049 buildCounterSourceSplitResponse++; 2049 buildCounterSourceSplitResponse++;
2050 if (buildCounterSourceSplitResponse < 3) { 2050 if (buildCounterSourceSplitResponse < 3) {
2051 checkUnnamed2836(o.bundles); 2051 checkUnnamed3161(o.bundles);
2052 unittest.expect(o.outcome, unittest.equals('foo')); 2052 unittest.expect(o.outcome, unittest.equals('foo'));
2053 checkUnnamed2837(o.shards); 2053 checkUnnamed3162(o.shards);
2054 } 2054 }
2055 buildCounterSourceSplitResponse--; 2055 buildCounterSourceSplitResponse--;
2056 } 2056 }
2057 2057
2058 core.int buildCounterSourceSplitShard = 0; 2058 core.int buildCounterSourceSplitShard = 0;
2059 buildSourceSplitShard() { 2059 buildSourceSplitShard() {
2060 var o = new api.SourceSplitShard(); 2060 var o = new api.SourceSplitShard();
2061 buildCounterSourceSplitShard++; 2061 buildCounterSourceSplitShard++;
2062 if (buildCounterSourceSplitShard < 3) { 2062 if (buildCounterSourceSplitShard < 3) {
2063 o.derivationMode = "foo"; 2063 o.derivationMode = "foo";
(...skipping 26 matching lines...) Expand all
2090 2090
2091 checkStateFamilyConfig(api.StateFamilyConfig o) { 2091 checkStateFamilyConfig(api.StateFamilyConfig o) {
2092 buildCounterStateFamilyConfig++; 2092 buildCounterStateFamilyConfig++;
2093 if (buildCounterStateFamilyConfig < 3) { 2093 if (buildCounterStateFamilyConfig < 3) {
2094 unittest.expect(o.isRead, unittest.isTrue); 2094 unittest.expect(o.isRead, unittest.isTrue);
2095 unittest.expect(o.stateFamily, unittest.equals('foo')); 2095 unittest.expect(o.stateFamily, unittest.equals('foo'));
2096 } 2096 }
2097 buildCounterStateFamilyConfig--; 2097 buildCounterStateFamilyConfig--;
2098 } 2098 }
2099 2099
2100 buildUnnamed2838() { 2100 buildUnnamed3163() {
2101 var o = new core.Map<core.String, core.Object>(); 2101 var o = new core.Map<core.String, core.Object>();
2102 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2102 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2103 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2103 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2104 return o; 2104 return o;
2105 } 2105 }
2106 2106
2107 checkUnnamed2838(core.Map<core.String, core.Object> o) { 2107 checkUnnamed3163(core.Map<core.String, core.Object> o) {
2108 unittest.expect(o, unittest.hasLength(2)); 2108 unittest.expect(o, unittest.hasLength(2));
2109 var casted36 = (o["x"]) as core.Map; unittest.expect(casted36, unittest.hasLen gth(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest .expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["stri ng"], unittest.equals('foo')); 2109 var casted36 = (o["x"]) as core.Map; unittest.expect(casted36, unittest.hasLen gth(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest .expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["stri ng"], unittest.equals('foo'));
2110 var casted37 = (o["y"]) as core.Map; unittest.expect(casted37, unittest.hasLen gth(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest .expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["stri ng"], unittest.equals('foo')); 2110 var casted37 = (o["y"]) as core.Map; unittest.expect(casted37, unittest.hasLen gth(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest .expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["stri ng"], unittest.equals('foo'));
2111 } 2111 }
2112 2112
2113 buildUnnamed2839() { 2113 buildUnnamed3164() {
2114 var o = new core.List<core.Map<core.String, core.Object>>(); 2114 var o = new core.List<core.Map<core.String, core.Object>>();
2115 o.add(buildUnnamed2838()); 2115 o.add(buildUnnamed3163());
2116 o.add(buildUnnamed2838()); 2116 o.add(buildUnnamed3163());
2117 return o; 2117 return o;
2118 } 2118 }
2119 2119
2120 checkUnnamed2839(core.List<core.Map<core.String, core.Object>> o) { 2120 checkUnnamed3164(core.List<core.Map<core.String, core.Object>> o) {
2121 unittest.expect(o, unittest.hasLength(2)); 2121 unittest.expect(o, unittest.hasLength(2));
2122 checkUnnamed2838(o[0]); 2122 checkUnnamed3163(o[0]);
2123 checkUnnamed2838(o[1]); 2123 checkUnnamed3163(o[1]);
2124 } 2124 }
2125 2125
2126 core.int buildCounterStatus = 0; 2126 core.int buildCounterStatus = 0;
2127 buildStatus() { 2127 buildStatus() {
2128 var o = new api.Status(); 2128 var o = new api.Status();
2129 buildCounterStatus++; 2129 buildCounterStatus++;
2130 if (buildCounterStatus < 3) { 2130 if (buildCounterStatus < 3) {
2131 o.code = 42; 2131 o.code = 42;
2132 o.details = buildUnnamed2839(); 2132 o.details = buildUnnamed3164();
2133 o.message = "foo"; 2133 o.message = "foo";
2134 } 2134 }
2135 buildCounterStatus--; 2135 buildCounterStatus--;
2136 return o; 2136 return o;
2137 } 2137 }
2138 2138
2139 checkStatus(api.Status o) { 2139 checkStatus(api.Status o) {
2140 buildCounterStatus++; 2140 buildCounterStatus++;
2141 if (buildCounterStatus < 3) { 2141 if (buildCounterStatus < 3) {
2142 unittest.expect(o.code, unittest.equals(42)); 2142 unittest.expect(o.code, unittest.equals(42));
2143 checkUnnamed2839(o.details); 2143 checkUnnamed3164(o.details);
2144 unittest.expect(o.message, unittest.equals('foo')); 2144 unittest.expect(o.message, unittest.equals('foo'));
2145 } 2145 }
2146 buildCounterStatus--; 2146 buildCounterStatus--;
2147 } 2147 }
2148 2148
2149 buildUnnamed2840() { 2149 buildUnnamed3165() {
2150 var o = new core.Map<core.String, core.Object>(); 2150 var o = new core.Map<core.String, core.Object>();
2151 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2151 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2152 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2152 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2153 return o; 2153 return o;
2154 } 2154 }
2155 2155
2156 checkUnnamed2840(core.Map<core.String, core.Object> o) { 2156 checkUnnamed3165(core.Map<core.String, core.Object> o) {
2157 unittest.expect(o, unittest.hasLength(2)); 2157 unittest.expect(o, unittest.hasLength(2));
2158 var casted38 = (o["x"]) as core.Map; unittest.expect(casted38, unittest.hasLen gth(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest .expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["stri ng"], unittest.equals('foo')); 2158 var casted38 = (o["x"]) as core.Map; unittest.expect(casted38, unittest.hasLen gth(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest .expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["stri ng"], unittest.equals('foo'));
2159 var casted39 = (o["y"]) as core.Map; unittest.expect(casted39, unittest.hasLen gth(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest .expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["stri ng"], unittest.equals('foo')); 2159 var casted39 = (o["y"]) as core.Map; unittest.expect(casted39, unittest.hasLen gth(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest .expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["stri ng"], unittest.equals('foo'));
2160 } 2160 }
2161 2161
2162 core.int buildCounterStep = 0; 2162 core.int buildCounterStep = 0;
2163 buildStep() { 2163 buildStep() {
2164 var o = new api.Step(); 2164 var o = new api.Step();
2165 buildCounterStep++; 2165 buildCounterStep++;
2166 if (buildCounterStep < 3) { 2166 if (buildCounterStep < 3) {
2167 o.kind = "foo"; 2167 o.kind = "foo";
2168 o.name = "foo"; 2168 o.name = "foo";
2169 o.properties = buildUnnamed2840(); 2169 o.properties = buildUnnamed3165();
2170 } 2170 }
2171 buildCounterStep--; 2171 buildCounterStep--;
2172 return o; 2172 return o;
2173 } 2173 }
2174 2174
2175 checkStep(api.Step o) { 2175 checkStep(api.Step o) {
2176 buildCounterStep++; 2176 buildCounterStep++;
2177 if (buildCounterStep < 3) { 2177 if (buildCounterStep < 3) {
2178 unittest.expect(o.kind, unittest.equals('foo')); 2178 unittest.expect(o.kind, unittest.equals('foo'));
2179 unittest.expect(o.name, unittest.equals('foo')); 2179 unittest.expect(o.name, unittest.equals('foo'));
2180 checkUnnamed2840(o.properties); 2180 checkUnnamed3165(o.properties);
2181 } 2181 }
2182 buildCounterStep--; 2182 buildCounterStep--;
2183 } 2183 }
2184 2184
2185 core.int buildCounterStreamLocation = 0; 2185 core.int buildCounterStreamLocation = 0;
2186 buildStreamLocation() { 2186 buildStreamLocation() {
2187 var o = new api.StreamLocation(); 2187 var o = new api.StreamLocation();
2188 buildCounterStreamLocation++; 2188 buildCounterStreamLocation++;
2189 if (buildCounterStreamLocation < 3) { 2189 if (buildCounterStreamLocation < 3) {
2190 o.customSourceLocation = buildCustomSourceLocation(); 2190 o.customSourceLocation = buildCustomSourceLocation();
2191 o.pubsubLocation = buildPubsubLocation(); 2191 o.pubsubLocation = buildPubsubLocation();
2192 o.sideInputLocation = buildStreamingSideInputLocation(); 2192 o.sideInputLocation = buildStreamingSideInputLocation();
2193 o.streamingStageLocation = buildStreamingStageLocation(); 2193 o.streamingStageLocation = buildStreamingStageLocation();
2194 } 2194 }
2195 buildCounterStreamLocation--; 2195 buildCounterStreamLocation--;
2196 return o; 2196 return o;
2197 } 2197 }
2198 2198
2199 checkStreamLocation(api.StreamLocation o) { 2199 checkStreamLocation(api.StreamLocation o) {
2200 buildCounterStreamLocation++; 2200 buildCounterStreamLocation++;
2201 if (buildCounterStreamLocation < 3) { 2201 if (buildCounterStreamLocation < 3) {
2202 checkCustomSourceLocation(o.customSourceLocation); 2202 checkCustomSourceLocation(o.customSourceLocation);
2203 checkPubsubLocation(o.pubsubLocation); 2203 checkPubsubLocation(o.pubsubLocation);
2204 checkStreamingSideInputLocation(o.sideInputLocation); 2204 checkStreamingSideInputLocation(o.sideInputLocation);
2205 checkStreamingStageLocation(o.streamingStageLocation); 2205 checkStreamingStageLocation(o.streamingStageLocation);
2206 } 2206 }
2207 buildCounterStreamLocation--; 2207 buildCounterStreamLocation--;
2208 } 2208 }
2209 2209
2210 buildUnnamed2841() { 2210 buildUnnamed3166() {
2211 var o = new core.List<api.KeyRangeDataDiskAssignment>(); 2211 var o = new core.List<api.KeyRangeDataDiskAssignment>();
2212 o.add(buildKeyRangeDataDiskAssignment()); 2212 o.add(buildKeyRangeDataDiskAssignment());
2213 o.add(buildKeyRangeDataDiskAssignment()); 2213 o.add(buildKeyRangeDataDiskAssignment());
2214 return o; 2214 return o;
2215 } 2215 }
2216 2216
2217 checkUnnamed2841(core.List<api.KeyRangeDataDiskAssignment> o) { 2217 checkUnnamed3166(core.List<api.KeyRangeDataDiskAssignment> o) {
2218 unittest.expect(o, unittest.hasLength(2)); 2218 unittest.expect(o, unittest.hasLength(2));
2219 checkKeyRangeDataDiskAssignment(o[0]); 2219 checkKeyRangeDataDiskAssignment(o[0]);
2220 checkKeyRangeDataDiskAssignment(o[1]); 2220 checkKeyRangeDataDiskAssignment(o[1]);
2221 } 2221 }
2222 2222
2223 core.int buildCounterStreamingComputationRanges = 0; 2223 core.int buildCounterStreamingComputationRanges = 0;
2224 buildStreamingComputationRanges() { 2224 buildStreamingComputationRanges() {
2225 var o = new api.StreamingComputationRanges(); 2225 var o = new api.StreamingComputationRanges();
2226 buildCounterStreamingComputationRanges++; 2226 buildCounterStreamingComputationRanges++;
2227 if (buildCounterStreamingComputationRanges < 3) { 2227 if (buildCounterStreamingComputationRanges < 3) {
2228 o.computationId = "foo"; 2228 o.computationId = "foo";
2229 o.rangeAssignments = buildUnnamed2841(); 2229 o.rangeAssignments = buildUnnamed3166();
2230 } 2230 }
2231 buildCounterStreamingComputationRanges--; 2231 buildCounterStreamingComputationRanges--;
2232 return o; 2232 return o;
2233 } 2233 }
2234 2234
2235 checkStreamingComputationRanges(api.StreamingComputationRanges o) { 2235 checkStreamingComputationRanges(api.StreamingComputationRanges o) {
2236 buildCounterStreamingComputationRanges++; 2236 buildCounterStreamingComputationRanges++;
2237 if (buildCounterStreamingComputationRanges < 3) { 2237 if (buildCounterStreamingComputationRanges < 3) {
2238 unittest.expect(o.computationId, unittest.equals('foo')); 2238 unittest.expect(o.computationId, unittest.equals('foo'));
2239 checkUnnamed2841(o.rangeAssignments); 2239 checkUnnamed3166(o.rangeAssignments);
2240 } 2240 }
2241 buildCounterStreamingComputationRanges--; 2241 buildCounterStreamingComputationRanges--;
2242 } 2242 }
2243 2243
2244 buildUnnamed2842() { 2244 buildUnnamed3167() {
2245 var o = new core.List<api.StreamingComputationRanges>(); 2245 var o = new core.List<api.StreamingComputationRanges>();
2246 o.add(buildStreamingComputationRanges()); 2246 o.add(buildStreamingComputationRanges());
2247 o.add(buildStreamingComputationRanges()); 2247 o.add(buildStreamingComputationRanges());
2248 return o; 2248 return o;
2249 } 2249 }
2250 2250
2251 checkUnnamed2842(core.List<api.StreamingComputationRanges> o) { 2251 checkUnnamed3167(core.List<api.StreamingComputationRanges> o) {
2252 unittest.expect(o, unittest.hasLength(2)); 2252 unittest.expect(o, unittest.hasLength(2));
2253 checkStreamingComputationRanges(o[0]); 2253 checkStreamingComputationRanges(o[0]);
2254 checkStreamingComputationRanges(o[1]); 2254 checkStreamingComputationRanges(o[1]);
2255 } 2255 }
2256 2256
2257 buildUnnamed2843() { 2257 buildUnnamed3168() {
2258 var o = new core.List<api.MountedDataDisk>(); 2258 var o = new core.List<api.MountedDataDisk>();
2259 o.add(buildMountedDataDisk()); 2259 o.add(buildMountedDataDisk());
2260 o.add(buildMountedDataDisk()); 2260 o.add(buildMountedDataDisk());
2261 return o; 2261 return o;
2262 } 2262 }
2263 2263
2264 checkUnnamed2843(core.List<api.MountedDataDisk> o) { 2264 checkUnnamed3168(core.List<api.MountedDataDisk> o) {
2265 unittest.expect(o, unittest.hasLength(2)); 2265 unittest.expect(o, unittest.hasLength(2));
2266 checkMountedDataDisk(o[0]); 2266 checkMountedDataDisk(o[0]);
2267 checkMountedDataDisk(o[1]); 2267 checkMountedDataDisk(o[1]);
2268 } 2268 }
2269 2269
2270 core.int buildCounterStreamingComputationTask = 0; 2270 core.int buildCounterStreamingComputationTask = 0;
2271 buildStreamingComputationTask() { 2271 buildStreamingComputationTask() {
2272 var o = new api.StreamingComputationTask(); 2272 var o = new api.StreamingComputationTask();
2273 buildCounterStreamingComputationTask++; 2273 buildCounterStreamingComputationTask++;
2274 if (buildCounterStreamingComputationTask < 3) { 2274 if (buildCounterStreamingComputationTask < 3) {
2275 o.computationRanges = buildUnnamed2842(); 2275 o.computationRanges = buildUnnamed3167();
2276 o.dataDisks = buildUnnamed2843(); 2276 o.dataDisks = buildUnnamed3168();
2277 o.taskType = "foo"; 2277 o.taskType = "foo";
2278 } 2278 }
2279 buildCounterStreamingComputationTask--; 2279 buildCounterStreamingComputationTask--;
2280 return o; 2280 return o;
2281 } 2281 }
2282 2282
2283 checkStreamingComputationTask(api.StreamingComputationTask o) { 2283 checkStreamingComputationTask(api.StreamingComputationTask o) {
2284 buildCounterStreamingComputationTask++; 2284 buildCounterStreamingComputationTask++;
2285 if (buildCounterStreamingComputationTask < 3) { 2285 if (buildCounterStreamingComputationTask < 3) {
2286 checkUnnamed2842(o.computationRanges); 2286 checkUnnamed3167(o.computationRanges);
2287 checkUnnamed2843(o.dataDisks); 2287 checkUnnamed3168(o.dataDisks);
2288 unittest.expect(o.taskType, unittest.equals('foo')); 2288 unittest.expect(o.taskType, unittest.equals('foo'));
2289 } 2289 }
2290 buildCounterStreamingComputationTask--; 2290 buildCounterStreamingComputationTask--;
2291 } 2291 }
2292 2292
2293 core.int buildCounterStreamingSetupTask = 0; 2293 core.int buildCounterStreamingSetupTask = 0;
2294 buildStreamingSetupTask() { 2294 buildStreamingSetupTask() {
2295 var o = new api.StreamingSetupTask(); 2295 var o = new api.StreamingSetupTask();
2296 buildCounterStreamingSetupTask++; 2296 buildCounterStreamingSetupTask++;
2297 if (buildCounterStreamingSetupTask < 3) { 2297 if (buildCounterStreamingSetupTask < 3) {
2298 o.drain = true;
2298 o.receiveWorkPort = 42; 2299 o.receiveWorkPort = 42;
2299 o.streamingComputationTopology = buildTopologyConfig(); 2300 o.streamingComputationTopology = buildTopologyConfig();
2300 o.workerHarnessPort = 42; 2301 o.workerHarnessPort = 42;
2301 } 2302 }
2302 buildCounterStreamingSetupTask--; 2303 buildCounterStreamingSetupTask--;
2303 return o; 2304 return o;
2304 } 2305 }
2305 2306
2306 checkStreamingSetupTask(api.StreamingSetupTask o) { 2307 checkStreamingSetupTask(api.StreamingSetupTask o) {
2307 buildCounterStreamingSetupTask++; 2308 buildCounterStreamingSetupTask++;
2308 if (buildCounterStreamingSetupTask < 3) { 2309 if (buildCounterStreamingSetupTask < 3) {
2310 unittest.expect(o.drain, unittest.isTrue);
2309 unittest.expect(o.receiveWorkPort, unittest.equals(42)); 2311 unittest.expect(o.receiveWorkPort, unittest.equals(42));
2310 checkTopologyConfig(o.streamingComputationTopology); 2312 checkTopologyConfig(o.streamingComputationTopology);
2311 unittest.expect(o.workerHarnessPort, unittest.equals(42)); 2313 unittest.expect(o.workerHarnessPort, unittest.equals(42));
2312 } 2314 }
2313 buildCounterStreamingSetupTask--; 2315 buildCounterStreamingSetupTask--;
2314 } 2316 }
2315 2317
2316 core.int buildCounterStreamingSideInputLocation = 0; 2318 core.int buildCounterStreamingSideInputLocation = 0;
2317 buildStreamingSideInputLocation() { 2319 buildStreamingSideInputLocation() {
2318 var o = new api.StreamingSideInputLocation(); 2320 var o = new api.StreamingSideInputLocation();
(...skipping 27 matching lines...) Expand all
2346 } 2348 }
2347 2349
2348 checkStreamingStageLocation(api.StreamingStageLocation o) { 2350 checkStreamingStageLocation(api.StreamingStageLocation o) {
2349 buildCounterStreamingStageLocation++; 2351 buildCounterStreamingStageLocation++;
2350 if (buildCounterStreamingStageLocation < 3) { 2352 if (buildCounterStreamingStageLocation < 3) {
2351 unittest.expect(o.streamId, unittest.equals('foo')); 2353 unittest.expect(o.streamId, unittest.equals('foo'));
2352 } 2354 }
2353 buildCounterStreamingStageLocation--; 2355 buildCounterStreamingStageLocation--;
2354 } 2356 }
2355 2357
2356 buildUnnamed2844() { 2358 buildUnnamed3169() {
2357 var o = new core.List<core.String>(); 2359 var o = new core.List<core.String>();
2358 o.add("foo"); 2360 o.add("foo");
2359 o.add("foo"); 2361 o.add("foo");
2360 return o; 2362 return o;
2361 } 2363 }
2362 2364
2363 checkUnnamed2844(core.List<core.String> o) { 2365 checkUnnamed3169(core.List<core.String> o) {
2364 unittest.expect(o, unittest.hasLength(2)); 2366 unittest.expect(o, unittest.hasLength(2));
2365 unittest.expect(o[0], unittest.equals('foo')); 2367 unittest.expect(o[0], unittest.equals('foo'));
2366 unittest.expect(o[1], unittest.equals('foo')); 2368 unittest.expect(o[1], unittest.equals('foo'));
2367 } 2369 }
2368 2370
2369 core.int buildCounterTaskRunnerSettings = 0; 2371 core.int buildCounterTaskRunnerSettings = 0;
2370 buildTaskRunnerSettings() { 2372 buildTaskRunnerSettings() {
2371 var o = new api.TaskRunnerSettings(); 2373 var o = new api.TaskRunnerSettings();
2372 buildCounterTaskRunnerSettings++; 2374 buildCounterTaskRunnerSettings++;
2373 if (buildCounterTaskRunnerSettings < 3) { 2375 if (buildCounterTaskRunnerSettings < 3) {
2374 o.alsologtostderr = true; 2376 o.alsologtostderr = true;
2375 o.baseTaskDir = "foo"; 2377 o.baseTaskDir = "foo";
2376 o.baseUrl = "foo"; 2378 o.baseUrl = "foo";
2377 o.commandlinesFileName = "foo"; 2379 o.commandlinesFileName = "foo";
2378 o.continueOnException = true; 2380 o.continueOnException = true;
2379 o.dataflowApiVersion = "foo"; 2381 o.dataflowApiVersion = "foo";
2380 o.harnessCommand = "foo"; 2382 o.harnessCommand = "foo";
2381 o.languageHint = "foo"; 2383 o.languageHint = "foo";
2382 o.logDir = "foo"; 2384 o.logDir = "foo";
2383 o.logToSerialconsole = true; 2385 o.logToSerialconsole = true;
2384 o.logUploadLocation = "foo"; 2386 o.logUploadLocation = "foo";
2385 o.oauthScopes = buildUnnamed2844(); 2387 o.oauthScopes = buildUnnamed3169();
2386 o.parallelWorkerSettings = buildWorkerSettings(); 2388 o.parallelWorkerSettings = buildWorkerSettings();
2387 o.streamingWorkerMainClass = "foo"; 2389 o.streamingWorkerMainClass = "foo";
2388 o.taskGroup = "foo"; 2390 o.taskGroup = "foo";
2389 o.taskUser = "foo"; 2391 o.taskUser = "foo";
2390 o.tempStoragePrefix = "foo"; 2392 o.tempStoragePrefix = "foo";
2391 o.vmId = "foo"; 2393 o.vmId = "foo";
2392 o.workflowFileName = "foo"; 2394 o.workflowFileName = "foo";
2393 } 2395 }
2394 buildCounterTaskRunnerSettings--; 2396 buildCounterTaskRunnerSettings--;
2395 return o; 2397 return o;
2396 } 2398 }
2397 2399
2398 checkTaskRunnerSettings(api.TaskRunnerSettings o) { 2400 checkTaskRunnerSettings(api.TaskRunnerSettings o) {
2399 buildCounterTaskRunnerSettings++; 2401 buildCounterTaskRunnerSettings++;
2400 if (buildCounterTaskRunnerSettings < 3) { 2402 if (buildCounterTaskRunnerSettings < 3) {
2401 unittest.expect(o.alsologtostderr, unittest.isTrue); 2403 unittest.expect(o.alsologtostderr, unittest.isTrue);
2402 unittest.expect(o.baseTaskDir, unittest.equals('foo')); 2404 unittest.expect(o.baseTaskDir, unittest.equals('foo'));
2403 unittest.expect(o.baseUrl, unittest.equals('foo')); 2405 unittest.expect(o.baseUrl, unittest.equals('foo'));
2404 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); 2406 unittest.expect(o.commandlinesFileName, unittest.equals('foo'));
2405 unittest.expect(o.continueOnException, unittest.isTrue); 2407 unittest.expect(o.continueOnException, unittest.isTrue);
2406 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); 2408 unittest.expect(o.dataflowApiVersion, unittest.equals('foo'));
2407 unittest.expect(o.harnessCommand, unittest.equals('foo')); 2409 unittest.expect(o.harnessCommand, unittest.equals('foo'));
2408 unittest.expect(o.languageHint, unittest.equals('foo')); 2410 unittest.expect(o.languageHint, unittest.equals('foo'));
2409 unittest.expect(o.logDir, unittest.equals('foo')); 2411 unittest.expect(o.logDir, unittest.equals('foo'));
2410 unittest.expect(o.logToSerialconsole, unittest.isTrue); 2412 unittest.expect(o.logToSerialconsole, unittest.isTrue);
2411 unittest.expect(o.logUploadLocation, unittest.equals('foo')); 2413 unittest.expect(o.logUploadLocation, unittest.equals('foo'));
2412 checkUnnamed2844(o.oauthScopes); 2414 checkUnnamed3169(o.oauthScopes);
2413 checkWorkerSettings(o.parallelWorkerSettings); 2415 checkWorkerSettings(o.parallelWorkerSettings);
2414 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); 2416 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
2415 unittest.expect(o.taskGroup, unittest.equals('foo')); 2417 unittest.expect(o.taskGroup, unittest.equals('foo'));
2416 unittest.expect(o.taskUser, unittest.equals('foo')); 2418 unittest.expect(o.taskUser, unittest.equals('foo'));
2417 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 2419 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
2418 unittest.expect(o.vmId, unittest.equals('foo')); 2420 unittest.expect(o.vmId, unittest.equals('foo'));
2419 unittest.expect(o.workflowFileName, unittest.equals('foo')); 2421 unittest.expect(o.workflowFileName, unittest.equals('foo'));
2420 } 2422 }
2421 buildCounterTaskRunnerSettings--; 2423 buildCounterTaskRunnerSettings--;
2422 } 2424 }
2423 2425
2424 buildUnnamed2845() { 2426 buildUnnamed3170() {
2425 var o = new core.List<api.ComputationTopology>(); 2427 var o = new core.List<api.ComputationTopology>();
2426 o.add(buildComputationTopology()); 2428 o.add(buildComputationTopology());
2427 o.add(buildComputationTopology()); 2429 o.add(buildComputationTopology());
2428 return o; 2430 return o;
2429 } 2431 }
2430 2432
2431 checkUnnamed2845(core.List<api.ComputationTopology> o) { 2433 checkUnnamed3170(core.List<api.ComputationTopology> o) {
2432 unittest.expect(o, unittest.hasLength(2)); 2434 unittest.expect(o, unittest.hasLength(2));
2433 checkComputationTopology(o[0]); 2435 checkComputationTopology(o[0]);
2434 checkComputationTopology(o[1]); 2436 checkComputationTopology(o[1]);
2435 } 2437 }
2436 2438
2437 buildUnnamed2846() { 2439 buildUnnamed3171() {
2438 var o = new core.List<api.DataDiskAssignment>(); 2440 var o = new core.List<api.DataDiskAssignment>();
2439 o.add(buildDataDiskAssignment()); 2441 o.add(buildDataDiskAssignment());
2440 o.add(buildDataDiskAssignment()); 2442 o.add(buildDataDiskAssignment());
2441 return o; 2443 return o;
2442 } 2444 }
2443 2445
2444 checkUnnamed2846(core.List<api.DataDiskAssignment> o) { 2446 checkUnnamed3171(core.List<api.DataDiskAssignment> o) {
2445 unittest.expect(o, unittest.hasLength(2)); 2447 unittest.expect(o, unittest.hasLength(2));
2446 checkDataDiskAssignment(o[0]); 2448 checkDataDiskAssignment(o[0]);
2447 checkDataDiskAssignment(o[1]); 2449 checkDataDiskAssignment(o[1]);
2448 } 2450 }
2449 2451
2450 buildUnnamed2847() { 2452 buildUnnamed3172() {
2451 var o = new core.Map<core.String, core.String>(); 2453 var o = new core.Map<core.String, core.String>();
2452 o["x"] = "foo"; 2454 o["x"] = "foo";
2453 o["y"] = "foo"; 2455 o["y"] = "foo";
2454 return o; 2456 return o;
2455 } 2457 }
2456 2458
2457 checkUnnamed2847(core.Map<core.String, core.String> o) { 2459 checkUnnamed3172(core.Map<core.String, core.String> o) {
2458 unittest.expect(o, unittest.hasLength(2)); 2460 unittest.expect(o, unittest.hasLength(2));
2459 unittest.expect(o["x"], unittest.equals('foo')); 2461 unittest.expect(o["x"], unittest.equals('foo'));
2460 unittest.expect(o["y"], unittest.equals('foo')); 2462 unittest.expect(o["y"], unittest.equals('foo'));
2461 } 2463 }
2462 2464
2463 core.int buildCounterTopologyConfig = 0; 2465 core.int buildCounterTopologyConfig = 0;
2464 buildTopologyConfig() { 2466 buildTopologyConfig() {
2465 var o = new api.TopologyConfig(); 2467 var o = new api.TopologyConfig();
2466 buildCounterTopologyConfig++; 2468 buildCounterTopologyConfig++;
2467 if (buildCounterTopologyConfig < 3) { 2469 if (buildCounterTopologyConfig < 3) {
2468 o.computations = buildUnnamed2845(); 2470 o.computations = buildUnnamed3170();
2469 o.dataDiskAssignments = buildUnnamed2846(); 2471 o.dataDiskAssignments = buildUnnamed3171();
2470 o.forwardingKeyBits = 42; 2472 o.forwardingKeyBits = 42;
2471 o.userStageToComputationNameMap = buildUnnamed2847(); 2473 o.userStageToComputationNameMap = buildUnnamed3172();
2472 } 2474 }
2473 buildCounterTopologyConfig--; 2475 buildCounterTopologyConfig--;
2474 return o; 2476 return o;
2475 } 2477 }
2476 2478
2477 checkTopologyConfig(api.TopologyConfig o) { 2479 checkTopologyConfig(api.TopologyConfig o) {
2478 buildCounterTopologyConfig++; 2480 buildCounterTopologyConfig++;
2479 if (buildCounterTopologyConfig < 3) { 2481 if (buildCounterTopologyConfig < 3) {
2480 checkUnnamed2845(o.computations); 2482 checkUnnamed3170(o.computations);
2481 checkUnnamed2846(o.dataDiskAssignments); 2483 checkUnnamed3171(o.dataDiskAssignments);
2482 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); 2484 unittest.expect(o.forwardingKeyBits, unittest.equals(42));
2483 checkUnnamed2847(o.userStageToComputationNameMap); 2485 checkUnnamed3172(o.userStageToComputationNameMap);
2484 } 2486 }
2485 buildCounterTopologyConfig--; 2487 buildCounterTopologyConfig--;
2486 } 2488 }
2487 2489
2488 buildUnnamed2848() { 2490 buildUnnamed3173() {
2489 var o = new core.List<api.Package>(); 2491 var o = new core.List<api.Package>();
2490 o.add(buildPackage()); 2492 o.add(buildPackage());
2491 o.add(buildPackage()); 2493 o.add(buildPackage());
2492 return o; 2494 return o;
2493 } 2495 }
2494 2496
2495 checkUnnamed2848(core.List<api.Package> o) { 2497 checkUnnamed3173(core.List<api.Package> o) {
2496 unittest.expect(o, unittest.hasLength(2)); 2498 unittest.expect(o, unittest.hasLength(2));
2497 checkPackage(o[0]); 2499 checkPackage(o[0]);
2498 checkPackage(o[1]); 2500 checkPackage(o[1]);
2499 } 2501 }
2500 2502
2501 core.int buildCounterWorkItem = 0; 2503 core.int buildCounterWorkItem = 0;
2502 buildWorkItem() { 2504 buildWorkItem() {
2503 var o = new api.WorkItem(); 2505 var o = new api.WorkItem();
2504 buildCounterWorkItem++; 2506 buildCounterWorkItem++;
2505 if (buildCounterWorkItem < 3) { 2507 if (buildCounterWorkItem < 3) {
2506 o.configuration = "foo"; 2508 o.configuration = "foo";
2507 o.id = "foo"; 2509 o.id = "foo";
2508 o.initialReportIndex = "foo"; 2510 o.initialReportIndex = "foo";
2509 o.jobId = "foo"; 2511 o.jobId = "foo";
2510 o.leaseExpireTime = "foo"; 2512 o.leaseExpireTime = "foo";
2511 o.mapTask = buildMapTask(); 2513 o.mapTask = buildMapTask();
2512 o.packages = buildUnnamed2848(); 2514 o.packages = buildUnnamed3173();
2513 o.projectId = "foo"; 2515 o.projectId = "foo";
2514 o.reportStatusInterval = "foo"; 2516 o.reportStatusInterval = "foo";
2515 o.seqMapTask = buildSeqMapTask(); 2517 o.seqMapTask = buildSeqMapTask();
2516 o.shellTask = buildShellTask(); 2518 o.shellTask = buildShellTask();
2517 o.sourceOperationTask = buildSourceOperationRequest(); 2519 o.sourceOperationTask = buildSourceOperationRequest();
2518 o.streamingComputationTask = buildStreamingComputationTask(); 2520 o.streamingComputationTask = buildStreamingComputationTask();
2519 o.streamingSetupTask = buildStreamingSetupTask(); 2521 o.streamingSetupTask = buildStreamingSetupTask();
2520 } 2522 }
2521 buildCounterWorkItem--; 2523 buildCounterWorkItem--;
2522 return o; 2524 return o;
2523 } 2525 }
2524 2526
2525 checkWorkItem(api.WorkItem o) { 2527 checkWorkItem(api.WorkItem o) {
2526 buildCounterWorkItem++; 2528 buildCounterWorkItem++;
2527 if (buildCounterWorkItem < 3) { 2529 if (buildCounterWorkItem < 3) {
2528 unittest.expect(o.configuration, unittest.equals('foo')); 2530 unittest.expect(o.configuration, unittest.equals('foo'));
2529 unittest.expect(o.id, unittest.equals('foo')); 2531 unittest.expect(o.id, unittest.equals('foo'));
2530 unittest.expect(o.initialReportIndex, unittest.equals('foo')); 2532 unittest.expect(o.initialReportIndex, unittest.equals('foo'));
2531 unittest.expect(o.jobId, unittest.equals('foo')); 2533 unittest.expect(o.jobId, unittest.equals('foo'));
2532 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 2534 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
2533 checkMapTask(o.mapTask); 2535 checkMapTask(o.mapTask);
2534 checkUnnamed2848(o.packages); 2536 checkUnnamed3173(o.packages);
2535 unittest.expect(o.projectId, unittest.equals('foo')); 2537 unittest.expect(o.projectId, unittest.equals('foo'));
2536 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 2538 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
2537 checkSeqMapTask(o.seqMapTask); 2539 checkSeqMapTask(o.seqMapTask);
2538 checkShellTask(o.shellTask); 2540 checkShellTask(o.shellTask);
2539 checkSourceOperationRequest(o.sourceOperationTask); 2541 checkSourceOperationRequest(o.sourceOperationTask);
2540 checkStreamingComputationTask(o.streamingComputationTask); 2542 checkStreamingComputationTask(o.streamingComputationTask);
2541 checkStreamingSetupTask(o.streamingSetupTask); 2543 checkStreamingSetupTask(o.streamingSetupTask);
2542 } 2544 }
2543 buildCounterWorkItem--; 2545 buildCounterWorkItem--;
2544 } 2546 }
2545 2547
2546 buildUnnamed2849() { 2548 buildUnnamed3174() {
2547 var o = new core.Map<core.String, core.Object>(); 2549 var o = new core.Map<core.String, core.Object>();
2548 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2550 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2549 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2551 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2550 return o; 2552 return o;
2551 } 2553 }
2552 2554
2553 checkUnnamed2849(core.Map<core.String, core.Object> o) { 2555 checkUnnamed3174(core.Map<core.String, core.Object> o) {
2554 unittest.expect(o, unittest.hasLength(2)); 2556 unittest.expect(o, unittest.hasLength(2));
2555 var casted40 = (o["x"]) as core.Map; unittest.expect(casted40, unittest.hasLen gth(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest .expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["stri ng"], unittest.equals('foo')); 2557 var casted40 = (o["x"]) as core.Map; unittest.expect(casted40, unittest.hasLen gth(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest .expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["stri ng"], unittest.equals('foo'));
2556 var casted41 = (o["y"]) as core.Map; unittest.expect(casted41, unittest.hasLen gth(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest .expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["stri ng"], unittest.equals('foo')); 2558 var casted41 = (o["y"]) as core.Map; unittest.expect(casted41, unittest.hasLen gth(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest .expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["stri ng"], unittest.equals('foo'));
2557 } 2559 }
2558 2560
2559 core.int buildCounterWorkItemServiceState = 0; 2561 core.int buildCounterWorkItemServiceState = 0;
2560 buildWorkItemServiceState() { 2562 buildWorkItemServiceState() {
2561 var o = new api.WorkItemServiceState(); 2563 var o = new api.WorkItemServiceState();
2562 buildCounterWorkItemServiceState++; 2564 buildCounterWorkItemServiceState++;
2563 if (buildCounterWorkItemServiceState < 3) { 2565 if (buildCounterWorkItemServiceState < 3) {
2564 o.harnessData = buildUnnamed2849(); 2566 o.harnessData = buildUnnamed3174();
2565 o.leaseExpireTime = "foo"; 2567 o.leaseExpireTime = "foo";
2566 o.nextReportIndex = "foo"; 2568 o.nextReportIndex = "foo";
2567 o.reportStatusInterval = "foo"; 2569 o.reportStatusInterval = "foo";
2568 o.splitRequest = buildApproximateSplitRequest(); 2570 o.splitRequest = buildApproximateSplitRequest();
2569 o.suggestedStopPoint = buildApproximateProgress(); 2571 o.suggestedStopPoint = buildApproximateProgress();
2570 o.suggestedStopPosition = buildPosition(); 2572 o.suggestedStopPosition = buildPosition();
2571 } 2573 }
2572 buildCounterWorkItemServiceState--; 2574 buildCounterWorkItemServiceState--;
2573 return o; 2575 return o;
2574 } 2576 }
2575 2577
2576 checkWorkItemServiceState(api.WorkItemServiceState o) { 2578 checkWorkItemServiceState(api.WorkItemServiceState o) {
2577 buildCounterWorkItemServiceState++; 2579 buildCounterWorkItemServiceState++;
2578 if (buildCounterWorkItemServiceState < 3) { 2580 if (buildCounterWorkItemServiceState < 3) {
2579 checkUnnamed2849(o.harnessData); 2581 checkUnnamed3174(o.harnessData);
2580 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 2582 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
2581 unittest.expect(o.nextReportIndex, unittest.equals('foo')); 2583 unittest.expect(o.nextReportIndex, unittest.equals('foo'));
2582 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 2584 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
2583 checkApproximateSplitRequest(o.splitRequest); 2585 checkApproximateSplitRequest(o.splitRequest);
2584 checkApproximateProgress(o.suggestedStopPoint); 2586 checkApproximateProgress(o.suggestedStopPoint);
2585 checkPosition(o.suggestedStopPosition); 2587 checkPosition(o.suggestedStopPosition);
2586 } 2588 }
2587 buildCounterWorkItemServiceState--; 2589 buildCounterWorkItemServiceState--;
2588 } 2590 }
2589 2591
2590 buildUnnamed2850() { 2592 buildUnnamed3175() {
2591 var o = new core.List<api.Status>(); 2593 var o = new core.List<api.Status>();
2592 o.add(buildStatus()); 2594 o.add(buildStatus());
2593 o.add(buildStatus()); 2595 o.add(buildStatus());
2594 return o; 2596 return o;
2595 } 2597 }
2596 2598
2597 checkUnnamed2850(core.List<api.Status> o) { 2599 checkUnnamed3175(core.List<api.Status> o) {
2598 unittest.expect(o, unittest.hasLength(2)); 2600 unittest.expect(o, unittest.hasLength(2));
2599 checkStatus(o[0]); 2601 checkStatus(o[0]);
2600 checkStatus(o[1]); 2602 checkStatus(o[1]);
2601 } 2603 }
2602 2604
2603 buildUnnamed2851() { 2605 buildUnnamed3176() {
2604 var o = new core.List<api.MetricUpdate>(); 2606 var o = new core.List<api.MetricUpdate>();
2605 o.add(buildMetricUpdate()); 2607 o.add(buildMetricUpdate());
2606 o.add(buildMetricUpdate()); 2608 o.add(buildMetricUpdate());
2607 return o; 2609 return o;
2608 } 2610 }
2609 2611
2610 checkUnnamed2851(core.List<api.MetricUpdate> o) { 2612 checkUnnamed3176(core.List<api.MetricUpdate> o) {
2611 unittest.expect(o, unittest.hasLength(2)); 2613 unittest.expect(o, unittest.hasLength(2));
2612 checkMetricUpdate(o[0]); 2614 checkMetricUpdate(o[0]);
2613 checkMetricUpdate(o[1]); 2615 checkMetricUpdate(o[1]);
2614 } 2616 }
2615 2617
2616 core.int buildCounterWorkItemStatus = 0; 2618 core.int buildCounterWorkItemStatus = 0;
2617 buildWorkItemStatus() { 2619 buildWorkItemStatus() {
2618 var o = new api.WorkItemStatus(); 2620 var o = new api.WorkItemStatus();
2619 buildCounterWorkItemStatus++; 2621 buildCounterWorkItemStatus++;
2620 if (buildCounterWorkItemStatus < 3) { 2622 if (buildCounterWorkItemStatus < 3) {
2621 o.completed = true; 2623 o.completed = true;
2622 o.dynamicSourceSplit = buildDynamicSourceSplit(); 2624 o.dynamicSourceSplit = buildDynamicSourceSplit();
2623 o.errors = buildUnnamed2850(); 2625 o.errors = buildUnnamed3175();
2624 o.metricUpdates = buildUnnamed2851(); 2626 o.metricUpdates = buildUnnamed3176();
2625 o.progress = buildApproximateProgress(); 2627 o.progress = buildApproximateProgress();
2626 o.reportIndex = "foo"; 2628 o.reportIndex = "foo";
2627 o.reportedProgress = buildApproximateReportedProgress(); 2629 o.reportedProgress = buildApproximateReportedProgress();
2628 o.requestedLeaseDuration = "foo"; 2630 o.requestedLeaseDuration = "foo";
2629 o.sourceFork = buildSourceFork(); 2631 o.sourceFork = buildSourceFork();
2630 o.sourceOperationResponse = buildSourceOperationResponse(); 2632 o.sourceOperationResponse = buildSourceOperationResponse();
2631 o.stopPosition = buildPosition(); 2633 o.stopPosition = buildPosition();
2632 o.workItemId = "foo"; 2634 o.workItemId = "foo";
2633 } 2635 }
2634 buildCounterWorkItemStatus--; 2636 buildCounterWorkItemStatus--;
2635 return o; 2637 return o;
2636 } 2638 }
2637 2639
2638 checkWorkItemStatus(api.WorkItemStatus o) { 2640 checkWorkItemStatus(api.WorkItemStatus o) {
2639 buildCounterWorkItemStatus++; 2641 buildCounterWorkItemStatus++;
2640 if (buildCounterWorkItemStatus < 3) { 2642 if (buildCounterWorkItemStatus < 3) {
2641 unittest.expect(o.completed, unittest.isTrue); 2643 unittest.expect(o.completed, unittest.isTrue);
2642 checkDynamicSourceSplit(o.dynamicSourceSplit); 2644 checkDynamicSourceSplit(o.dynamicSourceSplit);
2643 checkUnnamed2850(o.errors); 2645 checkUnnamed3175(o.errors);
2644 checkUnnamed2851(o.metricUpdates); 2646 checkUnnamed3176(o.metricUpdates);
2645 checkApproximateProgress(o.progress); 2647 checkApproximateProgress(o.progress);
2646 unittest.expect(o.reportIndex, unittest.equals('foo')); 2648 unittest.expect(o.reportIndex, unittest.equals('foo'));
2647 checkApproximateReportedProgress(o.reportedProgress); 2649 checkApproximateReportedProgress(o.reportedProgress);
2648 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 2650 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
2649 checkSourceFork(o.sourceFork); 2651 checkSourceFork(o.sourceFork);
2650 checkSourceOperationResponse(o.sourceOperationResponse); 2652 checkSourceOperationResponse(o.sourceOperationResponse);
2651 checkPosition(o.stopPosition); 2653 checkPosition(o.stopPosition);
2652 unittest.expect(o.workItemId, unittest.equals('foo')); 2654 unittest.expect(o.workItemId, unittest.equals('foo'));
2653 } 2655 }
2654 buildCounterWorkItemStatus--; 2656 buildCounterWorkItemStatus--;
2655 } 2657 }
2656 2658
2657 buildUnnamed2852() { 2659 buildUnnamed3177() {
2658 var o = new core.Map<core.String, core.Object>(); 2660 var o = new core.Map<core.String, core.Object>();
2659 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2661 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2660 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2662 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2661 return o; 2663 return o;
2662 } 2664 }
2663 2665
2664 checkUnnamed2852(core.Map<core.String, core.Object> o) { 2666 checkUnnamed3177(core.Map<core.String, core.Object> o) {
2665 unittest.expect(o, unittest.hasLength(2)); 2667 unittest.expect(o, unittest.hasLength(2));
2666 var casted42 = (o["x"]) as core.Map; unittest.expect(casted42, unittest.hasLen gth(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest .expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["stri ng"], unittest.equals('foo')); 2668 var casted42 = (o["x"]) as core.Map; unittest.expect(casted42, unittest.hasLen gth(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest .expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["stri ng"], unittest.equals('foo'));
2667 var casted43 = (o["y"]) as core.Map; unittest.expect(casted43, unittest.hasLen gth(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest .expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["stri ng"], unittest.equals('foo')); 2669 var casted43 = (o["y"]) as core.Map; unittest.expect(casted43, unittest.hasLen gth(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest .expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["stri ng"], unittest.equals('foo'));
2668 } 2670 }
2669 2671
2670 buildUnnamed2853() { 2672 buildUnnamed3178() {
2671 var o = new core.List<core.Map<core.String, core.Object>>(); 2673 var o = new core.List<core.Map<core.String, core.Object>>();
2672 o.add(buildUnnamed2852()); 2674 o.add(buildUnnamed3177());
2673 o.add(buildUnnamed2852()); 2675 o.add(buildUnnamed3177());
2674 return o; 2676 return o;
2675 } 2677 }
2676 2678
2677 checkUnnamed2853(core.List<core.Map<core.String, core.Object>> o) { 2679 checkUnnamed3178(core.List<core.Map<core.String, core.Object>> o) {
2678 unittest.expect(o, unittest.hasLength(2)); 2680 unittest.expect(o, unittest.hasLength(2));
2679 checkUnnamed2852(o[0]); 2681 checkUnnamed3177(o[0]);
2680 checkUnnamed2852(o[1]); 2682 checkUnnamed3177(o[1]);
2681 } 2683 }
2682 2684
2683 core.int buildCounterWorkerHealthReport = 0; 2685 core.int buildCounterWorkerHealthReport = 0;
2684 buildWorkerHealthReport() { 2686 buildWorkerHealthReport() {
2685 var o = new api.WorkerHealthReport(); 2687 var o = new api.WorkerHealthReport();
2686 buildCounterWorkerHealthReport++; 2688 buildCounterWorkerHealthReport++;
2687 if (buildCounterWorkerHealthReport < 3) { 2689 if (buildCounterWorkerHealthReport < 3) {
2688 o.pods = buildUnnamed2853(); 2690 o.pods = buildUnnamed3178();
2689 o.reportInterval = "foo"; 2691 o.reportInterval = "foo";
2690 o.vmIsHealthy = true; 2692 o.vmIsHealthy = true;
2691 o.vmStartupTime = "foo"; 2693 o.vmStartupTime = "foo";
2692 } 2694 }
2693 buildCounterWorkerHealthReport--; 2695 buildCounterWorkerHealthReport--;
2694 return o; 2696 return o;
2695 } 2697 }
2696 2698
2697 checkWorkerHealthReport(api.WorkerHealthReport o) { 2699 checkWorkerHealthReport(api.WorkerHealthReport o) {
2698 buildCounterWorkerHealthReport++; 2700 buildCounterWorkerHealthReport++;
2699 if (buildCounterWorkerHealthReport < 3) { 2701 if (buildCounterWorkerHealthReport < 3) {
2700 checkUnnamed2853(o.pods); 2702 checkUnnamed3178(o.pods);
2701 unittest.expect(o.reportInterval, unittest.equals('foo')); 2703 unittest.expect(o.reportInterval, unittest.equals('foo'));
2702 unittest.expect(o.vmIsHealthy, unittest.isTrue); 2704 unittest.expect(o.vmIsHealthy, unittest.isTrue);
2703 unittest.expect(o.vmStartupTime, unittest.equals('foo')); 2705 unittest.expect(o.vmStartupTime, unittest.equals('foo'));
2704 } 2706 }
2705 buildCounterWorkerHealthReport--; 2707 buildCounterWorkerHealthReport--;
2706 } 2708 }
2707 2709
2708 core.int buildCounterWorkerHealthReportResponse = 0; 2710 core.int buildCounterWorkerHealthReportResponse = 0;
2709 buildWorkerHealthReportResponse() { 2711 buildWorkerHealthReportResponse() {
2710 var o = new api.WorkerHealthReportResponse(); 2712 var o = new api.WorkerHealthReportResponse();
2711 buildCounterWorkerHealthReportResponse++; 2713 buildCounterWorkerHealthReportResponse++;
2712 if (buildCounterWorkerHealthReportResponse < 3) { 2714 if (buildCounterWorkerHealthReportResponse < 3) {
2713 o.reportInterval = "foo"; 2715 o.reportInterval = "foo";
2714 } 2716 }
2715 buildCounterWorkerHealthReportResponse--; 2717 buildCounterWorkerHealthReportResponse--;
2716 return o; 2718 return o;
2717 } 2719 }
2718 2720
2719 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { 2721 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) {
2720 buildCounterWorkerHealthReportResponse++; 2722 buildCounterWorkerHealthReportResponse++;
2721 if (buildCounterWorkerHealthReportResponse < 3) { 2723 if (buildCounterWorkerHealthReportResponse < 3) {
2722 unittest.expect(o.reportInterval, unittest.equals('foo')); 2724 unittest.expect(o.reportInterval, unittest.equals('foo'));
2723 } 2725 }
2724 buildCounterWorkerHealthReportResponse--; 2726 buildCounterWorkerHealthReportResponse--;
2725 } 2727 }
2726 2728
2727 buildUnnamed2854() { 2729 buildUnnamed3179() {
2728 var o = new core.Map<core.String, core.String>(); 2730 var o = new core.Map<core.String, core.String>();
2729 o["x"] = "foo"; 2731 o["x"] = "foo";
2730 o["y"] = "foo"; 2732 o["y"] = "foo";
2731 return o; 2733 return o;
2732 } 2734 }
2733 2735
2734 checkUnnamed2854(core.Map<core.String, core.String> o) { 2736 checkUnnamed3179(core.Map<core.String, core.String> o) {
2735 unittest.expect(o, unittest.hasLength(2)); 2737 unittest.expect(o, unittest.hasLength(2));
2736 unittest.expect(o["x"], unittest.equals('foo')); 2738 unittest.expect(o["x"], unittest.equals('foo'));
2737 unittest.expect(o["y"], unittest.equals('foo')); 2739 unittest.expect(o["y"], unittest.equals('foo'));
2738 } 2740 }
2739 2741
2740 core.int buildCounterWorkerMessage = 0; 2742 core.int buildCounterWorkerMessage = 0;
2741 buildWorkerMessage() { 2743 buildWorkerMessage() {
2742 var o = new api.WorkerMessage(); 2744 var o = new api.WorkerMessage();
2743 buildCounterWorkerMessage++; 2745 buildCounterWorkerMessage++;
2744 if (buildCounterWorkerMessage < 3) { 2746 if (buildCounterWorkerMessage < 3) {
2745 o.labels = buildUnnamed2854(); 2747 o.labels = buildUnnamed3179();
2746 o.time = "foo"; 2748 o.time = "foo";
2747 o.workerHealthReport = buildWorkerHealthReport(); 2749 o.workerHealthReport = buildWorkerHealthReport();
2748 o.workerMessageCode = buildWorkerMessageCode(); 2750 o.workerMessageCode = buildWorkerMessageCode();
2749 } 2751 }
2750 buildCounterWorkerMessage--; 2752 buildCounterWorkerMessage--;
2751 return o; 2753 return o;
2752 } 2754 }
2753 2755
2754 checkWorkerMessage(api.WorkerMessage o) { 2756 checkWorkerMessage(api.WorkerMessage o) {
2755 buildCounterWorkerMessage++; 2757 buildCounterWorkerMessage++;
2756 if (buildCounterWorkerMessage < 3) { 2758 if (buildCounterWorkerMessage < 3) {
2757 checkUnnamed2854(o.labels); 2759 checkUnnamed3179(o.labels);
2758 unittest.expect(o.time, unittest.equals('foo')); 2760 unittest.expect(o.time, unittest.equals('foo'));
2759 checkWorkerHealthReport(o.workerHealthReport); 2761 checkWorkerHealthReport(o.workerHealthReport);
2760 checkWorkerMessageCode(o.workerMessageCode); 2762 checkWorkerMessageCode(o.workerMessageCode);
2761 } 2763 }
2762 buildCounterWorkerMessage--; 2764 buildCounterWorkerMessage--;
2763 } 2765 }
2764 2766
2765 buildUnnamed2855() { 2767 buildUnnamed3180() {
2766 var o = new core.Map<core.String, core.Object>(); 2768 var o = new core.Map<core.String, core.Object>();
2767 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2769 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2768 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2770 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2769 return o; 2771 return o;
2770 } 2772 }
2771 2773
2772 checkUnnamed2855(core.Map<core.String, core.Object> o) { 2774 checkUnnamed3180(core.Map<core.String, core.Object> o) {
2773 unittest.expect(o, unittest.hasLength(2)); 2775 unittest.expect(o, unittest.hasLength(2));
2774 var casted44 = (o["x"]) as core.Map; unittest.expect(casted44, unittest.hasLen gth(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest .expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["stri ng"], unittest.equals('foo')); 2776 var casted44 = (o["x"]) as core.Map; unittest.expect(casted44, unittest.hasLen gth(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest .expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["stri ng"], unittest.equals('foo'));
2775 var casted45 = (o["y"]) as core.Map; unittest.expect(casted45, unittest.hasLen gth(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest .expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["stri ng"], unittest.equals('foo')); 2777 var casted45 = (o["y"]) as core.Map; unittest.expect(casted45, unittest.hasLen gth(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest .expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["stri ng"], unittest.equals('foo'));
2776 } 2778 }
2777 2779
2778 core.int buildCounterWorkerMessageCode = 0; 2780 core.int buildCounterWorkerMessageCode = 0;
2779 buildWorkerMessageCode() { 2781 buildWorkerMessageCode() {
2780 var o = new api.WorkerMessageCode(); 2782 var o = new api.WorkerMessageCode();
2781 buildCounterWorkerMessageCode++; 2783 buildCounterWorkerMessageCode++;
2782 if (buildCounterWorkerMessageCode < 3) { 2784 if (buildCounterWorkerMessageCode < 3) {
2783 o.code = "foo"; 2785 o.code = "foo";
2784 o.parameters = buildUnnamed2855(); 2786 o.parameters = buildUnnamed3180();
2785 } 2787 }
2786 buildCounterWorkerMessageCode--; 2788 buildCounterWorkerMessageCode--;
2787 return o; 2789 return o;
2788 } 2790 }
2789 2791
2790 checkWorkerMessageCode(api.WorkerMessageCode o) { 2792 checkWorkerMessageCode(api.WorkerMessageCode o) {
2791 buildCounterWorkerMessageCode++; 2793 buildCounterWorkerMessageCode++;
2792 if (buildCounterWorkerMessageCode < 3) { 2794 if (buildCounterWorkerMessageCode < 3) {
2793 unittest.expect(o.code, unittest.equals('foo')); 2795 unittest.expect(o.code, unittest.equals('foo'));
2794 checkUnnamed2855(o.parameters); 2796 checkUnnamed3180(o.parameters);
2795 } 2797 }
2796 buildCounterWorkerMessageCode--; 2798 buildCounterWorkerMessageCode--;
2797 } 2799 }
2798 2800
2799 core.int buildCounterWorkerMessageResponse = 0; 2801 core.int buildCounterWorkerMessageResponse = 0;
2800 buildWorkerMessageResponse() { 2802 buildWorkerMessageResponse() {
2801 var o = new api.WorkerMessageResponse(); 2803 var o = new api.WorkerMessageResponse();
2802 buildCounterWorkerMessageResponse++; 2804 buildCounterWorkerMessageResponse++;
2803 if (buildCounterWorkerMessageResponse < 3) { 2805 if (buildCounterWorkerMessageResponse < 3) {
2804 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); 2806 o.workerHealthReportResponse = buildWorkerHealthReportResponse();
2805 } 2807 }
2806 buildCounterWorkerMessageResponse--; 2808 buildCounterWorkerMessageResponse--;
2807 return o; 2809 return o;
2808 } 2810 }
2809 2811
2810 checkWorkerMessageResponse(api.WorkerMessageResponse o) { 2812 checkWorkerMessageResponse(api.WorkerMessageResponse o) {
2811 buildCounterWorkerMessageResponse++; 2813 buildCounterWorkerMessageResponse++;
2812 if (buildCounterWorkerMessageResponse < 3) { 2814 if (buildCounterWorkerMessageResponse < 3) {
2813 checkWorkerHealthReportResponse(o.workerHealthReportResponse); 2815 checkWorkerHealthReportResponse(o.workerHealthReportResponse);
2814 } 2816 }
2815 buildCounterWorkerMessageResponse--; 2817 buildCounterWorkerMessageResponse--;
2816 } 2818 }
2817 2819
2818 buildUnnamed2856() { 2820 buildUnnamed3181() {
2819 var o = new core.List<api.Disk>(); 2821 var o = new core.List<api.Disk>();
2820 o.add(buildDisk()); 2822 o.add(buildDisk());
2821 o.add(buildDisk()); 2823 o.add(buildDisk());
2822 return o; 2824 return o;
2823 } 2825 }
2824 2826
2825 checkUnnamed2856(core.List<api.Disk> o) { 2827 checkUnnamed3181(core.List<api.Disk> o) {
2826 unittest.expect(o, unittest.hasLength(2)); 2828 unittest.expect(o, unittest.hasLength(2));
2827 checkDisk(o[0]); 2829 checkDisk(o[0]);
2828 checkDisk(o[1]); 2830 checkDisk(o[1]);
2829 } 2831 }
2830 2832
2831 buildUnnamed2857() { 2833 buildUnnamed3182() {
2832 var o = new core.Map<core.String, core.String>(); 2834 var o = new core.Map<core.String, core.String>();
2833 o["x"] = "foo"; 2835 o["x"] = "foo";
2834 o["y"] = "foo"; 2836 o["y"] = "foo";
2835 return o; 2837 return o;
2836 } 2838 }
2837 2839
2838 checkUnnamed2857(core.Map<core.String, core.String> o) { 2840 checkUnnamed3182(core.Map<core.String, core.String> o) {
2839 unittest.expect(o, unittest.hasLength(2)); 2841 unittest.expect(o, unittest.hasLength(2));
2840 unittest.expect(o["x"], unittest.equals('foo')); 2842 unittest.expect(o["x"], unittest.equals('foo'));
2841 unittest.expect(o["y"], unittest.equals('foo')); 2843 unittest.expect(o["y"], unittest.equals('foo'));
2842 } 2844 }
2843 2845
2844 buildUnnamed2858() { 2846 buildUnnamed3183() {
2845 var o = new core.List<api.Package>(); 2847 var o = new core.List<api.Package>();
2846 o.add(buildPackage()); 2848 o.add(buildPackage());
2847 o.add(buildPackage()); 2849 o.add(buildPackage());
2848 return o; 2850 return o;
2849 } 2851 }
2850 2852
2851 checkUnnamed2858(core.List<api.Package> o) { 2853 checkUnnamed3183(core.List<api.Package> o) {
2852 unittest.expect(o, unittest.hasLength(2)); 2854 unittest.expect(o, unittest.hasLength(2));
2853 checkPackage(o[0]); 2855 checkPackage(o[0]);
2854 checkPackage(o[1]); 2856 checkPackage(o[1]);
2855 } 2857 }
2856 2858
2857 buildUnnamed2859() { 2859 buildUnnamed3184() {
2858 var o = new core.Map<core.String, core.Object>(); 2860 var o = new core.Map<core.String, core.Object>();
2859 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2861 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2860 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2862 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2861 return o; 2863 return o;
2862 } 2864 }
2863 2865
2864 checkUnnamed2859(core.Map<core.String, core.Object> o) { 2866 checkUnnamed3184(core.Map<core.String, core.Object> o) {
2865 unittest.expect(o, unittest.hasLength(2)); 2867 unittest.expect(o, unittest.hasLength(2));
2866 var casted46 = (o["x"]) as core.Map; unittest.expect(casted46, unittest.hasLen gth(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest .expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["stri ng"], unittest.equals('foo')); 2868 var casted46 = (o["x"]) as core.Map; unittest.expect(casted46, unittest.hasLen gth(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest .expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["stri ng"], unittest.equals('foo'));
2867 var casted47 = (o["y"]) as core.Map; unittest.expect(casted47, unittest.hasLen gth(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest .expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["stri ng"], unittest.equals('foo')); 2869 var casted47 = (o["y"]) as core.Map; unittest.expect(casted47, unittest.hasLen gth(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest .expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["stri ng"], unittest.equals('foo'));
2868 } 2870 }
2869 2871
2870 core.int buildCounterWorkerPool = 0; 2872 core.int buildCounterWorkerPool = 0;
2871 buildWorkerPool() { 2873 buildWorkerPool() {
2872 var o = new api.WorkerPool(); 2874 var o = new api.WorkerPool();
2873 buildCounterWorkerPool++; 2875 buildCounterWorkerPool++;
2874 if (buildCounterWorkerPool < 3) { 2876 if (buildCounterWorkerPool < 3) {
2875 o.autoscalingSettings = buildAutoscalingSettings(); 2877 o.autoscalingSettings = buildAutoscalingSettings();
2876 o.dataDisks = buildUnnamed2856(); 2878 o.dataDisks = buildUnnamed3181();
2877 o.defaultPackageSet = "foo"; 2879 o.defaultPackageSet = "foo";
2878 o.diskSizeGb = 42; 2880 o.diskSizeGb = 42;
2879 o.diskSourceImage = "foo"; 2881 o.diskSourceImage = "foo";
2880 o.diskType = "foo"; 2882 o.diskType = "foo";
2881 o.kind = "foo"; 2883 o.kind = "foo";
2882 o.machineType = "foo"; 2884 o.machineType = "foo";
2883 o.metadata = buildUnnamed2857(); 2885 o.metadata = buildUnnamed3182();
2884 o.network = "foo"; 2886 o.network = "foo";
2885 o.numWorkers = 42; 2887 o.numWorkers = 42;
2886 o.onHostMaintenance = "foo"; 2888 o.onHostMaintenance = "foo";
2887 o.packages = buildUnnamed2858(); 2889 o.packages = buildUnnamed3183();
2888 o.poolArgs = buildUnnamed2859(); 2890 o.poolArgs = buildUnnamed3184();
2891 o.subnetwork = "foo";
2889 o.taskrunnerSettings = buildTaskRunnerSettings(); 2892 o.taskrunnerSettings = buildTaskRunnerSettings();
2890 o.teardownPolicy = "foo"; 2893 o.teardownPolicy = "foo";
2894 o.workerHarnessContainerImage = "foo";
2891 o.zone = "foo"; 2895 o.zone = "foo";
2892 } 2896 }
2893 buildCounterWorkerPool--; 2897 buildCounterWorkerPool--;
2894 return o; 2898 return o;
2895 } 2899 }
2896 2900
2897 checkWorkerPool(api.WorkerPool o) { 2901 checkWorkerPool(api.WorkerPool o) {
2898 buildCounterWorkerPool++; 2902 buildCounterWorkerPool++;
2899 if (buildCounterWorkerPool < 3) { 2903 if (buildCounterWorkerPool < 3) {
2900 checkAutoscalingSettings(o.autoscalingSettings); 2904 checkAutoscalingSettings(o.autoscalingSettings);
2901 checkUnnamed2856(o.dataDisks); 2905 checkUnnamed3181(o.dataDisks);
2902 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); 2906 unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
2903 unittest.expect(o.diskSizeGb, unittest.equals(42)); 2907 unittest.expect(o.diskSizeGb, unittest.equals(42));
2904 unittest.expect(o.diskSourceImage, unittest.equals('foo')); 2908 unittest.expect(o.diskSourceImage, unittest.equals('foo'));
2905 unittest.expect(o.diskType, unittest.equals('foo')); 2909 unittest.expect(o.diskType, unittest.equals('foo'));
2906 unittest.expect(o.kind, unittest.equals('foo')); 2910 unittest.expect(o.kind, unittest.equals('foo'));
2907 unittest.expect(o.machineType, unittest.equals('foo')); 2911 unittest.expect(o.machineType, unittest.equals('foo'));
2908 checkUnnamed2857(o.metadata); 2912 checkUnnamed3182(o.metadata);
2909 unittest.expect(o.network, unittest.equals('foo')); 2913 unittest.expect(o.network, unittest.equals('foo'));
2910 unittest.expect(o.numWorkers, unittest.equals(42)); 2914 unittest.expect(o.numWorkers, unittest.equals(42));
2911 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); 2915 unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
2912 checkUnnamed2858(o.packages); 2916 checkUnnamed3183(o.packages);
2913 checkUnnamed2859(o.poolArgs); 2917 checkUnnamed3184(o.poolArgs);
2918 unittest.expect(o.subnetwork, unittest.equals('foo'));
2914 checkTaskRunnerSettings(o.taskrunnerSettings); 2919 checkTaskRunnerSettings(o.taskrunnerSettings);
2915 unittest.expect(o.teardownPolicy, unittest.equals('foo')); 2920 unittest.expect(o.teardownPolicy, unittest.equals('foo'));
2921 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo'));
2916 unittest.expect(o.zone, unittest.equals('foo')); 2922 unittest.expect(o.zone, unittest.equals('foo'));
2917 } 2923 }
2918 buildCounterWorkerPool--; 2924 buildCounterWorkerPool--;
2919 } 2925 }
2920 2926
2921 core.int buildCounterWorkerSettings = 0; 2927 core.int buildCounterWorkerSettings = 0;
2922 buildWorkerSettings() { 2928 buildWorkerSettings() {
2923 var o = new api.WorkerSettings(); 2929 var o = new api.WorkerSettings();
2924 buildCounterWorkerSettings++; 2930 buildCounterWorkerSettings++;
2925 if (buildCounterWorkerSettings < 3) { 2931 if (buildCounterWorkerSettings < 3) {
(...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
4253 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe ctAsync(((api.ReportWorkItemStatusResponse response) { 4259 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe ctAsync(((api.ReportWorkItemStatusResponse response) {
4254 checkReportWorkItemStatusResponse(response); 4260 checkReportWorkItemStatusResponse(response);
4255 }))); 4261 })));
4256 }); 4262 });
4257 4263
4258 }); 4264 });
4259 4265
4260 4266
4261 } 4267 }
4262 4268
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698