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

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

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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 buildUnnamed3059() { 144 buildUnnamed3055() {
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 checkUnnamed3059(core.List<api.StreamLocation> o) { 151 checkUnnamed3055(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 buildUnnamed3060() { 157 buildUnnamed3056() {
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 checkUnnamed3060(core.List<api.KeyRangeLocation> o) { 164 checkUnnamed3056(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 buildUnnamed3061() { 170 buildUnnamed3057() {
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 checkUnnamed3061(core.List<api.StreamLocation> o) { 177 checkUnnamed3057(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 buildUnnamed3062() { 183 buildUnnamed3058() {
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 checkUnnamed3062(core.List<api.StateFamilyConfig> o) { 190 checkUnnamed3058(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 = buildUnnamed3059(); 202 o.inputs = buildUnnamed3055();
203 o.keyRanges = buildUnnamed3060(); 203 o.keyRanges = buildUnnamed3056();
204 o.outputs = buildUnnamed3061(); 204 o.outputs = buildUnnamed3057();
205 o.stateFamilies = buildUnnamed3062(); 205 o.stateFamilies = buildUnnamed3058();
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 checkUnnamed3059(o.inputs); 217 checkUnnamed3055(o.inputs);
218 checkUnnamed3060(o.keyRanges); 218 checkUnnamed3056(o.keyRanges);
219 checkUnnamed3061(o.outputs); 219 checkUnnamed3057(o.outputs);
220 checkUnnamed3062(o.stateFamilies); 220 checkUnnamed3058(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 buildUnnamed3063() { 267 buildUnnamed3059() {
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 checkUnnamed3063(core.List<core.String> o) { 274 checkUnnamed3059(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 = buildUnnamed3063(); 285 o.dataDisks = buildUnnamed3059();
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 checkUnnamed3063(o.dataDisks); 295 checkUnnamed3059(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 buildUnnamed3064() { 366 buildUnnamed3060() {
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 checkUnnamed3064(core.List<core.String> o) { 373 checkUnnamed3060(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 buildUnnamed3065() { 379 buildUnnamed3061() {
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 checkUnnamed3065(core.Map<core.String, core.Object> o) { 386 checkUnnamed3061(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 buildUnnamed3066() { 392 buildUnnamed3062() {
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 checkUnnamed3066(core.Map<core.String, core.Object> o) { 399 checkUnnamed3062(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 buildUnnamed3067() { 405 buildUnnamed3063() {
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 checkUnnamed3067(core.Map<core.String, core.Object> o) { 412 checkUnnamed3063(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 buildUnnamed3068() { 418 buildUnnamed3064() {
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 checkUnnamed3068(core.Map<core.String, core.Object> o) { 425 checkUnnamed3064(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 buildUnnamed3069() { 431 buildUnnamed3065() {
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 checkUnnamed3069(core.List<api.WorkerPool> o) { 438 checkUnnamed3065(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 = buildUnnamed3064(); 451 o.experiments = buildUnnamed3060();
452 o.internalExperiments = buildUnnamed3065(); 452 o.internalExperiments = buildUnnamed3061();
453 o.sdkPipelineOptions = buildUnnamed3066(); 453 o.sdkPipelineOptions = buildUnnamed3062();
454 o.tempStoragePrefix = "foo"; 454 o.tempStoragePrefix = "foo";
455 o.userAgent = buildUnnamed3067(); 455 o.userAgent = buildUnnamed3063();
456 o.version = buildUnnamed3068(); 456 o.version = buildUnnamed3064();
457 o.workerPools = buildUnnamed3069(); 457 o.workerPools = buildUnnamed3065();
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 checkUnnamed3064(o.experiments); 468 checkUnnamed3060(o.experiments);
469 checkUnnamed3065(o.internalExperiments); 469 checkUnnamed3061(o.internalExperiments);
470 checkUnnamed3066(o.sdkPipelineOptions); 470 checkUnnamed3062(o.sdkPipelineOptions);
471 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 471 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
472 checkUnnamed3067(o.userAgent); 472 checkUnnamed3063(o.userAgent);
473 checkUnnamed3068(o.version); 473 checkUnnamed3064(o.version);
474 checkUnnamed3069(o.workerPools); 474 checkUnnamed3065(o.workerPools);
475 } 475 }
476 buildCounterEnvironment--; 476 buildCounterEnvironment--;
477 } 477 }
478 478
479 buildUnnamed3070() { 479 buildUnnamed3066() {
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 checkUnnamed3070(core.List<api.InstructionInput> o) { 486 checkUnnamed3066(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 = buildUnnamed3070(); 497 o.inputs = buildUnnamed3066();
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 checkUnnamed3070(o.inputs); 506 checkUnnamed3066(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 buildUnnamed3071() { 532 buildUnnamed3067() {
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 checkUnnamed3071(core.Map<core.String, core.Object> o) { 539 checkUnnamed3067(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 = buildUnnamed3071(); 550 o.codec = buildUnnamed3067();
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 checkUnnamed3071(o.codec); 561 checkUnnamed3067(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 buildUnnamed3072() { 568 buildUnnamed3068() {
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 checkUnnamed3072(core.List<api.Step> o) { 575 checkUnnamed3068(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 buildUnnamed3073() { 581 buildUnnamed3069() {
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 checkUnnamed3073(core.List<core.String> o) { 588 checkUnnamed3069(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 buildUnnamed3074() { 594 buildUnnamed3070() {
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 checkUnnamed3074(core.Map<core.String, core.String> o) { 601 checkUnnamed3070(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 = buildUnnamed3072(); 624 o.steps = buildUnnamed3068();
625 o.tempFiles = buildUnnamed3073(); 625 o.tempFiles = buildUnnamed3069();
626 o.transformNameMapping = buildUnnamed3074(); 626 o.transformNameMapping = buildUnnamed3070();
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 checkUnnamed3072(o.steps); 648 checkUnnamed3068(o.steps);
649 checkUnnamed3073(o.tempFiles); 649 checkUnnamed3069(o.tempFiles);
650 checkUnnamed3074(o.transformNameMapping); 650 checkUnnamed3070(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 buildUnnamed3075() { 656 buildUnnamed3071() {
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 checkUnnamed3075(core.Map<core.String, api.JobExecutionStageInfo> o) { 663 checkUnnamed3071(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 = buildUnnamed3075(); 674 o.stages = buildUnnamed3071();
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 checkUnnamed3075(o.stages); 683 checkUnnamed3071(o.stages);
684 } 684 }
685 buildCounterJobExecutionInfo--; 685 buildCounterJobExecutionInfo--;
686 } 686 }
687 687
688 buildUnnamed3076() { 688 buildUnnamed3072() {
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 checkUnnamed3076(core.List<core.String> o) { 695 checkUnnamed3072(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 = buildUnnamed3076(); 706 o.stepName = buildUnnamed3072();
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 checkUnnamed3076(o.stepName); 715 checkUnnamed3072(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 buildUnnamed3077() { 745 buildUnnamed3073() {
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 checkUnnamed3077(core.List<api.MetricUpdate> o) { 752 checkUnnamed3073(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 = buildUnnamed3077(); 764 o.metrics = buildUnnamed3073();
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 checkUnnamed3077(o.metrics); 774 checkUnnamed3073(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 buildUnnamed3078() { 829 buildUnnamed3074() {
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 checkUnnamed3078(core.List<core.String> o) { 836 checkUnnamed3074(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 buildUnnamed3079() { 842 buildUnnamed3075() {
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 checkUnnamed3079(core.List<core.String> o) { 849 checkUnnamed3075(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 = buildUnnamed3078(); 862 o.workItemTypes = buildUnnamed3074();
863 o.workerCapabilities = buildUnnamed3079(); 863 o.workerCapabilities = buildUnnamed3075();
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 checkUnnamed3078(o.workItemTypes); 875 checkUnnamed3074(o.workItemTypes);
876 checkUnnamed3079(o.workerCapabilities); 876 checkUnnamed3075(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 buildUnnamed3080() { 882 buildUnnamed3076() {
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 checkUnnamed3080(core.List<api.WorkItem> o) { 889 checkUnnamed3076(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 = buildUnnamed3080(); 900 o.workItems = buildUnnamed3076();
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 checkUnnamed3080(o.workItems); 909 checkUnnamed3076(o.workItems);
910 } 910 }
911 buildCounterLeaseWorkItemResponse--; 911 buildCounterLeaseWorkItemResponse--;
912 } 912 }
913 913
914 buildUnnamed3081() { 914 buildUnnamed3077() {
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 checkUnnamed3081(core.List<api.JobMessage> o) { 921 checkUnnamed3077(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 = buildUnnamed3081(); 932 o.jobMessages = buildUnnamed3077();
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 checkUnnamed3081(o.jobMessages); 942 checkUnnamed3077(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 buildUnnamed3082() { 948 buildUnnamed3078() {
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 checkUnnamed3082(core.List<api.Job> o) { 955 checkUnnamed3078(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 = buildUnnamed3082(); 966 o.jobs = buildUnnamed3078();
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 checkUnnamed3082(o.jobs); 976 checkUnnamed3078(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 buildUnnamed3083() { 982 buildUnnamed3079() {
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 checkUnnamed3083(core.List<api.ParallelInstruction> o) { 989 checkUnnamed3079(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 = buildUnnamed3083(); 1000 o.instructions = buildUnnamed3079();
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 checkUnnamed3083(o.instructions); 1011 checkUnnamed3079(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 buildUnnamed3084() { 1018 buildUnnamed3080() {
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 checkUnnamed3084(core.Map<core.String, core.String> o) { 1025 checkUnnamed3080(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 = buildUnnamed3084(); 1036 o.context = buildUnnamed3080();
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 checkUnnamed3084(o.context); 1047 checkUnnamed3080(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 buildUnnamed3085() { 1148 buildUnnamed3081() {
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 checkUnnamed3085(core.List<api.MultiOutputInfo> o) { 1155 checkUnnamed3081(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 buildUnnamed3086() { 1161 buildUnnamed3082() {
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 checkUnnamed3086(core.List<api.SideInputInfo> o) { 1168 checkUnnamed3082(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 buildUnnamed3087() { 1174 buildUnnamed3083() {
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 checkUnnamed3087(core.Map<core.String, core.Object> o) { 1181 checkUnnamed3083(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 = buildUnnamed3085(); 1193 o.multiOutputInfos = buildUnnamed3081();
1194 o.numOutputs = 42; 1194 o.numOutputs = 42;
1195 o.sideInputs = buildUnnamed3086(); 1195 o.sideInputs = buildUnnamed3082();
1196 o.userFn = buildUnnamed3087(); 1196 o.userFn = buildUnnamed3083();
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 checkUnnamed3085(o.multiOutputInfos); 1206 checkUnnamed3081(o.multiOutputInfos);
1207 unittest.expect(o.numOutputs, unittest.equals(42)); 1207 unittest.expect(o.numOutputs, unittest.equals(42));
1208 checkUnnamed3086(o.sideInputs); 1208 checkUnnamed3082(o.sideInputs);
1209 checkUnnamed3087(o.userFn); 1209 checkUnnamed3083(o.userFn);
1210 } 1210 }
1211 buildCounterParDoInstruction--; 1211 buildCounterParDoInstruction--;
1212 } 1212 }
1213 1213
1214 buildUnnamed3088() { 1214 buildUnnamed3084() {
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 checkUnnamed3088(core.List<api.InstructionOutput> o) { 1221 checkUnnamed3084(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 = buildUnnamed3088(); 1234 o.outputs = buildUnnamed3084();
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 checkUnnamed3088(o.outputs); 1250 checkUnnamed3084(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 buildUnnamed3089() { 1260 buildUnnamed3085() {
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 checkUnnamed3089(core.Map<core.String, core.Object> o) { 1267 checkUnnamed3085(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 buildUnnamed3090() { 1273 buildUnnamed3086() {
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 checkUnnamed3090(core.List<api.SideInputInfo> o) { 1280 checkUnnamed3086(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 buildUnnamed3091() { 1286 buildUnnamed3087() {
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 checkUnnamed3091(core.Map<core.String, core.Object> o) { 1293 checkUnnamed3087(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 = buildUnnamed3089(); 1305 o.inputElementCodec = buildUnnamed3085();
1306 o.sideInputs = buildUnnamed3090(); 1306 o.sideInputs = buildUnnamed3086();
1307 o.valueCombiningFn = buildUnnamed3091(); 1307 o.valueCombiningFn = buildUnnamed3087();
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 checkUnnamed3089(o.inputElementCodec); 1317 checkUnnamed3085(o.inputElementCodec);
1318 checkUnnamed3090(o.sideInputs); 1318 checkUnnamed3086(o.sideInputs);
1319 checkUnnamed3091(o.valueCombiningFn); 1319 checkUnnamed3087(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 buildUnnamed3092() { 1401 buildUnnamed3088() {
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 checkUnnamed3092(core.List<api.WorkItemStatus> o) { 1408 checkUnnamed3088(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 = buildUnnamed3092(); 1420 o.workItemStatuses = buildUnnamed3088();
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 checkUnnamed3092(o.workItemStatuses); 1431 checkUnnamed3088(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 buildUnnamed3093() { 1437 buildUnnamed3089() {
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 checkUnnamed3093(core.List<api.WorkItemServiceState> o) { 1444 checkUnnamed3089(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 = buildUnnamed3093(); 1455 o.workItemServiceStates = buildUnnamed3089();
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 checkUnnamed3093(o.workItemServiceStates); 1464 checkUnnamed3089(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 buildUnnamed3094() { 1490 buildUnnamed3090() {
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 checkUnnamed3094(core.List<api.WorkerMessage> o) { 1497 checkUnnamed3090(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 = buildUnnamed3094(); 1508 o.workerMessages = buildUnnamed3090();
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 checkUnnamed3094(o.workerMessages); 1517 checkUnnamed3090(o.workerMessages);
1518 } 1518 }
1519 buildCounterSendWorkerMessagesRequest--; 1519 buildCounterSendWorkerMessagesRequest--;
1520 } 1520 }
1521 1521
1522 buildUnnamed3095() { 1522 buildUnnamed3091() {
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 checkUnnamed3095(core.List<api.WorkerMessageResponse> o) { 1529 checkUnnamed3091(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 = buildUnnamed3095(); 1540 o.workerMessageResponses = buildUnnamed3091();
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 checkUnnamed3095(o.workerMessageResponses); 1549 checkUnnamed3091(o.workerMessageResponses);
1550 } 1550 }
1551 buildCounterSendWorkerMessagesResponse--; 1551 buildCounterSendWorkerMessagesResponse--;
1552 } 1552 }
1553 1553
1554 buildUnnamed3096() { 1554 buildUnnamed3092() {
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 checkUnnamed3096(core.List<api.SideInputInfo> o) { 1561 checkUnnamed3092(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 buildUnnamed3097() { 1567 buildUnnamed3093() {
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 checkUnnamed3097(core.List<api.SeqMapTaskOutputInfo> o) { 1574 checkUnnamed3093(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 buildUnnamed3098() { 1580 buildUnnamed3094() {
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 checkUnnamed3098(core.Map<core.String, core.Object> o) { 1587 checkUnnamed3094(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 = buildUnnamed3096(); 1598 o.inputs = buildUnnamed3092();
1599 o.name = "foo"; 1599 o.name = "foo";
1600 o.outputInfos = buildUnnamed3097(); 1600 o.outputInfos = buildUnnamed3093();
1601 o.stageName = "foo"; 1601 o.stageName = "foo";
1602 o.systemName = "foo"; 1602 o.systemName = "foo";
1603 o.userFn = buildUnnamed3098(); 1603 o.userFn = buildUnnamed3094();
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 checkUnnamed3096(o.inputs); 1612 checkUnnamed3092(o.inputs);
1613 unittest.expect(o.name, unittest.equals('foo')); 1613 unittest.expect(o.name, unittest.equals('foo'));
1614 checkUnnamed3097(o.outputInfos); 1614 checkUnnamed3093(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 checkUnnamed3098(o.userFn); 1617 checkUnnamed3094(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 buildUnnamed3099() { 1664 buildUnnamed3095() {
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 checkUnnamed3099(core.Map<core.String, core.Object> o) { 1671 checkUnnamed3095(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 buildUnnamed3100() { 1677 buildUnnamed3096() {
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 checkUnnamed3100(core.List<api.Source> o) { 1684 checkUnnamed3096(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 = buildUnnamed3099(); 1695 o.kind = buildUnnamed3095();
1696 o.sources = buildUnnamed3100(); 1696 o.sources = buildUnnamed3096();
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 checkUnnamed3099(o.kind); 1706 checkUnnamed3095(o.kind);
1707 checkUnnamed3100(o.sources); 1707 checkUnnamed3096(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 buildUnnamed3101() { 1713 buildUnnamed3097() {
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 checkUnnamed3101(core.Map<core.String, core.Object> o) { 1720 checkUnnamed3097(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 buildUnnamed3102() { 1726 buildUnnamed3098() {
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 checkUnnamed3102(core.Map<core.String, core.Object> o) { 1733 checkUnnamed3098(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 = buildUnnamed3101(); 1744 o.codec = buildUnnamed3097();
1745 o.spec = buildUnnamed3102(); 1745 o.spec = buildUnnamed3098();
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 checkUnnamed3101(o.codec); 1754 checkUnnamed3097(o.codec);
1755 checkUnnamed3102(o.spec); 1755 checkUnnamed3098(o.spec);
1756 } 1756 }
1757 buildCounterSink--; 1757 buildCounterSink--;
1758 } 1758 }
1759 1759
1760 buildUnnamed3103() { 1760 buildUnnamed3099() {
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 checkUnnamed3103(core.Map<core.String, core.Object> o) { 1767 checkUnnamed3099(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 buildUnnamed3104() { 1773 buildUnnamed3100() {
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(buildUnnamed3103()); 1775 o.add(buildUnnamed3099());
1776 o.add(buildUnnamed3103()); 1776 o.add(buildUnnamed3099());
1777 return o; 1777 return o;
1778 } 1778 }
1779 1779
1780 checkUnnamed3104(core.List<core.Map<core.String, core.Object>> o) { 1780 checkUnnamed3100(core.List<core.Map<core.String, core.Object>> o) {
1781 unittest.expect(o, unittest.hasLength(2)); 1781 unittest.expect(o, unittest.hasLength(2));
1782 checkUnnamed3103(o[0]); 1782 checkUnnamed3099(o[0]);
1783 checkUnnamed3103(o[1]); 1783 checkUnnamed3099(o[1]);
1784 } 1784 }
1785 1785
1786 buildUnnamed3105() { 1786 buildUnnamed3101() {
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 checkUnnamed3105(core.Map<core.String, core.Object> o) { 1793 checkUnnamed3101(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 buildUnnamed3106() { 1799 buildUnnamed3102() {
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 checkUnnamed3106(core.Map<core.String, core.Object> o) { 1806 checkUnnamed3102(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 = buildUnnamed3104(); 1817 o.baseSpecs = buildUnnamed3100();
1818 o.codec = buildUnnamed3105(); 1818 o.codec = buildUnnamed3101();
1819 o.doesNotNeedSplitting = true; 1819 o.doesNotNeedSplitting = true;
1820 o.metadata = buildSourceMetadata(); 1820 o.metadata = buildSourceMetadata();
1821 o.spec = buildUnnamed3106(); 1821 o.spec = buildUnnamed3102();
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 checkUnnamed3104(o.baseSpecs); 1830 checkUnnamed3100(o.baseSpecs);
1831 checkUnnamed3105(o.codec); 1831 checkUnnamed3101(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 checkUnnamed3106(o.spec); 1834 checkUnnamed3102(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 buildUnnamed3107() { 2009 buildUnnamed3103() {
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 checkUnnamed3107(core.List<api.DerivedSource> o) { 2016 checkUnnamed3103(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 buildUnnamed3108() { 2022 buildUnnamed3104() {
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 checkUnnamed3108(core.List<api.SourceSplitShard> o) { 2029 checkUnnamed3104(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 = buildUnnamed3107(); 2040 o.bundles = buildUnnamed3103();
2041 o.outcome = "foo"; 2041 o.outcome = "foo";
2042 o.shards = buildUnnamed3108(); 2042 o.shards = buildUnnamed3104();
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 checkUnnamed3107(o.bundles); 2051 checkUnnamed3103(o.bundles);
2052 unittest.expect(o.outcome, unittest.equals('foo')); 2052 unittest.expect(o.outcome, unittest.equals('foo'));
2053 checkUnnamed3108(o.shards); 2053 checkUnnamed3104(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 buildUnnamed3109() { 2100 buildUnnamed3105() {
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 checkUnnamed3109(core.Map<core.String, core.Object> o) { 2107 checkUnnamed3105(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 buildUnnamed3110() { 2113 buildUnnamed3106() {
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(buildUnnamed3109()); 2115 o.add(buildUnnamed3105());
2116 o.add(buildUnnamed3109()); 2116 o.add(buildUnnamed3105());
2117 return o; 2117 return o;
2118 } 2118 }
2119 2119
2120 checkUnnamed3110(core.List<core.Map<core.String, core.Object>> o) { 2120 checkUnnamed3106(core.List<core.Map<core.String, core.Object>> o) {
2121 unittest.expect(o, unittest.hasLength(2)); 2121 unittest.expect(o, unittest.hasLength(2));
2122 checkUnnamed3109(o[0]); 2122 checkUnnamed3105(o[0]);
2123 checkUnnamed3109(o[1]); 2123 checkUnnamed3105(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 = buildUnnamed3110(); 2132 o.details = buildUnnamed3106();
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 checkUnnamed3110(o.details); 2143 checkUnnamed3106(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 buildUnnamed3111() { 2149 buildUnnamed3107() {
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 checkUnnamed3111(core.Map<core.String, core.Object> o) { 2156 checkUnnamed3107(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 = buildUnnamed3111(); 2169 o.properties = buildUnnamed3107();
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 checkUnnamed3111(o.properties); 2180 checkUnnamed3107(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 buildUnnamed3112() { 2210 buildUnnamed3108() {
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 checkUnnamed3112(core.List<api.KeyRangeDataDiskAssignment> o) { 2217 checkUnnamed3108(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 = buildUnnamed3112(); 2229 o.rangeAssignments = buildUnnamed3108();
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 checkUnnamed3112(o.rangeAssignments); 2239 checkUnnamed3108(o.rangeAssignments);
2240 } 2240 }
2241 buildCounterStreamingComputationRanges--; 2241 buildCounterStreamingComputationRanges--;
2242 } 2242 }
2243 2243
2244 buildUnnamed3113() { 2244 buildUnnamed3109() {
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 checkUnnamed3113(core.List<api.StreamingComputationRanges> o) { 2251 checkUnnamed3109(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 buildUnnamed3114() { 2257 buildUnnamed3110() {
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 checkUnnamed3114(core.List<api.MountedDataDisk> o) { 2264 checkUnnamed3110(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 = buildUnnamed3113(); 2275 o.computationRanges = buildUnnamed3109();
2276 o.dataDisks = buildUnnamed3114(); 2276 o.dataDisks = buildUnnamed3110();
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 checkUnnamed3113(o.computationRanges); 2286 checkUnnamed3109(o.computationRanges);
2287 checkUnnamed3114(o.dataDisks); 2287 checkUnnamed3110(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) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 } 2348 }
2349 2349
2350 checkStreamingStageLocation(api.StreamingStageLocation o) { 2350 checkStreamingStageLocation(api.StreamingStageLocation o) {
2351 buildCounterStreamingStageLocation++; 2351 buildCounterStreamingStageLocation++;
2352 if (buildCounterStreamingStageLocation < 3) { 2352 if (buildCounterStreamingStageLocation < 3) {
2353 unittest.expect(o.streamId, unittest.equals('foo')); 2353 unittest.expect(o.streamId, unittest.equals('foo'));
2354 } 2354 }
2355 buildCounterStreamingStageLocation--; 2355 buildCounterStreamingStageLocation--;
2356 } 2356 }
2357 2357
2358 buildUnnamed3115() { 2358 buildUnnamed3111() {
2359 var o = new core.List<core.String>(); 2359 var o = new core.List<core.String>();
2360 o.add("foo"); 2360 o.add("foo");
2361 o.add("foo"); 2361 o.add("foo");
2362 return o; 2362 return o;
2363 } 2363 }
2364 2364
2365 checkUnnamed3115(core.List<core.String> o) { 2365 checkUnnamed3111(core.List<core.String> o) {
2366 unittest.expect(o, unittest.hasLength(2)); 2366 unittest.expect(o, unittest.hasLength(2));
2367 unittest.expect(o[0], unittest.equals('foo')); 2367 unittest.expect(o[0], unittest.equals('foo'));
2368 unittest.expect(o[1], unittest.equals('foo')); 2368 unittest.expect(o[1], unittest.equals('foo'));
2369 } 2369 }
2370 2370
2371 core.int buildCounterTaskRunnerSettings = 0; 2371 core.int buildCounterTaskRunnerSettings = 0;
2372 buildTaskRunnerSettings() { 2372 buildTaskRunnerSettings() {
2373 var o = new api.TaskRunnerSettings(); 2373 var o = new api.TaskRunnerSettings();
2374 buildCounterTaskRunnerSettings++; 2374 buildCounterTaskRunnerSettings++;
2375 if (buildCounterTaskRunnerSettings < 3) { 2375 if (buildCounterTaskRunnerSettings < 3) {
2376 o.alsologtostderr = true; 2376 o.alsologtostderr = true;
2377 o.baseTaskDir = "foo"; 2377 o.baseTaskDir = "foo";
2378 o.baseUrl = "foo"; 2378 o.baseUrl = "foo";
2379 o.commandlinesFileName = "foo"; 2379 o.commandlinesFileName = "foo";
2380 o.continueOnException = true; 2380 o.continueOnException = true;
2381 o.dataflowApiVersion = "foo"; 2381 o.dataflowApiVersion = "foo";
2382 o.harnessCommand = "foo"; 2382 o.harnessCommand = "foo";
2383 o.languageHint = "foo"; 2383 o.languageHint = "foo";
2384 o.logDir = "foo"; 2384 o.logDir = "foo";
2385 o.logToSerialconsole = true; 2385 o.logToSerialconsole = true;
2386 o.logUploadLocation = "foo"; 2386 o.logUploadLocation = "foo";
2387 o.oauthScopes = buildUnnamed3115(); 2387 o.oauthScopes = buildUnnamed3111();
2388 o.parallelWorkerSettings = buildWorkerSettings(); 2388 o.parallelWorkerSettings = buildWorkerSettings();
2389 o.streamingWorkerMainClass = "foo"; 2389 o.streamingWorkerMainClass = "foo";
2390 o.taskGroup = "foo"; 2390 o.taskGroup = "foo";
2391 o.taskUser = "foo"; 2391 o.taskUser = "foo";
2392 o.tempStoragePrefix = "foo"; 2392 o.tempStoragePrefix = "foo";
2393 o.vmId = "foo"; 2393 o.vmId = "foo";
2394 o.workflowFileName = "foo"; 2394 o.workflowFileName = "foo";
2395 } 2395 }
2396 buildCounterTaskRunnerSettings--; 2396 buildCounterTaskRunnerSettings--;
2397 return o; 2397 return o;
2398 } 2398 }
2399 2399
2400 checkTaskRunnerSettings(api.TaskRunnerSettings o) { 2400 checkTaskRunnerSettings(api.TaskRunnerSettings o) {
2401 buildCounterTaskRunnerSettings++; 2401 buildCounterTaskRunnerSettings++;
2402 if (buildCounterTaskRunnerSettings < 3) { 2402 if (buildCounterTaskRunnerSettings < 3) {
2403 unittest.expect(o.alsologtostderr, unittest.isTrue); 2403 unittest.expect(o.alsologtostderr, unittest.isTrue);
2404 unittest.expect(o.baseTaskDir, unittest.equals('foo')); 2404 unittest.expect(o.baseTaskDir, unittest.equals('foo'));
2405 unittest.expect(o.baseUrl, unittest.equals('foo')); 2405 unittest.expect(o.baseUrl, unittest.equals('foo'));
2406 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); 2406 unittest.expect(o.commandlinesFileName, unittest.equals('foo'));
2407 unittest.expect(o.continueOnException, unittest.isTrue); 2407 unittest.expect(o.continueOnException, unittest.isTrue);
2408 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); 2408 unittest.expect(o.dataflowApiVersion, unittest.equals('foo'));
2409 unittest.expect(o.harnessCommand, unittest.equals('foo')); 2409 unittest.expect(o.harnessCommand, unittest.equals('foo'));
2410 unittest.expect(o.languageHint, unittest.equals('foo')); 2410 unittest.expect(o.languageHint, unittest.equals('foo'));
2411 unittest.expect(o.logDir, unittest.equals('foo')); 2411 unittest.expect(o.logDir, unittest.equals('foo'));
2412 unittest.expect(o.logToSerialconsole, unittest.isTrue); 2412 unittest.expect(o.logToSerialconsole, unittest.isTrue);
2413 unittest.expect(o.logUploadLocation, unittest.equals('foo')); 2413 unittest.expect(o.logUploadLocation, unittest.equals('foo'));
2414 checkUnnamed3115(o.oauthScopes); 2414 checkUnnamed3111(o.oauthScopes);
2415 checkWorkerSettings(o.parallelWorkerSettings); 2415 checkWorkerSettings(o.parallelWorkerSettings);
2416 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); 2416 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
2417 unittest.expect(o.taskGroup, unittest.equals('foo')); 2417 unittest.expect(o.taskGroup, unittest.equals('foo'));
2418 unittest.expect(o.taskUser, unittest.equals('foo')); 2418 unittest.expect(o.taskUser, unittest.equals('foo'));
2419 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); 2419 unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
2420 unittest.expect(o.vmId, unittest.equals('foo')); 2420 unittest.expect(o.vmId, unittest.equals('foo'));
2421 unittest.expect(o.workflowFileName, unittest.equals('foo')); 2421 unittest.expect(o.workflowFileName, unittest.equals('foo'));
2422 } 2422 }
2423 buildCounterTaskRunnerSettings--; 2423 buildCounterTaskRunnerSettings--;
2424 } 2424 }
2425 2425
2426 buildUnnamed3116() { 2426 buildUnnamed3112() {
2427 var o = new core.List<api.ComputationTopology>(); 2427 var o = new core.List<api.ComputationTopology>();
2428 o.add(buildComputationTopology()); 2428 o.add(buildComputationTopology());
2429 o.add(buildComputationTopology()); 2429 o.add(buildComputationTopology());
2430 return o; 2430 return o;
2431 } 2431 }
2432 2432
2433 checkUnnamed3116(core.List<api.ComputationTopology> o) { 2433 checkUnnamed3112(core.List<api.ComputationTopology> o) {
2434 unittest.expect(o, unittest.hasLength(2)); 2434 unittest.expect(o, unittest.hasLength(2));
2435 checkComputationTopology(o[0]); 2435 checkComputationTopology(o[0]);
2436 checkComputationTopology(o[1]); 2436 checkComputationTopology(o[1]);
2437 } 2437 }
2438 2438
2439 buildUnnamed3117() { 2439 buildUnnamed3113() {
2440 var o = new core.List<api.DataDiskAssignment>(); 2440 var o = new core.List<api.DataDiskAssignment>();
2441 o.add(buildDataDiskAssignment()); 2441 o.add(buildDataDiskAssignment());
2442 o.add(buildDataDiskAssignment()); 2442 o.add(buildDataDiskAssignment());
2443 return o; 2443 return o;
2444 } 2444 }
2445 2445
2446 checkUnnamed3117(core.List<api.DataDiskAssignment> o) { 2446 checkUnnamed3113(core.List<api.DataDiskAssignment> o) {
2447 unittest.expect(o, unittest.hasLength(2)); 2447 unittest.expect(o, unittest.hasLength(2));
2448 checkDataDiskAssignment(o[0]); 2448 checkDataDiskAssignment(o[0]);
2449 checkDataDiskAssignment(o[1]); 2449 checkDataDiskAssignment(o[1]);
2450 } 2450 }
2451 2451
2452 buildUnnamed3118() { 2452 buildUnnamed3114() {
2453 var o = new core.Map<core.String, core.String>(); 2453 var o = new core.Map<core.String, core.String>();
2454 o["x"] = "foo"; 2454 o["x"] = "foo";
2455 o["y"] = "foo"; 2455 o["y"] = "foo";
2456 return o; 2456 return o;
2457 } 2457 }
2458 2458
2459 checkUnnamed3118(core.Map<core.String, core.String> o) { 2459 checkUnnamed3114(core.Map<core.String, core.String> o) {
2460 unittest.expect(o, unittest.hasLength(2)); 2460 unittest.expect(o, unittest.hasLength(2));
2461 unittest.expect(o["x"], unittest.equals('foo')); 2461 unittest.expect(o["x"], unittest.equals('foo'));
2462 unittest.expect(o["y"], unittest.equals('foo')); 2462 unittest.expect(o["y"], unittest.equals('foo'));
2463 } 2463 }
2464 2464
2465 core.int buildCounterTopologyConfig = 0; 2465 core.int buildCounterTopologyConfig = 0;
2466 buildTopologyConfig() { 2466 buildTopologyConfig() {
2467 var o = new api.TopologyConfig(); 2467 var o = new api.TopologyConfig();
2468 buildCounterTopologyConfig++; 2468 buildCounterTopologyConfig++;
2469 if (buildCounterTopologyConfig < 3) { 2469 if (buildCounterTopologyConfig < 3) {
2470 o.computations = buildUnnamed3116(); 2470 o.computations = buildUnnamed3112();
2471 o.dataDiskAssignments = buildUnnamed3117(); 2471 o.dataDiskAssignments = buildUnnamed3113();
2472 o.forwardingKeyBits = 42; 2472 o.forwardingKeyBits = 42;
2473 o.persistentStateVersion = 42; 2473 o.persistentStateVersion = 42;
2474 o.userStageToComputationNameMap = buildUnnamed3118(); 2474 o.userStageToComputationNameMap = buildUnnamed3114();
2475 } 2475 }
2476 buildCounterTopologyConfig--; 2476 buildCounterTopologyConfig--;
2477 return o; 2477 return o;
2478 } 2478 }
2479 2479
2480 checkTopologyConfig(api.TopologyConfig o) { 2480 checkTopologyConfig(api.TopologyConfig o) {
2481 buildCounterTopologyConfig++; 2481 buildCounterTopologyConfig++;
2482 if (buildCounterTopologyConfig < 3) { 2482 if (buildCounterTopologyConfig < 3) {
2483 checkUnnamed3116(o.computations); 2483 checkUnnamed3112(o.computations);
2484 checkUnnamed3117(o.dataDiskAssignments); 2484 checkUnnamed3113(o.dataDiskAssignments);
2485 unittest.expect(o.forwardingKeyBits, unittest.equals(42)); 2485 unittest.expect(o.forwardingKeyBits, unittest.equals(42));
2486 unittest.expect(o.persistentStateVersion, unittest.equals(42)); 2486 unittest.expect(o.persistentStateVersion, unittest.equals(42));
2487 checkUnnamed3118(o.userStageToComputationNameMap); 2487 checkUnnamed3114(o.userStageToComputationNameMap);
2488 } 2488 }
2489 buildCounterTopologyConfig--; 2489 buildCounterTopologyConfig--;
2490 } 2490 }
2491 2491
2492 buildUnnamed3119() { 2492 buildUnnamed3115() {
2493 var o = new core.List<api.Package>(); 2493 var o = new core.List<api.Package>();
2494 o.add(buildPackage()); 2494 o.add(buildPackage());
2495 o.add(buildPackage()); 2495 o.add(buildPackage());
2496 return o; 2496 return o;
2497 } 2497 }
2498 2498
2499 checkUnnamed3119(core.List<api.Package> o) { 2499 checkUnnamed3115(core.List<api.Package> o) {
2500 unittest.expect(o, unittest.hasLength(2)); 2500 unittest.expect(o, unittest.hasLength(2));
2501 checkPackage(o[0]); 2501 checkPackage(o[0]);
2502 checkPackage(o[1]); 2502 checkPackage(o[1]);
2503 } 2503 }
2504 2504
2505 core.int buildCounterWorkItem = 0; 2505 core.int buildCounterWorkItem = 0;
2506 buildWorkItem() { 2506 buildWorkItem() {
2507 var o = new api.WorkItem(); 2507 var o = new api.WorkItem();
2508 buildCounterWorkItem++; 2508 buildCounterWorkItem++;
2509 if (buildCounterWorkItem < 3) { 2509 if (buildCounterWorkItem < 3) {
2510 o.configuration = "foo"; 2510 o.configuration = "foo";
2511 o.id = "foo"; 2511 o.id = "foo";
2512 o.initialReportIndex = "foo"; 2512 o.initialReportIndex = "foo";
2513 o.jobId = "foo"; 2513 o.jobId = "foo";
2514 o.leaseExpireTime = "foo"; 2514 o.leaseExpireTime = "foo";
2515 o.mapTask = buildMapTask(); 2515 o.mapTask = buildMapTask();
2516 o.packages = buildUnnamed3119(); 2516 o.packages = buildUnnamed3115();
2517 o.projectId = "foo"; 2517 o.projectId = "foo";
2518 o.reportStatusInterval = "foo"; 2518 o.reportStatusInterval = "foo";
2519 o.seqMapTask = buildSeqMapTask(); 2519 o.seqMapTask = buildSeqMapTask();
2520 o.shellTask = buildShellTask(); 2520 o.shellTask = buildShellTask();
2521 o.sourceOperationTask = buildSourceOperationRequest(); 2521 o.sourceOperationTask = buildSourceOperationRequest();
2522 o.streamingComputationTask = buildStreamingComputationTask(); 2522 o.streamingComputationTask = buildStreamingComputationTask();
2523 o.streamingSetupTask = buildStreamingSetupTask(); 2523 o.streamingSetupTask = buildStreamingSetupTask();
2524 } 2524 }
2525 buildCounterWorkItem--; 2525 buildCounterWorkItem--;
2526 return o; 2526 return o;
2527 } 2527 }
2528 2528
2529 checkWorkItem(api.WorkItem o) { 2529 checkWorkItem(api.WorkItem o) {
2530 buildCounterWorkItem++; 2530 buildCounterWorkItem++;
2531 if (buildCounterWorkItem < 3) { 2531 if (buildCounterWorkItem < 3) {
2532 unittest.expect(o.configuration, unittest.equals('foo')); 2532 unittest.expect(o.configuration, unittest.equals('foo'));
2533 unittest.expect(o.id, unittest.equals('foo')); 2533 unittest.expect(o.id, unittest.equals('foo'));
2534 unittest.expect(o.initialReportIndex, unittest.equals('foo')); 2534 unittest.expect(o.initialReportIndex, unittest.equals('foo'));
2535 unittest.expect(o.jobId, unittest.equals('foo')); 2535 unittest.expect(o.jobId, unittest.equals('foo'));
2536 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 2536 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
2537 checkMapTask(o.mapTask); 2537 checkMapTask(o.mapTask);
2538 checkUnnamed3119(o.packages); 2538 checkUnnamed3115(o.packages);
2539 unittest.expect(o.projectId, unittest.equals('foo')); 2539 unittest.expect(o.projectId, unittest.equals('foo'));
2540 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 2540 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
2541 checkSeqMapTask(o.seqMapTask); 2541 checkSeqMapTask(o.seqMapTask);
2542 checkShellTask(o.shellTask); 2542 checkShellTask(o.shellTask);
2543 checkSourceOperationRequest(o.sourceOperationTask); 2543 checkSourceOperationRequest(o.sourceOperationTask);
2544 checkStreamingComputationTask(o.streamingComputationTask); 2544 checkStreamingComputationTask(o.streamingComputationTask);
2545 checkStreamingSetupTask(o.streamingSetupTask); 2545 checkStreamingSetupTask(o.streamingSetupTask);
2546 } 2546 }
2547 buildCounterWorkItem--; 2547 buildCounterWorkItem--;
2548 } 2548 }
2549 2549
2550 buildUnnamed3120() { 2550 buildUnnamed3116() {
2551 var o = new core.Map<core.String, core.Object>(); 2551 var o = new core.Map<core.String, core.Object>();
2552 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2552 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2553 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2553 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2554 return o; 2554 return o;
2555 } 2555 }
2556 2556
2557 checkUnnamed3120(core.Map<core.String, core.Object> o) { 2557 checkUnnamed3116(core.Map<core.String, core.Object> o) {
2558 unittest.expect(o, unittest.hasLength(2)); 2558 unittest.expect(o, unittest.hasLength(2));
2559 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')); 2559 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'));
2560 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')); 2560 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'));
2561 } 2561 }
2562 2562
2563 core.int buildCounterWorkItemServiceState = 0; 2563 core.int buildCounterWorkItemServiceState = 0;
2564 buildWorkItemServiceState() { 2564 buildWorkItemServiceState() {
2565 var o = new api.WorkItemServiceState(); 2565 var o = new api.WorkItemServiceState();
2566 buildCounterWorkItemServiceState++; 2566 buildCounterWorkItemServiceState++;
2567 if (buildCounterWorkItemServiceState < 3) { 2567 if (buildCounterWorkItemServiceState < 3) {
2568 o.harnessData = buildUnnamed3120(); 2568 o.harnessData = buildUnnamed3116();
2569 o.leaseExpireTime = "foo"; 2569 o.leaseExpireTime = "foo";
2570 o.nextReportIndex = "foo"; 2570 o.nextReportIndex = "foo";
2571 o.reportStatusInterval = "foo"; 2571 o.reportStatusInterval = "foo";
2572 o.splitRequest = buildApproximateSplitRequest(); 2572 o.splitRequest = buildApproximateSplitRequest();
2573 o.suggestedStopPoint = buildApproximateProgress(); 2573 o.suggestedStopPoint = buildApproximateProgress();
2574 o.suggestedStopPosition = buildPosition(); 2574 o.suggestedStopPosition = buildPosition();
2575 } 2575 }
2576 buildCounterWorkItemServiceState--; 2576 buildCounterWorkItemServiceState--;
2577 return o; 2577 return o;
2578 } 2578 }
2579 2579
2580 checkWorkItemServiceState(api.WorkItemServiceState o) { 2580 checkWorkItemServiceState(api.WorkItemServiceState o) {
2581 buildCounterWorkItemServiceState++; 2581 buildCounterWorkItemServiceState++;
2582 if (buildCounterWorkItemServiceState < 3) { 2582 if (buildCounterWorkItemServiceState < 3) {
2583 checkUnnamed3120(o.harnessData); 2583 checkUnnamed3116(o.harnessData);
2584 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); 2584 unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
2585 unittest.expect(o.nextReportIndex, unittest.equals('foo')); 2585 unittest.expect(o.nextReportIndex, unittest.equals('foo'));
2586 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); 2586 unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
2587 checkApproximateSplitRequest(o.splitRequest); 2587 checkApproximateSplitRequest(o.splitRequest);
2588 checkApproximateProgress(o.suggestedStopPoint); 2588 checkApproximateProgress(o.suggestedStopPoint);
2589 checkPosition(o.suggestedStopPosition); 2589 checkPosition(o.suggestedStopPosition);
2590 } 2590 }
2591 buildCounterWorkItemServiceState--; 2591 buildCounterWorkItemServiceState--;
2592 } 2592 }
2593 2593
2594 buildUnnamed3121() { 2594 buildUnnamed3117() {
2595 var o = new core.List<api.Status>(); 2595 var o = new core.List<api.Status>();
2596 o.add(buildStatus()); 2596 o.add(buildStatus());
2597 o.add(buildStatus()); 2597 o.add(buildStatus());
2598 return o; 2598 return o;
2599 } 2599 }
2600 2600
2601 checkUnnamed3121(core.List<api.Status> o) { 2601 checkUnnamed3117(core.List<api.Status> o) {
2602 unittest.expect(o, unittest.hasLength(2)); 2602 unittest.expect(o, unittest.hasLength(2));
2603 checkStatus(o[0]); 2603 checkStatus(o[0]);
2604 checkStatus(o[1]); 2604 checkStatus(o[1]);
2605 } 2605 }
2606 2606
2607 buildUnnamed3122() { 2607 buildUnnamed3118() {
2608 var o = new core.List<api.MetricUpdate>(); 2608 var o = new core.List<api.MetricUpdate>();
2609 o.add(buildMetricUpdate()); 2609 o.add(buildMetricUpdate());
2610 o.add(buildMetricUpdate()); 2610 o.add(buildMetricUpdate());
2611 return o; 2611 return o;
2612 } 2612 }
2613 2613
2614 checkUnnamed3122(core.List<api.MetricUpdate> o) { 2614 checkUnnamed3118(core.List<api.MetricUpdate> o) {
2615 unittest.expect(o, unittest.hasLength(2)); 2615 unittest.expect(o, unittest.hasLength(2));
2616 checkMetricUpdate(o[0]); 2616 checkMetricUpdate(o[0]);
2617 checkMetricUpdate(o[1]); 2617 checkMetricUpdate(o[1]);
2618 } 2618 }
2619 2619
2620 core.int buildCounterWorkItemStatus = 0; 2620 core.int buildCounterWorkItemStatus = 0;
2621 buildWorkItemStatus() { 2621 buildWorkItemStatus() {
2622 var o = new api.WorkItemStatus(); 2622 var o = new api.WorkItemStatus();
2623 buildCounterWorkItemStatus++; 2623 buildCounterWorkItemStatus++;
2624 if (buildCounterWorkItemStatus < 3) { 2624 if (buildCounterWorkItemStatus < 3) {
2625 o.completed = true; 2625 o.completed = true;
2626 o.dynamicSourceSplit = buildDynamicSourceSplit(); 2626 o.dynamicSourceSplit = buildDynamicSourceSplit();
2627 o.errors = buildUnnamed3121(); 2627 o.errors = buildUnnamed3117();
2628 o.metricUpdates = buildUnnamed3122(); 2628 o.metricUpdates = buildUnnamed3118();
2629 o.progress = buildApproximateProgress(); 2629 o.progress = buildApproximateProgress();
2630 o.reportIndex = "foo"; 2630 o.reportIndex = "foo";
2631 o.reportedProgress = buildApproximateReportedProgress(); 2631 o.reportedProgress = buildApproximateReportedProgress();
2632 o.requestedLeaseDuration = "foo"; 2632 o.requestedLeaseDuration = "foo";
2633 o.sourceFork = buildSourceFork(); 2633 o.sourceFork = buildSourceFork();
2634 o.sourceOperationResponse = buildSourceOperationResponse(); 2634 o.sourceOperationResponse = buildSourceOperationResponse();
2635 o.stopPosition = buildPosition(); 2635 o.stopPosition = buildPosition();
2636 o.workItemId = "foo"; 2636 o.workItemId = "foo";
2637 } 2637 }
2638 buildCounterWorkItemStatus--; 2638 buildCounterWorkItemStatus--;
2639 return o; 2639 return o;
2640 } 2640 }
2641 2641
2642 checkWorkItemStatus(api.WorkItemStatus o) { 2642 checkWorkItemStatus(api.WorkItemStatus o) {
2643 buildCounterWorkItemStatus++; 2643 buildCounterWorkItemStatus++;
2644 if (buildCounterWorkItemStatus < 3) { 2644 if (buildCounterWorkItemStatus < 3) {
2645 unittest.expect(o.completed, unittest.isTrue); 2645 unittest.expect(o.completed, unittest.isTrue);
2646 checkDynamicSourceSplit(o.dynamicSourceSplit); 2646 checkDynamicSourceSplit(o.dynamicSourceSplit);
2647 checkUnnamed3121(o.errors); 2647 checkUnnamed3117(o.errors);
2648 checkUnnamed3122(o.metricUpdates); 2648 checkUnnamed3118(o.metricUpdates);
2649 checkApproximateProgress(o.progress); 2649 checkApproximateProgress(o.progress);
2650 unittest.expect(o.reportIndex, unittest.equals('foo')); 2650 unittest.expect(o.reportIndex, unittest.equals('foo'));
2651 checkApproximateReportedProgress(o.reportedProgress); 2651 checkApproximateReportedProgress(o.reportedProgress);
2652 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); 2652 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
2653 checkSourceFork(o.sourceFork); 2653 checkSourceFork(o.sourceFork);
2654 checkSourceOperationResponse(o.sourceOperationResponse); 2654 checkSourceOperationResponse(o.sourceOperationResponse);
2655 checkPosition(o.stopPosition); 2655 checkPosition(o.stopPosition);
2656 unittest.expect(o.workItemId, unittest.equals('foo')); 2656 unittest.expect(o.workItemId, unittest.equals('foo'));
2657 } 2657 }
2658 buildCounterWorkItemStatus--; 2658 buildCounterWorkItemStatus--;
2659 } 2659 }
2660 2660
2661 buildUnnamed3123() { 2661 buildUnnamed3119() {
2662 var o = new core.Map<core.String, core.Object>(); 2662 var o = new core.Map<core.String, core.Object>();
2663 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2663 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2664 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2664 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2665 return o; 2665 return o;
2666 } 2666 }
2667 2667
2668 checkUnnamed3123(core.Map<core.String, core.Object> o) { 2668 checkUnnamed3119(core.Map<core.String, core.Object> o) {
2669 unittest.expect(o, unittest.hasLength(2)); 2669 unittest.expect(o, unittest.hasLength(2));
2670 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')); 2670 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'));
2671 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')); 2671 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'));
2672 } 2672 }
2673 2673
2674 buildUnnamed3124() { 2674 buildUnnamed3120() {
2675 var o = new core.List<core.Map<core.String, core.Object>>(); 2675 var o = new core.List<core.Map<core.String, core.Object>>();
2676 o.add(buildUnnamed3123()); 2676 o.add(buildUnnamed3119());
2677 o.add(buildUnnamed3123()); 2677 o.add(buildUnnamed3119());
2678 return o; 2678 return o;
2679 } 2679 }
2680 2680
2681 checkUnnamed3124(core.List<core.Map<core.String, core.Object>> o) { 2681 checkUnnamed3120(core.List<core.Map<core.String, core.Object>> o) {
2682 unittest.expect(o, unittest.hasLength(2)); 2682 unittest.expect(o, unittest.hasLength(2));
2683 checkUnnamed3123(o[0]); 2683 checkUnnamed3119(o[0]);
2684 checkUnnamed3123(o[1]); 2684 checkUnnamed3119(o[1]);
2685 } 2685 }
2686 2686
2687 core.int buildCounterWorkerHealthReport = 0; 2687 core.int buildCounterWorkerHealthReport = 0;
2688 buildWorkerHealthReport() { 2688 buildWorkerHealthReport() {
2689 var o = new api.WorkerHealthReport(); 2689 var o = new api.WorkerHealthReport();
2690 buildCounterWorkerHealthReport++; 2690 buildCounterWorkerHealthReport++;
2691 if (buildCounterWorkerHealthReport < 3) { 2691 if (buildCounterWorkerHealthReport < 3) {
2692 o.pods = buildUnnamed3124(); 2692 o.pods = buildUnnamed3120();
2693 o.reportInterval = "foo"; 2693 o.reportInterval = "foo";
2694 o.vmIsHealthy = true; 2694 o.vmIsHealthy = true;
2695 o.vmStartupTime = "foo"; 2695 o.vmStartupTime = "foo";
2696 } 2696 }
2697 buildCounterWorkerHealthReport--; 2697 buildCounterWorkerHealthReport--;
2698 return o; 2698 return o;
2699 } 2699 }
2700 2700
2701 checkWorkerHealthReport(api.WorkerHealthReport o) { 2701 checkWorkerHealthReport(api.WorkerHealthReport o) {
2702 buildCounterWorkerHealthReport++; 2702 buildCounterWorkerHealthReport++;
2703 if (buildCounterWorkerHealthReport < 3) { 2703 if (buildCounterWorkerHealthReport < 3) {
2704 checkUnnamed3124(o.pods); 2704 checkUnnamed3120(o.pods);
2705 unittest.expect(o.reportInterval, unittest.equals('foo')); 2705 unittest.expect(o.reportInterval, unittest.equals('foo'));
2706 unittest.expect(o.vmIsHealthy, unittest.isTrue); 2706 unittest.expect(o.vmIsHealthy, unittest.isTrue);
2707 unittest.expect(o.vmStartupTime, unittest.equals('foo')); 2707 unittest.expect(o.vmStartupTime, unittest.equals('foo'));
2708 } 2708 }
2709 buildCounterWorkerHealthReport--; 2709 buildCounterWorkerHealthReport--;
2710 } 2710 }
2711 2711
2712 core.int buildCounterWorkerHealthReportResponse = 0; 2712 core.int buildCounterWorkerHealthReportResponse = 0;
2713 buildWorkerHealthReportResponse() { 2713 buildWorkerHealthReportResponse() {
2714 var o = new api.WorkerHealthReportResponse(); 2714 var o = new api.WorkerHealthReportResponse();
2715 buildCounterWorkerHealthReportResponse++; 2715 buildCounterWorkerHealthReportResponse++;
2716 if (buildCounterWorkerHealthReportResponse < 3) { 2716 if (buildCounterWorkerHealthReportResponse < 3) {
2717 o.reportInterval = "foo"; 2717 o.reportInterval = "foo";
2718 } 2718 }
2719 buildCounterWorkerHealthReportResponse--; 2719 buildCounterWorkerHealthReportResponse--;
2720 return o; 2720 return o;
2721 } 2721 }
2722 2722
2723 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) { 2723 checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) {
2724 buildCounterWorkerHealthReportResponse++; 2724 buildCounterWorkerHealthReportResponse++;
2725 if (buildCounterWorkerHealthReportResponse < 3) { 2725 if (buildCounterWorkerHealthReportResponse < 3) {
2726 unittest.expect(o.reportInterval, unittest.equals('foo')); 2726 unittest.expect(o.reportInterval, unittest.equals('foo'));
2727 } 2727 }
2728 buildCounterWorkerHealthReportResponse--; 2728 buildCounterWorkerHealthReportResponse--;
2729 } 2729 }
2730 2730
2731 buildUnnamed3125() { 2731 buildUnnamed3121() {
2732 var o = new core.Map<core.String, core.String>(); 2732 var o = new core.Map<core.String, core.String>();
2733 o["x"] = "foo"; 2733 o["x"] = "foo";
2734 o["y"] = "foo"; 2734 o["y"] = "foo";
2735 return o; 2735 return o;
2736 } 2736 }
2737 2737
2738 checkUnnamed3125(core.Map<core.String, core.String> o) { 2738 checkUnnamed3121(core.Map<core.String, core.String> o) {
2739 unittest.expect(o, unittest.hasLength(2)); 2739 unittest.expect(o, unittest.hasLength(2));
2740 unittest.expect(o["x"], unittest.equals('foo')); 2740 unittest.expect(o["x"], unittest.equals('foo'));
2741 unittest.expect(o["y"], unittest.equals('foo')); 2741 unittest.expect(o["y"], unittest.equals('foo'));
2742 } 2742 }
2743 2743
2744 core.int buildCounterWorkerMessage = 0; 2744 core.int buildCounterWorkerMessage = 0;
2745 buildWorkerMessage() { 2745 buildWorkerMessage() {
2746 var o = new api.WorkerMessage(); 2746 var o = new api.WorkerMessage();
2747 buildCounterWorkerMessage++; 2747 buildCounterWorkerMessage++;
2748 if (buildCounterWorkerMessage < 3) { 2748 if (buildCounterWorkerMessage < 3) {
2749 o.labels = buildUnnamed3125(); 2749 o.labels = buildUnnamed3121();
2750 o.time = "foo"; 2750 o.time = "foo";
2751 o.workerHealthReport = buildWorkerHealthReport(); 2751 o.workerHealthReport = buildWorkerHealthReport();
2752 o.workerMessageCode = buildWorkerMessageCode(); 2752 o.workerMessageCode = buildWorkerMessageCode();
2753 } 2753 }
2754 buildCounterWorkerMessage--; 2754 buildCounterWorkerMessage--;
2755 return o; 2755 return o;
2756 } 2756 }
2757 2757
2758 checkWorkerMessage(api.WorkerMessage o) { 2758 checkWorkerMessage(api.WorkerMessage o) {
2759 buildCounterWorkerMessage++; 2759 buildCounterWorkerMessage++;
2760 if (buildCounterWorkerMessage < 3) { 2760 if (buildCounterWorkerMessage < 3) {
2761 checkUnnamed3125(o.labels); 2761 checkUnnamed3121(o.labels);
2762 unittest.expect(o.time, unittest.equals('foo')); 2762 unittest.expect(o.time, unittest.equals('foo'));
2763 checkWorkerHealthReport(o.workerHealthReport); 2763 checkWorkerHealthReport(o.workerHealthReport);
2764 checkWorkerMessageCode(o.workerMessageCode); 2764 checkWorkerMessageCode(o.workerMessageCode);
2765 } 2765 }
2766 buildCounterWorkerMessage--; 2766 buildCounterWorkerMessage--;
2767 } 2767 }
2768 2768
2769 buildUnnamed3126() { 2769 buildUnnamed3122() {
2770 var o = new core.Map<core.String, core.Object>(); 2770 var o = new core.Map<core.String, core.Object>();
2771 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2771 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2772 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2772 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2773 return o; 2773 return o;
2774 } 2774 }
2775 2775
2776 checkUnnamed3126(core.Map<core.String, core.Object> o) { 2776 checkUnnamed3122(core.Map<core.String, core.Object> o) {
2777 unittest.expect(o, unittest.hasLength(2)); 2777 unittest.expect(o, unittest.hasLength(2));
2778 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')); 2778 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'));
2779 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')); 2779 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'));
2780 } 2780 }
2781 2781
2782 core.int buildCounterWorkerMessageCode = 0; 2782 core.int buildCounterWorkerMessageCode = 0;
2783 buildWorkerMessageCode() { 2783 buildWorkerMessageCode() {
2784 var o = new api.WorkerMessageCode(); 2784 var o = new api.WorkerMessageCode();
2785 buildCounterWorkerMessageCode++; 2785 buildCounterWorkerMessageCode++;
2786 if (buildCounterWorkerMessageCode < 3) { 2786 if (buildCounterWorkerMessageCode < 3) {
2787 o.code = "foo"; 2787 o.code = "foo";
2788 o.parameters = buildUnnamed3126(); 2788 o.parameters = buildUnnamed3122();
2789 } 2789 }
2790 buildCounterWorkerMessageCode--; 2790 buildCounterWorkerMessageCode--;
2791 return o; 2791 return o;
2792 } 2792 }
2793 2793
2794 checkWorkerMessageCode(api.WorkerMessageCode o) { 2794 checkWorkerMessageCode(api.WorkerMessageCode o) {
2795 buildCounterWorkerMessageCode++; 2795 buildCounterWorkerMessageCode++;
2796 if (buildCounterWorkerMessageCode < 3) { 2796 if (buildCounterWorkerMessageCode < 3) {
2797 unittest.expect(o.code, unittest.equals('foo')); 2797 unittest.expect(o.code, unittest.equals('foo'));
2798 checkUnnamed3126(o.parameters); 2798 checkUnnamed3122(o.parameters);
2799 } 2799 }
2800 buildCounterWorkerMessageCode--; 2800 buildCounterWorkerMessageCode--;
2801 } 2801 }
2802 2802
2803 core.int buildCounterWorkerMessageResponse = 0; 2803 core.int buildCounterWorkerMessageResponse = 0;
2804 buildWorkerMessageResponse() { 2804 buildWorkerMessageResponse() {
2805 var o = new api.WorkerMessageResponse(); 2805 var o = new api.WorkerMessageResponse();
2806 buildCounterWorkerMessageResponse++; 2806 buildCounterWorkerMessageResponse++;
2807 if (buildCounterWorkerMessageResponse < 3) { 2807 if (buildCounterWorkerMessageResponse < 3) {
2808 o.workerHealthReportResponse = buildWorkerHealthReportResponse(); 2808 o.workerHealthReportResponse = buildWorkerHealthReportResponse();
2809 } 2809 }
2810 buildCounterWorkerMessageResponse--; 2810 buildCounterWorkerMessageResponse--;
2811 return o; 2811 return o;
2812 } 2812 }
2813 2813
2814 checkWorkerMessageResponse(api.WorkerMessageResponse o) { 2814 checkWorkerMessageResponse(api.WorkerMessageResponse o) {
2815 buildCounterWorkerMessageResponse++; 2815 buildCounterWorkerMessageResponse++;
2816 if (buildCounterWorkerMessageResponse < 3) { 2816 if (buildCounterWorkerMessageResponse < 3) {
2817 checkWorkerHealthReportResponse(o.workerHealthReportResponse); 2817 checkWorkerHealthReportResponse(o.workerHealthReportResponse);
2818 } 2818 }
2819 buildCounterWorkerMessageResponse--; 2819 buildCounterWorkerMessageResponse--;
2820 } 2820 }
2821 2821
2822 buildUnnamed3127() { 2822 buildUnnamed3123() {
2823 var o = new core.List<api.Disk>(); 2823 var o = new core.List<api.Disk>();
2824 o.add(buildDisk()); 2824 o.add(buildDisk());
2825 o.add(buildDisk()); 2825 o.add(buildDisk());
2826 return o; 2826 return o;
2827 } 2827 }
2828 2828
2829 checkUnnamed3127(core.List<api.Disk> o) { 2829 checkUnnamed3123(core.List<api.Disk> o) {
2830 unittest.expect(o, unittest.hasLength(2)); 2830 unittest.expect(o, unittest.hasLength(2));
2831 checkDisk(o[0]); 2831 checkDisk(o[0]);
2832 checkDisk(o[1]); 2832 checkDisk(o[1]);
2833 } 2833 }
2834 2834
2835 buildUnnamed3128() { 2835 buildUnnamed3124() {
2836 var o = new core.Map<core.String, core.String>(); 2836 var o = new core.Map<core.String, core.String>();
2837 o["x"] = "foo"; 2837 o["x"] = "foo";
2838 o["y"] = "foo"; 2838 o["y"] = "foo";
2839 return o; 2839 return o;
2840 } 2840 }
2841 2841
2842 checkUnnamed3128(core.Map<core.String, core.String> o) { 2842 checkUnnamed3124(core.Map<core.String, core.String> o) {
2843 unittest.expect(o, unittest.hasLength(2)); 2843 unittest.expect(o, unittest.hasLength(2));
2844 unittest.expect(o["x"], unittest.equals('foo')); 2844 unittest.expect(o["x"], unittest.equals('foo'));
2845 unittest.expect(o["y"], unittest.equals('foo')); 2845 unittest.expect(o["y"], unittest.equals('foo'));
2846 } 2846 }
2847 2847
2848 buildUnnamed3129() { 2848 buildUnnamed3125() {
2849 var o = new core.List<api.Package>(); 2849 var o = new core.List<api.Package>();
2850 o.add(buildPackage()); 2850 o.add(buildPackage());
2851 o.add(buildPackage()); 2851 o.add(buildPackage());
2852 return o; 2852 return o;
2853 } 2853 }
2854 2854
2855 checkUnnamed3129(core.List<api.Package> o) { 2855 checkUnnamed3125(core.List<api.Package> o) {
2856 unittest.expect(o, unittest.hasLength(2)); 2856 unittest.expect(o, unittest.hasLength(2));
2857 checkPackage(o[0]); 2857 checkPackage(o[0]);
2858 checkPackage(o[1]); 2858 checkPackage(o[1]);
2859 } 2859 }
2860 2860
2861 buildUnnamed3130() { 2861 buildUnnamed3126() {
2862 var o = new core.Map<core.String, core.Object>(); 2862 var o = new core.Map<core.String, core.Object>();
2863 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2863 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2864 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2864 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2865 return o; 2865 return o;
2866 } 2866 }
2867 2867
2868 checkUnnamed3130(core.Map<core.String, core.Object> o) { 2868 checkUnnamed3126(core.Map<core.String, core.Object> o) {
2869 unittest.expect(o, unittest.hasLength(2)); 2869 unittest.expect(o, unittest.hasLength(2));
2870 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')); 2870 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'));
2871 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')); 2871 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'));
2872 } 2872 }
2873 2873
2874 core.int buildCounterWorkerPool = 0; 2874 core.int buildCounterWorkerPool = 0;
2875 buildWorkerPool() { 2875 buildWorkerPool() {
2876 var o = new api.WorkerPool(); 2876 var o = new api.WorkerPool();
2877 buildCounterWorkerPool++; 2877 buildCounterWorkerPool++;
2878 if (buildCounterWorkerPool < 3) { 2878 if (buildCounterWorkerPool < 3) {
2879 o.autoscalingSettings = buildAutoscalingSettings(); 2879 o.autoscalingSettings = buildAutoscalingSettings();
2880 o.dataDisks = buildUnnamed3127(); 2880 o.dataDisks = buildUnnamed3123();
2881 o.defaultPackageSet = "foo"; 2881 o.defaultPackageSet = "foo";
2882 o.diskSizeGb = 42; 2882 o.diskSizeGb = 42;
2883 o.diskSourceImage = "foo"; 2883 o.diskSourceImage = "foo";
2884 o.diskType = "foo"; 2884 o.diskType = "foo";
2885 o.kind = "foo"; 2885 o.kind = "foo";
2886 o.machineType = "foo"; 2886 o.machineType = "foo";
2887 o.metadata = buildUnnamed3128(); 2887 o.metadata = buildUnnamed3124();
2888 o.network = "foo"; 2888 o.network = "foo";
2889 o.numThreadsPerWorker = 42; 2889 o.numThreadsPerWorker = 42;
2890 o.numWorkers = 42; 2890 o.numWorkers = 42;
2891 o.onHostMaintenance = "foo"; 2891 o.onHostMaintenance = "foo";
2892 o.packages = buildUnnamed3129(); 2892 o.packages = buildUnnamed3125();
2893 o.poolArgs = buildUnnamed3130(); 2893 o.poolArgs = buildUnnamed3126();
2894 o.subnetwork = "foo"; 2894 o.subnetwork = "foo";
2895 o.taskrunnerSettings = buildTaskRunnerSettings(); 2895 o.taskrunnerSettings = buildTaskRunnerSettings();
2896 o.teardownPolicy = "foo"; 2896 o.teardownPolicy = "foo";
2897 o.workerHarnessContainerImage = "foo"; 2897 o.workerHarnessContainerImage = "foo";
2898 o.zone = "foo"; 2898 o.zone = "foo";
2899 } 2899 }
2900 buildCounterWorkerPool--; 2900 buildCounterWorkerPool--;
2901 return o; 2901 return o;
2902 } 2902 }
2903 2903
2904 checkWorkerPool(api.WorkerPool o) { 2904 checkWorkerPool(api.WorkerPool o) {
2905 buildCounterWorkerPool++; 2905 buildCounterWorkerPool++;
2906 if (buildCounterWorkerPool < 3) { 2906 if (buildCounterWorkerPool < 3) {
2907 checkAutoscalingSettings(o.autoscalingSettings); 2907 checkAutoscalingSettings(o.autoscalingSettings);
2908 checkUnnamed3127(o.dataDisks); 2908 checkUnnamed3123(o.dataDisks);
2909 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); 2909 unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
2910 unittest.expect(o.diskSizeGb, unittest.equals(42)); 2910 unittest.expect(o.diskSizeGb, unittest.equals(42));
2911 unittest.expect(o.diskSourceImage, unittest.equals('foo')); 2911 unittest.expect(o.diskSourceImage, unittest.equals('foo'));
2912 unittest.expect(o.diskType, unittest.equals('foo')); 2912 unittest.expect(o.diskType, unittest.equals('foo'));
2913 unittest.expect(o.kind, unittest.equals('foo')); 2913 unittest.expect(o.kind, unittest.equals('foo'));
2914 unittest.expect(o.machineType, unittest.equals('foo')); 2914 unittest.expect(o.machineType, unittest.equals('foo'));
2915 checkUnnamed3128(o.metadata); 2915 checkUnnamed3124(o.metadata);
2916 unittest.expect(o.network, unittest.equals('foo')); 2916 unittest.expect(o.network, unittest.equals('foo'));
2917 unittest.expect(o.numThreadsPerWorker, unittest.equals(42)); 2917 unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
2918 unittest.expect(o.numWorkers, unittest.equals(42)); 2918 unittest.expect(o.numWorkers, unittest.equals(42));
2919 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); 2919 unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
2920 checkUnnamed3129(o.packages); 2920 checkUnnamed3125(o.packages);
2921 checkUnnamed3130(o.poolArgs); 2921 checkUnnamed3126(o.poolArgs);
2922 unittest.expect(o.subnetwork, unittest.equals('foo')); 2922 unittest.expect(o.subnetwork, unittest.equals('foo'));
2923 checkTaskRunnerSettings(o.taskrunnerSettings); 2923 checkTaskRunnerSettings(o.taskrunnerSettings);
2924 unittest.expect(o.teardownPolicy, unittest.equals('foo')); 2924 unittest.expect(o.teardownPolicy, unittest.equals('foo'));
2925 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo')); 2925 unittest.expect(o.workerHarnessContainerImage, unittest.equals('foo'));
2926 unittest.expect(o.zone, unittest.equals('foo')); 2926 unittest.expect(o.zone, unittest.equals('foo'));
2927 } 2927 }
2928 buildCounterWorkerPool--; 2928 buildCounterWorkerPool--;
2929 } 2929 }
2930 2930
2931 core.int buildCounterWorkerSettings = 0; 2931 core.int buildCounterWorkerSettings = 0;
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
4265 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe ctAsync(((api.ReportWorkItemStatusResponse response) { 4265 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe ctAsync(((api.ReportWorkItemStatusResponse response) {
4266 checkReportWorkItemStatusResponse(response); 4266 checkReportWorkItemStatusResponse(response);
4267 }))); 4267 })));
4268 }); 4268 });
4269 4269
4270 }); 4270 });
4271 4271
4272 4272
4273 } 4273 }
4274 4274
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698